From fafcdf65a5708fc1b59836588565412eae3ca95d Mon Sep 17 00:00:00 2001 From: haqadn Date: Wed, 13 Sep 2023 04:09:58 +0000 Subject: [PATCH] Launchpad: New behaviour for navigator checklists (#33011) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add checklists behaviour * changelog * clearer code * more defaults * add more info to the checklists * add title to response * clearer code --------- Co-authored-by: Andrés Blanco Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6167756449 --- CHANGELOG.md | 8 ++++++++ build/index.asset.php | 2 +- build/index.js | 36 ++++++++++++++++++------------------ composer.json | 4 ++-- package.json | 10 +++++----- src/class-initializer.php | 2 +- 6 files changed, 35 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe167ce0..43988097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.4.5-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Changed +- Updated package dependencies. + ## [3.4.4] - 2023-09-11 ### Changed - General: remove WP 6.1 backwards compatibility checks [#32772] @@ -1014,6 +1021,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[3.4.5-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.4.4...3.4.5-alpha [3.4.4]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.4.3...3.4.4 [3.4.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.4.2...3.4.3 [3.4.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.4.1...3.4.2 diff --git a/build/index.asset.php b/build/index.asset.php index 1ea16b66..86d7cd12 100644 --- a/build/index.asset.php +++ b/build/index.asset.php @@ -1 +1 @@ - array('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a7114d9b859b793c9b62'); + array('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a67c7452ff5b30375083'); diff --git a/build/index.js b/build/index.js index 2fd0d313..c67b3d69 100644 --- a/build/index.js +++ b/build/index.js @@ -1,34 +1,34 @@ /*! For license information please see index.js.LICENSE.txt */ -(()=>{var e={9487:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});const c={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 a(e){return c[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,n)=>{"use strict";n.d(t,{LR:()=>r});var c=n(9487),a=n(2003);function r(e,t,n={}){const r=(0,c.X)(t);if(!r||isNaN(e))return null;const{decimal:i,grouping:o,precision:s,symbol:l}={...r,...n},p=e<0?"-":"",u=Math.abs(e),d=Math.floor(u);return{sign:p,symbol:l,integer:(0,a.Z)(u,s,i,o).split(i)[0],fraction:s>0?(0,a.Z)(u-d,s,i,o).slice(1):""}}},2003:(e,t,n)=>{"use strict";function c(e,t=0,n=".",c=","){const a=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+a)?+a:0,i=isFinite(+t)?Math.abs(t):0,o=(i?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(r,i):""+Math.round(r)).split(".");return o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(o[1]||"").lengthc})},3170:(e,t,n)=>{"use strict";function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tu,RQ:()=>T,WK:()=>M,Zn:()=>R,Zq:()=>A,aU:()=>a,cP:()=>d,fp:()=>f,kG:()=>o,pC:()=>L,q_:()=>i}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));const r="popstate";function i(e){return void 0===e&&(e={}),g((function(e,t){let{pathname:n="/",search:c="",hash:a=""}=d(e.location.hash.substr(1));return p("",{pathname:n,search:c,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),c="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");c=-1===n?t:t.slice(0,n)}return c+"#"+("string"==typeof t?t:u(t))}),(function(e,t){s("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function o(e,t){if(!1===e||null==e)throw new Error(t)}function s(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 p(e,t,n,a){return void 0===n&&(n=null),c({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?d(t):t,{state:n,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:t="/",search:n="",hash:c=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),c&&"#"!==c&&(t+="#"===c.charAt(0)?c:"#"+c),t}function d(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let c=e.indexOf("?");c>=0&&(t.search=e.substr(c),e=e.substr(0,c)),e&&(t.pathname=e)}return t}function m(e){let t="undefined"!=typeof window&&void 0!==window.location&&"null"!==window.location.origin?window.location.origin:window.location.href,n="string"==typeof e?e:u(e);return o(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}function g(e,t,n,c){void 0===c&&(c={});let{window:i=document.defaultView,v5Compat:o=!1}=c,s=i.history,d=a.Pop,g=null;function h(){d=a.Pop,g&&g({action:d,location:f.location})}let f={get action(){return d},get location(){return e(i,s)},listen(e){if(g)throw new Error("A history only accepts one active listener");return i.addEventListener(r,h),g=e,()=>{i.removeEventListener(r,h),g=null}},createHref:e=>t(i,e),encodeLocation(e){let t=m("string"==typeof e?e:u(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){d=a.Push;let c=p(f.location,e,t);n&&n(c,e);let r=l(c),u=f.createHref(c);try{s.pushState(r,"",u)}catch(e){i.location.assign(u)}o&&g&&g({action:d,location:f.location})},replace:function(e,t){d=a.Replace;let c=p(f.location,e,t);n&&n(c,e);let r=l(c),i=f.createHref(c);s.replaceState(r,"",i),o&&g&&g({action:d,location:f.location})},go:e=>s.go(e)};return f}var h;function f(e,t,n){void 0===n&&(n="/");let c=R(("string"==typeof t?d(t):t).pathname||"/",n);if(null==c)return null;let a=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let r=null;for(let e=0;null==r&&e{let i={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(o(i.relativePath.startsWith(c),'Absolute route path "'+i.relativePath+'" nested under path "'+c+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(c.length));let s=T([c,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(o(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),y(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Z(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of v(e.path))a(e,t,n);else a(e,t)})),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...c]=t,a=n.endsWith("?"),r=n.replace(/\?$/,"");if(0===c.length)return a?[r,""]:[r];let i=v(c.join("/")),o=[];return o.push(...i.map((e=>""===e?r:[r,e].join("/")))),a&&o.push(...i),o.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const k=/^:\w+$/,E=3,b=2,j=1,_=10,w=-2,C=e=>"*"===e;function Z(e,t){let n=e.split("/"),c=n.length;return n.some(C)&&(c+=w),t&&(c+=b),n.filter((e=>!C(e))).reduce(((e,t)=>e+(k.test(t)?E:""===t?j:_)),c)}function N(e,t){let{routesMeta:n}=e,c={},a="/",r=[];for(let e=0;e(c.push(t),"/([^\\/]+)")));e.endsWith("*")?(c.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let r=new RegExp(a,t?void 0:"i");return[r,c]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let r=a[0],i=r.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:c.reduce(((e,t,n)=>{if("*"===t){let e=o[n]||"";i=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return I(!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 ('+n+")."),e}}(o[n]||"",t),e}),{}),pathname:r,pathnameBase:i,pattern:e}}function P(e){try{return decodeURI(e)}catch(t){return I(!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 R(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,c=e.charAt(n);return c&&"/"!==c?null:e.slice(n)||"/"}function I(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function x(e,t,n,c){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(c)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function A(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function L(e,t,n,a){let r;void 0===a&&(a=!1),"string"==typeof e?r=d(e):(r=c({},e),o(!r.pathname||!r.pathname.includes("?"),x("?","pathname","search",r)),o(!r.pathname||!r.pathname.includes("#"),x("#","pathname","hash",r)),o(!r.search||!r.search.includes("#"),x("#","search","hash",r)));let i,s=""===e||""===r.pathname,l=s?"/":r.pathname;if(a||null==l)i=n;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}i=e>=0?t[e]:"/"}let p=function(e,t){void 0===t&&(t="/");let{pathname:n,search:c="",hash:a=""}="string"==typeof e?d(e):e,r=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:r,search:F(c),hash:O(a)}}(r,i),u=l&&"/"!==l&&l.endsWith("/"),m=(s||"."===l)&&n.endsWith("/");return p.pathname.endsWith("/")||!u&&!m||(p.pathname+="/"),p}const T=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class z{constructor(e,t,n,c){void 0===c&&(c=!1),this.status=e,this.statusText=t||"",this.internal=c,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function M(e){return e instanceof z}const D=["post","put","patch","delete"],V=(new Set(D),["get",...D]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9307);const a=function({icon:e,size:t=24,...n}){return(0,c.cloneElement)(e,{width:t,height:t,...n})}},9404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"}))},9201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},6936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},5899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},3482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}))},1908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}))},797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,c.createElement)(a.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 n;!function(){"use strict";var c={}.hasOwnProperty;function a(){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 n="color: "+this.color;t.splice(1,0,n,"color: inherit");let c=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(c++,"%c"===e&&(a=c))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,a,r,i=null;function o(...e){if(!o.enabled)return;const c=o,a=Number(new Date),r=a-(n||a);c.diff=r,c.prev=n,c.curr=a,n=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,a)=>{if("%%"===n)return"%";i++;const r=t.formatters[a];if("function"==typeof r){const t=e[i];n=r.call(c,t),e.splice(i,1),i--}return n})),t.formatArgs.call(c,e);(c.log||t.log).apply(c,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=c,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(o),o}function c(e,n){const c=t(this.namespace+(void 0===n?":":n)+e);return c.log=this.log,c}function a(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(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const c=("string"==typeof e?e:"").split(/[\s,]+/),a=c.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";n.d(t,{Z:()=>c});const c={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},1494:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={section:"cAbGtJDGgLubucBnz7vM"}},281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},9171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},3466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},9054:()=>{},3247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},7946:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},7703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={global:"_fUXxnSp5pagKBp9gSN7"}},1510:()=>{},9610:()=>{},9836:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},4220:()=>{},287:()=>{},9823:()=>{},7664:()=>{},1008:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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"}},6234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"rV_5QyvhDnsVjCX4pb0h",link:"MO1jDNY8VPqeNS9xL8jE"}},8578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"hdasSNj9k3Sc5PwXK4uE",link:"eWN8Hj0SBRDq1F48n_Fg"}},1854:()=>{},4416:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={modal:"HeJe1crc9XaWWpLvIPit",container:"or0JUScxkJPmNsfrxkEK"}},1017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"jErCC9oKHSM15BxzFyQK",notice:"oVoYbwbFB6U2o90Njusk","bigger-than-medium":"Snc8NEmDelsbhlH4285s",message:"wBVXH4OTNwLHPRpN4nsq",nofill:"F1qvEnFfHs5nz3zFZUOV"}},6891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"wiobThfXJCuhGNrbFIT6","expire-date":"VgAxgahF9bC2M__FiIgV","expire-date--with-icon":"dbRwkMLqcMF67njPoAF7","actions-list-item":"Doju0RxvvN9JS12mf489"}},9720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"pIsYsXFAJ9KX2VrS5rmY","is-link":"YXHdD0VsFjiTsVRLrrx9","has-error":"Pp9cMIaESLYelLOX3tkI",title:"LHYJUrOej3toDvOAiz4k",name:"w56ueQLYexqzTybA7015",description:"gmPKCDKZcfQt9WieTyKS",actions:"fDBaV7I4yUO6w5AWVEtr",status:"f5VJYwuJmjxH8PVxEbbv",active:"ry3pxoGtmQ0ZeSwp7F_3",inactive:"LZzE3EG7m3CDR46wwwEr",error:"Vx_jpT02r8W6NfsRSB02","is-fetching":"PdsJCfyyjSgrNDheF2qi","blink-animation":"dWP7ypkVXudMbAa38W5Z"}},523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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",disclaimers:"sEcLfpWjo0GF7QrxD3Lt","price-container":"xgv3jRkeF39aEQELCwru",price:"twlleZ5Ehq4bB7CvKVSW","is-old":"Qg4rPEvXsqmod1s_31d8","price-description":"ApsgxIornVy_3KnciVeJ","supporting-info":"NMxcZL17aEP7v81uG3zD","tos-container":"gCTKfAPzJqZas7CaRbKN"}},1287:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"SWwV4Pw6OZ5vU3PqPXmr",imageContainer:"r7tUofa9Z3A5ziKVR1H7",aiImageContainer:"i_AnOR3MaQLraGvb2QU5","product-interstitial__header":"YcYvLvdvWrb1EUZoVsE8","product-interstitial__license-activation-link":"uGTTsKoIOoZdYhk6uPnl"}},5878:()=>{},3171:e=>{var t=1e3,n=60*t,c=60*n,a=24*c,r=7*a,i=365.25*a;function o(e,t,n,c){var a=t>=1.5*n;return Math.round(e/n)+" "+c+(a?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!o)return;var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*c;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var r=Math.abs(e);if(r>=a)return o(e,r,a,"day");if(r>=c)return o(e,r,c,"hour");if(r>=n)return o(e,r,n,"minute");if(r>=t)return o(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=a)return Math.round(e/a)+"d";if(r>=c)return Math.round(e/c)+"h";if(r>=n)return Math.round(e/n)+"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,n)=>{"use strict";var c=n(3713);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5844:(e,t,n)=>{e.exports=n(7556)()},3713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:(e,t,n)=>{"use strict";var c=n(758);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5162:(e,t,n)=>{e.exports=n(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9997:(e,t,n)=>{"use strict";n.d(t,{UT:()=>p,lr:()=>g,rU:()=>u});var c=n(9196),a=n(6417),r=n(3170);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}function s(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let c=e[n];return t.concat(Array.isArray(c)?c.map((e=>[n,e])):[[n,c]])}),[]))}const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function p(e){let{basename:t,children:n,window:i}=e,o=c.useRef();null==o.current&&(o.current=(0,r.q_)({window:i,v5Compat:!0}));let s=o.current,[l,p]=c.useState({action:s.action,location:s.location});return c.useLayoutEffect((()=>s.listen(p)),[s]),c.createElement(a.F0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const u=c.forwardRef((function(e,t){let{onClick:n,relative:s,reloadDocument:p,replace:u,state:d,target:m,to:g,preventScrollReset:h}=e,f=o(e,l),y=(0,a.oQ)(g,{relative:s}),v=function(e,t){let{target:n,replace:i,state:o,preventScrollReset:s,relative:l}=void 0===t?{}:t,p=(0,a.s0)(),u=(0,a.TH)(),d=(0,a.WU)(e,{relative:l});return c.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,n)){t.preventDefault();let n=void 0!==i?i:(0,r.Ep)(u)===(0,r.Ep)(d);p(e,{replace:n,state:o,preventScrollReset:s,relative:l})}}),[u,p,d,i,o,n,e,s,l])}(g,{replace:u,state:d,target:m,preventScrollReset:h,relative:s});return c.createElement("a",i({},f,{href:y,onClick:p?n:function(e){n&&n(e),e.defaultPrevented||v(e)},ref:t,target:m}))}));var d,m;function g(e){let t=c.useRef(s(e)),n=(0,a.TH)(),r=c.useMemo((()=>function(e,t){let n=s(e);for(let e of t.keys())n.has(e)||t.getAll(e).forEach((t=>{n.append(e,t)}));return n}(n.search,t.current)),[n.search]),i=(0,a.s0)(),o=c.useCallback(((e,t)=>{const n=s("function"==typeof e?e(r):e);i("?"+n,t)}),[i,r]);return[r,o]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(d||(d={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(m||(m={}))},6417:(e,t,n)=>{"use strict";n.d(t,{AW:()=>A,F0:()=>L,Fg:()=>x,TH:()=>b,WU:()=>_,Z5:()=>T,oQ:()=>k,s0:()=>j});var c=n(3170),a=n(9196);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.value=c,a.getSnapshot=t,u(a)&&r({inst:a})}),[e,c,t]),s((()=>{u(a)&&r({inst:a});return e((()=>{u(a)&&r({inst:a})}))}),[e]),p(c),c};"useSyncExternalStore"in a&&a.useSyncExternalStore;const m=a.createContext(null);const g=a.createContext(null);const h=a.createContext(null);const f=a.createContext(null);const y=a.createContext({outlet:null,matches:[]});const v=a.createContext(null);function k(e,t){let{relative:n}=void 0===t?{}:t;E()||(0,c.kG)(!1);let{basename:r,navigator:i}=a.useContext(h),{hash:o,pathname:s,search:l}=_(e,{relative:n}),p=s;return"/"!==r&&(p="/"===s?r:(0,c.RQ)([r,s])),i.createHref({pathname:p,search:l,hash:o})}function E(){return null!=a.useContext(f)}function b(){return E()||(0,c.kG)(!1),a.useContext(f).location}function j(){E()||(0,c.kG)(!1);let{basename:e,navigator:t}=a.useContext(h),{matches:n}=a.useContext(y),{pathname:r}=b(),i=JSON.stringify((0,c.Zq)(n).map((e=>e.pathnameBase))),o=a.useRef(!1);return a.useEffect((()=>{o.current=!0})),a.useCallback((function(n,a){if(void 0===a&&(a={}),!o.current)return;if("number"==typeof n)return void t.go(n);let s=(0,c.pC)(n,JSON.parse(i),r,"path"===a.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:(0,c.RQ)([e,s.pathname])),(a.replace?t.replace:t.push)(s,a.state,a)}),[e,t,i,r])}function _(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=a.useContext(y),{pathname:i}=b(),o=JSON.stringify((0,c.Zq)(r).map((e=>e.pathnameBase)));return a.useMemo((()=>(0,c.pC)(e,JSON.parse(o),i,"path"===n)),[e,o,i,n])}function w(){let e=function(){var e;let t=a.useContext(v),n=R(P.UseRouteError),c=I(P.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[c]}(),t=(0,c.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unhandled Thrown Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:i},n):null,a.createElement("p",null,"💿 Hey developer 👋"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",a.createElement("code",{style:o},"errorElement")," props on ",a.createElement("code",{style:o},"")))}class C extends a.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?a.createElement(y.Provider,{value:this.props.routeContext},a.createElement(v.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Z(e){let{routeContext:t,match:n,children:c}=e,r=a.useContext(m);return r&&r.static&&r.staticContext&&n.route.errorElement&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(y.Provider,{value:t},c)}function N(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,i=null==n?void 0:n.errors;if(null!=i){let e=r.findIndex((e=>e.route.id&&(null==i?void 0:i[e.route.id])));e>=0||(0,c.kG)(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,c,o)=>{let s=c.route.id?null==i?void 0:i[c.route.id]:null,l=n?c.route.errorElement||a.createElement(w,null):null,p=t.concat(r.slice(0,o+1)),u=()=>a.createElement(Z,{match:c,routeContext:{outlet:e,matches:p}},s?l:void 0!==c.route.element?c.route.element:e);return n&&(c.route.errorElement||0===o)?a.createElement(C,{location:n.location,component:l,error:s,children:u(),routeContext:{outlet:null,matches:p}}):u()}),null)}var S,P;function R(e){let t=a.useContext(g);return t||(0,c.kG)(!1),t}function I(e){let t=function(e){let t=a.useContext(y);return t||(0,c.kG)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,c.kG)(!1),n.route.id}!function(e){e.UseRevalidator="useRevalidator"}(S||(S={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(P||(P={}));function x(e){let{to:t,replace:n,state:r,relative:i}=e;E()||(0,c.kG)(!1);let o=a.useContext(g),s=j();return a.useEffect((()=>{o&&"idle"!==o.navigation.state||s(t,{replace:n,state:r,relative:i})})),null}function A(e){(0,c.kG)(!1)}function L(e){let{basename:t="/",children:n=null,location:r,navigationType:i=c.aU.Pop,navigator:o,static:s=!1}=e;E()&&(0,c.kG)(!1);let l=t.replace(/^\/*/,"/"),p=a.useMemo((()=>({basename:l,navigator:o,static:s})),[l,o,s]);"string"==typeof r&&(r=(0,c.cP)(r));let{pathname:u="/",search:d="",hash:m="",state:g=null,key:y="default"}=r,v=a.useMemo((()=>{let e=(0,c.Zn)(u,l);return null==e?null:{pathname:e,search:d,hash:m,state:g,key:y}}),[l,u,d,m,g,y]);return null==v?null:a.createElement(h.Provider,{value:p},a.createElement(f.Provider,{children:n,value:{location:v,navigationType:i}}))}function T(e){let{children:t,location:n}=e,i=a.useContext(m);return function(e,t){E()||(0,c.kG)(!1);let{navigator:n}=a.useContext(h),i=a.useContext(g),{matches:o}=a.useContext(y),s=o[o.length-1],l=s?s.params:{},p=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let u,d=b();if(t){var m;let e="string"==typeof t?(0,c.cP)(t):t;"/"===p||(null==(m=e.pathname)?void 0:m.startsWith(p))||(0,c.kG)(!1),u=e}else u=d;let v=u.pathname||"/",k="/"===p?v:v.slice(p.length)||"/",j=(0,c.fp)(e,{pathname:k}),_=N(j&&j.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:(0,c.RQ)([p,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:(0,c.RQ)([p,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,i||void 0);return t&&_?a.createElement(f.Provider,{value:{location:r({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:c.aU.Pop}},_):_}(i&&!t?i.router.routes:F(t),n)}var U;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(U||(U={}));new Promise((()=>{}));a.Component;function F(e,t){void 0===t&&(t=[]);let n=[];return a.Children.forEach(e,((e,r)=>{if(!a.isValidElement(e))return;if(e.type===a.Fragment)return void n.push.apply(n,F(e.props.children,t));e.type!==A&&(0,c.kG)(!1),e.props.index&&e.props.children&&(0,c.kG)(!1);let i=[...t,r],o={id:e.props.id||i.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&&(o.children=F(e.props.children,i)),n.push(o)})),n}},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(951);const a=n.n(c)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const o={initialize:function(e,t,n){o.setUser(e,t),o.setSuperProps(n),o.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){o.tracks.recordPageView(e),o.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,c,a,r,i){o.ga.recordPurchase(e,t,n,c,a,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(a("- Super Props: %o",r),t=Object.assign(t,r)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};o.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){o.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};o.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),o.ga.initialized=!0)},recordPageView:function(e,t){o.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,c){o.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==c&&(r+=" [Option Value: "+c+"]"),a(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,c)},recordPurchase:function(e,t,n,c,a,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:c,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=o},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var c=n(1132),a=n(6483);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=r("JsonParseError"),o=r("JsonParseAfterRedirectError"),s=r("Api404Error"),l=r("Api404AfterRedirectError"),p=r("FetchNetworkError");const u=new function(e,t){let n=e,r=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",c=n.length?n.split("&"):[];return c.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+c.join("&")};const p={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const a={registration_nonce:e,no_iframe:!0};return(0,c.jetpackConfigHas)("consumer_slug")&&(a.plugin_slug=(0,c.jetpackConfigGet)("consumer_slug")),null!==t&&(a.redirect_uri=t),g(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(a)}).then(d).then(m)},fetchAuthorizationUrl:e=>u((0,a.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(d).then(m),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,o).then(m),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,o).then(d).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(d).then(m),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),disconnectSite:()=>g(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(d).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(d).then(m),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(d).then(m),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,s).then(d).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(d).then(m),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(d).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(d).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(d).then(m),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(d).then(m),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(d).then(m),updateSettings:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(d).then(m),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(d).then(m),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(d).then(m),installPlugin:(e,t)=>{const c={slug:e,status:"active"};return t&&(c.source=t),g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(c)}).then(d).then(m)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(d).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(d).then(m),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(d).then(m),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(d).then(m).then(f),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(d).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(d).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(d).then(m),updateSetting:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(d).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(d).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(d).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(d).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(d).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(d).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(d).then(m),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(d).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(d).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(d).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(d).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(d).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(d).then(m),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(d).then(m),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(d).then(m),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(d).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(d).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(d).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(d).then(m),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(d),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(d).then(m),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,s).then(d),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(d).then(m),fetchSearchPlanInfo:()=>u(`${r}jetpack/v4/search/plan`,o).then(d).then(m),fetchSearchSettings:()=>u(`${r}jetpack/v4/search/settings`,o).then(d).then(m),updateSearchSettings:e=>g(`${r}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSearchStats:()=>u(`${r}jetpack/v4/search/stats`,o).then(d).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(d).then(m),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(d).then(m),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,s,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${r}jetpack/v4/search/pricing`,o).then(d).then(m),fetchMigrationStatus:()=>u(`${n}jetpack/v4/migration/status`,o).then(d).then(m),fetchBackupUndoEvent:()=>u(`${n}jetpack/v4/site/backup/undo-event`,o).then(d).then(m)};function u(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(h)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new s})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new o(n):new i}function h(){throw new p}},7121:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(5609),a=n(5736),r=n(5235),i=n.n(r),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(526),d=n(2289);const __=a.__,m=e=>{const{label:t,onClick:n,isLoading:a,isDisabled:r,displayError:o,errorMessage:s}=e;return p().createElement(p().Fragment,null,p().createElement(u.Z,{className:i()(d.Z.button,"jp-action-button--button"),label:t,onClick:n,variant:"primary",disabled:a||r},a?p().createElement(c.Spinner,null):t),o&&p().createElement("p",{className:i()(d.Z.error,"jp-action-button__error")},s))};m.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,isDisabled:s().bool,displayError:s().bool,errorMessage:s().oneOfType([s().string,s().element])},m.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-my-jetpack")};const g=m},9105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5235),r=n.n(a),i=n(8237),o=n(8868),s=n(3846),l=n(3363),p=n(1494);const __=c.__,u=e=>{let{children:t,moduleName:n=__("Jetpack","jetpack-my-jetpack"),moduleNameHref:c,showHeader:a=!0,showFooter:u=!0,showBackground:d=!0,header:m}=e;const g=r()(p.Z["admin-page"],{[p.Z.background]:d});return React.createElement("div",{className:g},a&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,m||React.createElement(o.Z,null))),React.createElement(l.Z,{fluid:!0,horizontalSpacing:0},React.createElement(s.Z,null,t)),u&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,React.createElement(i.Z,{moduleName:n,moduleNameHref:c}))))}},6579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(511);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z.section},t)}},216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(281);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z["section-hero"]},t)}},4972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(797),a=n(496),r=n(9201),i=n(1074),o=n(5235),s=n.n(o),l=n(9196),p=n.n(l),u=n(9171);const d=e=>{switch(e){case"error":case"warning":default:return c.Z;case"info":return a.Z;case"success":return r.Z}},m=e=>{let{level:t,children:n,showIcon:c}=e;const a=s()(u.Z.container,u.Z[`is-${t}`]);return p().createElement("div",{className:a},c&&p().createElement("div",{className:u.Z["icon-wrapper"]},p().createElement(i.Z,{icon:d(t),className:u.Z.icon})),p().createElement("div",null,n))};m.defaultProps={level:"warning",showIcon:!0};const g=m},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{title:t=__("An Automattic Airline","jetpack-my-jetpack"),height:n=7,className:c,...r}=e;return l().createElement("svg",a()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:o()("jp-automattic-byline-logo",c)},r),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(2674),a=n.n(c),r=n(5609),i=n(1074),o=n(5381),s=n(5235),l=n.n(s),p=n(9196),u=n.n(p),d=n(3466);const m=(0,p.forwardRef)(((e,t)=>{const{children:n,variant:c="primary",size:s="normal",weight:p="bold",icon:m,iconSize:g,disabled:h,isDestructive:f,isLoading:y,isExternalLink:v,className:k,text:E,fullWidth:b,...j}=e,_=l()(d.Z.button,k,{[d.Z.normal]:"normal"===s,[d.Z.small]:"small"===s,[d.Z.icon]:Boolean(m),[d.Z.loading]:y,[d.Z.regular]:"regular"===p,[d.Z["full-width"]]:b,[d.Z["is-icon-button"]]:Boolean(m)&&!n});j.ref=t;const w="normal"===s?20:16,C=v&&u().createElement(i.Z,{size:w,icon:o.Z,className:d.Z["external-icon"]}),Z=v?"_blank":void 0,N=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return u().createElement(r.Button,a()({target:Z,variant:c,className:l()(_,{"has-text":!!m&&N}),icon:v?void 0:m,iconSize:g,disabled:h,"aria-disabled":h,isDestructive:f,text:E},j),y&&u().createElement(r.Spinner,null),u().createElement("span",null,n),C)}));m.displayName="Button";const g=m},9026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(2404);const c=e=>{let{format:t="horizontal",icon:n,imageUrl:c}=e;return React.createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:c?`url( ${c} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)}},7172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(17),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196);n(5785);const __=r.__;class l extends s.Component{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"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,c=this.props.width||e,a=this.props.style||{height:n,width:c},r="gridicons-"+this.props.icon,i=o()("gridicon",r,t,{"needs-offset":this.needsOffset(r,e)}),s=this.getSVGDescription(r);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:a,viewBox:"0 0 24 24",width:c,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},s?React.createElement("desc",null,s):null,this.renderIcon(r))}}a()(l,"defaultProps",{"aria-hidden":"false",focusable:"true"});const p=l},9665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5609),a=n(5235),r=n.n(a),i=n(9196),o=n.n(i),s=n(526),l=n(7172);n(1275);const p=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=e=>{let{className:t="",iconClassName:n="",placement:a="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:m=18,offset:g=10,title:h,children:f,popoverAnchorStyle:y="icon",forceShow:v=!1,wide:k=!1}=e;const[E,b]=(0,i.useState)(!1),j=(0,i.useCallback)((()=>b(!0)),[b]),_=(0,i.useCallback)((()=>b(!1)),[b]),w={position:p(a),placement:a,animate:u,noArrow:!1,resize:!1,flip:!1,offset:g,focusOnMount:"container",onClose:_,className:"icon-tooltip-container"},C="wrapper"===y,Z=r()("icon-tooltip-wrapper",t),N={left:C?0:-(62-m/2)+"px"},S=C&&v;return o().createElement("div",{className:Z,"data-testid":"icon-tooltip_wrapper"},!C&&o().createElement(s.Z,{variant:"link",onClick:j},o().createElement(l.Z,{className:n,icon:d,size:m})),o().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":k}),style:N},(S||E)&&o().createElement(c.Popover,w,o().createElement("div",null,h&&o().createElement("div",{className:"icon-tooltip-title"},h),o().createElement("div",{className:"icon-tooltip-content"},f)))))}},3396:(e,t,n)=>{"use strict";n.d(t,{KM:()=>u,VS:()=>h,_1:()=>d,r7:()=>p});var c=n(2674),a=n.n(c),r=n(5609),i=n(5235),o=n.n(i),s=n(5612);const l=e=>{let{className:t,size:n=24,viewBox:c="0 0 24 24",opacity:i=1,color:l="#2C3338",children:p}=e;const u={className:o()(s.Z.iconWrapper,t),width:n,height:n,viewBox:c,opacity:i,fill:void 0};return l&&(u.fill=l),React.createElement(r.SVG,a()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:i},p))},p=e=>{let{size:t,className:n=s.Z["star-icon"],color:c}=e;return React.createElement(l,{className:n,size:t,color:c},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"}))},u=e=>{let{size:t,className:n=s.Z["checkmark-icon"],color:c}=e;return React.createElement(l,{className:n,size:t,color:c},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"}))},d=e=>{let{size:t,className:n=s.Z.jetpack,color:c}=e;return React.createElement(l,{className:n,size:t,color:c,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"}))},m=e=>{let{className:t,fill:n="none",size:c,children:a}=e;return React.createElement(l,{className:o()(s.Z.socialIcon,t),size:c,color:n},a)},g={...{"anti-spam":e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,className:c,color:a}=e;return React.createElement(l,{className:c,size:n,opacity:t,color:a},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:p,videopress:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:d},...{facebook:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.facebook,c)},React.createElement(r.Path,{d:"M12,2C6.5,2,2,6.5,2,12c0,5,3.7,9.1,8.4,9.9v-7H7.9V12h2.5V9.8c0-2.5,1.5-3.9,3.8-3.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},instagram:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.instagram,c)},React.createElement(r.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},twitter:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.twitter,c)},React.createElement(r.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},linkedin:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.linkedin,c)},React.createElement(r.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},tumblr:e=>{let{fill:t,size:n,className:c,invert:a}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.tumblr,c)},a?React.createElement(r.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}):React.createElement(r.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},google:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.google,c)},React.createElement(r.Path,{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))},mastodon:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.mastodon,c)},React.createElement(r.Path,{d:"M 19.997205,6.2868955 C 19.729197,4.3162778 17.992912,2.7633017 15.93468,2.4623753 15.587434,2.4115195 14.271759,2.2264681 11.224008,2.2264681 h -0.02277 c -3.0485688,0 -3.7026204,0.1850577 -4.0498676,0.2359072 C 5.1504449,2.7549655 3.3231548,4.1503966 2.879815,6.1443318 2.6665754,7.1263038 2.6438193,8.2149794 2.6834329,9.2136207 c 0.056471,1.4321143 0.067433,2.8617113 0.1989115,4.2879943 0.090908,0.947406 0.2494696,1.887266 0.4745239,2.812521 0.4214237,1.708868 2.1273496,3.130966 3.7987144,3.71116 1.7894479,0.605052 3.7138403,0.705478 5.5577463,0.290088 0.202828,-0.04667 0.403445,-0.100873 0.601781,-0.162549 0.447558,-0.140863 0.972662,-0.298434 1.358683,-0.575188 0.0052,-0.004 0.0097,-0.0089 0.01266,-0.01471 0.0031,-0.0056 0.0047,-0.01218 0.005,-0.01866 v -1.382076 c -9.4e-5,-0.006 -0.0016,-0.01202 -0.0043,-0.01754 -0.0027,-0.0054 -0.0067,-0.01028 -0.01155,-0.01392 -0.0049,-0.0038 -0.01044,-0.0063 -0.01648,-0.0078 -0.006,-0.0013 -0.01218,-0.0013 -0.01825,7.1e-5 -1.181368,0.279106 -2.391962,0.419012 -3.606552,0.416801 -2.0902554,0 -2.6524392,-0.981126 -2.8134375,-1.3896 -0.1293933,-0.353009 -0.2115739,-0.721231 -0.2444221,-1.095331 -3.29e-4,-0.0063 8.463e-4,-0.0125 0.00348,-0.01832 0.00253,-0.0056 0.00649,-0.01077 0.011389,-0.01471 0.0049,-0.004 0.010755,-0.0068 0.016957,-0.0081 0.00617,-0.0014 0.012655,-0.0012 0.018808,3.52e-4 1.1616831,0.277201 2.3525266,0.417106 3.5475526,0.416801 0.287408,0 0.573966,0 0.861395,-0.0074 1.201893,-0.03335 2.468685,-0.0942 3.6512,-0.322606 0.02952,-0.0058 0.059,-0.01091 0.0843,-0.01833 1.865209,-0.354279 3.640245,-1.466278 3.820617,-4.282163 0.0068,-0.110869 0.0236,-1.161191 0.0236,-1.276219 8.46e-4,-0.390958 0.127273,-2.7733487 -0.01856,-4.2371335 z m -2.87074,7.0263315 H 15.165179 V 8.5617567 c 0,-1.0003116 -0.421434,-1.5104614 -1.278618,-1.5104614 -0.942305,0 -1.414292,0.6035217 -1.414292,1.7955379 V 11.44764 H 10.522764 V 8.8468332 c 0,-1.1920162 -0.472832,-1.7955379 -1.4151372,-1.7955379 -0.8521293,0 -1.2777701,0.5101498 -1.2786179,1.5104614 V 13.313227 H 5.8693944 V 8.4175496 c 0,-1.0003133 0.2582014,-1.7949986 0.7745804,-2.3840846 0.5326766,-0.587672 1.2314038,-0.8894211 2.0986981,-0.8894211 1.003817,0 1.7623841,0.3817657 2.2680911,1.1445204 l 0.488023,0.8102521 0.488846,-0.8102521 c 0.505705,-0.7627547 1.264275,-1.1445204 2.26642,-1.1445204 0.866449,0 1.565152,0.3017491 2.099521,0.8894211 0.516404,0.5885211 0.774583,1.3832066 0.774583,2.3840846 z"}))}}};function h(e){return g[e]?g[e]:null}},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(2674),a=n.n(c),r=n(9818),i=n(5736),o=n(1074),s=n(5381),l=n(5235),p=n.n(l),u=n(9196),d=n.n(u),m=n(6895),g=n(428),h=n(7525),f=(n(9054),n(8868)),y=n(2054);const __=i.__,_x=i._x,v=()=>d().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),k=e=>{let{moduleName:t=__("Jetpack","jetpack-my-jetpack"),className:n,moduleNameHref:c="https://jetpack.com",menu:i,siteAdminUrl:l,onAboutClick:u,onPrivacyClick:f,onTermsClick:k,...E}=e;const[b]=(0,y.Z)("sm","<="),[j]=(0,y.Z)("md","<="),[_]=(0,y.Z)("lg",">"),{isActive:w,connectedPlugins:C}=(0,r.useSelect)((e=>{const t=e(g.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[g.t]),Z=l&&w&&C?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let N=[{label:_x("About","Link to learn more about Jetpack.","jetpack-my-jetpack"),title:__("About Jetpack","jetpack-my-jetpack"),href:Z?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("jetpack-about"),target:"_blank",onClick:u},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-my-jetpack"),title:__("Automattic's Privacy Policy","jetpack-my-jetpack"),href:Z?new URL("admin.php?page=jetpack#/privacy",l).href:(0,m.Z)("a8c-privacy"),target:Z?"_self":"_blank",onClick:f},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-my-jetpack"),title:__("WordPress.com Terms of Service","jetpack-my-jetpack"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:k}];i&&(N=[...N,...i]);const S=d().createElement(d().Fragment,null,d().createElement(v,null),t);return d().createElement("footer",a()({className:p()("jp-dashboard-footer",{"is-sm":b,"is-md":j,"is-lg":_},n),"aria-label":__("Jetpack","jetpack-my-jetpack")},E),d().createElement("ul",null,d().createElement("li",{className:"jp-dashboard-footer__jp-item"},c?d().createElement("a",{href:c},S):S),N.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return d().createElement("li",{key:e.label},d().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:p()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&d().createElement(o.Z,{icon:s.Z,size:16})))})),d().createElement("li",{className:"jp-dashboard-footer__a8c-item"},d().createElement("a",{href:Z?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},d().createElement(h.Z,{"aria-hidden":"true"})))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{logoColor:t="#069e08",showText:n=!0,className:c,height:r=32,...i}=e;const s=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:o()("jetpack-logo",c),"aria-labelledby":"jetpack-logo-title",height:r},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),l().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},3846:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5235),a=n.n(c),r=n(9196),i=n(3080);const o=Number(i.Z.smCols),s=Number(i.Z.mdCols),l=Number(i.Z.lgCols),p=e=>{const{children:t,tagName:n="div",className:c}=e,p=Math.min(o,"number"==typeof e.sm?e.sm:o),u=Math.min(o,"object"==typeof e.sm?e.sm.start:0),d=Math.min(o,"object"==typeof e.sm?e.sm.end:0),m=Math.min(s,"number"==typeof e.md?e.md:s),g=Math.min(s,"object"==typeof e.md?e.md.start:0),h=Math.min(s,"object"==typeof e.md?e.md.end:0),f=Math.min(l,"number"==typeof e.lg?e.lg:l),y=Math.min(l,"object"==typeof e.lg?e.lg.start:0),v=Math.min(l,"object"==typeof e.lg?e.lg.end:0),k=a()(c,{[i.Z[`col-sm-${p}`]]:!(u&&d),[i.Z[`col-sm-${u}-start`]]:u>0,[i.Z[`col-sm-${d}-end`]]:d>0,[i.Z[`col-md-${m}`]]:!(g&&h),[i.Z[`col-md-${g}-start`]]:g>0,[i.Z[`col-md-${h}-end`]]:h>0,[i.Z[`col-lg-${f}`]]:!(y&&v),[i.Z[`col-lg-${y}-start`]]:y>0,[i.Z[`col-lg-${v}-end`]]:v>0});return(0,r.createElement)(n,{className:k},t)}},3363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(5235),a=n.n(c),r=n(9196),i=n(8730);const o=e=>{let{children:t,fluid:n=!1,tagName:c="div",className:o,horizontalGap:s=1,horizontalSpacing:l=1}=e;const p=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${l} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${s} )`}}),[s,l]),u=a()(o,i.Z.container,{[i.Z.fluid]:n});return(0,r.createElement)(c,{className:u,style:p},t)}},2054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(4333),a=n(3247);const r=["sm","md","lg"],i=(e,t)=>{const n=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[o,s,l]=r,p={sm:(0,c.useMediaQuery)(a.Z[o]),md:(0,c.useMediaQuery)(a.Z[s]),lg:(0,c.useMediaQuery)(a.Z[l])};return n.map(((e,t)=>{const n=i[t];return n?((e,t,n)=>{const c=r.indexOf(e),a=c+1,i=t.includes("=");let o=[];return t.startsWith("<")&&(o=r.slice(0,i?a:c)),t.startsWith(">")&&(o=r.slice(i?c:a)),o?.length?o.some((e=>n[e])):n[e]})(e,n,p):p[e]}))}},2636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5235),a=n.n(c),r=n(9196),i=n.n(r),o=n(7946);const s=e=>{let{children:t=null,width:n=null,height:c=null,className:r=""}=e;return i().createElement("div",{className:a()(o.Z.placeholder,r),style:{width:n,height:c}},t)}},1342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(797),a=n(496),r=n(9201),i=n(1074),o=n(9517),s=n(5235),l=n.n(s),p=n(9196),u=n.n(p),d=n(7703);const m=e=>{switch(e){case"error":case"warning":default:return c.Z;case"info":return a.Z;case"success":return r.Z}},g=e=>{let{level:t,title:n,children:c,actions:a,hideCloseButton:r,onClose:s}=e;const p=l()(d.Z.container,d.Z[`is-${t}`]);return u().createElement("div",{className:p},u().createElement("div",{className:d.Z["icon-wrapper"]},u().createElement(i.Z,{icon:m(t),className:d.Z.icon})),u().createElement("div",{className:d.Z["main-content"]},u().createElement("div",{className:d.Z.title},n),c,a&&a.length>0&&u().createElement("div",{className:d.Z["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.Z.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.Z["close-button"],onClick:s},u().createElement(i.Z,{icon:o.Z})))};g.defaultProps={level:"info",hideCloseButton:!1};const h=g},2947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(8709);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,c.X)();return new Intl.NumberFormat(n,t).format(e)}},9608:(e,t,n)=>{"use strict";n.d(t,{NE:()=>b,ZP:()=>_,kF:()=>E,oK:()=>j});var c=n(5736),a=n(1074),r=n(9201),i=n(6163),o=n(5235),s=n.n(o),l=n(9196),p=n.n(l),u=n(9665),d=n(2054),m=n(7325),g=n(5106),h=n(9929);const __=c.__,f=__("Included","jetpack-my-jetpack"),y=__("Not included","jetpack-my-jetpack"),v=__("Coming soon","jetpack-my-jetpack"),k=(0,l.createContext)(void 0),E=e=>{let{isIncluded:t=!1,isComingSoon:n=!1,index:o=0,label:m=null,tooltipInfo:E,tooltipTitle:b,tooltipClassName:j=""}=e;const[_]=(0,d.Z)("lg"),w=(0,l.useContext)(k)[o],C=n||t,Z=w.name,N=w.tooltipInfo,S=w.tooltipTitle,P=E||!_&&N,R=((e,t,n)=>e?{lg:v, +(()=>{var e={9487:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});const c={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 a(e){return c[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,n)=>{"use strict";n.d(t,{LR:()=>r});var c=n(9487),a=n(2003);function r(e,t,n={}){const r=(0,c.X)(t);if(!r||isNaN(e))return null;const{decimal:i,grouping:o,precision:s,symbol:l}={...r,...n},p=e<0?"-":"",u=Math.abs(e),d=Math.floor(u);return{sign:p,symbol:l,integer:(0,a.Z)(u,s,i,o).split(i)[0],fraction:s>0?(0,a.Z)(u-d,s,i,o).slice(1):""}}},2003:(e,t,n)=>{"use strict";function c(e,t=0,n=".",c=","){const a=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+a)?+a:0,i=isFinite(+t)?Math.abs(t):0,o=(i?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(r,i):""+Math.round(r)).split(".");return o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(o[1]||"").lengthc})},3170:(e,t,n)=>{"use strict";function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tu,RQ:()=>T,WK:()=>M,Zn:()=>R,Zq:()=>x,aU:()=>a,cP:()=>d,fp:()=>f,kG:()=>o,pC:()=>L,q_:()=>i}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));const r="popstate";function i(e){return void 0===e&&(e={}),g((function(e,t){let{pathname:n="/",search:c="",hash:a=""}=d(e.location.hash.substr(1));return p("",{pathname:n,search:c,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),c="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");c=-1===n?t:t.slice(0,n)}return c+"#"+("string"==typeof t?t:u(t))}),(function(e,t){s("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function o(e,t){if(!1===e||null==e)throw new Error(t)}function s(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 p(e,t,n,a){return void 0===n&&(n=null),c({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?d(t):t,{state:n,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:t="/",search:n="",hash:c=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),c&&"#"!==c&&(t+="#"===c.charAt(0)?c:"#"+c),t}function d(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let c=e.indexOf("?");c>=0&&(t.search=e.substr(c),e=e.substr(0,c)),e&&(t.pathname=e)}return t}function m(e){let t="undefined"!=typeof window&&void 0!==window.location&&"null"!==window.location.origin?window.location.origin:window.location.href,n="string"==typeof e?e:u(e);return o(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}function g(e,t,n,c){void 0===c&&(c={});let{window:i=document.defaultView,v5Compat:o=!1}=c,s=i.history,d=a.Pop,g=null;function h(){d=a.Pop,g&&g({action:d,location:f.location})}let f={get action(){return d},get location(){return e(i,s)},listen(e){if(g)throw new Error("A history only accepts one active listener");return i.addEventListener(r,h),g=e,()=>{i.removeEventListener(r,h),g=null}},createHref:e=>t(i,e),encodeLocation(e){let t=m("string"==typeof e?e:u(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){d=a.Push;let c=p(f.location,e,t);n&&n(c,e);let r=l(c),u=f.createHref(c);try{s.pushState(r,"",u)}catch(e){i.location.assign(u)}o&&g&&g({action:d,location:f.location})},replace:function(e,t){d=a.Replace;let c=p(f.location,e,t);n&&n(c,e);let r=l(c),i=f.createHref(c);s.replaceState(r,"",i),o&&g&&g({action:d,location:f.location})},go:e=>s.go(e)};return f}var h;function f(e,t,n){void 0===n&&(n="/");let c=R(("string"==typeof t?d(t):t).pathname||"/",n);if(null==c)return null;let a=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let r=null;for(let e=0;null==r&&e{let i={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(o(i.relativePath.startsWith(c),'Absolute route path "'+i.relativePath+'" nested under path "'+c+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(c.length));let s=T([c,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(o(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),y(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Z(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of k(e.path))a(e,t,n);else a(e,t)})),t}function k(e){let t=e.split("/");if(0===t.length)return[];let[n,...c]=t,a=n.endsWith("?"),r=n.replace(/\?$/,"");if(0===c.length)return a?[r,""]:[r];let i=k(c.join("/")),o=[];return o.push(...i.map((e=>""===e?r:[r,e].join("/")))),a&&o.push(...i),o.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const v=/^:\w+$/,E=3,b=2,j=1,_=10,w=-2,C=e=>"*"===e;function Z(e,t){let n=e.split("/"),c=n.length;return n.some(C)&&(c+=w),t&&(c+=b),n.filter((e=>!C(e))).reduce(((e,t)=>e+(v.test(t)?E:""===t?j:_)),c)}function N(e,t){let{routesMeta:n}=e,c={},a="/",r=[];for(let e=0;e(c.push(t),"/([^\\/]+)")));e.endsWith("*")?(c.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let r=new RegExp(a,t?void 0:"i");return[r,c]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let r=a[0],i=r.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:c.reduce(((e,t,n)=>{if("*"===t){let e=o[n]||"";i=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return I(!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 ('+n+")."),e}}(o[n]||"",t),e}),{}),pathname:r,pathnameBase:i,pattern:e}}function P(e){try{return decodeURI(e)}catch(t){return I(!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 R(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,c=e.charAt(n);return c&&"/"!==c?null:e.slice(n)||"/"}function I(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function A(e,t,n,c){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(c)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function x(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function L(e,t,n,a){let r;void 0===a&&(a=!1),"string"==typeof e?r=d(e):(r=c({},e),o(!r.pathname||!r.pathname.includes("?"),A("?","pathname","search",r)),o(!r.pathname||!r.pathname.includes("#"),A("#","pathname","hash",r)),o(!r.search||!r.search.includes("#"),A("#","search","hash",r)));let i,s=""===e||""===r.pathname,l=s?"/":r.pathname;if(a||null==l)i=n;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}i=e>=0?t[e]:"/"}let p=function(e,t){void 0===t&&(t="/");let{pathname:n,search:c="",hash:a=""}="string"==typeof e?d(e):e,r=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:r,search:F(c),hash:O(a)}}(r,i),u=l&&"/"!==l&&l.endsWith("/"),m=(s||"."===l)&&n.endsWith("/");return p.pathname.endsWith("/")||!u&&!m||(p.pathname+="/"),p}const T=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class z{constructor(e,t,n,c){void 0===c&&(c=!1),this.status=e,this.statusText=t||"",this.internal=c,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function M(e){return e instanceof z}const D=["post","put","patch","delete"],V=(new Set(D),["get",...D]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9307);const a=function({icon:e,size:t=24,...n}){return(0,c.cloneElement)(e,{width:t,height:t,...n})}},9404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"}))},9201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},6936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},5899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.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"}))},3482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}))},1908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}))},797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,c.createElement)(a.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 n;!function(){"use strict";var c={}.hasOwnProperty;function a(){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 n="color: "+this.color;t.splice(1,0,n,"color: inherit");let c=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(c++,"%c"===e&&(a=c))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,a,r,i=null;function o(...e){if(!o.enabled)return;const c=o,a=Number(new Date),r=a-(n||a);c.diff=r,c.prev=n,c.curr=a,n=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,a)=>{if("%%"===n)return"%";i++;const r=t.formatters[a];if("function"==typeof r){const t=e[i];n=r.call(c,t),e.splice(i,1),i--}return n})),t.formatArgs.call(c,e);(c.log||t.log).apply(c,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=c,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(o),o}function c(e,n){const c=t(this.namespace+(void 0===n?":":n)+e);return c.log=this.log,c}function a(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(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const c=("string"==typeof e?e:"").split(/[\s,]+/),a=c.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";n.d(t,{Z:()=>c});const c={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},1494:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={section:"cAbGtJDGgLubucBnz7vM"}},281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},9171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},3466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},9054:()=>{},3247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},7946:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},7703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={global:"_fUXxnSp5pagKBp9gSN7"}},1510:()=>{},9610:()=>{},9836:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},4220:()=>{},287:()=>{},9823:()=>{},7664:()=>{},1008:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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"}},6234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"rV_5QyvhDnsVjCX4pb0h",link:"MO1jDNY8VPqeNS9xL8jE"}},8578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"hdasSNj9k3Sc5PwXK4uE",link:"eWN8Hj0SBRDq1F48n_Fg"}},1854:()=>{},4416:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={modal:"HeJe1crc9XaWWpLvIPit",container:"or0JUScxkJPmNsfrxkEK"}},1017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"jErCC9oKHSM15BxzFyQK",notice:"oVoYbwbFB6U2o90Njusk","bigger-than-medium":"Snc8NEmDelsbhlH4285s",message:"wBVXH4OTNwLHPRpN4nsq",nofill:"F1qvEnFfHs5nz3zFZUOV"}},6891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"wiobThfXJCuhGNrbFIT6","expire-date":"VgAxgahF9bC2M__FiIgV","expire-date--with-icon":"dbRwkMLqcMF67njPoAF7","actions-list-item":"Doju0RxvvN9JS12mf489"}},9720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"pIsYsXFAJ9KX2VrS5rmY","is-link":"YXHdD0VsFjiTsVRLrrx9","has-error":"Pp9cMIaESLYelLOX3tkI",title:"LHYJUrOej3toDvOAiz4k",name:"w56ueQLYexqzTybA7015",description:"gmPKCDKZcfQt9WieTyKS",actions:"fDBaV7I4yUO6w5AWVEtr",status:"f5VJYwuJmjxH8PVxEbbv",active:"ry3pxoGtmQ0ZeSwp7F_3",inactive:"LZzE3EG7m3CDR46wwwEr",error:"Vx_jpT02r8W6NfsRSB02","is-fetching":"PdsJCfyyjSgrNDheF2qi","blink-animation":"dWP7ypkVXudMbAa38W5Z"}},523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"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,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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",disclaimers:"sEcLfpWjo0GF7QrxD3Lt","price-container":"xgv3jRkeF39aEQELCwru",price:"twlleZ5Ehq4bB7CvKVSW","is-old":"Qg4rPEvXsqmod1s_31d8","price-description":"ApsgxIornVy_3KnciVeJ","supporting-info":"NMxcZL17aEP7v81uG3zD","tos-container":"gCTKfAPzJqZas7CaRbKN"}},1287:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"SWwV4Pw6OZ5vU3PqPXmr",imageContainer:"r7tUofa9Z3A5ziKVR1H7",aiImageContainer:"i_AnOR3MaQLraGvb2QU5","product-interstitial__header":"YcYvLvdvWrb1EUZoVsE8","product-interstitial__license-activation-link":"uGTTsKoIOoZdYhk6uPnl"}},5878:()=>{},3171:e=>{var t=1e3,n=60*t,c=60*n,a=24*c,r=7*a,i=365.25*a;function o(e,t,n,c){var a=t>=1.5*n;return Math.round(e/n)+" "+c+(a?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!o)return;var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*c;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var r=Math.abs(e);if(r>=a)return o(e,r,a,"day");if(r>=c)return o(e,r,c,"hour");if(r>=n)return o(e,r,n,"minute");if(r>=t)return o(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=a)return Math.round(e/a)+"d";if(r>=c)return Math.round(e/c)+"h";if(r>=n)return Math.round(e/n)+"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,n)=>{"use strict";var c=n(3713);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5844:(e,t,n)=>{e.exports=n(7556)()},3713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:(e,t,n)=>{"use strict";var c=n(758);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5162:(e,t,n)=>{e.exports=n(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9997:(e,t,n)=>{"use strict";n.d(t,{UT:()=>p,lr:()=>g,rU:()=>u});var c=n(9196),a=n(6417),r=n(3170);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}function s(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let c=e[n];return t.concat(Array.isArray(c)?c.map((e=>[n,e])):[[n,c]])}),[]))}const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function p(e){let{basename:t,children:n,window:i}=e,o=c.useRef();null==o.current&&(o.current=(0,r.q_)({window:i,v5Compat:!0}));let s=o.current,[l,p]=c.useState({action:s.action,location:s.location});return c.useLayoutEffect((()=>s.listen(p)),[s]),c.createElement(a.F0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const u=c.forwardRef((function(e,t){let{onClick:n,relative:s,reloadDocument:p,replace:u,state:d,target:m,to:g,preventScrollReset:h}=e,f=o(e,l),y=(0,a.oQ)(g,{relative:s}),k=function(e,t){let{target:n,replace:i,state:o,preventScrollReset:s,relative:l}=void 0===t?{}:t,p=(0,a.s0)(),u=(0,a.TH)(),d=(0,a.WU)(e,{relative:l});return c.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,n)){t.preventDefault();let n=void 0!==i?i:(0,r.Ep)(u)===(0,r.Ep)(d);p(e,{replace:n,state:o,preventScrollReset:s,relative:l})}}),[u,p,d,i,o,n,e,s,l])}(g,{replace:u,state:d,target:m,preventScrollReset:h,relative:s});return c.createElement("a",i({},f,{href:y,onClick:p?n:function(e){n&&n(e),e.defaultPrevented||k(e)},ref:t,target:m}))}));var d,m;function g(e){let t=c.useRef(s(e)),n=(0,a.TH)(),r=c.useMemo((()=>function(e,t){let n=s(e);for(let e of t.keys())n.has(e)||t.getAll(e).forEach((t=>{n.append(e,t)}));return n}(n.search,t.current)),[n.search]),i=(0,a.s0)(),o=c.useCallback(((e,t)=>{const n=s("function"==typeof e?e(r):e);i("?"+n,t)}),[i,r]);return[r,o]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(d||(d={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(m||(m={}))},6417:(e,t,n)=>{"use strict";n.d(t,{AW:()=>x,F0:()=>L,Fg:()=>A,TH:()=>b,WU:()=>_,Z5:()=>T,oQ:()=>v,s0:()=>j});var c=n(3170),a=n(9196);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.value=c,a.getSnapshot=t,u(a)&&r({inst:a})}),[e,c,t]),s((()=>{u(a)&&r({inst:a});return e((()=>{u(a)&&r({inst:a})}))}),[e]),p(c),c};"useSyncExternalStore"in a&&a.useSyncExternalStore;const m=a.createContext(null);const g=a.createContext(null);const h=a.createContext(null);const f=a.createContext(null);const y=a.createContext({outlet:null,matches:[]});const k=a.createContext(null);function v(e,t){let{relative:n}=void 0===t?{}:t;E()||(0,c.kG)(!1);let{basename:r,navigator:i}=a.useContext(h),{hash:o,pathname:s,search:l}=_(e,{relative:n}),p=s;return"/"!==r&&(p="/"===s?r:(0,c.RQ)([r,s])),i.createHref({pathname:p,search:l,hash:o})}function E(){return null!=a.useContext(f)}function b(){return E()||(0,c.kG)(!1),a.useContext(f).location}function j(){E()||(0,c.kG)(!1);let{basename:e,navigator:t}=a.useContext(h),{matches:n}=a.useContext(y),{pathname:r}=b(),i=JSON.stringify((0,c.Zq)(n).map((e=>e.pathnameBase))),o=a.useRef(!1);return a.useEffect((()=>{o.current=!0})),a.useCallback((function(n,a){if(void 0===a&&(a={}),!o.current)return;if("number"==typeof n)return void t.go(n);let s=(0,c.pC)(n,JSON.parse(i),r,"path"===a.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:(0,c.RQ)([e,s.pathname])),(a.replace?t.replace:t.push)(s,a.state,a)}),[e,t,i,r])}function _(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=a.useContext(y),{pathname:i}=b(),o=JSON.stringify((0,c.Zq)(r).map((e=>e.pathnameBase)));return a.useMemo((()=>(0,c.pC)(e,JSON.parse(o),i,"path"===n)),[e,o,i,n])}function w(){let e=function(){var e;let t=a.useContext(k),n=R(P.UseRouteError),c=I(P.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[c]}(),t=(0,c.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unhandled Thrown Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:i},n):null,a.createElement("p",null,"💿 Hey developer 👋"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",a.createElement("code",{style:o},"errorElement")," props on ",a.createElement("code",{style:o},"")))}class C extends a.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?a.createElement(y.Provider,{value:this.props.routeContext},a.createElement(k.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Z(e){let{routeContext:t,match:n,children:c}=e,r=a.useContext(m);return r&&r.static&&r.staticContext&&n.route.errorElement&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(y.Provider,{value:t},c)}function N(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,i=null==n?void 0:n.errors;if(null!=i){let e=r.findIndex((e=>e.route.id&&(null==i?void 0:i[e.route.id])));e>=0||(0,c.kG)(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,c,o)=>{let s=c.route.id?null==i?void 0:i[c.route.id]:null,l=n?c.route.errorElement||a.createElement(w,null):null,p=t.concat(r.slice(0,o+1)),u=()=>a.createElement(Z,{match:c,routeContext:{outlet:e,matches:p}},s?l:void 0!==c.route.element?c.route.element:e);return n&&(c.route.errorElement||0===o)?a.createElement(C,{location:n.location,component:l,error:s,children:u(),routeContext:{outlet:null,matches:p}}):u()}),null)}var S,P;function R(e){let t=a.useContext(g);return t||(0,c.kG)(!1),t}function I(e){let t=function(e){let t=a.useContext(y);return t||(0,c.kG)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,c.kG)(!1),n.route.id}!function(e){e.UseRevalidator="useRevalidator"}(S||(S={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(P||(P={}));function A(e){let{to:t,replace:n,state:r,relative:i}=e;E()||(0,c.kG)(!1);let o=a.useContext(g),s=j();return a.useEffect((()=>{o&&"idle"!==o.navigation.state||s(t,{replace:n,state:r,relative:i})})),null}function x(e){(0,c.kG)(!1)}function L(e){let{basename:t="/",children:n=null,location:r,navigationType:i=c.aU.Pop,navigator:o,static:s=!1}=e;E()&&(0,c.kG)(!1);let l=t.replace(/^\/*/,"/"),p=a.useMemo((()=>({basename:l,navigator:o,static:s})),[l,o,s]);"string"==typeof r&&(r=(0,c.cP)(r));let{pathname:u="/",search:d="",hash:m="",state:g=null,key:y="default"}=r,k=a.useMemo((()=>{let e=(0,c.Zn)(u,l);return null==e?null:{pathname:e,search:d,hash:m,state:g,key:y}}),[l,u,d,m,g,y]);return null==k?null:a.createElement(h.Provider,{value:p},a.createElement(f.Provider,{children:n,value:{location:k,navigationType:i}}))}function T(e){let{children:t,location:n}=e,i=a.useContext(m);return function(e,t){E()||(0,c.kG)(!1);let{navigator:n}=a.useContext(h),i=a.useContext(g),{matches:o}=a.useContext(y),s=o[o.length-1],l=s?s.params:{},p=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let u,d=b();if(t){var m;let e="string"==typeof t?(0,c.cP)(t):t;"/"===p||(null==(m=e.pathname)?void 0:m.startsWith(p))||(0,c.kG)(!1),u=e}else u=d;let k=u.pathname||"/",v="/"===p?k:k.slice(p.length)||"/",j=(0,c.fp)(e,{pathname:v}),_=N(j&&j.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:(0,c.RQ)([p,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:(0,c.RQ)([p,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,i||void 0);return t&&_?a.createElement(f.Provider,{value:{location:r({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:c.aU.Pop}},_):_}(i&&!t?i.router.routes:F(t),n)}var U;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(U||(U={}));new Promise((()=>{}));a.Component;function F(e,t){void 0===t&&(t=[]);let n=[];return a.Children.forEach(e,((e,r)=>{if(!a.isValidElement(e))return;if(e.type===a.Fragment)return void n.push.apply(n,F(e.props.children,t));e.type!==x&&(0,c.kG)(!1),e.props.index&&e.props.children&&(0,c.kG)(!1);let i=[...t,r],o={id:e.props.id||i.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&&(o.children=F(e.props.children,i)),n.push(o)})),n}},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(951);const a=n.n(c)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const o={initialize:function(e,t,n){o.setUser(e,t),o.setSuperProps(n),o.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){o.tracks.recordPageView(e),o.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,c,a,r,i){o.ga.recordPurchase(e,t,n,c,a,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(a("- Super Props: %o",r),t=Object.assign(t,r)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};o.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){o.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};o.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),o.ga.initialized=!0)},recordPageView:function(e,t){o.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,c){o.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==c&&(r+=" [Option Value: "+c+"]"),a(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,c)},recordPurchase:function(e,t,n,c,a,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:c,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=o},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var c=n(1132),a=n(6483);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=r("JsonParseError"),o=r("JsonParseAfterRedirectError"),s=r("Api404Error"),l=r("Api404AfterRedirectError"),p=r("FetchNetworkError");const u=new function(e,t){let n=e,r=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",c=n.length?n.split("&"):[];return c.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+c.join("&")};const p={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const a={registration_nonce:e,no_iframe:!0};return(0,c.jetpackConfigHas)("consumer_slug")&&(a.plugin_slug=(0,c.jetpackConfigGet)("consumer_slug")),null!==t&&(a.redirect_uri=t),g(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(a)}).then(d).then(m)},fetchAuthorizationUrl:e=>u((0,a.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(d).then(m),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,o).then(m),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,o).then(d).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(d).then(m),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),disconnectSite:()=>g(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(d).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(d).then(m),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(d).then(m),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,s).then(d).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(d).then(m),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(d).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(d).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(d).then(m),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(d).then(m),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(d).then(m),updateSettings:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(d).then(m),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(d).then(m),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(d).then(m),installPlugin:(e,t)=>{const c={slug:e,status:"active"};return t&&(c.source=t),g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(c)}).then(d).then(m)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(d).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(d).then(m),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(d).then(m),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(d).then(m).then(f),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(d).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(d).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(d).then(m),updateSetting:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(d).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(d).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(d).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(d).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(d).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(d).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(d).then(m),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(d).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(d).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(d).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(d).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(d).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(d).then(m),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(d).then(m),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(d).then(m),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(d).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(d).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(d).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(d).then(m),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(d),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(d).then(m),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,s).then(d),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(d).then(m),fetchSearchPlanInfo:()=>u(`${r}jetpack/v4/search/plan`,o).then(d).then(m),fetchSearchSettings:()=>u(`${r}jetpack/v4/search/settings`,o).then(d).then(m),updateSearchSettings:e=>g(`${r}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSearchStats:()=>u(`${r}jetpack/v4/search/stats`,o).then(d).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(d).then(m),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(d).then(m),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,s,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${r}jetpack/v4/search/pricing`,o).then(d).then(m),fetchMigrationStatus:()=>u(`${n}jetpack/v4/migration/status`,o).then(d).then(m),fetchBackupUndoEvent:()=>u(`${n}jetpack/v4/site/backup/undo-event`,o).then(d).then(m)};function u(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(h)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new s})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new o(n):new i}function h(){throw new p}},7121:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(5609),a=n(5736),r=n(5235),i=n.n(r),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(526),d=n(2289);const __=a.__,m=e=>{const{label:t,onClick:n,isLoading:a,isDisabled:r,displayError:o,errorMessage:s}=e;return p().createElement(p().Fragment,null,p().createElement(u.Z,{className:i()(d.Z.button,"jp-action-button--button"),label:t,onClick:n,variant:"primary",disabled:a||r},a?p().createElement(c.Spinner,null):t),o&&p().createElement("p",{className:i()(d.Z.error,"jp-action-button__error")},s))};m.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,isDisabled:s().bool,displayError:s().bool,errorMessage:s().oneOfType([s().string,s().element])},m.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-my-jetpack")};const g=m},9105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5235),r=n.n(a),i=n(8237),o=n(8868),s=n(3846),l=n(3363),p=n(1494);const __=c.__,u=e=>{let{children:t,moduleName:n=__("Jetpack","jetpack-my-jetpack"),moduleNameHref:c,showHeader:a=!0,showFooter:u=!0,showBackground:d=!0,header:m}=e;const g=r()(p.Z["admin-page"],{[p.Z.background]:d});return React.createElement("div",{className:g},a&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,m||React.createElement(o.Z,null))),React.createElement(l.Z,{fluid:!0,horizontalSpacing:0},React.createElement(s.Z,null,t)),u&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,React.createElement(i.Z,{moduleName:n,moduleNameHref:c}))))}},6579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(511);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z.section},t)}},216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(281);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z["section-hero"]},t)}},4972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(797),a=n(496),r=n(9201),i=n(1074),o=n(5235),s=n.n(o),l=n(9196),p=n.n(l),u=n(9171);const d=e=>{switch(e){case"error":case"warning":default:return c.Z;case"info":return a.Z;case"success":return r.Z}},m=e=>{let{level:t,children:n,showIcon:c}=e;const a=s()(u.Z.container,u.Z[`is-${t}`]);return p().createElement("div",{className:a},c&&p().createElement("div",{className:u.Z["icon-wrapper"]},p().createElement(i.Z,{icon:d(t),className:u.Z.icon})),p().createElement("div",null,n))};m.defaultProps={level:"warning",showIcon:!0};const g=m},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{title:t=__("An Automattic Airline","jetpack-my-jetpack"),height:n=7,className:c,...r}=e;return l().createElement("svg",a()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:o()("jp-automattic-byline-logo",c)},r),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(2674),a=n.n(c),r=n(5609),i=n(1074),o=n(5381),s=n(5235),l=n.n(s),p=n(9196),u=n.n(p),d=n(3466);const m=(0,p.forwardRef)(((e,t)=>{const{children:n,variant:c="primary",size:s="normal",weight:p="bold",icon:m,iconSize:g,disabled:h,isDestructive:f,isLoading:y,isExternalLink:k,className:v,text:E,fullWidth:b,...j}=e,_=l()(d.Z.button,v,{[d.Z.normal]:"normal"===s,[d.Z.small]:"small"===s,[d.Z.icon]:Boolean(m),[d.Z.loading]:y,[d.Z.regular]:"regular"===p,[d.Z["full-width"]]:b,[d.Z["is-icon-button"]]:Boolean(m)&&!n});j.ref=t;const w="normal"===s?20:16,C=k&&u().createElement(i.Z,{size:w,icon:o.Z,className:d.Z["external-icon"]}),Z=k?"_blank":void 0,N=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return u().createElement(r.Button,a()({target:Z,variant:c,className:l()(_,{"has-text":!!m&&N}),icon:k?void 0:m,iconSize:g,disabled:h,"aria-disabled":h,isDestructive:f,text:E},j),y&&u().createElement(r.Spinner,null),u().createElement("span",null,n),C)}));m.displayName="Button";const g=m},9026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(2404);const c=e=>{let{format:t="horizontal",icon:n,imageUrl:c}=e;return React.createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:c?`url( ${c} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)}},7172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5736),a=n(5235),r=n.n(a),i=n(9196);n(5785);const __=c.__;class o extends i.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"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,c=this.props.width||e,a=this.props.style||{height:n,width:c},i="gridicons-"+this.props.icon,o=r()("gridicon",i,t,{"needs-offset":this.needsOffset(i,e)}),s=this.getSVGDescription(i);return React.createElement("svg",{className:o,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:a,viewBox:"0 0 24 24",width:c,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},s?React.createElement("desc",null,s):null,this.renderIcon(i))}}const s=o},9665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5609),a=n(5235),r=n.n(a),i=n(9196),o=n.n(i),s=n(526),l=n(7172);n(1275);const p=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=e=>{let{className:t="",iconClassName:n="",placement:a="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:m=18,offset:g=10,title:h,children:f,popoverAnchorStyle:y="icon",forceShow:k=!1,wide:v=!1}=e;const[E,b]=(0,i.useState)(!1),j=(0,i.useCallback)((()=>b(!0)),[b]),_=(0,i.useCallback)((()=>b(!1)),[b]),w={position:p(a),placement:a,animate:u,noArrow:!1,resize:!1,flip:!1,offset:g,focusOnMount:"container",onClose:_,className:"icon-tooltip-container"},C="wrapper"===y,Z=r()("icon-tooltip-wrapper",t),N={left:C?0:-(62-m/2)+"px"},S=C&&k;return o().createElement("div",{className:Z,"data-testid":"icon-tooltip_wrapper"},!C&&o().createElement(s.Z,{variant:"link",onClick:j},o().createElement(l.Z,{className:n,icon:d,size:m})),o().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":v}),style:N},(S||E)&&o().createElement(c.Popover,w,o().createElement("div",null,h&&o().createElement("div",{className:"icon-tooltip-title"},h),o().createElement("div",{className:"icon-tooltip-content"},f)))))}},3396:(e,t,n)=>{"use strict";n.d(t,{KM:()=>u,VS:()=>h,_1:()=>d,r7:()=>p});var c=n(2674),a=n.n(c),r=n(5609),i=n(5235),o=n.n(i),s=n(5612);const l=e=>{let{className:t,size:n=24,viewBox:c="0 0 24 24",opacity:i=1,color:l="#2C3338",children:p}=e;const u={className:o()(s.Z.iconWrapper,t),width:n,height:n,viewBox:c,opacity:i,fill:void 0};return l&&(u.fill=l),React.createElement(r.SVG,a()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:i},p))},p=e=>{let{size:t,className:n=s.Z["star-icon"],color:c}=e;return React.createElement(l,{className:n,size:t,color:c},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"}))},u=e=>{let{size:t,className:n=s.Z["checkmark-icon"],color:c}=e;return React.createElement(l,{className:n,size:t,color:c},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"}))},d=e=>{let{size:t,className:n=s.Z.jetpack,color:c}=e;return React.createElement(l,{className:n,size:t,color:c,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"}))},m=e=>{let{className:t,fill:n="none",size:c,children:a}=e;return React.createElement(l,{className:o()(s.Z.socialIcon,t),size:c,color:n},a)},g={...{"anti-spam":e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,className:c,color:a}=e;return React.createElement(l,{className:c,size:n,opacity:t,color:a},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:p,videopress:e=>{let{opacity:t=1,size:n,color:c}=e;return React.createElement(l,{size:n,opacity:t,color:c},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:d},...{facebook:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.facebook,c)},React.createElement(r.Path,{d:"M12,2C6.5,2,2,6.5,2,12c0,5,3.7,9.1,8.4,9.9v-7H7.9V12h2.5V9.8c0-2.5,1.5-3.9,3.8-3.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},instagram:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.instagram,c)},React.createElement(r.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},twitter:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.twitter,c)},React.createElement(r.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},linkedin:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.linkedin,c)},React.createElement(r.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},tumblr:e=>{let{fill:t,size:n,className:c,invert:a}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.tumblr,c)},a?React.createElement(r.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}):React.createElement(r.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},google:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.google,c)},React.createElement(r.Path,{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))},mastodon:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(m,{fill:t,size:n,className:o()(s.Z.mastodon,c)},React.createElement(r.Path,{d:"M 19.997205,6.2868955 C 19.729197,4.3162778 17.992912,2.7633017 15.93468,2.4623753 15.587434,2.4115195 14.271759,2.2264681 11.224008,2.2264681 h -0.02277 c -3.0485688,0 -3.7026204,0.1850577 -4.0498676,0.2359072 C 5.1504449,2.7549655 3.3231548,4.1503966 2.879815,6.1443318 2.6665754,7.1263038 2.6438193,8.2149794 2.6834329,9.2136207 c 0.056471,1.4321143 0.067433,2.8617113 0.1989115,4.2879943 0.090908,0.947406 0.2494696,1.887266 0.4745239,2.812521 0.4214237,1.708868 2.1273496,3.130966 3.7987144,3.71116 1.7894479,0.605052 3.7138403,0.705478 5.5577463,0.290088 0.202828,-0.04667 0.403445,-0.100873 0.601781,-0.162549 0.447558,-0.140863 0.972662,-0.298434 1.358683,-0.575188 0.0052,-0.004 0.0097,-0.0089 0.01266,-0.01471 0.0031,-0.0056 0.0047,-0.01218 0.005,-0.01866 v -1.382076 c -9.4e-5,-0.006 -0.0016,-0.01202 -0.0043,-0.01754 -0.0027,-0.0054 -0.0067,-0.01028 -0.01155,-0.01392 -0.0049,-0.0038 -0.01044,-0.0063 -0.01648,-0.0078 -0.006,-0.0013 -0.01218,-0.0013 -0.01825,7.1e-5 -1.181368,0.279106 -2.391962,0.419012 -3.606552,0.416801 -2.0902554,0 -2.6524392,-0.981126 -2.8134375,-1.3896 -0.1293933,-0.353009 -0.2115739,-0.721231 -0.2444221,-1.095331 -3.29e-4,-0.0063 8.463e-4,-0.0125 0.00348,-0.01832 0.00253,-0.0056 0.00649,-0.01077 0.011389,-0.01471 0.0049,-0.004 0.010755,-0.0068 0.016957,-0.0081 0.00617,-0.0014 0.012655,-0.0012 0.018808,3.52e-4 1.1616831,0.277201 2.3525266,0.417106 3.5475526,0.416801 0.287408,0 0.573966,0 0.861395,-0.0074 1.201893,-0.03335 2.468685,-0.0942 3.6512,-0.322606 0.02952,-0.0058 0.059,-0.01091 0.0843,-0.01833 1.865209,-0.354279 3.640245,-1.466278 3.820617,-4.282163 0.0068,-0.110869 0.0236,-1.161191 0.0236,-1.276219 8.46e-4,-0.390958 0.127273,-2.7733487 -0.01856,-4.2371335 z m -2.87074,7.0263315 H 15.165179 V 8.5617567 c 0,-1.0003116 -0.421434,-1.5104614 -1.278618,-1.5104614 -0.942305,0 -1.414292,0.6035217 -1.414292,1.7955379 V 11.44764 H 10.522764 V 8.8468332 c 0,-1.1920162 -0.472832,-1.7955379 -1.4151372,-1.7955379 -0.8521293,0 -1.2777701,0.5101498 -1.2786179,1.5104614 V 13.313227 H 5.8693944 V 8.4175496 c 0,-1.0003133 0.2582014,-1.7949986 0.7745804,-2.3840846 0.5326766,-0.587672 1.2314038,-0.8894211 2.0986981,-0.8894211 1.003817,0 1.7623841,0.3817657 2.2680911,1.1445204 l 0.488023,0.8102521 0.488846,-0.8102521 c 0.505705,-0.7627547 1.264275,-1.1445204 2.26642,-1.1445204 0.866449,0 1.565152,0.3017491 2.099521,0.8894211 0.516404,0.5885211 0.774583,1.3832066 0.774583,2.3840846 z"}))}}};function h(e){return g[e]?g[e]:null}},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(2674),a=n.n(c),r=n(9818),i=n(5736),o=n(1074),s=n(5381),l=n(5235),p=n.n(l),u=n(9196),d=n.n(u),m=n(6895),g=n(428),h=n(7525),f=(n(9054),n(8868)),y=n(2054);const __=i.__,_x=i._x,k=()=>d().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),v=e=>{let{moduleName:t=__("Jetpack","jetpack-my-jetpack"),className:n,moduleNameHref:c="https://jetpack.com",menu:i,siteAdminUrl:l,onAboutClick:u,onPrivacyClick:f,onTermsClick:v,...E}=e;const[b]=(0,y.Z)("sm","<="),[j]=(0,y.Z)("md","<="),[_]=(0,y.Z)("lg",">"),{isActive:w,connectedPlugins:C}=(0,r.useSelect)((e=>{const t=e(g.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[g.t]),Z=l&&w&&C?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let N=[{label:_x("About","Link to learn more about Jetpack.","jetpack-my-jetpack"),title:__("About Jetpack","jetpack-my-jetpack"),href:Z?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("jetpack-about"),target:"_blank",onClick:u},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-my-jetpack"),title:__("Automattic's Privacy Policy","jetpack-my-jetpack"),href:Z?new URL("admin.php?page=jetpack#/privacy",l).href:(0,m.Z)("a8c-privacy"),target:Z?"_self":"_blank",onClick:f},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-my-jetpack"),title:__("WordPress.com Terms of Service","jetpack-my-jetpack"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:v}];i&&(N=[...N,...i]);const S=d().createElement(d().Fragment,null,d().createElement(k,null),t);return d().createElement("footer",a()({className:p()("jp-dashboard-footer",{"is-sm":b,"is-md":j,"is-lg":_},n),"aria-label":__("Jetpack","jetpack-my-jetpack")},E),d().createElement("ul",null,d().createElement("li",{className:"jp-dashboard-footer__jp-item"},c?d().createElement("a",{href:c},S):S),N.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return d().createElement("li",{key:e.label},d().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:p()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&d().createElement(o.Z,{icon:s.Z,size:16})))})),d().createElement("li",{className:"jp-dashboard-footer__a8c-item"},d().createElement("a",{href:Z?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},d().createElement(h.Z,{"aria-hidden":"true"})))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{logoColor:t="#069e08",showText:n=!0,className:c,height:r=32,...i}=e;const s=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:o()("jetpack-logo",c),"aria-labelledby":"jetpack-logo-title",height:r},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),l().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},3846:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5235),a=n.n(c),r=n(9196),i=n(3080);const o=Number(i.Z.smCols),s=Number(i.Z.mdCols),l=Number(i.Z.lgCols),p=e=>{const{children:t,tagName:n="div",className:c}=e,p=Math.min(o,"number"==typeof e.sm?e.sm:o),u=Math.min(o,"object"==typeof e.sm?e.sm.start:0),d=Math.min(o,"object"==typeof e.sm?e.sm.end:0),m=Math.min(s,"number"==typeof e.md?e.md:s),g=Math.min(s,"object"==typeof e.md?e.md.start:0),h=Math.min(s,"object"==typeof e.md?e.md.end:0),f=Math.min(l,"number"==typeof e.lg?e.lg:l),y=Math.min(l,"object"==typeof e.lg?e.lg.start:0),k=Math.min(l,"object"==typeof e.lg?e.lg.end:0),v=a()(c,{[i.Z[`col-sm-${p}`]]:!(u&&d),[i.Z[`col-sm-${u}-start`]]:u>0,[i.Z[`col-sm-${d}-end`]]:d>0,[i.Z[`col-md-${m}`]]:!(g&&h),[i.Z[`col-md-${g}-start`]]:g>0,[i.Z[`col-md-${h}-end`]]:h>0,[i.Z[`col-lg-${f}`]]:!(y&&k),[i.Z[`col-lg-${y}-start`]]:y>0,[i.Z[`col-lg-${k}-end`]]:k>0});return(0,r.createElement)(n,{className:v},t)}},3363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(5235),a=n.n(c),r=n(9196),i=n(8730);const o=e=>{let{children:t,fluid:n=!1,tagName:c="div",className:o,horizontalGap:s=1,horizontalSpacing:l=1}=e;const p=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${l} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${s} )`}}),[s,l]),u=a()(o,i.Z.container,{[i.Z.fluid]:n});return(0,r.createElement)(c,{className:u,style:p},t)}},2054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(4333),a=n(3247);const r=["sm","md","lg"],i=(e,t)=>{const n=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[o,s,l]=r,p={sm:(0,c.useMediaQuery)(a.Z[o]),md:(0,c.useMediaQuery)(a.Z[s]),lg:(0,c.useMediaQuery)(a.Z[l])};return n.map(((e,t)=>{const n=i[t];return n?((e,t,n)=>{const c=r.indexOf(e),a=c+1,i=t.includes("=");let o=[];return t.startsWith("<")&&(o=r.slice(0,i?a:c)),t.startsWith(">")&&(o=r.slice(i?c:a)),o?.length?o.some((e=>n[e])):n[e]})(e,n,p):p[e]}))}},2636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5235),a=n.n(c),r=n(9196),i=n.n(r),o=n(7946);const s=e=>{let{children:t=null,width:n=null,height:c=null,className:r=""}=e;return i().createElement("div",{className:a()(o.Z.placeholder,r),style:{width:n,height:c}},t)}},1342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(797),a=n(496),r=n(9201),i=n(1074),o=n(9517),s=n(5235),l=n.n(s),p=n(9196),u=n.n(p),d=n(7703);const m=e=>{switch(e){case"error":case"warning":default:return c.Z;case"info":return a.Z;case"success":return r.Z}},g=e=>{let{level:t,title:n,children:c,actions:a,hideCloseButton:r,onClose:s}=e;const p=l()(d.Z.container,d.Z[`is-${t}`]);return u().createElement("div",{className:p},u().createElement("div",{className:d.Z["icon-wrapper"]},u().createElement(i.Z,{icon:m(t),className:d.Z.icon})),u().createElement("div",{className:d.Z["main-content"]},u().createElement("div",{className:d.Z.title},n),c,a&&a.length>0&&u().createElement("div",{className:d.Z["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.Z.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.Z["close-button"],onClick:s},u().createElement(i.Z,{icon:o.Z})))};g.defaultProps={level:"info",hideCloseButton:!1};const h=g},2947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(8709);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,c.X)();return new Intl.NumberFormat(n,t).format(e)}},9608:(e,t,n)=>{"use strict";n.d(t,{NE:()=>b,ZP:()=>_,kF:()=>E,oK:()=>j});var c=n(5736),a=n(1074),r=n(9201),i=n(6163),o=n(5235),s=n.n(o),l=n(9196),p=n.n(l),u=n(9665),d=n(2054),m=n(7325),g=n(5106),h=n(9929);const __=c.__,f=__("Included","jetpack-my-jetpack"),y=__("Not included","jetpack-my-jetpack"),k=__("Coming soon","jetpack-my-jetpack"),v=(0,l.createContext)(void 0),E=e=>{let{isIncluded:t=!1,isComingSoon:n=!1,index:o=0,label:m=null,tooltipInfo:E,tooltipTitle:b,tooltipClassName:j=""}=e;const[_]=(0,d.Z)("lg"),w=(0,l.useContext)(v)[o],C=n||t,Z=w.name,N=w.tooltipInfo,S=w.tooltipTitle,P=E||!_&&N,R=((e,t,n)=>e?{lg:k, // translators: Name of the current feature default:(0,c.sprintf)(__("%s coming soon","jetpack-my-jetpack"),n)}:{lg:t?f:y,default:t?n:(0,c.sprintf)(/* translators: Name of the current feature */ -__("%s not included","jetpack-my-jetpack"),n)})(n,t,Z),I=_?R.lg:R.default;return p().createElement("div",{className:s()(h.Z.item,h.Z.value)},p().createElement(a.Z,{className:s()(h.Z.icon,C?h.Z["icon-check"]:h.Z["icon-cross"]),size:32,icon:C?r.Z:i.Z}),p().createElement(g.ZP,{variant:"body-small"},m||I),P&&p().createElement(u.Z,{title:b||S,iconClassName:h.Z["popover-icon"],className:s()(h.Z.popover,j),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(b&&E)},p().createElement(g.ZP,{variant:"body-small",component:"div"},E||N)))},b=e=>{let{children:t}=e;return p().createElement("div",{className:h.Z.header},t)},j=e=>{let{primary:t=!1,children:n}=e,c=0;return p().createElement("div",{className:s()(h.Z.card,{[h.Z["is-primary"]]:t})},l.Children.map(n,(e=>{const t=e;return t.type===E?(c++,(0,l.cloneElement)(t,{index:c-1})):t})))},_=e=>{let{title:t,items:n,children:c,showIntroOfferDisclaimer:a=!1}=e;const[r]=(0,d.Z)("lg");return p().createElement(k.Provider,{value:n},p().createElement("div",{className:s()(h.Z.container,{[h.Z["is-viewport-large"]]:r}),style:{"--rows":n.length+1,"--columns":l.Children.toArray(c).length+1}},p().createElement("div",{className:h.Z.table},p().createElement(g.ZP,{variant:"headline-small"},t),r&&n.map(((e,t)=>p().createElement("div",{className:s()(h.Z.item,{[h.Z["last-feature"]]:t===n.length-1}),key:t},p().createElement(g.ZP,{variant:"body-small"},p().createElement("strong",null,e.name)),e.tooltipInfo&&p().createElement(u.Z,{title:e.tooltipTitle,iconClassName:h.Z["popover-icon"],className:h.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},p().createElement(g.ZP,{variant:"body-small"},e.tooltipInfo))))),c)),p().createElement("div",{className:h.Z["tos-container"]},p().createElement("div",{className:h.Z.tos},a&&p().createElement(g.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-my-jetpack")),p().createElement(m.Z,{multipleButtons:!0}))))}},5347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5736),a=n(5235),r=n.n(a),i=n(5106),o=n(3789),s=n(9184);const __=c.__,l=e=>{let{price:t,offPrice:n,currency:c="",showNotOffPrice:a=!0,hideDiscountLabel:l=!0,promoLabel:p="",legend:u=__("/month, paid yearly","jetpack-my-jetpack"),isNotConvenientPrice:d=!1,hidePriceFraction:m=!1,children:g}=e;if(null==t&&null==n||!c)return null;a=a&&null!=n;const h="number"==typeof t&&"number"==typeof n?Math.floor((t-n)/t*100):0,f=!l&&h&&h>0?h+__("% off","jetpack-my-jetpack"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:s.Z.container},React.createElement("div",{className:r()(s.Z["price-container"],"product-price_container")},React.createElement(o.t,{value:n??t,currency:c,isOff:!d,hidePriceFraction:m}),a&&React.createElement(o.t,{value:t,currency:c,isOff:!1,hidePriceFraction:m}),f&&React.createElement(i.ZP,{className:r()(s.Z["promo-label"],"product-price_promo_label")},f))),React.createElement("div",{className:s.Z.footer},g||React.createElement(i.ZP,{className:r()(s.Z.legend,"product-price_legend")},u),p&&React.createElement(i.ZP,{className:r()(s.Z["promo-label"],"product-price_promo_label")},p)))}},3789:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var c=n(8899),a=n(5235),r=n.n(a),i=n(5106),o=n(9184);const s=e=>{let{value:t,currency:n,isOff:a,hidePriceFraction:s}=e;const l=r()(o.Z.price,"product-price_price",{[o.Z["is-not-off-price"]]:!a}),{symbol:p,integer:u,fraction:d}=(0,c.LR)(t,n),m=!s||!d.endsWith("00");return React.createElement(i.ZP,{className:l,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:o.Z.symbol,component:"sup",variant:"title-medium"},p),u,m&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(1683);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},c={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:c})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const s=o},7325:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9307),a=n(5736),r=n(5235),i=n.n(r),o=n(6895),s=n(5106);n(7920);const __=a.__,l=()=>(0,c.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(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=e=>{let{agreeButtonLabel:t}=e;return(0,c.createInterpolateElement)((0,a.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"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},u=e=>{let{slug:t,children:n}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,o.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)},d=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:c}=e;return React.createElement(s.ZP,{className:i()(t,"terms-of-service")},n?React.createElement(l,null):React.createElement(p,{agreeButtonLabel:c}))}},6017:(e,t,n)=>{"use strict";n.d(t,{h:()=>c,s:()=>a});const c={"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"},a=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>g,H3:()=>m,ZP:()=>d});var c=n(2674),a=n.n(c),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(6017),p=n(3280);const u=(0,o.forwardRef)(((e,t)=>{let{variant:n="body",children:c,component:r,className:u,...d}=e;const m=r||l.h[n]||"span",g=(0,o.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==d[t]&&(e+=p.Z[`${t}-${d[t]}`]+" ",delete d[t]),e)),"")),[d]);return d.ref=t,s().createElement(m,a()({className:i()(p.Z.reset,p.Z[n],u,g)},d),c)}));u.displayName="Text";const d=u,m=e=>{let{children:t,weight:n="bold",...c}=e;const r="headline-small"+("bold"===n?"":`-${n}`);return s().createElement(u,a()({variant:r,mb:3},c),t)},g=e=>{let{children:t,size:n="medium",...c}=e;return s().createElement(u,a()({variant:`title-${n}`,mb:1},c),t)}},8275:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var c=n(9196),a=n.n(c),r=n(3591);const i={"--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)"},o={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--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 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},p={},u=(e,t,n)=>{const c={...i,...o,...s,...l};for(const t in c)e.style.setProperty(t,c[t]);n&&e.classList.add(r.Z.global),t&&(p[t]={provided:!0,root:e})},d=e=>{let{children:t=null,targetDom:n,id:r,withGlobalStyles:i=!0}=e;const o=(0,c.useRef)(),s=p?.[r]?.provided;return(0,c.useLayoutEffect)((()=>{if(!s)return n?u(n,r,i):void(o?.current&&u(o.current,r,i))}),[n,o,s,r,i]),n?t:a().createElement("div",{ref:o},t)}},5905:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});const c="d729d42c-b547-4750-a6f6-8b30534a5f12"},4164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n(5905);const r=e=>{let{jwt_token:t}=e;const n=(0,c.useCallback)((()=>{"undefined"!=typeof window&&"function"==typeof window.zE&&window.zE("messenger","loginUser",(function(e){e(t)}))}),[t]);return(0,c.useEffect)((()=>{const e=document.createElement("script"),t=document.getElementById("zendesk-chat-container");e.src="https://static.zdassets.com/ekr/snippet.js?key="+encodeURIComponent(a.O),e.type="text/javascript",e.id="ze-snippet",e.onload=()=>{n()},t&&t.appendChild(e)}),[n]),React.createElement("div",{"data-testid":"zendesk-chat-container",id:"zendesk-chat-container"})}},8709:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var c=n(9771);const a=()=>{const{l10n:{locale:e}}=(0,c.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"}},4153:(e,t,n)=>{"use strict";function c(e,t,n,c){const a=new URL("https://wordpress.com/checkout/"),r=new URL(`${a}${t}/${e}`);return r.searchParams.set("redirect_to",n),c||r.searchParams.set("unlinked","1"),r.searchParams.set("site",t),r.toString()}n.d(t,{Z:()=>c})},6895:(e,t,n)=>{"use strict";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let c;if("undefined"!=typeof window&&(c=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),c&&(n.calypso_env=c);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>c})},1132:(e,t,n)=>{let c={};try{c=n(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),c={missingConfig:!0}}const a=e=>c.hasOwnProperty(e);e.exports={jetpackConfigHas:a,jetpackConfigGet:e=>{if(!a(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 c[e]}}},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(1294),l=n(1624);const __=c.__,p=e=>{let{title:t,buttonLabel:n,apiRoot:c,apiNonce:a,registrationNonce:r,from:i,redirectUri:p,images:u,children:d,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:f,logo:y}=e;const{handleRegisterSite:v,siteIsRegistering:k,userIsConnecting:E,registrationError:b,isOfflineMode:j}=(0,s.Z)({registrationNonce:r,redirectUri:p,apiRoot:c,apiNonce:a,autoTrigger:g,from:i,skipUserConnection:f}),_=Boolean(b),w=k||E;return o().createElement(l.Z,{title:t,images:u,assetBaseUrl:m,buttonLabel:n,handleButtonClick:v,displayButtonError:_,buttonIsLoading:w,footer:h,isOfflineMode:j,logo:y},d)};p.propTypes={title:r().string,buttonLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,registrationNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,autoTrigger:r().bool,images:r().arrayOf(r().string),assetBaseUrl:r().string,skipUserConnection:r().bool,logo:r().element},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-my-jetpack"),buttonLabel:__("Set up Jetpack","jetpack-my-jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};const u=p},1624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(6895),a=n(7325),r=n(7121),i=n(9307),o=n(5736),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=n(8524);n(1510);const __=o.__,m=e=>{const{title:t,images:n,children:o,assetBaseUrl:s,isLoading:l,buttonLabel:p,handleButtonClick:m,displayButtonError:g,buttonIsLoading:h,footer:f,isOfflineMode:y,logo:v}=e,k=y?(0,i.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-my-jetpack"),{a:u().createElement("a",{href:(0,c.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return u().createElement(d.Z,{title:t,assetBaseUrl:s,images:n,className:"jp-connection__connect-screen"+(l?" jp-connection__connect-screen__loading":""),logo:v},u().createElement("div",{className:"jp-connection__connect-screen__content"},o,u().createElement("div",{className:"jp-connection__connect-screen__tos"},u().createElement(a.Z,{agreeButtonLabel:p})),u().createElement(r.Z,{label:p,onClick:m,displayError:g||y,errorMessage:k,isLoading:h,isDisabled:y}),f&&u().createElement("div",{className:"jp-connection__connect-screen__footer"},f)))};m.propTypes={title:l().string,images:l().arrayOf(l().string),assetBaseUrl:l().string,isLoading:l().bool,buttonLabel:l().string.isRequired,handleButtonClick:l().func,displayButtonError:l().bool,buttonIsLoading:l().bool,footer:l().node,isOfflineMode:l().bool,logo:l().element},m.defaultProps={isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null,isOfflineMode:!1};const g=m},2458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const c=t.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},c)};o.propTypes={images:a().arrayOf(a().string).isRequired,assetBaseUrl:a().string},o.defaultProps={assetBaseUrl:""};const s=o},8524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(8868),a=n(5235),r=n.n(a),i=n(5162),o=n.n(i),s=n(9196),l=n.n(s),p=n(2458);n(9610);const u=e=>{const{title:t,children:n,className:a,assetBaseUrl:i,images:o,logo:s,rna:u=!1}=e,d=o?.length;return l().createElement("div",{className:r()("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",a?" "+a:"")},u&&l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),l().createElement("div",{className:"jp-connection__connect-screen-layout__left"},s||l().createElement(c.Z,null),l().createElement("h2",null,t),n),d?l().createElement("div",{className:"jp-connection__connect-screen-layout__right"},l().createElement(p.Z,{images:o,assetBaseUrl:i})):null)};u.propTypes={title:o().string,className:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string,logo:o().element};const d=u},7879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(4322);const __=c.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,c=(0,i.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&c.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-my-jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},c.map((e=>o().createElement(s.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:r().array,disconnectingPlugin:r().string};const p=l},6186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2054),a=n(5033),r=n(5609),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(9836);const __=i.__,d=e=>{const{message:t,isRestoringConnection:n,restoreConnectionCallback:o,restoreConnectionError:s}=e,[l]=(0,c.Z)(["md"],[">"]),d=u.Z.notice+(l?" "+u.Z["bigger-than-medium"]:""),m=p().createElement(r.Icon,{icon:p().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(r.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(r.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(r.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!t)return null;if(n)return p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d},p().createElement("div",{className:u.Z.message},p().createElement(a.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-my-jetpack")));const g=s?p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d+" "+u.Z.error},p().createElement("div",{className:u.Z.message},m,(0,i.sprintf)(/* translators: placeholder is the error. */ -__("There was an error reconnecting Jetpack. Error: %s","jetpack-my-jetpack"),s))):null;return p().createElement(p().Fragment,null,g,p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d},p().createElement("div",{className:u.Z.message},m,t),o&&p().createElement("a",{onClick:o,onKeyDown:o,className:u.Z.button,href:"#"},__("Restore Connection","jetpack-my-jetpack"))))};d.propTypes={message:s().string.isRequired,restoreConnectionCallback:s().func,isRestoringConnection:s().bool,restoreConnectionError:s().string};const m=d},4322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(4220);const o=e=>{const{title:t,value:n,description:c}=e;return i().createElement("div",{className:"jp-connection__disconnect-card card"},i().createElement("div",{className:"jp-connection__disconnect-card__card-content"},i().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||c)&&i().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},i().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),i().createElement("div",{className:"jp-connection__disconnect-card__card-description"},c))))};o.propTypes={title:a().string,value:a().oneOfType([a().string,a().number]),description:a().string};const s=o},6168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(6975),a=n(4743),r=n(1132),i=n(5609),o=n(5736),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=(n(287),n(9015)),m=n(5995),g=n(1702),h=n(1166);const __=o.__,f=e=>{const[t,n]=(0,p.useState)(!1),[o,s]=(0,p.useState)(!1),[l,f]=(0,p.useState)(!1),[y,v]=(0,p.useState)(!1),[k,E]=(0,p.useState)(!1),[b,j]=(0,p.useState)(!1),{apiRoot:_,apiNonce:w,connectedPlugins:C,title:Z,pluginScreenDisconnectCallback:N,onDisconnected:S,onError:P,disconnectStepComponent:R,context:I,connectedUser:x,connectedSiteId:A,isOpen:L,onClose:T}=e;let U="";(0,r.jetpackConfigHas)("consumer_slug")&&(U=(0,r.jetpackConfigGet)("consumer_slug"));const F=(0,p.useMemo)((()=>({context:I,plugin:U})),[I,U]);(0,p.useEffect)((()=>{a.ZP.setApiRoot(_),a.ZP.setApiNonce(w)}),[_,w]),(0,p.useEffect)((()=>{x&&x.ID&&x.login&&c.Z.initialize(x.ID,x.login)}),[x,x.ID,x.login]),(0,p.useEffect)((()=>{L&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",F)}),[L,F]),(0,p.useEffect)((()=>{L&&(o?!o||y||k?y&&!k?c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},F)):k&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},F)))}),[L,o,y,k,F]);const O=(0,p.useCallback)((()=>{a.ZP.disconnectSite().then((()=>{n(!1),s(!0)})).catch((e=>{n(!1),f(e),P&&P(e)}))}),[n,s,f,P]),z=(0,p.useCallback)(((e,t)=>{j(!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);c.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),j(!1)})).catch((e=>{c.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),j(!1)}))}),[j,E]),M=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!1),n(!0),"plugins"!==I?O():N&&N(e)}),[f,n,N,I,O]),D=(0,p.useCallback)((e=>c.Z.tracks.recordEvent(e,F)),[F]),V=(0,p.useCallback)((()=>!(!x.ID||!A)),[x,A]),B=(0,p.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!V())return void E(!0);const c={site_id:A,user_id:x.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},a=Object.assign({},F,{disconnect_reason:e});z(c,a)}),[z,E,V,A,x,F]),H=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),T()}),[S,T]),J=(0,p.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return u().createElement(u().Fragment,null,L&&u().createElement(i.Modal,{title:"",contentLabel:Z,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:T,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||y||k?y&&!k?u().createElement(g.Z,{isSubmittingFeedback:b,onFeedBackProvided:B,onExit:H}):k?u().createElement(h.Z,{onExit:H}):void 0:u().createElement(m.Z,{canProvideFeedback:V(),onProvideFeedback:J,onExit:H}):u().createElement(d.Z,{title:Z,connectedPlugins:C,disconnectStepComponent:R,isDisconnecting:t,closeModal:T,onDisconnect:M,disconnectError:l,context:I,disconnectingPlugin:U,trackModalClick:D})))};f.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func},f.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-my-jetpack"),context:"jetpack-dashboard",connectedUser:{}};const y=f},5995:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(2042);const __=i.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{icon:"unlink",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,r.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-my-jetpack"),{br:p().createElement("br",null)})),n&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-my-jetpack")),p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!n&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};d.propTypes={onExit:s().func,onProvideFeedback:s().func,canProvideFeedback:s().bool};const m=d},9015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(6895),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(7879);const __=i.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:o,disconnectStepComponent:s,connectedPlugins:d,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:f}=e,y=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_learn_about")),[f]),v=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_support")),[f]),k=(0,l.useCallback)((()=>{f("jetpack_disconnect_dialog_click_stay_connected"),g()}),[f,g]),E=(0,l.useCallback)((e=>{f("jetpack_disconnect_dialog_click_disconnect"),i(e)}),[f,i]),b=(0,l.useCallback)((e=>{"Escape"!==e.key||n||k()}),[k,n]);(0,l.useEffect)((()=>(document.addEventListener("keydown",b,!1),()=>{document.removeEventListener("keydown",b,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),p().createElement(u.Z,{connectedPlugins:d,disconnectingPlugin:m}),s,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!s)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-my-jetpack"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,r.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-my-jetpack"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(a.ExternalLink,{href:(0,c.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:p().createElement(a.ExternalLink,{href:(0,c.Z)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:v})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(a.Button,{variant:"primary",disabled:n,onClick:k,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-my-jetpack"):__("Stay connected","jetpack-my-jetpack",0)),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return n?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===h&&(e=__("Deactivate","jetpack-my-jetpack")),p().createElement(a.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};d.propTypes={title:s().string,isDisconnecting:s().bool,onDisconnect:s().func,disconnectError:s().bool,disconnectStepComponent:s().element,connectedPlugins:s().array,disconnectingPlugin:s().string,closeModal:s().func,context:s().string,trackModalClick:s().func};const m=d},1702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=(n(9823),n(6336));const __=c.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-my-jetpack")),o().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:c}),o().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 p=l},1166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(724);const __=i.__,d=e=>{const{onExit:t}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{format:"vertical",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),p().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:p().createElement("br",null)})),p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};d.PropTypes={onExit:s().func,assetBaseUrl:s().string};const m=d},6336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5609),a=n(5736),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(4372);const __=a.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[a,r]=(0,o.useState)(),[i,p]=(0,o.useState)(),u=[{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")}],d="another-reason",m=(0,o.useCallback)((()=>{t(a,a===d?i:"")}),[t,d,i,a]),g=(0,o.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),h=e=>e===a?"jp-connect__disconnect-survey-card--selected":"",f=(0,o.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":r(e)}}),[r]);return s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},u.map((e=>s().createElement(l.Z,{id:e.id,onClick:r,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(e.id)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),s().createElement(l.Z,{id:d,key:d,onClick:r,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(d)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",s().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:i,onChange:g,maxLength:1e3})))),s().createElement("p",null,s().createElement(c.Button,{disabled:!a||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};p.PropTypes={onSubmit:i().func,isSubmittingFeedback:i().bool};const u=p},4372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n.n(c);n(9823);const r=e=>{const{id:t,onClick:n,onKeyDown:r,children:i,className:o}=e,s=(0,c.useCallback)((()=>{n(t)}),[t,n]),l=(0,c.useCallback)((e=>{r(t,e)}),[t,r]);return a().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},i)}},8137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var c=n(5106),a=n(6895),r=n(526),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(6936),u=n(5381),d=n(5235),m=n.n(d),g=n(5162),h=n.n(g),f=n(9196),y=n.n(f),v=n(6168);n(7664);const __=s.__,k=e=>{const{title:t,apiRoot:n,apiNonce:r,connectedPlugins:o,onDisconnected:s,context:l,connectedUser:p,connectedSiteId:u,isOpen:d,onClose:m}=e,[g,h]=(0,f.useState)(!1),k=(0,f.useCallback)((e=>{e&&e.preventDefault(),h(!0)}),[h]),j=(0,f.useCallback)((e=>{e&&e.preventDefault(),h(!1)}),[h]);return y().createElement(y().Fragment,null,d&&y().createElement(y().Fragment,null,y().createElement(i.Modal,{title:"",contentLabel:t,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},y().createElement("div",{className:"jp-connection__manage-dialog__content"},y().createElement("h1",{id:"jp-connection__manage-dialog__heading"},t),y().createElement(c.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")),y().createElement(E,{title:__("Transfer ownership to another admin","jetpack-my-jetpack"),link:(0,a.Z)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),y().createElement(E,{title:__("Disconnect Jetpack","jetpack-my-jetpack"),onClick:k,key:"disconnect",action:"disconnect"})),y().createElement(b,{onClose:m})),y().createElement(v.Z,{apiRoot:n,apiNonce:r,onDisconnected:s,connectedPlugins:o,connectedSiteId:u,connectedUser:p,isOpen:g,onClose:j,context:l})))},E=e=>{let{title:t,onClick:n=(()=>null),link:c="#",action:a}=e;return y().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},y().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},y().createElement("a",{href:c,className:m()("jp-connection__manage-dialog__action-card__card-headline",a),onClick:n},t,y().createElement(l.Z,{icon:"disconnect"===a?p.Z:u.Z,className:"jp-connection__manage-dialog__action-card__icon"}))))},b=e=>{let{onClose:t}=e;return y().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},y().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},y().createElement(c.ZP,null,(0,o.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-my-jetpack"),{strong:y().createElement("strong",null),connectionInfoLink:y().createElement(i.ExternalLink,{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:y().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),y().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},y().createElement(r.Z,{weight:"regular",variant:"secondary",onClick:t,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-my-jetpack"))))};k.propTypes={title:h().string,apiRoot:h().string.isRequired,apiNonce:h().string.isRequired,connectedPlugins:h().oneOfType([h().array,h().object]),onDisconnected:h().func,context:h().string,connectedUser:h().object,connectedSiteId:h().number,isOpen:h().bool,onClose:h().func},k.defaultProps={title:__("Manage your Jetpack connection","jetpack-my-jetpack"),isOpen:!1,context:"jetpack-dashboard",connectedUser:{}};const j=k},1294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(4743),a=n(9818),r=n(9196),i=n(428);const o=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},s=function(){let{registrationNonce:e=o.registrationNonce,apiRoot:t=o.apiRoot,apiNonce:n=o.apiNonce,redirectUri:s,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:g}=(0,a.useDispatch)(i.t),h=(0,a.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:y,userConnectionData:v,connectedPlugins:k,connectionErrors:E,isRegistered:b,isUserConnected:j,hasConnectedOwner:_,isOfflineMode:w}=(0,a.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),C=()=>u?s?(window.location=s,Promise.resolve(s)):Promise.resolve():m({from:p,redirectUri:s}),Z=t=>(t&&t.preventDefault(),b?C():d({registrationNonce:e,redirectUri:s}).then((()=>C())));return(0,r.useEffect)((()=>{c.ZP.setApiRoot(t),c.ZP.setApiNonce(n)}),[t,n]),(0,r.useEffect)((()=>{!l||f||y||Z()}),[]),{handleRegisterSite:Z,handleConnectUser:C,refreshConnectedPlugins:g,isRegistered:b,isUserConnected:j,siteIsRegistering:f,userIsConnecting:y,registrationError:h,userConnectionData:v,hasConnectedOwner:_,connectedPlugins:k,connectionErrors:E,isOfflineMode:w}}},3329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,h:()=>o});var c=n(6186),a=n(1294),r=n(1045);function i(){const{connectionErrors:e}=(0,a.Z)({}),t=Object.values(e).shift(),n=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(n),connectionErrorMessage:n}}const o=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=i(),{restoreConnection:n,isRestoringConnection:a,restoreConnectionError:o}=(0,r.Z)();return e?React.createElement(c.Z,{isRestoringConnection:a,restoreConnectionError:o,restoreConnectionCallback:n,message:t}):null}},8258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var c=n(4743),a=n(4153),r=n(9818),i=n(951),o=n.n(i),s=n(9196),l=n(1294),p=n(428);const u=o()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:d,apiRoot:m,apiNonce:g,siteSuffix:h}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function f(){let{productSlug:e,redirectUrl:t,siteSuffix:n=h,siteProductAvailabilityHandler:i=null,from:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u("productSlug is %s",e),u("redirectUrl is %s",t),u("siteSuffix is %s",n),u("from is %s",o);const[f,y]=(0,s.useState)(!1),{registerSite:v}=(0,r.useDispatch)(p.t),{isUserConnected:k,isRegistered:E,handleConnectUser:b}=(0,l.Z)({redirectUri:t,from:o}),j=(0,a.Z)(e,n,t,k);u("checkoutProductUrl is %s",j),u("isUserConnected is %s",k);const _=()=>Promise.resolve(i&&i()).then((e=>{if(e)return u("handleAfterRegistration: Site has a product associated"),b();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",j),window.location.href=j}));return(0,s.useEffect)((()=>{c.ZP.setApiRoot(m),c.ZP.setApiNonce(g)}),[]),{run:e=>{if(e&&e.preventDefault(),y(!0),E)return _();v({registrationNonce:d,redirectUri:t}).then(_)},isRegistered:E,hasCheckoutStarted:f}}},1045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(4743),a=n(9818),r=n(9196),i=n(428);const{apiRoot:o,apiNonce:s}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,r.useState)(!1),[n,l]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:u}=(0,a.useDispatch)(i.t);return(0,r.useEffect)((()=>{c.ZP.setApiRoot(o),c.ZP.setApiNonce(s)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),l(null),c.ZP.reconnect().then((t=>("in_progress"===t.status?(p(),u({}),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:n}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>r,N4:()=>o,Qo:()=>u,T1:()=>l,TS:()=>p,ZP:()=>j,b5:()=>m,i6:()=>a,qJ:()=>g,qV:()=>s,r7:()=>i,wQ:()=>d});var c=n(4743);const a="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="DISCONNECT_USER_SUCCESS",d="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:a,connectionStatus:e}),f=e=>({type:i,isRegistering:e}),y=e=>({type:o,isConnecting:e}),v=e=>({type:s,registrationError:e}),k=()=>({type:l}),E=e=>({type:p,authorizationUrl:e}),b=e=>({type:d,connectedPlugins:e});const j={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:y,setRegistrationError:v,clearRegistrationError:k,setAuthorizationUrl:E,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield k(),yield f(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield h({isRegistered:!0}),yield E(e.authorizeUrl),yield f(!1),Promise.resolve(e)}catch(e){return yield v(e),yield f(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:u}),setConnectedPlugins:b,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>c.ZP.fetchConnectedPlugins().then((n=>{t(b(n)),e(n)}))))},setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(4743),a=n(9818),r=n(7057);const i={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return c.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return c.ZP.registerSite(t,n)},CONNECT_USER:(0,a.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((a,i)=>{t(r.Z).getAuthorizationUrl(c).then((t=>{const c=n||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const i=r.toString();c(i),a(i)})).catch((e=>{i(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7523);const r=(0,c.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.i6:return{...e,...t.connectionStatus};case a.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case a.T1:return!1;case a.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===a.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.b5?t.connectionErrors:e},isOfflineMode:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.qJ?t.isConnecting:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),a=n(7523),r=n(7057);const i={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i{"use strict";n.d(t,{Z:()=>c});const c={...{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,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(17),a=n.n(c),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}a()(i,"store",null);const o=i},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var c=n(7523),a=n(1432),r=n(1479),i=n(7728),o=n(2725),s=n(3535),l=n(7057);const p=window.JP_CONNECTION_INITIAL_STATE;p||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),s.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.Z,resolvers:i.Z,controls:a.Z,initialState:p||{}})},8728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(6975),a=n(8868),r=n(5033),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(797),u=n(5844),d=n.n(u),m=n(9196),g=n.n(m);const __=s.__,h=e=>{const{className:t,disabled:n,onChange:c,value:a}=e;return g().createElement(i.TextControl,{className:t,label:__("License key","jetpack-my-jetpack"),value:a,onChange:c,disabled:n})},f=e=>{const{className:t,availableLicenses:n,disabled:c,onChange:a,value:r}=e,[o,l]=(0,m.useState)(""),p=null===n,u=(0,m.useMemo)((()=>p?[{label:__("Fetching available licenses…","jetpack-my-jetpack"),value:""}]:[...n.map((e=>{let{product:t,license_key:n}=e;return{label:(0,s.sprintf)(/* translators: placeholder is the product name and license key */ -__("%1$s - %2$s","jetpack-my-jetpack"),t,n),value:n}})),{label:__("I want to add a license key manually","jetpack-my-jetpack"),value:""}]),[n,p]);(0,m.useEffect)((()=>{l(u?.length?u[0].value:"")}),[u]);const d=(0,m.useCallback)((e=>{l(e),a(e)}),[a]);return g().createElement(g().Fragment,null,g().createElement(i.SelectControl,{className:t,disabled:c,label:__("Select a license key","jetpack-my-jetpack"),value:o,options:u,onChange:d}),!p&&!o&&g().createElement(i.TextControl,{className:t,label:__("Input a license key","jetpack-my-jetpack"),value:r,onChange:a,disabled:c}))},y=e=>{const{activateLicense:t,availableLicenses:n,fetchingAvailableLicenses:s,isActivating:u,license:d,licenseError:y,onLicenseChange:v}=e,k=null!=y;(0,m.useEffect)((()=>{c.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",b=n&&n.length;return g().createElement("div",{className:"jp-license-activation-screen-controls"},g().createElement("div",{className:"jp-license-activation-screen-controls--content"},g().createElement(a.Z,{showText:!1,height:48}),g().createElement("h1",null,__("Add a license key","jetpack-my-jetpack")),g().createElement("p",null,(0,o.createInterpolateElement)(__("Check your email for your license key. You should have received it after making your purchase.","jetpack-my-jetpack"),{strong:g().createElement("strong",null)})),s||b?g().createElement(f,{className:E,disabled:s||u,onChange:v,availableLicenses:s?null:n,value:d}):g().createElement(h,{className:E,disabled:u,onChange:v,value:d}),k&&g().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},g().createElement(l.Z,{icon:p.Z}),g().createElement("span",null,y))),g().createElement("div",null,g().createElement(i.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!d},u?g().createElement(r.Z,null):__("Activate","jetpack-my-jetpack"))))};y.propTypes={activateLicense:d().func.isRequired,availableLicenses:d().array,fetchingAvailableLicenses:d().bool,isActivating:d().bool.isRequired,license:d().string.isRequired,licenseError:d().string,onLicenseChange:d().func.isRequired,siteUrl:d().string.isRequired};const v=y},8781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(6895),a=n(9307),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,a.createInterpolateElement)(__("Do you need help? Contact us.","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,c.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const u=p},7554:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(8868),a=n(5844),r=n.n(a),i=n(9196),o=n.n(i),s=n(3157),l=n(8288),p=n(4172);const u=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:a,currentRecommendationsStep:r}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(c.Z,{showText:!1,height:48})),o().createElement(l.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(s.c,{currentRecommendationsStep:r,siteAdminUrl:a,siteRawUrl:n}),o().createElement(p.o,{siteRawUrl:n,productId:t})))};u.propTypes={siteRawUrl:r().string,productId:r().number,siteAdminUrl:r().string,currentRecommendationsStep:r().string};const d=u},3157:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:r}=e;return"not-started"===t?l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack-my-jetpack")):l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,c.Z)("license-activation-view-my-plans",{site:r})},__("View my plans","jetpack-my-jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},4172:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s),p=n(9430);const __=r.__,u=e=>{const{productId:t,siteRawUrl:n}=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,p.F)(t)];return l().createElement(l().Fragment,null,r&&l().createElement(a.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,c.Z)(r.redirectSource,{site:n})},r.text))};u.propTypes={siteRawUrl:o().string,productId:o().number}},468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(6975),a=n(4743),r=n(9307),i=n(5736),o=n(5844),s=n.n(o),l=n(9196),p=n.n(l),u=n(8728),d=n(8781),m=n(7554),g=n(9644),h=n(8702),f=n(1160);const __=i.__,y=e=>{const{availableLicenses:t=[],currentRecommendationsStep:n,fetchingAvailableLicenses:i=!1,onActivationSuccess:o=(()=>null),siteAdminUrl:s,siteRawUrl:y,startingLicense:v,displayName:k=""}=e,[E,b]=(0,l.useState)(v??""),[j,_]=(0,l.useState)(null),[w,C]=(0,l.useState)(!1),[Z,N]=(0,l.useState)(null);(0,l.useEffect)((()=>{t&&t[0]&&b(t[0].license_key)}),[t]);const S=(0,l.useCallback)((()=>w?Promise.resolve():E.length<1?(_(__("This is not a valid license key. Please try again.","jetpack-my-jetpack")),Promise.resolve()):(_(null),C(!0),c.Z.tracks.recordJetpackClick({target:"license_activation_button"}),a.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);N(t),o(t),c.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{c.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:p().createElement("a",{href:"admin.php?page=my-jetpack#/connection?returnTo=add-license"})})):_(e.message)})).finally((()=>{C(!1)})))),[w,E,o]);return null!==Z&&E.startsWith("jetpack-golden-token")?p().createElement(g.Z,{tokenRedeemed:!0,displayName:k}):null!==Z?p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(m.Z,{siteRawUrl:y,productId:Z,siteAdminUrl:s,currentRecommendationsStep:n}),p().createElement(d.Z,{imageUrl:f,showSupportLink:!1})):p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(u.Z,{availableLicenses:t,activateLicense:S,fetchingAvailableLicenses:i,isActivating:w,license:E,licenseError:j,onLicenseChange:b,siteUrl:y}),p().createElement(d.Z,{imageUrl:h,showSupportLink:!0}))};y.propTypes={availableLicenses:s().array,currentRecommendationsStep:s().string,fetchingAvailableLicenses:s().bool,onActivationSuccess:s().func,siteAdminUrl:s().string.isRequired,siteRawUrl:s().string.isRequired,startingLicense:s().string,displayName:s().string};const v=y},9644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(3396),a=n(3363),r=n(3846),i=n(8868),o=n(526),s=n(5609),l=n(5736),p=n(5235),u=n.n(p),d=n(5844),m=n.n(d),g=n(9196),h=n.n(g),f=n(1008);const __=l.__,_x=l._x;function y(e){let{redeemClick:t,displayName:n,onModalClose:p,tokenRedeemed:d}=e;const[m,y]=(0,g.useState)(!1),v=(0,g.useRef)(null);(0,g.useEffect)((()=>{setTimeout((()=>{v?.current?.play()}),500)}),[v]);const k=(0,c.VS)("scan"),E=(0,c.VS)("backup"),b=(0,g.useCallback)((e=>{t?.(e),y(!0),v.current.play()}),[v,t]),j=(0,g.useCallback)((()=>{m&&v.current.play()}),[m]),_=u()(f.Z.modal,{[f.Z.animating]:m});return h().createElement("div",null,h().createElement(s.Modal,{className:_,onRequestClose:p,isDismissible:!1,__experimentalHideHeader:!0},h().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},h().createElement(r.Z,null,h().createElement(i.Z,{className:f.Z["jetpack-logo"]}),h().createElement("div",{className:f.Z["video-wrap"],onClick:j,role:"presentation"},h().createElement("video",{ref:v,src:"https://videos.files.wordpress.com/oSlNIBQO/jetpack-golden-token.mp4",muted:"muted"})),h().createElement("div",{className:f.Z["content-wrap"]},h().createElement("div",{className:f.Z["content-wrap-text"]},n.length>0&&h().createElement("p",{className:f.Z["hi-user"]},(0,l.sprintf)(/* Translators: %s is the user's display name. */ -__("Hey, %s","jetpack-my-jetpack"),n)),h().createElement("h2",{className:f.Z.headline},__("You have been gifted a Jetpack Golden Token.","jetpack-my-jetpack")),h().createElement("p",null,d&&__("This unlocked a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience is already active.","jetpack-my-jetpack"),!d&&__("This unlocks a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience awaits.","jetpack-my-jetpack"))),h().createElement(o.Z,{variant:"primary",weight:"regular",onClick:b,className:f.Z.button},d&&__("Awesome!","jetpack-my-jetpack"),!d&&__("Redeem your token","jetpack-my-jetpack"))),h().createElement("div",{className:`${f.Z["powers-wrap"]} ${f.Z["content-wrap"]}`},h().createElement("div",{className:f.Z["content-wrap-text"]},h().createElement("h2",{className:f.Z.headline},__("Super powers are ready!","jetpack-my-jetpack")),h().createElement("p",{className:f.Z.paragraph},__("Your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack-my-jetpack"))),h().createElement("div",{className:f.Z["jetpack-products"]},h().createElement("div",null,h().createElement(E,null),h().createElement("h3",null,__("VaultPress Backup","jetpack-my-jetpack")),h().createElement("p",null,__("Save every change and get back online quickly with one‑click restores.","jetpack-my-jetpack"))),h().createElement("div",null,h().createElement(k,null),h().createElement("h3",null,_x("Scan","Plugin name (noun).","jetpack-my-jetpack")),h().createElement("p",null,__("Automated scanning and one‑click fixes to keep your site ahead of security threats.","jetpack-my-jetpack")))),h().createElement(o.Z,{variant:"primary",weight:"regular",onClick:b,href:window?.myJetpackInitialState?.myJetpackUrl,className:f.Z.button},__("Explore your new powers","jetpack-my-jetpack")))))))}y.defaultProps={tokenRedeemed:!1,onModalClose:e=>{document.referrer.includes(window.location.host)?(e.preventDefault(),history.back()):(e.preventDefault(),window.location.href=window?.myJetpackInitialState?.myJetpackUrl)}},y.propTypes={redeemClick:m().func,tokenRedeemed:m().bool,displayName:m().string,onModalClose:m().func};const v=y},3281:(e,t,n)=>{"use strict";n.d(t,{H:()=>a.Z,I:()=>c.Z});var c=n(468),a=n(9644)},1899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(4743),a=n(9105),r=n(3363),i=n(3846),o=n(1294),s=n(3281),l=n(9196),p=n.n(l),u=n(2199),d=n(4106),m=n(5626);function g(){(0,l.useEffect)((()=>{const{apiRoot:e,apiNonce:t}=window?.myJetpackRest||{};c.ZP.setApiRoot(e),c.ZP.setApiNonce(t)}),[]);const{recordEvent:e}=(0,u.Z)(),{availableLicenses:t,fetchingAvailableLicenses:n}=(0,d.Z)(),{userConnectionData:g}=(0,o.Z)(),[h,f]=(0,l.useState)(!1),y=g?.currentUser?.wpcomUser?.display_name||g?.currentUser?.wpcomUser?.login||g?.currentUser?.username,v=(0,l.useCallback)((()=>{e("jetpack_myjetpack_license_activation_back_link_click")}),[e]),k=(0,l.useCallback)((()=>{f(!0)}),[]);return p().createElement(a.Z,{showHeader:!1,showBackground:!1},p().createElement(r.Z,{horizontalSpacing:3,horizontalGap:3},p().createElement(i.Z,null,p().createElement(m.Z,{onClick:v,reload:h})),p().createElement(i.Z,null,p().createElement(s.I,{currentRecommendationsStep:null,availableLicenses:t,fetchingAvailableLicenses:n,onActivationSuccess:k,siteAdminUrl:window?.myJetpackInitialState?.adminUrl,siteRawUrl:window?.myJetpackInitialState?.siteSuffix,displayName:y}))))}},3890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(1074),a=n(9517),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(9997),p=n(6234);const u=e=>{let{className:t}=e;return s().createElement(l.rU,{to:"/",className:i()(p.Z.link,t)},s().createElement(c.Z,{icon:a.Z,className:p.Z.icon}))}},5745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(1294),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(3345),l=n(3703),p=n(2307),u=n(2728);const d=e=>{let{admin:t,slug:n,children:a,showMenu:r=!1,menuItems:d=[]}=e;const{isRegistered:m,isUserConnected:g}=(0,c.Z)(),{detail:h,activate:f,deactivate:y,isFetching:v,installStandalonePlugin:k,deactivateStandalonePlugin:E}=(0,l.i)(n),{name:b,description:j,requiresUserConnection:_,standalonePluginInfo:w,status:C}=h,[Z,N]=(0,i.useState)(!1),[S,P]=(0,i.useState)(!1),R=(0,s.Z)("/connection"),I=w?.hasStandalonePlugin,x=w?.isStandaloneInstalled,A=w?.isStandaloneActive,L=I&&x&&!A,T=I&&x&&A,U=I&&!x,F=m&&g,O=C===p.N.ABSENT||C===p.N.ABSENT_WITH_PLAN,z=r&&!O&&C!==p.N.ERROR&&F&&(d?.length>0||L||T||U),M=(0,i.useCallback)((()=>{m&&g||!_?f():R()}),[f,m,g,_,R]),D=(0,i.useCallback)((()=>{N(!0),k().then((()=>{window?.location?.reload()})).catch((()=>{N(!1)}))}),[k]),V=(0,i.useCallback)((()=>{P(!0),E().then((()=>{window?.location?.reload()})).catch((()=>{P(!1)}))}),[E]);return o().createElement(u.Z,{name:b,description:j,status:C,admin:t,isFetching:v,isInstallingStandalone:Z,isDeactivatingStandalone:S,onDeactivate:y,slug:n,onActivate:M,showMenu:z,menuItems:d,showActivateOption:L,showDeactivateOption:T,showInstallOption:U,onInstallStandalone:D,onActivateStandalone:D,onDeactivateStandalone:V},a)};d.propTypes={children:r().node,admin:r().bool.isRequired,slug:r().string.isRequired};const m=d},9841:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var c=n(9105),a=n(3363),r=n(3846),i=n(6895),o=n(9312),s=n(5736),l=n(1074),p=n(5381),u=n(9196),d=n.n(u),m=n(9997),g=n(1689),h=n(3890),f=n(5242),y=n(6790),v=n(184),k=n(8578),E=n(4403);const __=s.__,b=()=>d().createElement(d().Fragment,null,d().createElement("div",{className:k.Z["account-description"]},__("You can use your existing account on any of these services:","jetpack-my-jetpack")),d().createElement("span",{className:k.Z["account-images"]},d().createElement("img",{src:E,className:k.Z.wordpress,alt:__("WordPress Logo","jetpack-my-jetpack")}),d().createElement("img",{src:v,className:k.Z.google,alt:__("Google Logo","jetpack-my-jetpack")}),d().createElement("img",{src:f,className:k.Z.apple,alt:__("Apple Logo","jetpack-my-jetpack")}))),j=()=>{const[e]=(0,m.lr)(),t=e.get("returnTo");return t?`admin.php?page=my-jetpack#/${t}`:"admin.php?page=my-jetpack"},_=()=>{const{apiRoot:e,apiNonce:t}=(0,g.Z)(),n=j();return d().createElement(c.Z,{showHeader:!1,showBackground:!1},d().createElement(a.Z,{horizontalSpacing:8,horizontalGap:0},d().createElement(r.Z,{className:k.Z["relative-col"]},d().createElement(h.Z,{className:k.Z["close-link"]})),d().createElement(r.Z,null,d().createElement(o.Z,{title:__("Unlock all the amazing features of Jetpack by connecting now","jetpack-my-jetpack"),buttonLabel:__("Connect your user account","jetpack-my-jetpack"),apiRoot:e,apiNonce:t,images:[y],footer:d().createElement(b,null),from:"my-jetpack",redirectUri:n},d().createElement("ul",null,d().createElement("li",null,__("Receive instant downtime alerts","jetpack-my-jetpack")),d().createElement("li",null,__("Automatically share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("Let your subscribers know when you post","jetpack-my-jetpack")),d().createElement("li",null,__("Receive notifications about new likes and comments","jetpack-my-jetpack")),d().createElement("li",null,__("Let visitors share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("And more!","jetpack-my-jetpack")," ",d().createElement("a",{href:(0,i.Z)("jetpack-features"),target:"_blank",className:k.Z["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack-my-jetpack"),d().createElement(l.Z,{icon:p.Z}))))))))}},247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var c=n(5106),a=n(526),r=n(6895),i=n(1294),o=n(428),s=n(8137),l=n(9818),p=n(5736),u=n(1074),d=n(496),m=n(9201),g=n(5235),h=n.n(g),f=n(5162),y=n.n(f),v=n(9196),k=n.n(v),E=n(8489),b=n(3815),j=n(9182),_=n(6322);const __=p.__,w=e=>{let{text:t,actionText:n,onClick:r,status:i}=e;return k().createElement("div",{className:_.Z["list-item"]},k().createElement(c.ZP,{className:h()(_.Z["list-item-text"],{[_.Z.error]:"error"===i})},k().createElement(u.Z,{icon:"error"===i?d.Z:m.Z,className:h()({[_.Z.info]:"error"===i})}),t),n&&k().createElement(a.Z,{variant:"link",weight:"regular",onClick:r},n))},C=e=>{const{apiRoot:t,apiNonce:n,redirectUri:u,title:d,connectionInfoText:m,onDisconnected:g,connectedPlugins:f,connectedSiteId:y,context:C,onConnectUser:Z}=e,{isRegistered:N,isUserConnected:S,userConnectionData:P}=(0,i.Z)({apiRoot:t,apiNonce:n,redirectUri:u}),[R,I]=(0,v.useState)(!1),{setConnectionStatus:x,setUserIsConnecting:A}=(0,l.useDispatch)(o.t),L=Z||A,T=P.currentUser?.wpcomUser?.avatar,U=(0,v.useCallback)((e=>{e&&e.preventDefault(),I(!0)}),[I]),F=(0,v.useCallback)((e=>{e&&e.preventDefault(),I(!1)}),[I]),O=(0,v.useCallback)((e=>{e&&e.preventDefault(),x({isActive:!1,isRegistered:!1,isUserConnected:!1}),g?.()}),[g,x]);return k().createElement("div",{className:_.Z["connection-status-card"]},k().createElement(c.H3,null,d),k().createElement(c.ZP,{variant:"body",mb:3},`${m} `,k().createElement(a.Z,{href:(0,r.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),variant:"link",weight:"regular",isExternalLink:!0},__("Learn more about connections","jetpack-my-jetpack"))),k().createElement("div",{className:_.Z.status},k().createElement("img",{src:E,alt:"",className:_.Z.cloud}),k().createElement("div",{className:h()(_.Z.line,{[_.Z.disconnected]:!N||!S})}),k().createElement("div",{className:_.Z["avatar-wrapper"]},k().createElement("img",{src:j,alt:"",className:_.Z.jetpack}),k().createElement("img",{src:S&&T?T:b,alt:"",className:_.Z.avatar}))),k().createElement("div",null,N?k().createElement(k().Fragment,null,k().createElement(w,{onClick:U,text:__("Site connected.","jetpack-my-jetpack"),actionText:S&&P.currentUser?.isMaster?__("Manage","jetpack-my-jetpack"):null}),S&&k().createElement(w,{onClick:U,actionText:__("Manage","jetpack-my-jetpack"),text:(0,p.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"),P.currentUser?.wpcomUser?.display_name,P.currentUser?.isMaster?__(" (Owner)","jetpack-my-jetpack"):"")}),S&&P?.connectionOwner&&!P.currentUser?.isMaster&&k().createElement(w,{text:(0,p.sprintf)(/* translators: placeholder is the username of the Jetpack connection owner */ -__("Also connected: %s (Owner).","jetpack-my-jetpack"),P.connectionOwner)}),!S&&k().createElement(w,{onClick:L,text:__("User account not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})):k().createElement(w,{onClick:L,text:__("Jetpack is not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})),k().createElement(s.Z,{apiRoot:t,apiNonce:n,onDisconnected:O,connectedPlugins:f,connectedSiteId:y,connectedUser:P,isOpen:R,onClose:F,context:C}))};C.propTypes={apiRoot:y().string.isRequired,apiNonce:y().string.isRequired,redirectUri:y().string,connectedPlugins:y().array,connectedSiteId:y().number,title:y().string,connectionInfoText:y().string,onDisconnected:y().func,context:y().string,onConnectUser:y().func,requiresUserConnection:y().bool},C.defaultProps={title:__("Connection","jetpack-my-jetpack"),connectionInfoText:__("Jetpack connects your site and user account to the WordPress.com cloud to provide more powerful features.","jetpack-my-jetpack"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0};const Z=C},5784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9818),a=n(9196),r=n.n(a),i=n(1689),o=n(3345),s=n(7493),l=n(247);function p(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:n,connectedPlugins:a}=(0,i.Z)(),p=(0,o.Z)("/connection"),u=(0,c.useSelect)((e=>e(s.t).getProductsThatRequiresUserConnection()));return r().createElement(l.Z,{apiRoot:e,apiNonce:t,redirectUri:n,onConnectUser:p,connectedPlugins:a,requiresUserConnection:u.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5626:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(1074),r=n(3259),i=n(9196),o=n.n(i),s=n(9997),l=n(197);const __=c.__;function p(e){let{onClick:t,reload:n}=e;const c=n?"/?reload=true":"/";return o().createElement(s.rU,{to:c,className:l.Z.link,onClick:t},o().createElement(a.Z,{icon:r.Z,className:l.Z.icon}),__("Go back","jetpack-my-jetpack"))}p.defaultProps={onClick:()=>{}};const u=p},8607:(e,t,n)=>{"use strict";n.d(t,{r:()=>d});var c=n(526),a=n(3396),r=n(5609),i=n(9771),o=n(5736),s=n(5235),l=n.n(s),p=n(9196),u=n(4416);n(1854);const __=o.__;function d(e){let{productName:t,giftedDate:n}=e;const[s,d]=(0,p.useState)(!1),m=(0,p.useCallback)((()=>d(!0)),[d]),g={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,p.useCallback)((()=>d(!1)),[d]),className:u.Z.container},h=l()(u.Z.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(c.Z,{variant:"link",onClick:m},React.createElement(a._1,{className:u.Z.logo})),React.createElement("div",{className:u.Z.helper},s&&React.createElement(r.Popover,g,React.createElement("div",null,React.createElement("div",{className:u.Z.title},t),React.createElement("div",{className:u.Z.content},(0,o.sprintf)( +__("%s not included","jetpack-my-jetpack"),n)})(n,t,Z),I=_?R.lg:R.default;return p().createElement("div",{className:s()(h.Z.item,h.Z.value)},p().createElement(a.Z,{className:s()(h.Z.icon,C?h.Z["icon-check"]:h.Z["icon-cross"]),size:32,icon:C?r.Z:i.Z}),p().createElement(g.ZP,{variant:"body-small"},m||I),P&&p().createElement(u.Z,{title:b||S,iconClassName:h.Z["popover-icon"],className:s()(h.Z.popover,j),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(b&&E)},p().createElement(g.ZP,{variant:"body-small",component:"div"},E||N)))},b=e=>{let{children:t}=e;return p().createElement("div",{className:h.Z.header},t)},j=e=>{let{primary:t=!1,children:n}=e,c=0;return p().createElement("div",{className:s()(h.Z.card,{[h.Z["is-primary"]]:t})},l.Children.map(n,(e=>{const t=e;return t.type===E?(c++,(0,l.cloneElement)(t,{index:c-1})):t})))},_=e=>{let{title:t,items:n,children:c,showIntroOfferDisclaimer:a=!1}=e;const[r]=(0,d.Z)("lg");return p().createElement(v.Provider,{value:n},p().createElement("div",{className:s()(h.Z.container,{[h.Z["is-viewport-large"]]:r}),style:{"--rows":n.length+1,"--columns":l.Children.toArray(c).length+1}},p().createElement("div",{className:h.Z.table},p().createElement(g.ZP,{variant:"headline-small"},t),r&&n.map(((e,t)=>p().createElement("div",{className:s()(h.Z.item,{[h.Z["last-feature"]]:t===n.length-1}),key:t},p().createElement(g.ZP,{variant:"body-small"},p().createElement("strong",null,e.name)),e.tooltipInfo&&p().createElement(u.Z,{title:e.tooltipTitle,iconClassName:h.Z["popover-icon"],className:h.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},p().createElement(g.ZP,{variant:"body-small"},e.tooltipInfo))))),c)),p().createElement("div",{className:h.Z["tos-container"]},p().createElement("div",{className:h.Z.tos},a&&p().createElement(g.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-my-jetpack")),p().createElement(m.Z,{multipleButtons:!0}))))}},5347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5736),a=n(5235),r=n.n(a),i=n(5106),o=n(3789),s=n(9184);const __=c.__,l=e=>{let{price:t,offPrice:n,currency:c="",showNotOffPrice:a=!0,hideDiscountLabel:l=!0,promoLabel:p="",legend:u=__("/month, paid yearly","jetpack-my-jetpack"),isNotConvenientPrice:d=!1,hidePriceFraction:m=!1,children:g}=e;if(null==t&&null==n||!c)return null;a=a&&null!=n;const h="number"==typeof t&&"number"==typeof n?Math.floor((t-n)/t*100):0,f=!l&&h&&h>0?h+__("% off","jetpack-my-jetpack"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:s.Z.container},React.createElement("div",{className:r()(s.Z["price-container"],"product-price_container")},React.createElement(o.t,{value:n??t,currency:c,isOff:!d,hidePriceFraction:m}),a&&React.createElement(o.t,{value:t,currency:c,isOff:!1,hidePriceFraction:m}),f&&React.createElement(i.ZP,{className:r()(s.Z["promo-label"],"product-price_promo_label")},f))),React.createElement("div",{className:s.Z.footer},g||React.createElement(i.ZP,{className:r()(s.Z.legend,"product-price_legend")},u),p&&React.createElement(i.ZP,{className:r()(s.Z["promo-label"],"product-price_promo_label")},p)))}},3789:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var c=n(8899),a=n(5235),r=n.n(a),i=n(5106),o=n(9184);const s=e=>{let{value:t,currency:n,isOff:a,hidePriceFraction:s}=e;const l=r()(o.Z.price,"product-price_price",{[o.Z["is-not-off-price"]]:!a}),{symbol:p,integer:u,fraction:d}=(0,c.LR)(t,n),m=!s||!d.endsWith("00");return React.createElement(i.ZP,{className:l,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:o.Z.symbol,component:"sup",variant:"title-medium"},p),u,m&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(1683);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},c={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:c})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const s=o},7325:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9307),a=n(5736),r=n(5235),i=n.n(r),o=n(6895),s=n(5106);n(7920);const __=a.__,l=()=>(0,c.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(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=e=>{let{agreeButtonLabel:t}=e;return(0,c.createInterpolateElement)((0,a.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"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},u=e=>{let{slug:t,children:n}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,o.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)},d=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:c}=e;return React.createElement(s.ZP,{className:i()(t,"terms-of-service")},n?React.createElement(l,null):React.createElement(p,{agreeButtonLabel:c}))}},6017:(e,t,n)=>{"use strict";n.d(t,{h:()=>c,s:()=>a});const c={"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"},a=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>g,H3:()=>m,ZP:()=>d});var c=n(2674),a=n.n(c),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(6017),p=n(3280);const u=(0,o.forwardRef)(((e,t)=>{let{variant:n="body",children:c,component:r,className:u,...d}=e;const m=r||l.h[n]||"span",g=(0,o.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==d[t]&&(e+=p.Z[`${t}-${d[t]}`]+" ",delete d[t]),e)),"")),[d]);return d.ref=t,s().createElement(m,a()({className:i()(p.Z.reset,p.Z[n],u,g)},d),c)}));u.displayName="Text";const d=u,m=e=>{let{children:t,weight:n="bold",...c}=e;const r="headline-small"+("bold"===n?"":`-${n}`);return s().createElement(u,a()({variant:r,mb:3},c),t)},g=e=>{let{children:t,size:n="medium",...c}=e;return s().createElement(u,a()({variant:`title-${n}`,mb:1},c),t)}},8275:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var c=n(9196),a=n.n(c),r=n(3591);const i={"--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)"},o={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--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 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},p={},u=(e,t,n)=>{const c={...i,...o,...s,...l};for(const t in c)e.style.setProperty(t,c[t]);n&&e.classList.add(r.Z.global),t&&(p[t]={provided:!0,root:e})},d=e=>{let{children:t=null,targetDom:n,id:r,withGlobalStyles:i=!0}=e;const o=(0,c.useRef)(),s=p?.[r]?.provided;return(0,c.useLayoutEffect)((()=>{if(!s)return n?u(n,r,i):void(o?.current&&u(o.current,r,i))}),[n,o,s,r,i]),n?t:a().createElement("div",{ref:o},t)}},5905:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});const c="d729d42c-b547-4750-a6f6-8b30534a5f12"},4164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n(5905);const r=e=>{let{jwt_token:t}=e;const n=(0,c.useCallback)((()=>{"undefined"!=typeof window&&"function"==typeof window.zE&&window.zE("messenger","loginUser",(function(e){e(t)}))}),[t]);return(0,c.useEffect)((()=>{const e=document.createElement("script"),t=document.getElementById("zendesk-chat-container");e.src="https://static.zdassets.com/ekr/snippet.js?key="+encodeURIComponent(a.O),e.type="text/javascript",e.id="ze-snippet",e.onload=()=>{n()},t&&t.appendChild(e)}),[n]),React.createElement("div",{"data-testid":"zendesk-chat-container",id:"zendesk-chat-container"})}},8709:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var c=n(9771);const a=()=>{const{l10n:{locale:e}}=(0,c.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"}},4153:(e,t,n)=>{"use strict";function c(e,t,n,c){const a=new URL("https://wordpress.com/checkout/"),r=new URL(`${a}${t}/${e}`);return r.searchParams.set("redirect_to",n),c||r.searchParams.set("unlinked","1"),r.searchParams.set("site",t),r.toString()}n.d(t,{Z:()=>c})},6895:(e,t,n)=>{"use strict";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let c;if("undefined"!=typeof window&&(c=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),c&&(n.calypso_env=c);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>c})},1132:(e,t,n)=>{let c={};try{c=n(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),c={missingConfig:!0}}const a=e=>c.hasOwnProperty(e);e.exports={jetpackConfigHas:a,jetpackConfigGet:e=>{if(!a(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 c[e]}}},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(1294),l=n(1624);const __=c.__,p=e=>{let{title:t,buttonLabel:n,apiRoot:c,apiNonce:a,registrationNonce:r,from:i,redirectUri:p,images:u,children:d,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:f,logo:y}=e;const{handleRegisterSite:k,siteIsRegistering:v,userIsConnecting:E,registrationError:b,isOfflineMode:j}=(0,s.Z)({registrationNonce:r,redirectUri:p,apiRoot:c,apiNonce:a,autoTrigger:g,from:i,skipUserConnection:f}),_=Boolean(b),w=v||E;return o().createElement(l.Z,{title:t,images:u,assetBaseUrl:m,buttonLabel:n,handleButtonClick:k,displayButtonError:_,buttonIsLoading:w,footer:h,isOfflineMode:j,logo:y},d)};p.propTypes={title:r().string,buttonLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,registrationNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,autoTrigger:r().bool,images:r().arrayOf(r().string),assetBaseUrl:r().string,skipUserConnection:r().bool,logo:r().element},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-my-jetpack"),buttonLabel:__("Set up Jetpack","jetpack-my-jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};const u=p},1624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(6895),a=n(7325),r=n(7121),i=n(9307),o=n(5736),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=n(8524);n(1510);const __=o.__,m=e=>{const{title:t,images:n,children:o,assetBaseUrl:s,isLoading:l,buttonLabel:p,handleButtonClick:m,displayButtonError:g,buttonIsLoading:h,footer:f,isOfflineMode:y,logo:k}=e,v=y?(0,i.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-my-jetpack"),{a:u().createElement("a",{href:(0,c.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return u().createElement(d.Z,{title:t,assetBaseUrl:s,images:n,className:"jp-connection__connect-screen"+(l?" jp-connection__connect-screen__loading":""),logo:k},u().createElement("div",{className:"jp-connection__connect-screen__content"},o,u().createElement("div",{className:"jp-connection__connect-screen__tos"},u().createElement(a.Z,{agreeButtonLabel:p})),u().createElement(r.Z,{label:p,onClick:m,displayError:g||y,errorMessage:v,isLoading:h,isDisabled:y}),f&&u().createElement("div",{className:"jp-connection__connect-screen__footer"},f)))};m.propTypes={title:l().string,images:l().arrayOf(l().string),assetBaseUrl:l().string,isLoading:l().bool,buttonLabel:l().string.isRequired,handleButtonClick:l().func,displayButtonError:l().bool,buttonIsLoading:l().bool,footer:l().node,isOfflineMode:l().bool,logo:l().element},m.defaultProps={isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null,isOfflineMode:!1};const g=m},2458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const c=t.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},c)};o.propTypes={images:a().arrayOf(a().string).isRequired,assetBaseUrl:a().string},o.defaultProps={assetBaseUrl:""};const s=o},8524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(8868),a=n(5235),r=n.n(a),i=n(5162),o=n.n(i),s=n(9196),l=n.n(s),p=n(2458);n(9610);const u=e=>{const{title:t,children:n,className:a,assetBaseUrl:i,images:o,logo:s,rna:u=!1}=e,d=o?.length;return l().createElement("div",{className:r()("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",a?" "+a:"")},u&&l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),l().createElement("div",{className:"jp-connection__connect-screen-layout__left"},s||l().createElement(c.Z,null),l().createElement("h2",null,t),n),d?l().createElement("div",{className:"jp-connection__connect-screen-layout__right"},l().createElement(p.Z,{images:o,assetBaseUrl:i})):null)};u.propTypes={title:o().string,className:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string,logo:o().element};const d=u},7879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(4322);const __=c.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,c=(0,i.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&c.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-my-jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},c.map((e=>o().createElement(s.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:r().array,disconnectingPlugin:r().string};const p=l},6186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2054),a=n(5033),r=n(5609),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(9836);const __=i.__,d=e=>{const{message:t,isRestoringConnection:n,restoreConnectionCallback:o,restoreConnectionError:s}=e,[l]=(0,c.Z)(["md"],[">"]),d=u.Z.notice+(l?" "+u.Z["bigger-than-medium"]:""),m=p().createElement(r.Icon,{icon:p().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(r.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(r.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(r.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!t)return null;if(n)return p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d},p().createElement("div",{className:u.Z.message},p().createElement(a.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-my-jetpack")));const g=s?p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d+" "+u.Z.error},p().createElement("div",{className:u.Z.message},m,(0,i.sprintf)(/* translators: placeholder is the error. */ +__("There was an error reconnecting Jetpack. Error: %s","jetpack-my-jetpack"),s))):null;return p().createElement(p().Fragment,null,g,p().createElement(r.Notice,{status:"error",isDismissible:!1,className:d},p().createElement("div",{className:u.Z.message},m,t),o&&p().createElement("a",{onClick:o,onKeyDown:o,className:u.Z.button,href:"#"},__("Restore Connection","jetpack-my-jetpack"))))};d.propTypes={message:s().string.isRequired,restoreConnectionCallback:s().func,isRestoringConnection:s().bool,restoreConnectionError:s().string};const m=d},4322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(4220);const o=e=>{const{title:t,value:n,description:c}=e;return i().createElement("div",{className:"jp-connection__disconnect-card card"},i().createElement("div",{className:"jp-connection__disconnect-card__card-content"},i().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||c)&&i().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},i().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),i().createElement("div",{className:"jp-connection__disconnect-card__card-description"},c))))};o.propTypes={title:a().string,value:a().oneOfType([a().string,a().number]),description:a().string};const s=o},6168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(6975),a=n(4743),r=n(1132),i=n(5609),o=n(5736),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=(n(287),n(9015)),m=n(5995),g=n(1702),h=n(1166);const __=o.__,f=e=>{const[t,n]=(0,p.useState)(!1),[o,s]=(0,p.useState)(!1),[l,f]=(0,p.useState)(!1),[y,k]=(0,p.useState)(!1),[v,E]=(0,p.useState)(!1),[b,j]=(0,p.useState)(!1),{apiRoot:_,apiNonce:w,connectedPlugins:C,title:Z,pluginScreenDisconnectCallback:N,onDisconnected:S,onError:P,disconnectStepComponent:R,context:I,connectedUser:A,connectedSiteId:x,isOpen:L,onClose:T}=e;let U="";(0,r.jetpackConfigHas)("consumer_slug")&&(U=(0,r.jetpackConfigGet)("consumer_slug"));const F=(0,p.useMemo)((()=>({context:I,plugin:U})),[I,U]);(0,p.useEffect)((()=>{a.ZP.setApiRoot(_),a.ZP.setApiNonce(w)}),[_,w]),(0,p.useEffect)((()=>{A&&A.ID&&A.login&&c.Z.initialize(A.ID,A.login)}),[A,A.ID,A.login]),(0,p.useEffect)((()=>{L&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",F)}),[L,F]),(0,p.useEffect)((()=>{L&&(o?!o||y||v?y&&!v?c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},F)):v&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},F)))}),[L,o,y,v,F]);const O=(0,p.useCallback)((()=>{a.ZP.disconnectSite().then((()=>{n(!1),s(!0)})).catch((e=>{n(!1),f(e),P&&P(e)}))}),[n,s,f,P]),z=(0,p.useCallback)(((e,t)=>{j(!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);c.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),j(!1)})).catch((e=>{c.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),j(!1)}))}),[j,E]),M=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!1),n(!0),"plugins"!==I?O():N&&N(e)}),[f,n,N,I,O]),D=(0,p.useCallback)((e=>c.Z.tracks.recordEvent(e,F)),[F]),V=(0,p.useCallback)((()=>!(!A.ID||!x)),[A,x]),B=(0,p.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!V())return void E(!0);const c={site_id:x,user_id:A.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},a=Object.assign({},F,{disconnect_reason:e});z(c,a)}),[z,E,V,x,A,F]),H=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),T()}),[S,T]),J=(0,p.useCallback)((e=>{e&&e.preventDefault(),k(!0)}),[k]);return u().createElement(u().Fragment,null,L&&u().createElement(i.Modal,{title:"",contentLabel:Z,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:T,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||y||v?y&&!v?u().createElement(g.Z,{isSubmittingFeedback:b,onFeedBackProvided:B,onExit:H}):v?u().createElement(h.Z,{onExit:H}):void 0:u().createElement(m.Z,{canProvideFeedback:V(),onProvideFeedback:J,onExit:H}):u().createElement(d.Z,{title:Z,connectedPlugins:C,disconnectStepComponent:R,isDisconnecting:t,closeModal:T,onDisconnect:M,disconnectError:l,context:I,disconnectingPlugin:U,trackModalClick:D})))};f.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func},f.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-my-jetpack"),context:"jetpack-dashboard",connectedUser:{}};const y=f},5995:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(2042);const __=i.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{icon:"unlink",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,r.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-my-jetpack"),{br:p().createElement("br",null)})),n&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-my-jetpack")),p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!n&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};d.propTypes={onExit:s().func,onProvideFeedback:s().func,canProvideFeedback:s().bool};const m=d},9015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(6895),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(7879);const __=i.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:o,disconnectStepComponent:s,connectedPlugins:d,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:f}=e,y=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_learn_about")),[f]),k=(0,l.useCallback)((()=>f("jetpack_disconnect_dialog_click_support")),[f]),v=(0,l.useCallback)((()=>{f("jetpack_disconnect_dialog_click_stay_connected"),g()}),[f,g]),E=(0,l.useCallback)((e=>{f("jetpack_disconnect_dialog_click_disconnect"),i(e)}),[f,i]),b=(0,l.useCallback)((e=>{"Escape"!==e.key||n||v()}),[v,n]);(0,l.useEffect)((()=>(document.addEventListener("keydown",b,!1),()=>{document.removeEventListener("keydown",b,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),p().createElement(u.Z,{connectedPlugins:d,disconnectingPlugin:m}),s,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!s)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-my-jetpack"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,r.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-my-jetpack"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(a.ExternalLink,{href:(0,c.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:p().createElement(a.ExternalLink,{href:(0,c.Z)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:k})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(a.Button,{variant:"primary",disabled:n,onClick:v,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-my-jetpack"):__("Stay connected","jetpack-my-jetpack",0)),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return n?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===h&&(e=__("Deactivate","jetpack-my-jetpack")),p().createElement(a.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};d.propTypes={title:s().string,isDisconnecting:s().bool,onDisconnect:s().func,disconnectError:s().bool,disconnectStepComponent:s().element,connectedPlugins:s().array,disconnectingPlugin:s().string,closeModal:s().func,context:s().string,trackModalClick:s().func};const m=d},1702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=(n(9823),n(6336));const __=c.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-my-jetpack")),o().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:c}),o().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 p=l},1166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(724);const __=i.__,d=e=>{const{onExit:t}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{format:"vertical",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),p().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:p().createElement("br",null)})),p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};d.PropTypes={onExit:s().func,assetBaseUrl:s().string};const m=d},6336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5609),a=n(5736),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(4372);const __=a.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[a,r]=(0,o.useState)(),[i,p]=(0,o.useState)(),u=[{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")}],d="another-reason",m=(0,o.useCallback)((()=>{t(a,a===d?i:"")}),[t,d,i,a]),g=(0,o.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),h=e=>e===a?"jp-connect__disconnect-survey-card--selected":"",f=(0,o.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":r(e)}}),[r]);return s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},u.map((e=>s().createElement(l.Z,{id:e.id,onClick:r,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(e.id)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),s().createElement(l.Z,{id:d,key:d,onClick:r,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(d)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",s().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:i,onChange:g,maxLength:1e3})))),s().createElement("p",null,s().createElement(c.Button,{disabled:!a||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};p.PropTypes={onSubmit:i().func,isSubmittingFeedback:i().bool};const u=p},4372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n.n(c);n(9823);const r=e=>{const{id:t,onClick:n,onKeyDown:r,children:i,className:o}=e,s=(0,c.useCallback)((()=>{n(t)}),[t,n]),l=(0,c.useCallback)((e=>{r(t,e)}),[t,r]);return a().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},i)}},8137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var c=n(5106),a=n(6895),r=n(526),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(6936),u=n(5381),d=n(5235),m=n.n(d),g=n(5162),h=n.n(g),f=n(9196),y=n.n(f),k=n(6168);n(7664);const __=s.__,v=e=>{const{title:t,apiRoot:n,apiNonce:r,connectedPlugins:o,onDisconnected:s,context:l,connectedUser:p,connectedSiteId:u,isOpen:d,onClose:m}=e,[g,h]=(0,f.useState)(!1),v=(0,f.useCallback)((e=>{e&&e.preventDefault(),h(!0)}),[h]),j=(0,f.useCallback)((e=>{e&&e.preventDefault(),h(!1)}),[h]);return y().createElement(y().Fragment,null,d&&y().createElement(y().Fragment,null,y().createElement(i.Modal,{title:"",contentLabel:t,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},y().createElement("div",{className:"jp-connection__manage-dialog__content"},y().createElement("h1",{id:"jp-connection__manage-dialog__heading"},t),y().createElement(c.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")),y().createElement(E,{title:__("Transfer ownership to another admin","jetpack-my-jetpack"),link:(0,a.Z)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),y().createElement(E,{title:__("Disconnect Jetpack","jetpack-my-jetpack"),onClick:v,key:"disconnect",action:"disconnect"})),y().createElement(b,{onClose:m})),y().createElement(k.Z,{apiRoot:n,apiNonce:r,onDisconnected:s,connectedPlugins:o,connectedSiteId:u,connectedUser:p,isOpen:g,onClose:j,context:l})))},E=e=>{let{title:t,onClick:n=(()=>null),link:c="#",action:a}=e;return y().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},y().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},y().createElement("a",{href:c,className:m()("jp-connection__manage-dialog__action-card__card-headline",a),onClick:n},t,y().createElement(l.Z,{icon:"disconnect"===a?p.Z:u.Z,className:"jp-connection__manage-dialog__action-card__icon"}))))},b=e=>{let{onClose:t}=e;return y().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},y().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},y().createElement(c.ZP,null,(0,o.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-my-jetpack"),{strong:y().createElement("strong",null),connectionInfoLink:y().createElement(i.ExternalLink,{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:y().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),y().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},y().createElement(r.Z,{weight:"regular",variant:"secondary",onClick:t,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-my-jetpack"))))};v.propTypes={title:h().string,apiRoot:h().string.isRequired,apiNonce:h().string.isRequired,connectedPlugins:h().oneOfType([h().array,h().object]),onDisconnected:h().func,context:h().string,connectedUser:h().object,connectedSiteId:h().number,isOpen:h().bool,onClose:h().func},v.defaultProps={title:__("Manage your Jetpack connection","jetpack-my-jetpack"),isOpen:!1,context:"jetpack-dashboard",connectedUser:{}};const j=v},1294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(4743),a=n(9818),r=n(9196),i=n(428);const o=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},s=function(){let{registrationNonce:e=o.registrationNonce,apiRoot:t=o.apiRoot,apiNonce:n=o.apiNonce,redirectUri:s,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:g}=(0,a.useDispatch)(i.t),h=(0,a.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:y,userConnectionData:k,connectedPlugins:v,connectionErrors:E,isRegistered:b,isUserConnected:j,hasConnectedOwner:_,isOfflineMode:w}=(0,a.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),C=()=>u?s?(window.location=s,Promise.resolve(s)):Promise.resolve():m({from:p,redirectUri:s}),Z=t=>(t&&t.preventDefault(),b?C():d({registrationNonce:e,redirectUri:s}).then((()=>C())));return(0,r.useEffect)((()=>{c.ZP.setApiRoot(t),c.ZP.setApiNonce(n)}),[t,n]),(0,r.useEffect)((()=>{!l||f||y||Z()}),[]),{handleRegisterSite:Z,handleConnectUser:C,refreshConnectedPlugins:g,isRegistered:b,isUserConnected:j,siteIsRegistering:f,userIsConnecting:y,registrationError:h,userConnectionData:k,hasConnectedOwner:_,connectedPlugins:v,connectionErrors:E,isOfflineMode:w}}},3329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,h:()=>o});var c=n(6186),a=n(1294),r=n(1045);function i(){const{connectionErrors:e}=(0,a.Z)({}),t=Object.values(e).shift(),n=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(n),connectionErrorMessage:n}}const o=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=i(),{restoreConnection:n,isRestoringConnection:a,restoreConnectionError:o}=(0,r.Z)();return e?React.createElement(c.Z,{isRestoringConnection:a,restoreConnectionError:o,restoreConnectionCallback:n,message:t}):null}},8258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var c=n(4743),a=n(4153),r=n(9818),i=n(951),o=n.n(i),s=n(9196),l=n(1294),p=n(428);const u=o()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:d,apiRoot:m,apiNonce:g,siteSuffix:h}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function f(){let{productSlug:e,redirectUrl:t,siteSuffix:n=h,siteProductAvailabilityHandler:i=null,from:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u("productSlug is %s",e),u("redirectUrl is %s",t),u("siteSuffix is %s",n),u("from is %s",o);const[f,y]=(0,s.useState)(!1),{registerSite:k}=(0,r.useDispatch)(p.t),{isUserConnected:v,isRegistered:E,handleConnectUser:b}=(0,l.Z)({redirectUri:t,from:o}),j=(0,a.Z)(e,n,t,v);u("checkoutProductUrl is %s",j),u("isUserConnected is %s",v);const _=()=>Promise.resolve(i&&i()).then((e=>{if(e)return u("handleAfterRegistration: Site has a product associated"),b();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",j),window.location.href=j}));return(0,s.useEffect)((()=>{c.ZP.setApiRoot(m),c.ZP.setApiNonce(g)}),[]),{run:e=>{if(e&&e.preventDefault(),y(!0),E)return _();k({registrationNonce:d,redirectUri:t}).then(_)},isRegistered:E,hasCheckoutStarted:f}}},1045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(4743),a=n(9818),r=n(9196),i=n(428);const{apiRoot:o,apiNonce:s}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,r.useState)(!1),[n,l]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:u}=(0,a.useDispatch)(i.t);return(0,r.useEffect)((()=>{c.ZP.setApiRoot(o),c.ZP.setApiNonce(s)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),l(null),c.ZP.reconnect().then((t=>("in_progress"===t.status?(p(),u({}),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:n}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>r,N4:()=>o,Qo:()=>u,T1:()=>l,TS:()=>p,ZP:()=>j,b5:()=>m,i6:()=>a,qJ:()=>g,qV:()=>s,r7:()=>i,wQ:()=>d});var c=n(4743);const a="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="DISCONNECT_USER_SUCCESS",d="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:a,connectionStatus:e}),f=e=>({type:i,isRegistering:e}),y=e=>({type:o,isConnecting:e}),k=e=>({type:s,registrationError:e}),v=()=>({type:l}),E=e=>({type:p,authorizationUrl:e}),b=e=>({type:d,connectedPlugins:e});const j={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:y,setRegistrationError:k,clearRegistrationError:v,setAuthorizationUrl:E,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield v(),yield f(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield h({isRegistered:!0}),yield E(e.authorizeUrl),yield f(!1),Promise.resolve(e)}catch(e){return yield k(e),yield f(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:u}),setConnectedPlugins:b,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>c.ZP.fetchConnectedPlugins().then((n=>{t(b(n)),e(n)}))))},setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(4743),a=n(9818),r=n(7057);const i={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return c.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return c.ZP.registerSite(t,n)},CONNECT_USER:(0,a.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((a,i)=>{t(r.Z).getAuthorizationUrl(c).then((t=>{const c=n||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const i=r.toString();c(i),a(i)})).catch((e=>{i(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7523);const r=(0,c.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.i6:return{...e,...t.connectionStatus};case a.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case a.T1:return!1;case a.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===a.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.b5?t.connectionErrors:e},isOfflineMode:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.qJ?t.isConnecting:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),a=n(7523),r=n(7057);const i={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i{"use strict";n.d(t,{Z:()=>c});const c={...{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,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818);class a{static store=null;static mayBeInit(e,t){null===a.store&&(a.store=(0,c.createReduxStore)(e,t),(0,c.register)(a.store))}}const r=a},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var c=n(7523),a=n(1432),r=n(1479),i=n(7728),o=n(2725),s=n(3535),l=n(7057);const p=window.JP_CONNECTION_INITIAL_STATE;p||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),s.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.Z,resolvers:i.Z,controls:a.Z,initialState:p||{}})},8728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(6975),a=n(8868),r=n(5033),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(797),u=n(5844),d=n.n(u),m=n(9196),g=n.n(m);const __=s.__,h=e=>{const{className:t,disabled:n,onChange:c,value:a}=e;return g().createElement(i.TextControl,{className:t,label:__("License key","jetpack-my-jetpack"),value:a,onChange:c,disabled:n})},f=e=>{const{className:t,availableLicenses:n,disabled:c,onChange:a,value:r}=e,[o,l]=(0,m.useState)(""),p=null===n,u=(0,m.useMemo)((()=>p?[{label:__("Fetching available licenses…","jetpack-my-jetpack"),value:""}]:[...n.map((e=>{let{product:t,license_key:n}=e;return{label:(0,s.sprintf)(/* translators: placeholder is the product name and license key */ +__("%1$s - %2$s","jetpack-my-jetpack"),t,n),value:n}})),{label:__("I want to add a license key manually","jetpack-my-jetpack"),value:""}]),[n,p]);(0,m.useEffect)((()=>{l(u?.length?u[0].value:"")}),[u]);const d=(0,m.useCallback)((e=>{l(e),a(e)}),[a]);return g().createElement(g().Fragment,null,g().createElement(i.SelectControl,{className:t,disabled:c,label:__("Select a license key","jetpack-my-jetpack"),value:o,options:u,onChange:d}),!p&&!o&&g().createElement(i.TextControl,{className:t,label:__("Input a license key","jetpack-my-jetpack"),value:r,onChange:a,disabled:c}))},y=e=>{const{activateLicense:t,availableLicenses:n,fetchingAvailableLicenses:s,isActivating:u,license:d,licenseError:y,onLicenseChange:k}=e,v=null!=y;(0,m.useEffect)((()=>{c.Z.tracks.recordEvent("jetpack_wpa_license_key_activation_view")}),[]);const E=v?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",b=n&&n.length;return g().createElement("div",{className:"jp-license-activation-screen-controls"},g().createElement("div",{className:"jp-license-activation-screen-controls--content"},g().createElement(a.Z,{showText:!1,height:48}),g().createElement("h1",null,__("Add a license key","jetpack-my-jetpack")),g().createElement("p",null,(0,o.createInterpolateElement)(__("Check your email for your license key. You should have received it after making your purchase.","jetpack-my-jetpack"),{strong:g().createElement("strong",null)})),s||b?g().createElement(f,{className:E,disabled:s||u,onChange:k,availableLicenses:s?null:n,value:d}):g().createElement(h,{className:E,disabled:u,onChange:k,value:d}),v&&g().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},g().createElement(l.Z,{icon:p.Z}),g().createElement("span",null,y))),g().createElement("div",null,g().createElement(i.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!d},u?g().createElement(r.Z,null):__("Activate","jetpack-my-jetpack"))))};y.propTypes={activateLicense:d().func.isRequired,availableLicenses:d().array,fetchingAvailableLicenses:d().bool,isActivating:d().bool.isRequired,license:d().string.isRequired,licenseError:d().string,onLicenseChange:d().func.isRequired,siteUrl:d().string.isRequired};const k=y},8781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(6895),a=n(9307),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,a.createInterpolateElement)(__("Do you need help? Contact us.","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,c.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const u=p},7554:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(8868),a=n(5844),r=n.n(a),i=n(9196),o=n.n(i),s=n(3157),l=n(8288),p=n(4172);const u=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:a,currentRecommendationsStep:r}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(c.Z,{showText:!1,height:48})),o().createElement(l.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(s.c,{currentRecommendationsStep:r,siteAdminUrl:a,siteRawUrl:n}),o().createElement(p.o,{siteRawUrl:n,productId:t})))};u.propTypes={siteRawUrl:r().string,productId:r().number,siteAdminUrl:r().string,currentRecommendationsStep:r().string};const d=u},3157:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:r}=e;return"not-started"===t?l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack-my-jetpack")):l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,c.Z)("license-activation-view-my-plans",{site:r})},__("View my plans","jetpack-my-jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},4172:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s),p=n(9430);const __=r.__,u=e=>{const{productId:t,siteRawUrl:n}=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,p.F)(t)];return l().createElement(l().Fragment,null,r&&l().createElement(a.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,c.Z)(r.redirectSource,{site:n})},r.text))};u.propTypes={siteRawUrl:o().string,productId:o().number}},468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(6975),a=n(4743),r=n(9307),i=n(5736),o=n(5844),s=n.n(o),l=n(9196),p=n.n(l),u=n(8728),d=n(8781),m=n(7554),g=n(9644),h=n(8702),f=n(1160);const __=i.__,y=e=>{const{availableLicenses:t=[],currentRecommendationsStep:n,fetchingAvailableLicenses:i=!1,onActivationSuccess:o=(()=>null),siteAdminUrl:s,siteRawUrl:y,startingLicense:k,displayName:v=""}=e,[E,b]=(0,l.useState)(k??""),[j,_]=(0,l.useState)(null),[w,C]=(0,l.useState)(!1),[Z,N]=(0,l.useState)(null);(0,l.useEffect)((()=>{t&&t[0]&&b(t[0].license_key)}),[t]);const S=(0,l.useCallback)((()=>w?Promise.resolve():E.length<1?(_(__("This is not a valid license key. Please try again.","jetpack-my-jetpack")),Promise.resolve()):(_(null),C(!0),c.Z.tracks.recordJetpackClick({target:"license_activation_button"}),a.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);N(t),o(t),c.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{c.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:p().createElement("a",{href:"admin.php?page=my-jetpack#/connection?returnTo=add-license"})})):_(e.message)})).finally((()=>{C(!1)})))),[w,E,o]);return null!==Z&&E.startsWith("jetpack-golden-token")?p().createElement(g.Z,{tokenRedeemed:!0,displayName:v}):null!==Z?p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(m.Z,{siteRawUrl:y,productId:Z,siteAdminUrl:s,currentRecommendationsStep:n}),p().createElement(d.Z,{imageUrl:f,showSupportLink:!1})):p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(u.Z,{availableLicenses:t,activateLicense:S,fetchingAvailableLicenses:i,isActivating:w,license:E,licenseError:j,onLicenseChange:b,siteUrl:y}),p().createElement(d.Z,{imageUrl:h,showSupportLink:!0}))};y.propTypes={availableLicenses:s().array,currentRecommendationsStep:s().string,fetchingAvailableLicenses:s().bool,onActivationSuccess:s().func,siteAdminUrl:s().string.isRequired,siteRawUrl:s().string.isRequired,startingLicense:s().string,displayName:s().string};const k=y},9644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(3396),a=n(3363),r=n(3846),i=n(8868),o=n(526),s=n(5609),l=n(5736),p=n(5235),u=n.n(p),d=n(5844),m=n.n(d),g=n(9196),h=n.n(g),f=n(1008);const __=l.__,_x=l._x;function y(e){let{redeemClick:t,displayName:n,onModalClose:p,tokenRedeemed:d}=e;const[m,y]=(0,g.useState)(!1),k=(0,g.useRef)(null);(0,g.useEffect)((()=>{setTimeout((()=>{k?.current?.play()}),500)}),[k]);const v=(0,c.VS)("scan"),E=(0,c.VS)("backup"),b=(0,g.useCallback)((e=>{t?.(e),y(!0),k.current.play()}),[k,t]),j=(0,g.useCallback)((()=>{m&&k.current.play()}),[m]),_=u()(f.Z.modal,{[f.Z.animating]:m});return h().createElement("div",null,h().createElement(s.Modal,{className:_,onRequestClose:p,isDismissible:!1,__experimentalHideHeader:!0},h().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},h().createElement(r.Z,null,h().createElement(i.Z,{className:f.Z["jetpack-logo"]}),h().createElement("div",{className:f.Z["video-wrap"],onClick:j,role:"presentation"},h().createElement("video",{ref:k,src:"https://videos.files.wordpress.com/oSlNIBQO/jetpack-golden-token.mp4",muted:"muted"})),h().createElement("div",{className:f.Z["content-wrap"]},h().createElement("div",{className:f.Z["content-wrap-text"]},n.length>0&&h().createElement("p",{className:f.Z["hi-user"]},(0,l.sprintf)(/* Translators: %s is the user's display name. */ +__("Hey, %s","jetpack-my-jetpack"),n)),h().createElement("h2",{className:f.Z.headline},__("You have been gifted a Jetpack Golden Token.","jetpack-my-jetpack")),h().createElement("p",null,d&&__("This unlocked a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience is already active.","jetpack-my-jetpack"),!d&&__("This unlocks a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience awaits.","jetpack-my-jetpack"))),h().createElement(o.Z,{variant:"primary",weight:"regular",onClick:b,className:f.Z.button},d&&__("Awesome!","jetpack-my-jetpack"),!d&&__("Redeem your token","jetpack-my-jetpack"))),h().createElement("div",{className:`${f.Z["powers-wrap"]} ${f.Z["content-wrap"]}`},h().createElement("div",{className:f.Z["content-wrap-text"]},h().createElement("h2",{className:f.Z.headline},__("Super powers are ready!","jetpack-my-jetpack")),h().createElement("p",{className:f.Z.paragraph},__("Your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack-my-jetpack"))),h().createElement("div",{className:f.Z["jetpack-products"]},h().createElement("div",null,h().createElement(E,null),h().createElement("h3",null,__("VaultPress Backup","jetpack-my-jetpack")),h().createElement("p",null,__("Save every change and get back online quickly with one‑click restores.","jetpack-my-jetpack"))),h().createElement("div",null,h().createElement(v,null),h().createElement("h3",null,_x("Scan","Plugin name (noun).","jetpack-my-jetpack")),h().createElement("p",null,__("Automated scanning and one‑click fixes to keep your site ahead of security threats.","jetpack-my-jetpack")))),h().createElement(o.Z,{variant:"primary",weight:"regular",onClick:b,href:window?.myJetpackInitialState?.myJetpackUrl,className:f.Z.button},__("Explore your new powers","jetpack-my-jetpack")))))))}y.defaultProps={tokenRedeemed:!1,onModalClose:e=>{document.referrer.includes(window.location.host)?(e.preventDefault(),history.back()):(e.preventDefault(),window.location.href=window?.myJetpackInitialState?.myJetpackUrl)}},y.propTypes={redeemClick:m().func,tokenRedeemed:m().bool,displayName:m().string,onModalClose:m().func};const k=y},3281:(e,t,n)=>{"use strict";n.d(t,{H:()=>a.Z,I:()=>c.Z});var c=n(468),a=n(9644)},1899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(4743),a=n(9105),r=n(3363),i=n(3846),o=n(1294),s=n(3281),l=n(9196),p=n.n(l),u=n(2199),d=n(4106),m=n(5626);function g(){(0,l.useEffect)((()=>{const{apiRoot:e,apiNonce:t}=window?.myJetpackRest||{};c.ZP.setApiRoot(e),c.ZP.setApiNonce(t)}),[]);const{recordEvent:e}=(0,u.Z)(),{availableLicenses:t,fetchingAvailableLicenses:n}=(0,d.Z)(),{userConnectionData:g}=(0,o.Z)(),[h,f]=(0,l.useState)(!1),y=g?.currentUser?.wpcomUser?.display_name||g?.currentUser?.wpcomUser?.login||g?.currentUser?.username,k=(0,l.useCallback)((()=>{e("jetpack_myjetpack_license_activation_back_link_click")}),[e]),v=(0,l.useCallback)((()=>{f(!0)}),[]);return p().createElement(a.Z,{showHeader:!1,showBackground:!1},p().createElement(r.Z,{horizontalSpacing:3,horizontalGap:3},p().createElement(i.Z,null,p().createElement(m.Z,{onClick:k,reload:h})),p().createElement(i.Z,null,p().createElement(s.I,{currentRecommendationsStep:null,availableLicenses:t,fetchingAvailableLicenses:n,onActivationSuccess:v,siteAdminUrl:window?.myJetpackInitialState?.adminUrl,siteRawUrl:window?.myJetpackInitialState?.siteSuffix,displayName:y}))))}},3890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(1074),a=n(9517),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(9997),p=n(6234);const u=e=>{let{className:t}=e;return s().createElement(l.rU,{to:"/",className:i()(p.Z.link,t)},s().createElement(c.Z,{icon:a.Z,className:p.Z.icon}))}},5745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(1294),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(3345),l=n(3703),p=n(2307),u=n(2728);const d=e=>{let{admin:t,slug:n,children:a,showMenu:r=!1,menuItems:d=[]}=e;const{isRegistered:m,isUserConnected:g}=(0,c.Z)(),{detail:h,activate:f,deactivate:y,isFetching:k,installStandalonePlugin:v,deactivateStandalonePlugin:E}=(0,l.i)(n),{name:b,description:j,requiresUserConnection:_,standalonePluginInfo:w,status:C}=h,[Z,N]=(0,i.useState)(!1),[S,P]=(0,i.useState)(!1),R=(0,s.Z)("/connection"),I=w?.hasStandalonePlugin,A=w?.isStandaloneInstalled,x=w?.isStandaloneActive,L=I&&A&&!x,T=I&&A&&x,U=I&&!A,F=m&&g,O=C===p.N.ABSENT||C===p.N.ABSENT_WITH_PLAN,z=r&&!O&&C!==p.N.ERROR&&F&&(d?.length>0||L||T||U),M=(0,i.useCallback)((()=>{m&&g||!_?f():R()}),[f,m,g,_,R]),D=(0,i.useCallback)((()=>{N(!0),v().then((()=>{window?.location?.reload()})).catch((()=>{N(!1)}))}),[v]),V=(0,i.useCallback)((()=>{P(!0),E().then((()=>{window?.location?.reload()})).catch((()=>{P(!1)}))}),[E]);return o().createElement(u.Z,{name:b,description:j,status:C,admin:t,isFetching:k,isInstallingStandalone:Z,isDeactivatingStandalone:S,onDeactivate:y,slug:n,onActivate:M,showMenu:z,menuItems:d,showActivateOption:L,showDeactivateOption:T,showInstallOption:U,onInstallStandalone:D,onActivateStandalone:D,onDeactivateStandalone:V},a)};d.propTypes={children:r().node,admin:r().bool.isRequired,slug:r().string.isRequired};const m=d},17:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var c=n(9105),a=n(3363),r=n(3846),i=n(6895),o=n(9312),s=n(5736),l=n(1074),p=n(5381),u=n(9196),d=n.n(u),m=n(9997),g=n(1689),h=n(3890),f=n(5242),y=n(6790),k=n(184),v=n(8578),E=n(4403);const __=s.__,b=()=>d().createElement(d().Fragment,null,d().createElement("div",{className:v.Z["account-description"]},__("You can use your existing account on any of these services:","jetpack-my-jetpack")),d().createElement("span",{className:v.Z["account-images"]},d().createElement("img",{src:E,className:v.Z.wordpress,alt:__("WordPress Logo","jetpack-my-jetpack")}),d().createElement("img",{src:k,className:v.Z.google,alt:__("Google Logo","jetpack-my-jetpack")}),d().createElement("img",{src:f,className:v.Z.apple,alt:__("Apple Logo","jetpack-my-jetpack")}))),j=()=>{const[e]=(0,m.lr)(),t=e.get("returnTo");return t?`admin.php?page=my-jetpack#/${t}`:"admin.php?page=my-jetpack"},_=()=>{const{apiRoot:e,apiNonce:t}=(0,g.Z)(),n=j();return d().createElement(c.Z,{showHeader:!1,showBackground:!1},d().createElement(a.Z,{horizontalSpacing:8,horizontalGap:0},d().createElement(r.Z,{className:v.Z["relative-col"]},d().createElement(h.Z,{className:v.Z["close-link"]})),d().createElement(r.Z,null,d().createElement(o.Z,{title:__("Unlock all the amazing features of Jetpack by connecting now","jetpack-my-jetpack"),buttonLabel:__("Connect your user account","jetpack-my-jetpack"),apiRoot:e,apiNonce:t,images:[y],footer:d().createElement(b,null),from:"my-jetpack",redirectUri:n},d().createElement("ul",null,d().createElement("li",null,__("Receive instant downtime alerts","jetpack-my-jetpack")),d().createElement("li",null,__("Automatically share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("Let your subscribers know when you post","jetpack-my-jetpack")),d().createElement("li",null,__("Receive notifications about new likes and comments","jetpack-my-jetpack")),d().createElement("li",null,__("Let visitors share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("And more!","jetpack-my-jetpack")," ",d().createElement("a",{href:(0,i.Z)("jetpack-features"),target:"_blank",className:v.Z["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack-my-jetpack"),d().createElement(l.Z,{icon:p.Z}))))))))}},247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var c=n(5106),a=n(526),r=n(6895),i=n(1294),o=n(428),s=n(8137),l=n(9818),p=n(5736),u=n(1074),d=n(496),m=n(9201),g=n(5235),h=n.n(g),f=n(5162),y=n.n(f),k=n(9196),v=n.n(k),E=n(8489),b=n(3815),j=n(9182),_=n(6322);const __=p.__,w=e=>{let{text:t,actionText:n,onClick:r,status:i}=e;return v().createElement("div",{className:_.Z["list-item"]},v().createElement(c.ZP,{className:h()(_.Z["list-item-text"],{[_.Z.error]:"error"===i})},v().createElement(u.Z,{icon:"error"===i?d.Z:m.Z,className:h()({[_.Z.info]:"error"===i})}),t),n&&v().createElement(a.Z,{variant:"link",weight:"regular",onClick:r},n))},C=e=>{const{apiRoot:t,apiNonce:n,redirectUri:u,title:d,connectionInfoText:m,onDisconnected:g,connectedPlugins:f,connectedSiteId:y,context:C,onConnectUser:Z}=e,{isRegistered:N,isUserConnected:S,userConnectionData:P}=(0,i.Z)({apiRoot:t,apiNonce:n,redirectUri:u}),[R,I]=(0,k.useState)(!1),{setConnectionStatus:A,setUserIsConnecting:x}=(0,l.useDispatch)(o.t),L=Z||x,T=P.currentUser?.wpcomUser?.avatar,U=(0,k.useCallback)((e=>{e&&e.preventDefault(),I(!0)}),[I]),F=(0,k.useCallback)((e=>{e&&e.preventDefault(),I(!1)}),[I]),O=(0,k.useCallback)((e=>{e&&e.preventDefault(),A({isActive:!1,isRegistered:!1,isUserConnected:!1}),g?.()}),[g,A]);return v().createElement("div",{className:_.Z["connection-status-card"]},v().createElement(c.H3,null,d),v().createElement(c.ZP,{variant:"body",mb:3},`${m} `,v().createElement(a.Z,{href:(0,r.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),variant:"link",weight:"regular",isExternalLink:!0},__("Learn more about connections","jetpack-my-jetpack"))),v().createElement("div",{className:_.Z.status},v().createElement("img",{src:E,alt:"",className:_.Z.cloud}),v().createElement("div",{className:h()(_.Z.line,{[_.Z.disconnected]:!N||!S})}),v().createElement("div",{className:_.Z["avatar-wrapper"]},v().createElement("img",{src:j,alt:"",className:_.Z.jetpack}),v().createElement("img",{src:S&&T?T:b,alt:"",className:_.Z.avatar}))),v().createElement("div",null,N?v().createElement(v().Fragment,null,v().createElement(w,{onClick:U,text:__("Site connected.","jetpack-my-jetpack"),actionText:S&&P.currentUser?.isMaster?__("Manage","jetpack-my-jetpack"):null}),S&&v().createElement(w,{onClick:U,actionText:__("Manage","jetpack-my-jetpack"),text:(0,p.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"),P.currentUser?.wpcomUser?.display_name,P.currentUser?.isMaster?__(" (Owner)","jetpack-my-jetpack"):"")}),S&&P?.connectionOwner&&!P.currentUser?.isMaster&&v().createElement(w,{text:(0,p.sprintf)(/* translators: placeholder is the username of the Jetpack connection owner */ +__("Also connected: %s (Owner).","jetpack-my-jetpack"),P.connectionOwner)}),!S&&v().createElement(w,{onClick:L,text:__("User account not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})):v().createElement(w,{onClick:L,text:__("Jetpack is not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})),v().createElement(s.Z,{apiRoot:t,apiNonce:n,onDisconnected:O,connectedPlugins:f,connectedSiteId:y,connectedUser:P,isOpen:R,onClose:F,context:C}))};C.propTypes={apiRoot:y().string.isRequired,apiNonce:y().string.isRequired,redirectUri:y().string,connectedPlugins:y().array,connectedSiteId:y().number,title:y().string,connectionInfoText:y().string,onDisconnected:y().func,context:y().string,onConnectUser:y().func,requiresUserConnection:y().bool},C.defaultProps={title:__("Connection","jetpack-my-jetpack"),connectionInfoText:__("Jetpack connects your site and user account to the WordPress.com cloud to provide more powerful features.","jetpack-my-jetpack"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0};const Z=C},5784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9818),a=n(9196),r=n.n(a),i=n(1689),o=n(3345),s=n(7493),l=n(247);function p(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:n,connectedPlugins:a}=(0,i.Z)(),p=(0,o.Z)("/connection"),u=(0,c.useSelect)((e=>e(s.t).getProductsThatRequiresUserConnection()));return r().createElement(l.Z,{apiRoot:e,apiNonce:t,redirectUri:n,onConnectUser:p,connectedPlugins:a,requiresUserConnection:u.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5626:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(1074),r=n(3259),i=n(9196),o=n.n(i),s=n(9997),l=n(197);const __=c.__;function p(e){let{onClick:t,reload:n}=e;const c=n?"/?reload=true":"/";return o().createElement(s.rU,{to:c,className:l.Z.link,onClick:t},o().createElement(a.Z,{icon:r.Z,className:l.Z.icon}),__("Go back","jetpack-my-jetpack"))}p.defaultProps={onClick:()=>{}};const u=p},8607:(e,t,n)=>{"use strict";n.d(t,{r:()=>d});var c=n(526),a=n(3396),r=n(5609),i=n(9771),o=n(5736),s=n(5235),l=n.n(s),p=n(9196),u=n(4416);n(1854);const __=o.__;function d(e){let{productName:t,giftedDate:n}=e;const[s,d]=(0,p.useState)(!1),m=(0,p.useCallback)((()=>d(!0)),[d]),g={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,p.useCallback)((()=>d(!1)),[d]),className:u.Z.container},h=l()(u.Z.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(c.Z,{variant:"link",onClick:m},React.createElement(a._1,{className:u.Z.logo})),React.createElement("div",{className:u.Z.helper},s&&React.createElement(r.Popover,g,React.createElement("div",null,React.createElement("div",{className:u.Z.title},t),React.createElement("div",{className:u.Z.content},(0,o.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"),t,(0,i.dateI18n)("F j, Y",n)))))))}},4159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(5609),a=n(9196),r=n.n(a),i=n(73);const o=function(){const[e,t]=(0,a.useState)(!0),n=(0,a.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:o,isSafeModeConfirmed:s}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!o||s?null:r().createElement(c.Modal,{onRequestClose:n,overlayClassName:i.Z.modal},r().createElement("div",{id:o,className:i.Z.container}))}},8966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var c=n(2674),a=n.n(c),r=n(2054),i=n(9105),o=n(216),s=n(3363),l=n(3846),p=n(5106),u=n(6579),d=n(4164),m=n(3329),g=n(5609),h=n(5736),f=n(496),y=n(9196),v=n.n(y),k=n(2199),E=n(6913),b=n(8869),j=n(5371),_=n(5031),w=n(5784),C=n(4159),Z=n(6800),N=n(5943),S=n(1017);const __=h.__,P=e=>{let{message:t,options:n,clean:c}=e;const[i]=(0,r.Z)(["md"],[">"]),o={error:v().createElement(g.SVG,{className:S.Z.nofill,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v().createElement(g.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),v().createElement(g.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),v().createElement(g.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"})),info:f.Z};return v().createElement(g.Notice,a()({isDismissible:!1},n,{onRemove:c,className:S.Z.notice+(i?" "+S.Z["bigger-than-medium"]:"")}),v().createElement("div",{className:S.Z.message},o?.[n.status]&&v().createElement(g.Icon,{icon:o[n.status]}),t))};function R(){(0,j.Z)();const{message:e,options:t,clean:n}=(0,_.Z)(),{hasConnectionError:c}=(0,m.Z)(),{isAvailable:a,isFetchingChatAvailability:r}=(0,b.Z)(),{jwt:g,isFetchingChatAuthentication:h}=(0,E.Z)(),f=!h&&!r&&a&&g,{recordEvent:S}=(0,k.Z)(),[R,I]=(0,y.useState)(!1);return(0,y.useEffect)((()=>{S("jetpack_myjetpack_page_view")}),[S]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),I(!0)),R?null:v().createElement(i.Z,null,v().createElement(C.Z,null),v().createElement(o.Z,null,v().createElement(s.Z,{horizontalSpacing:0},v().createElement(l.Z,null,v().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),v().createElement(s.Z,{horizontalSpacing:5,horizontalGap:e?3:6},v().createElement(l.Z,{sm:4,md:8,lg:12},v().createElement(p.ZP,{variant:"headline-small"},__("Manage your Jetpack products","jetpack-my-jetpack"))),c&&v().createElement(l.Z,null,v().createElement(m.h,null)),e&&v().createElement(l.Z,null,v().createElement(P,{message:e,options:t,clean:n})),v().createElement(l.Z,null,v().createElement(N.Z,null)))),v().createElement(u.Z,null,v().createElement(s.Z,{horizontalSpacing:8},v().createElement(l.Z,{sm:4,md:4,lg:6},v().createElement(Z.Z,null)),v().createElement(l.Z,{sm:4,md:4,lg:6},v().createElement(w.Z,null)))),f&&v().createElement(d.Z,{jwt_token:g}))}},6800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var c=n(5106),a=n(526),r=n(5736),i=n(9196),o=n.n(i),s=n(2199),l=n(1689),p=n(3345),u=n(1750),d=n(8295),m=n(7258),g=n(6986),h=n(8607),f=n(6891);const __=r.__,_n=r._n;function y(e){let{purchase:t={}}=e;const{product_name:n}=t;return o().createElement(o().Fragment,null,o().createElement(c.Dx,null,n),o().createElement(v,t))}function v(e){const{expiry_message:t,product_name:n,subscribed_date:a}=e;return(0,g.h)(e)?o().createElement(c.ZP,{variant:"body",className:f.Z["expire-date"]},o().createElement("span",{className:f.Z["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),o().createElement(h.r,{productName:n,giftedDate:a})):o().createElement(c.ZP,{variant:"body",className:f.Z["expire-date"]},t)}function k(e){let{purchases:t}=e;return o().createElement(o().Fragment,null,o().createElement(c.H3,null,t.length<=1?__("Your plan","jetpack-my-jetpack"):__("Your plans","jetpack-my-jetpack")),0===t.length&&o().createElement(c.ZP,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function E(e){let{purchases:t}=e;const{recordEvent:n}=(0,s.Z)(),{isUserConnected:c}=(0,l.Z)();let r=__("Purchase a plan","jetpack-my-jetpack");t.length>=1&&(r=_n("Manage your plan","Manage your plans",t.length,"jetpack-my-jetpack"));const u=(0,i.useCallback)((()=>{const e=t.length?"jetpack_myjetpack_plans_manage_click":"jetpack_myjetpack_plans_purchase_click";n(e)}),[t,n]),g=(0,p.Z)("/connection"),h=(0,i.useCallback)((()=>{n("jetpack_myjetpack_activate_license_click"),c||g()}),[g,c,n]);let y=__("Activate a license","jetpack-my-jetpack");return c||(y=__("Activate a license (requires a user connection)","jetpack-my-jetpack")),o().createElement("ul",null,o().createElement("li",{className:f.Z["actions-list-item"]},o().createElement(a.Z,{onClick:u,href:t.length?(0,d.Z)():(0,m.Z)(),weight:"regular",variant:"link",isExternalLink:!0},r)),window?.myJetpackInitialState?.loadAddLicenseScreen&&o().createElement("li",{className:f.Z["actions-list-item"]},o().createElement(a.Z,{onClick:h,href:c?`${window?.myJetpackInitialState?.adminUrl}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},y)))}function b(){const e=!!window?.myJetpackInitialState?.userIsAdmin,{purchases:t}=(0,u.Z)();return o().createElement("div",{className:f.Z.container},o().createElement(k,{purchases:t}),o().createElement("div",{className:f.Z.purchasesSection},t.map((e=>o().createElement(y,{key:`purchase-${e.product_name}`,purchase:e})))),e&&o().createElement(E,{purchases:t}))}},2307:(e,t,n)=>{"use strict";n.d(t,{N:()=>p,Z:()=>u});var c=n(2674),a=n.n(c),r=n(526),i=n(5736),o=n(9196),s=n.n(o),l=n(3703);const __=i.__,p={ACTIVE:"active",INACTIVE:"inactive",ERROR:"error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PURCHASE:"needs_purchase",NEEDS_PURCHASE_OR_FREE:"needs_purchase_or_free"},u=e=>{let{status:t,admin:n,name:c,slug:o,onActivate:u,onManage:d,onFixConnection:m,isFetching:g,isInstallingStandalone:h,isDeactivatingStandalone:f,className:y,onAdd:v}=e;const{detail:k}=(0,l.i)(o),{manageUrl:E,purchaseUrl:b}=k,j=!E,_=g||h||f,w={variant:_?void 0:"primary",disabled:_,className:y};if(!n)return s().createElement(r.Z,a()({},w,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ +__("%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"),t,(0,i.dateI18n)("F j, Y",n)))))))}},4159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(5609),a=n(9196),r=n.n(a),i=n(73);const o=function(){const[e,t]=(0,a.useState)(!0),n=(0,a.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:o,isSafeModeConfirmed:s}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!o||s?null:r().createElement(c.Modal,{onRequestClose:n,overlayClassName:i.Z.modal},r().createElement("div",{id:o,className:i.Z.container}))}},8966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var c=n(2674),a=n.n(c),r=n(2054),i=n(9105),o=n(216),s=n(3363),l=n(3846),p=n(5106),u=n(6579),d=n(4164),m=n(3329),g=n(5609),h=n(5736),f=n(496),y=n(9196),k=n.n(y),v=n(2199),E=n(6913),b=n(8869),j=n(5371),_=n(5031),w=n(5784),C=n(4159),Z=n(6800),N=n(5943),S=n(1017);const __=h.__,P=e=>{let{message:t,options:n,clean:c}=e;const[i]=(0,r.Z)(["md"],[">"]),o={error:k().createElement(g.SVG,{className:S.Z.nofill,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k().createElement(g.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),k().createElement(g.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),k().createElement(g.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"})),info:f.Z};return k().createElement(g.Notice,a()({isDismissible:!1},n,{onRemove:c,className:S.Z.notice+(i?" "+S.Z["bigger-than-medium"]:"")}),k().createElement("div",{className:S.Z.message},o?.[n.status]&&k().createElement(g.Icon,{icon:o[n.status]}),t))};function R(){(0,j.Z)();const{message:e,options:t,clean:n}=(0,_.Z)(),{hasConnectionError:c}=(0,m.Z)(),{isAvailable:a,isFetchingChatAvailability:r}=(0,b.Z)(),{jwt:g,isFetchingChatAuthentication:h}=(0,E.Z)(),f=!h&&!r&&a&&g,{recordEvent:S}=(0,v.Z)(),[R,I]=(0,y.useState)(!1);return(0,y.useEffect)((()=>{S("jetpack_myjetpack_page_view")}),[S]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),I(!0)),R?null:k().createElement(i.Z,null,k().createElement(C.Z,null),k().createElement(o.Z,null,k().createElement(s.Z,{horizontalSpacing:0},k().createElement(l.Z,null,k().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),k().createElement(s.Z,{horizontalSpacing:5,horizontalGap:e?3:6},k().createElement(l.Z,{sm:4,md:8,lg:12},k().createElement(p.ZP,{variant:"headline-small"},__("Manage your Jetpack products","jetpack-my-jetpack"))),c&&k().createElement(l.Z,null,k().createElement(m.h,null)),e&&k().createElement(l.Z,null,k().createElement(P,{message:e,options:t,clean:n})),k().createElement(l.Z,null,k().createElement(N.Z,null)))),k().createElement(u.Z,null,k().createElement(s.Z,{horizontalSpacing:8},k().createElement(l.Z,{sm:4,md:4,lg:6},k().createElement(Z.Z,null)),k().createElement(l.Z,{sm:4,md:4,lg:6},k().createElement(w.Z,null)))),f&&k().createElement(d.Z,{jwt_token:g}))}},6800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var c=n(5106),a=n(526),r=n(5736),i=n(9196),o=n.n(i),s=n(2199),l=n(1689),p=n(3345),u=n(1750),d=n(8295),m=n(7258),g=n(6986),h=n(8607),f=n(6891);const __=r.__,_n=r._n;function y(e){let{purchase:t={}}=e;const{product_name:n}=t;return o().createElement(o().Fragment,null,o().createElement(c.Dx,null,n),o().createElement(k,t))}function k(e){const{expiry_message:t,product_name:n,subscribed_date:a}=e;return(0,g.h)(e)?o().createElement(c.ZP,{variant:"body",className:f.Z["expire-date"]},o().createElement("span",{className:f.Z["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),o().createElement(h.r,{productName:n,giftedDate:a})):o().createElement(c.ZP,{variant:"body",className:f.Z["expire-date"]},t)}function v(e){let{purchases:t}=e;return o().createElement(o().Fragment,null,o().createElement(c.H3,null,t.length<=1?__("Your plan","jetpack-my-jetpack"):__("Your plans","jetpack-my-jetpack")),0===t.length&&o().createElement(c.ZP,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function E(e){let{purchases:t}=e;const{recordEvent:n}=(0,s.Z)(),{isUserConnected:c}=(0,l.Z)();let r=__("Purchase a plan","jetpack-my-jetpack");t.length>=1&&(r=_n("Manage your plan","Manage your plans",t.length,"jetpack-my-jetpack"));const u=(0,i.useCallback)((()=>{const e=t.length?"jetpack_myjetpack_plans_manage_click":"jetpack_myjetpack_plans_purchase_click";n(e)}),[t,n]),g=(0,p.Z)("/connection"),h=(0,i.useCallback)((()=>{n("jetpack_myjetpack_activate_license_click"),c||g()}),[g,c,n]);let y=__("Activate a license","jetpack-my-jetpack");return c||(y=__("Activate a license (requires a user connection)","jetpack-my-jetpack")),o().createElement("ul",null,o().createElement("li",{className:f.Z["actions-list-item"]},o().createElement(a.Z,{onClick:u,href:t.length?(0,d.Z)():(0,m.Z)(),weight:"regular",variant:"link",isExternalLink:!0},r)),window?.myJetpackInitialState?.loadAddLicenseScreen&&o().createElement("li",{className:f.Z["actions-list-item"]},o().createElement(a.Z,{onClick:h,href:c?`${window?.myJetpackInitialState?.adminUrl}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},y)))}function b(){const e=!!window?.myJetpackInitialState?.userIsAdmin,{purchases:t}=(0,u.Z)();return o().createElement("div",{className:f.Z.container},o().createElement(v,{purchases:t}),o().createElement("div",{className:f.Z.purchasesSection},t.map((e=>o().createElement(y,{key:`purchase-${e.product_name}`,purchase:e})))),e&&o().createElement(E,{purchases:t}))}},2307:(e,t,n)=>{"use strict";n.d(t,{N:()=>p,Z:()=>u});var c=n(2674),a=n.n(c),r=n(526),i=n(5736),o=n(9196),s=n.n(o),l=n(3703);const __=i.__,p={ACTIVE:"active",INACTIVE:"inactive",ERROR:"error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PURCHASE:"needs_purchase",NEEDS_PURCHASE_OR_FREE:"needs_purchase_or_free"},u=e=>{let{status:t,admin:n,name:c,slug:o,onActivate:u,onManage:d,onFixConnection:m,isFetching:g,isInstallingStandalone:h,isDeactivatingStandalone:f,className:y,onAdd:k}=e;const{detail:v}=(0,l.i)(o),{manageUrl:E,purchaseUrl:b}=v,j=!E,_=g||h||f,w={variant:_?void 0:"primary",disabled:_,className:y};if(!n)return s().createElement(r.Z,a()({},w,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ (0,i.sprintf)(__("Learn about %s","jetpack-my-jetpack"),c));switch(t){case p.ABSENT:case p.ABSENT_WITH_PLAN:return s().createElement(r.Z,a()({},w,{href:`#/add-${o}`,size:"small",variant:"link",weight:"regular"}),t===p.ABSENT&&(0,i.sprintf)(/* translators: placeholder is product name. */ __("Get %s","jetpack-my-jetpack"),c),t===p.ABSENT_WITH_PLAN&&(0,i.sprintf)(/* translators: placeholder is product name. */ -__("Install %s","jetpack-my-jetpack"),c));case p.NEEDS_PURCHASE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Purchase","jetpack-my-jetpack"),n=b?e:t;return s().createElement(r.Z,a()({},w,{href:b||`#/add-${o}`,size:"small",weight:"regular",onClick:v}),n)}case p.NEEDS_PURCHASE_OR_FREE:return s().createElement(r.Z,a()({},w,{href:`#/add-${o}`,size:"small",weight:"regular",onClick:v}),__("Start for free","jetpack-my-jetpack"));case p.ACTIVE:{const e=__("View","jetpack-my-jetpack"),t=__("Manage","jetpack-my-jetpack"),n=b?e:t;return s().createElement(r.Z,a()({},w,{disabled:j||w?.disabled,size:"small",weight:"regular",variant:"secondary",href:E,onClick:d}),n)}case p.ERROR:return s().createElement(r.Z,a()({},w,{href:"#/connection",size:"small",weight:"regular",onClick:m}),__("Fix connection","jetpack-my-jetpack"));case p.INACTIVE:return s().createElement(r.Z,a()({},w,{size:"small",weight:"regular",variant:"secondary",onClick:u}),__("Activate","jetpack-my-jetpack"));default:return null}}},2728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var c=n(2674),a=n.n(c),r=n(526),i=n(5106),o=n(5609),s=n(5736),l=n(3482),p=n(5899),u=n(5235),d=n.n(u),m=n(5162),g=n.n(m),h=n(9196),f=n.n(h),y=n(2199),v=n(2307),k=n(9720);const __=s.__,E={[v.N.ACTIVE]:__("Active","jetpack-my-jetpack"),[v.N.INACTIVE]:__("Inactive","jetpack-my-jetpack"),[v.N.NEEDS_PURCHASE]:__("Inactive","jetpack-my-jetpack"),[v.N.NEEDS_PURCHASE_OR_FREE]:__("Inactive","jetpack-my-jetpack"),[v.N.ERROR]:__("Error","jetpack-my-jetpack")},b=e=>{let{items:t=[],showInstall:n=!1,onInstall:c,showActivate:a=!1,showDeactivate:i=!1,onActivate:s,onDeactivate:u}=e;return f().createElement(o.Dropdown,{className:k.Z.dropdown,popoverProps:{noArrow:!1,placement:"bottom-end"},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return f().createElement(r.Z,{variant:"tertiary",size:"small",icon:l.Z,onClick:n,"aria-expanded":t})},renderContent:e=>{let{onClose:o}=e;return f().createElement(f().Fragment,null,t.map((e=>f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:e?.icon,onClick:()=>{o(),e?.onClick?.()}},e?.label))),n&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:p.Z,onClick:()=>{o(),c?.()}},__("Install Plugin","jetpack-my-jetpack")),a&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",onClick:()=>{o(),s?.()}},__("Activate Plugin","jetpack-my-jetpack")),i&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",onClick:()=>{o(),u?.()}},__("Deactivate Plugin","jetpack-my-jetpack")))}})};b.propTypes={onActivate:g().func,onDeactivate:g().func,showActivate:g().bool,showDeactivate:g().bool,showInstall:g().bool,items:g().arrayOf(g().shape({label:g().string,icon:g().node,onClick:g().func})),onInstall:g().func},b.defaultProps={onActivate:()=>{},onDeactivate:()=>{},showActivate:!1,showDeactivate:!1};const j=e=>{const{name:t,description:n,status:c,onActivate:r,isFetching:o,isInstallingStandalone:s,isDeactivatingStandalone:l,slug:p,children:u,showMenu:m=!1,showActivateOption:g=!1,showDeactivateOption:j=!1,showInstallOption:_=!1,menuItems:w=[],onInstallStandalone:C,onActivateStandalone:Z,onDeactivateStandalone:N}=e,S=c===v.N.ACTIVE,P=c===v.N.ERROR,R=c===v.N.INACTIVE,I=c===v.N.ABSENT||c===v.N.ABSENT_WITH_PLAN,x=c===v.N.NEEDS_PURCHASE||c===v.N.NEEDS_PURCHASE_OR_FREE,A=E[c],L=d()(k.Z.container,{[k.Z.plugin_absent]:I,[k.Z["is-purchase-required"]]:x,[k.Z["is-link"]]:I,[k.Z["has-error"]]:P}),T=d()(k.Z.status,{[k.Z.active]:S,[k.Z.inactive]:R||x,[k.Z.error]:P,[k.Z["is-fetching"]]:o||s||l}),{recordEvent:U}=(0,y.Z)(),F=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_activate_click",{product:p}),r()}),[p,r,U]),O=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_add_click",{product:p})}),[p,U]),z=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_manage_click",{product:p})}),[p,U]),M=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_fixconnection_click",{product:p})}),[p,U]),D=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:p}),C()}),[p,C,U]),V=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_activate_standalone_plugin_click",{product:p}),Z()}),[p,Z,U]),B=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_deactivate_standalone_plugin_click",{product:p}),N()}),[p,N,U]);return f().createElement("div",{className:L},f().createElement("div",{className:k.Z.title},f().createElement("div",{className:k.Z.name},f().createElement(i.ZP,{variant:"title-medium"},t)),m&&f().createElement(b,{items:w,showActivate:g,showDeactivate:j,onActivate:V,onDeactivate:B,showInstall:_,onInstall:D})),S&&u?u:f().createElement(i.ZP,{variant:"body-small",className:k.Z.description},n),f().createElement("div",{className:k.Z.actions},f().createElement(v.Z,a()({},e,{onActivate:F,onFixConnection:M,onManage:z,onAdd:O,className:k.Z.button})),!I&&f().createElement(i.ZP,{variant:"label",className:T},A)))};j.propTypes={children:g().node,name:g().string.isRequired,description:g().string.isRequired,admin:g().bool.isRequired,isFetching:g().bool,isInstallingStandalone:g().bool,isDeactivatingStandalone:g().bool,isManageDisabled:g().bool,onActivate:g().func,slug:g().string.isRequired,showMenu:g().bool,showActivateOption:g().bool,showDeactivateOption:g().bool,showInstallOption:g().bool,menuItems:g().arrayOf(g().shape({label:g().string,icon:g().node,onClick:g().func})),onInstallStandalone:g().func,onActivateStandalone:g().func,onDeactivateStandalone:g().func,status:g().oneOf([v.N.ACTIVE,v.N.INACTIVE,v.N.ERROR,v.N.ABSENT,v.N.ABSENT_WITH_PLAN,v.N.NEEDS_PURCHASE,v.N.NEEDS_PURCHASE_OR_FREE]).isRequired},j.defaultProps={isFetching:!1,isInstallingStandalone:!1,isDeactivatingStandalone:!1,onActivate:()=>{},showMenu:!1,showActivateOption:!1,showDeactivateOption:!1,showInstallOption:!1,menuItems:[]};const _=j},8777:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"jetpack-ai"})};s.propTypes={admin:a().bool.isRequired};const l=s},1640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"anti-spam"})};s.propTypes={admin:a().bool.isRequired};const l=s},401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"backup",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},4074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"boost"})};s.propTypes={admin:a().bool.isRequired};const l=s},8112:(e,t,n)=>{"use strict";n.d(t,{G:()=>v,X:()=>y});var c=n(2947),a=n(5106),r=n(2636),i=n(5736),o=n(986),s=n(9404),l=n(1074),p=n(5235),u=n.n(p),d=n(5162),m=n.n(d),g=n(9196),h=n.n(g),f=n(523);const __=i.__,y=e=>{let{change:t,changePercentage:n}=e;if(!Number.isFinite(t))return null;const r=t>0?o.Z:s.Z,p=(0,c.Z)(Math.abs(t),{notation:"compact",compactDisplay:"short"});return h().createElement("div",{className:u()(f.Z["contextual-percentage-change"],{[f.Z.neutral]:0===t,[f.Z.positive]:t>0,[f.Z.negative]:t<0})},!!t&&h().createElement(l.Z,{icon:r,size:14,className:f.Z["change-icon"]}),h().createElement(a.ZP,{className:f.Z["change-values"]},(0,i.sprintf)(/* translators: both placeholders are numbers */ -__("%1$s (%2$s%%)","jetpack-my-jetpack"),p,n)))};y.propTypes={change:m().number,changePercentage:m().number};const v=e=>{let{description:t,value:n,context:c,loading:i}=e;return i?h().createElement("div",{className:f.Z["single-contextual-info-placeholder"]},h().createElement(r.Z,{height:24}),h().createElement(r.Z,{height:36})):h().createElement(h().Fragment,null,h().createElement(a.ZP,null,t),h().createElement("div",{className:f.Z["single-contextual-info"]},h().createElement(a.ZP,{className:f.Z["main-value"]},n),c))};v.propTypes={description:m().string.isRequired,value:m().string,context:m().node,loading:m().bool}},5996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"crm"})};s.propTypes={admin:a().bool.isRequired};const l=s},5943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(3363),a=n(3846),r=n(9196),i=n.n(r),o=n(8777),s=n(1640),l=n(401),p=n(4074),u=n(5996),d=n(5440),m=n(687),g=n(419),h=n(6217),f=n(523),y=n(9894);const{showJetpackStatsCard:v=!1}=window.myJetpackInitialState?.myJetpackFlags??{},k=()=>{const e=[l.Z,d.Z,s.Z,p.Z,m.Z,y.Z,u.Z,g.Z,o.Z];return v&&e.splice(6,0,h.Z),i().createElement(c.Z,{className:f.Z.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},e.map(((e,t)=>i().createElement(a.Z,{tagName:"li",sm:4,md:4,lg:4,key:t},i().createElement(e,{admin:!!window?.myJetpackInitialState?.userIsAdmin})))))}},5440:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9818),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(7493),l=n(5745);const p=e=>{let{admin:t}=e;const n=(0,c.useSelect)((e=>e(s.t).hasStandalonePluginInstalled()));return o().createElement(l.Z,{admin:t,slug:n?"protect":"scan"})};p.propTypes={admin:r().bool.isRequired};const u=p},687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"search",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"social",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},6217:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"stats",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},9894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2947),a=n(5736),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(3703),p=n(5745),u=n(8112);const __=a.__,d=e=>{let{admin:t}=e;const{videoPressStats:n=!1}=window.myJetpackInitialState?.myJetpackFlags??{},{loading:a,hasError:r,change:i,currentFormatted:o,changePercentage:d}=(()=>{const{stats:e}=(0,l.i)("videopress"),t=void 0===e,n=null===e,a=e?.data?.views??{},{previous:r=null,current:i=null}=a,o=null!==i?(0,c.Z)(i,{notation:"compact",compactDisplay:"short"}):null,s=null!==i&&null!==r?i-r:null;let p=null;return null!==s&&(p=0===s?0:0===r?100:Math.round(s/r*100)),{loading:t,hasError:n,currentFormatted:o,change:s,changePercentage:p}})();if(!n||r)return s().createElement(p.Z,{admin:t,slug:"videopress",showMenu:!0});const m=__("Views, last 7 days","jetpack-my-jetpack");return s().createElement(p.Z,{admin:t,slug:"videopress",showMenu:!0},s().createElement(u.G,{loading:a,description:m,value:o,context:s().createElement(u.X,{change:i,changePercentage:d})}))};d.propTypes={admin:i().bool.isRequired};const m=d},2667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5609),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i);const s=e=>{let{children:t,className:n,href:a,isLoading:r,onClick:i,isPrimary:s,disabled:l}=e;return o().createElement(c.Button,{onClick:i,className:n,href:a,variant:s?"primary":"secondary",disabled:r||l},r?o().createElement(c.Spinner,null):t)};s.propTypes={className:r().string,isLoading:r().bool,isPrimary:r().bool,disabled:r().bool},s.defaultProps={isLoading:!1,isPrimary:!0,disabled:!1};const l=s},968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var c=n(8899),a=n(5106),r=n(3396),i=n(4972),o=n(7325),s=n(8258),l=n(5609),p=n(5736),u=n(1074),d=n(1908),m=n(9201),g=n(5235),h=n.n(g),f=n(9196),y=n.n(f),v=n(2199),k=n(3703),E=n(2667),b=n(8429);const __=p.__;function j(e){let{value:t,currency:n,isOld:r}=e;if(!t||!n)return null;const i=(0,c.LR)(t,n),o=h()(b.Z.price,{[b.Z["is-old"]]:r});return y().createElement(a.ZP,{className:o,variant:"headline-medium",component:"p"},y().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.symbol),i.integer,y().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.fraction))}const _=e=>{let{slug:t,onClick:n,trackButtonClick:c,className:g,preferProductName:_,supportingInfo:w}=e;const{fileSystemWriteAccess:C,siteSuffix:Z,myJetpackUrl:N}=window?.myJetpackInitialState??{},{detail:S,isFetching:P}=(0,k.i)(t),{name:R,title:I,longDescription:x,features:A,disclaimers:L,pricingForUi:T,isBundle:U,supportedProducts:F,hasRequiredPlan:O,status:z,pluginSlug:M,postCheckoutUrl:D}=S,V="plugin_absent"===z&&"no"===C,{isFree:B,trialAvailable:H,fullPricePerMonth:J,currencyCode:q,discountPricePerMonth:G,wpcomProductSlug:W,wpcomFreeProductSlug:$,introductoryOffer:K,productTerm:Q}=T,{recordEvent:Y}=(0,v.Z)(),X=!B&&!O,ee=D||N,{run:te,hasCheckoutStarted:ne}=(0,s.Z)({productSlug:W,redirectUrl:ee,siteSuffix:Z,from:"my-jetpack"}),{run:ce,hasCheckoutStarted:ae}=(0,s.Z)({productSlug:$,redirectUrl:N,siteSuffix:Z,from:"my-jetpack"}),re=U?F.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return y().createElement(u.Z,{className:b.Z["plus-icon"],key:`icon-plugs${t}`,icon:d.Z,size:14});const n=(0,r.VS)(e);return y().createElement(n,{key:e,size:24})})):null;let ie;ie="month"===K?.intervalUnit&&1===K?.intervalCount?(0,p.sprintf)( +__("Install %s","jetpack-my-jetpack"),c));case p.NEEDS_PURCHASE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Purchase","jetpack-my-jetpack"),n=b?e:t;return s().createElement(r.Z,a()({},w,{href:b||`#/add-${o}`,size:"small",weight:"regular",onClick:k}),n)}case p.NEEDS_PURCHASE_OR_FREE:return s().createElement(r.Z,a()({},w,{href:`#/add-${o}`,size:"small",weight:"regular",onClick:k}),__("Start for free","jetpack-my-jetpack"));case p.ACTIVE:{const e=__("View","jetpack-my-jetpack"),t=__("Manage","jetpack-my-jetpack"),n=b?e:t;return s().createElement(r.Z,a()({},w,{disabled:j||w?.disabled,size:"small",weight:"regular",variant:"secondary",href:E,onClick:d}),n)}case p.ERROR:return s().createElement(r.Z,a()({},w,{href:"#/connection",size:"small",weight:"regular",onClick:m}),__("Fix connection","jetpack-my-jetpack"));case p.INACTIVE:return s().createElement(r.Z,a()({},w,{size:"small",weight:"regular",variant:"secondary",onClick:u}),__("Activate","jetpack-my-jetpack"));default:return null}}},2728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var c=n(2674),a=n.n(c),r=n(526),i=n(5106),o=n(5609),s=n(5736),l=n(3482),p=n(5899),u=n(5235),d=n.n(u),m=n(5162),g=n.n(m),h=n(9196),f=n.n(h),y=n(2199),k=n(2307),v=n(9720);const __=s.__,E={[k.N.ACTIVE]:__("Active","jetpack-my-jetpack"),[k.N.INACTIVE]:__("Inactive","jetpack-my-jetpack"),[k.N.NEEDS_PURCHASE]:__("Inactive","jetpack-my-jetpack"),[k.N.NEEDS_PURCHASE_OR_FREE]:__("Inactive","jetpack-my-jetpack"),[k.N.ERROR]:__("Error","jetpack-my-jetpack")},b=e=>{let{items:t=[],showInstall:n=!1,onInstall:c,showActivate:a=!1,showDeactivate:i=!1,onActivate:s,onDeactivate:u}=e;return f().createElement(o.Dropdown,{className:v.Z.dropdown,popoverProps:{noArrow:!1,placement:"bottom-end"},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return f().createElement(r.Z,{variant:"tertiary",size:"small",icon:l.Z,onClick:n,"aria-expanded":t})},renderContent:e=>{let{onClose:o}=e;return f().createElement(f().Fragment,null,t.map((e=>f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:e?.icon,onClick:()=>{o(),e?.onClick?.()}},e?.label))),n&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:p.Z,onClick:()=>{o(),c?.()}},__("Install Plugin","jetpack-my-jetpack")),a&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",onClick:()=>{o(),s?.()}},__("Activate Plugin","jetpack-my-jetpack")),i&&f().createElement(r.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",onClick:()=>{o(),u?.()}},__("Deactivate Plugin","jetpack-my-jetpack")))}})};b.propTypes={onActivate:g().func,onDeactivate:g().func,showActivate:g().bool,showDeactivate:g().bool,showInstall:g().bool,items:g().arrayOf(g().shape({label:g().string,icon:g().node,onClick:g().func})),onInstall:g().func},b.defaultProps={onActivate:()=>{},onDeactivate:()=>{},showActivate:!1,showDeactivate:!1};const j=e=>{const{name:t,description:n,status:c,onActivate:r,isFetching:o,isInstallingStandalone:s,isDeactivatingStandalone:l,slug:p,children:u,showMenu:m=!1,showActivateOption:g=!1,showDeactivateOption:j=!1,showInstallOption:_=!1,menuItems:w=[],onInstallStandalone:C,onActivateStandalone:Z,onDeactivateStandalone:N}=e,S=c===k.N.ACTIVE,P=c===k.N.ERROR,R=c===k.N.INACTIVE,I=c===k.N.ABSENT||c===k.N.ABSENT_WITH_PLAN,A=c===k.N.NEEDS_PURCHASE||c===k.N.NEEDS_PURCHASE_OR_FREE,x=E[c],L=d()(v.Z.container,{[v.Z.plugin_absent]:I,[v.Z["is-purchase-required"]]:A,[v.Z["is-link"]]:I,[v.Z["has-error"]]:P}),T=d()(v.Z.status,{[v.Z.active]:S,[v.Z.inactive]:R||A,[v.Z.error]:P,[v.Z["is-fetching"]]:o||s||l}),{recordEvent:U}=(0,y.Z)(),F=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_activate_click",{product:p}),r()}),[p,r,U]),O=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_add_click",{product:p})}),[p,U]),z=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_manage_click",{product:p})}),[p,U]),M=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_fixconnection_click",{product:p})}),[p,U]),D=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:p}),C()}),[p,C,U]),V=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_activate_standalone_plugin_click",{product:p}),Z()}),[p,Z,U]),B=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_deactivate_standalone_plugin_click",{product:p}),N()}),[p,N,U]);return f().createElement("div",{className:L},f().createElement("div",{className:v.Z.title},f().createElement("div",{className:v.Z.name},f().createElement(i.ZP,{variant:"title-medium"},t)),m&&f().createElement(b,{items:w,showActivate:g,showDeactivate:j,onActivate:V,onDeactivate:B,showInstall:_,onInstall:D})),S&&u?u:f().createElement(i.ZP,{variant:"body-small",className:v.Z.description},n),f().createElement("div",{className:v.Z.actions},f().createElement(k.Z,a()({},e,{onActivate:F,onFixConnection:M,onManage:z,onAdd:O,className:v.Z.button})),!I&&f().createElement(i.ZP,{variant:"label",className:T},x)))};j.propTypes={children:g().node,name:g().string.isRequired,description:g().string.isRequired,admin:g().bool.isRequired,isFetching:g().bool,isInstallingStandalone:g().bool,isDeactivatingStandalone:g().bool,isManageDisabled:g().bool,onActivate:g().func,slug:g().string.isRequired,showMenu:g().bool,showActivateOption:g().bool,showDeactivateOption:g().bool,showInstallOption:g().bool,menuItems:g().arrayOf(g().shape({label:g().string,icon:g().node,onClick:g().func})),onInstallStandalone:g().func,onActivateStandalone:g().func,onDeactivateStandalone:g().func,status:g().oneOf([k.N.ACTIVE,k.N.INACTIVE,k.N.ERROR,k.N.ABSENT,k.N.ABSENT_WITH_PLAN,k.N.NEEDS_PURCHASE,k.N.NEEDS_PURCHASE_OR_FREE]).isRequired},j.defaultProps={isFetching:!1,isInstallingStandalone:!1,isDeactivatingStandalone:!1,onActivate:()=>{},showMenu:!1,showActivateOption:!1,showDeactivateOption:!1,showInstallOption:!1,menuItems:[]};const _=j},8777:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"jetpack-ai"})};s.propTypes={admin:a().bool.isRequired};const l=s},1640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"anti-spam"})};s.propTypes={admin:a().bool.isRequired};const l=s},401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"backup",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},4074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"boost"})};s.propTypes={admin:a().bool.isRequired};const l=s},8112:(e,t,n)=>{"use strict";n.d(t,{G:()=>k,X:()=>y});var c=n(2947),a=n(5106),r=n(2636),i=n(5736),o=n(986),s=n(9404),l=n(1074),p=n(5235),u=n.n(p),d=n(5162),m=n.n(d),g=n(9196),h=n.n(g),f=n(523);const __=i.__,y=e=>{let{change:t,changePercentage:n}=e;if(!Number.isFinite(t))return null;const r=t>0?o.Z:s.Z,p=(0,c.Z)(Math.abs(t),{notation:"compact",compactDisplay:"short"});return h().createElement("div",{className:u()(f.Z["contextual-percentage-change"],{[f.Z.neutral]:0===t,[f.Z.positive]:t>0,[f.Z.negative]:t<0})},!!t&&h().createElement(l.Z,{icon:r,size:14,className:f.Z["change-icon"]}),h().createElement(a.ZP,{className:f.Z["change-values"]},(0,i.sprintf)(/* translators: both placeholders are numbers */ +__("%1$s (%2$s%%)","jetpack-my-jetpack"),p,n)))};y.propTypes={change:m().number,changePercentage:m().number};const k=e=>{let{description:t,value:n,context:c,loading:i}=e;return i?h().createElement("div",{className:f.Z["single-contextual-info-placeholder"]},h().createElement(r.Z,{height:24}),h().createElement(r.Z,{height:36})):h().createElement(h().Fragment,null,h().createElement(a.ZP,null,t),h().createElement("div",{className:f.Z["single-contextual-info"]},h().createElement(a.ZP,{className:f.Z["main-value"]},n),c))};k.propTypes={description:m().string.isRequired,value:m().string,context:m().node,loading:m().bool}},5996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"crm"})};s.propTypes={admin:a().bool.isRequired};const l=s},5943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(3363),a=n(3846),r=n(9196),i=n.n(r),o=n(8777),s=n(1640),l=n(401),p=n(4074),u=n(5996),d=n(5440),m=n(687),g=n(419),h=n(6217),f=n(523),y=n(9894);const{showJetpackStatsCard:k=!1}=window.myJetpackInitialState?.myJetpackFlags??{},v=()=>{const e=[l.Z,d.Z,s.Z,p.Z,m.Z,y.Z,u.Z,g.Z,o.Z];return k&&e.splice(6,0,h.Z),i().createElement(c.Z,{className:f.Z.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},e.map(((e,t)=>i().createElement(a.Z,{tagName:"li",sm:4,md:4,lg:4,key:t},i().createElement(e,{admin:!!window?.myJetpackInitialState?.userIsAdmin})))))}},5440:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9818),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(7493),l=n(5745);const p=e=>{let{admin:t}=e;const n=(0,c.useSelect)((e=>e(s.t).hasStandalonePluginInstalled()));return o().createElement(l.Z,{admin:t,slug:n?"protect":"scan"})};p.propTypes={admin:r().bool.isRequired};const u=p},687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"search",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"social",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},6217:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"stats",showMenu:!0})};s.propTypes={admin:a().bool.isRequired};const l=s},9894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2947),a=n(5736),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(3703),p=n(5745),u=n(8112);const __=a.__,d=e=>{let{admin:t}=e;const{videoPressStats:n=!1}=window.myJetpackInitialState?.myJetpackFlags??{},{loading:a,hasError:r,change:i,currentFormatted:o,changePercentage:d}=(()=>{const{stats:e}=(0,l.i)("videopress"),t=void 0===e,n=null===e,a=e?.data?.views??{},{previous:r=null,current:i=null}=a,o=null!==i?(0,c.Z)(i,{notation:"compact",compactDisplay:"short"}):null,s=null!==i&&null!==r?i-r:null;let p=null;return null!==s&&(p=0===s?0:0===r?100:Math.round(s/r*100)),{loading:t,hasError:n,currentFormatted:o,change:s,changePercentage:p}})();if(!n||r)return s().createElement(p.Z,{admin:t,slug:"videopress",showMenu:!0});const m=__("Views, last 7 days","jetpack-my-jetpack");return s().createElement(p.Z,{admin:t,slug:"videopress",showMenu:!0},s().createElement(u.G,{loading:a,description:m,value:o,context:s().createElement(u.X,{change:i,changePercentage:d})}))};d.propTypes={admin:i().bool.isRequired};const m=d},2667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5609),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i);const s=e=>{let{children:t,className:n,href:a,isLoading:r,onClick:i,isPrimary:s,disabled:l}=e;return o().createElement(c.Button,{onClick:i,className:n,href:a,variant:s?"primary":"secondary",disabled:r||l},r?o().createElement(c.Spinner,null):t)};s.propTypes={className:r().string,isLoading:r().bool,isPrimary:r().bool,disabled:r().bool},s.defaultProps={isLoading:!1,isPrimary:!0,disabled:!1};const l=s},968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var c=n(8899),a=n(5106),r=n(3396),i=n(4972),o=n(7325),s=n(8258),l=n(5609),p=n(5736),u=n(1074),d=n(1908),m=n(9201),g=n(5235),h=n.n(g),f=n(9196),y=n.n(f),k=n(2199),v=n(3703),E=n(2667),b=n(8429);const __=p.__;function j(e){let{value:t,currency:n,isOld:r}=e;if(!t||!n)return null;const i=(0,c.LR)(t,n),o=h()(b.Z.price,{[b.Z["is-old"]]:r});return y().createElement(a.ZP,{className:o,variant:"headline-medium",component:"p"},y().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.symbol),i.integer,y().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.fraction))}const _=e=>{let{slug:t,onClick:n,trackButtonClick:c,className:g,preferProductName:_,supportingInfo:w}=e;const{fileSystemWriteAccess:C,siteSuffix:Z,myJetpackUrl:N}=window?.myJetpackInitialState??{},{detail:S,isFetching:P}=(0,v.i)(t),{name:R,title:I,longDescription:A,features:x,disclaimers:L,pricingForUi:T,isBundle:U,supportedProducts:F,hasRequiredPlan:O,status:z,pluginSlug:M,postCheckoutUrl:D}=S,V="plugin_absent"===z&&"no"===C,{isFree:B,trialAvailable:H,fullPricePerMonth:J,currencyCode:q,discountPricePerMonth:G,wpcomProductSlug:W,wpcomFreeProductSlug:$,introductoryOffer:K,productTerm:Q}=T,{recordEvent:Y}=(0,k.Z)(),X=!B&&!O,ee=D||N,{run:te,hasCheckoutStarted:ne}=(0,s.Z)({productSlug:W,redirectUrl:ee,siteSuffix:Z,from:"my-jetpack"}),{run:ce,hasCheckoutStarted:ae}=(0,s.Z)({productSlug:$,redirectUrl:N,siteSuffix:Z,from:"my-jetpack"}),re=U?F.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return y().createElement(u.Z,{className:b.Z["plus-icon"],key:`icon-plugs${t}`,icon:d.Z,size:14});const n=(0,r.VS)(e);return y().createElement(n,{key:e,size:24})})):null;let ie;ie="month"===K?.intervalUnit&&1===K?.intervalCount?(0,p.sprintf)( // translators: %s is the monthly price for a product __("trial for the first month, then $%s /month, billed yearly","jetpack-my-jetpack"),J):"year"===Q?__("/month, paid yearly","jetpack-my-jetpack"):__("/month","jetpack-my-jetpack",0);const oe=(0,f.useCallback)((()=>{c(),n?.(te,S)}),[n,c,te,S]),se=(0,f.useCallback)((()=>{c($),n?.(ce)}),[n,c,ce,$]),le=(0,f.useCallback)((e=>{Y("jetpack_myjetpack_product_card_disclaimer_click",{id:e,product:t})}),[t,Y]);function pe(e){let{slug:t}=e;const n=(0,r.VS)(t);return n?y().createElement("div",{className:b.Z["product-icon"]},y().createElement(n,null)):null}const ue=(!U||U&&!O)&&H,de=R&&_?R:I,me=!U&&O?(0,p.sprintf)(/* translators: placeholder is product name. */ __("Install %s","jetpack-my-jetpack"),de):(0,p.sprintf)(/* translators: placeholder is product name. */ -__("Get %s","jetpack-my-jetpack"),de);return y().createElement("div",{className:h()(b.Z.card,g,{[b.Z["is-bundle-card"]]:U})},U&&y().createElement("div",{className:b.Z["card-header"]},y().createElement(r.r7,{className:b.Z["product-bundle-icon"],size:16}),y().createElement(a.ZP,{variant:"label"},__("Popular upgrade","jetpack-my-jetpack"))),y().createElement("div",{className:b.Z.container},U&&y().createElement("div",{className:b.Z["product-bundle-icons"]},re),y().createElement(pe,{slug:t}),y().createElement(a.H3,null,de),y().createElement(a.ZP,{mb:3},x),y().createElement("ul",{className:b.Z.features},A.map(((e,t)=>y().createElement(a.ZP,{component:"li",key:`feature-${t}`,variant:"body"},y().createElement(u.Z,{icon:m.Z,size:24}),e)))),X&&y().createElement(y().Fragment,null,y().createElement("div",{className:b.Z["price-container"]},Gy().createElement(a.ZP,{component:"li",key:`feature-${t}`,variant:"body"},y().createElement(u.Z,{icon:m.Z,size:24}),e)))),X&&y().createElement(y().Fragment,null,y().createElement("div",{className:b.Z["price-container"]},G0&&y().createElement("div",{className:b.Z.disclaimers},L.map(((e,t)=>{const{text:n,link_text:c=null,url:r=null}=e;return y().createElement(a.ZP,{key:`disclaimer-${t}`,component:"p",variant:"body-small"},`${n} `,r&&c&&y().createElement(l.ExternalLink,{onClick:()=>le(t),href:r,target:"_blank",rel:"noopener noreferrer"},c))}))),U&&O&&y().createElement("div",{className:b.Z["product-has-required-plan"]},y().createElement(r.KM,{size:36}),y().createElement(a.ZP,null,__("Active on your site","jetpack-my-jetpack"))),w&&y().createElement(a.ZP,{className:b.Z["supporting-info"],variant:"body-extra-small"},w)))};_.defaultProps={trackButtonClick:()=>{}};const w=_},9144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(9608),a=n(5347),r=n(526),i=n(1342),o=n(5106),s=n(8258),l=n(5736),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),g=n(3703);const __=l.__,h=e=>{let{cantInstallPlugin:t,onProductButtonClick:n,detail:i,tier:o,trackProductButtonClick:p}=e;const{siteSuffix:u,myJetpackUrl:g}=window?.myJetpackInitialState??{},{featuresByTier:h=[],pricingForUi:{tiers:f},title:y,postActivationUrl:v}=i,{callToAction:k,currencyCode:E,fullPrice:b,introductoryOffer:j,isFree:_,wpcomProductSlug:w}=f[o],{run:C,hasCheckoutStarted:Z}=(0,s.Z)({from:"my-jetpack",productSlug:w,redirectUrl:v||g,siteSuffix:u}),N=(0,d.useCallback)((()=>{p(),n?.(C,i,o)}),[p,n,C,i,o]),S=b?Math.ceil(b/12*100)/100:null,P=j?.costPerInterval?Math.ceil(j.costPerInterval/12*100)/100:null,R="month"===j?.intervalUnit&&1===j?.intervalCount,I=R?(0,l.sprintf)( +__("%s or Start for free","jetpack-my-jetpack"),me):me})),(!U||U&&!O)&&y().createElement(a.ZP,{component:E.Z,onClick:oe,isLoading:P||ne,disabled:V,isPrimary:!U,className:b.Z["checkout-button"],variant:"body"},me),!U&&H&&!O&&y().createElement(a.ZP,{component:E.Z,onClick:se,isLoading:P||ae,disabled:V,isPrimary:!1,className:[b.Z["checkout-button"],b.Z["free-product-checkout-button"]],variant:"body"},__("Start for free","jetpack-my-jetpack")),L.length>0&&y().createElement("div",{className:b.Z.disclaimers},L.map(((e,t)=>{const{text:n,link_text:c=null,url:r=null}=e;return y().createElement(a.ZP,{key:`disclaimer-${t}`,component:"p",variant:"body-small"},`${n} `,r&&c&&y().createElement(l.ExternalLink,{onClick:()=>le(t),href:r,target:"_blank",rel:"noopener noreferrer"},c))}))),U&&O&&y().createElement("div",{className:b.Z["product-has-required-plan"]},y().createElement(r.KM,{size:36}),y().createElement(a.ZP,null,__("Active on your site","jetpack-my-jetpack"))),w&&y().createElement(a.ZP,{className:b.Z["supporting-info"],variant:"body-extra-small"},w)))};_.defaultProps={trackButtonClick:()=>{}};const w=_},9144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(9608),a=n(5347),r=n(526),i=n(1342),o=n(5106),s=n(8258),l=n(5736),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),g=n(3703);const __=l.__,h=e=>{let{cantInstallPlugin:t,onProductButtonClick:n,detail:i,tier:o,trackProductButtonClick:p}=e;const{siteSuffix:u,myJetpackUrl:g}=window?.myJetpackInitialState??{},{featuresByTier:h=[],pricingForUi:{tiers:f},title:y,postActivationUrl:k}=i,{callToAction:v,currencyCode:E,fullPrice:b,introductoryOffer:j,isFree:_,wpcomProductSlug:w}=f[o],{run:C,hasCheckoutStarted:Z}=(0,s.Z)({from:"my-jetpack",productSlug:w,redirectUrl:k||g,siteSuffix:u}),N=(0,d.useCallback)((()=>{p(),n?.(C,i,o)}),[p,n,C,i,o]),S=b?Math.ceil(b/12*100)/100:null,P=j?.costPerInterval?Math.ceil(j.costPerInterval/12*100)/100:null,R="month"===j?.intervalUnit&&1===j?.intervalCount,I=R?(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"),S):__("/month, paid yearly","jetpack-my-jetpack",0),x=k||(_?__("Start for Free","jetpack-my-jetpack"):(0,l.sprintf)(/* translators: placeholder is product name. */ -__("Get %s","jetpack-my-jetpack"),y,0));return m().createElement(c.oK,{primary:!_},m().createElement(c.NE,null,_?m().createElement(a.Z,{price:0,legend:"",currency:"USD",hidePriceFraction:!0}):m().createElement(a.Z,{price:S,offPrice:P,legend:I,currency:E,hideDiscountLabel:R,hidePriceFraction:!0}),m().createElement(r.Z,{fullWidth:!0,variant:_?"secondary":"primary",onClick:N,isLoading:Z,disabled:Z||t},x)),h.map(((e,t)=>{const{included:n,description:a,struck_description:r,info:i}=e.tiers[o],s=r||a?m().createElement(m().Fragment,null,r?m().createElement(m().Fragment,null,m().createElement("del",null,r)," "):null,a?m().createElement("strong",null,a):null):null;return m().createElement(c.kF,{key:t,isIncluded:n,label:s,tooltipTitle:i?.title,tooltipInfo:i?.content?m().createElement("div",{dangerouslySetInnerHTML:{__html:i?.content}}):null,tooltipClassName:i?.class})})))};h.propTypes={cantInstallPlugin:u().bool.isRequired,onProductButtonClick:u().func.isRequired,detail:u().object.isRequired,tier:u().string.isRequired,trackProductButtonClick:u().func.isRequired};const f=e=>{let{slug:t,onProductButtonClick:n,trackProductButtonClick:a}=e;const{fileSystemWriteAccess:s}=window?.myJetpackInitialState??{},{detail:p}=(0,g.i)(t),{description:u,featuresByTier:f=[],pluginSlug:y,status:v,tiers:k=[],title:E}=p,b="plugin_absent"===v&&"no"===s,j=b&&m().createElement(i.Z,{level:"error",hideCloseButton:!0,title:m().createElement(o.ZP,null,(0,l.sprintf)( +__("trial for the first month, then $%s /month, billed yearly","jetpack-my-jetpack"),S):__("/month, paid yearly","jetpack-my-jetpack",0),A=v||(_?__("Start for Free","jetpack-my-jetpack"):(0,l.sprintf)(/* translators: placeholder is product name. */ +__("Get %s","jetpack-my-jetpack"),y,0));return m().createElement(c.oK,{primary:!_},m().createElement(c.NE,null,_?m().createElement(a.Z,{price:0,legend:"",currency:"USD",hidePriceFraction:!0}):m().createElement(a.Z,{price:S,offPrice:P,legend:I,currency:E,hideDiscountLabel:R,hidePriceFraction:!0}),m().createElement(r.Z,{fullWidth:!0,variant:_?"secondary":"primary",onClick:N,isLoading:Z,disabled:Z||t},A)),h.map(((e,t)=>{const{included:n,description:a,struck_description:r,info:i}=e.tiers[o],s=r||a?m().createElement(m().Fragment,null,r?m().createElement(m().Fragment,null,m().createElement("del",null,r)," "):null,a?m().createElement("strong",null,a):null):null;return m().createElement(c.kF,{key:t,isIncluded:n,label:s,tooltipTitle:i?.title,tooltipInfo:i?.content?m().createElement("div",{dangerouslySetInnerHTML:{__html:i?.content}}):null,tooltipClassName:i?.class})})))};h.propTypes={cantInstallPlugin:u().bool.isRequired,onProductButtonClick:u().func.isRequired,detail:u().object.isRequired,tier:u().string.isRequired,trackProductButtonClick:u().func.isRequired};const f=e=>{let{slug:t,onProductButtonClick:n,trackProductButtonClick:a}=e;const{fileSystemWriteAccess:s}=window?.myJetpackInitialState??{},{detail:p}=(0,g.i)(t),{description:u,featuresByTier:f=[],pluginSlug:y,status:k,tiers:v=[],title:E}=p,b="plugin_absent"===k&&"no"===s,j=b&&m().createElement(i.Z,{level:"error",hideCloseButton:!0,title:m().createElement(o.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"),E)),actions:[m().createElement(r.Z,{variant:"secondary",href:`https://wordpress.org/plugins/${y}`,isExternalLink:!0},__("Get plugin","jetpack-my-jetpack"))]}),_=(0,d.useMemo)((()=>f.map((e=>({name:e?.name,tooltipTitle:e?.info?.title,tooltipInfo:e?.info?.content?m().createElement("div",{dangerouslySetInnerHTML:{__html:e?.info?.content}}):null})))),[f]);return m().createElement(m().Fragment,null,j,m().createElement(c.ZP,{title:u,items:_},k.map(((e,t)=>m().createElement(h,{key:t,tier:e,detail:p,onProductButtonClick:n,trackProductButtonClick:a,primary:0===t,cantInstallPlugin:b})))))};f.propTypes={slug:u().string.isRequired,onProductButtonClick:u().func.isRequired,trackProductButtonClick:u().func.isRequired};const y=f},8093:(e,t,n)=>{"use strict";n.d(t,{B$:()=>I,Jw:()=>O,Q5:()=>T,WJ:()=>R,Yi:()=>x,jO:()=>L,q:()=>S,qA:()=>P,sI:()=>A,uw:()=>F,y$:()=>U});var c=n(9105),a=n(3363),r=n(3846),i=n(5106),o=n(526),s=n(9307),l=n(5736),p=n(5235),u=n.n(p),d=n(9196),m=n.n(d),g=n(2199),h=n(3345),f=n(3703),y=n(5626),v=n(968),k=n(9144),E=n(5610),b=n(4763),j=n(2605),_=n(1488),w=n(720),C=n(1287),Z=n(1439);const __=l.__;function N(e){let{bundle:t,existingLicenseKeyUrl:n="admin.php?page=my-jetpack#/add-license",installsPlugin:l=!1,slug:p,supportingInfo:E,preferProductName:b=!1,children:j=null,imageContainerClassName:_=""}=e;const{activate:w,detail:Z}=(0,f.i)(p),{isUpgradableByBundle:N,tiers:S}=Z,{recordEvent:P}=(0,g.Z)();(0,d.useEffect)((()=>{P("jetpack_myjetpack_product_interstitial_view",{product:p})}),[P,p]);const R=(0,d.useCallback)((function(){P("jetpack_myjetpack_product_interstitial_add_link_click",{product:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)??p})}),[P,p]),I=(0,d.useCallback)((()=>{P("jetpack_myjetpack_product_interstitial_add_link_click",{product:t})}),[P,t]),x=(0,h.Z)("/"),A=(0,d.useCallback)(((e,t,n)=>{(t?.isBundle?Promise.resolve():w()).finally((()=>{if(t?.isBundle)return void e?.();const c=t?.postActivationUrl,a=n?t?.hasRequiredTier?.[n]:t?.hasRequiredPlan;if(!(!(n?t?.pricingForUi?.tiers?.[n]?.isFree:t?.pricingForUi?.isFree)&&!a))return c?void(window.location.href=c):x();e?.()}))}),[x,w]),L=(0,d.useCallback)((e=>{p&&P("jetpack_myjetpack_product_interstitial_back_link_click",{product:p}),document.referrer.includes(window.location.host)&&(e.preventDefault(),history.back())}),[P,p]);return m().createElement(c.Z,{showHeader:!1,showBackground:!1},m().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},m().createElement(r.Z,{className:C.Z["product-interstitial__header"]},m().createElement(y.Z,{onClick:L}),n&&m().createElement(i.ZP,{variant:"body-small"},(0,s.createInterpolateElement)(__("Already have an existing plan or license key? Get started.","jetpack-my-jetpack"),{a:m().createElement(o.Z,{className:C.Z["product-interstitial__license-activation-link"],href:n,variant:"link"})}))),m().createElement(r.Z,null,S&&S.length?m().createElement(k.Z,{slug:p,clickHandler:A,onProductButtonClick:A,trackProductButtonClick:R}):m().createElement(a.Z,{className:N?null:C.Z.container,horizontalSpacing:0,horizontalGap:0,fluid:!0},m().createElement(r.Z,{sm:4,md:4,lg:7},m().createElement(v.Z,{slug:p,trackButtonClick:R,onClick:l?A:void 0,className:N?C.Z.container:null,supportingInfo:E,preferProductName:b})),m().createElement(r.Z,{sm:4,md:4,lg:5,className:u()(C.Z.imageContainer,_)},t?m().createElement(v.Z,{slug:t,trackButtonClick:I,onClick:A,className:N?C.Z.container:null}):j)))))}function S(){const e="anti-spam",{detail:t}=(0,f.i)(e),{isPluginActive:n}=t;return m().createElement(N,{slug:e,installsPlugin:!0,bundle:"security",existingLicenseKeyUrl:n?"admin.php?page=akismet-key-config":null,preferProductName:!0})}function P(){return m().createElement(N,{slug:"backup",installsPlugin:!0,bundle:"security"})}function R(){return m().createElement(N,{slug:"boost",installsPlugin:!0},m().createElement("img",{src:E,alt:"Boost"}))}function I(){return m().createElement(N,{slug:"crm",installsPlugin:!0},m().createElement("img",{src:b,alt:"CRM"}))}function x(){return m().createElement(N,{slug:"extras",installsPlugin:!0},m().createElement("img",{src:j,alt:"Extras"}))}function A(){return m().createElement(N,{slug:"jetpack-ai",installsPlugin:!0,imageContainerClassName:C.Z.aiImageContainer},m().createElement("img",{src:_,alt:"Jetpack AI"}))}function L(){return m().createElement(N,{slug:"protect",installsPlugin:!0})}function T(){return m().createElement(N,{slug:"scan",installsPlugin:!0,bundle:"security"})}function U(){return m().createElement(N,{slug:"social",installsPlugin:!0})}function F(){const{detail:e}=(0,f.i)("search");return m().createElement(N,{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")},m().createElement("img",{src:w,alt:"Search"}))}function O(){return m().createElement(N,{slug:"videopress",installsPlugin:!0},m().createElement("img",{src:Z,alt:"VideoPress"}))}},673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(1294),a=n(3281),r=n(5736),i=n(9196),o=n.n(i),s=n(1750),l=n(6986);const __=r.__;function p(){const{userConnectionData:e}=(0,c.Z)(),t=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isFetchingPurchases:n,purchases:r}=(0,s.Z)(),i=(0,l.o)(r);return n?o().createElement(o().Fragment,null,__("Checking gold status…","jetpack-my-jetpack")):o().createElement(o().Fragment,null,o().createElement(a.H,{tokenRedeemed:i,displayName:t}))}},8565:(e,t,n)=>{"use strict";n.d(t,{f6:()=>a,w6:()=>c});const c="my-jetpack-my-plans-manage",a="my-jetpack-my-plans-purchase"},2199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6975),a=n(9196),r=n(1689);const i=()=>{const{isUserConnected:e,connectedPlugins:t,userConnectionData:n={}}=(0,r.Z)(),{login:i,ID:o}=n.currentUser?.wpcomUser||{};(0,a.useEffect)((()=>{e&&o&&i&&c.Z.initialize(o,i)}),[o,e,i]);const s=Object.keys(t||{}).sort().join(",").replaceAll("jetpack-",""),{clearedIdentity:l,ga:p,mc:u,pageView:d,purchase:m,setGoogleAnalyticsEnabled:g,setMcAnalyticsEnabled:h,setProperties:f,tracks:y}=c.Z;return{clearedIdentity:l,ga:p,mc:u,pageView:d,purchase:m,recordEvent:(0,a.useCallback)(((e,t)=>{y.recordEvent(e,{...t,version:window?.myJetpackInitialState?.myJetpackVersion,referring_plugins:s})}),[]),setGoogleAnalyticsEnabled:g,setMcAnalyticsEnabled:h,setProperties:f,tracks:y}}},4106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){return{availableLicenses:(0,c.useSelect)((e=>e(a.t).getAvailableLicenses())),fetchingAvailableLicenses:(0,c.useSelect)((e=>e(a.t).isFetchingAvailableLicenses()))}}},6913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{jwt:e,isFetchingChatAuthentication:t}=(0,c.useSelect)((e=>{const{getChatAuthentication:t,isRequestingChatAuthentication:n}=e(a.t);return{jwt:t(),isFetchingChatAuthentication:n()}}));return{jwt:e,isFetchingChatAuthentication:t}}},8869:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{isAvailable:e,isFetchingChatAvailability:t}=(0,c.useSelect)((e=>{const{getChatAvailability:t,isRequestingChatAvailability:n}=e(a.t);return{isAvailable:t(),isFetchingChatAvailability:n()}}));return{isAvailable:e,isFetchingChatAvailability:t}}},5371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9818),a=n(5736),r=n(9196),i=n(7493),o=n(1689),s=n(3345);const __=a.__;function l(){const e=(0,s.Z)("/connection"),{setGlobalNotice:t}=(0,c.useDispatch)(i.t),n=(0,c.useSelect)((e=>e(i.t).getProductsThatRequiresUserConnection())),{isSiteConnected:l,hasConnectedOwner:p,isUserConnected:u}=(0,o.Z)(),d=!p&&!u&&n.length>0,m=(0,a.sprintf)(/* translators: placeholder is product name. */ -__("Jetpack %s needs a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),n[0]),g=n.length>1?__("Some products need a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"):m,h=__("Some products need a connection to WordPress.com to be able to work.","jetpack-my-jetpack");(0,r.useEffect)((()=>{l?d&&t(g,{status:"error",actions:[{label:__("Connect your user account to fix this","jetpack-my-jetpack"),onClick:e,noDefaultClasses:!0}]}):t(h,{status:"warning",actions:[{label:__("Connect your site to fix this","jetpack-my-jetpack"),onClick:e,variant:"link",noDefaultClasses:!0}]})}),[l,h,g,d,e,t])}},1689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(1294);function a(){const{apiRoot:e,apiNonce:t}=myJetpackRest,{topJetpackMenuItemUrl:n}=myJetpackInitialState,a=(0,c.Z)({apiRoot:e,apiNonce:t}),r=a.isRegistered;return{apiNonce:t,apiRoot:e,...a,isSiteConnected:r,topJetpackMenuItemUrl:n}}},3345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n(6417);function r(e){const t=(0,a.s0)();return(0,c.useCallback)((()=>t(e)),[t,e])}},5031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const e=(0,c.useDispatch)(),{message:t,options:n}=(0,c.useSelect)((e=>e(a.t).getGlobalNotice()));return{message:t,options:n||{},clean:()=>e(a.t).cleanGlobalNotice()}}},3703:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var c=n(9818),a=n(7493);function r(e){const{activateProduct:t,deactivateProduct:n,installStandalonePluginForProduct:r,deactivateStandalonePluginForProduct:i}=(0,c.useDispatch)(a.t),o=(0,c.useSelect)((t=>t(a.t).getProduct(e)));return{activate:()=>t(e),deactivate:()=>n(e),deactivateStandalonePlugin:()=>i(e),installStandalonePlugin:()=>r(e),productsList:(0,c.useSelect)((e=>e(a.t).getProducts())),detail:o,isActive:"active"===o.status,isFetching:(0,c.useSelect)((t=>t(a.t).isFetching(e))),stats:(0,c.useSelect)((t=>t(a.t).getProductStats(e)))}}},1750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{purchases:e,isFetchingPurchases:t}=(0,c.useSelect)((e=>{const{getPurchases:t,isRequestingPurchases:n}=e(a.t);return{purchases:t(),isFetchingPurchases:n()}}));return{purchases:e,isFetchingPurchases:t}}},9274:(e,t,n)=>{"use strict";n.d(t,{GH:()=>u,IF:()=>y,JU:()=>_,N:()=>E,Np:()=>d,RT:()=>s,SK:()=>w,ZP:()=>I,cL:()=>k,d1:()=>b,dE:()=>h,dI:()=>g,dq:()=>f,fE:()=>j,kk:()=>v,ny:()=>l,vv:()=>m,z8:()=>p});var c=n(428),a=n(6989),r=n.n(a),i=n(5736),o=n(2086);const __=i.__,s="SET_PURCHASES_IS_FETCHING",l="FETCH_PURCHASES",p="SET_PURCHASES",u="SET_AVAILABLE_LICENSES_IS_FETCHING",d="SET_AVAILABLE_LICENSES",m="SET_IS_FETCHING_PRODUCT",g="SET_PRODUCT",h="SET_PRODUCT_REQUEST_ERROR",f="SET_PRODUCT_STATUS",y="SET_CHAT_AVAILABILITY_IS_FETCHING",v="SET_CHAT_AVAILABILITY",k="SET_CHAT_AUTHENTICATION_IS_FETCHING",E="SET_CHAT_AUTHENTICATION",b="SET_GLOBAL_NOTICE",j="CLEAN_GLOBAL_NOTICE",_="SET_PRODUCT_STATS",w="SET_IS_FETCHING_PRODUCT_STATS",C=e=>({type:g,product:e}),Z=(e,t)=>({type:h,productId:e,error:t}),N=(e,t)=>({type:"SET_GLOBAL_NOTICE",message:e,options:t});function S(e,t){return{type:m,productId:e,isFetching:t}}function P(e,t,n){let{select:a,dispatch:s,registry:l}=n;return new Promise(((n,p)=>{if(!a.isValidProduct(e)){const t=__("Invalid product name","jetpack-my-jetpack"),n=new Error(t);return s(Z(e,n)),s(N(t,{status:"error",isDismissible:!0})),void p(n)}const u=t.activate?"POST":"DELETE";return s(S(e,!0)),r()({path:`${o.Jk}/${e}`,method:u}).then((t=>{s(S(e,!1)),s(C(t)),l.dispatch(c.t).refreshConnectedPlugins(),n(t?.status)})).catch((t=>{const{name:n}=a.getProduct(e),c=(0,i.sprintf)( +__("Due to your server settings, we can't automatically install the plugin for you. Please manually install the %s plugin.","jetpack-my-jetpack"),E)),actions:[m().createElement(r.Z,{variant:"secondary",href:`https://wordpress.org/plugins/${y}`,isExternalLink:!0},__("Get plugin","jetpack-my-jetpack"))]}),_=(0,d.useMemo)((()=>f.map((e=>({name:e?.name,tooltipTitle:e?.info?.title,tooltipInfo:e?.info?.content?m().createElement("div",{dangerouslySetInnerHTML:{__html:e?.info?.content}}):null})))),[f]);return m().createElement(m().Fragment,null,j,m().createElement(c.ZP,{title:u,items:_},v.map(((e,t)=>m().createElement(h,{key:t,tier:e,detail:p,onProductButtonClick:n,trackProductButtonClick:a,primary:0===t,cantInstallPlugin:b})))))};f.propTypes={slug:u().string.isRequired,onProductButtonClick:u().func.isRequired,trackProductButtonClick:u().func.isRequired};const y=f},8093:(e,t,n)=>{"use strict";n.d(t,{B$:()=>I,Jw:()=>O,Q5:()=>T,WJ:()=>R,Yi:()=>A,jO:()=>L,q:()=>S,qA:()=>P,sI:()=>x,uw:()=>F,y$:()=>U});var c=n(9105),a=n(3363),r=n(3846),i=n(5106),o=n(526),s=n(9307),l=n(5736),p=n(5235),u=n.n(p),d=n(9196),m=n.n(d),g=n(2199),h=n(3345),f=n(3703),y=n(5626),k=n(968),v=n(9144),E=n(5610),b=n(4763),j=n(2605),_=n(1488),w=n(720),C=n(1287),Z=n(1439);const __=l.__;function N(e){let{bundle:t,existingLicenseKeyUrl:n="admin.php?page=my-jetpack#/add-license",installsPlugin:l=!1,slug:p,supportingInfo:E,preferProductName:b=!1,children:j=null,imageContainerClassName:_=""}=e;const{activate:w,detail:Z}=(0,f.i)(p),{isUpgradableByBundle:N,tiers:S}=Z,{recordEvent:P}=(0,g.Z)();(0,d.useEffect)((()=>{P("jetpack_myjetpack_product_interstitial_view",{product:p})}),[P,p]);const R=(0,d.useCallback)((function(){P("jetpack_myjetpack_product_interstitial_add_link_click",{product:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)??p})}),[P,p]),I=(0,d.useCallback)((()=>{P("jetpack_myjetpack_product_interstitial_add_link_click",{product:t})}),[P,t]),A=(0,h.Z)("/"),x=(0,d.useCallback)(((e,t,n)=>{(t?.isBundle?Promise.resolve():w()).finally((()=>{if(t?.isBundle)return void e?.();const c=t?.postActivationUrl,a=n?t?.hasRequiredTier?.[n]:t?.hasRequiredPlan;if(!(!(n?t?.pricingForUi?.tiers?.[n]?.isFree:t?.pricingForUi?.isFree)&&!a))return c?void(window.location.href=c):A();e?.()}))}),[A,w]),L=(0,d.useCallback)((e=>{p&&P("jetpack_myjetpack_product_interstitial_back_link_click",{product:p}),document.referrer.includes(window.location.host)&&(e.preventDefault(),history.back())}),[P,p]);return m().createElement(c.Z,{showHeader:!1,showBackground:!1},m().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},m().createElement(r.Z,{className:C.Z["product-interstitial__header"]},m().createElement(y.Z,{onClick:L}),n&&m().createElement(i.ZP,{variant:"body-small"},(0,s.createInterpolateElement)(__("Already have an existing plan or license key? Get started.","jetpack-my-jetpack"),{a:m().createElement(o.Z,{className:C.Z["product-interstitial__license-activation-link"],href:n,variant:"link"})}))),m().createElement(r.Z,null,S&&S.length?m().createElement(v.Z,{slug:p,clickHandler:x,onProductButtonClick:x,trackProductButtonClick:R}):m().createElement(a.Z,{className:N?null:C.Z.container,horizontalSpacing:0,horizontalGap:0,fluid:!0},m().createElement(r.Z,{sm:4,md:4,lg:7},m().createElement(k.Z,{slug:p,trackButtonClick:R,onClick:l?x:void 0,className:N?C.Z.container:null,supportingInfo:E,preferProductName:b})),m().createElement(r.Z,{sm:4,md:4,lg:5,className:u()(C.Z.imageContainer,_)},t?m().createElement(k.Z,{slug:t,trackButtonClick:I,onClick:x,className:N?C.Z.container:null}):j)))))}function S(){const e="anti-spam",{detail:t}=(0,f.i)(e),{isPluginActive:n}=t;return m().createElement(N,{slug:e,installsPlugin:!0,bundle:"security",existingLicenseKeyUrl:n?"admin.php?page=akismet-key-config":null,preferProductName:!0})}function P(){return m().createElement(N,{slug:"backup",installsPlugin:!0,bundle:"security"})}function R(){return m().createElement(N,{slug:"boost",installsPlugin:!0},m().createElement("img",{src:E,alt:"Boost"}))}function I(){return m().createElement(N,{slug:"crm",installsPlugin:!0},m().createElement("img",{src:b,alt:"CRM"}))}function A(){return m().createElement(N,{slug:"extras",installsPlugin:!0},m().createElement("img",{src:j,alt:"Extras"}))}function x(){return m().createElement(N,{slug:"jetpack-ai",installsPlugin:!0,imageContainerClassName:C.Z.aiImageContainer},m().createElement("img",{src:_,alt:"Jetpack AI"}))}function L(){return m().createElement(N,{slug:"protect",installsPlugin:!0})}function T(){return m().createElement(N,{slug:"scan",installsPlugin:!0,bundle:"security"})}function U(){return m().createElement(N,{slug:"social",installsPlugin:!0})}function F(){const{detail:e}=(0,f.i)("search");return m().createElement(N,{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")},m().createElement("img",{src:w,alt:"Search"}))}function O(){return m().createElement(N,{slug:"videopress",installsPlugin:!0},m().createElement("img",{src:Z,alt:"VideoPress"}))}},673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(1294),a=n(3281),r=n(5736),i=n(9196),o=n.n(i),s=n(1750),l=n(6986);const __=r.__;function p(){const{userConnectionData:e}=(0,c.Z)(),t=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isFetchingPurchases:n,purchases:r}=(0,s.Z)(),i=(0,l.o)(r);return n?o().createElement(o().Fragment,null,__("Checking gold status…","jetpack-my-jetpack")):o().createElement(o().Fragment,null,o().createElement(a.H,{tokenRedeemed:i,displayName:t}))}},8565:(e,t,n)=>{"use strict";n.d(t,{f6:()=>a,w6:()=>c});const c="my-jetpack-my-plans-manage",a="my-jetpack-my-plans-purchase"},2199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6975),a=n(9196),r=n(1689);const i=()=>{const{isUserConnected:e,connectedPlugins:t,userConnectionData:n={}}=(0,r.Z)(),{login:i,ID:o}=n.currentUser?.wpcomUser||{};(0,a.useEffect)((()=>{e&&o&&i&&c.Z.initialize(o,i)}),[o,e,i]);const s=Object.keys(t||{}).sort().join(",").replaceAll("jetpack-",""),{clearedIdentity:l,ga:p,mc:u,pageView:d,purchase:m,setGoogleAnalyticsEnabled:g,setMcAnalyticsEnabled:h,setProperties:f,tracks:y}=c.Z;return{clearedIdentity:l,ga:p,mc:u,pageView:d,purchase:m,recordEvent:(0,a.useCallback)(((e,t)=>{y.recordEvent(e,{...t,version:window?.myJetpackInitialState?.myJetpackVersion,referring_plugins:s})}),[]),setGoogleAnalyticsEnabled:g,setMcAnalyticsEnabled:h,setProperties:f,tracks:y}}},4106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){return{availableLicenses:(0,c.useSelect)((e=>e(a.t).getAvailableLicenses())),fetchingAvailableLicenses:(0,c.useSelect)((e=>e(a.t).isFetchingAvailableLicenses()))}}},6913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{jwt:e,isFetchingChatAuthentication:t}=(0,c.useSelect)((e=>{const{getChatAuthentication:t,isRequestingChatAuthentication:n}=e(a.t);return{jwt:t(),isFetchingChatAuthentication:n()}}));return{jwt:e,isFetchingChatAuthentication:t}}},8869:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{isAvailable:e,isFetchingChatAvailability:t}=(0,c.useSelect)((e=>{const{getChatAvailability:t,isRequestingChatAvailability:n}=e(a.t);return{isAvailable:t(),isFetchingChatAvailability:n()}}));return{isAvailable:e,isFetchingChatAvailability:t}}},5371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9818),a=n(5736),r=n(9196),i=n(7493),o=n(1689),s=n(3345);const __=a.__;function l(){const e=(0,s.Z)("/connection"),{setGlobalNotice:t}=(0,c.useDispatch)(i.t),n=(0,c.useSelect)((e=>e(i.t).getProductsThatRequiresUserConnection())),{isSiteConnected:l,hasConnectedOwner:p,isUserConnected:u}=(0,o.Z)(),d=!p&&!u&&n.length>0,m=(0,a.sprintf)(/* translators: placeholder is product name. */ +__("Jetpack %s needs a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),n[0]),g=n.length>1?__("Some products need a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"):m,h=__("Some products need a connection to WordPress.com to be able to work.","jetpack-my-jetpack");(0,r.useEffect)((()=>{l?d&&t(g,{status:"error",actions:[{label:__("Connect your user account to fix this","jetpack-my-jetpack"),onClick:e,noDefaultClasses:!0}]}):t(h,{status:"warning",actions:[{label:__("Connect your site to fix this","jetpack-my-jetpack"),onClick:e,variant:"link",noDefaultClasses:!0}]})}),[l,h,g,d,e,t])}},1689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(1294);function a(){const{apiRoot:e,apiNonce:t}=myJetpackRest,{topJetpackMenuItemUrl:n}=myJetpackInitialState,a=(0,c.Z)({apiRoot:e,apiNonce:t}),r=a.isRegistered;return{apiNonce:t,apiRoot:e,...a,isSiteConnected:r,topJetpackMenuItemUrl:n}}},3345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n(6417);function r(e){const t=(0,a.s0)();return(0,c.useCallback)((()=>t(e)),[t,e])}},5031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const e=(0,c.useDispatch)(),{message:t,options:n}=(0,c.useSelect)((e=>e(a.t).getGlobalNotice()));return{message:t,options:n||{},clean:()=>e(a.t).cleanGlobalNotice()}}},3703:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var c=n(9818),a=n(7493);function r(e){const{activateProduct:t,deactivateProduct:n,installStandalonePluginForProduct:r,deactivateStandalonePluginForProduct:i}=(0,c.useDispatch)(a.t),o=(0,c.useSelect)((t=>t(a.t).getProduct(e)));return{activate:()=>t(e),deactivate:()=>n(e),deactivateStandalonePlugin:()=>i(e),installStandalonePlugin:()=>r(e),productsList:(0,c.useSelect)((e=>e(a.t).getProducts())),detail:o,isActive:"active"===o.status,isFetching:(0,c.useSelect)((t=>t(a.t).isFetching(e))),stats:(0,c.useSelect)((t=>t(a.t).getProductStats(e)))}}},1750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const{purchases:e,isFetchingPurchases:t}=(0,c.useSelect)((e=>{const{getPurchases:t,isRequestingPurchases:n}=e(a.t);return{purchases:t(),isFetchingPurchases:n()}}));return{purchases:e,isFetchingPurchases:t}}},9274:(e,t,n)=>{"use strict";n.d(t,{GH:()=>u,IF:()=>y,JU:()=>_,N:()=>E,Np:()=>d,RT:()=>s,SK:()=>w,ZP:()=>I,cL:()=>v,d1:()=>b,dE:()=>h,dI:()=>g,dq:()=>f,fE:()=>j,kk:()=>k,ny:()=>l,vv:()=>m,z8:()=>p});var c=n(428),a=n(6989),r=n.n(a),i=n(5736),o=n(2086);const __=i.__,s="SET_PURCHASES_IS_FETCHING",l="FETCH_PURCHASES",p="SET_PURCHASES",u="SET_AVAILABLE_LICENSES_IS_FETCHING",d="SET_AVAILABLE_LICENSES",m="SET_IS_FETCHING_PRODUCT",g="SET_PRODUCT",h="SET_PRODUCT_REQUEST_ERROR",f="SET_PRODUCT_STATUS",y="SET_CHAT_AVAILABILITY_IS_FETCHING",k="SET_CHAT_AVAILABILITY",v="SET_CHAT_AUTHENTICATION_IS_FETCHING",E="SET_CHAT_AUTHENTICATION",b="SET_GLOBAL_NOTICE",j="CLEAN_GLOBAL_NOTICE",_="SET_PRODUCT_STATS",w="SET_IS_FETCHING_PRODUCT_STATS",C=e=>({type:g,product:e}),Z=(e,t)=>({type:h,productId:e,error:t}),N=(e,t)=>({type:"SET_GLOBAL_NOTICE",message:e,options:t});function S(e,t){return{type:m,productId:e,isFetching:t}}function P(e,t,n){let{select:a,dispatch:s,registry:l}=n;return new Promise(((n,p)=>{if(!a.isValidProduct(e)){const t=__("Invalid product name","jetpack-my-jetpack"),n=new Error(t);return s(Z(e,n)),s(N(t,{status:"error",isDismissible:!0})),void p(n)}const u=t.activate?"POST":"DELETE";return s(S(e,!0)),r()({path:`${o.Jk}/${e}`,method:u}).then((t=>{s(S(e,!1)),s(C(t)),l.dispatch(c.t).refreshConnectedPlugins(),n(t?.status)})).catch((t=>{const{name:n}=a.getProduct(e),c=(0,i.sprintf)( // translators: %$1s: Jetpack Product name __("Failed to activate %1$s. Please try again","jetpack-my-jetpack"),n);s(S(e,!1)),s(Z(e,t)),s(N(c,{status:"error",isDismissible:!0})),p(t)}))}))}const R={setProduct:C,activateProduct:e=>async t=>await P(e,{activate:!0},t),deactivateStandalonePluginForProduct:e=>async t=>await P(e,{activate:!1},t),installStandalonePluginForProduct:e=>async t=>{const{select:n,dispatch:a,registry:s}=t;return await new Promise(((t,l)=>{if(!n.isValidProduct(e)){const t=__("Invalid product name","jetpack-my-jetpack"),n=new Error(t);return a(Z(e,n)),a(N(t,{status:"error",isDismissible:!0})),void l(n)}return a(S(e,!0)),r()({path:`${o.Jk}/${e}/install-standalone`,method:"POST"}).then((n=>{a(S(e,!1)),a(C(n)),s.dispatch(c.t).refreshConnectedPlugins(),t(n?.standalone_plugin_info)})).catch((t=>{const{name:c}=n.getProduct(e),r=(0,i.sprintf)( // translators: %$1s: Jetpack Product name; %$2s: Original error message -__("Failed to install standalone plugin for %1$s: %2$s. Please try again","jetpack-my-jetpack"),c,t.message);a(S(e,!1)),a(Z(e,t)),a(N(r,{status:"error",isDismissible:!0})),l(t)}))}))},setIsFetchingProduct:S,setRequestProductError:Z,setProductStatus:(e,t)=>({type:f,productId:e,status:t})},I={setPurchasesIsFetching:e=>({type:s,isFetching:e}),setChatAvailabilityIsFetching:e=>({type:y,isFetching:e}),setChatAuthenticationIsFetching:e=>({type:k,isFetching:e}),fetchPurchases:()=>({type:l}),setPurchases:e=>({type:p,purchases:e}),setChatAvailability:e=>({type:v,chatAvailability:e}),setChatAuthentication:e=>({type:E,chatAuthentication:e}),setAvailableLicensesIsFetching:e=>({type:u,isFetching:e}),fetchAvailableLicenses:()=>({type:"FETCH_AVAILABLE_LICENSES"}),setAvailableLicenses:e=>({type:d,availableLicenses:e}),setProductStats:(e,t)=>({type:_,productId:e,stats:t}),setIsFetchingProductStats:(e,t)=>({type:w,productId:e,isFetching:t}),...{setGlobalNotice:N,cleanGlobalNotice:()=>({type:"CLEAN_GLOBAL_NOTICE"})},...R}},2086:(e,t,n)=>{"use strict";n.d(t,{Hq:()=>i,Jk:()=>r,LQ:()=>a,iB:()=>s,n2:()=>p,rs:()=>l,xD:()=>o});const c="my-jetpack/v1",a=`${c}/site/purchases`,r=`${c}/site/products`,i=`${c}/chat/availability`,o=`${c}/chat/authentication`,s=["scan"],l="videopress",p="videopress/v1/stats/featured"},9462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),a=n.n(c),r=n(9274),i=n(2086);const o={[r.ny]:function(){return new Promise(((e,t)=>{a()({path:i.LQ}).then(e).catch(t)}))}}},925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(9274);const r=(0,c.combineReducers)({products:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.vv:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c},errors:{...e.errors,[n]:c?void 0:e.errors[n]}}}case a.dq:{const{productId:n,status:c}=t;return{...e,items:{...e.items,[n]:{...e.items[n],status:c}}}}case a.dI:{const{product:n}=t,{slug:c}=n;return{...e,items:{...e.items,[c]:n}}}case a.dE:{const{productId:n,error:c}=t;return{...e,errors:{...e.errors,[n]:c}}}default:return e}},purchases:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.RT:return{...e,isFetching:t.isFetching};case a.z8:return{...e,items:t?.purchases||[]};default:return e}},chatAvailability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isFetching:!1,isAvailable:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.IF:return{...e,isFetching:t.isFetching};case a.kk:return{...e,isAvailable:t?.chatAvailability?.is_available};default:return e}},chatAuthentication:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isFetching:!1,jwt:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.cL:return{...e,isFetching:t.isFetching};case a.N:return{...e,jwt:t?.chatAuthentication?.user?.jwt};default:return e}},availableLicenses:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.GH:return{...e,isFetching:t.isFetching};case a.Np:return{...e,items:t?.availableLicenses||[]};default:return e}},notices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{global:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.d1:{const{message:n,options:c}=t;return{...e,global:{message:n,options:c}}}case a.fE:return{...e,global:{}};default:return e}},plugins:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},stats:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.SK:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c}}}case a.JU:{const{productId:n,stats:c}=t;return{...e,items:{...e.items,[n]:c}}}default:return e}}})},9844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(4743),a=n(6989),r=n.n(a),i=n(5736),o=n(2307),s=n(2086),l=n(6484);const __=i.__,p={...{getProduct:{isFulfilled:(e,t)=>(e?.products?.items||{}).hasOwnProperty(t)&&!s.iB.includes(t),fulfill:e=>async t=>{let{dispatch:n}=t;try{n.setIsFetchingProduct(e,!0);const t=await r()({path:`${s.Jk}/${e}`});return n.setProduct(t),n.setIsFetchingProduct(e,!1),Promise.resolve()}catch(t){if(n.setIsFetchingProduct(e,!1),t?.code&&t?.message)return n.setRequestProductError(e,t),Promise.reject(t);throw new Error(t)}}},getPurchases:()=>async e=>{let{dispatch:t}=e;t.setPurchasesIsFetching(!0);try{t.setPurchases(await r()({path:s.LQ})),t.setPurchasesIsFetching(!1)}catch(e){t.setPurchasesIsFetching(!1),"not_connected"!==e.code&&t.setGlobalNotice(__("There was an error fetching your purchases information. Check your site connectivity and try again.","jetpack-my-jetpack"),{status:"error"})}},getChatAvailability:()=>async e=>{let{dispatch:t}=e;t.setChatAvailabilityIsFetching(!0);try{t.setChatAvailability(await r()({path:s.Hq})),t.setChatAvailabilityIsFetching(!1)}catch(e){t.setChatAvailabilityIsFetching(!1)}},getChatAuthentication:()=>async e=>{let{dispatch:t}=e;t.setChatAuthenticationIsFetching(!0);try{t.setChatAuthentication(await r()({path:s.xD})),t.setChatAuthenticationIsFetching(!1)}catch(e){t.setChatAuthenticationIsFetching(!1)}},getAvailableLicenses:()=>async e=>{let{dispatch:t}=e;t.setAvailableLicensesIsFetching(!0);try{const{apiRoot:e,apiNonce:n}=window?.myJetpackRest||{};c.ZP.setApiRoot(e),c.ZP.setApiNonce(n);const a=await c.ZP.getUserLicenses();a&&a.items?t.setAvailableLicenses(a.items.filter((e=>{let{attached_at:t,revoked_at:n}=e;return null===t&&null===n}))):t.setAvailableLicenses([])}catch(e){t.setAvailableLicenses([])}finally{t.setAvailableLicensesIsFetching(!1)}}},getProductStats:{isFulfilled:(e,t)=>e.stats?.items?.hasOwnProperty(t)||!1,fulfill:e=>async t=>{let{dispatch:n,select:c}=t;const{status:a}=c.getProduct(e);if(a!==o.N.ACTIVE)return n.setProductStats(e,null),Promise.resolve();try{n.setIsFetchingProductStats(e,!0);const t=await(0,l.Z)(e);return n.setProductStats(e,t),n.setIsFetchingProductStats(e,!1),Promise.resolve()}catch(t){if(n.setProductStats(e,null),n.setIsFetchingProductStats(e,!1),t?.code&&t?.message)return Promise.reject(t);throw new Error(t)}}}}},6896:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var c=n(2307),a=n(6782);const r=e=>e.products?.items||{},i=e=>Object.keys(r(e)),o={...{getProducts:r,getProductNames:i,getProduct:(e,t)=>{const n=r(e)?.[t]||{},c=(0,a.N)(n,!0);return c.standalonePluginInfo=(0,a.N)(c.standalonePluginInfo||{},!0),c.pricingForUi=(0,a.N)(c.pricingForUi||{},!0),c.pricingForUi.introductoryOffer=c.pricingForUi.isIntroductoryOffer?(0,a.N)(c.pricingForUi.introductoryOffer,!0):null,c.pricingForUi?.tiers&&(c.pricingForUi.tiers=(0,a.N)(c.pricingForUi.tiers,!0),c.pricingForUi.tiers=Object.keys(c.pricingForUi.tiers).reduce(((e,t)=>{const n=(0,a.N)(c.pricingForUi.tiers[t],!0)||{};return e[t]={...n,introductoryOffer:n?.isIntroductoryOffer?(0,a.N)(n?.introductoryOffer,!0):null},e}),{})),c.features=c.features||[],c.supportedProducts=c.supportedProducts||[],c.pricingForUi.fullPricePerMonth="year"===c.pricingForUi.productTerm?Math.ceil(c.pricingForUi.fullPrice/12*100)/100:c.pricingForUi.fullPrice,c.pricingForUi.discountPricePerMonth="year"===c.pricingForUi.productTerm?Math.ceil(c.pricingForUi.discountPrice/12*100)/100:c.pricingForUi.discountPrice,c},isValidProduct:(e,t)=>i(e).includes(t),isFetching:(e,t)=>e.products?.isFetching?.[t]||!1,getProductsThatRequiresUserConnection:e=>{const t=r(e);return Object.keys(t).reduce(((e,n)=>{const a=t[n];return a?.requires_user_connection&&(a?.status===c.N.ACTIVE||a?.status===c.N.ERROR)&&e.push(a?.name),e}),[])}},getPurchases:e=>e.purchases?.items||[],isRequestingPurchases:e=>e.purchases?.isFetching||!1,getChatAvailability:e=>e.chatAvailability.isAvailable,isRequestingChatAvailability:e=>e.chatAvailability.isFetching,getChatAuthentication:e=>e.chatAuthentication.jwt,isRequestingChatAuthentication:e=>e.chatAuthentication.isFetching,getAvailableLicenses:e=>e.availableLicenses?.items||[],isFetchingAvailableLicenses:e=>e.availableLicenses?.isFetching||!1,getGlobalNotice:e=>e.notices?.global,...{hasStandalonePluginInstalled:e=>Object.values(e.plugins).filter((e=>["jetpack-backup","jetpack-boost","jetpack-protect","jetpack-search","jetpack-social","jetpack-videopress"].indexOf(e.TextDomain)>=0)).length>0},...{getProductStats:(e,t)=>e.stats?.items?.[t],isFetchingProductStats:(e,t)=>e.stats?.isFetching?.[t]||!1}}},6484:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(2086),a=n(667);const r=async e=>e===c.rs?(0,a.Z)():null},667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6989),a=n.n(c),r=n(2086);const i=async()=>a()({path:r.n2})},1214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(17),a=n.n(c),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}a()(i,"store",null);const o=i},7493:(e,t,n)=>{"use strict";n.d(t,{N:()=>p,t:()=>l});var c=n(9274),a=n(9462),r=n(925),i=n(9844),o=n(6896),s=n(1214);const l="my-jetpack";function p(){s.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.ZP,resolvers:i.Z,controls:a.Z,initialState:window.myJetpackInitialState||{}})}},8295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){const e=window?.myJetpackInitialState?.siteSuffix;return(0,c.Z)(a.w6,{site:e})}},7258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){const e=window?.myJetpackInitialState?.siteSuffix,t=window?.myJetpackInitialState?.myJetpackUrl?`redirect_to=${window?.myJetpackInitialState?.myJetpackUrl}`:null;return(0,c.Z)(a.f6,{site:e,query:t})}},6986:(e,t,n)=>{"use strict";function c(e){let{partner_slug:t}=e;return!!t&&"goldenticket"===t}function a(e){return!!Array.isArray(e)&&e.filter((e=>c(e))).length>0}n.d(t,{h:()=>c,o:()=>a})},6782:(e,t,n)=>{"use strict";function c(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=Object.assign({},e);for(const e in n)n.hasOwnProperty(e)&&-1!==e.indexOf("_")&&(n[c(e)]=n[e],t&&delete n[e]);return n}n.d(t,{N:()=>a})},2042:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},5242:(e,t,n)=>{"use strict";e.exports=n.p+"images/apple-92dacafad84e79708a74.svg"},6790:(e,t,n)=>{"use strict";e.exports=n.p+"images/connect-f27775ac15cf885713c2.png"},184:(e,t,n)=>{"use strict";e.exports=n.p+"images/google-dec2a429bf1d8e83f9ad.svg"},4403:(e,t,n)=>{"use strict";e.exports=n.p+"images/wordpress-1fc3e0ba6c52e9707900.svg"},8489:(e,t,n)=>{"use strict";e.exports=n.p+"images/cloud-81ac85ba680343200f54.svg"},3815:(e,t,n)=>{"use strict";e.exports=n.p+"images/empty-avatar-fea23feddfa99b07c2e8.svg"},9182:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-9de1caef5eb5c22da5d6.svg"},5610:(e,t,n)=>{"use strict";e.exports=n.p+"images/boost-a54137485af36fdffe9c.png"},4763:(e,t,n)=>{"use strict";e.exports=n.p+"images/crm-7e7684ae2c40327d8fed.png"},2605:(e,t,n)=>{"use strict";e.exports=n.p+"images/extras-26daf36507504c96d066.png"},1488:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-ai-29e60474d5890cbb6889.png"},720:(e,t,n)=>{"use strict";e.exports=n.p+"images/search-f9756bd9c926d905fe70.png"},1439:(e,t,n)=>{"use strict";e.exports=n.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},17:(e,t,n)=>{var c=n(6930);e.exports=function(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var c=n(3522).default;e.exports=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==c(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6930:(e,t,n)=>{var c=n(3522).default,a=n(5061);e.exports=function(e){var t=a(e,"string");return"symbol"===c(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},3522:e=>{function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8288:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9307),a=n(5736),r=n(5844),i=n(9196),o=n(9430);const __=a.__,s=e=>{const{productId:t,siteRawUrl:n}=e,a=`https://cloud.jetpack.com/landing/${n}`,r=(0,o.F)(t),s={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:a})})},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:a})})},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:a})})},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:a})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack-my-jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack-my-jetpack")},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,s[r].title," ",String.fromCodePoint(127881)),i.createElement("p",null,s[r].text))};s.propTypes={dashboardUrl:r.string,productId:r.number};const l=s},9430:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});const c={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]};function a(e){return Object.keys(c).find((t=>c[t].includes(e)))||"default"}}},t={};function n(c){var a=t[c];if(void 0!==a)return a.exports;var r=t[c]={exports:{}};return e[c](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var c=t.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(8275),t=n(9307),c=n(9196),a=n.n(c),r=n(6417),i=n(9997),o=n(1899),s=n(9841),l=n(8966),p=n(8093),u=n(673),d=n(7493);n(5878);function m(){const e=(0,r.TH)();return(0,c.useEffect)((()=>window.scrollTo(0,0)),[e]),null}(0,d.N)();const g=()=>a().createElement(e.ZP,null,a().createElement(i.UT,null,a().createElement(m,null),a().createElement(r.Z5,null,a().createElement(r.AW,{path:"/",element:a().createElement(l.Z,null)}),a().createElement(r.AW,{path:"/connection",element:a().createElement(s.Z,null)}),a().createElement(r.AW,{path:"/add-akismet",element:a().createElement(p.q,null)}),a().createElement(r.AW,{path:"/add-anti-spam",element:a().createElement(r.Fg,{replace:!0,to:"/add-akismet"})}),a().createElement(r.AW,{path:"/add-backup",element:a().createElement(p.qA,null)}),a().createElement(r.AW,{path:"/add-boost",element:a().createElement(p.WJ,null)}),a().createElement(r.AW,{path:"/add-crm",element:a().createElement(p.B$,null)}),a().createElement(r.AW,{path:"/add-jetpack-ai",element:a().createElement(p.sI,null)}),a().createElement(r.AW,{path:"/add-extras",element:a().createElement(p.Yi,null)}),a().createElement(r.AW,{path:"/add-protect",element:a().createElement(p.jO,null)}),a().createElement(r.AW,{path:"/add-scan",element:a().createElement(p.Q5,null)}),a().createElement(r.AW,{path:"/add-social",element:a().createElement(p.y$,null)}),a().createElement(r.AW,{path:"/add-search",element:a().createElement(p.uw,null)}),a().createElement(r.AW,{path:"/add-videopress",element:a().createElement(p.Jw,null)}),window?.myJetpackInitialState?.loadAddLicenseScreen&&a().createElement(r.AW,{path:"/add-license",element:a().createElement(o.Z,null)}),a().createElement(r.AW,{path:"/redeem-token",element:a().createElement(u.Z,null)}))));!function(){const e=document.getElementById("my-jetpack-container");null!==e&&t.createRoot(e).render(a().createElement(g,null))}()})()})(); \ No newline at end of file +__("Failed to install standalone plugin for %1$s: %2$s. Please try again","jetpack-my-jetpack"),c,t.message);a(S(e,!1)),a(Z(e,t)),a(N(r,{status:"error",isDismissible:!0})),l(t)}))}))},setIsFetchingProduct:S,setRequestProductError:Z,setProductStatus:(e,t)=>({type:f,productId:e,status:t})},I={setPurchasesIsFetching:e=>({type:s,isFetching:e}),setChatAvailabilityIsFetching:e=>({type:y,isFetching:e}),setChatAuthenticationIsFetching:e=>({type:v,isFetching:e}),fetchPurchases:()=>({type:l}),setPurchases:e=>({type:p,purchases:e}),setChatAvailability:e=>({type:k,chatAvailability:e}),setChatAuthentication:e=>({type:E,chatAuthentication:e}),setAvailableLicensesIsFetching:e=>({type:u,isFetching:e}),fetchAvailableLicenses:()=>({type:"FETCH_AVAILABLE_LICENSES"}),setAvailableLicenses:e=>({type:d,availableLicenses:e}),setProductStats:(e,t)=>({type:_,productId:e,stats:t}),setIsFetchingProductStats:(e,t)=>({type:w,productId:e,isFetching:t}),...{setGlobalNotice:N,cleanGlobalNotice:()=>({type:"CLEAN_GLOBAL_NOTICE"})},...R}},2086:(e,t,n)=>{"use strict";n.d(t,{Hq:()=>i,Jk:()=>r,LQ:()=>a,iB:()=>s,n2:()=>p,rs:()=>l,xD:()=>o});const c="my-jetpack/v1",a=`${c}/site/purchases`,r=`${c}/site/products`,i=`${c}/chat/availability`,o=`${c}/chat/authentication`,s=["scan"],l="videopress",p="videopress/v1/stats/featured"},9462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),a=n.n(c),r=n(9274),i=n(2086);const o={[r.ny]:function(){return new Promise(((e,t)=>{a()({path:i.LQ}).then(e).catch(t)}))}}},925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(9274);const r=(0,c.combineReducers)({products:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.vv:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c},errors:{...e.errors,[n]:c?void 0:e.errors[n]}}}case a.dq:{const{productId:n,status:c}=t;return{...e,items:{...e.items,[n]:{...e.items[n],status:c}}}}case a.dI:{const{product:n}=t,{slug:c}=n;return{...e,items:{...e.items,[c]:n}}}case a.dE:{const{productId:n,error:c}=t;return{...e,errors:{...e.errors,[n]:c}}}default:return e}},purchases:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.RT:return{...e,isFetching:t.isFetching};case a.z8:return{...e,items:t?.purchases||[]};default:return e}},chatAvailability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isFetching:!1,isAvailable:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.IF:return{...e,isFetching:t.isFetching};case a.kk:return{...e,isAvailable:t?.chatAvailability?.is_available};default:return e}},chatAuthentication:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isFetching:!1,jwt:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.cL:return{...e,isFetching:t.isFetching};case a.N:return{...e,jwt:t?.chatAuthentication?.user?.jwt};default:return e}},availableLicenses:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.GH:return{...e,isFetching:t.isFetching};case a.Np:return{...e,items:t?.availableLicenses||[]};default:return e}},notices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{global:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.d1:{const{message:n,options:c}=t;return{...e,global:{message:n,options:c}}}case a.fE:return{...e,global:{}};default:return e}},plugins:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},stats:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.SK:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c}}}case a.JU:{const{productId:n,stats:c}=t;return{...e,items:{...e.items,[n]:c}}}default:return e}}})},9844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(4743),a=n(6989),r=n.n(a),i=n(5736),o=n(2307),s=n(2086),l=n(6484);const __=i.__,p={...{getProduct:{isFulfilled:(e,t)=>(e?.products?.items||{}).hasOwnProperty(t)&&!s.iB.includes(t),fulfill:e=>async t=>{let{dispatch:n}=t;try{n.setIsFetchingProduct(e,!0);const t=await r()({path:`${s.Jk}/${e}`});return n.setProduct(t),n.setIsFetchingProduct(e,!1),Promise.resolve()}catch(t){if(n.setIsFetchingProduct(e,!1),t?.code&&t?.message)return n.setRequestProductError(e,t),Promise.reject(t);throw new Error(t)}}},getPurchases:()=>async e=>{let{dispatch:t}=e;t.setPurchasesIsFetching(!0);try{t.setPurchases(await r()({path:s.LQ})),t.setPurchasesIsFetching(!1)}catch(e){t.setPurchasesIsFetching(!1),"not_connected"!==e.code&&t.setGlobalNotice(__("There was an error fetching your purchases information. Check your site connectivity and try again.","jetpack-my-jetpack"),{status:"error"})}},getChatAvailability:()=>async e=>{let{dispatch:t}=e;t.setChatAvailabilityIsFetching(!0);try{t.setChatAvailability(await r()({path:s.Hq})),t.setChatAvailabilityIsFetching(!1)}catch(e){t.setChatAvailabilityIsFetching(!1)}},getChatAuthentication:()=>async e=>{let{dispatch:t}=e;t.setChatAuthenticationIsFetching(!0);try{t.setChatAuthentication(await r()({path:s.xD})),t.setChatAuthenticationIsFetching(!1)}catch(e){t.setChatAuthenticationIsFetching(!1)}},getAvailableLicenses:()=>async e=>{let{dispatch:t}=e;t.setAvailableLicensesIsFetching(!0);try{const{apiRoot:e,apiNonce:n}=window?.myJetpackRest||{};c.ZP.setApiRoot(e),c.ZP.setApiNonce(n);const a=await c.ZP.getUserLicenses();a&&a.items?t.setAvailableLicenses(a.items.filter((e=>{let{attached_at:t,revoked_at:n}=e;return null===t&&null===n}))):t.setAvailableLicenses([])}catch(e){t.setAvailableLicenses([])}finally{t.setAvailableLicensesIsFetching(!1)}}},getProductStats:{isFulfilled:(e,t)=>e.stats?.items?.hasOwnProperty(t)||!1,fulfill:e=>async t=>{let{dispatch:n,select:c}=t;const{status:a}=c.getProduct(e);if(a!==o.N.ACTIVE)return n.setProductStats(e,null),Promise.resolve();try{n.setIsFetchingProductStats(e,!0);const t=await(0,l.Z)(e);return n.setProductStats(e,t),n.setIsFetchingProductStats(e,!1),Promise.resolve()}catch(t){if(n.setProductStats(e,null),n.setIsFetchingProductStats(e,!1),t?.code&&t?.message)return Promise.reject(t);throw new Error(t)}}}}},6896:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var c=n(2307),a=n(6782);const r=e=>e.products?.items||{},i=e=>Object.keys(r(e)),o={...{getProducts:r,getProductNames:i,getProduct:(e,t)=>{const n=r(e)?.[t]||{},c=(0,a.N)(n,!0);return c.standalonePluginInfo=(0,a.N)(c.standalonePluginInfo||{},!0),c.pricingForUi=(0,a.N)(c.pricingForUi||{},!0),c.pricingForUi.introductoryOffer=c.pricingForUi.isIntroductoryOffer?(0,a.N)(c.pricingForUi.introductoryOffer,!0):null,c.pricingForUi?.tiers&&(c.pricingForUi.tiers=(0,a.N)(c.pricingForUi.tiers,!0),c.pricingForUi.tiers=Object.keys(c.pricingForUi.tiers).reduce(((e,t)=>{const n=(0,a.N)(c.pricingForUi.tiers[t],!0)||{};return e[t]={...n,introductoryOffer:n?.isIntroductoryOffer?(0,a.N)(n?.introductoryOffer,!0):null},e}),{})),c.features=c.features||[],c.supportedProducts=c.supportedProducts||[],c.pricingForUi.fullPricePerMonth="year"===c.pricingForUi.productTerm?Math.ceil(c.pricingForUi.fullPrice/12*100)/100:c.pricingForUi.fullPrice,c.pricingForUi.discountPricePerMonth="year"===c.pricingForUi.productTerm?Math.ceil(c.pricingForUi.discountPrice/12*100)/100:c.pricingForUi.discountPrice,c},isValidProduct:(e,t)=>i(e).includes(t),isFetching:(e,t)=>e.products?.isFetching?.[t]||!1,getProductsThatRequiresUserConnection:e=>{const t=r(e);return Object.keys(t).reduce(((e,n)=>{const a=t[n];return a?.requires_user_connection&&(a?.status===c.N.ACTIVE||a?.status===c.N.ERROR)&&e.push(a?.name),e}),[])}},getPurchases:e=>e.purchases?.items||[],isRequestingPurchases:e=>e.purchases?.isFetching||!1,getChatAvailability:e=>e.chatAvailability.isAvailable,isRequestingChatAvailability:e=>e.chatAvailability.isFetching,getChatAuthentication:e=>e.chatAuthentication.jwt,isRequestingChatAuthentication:e=>e.chatAuthentication.isFetching,getAvailableLicenses:e=>e.availableLicenses?.items||[],isFetchingAvailableLicenses:e=>e.availableLicenses?.isFetching||!1,getGlobalNotice:e=>e.notices?.global,...{hasStandalonePluginInstalled:e=>Object.values(e.plugins).filter((e=>["jetpack-backup","jetpack-boost","jetpack-protect","jetpack-search","jetpack-social","jetpack-videopress"].indexOf(e.TextDomain)>=0)).length>0},...{getProductStats:(e,t)=>e.stats?.items?.[t],isFetchingProductStats:(e,t)=>e.stats?.isFetching?.[t]||!1}}},6484:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(2086),a=n(667);const r=async e=>e===c.rs?(0,a.Z)():null},667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6989),a=n.n(c),r=n(2086);const i=async()=>a()({path:r.n2})},1214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818);class a{static store=null;static mayBeInit(e,t){null===a.store&&(a.store=(0,c.createReduxStore)(e,t),(0,c.register)(a.store))}}const r=a},7493:(e,t,n)=>{"use strict";n.d(t,{N:()=>p,t:()=>l});var c=n(9274),a=n(9462),r=n(925),i=n(9844),o=n(6896),s=n(1214);const l="my-jetpack";function p(){s.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.ZP,resolvers:i.Z,controls:a.Z,initialState:window.myJetpackInitialState||{}})}},8295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){const e=window?.myJetpackInitialState?.siteSuffix;return(0,c.Z)(a.w6,{site:e})}},7258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){const e=window?.myJetpackInitialState?.siteSuffix,t=window?.myJetpackInitialState?.myJetpackUrl?`redirect_to=${window?.myJetpackInitialState?.myJetpackUrl}`:null;return(0,c.Z)(a.f6,{site:e,query:t})}},6986:(e,t,n)=>{"use strict";function c(e){let{partner_slug:t}=e;return!!t&&"goldenticket"===t}function a(e){return!!Array.isArray(e)&&e.filter((e=>c(e))).length>0}n.d(t,{h:()=>c,o:()=>a})},6782:(e,t,n)=>{"use strict";function c(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=Object.assign({},e);for(const e in n)n.hasOwnProperty(e)&&-1!==e.indexOf("_")&&(n[c(e)]=n[e],t&&delete n[e]);return n}n.d(t,{N:()=>a})},2042:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},5242:(e,t,n)=>{"use strict";e.exports=n.p+"images/apple-92dacafad84e79708a74.svg"},6790:(e,t,n)=>{"use strict";e.exports=n.p+"images/connect-f27775ac15cf885713c2.png"},184:(e,t,n)=>{"use strict";e.exports=n.p+"images/google-dec2a429bf1d8e83f9ad.svg"},4403:(e,t,n)=>{"use strict";e.exports=n.p+"images/wordpress-1fc3e0ba6c52e9707900.svg"},8489:(e,t,n)=>{"use strict";e.exports=n.p+"images/cloud-81ac85ba680343200f54.svg"},3815:(e,t,n)=>{"use strict";e.exports=n.p+"images/empty-avatar-fea23feddfa99b07c2e8.svg"},9182:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-9de1caef5eb5c22da5d6.svg"},5610:(e,t,n)=>{"use strict";e.exports=n.p+"images/boost-a54137485af36fdffe9c.png"},4763:(e,t,n)=>{"use strict";e.exports=n.p+"images/crm-7e7684ae2c40327d8fed.png"},2605:(e,t,n)=>{"use strict";e.exports=n.p+"images/extras-26daf36507504c96d066.png"},1488:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-ai-29e60474d5890cbb6889.png"},720:(e,t,n)=>{"use strict";e.exports=n.p+"images/search-f9756bd9c926d905fe70.png"},1439:(e,t,n)=>{"use strict";e.exports=n.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";n.d(t,{Z:()=>l});var c=n(9307),a=n(5736),r=n(5844),i=n(9196),o=n(9430);const __=a.__,s=e=>{const{productId:t,siteRawUrl:n}=e,a=`https://cloud.jetpack.com/landing/${n}`,r=(0,o.F)(t),s={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:a})})},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:a})})},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:a})})},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:a})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack-my-jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack-my-jetpack")},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,s[r].title," ",String.fromCodePoint(127881)),i.createElement("p",null,s[r].text))};s.propTypes={dashboardUrl:r.string,productId:r.number};const l=s},9430:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});const c={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]};function a(e){return Object.keys(c).find((t=>c[t].includes(e)))||"default"}}},t={};function n(c){var a=t[c];if(void 0!==a)return a.exports;var r=t[c]={exports:{}};return e[c](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var c=t.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(8275),t=n(9307),c=n(9196),a=n.n(c),r=n(6417),i=n(9997),o=n(1899),s=n(17),l=n(8966),p=n(8093),u=n(673),d=n(7493);n(5878);function m(){const e=(0,r.TH)();return(0,c.useEffect)((()=>window.scrollTo(0,0)),[e]),null}(0,d.N)();const g=()=>a().createElement(e.ZP,null,a().createElement(i.UT,null,a().createElement(m,null),a().createElement(r.Z5,null,a().createElement(r.AW,{path:"/",element:a().createElement(l.Z,null)}),a().createElement(r.AW,{path:"/connection",element:a().createElement(s.Z,null)}),a().createElement(r.AW,{path:"/add-akismet",element:a().createElement(p.q,null)}),a().createElement(r.AW,{path:"/add-anti-spam",element:a().createElement(r.Fg,{replace:!0,to:"/add-akismet"})}),a().createElement(r.AW,{path:"/add-backup",element:a().createElement(p.qA,null)}),a().createElement(r.AW,{path:"/add-boost",element:a().createElement(p.WJ,null)}),a().createElement(r.AW,{path:"/add-crm",element:a().createElement(p.B$,null)}),a().createElement(r.AW,{path:"/add-jetpack-ai",element:a().createElement(p.sI,null)}),a().createElement(r.AW,{path:"/add-extras",element:a().createElement(p.Yi,null)}),a().createElement(r.AW,{path:"/add-protect",element:a().createElement(p.jO,null)}),a().createElement(r.AW,{path:"/add-scan",element:a().createElement(p.Q5,null)}),a().createElement(r.AW,{path:"/add-social",element:a().createElement(p.y$,null)}),a().createElement(r.AW,{path:"/add-search",element:a().createElement(p.uw,null)}),a().createElement(r.AW,{path:"/add-videopress",element:a().createElement(p.Jw,null)}),window?.myJetpackInitialState?.loadAddLicenseScreen&&a().createElement(r.AW,{path:"/add-license",element:a().createElement(o.Z,null)}),a().createElement(r.AW,{path:"/redeem-token",element:a().createElement(u.Z,null)}))));!function(){const e=document.getElementById("my-jetpack-container");null!==e&&t.createRoot(e).render(a().createElement(g,null))}()})()})(); \ No newline at end of file diff --git a/composer.json b/composer.json index 00b4497d..0a8675ea 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "automattic/jetpack-admin-ui": "^0.2.22", "automattic/jetpack-assets": "^1.18.10", - "automattic/jetpack-connection": "^1.57.3", + "automattic/jetpack-connection": "^1.57.4-alpha", "automattic/jetpack-jitm": "^2.3.18", "automattic/jetpack-licensing": "^1.8.3", "automattic/jetpack-plugins-installer": "^0.2.5", @@ -17,7 +17,7 @@ "yoast/phpunit-polyfills": "1.1.0", "automattic/jetpack-changelogger": "^3.3.8", "automattic/wordbless": "@dev", - "automattic/jetpack-videopress": "^0.15.3" + "automattic/jetpack-videopress": "^0.16.0-alpha" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." diff --git a/package.json b/package.json index 1f1d446e..6a6c30fa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-my-jetpack", - "version": "3.4.4", + "version": "3.4.5-alpha", "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/my-jetpack/#readme", "bugs": { @@ -26,8 +26,8 @@ "@automattic/jetpack-analytics": "^0.1.27", "@automattic/jetpack-api": "^0.16.2", "@automattic/jetpack-base-styles": "^0.6.9", - "@automattic/jetpack-components": "^0.42.2", - "@automattic/jetpack-connection": "^0.29.9", + "@automattic/jetpack-components": "^0.42.3-alpha", + "@automattic/jetpack-connection": "^0.29.10-alpha", "@automattic/jetpack-licensing": "workspace:*", "@wordpress/api-fetch": "6.38.0", "@wordpress/components": "25.7.0", @@ -46,8 +46,8 @@ ], "devDependencies": { "@automattic/jetpack-webpack-config": "workspace:*", - "@babel/core": "7.22.11", - "@babel/preset-env": "7.22.14", + "@babel/core": "7.22.17", + "@babel/preset-env": "7.22.15", "@storybook/react": "7.1.0", "@testing-library/dom": "8.19.1", "@testing-library/react": "13.4.0", diff --git a/src/class-initializer.php b/src/class-initializer.php index 478547fc..798f13db 100644 --- a/src/class-initializer.php +++ b/src/class-initializer.php @@ -31,7 +31,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '3.4.4'; + const PACKAGE_VERSION = '3.4.5-alpha'; /** * HTML container ID for the IDC screen on My Jetpack page.