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KO}ӽmSşذqsOy?\[,d@'73'j%kOe`1.g2"e =YIzS2|zŐƄa\U,dP;jhhhaxǶ?КZ՚.q SE+XrbOu%\GتX(H,N^~]JyEZQKceTQ]VGYqnah;y$cQahT&QPZ*iZ8UQQM.qo/T\7X"u?Mttl2Xq(IoW{R^ ux*SYJ! 4S.Jy~ BROS[V|žKNɛP(L6V^|cR7i7nZW1Fd@ Ara{詑|(T*dN]Ko?s=@ |_EvF]׍kR)eBJc" MUUbY6`~V޴dJKß&~'d3i WWWWWW
Current Directory: /opt/wp/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build
Viewing File: /opt/wp/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js
/*! For license information please see index.js.LICENSE.txt */ !function(){var e={4728:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var i={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function r(e){return i[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},6078:function(e,t,n){"use strict";n.d(t,{LR:function(){return c}});var i=n(2086),r=n(3807),o=n(4728);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=(0,o.X)(t);if(!c||isNaN(e))return null;var s=(0,i.Z)({},c,n),a=s.decimal,l=s.grouping,u=s.precision,p=s.symbol,d=e<0?"-":"",g=Math.abs(e),m=Math.floor(g),f=(0,r.Y4)(m,{decimals:0,thousandsSep:l,decPoint:a}),h=u>0?(0,r.Y4)(g-m,{decimals:u,thousandsSep:l,decPoint:a}).slice(1):"";return{sign:d,symbol:p,integer:f,fraction:h}}},8772:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(9196),r=n(5592);function o(e,t){let n,r,c=[];for(let i=0;i<e.length;i++){const o=e[i];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],r=i;break}c.push(t[o.value])}else c.push(o.value)}if(n){const s=function(e,t){const n=t[e];let i=0;for(let r=e+1;r<t.length;r++){const e=t[r];if(e.value===n.value){if("componentOpen"===e.type){i++;continue}if("componentClose"===e.type){if(0===i)return r;i--}}}throw new Error("Missing closing component token `"+n.value+"`")}(r,e),a=o(e.slice(r+1,s),t),l=(0,i.cloneElement)(n,{},a);if(c.push(l),s<e.length-1){const n=o(e.slice(s+1),t);c=c.concat(n)}}return c=c.filter(Boolean),0===c.length?null:1===c.length?c[0]:(0,i.createElement)(i.Fragment,null,...c)}function c(e){const{mixedString:t,components:n,throwErrors:i}=e;if(!n)return t;if("object"!=typeof n){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const c=(0,r.Z)(t);try{return o(c,n)}catch(e){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},5592:function(e,t,n){"use strict";function i(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function r(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(i)}n.d(t,{Z:function(){return r}})},4502:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},236:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(1354),r=n(4803);function o(e){var t=(0,i.Z)(e);return function(e){return(0,r.Z)(t,e)}}},4803:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function r(e,t){var n,r,o,c,s,a,l=[];for(n=0;n<e.length;n++){if(s=e[n],c=i[s]){for(r=c.length,o=Array(r);r--;)o[r]=l.pop();try{a=c.apply(null,o)}catch(e){return e}}else a=t.hasOwnProperty(s)?t[s]:+s;l.push(a)}return l[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(8172);function r(e){var t=(0,i.Z)(e);return function(e){return+t({n:e})}}},1354:function(e,t,n){"use strict";var i,r,o,c;function s(e){for(var t,n,s,a,l=[],u=[];t=e.match(c);){for(n=t[0],(s=e.substr(0,t.index).trim())&&l.push(s);a=u.pop();){if(o[n]){if(o[n][0]===a){n=o[n][1]||n;break}}else if(r.indexOf(a)>=0||i[a]<i[n]){u.push(a);break}l.push(a)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&l.push(e),l.concat(u.reverse())}n.d(t,{Z:function(){return s}}),i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},r=["(","?"],o={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function r(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(i,(function(){var e,i,r,o,c;return e=arguments[3],i=arguments[5],"%"===(o=arguments[9])?"%":("*"===(r=arguments[7])&&(r=t[n-1],n++),void 0!==i?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(i)&&(c=t[0][i]):(void 0===e&&(e=n),n++,c=t[e-1]),"f"===o?c=parseFloat(c)||0:"d"===o&&(c=parseInt(c)||0),void 0!==r&&("f"===o?c=c.toFixed(r):"s"===o&&(c=c.substr(0,r))),null!=c?c:"")}))}},9105:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var c=r.apply(null,n);c&&e.push(c)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);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)}()},9667:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(r=i))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(342)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},342:function(e,t,n){e.exports=function(e){function t(e){let n,r,o,c=null;function s(...e){if(!s.enabled)return;const i=s,r=Number(new Date),o=r-(n||r);i.diff=o,i.prev=n,i.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let c=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";c++;const o=t.formatters[r];if("function"==typeof o){const t=e[c];n=o.call(i,t),e.splice(c,1),c--}return n})),t.formatArgs.call(i,e);(i.log||t.log).apply(i,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==c?c:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{c=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),r=i.length;for(n=0;n<r;n++)i[n]&&("-"===(e=i[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,i;for(n=0,i=t.skips.length;n<i;n++)if(t.skips[n].test(e))return!1;for(n=0,i=t.names.length;n<i;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},2571:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,i){function r(n){e.removeListener(t,o),i(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,r,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var c=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,i){var r,o,c,l;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),c=o[t]),void 0===c)c=o[t]=n,++e._eventsCount;else if("function"==typeof c?c=o[t]=i?[n,c]:[c,n]:i?c.unshift(n):c.push(n),(r=a(e))>0&&c.length>r&&!c.warned){c.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=c.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){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 p(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=u.bind(i);return r.listener=n,i.wrapFn=r,r}function d(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[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):m(r,r.length)}function g(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 m(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function f(e,t,n,i){if("function"==typeof e.on)i.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(o){i.once&&e.removeEventListener(t,r),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return c},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+".");c=e}}),o.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},o.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},o.prototype.getMaxListeners=function(){return a(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var c;if(t.length>0&&(c=t[0]),c instanceof Error)throw c;var s=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw s.context=c,s}var a=o[e];if(void 0===a)return!1;if("function"==typeof a)i(a,this,t);else{var l=a.length,u=m(a,l);for(n=0;n<l;++n)i(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,i,r,o,c;if(s(t),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){c=n[o].listener,r=o;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&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,c||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,i;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,o=Object.keys(n);for(i=0;i<o.length;++i)"removeListener"!==(r=o[i])&&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(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},o.prototype.listenerCount=g,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5949:function(e,t,n){"use strict";var i=n(3566),r=n(8282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-n,this.endian);for(var r=0;r<e.length;r+=this._delta32)this._update(e,r,r+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,i=new Array(n+this.padLength);i[0]=128;for(var r=1;r<n;r++)i[r]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)i[r++]=0;i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=e>>>24&255,i[r++]=e>>>16&255,i[r++]=e>>>8&255,i[r++]=255&e}else for(i[r++]=255&e,i[r++]=e>>>8&255,i[r++]=e>>>16&255,i[r++]=e>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,o=8;o<this.padLength;o++)i[r++]=0;return i}},9016:function(e,t,n){"use strict";var i=n(3566),r=n(5949),o=n(7574),c=i.rotl32,s=i.sum32,a=i.sum32_5,l=o.ft_1,u=r.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i<n.length;i++)n[i]=c(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var r=this.h[0],o=this.h[1],u=this.h[2],d=this.h[3],g=this.h[4];for(i=0;i<n.length;i++){var m=~~(i/20),f=a(c(r,5),l(m,o,u,d),g,n[i],p[m]);g=d,d=u,u=c(o,30),o=r,r=f}this.h[0]=s(this.h[0],r),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],g)},d.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},7574:function(e,t,n){"use strict";var i=n(3566).rotr32;function r(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function c(e,t,n){return e^t^n}t.ft_1=function(e,t,n,i){return 0===e?r(t,n,i):1===e||3===e?c(t,n,i):2===e?o(t,n,i):void 0},t.ch32=r,t.maj32=o,t.p32=c,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},3566:function(e,t,n){"use strict";var i=n(8282),r=n(9503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function c(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=r,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(var i=0,r=0;r<e.length;r++){var c=e.charCodeAt(r);c<128?n[i++]=c:c<2048?(n[i++]=c>>6|192,n[i++]=63&c|128):o(e,r)?(c=65536+((1023&c)<<10)+(1023&e.charCodeAt(++r)),n[i++]=c>>18|240,n[i++]=c>>12&63|128,n[i++]=c>>6&63|128,n[i++]=63&c|128):(n[i++]=c>>12|224,n[i++]=c>>6&63|128,n[i++]=63&c|128)}else for(r=0;r<e.length;r++)n[r]=0|e[r];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=c,t.toHex32=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e[i];"little"===t&&(r=c(r)),n+=a(r.toString(16))}return n},t.zero2=s,t.zero8=a,t.join32=function(e,t,n,r){var o=n-t;i(o%4==0);for(var c=new Array(o/4),s=0,a=t;s<c.length;s++,a+=4){var l;l="big"===r?e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],c[s]=l>>>0}return c},t.split32=function(e,t){for(var n=new Array(4*e.length),i=0,r=0;i<e.length;i++,r+=4){var o=e[i];"big"===t?(n[r]=o>>>24,n[r+1]=o>>>16&255,n[r+2]=o>>>8&255,n[r+3]=255&o):(n[r+3]=o>>>24,n[r+2]=o>>>16&255,n[r+1]=o>>>8&255,n[r]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,i){return e+t+n+i>>>0},t.sum32_5=function(e,t,n,i,r){return e+t+n+i+r>>>0},t.sum64=function(e,t,n,i){var r=e[t],o=i+e[t+1]>>>0,c=(o<i?1:0)+n+r;e[t]=c>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,i){return(t+i>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,i){return t+i>>>0},t.sum64_4_hi=function(e,t,n,i,r,o,c,s){var a=0,l=t;return a+=(l=l+i>>>0)<t?1:0,a+=(l=l+o>>>0)<o?1:0,e+n+r+c+(a+=(l=l+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,i,r,o,c,s){return t+i+o+s>>>0},t.sum64_5_hi=function(e,t,n,i,r,o,c,s,a,l){var u=0,p=t;return u+=(p=p+i>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+s>>>0)<s?1:0,e+n+r+c+a+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,i,r,o,c,s,a,l){return t+i+o+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},8617:function(e,t,n){"use strict";var i=n(2450),r=n(9788),o=n(9667),c=n.n(o),s=n(8772),a=n(8090),l=n(5565),u=n.n(l),p=n(9016),d=n.n(p),g=n(2571),m=n(702),f=n(2846),h=c()("i18n-calypso"),y="number_format_decimals",v="number_format_thousands_sep",b="messages",_=[function(e){return e}],k={};function C(){O.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function w(e){return Array.prototype.slice.call(e)}function j(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&C("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",w(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&C("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",w(e));for(var n={},i=0;i<e.length;i++)"object"==typeof e[i]&&(n=e[i]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){return e.dcnpgettext(b,t.context,t.original,t.plural,t.count)}function S(e,t){for(var n=_.length-1;n>=0;n--){var i=_[n](Object.assign({},t)),r=i.context?i.context+""+i.original:i.original;if(e.state.locale[r])return E(e.state.tannin,i)}return null}function O(){if(!(this instanceof O))return new O;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}O.throwErrors=!1,O.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},O.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},O.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},O.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,i=t.decPoint||this.state.numberFormatSettings.decimal_point||".",r=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,i,r)},O.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},O.prototype.setLocale=function(e){var t,n,i;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],c=function(e,t){var n=!1===t?"":String(t);if(void 0!==k[n+e])return k[n+e];var i=d()().update(e).digest("hex");return k[n+e]=t?i.substr(0,t):i},s=function(e){return function(t){return t.context?(t.original=c(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=c(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)_.push(s(!1));else{var l=o.substr(5).indexOf("-");if(l<0){var u=Number(o.substr(5));_.push(s(u))}else for(var p=Number(o.substr(5,l)),g=Number(o.substr(6+l)),m=p;m<=g;m++)_.push(s(m))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(i=n.momentjs_locale)||void 0===i?void 0:i.textDirection),this.state.tannin=new a.Z((0,r.Z)({},b,this.state.locale)),this.state.numberFormatSettings.decimal_point=E(this.state.tannin,j([y])),this.state.numberFormatSettings.thousands_sep=E(this.state.tannin,j([v])),this.state.numberFormatSettings.decimal_point===y&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===v&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},O.prototype.getLocale=function(){return this.state.locale},O.prototype.getLocaleSlug=function(){return this.state.localeSlug},O.prototype.isRtl=function(){return"rtl"===this.state.textDirection},O.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},O.prototype.hasTranslation=function(){return!!S(this,j(arguments))},O.prototype.translate=function(){var e=j(arguments),t=S(this,e);if(t||(t=E(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=m.Z.apply(void 0,(0,i.Z)(n))}catch(e){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[r](e):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},O.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},O.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},O.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=O},3807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return a}});var i=n(8617),r=n(2928),o=n(975),c=n(4531),s=new i.Z,a=s.numberFormat.bind(s),l=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,r.Z)(s),(0,o.Z)(s),(0,c.Z)(s));l.useRtl,l.withRtl},2928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(4316),r=n(2829),o=n(1178),c=n(1904),s=n(2590),a=n(5492),l=n(9788),u=n(9196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,g=n.displayName||n.name||"";return d=u=function(u){(0,s.Z)(g,u);var d=(0,a.Z)(g);function g(){var e;(0,r.Z)(this,g);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=d.call.apply(d,[this].concat(n)),(0,l.Z)((0,c.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,c.Z)(e))),e}return(0,o.Z)(g,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var r=(0,i.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,r)}}]),g}(p().Component),(0,l.Z)(u,"displayName","Localized("+g+")"),d}}},2846:function(e,t,n){"use strict";function i(e,t,n,i){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var r=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,c=void 0===i?",":i,s=void 0===n?".":n,a="";return a=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(r,o):""+Math.round(r)).split("."),a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(a[1]||"").length<o&&(a[1]=a[1]||"",a[1]+=new Array(o-a[1].length+1).join("0")),a.join(s)}n.d(t,{Z:function(){return i}})},4531:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(5332),r=n(9196),o=n.n(r),c=n(36),s=n(4333);function a(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,c.useSubscription)(t)}var a=(0,s.createHigherOrderComponent)((function(e){return(0,r.forwardRef)((function(t,r){var c=n();return o().createElement(e,(0,i.Z)({},t,{isRtl:c,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:a}}},975:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(1710),r=n(9196),o=n.n(r);function c(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=o().useState(t),r=(0,i.Z)(n,2),c=r[0],s=r[1];return o().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),c}}},9503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},5565:function(e,t,n){var i=n(2571),r=n(9503);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),i.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,r(o,i.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},8882:function(){},4492:function(){},5765:function(){},5384:function(e,t){"use strict";t.Z={"headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz",label:"PItlW5vRExLnTj4a8eLE"}},4091:function(){},2390:function(){},4765:function(){},7906:function(){},5755:function(){},5934:function(){},8282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},2002:function(e){var t=1e3,n=60*t,i=60*n,r=24*i,o=7*r,c=365.25*r;function s(e,t,n,i){var r=t>=1.5*n;return Math.round(e/n)+" "+i+(r?"s":"")}e.exports=function(e,a){a=a||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*c;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===l&&isFinite(e))return a.long?function(e){var o=Math.abs(e);if(o>=r)return s(e,o,r,"day");if(o>=i)return s(e,o,i,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=r)return Math.round(e/r)+"d";if(o>=i)return Math.round(e/i)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var c,s,a=r(e),l=1;l<arguments.length;l++){for(var u in c=Object(arguments[l]))n.call(c,u)&&(a[u]=c[u]);if(t){s=t(c);for(var p=0;p<s.length;p++)i.call(c,s[p])&&(a[s[p]]=c[s[p]])}}return a}},2504:function(e,t,n){"use strict";var i=n(2265);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,c){if(c!==i){var s=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 s.name="Invariant Violation",s}}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:o,resetWarningCache:r};return n.PropTypes=n,n}},3698:function(e,t,n){e.exports=n(2504)()},2265:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8090:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(7478),r={contextDelimiter:"",onMissingKey:null};function o(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},r)this.options[n]=void 0!==t&&n in t?t[n]:r[n]}o.prototype.getPluralForm=function(e,t){var n,r,o,c=this.pluralForms[e];return c||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,i;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(i=t[n].trim()).indexOf("plural="))return i.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,i.Z)(r)),c=this.pluralForms[e]=o),c(t)},o.prototype.dcnpgettext=function(e,t,n,i,r){var o,c,s;return o=void 0===r?0:this.getPluralForm(e,r),c=n,t&&(c=t+this.options.contextDelimiter+n),(s=this.data[e][c])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:i)}},5325:function(e,t,n){"use strict";var i=n(9667),r=n.n(i),o=n(2819);const c=r()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.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){a={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,o.assign)(s,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]);c("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l.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]);c("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return n}(e,t);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,i,r,o,c){l.ga.recordPurchase(e,t,n,i,r,o,c)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(c("- Super Props: %o",s),t=(0,o.assign)(t,s)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};l.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.ga.initialize(),c("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,i){l.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==i&&(r+=" [Option Value: "+i+"]"),c(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,i)},recordPurchase:function(e,t,n,i,r,o,c){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:i,currency:c}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},488:function(e,t,n){"use strict";var i=n(2819),r=n(6483),o=n(4680);function c(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=c("JsonParseError"),a=c("JsonParseAfterRedirectError"),l=c("Api404Error"),u=c("Api404AfterRedirectError"),p=c("FetchNetworkError");const d=new function(e,t){let n=e,c={"X-WP-Nonce":t},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},c,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",i=n.length?n.split("&"):[];return i.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+i.join("&")};const u={setApiRoot(e){n=e},setApiNonce(e){c={"X-WP-Nonce":e},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},c,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const i={registration_nonce:e,no_iframe:!0};return(0,o.jetpackConfigHas)("consumer_slug")&&(i.plugin_slug=(0,o.jetpackConfigGet)("consumer_slug")),null!==t&&(i.redirect_uri=t),d(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(i)}).then(g).then(m)},fetchAuthorizationUrl:e=>p((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(g).then(m),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(m),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,s).then(m),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,s).then(g).then(m),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(m),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,s).then(g).then(m),updateUserTrackingSettings:e=>d(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),disconnectSite:()=>d(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(g).then(m),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,s).then(g).then(m),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(g).then(m),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,a).then(g).then(m),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,s).then(g).then(m),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(g).then(m),fetchModules:()=>p(`${n}jetpack/v4/module/all`,s).then(g).then(m),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,s).then(g).then(m),activateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(g).then(m),deactivateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>d(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(g).then(m),updateSettings:e=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,s).then(g).then(m),resetOptions:e=>d(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(g).then(m),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(g).then(m),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,s).then(g).then(m),installPlugin:(e,t)=>{const i={slug:e,status:"active"};return t&&(i.source=t),d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(i)}).then(g).then(m)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(g).then(m),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,s).then(g).then(m),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,s).then(g).then(m),checkAkismetKeyTyped:e=>d(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(g).then(m),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),s).then(g).then(m).then(f),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,s).then(g).then(m),getPlans:()=>p(`${n}jetpack/v4/plans`,s).then(g).then(m),fetchSettings:()=>p(`${n}jetpack/v4/settings`,s).then(g).then(m),updateSetting:e=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),fetchSiteData:()=>p(`${n}jetpack/v4/site`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,s).then(g).then(m),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,s).then(g).then(m),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,s).then(g).then(m),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,s).then(g).then(m),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,s).then(g).then(m),saveRecommendationsData:e=>d(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(g),fetchProducts:()=>p(`${n}jetpack/v4/products`,s).then(g).then(m),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,s).then(g).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(g).then(m),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,s).then(g).then(m),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,s).then(g).then(m),verifySiteGoogle:e=>d(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(g).then(m),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,a).then(g).then(m),submitSurvey:e=>d(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(g).then(m),saveSetupQuestionnaire:e=>d(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicensingError:e=>d(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicenseKey:e=>d(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(g).then(m),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,s).then(g).then(m),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,s).then(g).then(m),updateLicensingActivationNoticeDismiss:e=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(g).then(m),updateRecommendationsStep:e=>d(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(g),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(g),startIDCFresh:e=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(g).then(m),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,a).then(g),attachLicenses:e=>d(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(g).then(m),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,s).then(g).then(m),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,s).then(g).then(m),updateSearchSettings:e=>d(`${n}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),fetchSearchStats:()=>p(`${n}jetpack/v4/search/stats`,s).then(g).then(m)};function p(e,t){return fetch(l(e),t)}function d(e,t,n){return fetch(e,(0,i.assign)({},t,n)).catch(h)}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:{}}(0,i.assign)(this,u)};function g(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):e.json().catch((e=>f(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=>f(t,e.redirected,e.url)))}function f(e,t,n){throw t?new a(n):new s}function h(){throw new p}t.ZP=d},4696:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(5736),c=n(5609),s=n(3698),a=n.n(s);n(8882);const __=o.__,l=e=>{const{label:t,onClick:n,isLoading:i,displayError:o,errorMessage:s}=e;return r().createElement("div",{className:"jp-action-button"},r().createElement(c.Button,{className:"jp-action-button--button",label:t,onClick:n,variant:"primary",disabled:i},i?r().createElement(c.Spinner,null):t),o&&r().createElement("p",{className:"jp-action-button__error"},s))};l.propTypes={label:a().string.isRequired,onClick:a().func,isLoading:a().bool,displayError:a().bool,errorMessage:a().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-connection-ui")},t.Z=l},8640:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o);n(4492);const s=e=>{const{format:t,icon:n,imageUrl:i}=e;return r().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},r().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:i?`url( ${i} )`:""}}),r().createElement("div",{className:"jp-components__decorative-card__content"},r().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return r().createElement("div",{className:"jp-components__decorative-card__icon-container"},r().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};s.propTypes={format:c().oneOf(["horizontal","vertical"]),icon:c().oneOf(["unlink"]),imageUrl:c().string},s.defaultProps={format:"horizontal"},t.Z=s},5482:function(e,t,n){"use strict";var i=n(236),r=n.n(i),o=n(4502),c=n.n(o),s=n(3698),a=n.n(s),l=n(9196),u=n.n(l),p=n(9105),d=n.n(p),g=n(5736);const __=g.__;class m extends u().Component{render(){const{logoColor:e,showText:t,className:n,...i}=this.props,o=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},i),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection-ui")),u().createElement("path",{fill:e,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"}),t&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}c()(m,"propTypes",{className:a().string,width:a().number,height:a().number,showText:a().bool,logoColor:a().string}),c()(m,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=m},5508:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5609),a=n(6078),l=n(5736);n(5765);const __=l.__,u=e=>-1===e.fraction.indexOf("00"),p=e=>{const t=(0,a.LR)(e.priceBefore,e.currencyCode),n=(0,a.LR)(e.priceAfter,e.currencyCode);return r().createElement("div",{className:"jp-components__pricing-card"},e.icon&&r().createElement("div",{className:"jp-components__pricing-card__icon"},r().createElement("img",{src:e.icon,alt:(0,l.sprintf)( /* translators: placeholder is a product name */ __("Icon for the product %s","jetpack-connection-ui"),e.title)})),r().createElement("h1",{className:"jp-components__pricing-card__title"},e.title),r().createElement("div",{className:"jp-components__pricing-card__pricing"},e.priceBefore!==e.priceAfter&&r().createElement("div",{className:"jp-components__pricing-card__price-before"},r().createElement("span",{className:"jp-components__pricing-card__currency"},t.symbol),r().createElement("span",{className:"jp-components__pricing-card__price"},t.integer),u(t)&&r().createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",t.fraction),r().createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),r().createElement("div",{className:"jp-components__pricing-card__price-after"},r().createElement("span",{className:"jp-components__pricing-card__currency"},n.symbol),r().createElement("span",{className:"jp-components__pricing-card__price"},n.integer),u(n)&&r().createElement("span",{className:"jp-components__pricing-card__price-decimal"},n.fraction)),r().createElement("span",{className:"jp-components__pricing-card__price-details"},e.priceDetails)),e.children&&r().createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},e.children),e.ctaText&&r().createElement("div",{className:"jp-components__pricing-card__cta"},r().createElement(s.Button,{className:"jp-components__pricing-card__button",label:e.ctaText,onClick:e.onCtaClick},e.ctaText)),e.infoText&&r().createElement("div",{className:"jp-components__pricing-card__info"},e.infoText))};p.propTypes={title:c().string.isRequired,icon:c().string,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,priceDetails:c().string,currencyCode:c().string,ctaText:c().string,onCtaClick:c().func,infoText:c().oneOfType([c().string,c().object])},p.defaultProps={currencyCode:"USD",priceDetails:__("/month, paid yearly","jetpack-connection-ui")},t.Z=p},92:function(e,t,n){"use strict";n.d(t,{H3:function(){return y}});var i=n(236),r=n.n(i),o=n(9196),c=n.n(o),s=n(3698),a=n.n(s),l=n(9105),u=n.n(l),p=n(5384);const d={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p",label:"p"},g={regular:"regular",bold:"bold"},m={medium:"medium",small:"small"},f=e=>{let{variant:t,children:n,component:i,className:o,...s}=e;const a=i||d[t]||"span",l=u()(p.Z[t],o);return c().createElement(a,r()({className:l},s),n)};f.propTypes={variant:a().oneOf(Object.keys(d)),children:a().node,component:a().oneOfType([a().elementType,a().string])},f.defaultProps={variant:"body",children:null,component:null},t.ZP=f;const h=e=>{let{children:t}=e;return c().createElement(f,{variant:"headline-medium"},t)};h.propTypes={children:a().node},h.defaultProps={children:null};const y=e=>{var t;let{children:n,weight:i="bold"}=e;return i="bold"===i?"":i,c().createElement(f,{variant:"headline-small"+(null!==(t=i)&&void 0!==t&&t.length?`-${i}`:""),className:p.Z["headline-small"]},n)};y.propTypes={weight:a().oneOf(Object.values(g)),children:a().node},y.defaultProps={weight:g.bold,children:null};const v=e=>{let{children:t,size:n="medium"}=e;return c().createElement(f,{variant:`title-${n}`,className:p.Z[`title-${n}`]},t)};v.propTypes={size:a().oneOf(Object.values(m)),children:a().node},v.defaultProps={size:m.medium}},4481:function(e,t,n){"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let i;var r;"undefined"!=typeof window&&(i=null===(r=window.Initial_State)||void 0===r?void 0:r.calypsoEnv);if(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),i&&(n.calypso_env=i);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return i}})},4680:function(e,t,n){let i={};try{i=n(Object(function(){var e=new Error("Cannot find module 'jetpackConfig'");throw e.code="MODULE_NOT_FOUND",e}()))}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const r=e=>i.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 i[e]}}},9562:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o);const s=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const i=t.map(((e,t)=>r().createElement(r().Fragment,{key:t},r().createElement("img",{src:n+e,alt:""}))));return r().createElement("div",{className:"jp-connection__connect-screen__image-slider"},i)};s.propTypes={images:c().arrayOf(c().string).isRequired,assetBaseUrl:c().string},s.defaultProps={assetBaseUrl:""},t.Z=s},3509:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5482),a=n(9562);n(4091);const l=e=>{const{title:t,children:n,className:i,assetBaseUrl:o,images:c}=e,l=null==c?void 0:c.length;return r().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(i?" "+i:"")},r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},r().createElement(s.Z,null),r().createElement("h2",null,t),n),l?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(a.Z,{images:c,assetBaseUrl:o})):null)};l.propTypes={title:c().string,className:c().string,images:c().arrayOf(c().string),assetBaseUrl:c().string},t.Z=l},5724:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5736),a=n(7001),l=n(6509);const __=s.__,u=e=>{const{title:t,autoTrigger:n,buttonLabel:i,apiRoot:o,apiNonce:c,registrationNonce:s,from:u,redirectUri:p,children:d,priceBefore:g,priceAfter:m,pricingIcon:f,pricingTitle:h,pricingCurrencyCode:y}=e,{handleRegisterSite:v,isRegistered:b,isUserConnected:_,siteIsRegistering:k,userIsConnecting:C,registrationError:w}=(0,l.Z)({registrationNonce:s,redirectUri:p,apiRoot:o,apiNonce:c,autoTrigger:n,from:u}),j=!b||!_,E=Boolean(w),S=k||C;return r().createElement(a.Z,{title:t,buttonLabel:i,priceBefore:g,priceAfter:m,pricingIcon:f,pricingTitle:h,pricingCurrencyCode:y,handleButtonClick:v,showConnectButton:j,displayButtonError:E,buttonIsLoading:S},d)};u.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,icon:c().string,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string},u.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-connection-ui"),buttonLabel:__("Set up Jetpack","jetpack-connection-ui"),pricingCurrencyCode:"USD",autoTrigger:!1},t.Z=u},7001:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5736),a=n(4481),l=n(4696),u=n(5508),p=n(9307),d=n(3509);n(2390);const __=s.__,g=e=>{const{title:t,buttonLabel:n,children:i,priceBefore:o,priceAfter:c,pricingIcon:s,pricingTitle:g,pricingCurrencyCode:m,isLoading:f,handleButtonClick:h,showConnectButton:y,displayButtonError:v,buttonIsLoading:b}=e,_=(0,p.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-connection-ui"),{tosLink:r().createElement("a",{href:(0,a.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:r().createElement("a",{href:(0,a.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),k=(0,p.createInterpolateElement)(__("Already have a subscription? <connectButton/>","jetpack-connection-ui"),{connectButton:r().createElement(l.Z,{label:__("Log in to get started","jetpack-connection-ui"),onClick:h,isLoading:b})});return r().createElement(d.Z,{title:t,className:"jp-connection__connect-screen-required-plan"+(f?" jp-connection__connect-screen-required-plan__loading":"")},r().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},i,r().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},r().createElement(u.Z,{title:g,icon:s,priceBefore:o,currencyCode:m,priceAfter:c,infoText:y?_:""},y&&r().createElement(l.Z,{label:n,onClick:h,displayError:v,isLoading:b}))),y&&r().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},k)))};g.propTypes={pricingTitle:c().string.isRequired,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,title:c().string,buttonLabel:c().string,pricingIcon:c().string,isLoading:c().bool,handleButtonClick:c().func,showConnectButton:c().bool,displayButtonError:c().bool,buttonIsLoading:c().bool},g.defaultProps={pricingCurrencyCode:"USD",showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},t.Z=g},7143:function(e,t,n){"use strict";var i=n(9196),r=n(3698),o=n.n(r),c=n(488);const s=e=>{const{redirectFunc:t,connectUrl:n,redirectUri:r,from:o}=e,[s,a]=(0,i.useState)(null);return n&&n!==s&&a(n),(0,i.useEffect)((()=>{s||c.ZP.fetchAuthorizationUrl(r).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(t(s+(o?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(o):"")),null):null};s.propTypes={connectUrl:o().string,redirectUri:o().string.isRequired,from:o().string,redirectFunc:o().func},s.defaultProps={redirectFunc:e=>window.location.assign(e),redirectUri:null},t.Z=s},5096:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5736),a=n(7095);const __=s.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,o=(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&&o.length>0?r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().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-connection-ui"))),r().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>r().createElement(a.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().object,disconnectingPlugin:c().string},t.Z=l},3607:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(5736),c=n(5609),s=n(3698),a=n.n(s),l=n(488),u=n(92),p=n(9818),d=n(7143),g=n(8875),m=n(8310),f=n(6509);n(4765);const __=o.__,h=e=>{var t,n,o,s;const{apiRoot:a,apiNonce:h,redirectUri:y,title:v,connectionInfoText:b,onDisconnected:_,connectedPlugins:k,connectedSiteId:C,context:w,onConnectUser:j,requiresUserConnection:E}=e,{isRegistered:S,isUserConnected:O,userConnectionData:N,hasConnectedOwner:Z}=(0,f.Z)({apiRoot:a,apiNonce:h}),P=(0,i.useRef)(),R=null===(t=N.currentUser)||void 0===t||null===(n=t.wpcomUser)||void 0===n?void 0:n.avatar;(0,i.useEffect)((()=>{R&&(P.current.style.backgroundImage=`url('${R}')`)}),[R]);const[x,T]=(0,i.useState)(!1),F=(0,p.useSelect)((e=>e(m.t).getUserIsConnecting()),[]),{setConnectionStatus:I,setUserIsConnecting:A}=(0,p.useDispatch)(m.t),U=j||A;(0,i.useEffect)((()=>{l.ZP.setApiRoot(a),l.ZP.setApiNonce(h)}),[a,h]);const L=(0,i.useCallback)((e=>{e&&e.preventDefault(),T(!0)}),[T]),D=(0,i.useCallback)((e=>{e&&e.preventDefault(),T(!1)}),[T]),$=(0,i.useCallback)((e=>{e&&e.preventDefault(),I({isActive:!1,isRegistered:!1,isUserConnected:!1}),_&&"[object Function]"==={}.toString.call(_)&&_()}),[_,I]);return S?r().createElement("div",{className:"jp-connection-status-card"},r().createElement(u.H3,null,v),r().createElement(u.ZP,{variant:"body"},b),r().createElement("div",{className:"jp-connection-status-card--status"},r().createElement("div",{className:"jp-connection-status-card--cloud"}),r().createElement("div",{className:"jp-connection-status-card--line"+(O?"":" jp-connection-status-card--site-only")}),r().createElement("div",{className:"jp-connection-status-card--jetpack-logo"}),r().createElement("div",{className:"jp-connection-status-card--avatar",ref:P})),r().createElement("ul",{className:"jp-connection-status-card--list"},r().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Site connected.","jetpack-connection-ui")," ",r().createElement(c.Button,{variant:"link",onClick:L,className:"jp-connection__disconnect-dialog__link"},__("Disconnect","jetpack-connection-ui")),r().createElement(g.Z,{apiRoot:a,apiNonce:h,onDisconnected:$,connectedPlugins:k,connectedSiteId:C,connectedUser:N,isOpen:x,onClose:D,context:w})),O&&r().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Logged in as","jetpack-connection-ui")," ",null===(o=N.currentUser)||void 0===o||null===(s=o.wpcomUser)||void 0===s?void 0:s.display_name),!Z&&r().createElement("li",{className:"jp-connection-status-card--list-item-"+(E?"error":"info")},E&&__("Requires user connection.","jetpack-connection-ui")," ",r().createElement(c.Button,{variant:"link",disabled:F,onClick:U,className:"jp-connection-status-card--btn-connect-user"},__("Connect your user account","jetpack-connection-ui")))),F&&r().createElement(d.Z,{redirectUri:y})):null};h.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,redirectUri:a().string,connectedPlugins:a().object,connectedSiteId:a().number,title:a().string,connectionInfoText:a().string,onDisconnected:a().func,context:a().string,onConnectUser:a().func,requiresUserConnection:a().bool},h.defaultProps={title:__("Connection","jetpack-connection-ui"),connectionInfoText:__("Leverages the Jetpack Cloud for more features on your side.","jetpack-connection-ui"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0},t.Z=h},7095:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o);n(7906);const s=e=>{const{title:t,value:n,description:i}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||i)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},i))))};s.propTypes={title:c().string,value:c().oneOfType([c().string,c().number]),description:c().number},t.Z=s},8875:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5736),a=n(5609),l=n(488),u=n(5325),p=n(4680),d=(n(5755),n(1945)),g=n(2365),m=n(5125),f=n(7343);const __=s.__,h=e=>{const[t,n]=(0,i.useState)(!1),[o,c]=(0,i.useState)(!1),[s,h]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),[b,_]=(0,i.useState)(!1),[k,C]=(0,i.useState)(!1),{apiRoot:w,apiNonce:j,connectedPlugins:E,title:S,pluginScreenDisconnectCallback:O,onDisconnected:N,onError:Z,disconnectStepComponent:P,context:R,connectedUser:x,connectedSiteId:T,isOpen:F,onClose:I}=e;let A="";(0,p.jetpackConfigHas)("consumer_slug")&&(A=(0,p.jetpackConfigGet)("consumer_slug"));const U=(0,i.useMemo)((()=>({context:R,plugin:A})),[R,A]);(0,i.useEffect)((()=>{l.ZP.setApiRoot(w),l.ZP.setApiNonce(j)}),[w,j]),(0,i.useEffect)((()=>{x&&x.ID&&x.login&&u.Z.initialize(x.ID,x.login)}),[x,x.ID,x.login]),(0,i.useEffect)((()=>{F&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",U)}),[F,U]),(0,i.useEffect)((()=>{F&&(o?!o||y||b?y&&!b?u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},U)):b&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},U)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},U)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},U)))}),[F,o,y,b,U]);const L=(0,i.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{n(!1),c(!0)})).catch((e=>{n(!1),h(e),Z&&Z(e)}))}),[n,c,h,Z]),D=(0,i.useCallback)(((e,t)=>{C(!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);u.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),_(!0),C(!1)})).catch((e=>{u.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),_(!0),C(!1)}))}),[C,_]),$=(0,i.useCallback)((e=>{e&&e.preventDefault(),h(!1),n(!0),"plugins"!==R?L():O&&O(e)}),[h,n,O,R,L]),B=(0,i.useCallback)((e=>u.Z.tracks.recordEvent(e,U)),[U]),M=(0,i.useCallback)((()=>x.ID&&T),[x,T]),z=(0,i.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!M())return void _(!0);const i={site_id:T,user_id:x.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},r=Object.assign({},U,{disconnect_reason:e});D(i,r)}),[D,_,M,T,x,U]),J=(0,i.useCallback)((e=>{e&&e.preventDefault(),N&&N(),I()}),[N,I]),q=(0,i.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return r().createElement(r().Fragment,null,F&&r().createElement(a.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:I,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||y||b?y&&!b?r().createElement(m.Z,{isSubmittingFeedback:k,onFeedBackProvided:z,onExit:J}):b?r().createElement(f.Z,{onExit:J}):void 0:r().createElement(g.Z,{canProvideFeedback:M(),onProvideFeedback:q,onExit:J}):r().createElement(d.Z,{title:S,connectedPlugins:E,disconnectStepComponent:P,isDisconnecting:t,closeModal:I,onDisconnect:$,disconnectError:s,context:R,disconnectingPlugin:A,trackModalClick:B})))};h.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,title:c().string,onDisconnected:c().func,onError:c().func,context:c().string,connectedPlugins:c().object,pluginScreenDisconnectCallback:c().func,disconnectStepComponent:c().element,connectedUser:c().object,connectedSiteId:c().number,isOpen:c().bool,onClose:c().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-connection-ui"),context:"jetpack-dashboard",connectedUser:{}},t.Z=h},2365:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(9307),a=n(5736),l=n(5609),u=n(8640),p=n(2042);const __=a.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(u.Z,{icon:"unlink",imageUrl:p}),r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},r().createElement("h1",null,(0,s.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-connection-ui"),{br:r().createElement("br",null)})),n&&r().createElement(r().Fragment,null,r().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-connection-ui")),r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection-ui"))),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-connection-ui"))),!n&&r().createElement(r().Fragment,null,r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))))};d.PropTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool},t.Z=d},1945:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(9307),c=n(5736),s=n(4481),a=n(5609),l=n(3698),u=n.n(l),p=n(5096);const __=c.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:c,disconnectError:l,disconnectStepComponent:u,connectedPlugins:d,disconnectingPlugin:g,closeModal:m,context:f,trackModalClick:h}=e,y=(0,i.useCallback)((()=>h("jetpack_disconnect_dialog_click_learn_about")),[h]),v=(0,i.useCallback)((()=>h("jetpack_disconnect_dialog_click_support")),[h]),b=(0,i.useCallback)((()=>{h("jetpack_disconnect_dialog_click_stay_connected"),m()}),[h,m]),_=(0,i.useCallback)((e=>{h("jetpack_disconnect_dialog_click_disconnect"),c(e)}),[h,c]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),r().createElement(p.Z,{connectedPlugins:d,disconnectingPlugin:g}),u,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==g)).length)&&!u)return r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection-ui"),r().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection-ui")))})()),r().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},r().createElement("div",{className:"jp-row"},r().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},r().createElement("p",null,(0,o.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-connection-ui"),{strong:r().createElement("strong",null),jpConnectionInfoLink:r().createElement("a",{href:(0,s.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:r().createElement("a",{href:(0,s.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:v})}))),r().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},r().createElement(a.Button,{variant:"primary",disabled:n,onClick:b,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack-connection-ui")),(()=>{let e=__("Disconnect","jetpack-connection-ui");return n?e=__("Disconnecting…","jetpack-connection-ui"):"plugins"===f&&(e=__("Disconnect and Deactivate","jetpack-connection-ui")),r().createElement(a.Button,{variant:"primary",disabled:n,onClick:_,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),l&&r().createElement("p",{className:"jp-connection__disconnect-dialog__error"},l)))};d.propTypes={title:u().string,isDisconnecting:u().bool,onDisconnect:u().func,disconnectError:u().bool,disconnectStepComponent:u().elementType,connectedPlugins:u().object,disconnectingPlugin:u().string,closeModal:u().func,context:u().string,trackModalClick:u().func},t.Z=d},5125:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5736),a=(n(5934),n(6543));const __=s.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:i}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection-ui")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection-ui")),r().createElement(a.Z,{onSubmit:n,isSubmittingFeedback:i}),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-connection-ui")))};l.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool},t.Z=l},7343:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(8640),a=n(5736),l=n(5609),u=n(9307),p=n(724);const __=a.__,d=e=>{const{onExit:t}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(s.Z,{format:"vertical",imageUrl:p}),r().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},r().createElement("h1",null,__("Thank you!","jetpack-connection-ui")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,u.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-connection-ui"),{br:r().createElement("br",null)})),r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))};d.PropTypes={onExit:c().func,assetBaseUrl:c().string},t.Z=d},6543:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(3698),c=n.n(o),s=n(5609),a=n(5736),l=n(8986);const __=a.__,u=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[o,c]=(0,i.useState)(),[a,u]=(0,i.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection-ui")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection-ui")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection-ui")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection-ui")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection-ui")}],d="another-reason",g=(0,i.useCallback)((()=>{t(o,o===d?a:"")}),[t,d,a,o]),m=(0,i.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),u(t)}),[u]),f=e=>e===o?"jp-connect__disconnect-survey-card--selected":"",h=(0,i.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>r().createElement(l.Z,{id:e.id,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(e.id)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),r().createElement(l.Z,{id:d,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(d)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection-ui")," ",r().createElement("input",{placeholder:__("share your experience","jetpack-connection-ui"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:a,onChange:m,maxLength:1e3})))),r().createElement("p",null,r().createElement(s.Button,{disabled:!o||n,variant:"primary",onClick:g,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-connection-ui"):__("Submit Feedback","jetpack-connection-ui",0))))};u.PropTypes={onSubmit:c().func,isSubmittingFeedback:c().bool},t.Z=u},8986:function(e,t,n){"use strict";var i=n(9196),r=n.n(i);n(5934);t.Z=e=>{const{id:t,onClick:n,onKeyDown:o,children:c,className:s}=e,a=(0,i.useCallback)((()=>{n(t)}),[t,n]),l=(0,i.useCallback)((e=>{o(t,e)}),[t,o]);return r().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+s},c)}},6509:function(e,t,n){"use strict";var i=n(9196),r=n(9818),o=n(488),c=n(8310);t.Z=e=>{let{registrationNonce:t,redirectUri:n,apiRoot:s,apiNonce:a,autoTrigger:l,from:u}=e;const{registerSite:p,connectUser:d}=(0,r.useDispatch)(c.t),g=(0,r.useSelect)((e=>e(c.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:f,userConnectionData:h,isRegistered:y,isUserConnected:v,hasConnectedOwner:b}=(0,r.useSelect)((e=>({siteIsRegistering:e(c.t).getSiteIsRegistering(),userIsConnecting:e(c.t).getUserIsConnecting(),userConnectionData:e(c.t).getUserConnectionData(),...e(c.t).getConnectionStatus()}))),_=()=>d({from:u,redirectUri:n}),k=e=>{e&&e.preventDefault(),y?_():p({registrationNonce:t,redirectUri:n}).then((()=>{_()}))};return(0,i.useEffect)((()=>{o.ZP.setApiRoot(s),o.ZP.setApiNonce(a)}),[s,a]),(0,i.useEffect)((()=>{!l||m||f||k()}),[]),{handleRegisterSite:k,handleConnectUser:_,isRegistered:y,isUserConnected:v,siteIsRegistering:m,userIsConnecting:f,registrationError:g,userConnectionData:h,hasConnectedOwner:b}}},3757:function(e,t,n){"use strict";n.d(t,{i6:function(){return i},LI:function(){return r},r7:function(){return o},N4:function(){return c},qV:function(){return s},T1:function(){return a},TS:function(){return l},ZP:function(){return y}});const i="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",a="CLEAR_REGISTRATION_ERROR",l="SET_AUTHORIZATION_URL",u="CONNECT_USER",p=e=>({type:i,connectionStatus:e}),d=e=>({type:o,isRegistering:e}),g=e=>({type:c,isConnecting:e}),m=e=>({type:s,registrationError:e}),f=()=>({type:a}),h=e=>({type:l,authorizationUrl:e});const y={setConnectionStatus:p,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:d,setUserIsConnecting:g,setRegistrationError:m,clearRegistrationError:f,setAuthorizationUrl:h,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield f(),yield d(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield p({isRegistered:!0}),yield h(e.authorizeUrl),yield d(!1),Promise.resolve(e)}catch(e){return yield m(e),yield d(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield g(!0),yield{type:u,from:e,redirectFunc:t,redirectUri:n}}}},1376:function(e,t,n){"use strict";var i=n(488),r=n(9818),o=n(8310);const c=(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,c)=>{t(o.t).getAuthorizationUrl(i).then((t=>{const i=n||(e=>window.location.assign(e)),o=new URL(t);e&&o.searchParams.set("from",encodeURIComponent(e));const c=o.toString();i(c),r(c)})).catch((e=>{c(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return i.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return i.ZP.registerSite(t,n)},CONNECT_USER:c}},6550:function(e,t,n){"use strict";var i=n(9818),r=n(3757);const o=(0,i.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.i6?{...e,...t.connectionStatus}: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)});t.Z=o},5075:function(e,t,n){"use strict";var i=n(9818),r=n(3757),o=n(8310);const c={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),c=1;c<n;c++)r[c-1]=arguments[c];const s=(0,i.select)(o.t).hasFinishedResolution("getAuthorizationUrl",r);return t&&!s&&(0,i.dispatch)(o.t).finishResolution("getAuthorizationUrl",r),t},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...c}},52: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};t.Z=n},2966:function(e,t,n){"use strict";var i=n(4502),r=n.n(i),o=n(9818);class c{static mayBeInit(e,t){null===c.store&&(c.store=(0,o.createReduxStore)(e,t),(0,o.register)(c.store))}}r()(c,"store",null),t.Z=c},8310:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var i=n(6550),r=n(3757),o=n(52),c=n(5075),s=n(1376),a=n(2966);const l="jetpack-connection",u=window.JP_CONNECTION_INITIAL_STATE;u||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."),a.Z.mayBeInit(l,{reducer:i.Z,actions:r.ZP,selectors:o.Z,resolvers:c.Z,controls:s.Z,initialState:u||{}})},8515:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(9818),c=n(5736),s=n(488),a=n(3607),l=n(5724),u=n(8310),p=n(6625),d=n(9045);const __=c.__;t.Z=(0,o.withSelect)((e=>({connectionStatus:e(u.t).getConnectionStatus()})))((e=>{const t=(0,o.useSelect)((e=>e(p.t).getAPINonce()),[]),n=(0,o.useSelect)((e=>e(p.t).getAPIRoot()),[]),c=(0,o.useSelect)((e=>e(p.t).getRegistrationNonce()),[]),{hasIDC:u,canManageConnection:g,isSafeModeConfirmed:m}=(0,o.useSelect)((e=>e(p.t).getIDCData()),[]),{connectionStatus:f}=e;return(0,i.useEffect)((()=>{s.ZP.setApiRoot(n),s.ZP.setApiNonce(t)}),[n,t]),r().createElement(r().Fragment,null,(!u||m)&&r().createElement(d.Z,null),(!u||m)&&g&&f.isRegistered&&r().createElement(a.Z,{apiRoot:n,apiNonce:t,redirectUri:"tools.php?page=wpcom-connection-manager"}),(!u||m)&&g&&!f.isRegistered&&r().createElement(l.Z,{connectionStatus:f,apiRoot:n,apiNonce:t,registrationNonce:c,from:"connection-ui",redirectUri:"tools.php?page=wpcom-connection-manager",pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E",priceBefore:9,priceAfter:4.5,pricingTitle:__("Jetpack Backup","jetpack-connection-ui"),buttonLabel:__("Get Jetpack Backup","jetpack-connection-ui")},r().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack-connection-ui")),r().createElement("ul",null,r().createElement("li",null,__("Measure your impact with beautiful stats","jetpack-connection-ui")),r().createElement("li",null,__("Speed up your site with optimized images","jetpack-connection-ui")),r().createElement("li",null,__("Protect your site against bot attacks","jetpack-connection-ui")),r().createElement("li",null,__("Get notifications if your site goes offline","jetpack-connection-ui")),r().createElement("li",null,__("Enhance your site with dozens of other features","jetpack-connection-ui")))),(!u||m)&&!g&&r().createElement("p",null,"You need to be an admin to access this page."))}))},9045:function(e,t,n){"use strict";var i=n(9196),r=n.n(i),o=n(5736);const __=o.__;t.Z=()=>r().createElement("div",{className:"jetpack-cui__header"},r().createElement("h1",null,__("Connection Manager","jetpack-connection-ui")))},153:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},5094:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},353:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},1145:function(e,t,n){"use strict";var i=n(9818),r=n(153),o=n(5094),c=n(353);const s=(0,i.combineReducers)({API:r.Z,assets:o.Z,IDC:c.Z});t.Z=s},6642:function(e,t){"use strict";t.Z={getAPIRoot:e=>e.API.WP_API_root||null,getAPINonce:e=>e.API.WP_API_nonce||null,getRegistrationNonce:e=>e.API.registrationNonce||null}},8808:function(e,t){"use strict";t.Z={getAssetBuildUrl:e=>e.assets.buildUrl||null}},1007:function(e,t){"use strict";t.Z={getIDCData:e=>e.IDC||{}}},3635:function(e,t,n){"use strict";var i=n(6642),r=n(8808),o=n(1007);const c={...i.Z,...r.Z,...o.Z};t.Z=c},6625:function(e,t,n){"use strict";n.d(t,{t:function(){return o},i:function(){return c}});var i=n(1145),r=n(3635);const o="jetpack-connection-ui",c={reducer:i.Z,selectors:r.Z,initialState:window.CUI_INITIAL_STATE||{}}},1043:function(e,t,n){"use strict";var i=n(1625),r=n(9196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=r.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var c=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),c({getCurrentValue:t,subscribe:n,value:o})),r.useDebugValue(o),r.useEffect((function(){function e(){if(!r){var e=t();c((function(r){return r.getCurrentValue!==t||r.subscribe!==n||r.value===e?r:i({},r,{value:e})}))}}var r=!1,o=n(e);return e(),function(){r=!0,o()}}),[t,n]),o}},36:function(e,t,n){"use strict";e.exports=n(1043)},2042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url},6714:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,{Z:function(){return i}})},8406:function(e,t,n){"use strict";function i(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return i}})},8010:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(6714);function r(e){if(Array.isArray(e))return(0,i.Z)(e)}},1904:function(e,t,n){"use strict";function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return i}})},2829:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return i}})},1178:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return r}})},5492:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(2912),r=n(9706),o=n(7246);function c(e){var t=(0,r.Z)();return function(){var n,r=(0,i.Z)(e);if(t){var c=(0,i.Z)(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return(0,o.Z)(this,n)}}},9788:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return i}})},5332:function(e,t,n){"use strict";function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}n.d(t,{Z:function(){return i}})},2912:function(e,t,n){"use strict";function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}n.d(t,{Z:function(){return i}})},2590:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(301);function r(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,i.Z)(e,t)}},9706:function(e,t,n){"use strict";function i(){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}}n.d(t,{Z:function(){return i}})},5958:function(e,t,n){"use strict";function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return i}})},1273:function(e,t,n){"use strict";function i(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],_n=!0,c=!1;try{for(n=n.call(e);!(_n=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);_n=!0);}catch(e){c=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(c)throw r}}return o}}n.d(t,{Z:function(){return i}})},9860:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},8783:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},2086:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(9788);function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){(0,i.Z)(e,t,n[t])}))}return e}},4316:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(9788);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},7246:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(2427),r=n(1904);function o(e,t){if(t&&("object"===(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},301:function(e,t,n){"use strict";function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{Z:function(){return i}})},1710:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(8406),r=n(1273),o=n(4598),c=n(9860);function s(e,t){return(0,i.Z)(e)||(0,r.Z)(e,t)||(0,o.Z)(e,t)||(0,c.Z)()}},2450:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(8010),r=n(5958),o=n(4598),c=n(8783);function s(e){return(0,i.Z)(e)||(0,r.Z)(e)||(0,o.Z)(e)||(0,c.Z)()}},2427:function(e,t,n){"use strict";function i(e){return i="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(e)}n.d(t,{Z:function(){return i}})},4598:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(6714);function r(e,t){if(e){if("string"==typeof e)return(0,i.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,i.Z)(e,t):void 0}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(1850),t=n.n(e),i=n(9196),r=n.n(i),o=n(9818),c=n(8515),s=n(6625);const a=(0,o.createReduxStore)(s.t,s.i);(0,o.register)(a),function(){const e=document.getElementById("jetpack-connection-ui-container");null!==e&&t().render(r().createElement(c.Z,null),e)}()}()}();