Preview: admin.js
Size: 976.13 KB
/home/nshryvcy/himaltourism.com/wp-content/plugins/jetpack/_inc/build/admin.js
/*! For license information please see admin.js.LICENSE.txt */
!function(){var e={54:function(e,t,n){"use strict";var s=n(4605),r=n(1253),a=n(2875),i=n(2263),o=n(173),c=n(7227),l=n(4912),p=function(e,t,n){for(var s=0,a=0;s=a,a=(0,r.fj)(),38===s&&12===a&&(t[n]=1),!(0,r.r)(a);)(0,r.lp)();return(0,r.tP)(e,r.FK)},u=function(e,t){return(0,r.cE)(function(e,t){var n=-1,s=44;do{switch((0,r.r)(s)){case 0:38===s&&12===(0,r.fj)()&&(t[n]=1),e[n]+=p(r.FK-1,t,n);break;case 2:e[n]+=(0,r.iF)(s);break;case 4:if(44===s){e[++n]=58===(0,r.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,a.Dp)(s)}}while(s=(0,r.lp)());return e}((0,r.un)(e),t))},d=new WeakMap,m=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,s=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||d.get(n))&&!s){d.set(e,!0);for(var r=[],a=u(t,r),i=n.props,o=0,c=0;o<a.length;o++)for(var l=0;l<i.length;l++,c++)e.props[c]=r[o]?a[o].replace(/&\f/g,i[l]):i[l]+" "+a[o]}}},h=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function g(e,t){switch((0,a.vp)(e,t)){case 5103:return i.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return i.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return i.G$+e+i.uj+e+i.MS+e+e;case 6828:case 4268:return i.G$+e+i.MS+e+e;case 6165:return i.G$+e+i.MS+"flex-"+e+e;case 5187:return i.G$+e+(0,a.gx)(e,/(\w+).+(:[^]+)/,i.G$+"box-$1$2"+i.MS+"flex-$1$2")+e;case 5443:return i.G$+e+i.MS+"flex-item-"+(0,a.gx)(e,/flex-|-self/,"")+e;case 4675:return i.G$+e+i.MS+"flex-line-pack"+(0,a.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return i.G$+e+i.MS+(0,a.gx)(e,"shrink","negative")+e;case 5292:return i.G$+e+i.MS+(0,a.gx)(e,"basis","preferred-size")+e;case 6060:return i.G$+"box-"+(0,a.gx)(e,"-grow","")+i.G$+e+i.MS+(0,a.gx)(e,"grow","positive")+e;case 4554:return i.G$+(0,a.gx)(e,/([^-])(transform)/g,"$1"+i.G$+"$2")+e;case 6187:return(0,a.gx)((0,a.gx)((0,a.gx)(e,/(zoom-|grab)/,i.G$+"$1"),/(image-set)/,i.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,a.gx)(e,/(image-set\([^]*)/,i.G$+"$1$`$1");case 4968:return(0,a.gx)((0,a.gx)(e,/(.+:)(flex-)?(.*)/,i.G$+"box-pack:$3"+i.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+i.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,a.gx)(e,/(.+)-inline(.+)/,i.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,a.to)(e)-1-t>6)switch((0,a.uO)(e,t+1)){case 109:if(45!==(0,a.uO)(e,t+4))break;case 102:return(0,a.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+i.G$+"$2-$3$1"+i.uj+(108==(0,a.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,a.Cw)(e,"stretch")?g((0,a.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,a.uO)(e,t+1))break;case 6444:switch((0,a.uO)(e,(0,a.to)(e)-3-(~(0,a.Cw)(e,"!important")&&10))){case 107:return(0,a.gx)(e,":",":"+i.G$)+e;case 101:return(0,a.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+i.G$+(45===(0,a.uO)(e,14)?"inline-":"")+"box$3$1"+i.G$+"$2$3$1"+i.MS+"$2box$3")+e}break;case 5936:switch((0,a.uO)(e,t+11)){case 114:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return i.G$+e+i.MS+e+e}return e}var f=[function(e,t,n,s){if(e.length>-1&&!e.return)switch(e.type){case i.h5:e.return=g(e.value,e.length);break;case i.lK:return(0,o.q)([(0,r.JG)(e,{value:(0,a.gx)(e.value,"@","@"+i.G$)})],s);case i.Fr:if(e.length)return(0,a.$e)(e.props,(function(t){switch((0,a.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,o.q)([(0,r.JG)(e,{props:[(0,a.gx)(t,/:(read-\w+)/,":"+i.uj+"$1")]})],s);case"::placeholder":return(0,o.q)([(0,r.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+i.G$+"input-$1")]}),(0,r.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+i.uj+"$1")]}),(0,r.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,i.MS+"input-$1")]})],s)}return""}))}}];t.Z=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||f;var a,i,p={},u=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)p[t[n]]=!0;u.push(e)}));var d=[m,h];var g,k=[o.P,(0,c.cD)((function(e){g.insert(e)}))],v=(0,c.qR)(d.concat(r,k));i=function(e,t,n,s){g=n,function(e){(0,o.q)((0,l.MY)(e),v)}(e?e+"{"+t.styles+"}":t.styles),s&&(_.inserted[t.name]=!0)};var _={key:t,sheet:new s.m({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:p,registered:{},insert:i};return _.sheet.hydrate(u),_}},6281:function(e,t){"use strict";t.Z=function(e){for(var t,n=0,s=0,r=e.length;r>=4;++s,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(s+2))<<16;case 2:n^=(255&e.charCodeAt(s+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(s)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},5075:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},6903:function(e,t,n){"use strict";n.d(t,{E:function(){return m},c:function(){return d},h:function(){return o}});var s=n(9196),r=n(54),a=n(431),i=n(359),o=Object.prototype.hasOwnProperty,c=(0,s.createContext)("undefined"!=typeof HTMLElement?(0,r.Z)({key:"css"}):null);c.Provider;var l=function(e){return(0,s.forwardRef)((function(t,n){var r=(0,s.useContext)(c);return e(t,r,n)}))},p=(0,s.createContext)({});var u="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",d=function(e,t){var n={};for(var s in t)o.call(t,s)&&(n[s]=t[s]);return n[u]=e,n},m=l((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var c=e[u],l=[r],d="";"string"==typeof e.className?d=(0,a.fp)(t.registered,l,e.className):null!=e.className&&(d=e.className+" ");var m=(0,i.O)(l,void 0,(0,s.useContext)(p));(0,a.My)(t,m,"string"==typeof c);d+=t.key+"-"+m.name;var h={};for(var g in e)o.call(e,g)&&"css"!==g&&g!==u&&(h[g]=e[g]);return h.ref=n,h.className=d,(0,s.createElement)(c,h)}))},4362:function(e,t,n){"use strict";n.d(t,{BX:function(){return i},tZ:function(){return a}});n(9196),n(54);var s=n(6903),r=(n(7692),n(359),n(275));r.Fragment;function a(e,t,n){return s.h.call(t,"css")?(0,r.jsx)(s.E,(0,s.c)(e,t),n):(0,r.jsx)(e,t,n)}function i(e,t,n){return s.h.call(t,"css")?(0,r.jsxs)(s.E,(0,s.c)(e,t),n):(0,r.jsxs)(e,t,n)}},359:function(e,t,n){"use strict";n.d(t,{O:function(){return g}});var s=n(6281),r=n(8647),a=n(5075),i=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},p=(0,a.Z)((function(e){return c(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===r.Z[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var s=n.next;if(void 0!==s)for(;void 0!==s;)m={name:s.name,styles:s.styles,next:m},s=s.next;return n.styles+";"}return function(e,t,n){var s="";if(Array.isArray(n))for(var r=0;r<n.length;r++)s+=d(e,t,n[r])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?s+=a+"{"+t[i]+"}":l(i)&&(s+=p(a)+":"+u(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var o=d(e,t,i);switch(a){case"animation":case"animationName":s+=p(a)+":"+o+";";break;default:s+=a+"{"+o+"}"}}else for(var c=0;c<i.length;c++)l(i[c])&&(s+=p(a)+":"+u(a,i[c])+";")}return s}(e,t,n);case"function":if(void 0!==e){var r=m,a=n(e);return m=r,d(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var m,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var g=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,a="";m=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,a+=d(n,t,i)):a+=i[0];for(var o=1;o<e.length;o++)a+=d(n,t,e[o]),r&&(a+=i[o]);h.lastIndex=0;for(var c,l="";null!==(c=h.exec(a));)l+="-"+c[1];return{name:(0,s.Z)(a)+l,styles:a,next:m}}},4605:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var s=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},8647:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},431:function(e,t,n){"use strict";n.d(t,{My:function(){return r},fp:function(){return s}});function s(e,t,n){var s="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):s+=n+" "})),s}var r=function(e,t,n){!function(e,t,n){var s=e.key+"-"+t.name;!1===n&&void 0===e.registered[s]&&(e.registered[s]=t.styles)}(e,t,n);var s=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+s:"",r,e.sheet,!0);r=r.next}while(void 0!==r)}}},1074:function(e,t,n){"use strict";var s=n(9307);t.Z=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})}},5381:function(e,t,n){"use strict";var s=n(9307),r=n(444);const a=(0,s.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(r.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=a},797:function(e,t,n){"use strict";var s=n(9307),r=n(444);const a=(0,s.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,s.createElement)(r.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}));t.Z=a},6163:function(e,t,n){var s=n(6147);e.exports=function(e){var t=null,n=s(e);if(3===e.nodeType){var r=n.createRange();r.selectNodeContents(e),e=r}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var a=n.createElement("span");a.appendChild(n.createTextNode("")),e.insertNode(a),t=a.getBoundingClientRect();var i=a.parentNode;i.removeChild(a),i.normalize()}return t}},5235:function(e,t){var n;!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var o in n)s.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},2491:function(e){var t;t=function(){return function(e){var t={};function n(s){if(t[s])return t[s].exports;var r=t[s]={i:s,l:!1,exports:{}};return e[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(s,r,function(t){return e[t]}.bind(null,r));return s},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var s=window.getSelection(),r=document.createRange();r.selectNodeContents(e),s.removeAllRanges(),s.addRange(r),t=s.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var s=this.e||(this.e={});return(s[e]||(s[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var s=this;function r(){s.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),s=0,r=n.length;s<r;s++)n[s].fn.apply(n[s].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),s=n[e],r=[];if(s&&t)for(var a=0,i=s.length;a<i;a++)s[a].fn!==t&&s[a].fn._!==t&&r.push(s[a]);return r.length?n[e]=r:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var s=n(3),r=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(s.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(s.string(e))return function(e,t,n){return r(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var s=n(5);function r(e,t,n,s,r){var i=a.apply(this,arguments);return e.addEventListener(n,i,r),{destroy:function(){e.removeEventListener(n,i,r)}}}function a(e,t,n,r){return function(n){n.delegateTarget=s(n.target,t),n.delegateTarget&&r.call(e,n)}}e.exports=function(e,t,n,s,a){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return r(e,t,n,s,a)})))}},function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";n.r(t);var s=n(0),r=n.n(s),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":a(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}(),c=o,l=n(1),p=n.n(l),u=n(2),d=n.n(u),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),g=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return s.resolveOptions(n),s.listenClick(e),s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=d()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return f("action",e)}},{key:"defaultTarget",value:function(e){var t=f("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return f("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(p.a);function f(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.default=g}]).default},e.exports=t()},9494:function(e,t,n){var s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";function r(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push(s[e[n]%64]);return t.join("")}e.exports=function(e){if("undefined"!=typeof window){if(void 0!==window.crypto)return r(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),s=0;s<e;s++)t[s]=Math.floor(256*Math.random());return r(t)}var a=n(9369);try{return r(a.randomBytes(e))}catch(t){return r(a.pseudoRandomBytes(e))}}},3184:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,s=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,s){function r(n){e.removeListener(t,a),s(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}g(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,r,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,n,s){var r,a,i,l;if(o(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"==typeof i?i=a[t]=s?[n,i]:[i,n]:s?i.unshift(n):i.push(n),(r=c(e))>0&&i.length>r&&!i.warned){i.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=e,p.type=t,p.count=i.length,l=p,console&&console.warn&&console.warn(l)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(e,t,n){var s={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=p.bind(s);return r.listener=n,s.wrapFn=r,r}function d(e,t,n){var s=e._events;if(void 0===s)return[];var r=s[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(r):h(r,r.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),s=0;s<t;++s)n[s]=e[s];return n}function g(e,t,n,s){if("function"==typeof e.on)s.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function r(a){s.once&&e.removeEventListener(t,r),n(a)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,a=this._events;if(void 0!==a)r=r&&void 0===a.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var o=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw o.context=i,o}var c=a[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var l=c.length,p=h(c,l);for(n=0;n<l;++n)s(p[n],this,t)}return!0},a.prototype.addListener=function(e,t){return l(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return l(this,e,t,!0)},a.prototype.once=function(e,t){return o(t),this.on(e,u(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return o(t),this.prependListener(e,u(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,s,r,a,i;if(o(t),void 0===(s=this._events))return this;if(void 0===(n=s[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete s[e],s.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,r),1===n.length&&(s[e]=n[0]),void 0!==s.removeListener&&this.emit("removeListener",e,i||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,s;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var r,a=Object.keys(n);for(s=0;s<a.length;++s)"removeListener"!==(r=a[s])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(s=t.length-1;s>=0;s--)this.removeListener(e,t[s]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2056:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var s,r=n(8750);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}var o,c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},p=function(e,t){var n=-1;return e.every((function(e,s){return!t(e)||(n=s,!1)})),n},u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return"function"==typeof e?e.apply(void 0,n):e},d=function(e,t){var n,o=document,d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),m={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},h=function(e){return m.containers.some((function(t){return t.contains(e)}))},g=function(e){var t=d[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=o.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},f=function(){var e;if(null!==g("initialFocus"))e=g("initialFocus");else if(h(o.activeElement))e=o.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},k=function(){if(m.tabbableGroups=m.containers.map((function(e){var t=(0,r.ht)(e);if(t.length>0)return{container:e,firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),m.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function e(t){t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!d.preventScroll}),m.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(f()))},_=function(e){h(e.target)||(u(d.clickOutsideDeactivates,e)?n.deactivate({returnFocus:d.returnFocusOnDeactivate&&!(0,r.EB)(e.target)}):u(d.allowOutsideClick,e)||e.preventDefault())},E=function(e){var t=h(e.target);t||e.target instanceof Document?t&&(m.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),v(m.mostRecentlyFocusedNode||f()))},y=function(e){if(!1!==d.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){k();var t=null;if(m.tabbableGroups.length>0)if(p(m.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var n=p(m.tabbableGroups,(function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var s=0===n?m.tabbableGroups.length-1:n-1;t=m.tabbableGroups[s].lastTabbableNode}}else{var r=p(m.tabbableGroups,(function(t){var n=t.lastTabbableNode;return e.target===n}));if(r>=0){var a=r===m.tabbableGroups.length-1?0:r+1;t=m.tabbableGroups[a].firstTabbableNode}}else t=g("fallbackFocus");t&&(e.preventDefault(),v(t))}(e)},b=function(e){u(d.clickOutsideDeactivates,e)||h(e.target)||u(d.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(m.active)return c.activateTrap(n),s=d.delayInitialFocus?l((function(){v(f())})):v(f()),o.addEventListener("focusin",E,!0),o.addEventListener("mousedown",_,{capture:!0,passive:!1}),o.addEventListener("touchstart",_,{capture:!0,passive:!1}),o.addEventListener("click",b,{capture:!0,passive:!1}),o.addEventListener("keydown",y,{capture:!0,passive:!1}),n},C=function(){if(m.active)return o.removeEventListener("focusin",E,!0),o.removeEventListener("mousedown",_,!0),o.removeEventListener("touchstart",_,!0),o.removeEventListener("click",b,!0),o.removeEventListener("keydown",y,!0),n};return(n={activate:function(e){if(m.active)return this;k(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=o.activeElement;var t=e&&e.onActivate?e.onActivate:d.onActivate;return t&&t(),w(),this},deactivate:function(e){if(!m.active)return this;clearTimeout(s),C(),m.active=!1,m.paused=!1,c.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:d.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:d.returnFocusOnDeactivate)&&l((function(){var e;v((e=m.nodeFocusedBeforeActivation,g("setReturnFocus")||e))})),this},pause:function(){return m.paused||!m.active||(m.paused=!0,C()),this},unpause:function(){return m.paused&&m.active?(m.paused=!1,k(),w(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return m.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),m.active&&k(),this}}).updateContainerElements(e),n}},6147:function(e){e.exports=function e(t){if(n(t))return t;if(n(t.ownerDocument))return t.ownerDocument;if(n(t.document))return t.document;if(t.parentNode)return e(t.parentNode);if(t.commonAncestorContainer)return e(t.commonAncestorContainer);if(t.startContainer)return e(t.startContainer);if(t.anchorNode)return e(t.anchorNode)};var t=9;function n(e){return e&&e.nodeType===t}},2511:function(e,t,n){"use strict";n.d(t,{Ep:function(){return u},Hp:function(){return m},PP:function(){return x},lX:function(){return E},ob:function(){return d},q_:function(){return S}});var s=n(255),r=n(4456),a=n(1260),i=n(4262);function o(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function u(e){var t=e.pathname,n=e.search,s=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),s&&"#"!==s&&(r+="#"===s.charAt(0)?s:"#"+s),r}function d(e,t,n,a){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",s="",r=t.indexOf("#");-1!==r&&(s=t.substr(r),t=t.substr(0,r));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===s?"":s}}(e),i.state=t):(void 0===(i=(0,s.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),a?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=(0,r.Z)(i.pathname,a.pathname)):i.pathname=a.pathname:i.pathname||(i.pathname="/"),i}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,a.Z)(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,s,r){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof s?s(a,r):r(!0):r(!1!==a)}else r(!0)},appendListener:function(e){var n=!0;function s(){n&&e.apply(void 0,arguments)}return t.push(s),function(){n=!1,t=t.filter((function(e){return e!==s}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function f(e,t){t(window.confirm(e))}var k="popstate",v="hashchange";function _(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),g||(0,i.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),c=e,m=c.forceRefresh,E=void 0!==m&&m,y=c.getUserConfirmation,b=void 0===y?f:y,w=c.keyLength,C=void 0===w?6:w,j=e.basename?p(o(e.basename)):"";function S(e){var t=e||{},n=t.key,s=t.state,r=window.location,a=r.pathname+r.search+r.hash;return j&&(a=l(a,j)),d(a,s,n)}function N(){return Math.random().toString(36).substr(2,C)}var x=h();function T(e){(0,s.Z)(V,e),V.length=n.length,x.notifyListeners(V.location,V.action)}function O(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(S(e.state))}function P(){M(S(_()))}var A=!1;function M(e){if(A)A=!1,T();else{x.confirmTransitionTo(e,"POP",b,(function(t){t?T({action:"POP",location:e}):function(e){var t=V.location,n=R.indexOf(t.key);-1===n&&(n=0);var s=R.indexOf(e.key);-1===s&&(s=0);var r=n-s;r&&(A=!0,U(r))}(e)}))}}var Z=S(_()),R=[Z.key];function L(e){return j+u(e)}function U(e){n.go(e)}var z=0;function I(e){1===(z+=e)&&1===e?(window.addEventListener(k,O),a&&window.addEventListener(v,P)):0===z&&(window.removeEventListener(k,O),a&&window.removeEventListener(v,P))}var D=!1;var V={length:n.length,action:"POP",location:Z,createHref:L,push:function(e,t){var s="PUSH",a=d(e,t,N(),V.location);x.confirmTransitionTo(a,s,b,(function(e){if(e){var t=L(a),i=a.key,o=a.state;if(r)if(n.pushState({key:i,state:o},null,t),E)window.location.href=t;else{var c=R.indexOf(V.location.key),l=R.slice(0,c+1);l.push(a.key),R=l,T({action:s,location:a})}else window.location.href=t}}))},replace:function(e,t){var s="REPLACE",a=d(e,t,N(),V.location);x.confirmTransitionTo(a,s,b,(function(e){if(e){var t=L(a),i=a.key,o=a.state;if(r)if(n.replaceState({key:i,state:o},null,t),E)window.location.replace(t);else{var c=R.indexOf(V.location.key);-1!==c&&(R[c]=a.key),T({action:s,location:a})}else window.location.replace(t)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return D||(I(1),D=!0),function(){return D&&(D=!1,I(-1)),t()}},listen:function(e){var t=x.appendListener(e);return I(1),function(){I(-1),t()}}};return V}var y="hashchange",b={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:o},slash:{encodePath:o,decodePath:o}};function w(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function j(e){window.location.replace(w(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),g||(0,i.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,a=void 0===r?f:r,c=n.hashType,m=void 0===c?"slash":c,k=e.basename?p(o(e.basename)):"",v=b[m],_=v.encodePath,E=v.decodePath;function S(){var e=E(C());return k&&(e=l(e,k)),d(e)}var N=h();function x(e){(0,s.Z)(D,e),D.length=t.length,N.notifyListeners(D.location,D.action)}var T=!1,O=null;function P(){var e,t,n=C(),s=_(n);if(n!==s)j(s);else{var r=S(),i=D.location;if(!T&&(t=r,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(O===u(r))return;O=null,function(e){if(T)T=!1,x();else{var t="POP";N.confirmTransitionTo(e,t,a,(function(n){n?x({action:t,location:e}):function(e){var t=D.location,n=R.lastIndexOf(u(t));-1===n&&(n=0);var s=R.lastIndexOf(u(e));-1===s&&(s=0);var r=n-s;r&&(T=!0,L(r))}(e)}))}}(r)}}var A=C(),M=_(A);A!==M&&j(M);var Z=S(),R=[u(Z)];function L(e){t.go(e)}var U=0;function z(e){1===(U+=e)&&1===e?window.addEventListener(y,P):0===U&&window.removeEventListener(y,P)}var I=!1;var D={length:t.length,action:"POP",location:Z,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=w(window.location.href)),n+"#"+_(k+u(e))},push:function(e,t){var n="PUSH",s=d(e,void 0,void 0,D.location);N.confirmTransitionTo(s,n,a,(function(e){if(e){var t=u(s),r=_(k+t);if(C()!==r){O=t,function(e){window.location.hash=e}(r);var a=R.lastIndexOf(u(D.location)),i=R.slice(0,a+1);i.push(t),R=i,x({action:n,location:s})}else x()}}))},replace:function(e,t){var n="REPLACE",s=d(e,void 0,void 0,D.location);N.confirmTransitionTo(s,n,a,(function(e){if(e){var t=u(s),r=_(k+t);C()!==r&&(O=t,j(r));var a=R.indexOf(u(D.location));-1!==a&&(R[a]=t),x({action:n,location:s})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return I||(z(1),I=!0),function(){return I&&(I=!1,z(-1)),t()}},listen:function(e){var t=N.appendListener(e);return z(1),function(){z(-1),t()}}};return D}function N(e,t,n){return Math.min(Math.max(e,t),n)}function x(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,a=void 0===r?["/"]:r,i=t.initialIndex,o=void 0===i?0:i,c=t.keyLength,l=void 0===c?6:c,p=h();function m(e){(0,s.Z)(E,e),E.length=E.entries.length,p.notifyListeners(E.location,E.action)}function g(){return Math.random().toString(36).substr(2,l)}var f=N(o,0,a.length-1),k=a.map((function(e){return d(e,void 0,"string"==typeof e?g():e.key||g())})),v=u;function _(e){var t=N(E.index+e,0,E.entries.length-1),s=E.entries[t];p.confirmTransitionTo(s,"POP",n,(function(e){e?m({action:"POP",location:s,index:t}):m()}))}var E={length:k.length,action:"POP",location:k[f],index:f,entries:k,createHref:v,push:function(e,t){var s="PUSH",r=d(e,t,g(),E.location);p.confirmTransitionTo(r,s,n,(function(e){if(e){var t=E.index+1,n=E.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),m({action:s,location:r,index:t,entries:n})}}))},replace:function(e,t){var s="REPLACE",r=d(e,t,g(),E.location);p.confirmTransitionTo(r,s,n,(function(e){e&&(E.entries[E.index]=r,m({action:s,location:r}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=E.index+e;return t>=0&&t<E.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return E}},7692:function(e,t,n){"use strict";var s=n(3801),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function c(e){return s.isMemo(e)?i:o[e.$$typeof]||r}o[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[s.Memo]=i;var l=Object.defineProperty,p=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,s){if("string"!=typeof n){if(h){var r=m(n);r&&r!==h&&e(t,r,s)}var i=p(n);u&&(i=i.concat(u(n)));for(var o=c(t),g=c(n),f=0;f<i.length;++f){var k=i[f];if(!(a[k]||s&&s[k]||g&&g[k]||o&&o[k])){var v=d(n,k);try{l(t,k,v)}catch(e){}}}}return t}},7676:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},5574:function(){},4075:function(){},9961:function(){},8783:function(){},8449:function(){},6508:function(e,t){"use strict";t.Z={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},2103:function(e,t){"use strict";t.Z={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},6172:function(){},5460:function(e,t){"use strict";t.Z={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},3527:function(){},7387:function(e,t){"use strict";t.Z={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b","promo-label":"NubApIV1vQCRUNprfm6b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},4086:function(){},8026:function(){},7660:function(){},5837:function(e,t){"use strict";t.Z={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},4590:function(){},5035:function(){},2202:function(){},2741:function(){},8043:function(){},3171:function(e){var t=1e3,n=60*t,s=60*n,r=24*s,a=7*r,i=365.25*r;function o(e,t,n,s){var r=t>=1.5*n;return Math.round(e/n)+" "+s+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!o)return;var c=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*s;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var a=Math.abs(e);if(a>=r)return o(e,a,r,"day");if(a>=s)return o(e,a,s,"hour");if(a>=n)return o(e,a,n,"minute");if(a>=t)return o(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=s)return Math.round(e/s)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},70:function(e,t,n){var s=n(7676);e.exports=m,e.exports.parse=a,e.exports.compile=function(e,t){return o(a(e,t),t)},e.exports.tokensToFunction=o,e.exports.tokensToRegExp=d;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,s=[],a=0,i=0,o="",p=t&&t.delimiter||"/";null!=(n=r.exec(e));){var u=n[0],d=n[1],m=n.index;if(o+=e.slice(i,m),i=m+u.length,d)o+=d[1];else{var h=e[i],g=n[2],f=n[3],k=n[4],v=n[5],_=n[6],E=n[7];o&&(s.push(o),o="");var y=null!=g&&null!=h&&h!==g,b="+"===_||"*"===_,w="?"===_||"*"===_,C=n[2]||p,j=k||v;s.push({name:f||a++,prefix:g||"",delimiter:C,optional:w,repeat:b,partial:y,asterisk:!!E,pattern:j?l(j):E?".*":"[^"+c(C)+"]+?"})}}return i<e.length&&(o+=e.substr(i)),o&&s.push(o),s}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function o(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",u(t)));return function(t,r){for(var a="",o=t||{},c=(r||{}).pretty?i:encodeURIComponent,l=0;l<e.length;l++){var p=e[l];if("string"!=typeof p){var u,d=o[p.name];if(null==d){if(p.optional){p.partial&&(a+=p.prefix);continue}throw new TypeError('Expected "'+p.name+'" to be defined')}if(s(d)){if(!p.repeat)throw new TypeError('Expected "'+p.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(p.optional)continue;throw new TypeError('Expected "'+p.name+'" to not be empty')}for(var m=0;m<d.length;m++){if(u=c(d[m]),!n[l].test(u))throw new TypeError('Expected all "'+p.name+'" to match "'+p.pattern+'", but received `'+JSON.stringify(u)+"`");a+=(0===m?p.prefix:p.delimiter)+u}}else{if(u=p.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(d),!n[l].test(u))throw new TypeError('Expected "'+p.name+'" to match "'+p.pattern+'", but received "'+u+'"');a+=p.prefix+u}}else a+=p}return a}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function u(e){return e&&e.sensitive?"":"i"}function d(e,t,n){s(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,a=!1!==n.end,i="",o=0;o<e.length;o++){var l=e[o];if("string"==typeof l)i+=c(l);else{var d=c(l.prefix),m="(?:"+l.pattern+")";t.push(l),l.repeat&&(m+="(?:"+d+m+")*"),i+=m=l.optional?l.partial?d+"("+m+")?":"(?:"+d+"("+m+"))?":d+"("+m+")"}}var h=c(n.delimiter||"/"),g=i.slice(-h.length)===h;return r||(i=(g?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":r&&g?"":"(?="+h+"|$)",p(new RegExp("^"+i,u(n)),t)}function m(e,t,n){return s(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var s=0;s<n.length;s++)t.push({name:s,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(e,t)}(e,t):s(e)?function(e,t,n){for(var s=[],r=0;r<e.length;r++)s.push(m(e[r],t,n).source);return p(new RegExp("(?:"+s.join("|")+")",u(n)),t)}(e,t,n):function(e,t,n){return d(a(e,n),t,n)}(e,t,n)}},469:function(e,t,n){"use strict";var s=n(758);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==s){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7556:function(e,t,n){"use strict";var s=n(3713);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==s){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},5844:function(e,t,n){e.exports=n(7556)()},3713:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,s=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,k=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case p:case u:case a:case o:case i:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case f:case g:case c:return e;default:return t}}case r:return t}}}function b(e){return y(e)===u}t.AsyncMode=p,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=c,t.Element=s,t.ForwardRef=d,t.Fragment=a,t.Lazy=f,t.Memo=g,t.Portal=r,t.Profiler=o,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return b(e)||y(e)===p},t.isConcurrentMode=b,t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===a},t.isLazy=function(e){return y(e)===f},t.isMemo=function(e){return y(e)===g},t.isPortal=function(e){return y(e)===r},t.isProfiler=function(e){return y(e)===o},t.isStrictMode=function(e){return y(e)===i},t.isSuspense=function(e){return y(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===o||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===_||e.$$typeof===E||e.$$typeof===k)},t.typeOf=y},3801:function(e,t,n){"use strict";e.exports=n(8922)},4223:function(e,t){"use strict";var n=60103,s=60106,r=60107,a=60108,i=60114,o=60109,c=60110,l=60112,p=60113,u=60120,d=60115,m=60116,h=60121,g=60122,f=60117,k=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var _=Symbol.for;n=_("react.element"),s=_("react.portal"),r=_("react.fragment"),a=_("react.strict_mode"),i=_("react.profiler"),o=_("react.provider"),c=_("react.context"),l=_("react.forward_ref"),p=_("react.suspense"),u=_("react.suspense_list"),d=_("react.memo"),m=_("react.lazy"),h=_("react.block"),g=_("react.server.block"),f=_("react.fundamental"),k=_("react.debug_trace_mode"),v=_("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case r:case i:case a:case p:case u:return e;default:switch(e=e&&e.$$typeof){case c:case l:case m:case d:case o:return e;default:return t}}case s:return t}}}t.isContextConsumer=function(e){return E(e)===c}},1637:function(e,t,n){"use strict";e.exports=n(4223)},373:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var s=n(9196),r=n.n(s)().createContext(null)},1290:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),a=n(373),i=n(5053),o=n(999);t.Z=function(e){var t=e.store,n=e.context,c=e.children,l=(0,s.useMemo)((function(){var e=(0,i.X)(t);return{store:t,subscription:e}}),[t]),p=(0,s.useMemo)((function(){return t.getState()}),[t]);(0,o.L)((function(){var e=l.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),p!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,p]);var u=n||a.E;return r().createElement(u.Provider,{value:l},c)}},5642:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var s=n(255),r=n(7921),a=n(7692),i=n.n(a),o=n(9196),c=n.n(o),l=n(1637),p=n(5053),u=n(999),d=n(373),m=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],f=[null,null];function k(e,t){var n=e[1];return[t.payload,n+1]}function v(e,t,n){(0,u.L)((function(){return e.apply(void 0,t)}),n)}function _(e,t,n,s,r,a,i){e.current=s,t.current=r,n.current=!1,a.current&&(a.current=null,i())}function E(e,t,n,s,r,a,i,o,c,l){if(e){var p=!1,u=null,d=function(){if(!p){var e,n,d=t.getState();try{e=s(d,r.current)}catch(e){n=e,u=e}n||(u=null),e===a.current?i.current||c():(a.current=e,o.current=e,i.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,u)throw u}}}var y=function(){return[null,0]};function b(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,u=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,b=n.methodName,w=void 0===b?"connectAdvanced":b,C=n.renderCountProp,j=void 0===C?void 0:C,S=n.shouldHandleStateChanges,N=void 0===S||S,x=n.storeKey,T=void 0===x?"store":x,O=(n.withRef,n.forwardRef),P=void 0!==O&&O,A=n.context,M=void 0===A?d.E:A,Z=(0,r.Z)(n,m),R=M;return function(t){var n=t.displayName||t.name||"Component",a=u(n),d=(0,s.Z)({},Z,{getDisplayName:u,methodName:w,renderCountProp:j,shouldHandleStateChanges:N,storeKey:T,displayName:a,wrappedComponentName:n,WrappedComponent:t}),m=Z.pure;var b=m?o.useMemo:function(e){return e()};function C(n){var a=(0,o.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,r.Z)(n,h);return[n.context,e,t]}),[n]),i=a[0],u=a[1],m=a[2],w=(0,o.useMemo)((function(){return i&&i.Consumer&&(0,l.isContextConsumer)(c().createElement(i.Consumer,null))?i:R}),[i,R]),C=(0,o.useContext)(w),j=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(C)&&Boolean(C.store);var S=j?n.store:C.store,x=(0,o.useMemo)((function(){return function(t){return e(t.dispatch,d)}(S)}),[S]),T=(0,o.useMemo)((function(){if(!N)return f;var e=(0,p.X)(S,j?null:C.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[S,j,C]),O=T[0],P=T[1],A=(0,o.useMemo)((function(){return j?C:(0,s.Z)({},C,{subscription:O})}),[j,C,O]),M=(0,o.useReducer)(k,g,y),Z=M[0][0],L=M[1];if(Z&&Z.error)throw Z.error;var U=(0,o.useRef)(),z=(0,o.useRef)(m),I=(0,o.useRef)(),D=(0,o.useRef)(!1),V=b((function(){return I.current&&m===z.current?I.current:x(S.getState(),m)}),[S,Z,m]);v(_,[z,U,D,m,V,I,P]),v(E,[N,S,O,x,z,U,D,I,P,L],[S,O,x]);var F=(0,o.useMemo)((function(){return c().createElement(t,(0,s.Z)({},V,{ref:u}))}),[u,t,V]);return(0,o.useMemo)((function(){return N?c().createElement(w.Provider,{value:A},F):F}),[w,F,A])}var S=m?c().memo(C):C;if(S.WrappedComponent=t,S.displayName=C.displayName=a,P){var x=c().forwardRef((function(e,t){return c().createElement(S,(0,s.Z)({},e,{reactReduxForwardedRef:t}))}));return x.displayName=a,x.WrappedComponent=t,i()(x,t)}return i()(S,t)}}},9580:function(e,t,n){"use strict";var s=n(255),r=n(7921),a=n(5642),i=n(8588),o=n(2320),c=n(2004),l=n(4769),p=n(8164),u=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function d(e,t,n){for(var s=t.length-1;s>=0;s--){var r=t[s](e);if(r)return r}return function(t,s){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+s.wrappedComponentName+".")}}function m(e,t){return e===t}function h(e){var t=void 0===e?{}:e,n=t.connectHOC,h=void 0===n?a.Z:n,g=t.mapStateToPropsFactories,f=void 0===g?c.ZP:g,k=t.mapDispatchToPropsFactories,v=void 0===k?o.ZP:k,_=t.mergePropsFactories,E=void 0===_?l.ZP:_,y=t.selectorFactory,b=void 0===y?p.ZP:y;return function(e,t,n,a){void 0===a&&(a={});var o=a,c=o.pure,l=void 0===c||c,p=o.areStatesEqual,g=void 0===p?m:p,k=o.areOwnPropsEqual,_=void 0===k?i.Z:k,y=o.areStatePropsEqual,w=void 0===y?i.Z:y,C=o.areMergedPropsEqual,j=void 0===C?i.Z:C,S=(0,r.Z)(o,u),N=d(e,f,"mapStateToProps"),x=d(t,v,"mapDispatchToProps"),T=d(n,E,"mergeProps");return h(b,(0,s.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:N,initMapDispatchToProps:x,initMergeProps:T,pure:l,areStatesEqual:g,areOwnPropsEqual:_,areStatePropsEqual:w,areMergedPropsEqual:j},S))}}t.Z=h()},2320:function(e,t,n){"use strict";var s=n(7059),r=n(278);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,r.dX)((function(t){return(0,s.Z)(e,t)})):void 0}]},2004:function(e,t,n){"use strict";var s=n(278);t.ZP=[function(e){return"function"==typeof e?(0,s.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,s.dX)((function(){return{}}))}]},4769:function(e,t,n){"use strict";var s=n(255);function r(e,t,n){return(0,s.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var s,r=n.pure,a=n.areMergedPropsEqual,i=!1;return function(t,n,o){var c=e(t,n,o);return i?r&&a(c,s)||(s=c):(i=!0,s=c),s}}}(e):void 0},function(e){return e?void 0:function(){return r}}]},8164:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var s=n(7921),r=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function a(e,t,n,s){return function(r,a){return n(e(r,a),t(s,a),a)}}function i(e,t,n,s,r){var a,i,o,c,l,p=r.areStatesEqual,u=r.areOwnPropsEqual,d=r.areStatePropsEqual,m=!1;function h(r,m){var h,g,f=!u(m,i),k=!p(r,a);return a=r,i=m,f&&k?(o=e(a,i),t.dependsOnOwnProps&&(c=t(s,i)),l=n(o,c,i)):f?(e.dependsOnOwnProps&&(o=e(a,i)),t.dependsOnOwnProps&&(c=t(s,i)),l=n(o,c,i)):k?(h=e(a,i),g=!d(h,o),o=h,g&&(l=n(o,c,i)),l):l}return function(r,p){return m?h(r,p):(o=e(a=r,i=p),c=t(s,i),l=n(o,c,i),m=!0,l)}}function o(e,t){var n=t.initMapStateToProps,o=t.initMapDispatchToProps,c=t.initMergeProps,l=(0,s.Z)(t,r),p=n(e,l),u=o(e,l),d=c(e,l);return(l.pure?i:a)(p,u,d,e,l)}},278:function(e,t,n){"use strict";function s(e){return function(t,n){var s=e(t,n);function r(){return s}return r.dependsOnOwnProps=!1,r}}function r(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){n.displayName;var s=function(e,t){return s.dependsOnOwnProps?s.mapToProps(e,t):s.mapToProps(e)};return s.dependsOnOwnProps=!0,s.mapToProps=function(t,n){s.mapToProps=e,s.dependsOnOwnProps=r(e);var a=s(t,n);return"function"==typeof a&&(s.mapToProps=a,s.dependsOnOwnProps=r(a),a=s(t,n)),a},s}}n.d(t,{dX:function(){return s},xv:function(){return a}})},1654:function(e,t,n){"use strict";n.d(t,{$j:function(){return r.Z},zt:function(){return s.Z}});var s=n(1290),r=(n(5642),n(373),n(9580));n(7518),n(8882),n(6271)},7518:function(e,t,n){"use strict";n(373),n(6271)},2830:function(e,t,n){"use strict";n(9196),n(373)},8882:function(e,t,n){"use strict";n(9196),n(2830),n(5053),n(999),n(373)},6271:function(e,t,n){"use strict";n(9196),n(373),n(2830)},9309:function(e,t,n){"use strict";n.d(t,{$j:function(){return s.$j},zt:function(){return s.zt}});var s=n(1654),r=n(9523);(0,n(2935).F)(r.m)},5053:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var s=n(2935);var r={notify:function(){},get:function(){return[]}};function a(e,t){var n,a=r;function i(){c.onStateChange&&c.onStateChange()}function o(){var r,o,c;n||(n=t?t.addNestedSub(i):e.subscribe(i),r=(0,s.k)(),o=null,c=null,a={clear:function(){o=null,c=null},notify:function(){r((function(){for(var e=o;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=o;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=c={callback:e,next:null,prev:c};return n.prev?n.prev.next=n:o=n,function(){t&&null!==o&&(t=!1,n.next?n.next.prev=n.prev:c=n.prev,n.prev?n.prev.next=n.next:o=n.next)}}})}var c={addNestedSub:function(e){return o(),a.subscribe(e)},notifyNestedSubs:function(){a.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,a.clear(),a=r)},getListeners:function(){return a}};return c}},2935:function(e,t,n){"use strict";n.d(t,{F:function(){return r},k:function(){return a}});var s=function(e){e()},r=function(e){return s=e},a=function(){return s}},7059:function(e,t,n){"use strict";function s(e,t){var n={},s=function(s){var r=e[s];"function"==typeof r&&(n[s]=function(){return t(r.apply(void 0,arguments))})};for(var r in e)s(r);return n}n.d(t,{Z:function(){return s}})},9523:function(e,t,n){"use strict";n.d(t,{m:function(){return s.unstable_batchedUpdates}});var s=n(1850)},8588:function(e,t,n){"use strict";function s(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function r(e,t){if(s(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a<n.length;a++)if(!Object.prototype.hasOwnProperty.call(t,n[a])||!s(e[n[a]],t[n[a]]))return!1;return!0}n.d(t,{Z:function(){return r}})},999:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var s=n(9196),r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect},7453:function(e,t,n){"use strict";n.d(t,{UT:function(){return u}});var s=n(4498),r=n(9710),a=n(9196),i=n.n(a),o=n(2511),c=n(255),l=n(7921),p=n(4262);i().Component;var u=function(e){function t(){for(var t,n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(t=e.call.apply(e,[this].concat(s))||this).history=(0,o.q_)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(s.F0,{history:this.history,children:this.props.children})},t}(i().Component);var d=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?(0,o.ob)(e,null,null,t):e},h=function(e){return e},g=i().forwardRef;void 0===g&&(g=h);var f=g((function(e,t){var n=e.innerRef,s=e.navigate,r=e.onClick,a=(0,l.Z)(e,["innerRef","navigate","onClick"]),o=a.target,p=(0,c.Z)({},a,{onClick:function(e){try{r&&r(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||o&&"_self"!==o||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),s())}});return p.ref=h!==g&&t||n,i().createElement("a",p)}));var k=g((function(e,t){var n=e.component,r=void 0===n?f:n,a=e.replace,u=e.to,k=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return i().createElement(s.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=e.history,s=m(d(u,e.location),e.location),l=s?n.createHref(s):"",f=(0,c.Z)({},v,{href:l,navigate:function(){var t=d(u,e.location),s=(0,o.Ep)(e.location)===(0,o.Ep)(m(t));(a||s?n.replace:n.push)(t)}});return h!==g?f.ref=t||k:f.innerRef=k,i().createElement(r,f)}))})),v=function(e){return e},_=i().forwardRef;void 0===_&&(_=v);_((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,a=e.activeClassName,o=void 0===a?"active":a,u=e.activeStyle,h=e.className,g=e.exact,f=e.isActive,E=e.location,y=e.sensitive,b=e.strict,w=e.style,C=e.to,j=e.innerRef,S=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(s.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=E||e.location,a=m(d(C,n),n),l=a.pathname,N=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=N?(0,s.LX)(n.pathname,{path:N,exact:g,sensitive:y,strict:b}):null,T=!!(f?f(x,n):x),O="function"==typeof h?h(T):h,P="function"==typeof w?w(T):w;T&&(O=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(O,o),P=(0,c.Z)({},P,u));var A=(0,c.Z)({"aria-current":T&&r||null,className:O,style:P,to:a},S);return v!==_?A.ref=t||j:A.innerRef=j,i().createElement(k,A)}))}))},4498:function(e,t,n){"use strict";n.d(t,{AW:function(){return Z},EN:function(){return V},F0:function(){return b},LX:function(){return M},NL:function(){return C},l_:function(){return T},rs:function(){return D},s6:function(){return y}});var s=n(9710),r=n(9196),a=n.n(r),i=n(5844),o=n.n(i),c=n(2511),l=n(4262),p=n(255),u=n(70),d=n.n(u),m=(n(3801),n(7921)),h=n(7692),g=n.n(h),f=1073741823,k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window||"undefined"!=typeof window?window:{};var v=a().createContext||function(e,t){var n,r,i="__create-react-context-"+function(){var e="__global_unique_id__";return k[e]=(k[e]||0)+1}()+"__",c=function(e){function n(){for(var t,n,s,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,s=[],{on:function(e){s.push(e)},off:function(e){s=s.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,s.forEach((function(e){return e(n,t)}))}}),t}(0,s.Z)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,s=this.props.value,r=e.value;((a=s)===(i=r)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(s,r):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},r.render=function(){return this.props.children},n}(a().Component);c.childContextTypes=((n={})[i]=o().object.isRequired,n);var l=function(t){function n(){for(var e,n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(e=t.call.apply(t,[this].concat(s))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,s.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a().Component);return l.contextTypes=((r={})[i]=o().object,r),{Provider:c,Consumer:l}},_=function(e){var t=v();return t.displayName=e,t},E=_("Router-History"),y=_("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,s.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a().createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a().createElement(E.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a().Component);a().Component;var w=function(e){function t(){return e.apply(this,arguments)||this}(0,s.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a().Component);function C(e){var t=e.message,n=e.when,s=void 0===n||n;return a().createElement(y.Consumer,null,(function(e){if(e||(0,l.Z)(!1),!s||e.staticContext)return null;var n=e.history.block;return a().createElement(w,{onMount:function(e){e.release=n(t)},onUpdate:function(e,s){s.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var j={},S=1e4,N=0;function x(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(j[e])return j[e];var t=d().compile(e);return N<S&&(j[e]=t,N++),t}(e)(t,{pretty:!0})}function T(e){var t=e.computedMatch,n=e.to,s=e.push,r=void 0!==s&&s;return a().createElement(y.Consumer,null,(function(e){e||(0,l.Z)(!1);var s=e.history,i=e.staticContext,o=r?s.push:s.replace,u=(0,c.ob)(t?"string"==typeof n?x(n,t.params):(0,p.Z)({},n,{pathname:x(n.pathname,t.params)}):n);return i?(o(u),null):a().createElement(w,{onMount:function(){o(u)},onUpdate:function(e,t){var n=(0,c.ob)(t.to);(0,c.Hp)(n,(0,p.Z)({},u,{key:n.key}))||o(u)},to:n})}))}var O={},P=1e4,A=0;function M(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,s=n.path,r=n.exact,a=void 0!==r&&r,i=n.strict,o=void 0!==i&&i,c=n.sensitive,l=void 0!==c&&c;return[].concat(s).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var s=function(e,t){var n=""+t.end+t.strict+t.sensitive,s=O[n]||(O[n]={});if(s[e])return s[e];var r=[],a={regexp:d()(e,r,t),keys:r};return A<P&&(s[e]=a,A++),a}(n,{end:a,strict:o,sensitive:l}),r=s.regexp,i=s.keys,c=r.exec(e);if(!c)return null;var p=c[0],u=c.slice(1),m=e===p;return a&&!m?null:{path:n,url:"/"===n&&""===p?"/":p,isExact:m,params:i.reduce((function(e,t,n){return e[t.name]=u[n],e}),{})}}),null)}var Z=function(e){function t(){return e.apply(this,arguments)||this}return(0,s.Z)(t,e),t.prototype.render=function(){var e=this;return a().createElement(y.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,s=e.props.computedMatch?e.props.computedMatch:e.props.path?M(n.pathname,e.props):t.match,r=(0,p.Z)({},t,{location:n,match:s}),i=e.props,o=i.children,c=i.component,u=i.render;return Array.isArray(o)&&function(e){return 0===a().Children.count(e)}(o)&&(o=null),a().createElement(y.Provider,{value:r},r.match?o?"function"==typeof o?o(r):o:c?a().createElement(c,r):u?u(r):null:"function"==typeof o?o(r):null)}))},t}(a().Component);function R(e){return"/"===e.charAt(0)?e:"/"+e}function L(e,t){if(!e)return t;var n=R(e);return 0!==t.pathname.indexOf(n)?t:(0,p.Z)({},t,{pathname:t.pathname.substr(n.length)})}function U(e){return"string"==typeof e?e:(0,c.Ep)(e)}function z(e){return function(){(0,l.Z)(!1)}}function I(){}a().Component;var D=function(e){function t(){return e.apply(this,arguments)||this}return(0,s.Z)(t,e),t.prototype.render=function(){var e=this;return a().createElement(y.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,s,r=e.props.location||t.location;return a().Children.forEach(e.props.children,(function(e){if(null==s&&a().isValidElement(e)){n=e;var i=e.props.path||e.props.from;s=i?M(r.pathname,(0,p.Z)({},e.props,{path:i})):t.match}})),s?a().cloneElement(n,{location:r,computedMatch:s}):null}))},t}(a().Component);function V(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,s=(0,m.Z)(t,["wrappedComponentRef"]);return a().createElement(y.Consumer,null,(function(t){return t||(0,l.Z)(!1),a().createElement(e,(0,p.Z)({},s,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,g()(n,e)}a().useContext},4561:function(e,t,n){"use strict";var s=n(9196),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var s,a={},l=null,p=null;for(s in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(p=t.ref),t)i.call(t,s)&&!c.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{$$typeof:r,type:e,key:l,ref:p,props:a,_owner:o.current}}t.Fragment=a,t.jsx=l,t.jsxs=l},275:function(e,t,n){"use strict";e.exports=n(4561)},5385:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,s=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,s,e):t(r)}}}}var s=n();s.withExtraArgument=n,t.Z=s},835:function(e,t,n){"use strict";n.d(t,{DE:function(){return u},MT:function(){return o},UY:function(){return l},md:function(){return g},qC:function(){return h}});var s=n(407),r=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,l=t,p=[],u=p,d=!1;function m(){u===p&&(u=p.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function g(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return m(),u.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,m();var n=u.indexOf(e);u.splice(n,1),p=null}}}function f(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,l=c(l,e)}finally{d=!1}for(var t=p=u,n=0;n<t.length;n++){(0,t[n])()}return e}return f({type:a.INIT}),(r={dispatch:f,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,f({type:a.REPLACE})}})[s.Z]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[s.Z]=function(){return this},e},r}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),n={},s=0;s<t.length;s++){var r=t[s];0,"function"==typeof e[r]&&(n[r]=e[r])}var i,o=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var s=!1,r={},a=0;a<o.length;a++){var l=o[a],p=n[l],u=e[l],d=p(u,t);if(void 0===d){var m=c(l,t);throw new Error(m)}r[l]=d,s=s||d!==u}return(s=s||o.length!==Object.keys(e).length)?r:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function u(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var s in e){var r=e[s];"function"==typeof r&&(n[s]=p(r,t))}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),s=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:n.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map((function(e){return e(r)}));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{dispatch:s=h.apply(void 0,a)(n.dispatch)})}}}},4456:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function s(e,t){for(var n=t,s=n+1,r=e.length;s<r;n+=1,s+=1)e[n]=e[s];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var r,a=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&n(e),c=t&&n(t),l=o||c;if(e&&n(e)?i=a:a.length&&(i.pop(),i=i.concat(a)),!i.length)return"/";if(i.length){var p=i[i.length-1];r="."===p||".."===p||""===p}else r=!1;for(var u=0,d=i.length;d>=0;d--){var m=i[d];"."===m?s(i,d):".."===m?(s(i,d),u++):u&&(s(i,d),u--)}if(!l)for(;u--;u)i.unshift("..");!l||""===i[0]||i[0]&&n(i[0])||i.unshift("");var h=i.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h}},2659:function(e,t,n){"use strict";function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}t.Z=void 0;var r,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!=i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(9196)),i=(r=n(5844))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(){return l=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},l.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,s,r=function(e,t){if(null==e)return{};var n,s,r={},a=Object.keys(e);for(s=0;s<a.length;s++)n=a[s],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s<a.length;s++)n=a[s],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function u(e,t){for(var n,s=0;s<t.length;s++)(n=t[s]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e);var n=m(t);return function(e,t,n){t&&u(e.prototype,t),n&&u(e,n)}(t,[{key:"render",value:function(){var e,t=this.props,n=t.size,s=t.onClick,r=t.icon,i=t.className,c=p(t,o),u=["social-logo","social-logo-"+r,i].filter(Boolean).join(" ");switch(r){default:e=a.default.createElement("svg",l({height:n,width:n},c));break;case"amazon":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"codepen":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})));break;case"feed":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"})));break;case"ghost":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"})));break;case"google-plus-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"})));break;case"instagram":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"link":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"})));break;case"linkedin":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})));break;case"mail":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"mastodon":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M20.617 13.92c-.265 1.361-2.37 2.851-4.788 3.14-1.261.15-2.502.288-3.826.228-2.165-.1-3.873-.517-3.873-.517 0 .211.013.411.039.599.282 2.136 2.119 2.264 3.859 2.324 1.756.06 3.32-.433 3.32-.433l.072 1.588s-1.228.659-3.417.781c-1.207.066-2.705-.031-4.45-.493-3.785-1.001-4.436-5.036-4.536-9.13-.03-1.215-.011-2.361-.011-3.32 0-4.186 2.742-5.413 2.742-5.413 1.383-.635 3.756-.902 6.224-.923h.06c2.467.021 4.842.288 6.225.923 0 0 2.742 1.227 2.742 5.413 0 0 .035 3.089-.382 5.233zm-2.854-4.909v5.069h-2.008V9.16c0-1.037-.436-1.563-1.309-1.563-.965 0-1.448.624-1.448 1.859v2.693h-1.996V9.456c0-1.235-.484-1.859-1.449-1.859-.873 0-1.309.526-1.309 1.563v4.92H6.236V9.011c0-1.035.263-1.859.793-2.468.547-.609 1.262-.921 2.15-.921 1.028 0 1.806.395 2.32 1.185l.501.839.5-.839c.514-.79 1.292-1.185 2.32-1.185.888 0 1.604.312 2.15.921.53.609.793 1.433.793 2.468z",fillRule:"evenodd"})));break;case"medium-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"patreon":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),a.default.createElement("g",null,a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"})));break;case"pinterest-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})));break;case"pinterest":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"})));break;case"pocket":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"})));break;case"print":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"})));break;case"share":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"})));break;case"spotify":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"tiktok-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),a.default.createElement("g",null,a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm9.584 3h-2.052l.019 8.128a1.73 1.73 0 11-1.215-1.65v-2.084h-.533a3.804 3.804 0 103.803 3.803l-.022-4.207c1.268.968 2.85.869 2.85.869V8.82C14.47 8.636 14.584 6 14.584 6z"})));break;case"tiktok":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"})));break;case"tumblr":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"})));break;case"twitch":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"})));break;case"woocommerce":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"xanga":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=a.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(a.PureComponent);t.Z=f,g(f,"defaultProps",{size:24}),g(f,"propTypes",{icon:i.default.string.isRequired,size:i.default.number,onClick:i.default.func,className:i.default.string})},407:function(e,t,n){"use strict";var s,r=n(7148);e=n.hmd(e),s="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var a=(0,r.Z)(s);t.Z=a},7148:function(e,t,n){"use strict";function s(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return s}})},8750:function(e,t,n){"use strict";n.d(t,{EB:function(){return y},ht:function(){return _}});var s=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],r=s.join(","),a="undefined"==typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!a&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,n){var s=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&i.call(e,r)&&s.unshift(e),s=s.filter(n)},l=function e(t,n,s){for(var a=[],o=Array.from(t);o.length;){var c=o.shift();if("SLOT"===c.tagName){var l=c.assignedElements(),p=e(l.length?l:c.children,!0,s);s.flatten?a.push.apply(a,p):a.push({scope:c,candidates:p})}else{i.call(c,r)&&s.filter(c)&&(n||!t.includes(c))&&a.push(c);var u=c.shadowRoot||"function"==typeof s.getShadowRoot&&s.getShadowRoot(c),d=!s.shadowRootFilter||s.shadowRootFilter(c);if(u&&d){var m=e(!0===u?c.children:u.children,!0,s);s.flatten?a.push.apply(a,m):a.push({scope:c,candidates:m})}else o.unshift.apply(o,c.children)}}return a},p=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},u=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},d=function(e){return"INPUT"===e.tagName},m=function(e){return function(e){return d(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||o(e),s=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=s(window.CSS.escape(e.name));else try{t=s(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},h=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return 0===n&&0===s},g=function(e,t){return!(t.disabled||function(e){return d(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,s=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(r,"details:not([open]) *"))return!0;var a=o(e).host,c=(null==a?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof s){for(var l=e;e;){var p=e.parentElement,u=o(e);if(p&&!p.shadowRoot&&!0===s(p))return h(e);e=e.assignedSlot?e.assignedSlot:p||u===e.ownerDocument?p:u.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var s=t.children.item(n);if("LEGEND"===s.tagName)return!!i.call(t,"fieldset[disabled] *")||!s.contains(e)}return!0}t=t.parentElement}return!1}(t))},f=function(e,t){return!(m(t)||p(t)<0||!g(e,t))},k=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},v=function e(t){var n=[],s=[];return t.forEach((function(t,r){var a=!!t.scope,i=a?t.scope:t,o=p(i,a),c=a?e(t.candidates):i;0===o?a?n.push.apply(n,c):n.push(i):s.push({documentOrder:r,tabIndex:o,item:t,isScope:a,content:c})})),s.sort(u).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},_=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:f.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:k}):c(e,t.includeContainer,f.bind(null,t)),v(n)},E=s.concat("iframe").join(","),y=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,E)&&g(t,e)}},6975:function(e,t,n){"use strict";var s=n(1128);const r=n.n(s)()("dops:analytics");let a,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const o={initialize:function(e,t,n){o.setUser(e,t),o.setSuperProps(n),o.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=Object.assign(a||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){o.tracks.recordPageView(e),o.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,r,a,i){o.ga.recordPurchase(e,t,n,s,r,a,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(r("- Super Props: %o",a),t=Object.assign(t,a)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};o.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){o.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};o.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),o.ga.initialized=!0)},recordPageView:function(e,t){o.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){o.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==s&&(a+=" [Option Value: "+s+"]"),r(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,r,a,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=o},4743:function(e,t,n){"use strict";var s=n(1132),r=n(6483);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=a("JsonParseError"),o=a("JsonParseAfterRedirectError"),c=a("Api404Error"),l=a("Api404AfterRedirectError"),p=a("FetchNetworkError");const u=new function(e,t){let n=e,a=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",s=n.length?n.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const p={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){a=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(d).then(m)},fetchAuthorizationUrl:e=>u((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(d).then(m),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,o).then(m),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,o).then(d).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(d).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(d).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(d).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(d).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(d).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(d).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(d).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(d).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(d).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(d).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(d).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(d).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(d).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(d).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(d).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(d).then(m),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(s)}).then(d).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(d).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(d).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(d).then(m),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(d).then(m).then(f),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(d).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(d).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(d).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(d).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(d).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(d).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(d).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(d).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(d).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(d).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(d).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(d).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(d).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(d).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(d).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(d).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(d).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(d).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(d).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(d).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(d).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(d).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(d).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(d).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(d).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(d),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(d).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(d),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(d).then(m),fetchSearchPlanInfo:()=>u(`${a}jetpack/v4/search/plan`,o).then(d).then(m),fetchSearchSettings:()=>u(`${a}jetpack/v4/search/settings`,o).then(d).then(m),updateSearchSettings:e=>h(`${a}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(d).then(m),fetchSearchStats:()=>u(`${a}jetpack/v4/search/stats`,o).then(d).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(d).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(d).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${a}jetpack/v4/search/pricing`,o).then(d).then(m),fetchMigrationStatus:()=>u(`${n}jetpack/v4/migration/status`,o).then(d).then(m)};function u(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new o(n):new i}function g(){throw new p}t.ZP=u},7121:function(e,t,n){"use strict";var s=n(5609),r=n(5736),a=n(5235),i=n.n(a),o=n(5844),c=n.n(o),l=n(9196),p=n.n(l),u=n(526),d=n(6508);const __=r.__,m=e=>{const{label:t,onClick:n,isLoading:r,displayError:a,errorMessage:o}=e;return p().createElement(p().Fragment,null,p().createElement(u.Z,{className:i()(d.Z.button,"jp-action-button--button"),label:t,onClick:n,variant:"primary",disabled:r},r?p().createElement(s.Spinner,null):t),a&&p().createElement("p",{className:i()(d.Z.error,"jp-action-button__error")},o))};m.propTypes={label:c().string.isRequired,onClick:c().func,isLoading:c().bool,displayError:c().bool,errorMessage:c().string},m.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack")},t.Z=m},7525:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(5736),i=n(5235),o=n.n(i),c=n(9196),l=n.n(c);const __=a.__;t.Z=e=>{let{title:t=__("An Automattic Airline","jetpack"),height:n=7,className:s,...a}=e;return l().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:o()("jp-automattic-byline-logo",s)},a),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},526:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(5609),i=n(1074),o=n(5381),c=n(5235),l=n.n(c),p=n(9196),u=n.n(p),d=n(2103);const m=(0,p.forwardRef)(((e,t)=>{const{children:n,variant:s="primary",size:c="normal",weight:p="bold",icon:m,iconSize:h,disabled:g,isDestructive:f,isLoading:k,isExternalLink:v,className:_,text:E,fullWidth:y,...b}=e,w=l()(d.Z.button,_,{[d.Z.normal]:"normal"===c,[d.Z.small]:"small"===c,[d.Z.icon]:Boolean(m),[d.Z.loading]:k,[d.Z.regular]:"regular"===p,[d.Z["full-width"]]:y,[d.Z["is-icon-button"]]:Boolean(m)&&!n});b.ref=t;const C="normal"===c?20:16,j=v&&u().createElement(i.Z,{size:C,icon:o.Z,className:d.Z["external-icon"]}),S=v?"_blank":void 0,N=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return u().createElement(a.Button,r()({target:S,variant:s,className:l()(w,{"has-text":!!m&&N}),icon:v?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:E},b),k&&u().createElement(a.Spinner,null),u().createElement("span",null,n),j)}));t.Z=m},9026:function(e,t,n){"use strict";n(6172);t.Z=e=>{let{format:t="horizontal",icon:n,imageUrl:s}=e;return React.createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:s?`url( ${s} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)}},3396:function(e,t,n){"use strict";n.d(t,{VS:function(){return d}});var s=n(2674),r=n.n(s),a=n(5609),i=n(5235),o=n.n(i),c=n(5460);const l=e=>{let{className:t,size:n=24,viewBox:s="0 0 24 24",opacity:i=1,color:l="#2C3338",children:p}=e;const u={className:o()(c.Z.iconWrapper,t),width:n,height:n,viewBox:s,opacity:i,fill:void 0};return l&&(u.fill=l),React.createElement(a.SVG,r()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(a.G,{opacity:i},p))},p=e=>{let{className:t,fill:n="none",size:s,children:r}=e;return React.createElement(l,{className:o()(c.Z.socialIcon,t),size:s,color:n},r)},u={...{"anti-spam":e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(a.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(a.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(a.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"}))},backup:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1 l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4 c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1 c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4 C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6 c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2 c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8 c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2 l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8 C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1 c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4 C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0 C6.6,8.5,6.3,7.6,5.9,6.7z"}))},boost:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:s,color:r}=e;return React.createElement(l,{className:s,size:n,opacity:t,color:r},React.createElement(a.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),React.createElement(a.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:e=>{let{size:t,className:n=c.Z["star-icon"],color:s}=e;return React.createElement(l,{className:n,size:t,color:s},React.createElement(a.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}))},videopress:e=>{let{opacity:t=1,size:n,color:s}=e;return React.createElement(l,{size:n,opacity:t,color:s},React.createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7 h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9 c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z"}))},jetpack:e=>{let{size:t,className:n=c.Z.jetpack,color:s}=e;return React.createElement(l,{className:n,size:t,color:s,viewBox:"0 0 32 32"},React.createElement(a.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),React.createElement(a.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(a.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))}},...{facebook:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.facebook,s)},React.createElement(a.Path,{d:"M12,2C6.5,2,2,6.5,2,12c0,5,3.7,9.1,8.4,9.9v-7H7.9V12h2.5V9.8c0-2.5,1.5-3.9,3.8-3.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.twitter,s)},React.createElement(a.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.linkedin,s)},React.createElement(a.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.tumblr,s)},React.createElement(a.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.google,s)},React.createElement(a.Path,{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))},mastodon:e=>{let{fill:t,size:n,className:s}=e;return React.createElement(p,{fill:t,size:n,className:o()(c.Z.mastodon,s)},React.createElement(a.Path,{d:"M 19.997205,6.2868955 C 19.729197,4.3162778 17.992912,2.7633017 15.93468,2.4623753 15.587434,2.4115195 14.271759,2.2264681 11.224008,2.2264681 h -0.02277 c -3.0485688,0 -3.7026204,0.1850577 -4.0498676,0.2359072 C 5.1504449,2.7549655 3.3231548,4.1503966 2.879815,6.1443318 2.6665754,7.1263038 2.6438193,8.2149794 2.6834329,9.2136207 c 0.056471,1.4321143 0.067433,2.8617113 0.1989115,4.2879943 0.090908,0.947406 0.2494696,1.887266 0.4745239,2.812521 0.4214237,1.708868 2.1273496,3.130966 3.7987144,3.71116 1.7894479,0.605052 3.7138403,0.705478 5.5577463,0.290088 0.202828,-0.04667 0.403445,-0.100873 0.601781,-0.162549 0.447558,-0.140863 0.972662,-0.298434 1.358683,-0.575188 0.0052,-0.004 0.0097,-0.0089 0.01266,-0.01471 0.0031,-0.0056 0.0047,-0.01218 0.005,-0.01866 v -1.382076 c -9.4e-5,-0.006 -0.0016,-0.01202 -0.0043,-0.01754 -0.0027,-0.0054 -0.0067,-0.01028 -0.01155,-0.01392 -0.0049,-0.0038 -0.01044,-0.0063 -0.01648,-0.0078 -0.006,-0.0013 -0.01218,-0.0013 -0.01825,7.1e-5 -1.181368,0.279106 -2.391962,0.419012 -3.606552,0.416801 -2.0902554,0 -2.6524392,-0.981126 -2.8134375,-1.3896 -0.1293933,-0.353009 -0.2115739,-0.721231 -0.2444221,-1.095331 -3.29e-4,-0.0063 8.463e-4,-0.0125 0.00348,-0.01832 0.00253,-0.0056 0.00649,-0.01077 0.011389,-0.01471 0.0049,-0.004 0.010755,-0.0068 0.016957,-0.0081 0.00617,-0.0014 0.012655,-0.0012 0.018808,3.52e-4 1.1616831,0.277201 2.3525266,0.417106 3.5475526,0.416801 0.287408,0 0.573966,0 0.861395,-0.0074 1.201893,-0.03335 2.468685,-0.0942 3.6512,-0.322606 0.02952,-0.0058 0.059,-0.01091 0.0843,-0.01833 1.865209,-0.354279 3.640245,-1.466278 3.820617,-4.282163 0.0068,-0.110869 0.0236,-1.161191 0.0236,-1.276219 8.46e-4,-0.390958 0.127273,-2.7733487 -0.01856,-4.2371335 z m -2.87074,7.0263315 H 15.165179 V 8.5617567 c 0,-1.0003116 -0.421434,-1.5104614 -1.278618,-1.5104614 -0.942305,0 -1.414292,0.6035217 -1.414292,1.7955379 V 11.44764 H 10.522764 V 8.8468332 c 0,-1.1920162 -0.472832,-1.7955379 -1.4151372,-1.7955379 -0.8521293,0 -1.2777701,0.5101498 -1.2786179,1.5104614 V 13.313227 H 5.8693944 V 8.4175496 c 0,-1.0003133 0.2582014,-1.7949986 0.7745804,-2.3840846 0.5326766,-0.587672 1.2314038,-0.8894211 2.0986981,-0.8894211 1.003817,0 1.7623841,0.3817657 2.2680911,1.1445204 l 0.488023,0.8102521 0.488846,-0.8102521 c 0.505705,-0.7627547 1.264275,-1.1445204 2.26642,-1.1445204 0.866449,0 1.565152,0.3017491 2.099521,0.8894211 0.516404,0.5885211 0.774583,1.3832066 0.774583,2.3840846 z"}))}}};function d(e){return u[e]?u[e]:null}},8237:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(5736),i=n(5235),o=n.n(i),c=n(9196),l=n.n(c),p=n(7525),u=(n(3527),n(8868));const __=a.__;t.Z=e=>{let{a8cLogoHref:t="https://automattic.com",moduleName:n=__("Jetpack","jetpack"),className:s,moduleNameHref:a="https://jetpack.com",...i}=e;return l().createElement("div",r()({className:o()("jp-dashboard-footer",s)},i),l().createElement("div",{className:"jp-dashboard-footer__footer-left"},l().createElement(u.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack")}),l().createElement("span",{className:"jp-dashboard-footer__module-name"},a?l().createElement("a",{href:a,"aria-label":n},n):n)),l().createElement("div",{className:"jp-dashboard-footer__footer-right"},l().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack")},l().createElement(p.Z,null))))}},8868:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(5736),i=n(5235),o=n.n(i),c=n(9196),l=n.n(c);const __=a.__;t.Z=e=>{let{logoColor:t="#069e08",showText:n=!0,className:s,height:a=32,...i}=e;const c=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:o()("jetpack-logo",s),"aria-labelledby":"jetpack-logo-title",height:a},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),l().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},2947:function(e,t,n){"use strict";var s=n(8709);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,s.X)();return new Intl.NumberFormat(n,t).format(e)}},5347:function(e,t,n){"use strict";var s=n(5736),r=n(5235),a=n.n(r),i=n(5106),o=n(3789),c=n(7387);const __=s.__;t.Z=e=>{let{price:t,offPrice:n,currency:s="",showNotOffPrice:r=!0,hideDiscountLabel:l=!0,promoLabel:p="",legend:u=__("/month, paid yearly","jetpack"),isNotConvenientPrice:d=!1,hidePriceFraction:m=!1,children:h}=e;if(null==t&&null==n||!s)return null;r=r&&null!=n;const g="number"==typeof t&&"number"==typeof n?Math.floor((t-n)/t*100):0,f=!l&&g&&g>0?g+__("% off","jetpack"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:c.Z.container},React.createElement("div",{className:a()(c.Z["price-container"],"product-price_container")},React.createElement(o.t,{value:null!=n?n:t,currency:s,isOff:!d,hidePriceFraction:m}),r&&React.createElement(o.t,{value:t,currency:s,isOff:!1,hidePriceFraction:m}))),React.createElement("div",{className:c.Z.footer},h||React.createElement(i.ZP,{className:a()(c.Z.legend,"product-price_legend")},u),p&&React.createElement(i.ZP,{className:a()(c.Z["promo-label"],"product-price_promo_label")},p),f&&React.createElement(i.ZP,{className:a()(c.Z["promo-label"],"product-price_promo_label")},f)))}},3789:function(e,t,n){"use strict";n.d(t,{t:function(){return c}});var s=n(5607),r=n(5235),a=n.n(r),i=n(5106),o=n(7387);const c=e=>{let{value:t,currency:n,isOff:r,hidePriceFraction:c}=e;const l=a()(o.Z.price,"product-price_price",{[o.Z["is-not-off-price"]]:!r}),{symbol:p,integer:u,fraction:d}=(0,s.LR)(t,n),m=!c||!d.endsWith("00");return React.createElement(i.ZP,{className:l,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:o.Z.symbol,component:"sup",variant:"title-medium"},p),u,m&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},3521:function(e,t,n){"use strict";var s=n(5736),r=n(9196),a=n.n(r),i=n(2947);n(4086);const __=s.__;t.Z=e=>{let{totalCount:t,items:n=[],showLegendLabelBeforeCount:s=!1,sortByCount:o}=e;const c=(0,r.useMemo)((()=>t||n.reduce(((e,t)=>{let{count:n}=t;return e+n}),0)),[n,t]),l=(0,r.useMemo)((()=>o?[...n].sort(((e,t)=>"ascending"===o?e.count-t.count:t.count-e.count)):n),[n,o]);return a().createElement("div",{className:"record-meter-bar"},a().createElement("div",{className:"record-meter-bar__items","aria-hidden":"true"},l.map((e=>{let{count:t,label:n,backgroundColor:s}=e;const r=(t/c*100).toPrecision(2);return a().createElement("div",{key:n,style:{backgroundColor:s,flexBasis:`${r}%`}})}))),a().createElement("div",{className:"record-meter-bar__legend","aria-hidden":"true"},a().createElement("ul",{className:"record-meter-bar__legend--items"},l.map((e=>{let{count:t,label:n,backgroundColor:r}=e;const o=(0,i.Z)(t);return a().createElement("li",{key:n,className:"record-meter-bar__legend--item"},a().createElement("div",{className:"record-meter-bar__legend--item-circle",style:{backgroundColor:r}}),!s&&a().createElement("span",null,a().createElement("span",{className:"record-meter-bar__legend--item-count"},o),a().createElement("span",{className:"record-meter-bar__legend--item-label"},n)),s&&a().createElement("span",null,a().createElement("span",{className:"record-meter-bar__legend--item-label record-meter-bar__legend--item-label-first"},n),a().createElement("span",{className:"record-meter-bar__legend--item-count"},"(",o,")")))})))),a().createElement("table",{className:"screen-reader-text"},a().createElement("caption",null,__("Summary of the records","jetpack")),a().createElement("tbody",null,a().createElement("tr",null,a().createElement("th",{scope:"col"},__("Record type","jetpack")),a().createElement("th",{scope:"col"},__("Record count","jetpack"))),l.map((e=>{let{label:t,count:n}=e;return a().createElement("tr",{key:t},a().createElement("td",null,t),a().createElement("td",null,n))})))))}},5033:function(e,t,n){"use strict";var s=n(5844),r=n.n(s),a=n(9196),i=n.n(a);n(8026);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},s={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:s})))};o.propTypes={color:r().string,className:r().string,size:r().number},o.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=o},7325:function(e,t,n){"use strict";var s=n(9307),r=n(5736),a=n(5235),i=n.n(a),o=n(6895),c=n(5106);n(7660);const __=r.__,l=()=>(0,s.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=e=>{let{agreeButtonLabel:t}=e;return(0,s.createInterpolateElement)((0,r.sprintf)(/* translators: %s is a button label */
__("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},u=e=>{let{slug:t,children:n}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,o.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)};t.Z=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:s}=e;return React.createElement(c.ZP,{className:i()(t,"terms-of-service")},n?React.createElement(l,null):React.createElement(p,{agreeButtonLabel:s}))}},6017:function(e,t,n){"use strict";n.d(t,{h:function(){return s},s:function(){return r}});const s={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(5235),i=n.n(a),o=n(9196),c=n.n(o),l=n(6017),p=n(5837);const u=(0,o.forwardRef)(((e,t)=>{let{variant:n="body",children:s,component:a,className:u,...d}=e;const m=a||l.h[n]||"span",h=(0,o.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==d[t]&&(e+=p.Z[`${t}-${d[t]}`]+" ",delete d[t]),e)),"")),[d]);return d.ref=t,c().createElement(m,r()({className:i()(p.Z.reset,p.Z[n],u,h)},d),s)}));t.ZP=u},8709:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var s=n(9771);const r=s.getSettings||s.__experimentalGetSettings,a=()=>{var e;const{l10n:{locale:t}}=r();if(t)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(t);return null!==(e=window?.window?.navigator?.language)&&void 0!==e?e:"en-US"}},6895:function(e,t,n){"use strict";function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let s;if("undefined"!=typeof window&&(s=window.Initial_State?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),s&&(n.calypso_env=s);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:function(){return s}})},6554:function(e,t,n){"use strict";function s(e){return 1===e?.interval_count&&"month"===e?.interval_unit}n.d(t,{Z:function(){return s}})},1132:function(e,t,n){let s={};try{s=n(2787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>s.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},4792:function(e,t,n){"use strict";var s=n(7121),r=n(5736),a=n(5844),i=n.n(a),o=n(9196),c=n.n(o),l=n(1294);const __=r.__,p=e=>{const{apiRoot:t,apiNonce:n,connectLabel:r,registrationNonce:a,redirectUri:i,from:o,autoTrigger:p}=e,{handleRegisterSite:u,isRegistered:d,isUserConnected:m,siteIsRegistering:h,userIsConnecting:g,registrationError:f}=(0,l.Z)({registrationNonce:a,redirectUri:i,apiRoot:t,apiNonce:n,autoTrigger:p,from:o});return c().createElement(c().Fragment,null,(!d||!m)&&c().createElement(s.Z,{label:r,onClick:u,displayError:!!f,isLoading:h||g}))};p.propTypes={connectLabel:i().string,apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,from:i().string,redirectUri:i().string.isRequired,registrationNonce:i().string.isRequired,autoTrigger:i().bool},p.defaultProps={connectLabel:__("Connect","jetpack"),redirectUri:null,autoTrigger:!1},t.Z=p},9312:function(e,t,n){"use strict";var s=n(5736),r=n(5844),a=n.n(r),i=n(9196),o=n.n(i),c=n(1294),l=n(1624);const __=s.__,p=e=>{const{title:t,buttonLabel:n,apiRoot:s,apiNonce:r,registrationNonce:a,from:i,redirectUri:p,images:u,children:d,assetBaseUrl:m,autoTrigger:h,footer:g,skipUserConnection:f}=e,{handleRegisterSite:k,isRegistered:v,isUserConnected:_,siteIsRegistering:E,userIsConnecting:y,registrationError:b}=(0,c.Z)({registrationNonce:a,redirectUri:p,apiRoot:s,apiNonce:r,autoTrigger:h,from:i,skipUserConnection:f}),w=!v||!_,C=Boolean(b),j=E||y;return o().createElement(l.Z,{title:t,images:u,assetBaseUrl:m,showConnectButton:w,buttonLabel:n,handleButtonClick:k,displayButtonError:C,buttonIsLoading:j,footer:g},d)};p.propTypes={title:a().string,buttonLabel:a().string,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,registrationNonce:a().string.isRequired,from:a().string,redirectUri:a().string.isRequired,autoTrigger:a().bool,images:a().arrayOf(a().string),assetBaseUrl:a().string,skipUserConnection:a().bool},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1},t.Z=p},1624:function(e,t,n){"use strict";var s=n(7325),r=n(7121),a=n(5844),i=n.n(a),o=n(9196),c=n.n(o),l=n(8524);n(4590);const p=e=>{const{title:t,images:n,children:a,assetBaseUrl:i,isLoading:o,showConnectButton:p,buttonLabel:u,handleButtonClick:d,displayButtonError:m,buttonIsLoading:h,footer:g}=e;return c().createElement(l.Z,{title:t,assetBaseUrl:i,images:n,className:"jp-connection__connect-screen"+(o?" jp-connection__connect-screen__loading":"")},c().createElement("div",{className:"jp-connection__connect-screen__content"},a,p&&c().createElement(c().Fragment,null,c().createElement("div",{className:"jp-connection__connect-screen__tos"},c().createElement(s.Z,{agreeButtonLabel:u})),c().createElement(r.Z,{label:u,onClick:d,displayError:m,isLoading:h})),g&&c().createElement("div",{className:"jp-connection__connect-screen__footer"},g)))};p.propTypes={title:i().string,images:i().arrayOf(i().string),assetBaseUrl:i().string,isLoading:i().bool,showConnectButton:i().bool,buttonLabel:i().string.isRequired,handleButtonClick:i().func,displayButtonError:i().bool,buttonIsLoading:i().bool,footer:i().node},p.defaultProps={showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null},t.Z=p},2458:function(e,t,n){"use strict";var s=n(5844),r=n.n(s),a=n(9196),i=n.n(a);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const s=t.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},s)};o.propTypes={images:r().arrayOf(r().string).isRequired,assetBaseUrl:r().string},o.defaultProps={assetBaseUrl:""},t.Z=o},8524:function(e,t,n){"use strict";var s=n(8868),r=n(5844),a=n.n(r),i=n(9196),o=n.n(i),c=n(2458);n(5035);const l=e=>{const{title:t,children:n,className:r,assetBaseUrl:a,images:i,logo:l}=e,p=i?.length;return o().createElement("div",{className:"jp-connection__connect-screen-layout"+(p?" jp-connection__connect-screen-layout__two-columns":"")+(r?" "+r:"")},o().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||o().createElement(s.Z,null),o().createElement("h2",null,t),n),p?o().createElement("div",{className:"jp-connection__connect-screen-layout__right"},o().createElement(c.Z,{images:i,assetBaseUrl:a})):null)};l.propTypes={title:a().string,className:a().string,images:a().arrayOf(a().string),assetBaseUrl:a().string,logo:a().element},t.Z=l},7879:function(e,t,n){"use strict";var s=n(5736),r=n(5844),a=n.n(r),i=n(9196),o=n.n(i),c=n(4322);const __=s.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,s=(0,i.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&s.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},s.map((e=>o().createElement(c.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:a().array,disconnectingPlugin:a().string},t.Z=l},4322:function(e,t,n){"use strict";var s=n(5844),r=n.n(s),a=n(9196),i=n.n(a);n(2202);const o=e=>{const{title:t,value:n,description:s}=e;return i().createElement("div",{className:"jp-connection__disconnect-card card"},i().createElement("div",{className:"jp-connection__disconnect-card__card-content"},i().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||s)&&i().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},i().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),i().createElement("div",{className:"jp-connection__disconnect-card__card-description"},s))))};o.propTypes={title:r().string,value:r().oneOfType([r().string,r().number]),description:r().string},t.Z=o},6168:function(e,t,n){"use strict";var s=n(6975),r=n(4743),a=n(1132),i=n(5609),o=n(5736),c=n(5844),l=n.n(c),p=n(9196),u=n.n(p),d=(n(2741),n(9015)),m=n(5995),h=n(1702),g=n(1166);const __=o.__,f=e=>{const[t,n]=(0,p.useState)(!1),[o,c]=(0,p.useState)(!1),[l,f]=(0,p.useState)(!1),[k,v]=(0,p.useState)(!1),[_,E]=(0,p.useState)(!1),[y,b]=(0,p.useState)(!1),{apiRoot:w,apiNonce:C,connectedPlugins:j,title:S,pluginScreenDisconnectCallback:N,onDisconnected:x,onError:T,disconnectStepComponent:O,context:P,connectedUser:A,connectedSiteId:M,isOpen:Z,onClose:R}=e;let L="";(0,a.jetpackConfigHas)("consumer_slug")&&(L=(0,a.jetpackConfigGet)("consumer_slug"));const U=(0,p.useMemo)((()=>({context:P,plugin:L})),[P,L]);(0,p.useEffect)((()=>{r.ZP.setApiRoot(w),r.ZP.setApiNonce(C)}),[w,C]),(0,p.useEffect)((()=>{A&&A.ID&&A.login&&s.Z.initialize(A.ID,A.login)}),[A,A.ID,A.login]),(0,p.useEffect)((()=>{Z&&s.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",U)}),[Z,U]),(0,p.useEffect)((()=>{Z&&(o?!o||k||_?k&&!_?s.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},U)):_&&s.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},U)):s.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},U)):s.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},U)))}),[Z,o,k,_,U]);const z=(0,p.useCallback)((()=>{r.ZP.disconnectSite().then((()=>{n(!1),c(!0)})).catch((e=>{n(!1),f(e),T&&T(e)}))}),[n,c,f,T]),I=(0,p.useCallback)(((e,t)=>{b(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);s.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),b(!1)})).catch((e=>{s.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),b(!1)}))}),[b,E]),D=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!1),n(!0),"plugins"!==P?z():N&&N(e)}),[f,n,N,P,z]),V=(0,p.useCallback)((e=>s.Z.tracks.recordEvent(e,U)),[U]),F=(0,p.useCallback)((()=>!(!A.ID||!M)),[A,M]),B=(0,p.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!F())return void E(!0);const s={site_id:M,user_id:A.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},r=Object.assign({},U,{disconnect_reason:e});I(s,r)}),[I,E,F,M,A,U]),H=(0,p.useCallback)((e=>{e&&e.preventDefault(),x&&x(),R()}),[x,R]),q=(0,p.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return u().createElement(u().Fragment,null,Z&&u().createElement(i.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:R,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||k||_?k&&!_?u().createElement(h.Z,{isSubmittingFeedback:y,onFeedBackProvided:B,onExit:H}):_?u().createElement(g.Z,{onExit:H}):void 0:u().createElement(m.Z,{canProvideFeedback:F(),onProvideFeedback:q,onExit:H}):u().createElement(d.Z,{title:S,connectedPlugins:j,disconnectStepComponent:O,isDisconnecting:t,closeModal:R,onDisconnect:D,disconnectError:l,context:P,disconnectingPlugin:L,trackModalClick:V})))};f.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func},f.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=f},5995:function(e,t,n){"use strict";var s=n(9026),r=n(5609),a=n(9307),i=n(5736),o=n(5844),c=n.n(o),l=n(9196),p=n.n(l),u=n(2042);const __=i.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(s.Z,{icon:"unlink",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,a.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:p().createElement("br",null)})),n&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),p().createElement("p",null,p().createElement(r.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(r.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};d.propTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool},t.Z=d},9015:function(e,t,n){"use strict";var s=n(6895),r=n(5609),a=n(9307),i=n(5736),o=n(5844),c=n.n(o),l=n(9196),p=n.n(l),u=n(7879);const __=i.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:o,disconnectStepComponent:c,connectedPlugins:d,disconnectingPlugin:m,closeModal:h,context:g,trackModalClick:f}=e,k=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_learn_about")),[f]),v=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_support")),[f]),_=(0,l.useCallback)((()=>{f("jetpack_disconnect_dialog_click_stay_connected"),h()}),[f,h]),E=(0,l.useCallback)((e=>{f("jetpack_disconnect_dialog_click_disconnect"),i(e)}),[f,i]),y=(0,l.useCallback)((e=>{"Escape"!==e.key||n||_()}),[_,n]);(0,l.useEffect)((()=>(document.addEventListener("keydown",y,!1),()=>{document.removeEventListener("keydown",y,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),p().createElement(u.Z,{connectedPlugins:d,disconnectingPlugin:m}),c,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!c)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,a.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(r.ExternalLink,{href:(0,s.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:k}),jpSupportLink:p().createElement(r.ExternalLink,{href:(0,s.Z)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:v})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(r.Button,{variant:"primary",disabled:n,onClick:_,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===g?__("Cancel","jetpack"):__("Stay connected","jetpack",0)),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===g&&(e=__("Deactivate","jetpack")),p().createElement(r.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};d.propTypes={title:c().string,isDisconnecting:c().bool,onDisconnect:c().func,disconnectError:c().bool,disconnectStepComponent:c().element,connectedPlugins:c().array,disconnectingPlugin:c().string,closeModal:c().func,context:c().string,trackModalClick:c().func},t.Z=d},1702:function(e,t,n){"use strict";var s=n(5736),r=n(5844),a=n.n(r),i=n(9196),o=n.n(i),c=(n(8043),n(6336));const __=s.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:s}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),o().createElement(c.Z,{onSubmit:n,isSubmittingFeedback:s}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};l.PropTypes={onExit:a().func,onFeedBackProvided:a().func,isSubmittingFeedback:a().bool},t.Z=l},1166:function(e,t,n){"use strict";var s=n(9026),r=n(5609),a=n(9307),i=n(5736),o=n(5844),c=n.n(o),l=n(9196),p=n.n(l),u=n(724);const __=i.__,d=e=>{const{onExit:t}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(s.Z,{format:"vertical",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,a.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:p().createElement("br",null)})),p().createElement(r.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};d.PropTypes={onExit:c().func,assetBaseUrl:c().string},t.Z=d},6336:function(e,t,n){"use strict";var s=n(5609),r=n(5736),a=n(5844),i=n.n(a),o=n(9196),c=n.n(o),l=n(4372);const __=r.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[r,a]=(0,o.useState)(),[i,p]=(0,o.useState)(),u=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],d="another-reason",m=(0,o.useCallback)((()=>{t(r,r===d?i:"")}),[t,d,i,r]),h=(0,o.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),g=e=>e===r?"jp-connect__disconnect-survey-card--selected":"",f=(0,o.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":a(e)}}),[a]);return c().createElement(c().Fragment,null,c().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},u.map((e=>c().createElement(l.Z,{id:e.id,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+g(e.id)},c().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),c().createElement(l.Z,{id:d,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+g(d)},c().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",c().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:i,onChange:h,maxLength:1e3})))),c().createElement("p",null,c().createElement(s.Button,{disabled:!r||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};p.PropTypes={onSubmit:i().func,isSubmittingFeedback:i().bool},t.Z=p},4372:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);n(8043);t.Z=e=>{const{id:t,onClick:n,onKeyDown:a,children:i,className:o}=e,c=(0,s.useCallback)((()=>{n(t)}),[t,n]),l=(0,s.useCallback)((e=>{a(t,e)}),[t,a]);return r().createElement("div",{tabIndex:"0",role:"button",onClick:c,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},i)}},1294:function(e,t,n){"use strict";var s=n(4743),r=n(9818),a=n(9196),i=n(428);const o=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};t.Z=function(){let{registrationNonce:e=o.registrationNonce,apiRoot:t=o.apiRoot,apiNonce:n=o.apiNonce,redirectUri:c,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:h}=(0,r.useDispatch)(i.t),g=(0,r.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:k,userConnectionData:v,connectedPlugins:_,connectionErrors:E,isRegistered:y,isUserConnected:b,hasConnectedOwner:w}=(0,r.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),...e(i.t).getConnectionStatus()}))),C=()=>u?c?(window.location=c,Promise.resolve(c)):Promise.resolve():m({from:p,redirectUri:c}),j=t=>(t&&t.preventDefault(),y?C():d({registrationNonce:e,redirectUri:c}).then((()=>C())));return(0,a.useEffect)((()=>{s.ZP.setApiRoot(t),s.ZP.setApiNonce(n)}),[t,n]),(0,a.useEffect)((()=>{!l||f||k||j()}),[]),{handleRegisterSite:j,handleConnectUser:C,refreshConnectedPlugins:h,isRegistered:y,isUserConnected:b,siteIsRegistering:f,userIsConnecting:k,registrationError:g,userConnectionData:v,hasConnectedOwner:w,connectedPlugins:_,connectionErrors:E}}},1045:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(4743),r=n(9818),a=n(9196),i=n(428);const{apiRoot:o,apiNonce:c}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,a.useState)(!1),[n,l]=(0,a.useState)(null),{disconnectUserSuccess:p}=(0,r.useDispatch)(i.t),u="/wp-admin/admin.php?page=my-jetpack#/connection";return(0,a.useEffect)((()=>{s.ZP.setApiRoot(o),s.ZP.setApiNonce(c)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),l(null),s.ZP.reconnect().then((t=>("in_progress"===t.status?(p(),e&&(window.location.href=u)):window.location.reload(),t))).catch((e=>{throw l(e),t(!1),e}))},isRestoringConnection:e,restoreConnectionError:n}}},7523:function(e,t,n){"use strict";n.d(t,{LI:function(){return a},N4:function(){return o},Qo:function(){return m},T1:function(){return l},TS:function(){return u},ZP:function(){return w},b5:function(){return g},i6:function(){return r},qV:function(){return c},r7:function(){return i},wQ:function(){return h}});var s=n(4743);const r="SET_CONNECTION_STATUS",a="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="REGISTER_SITE",u="SET_AUTHORIZATION_URL",d="CONNECT_USER",m="DISCONNECT_USER_SUCCESS",h="SET_CONNECTED_PLUGINS",g="SET_CONNECTION_ERRORS",f=e=>({type:r,connectionStatus:e}),k=e=>({type:i,isRegistering:e}),v=e=>({type:o,isConnecting:e}),_=e=>({type:c,registrationError:e}),E=()=>({type:l}),y=e=>({type:u,authorizationUrl:e}),b=e=>({type:h,connectedPlugins:e});const w={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:a,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:k,setUserIsConnecting:v,setRegistrationError:_,clearRegistrationError:E,setAuthorizationUrl:y,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield E(),yield k(!0);try{const e=yield{type:p,registrationNonce:t,redirectUri:n};return yield f({isRegistered:!0}),yield y(e.authorizeUrl),yield k(!1),Promise.resolve(e)}catch(e){return yield _(e),yield k(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield v(!0),yield{type:d,from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:m}),setConnectedPlugins:b,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>s.ZP.fetchConnectedPlugins().then((n=>{t(b(n)),e(n)}))))},setConnectionErrors:e=>({type:g,connectionErrors:e})}},1432:function(e,t,n){"use strict";var s=n(4743),r=n(9818),a=n(7057);const i=(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,i)=>{t(a.Z).getAuthorizationUrl(s).then((t=>{const s=n||(e=>window.location.assign(e)),a=new URL(t);e&&a.searchParams.set("from",encodeURIComponent(e));const i=a.toString();s(i),r(i)})).catch((e=>{i(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return s.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return s.ZP.registerSite(t,n)},CONNECT_USER:i}},1479:function(e,t,n){"use strict";var s=n(9818),r=n(7523);const a=(0,s.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.b5?t.connectionErrors:e}});t.Z=a},7728:function(e,t,n){"use strict";var s=n(9818),r=n(7523),a=n(7057);const i={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];const o=(0,s.select)(a.Z).hasFinishedResolution("getAuthorizationUrl",r);return t&&!o&&(0,s.dispatch)(a.Z).finishResolution("getAuthorizationUrl",r),t},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...i}},2725:function(e,t){"use strict";const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}};t.Z=n},3535:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,a.createReduxStore)(e,t),(0,a.register)(i.store))}}r()(i,"store",null),t.Z=i},7057:function(e,t){"use strict";t.Z="jetpack-connection"},428:function(e,t,n){"use strict";n.d(t,{t:function(){return l.Z}});var s=n(7523),r=n(1432),a=n(1479),i=n(7728),o=n(2725),c=n(3535),l=n(7057);const p=window.JP_CONNECTION_INITIAL_STATE;p||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),c.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:a.Z,actions:s.ZP,selectors:o.Z,resolvers:i.Z,controls:r.Z,initialState:p||{}})},8728:function(e,t,n){"use strict";var s=n(6975),r=n(8868),a=n(5033),i=n(5609),o=n(9307),c=n(5736),l=n(1074),p=n(797),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);const __=c.__,g=e=>{const{className:t,disabled:n,onChange:s,value:r}=e;return h().createElement(i.TextControl,{className:t,label:__("License key","jetpack"),value:r,onChange:s,disabled:n})},f=e=>{const{className:t,availableLicenses:n,disabled:s,onChange:r,value:a}=e,[o,l]=(0,m.useState)(""),p=null===n,u=(0,m.useMemo)((()=>p?[{label:__("Fetching available licenses…","jetpack"),value:""}]:[...n.map((e=>{let{product:t,license_key:n}=e;return{label:(0,c.sprintf)(/* translators: placeholder is the product name and license key */
__("%1$s - %2$s","jetpack"),t,n),value:n}})),{label:__("I want to add a license key manually","jetpack"),value:""}]),[n,p]);(0,m.useEffect)((()=>{l(u?.length?u[0].value:"")}),[u]);const d=(0,m.useCallback)((e=>{l(e),r(e)}),[r]);return h().createElement(h().Fragment,null,h().createElement(i.SelectControl,{className:t,disabled:s,label:__("Select a license key","jetpack"),value:o,options:u,onChange:d}),!p&&!o&&h().createElement(i.TextControl,{className:t,label:__("Input a license key","jetpack"),value:a,onChange:r,disabled:s}))},k=e=>{const{activateLicense:t,availableLicenses:n,fetchingAvailableLicenses:c,isActivating:u,license:d,licenseError:k,onLicenseChange:v}=e,_=null!=k;(0,m.useEffect)((()=>{s.Z.tracks.recordEvent("jetpack_wpa_license_key_activation_view")}),[]);const E=_?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",y=n&&n.length;return h().createElement("div",{className:"jp-license-activation-screen-controls"},h().createElement("div",{className:"jp-license-activation-screen-controls--content"},h().createElement(r.Z,{showText:!1,height:48}),h().createElement("h1",null,__("Add a license key","jetpack")),h().createElement("p",null,(0,o.createInterpolateElement)(__("<strong>Check your email</strong> for your license key. You should have received it after making your purchase.","jetpack"),{strong:h().createElement("strong",null)})),c||y?h().createElement(f,{className:E,disabled:c||u,onChange:v,availableLicenses:c?null:n,value:d}):h().createElement(g,{className:E,disabled:u,onChange:v,value:d}),_&&h().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},h().createElement(l.Z,{icon:p.Z}),h().createElement("span",null,k))),h().createElement("div",null,h().createElement(i.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!d},u?h().createElement(a.Z,null):__("Activate","jetpack"))))};k.propTypes={activateLicense:d().func.isRequired,availableLicenses:d().array,fetchingAvailableLicenses:d().bool,isActivating:d().bool.isRequired,license:d().string.isRequired,licenseError:d().string,onLicenseChange:d().func.isRequired,siteUrl:d().string.isRequired},t.Z=k},8781:function(e,t,n){"use strict";var s=n(6895),r=n(9307),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c);const __=a.__,p=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,r.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack"),{a:l().createElement("a",{href:(0,s.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool},t.Z=p},7554:function(e,t,n){"use strict";var s=n(8868),r=n(5162),a=n.n(r),i=n(9196),o=n.n(i),c=n(3157),l=n(8288),p=n(4172);const u=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:r,currentRecommendationsStep:a}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(s.Z,{showText:!1,height:48})),o().createElement(l.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(c.c,{currentRecommendationsStep:a,siteAdminUrl:r,siteRawUrl:n}),o().createElement(p.o,{siteRawUrl:n,productId:t})))};u.propTypes={siteRawUrl:a().string,productId:a().number,siteAdminUrl:a().string,currentRecommendationsStep:a().string},t.Z=u},3157:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var s=n(6895),r=n(5609),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c);const __=a.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:a}=e;return"not-started"===t?l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack")):l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,s.Z)("license-activation-view-my-plans",{site:a})},__("View my plans","jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},4172:function(e,t,n){"use strict";n.d(t,{o:function(){return u}});var s=n(6895),r=n(5609),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),p=n(9430);const __=a.__,u=e=>{const{productId:t,siteRawUrl:n}=e,a={jetpack_backup:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,p.F)(t)];return l().createElement(l().Fragment,null,a&&l().createElement(r.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,s.Z)(a.redirectSource,{site:n})},a.text))};u.propTypes={siteRawUrl:o().string,productId:o().number}},468:function(e,t,n){"use strict";var s=n(6975),r=n(4743),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),p=n(8728),u=n(8781),d=n(7554),m=n(8702),h=n(1160);const __=a.__,g=e=>{const{availableLicenses:t=[],currentRecommendationsStep:n,fetchingAvailableLicenses:a=!1,onActivationSuccess:i=(()=>null),siteAdminUrl:o,siteRawUrl:g,startingLicense:f}=e,[k,v]=(0,c.useState)(null!=f?f:""),[_,E]=(0,c.useState)(null),[y,b]=(0,c.useState)(!1),[w,C]=(0,c.useState)(null);(0,c.useEffect)((()=>{t&&t[0]&&v(t[0].license_key)}),[t]);const j=(0,c.useCallback)((()=>y?Promise.resolve():k.length<1?(E(__("This is not a valid license key. Please try again.","jetpack")),Promise.resolve()):(E(null),b(!0),s.Z.tracks.recordJetpackClick({target:"license_activation_button"}),r.ZP.attachLicenses([k]).then((e=>{const t=(e=>{let t=e;for(;Array.isArray(t)&&t.length>0;)t=t[0];if(t?.activatedProductId)return t.activatedProductId;if(t?.errors)for(const e in t.errors)if(t.errors[e].length>0)throw new Error(t.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack"))})(e);C(t),i(t),s.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{E(e.message),s.Z.tracks.recordEvent("jetpack_wpa_license_activation_error")})).finally((()=>{b(!1)})))),[y,k,i]);return null!==w?l().createElement("div",{className:"jp-license-activation-screen"},l().createElement(d.Z,{siteRawUrl:g,productId:w,siteAdminUrl:o,currentRecommendationsStep:n}),l().createElement(u.Z,{imageUrl:h,showSupportLink:!1})):l().createElement("div",{className:"jp-license-activation-screen"},l().createElement(p.Z,{availableLicenses:t,activateLicense:j,fetchingAvailableLicenses:a,isActivating:y,license:k,licenseError:_,onLicenseChange:v,siteUrl:g}),l().createElement(u.Z,{imageUrl:m,showSupportLink:!0}))};g.propTypes={availableLicenses:o().array,currentRecommendationsStep:o().string,fetchingAvailableLicenses:o().bool,onActivationSuccess:o().func,siteAdminUrl:o().string.isRequired,siteRawUrl:o().string.isRequired,startingLicense:o().string},t.Z=g},3281:function(e,t,n){"use strict";n.d(t,{I:function(){return s.Z}});var s=n(468)},221:function(e,t,n){"use strict";var s=n(5162),r=n.n(s),a=n(9196),i=n.n(a),o=n(881),c=n(4859);const l=e=>{const{apiNonce:t,apiRoot:n,connectionStatus:s,partnerCoupon:r,assetBaseUrl:a,registrationNonce:l,siteRawUrl:p,tracksUserData:u,analytics:d}=e;return s.hasConnectedOwner?i().createElement(o.ZP,{assetBaseUrl:a,connectionStatus:s,partnerCoupon:r,siteRawUrl:p,tracksUserData:!!u,analytics:d}):i().createElement(c.Z,{apiNonce:t,registrationNonce:l,apiRoot:n,assetBaseUrl:a,connectionStatus:s,partnerCoupon:r,siteRawUrl:p,tracksUserData:!!u,analytics:d})};l.propTypes={apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,assetBaseUrl:r().string.isRequired,connectionStatus:r().object.isRequired,partnerCoupon:r().object.isRequired,registrationNonce:r().string.isRequired,siteRawUrl:r().string.isRequired,tracksUserData:r().bool.isRequired,analytics:r().object},t.Z=l},881:function(e,t,n){"use strict";var s=n(8868),r=n(7121),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),p=n(9864);const __=a.__,u="jetpackRedeemPartnerCouponDismissedAt",d=259200;function m(){const e=localStorage.getItem(u);return!(!e||(new Date).getTime()>parseInt(e)+1e3*d)}const h=e=>{const{connectionStatus:t,partnerCoupon:n,assetBaseUrl:i,siteRawUrl:o,tracksUserData:d,analytics:h}=e,[g,f]=(0,c.useState)(m()),k=(0,p.i)(n,o,t,d,h),v=(0,c.useCallback)((()=>{localStorage.setItem(u,(new Date).getTime()),f(m())}),[f]);if(g)return null;let _=null;return _=n.partner.logo?l().createElement(l().Fragment,null,l().createElement(s.Z,null),l().createElement("span",null,"+"),l().createElement("img",{src:`${i}${n.partner.logo.src}`,alt:(0,a.sprintf)(/* translators: %s: Name of Jetpack partner. */
__("Logo of %s who are offering a coupon in partnership with Jetpack","jetpack"),n.partner.name),width:n.partner.logo.width,height:n.partner.logo.height})):l().createElement(s.Z,null),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__layout"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__content"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__logo"},_),l().createElement("h2",{className:"jetpack-redeem-partner-coupon-post-connection__heading"},__("One free year of Jetpack Backup","jetpack"))),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__aside",style:{backgroundImage:`url(${i}/images/jetpack-aside-background.jpg)`}},l().createElement("img",{src:i+"/images/cloud-checkmark.svg",alt:""})),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__subcontent"},l().createElement("p",null,(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year! Never worry about losing your data, ever.","jetpack"),n.product.title)),l().createElement("ul",null,n.product.features.map(((e,t)=>l().createElement("li",{key:t},e)))),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__actions"},l().createElement("div",null,l().createElement(r.Z,{label:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),n.product.title),onClick:k})),l().createElement("div",null,l().createElement("button",{className:"jetpack-redeem-partner-coupon-post-connection__remind-me-later",onClick:v},__("Remind me later","jetpack")))))))};h.propTypes={assetBaseUrl:o().string.isRequired,connectionStatus:o().object.isRequired,partnerCoupon:o().object.isRequired,siteRawUrl:o().string.isRequired,tracksUserData:o().bool.isRequired,analytics:o().object},t.ZP=h},4859:function(e,t,n){"use strict";var s=n(7121),r=n(9312),a=n(5736),i=n(5235),o=n.n(i),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(9864);const __=a.__,m=e=>{const{apiNonce:t,apiRoot:n,connectionStatus:i,partnerCoupon:c,assetBaseUrl:l,registrationNonce:p,siteRawUrl:m,tracksUserData:h,analytics:g}=e,f=(0,d.i)(c,m,i,h,g),k=o()("jetpack-redeem-partner-coupon-pre-connection",{"jetpack-redeem-partner-coupon-pre-connection--connected":!!i.hasConnectedOwner});return u().createElement("div",{className:k},u().createElement(r.Z,{apiNonce:t,registrationNonce:p,apiRoot:n,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:l,from:"jetpack-partner-coupon",title:(0,a.sprintf)(/* translators: %s: Jetpack partner name. */
__("Welcome to Jetpack %s traveler!","jetpack"),c.partner.name),buttonLabel:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Set up & redeem %s","jetpack"),c.product.title),redirectUri:`admin.php?page=jetpack&partnerCoupon=${c.coupon_code}`,connectionStatus:i},u().createElement("p",null,(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year!","jetpack"),c.product.title)),u().createElement("ul",null,c.product.features.map(((e,t)=>u().createElement("li",{key:t},e)))),i.hasConnectedOwner&&u().createElement(s.Z,{label:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),c.product.title),onClick:f})))};m.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,assetBaseUrl:l().string.isRequired,connectionStatus:l().object.isRequired,partnerCoupon:l().object.isRequired,registrationNonce:l().string.isRequired,siteRawUrl:l().string.isRequired,tracksUserData:l().bool.isRequired,analytics:l().object},t.Z=m},1862:function(e,t,n){"use strict";n.d(t,{es:function(){return s.Z}});var s=n(221);n(4859),n(881)},4341:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(5736),o=n(5235),c=n.n(o),l=n(5799),p=n(3255),u=n(4069),d=n(5162),m=n.n(d),h=n(9196),g=n.n(h),f=n(9309),k=n(6300);const __=i.__;class v extends h.Component{constructor(){super(...arguments),r()(this,"trackActivityClick",(()=>{u.Z.tracks.recordJetpackClick({type:"activity-link",target:"at-a-glance",feature:"activity-log"})}))}render(){const{inOfflineMode:e}=this.props,t=__("Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.","jetpack");return g().createElement("div",{className:"jp-dash-item__interior"},g().createElement(p.Z,{label:__("Activity","jetpack"),isModule:!1,className:c()({"jp-dash-item__is-inactive":e}),pro:!1},g().createElement("p",{className:"jp-dash-item__description"},e?__("Unavailable in Offline Mode.","jetpack"):t)),g().createElement(l.Z,{key:"view-activity",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,a.Z)("calypso-activity-log",{site:this.props.siteRawUrl}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackActivityClick},__("View site activity","jetpack")))}}r()(v,"propTypes",{inOfflineMode:m().bool.isRequired,siteRawUrl:m().string.isRequired}),r()(v,"defaultProps",{inOfflineMode:!1,siteRawUrl:""}),t.Z=(0,f.$j)((e=>({inOfflineMode:(0,k.Ex)(e)})))(v)},1248:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(4743),i=n(2947),o=n(9307),c=n(5736),l=n(7506),p=n(5799),u=n(3255),d=n(1020),m=n(1549),h=n(5733),g=n(4069),f=n(9584),k=n(2819),v=n(1137),_=n(5162),E=n.n(_),y=n(9196),b=n.n(y),w=n(9309),C=n(7296),j=n(6300),S=n(9508),N=n(3002);const __=c.__,_x=c._x;class x extends y.Component{constructor(){super(...arguments),r()(this,"onActivateClick",(()=>(this.trackActivateClick(),this.props.createNotice("is-info",__("Activating Akismet…","jetpack"),{id:"activating-akismet"}),a.ZP.activateAkismet().then((()=>{this.props.removeNotice("activating-akismet"),window.location.href=this.props.siteAdminUrl+"admin.php?page=akismet-key-config"})).catch((()=>{this.props.removeNotice("activating-akismet"),this.props.createNotice("is-error",__("Could not activate Akismet.","jetpack"),{id:"activate-akismet-failure"})})),!1))),r()(this,"onModerateClick",(()=>{this.trackModerateClick()}))}trackActivateClick(){g.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"anti-spam"})}trackModerateClick(){g.Z.tracks.recordJetpackClick({type:"moderate-link",target:"at-a-glance",feature:"anti-spam"})}getContent(){const e=this.props.akismetData,t=__("Akismet Anti-spam","jetpack"),n={text:__("Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:"https://akismet.com/",privacyLink:"https://automattic.com/privacy/"},s=()=>{const e=(0,o.createInterpolateElement)(__("Already have a key? <Button>Activate Akismet Anti-spam</Button>","jetpack"),{Button:b().createElement(l.Z,{className:"jp-link-button",onClick:this.onActivateClick})});return b().createElement(h.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Automatically clear spam from comments and forms.","jetpack"),description:e,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"akismet",path:"dashboard",plan:(0,f.o2)(f.V3),trackBannerDisplay:this.props.trackUpgradeButtonView})},r=()=>b().createElement(h.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"akismet",path:"dashboard",plan:(0,f.o2)(f.V3)}),a=()=>this.props.isOfflineMode?b().createElement(u.Z,{label:t,module:"akismet",support:n,pro:!0,className:"jp-dash-item__is-inactive"},b().createElement("p",{className:"jp-dash-item__description"},__("Unavailable in Offline Mode.","jetpack"))):this.props.hasConnectedOwner?s():r();if("N/A"===e)return b().createElement(u.Z,{label:t,module:"akismet",support:n,pro:!0},b().createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack")));if(!this.props.hasAntiSpam&&!this.props.hasAkismet){if("not_installed"===e)return b().createElement(u.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:a()});if("not_active"===e)return b().createElement(u.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:a()});if("invalid_key"===e)return b().createElement(u.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:a()})}return["not_installed","not_active","invalid_key"].includes(e)?b().createElement(u.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0},__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")):[b().createElement(u.Z,{key:"comment-moderation",label:t,module:"akismet",support:n,status:"is-working",pro:!0},(()=>"0"!==this.props.akismetData?b().createElement(b().Fragment,null,b().createElement("h2",{className:"jp-dash-item__count"},(0,i.Z)(this.props.akismetData)),b().createElement("p",{className:"jp-dash-item__description"},_x("Spam comments blocked.",'Example: "412 Spam comments blocked"',"jetpack"))):b().createElement("div",{className:"jp-dash-item__recently-activated"},b().createElement("p",{className:"jp-dash-item__description"},__("Jetpack and its Anti-spam currently monitor all comments on your site. Data will display here soon!","jetpack"))))()),!this.props.isOfflineMode&&b().createElement(p.Z,{key:"moderate-comments",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:`${this.props.siteAdminUrl}edit-comments.php`,onClick:this.onModerateClick},__("Moderate comments","jetpack"))]}render(){return b().createElement("div",{className:"jp-dash-item__interior"},b().createElement(d.Z,null),this.getContent())}}r()(x,"propTypes",{siteRawUrl:E().string.isRequired,siteAdminUrl:E().string.isRequired,trackUpgradeButtonView:E().func,akismetData:E().oneOfType([E().string,E().object,E().number]).isRequired,isOfflineMode:E().bool.isRequired,upgradeUrl:E().string.isRequired,hasConnectedOwner:E().bool.isRequired}),r()(x,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:k.noop}),t.Z=(0,w.$j)((e=>({akismetData:(0,C.fU)(e),isOfflineMode:(0,j.Ex)(e),upgradeUrl:(0,v.z)(e,"akismet"),nonce:(0,S.VY)(e),hasConnectedOwner:(0,j.it)(e),hasAntiSpam:(0,N.CV)(e,"antispam"),hasAkismet:(0,N.CV)(e,"akismet")})),(e=>({createNotice:m.iI,removeNotice:m.qq,connectUser:()=>e((0,j.bL)())})))(x)},3326:function(e,t,n){"use strict";var s=n(800),r=n(5736),a=n(7506),i=n(5799),o=n(4069),c=n(9196),l=n.n(c),p=n(9309),u=n(3230);const __=r.__;t.Z=(0,p.$j)((e=>({isDismissed:(0,u.wS)(e)})),(e=>({dismiss:()=>e((0,u.VP)({dismiss_dash_backup_getting_started:!0}))})))((e=>{let{isDismissed:t,dismiss:n}=e;const r=(0,c.useCallback)((()=>{n(),o.Z.tracks.recordEvent("jetpack_backup_getting_started_video_dismiss",{position:"at_a_glance"})}),[n]),p=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_backup_getting_started_video_click",{position:"at_a_glance"})}),[]);return t?null:l().createElement(i.Z,{className:"dash-backup-getting-started"},l().createElement(a.Z,{borderless:!0,compact:!0,className:"dash-backup-getting-started__dismiss",onClick:r},l().createElement("span",{className:"dashicons dashicons-no"})),l().createElement("a",{href:s.zh,target:"_blank",rel:"noreferrer"},l().createElement("img",{className:"dash-backup-getting-started__thumbnail",src:s.hp+"backup-getting-started-thumbnail.png",srcSet:`${s.hp+"backup-getting-started-thumbnail.png"} 1x, ${s.hp+"backup-getting-started-thumbnail-2x.png"} 2x`,alt:""})),l().createElement("div",{className:"dash-backup-getting-started__content"},l().createElement("h3",{className:"dash-backup-getting-started__header"},__("Getting started with Jetpack Backup","jetpack")),l().createElement("p",{className:"dash-backup-getting-started__text"},__("A short video guide on how to back up your website","jetpack"))),l().createElement(a.Z,{className:"dash-backup-getting-started__cta",href:s.zh,onClick:p,target:"_blank",rel:"noreferrer",compact:!0,primary:!0},__("Watch the video","jetpack")))}))},647:function(e,t,n){"use strict";n.d(t,{v:function(){return p}});var s=n(3521),r=n(5736),a=n(5799),i=n(4069),o=n(9196),c=n.n(o),l=n(9890);const __=r.__,p=e=>{let{comments:t,plugins:n,posts:r,onClosePopup:p}=e;const u=(0,o.useRef)(!1);(0,o.useEffect)((()=>{u.current||(i.Z.tracks.recordEvent("jetpack_wpa_aag_backup_bar_chart_view",{comments:t,plugins:n,posts:r}),u.current=!0)}),[]);const d=(0,o.useMemo)((()=>[{count:r,label:__("Posts","jetpack"),backgroundColor:"#00BA37"},{count:n,label:__("Plugins","jetpack"),backgroundColor:"#3895BA"},{count:t,label:__("Comments","jetpack"),backgroundColor:"#E68B28"}]),[t,n,r]);return c().createElement(a.Z,{className:"jp-dash-upgrade-backup"},c().createElement(l.G,{posts:r,comments:t,onClosePopup:p}),c().createElement(s.Z,{items:d}))}},1498:function(e,t,n){"use strict";var s=n(4069),r=n(9196),a=n.n(r),i=n(9309),o=n(7296),c=n(647);t.Z=(0,i.$j)((e=>{const t=(0,o.yZ)(e)?.general?.stats;return{comments:t?.comments,plugins:Object.keys((0,o.Fb)(e)).length,posts:t?.posts,isFetchingData:(0,o.vz)(e)||(0,o.F2)(e)}}))((e=>{let{comments:t,isFetchingData:n,plugins:i,posts:o}=e;const[l,p]=(0,r.useState)(!0),u=(0,r.useCallback)((()=>{const e={comments:t,plugins:i,posts:o,target:"backup_bar_chart_close",type:"dismiss"};s.Z.tracks.recordJetpackClick(e),p(!1)}),[t,i,o]);return!n&&l&&o>20?a().createElement(c.v,{posts:o,comments:t,plugins:i,onClosePopup:u}):null}))},9890:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var s=n(800),r=n(5736),a=n(7506),i=n(9196),o=n.n(i);const __=r.__,c=e=>{let{posts:t,comments:n,onClosePopup:i}=e;return o().createElement("div",{className:"jp-dash-upgrade-backup__popup"},o().createElement(a.Z,{onClick:i,className:"jp-dash-upgrade-backup__popup-close-icon",compact:!0,borderless:!0},o().createElement("img",{src:s.hp+"/close.svg",alt:__("Close","jetpack")})),o().createElement("img",{className:"jp-dash-upgrade-backup__popup-lock-icon",src:s.hp+"/lock.svg",alt:__("Locked","jetpack")}),o().createElement("p",{className:"jp-dash-upgrade-backup__popup-title"},__("Upgrade to backup","jetpack")),o().createElement("p",null,(0,r.sprintf)(/* translators: 1 number of posts, 2 number of comments */
__("Be sure your %1$d posts, %2$d comments, and more information are safely backed up with Jetpack","jetpack"),t,n)))}},2792:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(5609),o=n(9307),c=n(5736),l=n(5799),p=n(3255),u=n(3526),d=n(5733),m=n(4069),h=n(9584),g=n(2819),f=n(1137),k=n(5162),v=n.n(k),_=n(9196),E=n.n(_),y=n(9309),b=n(7296),w=n(6300),C=n(9508),j=n(3002),S=n(1372),N=n(3326),x=n(1498);const __=c.__,T=e=>E().createElement(p.Z,{label:__("VaultPress Backup","jetpack"),module:e.feature||"backups",support:{text:__("Jetpack Backups allow you to easily restore or download a backup from a specific moment.","jetpack"),link:(0,a.Z)("jetpack-support-backup")},className:e.className,status:e.status,pro:!0,overrideContent:e.overrideContent},E().createElement("p",{className:"jp-dash-item__description"},e.content));class O extends _.Component{constructor(){super(...arguments),r()(this,"trackBackupsClick",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"backups-link";return function(){m.Z.tracks.recordJetpackClick({type:e,target:"at-a-glance",feature:"backups"})}})),r()(this,"trackRedeemCouponButtonView",(()=>{const{partnerCoupon:e}=this.props;m.Z.tracks.recordEvent("jetpack_wpa_aag_redeem_partner_coupon_button_view",{feature:"backups",coupon_preset:e.preset})}))}getJetpackBackupBanner(){const{partnerCoupon:e,upgradeUrl:t,siteRawUrl:n,trackUpgradeButtonView:s}=this.props;if(this.props.hasConnectedOwner){if(e&&"jetpack_backup_daily"===e.product.slug){const t=(0,a.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:n,query:`coupon=${e.coupon_code}`});return E().createElement(d.ZP,{callToAction:__("Redeem","jetpack"),title:(0,c.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year!","jetpack"),e.product.title),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",eventProps:{type:"redeem_partner_coupon",coupon_preset:e.preset},plan:(0,h.o2)(h.N_),trackBannerDisplay:this.trackRedeemCouponButtonView})}return E().createElement(E().Fragment,null,E().createElement(x.Z,null),E().createElement(d.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Never worry about losing your site – automatic backups keep your content safe.","jetpack"),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",plan:(0,h.o2)(h.N_),trackBannerDisplay:s}))}return E().createElement(d.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"backups",path:"dashboard",plan:(0,h.o2)(h.N_)})}getVPContent(){const{hasBackups:e,isFetchingSite:t,isVaultPressInstalled:n,getOptionValue:s,siteRawUrl:r,vaultPressData:i}=this.props;return s("vaultpress")&&"success"===(0,g.get)(i,"code","")?T({className:"jp-dash-item__is-active",status:"is-working",content:E().createElement("span",null,(0,g.get)(i,"message","")," ",(0,o.createInterpolateElement)(__("<a>View backup details</a>.","jetpack"),{a:E().createElement("a",{href:(0,a.Z)("vaultpress-dashboard"),target:"_blank",rel:"noopener noreferrer"})}))}):t?this.renderLoading():T(e?{className:"jp-dash-item__is-inactive",status:n?"pro-inactive":"pro-uninstalled",content:(0,o.createInterpolateElement)(__("To automatically back up your entire site, please <a>install and activate</a> VaultPress.","jetpack"),{a:E().createElement("a",{href:(0,a.Z)("calypso-plugins-setup",{site:r,query:"only=backups"}),target:"_blank",rel:"noopener noreferrer"})})}:{className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:this.getJetpackBackupBanner()})}getRewindContent(){const{hasRealTimeBackups:e,isWoA:t,rewindStatus:n,siteRawUrl:s}=this.props,r=(e,t,n)=>E().createElement(l.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick(n)},t),c=e=>T({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(n){case"provisioning":return E().createElement(E().Fragment,null,c(__("We are configuring your site's backups.","jetpack")));case"awaiting_credentials":return E().createElement(E().Fragment,null,c(__("Enter your SSH, SFTP or FTP credentials to enable one-click site restores and faster backups","jetpack")),r((0,a.Z)("jetpack-backup-dash-credentials",{site:s}),__("Enter credentials","jetpack"),"enter-credentials-link"));case"active":{let n=__("We are backing up your site daily.","jetpack");return e&&(n=(0,o.createInterpolateElement)(__("Every change you make will be backed up, in real-time, as you edit your site. <ExternalLink>Learn More</ExternalLink>","jetpack"),{ExternalLink:E().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-blog-realtime-mechanics"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("realtime-learn-more-link")})})),E().createElement(E().Fragment,null,c(n),E().createElement(l.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom"},E().createElement("div",{className:"jp-dash-item__action-links"},E().createElement("a",{href:t?(0,a.Z)("calypso-backups",{site:s}):(0,a.Z)("my-jetpack-manage-backup",{site:s}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("backups-link")},__("View your site's backups","jetpack")),E().createElement("a",{href:(0,a.Z)("calypso-activity-log",{site:s,query:"group=rewind"}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("restore-points-link")},__("View your most recent restore points","jetpack")))))}}return!1}renderLoading(){return T({className:"",status:"",content:__("Loading…","jetpack")})}renderFromRewindStatus(){return this.props.hasBackups&&"unavailable"===this.props.rewindStatus&&"site_new"===this.props.rewindStatusReason?T({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:__("Your site is new and may still be preparing backup configuration.","jetpack")}):"unavailable"===this.props.rewindStatus||""===this.props.rewindStatus?this.getVPContent():E().createElement("div",{className:"jp-dash-item"},this.getRewindContent())}renderGettingStartedVideo(){return"awaiting_credentials"!==this.props.rewindStatus?null:E().createElement(N.Z,null)}render(){return this.props.showBackups?this.props.isOfflineMode?E().createElement("div",{className:"jp-dash-item__interior"},T({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})):(this.props.isFetchingSite&&this.renderLoading(),E().createElement("div",null,E().createElement(u.Z,null),this.renderFromRewindStatus(),this.renderGettingStartedVideo())):null}}r()(O,"propTypes",{siteRawUrl:v().string.isRequired,getOptionValue:v().func.isRequired,rewindStatus:v().string.isRequired,rewindStatusReason:v().string.isRequired,trackUpgradeButtonView:v().func,vaultPressData:v().any.isRequired,hasBackups:v().bool.isRequired,hasRealTimeBackups:v().bool.isRequired,isOfflineMode:v().bool.isRequired,isVaultPressInstalled:v().bool.isRequired,isWoA:v().bool.isRequired,upgradeUrl:v().string.isRequired,hasConnectedOwner:v().bool.isRequired}),r()(O,"defaultProps",{siteRawUrl:"",getOptionValue:g.noop,vaultPressData:"",isOfflineMode:!1,isVaultPressInstalled:!1,isWoA:!1,rewindStatus:"",trackUpgradeButtonView:g.noop}),t.Z=(0,y.$j)((e=>({vaultPressData:(0,b.XK)(e),isOfflineMode:(0,w.Ex)(e),isVaultPressInstalled:(0,S.P8)(e,"vaultpress/vaultpress.php"),showBackups:(0,C.xR)(e),upgradeUrl:(0,f.z)(e,"backup"),hasConnectedOwner:(0,w.it)(e),isFetchingSite:(0,j._5)(e),hasBackups:(0,j.CV)(e,"backups"),hasRealTimeBackups:(0,j.CV)(e,"real-time-backups"),partnerCoupon:(0,C.DV)(e),isWoA:(0,C.Pw)(e)})),(e=>({connectUser:()=>e((0,w.bL)())})))(O)},6438:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(5609),o=n(9307),c=n(5736),l=n(8154),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(4072);const __=c.__,_x=c._x,g=["jetpack-boost/jetpack-boost.php","jetpack-boost-dev/jetpack-boost.php"];class f extends d.Component{render(){return m().createElement(l.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:h,pluginName:_x("Boost","The Jetpack Boost product name, without the Jetpack prefix","jetpack"),pluginFiles:g,pluginSlug:"jetpack-boost",pluginLink:this.props.siteAdminUrl+"admin.php?page=jetpack-boost",installOrActivatePrompt:(0,o.createInterpolateElement)(__("Improve your site’s performance and SEO in a few clicks with the free Jetpack Boost plugin.<br /><ExternalLink>Learn more</ExternalLink>","jetpack"),{ExternalLink:m().createElement(i.ExternalLink,{href:(0,a.Z)("stats-nudges-boost-learn")}),br:m().createElement("br",null)})})}}r()(f,"propTypes",{siteAdminUrl:u().string.isRequired}),t.Z=f},1475:function(e,t,n){"use strict";var s=n(9307),r=n(5736),a=n(7633),i=n(3255),o=n(7583),c=n(5060),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(9309),h=n(6300),g=n(9508);const __=r.__,_x=r._x;class f extends u.Component{siteConnection(){let e="";return this.props.isOfflineMode?e=d().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?d().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):d().createElement(c.Z,{icon:"globe",size:64}),d().createElement("div",{className:"jp-connection-settings__text"},__("Your site is in Offline Mode, so it can not be connected to WordPress.com.","jetpack"))):!0===this.props.siteConnectionStatus&&(e=d().createElement("div",null,d().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?d().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):d().createElement(c.Z,{icon:"globe",size:64}),d().createElement("div",{className:"jp-connection-settings__text"},__("Your site is connected to WordPress.com.","jetpack"),this.props.isConnectionOwner&&d().createElement("span",{className:"jp-connection-settings__is-owner"},d().createElement("br",null),d().createElement("em",null,__("You are the Jetpack owner.","jetpack"))))),this.props.userCanDisconnectSite&&d().createElement("div",{className:"jp-connection-settings__actions"},d().createElement(a.Z,{asLink:!0,autoOpenInDisconnectRoute:!0})))),e}userConnection(){const e=this.props.isConnectionOwner?null:d().createElement(a.Z,{asLink:!0,connectUser:!0,from:"connection-settings"});let t="";return this.props.isOfflineMode?d().createElement("div",{className:"jp-connection-settings__info"},this.props.userGravatar?d().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.userGravatar}):d().createElement(c.Z,{icon:"user",size:64}),d().createElement("div",{className:"jp-connection-settings__text"},__("The site is in Offline Mode, so you can not connect to WordPress.com.","jetpack"))):(t=this.props.isLinked?this.props.isFetchingUserData?__("Loading…","jetpack"):d().createElement("div",null,d().createElement("div",{className:"jp-connection-settings__info"},d().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.wpComConnectedUser.avatar}),d().createElement("div",{className:"jp-connection-settings__text"},(0,s.createInterpolateElement)((0,r.sprintf)(/* translators: Placeholder is the WordPress user login name. */
__("Connected as <span>%s</span>","jetpack"),this.props.wpComConnectedUser.login),{span:d().createElement("span",{className:"jp-connection-settings__username"})}),d().createElement("div",{className:"jp-connection-settings__email"},this.props.wpComConnectedUser.email))),d().createElement("div",{className:"jp-connection-settings__actions"},e)):d().createElement("div",null,d().createElement("div",{className:"jp-connection-settings__info"},__("Get the most out of Jetpack.","jetpack")),d().createElement("div",{className:"jp-connection-settings__actions"},e)),t)}render(){return d().createElement("div",null,d().createElement(o.Z,null),d().createElement("div",{className:"jp-at-a-glance__item-grid"},d().createElement("div",{className:"jp-at-a-glance__left"},d().createElement("div",{className:"jp-dash-item__interior"},d().createElement(i.Z,{className:"jp-connection-type",label:_x("Site connection","Dashboard widget header","jetpack")},this.siteConnection()))),this.props.userCanConnectAccount&&d().createElement("div",{className:"jp-at-a-glance__right"},d().createElement("div",{className:"jp-dash-item__interior"},d().createElement(i.Z,{className:"jp-connection-type",label:_x("Account connection","Dashboard widget header","jetpack")},this.userConnection())))))}}f.propTypes={siteConnectionStatus:p().any.isRequired,isOfflineMode:p().bool.isRequired,userCanDisconnectSite:p().bool.isRequired,isConnectionOwner:p().bool.isRequired,isLinked:p().bool.isRequired,userGravatar:p().any.isRequired,username:p().any.isRequired},t.Z=(0,m.$j)((e=>({siteConnectionStatus:(0,h.Gz)(e),isOfflineMode:(0,h.Ex)(e),userCanDisconnectSite:(0,g.WB)(e),userCanConnectAccount:(0,g.n0)(e),userGravatar:(0,g.KF)(e),username:(0,g.Ms)(e),isConnectionOwner:(0,h.QM)(e),isLinked:(0,h.BU)(e),siteIcon:(0,g.ze)(e),isFetchingUserData:(0,h.Dd)(e),wpComConnectedUser:(0,h.tN)(e)})))(f)},6408:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(5609),o=n(9307),c=n(5736),l=n(8154),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(7436);const __=c.__,_x=c._x,g=["zero-bs-crm/ZeroBSCRM.php"];class f extends d.Component{render(){return m().createElement(l.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:h,pluginName:_x("CRM","The Jetpack CRM product name, without the Jetpack prefix","jetpack"),pluginFiles:g,pluginSlug:"zero-bs-crm",pluginLink:this.props.siteAdminUrl+"admin.php?page=zerobscrm-dash",installOrActivatePrompt:(0,o.createInterpolateElement)(__("Sell more and get more leads with the free Jetpack CRM plugin built specifically for WordPress.<br /><ExternalLink>Learn more</ExternalLink>","jetpack"),{ExternalLink:m().createElement(i.ExternalLink,{href:(0,a.Z)("stats-nudges-crm-learn")}),br:m().createElement("br",null)})})}}r()(f,"propTypes",{siteAdminUrl:u().string.isRequired}),t.Z=f},6288:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(1862),c=n(5736),l=n(9552),p=n(298),u=n(6551),d=n(9270),m=n(7679),h=n(2353),g=n(4069),f=n(2819),k=n(9196),v=n.n(k),_=n(9309),E=n(6300),y=n(9508),b=n(416),w=n(5080),C=n(4341),j=n(1248),S=n(2792),N=n(6438),x=n(1475),T=n(6408),O=n(1806),P=n(3823),A=n(786),M=n(9260),Z=n(9441),R=n(6158),L=n(242),U=n(6354);const __=c.__;class z extends k.Component{constructor(){super(...arguments),i()(this,"trackSecurityClick",(()=>g.Z.tracks.recordJetpackClick("aag_manage_security_wpcom"))),i()(this,"trackUpgradeButtonView",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return()=>g.Z.tracks.recordEvent("jetpack_wpa_aag_upgrade_button_view",{feature:e})}))}render(){const e={updateOptions:this.props.updateOptions,getOptionValue:this.props.getOptionValue,isUpdating:this.props.isUpdating,multisite:this.props.multisite},t={siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl},n=v().createElement(l.Z,{label:__("Security","jetpack"),settingsPath:this.props.userCanManageModules?"#security":void 0,externalLink:this.props.isOfflineMode||!this.props.userCanManageModules?"":__("Manage security settings","jetpack"),externalLinkPath:this.props.isOfflineMode?"":"#/security",externalLinkClick:this.trackSecurityClick}),s=v().createElement("div",null,v().createElement(l.Z,{label:__("Connections","jetpack"),className:"jp-dash-section-header__connections"}),v().createElement(x.Z,null)),a=(0,f.get)(this.props.rewindStatus,["state"],""),i=(0,f.get)(this.props.rewindStatus,["reason"],""),c=[],h=!this.props.fetchingScanStatus&&"vp_active_on_site"===this.props.scanStatus?.reason;if(this.props.isAtomicSite||this.props.multisite&&!h||c.push(v().createElement(M.Z,r()({},e,t,{trackUpgradeButtonView:this.trackUpgradeButtonView("scan")}))),c.push(v().createElement(j.Z,r()({},t,{trackUpgradeButtonView:this.trackUpgradeButtonView("akismet")}))),"inactive"!==this.props.getModuleOverride("protect")&&c.push(v().createElement(A.Z,e)),"inactive"!==this.props.getModuleOverride("monitor")&&c.push(v().createElement(O.Z,e)),"active"===a&&c.unshift(v().createElement(C.Z,r()({},e,{siteRawUrl:this.props.siteRawUrl}))),this.props.userCanManageModules){const h=!this.props.multisite&&!this.props.isOfflineMode&&this.props.hasConnectedOwner,f=[];"inactive"!==this.props.getModuleOverride("photon")&&f.push(v().createElement(P.Z,e)),"inactive"!==this.props.getModuleOverride("search")&&f.push(v().createElement(Z.Z,r()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("search")}))),"inactive"!==this.props.getModuleOverride("videopress")&&f.push(v().createElement(U.Z,r()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("videopress")}))),this.props.userCanManagePlugins&&f.push(v().createElement(N.Z,{siteAdminUrl:this.props.siteAdminUrl}),v().createElement(T.Z,{siteAdminUrl:this.props.siteAdminUrl}));const k=!this.props.isOfflineMode&&this.props.partnerCoupon&&v().createElement(o.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:g.Z}),_=h?v().createElement("div",{className:"jp-at-a-glance__pinned-bundle"},v().createElement(R.Z,null),v().createElement(S.Z,r()({},e,{siteRawUrl:this.props.siteRawUrl,rewindStatus:a,rewindStatusReason:i,trackUpgradeButtonView:this.trackUpgradeButtonView("backups")}))):null;return v().createElement("div",{className:"jp-at-a-glance"},v().createElement("h1",{className:"screen-reader-text"},__("Jetpack At A Glance Dashboard","jetpack")),v().createElement(m.Z,null),v().createElement(d.Z,null),v().createElement(p.Z,null),v().createElement(u.Z,null),k,v().createElement(L.Z,r()({},e,t)),v().createElement(I,{header:n,cards:c,pinnedBundle:_}),v().createElement(I,{header:v().createElement(l.Z,{label:__("Performance and Growth","jetpack")}),cards:f}),s)}let k="";this.props.userCanViewStats&&(k=v().createElement(L.Z,r()({},e,t)));const _=v().createElement(A.Z,e),E=this.props.getOptionValue("protect")&&this.props.hasConnectedOwner;return this.props.userIsSubscriber?v().createElement("div",null,k,s):v().createElement("div",null,k,E&&n,E&&_,s)}}t.Z=(0,_.$j)((e=>({userCanManageModules:(0,y.pK)(e),userCanViewStats:(0,y.px)(e),userCanManagePlugins:(0,y.ic)(e),userIsSubscriber:(0,y.dc)(e),isAtomicSite:(0,y.Ug)(e),isOfflineMode:(0,E.Ex)(e),getModuleOverride:t=>(0,b.Qy)(e,t),multisite:(0,y.TA)(e),scanStatus:(0,w.C8)(e),fetchingScanStatus:(0,w.gE)(e),hasConnectedOwner:(0,E.it)(e),connectionStatus:(0,E.Zp)(e),partnerCoupon:(0,y.DV)(e),pluginBaseUrl:(0,y.wB)(e),tracksUserData:(0,y.hv)(e),apiRoot:(0,y.yB)(e),apiNonce:(0,y.VY)(e),registrationNonce:(0,y.H$)(e)})))((0,h.u)(z));const I=e=>{let{cards:t=[],header:n,pinnedBundle:s}=e;return t.length?v().createElement(v().Fragment,null,n,s,(0,f.chunk)(t,2).map(((e,t)=>{let[n,s]=e;return v().createElement("div",{className:"jp-at-a-glance__item-grid",key:`card-${t}`},v().createElement("div",{className:"jp-at-a-glance__left"},n),v().createElement("div",{className:"jp-at-a-glance__right"},s))}))):null}},1806:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(7506),l=n(3255),p=n(4069),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m),g=n(9309),f=n(6300),k=n(416);const __=o.__;class v extends m.Component{constructor(){super(...arguments),r()(this,"activateAndTrack",(()=>{p.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"monitor",toggled:"on"}),this.props.updateOptions({monitor:!0})})),r()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Downtime monitoring","jetpack"),t={text:__("Jetpack’s downtime monitor will continuously monitor your site and alert you the moment that downtime is detected.","jetpack"),link:(0,a.Z)("jetpack-support-monitor")};if(this.props.getOptionValue("monitor")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner)return h().createElement(l.Z,{label:e,module:"monitor",support:t,status:"is-working"},h().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is monitoring your site. If we think your site is down, you will receive an email.","jetpack")));const n=this.props.hasConnectedOwner?(0,i.createInterpolateElement)(__("<Button>Activate Monitor</Button> to receive email notifications if your site goes down.","jetpack"),{Button:h().createElement(c.Z,{className:"jp-link-button",onClick:this.activateAndTrack})}):__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack");return h().createElement(l.Z,{label:e,module:"monitor",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},h().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode.","jetpack"):n),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&h().createElement("p",{className:"jp-dash-item__description jp-dash-item__connect"},(0,i.createInterpolateElement)(__("<Button>Connect your WordPress.com</Button> account to use this feature.","jetpack"),{Button:h().createElement(c.Z,{className:"jp-link-button",onClick:this.connect})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(v,"propTypes",{isOfflineMode:d().bool.isRequired,isModuleAvailable:d().bool.isRequired,hasConnectedOwner:d().bool.isRequired}),t.Z=(0,g.$j)((e=>({isOfflineMode:(0,f.Ex)(e),isModuleAvailable:(0,k.v1)(e,"monitor"),hasConnectedOwner:(0,f.it)(e)})),(e=>({connectUser:()=>e((0,f.bL)())})))(v)},3823:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(7506),l=n(3255),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(9309),g=n(6300),f=n(416);const __=o.__;class k extends d.Component{constructor(){super(...arguments),r()(this,"activatePhoton",(()=>this.props.updateOptions({photon:!0})))}getContent(){const e=__("Image Accelerator","jetpack"),t={text:__("Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.","jetpack"),link:(0,a.Z)("jetpack-support-photon")};return this.props.getOptionValue("photon")?m().createElement(l.Z,{label:e,module:"photon",support:t,status:"is-working"},m().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"))):m().createElement(l.Z,{label:e,module:"photon",support:t,className:"jp-dash-item__is-inactive"},m().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,i.createInterpolateElement)(__("<Button>Activate</Button> to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"),{Button:m().createElement(c.Z,{className:"jp-link-button",onClick:this.activatePhoton})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(k,"propTypes",{isOfflineMode:u().bool.isRequired,isModuleAvailable:u().bool.isRequired}),t.Z=(0,h.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isModuleAvailable:(0,f.v1)(e,"photon")})))(k)},786:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(2947),o=n(9307),c=n(5736),l=n(7506),p=n(3255),u=n(4681),d=n(5162),m=n.n(d),h=n(9196),g=n.n(h),f=n(9309),k=n(7296),v=n(6300),_=n(416);const __=c.__;class E extends h.Component{constructor(){super(...arguments),r()(this,"activateProtect",(()=>this.props.updateOptions({protect:!0}))),r()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Brute force protection","jetpack"),t={text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,a.Z)("jetpack-support-protect")};if(this.props.getOptionValue("protect")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner){const n=this.props.protectCount;return!1===n||"0"===n||"N/A"===n?g().createElement(p.Z,{label:e,module:"protect",support:t,status:"is-working",className:"jp-dash-item__recently-activated"},g().createElement("div",{className:"jp-dash-item__recently-activated-lower"},g().createElement(u.Z,null),g().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is actively blocking malicious login attempts. Data will display here soon!","jetpack")))):g().createElement(p.Z,{label:e,module:"protect",support:t,status:"is-working"},g().createElement("h2",{className:"jp-dash-item__count"},(0,i.Z)(n)),g().createElement("p",{className:"jp-dash-item__description"},__("Total malicious attacks blocked on your site.","jetpack")))}return g().createElement(p.Z,{label:e,module:"protect",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},g().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode&&__("Unavailable in Offline Mode","jetpack"),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&(0,o.createInterpolateElement)(__("<Button>Connect your WordPress.com</Button> account to keep your site protected from malicious sign in attempts.","jetpack"),{Button:g().createElement(l.Z,{className:"jp-link-button",onClick:this.connect})}),!this.props.isOfflineMode&&this.props.hasConnectedOwner&&(0,o.createInterpolateElement)(__("<Button>Activate Protect</Button> to keep your site protected from malicious sign in attempts.","jetpack"),{Button:g().createElement(l.Z,{className:"jp-link-button",onClick:this.activateProtect})})))}render(){return this.props.isModuleAvailable&&g().createElement("div",{className:"jp-dash-item__interior"},g().createElement(u.Z,null),this.getContent())}}r()(E,"propTypes",{isOfflineMode:m().bool.isRequired,protectCount:m().any.isRequired,isModuleAvailable:m().bool.isRequired,hasConnectedOwner:m().bool.isRequired,connectUser:m().func.isRequired}),t.Z=(0,f.$j)((e=>({protectCount:(0,k.xz)(e),isOfflineMode:(0,v.Ex)(e),isModuleAvailable:(0,_.v1)(e,"protect"),hasConnectedOwner:(0,v.it)(e)})),(e=>({connectUser:()=>e((0,v.bL)())})))(E)},9260:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(4743),i=n(6895),o=n(2947),c=n(9307),l=n(5736),p=n(7506),u=n(5799),d=n(3255),m=n(1549),h=n(5733),g=n(4069),f=n(9584),k=n(2819),v=n(1137),_=n(5162),E=n.n(_),y=n(9196),b=n.n(y),w=n(9309),C=n(7296),j=n(6300),S=n(9508),N=n(5080),x=n(3002),T=n(1372);const __=l.__,_n=l._n,O=e=>b().createElement(d.Z,{label:__("Scan","jetpack"),module:e.feature||"scan",support:{text:__("Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.","jetpack"),link:(0,i.Z)("jetpack-support-security")},className:e.className||"",status:e.status||"",pro:!0,overrideContent:e.overrideContent},(0,k.isArray)(e.content)?e.content.map(((e,t)=>b().createElement(b().Fragment,{key:t},e))):b().createElement("p",{className:"jp-dash-item__description"},e.content)),P=e=>O({className:"jp-dash-item__is-active",status:"is-working",content:e});class A extends y.Component{constructor(){super(...arguments),r()(this,"trackScansClick",(()=>{g.Z.tracks.recordJetpackClick({type:"scans-link",target:"at-a-glance",feature:"scans"})})),r()(this,"onActivateVaultPressClick",(()=>(g.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"vaultpress"}),this.props.createNotice("is-info",__("Activating VaultPress…","jetpack"),{id:"activating-vaultpress"}),a.ZP.activateVaultPress().then((()=>{this.props.removeNotice("activating-vaultpress"),window.location.href=this.props.siteAdminUrl+"admin.php?page=vaultpress"})).catch((()=>{this.props.removeNotice("activating-vaultpress"),this.props.createNotice("is-error",__("Could not activate VaultPress.","jetpack"),{id:"activate-vaultpress-failure"})})),!1)))}getVPContent(){const{vaultPressData:e,hasConnectedOwner:t}=this.props;if("not_registered"===e?.code)return O({className:"jp-dash-item__is-inactive",status:"not-registered",content:(0,c.createInterpolateElement)(__("VaultPress is having difficulties scanning. Please make sure your <keyLink>registration key is entered</keyLink>. If you require further assistance please <supportLink>contact support</supportLink>.","jetpack"),{keyLink:b().createElement("a",{href:this.props.siteAdminUrl+"admin.php?page=vaultpress"}),supportLink:b().createElement("a",{href:(0,i.Z)("vaultpress-help")})})});if((0,k.get)(e,["data","features","security"],!1)){const t=this.props.scanThreats;if(0!==t)return this.renderThreatsFound(t,(0,i.Z)("vaultpress-dashboard"));if("success"===e.code)return O({status:"is-working",content:__("No threats found, you're good to go!","jetpack")})}if(this.props.fetchingSiteData)return O({content:__("Loading…","jetpack")});const n=!1!==this.props.sitePlan,s=["is-premium-plan","is-business-plan"].includes(this.props.planClass);return n&&s?this.props.isVaultPressInstalled?O({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:[b().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,c.createInterpolateElement)(__("VaultPress is not active, <Button>please activate</Button> to enable automatic scanning for security for threats.","jetpack"),{Button:b().createElement(p.Z,{className:"jp-link-button",onClick:this.onActivateVaultPressClick})}))]}):O({className:"jp-dash-item__is-inactive",status:"pro-uninstalled",content:[b().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,c.createInterpolateElement)(__("VaultPress is not installed, <a>please install</a> to enable automatic scanning for security for threats.","jetpack"),{a:b().createElement("a",{href:(0,i.Z)("calypso-plugins-vaultpress"),target:"_blank",rel:"noopener noreferrer"})}))]}):O({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:t?this.getUpgradeBanner():this.getConnectBanner()})}getUpgradeBanner(){return b().createElement(h.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Purchase Jetpack Scan to protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",href:this.props.upgradeUrl,eventFeature:"scan",path:"dashboard",plan:(0,f.o2)(f.eM),trackBannerDisplay:this.props.trackUpgradeButtonView})}getConnectBanner(){return b().createElement(h.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade to Jetpack Scan and protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"scan",path:"dashboard",plan:(0,f.o2)(f.eM)})}renderAction(e,t){return this.props.isAtomicSite?null:b().createElement(u.Z,{compact:!0,key:"manage-scan",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackScansClick},t)}renderThreatsFound(e,t){return b().createElement(b().Fragment,null,P([b().createElement("h2",{className:"jp-dash-item__count is-alert"},(0,o.Z)(e)),b().createElement("p",{className:"jp-dash-item__description"},(0,c.createInterpolateElement)(_n("Security threat found. <a>Click here</a> to fix them immediately.","Security threats found. <a>Click here</a> to fix them immediately.",e,"jetpack"),{a:b().createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"})}))]),this.renderAction(t,__("View security scan details","jetpack")))}getRewindContent(){const{scanStatus:e,siteRawUrl:t}=this.props,n=(0,i.Z)("calypso-scanner",{site:t});if(Array.isArray(e.threats)&&e.threats.length>0)return this.renderThreatsFound(e.threats.length,n);if(e.credentials&&0===e.credentials.length)return b().createElement(b().Fragment,null,P(__("Enter your SSH, SFTP, or FTP credentials to enable one-click fixes","jetpack")),this.renderAction((0,i.Z)("jetpack-scan-dash-credentials",{site:t}),__("Enter credentials","jetpack")));switch(e.state){case"provisioning":return b().createElement(b().Fragment,null,P(__("We are configuring your site protection.","jetpack")));case"idle":case"scanning":return b().createElement(b().Fragment,null,P(__("No security threats found. Your site will continue to be monitored for future threats.","jetpack")),this.renderAction((0,i.Z)("calypso-scanner",{site:t}),__("View security scan details","jetpack")))}return!1}getUpgradeContent(){const{hasConnectedOwner:e}=this.props;return O({className:"jp-dash-item__is-inactive",overrideContent:e?this.getUpgradeBanner():this.getConnectBanner()})}getContent(){const{scanStatus:e}=this.props;return e.state&&"unavailable"!==e.state?b().createElement("div",{className:"jp-dash-item"},this.getRewindContent()):"vp_active_on_site"===e.reason?this.getVPContent():this.getUpgradeContent()}render(){if(!this.props.showBackups)return null;if(this.props.isOfflineMode)return O({className:"jp-dash-item__is-inactive",content:__("Unavailable in Offline Mode.","jetpack")});const e=this.props.fetchingScanStatus||this.props.fetchingVaultPressData;return b().createElement("div",null,e?O({content:__("Loading…","jetpack")}):this.getContent())}}r()(A,"propTypes",{siteRawUrl:E().string.isRequired,siteAdminUrl:E().string.isRequired,trackUpgradeButtonView:E().func,vaultPressData:E().any.isRequired,scanThreats:E().any.isRequired,sitePlan:E().object.isRequired,isOfflineMode:E().bool.isRequired,isVaultPressInstalled:E().bool.isRequired,fetchingSiteData:E().bool.isRequired,upgradeUrl:E().string.isRequired,hasConnectedOwner:E().bool.isRequired}),r()(A,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",vaultPressData:"",scanThreats:0,sitePlan:"",isOfflineMode:!1,isVaultPressInstalled:!1,fetchingSiteData:!1,trackUpgradeButtonView:k.noop}),t.Z=(0,w.$j)((e=>{const t=(0,x.UL)(e);return{isAtomicSite:(0,S.Ug)(e),isOfflineMode:(0,j.Ex)(e),scanStatus:(0,N.C8)(e),fetchingScanStatus:(0,N.gE)(e),isVaultPressInstalled:(0,T.P8)(e,"vaultpress/vaultpress.php"),fetchingVaultPressData:(0,C.P_)(e),vaultPressData:(0,C.XK)(e),scanThreats:(0,C._R)(e),fetchingSiteData:(0,x._5)(e),sitePlan:t,planClass:(0,f.sc)((0,k.get)(t,"product_slug","")),showBackups:(0,S.xR)(e),upgradeUrl:(0,v.z)(e,"scan"),hasConnectedOwner:(0,j.it)(e)}}),(e=>({createNotice:m.iI,removeNotice:m.qq,connectUser:()=>e((0,j.bL)())})))(A)},9441:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(7506),l=n(5799),p=n(3255),u=n(5733),d=n(4069),m=n(9584),h=n(2819),g=n(1137),f=n(5162),k=n.n(f),v=n(9196),_=n.n(v),E=n(9309),y=n(6300),b=n(3002);const __=o.__,w=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),C=__("Customize your Search experience.","jetpack"),j=__("Search supports many customizations. ","jetpack"),S=e=>_().createElement(p.Z,{label:__("Search","jetpack"),module:"search",support:{text:j,link:(0,a.Z)("jetpack-support-search")},className:e.className,status:e.status,isModule:e.pro_inactive,pro:!0,overrideContent:e.overrideContent},_().createElement("p",{className:"jp-dash-item__description"},e.content));class N extends v.Component{constructor(){super(...arguments),r()(this,"trackConfigureSearchLink",(()=>{d.Z.tracks.recordJetpackClick({type:"configure-search-link",target:"at-a-glance",feature:"search"})})),r()(this,"trackAddSearchWidgetLink",(()=>{d.Z.tracks.recordJetpackClick({type:"search-widget-link",target:"at-a-glance",feature:"search"})})),r()(this,"activateSearch",(()=>{this.props.updateOptions({search:!0,...this.props.hasInstantSearch?{instant_search_enabled:!0}:{}})}))}render(){return this.props.isFetching?S({status:"",content:__("Loading…","jetpack")}):this.props.isOfflineMode?S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,content:__("Unavailable in Offline Mode","jetpack")}):this.props.hasClassicSearch||this.props.hasInstantSearch?this.props.getOptionValue("search")?_().createElement("div",{className:"jp-dash-item"},_().createElement(p.Z,{label:__("Search","jetpack"),module:"search",support:{text:j,link:(0,a.Z)("jetpack-support-search")},className:"jp-dash-item__is-active",isModule:!1,pro:!0},_().createElement("p",{className:"jp-dash-item__description"},__("Jetpack Search is powering search on your site.","jetpack"))),this.props.hasInstantSearch?_().createElement(l.Z,{compact:!0,className:"jp-search-config-aag",href:"admin.php?page=jetpack-search-configure",onClick:this.trackConfigureSearchLink},C):_().createElement(l.Z,{compact:!0,className:"jp-search-config-aag",href:"customize.php?autofocus[panel]=widgets",onClick:this.trackAddSearchWidgetLink},__("Add Search (Jetpack) Widget","jetpack"))):S({className:"jp-dash-item__is-inactive",pro_inactive:!1,content:(0,i.createInterpolateElement)(__("<Button>Activate</Button> to help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),{Button:_().createElement(c.Z,{className:"jp-link-button",onClick:this.activateSearch})})}):S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,overrideContent:this.props.hasConnectedOwner?_().createElement(u.ZP,{callToAction:(0,g.I)()?__("Start for free","jetpack"):__("Upgrade","jetpack"),title:w,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"search",path:"dashboard",plan:(0,m.o2)(m.T5),icon:"search",trackBannerDisplay:this.props.trackUpgradeButtonView}):_().createElement(u.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get Jetpack Search, which helps your visitors instantly find the right content – right when they need it.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"search",path:"dashboard",plan:(0,m.o2)(m.T5),icon:"search"})})}}r()(N,"propTypes",{getOptionValue:k().func.isRequired,trackUpgradeBanner:k().func,isOfflineMode:k().bool.isRequired,hasConnectedOwner:k().bool.isRequired}),r()(N,"defaultProps",{getOptionValue:h.noop,isOfflineMode:!1,trackUpgradeBanner:h.noop}),t.Z=(0,E.$j)((e=>({isOfflineMode:(0,y.Ex)(e),isFetching:(0,b.GR)(e),hasClassicSearch:(0,b.CV)(e,"search"),hasInstantSearch:(0,b.CV)(e,"instant-search"),upgradeUrl:(0,g.z)(e,"search"),hasConnectedOwner:(0,y.it)(e)})),(e=>({connectUser:()=>e((0,y.bL)())})))(N)},6158:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(3396),i=n(6895),o=n(5609),c=n(9307),l=n(5736),p=n(7506),u=n(5799),d=n(4069),m=n(1137),h=n(9196),g=n.n(h),f=n(9309),k=n(3002),v=n(118);const __=l.__,_x=l._x;class _ extends h.Component{constructor(){super(...arguments),r()(this,"trackUpgradeClick",(()=>{d.Z.tracks.recordJetpackClick({page:"aag",target:"upgrade-button",feature:"security"})}))}renderFeatures(){const e=[{id:"backup",text:_x("VaultPress Backup","The Jetpack VaultPress Backup product name, without the Jetpack prefix","jetpack")},{id:"scan",text:_x("Scan","The Jetpack Scan product name, without the Jetpack prefix","jetpack")},{id:"anti-spam",text:__("Akismet Anti-spam","jetpack")}];return g().createElement("div",{className:"dash-security-bundle--content-info-features"},e.map((e=>{let{id:t,text:n}=e;const s=(0,a.VS)(t);return g().createElement("div",{key:t,id:t,className:"dash-security-bundle--content-info-features-single-feature"},g().createElement(s,{size:16}),g().createElement("p",null,n))})))}render(){const{hasActiveSecurityPurchase:e,isFetchingSitePurchases:t}=this.props;return e||t?null:g().createElement(u.Z,{className:"dash-security-bundle"},g().createElement("div",{className:"dash-security-bundle--icon"},g().createElement("img",{src:v,alt:__("A shield and check mark representing the Jetpack Security Bundle","jetpack")})),g().createElement("div",{className:"dash-security-bundle--content"},g().createElement("div",{className:"dash-security-bundle--content-info"},g().createElement("h3",null,__("Comprehensive Site Security","jetpack")),g().createElement("p",null,(0,c.createInterpolateElement)(__("Total protection for your site, including VaultPress Backup, Scan, and Akismet Anti-spam. <ExternalLink>Learn More</ExternalLink>","jetpack"),{ExternalLink:g().createElement(o.ExternalLink,{href:(0,i.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),this.renderFeatures()),g().createElement("div",{className:"dash-security-bundle--content-cta"},g().createElement(p.Z,{className:"dash-security-bundle--content-cta-button",href:this.props.productDescriptionUrl,onClick:this.trackUpgradeClick,compact:!0,primary:!0},__("Upgrade","jetpack")))))}}t.Z=(0,f.$j)((e=>({hasActiveSecurityPurchase:(0,k.VL)(e),isFetchingSitePurchases:(0,k.GR)(e),productDescriptionUrl:(0,m.z)(e,"security")})))(_)},3361:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(2947),i=n(6895),o=n(5609),c=n(9771),l=n(9307),p=n(5736),u=n(5235),d=n.n(u),m=n(7506),h=n(7633),g=n(4069),f=n(5162),k=n.n(f),v=n(9196),_=n.n(v),E=n(9309),y=n(9508);const __=p.__,_x=p._x,_n=p._n;class b extends v.Component{constructor(){super(...arguments),r()(this,"trackViewDetailedStats",(()=>g.Z.tracks.recordJetpackClick("view_detailed_stats"))),r()(this,"trackViewWpcomStats",(()=>g.Z.tracks.recordJetpackClick("view_wpcom_stats")))}statsBottom(){let e;return e="object"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}render(){const e=this.statsBottom()[0];return _().createElement("div",null,_().createElement("div",{className:"jp-at-a-glance__stats-summary"},_().createElement("div",{className:"jp-at-a-glance__stats-summary-today"},_().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Views today","Referring to a number of page views","jetpack")),_().createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),_().createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},_().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Best overall day","Referring to a number of page views","jetpack")),_().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,p.sprintf)(/* Translators: placeholder is a number of views. */
_n("%s View","%s Views",e.bestDay.count,"jetpack"),(0,a.Z)(e.bestDay.count))),_().createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,c.dateI18n)(this.props.dateFormat,e.bestDay.day))),_().createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},_().createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},_().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time views","Referring to a number of page views","jetpack")),_().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,a.Z)(e.allTime.views))),_().createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},_().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time comments","Referring to a number of comments","jetpack")),_().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,a.Z)(e.allTime.comments))))),_().createElement("div",{className:"jp-at-a-glance__stats-cta"},_().createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),_().createElement("div",{className:"jp-at-a-glance__stats-ctas"},!this.props.isWoASite&&(0,l.createInterpolateElement)(__("<button>View detailed stats</button>","jetpack"),{button:_().createElement(m.Z,{href:this.props.siteAdminUrl+"admin.php?page=stats",onClick:this.trackViewDetailedStats,primary:!0})}),!this.props.isLinked&&this.props.userCanConnectAccount&&_().createElement(h.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account for more metrics","jetpack")}),this.props.isLinked&&!this.props.isOdysseyStatsEnabled&&(0,l.createInterpolateElement)(__("<ExternalLink>View on WordPress.com</ExternalLink>","jetpack"),{ExternalLink:_().createElement(o.ExternalLink,{onClick:this.trackViewWpcomStats,href:(0,i.Z)("calypso-stats-insights",{site:this.props.siteRawUrl}),rel:"noopener noreferrer",target:"_blank",className:d()("jp-at-a-glance__stats-ctas-wpcom-stats",this.props.className)})}))))}}b.propTypes={siteRawUrl:k().string.isRequired,siteAdminUrl:k().string.isRequired,statsData:k().object.isRequired,isLinked:k().bool.isRequired,dateFormat:k().string.isRequired},b.defaultProps={siteRawUrl:"",siteAdminUrl:"",statsData:{},isLinked:!1,dateFormat:"F j, Y"},t.Z=(0,E.$j)((e=>({isOdysseyStatsEnabled:(0,y.ij)(e),isWoASite:(0,y.Pw)(e),userCanConnectAccount:(0,y.n0)(e)})))(b)},242:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(800),i=n(6895),o=n(2947),c=n(5609),l=n(9771),p=n(9307),u=n(5736),d=n(7506),m=n(5799),h=n(3068),g=n(9552),f=n(9429),k=n(9224),v=n(4069),_=n(2819),E=n(5162),y=n.n(E),b=n(9196),w=n.n(b),C=n(9309),j=n(7296),S=n(6300),N=n(9508),x=n(416),T=n(3230),O=n(3361);const __=u.__;class P extends b.Component{constructor(e){super(e),r()(this,"dismissCard",(()=>{this.setState({emptyStatsDismissed:!0}),this.props.updateOptions({dismiss_empty_stats_card:!0})})),r()(this,"activateStats",(e=>{this.props.updateOptions({stats:!0}),e.preventDefault()})),r()(this,"switchToDay",(e=>{this.switchTo("day"),e.preventDefault()})),r()(this,"switchToWeek",(e=>{this.switchTo("week"),e.preventDefault()})),r()(this,"switchToMonth",(e=>{this.switchTo("month"),e.preventDefault()})),this.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed}}barClick(e){e.data.link&&(v.Z.tracks.recordJetpackClick("stats_bar"),window.open(e.data.link,"_blank"))}statsChart(e){const t=this.props,n=[];let s=0;const/* translators: short date format, such as: Jan 12. */
r=__("M j","jetpack"),
/* translators: long date format, such as: January 12th. */
a=__("F jS","jetpack"),
/* translators: long month/year format, such as: January, 2021. */
c=__("F Y","jetpack");return"object"!=typeof t.statsData[e]?{chartData:n,totalViews:!1}:((0,_.forEach)(t.statsData[e].data,(function(p){const d=p[1];let m=p[0],h="",g="";s+=d,"day"===e?(h=(0,l.dateI18n)(r,m),g=(0,l.dateI18n)(a,m)):"week"===e?(m=m.replace(/W/g,"-"),h=(0,l.dateI18n)(r,m),g=(0,u.sprintf)(/* translators: placeholder is a date. */
__("Week of %s","jetpack"),(0,l.dateI18n)(a,m))):"month"===e&&(h=(0,l.dateI18n)("M",m),g=(0,l.dateI18n)(c,m)),n.push({label:h,value:d,nestedValue:null,className:"statsChartbar",data:{link:(0,i.Z)(`calypso-stats-${e}`,{site:t.siteRawUrl,query:`startDate=${m}`})},tooltipData:[{label:g,value:(0,u.sprintf)(/* translators: placeholder is a number */
__("Views: %s","jetpack"),(0,o.Z)(d)),className:"tooltip class"},{label:__("Click to view Jetpack Stats.","jetpack")}]})})),{chartData:n,totalViews:s})}statsErrors(){return(0,_.get)(this.props.statsData,["general","errors"],!1)}renderStatsChart(e){return w().createElement("div",null,w().createElement("div",{className:"jp-at-a-glance__stats-chart"},w().createElement(h.Z,{data:e,barClick:this.barClick}),0===e.length&&w().createElement(c.Spinner,null)),w().createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},w().createElement(O.Z,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,dateFormat:this.props.dateFormat})))}renderEmptyStatsCard(){return w().createElement(m.Z,{className:"jp-at-a-glance__stats-empty"},w().createElement("img",{src:a.hp+"stats-people.svg",width:"272",height:"144",alt:__("People studying site traffic charts","jetpack"),className:"jp-at-a-glance__stats-icon"}),w().createElement("p",null,__("Hello there! Jetpack Stats has been activated.","jetpack"),w().createElement("br",null),__("Just give us a little time to collect data so we can display it for you here.","jetpack")),w().createElement(d.Z,{onClick:this.dismissCard,primary:!0},__("Okay, got it!","jetpack")))}renderStatsArea(){if(this.props.getOptionValue("stats")){if(this.statsErrors())return w().createElement("div",{className:"jp-at-a-glance__stats-inactive"},w().createElement("span",null,(0,p.createInterpolateElement)(__("Something happened while loading Jetpack Stats. Please try again later or <a>view your stats now on WordPress.com</a>","jetpack"),{a:w().createElement("a",{href:(0,i.Z)("calypso-stats-insights",{site:this.props.siteRawUrl})})})));const e=this.statsChart(this.props.activeTab),t=e.chartData,n=e.totalViews,s=t.length&&n<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return w().createElement("div",{className:"jp-at-a-glance__stats-container"},s?this.renderEmptyStatsCard():this.renderStatsChart(t))}return w().createElement("div",{className:"jp-at-a-glance__stats-inactive"},w().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},w().createElement("img",{src:a.hp+"stats.svg",width:"60",height:"60",alt:__("Line chart overlaid on a bar chart","jetpack"),className:"jp-at-a-glance__stats-icon"})),w().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,p.createInterpolateElement)(__("<Button>Activate Jetpack Stats</Button> to see page views, likes, followers, subscribers, and more! <a1>Learn More</a1>","jetpack"),{Button:w().createElement(d.Z,{className:"jp-link-button",onClick:this.activateStats}),a1:w().createElement("a",{href:(0,i.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&w().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},w().createElement(d.Z,{onClick:this.activateStats,primary:!0},__("Activate","jetpack"))))}switchTo(e){v.Z.tracks.recordJetpackClick({target:"stats_switch_view",view:e}),this.props.switchView(e),this.props.fetchStatsData(e)}maybeShowStatsTabs(){return!(!1===this.statsChart(this.props.activeTab).totalViews&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed)&&(this.props.getOptionValue("stats")&&!this.statsErrors()?w().createElement("ul",{className:"jp-at-a-glance__stats-views"},w().createElement("li",{className:"jp-at-a-glance__stats-view"},w().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToDay,className:this.getClass("day")},__("Days","jetpack"))),w().createElement("li",{className:"jp-at-a-glance__stats-view"},w().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToWeek,className:this.getClass("week")},__("Weeks","jetpack"))),w().createElement("li",{className:"jp-at-a-glance__stats-view"},w().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToMonth,className:this.getClass("month")},__("Months","jetpack")))):void 0)}getClass(e){return this.props.activeTab===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"}render(){return"inactive"===this.props.getModuleOverride("stats")?w().createElement("div",null,w().createElement(k.Z,{moduleName:__("Jetpack Stats","jetpack")})):this.props.isModuleAvailable&&w().createElement("div",null,w().createElement(f.Z,{range:this.props.activeTab}),w().createElement(g.Z,{label:__("Jetpack Stats","jetpack")},this.maybeShowStatsTabs()),w().createElement(m.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},this.renderStatsArea()))}}r()(P,"propTypes",{isOfflineMode:y().bool.isRequired,siteRawUrl:y().string.isRequired,siteAdminUrl:y().string.isRequired,statsData:y().any.isRequired,isModuleAvailable:y().bool.isRequired}),t.Z=(0,C.$j)((e=>({isModuleAvailable:(0,x.v1)(e,"stats"),activeTab:(0,j.l5)(e),dateFormat:(0,N.mh)(e),isOfflineMode:(0,S.Ex)(e),isLinked:(0,S.BU)(e),connectUrl:(0,S.AM)(e),statsData:(0,_.isEmpty)((0,j.yZ)(e))?(0,N.Uu)(e):(0,j.yZ)(e),isEmptyStatsCardDismissed:(0,T.g0)(e),getModuleOverride:t=>(0,x.Qy)(e,t)})),(e=>({switchView:t=>e((0,j.D3)(t)),fetchStatsData:t=>e((0,j.g4)(t))})))(P)},6354:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(2395),i=n(6895),o=n(9307),c=n(5736),l=n(7506),p=n(3255),u=n(5733),d=n(9584),m=n(2819),h=n(1137),g=n(5162),f=n.n(g),k=n(9196),v=n.n(k),_=n(9309),E=n(6300),y=n(416),b=n(3002);const __=c.__;class w extends k.Component{constructor(){super(...arguments),r()(this,"activateVideoPress",(()=>this.props.updateOptions({videopress:!0})))}getContent(){const e=__("VideoPress","jetpack"),t={text:__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack"),link:(0,i.Z)("jetpack-support-videopress")},{hasConnectedOwner:n,hasVideoPressFeature:s,hasVideoPressUnlimitedStorage:r,isFetching:c,isOffline:m,upgradeUrl:h,videoPressStorageUsed:g}=this.props,f=s&&!r&&null!==g,k=n&&!s&&!m&&!c,_=s||null===g||0!==g?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack");return this.props.getOptionValue("videopress")&&n?v().createElement(p.Z,{className:"jp-dash-item__videopress",label:e,module:"videopress",support:t,status:"is-working",overrideContent:v().createElement(v().Fragment,null,v().createElement("div",{className:"dops-card jp-dash-item__card"},v().createElement("p",{className:"jp-dash-item__description"},__("VideoPress is enabled and will optimize your videos for smooth playback on any device. To add a new video, upload it to the Media Library or Post Editor.","jetpack")),f&&v().createElement("div",{className:"jp-dash-item__videopress-storage"},v().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),v().createElement(a.Z,{value:g/1e4}))),k&&v().createElement(u.ZP,{className:"media__videopress-upgrade",callToAction:__("Upgrade","jetpack"),title:_,disableHref:"false",eventFeature:"videopress",icon:"video",path:"dashboard",plan:(0,d.o2)(d.qb),feature:"jetpack_videopress",href:h,trackBannerDisplay:this.props.trackUpgradeButtonView}))}):v().createElement(p.Z,{label:e,module:"videopress",support:t,className:"jp-dash-item__is-inactive",noToggle:!n,overrideContent:!n&&!m&&v().createElement(u.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"videopress",path:"dashboard",plan:(0,d.o2)(d.qb),icon:"video"})},v().createElement("p",{className:"jp-dash-item__description"},m?__("Unavailable in Offline Mode","jetpack"):(0,o.createInterpolateElement)(__("<Button>Activate</Button> to engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. Try it for free.","jetpack"),{Button:v().createElement(l.Z,{className:"jp-link-button",onClick:this.activateVideoPress})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(w,"propTypes",{hasConnectedOwner:f().bool.isRequired,isOffline:f().bool.isRequired,isModuleAvailable:f().bool.isRequired,trackUpgradeButtonView:f().func}),r()(w,"defaultProps",{trackUpgradeButtonView:m.noop}),t.Z=(0,_.$j)((e=>({hasConnectedOwner:(0,E.it)(e),hasVideoPressFeature:(0,b.CV)(e,"videopress-1tb-storage")||(0,b.CV)(e,"videopress-unlimited-storage")||(0,b.CV)(e,"videopress"),hasVideoPressUnlimitedStorage:(0,b.CV)(e,"videopress-unlimited-storage"),isModuleAvailable:(0,y.v1)(e,"videopress"),isOffline:(0,E.Ex)(e),isFetching:(0,b.GR)(e),sitePlan:(0,b.UL)(e),upgradeUrl:(0,h.z)(e,"videopress"),videoPressStorageUsed:(0,b.VH)(e)})),(e=>({connectUser:()=>e((0,E.bL)())})))(w)},7301:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);class a extends r().Component{componentDidMount(){const e=jQuery(this.refs.adminNotices),t=jQuery(".vp-deactivated");t.length>0&&t.each((function(){const t=jQuery(this).addClass("dops-notice is-success is-dismissable").removeClass("wrap vp-notice notice notice-success");t.wrapInner('<span class="dops-notice__content">'),t.find(".dops-notice__content").before('<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>').css("display","block"),t.find(".dops-notice__content").after('<span role="button" tabindex="0" class="dops-notice__dismiss"><svg class="gridicon gridicons-cross" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg><span class="screen-reader-text"/></span>'),t.find("h2").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.prependTo(e).css("display","flex")}));const n=jQuery(".vp-notice");n.length>0&&n.each((function(){const t=jQuery(this);if(0===t.find(".dops-notice__icon").length){const e=t.hasClass("vp-registered"),n=e?"is-success":"is-error";t.addClass("dops-notice vp-notice-jp "+n),t.wrapInner('<span class="dops-notice__content">');const s=e?'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>':'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></svg></span>';t.find(".dops-notice__content").before(s),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.css("display","flex")}t.find('a[href*="admin.php?page=vaultpress"]').remove(),t.prependTo(e).removeClass("wrap vp-notice")}));const s=jQuery(".woocommerce-message");s.length>0&&s.each((function(){const t=jQuery(this).addClass("dops-notice").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<span class="dops-notice__text"/>');const n=t.find(".dops-notice__text");n.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})})),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close notice-dismiss").addClass("dops-notice__action"),t.wrapInner('<span class="dops-notice__content">').prependTo(e).css("display","flex"),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text")),t.find(".dops-notice__action:first").detach().appendTo(t)}));const r=jQuery(".notice");r.length>0&&r.each((function(){jQuery(this).hide()})),e.length>0&&jQuery(".dops-notice__dismiss").on("click",(function(){jQuery(this).parent().closest("div").hide()}))}render(){return r().createElement("div",{id:"jp-admin-notices",ref:"adminNotices","aria-live":"polite"})}}t.Z=a},3709:function(e,t,n){"use strict";var s=n(6895),r=n(5609),a=n(5736),i=n(5235),o=n.n(i),c=n(7506),l=n(5799),p=n(4069),u=n(9196),d=n(9309),m=n(6300),h=n(3230),g=n(3002);const __=a.__;t.Z=(0,d.$j)((e=>({isFetchingData:(0,g._5)(e),isUserLinked:(0,m.BU)(e),isOwner:(0,m.QM)(e),isDismissed:(0,h.O$)(e)})),(e=>({dismiss:()=>e((0,h.VP)({dismiss_dash_agencies_learn_more:!0})),connectUser:()=>e((0,m.bL)())})))((e=>{let{isDismissed:t,dismiss:n,path:i,discountPercentage:d,isUserLinked:m,isOwner:h,isFetchingData:g,className:f}=e;const k=(0,u.useCallback)((e=>{p.Z.tracks.recordJetpackClick({target:e,feature:"agencies",page:i,is_user_wpcom_connected:m?"yes":"no",is_connection_owner:h?"yes":"no"})}),[i,m,h]),v=(0,u.useCallback)((()=>{k("learn-more-click")}),[k]),_=(0,u.useCallback)((()=>{n(),k("learn-more-dismiss")}),[n,k]);if(t)return null;if(g)return React.createElement("div",null);const E=o()(f,"jp-agecies-card");return React.createElement("div",{className:E},React.createElement(l.Z,{className:"jp-agencies-card__wrapper"},React.createElement(c.Z,{borderless:!0,compact:!0,className:"jp-agencies-card__dismiss",onClick:_},React.createElement("span",{className:"dashicons dashicons-no"})),React.createElement("div",{className:"jp-agencies-card__contact"},React.createElement("h3",{className:"jp-agencies-card__header"},__("Manage your clients’ sites with ease","jetpack")),React.createElement("p",{className:"jp-agencies-card__description"},(0,a.sprintf)(/* translators: %s is the percentage discount the users get in the agencies portal */
__("Manage your clients’ sites with ease and get a %s discount with the Jetpack licensing platform.","jetpack"),`${d}%`)),React.createElement("p",{className:"jp-agencies-card__link-button"},React.createElement(c.Z,{onClick:v},React.createElement(r.ExternalLink,{href:(0,s.Z)("jitm-jetpack_agencies_ad"),target:"_blank",rel:"noreferrer"},__("Learn More","jetpack")))))))}))},408:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(800),i=n(8709),o=n(5736),c=n(5235),l=n.n(c),p=n(2819),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);const __=o.__,g={ios:{defaultSrc:a.hp+"/get-apps-ios-store.svg",src:"https://linkmaker.itunes.apple.com/assets/shared/badges/{localeSlug}/appstore-lrg.svg",tracksEvent:"calypso_app_download_ios_click",getStoreLink:e=>`https://apps.apple.com/app/apple-store/id1565481562?pt=299112&ct=${e}&mt=8`,getTitleText:()=>__("Download the Jetpack iOS mobile app.","jetpack"),getAltText:()=>__("Apple App Store download badge","jetpack"),getLocaleSlug:function(){const e=(0,i.X)().split("-")[0];return"en"===e?"en-us":`${e}-${e}`}},android:{defaultSrc:a.hp+"/get-apps-google-play.png",src:"https://play.google.com/intl/en_us/badges/images/generic/{localeSlug}_badge_web_generic.png",tracksEvent:"calypso_app_download_android_click",getStoreLink:function(e){return`https://play.google.com/store/apps/details?id=com.jetpack.android&referrer=utm_source%3D%${e}%26utm_medium%3D${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"web"}%26utm_campaign%3D${arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile-download-promo-pages"}`},getTitleText:()=>__("Download the Jetpack Android mobile app.","jetpack"),getAltText:()=>__("Google Play Store download badge","jetpack"),getLocaleSlug:function(){return(0,i.X)().split("-")[0]}}};class f extends m.PureComponent{constructor(e){super(e),r()(this,"onLoadImageComplete",(()=>{this.setState({hasExternalImageLoaded:!0})})),r()(this,"onLoadImageError",(()=>{this.setState({hasExternalImageLoaded:!1,imageSrc:g[this.props.storeName].defaultSrc})})),r()(this,"onLinkClick",(()=>{this.props.onBadgeClick(this.props.storeName)}));const t=g[e.storeName].getLocaleSlug().toLowerCase(),n=!(0,p.startsWith)(t,"en");this.state={shouldLoadExternalImage:n,imageSrc:n?g[e.storeName].src.replace("{localeSlug}",t):g[e.storeName].defaultSrc},n&&(this.image=null,this.loadImage())}loadImage(){this.image=new window.Image,this.image.src=this.state.imageSrc,this.image.onload=this.onLoadImageComplete,this.image.onerror=this.onLoadImageError}render(){const{altText:e,titleText:t,storeLink:n,storeName:s,utm_source:r,utm_medium:a,utm_campaign:i}=this.props,{imageSrc:o,hasExternalImageLoaded:c}=this.state,p=l()("apps-badge",{[`${s}-app-badge`]:!0,"is-external-image":c}),u=g[s];return h().createElement("figure",{className:p},h().createElement("a",{href:n||u.getStoreLink(r,a,i),onClick:this.onLinkClick,target:"_blank",rel:"noopener noreferrer"},h().createElement("img",{src:o,title:t||u.getTitleText(),alt:e||u.getAltText()})))}}r()(f,"propTypes",{altText:d().string,storeLink:d().string,storeName:d().oneOf(["ios","android"]).isRequired,titleText:d().string,onBadgeClick:d().func,utm_source:d().string,utm_campaign:d().string,utm_medium:d().string}),r()(f,"defaultProps",{altText:"",storeLink:null,titleText:""}),t.Z=f},7363:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(800),i=n(6895),o=n(5609),c=n(9307),l=n(5736),p=n(5235),u=n.n(p),d=n(408),m=n(5799),h=n(4069),g=n(4443),f=n(5162),k=n.n(f),v=n(9196),_=n.n(v),E=n(4498);const __=l.__;class y extends _().Component{constructor(){super(...arguments),r()(this,"trackDownloadClick",(e=>{h.Z.tracks.recordJetpackClick({target:"apps-card",button:"apps-download",page:this.props.location.pathname,store:e})})),r()(this,"trackAppLinkClick",(()=>{h.Z.tracks.recordJetpackClick({target:"jetpack-apps-link",page:this.props.location.pathname})})),r()(this,"getAppLinkSection",(()=>{const e=(0,g.Z)();switch(e){case"ios":case"android":return this.getAppCards(e);default:return this.getQrCode()}})),r()(this,"getAppCards",(e=>_().createElement("div",{className:"jp-apps-card__apps-badges"},"android"===e?_().createElement(d.Z,{altText:__("Google Play Store download badge.","jetpack"),titleText:__("Download the Jetpack Android mobile app.","jetpack"),storeName:"android",storeLink:"https://play.google.com/store/apps/details?id=com.jetpack.android&utm_source=jpdash&utm_medium=cta&utm_campaign=getappscard",onBadgeClick:this.trackDownloadClick}):_().createElement(d.Z,{altText:__("Apple App Store download badge.","jetpack"),titleText:__("Download the Jetpack iOS mobile app.","jetpack"),storeName:"ios",storeLink:"https://apps.apple.com/us/app/jetpack-website-builder/id1565481562?pt=299112ct=jpdash&mt=8",onBadgeClick:this.trackDownloadClick})))),r()(this,"getQrCode",(()=>_().createElement("div",{className:"jp-apps-card__apps-qr-code"},_().createElement("img",{src:a.hp+"get-apps-qr-code.svg",alt:""}),_().createElement("p",{className:"jp-apps-card__caption"},(0,c.createInterpolateElement)(__("Visit <a>jetpack.com/app</a> or scan this code to download the Jetpack mobile app.","jetpack"),{a:_().createElement(o.ExternalLink,{className:"jp-apps-card__link",href:(0,i.Z)("jetpack-plugin-dashboard-apps-card"),onClick:this.trackAppLinkClick})})))))}render(){const e=u()(this.props.className,"jp-apps-card");return _().createElement("div",{className:e},_().createElement(m.Z,{className:"jp-apps-card__content"},_().createElement("div",{className:"jp-apps-card__top"},_().createElement("img",{src:a.hp+"get-apps-icon.svg",alt:""})),_().createElement("div",{className:"jp-apps-card__description"},_().createElement("h3",{className:"jp-apps-card__header"},__("Jetpack in your pocket","jetpack")),_().createElement("p",{className:"jp-apps-card__paragraph"},__("Get powerful security and performance tools in your pocket with the Jetpack mobile app.","jetpack")),this.getAppLinkSection())))}}r()(y,"displayName","AppsCard"),y.propTypes={className:k().string},t.Z=(0,E.EN)(y)},7407:function(e,t,n){"use strict";n.d(t,{$j:function(){return b},jL:function(){return y}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(7506),c=n(5799),l=n(5060),p=n(3234),u=n(4069),d=n(9584),m=n(2819),h=n(5162),g=n.n(h),f=n(9196),k=n.n(f),v=n(9309),_=n(6300),E=n(9508);class y extends f.Component{constructor(){super(...arguments),r()(this,"handleClick",(()=>{this.props.onClick();const{eventFeature:e,path:t,currentVersion:n,eventProps:s}=this.props;if(e||t){const r=e?{feature:e}:{},a=t?{path:t}:{},i={target:"banner",type:"upgrade",current_version:n,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no",...r,...a,...s};u.Z.tracks.recordJetpackClick(i)}}))}getHref(){const{href:e,feature:t,siteSlug:n}=this.props;return!e&&n?t?`/plans/${n}?feature=${t}`:`/plans/${n}`:e}getIcon(){const{icon:e,iconAlt:t,iconSrc:n,plan:s}=this.props;return!s||e&&n?k().createElement("div",{className:"dops-banner__icons"},k().createElement("div",{className:"dops-banner__icon"},e&&k().createElement(l.Z,{icon:e||"info-outline",size:18}),n&&k().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t})),k().createElement("div",{className:"dops-banner__icon-circle"},e&&k().createElement(l.Z,{icon:e||"info-outline",size:18}),n&&k().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t}))):k().createElement("div",{className:"dops-banner__icon-plan"},k().createElement(p.Z,{plan:s}))}getContent(){const{callToAction:e,description:t,list:n,title:s}=this.props;return k().createElement("div",{className:"dops-banner__content"},k().createElement("div",{className:"dops-banner__info"},k().createElement("div",{className:"dops-banner__title"},s),t&&k().createElement("div",{className:"dops-banner__description"},t),(0,m.size)(n)>0&&k().createElement("ul",{className:"dops-banner__list"},n.map(((e,t)=>k().createElement("li",{key:t},k().createElement(l.Z,{icon:"checkmark",size:18}),e))))),e&&k().createElement("div",{className:"dops-banner__action"},e&&k().createElement(o.Z,{compact:!0,href:this.getHref(),onClick:this.handleClick,primary:!0},e)))}render(){const{callToAction:e,className:t,plan:n}=this.props,s=(0,d.sc)(n),r=(0,d.G1)(n),a=(0,d.yy)(n),o=i()("dops-banner",t,{"has-call-to-action":e},{"is-upgrade-personal":r&&"is-personal-plan"===s},{"is-upgrade-premium":r&&"is-premium-plan"===s},{"is-upgrade-business":r&&"is-business-plan"===s},{"is-product":a},{"is-plan":!a},{"is-bundle":!a&&(0,d.Pu)(n)});return k().createElement(c.Z,{className:o,href:e?null:this.getHref(),onClick:e?m.noop:this.handleClick},this.getIcon(),this.getContent())}}function b(e){return(0,v.$j)((e=>({currentVersion:(0,E.w1)(e),isCurrentUserLinked:(0,_.BU)(e),isConnectionOwner:(0,_.QM)(e)})))(e)}r()(y,"propTypes",{callToAction:g().string,className:g().string,currentVersion:g().string.isRequired,description:g().node,eventFeature:g().string,eventProps:g().object,feature:g().string,href:g().string,icon:g().string,iconAlt:g().string,iconSrc:g().string,list:g().arrayOf(g().string),onClick:g().func,path:g().string,plan:g().string,siteSlug:g().string,title:g().node.isRequired,isCurrentUserLinked:g().bool,isConnectionOwner:g().bool}),r()(y,"defaultProps",{onClick:m.noop,eventProps:{}}),t.ZP=b(y)},8492:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(9196),c=n.n(o);class l extends c().Component{render(){const e=i()("dops-button-group",this.props.className);return c().createElement("span",{className:e},this.props.children)}}r()(l,"displayName","ButtonGroup"),r()(l,"propTypes",{children(e){let t=null;return c().Children.forEach(e.children,(e=>{e.props&&"button"===e.props.type||(t=new Error("All children elements should be a Button."))})),t}})},7506:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(2819),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p);class d extends u().Component{render(){const e=this.props.href?"a":"button",{primary:t,compact:n,scary:s,borderless:r,rna:a,className:o,...c}=this.props,l=i()({"dops-button":!0,"is-compact":n,"is-primary":t,"is-scary":s,"is-borderless":r,"is-rna":a});return c.className=i()(o,l),u().createElement(e,c,this.props.children)}}r()(d,"displayName","Button"),r()(d,"propTypes",{disabled:l().bool,compact:l().bool,primary:l().bool,scary:l().bool,type:l().string,href:l().string,onClick:l().func,borderless:l().bool,rna:l().bool,className:l().string}),r()(d,"defaultProps",{disabled:!1,type:"button",onClick:o.noop,borderless:!1})},5773:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5799),c=n(2819),l=n(9196),p=n.n(l);class u extends p().Component{render(){const e=(0,c.assign)({},this.props,{className:i()(this.props.className,"is-compact")});return p().createElement(o.Z,e,this.props.children)}}r()(u,"displayName","CompactCard")},5799:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(2819),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(5060);class m extends u().Component{constructor(){super(...arguments),r()(this,"_renderWithTitle",(()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return u().createElement("div",{className:e},u().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),u().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return u().createElement("div",{className:i()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}r()(m,"propTypes",{title:l().any,vertical:l().any,style:l().object,className:l().string,device:l().oneOf(["desktop","tablet","phone"])}),r()(m,"defaultProps",{vertical:null});class h extends u().Component{render(){return u().createElement("div",{className:"dops-card-footer"},this.props.children)}}class g extends u().Component{constructor(){super(...arguments),r()(this,"_renderIcon",(()=>u().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&u().createElement(d.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const e=i()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let n,s;return this.props.href?n=u().createElement(d.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):t.push("href","target"),this.props.title&&(s=u().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&u().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),u().createElement(this.props.href?"a":this.props.tagName,(0,o.assign)((0,o.omit)(this.props,t),{className:e}),n,s,this.props.children)}}r()(g,"propTypes",{meta:l().any,icon:l().string,iconLabel:l().any,iconColor:l().string,style:l().object,className:l().string,href:l().string,onClick:l().func,title:l().string,tagName:l().string,target:l().string,compact:l().bool,children:l().node}),r()(g,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),g.Section=m,g.Footer=h,t.Z=g},7855:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o),l=n(8918),p=n(2224);class u extends c().Component{constructor(){super(...arguments),r()(this,"buildBars",(e=>{const t=this.props.data.length,n=this.props.chartWidth,s=n/t;let r="bottom right";return this.props.data.map((function(a,i){const o=s*(i+1);return o+230>n&&o+s-230>0&&(r="bottom left"),c().createElement(l.Z,{index:i,key:i,isTouch:this.props.isTouch,tooltipPosition:r,className:a.className,clickHandler:this.props.barClick,data:a,max:e,count:t})}),this)}))}render(){return c().createElement("div",null,c().createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),c().createElement(p.Z,{data:this.props.data,labelWidth:42}))}}r()(u,"displayName","ModuleChartBarContainer"),r()(u,"propTypes",{isTouch:i().bool,data:i().array,yAxisMax:i().number,width:i().number,barClick:i().func})},8918:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5060),c=n(4088),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u);class m extends d().Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"buildSections",(()=>{const e=this.props.data.value,t=this.props.max,n=100-(t?Math.ceil(e/t*1e4)/100:0),s=Math.max(1,Math.floor(n)),r=[],a=this.props.data.nestedValue,o={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===n&&!this.props.active};let c,l,p;const u={height:s+"%"};r.push(d().createElement("div",{key:"spacer",className:i()(o),style:u}));const m={top:s+"%"};return a&&(l=e?Math.ceil(a/e*1e4)/100:0,p={height:l+"%"},c=d().createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:p})),r.push(d().createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:m},c)),r.push(d().createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),r})),r()(this,"keyHandler",(e=>{"function"==typeof this.props.clickHandler&&13===e.keyCode&&this.props.clickHandler(this.props.data)})),r()(this,"clickHandler",(()=>{"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)})),r()(this,"mouseEnter",(()=>{this.setState({showPopover:!0})})),r()(this,"mouseLeave",(()=>{this.setState({showPopover:!1})})),r()(this,"renderTooltip",(()=>{if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;const{tooltipData:e}=this.props.data,t=e.map((function(e,t){const n=["module-content-list-item"];let s;return e.icon&&(s=d().createElement(o.Z,{icon:e.icon,size:18})),n.push(e.className),d().createElement("li",{key:t,className:n.join(" ")},d().createElement("span",{className:"dops-wrapper"},d().createElement("span",{className:"value"},e.value),d().createElement("span",{className:"label"},s,e.label)))}));return d().createElement(c.Z,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},d().createElement("ul",null,t))}))}render(){const e=this.props.count||1,t={"dops-chart__bar":!0};this.props.className&&(t[this.props.className]=!0);const n={width:1/e*100+"%"};return d().createElement("div",{role:"button",tabIndex:0,onKeyUp:this.keyHandler,onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"aria-label":this.props.data.tooltipData[0].label+" — "+this.props.data.value+".",className:i()(t),style:n},this.buildSections(),d().createElement("div",{className:"dops-chart__bar-marker is-hundred"}),d().createElement("div",{className:"dops-chart__bar-marker is-fifty"}),d().createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}}r()(m,"displayName","ModuleChartBar"),r()(m,"propTypes",{isTouch:p().bool,tooltipPosition:p().string,className:p().string,clickHandler:p().func,data:p().object.isRequired,max:p().number,count:p().number})},3068:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(17),r=n.n(s),a=n(5736),i=n(7733),o=n(2819),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(7855);const _x=a._x;class m extends u().Component{constructor(){super(...arguments),r()(this,"state",{maxBars:100,width:650}),r()(this,"resize",(()=>{let e,t=this.refs.chart.clientWidth-82;(0,i._)()?(t=t<=0?350:t,e=Math.floor(t/this.props.minTouchBarWidth)):e=Math.floor(t/this.props.minBarWidth),this.setState({maxBars:e,width:t})})),r()(this,"getYAxisMax",(e=>{const t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1);let s=Math.ceil((t+1)/n)*n;return s<10&&(s=10),s})),r()(this,"getData",(()=>{let e=this.props.data;return e=e.slice(0-this.state.maxBars),e})),r()(this,"getValues",(()=>{let e=this.getData();return e=e.map((function(e){return e.value}),this),e})),r()(this,"isEmptyChart",(e=>0===(e=e.filter((function(e){return e>0}),this)).length))}componentDidMount(){this.resize=(0,o.throttle)(this.resize,400),window.addEventListener("resize",this.resize),this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.resize)}UNSAFE_componentWillReceiveProps(e){this.props.loading&&!e.loading&&this.resize()}render(){const e=this.getValues(),t=this.getYAxisMax(e),n=this.getData();let s;return e.length&&this.isEmptyChart(e)&&(s=u().createElement("div",{className:"dops-chart__empty"},u().createElement("span",{className:"dops-chart__empty_notice"},_x("No activity this period","Notice in the empty statistics chart","jetpack")))),u().createElement("div",{ref:"chart",className:"dops-chart"},u().createElement("div",{className:"dops-chart__y-axis-markers"},u().createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),u().createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),u().createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),u().createElement("div",{className:"dops-chart__y-axis"},u().createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),u().createElement("div",{className:"dops-chart__y-axis-label is-hundred"},t.toLocaleString()),u().createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(t/2).toLocaleString()),u().createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),u().createElement(d.Z,{barClick:this.props.barClick,data:n,yAxisMax:t,chartWidth:this.state.width,isTouch:(0,i._)()}),s)}}r()(m,"displayName","ModuleChart"),r()(m,"propTypes",{loading:l().bool,data:l().array,minTouchBarWidth:l().number,minBarWidth:l().number,barClick:l().func}),r()(m,"defaultProps",{minTouchBarWidth:42,minBarWidth:15,barClick:o.noop})},8914:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o);class l extends c().Component{render(){const e={width:this.props.width+"px"};return e.left=this.props.x+"px",c().createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}}r()(l,"displayName","ModuleChartLabel"),r()(l,"propTypes",{width:i().number.isRequired,x:i().number.isRequired,label:i().string.isRequired})},2224:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(17),r=n.n(s),a=n(2819),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),p=n(8914);class u extends l().Component{constructor(){super(...arguments),r()(this,"state",{divisor:1,spacing:this.props.labelWidth}),r()(this,"resize",(e=>{let t=this.props;const n=this.refs.axis;!e||e instanceof Event||(t=e),n.style.overflow="hidden";const s=n.clientWidth;n.style.overflow="visible";const r=s/(t.data.length||1),a=t.labelWidth,i=Math.ceil(a/r);this.setState({divisor:i,spacing:r})}))}componentDidMount(){this.resizeThrottled=(0,a.throttle)(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()}componentWillUnmount(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)}UNSAFE_componentWillReceiveProps(e){this.resize(e)}render(){const e=this.props.data,t=e.map((function(t,n){const s=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2;let r;return(e.length-n-1)%this.state.divisor==0&&(r=l().createElement(p.Z,{key:n,label:t.label,width:this.props.labelWidth,x:s})),r}),this);return l().createElement("div",{ref:"axis",className:"dops-chart__x-axis"},t)}}r()(u,"displayName","ModuleChartXAxis"),r()(u,"propTypes",{labelWidth:o().number.isRequired,data:o().array.isRequired})},4104:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(5235),c=n.n(o),l=n(9698),p=n(5549),u=n(2819),d=n(5162),m=n.n(d),h=n(9196),g=n.n(h);class f extends g().Component{constructor(){super(...arguments),i()(this,"state",{isCopied:!1,disabled:!1}),i()(this,"showConfirmation",(()=>{this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout((()=>{this.setState({isCopied:!1})}),4e3)}))}componentWillUnmount(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout}render(){const e=(0,u.omit)(this.props,"className","copied","copy","isError","isValid","prompt","selectOnFocus");return g().createElement("span",{className:c()("dops-clipboard-button-input",this.props.className)},g().createElement(p.Z,r()({},e,{type:"text",selectOnFocus:!0,readOnly:!0})),g().createElement(l.Z,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}i()(f,"displayName","ClipboardButtonInput"),i()(f,"propTypes",{value:m().string,disabled:m().bool,className:m().string,copied:m().string,copy:m().string,prompt:m().string}),i()(f,"defaultProps",{value:""})},7633:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(6168),o=n(5609),c=n(9307),l=n(5736),p=n(6483),u=n(7506),d=n(1865),m=n(4069),h=n(5162),g=n.n(h),f=n(9196),k=n.n(f),v=n(9309),_=n(6300),E=n(9508),y=n(3002),b=n(3915),w=n(6165);const __=l.__;class C extends k().Component{constructor(e){super(e),r()(this,"handleOpenModal",(e=>{m.Z.tracks.recordJetpackClick("manage_site_connection"),e.preventDefault(),this.toggleVisibility()})),r()(this,"handleDisconnected",(()=>{this.props.fetchConnectUrl(),this.props.fetchSiteConnectionStatus()})),r()(this,"toggleVisibility",(()=>{this.setState({showModal:!this.state.showModal})})),r()(this,"loadIframe",(e=>{e.preventDefault(),this.props.isAuthorizing||this.props.fetchingConnectUrl||(m.Z.tracks.recordJetpackClick("link_account_in_place"),this.props.customConnect?this.props.customConnect():this.props.doConnectUser())})),r()(this,"renderDisconnectStepComponent",(()=>this.props.siteBenefits?k().createElement(w.Z,{siteBenefits:this.props.siteBenefits}):null)),r()(this,"renderUserButton",(()=>{if(this.props.isLinked)return k().createElement("div",null,k().createElement("a",{role:"button",tabIndex:"0",className:"jp-jetpack-unlink__button",onKeyDown:(0,b.Z)(this.props.unlinkUser),onClick:this.props.unlinkUser,disabled:this.props.isUnlinking},this.props.connectLegend||__("Disconnect your WordPress.com account","jetpack")));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`,e+="&additional-user");const t={className:"is-primary jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl||this.props.isAuthorizing},n=this.props.connectLegend||__("Connect your WordPress.com account","jetpack");return!this.props.connectInPlace||this.props.isSafari||this.props.doNotUseConnectionIframe||(t.onClick=this.loadIframe),this.props.asLink?k().createElement("a",t,n):k().createElement(u.Z,t,n)})),r()(this,"renderContent",(()=>{if(this.props.connectUser)return this.renderUserButton();if(this.props.isSiteConnected)return k().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.handleOpenModal),onClick:this.handleOpenModal,disabled:this.props.isDisconnecting},this.props.connectLegend||__("Manage site connection","jetpack"));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`);const t={className:"jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl},n=this.props.connectLegend||__("Set up Jetpack","jetpack");return this.props.asLink?k().createElement("a",t,n):k().createElement(u.Z,t,n)})),this.state={showModal:e.autoOpenInDisconnectRoute&&"#/disconnect"===(0,p.getFragment)(window.location.href)}}render(){return k().createElement("div",null,k().createElement(d.Z,null),!this.props.isSiteConnected&&k().createElement("p",{className:"jp-banner__tos-blurb"},(0,c.createInterpolateElement)(__("By clicking the button below, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:k().createElement(o.ExternalLink,{href:(0,a.Z)("wpcom-tos")}),shareDetailsLink:k().createElement(o.ExternalLink,{href:(0,a.Z)("jetpack-support-what-data-does-jetpack-sync")})})),this.renderContent(),k().createElement(i.Z,{apiNonce:this.props.apiNonce,apiRoot:this.props.apiRoot,connectedPlugins:this.props.connectedPlugins,connectedUser:{ID:this.props.userWpComId,login:this.props.userWpComLogin},connectedSiteId:this.props.connectedSiteId,disconnectStepComponent:this.renderDisconnectStepComponent(),onDisconnected:this.handleDisconnected,isOpen:this.state.showModal,onClose:this.toggleVisibility,context:"jetpack"}))}}r()(C,"displayName","ConnectButton"),r()(C,"propTypes",{connectUser:g().bool,from:g().string,asLink:g().bool,connectLegend:g().string,connectInPlace:g().bool,customConnect:g().func,autoOpenInDisconnectRoute:g().bool}),r()(C,"defaultProps",{connectUser:!1,from:"",asLink:!1,connectInPlace:!0,autoOpenInDisconnectRoute:!1}),t.Z=(0,v.$j)((e=>({siteRawUrl:(0,E.JR)(e),isSiteConnected:(0,_.Gz)(e),isDisconnecting:(0,_.e_)(e),fetchingConnectUrl:(0,_.Mq)(e),connectUrl:(0,_.AM)(e),isLinked:(0,_.BU)(e),isUnlinking:(0,_.jZ)(e),isAuthorizing:(0,_.zq)(e),isSafari:(0,E.G6)(e),doNotUseConnectionIframe:(0,E.jq)(e),apiNonce:(0,E.VY)(e),apiRoot:(0,E.yB)(e),connectedPlugins:(0,E.xz)(e),siteBenefits:(0,y.nq)(e),pluginUrl:(0,E.wB)(e),userWpComLogin:(0,E.IU)(e),userWpComId:(0,E._G)(e),connectedSiteId:(0,E.EZ)(e)})),(e=>({fetchConnectUrl:()=>e((0,_.eW)()),fetchSiteConnectionStatus:()=>e((0,_.I7)()),unlinkUser:()=>e((0,_.EP)()),doConnectUser:()=>e((0,_.bL)())})))(C)},6164:function(e,t,n){"use strict";var s=n(5736),r=n(5799),a=n(7633),i=n(4069),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(9309),d=n(6300);const __=s.__,m=e=>{const{feature:t,featureLabel:n,text:o,doConnectUser:c}=e,u=(0,l.useCallback)((()=>{i.Z.tracks.recordJetpackClick({target:"connection-bar-click",feature:t,is_user_wpcom_connected:"no",is_connection_owner:"no"}),c(n)}),[c,t,n]);return p().createElement(r.Z,{compact:!0,className:"jp-connect-user-bar__card"},p().createElement("div",{className:"jp-connect-user-bar__text"},(0,s.sprintf)(/* translators: placeholder is text adding extra instructions on what to do next. */
__("This feature is provided by the WordPress.com cloud. %s","jetpack"),o)),p().createElement("div",{className:"jp-connect-user-bar__button"},p().createElement(a.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account","jetpack"),customConnect:u})))};m.propTypes={text:c().string.isRequired,feature:c().string,featureLabel:c().string},t.Z=(0,u.$j)(null,(e=>({doConnectUser:t=>e((0,d.bL)(t))})))(m)},9099:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(7407),c=n(5799),l=n(7633),p=n(5060),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);class g extends o.jL{getIcon(){const e=this.props.icon;return e&&"object"==typeof e?h().createElement("div",{className:"jp-connection-banner__icon"},e):h().createElement("div",{className:"dops-banner__icons"},h().createElement("div",{className:"dops-banner__icon"},h().createElement(p.Z,{icon:e||"info-outline",size:18})),h().createElement("div",{className:"dops-banner__icon-circle"},h().createElement(p.Z,{icon:e||"info-outline",size:18})))}getContent(){const{description:e,title:t,connectUser:n,from:s,asLink:r,connectInPlace:a}=this.props,i={connectUser:n,from:s,asLink:r,connectInPlace:a};return h().createElement("div",{className:"dops-banner__content"},h().createElement("div",{className:"dops-banner__info"},h().createElement("div",{className:"dops-banner__title"},t),e&&h().createElement("div",{className:"dops-banner__description"},e)),h().createElement("div",{className:"dops-banner__action"},h().createElement(l.Z,i)))}render(){const e=i()("dops-banner",this.props.className);return h().createElement(c.Z,{className:e},this.getIcon(),this.getContent())}}r()(g,"propTypes",{title:d().string.isRequired,className:d().string,description:d().node,icon:d().oneOfType([d().element,d().string]),connectUser:d().bool,from:d().string,asLink:d().bool,connectInPlace:d().bool}),t.Z=(0,o.$j)(g)},6102:function(e,t,n){"use strict";var s=n(8868),r=n(7325),a=n(4792),i=n(5609),o=n(9307),c=n(5736),l=n(4069),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d);const __=c.__,h=e=>{const{title:t,logo:n,children:c,className:p,buttonLabel:u,apiRoot:h,apiNonce:g,registrationNonce:f,redirectUri:k,redirectTo:v,autoTrigger:_,isSiteConnected:E,setHasSeenWCConnectionModal:y}=e;(0,d.useEffect)((()=>{y()}),[y]);const b=(0,d.useCallback)((()=>{l.Z.tracks.recordJetpackClick("contextualized_connection_continue_button")}),[]);return m().createElement("div",{className:"jp-contextualized-connection"+(p?" "+p:"")},m().createElement("div",{className:"jp-contextualized-connection__content"},m().createElement("div",{className:"jp-contextualized-connection__logo"},n||m().createElement(s.Z,null)),m().createElement("h2",null,t),c,E&&m().createElement(i.Button,{variant:"primary",className:"jp-contextualized-connection__button",label:__("Continue to Jetpack","jetpack"),href:v,onClick:b},__("Continue to Jetpack","jetpack")),!E&&m().createElement(m().Fragment,null,m().createElement(a.Z,{autoTrigger:_,apiRoot:h,apiNonce:g,registrationNonce:f,redirectUri:k,connectLabel:u}),m().createElement("div",{className:"jp-contextualized-connection__tos"},m().createElement(r.Z,{agreeButtonLabel:u})))),m().createElement("footer",{className:"jp-contextualized-connection__footer"},m().createElement("div",{className:"jp-contextualized-connection__footer-row"},m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Security tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> downtime monitoring","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> brute force attack prevention","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Full store & order backups","jetpack")),m().createElement("li",null,__("Automated malware scanning","jetpack")),m().createElement("li",null,__("Comment and form spam protection","jetpack")))),m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Performance tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> Content Delivery Network (CDN)","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> lazy image loading","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> SEO tools","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Instant site search","jetpack")),m().createElement("li",null,__("Ad-free WordPress video hosting","jetpack")))),m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Growth tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> site stats","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> social media tools","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> related posts","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Accept payments","jetpack")),m().createElement("li",null,__("Ad network access","jetpack"))))),m().createElement("div",{className:"jp-contextualized-connection__footer-bottom-title"},__("More than 5 million WordPress sites trust Jetpack for their website security and performance.","jetpack"))))};h.propTypes={title:u().string,className:u().string,buttonLabel:u().string,apiRoot:u().string.isRequired,apiNonce:u().string.isRequired,registrationNonce:u().string.isRequired,redirectUri:u().string.isRequired,redirectTo:u().string.isRequired,autoTrigger:u().bool,isSiteConnected:u().bool.isRequired,logo:u().shape({type:u().oneOf(["img","svg"])})},t.Z=h},5582:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o);class l extends c().PureComponent{render(){return c().createElement("span",{className:"dops-count"},this.numberFormat(this.props.count))}}r()(l,"displayName","Count"),r()(l,"propTypes",{count:i().number.isRequired})},3255:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(6895),c=n(5736),l=n(5235),p=n.n(l),u=n(7506),d=n(5799),m=n(2353),h=n(5004),g=n(1668),f=n(1114),k=n(9032),v=n(4069),_=n(2819),E=n(6450),y=n(5162),b=n.n(y),w=n(9196),C=n.n(w),j=n(9309),S=n(6300),N=n(9508),x=n(416);const __=c.__,_x=c._x;class T extends w.Component{constructor(){super(...arguments),i()(this,"toggleModule",(()=>{const{updateOptions:e,module:t,getOptionValue:n}=this.props;e({[t]:!n(t)})})),i()(this,"trackPaidBtnClick",(()=>{v.Z.tracks.recordJetpackClick({target:"paid-button",feature:this.props.module,page:"aag"})}))}render(){let e,t,n="";const s=p()(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(t=(0,_.includes)(["monitor","protect","photon","vaultpress","scan","backups","akismet","search"],this.props.module)&&this.props.isOfflineMode||this.props.noToggle||"manage"===this.props.module?"":C().createElement(h.T,{slug:this.props.module,activated:this.props.getOptionValue(this.props.module),toggling:this.props.isUpdating(this.props.module),toggleModule:this.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(t=C().createElement("a",{href:this.props.isOfflineMode?this.props.siteAdminUrl+"update-core.php":(0,o.Z)("calypso-plugins-manage",{site:this.props.siteRawUrl})},C().createElement(g.Z,{showDismiss:!1,status:this.props.status,isCompact:!0},_x("Updates needed","Short warning message","jetpack")))),"is-working"===this.props.status&&(t=C().createElement("span",{className:"jp-dash-item__active-label"},__("Active","jetpack")))),"rewind"===this.props.module&&(t=null)),this.props.pro&&!this.props.isOfflineMode&&(n=C().createElement(u.Z,{onClick:this.trackPaidBtnClick,compact:!0,href:"#/plans"},_x("Paid","Short label appearing near a paid feature configuration block.","jetpack")),this.props.isModule&&(t=C().createElement(E.Z,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl}))),this.props.module&&this.props.getModule&&(e=this.props.getModule(this.props.module)),C().createElement("div",{className:s},C().createElement(f.Z,{label:this.props.label,cardBadge:n},this.props.userCanToggle?t:""),this.props.overrideContent?this.props.overrideContent:C().createElement(d.Z,{className:"jp-dash-item__card",href:this.props.href},C().createElement("div",{className:"jp-dash-item__content"},this.props.support.link&&C().createElement(k.Z,r()({module:e},this.props.support)),this.props.children)))}}i()(T,"propTypes",{label:b().string,status:b().string,statusText:b().string,disabled:b().bool,module:b().string,pro:b().bool,isModule:b().bool,support:b().object,overrideContent:b().element,noToggle:b().bool}),i()(T,"defaultProps",{label:"",module:"",pro:!1,isModule:!0,support:{text:"",link:""},noToggle:!1}),t.Z=(0,j.$j)((e=>({getModule:t=>(0,x.rT)(e,t),isOfflineMode:(0,S.Ex)(e),userCanToggle:(0,N.pK)(e),siteRawUrl:(0,N.JR)(e),siteAdminUrl:(0,N.wW)(e)})))((0,m.u)(T))},9552:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(4069),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p);class d extends u().Component{constructor(){super(...arguments),r()(this,"trackCogClick",(()=>{o.Z.tracks.recordJetpackClick({target:"settings-cog",group:"security",page:"aag"})}))}render(){let e,t;const n=i()(this.props.className,"jp-dash-section-header");return this.props.externalLink&&(e=u().createElement("a",{className:"jp-dash-section-header__external-link",href:this.props.externalLinkPath,onClick:this.props.externalLinkClick},this.props.externalLink)),this.props.children&&(t=u().createElement("div",{className:"jp-dash-section-header__children"},this.props.children)),u().createElement("div",{className:n},u().createElement("div",{className:"jp-dash-section-header__label"},u().createElement("h2",{className:"jp-dash-section-header__name"},this.props.label)),e,t)}}r()(d,"displayName","DashSectionHeader"),r()(d,"propTypes",{label:l().string.isRequired,settingsPath:l().string,externalLinkPath:l().string,externalLink:l().string,externalLinkClick:l().func}),r()(d,"defaultProps",{label:"",settingsPath:"",externalLinkPath:"",externalLink:""}),t.Z=d},1020:function(e,t,n){"use strict";var s=n(9196),r=n(9309),a=n(835),i=n(7296);class o extends s.Component{UNSAFE_componentWillMount(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}render(){return null}}o.defaultProps={fetchAkismetData:()=>{}},t.Z=(0,r.$j)((e=>({fetchAkismetData:(0,i.bB)(),fetchingAkismetData:(0,i.bV)(e)})),(e=>(0,a.DE)({fetchAkismetData:i.bB},e)))(o)},3544:function(e,t,n){"use strict";var s=n(9196),r=n(9309),a=n(835),i=n(7296);class o extends s.Component{UNSAFE_componentWillMount(){this.props.isCheckingAkismetKey||this.props.checkAkismetKey()}render(){return null}}o.defaultProps={checkAkismetKey:()=>{}},t.Z=(0,r.$j)((e=>({checkAkismetKey:(0,i.Bt)(),isCheckingAkismetKey:(0,i.gw)(e)})),(e=>(0,a.DE)({checkAkismetKey:i.Bt},e)))(o)},4681:function(e,t,n){"use strict";var s=n(9196),r=n(9309),a=n(835),i=n(7296),o=n(416);class c extends s.Component{UNSAFE_componentWillMount(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}render(){return null}}c.defaultProps={fetchProtectCount:()=>{}},t.Z=(0,r.$j)((e=>({fetchProtectCount:(0,i.eR)(),fetchingProtectData:(0,i.Xu)(e),isModuleActivated:t=>(0,o.mp)(e,t)})),(e=>(0,a.DE)({fetchProtectCount:i.eR},e)))(c)},3190:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9196),i=n(9309),o=n(6920);class c extends a.Component{componentDidMount(){this.props.isFetchingIntroOffers||this.props.fetchIntroOffers()}render(){return null}}r()(c,"defaultProps",{isFetchingIntroOffers:!1}),t.Z=(0,i.$j)((e=>({isFetchingIntroOffers:(0,o.HW)(e)})),(e=>({fetchIntroOffers:()=>e((0,o.lR)())})))(c)},4602:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(8722);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsConditional||this.props.isOfflineMode||this.props.fetchRecommendationsConditional()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsConditional:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingRecommendationsConditional:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsConditional:(0,p.E4)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchRecommendationsConditional:()=>e((0,p.AP)())})))(u)},298:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(8722);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsData||this.props.isOfflineMode||this.props.fetchRecommendationsData()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsData:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingRecommendationsData:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsData:(0,p.WS)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchRecommendationsData:()=>e((0,p.V2)())})))(u)},8408:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(8722);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsProductSuggestions||this.props.isOfflineMode||this.props.fetchRecommendationsProductSuggestions()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsProductSuggestions:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingRecommendationsProductSuggestions:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsProductSuggestions:(0,p.at)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchRecommendationsProductSuggestions:()=>e((0,p.km)())})))(u)},23:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(8722);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsUpsell||this.props.isOfflineMode||this.props.fetchRecommendationsUpsell()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsUpsell:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingRecommendationsUpsell:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsUpsell:(0,p.b5)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchRecommendationsUpsell:()=>e((0,p.tR)())})))(u)},8546:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(9377);class u extends o.Component{UNSAFE_componentWillMount(){this.props.isFetchingRewindStatus||this.props.isOfflineMode||this.props.fetchRewind()}render(){return null}}r()(u,"propTypes",{isFetchingRewindStatus:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingRewindStatus:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRewindStatus:(0,p.Li)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchRewind:()=>e((0,p.Au)())})))(u)},6551:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(5080);class u extends o.Component{UNSAFE_componentWillMount(){this.props.isFetchingScanStatus||this.props.isOfflineMode||this.props.fetchScan()}render(){return null}}r()(u,"propTypes",{isFetchingScanStatus:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingScanStatus:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingScanStatus:(0,p.gE)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchScan:()=>e((0,p.eR)())})))(u)},1865:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9196),i=n(9309),o=n(3002);class c extends a.Component{componentDidMount(){this.props.isFetchingSiteBenefits||this.props.fetchSiteBenefits()}render(){return null}}r()(c,"defaultProps",{isFetchingSiteBenefitsData:!1}),t.Z=(0,i.$j)((e=>({isFetchingSiteBenefits:(0,o.bl)(e)})),(e=>({fetchSiteBenefits:()=>e((0,o.IO)())})))(c)},2658:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9196),i=n(9309),o=n(3002);class c extends a.Component{componentDidMount(){this.props.isFetchingSiteDiscount||this.props.fetchSiteDiscount()}render(){return null}}r()(c,"defaultProps",{isFetchingSiteDiscount:!1}),t.Z=(0,i.$j)((e=>({isFetchingSiteDiscount:(0,o.Zd)(e)})),(e=>({fetchSiteDiscount:()=>e((0,o.N$)())})))(c)},7679:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),a=n(9309),i=n(1372);class o extends r().Component{UNSAFE_componentWillMount(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()}render(){return null}}t.Z=(0,a.$j)((e=>({isFetchingPluginsData:(0,i.vz)(e)})),(e=>({fetchPluginsData:()=>e((0,i.s4)())})))(o)},4289:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(2819),i=n(5162),o=n.n(i),c=n(9196),l=n(9309),p=n(7805);class u extends c.Component{componentDidMount(){!this.props.isFetchingSiteProducts&&(0,a.isEmpty)(this.props.siteProducts)&&this.props.fetchSiteProducts()}render(){return null}}r()(u,"propTypes",{isFetchingSiteProducts:o().bool}),r()(u,"defaultProps",{isFetchingSiteProducts:!1}),t.Z=(0,l.$j)((e=>({isFetchingSiteProducts:(0,p.aX)(e),products:(0,p.dt)(e)})),(e=>({fetchSiteProducts:()=>e((0,p.pW)())})))(u)},9270:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(2819),i=n(5162),o=n.n(i),c=n(9196),l=n(9309),p=n(6300),u=n(3002);class d extends c.Component{UNSAFE_componentWillMount(){this.props.isFetchingSiteData||this.props.isOfflineMode||!(0,a.isEmpty)(this.props.sitePlan)||(this.props.fetchSiteData(),this.props.fetchSiteFeatures(),this.props.fetchAvailablePlans(),this.props.fetchSitePurchases())}render(){return null}}r()(d,"propTypes",{isFetchingSiteData:o().bool,isOfflineMode:o().bool,sitePlan:o().object}),r()(d,"defaultProps",{isFetchingSiteData:!1,isOfflineMode:!1,sitePlan:{}}),t.Z=(0,l.$j)((e=>({isFetchingSiteData:(0,u._5)(e),isOfflineMode:(0,p.Ex)(e),sitePlan:(0,u.UL)(e)})),(e=>({fetchSiteData:()=>e((0,u.tO)()),fetchSiteFeatures:()=>e((0,u.ij)()),fetchAvailablePlans:()=>e((0,u.lA)()),fetchSitePurchases:()=>e((0,u.Z_)())})))(d)},9429:function(e,t,n){"use strict";var s=n(9196),r=n(9309),a=n(7296);class i extends s.Component{UNSAFE_componentWillMount(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}render(){return null}}i.defaultProps={fetchStatsData:()=>{}},t.Z=(0,r.$j)((e=>({fetchStatsData:t=>(0,a.g4)(e,t),fetchingStatsData:(0,a.F2)(e)})),(e=>({fetchStatsData:t=>e((0,a.g4)(t))})))(i)},7583:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),a=n(9309),i=n(6300),o=n(9508);class c extends r().Component{UNSAFE_componentWillMount(){!this.props.isFetchingUserData&&this.props.userCanConnectAccount&&this.props.fetchUserConnectionData()}render(){return null}}t.Z=(0,a.$j)((e=>({isFetchingUserData:(0,i.Dd)(e),userCanConnectAccount:(0,o.n0)(e)})),(e=>({fetchUserConnectionData:()=>e((0,i.jb)())})))(c)},3526:function(e,t,n){"use strict";var s=n(9196),r=n(9309),a=n(835),i=n(7296),o=n(416);class c extends s.Component{componentDidMount(){this.props.fetchingVaultPressData||this.props.hasLoadedVaultPressData||!this.props.isModuleActivated("vaultpress")||this.props.fetchVaultPressData()}render(){return null}}c.defaultProps={fetchVaultPressData:()=>{}},t.Z=(0,r.$j)((e=>({fetchVaultPressData:(0,i.l7)(),fetchingVaultPressData:(0,i.P_)(e),isModuleActivated:t=>(0,o.mp)(e,t),hasLoadedVaultPressData:(0,i.V_)(e)})),(e=>(0,a.DE)({fetchVaultPressData:i.l7},e)))(c)},5074:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5162),i=n.n(a),o=n(9196),c=n(9309),l=n(6300),p=n(2948);class u extends o.Component{componentDidMount(){this.props.isFetchingWafSettings||this.props.isOfflineMode||this.props.fetchWafSettings()}render(){return null}}r()(u,"propTypes",{isFetchingWafSettings:i().bool,isOfflineMode:i().bool}),r()(u,"defaultProps",{isFetchingWafSettings:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingWafSettings:(0,p.vd)(e),isOfflineMode:(0,l.Ex)(e)})),(e=>({fetchWafSettings:()=>e((0,p.Iv)())})))(u)},8088:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5799),c=n(9584),l=n(2819),p=n(9196),u=n.n(p),d=n(9309),m=n(7296),h=n(6300),g=n(625),f=n(9508),k=n(9377),v=n(5080),_=n(3002),E=n(3915);class y extends u().Component{constructor(){super(...arguments),r()(this,"onPlanChange",(e=>{this.props.switchPlanPreview(e.target.value)})),r()(this,"onPermissionsChange",(e=>{this.props.switchUserPermissions(e.target.value)})),r()(this,"onThreatsChange",(e=>{this.props.switchThreats(e.target.value)})),r()(this,"onRewindStatusChange",(e=>{this.props.switchRewindState(e.target.value)})),r()(this,"onScanStatusChange",(e=>{this.props.switchScanState(e.target.value)})),r()(this,"maybeShowStatsToggle",(()=>{if(!this.props.isAdmin)return u().createElement("div",null,u().createElement("hr",null),u().createElement("ul",null,u().createElement("li",null,u().createElement("label",{htmlFor:"view_stats"},u().createElement("input",{type:"radio",id:"view_stats",value:"view_stats",name:"view_stats",checked:this.props.canViewStats,onChange:this.onPermissionsChange}),"Can view stats")),u().createElement("li",null,u().createElement("label",{htmlFor:"hide_stats"},u().createElement("input",{type:"radio",id:"hide_stats",value:"hide_stats",name:"hide_stats",checked:!this.props.canViewStats,onChange:this.onPermissionsChange}),"Can not view stats"))))})),r()(this,"showIsLinkedToggle",(()=>u().createElement("div",null,u().createElement("hr",null),u().createElement("ul",null,u().createElement("li",null,u().createElement("label",{htmlFor:"is_linked"},u().createElement("input",{type:"radio",id:"is_linked",value:"is_linked",name:"is_linked",checked:this.props.isUserLinked,onChange:this.onPermissionsChange}),"Linked")),u().createElement("li",null,u().createElement("label",{htmlFor:"is_unlinked"},u().createElement("input",{type:"radio",id:"is_unlinked",value:"is_unlinked",name:"is_unlinked",checked:!this.props.isUserLinked,onChange:this.onPermissionsChange}),"Unlinked"))))))}render(){if(!this.props.canDisplayDevCard)return null;const e=i()(this.props.className,"jp-dev-card"),t=(0,c.sc)(this.props.sitePlan.product_slug),n=(0,l.get)(this.props.rewindStatus,["state"],!1),s=(0,l.get)(this.props.scanStatus,["state"],!1);return u().createElement(o.Z,{compact:!0,className:e},u().createElement("a",{className:"jp-dev-card__close",role:"button",tabIndex:"0",onKeyDown:(0,E.Z)(this.props.disableDevCard),onClick:this.props.disableDevCard},"x"),u().createElement("div",{className:"jp-dev-card__heading"},"Dev Tools"),u().createElement("ul",null,u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_free"},u().createElement("input",{type:"radio",id:"jetpack_free",value:"jetpack_free",name:"jetpack_free",checked:"is-free-plan"===t,onChange:this.onPlanChange}),"Free")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_personal"},u().createElement("input",{type:"radio",id:"jetpack_personal",value:"jetpack_personal",name:"jetpack_personal",checked:"is-personal-plan"===t,onChange:this.onPlanChange}),"Personal")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_premium"},u().createElement("input",{type:"radio",id:"jetpack_premium",value:"jetpack_premium",name:"jetpack_premium",checked:"is-premium-plan"===t,onChange:this.onPlanChange}),"Premium")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_business"},u().createElement("input",{type:"radio",id:"jetpack_business",value:"jetpack_business",name:"jetpack_business",checked:"is-business-plan"===t,onChange:this.onPlanChange}),"Pro")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_security_t1"},u().createElement("input",{type:"radio",id:"jetpack_security_t1",value:"jetpack_security_t1_yearly",name:"jetpack_security_t1_yearly",checked:"is-security-t1-plan"===t,onChange:this.onPlanChange}),"Security (10 GB)")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_security_t2"},u().createElement("input",{type:"radio",id:"jetpack_security_t2",value:"jetpack_security_t2_yearly",name:"jetpack_security_t2_yearly",checked:"is-security-t2-plan"===t,onChange:this.onPlanChange}),"Security (1 TB)")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_complete"},u().createElement("input",{type:"radio",id:"jetpack_complete",value:"jetpack_complete",name:"jetpack_complete",checked:"is-complete-plan"===t,onChange:this.onPlanChange}),"Complete")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_backup_t0"},u().createElement("input",{type:"radio",id:"jetpack_backup_t0",value:"jetpack_backup_t0_yearly",name:"jetpack_backup_t0_yearly",checked:"is-backup-t0-plan"===t,onChange:this.onPlanChange}),"Backup (1 GB)")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_backup_t1"},u().createElement("input",{type:"radio",id:"jetpack_backup_t1",value:"jetpack_backup_t1_yearly",name:"jetpack_backup_t1_yearly",checked:"is-backup-t1-plan"===t,onChange:this.onPlanChange}),"Backup (10 GB)")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_backup_t2"},u().createElement("input",{type:"radio",id:"jetpack_backup_t2",value:"jetpack_backup_t2_yearly",name:"jetpack_backup_t2_yearly",checked:"is-backup-t2-plan"===t,onChange:this.onPlanChange}),"Backup (1 TB)")),u().createElement("li",{className:"jp-dev-card__deprecated-plans-list-header"},"— DEPRECATED —"),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_security_daily"},u().createElement("input",{type:"radio",id:"jetpack_security_daily",value:"jetpack_security_daily",name:"jetpack_security_daily",checked:"is-daily-security-plan"===t,onChange:this.onPlanChange}),"Security Daily")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_security_realtime"},u().createElement("input",{type:"radio",id:"jetpack_security_realtime",value:"jetpack_security_realtime",name:"jetpack_security_realtime",checked:"is-realtime-security-plan"===t,onChange:this.onPlanChange}),"Security Real-Time")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_backup_daily"},u().createElement("input",{type:"radio",id:"jetpack_backup_daily",value:"jetpack_backup_daily",name:"jetpack_backup_daily",checked:"is-daily-backup-plan"===t,onChange:this.onPlanChange}),"Backup Daily")),u().createElement("li",null,u().createElement("label",{htmlFor:"jetpack_backup_realtime"},u().createElement("input",{type:"radio",id:"jetpack_backup_realtime",value:"jetpack_backup_realtime",name:"jetpack_backup_realtime",checked:"is-realtime-backup-plan"===t,onChange:this.onPlanChange}),"Backup Real-time"))),u().createElement("hr",null),u().createElement("ul",null,u().createElement("li",null,u().createElement("label",{htmlFor:"admin_master"},u().createElement("input",{type:"radio",id:"admin_master",value:"admin_master",name:"admin_master",checked:this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (master)")),u().createElement("li",null,u().createElement("label",{htmlFor:"admin_secondary"},u().createElement("input",{type:"radio",id:"admin_secondary",value:"admin_secondary",name:"admin_secondary",checked:this.props.isAdmin&&!this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (secondary)")),u().createElement("li",null,u().createElement("label",{htmlFor:"editor"},u().createElement("input",{type:"radio",id:"editor",value:"editor",name:"editor",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Editor")),u().createElement("li",null,u().createElement("label",{htmlFor:"subscriber"},u().createElement("input",{type:"radio",id:"subscriber",value:"subscriber",name:"subscriber",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Subscriber"))),u().createElement("hr",null),u().createElement("ul",null,u().createElement("li",null,u().createElement("label",{htmlFor:"nothreats"},u().createElement("input",{type:"radio",id:"nothreats",value:0,name:"nothreats",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"No threats")),u().createElement("li",null,u().createElement("label",{htmlFor:"threats"},u().createElement("input",{type:"radio",id:"threats",value:17,name:"threats",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"Threats"))),u().createElement("hr",null),u().createElement("ul",null,u().createElement("strong",null,"Backup"),u().createElement("li",null,u().createElement("label",{htmlFor:"rewindUnavailable"},u().createElement("input",{type:"radio",id:"rewindUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===n,onChange:this.onRewindStatusChange}),"Unavailable")),u().createElement("li",null,u().createElement("label",{htmlFor:"rewindProvisioning"},u().createElement("input",{type:"radio",id:"rewindProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===n,onChange:this.onRewindStatusChange}),"Provisioning")),u().createElement("li",null,u().createElement("label",{htmlFor:"rewindAwatingCreds"},u().createElement("input",{type:"radio",id:"rewindAwatingCreds",value:"awaiting_credentials",name:"awaiting_credentials",checked:"awaiting_credentials"===n,onChange:this.onRewindStatusChange}),"Awaiting credentials")),u().createElement("li",null,u().createElement("label",{htmlFor:"rewindActive"},u().createElement("input",{type:"radio",id:"rewindActive",value:"active",name:"active",checked:"active"===n,onChange:this.onRewindStatusChange}),"Active"))),u().createElement("ul",null,u().createElement("strong",null,"Scan"),u().createElement("li",null,u().createElement("label",{htmlFor:"scanUnavailable"},u().createElement("input",{type:"radio",id:"scanUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===s,onChange:this.onScanStatusChange}),"Unavailable")),u().createElement("li",null,u().createElement("label",{htmlFor:"scanProvisioning"},u().createElement("input",{type:"radio",id:"scanProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===s,onChange:this.onScanStatusChange}),"Provisioning")),u().createElement("li",null,u().createElement("label",{htmlFor:"scanIdle"},u().createElement("input",{type:"radio",id:"scanIdle",value:"idle",name:"idle",checked:"idle"===s,onChange:this.onScanStatusChange}),"Idle")),u().createElement("li",null,u().createElement("label",{htmlFor:"scanScanning"},u().createElement("input",{type:"radio",id:"scanScanning",value:"scanning",name:"scanning",checked:"scanning"===s,onChange:this.onScanStatusChange}),"Scanning"))),this.maybeShowStatsToggle(),this.showIsLinkedToggle())}}r()(y,"displayName","DevCard"),t.Z=(0,d.$j)((e=>({isDevVersion:(0,f._W)(e),sitePlan:(0,_.UL)(e),canDisplayDevCard:(0,g.Ry)(e),isUserLinked:(0,h.BU)(e),canViewStats:(0,f.px)(e),isConnectionOwner:(0,h.QM)(e),isAdmin:(0,f.WB)(e),canEditPosts:(0,f.rp)(e),getVaultPressScanThreatCount:()=>(0,m._R)(e),rewindStatus:(0,k.of)(e),scanStatus:(0,v.C8)(e)})),(e=>({switchPlanPreview:t=>e((0,g.fb)(t)),switchUserPermissions:t=>e((0,g.Yw)(t)),switchThreats:t=>e((0,g.aX)(parseInt(t))),disableDevCard:()=>e((0,g.Wh)()),switchRewindState:t=>e((0,g._s)(t)),switchScanState:t=>e((0,g.pH)(t))})))(y)},860:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(5235),c=n.n(o),l=n(5799),p=n(5773),u=n(5060),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(3915);class v extends f().Component{constructor(){super(...arguments),i()(this,"state",{expanded:this.props.expanded}),i()(this,"onClick",(()=>{this.props.children&&this.setState({expanded:!this.state.expanded}),this.props.onClick&&this.props.onClick(),this.state.expanded?this.props.onClose(this.props.cardKey):this.props.onOpen(this.props.cardKey)})),i()(this,"getClickAction",(()=>{if(!this.props.disabled)return this.onClick})),i()(this,"getActionButton",(()=>this.state.expanded&&this.props.actionButtonExpanded||this.props.actionButton)),i()(this,"renderActionButton",(()=>{const e=this.props.clickableHeader?null:this.getClickAction();if(this.props.actionButton)return f().createElement("button",{className:"dops-foldable-card__action",onClick:e},this.getActionButton());if(this.props.children){const t=24;return f().createElement("button",{type:"button",disabled:this.props.disabled,className:"dops-foldable-card__action dops-foldable-card__expand",onClick:e},f().createElement("span",{className:"screen-reader-text"},"More"),f().createElement(u.Z,{icon:this.props.icon,size:t}))}})),i()(this,"renderContent",(()=>f().createElement("div",{className:"dops-foldable-card__content"},this.props.children))),i()(this,"renderHeader",(()=>{const e=this.props.summary?f().createElement("span",{className:"dops-foldable-card__summary"},this.props.summary," "):null,t=this.props.expandedSummary?f().createElement("span",{className:"dops-foldable-card__summary_expanded"},this.props.expandedSummary," "):null,n=this.props.header?f().createElement("div",{className:"dops-foldable-card__header-text"},this.props.header):null,s=this.props.subheader?f().createElement("div",{className:"dops-foldable-card__subheader"},this.props.subheader):null,a={role:"button",tabIndex:0,onClick:this.getClickAction(),onKeyDown:(0,k.Z)(this.getClickAction())},i=c()("dops-foldable-card__header",{"is-clickable":!!this.props.clickableHeader,"has-border":!!this.props.summary}),o=c()("dops-foldable-card__header-text",{"is-clickable":!!this.props.clickableHeaderText});return f().createElement("div",r()({className:i},this.props.clickableHeader?a:{}),f().createElement("span",{className:"dops-foldable-card__main"},f().createElement("div",r()({className:o},this.props.clickableHeaderText?a:{}),n,s)),f().createElement("span",{className:"dops-foldable-card__secondary"},e,t,this.renderActionButton()))}))}render(){const e=this.props.compact?p.Z:l.Z,t=c()("dops-foldable-card",this.props.className,{"is-disabled":!!this.props.disabled,"is-expanded":!!this.state.expanded,"has-expanded-summary":!!this.props.expandedSummary});return f().createElement(e,{className:t},this.renderHeader(),this.state.expanded&&this.renderContent())}}i()(v,"propTypes",{actionButton:h().element,actionButtonExpanded:h().element,cardKey:h().string,compact:h().bool,disabled:h().bool,expandedSummary:h().oneOfType([h().string,h().element]),expanded:h().bool,icon:h().string,onClick:h().func,onClose:h().func,onOpen:h().func,summary:h().oneOfType([h().string,h().element]),clickableHeader:h().bool,clickableHeaderText:h().bool}),i()(v,"defaultProps",{onOpen:d.noop,onClose:d.noop,cardKey:"",icon:"chevron-down",isExpanded:!1,clickableHeader:!1,clickableHeaderText:!1}),t.Z=v},7516:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(8237),o=n(5609),c=n(5736),l=n(5235),p=n.n(l),u=n(8088),d=n(4069),m=n(9196),h=n.n(m),g=n(9309),f=n(6300),k=n(625),v=n(9508),_=n(3915);const __=c.__,_x=c._x,E=()=>{const e=document.getElementById("jp-navigation").offsetTop;window.scrollTo(0,window.scrollY-e/1.5),window.scrollY>e&&window.requestAnimationFrame(E)};class y extends h().Component{constructor(){super(...arguments),r()(this,"resetOnClick",(()=>{window.confirm(__("This will reset all Jetpack options, are you sure?","jetpack"))&&this.props.resetOptions()})),r()(this,"trackVersionClick",(()=>{d.Z.tracks.recordJetpackClick({target:"footer_link",link:"version"})})),r()(this,"trackTermsClick",(()=>{d.Z.tracks.recordJetpackClick({target:"footer_link",link:"terms"})})),r()(this,"trackAboutClick",(()=>{d.Z.tracks.recordJetpackClick({target:"footer_link",link:"about"})})),r()(this,"trackPrivacyClick",(()=>{window.requestAnimationFrame(E),d.Z.tracks.recordJetpackClick({target:"footer_link",link:"privacy"})})),r()(this,"trackModulesClick",(()=>{d.Z.tracks.recordJetpackClick({target:"footer_link",link:"modules"})})),r()(this,"trackDebugClick",(()=>{d.Z.tracks.recordJetpackClick({target:"footer_link",link:"debug"})}))}render(){const e=p()(this.props.className,"jp-footer"),t=this.props.currentVersion,n=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack_about":(0,a.Z)("jetpack"),s=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack#/privacy":(0,a.Z)("a8c-privacy");return h().createElement("div",{className:e},h().createElement("ul",{className:"jp-footer__links"},(()=>{if(!this.props.isAtomicPlatform)return h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackVersionClick,href:(0,a.Z)("jetpack"),target:"_blank",rel:"noopener noreferrer",className:"jp-footer__link",title:__("Jetpack version","jetpack")},t?(0,c.sprintf)(/* Translators: placeholder is a version number. */
__("Jetpack version %s","jetpack"),t):"Jetpack",h().createElement(o.Dashicon,{icon:"external"})))})(),h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackAboutClick,href:n,target:this.props.siteConnectionStatus?"_self":"_blank",rel:"noopener noreferrer",className:"jp-footer__link",title:__("About Jetpack","jetpack")},_x("About","Link to learn more about Jetpack.","jetpack"),!this.props.siteConnectionStatus&&h().createElement(o.Dashicon,{icon:"external"}))),h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackTermsClick,href:(0,a.Z)("wpcom-tos"),target:"_blank",rel:"noopener noreferrer",title:__("WordPress.com Terms of Service","jetpack"),className:"jp-footer__link"},_x("Terms","Shorthand for Terms of Service.","jetpack"),h().createElement(o.Dashicon,{icon:"external"}))),h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackPrivacyClick,href:s,target:this.props.siteConnectionStatus?"_self":"_blank",rel:"noopener noreferrer",title:__("Automattic's Privacy Policy","jetpack"),className:"jp-footer__link"},_x("Privacy","Shorthand for Privacy Policy.","jetpack"),!this.props.siteConnectionStatus&&h().createElement(o.Dashicon,{icon:"external"}))),(()=>{if(this.props.siteConnectionStatus&&this.props.userCanManageOptions)return h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackModulesClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack_modules",title:__("Access the full list of Jetpack modules available on your site.","jetpack"),className:"jp-footer__link"},_x("Modules","Navigation item. Noun. Links to a list of modules for Jetpack.","jetpack")))})(),(()=>{if(this.props.userCanManageOptions)return h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{onClick:this.trackDebugClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:__("Test your site’s compatibility with Jetpack.","jetpack"),className:"jp-footer__link"},_x("Debug","Navigation item. Noun. Links to a debugger tool for Jetpack.","jetpack")))})(),(()=>this.props.isDevVersion&&this.props.userCanManageOptions?h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,_.Z)(this.resetOnClick),onClick:this.resetOnClick,className:"jp-footer__link"},_x("Reset Options (dev only)","Navigation item.","jetpack"))):"")(),(()=>this.props.isDevVersion?h().createElement("li",{className:"jp-footer__link-item"},h().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,_.Z)(this.props.enableDevCard),onClick:this.props.enableDevCard,className:"jp-footer__link"},_x("Dev Tools","Navigation item.","jetpack"))):"")(),(()=>{if(this.props.isDevVersion&&this.props.displayDevCard)return h().createElement(u.Z,null)})()),h().createElement("div",{className:"jp-footer__rna-footer"},h().createElement(i.Z,{a8cLogoHref:n})))}}r()(y,"displayName","Footer"),t.Z=(0,g.$j)((e=>({currentVersion:(0,v.w1)(e),displayDevCard:(0,k.Ry)(e),isAtomicPlatform:(0,v.vL)(e),isDevVersion:(0,v._W)(e),isInIdentityCrisis:(0,f.l9)(e),siteAdminUrl:(0,v.wW)(e),siteConnectionStatus:(0,f.Gz)(e),userCanManageOptions:(0,v.UF)(e)})),(e=>({resetOptions:()=>e((0,k._G)("options")),enableDevCard:()=>e((0,k.vN)())})))(y)},5452:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5060),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p);class d extends u().Component{render(){const e=i()({"form-input-validation":!0,"is-warning":this.props.isWarning,"is-error":this.props.isError}),t=this.props.isError||this.props.isWarning?"notice-outline":"checkmark";return u().createElement("div",{className:e},u().createElement("span",null,u().createElement(o.Z,{size:24,icon:this.props.icon?this.props.icon:t})," ",this.props.text))}}r()(d,"displayName","FormInputValidation"),r()(d,"propTypes",{isError:l().bool,isWarning:l().bool,text:l().node,icon:l().string}),r()(d,"defaultProps",{isError:!1})},9698:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(5235),c=n.n(o),l=n(2491),p=n.n(l),u=n(7506),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(1850),v=n.n(k);class _ extends f().Component{constructor(){super(...arguments),i()(this,"displayPrompt",(()=>{window.prompt(this.props.prompt,this.props.text)}))}componentDidMount(){const e=v().findDOMNode(this.refs.button);this.clipboard=new(p())(e,{text:()=>this.props.text}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)}componentWillUnmount(){this.clipboard.destroy(),delete this.clipboard}render(){const e=c()("dops-clipboard-button",this.props.className);return f().createElement(u.Z,r()({ref:"button"},(0,d.omit)(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}}i()(_,"displayName","ClipboardButton"),i()(_,"propTypes",{className:h().string,text:h().string,prompt:h().string,onCopy:h().func}),i()(_,"defaultProps",{onCopy:d.noop})},1674:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(5235),c=n.n(o),l=n(4517),p=n(2819),u=n(9196),d=n.n(u);class m extends d().Component{render(){return d().createElement(l.Z,r()({},(0,p.omit)(this.props,"className"),{className:c()(this.props.className,"is-compact")}),this.props.children)}}i()(m,"displayName","CompactFormToggle")},4517:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(8402),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p);class d extends p.Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"togglePopover",(()=>{this.setState({showPopover:!this.state.showPopover})})),r()(this,"_onPopoverClose",(()=>{this.setState({showPopover:!1})})),r()(this,"renderPopover",(()=>u().createElement(o.Z,{isVisible:this.state.showPopover,context:this.refs&&this.refs.toggleSwitch,position:this.props.disabledPopoverPosition,onClose:this._onPopoverClose,className:"dops-info-popover__tooltip"},this.props.disabledReason))),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled?this.props.disabledReason&&this.togglePopover():this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}render(){const e=this.props.id||"toggle-"+this.id,t=i()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return u().createElement("span",null,u().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),u().createElement("label",{className:"form-toggle__label",htmlFor:e},u().createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"}),u().createElement("span",{className:"form-toggle__label-content",onClick:this.onLabelClick},this.props.children)),this.renderPopover())}}r()(d,"propTypes",{onChange:l().func,onKeyDown:l().func,checked:l().bool,disabled:l().bool,id:l().string,className:l().string,toggling:l().bool,"aria-label":l().string,children:l().node,disabledReason:l().node}),r()(d,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""}),r()(d,"idNum",0)},1775:function(e,t,n){"use strict";n.d(t,{B1:function(){return E},C_:function(){return g},Gj:function(){return k},ih:function(){return w},lX:function(){return f}});var s=n(17),r=n.n(s),a=n(2674),i=n.n(a),o=n(5736),c=n(5235),l=n.n(c),p=n(7506),u=n(6200),d=n(2819),m=n(9196),h=n.n(m);const __=o.__,g=e=>h().createElement("fieldset",i()({},(0,d.omit)(e,"className"),{className:l()(e.className,"jp-form-fieldset")}),e.children);class f extends h().Component{render(){const{className:e,htmlFor:t,...n}=this.props;return h().createElement("label",i()({},n,{htmlFor:t,className:l()(e,"jp-form-label")}),this.props.children)}}r()(f,"displayName","FormLabel");class k extends h().Component{render(){return h().createElement("legend",i()({},(0,d.omit)(this.props,"className"),{className:l()(this.props.className,"jp-form-legend")}),this.props.children)}}r()(k,"displayName","FormLegend");class v extends h().Component{render(){const e=(0,d.omit)(this.props,["className","type"]);return h().createElement("input",i()({},e,{type:"checkbox",className:l()(this.props.className,"jp-form-checkbox")}))}}r()(v,"displayName","FormInputCheckbox");class _ extends h().Component{constructor(){super(...arguments),r()(this,"focus",(()=>{this.refs.textField.focus()})),r()(this,"selectOnFocus",(e=>{e.target.select()}))}render(){const{className:e,selectOnFocus:t}=this.props,n=l()(e,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),s={};for(const e in this.props)["isError","isValid","selectOnFocus"].includes(e)||(s[e]=this.props[e]);return h().createElement("input",i()({},s,{ref:"textField",className:n,onClick:t?this.selectOnFocus:null}))}}r()(_,"displayName","FormTextInput"),r()(_,"defaultProps",{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"});class E extends h().Component{render(){return h().createElement("textarea",i()({},(0,d.omit)(this.props,"className"),{className:l()(this.props.className,"jp-form-textarea")}),this.props.children)}}r()(E,"displayName","FormTextarea");class y extends h().Component{render(){const e=(0,d.omit)(this.props,["className","type"]);return h().createElement("input",i()({},e,{type:"radio",className:l()(this.props.className,"jp-form-radio")}))}}r()(y,"displayName","FormRadio");class b extends h().Component{constructor(){super(...arguments),r()(this,"getDefaultButtonAction",(()=>this.props.isSubmitting?__("Saving…","jetpack"):__("Save Settings","jetpack",0)))}render(){const e=l()({"jp-form-button":!0});return h().createElement(p.Z,i()({},(0,d.omit)(this.props,"className"),{variant:this.props.isPrimary?"primary":void 0,className:l()(this.props.className,e)}),(0,d.isEmpty)(this.props.children)?this.getDefaultButtonAction():this.props.children)}}r()(b,"displayName","FormsButton"),r()(b,"defaultProps",{isSubmitting:!1,isPrimary:!0,type:"submit"});class w extends h().Component{constructor(){super(...arguments),r()(this,"handleOnSelect",(e=>{this.props.onOptionChange({target:{type:"select",name:this.props.name,value:e.value}})}))}render(){const e=[];return(0,d.forOwn)(this.props.validValues,((t,n)=>{e.push({label:t,value:n})})),h().createElement(u.Z,{options:e,onSelect:this.handleOnSelect,disabled:this.props.disabled,initialSelected:this.props.value})}}},7851:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(1668),i=n(2099),o=n(1128),c=n.n(o),l=n(1088),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(9309),g=n(835),f=n(1549);const k=c()("calypso:notices");class v extends m().Component{constructor(){super(...arguments),r()(this,"removeNotice",(e=>{e&&l.Z.removeNotice(e)})),r()(this,"handleLocalNoticeDismissClick",(e=>()=>this.removeNotice(e))),r()(this,"handleReduxNoticeDismissClick",(e=>()=>this.props.removeNotice(e)))}UNSAFE_componentWillMount(){k("Mounting Global Notices React component.")}render(){let e=(this.props.notices[this.props.id]||[]).map((function(e,t){return m().createElement(a.Z,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.handleLocalNoticeDismissClick(e),showDismiss:e.showDismiss},e.button&&m().createElement(i.Z,{href:e.href,onClick:e.onClick},e.button))}),this);return e=e.concat(this.props.storeNotices.map((function(e,t){return m().createElement(a.Z,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.handleReduxNoticeDismissClick(e.noticeId),text:e.text})}),this)),e.length?m().createElement("div",{id:this.props.id,className:"global-notices"},e):null}}r()(v,"displayName","NoticesList"),r()(v,"propTypes",{id:u().string,notices:u().oneOfType([u().object,u().array])}),r()(v,"defaultProps",{id:"overlay-notices",notices:Object.freeze([])}),t.Z=(0,h.$j)((e=>({storeNotices:e.globalNotices})),(e=>(0,g.DE)({removeNotice:f.qq},e)))(v)},5901:function(e,t,n){"use strict";n.d(t,{m:function(){return r},o:function(){return s}});const s="NEW_NOTICE",r="REMOVE_NOTICE"},1549:function(e,t,n){"use strict";n.d(t,{RT:function(){return o},iI:function(){return i},qq:function(){return a},tF:function(){return c}});var s=n(2819),r=n(5901);function a(e){return{noticeId:e,type:r.m}}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a={noticeId:n.id||(0,s.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:r.o,notice:a}}const o=i.bind(null,"is-success"),c=i.bind(null,"is-error");i.bind(null,"is-info"),i.bind(null,"is-warning")},3929:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var s=n(835),r=n(5901);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.o:return[t.notice,...e];case r.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,s.UY)({globalNotices:a})},5060:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l);class u extends p().PureComponent{needsOffset(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0}needsOffsetX(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0}needsOffsetY(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0}render(){const e="gridicons-"+this.props.icon,t=this.needsOffset(e,this.props.size),n=this.needsOffsetX(e,this.props.size),s=this.needsOffsetY(e,this.props.size),r=i()("gridicon",e,this.props.className,{"needs-offset":t,"needs-offset-x":n,"needs-offset-y":s});let a;switch(e){default:a=p().createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"})));break;case"gridicons-backspace":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"})));break;case"gridicons-bold":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"})));break;case"gridicons-camera":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"})));break;case"gridicons-checkmark-circle":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})));break;case"gridicons-checkmark":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"})));break;case"gridicons-computer":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"})));break;case"gridicons-create":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})));break;case"gridicons-flag":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"})));break;case"gridicons-globe":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),p().createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"})));break;case"gridicons-image":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"})));break;case"gridicons-indent-left":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})));break;case"gridicons-info":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})));break;case"gridicons-ink":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})));break;case"gridicons-pencil":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})));break;case"gridicons-plans":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})));break;case"gridicons-share-ios":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 16c-.788 0-1.5.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})));break;case"gridicons-star":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})));break;case"gridicons-stats-alt":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"})));break;case"gridicons-text-color":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"})));break;case"gridicons-visible":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":a=p().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},p().createElement("g",null,p().createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),p().createElement("g",null,p().createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return a}}r()(u,"displayName","Gridicon"),r()(u,"defaultProps",{className:"",size:24}),r()(u,"propTypes",{icon:c().string.isRequired,size:c().number,onClick:c().func,className:c().string}),t.Z=u},2698:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5060),c=n(8402),l=n(4069),p=n(2819),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);class g extends h().Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"_onClick",(e=>{this.props.onClick(),e.preventDefault(),this.setState({showPopover:!this.state.showPopover},this._recordStats)})),r()(this,"_onClose",(()=>{this.setState({showPopover:!1},this._recordStats)}))}render(){const e=i()("dops-info-popover","dops-info-popover-button",{is_active:this.state.showPopover},this.props.className);return h().createElement("button",{ref:"infoPopover",className:e,onClick:this._onClick},h().createElement(o.Z,{icon:"info-outline",size:18}),this.props.screenReaderText?h().createElement("span",{className:"screen-reader-text"},this.props.screenReaderText):"",h().createElement(c.Z,{id:this.props.id,isVisible:this.state.showPopover,context:this.refs&&this.refs.infoPopover,ignoreContext:this.props.ignoreContext,position:this.props.position,onClose:this._onClose,className:i()("dops-info-popover__tooltip",this.props.className),rootClassName:this.props.rootClassName},this.props.children))}_recordStats(){const{gaEventCategory:e,popoverName:t}=this.props;if(e&&t){const n=this.state.showPopover?" Opened":" Closed";l.Z.ga.recordEvent(e,"InfoPopover: "+t+n)}}}r()(g,"displayName","InfoPopover"),r()(g,"propTypes",{id:d().string,position:d().string,className:d().string,rootClassName:d().string,gaEventCategory:d().string,popoverName:d().string,onClick:d().func,ignoreContext:d().shape({getDOMNode:d().function})}),r()(g,"defaultProps",{position:"bottom",onClick:p.noop})},6626:function(e,t,n){"use strict";var s=n(5609),r=n(7506),a=n(9196),i=n.n(a);t.Z=e=>{const{isInstalling:t=!1,children:n=null,...a}=e,o=t?i().createElement("div",{className:"jp-install-button__spinner-container"},i().createElement(s.Spinner,null)):n;return i().createElement(r.Z,a,o)}},5733:function(e,t,n){"use strict";n.d(t,{$j:function(){return h},zv:function(){return m}});var s=n(17),r=n.n(s),a=n(7407),i=n(2819),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(9309),d=n(9508);class m extends a.jL{componentDidMount(){!this.props.hidePromotionBanner&&this.props.arePromotionsActive&&this.props.trackBannerDisplay()}render(){return this.props.hidePromotionBanner?null:this.props.arePromotionsActive?p().createElement(a.jL,this.props):null}}function h(e){return(0,u.$j)(((e,t)=>{const n=(0,d.pK)(e);return{arePromotionsActive:(0,d.Hy)(e),userCanPurchasePlan:n,hidePromotionBanner:!!t.plan&&!n}}))((0,a.$j)(e))}r()(m,"propTypes",{callToAction:c().string,className:c().string,description:c().node,eventFeature:c().string,feature:c().string,href:c().string,icon:c().string,iconAlt:c().string,iconSrc:c().string,list:c().arrayOf(c().string),onClick:c().func,trackBannerDisplay:c().func,path:c().string,plan:c().string,siteSlug:c().string,title:c().node.isRequired}),r()(m,"defaultProps",{onClick:i.noop,trackBannerDisplay:i.noop,plan:""}),t.ZP=h(m)},6165:function(e,t,n){"use strict";var s=n(6895),r=n(4322),a=n(5609),i=n(9307),o=n(5736),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p);const __=o.__,d=e=>{const{siteBenefits:t,context:n}=e;return u().createElement(u().Fragment,null,t.length>0&&u().createElement(u().Fragment,null,u().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},u().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},"disconnect"===n?__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"):__("Jetpack is currently powering features on your site. Once you deactivate Jetpack, these features will no longer be available.","jetpack",0))),u().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map(((e,t)=>{let{value:n,description:s,title:a}=e;return u().createElement(r.Z,{title:a,value:n,description:s,key:t})})))),t.length<=2&&u().createElement("div",{className:"jetpack-benefits__general-benefits-section"},u().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),u().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},u().createElement("li",{key:"reason-cdn"},(0,i.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:u().createElement(a.ExternalLink,{href:(0,s.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),u().createElement("li",{key:"reason-brute-force"},(0,i.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:u().createElement(a.ExternalLink,{href:(0,s.Z)("jetpack-features-brute-force"),rel:"noopener noreferrer",target:"_blank"})})),u().createElement("li",{key:"reason-social"},(0,i.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:u().createElement(a.ExternalLink,{href:(0,s.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))};d.propTypes={siteBenefits:l().array,context:l().oneOf(["disconnect","deactivate"])},d.defaultProps={context:"disconnect"},t.Z=d},8120:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5060),c=n(2819),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(3915);class h extends u.Component{constructor(){super(...arguments),r()(this,"maybeDismiss",(e=>{!this.props.showDismiss||e.code&&"Escape"!==e.code||this.props.dismiss(e)}))}componentDidMount(){document.addEventListener("keydown",this.maybeDismiss.bind(this),!1)}componentWillUnmount(){document.removeEventListener("keydown",this.maybeDismiss.bind(this),!1)}clickForeground(e){e.stopPropagation()}render(){const e=i()(this.props.className,"jp-dialogue-modern",{"has-featured-image":!!this.props.svg});return d().createElement("div",{className:"jp-dialogue-modern-full__container",role:"presentation",onClick:this.maybeDismiss,onKeyDown:(0,m.Z)(this.maybeDismiss)},d().createElement("div",{className:e,role:"presentation",onClick:this.clickForeground,onKeyDown:(0,m.Z)(this.clickForeground)},this.props.showDismiss&&d().createElement(o.Z,{icon:"cross-small",className:"jp-dialogue-modern-full__dismiss",tabIndex:"0",onKeyDown:(0,m.Z)(this.props.dismiss),onClick:this.props.dismiss}),this.props.svg,d().createElement("div",{className:"jp-dialogue-modern__content"},d().createElement("h1",{className:"jp-dialogue-modern__title"},this.props.title),this.props.content),d().createElement("div",null,this.props.belowContent)))}}h.propTypes={content:p().oneOfType([p().string,p().object]).isRequired,belowContent:p().oneOfType([p().string,p().object]).isRequired,svg:p().oneOfType([p().bool,p().object]),dismissOnClick:p().func,showDismiss:p().bool,title:p().string,adminUrl:p().string,dismiss:p().func},h.defaultProps={svg:!1,showDismiss:!0,dismiss:c.noop,content:"",belowContent:"",title:""},t.Z=h},2129:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var s=n(800),r=n(5736),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o);const __=r.__,l=e=>{let{altText:t}=e;return c().createElement("div",{className:"jp-loading-icon"},c().createElement("img",{src:s.hp+"/jetpack-logomark-blue.svg",alt:t}))};l.propTypes={altText:i().string},l.defaultProps={altText:__("Loading…","jetpack")}},381:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9196),i=n.n(a),o=n(9309),c=n(835),l=n(5613);class p extends i().Component{constructor(){super(...arguments),r()(this,"dismissJetpackActionNotice",(()=>{this.props.dismissJetpackActionNotice(this.props.jetpackNotices)})),r()(this,"renderNotices",(()=>{this.props.jetpackNotices;return!1}))}render(){return i().createElement("div",null,this.renderNotices())}}r()(p,"displayName","DismissableNotices"),t.Z=(0,o.$j)((e=>({jetpackNotices:(0,l.gq)(e),isDismissed:t=>(0,l.jE)(e,t)})),(e=>(0,c.DE)({dismissJetpackActionNotice:l.Sn},e)))(p)},7332:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(17),r=n.n(s),a=n(5736),i=n(1668),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(4721);const __=a.__;class d extends p().Component{render(){return p().createElement(i.Z,{showDismiss:!1,text:this.props.text,status:"is-error",icon:"link-break",display:this.props.display},p().createElement(u.Z,{errorCode:this.props.errorCode,errorData:this.props.errorData,action:this.props.action},__("Restore Connection","jetpack")))}}r()(d,"defaultProps",{text:__("Connection Error, please reconnect.","jetpack"),display:!0}),r()(d,"propTypes",{text:c().string.isRequired,errorCode:c().string,errorData:c().object,action:c().string,display:c().bool})},208:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(800),i=n(6895),o=n(9307),c=n(5736),l=n(9099),p=n(7851),u=n(1668),d=n(2099),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(9309),v=n(4498),_=n(2659),E=n(6300),y=n(9508),b=n(9963),w=n(3002),C=n(381),j=n(9635),S=n(1225),N=n(1375);const __=c.__;class x extends f().Component{render(){return!(!this.props.isDevVersion||this.props.userIsSubscriber)&&f().createElement(u.Z,{showDismiss:!1,text:__("You are currently running a development version of Jetpack.","jetpack")},f().createElement(d.Z,{href:a.Ez,external:!0},__("Submit Beta feedback","jetpack")))}}r()(x,"displayName","DevVersionNotice"),x.propTypes={isDevVersion:h().bool.isRequired,userIsSubscriber:h().bool.isRequired};class T extends f().Component{render(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){const e=(0,i.Z)("jetpack-support-staging-sites"),t={text:__("You are running Jetpack on a staging server.","jetpack"),status:"is-basic",showDismiss:!1};return f().createElement(u.Z,t,f().createElement(d.Z,{href:e},__("More Info","jetpack")))}return!1}}r()(T,"displayName","StagingSiteNotice"),T.propTypes={isStaging:h().bool.isRequired,isInIdentityCrisis:h().bool.isRequired};class O extends f().Component{render(){if("offline"===this.props.siteConnectionStatus){const e=this.props.siteOfflineMode,t=[];e.filter&&t.push(__("The jetpack_development_mode filter is active","jetpack")),e.constant&&t.push((0,c.sprintf)(/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
__("The %s constant is defined","jetpack"),"JETPACK_DEV_DEBUG")),e.wpLocalConstant&&t.push((0,c.sprintf)(/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
__("The %s constant is defined","jetpack"),"WP_LOCAL_DEV")),e.url&&t.push(__("Your site URL is a known local development environment URL","jetpack"));const n=(0,o.createInterpolateElement)(/* translators: reasons is an unordered list of reasons why a site may be in Offline mode. */
__("Currently in <a>Offline Mode</a> (some features are disabled) because: <reasons/>","jetpack"),{a:f().createElement("a",{href:(0,i.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"}),reasons:f().createElement("ul",null,t.map(((e,t)=>f().createElement("li",{key:t},e))))});return f().createElement(u.Z,{showDismiss:!1,status:"is-info",text:n},f().createElement(d.Z,{href:(0,i.Z)("jetpack-support-development-mode")},__("Learn More","jetpack")))}return!1}}r()(O,"displayName","OfflineModeNotice"),O.propTypes={siteConnectionStatus:h().oneOfType([h().string,h().bool]).isRequired,siteOfflineMode:h().oneOfType([h().bool,h().object]).isRequired};class P extends f().Component{render(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&f().createElement("div",{className:"jp-unlinked-notice"},f().createElement(l.Z,{title:__("Jetpack is powering your site, but to access all of its features you’ll need to connect your account to WordPress.com.","jetpack"),callToAction:__("Create account","jetpack"),href:`${this.props.connectUrl}&from=unlinked-user-connect`,icon:f().createElement(_.Z,{icon:"wordpress",size:24}),className:"is-jetpack-info",from:"unlinked-user-connect",connectUser:!0}))}}r()(P,"displayName","UserUnlinked"),P.propTypes={connectUrl:h().string.isRequired,siteConnected:h().bool.isRequired};class A extends f().Component{render(){const e=this.props.siteDataErrors.filter((e=>e.hasOwnProperty("action"))),t="/connect-user"===this.props.location.pathname;return f().createElement("div",{"aria-live":"polite"},f().createElement(p.Z,null),this.props.siteConnectionStatus&&this.props.userCanConnectSite&&(this.props.connectionErrors.length>0||e.length>0)&&f().createElement(j.Z,{errors:this.props.connectionErrors.concat(e),display:!this.props.isReconnectingSite}),f().createElement(N.Z,null),f().createElement(x,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),f().createElement(O,{siteConnectionStatus:this.props.siteConnectionStatus,siteOfflineMode:this.props.siteOfflineMode}),f().createElement(T,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),f().createElement(S.Z,null),f().createElement(C.Z,null),!this.props.isReconnectingSite&&this.props.userCanConnectAccount&&this.props.hasConnectedOwner&&!e.length&&!this.props.connectionErrors.length&&!t&&f().createElement(P,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&f().createElement(u.Z,{showDismiss:!1,status:"is-warning",text:__("This site is not connected to WordPress.com. Please ask the site administrator to connect.","jetpack")}),this.props.licensingError&&f().createElement(u.Z,{showDismiss:!0,status:"is-error",text:this.props.licensingError,onDismissClick:this.props.clearLicensingError}))}}r()(A,"displayName","JetpackNotices"),t.ZP=(0,k.$j)((e=>({connectUrl:(0,E.AM)(e),siteConnectionStatus:(0,E.Gz)(e),userCanConnectSite:(0,y.Mc)(e),userCanConnectAccount:(0,y.n0)(e),userIsSubscriber:(0,y.dc)(e),isConnectionOwner:(0,E.QM)(e),isLinked:(0,E.BU)(e),isDevVersion:(0,y._W)(e),isAtomicSite:(0,y.Ug)(e),siteOfflineMode:(0,E.Hu)(e),isStaging:(0,E.cm)(e),isInIdentityCrisis:(0,E.l9)(e),connectionErrors:(0,y.PK)(e),siteDataErrors:(0,w.Vc)(e),isReconnectingSite:(0,E.O_)(e),licensingError:(0,b.Tk)(e),hasConnectedOwner:(0,E.it)(e)})),(e=>({clearLicensingError:()=>e((0,b.xw)())})))((0,v.EN)(A))},9635:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(17),r=n.n(s),a=n(800),i=n(5736),o=n(1668),c=n(2099),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(7332);const __=i.__;class h extends d().Component{getAction(e,t,n,s,r){switch(e){case"reconnect":return d().createElement(m.Z,{text:t,errorCode:n,errorData:s,action:e,display:this.props.display});case"support":return d().createElement(o.Z,{text:t,status:"is-error",icon:"link-break",showDismiss:!1,display:this.props.display},d().createElement(c.Z,{href:r,external:!0},__("Contact support","jetpack")))}return null}renderOne(e){const t=this.props.isDevVersion?a.Ez:a.Fr,n=this.getAction(e.action,e.message,e.code,e.hasOwnProperty("data")?e.data:{},t);return null===n?null:d().createElement(d().Fragment,{key:e.action},n)}render(){const e={},t=this.props.errors.filter((e=>e.hasOwnProperty("action")));for(const n of t)e.hasOwnProperty(n.action)||(e[n.action]=n);return Object.values(e).map((e=>this.renderOne(e)))}}r()(h,"propTypes",{errors:p().array.isRequired,display:p().bool}),r()(h,"defaultProps",{display:!0})},4721:function(e,t,n){"use strict";var s=n(1045),r=n(5736),a=n(1549),i=n(2099),o=n(4069),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(9309),m=n(1975),h=n(6300);const __=r.__,g=e=>{const{restoreConnection:t}=(0,s.Z)(),n=(0,p.useCallback)((()=>{const t={location:"dashboard",purpose:"reconnect"};return e.errorCode&&(t.error_code=e.errorCode),e.errorData&&(e.errorData.api_error_code&&(t.api_error_code=e.errorData.api_error_code),e.errorData.api_http_code&&(t.api_http_code=e.errorData.api_http_code)),t}),[e.errorCode,e.errorData]),r=(0,p.useCallback)((()=>(e.beforeReconnectSite(),t(!1).then((t=>{"in_progress"===t.status&&e.initiateUserConnection(t.authorizeUrl)})).catch((t=>e.reconnectFailed(t))))),[e,t]),a=(0,p.useCallback)((()=>{e.isReconnectingSite||(o.Z.tracks.recordEvent("jetpack_termination_error_notice_click",n()),r())}),[e.isReconnectingSite,n,r]);return(0,p.useEffect)((()=>{o.Z.tracks.recordEvent("jetpack_termination_error_notice_view",n())}),[n]),u().createElement(i.Z,{icon:e.icon,onClick:a},e.children)};g.propTypes={icon:l().string,errorCode:l().string,errorData:l().object,action:l().string},t.Z=(0,d.$j)((e=>({isReconnectingSite:(0,h.O_)(e)})),(e=>({beforeReconnectSite:()=>{e({type:m.bGw}),e((0,a.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"}))},initiateUserConnection:t=>{e({type:m.dDV}),e({type:m.hmP,connectUrl:t}),e((0,h.bL)())},reconnectFailed:t=>{e({type:m.B9W,error:t}),e((0,a.qq)("reconnect-jetpack")),e((0,a.iI)("is-error",(0,r.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}})))(g)},1225:function(e,t,n){"use strict";var s=n(5736),r=n(1668),a=n(9196),i=n.n(a),o=n(9309),c=n(4498),l=n(3002);const __=s.__;const p=(0,c.EN)((function(e){let{activeSitePurchases:t,location:{pathname:n}}=e;if("/plans"!==n)return null;if(t.length<=1)return null;const a=t.map((e=>{let{product_slug:t,...n}=e;return{...n,product_slug:t.replace("_monthly","")}})),o=a.find((e=>{let{product_slug:t}=e;return t.includes("backup")}));if(!o)return null;const c=a.find((e=>{let{product_slug:t}=e;return"jetpack_personal"===t||"jetpack_premium"===t||"jetpack_business"===t}));if(!c)return null;if("jetpack_backup_realtime"===o.product_slug&&"jetpack_business"!==c.product_slug)return null;let l=__("daily backups","jetpack");return"jetpack_business"===c.product_slug&&(l=__("real-time backups","jetpack")),i().createElement(r.Z,{status:"is-warning",showDismiss:!1,text:(0,s.sprintf)(/* translators: %1$s: feature, such as "daily backups". %2$s: Plan name, such as "Jetpack Premium". %3$s: Product name, such as "Jetpack Backups". */
__("Your %2$s Plan includes %1$s. Looks like you also purchased the %3$s product. Consider removing %3$s.","jetpack"),l,c.product_name,o.product_name)})}));t.Z=(0,o.$j)((e=>({activeSitePurchases:(0,l.nl)(e)})))(p)},1375:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(5609),o=n(9307),c=n(5736),l=n(1668),p=n(2099),u=n(9327),d=n(9196),m=n.n(d),h=n(9309),g=n(9508),f=n(5613);const __=c.__;class k extends m().Component{constructor(){super(...arguments),r()(this,"state",{showNotice:!0}),r()(this,"dismissJetpackStateNotice",(()=>{this.setState({showNotice:!1})})),r()(this,"getErrorFromKey",(e=>{const t=this.props.jetpackStateNoticesErrorDescription||!1;let n="";switch(e){case"cheatin":n=__("Cheatin' uh?","jetpack");break;case"access_denied":n=(0,o.createInterpolateElement)(__("<p>Would you mind telling us why you did not complete the Jetpack connection in this <a>2 question survey</a>?</p><p>A Jetpack connection is required for our free security and traffic features to work.</p>","jetpack"),{a:m().createElement("a",{href:(0,a.Z)("jetpack-cancelled-connection"),target:"_blank",rel:"noopener noreferrer"}),p:m().createElement("p",null)});break;case"wrong_state":n=__("You need to stay logged in to your WordPress blog while you authorize Jetpack.","jetpack");break;case"invalid_client":n=__("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.","jetpack");break;case"invalid_grant":n=__('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.',"jetpack");break;case"site_inaccessible":case"site_requires_authorization":n=(0,c.sprintf)(/* translators: placeholder is an error code and message. */
__("Your website needs to be publicly accessible to use Jetpack: %s","jetpack"),e);break;case"connection_disabled":n=(0,o.createInterpolateElement)(__("This site can't be connected to WordPress.com because it violates our <a>Terms of Service</a>.","jetpack"),{a:m().createElement(i.ExternalLink,{href:(0,a.Z)("wpcom-tos")})});break;case"not_public":n=(0,o.createInterpolateElement)(__("<s>Your Jetpack has a glitch.</s> Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).","jetpack"),{s:m().createElement("strong",null)});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=__("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.","jetpack");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,c.sprintf)(/* translators: placeholder is an error code and message. */
__("Jetpack could not contact WordPress.com: %s. This usually means something is incorrectly configured on your web host.","jetpack"),e);break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,o.createInterpolateElement)((0,c.sprintf)(/* translators: placeholder is an error code and message. */
__("<s>Your Jetpack has a glitch.</s> We’re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %s","jetpack"),e),{s:m().createElement("strong",null)});break;default:n=e}return t?m().createElement("div",null,n,m().createElement("br",null),t):m().createElement("div",null,n)})),r()(this,"getMessageFromKey",(e=>{let t,n="",s="is-info";switch(e){case"modules_activated":this.props.isAtomicPlatform||(n=(0,o.createInterpolateElement)((0,c.sprintf)(/* translators: placeholder is a version number, like 8.8. */
__("Welcome to <s>Jetpack %s</s>!","jetpack"),this.props.currentVersion),{s:m().createElement("strong",null)}));break;case"already_authorized":n=__("Your Jetpack is already connected.","jetpack"),s="is-success";break;case"authorized":n=__("You're fueled up and ready to go, Jetpack is now active.","jetpack"),s="is-success";break;case"linked":n=__("You're fueled up and ready to go.","jetpack"),s="is-success";break;case"protect_misconfigured_ip":n=__("Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.","jetpack"),s="is-info",t=m().createElement(p.Z,{href:(0,a.Z)("jetpack-support-security-troubleshooting-protect")},__("Learn More","jetpack"));break;case"reconnection_completed":n=(0,o.createInterpolateElement)(__("Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the <a>Site Health tool</a>.","jetpack"),{a:m().createElement("a",{href:this.props.siteAdminUrl+"site-health.php"})}),s="is-success";break;default:n=e}return[n,s,t]})),r()(this,"renderContent",(()=>{let e,t="is-info",n="";const s=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode,a=this.props.jetpackStateNoticesMessageContent;if(s||r||a){if(s&&(n=this.getErrorFromKey(s),"access_denied"!==s&&(t="is-error")),a&&a.release_post_content&&!this.props.isAtomicPlatform)return m().createElement(u.Z,{dismiss:this.dismissJetpackStateNotice,version:this.props.currentVersion,releasePostContent:a.release_post_content,featuredImage:a.release_post_featured_image,title:a.release_post_title});if(r){const s=this.getMessageFromKey(r);n=s[0],t=s[1],e=s[2]}if(""!==n)return m().createElement(l.Z,{status:t,onDismissClick:this.dismissJetpackStateNotice,text:n},e)}}))}render(){return m().createElement("div",null,this.state.showNotice?this.renderContent():null)}}r()(k,"displayName","JetpackStateNotices"),t.Z=(0,h.$j)((e=>({currentVersion:(0,g.w1)(e),isAtomicPlatform:(0,g.vL)(e),jetpackStateNoticesErrorCode:(0,f.gB)(e),jetpackStateNoticesMessageCode:(0,f.pt)(e),jetpackStateNoticesErrorDescription:(0,f.XF)(e),jetpackStateNoticesMessageContent:(0,f.Rv)(e),siteAdminUrl:(0,g.wW)(e)})))(k)},2177:function(e,t,n){"use strict";var s=n(5347),r=n(5609),a=n(5736),i=n(5235),o=n.n(i),c=n(7506),l=n(5060),p=n(4069),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);const __=a.__,g=e=>{const{icon:t,title:n,productSlug:i,description:u,features:d,disclaimer:g,currencyCode:f,price:k,discountedPrice:v,billingDescription:_,callToAction:E,checkoutText:y,checkoutUrl:b,priority:w,illustrationPath:C}=e,j=!!C,S=!!E;(0,m.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_product_card_view",{type:i})}),[i]);const N=(0,m.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_product_card_checkout_click",{type:i})}),[i]),x=(0,m.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_product_card_disclaimer_click",{type:i})}),[i]),T=o()({"jp-product-card":!0,"jp-product-card--has-media":j,"jp-product-card--has-cta":S}),O=o()(["jp-product-card__checkout",`jp-product-card__checkout--${w}`]);return h().createElement("div",{className:T},S&&h().createElement("div",{className:"jp-product-card__cta"},h().createElement(l.Z,{icon:"star"})," ",E),h().createElement("div",{className:"jp-product-card__inner"},!!t&&h().createElement("div",{className:"jp-product-card__icon"},t),h().createElement("h3",{className:"jp-product-card__title"},n),h().createElement("p",{className:"jp-product-card__description"},u),d.length&&h().createElement("ul",{className:"jp-product-card__features"},d.map(((e,t)=>h().createElement("li",{className:"jp-product-card__feature",key:t},h().createElement(l.Z,{icon:"checkmark"}),e)))),h().createElement("div",{className:"jp-product-card__price"},h().createElement(s.Z,{currency:f,price:k,offPrice:v,showNotOffPrice:!!v,legend:_})),h().createElement(c.Z,{className:O,href:b,onClick:N},y),g&&h().createElement("p",{className:"jp-product-card__disclaimer"},`${g.text} `,h().createElement(r.ExternalLink,{onClick:x,href:g.url,target:"_blank",rel:"noopener noreferrer"},g.link_text))),j&&h().createElement("img",{className:"jp-product-card__media",src:C,alt:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Graphical illustration of product: %s","jetpack"),n)}))};g.propTypes={checkoutText:d().string.isRequired,checkoutUrl:d().string.isRequired,title:d().string.isRequired,price:d().number.isRequired,discountedPrice:d().number,currencyCode:d().string.isRequired,billingDescription:d().string.isRequired,productSlug:d().string.isRequired,description:d().string,features:d().array,disclaimer:d().object,icon:d().element,callToAction:d().string,priority:d().string,illustrationPath:d().string},g.defaultProps={description:"",features:[],priority:"primary",showIllustration:""},t.Z=g},6484:function(e,t,n){"use strict";n.d(t,{e:function(){return m}});var s=n(5736),r=n(7506),a=n(8492),i=n(4069),o=n(9196),c=n.n(o),l=n(9309),p=n(6300),u=n(9508),d=n(416);const __=s.__,m=(0,l.$j)((e=>({canEditPosts:(0,u.rp)(e),canManageOptions:(0,u.UF)(e),hasConnectedOwner:(0,p.it)(e),isCurrentUserLinked:(0,p.BU)(e),isSiteConnected:(0,p.j8)(e),activeModules:(0,d.Xx)(e),siteConnectionStatus:(0,p.Gz)(e)})))((e=>{const{activeModules:t,canEditPosts:n,canManageOptions:s,hasConnectedOwner:l,isCurrentUserLinked:p,isSiteConnected:u,location:d={pathname:""},siteConnectionStatus:m}=e,{pathname:h}=d,g=["/","/dashboard","/my-plan","/plans"].includes(h)||h.includes("/recommendations"),f=""===h,k=(0,o.useCallback)((()=>{i.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})}),[]),v=(0,o.useCallback)((()=>{i.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})}),[]);if(f)return null;if(!m)return null;if(h.startsWith("/setup"))return null;if(!n)return null;if("offline"!==m&&!u)return null;if("offline"!==m&&!s){if(!l)return null;if(!p)return null;if(!t.some((e=>["post-by-email","publicize"].includes(e))))return null}return c().createElement("div",{className:"jp-masthead__nav"},c().createElement(a.Z,null,c().createElement(r.Z,{compact:!0,href:"#/dashboard",primary:g&&!f,onClick:k},__("Dashboard","jetpack")),c().createElement(r.Z,{compact:!0,href:"#/settings",primary:!g&&!f,onClick:v},__("Settings","jetpack"))))}))},6795:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(8868),i=n(4069),o=n(9196),c=n.n(o),l=n(9309),p=n(6300),u=n(9508),d=n(6484);class m extends c().Component{constructor(){super(...arguments),r()(this,"trackLogoClick",(()=>{i.Z.tracks.recordJetpackClick({target:"masthead",path:"logo"})})),r()(this,"testConnection",(()=>this.props.testConnection()))}render(){const{isWoASite:e,sandboxDomain:t,siteConnectionStatus:n}=this.props,s="offline"===n?c().createElement("code",null,"Offline Mode"):"",r=t?c().createElement("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:`Sandboxing via ${t}. Click to test connection.`},"API Sandboxed"):"";return c().createElement("div",{className:"jp-masthead"},c().createElement("div",{className:"jp-masthead__inside-container"},c().createElement("div",{className:"jp-masthead__logo-container"},c().createElement("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard"},c().createElement(a.Z,{className:"jetpack-logo__masthead"})),s,r),e&&c().createElement(d.e,{location:this.props.location})))}}t.Z=(0,l.$j)((e=>({isWoASite:(0,u.Pw)(e),sandboxDomain:(0,p.LN)(e),siteConnectionStatus:(0,p.Gz)(e)})),(e=>({testConnection:()=>e((0,p.SG)())})))(m)},2676:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(5235),c=n.n(o),l=n(2056),p=n(2819),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m),g=n(1850),f=n.n(g);let k=!1;class v extends h().Component{constructor(){super(...arguments),i()(this,"state",{overlayMouseDown:!1}),i()(this,"handleEscapeKey",(e=>{"Escape"===e.code&&this.maybeClose()})),i()(this,"maybeClose",(()=>{this.props.onRequestClose&&!k&&this.props.onRequestClose()})),i()(this,"handleMouseDownOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.setState({overlayMouseDown:!0})})),i()(this,"handleClickOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.state.overlayMouseDown&&this.props.onRequestClose&&!k&&(this.setState({overlayMouseDown:!1}),this.props.onRequestClose())})),i()(this,"handleMouseEventModal",(e=>{e.stopPropagation()}))}componentDidMount(){jQuery("body").addClass("dops-modal-showing").on("touchmove.dopsmodal",!1),jQuery(document).keyup(this.handleEscapeKey);try{this.focusTrap=(0,l.v)(f().findDOMNode(this)),this.focusTrap.activate({initialFocus:this.props.initialFocus})}catch(e){}}componentWillUnmount(){jQuery("body").removeClass("dops-modal-showing").off("touchmove.dopsmodal",!1),jQuery(document).unbind("keyup",this.handleEscapeKey);try{this.focusTrap.deactivate()}catch(e){}}render(){let e;const{style:t,className:n,width:s,title:a,...i}=this.props,{forwardedProps:o}=(0,p.omit)(i,"onRequestClose");switch(s){case"wide":e={maxWidth:"inherit",width:"inherit"};break;case"medium":e={maxWidth:1050,width:"inherit"};break;default:e={}}const l=(0,p.assign)({},t,e);return h().createElement("div",{className:"dops-modal-wrapper",onClick:this.handleClickOverlay,onMouseDown:this.handleMouseDownOverlay},h().createElement("div",r()({className:c()("dops-modal",n),style:l,onClick:this.handleMouseEventModal,onMouseDown:this.handleMouseEventModal,onMouseUp:this.handleMouseEventModal,role:"dialog","aria-label":a},o),this.props.children))}}i()(v,"propTypes",{style:d().object,width:d().oneOf(["wide","medium","narrow"]),className:d().string,title:d().string,initialFocus:d().string,onRequestClose:d().func}),i()(v,"defaultProps",{style:{}}),v.preventClose=function(){k=!0},v.allowClose=function(){k=!1},t.Z=v},9224:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(5235),l=n.n(c),p=n(5733),u=n(5162),d=n.n(u),m=n(9196),h=n.n(m);const __=o.__;class g extends p.zv{render(){if(!this.props.moduleName)return null;const e=l()("module-overridden-banner",{"is-compact":this.props.compact});return h().createElement(p.zv,{className:e,title:this.props.moduleName,icon:"cog",description:(0,i.createInterpolateElement)((0,o.sprintf)(/* translators: placeholder is a feature name. */
__("%s has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),this.props.moduleName),{link:h().createElement("a",{href:(0,a.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer"})})})}}r()(g,"propTypes",{moduleName:d().string.isRequired}),t.Z=(0,p.$j)(g)},9031:function(e,t,n){"use strict";n.d(t,{l:function(){return p}});var s=n(5736),r=n(2819),a=n(9309),i=n(6300),o=n(9508),c=n(416),l=n(3230);const __=s.__;function p(e){return(0,a.$j)(((e,t)=>({validValues:function(n){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof(0,r.get)(t,["module","module"])&&(s=t.module.module),(0,c.R9)(e,s,n)},getOptionCurrentValue:(t,n)=>(0,c.C5)(e,t,n),getSettingCurrentValue:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,l.$8)(e,t,n,s)},getSiteRoles:()=>(0,o.Td)(e),isUpdating:t=>(0,l.Cu)(e,t),adminEmailAddress:(0,o.je)(e),currentIp:(0,o.de)(e),siteAdminUrl:(0,o.wW)(e),isCurrentUserLinked:(0,i.BU)(e)})),(e=>({updateOptions:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e((0,l.VP)(t,n))},regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,s.sprintf)(/* translators: placeholder is an error message. */
__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,l.VP)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,l.a6)()),clearUnsavedSettingsFlag:()=>e((0,l._1)()),refreshSettings:()=>e((0,l.wv)())})))(e)}},2353:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(9031),c=n(4069),l=n(2819),p=n(9196),u=n.n(p);function d(e){class t extends u().Component{constructor(){var e;super(...arguments),e=this,i()(this,"state",{options:{}}),i()(this,"onOptionChange",(e=>{const t=e.target.name;let n;n="checkbox"===e.target.type&&void 0!==e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)})),i()(this,"updateFormStateOptionValue",(function(t){"string"==typeof t&&(t={[t]:arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0});const n={...e.state.options,...t};return e.setState({options:n}),!0})),i()(this,"resetFormStateOption",(e=>(this.setState({options:(0,l.omit)(this.state.options,[e])}),!0))),i()(this,"updateFormStateModuleOption",(function(t,n){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.trackSettingsToggle(t,n,!e.getOptionValue(n)),e.getOptionValue(t)?s?e.props.updateOptions({[t]:!1,[n]:!e.getOptionValue(n)}):e.props.updateOptions({[n]:!e.getOptionValue(n)}):e.props.updateOptions({[t]:!0,[n]:!0})})),i()(this,"toggleModuleNow",(e=>{this.props.updateOptions({[e]:!this.getOptionValue(e)})})),i()(this,"onSubmit",(e=>{e.preventDefault(),this.props.updateOptions(this.state.options).then((()=>{const e={};(0,l.each)(this.state.options,((t,n)=>{n=n.replace(/\-/,"_"),e[n]=t})),this.trackFormSubmission(e),this.setState({options:{}})})).then((()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()}))})),i()(this,"getOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,l.get)(e.state.options,t,e.props.getSettingCurrentValue(t,n,s))})),i()(this,"shouldSaveButtonBeDisabled",(()=>this.isSavingAnyOption()||!this.isDirty())),i()(this,"isDirty",(()=>!!Object.keys(this.state.options).length)),i()(this,"isSavingAnyOption",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.props.isUpdating(t)})),i()(this,"trackFormSubmission",(e=>{c.Z.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)})),i()(this,"trackSettingsToggle",((e,t,n)=>{c.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:n?"on":"off"})}))}componentDidUpdate(){this.isDirty()&&this.props.setUnsavedSettingsFlag()}render(){return u().createElement(e,r()({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption},this.props))}}return(0,o.l)(t)}},5004:function(e,t,n){"use strict";n.d(t,{T:function(){return k}});var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(1674),l=n(4069),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(9309),g=n(416);const __=o.__;class f extends d.Component{constructor(){super(...arguments),r()(this,"toggleModule",(()=>(this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated)))),r()(this,"trackModuleToggle",((e,t)=>{"stats"!==e&&l.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:e,toggled:t?"off":"on"})})),r()(this,"isDisabledByOverride",(()=>{const e=this.props.getModuleOverride(this.props.slug);return this.props.overrideCondition?this.props.overrideCondition===e:!!e})),r()(this,"getDisabledReason",(()=>{if(!this.isDisabledByOverride())return null;const e=this.props.getModuleOverride(this.props.slug),t={link:m().createElement("a",{href:(0,a.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,i.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,i.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,i.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}}))}render(){return m().createElement(c.Z,{checked:this.props.activated||this.props.isModuleActivated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),id:this.props.id,onChange:this.toggleModule,disabledReason:this.getDisabledReason(),"aria-label":this.props["aria-label"]},this.props.children)}}r()(f,"displayName","ModuleToggle"),r()(f,"propTypes",{toggleModule:u().func,activated:u().bool,disabled:u().bool,className:u().string,compact:u().bool,id:u().string,overrideCondition:u().string}),r()(f,"defaultProps",{activated:!1,disabled:!1,overrideCondition:""});const k=(0,h.$j)((e=>({getModuleOverride:t=>(0,g.Qy)(e,t)})))(f)},6138:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var s=n(9196),r=n.n(s);const a=r().createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0862 0.22949C10.7536 -0.0764963 10.2464 -0.0764967 9.9138 0.229489L7.7667 2.20503C7.59755 2.36066 7.37497 2.44281 7.14676 2.43386L4.24981 2.32013C3.80111 2.30252 3.41252 2.63319 3.35171 3.08438L2.95909 5.99736C2.92816 6.22684 2.80973 6.43486 2.62923 6.57677L0.337958 8.37807C-0.0169309 8.65707 -0.105018 9.1637 0.134374 9.54896L1.67996 12.0364C1.80172 12.2323 1.84285 12.4689 1.79452 12.6952L1.18104 15.5687C1.08602 16.0138 1.33965 16.4593 1.76723 16.5984L4.52782 17.4963C4.7453 17.5671 4.92675 17.7215 5.03321 17.9264L6.38456 20.5275C6.59387 20.9304 7.07055 21.1064 7.48625 20.9342L10.1701 19.8225C10.3816 19.7349 10.6184 19.7349 10.8299 19.8225L13.5137 20.9342C13.9294 21.1064 14.4061 20.9304 14.6154 20.5275L15.9668 17.9264C16.0733 17.7215 16.2547 17.5671 16.4722 17.4963L19.2328 16.5984C19.6603 16.4593 19.914 16.0138 19.819 15.5687L19.2055 12.6953C19.1572 12.4689 19.1983 12.2323 19.32 12.0364L20.8656 9.54896C21.105 9.1637 21.0169 8.65707 20.662 8.37807L18.3708 6.57677C18.1903 6.43486 18.0718 6.22684 18.0409 5.99736L17.6483 3.08438C17.5875 2.63319 17.1989 2.30252 16.7502 2.32013L13.8532 2.43386C13.625 2.44281 13.4024 2.36066 13.2333 2.20503L11.0862 0.22949ZM8.76611 14H7.15771V9.11328H7.07422L5.54492 10.146V8.75732L7.15771 7.65869H8.76611V14ZM14.2072 14H12.6823V12.9189H9.56662V11.7017C10.3401 10.2822 11.1443 8.95068 11.966 7.65869H14.2072V11.6621H14.9983V12.9189H14.2072V14ZM10.9641 11.6401V11.7192H12.7219V8.81006H12.6428C12.0759 9.69336 11.4738 10.6865 10.9641 11.6401Z",fill:"black"}))},3609:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var s=n(5162),r=n.n(s),a=n(9196),i=n.n(a),o=n(6138);const c=e=>{let{text:t}=e;return i().createElement("div",{className:"jetpack-money-back-guarantee"},i().createElement("div",{className:"jetpack-money-back-guarantee__icon"},o.B),i().createElement("div",{className:"jetpack-money-back-guarantee__text"},t))};c.propTypes={text:r().string.isRequired}},4265:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5736),i=n(7679),o=n(1677),c=n(4399),l=n(1675),p=n(6923),u=n(1128),d=n.n(u),m=n(4069),h=n(2819),g=n(5162),f=n.n(g),k=n(9196),v=n.n(k),_=n(9309),E=n(4498),y=n(6300),b=n(9508),w=n(416),C=n(9292),j=n(1372);const __=a.__,_x=a._x,S=d()("calypso:url-search");class N extends v().Component{constructor(){super(...arguments),r()(this,"state",{searchOpen:!1}),r()(this,"doSearch",(e=>{if(this.setState({searchOpen:!1!==e}),this.onSearch)return void this.onSearch(e);const t=window.location.href.split("#")[1].split("?");this.props.searchForTerm(e);const n="#"+t[0]+(e?"?term="+e:"");S("search posts for:",e),S("setting URL: "+n),window.location.href=n})),r()(this,"onRouteChange",(e=>{const t=(e.search||"").substr(1).split("&").filter((e=>0===e.indexOf("term=")));let n="";t.length>0&&(n=t[0].split("=")[1]),this.props.searchForTerm(decodeURIComponent(n))}))}UNSAFE_componentWillMount(){this.onRouteChange(this.props.location),this.props.history.listen(this.onRouteChange)}UNSAFE_componentWillReceiveProps(e){e.search||this.setState({searchOpen:!1})}maybeShowSearch(){if(this.props.userCanManageModules)return v().createElement(o.Z,{onClick:this.handleClickForTracking("search"),pinned:!0,fitsContainer:!0,placeholder:__("Search for a Jetpack feature.","jetpack"),delaySearch:!0,delayTimeout:500,onSearch:this.doSearch,isOpen:!!this.props.searchTerm,initialValue:this.props.searchTerm})}trackNavClick(e){m.Z.tracks.recordJetpackClick({target:"nav_item",path:e})}handleClickForTracking(e){return()=>this.trackNavClick(e)}render(){let e,t,n;return this.props.userCanManageModules?e=v().createElement(p.Z,{selectedText:this.props.routeName},this.props.hasAnySecurityFeature&&v().createElement(l.Z,{path:"#security",onClick:this.handleClickForTracking("security"),selected:"/security"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Security","Navigation item.","jetpack")),this.props.hasAnyPerformanceFeature&&v().createElement(l.Z,{path:"#performance",onClick:this.handleClickForTracking("performance"),selected:"/performance"===this.props.location.pathname},_x("Performance","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["masterbar","markdown","custom-content-types","post-by-email","infinite-scroll","copy-post"])&&v().createElement(l.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["publicize","sharedaddy","likes"])&&v().createElement(l.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["comments","gravatar-hovercards","markdown","subscriptions"])&&v().createElement(l.Z,{path:"#discussion",onClick:this.handleClickForTracking("discussion"),selected:"/discussion"===this.props.location.pathname},_x("Discussion","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["seo-tools","wordads","stats","related-posts","verification-tools","sitemaps","google-analytics"])&&v().createElement(l.Z,{path:"#traffic",onClick:this.handleClickForTracking("traffic"),selected:"/traffic"===this.props.location.pathname},_x("Traffic","Navigation item.","jetpack"))):this.props.isSubscriber?e=!1:(t=this.props.isModuleActivated("publicize")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["publicize"])&&v().createElement(l.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")):"",n=this.props.isModuleActivated("post-by-email")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["post-by-email"])&&v().createElement(l.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")):"",e=v().createElement(p.Z,{selectedText:this.props.routeName},n,t)),v().createElement("div",{id:"jp-navigation",className:"dops-navigation"},v().createElement(i.Z,null),v().createElement(c.Z,{selectedText:this.props.routeName},e,this.maybeShowSearch()))}}r()(N,"displayName","NavigationSettings"),N.propTypes={userCanManageModules:f().bool.isRequired,isSubscriber:f().bool.isRequired,userCanPublish:f().bool.isRequired,isLinked:f().bool.isRequired,isSiteConnected:f().bool.isRequired,isModuleActivated:f().func.isRequired,searchHasFocus:f().bool.isRequired,location:f().object.isRequired},N.defaultProps={userCanManageModules:!1,isSubscriber:!1,userCanPublish:!1,isLinked:!1,isSiteConnected:!1,isModuleActivated:h.noop,searchHasFocus:!1},t.Z=(0,_.$j)((e=>({hasAnyOfTheseModules:t=>(0,w.og)(e,t),hasAnyPerformanceFeature:(0,w.zc)(e),hasAnySecurityFeature:(0,w.Su)(e),userCanManageModules:(0,b.pK)(e),isSubscriber:(0,b.dc)(e),userCanPublish:(0,b.D6)(e),isLinked:(0,y.BU)(e),isSiteConnected:(0,y.q7)(e),isModuleActivated:t=>(0,w.mp)(e,t),moduleList:(0,w.hU)(e),isPluginActive:t=>(0,j.TB)(e,t),searchTerm:(0,C.He)(e)})),(e=>({searchForTerm:t=>e((0,C.eb)(t))})))((0,E.EN)(N))},2977:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6895),i=n(9307),o=n(5736),c=n(5235),l=n.n(c),p=n(4399),u=n(1675),d=n(6923),m=n(4069),h=n(5162),g=n.n(h),f=n(9196),k=n.n(f),v=n(9309),_=n(4498),E=n(6300),y=n(9508),b=n(416),w=n(8722);const _x=o._x;class C extends k().Component{constructor(){super(...arguments),r()(this,"trackNavClick",(e=>{m.Z.tracks.recordJetpackClick({target:"nav_item",path:e})})),r()(this,"trackNewRecommendations",(()=>{this.props.newRecommendationsCount>0&&!this.props.location.pathname.startsWith("/recommendations")&&m.Z.tracks.recordEvent("jetpack_recommendations_new_recommendation_bubble_visible",{path:this.props.location.pathname})})),r()(this,"trackDashboardClick",(()=>{this.trackNavClick("dashboard")})),r()(this,"trackMyPlanClick",(()=>{this.trackNavClick("my-plan")})),r()(this,"trackPlansClick",(()=>{this.trackNavClick("plans")})),r()(this,"trackRecommendationsClick",(()=>{const e=this.props.newRecommendationsCount>0;m.Z.tracks.recordJetpackClick({target:"nav_item",path:"recommendations",is_new_recommendations_bubble_visible:e})})),r()(this,"trackMyJetpackClick",(()=>{this.trackNavClick("my-jetpack")}))}componentDidMount(){this.trackNewRecommendations()}render(){let e;const t=(0,a.Z)(this.props.hasConnectedOwner?"jetpack-plans":"jetpack-nav-site-only-plans",{site:this.props.siteUrl,...this.props.purchaseToken?{query:`purchasetoken=${this.props.purchaseToken}`}:{}});return e=this.props.userCanManageModules?k().createElement(d.Z,{selectedText:this.props.routeName},k().createElement(u.Z,{path:"#/dashboard",onClick:this.trackDashboardClick,selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack")),!this.props.isOfflineMode&&this.props.isLinked&&k().createElement(u.Z,{path:"#/my-plan",onClick:this.trackMyPlanClick,selected:"/my-plan"===this.props.location.pathname},_x("My Plan","Navigation item.","jetpack")),!this.props.isOfflineMode&&k().createElement(u.Z,{isExternalLink:!0,path:t,onClick:this.trackPlansClick,selected:"/plans"===this.props.location.pathname},_x("Plans","Navigation item.","jetpack")),this.props.showRecommendations&&k().createElement(u.Z,{path:"#/recommendations",onClick:this.trackRecommendationsClick,selected:this.props.location.pathname.startsWith("/recommendations")},(0,i.createInterpolateElement)((0,o.sprintf)(/* translators: %d is a count of how many new (unread) recommendations are available. */
_x("Recommendations <count>%d</count>","Navigation item.","jetpack"),this.props.newRecommendationsCount),{count:k().createElement("span",{className:l()("dops-section-nav-tab__update-badge",{"is-hidden":this.props.location.pathname.startsWith("/recommendations")||!this.props.newRecommendationsCount})})})),this.props.showMyJetpack&&k().createElement(u.Z,{path:this.props.adminUrl+"admin.php?page=my-jetpack",onClick:this.trackMyJetpackClick},_x("My Jetpack","Navigation item.","jetpack"))):k().createElement(d.Z,{selectedText:this.props.routeName},k().createElement(u.Z,{path:"#/dashboard",selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack"))),k().createElement("div",{id:"jp-navigation",className:"dops-navigation"},k().createElement(p.Z,{selectedText:this.props.routeName},e))}}C.propTypes={routeName:g().string.isRequired,isOfflineMode:g().bool},t.Z=(0,v.$j)((e=>({userCanManageModules:(0,y.pK)(e),userCanViewStats:(0,y.px)(e),isModuleActivated:t=>(0,b.mp)(e,t),isOfflineMode:(0,E.Ex)(e),isLinked:(0,E.BU)(e),hasConnectedOwner:(0,E.it)(e),showRecommendations:(0,y.mb)(e),newRecommendationsCount:(0,w.dU)(e),siteUrl:(0,y.JR)(e),adminUrl:(0,y.wW)(e),purchaseToken:(0,y.as)(e),showMyJetpack:(0,y.GC)(e)})))((0,_.EN)(C))},4241:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(6288),i=n(2977),o=n(4265),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(9309),m=n(9517),h=n(6300),g=n(9508),f=n(416);class k extends u().Component{constructor(){super(...arguments),r()(this,"renderMainContent",(e=>{let t,n=u().createElement(i.Z,this.props);switch(e){case"/dashboard":default:this.props.history.replace("/dashboard"),t=u().createElement(a.Z,this.props);break;case"/settings":case"/writing":case"/sharing":case"/performance":this.props.isSubscriber||(n=u().createElement(o.Z,this.props),t=u().createElement(m.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,userCanManageModules:this.props.userCanManageModules}))}return window.wpNavMenuClassChange(),u().createElement("div",null,n,t)}))}shouldComponentUpdate(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.location.pathname!==this.props.location.pathname}render(){return this.renderMainContent(this.props.location.pathname)}}k.propTypes={userCanViewStats:l().bool.isRequired,isSubscriber:l().bool.isRequired,siteConnectionStatus:l().any.isRequired},t.Z=(0,d.$j)((e=>({userCanViewStats:(0,g.px)(e),siteConnectionStatus:(0,h.Gz)(e),isSubscriber:(0,g.dc)(e),isModuleActivated:t=>(0,f.mp)(e,t),userCanManageModules:(0,g.pK)(e)})))(k)},1668:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(5060),c=n(2819),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(3915);class h extends d().Component{constructor(){super(...arguments),r()(this,"dismissTimeout",null),r()(this,"getIcon",(()=>{let e;switch(this.props.status){case"is-info":default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e})),r()(this,"clearText",(e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e))}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}render(){const{children:e,className:t,icon:n,isCompact:s,onDismissClick:r,showDismiss:a=!s,status:c,text:l,dismissText:p,display:u}=this.props,h=i()("dops-notice",c,t,{"is-compact":s,"is-dismissable":a,"is-hidden":!u});return d().createElement("div",{className:h},d().createElement("span",{className:"dops-notice__icon-wrapper"},d().createElement(o.Z,{className:"dops-notice__icon",icon:n||this.getIcon(),size:24})),d().createElement("span",{className:"dops-notice__content"},d().createElement("span",{className:"dops-notice__text"},l?this.clearText(l):e)),l?e:null,a&&d().createElement("span",{role:"button",onKeyDown:(0,m.Z)(r),tabIndex:"0",className:"dops-notice__dismiss",onClick:r},d().createElement(o.Z,{icon:"cross",size:24}),d().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},p)))}}r()(h,"displayName","SimpleNotice"),r()(h,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:c.noop,display:!0}),r()(h,"propTypes",{status:p().string,showDismiss:p().bool,isCompact:p().bool,duration:p().number,text:p().oneOfType([p().oneOfType([p().string,p().node]),p().arrayOf(p().oneOfType([p().string,p().node]))]),icon:p().string,onDismissClick:p().func,className:p().string,display:p().bool})},2099:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var s=n(17),r=n.n(s),a=n(5060),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c);class p extends l().Component{render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),l().createElement("a",e,l().createElement("span",null,this.props.children),this.props.icon&&l().createElement(a.Z,{icon:this.props.icon,size:24}),this.props.external&&l().createElement(a.Z,{icon:"external",size:24}))}}r()(p,"displayName","NoticeAction"),r()(p,"propTypes",{href:o().string,onClick:o().func,external:o().bool,icon:o().string}),r()(p,"defaultProps",{external:!1})},3234:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var s=n(800),r=n(9584),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o);const l={[r._d]:"/plans/wpcom-free.svg",[r.sy]:"/plans/wpcom-personal.svg",[r.Qm]:"/plans/wpcom-personal.svg",[r.wm]:"/plans/wpcom-personal.svg",[r.pd]:"/plans/wpcom-personal.svg",[r.xf]:"/plans/wpcom-premium.svg",[r.G6]:"/plans/wpcom-premium.svg",[r.OE]:"/plans/wpcom-premium.svg",[r.p7]:"/plans/wpcom-business.svg",[r.j2]:"/plans/wpcom-business.svg",[r.Wg]:"/plans/wpcom-business.svg",[r.$K]:"/plans/wpcom-business.svg",[r.JA]:"/plans/wpcom-ecommerce.svg",[r.f3]:"/plans/wpcom-ecommerce.svg",[r.lv]:"/plans/wpcom-ecommerce.svg",[r.uz]:"/plans/wpcom-ecommerce.svg",[r.Ij]:"/products/product-jetpack-search.svg",[r.un]:"/products/product-jetpack-search.svg",[r.ZR]:"/products/product-jetpack-backup.svg",[r.hI]:"/products/product-jetpack-backup.svg",[r.tV]:"/products/product-jetpack-backup.svg",[r.XL]:"/products/product-jetpack-backup.svg",[r.LA]:"/products/product-jetpack-backup.svg",[r.Us]:"/products/product-jetpack-backup.svg",[r.WS]:"/products/product-jetpack-scan.svg",[r.tl]:"/products/product-jetpack-scan.svg",[r.sh]:"/products/product-jetpack-anti-spam.svg",[r.vS]:"/products/product-jetpack-anti-spam.svg",[r.dW]:"/products/product-jetpack-search.svg",[r.YN]:"/products/product-jetpack-search.svg",[r.ux]:"/products/product-jetpack-search.svg",[r.lj]:"/plans/jetpack-free.svg",[r.ap]:"/plans/jetpack-personal.svg",[r.mg]:"/plans/jetpack-personal.svg",[r.Xz]:"/plans/jetpack-premium.svg",[r.p2]:"/plans/jetpack-premium.svg",[r.NJ]:"/plans/jetpack-professional.svg",[r.yY]:"/plans/jetpack-professional.svg",[r.Et]:"/plans/jetpack-security.svg",[r.w2]:"/plans/jetpack-security.svg",[r.b6]:"/plans/jetpack-security.svg",[r.aS]:"/plans/jetpack-security.svg",[r.th]:"/plans/jetpack-complete.svg",[r.JX]:"/plans/jetpack-complete.svg",[r.v_]:"/products/product-jetpack-videopress.svg",[r.Bi]:"/products/product-jetpack-videopress.svg",[r.el]:"/products/product-jetpack-social.svg",[r.k3]:"/products/product-jetpack-social.svg",[r.vb]:"/products/product-jetpack-social.svg",[r.k2]:"/products/product-jetpack-social.svg",[r.np]:"/products/product-jetpack-backup.svg",[r.ic]:"/products/product-jetpack-backup.svg",[r.sT]:"/products/product-jetpack-backup.svg",[r.ah]:"/products/product-jetpack-backup.svg",[r.Vl]:"/plans/jetpack-security.svg",[r.Dl]:"/plans/jetpack-security.svg",[r.jI]:"/plans/jetpack-security.svg",[r.bm]:"/plans/jetpack-security.svg",[r.qn]:"/products/product-jetpack-boost.svg",[r.C7]:"/products/product-jetpack-boost.svg"};class p extends o.Component{render(){const{className:e,alt:t,plan:n}=this.props;return c().createElement("img",{className:e,src:s.hp+l[n],width:32,height:32,alt:t||""})}}p.propTypes={classNames:i().string,alt:i().string,plan:i().oneOf([r._d,r.sy,r.Qm,r.wm,r.pd,r.xf,r.G6,r.OE,r.p7,r.j2,r.Wg,r.JA,r.f3,r.lv,r.uz,r.Ij,r.un,r.ZR,r.hI,r.tV,r.XL,r.LA,r.Us,r.WS,r.tl,r.sh,r.vS,r.dW,r.YN,r.ux,r.lj,r.ap,r.mg,r.Xz,r.p2,r.NJ,r.yY,r.Et,r.w2,r.b6,r.aS,r.th,r.JX,r.v_,r.Bi,r.el,r.k3,r.vb,r.k2,r.np,r.ic,r.sT,r.ah,r.Vl,r.Dl,r.jI,r.bm,r.v_,r.Bi]).isRequired}},8154:function(e,t,n){"use strict";var s=n(4743),r=n(5609),a=n(5736),i=n(5799),o=n(5733),c=n(1114),l=n(4069),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(9309),g=n(1372);const __=a.__,f=e=>{let{fetchPluginsData:t,iconAlt:n,iconSrc:p,installOrActivatePrompt:u,isFetchingPluginsData:h,aPluginIsActive:g,aPluginIsInstalled:f,pluginLink:k,pluginName:v,pluginSlug:_}=e;const[E,y]=(0,d.useState)(!1),[b,w]=(0,d.useState)(!1),C=(0,d.useCallback)((()=>{if(f)if(g){if(f&&g)return Promise.resolve()}else y(!0);else w(!0);return l.Z.tracks.recordJetpackClick({target:"plugin_dash_item",type:f?"install":"activate",feature:_}),s.ZP.installPlugin(_,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>t())).finally((()=>{y(!1),w(!1)}))}),[t,g,f,_]);return m().createElement("div",{className:"plugin-dash-item"},m().createElement(c.Z,{className:"plugin-dash-item__section-header",label:v}),h?m().createElement(i.Z,{className:"plugin-dash-item__content"},m().createElement("p",null,__("Loading…","jetpack"))):b?m().createElement(i.Z,{className:"plugin-dash-item__content"},m().createElement(r.Spinner,null),m().createElement("p",null,(0,a.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Installing %s","jetpack"),v))):E?m().createElement(i.Z,{className:"plugin-dash-item__content"},m().createElement(r.Spinner,null),m().createElement("p",null,(0,a.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Activating %s","jetpack"),v))):f?g?m().createElement(o.ZP,{callToAction:(0,a.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Manage %s","jetpack"),v),icon:p?void 0:"plugins",iconAlt:n,iconSrc:p,title:__("Plugin is installed & active.","jetpack"),href:k}):m().createElement(o.ZP,{callToAction:(0,a.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Activate %s","jetpack"),v),icon:p?void 0:"plugins",iconAlt:n,iconSrc:p,title:u,onClick:C}):m().createElement(o.ZP,{callToAction:(0,a.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Install %s","jetpack"),v),icon:p?void 0:"plugins",iconAlt:n,iconSrc:p,title:u,onClick:C}))};f.propTypes={pluginName:u().string.isRequired,pluginFiles:u().arrayOf(u().string).isRequired,pluginSlug:u().string.isRequired,pluginLink:u().string.isRequired,installOrActivatePrompt:u().element.isRequired,iconAlt:u().string,iconSrc:u().string,isFetchingPluginsData:u().bool,aPluginIsActive:u().bool,aPluginIsInstalled:u().bool},t.Z=(0,h.$j)(((e,t)=>{let{pluginFiles:n}=t;return{isFetchingPluginsData:(0,g.vz)(e),aPluginIsInstalled:n.some((t=>(0,g.P8)(e,t))),aPluginIsActive:n.some((t=>(0,g.TB)(e,t)))}}),(e=>({fetchPluginsData:()=>e((0,g.s4)())})))(f)},8402:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(5235),i=n.n(a),o=n(9494),c=n.n(o),l=n(616),p=n(1128),u=n.n(p),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(1850),v=n.n(k),_=n(8355);const E=u()("calypso:popover"),y=new Set;class b extends g.Component{constructor(e){super(e),this.setPopoverId(e.id),this.setDOMBehavior=this.setDOMBehavior.bind(this),this.setPosition=this.setPosition.bind(this),this.onClickout=this.onClickout.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onWindowChange=this.onWindowChange.bind(this),this.state={show:e.isVisible,left:-99999,top:-99999,positionClass:this.getPositionClass(e.position)}}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,_.fN)()}UNSAFE_componentWillReceiveProps(e){if((0,_.kK)(e.context)?this.domContext=e.context:this.domContext=v().findDOMNode(e.context),!e.isVisible)return null;this.setPosition()}componentDidUpdate(e){const{isVisible:t}=this.props;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after render completes"),void setTimeout((()=>this.setPosition()),0)):null}componentWillUnmount(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,_.zR)(),y.delete(this.id),E("current popover instances: ",y.size)}bindEscKeyListener(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}unbindEscKeyListener(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}onKeydown(e){if(27!==e.keyCode)return null;this.close(!0)}bindClickoutHandler(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),this._clickoutHandlerReference=t=>{e.contains(t.target)||this.onClickout(t)},void document.addEventListener("click",this._clickoutHandlerReference,!0)):(this.debug("no element to bind clickout side "),null)}unbindClickoutHandler(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),document.removeEventListener("click",this._clickoutHandlerReference,!0),this._clickoutHandlerReference=null)}onClickout(e){let t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){const n=v().findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}bindDebouncedReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindDebouncedReposition(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}onWindowChange(){this.willReposition=window.requestAnimationFrame(this.setPosition)}setDOMBehavior(e){if(!e)return this.unbindClickoutHandler(),null;this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,_.kK)(this.props.context)?this.domContext=this.props.context:this.domContext=v().findDOMNode(this.props.context),this.domContainer.focus(),this.setPosition()}getPositionClass(){return`is-${(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position).replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainer:e,domContext:t}=this,{position:n}=this.props;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;let s=n;this.debug("position: %o",n),this.props.autoPosition&&(s=(0,_.X6)(n,e,t),this.debug("suggested position: %o",s));const r=(0,d.assign)({},(0,_.Ou)((0,_.cv)(s,e,t),e),{positionClass:this.getPositionClass(s)});return this.debug("updating reposition: ",r),r}debug(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];E(`[%s] ${e}`,this.id,...n)}setPopoverId(e){this.id=e||`pop__${c()(16)}`,y.add(this.id),this.debug("creating ..."),E("current popover instances: ",y.size)}setPosition(){const e=this.computePosition();if(!e)return null;this.willReposition=null,this.setState(e)}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){if(!this.props.showDelay)return this.setState({show:!0}),null;this.debug("showing in %o",`${this.props.showDelay}ms`),this.clearShowTimer(),this._openDelayTimer=setTimeout((()=>{this.setState({show:!0})}),this.props.showDelay)}hide(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}clearShowTimer(){if(!this._openDelayTimer)return null;clearTimeout(this._openDelayTimer),this._openDelayTimer=null}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.props.isVisible)return this.debug("popover should be already closed"),null;this.domContext.focus(),this.props.onClose(e)}render(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;const e=i()("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),f().createElement(l.Z,{className:this.props.rootClassName},f().createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},f().createElement("div",{className:"dops-popover__arrow"}),f().createElement("div",{className:"dops-popover__inner"},this.props.children)))}}r()(b,"propTypes",{autoPosition:h().bool,className:h().string,closeOnEsc:h().bool,id:h().string,ignoreContext:h().shape({getDOMNode:h().function}),position:h().string,rootClassName:h().string,showDelay:h().number,onClose:h().func.isRequired,onShow:h().func}),r()(b,"defaultProps",{autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:()=>{}}),t.Z=b},8355:function(e,t,n){"use strict";n.d(t,{Ou:function(){return k},X6:function(){return g},cv:function(){return f},fN:function(){return m},kK:function(){return v},zR:function(){return h}});var s=n(6163),r=n.n(s),a=n(1128);const i=n.n(a)()("calypso:popover:util");function o(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,i("viewport: %o",e),e}const c={top:"bottom",bottom:"top",left:"right",right:"left"},l={top:"right",left:"top",bottom:"left",right:"bottom"};let p=o();function u(){p=o()}let d=!1;const m=()=>{if(d)return i("window events already bound");d=!0,i("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",u,!0),window.addEventListener("scroll",u,!0)},h=()=>{if(!d)return i("window events are not bound");d=!1,i("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",u,!0),window.removeEventListener("scroll",u,!0)},g=(e,t,n)=>{const s=r()(n),a=t.clientHeight,i=t.clientWidth,o={top:s.top-a,bottom:p.height-s.bottom-a,left:s.left-i,right:p.width-s.right-i},u=e.split(/\s+/),[d]=u;let[,m]=u;const h=function(e,t){const n=[e,c[e],l[e],c[l[e]]];let s,r=-1/0;for(let a=0,i=n.length;a<i;a++){const i=n[a],o=t[i];if(o>0)return i;o>r&&(r=o,s=e)}return s}(d,o);return m!==h&&m!==c[h]||(m=null),function(e,t,n,s,r,a){const i=t?[e+" "+t,e,e+" "+c[t]]:[e,e+" "+l[e],e+" "+c[l[e]]];let o,u=0;const d=r*a;for(let e=0,t=i.length;e<t;e++){const t=i[e],c=f(t,n,s),l=c.left+r,m=c.top+a,h=Math.min(c.top<p.top?m-p.top:p.bottom-c.top,a),g=Math.min(c.left<p.left?l-p.left:p.right-c.left,r)*h;if(g===d)return t;g>u&&(u=g,o=t)}return o}(h,m,t,n,i,a)||e};function f(e,t,n){const s=r()(t);if(!s)throw new Error("could not get bounding client rect of Tip element");const a=s.width,i=s.height,o=r()(n);if(!o)throw new Error("could not get bounding client rect of `target`");const c=o.width,l=o.height,p=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],s=t.documentElement||n.parentNode,r=s.clientTop||n.clientTop||0,a=s.clientLeft||n.clientLeft||0,i=window.pageYOffset||s.scrollTop,o=window.pageXOffset||s.scrollLeft;return{top:e.top+i-r,left:e.left+o-a}}(o,document);if(!p)throw new Error("could not determine page offset of `target`");let u={};switch(e){case"top":u={top:p.top-i,left:p.left+c/2-a/2};break;case"bottom":u={top:p.top+l,left:p.left+c/2-a/2};break;case"right":u={top:p.top+l/2-i/2,left:p.left+c};break;case"left":u={top:p.top+l/2-i/2,left:p.left-a};break;case"top left":u={top:p.top-i,left:p.left+c/2-a+15};break;case"top right":u={top:p.top-i,left:p.left+c/2-15};break;case"bottom left":u={top:p.top+l,left:p.left+c/2-a+15};break;case"bottom right":u={top:p.top+l,left:p.left+c/2-15};break;case"left top":u={top:p.top+l/2-i,left:p.left-a};break;case"left bottom":u={top:p.top+l/2,left:p.left-a};break;case"right top":u={top:p.top+l/2-i,left:p.left+c};break;case"right bottom":u={top:p.top+l/2,left:p.left+c};break;default:throw new Error(`invalid position "${e}"`)}return u}const k=function(e,t){const n=r()(t).width;return e.left=Math.max(0,Math.min(e.left,p.width-n)),e},v=e=>{try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}},420:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var s=n(5736),r=n(5060),a=n(9196),i=n.n(a);const __=s.__,o=()=>i().createElement("div",{className:"jp-product-activated-label"},i().createElement(r.Z,{icon:"checkmark",size:20}),i().createElement("span",{className:"jp-product-activated-label__text"},__("Activated","jetpack")))},8833:function(e,t,n){"use strict";var s=n(17),r=n.n(s),a=n(9771),i=n(5736),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l);const __=i.__;class u extends p().PureComponent{render(){const{expiryDate:e,purchaseDate:t,isRefundable:n,dateFormat:s}=this.props;if(!e&&!t)return null;if(!e||n){const e=new Date(t);return"Invalid Date"!==e.toString()?(0,i.sprintf)(/* translators: placeholder is a date. */
__("Purchased on %s.","jetpack"),(0,a.dateI18n)(s,e)):null}const r=new Date(e);return"Invalid Date"===r.toString()?null:(0,a.isInTheFuture)(r)?(0,i.sprintf)(/* translators: placeholder is a date. */
__("Renews on %s.","jetpack"),(0,a.dateI18n)(s,r)):(0,i.sprintf)(/* translators: placeholder is a date. */
__("Expired on %s.","jetpack"),(0,a.dateI18n)(s,r))}}r()(u,"propTypes",{expiryDate:c().string,purchaseDate:c().string,isRefundable:c().bool,dateFormat:c().string}),r()(u,"defaultProps",{expiryDate:"",purchaseDate:"",isRefundable:!1,dateFormat:"F j, Y"}),t.Z=u},6799:function(e,t,n){"use strict";var s=n(1045),r=n(5736),a=n(7506),i=n(5799),o=n(1549),c=n(2676),l=n(4069),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(9309),g=n(1975),f=n(6300);const __=r.__,_x=r._x;function k(e){const{show:t,onHide:n,isSiteConnected:r,isReconnectingSite:o,beforeReconnectSite:p,initiateUserConnection:u,reconnectFailed:h,clickReconnectSite:g}=e,f=(0,d.useCallback)((()=>t&&r&&!o),[t,r,o]),k=(0,d.useCallback)((()=>{n&&n()}),[n]),{restoreConnection:v}=(0,s.Z)(),_=(0,d.useCallback)((e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("confirm_reconnect_modal"),p(),v(!1).then((e=>{"in_progress"===e.status&&u(e.authorizeUrl)})).catch((e=>h(e))),k()}),[p,u,h,v,k]);return f()&&m().createElement(c.Z,{className:"reconnect__modal",onRequestClose:k},m().createElement(i.Z,{className:"reconnect__modal__body"},m().createElement("h2",null,__("Reconnect Jetpack","jetpack")),m().createElement("h4",null,__("You’ve clicked a link to restore your Jetpack connection.","jetpack")),m().createElement("h4",null,m().createElement("strong",null,__("You should only do this if advised by Site Health tests or Jetpack Support.","jetpack"))),m().createElement("h4",null,__("Click below to reconnect Jetpack","jetpack")),m().createElement("div",{className:"reconnect__modal-actions"},m().createElement(a.Z,{className:"reconnect__modal-cancel",onClick:k},_x("Cancel","A caption for a button to cancel an action.","jetpack")),m().createElement(a.Z,{className:"reconnect__modal-reconnect",onClick:g||_,primary:!0},_x("Reconnect Jetpack","A caption for a button to reconnect Jetpack.","jetpack")))))}k.displayName="ReconnectModal",k.propTypes={show:u().bool,onHide:u().func,clickReconnectSite:u().func},k.defaultProps={show:!1},t.Z=(0,h.$j)((e=>({isSiteConnected:(0,f.q7)(e),isReconnectingSite:(0,f.O_)(e)})),(e=>({beforeReconnectSite:()=>{e({type:g.bGw}),e((0,o.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"}))},initiateUserConnection:t=>{e({type:g.dDV}),e({type:g.hmP,connectUrl:t}),e((0,f.bL)())},reconnectFailed:t=>{e({type:g.B9W,error:t}),e((0,o.qq)("reconnect-jetpack")),e((0,o.iI)("is-error",(0,r.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}})))(k)},616:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(17),r=n.n(s),a=n(9307),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),p=n(9309);class u extends l().Component{constructor(){super(...arguments),r()(this,"renderChildren",(()=>{let e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?l().createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=l().createElement(p.zt,{store:this.context.store},e)),this.containerRoot.render(e)}))}componentDidMount(){if(this.container=document.createElement("div"),document.body.appendChild(this.container),a.createRoot)this.containerRoot=a.createRoot(this.container);else{const e=this.container;this.containerRoot={render:t=>a.render(t,e),unmount:()=>a.unmountComponentAtNode(e)}}this.renderChildren()}componentDidUpdate(){this.renderChildren()}componentWillUnmount(){if(!this.container)return;const e=this.containerRoot;setTimeout((()=>{e.unmount()})),document.body.removeChild(this.container),delete this.container,delete this.containerRoot}render(){return null}}r()(u,"displayName","RootChild"),r()(u,"propTypes",{children:o().node}),r()(u,"contextTypes",{store:o().object})},1677:function(e,t,n){"use strict";var s=n(2674),r=n.n(s),a=n(17),i=n.n(a),o=n(2816),c=n(5235),l=n.n(c),p=n(5060),u=n(4069),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(1850),v=n.n(k);function _(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class E extends f().Component{constructor(){super(...arguments),i()(this,"state",{keyword:this.props.initialValue||"",isOpen:!!this.props.isOpen,hasFocus:!1}),i()(this,"scrollOverlay",(()=>{this.refs.overlay&&window.requestAnimationFrame((()=>{this.refs.overlay&&this.refs.searchInput&&(this.refs.overlay.scrollLeft=this.getScrollLeft(this.refs.searchInput))}))})),i()(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),s=parseFloat(n.paddingLeft),r=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+s-r.left})),i()(this,"focus",(()=>{setTimeout((()=>this.refs.searchInput&&v().findDOMNode(this.refs.searchInput).focus()),0)})),i()(this,"blur",(()=>{v().findDOMNode(this.refs.searchInput).blur()})),i()(this,"getCurrentSearchValue",(()=>v().findDOMNode(this.refs.searchInput).value)),i()(this,"clear",(()=>{this.setState({keyword:""})})),i()(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),i()(this,"onChange",(()=>{this.setState({keyword:this.getCurrentSearchValue()})})),i()(this,"openSearch",(e=>{this.props.onClick(),e.preventDefault(),this.setState({keyword:"",isOpen:!0}),u.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Open Search")})),i()(this,"closeSearch",(e=>{if(e.preventDefault(),this.props.disabled)return;const t=v().findDOMNode(this.refs.searchInput);this.setState({keyword:"",isOpen:this.props.isOpen||!1}),t.value="",t.blur(),this.props.pinned&&v().findDOMNode(this.refs.openIcon).focus(),this.props.onSearchClose(e),u.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Close Search")})),i()(this,"keyUp",(e=>{"Enter"===e.key&&(0,o.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),i()(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)})),i()(this,"onFocus",(()=>{const e=v().findDOMNode(this.refs.searchInput),t=e.value;t&&(e.value="",e.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),i()(this,"renderStylingDiv",(()=>f().createElement("div",{className:"dops-search__text-overlay",ref:"overlay"},this.props.overlayStyling(this.state.keyword)))),i()(this,"closeButton",(()=>this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:f().createElement("div",{role:"button",className:"dops-search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDow
Showing 512.00 KB of 976.13 KB. Use Edit/Download for full content.
Directory Contents
Dirs: 19 × Files: 46