diff --git a/build/index.asset.php b/build/index.asset.php index 00f7561ed..11f5a3ce0 100644 --- a/build/index.asset.php +++ b/build/index.asset.php @@ -1 +1 @@ - array('moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '502bc3744f6d1c5a4506'); + array('moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1faabaaaf4340b490bba'); diff --git a/build/index.js b/build/index.js index 9c498c05c..8de7da620 100644 --- a/build/index.js +++ b/build/index.js @@ -1,47 +1,47 @@ /*! For license information please see index.js.LICENSE.txt */ -(()=>{var e={9487:(e,t,a)=>{"use strict";a.d(t,{X:()=>c});const n={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function c(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,a)=>{"use strict";a.d(t,{LR:()=>r});var n=a(9487),c=a(2003);function r(e,t,a={}){const r=(0,n.X)(t);if(!r||isNaN(e))return null;const{decimal:i,grouping:l,precision:o,symbol:s}={...r,...a},p=e<0?"-":"",u=Math.abs(e),m=Math.floor(u);return{sign:p,symbol:s,integer:(0,c.Z)(u,o,i,l).split(i)[0],fraction:o>0?(0,c.Z)(u-m,o,i,l).slice(1):""}}},2003:(e,t,a)=>{"use strict";function n(e,t=0,a=".",n=","){const c=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+c)?+c:0,i=isFinite(+t)?Math.abs(t):0,l=(i?function(e,t){const a=Math.pow(10,t);return""+(Math.round(e*a)/a).toFixed(t)}(r,i):""+Math.round(r)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,n)),(l[1]||"").lengthn})},1074:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(9307);const c=function({icon:e,size:t=24,...a}){return(0,n.cloneElement)(e,{width:t,height:t,...a})}},3259:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},495:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"}))},9201:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},2229:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},7489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},6163:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},9517:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},4160:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}))},8960:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"}))},5381:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},6376:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"}))},1646:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},496:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},7663:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}))},797:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(c.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},2817:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9307),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(c.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}))},4769:e=>{"use strict";function t(e){return e&&"object"==typeof e?c(e)||r(e)?e:n(e)?function(e,t){if(e.map)return e.map(t);for(var a=[],n=0;n{var a;!function(){"use strict";var n={}.hasOwnProperty;function c(){for(var e=[],t=0;t{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;t.splice(1,0,a,"color: inherit");let n=0,c=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(c=n))})),t.splice(c,0,a)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=a(1741)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,a)=>{e.exports=function(e){function t(e){let a,c,r,i=null;function l(...e){if(!l.enabled)return;const n=l,c=Number(new Date),r=c-(a||c);n.diff=r,n.prev=a,n.curr=c,a=c,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((a,c)=>{if("%%"===a)return"%";i++;const r=t.formatters[c];if("function"==typeof r){const t=e[i];a=r.call(n,t),e.splice(i,1),i--}return a})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return l.namespace=e,l.useColors=t.useColors(),l.color=t.selectColor(e),l.extend=n,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(c!==t.namespaces&&(c=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(l),l}function n(e,a){const n=t(this.namespace+(void 0===a?":":a)+e);return n.log=this.log,n}function c(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(c),...t.skips.map(c).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let a;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),c=n.length;for(a=0;a{t[a]=e[a]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t{"use strict";t.G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],c=[],r=0;function i(){var e={};for(c.push(e);r{"use strict";a.d(t,{Ep:()=>d,aU:()=>n,cP:()=>h,q_:()=>s});var n,c=a(255);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));var r=function(e){return e};var i="beforeunload",l="hashchange",o="popstate";function s(e){void 0===e&&(e={});var t=e.window,a=void 0===t?document.defaultView:t,s=a.history;function g(){var e=h(a.location.hash.substr(1)),t=e.pathname,n=void 0===t?"/":t,c=e.search,i=void 0===c?"":c,l=e.hash,o=void 0===l?"":l,p=s.state||{};return[p.idx,r({pathname:n,search:i,hash:o,state:p.usr||null,key:p.key||"default"})]}var f=null;function v(){if(f)C.call(f),f=null;else{var e=n.Pop,t=g(),a=t[0],c=t[1];if(C.length){if(null!=a){var r=b-a;r&&(f={action:e,location:c,retry:function(){N(-1*r)}},N(r))}}else S(e)}}a.addEventListener(o,v),a.addEventListener(l,(function(){d(g()[1])!==d(y)&&v()}));var E=n.Pop,k=g(),b=k[0],y=k[1],Z=u(),C=u();function _(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var n=a.location.href,c=n.indexOf("#");t=-1===c?n:n.slice(0,c)}return t}()+"#"+("string"==typeof e?e:d(e))}function w(e,t){return void 0===t&&(t=null),r((0,c.Z)({pathname:y.pathname,hash:"",search:""},"string"==typeof e?h(e):e,{state:t,key:m()}))}function R(e,t){return[{usr:e.state,key:e.key,idx:t},_(e)]}function j(e,t,a){return!C.length||(C.call({action:e,location:t,retry:a}),!1)}function S(e){E=e;var t=g();b=t[0],y=t[1],Z.call({action:E,location:y})}function N(e){s.go(e)}null==b&&(b=0,s.replaceState((0,c.Z)({},s.state,{idx:b}),""));var P={get action(){return E},get location(){return y},createHref:_,push:function e(t,c){var r=n.Push,i=w(t,c);if(j(r,i,(function(){e(t,c)}))){var l=R(i,b+1),o=l[0],p=l[1];try{s.pushState(o,"",p)}catch(e){a.location.assign(p)}S(r)}},replace:function e(t,a){var c=n.Replace,r=w(t,a);if(j(c,r,(function(){e(t,a)}))){var i=R(r,b),l=i[0],o=i[1];s.replaceState(l,"",o),S(c)}},go:N,back:function(){N(-1)},forward:function(){N(1)},listen:function(e){return Z.push(e)},block:function(e){var t=C.push(e);return 1===C.length&&a.addEventListener(i,p),function(){t(),C.length||a.removeEventListener(i,p)}}};return P}function p(e){e.preventDefault(),e.returnValue=""}function u(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function m(){return Math.random().toString(36).substr(2,8)}function d(e){var t=e.pathname,a=void 0===t?"/":t,n=e.search,c=void 0===n?"":n,r=e.hash,i=void 0===r?"":r;return c&&"?"!==c&&(a+="?"===c.charAt(0)?c:"?"+c),i&&"#"!==i&&(a+="#"===i.charAt(0)?i:"#"+i),a}function h(e){var t={};if(e){var a=e.indexOf("#");a>=0&&(t.hash=e.substr(a),e=e.substr(0,a));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}},1494:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},281:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},3466:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},1489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={cut:"msOlyh2T7D6uhbM6AROg",icon:"cPN7USVqSBpxUswfDtUZ",cta:"EmnJAyEzzn1QpA8HtypY",iconContainer:"vV7YZikAz0oHYsuvtxMq",description:"T1YaMupeZmBIpXZHY9EZ"}},5785:()=>{},1275:()=>{},5612:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},9054:()=>{},3247:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},7703:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"VHYulMcpzbr10HWR0iSE","icon-wrapper":"FGpSkMCiIHQjszcV0dbn","close-button":"KoWZcCwhW13xvkEb0QON","main-content":"smrfczkC53EaFM8OJUXs",title:"IKYRWoPwt9xOVEx1wzNS","action-bar":"qM0qY6mPYp1MPN54A3Kg","is-error":"A5YkDkkXuiYgavrY6Nux",icon:"y_IPyP1wIAOhyNaqvXJq","is-warning":"cT5rwuPMZzWvi5o6shMl","is-info":"yo0O3uvNomPsYUXFCpAS","is-success":"oZdDFf1jBLkzn5ICCC6x"}},9929:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"p4qz2tkq0p9hxucJ6Qk2",table:"lbNDyXioOwvyvbALtCBm","is-viewport-large":"s2Lsn4kbm6BrS3DSndRB",card:"cLaNK_XcbTGlRQ4Tp43Q","is-primary":"CYt1X0eH1icRjhtJ28jx",header:"DAkZc1P9A3K12fjEliMg",item:"WUBuYABl8nymjs9NnCEL","last-feature":"ANtCFeb41NhA8PA3H7ZN",value:"Ql2gy_148yW8Vw5vhaKD",icon:"EAQrAnQEW1z1BfdY5gbC","icon-check":"JDSTlLoOC_4aUoH2oNM2","icon-cross":"zNdQRJ1w7BvaQOYyqzHK",popover:"lr7vbX95SKtoe7DarJcZ","popover-icon":"KRrGp2xdkeBOxLZeuQ6X",tos:"H_ZJiRVJg0LiMXPGOcmt","tos-container":"x21z_DixObRDsDaWotP1"}},9184:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf","promo-label":"NubApIV1vQCRUNprfm6b",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},1683:()=>{},7920:()=>{},3280:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},3591:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={global:"_fUXxnSp5pagKBp9gSN7"}},9836:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},3900:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={navigation:"vvXnRXxrU1kP1KsdSr4J",badge:"aDCTkUFaJEeZzYYE6qv5"}},9993:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"EU0Rvu4PDqVtnCAmbgHg"}},4424:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={loading:"kdsaL7c4bpTwf_A4fIUT",loading__message:"b0eN3as5AgxQW7EAkarg"}},3064:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={footer:"_Wc3apZobag_9Ag_THTb"}},9137:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"diff-viewer":"LumryWNddoF092fZgN2O","diff-viewer__filename":"NFMwU3H5k2qArZe2TTp9","diff-viewer__file":"G5W9M8qfo3sGl2OIbwg9","diff-viewer__line-numbers":"Bx4RDCUR316fm_jgGS8N","diff-viewer__lines":"GhN0JvAyRQI3SnVWp2Ot"}},3932:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"footer-checkbox":"uQlXhcfYn9tbnK27_Gct","standalone-mode-section":"e5YHJiYcvfgdEEJsS_YM","share-data-section":"PO9zDOaSkcv_RqpfZF_v"}},8452:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={status:"gTWkHo5lqwE_OCesAhBx",active:"JeLxNe31ii68Utrr2xr6",spinner:"V6B8ltQ7TH3UKzUC_qy1","firewall-subheading":"C9hcvYAbgHPhN2Tl22xg","brute-force-protection-subheading":"XkbIpr2gzB4XEhHgzkY4","firewall-subheading__content":"BfcZn0_X33Ajdd1Gl18G","icon-popover":"rBmVJIeTNpd0RJWaRGuJ","upgrade-button":"jVq5444f1Xh6nNkz0Qe_","firewall-header":"amF9cOnMiv2nHbkMXQiQ","stat-card-wrapper":"FodE_7RbLD8zeBSd6eVR","popover-text":"twyPhW_K164HITnDrwEg","loading-text":"tbcd9xc_TjcFdokOt3F_","firewall-heading":"pnoqLV3l30xuvj2hLlJc"}},4854:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={container:"DM4b8iQ0ewvRYdIPxvZ8","toggle-section":"bW6ZuNzJBYU5PVPktE2S","toggle-section__control":"di3wjXHrX1rk_H6rlxKM","toggle-section__content":"IrzHnNkRvORtyCL0yiWa","toggle-section__title":"sU82bpLEYPC9n_CFAKoz","toggle-section--disabled":"ZZc0LldcbJpcftqCe43T","toggle-section__details":"T17WOOJI7XHN7KRmYaCe","automatic-rules-stats":"typbjN2keZ97hj2TmuMC","automatic-rules-stats__version":"UUXAN8VTAZY0h8t9rCHG","automatic-rules-stats__last-updated":"eFjcadLMEXY5O61vsTrx","automatic-rules-stats__failed-install":"Tr5uYvclUiwlC5kuGk7E","manual-rules-stats":"zPZcNgYx2X5778nHHtlH","manual-rules-stats__no-rules":"lNtkRXnB1z_kYB28MUWq","manual-rules-stats__block-list-count":"JgH5ykcLynEgqXYurT78","manual-rules-stats__allow-list-count":"xlWW0IoKZwTZt1Ti0tcQ","upgrade-trigger-section":"zhBcgCUGgyC7PvWk8ewB","manual-rules-section":"mah_f2OWxZ3Vqt_jRFdR","brute-force-rules-section":"pRMFiIODonlw4XMdNHaU","go-back-button":"Ax2SmW57c0U5xOTjZuAA",badge:"xGZeYQr0_nPJTFmd8pW4",popover:"RYTIt8kwLbKcUbWOfG4g",popover__header:"BqXge2rIUP0a_74yvYbr",popover__button:"Lr10UUCcSLF3T_0QqoPr",popover__footer:"th_VukMuODIOVLC7oJo6",status:"Gxtap1Zcl5X5UEHfSdQ4",active:"dSfmCVUK_Ez7sxdqOIdy","current-ip-text":"e6JXg_theht0XwCBgqdA"}},5823:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={list:"sQkG5Cu80gPaeFj3L_wa",footer:"oIl6GCMeUnzE0inXbuj9"}},7279:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={list:"RP2MVoGqaCFXPKZhhxQ1",footer:"YpEs8b7KE7fzVuXUbOEb"}},1234:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"form-toggle":"IunwKwdvL271DxBIniPb","form-toggle__switch":"svA9WxEcOByd5S2fZonA","is-compact":"wOd7DeP76v1fczKfah5n"}},9122:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={accordion:"x8UuVEhWucPfdq0hEJg6","accordion-item":"eb6Ovfvm1yONz4mdOwbH","accordion-header":"jF9LXpXR3TxZVDw7TVXT","accordion-header-label":"lNQgAfpwdAUSOLZd8dlD","accordion-header-label-icon":"WRQwDYPdffWznX158azR","accordion-header-description":"dJx9pvlYjDnKn11n5wo8","accordion-header-button":"EKcbLuSblRc7UpzgsFXw","accordion-body":"ILMBWlMLcXc0n97IisrG","accordion-body-close":"T8XIzCNJBQy1UETN5gjU","accordion-body-open":"kWoHGiaZSbq9XJVyUOMC"}},6983:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={threat:"EqpwvErHtRi_WQkJKgi1",threat__icon:"EicvN1QaJu5OJLzdUN5A",threat__summary:"b7ynAmUwGlxK_vxyIN0y",threat__summary__label:"uSV9HYRxjL4S6zIZDlqP",threat__summary__title:"XpW8Mvw_XFEbqxUdw155",threat__severity:"Fkj60BmQ5sUo9zHcJwVv",footer:"XLzPr74ad3osCq9kxy2q"}},2951:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"protect-header":"UL3B1tQ854mN7r6taB61","get-started-button":"IG56Hw7ZR_7rKVsM78qw"}},8735:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"marked-lines":"xpPHTch5ul0xuZaUoTNa","marked-lines__marked-line":"AMOpkL9LURkyTK8316cw","marked-lines__line-numbers":"i0_0xMrNWoak1brIaDQq","marked-lines__line-number":"C9fLawPLkMNSZthfwxj6","marked-lines__lines":"ogixgg8fRGekmYGtevh1","marked-lines__line":"jYPCgKMDRKfT3vnx0mdG","marked-lines__mark":"UEQ1NqkrwNmaQR7qdEK3"}},9980:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={modal:"WtVEv641JBaLl929sZq2",modal__window:"G0aPt7WmA1rkUE0wcTno",modal__close:"VkrhWjfEIlIwYEumycbP",modal__close__icon:"yFzeV4cmWRbZKk5tIyEw"}},513:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={navigation:"HQgjxePFDRJHamBAGcVU","navigation-item":"KtdsNIMumOoHNWMLmuAJ",clickable:"ewyV4ZGn34WDNXmK3ej2",selected:"owofT85W_XvVdb5vr1GN","navigation-item-label":"NESnw2xCLrBpP6WlYZL4","navigation-item-icon":"aohnd_y_1lrMuww8NH63","navigation-item-badge":"Rnas_2_2_eLZSYfZ347E","navigation-item-label-text":"m4_14yNRByDyO9yf9pGg","navigation-item-check-badge":"X8NRHUTBa_4wDvoHN9TT","navigation-item-info-badge":"CsuOteurQlJm4IjXqyZ0","navigation-group":"fvbewglUxEvV1o04yzzp","navigation-group-label":"DINy59MKjwiQanaoDTiV","navigation-group-content":"XoacHJljw8zRW_fkBSyg","navigation-group-list":"mXM4WZRePVTa07dhQ6MD","navigation-group-truncate":"sI3V8khLdCqxkhJQ_XnI","popover-text":"hgdxMuIvZwTZ0sfXaols","navigation-dropdown-button":"UErHS2HAh1gszGfYuVIf","navigation-dropdown-label":"lEhH1hvCcxLVFMHI8Gwv","navigation-dropdown-icon":"c57Vj4QhAHwcK_HZMxtN","navigation-dropdown-open":"t5TwI3d3FnCJvFBlkmm5","navigation-dropdown-closed":"kSa6ERuVPsCMPXugb030"}},8212:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={notice:"_aiMxmJRAw5jRPbZFX57","notice--info":"eWgNBUaexiR66ZI1Px4U","notice--floating":"ZGELG1CO333FilJXOaeI",notice__icon:"BnI88X_e8ItF1c9Uozmj","notice--success":"hRRUwTCPRpurhMwRNZkg","notice--error":"Z6q3IxY_uR1y2lAPTkVF",notice__message:"ST8sowTbBVLRPrk4ZQrn",notice__close:"lMkO08Vd8YQMfwrwaI8u"}},7324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={accordion:"sfXsfklfkeSRtE9ivQwF","accordion-item":"ozRrKPlj1QFGUyd3oVke","accordion-header":"PyvnSHQuuUkZvVsArigy","accordion-header-label":"u9Xod5s8bCRNj9MR1Drl","accordion-header-label-icon":"IbeyulkpO9kjYJ4OkYUD","accordion-header-description":"KiCgmjHm2f0JDU3cMsgf","accordion-header-button":"kJ8t3FAtd5VAYjk31SfA","accordion-body":"JP0IJZcYRohfgntEozjm","accordion-body-close":"y7c6zi2wjEnbW3F29fmP","accordion-body-open":"wQWiN_J0SqgduvadyGnm","icon-check":"v1fUFCBPmd6miSCf_ehK"}},6067:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"progress-bar":"vzMlFr1AXWqefpRrb976","progress-bar__wrapper":"gYSOMa4xxLXmsNzvFPkW","progress-bar__bar":"hNJWdt5qmZkWYAH_vjIp","progress-bar__percent":"DHMUfGyHbl5BgD5vjxVz"}},8383:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"product-section":"Clxt94RgGnDrhORZZyPr","info-section":"K2OG1vK5PSOYDWKtqKKG"}},61:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"main-content":"A6a9HOtaZnLUleNgxQrX","loading-content":"CGT5fOs6LDTFHWCAgIiT",illustration:"RFKxbzQ8N58qEyVO0yzW","connection-error-col":"SvMuuouOkDt2sE0PAn_D"}},8131:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={"threat-severity-badge":"JiJhrZaThvWCpM2AfGen","is-critical":"_7SGksgOpcPbHfPPpQTV","is-high":"pGNquShR54adQ61sx3lP","is-low":"IM5kkexAfwGLM6zz0Exd"}},8911:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={mark:"jNlU3vgp4xEGwmX5aTyK",list:"gE8s4nh3f7iGIBrFeyCT"}},6561:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={summary:"ZMBDiTLzs27F012iOsMK",summary__title:"zI2DKzqRc1MhF6aq5eHt",summary__icon:"iHgPFku9KaLz8FIQV1Qw",summary__notice:"xuIO_ubyDN6IGJ67NTlx","summary__scan-button":"ctq2nQkzIfSoMkldF9t9"}},5714:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={tabs:"lyrXe0pA852TUmyekDb5",tab:"KgEeDTKgTC5ZjzYlbTqN","tab--active":"Lv4WoNVkeJntqvUyG4dX"}},8063:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={textarea:"rigH8UdiDrmmSLQMUurD",label:"V8FDM08CpcwQs4UwN2nI"}},9971:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={threat:"NHzH3tt6CypjZ92CvK9x",threat__icon:"D9zvYDUrOP_zwSm0yJMs",threat__summary:"_XISfmbjoVlqhB61hHYn",threat__summary__label:"AQDPBnMZFu7BOBuo8mYW",threat__summary__title:"cZ9s5eCAZe3R82Y6Ru3z",threat__severity:"AKnbWQiViZ2O_dwCV8Fw",threat__checkbox:"W6alQ2_S5Rh06djX9m27"}},9709:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={empty:"OtDl6kocO_m2s9sRHaqX","threat-section":"BjwJh1S1YVPI7AjmTx6a","threat-filename":"YWfK8VTp2wnByBauYPKg","threat-footer":"pkw2LnOTd8VvQ3oT8sXQ","threat-item-cta":"ap6lG79CncSqdigJS_WA","list-header":"uym7dGHhp6ifjF57yOAO","list-title":"e_2eFTR8RyHwmfeqJL4F","list-header-button":"r4Id5qht2FD68jCAH2Cl","accordion-heading":"ZSZPabDoB8MVVPttP0tu","manual-scan":"iJ_biSBRDribuNKX0Zuw"}},541:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={footer:"uUEJGMrSV3XoBwX5xEwA"}},1155:()=>{},3171:e=>{var t=1e3,a=60*t,n=60*a,c=24*n,r=7*c,i=365.25*c;function l(e,t,a,n){var c=t>=1.5*a;return Math.round(e/a)+" "+n+(c?"s":"")}e.exports=function(e,o){o=o||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var l=/^(-?(?:\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(!l)return;var o=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*i;case"weeks":case"week":case"w":return o*r;case"days":case"day":case"d":return o*c;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*a;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===s&&isFinite(e))return o.long?function(e){var r=Math.abs(e);if(r>=c)return l(e,r,c,"day");if(r>=n)return l(e,r,n,"hour");if(r>=a)return l(e,r,a,"minute");if(r>=t)return l(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=c)return Math.round(e/c)+"d";if(r>=n)return Math.round(e/n)+"h";if(r>=a)return Math.round(e/a)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},469:(e,t,a)=>{"use strict";var n=a(758);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,a,c,r,i){if(i!==n){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:c};return a.PropTypes=a,a}},5162:(e,t,a)=>{e.exports=a(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},554:(e,t,a)=>{"use strict";a.d(t,{OL:()=>m,UT:()=>p});var n=a(9196),c=a(5250),r=a(5439);function i(){return i=Object.assign||function(e){for(var t=1;t=0||(c[a]=e[a]);return c}const o=["onClick","reloadDocument","replace","state","target","to"],s=["aria-current","caseSensitive","className","end","style","to","children"];function p(e){let{basename:t,children:a,window:i}=e,l=(0,n.useRef)();null==l.current&&(l.current=(0,c.q_)({window:i}));let o=l.current,[s,p]=(0,n.useState)({action:o.action,location:o.location});return(0,n.useLayoutEffect)((()=>o.listen(p)),[o]),(0,n.createElement)(r.F0,{basename:t,children:a,location:s.location,navigationType:s.action,navigator:o})}const u=(0,n.forwardRef)((function(e,t){let{onClick:a,reloadDocument:s,replace:p=!1,state:u,target:m,to:d}=e,h=l(e,o),g=(0,r.oQ)(d),f=function(e,t){let{target:a,replace:i,state:l}=void 0===t?{}:t,o=(0,r.s0)(),s=(0,r.TH)(),p=(0,r.WU)(e);return(0,n.useCallback)((t=>{if(!(0!==t.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let a=!!i||(0,c.Ep)(s)===(0,c.Ep)(p);o(e,{replace:a,state:l})}}),[s,o,p,i,l,a,e])}(d,{replace:p,state:u,target:m});return(0,n.createElement)("a",i({},h,{href:g,onClick:function(e){a&&a(e),e.defaultPrevented||s||f(e)},ref:t,target:m}))}));const m=(0,n.forwardRef)((function(e,t){let{"aria-current":a="page",caseSensitive:c=!1,className:o="",end:p=!1,style:m,to:d,children:h}=e,g=l(e,s),f=(0,r.TH)(),v=(0,r.WU)(d),E=f.pathname,k=v.pathname;c||(E=E.toLowerCase(),k=k.toLowerCase());let b,y=E===k||!p&&E.startsWith(k)&&"/"===E.charAt(k.length),Z=y?a:void 0;b="function"==typeof o?o({isActive:y}):[o,y?"active":null].filter(Boolean).join(" ");let C="function"==typeof m?m({isActive:y}):m;return(0,n.createElement)(u,i({},g,{"aria-current":Z,className:b,ref:t,style:C,to:d}),"function"==typeof h?h({isActive:y}):h)}))},5439:(e,t,a)=>{"use strict";a.d(t,{AW:()=>s,F0:()=>p,TH:()=>h,WU:()=>f,Z5:()=>u,oQ:()=>m,s0:()=>g});var n=a(9196),c=a(5250);function r(e,t){if(!e)throw new Error(t)}const i=(0,n.createContext)(null);const l=(0,n.createContext)(null);const o=(0,n.createContext)({outlet:null,matches:[]});function s(e){r(!1)}function p(e){let{basename:t="/",children:a=null,location:o,navigationType:s=c.aU.Pop,navigator:p,static:u=!1}=e;d()&&r(!1);let m=M(t),h=(0,n.useMemo)((()=>({basename:m,navigator:p,static:u})),[m,p,u]);"string"==typeof o&&(o=(0,c.cP)(o));let{pathname:g="/",search:f="",hash:v="",state:E=null,key:k="default"}=o,b=(0,n.useMemo)((()=>{let e=x(g,m);return null==e?null:{pathname:e,search:f,hash:v,state:E,key:k}}),[m,g,f,v,E,k]);return null==b?null:(0,n.createElement)(i.Provider,{value:h},(0,n.createElement)(l.Provider,{children:a,value:{location:b,navigationType:s}}))}function u(e){let{children:t,location:a}=e;return function(e,t){d()||r(!1);let{matches:a}=(0,n.useContext)(o),i=a[a.length-1],l=i?i.params:{},s=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;0;let p,u=h();if(t){var m;let e="string"==typeof t?(0,c.cP)(t):t;"/"===s||(null==(m=e.pathname)?void 0:m.startsWith(s))||r(!1),p=e}else p=u;let g=p.pathname||"/",f="/"===s?g:g.slice(s.length)||"/",v=function(e,t,a){void 0===a&&(a="/");let n="string"==typeof t?(0,c.cP)(t):t,r=x(n.pathname||"/",a);if(null==r)return null;let i=E(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let a=e.length===t.length&&e.slice(0,-1).every(((e,a)=>e===t[a]));return a?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let l=null;for(let e=0;null==l&&eObject.assign({},e,{params:Object.assign({},l,e.params),pathname:I([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:I([s,e.pathnameBase])}))),a)}(v(t),a)}function m(e){d()||r(!1);let{basename:t,navigator:a}=(0,n.useContext)(i),{hash:l,pathname:o,search:s}=f(e),p=o;if("/"!==t){let a=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?(0,c.cP)(e).pathname:e.pathname}(e),n=null!=a&&a.endsWith("/");p="/"===o?t+(n?"/":""):I([t,o])}return a.createHref({pathname:p,search:s,hash:l})}function d(){return null!=(0,n.useContext)(l)}function h(){return d()||r(!1),(0,n.useContext)(l).location}function g(){d()||r(!1);let{basename:e,navigator:t}=(0,n.useContext)(i),{matches:a}=(0,n.useContext)(o),{pathname:c}=h(),l=JSON.stringify(a.map((e=>e.pathnameBase))),s=(0,n.useRef)(!1);return(0,n.useEffect)((()=>{s.current=!0})),(0,n.useCallback)((function(a,n){if(void 0===n&&(n={}),!s.current)return;if("number"==typeof a)return void t.go(a);let r=P(a,JSON.parse(l),c);"/"!==e&&(r.pathname=I([e,r.pathname])),(n.replace?t.replace:t.push)(r,n.state)}),[e,t,l,c])}function f(e){let{matches:t}=(0,n.useContext)(o),{pathname:a}=h(),c=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,n.useMemo)((()=>P(e,JSON.parse(c),a)),[e,c,a])}function v(e){let t=[];return n.Children.forEach(e,(e=>{if(!(0,n.isValidElement)(e))return;if(e.type===n.Fragment)return void t.push.apply(t,v(e.props.children));e.type!==s&&r(!1);let a={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(a.children=v(e.props.children)),t.push(a)})),t}function E(e,t,a,n){return void 0===t&&(t=[]),void 0===a&&(a=[]),void 0===n&&(n=""),e.forEach(((e,c)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:c,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(n)||r(!1),i.relativePath=i.relativePath.slice(n.length));let l=I([n,i.relativePath]),o=a.concat(i);e.children&&e.children.length>0&&(!0===e.index&&r(!1),E(e.children,t,o,l)),(null!=e.path||e.index)&&t.push({path:l,score:R(l,e.index),routesMeta:o})})),t}const k=/^:\w+$/,b=3,y=2,Z=1,C=10,_=-2,w=e=>"*"===e;function R(e,t){let a=e.split("/"),n=a.length;return a.some(w)&&(n+=_),t&&(n+=y),a.filter((e=>!w(e))).reduce(((e,t)=>e+(k.test(t)?b:""===t?Z:C)),n)}function j(e,t){let{routesMeta:a}=e,n={},c="/",r=[];for(let e=0;e(0,n.createElement)(o.Provider,{children:void 0!==c.route.element?c.route.element:a,value:{outlet:a,matches:t.concat(e.slice(0,r+1))}})),null)}function N(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[a,n]=function(e,t,a){void 0===t&&(t=!1);void 0===a&&(a=!0);let n=[],c="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(n.push(t),"([^\\/]+)")));e.endsWith("*")?(n.push("*"),c+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):c+=a?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";let r=new RegExp(c,t?void 0:"i");return[r,n]}(e.path,e.caseSensitive,e.end),c=t.match(a);if(!c)return null;let r=c[0],i=r.replace(/(.)\/+$/,"$1"),l=c.slice(1);return{params:n.reduce(((e,t,a)=>{if("*"===t){let e=l[a]||"";i=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(l[a]||""),e}),{}),pathname:r,pathnameBase:i,pattern:e}}function P(e,t,a){let n,r="string"==typeof e?(0,c.cP)(e):e,i=""===e||""===r.pathname?"/":r.pathname;if(null==i)n=a;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}n=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:a,search:n="",hash:r=""}="string"==typeof e?(0,c.cP)(e):e,i=a?a.startsWith("/")?a:function(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?a.length>1&&a.pop():"."!==e&&a.push(e)})),a.length>1?a.join("/"):"/"}(a,t):t;return{pathname:i,search:T(n),hash:L(r)}}(r,n);return i&&"/"!==i&&i.endsWith("/")&&!l.pathname.endsWith("/")&&(l.pathname+="/"),l}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=e.charAt(t.length);return a&&"/"!==a?null:e.slice(t.length)||"/"}const I=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),T=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},6975:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(951);const c=a.n(n)()("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 l={initialize:function(e,t,a){l.setUser(e,t),l.setSuperProps(a),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Bumping stats %o",e)}else a="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return a}(e,t);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+a+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Built stats %o",e)}else a="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return a}(e,t);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+a+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,a,n,c,r,i){l.ga.recordPurchase(e,t,a,n,c,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(c("- Super Props: %o",r),t=Object.assign(t,r)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};l.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.ga.initialize(),c("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,a,n){l.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==a&&(r+=" [Option Label: "+a+"]"),void 0!==n&&(r+=" [Option Value: "+n+"]"),c(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,a,n)},recordPurchase:function(e,t,a,n,c,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:a,price:c,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"])}},o=l},4743:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>u});var n=a(1132),c=a(6483);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=r("JsonParseError"),l=r("JsonParseAfterRedirectError"),o=r("Api404Error"),s=r("Api404AfterRedirectError"),p=r("FetchNetworkError");const u=new function(e,t){let a=e,r=e,i={"X-WP-Nonce":t},l={credentials:"same-origin",headers:i},o={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},s=function(e){const t=e.split("?"),a=t.length>1?t[1]:"",n=a.length?a.split("&"):[];return n.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+n.join("&")};const p={setApiRoot(e){a=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){i={"X-WP-Nonce":e},l={credentials:"same-origin",headers:i},o={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{s=e},registerSite:(e,t)=>{const c={registration_nonce:e,no_iframe:!0};return(0,n.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,n.jetpackConfigGet)("consumer_slug")),null!==t&&(c.redirect_uri=t),h(`${a}jetpack/v4/connection/register`,o,{body:JSON.stringify(c)}).then(m).then(d)},fetchAuthorizationUrl:e=>u((0,c.addQueryArgs)(`${a}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),l).then(m).then(d),fetchSiteConnectionData:()=>u(`${a}jetpack/v4/connection/data`,l).then(d),fetchSiteConnectionStatus:()=>u(`${a}jetpack/v4/connection`,l).then(d),fetchSiteConnectionTest:()=>u(`${a}jetpack/v4/connection/test`,l).then(m).then(d),fetchUserConnectionData:()=>u(`${a}jetpack/v4/connection/data`,l).then(d),fetchUserTrackingSettings:()=>u(`${a}jetpack/v4/tracking/settings`,l).then(m).then(d),updateUserTrackingSettings:e=>h(`${a}jetpack/v4/tracking/settings`,o,{body:JSON.stringify(e)}).then(m).then(d),disconnectSite:()=>h(`${a}jetpack/v4/connection`,o,{body:JSON.stringify({isActive:!1})}).then(m).then(d),fetchConnectUrl:()=>u(`${a}jetpack/v4/connection/url`,l).then(m).then(d),unlinkUser:()=>h(`${a}jetpack/v4/connection/user`,o,{body:JSON.stringify({linked:!1})}).then(m).then(d),reconnect:()=>h(`${a}jetpack/v4/connection/reconnect`,o).then(m).then(d),fetchConnectedPlugins:()=>u(`${a}jetpack/v4/connection/plugins`,l).then(m).then(d),setHasSeenWCConnectionModal:()=>h(`${a}jetpack/v4/seen-wc-connection-modal`,o).then(m).then(d),fetchModules:()=>u(`${a}jetpack/v4/module/all`,l).then(m).then(d),fetchModule:e=>u(`${a}jetpack/v4/module/${e}`,l).then(m).then(d),activateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,o,{body:JSON.stringify({active:!0})}).then(m).then(d),deactivateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,o,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${a}jetpack/v4/module/${e}`,o,{body:JSON.stringify(t)}).then(m).then(d),updateSettings:e=>h(`${a}jetpack/v4/settings`,o,{body:JSON.stringify(e)}).then(m).then(d),getProtectCount:()=>u(`${a}jetpack/v4/module/protect/data`,l).then(m).then(d),resetOptions:e=>h(`${a}jetpack/v4/options/${e}`,o,{body:JSON.stringify({reset:!0})}).then(m).then(d),activateVaultPress:()=>h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(d),getVaultPressData:()=>u(`${a}jetpack/v4/module/vaultpress/data`,l).then(m).then(d),installPlugin:(e,t)=>{const n={slug:e,status:"active"};return t&&(n.source=t),h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify(n)}).then(m).then(d)},activateAkismet:()=>h(`${a}jetpack/v4/plugins`,o,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(d),getAkismetData:()=>u(`${a}jetpack/v4/module/akismet/data`,l).then(m).then(d),checkAkismetKey:()=>u(`${a}jetpack/v4/module/akismet/key/check`,l).then(m).then(d),checkAkismetKeyTyped:e=>h(`${a}jetpack/v4/module/akismet/key/check`,o,{body:JSON.stringify({api_key:e})}).then(m).then(d),fetchStatsData:e=>u(function(e){let t=`${a}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),l).then(m).then(d).then(f),getPluginUpdates:()=>u(`${a}jetpack/v4/updates/plugins`,l).then(m).then(d),getPlans:()=>u(`${a}jetpack/v4/plans`,l).then(m).then(d),fetchSettings:()=>u(`${a}jetpack/v4/settings`,l).then(m).then(d),updateSetting:e=>h(`${a}jetpack/v4/settings`,o,{body:JSON.stringify(e)}).then(m).then(d),fetchSiteData:()=>u(`${a}jetpack/v4/site`,l).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${a}jetpack/v4/site/features`,l).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${a}jetpack/v4/site/products`,l).then(m).then(d),fetchSitePurchases:()=>u(`${a}jetpack/v4/site/purchases`,l).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${a}jetpack/v4/site/benefits`,l).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${a}jetpack/v4/site/discount`,l).then(m).then(d).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${a}jetpack/v4/setup/questionnaire`,l).then(m).then(d),fetchRecommendationsData:()=>u(`${a}jetpack/v4/recommendations/data`,l).then(m).then(d),fetchRecommendationsProductSuggestions:()=>u(`${a}jetpack/v4/recommendations/product-suggestions`,l).then(m).then(d),fetchRecommendationsUpsell:()=>u(`${a}jetpack/v4/recommendations/upsell`,l).then(m).then(d),fetchRecommendationsConditional:()=>u(`${a}jetpack/v4/recommendations/conditional`,l).then(m).then(d),saveRecommendationsData:e=>h(`${a}jetpack/v4/recommendations/data`,o,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>u(`${a}jetpack/v4/products`,l).then(m).then(d),fetchRewindStatus:()=>u(`${a}jetpack/v4/rewind`,l).then(m).then(d).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${a}jetpack/v4/scan`,l).then(m).then(d).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${a}jetpack/v4/notice/${e}`,o,{body:JSON.stringify({dismissed:!0})}).then(m).then(d),fetchPluginsData:()=>u(`${a}jetpack/v4/plugins`,l).then(m).then(d),fetchIntroOffers:()=>u(`${a}jetpack/v4/intro-offers`,l).then(m).then(d),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${a}jetpack/v4/verify-site/google/${e}`:`${a}jetpack/v4/verify-site/google`,l).then(m).then(d),verifySiteGoogle:e=>h(`${a}jetpack/v4/verify-site/google`,o,{body:JSON.stringify({keyring_id:e})}).then(m).then(d),submitSurvey:e=>h(`${a}jetpack/v4/marketing/survey`,o,{body:JSON.stringify(e)}).then(m).then(d),saveSetupQuestionnaire:e=>h(`${a}jetpack/v4/setup/questionnaire`,o,{body:JSON.stringify(e)}).then(m).then(d),updateLicensingError:e=>h(`${a}jetpack/v4/licensing/error`,o,{body:JSON.stringify(e)}).then(m).then(d),updateLicenseKey:e=>h(`${a}jetpack/v4/licensing/set-license`,o,{body:JSON.stringify({license:e})}).then(m).then(d),getUserLicensesCounts:()=>u(`${a}jetpack/v4/licensing/user/counts`,l).then(m).then(d),getUserLicenses:()=>u(`${a}jetpack/v4/licensing/user/licenses`,l).then(m).then(d),updateLicensingActivationNoticeDismiss:e=>h(`${a}jetpack/v4/licensing/user/activation-notice-dismiss`,o,{body:JSON.stringify({last_detached_count:e})}).then(m).then(d),updateRecommendationsStep:e=>h(`${a}jetpack/v4/recommendations/step`,o,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>h(`${a}jetpack/v4/identity-crisis/confirm-safe-mode`,o).then(m),startIDCFresh:e=>h(`${a}jetpack/v4/identity-crisis/start-fresh`,o,{body:JSON.stringify({redirect_uri:e})}).then(m).then(d),migrateIDC:()=>h(`${a}jetpack/v4/identity-crisis/migrate`,o).then(m),attachLicenses:e=>h(`${a}jetpack/v4/licensing/attach-licenses`,o,{body:JSON.stringify({licenses:e})}).then(m).then(d),fetchSearchPlanInfo:()=>u(`${r}jetpack/v4/search/plan`,l).then(m).then(d),fetchSearchSettings:()=>u(`${r}jetpack/v4/search/settings`,l).then(m).then(d),updateSearchSettings:e=>h(`${r}jetpack/v4/search/settings`,o,{body:JSON.stringify(e)}).then(m).then(d),fetchSearchStats:()=>u(`${r}jetpack/v4/search/stats`,l).then(m).then(d),fetchWafSettings:()=>u(`${a}jetpack/v4/waf`,l).then(m).then(d),updateWafSettings:e=>h(`${a}jetpack/v4/waf`,o,{body:JSON.stringify(e)}).then(m).then(d),fetchWordAdsSettings:()=>u(`${a}jetpack/v4/wordads/settings`,l).then(m).then(d),updateWordAdsSettings:e=>h(`${a}jetpack/v4/wordads/settings`,o,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${r}jetpack/v4/search/pricing`,l).then(m).then(d),fetchMigrationStatus:()=>u(`${a}jetpack/v4/migration/status`,l).then(m).then(d),fetchBackupUndoEvent:()=>u(`${a}jetpack/v4/site/backup/undo-event`,l).then(m).then(d)};function u(e,t){return fetch(s(e),t)}function h(e,t,a){return fetch(e,Object.assign({},t,a)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new s(e.redirected):new o})):e.json().catch((e=>h(e))).then((t=>{const a=new Error(`${t.message} (Status ${e.status})`);throw a.response=t,a.name="ApiError",a}))}function d(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,a){throw t?new l(a):new i}function g(){throw new p}},9105:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5736),c=a(5235),r=a.n(c),i=a(8237),l=a(8868),o=a(3846),s=a(3363),p=a(1494);const __=n.__,u=e=>{let{children:t,moduleName:a=__("Jetpack","jetpack-protect"),moduleNameHref:n,showHeader:c=!0,showFooter:u=!0,showBackground:m=!0,header:d}=e;const h=r()(p.Z["admin-page"],{[p.Z.background]:m});return React.createElement("div",{className:h},c&&React.createElement(s.Z,{horizontalSpacing:5},React.createElement(o.Z,null,d||React.createElement(l.Z,null))),React.createElement(s.Z,{fluid:!0,horizontalSpacing:0},React.createElement(o.Z,null,t)),u&&React.createElement(s.Z,{horizontalSpacing:5},React.createElement(o.Z,null,React.createElement(i.Z,{moduleName:a,moduleNameHref:n}))))}},216:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(9196),c=a.n(n),r=a(281);const i=e=>{let{children:t}=e;return c().createElement("div",{className:r.Z["section-hero"]},t)}},7525:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2674),c=a.n(n),r=a(5736),i=a(5235),l=a.n(i),o=a(9196),s=a.n(o);const __=r.__,p=e=>{let{title:t=__("An Automattic Airline","jetpack-protect"),height:a=7,className:n,...r}=e;return s().createElement("svg",c()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:a,className:l()("jp-automattic-byline-logo",n)},r),s().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),s().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"}),s().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"}),s().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,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(2674),c=a.n(n),r=a(5609),i=a(1074),l=a(5381),o=a(5235),s=a.n(o),p=a(9196),u=a.n(p),m=a(3466);const d=(0,p.forwardRef)(((e,t)=>{const{children:a,variant:n="primary",size:o="normal",weight:p="bold",icon:d,iconSize:h,disabled:g,isDestructive:f,isLoading:v,isExternalLink:E,className:k,text:b,fullWidth:y,...Z}=e,C=s()(m.Z.button,k,{[m.Z.normal]:"normal"===o,[m.Z.small]:"small"===o,[m.Z.icon]:Boolean(d),[m.Z.loading]:v,[m.Z.regular]:"regular"===p,[m.Z["full-width"]]:y,[m.Z["is-icon-button"]]:Boolean(d)&&!a});Z.ref=t;const _="normal"===o?20:16,w=E&&u().createElement(i.Z,{size:_,icon:l.Z,className:m.Z["external-icon"]}),R=E?"_blank":void 0,j=a?.[0]&&null!==a[0]&&"components-tooltip"!==a?.[0]?.props?.className;return u().createElement(r.Button,c()({target:R,variant:n,className:s()(C,{"has-text":!!d&&j}),icon:E?void 0:d,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:b},Z),v&&u().createElement(r.Spinner,null),u().createElement("span",null,a),w)}));d.displayName="Button";const h=d},857:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(1074),c=a(495),r=a(5235),i=a.n(r),l=a(9665),o=a(5106),s=a(1489);const p=e=>{let{description:t,cta:a,onClick:r,href:p,openInNewTab:u=!1,className:m,tooltipText:d=""}=e;const h=void 0!==p?"a":"button",g="a"===h?{href:p,...u&&{target:"_blank"}}:{onClick:r};return React.createElement("div",{className:i()(s.Z.cut,m)},React.createElement("div",null,React.createElement("div",null,React.createElement(o.ZP,{className:s.Z.description},t),d&&React.createElement(l.Z,{className:s.Z.iconContainer,iconSize:16,offset:4},React.createElement(o.ZP,{variant:"body-small"},d))),React.createElement("div",null,React.createElement(h,g,React.createElement(o.ZP,{className:s.Z.cta},a)))),React.createElement(n.Z,{icon:c.Z,className:s.Z.icon,size:30}))}},7172:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(17),c=a.n(n),r=a(5736),i=a(5235),l=a.n(i),o=a(9196);a(5785);const __=r.__;class s extends o.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-protect");case"gridicons-arrow-left":return __("Arrow left","jetpack-protect");case"gridicons-arrow-right":return __("Arrow right","jetpack-protect");case"gridicons-calendar":return __("Is an event.","jetpack-protect");case"gridicons-cart":return __("Is a product.","jetpack-protect");case"chevron-down":return __("Show filters","jetpack-protect");case"gridicons-comment":return __("Matching comment.","jetpack-protect");case"gridicons-cross":return __("Close.","jetpack-protect");case"gridicons-filter":return __("Toggle search filters.","jetpack-protect");case"gridicons-folder":return __("Category","jetpack-protect");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-protect");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-protect");case"gridicons-image":return __("Has an image.","jetpack-protect");case"gridicons-page":return __("Page","jetpack-protect");case"gridicons-post":return __("Post","jetpack-protect");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-protect");case"gridicons-tag":return __("Tag","jetpack-protect");case"gridicons-video":return __("Has a video.","jetpack-protect")}}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,a=this.props.height||e,n=this.props.width||e,c=this.props.style||{height:a,width:n},r="gridicons-"+this.props.icon,i=l()("gridicon",r,t,{"needs-offset":this.needsOffset(r,e)}),o=this.getSVGDescription(r);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:a,onClick:this.props.onClick,style:c,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},o?React.createElement("desc",null,o):null,this.renderIcon(r))}}c()(s,"defaultProps",{"aria-hidden":"false",focusable:"true"});const p=s},9665:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5609),c=a(5235),r=a.n(c),i=a(9196),l=a.n(i),o=a(526),s=a(7172);a(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:a="",placement:c="bottom-end",animate:u=!0,iconCode:m="info-outline",iconSize:d=18,offset:h=10,title:g,children:f,popoverAnchorStyle:v="icon",forceShow:E=!1,wide:k=!1}=e;const[b,y]=(0,i.useState)(!1),Z=(0,i.useCallback)((()=>y(!0)),[y]),C=(0,i.useCallback)((()=>y(!1)),[y]),_={position:p(c),placement:c,animate:u,noArrow:!1,resize:!1,flip:!1,offset:h,focusOnMount:"container",onClose:C,className:"icon-tooltip-container"},w="wrapper"===v,R=r()("icon-tooltip-wrapper",t),j={left:w?0:-(62-d/2)+"px"},S=w&&E;return l().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper"},!w&&l().createElement(o.Z,{variant:"link",onClick:Z},l().createElement(s.Z,{className:a,icon:m,size:d})),l().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":k}),style:j},(S||b)&&l().createElement(n.Popover,_,l().createElement("div",null,g&&l().createElement("div",{className:"icon-tooltip-title"},g),l().createElement("div",{className:"icon-tooltip-content"},f)))))}},3396:(e,t,a)=>{"use strict";a.d(t,{VS:()=>m});var n=a(2674),c=a.n(n),r=a(5609),i=a(5235),l=a.n(i),o=a(5612);const s=e=>{let{className:t,size:a=24,viewBox:n="0 0 24 24",opacity:i=1,color:s="#2C3338",children:p}=e;const u={className:l()(o.Z.iconWrapper,t),width:a,height:a,viewBox:n,opacity:i,fill:void 0};return s&&(u.fill=s),React.createElement(r.SVG,c()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:i},p))},p=e=>{let{className:t,fill:a="none",size:n,children:c}=e;return React.createElement(s,{className:l()(o.Z.socialIcon,t),size:n,color:a},c)},u={...{"anti-spam":e=>{let{opacity:t=1,size:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,className:n,color:c}=e;return React.createElement(s,{className:n,size:a,opacity:t,color:c},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:e=>{let{size:t,className:a=o.Z["star-icon"],color:n}=e;return React.createElement(s,{className:a,size:t,color:n},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"}))},videopress:e=>{let{opacity:t=1,size:a,color:n}=e;return React.createElement(s,{size:a,opacity:t,color:n},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:e=>{let{size:t,className:a=o.Z.jetpack,color:n}=e;return React.createElement(s,{className:a,size:t,color:n,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"}))}},...{facebook:e=>{let{fill:t,size:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.facebook,n)},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:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.instagram,n)},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:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.twitter,n)},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:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.linkedin,n)},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:a,className:n,invert:c}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.tumblr,n)},c?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:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.google,n)},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:a,className:n}=e;return React.createElement(p,{fill:t,size:a,className:l()(o.Z.mastodon,n)},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 m(e){return u[e]?u[e]:null}},8237:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(2674),c=a.n(n),r=a(9818),i=a(5736),l=a(1074),o=a(5381),s=a(5235),p=a.n(s),u=a(9196),m=a.n(u),d=a(6895),h=a(428),g=a(7525),f=(a(9054),a(8868)),v=a(2054);const __=i.__,_x=i._x,E=()=>m().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),k=e=>{let{moduleName:t=__("Jetpack","jetpack-protect"),className:a,moduleNameHref:n="https://jetpack.com",menu:i,siteAdminUrl:s,onAboutClick:u,onPrivacyClick:f,onTermsClick:k,...b}=e;const[y]=(0,v.Z)("sm","<="),[Z]=(0,v.Z)("md","<="),[C]=(0,v.Z)("lg",">"),{isActive:_,connectedPlugins:w}=(0,r.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),R=s&&_&&w?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let j=[{label:_x("About","Link to learn more about Jetpack.","jetpack-protect"),title:__("About Jetpack","jetpack-protect"),href:R?new URL("admin.php?page=jetpack_about",s).href:(0,d.Z)("jetpack-about"),target:"_blank",onClick:u},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-protect"),title:__("Automattic's Privacy Policy","jetpack-protect"),href:R?new URL("admin.php?page=jetpack#/privacy",s).href:(0,d.Z)("a8c-privacy"),target:R?"_self":"_blank",onClick:f},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-protect"),title:__("WordPress.com Terms of Service","jetpack-protect"),href:(0,d.Z)("wpcom-tos"),target:"_blank",onClick:k}];i&&(j=[...j,...i]);const S=m().createElement(m().Fragment,null,m().createElement(E,null),t);return m().createElement("footer",c()({className:p()("jp-dashboard-footer",{"is-sm":y,"is-md":Z,"is-lg":C},a),"aria-label":__("Jetpack","jetpack-protect")},b),m().createElement("ul",null,m().createElement("li",{className:"jp-dashboard-footer__jp-item"},n?m().createElement("a",{href:n},S):S),j.map((e=>{const t="button"===e.role,a=!t&&"_blank"===e.target;return m().createElement("li",{key:e.label},m().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:p()("jp-dashboard-footer__menu-item",{"is-external":a}),role:e.role,rel:a?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,a&&m().createElement(l.Z,{icon:o.Z,size:16})))})),m().createElement("li",{className:"jp-dashboard-footer__a8c-item"},m().createElement("a",{href:R?new URL("admin.php?page=jetpack_about",s).href:(0,d.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-protect")},m().createElement(g.Z,{"aria-hidden":"true"})))))}},8868:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2674),c=a.n(n),r=a(5736),i=a(5235),l=a.n(i),o=a(9196),s=a.n(o);const __=r.__,p=e=>{let{logoColor:t="#069e08",showText:a=!0,className:n,height:r=32,...i}=e;const o=a?"0 0 118 32":"0 0 32 32";return s().createElement("svg",c()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:l()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:r},i),s().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-protect")),s().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"}),a&&s().createElement(s().Fragment,null,s().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"}),s().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"}),s().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"}),s().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"}),s().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"}),s().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"}),s().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},3846:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(5235),c=a.n(n),r=a(9196),i=a(3080);const l=Number(i.Z.smCols),o=Number(i.Z.mdCols),s=Number(i.Z.lgCols),p=e=>{const{children:t,tagName:a="div",className:n}=e,p=Math.min(l,"number"==typeof e.sm?e.sm:l),u=Math.min(l,"object"==typeof e.sm?e.sm.start:0),m=Math.min(l,"object"==typeof e.sm?e.sm.end:0),d=Math.min(o,"number"==typeof e.md?e.md:o),h=Math.min(o,"object"==typeof e.md?e.md.start:0),g=Math.min(o,"object"==typeof e.md?e.md.end:0),f=Math.min(s,"number"==typeof e.lg?e.lg:s),v=Math.min(s,"object"==typeof e.lg?e.lg.start:0),E=Math.min(s,"object"==typeof e.lg?e.lg.end:0),k=c()(n,{[i.Z[`col-sm-${p}`]]:!(u&&m),[i.Z[`col-sm-${u}-start`]]:u>0,[i.Z[`col-sm-${m}-end`]]:m>0,[i.Z[`col-md-${d}`]]:!(h&&g),[i.Z[`col-md-${h}-start`]]:h>0,[i.Z[`col-md-${g}-end`]]:g>0,[i.Z[`col-lg-${f}`]]:!(v&&E),[i.Z[`col-lg-${v}-start`]]:v>0,[i.Z[`col-lg-${E}-end`]]:E>0});return(0,r.createElement)(a,{className:k},t)}},3363:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5235),c=a.n(n),r=a(9196),i=a(8730);const l=e=>{let{children:t,fluid:a=!1,tagName:n="div",className:l,horizontalGap:o=1,horizontalSpacing:s=1}=e;const p=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${s} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${o} )`}}),[o,s]),u=c()(l,i.Z.container,{[i.Z.fluid]:a});return(0,r.createElement)(n,{className:u,style:p},t)}},2054:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(4333),c=a(3247);const r=["sm","md","lg"],i=(e,t)=>{const a=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[l,o,s]=r,p={sm:(0,n.useMediaQuery)(c.Z[l]),md:(0,n.useMediaQuery)(c.Z[o]),lg:(0,n.useMediaQuery)(c.Z[s])};return a.map(((e,t)=>{const a=i[t];return a?((e,t,a)=>{const n=r.indexOf(e),c=n+1,i=t.includes("=");let l=[];return t.startsWith("<")&&(l=r.slice(0,i?c:n)),t.startsWith(">")&&(l=r.slice(i?n:c)),l?.length?l.some((e=>a[e])):a[e]})(e,a,p):p[e]}))}},1342:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(797),c=a(496),r=a(9201),i=a(1074),l=a(9517),o=a(5235),s=a.n(o),p=a(9196),u=a.n(p),m=a(7703);const d=e=>{switch(e){case"error":case"warning":default:return n.Z;case"info":return c.Z;case"success":return r.Z}},h=e=>{let{level:t,title:a,children:n,actions:c,hideCloseButton:r,onClose:o}=e;const p=s()(m.Z.container,m.Z[`is-${t}`]);return u().createElement("div",{className:p},u().createElement("div",{className:m.Z["icon-wrapper"]},u().createElement(i.Z,{icon:d(t),className:m.Z.icon})),u().createElement("div",{className:m.Z["main-content"]},u().createElement("div",{className:m.Z.title},a),n,c&&c.length>0&&u().createElement("div",{className:m.Z["action-bar"]},c.map(((e,t)=>u().createElement("div",{key:t,className:m.Z.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:m.Z["close-button"],onClick:o},u().createElement(i.Z,{icon:l.Z})))};h.defaultProps={level:"info",hideCloseButton:!1};const g=h},9608:(e,t,a)=>{"use strict";a.d(t,{NE:()=>y,ZP:()=>C,kF:()=>b,oK:()=>Z});var n=a(5736),c=a(1074),r=a(9201),i=a(6163),l=a(5235),o=a.n(l),s=a(9196),p=a.n(s),u=a(9665),m=a(2054),d=a(7325),h=a(5106),g=a(9929);const __=n.__,f=__("Included","jetpack-protect"),v=__("Not included","jetpack-protect"),E=__("Coming soon","jetpack-protect"),k=(0,s.createContext)(void 0),b=e=>{let{isIncluded:t=!1,isComingSoon:a=!1,index:l=0,label:d=null,tooltipInfo:b,tooltipTitle:y,tooltipClassName:Z=""}=e;const[C]=(0,m.Z)("lg"),_=(0,s.useContext)(k)[l],w=a||t,R=_.name,j=_.tooltipInfo,S=_.tooltipTitle,N=b||!C&&j,P=((e,t,a)=>e?{lg:E, +!function(){var e={9487:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});const a={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function c(e){return a[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:function(e,t,n){"use strict";n.d(t,{LR:function(){return r}});var a=n(9487),c=n(2003);function r(e,t,n={}){const r=(0,a.X)(t);if(!r||isNaN(e))return null;const{decimal:i,grouping:o,precision:l,symbol:s}={...r,...n},u=e<0?"-":"",p=Math.abs(e),m=Math.floor(p);return{sign:u,symbol:s,integer:(0,c.Z)(p,l,i,o).split(i)[0],fraction:l>0?(0,c.Z)(p-m,l,i,o).slice(1):""}}},2003:function(e,t,n){"use strict";function a(e,t=0,n=".",a=","){const c=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+c)?+c: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,a)),(o[1]||"").length{"%%"!==e&&(a++,"%c"===e&&(c=a))})),t.splice(c,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:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:function(e,t,n){e.exports=function(e){function t(e){let n,c,r,i=null;function o(...e){if(!o.enabled)return;const a=o,c=Number(new Date),r=c-(n||c);a.diff=r,a.prev=n,a.curr=c,n=c,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,c)=>{if("%%"===n)return"%";i++;const r=t.formatters[c];if("function"==typeof r){const t=e[i];n=r.call(a,t),e.splice(i,1),i--}return n})),t.formatArgs.call(a,e);(a.log||t.log).apply(a,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=a,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(c!==t.namespaces&&(c=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(o),o}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function c(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(c),...t.skips.map(c).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),c=a.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;t1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],c=[],r=0;function i(){var e={};for(c.push(e);r=0&&(t.hash=e.substr(n),e=e.substr(0,n));var a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}},1494:function(e,t){"use strict";t.Z={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},281:function(e,t){"use strict";t.Z={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},3466:function(e,t){"use strict";t.Z={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},1489:function(e,t){"use strict";t.Z={cut:"msOlyh2T7D6uhbM6AROg",icon:"cPN7USVqSBpxUswfDtUZ",cta:"EmnJAyEzzn1QpA8HtypY",iconContainer:"vV7YZikAz0oHYsuvtxMq",description:"T1YaMupeZmBIpXZHY9EZ"}},5785:function(){},1275:function(){},5612:function(e,t){"use strict";t.Z={"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:function(){},3247:function(e,t){"use strict";t.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:function(e,t){"use strict";t.Z={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:function(e,t){"use strict";t.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},7703:function(e,t){"use strict";t.Z={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:function(e,t){"use strict";t.Z={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:function(e,t){"use strict";t.Z={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:function(){},7920:function(){},3280:function(e,t){"use strict";t.Z={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},3591:function(e,t){"use strict";t.Z={global:"_fUXxnSp5pagKBp9gSN7"}},9836:function(e,t){"use strict";t.Z={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},3900:function(e,t){"use strict";t.Z={navigation:"vvXnRXxrU1kP1KsdSr4J",badge:"aDCTkUFaJEeZzYYE6qv5"}},9993:function(e,t){"use strict";t.Z={container:"EU0Rvu4PDqVtnCAmbgHg"}},4424:function(e,t){"use strict";t.Z={loading:"kdsaL7c4bpTwf_A4fIUT",loading__message:"b0eN3as5AgxQW7EAkarg"}},3064:function(e,t){"use strict";t.Z={footer:"_Wc3apZobag_9Ag_THTb"}},9137:function(e,t){"use strict";t.Z={"diff-viewer":"LumryWNddoF092fZgN2O","diff-viewer__filename":"NFMwU3H5k2qArZe2TTp9","diff-viewer__file":"G5W9M8qfo3sGl2OIbwg9","diff-viewer__line-numbers":"Bx4RDCUR316fm_jgGS8N","diff-viewer__lines":"GhN0JvAyRQI3SnVWp2Ot"}},3932:function(e,t){"use strict";t.Z={"footer-checkbox":"uQlXhcfYn9tbnK27_Gct","standalone-mode-section":"e5YHJiYcvfgdEEJsS_YM","share-data-section":"PO9zDOaSkcv_RqpfZF_v"}},8452:function(e,t){"use strict";t.Z={status:"gTWkHo5lqwE_OCesAhBx",active:"JeLxNe31ii68Utrr2xr6",spinner:"V6B8ltQ7TH3UKzUC_qy1","firewall-subheading":"C9hcvYAbgHPhN2Tl22xg","brute-force-protection-subheading":"XkbIpr2gzB4XEhHgzkY4","firewall-subheading__content":"BfcZn0_X33Ajdd1Gl18G","icon-popover":"rBmVJIeTNpd0RJWaRGuJ","upgrade-button":"jVq5444f1Xh6nNkz0Qe_","firewall-header":"amF9cOnMiv2nHbkMXQiQ","stat-card-wrapper":"FodE_7RbLD8zeBSd6eVR","popover-text":"twyPhW_K164HITnDrwEg","loading-text":"tbcd9xc_TjcFdokOt3F_","firewall-heading":"pnoqLV3l30xuvj2hLlJc"}},4854:function(e,t){"use strict";t.Z={container:"DM4b8iQ0ewvRYdIPxvZ8","toggle-section":"bW6ZuNzJBYU5PVPktE2S","toggle-section__control":"di3wjXHrX1rk_H6rlxKM","toggle-section__content":"IrzHnNkRvORtyCL0yiWa","toggle-section__title":"sU82bpLEYPC9n_CFAKoz","toggle-section--disabled":"ZZc0LldcbJpcftqCe43T","toggle-section__details":"T17WOOJI7XHN7KRmYaCe","automatic-rules-stats":"typbjN2keZ97hj2TmuMC","automatic-rules-stats__version":"UUXAN8VTAZY0h8t9rCHG","automatic-rules-stats__last-updated":"eFjcadLMEXY5O61vsTrx","automatic-rules-stats__failed-install":"Tr5uYvclUiwlC5kuGk7E","manual-rules-stats":"zPZcNgYx2X5778nHHtlH","manual-rules-stats__no-rules":"lNtkRXnB1z_kYB28MUWq","manual-rules-stats__block-list-count":"JgH5ykcLynEgqXYurT78","manual-rules-stats__allow-list-count":"xlWW0IoKZwTZt1Ti0tcQ","upgrade-trigger-section":"zhBcgCUGgyC7PvWk8ewB","manual-rules-section":"mah_f2OWxZ3Vqt_jRFdR","brute-force-rules-section":"pRMFiIODonlw4XMdNHaU","go-back-button":"Ax2SmW57c0U5xOTjZuAA",badge:"xGZeYQr0_nPJTFmd8pW4",popover:"RYTIt8kwLbKcUbWOfG4g",popover__header:"BqXge2rIUP0a_74yvYbr",popover__button:"Lr10UUCcSLF3T_0QqoPr",popover__footer:"th_VukMuODIOVLC7oJo6",status:"Gxtap1Zcl5X5UEHfSdQ4",active:"dSfmCVUK_Ez7sxdqOIdy","current-ip-text":"e6JXg_theht0XwCBgqdA"}},5823:function(e,t){"use strict";t.Z={list:"sQkG5Cu80gPaeFj3L_wa",footer:"oIl6GCMeUnzE0inXbuj9"}},7279:function(e,t){"use strict";t.Z={list:"RP2MVoGqaCFXPKZhhxQ1",footer:"YpEs8b7KE7fzVuXUbOEb"}},1234:function(e,t){"use strict";t.Z={"form-toggle":"IunwKwdvL271DxBIniPb","form-toggle__switch":"svA9WxEcOByd5S2fZonA","is-compact":"wOd7DeP76v1fczKfah5n"}},9122:function(e,t){"use strict";t.Z={accordion:"x8UuVEhWucPfdq0hEJg6","accordion-item":"eb6Ovfvm1yONz4mdOwbH","accordion-header":"jF9LXpXR3TxZVDw7TVXT","accordion-header-label":"lNQgAfpwdAUSOLZd8dlD","accordion-header-label-icon":"WRQwDYPdffWznX158azR","accordion-header-description":"dJx9pvlYjDnKn11n5wo8","accordion-header-button":"EKcbLuSblRc7UpzgsFXw","accordion-body":"ILMBWlMLcXc0n97IisrG","accordion-body-close":"T8XIzCNJBQy1UETN5gjU","accordion-body-open":"kWoHGiaZSbq9XJVyUOMC"}},6983:function(e,t){"use strict";t.Z={threat:"EqpwvErHtRi_WQkJKgi1",threat__icon:"EicvN1QaJu5OJLzdUN5A",threat__summary:"b7ynAmUwGlxK_vxyIN0y",threat__summary__label:"uSV9HYRxjL4S6zIZDlqP",threat__summary__title:"XpW8Mvw_XFEbqxUdw155",threat__severity:"Fkj60BmQ5sUo9zHcJwVv",footer:"XLzPr74ad3osCq9kxy2q"}},2951:function(e,t){"use strict";t.Z={"protect-header":"UL3B1tQ854mN7r6taB61","get-started-button":"IG56Hw7ZR_7rKVsM78qw"}},8735:function(e,t){"use strict";t.Z={"marked-lines":"xpPHTch5ul0xuZaUoTNa","marked-lines__marked-line":"AMOpkL9LURkyTK8316cw","marked-lines__line-numbers":"i0_0xMrNWoak1brIaDQq","marked-lines__line-number":"C9fLawPLkMNSZthfwxj6","marked-lines__lines":"ogixgg8fRGekmYGtevh1","marked-lines__line":"jYPCgKMDRKfT3vnx0mdG","marked-lines__mark":"UEQ1NqkrwNmaQR7qdEK3"}},9980:function(e,t){"use strict";t.Z={modal:"WtVEv641JBaLl929sZq2",modal__window:"G0aPt7WmA1rkUE0wcTno",modal__close:"VkrhWjfEIlIwYEumycbP",modal__close__icon:"yFzeV4cmWRbZKk5tIyEw"}},513:function(e,t){"use strict";t.Z={navigation:"HQgjxePFDRJHamBAGcVU","navigation-item":"KtdsNIMumOoHNWMLmuAJ",clickable:"ewyV4ZGn34WDNXmK3ej2",selected:"owofT85W_XvVdb5vr1GN","navigation-item-label":"NESnw2xCLrBpP6WlYZL4","navigation-item-icon":"aohnd_y_1lrMuww8NH63","navigation-item-badge":"Rnas_2_2_eLZSYfZ347E","navigation-item-label-text":"m4_14yNRByDyO9yf9pGg","navigation-item-check-badge":"X8NRHUTBa_4wDvoHN9TT","navigation-item-info-badge":"CsuOteurQlJm4IjXqyZ0","navigation-group":"fvbewglUxEvV1o04yzzp","navigation-group-label":"DINy59MKjwiQanaoDTiV","navigation-group-content":"XoacHJljw8zRW_fkBSyg","navigation-group-list":"mXM4WZRePVTa07dhQ6MD","navigation-group-truncate":"sI3V8khLdCqxkhJQ_XnI","popover-text":"hgdxMuIvZwTZ0sfXaols","navigation-dropdown-button":"UErHS2HAh1gszGfYuVIf","navigation-dropdown-label":"lEhH1hvCcxLVFMHI8Gwv","navigation-dropdown-icon":"c57Vj4QhAHwcK_HZMxtN","navigation-dropdown-open":"t5TwI3d3FnCJvFBlkmm5","navigation-dropdown-closed":"kSa6ERuVPsCMPXugb030"}},8212:function(e,t){"use strict";t.Z={notice:"_aiMxmJRAw5jRPbZFX57","notice--info":"eWgNBUaexiR66ZI1Px4U","notice--floating":"ZGELG1CO333FilJXOaeI",notice__icon:"BnI88X_e8ItF1c9Uozmj","notice--success":"hRRUwTCPRpurhMwRNZkg","notice--error":"Z6q3IxY_uR1y2lAPTkVF",notice__message:"ST8sowTbBVLRPrk4ZQrn",notice__close:"lMkO08Vd8YQMfwrwaI8u"}},7324:function(e,t){"use strict";t.Z={accordion:"sfXsfklfkeSRtE9ivQwF","accordion-item":"ozRrKPlj1QFGUyd3oVke","accordion-header":"PyvnSHQuuUkZvVsArigy","accordion-header-label":"u9Xod5s8bCRNj9MR1Drl","accordion-header-label-icon":"IbeyulkpO9kjYJ4OkYUD","accordion-header-description":"KiCgmjHm2f0JDU3cMsgf","accordion-header-button":"kJ8t3FAtd5VAYjk31SfA","accordion-body":"JP0IJZcYRohfgntEozjm","accordion-body-close":"y7c6zi2wjEnbW3F29fmP","accordion-body-open":"wQWiN_J0SqgduvadyGnm","icon-check":"v1fUFCBPmd6miSCf_ehK"}},6067:function(e,t){"use strict";t.Z={"progress-bar":"vzMlFr1AXWqefpRrb976","progress-bar__wrapper":"gYSOMa4xxLXmsNzvFPkW","progress-bar__bar":"hNJWdt5qmZkWYAH_vjIp","progress-bar__percent":"DHMUfGyHbl5BgD5vjxVz"}},8383:function(e,t){"use strict";t.Z={"product-section":"Clxt94RgGnDrhORZZyPr","info-section":"K2OG1vK5PSOYDWKtqKKG"}},61:function(e,t){"use strict";t.Z={"main-content":"A6a9HOtaZnLUleNgxQrX","loading-content":"CGT5fOs6LDTFHWCAgIiT",illustration:"RFKxbzQ8N58qEyVO0yzW","connection-error-col":"SvMuuouOkDt2sE0PAn_D"}},8131:function(e,t){"use strict";t.Z={"threat-severity-badge":"JiJhrZaThvWCpM2AfGen","is-critical":"_7SGksgOpcPbHfPPpQTV","is-high":"pGNquShR54adQ61sx3lP","is-low":"IM5kkexAfwGLM6zz0Exd"}},8911:function(e,t){"use strict";t.Z={mark:"jNlU3vgp4xEGwmX5aTyK",list:"gE8s4nh3f7iGIBrFeyCT"}},6561:function(e,t){"use strict";t.Z={summary:"ZMBDiTLzs27F012iOsMK",summary__title:"zI2DKzqRc1MhF6aq5eHt",summary__icon:"iHgPFku9KaLz8FIQV1Qw",summary__notice:"xuIO_ubyDN6IGJ67NTlx","summary__scan-button":"ctq2nQkzIfSoMkldF9t9"}},5714:function(e,t){"use strict";t.Z={tabs:"lyrXe0pA852TUmyekDb5",tab:"KgEeDTKgTC5ZjzYlbTqN","tab--active":"Lv4WoNVkeJntqvUyG4dX"}},8063:function(e,t){"use strict";t.Z={textarea:"rigH8UdiDrmmSLQMUurD",label:"V8FDM08CpcwQs4UwN2nI"}},9971:function(e,t){"use strict";t.Z={threat:"NHzH3tt6CypjZ92CvK9x",threat__icon:"D9zvYDUrOP_zwSm0yJMs",threat__summary:"_XISfmbjoVlqhB61hHYn",threat__summary__label:"AQDPBnMZFu7BOBuo8mYW",threat__summary__title:"cZ9s5eCAZe3R82Y6Ru3z",threat__severity:"AKnbWQiViZ2O_dwCV8Fw",threat__checkbox:"W6alQ2_S5Rh06djX9m27"}},9709:function(e,t){"use strict";t.Z={empty:"OtDl6kocO_m2s9sRHaqX","threat-section":"BjwJh1S1YVPI7AjmTx6a","threat-filename":"YWfK8VTp2wnByBauYPKg","threat-footer":"pkw2LnOTd8VvQ3oT8sXQ","threat-item-cta":"ap6lG79CncSqdigJS_WA","list-header":"uym7dGHhp6ifjF57yOAO","list-title":"e_2eFTR8RyHwmfeqJL4F","list-header-button":"r4Id5qht2FD68jCAH2Cl","accordion-heading":"ZSZPabDoB8MVVPttP0tu","manual-scan":"iJ_biSBRDribuNKX0Zuw"}},541:function(e,t){"use strict";t.Z={footer:"uUEJGMrSV3XoBwX5xEwA"}},1155:function(){},3171:function(e){var t=1e3,n=60*t,a=60*n,c=24*a,r=7*c,i=365.25*c;function o(e,t,n,a){var c=t>=1.5*n;return Math.round(e/n)+" "+a+(c?"s":"")}e.exports=function(e,l){l=l||{};var s=typeof e;if("string"===s&&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 l=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*r;case"days":case"day":case"d":return l*c;case"hours":case"hour":case"hrs":case"hr":case"h":return l*a;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===s&&isFinite(e))return l.long?function(e){var r=Math.abs(e);if(r>=c)return o(e,r,c,"day");if(r>=a)return o(e,r,a,"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>=c)return Math.round(e/c)+"d";if(r>=a)return Math.round(e/a)+"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))}},469:function(e,t,n){"use strict";var a=n(758);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,r,i){if(i!==a){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:c};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},554:function(e,t,n){"use strict";n.d(t,{OL:function(){return m},UT:function(){return u}});var a=n(9196),c=n(5250),r=n(5439);function i(){return i=Object.assign||function(e){for(var t=1;t=0||(c[n]=e[n]);return c}const l=["onClick","reloadDocument","replace","state","target","to"],s=["aria-current","caseSensitive","className","end","style","to","children"];function u(e){let{basename:t,children:n,window:i}=e,o=(0,a.useRef)();null==o.current&&(o.current=(0,c.q_)({window:i}));let l=o.current,[s,u]=(0,a.useState)({action:l.action,location:l.location});return(0,a.useLayoutEffect)((()=>l.listen(u)),[l]),(0,a.createElement)(r.F0,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:l})}const p=(0,a.forwardRef)((function(e,t){let{onClick:n,reloadDocument:s,replace:u=!1,state:p,target:m,to:d}=e,h=o(e,l),g=(0,r.oQ)(d),f=function(e,t){let{target:n,replace:i,state:o}=void 0===t?{}:t,l=(0,r.s0)(),s=(0,r.TH)(),u=(0,r.WU)(e);return(0,a.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!i||(0,c.Ep)(s)===(0,c.Ep)(u);l(e,{replace:n,state:o})}}),[s,l,u,i,o,n,e])}(d,{replace:u,state:p,target:m});return(0,a.createElement)("a",i({},h,{href:g,onClick:function(e){n&&n(e),e.defaultPrevented||s||f(e)},ref:t,target:m}))}));const m=(0,a.forwardRef)((function(e,t){let{"aria-current":n="page",caseSensitive:c=!1,className:l="",end:u=!1,style:m,to:d,children:h}=e,g=o(e,s),f=(0,r.TH)(),v=(0,r.WU)(d),E=f.pathname,k=v.pathname;c||(E=E.toLowerCase(),k=k.toLowerCase());let b,y=E===k||!u&&E.startsWith(k)&&"/"===E.charAt(k.length),Z=y?n:void 0;b="function"==typeof l?l({isActive:y}):[l,y?"active":null].filter(Boolean).join(" ");let C="function"==typeof m?m({isActive:y}):m;return(0,a.createElement)(p,i({},g,{"aria-current":Z,className:b,ref:t,style:C,to:d}),"function"==typeof h?h({isActive:y}):h)}))},5439:function(e,t,n){"use strict";n.d(t,{AW:function(){return s},F0:function(){return u},TH:function(){return h},WU:function(){return f},Z5:function(){return p},oQ:function(){return m},s0:function(){return g}});var a=n(9196),c=n(5250);function r(e,t){if(!e)throw new Error(t)}const i=(0,a.createContext)(null);const o=(0,a.createContext)(null);const l=(0,a.createContext)({outlet:null,matches:[]});function s(e){r(!1)}function u(e){let{basename:t="/",children:n=null,location:l,navigationType:s=c.aU.Pop,navigator:u,static:p=!1}=e;d()&&r(!1);let m=M(t),h=(0,a.useMemo)((()=>({basename:m,navigator:u,static:p})),[m,u,p]);"string"==typeof l&&(l=(0,c.cP)(l));let{pathname:g="/",search:f="",hash:v="",state:E=null,key:k="default"}=l,b=(0,a.useMemo)((()=>{let e=x(g,m);return null==e?null:{pathname:e,search:f,hash:v,state:E,key:k}}),[m,g,f,v,E,k]);return null==b?null:(0,a.createElement)(i.Provider,{value:h},(0,a.createElement)(o.Provider,{children:n,value:{location:b,navigationType:s}}))}function p(e){let{children:t,location:n}=e;return function(e,t){d()||r(!1);let{matches:n}=(0,a.useContext)(l),i=n[n.length-1],o=i?i.params:{},s=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;0;let u,p=h();if(t){var m;let e="string"==typeof t?(0,c.cP)(t):t;"/"===s||(null==(m=e.pathname)?void 0:m.startsWith(s))||r(!1),u=e}else u=p;let g=u.pathname||"/",f="/"===s?g:g.slice(s.length)||"/",v=function(e,t,n){void 0===n&&(n="/");let a="string"==typeof t?(0,c.cP)(t):t,r=x(a.pathname||"/",n);if(null==r)return null;let i=E(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)))))}(i);let o=null;for(let e=0;null==o&&eObject.assign({},e,{params:Object.assign({},o,e.params),pathname:I([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:I([s,e.pathnameBase])}))),n)}(v(t),n)}function m(e){d()||r(!1);let{basename:t,navigator:n}=(0,a.useContext)(i),{hash:o,pathname:l,search:s}=f(e),u=l;if("/"!==t){let n=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?(0,c.cP)(e).pathname:e.pathname}(e),a=null!=n&&n.endsWith("/");u="/"===l?t+(a?"/":""):I([t,l])}return n.createHref({pathname:u,search:s,hash:o})}function d(){return null!=(0,a.useContext)(o)}function h(){return d()||r(!1),(0,a.useContext)(o).location}function g(){d()||r(!1);let{basename:e,navigator:t}=(0,a.useContext)(i),{matches:n}=(0,a.useContext)(l),{pathname:c}=h(),o=JSON.stringify(n.map((e=>e.pathnameBase))),s=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{s.current=!0})),(0,a.useCallback)((function(n,a){if(void 0===a&&(a={}),!s.current)return;if("number"==typeof n)return void t.go(n);let r=P(n,JSON.parse(o),c);"/"!==e&&(r.pathname=I([e,r.pathname])),(a.replace?t.replace:t.push)(r,a.state)}),[e,t,o,c])}function f(e){let{matches:t}=(0,a.useContext)(l),{pathname:n}=h(),c=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,a.useMemo)((()=>P(e,JSON.parse(c),n)),[e,c,n])}function v(e){let t=[];return a.Children.forEach(e,(e=>{if(!(0,a.isValidElement)(e))return;if(e.type===a.Fragment)return void t.push.apply(t,v(e.props.children));e.type!==s&&r(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=v(e.props.children)),t.push(n)})),t}function E(e,t,n,a){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===a&&(a=""),e.forEach(((e,c)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:c,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(a)||r(!1),i.relativePath=i.relativePath.slice(a.length));let o=I([a,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(!0===e.index&&r(!1),E(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:R(o,e.index),routesMeta:l})})),t}const k=/^:\w+$/,b=3,y=2,Z=1,C=10,_=-2,w=e=>"*"===e;function R(e,t){let n=e.split("/"),a=n.length;return n.some(w)&&(a+=_),t&&(a+=y),n.filter((e=>!w(e))).reduce(((e,t)=>e+(k.test(t)?b:""===t?Z:C)),a)}function j(e,t){let{routesMeta:n}=e,a={},c="/",r=[];for(let e=0;e(0,a.createElement)(l.Provider,{children:void 0!==c.route.element?c.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,r+1))}})),null)}function N(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);let a=[],c="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(a.push(t),"([^\\/]+)")));e.endsWith("*")?(a.push("*"),c+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):c+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";let r=new RegExp(c,t?void 0:"i");return[r,a]}(e.path,e.caseSensitive,e.end),c=t.match(n);if(!c)return null;let r=c[0],i=r.replace(/(.)\/+$/,"$1"),o=c.slice(1);return{params:a.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(t){return e}}(o[n]||""),e}),{}),pathname:r,pathnameBase:i,pattern:e}}function P(e,t,n){let a,r="string"==typeof e?(0,c.cP)(e):e,i=""===e||""===r.pathname?"/":r.pathname;if(null==i)a=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}a=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:r=""}="string"==typeof e?(0,c.cP)(e):e,i=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:i,search:T(a),hash:L(r)}}(r,a);return i&&"/"!==i&&i.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const I=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),T=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},6975:function(e,t,n){"use strict";var a=n(951);const c=n.n(a)()("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]);c("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);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]);c("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('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,a,c,r,i){o.ga.recordPurchase(e,t,n,a,c,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(c("- Super Props: %o",r),t=Object.assign(t,r)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};o.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){o.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};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(),c("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,a){o.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==a&&(r+=" [Option Value: "+a+"]"),c(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,a)},recordPurchase:function(e,t,n,a,c,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:c,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"])}};t.Z=o},4743:function(e,t,n){"use strict";var a=n(1132),c=n(6483);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=r("JsonParseError"),o=r("JsonParseAfterRedirectError"),l=r("Api404Error"),s=r("Api404AfterRedirectError"),u=r("FetchNetworkError");const p=new function(e,t){let n=e,r=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},l={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},s=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},l={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{s=e},registerSite:(e,t)=>{const c={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(c.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,l,{body:JSON.stringify(c)}).then(m).then(d)},fetchAuthorizationUrl:e=>p((0,c.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(m).then(d),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,o).then(d),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,o).then(d),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,o).then(m).then(d),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,o).then(d),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,o).then(m).then(d),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,l,{body:JSON.stringify(e)}).then(m).then(d),disconnectSite:()=>h(`${n}jetpack/v4/connection`,l,{body:JSON.stringify({isActive:!1})}).then(m).then(d),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,o).then(m).then(d),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,l,{body:JSON.stringify({linked:!1})}).then(m).then(d),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,l).then(m).then(d),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,o).then(m).then(d),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,l).then(m).then(d),fetchModules:()=>p(`${n}jetpack/v4/module/all`,o).then(m).then(d),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,o).then(m).then(d),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!0})}).then(m).then(d),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,l,{body:JSON.stringify(t)}).then(m).then(d),updateSettings:e=>h(`${n}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(m).then(d),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,o).then(m).then(d),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,l,{body:JSON.stringify({reset:!0})}).then(m).then(d),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(d),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,o).then(m).then(d),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),h(`${n}jetpack/v4/plugins`,l,{body:JSON.stringify(a)}).then(m).then(d)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(d),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,o).then(m).then(d),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,o).then(m).then(d),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,l,{body:JSON.stringify({api_key:e})}).then(m).then(d),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(m).then(d).then(f),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,o).then(m).then(d),getPlans:()=>p(`${n}jetpack/v4/plans`,o).then(m).then(d),fetchSettings:()=>p(`${n}jetpack/v4/settings`,o).then(m).then(d),updateSetting:e=>h(`${n}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(m).then(d),fetchSiteData:()=>p(`${n}jetpack/v4/site`,o).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,o).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,o).then(m).then(d),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,o).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,o).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,o).then(m).then(d).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,o).then(m).then(d),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,o).then(m).then(d),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(m).then(d),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,o).then(m).then(d),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,o).then(m).then(d),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,l,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>p(`${n}jetpack/v4/products`,o).then(m).then(d),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,o).then(m).then(d).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,o).then(m).then(d).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,l,{body:JSON.stringify({dismissed:!0})}).then(m).then(d),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,o).then(m).then(d),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,o).then(m).then(d),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(m).then(d),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,l,{body:JSON.stringify({keyring_id:e})}).then(m).then(d),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,l,{body:JSON.stringify(e)}).then(m).then(d),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,l,{body:JSON.stringify(e)}).then(m).then(d),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,l,{body:JSON.stringify(e)}).then(m).then(d),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,l,{body:JSON.stringify({license:e})}).then(m).then(d),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,o).then(m).then(d),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,o).then(m).then(d),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,l,{body:JSON.stringify({last_detached_count:e})}).then(m).then(d),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,l,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,l).then(m),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,l,{body:JSON.stringify({redirect_uri:e})}).then(m).then(d),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,l).then(m),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,l,{body:JSON.stringify({licenses:e})}).then(m).then(d),fetchSearchPlanInfo:()=>p(`${r}jetpack/v4/search/plan`,o).then(m).then(d),fetchSearchSettings:()=>p(`${r}jetpack/v4/search/settings`,o).then(m).then(d),updateSearchSettings:e=>h(`${r}jetpack/v4/search/settings`,l,{body:JSON.stringify(e)}).then(m).then(d),fetchSearchStats:()=>p(`${r}jetpack/v4/search/stats`,o).then(m).then(d),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,o).then(m).then(d),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,l,{body:JSON.stringify(e)}).then(m).then(d),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,o).then(m).then(d),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,l,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${r}jetpack/v4/search/pricing`,o).then(m).then(d),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,o).then(m).then(d),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,o).then(m).then(d)};function p(e,t){return fetch(s(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new s(e.redirected):new l})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function d(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new o(n):new i}function g(){throw new u}t.ZP=p},9105:function(e,t,n){"use strict";var a=n(5736),c=n(5235),r=n.n(c),i=n(8237),o=n(8868),l=n(3846),s=n(3363),u=n(1494);const __=a.__;t.Z=e=>{let{children:t,moduleName:n=__("Jetpack","jetpack-protect"),moduleNameHref:a,showHeader:c=!0,showFooter:p=!0,showBackground:m=!0,header:d}=e;const h=r()(u.Z["admin-page"],{[u.Z.background]:m});return React.createElement("div",{className:h},c&&React.createElement(s.Z,{horizontalSpacing:5},React.createElement(l.Z,null,d||React.createElement(o.Z,null))),React.createElement(s.Z,{fluid:!0,horizontalSpacing:0},React.createElement(l.Z,null,t)),p&&React.createElement(s.Z,{horizontalSpacing:5},React.createElement(l.Z,null,React.createElement(i.Z,{moduleName:n,moduleNameHref:a}))))}},216:function(e,t,n){"use strict";var a=n(9196),c=n.n(a),r=n(281);t.Z=e=>{let{children:t}=e;return c().createElement("div",{className:r.Z["section-hero"]},t)}},7525:function(e,t,n){"use strict";var a=n(2674),c=n.n(a),r=n(5736),i=n(5235),o=n.n(i),l=n(9196),s=n.n(l);const __=r.__;t.Z=e=>{let{title:t=__("An Automattic Airline","jetpack-protect"),height:n=7,className:a,...r}=e;return s().createElement("svg",c()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:o()("jp-automattic-byline-logo",a)},r),s().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),s().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"}),s().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"}),s().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},526:function(e,t,n){"use strict";var a=n(2674),c=n.n(a),r=n(5609),i=n(1074),o=n(5381),l=n(5235),s=n.n(l),u=n(9196),p=n.n(u),m=n(3466);const d=(0,u.forwardRef)(((e,t)=>{const{children:n,variant:a="primary",size:l="normal",weight:u="bold",icon:d,iconSize:h,disabled:g,isDestructive:f,isLoading:v,isExternalLink:E,className:k,text:b,fullWidth:y,...Z}=e,C=s()(m.Z.button,k,{[m.Z.normal]:"normal"===l,[m.Z.small]:"small"===l,[m.Z.icon]:Boolean(d),[m.Z.loading]:v,[m.Z.regular]:"regular"===u,[m.Z["full-width"]]:y,[m.Z["is-icon-button"]]:Boolean(d)&&!n});Z.ref=t;const _="normal"===l?20:16,w=E&&p().createElement(i.Z,{size:_,icon:o.Z,className:m.Z["external-icon"]}),R=E?"_blank":void 0,j=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return p().createElement(r.Button,c()({target:R,variant:a,className:s()(C,{"has-text":!!d&&j}),icon:E?void 0:d,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:b},Z),v&&p().createElement(r.Spinner,null),p().createElement("span",null,n),w)}));d.displayName="Button",t.Z=d},857:function(e,t,n){"use strict";var a=n(1074),c=n(495),r=n(5235),i=n.n(r),o=n(9665),l=n(5106),s=n(1489);t.Z=e=>{let{description:t,cta:n,onClick:r,href:u,openInNewTab:p=!1,className:m,tooltipText:d=""}=e;const h=void 0!==u?"a":"button",g="a"===h?{href:u,...p&&{target:"_blank"}}:{onClick:r};return React.createElement("div",{className:i()(s.Z.cut,m)},React.createElement("div",null,React.createElement("div",null,React.createElement(l.ZP,{className:s.Z.description},t),d&&React.createElement(o.Z,{className:s.Z.iconContainer,iconSize:16,offset:4},React.createElement(l.ZP,{variant:"body-small"},d))),React.createElement("div",null,React.createElement(h,g,React.createElement(l.ZP,{className:s.Z.cta},n)))),React.createElement(a.Z,{icon:c.Z,className:s.Z.icon,size:30}))}},7172:function(e,t,n){"use strict";var a=n(17),c=n.n(a),r=n(5736),i=n(5235),o=n.n(i),l=n(9196);n(5785);const __=r.__;class s extends l.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-protect");case"gridicons-arrow-left":return __("Arrow left","jetpack-protect");case"gridicons-arrow-right":return __("Arrow right","jetpack-protect");case"gridicons-calendar":return __("Is an event.","jetpack-protect");case"gridicons-cart":return __("Is a product.","jetpack-protect");case"chevron-down":return __("Show filters","jetpack-protect");case"gridicons-comment":return __("Matching comment.","jetpack-protect");case"gridicons-cross":return __("Close.","jetpack-protect");case"gridicons-filter":return __("Toggle search filters.","jetpack-protect");case"gridicons-folder":return __("Category","jetpack-protect");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-protect");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-protect");case"gridicons-image":return __("Has an image.","jetpack-protect");case"gridicons-page":return __("Page","jetpack-protect");case"gridicons-post":return __("Post","jetpack-protect");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-protect");case"gridicons-tag":return __("Tag","jetpack-protect");case"gridicons-video":return __("Has a video.","jetpack-protect")}}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,a=this.props.width||e,c=this.props.style||{height:n,width:a},r="gridicons-"+this.props.icon,i=o()("gridicon",r,t,{"needs-offset":this.needsOffset(r,e)}),l=this.getSVGDescription(r);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:c,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},l?React.createElement("desc",null,l):null,this.renderIcon(r))}}c()(s,"defaultProps",{"aria-hidden":"false",focusable:"true"}),t.Z=s},9665:function(e,t,n){"use strict";var a=n(5609),c=n(5235),r=n.n(c),i=n(9196),o=n.n(i),l=n(526),s=n(7172);n(1275);const u=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]);t.Z=e=>{let{className:t="",iconClassName:n="",placement:c="bottom-end",animate:p=!0,iconCode:m="info-outline",iconSize:d=18,offset:h=10,title:g,children:f,popoverAnchorStyle:v="icon",forceShow:E=!1,wide:k=!1}=e;const[b,y]=(0,i.useState)(!1),Z=(0,i.useCallback)((()=>y(!0)),[y]),C=(0,i.useCallback)((()=>y(!1)),[y]),_={position:u(c),placement:c,animate:p,noArrow:!1,resize:!1,flip:!1,offset:h,focusOnMount:"container",onClose:C,className:"icon-tooltip-container"},w="wrapper"===v,R=r()("icon-tooltip-wrapper",t),j={left:w?0:-(62-d/2)+"px"},S=w&&E;return o().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper"},!w&&o().createElement(l.Z,{variant:"link",onClick:Z},o().createElement(s.Z,{className:n,icon:m,size:d})),o().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":k}),style:j},(S||b)&&o().createElement(a.Popover,_,o().createElement("div",null,g&&o().createElement("div",{className:"icon-tooltip-title"},g),o().createElement("div",{className:"icon-tooltip-content"},f)))))}},3396:function(e,t,n){"use strict";n.d(t,{VS:function(){return m}});var a=n(2674),c=n.n(a),r=n(5609),i=n(5235),o=n.n(i),l=n(5612);const s=e=>{let{className:t,size:n=24,viewBox:a="0 0 24 24",opacity:i=1,color:s="#2C3338",children:u}=e;const p={className:o()(l.Z.iconWrapper,t),width:n,height:n,viewBox:a,opacity:i,fill:void 0};return s&&(p.fill=s),React.createElement(r.SVG,c()({},p,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:i},u))},u=e=>{let{className:t,fill:n="none",size:a,children:c}=e;return React.createElement(s,{className:o()(l.Z.socialIcon,t),size:a,color:n},c)},p={...{"anti-spam":e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(r.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"}))},backup:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1 l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4 c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1 c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4 C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6 c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2 c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8 c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2 l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8 C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1 c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4 C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0 C6.6,8.5,6.3,7.6,5.9,6.7z"}))},boost:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:a,color:c}=e;return React.createElement(s,{className:a,size:n,opacity:t,color:c},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:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:e=>{let{size:t,className:n=l.Z["star-icon"],color:a}=e;return React.createElement(s,{className:n,size:t,color:a},React.createElement(r.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}))},videopress:e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(s,{size:n,opacity:t,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7 h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9 c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z"}))},jetpack:e=>{let{size:t,className:n=l.Z.jetpack,color:a}=e;return React.createElement(s,{className:n,size:t,color:a,viewBox:"0 0 32 32"},React.createElement(r.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),React.createElement(r.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(r.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))}},...{facebook:e=>{let{fill:t,size:n,className:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.facebook,a)},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:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.instagram,a)},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:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.twitter,a)},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:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.linkedin,a)},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:a,invert:c}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.tumblr,a)},c?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:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.google,a)},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:a}=e;return React.createElement(u,{fill:t,size:n,className:o()(l.Z.mastodon,a)},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 m(e){return p[e]?p[e]:null}},8237:function(e,t,n){"use strict";var a=n(2674),c=n.n(a),r=n(9818),i=n(5736),o=n(1074),l=n(5381),s=n(5235),u=n.n(s),p=n(9196),m=n.n(p),d=n(6895),h=n(428),g=n(7525),f=(n(9054),n(8868)),v=n(2054);const __=i.__,_x=i._x,E=()=>m().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"});t.Z=e=>{let{moduleName:t=__("Jetpack","jetpack-protect"),className:n,moduleNameHref:a="https://jetpack.com",menu:i,siteAdminUrl:s,onAboutClick:p,onPrivacyClick:f,onTermsClick:k,...b}=e;const[y]=(0,v.Z)("sm","<="),[Z]=(0,v.Z)("md","<="),[C]=(0,v.Z)("lg",">"),{isActive:_,connectedPlugins:w}=(0,r.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),R=s&&_&&w?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let j=[{label:_x("About","Link to learn more about Jetpack.","jetpack-protect"),title:__("About Jetpack","jetpack-protect"),href:R?new URL("admin.php?page=jetpack_about",s).href:(0,d.Z)("jetpack-about"),target:"_blank",onClick:p},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-protect"),title:__("Automattic's Privacy Policy","jetpack-protect"),href:R?new URL("admin.php?page=jetpack#/privacy",s).href:(0,d.Z)("a8c-privacy"),target:R?"_self":"_blank",onClick:f},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-protect"),title:__("WordPress.com Terms of Service","jetpack-protect"),href:(0,d.Z)("wpcom-tos"),target:"_blank",onClick:k}];i&&(j=[...j,...i]);const S=m().createElement(m().Fragment,null,m().createElement(E,null),t);return m().createElement("footer",c()({className:u()("jp-dashboard-footer",{"is-sm":y,"is-md":Z,"is-lg":C},n),"aria-label":__("Jetpack","jetpack-protect")},b),m().createElement("ul",null,m().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?m().createElement("a",{href:a},S):S),j.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return m().createElement("li",{key:e.label},m().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:u()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&m().createElement(o.Z,{icon:l.Z,size:16})))})),m().createElement("li",{className:"jp-dashboard-footer__a8c-item"},m().createElement("a",{href:R?new URL("admin.php?page=jetpack_about",s).href:(0,d.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-protect")},m().createElement(g.Z,{"aria-hidden":"true"})))))}},8868:function(e,t,n){"use strict";var a=n(2674),c=n.n(a),r=n(5736),i=n(5235),o=n.n(i),l=n(9196),s=n.n(l);const __=r.__;t.Z=e=>{let{logoColor:t="#069e08",showText:n=!0,className:a,height:r=32,...i}=e;const l=n?"0 0 118 32":"0 0 32 32";return s().createElement("svg",c()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:l,className:o()("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:r},i),s().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-protect")),s().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&&s().createElement(s().Fragment,null,s().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"}),s().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"}),s().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"}),s().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"}),s().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"}),s().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"}),s().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:function(e,t,n){"use strict";var a=n(5235),c=n.n(a),r=n(9196),i=n(3080);const o=Number(i.Z.smCols),l=Number(i.Z.mdCols),s=Number(i.Z.lgCols);t.Z=e=>{const{children:t,tagName:n="div",className:a}=e,u=Math.min(o,"number"==typeof e.sm?e.sm:o),p=Math.min(o,"object"==typeof e.sm?e.sm.start:0),m=Math.min(o,"object"==typeof e.sm?e.sm.end:0),d=Math.min(l,"number"==typeof e.md?e.md:l),h=Math.min(l,"object"==typeof e.md?e.md.start:0),g=Math.min(l,"object"==typeof e.md?e.md.end:0),f=Math.min(s,"number"==typeof e.lg?e.lg:s),v=Math.min(s,"object"==typeof e.lg?e.lg.start:0),E=Math.min(s,"object"==typeof e.lg?e.lg.end:0),k=c()(a,{[i.Z[`col-sm-${u}`]]:!(p&&m),[i.Z[`col-sm-${p}-start`]]:p>0,[i.Z[`col-sm-${m}-end`]]:m>0,[i.Z[`col-md-${d}`]]:!(h&&g),[i.Z[`col-md-${h}-start`]]:h>0,[i.Z[`col-md-${g}-end`]]:g>0,[i.Z[`col-lg-${f}`]]:!(v&&E),[i.Z[`col-lg-${v}-start`]]:v>0,[i.Z[`col-lg-${E}-end`]]:E>0});return(0,r.createElement)(n,{className:k},t)}},3363:function(e,t,n){"use strict";var a=n(5235),c=n.n(a),r=n(9196),i=n(8730);t.Z=e=>{let{children:t,fluid:n=!1,tagName:a="div",className:o,horizontalGap:l=1,horizontalSpacing:s=1}=e;const u=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${s} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${l} )`}}),[l,s]),p=c()(o,i.Z.container,{[i.Z.fluid]:n});return(0,r.createElement)(a,{className:p,style:u},t)}},2054:function(e,t,n){"use strict";var a=n(4333),c=n(3247);const r=["sm","md","lg"];t.Z=(e,t)=>{const n=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[o,l,s]=r,u={sm:(0,a.useMediaQuery)(c.Z[o]),md:(0,a.useMediaQuery)(c.Z[l]),lg:(0,a.useMediaQuery)(c.Z[s])};return n.map(((e,t)=>{const n=i[t];return n?((e,t,n)=>{const a=r.indexOf(e),c=a+1,i=t.includes("=");let o=[];return t.startsWith("<")&&(o=r.slice(0,i?c:a)),t.startsWith(">")&&(o=r.slice(i?a:c)),o?.length?o.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},1342:function(e,t,n){"use strict";var a=n(797),c=n(496),r=n(9201),i=n(1074),o=n(9517),l=n(5235),s=n.n(l),u=n(9196),p=n.n(u),m=n(7703);const d=e=>{switch(e){case"error":case"warning":default:return a.Z;case"info":return c.Z;case"success":return r.Z}},h=e=>{let{level:t,title:n,children:a,actions:c,hideCloseButton:r,onClose:l}=e;const u=s()(m.Z.container,m.Z[`is-${t}`]);return p().createElement("div",{className:u},p().createElement("div",{className:m.Z["icon-wrapper"]},p().createElement(i.Z,{icon:d(t),className:m.Z.icon})),p().createElement("div",{className:m.Z["main-content"]},p().createElement("div",{className:m.Z.title},n),a,c&&c.length>0&&p().createElement("div",{className:m.Z["action-bar"]},c.map(((e,t)=>p().createElement("div",{key:t,className:m.Z.action},e))))),!r&&p().createElement("button",{"aria-label":"close",className:m.Z["close-button"],onClick:l},p().createElement(i.Z,{icon:o.Z})))};h.defaultProps={level:"info",hideCloseButton:!1},t.Z=h},9608:function(e,t,n){"use strict";n.d(t,{NE:function(){return y},kF:function(){return b},oK:function(){return Z}});var a=n(5736),c=n(1074),r=n(9201),i=n(6163),o=n(5235),l=n.n(o),s=n(9196),u=n.n(s),p=n(9665),m=n(2054),d=n(7325),h=n(5106),g=n(9929);const __=a.__,f=__("Included","jetpack-protect"),v=__("Not included","jetpack-protect"),E=__("Coming soon","jetpack-protect"),k=(0,s.createContext)(void 0),b=e=>{let{isIncluded:t=!1,isComingSoon:n=!1,index:o=0,label:d=null,tooltipInfo:b,tooltipTitle:y,tooltipClassName:Z=""}=e;const[C]=(0,m.Z)("lg"),_=(0,s.useContext)(k)[o],w=n||t,R=_.name,j=_.tooltipInfo,S=_.tooltipTitle,N=b||!C&&j,P=((e,t,n)=>e?{lg:E, // translators: Name of the current feature -default:(0,n.sprintf)(__("%s coming soon","jetpack-protect"),a)}:{lg:t?f:v,default:t?a:(0,n.sprintf)(/* translators: Name of the current feature */ -__("%s not included","jetpack-protect"),a)})(a,t,R),x=C?P.lg:P.default;return p().createElement("div",{className:o()(g.Z.item,g.Z.value)},p().createElement(c.Z,{className:o()(g.Z.icon,w?g.Z["icon-check"]:g.Z["icon-cross"]),size:32,icon:w?r.Z:i.Z}),p().createElement(h.ZP,{variant:"body-small"},d||x),N&&p().createElement(u.Z,{title:y||S,iconClassName:g.Z["popover-icon"],className:o()(g.Z.popover,Z),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(y&&b)},p().createElement(h.ZP,{variant:"body-small",component:"div"},b||j)))},y=e=>{let{children:t}=e;return p().createElement("div",{className:g.Z.header},t)},Z=e=>{let{primary:t=!1,children:a}=e,n=0;return p().createElement("div",{className:o()(g.Z.card,{[g.Z["is-primary"]]:t})},s.Children.map(a,(e=>{const t=e;return t.type===b?(n++,(0,s.cloneElement)(t,{index:n-1})):t})))},C=e=>{let{title:t,items:a,children:n,showIntroOfferDisclaimer:c=!1}=e;const[r]=(0,m.Z)("lg");return p().createElement(k.Provider,{value:a},p().createElement("div",{className:o()(g.Z.container,{[g.Z["is-viewport-large"]]:r}),style:{"--rows":a.length+1,"--columns":s.Children.toArray(n).length+1}},p().createElement("div",{className:g.Z.table},p().createElement(h.ZP,{variant:"headline-small"},t),r&&a.map(((e,t)=>p().createElement("div",{className:o()(g.Z.item,{[g.Z["last-feature"]]:t===a.length-1}),key:t},p().createElement(h.ZP,{variant:"body-small"},p().createElement("strong",null,e.name)),e.tooltipInfo&&p().createElement(u.Z,{title:e.tooltipTitle,iconClassName:g.Z["popover-icon"],className:g.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},p().createElement(h.ZP,{variant:"body-small"},e.tooltipInfo))))),n)),p().createElement("div",{className:g.Z["tos-container"]},p().createElement("div",{className:g.Z.tos},c&&p().createElement(h.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-protect")),p().createElement(d.Z,{multipleButtons:!0}))))}},5347:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(5736),c=a(5235),r=a.n(c),i=a(5106),l=a(3789),o=a(9184);const __=n.__,s=e=>{let{price:t,offPrice:a,currency:n="",showNotOffPrice:c=!0,hideDiscountLabel:s=!0,promoLabel:p="",legend:u=__("/month, paid yearly","jetpack-protect"),isNotConvenientPrice:m=!1,hidePriceFraction:d=!1,children:h}=e;if(null==t&&null==a||!n)return null;c=c&&null!=a;const g="number"==typeof t&&"number"==typeof a?Math.floor((t-a)/t*100):0,f=!s&&g&&g>0?g+__("% off","jetpack-protect"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:o.Z.container},React.createElement("div",{className:r()(o.Z["price-container"],"product-price_container")},React.createElement(l.t,{value:a??t,currency:n,isOff:!m,hidePriceFraction:d}),c&&React.createElement(l.t,{value:t,currency:n,isOff:!1,hidePriceFraction:d}),f&&React.createElement(i.ZP,{className:r()(o.Z["promo-label"],"product-price_promo_label")},f))),React.createElement("div",{className:o.Z.footer},h||React.createElement(i.ZP,{className:r()(o.Z.legend,"product-price_legend")},u),p&&React.createElement(i.ZP,{className:r()(o.Z["promo-label"],"product-price_promo_label")},p)))}},3789:(e,t,a)=>{"use strict";a.d(t,{t:()=>o});var n=a(8899),c=a(5235),r=a.n(c),i=a(5106),l=a(9184);const o=e=>{let{value:t,currency:a,isOff:c,hidePriceFraction:o}=e;const s=r()(l.Z.price,"product-price_price",{[l.Z["is-not-off-price"]]:!c}),{symbol:p,integer:u,fraction:m}=(0,n.LR)(t,a),d=!o||!m.endsWith("00");return React.createElement(i.ZP,{className:s,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:l.Z.symbol,component:"sup",variant:"title-medium"},p),u,d&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,m)))}},5033:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),r=a(9196),i=a.n(r);a(1683);const l=e=>{const t=e.className+" jp-components-spinner",a={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},n={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:a},i().createElement("div",{className:"jp-components-spinner__inner",style:n})))};l.propTypes={color:c().string,className:c().string,size:c().number},l.defaultProps={color:"#FFFFFF",className:"",size:20};const o=l},7325:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(9307),c=a(5736),r=a(5235),i=a.n(r),l=a(6895),o=a(5106);a(7920);const __=c.__,s=()=>(0,n.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-protect"),{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,n.createInterpolateElement)((0,c.sprintf)(/* translators: %s is a button label */ -__("By clicking the %s button, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-protect"),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:a}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,l.Z)(t),rel:"noopener noreferrer",target:"_blank"},a)},m=e=>{let{className:t,multipleButtons:a,agreeButtonLabel:n}=e;return React.createElement(o.ZP,{className:i()(t,"terms-of-service")},a?React.createElement(s,null):React.createElement(p,{agreeButtonLabel:n}))}},6017:(e,t,a)=>{"use strict";a.d(t,{h:()=>n,s:()=>c});const n={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},c=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,a)=>{"use strict";a.d(t,{Dx:()=>h,H3:()=>d,ZP:()=>m});var n=a(2674),c=a.n(n),r=a(5235),i=a.n(r),l=a(9196),o=a.n(l),s=a(6017),p=a(3280);const u=(0,l.forwardRef)(((e,t)=>{let{variant:a="body",children:n,component:r,className:u,...m}=e;const d=r||s.h[a]||"span",h=(0,l.useMemo)((()=>s.s.reduce(((e,t)=>(void 0!==m[t]&&(e+=p.Z[`${t}-${m[t]}`]+" ",delete m[t]),e)),"")),[m]);return m.ref=t,o().createElement(d,c()({className:i()(p.Z.reset,p.Z[a],u,h)},m),n)}));u.displayName="Text";const m=u,d=e=>{let{children:t,weight:a="bold",...n}=e;const r="headline-small"+("bold"===a?"":`-${a}`);return o().createElement(u,c()({variant:r,mb:3},n),t)},h=e=>{let{children:t,size:a="medium",...n}=e;return o().createElement(u,c()({variant:`title-${a}`,mb:1},n),t)}},8275:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>m});var n=a(9196),c=a.n(n),r=a(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)"},l={"--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 )"},o={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},s={"--spacing-base":"8px"},p={},u=(e,t,a)=>{const n={...i,...l,...o,...s};for(const t in n)e.style.setProperty(t,n[t]);a&&e.classList.add(r.Z.global),t&&(p[t]={provided:!0,root:e})},m=e=>{let{children:t=null,targetDom:a,id:r,withGlobalStyles:i=!0}=e;const l=(0,n.useRef)(),o=p?.[r]?.provided;return(0,n.useLayoutEffect)((()=>{if(!o)return a?u(a,r,i):void(l?.current&&u(l.current,r,i))}),[a,l,o,r,i]),a?t:c().createElement("div",{ref:l},t)}},4153:(e,t,a)=>{"use strict";function n(e,t,a,n){const c=new URL("https://wordpress.com/checkout/"),r=new URL(`${c}${t}/${e}`);return r.searchParams.set("redirect_to",a),n||r.searchParams.set("unlinked","1"),r.searchParams.set("site",t),r.toString()}a.d(t,{Z:()=>n})},6895:(e,t,a)=>{"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,a.url=encodeURIComponent(e)}else a.source=encodeURIComponent(e);for(const e in t)a[e]=encodeURIComponent(t[e]);!Object.keys(a).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(a.site=jetpack_redirects.currentSiteRawUrl),n&&(a.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(a).map((e=>e+"="+a[e])).join("&")}a.d(t,{Z:()=>n})},1132:(e,t,a)=>{let n={};try{n=a(6436)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const c=e=>n.hasOwnProperty(e);e.exports={jetpackConfigHas:c,jetpackConfigGet:e=>{if(!c(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return n[e]}}},6186:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(2054),c=a(5033),r=a(5609),i=a(5736),l=a(5162),o=a.n(l),s=a(9196),p=a.n(s),u=a(9836);const __=i.__,m=e=>{const{message:t,isRestoringConnection:a,restoreConnectionCallback:l,restoreConnectionError:o}=e,[s]=(0,n.Z)(["md"],[">"]),m=u.Z.notice+(s?" "+u.Z["bigger-than-medium"]:""),d=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(a)return p().createElement(r.Notice,{status:"error",isDismissible:!1,className:m},p().createElement("div",{className:u.Z.message},p().createElement(c.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-protect")));const h=o?p().createElement(r.Notice,{status:"error",isDismissible:!1,className:m+" "+u.Z.error},p().createElement("div",{className:u.Z.message},d,(0,i.sprintf)(/* translators: placeholder is the error. */ -__("There was an error reconnecting Jetpack. Error: %s","jetpack-protect"),o))):null;return p().createElement(p().Fragment,null,h,p().createElement(r.Notice,{status:"error",isDismissible:!1,className:m},p().createElement("div",{className:u.Z.message},d,t),l&&p().createElement("a",{onClick:l,onKeyDown:l,className:u.Z.button,href:"#"},__("Restore Connection","jetpack-protect"))))};m.propTypes={message:o().string.isRequired,restoreConnectionCallback:o().func,isRestoringConnection:o().bool,restoreConnectionError:o().string};const d=m},1294:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(4743),c=a(9818),r=a(9196),i=a(428);const l=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},o=function(){let{registrationNonce:e=l.registrationNonce,apiRoot:t=l.apiRoot,apiNonce:a=l.apiNonce,redirectUri:o,autoTrigger:s,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:m,connectUser:d,refreshConnectedPlugins:h}=(0,c.useDispatch)(i.t),g=(0,c.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:v,userConnectionData:E,connectedPlugins:k,connectionErrors:b,isRegistered:y,isUserConnected:Z,hasConnectedOwner:C,isOfflineMode:_}=(0,c.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()}))),w=()=>u?o?(window.location=o,Promise.resolve(o)):Promise.resolve():d({from:p,redirectUri:o}),R=t=>(t&&t.preventDefault(),y?w():m({registrationNonce:e,redirectUri:o}).then((()=>w())));return(0,r.useEffect)((()=>{n.ZP.setApiRoot(t),n.ZP.setApiNonce(a)}),[t,a]),(0,r.useEffect)((()=>{!s||f||v||R()}),[]),{handleRegisterSite:R,handleConnectUser:w,refreshConnectedPlugins:h,isRegistered:y,isUserConnected:Z,siteIsRegistering:f,userIsConnecting:v,registrationError:g,userConnectionData:E,hasConnectedOwner:C,connectedPlugins:k,connectionErrors:b,isOfflineMode:_}}},3329:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i,h:()=>l});var n=a(6186),c=a(1294),r=a(1045);function i(){const{connectionErrors:e}=(0,c.Z)({}),t=Object.values(e).shift(),a=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(a),connectionErrorMessage:a}}const l=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=i(),{restoreConnection:a,isRestoringConnection:c,restoreConnectionError:l}=(0,r.Z)();return e?React.createElement(n.Z,{isRestoringConnection:c,restoreConnectionError:l,restoreConnectionCallback:a,message:t}):null}},8258:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(4743),c=a(4153),r=a(9818),i=a(951),l=a.n(i),o=a(9196),s=a(1294),p=a(428);const u=l()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:d,apiNonce:h,siteSuffix:g}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function f(){let{productSlug:e,redirectUrl:t,siteSuffix:a=g,siteProductAvailabilityHandler:i=null,from:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u("productSlug is %s",e),u("redirectUrl is %s",t),u("siteSuffix is %s",a),u("from is %s",l);const[f,v]=(0,o.useState)(!1),{registerSite:E}=(0,r.useDispatch)(p.t),{isUserConnected:k,isRegistered:b,handleConnectUser:y}=(0,s.Z)({redirectUri:t,from:l}),Z=(0,c.Z)(e,a,t,k);u("checkoutProductUrl is %s",Z),u("isUserConnected is %s",k);const C=()=>Promise.resolve(i&&i()).then((e=>{if(e)return u("handleAfterRegistration: Site has a product associated"),y();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",Z),window.location.href=Z}));return(0,o.useEffect)((()=>{n.ZP.setApiRoot(d),n.ZP.setApiNonce(h)}),[]),{run:e=>{if(e&&e.preventDefault(),v(!0),b)return C();E({registrationNonce:m,redirectUri:t}).then(C)},isRegistered:b,hasCheckoutStarted:f}}},1045:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(4743),c=a(9818),r=a(9196),i=a(428);const{apiRoot:l,apiNonce:o}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function s(){const[e,t]=(0,r.useState)(!1),[a,s]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:u}=(0,c.useDispatch)(i.t);return(0,r.useEffect)((()=>{n.ZP.setApiRoot(l),n.ZP.setApiNonce(o)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),s(null),n.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 s(e),t(!1),e}))},isRestoringConnection:e,restoreConnectionError:a}}},7523:(e,t,a)=>{"use strict";a.d(t,{LI:()=>r,N4:()=>l,Qo:()=>u,T1:()=>s,TS:()=>p,ZP:()=>Z,b5:()=>d,i6:()=>c,qJ:()=>h,qV:()=>o,r7:()=>i,wQ:()=>m});var n=a(4743);const c="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",l="SET_USER_IS_CONNECTING",o="SET_REGISTRATION_ERROR",s="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="DISCONNECT_USER_SUCCESS",m="SET_CONNECTED_PLUGINS",d="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:c,connectionStatus:e}),f=e=>({type:i,isRegistering:e}),v=e=>({type:l,isConnecting:e}),E=e=>({type:o,registrationError:e}),k=()=>({type:s}),b=e=>({type:p,authorizationUrl:e}),y=e=>({type:m,connectedPlugins:e});const Z={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:k,setAuthorizationUrl:b,registerSite:function(e){let{registrationNonce:t,redirectUri:a}=e;return function*(){yield k(),yield f(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:a};return yield g({isRegistered:!0}),yield b(e.authorizeUrl),yield f(!1),Promise.resolve(e)}catch(e){return yield E(e),yield f(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:a}}()},disconnectUserSuccess:()=>({type:u}),setConnectedPlugins:y,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>n.ZP.fetchConnectedPlugins().then((a=>{t(y(a)),e(a)}))))},setConnectionErrors:e=>({type:d,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(4743),c=a(9818),r=a(7057);const i={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return n.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:a}=e;return n.ZP.registerSite(t,a)},CONNECT_USER:(0,c.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:a,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((c,i)=>{t(r.Z).getAuthorizationUrl(n).then((t=>{const n=a||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const i=r.toString();n(i),c(i)})).catch((e=>{i(e)}))}))}}))}},1479:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9818),c=a(7523);const r=(0,n.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.i6:return{...e,...t.connectionStatus};case c.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===c.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===c.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===c.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case c.T1:return!1;case c.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===c.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.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===c.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===c.qJ?t.isConnecting:e}})},7728:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(9818),c=a(7523),r=a(7057);const i={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var a=arguments.length,c=new Array(a>1?a-1:0),i=1;i{"use strict";a.d(t,{Z:()=>n});const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(17),c=a.n(n),r=a(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}c()(i,"store",null);const l=i},7057:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n="jetpack-connection"},428:(e,t,a)=>{"use strict";a.d(t,{t:()=>s.Z});var n=a(7523),c=a(1432),r=a(1479),i=a(7728),l=a(2725),o=a(3535),s=a(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."),o.Z.mayBeInit(s.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:n.ZP,selectors:l.Z,resolvers:i.Z,controls:c.Z,initialState:p||{}})},1827:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(6989),c=a.n(n),r=a(4769),i=a.n(r);const l={fetchWaf:()=>c()({path:"jetpack-protect/v1/waf",method:"GET"}).then(i()),toggleWaf:()=>c()({method:"POST",path:"jetpack-protect/v1/toggle-waf"}),updateWaf:e=>c()({method:"POST",path:"jetpack/v4/waf",data:e}),wafSeen:()=>c()({path:"jetpack-protect/v1/waf-seen",method:"POST"}),wafUpgradeSeen:()=>c()({path:"jetpack-protect/v1/waf-upgrade-seen",method:"POST"})}},7267:(e,t,a)=>{"use strict";a.d(t,{Z:()=>y});var n=a(9105),c=a(3363),r=a(8258),i=a(6989),l=a.n(i),o=a(9818),s=a(5736),p=a(6483),u=a(9196),m=a.n(u),d=a(3898),h=a(8963),g=a(4633),f=a(6402),v=a(8266),E=a(3324),k=a(3900),b=a(2770);const __=s.__,y=e=>{let{children:t}=e;(0,b.Z)();const{isSeen:a}=(0,h.Z)(),{refreshPlan:i,startScanOptimistically:s,refreshStatus:y}=(0,o.useDispatch)(g.t),{adminUrl:Z}=window.jetpackProtectInitialState||{},{run:C,isRegistered:_,hasCheckoutStarted:w}=(0,r.Z)({productSlug:d.o,redirectUrl:(0,p.addQueryArgs)(Z,{checkPlan:!0}),siteProductAvailabilityHandler:async()=>l()({path:"jetpack-protect/v1/check-plan",method:"GET"}).then((e=>e))});return(0,u.useEffect)((()=>{(0,p.getQueryArg)(window.location.search,"checkPlan")&&(s(),setTimeout((()=>{i(),y(!0)}),5e3))}),[i,y,s]),!_||w?m().createElement(f.Z,{onScanAdd:C}):m().createElement(n.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:m().createElement(v.Z,null)},m().createElement(c.Z,{horizontalSpacing:0},m().createElement(E.Z,{className:k.Z.navigation},m().createElement(E.O,{link:"/",label:__("Scan","jetpack-protect")}),m().createElement(E.O,{link:"/firewall",label:m().createElement(m().Fragment,null,__("Firewall","jetpack-protect"),!1===a&&m().createElement("span",{className:k.Z.badge},__("New","jetpack-protect")))}))),t)}},2770:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(1294),c=a(9818),r=a(9196),i=a(4633);const l=()=>{const{isRegistered:e}=(0,n.Z)(),{refreshStatus:t}=(0,c.useDispatch)(i.t),a=(0,c.useSelect)((e=>e(i.t).getStatus()));(0,r.useEffect)((()=>{e&&!a.status&&t()}),[e])}},4948:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5609),c=a(9196),r=a.n(c),i=a(9993);function l(e){let{className:t,color:a="#D63638"}=e;return r().createElement("div",{className:i.Z.container},r().createElement(n.SVG,{className:t,width:"127",height:"136",viewBox:"0 0 127 136",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r().createElement(n.G,{filter:"url(#filter0_d_2716_19567)"},r().createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M63.4061 36L86.8123 46.4057V61.9177C86.8123 75.141 78.1289 87.6611 65.8844 91.6107C64.2754 92.1298 62.5369 92.1297 60.9279 91.6107C48.6834 87.6611 40 75.141 40 61.9177V46.4057L63.4061 36Z",fill:a}),r().createElement(n.Rect,{x:"59.8953",y:"72.1666",width:"7.02184",height:"7",rx:"3.5",fill:"white"}),r().createElement(n.Path,{d:"M59.9619 51.0626C59.9258 50.4868 60.383 50 60.9599 50H65.8524C66.4293 50 66.8866 50.4868 66.8505 51.0626L65.8056 67.7292C65.7725 68.2562 65.3355 68.6667 64.8075 68.6667H62.0048C61.4769 68.6667 61.0398 68.2562 61.0068 67.7292L59.9619 51.0626Z",fill:"white"})),r().createElement("defs",null,r().createElement("filter",{id:"filter0_d_2716_19567",x:"0",y:"0",width:"126.812",height:"136",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r().createElement("feOffset",{dy:"4"}),r().createElement("feGaussianBlur",{stdDeviation:"20"}),r().createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_2716_19567"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_2716_19567",result:"shape"})))))}},9974:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(5033),c=a(9818),r=a(5736),i=a(4633),l=a(9886),o=a(4424);const __=r.__,s=e=>{let{children:t}=e;const{checkCredentials:a}=(0,c.useDispatch)(i.t),{credentials:r,credentialsIsFetching:s}=(0,c.useSelect)((e=>({credentials:e(i.t).getCredentials(),credentialsIsFetching:e(i.t).getCredentialsIsFetching()})));return r||s||a(),r?0===r.length?React.createElement(l.Z,null):t:React.createElement("div",{className:o.Z.loading},React.createElement(n.Z,{color:"black",style:{color:"black",marginTop:0,marginLeft:0}}),React.createElement("p",{className:o.Z.loading__message},__("Checking credentials…","jetpack-protect")))}},9886:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(5106),c=a(526),r=a(6895),i=a(9818),l=a(5736),o=a(9196),s=a(4633),p=a(291),u=a(3064);const __=l.__,m=()=>{const{setModal:e}=(0,i.useDispatch)(s.t),{siteSuffix:t}=window.jetpackProtectInitialState,{checkCredentials:a}=(0,i.useDispatch)(s.t),l=(0,i.useSelect)((e=>e(s.t).getCredentials()));return(0,o.useEffect)((()=>{const e=setInterval((()=>{l&&0!==l.length||a()}),3e3);return()=>clearInterval(e)}),[a,l]),React.createElement(React.Fragment,null,React.createElement(n.ZP,{variant:"title-medium",mb:2},__("Site credentials needed","jetpack-protect")),React.createElement(p.Z,{type:"info",message:__("Before Jetpack Protect can auto-fix threats on your site, it needs your server credentials.","jetpack-protect")}),React.createElement(n.ZP,{mb:3},__("Your server credentials allow Jetpack Protect to access the server that’s powering your website. This information is securely saved and only used to perform fix threats detected on your site.","jetpack-protect")),React.createElement(n.ZP,{mb:3},__("Once you’ve entered server credentials, Jetpack Protect will be fixing the selected threats.","jetpack-protect")),React.createElement("div",{className:u.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:t=>{t.preventDefault(),e({type:null})}},__("Not now","jetpack-protect")),React.createElement(c.Z,{isExternalLink:!0,weight:"regular",href:(0,r.Z)("jetpack-settings-security-credentials",{site:t})},__("Enter server credentials","jetpack-protect"))))}},7127:(e,t,a)=>{"use strict";a.d(t,{C:()=>l});var n=a(7470),c=a(9196),r=a(9137);const i=e=>{const t=e.lastIndexOf("/");return t>-1?[e.slice(0,t),e.slice(t)]:["",e]},l=e=>{let{diff:t}=e;return React.createElement("div",{className:r.Z["diff-viewer"]},(0,n.G)(t).map(((e,t)=>React.createElement(c.Fragment,{key:t},React.createElement("div",{key:`file-${t}`,className:r.Z["diff-viewer__filename"]},(e=>{let{oldFileName:t,newFileName:a}=e;const n="a"===t[0]&&"/"===t[1]&&"b"===a[0]&&"/"===a[1],[l,o]=n?[t.slice(2),a.slice(2)]:[t,a];if(l===o){const[e,t]=i(l);return React.createElement(c.Fragment,null,e&&React.createElement("span",{className:r.Z["diff-viewer__path-prefix"]},e),React.createElement("span",{className:r.Z["diff-viewer__path"]},t))}const s=Math.max(l.length,o.length);for(let e=0,t=0;e{let a=0;return e.lines.map(((n,c)=>React.createElement("div",{key:`${t}-${c}`},"+"===n[0]?" ":e.oldStart+a++)))}))),React.createElement("div",{key:"right-numbers",className:r.Z["diff-viewer__line-numbers"]},e.hunks.map(((e,t)=>{let a=0;return e.lines.map(((n,c)=>React.createElement("div",{key:`${t}-${c}`},"-"===n[0]?" ":e.newStart+a++)))}))),React.createElement("div",{className:r.Z["diff-viewer__lines"]},e.hunks.map(((e,t)=>e.lines.map(((e,a)=>{const n=e.slice(1).replace(/^\s*$/," "),c=`${t}-${a}`;switch(e[0]){case" ":return React.createElement("div",{key:c},n);case"-":return React.createElement("del",{key:c},n);case"+":return React.createElement("ins",{key:c},n)}}))))))))))}},8431:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(5106),c=a(526),r=a(216),i=a(5609),l=a(9818),o=a(9307),s=a(5736),p=a(9196),u=a(3898),m=a(8963),d=a(4633),h=a(9909),g=a(3932);const __=s.__,f=()=>{const{setModal:e}=(0,l.useDispatch)(d.t);return React.createElement("div",{className:g.Z["standalone-mode-section"]},React.createElement(n.Dx,null,__("Standalone mode","jetpack-protect")),React.createElement(n.ZP,{mb:2},__("Learn how you can execute the firewall before WordPress initializes. This mode offers the most protection.","jetpack-protect")),React.createElement(c.Z,{variant:"link",isExternalLink:!0,weight:"regular",onClick:t=>{t.preventDefault(),e({type:"STANDALONE_MODE"})}},__("Learn more","jetpack-protect")))},v=()=>{const{config:e,isUpdating:t,toggleShareData:a}=(0,m.Z)(),{jetpackWafShareData:c}=e||{},{setNotice:r}=(0,l.useDispatch)(d.t),[s,h]=(0,p.useState)({jetpack_waf_share_data:c}),f=(0,p.useCallback)((()=>{h({...s,jetpack_waf_share_data:!s.jetpack_waf_share_data}),a().then((()=>r({type:"success",duration:5e3,dismissable:!0,message:__("Changes saved.","jetpack-protect")}))).catch((()=>{r({type:"error",dismissable:!0,message:(0,o.createInterpolateElement)(__("An error ocurred. Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(i.ExternalLink,{href:u.K})})})}))}),[s,a,r]);return(0,p.useEffect)((()=>{h({jetpack_waf_share_data:c})}),[c]),React.createElement("div",{className:g.Z["share-data-section"]},React.createElement(n.Dx,{mb:2},__(" Share data with Jetpack","jetpack-protect")),React.createElement("div",{className:g.Z["footer-checkbox"]},React.createElement(i.CheckboxControl,{checked:Boolean(s.jetpack_waf_share_data),onChange:f,disabled:t}),React.createElement(n.ZP,null,__("Allow Jetpack to collect data to improve firewall protection and rules. Collected data is also used to display advanced usage metrics.","jetpack-protect"))))},E=()=>{const{isEnabled:e}=(0,m.Z)();return React.createElement(r.Z,null,React.createElement(h.Z,{main:React.createElement(f,null),secondary:e&&React.createElement(v,null),preserveSecondaryOnMobile:!0}))}},2651:(e,t,a)=>{"use strict";a.d(t,{Z:()=>j});var n=a(526),c=a(5106),r=a(216),i=a(3363),l=a(3846),o=a(8258),s=a(5609),p=a(5736),u=a(1074),m=a(1646),d=a(5235),h=a.n(d),g=a(9196),f=a.n(g),v=a(3898),E=a(6477),k=a(5773),b=a(8963),y=a(8452);const __=p.__,Z=()=>{const{adminUrl:e}=window.jetpackProtectInitialState||{},t=e+"#/firewall",{config:{automaticRulesAvailable:a}}=(0,b.Z)(),{run:c}=(0,o.Z)({productSlug:v.o,redirectUrl:t}),{recordEventHandler:r}=(0,E.Z)(),i=r("jetpack_protect_waf_header_get_scan_link_click",c);return f().createElement(n.Z,{className:y.Z["upgrade-button"],onClick:i},a?__("Upgrade to update automatic security rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"))},C=e=>{let{children:t=__("The free version of the firewall does not receive updates to automatic security rules.","jetpack-protect")}=e;const[a,n]=(0,g.useState)(!1),r=(0,g.useCallback)((()=>{n(!0)}),[]),i=(0,g.useCallback)((()=>{n(!1)}),[]);return f().createElement("div",{className:y.Z["icon-popover"],onMouseLeave:i,onMouseEnter:r,onClick:r,onFocus:r,onBlur:i,role:"presentation"},f().createElement(u.Z,{icon:m.Z}),a&&f().createElement(s.Popover,{noArrow:!1,offset:5},f().createElement(c.ZP,{className:y.Z["popover-text"],variant:"body-small"},t)))},_=e=>{let{className:t,text:a="",popover:n=!1,children:r}=e;return f().createElement("div",{className:y.Z["firewall-subheading__content"]},f().createElement(c.ZP,{className:y.Z[t],weight:600},a),n&&f().createElement(C,{children:r}))},w=e=>{let{hasRequiredPlan:t,automaticRulesAvailable:a,jetpackWafIpList:n,jetpackWafAutomaticRules:c,bruteForceProtectionIsEnabled:r,wafSupported:i}=e;const l=i&&c&&n,o=i&&c&&!n,s=i&&!c&&n,p=i&&!c&&!n;return f().createElement(f().Fragment,null,f().createElement("div",{className:y.Z["firewall-subheading"]},i&&r&&f().createElement(_,{className:"brute-force-protection-subheading",text:__("Brute force protection is active.","jetpack-protect")}),p&&f().createElement(_,{text:__("There are no firewall rules applied.","jetpack-protect")}),o&&f().createElement(_,{text:__("Automatic firewall protection is enabled.","jetpack-protect"),popover:!t}),s&&f().createElement(_,{text:__("Only manual IP list rules apply.","jetpack-protect"),popover:!t&&!a,children:__("The free version of the firewall only allows for use of manual rules.","jetpack-protect")}),l&&f().createElement(_,{text:__("All firewall rules apply.","jetpack-protect"),popover:!t})),!t&&f().createElement(Z,null))},R=e=>{let{status:t,hasRequiredPlan:a,automaticRulesEnabled:n,automaticRulesAvailable:o,jetpackWafIpList:p,jetpackWafAutomaticRules:u,bruteForceProtectionIsEnabled:m,wafSupported:d}=e;return f().createElement(r.Z,null,f().createElement(i.Z,{className:y.Z["firewall-header"],horizontalSpacing:7,horizontalGap:0},f().createElement(l.Z,null,"on"===t&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:h()(y.Z.status,y.Z.active),variant:"label"},__("Active","jetpack-protect")),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:1,mt:2},!d&&__("Brute force protection is active","jetpack-protect"),d&&(n?__("Automatic firewall is on","jetpack-protect"):__("Firewall is on","jetpack-protect",0))),f().createElement(w,{jetpackWafIpList:p,jetpackWafAutomaticRules:u,bruteForceProtectionIsEnabled:m,hasRequiredPlan:a,automaticRulesAvailable:o,wafSupported:d})),"off"===t&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:y.Z.status,variant:"label"},__("Inactive","jetpack-protect")),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:1,mt:2},!d&&__("Brute force protection is disabled","jetpack-protect"),d&&(o?__("Automatic firewall is off","jetpack-protect"):__("Firewall is off","jetpack-protect",0))),f().createElement(w,{jetpackWafIpList:p,jetpackWafAutomaticRules:u,bruteForceProtectionIsEnabled:m,hasRequiredPlan:a,automaticRulesAvailable:o,wafSupported:d})),"loading"===t&&f().createElement(f().Fragment,null,f().createElement(s.Spinner,{className:y.Z.spinner}),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:2,mt:2},__("Automatic firewall is being set up","jetpack-protect")),f().createElement(c.ZP,{className:y.Z["loading-text"],weight:600},__("Please wait…","jetpack-protect")))),f().createElement(l.Z,null,f().createElement("div",{className:y.Z["stat-card-wrapper"]}))))},j=()=>{const{config:{jetpackWafAutomaticRules:e,jetpackWafIpList:t,automaticRulesAvailable:a,bruteForceProtection:n},isToggling:c,wafSupported:r}=(0,b.Z)(),{hasRequiredPlan:i}=(0,k.Z)(),l=r&&(e||t)||n?"on":"off";return f().createElement(R,{status:c?"loading":l,hasRequiredPlan:i,automaticRulesEnabled:e,automaticRulesAvailable:a,jetpackWafIpList:t,jetpackWafAutomaticRules:e,bruteForceProtectionIsEnabled:n,wafSupported:r})}},5975:(e,t,a)=>{"use strict";a.d(t,{Z:()=>O});var n=a(2674),c=a.n(n),r=a(2054),i=a(1342),l=a(5106),o=a(526),s=a(857),p=a(3363),u=a(3846),m=a(8258),d=a(5609),h=a(9818),g=a(9307),f=a(5736),v=a(1074),E=a(6163),k=a(3259),b=a(6292),y=a.n(b),Z=a(9196),C=a(1827),_=a(3898),w=a(6477),R=a(5773),j=a(8963),S=a(4633),N=a(7267),P=a(8431),x=a(2651),I=a(5678),M=a(291),T=a(5800),L=a(9265),z=a(4854);const __=f.__,_n=f._n,A=window?.jetpackProtectInitialState?.adminUrl,F=5e3,O=()=>{const[e]=(0,r.Z)(["sm","lg"],[null,"<"]),t=(0,h.useSelect)((e=>e(S.t).getNotice())),{setWafIsSeen:a,setWafUpgradeIsSeen:n,setNotice:b}=(0,h.useDispatch)(S.t),{config:{jetpackWafAutomaticRules:O,jetpackWafIpList:V,jetpackWafIpBlockList:D,jetpackWafIpAllowList:U,automaticRulesAvailable:H,bruteForceProtection:B},currentIp:W,isEnabled:J,isSeen:G,upgradeIsSeen:$,displayUpgradeBadge:q,wafSupported:K,isUpdating:X,stats:{ipAllowListCount:Q,ipBlockListCount:Y,rulesVersion:ee,automaticRulesLastUpdated:te},toggleAutomaticRules:ae,toggleManualRules:ne,toggleBruteForceProtection:ce,toggleWaf:re,updateConfig:ie}=(0,j.Z)(),{hasRequiredPlan:le}=(0,R.Z)(),{run:oe}=(0,m.Z)({productSlug:_.o,redirectUrl:`${A}#/firewall`}),{recordEventHandler:se,recordEvent:pe}=(0,w.Z)(),ue=J&&(le||H),[me,de]=(0,Z.useState)(!1),[he,ge]=(0,Z.useState)({jetpack_waf_automatic_rules:O,jetpack_waf_ip_list:V,jetpack_waf_ip_block_list:D,jetpack_waf_ip_allow_list:U,brute_force_protection:B}),[fe,ve]=(0,Z.useState)(!1),[Ee,ke]=(0,Z.useState)(!1),be=(0,Z.useCallback)((e=>{switch(e.code){case"file_system_error":return __("A filesystem error occurred.","jetpack-protect");case"rules_api_error":return __("An error occurred retrieving the latest firewall rules from Jetpack.","jetpack-protect");default:return!1}}),[]),ye=(0,Z.useCallback)((e=>{const t=be(e)||__("An error occurred.","jetpack-protect"),a=(0,g.createInterpolateElement)(__("Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(d.ExternalLink,{href:_.K})});b({type:"error",message:React.createElement(React.Fragment,null,t," ",a)})}),[be,b]),Ze=se("jetpack_protect_waf_page_get_scan_link_click",oe),Ce=(0,Z.useCallback)((()=>{ve(!0),ie(he).then((()=>b({type:"success",duration:F,message:__("Changes saved.","jetpack-protect")}))).catch(ye).finally((()=>ve(!1)))}),[ie,he,ye,b]),_e=(0,Z.useCallback)((e=>{const{value:t,id:a}=e.target;ge({...he,[a]:t})}),[he]),we=(0,Z.useCallback)((()=>{ve(!0);const e=!he.jetpack_waf_automatic_rules;ge({...he,jetpack_waf_automatic_rules:e}),ae().then((()=>{de(!1),b({type:"success",duration:F,message:e?__("Automatic firewall protection is enabled.","jetpack-protect"):__("Automatic firewall protection is disabled.","jetpack-protect",0)}),pe(e?"jetpack_protect_automatic_rules_enabled":"jetpack_protect_automatic_rules_disabled")})).then((()=>{$||(n(!0),C.Z.wafUpgradeSeen())})).catch((e=>{de(!0),ye(e)})).finally((()=>ve(!1)))}),[he,ae,b,pe,$,n,ye]),Re=(0,Z.useCallback)((()=>{ve(!0);const e=!he.brute_force_protection;ge({...he,brute_force_protection:e}),ce().then((()=>{b({type:"success",duration:F,message:e?__("Brute force protection is enabled.","jetpack-protect"):__("Brute force protection is disabled.","jetpack-protect",0)}),pe(e?"jetpack_protect_brute_force_protection_enabled":"jetpack_protect_brute_force_protection_disabled")})).catch(ye).finally((()=>ve(!1)))}),[he,ce,ye,b,pe]),je=(0,Z.useCallback)((()=>{const e=!he.jetpack_waf_ip_list;ve(!0),ge({...he,jetpack_waf_ip_list:e}),ne().then((()=>{b({type:"success",duration:F,message:e?__("Manual rules are active.","jetpack-protect"):__("Manual rules are disabled.","jetpack-protect",0)}),pe(e?"jetpack_protect_manual_rules_enabled":"jetpack_protect_manual_rules_disabled")})).catch(ye).finally((()=>ve(!1)))}),[he,ne,ye,b,pe]),Se=(0,Z.useCallback)((()=>{ke(!Ee)}),[Ee,ke]),Ne=(0,Z.useCallback)((()=>{n(!0),C.Z.wafUpgradeSeen()}),[n]),Pe=(0,Z.useMemo)((()=>he.jetpack_waf_ip_allow_list.includes(W)),[he.jetpack_waf_ip_allow_list,W]),xe=(0,Z.useCallback)((()=>{const e=he.jetpack_waf_ip_allow_list.length>0?`${he.jetpack_waf_ip_allow_list}\n${W}`:W;ge((t=>({...t,jetpack_waf_ip_allow_list:e})))}),[he.jetpack_waf_ip_allow_list,W]);(0,Z.useEffect)((()=>{X||ge({jetpack_waf_automatic_rules:O,jetpack_waf_ip_list:V,jetpack_waf_ip_block_list:D,jetpack_waf_ip_allow_list:U,brute_force_protection:B})}),[V,D,U,O,B,X]),(0,Z.useEffect)((()=>{G||(a(!0),C.Z.wafSeen())}),[G,a]),(0,w.Z)({pageViewEventName:"protect_waf",pageViewEventProperties:{has_plan:le}});const Ie=React.createElement(i.Z,{level:"error",title:"Jetpack Firewall is currently disabled.",children:React.createElement(l.ZP,null,__("Re-enable the Firewall to continue.","jetpack-protect")),actions:[React.createElement(o.Z,{variant:"link",onClick:re,isLoading:X,disabled:X},__("Enable Firewall","jetpack-protect"))],hideCloseButton:!0}),Me=React.createElement(React.Fragment,null,React.createElement("div",{className:`${z.Z["toggle-section"]} ${ue?"":z.Z["toggle-section--disabled"]}`},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{checked:!!ue&&he.jetpack_waf_automatic_rules,onChange:we,disabled:!J||fe||!ue}),le&&!1===$&&React.createElement(d.Popover,{noArrow:!1,offset:8,position:"top right"},React.createElement("div",{className:z.Z.popover},React.createElement("div",{className:z.Z.popover__header},React.createElement(l.ZP,{className:z.Z.popover__title,variant:"title-small"},__("Thanks for upgrading!","jetpack-protect")),React.createElement(o.Z,{className:z.Z.popover__button,variant:"icon"},React.createElement(v.Z,{onClick:Ne,icon:E.Z,size:24,"aria-label":__("Close Window","jetpack-protect")}))),React.createElement(l.ZP,{className:z.Z.popover__description,variant:"body",mt:2,mb:3},__("Turn on Jetpack Firewall to automatically protect your site with the latest security rules.","jetpack-protect")),React.createElement("div",{className:z.Z.popover__footer},React.createElement(o.Z,{onClick:Ne},__("Got it","jetpack-protect")))))),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement("div",{className:z.Z["toggle-section__title"]},React.createElement(l.ZP,{variant:"title-medium",mb:2},__("Enable automatic firewall protection","jetpack-protect")),!e&&le&&q&&React.createElement("span",{className:z.Z.badge},__("NOW AVAILABLE","jetpack-protect"))),React.createElement(l.ZP,null,__("Block untrusted traffic sources by scanning every request made to your site. Jetpack’s advanced security rules are automatically kept up-to-date to protect your site from the latest threats.","jetpack-protect")),React.createElement("div",{className:z.Z["toggle-section__details"]},O&&!me&&React.createElement("div",{className:z.Z["automatic-rules-stats"]},ee&&React.createElement(l.ZP,{className:z.Z["automatic-rules-stats__version"],variant:"body-small"},(0,f.sprintf)( +default:(0,a.sprintf)(__("%s coming soon","jetpack-protect"),n)}:{lg:t?f:v,default:t?n:(0,a.sprintf)(/* translators: Name of the current feature */ +__("%s not included","jetpack-protect"),n)})(n,t,R),x=C?P.lg:P.default;return u().createElement("div",{className:l()(g.Z.item,g.Z.value)},u().createElement(c.Z,{className:l()(g.Z.icon,w?g.Z["icon-check"]:g.Z["icon-cross"]),size:32,icon:w?r.Z:i.Z}),u().createElement(h.ZP,{variant:"body-small"},d||x),N&&u().createElement(p.Z,{title:y||S,iconClassName:g.Z["popover-icon"],className:l()(g.Z.popover,Z),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(y&&b)},u().createElement(h.ZP,{variant:"body-small",component:"div"},b||j)))},y=e=>{let{children:t}=e;return u().createElement("div",{className:g.Z.header},t)},Z=e=>{let{primary:t=!1,children:n}=e,a=0;return u().createElement("div",{className:l()(g.Z.card,{[g.Z["is-primary"]]:t})},s.Children.map(n,(e=>{const t=e;return t.type===b?(a++,(0,s.cloneElement)(t,{index:a-1})):t})))};t.ZP=e=>{let{title:t,items:n,children:a,showIntroOfferDisclaimer:c=!1}=e;const[r]=(0,m.Z)("lg");return u().createElement(k.Provider,{value:n},u().createElement("div",{className:l()(g.Z.container,{[g.Z["is-viewport-large"]]:r}),style:{"--rows":n.length+1,"--columns":s.Children.toArray(a).length+1}},u().createElement("div",{className:g.Z.table},u().createElement(h.ZP,{variant:"headline-small"},t),r&&n.map(((e,t)=>u().createElement("div",{className:l()(g.Z.item,{[g.Z["last-feature"]]:t===n.length-1}),key:t},u().createElement(h.ZP,{variant:"body-small"},u().createElement("strong",null,e.name)),e.tooltipInfo&&u().createElement(p.Z,{title:e.tooltipTitle,iconClassName:g.Z["popover-icon"],className:g.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},u().createElement(h.ZP,{variant:"body-small"},e.tooltipInfo))))),a)),u().createElement("div",{className:g.Z["tos-container"]},u().createElement("div",{className:g.Z.tos},c&&u().createElement(h.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-protect")),u().createElement(d.Z,{multipleButtons:!0}))))}},5347:function(e,t,n){"use strict";var a=n(5736),c=n(5235),r=n.n(c),i=n(5106),o=n(3789),l=n(9184);const __=a.__;t.Z=e=>{let{price:t,offPrice:n,currency:a="",showNotOffPrice:c=!0,hideDiscountLabel:s=!0,promoLabel:u="",legend:p=__("/month, paid yearly","jetpack-protect"),isNotConvenientPrice:m=!1,hidePriceFraction:d=!1,children:h}=e;if(null==t&&null==n||!a)return null;c=c&&null!=n;const g="number"==typeof t&&"number"==typeof n?Math.floor((t-n)/t*100):0,f=!s&&g&&g>0?g+__("% off","jetpack-protect"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:l.Z.container},React.createElement("div",{className:r()(l.Z["price-container"],"product-price_container")},React.createElement(o.t,{value:n??t,currency:a,isOff:!m,hidePriceFraction:d}),c&&React.createElement(o.t,{value:t,currency:a,isOff:!1,hidePriceFraction:d}),f&&React.createElement(i.ZP,{className:r()(l.Z["promo-label"],"product-price_promo_label")},f))),React.createElement("div",{className:l.Z.footer},h||React.createElement(i.ZP,{className:r()(l.Z.legend,"product-price_legend")},p),u&&React.createElement(i.ZP,{className:r()(l.Z["promo-label"],"product-price_promo_label")},u)))}},3789:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var a=n(8899),c=n(5235),r=n.n(c),i=n(5106),o=n(9184);const l=e=>{let{value:t,currency:n,isOff:c,hidePriceFraction:l}=e;const s=r()(o.Z.price,"product-price_price",{[o.Z["is-not-off-price"]]:!c}),{symbol:u,integer:p,fraction:m}=(0,a.LR)(t,n),d=!l||!m.endsWith("00");return React.createElement(i.ZP,{className:s,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:o.Z.symbol,component:"sup",variant:"title-medium"},u),p,d&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,m)))}},5033:function(e,t,n){"use strict";var a=n(5162),c=n.n(a),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},a={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:a})))};o.propTypes={color:c().string,className:c().string,size:c().number},o.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=o},7325:function(e,t,n){"use strict";var a=n(9307),c=n(5736),r=n(5235),i=n.n(r),o=n(6895),l=n(5106);n(7920);const __=c.__,s=()=>(0,a.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-protect"),{tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=e=>{let{agreeButtonLabel:t}=e;return(0,a.createInterpolateElement)((0,c.sprintf)(/* translators: %s is a button label */ +__("By clicking the %s button, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-protect"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},p=e=>{let{slug:t,children:n}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,o.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)};t.Z=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:a}=e;return React.createElement(l.ZP,{className:i()(t,"terms-of-service")},n?React.createElement(s,null):React.createElement(u,{agreeButtonLabel:a}))}},6017:function(e,t,n){"use strict";n.d(t,{h:function(){return a},s:function(){return c}});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},c=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:function(e,t,n){"use strict";n.d(t,{Dx:function(){return d},H3:function(){return m}});var a=n(2674),c=n.n(a),r=n(5235),i=n.n(r),o=n(9196),l=n.n(o),s=n(6017),u=n(3280);const p=(0,o.forwardRef)(((e,t)=>{let{variant:n="body",children:a,component:r,className:p,...m}=e;const d=r||s.h[n]||"span",h=(0,o.useMemo)((()=>s.s.reduce(((e,t)=>(void 0!==m[t]&&(e+=u.Z[`${t}-${m[t]}`]+" ",delete m[t]),e)),"")),[m]);return m.ref=t,l().createElement(d,c()({className:i()(u.Z.reset,u.Z[n],p,h)},m),a)}));p.displayName="Text",t.ZP=p;const m=e=>{let{children:t,weight:n="bold",...a}=e;const r="headline-small"+("bold"===n?"":`-${n}`);return l().createElement(p,c()({variant:r,mb:3},a),t)},d=e=>{let{children:t,size:n="medium",...a}=e;return l().createElement(p,c()({variant:`title-${n}`,mb:1},a),t)}},8275:function(e,t,n){"use strict";var a=n(9196),c=n.n(a),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 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},s={"--spacing-base":"8px"},u={},p=(e,t,n)=>{const a={...i,...o,...l,...s};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(r.Z.global),t&&(u[t]={provided:!0,root:e})};t.ZP=e=>{let{children:t=null,targetDom:n,id:r,withGlobalStyles:i=!0}=e;const o=(0,a.useRef)(),l=u?.[r]?.provided;return(0,a.useLayoutEffect)((()=>{if(!l)return n?p(n,r,i):void(o?.current&&p(o.current,r,i))}),[n,o,l,r,i]),n?t:c().createElement("div",{ref:o},t)}},4153:function(e,t,n){"use strict";function a(e,t,n,a){const c=new URL("https://wordpress.com/checkout/"),r=new URL(`${c}${t}/${e}`);return r.searchParams.set("redirect_to",n),a||r.searchParams.set("unlinked","1"),r.searchParams.set("site",t),r.toString()}n.d(t,{Z:function(){return a}})},6895:function(e,t,n){"use strict";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let a;if("undefined"!=typeof window&&(a=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),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:function(){return a}})},1132:function(e,t,n){let a={};try{a=n(6436)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const c=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:c,jetpackConfigGet:e=>{if(!c(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return a[e]}}},6186:function(e,t,n){"use strict";var a=n(2054),c=n(5033),r=n(5609),i=n(5736),o=n(5162),l=n.n(o),s=n(9196),u=n.n(s),p=n(9836);const __=i.__,m=e=>{const{message:t,isRestoringConnection:n,restoreConnectionCallback:o,restoreConnectionError:l}=e,[s]=(0,a.Z)(["md"],[">"]),m=p.Z.notice+(s?" "+p.Z["bigger-than-medium"]:""),d=u().createElement(r.Icon,{icon:u().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u().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"}),u().createElement(r.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),u().createElement(r.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!t)return null;if(n)return u().createElement(r.Notice,{status:"error",isDismissible:!1,className:m},u().createElement("div",{className:p.Z.message},u().createElement(c.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-protect")));const h=l?u().createElement(r.Notice,{status:"error",isDismissible:!1,className:m+" "+p.Z.error},u().createElement("div",{className:p.Z.message},d,(0,i.sprintf)(/* translators: placeholder is the error. */ +__("There was an error reconnecting Jetpack. Error: %s","jetpack-protect"),l))):null;return u().createElement(u().Fragment,null,h,u().createElement(r.Notice,{status:"error",isDismissible:!1,className:m},u().createElement("div",{className:p.Z.message},d,t),o&&u().createElement("a",{onClick:o,onKeyDown:o,className:p.Z.button,href:"#"},__("Restore Connection","jetpack-protect"))))};m.propTypes={message:l().string.isRequired,restoreConnectionCallback:l().func,isRestoringConnection:l().bool,restoreConnectionError:l().string},t.Z=m},1294:function(e,t,n){"use strict";var a=n(4743),c=n(9818),r=n(9196),i=n(428);const o=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};t.Z=function(){let{registrationNonce:e=o.registrationNonce,apiRoot:t=o.apiRoot,apiNonce:n=o.apiNonce,redirectUri:l,autoTrigger:s,from:u,skipUserConnection:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:m,connectUser:d,refreshConnectedPlugins:h}=(0,c.useDispatch)(i.t),g=(0,c.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:v,userConnectionData:E,connectedPlugins:k,connectionErrors:b,isRegistered:y,isUserConnected:Z,hasConnectedOwner:C,isOfflineMode:_}=(0,c.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()}))),w=()=>p?l?(window.location=l,Promise.resolve(l)):Promise.resolve():d({from:u,redirectUri:l}),R=t=>(t&&t.preventDefault(),y?w():m({registrationNonce:e,redirectUri:l}).then((()=>w())));return(0,r.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,r.useEffect)((()=>{!s||f||v||R()}),[]),{handleRegisterSite:R,handleConnectUser:w,refreshConnectedPlugins:h,isRegistered:y,isUserConnected:Z,siteIsRegistering:f,userIsConnecting:v,registrationError:g,userConnectionData:E,hasConnectedOwner:C,connectedPlugins:k,connectionErrors:b,isOfflineMode:_}}},3329:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},h:function(){return o}});var a=n(6186),c=n(1294),r=n(1045);function i(){const{connectionErrors:e}=(0,c.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:c,restoreConnectionError:o}=(0,r.Z)();return e?React.createElement(a.Z,{isRestoringConnection:c,restoreConnectionError:o,restoreConnectionCallback:n,message:t}):null}},8258:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var a=n(4743),c=n(4153),r=n(9818),i=n(951),o=n.n(i),l=n(9196),s=n(1294),u=n(428);const p=o()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:d,apiNonce:h,siteSuffix:g}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function f(){let{productSlug:e,redirectUrl:t,siteSuffix:n=g,siteProductAvailabilityHandler:i=null,from:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p("productSlug is %s",e),p("redirectUrl is %s",t),p("siteSuffix is %s",n),p("from is %s",o);const[f,v]=(0,l.useState)(!1),{registerSite:E}=(0,r.useDispatch)(u.t),{isUserConnected:k,isRegistered:b,handleConnectUser:y}=(0,s.Z)({redirectUri:t,from:o}),Z=(0,c.Z)(e,n,t,k);p("checkoutProductUrl is %s",Z),p("isUserConnected is %s",k);const C=()=>Promise.resolve(i&&i()).then((e=>{if(e)return p("handleAfterRegistration: Site has a product associated"),y();p("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",Z),window.location.href=Z}));return(0,l.useEffect)((()=>{a.ZP.setApiRoot(d),a.ZP.setApiNonce(h)}),[]),{run:e=>{if(e&&e.preventDefault(),v(!0),b)return C();E({registrationNonce:m,redirectUri:t}).then(C)},isRegistered:b,hasCheckoutStarted:f}}},1045:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(4743),c=n(9818),r=n(9196),i=n(428);const{apiRoot:o,apiNonce:l}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function s(){const[e,t]=(0,r.useState)(!1),[n,s]=(0,r.useState)(null),{disconnectUserSuccess:u,setConnectionErrors:p}=(0,c.useDispatch)(i.t);return(0,r.useEffect)((()=>{a.ZP.setApiRoot(o),a.ZP.setApiNonce(l)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),s(null),a.ZP.reconnect().then((t=>("in_progress"===t.status?(u(),p({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),t))).catch((e=>{throw s(e),t(!1),e}))},isRestoringConnection:e,restoreConnectionError:n}}},7523:function(e,t,n){"use strict";n.d(t,{LI:function(){return r},N4:function(){return o},Qo:function(){return p},T1:function(){return s},TS:function(){return u},ZP:function(){return Z},b5:function(){return d},i6:function(){return c},qJ:function(){return h},qV:function(){return l},r7:function(){return i},wQ:function(){return m}});var a=n(4743);const c="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",l="SET_REGISTRATION_ERROR",s="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",m="SET_CONNECTED_PLUGINS",d="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:c,connectionStatus:e}),f=e=>({type:i,isRegistering:e}),v=e=>({type:o,isConnecting:e}),E=e=>({type:l,registrationError:e}),k=()=>({type:s}),b=e=>({type:u,authorizationUrl:e}),y=e=>({type:m,connectedPlugins:e});const Z={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:k,setAuthorizationUrl:b,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 g({isRegistered:!0}),yield b(e.authorizeUrl),yield f(!1),Promise.resolve(e)}catch(e){return yield E(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 v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:y,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>a.ZP.fetchConnectedPlugins().then((n=>{t(y(n)),e(n)}))))},setConnectionErrors:e=>({type:d,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:function(e,t,n){"use strict";var a=n(4743),c=n(9818),r=n(7057);const i=(0,c.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((c,i)=>{t(r.Z).getAuthorizationUrl(a).then((t=>{const a=n||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const i=r.toString();a(i),c(i)})).catch((e=>{i(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return a.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return a.ZP.registerSite(t,n)},CONNECT_USER:i}},1479:function(e,t,n){"use strict";var a=n(9818),c=n(7523);const r=(0,a.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 c.i6:return{...e,...t.connectionStatus};case c.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===c.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===c.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===c.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case c.T1:return!1;case c.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===c.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.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===c.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===c.qJ?t.isConnecting:e}});t.Z=r},7728:function(e,t,n){"use strict";var a=n(9818),c=n(7523),r=n(7057);const i={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,c=new Array(n>1?n-1:0),i=1;ie.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}};t.Z=n},3535:function(e,t,n){"use strict";var a=n(17),c=n.n(a),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}c()(i,"store",null),t.Z=i},7057:function(e,t){"use strict";t.Z="jetpack-connection"},428:function(e,t,n){"use strict";n.d(t,{t:function(){return s.Z}});var a=n(7523),c=n(1432),r=n(1479),i=n(7728),o=n(2725),l=n(3535),s=n(7057);const u=window.JP_CONNECTION_INITIAL_STATE;u||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.Z.mayBeInit(s.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:a.ZP,selectors:o.Z,resolvers:i.Z,controls:c.Z,initialState:u||{}})},1827:function(e,t,n){"use strict";var a=n(6989),c=n.n(a),r=n(4769),i=n.n(r);const o={fetchWaf:()=>c()({path:"jetpack-protect/v1/waf",method:"GET"}).then(i()),toggleWaf:()=>c()({method:"POST",path:"jetpack-protect/v1/toggle-waf"}),updateWaf:e=>c()({method:"POST",path:"jetpack/v4/waf",data:e}),wafSeen:()=>c()({path:"jetpack-protect/v1/waf-seen",method:"POST"}),wafUpgradeSeen:()=>c()({path:"jetpack-protect/v1/waf-upgrade-seen",method:"POST"})};t.Z=o},7267:function(e,t,n){"use strict";var a=n(9105),c=n(3363),r=n(8258),i=n(6989),o=n.n(i),l=n(9818),s=n(5736),u=n(6483),p=n(9196),m=n.n(p),d=n(3898),h=n(8963),g=n(4633),f=n(6402),v=n(8266),E=n(3324),k=n(3900),b=n(2770);const __=s.__;t.Z=e=>{let{children:t}=e;(0,b.Z)();const{isSeen:n}=(0,h.Z)(),{refreshPlan:i,startScanOptimistically:s,refreshStatus:y}=(0,l.useDispatch)(g.t),{adminUrl:Z}=window.jetpackProtectInitialState||{},{run:C,isRegistered:_,hasCheckoutStarted:w}=(0,r.Z)({productSlug:d.o,redirectUrl:(0,u.addQueryArgs)(Z,{checkPlan:!0}),siteProductAvailabilityHandler:async()=>o()({path:"jetpack-protect/v1/check-plan",method:"GET"}).then((e=>e))});return(0,p.useEffect)((()=>{(0,u.getQueryArg)(window.location.search,"checkPlan")&&(s(),setTimeout((()=>{i(),y(!0)}),5e3))}),[i,y,s]),!_||w?m().createElement(f.Z,{onScanAdd:C}):m().createElement(a.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:m().createElement(v.Z,null)},m().createElement(c.Z,{horizontalSpacing:0},m().createElement(E.Z,{className:k.Z.navigation},m().createElement(E.O,{link:"/",label:__("Scan","jetpack-protect")}),m().createElement(E.O,{link:"/firewall",label:m().createElement(m().Fragment,null,__("Firewall","jetpack-protect"),!1===n&&m().createElement("span",{className:k.Z.badge},__("New","jetpack-protect")))}))),t)}},2770:function(e,t,n){"use strict";var a=n(1294),c=n(9818),r=n(9196),i=n(4633);t.Z=()=>{const{isRegistered:e}=(0,a.Z)(),{refreshStatus:t}=(0,c.useDispatch)(i.t),n=(0,c.useSelect)((e=>e(i.t).getStatus()));(0,r.useEffect)((()=>{e&&!n.status&&t()}),[e])}},4948:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var a=n(5609),c=n(9196),r=n.n(c),i=n(9993);function o(e){let{className:t,color:n="#D63638"}=e;return r().createElement("div",{className:i.Z.container},r().createElement(a.SVG,{className:t,width:"127",height:"136",viewBox:"0 0 127 136",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r().createElement(a.G,{filter:"url(#filter0_d_2716_19567)"},r().createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M63.4061 36L86.8123 46.4057V61.9177C86.8123 75.141 78.1289 87.6611 65.8844 91.6107C64.2754 92.1298 62.5369 92.1297 60.9279 91.6107C48.6834 87.6611 40 75.141 40 61.9177V46.4057L63.4061 36Z",fill:n}),r().createElement(a.Rect,{x:"59.8953",y:"72.1666",width:"7.02184",height:"7",rx:"3.5",fill:"white"}),r().createElement(a.Path,{d:"M59.9619 51.0626C59.9258 50.4868 60.383 50 60.9599 50H65.8524C66.4293 50 66.8866 50.4868 66.8505 51.0626L65.8056 67.7292C65.7725 68.2562 65.3355 68.6667 64.8075 68.6667H62.0048C61.4769 68.6667 61.0398 68.2562 61.0068 67.7292L59.9619 51.0626Z",fill:"white"})),r().createElement("defs",null,r().createElement("filter",{id:"filter0_d_2716_19567",x:"0",y:"0",width:"126.812",height:"136",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r().createElement("feOffset",{dy:"4"}),r().createElement("feGaussianBlur",{stdDeviation:"20"}),r().createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_2716_19567"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_2716_19567",result:"shape"})))))}},9974:function(e,t,n){"use strict";var a=n(5033),c=n(9818),r=n(5736),i=n(4633),o=n(9886),l=n(4424);const __=r.__;t.Z=e=>{let{children:t}=e;const{checkCredentials:n}=(0,c.useDispatch)(i.t),{credentials:r,credentialsIsFetching:s}=(0,c.useSelect)((e=>({credentials:e(i.t).getCredentials(),credentialsIsFetching:e(i.t).getCredentialsIsFetching()})));return r||s||n(),r?0===r.length?React.createElement(o.Z,null):t:React.createElement("div",{className:l.Z.loading},React.createElement(a.Z,{color:"black",style:{color:"black",marginTop:0,marginLeft:0}}),React.createElement("p",{className:l.Z.loading__message},__("Checking credentials…","jetpack-protect")))}},9886:function(e,t,n){"use strict";var a=n(5106),c=n(526),r=n(6895),i=n(9818),o=n(5736),l=n(9196),s=n(4633),u=n(291),p=n(3064);const __=o.__;t.Z=()=>{const{setModal:e}=(0,i.useDispatch)(s.t),{siteSuffix:t}=window.jetpackProtectInitialState,{checkCredentials:n}=(0,i.useDispatch)(s.t),o=(0,i.useSelect)((e=>e(s.t).getCredentials()));return(0,l.useEffect)((()=>{const e=setInterval((()=>{o&&0!==o.length||n()}),3e3);return()=>clearInterval(e)}),[n,o]),React.createElement(React.Fragment,null,React.createElement(a.ZP,{variant:"title-medium",mb:2},__("Site credentials needed","jetpack-protect")),React.createElement(u.Z,{type:"info",message:__("Before Jetpack Protect can auto-fix threats on your site, it needs your server credentials.","jetpack-protect")}),React.createElement(a.ZP,{mb:3},__("Your server credentials allow Jetpack Protect to access the server that’s powering your website. This information is securely saved and only used to perform fix threats detected on your site.","jetpack-protect")),React.createElement(a.ZP,{mb:3},__("Once you’ve entered server credentials, Jetpack Protect will be fixing the selected threats.","jetpack-protect")),React.createElement("div",{className:p.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:t=>{t.preventDefault(),e({type:null})}},__("Not now","jetpack-protect")),React.createElement(c.Z,{isExternalLink:!0,weight:"regular",href:(0,r.Z)("jetpack-settings-security-credentials",{site:t})},__("Enter server credentials","jetpack-protect"))))}},7127:function(e,t,n){"use strict";var a=n(7470),c=n(9196),r=n(9137);const i=e=>{const t=e.lastIndexOf("/");return t>-1?[e.slice(0,t),e.slice(t)]:["",e]};t.C=e=>{let{diff:t}=e;return React.createElement("div",{className:r.Z["diff-viewer"]},(0,a.G)(t).map(((e,t)=>React.createElement(c.Fragment,{key:t},React.createElement("div",{key:`file-${t}`,className:r.Z["diff-viewer__filename"]},(e=>{let{oldFileName:t,newFileName:n}=e;const a="a"===t[0]&&"/"===t[1]&&"b"===n[0]&&"/"===n[1],[o,l]=a?[t.slice(2),n.slice(2)]:[t,n];if(o===l){const[e,t]=i(o);return React.createElement(c.Fragment,null,e&&React.createElement("span",{className:r.Z["diff-viewer__path-prefix"]},e),React.createElement("span",{className:r.Z["diff-viewer__path"]},t))}const s=Math.max(o.length,l.length);for(let e=0,t=0;e{let n=0;return e.lines.map(((a,c)=>React.createElement("div",{key:`${t}-${c}`},"+"===a[0]?" ":e.oldStart+n++)))}))),React.createElement("div",{key:"right-numbers",className:r.Z["diff-viewer__line-numbers"]},e.hunks.map(((e,t)=>{let n=0;return e.lines.map(((a,c)=>React.createElement("div",{key:`${t}-${c}`},"-"===a[0]?" ":e.newStart+n++)))}))),React.createElement("div",{className:r.Z["diff-viewer__lines"]},e.hunks.map(((e,t)=>e.lines.map(((e,n)=>{const a=e.slice(1).replace(/^\s*$/," "),c=`${t}-${n}`;switch(e[0]){case" ":return React.createElement("div",{key:c},a);case"-":return React.createElement("del",{key:c},a);case"+":return React.createElement("ins",{key:c},a)}}))))))))))}},8431:function(e,t,n){"use strict";var a=n(5106),c=n(526),r=n(216),i=n(5609),o=n(9818),l=n(9307),s=n(5736),u=n(9196),p=n(3898),m=n(8963),d=n(4633),h=n(9909),g=n(3932);const __=s.__,f=()=>{const{setModal:e}=(0,o.useDispatch)(d.t);return React.createElement("div",{className:g.Z["standalone-mode-section"]},React.createElement(a.Dx,null,__("Standalone mode","jetpack-protect")),React.createElement(a.ZP,{mb:2},__("Learn how you can execute the firewall before WordPress initializes. This mode offers the most protection.","jetpack-protect")),React.createElement(c.Z,{variant:"link",isExternalLink:!0,weight:"regular",onClick:t=>{t.preventDefault(),e({type:"STANDALONE_MODE"})}},__("Learn more","jetpack-protect")))},v=()=>{const{config:e,isUpdating:t,toggleShareData:n}=(0,m.Z)(),{jetpackWafShareData:c}=e||{},{setNotice:r}=(0,o.useDispatch)(d.t),[s,h]=(0,u.useState)({jetpack_waf_share_data:c}),f=(0,u.useCallback)((()=>{h({...s,jetpack_waf_share_data:!s.jetpack_waf_share_data}),n().then((()=>r({type:"success",duration:5e3,dismissable:!0,message:__("Changes saved.","jetpack-protect")}))).catch((()=>{r({type:"error",dismissable:!0,message:(0,l.createInterpolateElement)(__("An error ocurred. Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(i.ExternalLink,{href:p.K})})})}))}),[s,n,r]);return(0,u.useEffect)((()=>{h({jetpack_waf_share_data:c})}),[c]),React.createElement("div",{className:g.Z["share-data-section"]},React.createElement(a.Dx,{mb:2},__(" Share data with Jetpack","jetpack-protect")),React.createElement("div",{className:g.Z["footer-checkbox"]},React.createElement(i.CheckboxControl,{checked:Boolean(s.jetpack_waf_share_data),onChange:f,disabled:t}),React.createElement(a.ZP,null,__("Allow Jetpack to collect data to improve firewall protection and rules. Collected data is also used to display advanced usage metrics.","jetpack-protect"))))};t.Z=()=>{const{isEnabled:e}=(0,m.Z)();return React.createElement(r.Z,null,React.createElement(h.Z,{main:React.createElement(f,null),secondary:e&&React.createElement(v,null),preserveSecondaryOnMobile:!0}))}},2651:function(e,t,n){"use strict";var a=n(526),c=n(5106),r=n(216),i=n(3363),o=n(3846),l=n(8258),s=n(5609),u=n(5736),p=n(1074),m=n(1646),d=n(5235),h=n.n(d),g=n(9196),f=n.n(g),v=n(3898),E=n(6477),k=n(5773),b=n(8963),y=n(8452);const __=u.__,Z=()=>{const{adminUrl:e}=window.jetpackProtectInitialState||{},t=e+"#/firewall",{config:{automaticRulesAvailable:n}}=(0,b.Z)(),{run:c}=(0,l.Z)({productSlug:v.o,redirectUrl:t}),{recordEventHandler:r}=(0,E.Z)(),i=r("jetpack_protect_waf_header_get_scan_link_click",c);return f().createElement(a.Z,{className:y.Z["upgrade-button"],onClick:i},n?__("Upgrade to update automatic security rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"))},C=e=>{let{children:t=__("The free version of the firewall does not receive updates to automatic security rules.","jetpack-protect")}=e;const[n,a]=(0,g.useState)(!1),r=(0,g.useCallback)((()=>{a(!0)}),[]),i=(0,g.useCallback)((()=>{a(!1)}),[]);return f().createElement("div",{className:y.Z["icon-popover"],onMouseLeave:i,onMouseEnter:r,onClick:r,onFocus:r,onBlur:i,role:"presentation"},f().createElement(p.Z,{icon:m.Z}),n&&f().createElement(s.Popover,{noArrow:!1,offset:5},f().createElement(c.ZP,{className:y.Z["popover-text"],variant:"body-small"},t)))},_=e=>{let{className:t,text:n="",popover:a=!1,children:r}=e;return f().createElement("div",{className:y.Z["firewall-subheading__content"]},f().createElement(c.ZP,{className:y.Z[t],weight:600},n),a&&f().createElement(C,{children:r}))},w=e=>{let{hasRequiredPlan:t,automaticRulesAvailable:n,jetpackWafIpList:a,jetpackWafAutomaticRules:c,bruteForceProtectionIsEnabled:r,wafSupported:i}=e;const o=i&&c&&a,l=i&&c&&!a,s=i&&!c&&a,u=i&&!c&&!a;return f().createElement(f().Fragment,null,f().createElement("div",{className:y.Z["firewall-subheading"]},i&&r&&f().createElement(_,{className:"brute-force-protection-subheading",text:__("Brute force protection is active.","jetpack-protect")}),u&&f().createElement(_,{text:__("There are no firewall rules applied.","jetpack-protect")}),l&&f().createElement(_,{text:__("Automatic firewall protection is enabled.","jetpack-protect"),popover:!t}),s&&f().createElement(_,{text:__("Only manual IP list rules apply.","jetpack-protect"),popover:!t&&!n,children:__("The free version of the firewall only allows for use of manual rules.","jetpack-protect")}),o&&f().createElement(_,{text:__("All firewall rules apply.","jetpack-protect"),popover:!t})),!t&&f().createElement(Z,null))},R=e=>{let{status:t,hasRequiredPlan:n,automaticRulesEnabled:a,automaticRulesAvailable:l,jetpackWafIpList:u,jetpackWafAutomaticRules:p,bruteForceProtectionIsEnabled:m,wafSupported:d}=e;return f().createElement(r.Z,null,f().createElement(i.Z,{className:y.Z["firewall-header"],horizontalSpacing:7,horizontalGap:0},f().createElement(o.Z,null,"on"===t&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:h()(y.Z.status,y.Z.active),variant:"label"},__("Active","jetpack-protect")),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:1,mt:2},!d&&__("Brute force protection is active","jetpack-protect"),d&&(a?__("Automatic firewall is on","jetpack-protect"):__("Firewall is on","jetpack-protect",0))),f().createElement(w,{jetpackWafIpList:u,jetpackWafAutomaticRules:p,bruteForceProtectionIsEnabled:m,hasRequiredPlan:n,automaticRulesAvailable:l,wafSupported:d})),"off"===t&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:y.Z.status,variant:"label"},__("Inactive","jetpack-protect")),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:1,mt:2},!d&&__("Brute force protection is disabled","jetpack-protect"),d&&(l?__("Automatic firewall is off","jetpack-protect"):__("Firewall is off","jetpack-protect",0))),f().createElement(w,{jetpackWafIpList:u,jetpackWafAutomaticRules:p,bruteForceProtectionIsEnabled:m,hasRequiredPlan:n,automaticRulesAvailable:l,wafSupported:d})),"loading"===t&&f().createElement(f().Fragment,null,f().createElement(s.Spinner,{className:y.Z.spinner}),f().createElement(c.H3,{className:y.Z["firewall-heading"],mb:2,mt:2},__("Automatic firewall is being set up","jetpack-protect")),f().createElement(c.ZP,{className:y.Z["loading-text"],weight:600},__("Please wait…","jetpack-protect")))),f().createElement(o.Z,null,f().createElement("div",{className:y.Z["stat-card-wrapper"]}))))};t.Z=()=>{const{config:{jetpackWafAutomaticRules:e,jetpackWafIpList:t,automaticRulesAvailable:n,bruteForceProtection:a},isToggling:c,wafSupported:r}=(0,b.Z)(),{hasRequiredPlan:i}=(0,k.Z)(),o=r&&(e||t)||a?"on":"off";return f().createElement(R,{status:c?"loading":o,hasRequiredPlan:i,automaticRulesEnabled:e,automaticRulesAvailable:n,jetpackWafIpList:t,jetpackWafAutomaticRules:e,bruteForceProtectionIsEnabled:a,wafSupported:r})}},5975:function(e,t,n){"use strict";var a=n(2674),c=n.n(a),r=n(2054),i=n(1342),o=n(5106),l=n(526),s=n(857),u=n(3363),p=n(3846),m=n(8258),d=n(5609),h=n(9818),g=n(9307),f=n(5736),v=n(1074),E=n(6163),k=n(3259),b=n(6292),y=n.n(b),Z=n(9196),C=n(1827),_=n(3898),w=n(6477),R=n(5773),j=n(8963),S=n(4633),N=n(7267),P=n(8431),x=n(2651),I=n(5678),M=n(291),T=n(5800),L=n(9265),z=n(4854);const __=f.__,_n=f._n,A=window?.jetpackProtectInitialState?.adminUrl,F=5e3;t.Z=()=>{const[e]=(0,r.Z)(["sm","lg"],[null,"<"]),t=(0,h.useSelect)((e=>e(S.t).getNotice())),{setWafIsSeen:n,setWafUpgradeIsSeen:a,setNotice:b}=(0,h.useDispatch)(S.t),{config:{jetpackWafAutomaticRules:O,jetpackWafIpList:V,jetpackWafIpBlockList:D,jetpackWafIpAllowList:U,automaticRulesAvailable:H,bruteForceProtection:B},currentIp:W,isEnabled:J,isSeen:G,upgradeIsSeen:$,displayUpgradeBadge:q,wafSupported:K,isUpdating:X,stats:{ipAllowListCount:Q,ipBlockListCount:Y,rulesVersion:ee,automaticRulesLastUpdated:te},toggleAutomaticRules:ne,toggleManualRules:ae,toggleBruteForceProtection:ce,toggleWaf:re,updateConfig:ie}=(0,j.Z)(),{hasRequiredPlan:oe}=(0,R.Z)(),{run:le}=(0,m.Z)({productSlug:_.o,redirectUrl:`${A}#/firewall`}),{recordEventHandler:se,recordEvent:ue}=(0,w.Z)(),pe=J&&(oe||H),[me,de]=(0,Z.useState)(!1),[he,ge]=(0,Z.useState)({jetpack_waf_automatic_rules:O,jetpack_waf_ip_list:V,jetpack_waf_ip_block_list:D,jetpack_waf_ip_allow_list:U,brute_force_protection:B}),[fe,ve]=(0,Z.useState)(!1),[Ee,ke]=(0,Z.useState)(!1),be=(0,Z.useCallback)((e=>{switch(e.code){case"file_system_error":return __("A filesystem error occurred.","jetpack-protect");case"rules_api_error":return __("An error occurred retrieving the latest firewall rules from Jetpack.","jetpack-protect");default:return!1}}),[]),ye=(0,Z.useCallback)((e=>{const t=be(e)||__("An error occurred.","jetpack-protect"),n=(0,g.createInterpolateElement)(__("Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(d.ExternalLink,{href:_.K})});b({type:"error",message:React.createElement(React.Fragment,null,t," ",n)})}),[be,b]),Ze=se("jetpack_protect_waf_page_get_scan_link_click",le),Ce=(0,Z.useCallback)((()=>{ve(!0),ie(he).then((()=>b({type:"success",duration:F,message:__("Changes saved.","jetpack-protect")}))).catch(ye).finally((()=>ve(!1)))}),[ie,he,ye,b]),_e=(0,Z.useCallback)((e=>{const{value:t,id:n}=e.target;ge({...he,[n]:t})}),[he]),we=(0,Z.useCallback)((()=>{ve(!0);const e=!he.jetpack_waf_automatic_rules;ge({...he,jetpack_waf_automatic_rules:e}),ne().then((()=>{de(!1),b({type:"success",duration:F,message:e?__("Automatic firewall protection is enabled.","jetpack-protect"):__("Automatic firewall protection is disabled.","jetpack-protect",0)}),ue(e?"jetpack_protect_automatic_rules_enabled":"jetpack_protect_automatic_rules_disabled")})).then((()=>{$||(a(!0),C.Z.wafUpgradeSeen())})).catch((e=>{de(!0),ye(e)})).finally((()=>ve(!1)))}),[he,ne,b,ue,$,a,ye]),Re=(0,Z.useCallback)((()=>{ve(!0);const e=!he.brute_force_protection;ge({...he,brute_force_protection:e}),ce().then((()=>{b({type:"success",duration:F,message:e?__("Brute force protection is enabled.","jetpack-protect"):__("Brute force protection is disabled.","jetpack-protect",0)}),ue(e?"jetpack_protect_brute_force_protection_enabled":"jetpack_protect_brute_force_protection_disabled")})).catch(ye).finally((()=>ve(!1)))}),[he,ce,ye,b,ue]),je=(0,Z.useCallback)((()=>{const e=!he.jetpack_waf_ip_list;ve(!0),ge({...he,jetpack_waf_ip_list:e}),ae().then((()=>{b({type:"success",duration:F,message:e?__("Manual rules are active.","jetpack-protect"):__("Manual rules are disabled.","jetpack-protect",0)}),ue(e?"jetpack_protect_manual_rules_enabled":"jetpack_protect_manual_rules_disabled")})).catch(ye).finally((()=>ve(!1)))}),[he,ae,ye,b,ue]),Se=(0,Z.useCallback)((()=>{ke(!Ee)}),[Ee,ke]),Ne=(0,Z.useCallback)((()=>{a(!0),C.Z.wafUpgradeSeen()}),[a]),Pe=(0,Z.useMemo)((()=>he.jetpack_waf_ip_allow_list.includes(W)),[he.jetpack_waf_ip_allow_list,W]),xe=(0,Z.useCallback)((()=>{const e=he.jetpack_waf_ip_allow_list.length>0?`${he.jetpack_waf_ip_allow_list}\n${W}`:W;ge((t=>({...t,jetpack_waf_ip_allow_list:e})))}),[he.jetpack_waf_ip_allow_list,W]);(0,Z.useEffect)((()=>{X||ge({jetpack_waf_automatic_rules:O,jetpack_waf_ip_list:V,jetpack_waf_ip_block_list:D,jetpack_waf_ip_allow_list:U,brute_force_protection:B})}),[V,D,U,O,B,X]),(0,Z.useEffect)((()=>{G||(n(!0),C.Z.wafSeen())}),[G,n]),(0,w.Z)({pageViewEventName:"protect_waf",pageViewEventProperties:{has_plan:oe}});const Ie=React.createElement(i.Z,{level:"error",title:"Jetpack Firewall is currently disabled.",children:React.createElement(o.ZP,null,__("Re-enable the Firewall to continue.","jetpack-protect")),actions:[React.createElement(l.Z,{variant:"link",onClick:re,isLoading:X,disabled:X},__("Enable Firewall","jetpack-protect"))],hideCloseButton:!0}),Me=React.createElement(React.Fragment,null,React.createElement("div",{className:`${z.Z["toggle-section"]} ${pe?"":z.Z["toggle-section--disabled"]}`},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{checked:!!pe&&he.jetpack_waf_automatic_rules,onChange:we,disabled:!J||fe||!pe}),oe&&!1===$&&React.createElement(d.Popover,{noArrow:!1,offset:8,position:"top right"},React.createElement("div",{className:z.Z.popover},React.createElement("div",{className:z.Z.popover__header},React.createElement(o.ZP,{className:z.Z.popover__title,variant:"title-small"},__("Thanks for upgrading!","jetpack-protect")),React.createElement(l.Z,{className:z.Z.popover__button,variant:"icon"},React.createElement(v.Z,{onClick:Ne,icon:E.Z,size:24,"aria-label":__("Close Window","jetpack-protect")}))),React.createElement(o.ZP,{className:z.Z.popover__description,variant:"body",mt:2,mb:3},__("Turn on Jetpack Firewall to automatically protect your site with the latest security rules.","jetpack-protect")),React.createElement("div",{className:z.Z.popover__footer},React.createElement(l.Z,{onClick:Ne},__("Got it","jetpack-protect")))))),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement("div",{className:z.Z["toggle-section__title"]},React.createElement(o.ZP,{variant:"title-medium",mb:2},__("Enable automatic firewall protection","jetpack-protect")),!e&&oe&&q&&React.createElement("span",{className:z.Z.badge},__("NOW AVAILABLE","jetpack-protect"))),React.createElement(o.ZP,null,__("Block untrusted traffic sources by scanning every request made to your site. Jetpack’s advanced security rules are automatically kept up-to-date to protect your site from the latest threats.","jetpack-protect")),React.createElement("div",{className:z.Z["toggle-section__details"]},O&&!me&&React.createElement("div",{className:z.Z["automatic-rules-stats"]},ee&&React.createElement(o.ZP,{className:z.Z["automatic-rules-stats__version"],variant:"body-small"},(0,f.sprintf)( // translators: placeholder is the latest rules version i.e. "v2.0". -__("Automatic security rules v%s installed.","jetpack-protect"),ee)),te&&React.createElement(l.ZP,{className:z.Z["automatic-rules-stats__last-updated"],variant:"body-small"},(0,f.sprintf)( +__("Automatic security rules v%s installed.","jetpack-protect"),ee)),te&&React.createElement(o.ZP,{className:z.Z["automatic-rules-stats__last-updated"],variant:"body-small"},(0,f.sprintf)( // translators: placeholder is the date latest rules were updated i.e. "September 23, 2022". -__("Last updated on %s.","jetpack-protect"),y().unix(te).format("MMMM D, YYYY")))),me&&React.createElement(React.Fragment,null,React.createElement(l.ZP,{className:z.Z["automatic-rules-stats__failed-install"],variant:"body-small",mt:2},__("Failed to update automatic firewall rules.","jetpack-protect")," ",be(me)),React.createElement(o.Z,{variant:"link",href:_.K},React.createElement(l.ZP,{variant:"body-small"},__("Contact support","jetpack-protect"))))))),!le&&React.createElement("div",{className:z.Z["upgrade-trigger-section"]},React.createElement(s.Z,{className:z.Z["upgrade-trigger"],description:ue?__("Your site is not receiving the latest updates to automatic rules","jetpack-protect",0):__("Set up automatic rules with one click","jetpack-protect"),cta:ue?__("Upgrade to keep your site secure with up-to-date firewall rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"),onClick:Ze}))),Te=React.createElement(React.Fragment,null,React.createElement("div",{className:z.Z["brute-force-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement(React.Fragment,null,React.createElement(l.ZP,{mb:1},__("IP addresses added to this list will never be blocked by Jetpack's brute force protection.","jetpack-protect")),React.createElement("div",{className:z.Z["current-ip-text"]},React.createElement(l.ZP,{variant:"body-small",mb:1},(0,g.createInterpolateElement)((0,f.sprintf)( +__("Last updated on %s.","jetpack-protect"),y().unix(te).format("MMMM D, YYYY")))),me&&React.createElement(React.Fragment,null,React.createElement(o.ZP,{className:z.Z["automatic-rules-stats__failed-install"],variant:"body-small",mt:2},__("Failed to update automatic firewall rules.","jetpack-protect")," ",be(me)),React.createElement(l.Z,{variant:"link",href:_.K},React.createElement(o.ZP,{variant:"body-small"},__("Contact support","jetpack-protect"))))))),!oe&&React.createElement("div",{className:z.Z["upgrade-trigger-section"]},React.createElement(s.Z,{className:z.Z["upgrade-trigger"],description:pe?__("Your site is not receiving the latest updates to automatic rules","jetpack-protect",0):__("Set up automatic rules with one click","jetpack-protect"),cta:pe?__("Upgrade to keep your site secure with up-to-date firewall rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"),onClick:Ze}))),Te=React.createElement(React.Fragment,null,React.createElement("div",{className:z.Z["brute-force-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement(React.Fragment,null,React.createElement(o.ZP,{mb:1},__("IP addresses added to this list will never be blocked by Jetpack's brute force protection.","jetpack-protect")),React.createElement("div",{className:z.Z["current-ip-text"]},React.createElement(o.ZP,{variant:"body-small",mb:1},(0,g.createInterpolateElement)((0,f.sprintf)( // translators: placeholder is the user's current IP address. -__("Your current IP: %s","jetpack-protect"),W),{strong:React.createElement("strong",null)})),React.createElement(o.Z,{variant:"secondary",size:"small",onClick:xe,disabled:fe||Pe},__("+ Add to Allow List","jetpack-protect")))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_allow_list,onChange:_e,disabled:fe})),React.createElement(o.Z,{onClick:Ce,isLoading:fe,disabled:fe},__("Save changes","jetpack-protect"))),Le=React.createElement(React.Fragment,null,React.createElement("div",{className:z.Z["toggle-section"]},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{id:"brute_force_protection",checked:he.brute_force_protection,onChange:Re,disabled:fe})),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement(l.ZP,{variant:"title-medium",mb:2},__("Enable brute force protection","jetpack-protect")),React.createElement(l.ZP,null,__("Prevent bots and hackers from attempting to log in to your website with common username and password combinations.","jetpack-protect")))),!K&&he.brute_force_protection&&Te),ze=React.createElement("div",{className:z.Z["toggle-wrapper"]},K&&Me,Le,K&&React.createElement("div",{className:`${z.Z["toggle-section"]} ${B||J?"":z.Z["toggle-section--disabled"]}`},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{id:"jetpack_waf_ip_list",checked:(J||B)&&he.jetpack_waf_ip_list,onChange:je,disabled:fe||!J&&!B})),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement(l.ZP,{variant:"title-medium",mb:2},__("Enable manual block and allow lists","jetpack-protect")),React.createElement(l.ZP,null,__("Manually block or allow traffic from specific IP addresses.","jetpack-protect")),V&&React.createElement("div",{className:z.Z["toggle-section__details"]},React.createElement("div",{className:z.Z["manual-rules-stats"]},0===Q&&0===Y&&React.createElement(l.ZP,{className:z.Z["manual-rules-stats__no-rules"],variant:"body-small",mt:2},__("No manual rules are being applied.","jetpack-protect")),Y>0&&React.createElement(l.ZP,{className:z.Z["manual-rules-stats__block-list-count"],variant:"body-small",mt:2},(0,f.sprintf)( +__("Your current IP: %s","jetpack-protect"),W),{strong:React.createElement("strong",null)})),React.createElement(l.Z,{variant:"secondary",size:"small",onClick:xe,disabled:fe||Pe},__("+ Add to Allow List","jetpack-protect")))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_allow_list,onChange:_e,disabled:fe})),React.createElement(l.Z,{onClick:Ce,isLoading:fe,disabled:fe},__("Save changes","jetpack-protect"))),Le=React.createElement(React.Fragment,null,React.createElement("div",{className:z.Z["toggle-section"]},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{id:"brute_force_protection",checked:he.brute_force_protection,onChange:Re,disabled:fe})),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement(o.ZP,{variant:"title-medium",mb:2},__("Enable brute force protection","jetpack-protect")),React.createElement(o.ZP,null,__("Prevent bots and hackers from attempting to log in to your website with common username and password combinations.","jetpack-protect")))),!K&&he.brute_force_protection&&Te),ze=React.createElement("div",{className:z.Z["toggle-wrapper"]},K&&Me,Le,K&&React.createElement("div",{className:`${z.Z["toggle-section"]} ${B||J?"":z.Z["toggle-section--disabled"]}`},React.createElement("div",{className:z.Z["toggle-section__control"]},React.createElement(I.Z,{id:"jetpack_waf_ip_list",checked:(J||B)&&he.jetpack_waf_ip_list,onChange:je,disabled:fe||!J&&!B})),React.createElement("div",{className:z.Z["toggle-section__content"]},React.createElement(o.ZP,{variant:"title-medium",mb:2},__("Enable manual block and allow lists","jetpack-protect")),React.createElement(o.ZP,null,__("Manually block or allow traffic from specific IP addresses.","jetpack-protect")),V&&React.createElement("div",{className:z.Z["toggle-section__details"]},React.createElement("div",{className:z.Z["manual-rules-stats"]},0===Q&&0===Y&&React.createElement(o.ZP,{className:z.Z["manual-rules-stats__no-rules"],variant:"body-small",mt:2},__("No manual rules are being applied.","jetpack-protect")),Y>0&&React.createElement(o.ZP,{className:z.Z["manual-rules-stats__block-list-count"],variant:"body-small",mt:2},(0,f.sprintf)( // translators: placeholder is a number of blocked IP addresses i.e. "5 IPs are being blocked". -_n("%s IP is being blocked. ","%s IPs are being blocked. ",Y,"jetpack-protect"),1===Y?"One":Y)),Q>0&&React.createElement(l.ZP,{className:z.Z["manual-rules-stats__allow-list-count"],variant:"body-small",mt:2},(0,f.sprintf)( +_n("%s IP is being blocked. ","%s IPs are being blocked. ",Y,"jetpack-protect"),1===Y?"One":Y)),Q>0&&React.createElement(o.ZP,{className:z.Z["manual-rules-stats__allow-list-count"],variant:"body-small",mt:2},(0,f.sprintf)( // translators: placeholder is a number of allowed IP addresses i.e. "5 IPs are being allowed". -_n("%s IP is being allowed.","%s IPs are being allowed.",Q,"jetpack-protect"),1===Q?"One":Q))),React.createElement(o.Z,{variant:"link",disabled:!J&&!B},React.createElement(l.ZP,{variant:"body-small",onClick:Se},__("Edit manual rules","jetpack-protect"))))))),Ae=React.createElement("div",null,React.createElement(o.Z,{className:z.Z["go-back-button"],variant:"icon",icon:k.Z,onClick:Se},React.createElement(l.ZP,null,__("Go back","jetpack-protect"))),React.createElement(l.ZP,{variant:"title-medium",mt:4,mb:2},__("Manual rules","jetpack-protect")),React.createElement(l.ZP,{mb:4},__("Add manual rules for what IP traffic the Jetpack Firewall and brute force protection should block or allow.","jetpack-protect")),K&&React.createElement("div",{className:z.Z["manual-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_block_list",label:__("Blocked IP addresses","jetpack-protect"),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_block_list,onChange:_e,disabled:fe})),React.createElement("div",{className:z.Z["manual-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement("div",{className:z.Z["current-ip-text"]},React.createElement(l.ZP,{variant:"body-small",mb:1},(0,g.createInterpolateElement)((0,f.sprintf)( +_n("%s IP is being allowed.","%s IPs are being allowed.",Q,"jetpack-protect"),1===Q?"One":Q))),React.createElement(l.Z,{variant:"link",disabled:!J&&!B},React.createElement(o.ZP,{variant:"body-small",onClick:Se},__("Edit manual rules","jetpack-protect"))))))),Ae=React.createElement("div",null,React.createElement(l.Z,{className:z.Z["go-back-button"],variant:"icon",icon:k.Z,onClick:Se},React.createElement(o.ZP,null,__("Go back","jetpack-protect"))),React.createElement(o.ZP,{variant:"title-medium",mt:4,mb:2},__("Manual rules","jetpack-protect")),React.createElement(o.ZP,{mb:4},__("Add manual rules for what IP traffic the Jetpack Firewall and brute force protection should block or allow.","jetpack-protect")),K&&React.createElement("div",{className:z.Z["manual-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_block_list",label:__("Blocked IP addresses","jetpack-protect"),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_block_list,onChange:_e,disabled:fe})),React.createElement("div",{className:z.Z["manual-rules-section"]},React.createElement(L.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement("div",{className:z.Z["current-ip-text"]},React.createElement(o.ZP,{variant:"body-small",mb:1},(0,g.createInterpolateElement)((0,f.sprintf)( // translators: placeholder is the user's current IP address. -__("Your current IP: %s","jetpack-protect"),W),{strong:React.createElement("strong",null)})),React.createElement(o.Z,{variant:"secondary",size:"small",onClick:xe,disabled:fe||Pe},__("+ Add to Allow List","jetpack-protect"))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_allow_list,onChange:_e,disabled:fe})),React.createElement(o.Z,{onClick:Ce,isLoading:fe,disabled:fe},__("Save changes","jetpack-protect")));return React.createElement(N.Z,null,t.message&&React.createElement(M.Z,c()({floating:!0,dismissable:!0},t)),React.createElement(x.Z,null),React.createElement(p.Z,{className:z.Z.container,horizontalSpacing:8,horizontalGap:4},K&&!J&&React.createElement(u.Z,null,Ie," "),React.createElement(u.Z,null,Ee?Ae:ze)),K?React.createElement(P.Z,null):React.createElement(T.Z,null))}},8840:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5106),c=a(526),r=a(9818),i=a(5736),l=a(9196),o=a(4633),s=a(9974),p=a(8891),u=a(2854),m=a(5823);const __=i.__,d=e=>{let{threatList:t=[]}=e;const{setModal:a,fixThreats:i}=(0,r.useDispatch)(o.t),{threatsUpdating:d}=(0,r.useSelect)((e=>e(o.t).getThreatsUpdating())),[h,g]=(0,l.useState)(t.map((e=>{let{id:t}=e;return t}))),f=(0,l.useCallback)(((e,t)=>{g(e?h.push(t.id):h.filter((e=>e!==t.id)))}),[h]);return React.createElement(u.Z,null,React.createElement(s.Z,null,React.createElement(n.ZP,{variant:"title-medium",mb:2},__("Fix all threats","jetpack-protect")),React.createElement(n.ZP,{mb:3},__("Jetpack will be fixing the selected threats:","jetpack-protect")),React.createElement("div",{className:m.Z.list},t.map((e=>React.createElement(p.Z,{key:e.id,threat:e,fixAllDialog:!0,onCheckFix:f})))),React.createElement("div",{className:m.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),a({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(d)&&d[h[0]],onClick:async e=>{e.preventDefault(),i(h,(()=>{a({type:null})}))}},__("Fix all threats","jetpack-protect")))))}},1593:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(5106),c=a(526),r=a(9818),i=a(5736),l=a(4633),o=a(9974),s=a(8891),p=a(2854),u=a(7279);const __=i.__,m=e=>{let{id:t,fixable:a,label:i,icon:m,severity:d}=e;const{setModal:h,fixThreats:g}=(0,r.useDispatch)(l.t),f=(0,r.useSelect)((e=>e(l.t).getThreatsUpdating()));return React.createElement(p.Z,null,React.createElement(o.Z,null,React.createElement(n.ZP,{variant:"title-medium",mb:2},__("Fix Threat","jetpack-protect")),React.createElement(n.ZP,{mb:3},__("Jetpack will be fixing the selected threat:","jetpack-protect")),React.createElement("div",{className:u.Z.list},React.createElement(s.Z,{threat:{id:t,fixable:a,label:i,icon:m,severity:d},fixAllDialog:!1})),React.createElement("div",{className:u.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),h({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(f&&f[t]),onClick:async e=>{e.preventDefault(),g([t],(()=>{h({type:null})}))}},__("Fix threat","jetpack-protect")))))}},5678:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(1234);const r=e=>{let{ariaLabel:t,checked:a=!1,className:r="",disabled:i=!1,id:l,onChange:o=(()=>{}),onKeyDown:s=(()=>{}),switchClassNames:p="",toggling:u}=e;const m=(0,n.useCallback)((e=>{i||o(e)}),[i,o]),d=(0,n.useCallback)((e=>{i||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),o(e)),s(e))}),[i,o,s]);return React.createElement(React.Fragment,null,React.createElement("div",null,React.createElement("input",{className:`${c.Z["form-toggle"]} ${r} ${u?c.Z["is-toggling"]:""}`,type:"checkbox",checked:a,readOnly:!0,disabled:i}),React.createElement("span",{className:`${c.Z["form-toggle__switch"]} ${p}`,disabled:i,id:l,onClick:m,onKeyDown:d,role:"checkbox","aria-checked":a,"aria-label":t,tabIndex:i?-1:0})))}},3584:(e,t,a)=>{"use strict";a.d(t,{U:()=>d,Z:()=>h});var n=a(5106),c=a(1074),r=a(7489),i=a(2229),l=a(5235),o=a.n(l),s=a(9196),p=a.n(s),u=a(9122);const m=p().createContext(),d=e=>{let{id:t,title:a,label:l,icon:d,children:h,onOpen:g}=e;const f=(0,s.useContext)(m),v=f?.open===t,E=f?.setOpen,k=o()(u.Z["accordion-body"],{[u.Z["accordion-body-open"]]:v,[u.Z["accordion-body-close"]]:!v}),b=(0,s.useCallback)((()=>{v||g?.(),E((e=>e===t?null:t))}),[v,g,E,t]);return p().createElement("div",{className:u.Z["accordion-item"]},p().createElement("button",{className:u.Z["accordion-header"],onClick:b},p().createElement("div",null,p().createElement(n.ZP,{className:u.Z["accordion-header-label"],mb:1},p().createElement(c.Z,{icon:d,className:u.Z["accordion-header-label-icon"]}),l),p().createElement(n.ZP,{className:u.Z["accordion-header-description"],variant:v?"title-small":"body"},a)),p().createElement("div",{className:u.Z["accordion-header-button"]},p().createElement(c.Z,{icon:v?r.Z:i.Z,size:38}))),p().createElement("div",{className:k,"aria-hidden":v?"false":"true"},h))},h=e=>{let{children:t}=e;const[a,n]=(0,s.useState)();return p().createElement(m.Provider,{value:{open:a,setOpen:n}},p().createElement("div",{className:u.Z.accordion},t))}},3116:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(6895),c=a(5106),r=a(526),i=a(9818),l=a(9307),o=a(5736),s=a(1074),p=a(4633),u=a(2251),m=a(2854),d=a(6983);const __=o.__,h=e=>{let{id:t,title:a,label:o,icon:h,severity:g}=e;const{setModal:f,ignoreThreat:v}=(0,i.useDispatch)(p.t),E=(0,i.useSelect)((e=>e(p.t).getThreatsUpdating())),k=(0,n.Z)("jetpack-protect-codeable-referral");return React.createElement(m.Z,null,React.createElement(c.ZP,{variant:"title-medium",mb:2},__("Do you really want to ignore this threat?","jetpack-protect")),React.createElement(c.ZP,{mb:3},__("Jetpack will ignore the threat:","jetpack-protect")),React.createElement("div",{className:d.Z.threat},React.createElement(s.Z,{icon:h,className:d.Z.threat__icon}),React.createElement("div",{className:d.Z.threat__summary},React.createElement(c.ZP,{className:d.Z.threat__summary__label,mb:1},o),React.createElement(c.ZP,{className:d.Z.threat__summary__title},a)),React.createElement("div",{className:d.Z.threat__severity},React.createElement(u.Z,{severity:g}))),React.createElement(c.ZP,{mb:4},(0,l.createInterpolateElement)(__("By ignoring this threat you confirm that you have reviewed the detected code and assume the risks of keeping a potentially malicious or vulnerable file on your site. If you are unsure please request an estimate with Codeable.","jetpack-protect"),{codeableLink:React.createElement(r.Z,{variant:"link",isExternalLink:!0,href:k})})),React.createElement("div",{className:d.Z.footer},React.createElement(r.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),f({type:null})}},__("Cancel","jetpack-protect")),React.createElement(r.Z,{isDestructive:!0,isLoading:Boolean(E&&E[t]),onClick:async e=>{e.preventDefault(),v(t,(()=>{f({type:null})}))}},__("Ignore threat","jetpack-protect"))))}},6402:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(9105),c=a(5106),r=a(216),i=a(3363),l=a(3846),o=a(9307),s=a(5736),p=a(9196),u=a.n(p),m=a(6477),d=a(8266),h=a(9401),g=a(2951);const __=s.__,f=e=>{let{onScanAdd:t}=e;return(0,m.Z)({pageViewEventName:"protect_interstitial"}),u().createElement(n.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:u().createElement("div",{className:g.Z["protect-header"]},u().createElement(d.Z,null),u().createElement(c.ZP,{variant:"body-small"},(0,o.createInterpolateElement)(__("Already have an existing plan or license key? Click here to get started","jetpack-protect"),{a:u().createElement("a",{href:"admin.php?page=my-jetpack#/add-license"})})))},u().createElement(r.Z,null,u().createElement(i.Z,{horizontalSpacing:3,horizontalGap:3},u().createElement(l.Z,{sm:4,md:8,lg:12},u().createElement(h.Z,{onScanAdd:t})))))}},8266:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5609),c=a(9196),r=a.n(c);function i(e){let{iconColor:t="#069E08",color:a="#000"}=e;return r().createElement(n.SVG,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 245 41",width:245},r().createElement(n.Path,{d:"M159.347 27.3605H156.978V7.9082H162.371C163.176 7.9082 163.917 7.95666 164.596 8.05359C165.284 8.15051 165.914 8.30074 166.486 8.50428C167.649 8.92104 168.531 9.54619 169.132 10.3797C169.733 11.2036 170.033 12.2213 170.033 13.4328C170.033 14.4214 169.834 15.2937 169.437 16.0497C169.049 16.796 168.482 17.4211 167.736 17.9251C166.99 18.4291 166.079 18.812 165.003 19.0737C163.937 19.3257 162.725 19.4517 161.368 19.4517C160.719 19.4517 160.045 19.4226 159.347 19.3644V27.3605ZM159.347 17.1982C159.667 17.237 160.002 17.2661 160.35 17.2854C160.699 17.3048 161.029 17.3145 161.339 17.3145C162.454 17.3145 163.403 17.2273 164.189 17.0528C164.974 16.8784 165.613 16.6264 166.108 16.2968C166.602 15.9576 166.961 15.5505 167.183 15.0756C167.406 14.591 167.518 14.0434 167.518 13.4328C167.518 12.6768 167.334 12.0565 166.965 11.5719C166.607 11.0873 166.093 10.719 165.424 10.467C165.008 10.3119 164.528 10.2053 163.985 10.1471C163.442 10.0793 162.812 10.0453 162.095 10.0453H159.347V17.1982Z",fill:a}),r().createElement(n.Path,{d:"M181.093 15.3809H180.919C180.386 15.3809 179.862 15.4294 179.349 15.5263C178.835 15.6232 178.35 15.7735 177.895 15.977C177.449 16.1708 177.042 16.4131 176.674 16.7039C176.315 16.9947 176.014 17.3388 175.772 17.7361V27.3605H173.519V13.5491H175.263L175.699 15.7444H175.743C175.966 15.3858 176.237 15.0514 176.557 14.7412C176.887 14.4311 177.255 14.1597 177.662 13.9271C178.069 13.6945 178.515 13.5152 179 13.3892C179.484 13.2535 179.993 13.1856 180.526 13.1856C180.623 13.1856 180.72 13.1905 180.817 13.2002C180.924 13.2002 181.016 13.205 181.093 13.2147V15.3809Z",fill:a}),r().createElement(n.Path,{d:"M193.302 20.4694C193.302 19.6164 193.195 18.8604 192.982 18.2014C192.779 17.5326 192.488 16.9705 192.11 16.5149C191.741 16.0497 191.3 15.7008 190.787 15.4682C190.273 15.2258 189.711 15.1047 189.1 15.1047C188.49 15.1047 187.928 15.2258 187.414 15.4682C186.9 15.7008 186.454 16.0497 186.076 16.5149C185.708 16.9705 185.417 17.5326 185.204 18.2014C185.001 18.8604 184.899 19.6164 184.899 20.4694C184.899 21.3126 185.001 22.0686 185.204 22.7373C185.417 23.3964 185.713 23.9537 186.091 24.4092C186.469 24.8648 186.915 25.2137 187.428 25.456C187.942 25.6886 188.504 25.8049 189.115 25.8049C189.725 25.8049 190.283 25.6886 190.787 25.456C191.3 25.2137 191.741 24.8648 192.11 24.4092C192.488 23.9537 192.779 23.3964 192.982 22.7373C193.195 22.0686 193.302 21.3126 193.302 20.4694ZM195.657 20.4694C195.657 21.5549 195.502 22.5435 195.192 23.4352C194.882 24.3269 194.441 25.0926 193.869 25.7322C193.307 26.3622 192.623 26.8517 191.819 27.2006C191.015 27.5495 190.113 27.724 189.115 27.724C188.088 27.724 187.167 27.5495 186.353 27.2006C185.548 26.8517 184.86 26.3622 184.288 25.7322C183.726 25.0926 183.295 24.3269 182.994 23.4352C182.694 22.5435 182.544 21.5549 182.544 20.4694C182.544 19.3741 182.699 18.3807 183.009 17.489C183.319 16.5973 183.755 15.8316 184.317 15.1919C184.889 14.5522 185.577 14.0579 186.382 13.709C187.196 13.3601 188.102 13.1856 189.1 13.1856C190.118 13.1856 191.034 13.3601 191.848 13.709C192.662 14.0579 193.35 14.5522 193.913 15.1919C194.475 15.8316 194.906 16.5973 195.206 17.489C195.507 18.3807 195.657 19.3741 195.657 20.4694Z",fill:a}),r().createElement(n.Path,{d:"M206.354 27.3896C206.16 27.4672 205.864 27.5398 205.467 27.6077C205.07 27.6755 204.595 27.7143 204.042 27.724C203.315 27.724 202.685 27.6319 202.152 27.4478C201.619 27.2733 201.173 27.0213 200.815 26.6918C200.466 26.3525 200.204 25.9455 200.03 25.4705C199.855 24.9956 199.768 24.4674 199.768 23.8859V15.4827H197.107V13.5491H199.768V9.76911H202.021V13.5491H206.15V15.4827H202.021V23.5369C202.021 23.8568 202.065 24.1524 202.152 24.4238C202.249 24.6952 202.395 24.9326 202.588 25.1362C202.792 25.33 203.049 25.4851 203.359 25.6014C203.669 25.708 204.042 25.7613 204.478 25.7613C204.779 25.7613 205.094 25.7371 205.423 25.6886C205.763 25.6402 206.073 25.5772 206.354 25.4996V27.3896Z",fill:a}),r().createElement(n.Path,{d:"M214.681 15.1192C214.167 15.1192 213.687 15.221 213.242 15.4245C212.805 15.6281 212.423 15.9043 212.093 16.2532C211.764 16.6021 211.497 17.0141 211.293 17.489C211.09 17.9542 210.964 18.4534 210.915 18.9864H217.894C217.894 18.4437 217.821 17.9397 217.676 17.4744C217.54 16.9995 217.337 16.5876 217.065 16.2387C216.794 15.8898 216.459 15.6184 216.062 15.4245C215.665 15.221 215.204 15.1192 214.681 15.1192ZM215.917 25.7613C216.663 25.7613 217.341 25.7032 217.952 25.5869C218.572 25.4609 219.188 25.2864 219.798 25.0635V26.9389C219.304 27.1812 218.693 27.3702 217.967 27.5059C217.24 27.6513 216.459 27.724 215.626 27.724C214.637 27.724 213.707 27.598 212.835 27.346C211.972 27.094 211.216 26.6869 210.567 26.1248C209.917 25.5626 209.403 24.8309 209.025 23.9295C208.657 23.0184 208.473 21.9232 208.473 20.6438C208.473 19.3838 208.647 18.2934 208.996 17.3727C209.345 16.4422 209.811 15.6668 210.392 15.0465C210.974 14.4262 211.642 13.961 212.398 13.6509C213.154 13.3407 213.944 13.1856 214.768 13.1856C215.544 13.1856 216.266 13.3165 216.934 13.5782C217.613 13.8302 218.199 14.2324 218.693 14.7849C219.188 15.3373 219.575 16.0497 219.857 16.922C220.147 17.7943 220.293 18.8411 220.293 20.0623C220.293 20.1786 220.293 20.2804 220.293 20.3676C220.293 20.4451 220.288 20.6293 220.278 20.92H210.799C210.799 21.802 210.93 22.5532 211.192 23.1735C211.463 23.7841 211.827 24.2832 212.282 24.6709C212.747 25.0489 213.29 25.3252 213.91 25.4996C214.531 25.6741 215.199 25.7613 215.917 25.7613Z",fill:a}),r().createElement(n.Path,{d:"M229.885 13.1856C230.553 13.1856 231.193 13.2583 231.804 13.4037C232.414 13.5394 232.938 13.7332 233.374 13.9852V15.8607C232.763 15.6281 232.201 15.4536 231.687 15.3373C231.174 15.221 230.65 15.1628 230.117 15.1628C229.555 15.1628 228.998 15.2549 228.445 15.4391C227.893 15.6232 227.398 15.9285 226.962 16.355C226.526 16.7718 226.172 17.3291 225.901 18.0269C225.639 18.7151 225.508 19.5728 225.508 20.6002C225.508 21.3465 225.605 22.0346 225.799 22.6646C226.003 23.2946 226.298 23.8423 226.686 24.3075C227.083 24.763 227.578 25.1216 228.169 25.3833C228.76 25.6353 229.444 25.7613 230.219 25.7613C230.781 25.7613 231.348 25.7032 231.92 25.5869C232.492 25.4609 233.049 25.2864 233.592 25.0635V26.9389C233.427 27.0358 233.209 27.1328 232.938 27.2297C232.676 27.3266 232.385 27.409 232.065 27.4768C231.745 27.5544 231.406 27.6125 231.048 27.6513C230.689 27.6998 230.33 27.724 229.972 27.724C229.041 27.724 228.159 27.5835 227.326 27.3024C226.502 27.0213 225.78 26.59 225.16 26.0085C224.539 25.4269 224.05 24.6903 223.691 23.7986C223.333 22.907 223.153 21.8505 223.153 20.6293C223.153 19.7182 223.245 18.8992 223.429 18.1723C223.623 17.4454 223.885 16.8057 224.215 16.2532C224.544 15.7008 224.927 15.2307 225.363 14.843C225.809 14.4553 226.279 14.1403 226.773 13.898C227.277 13.646 227.796 13.4667 228.329 13.3601C228.862 13.2438 229.381 13.1856 229.885 13.1856Z",fill:a}),r().createElement(n.Path,{d:"M244.143 27.3896C243.949 27.4672 243.654 27.5398 243.256 27.6077C242.859 27.6755 242.384 27.7143 241.832 27.724C241.105 27.724 240.475 27.6319 239.942 27.4478C239.409 27.2733 238.963 27.0213 238.604 26.6918C238.255 26.3525 237.993 25.9455 237.819 25.4705C237.645 24.9956 237.557 24.4674 237.557 23.8859V15.4827H234.897V13.5491H237.557V9.76911H239.811V13.5491H243.94V15.4827H239.811V23.5369C239.811 23.8568 239.854 24.1524 239.942 24.4238C240.039 24.6952 240.184 24.9326 240.378 25.1362C240.581 25.33 240.838 25.4851 241.148 25.6014C241.458 25.708 241.832 25.7613 242.268 25.7613C242.568 25.7613 242.883 25.7371 243.213 25.6886C243.552 25.6402 243.862 25.5772 244.143 25.4996V27.3896Z",fill:a}),r().createElement(n.Path,{d:"M20.1063 40.2111C31.2106 40.2111 40.2126 31.2091 40.2126 20.1048C40.2126 9.00048 31.2106 0 20.1063 0C9.00197 0 0 9.00197 0 20.1063C0 31.2106 9.00197 40.2111 20.1063 40.2111Z",fill:t}),r().createElement(n.Path,{d:"M21.104 16.7295V36.2209L31.1571 16.7295H21.104Z",fill:"white"}),r().createElement(n.Path,{d:"M19.0701 23.4444V3.99023L9.05566 23.4444H19.0701Z",fill:"white"}),r().createElement(n.Path,{d:"M51.9141 33.3819C51.3379 32.499 50.8019 31.6176 50.2644 30.7733C53.1038 29.0462 54.0626 27.666 54.0626 25.0559V9.97619H50.7245V7.09961H57.8236V24.2891C57.8236 28.6635 56.558 31.1188 51.9141 33.3819Z",fill:a}),r().createElement(n.Path,{d:"M81.6522 23.0994C81.6522 24.557 82.6885 24.7104 83.3793 24.7104C84.0702 24.7104 85.0677 24.4796 85.8345 24.2503V26.9363C84.7595 27.2817 83.6473 27.5497 82.1122 27.5497C80.2705 27.5497 78.122 26.8589 78.122 23.6354V15.7307H76.1655V13.006H78.122V8.97852H81.6522V13.0075H86.1025V15.7322H81.6522V23.0994Z",fill:a}),r().createElement(n.Path,{d:"M89.0193 34.7251V12.9691H92.3961V14.2734C93.7391 13.2371 95.2355 12.585 97.0773 12.585C100.262 12.585 102.795 14.8109 102.795 19.6067C102.795 24.3652 100.033 27.5113 95.4663 27.5113C94.3541 27.5113 93.4711 27.358 92.5495 27.1659V34.6864H89.0193V34.7251ZM96.1557 15.5017C95.1194 15.5017 93.8151 16.0005 92.5867 17.0755V24.4814C93.3535 24.6347 94.1605 24.7494 95.234 24.7494C97.7279 24.7494 99.1484 23.1756 99.1484 19.8762C99.1484 16.8447 98.1121 15.5017 96.1557 15.5017Z",fill:a}),r().createElement(n.Path,{d:"M116.683 27.2051H113.384V25.6313H113.306C112.155 26.5142 110.735 27.4731 108.625 27.4731C106.783 27.4731 104.788 26.1301 104.788 23.4054C104.788 19.7605 107.896 19.0696 110.083 18.7629L113.19 18.3416V17.9202C113.19 16.001 112.423 15.3876 110.619 15.3876C109.736 15.3876 107.665 15.6556 105.976 16.3464L105.67 13.5071C107.205 12.9696 109.315 12.5869 111.08 12.5869C114.533 12.5869 116.759 13.9686 116.759 18.0736V27.2051H116.683ZM113.153 20.5675L110.236 21.0276C109.353 21.1422 108.433 21.6797 108.433 22.984C108.433 24.1349 109.085 24.7871 110.044 24.7871C111.08 24.7871 112.193 24.1736 113.152 23.4828V20.5675H113.153Z",fill:a}),r().createElement(n.Path,{d:"M131.264 26.745C129.806 27.2438 128.502 27.5505 126.851 27.5505C121.556 27.5505 119.445 24.5191 119.445 20.1074C119.445 15.465 122.362 12.5869 127.08 12.5869C128.845 12.5869 129.92 12.8936 131.109 13.2778V16.2705C130.073 15.8863 128.577 15.465 127.119 15.465C124.97 15.465 123.129 16.6159 123.129 19.9153C123.129 23.5602 124.97 24.6739 127.311 24.6739C128.423 24.6739 129.652 24.4431 131.301 23.791V26.745H131.264Z",fill:a}),r().createElement(n.Path,{d:"M137.941 19.1093C138.247 18.7639 138.478 18.4185 142.928 13.0077H147.532L141.776 19.7615L148.068 27.2432H143.464L137.978 20.4895V27.2432H134.449V7.09973H137.979V19.1093H137.941Z",fill:a}),r().createElement(n.Path,{d:"M73.5167 26.7445C71.6749 27.3207 70.1011 27.55 68.2593 27.55C63.7316 27.55 60.9309 25.2869 60.9309 19.9908C60.9309 16.1152 63.3102 12.585 67.8752 12.585C72.403 12.585 73.9768 15.731 73.9768 18.7238C73.9768 19.7213 73.8993 20.2588 73.8621 20.8335H64.7306C64.808 23.9409 66.5724 24.6705 69.2197 24.6705C70.6773 24.6705 71.9816 24.325 73.4795 23.7875V26.7416H73.5167V26.7445ZM70.2947 18.4945C70.2947 16.7673 69.7185 15.271 67.8395 15.271C66.0751 15.271 65.0001 16.5365 64.7693 18.4945H70.2947Z",fill:a}))}},4257:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(8735);const c=e=>React.createElement("mark",{key:e,className:n.Z["marked-lines__mark"]},e),r=e=>{let{context:t}=e;const{marks:a,...r}=t;return React.createElement("div",{className:n.Z["marked-lines"]},React.createElement("div",{className:n.Z["marked-lines__line-numbers"]},Object.keys(r).map((e=>{const t=a.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${n.Z["marked-lines__line-number"]} ${t?n.Z["marked-lines__marked-line"]:""}`},e)}))),React.createElement("div",{className:n.Z["marked-lines__lines"]},Object.keys(r).map((e=>{const t=r[e]||" ",i=a.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${n.Z["marked-lines__line"]} ${i?n.Z["marked-lines__marked-line"]:""} `},React.createElement(React.Fragment,null,i?((e,t)=>{const[a,n]=e.reduce(((e,a)=>{let[n,r]=e,[i,l]=a;const o=t.slice(i,l);return[[...n,...i>r?[t.slice(r,i),c(o)]:[c(o)]],l]}),[[],0]);return n{"use strict";a.d(t,{Z:()=>g});var n=a(9818),c=a(5736),r=a(1074),i=a(9517),l=a(4633),o=a(9886),s=a(8840),p=a(1593),u=a(3116),m=a(8959),d=a(9980);const __=c.__,h={IGNORE_THREAT:u.Z,FIX_THREAT:p.Z,FIX_ALL_THREATS:s.Z,CREDENTIALS_NEEDED:o.Z,STANDALONE_MODE:m.Z},g=()=>{const e=(0,n.useSelect)((e=>e(l.t).getModalType())),t=(0,n.useSelect)((e=>e(l.t).getModalProps())),{setModal:a}=(0,n.useDispatch)(l.t);if(!e)return null;const c=h[e];return React.createElement("div",{className:d.Z.modal},React.createElement("div",{className:d.Z.modal__window},React.createElement("button",{onClick:e=>{e.preventDefault(),a({type:null})},className:d.Z.modal__close,title:__("Close Modal Window","jetpack-protect")},React.createElement(r.Z,{icon:i.Z,size:24,className:d.Z.modal__close__icon,"aria-label":__("Close Modal Window","jetpack-protect")})),React.createElement(c,t)))}},5167:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(5106),c=a(5609),r=a(5736),i=a(1074),l=a(496),o=a(9201),s=a(5162),p=a.n(s),u=a(9196),m=a.n(u),d=a(513);const __=r.__,h=e=>{let{count:t,checked:a}=e;const{popoverText:r,badgeElement:s}=((e,t)=>t?0===e?{popoverText:__("No known threats found to affect this version","jetpack-protect"),badgeElement:m().createElement(i.Z,{icon:o.Z,size:28,className:d.Z["navigation-item-check-badge"]})}:{popoverText:null,badgeElement:m().createElement(n.ZP,{variant:"body-extra-small",className:d.Z["navigation-item-badge"],component:"div"},e)}:{popoverText:__("This item was added to your site after the most recent scan. We will check for threats during the next scheduled one.","jetpack-protect"),badgeElement:m().createElement(i.Z,{icon:l.Z,size:28,className:d.Z["navigation-item-info-badge"]})})(t,a),[p,h]=(0,u.useState)(!1),g=(0,u.useCallback)((()=>{h(!0)}),[]),f=(0,u.useCallback)((()=>{h(!1)}),[]);return m().createElement("div",{onMouseLeave:r?f:null,onMouseEnter:r?g:null,onClick:r?g:null,onFocus:r?g:null,onBlur:r?f:null,role:"presentation"},s,p&&m().createElement(c.Popover,{noArrow:!1},m().createElement(n.ZP,{variant:"body-small",className:d.Z["popover-text"]},r)))};h.propTypes={count:p().number,checked:p().bool};const g=h},2328:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(526),c=a(5736),r=a(9196),i=a.n(r),l=a(2389),o=a(513),s=a(246);const __=c.__,p=e=>{let{icon:t,label:a,children:p}=e;const[u,m]=(0,r.useState)(!0),{mode:d}=(0,r.useContext)(s.k),h=Array.isArray(p)&&p?.length>=8&&"list"===d,g=h&&u?p.slice(0,8):p,f=h?p?.length-8:0,v=(0,r.useCallback)((()=>{m((e=>!e))}),[]);return i().createElement("li",{tabIndex:-1,role:"menuitem",className:o.Z["navigation-group"]},i().createElement(l.Z,{icon:t,className:o.Z["navigation-group-label"]},a),i().createElement("div",{className:o.Z["navigation-group-list"]},i().createElement("ul",{className:o.Z["navigation-group-content"]},g),h&&i().createElement("div",{className:o.Z["navigation-group-truncate"]},i().createElement(n.Z,{variant:"link",onClick:v},u?(0,c.sprintf)(/* translators: %s: Number of hide items */ +__("Your current IP: %s","jetpack-protect"),W),{strong:React.createElement("strong",null)})),React.createElement(l.Z,{variant:"secondary",size:"small",onClick:xe,disabled:fe||Pe},__("+ Add to Allow List","jetpack-protect"))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:he.jetpack_waf_ip_allow_list,onChange:_e,disabled:fe})),React.createElement(l.Z,{onClick:Ce,isLoading:fe,disabled:fe},__("Save changes","jetpack-protect")));return React.createElement(N.Z,null,t.message&&React.createElement(M.Z,c()({floating:!0,dismissable:!0},t)),React.createElement(x.Z,null),React.createElement(u.Z,{className:z.Z.container,horizontalSpacing:8,horizontalGap:4},K&&!J&&React.createElement(p.Z,null,Ie," "),React.createElement(p.Z,null,Ee?Ae:ze)),K?React.createElement(P.Z,null):React.createElement(T.Z,null))}},8840:function(e,t,n){"use strict";var a=n(5106),c=n(526),r=n(9818),i=n(5736),o=n(9196),l=n(4633),s=n(9974),u=n(8891),p=n(2854),m=n(5823);const __=i.__;t.Z=e=>{let{threatList:t=[]}=e;const{setModal:n,fixThreats:i}=(0,r.useDispatch)(l.t),{threatsUpdating:d}=(0,r.useSelect)((e=>e(l.t).getThreatsUpdating())),[h,g]=(0,o.useState)(t.map((e=>{let{id:t}=e;return t}))),f=(0,o.useCallback)(((e,t)=>{g(e?h.push(t.id):h.filter((e=>e!==t.id)))}),[h]);return React.createElement(p.Z,null,React.createElement(s.Z,null,React.createElement(a.ZP,{variant:"title-medium",mb:2},__("Fix all threats","jetpack-protect")),React.createElement(a.ZP,{mb:3},__("Jetpack will be fixing the selected threats:","jetpack-protect")),React.createElement("div",{className:m.Z.list},t.map((e=>React.createElement(u.Z,{key:e.id,threat:e,fixAllDialog:!0,onCheckFix:f})))),React.createElement("div",{className:m.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),n({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(d)&&d[h[0]],onClick:async e=>{e.preventDefault(),i(h,(()=>{n({type:null})}))}},__("Fix all threats","jetpack-protect")))))}},1593:function(e,t,n){"use strict";var a=n(5106),c=n(526),r=n(9818),i=n(5736),o=n(4633),l=n(9974),s=n(8891),u=n(2854),p=n(7279);const __=i.__;t.Z=e=>{let{id:t,fixable:n,label:i,icon:m,severity:d}=e;const{setModal:h,fixThreats:g}=(0,r.useDispatch)(o.t),f=(0,r.useSelect)((e=>e(o.t).getThreatsUpdating()));return React.createElement(u.Z,null,React.createElement(l.Z,null,React.createElement(a.ZP,{variant:"title-medium",mb:2},__("Fix Threat","jetpack-protect")),React.createElement(a.ZP,{mb:3},__("Jetpack will be fixing the selected threat:","jetpack-protect")),React.createElement("div",{className:p.Z.list},React.createElement(s.Z,{threat:{id:t,fixable:n,label:i,icon:m,severity:d},fixAllDialog:!1})),React.createElement("div",{className:p.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),h({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(f&&f[t]),onClick:async e=>{e.preventDefault(),g([t],(()=>{h({type:null})}))}},__("Fix threat","jetpack-protect")))))}},5678:function(e,t,n){"use strict";var a=n(9196),c=n(1234);t.Z=e=>{let{ariaLabel:t,checked:n=!1,className:r="",disabled:i=!1,id:o,onChange:l=(()=>{}),onKeyDown:s=(()=>{}),switchClassNames:u="",toggling:p}=e;const m=(0,a.useCallback)((e=>{i||l(e)}),[i,l]),d=(0,a.useCallback)((e=>{i||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l(e)),s(e))}),[i,l,s]);return React.createElement(React.Fragment,null,React.createElement("div",null,React.createElement("input",{className:`${c.Z["form-toggle"]} ${r} ${p?c.Z["is-toggling"]:""}`,type:"checkbox",checked:n,readOnly:!0,disabled:i}),React.createElement("span",{className:`${c.Z["form-toggle__switch"]} ${u}`,disabled:i,id:o,onClick:m,onKeyDown:d,role:"checkbox","aria-checked":n,"aria-label":t,tabIndex:i?-1:0})))}},3584:function(e,t,n){"use strict";n.d(t,{U:function(){return d}});var a=n(5106),c=n(1074),r=n(7489),i=n(2229),o=n(5235),l=n.n(o),s=n(9196),u=n.n(s),p=n(9122);const m=u().createContext(),d=e=>{let{id:t,title:n,label:o,icon:d,children:h,onOpen:g}=e;const f=(0,s.useContext)(m),v=f?.open===t,E=f?.setOpen,k=l()(p.Z["accordion-body"],{[p.Z["accordion-body-open"]]:v,[p.Z["accordion-body-close"]]:!v}),b=(0,s.useCallback)((()=>{v||g?.(),E((e=>e===t?null:t))}),[v,g,E,t]);return u().createElement("div",{className:p.Z["accordion-item"]},u().createElement("button",{className:p.Z["accordion-header"],onClick:b},u().createElement("div",null,u().createElement(a.ZP,{className:p.Z["accordion-header-label"],mb:1},u().createElement(c.Z,{icon:d,className:p.Z["accordion-header-label-icon"]}),o),u().createElement(a.ZP,{className:p.Z["accordion-header-description"],variant:v?"title-small":"body"},n)),u().createElement("div",{className:p.Z["accordion-header-button"]},u().createElement(c.Z,{icon:v?r.Z:i.Z,size:38}))),u().createElement("div",{className:k,"aria-hidden":v?"false":"true"},h))};t.Z=e=>{let{children:t}=e;const[n,a]=(0,s.useState)();return u().createElement(m.Provider,{value:{open:n,setOpen:a}},u().createElement("div",{className:p.Z.accordion},t))}},3116:function(e,t,n){"use strict";var a=n(6895),c=n(5106),r=n(526),i=n(9818),o=n(9307),l=n(5736),s=n(1074),u=n(4633),p=n(2251),m=n(2854),d=n(6983);const __=l.__;t.Z=e=>{let{id:t,title:n,label:l,icon:h,severity:g}=e;const{setModal:f,ignoreThreat:v}=(0,i.useDispatch)(u.t),E=(0,i.useSelect)((e=>e(u.t).getThreatsUpdating())),k=(0,a.Z)("jetpack-protect-codeable-referral");return React.createElement(m.Z,null,React.createElement(c.ZP,{variant:"title-medium",mb:2},__("Do you really want to ignore this threat?","jetpack-protect")),React.createElement(c.ZP,{mb:3},__("Jetpack will ignore the threat:","jetpack-protect")),React.createElement("div",{className:d.Z.threat},React.createElement(s.Z,{icon:h,className:d.Z.threat__icon}),React.createElement("div",{className:d.Z.threat__summary},React.createElement(c.ZP,{className:d.Z.threat__summary__label,mb:1},l),React.createElement(c.ZP,{className:d.Z.threat__summary__title},n)),React.createElement("div",{className:d.Z.threat__severity},React.createElement(p.Z,{severity:g}))),React.createElement(c.ZP,{mb:4},(0,o.createInterpolateElement)(__("By ignoring this threat you confirm that you have reviewed the detected code and assume the risks of keeping a potentially malicious or vulnerable file on your site. If you are unsure please request an estimate with Codeable.","jetpack-protect"),{codeableLink:React.createElement(r.Z,{variant:"link",isExternalLink:!0,href:k})})),React.createElement("div",{className:d.Z.footer},React.createElement(r.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),f({type:null})}},__("Cancel","jetpack-protect")),React.createElement(r.Z,{isDestructive:!0,isLoading:Boolean(E&&E[t]),onClick:async e=>{e.preventDefault(),v(t,(()=>{f({type:null})}))}},__("Ignore threat","jetpack-protect"))))}},6402:function(e,t,n){"use strict";var a=n(9105),c=n(5106),r=n(216),i=n(3363),o=n(3846),l=n(9307),s=n(5736),u=n(9196),p=n.n(u),m=n(6477),d=n(8266),h=n(9401),g=n(2951);const __=s.__;t.Z=e=>{let{onScanAdd:t}=e;return(0,m.Z)({pageViewEventName:"protect_interstitial"}),p().createElement(a.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:p().createElement("div",{className:g.Z["protect-header"]},p().createElement(d.Z,null),p().createElement(c.ZP,{variant:"body-small"},(0,l.createInterpolateElement)(__("Already have an existing plan or license key? Click here to get started","jetpack-protect"),{a:p().createElement("a",{href:"admin.php?page=my-jetpack#/add-license"})})))},p().createElement(r.Z,null,p().createElement(i.Z,{horizontalSpacing:3,horizontalGap:3},p().createElement(o.Z,{sm:4,md:8,lg:12},p().createElement(h.Z,{onScanAdd:t})))))}},8266:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(5609),c=n(9196),r=n.n(c);function i(e){let{iconColor:t="#069E08",color:n="#000"}=e;return r().createElement(a.SVG,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 245 41",width:245},r().createElement(a.Path,{d:"M159.347 27.3605H156.978V7.9082H162.371C163.176 7.9082 163.917 7.95666 164.596 8.05359C165.284 8.15051 165.914 8.30074 166.486 8.50428C167.649 8.92104 168.531 9.54619 169.132 10.3797C169.733 11.2036 170.033 12.2213 170.033 13.4328C170.033 14.4214 169.834 15.2937 169.437 16.0497C169.049 16.796 168.482 17.4211 167.736 17.9251C166.99 18.4291 166.079 18.812 165.003 19.0737C163.937 19.3257 162.725 19.4517 161.368 19.4517C160.719 19.4517 160.045 19.4226 159.347 19.3644V27.3605ZM159.347 17.1982C159.667 17.237 160.002 17.2661 160.35 17.2854C160.699 17.3048 161.029 17.3145 161.339 17.3145C162.454 17.3145 163.403 17.2273 164.189 17.0528C164.974 16.8784 165.613 16.6264 166.108 16.2968C166.602 15.9576 166.961 15.5505 167.183 15.0756C167.406 14.591 167.518 14.0434 167.518 13.4328C167.518 12.6768 167.334 12.0565 166.965 11.5719C166.607 11.0873 166.093 10.719 165.424 10.467C165.008 10.3119 164.528 10.2053 163.985 10.1471C163.442 10.0793 162.812 10.0453 162.095 10.0453H159.347V17.1982Z",fill:n}),r().createElement(a.Path,{d:"M181.093 15.3809H180.919C180.386 15.3809 179.862 15.4294 179.349 15.5263C178.835 15.6232 178.35 15.7735 177.895 15.977C177.449 16.1708 177.042 16.4131 176.674 16.7039C176.315 16.9947 176.014 17.3388 175.772 17.7361V27.3605H173.519V13.5491H175.263L175.699 15.7444H175.743C175.966 15.3858 176.237 15.0514 176.557 14.7412C176.887 14.4311 177.255 14.1597 177.662 13.9271C178.069 13.6945 178.515 13.5152 179 13.3892C179.484 13.2535 179.993 13.1856 180.526 13.1856C180.623 13.1856 180.72 13.1905 180.817 13.2002C180.924 13.2002 181.016 13.205 181.093 13.2147V15.3809Z",fill:n}),r().createElement(a.Path,{d:"M193.302 20.4694C193.302 19.6164 193.195 18.8604 192.982 18.2014C192.779 17.5326 192.488 16.9705 192.11 16.5149C191.741 16.0497 191.3 15.7008 190.787 15.4682C190.273 15.2258 189.711 15.1047 189.1 15.1047C188.49 15.1047 187.928 15.2258 187.414 15.4682C186.9 15.7008 186.454 16.0497 186.076 16.5149C185.708 16.9705 185.417 17.5326 185.204 18.2014C185.001 18.8604 184.899 19.6164 184.899 20.4694C184.899 21.3126 185.001 22.0686 185.204 22.7373C185.417 23.3964 185.713 23.9537 186.091 24.4092C186.469 24.8648 186.915 25.2137 187.428 25.456C187.942 25.6886 188.504 25.8049 189.115 25.8049C189.725 25.8049 190.283 25.6886 190.787 25.456C191.3 25.2137 191.741 24.8648 192.11 24.4092C192.488 23.9537 192.779 23.3964 192.982 22.7373C193.195 22.0686 193.302 21.3126 193.302 20.4694ZM195.657 20.4694C195.657 21.5549 195.502 22.5435 195.192 23.4352C194.882 24.3269 194.441 25.0926 193.869 25.7322C193.307 26.3622 192.623 26.8517 191.819 27.2006C191.015 27.5495 190.113 27.724 189.115 27.724C188.088 27.724 187.167 27.5495 186.353 27.2006C185.548 26.8517 184.86 26.3622 184.288 25.7322C183.726 25.0926 183.295 24.3269 182.994 23.4352C182.694 22.5435 182.544 21.5549 182.544 20.4694C182.544 19.3741 182.699 18.3807 183.009 17.489C183.319 16.5973 183.755 15.8316 184.317 15.1919C184.889 14.5522 185.577 14.0579 186.382 13.709C187.196 13.3601 188.102 13.1856 189.1 13.1856C190.118 13.1856 191.034 13.3601 191.848 13.709C192.662 14.0579 193.35 14.5522 193.913 15.1919C194.475 15.8316 194.906 16.5973 195.206 17.489C195.507 18.3807 195.657 19.3741 195.657 20.4694Z",fill:n}),r().createElement(a.Path,{d:"M206.354 27.3896C206.16 27.4672 205.864 27.5398 205.467 27.6077C205.07 27.6755 204.595 27.7143 204.042 27.724C203.315 27.724 202.685 27.6319 202.152 27.4478C201.619 27.2733 201.173 27.0213 200.815 26.6918C200.466 26.3525 200.204 25.9455 200.03 25.4705C199.855 24.9956 199.768 24.4674 199.768 23.8859V15.4827H197.107V13.5491H199.768V9.76911H202.021V13.5491H206.15V15.4827H202.021V23.5369C202.021 23.8568 202.065 24.1524 202.152 24.4238C202.249 24.6952 202.395 24.9326 202.588 25.1362C202.792 25.33 203.049 25.4851 203.359 25.6014C203.669 25.708 204.042 25.7613 204.478 25.7613C204.779 25.7613 205.094 25.7371 205.423 25.6886C205.763 25.6402 206.073 25.5772 206.354 25.4996V27.3896Z",fill:n}),r().createElement(a.Path,{d:"M214.681 15.1192C214.167 15.1192 213.687 15.221 213.242 15.4245C212.805 15.6281 212.423 15.9043 212.093 16.2532C211.764 16.6021 211.497 17.0141 211.293 17.489C211.09 17.9542 210.964 18.4534 210.915 18.9864H217.894C217.894 18.4437 217.821 17.9397 217.676 17.4744C217.54 16.9995 217.337 16.5876 217.065 16.2387C216.794 15.8898 216.459 15.6184 216.062 15.4245C215.665 15.221 215.204 15.1192 214.681 15.1192ZM215.917 25.7613C216.663 25.7613 217.341 25.7032 217.952 25.5869C218.572 25.4609 219.188 25.2864 219.798 25.0635V26.9389C219.304 27.1812 218.693 27.3702 217.967 27.5059C217.24 27.6513 216.459 27.724 215.626 27.724C214.637 27.724 213.707 27.598 212.835 27.346C211.972 27.094 211.216 26.6869 210.567 26.1248C209.917 25.5626 209.403 24.8309 209.025 23.9295C208.657 23.0184 208.473 21.9232 208.473 20.6438C208.473 19.3838 208.647 18.2934 208.996 17.3727C209.345 16.4422 209.811 15.6668 210.392 15.0465C210.974 14.4262 211.642 13.961 212.398 13.6509C213.154 13.3407 213.944 13.1856 214.768 13.1856C215.544 13.1856 216.266 13.3165 216.934 13.5782C217.613 13.8302 218.199 14.2324 218.693 14.7849C219.188 15.3373 219.575 16.0497 219.857 16.922C220.147 17.7943 220.293 18.8411 220.293 20.0623C220.293 20.1786 220.293 20.2804 220.293 20.3676C220.293 20.4451 220.288 20.6293 220.278 20.92H210.799C210.799 21.802 210.93 22.5532 211.192 23.1735C211.463 23.7841 211.827 24.2832 212.282 24.6709C212.747 25.0489 213.29 25.3252 213.91 25.4996C214.531 25.6741 215.199 25.7613 215.917 25.7613Z",fill:n}),r().createElement(a.Path,{d:"M229.885 13.1856C230.553 13.1856 231.193 13.2583 231.804 13.4037C232.414 13.5394 232.938 13.7332 233.374 13.9852V15.8607C232.763 15.6281 232.201 15.4536 231.687 15.3373C231.174 15.221 230.65 15.1628 230.117 15.1628C229.555 15.1628 228.998 15.2549 228.445 15.4391C227.893 15.6232 227.398 15.9285 226.962 16.355C226.526 16.7718 226.172 17.3291 225.901 18.0269C225.639 18.7151 225.508 19.5728 225.508 20.6002C225.508 21.3465 225.605 22.0346 225.799 22.6646C226.003 23.2946 226.298 23.8423 226.686 24.3075C227.083 24.763 227.578 25.1216 228.169 25.3833C228.76 25.6353 229.444 25.7613 230.219 25.7613C230.781 25.7613 231.348 25.7032 231.92 25.5869C232.492 25.4609 233.049 25.2864 233.592 25.0635V26.9389C233.427 27.0358 233.209 27.1328 232.938 27.2297C232.676 27.3266 232.385 27.409 232.065 27.4768C231.745 27.5544 231.406 27.6125 231.048 27.6513C230.689 27.6998 230.33 27.724 229.972 27.724C229.041 27.724 228.159 27.5835 227.326 27.3024C226.502 27.0213 225.78 26.59 225.16 26.0085C224.539 25.4269 224.05 24.6903 223.691 23.7986C223.333 22.907 223.153 21.8505 223.153 20.6293C223.153 19.7182 223.245 18.8992 223.429 18.1723C223.623 17.4454 223.885 16.8057 224.215 16.2532C224.544 15.7008 224.927 15.2307 225.363 14.843C225.809 14.4553 226.279 14.1403 226.773 13.898C227.277 13.646 227.796 13.4667 228.329 13.3601C228.862 13.2438 229.381 13.1856 229.885 13.1856Z",fill:n}),r().createElement(a.Path,{d:"M244.143 27.3896C243.949 27.4672 243.654 27.5398 243.256 27.6077C242.859 27.6755 242.384 27.7143 241.832 27.724C241.105 27.724 240.475 27.6319 239.942 27.4478C239.409 27.2733 238.963 27.0213 238.604 26.6918C238.255 26.3525 237.993 25.9455 237.819 25.4705C237.645 24.9956 237.557 24.4674 237.557 23.8859V15.4827H234.897V13.5491H237.557V9.76911H239.811V13.5491H243.94V15.4827H239.811V23.5369C239.811 23.8568 239.854 24.1524 239.942 24.4238C240.039 24.6952 240.184 24.9326 240.378 25.1362C240.581 25.33 240.838 25.4851 241.148 25.6014C241.458 25.708 241.832 25.7613 242.268 25.7613C242.568 25.7613 242.883 25.7371 243.213 25.6886C243.552 25.6402 243.862 25.5772 244.143 25.4996V27.3896Z",fill:n}),r().createElement(a.Path,{d:"M20.1063 40.2111C31.2106 40.2111 40.2126 31.2091 40.2126 20.1048C40.2126 9.00048 31.2106 0 20.1063 0C9.00197 0 0 9.00197 0 20.1063C0 31.2106 9.00197 40.2111 20.1063 40.2111Z",fill:t}),r().createElement(a.Path,{d:"M21.104 16.7295V36.2209L31.1571 16.7295H21.104Z",fill:"white"}),r().createElement(a.Path,{d:"M19.0701 23.4444V3.99023L9.05566 23.4444H19.0701Z",fill:"white"}),r().createElement(a.Path,{d:"M51.9141 33.3819C51.3379 32.499 50.8019 31.6176 50.2644 30.7733C53.1038 29.0462 54.0626 27.666 54.0626 25.0559V9.97619H50.7245V7.09961H57.8236V24.2891C57.8236 28.6635 56.558 31.1188 51.9141 33.3819Z",fill:n}),r().createElement(a.Path,{d:"M81.6522 23.0994C81.6522 24.557 82.6885 24.7104 83.3793 24.7104C84.0702 24.7104 85.0677 24.4796 85.8345 24.2503V26.9363C84.7595 27.2817 83.6473 27.5497 82.1122 27.5497C80.2705 27.5497 78.122 26.8589 78.122 23.6354V15.7307H76.1655V13.006H78.122V8.97852H81.6522V13.0075H86.1025V15.7322H81.6522V23.0994Z",fill:n}),r().createElement(a.Path,{d:"M89.0193 34.7251V12.9691H92.3961V14.2734C93.7391 13.2371 95.2355 12.585 97.0773 12.585C100.262 12.585 102.795 14.8109 102.795 19.6067C102.795 24.3652 100.033 27.5113 95.4663 27.5113C94.3541 27.5113 93.4711 27.358 92.5495 27.1659V34.6864H89.0193V34.7251ZM96.1557 15.5017C95.1194 15.5017 93.8151 16.0005 92.5867 17.0755V24.4814C93.3535 24.6347 94.1605 24.7494 95.234 24.7494C97.7279 24.7494 99.1484 23.1756 99.1484 19.8762C99.1484 16.8447 98.1121 15.5017 96.1557 15.5017Z",fill:n}),r().createElement(a.Path,{d:"M116.683 27.2051H113.384V25.6313H113.306C112.155 26.5142 110.735 27.4731 108.625 27.4731C106.783 27.4731 104.788 26.1301 104.788 23.4054C104.788 19.7605 107.896 19.0696 110.083 18.7629L113.19 18.3416V17.9202C113.19 16.001 112.423 15.3876 110.619 15.3876C109.736 15.3876 107.665 15.6556 105.976 16.3464L105.67 13.5071C107.205 12.9696 109.315 12.5869 111.08 12.5869C114.533 12.5869 116.759 13.9686 116.759 18.0736V27.2051H116.683ZM113.153 20.5675L110.236 21.0276C109.353 21.1422 108.433 21.6797 108.433 22.984C108.433 24.1349 109.085 24.7871 110.044 24.7871C111.08 24.7871 112.193 24.1736 113.152 23.4828V20.5675H113.153Z",fill:n}),r().createElement(a.Path,{d:"M131.264 26.745C129.806 27.2438 128.502 27.5505 126.851 27.5505C121.556 27.5505 119.445 24.5191 119.445 20.1074C119.445 15.465 122.362 12.5869 127.08 12.5869C128.845 12.5869 129.92 12.8936 131.109 13.2778V16.2705C130.073 15.8863 128.577 15.465 127.119 15.465C124.97 15.465 123.129 16.6159 123.129 19.9153C123.129 23.5602 124.97 24.6739 127.311 24.6739C128.423 24.6739 129.652 24.4431 131.301 23.791V26.745H131.264Z",fill:n}),r().createElement(a.Path,{d:"M137.941 19.1093C138.247 18.7639 138.478 18.4185 142.928 13.0077H147.532L141.776 19.7615L148.068 27.2432H143.464L137.978 20.4895V27.2432H134.449V7.09973H137.979V19.1093H137.941Z",fill:n}),r().createElement(a.Path,{d:"M73.5167 26.7445C71.6749 27.3207 70.1011 27.55 68.2593 27.55C63.7316 27.55 60.9309 25.2869 60.9309 19.9908C60.9309 16.1152 63.3102 12.585 67.8752 12.585C72.403 12.585 73.9768 15.731 73.9768 18.7238C73.9768 19.7213 73.8993 20.2588 73.8621 20.8335H64.7306C64.808 23.9409 66.5724 24.6705 69.2197 24.6705C70.6773 24.6705 71.9816 24.325 73.4795 23.7875V26.7416H73.5167V26.7445ZM70.2947 18.4945C70.2947 16.7673 69.7185 15.271 67.8395 15.271C66.0751 15.271 65.0001 16.5365 64.7693 18.4945H70.2947Z",fill:n}))}},4257:function(e,t,n){"use strict";var a=n(8735);const c=e=>React.createElement("mark",{key:e,className:a.Z["marked-lines__mark"]},e);t.Z=e=>{let{context:t}=e;const{marks:n,...r}=t;return React.createElement("div",{className:a.Z["marked-lines"]},React.createElement("div",{className:a.Z["marked-lines__line-numbers"]},Object.keys(r).map((e=>{const t=n.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${a.Z["marked-lines__line-number"]} ${t?a.Z["marked-lines__marked-line"]:""}`},e)}))),React.createElement("div",{className:a.Z["marked-lines__lines"]},Object.keys(r).map((e=>{const t=r[e]||" ",i=n.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${a.Z["marked-lines__line"]} ${i?a.Z["marked-lines__marked-line"]:""} `},React.createElement(React.Fragment,null,i?((e,t)=>{const[n,a]=e.reduce(((e,n)=>{let[a,r]=e,[i,o]=n;const l=t.slice(i,o);return[[...a,...i>r?[t.slice(r,i),c(l)]:[c(l)]],o]}),[[],0]);return a{const e=(0,a.useSelect)((e=>e(o.t).getModalType())),t=(0,a.useSelect)((e=>e(o.t).getModalProps())),{setModal:n}=(0,a.useDispatch)(o.t);if(!e)return null;const c=h[e];return React.createElement("div",{className:d.Z.modal},React.createElement("div",{className:d.Z.modal__window},React.createElement("button",{onClick:e=>{e.preventDefault(),n({type:null})},className:d.Z.modal__close,title:__("Close Modal Window","jetpack-protect")},React.createElement(r.Z,{icon:i.Z,size:24,className:d.Z.modal__close__icon,"aria-label":__("Close Modal Window","jetpack-protect")})),React.createElement(c,t)))}},5167:function(e,t,n){"use strict";var a=n(5106),c=n(5609),r=n(5736),i=n(1074),o=n(496),l=n(9201),s=n(5162),u=n.n(s),p=n(9196),m=n.n(p),d=n(513);const __=r.__,h=e=>{let{count:t,checked:n}=e;const{popoverText:r,badgeElement:s}=((e,t)=>t?0===e?{popoverText:__("No known threats found to affect this version","jetpack-protect"),badgeElement:m().createElement(i.Z,{icon:l.Z,size:28,className:d.Z["navigation-item-check-badge"]})}:{popoverText:null,badgeElement:m().createElement(a.ZP,{variant:"body-extra-small",className:d.Z["navigation-item-badge"],component:"div"},e)}:{popoverText:__("This item was added to your site after the most recent scan. We will check for threats during the next scheduled one.","jetpack-protect"),badgeElement:m().createElement(i.Z,{icon:o.Z,size:28,className:d.Z["navigation-item-info-badge"]})})(t,n),[u,h]=(0,p.useState)(!1),g=(0,p.useCallback)((()=>{h(!0)}),[]),f=(0,p.useCallback)((()=>{h(!1)}),[]);return m().createElement("div",{onMouseLeave:r?f:null,onMouseEnter:r?g:null,onClick:r?g:null,onFocus:r?g:null,onBlur:r?f:null,role:"presentation"},s,u&&m().createElement(c.Popover,{noArrow:!1},m().createElement(a.ZP,{variant:"body-small",className:d.Z["popover-text"]},r)))};h.propTypes={count:u().number,checked:u().bool},t.Z=h},2328:function(e,t,n){"use strict";var a=n(526),c=n(5736),r=n(9196),i=n.n(r),o=n(2389),l=n(513),s=n(246);const __=c.__;t.Z=e=>{let{icon:t,label:n,children:u}=e;const[p,m]=(0,r.useState)(!0),{mode:d}=(0,r.useContext)(s.k),h=Array.isArray(u)&&u?.length>=8&&"list"===d,g=h&&p?u.slice(0,8):u,f=h?u?.length-8:0,v=(0,r.useCallback)((()=>{m((e=>!e))}),[]);return i().createElement("li",{tabIndex:-1,role:"menuitem",className:l.Z["navigation-group"]},i().createElement(o.Z,{icon:t,className:l.Z["navigation-group-label"]},n),i().createElement("div",{className:l.Z["navigation-group-list"]},i().createElement("ul",{className:l.Z["navigation-group-content"]},g),h&&i().createElement("div",{className:l.Z["navigation-group-truncate"]},i().createElement(a.Z,{variant:"link",onClick:v},p?(0,c.sprintf)(/* translators: %s: Number of hide items */ __("Show %s more","jetpack-protect"),f):(0,c.sprintf)(/* translators: %s: Number of hide items */ -__("Hide %s items","jetpack-protect"),f)))))}},5338:(e,t,a)=>{"use strict";a.d(t,{Dx:()=>h.Z,KB:()=>d.Z,ZP:()=>k});var n=a(5106),c=a(5609),r=a(5736),i=a(1074),l=a(7489),o=a(2229),s=a(5235),p=a.n(s),u=a(9196),m=a.n(u),d=a(2328),h=a(6119),g=a(513),f=a(246);const __=r.__,v=e=>{let{children:t}=e;return m().createElement("ul",{className:g.Z.navigation,role:"menu"},t)},E=e=>{let{children:t,data:a}=e;const r=(0,u.useRef)(),[s,d]=(0,u.useState)(!1),h=a?.items?.find((e=>e?.id===a?.selectedItem))??{label:__("See all results","jetpack-protect")},{label:f,icon:v}=h,E=(0,u.useCallback)((()=>{d((e=>!e))}),[]);return m().createElement("button",{className:g.Z["navigation-dropdown-button"],onClick:E,ref:r},m().createElement("div",{className:g.Z["navigation-dropdown-label"]},v&&m().createElement(i.Z,{icon:v,className:g.Z["navigation-dropdown-icon"]}),m().createElement(n.ZP,null,f)),m().createElement(i.Z,{icon:s?l.Z:o.Z,size:32}),m().createElement(c.Popover,{position:"bottom center",anchorRef:r?.current,className:p()({[g.Z["navigation-dropdown-open"]]:s,[g.Z["navigation-dropdown-closed"]]:!s})},m().createElement("div",{style:{width:r?.current?.getBoundingClientRect?.()?.width}},t)))},k=e=>{let{children:t,selected:a,onSelect:n,mode:c="list"}=e;const r=(0,f.Z)({selected:a,onSelect:n}),i=(e=>{switch(e){case"list":default:return v;case"dropdown":return E}})(c);return m().createElement(f.k.Provider,{value:{...r,mode:c}},m().createElement(i,{data:r},t))}},6119:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5235),c=a.n(n),r=a(9196),i=a.n(r),l=a(5167),o=a(2389),s=a(513),p=a(246);const u=e=>{let{id:t,label:a,icon:n,badge:u,disabled:m,onClick:d,onKeyDown:h,onFocus:g,checked:f}=e;const v=(0,r.useContext)(p.k),E=v?.selectedItem===t,k=v?.registerItem,b=v?.registerRef,y=v?.handleClickItem,Z=v?.handleKeyDownItem,C=v?.handleFocusItem,_=c()(s.Z["navigation-item"],{[s.Z.clickable]:!m,[s.Z.selected]:E}),w=(0,r.useCallback)((e=>{d?.(e),y?.(t)}),[y,t,d]),R=(0,r.useCallback)((e=>{h?.(e),Z?.(e)}),[Z,h]),j=(0,r.useCallback)((e=>{b(e,t)}),[b,t]),S=(0,r.useCallback)((e=>{g?.(e),C?.(t)}),[C,t,g]);return(0,r.useEffect)((()=>{k({id:t,disabled:m,label:a,icon:n})}),[]),i().createElement("li",{className:_,onClick:m?null:w,onKeyDown:R,onFocus:m?null:S,role:"menuitem",tabIndex:m?-1:0,ref:j},i().createElement(o.Z,{icon:n},a),i().createElement(l.Z,{count:u,checked:f}))}},2389:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5106),c=a(1074),r=a(5235),i=a.n(r),l=a(5162),o=a.n(l),s=a(9196),p=a.n(s),u=a(513);const m=e=>{let{icon:t,children:a,className:r}=e;return p().createElement(n.ZP,{className:i()(u.Z["navigation-item-label"],r)},t&&p().createElement(c.Z,{icon:t,className:u.Z["navigation-item-icon"],size:28}),p().createElement("span",{className:u.Z["navigation-item-label-content"]},a))};m.propTypes={icon:o().node,children:o().node.isRequired};const d=m},246:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r,k:()=>c});var n=a(9196);const c=a.n(n)().createContext(),r=e=>{let{selected:t,onSelect:a}=e;const[c,r]=(0,n.useState)([]),[i,l]=(0,n.useState)([]),[o,s]=(0,n.useState)(),p=(e,t)=>{const a=e-1,n=a<0?t:a,r=c[n];return r?.disabled?p(n,t):r},u=(e,t)=>{const a=e+1,n=a>t?0:a,r=c[n];return r?.disabled?u(n,t):r};return{selectedItem:t,handleClickItem:e=>{a(e)},handleKeyDownItem:e=>{const n=e?.code,r=c.findIndex((e=>e?.id===t)),l=c.length-1;let s;if("ArrowUp"===n){const e=p(r,l);s=e?.id}else if("ArrowDown"===n){const e=u(r,l);s=e?.id}else"Enter"!==n&&"Space"!==n||!o||(s=o);if(s){const e=i[s];e?.focus(),a(s)}},handleFocusItem:e=>{s(e)},registerRef:(e,t)=>{l((a=>!a[t]&&e?{...a,[t]:e}:a))},registerItem:e=>{r((t=>{const a=[...t],n=e?.id,c=a.findIndex((e=>e?.id===n));return c>=0?a[c]=e:a.push(e),a}))},items:c}}},291:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(9818),c=a(5736),r=a(9201),i=a(797),l=a(496),o=a(1074),s=a(9517),p=a(9196),u=a(4633),m=a(8212);const __=c.__,d=e=>{let{dismissable:t=!1,duration:a=null,floating:c=!1,message:d,type:h="success"}=e;const{clearNotice:g}=(0,n.useDispatch)(u.t);let f;switch(h){case"success":f=r.Z;break;case"error":f=i.Z;break;default:f=l.Z}const v=(0,p.useCallback)((()=>{g()}),[g]);return(0,p.useEffect)((()=>{let e;return a&&(e=setTimeout(g,a)),()=>clearTimeout(e)}),[g,a,d]),React.createElement("div",{className:`${m.Z.notice} ${m.Z[`notice--${h}`]} ${c?m.Z["notice--floating"]:""}`},React.createElement("div",{className:m.Z.notice__icon},React.createElement(o.Z,{icon:f})),React.createElement("div",{className:m.Z.notice__message},d),t&&React.createElement("button",{className:m.Z.notice__close,"aria-label":__("Dismiss notice.","jetpack-protect"),onClick:v},React.createElement(o.Z,{icon:s.Z})))}},289:(e,t,a)=>{"use strict";a.d(t,{Z:()=>y,c:()=>b});var n=a(2054),c=a(5106),r=a(5033),i=a(9818),l=a(5736),o=a(1074),s=a(9201),p=a(7489),u=a(2229),m=a(5235),d=a.n(m),h=a(9196),g=a.n(h),f=a(4633),v=a(2251),E=a(7324);const __=l.__,k=g().createContext(),b=e=>{let{id:t,title:a,label:l,icon:m,fixable:b,severity:y,children:Z,onOpen:C}=e;const _=(0,h.useContext)(k),w=_?.open===t,R=_?.setOpen,j=(0,i.useSelect)((e=>e(f.t).getThreatsAreFixing())),S=d()(E.Z["accordion-body"],{[E.Z["accordion-body-open"]]:w,[E.Z["accordion-body-close"]]:!w}),N=(0,h.useCallback)((()=>{w||C?.(),R((e=>e===t?null:t))}),[w,C,R,t]),[P]=(0,n.Z)(["sm","lg"],[null,"<"]);return g().createElement("div",{className:E.Z["accordion-item"]},g().createElement("button",{className:E.Z["accordion-header"],onClick:N},g().createElement("div",null,g().createElement(c.ZP,{className:E.Z["accordion-header-label"],mb:1},g().createElement(o.Z,{icon:m,className:E.Z["accordion-header-label-icon"]}),l),g().createElement(c.ZP,{className:E.Z["accordion-header-description"],variant:w?"title-small":"body"},a)),g().createElement("div",null,g().createElement(v.Z,{severity:y})),g().createElement("div",null,b&&g().createElement(g().Fragment,null,j.indexOf(t)>=0?g().createElement(r.Z,{color:"black"}):g().createElement(o.Z,{icon:s.Z,className:E.Z["icon-check"],size:28}),P&&g().createElement("span",null,__("Auto-fix","jetpack-protect")))),g().createElement("div",{className:E.Z["accordion-header-button"]},g().createElement(o.Z,{icon:w?p.Z:u.Z,size:38}))),g().createElement("div",{className:S,"aria-hidden":w?"false":"true"},Z))},y=e=>{let{children:t}=e;const[a,n]=(0,h.useState)();return g().createElement(k.Provider,{value:{open:a,setOpen:n}},g().createElement("div",{className:E.Z.accordion},t))}},9401:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(9608),c=a(5347),r=a(526),i=a(1294),l=a(9818),o=a(5736),s=a(9196),p=a.n(s),u=a(6477),m=a(5773),d=a(8963),h=a(4633);const __=o.__,g=e=>{let{onScanAdd:t}=e;const{handleRegisterSite:a,registrationError:o}=(0,i.Z)({skipUserConnection:!0}),{refreshPlan:g,refreshStatus:f}=(0,l.useDispatch)(h.t),[v,E]=(0,s.useState)(!1),[k,b]=(0,s.useState)(!1),{jetpackScan:y}=(0,m.Z)(),{refreshWaf:Z}=(0,d.Z)(),{pricingForUi:C}=y,{introductoryOffer:_,currencyCode:w="USD"}=C,R=C.cost?Math.ceil(C.cost/12*100)/100:null,j=_?.costPerInterval?Math.ceil(_.costPerInterval/12*100)/100:null,{recordEvent:S,recordEventHandler:N}=(0,u.Z)(),P=N("jetpack_protect_pricing_table_get_scan_link_click",(()=>{b(!0),t()})),x=(0,s.useCallback)((()=>{S("jetpack_protect_connected_product_activated"),E(!0),a().then((()=>E(!1))).then((()=>{g(),Z(),f(!0)}))}),[a,S,Z,g,f]),I={title:__("Stay one step ahead of threats","jetpack-protect"),items:[{name:__("Scan for threats and vulnerabilities","jetpack-protect")},{name:__("Daily automated scans","jetpack-protect")},{name:__("Web Application Firewall","jetpack-protect")},{name:__("Brute force protection","jetpack-protect")},{name:__("Access to scan on Cloud","jetpack-protect")},{name:__("One-click auto fixes","jetpack-protect")},{name:__("Notifications","jetpack-protect")},{name:__("Severity labels","jetpack-protect")}]};return p().createElement(p().Fragment,null,p().createElement(n.ZP,I,p().createElement(n.oK,{primary:!0},p().createElement(n.NE,null,p().createElement(c.Z,{price:R,offPrice:j,leyend:__("/month, billed yearly","jetpack-protect"),currency:w,hideDiscountLabel:!1}),p().createElement(r.Z,{fullWidth:!0,onClick:P,isLoading:k,disabled:v||k},__("Get Jetpack Protect","jetpack-protect"))),p().createElement(n.kF,{isIncluded:!0,label:p().createElement("strong",null,__("Line by line malware scanning","jetpack-protect"))}),p().createElement(n.kF,{isIncluded:!0,label:p().createElement("strong",null,__("Plus on-demand manual scans","jetpack-protect"))}),p().createElement(n.kF,{isIncluded:!0,label:p().createElement("strong",null,__("Automatic protection and rule updates","jetpack-protect"))}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!0})),p().createElement(n.oK,null,p().createElement(n.NE,null,p().createElement(c.Z,{price:0,leyend:__("Free forever","jetpack-protect"),currency:w,hidePriceFraction:!0}),p().createElement(r.Z,{fullWidth:!0,variant:"secondary",onClick:x,isLoading:v,disabled:v||k,error:o?__("An error occurred. Please try again.","jetpack-protect"):null},__("Start for free","jetpack-protect"))),p().createElement(n.kF,{isIncluded:!0,label:__("Check items against database","jetpack-protect")}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!0,label:__("Manual rules only","jetpack-protect")}),p().createElement(n.kF,{isIncluded:!0}),p().createElement(n.kF,{isIncluded:!1}),p().createElement(n.kF,{isIncluded:!1}),p().createElement(n.kF,{isIncluded:!1}),p().createElement(n.kF,{isIncluded:!1}))))}},1233:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5235),c=a.n(n),r=a(6067);const i=e=>{let{className:t,total:a=100,value:n}=e;if(null==n)return null;const i=Math.min(Math.round(n/a*100),100),l={width:`${i}%`};return React.createElement("div",{className:c()(t,r.Z["progress-bar"])},React.createElement("div",{className:r.Z["progress-bar__wrapper"]},React.createElement("div",{"aria-valuemax":a,"aria-valuemin":0,"aria-valuenow":Math.min(n,a),className:r.Z["progress-bar__bar"],role:"progressbar",style:l})),React.createElement("p",{className:r.Z["progress-bar__percent"]},`${i}%`))}},5800:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(6895),c=a(5106),r=a(526),i=a(857),l=a(8258),o=a(5736),s=a(9196),p=a.n(s),u=a(3898),m=a(6477),d=a(5773),h=a(9909),g=a(8383);const __=o.__,f=()=>{const{adminUrl:e,siteSuffix:t}=window.jetpackProtectInitialState||{},{run:a}=(0,l.Z)({productSlug:u.o,redirectUrl:e}),{recordEventHandler:o}=(0,m.Z)(),s=o("jetpack_protect_footer_get_scan_link_click",a),{hasRequiredPlan:h}=(0,d.Z)();if(h){const e=(0,n.Z)("jetpack-scan-dash",{site:t});return p().createElement("div",{className:g.Z["product-section"]},p().createElement(c.Dx,null,__("Get access to our Cloud","jetpack-protect")),p().createElement(c.ZP,{mb:3},__("With your Protect upgrade, you have free access to scan your site on our Cloud, so you can be aware and fix your threats even if your site goes down. ","jetpack-protect")),p().createElement(r.Z,{variant:"secondary",weight:"regular",href:e},__("Go to Cloud","jetpack-protect")))}return p().createElement("div",{className:g.Z["product-section"]},p().createElement(c.Dx,null,__("Advanced scan results","jetpack-protect")),p().createElement(c.ZP,{mb:3},__("Upgrade Jetpack Protect to get advanced scan tools, including one-click fixes for most threats and malware scanning.","jetpack-protect")),p().createElement(i.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:s}))},v=()=>{const{hasRequiredPlan:e}=(0,d.Z)();if(e){const e=(0,n.Z)("protect-footer-learn-more-scan");return p().createElement("div",{className:g.Z["info-section"]},p().createElement(c.Dx,null,__("Line-by-line scanning","jetpack-protect")),p().createElement(c.ZP,{mb:2},__("We actively review line-by-line of your site files to identify threats and vulnerabilities. Jetpack monitors millions of websites to keep your site secure all the time. ","jetpack-protect"),p().createElement(r.Z,{variant:"link",target:"_blank",weight:"regular",href:e},__("Learn more","jetpack-protect"))))}const t=(0,n.Z)("jetpack-protect-footer-learn-more");return p().createElement("div",{className:g.Z["info-section"]},p().createElement(c.Dx,null,__("Over 22,000 listed vulnerabilities","jetpack-protect")),p().createElement(c.ZP,{mb:3},__("Every day we check your plugin, theme, and WordPress versions against our 22,000 listed vulnerabilities powered by WPScan, an Automattic brand.","jetpack-protect")),p().createElement(r.Z,{variant:"link",isExternalLink:!0,href:t,weight:"regular"},__("Learn more","jetpack-protect")))},E=()=>p().createElement(h.Z,{main:p().createElement(f,null),secondary:p().createElement(v,null),preserveSecondaryOnMobile:!0})},8686:(e,t,a)=>{"use strict";a.d(t,{Z:()=>j});var n=a(216),c=a(3363),r=a(3846),i=a(5106),l=a(3329),o=a(5609),s=a(9818),p=a(5736),u=a(9196),m=a.n(u),d=a(6477),h=a(5773),g=a(4633),f=a(7267),v=a(4948),E=a(1233),k=a(5800),b=a(9909),y=a(4910),Z=a(5207),C=a(5983),_=a(61),w=a(8264),R=a(6165);const __=p.__,j=()=>{const{lastChecked:e,currentStatus:t,errorCode:a,errorMessage:p,hasRequiredPlan:j}=(0,h.Z)(),{hasConnectionError:S}=(0,l.Z)(),{refreshStatus:N}=(0,s.useDispatch)(g.t),{statusIsFetching:P,scanIsUnavailable:x,status:I}=(0,s.useSelect)((e=>({statusIsFetching:e(g.t).getStatusIsFetching(),scanIsUnavailable:e(g.t).getScanIsUnavailable(),status:e(g.t).getStatus()}))),{currentProgress:M}=I;let T;if(T="error"===t||x?"error":e?"active":"in_progress",(0,R.Z)(),(0,w.Z)(),(0,u.useEffect)((()=>{P||"unavailable"!==I.status||x||N(!0)}),[P,I.status,N,x]),(0,d.Z)({pageViewEventName:"protect_admin",pageViewEventProperties:{check_status:T,has_plan:j}}),"error"===t||x){let e=p?`${p} (${a}).`:__("We are having problems scanning your site.","jetpack-protect");return e+=" "+__("Try again in a few minutes.","jetpack-protect"),m().createElement(f.Z,null,m().createElement(n.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(l.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(b.Z,{main:m().createElement("div",{className:_.Z["main-content"]},m().createElement(v.Z,{className:_.Z["alert-icon-wrapper"]}),m().createElement(i.H3,null,__("We’re having problems scanning your site","jetpack-protect")),m().createElement(i.ZP,null,e)),secondary:m().createElement("div",{className:_.Z.illustration},m().createElement("img",{src:C,alt:""})),preserveSecondaryOnMobile:!1})),m().createElement(k.Z,null))}return["scheduled","scanning","optimistically_scanning"].indexOf(I.status)>=0||!e?m().createElement(f.Z,null,m().createElement(n.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(l.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(b.Z,{main:m().createElement("div",{className:_.Z["main-content"]},m().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},m().createElement(r.Z,{className:_.Z["loading-content"]},m().createElement(o.Spinner,{style:{color:"black",marginTop:0,marginLeft:0}}),m().createElement("span",null,__("Scanning your site…","jetpack-protect"))),m().createElement(r.Z,null,m().createElement(i.H3,null,__("Your results will be ready soon","jetpack-protect")),null!==M&&M>=0&&m().createElement(E.Z,{value:M}),m().createElement(i.ZP,null,__("We are scanning for security threats from our more than 22,000 listed vulnerabilities, powered by WPScan. This could take a minute or two.","jetpack-protect"))))),secondary:m().createElement("div",{className:_.Z.illustration},m().createElement("img",{src:C,alt:""})),preserveSecondaryOnMobile:!1})),m().createElement(k.Z,null)):m().createElement(f.Z,null,m().createElement(n.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(l.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},m().createElement(r.Z,null,m().createElement(y.Z,null)),m().createElement(r.Z,null,m().createElement(Z.Z,null)))),m().createElement(k.Z,null))}},8264:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(9818),c=a(9196),r=a(4633);const i=()=>{const{checkCredentials:e}=(0,n.useDispatch)(r.t),t=(0,n.useSelect)((e=>e(r.t).getCredentials()));(0,c.useEffect)((()=>{t||e()}),[e,t])}},6165:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(6989),c=a.n(n),r=a(9818),i=a(4769),l=a.n(i),o=a(9196),s=a(6477),p=a(4633);const u=()=>{const{recordEvent:e}=(0,s.Z)(),t=(0,r.useSelect)((e=>e(p.t).getStatus())),{setStatus:a,setStatusProgress:n,setStatusIsFetching:i,setScanIsUnavailable:u}=(0,r.useDispatch)(p.t);(0,o.useEffect)((()=>{let r;const o=e=>["scheduled","scanning"].indexOf(e)>=0,s=(e,t)=>!t&&"idle"===e,p=()=>new Promise(((e,t)=>{c()({path:"jetpack-protect/v1/status?hard_refresh=true",method:"GET"}).then((a=>{if(a?.error)throw a?.error_message;if(o(a?.status)||s(a?.status,a?.last_checked))return n(a?.current_progress),void(r=setTimeout((()=>{p().then((t=>e(t))).catch((e=>t(e)))}),1e4));e(a)})).catch((()=>{setTimeout((()=>{p().then((t=>e(t))).catch((e=>t(e)))}),5e3)}))}));if(o(t?.status)||s(t?.status,t?.lastChecked))return r=setTimeout((()=>{i(!0),p().then((t=>{u("unavailable"===t.status),a(l()(t)),e("jetpack_protect_scan_completed",{scan_status:t.status})})).finally((()=>{i(!1)}))}),1e4),()=>clearTimeout(r)}),[t?.status,t?.lastChecked,u,a,n,i,e])}},9909:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(2054),c=a(3363),r=a(3846),i=a(9196),l=a.n(i);const o=e=>{let{main:t,secondary:a,preserveSecondaryOnMobile:i=!1}=e;const[o,s]=(0,n.Z)(["sm","lg"]),p=!i&&o;return l().createElement(c.Z,{horizontalSpacing:0,horizontalGap:0,fluid:!1},!p&&l().createElement(l().Fragment,null,l().createElement(r.Z,{sm:12,md:4,lg:6},t),s&&l().createElement(r.Z,{lg:1}),l().createElement(r.Z,{sm:12,md:4,lg:5},a)),p&&l().createElement(r.Z,null,t))}},2251:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(8131);const __=n.__,r=e=>e>=5?"is-critical":e>=3&&e<5?"is-high":"is-low",i=e=>{let{severity:t}=e;return React.createElement("div",{className:`${c.Z["threat-severity-badge"]} ${c.Z[r(t)]}`},(e=>{const t=__("Critical","jetpack-protect"),a=__("High","jetpack-protect"),n=__("Low","jetpack-protect");return e>=5?t:e>=3&&e<5?a:n})(t))}},8959:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5106),c=a(9307),r=a(5736),i=a(8911);const __=r.__,l=()=>React.createElement(React.Fragment,null,React.createElement(n.ZP,{variant:"title-medium-semi-bold",mb:2},__("Enhanced protection","jetpack-protect")),React.createElement(n.ZP,{mb:2},__("Learn how you can execute Jetpack Firewall before WordPress initializes. This mode offers the most protection.","jetpack-protect")),React.createElement("ul",{className:i.Z.list},React.createElement("li",{className:i.Z["list-item"]},React.createElement(n.ZP,{variant:"body-small"},(0,c.createInterpolateElement)(__("To ensure the firewall can best protect your site, please update: auto_prepend_file PHP directive to point to wp-content/jetpack-waf/bootstrap.php Typically this is set either in an .htaccess file or in the global PHP configuration; contact your host for further assistance.","jetpack-protect"),{mark:React.createElement("mark",{className:i.Z.mark})}))),React.createElement("li",{className:i.Z["list-item"]},React.createElement(n.ZP,{variant:"body-small"},__("Don't forget to undo this action when Firewall is turned off, or when you uninstall Jetpack.","jetpack-protect")))))},4910:(e,t,a)=>{"use strict";a.d(t,{Z:()=>v});var n=a(3396),c=a(3363),r=a(3846),i=a(5106),l=a(526),o=a(9818),s=a(9771),p=a(5736),u=a(9196),m=a.n(u),d=a(5773),h=a(4633),g=a(291),f=a(6561);const __=p.__,v=()=>{const{numThreats:e,lastChecked:t,hasRequiredPlan:a}=(0,d.Z)(),u=(0,o.useSelect)((e=>e(h.t).getNotice())),v=(0,o.useSelect)((e=>e(h.t).getScanIsEnqueuing())),{scan:E}=(0,o.useDispatch)(h.t),k=(0,n.VS)("protect");return m().createElement(c.Z,{fluid:!0},m().createElement(r.Z,null,m().createElement("div",{className:f.Z.summary},m().createElement("div",null,m().createElement(i.Dx,{size:"small",className:f.Z.summary__title},m().createElement(k,{size:32,className:f.Z.summary__icon}),(0,p.sprintf)(/* translators: %s: Latest check date */ -__("Latest results as of %s","jetpack-protect"),(0,s.dateI18n)("F jS",t))),e>0&&m().createElement(i.ZP,{variant:"headline-small",component:"h1"},(0,p.sprintf)(/* translators: %s: Total number of threats */ -__("%1$s %2$s found","jetpack-protect"),e,1===e?"threat":"threats"))),m().createElement("div",{className:f.Z.summary__notice},u&&u.message&&m().createElement(g.Z,u)),a&&0===e&&m().createElement(l.Z,{variant:"secondary",className:f.Z["summary__scan-button"],isLoading:v,onClick:e=>{e.preventDefault(),E()}},__("Scan now","jetpack-protect")))))}},3324:(e,t,a)=>{"use strict";a.d(t,{O:()=>r,Z:()=>i});var n=a(554),c=a(5714);const r=e=>{let{label:t,link:a}=e;return React.createElement(n.OL,{to:a,className:e=>{let{isActive:t}=e;return t?`${c.Z.tab} ${c.Z["tab--active"]}`:c.Z.tab}},t)},i=e=>{let{children:t,className:a=""}=e;return React.createElement("nav",{className:`${c.Z.tabs} ${a}`},t)}},9265:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(8063);const c=e=>{let{disabled:t=!1,id:a,label:c="",description:r="",placeholder:i="",rows:l=3,value:o="",onChange:s=(()=>{})}=e;return React.createElement("div",null,Boolean(c)&&React.createElement("label",{className:n.Z.label,htmlFor:a},c),Boolean(r)&&r,React.createElement("textarea",{className:n.Z.textarea,disabled:t,placeholder:i,rows:l,id:a,name:a,onChange:s,value:o||""}))}},8891:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5106),c=a(5736),r=a(1074),i=a(9196),l=a.n(i),o=a(2251),s=a(9971);const __=c.__,p=e=>{switch(e.fixer){case"replace":return __("Jetpack Scan will replace the affected file or directory.","jetpack-protect");case"delete":return __("Jetpack Scan will delete the affected file or directory.","jetpack-protect");case"update":return e.target?(0,c.sprintf)(/* translators: %s: Version that the plugin will be upgraded to */ +__("Hide %s items","jetpack-protect"),f)))))}},5338:function(e,t,n){"use strict";n.d(t,{Dx:function(){return h.Z},KB:function(){return d.Z}});var a=n(5106),c=n(5609),r=n(5736),i=n(1074),o=n(7489),l=n(2229),s=n(5235),u=n.n(s),p=n(9196),m=n.n(p),d=n(2328),h=n(6119),g=n(513),f=n(246);const __=r.__,v=e=>{let{children:t}=e;return m().createElement("ul",{className:g.Z.navigation,role:"menu"},t)},E=e=>{let{children:t,data:n}=e;const r=(0,p.useRef)(),[s,d]=(0,p.useState)(!1),h=n?.items?.find((e=>e?.id===n?.selectedItem))??{label:__("See all results","jetpack-protect")},{label:f,icon:v}=h,E=(0,p.useCallback)((()=>{d((e=>!e))}),[]);return m().createElement("button",{className:g.Z["navigation-dropdown-button"],onClick:E,ref:r},m().createElement("div",{className:g.Z["navigation-dropdown-label"]},v&&m().createElement(i.Z,{icon:v,className:g.Z["navigation-dropdown-icon"]}),m().createElement(a.ZP,null,f)),m().createElement(i.Z,{icon:s?o.Z:l.Z,size:32}),m().createElement(c.Popover,{position:"bottom center",anchorRef:r?.current,className:u()({[g.Z["navigation-dropdown-open"]]:s,[g.Z["navigation-dropdown-closed"]]:!s})},m().createElement("div",{style:{width:r?.current?.getBoundingClientRect?.()?.width}},t)))};t.ZP=e=>{let{children:t,selected:n,onSelect:a,mode:c="list"}=e;const r=(0,f.Z)({selected:n,onSelect:a}),i=(e=>{switch(e){case"list":default:return v;case"dropdown":return E}})(c);return m().createElement(f.k.Provider,{value:{...r,mode:c}},m().createElement(i,{data:r},t))}},6119:function(e,t,n){"use strict";var a=n(5235),c=n.n(a),r=n(9196),i=n.n(r),o=n(5167),l=n(2389),s=n(513),u=n(246);t.Z=e=>{let{id:t,label:n,icon:a,badge:p,disabled:m,onClick:d,onKeyDown:h,onFocus:g,checked:f}=e;const v=(0,r.useContext)(u.k),E=v?.selectedItem===t,k=v?.registerItem,b=v?.registerRef,y=v?.handleClickItem,Z=v?.handleKeyDownItem,C=v?.handleFocusItem,_=c()(s.Z["navigation-item"],{[s.Z.clickable]:!m,[s.Z.selected]:E}),w=(0,r.useCallback)((e=>{d?.(e),y?.(t)}),[y,t,d]),R=(0,r.useCallback)((e=>{h?.(e),Z?.(e)}),[Z,h]),j=(0,r.useCallback)((e=>{b(e,t)}),[b,t]),S=(0,r.useCallback)((e=>{g?.(e),C?.(t)}),[C,t,g]);return(0,r.useEffect)((()=>{k({id:t,disabled:m,label:n,icon:a})}),[]),i().createElement("li",{className:_,onClick:m?null:w,onKeyDown:R,onFocus:m?null:S,role:"menuitem",tabIndex:m?-1:0,ref:j},i().createElement(l.Z,{icon:a},n),i().createElement(o.Z,{count:p,checked:f}))}},2389:function(e,t,n){"use strict";var a=n(5106),c=n(1074),r=n(5235),i=n.n(r),o=n(5162),l=n.n(o),s=n(9196),u=n.n(s),p=n(513);const m=e=>{let{icon:t,children:n,className:r}=e;return u().createElement(a.ZP,{className:i()(p.Z["navigation-item-label"],r)},t&&u().createElement(c.Z,{icon:t,className:p.Z["navigation-item-icon"],size:28}),u().createElement("span",{className:p.Z["navigation-item-label-content"]},n))};m.propTypes={icon:l().node,children:l().node.isRequired},t.Z=m},246:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var a=n(9196);const c=n.n(a)().createContext();t.Z=e=>{let{selected:t,onSelect:n}=e;const[c,r]=(0,a.useState)([]),[i,o]=(0,a.useState)([]),[l,s]=(0,a.useState)(),u=(e,t)=>{const n=e-1,a=n<0?t:n,r=c[a];return r?.disabled?u(a,t):r},p=(e,t)=>{const n=e+1,a=n>t?0:n,r=c[a];return r?.disabled?p(a,t):r};return{selectedItem:t,handleClickItem:e=>{n(e)},handleKeyDownItem:e=>{const a=e?.code,r=c.findIndex((e=>e?.id===t)),o=c.length-1;let s;if("ArrowUp"===a){const e=u(r,o);s=e?.id}else if("ArrowDown"===a){const e=p(r,o);s=e?.id}else"Enter"!==a&&"Space"!==a||!l||(s=l);if(s){const e=i[s];e?.focus(),n(s)}},handleFocusItem:e=>{s(e)},registerRef:(e,t)=>{o((n=>!n[t]&&e?{...n,[t]:e}:n))},registerItem:e=>{r((t=>{const n=[...t],a=e?.id,c=n.findIndex((e=>e?.id===a));return c>=0?n[c]=e:n.push(e),n}))},items:c}}},291:function(e,t,n){"use strict";var a=n(9818),c=n(5736),r=n(9201),i=n(797),o=n(496),l=n(1074),s=n(9517),u=n(9196),p=n(4633),m=n(8212);const __=c.__;t.Z=e=>{let{dismissable:t=!1,duration:n=null,floating:c=!1,message:d,type:h="success"}=e;const{clearNotice:g}=(0,a.useDispatch)(p.t);let f;switch(h){case"success":f=r.Z;break;case"error":f=i.Z;break;default:f=o.Z}const v=(0,u.useCallback)((()=>{g()}),[g]);return(0,u.useEffect)((()=>{let e;return n&&(e=setTimeout(g,n)),()=>clearTimeout(e)}),[g,n,d]),React.createElement("div",{className:`${m.Z.notice} ${m.Z[`notice--${h}`]} ${c?m.Z["notice--floating"]:""}`},React.createElement("div",{className:m.Z.notice__icon},React.createElement(l.Z,{icon:f})),React.createElement("div",{className:m.Z.notice__message},d),t&&React.createElement("button",{className:m.Z.notice__close,"aria-label":__("Dismiss notice.","jetpack-protect"),onClick:v},React.createElement(l.Z,{icon:s.Z})))}},289:function(e,t,n){"use strict";n.d(t,{c:function(){return b}});var a=n(2054),c=n(5106),r=n(5033),i=n(9818),o=n(5736),l=n(1074),s=n(9201),u=n(7489),p=n(2229),m=n(5235),d=n.n(m),h=n(9196),g=n.n(h),f=n(4633),v=n(2251),E=n(7324);const __=o.__,k=g().createContext(),b=e=>{let{id:t,title:n,label:o,icon:m,fixable:b,severity:y,children:Z,onOpen:C}=e;const _=(0,h.useContext)(k),w=_?.open===t,R=_?.setOpen,j=(0,i.useSelect)((e=>e(f.t).getThreatsAreFixing())),S=d()(E.Z["accordion-body"],{[E.Z["accordion-body-open"]]:w,[E.Z["accordion-body-close"]]:!w}),N=(0,h.useCallback)((()=>{w||C?.(),R((e=>e===t?null:t))}),[w,C,R,t]),[P]=(0,a.Z)(["sm","lg"],[null,"<"]);return g().createElement("div",{className:E.Z["accordion-item"]},g().createElement("button",{className:E.Z["accordion-header"],onClick:N},g().createElement("div",null,g().createElement(c.ZP,{className:E.Z["accordion-header-label"],mb:1},g().createElement(l.Z,{icon:m,className:E.Z["accordion-header-label-icon"]}),o),g().createElement(c.ZP,{className:E.Z["accordion-header-description"],variant:w?"title-small":"body"},n)),g().createElement("div",null,g().createElement(v.Z,{severity:y})),g().createElement("div",null,b&&g().createElement(g().Fragment,null,j.indexOf(t)>=0?g().createElement(r.Z,{color:"black"}):g().createElement(l.Z,{icon:s.Z,className:E.Z["icon-check"],size:28}),P&&g().createElement("span",null,__("Auto-fix","jetpack-protect")))),g().createElement("div",{className:E.Z["accordion-header-button"]},g().createElement(l.Z,{icon:w?u.Z:p.Z,size:38}))),g().createElement("div",{className:S,"aria-hidden":w?"false":"true"},Z))};t.Z=e=>{let{children:t}=e;const[n,a]=(0,h.useState)();return g().createElement(k.Provider,{value:{open:n,setOpen:a}},g().createElement("div",{className:E.Z.accordion},t))}},9401:function(e,t,n){"use strict";var a=n(9608),c=n(5347),r=n(526),i=n(1294),o=n(9818),l=n(5736),s=n(9196),u=n.n(s),p=n(6477),m=n(5773),d=n(8963),h=n(4633);const __=l.__;t.Z=e=>{let{onScanAdd:t}=e;const{handleRegisterSite:n,registrationError:l}=(0,i.Z)({skipUserConnection:!0}),{refreshPlan:g,refreshStatus:f}=(0,o.useDispatch)(h.t),[v,E]=(0,s.useState)(!1),[k,b]=(0,s.useState)(!1),{jetpackScan:y}=(0,m.Z)(),{refreshWaf:Z}=(0,d.Z)(),{pricingForUi:C}=y,{introductoryOffer:_,currencyCode:w="USD"}=C,R=C.cost?Math.ceil(C.cost/12*100)/100:null,j=_?.costPerInterval?Math.ceil(_.costPerInterval/12*100)/100:null,{recordEvent:S,recordEventHandler:N}=(0,p.Z)(),P=N("jetpack_protect_pricing_table_get_scan_link_click",(()=>{b(!0),t()})),x=(0,s.useCallback)((()=>{S("jetpack_protect_connected_product_activated"),E(!0),n().then((()=>E(!1))).then((()=>{g(),Z(),f(!0)}))}),[n,S,Z,g,f]),I={title:__("Stay one step ahead of threats","jetpack-protect"),items:[{name:__("Scan for threats and vulnerabilities","jetpack-protect")},{name:__("Daily automated scans","jetpack-protect")},{name:__("Web Application Firewall","jetpack-protect")},{name:__("Brute force protection","jetpack-protect")},{name:__("Access to scan on Cloud","jetpack-protect")},{name:__("One-click auto fixes","jetpack-protect")},{name:__("Notifications","jetpack-protect")},{name:__("Severity labels","jetpack-protect")}]};return u().createElement(u().Fragment,null,u().createElement(a.ZP,I,u().createElement(a.oK,{primary:!0},u().createElement(a.NE,null,u().createElement(c.Z,{price:R,offPrice:j,leyend:__("/month, billed yearly","jetpack-protect"),currency:w,hideDiscountLabel:!1}),u().createElement(r.Z,{fullWidth:!0,onClick:P,isLoading:k,disabled:v||k},__("Get Jetpack Protect","jetpack-protect"))),u().createElement(a.kF,{isIncluded:!0,label:u().createElement("strong",null,__("Line by line malware scanning","jetpack-protect"))}),u().createElement(a.kF,{isIncluded:!0,label:u().createElement("strong",null,__("Plus on-demand manual scans","jetpack-protect"))}),u().createElement(a.kF,{isIncluded:!0,label:u().createElement("strong",null,__("Automatic protection and rule updates","jetpack-protect"))}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!0})),u().createElement(a.oK,null,u().createElement(a.NE,null,u().createElement(c.Z,{price:0,leyend:__("Free forever","jetpack-protect"),currency:w,hidePriceFraction:!0}),u().createElement(r.Z,{fullWidth:!0,variant:"secondary",onClick:x,isLoading:v,disabled:v||k,error:l?__("An error occurred. Please try again.","jetpack-protect"):null},__("Start for free","jetpack-protect"))),u().createElement(a.kF,{isIncluded:!0,label:__("Check items against database","jetpack-protect")}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!0,label:__("Manual rules only","jetpack-protect")}),u().createElement(a.kF,{isIncluded:!0}),u().createElement(a.kF,{isIncluded:!1}),u().createElement(a.kF,{isIncluded:!1}),u().createElement(a.kF,{isIncluded:!1}),u().createElement(a.kF,{isIncluded:!1}))))}},1233:function(e,t,n){"use strict";var a=n(5235),c=n.n(a),r=n(6067);t.Z=e=>{let{className:t,total:n=100,value:a}=e;if(null==a)return null;const i=Math.min(Math.round(a/n*100),100),o={width:`${i}%`};return React.createElement("div",{className:c()(t,r.Z["progress-bar"])},React.createElement("div",{className:r.Z["progress-bar__wrapper"]},React.createElement("div",{"aria-valuemax":n,"aria-valuemin":0,"aria-valuenow":Math.min(a,n),className:r.Z["progress-bar__bar"],role:"progressbar",style:o})),React.createElement("p",{className:r.Z["progress-bar__percent"]},`${i}%`))}},5800:function(e,t,n){"use strict";var a=n(6895),c=n(5106),r=n(526),i=n(857),o=n(8258),l=n(5736),s=n(9196),u=n.n(s),p=n(3898),m=n(6477),d=n(5773),h=n(9909),g=n(8383);const __=l.__,f=()=>{const{adminUrl:e,siteSuffix:t}=window.jetpackProtectInitialState||{},{run:n}=(0,o.Z)({productSlug:p.o,redirectUrl:e}),{recordEventHandler:l}=(0,m.Z)(),s=l("jetpack_protect_footer_get_scan_link_click",n),{hasRequiredPlan:h}=(0,d.Z)();if(h){const e=(0,a.Z)("jetpack-scan-dash",{site:t});return u().createElement("div",{className:g.Z["product-section"]},u().createElement(c.Dx,null,__("Get access to our Cloud","jetpack-protect")),u().createElement(c.ZP,{mb:3},__("With your Protect upgrade, you have free access to scan your site on our Cloud, so you can be aware and fix your threats even if your site goes down. ","jetpack-protect")),u().createElement(r.Z,{variant:"secondary",weight:"regular",href:e},__("Go to Cloud","jetpack-protect")))}return u().createElement("div",{className:g.Z["product-section"]},u().createElement(c.Dx,null,__("Advanced scan results","jetpack-protect")),u().createElement(c.ZP,{mb:3},__("Upgrade Jetpack Protect to get advanced scan tools, including one-click fixes for most threats and malware scanning.","jetpack-protect")),u().createElement(i.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:s}))},v=()=>{const{hasRequiredPlan:e}=(0,d.Z)();if(e){const e=(0,a.Z)("protect-footer-learn-more-scan");return u().createElement("div",{className:g.Z["info-section"]},u().createElement(c.Dx,null,__("Line-by-line scanning","jetpack-protect")),u().createElement(c.ZP,{mb:2},__("We actively review line-by-line of your site files to identify threats and vulnerabilities. Jetpack monitors millions of websites to keep your site secure all the time. ","jetpack-protect"),u().createElement(r.Z,{variant:"link",target:"_blank",weight:"regular",href:e},__("Learn more","jetpack-protect"))))}const t=(0,a.Z)("jetpack-protect-footer-learn-more");return u().createElement("div",{className:g.Z["info-section"]},u().createElement(c.Dx,null,__("Over 22,000 listed vulnerabilities","jetpack-protect")),u().createElement(c.ZP,{mb:3},__("Every day we check your plugin, theme, and WordPress versions against our 22,000 listed vulnerabilities powered by WPScan, an Automattic brand.","jetpack-protect")),u().createElement(r.Z,{variant:"link",isExternalLink:!0,href:t,weight:"regular"},__("Learn more","jetpack-protect")))};t.Z=()=>u().createElement(h.Z,{main:u().createElement(f,null),secondary:u().createElement(v,null),preserveSecondaryOnMobile:!0})},8686:function(e,t,n){"use strict";var a=n(216),c=n(3363),r=n(3846),i=n(5106),o=n(3329),l=n(5609),s=n(9818),u=n(5736),p=n(9196),m=n.n(p),d=n(6477),h=n(5773),g=n(4633),f=n(7267),v=n(4948),E=n(1233),k=n(5800),b=n(9909),y=n(4910),Z=n(5207),C=n(5983),_=n(61),w=n(8264),R=n(6165);const __=u.__;t.Z=()=>{const{lastChecked:e,currentStatus:t,errorCode:n,errorMessage:u,hasRequiredPlan:j}=(0,h.Z)(),{hasConnectionError:S}=(0,o.Z)(),{refreshStatus:N}=(0,s.useDispatch)(g.t),{statusIsFetching:P,scanIsUnavailable:x,status:I}=(0,s.useSelect)((e=>({statusIsFetching:e(g.t).getStatusIsFetching(),scanIsUnavailable:e(g.t).getScanIsUnavailable(),status:e(g.t).getStatus()}))),{currentProgress:M}=I;let T;if(T="error"===t||x?"error":e?"active":"in_progress",(0,R.Z)(),(0,w.Z)(),(0,p.useEffect)((()=>{P||"unavailable"!==I.status||x||N(!0)}),[P,I.status,N,x]),(0,d.Z)({pageViewEventName:"protect_admin",pageViewEventProperties:{check_status:T,has_plan:j}}),"error"===t||x){let e=u?`${u} (${n}).`:__("We are having problems scanning your site.","jetpack-protect");return e+=" "+__("Try again in a few minutes.","jetpack-protect"),m().createElement(f.Z,null,m().createElement(a.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(o.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(b.Z,{main:m().createElement("div",{className:_.Z["main-content"]},m().createElement(v.Z,{className:_.Z["alert-icon-wrapper"]}),m().createElement(i.H3,null,__("We’re having problems scanning your site","jetpack-protect")),m().createElement(i.ZP,null,e)),secondary:m().createElement("div",{className:_.Z.illustration},m().createElement("img",{src:C,alt:""})),preserveSecondaryOnMobile:!1})),m().createElement(k.Z,null))}return["scheduled","scanning","optimistically_scanning"].indexOf(I.status)>=0||!e?m().createElement(f.Z,null,m().createElement(a.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(o.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(b.Z,{main:m().createElement("div",{className:_.Z["main-content"]},m().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},m().createElement(r.Z,{className:_.Z["loading-content"]},m().createElement(l.Spinner,{style:{color:"black",marginTop:0,marginLeft:0}}),m().createElement("span",null,__("Scanning your site…","jetpack-protect"))),m().createElement(r.Z,null,m().createElement(i.H3,null,__("Your results will be ready soon","jetpack-protect")),null!==M&&M>=0&&m().createElement(E.Z,{value:M}),m().createElement(i.ZP,null,__("We are scanning for security threats from our more than 22,000 listed vulnerabilities, powered by WPScan. This could take a minute or two.","jetpack-protect"))))),secondary:m().createElement("div",{className:_.Z.illustration},m().createElement("img",{src:C,alt:""})),preserveSecondaryOnMobile:!1})),m().createElement(k.Z,null)):m().createElement(f.Z,null,m().createElement(a.Z,null,m().createElement(c.Z,{horizontalSpacing:0},S&&m().createElement(r.Z,{className:_.Z["connection-error-col"]},m().createElement(o.h,null)),m().createElement(r.Z,null,m().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),m().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},m().createElement(r.Z,null,m().createElement(y.Z,null)),m().createElement(r.Z,null,m().createElement(Z.Z,null)))),m().createElement(k.Z,null))}},8264:function(e,t,n){"use strict";var a=n(9818),c=n(9196),r=n(4633);t.Z=()=>{const{checkCredentials:e}=(0,a.useDispatch)(r.t),t=(0,a.useSelect)((e=>e(r.t).getCredentials()));(0,c.useEffect)((()=>{t||e()}),[e,t])}},6165:function(e,t,n){"use strict";var a=n(6989),c=n.n(a),r=n(9818),i=n(4769),o=n.n(i),l=n(9196),s=n(6477),u=n(4633);t.Z=()=>{const{recordEvent:e}=(0,s.Z)(),t=(0,r.useSelect)((e=>e(u.t).getStatus())),{setStatus:n,setStatusProgress:a,setStatusIsFetching:i,setScanIsUnavailable:p}=(0,r.useDispatch)(u.t);(0,l.useEffect)((()=>{let r;const l=e=>["scheduled","scanning"].indexOf(e)>=0,s=(e,t)=>!t&&"idle"===e,u=()=>new Promise(((e,t)=>{c()({path:"jetpack-protect/v1/status?hard_refresh=true",method:"GET"}).then((n=>{if(n?.error)throw n?.error_message;if(l(n?.status)||s(n?.status,n?.last_checked))return a(n?.current_progress),void(r=setTimeout((()=>{u().then((t=>e(t))).catch((e=>t(e)))}),1e4));e(n)})).catch((()=>{setTimeout((()=>{u().then((t=>e(t))).catch((e=>t(e)))}),5e3)}))}));if(l(t?.status)||s(t?.status,t?.lastChecked))return r=setTimeout((()=>{i(!0),u().then((t=>{p("unavailable"===t.status),n(o()(t)),e("jetpack_protect_scan_completed",{scan_status:t.status})})).finally((()=>{i(!1)}))}),1e4),()=>clearTimeout(r)}),[t?.status,t?.lastChecked,p,n,a,i,e])}},9909:function(e,t,n){"use strict";var a=n(2054),c=n(3363),r=n(3846),i=n(9196),o=n.n(i);t.Z=e=>{let{main:t,secondary:n,preserveSecondaryOnMobile:i=!1}=e;const[l,s]=(0,a.Z)(["sm","lg"]),u=!i&&l;return o().createElement(c.Z,{horizontalSpacing:0,horizontalGap:0,fluid:!1},!u&&o().createElement(o().Fragment,null,o().createElement(r.Z,{sm:12,md:4,lg:6},t),s&&o().createElement(r.Z,{lg:1}),o().createElement(r.Z,{sm:12,md:4,lg:5},n)),u&&o().createElement(r.Z,null,t))}},2251:function(e,t,n){"use strict";var a=n(5736),c=n(8131);const __=a.__,r=e=>e>=5?"is-critical":e>=3&&e<5?"is-high":"is-low";t.Z=e=>{let{severity:t}=e;return React.createElement("div",{className:`${c.Z["threat-severity-badge"]} ${c.Z[r(t)]}`},(e=>{const t=__("Critical","jetpack-protect"),n=__("High","jetpack-protect"),a=__("Low","jetpack-protect");return e>=5?t:e>=3&&e<5?n:a})(t))}},8959:function(e,t,n){"use strict";var a=n(5106),c=n(9307),r=n(5736),i=n(8911);const __=r.__;t.Z=()=>React.createElement(React.Fragment,null,React.createElement(a.ZP,{variant:"title-medium-semi-bold",mb:2},__("Enhanced protection","jetpack-protect")),React.createElement(a.ZP,{mb:2},__("Learn how you can execute Jetpack Firewall before WordPress initializes. This mode offers the most protection.","jetpack-protect")),React.createElement("ul",{className:i.Z.list},React.createElement("li",{className:i.Z["list-item"]},React.createElement(a.ZP,{variant:"body-small"},(0,c.createInterpolateElement)(__("To ensure the firewall can best protect your site, please update: auto_prepend_file PHP directive to point to wp-content/jetpack-waf/bootstrap.php Typically this is set either in an .htaccess file or in the global PHP configuration; contact your host for further assistance.","jetpack-protect"),{mark:React.createElement("mark",{className:i.Z.mark})}))),React.createElement("li",{className:i.Z["list-item"]},React.createElement(a.ZP,{variant:"body-small"},__("Don't forget to undo this action when Firewall is turned off, or when you uninstall Jetpack.","jetpack-protect")))))},4910:function(e,t,n){"use strict";var a=n(3396),c=n(3363),r=n(3846),i=n(5106),o=n(526),l=n(9818),s=n(9771),u=n(5736),p=n(9196),m=n.n(p),d=n(5773),h=n(4633),g=n(291),f=n(6561);const __=u.__;t.Z=()=>{const{numThreats:e,lastChecked:t,hasRequiredPlan:n}=(0,d.Z)(),p=(0,l.useSelect)((e=>e(h.t).getNotice())),v=(0,l.useSelect)((e=>e(h.t).getScanIsEnqueuing())),{scan:E}=(0,l.useDispatch)(h.t),k=(0,a.VS)("protect");return m().createElement(c.Z,{fluid:!0},m().createElement(r.Z,null,m().createElement("div",{className:f.Z.summary},m().createElement("div",null,m().createElement(i.Dx,{size:"small",className:f.Z.summary__title},m().createElement(k,{size:32,className:f.Z.summary__icon}),(0,u.sprintf)(/* translators: %s: Latest check date */ +__("Latest results as of %s","jetpack-protect"),(0,s.dateI18n)("F jS",t))),e>0&&m().createElement(i.ZP,{variant:"headline-small",component:"h1"},(0,u.sprintf)(/* translators: %s: Total number of threats */ +__("%1$s %2$s found","jetpack-protect"),e,1===e?"threat":"threats"))),m().createElement("div",{className:f.Z.summary__notice},p&&p.message&&m().createElement(g.Z,p)),n&&0===e&&m().createElement(o.Z,{variant:"secondary",className:f.Z["summary__scan-button"],isLoading:v,onClick:e=>{e.preventDefault(),E()}},__("Scan now","jetpack-protect")))))}},3324:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var a=n(554),c=n(5714);const r=e=>{let{label:t,link:n}=e;return React.createElement(a.OL,{to:n,className:e=>{let{isActive:t}=e;return t?`${c.Z.tab} ${c.Z["tab--active"]}`:c.Z.tab}},t)};t.Z=e=>{let{children:t,className:n=""}=e;return React.createElement("nav",{className:`${c.Z.tabs} ${n}`},t)}},9265:function(e,t,n){"use strict";var a=n(8063);t.Z=e=>{let{disabled:t=!1,id:n,label:c="",description:r="",placeholder:i="",rows:o=3,value:l="",onChange:s=(()=>{})}=e;return React.createElement("div",null,Boolean(c)&&React.createElement("label",{className:a.Z.label,htmlFor:n},c),Boolean(r)&&r,React.createElement("textarea",{className:a.Z.textarea,disabled:t,placeholder:i,rows:o,id:n,name:n,onChange:s,value:l||""}))}},8891:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var a=n(5106),c=n(5736),r=n(1074),i=n(9196),o=n.n(i),l=n(2251),s=n(9971);const __=c.__,u=e=>{switch(e.fixer){case"replace":return __("Jetpack Scan will replace the affected file or directory.","jetpack-protect");case"delete":return __("Jetpack Scan will delete the affected file or directory.","jetpack-protect");case"update":return e.target?(0,c.sprintf)(/* translators: %s: Version that the plugin will be upgraded to */ __("Jetpack Scan will update to a newer version %s.","jetpack-protect"),e.target):__("Jetpack Scan will update to a newer version.","jetpack-protect");case"edit":return __("Jetpack Scan will edit the affected file or directory.","jetpack-protect");case"rollback":return e.target?(0,c.sprintf)(/* translators: %s: Version that the plugin will be upgraded to */ -__("Jetpack Scan will rollback the affected file to the version from %s.","jetpack-protect"),e.target):__("Jetpack Scan will rollback the affected file to an older (clean) version.","jetpack-protect");default:return __("Jetpack Scan will resolve the threat.","jetpack-protect")}};function u(e){let{threat:t,fixAllDialog:a,onCheckFix:c}=e;const[u,m]=(0,i.useState)(!0),d=(0,i.useCallback)((e=>{m(e.target.checked),c(e.target.checked,t)}),[c,t]);return l().createElement(l().Fragment,null,l().createElement("div",{className:s.Z.threat},l().createElement(r.Z,{icon:t.icon,className:s.Z.threat__icon}),l().createElement("div",{className:s.Z.threat__summary},l().createElement(n.ZP,{className:s.Z.threat__summary__label,mb:1},t.label),l().createElement(n.ZP,{className:s.Z.threat__summary__title},p(t.fixable))),l().createElement("div",{className:s.Z.threat__severity},l().createElement(o.Z,{severity:t.severity})),a&&l().createElement("div",{className:s.Z.threat__checkbox},l().createElement("input",{type:"checkbox",checked:u,onChange:d,value:t.id}))))}},5658:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(5106),c=a(9307),r=a(5736),i=a(9196),l=a(5773),o=a(9709);const __=r.__,_n=r._n,s=()=>React.createElement("svg",{width:"80",height:"96",viewBox:"0 0 80 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 0.00634766L80 17.7891V44.2985C80 66.8965 65.1605 88.2927 44.2352 95.0425C41.4856 95.9295 38.5144 95.9295 35.7648 95.0425C14.8395 88.2927 0 66.8965 0 44.2985V17.7891L40 0.00634766Z",fill:"#069E08"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.9 33.6909L35.375 67.9124L19.2047 55.9263L22.7848 51.1264L34.1403 59.5436L56.0851 30.122L60.9 33.6909Z",fill:"white"})),p=()=>{const{lastChecked:e}=(0,l.Z)(),t=(0,i.useMemo)((()=>e?(e=>{const t=new Date,a=6e4*t.getTimezoneOffset(),n=Math.floor((new Date(t.getTime()+a).getTime()-e)/1e3);let c=n/31536e3;return c>1?(0,r.sprintf)( +__("Jetpack Scan will rollback the affected file to the version from %s.","jetpack-protect"),e.target):__("Jetpack Scan will rollback the affected file to an older (clean) version.","jetpack-protect");default:return __("Jetpack Scan will resolve the threat.","jetpack-protect")}};function p(e){let{threat:t,fixAllDialog:n,onCheckFix:c}=e;const[p,m]=(0,i.useState)(!0),d=(0,i.useCallback)((e=>{m(e.target.checked),c(e.target.checked,t)}),[c,t]);return o().createElement(o().Fragment,null,o().createElement("div",{className:s.Z.threat},o().createElement(r.Z,{icon:t.icon,className:s.Z.threat__icon}),o().createElement("div",{className:s.Z.threat__summary},o().createElement(a.ZP,{className:s.Z.threat__summary__label,mb:1},t.label),o().createElement(a.ZP,{className:s.Z.threat__summary__title},u(t.fixable))),o().createElement("div",{className:s.Z.threat__severity},o().createElement(l.Z,{severity:t.severity})),n&&o().createElement("div",{className:s.Z.threat__checkbox},o().createElement("input",{type:"checkbox",checked:p,onChange:d,value:t.id}))))}},5658:function(e,t,n){"use strict";var a=n(5106),c=n(9307),r=n(5736),i=n(9196),o=n(5773),l=n(9709);const __=r.__,_n=r._n,s=()=>React.createElement("svg",{width:"80",height:"96",viewBox:"0 0 80 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 0.00634766L80 17.7891V44.2985C80 66.8965 65.1605 88.2927 44.2352 95.0425C41.4856 95.9295 38.5144 95.9295 35.7648 95.0425C14.8395 88.2927 0 66.8965 0 44.2985V17.7891L40 0.00634766Z",fill:"#069E08"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.9 33.6909L35.375 67.9124L19.2047 55.9263L22.7848 51.1264L34.1403 59.5436L56.0851 30.122L60.9 33.6909Z",fill:"white"}));t.Z=()=>{const{lastChecked:e}=(0,o.Z)(),t=(0,i.useMemo)((()=>e?(e=>{const t=new Date,n=6e4*t.getTimezoneOffset(),a=Math.floor((new Date(t.getTime()+n).getTime()-e)/1e3);let c=a/31536e3;return c>1?(0,r.sprintf)( // translators: placeholder is a number amount of years i.e. "5 years ago". -_n("%s year ago","%s years ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=n/2592e3,c>1?(0,r.sprintf)( +_n("%s year ago","%s years ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=a/2592e3,c>1?(0,r.sprintf)( // translators: placeholder is a number amount of months i.e. "5 months ago". -_n("%s month ago","%s months ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=n/86400,c>1?(0,r.sprintf)( +_n("%s month ago","%s months ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=a/86400,c>1?(0,r.sprintf)( // translators: placeholder is a number amount of days i.e. "5 days ago". -_n("%s day ago","%s days ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=n/3600,c>1?(0,r.sprintf)( +_n("%s day ago","%s days ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=a/3600,c>1?(0,r.sprintf)( // translators: placeholder is a number amount of hours i.e. "5 hours ago". -_n("%s hour ago","%s hours ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=n/60,c>1?(0,r.sprintf)( +_n("%s hour ago","%s hours ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):(c=a/60,c>1?(0,r.sprintf)( // translators: placeholder is a number amount of minutes i.e. "5 minutes ago". -_n("%s minute ago","%s minutes ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):__("a few seconds ago","jetpack-protect")))))})(Date.parse(e)):null),[e]);return React.createElement("div",{className:o.Z.empty},React.createElement(s,null),React.createElement(n.H3,{weight:"bold",mt:8},__("Don't worry about a thing","jetpack-protect")),React.createElement(n.ZP,null,(0,c.createInterpolateElement)((0,r.sprintf)( +_n("%s minute ago","%s minutes ago",Math.floor(c),"jetpack-protect"),Math.floor(c)):__("a few seconds ago","jetpack-protect")))))})(Date.parse(e)):null),[e]);return React.createElement("div",{className:l.Z.empty},React.createElement(s,null),React.createElement(a.H3,{weight:"bold",mt:8},__("Don't worry about a thing","jetpack-protect")),React.createElement(a.ZP,null,(0,c.createInterpolateElement)((0,r.sprintf)( // translators: placeholder is the amount of time since the last scan, i.e. "5 minutes ago". -__("The last Protect scan ran %s and everything looked great.","jetpack-protect"),t),{strong:React.createElement("strong",null)})))}},2831:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(526),c=a(5106),r=a(857),i=a(8258),l=a(5736),o=a(9196),s=a.n(o),p=a(3898),u=a(6477),m=a(3584),d=a(9709);const __=l.__,h=e=>{let{description:t,filename:a,fixedIn:h,icon:g,id:f,name:v,source:E,table:k,title:b,type:y,version:Z}=e;const{adminUrl:C}=window.jetpackProtectInitialState||{},{run:_}=(0,i.Z)({productSlug:p.o,redirectUrl:C}),{recordEventHandler:w}=(0,u.Z)(),R=w("jetpack_protect_threat_list_get_scan_link_click",_),j=E?s().createElement(n.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:E},__("See more technical details of this threat","jetpack-protect")):null,S=(0,o.useCallback)((()=>v&&Z?`${v} (${Z})`:a?a.split("/").pop():k||void 0),[a,v,k,Z]);return s().createElement(m.U,{id:f,label:S(),title:b,icon:g,onOpen:(0,o.useCallback)((()=>{["core","plugin","theme"].includes(y)&&w(`jetpack_protect_${y}_threat_open`)}),[w,y])},t&&s().createElement("div",{className:d.Z["threat-section"]},s().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),s().createElement(c.ZP,{mb:2},t),j),h&&s().createElement("div",{className:d.Z["threat-section"]},s().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),s().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ -(0,l.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),v,h)),s().createElement(r.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:R,className:d.Z["threat-item-cta"]})),!t&&s().createElement("div",{className:d.Z["threat-section"]},j))},g=e=>{let{list:t}=e;return s().createElement(m.Z,null,t.map((e=>{let{description:t,fixedIn:a,icon:n,id:c,name:r,source:i,table:l,title:o,type:p,version:u}=e;return s().createElement(h,{description:t,fixedIn:a,icon:n,id:c,key:c,name:r,source:i,table:l,title:o,type:p,version:u})})))}},5207:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(3363),c=a(3846),r=a(5106),i=a(526),l=a(9818),o=a(5736),s=a(9196),p=a.n(s),u=a(5773),m=a(4633),d=a(5658),h=a(2831),g=a(4289),f=a(1400),v=a(9709),E=a(7930);const __=o.__,k=()=>{const{hasRequiredPlan:e}=(0,u.Z)(),{item:t,list:a,selected:k,setSelected:b}=(0,E.Z)(),y=a.filter((e=>e.fixable)),{setModal:Z}=(0,l.useDispatch)(m.t),{scan:C}=(0,l.useDispatch)(m.t),_=(0,l.useSelect)((e=>e(m.t).getScanIsEnqueuing())),w=(0,s.useCallback)((()=>{switch(k){case"all":return 1===a.length?__("All threats","jetpack-protect"):(0,o.sprintf)(/* translators: placeholder is the amount of threats found on the site. */ -__("All %s threats","jetpack-protect"),a.length);case"files":return(0,o.sprintf)(/* translators: placeholder is the amount of file threats found on the site. */ -__("%1$s file %2$s","jetpack-protect"),a.length,1===a.length?"threat":"threats");case"database":return(0,o.sprintf)(/* translators: placeholder is the amount of database threats found on the site. */ -__("%1$s database %2$s","jetpack-protect"),a.length,1===a.length?"threat":"threats");default:return(0,o.sprintf)(/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ -__("%1$s %2$s in your %3$s %4$s","jetpack-protect"),a.length,1===a.length?"threat":"threats",t?.name,t?.version)}}),[k,a,t]);return p().createElement(n.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:3},p().createElement(c.Z,{lg:4},p().createElement(g.Z,{selected:k,onSelect:b})),p().createElement(c.Z,{lg:8},a?.length>0?p().createElement(p().Fragment,null,p().createElement("div",{className:v.Z["list-header"]},p().createElement(r.Dx,{className:v.Z["list-title"]},w()),e&&p().createElement(p().Fragment,null,y.length>0&&p().createElement(i.Z,{variant:"primary",className:v.Z["list-header-button"],onClick:(R=y,e=>{e.preventDefault(),Z({type:"FIX_ALL_THREATS",props:{threatList:R}})})},/* translators: Translates to Auto fix all. $s: Number of fixable threats. */ -(0,o.sprintf)(__("Auto fix all (%s)","jetpack-protect"),y.length)),p().createElement(i.Z,{variant:"secondary",className:v.Z["list-header-button"],isLoading:_,onClick:e=>{e.preventDefault(),C()}},__("Scan now","jetpack-protect")))),e?p().createElement(f.Z,{list:a}):p().createElement(h.Z,{list:a})):p().createElement(d.Z,null)));var R}},4289:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(2054),c=a(5736),r=a(797),i=a(2817),l=a(7663),o=a(8960),s=a(4160),p=a(6376),u=a(9196),m=a(6477),d=a(5773),h=a(5338);const __=c.__,g=e=>{let{selected:t,onSelect:a}=e;const{plugins:c,themes:g,numThreats:f,numCoreThreats:v,numFilesThreats:E,numDatabaseThreats:k,hasRequiredPlan:b}=(0,d.Z)(),{recordEvent:y}=(0,m.Z)(),[Z]=(0,n.Z)("lg","<"),C=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_all_click")}),[y]),_=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_core_click")}),[y]),w=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_plugin_click")}),[y]),R=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_theme_click")}),[y]),j=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_file_click")}),[y]),S=(0,u.useCallback)((()=>{y("jetpack_protect_navigation_database_click")}),[y]);return React.createElement(h.ZP,{selected:t,onSelect:a,mode:Z?"dropdown":"list"},React.createElement(h.Dx,{initial:!0,id:"all",label:__("All threats","jetpack-protect"),icon:r.Z,badge:f,disabled:f<=0,onClick:C,checked:!0}),React.createElement(h.Dx,{id:"wordpress",label:__("WordPress","jetpack-protect"),icon:i.Z,badge:v,disabled:v<=0,onClick:_,checked:!0}),React.createElement(h.KB,{label:__("Plugins","jetpack-protect"),icon:l.Z},c.map((e=>{let{name:t,threats:a,checked:n}=e;return React.createElement(h.Dx,{key:t,id:t,label:t,checked:n,badge:a?.length,disabled:a?.length<=0,onClick:w})}))),React.createElement(h.KB,{label:__("Themes","jetpack-protect"),icon:o.Z},g.map((e=>{let{name:t,threats:a,checked:n}=e;return React.createElement(h.Dx,{key:t,id:t,label:t,checked:n,badge:a?.length,disabled:a?.length<=0,onClick:R})}))),b&&React.createElement(React.Fragment,null,React.createElement(h.Dx,{id:"files",label:__("Files","jetpack-protect"),icon:s.Z,badge:E,disabled:E<=0,onClick:j,checked:!0}),React.createElement(h.Dx,{id:"database",label:__("Database","jetpack-protect"),icon:p.Z,badge:k,disabled:k<=0,onClick:S,checked:!0})))}},1400:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(526),c=a(5106),r=a(2054),i=a(9818),l=a(9307),o=a(5736),s=a(9196),p=a.n(s),u=a(6477),m=a(4633),d=a(7127),h=a(4257),g=a(289),f=a(9709);const __=o.__,v=e=>{let{context:t,description:a,diff:r,filename:l,fixedIn:v,icon:E,fixable:k,id:b,label:y,name:Z,source:C,title:_,type:w,severity:R}=e;const{setModal:j}=(0,i.useDispatch)(m.t),{recordEvent:S}=(0,u.Z)(),N=C?p().createElement(n.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:C},__("See more technical details of this threat","jetpack-protect")):null;return p().createElement(g.c,{id:b,label:y,title:_,icon:E,fixable:k,severity:R,onOpen:(0,s.useCallback)((()=>{["core","plugin","theme","file","database"].includes(w)&&S(`jetpack_protect_${w}_threat_open`)}),[S,w])},a&&p().createElement("div",{className:f.Z["threat-section"]},p().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),p().createElement(c.ZP,{mb:2},a),N),(l||t||r)&&p().createElement(c.ZP,{variant:"title-small",mb:2},__("The technical details","jetpack-protect")),l&&p().createElement(p().Fragment,null,p().createElement(c.ZP,{mb:2},/* translators: filename follows in separate line; e.g. "PHP.Injection.5 in: `post.php`" */ -__("Threat found in file:","jetpack-protect")),p().createElement("pre",{className:f.Z["threat-filename"]},l)),t&&p().createElement(h.Z,{context:t}),r&&p().createElement(d.C,{diff:r}),v&&p().createElement("div",{className:f.Z["threat-section"]},p().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),p().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ -(0,o.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),Z,v))),!a&&p().createElement("div",{className:f.Z["threat-section"]},N),p().createElement("div",{className:f.Z["threat-footer"]},p().createElement(n.Z,{isDestructive:!0,variant:"secondary",onClick:e=>{e.preventDefault(),j({type:"IGNORE_THREAT",props:{id:b,label:y,title:_,icon:E,severity:R}})}},__("Ignore threat","jetpack-protect")),k&&p().createElement(n.Z,{onClick:e=>{e.preventDefault(),j({type:"FIX_THREAT",props:{id:b,label:y,title:_,icon:E,severity:R,fixable:k}})}},__("Fix threat","jetpack-protect"))))},E=e=>{let{list:t}=e;const{scan:a}=(0,i.useDispatch)(m.t),o=(0,l.createInterpolateElement)(__("If you have manually fixed any of the threats listed above, you can run a manual scan now or wait for Jetpack to scan your site later today.","jetpack-protect"),{manualScanLink:p().createElement(n.Z,{variant:"link",onClick:e=>{e.preventDefault(),a()}})}),[s]=(0,r.Z)(["sm","lg"],[null,"<"]),u=e=>e.name&&e.version?`${e.name} (${e.version})`:e.filename?e.filename.split("/").pop():e.table?e.table:void 0;return t=t.map((e=>({label:u(e),...e}))),p().createElement(p().Fragment,null,!s&&p().createElement("div",{className:f.Z["accordion-heading"]},p().createElement("span",null,__("Details","jetpack-protect")),p().createElement("span",null,__("Severity","jetpack-protect")),p().createElement("span",null,__("Auto-fix","jetpack-protect")),p().createElement("span",null)),p().createElement(g.Z,null,t.map((e=>{let{context:t,description:a,diff:n,filename:c,fixedIn:r,icon:i,fixable:l,id:o,label:s,name:u,severity:m,source:d,table:h,title:g,type:f,version:E}=e;return p().createElement(v,{context:t,description:a,diff:n,filename:c,fixedIn:r,icon:i,fixable:l,id:o,key:o,label:s,name:u,severity:m,source:d,table:h,title:g,type:f,version:E})}))),p().createElement(c.ZP,{className:f.Z["manual-scan"],variant:"body-small"},o))}},7930:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(2817),c=a(4160),r=a(6376),i=a(7663),l=a(8960),o=a(9196),s=a(5773);const p=(e,t)=>t.severity-e.severity,u=(e,t)=>Array.isArray(e)?e.map((e=>u(e,t))).flat():e?.threats.map((a=>({...a,...e,...t}))),m=()=>{const{plugins:e,themes:t,core:a,files:m,database:d}=(0,s.Z)(),[h,g]=(0,o.useState)("all"),{unsortedList:f,item:v}=(0,o.useMemo)((()=>{if(h&&"all"!==h){switch(h){case"wordpress":return{unsortedList:u(a,{icon:n.Z}),item:a};case"files":return{unsortedList:u(m,{icon:c.Z}),item:m};case"database":return{unsortedList:u(d,{icon:r.Z}),item:d}}const o=e.find((e=>e?.name===h));if(o)return{unsortedList:u(o,{icon:i.Z}),item:o};const s=t.find((e=>e?.name===h));if(s)return{unsortedList:u(s,{icon:l.Z}),item:s}}return{unsortedList:[...u(a,{icon:n.Z}),...u(e,{icon:i.Z}),...u(t,{icon:l.Z}),...u(m,{icon:c.Z}),...u(d,{icon:r.Z})],item:null}}),[a,d,m,e,h,t]);return{item:v,list:(0,o.useMemo)((()=>f.sort(p)),[f]),selected:h,setSelected:g}}},2854:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(1294),c=a(8227);const r=e=>{let{children:t}=e;const{isUserConnected:a,hasConnectedOwner:r}=(0,n.Z)();return a&&r?t:React.createElement(c.Z,null)}},8227:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5106),c=a(526),r=a(1294),i=a(9818),l=a(5736),o=a(4633),s=a(291),p=a(541);const __=l.__,u=()=>{const{setModal:e}=(0,i.useDispatch)(o.t),{userIsConnecting:t,handleConnectUser:a}=(0,r.Z)({redirectUri:"admin.php?page=jetpack-protect"});return React.createElement(React.Fragment,null,React.createElement(n.ZP,{variant:"title-medium",mb:2},__("User connection needed","jetpack-protect")),React.createElement(s.Z,{type:"info",message:__("Before Jetpack Protect can ignore and auto-fix threats on your site, a user connection is needed.","jetpack-protect")}),React.createElement(n.ZP,{mb:3},__("A user connection provides Jetpack Protect the access necessary to perform these tasks.","jetpack-protect")),React.createElement(n.ZP,{mb:3},__("Once you’ve secured a user connection, all Jetpack Protect features will be available for use.","jetpack-protect")),React.createElement("div",{className:p.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:t=>{t.preventDefault(),e({type:null})}},__("Not now","jetpack-protect")),React.createElement(c.Z,{isExternalLink:!0,weight:"regular",isLoading:t,onClick:a},__("Connect your user account","jetpack-protect"))))}},3898:(e,t,a)=>{"use strict";a.d(t,{K:()=>n,o:()=>c});const n="https://wordpress.org/support/plugin/jetpack-protect/",c="jetpack_scan"},6477:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(6975),c=a(1294),r=a(9196);const i=function(){let{pageViewEventName:e,pageViewNamespace:t="jetpack",pageViewSuffix:a="page_view",pageViewEventProperties:i={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{isUserConnected:l,isRegistered:o,userConnectionData:s}=(0,c.Z)(),{login:p,ID:u}=s.currentUser?.wpcomUser||{},{tracks:m}=n.Z,{recordEvent:d}=m,h=(0,r.useCallback)((async(e,t)=>{d(e,t)}),[d]),g=(0,r.useCallback)((function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return a="function"==typeof t?t:a,t="function"==typeof t?{}:t,()=>h(e,t).then(a)}),[h]);(0,r.useEffect)((()=>{l&&u&&p&&n.Z.initialize(u,p)}),[l,u,p]);const f=e?`${t}_${e}_${a}`:null;return(0,r.useEffect)((()=>{o&&f&&d(f,i)}),[]),{recordEvent:h,recordEventHandler:g}}},5773:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(9818),c=a(9196),r=a(4633);function i(){const{statusIsFetching:e,status:t,jetpackScan:a,hasRequiredPlan:i}=(0,n.useSelect)((e=>({statusIsFetching:e(r.t).getStatusIsFetching(),status:e(r.t).getStatus(),jetpackScan:e(r.t).getJetpackScan(),hasRequiredPlan:e(r.t).hasRequiredPlan()})));let l="error";!0===e?l="loading":t.status&&(l=t.status);const o=(0,c.useMemo)((()=>t.core?.threats?.length||0),[t.core]),s=(0,c.useMemo)((()=>(t.plugins||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.plugins]),p=(0,c.useMemo)((()=>(t.themes||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.themes]),u=(0,c.useMemo)((()=>t.files?.length||0),[t.files]),m=(0,c.useMemo)((()=>t.database?.length||0),[t.database]);return{numThreats:o+s+p+u+m,numCoreThreats:o,numPluginsThreats:s,numThemesThreats:p,numFilesThreats:u,numDatabaseThreats:m,lastChecked:t.lastChecked||null,errorCode:t.errorCode||null,errorMessage:t.errorMessage||null,core:t.core||{},plugins:t.plugins||[],themes:t.themes||[],files:{threats:t.files||[]},database:{threats:t.database||[]},currentStatus:l,hasUncheckedItems:t.hasUncheckedItems,jetpackScan:a,hasRequiredPlan:i}}},8963:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(9818),c=a(9196),r=a(1827),i=a(4633);const l=()=>{const{setWafConfig:e,setWafStats:t,setWafIsEnabled:a,setWafIsUpdating:l,setWafIsToggling:o}=(0,n.useDispatch)(i.t),s=(0,n.useSelect)((e=>e(i.t).getWaf())),p=(0,c.useCallback)((()=>(l(!0),r.Z.fetchWaf().then((n=>{a(n?.isEnabled),e(n?.config),t(n?.stats)})).finally((()=>l(!1))))),[e,t,a,l]),u=(0,c.useCallback)((()=>(s.isEnabled||o(!0),l(!0),r.Z.toggleWaf().then(p).finally((()=>{o(!1),l(!1)})))),[p,s.isEnabled,o,l]),m=(0,c.useCallback)((()=>s.isEnabled?Promise.resolve():u()),[u,s.isEnabled]),d=(0,c.useCallback)((()=>(l(!0),m().then((()=>r.Z.updateWaf({jetpack_waf_automatic_rules:!s.config.jetpackWafAutomaticRules}))).then(p).finally((()=>l(!1))))),[m,p,l,s.config.jetpackWafAutomaticRules]),h=(0,c.useCallback)((()=>(l(!0),r.Z.updateWaf({jetpack_waf_ip_list:!s.config.jetpackWafIpList}).then(p).finally((()=>l(!1))))),[p,l,s.config.jetpackWafIpList]),g=(0,c.useCallback)((()=>(l(!0),r.Z.updateWaf({brute_force_protection:!s.config.bruteForceProtection}).then(p).finally((()=>l(!1))))),[p,l,s.config.bruteForceProtection]),f=(0,c.useCallback)((()=>(l(!0),m().then((()=>r.Z.updateWaf({jetpack_waf_share_data:!s.config.jetpackWafShareData}))).then(p).finally((()=>l(!1))))),[m,p,l,s.config.jetpackWafShareData]),v=(0,c.useCallback)((e=>(l(!0),r.Z.updateWaf(e).then(p).finally((()=>l(!1))))),[p,l]);return(0,c.useEffect)((()=>{void 0!==s.config||s.isFetching||p()}),[s.config,s.isFetching,l,p]),{...s,refreshWaf:p,toggleWaf:u,toggleAutomaticRules:d,toggleManualRules:h,toggleBruteForceProtection:g,toggleShareData:f,updateConfig:v}}},5230:(e,t,a)=>{"use strict";a.d(t,{BZ:()=>y,Gk:()=>d,Oc:()=>N,Ot:()=>S,PF:()=>P,P_:()=>E,RR:()=>f,Rj:()=>R,U2:()=>v,VF:()=>C,Xm:()=>b,Y2:()=>m,ZP:()=>$,_N:()=>o,d0:()=>p,dG:()=>_,eG:()=>h,hI:()=>g,i0:()=>Z,jA:()=>s,kd:()=>j,l:()=>I,o9:()=>u,r0:()=>w,tu:()=>k,y:()=>x});var n=a(6989),c=a.n(n),r=a(5736),i=a(4769),l=a.n(i);const _n=r._n,__=r.__,o="SET_CREDENTIALS_STATE_IS_FETCHING",s="SET_CREDENTIALS_STATE",p="SET_STATUS",u="SET_STATUS_PROGRESS",m="START_SCAN_OPTIMISTICALLY",d="SET_STATUS_IS_FETCHING",h="SET_SCAN_IS_UNAVAILABLE",g="SET_SCAN_IS_ENQUEUING",f="SET_INSTALLED_PLUGINS",v="SET_INSTALLED_THEMES",E="SET_WP_VERSION",k="SET_JETPACK_SCAN",b="SET_THREAT_IS_UPDATING",y="SET_THREATS_ARE_FIXING",Z="SET_MODAL",C="SET_NOTICE",_="CLEAR_NOTICE",w="SET_HAS_REQUIRED_PLAN",R="SET_WAF_IS_SEEN",j="SET_WAF_UPGRADE_IS_SEEN",S="SET_WAF_IS_ENABLED",N="SET_WAF_IS_UPDATING",P="SET_WAF_IS_TOGGLING",x="SET_WAF_CONFIG",I="SET_WAF_STATS",M=e=>({type:p,status:e}),T=()=>({type:m}),L=e=>c()({path:"jetpack-protect/v1/status"+(e?"?hard_refresh=true":""),method:"GET"}),z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return async t=>{let{dispatch:a}=t;return a(V(!0)),await new Promise(((t,n)=>L(e).then(A).then((e=>{a(D("unavailable"===e.status)),a(M(l()(e))),t(e)})).catch((e=>{n(e)})).finally((()=>{a(V(!1))}))))}},A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise(((a,n)=>{"unavailable"===e.status&&t<3?L(!0).then((e=>{setTimeout((()=>{A(e,t+1).then((e=>a(e))).catch((e=>n(e)))}),5e3)})).catch(n):a(e)}))},F=e=>({type:o,isFetching:e}),O=e=>({type:s,credentials:e}),V=e=>({type:d,status:e}),D=e=>({type:h,status:e}),U=e=>({type:g,isEnqueuing:e}),H=(e,t)=>({type:b,payload:{threatId:e,isUpdating:t}}),B=e=>({type:y,threatIds:e}),W=e=>async t=>{let{dispatch:a}=t;const n=e.reduce(((e,t)=>`${e}threat_ids[]=${t}&`),"jetpack-protect/v1/fix-threats-status?");return a(B(e)),await c()({path:n,method:"GET"}).then((async t=>{const n=Object.values(t.threats);if(n.filter((e=>"in_progress"===e.status)).length>0)return await new Promise((()=>{setTimeout((()=>{a(W(e))}),1e3)}));if(!n.filter((e=>"fixed"===e.status)).length===e.length)throw"Not all threats could be fixed."})).then((()=>{a(z()),a(J({type:"success",message:(0,r.sprintf)( +__("The last Protect scan ran %s and everything looked great.","jetpack-protect"),t),{strong:React.createElement("strong",null)})))}},2831:function(e,t,n){"use strict";var a=n(526),c=n(5106),r=n(857),i=n(8258),o=n(5736),l=n(9196),s=n.n(l),u=n(3898),p=n(6477),m=n(3584),d=n(9709);const __=o.__,h=e=>{let{description:t,filename:n,fixedIn:h,icon:g,id:f,name:v,source:E,table:k,title:b,type:y,version:Z}=e;const{adminUrl:C}=window.jetpackProtectInitialState||{},{run:_}=(0,i.Z)({productSlug:u.o,redirectUrl:C}),{recordEventHandler:w}=(0,p.Z)(),R=w("jetpack_protect_threat_list_get_scan_link_click",_),j=E?s().createElement(a.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:E},__("See more technical details of this threat","jetpack-protect")):null,S=(0,l.useCallback)((()=>v&&Z?`${v} (${Z})`:n?n.split("/").pop():k||void 0),[n,v,k,Z]);return s().createElement(m.U,{id:f,label:S(),title:b,icon:g,onOpen:(0,l.useCallback)((()=>{["core","plugin","theme"].includes(y)&&w(`jetpack_protect_${y}_threat_open`)}),[w,y])},t&&s().createElement("div",{className:d.Z["threat-section"]},s().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),s().createElement(c.ZP,{mb:2},t),j),h&&s().createElement("div",{className:d.Z["threat-section"]},s().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),s().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ +(0,o.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),v,h)),s().createElement(r.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:R,className:d.Z["threat-item-cta"]})),!t&&s().createElement("div",{className:d.Z["threat-section"]},j))};t.Z=e=>{let{list:t}=e;return s().createElement(m.Z,null,t.map((e=>{let{description:t,fixedIn:n,icon:a,id:c,name:r,source:i,table:o,title:l,type:u,version:p}=e;return s().createElement(h,{description:t,fixedIn:n,icon:a,id:c,key:c,name:r,source:i,table:o,title:l,type:u,version:p})})))}},5207:function(e,t,n){"use strict";var a=n(3363),c=n(3846),r=n(5106),i=n(526),o=n(9818),l=n(5736),s=n(9196),u=n.n(s),p=n(5773),m=n(4633),d=n(5658),h=n(2831),g=n(4289),f=n(1400),v=n(9709),E=n(7930);const __=l.__;t.Z=()=>{const{hasRequiredPlan:e}=(0,p.Z)(),{item:t,list:n,selected:k,setSelected:b}=(0,E.Z)(),y=n.filter((e=>e.fixable)),{setModal:Z}=(0,o.useDispatch)(m.t),{scan:C}=(0,o.useDispatch)(m.t),_=(0,o.useSelect)((e=>e(m.t).getScanIsEnqueuing())),w=(0,s.useCallback)((()=>{switch(k){case"all":return 1===n.length?__("All threats","jetpack-protect"):(0,l.sprintf)(/* translators: placeholder is the amount of threats found on the site. */ +__("All %s threats","jetpack-protect"),n.length);case"files":return(0,l.sprintf)(/* translators: placeholder is the amount of file threats found on the site. */ +__("%1$s file %2$s","jetpack-protect"),n.length,1===n.length?"threat":"threats");case"database":return(0,l.sprintf)(/* translators: placeholder is the amount of database threats found on the site. */ +__("%1$s database %2$s","jetpack-protect"),n.length,1===n.length?"threat":"threats");default:return(0,l.sprintf)(/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ +__("%1$s %2$s in your %3$s %4$s","jetpack-protect"),n.length,1===n.length?"threat":"threats",t?.name,t?.version)}}),[k,n,t]);return u().createElement(a.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:3},u().createElement(c.Z,{lg:4},u().createElement(g.Z,{selected:k,onSelect:b})),u().createElement(c.Z,{lg:8},n?.length>0?u().createElement(u().Fragment,null,u().createElement("div",{className:v.Z["list-header"]},u().createElement(r.Dx,{className:v.Z["list-title"]},w()),e&&u().createElement(u().Fragment,null,y.length>0&&u().createElement(i.Z,{variant:"primary",className:v.Z["list-header-button"],onClick:(R=y,e=>{e.preventDefault(),Z({type:"FIX_ALL_THREATS",props:{threatList:R}})})},/* translators: Translates to Auto fix all. $s: Number of fixable threats. */ +(0,l.sprintf)(__("Auto fix all (%s)","jetpack-protect"),y.length)),u().createElement(i.Z,{variant:"secondary",className:v.Z["list-header-button"],isLoading:_,onClick:e=>{e.preventDefault(),C()}},__("Scan now","jetpack-protect")))),e?u().createElement(f.Z,{list:n}):u().createElement(h.Z,{list:n})):u().createElement(d.Z,null)));var R}},4289:function(e,t,n){"use strict";var a=n(2054),c=n(5736),r=n(797),i=n(2817),o=n(7663),l=n(8960),s=n(4160),u=n(6376),p=n(9196),m=n(6477),d=n(5773),h=n(5338);const __=c.__;t.Z=e=>{let{selected:t,onSelect:n}=e;const{plugins:c,themes:g,numThreats:f,numCoreThreats:v,numFilesThreats:E,numDatabaseThreats:k,hasRequiredPlan:b}=(0,d.Z)(),{recordEvent:y}=(0,m.Z)(),[Z]=(0,a.Z)("lg","<"),C=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_all_click")}),[y]),_=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_core_click")}),[y]),w=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_plugin_click")}),[y]),R=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_theme_click")}),[y]),j=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_file_click")}),[y]),S=(0,p.useCallback)((()=>{y("jetpack_protect_navigation_database_click")}),[y]);return React.createElement(h.ZP,{selected:t,onSelect:n,mode:Z?"dropdown":"list"},React.createElement(h.Dx,{initial:!0,id:"all",label:__("All threats","jetpack-protect"),icon:r.Z,badge:f,disabled:f<=0,onClick:C,checked:!0}),React.createElement(h.Dx,{id:"wordpress",label:__("WordPress","jetpack-protect"),icon:i.Z,badge:v,disabled:v<=0,onClick:_,checked:!0}),React.createElement(h.KB,{label:__("Plugins","jetpack-protect"),icon:o.Z},c.map((e=>{let{name:t,threats:n,checked:a}=e;return React.createElement(h.Dx,{key:t,id:t,label:t,checked:a,badge:n?.length,disabled:n?.length<=0,onClick:w})}))),React.createElement(h.KB,{label:__("Themes","jetpack-protect"),icon:l.Z},g.map((e=>{let{name:t,threats:n,checked:a}=e;return React.createElement(h.Dx,{key:t,id:t,label:t,checked:a,badge:n?.length,disabled:n?.length<=0,onClick:R})}))),b&&React.createElement(React.Fragment,null,React.createElement(h.Dx,{id:"files",label:__("Files","jetpack-protect"),icon:s.Z,badge:E,disabled:E<=0,onClick:j,checked:!0}),React.createElement(h.Dx,{id:"database",label:__("Database","jetpack-protect"),icon:u.Z,badge:k,disabled:k<=0,onClick:S,checked:!0})))}},1400:function(e,t,n){"use strict";var a=n(526),c=n(5106),r=n(2054),i=n(9818),o=n(9307),l=n(5736),s=n(9196),u=n.n(s),p=n(6477),m=n(4633),d=n(7127),h=n(4257),g=n(289),f=n(9709);const __=l.__,v=e=>{let{context:t,description:n,diff:r,filename:o,fixedIn:v,icon:E,fixable:k,id:b,label:y,name:Z,source:C,title:_,type:w,severity:R}=e;const{setModal:j}=(0,i.useDispatch)(m.t),{recordEvent:S}=(0,p.Z)(),N=C?u().createElement(a.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:C},__("See more technical details of this threat","jetpack-protect")):null;return u().createElement(g.c,{id:b,label:y,title:_,icon:E,fixable:k,severity:R,onOpen:(0,s.useCallback)((()=>{["core","plugin","theme","file","database"].includes(w)&&S(`jetpack_protect_${w}_threat_open`)}),[S,w])},n&&u().createElement("div",{className:f.Z["threat-section"]},u().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),u().createElement(c.ZP,{mb:2},n),N),(o||t||r)&&u().createElement(c.ZP,{variant:"title-small",mb:2},__("The technical details","jetpack-protect")),o&&u().createElement(u().Fragment,null,u().createElement(c.ZP,{mb:2},/* translators: filename follows in separate line; e.g. "PHP.Injection.5 in: `post.php`" */ +__("Threat found in file:","jetpack-protect")),u().createElement("pre",{className:f.Z["threat-filename"]},o)),t&&u().createElement(h.Z,{context:t}),r&&u().createElement(d.C,{diff:r}),v&&u().createElement("div",{className:f.Z["threat-section"]},u().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),u().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ +(0,l.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),Z,v))),!n&&u().createElement("div",{className:f.Z["threat-section"]},N),u().createElement("div",{className:f.Z["threat-footer"]},u().createElement(a.Z,{isDestructive:!0,variant:"secondary",onClick:e=>{e.preventDefault(),j({type:"IGNORE_THREAT",props:{id:b,label:y,title:_,icon:E,severity:R}})}},__("Ignore threat","jetpack-protect")),k&&u().createElement(a.Z,{onClick:e=>{e.preventDefault(),j({type:"FIX_THREAT",props:{id:b,label:y,title:_,icon:E,severity:R,fixable:k}})}},__("Fix threat","jetpack-protect"))))};t.Z=e=>{let{list:t}=e;const{scan:n}=(0,i.useDispatch)(m.t),l=(0,o.createInterpolateElement)(__("If you have manually fixed any of the threats listed above, you can run a manual scan now or wait for Jetpack to scan your site later today.","jetpack-protect"),{manualScanLink:u().createElement(a.Z,{variant:"link",onClick:e=>{e.preventDefault(),n()}})}),[s]=(0,r.Z)(["sm","lg"],[null,"<"]),p=e=>e.name&&e.version?`${e.name} (${e.version})`:e.filename?e.filename.split("/").pop():e.table?e.table:void 0;return t=t.map((e=>({label:p(e),...e}))),u().createElement(u().Fragment,null,!s&&u().createElement("div",{className:f.Z["accordion-heading"]},u().createElement("span",null,__("Details","jetpack-protect")),u().createElement("span",null,__("Severity","jetpack-protect")),u().createElement("span",null,__("Auto-fix","jetpack-protect")),u().createElement("span",null)),u().createElement(g.Z,null,t.map((e=>{let{context:t,description:n,diff:a,filename:c,fixedIn:r,icon:i,fixable:o,id:l,label:s,name:p,severity:m,source:d,table:h,title:g,type:f,version:E}=e;return u().createElement(v,{context:t,description:n,diff:a,filename:c,fixedIn:r,icon:i,fixable:o,id:l,key:l,label:s,name:p,severity:m,source:d,table:h,title:g,type:f,version:E})}))),u().createElement(c.ZP,{className:f.Z["manual-scan"],variant:"body-small"},l))}},7930:function(e,t,n){"use strict";var a=n(2817),c=n(4160),r=n(6376),i=n(7663),o=n(8960),l=n(9196),s=n(5773);const u=(e,t)=>t.severity-e.severity,p=(e,t)=>Array.isArray(e)?e.map((e=>p(e,t))).flat():e?.threats.map((n=>({...n,...e,...t})));t.Z=()=>{const{plugins:e,themes:t,core:n,files:m,database:d}=(0,s.Z)(),[h,g]=(0,l.useState)("all"),{unsortedList:f,item:v}=(0,l.useMemo)((()=>{if(h&&"all"!==h){switch(h){case"wordpress":return{unsortedList:p(n,{icon:a.Z}),item:n};case"files":return{unsortedList:p(m,{icon:c.Z}),item:m};case"database":return{unsortedList:p(d,{icon:r.Z}),item:d}}const l=e.find((e=>e?.name===h));if(l)return{unsortedList:p(l,{icon:i.Z}),item:l};const s=t.find((e=>e?.name===h));if(s)return{unsortedList:p(s,{icon:o.Z}),item:s}}return{unsortedList:[...p(n,{icon:a.Z}),...p(e,{icon:i.Z}),...p(t,{icon:o.Z}),...p(m,{icon:c.Z}),...p(d,{icon:r.Z})],item:null}}),[n,d,m,e,h,t]);return{item:v,list:(0,l.useMemo)((()=>f.sort(u)),[f]),selected:h,setSelected:g}}},2854:function(e,t,n){"use strict";var a=n(1294),c=n(8227);t.Z=e=>{let{children:t}=e;const{isUserConnected:n,hasConnectedOwner:r}=(0,a.Z)();return n&&r?t:React.createElement(c.Z,null)}},8227:function(e,t,n){"use strict";var a=n(5106),c=n(526),r=n(1294),i=n(9818),o=n(5736),l=n(4633),s=n(291),u=n(541);const __=o.__;t.Z=()=>{const{setModal:e}=(0,i.useDispatch)(l.t),{userIsConnecting:t,handleConnectUser:n}=(0,r.Z)({redirectUri:"admin.php?page=jetpack-protect"});return React.createElement(React.Fragment,null,React.createElement(a.ZP,{variant:"title-medium",mb:2},__("User connection needed","jetpack-protect")),React.createElement(s.Z,{type:"info",message:__("Before Jetpack Protect can ignore and auto-fix threats on your site, a user connection is needed.","jetpack-protect")}),React.createElement(a.ZP,{mb:3},__("A user connection provides Jetpack Protect the access necessary to perform these tasks.","jetpack-protect")),React.createElement(a.ZP,{mb:3},__("Once you’ve secured a user connection, all Jetpack Protect features will be available for use.","jetpack-protect")),React.createElement("div",{className:u.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:t=>{t.preventDefault(),e({type:null})}},__("Not now","jetpack-protect")),React.createElement(c.Z,{isExternalLink:!0,weight:"regular",isLoading:t,onClick:n},__("Connect your user account","jetpack-protect"))))}},3898:function(e,t,n){"use strict";n.d(t,{K:function(){return a},o:function(){return c}});const a="https://wordpress.org/support/plugin/jetpack-protect/",c="jetpack_scan"},6477:function(e,t,n){"use strict";var a=n(6975),c=n(1294),r=n(9196);t.Z=function(){let{pageViewEventName:e,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:i={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{isUserConnected:o,isRegistered:l,userConnectionData:s}=(0,c.Z)(),{login:u,ID:p}=s.currentUser?.wpcomUser||{},{tracks:m}=a.Z,{recordEvent:d}=m,h=(0,r.useCallback)((async(e,t)=>{d(e,t)}),[d]),g=(0,r.useCallback)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return n="function"==typeof t?t:n,t="function"==typeof t?{}:t,()=>h(e,t).then(n)}),[h]);(0,r.useEffect)((()=>{o&&p&&u&&a.Z.initialize(p,u)}),[o,p,u]);const f=e?`${t}_${e}_${n}`:null;return(0,r.useEffect)((()=>{l&&f&&d(f,i)}),[]),{recordEvent:h,recordEventHandler:g}}},5773:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(9818),c=n(9196),r=n(4633);function i(){const{statusIsFetching:e,status:t,jetpackScan:n,hasRequiredPlan:i}=(0,a.useSelect)((e=>({statusIsFetching:e(r.t).getStatusIsFetching(),status:e(r.t).getStatus(),jetpackScan:e(r.t).getJetpackScan(),hasRequiredPlan:e(r.t).hasRequiredPlan()})));let o="error";!0===e?o="loading":t.status&&(o=t.status);const l=(0,c.useMemo)((()=>t.core?.threats?.length||0),[t.core]),s=(0,c.useMemo)((()=>(t.plugins||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.plugins]),u=(0,c.useMemo)((()=>(t.themes||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.themes]),p=(0,c.useMemo)((()=>t.files?.length||0),[t.files]),m=(0,c.useMemo)((()=>t.database?.length||0),[t.database]);return{numThreats:l+s+u+p+m,numCoreThreats:l,numPluginsThreats:s,numThemesThreats:u,numFilesThreats:p,numDatabaseThreats:m,lastChecked:t.lastChecked||null,errorCode:t.errorCode||null,errorMessage:t.errorMessage||null,core:t.core||{},plugins:t.plugins||[],themes:t.themes||[],files:{threats:t.files||[]},database:{threats:t.database||[]},currentStatus:o,hasUncheckedItems:t.hasUncheckedItems,jetpackScan:n,hasRequiredPlan:i}}},8963:function(e,t,n){"use strict";var a=n(9818),c=n(9196),r=n(1827),i=n(4633);t.Z=()=>{const{setWafConfig:e,setWafStats:t,setWafIsEnabled:n,setWafIsUpdating:o,setWafIsToggling:l}=(0,a.useDispatch)(i.t),s=(0,a.useSelect)((e=>e(i.t).getWaf())),u=(0,c.useCallback)((()=>(o(!0),r.Z.fetchWaf().then((a=>{n(a?.isEnabled),e(a?.config),t(a?.stats)})).finally((()=>o(!1))))),[e,t,n,o]),p=(0,c.useCallback)((()=>(s.isEnabled||l(!0),o(!0),r.Z.toggleWaf().then(u).finally((()=>{l(!1),o(!1)})))),[u,s.isEnabled,l,o]),m=(0,c.useCallback)((()=>s.isEnabled?Promise.resolve():p()),[p,s.isEnabled]),d=(0,c.useCallback)((()=>(o(!0),m().then((()=>r.Z.updateWaf({jetpack_waf_automatic_rules:!s.config.jetpackWafAutomaticRules}))).then(u).finally((()=>o(!1))))),[m,u,o,s.config.jetpackWafAutomaticRules]),h=(0,c.useCallback)((()=>(o(!0),r.Z.updateWaf({jetpack_waf_ip_list:!s.config.jetpackWafIpList}).then(u).finally((()=>o(!1))))),[u,o,s.config.jetpackWafIpList]),g=(0,c.useCallback)((()=>(o(!0),r.Z.updateWaf({brute_force_protection:!s.config.bruteForceProtection}).then(u).finally((()=>o(!1))))),[u,o,s.config.bruteForceProtection]),f=(0,c.useCallback)((()=>(o(!0),m().then((()=>r.Z.updateWaf({jetpack_waf_share_data:!s.config.jetpackWafShareData}))).then(u).finally((()=>o(!1))))),[m,u,o,s.config.jetpackWafShareData]),v=(0,c.useCallback)((e=>(o(!0),r.Z.updateWaf(e).then(u).finally((()=>o(!1))))),[u,o]);return(0,c.useEffect)((()=>{void 0!==s.config||s.isFetching||u()}),[s.config,s.isFetching,o,u]),{...s,refreshWaf:u,toggleWaf:p,toggleAutomaticRules:d,toggleManualRules:h,toggleBruteForceProtection:g,toggleShareData:f,updateConfig:v}}},5230:function(e,t,n){"use strict";n.d(t,{BZ:function(){return y},Gk:function(){return d},Oc:function(){return N},Ot:function(){return S},PF:function(){return P},P_:function(){return E},RR:function(){return f},Rj:function(){return R},U2:function(){return v},VF:function(){return C},Xm:function(){return b},Y2:function(){return m},ZP:function(){return $},_N:function(){return l},d0:function(){return u},dG:function(){return _},eG:function(){return h},hI:function(){return g},i0:function(){return Z},jA:function(){return s},kd:function(){return j},l:function(){return I},o9:function(){return p},r0:function(){return w},tu:function(){return k},y:function(){return x}});var a=n(6989),c=n.n(a),r=n(5736),i=n(4769),o=n.n(i);const _n=r._n,__=r.__,l="SET_CREDENTIALS_STATE_IS_FETCHING",s="SET_CREDENTIALS_STATE",u="SET_STATUS",p="SET_STATUS_PROGRESS",m="START_SCAN_OPTIMISTICALLY",d="SET_STATUS_IS_FETCHING",h="SET_SCAN_IS_UNAVAILABLE",g="SET_SCAN_IS_ENQUEUING",f="SET_INSTALLED_PLUGINS",v="SET_INSTALLED_THEMES",E="SET_WP_VERSION",k="SET_JETPACK_SCAN",b="SET_THREAT_IS_UPDATING",y="SET_THREATS_ARE_FIXING",Z="SET_MODAL",C="SET_NOTICE",_="CLEAR_NOTICE",w="SET_HAS_REQUIRED_PLAN",R="SET_WAF_IS_SEEN",j="SET_WAF_UPGRADE_IS_SEEN",S="SET_WAF_IS_ENABLED",N="SET_WAF_IS_UPDATING",P="SET_WAF_IS_TOGGLING",x="SET_WAF_CONFIG",I="SET_WAF_STATS",M=e=>({type:u,status:e}),T=()=>({type:m}),L=e=>c()({path:"jetpack-protect/v1/status"+(e?"?hard_refresh=true":""),method:"GET"}),z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return async t=>{let{dispatch:n}=t;return n(V(!0)),await new Promise(((t,a)=>L(e).then(A).then((e=>{n(D("unavailable"===e.status)),n(M(o()(e))),t(e)})).catch((e=>{a(e)})).finally((()=>{n(V(!1))}))))}},A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise(((n,a)=>{"unavailable"===e.status&&t<3?L(!0).then((e=>{setTimeout((()=>{A(e,t+1).then((e=>n(e))).catch((e=>a(e)))}),5e3)})).catch(a):n(e)}))},F=e=>({type:l,isFetching:e}),O=e=>({type:s,credentials:e}),V=e=>({type:d,status:e}),D=e=>({type:h,status:e}),U=e=>({type:g,isEnqueuing:e}),H=(e,t)=>({type:b,payload:{threatId:e,isUpdating:t}}),B=e=>({type:y,threatIds:e}),W=e=>async t=>{let{dispatch:n}=t;const a=e.reduce(((e,t)=>`${e}threat_ids[]=${t}&`),"jetpack-protect/v1/fix-threats-status?");return n(B(e)),await c()({path:a,method:"GET"}).then((async t=>{const a=Object.values(t.threats);if(a.filter((e=>"in_progress"===e.status)).length>0)return await new Promise((()=>{setTimeout((()=>{n(W(e))}),1e3)}));if(!a.filter((e=>"fixed"===e.status)).length===e.length)throw"Not all threats could be fixed."})).then((()=>{n(z()),n(J({type:"success",message:(0,r.sprintf)( // translators: placeholder is the number amount of fixed threats. -_n("%s threat was fixed successfully","%s threats were fixed successfully",e.length,"jetpack-protect"),e.length)}))})).catch((()=>{a(J({type:"error",message:__("Not all threats could be fixed. Please contact our support.","jetpack-protect")}))})).finally((()=>{a(B([]))}))},J=e=>({type:C,payload:e}),G=e=>({type:w,hasRequiredPlan:e}),$={checkCredentials:()=>async e=>{let{dispatch:t}=e;return await new Promise(((e,a)=>(t(F(!0)),c()({path:"jetpack-protect/v1/check-credentials",method:"POST"}).then((a=>{t(O(a)),e(a)})).catch((e=>{a(e)})).finally((()=>{t(F(!1))})))))},setCredentials:O,setCredentialsIsFetching:F,setStatus:M,setStatusProgress:e=>({type:u,currentProgress:e}),startScanOptimistically:T,refreshStatus:z,setStatusIsFetching:V,setScanIsEnqueuing:U,setInstalledPlugins:e=>({type:f,plugins:e}),setInstalledThemes:e=>({type:v,themes:e}),setwpVersion:e=>({type:E,version:e}),setJetpackScan:e=>({type:k,scan:e}),ignoreThreat:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};return async a=>{let{dispatch:n}=a;return n(H(e,!0)),await new Promise((()=>c()({path:`jetpack-protect/v1/ignore-threat?threat_id=${e}`,method:"POST"}).then((()=>n(z()))).then((()=>n(J({type:"success",message:__("Threat ignored","jetpack-protect")})))).catch((()=>n(J({type:"error",message:__("An error ocurred ignoring the threat.","jetpack-protect")})))).finally((()=>{n(H(e,!1)),t()}))))}},setModal:e=>({type:Z,payload:e}),setNotice:J,clearNotice:()=>({type:_}),fixThreats:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};return async a=>{let{dispatch:n}=a;return e.forEach((e=>{n(H(e,!0))})),await new Promise((()=>c()({path:`jetpack-protect/v1/fix-threats?threat_ids=${e}`,method:"POST",data:{threatIds:e}}).then((()=>n(J({type:"success",message:__("We're hard at work fixing this threat in the background. Please check back shortly.","jetpack-protect")})))).then((()=>{setTimeout((()=>n(W(e))),1e3)})).catch((()=>n(J({type:"error",message:__("Error fixing threats. Please contact support.","jetpack-protect")})))).finally((()=>{e.forEach((e=>{n(H(e,!1))})),t()}))))}},scan:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};return async t=>{let{dispatch:a}=t;return a(U(!0)),await new Promise((()=>c()({path:"jetpack-protect/v1/scan",method:"POST"}).then((()=>{a(T()),setTimeout((()=>a(z(!0))),5e3)})).catch((()=>a(J({type:"error",message:__("An error ocurred enqueuing the scan","jetpack-protect")})))).finally((()=>{a(U(!1)),e()}))))}},setThreatsAreFixing:B,refreshPlan:()=>e=>{let{dispatch:t}=e;c()({path:"jetpack-protect/v1/check-plan",method:"GET"}).then((e=>t(G(e))))},setHasRequiredPlan:G,setScanIsUnavailable:D,setWafIsEnabled:e=>({type:S,isEnabled:e}),setWafIsSeen:e=>({type:R,isSeen:e}),setWafUpgradeIsSeen:e=>({type:j,upgradeIsSeen:e}),setWafIsUpdating:e=>({type:N,isUpdating:e}),setWafIsToggling:e=>({type:P,isToggling:e}),setWafConfig:e=>({type:x,config:e}),setWafStats:e=>({type:I,stats:e})}},3638:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(9818),c=a(5230);const r={wafSupported:null,bruteForceSupported:null,isSeen:!1,upgradeIsSeen:!1,isEnabled:!1,isUpdating:!1,isToggling:!1,config:void 0,stats:void 0},i=(0,n.combineReducers)({credentials:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===c.jA?t.credentials:e},credentialsIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c._N?t.isFetching:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.d0:return t.status;case c.o9:return{...e,currentProgress:t.currentProgress};case c.Y2:return{...e,currentProgress:0,status:"optimistically_scanning"}}return e},statusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.Gk?t.status:e},scanIsUnavailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.eG?t.status:e},scanIsEnqueuing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.hI?t.isEnqueuing:e},installedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.RR?t.plugins:e},installedThemes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.U2?t.themes:e},wpVersion:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.P_?t.version:e},jetpackScan:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.tu?t.scan:e},threatsUpdating:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.Xm?{...e,[t.payload.threatId]:t.payload.isUpdating}:e},modal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.i0?{...e,...t.payload}:e},notice:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.VF:return{...e,...t.payload};case c.dG:return{}}return e},setThreatsFixing:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===c.BZ?t.threatIds:e},hasRequiredPlan:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.r0?t.hasRequiredPlan:e},waf:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.Rj:return{...e,isSeen:t.isSeen};case c.kd:return{...e,upgradeIsSeen:t.upgradeIsSeen};case c.Ot:return{...e,isEnabled:t.isEnabled};case c.y:return{...e,config:t.config};case c.l:return{...e,stats:t.stats};case c.Oc:return{...e,isUpdating:t.isUpdating};case c.PF:return{...e,isToggling:t.isToggling}}return e}})},1056:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(6989),c=a.n(n),r=a(5230);const i={getJetpackScan:{isFulfilled:e=>Object.keys(e?.jetpackScan).length>0,fulfill:()=>async e=>{let{dispatch:t}=e;const a=await c()({path:"/my-jetpack/v1/site/products/scan",method:"GET"});t(r.ZP.setJetpackScan(a))}}}},6850:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={getCredentials:e=>e.credentials||null,getCredentialsIsFetching:e=>e.credentialsIsFetching||!1,getInstalledPlugins:e=>e.installedPlugins||{},getInstalledThemes:e=>e.installedThemes||{},getStatus:e=>e.status||{},getStatusIsFetching:e=>e.statusIsFetching||!1,getScanIsUnavailable:e=>e.scanIsUnavailable||!1,getScanIsEnqueuing:e=>e.scanIsEnqueuing||!1,getWpVersion:e=>e.wpVersion||"",getJetpackScan:e=>e.jetpackScan||{},getThreatsUpdating:e=>e.threatsUpdating||{},getModalType:e=>e.modal?.type||null,getModalProps:e=>e.modal?.props||{},getNotice:e=>e.notice||null,getThreatsAreFixing:e=>e.threatsAreFixing||[],hasRequiredPlan:e=>e.hasRequiredPlan||!1,getWaf:e=>e.waf}},5217:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(17),c=a.n(n),r=a(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}c()(i,"store",null);const l=i},4633:(e,t,a)=>{"use strict";a.d(t,{N:()=>u,t:()=>p});var n=a(4769),c=a.n(n),r=a(5230),i=a(3638),l=a(1056),o=a(6850),s=a(5217);const p="jetpack-protect";function u(){s.Z.mayBeInit(p,{__experimentalUseThunks:!0,reducer:i.Z,actions:r.ZP,selectors:o.Z,resolvers:l.Z,initialState:c()(window.jetpackProtectInitialState)||{}})}},5983:(e,t,a)=>{"use strict";e.exports=a.p+"images/in-progress-db145d62b5ef09c05ad7.png"},6436:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-protect"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-protect"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-protect"}},9196:e=>{"use strict";e.exports=window.React},6292:e=>{"use strict";e.exports=window.moment},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,a)=>{var n=a(6930);e.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,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 n=a(3522).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var c=a.call(e,t||"default");if("object"!==n(c))return c;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,a)=>{var n=a(3522).default,c=a(5061);e.exports=function(e){var t=c(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},3522:e=>{function t(a){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(a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},255:(e,t,a)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tn})}},t={};function a(n){var c=t[n];if(void 0!==c)return c.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";var e=a(8275),t=a(9307),n=a(9196),c=a.n(n),r=a(5439),i=a(554),l=a(5975),o=a(8257),s=a(8686),p=a(4633);a(1155);function u(){const e=(0,r.TH)();return(0,n.useEffect)((()=>window.scrollTo(0,0)),[e]),null}(0,p.N)(),function(){const a=document.getElementById("jetpack-protect-root");if(null===a)return;const n=c().createElement(e.ZP,null,c().createElement(i.UT,null,c().createElement(u,null),c().createElement(r.Z5,null,c().createElement(r.AW,{path:"/",element:c().createElement(s.Z,null)}),c().createElement(r.AW,{path:"/firewall",element:c().createElement(l.Z,null)}))),c().createElement(o.Z,null));t.createRoot(a).render(n)}()})()})(); \ No newline at end of file +_n("%s threat was fixed successfully","%s threats were fixed successfully",e.length,"jetpack-protect"),e.length)}))})).catch((()=>{n(J({type:"error",message:__("Not all threats could be fixed. Please contact our support.","jetpack-protect")}))})).finally((()=>{n(B([]))}))},J=e=>({type:C,payload:e}),G=e=>({type:w,hasRequiredPlan:e}),$={checkCredentials:()=>async e=>{let{dispatch:t}=e;return await new Promise(((e,n)=>(t(F(!0)),c()({path:"jetpack-protect/v1/check-credentials",method:"POST"}).then((n=>{t(O(n)),e(n)})).catch((e=>{n(e)})).finally((()=>{t(F(!1))})))))},setCredentials:O,setCredentialsIsFetching:F,setStatus:M,setStatusProgress:e=>({type:p,currentProgress:e}),startScanOptimistically:T,refreshStatus:z,setStatusIsFetching:V,setScanIsEnqueuing:U,setInstalledPlugins:e=>({type:f,plugins:e}),setInstalledThemes:e=>({type:v,themes:e}),setwpVersion:e=>({type:E,version:e}),setJetpackScan:e=>({type:k,scan:e}),ignoreThreat:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};return async n=>{let{dispatch:a}=n;return a(H(e,!0)),await new Promise((()=>c()({path:`jetpack-protect/v1/ignore-threat?threat_id=${e}`,method:"POST"}).then((()=>a(z()))).then((()=>a(J({type:"success",message:__("Threat ignored","jetpack-protect")})))).catch((()=>a(J({type:"error",message:__("An error ocurred ignoring the threat.","jetpack-protect")})))).finally((()=>{a(H(e,!1)),t()}))))}},setModal:e=>({type:Z,payload:e}),setNotice:J,clearNotice:()=>({type:_}),fixThreats:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};return async n=>{let{dispatch:a}=n;return e.forEach((e=>{a(H(e,!0))})),await new Promise((()=>c()({path:`jetpack-protect/v1/fix-threats?threat_ids=${e}`,method:"POST",data:{threatIds:e}}).then((()=>a(J({type:"success",message:__("We're hard at work fixing this threat in the background. Please check back shortly.","jetpack-protect")})))).then((()=>{setTimeout((()=>a(W(e))),1e3)})).catch((()=>a(J({type:"error",message:__("Error fixing threats. Please contact support.","jetpack-protect")})))).finally((()=>{e.forEach((e=>{a(H(e,!1))})),t()}))))}},scan:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};return async t=>{let{dispatch:n}=t;return n(U(!0)),await new Promise((()=>c()({path:"jetpack-protect/v1/scan",method:"POST"}).then((()=>{n(T()),setTimeout((()=>n(z(!0))),5e3)})).catch((()=>n(J({type:"error",message:__("An error ocurred enqueuing the scan","jetpack-protect")})))).finally((()=>{n(U(!1)),e()}))))}},setThreatsAreFixing:B,refreshPlan:()=>e=>{let{dispatch:t}=e;c()({path:"jetpack-protect/v1/check-plan",method:"GET"}).then((e=>t(G(e))))},setHasRequiredPlan:G,setScanIsUnavailable:D,setWafIsEnabled:e=>({type:S,isEnabled:e}),setWafIsSeen:e=>({type:R,isSeen:e}),setWafUpgradeIsSeen:e=>({type:j,upgradeIsSeen:e}),setWafIsUpdating:e=>({type:N,isUpdating:e}),setWafIsToggling:e=>({type:P,isToggling:e}),setWafConfig:e=>({type:x,config:e}),setWafStats:e=>({type:I,stats:e})}},3638:function(e,t,n){"use strict";var a=n(9818),c=n(5230);const r={wafSupported:null,bruteForceSupported:null,isSeen:!1,upgradeIsSeen:!1,isEnabled:!1,isUpdating:!1,isToggling:!1,config:void 0,stats:void 0},i=(0,a.combineReducers)({credentials:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===c.jA?t.credentials:e},credentialsIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c._N?t.isFetching:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.d0:return t.status;case c.o9:return{...e,currentProgress:t.currentProgress};case c.Y2:return{...e,currentProgress:0,status:"optimistically_scanning"}}return e},statusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.Gk?t.status:e},scanIsUnavailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.eG?t.status:e},scanIsEnqueuing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.hI?t.isEnqueuing:e},installedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.RR?t.plugins:e},installedThemes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.U2?t.themes:e},wpVersion:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.P_?t.version:e},jetpackScan:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.tu?t.scan:e},threatsUpdating:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.Xm?{...e,[t.payload.threatId]:t.payload.isUpdating}:e},modal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.i0?{...e,...t.payload}:e},notice:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.VF:return{...e,...t.payload};case c.dG:return{}}return e},setThreatsFixing:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===c.BZ?t.threatIds:e},hasRequiredPlan:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.r0?t.hasRequiredPlan:e},waf:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.Rj:return{...e,isSeen:t.isSeen};case c.kd:return{...e,upgradeIsSeen:t.upgradeIsSeen};case c.Ot:return{...e,isEnabled:t.isEnabled};case c.y:return{...e,config:t.config};case c.l:return{...e,stats:t.stats};case c.Oc:return{...e,isUpdating:t.isUpdating};case c.PF:return{...e,isToggling:t.isToggling}}return e}});t.Z=i},1056:function(e,t,n){"use strict";var a=n(6989),c=n.n(a),r=n(5230);const i={getJetpackScan:{isFulfilled:e=>Object.keys(e?.jetpackScan).length>0,fulfill:()=>async e=>{let{dispatch:t}=e;const n=await c()({path:"/my-jetpack/v1/site/products/scan",method:"GET"});t(r.ZP.setJetpackScan(n))}}};t.Z=i},6850:function(e,t){"use strict";t.Z={getCredentials:e=>e.credentials||null,getCredentialsIsFetching:e=>e.credentialsIsFetching||!1,getInstalledPlugins:e=>e.installedPlugins||{},getInstalledThemes:e=>e.installedThemes||{},getStatus:e=>e.status||{},getStatusIsFetching:e=>e.statusIsFetching||!1,getScanIsUnavailable:e=>e.scanIsUnavailable||!1,getScanIsEnqueuing:e=>e.scanIsEnqueuing||!1,getWpVersion:e=>e.wpVersion||"",getJetpackScan:e=>e.jetpackScan||{},getThreatsUpdating:e=>e.threatsUpdating||{},getModalType:e=>e.modal?.type||null,getModalProps:e=>e.modal?.props||{},getNotice:e=>e.notice||null,getThreatsAreFixing:e=>e.threatsAreFixing||[],hasRequiredPlan:e=>e.hasRequiredPlan||!1,getWaf:e=>e.waf}},5217:function(e,t,n){"use strict";var a=n(17),c=n.n(a),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}c()(i,"store",null),t.Z=i},4633:function(e,t,n){"use strict";n.d(t,{N:function(){return p},t:function(){return u}});var a=n(4769),c=n.n(a),r=n(5230),i=n(3638),o=n(1056),l=n(6850),s=n(5217);const u="jetpack-protect";function p(){s.Z.mayBeInit(u,{__experimentalUseThunks:!0,reducer:i.Z,actions:r.ZP,selectors:l.Z,resolvers:o.Z,initialState:c()(window.jetpackProtectInitialState)||{}})}},5983:function(e,t,n){"use strict";e.exports=n.p+"images/in-progress-db145d62b5ef09c05ad7.png"},6436:function(e){"use strict";if(void 0==={consumer_slug:"jetpack-protect"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-protect"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-protect"}},9196:function(e){"use strict";e.exports=window.React},6292:function(e){"use strict";e.exports=window.moment},6989:function(e){"use strict";e.exports=window.wp.apiFetch},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9771:function(e){"use strict";e.exports=window.wp.date},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},17:function(e,t,n){var a=n(6930);e.exports=function(e,t,n){return(t=a(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:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;twindow.scrollTo(0,0)),[e]),null}(0,u.N)(),function(){const n=document.getElementById("jetpack-protect-root");if(null===n)return;const a=c().createElement(e.ZP,null,c().createElement(i.UT,null,c().createElement(p,null),c().createElement(r.Z5,null,c().createElement(r.AW,{path:"/",element:c().createElement(s.Z,null)}),c().createElement(r.AW,{path:"/firewall",element:c().createElement(o.Z,null)}))),c().createElement(l.Z,null));t.createRoot(n).render(a)}()}()}(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php b/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php index f700bb5c8..5488269e5 100644 --- a/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php +++ b/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php @@ -1 +1 @@ - array('wp-i18n'), 'version' => 'ee939953aa2115e2ca59'); + array('wp-i18n'), 'version' => 'e69db286c9c94bd98790'); diff --git a/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js b/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js index 367377d2e..22d2b90a0 100644 --- a/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js +++ b/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js @@ -1 +1 @@ -(()=>{var e={356:function(e){e.exports=function(e){function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=e,r.c=n,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=1)}([function(e,r,n){"use strict";function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function e(e,r){for(var n=0;n>>32-o)+n&4294967295}},{key:"ff",value:function(r,n,t,o,a,i,f){return e.cmn(n&t|~n&o,r,n,a,i,f)}},{key:"gg",value:function(r,n,t,o,a,i,f){return e.cmn(n&o|t&~o,r,n,a,i,f)}},{key:"hh",value:function(r,n,t,o,a,i,f){return e.cmn(n^t^o,r,n,a,i,f)}},{key:"ii",value:function(r,n,t,o,a,i,f){return e.cmn(t^(n|~o),r,n,a,i,f)}},{key:"md51",value:function(r){for(var n=r.length,t=[1732584193,-271733879,-1732584194,271733878],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a=0,i=64;i<=n;i+=64)e.md5cycle(t,e.md5blk(r.substring(i-64,i)));for(r=r.substring(i-64),i=0,a=r.length;i>2]|=r.charCodeAt(i)<<(i%4<<3);if(o[i>>2]|=128<<(i%4<<3),i>55)for(e.md5cycle(t,o),i=0;i<16;i++)o[i]=0;return o[14]=8*n,e.md5cycle(t,o),t}},{key:"md5blk",value:function(e){for(var r=[],n=0;n<64;n+=4)r[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return r}},{key:"rhex",value:function(r){var n="";return n+=e.hexArray[r>>4&15]+e.hexArray[r>>0&15],n+=e.hexArray[r>>12&15]+e.hexArray[r>>8&15],(n+=e.hexArray[r>>20&15]+e.hexArray[r>>16&15])+(e.hexArray[r>>28&15]+e.hexArray[r>>24&15])}},{key:"hex",value:function(r){for(var n=r.length,t=0;t{const t=n(736),{default:o}=n(356),a={plugin:"plugins/",theme:"themes/",core:""},i=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);e.exports={state:{baseUrl:null,locale:null,domainMap:{},domainPaths:{}},async downloadI18n(e,r,n){const f=this.state;if(!f||"string"!=typeof f.baseUrl)throw new Error("wp.jpI18nLoader.state is not set");if("en_US"===f.locale)return;if("undefined"==typeof fetch)throw new Error("Fetch API is not available.");const u=i(f.domainPaths,r)?f.domainPaths[r]:"";let c,h;const l=e.indexOf("?");l>=0?(c=o.hash(u+e.substring(0,l)),h=e.substring(l)):(c=o.hash(u+e),h="");const s=i(f.domainMap,r)?f.domainMap[r]:a[n]+r,g=await fetch(`${f.baseUrl}${s}-${f.locale}-${c}.json${h}`);if(!g.ok)throw new Error(`HTTP request failed: ${g.status} ${g.statusText}`);const d=await g.json(),p=i(d.locale_data,r)?d.locale_data[r]:d.locale_data.messages;p[""].domain=r,t.setLocaleData(p,r)}}},736:e=>{"use strict";e.exports=window.wp.i18n}},r={};var n=function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={exports:{}};return e[t].call(a.exports,a,a.exports,n),a.exports}(618);(window.wp=window.wp||{}).jpI18nLoader=n})(); \ No newline at end of file +!function(){var e={356:function(e){e.exports=function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=e,n.c=r,n.i=function(e){return e},n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=1)}([function(e,n,r){"use strict";function t(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var r=0;r>>32-o)+r&4294967295}},{key:"ff",value:function(n,r,t,o,a,i,f){return e.cmn(r&t|~r&o,n,r,a,i,f)}},{key:"gg",value:function(n,r,t,o,a,i,f){return e.cmn(r&o|t&~o,n,r,a,i,f)}},{key:"hh",value:function(n,r,t,o,a,i,f){return e.cmn(r^t^o,n,r,a,i,f)}},{key:"ii",value:function(n,r,t,o,a,i,f){return e.cmn(t^(r|~o),n,r,a,i,f)}},{key:"md51",value:function(n){for(var r=n.length,t=[1732584193,-271733879,-1732584194,271733878],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a=0,i=64;i<=r;i+=64)e.md5cycle(t,e.md5blk(n.substring(i-64,i)));for(n=n.substring(i-64),i=0,a=n.length;i>2]|=n.charCodeAt(i)<<(i%4<<3);if(o[i>>2]|=128<<(i%4<<3),i>55)for(e.md5cycle(t,o),i=0;i<16;i++)o[i]=0;return o[14]=8*r,e.md5cycle(t,o),t}},{key:"md5blk",value:function(e){for(var n=[],r=0;r<64;r+=4)n[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return n}},{key:"rhex",value:function(n){var r="";return r+=e.hexArray[n>>4&15]+e.hexArray[n>>0&15],r+=e.hexArray[n>>12&15]+e.hexArray[n>>8&15],(r+=e.hexArray[n>>20&15]+e.hexArray[n>>16&15])+(e.hexArray[n>>28&15]+e.hexArray[n>>24&15])}},{key:"hex",value:function(n){for(var r=n.length,t=0;tObject.prototype.hasOwnProperty.call(e,n);e.exports={state:{baseUrl:null,locale:null,domainMap:{},domainPaths:{}},async downloadI18n(e,n,r){const f=this.state;if(!f||"string"!=typeof f.baseUrl)throw new Error("wp.jpI18nLoader.state is not set");if("en_US"===f.locale)return;if("undefined"==typeof fetch)throw new Error("Fetch API is not available.");const u=i(f.domainPaths,n)?f.domainPaths[n]:"";let c,h;const l=e.indexOf("?");l>=0?(c=o.hash(u+e.substring(0,l)),h=e.substring(l)):(c=o.hash(u+e),h="");const s=i(f.domainMap,n)?f.domainMap[n]:a[r]+n,g=await fetch(`${f.baseUrl}${s}-${f.locale}-${c}.json${h}`);if(!g.ok)throw new Error(`HTTP request failed: ${g.status} ${g.statusText}`);const d=await g.json(),p=i(d.locale_data,n)?d.locale_data[n]:d.locale_data.messages;p[""].domain=n,t.setLocaleData(p,n)}}},736:function(e){"use strict";e.exports=window.wp.i18n}},n={};var r=function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t].call(a.exports,a,a.exports,r),a.exports}(618);(window.wp=window.wp||{}).jpI18nLoader=r}(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php b/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php index df0ba76a5..20fd33c93 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php +++ b/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php @@ -1 +1 @@ - array(), 'version' => 'd9dbf909a3d10fb26f39'); + array(), 'version' => 'a96178e4d62fb695caa0'); diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js b/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js index 2fd186243..fe1068ce2 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js +++ b/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js @@ -1 +1 @@ -(()=>{var e={775:e=>{let n;window._tkq=window._tkq||[];const t=console.error;const o={initialize:function(e,n){o.setUser(e,n),o.identifyUser()},mc:{bumpStat:function(e,n){const t=function(e,n){let t="";if("object"==typeof e)for(const n in e)t+="&x_"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);else t="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(n);return t}(e,n);(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+t+"&t="+Math.random()}},tracks:{recordEvent:function(e,n){n=n||{},0===e.indexOf("jetpack_")?window._tkq.push(["recordEvent",e,n]):t('- Event name must be prefixed by "jetpack_"')},recordPageView:function(e){o.tracks.recordEvent("jetpack_page_view",{path:e})}},setUser:function(e,t){n={ID:e,username:t}},identifyUser:function(){n&&window._tkq.push(["identifyUser",n.ID,n.username])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};e.exports=o}},n={};var t=function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o](i,i.exports,t),i.exports}(775);window.analytics=t})(); \ No newline at end of file +!function(){var e={775:function(e){let n;window._tkq=window._tkq||[];const t=console.error;const o={initialize:function(e,n){o.setUser(e,n),o.identifyUser()},mc:{bumpStat:function(e,n){const t=function(e,n){let t="";if("object"==typeof e)for(const n in e)t+="&x_"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);else t="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(n);return t}(e,n);(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+t+"&t="+Math.random()}},tracks:{recordEvent:function(e,n){n=n||{},0===e.indexOf("jetpack_")?window._tkq.push(["recordEvent",e,n]):t('- Event name must be prefixed by "jetpack_"')},recordPageView:function(e){o.tracks.recordEvent("jetpack_page_view",{path:e})}},setUser:function(e,t){n={ID:e,username:t}},identifyUser:function(){n&&window._tkq.push(["identifyUser",n.ID,n.username])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};e.exports=o}},n={};var t=function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o](i,i.exports,t),i.exports}(775);window.analytics=t}(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php b/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php index 7a7aeff19..d334c36a0 100644 --- a/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php +++ b/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php @@ -1 +1 @@ - array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'be05f4fa6476173ae8aa'); + array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'e6816df035dc8dcc922f'); diff --git a/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js b/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js index 3e0a2c1f6..18bf69c1b 100644 --- a/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js +++ b/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js @@ -1,5 +1,5 @@ /*! For license information please see index.js.LICENSE.txt */ -(()=>{var e={5235:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){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 r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,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:r}=e.exports;r.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,s,a,i=null;function o(...e){if(!o.enabled)return;const r=o,s=Number(new Date),a=s-(n||s);r.diff=a,r.prev=n,r.curr=s,n=s,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,s)=>{if("%%"===n)return"%";i++;const a=t.formatters[s];if("function"==typeof a){const t=e[i];n=a.call(r,t),e.splice(i,1),i--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(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(s),...t.skips.map(s).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 r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.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{},6611:()=>{},7724:()=>{},310:()=>{},3171:e=>{var t=1e3,n=60*t,r=60*n,s=24*r,a=7*s,i=365.25*s;function o(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!o)return;var c=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var a=Math.abs(e);if(a>=s)return o(e,a,s,"day");if(a>=r)return o(e,a,r,"hour");if(a>=n)return o(e,a,n,"minute");if(a>=t)return o(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=s)return Math.round(e/s)+"d";if(a>=r)return Math.round(e/r)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},469:(e,t,n)=>{"use strict";var r=n(758);function s(){}function a(){}a.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,a,i){if(i!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:s};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"},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(951);const s=n.n(r)()("dops:analytics");let a,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const o={initialize:function(e,t,n){o.setUser(e,t),o.setSuperProps(n),o.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=Object.assign(a||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('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]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('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,r,s,a,i){o.ga.recordPurchase(e,t,n,r,s,a,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(s("- Super Props: %o",a),t=Object.assign(t,a)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- 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){s("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(),s("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,r){o.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),s(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,a,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=o},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var r=n(1132),s=n(6483);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=a("JsonParseError"),o=a("JsonParseAfterRedirectError"),c=a("Api404Error"),l=a("Api404AfterRedirectError"),d=a("FetchNetworkError");const u=new function(e,t){let n=e,a=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){a=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const s={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(s)}).then(p).then(m)},fetchAuthorizationUrl:e=>u((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(p).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(p).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(p).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(p).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(p).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(p).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(p).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(p).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(p).then(m),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(p).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(p).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(p).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).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(p).then(m).then(f),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(p).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(p).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(p).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(p).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(p).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(p).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(p).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(p).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(p).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(p).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(p).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(p).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(p).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(p).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>u(`${a}jetpack/v4/search/plan`,o).then(p).then(m),fetchSearchSettings:()=>u(`${a}jetpack/v4/search/settings`,o).then(p).then(m),updateSearchSettings:e=>h(`${a}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>u(`${a}jetpack/v4/search/stats`,o).then(p).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(p).then(m),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(p).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${a}jetpack/v4/search/pricing`,o).then(p).then(m),fetchMigrationStatus:()=>u(`${n}jetpack/v4/migration/status`,o).then(p).then(m),fetchBackupUndoEvent:()=>u(`${n}jetpack/v4/site/backup/undo-event`,o).then(p).then(m)};function u(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new o(n):new i}function g(){throw new d}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(2674),s=n.n(r),a=n(5736),i=n(5235),o=n.n(i),c=n(9196),l=n.n(c);const __=a.__,d=e=>{let{logoColor:t="#069e08",showText:n=!0,className:r,height:a=32,...i}=e;const c=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:o()("jetpack-logo",r),"aria-labelledby":"jetpack-logo-title",height:a},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-idc")),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"})))}},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(5162),s=n.n(r),a=n(9196),i=n.n(a);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},r={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:r})))};o.propTypes={color:s().string,className:s().string,size:s().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const c=o},6895:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=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),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>r})},1132:(e,t,n)=>{let r={};try{r=n(8510)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(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 r[e]}}},9477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(6895),s=n(5033),a=n(5609),i=n(9818),o=n(9307),c=n(5736),l=n(5162),d=n.n(l),u=n(9196),p=n.n(u),m=n(2678),h=n(7144),g=n(2115),f=n(6637);const __=c.__,y=e=>{const{isStartingFresh:t,startFreshCallback:n,customContent:l,hasError:d}=e,u=(0,g.Z)(e.wpcomHomeUrl),h=(0,g.Z)(e.currentUrl),y=(0,i.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),v=l.startFreshButtonLabel||__("Create a fresh connection","jetpack-idc");return p().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(d?" jp-idc__idc-screen__card-action-error":"")},p().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},p().createElement("h4",null,l.startFreshCardTitle?(0,o.createInterpolateElement)(l.startFreshCardTitle,{em:p().createElement("em",null)}):__("Treat each site as independent sites","jetpack-idc")),p().createElement("p",null,(0,o.createInterpolateElement)(l.startFreshCardBodyText||(0,c.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ -__("%1$s settings, stats, and subscribers will start fresh. %2$s will keep its data as is.","jetpack-idc"),h,u),{hostname:p().createElement("strong",null),em:p().createElement("em",null),strong:p().createElement("strong",null)}))),p().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},u),p().createElement(a.Dashicon,{icon:"minus",className:"jp-idc__idc-screen__card-action-separator"}),p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},h),p().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:v,onClick:n,disabled:y},t?p().createElement(s.Z,null):v),d&&(k=l.supportURL,p().createElement(f.Z,null,(0,o.createInterpolateElement)(__("Could not create the connection. Retry or find out more here.","jetpack-idc"),{a:p().createElement("a",{href:k||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var k};y.propTypes={wpcomHomeUrl:d().string.isRequired,currentUrl:d().string.isRequired,isStartingFresh:d().bool.isRequired,startFreshCallback:d().func.isRequired,customContent:d().shape(h.Z),hasError:d().bool.isRequired},y.defaultProps={isStartingFresh:!1,startFreshCallback:()=>{},customContent:{},hasError:!1};const v=y},6596:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(6895),s=n(5033),a=n(5609),i=n(9818),o=n(9307),c=n(5736),l=n(5162),d=n.n(l),u=n(9196),p=n.n(u),m=n(2678),h=n(7144),g=n(2115),f=n(6637);const __=c.__,y=e=>{const t=(0,g.Z)(e.wpcomHomeUrl),n=(0,g.Z)(e.currentUrl),l=(0,i.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),{isMigrating:d,migrateCallback:u,customContent:h,hasError:y}=e,v=h.migrateButtonLabel||__("Move your settings","jetpack-idc");return p().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(y?" jp-idc__idc-screen__card-action-error":"")},p().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},p().createElement("h4",null,h.migrateCardTitle?(0,o.createInterpolateElement)(h.migrateCardTitle,{em:p().createElement("em",null)}):__("Move Jetpack data","jetpack-idc")),p().createElement("p",null,(0,o.createInterpolateElement)(h.migrateCardBodyText||(0,c.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ -__("Move all your settings, stats and subscribers to your other URL, %1$s. %2$s will be disconnected from Jetpack.","jetpack-idc"),n,t),{hostname:p().createElement("strong",null),em:p().createElement("em",null),strong:p().createElement("strong",null)}))),p().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t),p().createElement(a.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-action-separator"}),p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},n),p().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:v,onClick:u,disabled:l},d?p().createElement(s.Z,null):v),y&&(k=h.supportURL,p().createElement(f.Z,null,(0,o.createInterpolateElement)(__("Could not move your settings. Retry or find out more here.","jetpack-idc"),{a:p().createElement("a",{href:k||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var k};y.propTypes={wpcomHomeUrl:d().string.isRequired,currentUrl:d().string.isRequired,isMigrating:d().bool.isRequired,migrateCallback:d().func.isRequired,customContent:d().shape(h.Z),hasError:d().bool.isRequired},y.defaultProps={isMigrating:!1,migrateCallback:()=>{},customContent:{},hasError:!1};const v=y},5489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9196),s=n.n(r);const a=()=>s().createElement("svg",{className:"error-gridicon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:24},s().createElement("rect",{x:"0",fill:"none",width:"24",height:"24"}),s().createElement("g",null,s().createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))},6637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9196),s=n.n(r),a=n(5489);n(6611);const i=e=>{const{children:t}=e;return s().createElement("div",{className:"jp-idc__error-message"},s().createElement(a.Z,null),s().createElement("span",null,t))}},7381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(4743),s=n(9818),a=n(5162),i=n.n(a),o=n(9196),c=n.n(o),l=n(970),d=n(1272),u=n(3105),p=n(2678),m=n(7144),h=n(6521),g=n(567);const f=e=>{const{logo:t,customContent:n,wpcomHomeUrl:a,currentUrl:i,apiNonce:m,apiRoot:f,redirectUri:y,tracksUserData:v,tracksEventData:k,isAdmin:C,possibleDynamicSiteUrlDetected:_}=e,[b,E]=(0,o.useState)(!1),w=(0,s.useSelect)((e=>e(p.t).getErrorType()),[]),{isMigrating:j,migrateCallback:S}=(0,l.Z)((0,o.useCallback)((()=>{E(!0)}),[E])),{isStartingFresh:F,startFreshCallback:I}=(0,u.Z)(y),{isFinishingMigration:U,finishMigrationCallback:R}=(0,d.Z)();return(0,o.useEffect)((()=>{r.ZP.setApiRoot(f),r.ZP.setApiNonce(m),(0,h.M)(k,v),k&&(k.hasOwnProperty("isAdmin")&&k.isAdmin?(0,h.Z)("notice_view"):(0,h.Z)("non_admin_notice_view",{page:!!k.hasOwnProperty("currentScreen")&&k.currentScreen}))}),[f,m,v,k]),c().createElement(g.Z,{logo:t,customContent:n,wpcomHomeUrl:a,currentUrl:i,redirectUri:y,isMigrating:j,migrateCallback:S,isMigrated:b,finishMigrationCallback:R,isFinishingMigration:U,isStartingFresh:F,startFreshCallback:I,isAdmin:C,hasStaySafeError:"safe-mode"===w,hasFreshError:"start-fresh"===w,hasMigrateError:"migrate"===w,possibleDynamicSiteUrlDetected:_})};f.propTypes={logo:i().object,customContent:i().shape(m.Z),wpcomHomeUrl:i().string.isRequired,currentUrl:i().string.isRequired,redirectUri:i().string.isRequired,apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,tracksUserData:i().object,tracksEventData:i().object,isAdmin:i().bool.isRequired,possibleDynamicSiteUrlDetected:i().bool},f.defaultProps={customContent:{}};const y=f},5533:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(6895),s=n(9307),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),d=n(7144),u=n(9477),p=n(6596),m=n(2533);const __=a.__,h=e=>{const{wpcomHomeUrl:t,currentUrl:n,isMigrating:a,migrateCallback:i,isStartingFresh:o,startFreshCallback:c,customContent:d,hasMigrateError:h,hasFreshError:g,hasStaySafeError:f,possibleDynamicSiteUrlDetected:y}=e;return l().createElement(l().Fragment,null,l().createElement("h2",null,d.mainTitle?(0,s.createInterpolateElement)(d.mainTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),l().createElement("p",null,(0,s.createInterpolateElement)(d.mainBodyText||__("Your site is in Safe Mode because you have 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-idc"),{safeModeLink:l().createElement("a",{href:d.supportURL||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),y&&l().createElement("p",null,(0,s.createInterpolateElement)(d.dynamicSiteUrlText||__("Notice: It appears that your 'wp-config.php' file might be using dynamic site URL values. Dynamic site URLs could cause Jetpack to enter Safe Mode. Learn how to set a static site URL.","jetpack-idc"),{dynamicSiteUrlSupportLink:l().createElement("a",{href:d.dynamicSiteUrlSupportLink||(0,r.Z)("jetpack-idcscreen-dynamic-site-urls"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),l().createElement("h3",null,__("Please select an option","jetpack-idc")),l().createElement("div",{className:"jp-idc__idc-screen__cards"+(h||g?" jp-idc__idc-screen__cards-error":"")},l().createElement(p.Z,{wpcomHomeUrl:t,currentUrl:n,isMigrating:a,migrateCallback:i,customContent:d,hasError:h}),l().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),l().createElement(u.Z,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:o,startFreshCallback:c,customContent:d,hasError:g})),l().createElement(m.Z,{hasError:f,customContent:d}))};h.propTypes={wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,isMigrating:o().bool.isRequired,migrateCallback:o().func,isStartingFresh:o().bool.isRequired,startFreshCallback:o().func,customContent:o().shape(d.Z),hasMigrateError:o().bool.isRequired,hasFreshError:o().bool.isRequired,hasStaySafeError:o().bool.isRequired,possibleDynamicSiteUrlDetected:o().bool},h.defaultProps={isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1};const g=h},1052:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(5033),s=n(5609),a=n(9307),i=n(5736),o=n(5162),c=n.n(o),l=n(9196),d=n.n(l),u=n(7144),p=n(2115);const __=i.__,m=e=>{const{finishCallback:t,isFinishing:n,customContent:o}=e,c=(0,p.Z)(e.wpcomHomeUrl),l=(0,p.Z)(e.currentUrl),u=__("Got it, thanks","jetpack-idc");return d().createElement(d().Fragment,null,d().createElement("h2",null,o.migratedTitle?(0,a.createInterpolateElement)(o.migratedTitle,{em:d().createElement("em",null)}):__("Your Jetpack settings have migrated successfully","jetpack-idc")),d().createElement("p",null,(0,a.createInterpolateElement)(o.migratedBodyText||(0,i.sprintf)(/* translators: %1$s: The current site domain name. */ -__("Safe Mode has been switched off for %1$s website and Jetpack is fully functional.","jetpack-idc"),l),{hostname:d().createElement("strong",null),em:d().createElement("em",null),strong:d().createElement("strong",null)})),d().createElement("div",{className:"jp-idc__idc-screen__card-migrated"},d().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},c),d().createElement(s.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-migrated-separator"}),d().createElement(s.Dashicon,{icon:"arrow-right-alt",className:"jp-idc__idc-screen__card-migrated-separator-wide"}),d().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},l)),d().createElement(s.Button,{className:"jp-idc__idc-screen__card-action-button jp-idc__idc-screen__card-action-button-migrated",onClick:t,label:u},n?d().createElement(r.Z,null):u))};m.propTypes={wpcomHomeUrl:c().string.isRequired,currentUrl:c().string.isRequired,finishCallback:c().func,isFinishing:c().bool.isRequired,customContent:c().shape(u.Z)},m.defaultProps={finishCallback:()=>{},isFinishing:!1,customContent:{}};const h=m},1064:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(6895),s=n(9307),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),d=n(7144);const __=a.__,u=e=>{const{customContent:t}=e;return l().createElement(l().Fragment,null,l().createElement("h2",null,t.nonAdminTitle?(0,s.createInterpolateElement)(t.nonAdminTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),l().createElement("p",null,(0,s.createInterpolateElement)(t.nonAdminBodyText||__("This site is in Safe Mode because there are 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-idc"),{safeModeLink:l().createElement("a",{href:t.supportURL||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),t.nonAdminBodyText?"":l().createElement("p",null,__("An administrator of this site can take Jetpack out of Safe Mode.","jetpack-idc")))};u.propTypes={customContent:o().shape(d.Z)},u.defaultProps={customContent:{}};const p=u},567:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(8868),s=n(9307),a=n(5736),i=n(5162),o=n.n(i),c=n(9196),l=n.n(c),d=n(7144),u=n(5533),p=n(1052),m=n(1064);n(7724);const __=a.__,h=e=>{const{logo:t,customContent:n,wpcomHomeUrl:r,currentUrl:a,redirectUri:i,isMigrating:o,migrateCallback:c,isMigrated:d,finishMigrationCallback:h,isFinishingMigration:g,isStartingFresh:f,startFreshCallback:y,isAdmin:v,hasMigrateError:k,hasFreshError:C,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b}=e,E=v?"":l().createElement(m.Z,{customContent:n});let w="";return v&&(w=d?l().createElement(p.Z,{wpcomHomeUrl:r,currentUrl:a,finishCallback:h,isFinishing:g,customContent:n}):l().createElement(u.Z,{wpcomHomeUrl:r,currentUrl:a,redirectUri:i,customContent:n,isMigrating:o,migrateCallback:c,isStartingFresh:f,startFreshCallback:y,hasMigrateError:k,hasFreshError:C,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b})),l().createElement("div",{className:"jp-idc__idc-screen"+(d?" jp-idc__idc-screen__success":"")},l().createElement("div",{className:"jp-idc__idc-screen__header"},l().createElement("div",{className:"jp-idc__idc-screen__logo"},((e,t)=>"string"==typeof e||e instanceof String?l().createElement("img",{src:e,alt:t,className:"jp-idc__idc-screen__logo-image"}):e)(t,n.logoAlt||"")),l().createElement("div",{className:"jp-idc__idc-screen__logo-label"},n.headerText?(0,s.createInterpolateElement)(n.headerText,{em:l().createElement("em",null),strong:l().createElement("strong",null)}):__("Safe Mode","jetpack-idc"))),E,w)};h.propTypes={logo:o().object.isRequired,customContent:o().shape(d.Z),wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,redirectUri:o().string.isRequired,isMigrating:o().bool.isRequired,migrateCallback:o().func,isMigrated:o().bool.isRequired,finishMigrationCallback:o().func,isFinishingMigration:o().bool.isRequired,isStartingFresh:o().bool.isRequired,startFreshCallback:o().func,isAdmin:o().bool.isRequired,hasMigrateError:o().bool.isRequired,hasFreshError:o().bool.isRequired,hasStaySafeError:o().bool.isRequired,possibleDynamicSiteUrlDetected:o().bool},h.defaultProps={logo:l().createElement(r.Z,{height:24}),isMigrated:!1,isFinishingMigration:!1,isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1};const g=h},2533:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(4743),s=n(5033),a=n(6895),i=n(5609),o=n(4333),c=n(9818),l=n(9307),d=n(5736),u=n(6483),p=n(5162),m=n.n(p),h=n(9196),g=n.n(h),f=n(2678),y=n(7144),v=n(6521),k=n(6637);n(310);const __=d.__,C=e=>{const{isActionInProgress:t,setIsActionInProgress:n,setErrorType:o,clearErrorType:c,hasError:d,customContent:p}=e,[m,f]=(0,h.useState)(!1),y=(0,h.useCallback)((()=>{t||(f(!0),n(!0),c(),(0,v.Z)("confirm_safe_mode"),r.ZP.confirmIDCSafeMode().then((()=>{window.location.href=(0,u.removeQueryArgs)(window.location.href,"jetpack_idc_clear_confirmation","_wpnonce")})).catch((e=>{throw n(!1),f(!1),o("safe-mode"),e})))}),[t,n,o,c]);return g().createElement("div",{className:"jp-idc__safe-mode"},m?g().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},g().createElement(s.Z,{color:"black"}),g().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-idc"))):(_=y,b=t,(0,l.createInterpolateElement)(__("Or decide later and stay in ","jetpack-idc"),{button:g().createElement(i.Button,{label:__("Safe mode","jetpack-idc"),variant:"link",onClick:_,disabled:b})})),d&&(C=p.supportURL,g().createElement(k.Z,null,(0,l.createInterpolateElement)(__("Could not stay in safe mode. Retry or find out more here.","jetpack-idc"),{a:g().createElement("a",{href:C||(0,a.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))));var C,_,b};C.propTypes={isActionInProgress:m().bool,setIsActionInProgress:m().func.isRequired,setErrorType:m().func.isRequired,clearErrorType:m().func.isRequired,hasError:m().bool.isRequired,customContent:m().shape(y.Z)},C.defaultProps={hasError:!1};const _=(0,o.compose)([(0,c.withSelect)((e=>({isActionInProgress:e(f.t).getIsActionInProgress()}))),(0,c.withDispatch)((e=>({setIsActionInProgress:e(f.t).setIsActionInProgress,setErrorType:e(f.t).setErrorType,clearErrorType:e(f.t).clearErrorType})))])(C)},1272:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(9196);const s=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},970:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(4743),s=n(9818),a=n(9196),i=n(2678),o=n(6521);const c=e=>{const[t,n]=(0,a.useState)(!1),c=(0,s.useSelect)((e=>e(i.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:u}=(0,s.useDispatch)(i.t);return{isMigrating:t,migrateCallback:(0,a.useCallback)((()=>{c||((0,o.Z)("migrate"),l(!0),n(!0),u(),r.ZP.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),d("migrate"),e})))}),[n,e,c,l,d,u])}}},3105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(4743),s=n(9818),a=n(9196),i=n(2678),o=n(6521);const c=e=>{const[t,n]=(0,a.useState)(!1),c=(0,s.useSelect)((e=>e(i.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:u}=(0,s.useDispatch)(i.t);return{isStartingFresh:t,startFreshCallback:(0,a.useCallback)((()=>{c||((0,o.Z)("start_fresh"),l(!0),n(!0),u(),r.ZP.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),d("start-fresh"),e})))}),[n,c,l,e,d,u])}}},136:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i,hG:()=>r,jk:()=>a,vC:()=>s});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",a="CLEAR_ERROR_TYPE",i={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:a})}},7773:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9818),s=n(136);const a=(0,r.combineReducers)({isActionInProgress:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===s.hG?t.isInProgress:e},errorType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.vC:return t.errorType;case s.jk:return null}return e}})},9416:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},5943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(17),s=n.n(r),a=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,a.createReduxStore)(e,t),(0,a.register)(i.store))}}s()(i,"store",null);const o=i},2678:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(136),s=n(7773),a=n(9416),i=n(5943);const o="jetpack-idc";i.Z.mayBeInit(o,{reducer:s.Z,actions:r.ZP,selectors:a.Z})},7144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(5162),s=n.n(r);const a={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateButtonLabel:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,startFreshButtonLabel:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string,supportURL:s().string}},2115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},6521:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Z:()=>a});var r=n(6975);function s(e,t){t&&t.hasOwnProperty("userid")&&t.hasOwnProperty("username")&&r.Z.initialize(t.userid,t.username),e&&(e.hasOwnProperty("blogID")&&r.Z.assignSuperProps({blog_id:e.blogID}),e.hasOwnProperty("platform")&&r.Z.assignSuperProps({platform:e.platform})),r.Z.setMcAnalyticsEnabled(!0)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.Z&&r.Z.tracks&&r.Z.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.Z.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.Z.mc.bumpStat("jetpack-idc",e))}},8510:e=>{"use strict";if(void 0==={consumer_slug:"identity_crisis"}){var t=new Error('Cannot find module \'{"consumer_slug":"identity_crisis"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"identity_crisis"}},9196:e=>{"use strict";e.exports=window.React},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},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},6483:e=>{"use strict";e.exports=window.wp.url},17:(e,t,n)=>{var r=n(6930);e.exports=function(e,t,n){return(t=r(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 r=n(3522).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!==r(s))return s;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 r=n(3522).default,s=n(5061);e.exports=function(e){var t=s(e,"string");return"symbol"===r(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}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(7381),t=n(9307),r=n(9196),s=n.n(r);window.addEventListener("load",(()=>function(){if(!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const n=document.getElementById(window.JP_IDENTITY_CRISIS__INITIAL_STATE.containerID||"jp-identity-crisis-container");if(null===n)return;const{WP_API_root:r,WP_API_nonce:a,wpcomHomeUrl:i,currentUrl:o,redirectUri:c,tracksUserData:l,tracksEventData:d,isSafeModeConfirmed:u,consumerData:p,isAdmin:m,possibleDynamicSiteUrlDetected:h}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;if(!u){const u=s().createElement(e.Z,{wpcomHomeUrl:i,currentUrl:o,apiRoot:r,apiNonce:a,redirectUri:c,tracksUserData:l||{},tracksEventData:d,customContent:p.hasOwnProperty("customContent")?p.customContent:{},isAdmin:m,logo:p.hasOwnProperty("logo")?p.logo:void 0,possibleDynamicSiteUrlDetected:h});t.createRoot(n).render(u)}}()))})()})(); \ No newline at end of file +!function(){var e={5235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,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:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:function(e,t,n){e.exports=function(e){function t(e){let n,s,i,o=null;function a(...e){if(!a.enabled)return;const r=a,s=Number(new Date),i=s-(n||s);r.diff=i,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";o++;const i=t.formatters[s];if("function"==typeof i){const t=e[o];n=i.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(s!==t.namespaces&&(s=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(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(s),...t.skips.map(s).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 r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.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=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var i=Math.abs(e);if(i>=s)return a(e,i,s,"day");if(i>=r)return a(e,i,r,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=s)return Math.round(e/s)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},469:function(e,t,n){"use strict";var r=n(758);function s(){}function i(){}i.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,i,o){if(o!==r){var a=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 a.name="Invariant Violation",a}}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:i,resetWarningCache:s};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6975:function(e,t,n){"use strict";var r=n(951);const s=n.n(r)()("dops:analytics");let i,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.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){o={ID:e,username:t}},setSuperProps:function(e){i=e},assignSuperProps:function(e){i=Object.assign(i||{},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]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.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]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,i,o){a.ga.recordPurchase(e,t,n,r,s,i,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(i&&(s("- Super Props: %o",i),t=Object.assign(t,i)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),s("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,r){a.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),s(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,i,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=a},4743:function(e,t,n){"use strict";var r=n(1132),s=n(6483);function i(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const o=i("JsonParseError"),a=i("JsonParseAfterRedirectError"),c=i("Api404Error"),l=i("Api404AfterRedirectError"),u=i("FetchNetworkError");const d=new function(e,t){let n=e,i=e,o={"X-WP-Nonce":t},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){i=e},setApiNonce(e){o={"X-WP-Nonce":e},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const s={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(s)}).then(p).then(m)},fetchAuthorizationUrl:e=>d((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(p).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,a).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,a).then(p).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,a).then(p).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,a).then(p).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,a).then(p).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,a).then(p).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,a).then(p).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,a).then(p).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,a).then(p).then(m),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(p).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,a).then(p).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,a).then(p).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(p).then(m).then(f),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,a).then(p).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,a).then(p).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,a).then(p).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,a).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,a).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,a).then(p).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,a).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,a).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,a).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,a).then(p).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,a).then(p).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(p).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,a).then(p).then(m),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,a).then(p).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>d(`${n}jetpack/v4/products`,a).then(p).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,a).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,a).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,a).then(p).then(m),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,a).then(p).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(p).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,a).then(p).then(m),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,a).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>d(`${i}jetpack/v4/search/plan`,a).then(p).then(m),fetchSearchSettings:()=>d(`${i}jetpack/v4/search/settings`,a).then(p).then(m),updateSearchSettings:e=>h(`${i}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>d(`${i}jetpack/v4/search/stats`,a).then(p).then(m),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,a).then(p).then(m),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,a).then(p).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${i}jetpack/v4/search/pricing`,a).then(p).then(m),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,a).then(p).then(m),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,a).then(p).then(m)};function d(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new a(n):new o}function g(){throw new u}t.ZP=d},8868:function(e,t,n){"use strict";var r=n(2674),s=n.n(r),i=n(5736),o=n(5235),a=n.n(o),c=n(9196),l=n.n(c);const __=i.__;t.Z=e=>{let{logoColor:t="#069e08",showText:n=!0,className:r,height:i=32,...o}=e;const c=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:a()("jetpack-logo",r),"aria-labelledby":"jetpack-logo-title",height:i},o),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-idc")),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"})))}},5033:function(e,t,n){"use strict";var r=n(5162),s=n.n(r),i=n(9196),o=n.n(i);n(1683);const a=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},r={borderTopColor:e.color,borderRightColor:e.color};return o().createElement("div",{className:t},o().createElement("div",{className:"jp-components-spinner__outer",style:n},o().createElement("div",{className:"jp-components-spinner__inner",style:r})))};a.propTypes={color:s().string,className:s().string,size:s().number},a.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=a},6895:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=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),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:function(){return r}})},1132:function(e,t,n){let r={};try{r=n(8510)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(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 r[e]}}},9477:function(e,t,n){"use strict";var r=n(6895),s=n(5033),i=n(5609),o=n(9818),a=n(9307),c=n(5736),l=n(5162),u=n.n(l),d=n(9196),p=n.n(d),m=n(2678),h=n(7144),g=n(2115),f=n(6637);const __=c.__,y=e=>{const{isStartingFresh:t,startFreshCallback:n,customContent:l,hasError:u}=e,d=(0,g.Z)(e.wpcomHomeUrl),h=(0,g.Z)(e.currentUrl),y=(0,o.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),v=l.startFreshButtonLabel||__("Create a fresh connection","jetpack-idc");return p().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(u?" jp-idc__idc-screen__card-action-error":"")},p().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},p().createElement("h4",null,l.startFreshCardTitle?(0,a.createInterpolateElement)(l.startFreshCardTitle,{em:p().createElement("em",null)}):__("Treat each site as independent sites","jetpack-idc")),p().createElement("p",null,(0,a.createInterpolateElement)(l.startFreshCardBodyText||(0,c.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ +__("%1$s settings, stats, and subscribers will start fresh. %2$s will keep its data as is.","jetpack-idc"),h,d),{hostname:p().createElement("strong",null),em:p().createElement("em",null),strong:p().createElement("strong",null)}))),p().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},d),p().createElement(i.Dashicon,{icon:"minus",className:"jp-idc__idc-screen__card-action-separator"}),p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},h),p().createElement(i.Button,{className:"jp-idc__idc-screen__card-action-button",label:v,onClick:n,disabled:y},t?p().createElement(s.Z,null):v),u&&(k=l.supportURL,p().createElement(f.Z,null,(0,a.createInterpolateElement)(__("Could not create the connection. Retry or find out more here.","jetpack-idc"),{a:p().createElement("a",{href:k||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var k};y.propTypes={wpcomHomeUrl:u().string.isRequired,currentUrl:u().string.isRequired,isStartingFresh:u().bool.isRequired,startFreshCallback:u().func.isRequired,customContent:u().shape(h.Z),hasError:u().bool.isRequired},y.defaultProps={isStartingFresh:!1,startFreshCallback:()=>{},customContent:{},hasError:!1},t.Z=y},6596:function(e,t,n){"use strict";var r=n(6895),s=n(5033),i=n(5609),o=n(9818),a=n(9307),c=n(5736),l=n(5162),u=n.n(l),d=n(9196),p=n.n(d),m=n(2678),h=n(7144),g=n(2115),f=n(6637);const __=c.__,y=e=>{const t=(0,g.Z)(e.wpcomHomeUrl),n=(0,g.Z)(e.currentUrl),l=(0,o.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),{isMigrating:u,migrateCallback:d,customContent:h,hasError:y}=e,v=h.migrateButtonLabel||__("Move your settings","jetpack-idc");return p().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(y?" jp-idc__idc-screen__card-action-error":"")},p().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},p().createElement("h4",null,h.migrateCardTitle?(0,a.createInterpolateElement)(h.migrateCardTitle,{em:p().createElement("em",null)}):__("Move Jetpack data","jetpack-idc")),p().createElement("p",null,(0,a.createInterpolateElement)(h.migrateCardBodyText||(0,c.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ +__("Move all your settings, stats and subscribers to your other URL, %1$s. %2$s will be disconnected from Jetpack.","jetpack-idc"),n,t),{hostname:p().createElement("strong",null),em:p().createElement("em",null),strong:p().createElement("strong",null)}))),p().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t),p().createElement(i.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-action-separator"}),p().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},n),p().createElement(i.Button,{className:"jp-idc__idc-screen__card-action-button",label:v,onClick:d,disabled:l},u?p().createElement(s.Z,null):v),y&&(k=h.supportURL,p().createElement(f.Z,null,(0,a.createInterpolateElement)(__("Could not move your settings. Retry or find out more here.","jetpack-idc"),{a:p().createElement("a",{href:k||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var k};y.propTypes={wpcomHomeUrl:u().string.isRequired,currentUrl:u().string.isRequired,isMigrating:u().bool.isRequired,migrateCallback:u().func.isRequired,customContent:u().shape(h.Z),hasError:u().bool.isRequired},y.defaultProps={isMigrating:!1,migrateCallback:()=>{},customContent:{},hasError:!1},t.Z=y},5489:function(e,t,n){"use strict";var r=n(9196),s=n.n(r);t.Z=()=>s().createElement("svg",{className:"error-gridicon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:24},s().createElement("rect",{x:"0",fill:"none",width:"24",height:"24"}),s().createElement("g",null,s().createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))},6637:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5489);n(6611);t.Z=e=>{const{children:t}=e;return s().createElement("div",{className:"jp-idc__error-message"},s().createElement(i.Z,null),s().createElement("span",null,t))}},7381:function(e,t,n){"use strict";var r=n(4743),s=n(9818),i=n(5162),o=n.n(i),a=n(9196),c=n.n(a),l=n(970),u=n(1272),d=n(3105),p=n(2678),m=n(7144),h=n(6521),g=n(567);const f=e=>{const{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:o,apiNonce:m,apiRoot:f,redirectUri:y,tracksUserData:v,tracksEventData:k,isAdmin:C,possibleDynamicSiteUrlDetected:_}=e,[b,E]=(0,a.useState)(!1),w=(0,s.useSelect)((e=>e(p.t).getErrorType()),[]),{isMigrating:j,migrateCallback:S}=(0,l.Z)((0,a.useCallback)((()=>{E(!0)}),[E])),{isStartingFresh:F,startFreshCallback:I}=(0,d.Z)(y),{isFinishingMigration:U,finishMigrationCallback:R}=(0,u.Z)();return(0,a.useEffect)((()=>{r.ZP.setApiRoot(f),r.ZP.setApiNonce(m),(0,h.M)(k,v),k&&(k.hasOwnProperty("isAdmin")&&k.isAdmin?(0,h.Z)("notice_view"):(0,h.Z)("non_admin_notice_view",{page:!!k.hasOwnProperty("currentScreen")&&k.currentScreen}))}),[f,m,v,k]),c().createElement(g.Z,{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:o,redirectUri:y,isMigrating:j,migrateCallback:S,isMigrated:b,finishMigrationCallback:R,isFinishingMigration:U,isStartingFresh:F,startFreshCallback:I,isAdmin:C,hasStaySafeError:"safe-mode"===w,hasFreshError:"start-fresh"===w,hasMigrateError:"migrate"===w,possibleDynamicSiteUrlDetected:_})};f.propTypes={logo:o().object,customContent:o().shape(m.Z),wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,redirectUri:o().string.isRequired,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,tracksUserData:o().object,tracksEventData:o().object,isAdmin:o().bool.isRequired,possibleDynamicSiteUrlDetected:o().bool},f.defaultProps={customContent:{}},t.Z=f},5533:function(e,t,n){"use strict";var r=n(6895),s=n(9307),i=n(5736),o=n(5162),a=n.n(o),c=n(9196),l=n.n(c),u=n(7144),d=n(9477),p=n(6596),m=n(2533);const __=i.__,h=e=>{const{wpcomHomeUrl:t,currentUrl:n,isMigrating:i,migrateCallback:o,isStartingFresh:a,startFreshCallback:c,customContent:u,hasMigrateError:h,hasFreshError:g,hasStaySafeError:f,possibleDynamicSiteUrlDetected:y}=e;return l().createElement(l().Fragment,null,l().createElement("h2",null,u.mainTitle?(0,s.createInterpolateElement)(u.mainTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),l().createElement("p",null,(0,s.createInterpolateElement)(u.mainBodyText||__("Your site is in Safe Mode because you have 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-idc"),{safeModeLink:l().createElement("a",{href:u.supportURL||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),y&&l().createElement("p",null,(0,s.createInterpolateElement)(u.dynamicSiteUrlText||__("Notice: It appears that your 'wp-config.php' file might be using dynamic site URL values. Dynamic site URLs could cause Jetpack to enter Safe Mode. Learn how to set a static site URL.","jetpack-idc"),{dynamicSiteUrlSupportLink:l().createElement("a",{href:u.dynamicSiteUrlSupportLink||(0,r.Z)("jetpack-idcscreen-dynamic-site-urls"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),l().createElement("h3",null,__("Please select an option","jetpack-idc")),l().createElement("div",{className:"jp-idc__idc-screen__cards"+(h||g?" jp-idc__idc-screen__cards-error":"")},l().createElement(p.Z,{wpcomHomeUrl:t,currentUrl:n,isMigrating:i,migrateCallback:o,customContent:u,hasError:h}),l().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),l().createElement(d.Z,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:a,startFreshCallback:c,customContent:u,hasError:g})),l().createElement(m.Z,{hasError:f,customContent:u}))};h.propTypes={wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,isMigrating:a().bool.isRequired,migrateCallback:a().func,isStartingFresh:a().bool.isRequired,startFreshCallback:a().func,customContent:a().shape(u.Z),hasMigrateError:a().bool.isRequired,hasFreshError:a().bool.isRequired,hasStaySafeError:a().bool.isRequired,possibleDynamicSiteUrlDetected:a().bool},h.defaultProps={isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1},t.Z=h},1052:function(e,t,n){"use strict";var r=n(5033),s=n(5609),i=n(9307),o=n(5736),a=n(5162),c=n.n(a),l=n(9196),u=n.n(l),d=n(7144),p=n(2115);const __=o.__,m=e=>{const{finishCallback:t,isFinishing:n,customContent:a}=e,c=(0,p.Z)(e.wpcomHomeUrl),l=(0,p.Z)(e.currentUrl),d=__("Got it, thanks","jetpack-idc");return u().createElement(u().Fragment,null,u().createElement("h2",null,a.migratedTitle?(0,i.createInterpolateElement)(a.migratedTitle,{em:u().createElement("em",null)}):__("Your Jetpack settings have migrated successfully","jetpack-idc")),u().createElement("p",null,(0,i.createInterpolateElement)(a.migratedBodyText||(0,o.sprintf)(/* translators: %1$s: The current site domain name. */ +__("Safe Mode has been switched off for %1$s website and Jetpack is fully functional.","jetpack-idc"),l),{hostname:u().createElement("strong",null),em:u().createElement("em",null),strong:u().createElement("strong",null)})),u().createElement("div",{className:"jp-idc__idc-screen__card-migrated"},u().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},c),u().createElement(s.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-migrated-separator"}),u().createElement(s.Dashicon,{icon:"arrow-right-alt",className:"jp-idc__idc-screen__card-migrated-separator-wide"}),u().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},l)),u().createElement(s.Button,{className:"jp-idc__idc-screen__card-action-button jp-idc__idc-screen__card-action-button-migrated",onClick:t,label:d},n?u().createElement(r.Z,null):d))};m.propTypes={wpcomHomeUrl:c().string.isRequired,currentUrl:c().string.isRequired,finishCallback:c().func,isFinishing:c().bool.isRequired,customContent:c().shape(d.Z)},m.defaultProps={finishCallback:()=>{},isFinishing:!1,customContent:{}},t.Z=m},1064:function(e,t,n){"use strict";var r=n(6895),s=n(9307),i=n(5736),o=n(5162),a=n.n(o),c=n(9196),l=n.n(c),u=n(7144);const __=i.__,d=e=>{const{customContent:t}=e;return l().createElement(l().Fragment,null,l().createElement("h2",null,t.nonAdminTitle?(0,s.createInterpolateElement)(t.nonAdminTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),l().createElement("p",null,(0,s.createInterpolateElement)(t.nonAdminBodyText||__("This site is in Safe Mode because there are 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-idc"),{safeModeLink:l().createElement("a",{href:t.supportURL||(0,r.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),t.nonAdminBodyText?"":l().createElement("p",null,__("An administrator of this site can take Jetpack out of Safe Mode.","jetpack-idc")))};d.propTypes={customContent:a().shape(u.Z)},d.defaultProps={customContent:{}},t.Z=d},567:function(e,t,n){"use strict";var r=n(8868),s=n(9307),i=n(5736),o=n(5162),a=n.n(o),c=n(9196),l=n.n(c),u=n(7144),d=n(5533),p=n(1052),m=n(1064);n(7724);const __=i.__,h=e=>{const{logo:t,customContent:n,wpcomHomeUrl:r,currentUrl:i,redirectUri:o,isMigrating:a,migrateCallback:c,isMigrated:u,finishMigrationCallback:h,isFinishingMigration:g,isStartingFresh:f,startFreshCallback:y,isAdmin:v,hasMigrateError:k,hasFreshError:C,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b}=e,E=v?"":l().createElement(m.Z,{customContent:n});let w="";return v&&(w=u?l().createElement(p.Z,{wpcomHomeUrl:r,currentUrl:i,finishCallback:h,isFinishing:g,customContent:n}):l().createElement(d.Z,{wpcomHomeUrl:r,currentUrl:i,redirectUri:o,customContent:n,isMigrating:a,migrateCallback:c,isStartingFresh:f,startFreshCallback:y,hasMigrateError:k,hasFreshError:C,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b})),l().createElement("div",{className:"jp-idc__idc-screen"+(u?" jp-idc__idc-screen__success":"")},l().createElement("div",{className:"jp-idc__idc-screen__header"},l().createElement("div",{className:"jp-idc__idc-screen__logo"},((e,t)=>"string"==typeof e||e instanceof String?l().createElement("img",{src:e,alt:t,className:"jp-idc__idc-screen__logo-image"}):e)(t,n.logoAlt||"")),l().createElement("div",{className:"jp-idc__idc-screen__logo-label"},n.headerText?(0,s.createInterpolateElement)(n.headerText,{em:l().createElement("em",null),strong:l().createElement("strong",null)}):__("Safe Mode","jetpack-idc"))),E,w)};h.propTypes={logo:a().object.isRequired,customContent:a().shape(u.Z),wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,redirectUri:a().string.isRequired,isMigrating:a().bool.isRequired,migrateCallback:a().func,isMigrated:a().bool.isRequired,finishMigrationCallback:a().func,isFinishingMigration:a().bool.isRequired,isStartingFresh:a().bool.isRequired,startFreshCallback:a().func,isAdmin:a().bool.isRequired,hasMigrateError:a().bool.isRequired,hasFreshError:a().bool.isRequired,hasStaySafeError:a().bool.isRequired,possibleDynamicSiteUrlDetected:a().bool},h.defaultProps={logo:l().createElement(r.Z,{height:24}),isMigrated:!1,isFinishingMigration:!1,isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1},t.Z=h},2533:function(e,t,n){"use strict";var r=n(4743),s=n(5033),i=n(6895),o=n(5609),a=n(4333),c=n(9818),l=n(9307),u=n(5736),d=n(6483),p=n(5162),m=n.n(p),h=n(9196),g=n.n(h),f=n(2678),y=n(7144),v=n(6521),k=n(6637);n(310);const __=u.__,C=e=>{const{isActionInProgress:t,setIsActionInProgress:n,setErrorType:a,clearErrorType:c,hasError:u,customContent:p}=e,[m,f]=(0,h.useState)(!1),y=(0,h.useCallback)((()=>{t||(f(!0),n(!0),c(),(0,v.Z)("confirm_safe_mode"),r.ZP.confirmIDCSafeMode().then((()=>{window.location.href=(0,d.removeQueryArgs)(window.location.href,"jetpack_idc_clear_confirmation","_wpnonce")})).catch((e=>{throw n(!1),f(!1),a("safe-mode"),e})))}),[t,n,a,c]);return g().createElement("div",{className:"jp-idc__safe-mode"},m?g().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},g().createElement(s.Z,{color:"black"}),g().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-idc"))):(_=y,b=t,(0,l.createInterpolateElement)(__("Or decide later and stay in ","jetpack-idc"),{button:g().createElement(o.Button,{label:__("Safe mode","jetpack-idc"),variant:"link",onClick:_,disabled:b})})),u&&(C=p.supportURL,g().createElement(k.Z,null,(0,l.createInterpolateElement)(__("Could not stay in safe mode. Retry or find out more here.","jetpack-idc"),{a:g().createElement("a",{href:C||(0,i.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))));var C,_,b};C.propTypes={isActionInProgress:m().bool,setIsActionInProgress:m().func.isRequired,setErrorType:m().func.isRequired,clearErrorType:m().func.isRequired,hasError:m().bool.isRequired,customContent:m().shape(y.Z)},C.defaultProps={hasError:!1},t.Z=(0,a.compose)([(0,c.withSelect)((e=>({isActionInProgress:e(f.t).getIsActionInProgress()}))),(0,c.withDispatch)((e=>({setIsActionInProgress:e(f.t).setIsActionInProgress,setErrorType:e(f.t).setErrorType,clearErrorType:e(f.t).clearErrorType})))])(C)},1272:function(e,t,n){"use strict";var r=n(9196);t.Z=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},970:function(e,t,n){"use strict";var r=n(4743),s=n(9818),i=n(9196),o=n(2678),a=n(6521);t.Z=e=>{const[t,n]=(0,i.useState)(!1),c=(0,s.useSelect)((e=>e(o.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(o.t);return{isMigrating:t,migrateCallback:(0,i.useCallback)((()=>{c||((0,a.Z)("migrate"),l(!0),n(!0),d(),r.ZP.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),u("migrate"),e})))}),[n,e,c,l,u,d])}}},3105:function(e,t,n){"use strict";var r=n(4743),s=n(9818),i=n(9196),o=n(2678),a=n(6521);t.Z=e=>{const[t,n]=(0,i.useState)(!1),c=(0,s.useSelect)((e=>e(o.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(o.t);return{isStartingFresh:t,startFreshCallback:(0,i.useCallback)((()=>{c||((0,a.Z)("start_fresh"),l(!0),n(!0),d(),r.ZP.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),u("start-fresh"),e})))}),[n,c,l,e,u,d])}}},136:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o},hG:function(){return r},jk:function(){return i},vC:function(){return s}});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",i="CLEAR_ERROR_TYPE",o={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:i})}},7773:function(e,t,n){"use strict";var r=n(9818),s=n(136);const i=(0,r.combineReducers)({isActionInProgress:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===s.hG?t.isInProgress:e},errorType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.vC:return t.errorType;case s.jk:return null}return e}});t.Z=i},9416:function(e,t){"use strict";t.Z={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},5943:function(e,t,n){"use strict";var r=n(17),s=n.n(r),i=n(9818);class o{static mayBeInit(e,t){null===o.store&&(o.store=(0,i.createReduxStore)(e,t),(0,i.register)(o.store))}}s()(o,"store",null),t.Z=o},2678:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(136),s=n(7773),i=n(9416),o=n(5943);const a="jetpack-idc";o.Z.mayBeInit(a,{reducer:s.Z,actions:r.ZP,selectors:i.Z})},7144:function(e,t,n){"use strict";var r=n(5162),s=n.n(r);t.Z={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateButtonLabel:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,startFreshButtonLabel:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string,supportURL:s().string}},2115:function(e,t){"use strict";t.Z=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},6521:function(e,t,n){"use strict";n.d(t,{M:function(){return s},Z:function(){return i}});var r=n(6975);function s(e,t){t&&t.hasOwnProperty("userid")&&t.hasOwnProperty("username")&&r.Z.initialize(t.userid,t.username),e&&(e.hasOwnProperty("blogID")&&r.Z.assignSuperProps({blog_id:e.blogID}),e.hasOwnProperty("platform")&&r.Z.assignSuperProps({platform:e.platform})),r.Z.setMcAnalyticsEnabled(!0)}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.Z&&r.Z.tracks&&r.Z.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.Z.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.Z.mc.bumpStat("jetpack-idc",e))}},8510:function(e){"use strict";if(void 0==={consumer_slug:"identity_crisis"}){var t=new Error('Cannot find module \'{"consumer_slug":"identity_crisis"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"identity_crisis"}},9196:function(e){"use strict";e.exports=window.React},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url},17:function(e,t,n){var r=n(6930);e.exports=function(e,t,n){return(t=r(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:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;tfunction(){if(!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const n=document.getElementById(window.JP_IDENTITY_CRISIS__INITIAL_STATE.containerID||"jp-identity-crisis-container");if(null===n)return;const{WP_API_root:r,WP_API_nonce:i,wpcomHomeUrl:o,currentUrl:a,redirectUri:c,tracksUserData:l,tracksEventData:u,isSafeModeConfirmed:d,consumerData:p,isAdmin:m,possibleDynamicSiteUrlDetected:h}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;if(!d){const d=s().createElement(e.Z,{wpcomHomeUrl:o,currentUrl:a,apiRoot:r,apiNonce:i,redirectUri:c,tracksUserData:l||{},tracksEventData:u,customContent:p.hasOwnProperty("customContent")?p.customContent:{},isAdmin:m,logo:p.hasOwnProperty("logo")?p.logo:void 0,possibleDynamicSiteUrlDetected:h});t.createRoot(n).render(d)}}()))}()}(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php b/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php index 3e49f7d8a..8fc88cc83 100644 --- a/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php +++ b/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php @@ -1 +1 @@ - array('jquery', 'wp-polyfill'), 'version' => '6fc5138ff887b8daa8c2'); + array('jquery', 'wp-polyfill'), 'version' => 'cb764e7817520679ccec'); diff --git a/jetpack_vendor/automattic/jetpack-jitm/build/index.js b/jetpack_vendor/automattic/jetpack-jitm/build/index.js index 284ee5e0d..6ff36f69d 100644 --- a/jetpack_vendor/automattic/jetpack-jitm/build/index.js +++ b/jetpack_vendor/automattic/jetpack-jitm/build/index.js @@ -1 +1 @@ -(()=>{"use strict";var t,e={567:t=>{t.exports=window.jQuery}},a={};function n(t){var i=a[t];if(void 0!==i)return i.exports;var c=a[t]={exports:{}};return e[t](c,c.exports,n),c.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var a in e)n.o(e,a)&&!n.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t=n(567),n.n(t)()(document).ready((function(t){var e={default:function(e){const a='\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t';var n='
';if(n+='
',n+='
'+e.content.icon+"
",n+='
',n+='
'+e.content.message+"
",e.content.description&&""!==e.content.description){if(n+='
'+e.content.description,e.content.list.length>0){n+='
"}if(n+="
",n+="
",n+='
',e.activate_module&&(n+='"),e.CTA.message){var o="jitm-button is-compact jptracks";e.CTA.primary&&null===e.activate_module?o+=" is-primary":o+=" is-secondary";var r=e.CTA.ajax_action,s=e.CTA.newWindow&&!r;n+='"}return n+="
",e.is_dismissible&&(n+=''),t(n+="
")}},a=function(){t(".jetpack-jitm-message").each((function(){var a=t(this),n=a.data("message-path"),i=a.data("query"),c=a.data("redirect"),o=location.hash;o=o.replace(/#\//,"_"),n.includes("jetpack_page_my-jetpack")?n=n.replace("jetpack_page_my-jetpack","jetpack_page_my-jetpack"+o):"_dashboard"!==o&&(n=n.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var r=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:n,query:i,full_jp_logo_exists:r,_wpnonce:a.data("nonce")}).then((function(n){"object"==typeof n&&n[1]&&(n=[n[1]]),0!==n.length&&n[0].content&&function(a,n,i){var c;(c=n.template)&&e[c]||(c="default"),n.url=n.url+"&redirect="+i;var o,r=e[c](n);r.find(".jitm-banner__dismiss").on("click",(o=r,function(e){e.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:n.id,feature_class:n.feature_class}})})),t("#jp-admin-notices").length>0?(a.innerHTML=r,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(r),r.prependTo(t("#jp-admin-notices"))):a.replaceWith(r),r.find("#jitm-banner__activate a").on("click",(function(){var e=t(this);if(e.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+e.data("module")+"/active",method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",a.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){r.fadeOut("slow")}),2e3)}))})),r.find(".jitm-button[data-ajax-action]").on("click",(function(e){e.preventDefault();var n=t(this);return n.attr("disabled",!0),t.post(window.ajaxurl,{action:n.data("ajax-action"),_nonce:a.data("ajax-nonce")}).done((function(){r.fadeOut("slow")})).fail((function(){n.attr("disabled",!1)})),!1}))}(a,n[0],c)}))}))};a(),t(window).on("hashchange",(function(t){const e=t.originalEvent.newURL;if(["jetpack","my-jetpack","jetpack-backup","jetpack-boost","jetpack-protect","jetpack-search","jetpack-social","jetpack-videopress"].some((t=>e.includes(`admin.php?page=${t}`)))){var n=document.querySelector(".jitm-card");n&&n.remove(),a()}}))}))})(); \ No newline at end of file +!function(){"use strict";var t,e={567:function(t){t.exports=window.jQuery}},a={};function n(t){var i=a[t];if(void 0!==i)return i.exports;var c=a[t]={exports:{}};return e[t](c,c.exports,n),c.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var a in e)n.o(e,a)&&!n.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t=n(567),n.n(t)()(document).ready((function(t){var e={default:function(e){const a='\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t';var n='
';if(n+='
',n+='
'+e.content.icon+"
",n+='
',n+='
'+e.content.message+"
",e.content.description&&""!==e.content.description){if(n+='
'+e.content.description,e.content.list.length>0){n+='
"}if(n+="
",n+="
",n+='
',e.activate_module&&(n+='"),e.CTA.message){var o="jitm-button is-compact jptracks";e.CTA.primary&&null===e.activate_module?o+=" is-primary":o+=" is-secondary";var r=e.CTA.ajax_action,s=e.CTA.newWindow&&!r;n+='"}return n+="
",e.is_dismissible&&(n+=''),t(n+="
")}},a=function(){t(".jetpack-jitm-message").each((function(){var a=t(this),n=a.data("message-path"),i=a.data("query"),c=a.data("redirect"),o=location.hash;o=o.replace(/#\//,"_"),n.includes("jetpack_page_my-jetpack")?n=n.replace("jetpack_page_my-jetpack","jetpack_page_my-jetpack"+o):"_dashboard"!==o&&(n=n.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var r=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:n,query:i,full_jp_logo_exists:r,_wpnonce:a.data("nonce")}).then((function(n){"object"==typeof n&&n[1]&&(n=[n[1]]),0!==n.length&&n[0].content&&function(a,n,i){var c;(c=n.template)&&e[c]||(c="default"),n.url=n.url+"&redirect="+i;var o,r=e[c](n);r.find(".jitm-banner__dismiss").on("click",(o=r,function(e){e.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:n.id,feature_class:n.feature_class}})})),t("#jp-admin-notices").length>0?(a.innerHTML=r,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(r),r.prependTo(t("#jp-admin-notices"))):a.replaceWith(r),r.find("#jitm-banner__activate a").on("click",(function(){var e=t(this);if(e.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+e.data("module")+"/active",method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",a.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){r.fadeOut("slow")}),2e3)}))})),r.find(".jitm-button[data-ajax-action]").on("click",(function(e){e.preventDefault();var n=t(this);return n.attr("disabled",!0),t.post(window.ajaxurl,{action:n.data("ajax-action"),_nonce:a.data("ajax-nonce")}).done((function(){r.fadeOut("slow")})).fail((function(){n.attr("disabled",!1)})),!1}))}(a,n[0],c)}))}))};a(),t(window).on("hashchange",(function(t){const e=t.originalEvent.newURL;if(["jetpack","my-jetpack","jetpack-backup","jetpack-boost","jetpack-protect","jetpack-search","jetpack-social","jetpack-videopress"].some((t=>e.includes(`admin.php?page=${t}`)))){var n=document.querySelector(".jitm-card");n&&n.remove(),a()}}))}))}(); \ No newline at end of file