/*! For license information please see index.js.LICENSE.txt */ (()=>{var e={9487:(e,t,a)=>{"use strict";a.d(t,{X:()=>c});const n={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 c(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,a)=>{"use strict";a.d(t,{LR:()=>r});var n=a(9487),c=a(2003);function r(e,t,a={}){const r=(0,n.X)(t);if(!r||isNaN(e))return null;const{decimal:s,grouping:i,precision:o,symbol:l}={...r,...a},u=e<0?"-":"",d=Math.abs(e),m=Math.floor(d);return{sign:u,symbol:l,integer:(0,c.Z)(d,o,s,i).split(s)[0],fraction:o>0?(0,c.Z)(d-m,o,s,i).slice(1):""}}},2003:(e,t,a)=>{"use strict";function n(e,t=0,a=".",n=","){const c=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+c)?+c:0,s=isFinite(+t)?Math.abs(t):0,i=(s?function(e,t){const a=Math.pow(10,t);return""+(Math.round(e*a)/a).toFixed(t)}(r,s):""+Math.round(r)).split(".");return i[0].length>3&&(i[0]=i[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,n)),(i[1]||"").lengthn})},3170:(e,t,a)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;td,RQ:()=>A,WK:()=>B,Zn:()=>z,Zq:()=>L,aU:()=>c,cP:()=>m,fp:()=>v,kG:()=>i,pC:()=>P,q_:()=>s}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c||(c={}));const r="popstate";function s(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:a="/",search:n="",hash:c=""}=m(e.location.hash.substr(1));return u("",{pathname:a,search:n,hash:c},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let a=e.document.querySelector("base"),n="";if(a&&a.getAttribute("href")){let t=e.location.href,a=t.indexOf("#");n=-1===a?t:t.slice(0,a)}return n+"#"+("string"==typeof t?t:d(t))}),(function(e,t){o("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function i(e,t){if(!1===e||null==e)throw new Error(t)}function o(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e){return{usr:e.state,key:e.key}}function u(e,t,a,c){return void 0===a&&(a=null),n({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?m(t):t,{state:a,key:t&&t.key||c||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:a="",hash:n=""}=e;return a&&"?"!==a&&(t+="?"===a.charAt(0)?a:"?"+a),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function m(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substr(a),e=e.substr(0,a));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function p(e){let t="undefined"!=typeof window&&void 0!==window.location&&"null"!==window.location.origin?window.location.origin:window.location.href,a="string"==typeof e?e:d(e);return i(t,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,t)}function h(e,t,a,n){void 0===n&&(n={});let{window:s=document.defaultView,v5Compat:i=!1}=n,o=s.history,m=c.Pop,h=null;function g(){m=c.Pop,h&&h({action:m,location:v.location})}let v={get action(){return m},get location(){return e(s,o)},listen(e){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(r,g),h=e,()=>{s.removeEventListener(r,g),h=null}},createHref:e=>t(s,e),encodeLocation(e){let t=p("string"==typeof e?e:d(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){m=c.Push;let n=u(v.location,e,t);a&&a(n,e);let r=l(n),d=v.createHref(n);try{o.pushState(r,"",d)}catch(e){s.location.assign(d)}i&&h&&h({action:m,location:v.location})},replace:function(e,t){m=c.Replace;let n=u(v.location,e,t);a&&a(n,e);let r=l(n),s=v.createHref(n);o.replaceState(r,"",s),i&&h&&h({action:m,location:v.location})},go:e=>o.go(e)};return v}var g;function v(e,t,a){void 0===a&&(a="/");let n=z(("string"==typeof t?m(t):t).pathname||"/",a);if(null==n)return null;let c=f(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let a=e.length===t.length&&e.slice(0,-1).every(((e,a)=>e===t[a]));return a?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(c);let r=null;for(let e=0;null==r&&e{let s={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:c,route:e};s.relativePath.startsWith("/")&&(i(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(n.length));let o=A([n,s.relativePath]),l=a.concat(s);e.children&&e.children.length>0&&(i(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),f(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:N(o,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var a;if(""!==e.path&&null!=(a=e.path)&&a.includes("?"))for(let a of w(e.path))c(e,t,a);else c(e,t)})),t}function w(e){let t=e.split("/");if(0===t.length)return[];let[a,...n]=t,c=a.endsWith("?"),r=a.replace(/\?$/,"");if(0===n.length)return c?[r,""]:[r];let s=w(n.join("/")),i=[];return i.push(...s.map((e=>""===e?r:[r,e].join("/")))),c&&i.push(...s),i.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const k=/^:\w+$/,E=3,y=2,b=1,_=10,j=-2,C=e=>"*"===e;function N(e,t){let a=e.split("/"),n=a.length;return a.some(C)&&(n+=j),t&&(n+=y),a.filter((e=>!C(e))).reduce(((e,t)=>e+(k.test(t)?E:""===t?b:_)),n)}function R(e,t){let{routesMeta:a}=e,n={},c="/",r=[];for(let e=0;e(n.push(t),"/([^\\/]+)")));e.endsWith("*")?(n.push("*"),c+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?c+="\\/*$":""!==e&&"/"!==e&&(c+="(?:(?=\\/|$))");let r=new RegExp(c,t?void 0:"i");return[r,n]}(e.path,e.caseSensitive,e.end),c=t.match(a);if(!c)return null;let r=c[0],s=r.replace(/(.)\/+$/,"$1"),i=c.slice(1);return{params:n.reduce(((e,t,a)=>{if("*"===t){let e=i[a]||"";s=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(a){return S(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+a+")."),e}}(i[a]||"",t),e}),{}),pathname:r,pathnameBase:s,pattern:e}}function x(e){try{return decodeURI(e)}catch(t){return S(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function z(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,n=e.charAt(a);return n&&"/"!==n?null:e.slice(a)||"/"}function S(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function M(e,t,a,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+a+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function L(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function P(e,t,a,c){let r;void 0===c&&(c=!1),"string"==typeof e?r=m(e):(r=n({},e),i(!r.pathname||!r.pathname.includes("?"),M("?","pathname","search",r)),i(!r.pathname||!r.pathname.includes("#"),M("#","pathname","hash",r)),i(!r.search||!r.search.includes("#"),M("#","search","hash",r)));let s,o=""===e||""===r.pathname,l=o?"/":r.pathname;if(c||null==l)s=a;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}s=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:a,search:n="",hash:c=""}="string"==typeof e?m(e):e,r=a?a.startsWith("/")?a:function(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?a.length>1&&a.pop():"."!==e&&a.push(e)})),a.length>1?a.join("/"):"/"}(a,t):t;return{pathname:r,search:H(n),hash:O(c)}}(r,s),d=l&&"/"!==l&&l.endsWith("/"),p=(o||"."===l)&&a.endsWith("/");return u.pathname.endsWith("/")||!d&&!p||(u.pathname+="/"),u}const A=e=>e.join("/").replace(/\/\/+/g,"/"),V=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),H=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class I{constructor(e,t,a,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}}function B(e){return e instanceof I}const T=["post","put","patch","delete"],U=(new Set(T),["get",...T]);new Set(U),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement},1074:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(9307);const c=(0,n.forwardRef)((function({icon:e,size:t=24,...a},c){return(0,n.cloneElement)(e,{width:t,height:t,...a,ref:c})}))},9404:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"}))},3259:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},986:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"}))},9201:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},2229:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},6936:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6163:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},9517:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},5316:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}))},5381:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},1646:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},496:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},4955:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"}))},1908:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"}))},6514:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}))},797:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(c.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},5235:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function c(){for(var e=[],t=0;t{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 a="color: "+this.color;t.splice(1,0,a,"color: inherit");let n=0,c=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(c=n))})),t.splice(c,0,a)},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=a(1741)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,a)=>{e.exports=function(e){function t(e){let a,c,r,s=null;function i(...e){if(!i.enabled)return;const n=i,c=Number(new Date),r=c-(a||c);n.diff=r,n.prev=a,n.curr=c,a=c,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((a,c)=>{if("%%"===a)return"%";s++;const r=t.formatters[c];if("function"==typeof r){const t=e[s];a=r.call(n,t),e.splice(s,1),s--}return a})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=n,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(c!==t.namespaces&&(c=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function n(e,a){const n=t(this.namespace+(void 0===a?":":a)+e);return n.log=this.log,n}function c(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(c),...t.skips.map(c).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let a;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),c=n.length;for(a=0;a{t[a]=e[a]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t{"use strict";function n(e){return n="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},n(e)}t.Z=void 0;var c,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var c={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!=s&&Object.prototype.hasOwnProperty.call(e,s)){var i=r?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(c,s,i):c[s]=e[s]}return c.default=e,a&&a.set(e,c),c}(a(9196)),s=(c=a(5844))&&c.__esModule?c:{default:c},i=["size","onClick","icon","className"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function l(){return l=Object.assign||function(e){for(var t,a=1;a{"use strict";a.d(t,{Z:()=>n});const n={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},1494:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={section:"cAbGtJDGgLubucBnz7vM"}},281:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},9171:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},6923:()=>{},3466:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},2404:()=>{},5785:()=>{},1275:()=>{},5612:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",bluesky:"aLWBKY0yRghEk7tNCgK3",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR"}},9054:()=>{},3247:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},7946:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},7703:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"VHYulMcpzbr10HWR0iSE","icon-wrapper":"FGpSkMCiIHQjszcV0dbn","close-button":"KoWZcCwhW13xvkEb0QON","main-content":"smrfczkC53EaFM8OJUXs",title:"IKYRWoPwt9xOVEx1wzNS","action-bar":"qM0qY6mPYp1MPN54A3Kg","is-error":"A5YkDkkXuiYgavrY6Nux",icon:"y_IPyP1wIAOhyNaqvXJq","is-warning":"cT5rwuPMZzWvi5o6shMl","is-info":"yo0O3uvNomPsYUXFCpAS","is-success":"oZdDFf1jBLkzn5ICCC6x"}},9929:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"p4qz2tkq0p9hxucJ6Qk2",table:"lbNDyXioOwvyvbALtCBm","is-viewport-large":"s2Lsn4kbm6BrS3DSndRB",card:"cLaNK_XcbTGlRQ4Tp43Q","is-primary":"CYt1X0eH1icRjhtJ28jx",header:"DAkZc1P9A3K12fjEliMg",item:"WUBuYABl8nymjs9NnCEL","last-feature":"ANtCFeb41NhA8PA3H7ZN",value:"Ql2gy_148yW8Vw5vhaKD",icon:"EAQrAnQEW1z1BfdY5gbC","icon-check":"JDSTlLoOC_4aUoH2oNM2","icon-cross":"zNdQRJ1w7BvaQOYyqzHK",popover:"lr7vbX95SKtoe7DarJcZ","popover-icon":"KRrGp2xdkeBOxLZeuQ6X",tos:"H_ZJiRVJg0LiMXPGOcmt","tos-container":"x21z_DixObRDsDaWotP1"}},9184:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf","promo-label":"NubApIV1vQCRUNprfm6b",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},1683:()=>{},7920:()=>{},3280:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},3591:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={global:"_fUXxnSp5pagKBp9gSN7"}},2541:()=>{},1510:()=>{},9610:()=>{},4220:()=>{},287:()=>{},9823:()=>{},7664:()=>{},1008:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"jp-wrap":"EiaNctK1_P9pPqOeiaSI","jp-row":"ogHZg_sJCljylz3VJfsf","sm-col-span-1":"zv7eGvijKRkbPVakubHw","sm-col-span-2":"VoJNoiya_1ck3_kXS6_C","sm-col-span-3":"ecv0NO526NoTNbpALA1A","sm-col-span-4":"OfBdkceMzeHvRbzhqDlP","md-col-span-1":"JLb3NpEKN8pOaWd7K1bu","md-col-span-2":"fsMPGqPKE4mjMIPFwl77","md-col-span-3":"DIK_zdaGAQ09eKspBJ4E","md-col-span-4":"shXYpxPu3WCJsR8aOHtz","md-col-span-5":"s7ElrOqG_yGd5SIfwqOR","md-col-span-6":"Cxml9uzGvArAL8_RDs_p","md-col-span-7":"aANxBKDGx72eDqU0iUPj","md-col-span-8":"XxyzuTY3mnQcl9EGZadm","lg-col-span-1":"Sfo4WaSNIWInJ93Abd3w","lg-col-span-2":"tQS7SKUGrU4THhWMysbo","lg-col-span-3":"I94U7mpY4h16pcOksZNF","lg-col-span-4":"uWMb9k77kQxBdS5MTt0s","lg-col-span-5":"rKwEEZQxK9s_POMg5Jss","lg-col-span-6":"UcPXX_s06IPCkF7ZjH3D","lg-col-span-7":"CrQdtiCFkRbzY6K2dFvt","lg-col-span-8":"rEUALOmOdUBXO0Us871z","lg-col-span-9":"NqXa9TlcTEviVsB53hBV","lg-col-span-10":"OnWVeiQiwgQ9lzdGPW66","lg-col-span-11":"D2PkTcy7b8u2K9QXY6VQ","lg-col-span-12":"EcqBhzAyxo5RDc2Y6m7K","md-col-span-0":"gB1mWzHOM38d80lrhBRX","sm-col-span-0":"KNQXLP78ejczOkour3zg","jp-cut":"rBVbaVWBnBRtTMrUKZxm",modal:"gfM_DIJrVbRhmKdAphIm","jetpack-logo":"zfJfONxRAw0fHjXUS7LN",animating:"pnwbCuWbV0PNQr1LFpRh",button:"_j4GWTmW5psCHFYh6R0x",headline:"saSAjv8yulVXQDoqDJEI",paragraph:"O_hcdbeMivIhBn7ApDnS","jetpack-logo-triangles":"FCnyb_xCK7DhJ63p6TEd","video-wrap":"Qn5xayjI_jH2m1d6BEoq",videoMove:"OmAVpCQ270MqI4IsT9Ky",slidein:"Axe8f2LgqEBZHVcsRgY5","content-wrap":"iBMDoShSmqpt72YfJb36","hi-user":"eQG1KKK8jjKtQyzfv573","content-wrap-text":"l35bIyiqYJiZ6tVYvJtC","powers-wrap":"HQVDZ6J3x6SJNYFX5khS","jetpack-products":"KdvmPIjelQIFiPQGuIYf"}},5893:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"OpMBda4vebhRbW8Fm6YC","is-link":"BghJAx9hSagUdHWOUaYE","has-error":"IWsEW5nnNWUqqcT3K5L1",title:"r3UCwgwCthua6lDCvIBI",name:"vpluqUMgmwx9_f8wCVIn"}},6234:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={icon:"rV_5QyvhDnsVjCX4pb0h",link:"MO1jDNY8VPqeNS9xL8jE"}},8578:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"relative-col":"zvd4dCB_bBDiXJKKDqXm","close-link":"ly4o9lSswAGHFXqGUEIO","account-description":"u64Go3kwEZ7MD9eji0H1","account-images":"_RT41NE3LU4R0ubcij2y",wordpress:"cFGWJeRiGHjAr8D7CWJW",google:"Iz3l7a05TP6HK9S92TIL",apple:"lmQ0wFmnk4kKkGVjokPA","all-features":"AoIs8wD92wKR8RpQj6Uc"}},6322:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"connection-status-card":"kezuOHNvu9vdvlJ86Fwg",status:"qJizORs2q_CVCj9L6XLe","avatar-wrapper":"VmtuLc2xRqmsO6cK8qjF",cloud:"MdTRfQ3eo5qZKChZlzNj",jetpack:"PbEpL02SEH9VNAlbKCfV",avatar:"TD4AUM9gcTVAB6JHB5ZR",line:"yjl73qv0VWoPP8IhGreh",disconnected:"rq8YRaj9OyUUXJUHiUgI",info:"YZ7FNKEm9qpvQ4ZkbAz5","list-item":"oH9tzGE80LnB6Og69RFz","list-item-text":"xXVEWvQllVsFGmJY8WEp",error:"J0GIu2rNR7rXocQTyd8p"}},197:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={icon:"hdasSNj9k3Sc5PwXK4uE",link:"eWN8Hj0SBRDq1F48n_Fg"}},1854:()=>{},4416:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"jp-wrap":"yWUvvF4WJLNDSpMgBMfm","jp-row":"ka1fVHj2HOkHjhdoEFOZ","sm-col-span-1":"JMOO4Y_9yhTO9lwLnRUx","sm-col-span-2":"PFDPAqk51qox_ChLqJwm","sm-col-span-3":"ault0jHVfWpShqOGooIP","sm-col-span-4":"GqpvdRzmzPJELtSm4FEN","md-col-span-1":"Ym4_YneEGD_iZD6W1C2o","md-col-span-2":"NbvHnnDtWw8n9BEUQ0Oy","md-col-span-3":"ElMT7rhxe5ZJKO41MnhW","md-col-span-4":"yKjnqjibn_wW_1tWWt5Q","md-col-span-5":"Pb30lOcQFpzUX57GwflS","md-col-span-6":"pC1wxc_R8y4pNILHsiiY","md-col-span-7":"pChscSCnudQoWGjMFKI_","md-col-span-8":"qw1H2gAgF3lDCI2Tbkmb","lg-col-span-1":"VzcA_rrxBK3g4ozA0oD9","lg-col-span-2":"pNAa7O2adRZD8Slgk9iR","lg-col-span-3":"tlIMLlipexblj8CeOx4B","lg-col-span-4":"Dvt0u5l2Rr1BhBmvYAzl","lg-col-span-5":"BiUsgNTc0tyc7tC5jnzE","lg-col-span-6":"ulJXAsj7G2ROJ1g3_s28","lg-col-span-7":"HsoVlyVLsXYClx9Atox0","lg-col-span-8":"oXxjRQNNj2cfIpFBqC1W","lg-col-span-9":"qXgUn4Adg9xE_JnbuDio","lg-col-span-10":"xMpqTLiLfYFEJiRPQQQq","lg-col-span-11":"IiGo3Sz2FDZN7_eGElwA","lg-col-span-12":"Om8BNCjfgqQ_wmPQjfOY","md-col-span-0":"t10ZWzP7ADjJnR4tqxRS","sm-col-span-0":"eOUlZG8Pelh_Xj0aSoHG","jp-cut":"l546LrwBEePz434NFK5Q",logo:"Q7w4fcEcemZ2nlwaYNog",wrapper:"AoNQsOaTt6gSf0H6Yasz",helper:"v13ZwGzUnecPA7Y3URAl",container:"EeDbu9pXFWTsCzfTpv2v",title:"BmSvoIi3rErkcrRiOi2W",content:"mojRoVuWdDJo0E6LEjJw"}},73:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={modal:"HeJe1crc9XaWWpLvIPit",container:"or0JUScxkJPmNsfrxkEK"}},1017:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={heading:"jErCC9oKHSM15BxzFyQK",notice:"oVoYbwbFB6U2o90Njusk","bigger-than-medium":"Snc8NEmDelsbhlH4285s",cta:"R5tvcsARTGN0A_z3DygA",message:"wBVXH4OTNwLHPRpN4nsq",nofill:"F1qvEnFfHs5nz3zFZUOV"}},6891:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"wiobThfXJCuhGNrbFIT6","expire-date":"VgAxgahF9bC2M__FiIgV","expire-date--with-icon":"dbRwkMLqcMF67njPoAF7","actions-list-item":"Doju0RxvvN9JS12mf489"}},9720:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"pIsYsXFAJ9KX2VrS5rmY",description:"gmPKCDKZcfQt9WieTyKS",actions:"fDBaV7I4yUO6w5AWVEtr",buttons:"SelsBZT7eIWRQyl1dasZ",title:"LHYJUrOej3toDvOAiz4k","action-button":"JFjbc0JgC4qC92ehOiUr","dropdown-chevron":"NBZgqk_CGGfY3Q16OHjT",primary:"Jh6TlOGQNgBwU_fFxPrm",secondary:"VBxTkBZVxHaVoyhMRJcz","action-button-dropdown":"UZ3NDyOSbGY9NZWb3bUD","dropdown-item":"IpJGe_nvXXUiBOsAOkaV","dropdown-item-label":"SjzpxiAAVsU_xRrw55ub","active-action-checkmark":"GQy61X1G7Wv3L3erNwxR","has-additional-actions":"QSePbRSFylCvM2cX8nN_",status:"f5VJYwuJmjxH8PVxEbbv",active:"ry3pxoGtmQ0ZeSwp7F_3",inactive:"LZzE3EG7m3CDR46wwwEr",warning:"TZUP7W6QYGajITiMNYas",error:"Vx_jpT02r8W6NfsRSB02","is-fetching":"PdsJCfyyjSgrNDheF2qi","blink-animation":"dWP7ypkVXudMbAa38W5Z"}},8840:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"no-backup-stats":"wI7QgVzPXvVVu6kfnTT8","main-stats":"eqyxcUmdF0s3gmmlZGyD","main-stat":"gxY6D0PeVtGk9iSB5E_u","visual-stat":"D_uE0LD5CvpfM2FNp55k","more-stats":"VTBUdi1D4DW34F0yixMk",activity:"BXQQYCO_pEmYmzBBwYxR",summary:"qdvOzzbrd3KQK7DNg8eg",description:"PFbMp_gtGLBMWbbYtO0q",time:"ZFCNMiywyFvaifoIQI5w"}},1200:()=>{},523:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"single-contextual-info":"g4lyov8aMDggdD4yOi1p","main-value":"Ys5ScZ_dYn2O2AzDE5Yi","single-contextual-info-placeholder":"sUNg_b7XteVXOrpHAkJg","contextual-percentage-change":"cF6QAJf1vXXAMuutXPcq",neutral:"coY634LconQ7gzDDNJeu",positive:"kyqpwKaL2FyQ8CtxJQ0f",negative:"aXf37lEOcjpNV8ImLaYK","change-icon":"OyGdoGzsQ48VaVVR99_H","change-values":"cKLicfMCaDSGPlX222jF","loading-placeholder":"wm7Alh6CwbsWkVSODgI2",cardlist:"qpN923qyxjI06NCgFC8j"}},8429:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={card:"q0T8YyQxRawhpDtvJjxI",container:"B7JDqI_vtKxSy5GjvqA1","card-header":"zj7xadmhIWeuf7ZwvVTS","product-bundle-icon":"GsioW6IsC8EMYE3U6788","product-bundle-icons":"dbz07JqxOlivjKO4vBEF","product-icon":"cfEO8udWbRGPFJzW8Jg5","plus-icon":"zlh3zbjUe4Z8cBs7uVVe","product-has-required-plan":"qoZuzG5EcDa231hC6t0P","checkout-button":"Q6uUUQCPWS6_6nLxIn68","components-spinner":"YU4iBCRze09ZP3iCsdcb","free-product-checkout-button":"OrQG7DjDd9Ha2Xj1Mx3L",features:"Q1jaYDpa2AVfJpA29wT0","highlight-last-feature":"HL4gSxsF0skYGhGuqH90",disclaimers:"sEcLfpWjo0GF7QrxD3Lt","price-container":"xgv3jRkeF39aEQELCwru",price:"twlleZ5Ehq4bB7CvKVSW","is-old":"Qg4rPEvXsqmod1s_31d8","price-description":"ApsgxIornVy_3KnciVeJ","supporting-info":"NMxcZL17aEP7v81uG3zD","tos-container":"gCTKfAPzJqZas7CaRbKN"}},1514:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"svE2cJL5t2FarzcDQYNe",imageContainer:"dvEJEDNTnmVfVxtLa4uU",aiImageContainer:"K1VY4DNP8PHMWAEVBC_h","product-interstitial__header":"nk_COGPrkBNLp7lVt4sQ","product-interstitial__license-activation-link":"ukgQ5TmLablG3svUKjdw",card:"EUcF2LKeC2GyhWD2FKCP","buttons-row":"Bm21LIBQtpRo3ZhOxXBG","product-interstitial__product-header":"jwIGzADCnBI_ai9xYYiS","product-interstitial__product-header-name":"fTbxuhh_SfMgenyWvGN0","product-interstitial__hero-section":"eR56lApoP14RIBAhO1UN","product-interstitial__hero-content":"vHnITd5JOCOgxCgXTgoD","product-interstitial__hero-heading":"vAGLpjIGi6GA8ghbumN7","product-interstitial__hero-sub-heading":"oag8YaslCEiUVu8GKKL3","product-interstitial__hero-cta":"FhH03GPt9FK1VH9NZhYA","product-interstitial__hero-side":"VUXAtah2JvUCNc4cXjPp","stats-card":"dyPAjc3M4y3Q6gJfWnjw","stats-card-icon-check":"Ll1l9bEuf5G5oh3AENep","product-interstitial__stats-card-text":"WrzTysWiqUiuEPvpFqau","product-interstitial__stats-card-value":"d4faYkf9yL7oW7pwcjmP","product-interstitial__section":"acffvOSYc5S8x4P_AYnQ","product-interstitial__section-wrapper":"M5YNmgy60Q_UtaxKgQcv","product-interstitial__section-wrapper-wide":"HJiOvun8sHkiFpNL0sl6","product-interstitial__section-heading":"mXinUJfpSTS9EVB8M8K_","product-interstitial__section-sub-heading":"QKjsnliPyLu4n08yVUUM","product-interstitial__section-emoji":"xQJJkJ4v7Jm8iSJ0z0Dj","product-interstitial__usage-videos":"VWIBGwuHqtAKg_5Hch92","product-interstitial__usage-videos-item":"mnkNhprYIatxfziERMwM","product-interstitial__usage-videos-video":"WEiaYLqJwV2IzC8LD9Fs","product-interstitial__usage-videos-content":"GJlowVsJybna1MFcIiIU","product-interstitial__usage-videos-heading":"_OeUvI9GrP00qh6Uk7Tg","product-interstitial__usage-videos-text":"C6I5jYHW2IJSDBoKvhcB","product-interstitial__usage-videos-link":"XdnAdAwkxAW5yvUx3NRr","product-interstitial__ai-notice":"MCKgMfLVZtkgWu5m5u6L","product-interstitial__new-badge":"c0SItK48SRkWfZUCECbZ"}},1287:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"SWwV4Pw6OZ5vU3PqPXmr",imageContainer:"r7tUofa9Z3A5ziKVR1H7",aiImageContainer:"i_AnOR3MaQLraGvb2QU5","product-interstitial__header":"YcYvLvdvWrb1EUZoVsE8","product-interstitial__license-activation-link":"uGTTsKoIOoZdYhk6uPnl"}},2091:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"section-stats-highlights":"Jvb1njqMy7ML1zikhbWn","section-title":"mpr8_ygU8woV4bVR1xvw","section-description":"gwO_Q0L0jbwMARVlBezu","cards-list":"qwy7CsLeEbXvaPwgC9WV","stats-card":"Hrbg7DeSJs6gas9zdPDR","stats-card-icon":"NFpbo5AINn6I6avKFGby","stats-card-heading":"aoQZCG0JeyWmy2J6vVxF","stats-card-count":"M6ApyXg79vuXo6GwDkbO","is-pointer":"DYHb5e6QhgXejWyo9s78","stats-card-count-value":"OlInbY5YnDO06MEQHv98","stats-card-difference":"EtbKbd5m85w7oYT4stIs","stats-card-difference--positive":"Awr7zl75sfAsFPHK9kDG","stats-card-difference--negative":"QFSZbIKFdWO3HEPBZyhc","stats-card-difference-icon":"GgJAnS4gaEEGmRCP5n8y","stats-card-difference-absolute-value":"mjiNtwdbKpfo9edGVes4",actions:"pAt4v_KG9Ir19wNcEtEj"}},9473:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={banner:"biqv3OiSCRunE35s4DC6","banner-card":"T0VRsfCJrRslmORTYa8X",dismiss:"v77JdlkwyPAXfzeRW4DQ","banner-container":"UQccyTHMg7XnAWr5VSGt","banner-content":"SpY2tzcf1aTWPaBpAaQU","banner-description":"_G5mdH1mZpQzrtTJKHAO","banner-image":"g2nzjIQcPzgwZqW4523t"}},5878:()=>{},3171:e=>{var t=1e3,a=60*t,n=60*a,c=24*n,r=7*c,s=365.25*c;function i(e,t,a,n){var c=t>=1.5*a;return Math.round(e/a)+" "+n+(c?"s":"")}e.exports=function(e,o){o=o||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\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(!i)return;var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*s;case"weeks":case"week":case"w":return o*r;case"days":case"day":case"d":return o*c;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*a;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===l&&isFinite(e))return o.long?function(e){var r=Math.abs(e);if(r>=c)return i(e,r,c,"day");if(r>=n)return i(e,r,n,"hour");if(r>=a)return i(e,r,a,"minute");if(r>=t)return i(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=c)return Math.round(e/c)+"d";if(r>=n)return Math.round(e/n)+"h";if(r>=a)return Math.round(e/a)+"m";if(r>=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))}},7556:(e,t,a)=>{"use strict";var n=a(3713);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,a,c,r,s){if(s!==n){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:c};return a.PropTypes=a,a}},3059:(e,t,a)=>{e.exports=a(7556)()},3713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:(e,t,a)=>{"use strict";var n=a(758);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,a,c,r,s){if(s!==n){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={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:r,resetWarningCache:c};return a.PropTypes=a,a}},5844:(e,t,a)=>{e.exports=a(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9997:(e,t,a)=>{"use strict";a.d(t,{UT:()=>u,lr:()=>h,rU:()=>d});var n=a(9196),c=a(6417),r=a(3170);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(c[a]=e[a]);return c}function o(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,a)=>{let n=e[a];return t.concat(Array.isArray(n)?n.map((e=>[a,e])):[[a,n]])}),[]))}const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function u(e){let{basename:t,children:a,window:s}=e,i=n.useRef();null==i.current&&(i.current=(0,r.q_)({window:s,v5Compat:!0}));let o=i.current,[l,u]=n.useState({action:o.action,location:o.location});return n.useLayoutEffect((()=>o.listen(u)),[o]),n.createElement(c.F0,{basename:t,children:a,location:l.location,navigationType:l.action,navigator:o})}const d=n.forwardRef((function(e,t){let{onClick:a,relative:o,reloadDocument:u,replace:d,state:m,target:p,to:h,preventScrollReset:g}=e,v=i(e,l),f=(0,c.oQ)(h,{relative:o}),w=function(e,t){let{target:a,replace:s,state:i,preventScrollReset:o,relative:l}=void 0===t?{}:t,u=(0,c.s0)(),d=(0,c.TH)(),m=(0,c.WU)(e,{relative:l});return n.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,a)){t.preventDefault();let a=void 0!==s?s:(0,r.Ep)(d)===(0,r.Ep)(m);u(e,{replace:a,state:i,preventScrollReset:o,relative:l})}}),[d,u,m,s,i,a,e,o,l])}(h,{replace:d,state:m,target:p,preventScrollReset:g,relative:o});return n.createElement("a",s({},v,{href:f,onClick:u?a:function(e){a&&a(e),e.defaultPrevented||w(e)},ref:t,target:p}))}));var m,p;function h(e){let t=n.useRef(o(e)),a=(0,c.TH)(),r=n.useMemo((()=>function(e,t){let a=o(e);for(let e of t.keys())a.has(e)||t.getAll(e).forEach((t=>{a.append(e,t)}));return a}(a.search,t.current)),[a.search]),s=(0,c.s0)(),i=n.useCallback(((e,t)=>{const a=o("function"==typeof e?e(r):e);s("?"+a,t)}),[s,r]);return[r,i]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(m||(m={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(p||(p={}))},6417:(e,t,a)=>{"use strict";a.d(t,{AW:()=>L,F0:()=>P,Fg:()=>M,TH:()=>y,WU:()=>_,Z5:()=>A,oQ:()=>k,s0:()=>b});var n=a(3170),c=a(9196);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c.value=n,c.getSnapshot=t,d(c)&&r({inst:c})}),[e,n,t]),o((()=>{d(c)&&r({inst:c});return e((()=>{d(c)&&r({inst:c})}))}),[e]),u(n),n};"useSyncExternalStore"in c&&c.useSyncExternalStore;const p=c.createContext(null);const h=c.createContext(null);const g=c.createContext(null);const v=c.createContext(null);const f=c.createContext({outlet:null,matches:[]});const w=c.createContext(null);function k(e,t){let{relative:a}=void 0===t?{}:t;E()||(0,n.kG)(!1);let{basename:r,navigator:s}=c.useContext(g),{hash:i,pathname:o,search:l}=_(e,{relative:a}),u=o;return"/"!==r&&(u="/"===o?r:(0,n.RQ)([r,o])),s.createHref({pathname:u,search:l,hash:i})}function E(){return null!=c.useContext(v)}function y(){return E()||(0,n.kG)(!1),c.useContext(v).location}function b(){E()||(0,n.kG)(!1);let{basename:e,navigator:t}=c.useContext(g),{matches:a}=c.useContext(f),{pathname:r}=y(),s=JSON.stringify((0,n.Zq)(a).map((e=>e.pathnameBase))),i=c.useRef(!1);return c.useEffect((()=>{i.current=!0})),c.useCallback((function(a,c){if(void 0===c&&(c={}),!i.current)return;if("number"==typeof a)return void t.go(a);let o=(0,n.pC)(a,JSON.parse(s),r,"path"===c.relative);"/"!==e&&(o.pathname="/"===o.pathname?e:(0,n.RQ)([e,o.pathname])),(c.replace?t.replace:t.push)(o,c.state,c)}),[e,t,s,r])}function _(e,t){let{relative:a}=void 0===t?{}:t,{matches:r}=c.useContext(f),{pathname:s}=y(),i=JSON.stringify((0,n.Zq)(r).map((e=>e.pathnameBase)));return c.useMemo((()=>(0,n.pC)(e,JSON.parse(i),s,"path"===a)),[e,i,s,a])}function j(){let e=function(){var e;let t=c.useContext(w),a=z(x.UseRouteError),n=S(x.UseRouteError);if(t)return t;return null==(e=a.errors)?void 0:e[n]}(),t=(0,n.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unhandled Thrown Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),a?c.createElement("pre",{style:s},a):null,c.createElement("p",null,"💿 Hey developer 👋"),c.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",c.createElement("code",{style:i},"errorElement")," props on ",c.createElement("code",{style:i},"")))}class C extends c.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?c.createElement(f.Provider,{value:this.props.routeContext},c.createElement(w.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function N(e){let{routeContext:t,match:a,children:n}=e,r=c.useContext(p);return r&&r.static&&r.staticContext&&a.route.errorElement&&(r.staticContext._deepestRenderedBoundaryId=a.route.id),c.createElement(f.Provider,{value:t},n)}function R(e,t,a){if(void 0===t&&(t=[]),null==e){if(null==a||!a.errors)return null;e=a.matches}let r=e,s=null==a?void 0:a.errors;if(null!=s){let e=r.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,n.kG)(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,n,i)=>{let o=n.route.id?null==s?void 0:s[n.route.id]:null,l=a?n.route.errorElement||c.createElement(j,null):null,u=t.concat(r.slice(0,i+1)),d=()=>c.createElement(N,{match:n,routeContext:{outlet:e,matches:u}},o?l:void 0!==n.route.element?n.route.element:e);return a&&(n.route.errorElement||0===i)?c.createElement(C,{location:a.location,component:l,error:o,children:d(),routeContext:{outlet:null,matches:u}}):d()}),null)}var Z,x;function z(e){let t=c.useContext(h);return t||(0,n.kG)(!1),t}function S(e){let t=function(e){let t=c.useContext(f);return t||(0,n.kG)(!1),t}(),a=t.matches[t.matches.length-1];return a.route.id||(0,n.kG)(!1),a.route.id}!function(e){e.UseRevalidator="useRevalidator"}(Z||(Z={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(x||(x={}));function M(e){let{to:t,replace:a,state:r,relative:s}=e;E()||(0,n.kG)(!1);let i=c.useContext(h),o=b();return c.useEffect((()=>{i&&"idle"!==i.navigation.state||o(t,{replace:a,state:r,relative:s})})),null}function L(e){(0,n.kG)(!1)}function P(e){let{basename:t="/",children:a=null,location:r,navigationType:s=n.aU.Pop,navigator:i,static:o=!1}=e;E()&&(0,n.kG)(!1);let l=t.replace(/^\/*/,"/"),u=c.useMemo((()=>({basename:l,navigator:i,static:o})),[l,i,o]);"string"==typeof r&&(r=(0,n.cP)(r));let{pathname:d="/",search:m="",hash:p="",state:h=null,key:f="default"}=r,w=c.useMemo((()=>{let e=(0,n.Zn)(d,l);return null==e?null:{pathname:e,search:m,hash:p,state:h,key:f}}),[l,d,m,p,h,f]);return null==w?null:c.createElement(g.Provider,{value:u},c.createElement(v.Provider,{children:a,value:{location:w,navigationType:s}}))}function A(e){let{children:t,location:a}=e,s=c.useContext(p);return function(e,t){E()||(0,n.kG)(!1);let{navigator:a}=c.useContext(g),s=c.useContext(h),{matches:i}=c.useContext(f),o=i[i.length-1],l=o?o.params:{},u=(o&&o.pathname,o?o.pathnameBase:"/");o&&o.route;let d,m=y();if(t){var p;let e="string"==typeof t?(0,n.cP)(t):t;"/"===u||(null==(p=e.pathname)?void 0:p.startsWith(u))||(0,n.kG)(!1),d=e}else d=m;let w=d.pathname||"/",k="/"===u?w:w.slice(u.length)||"/",b=(0,n.fp)(e,{pathname:k}),_=R(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:(0,n.RQ)([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:(0,n.RQ)([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,s||void 0);return t&&_?c.createElement(v.Provider,{value:{location:r({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:n.aU.Pop}},_):_}(s&&!t?s.router.routes:H(t),a)}var V;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(V||(V={}));new Promise((()=>{}));c.Component;function H(e,t){void 0===t&&(t=[]);let a=[];return c.Children.forEach(e,((e,r)=>{if(!c.isValidElement(e))return;if(e.type===c.Fragment)return void a.push.apply(a,H(e.props.children,t));e.type!==L&&(0,n.kG)(!1),e.props.index&&e.props.children&&(0,n.kG)(!1);let s=[...t,r],i={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(i.children=H(e.props.children,s)),a.push(i)})),a}},4561:(e,t,a)=>{"use strict";var n=a(9196),c=Symbol.for("react.element"),r=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,a){var n,r={},l=null,u=null;for(n in void 0!==a&&(l=""+a),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!o.hasOwnProperty(n)&&(r[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===r[n]&&(r[n]=t[n]);return{$$typeof:c,type:e,key:l,ref:u,props:r,_owner:i.current}}t.jsx=l},275:(e,t,a)=>{"use strict";e.exports=a(4561)},6975:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(951);const c=a.n(n)()("dops:analytics");let r,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,a){i.setUser(e,t),i.setSuperProps(a),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Bumping stats %o",e)}else a="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return a}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+a+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Built stats %o",e)}else a="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return a}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+a+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,a,n,c,r,s){i.ga.recordPurchase(e,t,a,n,c,r,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(c("- Super Props: %o",r),t=Object.assign(t,r)),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};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.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={};i.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.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,a,n){i.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==a&&(r+=" [Option Label: "+a+"]"),void 0!==n&&(r+=" [Option Value: "+n+"]"),c(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,a,n)},recordPurchase:function(e,t,a,n,c,r,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:a,price:c,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},o=i},4743:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>d});var n=a(1132),c=a(6483);function r(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const s=r("JsonParseError"),i=r("JsonParseAfterRedirectError"),o=r("Api404Error"),l=r("Api404AfterRedirectError"),u=r("FetchNetworkError");const d=new function(e,t){let a=e,r=e,s={"X-WP-Nonce":t},i={credentials:"same-origin",headers:s},o={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),a=t.length>1?t[1]:"",n=a.length?a.split("&"):[];return n.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+n.join("&")};const u={setApiRoot(e){a=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){s={"X-WP-Nonce":e},i={credentials:"same-origin",headers:s},o={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,c)=>{const r={registration_nonce:e,no_iframe:!0};return(0,n.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,n.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),c&&(r.from=c),h(`${a}jetpack/v4/connection/register`,o,{body:JSON.stringify(r)}).then(m).then(p)},fetchAuthorizationUrl:e=>d((0,c.addQueryArgs)(`${a}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),i).then(m).then(p),fetchSiteConnectionData:()=>d(`${a}jetpack/v4/connection/data`,i).then(p),fetchSiteConnectionStatus:()=>d(`${a}jetpack/v4/connection`,i).then(p),fetchSiteConnectionTest:()=>d(`${a}jetpack/v4/connection/test`,i).then(m).then(p),fetchUserConnectionData:()=>d(`${a}jetpack/v4/connection/data`,i).then(p),fetchUserTrackingSettings:()=>d(`${a}jetpack/v4/tracking/settings`,i).then(m).then(p),updateUserTrackingSettings:e=>h(`${a}jetpack/v4/tracking/settings`,o,{body:JSON.stringify(e)}).then(m).then(p),disconnectSite:()=>h(`${a}jetpack/v4/connection`,o,{body:JSON.stringify({isActive:!1})}).then(m).then(p),fetchConnectUrl:()=>d(`${a}jetpack/v4/connection/url`,i).then(m).then(p),unlinkUser:()=>h(`${a}jetpack/v4/connection/user`,o,{body:JSON.stringify({linked:!1})}).then(m).then(p),reconnect:()=>h(`${a}jetpack/v4/connection/reconnect`,o).then(m).then(p),fetchConnectedPlugins:()=>d(`${a}jetpack/v4/connection/plugins`,i).then(m).then(p),setHasSeenWCConnectionModal:()=>h(`${a}jetpack/v4/seen-wc-connection-modal`,o).then(m).then(p),fetchModules:()=>d(`${a}jetpack/v4/module/all`,i).then(m).then(p),fetchModule:e=>d(`${a}jetpack/v4/module/${e}`,i).then(m).then(p),activateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,o,{body:JSON.stringify({active:!0})}).then(m).then(p),deactivateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,o,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${a}jetpack/v4/module/${e}`,o,{body:JSON.stringify(t)}).then(m).then(p),updateSettings:e=>h(`${a}jetpack/v4/settings`,o,{body:JSON.stringify(e)}).then(m).then(p),getProtectCount:()=>d(`${a}jetpack/v4/module/protect/data`,i).then(m).then(p),resetOptions:e=>h(`${a}jetpack/v4/options/${e}`,o,{body:JSON.stringify({reset:!0})}).then(m).then(p),activateVaultPress:()=>h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(p),getVaultPressData:()=>d(`${a}jetpack/v4/module/vaultpress/data`,i).then(m).then(p),installPlugin:(e,t)=>{const n={slug:e,status:"active"};return t&&(n.source=t),h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify(n)}).then(m).then(p)},activateAkismet:()=>h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(p),getAkismetData:()=>d(`${a}jetpack/v4/module/akismet/data`,i).then(m).then(p),checkAkismetKey:()=>d(`${a}jetpack/v4/module/akismet/key/check`,i).then(m).then(p),checkAkismetKeyTyped:e=>h(`${a}jetpack/v4/module/akismet/key/check`,o,{body:JSON.stringify({api_key:e})}).then(m).then(p),fetchStatsData:e=>d(function(e){let t=`${a}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),i).then(m).then(p).then(v),getPluginUpdates:()=>d(`${a}jetpack/v4/updates/plugins`,i).then(m).then(p),getPlans:()=>d(`${a}jetpack/v4/plans`,i).then(m).then(p),fetchSettings:()=>d(`${a}jetpack/v4/settings`,i).then(m).then(p),updateSetting:e=>h(`${a}jetpack/v4/settings`,o,{body:JSON.stringify(e)}).then(m).then(p),fetchSiteData:()=>d(`${a}jetpack/v4/site`,i).then(m).then(p).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${a}jetpack/v4/site/features`,i).then(m).then(p).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${a}jetpack/v4/site/products`,i).then(m).then(p),fetchSitePurchases:()=>d(`${a}jetpack/v4/site/purchases`,i).then(m).then(p).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${a}jetpack/v4/site/benefits`,i).then(m).then(p).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${a}jetpack/v4/site/discount`,i).then(m).then(p).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${a}jetpack/v4/setup/questionnaire`,i).then(m).then(p),fetchRecommendationsData:()=>d(`${a}jetpack/v4/recommendations/data`,i).then(m).then(p),fetchRecommendationsProductSuggestions:()=>d(`${a}jetpack/v4/recommendations/product-suggestions`,i).then(m).then(p),fetchRecommendationsUpsell:()=>d(`${a}jetpack/v4/recommendations/upsell`,i).then(m).then(p),fetchRecommendationsConditional:()=>d(`${a}jetpack/v4/recommendations/conditional`,i).then(m).then(p),saveRecommendationsData:e=>h(`${a}jetpack/v4/recommendations/data`,o,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>d(`${a}jetpack/v4/products`,i).then(m).then(p),fetchRewindStatus:()=>d(`${a}jetpack/v4/rewind`,i).then(m).then(p).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${a}jetpack/v4/scan`,i).then(m).then(p).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${a}jetpack/v4/notice/${e}`,o,{body:JSON.stringify({dismissed:!0})}).then(m).then(p),fetchPluginsData:()=>d(`${a}jetpack/v4/plugins`,i).then(m).then(p),fetchIntroOffers:()=>d(`${a}jetpack/v4/intro-offers`,i).then(m).then(p),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${a}jetpack/v4/verify-site/google/${e}`:`${a}jetpack/v4/verify-site/google`,i).then(m).then(p),verifySiteGoogle:e=>h(`${a}jetpack/v4/verify-site/google`,o,{body:JSON.stringify({keyring_id:e})}).then(m).then(p),submitSurvey:e=>h(`${a}jetpack/v4/marketing/survey`,o,{body:JSON.stringify(e)}).then(m).then(p),saveSetupQuestionnaire:e=>h(`${a}jetpack/v4/setup/questionnaire`,o,{body:JSON.stringify(e)}).then(m).then(p),updateLicensingError:e=>h(`${a}jetpack/v4/licensing/error`,o,{body:JSON.stringify(e)}).then(m).then(p),updateLicenseKey:e=>h(`${a}jetpack/v4/licensing/set-license`,o,{body:JSON.stringify({license:e})}).then(m).then(p),getUserLicensesCounts:()=>d(`${a}jetpack/v4/licensing/user/counts`,i).then(m).then(p),getUserLicenses:()=>d(`${a}jetpack/v4/licensing/user/licenses`,i).then(m).then(p),updateLicensingActivationNoticeDismiss:e=>h(`${a}jetpack/v4/licensing/user/activation-notice-dismiss`,o,{body:JSON.stringify({last_detached_count:e})}).then(m).then(p),updateRecommendationsStep:e=>h(`${a}jetpack/v4/recommendations/step`,o,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>h(`${a}jetpack/v4/identity-crisis/confirm-safe-mode`,o).then(m),startIDCFresh:e=>h(`${a}jetpack/v4/identity-crisis/start-fresh`,o,{body:JSON.stringify({redirect_uri:e})}).then(m).then(p),migrateIDC:()=>h(`${a}jetpack/v4/identity-crisis/migrate`,o).then(m),attachLicenses:e=>h(`${a}jetpack/v4/licensing/attach-licenses`,o,{body:JSON.stringify({licenses:e})}).then(m).then(p),fetchSearchPlanInfo:()=>d(`${r}jetpack/v4/search/plan`,i).then(m).then(p),fetchSearchSettings:()=>d(`${r}jetpack/v4/search/settings`,i).then(m).then(p),updateSearchSettings:e=>h(`${r}jetpack/v4/search/settings`,o,{body:JSON.stringify(e)}).then(m).then(p),fetchSearchStats:()=>d(`${r}jetpack/v4/search/stats`,i).then(m).then(p),fetchWafSettings:()=>d(`${a}jetpack/v4/waf`,i).then(m).then(p),updateWafSettings:e=>h(`${a}jetpack/v4/waf`,o,{body:JSON.stringify(e)}).then(m).then(p),fetchWordAdsSettings:()=>d(`${a}jetpack/v4/wordads/settings`,i).then(m).then(p),updateWordAdsSettings:e=>h(`${a}jetpack/v4/wordads/settings`,o,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${r}jetpack/v4/search/pricing`,i).then(m).then(p),fetchMigrationStatus:()=>d(`${a}jetpack/v4/migration/status`,i).then(m).then(p),fetchBackupUndoEvent:()=>d(`${a}jetpack/v4/site/backup/undo-event`,i).then(m).then(p),fetchBackupPreflightStatus:()=>d(`${a}jetpack/v4/site/backup/preflight`,i).then(m).then(p)};function d(e,t){return fetch(l(e),t)}function h(e,t,a){return fetch(e,Object.assign({},t,a)).catch(g)}function v(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new o})):e.json().catch((e=>h(e))).then((t=>{const a=new Error(`${t.message} (Status ${e.status})`);throw a.response=t,a.name="ApiError",a}))}function p(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,a){throw t?new i(a):new s}function g(){throw new u}},2264:(e,t,a)=>{"use strict";a.d(t,{M:()=>s});var n=a(5736),c=a(5146),r=a(6873);const __=n.__;class s extends Error{constructor(e,t,a){super(),this.httpCode=e,this.body=t,this.parseError=a}get message(){switch(this.httpCode){case 403:return this.getRestApiErrorMessage();case 200:if(this.parseError)return(0,n.sprintf)(/* Translators: %s refers to a browser-supplied error message (hopefully already in the right language) */ __("Received invalid response while communicating with your WordPress site: %s","jetpack-my-jetpack"),this.parseError.message)}return(0,n.sprintf)(/* Translators: %d refers to numeric HTTP error code */ __("HTTP %d error received while communicating with the server.","jetpack-my-jetpack"),this.httpCode)}getDisplayBody(){return(0,r.b)(this.body)?JSON.stringify(this.body,null," "):(0,c.x)(this.body,"").substring(0,1e3)}getRestApiErrorMessage(){return __("Your site's REST API does not seem to be accessible. Jetpack Boost requires access to your REST API in order to receive site performance scores. Please make sure that your site's REST API is active and accessible, and try again.","jetpack-my-jetpack")}}},8426:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(2264),r=a(259);const __=n.__;async function s(e,t,a,c=null,s){const i={method:e,mode:"cors",headers:{"X-WP-Nonce":s}};"post"!==e&&"delete"!==e||!c||(i.body=JSON.stringify(c),i.headers["Content-Type"]="application/json");const o=function(e,t){return t+r.N+r.L+e}(a,t);let l;try{l=await fetch(o,i)}catch(e){const t=i;delete t.body,delete t.headers["X-WP-Nonce"];const a={requestInitiator:window.location.href,requestUrl:o,requestArgs:t,originalErrorMessage:e.toString()};throw new Error((0,n.sprintf)(/* Translators: %s refers to a string representation of an error object containing useful debug information */ __("An error occurred while trying to communicate with the site REST API. Extra debug info: %s","jetpack-my-jetpack"),JSON.stringify(a)))}return l}async function i(e,t,a,n=null,r){const i=await s(e,t,a,n,r);let o,l;try{o=await i.text()}catch(e){throw new c.M(i.status,null,e)}try{l=JSON.parse(o)}catch(e){throw new c.M(i.status,o,e)}if(!i.ok)throw new c.M(i.status,l,null);return l}const o={get:function(e,t,a){return i("get",e,t,null,a)},post:function(e,t,a=null,n){return i("post",e,t,a,n)}}},259:(e,t,a)=>{"use strict";a.d(t,{L:()=>c,N:()=>n});const n="jetpack-boost/v1",c=""},128:(e,t,a)=>{"use strict";a.d(t,{Fr:()=>g,tZ:()=>m,yn:()=>h});var n=a(5736),c=a(8426),r=a(1061),s=a(5146),i=a(6873),o=a(2653),l=a(2893);const __=n.__,u=12e4,d=5e3;async function m(e=!1,t,a,n){const r=p(await c.Z.post(t,e?"/speed-scores/refresh":"/speed-scores",{url:a},n));return r.scores?r.scores:await async function(e,t,a){return(0,o.Z)({timeout:u,interval:d,timeoutError:__("Timed out while waiting for speed-score.","jetpack-my-jetpack"),callback:async n=>{const r=p(await c.Z.post(e,"/speed-scores",{url:t},a));r.scores&&n(r.scores)}})}(t,a,n)}function p(e){if(e.error){const t=__("An unknown error occurred while requesting metrics","jetpack-my-jetpack");throw(0,l.V)(e.error,t)}if((0,i.b)(e.scores))return{status:"success",scores:{current:(0,i.b)(e.scores.current)?{mobile:(0,r.W)(e.scores.current.mobile,0),desktop:(0,r.W)(e.scores.current.desktop,0)}:{mobile:0,desktop:0},noBoost:(0,i.b)(e.scores.noBoost)?{mobile:(0,r.W)(e.scores.noBoost.mobile,0),desktop:(0,r.W)(e.scores.noBoost.desktop,0)}:null,isStale:!!e.scores.isStale}};const t=(0,s.x)(e.status);if(!t)throw new Error(__("Invalid response while requesting metrics","jetpack-my-jetpack"));return{status:t}}function h(e,t){const a=(e+t)/2;return a>90?"A":a>75?"B":a>50?"C":a>35?"D":a>25?"E":"F"}function g(e){const t=new Date(e),a=(new Date).valueOf()-t.valueOf();return Math.floor(a/864e5)}},1061:(e,t,a)=>{"use strict";function n(e,t=void 0){if("number"==typeof e)return e;if("string"==typeof e){const t=parseFloat(e);if(!isNaN(t))return t}return t}a.d(t,{W:()=>n})},5146:(e,t,a)=>{"use strict";function n(e,t=void 0){return"string"==typeof e?e:e&&e.toString instanceof Function?e.toString():t}a.d(t,{x:()=>n})},6873:(e,t,a)=>{"use strict";function n(e){return!!e&&e instanceof Object&&!(e instanceof Array)}a.d(t,{b:()=>n})},2653:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(5736);const __=n.__;async function c({interval:e,callback:t,timeout:a,timeoutError:n}){let c,r;return new Promise(((s,i)=>{c=setTimeout((()=>{i(new Error(n||__("Timed out","jetpack-my-jetpack")))}),a||12e4),r=setInterval((async()=>{try{await Promise.resolve(t(s))}catch(e){i(e)}}),e)})).finally((()=>{clearTimeout(c),clearInterval(r)}))}},2893:(e,t,a)=>{"use strict";function n(e,t){return e instanceof Error?e:"string"==typeof e||e instanceof String?new Error(e.toString()):e.message?new Error(e.message):t?new Error(t):new Error(JSON.stringify(e))}a.d(t,{V:()=>n})},7121:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(5609),c=a(5736),r=a(5235),s=a.n(r),i=a(5844),o=a.n(i),l=a(9196),u=a.n(l),d=a(526),m=a(2289);const __=c.__,p=e=>{const{label:t,onClick:a,isLoading:c=!1,loadingText:r,isDisabled:i,displayError:o=!1,errorMessage:l=__("An error occurred. Please try again.","jetpack-my-jetpack"),customClass:p}=e,h=r||u().createElement(n.Spinner,null);return u().createElement(u().Fragment,null,u().createElement(d.Z,{className:s()(m.Z.button,"jp-action-button--button",p),label:t,onClick:a,variant:"primary",disabled:c||i},c?h:t),o&&u().createElement("p",{className:s()(m.Z.error,"jp-action-button__error")},l))};p.propTypes={label:o().string.isRequired,onClick:o().func,isLoading:o().bool,isDisabled:o().bool,displayError:o().bool,errorMessage:o().oneOfType([o().string,o().element])};const h=p},9105:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5736),c=a(5235),r=a.n(c),s=a(8237),i=a(8868),o=a(3846),l=a(3363),u=a(1494);const __=n.__,d=({children:e,moduleName:t=__("Jetpack","jetpack-my-jetpack"),moduleNameHref:a,showHeader:n=!0,showFooter:c=!0,showBackground:d=!0,header:m})=>{const p=r()(u.Z["admin-page"],{[u.Z.background]:d});return React.createElement("div",{className:p},n&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(o.Z,null,m||React.createElement(i.Z,null))),React.createElement(l.Z,{fluid:!0,horizontalSpacing:0},React.createElement(o.Z,null,e)),c&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(o.Z,null,React.createElement(s.Z,{moduleName:t,moduleNameHref:a}))))}},6579:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(9196),c=a.n(n),r=a(511);const s=({children:e})=>c().createElement("div",{className:r.Z.section},e)},216:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(9196),c=a.n(n),r=a(281);const s=({children:e})=>c().createElement("div",{className:r.Z["section-hero"]},e)},4972:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(797),c=a(496),r=a(9201),s=a(1074),i=a(5235),o=a.n(i),l=a(9196),u=a.n(l),d=a(9171);const m=e=>{switch(e){case"error":case"warning":default:return n.Z;case"info":return c.Z;case"success":return r.Z}},p=({level:e="warning",children:t,showIcon:a=!0})=>{const n=o()(d.Z.container,d.Z[`is-${e}`]);return u().createElement("div",{className:n},a&&u().createElement("div",{className:d.Z["icon-wrapper"]},u().createElement(s.Z,{icon:m(e),className:d.Z.icon})),u().createElement("div",null,t))}},7525:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(2674),c=a.n(n),r=a(5736),s=a(5235),i=a.n(s),o=a(9196),l=a.n(o);const __=r.__,u=({title:e=__("An Automattic Airline","jetpack-my-jetpack"),height:t=7,className:a,...n})=>l().createElement("svg",c()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:i()("jp-automattic-byline-logo",a)},n),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},e),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))},4186:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(5235),r=a.n(c),s=a(7172);a(6923);const __=n.__,i=({score:e,isLoading:t,showPrevScores:a,active:n,prevScore:c=0,scoreBarType:i,noBoostScoreTooltip:o})=>{if(!n)return null;const l=c/e*100,u=__("Desktop score","jetpack-my-jetpack"),d=__("Mobile score","jetpack-my-jetpack");return React.createElement("div",{className:r()("jb-score-bar",`jb-score-bar--${i}`)},React.createElement("div",{className:"jb-score-bar__label"},"desktop"===i?React.createElement(s.Z,{icon:"computer",size:24}):React.createElement(s.Z,{icon:"phone",size:24}),React.createElement("div",null,"desktop"===i?u:d)),React.createElement("div",{className:"jb-score-bar__bounds"},React.createElement("div",{className:r()("jb-score-bar__filler",t&&!e?"fill-loading":e>70?"fill-good":e>50?"fill-mediocre":"fill-bad"),style:{width:`${e}%`}},t?React.createElement("div",{className:"jb-score-bar__loading"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 128 128"},React.createElement("g",null,React.createElement("path",{d:"M64 0a7 7 0 11-7 7 7 7 0 017-7zm29.86 12.2a2.8 2.8 0 11-3.83 1.02 2.8 2.8 0 013.83-1.02zm22.16 21.68a3.15 3.15 0 11-4.3-1.15 3.15 3.15 0 014.3 1.15zm.87 60.53a4.2 4.2 0 11-1.57-5.7 4.2 4.2 0 011.54 5.73zm7.8-30.5a3.85 3.85 0 11-3.85-3.85 3.85 3.85 0 013.85 3.84zm-30 53.2a4.55 4.55 0 111.66-6.23 4.55 4.55 0 01-1.67 6.22zM64 125.9a4.9 4.9 0 114.9-4.9 4.9 4.9 0 01-4.9 4.9zm-31.06-8.22a5.25 5.25 0 117.17-1.93 5.25 5.25 0 01-7.14 1.93zM9.9 95.1a5.6 5.6 0 117.65 2.06A5.6 5.6 0 019.9 95.1zM1.18 63.9a5.95 5.95 0 115.95 5.94 5.95 5.95 0 01-5.96-5.94zm8.1-31.6a6.3 6.3 0 112.32 8.6 6.3 6.3 0 01-2.3-8.6zM32.25 8.87a6.65 6.65 0 11-2.44 9.1 6.65 6.65 0 012.46-9.1z"}),React.createElement("animateTransform",{attributeName:"transform",type:"rotate",values:"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64",calcMode:"discrete",dur:"1080ms",repeatCount:"indefinite"})))):React.createElement("div",{className:"jb-score-bar__score"},e),a&&!!c&&c{"use strict";a.d(t,{Z:()=>g});var n=a(2674),c=a.n(n),r=a(5609),s=a(5736),i=a(1074),o=a(5381),l=a(5235),u=a.n(l),d=a(9196),m=a.n(d),p=a(3466);const __=s.__,h=(0,d.forwardRef)(((e,t)=>{const{children:a,variant:n="primary",size:s="normal",weight:l="bold",icon:d,iconSize:h,disabled:g,isDestructive:v,isLoading:f,isExternalLink:w,className:k,text:E,fullWidth:y,...b}=e,_=u()(p.Z.button,k,{[p.Z.normal]:"normal"===s,[p.Z.small]:"small"===s,[p.Z.icon]:Boolean(d),[p.Z.loading]:f,[p.Z.regular]:"regular"===l,[p.Z["full-width"]]:y,[p.Z["is-icon-button"]]:Boolean(d)&&!a});b.ref=t;const j="normal"===s?20:16,C=w&&m().createElement(m().Fragment,null,m().createElement(i.Z,{size:j,icon:o.Z,className:p.Z["external-icon"]}),m().createElement(r.VisuallyHidden,{as:"span"},/* translators: accessibility text */ __("(opens in a new tab)","jetpack-my-jetpack"))),N=w?"_blank":void 0,R=a?.[0]&&null!==a[0]&&"components-tooltip"!==a?.[0]?.props?.className;return m().createElement(r.Button,c()({target:N,variant:n,className:u()(_,{"has-text":!!d&&R}),icon:w?void 0:d,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:v,text:E},b),f&&m().createElement(r.Spinner,null),m().createElement("span",null,a),C)}));h.displayName="Button";const g=h},9026:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});a(2404);const n=({format:e="horizontal",icon:t,imageUrl:a})=>React.createElement("div",{className:"jp-components__decorative-card "+(e?"jp-components__decorative-card--"+e:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:a?`url( ${a} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),t?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+t})):null)},7172:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(5235),r=a.n(c),s=a(9196);a(5785);const __=n.__;class i extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-my-jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack-my-jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack-my-jetpack");case"gridicons-calendar":return __("Is an event.","jetpack-my-jetpack");case"gridicons-cart":return __("Is a product.","jetpack-my-jetpack");case"chevron-down":return __("Show filters","jetpack-my-jetpack");case"gridicons-comment":return __("Matching comment.","jetpack-my-jetpack");case"gridicons-cross":return __("Close.","jetpack-my-jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack-my-jetpack");case"gridicons-folder":return __("Category","jetpack-my-jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-my-jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-my-jetpack");case"gridicons-image":return __("Has an image.","jetpack-my-jetpack");case"gridicons-page":return __("Page","jetpack-my-jetpack");case"gridicons-post":return __("Post","jetpack-my-jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-my-jetpack");case"gridicons-tag":return __("Tag","jetpack-my-jetpack");case"gridicons-video":return __("Has a video.","jetpack-my-jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,a=this.props.height||e,n=this.props.width||e,c=this.props.style||{height:a,width:n},s="gridicons-"+this.props.icon,i=r()("gridicon",s,t,{"needs-offset":this.needsOffset(s,e)}),o=this.getSVGDescription(s);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:a,onClick:this.props.onClick,style:c,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},o?React.createElement("desc",null,o):null,this.renderIcon(s))}}const o=i},9665:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5609),c=a(5235),r=a.n(c),s=a(9196),i=a.n(s),o=a(526),l=a(7172);a(1275);const u=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),d=({className:e="",iconClassName:t="",placement:a="bottom-end",animate:c=!0,iconCode:d="info-outline",iconSize:m=18,offset:p=10,title:h,children:g,popoverAnchorStyle:v="icon",forceShow:f=!1,wide:w=!1,inline:k=!0,shift:E=!1})=>{const[y,b]=(0,s.useState)(!1),_=(0,s.useCallback)((()=>b(!1)),[b]),j=(0,s.useCallback)((e=>{e.preventDefault(),b(!y)}),[y,b]),C={position:u(a),placement:a,animate:c,noArrow:!1,resize:!1,flip:!1,offset:p,focusOnMount:"container",onClose:_,className:"icon-tooltip-container",inline:k,shift:E},N="wrapper"===v,R=r()("icon-tooltip-wrapper",e),Z={left:N?0:-(62-m/2)+"px"},x=N&&f;return i().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper"},!N&&i().createElement(o.Z,{variant:"link",onMouseDown:j},i().createElement(l.Z,{className:t,icon:d,size:m})),i().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":w}),style:Z},(x||y)&&i().createElement(n.Popover,C,i().createElement("div",null,h&&i().createElement("div",{className:"icon-tooltip-title"},h),i().createElement("div",{className:"icon-tooltip-content"},g)))))}},3396:(e,t,a)=>{"use strict";a.d(t,{KM:()=>d,VS:()=>g,_1:()=>m,pJ:()=>p,r7:()=>u});var n=a(2674),c=a.n(n),r=a(5609),s=a(5235),i=a.n(s),o=(a(4311),a(5612));const l=({className:e,size:t=24,viewBox:a="0 0 24 24",opacity:n=1,color:s="#2C3338",children:l})=>{const u={className:i()(o.Z.iconWrapper,e),width:t,height:t,viewBox:a,opacity:n,fill:void 0};return s&&(u.fill=s),React.createElement(r.SVG,c()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:n},l))},u=({size:e,className:t=o.Z["star-icon"],color:a})=>React.createElement(l,{className:t,size:e,color:a},React.createElement(r.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})),d=({size:e,className:t=o.Z["checkmark-icon"],color:a})=>React.createElement(l,{className:t,size:e,color:a},React.createElement(r.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),m=({size:e,className:t=o.Z.jetpack,color:a})=>React.createElement(l,{className:t,size:e,color:a,viewBox:"0 0 32 32"},React.createElement(r.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),React.createElement(r.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(r.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"})),p=({size:e=24,color:t="#069e08"})=>React.createElement(l,{color:t,size:e,viewBox:"0 0 32 32"},React.createElement(r.Path,{className:"spark-first",d:"M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z"}),React.createElement(r.Path,{className:"spark-second",d:"M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z"}),React.createElement(r.Path,{className:"spark-third",d:"M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z"})),h={...{"anti-spam":({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(r.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"})),backup:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1 l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4 c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1 c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4 C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6 c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2 c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8 c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2 l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8 C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1 c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4 C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0 C6.6,8.5,6.3,7.6,5.9,6.7z"})),boost:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"})),crm:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"})),extras:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"})),protect:({opacity:e=1,size:t,className:a,color:n})=>React.createElement(l,{className:a,size:t,opacity:e,color:n},React.createElement(r.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),React.createElement(r.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"})),scan:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"})),search:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"})),social:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"})),star:u,videopress:({opacity:e=1,size:t,color:a})=>React.createElement(l,{size:t,opacity:e,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7 h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9 c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z"})),jetpack:m,share:({size:e=16,className:t,color:a})=>React.createElement(l,{className:t,size:e,color:a,viewBox:"0 0 16 16"},React.createElement(r.Path,{fill:"#161722",fillRule:"evenodd",d:"M8.3 4.66C3.85 5.308.727 9.75.034 13.69l-.02.117c-.137.842.809 1.232 1.446.68 2.013-1.745 3.648-2.475 5.318-2.719a10.482 10.482 0 011.524-.103v2.792c0 .694.82 1.041 1.3.55l6.176-6.307a.79.79 0 00.012-1.088L9.614 1.004C9.14.496 8.301.84 8.301 1.542v3.117zm1.525-1.175v1.85a.773.773 0 01-.654.77l-.655.096c-2.133.311-3.987 1.732-5.295 3.672-.472.7-.854 1.44-1.143 2.18a12.32 12.32 0 011.675-.972c1.58-.75 3.048-.972 4.548-.972h.762a.77.77 0 01.762.779v1.69l4.347-4.44-4.347-4.653z",clipRule:"evenodd"})),ai:p}};function g(e){return h[e]?h[e]:null}},8237:(e,t,a)=>{"use strict";a.d(t,{Z:()=>y});var n=a(2674),c=a.n(n),r=a(9818),s=a(5736),i=a(1074),o=a(5381),l=a(5235),u=a.n(l),d=a(9196),m=a.n(d),p=a(6895),h=a(428),g=a(2497),v=a(7525),f=(a(9054),a(8868)),w=a(2054);const __=s.__,_x=s._x,k=()=>m().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),E=()=>m().createElement(m().Fragment,null,m().createElement(i.Z,{icon:o.Z,size:16}),m().createElement("span",{className:"jp-dashboard-footer__accessible-external-link"},/* translators: accessibility text */ __("(opens in a new tab)","jetpack-my-jetpack"))),y=({moduleName:e=__("Jetpack","jetpack-my-jetpack"),className:t,moduleNameHref:a="https://jetpack.com",menu:n,onAboutClick:s,onPrivacyClick:i,onTermsClick:o,...l})=>{const[d]=(0,w.Z)("sm","<="),[f]=(0,w.Z)("md","<="),[y]=(0,w.Z)("lg",">"),{isActive:b,connectedPlugins:_}=(0,r.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),j=(0,g.Z)(),C=j&&b&&_?.some((({slug:e})=>"jetpack"===e));let N=[{label:_x("About","Link to learn more about Jetpack.","jetpack-my-jetpack"),title:__("About Jetpack","jetpack-my-jetpack"),href:C?new URL("admin.php?page=jetpack_about",j).href:(0,p.Z)("jetpack-about"),target:C?"_self":"_blank",onClick:s},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-my-jetpack"),title:__("Automattic's Privacy Policy","jetpack-my-jetpack"),href:C?new URL("admin.php?page=jetpack#/privacy",j).href:(0,p.Z)("a8c-privacy"),target:C?"_self":"_blank",onClick:i},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-my-jetpack"),title:__("WordPress.com Terms of Service","jetpack-my-jetpack"),href:(0,p.Z)("wpcom-tos"),target:"_blank",onClick:o}];n&&(N=[...N,...n]);const R=m().createElement(m().Fragment,null,m().createElement(k,null),e);return m().createElement("footer",c()({className:u()("jp-dashboard-footer",{"is-sm":d,"is-md":f,"is-lg":y},t),"aria-label":__("Jetpack","jetpack-my-jetpack")},l),m().createElement("ul",null,m().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?m().createElement("a",{href:a},R):R),N.map((e=>{const t="button"===e.role,a=!t&&"_blank"===e.target;return m().createElement("li",{key:e.label},m().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:u()("jp-dashboard-footer__menu-item",{"is-external":a}),role:e.role,rel:a?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,a&&m().createElement(E,null)))})),m().createElement("li",{className:"jp-dashboard-footer__a8c-item"},m().createElement("a",{href:C?new URL("admin.php?page=jetpack_about",j).href:(0,p.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},m().createElement(v.Z,{"aria-hidden":"true"})))))}},8868:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(2674),c=a.n(n),r=a(5736),s=a(5235),i=a.n(s),o=a(9196),l=a.n(o);const __=r.__,u=({logoColor:e="#069e08",showText:t=!0,className:a,height:n=32,...r})=>{const s=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",c()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:i()("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:n},r,{role:"img"}),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),l().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&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},3846:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5235),c=a.n(n),r=a(9196),s=a(3080);const i=Number(s.Z.smCols),o=Number(s.Z.mdCols),l=Number(s.Z.lgCols),u=e=>{const{children:t,tagName:a="div",className:n}=e,u=Math.min(i,"number"==typeof e.sm?e.sm:i),d=Math.min(i,"object"==typeof e.sm?e.sm.start:0),m=Math.min(i,"object"==typeof e.sm?e.sm.end:0),p=Math.min(o,"number"==typeof e.md?e.md:o),h=Math.min(o,"object"==typeof e.md?e.md.start:0),g=Math.min(o,"object"==typeof e.md?e.md.end:0),v=Math.min(l,"number"==typeof e.lg?e.lg:l),f=Math.min(l,"object"==typeof e.lg?e.lg.start:0),w=Math.min(l,"object"==typeof e.lg?e.lg.end:0),k=c()(n,{[s.Z[`col-sm-${u}`]]:!(d&&m),[s.Z[`col-sm-${d}-start`]]:d>0,[s.Z[`col-sm-${m}-end`]]:m>0,[s.Z[`col-md-${p}`]]:!(h&&g),[s.Z[`col-md-${h}-start`]]:h>0,[s.Z[`col-md-${g}-end`]]:g>0,[s.Z[`col-lg-${v}`]]:!(f&&w),[s.Z[`col-lg-${f}-start`]]:f>0,[s.Z[`col-lg-${w}-end`]]:w>0});return(0,r.createElement)(a,{className:k},t)}},3363:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5235),c=a.n(n),r=a(9196),s=a(8730);const i=({children:e,fluid:t=!1,tagName:a="div",className:n,horizontalGap:i=1,horizontalSpacing:o=1})=>{const l=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${o} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${i} )`}}),[i,o]),u=c()(n,s.Z.container,{[s.Z.fluid]:t});return(0,r.createElement)(a,{className:u,style:l},e)}},2054:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(4333),c=a(3247);const r=["sm","md","lg"],s=(e,t)=>{const a=Array.isArray(e)?e:[e],s=Array.isArray(t)?t:[t],[i,o,l]=r,u={sm:(0,n.useMediaQuery)(c.Z[i]),md:(0,n.useMediaQuery)(c.Z[o]),lg:(0,n.useMediaQuery)(c.Z[l])};return a.map(((e,t)=>{const a=s[t];return a?((e,t,a)=>{const n=r.indexOf(e),c=n+1,s=t.includes("=");let i=[];return t.startsWith("<")&&(i=r.slice(0,s?c:n)),t.startsWith(">")&&(i=r.slice(s?n:c)),i?.length?i.some((e=>a[e])):a[e]})(e,a,u):u[e]}))}},2636:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5235),c=a.n(n),r=a(9196),s=a.n(r),i=a(7946);const o=({children:e=null,width:t=null,height:a=null,className:n=""})=>s().createElement("div",{className:c()(i.Z.placeholder,n),style:{width:t,height:a}},e)},1342:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(797),c=a(496),r=a(9201),s=a(1074),i=a(9517),o=a(5235),l=a.n(o),u=a(9196),d=a.n(u),m=a(7703);const p=e=>{switch(e){case"error":case"warning":default:return n.Z;case"info":return c.Z;case"success":return r.Z}},h=({level:e="info",title:t,children:a,actions:n,hideCloseButton:c=!1,onClose:r})=>{const o=l()(m.Z.container,m.Z[`is-${e}`]);return d().createElement("div",{className:o},d().createElement("div",{className:m.Z["icon-wrapper"]},d().createElement(s.Z,{icon:p(e),className:m.Z.icon})),d().createElement("div",{className:m.Z["main-content"]},t&&d().createElement("div",{className:m.Z.title},t),a,n&&n.length>0&&d().createElement("div",{className:m.Z["action-bar"]},n.map(((e,t)=>d().createElement("div",{key:t,className:m.Z.action},e))))),!c&&d().createElement("button",{"aria-label":"close",className:m.Z["close-button"],onClick:r},d().createElement(s.Z,{icon:i.Z})))}},2947:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(8709);const c=(e,t={})=>{const a=(0,n.X)();return new Intl.NumberFormat(a,t).format(e)}},9608:(e,t,a)=>{"use strict";a.d(t,{NE:()=>y,ZP:()=>_,kF:()=>E,oK:()=>b});var n=a(5736),c=a(1074),r=a(9201),s=a(6163),i=a(5235),o=a.n(i),l=a(9196),u=a.n(l),d=a(9665),m=a(2054),p=a(7325),h=a(5106),g=a(9929);const __=n.__,v=__("Included","jetpack-my-jetpack"),f=__("Not included","jetpack-my-jetpack"),w=__("Coming soon","jetpack-my-jetpack"),k=(0,l.createContext)(void 0),E=({isIncluded:e=!1,isComingSoon:t=!1,index:a=0,label:i=null,tooltipInfo:p,tooltipTitle:E,tooltipClassName:y=""})=>{const[b]=(0,m.Z)("lg"),_=(0,l.useContext)(k)[a],j=t||e,C=_.name,N=_.tooltipInfo,R=_.tooltipTitle,Z=p||!b&&N,x=((e,t,a)=>e?{lg:w, // translators: Name of the current feature default:(0,n.sprintf)(__("%s coming soon","jetpack-my-jetpack"),a)}:{lg:t?v:f,default:t?a:(0,n.sprintf)(/* translators: Name of the current feature */ __("%s not included","jetpack-my-jetpack"),a)})(t,e,C),z=b?x.lg:x.default;return u().createElement("div",{className:o()(g.Z.item,g.Z.value)},u().createElement(c.Z,{className:o()(g.Z.icon,j?g.Z["icon-check"]:g.Z["icon-cross"]),size:32,icon:j?r.Z:s.Z}),u().createElement(h.ZP,{variant:"body-small"},i||z),Z&&u().createElement(d.Z,{title:E||R,iconClassName:g.Z["popover-icon"],className:o()(g.Z.popover,y),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(E&&p)},u().createElement(h.ZP,{variant:"body-small",component:"div"},p||N)))},y=({children:e})=>u().createElement("div",{className:g.Z.header},e),b=({primary:e=!1,children:t})=>{let a=0;return u().createElement("div",{className:o()(g.Z.card,{[g.Z["is-primary"]]:e})},l.Children.map(t,(e=>{const t=e;return t.type===E?(a++,(0,l.cloneElement)(t,{index:a-1})):t})))},_=({title:e,items:t,children:a,showIntroOfferDisclaimer:n=!1})=>{const[c]=(0,m.Z)("lg");return u().createElement(k.Provider,{value:t},u().createElement("div",{className:o()(g.Z.container,{[g.Z["is-viewport-large"]]:c}),style:{"--rows":t.length+1,"--columns":l.Children.toArray(a).length+1}},u().createElement("div",{className:g.Z.table},u().createElement(h.ZP,{variant:"headline-small"},e),c&&t.map(((e,a)=>u().createElement("div",{className:o()(g.Z.item,{[g.Z["last-feature"]]:a===t.length-1}),key:a},u().createElement(h.ZP,{variant:"body-small"},u().createElement("strong",null,e.name)),e.tooltipInfo&&u().createElement(d.Z,{title:e.tooltipTitle,iconClassName:g.Z["popover-icon"],className:g.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},u().createElement(h.ZP,{variant:"body-small"},e.tooltipInfo))))),a)),u().createElement("div",{className:g.Z["tos-container"]},u().createElement("div",{className:g.Z.tos},n&&u().createElement(h.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-my-jetpack")),u().createElement(p.Z,{multipleButtons:!0}))))}},5347:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5736),c=a(5235),r=a.n(c),s=a(5106),i=a(3789),o=a(9184);const __=n.__,l=({price:e,offPrice:t,currency:a="",showNotOffPrice:n=!0,hideDiscountLabel:c=!0,promoLabel:l="",legend:u=__("/month, paid yearly","jetpack-my-jetpack"),isNotConvenientPrice:d=!1,hidePriceFraction:m=!1,children:p})=>{if(null==e&&null==t||!a)return null;n=n&&null!=t;const h="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,g=!c&&h&&h>0?h+__("% off","jetpack-my-jetpack"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:o.Z.container},React.createElement("div",{className:r()(o.Z["price-container"],"product-price_container")},React.createElement(i.t,{value:t??e,currency:a,isOff:!d,hidePriceFraction:m}),n&&React.createElement(i.t,{value:e,currency:a,isOff:!1,hidePriceFraction:m}),g&&React.createElement(s.ZP,{className:r()(o.Z["promo-label"],"product-price_promo_label")},g))),React.createElement("div",{className:o.Z.footer},p||React.createElement(s.ZP,{className:r()(o.Z.legend,"product-price_legend")},u),l&&React.createElement(s.ZP,{className:r()(o.Z["promo-label"],"product-price_promo_label")},l)))}},3789:(e,t,a)=>{"use strict";a.d(t,{t:()=>o});var n=a(8899),c=a(5235),r=a.n(c),s=a(5106),i=a(9184);const o=({value:e,currency:t,isOff:a,hidePriceFraction:c})=>{const o=r()(i.Z.price,"product-price_price",{[i.Z["is-not-off-price"]]:!a}),{symbol:l,integer:u,fraction:d}=(0,n.LR)(e,t),m=!c||!d.endsWith("00");return React.createElement(s.ZP,{className:o,variant:"headline-medium",component:"p"},React.createElement(s.ZP,{className:i.Z.symbol,component:"sup",variant:"title-medium"},l),u,m&&React.createElement(s.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},5033:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r);a(1683);const i=({color:e="#FFFFFF",className:t="",size:a=20})=>{const n=t+" jp-components-spinner",c={width:a,height:a,fontSize:a,borderTopColor:e},r={borderTopColor:e,borderRightColor:e};return s().createElement("div",{className:n},s().createElement("div",{className:"jp-components-spinner__outer",style:c},s().createElement("div",{className:"jp-components-spinner__inner",style:r})))};i.propTypes={color:c().string,className:c().string,size:c().number};const o=i},7325:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(9307),c=a(5736),r=a(5235),s=a.n(r),i=a(6895),o=a(5106);a(7920);const __=c.__,l=()=>(0,n.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-my-jetpack"),{tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({agreeButtonLabel:e})=>(0,n.createInterpolateElement)((0,c.sprintf)(/* translators: %s is a button label */ __("By clicking the %s button, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-my-jetpack"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,i.Z)(e),rel:"noopener noreferrer",target:"_blank"},t),m=({className:e,multipleButtons:t,agreeButtonLabel:a})=>React.createElement(o.ZP,{className:s()(e,"terms-of-service")},t?React.createElement(l,null):React.createElement(u,{agreeButtonLabel:a}))},6017:(e,t,a)=>{"use strict";a.d(t,{h:()=>n,s:()=>c});const n={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},c=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,a)=>{"use strict";a.d(t,{Dx:()=>h,H3:()=>p,ZP:()=>m});var n=a(2674),c=a.n(n),r=a(5235),s=a.n(r),i=a(9196),o=a.n(i),l=a(6017),u=a(3280);const d=(0,i.forwardRef)((({variant:e="body",children:t,component:a,className:n,...r},d)=>{const m=a||l.h[e]||"span",p=(0,i.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==r[t]&&(e+=u.Z[`${t}-${r[t]}`]+" ",delete r[t]),e)),"")),[r]);return r.ref=d,o().createElement(m,c()({className:s()(u.Z.reset,u.Z[e],n,p)},r),t)}));d.displayName="Text";const m=d,p=({children:e,weight:t="bold",...a})=>{const n="headline-small"+("bold"===t?"":`-${t}`);return o().createElement(d,c()({variant:n,mb:3},a),e)},h=({children:e,size:t="medium",...a})=>o().createElement(d,c()({variant:`title-${t}`,mb:1},a),e)},8275:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>m});var n=a(9196),c=a.n(n),r=a(3591);const s={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},o={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},u={},d=(e,t,a)=>{const n={...s,...i,...o,...l};for(const t in n)e.style.setProperty(t,n[t]);a&&e.classList.add(r.Z.global),t&&(u[t]={provided:!0,root:e})},m=({children:e=null,targetDom:t,id:a,withGlobalStyles:r=!0})=>{const s=(0,n.useRef)(),i=u?.[a]?.provided;return(0,n.useLayoutEffect)((()=>{if(!i)return t?d(t,a,r):void(s?.current&&d(s.current,a,r))}),[t,s,i,a,r]),t?c().createElement(c().Fragment,null,e):c().createElement("div",{ref:s},e)}},4706:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(526),c=a(5609),r=a(9307),s=a(9196),i=a.n(s);a(2541);const o=e=>{const{icon:t,title:a,description:s,primaryCtaLabel:o,primaryCtaURL:l,primaryCtaIsExternalLink:u,primaryCtaOnClick:d,secondaryCtaLabel:m,secondaryCtaURL:p,secondaryCtaIsExternalLink:h,secondaryCtaOnClick:g}=e;return i().createElement(c.Card,{isRounded:!0,size:"large"},i().createElement(c.CardBody,{className:"upsell-banner",size:"large"},t&&i().createElement("div",{className:"upsell-banner--icon"},i().createElement("img",{src:t,alt:""})),i().createElement("div",{className:"upsell-banner--content"},i().createElement("div",{className:"upsell-banner--content-info"},i().createElement("h3",null,a),i().createElement("p",null,(0,r.createInterpolateElement)(s,{br:i().createElement("br",null)}))),i().createElement("div",{className:"upsell-banner--content-cta"},m&&p&&i().createElement(n.Z,{className:"upsell-banner--content-cta-button secondary",href:p,onClick:g??void 0,isExternalLink:h},m),o&&l&&i().createElement(n.Z,{className:"upsell-banner--content-cta-button primary",href:l,onClick:d??void 0,isExternalLink:u},o)))))}},5905:(e,t,a)=>{"use strict";a.d(t,{O:()=>n});const n="d729d42c-b547-4750-a6f6-8b30534a5f12"},4164:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(5905);const r=({jwt_token:e})=>{const t=(0,n.useCallback)((()=>{"undefined"!=typeof window&&"function"==typeof window.zE&&window.zE("messenger","loginUser",(function(t){t(e)}))}),[e]);return(0,n.useEffect)((()=>{const e=document.createElement("script"),a=document.getElementById("zendesk-chat-container");e.src="https://static.zdassets.com/ekr/snippet.js?key="+encodeURIComponent(c.O),e.type="text/javascript",e.id="ze-snippet",e.onload=()=>{t()},a&&a.appendChild(e)}),[t]),React.createElement("div",{"data-testid":"zendesk-chat-container",id:"zendesk-chat-container"})}},8709:(e,t,a)=>{"use strict";a.d(t,{X:()=>c});var n=a(9771);const c=()=>{const{l10n:{locale:e}}=(0,n.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},2497:(e,t,a)=>{"use strict";function n(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}a.d(t,{Z:()=>n})},6895:(e,t,a)=>{"use strict";function n(e,t={}){const a={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,a.url=encodeURIComponent(e)}else a.source=encodeURIComponent(e);for(const e in t)a[e]=encodeURIComponent(t[e]);!Object.keys(a).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(a.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(a.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(a).map((e=>e+"="+a[e])).join("&")}a.d(t,{Z:()=>n})},1132:(e,t,a)=>{let n={};try{n=a(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const c=e=>n.hasOwnProperty(e);e.exports={jetpackConfigHas:c,jetpackConfigGet:e=>{if(!c(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 n[e]}}},6183:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(9196),r=a.n(c),s=a(1294),i=a(7851);const __=n.__,o=({title:e,buttonLabel:t,loadingLabel:a,apiRoot:n,apiNonce:c,registrationNonce:o,from:l,redirectUri:u,images:d,children:m,assetBaseUrl:p,autoTrigger:h,footer:g,skipUserConnection:v,logo:f})=>{const{handleRegisterSite:w,siteIsRegistering:k,userIsConnecting:E,registrationError:y,isOfflineMode:b}=(0,s.Z)({registrationNonce:o,redirectUri:u,apiRoot:n,apiNonce:c,autoTrigger:h,from:l,skipUserConnection:v}),_=Boolean(y),j=k||E,C=y?.response?.code;return r().createElement(i.Z,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-my-jetpack"),images:d||[],assetBaseUrl:p,buttonLabel:t||__("Set up Jetpack","jetpack-my-jetpack"),loadingLabel:a,handleButtonClick:w,displayButtonError:_,errorCode:C,buttonIsLoading:j,footer:g,isOfflineMode:b,logo:f},m)}},7851:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7325),c=a(7121),r=a(6895),s=a(9307),i=a(5736),o=a(9196),l=a.n(o),u=a(16);a(1510);const __=i.__,d=(e,t)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-my-jetpack")}if(t)return(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,r.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},m=({title:e,images:t,children:a,assetBaseUrl:r,isLoading:s,buttonLabel:i,handleButtonClick:o,displayButtonError:m,errorCode:p,buttonIsLoading:h,loadingLabel:g,footer:v,isOfflineMode:f,logo:w})=>l().createElement(u.Z,{title:e,assetBaseUrl:r,images:t,className:"jp-connection__connect-screen"+(s?" jp-connection__connect-screen__loading":""),logo:w},l().createElement("div",{className:"jp-connection__connect-screen__content"},a,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(n.Z,{agreeButtonLabel:i})),l().createElement(c.Z,{label:i,onClick:o,displayError:m||f,errorMessage:d(p,f),isLoading:h,isDisabled:f}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},h?g||__("Loading","jetpack-my-jetpack"):""),v&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},v)))},7593:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a.n(n);const r=({images:e,assetBaseUrl:t=""})=>{if(!e?.length)return null;const a=e.map(((e,a)=>c().createElement(c().Fragment,{key:a},c().createElement("img",{src:t+e,alt:""}))));return c().createElement("div",{className:"jp-connection__connect-screen__image-slider"},a)}},16:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(8868),c=a(5235),r=a.n(c),s=a(9196),i=a.n(s),o=a(7593);a(9610);const l=({title:e,children:t,className:a,assetBaseUrl:c,images:s,logo:l,rna:u=!1})=>{const d=s?.length;return i().createElement("div",{className:r()("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",a?" "+a:"")},u&&i().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},i().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),i().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),i().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),i().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||i().createElement(n.Z,null),i().createElement("h2",null,e),t),d?i().createElement("div",{className:"jp-connection__connect-screen-layout__right"},i().createElement(o.Z,{images:s,assetBaseUrl:c})):null)}},7879:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5736),c=a(5844),r=a.n(c),s=a(9196),i=a.n(s),o=a(4322);const __=n.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:a}=e,n=(0,s.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>a!==e.slug))}return[]}),[t,a]);return t&&n.length>0?i().createElement(i().Fragment,null,i().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},i().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-my-jetpack"))),i().createElement("div",{className:"jp-connection__disconnect-card__group"},n.map((e=>i().createElement(o.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:r().array,disconnectingPlugin:r().string};const u=l},4322:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r);a(4220);const i=e=>{const{title:t,value:a,description:n}=e;return s().createElement("div",{className:"jp-connection__disconnect-card card"},s().createElement("div",{className:"jp-connection__disconnect-card__card-content"},s().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(a||n)&&s().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},s().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},a),s().createElement("div",{className:"jp-connection__disconnect-card__card-description"},n))))};i.propTypes={title:c().string,value:c().oneOfType([c().string,c().number]),description:c().string};const o=i},6168:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(6975),c=a(4743),r=a(1132),s=a(5609),i=a(5736),o=a(5844),l=a.n(o),u=a(9196),d=a.n(u),m=(a(287),a(9015)),p=a(5995),h=a(1702),g=a(1166);const __=i.__,v=e=>{const[t,a]=(0,u.useState)(!1),[i,o]=(0,u.useState)(!1),[l,v]=(0,u.useState)(!1),[f,w]=(0,u.useState)(!1),[k,E]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1),{apiRoot:_,apiNonce:j,connectedPlugins:C,title:N=__("Are you sure you want to disconnect?","jetpack-my-jetpack"),pluginScreenDisconnectCallback:R,onDisconnected:Z,onError:x,disconnectStepComponent:z,context:S="jetpack-dashboard",connectedUser:M={},connectedSiteId:L,isOpen:P,onClose:A}=e;let V="";(0,r.jetpackConfigHas)("consumer_slug")&&(V=(0,r.jetpackConfigGet)("consumer_slug"));const H=(0,u.useMemo)((()=>({context:S,plugin:V})),[S,V]);(0,u.useEffect)((()=>{c.ZP.setApiRoot(_),c.ZP.setApiNonce(j)}),[_,j]),(0,u.useEffect)((()=>{M&&M.ID&&M.login&&n.Z.initialize(M.ID,M.login)}),[M,M.ID,M.login]),(0,u.useEffect)((()=>{P&&n.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",H)}),[P,H]),(0,u.useEffect)((()=>{P&&(i?!i||f||k?f&&!k?n.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},H)):k&&n.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},H)):n.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},H)):n.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},H)))}),[P,i,f,k,H]);const O=(0,u.useCallback)((()=>{c.ZP.disconnectSite().then((()=>{a(!1),o(!0)})).catch((e=>{a(!1),v(e),x&&x(e)}))}),[a,o,v,x]),I=(0,u.useCallback)(((e,t)=>{b(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);n.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),b(!1)})).catch((e=>{n.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),b(!1)}))}),[b,E]),B=(0,u.useCallback)((e=>{e&&e.preventDefault(),v(!1),a(!0),"plugins"!==S?O():R&&R(e)}),[v,a,R,S,O]),T=(0,u.useCallback)((e=>n.Z.tracks.recordEvent(e,H)),[H]),U=(0,u.useCallback)((()=>!(!M.ID||!L)),[M,L]),F=(0,u.useCallback)(((e,t,a)=>{if(a&&a.preventDefault(),!U())return void E(!0);const n={site_id:L,user_id:M.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},c=Object.assign({},H,{disconnect_reason:e});I(n,c)}),[I,E,U,L,M,H]),D=(0,u.useCallback)((e=>{e&&e.preventDefault(),Z&&Z(),A()}),[Z,A]),q=(0,u.useCallback)((e=>{e&&e.preventDefault(),w(!0)}),[w]);return d().createElement(d().Fragment,null,P&&d().createElement(s.Modal,{title:"",contentLabel:N,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:A,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(i?" jp-connection__disconnect-dialog__success":"")},i?!i||f||k?f&&!k?d().createElement(h.Z,{isSubmittingFeedback:y,onFeedBackProvided:F,onExit:D}):k?d().createElement(g.Z,{onExit:D}):void 0:d().createElement(p.Z,{canProvideFeedback:U(),onProvideFeedback:q,onExit:D}):d().createElement(m.Z,{title:N,connectedPlugins:C,disconnectStepComponent:z,isDisconnecting:t,closeModal:A,onDisconnect:B,disconnectError:l,context:S,disconnectingPlugin:V,trackModalClick:T})))};v.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func};const f=v},5995:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(9026),c=a(5609),r=a(9307),s=a(5736),i=a(5844),o=a.n(i),l=a(9196),u=a.n(l),d=a(2042);const __=s.__,m=e=>{const{onExit:t,canProvideFeedback:a,onProvideFeedback:s}=e;return u().createElement("div",{className:"jp-connection__disconnect-dialog__content"},u().createElement(n.Z,{icon:"unlink",imageUrl:d}),u().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},u().createElement("h1",null,(0,r.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-my-jetpack"),{br:u().createElement("br",null)})),a&&u().createElement(u().Fragment,null,u().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-my-jetpack")),u().createElement("p",null,u().createElement(c.Button,{variant:"primary",onClick:s,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),u().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!a&&u().createElement(u().Fragment,null,u().createElement("p",null,u().createElement(c.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};m.propTypes={onExit:o().func,onProvideFeedback:o().func,canProvideFeedback:o().bool};const p=m},9015:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(6895),c=a(5609),r=a(9307),s=a(5736),i=a(5844),o=a.n(i),l=a(9196),u=a.n(l),d=a(7879);const __=s.__,m=e=>{const{title:t,isDisconnecting:a,onDisconnect:s,disconnectError:i,disconnectStepComponent:o,connectedPlugins:m,disconnectingPlugin:p,closeModal:h,context:g,trackModalClick:v}=e,f=(0,l.useCallback)((()=>v("jetpack_disconnect_dialog_click_learn_about")),[v]),w=(0,l.useCallback)((()=>v("jetpack_disconnect_dialog_click_support")),[v]),k=(0,l.useCallback)((()=>{v("jetpack_disconnect_dialog_click_stay_connected"),h()}),[v,h]),E=(0,l.useCallback)((e=>{v("jetpack_disconnect_dialog_click_disconnect"),s(e)}),[v,s]),y=(0,l.useCallback)((e=>{"Escape"!==e.key||a||k()}),[k,a]);(0,l.useEffect)((()=>(document.addEventListener("keydown",y,!1),()=>{document.removeEventListener("keydown",y,!1)})),[]);return u().createElement(u().Fragment,null,u().createElement("div",{className:"jp-connection__disconnect-dialog__content"},u().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),u().createElement(d.Z,{connectedPlugins:m,disconnectingPlugin:p}),o,(()=>{if(!(m&&Object.keys(m).filter((e=>e!==p)).length)&&!o)return u().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},u().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-my-jetpack"),u().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),u().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},u().createElement("div",{className:"jp-row"},u().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},u().createElement("p",null,(0,r.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-my-jetpack"),{strong:u().createElement("strong",null),jpConnectionInfoLink:u().createElement(c.ExternalLink,{href:(0,n.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:f}),jpSupportLink:u().createElement(c.ExternalLink,{href:(0,n.Z)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:w})}))),u().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},u().createElement(c.Button,{variant:"primary",disabled:a,onClick:k,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===g?__("Cancel","jetpack-my-jetpack"):__("Stay connected","jetpack-my-jetpack",0)),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return a?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===g&&(e=__("Deactivate","jetpack-my-jetpack")),u().createElement(c.Button,{variant:"primary",disabled:a,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),i&&u().createElement("p",{className:"jp-connection__disconnect-dialog__error"},i)))};m.propTypes={title:o().string,isDisconnecting:o().bool,onDisconnect:o().func,disconnectError:o().bool,disconnectStepComponent:o().element,connectedPlugins:o().array,disconnectingPlugin:o().string,closeModal:o().func,context:o().string,trackModalClick:o().func};const p=m},1702:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5736),c=a(5844),r=a.n(c),s=a(9196),i=a.n(s),o=(a(9823),a(6336));const __=n.__,l=e=>{const{onExit:t,onFeedBackProvided:a,isSubmittingFeedback:n}=e;return i().createElement("div",{className:"jp-connection__disconnect-dialog__content"},i().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-my-jetpack")),i().createElement(o.Z,{onSubmit:a,isSubmittingFeedback:n}),i().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-my-jetpack")))};l.PropTypes={onExit:r().func,onFeedBackProvided:r().func,isSubmittingFeedback:r().bool};const u=l},1166:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(9026),c=a(5609),r=a(9307),s=a(5736),i=a(5844),o=a.n(i),l=a(9196),u=a.n(l),d=a(724);const __=s.__,m=e=>{const{onExit:t}=e;return u().createElement("div",{className:"jp-connection__disconnect-dialog__content"},u().createElement(n.Z,{format:"vertical",imageUrl:d}),u().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},u().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),u().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,r.createInterpolateElement)(__("Your answer has been submitted.
Thanks for your input on how we can improve Jetpack.","jetpack-my-jetpack"),{br:u().createElement("br",null)})),u().createElement(c.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};m.PropTypes={onExit:o().func,assetBaseUrl:o().string};const p=m},6336:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5609),c=a(5736),r=a(5844),s=a.n(r),i=a(9196),o=a.n(i),l=a(4372);const __=c.__,u=e=>{const{onSubmit:t,isSubmittingFeedback:a}=e,[c,r]=(0,i.useState)(),[s,u]=(0,i.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-my-jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-my-jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-my-jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack-my-jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-my-jetpack")}],m="another-reason",p=(0,i.useCallback)((()=>{t(c,c===m?s:"")}),[t,m,s,c]),h=(0,i.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),u(t)}),[u]),g=e=>e===c?"jp-connect__disconnect-survey-card--selected":"",v=(0,i.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":r(e)}}),[r]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>o().createElement(l.Z,{id:e.id,onClick:r,onKeyDown:v,className:"card jp-connect__disconnect-survey-card "+g(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(l.Z,{id:m,key:m,onClick:r,onKeyDown:v,className:"card jp-connect__disconnect-survey-card "+g(m)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",o().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:s,onChange:h,maxLength:1e3})))),o().createElement("p",null,o().createElement(n.Button,{disabled:!c||a,variant:"primary",onClick:p,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},a?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};u.PropTypes={onSubmit:s().func,isSubmittingFeedback:s().bool};const d=u},4372:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a.n(n);a(9823);const r=e=>{const{id:t,onClick:a,onKeyDown:r,children:s,className:i}=e,o=(0,n.useCallback)((()=>{a(t)}),[t,a]),l=(0,n.useCallback)((e=>{r(t,e)}),[t,r]);return c().createElement("div",{tabIndex:"0",role:"button",onClick:o,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+i},s)}},8137:(e,t,a)=>{"use strict";a.d(t,{Z:()=>b});var n=a(5106),c=a(6895),r=a(526),s=a(5609),i=a(9307),o=a(5736),l=a(1074),u=a(6936),d=a(5381),m=a(5235),p=a.n(m),h=a(5844),g=a.n(h),v=a(9196),f=a.n(v),w=a(6168);a(7664);const __=o.__,k=e=>{const{title:t=__("Manage your Jetpack connection","jetpack-my-jetpack"),apiRoot:a,apiNonce:r,connectedPlugins:i,onDisconnected:o,context:l="jetpack-dashboard",connectedUser:u={},connectedSiteId:d,isOpen:m=!1,onClose:p}=e,[h,g]=(0,v.useState)(!1),k=(0,v.useCallback)((e=>{e&&e.preventDefault(),g(!0)}),[g]),b=(0,v.useCallback)((e=>{e&&e.preventDefault(),g(!1)}),[g]);return f().createElement(f().Fragment,null,m&&f().createElement(f().Fragment,null,f().createElement(s.Modal,{title:"",contentLabel:t,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},f().createElement("div",{className:"jp-connection__manage-dialog__content"},f().createElement("h1",{id:"jp-connection__manage-dialog__heading"},t),f().createElement(n.ZP,{className:"jp-connection__manage-dialog__large-text"},__("At least one user must be connected for your Jetpack products to work properly.","jetpack-my-jetpack")),f().createElement(E,{title:__("Transfer ownership to another admin","jetpack-my-jetpack"),link:(0,c.Z)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),f().createElement(E,{title:__("Disconnect Jetpack","jetpack-my-jetpack"),onClick:k,key:"disconnect",action:"disconnect"})),f().createElement(y,{onClose:p})),f().createElement(w.Z,{apiRoot:a,apiNonce:r,onDisconnected:o,connectedPlugins:i,connectedSiteId:d,connectedUser:u,isOpen:h,onClose:b,context:l})))},E=({title:e,onClick:t=(()=>null),link:a="#",action:n})=>f().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},f().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},f().createElement("a",{href:a,className:p()("jp-connection__manage-dialog__action-card__card-headline",n),onClick:t},e,f().createElement(l.Z,{icon:"disconnect"===n?u.Z:d.Z,className:"jp-connection__manage-dialog__action-card__icon"})))),y=({onClose:e})=>f().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},f().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},f().createElement(n.ZP,null,(0,i.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-my-jetpack"),{strong:f().createElement("strong",null),connectionInfoLink:f().createElement(s.ExternalLink,{href:(0,c.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:f().createElement(s.ExternalLink,{href:(0,c.Z)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),f().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},f().createElement(r.Z,{weight:"regular",variant:"secondary",onClick:e,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-my-jetpack"))));k.propTypes={title:g().string,apiRoot:g().string.isRequired,apiNonce:g().string.isRequired,connectedPlugins:g().oneOfType([g().array,g().object]),onDisconnected:g().func,context:g().string,connectedUser:g().object,connectedSiteId:g().number,isOpen:g().bool,onClose:g().func};const b=k},1294:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(4743),c=a(9818),r=a(9196),s=a(428);const i=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},o=({registrationNonce:e=i.registrationNonce,apiRoot:t=i.apiRoot,apiNonce:a=i.apiNonce,redirectUri:o,autoTrigger:l,from:u,skipUserConnection:d}={})=>{const{registerSite:m,connectUser:p,refreshConnectedPlugins:h}=(0,c.useDispatch)(s.t),g=(0,c.useSelect)((e=>e(s.t).getRegistrationError())),{siteIsRegistering:v,userIsConnecting:f,userConnectionData:w,connectedPlugins:k,connectionErrors:E,isRegistered:y,isUserConnected:b,hasConnectedOwner:_,isOfflineMode:j}=(0,c.useSelect)((e=>({siteIsRegistering:e(s.t).getSiteIsRegistering(),userIsConnecting:e(s.t).getUserIsConnecting(),userConnectionData:e(s.t).getUserConnectionData(),connectedPlugins:e(s.t).getConnectedPlugins(),connectionErrors:e(s.t).getConnectionErrors(),isOfflineMode:e(s.t).getIsOfflineMode(),...e(s.t).getConnectionStatus()}))),C=()=>d?o?(window.location=o,Promise.resolve(o)):Promise.resolve():p({from:u,redirectUri:o}),N=t=>(t&&t.preventDefault(),y?C():m({registrationNonce:e,redirectUri:o,from:u}).then((()=>C())));return(0,r.useEffect)((()=>{n.ZP.setApiRoot(t),n.ZP.setApiNonce(a)}),[t,a]),(0,r.useEffect)((()=>{!l||v||f||N()}),[]),{handleRegisterSite:N,handleConnectUser:C,refreshConnectedPlugins:h,isRegistered:y,isUserConnected:b,siteIsRegistering:v,userIsConnecting:f,registrationError:g,userConnectionData:w,hasConnectedOwner:_,connectedPlugins:k,connectionErrors:E,isOfflineMode:j}}},7711:(e,t,a)=>{"use strict";function n(){switch("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}a.d(t,{Z:()=>n})},3329:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(1294);function c(){const{connectionErrors:e}=(0,n.Z)({}),t=Object.values(e).shift(),a=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(a),connectionErrorMessage:a}}},8258:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(4743),c=a(7711),r=a(9818),s=a(951),i=a.n(s),o=a(9196),l=a(1294),u=a(428);const d=i()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:p,apiNonce:h,siteSuffix:g}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},v="undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function f({productSlug:e,redirectUrl:t,siteSuffix:a=g,adminUrl:s=v,connectAfterCheckout:i=!1,siteProductAvailabilityHandler:f=null,quantity:w=null,from:k,useBlogIdSuffix:E=!1}={}){d("productSlug is %s",e),d("redirectUrl is %s",t),d("siteSuffix is %s",a),d("from is %s",k);const[y,b]=(0,o.useState)(!1),{registerSite:_}=(0,r.useDispatch)(u.t),j=(0,r.useSelect)((e=>e(u.t).getBlogId()),[u.t]);d("blogID is %s",j??"undefined"),E=E&&!!j;const{isUserConnected:C,isRegistered:N,handleConnectUser:R}=(0,l.Z)({redirectUri:t,from:k}),Z=(0,o.useMemo)((()=>{const n=(0,c.Z)(),r=(!N||!C)&&i,o=r?"checkout/jetpack/":`checkout/${E?j.toString():a}/`,l=new URL(`${n}${o}${e}${null!=w?`:-q-${w}`:""}`);return r?(l.searchParams.set("connect_after_checkout",!0),l.searchParams.set("admin_url",s),l.searchParams.set("from_site_slug",a)):l.searchParams.set("site",a),l.searchParams.set("source",k),l.searchParams.set("redirect_to",t),C||l.searchParams.set("unlinked","1"),l}),[N,C,i,a,w,e,k,t,s,E,j]);d("isRegistered is %s",N),d("isUserConnected is %s",C),d("connectAfterCheckout is %s",i),d("checkoutUrl is %s",Z);const x=(e=null)=>Promise.resolve(f&&f()).then((t=>{if(e&&Z.searchParams.set("redirect_to",e),t)return d("handleAfterRegistration: Site has a product associated"),R();d("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",Z),window.location.href=Z}));return(0,o.useEffect)((()=>{n.ZP.setApiRoot(p),n.ZP.setApiNonce(h)}),[]),{run:(e,a=null)=>(e&&e.preventDefault(),b(!0),i?((e=null)=>{e&&Z.searchParams.set("redirect_to",e),d("Redirecting to connectAfterCheckout flow: %s",Z),window.location.href=Z})(a):N?x(a):void _({registrationNonce:m,redirectUri:t}).then((()=>x(a)))),isRegistered:N,hasCheckoutStarted:y}}},1045:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(4743),c=a(9818),r=a(9196),s=a(428);const{apiRoot:i,apiNonce:o}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,r.useState)(!1),[a,l]=(0,r.useState)(null),{disconnectUserSuccess:u,setConnectionErrors:d}=(0,c.useDispatch)(s.t);return(0,r.useEffect)((()=>{n.ZP.setApiRoot(i),n.ZP.setApiNonce(o)}),[]),{restoreConnection:(e=!0)=>(t(!0),l(null),n.ZP.reconnect().then((t=>("in_progress"===t.status?(u(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),t))).catch((e=>{throw l(e),t(!1),e}))),isRestoringConnection:e,restoreConnectionError:a}}},7523:(e,t,a)=>{"use strict";a.d(t,{LI:()=>r,N4:()=>i,Qo:()=>d,T1:()=>l,TS:()=>u,ZP:()=>b,b5:()=>p,i6:()=>c,qJ:()=>h,qV:()=>o,r7:()=>s,wQ:()=>m});var n=a(4743);const c="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",i="SET_USER_IS_CONNECTING",o="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",m="SET_CONNECTED_PLUGINS",p="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:c,connectionStatus:e}),v=e=>({type:s,isRegistering:e}),f=e=>({type:i,isConnecting:e}),w=e=>({type:o,registrationError:e}),k=()=>({type:l}),E=e=>({type:u,authorizationUrl:e}),y=e=>({type:m,connectedPlugins:e});const b={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:v,setUserIsConnecting:f,setRegistrationError:w,clearRegistrationError:k,setAuthorizationUrl:E,registerSite:function*({registrationNonce:e,redirectUri:t,from:a=""}){yield k(),yield v(!0);try{const n=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:a};return yield g({isRegistered:!0}),yield E(n.authorizeUrl),yield v(!1),Promise.resolve(n)}catch(e){return yield w(e),yield v(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:a}={}){yield f(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:a}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:y,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>n.ZP.fetchConnectedPlugins().then((a=>{e(y(a)),t(a)})))),setConnectionErrors:e=>({type:p,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(4743),c=a(9818),r=a(7057);const s={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>n.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:a})=>n.ZP.registerSite(e,t,a),CONNECT_USER:(0,c.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:a,redirectUri:n}={})=>new Promise(((c,s)=>{e(r.Z).getAuthorizationUrl(n).then((e=>{const n=a||(e=>window.location.assign(e)),r=new URL(e);t&&r.searchParams.set("from",encodeURIComponent(t));const s=r.toString();n(s),c(s)})).catch((e=>{s(e)}))}))))}},1479:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9818),c=a(7523);const r=(0,n.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case c.i6:return{...e,...t.connectionStatus};case c.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===c.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===c.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===c.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case c.T1:return!1;case c.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===c.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===c.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===c.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===c.qJ?t.isConnecting:e})},7728:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(9818),c=a(7523),r=a(7057);const s={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const a=Boolean(e.authorizationUrl),c=(0,n.select)(r.Z).hasFinishedResolution("getAuthorizationUrl",t);return a&&!c&&(0,n.dispatch)(r.Z).finishResolution("getAuthorizationUrl",t),a},*fulfill(e){const t=yield c.ZP.fetchAuthorizationUrl(e);yield c.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9818);class c{static store=null;static mayBeInit(e,t){null===c.store&&(c.store=(0,n.createReduxStore)(e,t),(0,n.register)(c.store))}}const r=c},7057:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n="jetpack-connection"},428:(e,t,a)=>{"use strict";a.d(t,{t:()=>l.Z});var n=a(7523),c=a(1432),r=a(1479),s=a(7728),i=a(2725),o=a(3535),l=a(7057);const 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."),o.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:n.ZP,selectors:i.Z,resolvers:s.Z,controls:c.Z,initialState:u||{}})},8728:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(6975),c=a(8868),r=a(5033),s=a(5609),i=a(9307),o=a(5736),l=a(1074),u=a(797),d=a(3059),m=a.n(d),p=a(9196),h=a.n(p);const __=o.__,g=e=>{const{className:t,disabled:a,onChange:n,value:c}=e;return h().createElement(s.TextControl,{className:t,label:__("License key","jetpack-my-jetpack"),value:c,onChange:n,disabled:a})},v=e=>{const{className:t,availableLicenses:a,disabled:n,onChange:c,value:r}=e,[i,l]=(0,p.useState)(""),u=null===a,d=(0,p.useMemo)((()=>u?[{label:__("Fetching available licenses…","jetpack-my-jetpack"),value:""}]:[...a.map((({product:e,license_key:t})=>({label:(0,o.sprintf)(/* translators: placeholder is the product name and license key */ __("%1$s - %2$s","jetpack-my-jetpack"),e,t),value:t}))),{label:__("I want to add a license key manually","jetpack-my-jetpack"),value:""}]),[a,u]);(0,p.useEffect)((()=>{l(d?.length?d[0].value:"")}),[d]);const m=(0,p.useCallback)((e=>{l(e),c(e)}),[c]);return h().createElement(h().Fragment,null,h().createElement(s.SelectControl,{className:t,disabled:n,label:__("Select a license key","jetpack-my-jetpack"),value:i,options:d,onChange:m}),!u&&!i&&h().createElement(s.TextControl,{className:t,label:__("Input a license key","jetpack-my-jetpack"),value:r,onChange:c,disabled:n}))},f=e=>{const{activateLicense:t,availableLicenses:a,fetchingAvailableLicenses:o,isActivating:d,license:m,licenseError:f,onLicenseChange:w}=e,k=null!=f;(0,p.useEffect)((()=>{n.Z.tracks.recordEvent("jetpack_wpa_license_key_activation_view")}),[]);const E=k?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",y=a&&a.length;return h().createElement("div",{className:"jp-license-activation-screen-controls"},h().createElement("div",{className:"jp-license-activation-screen-controls--content"},h().createElement(c.Z,{showText:!1,height:48}),h().createElement("h1",null,__("Add a license key","jetpack-my-jetpack")),h().createElement("p",null,(0,i.createInterpolateElement)(__("Check your email for your license key. You should have received it after making your purchase.","jetpack-my-jetpack"),{strong:h().createElement("strong",null)})),o||y?h().createElement(v,{className:E,disabled:o||d,onChange:w,availableLicenses:o?null:a,value:m}):h().createElement(g,{className:E,disabled:d,onChange:w,value:m}),k&&h().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},h().createElement(l.Z,{icon:u.Z}),h().createElement("span",null,f))),h().createElement("div",null,h().createElement(s.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!m},d?h().createElement(r.Z,null):__("Activate","jetpack-my-jetpack"))))};f.propTypes={activateLicense:m().func.isRequired,availableLicenses:m().array,fetchingAvailableLicenses:m().bool,isActivating:m().bool.isRequired,license:m().string.isRequired,licenseError:m().string,onLicenseChange:m().func.isRequired,siteUrl:m().string.isRequired};const w=f},8781:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(6895),c=a(9307),r=a(5736),s=a(3059),i=a.n(s),o=a(9196),l=a.n(o);const __=r.__,u=e=>{const{imageUrl:t,showSupportLink:a=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),a&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,c.createInterpolateElement)(__("Do you need help? Contact us.","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,n.Z)("jetpack-support-license-activation")})})))};u.propTypes={imageUrl:i().string.isRequired,showSupportLink:i().bool};const d=u},7554:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(8868),c=a(3059),r=a.n(c),s=a(9196),i=a.n(s),o=a(3157),l=a(8288),u=a(4172);const d=e=>{const{productId:t,siteRawUrl:a,siteAdminUrl:c,currentRecommendationsStep:r}=e;return i().createElement("div",{className:"jp-license-activation-screen-success-info"},i().createElement("div",{className:"jp-license-activation-screen-success-info--content"},i().createElement(n.Z,{showText:!1,height:48})),i().createElement(l.Z,{siteRawUrl:a,productId:t}),i().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},i().createElement(o.c,{currentRecommendationsStep:r,siteAdminUrl:c,siteRawUrl:a,productId:t}),i().createElement(u.o,{siteRawUrl:a,productId:t})))};d.propTypes={siteRawUrl:r().string,productId:r().number,siteAdminUrl:r().string,currentRecommendationsStep:r().string};const m=d},3157:(e,t,a)=>{"use strict";a.d(t,{c:()=>p});var n=a(5033),c=a(6895),r=a(5609),s=a(5736),i=a(3059),o=a.n(i),l=a(9196),u=a.n(l),d=a(2180),m=a(9430);const __=s.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:a,siteRawUrl:s,productId:i}=e,[o,l]=(0,d.Z)(),p=e=>o.map((e=>e.name)).includes(e),h=(0,m.F)(i),g=p("Jetpack"),v=p("Jetpack Social"),f="jetpack_social_advanced"===h||"jetpack_social_basic"===h;return l?u().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button"},u().createElement(n.Z,null)):f&&(g||v)?u().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:a+(g?"admin.php?page=jetpack#/recommendations/"+("jetpack_social_advanced"===h?"welcome-social-advanced":"welcome-social-basic"):"admin.php?page=jetpack-social")},__("Configure my site","jetpack-my-jetpack")):"not-started"===t?u().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:a+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack-my-jetpack")):u().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,c.Z)("license-activation-view-my-plans",{site:s})},__("View my plans","jetpack-my-jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},4172:(e,t,a)=>{"use strict";a.d(t,{o:()=>d});var n=a(6895),c=a(5609),r=a(5736),s=a(3059),i=a.n(s),o=a(9196),l=a.n(o),u=a(9430);const __=r.__,d=e=>{const{productId:t,siteRawUrl:a}=e,r={jetpack_backup:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,u.F)(t)];return l().createElement(l().Fragment,null,r&&l().createElement(c.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,n.Z)(r.redirectSource,{site:a})},r.text))};d.propTypes={siteRawUrl:i().string,productId:i().number}},468:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(6975),c=a(4743),r=a(9307),s=a(5736),i=a(3059),o=a.n(i),l=a(9196),u=a.n(l),d=a(8728),m=a(8781),p=a(7554),h=a(9644),g=a(8702),v=a(1160);const __=s.__,f=e=>{const{availableLicenses:t=[],currentRecommendationsStep:a,fetchingAvailableLicenses:s=!1,onActivationSuccess:i=(()=>null),siteAdminUrl:o,siteRawUrl:f,startingLicense:w,displayName:k=""}=e,[E,y]=(0,l.useState)(w??""),[b,_]=(0,l.useState)(null),[j,C]=(0,l.useState)(!1),[N,R]=(0,l.useState)(null);(0,l.useEffect)((()=>{t&&t[0]&&y(t[0].license_key)}),[t]);const Z=(0,l.useCallback)((()=>j?Promise.resolve():E.length<1?(_(__("This is not a valid license key. Please try again.","jetpack-my-jetpack")),Promise.resolve()):(_(null),C(!0),n.Z.tracks.recordJetpackClick({target:"license_activation_button"}),c.ZP.attachLicenses([E]).then((e=>{const t=(e=>{let t=e;for(;Array.isArray(t)&&t.length>0;)t=t[0];if(t?.activatedProductId)return t.activatedProductId;if(t?.errors)for(const e in t.errors)if(t.errors[e].length>0)throw new Error(t.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack-my-jetpack"))})(e);R(t),i(t),n.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{n.Z.tracks.recordEvent("jetpack_wpa_license_activation_error");"invalid_permission_manage_user_licenses"===e.response?.code?_((0,r.createInterpolateElement)(__("You either do not have permissions to perform this action or a user account needs to be connected. Click here to connect your user account or contact your administrator.","jetpack-my-jetpack"),{connectLink:u().createElement("a",{href:"admin.php?page=my-jetpack#/connection?returnTo=add-license"})})):_(e.message)})).finally((()=>{C(!1)})))),[j,E,i]);return null!==N&&E.startsWith("jetpack-golden-token")?u().createElement(h.Z,{tokenRedeemed:!0,displayName:k}):null!==N?u().createElement("div",{className:"jp-license-activation-screen"},u().createElement(p.Z,{siteRawUrl:f,productId:N,siteAdminUrl:o,currentRecommendationsStep:a}),u().createElement(m.Z,{imageUrl:v,showSupportLink:!1})):u().createElement("div",{className:"jp-license-activation-screen"},u().createElement(d.Z,{availableLicenses:t,activateLicense:Z,fetchingAvailableLicenses:s,isActivating:j,license:E,licenseError:b,onLicenseChange:y,siteUrl:f}),u().createElement(m.Z,{imageUrl:g,showSupportLink:!0}))};f.propTypes={availableLicenses:o().array,currentRecommendationsStep:o().string,fetchingAvailableLicenses:o().bool,onActivationSuccess:o().func,siteAdminUrl:o().string.isRequired,siteRawUrl:o().string.isRequired,startingLicense:o().string,displayName:o().string};const w=f},9644:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(3396),c=a(3363),r=a(3846),s=a(8868),i=a(526),o=a(5609),l=a(5736),u=a(5235),d=a.n(u),m=a(3059),p=a.n(m),h=a(9196),g=a.n(h),v=a(1008);const __=l.__,_x=l._x,f=e=>{document.referrer.includes(window.location.host)?(e.preventDefault(),history.back()):(e.preventDefault(),window.location.href=window?.myJetpackInitialState?.myJetpackUrl)};function w({redeemClick:e,displayName:t,onModalClose:a=f,tokenRedeemed:u=!1}){const[m,p]=(0,h.useState)(!1),w=(0,h.useRef)(null);(0,h.useEffect)((()=>{setTimeout((()=>{w?.current?.play()}),500)}),[w]);const k=(0,n.VS)("scan"),E=(0,n.VS)("backup"),y=(0,h.useCallback)((t=>{e?.(t),p(!0),w.current.play()}),[w,e]),b=(0,h.useCallback)((()=>{m&&w.current.play()}),[m]),_=d()(v.Z.modal,{[v.Z.animating]:m});return g().createElement("div",null,g().createElement(o.Modal,{className:_,onRequestClose:a,isDismissible:!1,__experimentalHideHeader:!0},g().createElement(c.Z,{horizontalSpacing:3,horizontalGap:3},g().createElement(r.Z,null,g().createElement(s.Z,{className:v.Z["jetpack-logo"]}),g().createElement("div",{className:v.Z["video-wrap"],onClick:b,role:"presentation"},g().createElement("video",{ref:w,src:"https://videos.files.wordpress.com/oSlNIBQO/jetpack-golden-token.mp4",muted:"muted"})),g().createElement("div",{className:v.Z["content-wrap"]},g().createElement("div",{className:v.Z["content-wrap-text"]},t.length>0&&g().createElement("p",{className:v.Z["hi-user"]},(0,l.sprintf)(/* Translators: %s is the user's display name. */ __("Hey, %s","jetpack-my-jetpack"),t)),g().createElement("h2",{className:v.Z.headline},__("You have been gifted a Jetpack Golden Token.","jetpack-my-jetpack")),g().createElement("p",null,u&&__("This unlocked a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience is already active.","jetpack-my-jetpack"),!u&&__("This unlocks a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience awaits.","jetpack-my-jetpack"))),g().createElement(i.Z,{variant:"primary",weight:"regular",onClick:y,className:v.Z.button},u&&__("Awesome!","jetpack-my-jetpack"),!u&&__("Redeem your token","jetpack-my-jetpack"))),g().createElement("div",{className:`${v.Z["powers-wrap"]} ${v.Z["content-wrap"]}`},g().createElement("div",{className:v.Z["content-wrap-text"]},g().createElement("h2",{className:v.Z.headline},__("Super powers are ready!","jetpack-my-jetpack")),g().createElement("p",{className:v.Z.paragraph},__("Your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack-my-jetpack"))),g().createElement("div",{className:v.Z["jetpack-products"]},g().createElement("div",null,g().createElement(E,null),g().createElement("h3",null,__("VaultPress Backup","jetpack-my-jetpack")),g().createElement("p",null,__("Save every change and get back online quickly with one‑click restores.","jetpack-my-jetpack"))),g().createElement("div",null,g().createElement(k,null),g().createElement("h3",null,_x("Scan","Plugin name (noun).","jetpack-my-jetpack")),g().createElement("p",null,__("Automated scanning and one‑click fixes to keep your site ahead of security threats.","jetpack-my-jetpack")))),g().createElement(i.Z,{variant:"primary",weight:"regular",onClick:y,href:window?.myJetpackInitialState?.myJetpackUrl,className:v.Z.button},__("Explore your new powers","jetpack-my-jetpack")))))))}w.propTypes={redeemClick:p().func,tokenRedeemed:p().bool,displayName:p().string,onModalClose:p().func};const k=w},3281:(e,t,a)=>{"use strict";a.d(t,{H:()=>c.Z,I:()=>n.Z});var n=a(468),c=a(9644)},4311:(e,t,a)=>{"use strict";a(9906),a(838)},838:(e,t,a)=>{"use strict"},9906:(e,t,a)=>{"use strict";a(2674);var n=a(5844),c=a.n(n);a(9196),a(838);c().string.isRequired,c().number,c().func,c().string},1899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(9105),c=a(3363),r=a(3846),s=a(1294),i=a(3281),o=a(9196),l=a.n(o),u=a(5544),d=a(6178),m=a(1838),p=a(4848),h=a(5626);function g(){const{recordEvent:e}=(0,p.Z)(),{data:t=[],isLoading:a}=(0,d.Z)({name:u.nF,queryFn:async e=>(await e.getUserLicenses())?.items}),{userConnectionData:g}=(0,s.Z)(),[v,f]=(0,o.useState)(!1),w=g?.currentUser?.wpcomUser?.display_name||g?.currentUser?.wpcomUser?.login||g?.currentUser?.username,k=(0,o.useCallback)((()=>{e("jetpack_myjetpack_license_activation_back_link_click")}),[e]),E=(0,o.useCallback)((()=>{f(!0)}),[]),y=(0,o.useMemo)((()=>t.filter((({attached_at:e,revoked_at:t})=>null===e&&null===t))),[t]),{siteSuffix:b="",adminUrl:_=""}=(0,m.$9)();return l().createElement(n.Z,{showHeader:!1,showBackground:!1},l().createElement(c.Z,{horizontalSpacing:3,horizontalGap:3},l().createElement(r.Z,null,l().createElement(h.Z,{onClick:k,reload:v})),l().createElement(r.Z,null,l().createElement(i.I,{currentRecommendationsStep:null,availableLicenses:y,fetchingAvailableLicenses:a,onActivationSuccess:E,siteAdminUrl:_,siteRawUrl:b,displayName:w}))))}},1062:(e,t,a)=>{"use strict";a.d(t,{U:()=>d,Z:()=>p});var n=a(5106),c=a(5235),r=a.n(c),s=a(5844),i=a.n(s),o=a(9196),l=a.n(o),u=a(5893);const d=e=>{const{children:t,className:a}=e,n=r()(u.Z.container,a);return l().createElement("div",{className:n},t)},m=e=>{const{title:t,headerRightContent:a,className:c,children:r}=e;return l().createElement(d,{className:c},l().createElement("div",{className:u.Z.title},l().createElement("div",{className:u.Z.name},l().createElement(n.ZP,{variant:"title-medium"},t)),a),r)};m.propTypes={children:i().node,title:i().string.isRequired,className:i().string,headerRightContent:i().node};const p=m},3890:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(1074),c=a(9517),r=a(5235),s=a.n(r),i=a(9196),o=a.n(i),l=a(9997),u=a(6234);const d=({className:e,accessibleName:t})=>o().createElement(l.rU,{to:"/",className:s()(u.Z.link,e),"aria-label":t||null},o().createElement(n.Z,{icon:c.Z,className:u.Z.icon}))},5745:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(5106),c=a(1294),r=a(5844),s=a.n(r),i=a(9196),o=a(8209),l=a(7363),u=a(5595),d=a(4598),m=a(7555),p=a(2728);const h=({admin:e,slug:t,children:a,isDataLoading:r,Description:s=null,additionalActions:h=null,secondaryAction:g=null,upgradeInInterstitial:v=!1,primaryActionOverride:f})=>{const{isRegistered:w,isUserConnected:k}=(0,c.Z)(),{install:E,isPending:y}=(0,u.Z)(t),{activate:b,isPending:_}=(0,l.Z)(t),{detail:j}=(0,d.Z)(t),{name:C,description:N,requiresUserConnection:R,status:Z}=j,x=(0,m.Z)(o.xB.Connection),z=(0,i.useCallback)((()=>{w&&k||!R?b():x()}),[b,w,k,R,x]);return React.createElement(p.ZP,{name:C,Description:s||(()=>{const e=N.replace(/\s(?=[^\s]*$)/," ");return React.createElement(n.ZP,{variant:"body-small",style:{flexGrow:1}},e)}),status:Z,admin:e,isFetching:_||y,isDataLoading:r,isInstallingStandalone:y,additionalActions:h,primaryActionOverride:f,secondaryAction:g,slug:t,onActivate:z,onInstallStandalone:E,onActivateStandalone:E,upgradeInInterstitial:v},a)};h.propTypes={children:s().node,admin:s().bool.isRequired,slug:s().string.isRequired,isDataLoading:s().bool,additionalActions:s().array,primaryActionOverride:s().object,secondaryAction:s().object};const g=h},489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2674),c=a.n(n),r=a(6895),s=a(6183),i=a(5609),o=a(5736),l=a(1074),u=a(5381),d=a(6790),m=a(8578);const __=o.__,p=e=>{const{title:t}=e;return React.createElement(s.Z,c()({buttonLabel:__("Connect your user account","jetpack-my-jetpack"),loadingLabel:__("Connecting your account…","jetpack-my-jetpack"),images:[d],from:"my-jetpack"},e,{title:t||__("Unlock all the amazing features of Jetpack by connecting now","jetpack-my-jetpack")}),React.createElement("ul",{role:"list"},React.createElement("li",null,__("Receive instant downtime alerts","jetpack-my-jetpack")),React.createElement("li",null,__("Automatically share your content on social media","jetpack-my-jetpack")),React.createElement("li",null,__("Let your subscribers know when you post","jetpack-my-jetpack")),React.createElement("li",null,__("Receive notifications about new likes and comments","jetpack-my-jetpack")),React.createElement("li",null,__("Let visitors share your content on social media","jetpack-my-jetpack")),React.createElement("li",null,__("Create better content with powerful AI tools","jetpack-my-jetpack")),React.createElement("li",null,__("And more!","jetpack-my-jetpack")," ",React.createElement("a",{href:(0,r.Z)("jetpack-features"),target:"_blank",className:m.Z["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack-my-jetpack"),React.createElement(l.Z,{icon:u.Z}),React.createElement(i.VisuallyHidden,{as:"span"},/* translators: accessibility text */ __("(opens in a new tab)","jetpack-my-jetpack"))))))}},3256:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(5242),r=a(184),s=a(8578),i=a(4403);const __=n.__,o=()=>React.createElement(React.Fragment,null,React.createElement("div",{className:s.Z["account-description"]},__("You can use your existing account on any of these services:","jetpack-my-jetpack")),React.createElement("ul",{className:s.Z["account-images"],role:"list"},React.createElement("li",null,React.createElement("img",{src:i,className:s.Z.wordpress,alt:"WordPress.com"})),React.createElement("li",null,React.createElement("img",{src:r,className:s.Z.google,alt:"Google"})),React.createElement("li",null,React.createElement("img",{src:c,className:s.Z.apple,alt:"Apple"}))))},6317:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(9105),c=a(3363),r=a(3846),s=a(5736),i=a(5162),o=a(1607),l=a(3890),u=a(489),d=a(3256),m=a(8578);const __=s.__,p=()=>{const e=(0,o.Z)(),{apiRoot:t,apiNonce:a,registrationNonce:s}=(0,i.Z)();return React.createElement(n.Z,{showHeader:!1,showBackground:!1},React.createElement(c.Z,{horizontalSpacing:8,horizontalGap:0},React.createElement(r.Z,{className:m.Z["relative-col"]},React.createElement(l.Z,{className:m.Z["close-link"],accessibleName:__("Go back to previous screen","jetpack-my-jetpack")})),React.createElement(r.Z,null,React.createElement(u.Z,{from:"my-jetpack",redirectUri:e,apiRoot:t,apiNonce:a,registrationNonce:s,footer:React.createElement(d.Z,null)}))))}},247:(e,t,a)=>{"use strict";a.d(t,{Z:()=>R});var n=a(5106),c=a(526),r=a(6895),s=a(1294),i=a(428),o=a(8137),l=a(9818),u=a(5736),d=a(1074),m=a(496),p=a(9201),h=a(5235),g=a.n(h),v=a(5844),f=a.n(v),w=a(9196),k=a.n(w),E=a(4848),y=a(5050),b=a(3815),_=a(9182),j=a(6322);const __=u.__,C=({text:e,actionText:t,onClick:a,status:r})=>k().createElement("div",{className:j.Z["list-item"]},k().createElement(n.ZP,{className:g()(j.Z["list-item-text"],{[j.Z.error]:"error"===r})},k().createElement(d.Z,{icon:"error"===r?m.Z:p.Z,className:g()({[j.Z.info]:"error"===r})}),e),t&&k().createElement(c.Z,{variant:"link",weight:"regular",onClick:a},t)),N=e=>{const{apiRoot:t,apiNonce:a,redirectUri:d=null,title:m=__("Connection","jetpack-my-jetpack"),connectionInfoText:p=__("Jetpack connects your site and user account to the WordPress.com cloud to provide more powerful features.","jetpack-my-jetpack"),onDisconnected:h,connectedPlugins:v,connectedSiteId:f,context:N,onConnectUser:R=null}=e,{isRegistered:Z,isUserConnected:x,userConnectionData:z}=(0,s.Z)({apiRoot:t,apiNonce:a,redirectUri:d}),{recordEvent:S}=(0,E.Z)(),[M,L]=(0,w.useState)(!1),{setConnectionStatus:P,setUserIsConnecting:A}=(0,l.useDispatch)(i.t),V=R||A,H=z.currentUser?.wpcomUser?.avatar,O=(0,w.useMemo)((()=>({isUserConnected:x,isRegistered:Z})),[x,Z]),I=(0,w.useCallback)((e=>t=>{t&&t.preventDefault(),S("jetpack_myjetpack_connection_manage_dialog_click",{...O,connectionType:e}),L(!0)}),[S,L,O]),B=I("user"),T=I("site"),U=(0,w.useCallback)((e=>{e&&e.preventDefault(),L(!1)}),[L]),F=(0,w.useCallback)((e=>{e&&e.preventDefault(),P({isActive:!1,isRegistered:!1,isUserConnected:!1}),h?.()}),[h,P]),D=(0,w.useCallback)((()=>{S("jetpack_myjetpack_connection_learnmore_link_click",O)}),[S,O]),q=(0,w.useCallback)((e=>{e&&e.preventDefault(),S("jetpack_myjetpack_connection_connect_user_click",O),V()}),[V,S,O]);return k().createElement("div",{className:j.Z["connection-status-card"]},k().createElement(n.H3,null,m),k().createElement(n.ZP,{variant:"body",mb:3},`${p} `,k().createElement(c.Z,{href:(0,r.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),variant:"link",weight:"regular",isExternalLink:!0,onClick:D},__("Learn more about connections","jetpack-my-jetpack"))),k().createElement("div",{className:j.Z.status},k().createElement("img",{src:y,alt:"",className:j.Z.cloud}),k().createElement("div",{className:g()(j.Z.line,{[j.Z.disconnected]:!Z||!x})}),k().createElement("div",{className:j.Z["avatar-wrapper"]},k().createElement("img",{src:_,alt:"",className:j.Z.jetpack}),k().createElement("img",{src:x&&H?H:b,alt:"",className:j.Z.avatar}))),k().createElement("div",null,Z?k().createElement(k().Fragment,null,k().createElement(C,{onClick:T,text:__("Site connected.","jetpack-my-jetpack"),actionText:x&&z.currentUser?.isMaster?__("Manage","jetpack-my-jetpack"):null}),x&&k().createElement(C,{onClick:B,actionText:__("Manage","jetpack-my-jetpack"),text:(0,u.sprintf)(/* translators: first placeholder is user name, second is either the (Owner) string or an empty string */ __("Connected as %1$s%2$s.","jetpack-my-jetpack"),z.currentUser?.wpcomUser?.display_name,z.currentUser?.isMaster?__(" (Owner)","jetpack-my-jetpack"):"")}),x&&z?.connectionOwner&&!z.currentUser?.isMaster&&k().createElement(C,{text:(0,u.sprintf)(/* translators: placeholder is the username of the Jetpack connection owner */ __("Also connected: %s (Owner).","jetpack-my-jetpack"),z.connectionOwner)}),!x&&k().createElement(C,{onClick:q,text:__("User account not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})):k().createElement(C,{onClick:q,text:__("Jetpack is not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})),k().createElement(o.Z,{apiRoot:t,apiNonce:a,onDisconnected:F,connectedPlugins:v,connectedSiteId:f,connectedUser:z,isOpen:M,onClose:U,context:N}))};N.propTypes={apiRoot:f().string.isRequired,apiNonce:f().string.isRequired,redirectUri:f().string,connectedPlugins:f().array,connectedSiteId:f().number,title:f().string,connectionInfoText:f().string,onDisconnected:f().func,context:f().string,onConnectUser:f().func,requiresUserConnection:f().bool};const R=N},5784:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(8209),c=a(4598),r=a(1950),s=a(5162),i=a(7555),o=a(247);function l(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:a,connectedPlugins:l}=(0,s.Z)(),u=(0,i.Z)(n.xB.Connection),d=(0,c.B)(),m=(0,r.Z)(d);return React.createElement(o.Z,{apiRoot:e,apiNonce:t,redirectUri:a,onConnectUser:u,connectedPlugins:l,requiresUserConnection:m.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5626:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5736),c=a(1074),r=a(3259),s=a(9196),i=a.n(s),o=a(9997),l=a(197);const __=n.__;const u=function({onClick:e=(()=>{}),reload:t}){const a=t?"/?reload=true":"/";return i().createElement(o.rU,{to:a,className:l.Z.link,onClick:e},i().createElement(c.Z,{icon:r.Z,className:l.Z.icon}),__("Go back","jetpack-my-jetpack"))}},8607:(e,t,a)=>{"use strict";a.d(t,{r:()=>m});var n=a(526),c=a(3396),r=a(5609),s=a(9771),i=a(5736),o=a(5235),l=a.n(o),u=a(9196),d=a(4416);a(1854);const __=i.__;function m({productName:e,giftedDate:t}){const[a,o]=(0,u.useState)(!1),m=(0,u.useCallback)((()=>o(!0)),[o]),p={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,u.useCallback)((()=>o(!1)),[o]),className:d.Z.container},h=l()(d.Z.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(n.Z,{variant:"link",onClick:m},React.createElement(c._1,{className:d.Z.logo})),React.createElement("div",{className:d.Z.helper},a&&React.createElement(r.Popover,p,React.createElement("div",null,React.createElement("div",{className:d.Z.title},e),React.createElement("div",{className:d.Z.content},(0,i.sprintf)( // translators: %1$s is a product name, %2$s is the date the product was gifted. __("%1$s was gifted on %2$s. It gives you access to a lifetime subscription of Jetpack VaultPress Backup and Jetpack Scan.","jetpack-my-jetpack"),e,(0,s.dateI18n)("F j, Y",t)))))))}},4159:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5609),c=a(9196),r=a.n(c),s=a(73);const i=function(){const[e,t]=(0,c.useState)(!0),a=(0,c.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:i,isSafeModeConfirmed:o}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!i||o?null:r().createElement(n.Modal,{onRequestClose:a,overlayClassName:s.Z.modal},r().createElement("div",{id:i,className:s.Z.container}))}},642:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(4706),c=a(6895),r=a(5736),s=a(9196),i=a.n(s),o=a(4848),l=a(4730);const __=r.__,u=e=>{const{isAgencyAccount:t=!1}=e,{recordEvent:a}=(0,o.Z)();(0,s.useEffect)((()=>{a("jetpack_myjetpack_manage_banner_view",{})}),[a]);const r=(0,s.useCallback)((e=>{a("jetpack_myjetpack_manage_banner_click",{target:e,feature:"manage"})}),[a]),u=(0,s.useCallback)((()=>{r("jp-agencies-register-interest")}),[r]);return i().createElement(n.Z,{icon:l,title:__("Manage client sites and grow your business","jetpack-my-jetpack"),description:__("Are you an agency or freelancer? We’re working on a new partnership program bringing together the best of Jetpack, Woo, WordPress.com, and Pressable. Get bulk discounts, referral commissions, and more.","jetpack-my-jetpack"),primaryCtaLabel:__("Register your interest","jetpack-my-jetpack"),primaryCtaURL:(0,c.Z)("jetpack-for-agencies-register-interest"),primaryCtaIsExternalLink:!0,primaryCtaOnClick:u})}},8966:(e,t,a)=>{"use strict";a.d(t,{Z:()=>H});var n=a(2674),c=a.n(n),r=a(2054),s=a(7121),i=a(1342),o=a(9105),l=a(216),u=a(3363),d=a(3846),m=a(5106),p=a(6579),h=a(4164),g=a(5736),v=a(5235),f=a.n(v),w=a(9196),k=a(8437),E=a(5544),y=a(4598),b=a(7108),_=a(1838),j=a(8059),C=a(4848),N=a(8064),R=a(5784),Z=a(4159),x=a(642),z=a(6800),S=a(2307),M=a(5943),L=a(9593),P=a(3851),A=a(1017);const __=g.__,V=({message:e,title:t,options:a})=>{const{recordEvent:n}=(0,C.Z)();(0,w.useEffect)((()=>{n("jetpack_myjetpack_global_notice_view",{noticeId:a.id})}),[a.id,n]);const[o]=(0,r.Z)(["md"],[">"]),l=a.actions?.map((e=>React.createElement(s.Z,c()({customClass:A.Z.cta},e))));return React.createElement("div",{className:f()(A.Z.notice,{[A.Z["bigger-than-medium"]]:o})},React.createElement(i.Z,c()({hideCloseButton:!0},a,{title:t,actions:l}),React.createElement("div",{className:A.Z.message},e)))};function H(){(0,N.Z)();const{redBubbleAlerts:e}=(0,_.$9)(),{showFullJetpackStatsCard:t=!1}=(0,_.$9)("myJetpackFlags"),{jetpackManage:a={},adminUrl:n}=(0,_.$9)(),{isWelcomeBannerVisible:c}=(0,j.Z)(),{currentNotice:r}=(0,w.useContext)(k.T),{message:s,title:i,options:g}=r||{},{data:v,isLoading:H}=(0,b.Z)({name:E.gb,query:{path:E.Hq}}),{detail:O}=(0,y.Z)("stats"),{data:I,isLoading:B}=(0,b.Z)({name:E.kl,query:{path:E.xD}}),T=v?.is_available,U=I?.user?.jwt,F=!B&&!H&&T&&U,D="1"===(0,_.$9)("userIsNewToJetpack"),{recordEvent:q}=(0,C.Z)(),[J,G]=(0,w.useState)(!1);return(0,w.useLayoutEffect)((()=>{q("jetpack_myjetpack_page_view",{red_bubble_alerts:Object.keys(e).join(",")})}),[q,e]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),G(!0)),J?null:React.createElement(o.Z,{siteAdminUrl:n},React.createElement(Z.Z,null),React.createElement(l.Z,null,!D&&React.createElement(u.Z,{horizontalSpacing:0},React.createElement(d.Z,null,React.createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),React.createElement(P.Z,null),React.createElement(u.Z,{horizontalSpacing:5,horizontalGap:s?3:6},React.createElement(d.Z,{sm:4,md:8,lg:12},React.createElement(m.ZP,{variant:"headline-small"},__("Discover all Jetpack Products","jetpack-my-jetpack"))),s&&!c&&React.createElement(d.Z,null,React.createElement(V,{message:s,title:i,options:g})),t&&React.createElement(d.Z,{className:f()({[A.Z.stats]:O?.status!==S.N.ERROR})},React.createElement(L.Z,null)),React.createElement(d.Z,null,React.createElement(M.Z,null)),a.isEnabled&&React.createElement(d.Z,null,React.createElement(x.Z,{isAgencyAccount:a.isAgencyAccount})))),React.createElement(p.Z,null,React.createElement(u.Z,{horizontalSpacing:8},React.createElement(d.Z,{sm:4,md:4,lg:6},React.createElement(z.Z,null)),React.createElement(d.Z,{sm:4,md:4,lg:6},React.createElement(R.Z,null)))),F&&React.createElement(h.Z,{jwt_token:U}))}},6800:(e,t,a)=>{"use strict";a.d(t,{Z:()=>_});var n=a(5106),c=a(526),r=a(5736),s=a(9196),i=a(8209),o=a(5544),l=a(7108),u=a(1838),d=a(4848),m=a(5162),p=a(7555),h=a(6864),g=a(7356),v=a(7111),f=a(8607),w=a(6891);const __=r.__,_n=r._n;function k({purchase:e={}}){const{product_name:t}=e;return React.createElement(React.Fragment,null,React.createElement(n.Dx,null,t),React.createElement(E,e))}function E(e){const{expiry_message:t,product_name:a,subscribed_date:c}=e;return(0,v.h)(e)?React.createElement(n.ZP,{variant:"body",className:w.Z["expire-date"]},React.createElement("span",{className:w.Z["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(f.r,{productName:a,giftedDate:c})):React.createElement(n.ZP,{variant:"body",className:w.Z["expire-date"]},t)}function y({numberOfPurchases:e=0}){return React.createElement(React.Fragment,null,React.createElement(n.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(n.ZP,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function b({numberOfPurchases:e}){const{recordEvent:t}=(0,d.Z)(),{isUserConnected:a}=(0,m.Z)();let n=__("Purchase a plan","jetpack-my-jetpack");e>=1&&(n=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"));const r=(0,s.useCallback)((()=>{t(e?"jetpack_myjetpack_plans_manage_click":"jetpack_myjetpack_plans_purchase_click")}),[e,t]),o=(0,p.Z)(i.xB.Connection),l=(0,s.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||o()}),[o,a,t]);let v=__("Activate a license","jetpack-my-jetpack");a||(v=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:f="",adminUrl:k=""}=(0,u.$9)();return React.createElement("ul",null,React.createElement("li",{className:w.Z["actions-list-item"]},React.createElement(c.Z,{onClick:r,href:e?(0,h.Z)():(0,g.Z)(),weight:"regular",variant:"link",isExternalLink:!0},n)),f&&React.createElement("li",{className:w.Z["actions-list-item"]},React.createElement(c.Z,{onClick:l,href:a?`${k}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},v)))}function _(){const e=!!(0,u.$9)("userIsAdmin"),{data:t,isLoading:a,isError:n}=(0,l.Z)({name:o.h3,query:{path:o.LQ}}),c=t&&!a&&!n,r=c?t.length:0;return React.createElement("div",{className:w.Z.container},React.createElement(y,{numberOfPurchases:r}),React.createElement("div",{className:w.Z.purchasesSection},c&&t.map((e=>React.createElement(k,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(b,{numberOfPurchases:r}))}},2307:(e,t,a)=>{"use strict";a.d(t,{N:()=>w,Z:()=>k});var n=a(2674),c=a.n(n),r=a(526),s=a(5736),i=a(1074),o=a(5381),l=a(9201),u=a(2229),d=a(5235),m=a.n(d),p=a(9196),h=a(4598),g=a(4848),v=a(938),f=a(9720);const __=s.__,w={ACTIVE:"active",INACTIVE:"inactive",MODULE_DISABLED:"module_disabled",SITE_CONNECTION_ERROR:"site_connection_error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PURCHASE:"needs_purchase",NEEDS_PURCHASE_OR_FREE:"needs_purchase_or_free",NEEDS_FIRST_SITE_CONNECTION:"needs_first_site_connection",USER_CONNECTION_ERROR:"user_connection_error",CAN_UPGRADE:"can_upgrade"},k=({status:e,admin:t,name:a,slug:n,onActivate:d,additionalActions:k,primaryActionOverride:E,onManage:y,onFixConnection:b,isFetching:_,isInstallingStandalone:j,className:C,onAdd:N,onInstall:R,onLearnMore:Z,upgradeInInterstitial:x})=>{const[z,S]=(0,p.useState)(!1),[M,L]=(0,p.useState)({}),{detail:P}=(0,h.Z)(n),{manageUrl:A,purchaseUrl:V}=P,H=!A,O=(0,p.useRef)(null),I=(0,p.useRef)(null),{recordEvent:B}=(0,g.Z)(),T=_||j,U=k?.length>0,F=(0,p.useMemo)((()=>({variant:T?void 0:"primary",disabled:T,className:C})),[T,C]),D=(0,p.useCallback)((()=>{switch(e){case w.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...F,href:`#/add-${n}`,size:"small",variant:"primary",weight:"regular",label:e,onClick:Z,...E&&w.ABSENT in E&&E[w.ABSENT]}}case w.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...F,href:"",size:"small",variant:"primary",weight:"regular",label:e,onClick:R,...E&&w.ABSENT_WITH_PLAN in E&&E[w.ABSENT_WITH_PLAN]}}case w.NEEDS_FIRST_SITE_CONNECTION:return{...F,href:V||`#/add-${n}`,size:"small",variant:"primary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),onClick:N,...E&&w.NEEDS_FIRST_SITE_CONNECTION in E&&E[w.NEEDS_FIRST_SITE_CONNECTION]};case w.NEEDS_PURCHASE:return{...F,href:V||`#/add-${n}`,size:"small",variant:"primary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),onClick:N,...E&&w.NEEDS_PURCHASE in E&&E[w.NEEDS_PURCHASE]};case w.CAN_UPGRADE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=V||x?e:t;return{...F,href:V||`#/add-${n}`,size:"small",variant:"primary",weight:"regular",label:a,onClick:N,...E&&w.CAN_UPGRADE in E&&E[w.CAN_UPGRADE]}}case w.NEEDS_PURCHASE_OR_FREE:return{...F,href:`#/add-${n}`,size:"small",variant:"primary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),onClick:N,...E&&w.NEEDS_PURCHASE_OR_FREE in E&&E[w.NEEDS_PURCHASE_OR_FREE]};case w.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...F,disabled:H||F?.disabled,href:A,size:"small",variant:"secondary",weight:"regular",label:e,onClick:y,...E&&w.ACTIVE in E&&E[w.ACTIVE]}}case w.SITE_CONNECTION_ERROR:return{...F,href:"#/connection",size:"small",variant:"primary",weight:"regular",label:__("Fix connection","jetpack-my-jetpack"),onClick:b,...E&&w.ERROR in E&&E[w.ERROR]};case w.USER_CONNECTION_ERROR:return{href:"#/connection",size:"small",variant:"primary",weight:"regular",label:__("Connect","jetpack-my-jetpack"),onClick:b,...E&&w.USER_CONNECTION_ERROR in E&&E[w.USER_CONNECTION_ERROR]};case w.INACTIVE:case w.MODULE_DISABLED:return{...F,href:"",size:"small",variant:"secondary",weight:"regular",label:__("Activate","jetpack-my-jetpack"),onClick:d,...E&&w.INACTIVE in E&&E[w.INACTIVE]};default:return null}}),[e,F,n,N,b,d,R,Z,V,x,H,A,y,E]),q=(0,p.useMemo)((()=>U?[...k,D()]:[D()]),[k,D,U]),J=(0,p.useCallback)((()=>{B("jetpack_myjetpack_product_card_dropdown_toggle",{product:n,state:z?"closed":"open"})}),[z,B,n]),G=(0,p.useCallback)((()=>{S(!z),J()}),[z,J]);if((0,p.useEffect)((()=>{L(q[0])}),[q]),(0,v.Z)(O,(e=>{I.current.contains(e.target)||(S(!1),J())})),!t)return React.createElement(r.Z,c()({},F,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ /* translators: placeholder is product name. */ (0,s.sprintf)(__("Learn about %s","jetpack-my-jetpack"),a));const W=U&&React.createElement("div",{ref:O,className:f.Z["action-button-dropdown"]},React.createElement("ul",{className:f.Z["dropdown-menu"]},[...k,D()].map((({label:e,isExternalLink:t},a)=>React.createElement("li",{key:a},React.createElement("button",{onClick:()=>{L(q[a]),S(!1),B("jetpack_myjetpack_product_card_dropdown_action_click",{product:n,action:e})},className:f.Z["dropdown-item"]},React.createElement("div",{className:f.Z["dropdown-item-label"]},e,t&&React.createElement(i.Z,{icon:o.Z,size:16})),e===M.label&&React.createElement("div",{className:f.Z["active-action-checkmark"]},React.createElement(i.Z,{icon:l.Z,size:24,fill:"white"}))))))));return React.createElement(React.Fragment,null,React.createElement("div",{className:m()(f.Z["action-button"],U?f.Z["has-additional-actions"]:null)},React.createElement(r.Z,c()({},F,M),M.label),U&&React.createElement("button",{className:m()(f.Z["dropdown-chevron"],"primary"===M.variant?f.Z.primary:f.Z.secondary),onClick:G,ref:I},React.createElement(i.Z,{icon:u.Z,size:24,fill:"primary"===M.variant?"white":"black"})),z&&W))}},2728:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>E,bY:()=>f});var n=a(2674),c=a.n(n),r=a(526),s=a(5736),i=a(5235),o=a.n(i),l=a(5844),u=a.n(l),d=a(9196),m=a(4848),p=a(1062),h=a(2307),g=a(6086),v=a(9720);const __=s.__,f={[h.N.ACTIVE]:__("Active","jetpack-my-jetpack"),[h.N.INACTIVE]:__("Inactive","jetpack-my-jetpack"),[h.N.MODULE_DISABLED]:__("Inactive","jetpack-my-jetpack"),[h.N.NEEDS_PURCHASE]:__("Inactive","jetpack-my-jetpack"),[h.N.NEEDS_PURCHASE_OR_FREE]:__("Inactive","jetpack-my-jetpack"),[h.N.ABSENT]:__("Inactive","jetpack-my-jetpack"),[h.N.ABSENT_WITH_PLAN]:__("Needs Plugin","jetpack-my-jetpack"),[h.N.NEEDS_FIRST_SITE_CONNECTION]:__("Inactive","jetpack-my-jetpack"),[h.N.USER_CONNECTION_ERROR]:__("Needs user account","jetpack-my-jetpack"),[h.N.SITE_CONNECTION_ERROR]:__("Needs connection","jetpack-my-jetpack"),[h.N.CAN_UPGRADE]:__("Active","jetpack-my-jetpack")},w=e=>{const{shouldShowButton:t=(()=>!0),positionFirst:a,...n}={size:"small",variant:"secondary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),...e};return!!t()&&React.createElement(r.Z,n,n.label)};w.propTypes={href:u().string,size:u().oneOf(["normal","small"]),variant:u().oneOf(["primary","secondary","link","tertiary"]),weight:u().oneOf(["bold","regular"]),label:u().string,shouldShowButton:u().func,onClick:u().func,positionFirst:u().bool,isExternalLink:u().bool,icon:u().node,iconSize:u().number,disabled:u().bool,isLoading:u().bool,className:u().string};const k=e=>{const t={isFetching:!1,isInstallingStandalone:!1,onActivate:()=>{},...e},{name:a,Description:n,status:r,onActivate:s,isFetching:i,isDataLoading:l,isInstallingStandalone:u,slug:f,additionalActions:k,primaryActionOverride:E,secondaryAction:y,children:b,onInstallStandalone:_,onActivateStandalone:j}=t,C=r===h.N.ERROR,N=r===h.N.ABSENT||r===h.N.ABSENT_WITH_PLAN,R=r===h.N.NEEDS_PURCHASE||r===h.N.NEEDS_PURCHASE_OR_FREE,Z=o()({[v.Z.plugin_absent]:N,[v.Z["is-purchase-required"]]:R,[v.Z["is-link"]]:N,[v.Z["has-error"]]:C}),{recordEvent:x}=(0,m.Z)(),z=(0,d.useCallback)((e=>{e.preventDefault(),x("jetpack_myjetpack_product_card_activate_click",{product:f}),s()}),[f,s,x]),S=(0,d.useCallback)((()=>{x("jetpack_myjetpack_product_card_add_click",{product:f})}),[f,x]),M=(0,d.useCallback)((()=>{x("jetpack_myjetpack_product_card_manage_click",{product:f})}),[f,x]),L=(0,d.useCallback)((()=>{x("jetpack_myjetpack_product_card_fixconnection_click",{product:f})}),[f,x]),P=(0,d.useCallback)((()=>{x("jetpack_myjetpack_product_card_learnmore_click",{product:f})}),[f,x]),A=(0,d.useCallback)((e=>{e.preventDefault(),x("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:f}),_()}),[f,_,x]);(0,d.useCallback)((e=>{e.preventDefault(),x("jetpack_myjetpack_product_card_activate_standalone_plugin_click",{product:f}),j()}),[f,j,x]);return(0,d.useEffect)((()=>{x("jetpack_myjetpack_product_card_loaded",{product:f,status:r})}),[x,f,r]),React.createElement(p.Z,{title:a,className:o()(v.Z.container,Z),headerRightContent:null},React.createElement(n,null),l?React.createElement("span",{className:v.Z.loading},__("Loading…","jetpack-my-jetpack")):b,React.createElement("div",{className:v.Z.actions},React.createElement("div",{className:v.Z.buttons},y&&y?.positionFirst&&React.createElement(w,y),React.createElement(h.Z,c()({},t,{onActivate:z,onFixConnection:L,onManage:M,onAdd:S,onInstall:A,onLearnMore:P,className:v.Z.button,additionalActions:k,primaryActionOverride:E})),y&&!y?.positionFirst&&React.createElement(w,y)),React.createElement(g.Z,{status:r,isFetching:i,isInstallingStandalone:u})))};k.propTypes={children:u().node,name:u().string.isRequired,Description:u().func.isRequired,admin:u().bool.isRequired,isFetching:u().bool,isInstallingStandalone:u().bool,isManageDisabled:u().bool,onActivate:u().func,slug:u().string.isRequired,additionalActions:u().array,primaryActionOverride:u().object,secondaryAction:u().object,onInstallStandalone:u().func,onActivateStandalone:u().func,status:u().oneOf([h.N.ACTIVE,h.N.INACTIVE,h.N.SITE_CONNECTION_ERROR,h.N.ABSENT,h.N.ABSENT_WITH_PLAN,h.N.NEEDS_PURCHASE,h.N.NEEDS_PURCHASE_OR_FREE,h.N.NEEDS_FIRST_SITE_CONNECTION,h.N.USER_CONNECTION_ERROR,h.N.CAN_UPGRADE,h.N.MODULE_DISABLED]).isRequired};const E=k},6086:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5106),c=a(5235),r=a.n(c),s=a(2307),i=a(9720),o=a(2728);const l=({status:e,isFetching:t,isInstallingStandalone:a})=>{const c=o.bY[e],l=r()(i.Z.status,(e=>{switch(e){case s.N.ACTIVE:case s.N.CAN_UPGRADE:return i.Z.active;case s.N.ABSENT_WITH_PLAN:case s.N.SITE_CONNECTION_ERROR:case s.N.USER_CONNECTION_ERROR:return i.Z.warning;case s.N.INACTIVE:case s.N.NEEDS_PURCHASE:case s.N.NEEDS_PURCHASE_OR_FREE:case s.N.NEEDS_FIRST_SITE_CONNECTION:default:return i.Z.inactive}})(e),{[i.Z["is-fetching"]]:t||a});return React.createElement(n.ZP,{variant:"label",className:l},c)}},8777:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(1294),c=a(5736),r=a(5844),s=a.n(r),i=a(9196),o=a(5745),l=a(2307);const __=c.__,u=({admin:e})=>{const{userConnectionData:t}=(0,n.Z)(),{currentUser:a}=t,{wpcomUser:c}=a,r=`jetpack_ai_optfree_${a?.id||0}_${a?.blogId||0}_${c?.ID||0}`,s=(0,i.useRef)(localStorage.getItem(r)),u={[l.N.CAN_UPGRADE]:{href:"#/jetpack-ai",label:__("View","jetpack-my-jetpack")},[l.N.NEEDS_PURCHASE]:{href:s.current?"#/jetpack-ai":"#/add-jetpack-ai"}};return React.createElement(o.Z,{admin:e,slug:"jetpack-ai",upgradeInInterstitial:!0,primaryActionOverride:u})};u.propTypes={admin:s().bool.isRequired};const d=u},1640:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"anti-spam"});o.propTypes={admin:c().bool.isRequired};const l=o},7427:(e,t,a)=>{"use strict";a.d(t,{Z:()=>C});var n=a(6895),c=a(5106),r=a(2947),s=a(5609),i=a(5736),o=a(5235),l=a.n(o),u=a(3079),d=a(5844),m=a.n(d),p=a(9196),h=a(5544),g=a(4598),v=a(7108),f=a(1838),w=a(4848),k=a(5745),E=a(2307),y=a(8840);const __=i.__,_n=i._n,b=({admin:e})=>{const t="backup",{detail:a}=(0,g.Z)(t),{status:n}=a;return n===E.N.ACTIVE||n===E.N.CAN_UPGRADE?React.createElement(_,{admin:e,slug:t}):React.createElement(j,{admin:e,slug:t})},_=({admin:e,slug:t})=>{const{data:a,isLoading:r}=(0,v.Z)({name:h.Kf,query:{path:h._H}}),s=a?.last_rewindable_event,o=s?.published,l=a?.undo_backup_id,{recordEvent:d}=(0,w.Z)(),{siteSuffix:m=""}=(0,f.$9)(),p={href:(0,n.Z)("jetpack-backup-undo-cta",{path:l,site:m}),size:"small",variant:"primary",weight:"regular",label:__("Undo","jetpack-my-jetpack"),onClick:()=>{d("jetpack_myjetpack_backup_card_undo_click",{product:t,undo_backup_id:l})},isExternalLink:!0};return React.createElement(k.Z,{admin:e,slug:t,showMenu:!0,isDataLoading:r,Description:s?()=>React.createElement(c.ZP,{variant:"body-small",className:y.Z.description},React.createElement("span",null,__("Activity Detected","jetpack-my-jetpack")),React.createElement("span",{className:y.Z.time},(e=>{if(!e)return"";const t=new Date-new Date(e);if(t>0){const e=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),n=Math.floor(t%36e5/6e4),c=Math.floor(t%6e4/1e3);return e>0?(0,i.sprintf)( // translators: %s is the number of days since the last backup _n("%s day ago","%s days ago",e,"jetpack-my-jetpack"),e):a>0?(0,i.sprintf)( // translators: %s is the number of hours since the last backup _n("%s hour ago","%s hours ago",a,"jetpack-my-jetpack"),a):n>0?(0,i.sprintf)( // translators: %s is the number of minutes since the last backup _n("%s minute ago","%s minutes ago",n,"jetpack-my-jetpack"),n):(0,i.sprintf)( // translators: %s is the number of seconds since the last backup _n("%s second ago","%s seconds ago",c,"jetpack-my-jetpack"),c)}})(o))):null,additionalActions:s?[p]:[]},s?React.createElement("div",{className:y.Z.activity},React.createElement(u.Z,{icon:s.gridicon,size:24}),React.createElement("p",{className:y.Z.summary},s.summary)):null)},j=({admin:e,slug:t})=>{const[a,n]=(0,p.useState)(3),{data:c,isLoading:o}=(0,v.Z)({name:h.RQ,query:{path:h.hd}}),d=(0,p.useMemo)((()=>{const e=[];return c?(Object.keys(c).forEach((t=>{0!==c[t]&&e.push([t,c[t]])})),e.sort(((e,t)=>e[1](window.onresize=()=>{window.innerWidth>=961&&window.innerWidth<=1070||window.innerWidth<290?n(2):n(3)},()=>{window.onresize=null})),[]);const m=d.length>a?d.length-a:0,g={maximumFractionDigits:1,notation:"compact"};return React.createElement(k.Z,{admin:e,slug:t,showMenu:!0,isDataLoading:o},React.createElement("div",{className:y.Z["no-backup-stats"]},React.createElement("ul",{className:y.Z["main-stats"],role:"list"},d.map(((e,t)=>{const n=e[0].split("_")[1],c=e[1];return React.createElement("li",{className:l()(y.Z["main-stat"],`main-stat-${t}`),key:t+n},React.createElement(React.Fragment,null,t{switch(e){case"post":return React.createElement(u.Z,{icon:"posts",size:24});case"page":return React.createElement(u.Z,{icon:"pages",size:24});default:return React.createElement(u.Z,{icon:e,size:24})}})(n),React.createElement("span",null,(0,r.Z)(c,g))),React.createElement(s.VisuallyHidden,null,({comment:e=>(0,i.sprintf)( // translators: %d is the number of comments _n("%d comment","%d comments",e,"jetpack-my-jetpack"),e),post:e=>(0,i.sprintf)( // translators: %d is the number of posts _n("%d post","%d posts",e,"jetpack-my-jetpack"),e),page:e=>(0,i.sprintf)( // translators: %d is the number of pages _n("%d page","%d pages",e,"jetpack-my-jetpack"),e),image:e=>(0,i.sprintf)( // translators: %d is the number of images _n("%d image","%d images",e,"jetpack-my-jetpack"),e),video:e=>(0,i.sprintf)( // translators: %d is the number of videos _n("%d video","%d videos",e,"jetpack-my-jetpack"),e),audio:e=>(0,i.sprintf)( // translators: %d is the number of files _n("%d audio file","%d audio files",e,"jetpack-my-jetpack"),e)}[o=n]||(e=>`${e} ${o}`))(c))));var o}))),m>0&&React.createElement("span",{className:y.Z["more-stats"],"aria-hidden":"true"}, // translators: %s is the number of items that are not shown // translators: %s is the number of items that are not shown (0,i.sprintf)(__("+%s more","jetpack-my-jetpack"),m))))};b.propTypes={admin:m().bool.isRequired},j.propTypes={productData:m().object};const C=b},8489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(128),c=a(5033),r=a(4186),s=a(5609),i=a(4333),o=a(5736),l=a(1074),u=a(986),d=a(9196),m=a(4598),p=a(1838),h=a(4848),g=a(5162),v=a(2307),f=a(9578);a(1200);const __=o.__,w=()=>{const{recordEvent:e}=(0,h.Z)(),[t,a]=(0,d.useState)(!1),[o,w]=(0,d.useState)(""),[k,E]=(0,d.useState)(null),[y,b]=(0,d.useState)(null),[_,j]=(0,d.useState)(!1),[C,N]=(0,d.useState)(!1),R=(0,i.useViewportMatch)("medium","<"),{siteUrl:Z="",latestBoostSpeedScores:x}=(0,p.$9)(),{apiRoot:z,apiNonce:S,isSiteConnected:M}=(0,g.Z)(),{detail:L}=(0,m.Z)("boost"),{status:P}=L,A=P===v.N.ACTIVE||P===v.N.CAN_UPGRADE,V=(e,t)=>{const{mobile:a,desktop:n}=t||{};var c,r;a&&n&&e((c=a,r=n,Math.round((c+r)/2)))},H=e=>{const{scores:t,previousScores:a}=e||{};V(E,t),V(b,a),(e=>{const{mobile:t,desktop:a}=e||{};t&&a&&w((0,n.yn)(t,a))})(t)},O=async()=>{M?(a(!0),(0,n.tZ)(!0,z,Z,S).then((e=>{const t=(0,n.yn)(e.current.mobile,e.current.desktop);w(t),V(E,e.current),V(b,x.scores),a(!1)})).catch((t=>{e("jetpack_boost_speed_score_error",{feature:"jetpack-boost",position:"my-jetpack",error:t}),x&&x.scores?H(x):j(!0),a(!1)}))):j(!0)},I=(0,d.useMemo)((()=>y&&k?k{N(!0)}),[N]),U=(0,d.useCallback)((()=>{N(!1)}),[N]);return(0,d.useEffect)((()=>{x?A?(0,n.Fr)(1e3*x.timestamp)<1?H(x):O():(0,n.Fr)(1e3*x.timestamp)<14?H(x):O():O()}),[]),!_&&React.createElement("div",{className:"mj-boost-speed-score"},t?React.createElement(c.Z,{color:"#23282d",size:16}):React.createElement(React.Fragment,null,React.createElement("div",{className:"mj-boost-speed-score__grade"},React.createElement("span",null,__("Your website’s overall speed score:","jetpack-my-jetpack")),React.createElement("span",{className:"mj-boost-speed-score__grade--letter"},React.createElement("button",{onMouseEnter:T,onFocus:T,onMouseLeave:U,onBlur:U},o,C&&React.createElement(s.Popover,{placement:R?"top-end":"right",noArrow:!1,offset:10},React.createElement("p",{className:"boost-score-tooltip__heading"},__("Site speed performance:","jetpack-my-jetpack")," ",o),React.createElement("p",{className:"boost-score-tooltip__content"},B))))),React.createElement("div",{className:"mj-boost-speed-score__bar"},React.createElement(r.Z,{score:k,active:k>0,isLoading:t,showPrevScores:!1,scoreBarType:"desktop",noBoostScoreTooltip:null})),!!I&&React.createElement("div",{className:"mj-boost-speed-score__increase"},React.createElement(l.Z,{size:18,icon:u.Z}),React.createElement("span",null,I))))}},6631:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(5745),r=a(2307),s=a(8489);const __=n.__,i=({admin:e})=>{const t={[r.N.ABSENT]:{label:__("Boost your site","jetpack-my-jetpack")}};return React.createElement(c.Z,{admin:e,slug:"boost",primaryActionOverride:t},React.createElement(s.Z,null))}},9578:(e,t,a)=>{"use strict";a.d(t,{c:()=>r});var n=a(5736),c=a(4598);const __=n.__;function r({speedLetterGrade:e,boostScoreIncrease:t}){const{detail:a}=(0,c.Z)("boost"),{isPluginActive:r,hasPaidPlanForProduct:s}=a;if(r){if(s){if(t)return(0,n.sprintf)(/* translators: %d is the number (positive integer) of points the speed has increased */ __("Your speed has improved by %d points! Boost is working to enhance your performance with automated tools.","jetpack-my-jetpack"),t);switch(e){case"A":return __("Your site is fast! Boost is working to enhance your performance with automated tools.","jetpack-my-jetpack");case"B":case"C":case"D":case"E":case"F":return __("Visit the Boost dashboard to view your historical speed scores and manage your product settings.","jetpack-my-jetpack");default:return __("Visit the Boost dashboard to view your site’s speed scores and manage your product settings.","jetpack-my-jetpack")}}if(t)return(0,n.sprintf)(/* translators: %d is the number (integer) of points the speed has increased */ __("Your speed has improved by %d points! Upgrade Boost to unlock automated CSS and image optimization tools to maintain your high score.","jetpack-my-jetpack"),t);switch(e){case"A":return __("Your site is fast! But maintaining a high speed isn’t easy. Upgrade Boost to use automated CSS and image optimization tools to improve your performance on the go.","jetpack-my-jetpack");case"B":return __("You are one step away from making your site blazing fast. Upgrade Boost to use automated CSS and image optimization tools to improve your performance.","jetpack-my-jetpack");default:return __("Improve your performance with automated CSS and image optimization tools by upgrading Boost.","jetpack-my-jetpack")}}switch(e){case"A":return __("Your site is fast! But maintaining a high speed isn’t easy. Use Boost’s automated acceleration tools to optimize your performance on the go.","jetpack-my-jetpack");case"B":return __("You are one step away from making your site blazing fast. Install Boost to enhance your site’s performance like top websites, no developer needed.","jetpack-my-jetpack");default:return __("Your site needs performance improvements. Make your site blazing fast with Boost’s simple dashboard and acceleration tools.","jetpack-my-jetpack")}}},8112:(e,t,a)=>{"use strict";a.d(t,{G:()=>w,X:()=>f});var n=a(2947),c=a(5106),r=a(2636),s=a(5736),i=a(986),o=a(9404),l=a(1074),u=a(5235),d=a.n(u),m=a(5844),p=a.n(m),h=a(9196),g=a.n(h),v=a(523);const __=s.__,f=({change:e,changePercentage:t})=>{if(!Number.isFinite(e))return null;const a=e>0?i.Z:o.Z,r=(0,n.Z)(Math.abs(e),{notation:"compact",compactDisplay:"short"});return g().createElement("div",{className:d()(v.Z["contextual-percentage-change"],{[v.Z.neutral]:0===e,[v.Z.positive]:e>0,[v.Z.negative]:e<0})},!!e&&g().createElement(l.Z,{icon:a,size:14,className:v.Z["change-icon"]}),g().createElement(c.ZP,{className:v.Z["change-values"]},(0,s.sprintf)(/* translators: both placeholders are numbers */ __("%1$s (%2$s%%)","jetpack-my-jetpack"),r,t)))};f.propTypes={change:p().number,changePercentage:p().number};const w=({description:e,value:t,context:a,loading:n})=>n?g().createElement("div",{className:v.Z["single-contextual-info-placeholder"]},g().createElement(r.Z,{height:24}),g().createElement(r.Z,{height:36})):g().createElement(g().Fragment,null,g().createElement(c.ZP,null,e),g().createElement("div",{className:v.Z["single-contextual-info"]},g().createElement(c.ZP,{className:v.Z["main-value"]},t),a));w.propTypes={description:p().string.isRequired,value:p().string,context:p().node,loading:p().bool}},9963:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"creator",upgradeInInterstitial:!0});o.propTypes={admin:c().bool.isRequired};const l=o},5996:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"crm"});o.propTypes={admin:c().bool.isRequired};const l=o},5943:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(3363),c=a(3846),r=a(9196),s=a.n(r),i=a(1838),o=a(8777),l=a(1640),u=a(7427),d=a(6631),m=a(9963),p=a(5996),h=a(3232),g=a(687),v=a(419),f=a(6217),w=a(523),k=a(9894);const E=()=>{const{isAtomic:e=!1,userIsAdmin:t=!1}=(0,i.$9)(),{showFullJetpackStatsCard:a=!1}=(0,i.$9)("myJetpackFlags"),r={backups:u.Z,protect:h.Z,antispam:l.Z,boost:d.Z,search:g.Z,videopress:k.Z,stats:a?null:f.Z,crm:p.Z,creator:e?null:m.Z,social:v.Z,ai:o.Z};return s().createElement(n.Z,{className:w.Z.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},Object.entries(r).map((([e,a])=>a?s().createElement(c.Z,{tagName:"li",sm:4,md:4,lg:4,key:e},s().createElement(a,{admin:!!t})):null)))}},3232:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"protect"});o.propTypes={admin:c().bool.isRequired};const l=o},687:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"search",showMenu:!0});o.propTypes={admin:c().bool.isRequired};const l=o},419:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"social",showMenu:!0});o.propTypes={admin:c().bool.isRequired};const l=o},6217:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5844),c=a.n(n),r=a(9196),s=a.n(r),i=a(5745);const o=({admin:e})=>s().createElement(i.Z,{admin:e,slug:"stats",showMenu:!0});o.propTypes={admin:c().bool.isRequired};const l=o},9894:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2947),c=a(5736),r=a(5844),s=a.n(r),i=a(5544),o=a(7108),l=a(1838),u=a(5745),d=a(8112);const __=c.__,m=({admin:e})=>{const{videoPressStats:t=!1}=(0,l.$9)("myJetpackFlags"),{loading:a,hasError:c,change:r,currentFormatted:s,changePercentage:m}=(()=>{const{data:e,isLoading:t,isError:a}=(0,o.Z)({name:i.db,query:{path:i.n2}}),c=e?.data?.views??{},{previous:r=null,current:s=null}=c,l=null!==s?(0,n.Z)(s,{notation:"compact",compactDisplay:"short"}):null,u=null!==s&&null!==r?s-r:null;let d=null;return null!==u&&(d=0===u?0:0===r?100:Math.round(u/r*100)),{isLoading:t,isError:a,currentFormatted:l,change:u,changePercentage:d}})();if(!t||c)return React.createElement(u.Z,{admin:e,slug:"videopress",showMenu:!0});const p=__("Views, last 7 days","jetpack-my-jetpack");return React.createElement(u.Z,{admin:e,slug:"videopress",showMenu:!0},React.createElement(d.G,{loading:a,description:p,value:s,context:React.createElement(d.X,{change:r,changePercentage:m})}))};m.propTypes={admin:s().bool.isRequired};const p=m},2667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5609),c=a(5844),r=a.n(c),s=a(9196),i=a.n(s);const o=({children:e,className:t,href:a,isLoading:c=!1,onClick:r,isPrimary:s=!0,disabled:o=!1})=>i().createElement(n.Button,{onClick:r,className:t,href:a,variant:s?"primary":"secondary",disabled:c||o},c?i().createElement(n.Spinner,null):e);o.propTypes={className:r().string,isLoading:r().bool,isPrimary:r().bool,disabled:r().bool};const l=o},968:(e,t,a)=>{"use strict";a.d(t,{Z:()=>C});var n=a(8899),c=a(5106),r=a(3396),s=a(4972),i=a(7325),o=a(8258),l=a(5609),u=a(5736),d=a(1074),m=a(1908),p=a(9201),h=a(5235),g=a.n(h),v=a(9196),f=a.n(v),w=a(4598),k=a(1838),E=a(4848),y=a(199),b=a(2667),_=a(8429);const __=u.__;function j({value:e,currency:t,isOld:a}){if(!e||!t)return null;const r=(0,n.LR)(e,t),s=g()(_.Z.price,{[_.Z["is-old"]]:a});return f().createElement(c.ZP,{className:s,variant:"headline-medium",component:"p"},f().createElement(c.ZP,{component:"sup",variant:"title-medium"},r.symbol),r.integer,f().createElement(c.ZP,{component:"sup",variant:"title-medium"},r.fraction))}const C=({slug:e,onClick:t,trackButtonClick:a=(()=>{}),className:n,preferProductName:h,supportingInfo:C,ctaButtonLabel:N=null,hideTOS:R=!1,quantity:Z=null,highlightLastFeature:x=!1,isFetching:z=!1})=>{const{fileSystemWriteAccess:S="no",siteSuffix:M="",adminUrl:L="",myJetpackCheckoutUri:P=""}=(0,k.$9)(),{detail:A}=(0,w.Z)(e),{name:V,title:H,longDescription:O,features:I,disclaimers:B,pricingForUi:T,isBundle:U,supportedProducts:F,hasPaidPlanForProduct:D,status:q,pluginSlug:J,postCheckoutUrl:G}=A,W="plugin_absent"===q&&"no"===S,{isFree:Q,trialAvailable:K,fullPricePerMonth:$,currencyCode:Y,discountPricePerMonth:X,wpcomProductSlug:ee,wpcomFreeProductSlug:te,introductoryOffer:ae,productTerm:ne}=T,{recordEvent:ce}=(0,E.Z)(),re=!Q&&!D||null!=Z,se=(0,y.a)(),ie=(0,v.useCallback)((()=>G||(se||P)),[G,se,P])(),{run:oe,hasCheckoutStarted:le}=(0,o.Z)({productSlug:ee,redirectUrl:ie,siteSuffix:M,adminUrl:L,connectAfterCheckout:!0,from:"my-jetpack",quantity:Z,useBlogIdSuffix:!0}),{run:ue,hasCheckoutStarted:de}=(0,o.Z)({productSlug:te,redirectUrl:ie,siteSuffix:M,adminUrl:L,connectAfterCheckout:!0,from:"my-jetpack",quantity:Z,useBlogIdSuffix:!0}),me=U?F.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return f().createElement(d.Z,{className:_.Z["plus-icon"],key:`icon-plugs${t}`,icon:m.Z,size:14});const a=(0,r.VS)(e);return f().createElement(a,{key:e,size:24})})):null;let pe;pe="month"===ae?.intervalUnit&&1===ae?.intervalCount?(0,u.sprintf)( // translators: %s is the monthly price for a product __("trial for the first month, then $%s /month, billed yearly","jetpack-my-jetpack"),$):"year"===ne?__("/month, paid yearly","jetpack-my-jetpack"):__("/month","jetpack-my-jetpack",0);const he=(0,v.useCallback)((()=>{a(),t?.(oe,A)}),[t,a,oe,A]),ge=(0,v.useCallback)((()=>{a(!0,te,A),t?.(ue,A)}),[t,a,ue,te,A]),ve=(0,v.useCallback)((t=>{ce("jetpack_myjetpack_product_card_disclaimer_click",{id:t,product:e})}),[e,ce]);function fe({slug:e}){const t=(0,r.VS)(e);return t?f().createElement("div",{className:_.Z["product-icon"]},f().createElement(t,null)):null}const we=(!U||U&&!D)&&K,ke=V&&h?V:H,Ee=!U&&D?(0,u.sprintf)(/* translators: placeholder is product name. */ __("Install %s","jetpack-my-jetpack"),ke):(0,u.sprintf)(/* translators: placeholder is product name. */ __("Get %s","jetpack-my-jetpack"),ke),ye=N||Ee;return f().createElement("div",{className:g()(_.Z.card,n,{[_.Z["is-bundle-card"]]:U})},U&&f().createElement("div",{className:_.Z["card-header"]},f().createElement(r.r7,{className:_.Z["product-bundle-icon"],size:16}),f().createElement(c.ZP,{variant:"label"},__("Popular upgrade","jetpack-my-jetpack"))),f().createElement("div",{className:_.Z.container},U&&f().createElement("div",{className:_.Z["product-bundle-icons"]},me),f().createElement(fe,{slug:e}),f().createElement(c.H3,null,ke),f().createElement(c.ZP,{mb:3},O),f().createElement("ul",{className:g()(_.Z.features,{[_.Z["highlight-last-feature"]]:x})},I.map(((e,t)=>f().createElement(c.ZP,{component:"li",key:`feature-${t}`,variant:"body"},f().createElement(d.Z,{icon:p.Z,size:24}),e)))),re&&X&&f().createElement(f().Fragment,null,f().createElement("div",{className:_.Z["price-container"]},f().createElement(j,{value:X,currency:Y,isOld:!1}),X<$&&f().createElement(j,{value:$,currency:Y,isOld:!0})),f().createElement(c.ZP,{className:_.Z["price-description"]},pe)),Q&&f().createElement(c.H3,null,__("Free","jetpack-my-jetpack")),W&&f().createElement(s.Z,null,f().createElement(c.ZP,null,(0,u.sprintf)( // translators: %s is the plugin name. __("Due to your server settings, we can't automatically install the plugin for you. Please manually install the %s plugin.","jetpack-my-jetpack"),ke)," ",f().createElement(l.ExternalLink,{href:`https://wordpress.org/plugins/${J}`},__("Get plugin","jetpack-my-jetpack")))),!R&&f().createElement("div",{className:_.Z["tos-container"]},f().createElement(i.Z,{agreeButtonLabel:we?(0,u.sprintf)(/* translators: placeholder is cta label. */ __("%s or Start for free","jetpack-my-jetpack"),ye):ye})),(!U||U&&!D)&&f().createElement(c.ZP,{component:b.Z,onClick:he,isLoading:z||le,disabled:W,isPrimary:!U,className:_.Z["checkout-button"],variant:"body"},ye),!U&&K&&!D&&f().createElement(c.ZP,{component:b.Z,onClick:ge,isLoading:z||de,disabled:W,isPrimary:!1,className:[_.Z["checkout-button"],_.Z["free-product-checkout-button"]],variant:"body"},__("Start for free","jetpack-my-jetpack")),B.length>0&&f().createElement("div",{className:_.Z.disclaimers},B.map(((e,t)=>{const{text:a,link_text:n=null,url:r=null}=e;return f().createElement(c.ZP,{key:`disclaimer-${t}`,component:"p",variant:"body-small"},`${a} `,r&&n&&f().createElement(l.ExternalLink,{onClick:()=>ve(t),href:r,target:"_blank",rel:"noopener noreferrer"},n))}))),U&&D&&f().createElement("div",{className:_.Z["product-has-required-plan"]},f().createElement(r.KM,{size:36}),f().createElement(c.ZP,null,__("Active on your site","jetpack-my-jetpack"))),C&&f().createElement(c.ZP,{className:_.Z["supporting-info"],variant:"body-extra-small"},C)))}},9144:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(9608),c=a(5347),r=a(526),s=a(1342),i=a(5106),o=a(8258),l=a(5736),u=a(5844),d=a.n(u),m=a(9196),p=a(4598),h=a(1838),g=a(199);const __=l.__,v=({cantInstallPlugin:e,onProductButtonClick:t,detail:a,isFetching:s,tier:i,trackProductButtonClick:u,preferProductName:d})=>{const{siteSuffix:p="",myJetpackCheckoutUri:v=""}=(0,h.$9)(),{name:f,featuresByTier:w=[],pricingForUi:{tiers:k},title:E,postCheckoutUrl:y,isBundle:b,hasPaidPlanForProduct:_}=a,{callToAction:j,currencyCode:C,fullPrice:N,introductoryOffer:R,isFree:Z,wpcomProductSlug:x,quantity:z=null}=k[i],S=(0,g.a)(),M=(0,m.useCallback)((()=>y||(S||v)),[y,S,v])(),{run:L,hasCheckoutStarted:P}=(0,o.Z)({from:"my-jetpack",productSlug:x,redirectUrl:M,connectAfterCheckout:!0,siteSuffix:p,useBlogIdSuffix:!0,quantity:z}),A=(0,m.useCallback)((()=>{u(Z),t?.(L,a,i)}),[u,t,L,a,i,Z]),V=N?Math.round(N/12*100)/100:null,H=R?.costPerInterval?Math.round(R.costPerInterval/12*100)/100:null,O="month"===R?.intervalUnit&&1===R?.intervalCount,I=O?(0,l.sprintf)( // translators: %s is the monthly price for a product __("trial for the first month, then $%s /month, billed yearly","jetpack-my-jetpack"),V):__("/month, paid yearly","jetpack-my-jetpack",0),B=f&&d?f:E,T=!b&&_?(0,l.sprintf)(/* translators: placeholder is product name. */ __("Install %s","jetpack-my-jetpack"),B):(0,l.sprintf)(/* translators: placeholder is product name. */ __("Get %s","jetpack-my-jetpack"),B),U=j||(Z?__("Start for Free","jetpack-my-jetpack"):T);return React.createElement(n.oK,{primary:!Z},React.createElement(n.NE,null,Z?React.createElement(c.Z,{price:0,legend:"",currency:"USD",hidePriceFraction:!0}):!_&&React.createElement(c.Z,{price:V,offPrice:H,legend:I,currency:C,hideDiscountLabel:O,hidePriceFraction:!0}),React.createElement(r.Z,{fullWidth:!0,variant:Z?"secondary":"primary",onClick:A,isLoading:P||s,disabled:P||e||s},U)),w.map(((e,t)=>{const{included:a,description:c,struck_description:r,info:s}=e.tiers[i],o=r||c?React.createElement(React.Fragment,null,r?React.createElement(React.Fragment,null,React.createElement("del",null,r)," "):null,c?React.createElement("strong",null,c):null):null;return React.createElement(n.kF,{key:t,isIncluded:a,label:o,tooltipTitle:s?.title,tooltipInfo:s?.content?React.createElement("div",{dangerouslySetInnerHTML:{__html:s?.content}}):null,tooltipClassName:s?.class})})))};v.propTypes={cantInstallPlugin:d().bool.isRequired,onProductButtonClick:d().func.isRequired,detail:d().object.isRequired,tier:d().string.isRequired,trackProductButtonClick:d().func.isRequired,preferProductName:d().bool.isRequired};const f=({slug:e,onProductButtonClick:t,trackProductButtonClick:a,isFetching:c,preferProductName:o})=>{const{fileSystemWriteAccess:u="no"}=(0,h.$9)(),{detail:d}=(0,p.Z)(e),{description:g,featuresByTier:f=[],pluginSlug:w,status:k,tiers:E=[],hasPaidPlanForProduct:y,title:b,pricingForUi:{tiers:_}}=d,j="plugin_absent"===k&&"no"===u,C=j&&React.createElement(s.Z,{level:"error",hideCloseButton:!0,title:React.createElement(i.ZP,null,(0,l.sprintf)( // translators: %s is the plugin name. __("Due to your server settings, we can't automatically install the plugin for you. Please manually install the %s plugin.","jetpack-my-jetpack"),b)),actions:[React.createElement(r.Z,{variant:"secondary",href:`https://wordpress.org/plugins/${w}`,isExternalLink:!0},__("Get plugin","jetpack-my-jetpack"))]}),N=(0,m.useMemo)((()=>f.map((e=>({name:e?.name,tooltipTitle:e?.info?.title,tooltipInfo:e?.info?.content?React.createElement("div",{dangerouslySetInnerHTML:{__html:e?.info?.content}}):null})))),[f]);return React.createElement(React.Fragment,null,C,React.createElement(n.ZP,{title:g,items:N},E.map(((e,n)=>y&&(e=>{const{isFree:t}=_[e];return t})(e)?null:React.createElement(v,{key:n,tier:e,detail:d,isFetching:c,onProductButtonClick:t,trackProductButtonClick:a,primary:0===n,cantInstallPlugin:j,preferProductName:o})))))};f.propTypes={slug:d().string.isRequired,onProductButtonClick:d().func.isRequired,trackProductButtonClick:d().func.isRequired,isFetching:d().bool.isRequired,preferProductName:d().bool.isRequired};const w=f},8093:(e,t,a)=>{"use strict";a.d(t,{B$:()=>O,Jw:()=>q,Q5:()=>T,WJ:()=>V,Wf:()=>H,Yi:()=>I,ZP:()=>L,jO:()=>B,q:()=>P,qA:()=>A,r:()=>D,uw:()=>F,y$:()=>U});var n=a(9105),c=a(3363),r=a(3846),s=a(5106),i=a(526),o=a(1294),l=a(9307),u=a(5736),d=a(5235),m=a.n(d),p=a(9196),h=a.n(p),g=a(8209),v=a(7363),f=a(4598),w=a(1838),k=a(4848),E=a(3629),y=a(7555),b=a(5626),_=a(968),j=a(9144),C=a(5610),N=a(4763),R=a(2605),Z=a(720),x=a(1657),z=a(7690),S=a(1287),M=a(1439);const __=u.__;function L({bundle:e,existingLicenseKeyUrl:t="admin.php?page=my-jetpack#/add-license",installsPlugin:a=!1,slug:u,supportingInfo:d,preferProductName:C=!1,children:N=null,imageContainerClassName:R="",ctaButtonLabel:Z=null,hideTOS:x=!1,quantity:z=null,directCheckout:M=!1,highlightLastFeature:L=!1,ctaCallback:P=null}){const{detail:A}=(0,f.Z)(u),{activate:V,isPending:H}=(0,v.Z)(u),{isUpgradableByBundle:O,tiers:I,pricingForUi:B}=A,{recordEvent:T}=(0,k.Z)(),{onClickGoBack:U}=(0,E.U)({slug:u}),{myJetpackCheckoutUri:F=""}=(0,w.$9)(),{siteIsRegistering:D,handleRegisterSite:q}=(0,o.Z)({skipUserConnection:!0,redirectUri:A.postActivationUrl?A.postActivationUrl:null});(0,p.useEffect)((()=>{T("jetpack_myjetpack_product_interstitial_view",{product:u})}),[T,u]);const J=(0,p.useCallback)(((e=!1)=>e?"":"crm"===u?"jetpack-crm":B?.tiers?.upgraded?.wpcomProductSlug?B.tiers.upgraded.wpcomProductSlug:B.wpcomProductSlug),[u,B]),G=(0,p.useCallback)(((e=!1,t=null)=>{T("jetpack_myjetpack_product_interstitial_add_link_click",{product:t??u,product_slug:J(e)})}),[T,u,J]),W=(0,p.useCallback)(((t=!1)=>{T("jetpack_myjetpack_product_interstitial_add_link_click",{product:e,product_slug:J(t)})}),[T,e,J]),Q=(0,y.Z)(g.xB.Home),K=(0,p.useCallback)(((e,t,a)=>{let n=t?.postCheckoutUrl?t?.postCheckoutUrl:F;P?.({slug:u,product:t,tier:a}),t?.isBundle||M?e?.():V({productId:u},{onSettled:({productId:c})=>{n=c?.post_checkout_url?c.post_checkout_url:F;const r=t?.hasPaidPlanForProduct,s=a?t?.pricingForUi?.tiers?.[a]?.isFree:t?.pricingForUi?.isFree,i=!s&&!r||a&&t?.pricingForUi?.tiers?.[a]&&!s&&t?.isUpgradable;"zero-bs-crm"!==t.pluginSlug||r?i?e?.(null,n):q().then((e=>{if(!e)return Q()})):window.location.href="https://jetpackcrm.com/pricing/"}})}),[M,V,Q,u,F,P,q]);return h().createElement(n.Z,{showHeader:!1,showBackground:!1},h().createElement(c.Z,{horizontalSpacing:3,horizontalGap:3},h().createElement(r.Z,{className:S.Z["product-interstitial__header"]},h().createElement(b.Z,{onClick:U}),t&&h().createElement(s.ZP,{variant:"body-small"},(0,l.createInterpolateElement)(__("Already have an existing plan or license key? Get started.","jetpack-my-jetpack"),{a:h().createElement(i.Z,{className:S.Z["product-interstitial__license-activation-link"],href:t,variant:"link"})}))),h().createElement(r.Z,null,I&&I.length?h().createElement(j.Z,{slug:u,clickHandler:K,onProductButtonClick:K,trackProductButtonClick:G,preferProductName:C,isFetching:H||D}):h().createElement(c.Z,{className:O?null:S.Z.container,horizontalSpacing:0,horizontalGap:0,fluid:!0},h().createElement(r.Z,{sm:4,md:4,lg:7},h().createElement(_.Z,{slug:u,trackButtonClick:G,onClick:a?K:void 0,className:O?S.Z.container:null,supportingInfo:d,preferProductName:C,ctaButtonLabel:Z,hideTOS:x,quantity:z,highlightLastFeature:L,isFetching:H||D})),h().createElement(r.Z,{sm:4,md:4,lg:5,className:m()(S.Z.imageContainer,R)},e?h().createElement(_.Z,{slug:e,trackButtonClick:W,onClick:K,className:O?S.Z.container:null,quantity:z,highlightLastFeature:L,isFetching:H}):N)))))}function P(){const e="anti-spam",{detail:t}=(0,f.Z)(e),{isPluginActive:a}=t;return h().createElement(L,{slug:e,installsPlugin:!0,bundle:"security",existingLicenseKeyUrl:a?"admin.php?page=akismet-key-config":null,preferProductName:!0})}function A(){return h().createElement(L,{slug:"backup",installsPlugin:!0,bundle:"security"})}function V(){return h().createElement(L,{slug:"boost",installsPlugin:!0},h().createElement("img",{src:C,alt:"Boost"}))}function H(){return h().createElement(L,{slug:"creator",installsPlugin:!0})}function O(){return h().createElement(L,{slug:"crm",installsPlugin:!0},h().createElement("img",{src:N,alt:"CRM"}))}function I(){return h().createElement(L,{slug:"extras",installsPlugin:!0},h().createElement("img",{src:R,alt:"Extras"}))}function B(){return h().createElement(L,{slug:"protect",installsPlugin:!0})}function T(){return h().createElement(L,{slug:"scan",installsPlugin:!0,bundle:"security"})}function U(){return h().createElement(L,{slug:"social",installsPlugin:!0},h().createElement("img",{src:x,alt:__("Image displaying logos of social media platforms supported by Jetpack Social.","jetpack-my-jetpack")}))}function F(){const{detail:e}=(0,f.Z)("search");return h().createElement(L,{slug:"search",installsPlugin:!0,supportingInfo:(e?.pricingForUi?.trialAvailable?__("Jetpack Search Free supports up to 5,000 records and 500 search requests per month for free. You will be asked to upgrade to a paid plan if you exceed these limits for three continuous months.","jetpack-my-jetpack"):"")+__("For the paid plan, pricing will automatically adjust based on the number of records in your search index. If you grow into a new pricing tier, we'll let you know before your next billing cycle.","jetpack-my-jetpack")},h().createElement("img",{src:Z,alt:"Search"}))}function D(){return h().createElement(L,{slug:"stats",directCheckout:!0,installsPlugin:!0,ctaButtonLabel:__("Get Stats","jetpack-my-jetpack")},h().createElement("img",{src:z,alt:__("Illustration showing the Stats feature, highlighting important statistics for your site.","jetpack-my-jetpack")}))}function q(){return h().createElement(L,{slug:"videopress",installsPlugin:!0},h().createElement("img",{src:M,alt:"VideoPress"}))}},4257:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(1294),c=a(951),r=a.n(c),s=a(9196),i=a(8093),o=a(4598),l=a(1488),u=a(1514);const d=r()("my-jetpack:product-interstitial:jetpack-ai");function m(){const{detail:e}=(0,o.Z)("jetpack-ai");d(e);const{userConnectionData:t}=(0,n.Z)(),{currentUser:a}=t,{wpcomUser:c}=a,r=`jetpack_ai_optfree_${a?.id||0}_${a?.blogId||0}_${c?.ID||0}`,m=(0,s.useCallback)((({tier:e})=>{"free"===e&&localStorage.setItem(r,!0)}),[r]);return React.createElement(i.ZP,{slug:"jetpack-ai",installsPlugin:!0,imageContainerClassName:u.Z.aiImageContainer,hideTOS:!0,directCheckout:!1,ctaCallback:m},React.createElement("img",{src:l,alt:"Search"}))}},4517:(e,t,a)=>{"use strict";a.d(t,{Z:()=>x});var n=a(6895),c=a(9105),r=a(3363),s=a(3846),i=a(8868),o=a(3396),l=a(1342),u=a(1294),d=a(5609),m=a(5736),p=a(1074),h=a(9201),g=a(1908),v=a(1646),f=a(5235),w=a.n(f),k=a(951),E=a.n(k),y=a(9196),b=a(4598),_=a(4848),j=a(3629),C=a(7555),N=a(5626),R=a(1514);const __=m.__,Z=E()("my-jetpack:product-interstitial:jetpack-ai-product-page");function x(){const{onClickGoBack:e}=(0,j.U)("jetpack-ai"),{detail:t}=(0,b.Z)("jetpack-ai"),{description:a,aiAssistantFeature:f}=t,[k,E]=(0,y.useState)(!1),{isRegistered:x}=(0,u.Z)(),z=__("Generate and edit content faster with Jetpack AI Assistant","jetpack-my-jetpack"),S=__("Create featured images with one click","jetpack-my-jetpack"),M=__("Build forms using prompts","jetpack-my-jetpack"),L=__("Get feedback on posts","jetpack-my-jetpack");Z(f);const{requestsCount:P=0,currentTier:A,nextTier:V,usagePeriod:H,isOverLimit:O}=f||{},I=1===A?.value,B=0===A?.value,T=!B&&!I,U=!I&&T&&!V&&A,F=B&&20-P>=0?20-P:0,D=T&&!B&&H,q=T||I,J=(0,n.Z)("jetpack-ai-tiers-more-requests-contact"),G=(0,n.Z)("jetpack-ai-feedback"),W=(0,n.Z)("jetpack-ai-product-page-featured-image-link"),Q=(0,n.Z)("jetpack-ai-product-page-form-link"),K=(0,n.Z)("jetpack-ai-product-page-content-feedback-link"),$=x?"post-new.php?use_ai_block=1&_wpnonce="+window?.jetpackAi?.nonce:"#/connection",Y=__("Create new post","jetpack-my-jetpack"),X=__("Connect to Jetpack to start using the AI Assistant","jetpack-my-jetpack"),ee=O&&T,te=O&&B,ae=A?.value||0,ne=H?.["requests-count"]||0,ce=ae-ne>=0?ae-ne:0,re=__("You've reached your request limit for this month","jetpack-my-jetpack"),se=__("You've used all your free requests","jetpack-my-jetpack"),ie=(0,m.sprintf)( // translators: %d is the number of days left in the month. __("Wait for %d days to reset your limit, or upgrade now to a higher tier for additional requests and keep your work moving forward.","jetpack-my-jetpack"),Math.floor((new Date(H?.["next-start"])-new Date)/864e5)),oe=__("Reach for More with Jetpack AI! Upgrade now for additional requests and keep your momentum going.","jetpack-my-jetpack"),le=(0,m.sprintf)( // translators: %s is the next upgrade value __("Get %s requests","jetpack-my-jetpack"),V?.value||"more"),ue=__("Upgrade now","jetpack-my-jetpack"),de=(0,C.Z)("/add-jetpack-ai"),{recordEvent:me}=(0,_.Z)(),pe=(0,y.useCallback)((()=>{me("jetpack_ai_upgrade_contact_us",{placement:"product-page"})}),[me]),he=(0,y.useCallback)((()=>{me("jetpack_ai_upgrade_button",{placement:"product-page",context:"my-jetpack",current_tier_slug:A?.slug||"",requests_count:P}),de()}),[me,P,A,de]),ge=(0,y.useCallback)((()=>E(!1)),[]);(0,y.useEffect)((()=>{me("jetpack_ai_myjetpack_product_page_view",{current_tier_slug:A?.slug||"",requests_count:P})}),[P,A?.slug,me]),(0,y.useEffect)((()=>{E(ee||te)}),[ee,te]);const ve=React.createElement("span",{className:R.Z["product-interstitial__new-badge"]},__("New","jetpack-my-jetpack")," ");return React.createElement(c.Z,{showHeader:!1,showBackground:!0},React.createElement(r.Z,{fluid:!0,horizontalSpacing:3,horizontalGap:2},React.createElement(s.Z,{className:w()(R.Z["product-interstitial__section"])},React.createElement("div",{className:R.Z["product-interstitial__section-wrapper-wide"]},React.createElement(N.Z,{onClick:e})),React.createElement("div",{className:w()(R.Z["product-interstitial__section-wrapper-wide"],R.Z["product-interstitial__product-header"])},React.createElement(i.Z,null),React.createElement("div",{className:R.Z["product-interstitial__product-header-name"]},__("AI Assistant","jetpack-my-jetpack")))),React.createElement(s.Z,{className:w()(R.Z["product-interstitial__section"])},React.createElement("div",{className:R.Z["product-interstitial__hero-section"]},React.createElement("div",{className:R.Z["product-interstitial__hero-content"]},React.createElement("h1",{className:R.Z["product-interstitial__hero-heading"]},a),React.createElement("div",{className:R.Z["product-interstitial__hero-sub-heading"]},__("Draft, transform, translate, and alter both new and existing content leveraging the capabilities of AI, inside the block editor.","jetpack-my-jetpack")),!U&&!I&&React.createElement(d.Button,{variant:"primary",onClick:he,className:R.Z["product-interstitial__hero-cta"]},__("Get more requests","jetpack-my-jetpack")),U&&React.createElement(d.Button,{variant:"primary",onClick:pe,href:J,className:R.Z["product-interstitial__hero-cta"]},__("Contact Us","jetpack-my-jetpack"))),React.createElement("div",{className:R.Z["product-interstitial__hero-side"]},D&&React.createElement(d.Card,{className:R.Z["stats-card"]},React.createElement(o.pJ,null),React.createElement("div",null,React.createElement("div",{className:R.Z["product-interstitial__stats-card-text"]},__("Requests for this month","jetpack-my-jetpack")),React.createElement("div",{className:R.Z["product-interstitial__stats-card-value"]},ce))),q&&React.createElement(d.Card,{className:R.Z["stats-card"]},React.createElement(p.Z,{icon:h.Z,className:R.Z["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:R.Z["product-interstitial__stats-card-text"]},__("All-time requests used","jetpack-my-jetpack")),React.createElement("div",{className:R.Z["product-interstitial__stats-card-value"]},P))),B&&React.createElement(d.Card,{className:R.Z["stats-card"]},React.createElement(p.Z,{icon:h.Z,className:R.Z["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:R.Z["product-interstitial__stats-card-text"]},__("Free requests available","jetpack-my-jetpack")),React.createElement("div",{className:R.Z["product-interstitial__stats-card-value"]},F)))))),React.createElement(s.Z,{className:R.Z["product-interstitial__section"]},React.createElement("div",{className:R.Z["product-interstitial__section-wrapper"]},k&&React.createElement("div",{className:R.Z["product-interstitial__ai-notice"]},React.createElement(l.Z,{actions:[React.createElement(d.Button,{isPrimary:!0,onClick:he},ee?le:ue)],onClose:ge,level:ee?"warning":"error",title:ee?re:se},ee?ie:oe)),React.createElement("h2",{className:R.Z["product-interstitial__section-heading"]},__("AI Features","jetpack-my-jetpack")),React.createElement("p",{className:R.Z["product-interstitial__section-sub-heading"]},__("Discover all the Jetpack features powered by AI","jetpack-my-jetpack")),React.createElement("div",{className:R.Z["product-interstitial__usage-videos"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-item"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/GdXmtVtW?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-37.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:z}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-content"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-heading"]},z),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-text"]},__("Use the AI block to generate content, or use our AI edit options in existing blocks. Use prompts or any of our recommended actions.","jetpack-my-jetpack")),React.createElement(d.Button,{className:R.Z["product-interstitial__usage-videos-link"],icon:g.Z,href:$},x?Y:X))),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-item"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/HJCf8cXc?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fone-click-featured-images.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:S}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-content"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-heading"]},S,ve),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-text"]},__("Create featured images to illustrate your content and make it more engaging with just one click. Use prompts to generate adjusted new featured images.","jetpack-my-jetpack")),React.createElement(d.Button,{className:R.Z["product-interstitial__usage-videos-link"],icon:v.Z,target:"_blank",href:W},__("Learn about featured images","jetpack-my-jetpack")))),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-item"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/OMI3zqid?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-38.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:M}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-content"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-heading"]},M),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-text"]},__("Quickly build forms using the Jetpack Forms block and AI. Use prompts to describe your form and AI will generate the elements in a few seconds.","jetpack-my-jetpack")),React.createElement(d.Button,{className:R.Z["product-interstitial__usage-videos-link"],icon:v.Z,target:"_blank",href:Q},__("Learn about forms","jetpack-my-jetpack")))),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-item"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/0vb0OJm7?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-39.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:L}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-content"]},React.createElement("div",{className:R.Z["product-interstitial__usage-videos-heading"]},L),React.createElement("div",{className:R.Z["product-interstitial__usage-videos-text"]},__("Get instant feedback on your post before publishing. AI will read your post and highlight opportunities to improve your publication.","jetpack-my-jetpack")),React.createElement(d.Button,{className:R.Z["product-interstitial__usage-videos-link"],icon:v.Z,target:"_blank",href:K},__("Learn more","jetpack-my-jetpack"))))))),React.createElement(s.Z,{className:R.Z["product-interstitial__section"]},React.createElement("div",{className:R.Z["product-interstitial__section-wrapper"]},React.createElement("div",{className:R.Z["product-interstitial__section-emoji"]},"👋"),React.createElement("h2",{className:R.Z["product-interstitial__section-heading"]},__("Do you have any feedback?","jetpack-my-jetpack")),React.createElement("p",{className:R.Z["product-interstitial__section-sub-heading"]},__("Help us improving the accuracy of our results and feel free to give us ideas for future implementations and improvements.","jetpack-my-jetpack")," ",React.createElement(d.ExternalLink,{href:G},__("Share your feedback!","jetpack-my-jetpack")))))))}},673:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(1294),c=a(3281),r=a(5736),s=a(9196),i=a.n(s),o=a(5544),l=a(7108),u=a(7111);const __=r.__;function d(){const{userConnectionData:e}=(0,n.Z)(),t=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isLoading:a,data:r}=(0,l.Z)({name:o.h3,query:{path:o.LQ}}),s=(0,u.o)(r);return a?i().createElement(i().Fragment,null,__("Checking gold status…","jetpack-my-jetpack")):i().createElement(i().Fragment,null,i().createElement(c.H,{tokenRedeemed:s,displayName:t}))}},2889:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(5736),c=a(1074),r=a(4955),s=a(6514),i=a(5316),o=a(9196),l=a.n(o),u=a(5090),d=a(5026),m=a(2091);const __=n.__,p=({counts:e,previousCounts:t})=>l().createElement("div",{className:m.Z["section-stats-highlights"]},l().createElement("h3",{className:m.Z["section-title"]},l().createElement("span",null,__("7-day highlights","jetpack-my-jetpack")),l().createElement("small",{className:m.Z["section-description"]},__("Compared to previous period","jetpack-my-jetpack"))),l().createElement("div",{className:m.Z["cards-list"]},l().createElement(u.Z,{heading:__("Views","jetpack-my-jetpack"),icon:l().createElement(c.Z,{icon:d.Z}),count:e?.views,previousCount:t?.views}),l().createElement(u.Z,{heading:__("Visitors","jetpack-my-jetpack"),icon:l().createElement(c.Z,{icon:r.Z}),count:e?.visitors,previousCount:t?.visitors}),l().createElement(u.Z,{heading:__("Likes","jetpack-my-jetpack"),icon:l().createElement(c.Z,{icon:s.Z}),count:e?.likes,previousCount:t?.likes}),l().createElement(u.Z,{heading:__("Comments","jetpack-my-jetpack"),icon:l().createElement(c.Z,{icon:i.Z}),count:e?.comments,previousCount:t?.comments})))},5090:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(2947),c=a(5609),r=a(1074),s=a(9404),i=a(986),o=a(5235),l=a.n(o),u=a(5844),d=a.n(u),m=a(9196),p=a.n(m),h=a(2091);const g=(e,t={})=>null!==e&&Number.isFinite(e)?(0,n.Z)(e,t):"-",v=({count:e=0,previousCount:t=0,icon:a,heading:n})=>{const o=(d=t,"number"!=typeof(u=e)||"number"!=typeof d?null:u-d);var u,d;const m=Math.abs(o),v=Number.isFinite(o)?((e,t)=>{if("number"!=typeof e||"number"!=typeof t)return null;if(0===e&&0===t)return 0;const a=e/t*100;return Math.abs(a)===1/0?100:Math.round(a)})(m,t):null,f={maximumFractionDigits:1,notation:"compact"};return p().createElement(c.Card,{className:h.Z["stats-card"]},a&&p().createElement("div",{className:h.Z["stats-card-icon"]},a),n&&p().createElement("div",{className:h.Z["stats-card-heading"]},n),p().createElement("div",{className:h.Z["stats-card-count"]},p().createElement("span",{className:h.Z["stats-card-count-value"],title:Number.isFinite(e)?String(e):void 0},g(e,f)),null!==o?p().createElement("span",{className:l()(h.Z["stats-card-difference"],{[h.Z["stats-card-difference--positive"]]:o<0,[h.Z["stats-card-difference--negative"]]:o>0})},p().createElement("span",{className:h.Z["stats-card-difference-icon"],title:String(o)},o<0&&p().createElement(r.Z,{size:18,icon:s.Z}),o>0&&p().createElement(r.Z,{size:18,icon:i.Z})),p().createElement("span",{className:h.Z["stats-card-difference-absolute-value"]},g(m,m>9999?f:{})),null!==v&&p().createElement("span",{className:h.Z["stats-card-difference-absolute-percentage"]},"(",v,"%)")):null))};v.propTypes={count:d().number,heading:d().node,icon:d().node,previousCount:d().number};const f=v},5026:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(5609);const c=React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"m4 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.071-.122.18-.302.329-.52.298-.435.749-1.017 1.359-1.598C7.673 9.883 9.498 8.75 12 8.75s4.326 1.132 5.545 2.293c.61.581 1.061 1.163 1.36 1.599a8.29 8.29 0 0 1 .422.689l.002.005L20 13l.67-.336v-.003l-.003-.005-.008-.015-.028-.052a9.752 9.752 0 0 0-.489-.794 11.6 11.6 0 0 0-1.562-1.838C17.174 8.617 14.998 7.25 12 7.25S6.827 8.618 5.42 9.957c-.702.669-1.22 1.337-1.563 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.002.005-.001.002v.001L4 13Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"}))},9593:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(5736),c=a(9196),r=a(5544),s=a(4598),i=a(7108),o=a(1838),l=a(4848),u=a(5162),d=a(5745),m=a(2307),p=a(2889);const __=n.__,h=()=>{const e="stats",{blogID:t}=(0,u.Z)(),{detail:a}=(0,s.Z)(e),{status:n}=a,h=!!(0,o.$9)("userIsAdmin"),{data:g}=(0,i.Z)({name:r.m2,query:{path:(0,r.Vx)(t)}}),v=g?.past_seven_days||{},f=g?.between_past_eight_and_fifteen_days||{},{recordEvent:w}=(0,l.Z)(),k=(0,c.useCallback)((()=>{w("jetpack_myjetpack_stats_card_seedetailedstats_click",{product:e})}),[w]),E=(0,c.useCallback)((()=>!(n!==m.N.CAN_UPGRADE)),[n]),y={href:"admin.php?page=stats",label:__("View detailed stats","jetpack-my-jetpack"),onClick:k,shouldShowButton:E},b={[m.N.ACTIVE]:{label:__("View detailed stats","jetpack-my-jetpack")},[m.N.ERROR]:{label:__("Connect Jetpack to use Stats","jetpack-my-jetpack")}};return React.createElement(d.Z,{admin:h,slug:e,primaryActionOverride:b,secondaryAction:y,showMenu:!0},React.createElement(p.Z,{counts:v,previousCounts:f}))}},3851:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(3363),c=a(3846),r=a(5106),s=a(526),i=a(1294),o=a(5736),l=a(9517),u=a(9196),d=a(8209),m=a(8059),p=a(4848),h=a(7555),g=a(1062),v=a(9473);const __=o.__,f=()=>{const{recordEvent:e}=(0,p.Z)(),{isWelcomeBannerVisible:t,dismissWelcomeBanner:a}=(0,m.Z)(),{isRegistered:o,isUserConnected:f}=(0,i.Z)(),w=(0,h.Z)(d.xB.Connection),[k,E]=(0,u.useState)(t),y=!o||!f;(0,u.useEffect)((()=>{k&&e("jetpack_myjetpack_welcome_banner_view")}),[k,e]);const b=(0,u.useCallback)((()=>{e("jetpack_myjetpack_welcome_banner_dismiss_click"),E(!1),a()}),[e,a]),_=(0,u.useCallback)((()=>{e("jetpack_myjetpack_welcome_banner_finish_connection_click"),w()}),[e,w]);return k?React.createElement(n.Z,{horizontalSpacing:3,className:v.Z["banner-container"]},React.createElement(c.Z,{lg:12,className:v.Z.banner},React.createElement(g.U,{className:v.Z["banner-card"]},React.createElement(n.Z,{horizontalSpacing:0,horizontalGap:0,className:v.Z["banner-content"]},React.createElement(c.Z,{sm:6,md:8,lg:6,className:v.Z["banner-description"]},React.createElement(r.ZP,{variant:"headline-small",mb:3},__("Welcome to Jetpack!","jetpack-my-jetpack")),React.createElement(r.ZP,{variant:"body",mb:2},__("Jetpack is a suite of security, performance, and growth tools made for WordPress sites by the WordPress experts.","jetpack-my-jetpack")),React.createElement(r.ZP,{variant:"body",mb:y?4:0},__("It’s the ultimate toolkit for best-in-class websites, with everything you need to grow your business. Choose a plan below to get started.","jetpack-my-jetpack")),y&&React.createElement(s.Z,{variant:"primary",onClick:_},__("Finish setting up Jetpack","jetpack-my-jetpack"))),React.createElement(c.Z,{sm:6,md:8,lg:6,className:v.Z["banner-image"]}))),React.createElement(s.Z,{className:v.Z.dismiss,variant:"secondary","aria-label":__("Don’t show the welcome message again","jetpack-my-jetpack"),size:"small",icon:l.Z,onClick:b}))):null}},8209:(e,t,a)=>{"use strict";a.d(t,{f6:()=>c,w6:()=>n,xB:()=>r});const n="my-jetpack-my-plans-manage",c="my-jetpack-my-plans-purchase",r={Home:"/",Connection:"/connection",AddAkismet:"/add-akismet",AddAntiSpam:"/add-anti-spam",AddBackup:"/add-backup",AddBoost:"/add-boost",AddCRM:"/add-crm",AddCreator:"/add-creator",AddJetpackAI:"/add-jetpack-ai",AddExtras:"/add-extras",AddProtect:"/add-protect",AddScan:"/add-scan",AddSocial:"/add-social",AddSearch:"/add-search",AddVideoPress:"/add-videopress",AddStats:"/add-stats",AddLicense:"/add-license",RedeemToken:"/redeem-token"}},1647:(e,t,a)=>{"use strict";a.d(t,{E3:()=>n,dR:()=>c,hg:()=>r});const n=100,c=200,r=300},8437:(e,t,a)=>{"use strict";a.d(t,{T:()=>r,Z:()=>s});var n=a(9196);const c={message:"",title:null,options:{level:"",priority:0}},r=(0,n.createContext)({currentNotice:c,setNotice:null,resetNotice:null}),s=({children:e})=>{const[t,a]=(0,n.useState)(c),s=(0,n.useCallback)((e=>{(!t.message||e.options.priority>t.options.priority)&&a(e)}),[t.message,t.options.priority]),i=(0,n.useCallback)((()=>{a(c)}),[]);return React.createElement(r.Provider,{value:{currentNotice:t,setNotice:s,resetNotice:i}},e)}},5544:(e,t,a)=>{"use strict";a.d(t,{Hq:()=>i,Jk:()=>l,Kf:()=>E,LQ:()=>c,RQ:()=>y,Vu:()=>_,Vx:()=>m,YF:()=>d,_H:()=>r,db:()=>v,gb:()=>w,h3:()=>j,hd:()=>s,iG:()=>h,kl:()=>k,m2:()=>b,n2:()=>u,nF:()=>f,q9:()=>p,xD:()=>o,yv:()=>g});const n="my-jetpack/v1",c=`${n}/site/purchases`,r=`${n}/site/backup/undo-event`,s=`${n}/site/backup/count-items`,i=`${n}/chat/availability`,o=`${n}/chat/authentication`,l=`${n}/site/products`,u="videopress/v1/stats/featured",d=`${n}/site/dismiss-welcome-banner`,m=e=>`jetpack/v4/stats-app/sites/${e}/stats/highlights`,p="product",h="activate product",g="install product",v="videopress stats",f="available licenses",w="chat availability",k="chat authentication",E="backup history",y="backup stats",b="stats counts",_="dismiss welcome banner",j="purchases"},6916:(e,t,a)=>{"use strict";a.d(t,{o:()=>l});var n=a(5736),c=a(9196),r=a(1647),s=a(8437),i=a(5544);const __=n.__,o=[i.h3,i.iG,i.yv],l=({infoName:e,isError:t,overrideMessage:a})=>{const{setNotice:i}=(0,c.useContext)(s.T),l=a??(0,n.sprintf)( // translators: %s is the name of the information being fetched, e.g. "site purchases". __("There was an error fetching your %s information. Check your site connectivity and try again.","jetpack-my-jetpack"),e);(0,c.useEffect)((()=>{t&&o.includes(e)&&i({message:l,options:{id:"fetching-error-notice",level:"error",priority:r.E3}})}),[l,i,t,e])}},7363:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5736),c=a(4848),r=a(5544),s=a(7296),i=a(1838),o=a(4598);const __=n.__,l=e=>{const{detail:t,refetch:a}=(0,o.Z)(e),{recordEvent:l}=(0,c.Z)(),{mutate:u,isPending:d}=(0,s.Z)({name:r.iG,query:{path:`${r.Jk}/${e}`,method:"POST"},options:{onSuccess:()=>{(e=>{const{standalonePluginInfo:t,isPluginActive:a}=e;return t?.hasStandalonePlugin?t?.isStandaloneActive:a})(t)||(l("jetpack_myjetpack_product_activated",{product:e}),(e=>{const{items:t}=(0,i.$9)("products");t[e]?.standalone_plugin_info.has_standalone_plugin&&(window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_active=!0,window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_installed=!0)})(e)),a()}},errorMessage:(0,n.sprintf)( // translators: %$1s: Jetpack Product name __("Failed to activate %1$s. Please try again","jetpack-my-jetpack"),t.name)});return{activate:u,isPending:d}}},5595:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(5544),r=a(7296),s=a(4598);const __=n.__,i=e=>{const{detail:t,refetch:a}=(0,s.Z)(e),{mutate:i,isPending:o}=(0,r.Z)({name:c.yv,query:{path:`${c.Jk}/${e}/install-standalone`,method:"POST"},options:{onSuccess:a},errorMessage:(0,n.sprintf)( // translators: %$1s: Jetpack Product name __("Failed to install standalone plugin for %1$s. Please try again","jetpack-my-jetpack"),t.name)});return{install:i,isPending:o}}},4598:(e,t,a)=>{"use strict";a.d(t,{B:()=>o,Z:()=>u});var n=a(9196),c=a(5544),r=a(7108),s=a(1838),i=a(466);const o=()=>{const{items:e}=(0,s.$9)("products");return Object.entries(e).reduce(((e,[t,a])=>({...e,[t]:l(a)})),{})},l=e=>{const t=(0,i.Z)(e);return t.features=t.features||[],t.supportedProducts=t.supportedProducts||[],t.pricingForUi.fullPricePerMonth=(e=>"year"===e.pricingForUi.productTerm?Math.round(e.pricingForUi.fullPrice/12*100)/100:e.pricingForUi.fullPrice)(t),t.pricingForUi.discountPricePerMonth=(e=>"year"===e.pricingForUi.productTerm?Math.round(e.pricingForUi.discountPrice/12*100)/100:e.pricingForUi.discountPrice)(t),t},u=e=>{const t=o(),a=t?.[e],{refetch:s,isLoading:i}=(e=>(0,r.Z)({name:c.q9,query:{path:`${c.Jk}/${e}`},options:{enabled:!1}}))(e);return{detail:a,refetch:(0,n.useCallback)((()=>(async(e,t)=>{const{data:a}=await t();window.myJetpackInitialState.products.items[e]=a})(e,s)),[e,s]),isLoading:i}}},6178:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(4743),c=a(5885),r=a(6916),s=a(1838);const i=({name:e,queryFn:t,errorMessage:a})=>{const i=(0,c.a)({queryKey:[e],queryFn:()=>{const{apiRoot:e,apiNonce:a}=(0,s.M_)();return n.ZP.setApiRoot(e),n.ZP.setApiNonce(a),t(n.ZP)},refetchOnWindowFocus:!1,refetchIntervalInBackground:!1}),{isError:o,isLoading:l}=i;return(0,r.o)({infoName:e,isError:!l&&o,overrideMessage:a}),i}},7296:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(2016),c=a(6989),r=a.n(c),s=a(6916);const i=({name:e,query:t,options:a,errorMessage:c})=>{const i=(0,n.D)({mutationKey:[e],mutationFn:()=>r()(t),...a}),{isError:o,isPending:l}=i;return(0,s.o)({infoName:e,isError:!l&&o,overrideMessage:c}),i}},7108:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5885),c=a(6989),r=a.n(c),s=a(6916);const i=({name:e,query:t,options:a,errorMessage:c})=>{const i=(0,n.a)({queryKey:[e],queryFn:()=>r()(t),refetchOnWindowFocus:!1,refetchIntervalInBackground:!1,...a}),{error:o,isError:l,isLoading:u}=i;return(0,s.o)({infoName:e,isError:!u&&l&&"not_connected"!==o.code,overrideMessage:c}),i}},1838:(e,t,a)=>{"use strict";a.d(t,{$9:()=>n,M_:()=>c,vH:()=>r});const n=e=>e?window?.myJetpackInitialState?.[e]??{}:window?.myJetpackInitialState,c=()=>window?.myJetpackRest??{},r=e=>e?window?.JP_CONNECTION_INITIAL_STATE?.[e]??{}:window?.JP_CONNECTION_INITIAL_STATE},1950:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(2307);const c=e=>Object.values(e).filter((({requiresUserConnection:e,status:t})=>e&&(t===n.N.ACTIVE||t===n.N.ERROR))).map((({name:e})=>e))},466:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});const n=e=>Array.isArray(e)?e.map((e=>n(e))):"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e).map((([e,t])=>[e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace(/[-_]/g,""))),n(t)]))):e,c=n},8059:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(5544),r=a(7296),s=a(1838);const __=n.__,i=()=>{const{redBubbleAlerts:e}=(0,s.$9)(),t=Object.keys(e).includes("welcome-banner-active"),{mutate:a}=(0,r.Z)({name:c.Vu,query:{path:c.YF,method:"POST"},errorMessage:__("Failed to dismiss the welcome banner. Please try again","jetpack-my-jetpack")});return{dismissWelcomeBanner:a,isWelcomeBannerVisible:t}}},4848:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(6975),c=a(9196),r=a(1838),s=a(5162);const i=()=>{const{isUserConnected:e,connectedPlugins:t,userConnectionData:a={}}=(0,s.Z)(),{login:i,ID:o}=a.currentUser?.wpcomUser||{},{myJetpackVersion:l=""}=(0,r.$9)();(0,c.useEffect)((()=>{e&&o&&i&&n.Z.initialize(o,i)}),[o,e,i]);const u=Object.keys(t||{}).sort().join(",").replaceAll("jetpack-","");return{recordEvent:(0,c.useCallback)(((e,t)=>{n.Z.tracks.recordEvent(e,{...t,version:l,referring_plugins:u})}),[])}}},3629:(e,t,a)=>{"use strict";a.d(t,{U:()=>i});var n=a(9196),c=a(8209),r=a(4848),s=a(7555);function i({slug:e}){const{recordEvent:t}=(0,r.Z)(),a=(0,s.Z)(c.xB.Home);return{onClickGoBack:(0,n.useCallback)((n=>{e&&t("jetpack_myjetpack_product_interstitial_back_link_click",{product:e}),document.referrer.includes(window.location.host)&&(n.preventDefault(),a())}),[t,e,a])}}},5162:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(1294),c=a(1838);const r=()=>{const{apiRoot:e,apiNonce:t}=(0,c.M_)(),{topJetpackMenuItemUrl:a,blogID:r}=(0,c.$9)(),s=(0,n.Z)({apiRoot:e,apiNonce:t}),{registrationNonce:i}=(0,c.vH)(),o=s.isRegistered;return{apiNonce:t,apiRoot:e,blogID:r,registrationNonce:i,...s,isSiteConnected:o,topJetpackMenuItemUrl:a}}},7555:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(6417);function r(e){const t=(0,c.s0)();return(0,n.useCallback)((a=>t(e,a)),[t,e])}},1607:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(9997);const c=()=>{const[e]=(0,n.lr)(),t=e.get("returnTo");return t?`admin.php?page=my-jetpack#/${t}`:"admin.php?page=my-jetpack"}},8064:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(1838),c=a(8184),r=a(8505),s=a(4307);const i=()=>{const{redBubbleAlerts:e}=(0,n.$9)();(0,c.Z)(e),(0,s.Z)(e),(0,r.Z)()}},8184:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(9196),r=a(1647),s=a(8437),i=a(4848);const __=n.__,o=e=>{const{setNotice:t}=(0,c.useContext)(s.T),{recordEvent:a}=(0,i.Z)();(0,c.useEffect)((()=>{const c=Object.keys(e).filter((e=>e.endsWith("-bad-installation")));if(0===c.length)return;const s=e[c[0]],{plugin:i}=s.data,o=(0,n.sprintf)( // translators: %s is the name of the plugin that has a bad installation. __("Your installation of %1$s is incomplete. If you installed %1$s from GitHub, please refer to the developer documentation to set up your development environment.","jetpack-my-jetpack"),i),l={id:"bad-installation-notice",level:"error",actions:[{label:__("See documentation","jetpack-my-jetpack"),onClick:()=>{window.open("https://github.com/Automattic/jetpack/blob/trunk/docs/development-environment.md"),a("jetpack_my_jetpack_bad_installation_notice_cta_click",{plugin:i})},noDefaultClasses:!0}],priority:r.dR};t({message:o,options:l})}),[e,t,a])}},8505:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(3846),c=a(5106),r=a(3329),s=a(1045),i=a(5736),o=a(9196),l=a(1647),u=a(8437),d=a(4848);const __=i.__,m=()=>{const{setNotice:e,resetNotice:t}=(0,o.useContext)(u.T),{hasConnectionError:a,connectionErrorMessage:m}=(0,r.Z)(),{restoreConnection:p,isRestoringConnection:h,restoreConnectionError:g}=(0,s.Z)(),{recordEvent:v}=(0,d.Z)();(0,o.useEffect)((()=>{t()}),[t,g]),(0,o.useEffect)((()=>{if(!a)return;let t=m;g&&(t=React.createElement(n.Z,null,React.createElement(c.ZP,{mb:2},(0,i.sprintf)(/* translators: placeholder is the error. */ __("There was an error reconnecting Jetpack. Error: %s","jetpack-my-jetpack"),g)),React.createElement(c.ZP,{mb:2},m)));const r=__("Reconnecting Jetpack…","jetpack-my-jetpack"),s={id:"connection-error-notice",level:"error",actions:[{label:__("Restore Connection","jetpack-my-jetpack"),onClick:()=>{p(),v("jetpack_my_jetpack_connection_error_notice_reconnect_cta_click")},isLoading:h,loadingText:r,noDefaultClasses:!0}],priority:l.hg+(h?1:0)};e({message:t,options:s})}),[e,v,a,m,p,h,g,t])}},4307:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(3846),c=a(5106),r=a(7325),s=a(1294),i=a(5736),o=a(9196),l=a(8209),u=a(1647),d=a(8437),m=a(4598),p=a(1838),h=a(1950),g=a(4848),v=a(5162),f=a(7555);const __=i.__,w=e=>{const{recordEvent:t}=(0,g.Z)(),{setNotice:a,resetNotice:w}=(0,o.useContext)(d.T),{apiRoot:k,apiNonce:E}=(0,p.M_)(),{isRegistered:y,isUserConnected:b,hasConnectedOwner:_}=(0,v.Z)(),{siteIsRegistering:j,handleRegisterSite:C}=(0,s.Z)({skipUserConnection:!0,apiRoot:k,apiNonce:E,from:"my-jetpack"}),N=(0,m.B)(),R=(0,f.Z)(l.xB.Connection);(0,o.useEffect)((()=>{if(!Object.keys(e).includes("missing-site-connection"))return;const s=(0,h.Z)(N),o=!_&&!b&&s.length>0;if(!o&&y)return;const l=(0,i.sprintf)(/* translators: placeholder is product name. */ __("Jetpack %s needs a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),s[0]),d={message:1===s.length?l:__("Some products need a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),buttonLabel:__("Connect your user account","jetpack-my-jetpack"),title:__("Missing user connection","jetpack-my-jetpack")},m={message:__("Some products need a connection to WordPress.com to be able to work.","jetpack-my-jetpack"),buttonLabel:__("Connect your site","jetpack-my-jetpack"),title:__("Missing site connection","jetpack-my-jetpack")},p={id:o?"user-connection-notice":"site-connection-notice",level:"info",actions:[{label:o?d.buttonLabel:m.buttonLabel,isLoading:j,loadingText:__("Connecting…","jetpack-my-jetpack"),onClick:()=>{o&&(t("jetpack_my_jetpack_user_connection_notice_cta_click"),R()),t("jetpack_my_jetpack_site_connection_notice_cta_click"),C().then((()=>{w(),a({message:__("Your site has been successfully connected.","jetpack-my-jetpack"),options:{id:"site-connection-success-notice",level:"success",actions:[],priority:u.hg,hideCloseButton:!1,onClose:w}})}))},noDefaultClasses:!0}],priority:u.hg+(j?1:0),isRedBubble:!0},g=o?d.message:React.createElement(n.Z,null,React.createElement(c.ZP,{mb:2},m.message),React.createElement(r.Z,{agreeButtonLabel:m.buttonLabel}));a({message:g,title:o?d.title:m.title,options:p})}),[C,_,y,b,R,N,t,e,w,a,j])}},938:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(9196);const c=(e,t)=>{(0,n.useEffect)((()=>{const a=a=>{a.target instanceof Element&&e.current&&!e.current.contains(a.target)&&t(a)};return document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}}),[e,t])}},199:(e,t,a)=>{"use strict";function n(){const e=window.location.search;return new URLSearchParams(e).has("redirect_to_referrer","1")&&""!==document.referrer?document.referrer:null}a.d(t,{a:()=>n})},6864:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(6895),c=a(8209),r=a(1838);const s=()=>{const{siteSuffix:e="",blogID:t}=(0,r.$9)();return(0,n.Z)(c.w6,{site:t??e})}},7356:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(6895),c=a(8209),r=a(1838);const s=()=>{const{siteSuffix:e="",blogID:t,myJetpackCheckoutUri:a}=(0,r.$9)(),s=a?`redirect_to=${a}`:null;return(0,n.Z)(c.f6,{site:t??e,query:s})}},7111:(e,t,a)=>{"use strict";a.d(t,{h:()=>n,o:()=>c});const n=({partner_slug:e})=>!!e&&"goldenticket"===e;function c(e){return!!Array.isArray(e)&&e.filter((e=>n(e))).length>0}},2042:(e,t,a)=>{"use strict";e.exports=a.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,a)=>{"use strict";e.exports=a.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:(e,t,a)=>{"use strict";e.exports=a.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:(e,t,a)=>{"use strict";e.exports=a.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},5242:(e,t,a)=>{"use strict";e.exports=a.p+"images/apple-92dacafad84e79708a74.svg"},6790:(e,t,a)=>{"use strict";e.exports=a.p+"images/connect-f27775ac15cf885713c2.png"},184:(e,t,a)=>{"use strict";e.exports=a.p+"images/google-dec2a429bf1d8e83f9ad.svg"},4403:(e,t,a)=>{"use strict";e.exports=a.p+"images/wordpress-1fc3e0ba6c52e9707900.svg"},5050:(e,t,a)=>{"use strict";e.exports=a.p+"images/cloud-81ac85ba680343200f54.svg"},3815:(e,t,a)=>{"use strict";e.exports=a.p+"images/empty-avatar-fea23feddfa99b07c2e8.svg"},9182:(e,t,a)=>{"use strict";e.exports=a.p+"images/jetpack-9de1caef5eb5c22da5d6.svg"},4730:(e,t,a)=>{"use strict";e.exports=a.p+"images/jetpack-manage-3a7ecaa604823c98c3cf.svg"},5610:(e,t,a)=>{"use strict";e.exports=a.p+"images/boost-a54137485af36fdffe9c.png"},4763:(e,t,a)=>{"use strict";e.exports=a.p+"images/crm-7e7684ae2c40327d8fed.png"},2605:(e,t,a)=>{"use strict";e.exports=a.p+"images/extras-26daf36507504c96d066.png"},1488:(e,t,a)=>{"use strict";e.exports=a.p+"images/jetpack-ai-1a265a198f75543e342e.png"},720:(e,t,a)=>{"use strict";e.exports=a.p+"images/search-f9756bd9c926d905fe70.png"},1657:(e,t,a)=>{"use strict";e.exports=a.p+"images/social-e3fb80b2f32534fefe63.png"},7690:(e,t,a)=>{"use strict";e.exports=a.p+"images/stats-9802380852610a4d5908.png"},1439:(e,t,a)=>{"use strict";e.exports=a.p+"images/videopress-9591093a9a238cc48a35.png"},4462:e=>{"use strict";if(void 0==={consumer_slug:"my_jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"my_jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"my_jetpack"}},9196:e=>{"use strict";e.exports=window.React},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9771:e=>{"use strict";e.exports=window.wp.date},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";a.d(t,{j:()=>r});var n=a(2486),c=a(1356),r=new class extends n.l{#e;#t;#a;constructor(){super(),this.#a=e=>{if(!c.sk&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#a)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#a=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}}},2344:(e,t,a)=>{"use strict";a.d(t,{Gm:()=>c});var n=a(1356);function c(e){return{onFetch:(t,a)=>{const c=async()=>{const a=t.options,c=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[],l={pages:[],pageParams:[]};let u=!1;const d=t.options.queryFn||(()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`))),m=async(e,a,c)=>{if(u)return Promise.reject();if(null==a&&e.pages.length)return Promise.resolve(e);const r={queryKey:t.queryKey,pageParam:a,direction:c?"backward":"forward",meta:t.options.meta};var s;s=r,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",(()=>{u=!0})),t.signal)});const i=await d(r),{maxPages:o}=t.options,l=c?n.Ht:n.VX;return{pages:l(e.pages,i,o),pageParams:l(e.pageParams,a,o)}};let p;if(c&&i.length){const e="backward"===c,t={pages:i,pageParams:o},n=(e?s:r)(a,t);p=await m(t,n,e)}else{p=await m(l,o[0]??a.initialPageParam);const t=e??i.length;for(let e=1;et.options.persister?.(c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},a):t.fetchFn=c}}}function r(e,{pages:t,pageParams:a}){const n=t.length-1;return e.getNextPageParam(t[n],t,a[n],a)}function s(e,{pages:t,pageParams:a}){return e.getPreviousPageParam?.(t[0],t,a[0],a)}},4133:(e,t,a)=>{"use strict";a.d(t,{R:()=>i,m:()=>s});var n=a(6673),c=a(9992),r=a(3963),s=class extends c.F{#n;#c;#r;#s;constructor(e){super(),this.mutationId=e.mutationId,this.#c=e.defaultOptions,this.#r=e.mutationCache,this.#n=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter((t=>t!==e)),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>(this.#s=(0,r.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.#s.promise),a="pending"===this.state.status;try{if(!a){this.#i({type:"pending",variables:e}),await(this.#r.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#i({type:"pending",context:t,variables:e})}const n=await t();return await(this.#r.config.onSuccess?.(n,e,this.state.context,this)),await(this.options.onSuccess?.(n,e,this.state.context)),await(this.#r.config.onSettled?.(n,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(n,null,e,this.state.context)),this.#i({type:"success",data:n}),n}catch(t){try{throw await(this.#r.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#r.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#i({type:"error",error:t})}}}#i(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,r.Kw)(this.options.networkMode),status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),n.V.batch((()=>{this.#n.forEach((t=>{t.onMutationUpdate(e)})),this.#r.notify({mutation:this,type:"updated",action:e})}))}};function i(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},9344:(e,t,a)=>{"use strict";a.d(t,{L:()=>i});var n=a(6673),c=a(4133),r=a(1356),s=a(2486),i=class extends s.l{constructor(e={}){super(),this.config=e,this.#o=[],this.#l=0}#o;#l;#u;build(e,t,a){const n=new c.m({mutationCache:this,mutationId:++this.#l,options:e.defaultMutationOptions(t),state:a});return this.add(n),n}add(e){this.#o.push(e),this.notify({type:"added",mutation:e})}remove(e){this.#o=this.#o.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){n.V.batch((()=>{this.#o.forEach((e=>{this.remove(e)}))}))}getAll(){return this.#o}find(e){const t={exact:!0,...e};return this.#o.find((e=>(0,r.X7)(t,e)))}findAll(e={}){return this.#o.filter((t=>(0,r.X7)(e,t)))}notify(e){n.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){return this.#u=(this.#u??Promise.resolve()).then((()=>{const e=this.#o.filter((e=>e.state.isPaused));return n.V.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(r.ZT)))),Promise.resolve())))})).then((()=>{this.#u=void 0})),this.#u}}},8507:(e,t,a)=>{"use strict";a.d(t,{X:()=>i});var n=a(4133),c=a(6673),r=a(2486),s=a(1356),i=class extends r.l{#d;#m=void 0;#p;#h;constructor(e,t){super(),this.#d=e,this.setOptions(t),this.bindMethods(),this.#g()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#d.defaultMutationOptions(e),(0,s.VS)(t,this.options)||this.#d.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#p,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(t.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#p?.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#p?.removeObserver(this)}onMutationUpdate(e){this.#g(),this.#v(e)}getCurrentResult(){return this.#m}reset(){this.#p?.removeObserver(this),this.#p=void 0,this.#g(),this.#v()}mutate(e,t){return this.#h=t,this.#p?.removeObserver(this),this.#p=this.#d.getMutationCache().build(this.#d,this.options),this.#p.addObserver(this),this.#p.execute(e)}#g(){const e=this.#p?.state??(0,n.R)();this.#m={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#v(e){c.V.batch((()=>{if(this.#h&&this.hasListeners()){const t=this.#m.variables,a=this.#m.context;"success"===e?.type?(this.#h.onSuccess?.(e.data,t,a),this.#h.onSettled?.(e.data,null,t,a)):"error"===e?.type&&(this.#h.onError?.(e.error,t,a),this.#h.onSettled?.(void 0,e.error,t,a))}this.listeners.forEach((e=>{e(this.#m)}))}))}}},6673:(e,t,a)=>{"use strict";a.d(t,{V:()=>n});var n=function(){let e=[],t=0,a=e=>{e()},n=e=>{e()},c=e=>setTimeout(e,0);const r=n=>{t?e.push(n):c((()=>{a(n)}))},s=()=>{const t=e;e=[],t.length&&c((()=>{n((()=>{t.forEach((e=>{a(e)}))}))}))};return{batch:e=>{let a;t++;try{a=e()}finally{t--,t||s()}return a},batchCalls:e=>(...t)=>{r((()=>{e(...t)}))},schedule:r,setNotifyFunction:e=>{a=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{c=e}}}()},5433:(e,t,a)=>{"use strict";a.d(t,{N:()=>r});var n=a(2486),c=a(1356),r=new class extends n.l{#f=!0;#t;#a;constructor(){super(),this.#a=e=>{if(!c.sk&&window.addEventListener){const t=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#a)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#a=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#f!==e&&(this.#f=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#f}}},3749:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(1356),c=a(6673),r=a(3963),s=a(9992),i=class extends s.F{#w;#k;#E;#y;#s;#n;#c;#b;constructor(e){super(),this.#b=!1,this.#c=e.defaultOptions,this.#_(e.options),this.#n=[],this.#E=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#w=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,a=void 0!==t,n=a?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:a?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#w,this.scheduleGc()}get meta(){return this.options.meta}#_(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.#n.length||"idle"!==this.state.fetchStatus||this.#E.remove(this)}setData(e,t){const a=(0,n.oE)(this.state.data,e,this.options);return this.#i({data:a,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),a}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#y;return this.#s?.cancel(e),t?t.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#w)}isActive(){return this.#n.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.#n.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,n.Kp)(this.state.dataUpdatedAt,e)}onFocus(){const e=this.#n.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){const e=this.#n.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#E.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.#n.includes(e)&&(this.#n=this.#n.filter((t=>t!==e)),this.#n.length||(this.#s&&(this.#b?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#E.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.#n.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#y)return this.#s?.continueRetry(),this.#y;if(e&&this.#_(e),!this.options.queryFn){const e=this.#n.find((e=>e.options.queryFn));e&&this.#_(e.options)}const a=new AbortController,n={queryKey:this.queryKey,meta:this.meta},c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#b=!0,a.signal)})};c(n);const s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.#b=!1,this.options.persister?this.options.persister(this.options.queryFn,n,this):this.options.queryFn(n)):Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`))};c(s),this.options.behavior?.onFetch(s,this),this.#k=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#i({type:"fetch",meta:s.fetchOptions?.meta});const i=e=>{(0,r.DV)(e)&&e.silent||this.#i({type:"error",error:e}),(0,r.DV)(e)||(this.#E.config.onError?.(e,this),this.#E.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#s=(0,r.Mz)({fn:s.fetchFn,abort:a.abort.bind(a),onSuccess:e=>{void 0!==e?(this.setData(e),this.#E.config.onSuccess?.(e,this),this.#E.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):i(new Error(`${this.queryHash} data is undefined`))},onError:i,onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode}),this.#y=this.#s.promise,this.#y}#i(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:e.meta??null,fetchStatus:(0,r.Kw)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"pending"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return(0,r.DV)(a)&&a.revert&&this.#k?{...this.#k,fetchStatus:"idle"}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),c.V.batch((()=>{this.#n.forEach((e=>{e.onQueryUpdate()})),this.#E.notify({query:this,type:"updated",action:e})}))}}},77:(e,t,a)=>{"use strict";a.d(t,{t:()=>i});var n=a(1356),c=a(3749),r=a(6673),s=a(2486),i=class extends s.l{constructor(e={}){super(),this.config=e,this.#j=new Map}#j;build(e,t,a){const r=t.queryKey,s=t.queryHash??(0,n.Rm)(r,t);let i=this.get(s);return i||(i=new c.A({cache:this,queryKey:r,queryHash:s,options:e.defaultQueryOptions(t),state:a,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#j.has(e.queryHash)||(this.#j.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#j.get(e.queryHash);t&&(e.destroy(),t===e&&this.#j.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){r.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#j.get(e)}getAll(){return[...this.#j.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,n.MD)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,n.MD)(e,t))):t}notify(e){r.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){r.V.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){r.V.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}}},5229:(e,t,a)=>{"use strict";a.d(t,{S:()=>u});var n=a(1356),c=a(77),r=a(9344),s=a(3355),i=a(5433),o=a(6673),l=a(2344),u=class{#C;#r;#c;#N;#R;#Z;#x;#z;constructor(e={}){this.#C=e.queryCache||new c.t,this.#r=e.mutationCache||new r.L,this.#c=e.defaultOptions||{},this.#N=new Map,this.#R=new Map,this.#Z=0}mount(){this.#Z++,1===this.#Z&&(this.#x=s.j.subscribe((()=>{s.j.isFocused()&&(this.resumePausedMutations(),this.#C.onFocus())})),this.#z=i.N.subscribe((()=>{i.N.isOnline()&&(this.resumePausedMutations(),this.#C.onOnline())})))}unmount(){this.#Z--,0===this.#Z&&(this.#x?.(),this.#x=void 0,this.#z?.(),this.#z=void 0)}isFetching(e){return this.#C.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#r.findAll({...e,status:"pending"}).length}getQueryData(e){return this.#C.find({queryKey:e})?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return void 0!==t?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,a){const c=this.#C.find({queryKey:e}),r=c?.state.data,s=(0,n.SE)(t,r);if(void 0===s)return;const i=this.defaultQueryOptions({queryKey:e});return this.#C.build(this,i).setData(s,{...a,manual:!0})}setQueriesData(e,t,a){return o.V.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,a)]))))}getQueryState(e){return this.#C.find({queryKey:e})?.state}removeQueries(e){const t=this.#C;o.V.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const a=this.#C,n={type:"active",...e};return o.V.batch((()=>(a.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(n,t))))}cancelQueries(e={},t={}){const a={revert:!0,...t},c=o.V.batch((()=>this.#C.findAll(e).map((e=>e.cancel(a)))));return Promise.all(c).then(n.ZT).catch(n.ZT)}invalidateQueries(e={},t={}){return o.V.batch((()=>{if(this.#C.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const a={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(a,t)}))}refetchQueries(e={},t){const a={...t,cancelRefetch:t?.cancelRefetch??!0},c=o.V.batch((()=>this.#C.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,a);return a.throwOnError||(t=t.catch(n.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(c).then(n.ZT)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const a=this.#C.build(this,t);return a.isStaleByTime(t.staleTime)?a.fetch(t):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.ZT).catch(n.ZT)}fetchInfiniteQuery(e){return e.behavior=(0,l.Gm)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.ZT).catch(n.ZT)}resumePausedMutations(){return this.#r.resumePausedMutations()}getQueryCache(){return this.#C}getMutationCache(){return this.#r}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#N.set((0,n.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#N.values()];let a={};return t.forEach((t=>{(0,n.to)(e,t.queryKey)&&(a={...a,...t.defaultOptions})})),a}setMutationDefaults(e,t){this.#R.set((0,n.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#R.values()];let a={};return t.forEach((t=>{(0,n.to)(e,t.mutationKey)&&(a={...a,...t.defaultOptions})})),a}defaultQueryOptions(e){if(e?._defaulted)return e;const t={...this.#c.queries,...e?.queryKey&&this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),void 0===t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#C.clear(),this.#r.clear()}}},4e3:(e,t,a)=>{"use strict";a.d(t,{z:()=>o});var n=a(1356),c=a(6673),r=a(3355),s=a(2486),i=a(3963),o=class extends s.l{constructor(e,t){super(),this.options=t,this.#d=e,this.#S=null,this.bindMethods(),this.setOptions(t)}#d;#M=void 0;#L=void 0;#m=void 0;#P;#A;#S;#V;#H;#O;#I;#B;#T;#U=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#M.addObserver(this),l(this.#M,this.options)?this.#F():this.updateResult(),this.#D())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.#M,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.#M,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#q(),this.#J(),this.#M.removeObserver(this)}setOptions(e,t){const a=this.options,c=this.#M;if(this.options=this.#d.defaultQueryOptions(e),(0,n.VS)(a,this.options)||this.#d.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#M,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=a.queryKey),this.#G();const r=this.hasListeners();r&&d(this.#M,c,this.options,a)&&this.#F(),this.updateResult(t),!r||this.#M===c&&this.options.enabled===a.enabled&&this.options.staleTime===a.staleTime||this.#W();const s=this.#Q();!r||this.#M===c&&this.options.enabled===a.enabled&&s===this.#T||this.#K(s)}getOptimisticResult(e){const t=this.#d.getQueryCache().build(this.#d,e),a=this.createResult(t,e);return function(e,t){if(!(0,n.VS)(e.getCurrentResult(),t))return!0;return!1}(this,a)&&(this.#m=a,this.#A=this.options,this.#P=this.#M.state),a}getCurrentResult(){return this.#m}trackResult(e){const t={};return Object.keys(e).forEach((a=>{Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:()=>(this.#U.add(a),e[a])})})),t}getCurrentQuery(){return this.#M}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#d.defaultQueryOptions(e),a=this.#d.getQueryCache().build(this.#d,t);return a.isFetchingOptimistic=!0,a.fetch().then((()=>this.createResult(a,t)))}fetch(e){return this.#F({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#m)))}#F(e){this.#G();let t=this.#M.fetch(this.options,e);return e?.throwOnError||(t=t.catch(n.ZT)),t}#W(){if(this.#q(),n.sk||this.#m.isStale||!(0,n.PN)(this.options.staleTime))return;const e=(0,n.Kp)(this.#m.dataUpdatedAt,this.options.staleTime)+1;this.#I=setTimeout((()=>{this.#m.isStale||this.updateResult()}),e)}#Q(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#M):this.options.refetchInterval)??!1}#K(e){this.#J(),this.#T=e,!n.sk&&!1!==this.options.enabled&&(0,n.PN)(this.#T)&&0!==this.#T&&(this.#B=setInterval((()=>{(this.options.refetchIntervalInBackground||r.j.isFocused())&&this.#F()}),this.#T))}#D(){this.#W(),this.#K(this.#Q())}#q(){this.#I&&(clearTimeout(this.#I),this.#I=void 0)}#J(){this.#B&&(clearInterval(this.#B),this.#B=void 0)}createResult(e,t){const a=this.#M,c=this.options,r=this.#m,s=this.#P,o=this.#A,u=e!==a?e.state:this.#L,{state:p}=e;let h,{error:g,errorUpdatedAt:v,fetchStatus:f,status:w}=p,k=!1;if(t._optimisticResults){const n=this.hasListeners(),r=!n&&l(e,t),s=n&&d(e,a,t,c);(r||s)&&(f=(0,i.Kw)(e.options.networkMode)?"fetching":"paused",p.dataUpdatedAt||(w="pending")),"isRestoring"===t._optimisticResults&&(f="idle")}if(t.select&&void 0!==p.data)if(r&&p.data===s?.data&&t.select===this.#V)h=this.#H;else try{this.#V=t.select,h=t.select(p.data),h=(0,n.oE)(r?.data,h,t),this.#H=h,this.#S=null}catch(e){this.#S=e}else h=p.data;if(void 0!==t.placeholderData&&void 0===h&&"pending"===w){let e;if(r?.isPlaceholderData&&t.placeholderData===o?.placeholderData)e=r.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#O?.state.data,this.#O):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#S=null}catch(e){this.#S=e}void 0!==e&&(w="success",h=(0,n.oE)(r?.data,e,t),k=!0)}this.#S&&(g=this.#S,h=this.#H,v=Date.now(),w="error");const E="fetching"===f,y="pending"===w,b="error"===w,_=y&&E;return{status:w,fetchStatus:f,isPending:y,isSuccess:"success"===w,isError:b,isInitialLoading:_,isLoading:_,data:h,dataUpdatedAt:p.dataUpdatedAt,error:g,errorUpdatedAt:v,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>u.dataUpdateCount||p.errorUpdateCount>u.errorUpdateCount,isFetching:E,isRefetching:E&&!y,isLoadingError:b&&0===p.dataUpdatedAt,isPaused:"paused"===f,isPlaceholderData:k,isRefetchError:b&&0!==p.dataUpdatedAt,isStale:m(e,t),refetch:this.refetch}}updateResult(e){const t=this.#m,a=this.createResult(this.#M,this.options);if(this.#P=this.#M.state,this.#A=this.options,void 0!==this.#P.data&&(this.#O=this.#M),(0,n.VS)(a,t))return;this.#m=a;const c={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,a="function"==typeof e?e():e;if("all"===a||!a&&!this.#U.size)return!0;const n=new Set(a??this.#U);return this.options.throwOnError&&n.add("error"),Object.keys(this.#m).some((e=>{const a=e;return this.#m[a]!==t[a]&&n.has(a)}))})()&&(c.listeners=!0),this.#v({...c,...e})}#G(){const e=this.#d.getQueryCache().build(this.#d,this.options);if(e===this.#M)return;const t=this.#M;this.#M=e,this.#L=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#D()}#v(e){c.V.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#m)})),this.#d.getQueryCache().notify({query:this.#M,type:"observerResultsUpdated"})}))}};function l(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&u(e,t,t.refetchOnMount)}function u(e,t,a){if(!1!==t.enabled){const n="function"==typeof a?a(e):a;return"always"===n||!1!==n&&m(e,t)}return!1}function d(e,t,a,n){return!1!==a.enabled&&(e!==t||!1===n.enabled)&&(!a.suspense||"error"!==e.state.status)&&m(e,a)}function m(e,t){return e.isStaleByTime(t.staleTime)}},9992:(e,t,a)=>{"use strict";a.d(t,{F:()=>c});var n=a(1356),c=class{#$;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.PN)(this.gcTime)&&(this.#$=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.sk?1/0:3e5))}clearGcTimeout(){this.#$&&(clearTimeout(this.#$),this.#$=void 0)}}},3963:(e,t,a)=>{"use strict";a.d(t,{DV:()=>l,Kw:()=>i,Mz:()=>u});var n=a(3355),c=a(5433),r=a(1356);function s(e){return Math.min(1e3*2**e,3e4)}function i(e){return"online"!==(e??"online")||c.N.isOnline()}var o=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof o}function u(e){let t,a,l,u=!1,d=0,m=!1;const p=new Promise(((e,t)=>{a=e,l=t})),h=()=>!n.j.isFocused()||"always"!==e.networkMode&&!c.N.isOnline(),g=n=>{m||(m=!0,e.onSuccess?.(n),t?.(),a(n))},v=a=>{m||(m=!0,e.onError?.(a),t?.(),l(a))},f=()=>new Promise((a=>{t=e=>{const t=m||!h();return t&&a(e),t},e.onPause?.()})).then((()=>{t=void 0,m||e.onContinue?.()})),w=()=>{if(m)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(g).catch((t=>{if(m)return;const a=e.retry??(r.sk?0:3),n=e.retryDelay??s,c="function"==typeof n?n(d,t):n,i=!0===a||"number"==typeof a&&d{if(h())return f()})).then((()=>{u?v(t):w()}))):v(t)}))};return i(e.networkMode)?w():f().then(w),{promise:p,cancel:t=>{m||(v(new o(t)),e.abort?.())},continue:()=>{const e=t?.();return e?p:Promise.resolve()},cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1}}}},2486:(e,t,a)=>{"use strict";a.d(t,{l:()=>n});var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},1356:(e,t,a)=>{"use strict";a.d(t,{Ht:()=>y,Kp:()=>i,MD:()=>o,PN:()=>s,Rm:()=>u,SE:()=>r,VS:()=>h,VX:()=>E,X7:()=>l,Ym:()=>d,ZT:()=>c,_v:()=>w,oE:()=>k,sk:()=>n,to:()=>m});var n="undefined"==typeof window||"Deno"in window;function c(){}function r(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function i(e,t){return Math.max(e+(t||0)-Date.now(),0)}function o(e,t){const{type:a="all",exact:n,fetchStatus:c,predicate:r,queryKey:s,stale:i}=e;if(s)if(n){if(t.queryHash!==u(s,t.options))return!1}else if(!m(t.queryKey,s))return!1;if("all"!==a){const e=t.isActive();if("active"===a&&!e)return!1;if("inactive"===a&&e)return!1}return("boolean"!=typeof i||t.isStale()===i)&&((void 0===c||c===t.state.fetchStatus)&&!(r&&!r(t)))}function l(e,t){const{exact:a,status:n,predicate:c,mutationKey:r}=e;if(r){if(!t.options.mutationKey)return!1;if(a){if(d(t.options.mutationKey)!==d(r))return!1}else if(!m(t.options.mutationKey,r))return!1}return(!n||t.state.status===n)&&!(c&&!c(t))}function u(e,t){return(t?.queryKeyHashFn||d)(e)}function d(e){return JSON.stringify(e,((e,t)=>v(t)?Object.keys(t).sort().reduce(((e,a)=>(e[a]=t[a],e)),{}):t))}function m(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((a=>!m(e[a],t[a]))))}function p(e,t){if(e===t)return e;const a=g(e)&&g(t);if(a||v(e)&&v(t)){const n=a?e:Object.keys(e),c=n.length,r=a?t:Object.keys(t),s=r.length,i=a?[]:{};let o=0;for(let c=0;c{setTimeout(t,e)}))}function k(e,t,a){return"function"==typeof a.structuralSharing?a.structuralSharing(e,t):!1!==a.structuralSharing?p(e,t):t}function E(e,t,a=0){const n=[...e,t];return a&&n.length>a?n.slice(1):n}function y(e,t,a=0){const n=[t,...e];return a&&n.length>a?n.slice(0,-1):n}},1696:(e,t,a)=>{"use strict";a.d(t,{NL:()=>s,aH:()=>i});var n=a(9196),c=a(275),r=n.createContext(void 0),s=e=>{const t=n.useContext(r);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},i=({client:e,children:t})=>(n.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,c.jsx)(r.Provider,{value:e,children:t}))},7503:(e,t,a)=>{"use strict";a.d(t,{_:()=>s});var n=a(9196);a(275);function c(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var r=n.createContext(c()),s=()=>n.useContext(r)},4974:(e,t,a)=>{"use strict";a.d(t,{JN:()=>s,KJ:()=>i,pf:()=>r});var n=a(9196),c=a(4966),r=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},s=e=>{n.useEffect((()=>{e.clearReset()}),[e])},i=({result:e,errorResetBoundary:t,throwOnError:a,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(0,c.L)(a,[e.error,n])},5826:(e,t,a)=>{"use strict";a.d(t,{S:()=>r});var n=a(9196),c=n.createContext(!1),r=()=>n.useContext(c);c.Provider},4243:(e,t,a)=>{"use strict";a.d(t,{Fb:()=>n,SB:()=>c,j8:()=>r});var n=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},c=(e,t)=>e?.suspense&&t.isPending,r=(e,t,a)=>t.fetchOptimistic(e).catch((()=>{a.clearReset()}))},1841:(e,t,a)=>{"use strict";a.d(t,{r:()=>u});var n=a(9196),c=a(6673),r=a(7503),s=a(1696),i=a(5826),o=a(4974),l=a(4243);function u(e,t,a){const u=(0,s.NL)(a),d=(0,i.S)(),m=(0,r._)(),p=u.defaultQueryOptions(e);p._optimisticResults=d?"isRestoring":"optimistic",(0,l.Fb)(p),(0,o.pf)(p,m),(0,o.JN)(m);const[h]=n.useState((()=>new t(u,p))),g=h.getOptimisticResult(p);if(n.useSyncExternalStore(n.useCallback((e=>{const t=d?()=>{}:h.subscribe(c.V.batchCalls(e));return h.updateResult(),t}),[h,d]),(()=>h.getCurrentResult()),(()=>h.getCurrentResult())),n.useEffect((()=>{h.setOptions(p,{listeners:!1})}),[p,h]),(0,l.SB)(p,g))throw(0,l.j8)(p,h,m);if((0,o.KJ)({result:g,errorResetBoundary:m,throwOnError:p.throwOnError,query:u.getQueryCache().get(p.queryHash)}))throw g.error;return p.notifyOnChangeProps?g:h.trackResult(g)}},2016:(e,t,a)=>{"use strict";a.d(t,{D:()=>o});var n=a(9196),c=a(8507),r=a(6673),s=a(1696),i=a(4966);function o(e,t){const a=(0,s.NL)(t),[o]=n.useState((()=>new c.X(a,e)));n.useEffect((()=>{o.setOptions(e)}),[o,e]);const u=n.useSyncExternalStore(n.useCallback((e=>o.subscribe(r.V.batchCalls(e))),[o]),(()=>o.getCurrentResult()),(()=>o.getCurrentResult())),d=n.useCallback(((e,t)=>{o.mutate(e,t).catch(l)}),[o]);if(u.error&&(0,i.L)(o.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:d,mutateAsync:u.mutate}}function l(){}},5885:(e,t,a)=>{"use strict";a.d(t,{a:()=>r});var n=a(4e3),c=a(1841);function r(e,t){return(0,c.r)(e,n.z,t)}},4966:(e,t,a)=>{"use strict";function n(e,t){return"function"==typeof e?e(...t):!!e}a.d(t,{L:()=>n})},8288:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(6895),c=a(9307),r=a(5736),s=a(3059),i=a(9196),o=a(9430);const __=r.__,l=e=>{const{productId:t,siteRawUrl:a}=e,r=`https://cloud.jetpack.com/landing/${a}`,s=(0,o.F)(t),l={jetpack_anti_spam:{title:__("Jetpack Anti-spam is active!","jetpack-my-jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack-my-jetpack")},jetpack_backup:{title:__("Jetpack Backup is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups and restore your site on cloud.jetpack.com. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:r})})},jetpack_complete:{title:__("Jetpack Complete is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on cloud.jetpack.com. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:r})})},jetpack_scan:{title:__("Jetpack Scan is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your security scans on cloud.jetpack.com.","jetpack-my-jetpack"),{a:i.createElement("a",{href:r})})},jetpack_search:{title:__("Jetpack Search is active!","jetpack-my-jetpack"),text:__("Next, we'll help you customize the Search experience for your visitors.","jetpack-my-jetpack")},jetpack_security:{title:__("Jetpack Security is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on cloud.jetpack.com. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:r})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack-my-jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack-my-jetpack")},jetpack_social_advanced:{title:__("Jetpack Social Advanced is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("Create amazing link previews for your posts using Social Image Generator. Learn more here.

Learn how to make the most out of Jetpack Social here.

","jetpack-my-jetpack"),{a:i.createElement("a",{href:(0,n.Z)("jetpack-social-sig-support-page"),target:"_blank",rel:"noreferrer"}),br:i.createElement("br",null),link:i.createElement("a",{href:(0,n.Z)("social-plugin-publicize-support-admin-page"),target:"_blank",rel:"noreferrer"})})},jetpack_social_basic:{title:__("Jetpack Social Basic is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("Enjoy unlimited shares with Jetpack Social Basic. Learn how to make the most out of Jetpack Social here.","jetpack-my-jetpack"),{a:i.createElement("a",{href:(0,n.Z)("social-plugin-publicize-support-admin-page"),target:"_blank",rel:"noreferrer"})})},default:{title:__("Your product is active!","jetpack-my-jetpack"),text:__("You're all set!","jetpack-my-jetpack")}};return i.createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},i.createElement("h1",null,l[s].title," ",String.fromCodePoint(127881)),i.createElement("p",null,l[s].text))};l.propTypes={dashboardUrl:s.string,productId:s.number};const u=l},9430:(e,t,a)=>{"use strict";a.d(t,{F:()=>c});const n={jetpack_anti_spam:[2110,2111],jetpack_backup:[2100,2101,2102,2103,2112,2113,2114,2115],jetpack_complete:[2014,2015],jetpack_scan:[2106,2107,2108,2109],jetpack_search:[2104,2105],jetpack_security:[2010,2011,2012,2013,2016,2017,2019,2020],jetpack_videopress:[2116,2117],jetpack_social_advanced:[2602,2603,2604],jetpack_social_basic:[2503,2504,2037]};function c(e){return Object.keys(n).find((t=>n[t].includes(e)))||"default"}},2180:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(6989),c=a(9307);const r=async()=>(await n({path:"wp/v2/plugins"})).filter((e=>"active"===e.status));function s(){const[e,t]=(0,c.useState)([]),[a,n]=(0,c.useState)(!0),s=(0,c.useCallback)((async()=>{try{const e=await r();t(e)}catch{t([])}finally{n(!1)}}),[]);return(0,c.useEffect)((()=>{s()}),[s]),[e,a]}}},t={};function a(n){var c=t[n];if(void 0!==c)return c.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";var e=a(8275),t=a(5229),n=a(1696),c=a(9307),r=a(9196),s=a.n(r),i=a(6417),o=a(9997),l=a(1899),u=a(6317),d=a(8966),m=a(8093),p=a(4257),h=a(4517),g=a(673),v=a(8209),f=a(8437),w=a(1838);a(5878);function k(){const e=(0,i.TH)();return(0,r.useEffect)((()=>window.scrollTo(0,0)),[e]),null}const E=()=>{const a=new t.S,{loadAddLicenseScreen:c}=(0,w.$9)();return s().createElement(e.ZP,null,s().createElement(f.Z,null,s().createElement(n.aH,{client:a},s().createElement(o.UT,null,s().createElement(k,null),s().createElement(i.Z5,null,s().createElement(i.AW,{path:v.xB.Home,element:s().createElement(d.Z,null)}),s().createElement(i.AW,{path:v.xB.Connection,element:s().createElement(u.Z,null)}),s().createElement(i.AW,{path:v.xB.AddAkismet,element:s().createElement(m.q,null)}),s().createElement(i.AW,{path:v.xB.AddAntiSpam,element:s().createElement(i.Fg,{replace:!0,to:v.xB.AddAkismet})}),s().createElement(i.AW,{path:v.xB.AddBackup,element:s().createElement(m.qA,null)}),s().createElement(i.AW,{path:v.xB.AddBoost,element:s().createElement(m.WJ,null)}),s().createElement(i.AW,{path:v.xB.AddCRM,element:s().createElement(m.B$,null)}),s().createElement(i.AW,{path:v.xB.AddCreator,element:s().createElement(m.Wf,null)}),s().createElement(i.AW,{path:v.xB.AddJetpackAI,element:s().createElement(p.Z,null)}),s().createElement(i.AW,{path:v.xB.AddExtras,element:s().createElement(m.Yi,null)}),s().createElement(i.AW,{path:v.xB.AddProtect,element:s().createElement(m.jO,null)}),s().createElement(i.AW,{path:v.xB.AddScan,element:s().createElement(m.Q5,null)}),s().createElement(i.AW,{path:v.xB.AddSocial,element:s().createElement(m.y$,null)}),s().createElement(i.AW,{path:v.xB.AddSearch,element:s().createElement(m.uw,null)}),s().createElement(i.AW,{path:v.xB.AddVideoPress,element:s().createElement(m.Jw,null)}),s().createElement(i.AW,{path:v.xB.AddStats,element:s().createElement(m.r,null)}),c&&s().createElement(i.AW,{path:v.xB.AddLicense,element:s().createElement(l.Z,null)}),s().createElement(i.AW,{path:v.xB.RedeemToken,element:s().createElement(g.Z,null)}),s().createElement(i.AW,{path:"/redeem-token",element:s().createElement(g.Z,null)}),s().createElement(i.AW,{path:"/jetpack-ai",element:s().createElement(h.Z,null)}))))))};!function(){const e=document.getElementById("my-jetpack-container");null!==e&&(0,c.createRoot)(e).render(s().createElement(E,null))}()})()})();