/*! 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:l,grouping:s,precision:i,symbol:o}={...r,...a},m=e<0?"-":"",d=Math.abs(e),u=Math.floor(d);return{sign:m,symbol:o,integer:(0,c.Z)(d,i,l,s).split(l)[0],fraction:i>0?(0,c.Z)(d-u,i,l,s).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,l=isFinite(+t)?Math.abs(t):0,s=(l?function(e,t){const a=Math.pow(10,t);return""+(Math.round(e*a)/a).toFixed(t)}(r,l):""+Math.round(r)).split(".");return s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,n)),(s[1]||"").lengthn})},1074:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(9307);const c=(0,n.forwardRef)((function({icon:e,size:t=24,...a},c){return(0,n.cloneElement)(e,{width:t,height:t,...a,ref:c})}))},3259:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},495:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},2229:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},7489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},9517:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},4160:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(c.Path,{d:"M17.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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},6376:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},496:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},7663:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M10.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(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(c.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},2817:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9196),c=a(444);const r=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(c.Path,{d:"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,l=null;function s(...e){if(!s.enabled)return;const n=s,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 l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((a,c)=>{if("%%"===a)return"%";l++;const r=t.formatters[c];if("function"==typeof r){const t=e[l];a=r.call(n,t),e.splice(l,1),l--}return a})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(c!==t.namespaces&&(c=t.namespaces,r=t.enabled(e)),r),set:e=>{l=e}}),"function"==typeof t.init&&t.init(s),s}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 l(){var e={};for(c.push(e);r{"use strict";a.d(t,{Ep:()=>p,aU:()=>n,cP:()=>h,q_:()=>o});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 l="beforeunload",s="hashchange",i="popstate";function o(e){void 0===e&&(e={});var t=e.window,a=void 0===t?document.defaultView:t,o=a.history;function g(){var e=h(a.location.hash.substr(1)),t=e.pathname,n=void 0===t?"/":t,c=e.search,l=void 0===c?"":c,s=e.hash,i=void 0===s?"":s,m=o.state||{};return[m.idx,r({pathname:n,search:l,hash:i,state:m.usr||null,key:m.key||"default"})]}var f=null;function v(){if(f)Z.call(f),f=null;else{var e=n.Pop,t=g(),a=t[0],c=t[1];if(Z.length){if(null!=a){var r=w-a;r&&(f={action:e,location:c,retry:function(){S(-1*r)}},S(r))}}else N(e)}}a.addEventListener(i,v),a.addEventListener(s,(function(){p(g()[1])!==p(b)&&v()}));var E=n.Pop,k=g(),w=k[0],b=k[1],y=d(),Z=d();function C(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:p(e))}function _(e,t){return void 0===t&&(t=null),r((0,c.Z)({pathname:b.pathname,hash:"",search:""},"string"==typeof e?h(e):e,{state:t,key:u()}))}function R(e,t){return[{usr:e.state,key:e.key,idx:t},C(e)]}function j(e,t,a){return!Z.length||(Z.call({action:e,location:t,retry:a}),!1)}function N(e){E=e;var t=g();w=t[0],b=t[1],y.call({action:E,location:b})}function S(e){o.go(e)}null==w&&(w=0,o.replaceState((0,c.Z)({},o.state,{idx:w}),""));var P={get action(){return E},get location(){return b},createHref:C,push:function e(t,c){var r=n.Push,l=_(t,c);if(j(r,l,(function(){e(t,c)}))){var s=R(l,w+1),i=s[0],m=s[1];try{o.pushState(i,"",m)}catch(e){a.location.assign(m)}N(r)}},replace:function e(t,a){var c=n.Replace,r=_(t,a);if(j(c,r,(function(){e(t,a)}))){var l=R(r,w),s=l[0],i=l[1];o.replaceState(s,"",i),N(c)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return y.push(e)},block:function(e){var t=Z.push(e);return 1===Z.length&&a.addEventListener(l,m),function(){t(),Z.length||a.removeEventListener(l,m)}}};return P}function m(e){e.preventDefault(),e.returnValue=""}function d(){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 u(){return Math.random().toString(36).substr(2,8)}function p(e){var t=e.pathname,a=void 0===t?"/":t,n=e.search,c=void 0===n?"":n,r=e.hash,l=void 0===r?"":r;return c&&"?"!==c&&(a+="?"===c.charAt(0)?c:"?"+c),l&&"#"!==l&&(a+="#"===l.charAt(0)?l:"#"+l),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",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR"}},9054:()=>{},3247:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3080:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},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"}},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__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,l=365.25*c;function s(e,t,a,n){var c=t>=1.5*a;return Math.round(e/a)+" "+n+(c?"s":"")}e.exports=function(e,i){i=i||{};var o=typeof e;if("string"===o&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var i=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*l;case"weeks":case"week":case"w":return i*r;case"days":case"day":case"d":return i*c;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*a;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===o&&isFinite(e))return i.long?function(e){var r=Math.abs(e);if(r>=c)return s(e,r,c,"day");if(r>=n)return s(e,r,n,"hour");if(r>=a)return s(e,r,a,"minute");if(r>=t)return s(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,l){if(l!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var 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:()=>u,UT:()=>m});var n=a(9196),c=a(5250),r=a(5439);function l(){return l=Object.assign||function(e){for(var t=1;t=0||(c[a]=e[a]);return c}const i=["onClick","reloadDocument","replace","state","target","to"],o=["aria-current","caseSensitive","className","end","style","to","children"];function m(e){let{basename:t,children:a,window:l}=e,s=(0,n.useRef)();null==s.current&&(s.current=(0,c.q_)({window:l}));let i=s.current,[o,m]=(0,n.useState)({action:i.action,location:i.location});return(0,n.useLayoutEffect)((()=>i.listen(m)),[i]),(0,n.createElement)(r.F0,{basename:t,children:a,location:o.location,navigationType:o.action,navigator:i})}const d=(0,n.forwardRef)((function(e,t){let{onClick:a,reloadDocument:o,replace:m=!1,state:d,target:u,to:p}=e,h=s(e,i),g=(0,r.oQ)(p),f=function(e,t){let{target:a,replace:l,state:s}=void 0===t?{}:t,i=(0,r.s0)(),o=(0,r.TH)(),m=(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=!!l||(0,c.Ep)(o)===(0,c.Ep)(m);i(e,{replace:a,state:s})}}),[o,i,m,l,s,a,e])}(p,{replace:m,state:d,target:u});return(0,n.createElement)("a",l({},h,{href:g,onClick:function(e){a&&a(e),e.defaultPrevented||o||f(e)},ref:t,target:u}))}));const u=(0,n.forwardRef)((function(e,t){let{"aria-current":a="page",caseSensitive:c=!1,className:i="",end:m=!1,style:u,to:p,children:h}=e,g=s(e,o),f=(0,r.TH)(),v=(0,r.WU)(p),E=f.pathname,k=v.pathname;c||(E=E.toLowerCase(),k=k.toLowerCase());let w,b=E===k||!m&&E.startsWith(k)&&"/"===E.charAt(k.length),y=b?a:void 0;w="function"==typeof i?i({isActive:b}):[i,b?"active":null].filter(Boolean).join(" ");let Z="function"==typeof u?u({isActive:b}):u;return(0,n.createElement)(d,l({},g,{"aria-current":y,className:w,ref:t,style:Z,to:p}),"function"==typeof h?h({isActive:b}):h)}))},5439:(e,t,a)=>{"use strict";a.d(t,{AW:()=>o,F0:()=>m,TH:()=>h,WU:()=>f,Z5:()=>d,oQ:()=>u,s0:()=>g});var n=a(9196),c=a(5250);function r(e,t){if(!e)throw new Error(t)}const l=(0,n.createContext)(null);const s=(0,n.createContext)(null);const i=(0,n.createContext)({outlet:null,matches:[]});function o(e){r(!1)}function m(e){let{basename:t="/",children:a=null,location:i,navigationType:o=c.aU.Pop,navigator:m,static:d=!1}=e;p()&&r(!1);let u=M(t),h=(0,n.useMemo)((()=>({basename:u,navigator:m,static:d})),[u,m,d]);"string"==typeof i&&(i=(0,c.cP)(i));let{pathname:g="/",search:f="",hash:v="",state:E=null,key:k="default"}=i,w=(0,n.useMemo)((()=>{let e=x(g,u);return null==e?null:{pathname:e,search:f,hash:v,state:E,key:k}}),[u,g,f,v,E,k]);return null==w?null:(0,n.createElement)(l.Provider,{value:h},(0,n.createElement)(s.Provider,{children:a,value:{location:w,navigationType:o}}))}function d(e){let{children:t,location:a}=e;return function(e,t){p()||r(!1);let{matches:a}=(0,n.useContext)(i),l=a[a.length-1],s=l?l.params:{},o=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;0;let m,d=h();if(t){var u;let e="string"==typeof t?(0,c.cP)(t):t;"/"===o||(null==(u=e.pathname)?void 0:u.startsWith(o))||r(!1),m=e}else m=d;let g=m.pathname||"/",f="/"===o?g:g.slice(o.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 l=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)))))}(l);let s=null;for(let e=0;null==s&&eObject.assign({},e,{params:Object.assign({},s,e.params),pathname:z([o,e.pathname]),pathnameBase:"/"===e.pathnameBase?o:z([o,e.pathnameBase])}))),a)}(v(t),a)}function u(e){p()||r(!1);let{basename:t,navigator:a}=(0,n.useContext)(l),{hash:s,pathname:i,search:o}=f(e),m=i;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("/");m="/"===i?t+(n?"/":""):z([t,i])}return a.createHref({pathname:m,search:o,hash:s})}function p(){return null!=(0,n.useContext)(s)}function h(){return p()||r(!1),(0,n.useContext)(s).location}function g(){p()||r(!1);let{basename:e,navigator:t}=(0,n.useContext)(l),{matches:a}=(0,n.useContext)(i),{pathname:c}=h(),s=JSON.stringify(a.map((e=>e.pathnameBase))),o=(0,n.useRef)(!1);return(0,n.useEffect)((()=>{o.current=!0})),(0,n.useCallback)((function(a,n){if(void 0===n&&(n={}),!o.current)return;if("number"==typeof a)return void t.go(a);let r=P(a,JSON.parse(s),c);"/"!==e&&(r.pathname=z([e,r.pathname])),(n.replace?t.replace:t.push)(r,n.state)}),[e,t,s,c])}function f(e){let{matches:t}=(0,n.useContext)(i),{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!==o&&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 l={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:c,route:e};l.relativePath.startsWith("/")&&(l.relativePath.startsWith(n)||r(!1),l.relativePath=l.relativePath.slice(n.length));let s=z([n,l.relativePath]),i=a.concat(l);e.children&&e.children.length>0&&(!0===e.index&&r(!1),E(e.children,t,i,s)),(null!=e.path||e.index)&&t.push({path:s,score:R(s,e.index),routesMeta:i})})),t}const k=/^:\w+$/,w=3,b=2,y=1,Z=10,C=-2,_=e=>"*"===e;function R(e,t){let a=e.split("/"),n=a.length;return a.some(_)&&(n+=C),t&&(n+=b),a.filter((e=>!_(e))).reduce(((e,t)=>e+(k.test(t)?w:""===t?y:Z)),n)}function j(e,t){let{routesMeta:a}=e,n={},c="/",r=[];for(let e=0;e(0,n.createElement)(i.Provider,{children:void 0!==c.route.element?c.route.element:a,value:{outlet:a,matches:t.concat(e.slice(0,r+1))}})),null)}function S(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],l=r.replace(/(.)\/+$/,"$1"),s=c.slice(1);return{params:n.reduce(((e,t,a)=>{if("*"===t){let e=s[a]||"";l=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(s[a]||""),e}),{}),pathname:r,pathnameBase:l,pattern:e}}function P(e,t,a){let n,r="string"==typeof e?(0,c.cP)(e):e,l=""===e||""===r.pathname?"/":r.pathname;if(null==l)n=a;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}n=e>=0?t[e]:"/"}let s=function(e,t){void 0===t&&(t="/");let{pathname:a,search:n="",hash:r=""}="string"==typeof e?(0,c.cP)(e):e,l=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:l,search:I(n),hash:L(r)}}(r,n);return l&&"/"!==l&&l.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}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 z=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),I=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},2659:(e,t,a)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var c,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=i(t);if(a&&a.has(e))return a.get(e);var c={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!=l&&Object.prototype.hasOwnProperty.call(e,l)){var s=r?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(c,l,s):c[l]=e[l]}return c.default=e,a&&a.set(e,c),c}(a(9196)),l=(c=a(5162))&&c.__esModule?c:{default:c},s=["size","onClick","icon","className"];function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}function o(){return o=Object.assign||function(e){for(var t,a=1;a{"use strict";a.d(t,{Z:()=>i});var n=a(951);const c=a.n(n)()("dops:analytics");let r,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const s={initialize:function(e,t,a){s.setUser(e,t),s.setSuperProps(a),s.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={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);s.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);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+a+"&t="+Math.random())}},pageView:{record:function(e,t){s.tracks.recordPageView(e),s.ga.recordPageView(e,t)}},purchase:{record:function(e,t,a,n,c,r,l){s.ga.recordPurchase(e,t,a,n,c,r,l)}},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};s.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){s.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={};s.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),s.ga.initialized=!0)},recordPageView:function(e,t){s.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){s.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,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:a,price:c,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=s},4743:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>d});var n=a(1132),c=a(6483);function r(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const l=r("JsonParseError"),s=r("JsonParseAfterRedirectError"),i=r("Api404Error"),o=r("Api404AfterRedirectError"),m=r("FetchNetworkError");const d=new function(e,t){let a=e,r=e,l={"X-WP-Nonce":t},s={credentials:"same-origin",headers:l},i={method:"post",credentials:"same-origin",headers:Object.assign({},l,{"Content-type":"application/json"})},o=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 m={setApiRoot(e){a=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){l={"X-WP-Nonce":e},s={credentials:"same-origin",headers:l},i={method:"post",credentials:"same-origin",headers:Object.assign({},l,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{o=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`,i,{body:JSON.stringify(c)}).then(u).then(p)},fetchAuthorizationUrl:e=>d((0,c.addQueryArgs)(`${a}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(u).then(p),fetchSiteConnectionData:()=>d(`${a}jetpack/v4/connection/data`,s).then(p),fetchSiteConnectionStatus:()=>d(`${a}jetpack/v4/connection`,s).then(p),fetchSiteConnectionTest:()=>d(`${a}jetpack/v4/connection/test`,s).then(u).then(p),fetchUserConnectionData:()=>d(`${a}jetpack/v4/connection/data`,s).then(p),fetchUserTrackingSettings:()=>d(`${a}jetpack/v4/tracking/settings`,s).then(u).then(p),updateUserTrackingSettings:e=>h(`${a}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),disconnectSite:()=>h(`${a}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(u).then(p),fetchConnectUrl:()=>d(`${a}jetpack/v4/connection/url`,s).then(u).then(p),unlinkUser:()=>h(`${a}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(u).then(p),reconnect:()=>h(`${a}jetpack/v4/connection/reconnect`,i).then(u).then(p),fetchConnectedPlugins:()=>d(`${a}jetpack/v4/connection/plugins`,s).then(u).then(p),setHasSeenWCConnectionModal:()=>h(`${a}jetpack/v4/seen-wc-connection-modal`,i).then(u).then(p),fetchModules:()=>d(`${a}jetpack/v4/module/all`,s).then(u).then(p),fetchModule:e=>d(`${a}jetpack/v4/module/${e}`,s).then(u).then(p),activateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(u).then(p),deactivateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${a}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(u).then(p),updateSettings:e=>h(`${a}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),getProtectCount:()=>d(`${a}jetpack/v4/module/protect/data`,s).then(u).then(p),resetOptions:e=>h(`${a}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(u).then(p),activateVaultPress:()=>h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(p),getVaultPressData:()=>d(`${a}jetpack/v4/module/vaultpress/data`,s).then(u).then(p),installPlugin:(e,t)=>{const n={slug:e,status:"active"};return t&&(n.source=t),h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify(n)}).then(u).then(p)},activateAkismet:()=>h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(p),getAkismetData:()=>d(`${a}jetpack/v4/module/akismet/data`,s).then(u).then(p),checkAkismetKey:()=>d(`${a}jetpack/v4/module/akismet/key/check`,s).then(u).then(p),checkAkismetKeyTyped:e=>h(`${a}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(u).then(p),fetchStatsData:e=>d(function(e){let t=`${a}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),s).then(u).then(p).then(f),getPluginUpdates:()=>d(`${a}jetpack/v4/updates/plugins`,s).then(u).then(p),getPlans:()=>d(`${a}jetpack/v4/plans`,s).then(u).then(p),fetchSettings:()=>d(`${a}jetpack/v4/settings`,s).then(u).then(p),updateSetting:e=>h(`${a}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchSiteData:()=>d(`${a}jetpack/v4/site`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${a}jetpack/v4/site/features`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${a}jetpack/v4/site/products`,s).then(u).then(p),fetchSitePurchases:()=>d(`${a}jetpack/v4/site/purchases`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${a}jetpack/v4/site/benefits`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${a}jetpack/v4/site/discount`,s).then(u).then(p).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${a}jetpack/v4/setup/questionnaire`,s).then(u).then(p),fetchRecommendationsData:()=>d(`${a}jetpack/v4/recommendations/data`,s).then(u).then(p),fetchRecommendationsProductSuggestions:()=>d(`${a}jetpack/v4/recommendations/product-suggestions`,s).then(u).then(p),fetchRecommendationsUpsell:()=>d(`${a}jetpack/v4/recommendations/upsell`,s).then(u).then(p),fetchRecommendationsConditional:()=>d(`${a}jetpack/v4/recommendations/conditional`,s).then(u).then(p),saveRecommendationsData:e=>h(`${a}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>d(`${a}jetpack/v4/products`,s).then(u).then(p),fetchRewindStatus:()=>d(`${a}jetpack/v4/rewind`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${a}jetpack/v4/scan`,s).then(u).then(p).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${a}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(u).then(p),fetchPluginsData:()=>d(`${a}jetpack/v4/plugins`,s).then(u).then(p),fetchIntroOffers:()=>d(`${a}jetpack/v4/intro-offers`,s).then(u).then(p),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${a}jetpack/v4/verify-site/google/${e}`:`${a}jetpack/v4/verify-site/google`,s).then(u).then(p),verifySiteGoogle:e=>h(`${a}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(u).then(p),submitSurvey:e=>h(`${a}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(u).then(p),saveSetupQuestionnaire:e=>h(`${a}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(u).then(p),updateLicensingError:e=>h(`${a}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(u).then(p),updateLicenseKey:e=>h(`${a}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(u).then(p),getUserLicensesCounts:()=>d(`${a}jetpack/v4/licensing/user/counts`,s).then(u).then(p),getUserLicenses:()=>d(`${a}jetpack/v4/licensing/user/licenses`,s).then(u).then(p),updateLicensingActivationNoticeDismiss:e=>h(`${a}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(u).then(p),updateRecommendationsStep:e=>h(`${a}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>h(`${a}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(u),startIDCFresh:e=>h(`${a}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(u).then(p),migrateIDC:()=>h(`${a}jetpack/v4/identity-crisis/migrate`,i).then(u),attachLicenses:e=>h(`${a}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(u).then(p),fetchSearchPlanInfo:()=>d(`${r}jetpack/v4/search/plan`,s).then(u).then(p),fetchSearchSettings:()=>d(`${r}jetpack/v4/search/settings`,s).then(u).then(p),updateSearchSettings:e=>h(`${r}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchSearchStats:()=>d(`${r}jetpack/v4/search/stats`,s).then(u).then(p),fetchWafSettings:()=>d(`${a}jetpack/v4/waf`,s).then(u).then(p),updateWafSettings:e=>h(`${a}jetpack/v4/waf`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchWordAdsSettings:()=>d(`${a}jetpack/v4/wordads/settings`,s).then(u).then(p),updateWordAdsSettings:e=>h(`${a}jetpack/v4/wordads/settings`,i,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${r}jetpack/v4/search/pricing`,s).then(u).then(p),fetchMigrationStatus:()=>d(`${a}jetpack/v4/migration/status`,s).then(u).then(p),fetchBackupUndoEvent:()=>d(`${a}jetpack/v4/site/backup/undo-event`,s).then(u).then(p)};function d(e,t){return fetch(o(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,m)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new o(e.redirected):new i})):e.json().catch((e=>h(e))).then((t=>{const a=new Error(`${t.message} (Status ${e.status})`);throw a.response=t,a.name="ApiError",a}))}function p(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,a){throw t?new s(a):new l}function g(){throw new m}},9105:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5736),c=a(5235),r=a.n(c),l=a(8237),s=a(8868),i=a(3846),o=a(3363),m=a(1494);const __=n.__,d=({children:e,moduleName:t=__("Jetpack","jetpack-protect"),moduleNameHref:a,showHeader:n=!0,showFooter:c=!0,showBackground:d=!0,header:u})=>{const p=r()(m.Z["admin-page"],{[m.Z.background]:d});return React.createElement("div",{className:p},n&&React.createElement(o.Z,{horizontalSpacing:5},React.createElement(i.Z,null,u||React.createElement(s.Z,null))),React.createElement(o.Z,{fluid:!0,horizontalSpacing:0},React.createElement(i.Z,null,e)),c&&React.createElement(o.Z,{horizontalSpacing:5},React.createElement(i.Z,null,React.createElement(l.Z,{moduleName:t,moduleNameHref:a}))))}},216:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(9196),c=a.n(n),r=a(281);const l=({children:e})=>c().createElement("div",{className:r.Z["section-hero"]},e)},7525:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(2674),c=a.n(n),r=a(5736),l=a(5235),s=a.n(l),i=a(9196),o=a.n(i);const __=r.__,m=({title:e=__("An Automattic Airline","jetpack-protect"),height:t=7,className:a,...n})=>o().createElement("svg",c()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:s()("jp-automattic-byline-logo",a)},n),o().createElement("desc",{id:"jp-automattic-byline-logo-title"},e),o().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"}),o().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"}),o().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),l=a(1074),s=a(5381),i=a(5235),o=a.n(i),m=a(9196),d=a.n(m),u=a(3466);const p=(0,m.forwardRef)(((e,t)=>{const{children:a,variant:n="primary",size:i="normal",weight:m="bold",icon:p,iconSize:h,disabled:g,isDestructive:f,isLoading:v,isExternalLink:E,className:k,text:w,fullWidth:b,...y}=e,Z=o()(u.Z.button,k,{[u.Z.normal]:"normal"===i,[u.Z.small]:"small"===i,[u.Z.icon]:Boolean(p),[u.Z.loading]:v,[u.Z.regular]:"regular"===m,[u.Z["full-width"]]:b,[u.Z["is-icon-button"]]:Boolean(p)&&!a});y.ref=t;const C="normal"===i?20:16,_=E&&d().createElement(l.Z,{size:C,icon:s.Z,className:u.Z["external-icon"]}),R=E?"_blank":void 0,j=a?.[0]&&null!==a[0]&&"components-tooltip"!==a?.[0]?.props?.className;return d().createElement(r.Button,c()({target:R,variant:n,className:o()(Z,{"has-text":!!p&&j}),icon:E?void 0:p,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:w},y),v&&d().createElement(r.Spinner,null),d().createElement("span",null,a),_)}));p.displayName="Button";const h=p},857:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(1074),c=a(495),r=a(5235),l=a.n(r),s=a(9665),i=a(5106),o=a(1489);const m=({description:e,cta:t,onClick:a,href:r,openInNewTab:m=!1,className:d,tooltipText:u=""})=>{const p=void 0!==r?"a":"button",h="a"===p?{href:r,...m&&{target:"_blank"}}:{onClick:a};return React.createElement("div",{className:l()(o.Z.cut,d)},React.createElement("div",null,React.createElement("div",null,React.createElement(i.ZP,{className:o.Z.description},e),u&&React.createElement(s.Z,{className:o.Z.iconContainer,iconSize:16,offset:4},React.createElement(i.ZP,{variant:"body-small"},u))),React.createElement("div",null,React.createElement(p,h,React.createElement(i.ZP,{className:o.Z.cta},t)))),React.createElement(n.Z,{icon:c.Z,className:o.Z.icon,size:30}))}},7172:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5736),c=a(5235),r=a.n(c),l=a(9196);a(5785);const __=n.__;class s extends l.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-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"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,a=this.props.height||e,n=this.props.width||e,c=this.props.style||{height:a,width:n},l="gridicons-"+this.props.icon,s=r()("gridicon",l,t,{"needs-offset":this.needsOffset(l,e)}),i=this.getSVGDescription(l);return React.createElement("svg",{className:s,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"]},i?React.createElement("desc",null,i):null,this.renderIcon(l))}}const i=s},9665:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5609),c=a(5235),r=a.n(c),l=a(9196),s=a.n(l),i=a(526),o=a(7172);a(1275);const m=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),d=({className:e="",iconClassName:t="",placement:a="bottom-end",animate:c=!0,iconCode:d="info-outline",iconSize:u=18,offset:p=10,title:h,children:g,popoverAnchorStyle:f="icon",forceShow:v=!1,wide:E=!1,inline:k=!0,shift:w=!1})=>{const[b,y]=(0,l.useState)(!1),Z=(0,l.useCallback)((()=>y(!0)),[y]),C=(0,l.useCallback)((()=>y(!1)),[y]),_={position:m(a),placement:a,animate:c,noArrow:!1,resize:!1,flip:!1,offset:p,focusOnMount:"container",onClose:C,className:"icon-tooltip-container",inline:k,shift:w},R="wrapper"===f,j=r()("icon-tooltip-wrapper",e),N={left:R?0:-(62-u/2)+"px"},S=R&&v;return s().createElement("div",{className:j,"data-testid":"icon-tooltip_wrapper"},!R&&s().createElement(i.Z,{variant:"link",onClick:Z},s().createElement(o.Z,{className:t,icon:d,size:u})),s().createElement("div",{className:r()("icon-tooltip-helper",{"is-wide":E}),style:N},(S||b)&&s().createElement(n.Popover,_,s().createElement("div",null,h&&s().createElement("div",{className:"icon-tooltip-title"},h),s().createElement("div",{className:"icon-tooltip-content"},g)))))}},3396:(e,t,a)=>{"use strict";a.d(t,{VS:()=>d});var n=a(2674),c=a.n(n),r=a(5609),l=a(5235),s=a.n(l),i=(a(2659),a(5612));const o=({className:e,size:t=24,viewBox:a="0 0 24 24",opacity:n=1,color:l="#2C3338",children:o})=>{const m={className:s()(i.Z.iconWrapper,e),width:t,height:t,viewBox:a,opacity:n,fill:void 0};return l&&(m.fill=l),React.createElement(r.SVG,c()({},m,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:n},o))},m={...{"anti-spam":({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(r.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(r.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"})),backup:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1 l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4 c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1 c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4 C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6 c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2 c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8 c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2 l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8 C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1 c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4 C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0 C6.6,8.5,6.3,7.6,5.9,6.7z"})),boost:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"})),crm:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"})),extras:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"})),protect:({opacity:e=1,size:t,className:a,color:n})=>React.createElement(o,{className:a,size:t,opacity:e,color:n},React.createElement(r.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),React.createElement(r.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"})),scan:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"})),search:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"})),social:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"})),star:({size:e,className:t=i.Z["star-icon"],color:a})=>React.createElement(o,{className:t,size:e,color:a},React.createElement(r.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})),videopress:({opacity:e=1,size:t,color:a})=>React.createElement(o,{size:t,opacity:e,color:a},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7 h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9 c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z"})),jetpack:({size:e,className:t=i.Z.jetpack,color:a})=>React.createElement(o,{className:t,size:e,color:a,viewBox:"0 0 32 32"},React.createElement(r.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),React.createElement(r.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(r.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"})),share:({size:e=16,className:t,color:a})=>React.createElement(o,{className:t,size:e,color:a,viewBox:"0 0 16 16"},React.createElement(r.Path,{fill:"#161722",fillRule:"evenodd",d:"M8.3 4.66C3.85 5.308.727 9.75.034 13.69l-.02.117c-.137.842.809 1.232 1.446.68 2.013-1.745 3.648-2.475 5.318-2.719a10.482 10.482 0 011.524-.103v2.792c0 .694.82 1.041 1.3.55l6.176-6.307a.79.79 0 00.012-1.088L9.614 1.004C9.14.496 8.301.84 8.301 1.542v3.117zm1.525-1.175v1.85a.773.773 0 01-.654.77l-.655.096c-2.133.311-3.987 1.732-5.295 3.672-.472.7-.854 1.44-1.143 2.18a12.32 12.32 0 011.675-.972c1.58-.75 3.048-.972 4.548-.972h.762a.77.77 0 01.762.779v1.69l4.347-4.44-4.347-4.653z",clipRule:"evenodd"}))}};function d(e){return m[e]?m[e]:null}},8237:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(2674),c=a.n(n),r=a(9818),l=a(5736),s=a(1074),i=a(5381),o=a(5235),m=a.n(o),d=a(9196),u=a.n(d),p=a(6895),h=a(428),g=a(2497),f=a(7525),v=(a(9054),a(8868)),E=a(2054);const __=l.__,_x=l._x,k=()=>u().createElement(v.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),w=({moduleName:e=__("Jetpack","jetpack-protect"),className:t,moduleNameHref:a="https://jetpack.com",menu:n,onAboutClick:l,onPrivacyClick:o,onTermsClick:d,...v})=>{const[w]=(0,E.Z)("sm","<="),[b]=(0,E.Z)("md","<="),[y]=(0,E.Z)("lg",">"),{isActive:Z,connectedPlugins:C}=(0,r.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),_=(0,g.Z)(),R=_&&Z&&C?.some((({slug:e})=>"jetpack"===e));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",_).href:(0,p.Z)("jetpack-about"),target:R?"_self":"_blank",onClick:l},{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",_).href:(0,p.Z)("a8c-privacy"),target:R?"_self":"_blank",onClick:o},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-protect"),title:__("WordPress.com Terms of Service","jetpack-protect"),href:(0,p.Z)("wpcom-tos"),target:"_blank",onClick:d}];n&&(j=[...j,...n]);const N=u().createElement(u().Fragment,null,u().createElement(k,null),e);return u().createElement("footer",c()({className:m()("jp-dashboard-footer",{"is-sm":w,"is-md":b,"is-lg":y},t),"aria-label":__("Jetpack","jetpack-protect")},v),u().createElement("ul",null,u().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?u().createElement("a",{href:a},N):N),j.map((e=>{const t="button"===e.role,a=!t&&"_blank"===e.target;return u().createElement("li",{key:e.label},u().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:m()("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&&u().createElement(s.Z,{icon:i.Z,size:16})))})),u().createElement("li",{className:"jp-dashboard-footer__a8c-item"},u().createElement("a",{href:R?new URL("admin.php?page=jetpack_about",_).href:(0,p.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-protect")},u().createElement(f.Z,{"aria-hidden":"true"})))))}},8868:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(2674),c=a.n(n),r=a(5736),l=a(5235),s=a.n(l),i=a(9196),o=a.n(i);const __=r.__,m=({logoColor:e="#069e08",showText:t=!0,className:a,height:n=32,...r})=>{const l=t?"0 0 118 32":"0 0 32 32";return o().createElement("svg",c()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:l,className:s()("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:n},r),o().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-protect")),o().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&o().createElement(o().Fragment,null,o().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"}),o().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"}),o().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"}),o().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"}),o().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"}),o().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"}),o().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:()=>m});var n=a(5235),c=a.n(n),r=a(9196),l=a(3080);const s=Number(l.Z.smCols),i=Number(l.Z.mdCols),o=Number(l.Z.lgCols),m=e=>{const{children:t,tagName:a="div",className:n}=e,m=Math.min(s,"number"==typeof e.sm?e.sm:s),d=Math.min(s,"object"==typeof e.sm?e.sm.start:0),u=Math.min(s,"object"==typeof e.sm?e.sm.end:0),p=Math.min(i,"number"==typeof e.md?e.md:i),h=Math.min(i,"object"==typeof e.md?e.md.start:0),g=Math.min(i,"object"==typeof e.md?e.md.end:0),f=Math.min(o,"number"==typeof e.lg?e.lg:o),v=Math.min(o,"object"==typeof e.lg?e.lg.start:0),E=Math.min(o,"object"==typeof e.lg?e.lg.end:0),k=c()(n,{[l.Z[`col-sm-${m}`]]:!(d&&u),[l.Z[`col-sm-${d}-start`]]:d>0,[l.Z[`col-sm-${u}-end`]]:u>0,[l.Z[`col-md-${p}`]]:!(h&&g),[l.Z[`col-md-${h}-start`]]:h>0,[l.Z[`col-md-${g}-end`]]:g>0,[l.Z[`col-lg-${f}`]]:!(v&&E),[l.Z[`col-lg-${v}-start`]]:v>0,[l.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:()=>s});var n=a(5235),c=a.n(n),r=a(9196),l=a(8730);const s=({children:e,fluid:t=!1,tagName:a="div",className:n,horizontalGap:s=1,horizontalSpacing:i=1})=>{const o=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${i} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${s} )`}}),[s,i]),m=c()(n,l.Z.container,{[l.Z.fluid]:t});return(0,r.createElement)(a,{className:m,style:o},e)}},2054:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(4333),c=a(3247);const r=["sm","md","lg"],l=(e,t)=>{const a=Array.isArray(e)?e:[e],l=Array.isArray(t)?t:[t],[s,i,o]=r,m={sm:(0,n.useMediaQuery)(c.Z[s]),md:(0,n.useMediaQuery)(c.Z[i]),lg:(0,n.useMediaQuery)(c.Z[o])};return a.map(((e,t)=>{const a=l[t];return a?((e,t,a)=>{const n=r.indexOf(e),c=n+1,l=t.includes("=");let s=[];return t.startsWith("<")&&(s=r.slice(0,l?c:n)),t.startsWith(">")&&(s=r.slice(l?n:c)),s?.length?s.some((e=>a[e])):a[e]})(e,a,m):m[e]}))}},1342:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(797),c=a(496),r=a(9201),l=a(1074),s=a(9517),i=a(5235),o=a.n(i),m=a(9196),d=a.n(m),u=a(7703);const p=e=>{switch(e){case"error":case"warning":default:return n.Z;case"info":return c.Z;case"success":return r.Z}},h=({level:e,title:t,children:a,actions:n,hideCloseButton:c,onClose:r})=>{const i=o()(u.Z.container,u.Z[`is-${e}`]);return d().createElement("div",{className:i},d().createElement("div",{className:u.Z["icon-wrapper"]},d().createElement(l.Z,{icon:p(e),className:u.Z.icon})),d().createElement("div",{className:u.Z["main-content"]},d().createElement("div",{className:u.Z.title},t),a,n&&n.length>0&&d().createElement("div",{className:u.Z["action-bar"]},n.map(((e,t)=>d().createElement("div",{key:t,className:u.Z.action},e))))),!c&&d().createElement("button",{"aria-label":"close",className:u.Z["close-button"],onClick:r},d().createElement(l.Z,{icon:s.Z})))};h.defaultProps={level:"info",hideCloseButton:!1};const g=h},9608:(e,t,a)=>{"use strict";a.d(t,{NE:()=>b,ZP:()=>Z,kF:()=>w,oK:()=>y});var n=a(5736),c=a(1074),r=a(9201),l=a(6163),s=a(5235),i=a.n(s),o=a(9196),m=a.n(o),d=a(9665),u=a(2054),p=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,o.createContext)(void 0),w=({isIncluded:e=!1,isComingSoon:t=!1,index:a=0,label:s=null,tooltipInfo:p,tooltipTitle:w,tooltipClassName:b=""})=>{const[y]=(0,u.Z)("lg"),Z=(0,o.useContext)(k)[a],C=t||e,_=Z.name,R=Z.tooltipInfo,j=Z.tooltipTitle,N=p||!y&&R,S=((e,t,a)=>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)})(t,e,_),P=y?S.lg:S.default;return m().createElement("div",{className:i()(g.Z.item,g.Z.value)},m().createElement(c.Z,{className:i()(g.Z.icon,C?g.Z["icon-check"]:g.Z["icon-cross"]),size:32,icon:C?r.Z:l.Z}),m().createElement(h.ZP,{variant:"body-small"},s||P),N&&m().createElement(d.Z,{title:w||j,iconClassName:g.Z["popover-icon"],className:i()(g.Z.popover,b),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(w&&p)},m().createElement(h.ZP,{variant:"body-small",component:"div"},p||R)))},b=({children:e})=>m().createElement("div",{className:g.Z.header},e),y=({primary:e=!1,children:t})=>{let a=0;return m().createElement("div",{className:i()(g.Z.card,{[g.Z["is-primary"]]:e})},o.Children.map(t,(e=>{const t=e;return t.type===w?(a++,(0,o.cloneElement)(t,{index:a-1})):t})))},Z=({title:e,items:t,children:a,showIntroOfferDisclaimer:n=!1})=>{const[c]=(0,u.Z)("lg");return m().createElement(k.Provider,{value:t},m().createElement("div",{className:i()(g.Z.container,{[g.Z["is-viewport-large"]]:c}),style:{"--rows":t.length+1,"--columns":o.Children.toArray(a).length+1}},m().createElement("div",{className:g.Z.table},m().createElement(h.ZP,{variant:"headline-small"},e),c&&t.map(((e,a)=>m().createElement("div",{className:i()(g.Z.item,{[g.Z["last-feature"]]:a===t.length-1}),key:a},m().createElement(h.ZP,{variant:"body-small"},m().createElement("strong",null,e.name)),e.tooltipInfo&&m().createElement(d.Z,{title:e.tooltipTitle,iconClassName:g.Z["popover-icon"],className:g.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},m().createElement(h.ZP,{variant:"body-small"},e.tooltipInfo))))),a)),m().createElement("div",{className:g.Z["tos-container"]},m().createElement("div",{className:g.Z.tos},n&&m().createElement(h.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-protect")),m().createElement(p.Z,{multipleButtons:!0}))))}},5347:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5736),c=a(5235),r=a.n(c),l=a(5106),s=a(3789),i=a(9184);const __=n.__,o=({price:e,offPrice:t,currency:a="",showNotOffPrice:n=!0,hideDiscountLabel:c=!0,promoLabel:o="",legend:m=__("/month, paid yearly","jetpack-protect"),isNotConvenientPrice:d=!1,hidePriceFraction:u=!1,children:p})=>{if(null==e&&null==t||!a)return null;n=n&&null!=t;const h="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,g=!c&&h&&h>0?h+__("% off","jetpack-protect"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:i.Z.container},React.createElement("div",{className:r()(i.Z["price-container"],"product-price_container")},React.createElement(s.t,{value:t??e,currency:a,isOff:!d,hidePriceFraction:u}),n&&React.createElement(s.t,{value:e,currency:a,isOff:!1,hidePriceFraction:u}),g&&React.createElement(l.ZP,{className:r()(i.Z["promo-label"],"product-price_promo_label")},g))),React.createElement("div",{className:i.Z.footer},p||React.createElement(l.ZP,{className:r()(i.Z.legend,"product-price_legend")},m),o&&React.createElement(l.ZP,{className:r()(i.Z["promo-label"],"product-price_promo_label")},o)))}},3789:(e,t,a)=>{"use strict";a.d(t,{t:()=>i});var n=a(8899),c=a(5235),r=a.n(c),l=a(5106),s=a(9184);const i=({value:e,currency:t,isOff:a,hidePriceFraction:c})=>{const i=r()(s.Z.price,"product-price_price",{[s.Z["is-not-off-price"]]:!a}),{symbol:o,integer:m,fraction:d}=(0,n.LR)(e,t),u=!c||!d.endsWith("00");return React.createElement(l.ZP,{className:i,variant:"headline-medium",component:"p"},React.createElement(l.ZP,{className:s.Z.symbol,component:"sup",variant:"title-medium"},o),m,u&&React.createElement(l.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},5033:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5162),c=a.n(n),r=a(9196),l=a.n(r);a(1683);const s=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 l().createElement("div",{className:t},l().createElement("div",{className:"jp-components-spinner__outer",style:a},l().createElement("div",{className:"jp-components-spinner__inner",style:n})))};s.propTypes={color:c().string,className:c().string,size:c().number},s.defaultProps={color:"#FFFFFF",className:"",size:20};const i=s},7325:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(9307),c=a(5736),r=a(5235),l=a.n(r),s=a(6895),i=a(5106);a(7920);const __=c.__,o=()=>(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(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),m=({agreeButtonLabel:e})=>(0,n.createInterpolateElement)((0,c.sprintf)(/* translators: %s is a button label */ __("By clicking the %s button, you agree to our Terms of Service and to share details with WordPress.com.","jetpack-protect"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,s.Z)(e),rel:"noopener noreferrer",target:"_blank"},t),u=({className:e,multipleButtons:t,agreeButtonLabel:a})=>React.createElement(i.ZP,{className:l()(e,"terms-of-service")},t?React.createElement(o,null):React.createElement(m,{agreeButtonLabel:a}))},6017:(e,t,a)=>{"use strict";a.d(t,{h:()=>n,s:()=>c});const n={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},c=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,a)=>{"use strict";a.d(t,{Dx:()=>h,H3:()=>p,ZP:()=>u});var n=a(2674),c=a.n(n),r=a(5235),l=a.n(r),s=a(9196),i=a.n(s),o=a(6017),m=a(3280);const d=(0,s.forwardRef)((({variant:e="body",children:t,component:a,className:n,...r},d)=>{const u=a||o.h[e]||"span",p=(0,s.useMemo)((()=>o.s.reduce(((e,t)=>(void 0!==r[t]&&(e+=m.Z[`${t}-${r[t]}`]+" ",delete r[t]),e)),"")),[r]);return r.ref=d,i().createElement(u,c()({className:l()(m.Z.reset,m.Z[e],n,p)},r),t)}));d.displayName="Text";const u=d,p=({children:e,weight:t="bold",...a})=>{const n="headline-small"+("bold"===t?"":`-${t}`);return i().createElement(d,c()({variant:n,mb:3},a),e)},h=({children:e,size:t="medium",...a})=>i().createElement(d,c()({variant:`title-${t}`,mb:1},a),e)},8275:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>u});var n=a(9196),c=a.n(n),r=a(3591);const l={"--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)"},s={"--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 )"},i={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},o={"--spacing-base":"8px"},m={},d=(e,t,a)=>{const n={...l,...s,...i,...o};for(const t in n)e.style.setProperty(t,n[t]);a&&e.classList.add(r.Z.global),t&&(m[t]={provided:!0,root:e})},u=({children:e=null,targetDom:t,id:a,withGlobalStyles:r=!0})=>{const l=(0,n.useRef)(),s=m?.[a]?.provided;return(0,n.useLayoutEffect)((()=>{if(!s)return t?d(t,a,r):void(l?.current&&d(l.current,a,r))}),[t,l,s,a,r]),t?c().createElement(c().Fragment,null,e):c().createElement("div",{ref:l},e)}},2497:(e,t,a)=>{"use strict";function n(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}a.d(t,{Z:()=>n})},6895:(e,t,a)=>{"use strict";function n(e,t={}){const a={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,a.url=encodeURIComponent(e)}else a.source=encodeURIComponent(e);for(const e in t)a[e]=encodeURIComponent(t[e]);!Object.keys(a).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(a.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(a.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(a).map((e=>e+"="+a[e])).join("&")}a.d(t,{Z:()=>n})},1132:(e,t,a)=>{let n={};try{n=a(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:()=>p});var n=a(2054),c=a(5033),r=a(5609),l=a(5736),s=a(5162),i=a.n(s),o=a(9196),m=a.n(o),d=a(9836);const __=l.__,u=e=>{const{message:t,isRestoringConnection:a,restoreConnectionCallback:s,restoreConnectionError:i}=e,[o]=(0,n.Z)(["md"],[">"]),u=d.Z.notice+(o?" "+d.Z["bigger-than-medium"]:""),p=m().createElement(r.Icon,{icon:m().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m().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"}),m().createElement(r.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),m().createElement(r.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!t)return null;if(a)return m().createElement(r.Notice,{status:"error",isDismissible:!1,className:u},m().createElement("div",{className:d.Z.message},m().createElement(c.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-protect")));const h=i?m().createElement(r.Notice,{status:"error",isDismissible:!1,className:u+" "+d.Z.error},m().createElement("div",{className:d.Z.message},p,(0,l.sprintf)(/* translators: placeholder is the error. */ __("There was an error reconnecting Jetpack. Error: %s","jetpack-protect"),i))):null;return m().createElement(m().Fragment,null,h,m().createElement(r.Notice,{status:"error",isDismissible:!1,className:u},m().createElement("div",{className:d.Z.message},p,t),s&&m().createElement("a",{onClick:s,onKeyDown:s,className:d.Z.button,href:"#"},__("Restore Connection","jetpack-protect"))))};u.propTypes={message:i().string.isRequired,restoreConnectionCallback:i().func,isRestoringConnection:i().bool,restoreConnectionError:i().string};const p=u},1294:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(4743),c=a(9818),r=a(9196),l=a(428);const s=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},i=({registrationNonce:e=s.registrationNonce,apiRoot:t=s.apiRoot,apiNonce:a=s.apiNonce,redirectUri:i,autoTrigger:o,from:m,skipUserConnection:d}={})=>{const{registerSite:u,connectUser:p,refreshConnectedPlugins:h}=(0,c.useDispatch)(l.t),g=(0,c.useSelect)((e=>e(l.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:v,userConnectionData:E,connectedPlugins:k,connectionErrors:w,isRegistered:b,isUserConnected:y,hasConnectedOwner:Z,isOfflineMode:C}=(0,c.useSelect)((e=>({siteIsRegistering:e(l.t).getSiteIsRegistering(),userIsConnecting:e(l.t).getUserIsConnecting(),userConnectionData:e(l.t).getUserConnectionData(),connectedPlugins:e(l.t).getConnectedPlugins(),connectionErrors:e(l.t).getConnectionErrors(),isOfflineMode:e(l.t).getIsOfflineMode(),...e(l.t).getConnectionStatus()}))),_=()=>d?i?(window.location=i,Promise.resolve(i)):Promise.resolve():p({from:m,redirectUri:i}),R=t=>(t&&t.preventDefault(),b?_():u({registrationNonce:e,redirectUri:i}).then((()=>_())));return(0,r.useEffect)((()=>{n.ZP.setApiRoot(t),n.ZP.setApiNonce(a)}),[t,a]),(0,r.useEffect)((()=>{!o||f||v||R()}),[]),{handleRegisterSite:R,handleConnectUser:_,refreshConnectedPlugins:h,isRegistered:b,isUserConnected:y,siteIsRegistering:f,userIsConnecting:v,registrationError:g,userConnectionData:E,hasConnectedOwner:Z,connectedPlugins:k,connectionErrors:w,isOfflineMode:C}}},7711:(e,t,a)=>{"use strict";function n(){switch("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}a.d(t,{Z:()=>n})},3329:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l,h:()=>s});var n=a(6186),c=a(1294),r=a(1045);function l(){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 s=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=l(),{restoreConnection:a,isRestoringConnection:c,restoreConnectionError:s}=(0,r.Z)();return e?React.createElement(n.Z,{isRestoringConnection:c,restoreConnectionError:s,restoreConnectionCallback:a,message:t}):null}},8258:(e,t,a)=>{"use strict";a.d(t,{Z:()=>v});var n=a(4743),c=a(7711),r=a(9818),l=a(951),s=a.n(l),i=a(9196),o=a(1294),m=a(428);const d=s()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:u,apiRoot:p,apiNonce:h,siteSuffix:g}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},f="undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function v({productSlug:e,redirectUrl:t,siteSuffix:a=g,adminUrl:l=f,connectAfterCheckout:s=!1,siteProductAvailabilityHandler:v=null,quantity:E=null,from:k,useBlogIdSuffix:w=!1}={}){d("productSlug is %s",e),d("redirectUrl is %s",t),d("siteSuffix is %s",a),d("from is %s",k);const[b,y]=(0,i.useState)(!1),{registerSite:Z}=(0,r.useDispatch)(m.t),C=(0,r.useSelect)((e=>e(m.t).getBlogId()),[m.t]);d("blogID is %s",C??"undefined"),w=w&&!!C;const{isUserConnected:_,isRegistered:R,handleConnectUser:j}=(0,o.Z)({redirectUri:t,from:k}),N=(0,i.useMemo)((()=>{const n=(0,c.Z)(),r=(!R||!_)&&s,i=r?"checkout/jetpack/":`checkout/${w?C.toString():a}/`,o=new URL(`${n}${i}${e}${null!=E?`:-q-${E}`:""}`);return r?(o.searchParams.set("connect_after_checkout",!0),o.searchParams.set("admin_url",l),o.searchParams.set("from_site_slug",a)):o.searchParams.set("site",a),o.searchParams.set("source",k),o.searchParams.set("redirect_to",t),_||o.searchParams.set("unlinked","1"),o}),[R,_,s,a,E,e,k,t,l,w,C]);d("isRegistered is %s",R),d("isUserConnected is %s",_),d("connectAfterCheckout is %s",s),d("checkoutUrl is %s",N);const S=()=>Promise.resolve(v&&v()).then((e=>{if(e)return d("handleAfterRegistration: Site has a product associated"),j();d("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",N),window.location.href=N}));return(0,i.useEffect)((()=>{n.ZP.setApiRoot(p),n.ZP.setApiNonce(h)}),[]),{run:e=>(e&&e.preventDefault(),y(!0),s?(d("Redirecting to connectAfterCheckout flow: %s",N),void(window.location.href=N)):R?S():void Z({registrationNonce:u,redirectUri:t}).then(S)),isRegistered:R,hasCheckoutStarted:b}}},1045:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(4743),c=a(9818),r=a(9196),l=a(428);const{apiRoot:s,apiNonce:i}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function o(){const[e,t]=(0,r.useState)(!1),[a,o]=(0,r.useState)(null),{disconnectUserSuccess:m,setConnectionErrors:d}=(0,c.useDispatch)(l.t);return(0,r.useEffect)((()=>{n.ZP.setApiRoot(s),n.ZP.setApiNonce(i)}),[]),{restoreConnection:(e=!0)=>(t(!0),o(null),n.ZP.reconnect().then((t=>("in_progress"===t.status?(m(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),t))).catch((e=>{throw o(e),t(!1),e}))),isRestoringConnection:e,restoreConnectionError:a}}},7523:(e,t,a)=>{"use strict";a.d(t,{LI:()=>r,N4:()=>s,Qo:()=>d,T1:()=>o,TS:()=>m,ZP:()=>y,b5:()=>p,i6:()=>c,qJ:()=>h,qV:()=>i,r7:()=>l,wQ:()=>u});var n=a(4743);const c="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",l="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",i="SET_REGISTRATION_ERROR",o="CLEAR_REGISTRATION_ERROR",m="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",p="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:c,connectionStatus:e}),f=e=>({type:l,isRegistering:e}),v=e=>({type:s,isConnecting:e}),E=e=>({type:i,registrationError:e}),k=()=>({type:o}),w=e=>({type:m,authorizationUrl:e}),b=e=>({type:u,connectedPlugins:e});const y={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:w,registerSite:function*({registrationNonce:e,redirectUri:t}){yield k(),yield f(!0);try{const a=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t};return yield g({isRegistered:!0}),yield w(a.authorizeUrl),yield f(!1),Promise.resolve(a)}catch(e){return yield E(e),yield f(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:a}={}){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:a}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:b,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>n.ZP.fetchConnectedPlugins().then((a=>{e(b(a)),t(a)})))),setConnectionErrors:e=>({type:p,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(4743),c=a(9818),r=a(7057);const l={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>n.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t})=>n.ZP.registerSite(e,t),CONNECT_USER:(0,c.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:a,redirectUri:n}={})=>new Promise(((c,l)=>{e(r.Z).getAuthorizationUrl(n).then((e=>{const n=a||(e=>window.location.assign(e)),r=new URL(e);t&&r.searchParams.set("from",encodeURIComponent(t));const l=r.toString();n(l),c(l)})).catch((e=>{l(e)}))}))))}},1479:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9818),c=a(7523);const r=(0,n.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case c.i6:return{...e,...t.connectionStatus};case c.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===c.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===c.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===c.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case c.T1:return!1;case c.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===c.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===c.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===c.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===c.qJ?t.isConnecting:e})},7728:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(9818),c=a(7523),r=a(7057);const l={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const a=Boolean(e.authorizationUrl),c=(0,n.select)(r.Z).hasFinishedResolution("getAuthorizationUrl",t);return a&&!c&&(0,n.dispatch)(r.Z).finishResolution("getAuthorizationUrl",t),a},*fulfill(e){const t=yield c.ZP.fetchAuthorizationUrl(e);yield c.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(9818);class c{static store=null;static mayBeInit(e,t){null===c.store&&(c.store=(0,n.createReduxStore)(e,t),(0,n.register)(c.store))}}const r=c},7057:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n="jetpack-connection"},428:(e,t,a)=>{"use strict";a.d(t,{t:()=>o.Z});var n=a(7523),c=a(1432),r=a(1479),l=a(7728),s=a(2725),i=a(3535),o=a(7057);const m=window.JP_CONNECTION_INITIAL_STATE;m||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."),i.Z.mayBeInit(o.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:n.ZP,selectors:s.Z,resolvers:l.Z,controls:c.Z,initialState:m||{}})},1827:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(6989),c=a.n(n),r=a(4769),l=a.n(r);const s={fetchWaf:()=>c()({path:"jetpack-protect/v1/waf",method:"GET"}).then(l()),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:()=>C});var n=a(2674),c=a.n(n),r=a(9105),l=a(3363),s=a(8258),i=a(6989),o=a.n(i),m=a(9818),d=a(5736),u=a(6483),p=a(9196),h=a.n(p),g=a(3898),f=a(8963),v=a(4633),E=a(6402),k=a(8266),w=a(291),b=a(3324),y=a(3900),Z=a(2770);const __=d.__,C=({children:e})=>{(0,Z.Z)();const{isSeen:t}=(0,f.Z)(),a=(0,m.useSelect)((e=>e(v.t).getNotice())),{refreshPlan:n,startScanOptimistically:i,refreshStatus:d}=(0,m.useDispatch)(v.t),{adminUrl:C}=window.jetpackProtectInitialState||{},{run:_,isRegistered:R,hasCheckoutStarted:j}=(0,s.Z)({productSlug:g.o,redirectUrl:(0,u.addQueryArgs)(C,{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")&&(i(),setTimeout((()=>{n(),d(!0)}),5e3))}),[n,d,i]),!R||j?h().createElement(E.Z,{onScanAdd:_}):h().createElement(r.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:h().createElement(k.Z,null)},a.message&&h().createElement(w.Z,c()({floating:!0,dismissable:!0},a)),h().createElement(l.Z,{horizontalSpacing:0},h().createElement(b.Z,{className:y.Z.navigation},h().createElement(b.O,{link:"/",label:__("Scan","jetpack-protect")}),h().createElement(b.O,{link:"/firewall",label:h().createElement(h().Fragment,null,__("Firewall","jetpack-protect"),!1===t&&h().createElement("span",{className:y.Z.badge},__("New","jetpack-protect")))}))),e)}},2770:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(1294),c=a(9818),r=a(9196),l=a(4633);const s=()=>{const{isRegistered:e}=(0,n.Z)(),{refreshStatus:t}=(0,c.useDispatch)(l.t),a=(0,c.useSelect)((e=>e(l.t).getStatus()));(0,r.useEffect)((()=>{e&&!a.status&&t()}),[e])}},4948:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(5609),c=a(9196),r=a.n(c),l=a(9993);function s({className:e,color:t="#D63638"}){return r().createElement("div",{className:l.Z.container},r().createElement(n.SVG,{className:e,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:t}),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:()=>o});var n=a(5033),c=a(9818),r=a(5736),l=a(4633),s=a(9886),i=a(4424);const __=r.__,o=({children:e})=>{const{checkCredentials:t}=(0,c.useDispatch)(l.t),{credentials:a,credentialsIsFetching:r}=(0,c.useSelect)((e=>({credentials:e(l.t).getCredentials(),credentialsIsFetching:e(l.t).getCredentialsIsFetching()})));return a||r||t(),a?0===a.length?React.createElement(s.Z,null):e:React.createElement("div",{className:i.Z.loading},React.createElement(n.Z,{color:"black",style:{color:"black",marginTop:0,marginLeft:0}}),React.createElement("p",{className:i.Z.loading__message},__("Checking credentials…","jetpack-protect")))}},9886:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5106),c=a(526),r=a(6895),l=a(9818),s=a(5736),i=a(9196),o=a(4633),m=a(291),d=a(3064);const __=s.__,u=()=>{const{setModal:e}=(0,l.useDispatch)(o.t),{siteSuffix:t}=window.jetpackProtectInitialState,{checkCredentials:a}=(0,l.useDispatch)(o.t),s=(0,l.useSelect)((e=>e(o.t).getCredentials()));return(0,i.useEffect)((()=>{const e=setInterval((()=>{s&&0!==s.length||a()}),3e3);return()=>clearInterval(e)}),[a,s]),React.createElement(React.Fragment,null,React.createElement(n.ZP,{variant:"title-medium",mb:2},__("Site credentials needed","jetpack-protect")),React.createElement(m.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:d.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:()=>s});var n=a(7470),c=a(9196),r=a(9137);const l=e=>{const t=e.lastIndexOf("/");return t>-1?[e.slice(0,t),e.slice(t)]:["",e]},s=({diff:e})=>React.createElement("div",{className:r.Z["diff-viewer"]},(0,n.G)(e).map(((e,t)=>React.createElement(c.Fragment,{key:t},React.createElement("div",{key:`file-${t}`,className:r.Z["diff-viewer__filename"]},(({oldFileName:e,newFileName:t})=>{const a="a"===e[0]&&"/"===e[1]&&"b"===t[0]&&"/"===t[1],[n,s]=a?[e.slice(2),t.slice(2)]:[e,t];if(n===s){const[e,t]=l(n);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 i=Math.max(n.length,s.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),l=a(5609),s=a(9818),i=a(9307),o=a(5736),m=a(9196),d=a(3898),u=a(8963),p=a(4633),h=a(9909),g=a(3932);const __=o.__,f=()=>{const{setModal:e}=(0,s.useDispatch)(p.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,u.Z)(),{jetpackWafShareData:c}=e||{},{setNotice:r}=(0,s.useDispatch)(p.t),[o,h]=(0,m.useState)({jetpack_waf_share_data:c}),f=(0,m.useCallback)((()=>{h({...o,jetpack_waf_share_data:!o.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,i.createInterpolateElement)(__("An error ocurred. Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(l.ExternalLink,{href:d.K})})})}))}),[o,a,r]);return(0,m.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(l.CheckboxControl,{checked:Boolean(o.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,u.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),l=a(3363),s=a(3846),i=a(8258),o=a(5609),m=a(5736),d=a(1074),u=a(1646),p=a(5235),h=a.n(p),g=a(9196),f=a.n(g),v=a(3898),E=a(6477),k=a(5773),w=a(8963),b=a(8452);const __=m.__,y=()=>{const{adminUrl:e}=window.jetpackProtectInitialState||{},t=e+"#/firewall",{config:{automaticRulesAvailable:a}}=(0,w.Z)(),{run:c}=(0,i.Z)({productSlug:v.o,redirectUrl:t}),{recordEventHandler:r}=(0,E.Z)(),l=r("jetpack_protect_waf_header_get_scan_link_click",c);return f().createElement(n.Z,{className:b.Z["upgrade-button"],onClick:l},a?__("Upgrade to update automatic security rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"))},Z=({children:e=__("The free version of the firewall does not receive updates to automatic security rules.","jetpack-protect")})=>{const[t,a]=(0,g.useState)(!1),n=(0,g.useCallback)((()=>{a(!0)}),[]),r=(0,g.useCallback)((()=>{a(!1)}),[]);return f().createElement("div",{className:b.Z["icon-popover"],onMouseLeave:r,onMouseEnter:n,onClick:n,onFocus:n,onBlur:r,role:"presentation"},f().createElement(d.Z,{icon:u.Z}),t&&f().createElement(o.Popover,{noArrow:!1,offset:5,inline:!0},f().createElement(c.ZP,{className:b.Z["popover-text"],variant:"body-small"},e)))},C=({className:e,text:t="",popover:a=!1,children:n})=>f().createElement("div",{className:b.Z["firewall-subheading__content"]},f().createElement(c.ZP,{className:b.Z[e],weight:600},t),a&&f().createElement(Z,{children:n})),_=({hasRequiredPlan:e,automaticRulesAvailable:t,jetpackWafIpList:a,jetpackWafAutomaticRules:n,bruteForceProtectionIsEnabled:c,wafSupported:r})=>{const l=r&&n&&a,s=r&&n&&!a,i=r&&!n&&a,o=r&&!n&&!a;return f().createElement(f().Fragment,null,f().createElement("div",{className:b.Z["firewall-subheading"]},r&&c&&f().createElement(C,{className:"brute-force-protection-subheading",text:__("Brute force protection is active.","jetpack-protect")}),o&&f().createElement(C,{text:__("There are no firewall rules applied.","jetpack-protect")}),s&&f().createElement(C,{text:__("Automatic firewall protection is enabled.","jetpack-protect"),popover:!e}),i&&f().createElement(C,{text:__("Only manual IP list rules apply.","jetpack-protect"),popover:!e&&!t,children:__("The free version of the firewall only allows for use of manual rules.","jetpack-protect")}),l&&f().createElement(C,{text:__("All firewall rules apply.","jetpack-protect"),popover:!e})),!e&&f().createElement(y,null))},R=({status:e,hasRequiredPlan:t,automaticRulesEnabled:a,automaticRulesAvailable:n,jetpackWafIpList:i,jetpackWafAutomaticRules:m,bruteForceProtectionIsEnabled:d,wafSupported:u})=>f().createElement(r.Z,null,f().createElement(l.Z,{className:b.Z["firewall-header"],horizontalSpacing:7,horizontalGap:0},f().createElement(s.Z,null,"on"===e&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:h()(b.Z.status,b.Z.active),variant:"label"},__("Active","jetpack-protect")),f().createElement(c.H3,{className:b.Z["firewall-heading"],mb:1,mt:2},!u&&__("Brute force protection is active","jetpack-protect"),u&&(a?__("Automatic firewall is on","jetpack-protect"):__("Firewall is on","jetpack-protect",0))),f().createElement(_,{jetpackWafIpList:i,jetpackWafAutomaticRules:m,bruteForceProtectionIsEnabled:d,hasRequiredPlan:t,automaticRulesAvailable:n,wafSupported:u})),"off"===e&&f().createElement(f().Fragment,null,f().createElement(c.ZP,{className:b.Z.status,variant:"label"},__("Inactive","jetpack-protect")),f().createElement(c.H3,{className:b.Z["firewall-heading"],mb:1,mt:2},!u&&__("Brute force protection is disabled","jetpack-protect"),u&&(n?__("Automatic firewall is off","jetpack-protect"):__("Firewall is off","jetpack-protect",0))),f().createElement(_,{jetpackWafIpList:i,jetpackWafAutomaticRules:m,bruteForceProtectionIsEnabled:d,hasRequiredPlan:t,automaticRulesAvailable:n,wafSupported:u})),"loading"===e&&f().createElement(f().Fragment,null,f().createElement(o.Spinner,{className:b.Z.spinner}),f().createElement(c.H3,{className:b.Z["firewall-heading"],mb:2,mt:2},__("Automatic firewall is being set up","jetpack-protect")),f().createElement(c.ZP,{className:b.Z["loading-text"],weight:600},__("Please wait…","jetpack-protect")))),f().createElement(s.Z,null,f().createElement("div",{className:b.Z["stat-card-wrapper"]})))),j=()=>{const{config:{jetpackWafAutomaticRules:e,jetpackWafIpList:t,automaticRulesAvailable:a,bruteForceProtection:n},isToggling:c,wafSupported:r}=(0,w.Z)(),{hasRequiredPlan:l}=(0,k.Z)(),s=r&&(e||t)||n?"on":"off";return f().createElement(R,{status:c?"loading":s,hasRequiredPlan:l,automaticRulesEnabled:e,automaticRulesAvailable:a,jetpackWafIpList:t,jetpackWafAutomaticRules:e,bruteForceProtectionIsEnabled:n,wafSupported:r})}},5975:(e,t,a)=>{"use strict";a.d(t,{Z:()=>T});var n=a(2054),c=a(1342),r=a(5106),l=a(526),s=a(857),i=a(3363),o=a(3846),m=a(8258),d=a(5609),u=a(9818),p=a(9307),h=a(5736),g=a(1074),f=a(6163),v=a(3259),E=a(6292),k=a.n(E),w=a(9196),b=a(1827),y=a(3898),Z=a(6477),C=a(5773),_=a(8963),R=a(4633),j=a(7267),N=a(8431),S=a(2651),P=a(5678),x=a(5800),z=a(9265),M=a(4854);const __=h.__,_n=h._n,I=window?.jetpackProtectInitialState?.adminUrl,L=5e3,T=()=>{const[e]=(0,n.Z)(["sm","lg"],[null,"<"]),{setWafIsSeen:t,setWafUpgradeIsSeen:a,setNotice:E}=(0,u.useDispatch)(R.t),{config:{jetpackWafAutomaticRules:T,jetpackWafIpList:A,jetpackWafIpBlockList:O,jetpackWafIpAllowList:V,automaticRulesAvailable:F,bruteForceProtection:H},currentIp:D,isEnabled:U,isSeen:B,upgradeIsSeen:W,displayUpgradeBadge:J,wafSupported:G,isUpdating:$,stats:{ipAllowListCount:q,ipBlockListCount:K,automaticRulesLastUpdated:X},toggleAutomaticRules:Q,toggleManualRules:Y,toggleBruteForceProtection:ee,toggleWaf:te,updateConfig:ae}=(0,_.Z)(),{hasRequiredPlan:ne}=(0,C.Z)(),{run:ce}=(0,m.Z)({productSlug:y.o,redirectUrl:`${I}#/firewall`}),{recordEventHandler:re,recordEvent:le}=(0,Z.Z)(),se=U&&(ne||F),[ie,oe]=(0,w.useState)(!1),[me,de]=(0,w.useState)({jetpack_waf_automatic_rules:T,jetpack_waf_ip_list:A,jetpack_waf_ip_block_list:O,jetpack_waf_ip_allow_list:V,brute_force_protection:H}),[ue,pe]=(0,w.useState)(!1),[he,ge]=(0,w.useState)(!1),fe=(0,w.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}}),[]),ve=(0,w.useCallback)((e=>{const t=fe(e)||__("An error occurred.","jetpack-protect"),a=(0,p.createInterpolateElement)(__("Please try again or contact support.","jetpack-protect"),{supportLink:React.createElement(d.ExternalLink,{href:y.K})});E({type:"error",message:React.createElement(React.Fragment,null,t," ",a)})}),[fe,E]),Ee=re("jetpack_protect_waf_page_get_scan_link_click",ce),ke=(0,w.useCallback)((()=>{pe(!0),ae(me).then((()=>E({type:"success",duration:L,message:__("Changes saved.","jetpack-protect")}))).catch(ve).finally((()=>pe(!1)))}),[ae,me,ve,E]),we=(0,w.useCallback)((e=>{const{value:t,id:a}=e.target;de({...me,[a]:t})}),[me]),be=(0,w.useCallback)((()=>{pe(!0);const e=!me.jetpack_waf_automatic_rules;de({...me,jetpack_waf_automatic_rules:e}),Q().then((()=>{oe(!1),E({type:"success",duration:L,message:e?__("Automatic firewall protection is enabled.","jetpack-protect"):__("Automatic firewall protection is disabled.","jetpack-protect",0)}),le(e?"jetpack_protect_automatic_rules_enabled":"jetpack_protect_automatic_rules_disabled")})).then((()=>{W||(a(!0),b.Z.wafUpgradeSeen())})).catch((e=>{oe(!0),ve(e)})).finally((()=>pe(!1)))}),[me,Q,E,le,W,a,ve]),ye=(0,w.useCallback)((()=>{pe(!0);const e=!me.brute_force_protection;de({...me,brute_force_protection:e}),ee().then((()=>{E({type:"success",duration:L,message:e?__("Brute force protection is enabled.","jetpack-protect"):__("Brute force protection is disabled.","jetpack-protect",0)}),le(e?"jetpack_protect_brute_force_protection_enabled":"jetpack_protect_brute_force_protection_disabled")})).catch(ve).finally((()=>pe(!1)))}),[me,ee,ve,E,le]),Ze=(0,w.useCallback)((()=>{const e=!me.jetpack_waf_ip_list;pe(!0),de({...me,jetpack_waf_ip_list:e}),Y().then((()=>{E({type:"success",duration:L,message:e?__("Manual rules are active.","jetpack-protect"):__("Manual rules are disabled.","jetpack-protect",0)}),le(e?"jetpack_protect_manual_rules_enabled":"jetpack_protect_manual_rules_disabled")})).catch(ve).finally((()=>pe(!1)))}),[me,Y,ve,E,le]),Ce=(0,w.useCallback)((()=>{ge(!he)}),[he,ge]),_e=(0,w.useCallback)((()=>{a(!0),b.Z.wafUpgradeSeen()}),[a]),Re=(0,w.useMemo)((()=>me.jetpack_waf_ip_allow_list.includes(D)),[me.jetpack_waf_ip_allow_list,D]),je=(0,w.useCallback)((()=>{const e=me.jetpack_waf_ip_allow_list.length>0?`${me.jetpack_waf_ip_allow_list}\n${D}`:D;de((t=>({...t,jetpack_waf_ip_allow_list:e})))}),[me.jetpack_waf_ip_allow_list,D]);(0,w.useEffect)((()=>{$||de({jetpack_waf_automatic_rules:T,jetpack_waf_ip_list:A,jetpack_waf_ip_block_list:O,jetpack_waf_ip_allow_list:V,brute_force_protection:H})}),[A,O,V,T,H,$]),(0,w.useEffect)((()=>{B||(t(!0),b.Z.wafSeen())}),[B,t]),(0,Z.Z)({pageViewEventName:"protect_waf",pageViewEventProperties:{has_plan:ne}});const Ne=React.createElement(c.Z,{level:"error",title:"Jetpack Firewall is currently disabled.",children:React.createElement(r.ZP,null,__("Re-enable the Firewall to continue.","jetpack-protect")),actions:[React.createElement(l.Z,{variant:"link",onClick:te,isLoading:$,disabled:$},__("Enable Firewall","jetpack-protect"))],hideCloseButton:!0}),Se=React.createElement(React.Fragment,null,React.createElement("div",{className:`${M.Z["toggle-section"]} ${se?"":M.Z["toggle-section--disabled"]}`},React.createElement("div",{className:M.Z["toggle-section__control"]},React.createElement(P.Z,{checked:!!se&&me.jetpack_waf_automatic_rules,onChange:be,disabled:!U||ue||!se}),ne&&!1===W&&React.createElement(d.Popover,{noArrow:!1,offset:8,position:"top right",inline:!0},React.createElement("div",{className:M.Z.popover},React.createElement("div",{className:M.Z.popover__header},React.createElement(r.ZP,{className:M.Z.popover__title,variant:"title-small"},__("Thanks for upgrading!","jetpack-protect")),React.createElement(l.Z,{className:M.Z.popover__button,variant:"icon"},React.createElement(g.Z,{onClick:_e,icon:f.Z,size:24,"aria-label":__("Close Window","jetpack-protect")}))),React.createElement(r.ZP,{className:M.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:M.Z.popover__footer},React.createElement(l.Z,{onClick:_e},__("Got it","jetpack-protect")))))),React.createElement("div",{className:M.Z["toggle-section__content"]},React.createElement("div",{className:M.Z["toggle-section__title"]},React.createElement(r.ZP,{variant:"title-medium",mb:2},__("Enable automatic firewall protection","jetpack-protect")),!e&&ne&&J&&React.createElement("span",{className:M.Z.badge},__("NOW AVAILABLE","jetpack-protect"))),React.createElement(r.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:M.Z["toggle-section__details"]},T&&X&&!ie&&React.createElement("div",{className:M.Z["automatic-rules-stats"]},React.createElement(r.ZP,{className:M.Z["automatic-rules-stats__version"],variant:"body-small"},__("Automatic security rules installed.","jetpack-protect")),React.createElement(r.ZP,{className:M.Z["automatic-rules-stats__last-updated"],variant:"body-small"},(0,h.sprintf)( // translators: placeholder is the date latest rules were updated i.e. "September 23, 2022". __("Last updated on %s.","jetpack-protect"),k().unix(X).format("MMMM D, YYYY")))),ie&&React.createElement(React.Fragment,null,React.createElement(r.ZP,{className:M.Z["automatic-rules-stats__failed-install"],variant:"body-small",mt:2},__("Failed to update automatic firewall rules.","jetpack-protect")," ",fe(ie)),React.createElement(l.Z,{variant:"link",href:y.K},React.createElement(r.ZP,{variant:"body-small"},__("Contact support","jetpack-protect"))))))),!ne&&React.createElement("div",{className:M.Z["upgrade-trigger-section"]},React.createElement(s.Z,{className:M.Z["upgrade-trigger"],description:se?__("Your site is not receiving the latest updates to automatic rules","jetpack-protect",0):__("Set up automatic rules with one click","jetpack-protect"),cta:se?__("Upgrade to keep your site secure with up-to-date firewall rules","jetpack-protect",0):__("Upgrade to enable automatic firewall protection","jetpack-protect"),onClick:Ee}))),Pe=React.createElement(React.Fragment,null,React.createElement("div",{className:M.Z["brute-force-rules-section"]},React.createElement(z.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement(React.Fragment,null,React.createElement(r.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:M.Z["current-ip-text"]},React.createElement(r.ZP,{variant:"body-small",mb:1},(0,p.createInterpolateElement)((0,h.sprintf)( // translators: placeholder is the user's current IP address. __("Your current IP: %s","jetpack-protect"),D),{strong:React.createElement("strong",null)})),React.createElement(l.Z,{variant:"secondary",size:"small",onClick:je,disabled:ue||Re},__("+ Add to Allow List","jetpack-protect")))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:me.jetpack_waf_ip_allow_list,onChange:we,disabled:ue})),React.createElement(l.Z,{onClick:ke,isLoading:ue,disabled:ue},__("Save changes","jetpack-protect"))),xe=React.createElement(React.Fragment,null,React.createElement("div",{className:M.Z["toggle-section"]},React.createElement("div",{className:M.Z["toggle-section__control"]},React.createElement(P.Z,{id:"brute_force_protection",checked:me.brute_force_protection,onChange:ye,disabled:ue})),React.createElement("div",{className:M.Z["toggle-section__content"]},React.createElement(r.ZP,{variant:"title-medium",mb:2},__("Enable brute force protection","jetpack-protect")),React.createElement(r.ZP,null,__("Prevent bots and hackers from attempting to log in to your website with common username and password combinations.","jetpack-protect")))),!G&&me.brute_force_protection&&Pe),ze=React.createElement("div",{className:M.Z["toggle-wrapper"]},G&&Se,xe,G&&React.createElement("div",{className:`${M.Z["toggle-section"]} ${H||U?"":M.Z["toggle-section--disabled"]}`},React.createElement("div",{className:M.Z["toggle-section__control"]},React.createElement(P.Z,{id:"jetpack_waf_ip_list",checked:(U||H)&&me.jetpack_waf_ip_list,onChange:Ze,disabled:ue||!U&&!H})),React.createElement("div",{className:M.Z["toggle-section__content"]},React.createElement(r.ZP,{variant:"title-medium",mb:2},__("Enable manual block and allow lists","jetpack-protect")),React.createElement(r.ZP,null,__("Manually block or allow traffic from specific IP addresses.","jetpack-protect")),A&&React.createElement("div",{className:M.Z["toggle-section__details"]},React.createElement("div",{className:M.Z["manual-rules-stats"]},0===q&&0===K&&React.createElement(r.ZP,{className:M.Z["manual-rules-stats__no-rules"],variant:"body-small",mt:2},__("No manual rules are being applied.","jetpack-protect")),K>0&&React.createElement(r.ZP,{className:M.Z["manual-rules-stats__block-list-count"],variant:"body-small",mt:2},(0,h.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. ",K,"jetpack-protect"),1===K?"One":K)),q>0&&React.createElement(r.ZP,{className:M.Z["manual-rules-stats__allow-list-count"],variant:"body-small",mt:2},(0,h.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(l.Z,{variant:"link",disabled:!U&&!H},React.createElement(r.ZP,{variant:"body-small",onClick:Ce},__("Edit manual rules","jetpack-protect"))))))),Me=React.createElement("div",null,React.createElement(l.Z,{className:M.Z["go-back-button"],variant:"icon",icon:v.Z,onClick:Ce},React.createElement(r.ZP,null,__("Go back","jetpack-protect"))),React.createElement(r.ZP,{variant:"title-medium",mt:4,mb:2},__("Manual rules","jetpack-protect")),React.createElement(r.ZP,{mb:4},__("Add manual rules for what IP traffic the Jetpack Firewall and brute force protection should block or allow.","jetpack-protect")),G&&React.createElement("div",{className:M.Z["manual-rules-section"]},React.createElement(z.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:me.jetpack_waf_ip_block_list,onChange:we,disabled:ue})),React.createElement("div",{className:M.Z["manual-rules-section"]},React.createElement(z.Z,{id:"jetpack_waf_ip_allow_list",label:__("Always allowed IP addresses","jetpack-protect"),description:React.createElement("div",{className:M.Z["current-ip-text"]},React.createElement(r.ZP,{variant:"body-small",mb:1},(0,p.createInterpolateElement)((0,h.sprintf)( // translators: placeholder is the user's current IP address. __("Your current IP: %s","jetpack-protect"),D),{strong:React.createElement("strong",null)})),React.createElement(l.Z,{variant:"secondary",size:"small",onClick:je,disabled:ue||Re},__("+ Add to Allow List","jetpack-protect"))),placeholder:__("Example:","jetpack-protect")+"\n12.12.12.1\n12.12.12.2",rows:3,value:me.jetpack_waf_ip_allow_list,onChange:we,disabled:ue})),React.createElement(l.Z,{onClick:ke,isLoading:ue,disabled:ue},__("Save changes","jetpack-protect")));return React.createElement(j.Z,null,React.createElement(S.Z,null),React.createElement(i.Z,{className:M.Z.container,horizontalSpacing:8,horizontalGap:4},G&&!U&&React.createElement(o.Z,null,Ne," "),React.createElement(o.Z,null,he?Me:ze)),G?React.createElement(N.Z,null):React.createElement(x.Z,null))}},8840:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(5106),c=a(526),r=a(9818),l=a(5736),s=a(9196),i=a(4633),o=a(9974),m=a(8891),d=a(2854),u=a(5823);const __=l.__,p=({threatList:e=[]})=>{const{setModal:t,fixThreats:a}=(0,r.useDispatch)(i.t),{threatsUpdating:l}=(0,r.useSelect)((e=>e(i.t).getThreatsUpdating())),[p,h]=(0,s.useState)(e.map((({id:e})=>e))),g=(0,s.useCallback)(((e,t)=>{h(e?p.push(t.id):p.filter((e=>e!==t.id)))}),[p]);return React.createElement(d.Z,null,React.createElement(o.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:u.Z.list},e.map((e=>React.createElement(m.Z,{key:e.id,threat:e,fixAllDialog:!0,onCheckFix:g})))),React.createElement("div",{className:u.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),t({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(l)&&l[p[0]],onClick:async e=>{e.preventDefault(),a(p,(()=>{t({type:null})}))}},__("Fix all threats","jetpack-protect")))))}},1593:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(5106),c=a(526),r=a(9818),l=a(5736),s=a(4633),i=a(9974),o=a(8891),m=a(2854),d=a(7279);const __=l.__,u=({id:e,fixable:t,label:a,icon:l,severity:u})=>{const{setModal:p,fixThreats:h}=(0,r.useDispatch)(s.t),g=(0,r.useSelect)((e=>e(s.t).getThreatsUpdating()));return React.createElement(m.Z,null,React.createElement(i.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:d.Z.list},React.createElement(o.Z,{threat:{id:e,fixable:t,label:a,icon:l,severity:u},fixAllDialog:!1})),React.createElement("div",{className:d.Z.footer},React.createElement(c.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),p({type:null})}},__("Cancel","jetpack-protect")),React.createElement(c.Z,{isLoading:Boolean(g&&g[e]),onClick:async t=>{t.preventDefault(),h([e],(()=>{p({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=({ariaLabel:e,checked:t=!1,className:a="",disabled:r=!1,id:l,onChange:s=(()=>{}),onKeyDown:i=(()=>{}),switchClassNames:o="",toggling:m})=>{const d=(0,n.useCallback)((e=>{r||s(e)}),[r,s]),u=(0,n.useCallback)((e=>{r||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s(e)),i(e))}),[r,s,i]);return React.createElement(React.Fragment,null,React.createElement("div",null,React.createElement("input",{className:`${c.Z["form-toggle"]} ${a} ${m?c.Z["is-toggling"]:""}`,type:"checkbox",checked:t,readOnly:!0,disabled:r}),React.createElement("span",{className:`${c.Z["form-toggle__switch"]} ${o}`,disabled:r,id:l,onClick:d,onKeyDown:u,role:"checkbox","aria-checked":t,"aria-label":e,tabIndex:r?-1:0})))}},3584:(e,t,a)=>{"use strict";a.d(t,{U:()=>p,Z:()=>h});var n=a(5106),c=a(1074),r=a(7489),l=a(2229),s=a(5235),i=a.n(s),o=a(9196),m=a.n(o),d=a(9122);const u=m().createContext(),p=({id:e,title:t,label:a,icon:s,children:p,onOpen:h})=>{const g=(0,o.useContext)(u),f=g?.open===e,v=g?.setOpen,E=i()(d.Z["accordion-body"],{[d.Z["accordion-body-open"]]:f,[d.Z["accordion-body-close"]]:!f}),k=(0,o.useCallback)((()=>{f||h?.(),v((t=>t===e?null:e))}),[f,h,v,e]);return m().createElement("div",{className:d.Z["accordion-item"]},m().createElement("button",{className:d.Z["accordion-header"],onClick:k},m().createElement("div",null,m().createElement(n.ZP,{className:d.Z["accordion-header-label"],mb:1},m().createElement(c.Z,{icon:s,className:d.Z["accordion-header-label-icon"]}),a),m().createElement(n.ZP,{className:d.Z["accordion-header-description"],variant:f?"title-small":"body"},t)),m().createElement("div",{className:d.Z["accordion-header-button"]},m().createElement(c.Z,{icon:f?r.Z:l.Z,size:38}))),m().createElement("div",{className:E,"aria-hidden":f?"false":"true"},p))},h=({children:e})=>{const[t,a]=(0,o.useState)();return m().createElement(u.Provider,{value:{open:t,setOpen:a}},m().createElement("div",{className:d.Z.accordion},e))}},3116:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(6895),c=a(5106),r=a(526),l=a(9818),s=a(9307),i=a(5736),o=a(1074),m=a(4633),d=a(2251),u=a(2854),p=a(6983);const __=i.__,h=({id:e,title:t,label:a,icon:i,severity:h})=>{const{setModal:g,ignoreThreat:f}=(0,l.useDispatch)(m.t),v=(0,l.useSelect)((e=>e(m.t).getThreatsUpdating())),E=(0,n.Z)("jetpack-protect-codeable-referral");return React.createElement(u.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:p.Z.threat},React.createElement(o.Z,{icon:i,className:p.Z.threat__icon}),React.createElement("div",{className:p.Z.threat__summary},React.createElement(c.ZP,{className:p.Z.threat__summary__label,mb:1},a),React.createElement(c.ZP,{className:p.Z.threat__summary__title},t)),React.createElement("div",{className:p.Z.threat__severity},React.createElement(d.Z,{severity:h}))),React.createElement(c.ZP,{mb:4},(0,s.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:E})})),React.createElement("div",{className:p.Z.footer},React.createElement(r.Z,{variant:"secondary",onClick:e=>{e.preventDefault(),g({type:null})}},__("Cancel","jetpack-protect")),React.createElement(r.Z,{isDestructive:!0,isLoading:Boolean(v&&v[e]),onClick:async t=>{t.preventDefault(),f(e,(()=>{g({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),l=a(3363),s=a(3846),i=a(9307),o=a(5736),m=a(9196),d=a.n(m),u=a(6477),p=a(8266),h=a(9401),g=a(2951);const __=o.__,f=({onScanAdd:e})=>((0,u.Z)({pageViewEventName:"protect_interstitial"}),d().createElement(n.Z,{moduleName:__("Jetpack Protect","jetpack-protect"),header:d().createElement("div",{className:g.Z["protect-header"]},d().createElement(p.Z,null),d().createElement(c.ZP,{variant:"body-small"},(0,i.createInterpolateElement)(__("Already have an existing plan or license key? Click here to get started","jetpack-protect"),{a:d().createElement("a",{href:"admin.php?page=my-jetpack#/add-license"})})))},d().createElement(r.Z,null,d().createElement(l.Z,{horizontalSpacing:3,horizontalGap:3},d().createElement(s.Z,{sm:4,md:8,lg:12},d().createElement(h.Z,{onScanAdd:e}))))))},8266:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5609),c=a(9196),r=a.n(c);function l({iconColor:e="#069E08",color:t="#000"}){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:t}),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:t}),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:t}),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:t}),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:t}),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:t}),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:t}),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:e}),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:t}),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:t}),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:t}),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:t}),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:t}),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:t}),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:t}))}},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=({context:e})=>{const{marks:t,...a}=e;return React.createElement("div",{className:n.Z["marked-lines"]},React.createElement("div",{className:n.Z["marked-lines__line-numbers"]},Object.keys(a).map((e=>{const a=t.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${n.Z["marked-lines__line-number"]} ${a?n.Z["marked-lines__marked-line"]:""}`},e)}))),React.createElement("div",{className:n.Z["marked-lines__lines"]},Object.keys(a).map((e=>{const r=a[e]||" ",l=t.hasOwnProperty(e);return React.createElement("div",{key:e,className:`${n.Z["marked-lines__line"]} ${l?n.Z["marked-lines__marked-line"]:""} `},React.createElement(React.Fragment,null,l?((e,t)=>{const[a,n]=e.reduce((([e,a],[n,r])=>{const l=t.slice(n,r);return[[...e,...n>a?[t.slice(a,n),c(l)]:[c(l)]],r]}),[[],0]);return n{"use strict";a.d(t,{Z:()=>g});var n=a(9818),c=a(5736),r=a(1074),l=a(9517),s=a(4633),i=a(9886),o=a(8840),m=a(1593),d=a(3116),u=a(8959),p=a(9980);const __=c.__,h={IGNORE_THREAT:d.Z,FIX_THREAT:m.Z,FIX_ALL_THREATS:o.Z,CREDENTIALS_NEEDED:i.Z,STANDALONE_MODE:u.Z},g=()=>{const e=(0,n.useSelect)((e=>e(s.t).getModalType())),t=(0,n.useSelect)((e=>e(s.t).getModalProps())),{setModal:a}=(0,n.useDispatch)(s.t);if(!e)return null;const c=h[e];return React.createElement("div",{className:p.Z.modal},React.createElement("div",{className:p.Z.modal__window},React.createElement("button",{onClick:e=>{e.preventDefault(),a({type:null})},className:p.Z.modal__close,title:__("Close Modal Window","jetpack-protect")},React.createElement(r.Z,{icon:l.Z,size:24,className:p.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),l=a(1074),s=a(496),i=a(9201),o=a(5162),m=a.n(o),d=a(9196),u=a.n(d),p=a(513);const __=r.__,h=({count:e,checked:t})=>{const{popoverText:a,badgeElement:r}=((e,t)=>t?0===e?{popoverText:__("No known threats found to affect this version","jetpack-protect"),badgeElement:u().createElement(l.Z,{icon:i.Z,size:28,className:p.Z["navigation-item-check-badge"]})}:{popoverText:null,badgeElement:u().createElement(n.ZP,{variant:"body-extra-small",className:p.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:u().createElement(l.Z,{icon:s.Z,size:28,className:p.Z["navigation-item-info-badge"]})})(e,t),[o,m]=(0,d.useState)(!1),h=(0,d.useCallback)((()=>{m(!0)}),[]),g=(0,d.useCallback)((()=>{m(!1)}),[]);return u().createElement("div",{onMouseLeave:a?g:null,onMouseEnter:a?h:null,onClick:a?h:null,onFocus:a?h:null,onBlur:a?g:null,role:"presentation"},r,o&&u().createElement(c.Popover,{noArrow:!1,inline:!0},u().createElement(n.ZP,{variant:"body-small",className:p.Z["popover-text"]},a)))};h.propTypes={count:m().number,checked:m().bool};const g=h},2328:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(526),c=a(5736),r=a(9196),l=a.n(r),s=a(2389),i=a(513),o=a(246);const __=c.__,m=({icon:e,label:t,children:a})=>{const[m,d]=(0,r.useState)(!0),{mode:u}=(0,r.useContext)(o.k),p=Array.isArray(a)&&a?.length>=8&&"list"===u,h=p&&m?a.slice(0,8):a,g=p?a?.length-8:0,f=(0,r.useCallback)((()=>{d((e=>!e))}),[]);return l().createElement("li",{tabIndex:-1,role:"menuitem",className:i.Z["navigation-group"]},l().createElement(s.Z,{icon:e,className:i.Z["navigation-group-label"]},t),l().createElement("div",{className:i.Z["navigation-group-list"]},l().createElement("ul",{className:i.Z["navigation-group-content"]},h),p&&l().createElement("div",{className:i.Z["navigation-group-truncate"]},l().createElement(n.Z,{variant:"link",onClick:f},m?(0,c.sprintf)(/* translators: %s: Number of hide items */ __("Show %s more","jetpack-protect"),g):(0,c.sprintf)(/* translators: %s: Number of hide items */ __("Hide %s items","jetpack-protect"),g)))))}},5338:(e,t,a)=>{"use strict";a.d(t,{Dx:()=>u.Z,KB:()=>d.Z,ZP:()=>v});var n=a(5106),c=a(5609),r=a(5736),l=a(1074),s=a(7489),i=a(2229),o=a(9196),m=a.n(o),d=a(2328),u=a(6119),p=a(513),h=a(246);const __=r.__,g=({children:e})=>m().createElement("ul",{className:p.Z.navigation,role:"menu"},e),f=({children:e,data:t})=>{const a=(0,o.useRef)(),[r,d]=(0,o.useState)(!1),u=t?.items?.find((e=>e?.id===t?.selectedItem))??{label:__("See all results","jetpack-protect")},{label:h,icon:g}=u,f=(0,o.useCallback)((()=>{d((e=>!e))}),[]);return m().createElement("button",{className:p.Z["navigation-dropdown-button"],onClick:f,ref:a},m().createElement("div",{className:p.Z["navigation-dropdown-label"]},g&&m().createElement(l.Z,{icon:g,className:p.Z["navigation-dropdown-icon"]}),m().createElement(n.ZP,null,h)),m().createElement(l.Z,{icon:r?s.Z:i.Z,size:32}),m().createElement(c.Popover,{position:"bottom center",anchorRef:a?.current,inline:!0},m().createElement("div",{style:{display:r?"block":"none",width:a?.current?.getBoundingClientRect?.()?.width}},e)))},v=({children:e,selected:t,onSelect:a,mode:n="list"})=>{const c=(0,h.Z)({selected:t,onSelect:a}),r=(e=>{switch(e){case"list":default:return g;case"dropdown":return f}})(n);return m().createElement(h.k.Provider,{value:{...c,mode:n}},m().createElement(r,{data:c},e))}},6119:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5235),c=a.n(n),r=a(9196),l=a.n(r),s=a(5167),i=a(2389),o=a(513),m=a(246);const d=({id:e,label:t,icon:a,badge:n,disabled:d,onClick:u,onKeyDown:p,onFocus:h,checked:g})=>{const f=(0,r.useContext)(m.k),v=f?.selectedItem===e,E=f?.registerItem,k=f?.registerRef,w=f?.handleClickItem,b=f?.handleKeyDownItem,y=f?.handleFocusItem,Z=c()(o.Z["navigation-item"],{[o.Z.clickable]:!d,[o.Z.selected]:v}),C=(0,r.useCallback)((t=>{u?.(t),w?.(e)}),[w,e,u]),_=(0,r.useCallback)((e=>{p?.(e),b?.(e)}),[b,p]),R=(0,r.useCallback)((t=>{k(t,e)}),[k,e]),j=(0,r.useCallback)((t=>{h?.(t),y?.(e)}),[y,e,h]);return(0,r.useEffect)((()=>{E({id:e,disabled:d,label:t,icon:a})}),[]),l().createElement("li",{className:Z,onClick:d?null:C,onKeyDown:_,onFocus:d?null:j,role:"menuitem",tabIndex:d?-1:0,ref:R},l().createElement(i.Z,{icon:a},t),l().createElement(s.Z,{count:n,checked:g}))}},2389:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(5106),c=a(1074),r=a(5235),l=a.n(r),s=a(5162),i=a.n(s),o=a(9196),m=a.n(o),d=a(513);const u=({icon:e,children:t,className:a})=>m().createElement(n.ZP,{className:l()(d.Z["navigation-item-label"],a)},e&&m().createElement(c.Z,{icon:e,className:d.Z["navigation-item-icon"],size:28}),m().createElement("span",{className:d.Z["navigation-item-label-content"]},t));u.propTypes={icon:i().node,children:i().node.isRequired};const p=u},246:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r,k:()=>c});var n=a(9196);const c=a.n(n)().createContext(),r=({selected:e,onSelect:t})=>{const[a,c]=(0,n.useState)([]),[r,l]=(0,n.useState)([]),[s,i]=(0,n.useState)(),o=(e,t)=>{const n=e-1,c=n<0?t:n,r=a[c];return r?.disabled?o(c,t):r},m=(e,t)=>{const n=e+1,c=n>t?0:n,r=a[c];return r?.disabled?m(c,t):r};return{selectedItem:e,handleClickItem:e=>{t(e)},handleKeyDownItem:n=>{const c=n?.code,l=a.findIndex((t=>t?.id===e)),i=a.length-1;let d;if("ArrowUp"===c){const e=o(l,i);d=e?.id}else if("ArrowDown"===c){const e=m(l,i);d=e?.id}else"Enter"!==c&&"Space"!==c||!s||(d=s);if(d){const e=r[d];e?.focus(),t(d)}},handleFocusItem:e=>{i(e)},registerRef:(e,t)=>{l((a=>!a[t]&&e?{...a,[t]:e}:a))},registerItem:e=>{c((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:a}}},291:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(9818),c=a(5736),r=a(9201),l=a(797),s=a(496),i=a(1074),o=a(9517),m=a(9196),d=a(4633),u=a(8212);const __=c.__,p=({dismissable:e=!1,duration:t=null,floating:a=!1,message:c,type:p="success"})=>{const{clearNotice:h}=(0,n.useDispatch)(d.t);let g;switch(p){case"success":g=r.Z;break;case"error":g=l.Z;break;default:g=s.Z}const f=(0,m.useCallback)((()=>{h()}),[h]);return(0,m.useEffect)((()=>{let e;return t&&(e=setTimeout(h,t)),()=>clearTimeout(e)}),[h,t,c]),React.createElement("div",{className:`${u.Z.notice} ${u.Z[`notice--${p}`]} ${a?u.Z["notice--floating"]:""}`},React.createElement("div",{className:u.Z.notice__icon},React.createElement(i.Z,{icon:g})),React.createElement("div",{className:u.Z.notice__message},c),e&&React.createElement("button",{className:u.Z.notice__close,"aria-label":__("Dismiss notice.","jetpack-protect"),onClick:f},React.createElement(i.Z,{icon:o.Z})))}},289:(e,t,a)=>{"use strict";a.d(t,{Z:()=>b,c:()=>w});var n=a(2054),c=a(5106),r=a(5033),l=a(9818),s=a(5736),i=a(1074),o=a(9201),m=a(7489),d=a(2229),u=a(5235),p=a.n(u),h=a(9196),g=a.n(h),f=a(4633),v=a(2251),E=a(7324);const __=s.__,k=g().createContext(),w=({id:e,title:t,label:a,icon:s,fixable:u,severity:w,children:b,onOpen:y})=>{const Z=(0,h.useContext)(k),C=Z?.open===e,_=Z?.setOpen,R=(0,l.useSelect)((e=>e(f.t).getThreatsAreFixing())),j=p()(E.Z["accordion-body"],{[E.Z["accordion-body-open"]]:C,[E.Z["accordion-body-close"]]:!C}),N=(0,h.useCallback)((()=>{C||y?.(),_((t=>t===e?null:e))}),[C,y,_,e]),[S]=(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(i.Z,{icon:s,className:E.Z["accordion-header-label-icon"]}),a),g().createElement(c.ZP,{className:E.Z["accordion-header-description"],variant:C?"title-small":"body"},t)),g().createElement("div",null,g().createElement(v.Z,{severity:w})),g().createElement("div",null,u&&g().createElement(g().Fragment,null,R.indexOf(e)>=0?g().createElement(r.Z,{color:"black"}):g().createElement(i.Z,{icon:o.Z,className:E.Z["icon-check"],size:28}),S&&g().createElement("span",null,__("Auto-fix","jetpack-protect")))),g().createElement("div",{className:E.Z["accordion-header-button"]},g().createElement(i.Z,{icon:C?m.Z:d.Z,size:38}))),g().createElement("div",{className:j,"aria-hidden":C?"false":"true"},b))},b=({children:e})=>{const[t,a]=(0,h.useState)();return g().createElement(k.Provider,{value:{open:t,setOpen:a}},g().createElement("div",{className:E.Z.accordion},e))}},9401:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(9608),c=a(5347),r=a(526),l=a(1294),s=a(9818),i=a(5736),o=a(9196),m=a.n(o),d=a(6477),u=a(5773),p=a(8963),h=a(4633);const __=i.__,g=({onScanAdd:e})=>{const{handleRegisterSite:t,registrationError:a}=(0,l.Z)({skipUserConnection:!0}),{refreshPlan:i,refreshStatus:g}=(0,s.useDispatch)(h.t),[f,v]=(0,o.useState)(!1),[E,k]=(0,o.useState)(!1),{jetpackScan:w}=(0,u.Z)(),{refreshWaf:b}=(0,p.Z)(),{pricingForUi:y}=w,{introductoryOffer:Z,currencyCode:C="USD"}=y,_=y.cost?Math.ceil(y.cost/12*100)/100:null,R=Z?.costPerInterval?Math.ceil(Z.costPerInterval/12*100)/100:null,{recordEvent:j,recordEventHandler:N}=(0,d.Z)(),S=N("jetpack_protect_pricing_table_get_scan_link_click",(()=>{k(!0),e()})),P=(0,o.useCallback)((()=>{j("jetpack_protect_connected_product_activated"),v(!0),t().then((()=>v(!1))).then((()=>{i(),b(),g(!0)}))}),[t,j,b,i,g]),x={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 m().createElement(m().Fragment,null,m().createElement(n.ZP,x,m().createElement(n.oK,{primary:!0},m().createElement(n.NE,null,m().createElement(c.Z,{price:_,offPrice:R,leyend:__("/month, billed yearly","jetpack-protect"),currency:C,hideDiscountLabel:!1}),m().createElement(r.Z,{fullWidth:!0,onClick:S,isLoading:E,disabled:f||E},__("Get Jetpack Protect","jetpack-protect"))),m().createElement(n.kF,{isIncluded:!0,label:m().createElement("strong",null,__("Line by line malware scanning","jetpack-protect"))}),m().createElement(n.kF,{isIncluded:!0,label:m().createElement("strong",null,__("Plus on-demand manual scans","jetpack-protect"))}),m().createElement(n.kF,{isIncluded:!0,label:m().createElement("strong",null,__("Automatic protection and rule updates","jetpack-protect"))}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!0})),m().createElement(n.oK,null,m().createElement(n.NE,null,m().createElement(c.Z,{price:0,leyend:__("Free forever","jetpack-protect"),currency:C,hidePriceFraction:!0}),m().createElement(r.Z,{fullWidth:!0,variant:"secondary",onClick:P,isLoading:f,disabled:f||E,error:a?__("An error occurred. Please try again.","jetpack-protect"):null},__("Start for free","jetpack-protect"))),m().createElement(n.kF,{isIncluded:!0,label:__("Check items against database","jetpack-protect")}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!0,label:__("Manual rules only","jetpack-protect")}),m().createElement(n.kF,{isIncluded:!0}),m().createElement(n.kF,{isIncluded:!1}),m().createElement(n.kF,{isIncluded:!1}),m().createElement(n.kF,{isIncluded:!1}),m().createElement(n.kF,{isIncluded:!1}))))}},1233:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5235),c=a.n(n),r=a(6067);const l=({className:e,total:t=100,value:a})=>{if(null==a)return null;const n=Math.min(Math.round(a/t*100),100),l={width:`${n}%`};return React.createElement("div",{className:c()(e,r.Z["progress-bar"])},React.createElement("div",{className:r.Z["progress-bar__wrapper"]},React.createElement("div",{"aria-valuemax":t,"aria-valuemin":0,"aria-valuenow":Math.min(a,t),className:r.Z["progress-bar__bar"],role:"progressbar",style:l})),React.createElement("p",{className:r.Z["progress-bar__percent"]},`${n}%`))}},5800:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(6895),c=a(5106),r=a(526),l=a(857),s=a(8258),i=a(5736),o=a(9196),m=a.n(o),d=a(3898),u=a(6477),p=a(5773),h=a(9909),g=a(8383);const __=i.__,f=()=>{const{adminUrl:e,siteSuffix:t}=window.jetpackProtectInitialState||{},{run:a}=(0,s.Z)({productSlug:d.o,redirectUrl:e}),{recordEventHandler:i}=(0,u.Z)(),o=i("jetpack_protect_footer_get_scan_link_click",a),{hasRequiredPlan:h}=(0,p.Z)();if(h){const e=(0,n.Z)("jetpack-scan-dash",{site:t});return m().createElement("div",{className:g.Z["product-section"]},m().createElement(c.Dx,null,__("Get access to our Cloud","jetpack-protect")),m().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")),m().createElement(r.Z,{variant:"secondary",weight:"regular",href:e},__("Go to Cloud","jetpack-protect")))}return m().createElement("div",{className:g.Z["product-section"]},m().createElement(c.Dx,null,__("Advanced scan results","jetpack-protect")),m().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")),m().createElement(l.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:o}))},v=()=>{const{hasRequiredPlan:e}=(0,p.Z)();if(e){const e=(0,n.Z)("protect-footer-learn-more-scan");return m().createElement("div",{className:g.Z["info-section"]},m().createElement(c.Dx,null,__("Line-by-line scanning","jetpack-protect")),m().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"),m().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 m().createElement("div",{className:g.Z["info-section"]},m().createElement(c.Dx,null,__("Over 22,000 listed vulnerabilities","jetpack-protect")),m().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")),m().createElement(r.Z,{variant:"link",isExternalLink:!0,href:t,weight:"regular"},__("Learn more","jetpack-protect")))},E=()=>m().createElement(h.Z,{main:m().createElement(f,null),secondary:m().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),l=a(5106),s=a(3329),i=a(5609),o=a(9818),m=a(5736),d=a(9196),u=a.n(d),p=a(6477),h=a(5773),g=a(4633),f=a(7267),v=a(4948),E=a(1233),k=a(5800),w=a(9909),b=a(4910),y=a(5207),Z=a(5983),C=a(61),_=a(8264),R=a(6165);const __=m.__,j=()=>{const{lastChecked:e,currentStatus:t,errorCode:a,errorMessage:m,hasRequiredPlan:j}=(0,h.Z)(),{hasConnectionError:N}=(0,s.Z)(),{refreshStatus:S}=(0,o.useDispatch)(g.t),{statusIsFetching:P,scanIsUnavailable:x,status:z}=(0,o.useSelect)((e=>({statusIsFetching:e(g.t).getStatusIsFetching(),scanIsUnavailable:e(g.t).getScanIsUnavailable(),status:e(g.t).getStatus()}))),{currentProgress:M}=z;let I;if(I="error"===t||x?"error":e?"active":"in_progress",(0,R.Z)(),(0,_.Z)(),(0,d.useEffect)((()=>{P||"unavailable"!==z.status||x||S(!0)}),[P,z.status,S,x]),(0,p.Z)({pageViewEventName:"protect_admin",pageViewEventProperties:{check_status:I,has_plan:j}}),"error"===t||x){let e=m?`${m} (${a}).`:__("We are having problems scanning your site.","jetpack-protect");return e+=" "+__("Try again in a few minutes.","jetpack-protect"),u().createElement(f.Z,null,u().createElement(n.Z,null,u().createElement(c.Z,{horizontalSpacing:0},N&&u().createElement(r.Z,{className:C.Z["connection-error-col"]},u().createElement(s.h,null)),u().createElement(r.Z,null,u().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),u().createElement(w.Z,{main:u().createElement("div",{className:C.Z["main-content"]},u().createElement(v.Z,{className:C.Z["alert-icon-wrapper"]}),u().createElement(l.H3,null,__("We’re having problems scanning your site","jetpack-protect")),u().createElement(l.ZP,null,e)),secondary:u().createElement("div",{className:C.Z.illustration},u().createElement("img",{src:Z,alt:""})),preserveSecondaryOnMobile:!1})),u().createElement(k.Z,null))}return["scheduled","scanning","optimistically_scanning"].indexOf(z.status)>=0||!e?u().createElement(f.Z,null,u().createElement(n.Z,null,u().createElement(c.Z,{horizontalSpacing:0},N&&u().createElement(r.Z,{className:C.Z["connection-error-col"]},u().createElement(s.h,null)),u().createElement(r.Z,null,u().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),u().createElement(w.Z,{main:u().createElement("div",{className:C.Z["main-content"]},u().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},u().createElement(r.Z,{className:C.Z["loading-content"]},u().createElement(i.Spinner,{style:{color:"black",marginTop:0,marginLeft:0}}),u().createElement("span",null,__("Scanning your site…","jetpack-protect"))),u().createElement(r.Z,null,u().createElement(l.H3,null,__("Your results will be ready soon","jetpack-protect")),null!==M&&M>=0&&u().createElement(E.Z,{value:M}),u().createElement(l.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:u().createElement("div",{className:C.Z.illustration},u().createElement("img",{src:Z,alt:""})),preserveSecondaryOnMobile:!1})),u().createElement(k.Z,null)):u().createElement(f.Z,null,u().createElement(n.Z,null,u().createElement(c.Z,{horizontalSpacing:0},N&&u().createElement(r.Z,{className:C.Z["connection-error-col"]},u().createElement(s.h,null)),u().createElement(r.Z,null,u().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),u().createElement(c.Z,{horizontalSpacing:3,horizontalGap:7},u().createElement(r.Z,null,u().createElement(b.Z,null)),u().createElement(r.Z,null,u().createElement(y.Z,null)))),u().createElement(k.Z,null))}},8264:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(9818),c=a(9196),r=a(4633);const l=()=>{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:()=>d});var n=a(6989),c=a.n(n),r=a(9818),l=a(4769),s=a.n(l),i=a(9196),o=a(6477),m=a(4633);const d=()=>{const{recordEvent:e}=(0,o.Z)(),t=(0,r.useSelect)((e=>e(m.t).getStatus())),{setStatus:a,setStatusProgress:n,setStatusIsFetching:l,setScanIsUnavailable:d}=(0,r.useDispatch)(m.t);(0,i.useEffect)((()=>{let r;const i=e=>["scheduled","scanning"].indexOf(e)>=0,o=(e,t)=>!t&&"idle"===e,m=()=>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(i(a?.status)||o(a?.status,a?.last_checked))return n(a?.current_progress),void(r=setTimeout((()=>{m().then((t=>e(t))).catch((e=>t(e)))}),1e4));e(a)})).catch((()=>{setTimeout((()=>{m().then((t=>e(t))).catch((e=>t(e)))}),5e3)}))}));if(i(t?.status)||o(t?.status,t?.lastChecked))return r=setTimeout((()=>{l(!0),m().then((t=>{d("unavailable"===t.status),a(s()(t)),e("jetpack_protect_scan_completed",{scan_status:t.status})})).finally((()=>{l(!1)}))}),1e4),()=>clearTimeout(r)}),[t?.status,t?.lastChecked,d,a,n,l,e])}},9909:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(2054),c=a(3363),r=a(3846),l=a(9196),s=a.n(l);const i=({main:e,secondary:t,preserveSecondaryOnMobile:a=!1})=>{const[l,i]=(0,n.Z)(["sm","lg"]),o=!a&&l;return s().createElement(c.Z,{horizontalSpacing:0,horizontalGap:0,fluid:!1},!o&&s().createElement(s().Fragment,null,s().createElement(r.Z,{sm:12,md:4,lg:6},e),i&&s().createElement(r.Z,{lg:1}),s().createElement(r.Z,{sm:12,md:4,lg:5},t)),o&&s().createElement(r.Z,null,e))}},2251:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(5736),c=a(8131);const __=n.__,r=e=>e>=5?"is-critical":e>=3&&e<5?"is-high":"is-low",l=({severity:e})=>React.createElement("div",{className:`${c.Z["threat-severity-badge"]} ${c.Z[r(e)]}`},(e=>{const t=__("Critical","jetpack-protect"),a=__("High","jetpack-protect"),n=__("Low","jetpack-protect");return e>=5?t:e>=3&&e<5?a:n})(e))},8959:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(5106),c=a(9307),r=a(5736),l=a(8911);const __=r.__,s=()=>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:l.Z.list},React.createElement("li",{className:l.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:l.Z.mark})}))),React.createElement("li",{className:l.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:()=>f});var n=a(3396),c=a(3363),r=a(3846),l=a(5106),s=a(526),i=a(9818),o=a(9771),m=a(5736),d=a(9196),u=a.n(d),p=a(5773),h=a(4633),g=a(6561);const __=m.__,f=()=>{const{numThreats:e,lastChecked:t,hasRequiredPlan:a}=(0,p.Z)(),d=(0,i.useSelect)((e=>e(h.t).getScanIsEnqueuing())),{scan:f}=(0,i.useDispatch)(h.t),v=(0,n.VS)("protect");return u().createElement(c.Z,{fluid:!0},u().createElement(r.Z,null,u().createElement("div",{className:g.Z.summary},u().createElement("div",null,u().createElement(l.Dx,{size:"small",className:g.Z.summary__title},u().createElement(v,{size:32,className:g.Z.summary__icon}),(0,m.sprintf)(/* translators: %s: Latest check date */ __("Latest results as of %s","jetpack-protect"),(0,o.dateI18n)("F jS",t))),e>0&&u().createElement(l.ZP,{variant:"headline-small",component:"h1"},(0,m.sprintf)(/* translators: %s: Total number of threats */ __("%1$s %2$s found","jetpack-protect"),e,1===e?"threat":"threats"))),a&&0===e&&u().createElement(s.Z,{variant:"secondary",className:g.Z["summary__scan-button"],isLoading:d,onClick:e=>{e.preventDefault(),f()}},__("Scan now","jetpack-protect")))))}},3324:(e,t,a)=>{"use strict";a.d(t,{O:()=>r,Z:()=>l});var n=a(554),c=a(5714);const r=({label:e,link:t})=>React.createElement(n.OL,{to:t,className:({isActive:e})=>e?`${c.Z.tab} ${c.Z["tab--active"]}`:c.Z.tab},e),l=({children:e,className:t=""})=>React.createElement("nav",{className:`${c.Z.tabs} ${t}`},e)},9265:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(8063);const c=({disabled:e=!1,id:t,label:a="",description:c="",placeholder:r="",rows:l=3,value:s="",onChange:i=(()=>{})})=>React.createElement("div",null,Boolean(a)&&React.createElement("label",{className:n.Z.label,htmlFor:t},a),Boolean(c)&&c,React.createElement("textarea",{className:n.Z.textarea,disabled:e,placeholder:r,rows:l,id:t,name:t,onChange:i,value:s||""}))},8891:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5106),c=a(5736),r=a(1074),l=a(9196),s=a.n(l),i=a(2251),o=a(9971);const __=c.__,m=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 d({threat:e,fixAllDialog:t,onCheckFix:a}){const[c,d]=(0,l.useState)(!0),u=(0,l.useCallback)((t=>{d(t.target.checked),a(t.target.checked,e)}),[a,e]);return s().createElement(s().Fragment,null,s().createElement("div",{className:o.Z.threat},s().createElement(r.Z,{icon:e.icon,className:o.Z.threat__icon}),s().createElement("div",{className:o.Z.threat__summary},s().createElement(n.ZP,{className:o.Z.threat__summary__label,mb:1},e.label),s().createElement(n.ZP,{className:o.Z.threat__summary__title},m(e.fixable))),s().createElement("div",{className:o.Z.threat__severity},s().createElement(i.Z,{severity:e.severity})),t&&s().createElement("div",{className:o.Z.threat__checkbox},s().createElement("input",{type:"checkbox",checked:c,onChange:u,value:e.id}))))}},5658:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(5106),c=a(9307),r=a(5736),l=a(9196),s=a(5773),i=a(9709);const __=r.__,_n=r._n,o=()=>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"})),m=()=>{const{lastChecked:e}=(0,s.Z)(),t=(0,l.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)( // 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)( // 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)( // 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)( // 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)( // 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:i.Z.empty},React.createElement(o,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)( // 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),l=a(8258),s=a(5736),i=a(9196),o=a.n(i),m=a(3898),d=a(6477),u=a(3584),p=a(9709);const __=s.__,h=({description:e,filename:t,fixedIn:a,icon:h,id:g,name:f,source:v,table:E,title:k,type:w,version:b})=>{const{adminUrl:y}=window.jetpackProtectInitialState||{},{run:Z}=(0,l.Z)({productSlug:m.o,redirectUrl:y}),{recordEventHandler:C}=(0,d.Z)(),_=C("jetpack_protect_threat_list_get_scan_link_click",Z),R=v?o().createElement(n.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:v},__("See more technical details of this threat","jetpack-protect")):null,j=(0,i.useCallback)((()=>f&&b?`${f} (${b})`:t?t.split("/").pop():E||void 0),[t,f,E,b]);return o().createElement(u.U,{id:g,label:j(),title:k,icon:h,onOpen:(0,i.useCallback)((()=>{["core","plugin","theme"].includes(w)&&C(`jetpack_protect_${w}_threat_open`)}),[C,w])},e&&o().createElement("div",{className:p.Z["threat-section"]},o().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),o().createElement(c.ZP,{mb:2},e),R),a&&o().createElement("div",{className:p.Z["threat-section"]},o().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),o().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ /* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ (0,s.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),f,a)),o().createElement(r.Z,{description:__("Looking for advanced scan results and one-click fixes?","jetpack-protect"),cta:__("Upgrade Jetpack Protect now","jetpack-protect"),onClick:_,className:p.Z["threat-item-cta"]})),!e&&o().createElement("div",{className:p.Z["threat-section"]},R))},g=({list:e})=>o().createElement(u.Z,null,e.map((({description:e,fixedIn:t,icon:a,id:n,name:c,source:r,table:l,title:s,type:i,version:m})=>o().createElement(h,{description:e,fixedIn:t,icon:a,id:n,key:n,name:c,source:r,table:l,title:s,type:i,version:m}))))},5207:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(3363),c=a(3846),r=a(5106),l=a(526),s=a(9818),i=a(5736),o=a(9196),m=a.n(o),d=a(5773),u=a(4633),p=a(5658),h=a(2831),g=a(4289),f=a(1400),v=a(9709),E=a(7930);const __=i.__,k=()=>{const{hasRequiredPlan:e}=(0,d.Z)(),{item:t,list:a,selected:k,setSelected:w}=(0,E.Z)(),b=a.filter((e=>e.fixable)),{setModal:y}=(0,s.useDispatch)(u.t),{scan:Z}=(0,s.useDispatch)(u.t),C=(0,s.useSelect)((e=>e(u.t).getScanIsEnqueuing())),_=(0,o.useCallback)((()=>{switch(k){case"all":return 1===a.length?__("All threats","jetpack-protect"):(0,i.sprintf)(/* translators: placeholder is the amount of threats found on the site. */ __("All %s threats","jetpack-protect"),a.length);case"files":return(0,i.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,i.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,i.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 m().createElement(n.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:3},m().createElement(c.Z,{lg:4},m().createElement(g.Z,{selected:k,onSelect:w})),m().createElement(c.Z,{lg:8},a?.length>0?m().createElement(m().Fragment,null,m().createElement("div",{className:v.Z["list-header"]},m().createElement(r.Dx,{className:v.Z["list-title"]},_()),e&&m().createElement(m().Fragment,null,b.length>0&&m().createElement(l.Z,{variant:"primary",className:v.Z["list-header-button"],onClick:(R=b,e=>{e.preventDefault(),y({type:"FIX_ALL_THREATS",props:{threatList:R}})})},/* translators: Translates to Auto fix all. $s: Number of fixable threats. */ /* translators: Translates to Auto fix all. $s: Number of fixable threats. */ (0,i.sprintf)(__("Auto fix all (%s)","jetpack-protect"),b.length)),m().createElement(l.Z,{variant:"secondary",className:v.Z["list-header-button"],isLoading:C,onClick:e=>{e.preventDefault(),Z()}},__("Scan now","jetpack-protect")))),e?m().createElement(f.Z,{list:a}):m().createElement(h.Z,{list:a})):m().createElement(p.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),l=a(2817),s=a(7663),i=a(8960),o=a(4160),m=a(6376),d=a(9196),u=a(6477),p=a(5773),h=a(5338);const __=c.__,g=({selected:e,onSelect:t})=>{const{plugins:a,themes:c,numThreats:g,numCoreThreats:f,numFilesThreats:v,numDatabaseThreats:E,hasRequiredPlan:k}=(0,p.Z)(),{recordEvent:w}=(0,u.Z)(),[b]=(0,n.Z)("lg","<"),y=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_all_click")}),[w]),Z=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_core_click")}),[w]),C=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_plugin_click")}),[w]),_=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_theme_click")}),[w]),R=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_file_click")}),[w]),j=(0,d.useCallback)((()=>{w("jetpack_protect_navigation_database_click")}),[w]);return React.createElement(h.ZP,{selected:e,onSelect:t,mode:b?"dropdown":"list"},React.createElement(h.Dx,{initial:!0,id:"all",label:__("All threats","jetpack-protect"),icon:r.Z,badge:g,disabled:g<=0,onClick:y,checked:!0}),React.createElement(h.Dx,{id:"wordpress",label:__("WordPress","jetpack-protect"),icon:l.Z,badge:f,disabled:f<=0,onClick:Z,checked:!0}),React.createElement(h.KB,{label:__("Plugins","jetpack-protect"),icon:s.Z},a.map((({name:e,threats:t,checked:a})=>React.createElement(h.Dx,{key:e,id:e,label:e,checked:a,badge:t?.length,disabled:t?.length<=0,onClick:C})))),React.createElement(h.KB,{label:__("Themes","jetpack-protect"),icon:i.Z},c.map((({name:e,threats:t,checked:a})=>React.createElement(h.Dx,{key:e,id:e,label:e,checked:a,badge:t?.length,disabled:t?.length<=0,onClick:_})))),k&&React.createElement(React.Fragment,null,React.createElement(h.Dx,{id:"files",label:__("Files","jetpack-protect"),icon:o.Z,badge:v,disabled:v<=0,onClick:R,checked:!0}),React.createElement(h.Dx,{id:"database",label:__("Database","jetpack-protect"),icon:m.Z,badge:E,disabled:E<=0,onClick:j,checked:!0})))}},1400:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(526),c=a(5106),r=a(2054),l=a(9818),s=a(9307),i=a(5736),o=a(9196),m=a.n(o),d=a(6477),u=a(4633),p=a(7127),h=a(4257),g=a(289),f=a(9709);const __=i.__,v=({context:e,description:t,diff:a,filename:r,fixedIn:s,icon:v,fixable:E,id:k,label:w,name:b,source:y,title:Z,type:C,severity:_})=>{const{setModal:R}=(0,l.useDispatch)(u.t),{recordEvent:j}=(0,d.Z)(),N=y?m().createElement(n.Z,{variant:"link",isExternalLink:!0,weight:"regular",href:y},__("See more technical details of this threat","jetpack-protect")):null;return m().createElement(g.c,{id:k,label:w,title:Z,icon:v,fixable:E,severity:_,onOpen:(0,o.useCallback)((()=>{["core","plugin","theme","file","database"].includes(C)&&j(`jetpack_protect_${C}_threat_open`)}),[j,C])},t&&m().createElement("div",{className:f.Z["threat-section"]},m().createElement(c.ZP,{variant:"title-small",mb:2},__("What is the problem?","jetpack-protect")),m().createElement(c.ZP,{mb:2},t),N),(r||e||a)&&m().createElement(c.ZP,{variant:"title-small",mb:2},__("The technical details","jetpack-protect")),r&&m().createElement(m().Fragment,null,m().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")),m().createElement("pre",{className:f.Z["threat-filename"]},r)),e&&m().createElement(h.Z,{context:e}),a&&m().createElement(p.C,{diff:a}),s&&m().createElement("div",{className:f.Z["threat-section"]},m().createElement(c.ZP,{variant:"title-small",mb:2},__("How to fix it?","jetpack-protect")),m().createElement(c.ZP,{mb:2},/* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ /* translators: Translates to Update to. %1$s: Name. %2$s: Fixed version */ (0,i.sprintf)(__("Update to %1$s %2$s","jetpack-protect"),b,s))),!t&&m().createElement("div",{className:f.Z["threat-section"]},N),m().createElement("div",{className:f.Z["threat-footer"]},m().createElement(n.Z,{isDestructive:!0,variant:"secondary",onClick:e=>{e.preventDefault(),R({type:"IGNORE_THREAT",props:{id:k,label:w,title:Z,icon:v,severity:_}})}},__("Ignore threat","jetpack-protect")),E&&m().createElement(n.Z,{onClick:e=>{e.preventDefault(),R({type:"FIX_THREAT",props:{id:k,label:w,title:Z,icon:v,severity:_,fixable:E}})}},__("Fix threat","jetpack-protect"))))},E=({list:e})=>{const{scan:t}=(0,l.useDispatch)(u.t),a=(0,s.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:m().createElement(n.Z,{variant:"link",onClick:e=>{e.preventDefault(),t()}})}),[i]=(0,r.Z)(["sm","lg"],[null,"<"]),o=e=>e.name&&e.version?`${e.name} (${e.version})`:e.filename?e.filename.split("/").pop():e.table?e.table:void 0;return e=e.map((e=>({label:o(e),...e}))),m().createElement(m().Fragment,null,!i&&m().createElement("div",{className:f.Z["accordion-heading"]},m().createElement("span",null,__("Details","jetpack-protect")),m().createElement("span",null,__("Severity","jetpack-protect")),m().createElement("span",null,__("Auto-fix","jetpack-protect")),m().createElement("span",null)),m().createElement(g.Z,null,e.map((({context:e,description:t,diff:a,filename:n,fixedIn:c,icon:r,fixable:l,id:s,label:i,name:o,severity:d,source:u,table:p,title:h,type:g,version:f})=>m().createElement(v,{context:e,description:t,diff:a,filename:n,fixedIn:c,icon:r,fixable:l,id:s,key:s,label:i,name:o,severity:d,source:u,table:p,title:h,type:g,version:f})))),m().createElement(c.ZP,{className:f.Z["manual-scan"],variant:"body-small"},a))}},7930:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(2817),c=a(4160),r=a(6376),l=a(7663),s=a(8960),i=a(9196),o=a(5773);const m=(e,t)=>t.severity-e.severity,d=(e,t)=>Array.isArray(e)?e.map((e=>d(e,t))).flat():e?.threats.map((a=>({...a,...e,...t}))),u=()=>{const{plugins:e,themes:t,core:a,files:u,database:p}=(0,o.Z)(),[h,g]=(0,i.useState)("all"),{unsortedList:f,item:v}=(0,i.useMemo)((()=>{if(h&&"all"!==h){switch(h){case"wordpress":return{unsortedList:d(a,{icon:n.Z}),item:a};case"files":return{unsortedList:d(u,{icon:c.Z}),item:u};case"database":return{unsortedList:d(p,{icon:r.Z}),item:p}}const i=e.find((e=>e?.name===h));if(i)return{unsortedList:d(i,{icon:l.Z}),item:i};const o=t.find((e=>e?.name===h));if(o)return{unsortedList:d(o,{icon:s.Z}),item:o}}return{unsortedList:[...d(a,{icon:n.Z}),...d(e,{icon:l.Z}),...d(t,{icon:s.Z}),...d(u,{icon:c.Z}),...d(p,{icon:r.Z})],item:null}}),[a,p,u,e,h,t]);return{item:v,list:(0,i.useMemo)((()=>f.sort(m)),[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=({children:e})=>{const{isUserConnected:t,hasConnectedOwner:a}=(0,n.Z)();return t&&a?e:React.createElement(c.Z,null)}},8227:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5106),c=a(526),r=a(1294),l=a(9818),s=a(5736),i=a(4633),o=a(291),m=a(541);const __=s.__,d=()=>{const{setModal:e}=(0,l.useDispatch)(i.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(o.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:m.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:()=>l});var n=a(6975),c=a(1294),r=a(9196);const l=({pageViewEventName:e,pageViewNamespace:t="jetpack",pageViewSuffix:a="page_view",pageViewEventProperties:l={}}={})=>{const{isUserConnected:s,isRegistered:i,userConnectionData:o}=(0,c.Z)(),{login:m,ID:d}=o.currentUser?.wpcomUser||{},{tracks:u}=n.Z,{recordEvent:p}=u,h=(0,r.useCallback)((async(e,t)=>{p(e,t)}),[p]),g=(0,r.useCallback)(((e,t,a=(()=>{}))=>(a="function"==typeof t?t:a,t="function"==typeof t?{}:t,()=>h(e,t).then(a))),[h]);(0,r.useEffect)((()=>{s&&d&&m&&n.Z.initialize(d,m)}),[s,d,m]);const f=e?`${t}_${e}_${a}`:null;return(0,r.useEffect)((()=>{i&&f&&p(f,l)}),[]),{recordEvent:h,recordEventHandler:g}}},5773:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(9818),c=a(9196),r=a(4633);function l(){const{statusIsFetching:e,status:t,jetpackScan:a,hasRequiredPlan:l}=(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 s="error";!0===e?s="loading":t.status&&(s=t.status);const i=(0,c.useMemo)((()=>t.core?.threats?.length||0),[t.core]),o=(0,c.useMemo)((()=>(t.plugins||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.plugins]),m=(0,c.useMemo)((()=>(t.themes||[]).reduce(((e,t)=>e+t.threats.length),0)),[t.themes]),d=(0,c.useMemo)((()=>t.files?.length||0),[t.files]),u=(0,c.useMemo)((()=>t.database?.length||0),[t.database]);return{numThreats:i+o+m+d+u,numCoreThreats:i,numPluginsThreats:o,numThemesThreats:m,numFilesThreats:d,numDatabaseThreats:u,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:s,hasUncheckedItems:t.hasUncheckedItems,jetpackScan:a,hasRequiredPlan:l}}},8963:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(9818),c=a(9196),r=a(1827),l=a(4633);const s=()=>{const{setWafConfig:e,setWafStats:t,setWafIsEnabled:a,setWafIsUpdating:s,setWafIsToggling:i}=(0,n.useDispatch)(l.t),o=(0,n.useSelect)((e=>e(l.t).getWaf())),m=(0,c.useCallback)((()=>(s(!0),r.Z.fetchWaf().then((n=>{a(n?.isEnabled),e(n?.config),t(n?.stats)})).finally((()=>s(!1))))),[e,t,a,s]),d=(0,c.useCallback)((()=>(o.isEnabled||i(!0),s(!0),r.Z.toggleWaf().then(m).finally((()=>{i(!1),s(!1)})))),[m,o.isEnabled,i,s]),u=(0,c.useCallback)((()=>o.isEnabled?Promise.resolve():d()),[d,o.isEnabled]),p=(0,c.useCallback)((()=>(s(!0),u().then((()=>r.Z.updateWaf({jetpack_waf_automatic_rules:!o.config.jetpackWafAutomaticRules}))).then(m).finally((()=>s(!1))))),[u,m,s,o.config.jetpackWafAutomaticRules]),h=(0,c.useCallback)((()=>(s(!0),r.Z.updateWaf({jetpack_waf_ip_list:!o.config.jetpackWafIpList}).then(m).finally((()=>s(!1))))),[m,s,o.config.jetpackWafIpList]),g=(0,c.useCallback)((()=>(s(!0),r.Z.updateWaf({brute_force_protection:!o.config.bruteForceProtection}).then(m).finally((()=>s(!1))))),[m,s,o.config.bruteForceProtection]),f=(0,c.useCallback)((()=>(s(!0),u().then((()=>r.Z.updateWaf({jetpack_waf_share_data:!o.config.jetpackWafShareData}))).then(m).finally((()=>s(!1))))),[u,m,s,o.config.jetpackWafShareData]),v=(0,c.useCallback)((e=>(s(!0),r.Z.updateWaf(e).then(m).finally((()=>s(!1))))),[m,s]);return(0,c.useEffect)((()=>{void 0!==o.config||o.isFetching||m()}),[o.config,o.isFetching,s,m]),{...o,refreshWaf:m,toggleWaf:d,toggleAutomaticRules:p,toggleManualRules:h,toggleBruteForceProtection:g,toggleShareData:f,updateConfig:v}}},5230:(e,t,a)=>{"use strict";a.d(t,{BZ:()=>b,Gk:()=>p,Oc:()=>S,Ot:()=>N,PF:()=>P,P_:()=>E,RR:()=>f,Rj:()=>R,U2:()=>v,VF:()=>Z,Xm:()=>w,Y2:()=>u,ZP:()=>$,_N:()=>i,d0:()=>m,dG:()=>C,eG:()=>h,hI:()=>g,i0:()=>y,jA:()=>o,kd:()=>j,l:()=>z,o9:()=>d,r0:()=>_,tu:()=>k,y:()=>x});var n=a(6989),c=a.n(n),r=a(5736),l=a(4769),s=a.n(l);const _n=r._n,__=r.__,i="SET_CREDENTIALS_STATE_IS_FETCHING",o="SET_CREDENTIALS_STATE",m="SET_STATUS",d="SET_STATUS_PROGRESS",u="START_SCAN_OPTIMISTICALLY",p="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",w="SET_THREAT_IS_UPDATING",b="SET_THREATS_ARE_FIXING",y="SET_MODAL",Z="SET_NOTICE",C="CLEAR_NOTICE",_="SET_HAS_REQUIRED_PLAN",R="SET_WAF_IS_SEEN",j="SET_WAF_UPGRADE_IS_SEEN",N="SET_WAF_IS_ENABLED",S="SET_WAF_IS_UPDATING",P="SET_WAF_IS_TOGGLING",x="SET_WAF_CONFIG",z="SET_WAF_STATS",M=e=>({type:m,status:e}),I=()=>({type:u}),L=e=>c()({path:"jetpack-protect/v1/status"+(e?"?hard_refresh=true":""),method:"GET"}),T=(e=!1)=>async({dispatch:t})=>(t(F(!0)),await new Promise(((a,n)=>L(e).then(A).then((e=>{t(H("unavailable"===e.status)),t(M(s()(e))),a(e)})).catch((e=>{n(e)})).finally((()=>{t(F(!1))}))))),A=(e,t=0)=>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)})),O=e=>({type:i,isFetching:e}),V=e=>({type:o,credentials:e}),F=e=>({type:p,status:e}),H=e=>({type:h,status:e}),D=e=>({type:g,isEnqueuing:e}),U=(e,t)=>({type:w,payload:{threatId:e,isUpdating:t}}),B=e=>({type:b,threatIds:e}),W=e=>async({dispatch:t})=>{const a=e.reduce(((e,t)=>`${e}threat_ids[]=${t}&`),"jetpack-protect/v1/fix-threats-status?");return t(B(e)),await c()({path:a,method:"GET"}).then((async a=>{const n=Object.values(a.threats);if(n.filter((e=>"in_progress"===e.status)).length>0)return await new Promise((()=>{setTimeout((()=>{t(W(e))}),1e3)}));if(!n.filter((e=>"fixed"===e.status)).length===e.length)throw"Not all threats could be fixed."})).then((()=>{t(T()),t(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((()=>{t(J({type:"error",message:__("Not all threats could be fixed. Please contact our support.","jetpack-protect")}))})).finally((()=>{t(B([]))}))},J=e=>({type:Z,payload:e}),G=e=>({type:_,hasRequiredPlan:e}),$={checkCredentials:()=>async({dispatch:e})=>await new Promise(((t,a)=>(e(O(!0)),c()({path:"jetpack-protect/v1/check-credentials",method:"POST"}).then((a=>{e(V(a)),t(a)})).catch((e=>{a(e)})).finally((()=>{e(O(!1))}))))),setCredentials:V,setCredentialsIsFetching:O,setStatus:M,setStatusProgress:e=>({type:d,currentProgress:e}),startScanOptimistically:I,refreshStatus:T,setStatusIsFetching:F,setScanIsEnqueuing:D,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:(e,t=(()=>{}))=>async({dispatch:a})=>(a(U(e,!0)),await new Promise((()=>c()({path:`jetpack-protect/v1/ignore-threat?threat_id=${e}`,method:"POST"}).then((()=>a(T()))).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(U(e,!1)),t()}))))),setModal:e=>({type:y,payload:e}),setNotice:J,clearNotice:()=>({type:C}),fixThreats:(e,t=(()=>{}))=>async({dispatch:a})=>(e.forEach((e=>{a(U(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(U(e,!1))})),t()}))))),scan:(e=(()=>{}))=>async({dispatch:t})=>(t(D(!0)),await new Promise((()=>c()({path:"jetpack-protect/v1/scan",method:"POST"}).then((()=>{t(I()),setTimeout((()=>t(T(!0))),5e3)})).catch((()=>t(J({type:"error",message:__("An error ocurred enqueuing the scan","jetpack-protect")})))).finally((()=>{t(D(!1)),e()}))))),setThreatsAreFixing:B,refreshPlan:()=>({dispatch:e})=>{c()({path:"jetpack-protect/v1/check-plan",method:"GET"}).then((t=>e(G(t))))},setHasRequiredPlan:G,setScanIsUnavailable:H,setWafIsEnabled:e=>({type:N,isEnabled:e}),setWafIsSeen:e=>({type:R,isSeen:e}),setWafUpgradeIsSeen:e=>({type:j,upgradeIsSeen:e}),setWafIsUpdating:e=>({type:S,isUpdating:e}),setWafIsToggling:e=>({type:P,isToggling:e}),setWafConfig:e=>({type:x,config:e}),setWafStats:e=>({type:z,stats:e})}},3638:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});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},l=(0,n.combineReducers)({credentials:(e=null,t)=>t.type===c.jA?t.credentials:e,credentialsIsFetching:(e=!1,t)=>t.type===c._N?t.isFetching:e,status:(e={},t)=>{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:(e=!1,t)=>t.type===c.Gk?t.status:e,scanIsUnavailable:(e=!1,t)=>t.type===c.eG?t.status:e,scanIsEnqueuing:(e=!1,t)=>t.type===c.hI?t.isEnqueuing:e,installedPlugins:(e={},t)=>t.type===c.RR?t.plugins:e,installedThemes:(e={},t)=>t.type===c.U2?t.themes:e,wpVersion:(e={},t)=>t.type===c.P_?t.version:e,jetpackScan:(e={},t)=>t.type===c.tu?t.scan:e,threatsUpdating:(e={},t)=>t.type===c.Xm?{...e,[t.payload.threatId]:t.payload.isUpdating}:e,modal:(e={},t)=>t.type===c.i0?{...e,...t.payload}:e,notice:(e={},t)=>{switch(t.type){case c.VF:return{...e,...t.payload};case c.dG:return{}}return e},setThreatsFixing:(e=[],t)=>t.type===c.BZ?t.threatIds:e,hasRequiredPlan:(e=!1,t)=>t.type===c.r0?t.hasRequiredPlan:e,waf:(e=r,t)=>{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:()=>l});var n=a(6989),c=a.n(n),r=a(5230);const l={getJetpackScan:{isFulfilled:e=>Object.keys(e?.jetpackScan).length>0,fulfill:()=>async({dispatch:e})=>{const t=await c()({path:"/my-jetpack/v1/site/products/scan",method:"GET"});e(r.ZP.setJetpackScan(t))}}}},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:()=>r});var n=a(9818);class c{static store=null;static mayBeInit(e,t){null===c.store&&(c.store=(0,n.createReduxStore)(e,t),(0,n.register)(c.store))}}const r=c},4633:(e,t,a)=>{"use strict";a.d(t,{N:()=>d,t:()=>m});var n=a(4769),c=a.n(n),r=a(5230),l=a(3638),s=a(1056),i=a(6850),o=a(5217);const m="jetpack-protect";function d(){o.Z.mayBeInit(m,{__experimentalUseThunks:!0,reducer:l.Z,actions:r.ZP,selectors:i.Z,resolvers:s.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},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"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),l=a(554),s=a(5975),i=a(8257),o=a(8686),m=a(4633);a(1155);function d(){const e=(0,r.TH)();return(0,n.useEffect)((()=>window.scrollTo(0,0)),[e]),null}(0,m.N)(),function(){const a=document.getElementById("jetpack-protect-root");if(null===a)return;const n=c().createElement(e.ZP,null,c().createElement(l.UT,null,c().createElement(d,null),c().createElement(r.Z5,null,c().createElement(r.AW,{path:"/",element:c().createElement(o.Z,null)}),c().createElement(r.AW,{path:"/firewall",element:c().createElement(s.Z,null)}))),c().createElement(i.Z,null));t.createRoot(a).render(n)}()})()})();