Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
better-wp-security
/
dist
/
pages
:
settings.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/*! For license information please see settings.js.LICENSE.txt */ (globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[662,5813],{8414:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ChildPages:()=>T,ErrorRenderer:()=>ue,Logo:()=>be,Main:()=>$,ModuleCard:()=>lt,ModuleFormInputs:()=>Ye,Navigation:()=>G,NavigationFill:()=>X,NoticeList:()=>_e,ONBOARD_STORE_NAME:()=>yr,OnboardBackActionFill:()=>Re,OnboardEmptyMain:()=>Pe,OnboardHeader:()=>Oe,OnboardMain:()=>De,OnboardProgress:()=>Be,OnboardSiteTypeBeforeFill:()=>Nr,OnboardSiteTypeIpDetectionFill:()=>qr,Page:()=>I,PrimaryForm:()=>se,PrimaryFormSection:()=>oe,SelectableCard:()=>le,Sidebar:()=>V,SingleModulePage:()=>xn,SiteScanIcon:()=>st,SoftwareVulnerabilityCard:()=>pt,StatusToggleSettings:()=>$e,history:()=>aa,useAllowedSettingsFields:()=>Ee,useConfigContext:()=>fe,useCurrentPage:()=>A,useModuleRequirementsValidator:()=>ye,useNavigateTo:()=>he,useNavigation:()=>R,useSettingsForm:()=>ge});var n={};r.r(n),r.d(n,{CLEAR_SITE_TYPE:()=>qt,CLEAR_VISITED_LOCATIONS:()=>Jt,EDIT_ANSWER:()=>$t,RECEIVE_SITE_TYPE:()=>Ut,RECEIVE_SITE_TYPES:()=>Bt,RECORD_VISITED_LOCATION:()=>Qt,REGISTER_COMPLETION_STEP:()=>Yt,REGISTER_QUESTION_COMPONENT:()=>Gt,SELECT_SITE_TYPE:()=>jt,SET_COMPLETION_STEP:()=>Xt,SET_ERROR:()=>Kt,SET_IS_ANSWERING:()=>Wt,answerQuestion:()=>It,applyAnswerResponse:()=>zt,clearSiteType:()=>Ot,clearVisitedLocations:()=>Vt,completeOnboarding:()=>kt,editAnswer:()=>Nt,fetchSiteTypes:()=>Mt,receiveSiteType:()=>Ht,receiveSiteTypes:()=>Rt,recordVisitedLocation:()=>Zt,registerCompletionStep:()=>Ft,registerQuestionComponent:()=>Pt,repeatQuestion:()=>Tt,resetOnboarding:()=>At,selectSiteType:()=>Ct});var a={};r.r(a),r.d(a,{getAnswerRequest:()=>dr,getAnswers:()=>nr,getCompletionStep:()=>pr,getCompletionSteps:()=>cr,getEditedAnswer:()=>ir,getLastError:()=>sr,getLastVisitedLocation:()=>mr,getNextQuestion:()=>ar,getQuestionComponent:()=>or,getRestoreSiteTypeRequest:()=>ur,getSelectedSiteType:()=>rr,getSelectedSiteTypeId:()=>tr,getSiteTypes:()=>er,isAnswering:()=>lr});var i={};r.r(i),r.d(i,{getNextQuestion:()=>Er,getSelectedSiteType:()=>gr,getSiteTypes:()=>hr});var l=r(6293),s=r(95122),o=r(25993),c=r.n(o),d=r(79612),u=r(52117),m=r(16550),p=r(42236),f=r(35800),h=r(12614),g=r(64893),E=r(3571),y=r(71930),v=r(92819),b=r(90071),x=r(99196),w=Object.prototype.hasOwnProperty;function _(e,t,r){for(r of e.keys())if(S(r,t))return r}function S(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&S(e[n],t[n]););return-1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e){if((a=n)&&"object"==typeof a&&!(a=_(t,a)))return!1;if(!t.has(a))return!1}return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e){if((a=n[0])&&"object"==typeof a&&!(a=_(t,a)))return!1;if(!S(n[1],t.get(a)))return!1}return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}if(!r||"object"==typeof e){for(r in n=0,e){if(w.call(e,r)&&++n&&!w.call(t,r))return!1;if(!(r in t)||!S(e[r],t[r]))return!1}return Object.keys(t).length===n}}return e!=e&&t!=t}var L=r(9576),C=r(48015),M=r(31600);const O=(0,l.createContext)({pages:[],childPages:{},addPage:()=>{},removePage:()=>{},addChildPages:()=>{},removeChildPages:()=>{}});function N({children:e}){const[t,r]=(0,l.useState)([]),[n,a]=(0,l.useState)({}),i=(0,l.useCallback)((e=>{r((t=>{const r=t.findIndex((t=>t.id===e.id));let n;return-1===r?n=[...t,e]:(n=[...t],n[r]=e),(0,v.sortBy)(n,"priority")}))}),[]),s=(0,l.useCallback)((e=>{r((t=>t.filter((t=>t.id!==e))))}),[]),o=(0,l.useCallback)(((e,t)=>{a((r=>({...r,[e]:t})))}),[a]),c=(0,l.useCallback)((e=>{a((t=>(0,v.omit)(t,e)))}),[a]);return(0,l.createElement)(O.Provider,{value:{pages:t,childPages:n,addPage:i,removePage:s,addChildPages:o,removeChildPages:c}},e)}function I({id:e,title:t,icon:r,roots:n=["settings"],priority:a=90,location:i="primary",featureFlag:s,ignore:o,hideFromNav:c,children:d}){const u=(0,l.useContext)(O);return(0,l.useEffect)((()=>(u.addPage({id:e,title:t,icon:r,roots:n,priority:a,location:i,featureFlag:s,ignore:o,hideFromNav:c,render:d}),()=>{u.removePage(e)})),[e,t]),null}function T(e){const{pages:t}=e,r=(0,l.useContext)(O),n=(0,L.useInstanceId)(T,"");var a,i,s,o,c;return a=()=>(r.addChildPages(n,t),()=>{r.removeChildPages(n)}),i=[t],x.useEffect(a,(s=i,o=x.useRef(s),c=x.useRef(0),S(s,o.current)||(o.current=s,c.current+=1),x.useMemo((function(){return o.current}),[c.current]))),null}function z({root:e,location:t}={}){const{featureFlags:r}=(0,C.useSelect)((e=>({featureFlags:e(M.CORE_STORE_NAME).getFeatureFlags()})),[]),{root:n}=(0,m.UO)(),{pages:a}=(0,l.useContext)(O);return a.filter((a=>a.roots.includes(e||n)&&(!t||a.location===t)&&(!a.featureFlag||r.includes(a.featureFlag))))}function A(){const e=z(),{page:t}=(0,m.UO)();return e.find((e=>e.id===t))}function k(){const{childPages:e}=(0,l.useContext)(O);return(0,l.useMemo)((()=>(0,v.flatMap)(e)),[e])}function R(e){const{root:t,page:r,child:n,tab:a}=(0,m.UO)(),i=function(e){const t=z();if(!t.length)return;if(!e)return t[0];const r=t.findIndex((t=>t.id===e));return t[r+1]?.id}(r),l=k().map((e=>e.id)),s=(0,m.k6)();let o,c;if(e){let i,l;for(let t=0;t<e.length;t++)if(e[t]===a){i=e[t-1],l=e[t+1];break}o=i&&`/${t}/${r}/${n}/${i}`,c=l&&`/${t}/${r}/${n}/${l}`}if((!o||!c)&&l){let e,a;for(let t=0;t<l.length;t++)if(l[t]===n){e=l[t-1],a=l[t+1];break}o=o||e&&`/${t}/${r}/${e}`,c=c||a&&`/${t}/${r}/${a}`}return!c&&i&&(c=`/${t}/${i}`),{previous:o,goPrevious(){o&&s.push((0,b.ob)(o))},next:c,goNext(){c&&s.push((0,b.ob)(c))},nextPage:i&&`/${t}/${i}`,goNextPage(){i&&s.push((0,b.ob)(`/${t}/${i}`))}}}O.displayName="PageRegistration";var H=r(73727),D=r(87462),P=r(94184),F=r.n(P),Z=r(65813);function V({className:e,logo:t="color",children:r}){const{root:n}=(0,m.UO)(),[a,i]=(0,l.useState)(!1);return(0,l.createElement)("div",(0,D.Z)({},(0,Z.Zk)((()=>a&&i(!1))),{tabIndex:-1,className:F()("itsec-settings-sidebar",e,`itsec-settings-sidebar--root-${n}`,{"itsec-settings-sidebar--expanded":a})}),(0,l.createElement)("div",{className:"itsec-settings-sidebar__inner"},(0,l.createElement)(H.rU,{to:"/",className:"itsec-settings-sidebar__logo"},(0,l.createElement)(be,{style:t})),(0,l.createElement)(g.Button,{icon:"menu-alt2",label:(0,s.__)("Toggle Sidebar","better-wp-security"),className:"itsec-settings-sidebar__toggle",showTooltip:!1,isPressed:a,onClick:e=>{e.currentTarget.focus(),i(!a)},"aria-expanded":a}),r))}var B=r(47959);const U=(0,u.Z)("div",{target:"e19csuxl2"})({name:"vgwucc",styles:"display:flex;align-self:center;flex-direction:column;gap:1.25rem;width:100%;max-width:1680px;padding:1.25rem 1.25rem 4rem 1.5rem"}),j=(0,u.Z)("main",{target:"e19csuxl1"})({name:"bjn8wh",styles:"position:relative"}),q=(0,u.Z)(g.FlexItem,{target:"e19csuxl0"})("margin-top:",(({isMedium:e})=>e&&"1.25rem"),";width:",(({isMedium:e})=>e&&"10rem"),";");function $({children:e}){const t=(0,L.useViewportMatch)("medium"),r=(0,l.useRef)(),n=(0,m.TH)();return(0,l.useEffect)((()=>{r.current?.focus(),r.current?.ownerDocument.body.scrollTo(0,0)}),[n]),(0,l.createElement)(React.Fragment,null,(0,l.createElement)(B.Qf,null),(0,l.createElement)(U,null,(0,l.createElement)(y.X6,{level:1,text:(0,s.__)("Settings","better-wp-security"),weight:y.fs.NORMAL}),(0,l.createElement)(g.Flex,{gap:5,align:"start",direction:t?"row":"column"},(0,l.createElement)(q,{isMedium:t},(0,l.createElement)(G,{orientation:t?"vertical":"horizontal"})),(0,l.createElement)(g.FlexBlock,null,(0,l.createElement)(j,{ref:r,"aria-labelledby":"itsec-page-header"},(0,l.createElement)(f.ErrorBoundary,{FallbackComponent:ue},e))))))}const W=(0,u.Z)(y.aV,{target:"e1imaywr1"})({name:"vtxs8z",styles:"margin:1rem"}),K=(0,u.Z)(y.xv,{target:"e1imaywr0"})("text-decoration:none;&.active{color:",(({theme:e})=>e.colors.primary.darker20),";}");function G({orientation:e,children:t}){const r=z({location:"primary"}),{root:n,page:a}=(0,m.UO)();return(0,l.createElement)(y.Rx,{orientation:e},r.map((e=>(0,l.createElement)(l.Fragment,{key:e.id},(0,l.createElement)(H.OL,{key:e.id,to:`/${n}/${e.id}`,component:(0,Z.Sj)(y.Ig)},e.title),e.id===a&&(0,l.createElement)(Y,null)))),t)}function Y(){const e=k();return e.length?(0,l.createElement)(W,{gap:3},e.map((({title:e,to:t,id:r})=>(0,l.createElement)(y.HC,{key:r},(0,l.createElement)(H.OL,{to:t,component:(0,Z.Sj)(K),as:"a",text:e,variant:y.rK.MUTED}))))):null}const{Fill:X}=(0,g.createSlotFill)("Navigation");var Q=r(63708);const J=(0,u.Z)("button",{target:"e1yisc1r6"})('text-decoration:none;margin:0;border:0;padding:0;cursor:pointer;-webkit-appearance:none;background:none;width:100%;&:focus,&[aria-pressed="true"]{box-shadow:0 0 0 var(--wp-admin-border-width-focus) ',(({theme:e})=>e.colors.primary.base),";outline:3px solid transparent;}"),ee=(0,u.Z)(y.X6,{target:"e1yisc1r5"})({name:"1ce9wo2",styles:"grid-area:title"}),te=(0,u.Z)(y.xv,{target:"e1yisc1r4"})({name:"1x9glg",styles:"grid-area:description"}),re=(0,u.Z)(y.Tg,{target:"e1yisc1r3"})({name:"imqah0",styles:"grid-area:icon;width:4rem;height:3.25rem;display:flex;align-items:center;justify-content:center;border-radius:2px"}),ne=(0,u.Z)(g.Icon,{target:"e1yisc1r2"})({name:"18b7ufz",styles:"fill:#9675F7"}),ae=(0,u.Z)(g.Icon,{target:"e1yisc1r1"})({name:"1e03zz3",styles:"grid-area:go;align-self:center"}),ie=(0,u.Z)("div",{target:"e1yisc1r0"})("background:#f6f7f7;border:1px solid ",(({theme:e})=>e.colors.border.normal),";border-radius:2px;display:",(({direction:e})=>"horizontal"===e?"grid":"flex"),";flex-direction:column;align-items:",(({direction:e})=>"vertical"===e&&"center"),";justify-content:",(({direction:e})=>"vertical"===e&&"center"),';grid-template-areas:"icon title go" "icon description go";grid-template-columns:min-content auto min-content;gap:',(({direction:e})=>"horizontal"===e?"0.5rem 1.25rem":"0.75rem"),";padding:1rem;min-height:",(({direction:e})=>"vertical"===e&&"200px"),";&:hover ",ae,"{fill:",(({theme:e})=>e.colors.primary.darker20),";}&:hover ",ee,"{color:",(({theme:e})=>e.colors.primary.darker20),";}");function le({onClick:e,title:t,description:r,icon:n,direction:a="horizontal",className:i,disabled:s,isSelected:o}){return(0,l.createElement)(J,{onClick:e,className:i,variant:"none",disabled:s,"aria-pressed":o},(0,l.createElement)(ie,{direction:a},(0,l.createElement)(re,{variant:y.h1.SECONDARY},(0,l.createElement)(ne,{icon:n,size:30})),(0,l.createElement)(ee,{level:4,size:y.yH.LARGE,weight:y.fs.HEAVY,text:t}),r&&(0,l.createElement)(te,{variant:y.rK.MUTED,text:r,align:"vertical"===a?"center":"left"}),"horizontal"===a&&(0,l.createElement)(ae,{icon:Q.Z})))}function se({onSubmit:e=(()=>{}),id:t,hasPadding:r,children:n,errors:a,apiError:i,className:s}){const o=(0,L.useInstanceId)(se,"itsec-primary-form");return t=t||o,(0,l.createElement)("div",{className:F()("itsec-primary-form",s,r&&"itsec-primary-form--has-padding")},(0,l.createElement)(B.KM,{errors:a,apiError:i}),(0,l.createElement)("form",{id:t,onSubmit:t=>{t.preventDefault(),e()}},n))}function oe({heading:e,className:t,children:r}){return l.Children.toArray(r).some(l.isValidElement)?(0,l.createElement)("div",{className:F()("itsec-primary-form__section",t)},e&&(0,l.createElement)(y.X6,{level:3,variant:y.rK.DARK,size:y.yH.NORMAL,weight:y.fs.HEAVY,className:"itsec-primary-form__section-title"},e),r):null}var ce=r(36179),de=r(60976);function ue({error:e}){const{pathname:t}=(0,m.TH)();return(0,l.createElement)(g.Card,{className:"itsec-error-renderer"},(0,l.createElement)(g.CardBody,null,(0,l.createElement)(B.nU,{icon:(0,l.createElement)(de.gI,null)})),(0,l.createElement)(g.CardFooter,{isShady:!0},(0,s.__)("An unexpected error occurred.","better-wp-security"),(0,l.createElement)(ce.Xp,null),(0,l.createElement)(g.Button,{variant:"secondary",onClick:()=>window.location.reload()},(0,s.__)("Refresh","better-wp-security")),(0,l.createElement)(g.ClipboardButton,{variant:"primary",text:`Page: ${t}\nError: ${e.stack}`},(0,s.__)("Copy Error","better-wp-security"))))}var me=r(31511);const pe=(0,l.createContext)({serverType:"",installType:"",onboardComplete:!1});function fe(){return(0,l.useContext)(pe)}function he(){const e=(0,m.k6)();return(0,l.useCallback)(((t,r="push")=>e[r]((0,b.ob)(t))),[e])}function ge(e,t){const{formData:r,conditionalSchemaBase:n}=(0,C.useSelect)((t=>({formData:t(M.MODULES_STORE_NAME).getEditedSettings(e.id),conditionalSchemaBase:t(M.MODULES_STORE_NAME).getSettingsConditionalSchema(e.id)})),[e.id]),{editSettings:a}=(0,C.useDispatch)(M.MODULES_STORE_NAME),i=t?{...n,properties:(0,v.pickBy)(n.properties,t)}:n,l=!(0,v.every)(i?.properties,(e=>"object"===e.type&&(0,v.isEmpty)(e.properties)));return{schema:i,uiSchema:e.settings?.schema.uiSchema,hasSettings:l,formData:r,setFormData:t=>{a(e.id,t.formData)}}}function Ee(e){const{root:t}=(0,m.UO)(),r=(()=>{switch(t){case"import":return e?.settings?.import;case"onboard":return e?.settings?.onboard}})(),n=(0,l.useCallback)(((e,t)=>r.includes(t)),[r]);return{allowedFields:r,filterFields:r&&n}}function ye(){const{featureFlags:e,siteInfo:t,requirementsInfo:r,proxy:n}=(0,C.useSelect)((e=>({featureFlags:e(M.CORE_STORE_NAME).getFeatureFlags(),siteInfo:e(M.CORE_STORE_NAME).getSiteInfo(),requirementsInfo:e(M.CORE_STORE_NAME).getRequirementsInfo(),proxy:e(M.MODULES_STORE_NAME).getEditedSetting("global","proxy")})),[]),{root:a}=(0,m.UO)(),i=a&&`/${a}/global#proxy`,o=(0,me.bv)("settings","/settings/global")+"#proxy";return(0,l.useCallback)(((a,c)=>{const d=new me.PN;if(!a.requirements)return d;const u=e=>e.validate===c||"activate"===c;if(a.requirements.ssl&&u(a.requirements.ssl)&&"https:"!==document.location.protocol&&d.add("ssl",(0,s.__)("Your site must support SSL.","better-wp-security"),a.requirements.ssl),a.requirements["feature-flags"]&&u(a.requirements["feature-flags"]))for(const t of a.requirements["feature-flags"].flags)e.includes(t)||d.add("feature-flags",(0,s.sprintf)((0,s.__)("The '%s' feature flag must be enabled.","better-wp-security"),t),a.requirements["feature-flags"]);if(a.requirements.multisite&&u(a.requirements.multisite)&&("enabled"===a.requirements.multisite.status&&!1===t?.multisite?d.add("multisite",(0,s.__)("Multisite must be enabled.","better-wp-security"),a.requirements.multisite):"disabled"===a.requirements.multisite.status&&!0===t?.multisite&&d.add("multisite",(0,s.__)("Multisite is not supported.","better-wp-security"),a.requirements.multisite)),a.requirements.server&&u(a.requirements.server)&&r){!a.requirements.server.php||(m=r.server.php,p=a.requirements.server.php,m.localeCompare(p,void 0,{numeric:!0,sensitivity:"base"})>=0)||d.add("server",(0,s.sprintf)((0,s.__)("You must be running PHP version %s or later.","better-wp-security"),a.requirements.server.php),a.requirements.server);const e=(a.requirements.server.extensions||[]).filter((e=>!r.server.extensions[e]));1===e.length?d.add("server",(0,s.sprintf)((0,s.__)("The %s PHP extension is required.","better-wp-security"),e[0]),a.requirements.server):e.length>0&&d.add("server",(0,s.sprintf)((0,s._n)("The following PHP extension is required: %l.","The following PHP extensions are required: %l.",e.length,"better-wp-security").replace("%l","%s"),e.join(", ")),a.requirements.server)}var m,p;return a.requirements.load&&u(a.requirements.load)&&r&&("normal"===a.requirements.load.type&&"early"===r.load?d.add("load",(0,s.__)("Loading Solid Security via an MU-Plugin is not supported.","better-wp-security")):"early"===a.requirements.load.type&&"normal"===r.load&&d.add("load",(0,s.__)("Loading Solid Security without an MU-Plugin is not supported.","better-wp-security"))),a.requirements.ip&&u(a.requirements.ip)&&"automatic"===n&&d.add("ip",(0,l.createInterpolateElement)((0,s.__)("You must select an IP Detection method in <a>Global Settings</a>. <help>Learn more</help>.","better-wp-security"),{a:i?(0,l.createElement)(H.rU,{to:i}):(0,l.createElement)("a",{href:o}),help:(0,l.createElement)("a",{href:"https://go.solidwp.com/firewall-features-not-available"})}),a.requirements.ip),d}),[e,t,r,n,i,o])}function ve(e,t){return(0,l.useMemo)((()=>{const r={};for(const t of e){const e=`${t.software.type.slug}:${t.software.slug}`;r[e]||(r[e]={software:t.software,critical:0,high:0,medium:0,low:0,maxScore:0}),r[e][(n=t.details.score,n<3?"low":n<7?"medium":n<9?"high":"critical")]++,t.details.score>r[e].maxScore&&(r[e].maxScore=t.details.score)}var n;const a=Object.values(r);return a.sort(((e,t)=>t.maxScore-e.maxScore)),{show:a.slice(0,t),remaining:a.slice(t).reduce(((e,t)=>e+t.critical+t.high+t.medium+t.low),0)}}),[e,t])}function be({style:e,className:t}){const{installType:r}=fe();let n;return n="pro"===r?"white"===e?de.v5:de.Zj:"white"===e?de.CE:de.D5,(0,l.createElement)(n,{className:t})}var xe=r(25703);const we=(0,u.Z)(g.SnackbarList,{target:"e1gr7tl10"})("top:",(({root:e})=>"settings"===e?"-70px":"-10px"),";.components-snackbar-list__notice-container{display:flex;flex-direction:column;align-items:flex-end;}");function _e({context:e="ithemes-security"}){const{notices:t}=(0,C.useSelect)((t=>({notices:t(xe.store).getNotices(e)})),[e]),{removeNotice:r}=(0,C.useDispatch)(xe.store),n=t=>r(t,e),{root:a}=(0,m.UO)(),i=(0,v.filter)(t,(e=>e.isDismissible&&(!e.type||"default"===e.type))),s=(0,v.filter)(t,(e=>!(e.isDismissible||e.type&&"default"!==e.type))),o=(0,v.filter)(t,{type:"snackbar"});return(0,l.createElement)(React.Fragment,null,(0,l.createElement)(g.NoticeList,{notices:s}),(0,l.createElement)(g.NoticeList,{notices:i,onRemove:n}),(0,l.createElement)(we,{root:a,notices:o,onRemove:n}))}const Se=(0,u.Z)("header",{target:"e3arkfp3"})({name:"9hhwv0",styles:'display:grid;grid-template-areas:"title action" "description action";grid-gap:0.5rem 1rem;margin-bottom:1.5rem'}),Le=(0,u.Z)(y.X6,{target:"e3arkfp2"})({name:"5uk9le",styles:"grid-area:title;display:flex;gap:0.5rem"}),Ce=(0,u.Z)(y.xv,{target:"e3arkfp1"})({name:"1x9glg",styles:"grid-area:description"}),Me=(0,u.Z)(y.zx,{target:"e3arkfp0"})({name:"5xe988",styles:"grid-area:action;align-self:end;justify-self:end"});function Oe({title:e,description:t,showIndicator:r,showNext:n}){const{page:a}=(0,m.UO)(),{goNext:i}=R(),o=z({location:"primary"}).filter((({hideFromNav:e})=>!e)).findIndex((({id:e})=>e===a))+1;return(0,l.createElement)(Se,null,(0,l.createElement)(Le,{level:2,size:y.yH.EXTRA_LARGE,variant:y.rK.DARK,text:e},o&&r&&(0,l.createElement)(y.OR,{step:o,surfaceVariant:y.h1.PRIMARY_ACCENT,textSize:y.yH.NORMAL})),(0,l.createElement)(Ce,{as:"p",variant:y.rK.MUTED,text:t}),n&&(0,l.createElement)(Me,{onClick:i,variant:"secondary",text:(0,s.__)("Next","better-wp-security")}))}var Ne=r(52278);const Ie=(0,u.Z)(y.Tg,{target:"epcxj6o3"})({name:"1xqx6nt",styles:"position:relative;height:auto;flex-grow:1;display:flex;flex-direction:column;align-items:start;gap:2rem;padding:1.25rem"}),Te=(0,u.Z)("main",{target:"epcxj6o2"})({name:"66fm4m",styles:"position:relative;width:100%;align-self:center;display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center"}),ze=(0,u.Z)(ke,{target:"epcxj6o1"})({name:"1uuv4to",styles:"position:absolute;top:0;right:0;pointer-events:none"}),Ae=(0,u.Z)(B.TR,{target:"epcxj6o0"})({name:"19c0s48",styles:"height:44px;width:auto"});function ke({className:e}){return(0,l.createElement)("svg",{className:e,width:"579",height:"503",viewBox:"0 0 579 503",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("g",{opacity:"0.6",filter:"url(#filter0_bf_5527_127309)"},(0,l.createElement)("ellipse",{cx:"579",cy:"-56.5",rx:"259",ry:"239.5",fill:"#53129E"})),(0,l.createElement)("defs",null,(0,l.createElement)("filter",{id:"filter0_bf_5527_127309",x:"0",y:"-616",width:"1158",height:"1119",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,l.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.createElement)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"20"}),(0,l.createElement)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_5527_127309"}),(0,l.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_5527_127309",result:"shape"}),(0,l.createElement)("feGaussianBlur",{stdDeviation:"160",result:"effect2_foregroundBlur_5527_127309"}))))}const{Fill:Re,Slot:He}=(0,g.createSlotFill)("OnboardBackAction");function De({url:e,render:t}){const{page:r}=(0,m.UO)(),n=function(e){const t=z();if(!t.length)return;if(!e)return;const r=t.findIndex((t=>t.id===e));return t[r-1]?.id}(r),{pathname:a}=(0,m.TH)();return(0,l.createElement)(Ie,null,(0,l.createElement)(ze,null),"/onboard/site-type"!==a&&"/onboard/summary"!==a&&(0,l.createElement)(React.Fragment,null,(0,l.createElement)(Ae,null),(0,l.createElement)(He,null,(t=>t.length>0?t:(0,l.createElement)(H.rU,{to:n?`${e}/${n}`:e,component:(0,Z.Sj)(y.zx),text:(0,s.__)("Back","better-wp-security"),icon:Ne.Z,iconPosition:"left",variant:"tertiary"})))),(0,l.createElement)(Te,null,(0,l.createElement)(_e,null),(0,l.createElement)(t,null)),(0,l.createElement)(Be,null))}function Pe(){return(0,l.createElement)(Ie,null,(0,l.createElement)(Te,null))}const Fe=(0,u.Z)("div",{target:"emks4kf2"})({name:"1jx74mh",styles:"display:flex;flex-direction:column;align-items:center;gap:0.5rem;margin-top:auto;align-self:center"}),Ze=(0,u.Z)("ul",{target:"emks4kf1"})({name:"1ik4a25",styles:"display:flex;gap:1.5rem;justify-content:center;align-items:center;margin:0;padding:0"}),Ve=(0,u.Z)(y.xv,{target:"emks4kf0"})({name:"b49vxh",styles:"display:inline-flex;align-items:center;gap:0.25rem"});function Be({className:e}){const{page:t}=(0,m.UO)(),r=(0,L.useViewportMatch)("medium"),n=z({location:"primary"}).filter((({hideFromNav:e})=>!e));return n.find((({id:e})=>e===t))?(0,l.createElement)(Fe,{className:e},(0,l.createElement)(Ze,null,n.map(((e,a)=>(r||e.id===t||n[a-1]?.id===t)&&(0,l.createElement)(Ve,{key:e.id,as:"li",decoration:"none",weight:t===e.id?y.fs.HEAVY:y.fs.NORMAL,variant:t===e.id?y.rK.DARK:y.rK.MUTED},(0,l.createElement)(y.OR,{step:a+1,textSize:y.yH.NORMAL,surfaceVariant:t===e.id?y.h1.PRIMARY_ACCENT:y.h1.SECONDARY}),e.title)))),!r&&(0,l.createElement)(y.xv,{variant:y.rK.MUTED,text:(0,s.sprintf)((0,s.__)("out of %d","better-wp-security"),n.length)})):null}var Ue=r(36058),je=r(96015),qe=r(83904);function $e({module:e,setSettingsOpen:t,persist:r}){const n="active"===e.status.selected,[a,i]=(0,l.useState)(!1),{activateModule:o,deactivateModule:c,editModule:d}=(0,C.useDispatch)(M.MODULES_STORE_NAME);return(0,l.createElement)(g.ToggleControl,{label:e.title,checked:n,onChange:async n=>{i(!0),n?(await(r?o(e.id):d(e.id,{status:{selected:"active"}})),t(!0)):await(r?c(e.id):d(e.id,{status:{selected:"inactive"}})),i(!1)},disabled:a,"aria-label":(0,s.sprintf)((0,s.__)("Enable the “%s” module.","better-wp-security"),e.title),"aria-describedby":`itsec-module-description--${e.id}`,__nextHasNoMarginBottom:!0})}var We=r(96302);const Ke=(0,u.Z)(B.KM,{target:"e1syr8nv1"})({name:"1102gqn",styles:"margin:0 1.5rem 1rem"}),Ge=(0,u.Z)(We.b,{target:"e1syr8nv0"})({name:"1traxmt",styles:"& .itsec-rjsf-object-fieldset>.form-group,& .itsec-rjsf-object-fieldset>.itsec-rjsf-section-title{padding:0 1.5rem;}"});function Ye({module:e,schema:t,uiSchema:r,formData:n,setFormData:a,highlightedSetting:i}){const s=(0,L.useInstanceId)(Ye,`itsec-configure-${e.id}`),{apiError:o}=(0,C.useSelect)((t=>({apiError:t(M.MODULES_STORE_NAME).getError(e.id)})),[e.id]),c=(0,l.useMemo)((()=>{return i?(e=r?(0,v.cloneDeep)(r):{},t=[i,"classNames"],"itsec-highlighted-search-result",(0,v.set)(e,t,F()((0,v.get)(e,t),"itsec-highlighted-search-result")),e):r;var e,t}),[r,i]),d=(0,l.useMemo)((()=>({module:e.id,disableInlineErrors:!0})),[e.id]),u=(0,L.useRefEffect)((e=>{i&&e?.formElement&&window.requestAnimationFrame((()=>{e.formElement.querySelector(".itsec-highlighted-search-result")?.scrollIntoView({behavior:"smooth"})}))}),[i]);return(0,l.createElement)(React.Fragment,null,(0,l.createElement)(Ke,{apiError:o}),(0,l.createElement)(Ge,{ref:u,tagName:"div",id:s,schema:t,uiSchema:c,formData:n,onChange:a,idPrefix:`itsec_${e.id}`,formContext:d,showErrorList:!1}))}const Xe=(0,u.Z)("section",{target:"eq1nms18"})("border:1px solid ",(({theme:e})=>e.colors.border.normal),";box-shadow:",(({theme:e,isHighlighted:t})=>t&&`0 0 0 var(--wp-admin-border-width-focus) ${e.colors.primary.base}`),";"),Qe=(0,u.Z)("header",{target:"eq1nms17"})("padding:1.25rem 1rem;border-bottom:1px solid ",(({theme:e})=>e.colors.border.normal),";display:flex;align-items:center;justify-content:space-between;"),Je=(0,u.Z)("div",{target:"eq1nms16"})({name:"1dvcxr3",styles:"padding:1rem"}),et=(0,u.Z)("button",{target:"eq1nms15"})({name:"1jnezc0",styles:'display:grid;grid-template-areas:"title graphic" "description graphic";grid-template-columns:auto min-content;align-items:center;gap:0.5rem;width:100%;padding:1rem;cursor:pointer;background-color:transparent;border-width:0;&[disabled]{cursor:default;}'}),tt=(0,u.Z)(y.xv,{target:"eq1nms14"})({name:"1ce9wo2",styles:"grid-area:title"}),rt=(0,u.Z)(y.xv,{target:"eq1nms13"})({name:"1x9glg",styles:"grid-area:description"}),nt=(0,u.Z)(g.Icon,{target:"eq1nms12"})({name:"rkr399",styles:"grid-area:graphic"}),at=(0,u.Z)("div",{target:"eq1nms11"})("display:",(({isOpen:e})=>e?"block":"none"),";padding:1rem 0;background:#f6f7f7;"),it=(0,u.Z)("div",{target:"eq1nms10"})({name:"l7eclt",styles:"padding:0 1rem 1rem"});function lt({module:e,isHighlighted:t,highlightedSetting:r,persistStatus:n}){const[a,i]=(0,l.useState)(!1),o="active"===e.status.selected,c=ye()(e,o?"run":"activate"),{allowedFields:d,filterFields:u}=Ee(e),{schema:m,uiSchema:p,hasSettings:f,formData:h,setFormData:g}=ge(e,u);if(!o&&c.hasErrors()&&!c.getErrorCodes().some((e=>c.getErrorData(e)[0].showMessageIfUnmet)))return null;if("always-active"===e.status.default&&!f)return null;const E="always-active"!==e.status.default&&!c.hasErrors(),v=!(!e.settings?.show_ui||c.hasErrors()||Array.isArray(d)&&!d.length),b=a||t;return(0,l.createElement)(Xe,{isHighlighted:t},(0,l.createElement)(Qe,null,E&&(0,l.createElement)($e,{module:e,setSettingsOpen:i,persist:n}),!E&&(0,l.createElement)(y.xv,{text:e.title}),(0,l.createElement)(y.zx,{icon:Ue.Z,label:(0,s.__)("View external documentation.","better-wp-security"),href:"https://go.solidwp.com/security-basic-help-docs",target:"_blank",variant:"tertiary",isSmall:!0})),!v&&(0,l.createElement)(Je,null,(0,l.createElement)(y.xv,{size:y.yH.SMALL},(0,l.createElement)(B.Lu,{noWrap:!0,content:e.description}))),v&&(0,l.createElement)(et,{onClick:()=>i(!a),"aria-expanded":b,"aria-controls":`itsec-module-settings-${e.id}`,disabled:!o,type:"button"},(0,l.createElement)(tt,{text:(0,s.sprintf)((0,s.__)("%s Settings","better-wp-security"),e.title)}),(0,l.createElement)(rt,{text:e.description,size:y.yH.SMALL}),o&&v&&(0,l.createElement)(nt,{icon:b?je.Z:qe.Z})),o&&v&&(0,l.createElement)(at,{isOpen:b,variant:y.h1.PRIMARY_CONTRAST,id:`itsec-module-settings-${e.id}`},(0,l.createElement)(Ye,{module:e,schema:m,uiSchema:p,formData:h,setFormData:g,highlightedSetting:r})),c.hasErrors()&&(0,l.createElement)(it,null,(0,l.createElement)(B.KM,{title:(0,s.__)("Feature not available","better-wp-security"),errors:c.getAllErrorMessages()})))}function st({found:e}){return(0,l.createElement)("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M36.19 33.605A18.304 18.304 0 0 0 40.333 22C40.333 11.88 32.12 3.667 22 3.667S3.667 11.88 3.667 22 11.88 40.334 22 40.334a18.304 18.304 0 0 0 13.035-5.445c.055-.055.092-.11.128-.147.367-.367.715-.752 1.027-1.137zM22 36.667c-8.085 0-14.667-6.582-14.667-14.667S13.915 7.334 22 7.334 36.667 13.915 36.667 22c0 3.392-1.155 6.49-3.099 8.984l-2.621-2.622a10.974 10.974 0 0 0 2.016-6.343c0-6.069-4.931-11-11-11-6.068 0-11 4.931-11 11 0 6.068 4.932 11 11 11 2.384 0 4.602-.77 6.399-2.072l2.603 2.603A14.341 14.341 0 0 1 22 36.667zm3.52-13.732c.312-1.21.037-2.53-.898-3.483l-.037-.037a3.648 3.648 0 0 0-5.097-.073c-.018.018-.055.037-.091.073a3.674 3.674 0 0 0 0 5.189l.036.036a3.62 3.62 0 0 0 3.502.899l2.768 2.768c-1.1.66-2.365 1.063-3.74 1.063a7.331 7.331 0 0 1-7.333-7.333 7.331 7.331 0 0 1 7.333-7.333 7.331 7.331 0 0 1 7.334 7.333 7.162 7.162 0 0 1-1.027 3.667l-2.75-2.769z",fill:e?"#D63638":"#29B33B"}))}var ot=r(71941),ct=r(36713),dt=r(48562);const ut=(0,u.Z)("div",{target:"ehca9sa1"})("background:",(({score:e})=>function(e){return e<7?"#fffbef":"#fcf0f1"}(e)),";border:1px solid ",(({score:e})=>function(e){return e<7?"#ffd65d":"#b32d2e"}(e)),";border-radius:0.25rem;padding:1rem 1.5rem;align-items:stretch;display:flex;flex-wrap:wrap;&>*{flex-basis:0;flex-grow:1;}"),mt=(0,u.Z)(y.xv,{target:"ehca9sa0"})("padding:0.125rem 0.75rem;background:",(({score:e})=>function(e){return e<7?"#f4c520":"#ff8085"}(e)),";");function pt({software:e,critical:t,high:r,medium:n,low:a,maxScore:i}){return(0,l.createElement)(ut,{score:i},(0,l.createElement)(g.Flex,{direction:"column",gap:4,justify:"space-between",expanded:!1},(0,l.createElement)(y.X6,{level:4,text:e.label||e.slug,size:y.yH.EXTRA_LARGE,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{icon:vt(e.type.slug),text:e.type.label,variant:y.rK.DARK})),(0,l.createElement)(g.Flex,{direction:"column",gap:3,justify:"space-between",expanded:!1},(0,l.createElement)(y.X6,{level:5,text:(0,s.__)("Found vulnerabilities","better-wp-security"),variant:y.rK.DARK,weight:y.fs.HEAVY}),(0,l.createElement)(g.Flex,{gap:4,justify:"flex-start"},(0,l.createElement)(ft,{score:i}),(0,l.createElement)(ht,{critical:t,high:r,medium:n,low:a,maxScore:i})),(0,l.createElement)(Et,{maxScore:i,critical:t,high:r,medium:n,low:a})))}function ft({score:e}){return(0,l.createElement)(mt,{score:e,text:yt(e),variant:y.rK.DARK,weight:y.fs.HEAVY})}function ht({critical:e,high:t,medium:r,low:n,maxScore:a}){return(0,l.createElement)(y.xv,{text:gt({critical:e,high:t,medium:r,low:n,maxScore:a}),variant:y.rK.MUTED})}function gt({critical:e,high:t,medium:r,low:n,maxScore:a}){return a<3?(0,s.sprintf)((0,s._n)("%d low severity issue found","%d low severity issues found",n,"better-wp-security"),n):a<7?(0,s.sprintf)((0,s._n)("%d medium severity issue found","%d medium severity issues found",r,"better-wp-security"),r):a<9?(0,s.sprintf)((0,s._n)("%d high severity issue found","%d high severity issues found",t,"better-wp-security"),t):(0,s.sprintf)((0,s._n)("%d critical severity issue found","%d critical severity issues found",e,"better-wp-security"),e)}function Et({maxScore:e,...t}){const r=(a=e)<3?"low":a<7?"medium":a<9?"high":"critical",n=(0,v.reduce)(t,((e,t,n)=>n===r?e:e+t),0);var a;return n?(0,l.createElement)(y.xv,{text:(0,s.sprintf)((0,s._n)("%d additional lower severity issue found","%d additional lower severity issues found",n,"better-wp-security"),n),variant:y.rK.MUTED}):null}function yt(e){return e<3?(0,s.__)("Low","better-wp-security"):e<7?(0,s.__)("Medium","better-wp-security"):e<9?(0,s.__)("High","better-wp-security"):(0,s.__)("Critical","better-wp-security")}function vt(e){switch(e){case"plugin":return ot.Z;case"theme":return ct.Z;case"wordpress":return dt.Z;default:return}}var bt=r(87514),xt=r.n(bt),wt=r(54761);function _t(e){return{type:"API_FETCH",request:e}}function St(e,...t){return{type:"DO_ACTION",action:e,args:t}}const Lt={AWAIT_PROMISE:({promise:e,delay:t})=>{return t?Promise.all([e,(r=t,new Promise((e=>setTimeout(e,r))))]):e;var r},DO_ACTION:(0,C.createRegistryControl)((e=>({action:t,args:r})=>{(0,wt.doAction)(`ithemes-security.${t}`,e,...r)})),API_FETCH:({request:e})=>xt()(e).catch(me.xJ),CREATE_NOTICE:(0,C.createRegistryControl)((e=>({status:t,content:r,options:n})=>{n.autoDismiss&&(n.id=n.id||(0,v.uniqueId)("itsec-auto-dismiss-"),setTimeout((()=>e.dispatch("core/notices").removeNotice(n.id,n.context)),n.autoDismiss)),e.dispatch("core/notices").createNotice(t,r,n)}))};function*Ct(e){const t=yield C.controls.resolveSelect(yr,"getSiteTypes"),r=(0,v.find)(t,(t=>t.id===e));if(!r)throw(0,s.__)("No site type found with that id.","better-wp-security");yield Ht(r),yield At()}function*Mt(){const e=yield _t({path:"/ithemes-security/v1/site-types"});yield Rt(e)}function Ot(){return{type:qt}}function Nt(e){return{type:$t,answer:e}}function*It(e){const t=yield C.controls.select(yr,"getAnswerRequest",e);let r;yield Dt();try{r=yield _t({method:"PUT",path:`/ithemes-security/v1/site-types/${t.id}`,data:t}),yield Ht(r)}catch(e){yield(n=e,{type:Kt,error:n})}var n;yield Dt(!1)}function*Tt(){const e=yield C.controls.select(yr,"getRestoreSiteTypeRequest");e.answers.pop(),yield Dt();const t=yield _t({method:"PUT",path:`/ithemes-security/v1/site-types/${e.id}`,data:e});yield Ht(t),yield Dt(!1)}function*zt(){const e=yield C.controls.select(yr,"getAnswers"),t=yield C.controls.resolveSelect(M.MODULES_STORE_NAME,"getModules");for(const r of e){for(const e of r.modules){const r=t.find((({id:t})=>t===e));r?.side_effects?(yield C.controls.dispatch(M.MODULES_STORE_NAME,"activateModule",e),yield C.controls.dispatch(yr,"fetchSiteTypes")):yield C.controls.dispatch(M.MODULES_STORE_NAME,"editModule",e,{status:{selected:"active"}})}for(const e in r.settings)r.settings.hasOwnProperty(e)&&(yield C.controls.dispatch(M.MODULES_STORE_NAME,"editSettings",e,r.settings[e]));yield St("onboard.applyAnswerResponse",r)}}function*At(){yield Nt(null),yield C.controls.dispatch(M.MODULES_STORE_NAME,"resetModuleEdits"),yield C.controls.dispatch(M.MODULES_STORE_NAME,"resetSettingEdits"),yield St("onboard.reset")}function*kt({root:e}){const t=e=>{if(e instanceof Error)throw e},r=(0,v.sortBy)(yield C.controls.select(yr,"getCompletionSteps"),"priority");try{for(const i of r){if(i.activeCallback&&!i.activeCallback({root:e}))continue;yield{type:Xt,step:i};const r=i.callback();r instanceof Promise&&t(yield(n=r,a=(0,v.random)(1500,2500),{type:"AWAIT_PROMISE",promise:n,delay:a}))}yield C.controls.dispatch(M.MODULES_STORE_NAME,"editSetting","global","onboard_complete",!0),yield C.controls.dispatch(M.MODULES_STORE_NAME,"saveSettings","global"),yield{type:Xt,step:!0}}catch(e){yield{type:Xt,step:!1},yield function(e="info",t,r={}){return{type:"CREATE_NOTICE",status:e,content:t,options:{context:"ithemes-security",...r}}}("error",(0,s.sprintf)((0,s.__)("Could not complete setup: %s","better-wp-security"),e.message))}var n,a}function Rt(e){return{type:Bt,siteTypes:e}}function Ht(e){return{type:Ut,siteType:e}}function Dt(e=!0){return{type:Wt,isAnswering:e}}function Pt(e,t){return{type:Gt,id:e,component:t}}function Ft({id:e,label:t,priority:r,callback:n,activeCallback:a}){return{type:Yt,id:e,label:t,priority:r,callback:n,activeCallback:a}}function Zt(e){return{type:Qt,location:(0,v.trimEnd)(e,"/")}}function Vt(){return{type:Jt}}const Bt="RECEIVE_SITE_TYPES",Ut="RECEIVE_SITE_TYPE",jt="SELECT_SITE_TYPE",qt="CLEAR_SITE_TYPE",$t="EDIT_ANSWER",Wt="SET_IS_ANSWERING",Kt="SET_ERROR",Gt="REGISTER_QUESTION_COMPONENT",Yt="REGISTER_COMPLETION_STEP",Xt="SET_COMPLETION_STEP",Qt="RECORD_VISITED_LOCATION",Jt="CLEAR_VISITED_LOCATIONS";function er(e){return e.siteTypes}function tr(e){return e.selectedSiteType}function rr(e){return(0,v.find)(er(e),{id:tr(e)})}function nr(e){return e.answers}function ar(e){return e.nextQuestion}function ir(e){return e.editedAnswer}function lr(e){return e.isAnswering}function sr(e){return e.lastError}function or(e,t){return e.questionComponents[t]}function cr(e){return e.completionSteps}function dr(e,t){return{id:e.selectedSiteType,answers:[...e.answers,{question:e.nextQuestion.id,answer:t}]}}function ur(e){return{id:e.selectedSiteType,answers:[...e.answers]}}function mr(e){const t=["/onboard","/onboard/site-type"];for(let r=e.visitedLocations.length-1;r>=0;r--){const n=e.visitedLocations[r];if(!t.includes(n))return n}}function pr(e){return e.completionStep}const fr={siteTypes:[],selectedSiteType:"",answers:[],nextQuestion:void 0,editedAnswer:void 0,lastError:void 0,isAnswering:!1,questionComponents:{},completionStep:!1,completionSteps:{},visitedLocations:[]},hr={*fulfill(){const e=yield _t({path:"/ithemes-security/v1/site-types"});yield Rt(e)},isFulfilled:e=>e.siteTypes.length>0},gr={*fulfill(){yield C.controls.resolveSelect(yr,"getSiteTypes")},isFulfilled:e=>e.siteTypes.length>0},Er={*fulfill(){const e=yield C.controls.select(yr,"getRestoreSiteTypeRequest"),t=yield _t({method:"PUT",path:`/ithemes-security/v1/site-types/${e.id}`,data:e});yield Ht(t)},isFulfilled:e=>void 0!==e.nextQuestion},yr="ithemes-security/onboard";(0,C.registerStore)(yr,{controls:Lt,actions:n,selectors:a,resolvers:i,reducer:function(e=fr,t){switch(t.type){case Bt:return{...e,siteTypes:t.siteTypes};case Ut:return{...e,selectedSiteType:t.siteType.id,nextQuestion:t.siteType.next_question,answers:t.siteType.answers,editedAnswer:t.siteType.next_question?.answer_schema?.default,lastError:void 0};case jt:return{...e,selectedSiteType:t.id,answers:[],nextQuestion:void 0,lastError:void 0};case qt:return{...e,selectedSiteType:"",answers:[],nextQuestion:void 0,lastError:void 0};case $t:return{...e,editedAnswer:t.answer};case Wt:return{...e,isAnswering:t.isAnswering};case Kt:return{...e,lastError:t.error};case Xt:return{...e,completionStep:t.step};case Gt:return{...e,questionComponents:{...e.questionComponents,[t.id]:t.component}};case Yt:return{...e,completionSteps:{...e.completionSteps,[t.id]:(0,v.omit)(t,["type"])}};case Qt:return{...e,visitedLocations:(0,v.last)(e.visitedLocations)===t.location?e.visitedLocations:(0,v.without)(e.visitedLocations,t.location).concat(t.location)};case Jt:return{...e,visitedLocations:[]};default:return e}},persist:["selectedSiteType","answers","visitedLocations"]});const vr=(0,u.Z)("div",{target:"e1fxf7a22"})({name:"1nnaomw",styles:"display:flex;flex-direction:column;gap:1.25rem;max-width:670px"}),br=(0,u.Z)(B.TR,{target:"e1fxf7a21"})({name:"aerlcf",styles:"height:44px;width:auto;align-self:start"}),xr=(0,u.Z)("header",{target:"e1fxf7a20"})({name:"p5tmle",styles:"display:flex;flex-direction:column;gap:0.5rem"}),wr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M9 4C8.44531 4 8 4.44531 8 5V6H3C2.44531 6 2 6.44531 2 7V23C2 23.5547 2.44531 24 3 24H8V25C8 25.5547 8.44531 26 9 26H23C23.5547 26 24 25.5547 24 25V24H29C29.5547 24 30 23.5547 30 23V7C30 6.44531 29.5547 6 29 6H24V5C24 4.44531 23.5547 4 23 4H9ZM10 6H22V24H10V6ZM4 8H8V22H4V8ZM12 8V10H20V8H12ZM24 8H28V22H24V8ZM12 12V14H20V12H12ZM12 16V18H20V16H12ZM12 20V22H20V20H12Z",fill:"#9675F7"})),_r=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("g",{clipPath:"url(#clip0_5527_131266)"},(0,l.createElement)("path",{d:"M8.94922 4C7.30416 4 5.94922 5.35494 5.94922 7V25C5.94922 26.6451 7.30416 28 8.94922 28H14V26H8.94922C8.38628 26 7.94922 25.5629 7.94922 25V7C7.94922 6.43706 8.38628 6 8.94922 6H17.9492V12H23.9492V14H25.9492V10.5859L19.3633 4H8.94922ZM19.9492 7.41406L22.5352 10H19.9492V7.41406ZM28.3633 16.0078C27.7056 16.012 27.0494 16.2678 26.5586 16.7695L17.3125 26.1758L15.9023 32.1016L21.8242 30.6914L22.0234 30.4961L31.2344 21.4492C32.2423 20.4642 32.2502 18.8167 31.2539 17.8203L30.1836 16.75C29.685 16.2514 29.0239 16.0036 28.3633 16.0078ZM28.375 17.9961C28.5143 17.9952 28.6561 18.0506 28.7695 18.1641L29.8398 19.2344C30.0634 19.458 30.0641 19.7966 29.8359 20.0195V20.0234L20.8242 28.8711L18.6016 29.4023L19.1289 27.1836L27.9844 18.1719L27.9883 18.168C28.0988 18.0542 28.2357 17.997 28.375 17.9961Z",fill:"#9675F7"})),(0,l.createElement)("defs",null,(0,l.createElement)("clipPath",{id:"clip0_5527_131266"},(0,l.createElement)("rect",{width:"32",height:"32",fill:"white"})))),Sr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M8 0C6.90625 0 6 0.90625 6 2V11C6 11.5547 6.44531 12 7 12H23C23.5547 12 24 11.5547 24 11V2C24 0.90625 23.0938 0 22 0H8ZM8 4H22V10H8V4ZM8.46875 14L4.86719 20H7.20313L10.7969 14H8.46875ZM14 14V20H16V14H14ZM19.2031 14L22.8047 20H25.1328L21.5312 14H19.2031ZM2 22C0.898438 22 0 22.8984 0 24V28C0 29.1016 0.898438 30 2 30H6C7.10156 30 8 29.1016 8 28V24C8 22.8984 7.10156 22 6 22H2ZM12 22C10.8984 22 10 22.8984 10 24V28C10 29.1016 10.8984 30 12 30H18C19.1016 30 20 29.1016 20 28V24C20 22.8984 19.1016 22 18 22H12ZM24 22C22.8984 22 22 22.8984 22 24V28C22 29.1016 22.8984 30 24 30H28C29.1016 30 30 29.1016 30 28V24C30 22.8984 29.1016 22 28 22H24ZM2 24H6V28H2V24ZM12 24H18V28H12V24ZM24 24H28V28H24V24Z",fill:"#9675F7"})),Lr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M13 2C11.3549 2 10 3.35494 10 5V6H5C3.35494 6 2 7.35494 2 9V25C2 26.6451 3.35494 28 5 28H27C28.6451 28 30 26.6451 30 25V9C30 7.35494 28.6451 6 27 6H22V5C22 3.35494 20.6451 2 19 2H13ZM13 4H19C19.5629 4 20 4.43706 20 5V6H12V5C12 4.43706 12.4371 4 13 4ZM5 8H27C27.5629 8 28 8.43706 28 9V25C28 25.5629 27.5629 26 27 26H5C4.43706 26 4 25.5629 4 25V9C4 8.43706 4.43706 8 5 8ZM16 10C14.75 10 13.6872 10.5048 13.0039 11.2734C12.3206 12.0421 12 13.0278 12 14C12 14.9722 12.3206 15.9579 13.0039 16.7266C13.1446 16.8849 13.4498 16.8545 13.6211 16.9883C11.6082 17.9589 10 19.6245 10 22H12C12 19.7782 13.7782 18 16 18C18.2218 18 20 19.7782 20 22H22C22 19.6245 20.3918 17.9589 18.3789 16.9883C18.5502 16.8545 18.8554 16.8849 18.9961 16.7266C19.6794 15.9579 20 14.9722 20 14C20 13.0278 19.6794 12.0421 18.9961 11.2734C18.3128 10.5048 17.25 10 16 10ZM16 12C16.75 12 17.1872 12.2452 17.5039 12.6016C17.8206 12.9579 18 13.4722 18 14C18 14.5278 17.8206 15.0421 17.5039 15.3984C17.1872 15.7548 16.75 16 16 16C15.25 16 14.8128 15.7548 14.4961 15.3984C14.1794 15.0421 14 14.5278 14 14C14 13.4722 14.1794 12.9579 14.4961 12.6016C14.8128 12.2452 15.25 12 16 12Z",fill:"#9675F7"})),Cr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M16.0016 2C12.7047 2 10.0016 4.70313 10.0016 8H6.00157C5.47032 8 5.03282 8.41406 5.00157 8.94531L4.00157 26.9453C3.98595 27.2188 4.08751 27.4922 4.27501 27.6875C4.46251 27.8906 4.72813 28 5.00157 28H27.0016C27.275 28 27.5406 27.8906 27.7281 27.6875C27.9156 27.4922 28.0172 27.2188 28.0016 26.9453L27.0016 8.94531C26.9703 8.41406 26.5328 8 26.0016 8H22.0016C22.0016 4.70313 19.2984 2 16.0016 2ZM16.0016 4C18.2047 4 20.0016 5.79688 20.0016 8H12.0016C12.0016 5.79688 13.7984 4 16.0016 4ZM6.94688 10H10.0016V14H12.0016V10H20.0016V14H22.0016V10H25.0563L25.9391 26H6.06407L6.94688 10Z",fill:"#9675F7"})),Mr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M17 2C15.625 2 14.4688 2.95313 14.1172 4.21875C13.7734 4.07813 13.3906 4 13 4C11.3516 4 10 5.35156 10 7V17L7.89063 16.1406L7.84375 16.125C6.25781 15.6641 4.57813 16.5781 4.125 18.1562C4.03906 18.4375 4 18.7188 4 19C4 20.2578 4.80469 21.3047 5.89063 22.0078L5.8125 21.9531L10.125 25.3984C11.7656 26.8047 13.6641 28 16 28H20C24.375 28 28 24.4297 28 20.0391V9C28 7.35156 26.6484 6 25 6C24.6484 6 24.3125 6.07813 24 6.1875V6C24 4.35156 22.6484 3 21 3C20.4297 3 19.8984 3.17188 19.4453 3.45313C19.0234 2.89844 18.4062 2.47656 17.6875 2.28125C17.5 2.10938 17.2578 2.00781 17 2ZM17 4C17.5625 4 18 4.4375 18 5V14H20V6C20 5.4375 20.4375 5 21 5C21.5625 5 22 5.4375 22 6V14H24V9C24 8.4375 24.4375 8 25 8C25.5625 8 26 8.4375 26 9V20.0391C26 23.3281 23.2969 26 20 26H16C14.3438 26 12.9219 25.1562 11.4375 23.875L11.4219 23.8672L7.03125 20.3594L6.98438 20.3359C6.20313 19.8281 6 19.4766 6 19C6 18.9141 6.01563 18.8125 6.03906 18.7188C6.19531 18.1797 6.73438 17.8906 7.27344 18.0469L12 20V7C12 6.4375 12.4375 6 13 6C13.5625 6 14 6.4375 14 7V14H16V5C16 4.4375 16.4375 4 17 4ZM17.25 16C16.3516 16 16 16.7266 16 17.625C16 19.4531 19 22 19 22C19 22 22 19.5 22 17.625C22 16.7266 21.6484 16 20.75 16C19.5547 16 19 17.3672 19 18C19 17.3672 18.4219 16 17.25 16Z",fill:"#9675F7"})),{Slot:Or,Fill:Nr}=(0,g.createSlotFill)("OnboardSiteTypeBefore");function Ir(){const{clearVisitedLocations:e}=(0,C.useDispatch)(yr),{siteTypes:t,lastVisitedLocation:r}=(0,C.useSelect)((e=>({siteTypes:e(yr).getSiteTypes(),lastVisitedLocation:e(yr).getLastVisitedLocation()})));return(0,l.createElement)(vr,null,(0,l.createElement)(br,null),(0,l.createElement)(y.xv,{as:"p",size:y.yH.EXTRA_LARGE,text:(0,s.__)("Welcome to Solid Security! Answer a few questions to quickly enable the most important security features for this website. You can always change settings later.","better-wp-security")}),(0,l.createElement)(Or,null),r&&(0,l.createElement)(y.qX,{onDismiss:e,text:(0,l.createElement)(y.xv,null,(0,l.createInterpolateElement)((0,s.__)("Already started setting up Solid Security? <a>Resume</a> from where you left off.","better-wp-security"),{a:(0,l.createElement)(H.rU,{to:r})}))}),(0,l.createElement)(xr,null,(0,l.createElement)(y.X6,{level:2,size:y.yH.LARGE,weight:y.fs.HEAVY,text:(0,s.__)("What type of website is this?","better-wp-security")}),(0,l.createElement)(y.xv,{as:"p",variant:y.rK.DARK,text:(0,s.__)("Select the one that best represents your website. This will focus the rest of the setup wizard on the options most necessary to secure the site.","better-wp-security")})),(0,l.createElement)(y.aV,{gap:3},t.map((e=>(0,l.createElement)(y.HC,{key:e.id},(0,l.createElement)(zr,{id:e.id,title:e.title,description:e.description,recommended:e.recommended}))))))}const Tr={ecommerce:Cr,network:Sr,"non-profit":Mr,blog:_r,brochure:wr,portfolio:Lr};function zr({id:e,title:t,description:r,recommended:n}){const{clearSiteType:a}=(0,C.useDispatch)(yr),i=(0,m.$B)(),s=he();return(0,l.createElement)(le,{onClick:()=>{a(),s(`${i.url}/${e}`)},title:t,description:r,icon:Tr[e],recommended:n})}var Ar=r(29508);const kr=(0,u.Z)("div",{target:"e96joi82"})({name:"1ei6u6l",styles:"display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:530px;flex-grow:1;justify-content:flex-start;margin-top:10vh"}),Rr=(0,u.Z)("header",{target:"e96joi81"})({name:"p5tmle",styles:"display:flex;flex-direction:column;gap:0.5rem"}),Hr=(0,u.Z)("div",{target:"e96joi80"})({name:"1bhviol",styles:"display:flex;gap:3.25rem"}),Dr=(0,Ar.iv)({name:"xyzkeb",styles:"align-self:flex-start"}),Pr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M9 4C7.35156 4 6 5.35156 6 7V26H6.42188C6.85938 27.1094 7.74219 28 9 28H26V26H9C8.4375 26 8 25.5625 8 25C8 24.4375 8.4375 24 9 24H26V4H9ZM9 6H24V22H9C8.64844 22 8.3125 22.0781 8 22.1875V7C8 6.4375 8.4375 6 9 6ZM10 10V12H22V10H10Z",fill:"#9675F7"})),Fr=(0,l.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("path",{d:"M22 2C17.5938 2 14 5.59375 14 10C14 10.7109 14.1875 11.3516 14.3594 11.9844L13.875 12.4688L10 8.58594V5.44531L9.53125 5.15625L4.85938 2.23438L2.23438 4.8125L5.4375 10H8.58594L12.4687 13.875L5.17188 21.1719C3.61719 22.7266 3.61719 25.2734 5.17188 26.8281C6.72656 28.3828 9.27344 28.3828 10.8281 26.8281L16 21.6562L21.1719 26.8281C22.7266 28.3828 25.2734 28.3828 26.8281 26.8281C28.3828 25.2734 28.3828 22.7266 26.8281 21.1719L23.5 17.8438C27.1953 17.1406 30 13.8906 30 10C30 8.66406 29.6406 7.42188 29.0781 6.33594L28.4453 5.125L27.4844 6.09375L23.1875 10.3828L21.6172 8.8125L26.875 3.54688L25.6641 2.92188C24.5781 2.35938 23.3359 2 22 2ZM22 4C22.4531 4 22.8438 4.21875 23.2734 4.32813L18.7891 8.8125L23.1875 13.2109L27.6797 8.72656C27.7812 9.15625 28 9.54688 28 10C28 13.3281 25.3281 16 22 16C21.3125 16 20.6562 15.8594 20 15.625L19.4062 15.4219L9.41406 25.4141C8.625 26.2031 7.375 26.2031 6.58594 25.4141C5.79688 24.625 5.79688 23.375 6.58594 22.5859L16.5781 12.5938L16.375 12C16.1406 11.3438 16 10.6875 16 10C16 6.67188 18.6719 4 22 4ZM5.14062 4.76563L8 6.55469V7.83594L7.83594 8H6.5625L4.77344 5.11719L5.14062 4.76563ZM20.0156 17.6406C20.2187 17.6953 20.4219 17.7422 20.625 17.7969L25.4141 22.5859C26.2031 23.375 26.2031 24.625 25.4141 25.4141C24.625 26.2031 23.375 26.2031 22.5859 25.4141L17.4141 20.2422L20.0156 17.6406Z",fill:"#9675F7"})),Zr={disableInlineErrors:!0};function Vr({prompt:e,description:t,showErrors:r=!0,goBack:n,children:a}){const{error:i}=(0,C.useSelect)((e=>({error:e(yr).getLastError()})),[]);return(0,l.createElement)(React.Fragment,null,(0,l.createElement)(kr,null,(0,l.createElement)(Rr,null,(0,l.createElement)(y.X6,{level:3,text:e,size:y.yH.EXTRA_LARGE,variant:y.rK.DARK}),(0,l.createElement)(y.xv,{as:"p",variant:y.rK.MUTED},(0,l.createElement)(B.Lu,{content:t,noWrap:!0}))),r&&(0,l.createElement)(B.KM,{apiError:i}),a),n&&(0,l.createElement)(Re,null,(0,l.createElement)(y.zx,{onClick:n,text:(0,s.__)("Back","better-wp-security"),icon:Ne.Z,iconPosition:"left",variant:"tertiary"})))}function Br({question:e,onAnswer:t,isAnswering:r,goBack:n}){const{editAnswer:a}=(0,C.useDispatch)(yr),{answer:i,error:o}=(0,C.useSelect)((e=>({error:e(yr).getLastError(),answer:e(yr).getEditedAnswer()}))),[c,d]=(0,l.useState)([]);return(0,l.createElement)(Vr,{prompt:e.prompt,description:e.description,showErrors:!1,goBack:n},(0,l.createElement)(We.T,{schema:e.answer_schema,uiSchema:e.answer_schema.uiSchema,formData:i,onChange:({formData:e})=>a(e),onSubmit:({formData:e},r)=>{r.preventDefault(),d([]),t(e)},saveLabel:(0,s.__)("Next","better-wp-security"),formContext:Zr,apiError:o,schemaError:c,onError:d,showErrorList:!1,saveDisabled:r,undoDisabled:r,alignActions:"start"}))}function Ur({question:e,onAnswer:t,isAnswering:r}){return(0,l.createElement)(Vr,{prompt:e.prompt,description:e.description},(0,l.createElement)(Hr,null,(0,l.createElement)(le,{disabled:r,onClick:()=>t(!1),title:(0,s.__)("My Own Website","better-wp-security"),direction:"vertical",icon:Pr}),(0,l.createElement)(le,{disabled:r,onClick:()=>t(!0),title:(0,s.__)("Client Website","better-wp-security"),direction:"vertical",icon:Fr})))}const{Slot:jr,Fill:qr}=(0,g.createSlotFill)("OnboardSiteTypeIpDetection");function $r({question:e,onAnswer:t,isAnswering:r}){const n=e.answer_schema,a=(0,l.useMemo)((()=>n.properties.proxy_header.enum.map(((e,t)=>({value:e,label:n.properties.proxy_header.enumNames[t]})))),[n.properties.proxy_header.enum,n.properties.proxy_header.enumNames]),[i,o]=(0,l.useState)(""),[c,d]=(0,l.useState)(""),u="disabled"===i||"manual"===i&&""!==c;return(0,l.createElement)(Vr,{prompt:e.prompt,description:e.description},(0,l.createElement)(jr,{fillProps:{proxy:i,proxyHeader:c}}),(0,l.createElement)(Hr,null,(0,l.createElement)(le,{onClick:()=>o("disabled"),title:(0,s.__)("Direct Connection","better-wp-security"),description:(0,s.__)("If your web server is directly exposed to the internet.","better-wp-security"),icon:de.GG,direction:"vertical",isSelected:"disabled"===i}),(0,l.createElement)(le,{onClick:()=>o("manual"),title:(0,s.__)("Proxy Server","better-wp-security"),description:(0,s.__)("If your web server is behind a proxy server like CloudFlare.","better-wp-security"),icon:de.aH,direction:"vertical",isSelected:"manual"===i})),"manual"===i&&(0,l.createElement)(g.SelectControl,{value:c,onChange:d,options:a,label:n.properties.proxy_header.title,help:n.properties.proxy_header.description}),(0,l.createElement)(y.zx,{className:Dr,variant:"primary",text:(0,s.__)("Next","better-wp-security"),disabled:!u||r,onClick:()=>t({proxy:i,proxy_header:c})}))}const Wr=(0,u.Z)(y.Tg,{target:"e7yw1b85"})("display:flex;flex-direction:column;align-items:stretch;gap:2.5rem;max-width:95ch;width:100%;border:1px solid ",(({theme:e})=>e.colors.border.normal),";padding:2.5rem 3rem;border-radius:0.25rem;"),Kr=(0,u.Z)("figure",{target:"e7yw1b84"})("background-color:#f0e8f9;margin:0;padding:0;display:flex;justify-content:",(({position:e})=>"right"===e?"flex-end":"center"),";padding-right:",(({position:e})=>"right"===e&&"7.5rem"),";"),Gr=(0,u.Z)("div",{target:"e7yw1b83"})({name:"1adq05d",styles:"display:flex;gap:0.25rem;flex-direction:column;align-items:center;align-self:center;margin-top:2rem"}),Yr=(0,u.Z)(y.Tg,{shouldForwardProp:e=>"isWide"!==e,target:"e7yw1b82"})("display:flex;flex-direction:column;gap:2.5rem;max-width:",(({isWide:e})=>e?"115ch":"95ch"),";width:100%;"),Xr=(0,u.Z)(y.Tg,{target:"e7yw1b81"})("display:flex;flex-direction:column;gap:1.25rem;width:100%;border:1px solid ",(({theme:e})=>e.colors.border.normal),";padding:1.5rem;border-radius:0.25rem;"),Qr=(0,u.Z)(y.Tg,{target:"e7yw1b80"})("display:flex;justify-content:space-between;align-items:center;border:1px solid ",(({theme:e})=>e.colors.border.normal),";padding:1rem;");function Jr(){return(0,l.createElement)("svg",{width:"176",height:"120",viewBox:"0 0 176 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("g",{clipPath:"url(#63khdj8zea)"},(0,l.createElement)("path",{d:"M4.448 40.633c-2.975.518-4.825 3.437-4.125 6.522l19.049 83.938c.702 3.093 3.686 5.171 6.66 4.653l107.57-18.72c2.983-.519 4.825-3.437 4.123-6.531l-18.956-83.53a6.458 6.458 0 0 0-7.402-4.939L4.448 40.633z",fill:"#B48BE2"}),(0,l.createElement)("path",{d:"M25.12 135.999c-2.729 0-5.273-2.021-5.92-4.868L.153 47.194c-.36-1.585-.085-3.168.773-4.458a5.23 5.23 0 0 1 3.493-2.275l106.919-18.607a6.629 6.629 0 0 1 7.602 5.072l18.956 83.53c.361 1.591.087 3.179-.771 4.47a5.234 5.234 0 0 1-3.492 2.272l-107.57 18.72c-.314.055-.63.081-.941.081zm87.36-113.895c-.358 0-.719.03-1.083.094L4.477 40.806a4.884 4.884 0 0 0-3.261 2.124C.41 44.14.154 45.626.492 47.116l19.05 83.938c.679 2.994 3.577 5.021 6.46 4.519l107.569-18.72a4.884 4.884 0 0 0 3.262-2.121c.805-1.211 1.061-2.702.722-4.198l-18.957-83.53a6.283 6.283 0 0 0-6.118-4.9z",fill:"#111"}),(0,l.createElement)("path",{d:"M161.878-14.774 94.256-3.006c-1.91.333-3.096 2.21-2.644 4.2l9.449 41.636a4.427 4.427 0 0 0 5.075 3.387l66.94-11.65c1.917-.333 3.103-2.212 2.653-4.192l-9.566-42.156c-.452-1.988-2.368-3.327-4.285-2.993",fill:"#B48BE2"}),(0,l.createElement)("path",{d:"M105.372 46.458a4.603 4.603 0 0 1-4.482-3.589L91.441 1.232c-.236-1.04-.056-2.079.506-2.925a3.413 3.413 0 0 1 2.278-1.485l67.623-11.768c2.003-.349 4.014 1.054 4.484 3.126l9.567 42.156c.235 1.035.055 2.07-.506 2.914a3.424 3.424 0 0 1-2.288 1.49l-66.939 11.65a4.633 4.633 0 0 1-.794.068zm56.536-61.06L94.285-2.833A3.066 3.066 0 0 0 92.238-1.5c-.509.765-.671 1.708-.457 2.654l9.45 41.636a4.251 4.251 0 0 0 4.875 3.254l66.939-11.65a3.083 3.083 0 0 0 2.058-1.339c.507-.763.669-1.701.456-2.642l-9.567-42.156c-.43-1.894-2.262-3.176-4.084-2.86z",fill:"#111"}),(0,l.createElement)("path",{d:"M149.643-1.43 20.423 21.06c-2.868.498-4.642 3.319-3.967 6.293l19.617 86.445c.675 2.974 3.544 4.978 6.412 4.479l129.221-22.489c2.868-.499 4.651-3.313 3.976-6.287L156.065 3.057c-.675-2.974-3.554-4.985-6.422-4.486z",fill:"#fff"}),(0,l.createElement)("path",{d:"M41.608 118.527c-2.63 0-5.082-1.947-5.704-4.691L16.286 27.392c-.348-1.535-.083-3.067.747-4.316a5.033 5.033 0 0 1 3.36-2.19L149.614-1.601c2.958-.514 5.927 1.558 6.621 4.62l19.618 86.444c.347 1.529.082 3.057-.746 4.303a5.05 5.05 0 0 1-3.371 2.195L42.516 118.45a5.267 5.267 0 0 1-.908.078zM150.525-1.331c-.283 0-.567.024-.851.074L20.454 21.23a4.687 4.687 0 0 0-3.13 2.04c-.777 1.167-1.024 2.603-.698 4.043l19.618 86.445c.586 2.583 2.892 4.418 5.362 4.419.282 0 .566-.024.85-.074l129.221-22.488a4.7 4.7 0 0 0 3.139-2.045c.775-1.165 1.022-2.597.697-4.031L155.895 3.095c-.587-2.588-2.896-4.426-5.37-4.426z",fill:"#111"}),(0,l.createElement)("path",{d:"M70.768 99.926a.37.37 0 0 1-.326-.277l-3.019-11.612a.371.371 0 0 1 .717-.187l2.938 11.301 10.557-1.187a.371.371 0 0 1 .082.737l-10.876 1.224a.372.372 0 0 1-.073 0zM129.51 93.309a.37.37 0 0 1-.009-.739l10.456-1.176-2.91-11.199a.37.37 0 1 1 .717-.186l3.018 11.613a.371.371 0 0 1-.317.462l-10.881 1.224a.375.375 0 0 1-.074 0zM124.104 29.374a.37.37 0 0 1-.326-.276l-2.937-11.296-10.562 1.188a.37.37 0 0 1-.083-.738l10.882-1.223a.371.371 0 0 1 .4.275l3.017 11.607a.372.372 0 0 1-.391.463zM54.48 37.217a.37.37 0 0 1-.326-.277l-3.018-11.608a.371.371 0 0 1 .317-.462l10.877-1.223a.371.371 0 0 1 .083.738L51.96 25.56l2.91 11.193a.37.37 0 0 1-.39.464zM98.75 87.084a.124.124 0 0 1-.11-.147c.348-1.76 1.908-11.169-1.686-23.564a.124.124 0 1 1 .237-.069c3.61 12.45 2.041 21.91 1.69 23.68a.124.124 0 0 1-.132.1z",fill:"#111"}),(0,l.createElement)("path",{d:"M106.391 86.623h-.002a.125.125 0 0 1-.11-.137c.605-5.487.293-14.678-2.398-24.022-1.191-4.138-5.799-6.926-9.667-5.85a5.622 5.622 0 0 0-3.426 2.707c-.852 1.53-1.016 3.423-.463 5.333 2.637 9.096 2.072 16.047 1.5 19.38a.12.12 0 0 1-.142.1.124.124 0 0 1-.101-.142c.568-3.312 1.13-10.22-1.494-19.27-.572-1.973-.4-3.934.484-5.522a5.869 5.869 0 0 1 3.576-2.825c1.904-.53 4.093-.18 6.005.962 1.925 1.15 3.371 2.993 3.965 5.058 2.701 9.379 3.014 18.608 2.407 24.118a.124.124 0 0 1-.134.11z",fill:"#111"}),(0,l.createElement)("path",{d:"M84.98 77.918a.124.124 0 0 1-.112-.122c-.033-2.693-.527-7.384-1.816-12.473-.917-3.624-.64-7.093.803-10.032 1.44-2.932 3.898-5.053 7.108-6.131 3.361-1.13 7.516-.573 11.399 1.528 3.915 2.117 6.928 5.486 8.268 9.241 2.194 6.152 3.057 14.122 3.395 19.725a.124.124 0 0 1-.247.015c-.336-5.587-1.196-13.532-3.381-19.656-1.319-3.699-4.29-7.018-8.152-9.108-3.823-2.068-7.907-2.619-11.203-1.51-6.385 2.145-9.572 8.67-7.75 15.868 1.294 5.11 1.79 9.823 1.823 12.53a.123.123 0 0 1-.134.125z",fill:"#111"}),(0,l.createElement)("path",{d:"m75.497 57.91-.007-.002a.123.123 0 0 1-.105-.14c1.253-8.786 6.433-14.719 14.21-16.277 4.455-.892 9.411-.206 13.956 1.931 4.825 2.27 8.862 5.969 11.675 10.696a.125.125 0 0 1-.043.17.124.124 0 0 1-.17-.044c-5.506-9.255-15.938-14.4-25.37-12.51-7.668 1.536-12.776 7.393-14.014 16.07a.123.123 0 0 1-.132.105zM76.223 39.779a.123.123 0 0 1-.075-.213c3.318-3.16 7.986-5.232 13.145-5.834 5.426-.633 10.982.349 16.067 2.84.062.03.087.104.057.166a.123.123 0 0 1-.165.056c-10.046-4.921-21.944-3.708-28.933 2.951a.122.122 0 0 1-.096.034zM102.511 87.422h-.005a.125.125 0 0 1-.107-.138c.747-5.877 1.107-13.335-1.877-24.09-.283-1.017-1.11-2.013-2.16-2.6-.887-.495-1.812-.64-2.608-.41-2.049.596-2.28 2.747-1.857 4.408 2.128 8.345 2.61 15.636 1.396 21.084l-.03.138a.124.124 0 1 1-.242-.052l.03-.14c1.207-5.41.725-12.661-1.394-20.969-.593-2.328.203-4.176 2.029-4.706.858-.249 1.851-.096 2.796.431 1.106.618 1.978 1.672 2.278 2.75 2.996 10.797 2.634 18.286 1.885 24.187a.124.124 0 0 1-.133.108h-.001z",fill:"#111"}),(0,l.createElement)("path",{d:"M110.258 84.32a.123.123 0 0 1-.112-.127c.192-7.017-.748-14.753-2.649-21.785-1.877-6.943-8.794-10.666-13.828-9.665-2.584.514-4.623 1.897-5.9 4-1.449 2.388-1.76 5.55-.855 8.674 2.258 7.79 1.743 13.756 1.55 16.002a.124.124 0 1 1-.246-.022c.192-2.233.704-8.165-1.54-15.911-.926-3.19-.605-6.424.88-8.872 1.313-2.163 3.41-3.586 6.062-4.113 2.482-.494 5.518.174 8.121 1.786a13.622 13.622 0 0 1 5.994 8.057c1.907 7.054 2.851 14.816 2.658 21.856a.124.124 0 0 1-.127.12h-.008z",fill:"#111"}),(0,l.createElement)("path",{d:"M80.969 72.169a.124.124 0 0 1-.112-.105c-.118-.761-.403-2.02-.705-3.354-.377-1.663-.766-3.382-.94-4.578-1.465-10.036 3.631-17.72 12.68-19.124 3.522-.546 7.695.27 11.448 2.239 2.96 1.553 7.055 4.544 9.754 9.974 1.88 3.783 3.013 10.079 3.557 13.105l.116.642a.124.124 0 0 1-.099.144.124.124 0 0 1-.144-.1l-.116-.642c-.543-3.015-1.671-9.288-3.535-13.038-4.594-9.243-14.22-13.122-20.944-12.08-8.904 1.381-13.916 8.954-12.473 18.845.173 1.186.579 2.978.937 4.558.303 1.338.589 2.602.709 3.372a.124.124 0 0 1-.133.142z",fill:"#111"}),(0,l.createElement)("path",{d:"M74.663 48.015a.124.124 0 0 1-.096-.186c3.292-5.623 8.33-9.143 14.57-10.181 7.387-1.229 15.774 1.284 21.889 6.558a.124.124 0 1 1-.161.187c-6.061-5.227-14.371-7.718-21.688-6.501-6.165 1.025-11.143 4.505-14.397 10.062a.124.124 0 0 1-.117.06zM81.553 31.913a.124.124 0 0 1-.038-.236c3.353-1.452 9.803-2.424 14.793-1.539a.124.124 0 0 1 .1.144.122.122 0 0 1-.143.1c-4.944-.878-11.332.085-14.653 1.522a.122.122 0 0 1-.06.01h.001z",fill:"#111"})),(0,l.createElement)("defs",null,(0,l.createElement)("clipPath",{id:"63khdj8zea"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(0 -15)",d:"M0 0h176v151H0z"}))))}function en({question:e,onAnswer:t}){const{installType:r}=fe(),{isScanning:n,isQuerying:a}=(0,C.useSelect)((e=>({isScanning:e(M.siteScannerStore).isScanning(),isQuerying:e(M.vulnerabilitiesStore).isQuerying("onboarding")})),[]),{runScan:i}=(0,C.useDispatch)(M.siteScannerStore),{query:o}=(0,C.useDispatch)(M.vulnerabilitiesStore),[c,d]=(0,l.useState)();return(0,l.createElement)(g.Flex,{direction:"column",gap:6},(0,l.createElement)(Wr,null,(0,l.createElement)(Kr,null,(0,l.createElement)(Jr,null)),(0,l.createElement)(g.Flex,{direction:"column",gap:6},(0,l.createElement)(y.X6,{level:3,text:e.prompt,size:y.yH.EXTRA_LARGE,weight:y.fs.NORMAL}),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:4,text:(0,s.__)("Why is this important?","better-wp-security"),size:y.yH.SUBTITLE_SMALL}),(0,l.createElement)(y.xv,{text:e.description,variant:y.rK.MUTED}))),c&&(0,l.createElement)(g.Flex,{direction:"column",gap:4},(0,l.createElement)(y.rN,{heading:(0,s.__)("Oops! We hit a snag scanning your site.","better-wp-security"),messages:c.map((e=>e.message)),type:"warning"}),(0,l.createElement)(y.zx,{text:(0,s.__)("Skip for Now","better-wp-security"),align:"center",variant:"primary",onClick:()=>t(!1)})),!c&&(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.zx,{text:(0,s.__)("Scan Site","better-wp-security"),variant:"primary",isBusy:n||a,onClick:async()=>{const e=await i();"error"!==e.status?await o("onboarding",{resolution:["","deactivated","patched"],per_page:10}):d(e.errors)}}),(0,l.createElement)(y.zx,{text:(0,s.__)("No, Skip Site Scan","better-wp-security"),variant:"tertiary",onClick:()=>t(!1)}))),"free"===r&&(0,l.createElement)(y.zx,{text:(0,s.__)("Privacy Policy","better-wp-security"),href:"https://go.solidwp.com/solid-privacy-policy",variant:"tertiary",target:"_blank"}),(0,l.createElement)(Gr,null,(0,l.createElement)(y.xv,{text:(0,s.__)("Powered by","better-wp-security"),variant:y.rK.MUTED,size:y.yH.SMALL}),(0,l.createElement)(de.P_,{width:171,alt:(0,s.__)("Patchstack","better-wp-security")})))}function tn(){return(0,l.createElement)("svg",{width:"195",height:"120",viewBox:"0 0 195 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)("g",{clipPath:"url(#cuabit6eza)"},(0,l.createElement)("path",{d:"m66.871 12.878-1.454 3.524c.715-1.734.657-3.37-.612-4.52C60.444 7.93 50.163-1.182 49.622-1.662l1.455-3.524c.54.48 10.822 9.591 15.183 13.544 1.269 1.15 1.327 2.787.611 4.52z",fill:"#111"}),(0,l.createElement)("path",{d:"M65.417 16.483a.082.082 0 0 1-.075-.112l.002-.006c.533-1.292.86-3.107-.593-4.423C60.526 8.114 50.683-.613 49.575-1.596l-.007-.005a.082.082 0 0 1-.02-.092l1.454-3.524a.081.081 0 0 1 .13-.03l.005.006c1.109.982 10.954 9.71 15.178 13.539 1.207 1.093 1.426 2.688.632 4.611l-1.454 3.524a.081.081 0 0 1-.076.05zM49.72-1.684c1.275 1.13 10.96 9.718 15.14 13.506.894.81 1.246 1.893 1.047 3.181l.89-2.155c.533-1.293.864-3.11-.592-4.429C62.07 4.67 52.541-3.779 51.11-5.049l-1.39 3.364z",fill:"#111"}),(0,l.createElement)("path",{d:"M129.825 142.74c-6.799-6.858.245-19.72-4.042-25.536L68.936 40.083c-3.66-4.966-17.373-5.094-23.055-9.405-6.504-4.939-12.048-18.473-10.097-23.2l-1.455 3.524c-1.95 4.727 3.593 18.261 10.097 23.2 5.682 4.311 19.395 4.44 23.055 9.405l56.848 77.121c4.286 5.815-2.758 18.678 4.041 25.536 6.461 6.515 22.334 11.73 26.84 9.703l1.455-3.524c-4.506 2.027-20.38-3.188-26.84-9.703z",fill:"url(#az5zg9gayb)"}),(0,l.createElement)("path",{d:"M152.492 156.492c-2.53.001-6.07-.725-9.995-2.096-5.918-2.067-11.22-5.085-14.184-8.075-1.699-1.713-2.687-3.954-3.022-6.852-.295-2.552-.061-5.282.164-7.921.361-4.218.702-8.203-1.191-10.771L67.416 43.656c-1.97-2.673-6.799-3.912-11.912-5.223-4.187-1.075-8.516-2.185-11.126-4.166-3.015-2.289-6.097-6.667-8.245-11.712-2.086-4.899-2.806-9.337-1.879-11.583l1.455-3.524a.082.082 0 0 1 .15.062c-.91 2.207-.191 6.597 1.878 11.457 2.137 5.02 5.2 9.374 8.194 11.646 2.584 1.961 6.897 3.068 11.069 4.138 5.141 1.319 9.998 2.565 12.002 5.284l56.847 77.121c1.93 2.618 1.587 6.632 1.224 10.882-.457 5.345-.93 10.872 2.81 14.645 2.948 2.972 8.227 5.976 14.122 8.035 5.659 1.976 10.498 2.609 12.627 1.651a.08.08 0 0 1 .048-.006.08.08 0 0 1 .066.064.088.088 0 0 1-.005.048l-1.455 3.524a.078.078 0 0 1-.041.043c-.674.303-1.611.45-2.753.45zM35.398 8.629l-.993 2.405c-.911 2.207-.192 6.597 1.878 11.457 2.137 5.02 5.2 9.374 8.193 11.646 2.584 1.961 6.898 3.068 11.069 4.138 5.142 1.319 9.998 2.565 12.002 5.284l56.848 77.121c1.929 2.618 1.586 6.632 1.223 10.882-.457 5.345-.93 10.872 2.811 14.645 2.947 2.972 8.226 5.976 14.122 8.035 5.632 1.967 10.452 2.603 12.597 1.664l1.367-3.312c-2.25.863-7.023.213-12.564-1.722-5.917-2.067-11.22-5.085-14.184-8.074-1.698-1.714-2.686-3.955-3.021-6.853-.295-2.552-.062-5.281.164-7.921.361-4.218.701-8.203-1.192-10.771L68.871 40.132c-1.97-2.673-6.8-3.912-11.912-5.223-4.187-1.075-8.517-2.185-11.127-4.166-3.014-2.289-6.097-6.667-8.245-11.712-1.766-4.147-2.552-7.965-2.19-10.402z",fill:"#111"}),(0,l.createElement)("path",{d:"M51.077-5.186c4.89-2.2 22.11 3.462 29.118 10.527 7.379 7.44-.782 21.627 3.87 27.938l56.847 77.121c3.373 4.576 15.305 5.013 20.544 8.987 6.238 4.736 11.514 18.048 9.056 21.871-.507-.455-10.133-9.108-13.997-12.481-1.724-1.504-4.316-1.271-6.855-.129-5.185 2.332-10.141 8.456-6.988 11.313 4.018 3.642 13.495 12.04 13.994 12.482-4.506 2.026-20.38-3.188-26.841-9.703-6.799-6.858.246-19.721-4.041-25.536L68.936 40.083c-3.66-4.966-17.372-5.094-23.055-9.405-6.767-5.139-12.494-19.581-9.823-23.728.55.494 10.993 9.883 15.184 13.54 1.869 1.632 4.681 1.379 7.436.14 5.625-2.53 11.004-9.174 7.582-12.272C61.899 4.405 51.618-4.706 51.077-5.186z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M153.947 152.969c-2.53 0-6.07-.726-9.995-2.097-5.918-2.067-11.22-5.085-14.184-8.074-1.699-1.713-2.687-3.955-3.022-6.853-.295-2.552-.062-5.281.164-7.921.361-4.218.702-8.202-1.192-10.771L68.871 40.132c-1.97-2.673-6.799-3.912-11.912-5.223-4.187-1.074-8.516-2.185-11.127-4.166-3.153-2.394-6.322-6.981-8.477-12.27-2.107-5.171-2.63-9.603-1.365-11.567a.081.081 0 0 1 .123-.016c.447.402 10.992 9.883 15.183 13.539 1.673 1.461 4.283 1.506 7.349.127 4.225-1.9 8.06-5.973 8.55-9.08.199-1.254-.134-2.283-.99-3.057C61.983 4.591 52.139-4.136 51.03-5.119l-.007-.005a.081.081 0 0 1 .021-.135c2.35-1.057 7.647-.372 13.825 1.786 6.418 2.242 12.17 5.516 15.385 8.757 1.84 1.856 2.88 4.297 3.179 7.464.264 2.79-.063 5.779-.378 8.67-.506 4.639-.984 9.02 1.075 11.813l56.848 77.122c1.829 2.481 6.13 3.715 10.683 5.022 3.668 1.052 7.46 2.14 9.844 3.948 2.908 2.208 5.83 6.436 7.816 11.312 1.942 4.768 2.425 8.856 1.259 10.668a.085.085 0 0 1-.025.025.096.096 0 0 1-.032.012.085.085 0 0 1-.066-.02c-1.035-.931-10.221-9.186-13.995-12.48-1.541-1.345-3.945-1.387-6.768-.117-3.892 1.75-7.426 5.503-7.878 8.365-.182 1.154.125 2.101.911 2.813 3.895 3.531 12.967 11.573 13.989 12.478.02.018.032.048.028.075-.004.028-.019.053-.045.064-.673.303-1.61.451-2.752.451zM36.077 7.076c-1.171 1.96-.629 6.284 1.43 11.336 2.111 5.184 5.34 9.86 8.424 12.201 2.584 1.961 6.897 3.068 11.069 4.138 5.141 1.319 9.998 2.565 12.002 5.284l56.848 77.121c1.929 2.618 1.586 6.632 1.223 10.882-.457 5.345-.93 10.872 2.81 14.645 2.948 2.972 8.227 5.976 14.122 8.035 5.558 1.941 10.324 2.586 12.51 1.701-1.399-1.24-10.104-8.958-13.897-12.397-.83-.752-1.154-1.748-.963-2.96.46-2.91 4.036-6.718 7.972-8.488 2.885-1.298 5.35-1.247 6.942.143 3.698 3.228 12.593 11.219 13.925 12.416 1.071-1.809.569-5.788-1.324-10.437-1.946-4.777-4.921-9.086-7.763-11.243-2.36-1.79-6.138-2.874-9.791-3.922-4.581-1.314-8.907-2.555-10.77-5.082L83.999 33.328c-2.097-2.845-1.615-7.257-1.106-11.927.314-2.884.64-5.865.377-8.638-.295-3.128-1.32-5.537-3.132-7.364-3.199-3.225-8.927-6.484-15.322-8.718-6.04-2.11-11.219-2.809-13.588-1.842C52.695-3.86 62.188 4.558 66.315 8.3c.898.813 1.249 1.89 1.042 3.203-.247 1.564-1.303 3.39-2.973 5.14-1.627 1.707-3.642 3.15-5.672 4.063-3.128 1.407-5.8 1.352-7.524-.154-4.058-3.54-14.075-12.543-15.112-13.475z",fill:"#111"}),(0,l.createElement)("path",{d:"M75.688 35.349c-2.317 1.042-2.898 3.646-1.299 5.816l52.934 71.812c1.602 2.172 4.776 3.088 7.094 2.045 2.314-1.04 2.894-3.645 1.293-5.817L82.776 37.393c-1.599-2.17-4.774-3.085-7.088-2.044z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M132.326 115.532c-1.903 0-3.902-.925-5.069-2.507L74.323 41.213c-.82-1.114-1.106-2.365-.802-3.523.279-1.065 1.037-1.923 2.133-2.416 2.344-1.055 5.569-.126 7.187 2.07l52.934 71.812c.823 1.116 1.109 2.369.805 3.527-.279 1.064-1.035 1.921-2.13 2.414a5.18 5.18 0 0 1-2.124.435zM77.78 35.001c-.718 0-1.422.135-2.06.422-1.05.472-1.775 1.292-2.042 2.309-.29 1.108-.015 2.31.777 3.384l52.934 71.812c1.576 2.139 4.714 3.045 6.994 2.02 1.049-.472 1.773-1.291 2.039-2.306.291-1.11.015-2.313-.778-3.389L82.71 37.441C81.575 35.9 79.63 35 77.78 35z",fill:"#111"})),(0,l.createElement)("g",{clipPath:"url(#yytr1qinwc)"},(0,l.createElement)("path",{d:"M80.273 90.34c.197-.266-.506-1.123-1.572-1.913s-2.09-1.216-2.287-.95c-.198.267.506 1.124 1.571 1.914 1.066.791 2.09 1.216 2.288.95z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M80.062 90.497c-.36 0-.914-.283-1.18-.43-1.045-.583-2.16-1.556-2.484-2.169-.12-.228-.128-.396-.023-.5.266-.26 1.092.156 1.435.347 1.046.583 2.16 1.556 2.484 2.17.12.227.128.395.023.498-.06.06-.15.084-.255.084zm-3.432-3.022c-.069 0-.116.014-.142.04-.046.044-.026.157.053.308.312.589 1.397 1.532 2.42 2.103.71.396 1.143.47 1.243.372.046-.045.027-.157-.053-.309-.311-.589-1.397-1.532-2.42-2.103-.528-.294-.903-.41-1.101-.41z",fill:"#111"}),(0,l.createElement)("path",{d:"M131.907 12.666 76.415 87.475c.13-.174.631-.062 1.355.34 1.036.578 2.134 1.535 2.452 2.137.096.181.11.31.054.385l55.492-74.808c.611-1.137.995-2.93 1.147-4.032.203-1.465-.259-1.478-.748-1.367-1.231.282-3.779 2.055-4.26 2.536z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M80.276 90.418a.08.08 0 0 1-.072-.044.081.081 0 0 1 .008-.085c.036-.049.014-.158-.061-.3-.311-.59-1.397-1.533-2.42-2.103-.789-.44-1.18-.458-1.25-.364a.081.081 0 0 1-.145-.036.081.081 0 0 1 .015-.06l55.492-74.808a.052.052 0 0 1 .008-.01c.5-.5 3.058-2.273 4.298-2.556.245-.056.496-.085.677.08.218.2.272.637.17 1.376-.163 1.184-.564 2.957-1.156 4.059a.215.215 0 0 1-.006.01L80.342 90.385a.08.08 0 0 1-.066.033zm-3.641-3.103c.358.002.906.28 1.175.43 1.046.583 2.16 1.556 2.484 2.169.032.06.055.116.071.168L135.7 15.485c.581-1.083.975-2.83 1.136-3.999.092-.663.052-1.078-.119-1.235-.126-.115-.33-.088-.532-.042-1.187.271-3.728 2.026-4.216 2.51L76.635 87.315z",fill:"#111"}),(0,l.createElement)("path",{d:"M134.152 16.64a.132.132 0 0 1-.06-.012c-.321-.162.001-2.174.135-2.564.118-.337.555-.855 1.061-1.454.578-.684 1.232-1.458 1.551-2.132-.036-.125-.094-.209-.176-.257-.105-.062-.259-.068-.459-.017-.762.629-3.007 2.53-3.474 2.94-.216.19-1.44 1.09-1.887 1.02a.08.08 0 0 1-.007-.158.081.081 0 0 1 .032-.001c.328.05 1.443-.708 1.755-.981.471-.413 2.743-2.339 3.492-2.956a.084.084 0 0 1 .031-.015c.254-.068.45-.06.599.028.125.074.212.203.258.384a.09.09 0 0 1-.005.054c-.324.7-.994 1.494-1.586 2.195-.476.562-.925 1.094-1.032 1.403-.214.619-.333 2.22-.214 2.366.153.02.919-.508 1.552-1.017a.08.08 0 0 1 .111.014.086.086 0 0 1 .018.058.081.081 0 0 1-.028.054c-1.087.874-1.506 1.048-1.667 1.048z",fill:"#111"}),(0,l.createElement)("path",{d:"M82.037 93.707c.476-.641-1.226-2.71-3.8-4.622-2.575-1.912-5.048-2.942-5.524-2.301-.476.64 1.226 2.71 3.8 4.622 2.575 1.911 5.048 2.942 5.524 2.3z",fill:"#fff"}),(0,l.createElement)("path",{d:"M81.523 93.98c-.615 0-1.609-.364-2.83-1.05-2.517-1.415-5.177-3.746-5.931-5.197-.256-.49-.278-.843-.067-1.048.412-.398 1.67-.068 3.364.884 2.516 1.415 5.177 3.745 5.931 5.196.255.491.278.844.067 1.048-.115.112-.296.166-.534.166zM73.23 86.68c-.207 0-.346.046-.424.12-.191.186-.052.569.098.858.742 1.427 3.374 3.728 5.867 5.13 1.92 1.079 2.908 1.163 3.172.908.192-.185.053-.569-.097-.857-.742-1.428-3.374-3.729-5.867-5.13-1.358-.763-2.25-1.029-2.75-1.029z",fill:"#111"}),(0,l.createElement)("path",{d:"m72.712 86.789 1.959-2.639c.313-.421 1.542-.14 3.307.852 2.509 1.41 5.15 3.722 5.9 5.163.221.428.252.73.12.908l-1.959 2.639c.132-.178.102-.481-.12-.909-.75-1.441-3.391-3.753-5.9-5.163-1.765-.992-2.994-1.273-3.307-.851z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M82.04 93.792a.08.08 0 0 1-.065-.129c.115-.156.07-.44-.128-.823-.742-1.427-3.374-3.728-5.867-5.13-1.353-.76-2.868-1.325-3.203-.874a.081.081 0 0 1-.114.018.08.08 0 0 1-.031-.054.081.081 0 0 1 .016-.06l1.958-2.638c.357-.48 1.632-.17 3.411.83 2.517 1.414 5.178 3.745 5.932 5.195.233.448.271.783.114.994l-1.959 2.638a.08.08 0 0 1-.064.033zm-8.808-7.274c.611 0 1.599.361 2.827 1.051 2.516 1.415 5.177 3.746 5.931 5.197.12.23.189.43.205.6l1.739-2.341c.115-.156.07-.44-.128-.823-.742-1.427-3.374-3.729-5.868-5.13-1.352-.76-2.867-1.325-3.202-.874l-1.739 2.341c.078-.014.156-.022.235-.021z",fill:"#111"}),(0,l.createElement)("path",{d:"M57.491 105.01c4.633-4.953 7.263-8.106 8.537-14.318.038-.182.213-.596.248-.783.55-.589 2.452-.13 5.15 1.387 3.94 2.213 8.086 5.842 9.262 8.105.328.63.39 1.088.225 1.373-.235.122-.456.333-.68.457-5.443 2.997-7.873 6.521-11.234 12.32.13-.223.08-.583-.177-1.079-.925-1.778-4.185-4.631-7.282-6.372-2.121-1.192-3.615-1.553-4.049-1.09z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M68.998 113.632a.073.073 0 0 1-.04-.011.08.08 0 0 1-.03-.11c.118-.204.056-.55-.178-1.001-.917-1.765-4.17-4.608-7.25-6.339-1.984-1.116-3.535-1.55-3.95-1.105a.081.081 0 0 1-.14-.053c0-.021.007-.042.022-.058l.001-.001c4.437-4.744 7.222-7.972 8.516-14.278.019-.093.069-.234.122-.384.053-.15.108-.307.125-.397a.08.08 0 0 1 .02-.04c.607-.649 2.569-.136 5.25 1.37 3.944 2.217 8.113 5.868 9.294 8.139.333.642.409 1.13.223 1.45a.075.075 0 0 1-.033.031 2.792 2.792 0 0 0-.35.234 2.84 2.84 0 0 1-.329.223c-2.614 1.439-4.58 3.009-6.375 5.091-1.664 1.93-3.08 4.185-4.828 7.199a.09.09 0 0 1-.03.03.081.081 0 0 1-.04.01zM58.1 104.735c.752 0 1.973.447 3.48 1.295 3.104 1.744 6.385 4.618 7.314 6.405.141.272.224.509.248.711 1.656-2.841 3.029-4.998 4.633-6.858 1.784-2.069 3.824-3.698 6.42-5.127.101-.057.202-.132.31-.211.112-.084.228-.17.35-.236.14-.268.057-.708-.238-1.275-1.168-2.248-5.308-5.869-9.23-8.073-2.509-1.41-4.479-1.964-5.036-1.417-.023.103-.076.253-.127.397-.049.138-.099.28-.116.363-1.274 6.21-3.979 9.449-8.268 14.047.086-.015.173-.022.26-.021z",fill:"#111"}),(0,l.createElement)("path",{d:"M80.658 101.009c1.341-.728 3.674-2.432 4.156-5.636.034-.277-.064-.65-.306-1.116-1.177-2.263-5.323-5.892-9.262-8.105-2.41-1.355-4.183-1.866-4.948-1.531-2.92 1.398-3.868 4.109-4.173 5.6l-.097.471a.592.592 0 0 1 .152-.291c.538-.576 2.394-.128 5.029 1.353 3.845 2.161 7.893 5.704 9.042 7.913.32.615.38 1.062.22 1.34a.584.584 0 0 1-.239.224l.426-.222z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M80.232 101.312a.081.081 0 0 1-.074-.114.08.08 0 0 1 .036-.038.507.507 0 0 0 .206-.193c.15-.259.074-.695-.221-1.262-1.14-2.194-5.183-5.73-9.01-7.88-2.473-1.39-4.408-1.928-4.93-1.37a.51.51 0 0 0-.13.246l-.002.007a.08.08 0 0 1-.158-.032l.002-.008.094-.463c.309-1.506 1.267-4.244 4.218-5.657.82-.36 2.65.2 5.022 1.533 3.944 2.217 8.113 5.868 9.294 8.139.245.471.351.863.316 1.163-.488 3.24-2.84 4.96-4.2 5.697v.001l-.425.222a.08.08 0 0 1-.038.009zM66.937 90.076c.927 0 2.44.556 4.311 1.608 3.85 2.164 7.921 5.729 9.074 7.946.296.569.384 1.015.262 1.326l.035-.018c1.333-.723 3.638-2.408 4.115-5.577.032-.265-.069-.624-.298-1.067-1.169-2.247-5.309-5.868-9.23-8.072-2.293-1.289-4.115-1.86-4.876-1.527-2.886 1.381-3.824 4.065-4.127 5.542l-.008.04c.171-.134.422-.2.742-.2z",fill:"#111"}),(0,l.createElement)("path",{d:"M53.27 145.49a51.677 51.677 0 0 0 1.75-2.512c6.5-9.903 9.084-20.974 13.974-29.419l.005-.007c.13-.224.08-.584-.177-1.079-.925-1.779-4.185-4.632-7.282-6.373-2.121-1.192-3.616-1.553-4.049-1.089-7.221 7.717-18.176 13.734-25.964 24.222a.896.896 0 0 0-.06.074c-10.181 13.831-1.858 20.771 2.203 23.118 6.796 3.575 13.293 1.353 19.6-6.935z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M39.842 154.146c-2.043 0-4.12-.551-6.21-1.65-2.147-1.241-5.892-4.018-6.87-8.695-.89-4.258.67-9.151 4.64-14.543.02-.026.04-.052.063-.077 4.667-6.284 10.388-10.899 15.92-15.363 3.678-2.967 7.152-5.77 10.047-8.863.482-.516 2.033-.114 4.148 1.075 3.103 1.744 6.384 4.617 7.313 6.405.266.51.325.899.176 1.157-2.127 3.671-3.803 7.804-5.578 12.18-2.322 5.724-4.723 11.643-8.403 17.25a52.018 52.018 0 0 1-1.753 2.517c-3.139 4.124-6.387 6.797-9.655 7.943a11.52 11.52 0 0 1-3.838.664zm18.252-49.253c-.25 0-.436.056-.544.172-2.902 3.102-6.38 5.908-10.063 8.879-5.526 4.458-11.24 9.067-15.895 15.337l-.005.007a.776.776 0 0 0-.056.066c-3.94 5.353-5.491 10.203-4.61 14.414.965 4.615 4.668 7.361 6.79 8.586 3.369 1.773 6.706 2.102 9.916.976 3.237-1.136 6.46-3.791 9.58-7.889a51.437 51.437 0 0 0 1.746-2.508c3.671-5.594 6.07-11.505 8.388-17.222 1.777-4.381 3.456-8.519 5.583-12.193a.046.046 0 0 1 .007-.011c.116-.2.054-.546-.18-.998-.918-1.764-4.17-4.608-7.25-6.339-1.468-.824-2.698-1.277-3.407-1.277z",fill:"#111"}),(0,l.createElement)("path",{d:"M60.781 107.174c-.402-.229-1.422-.604-2.93.382 0 0-11.052 8.292-14.675 11.136-6.521 5.121-8.451 8.467-9.293 10.328-.995 2.199.723 3.532 3.474 5.227 1 .616 4.458 2.456 7.862 1.81.86-.163 2.857-1.308 5.34-4.966 2.752-4.052 10.81-20.636 10.872-20.781.573-1.342.434-2.518-.65-3.136z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M43.73 136.274c-3.06 0-5.823-1.593-6.416-1.958-2.71-1.669-4.547-3.028-3.506-5.329.528-1.167 2.135-4.718 9.318-10.358 3.581-2.812 14.565-11.054 14.676-11.137 1.498-.981 2.534-.664 3.018-.388 1.057.602 1.306 1.782.684 3.238-.055.129-8.112 16.72-10.879 20.794-2.95 4.345-5.009 4.927-5.392 5a8.02 8.02 0 0 1-1.503.138zm16.004-29.286c-.486 0-1.102.153-1.84.636-.106.08-11.088 8.321-14.669 11.132-7.151 5.616-8.746 9.139-9.27 10.298-.986 2.18.805 3.499 3.444 5.124.585.361 3.315 1.934 6.329 1.935.487 0 .98-.042 1.475-.135 1.027-.196 3.029-1.604 5.289-4.932 2.782-4.098 10.805-20.633 10.864-20.768.595-1.391.376-2.469-.616-3.034a2.02 2.02 0 0 0-1.006-.256z",fill:"#111"})),(0,l.createElement)("g",{clipPath:"url(#v00067mlwd)"},(0,l.createElement)("path",{d:"M39.476 58.848 34.03 66.02c1.257-1.656 1.476-4.051.347-6.477-1.809-3.885-6.388-6.374-10.228-5.56-1.441.306-2.573 1.034-3.33 2.03l5.447-7.172c.756-.996 1.888-1.724 3.33-2.03 3.839-.814 8.419 1.676 10.227 5.56 1.129 2.426.91 4.822-.347 6.477z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M34.03 66.101a.08.08 0 0 1-.072-.045.081.081 0 0 1 .008-.085c1.286-1.694 1.413-4.084.338-6.393-1.79-3.847-6.338-6.321-10.138-5.516-1.375.292-2.51.983-3.282 2a.08.08 0 0 1-.136-.007.08.08 0 0 1 .007-.09l5.446-7.172c.796-1.048 1.964-1.76 3.378-2.06 3.869-.821 8.498 1.693 10.318 5.605 1.1 2.364.968 4.817-.356 6.56l-5.443 7.167-.003.004a.082.082 0 0 1-.065.032zm-8.385-12.352c3.494 0 7.218 2.348 8.806 5.76.88 1.891.971 3.838.296 5.433l4.665-6.142c1.286-1.694 1.413-4.084.338-6.394-1.79-3.847-6.339-6.32-10.137-5.515-1.376.292-2.51.983-3.282 2l-4.668 6.145c.688-.546 1.524-.932 2.47-1.132a7.3 7.3 0 0 1 1.512-.155z",fill:"#111"}),(0,l.createElement)("path",{d:"M14.313 50.061c-.157.208-.256.46-.282.745L12.88 63.06l5.446-7.172 1.15-12.254c.026-.284.125-.537.282-.744l-5.446 7.171z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M12.88 63.14a.082.082 0 0 1-.06-.026.08.08 0 0 1-.02-.062l1.149-12.254c.027-.292.13-.564.299-.786l5.446-7.172a.08.08 0 0 1 .115-.017.083.083 0 0 1 .031.055.079.079 0 0 1-.017.06v.001c-.15.198-.242.44-.266.702l-1.15 12.255a.083.083 0 0 1-.016.041l-5.446 7.172a.08.08 0 0 1-.065.032zm6.536-19.666-5.039 6.636c-.15.198-.242.44-.266.703l-1.123 11.971 5.26-6.926 1.147-12.232c.005-.051.012-.102.021-.152z",fill:"#111"}),(0,l.createElement)("path",{d:"m19.21 57.788-5.446 7.172c-.608-.518-.945-1.242-.884-1.9l5.446-7.171c-.061.657.276 1.381.884 1.899z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M13.764 65.04a.081.081 0 0 1-.052-.019c-.627-.533-.976-1.287-.912-1.968a.08.08 0 0 1 .016-.042l5.446-7.171a.081.081 0 0 1 .145.056c-.059.63.27 1.331.856 1.83a.08.08 0 0 1 .012.111l-5.446 7.171a.08.08 0 0 1-.065.033zm-.805-1.95c-.047.6.254 1.263.793 1.751L19.1 57.8c-.515-.462-.829-1.075-.86-1.663l-5.28 6.954z",fill:"#111"}),(0,l.createElement)("path",{d:"m45.08 65.354-12.476 2.647-5.446 7.171 12.476-2.646c.382-.081.693-.276.901-.55l5.446-7.172c-.208.274-.519.47-.9.55z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M27.158 75.254a.082.082 0 0 1-.072-.045.082.082 0 0 1 .008-.085l5.446-7.172a.08.08 0 0 1 .048-.03l12.475-2.647c.358-.076.653-.256.854-.52a.082.082 0 0 1 .112-.014.081.081 0 0 1 .017.112L40.6 72.025a1.577 1.577 0 0 1-.95.581l-12.475 2.647a.079.079 0 0 1-.017.002zm5.493-7.18-5.296 6.974 12.262-2.601c.358-.076.653-.256.854-.52l5.037-6.634c-.13.064-.268.111-.41.14l-12.447 2.64z",fill:"#111"}),(0,l.createElement)("path",{d:"m30.537 67.396-5.447 7.172-11.325-9.608 5.446-7.172 11.326 9.608z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M25.09 74.649a.081.081 0 0 1-.052-.02l-11.326-9.608a.08.08 0 0 1-.012-.11l5.446-7.172a.08.08 0 0 1 .056-.031.082.082 0 0 1 .061.018l11.326 9.608a.081.081 0 0 1 .012.111l-5.446 7.172a.081.081 0 0 1-.065.032zm-11.214-9.701 11.202 9.502 5.348-7.042-11.202-9.503-5.348 7.043z",fill:"#111"}),(0,l.createElement)("path",{d:"M46.53 49.906c.61.515.946 1.239.883 1.9l-1.147 12.253c-.064.658-.514 1.153-1.186 1.295l-12.476 2.647c-.67.142-1.46-.09-2.067-.605L19.21 57.788c-.61-.518-.946-1.242-.884-1.9l1.15-12.254c.06-.66.514-1.153 1.183-1.295l12.476-2.646c.671-.142 1.459.087 2.07.604l11.323 9.609zM36.142 60.88c3.84-.815 5.489-4.623 3.68-8.508-1.808-3.885-6.388-6.375-10.228-5.56-3.837.814-5.485 4.624-3.676 8.51 1.808 3.884 6.387 6.372 10.224 5.558z",fill:"#fff"}),(0,l.createElement)("path",{d:"M32.203 68.123c-.587 0-1.216-.238-1.72-.665L19.159 57.85c-.627-.533-.976-1.288-.912-1.969l1.15-12.254c.063-.693.541-1.217 1.247-1.367l12.476-2.646c.693-.147 1.513.091 2.14.622l11.323 9.608c.628.53.977 1.285.912 1.97l-1.148 12.253c-.067.694-.546 1.218-1.25 1.367L32.622 68.08a2.014 2.014 0 0 1-.418.043zm1.336-28.39c-.132 0-.261.013-.386.04l-12.476 2.646c-.634.134-1.063.603-1.12 1.223l-1.15 12.254c-.059.63.27 1.331.856 1.83l11.326 9.608c.588.5 1.354.724 1.998.588l12.476-2.647c.632-.134 1.061-.603 1.122-1.223l1.147-12.254c.06-.632-.267-1.334-.855-1.83l-11.324-9.609c-.475-.402-1.065-.626-1.614-.626zm1.109 21.382c-3.492 0-7.215-2.349-8.803-5.76-.927-1.992-.983-4.085-.153-5.743.741-1.482 2.122-2.505 3.886-2.88 3.87-.82 8.498 1.694 10.319 5.606.927 1.991.983 4.084.154 5.74-.743 1.483-2.124 2.506-3.89 2.881a7.288 7.288 0 0 1-1.513.155zm-3.552-14.376c-.502 0-.999.05-1.484.152-1.715.364-3.056 1.356-3.775 2.794-.808 1.613-.751 3.655.155 5.602 1.562 3.355 5.221 5.666 8.652 5.666.501 0 .998-.05 1.483-.152 1.717-.364 3.059-1.357 3.778-2.795.807-1.612.75-3.653-.156-5.6-1.562-3.356-5.222-5.667-8.653-5.667z",fill:"#111"}),(0,l.createElement)("path",{d:"m32.604 68-5.447 7.172c-.669.142-1.46-.09-2.067-.605l5.446-7.171c.608.515 1.398.746 2.068.604z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M26.757 75.294c-.587 0-1.216-.238-1.72-.665a.08.08 0 0 1-.012-.111l5.446-7.171a.08.08 0 0 1 .089-.029.08.08 0 0 1 .029.016c.588.499 1.354.724 1.998.587a.081.081 0 0 1 .081.128l-5.446 7.172a.081.081 0 0 1-.048.03 2.013 2.013 0 0 1-.417.043zm-1.555-.74c.57.458 1.293.664 1.91.545l5.306-6.987c-.621.064-1.313-.157-1.868-.6l-5.348 7.042z",fill:"#111"})),(0,l.createElement)("g",{clipPath:"url(#ugd2kyi3he)"},(0,l.createElement)("path",{d:"m173.928 92.554 1.468 4.81c-.379-1.242-1.22-2.353-2.48-3.106-2.914-1.742-6.967-.911-9.056 1.855-1.185 1.57-1.482 3.426-.985 5.056l-1.468-4.81c-.497-1.63-.199-3.486.986-5.056 2.089-2.767 6.142-3.598 9.055-1.856 1.261.754 2.101 1.865 2.48 3.107z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M162.875 101.254a.087.087 0 0 1-.051-.017.083.083 0 0 1-.03-.043l-1.468-4.81c-.525-1.724-.161-3.595.999-5.132 2.111-2.795 6.223-3.637 9.167-1.877 1.226.733 2.12 1.853 2.517 3.155l1.468 4.81c.003.011.004.022.003.033a.072.072 0 0 1-.01.032.076.076 0 0 1-.021.025.085.085 0 0 1-.119-.012.103.103 0 0 1-.016-.028c-.384-1.262-1.252-2.348-2.442-3.06-2.872-1.717-6.884-.894-8.944 1.834-1.128 1.494-1.482 3.31-.972 4.981a.085.085 0 0 1 .002.039.082.082 0 0 1-.045.061.085.085 0 0 1-.038.009zm5.192-12.631c-2.128 0-4.275.967-5.606 2.73-1.128 1.495-1.482 3.31-.973 4.981l1.076 3.525c-.06-1.318.363-2.65 1.229-3.796 2.11-2.796 6.222-3.638 9.166-1.878a5.745 5.745 0 0 1 1.967 1.932l-1.079-3.538c-.385-1.261-1.252-2.348-2.442-3.06a6.491 6.491 0 0 0-3.338-.896z",fill:"#111"}),(0,l.createElement)("path",{d:"m181.436 93.799-1.467-4.81c.055.181.075.375.054.573l-1.146 10.614 1.467 4.81 1.146-10.613a1.43 1.43 0 0 0-.054-.574z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M180.345 105.071a.082.082 0 0 1-.05-.017.079.079 0 0 1-.031-.043l-1.467-4.81c-.004-.011-.005-.023-.004-.034l1.146-10.613c.02-.185.003-.366-.05-.54a.081.081 0 0 1 .008-.063.084.084 0 0 1 .112-.034c.02.01.035.026.042.047l1.467 4.81c.06.197.08.404.057.608l-1.146 10.614a.088.088 0 0 1-.027.054.09.09 0 0 1-.057.021zm-1.381-4.903 1.341 4.398 1.102-10.202a1.371 1.371 0 0 0-.051-.54l-1.261-4.135-1.131 10.479z",fill:"#111"}),(0,l.createElement)("path",{d:"m178.878 100.176 1.467 4.81c-.06.571-.45 1.088-1.021 1.353l-1.468-4.811c.571-.264.962-.782 1.022-1.352z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M179.324 106.424a.085.085 0 0 1-.051-.017.09.09 0 0 1-.031-.043l-1.467-4.811a.086.086 0 0 1 .004-.059.088.088 0 0 1 .041-.042c.544-.252.917-.744.973-1.285a.085.085 0 0 1 .076-.075.087.087 0 0 1 .09.06l1.467 4.81c.003.011.004.022.003.034-.063.599-.473 1.143-1.07 1.42a.085.085 0 0 1-.035.008zm-1.366-4.851 1.417 4.646c.491-.259.825-.72.884-1.224l-1.368-4.482c-.144.443-.48.83-.933 1.06z",fill:"#111"}),(0,l.createElement)("path",{d:"m165.502 106.423-9.466-5.659a1.49 1.49 0 0 1-.67-.84l1.468 4.81c.104.343.338.642.67.84l9.466 5.659-1.468-4.81z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M166.969 111.318a.083.083 0 0 1-.043-.013l-9.466-5.658a1.578 1.578 0 0 1-.708-.888l-1.467-4.81v-.001a.085.085 0 0 1 .006-.064.087.087 0 0 1 .05-.041.086.086 0 0 1 .065.006c.02.01.035.028.041.05.1.326.324.608.632.792l9.467 5.659a.084.084 0 0 1 .037.048l1.467 4.81a.086.086 0 0 1 .003.039.089.089 0 0 1-.015.036.093.093 0 0 1-.03.026.101.101 0 0 1-.039.009zm-11.319-10.753 1.265 4.144c.099.327.324.608.632.792l9.277 5.547-1.394-4.57-9.438-5.642a1.686 1.686 0 0 1-.342-.271z",fill:"#111"}),(0,l.createElement)("path",{d:"m177.856 101.528 1.468 4.811-10.609 4.956-1.467-4.81 10.608-4.957z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M168.715 111.38a.082.082 0 0 1-.05-.017.079.079 0 0 1-.031-.043l-1.467-4.81a.085.085 0 0 1 .003-.059.088.088 0 0 1 .042-.043l10.608-4.956a.085.085 0 0 1 .035-.008c.013 0 .025.003.036.008a.086.086 0 0 1 .029.021c.008.009.014.02.017.031l1.468 4.811a.086.086 0 0 1-.004.059.088.088 0 0 1-.041.042l-10.609 4.956a.086.086 0 0 1-.036.008zm-1.365-4.85 1.418 4.648 10.453-4.884-1.417-4.647-10.454 4.883z",fill:"#111"}),(0,l.createElement)("path",{d:"M178.878 100.176c-.06.571-.45 1.088-1.021 1.353l-10.609 4.956c-.572.267-1.236.243-1.746-.062l-9.466-5.659c-.508-.304-.785-.843-.723-1.414l1.144-10.614c.062-.57.452-1.087 1.022-1.353l10.61-4.955c.57-.267 1.236-.243 1.744.061l9.466 5.66c.509.304.785.842.724 1.414l-1.145 10.613zm-14.992-.711c2.914 1.741 6.969.912 9.057-1.855 2.089-2.767 1.419-6.42-1.494-8.163-2.914-1.741-6.967-.91-9.056 1.856-2.088 2.767-1.42 6.42 1.493 8.162z",fill:"#fff"}),(0,l.createElement)("path",{d:"M166.42 106.753c-.341 0-.675-.087-.961-.258l-9.466-5.659c-.537-.321-.83-.894-.764-1.495l1.144-10.614c.064-.598.474-1.142 1.07-1.42l10.61-4.956c.592-.278 1.291-.253 1.823.066l9.466 5.659c.536.32.83.893.766 1.496l-1.146 10.613c-.063.599-.473 1.143-1.07 1.42l-10.608 4.957c-.271.125-.565.19-.864.191zm2.496-24.425c-.268 0-.54.058-.791.176l-10.611 4.956c-.542.253-.914.745-.972 1.285l-1.145 10.614a1.372 1.372 0 0 0 .683 1.332l9.466 5.659c.484.289 1.122.312 1.666.058l10.608-4.956c.544-.252.917-.744.973-1.285l1.146-10.613a1.377 1.377 0 0 0-.684-1.334l-9.466-5.659a1.701 1.701 0 0 0-.873-.233zm-1.648 18.129a6.656 6.656 0 0 1-3.425-.92c-1.408-.842-2.35-2.152-2.65-3.689-.31-1.585.092-3.218 1.132-4.596 2.111-2.795 6.223-3.637 9.167-1.877 1.409.842 2.35 2.153 2.651 3.69.31 1.586-.092 3.218-1.132 4.596-1.363 1.806-3.563 2.796-5.743 2.796zm-3.338-1.065c2.873 1.717 6.886.895 8.946-1.833 1.011-1.339 1.402-2.923 1.101-4.461-.292-1.49-1.205-2.76-2.572-3.578-2.872-1.717-6.884-.894-8.944 1.834-1.011 1.34-1.403 2.924-1.102 4.462.292 1.49 1.204 2.76 2.571 3.576z",fill:"#111"}),(0,l.createElement)("path",{d:"m167.248 106.485 1.467 4.811c-.572.266-1.236.242-1.746-.063l-1.467-4.81c.51.305 1.174.328 1.746.062z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M167.887 111.563c-.341 0-.675-.087-.961-.258a.077.077 0 0 1-.038-.047l-1.467-4.811a.085.085 0 0 1 0-.05.08.08 0 0 1 .029-.041.078.078 0 0 1 .047-.018.08.08 0 0 1 .048.012c.484.289 1.122.311 1.667.058a.085.085 0 0 1 .099.02c.008.009.014.02.018.032l1.467 4.81a.08.08 0 0 1-.004.059.086.086 0 0 1-.041.043c-.271.125-.565.19-.864.191zm-.846-.386c.46.262 1.053.288 1.571.071l-1.418-4.648a1.996 1.996 0 0 1-1.553-.01l1.4 4.587z",fill:"#111"})),(0,l.createElement)("g",{clipPath:"url(#zbk29rjytf)"},(0,l.createElement)("path",{d:"m137.328 72.07-1.54-3.876c-.047-.12-.051-.314-.015-.55l-5.877-2.364c-.036.236-.032.43.016.55l1.539 3.877c.024.062.06.102.103.12l5.877 2.363c-.044-.018-.079-.057-.103-.12z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M137.431 72.27a.082.082 0 0 1-.03-.006l-5.877-2.364a.275.275 0 0 1-.148-.164l-1.539-3.876c-.066-.167-.047-.414-.02-.592a.068.068 0 0 1 .013-.033.086.086 0 0 1 .026-.024.08.08 0 0 1 .07-.005l5.877 2.364c.034.014.054.05.049.086-.034.223-.03.404.011.509l1.539 3.876c.011.028.03.063.059.075a.077.077 0 0 1 .049.09.075.075 0 0 1-.028.046.078.078 0 0 1-.051.018zm-7.469-6.877c-.019.177-.01.32.024.408l1.539 3.876c.011.028.03.063.059.075l5.637 2.267-1.507-3.795c-.059-.149-.051-.36-.029-.53l-5.723-2.3z",fill:"#111"}),(0,l.createElement)("path",{d:"M138.639 48.942c-.102-.04-.25.038-.419.23l-4.536 5.21a2.92 2.92 0 0 0-.362.55l5.877 2.364c.114-.218.239-.408.362-.55l4.536-5.21c.169-.192.317-.271.419-.23l-5.877-2.364z",fill:"#fff"}),(0,l.createElement)("path",{d:"M139.199 57.376a.084.084 0 0 1-.03-.006l-5.877-2.364a.083.083 0 0 1-.045-.046.092.092 0 0 1-.005-.033.088.088 0 0 1 .009-.032c.119-.226.248-.422.373-.565l4.536-5.21c.245-.28.412-.291.509-.252l5.876 2.363h.001a.082.082 0 0 1 .046.043c.004.01.006.02.006.031a.075.075 0 0 1-.023.058.098.098 0 0 1-.026.018.085.085 0 0 1-.063-.001c-.05-.02-.165.023-.329.209l-4.535 5.21a2.827 2.827 0 0 0-.352.534.084.084 0 0 1-.029.031.082.082 0 0 1-.042.012zm-5.764-2.485 5.727 2.304c.109-.2.226-.372.339-.501l4.536-5.21a1.09 1.09 0 0 1 .217-.197l-5.645-2.27c-.049-.02-.165.022-.328.208l-4.536 5.21a2.684 2.684 0 0 0-.31.456z",fill:"#111"}),(0,l.createElement)("path",{d:"M133.322 54.933a4.603 4.603 0 0 0-.277.646l-3.007 9.126a3.56 3.56 0 0 0-.142.575l5.876 2.364c.027-.173.074-.37.142-.576l3.008-9.125c.077-.226.172-.447.277-.647l-5.877-2.363z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M135.772 67.724a.084.084 0 0 1-.03-.006l-5.876-2.364a.08.08 0 0 1-.05-.086 3.66 3.66 0 0 1 .146-.588l3.007-9.126c.077-.226.171-.446.282-.659a.08.08 0 0 1 .101-.037l5.877 2.364a.08.08 0 0 1 .05.08.088.088 0 0 1-.009.031 4.461 4.461 0 0 0-.272.636l-3.007 9.124a3.567 3.567 0 0 0-.139.563.084.084 0 0 1-.027.048.081.081 0 0 1-.053.02zm-5.787-2.494 5.725 2.302c.029-.153.072-.317.128-.489l3.008-9.125c.068-.199.148-.392.242-.58l-5.728-2.304a4.704 4.704 0 0 0-.239.57l-3.007 9.126a3.783 3.783 0 0 0-.129.5z",fill:"#111"}),(0,l.createElement)("path",{d:"M139.561 56.746c-.243.279-.493.752-.654 1.24l-2.992 9.082c-.161.487-.209.916-.126 1.125l1.539 3.877c.082.208.284.164.527-.116l4.532-5.204c.244-.28.493-.754.653-1.241l2.993-9.081c.161-.49.209-.919.126-1.126l-1.539-3.876c-.083-.21-.283-.165-.527.115l-4.532 5.205z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M137.489 72.28a.248.248 0 0 1-.041-.004c-.061-.01-.144-.05-.195-.177l-1.539-3.876c-.09-.229-.043-.67.125-1.18l2.992-9.081c.163-.496.419-.982.669-1.269l4.532-5.204c.176-.203.334-.294.468-.27.061.01.144.05.195.177l1.538 3.877c.092.226.045.667-.124 1.18l-2.993 9.08c-.163.497-.42.983-.669 1.27l-4.531 5.204c-.158.181-.301.273-.427.273zm2.133-15.482c-.237.272-.482.737-.638 1.214l-2.993 9.08c-.152.462-.202.883-.128 1.072l1.539 3.876c.019.047.043.073.073.078.055.01.168-.042.319-.216l4.532-5.205c.236-.271.481-.736.638-1.213l2.992-9.081c.153-.464.204-.884.128-1.071l-1.539-3.877c-.018-.047-.043-.074-.072-.079-.055-.009-.168.043-.32.218l-4.531 5.204z",fill:"#111"}),(0,l.createElement)("path",{d:"M161.914 75.742c1.099-.539 2.66-3.2 3.488-5.943.828-2.744.608-4.53-.491-3.991-1.098.538-2.659 3.198-3.486 5.941-.828 2.744-.609 4.532.489 3.993z",fill:"#6817C5"}),(0,l.createElement)("path",{d:"M161.558 75.918a.536.536 0 0 1-.354-.128c-.532-.45-.476-2.007.144-4.064.832-2.756 2.415-5.444 3.529-5.99.375-.184.613-.088.747.025.531.45.476 2.005-.145 4.061-.831 2.758-2.415 5.446-3.529 5.992a.888.888 0 0 1-.392.104zm3.71-10.125a.743.743 0 0 0-.321.087c-1.079.53-2.624 3.172-3.445 5.892-.486 1.61-.734 3.44-.195 3.896.141.119.334.12.573.003 1.079-.53 2.625-3.174 3.446-5.895.485-1.609.734-3.437.194-3.893a.378.378 0 0 0-.252-.09z",fill:"#111"}),(0,l.createElement)("path",{d:"M142.983 56.71c-.144-.057-.323-.04-.534.063-.283.14-.597.42-.921.805-.42.5-.856 1.177-1.266 1.955a18.527 18.527 0 0 0-1.299 3.182 13.24 13.24 0 0 0-.398 1.669c-.218 1.32-.089 2.208.354 2.386l22.462 9.035c-.443-.178-.572-1.066-.354-2.387.082-.5.214-1.06.398-1.669a18.527 18.527 0 0 1 1.299-3.181c.41-.779.846-1.456 1.266-1.955.324-.386.638-.666.921-.805.211-.103.39-.121.535-.063l-22.463-9.034z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M161.381 75.885a.075.075 0 0 1-.03-.006l-22.463-9.034c-.483-.195-.63-1.097-.402-2.474.085-.516.219-1.08.4-1.68a18.428 18.428 0 0 1 1.306-3.195c.414-.789.855-1.47 1.274-1.969.342-.407.661-.685.948-.825.228-.112.429-.134.6-.066l22.462 9.035c.02.008.035.023.044.043a.081.081 0 0 1-.043.105.08.08 0 0 1-.061 0c-.126-.05-.284-.03-.469.06-.267.132-.568.396-.896.785-.412.49-.846 1.162-1.255 1.941a18.23 18.23 0 0 0-1.294 3.167c-.179.592-.312 1.15-.396 1.66-.208 1.257-.091 2.137.303 2.298h.002a.08.08 0 0 1 .021.137.083.083 0 0 1-.051.018zm-18.574-19.127a.743.743 0 0 0-.322.087c-.267.131-.569.395-.896.785-.412.49-.846 1.161-1.255 1.94a18.358 18.358 0 0 0-1.294 3.168c-.179.592-.312 1.15-.396 1.659-.208 1.259-.091 2.14.304 2.3l22.091 8.884c-.223-.406-.259-1.162-.091-2.176.085-.515.219-1.08.4-1.679a18.535 18.535 0 0 1 1.306-3.195c.414-.79.855-1.47 1.274-1.97.342-.407.661-.684.948-.825.057-.028.112-.05.166-.067l-22.088-8.884a.391.391 0 0 0-.147-.027z",fill:"#111"}),(0,l.createElement)("path",{d:"M141.629 67.861c-2.05-1.124 1.521-10.028 3.148-10.354a.38.38 0 0 1 .22.014l-1.408-.566c-1.76-.393-4.906 8.151-3.699 10.046a.79.79 0 0 0 .331.294l1.408.566z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M141.63 67.94a.075.075 0 0 1-.03-.005l-1.409-.567a.867.867 0 0 1-.369-.325c-.971-1.525.766-6.947 2.288-9.11.562-.798 1.065-1.153 1.496-1.057a.071.071 0 0 1 .013.004l1.408.566a.08.08 0 0 1 .042.043.079.079 0 0 1-.041.104.082.082 0 0 1-.061.001.297.297 0 0 0-.174-.009c-1.085.217-3.142 4.532-3.609 7.568-.153.998-.194 2.266.484 2.637a.078.078 0 0 1 .035.039.077.077 0 0 1 .004.051.077.077 0 0 1-.028.044.081.081 0 0 1-.049.016zm1.838-10.92c-.341 0-.762.345-1.227 1.005-.763 1.085-1.578 2.967-2.075 4.795-.532 1.96-.61 3.506-.208 4.137a.71.71 0 0 0 .293.263l1.004.403c-.33-.472-.41-1.32-.229-2.495.221-1.437.816-3.264 1.592-4.888.36-.753 1.253-2.471 2.024-2.776l-1.077-.434a.484.484 0 0 0-.097-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M144.445 68.993c-2.051-1.124 1.521-10.027 3.148-10.353a.379.379 0 0 1 .22.014l-1.408-.567c-1.76-.393-4.906 8.152-3.698 10.047a.787.787 0 0 0 .33.293l1.408.566z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M144.445 69.073a.078.078 0 0 1-.03-.006l-1.408-.566a.866.866 0 0 1-.368-.325c-.972-1.526.765-6.947 2.287-9.11.562-.798 1.066-1.154 1.497-1.058a.07.07 0 0 1 .012.004l1.408.566a.08.08 0 0 1 .043.104.08.08 0 0 1-.042.044.08.08 0 0 1-.061 0 .298.298 0 0 0-.174-.008c-1.085.217-3.143 4.53-3.61 7.567-.153.998-.194 2.266.484 2.638a.078.078 0 0 1 .035.038.076.076 0 0 1 .004.052.077.077 0 0 1-.028.043.082.082 0 0 1-.049.017zm1.839-10.92c-.34 0-.761.345-1.226 1.005-.764 1.085-1.578 2.967-2.075 4.795-.533 1.96-.611 3.506-.209 4.137a.717.717 0 0 0 .293.262l1.003.404c-.33-.472-.41-1.32-.229-2.495.221-1.438.816-3.265 1.593-4.888.36-.753 1.252-2.472 2.024-2.777l-1.076-.433a.48.48 0 0 0-.098-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M147.261 70.126c-2.051-1.125 1.522-10.028 3.149-10.354a.376.376 0 0 1 .219.014l-1.408-.567c-1.76-.393-4.905 8.152-3.698 10.047a.79.79 0 0 0 .331.293l1.407.567z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M147.261 70.206a.082.082 0 0 1-.03-.006l-1.407-.566a.868.868 0 0 1-.369-.325c-.972-1.525.765-6.947 2.287-9.11.562-.798 1.066-1.154 1.497-1.058a.08.08 0 0 1 .012.004l1.408.566h.001a.08.08 0 0 1 .043.043.08.08 0 0 1-.042.105.08.08 0 0 1-.061.001.3.3 0 0 0-.174-.01c-1.085.218-3.143 4.532-3.61 7.568-.153.998-.194 2.266.484 2.638a.082.082 0 0 1 .035.038.083.083 0 0 1 .004.052.074.074 0 0 1-.029.043.08.08 0 0 1-.049.017zm1.839-10.92c-.34 0-.761.344-1.226 1.005-.764 1.085-1.578 2.967-2.075 4.795-.533 1.96-.61 3.506-.208 4.137a.71.71 0 0 0 .293.263l1.002.403c-.329-.472-.409-1.32-.228-2.495.22-1.438.816-3.265 1.592-4.888.361-.753 1.253-2.472 2.025-2.777l-1.078-.433a.477.477 0 0 0-.097-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M150.078 71.259c-2.051-1.124 1.521-10.028 3.148-10.354a.376.376 0 0 1 .219.013l-1.408-.566c-1.76-.393-4.906 8.152-3.699 10.047a.79.79 0 0 0 .331.293l1.409.567z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M150.078 71.339a.082.082 0 0 1-.03-.006l-1.409-.567a.86.86 0 0 1-.368-.324c-.972-1.526.765-6.947 2.287-9.11.562-.798 1.066-1.154 1.497-1.058a.07.07 0 0 1 .012.004l1.408.566c.02.009.035.024.043.043.008.02.008.042.001.061a.081.081 0 0 1-.104.045.298.298 0 0 0-.174-.01c-1.085.218-3.142 4.532-3.608 7.568-.154.998-.194 2.266.483 2.638a.078.078 0 0 1 .035.038.076.076 0 0 1 .004.052.08.08 0 0 1-.077.06zm1.838-10.92c-.34 0-.761.344-1.227 1.005-.763 1.085-1.578 2.967-2.074 4.794-.533 1.96-.611 3.507-.209 4.138a.717.717 0 0 0 .293.262l1.004.404c-.33-.472-.409-1.32-.229-2.495.221-1.437.816-3.265 1.592-4.888.361-.753 1.253-2.472 2.025-2.777l-1.078-.433a.463.463 0 0 0-.097-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M152.894 72.39c-2.051-1.123 1.521-10.027 3.148-10.353a.38.38 0 0 1 .22.014l-1.408-.566c-1.76-.393-4.905 8.151-3.698 10.046a.793.793 0 0 0 .33.294l1.408.566z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M152.893 72.471a.082.082 0 0 1-.03-.006l-1.408-.566a.865.865 0 0 1-.368-.324c-.972-1.526.765-6.948 2.288-9.11.562-.799 1.066-1.154 1.496-1.058a.08.08 0 0 1 .013.004l1.407.566a.08.08 0 0 1 .043.104.08.08 0 0 1-.042.043.08.08 0 0 1-.061.001.298.298 0 0 0-.174-.01c-1.085.218-3.143 4.532-3.609 7.568-.154.999-.194 2.266.483 2.638a.078.078 0 0 1 .035.038.076.076 0 0 1 .004.052.08.08 0 0 1-.077.06zm1.839-10.92c-.34 0-.761.345-1.226 1.006-.764 1.084-1.578 2.966-2.075 4.794-.533 1.96-.61 3.507-.209 4.138a.723.723 0 0 0 .293.262l1.003.403c-.33-.472-.409-1.32-.229-2.495.221-1.437.817-3.264 1.593-4.888.36-.753 1.253-2.471 2.024-2.776l-1.076-.433a.48.48 0 0 0-.098-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M155.709 73.524c-2.05-1.124 1.522-10.028 3.149-10.354a.379.379 0 0 1 .22.014l-1.409-.566c-1.76-.393-4.905 8.151-3.698 10.047a.79.79 0 0 0 .331.293l1.407.566z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M155.709 73.603a.082.082 0 0 1-.03-.005l-1.407-.567a.86.86 0 0 1-.368-.324c-.972-1.526.764-6.947 2.287-9.11.561-.799 1.065-1.154 1.496-1.058a.08.08 0 0 1 .012.004l1.409.566c.01.004.019.01.026.017a.073.073 0 0 1 .018.026.08.08 0 0 1 0 .061.072.072 0 0 1-.017.026.074.074 0 0 1-.026.018.08.08 0 0 1-.061 0 .3.3 0 0 0-.174-.009c-1.085.217-3.143 4.531-3.61 7.567-.153.999-.194 2.267.484 2.638a.078.078 0 0 1 .035.039.083.083 0 0 1 .004.051.077.077 0 0 1-.028.044.083.083 0 0 1-.05.016zm1.839-10.92c-.34 0-.761.345-1.226 1.006-.764 1.085-1.578 2.967-2.075 4.794-.532 1.96-.61 3.507-.208 4.138a.718.718 0 0 0 .293.262l1.003.403c-.33-.472-.41-1.32-.229-2.495.221-1.437.816-3.264 1.593-4.887.36-.754 1.252-2.472 2.024-2.777l-1.077-.433a.48.48 0 0 0-.098-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M158.526 74.657c-2.051-1.124 1.521-10.028 3.148-10.354a.379.379 0 0 1 .22.014l-1.408-.567c-1.761-.392-4.906 8.152-3.698 10.047a.794.794 0 0 0 .33.294l1.408.566z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M158.526 74.736a.078.078 0 0 1-.03-.006l-1.408-.566a.864.864 0 0 1-.368-.324c-.972-1.526.765-6.948 2.287-9.11.562-.799 1.065-1.154 1.496-1.059a.071.071 0 0 1 .013.004l1.408.567a.08.08 0 0 1 .043.104.08.08 0 0 1-.103.045.298.298 0 0 0-.174-.01c-1.085.217-3.143 4.531-3.609 7.567-.154.999-.194 2.266.483 2.638a.085.085 0 0 1 .036.038.084.084 0 0 1 .004.052.085.085 0 0 1-.029.043.079.079 0 0 1-.049.017zm1.839-10.92c-.341 0-.762.345-1.227 1.005-.763 1.085-1.578 2.967-2.074 4.795-.533 1.96-.611 3.507-.209 4.138a.722.722 0 0 0 .293.262l1.003.403c-.33-.472-.409-1.32-.229-2.495.221-1.437.817-3.264 1.593-4.888.36-.753 1.253-2.471 2.024-2.776l-1.077-.434a.477.477 0 0 0-.097-.01z",fill:"#111"}),(0,l.createElement)("path",{d:"M161.342 75.789c-2.05-1.124 1.521-10.028 3.148-10.354a.38.38 0 0 1 .22.014l-1.408-.567c-1.761-.392-4.906 8.152-3.699 10.047a.793.793 0 0 0 .33.293l1.409.567z",fill:"#C3A2E8"}),(0,l.createElement)("path",{d:"M161.342 75.87a.082.082 0 0 1-.03-.007l-1.408-.566a.868.868 0 0 1-.369-.325c-.972-1.526.766-6.947 2.288-9.11.562-.798 1.065-1.154 1.496-1.058l.013.004 1.408.566a.08.08 0 0 1 .043.104.08.08 0 0 1-.042.044.08.08 0 0 1-.061.001.297.297 0 0 0-.174-.01c-1.085.218-3.142 4.532-3.609 7.568-.153.999-.194 2.266.484 2.638a.078.078 0 0 1 .035.038.077.077 0 0 1 .004.052.077.077 0 0 1-.028.043.082.082 0 0 1-.05.017zm1.839-10.92c-.341 0-.762.343-1.227 1.004-.763 1.085-1.578 2.967-2.075 4.795-.532 1.96-.61 3.506-.208 4.137a.711.711 0 0 0 .293.262l1.004.404c-.33-.472-.41-1.32-.229-2.495.221-1.437.816-3.264 1.592-4.888.36-.753 1.252-2.471 2.024-2.776l-1.077-.434a.47.47 0 0 0-.097-.01z",fill:"#111"})),(0,l.createElement)("defs",null,(0,l.createElement)("clipPath",{id:"cuabit6eza"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(33.852 -5.748)",d:"M0 0h137.358v162.24H0z"})),(0,l.createElement)("clipPath",{id:"yytr1qinwc"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(26.52 10.008)",d:"M0 0h110.526v144.144H0z"})),(0,l.createElement)("clipPath",{id:"v00067mlwd"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(12.792 39.57)",d:"M0 0h34.71v35.724H0z"})),(0,l.createElement)("clipPath",{id:"ugd2kyi3he"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(155.22 82.158)",d:"M0 0h26.364v29.406H0z"})),(0,l.createElement)("clipPath",{id:"zbk29rjytf"},(0,l.createElement)("path",{fill:"#fff",transform:"translate(129.792 48.852)",d:"M0 0h36.192v27.066H0z"})),(0,l.createElement)("linearGradient",{id:"az5zg9gayb",x1:"42.427",y1:"55.022",x2:"149.376",y2:"115.258",gradientUnits:"userSpaceOnUse"},(0,l.createElement)("stop",{stopColor:"#772ECB"}),(0,l.createElement)("stop",{offset:"1",stopColor:"#111"}))))}function rn(){const{module:e}=(0,C.useSelect)((e=>({module:e(M.MODULES_STORE_NAME).getEditedModule("malware-scheduling")})),[]),{editModule:t}=(0,C.useDispatch)(M.MODULES_STORE_NAME);return(0,l.createElement)(Qr,null,(0,l.createElement)(g.ToggleControl,{label:(0,s.__)("Scheduled Site Scan","better-wp-security"),checked:"active"===e.status.selected,onChange:e=>t("malware-scheduling",{status:{selected:e?"active":"inactive"}}),__nextHasNoMarginBottom:!0}),(0,l.createElement)(y.Ct,{text:(0,s.__)("Recommended Feature","better-wp-security"),variant:"infoAccent"}))}function nn({onAnswer:e}){const{installType:t}=fe();return(0,l.createElement)(Yr,{isWide:!0},(0,l.createElement)(Xr,null,(0,l.createElement)(g.Flex,{gap:4,justify:"flex-start"},(0,l.createElement)(st,{found:!1}),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:3,text:(0,s.__)("Congrats, we didn’t find any vulnerabilities!","better-wp-security"),size:y.yH.HUGE,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:"free"===t?(0,s.__)("Pro Tip: Solid Security can scan your site twice a day to ensure it stays free of any vulnerabilities, just enable the feature below.","better-wp-security"):(0,s.__)("Pro Tip: Solid Security will scan your site twice a day to ensure it stays free of any vulnerabilities.","better-wp-security"),variant:y.rK.MUTED,weight:y.fs.HEAVY}))),"free"===t&&(0,l.createElement)(rn,null)),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:4,text:(0,s.__)("Build on your success by setting up Solid Security now","better-wp-security"),size:y.yH.EXTRA_LARGE,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:(0,s.__)("Great job on keeping all your plugins & themes up to date. Let’s help you take the next step.","better-wp-security"),variant:y.rK.MUTED,weight:y.fs.HEAVY})),(0,l.createElement)(Kr,{position:"right"},(0,l.createElement)(tn,null)),(0,l.createElement)(g.Flex,{direction:"column",gap:2},(0,l.createElement)(y.X6,{level:5,text:(0,s.__)("What’s Next?","better-wp-security"),size:y.yH.SUBTITLE_SMALL}),(0,l.createElement)(y.xv,{as:"p",text:(0,s.__)("We guide you through our main security features to get you started on the right foot. We cover features related to security topics like Two-Factor Authentication, Password Policy, Firewall features, and more.","better-wp-security")})),(0,l.createElement)(y.zx,{text:(0,s.__)("Continue Setup","better-wp-security"),variant:"primary",onClick:()=>e(0)}))}const an=r.p+"87633c459aac013da3a6.png";function ln({issues:e,onAnswer:t}){const{show:r,remaining:n}=ve(e,2),{installType:a}=fe();return(0,l.createElement)(Yr,null,(0,l.createElement)(Xr,null,(0,l.createElement)(g.Flex,{gap:4,justify:"flex-start"},(0,l.createElement)(st,{found:!0}),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:3,text:(0,s.__)("We found some issues","better-wp-security"),size:y.yH.HUGE,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:(0,s.__)("Exploiting vulnerable software is one of the main tactics used by bad actors to hack your site.","better-wp-security"),variant:y.rK.MUTED,weight:y.fs.HEAVY}))),r.map((e=>(0,l.createElement)(pt,(0,D.Z)({key:e.software.slug+e.software.type.slug},e)))),n>0&&(0,l.createElement)(y.xv,{text:(0,s.sprintf)((0,s._n)("We also found %d additional vulnerability on your site.","We also found %d additional vulnerabilities on your site.",n,"better-wp-security"),n),variant:y.rK.MUTED}),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.xv,{text:"free"===a?(0,s.__)("Pro Tip: Solid Security can scan your site twice a day to ensure it stays free of any vulnerabilities, just enable the feature below.","better-wp-security"):(0,s.__)("Pro Tip: Solid Security will scan your site twice a day to ensure it stays free of any vulnerabilities.","better-wp-security"),variant:y.rK.MUTED,weight:y.fs.HEAVY}),"free"===a&&(0,l.createElement)(rn,null))),(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:4,text:(0,s.__)("Here’s what’s next","better-wp-security"),size:y.yH.EXTRA_LARGE,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:(0,s.__)("We will revisit and resolve your existing vulnerabilities once you’ve set up Solid Security.","better-wp-security"),variant:y.rK.MUTED,weight:y.fs.HEAVY})),(0,l.createElement)(Kr,{position:"right"},(0,l.createElement)("img",{src:an,alt:(0,s.__)("Preview of the Vulnerabilities page in Solid Security.","better-wp-security"),width:345,height:120})),(0,l.createElement)(g.Flex,{direction:"column",gap:2},(0,l.createElement)(y.X6,{level:5,text:(0,s.__)("Why not resolve the vulnerabilities now?","better-wp-security"),size:y.yH.SUBTITLE_SMALL}),(0,l.createElement)(y.xv,{as:"p",text:(0,s.__)("Manually resolving vulnerabilities requires some poking around. It’s best to have a configured security environment before jumping into manually resolving vulnerabilities.","better-wp-security")})),(0,l.createElement)(y.zx,{text:(0,s.__)("Continue Setup","better-wp-security"),variant:"primary",onClick:()=>t(e.length)}),(0,l.createElement)(Gr,null,(0,l.createElement)(y.xv,{text:(0,s.__)("Powered by","better-wp-security"),variant:y.rK.MUTED,size:y.yH.SMALL}),(0,l.createElement)(de.P_,{width:171,alt:(0,s.__)("Patchstack","better-wp-security")})))}function sn({question:e,onAnswer:t}){const{queried:r,vulnerabilities:n}=(0,C.useSelect)((e=>({queried:e(M.vulnerabilitiesStore).hasQueried("onboarding"),vulnerabilities:e(M.vulnerabilitiesStore).getQueryResults("onboarding")})),[]);return r?n.length?(0,l.createElement)(ln,{issues:n,onAnswer:t}):(0,l.createElement)(nn,{onAnswer:t}):(0,l.createElement)(en,{question:e,onAnswer:t})}function on(){const{registerQuestionComponent:e}=(0,C.useDispatch)(yr);(0,Z.eH)(on,(()=>{e("scan-site",sn),e("is-client",Ur),e("ip-detection",$r)}))}function cn(){on();const{goNext:e}=R(),{siteType:t}=(0,m.UO)(),{selectedSiteTypeId:r}=(0,C.useSelect)((e=>({selectedSiteTypeId:e(yr).getSelectedSiteTypeId()})),[]),{selectSiteType:n,applyAnswerResponse:a}=(0,C.useDispatch)(yr),i=function(){const{question:e,component:t,isAnswering:r}=(0,C.useSelect)((e=>{const t=e(yr).getNextQuestion();return{question:t,component:e(yr).getQuestionComponent(t?.id),isAnswering:e(yr).isAnswering()}}),[]),{answerQuestion:n,repeatQuestion:a}=(0,C.useDispatch)(yr);if(!e)return e;const i=t||Br;return(0,l.createElement)(i,{question:e,onAnswer:n,goBack:a,isAnswering:r})}();return(0,l.useLayoutEffect)((()=>{r!==t&&n(t)}),[n,r,t]),(0,l.useEffect)((()=>{null===i&&(a(),e())}),[a,e,i]),i}function dn(){const{path:e}=(0,m.$B)();return(0,l.createElement)(m.rs,null,(0,l.createElement)(m.AW,{path:`${e}/:siteType`},(0,l.createElement)(cn,null)),(0,l.createElement)(m.AW,{path:`${e}`},(0,l.createElement)(Ir,null)))}const un=(0,u.Z)(y.mr,{target:"e1lqsen66"})({name:"8dk3vg",styles:"margin-bottom:1rem"}),mn=(0,u.Z)(y.Tg,{target:"e1lqsen65"})("border:1px solid ",(({theme:e})=>e.colors.border.normal),";"),pn=(0,u.Z)("form",{target:"e1lqsen64"})({name:"1smerdt",styles:"padding:1rem 0"}),fn=(0,u.Z)("div",{target:"e1lqsen63"})({name:"e59tbw",styles:"display:flex;align-items:center;justify-content:end;gap:1.5rem;margin-top:2rem"}),hn=(0,u.Z)("form",{target:"e1lqsen62"})({name:"jg4g8",styles:"padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1.25rem"}),gn=(0,u.Z)(B._g,{target:"e1lqsen61"})({name:"17zhf76",styles:"padding:0 1.5rem"}),En=(0,u.Z)("div",{target:"e1lqsen60"})({name:"7tt4sl",styles:"flex-grow:1;max-width:830px;width:100%"});function yn(){const{root:e}=(0,m.UO)(),{editedModules:t}=(0,C.useSelect)((e=>({editedModules:e(M.MODULES_STORE_NAME).getEditedModules()})),[]),r=t.filter((t=>{if("onboard"===e&&!t.onboard)return!1;if("import"===e&&!t.settings?.import?.length>0)return!1;const r=t.settings?.show_ui;return r||"always-active"!==t.status.default})),n=(0,v.sortBy)(r,"order");return{types:[{slug:"login",label:(0,s.__)("Login Security","better-wp-security")},{slug:"lockout",label:(0,s.__)("Firewall","better-wp-security")},{slug:"site-check",label:(0,s.__)("Site Check","better-wp-security")},{slug:"utility",label:(0,s.__)("Utilities","better-wp-security")},{slug:"advanced",label:(0,s.__)("Advanced","better-wp-security")}].filter((e=>r.find((t=>t.type===e.slug)))),modules:n}}const{Slot:vn,Fill:bn}=(0,g.createSlotFill)("ConfigurePageHeader");function xn({module:e}){const{hash:t}=(0,m.TH)(),r=(0,L.useInstanceId)(xn,"itsec-configure-single-modules-page"),{config:n}=(0,C.useSelect)((t=>({config:t(M.MODULES_STORE_NAME).getEditedModule(e)})),[e]),{saveSettings:a}=(0,C.useDispatch)(M.MODULES_STORE_NAME),{filterFields:i}=Ee(n),{schema:s,uiSchema:o,formData:c,setFormData:d}=ge(n,i);if(!n)return null;const u=t.startsWith(`#${e.id},`)?t.split(",")[1]:t.replace("#","");return(0,l.createElement)(Cn,{title:n.title,description:n.description,headerHasBorder:!0},(0,l.createElement)(mn,null,(0,l.createElement)(vn,null),(0,l.createElement)(pn,{onSubmit:e=>{e.preventDefault(),a(n.id,!0)},id:r},(0,l.createElement)(Ye,{module:n,schema:s,uiSchema:o,formData:c,setFormData:d,highlightedSetting:u}))),(0,l.createElement)(Ln,{form:r,modules:[e]}))}function wn({type:e,title:t,description:r}){const{root:n}=(0,m.UO)(),{hash:a}=(0,m.TH)(),i=(0,L.useInstanceId)(wn,"itsec-configure-modules-of-type-page"),{modules:s}=yn(),o=(0,l.useMemo)((()=>s.filter((t=>t.type===e))),[s,e]),c=(0,l.useMemo)((()=>o.map((e=>e.id))),[o]),{saveSettings:d}=(0,C.useDispatch)(M.MODULES_STORE_NAME);return o?(0,l.createElement)(Cn,{title:t,description:r,headerHasBorder:!0},(0,l.createElement)(mn,null,(0,l.createElement)(vn,null),(0,l.createElement)(hn,{id:i,onSubmit:e=>{e.preventDefault(),d(c,!0)}},o.map((e=>{const t=a===`#${e.id}`||a.startsWith(`#${e.id},`),r=a.startsWith(`#${e.id},`)?a.split(",")[1]:a.replace("#","");return(0,l.createElement)(lt,{key:e.id,module:e,isHighlighted:t,highlightedSetting:r,persistStatus:"settings"===n})})))),(0,l.createElement)(Ln,{form:i,modules:c})):null}function _n({exclude:e}){const{types:t,modules:r}=yn(),n=(0,l.useMemo)((()=>t.filter((t=>!e.includes(t.slug)))),[t,e]),{path:a,url:i}=(0,m.$B)();return(0,l.createElement)(m.rs,null,(0,l.createElement)(m.AW,{path:`${a}/:type`},(0,l.createElement)(Sn,{allModules:r},(0,l.createElement)(vn,null),(0,l.createElement)(gn,{size:y.yH.NORMAL},n.map((e=>(0,l.createElement)(B.uC,{key:e.slug,title:e.label,to:`${i}/${e.slug}`})))))),(0,l.createElement)(m.AW,{path:a,exact:!0},n.length>0&&(0,l.createElement)(m.l_,{to:`${i}/${n[0].slug}`})))}function Sn({allModules:e,children:t}){const{root:r}=(0,m.UO)(),{hash:n}=(0,m.TH)(),a=(0,L.useInstanceId)(_n,"itsec-configure-tabbed-modules-route"),{params:i}=(0,m.$B)(),o=(0,l.useMemo)((()=>e.filter((e=>e.type===i.type))),[e,i]),c=(0,l.useMemo)((()=>o.map((e=>e.id))),[o]),{saveSettings:d}=(0,C.useDispatch)(M.MODULES_STORE_NAME);return(0,l.createElement)(Cn,{title:(0,s.__)("Features","better-wp-security"),description:(0,s.__)("Choose and configure security features for your site.","better-wp-security")},(0,l.createElement)(mn,null,t,(0,l.createElement)(hn,{id:a,onSubmit:e=>{e.preventDefault(),d(c,!0)}},o.map((e=>{const t=n===`#${e.id}`||n.startsWith(`#${e.id},`),a=n.startsWith(`#${e.id},`)?n.split(",")[1]:n.replace("#","");return(0,l.createElement)(lt,{key:e.id,module:e,isHighlighted:t,highlightedSetting:a,persistStatus:"settings"===r})})))),(0,l.createElement)(Ln,{form:a,modules:c}))}function Ln({modules:e,form:t}){const{isSaving:r,isDirty:n}=(0,C.useSelect)((t=>({isDirty:t(M.MODULES_STORE_NAME).getDirtySettings().some((t=>e.includes(t))),isSaving:t(M.MODULES_STORE_NAME).isSavingSettings(e)})),[e]),{resetSettingEdits:a}=(0,C.useDispatch)(M.MODULES_STORE_NAME),{root:i}=(0,m.UO)(),{goNext:o}=R();return(0,l.createElement)(fn,null,(0,l.createElement)(y.zx,{text:(0,s.__)("Undo Changes","better-wp-security"),variant:"secondary",onClick:()=>a(e),disabled:r||!n}),"settings"===i&&(0,l.createElement)(y.zx,{type:"submit",form:t,text:(0,s.__)("Save","better-wp-security"),variant:"primary",isBusy:r,disabled:r||!n}),"settings"!==i&&(0,l.createElement)(y.zx,{text:(0,s.__)("Next","better-wp-security"),variant:"primary",onClick:o}))}function Cn({title:e,description:t,headerHasBorder:r,children:n}){const{root:a}=(0,m.UO)();return"settings"===a?(0,l.createElement)(React.Fragment,null,(0,l.createElement)(bn,null,(0,l.createElement)(un,{title:e,description:t,hasBorder:r})),n):(0,l.createElement)(En,null,(0,l.createElement)(Oe,{title:e,description:t,showIndicator:!0,showNext:!0}),n)}const Mn=(0,u.Z)(g.Spinner,{target:"eeeuek50"})({name:"1goa6k7",styles:"width:80px!important;height:80px!important"});function On(){const{root:e}=(0,m.UO)(),{goNext:t}=R(),{completeOnboarding:r}=(0,C.useDispatch)(yr);return Nn(),(0,Z.eH)(On,(()=>{r({root:e}).then(t)})),(0,l.createElement)(g.Flex,{expanded:!1,direction:"column",gap:4,align:"center"},(0,l.createElement)(Mn,null),(0,l.createElement)(y.xv,{size:y.yH.LARGE,variant:y.rK.DARK,weight:y.fs.HEAVY,align:"center",text:(0,s.__)("Hang on while your website is secured!","better-wp-security")}))}function Nn(){const{registerCompletionStep:e}=(0,C.useDispatch)(yr),{saveModules:t,saveSettings:r}=(0,C.useDispatch)(M.MODULES_STORE_NAME);(0,Z.eH)(Nn,(()=>{e({id:"savingModules",label:(0,s.__)("Enable Features","better-wp-security"),priority:5,callback:()=>t()}),e({id:"savingSettings",label:(0,s.__)("Configure Settings","better-wp-security"),priority:10,callback:()=>r()})}))}const In=(0,u.Z)("div",{target:"eju2x077"})("max-width:900px;width:100%;flex-grow:1;margin-top:",(({isSmall:e})=>e&&"100px"),";"),Tn=(0,u.Z)("ul",{target:"eju2x076"})({name:"a5ny1u",styles:"list-style:disc inside;display:flex;flex-direction:column;gap:0.75rem;margin:0"}),zn=(0,u.Z)("li",{target:"eju2x075"})({name:"11utca0",styles:"margin:0 0.5rem"}),An=(0,u.Z)("div",{target:"eju2x074"})("margin-top:3.5rem;padding:1.5rem;border:1px solid ",(({theme:e})=>e.colors.border.normal),';border-radius:2px;box-shadow:0 4px 8px 0 #00000033;background:no-repeat url("',de.sC,'");background-position:right -40px top -35px;background-size:180px;@media screen and (min-width: ',(({theme:e})=>e.breaks.small),"px ){background-position:right -50% center;background-size:65%;}"),kn=(0,u.Z)(g.Flex,{target:"eju2x073"})({name:"15xgxri",styles:"max-width:700px"}),Rn=(0,u.Z)(y.aV,{target:"eju2x072"})({name:"1f342kp",styles:"display:grid;grid-template-columns:repeat(auto-fit, minmax(225px, 1fr));gap:1.25rem"}),Hn=(0,u.Z)(y.zx,{target:"eju2x071"})({name:"135vrw8",styles:"align-self:start"}),Dn=(0,u.Z)(y.Tg,{target:"eju2x070"})("padding:1.5rem 2rem;border:1px solid ",(({theme:e})=>e.colors.border.normal),";display:flex;flex-direction:column;gap:1rem;width:100%;"),Pn=[{text:(0,s.__)("User security strengthened","better-wp-security"),activeModules:["two-factor","passwordless-login","fingerprinting"]},{text:(0,s.__)("Brute force attacks blocked","better-wp-security"),activeModules:["brute-force","network-brute-force","recaptcha"]},{text:(0,s.__)("Scanning for vulnerable themes, plugins, and known malware","better-wp-security"),activeModules:["malware-scheduling"]},{text:(0,s.__)("Monitoring for suspicious file changes","better-wp-security"),activeModules:["file-change"]},{text:(0,s.__)("Banning bad bots and user agents","better-wp-security"),activeModules:["ban-users"]}];function Fn(){const{allActiveModules:e}=(0,C.useSelect)((e=>({allActiveModules:e(M.MODULES_STORE_NAME).getActiveModules()})),[]),t=Pn.filter((({activeModules:t})=>t.find((t=>e.includes(t)))));return t.length?(0,l.createElement)(g.Flex,{direction:"column",gap:3,justify:"start",expanded:!1},(0,l.createElement)(y.X6,{level:3,size:y.yH.LARGE,variant:y.rK.DARK,weight:y.fs.HEAVY,text:(0,s.__)("Here are some notable improvements…","better-wp-security")}),(0,l.createElement)(Tn,null,t.map((({text:e},t)=>(0,l.createElement)(zn,{key:t},(0,l.createElement)(y.xv,{text:e})))))):null}function Zn({installType:e}){const t=(0,me.bv)("dashboard"),r=(0,me.bv)("settings"),n=(0,me.bv)("vulnerabilities"),{vulnerabilities:a}=(0,C.useSelect)((e=>({vulnerabilities:e(M.vulnerabilitiesStore).getQueryResults("onboarding")})),[]);return(0,l.createElement)(g.Flex,{direction:"column",gap:8,expanded:!1,align:"start"},(0,l.createElement)(B.TR,{size:44}),(0,l.createElement)(g.Flex,{as:"header",direction:"column",gap:2,expanded:!1},(0,l.createElement)(y.X6,{level:1,text:"free"===e?(0,s.__)("Great Work! Thanks to Solid Security Basic, your site is secure and ready for your users.","better-wp-security"):(0,s.__)("Great Work! Your site is ready and is more secure than ever!","better-wp-security"),size:y.yH.GIGANTIC,weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:"free"===e?(0,s.__)("Use your security dashboard for insights into your users’ activity and potential threats to your site. From there you’ll be guided to actions you can take.","better-wp-security"):(0,s.__)("If you want to dig into your site’s security, check out your security dashboard, and make changes via settings.","better-wp-security"),size:y.yH.EXTRA_LARGE,variant:y.rK.DARK})),(0,l.createElement)(Fn,{installType:e}),a.length>0&&(0,l.createElement)(Vn,{vulnerabilities:a,link:n,installType:e}),0===a.length&&(0,l.createElement)(g.Flex,{gap:4,justify:"start"},(0,l.createElement)(y.zx,{variant:"free"===e?"secondary":"primary",href:t,text:(0,s.__)("Dashboard","better-wp-security")}),(0,l.createElement)(y.zx,{variant:"free"===e?"secondary":"primary",href:r,text:(0,s.__)("Settings","better-wp-security")})))}function Vn({vulnerabilities:e,link:t,installType:r}){const{show:n}=ve(e,1);return(0,l.createElement)(Dn,null,(0,l.createElement)(g.Flex,{gap:4,align:"flex-start"},(0,l.createElement)(g.Flex,{direction:"column",gap:5},(0,l.createElement)(g.Flex,{direction:"column",gap:3},(0,l.createElement)(y.X6,{level:3,size:y.yH.HUGE,text:(0,s.__)("Resolve the vulnerabilities we found","better-wp-security"),weight:y.fs.NORMAL}),(0,l.createElement)(y.xv,{text:(0,s.__)("Now that your initial setup for Solid Security is complete, it’s time to take care of those vulnerabilities we detected earlier.","better-wp-security"),variant:y.rK.MUTED}))),(0,l.createElement)(st,{found:!0})),(0,l.createElement)(pt,n[0]),"free"===r&&(0,l.createElement)(g.Flex,{direction:"column",gap:2},(0,l.createElement)(y.X6,{level:5,text:(0,s.__)("Stay safe from critical vulnerabilities, even while you sleep","better-wp-security"),size:y.yH.SUBTITLE_SMALL}),(0,l.createElement)(y.xv,{as:"p",text:(0,l.createInterpolateElement)((0,s.__)("Patchstack’s Virtual Patching, available in <a>Solid Security Pro</a>, protects you against the most important vulnerabilities, 24/7.","better-wp-security"),{a:(0,l.createElement)("a",{href:"https://go.solidwp.com/go-pro-onboarding"})})})),(0,l.createElement)(g.FlexItem,null,(0,l.createElement)(y.zx,{href:t,text:(0,s.__)("Manage Vulnerabilities","better-wp-security"),variant:"primary"})))}var Bn=r(14776);const Un=(0,l.createElement)(Bn.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(Bn.Path,{d:"M9 13.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 16a4.002 4.002 0 003.8-2.75H15V16h2.5v-2.75H19v-2.5h-6.2A4.002 4.002 0 005 12a4 4 0 004 4z",fillRule:"evenodd",clipRule:"evenodd"})),jn=[(0,l.createInterpolateElement)((0,s.__)("A <b>Firewall</b> that automatically blocks brute force logins, password-stuffing, DDoS attacks, bad bots, and any attempts to exploit vulnerable software on your site.","better-wp-security"),{b:(0,l.createElement)(y.xv,{weight:700})}),(0,l.createInterpolateElement)((0,s.__)("<b>Virtual Patches</b> from <b>Patchstack</b> that protect insecure themes and plugins even before vulnerabilities are publicly disclosed and an official patch is released. You may not be able to apply security updates immediately, but with Solid Security Pro you’re still protected until you’re ready to update.","better-wp-security"),{b:(0,l.createElement)(y.xv,{weight:700})}),(0,l.createInterpolateElement)((0,s.__)("<b>Version Management</b> gives you precise control over when to apply or delay an automatic update to any plugin, theme, extension, or WordPress core.","better-wp-security"),{b:(0,l.createElement)(y.xv,{weight:700})}),(0,l.createInterpolateElement)((0,s.__)("<b>Passkeys</b> and other <b>Passwordless</b> Login options mitigate the risks associated with users who often share, reuse, and choose weak passwords. Increase your users’ security and simplify their login experience.","better-wp-security"),{b:(0,l.createElement)(y.xv,{weight:700})}),(0,l.createInterpolateElement)((0,s.__)("Multiple <b>CAPTCHA</b> options, including <b>Cloudflare Turnstile</b>, eliminate bot traffic from your login screens and other forms. You won’t be asked to solve a puzzle or identify objects to prove you’re a human — unless you’re a bot.","better-wp-security"),{b:(0,l.createElement)(y.xv,{weight:700})})],qn=[(0,s.__)("Passwordless Login and Passkeys","better-wp-security"),(0,s.__)("Two-Factor","better-wp-security"),(0,s.__)("Captcha","better-wp-security"),(0,s.__)("Version Management","better-wp-security"),(0,s.__)("Trusted Devices","better-wp-security"),(0,s.__)("Import & Export","better-wp-security"),(0,s.__)("WP-CLI","better-wp-security")];function $n({installType:e}){return(0,l.createElement)(An,null,(0,l.createElement)(kn,{direction:"column",justify:"start",expanded:!1,gap:4},(0,l.createElement)(y.X6,{level:2,weight:y.fs.NORMAL,size:y.yH.EXTRA_LARGE,variant:y.rK.ACCENT,text:"free"===e?(0,s.__)("Reduce your site’s security risk to nearly zero with Solid Security Pro.","better-wp-security"):(0,s.__)("Greatly enhance your website’s security with Solid Security Pro.","better-wp-security")}),(0,l.createElement)(y.xv,{variant:y.rK.MUTED,text:"free"===e?(0,s.__)("Extended features for professionals include:","better-wp-security"):(0,s.__)("You are a WordPress security superstar! Be sure to take advantage of the features that comes with your paid plan. Paid features include…","better-wp-security")}),(0,l.createElement)(Rn,{textVariant:y.rK.DARK,gap:0},"free"===e?(0,l.createElement)(React.Fragment,null,jn.map(((e,t)=>(0,l.createElement)(y.HC,{icon:Un,text:e,key:t})))):(0,l.createElement)(React.Fragment,null,qn.map(((e,t)=>(0,l.createElement)(y.HC,{icon:Un,text:e,key:t}))))),"free"===e?(0,l.createElement)(Hn,{href:"https://go.solidwp.com/go-pro-onboarding",variant:"primary",text:(0,s.__)("Upgrade to Solid Security Pro","better-wp-security")}):(0,l.createElement)(y.xv,{variant:y.rK.MUTED,text:(0,s.__)("and more!","better-wp-security")})))}function Wn(){const{installType:e}=(0,C.useSelect)((e=>({installType:e(M.coreStore).getInstallType()})),[]),t=(0,L.useViewportMatch)("small");return(0,l.createElement)(In,{isSmall:t},(0,l.createElement)(Zn,{installType:e}),(0,l.createElement)($n,{installType:e}))}function Kn(){const e=z(),{url:t,path:r}=(0,m.$B)(),{pathname:n}=(0,m.TH)(),{recordVisitedLocation:a}=(0,C.useDispatch)(yr);return(0,l.useEffect)((()=>{a(n)}),[a,n]),(0,l.createElement)(m.rs,null,e.map((({id:e,render:n})=>(0,l.createElement)(m.AW,{path:`${r}/:page(${e})`,key:e},(0,l.createElement)(De,{url:t,render:n})))),(0,l.createElement)(m.AW,{path:t},e.length>0&&(0,l.createElement)(m.l_,{to:`${t}/${e[0].id}`}),(0,l.createElement)(Pe,null)))}var Gn=r(50460);function Yn(){const e=z(),{url:t,path:r}=(0,m.$B)();return(0,l.createElement)(React.Fragment,null,(0,l.createElement)(B.ge,{area:"main"},(0,l.createElement)(Gn.o,null)),(0,l.createElement)(m.rs,null,e.map((({id:e,render:t})=>(0,l.createElement)(m.AW,{path:`${r}/:page(${e})`,key:e},(0,l.createElement)($,null,(0,l.createElement)(_e,null),(0,l.createElement)(t,null))))),(0,l.createElement)(m.AW,{path:t},e.length>0&&(0,l.createElement)(m.l_,{to:`${t}/${e[0].id}`}),(0,l.createElement)($,null))))}function Xn(){const e=z(),{url:t,path:r}=(0,m.$B)();return e.length>0&&!e.find((e=>"select-export"===e.id))?(0,l.createElement)(m.l_,{to:"/"}):(0,l.createElement)(m.rs,null,e.map((({id:e,render:n})=>(0,l.createElement)(m.AW,{path:`${r}/:page(${e})`,key:e},(0,l.createElement)(De,{url:t,render:n})))),(0,l.createElement)(m.AW,{path:t},e.length>0&&(0,l.createElement)(m.l_,{to:`${t}/${e[0].id}`}),(0,l.createElement)(Pe,null)))}function Qn(){return(0,l.createElement)(React.Fragment,null,(0,l.createElement)(I,{id:"site-type",title:(0,s.__)("Website","better-wp-security"),priority:0,roots:["onboard"]},(()=>(0,l.createElement)(dn,null))),(0,l.createElement)(I,{id:"global",title:(0,s.__)("Global Settings","better-wp-security"),priority:4,roots:["onboard","settings","import"]},(()=>(0,l.createElement)(xn,{module:"global"}))),(0,l.createElement)(I,{id:"configure",title:(0,s.__)("Features","better-wp-security"),priority:6,roots:["onboard","settings","import"]},(()=>(0,l.createElement)(_n,{exclude:["advanced"]}))),(0,l.createElement)(I,{id:"advanced",title:(0,s.__)("Advanced","better-wp-security"),priority:25,roots:["settings"]},(()=>(0,l.createElement)(wn,{type:"advanced",title:(0,s.__)("Advanced","better-wp-security"),description:(0,s.__)("Configure advanced Solid Security settings.","better-wp-security")}))),(0,l.createElement)(I,{id:"secure-site",title:(0,s.__)("Secure Site","better-wp-security"),priority:95,roots:["onboard","import"],hideFromNav:!0},(()=>(0,l.createElement)(On,null))),(0,l.createElement)(I,{id:"summary",title:(0,s.__)("Summary","better-wp-security"),priority:100,roots:["onboard","import"],hideFromNav:!0},(()=>(0,l.createElement)(Wn,null))))}function Jn(){const{registerProvider:e}=(0,C.useDispatch)(Gn.G);(0,Z.eH)(Jn,(()=>{e("modules",(0,s.__)("Features","better-wp-security"),5,(({registry:e,evaluate:t,results:r})=>e.select(M.MODULES_STORE_NAME).getEditedModules().reduce(((e,n)=>{const a=ea(n);return a&&(t.stringMatch(n.title)||t.stringMatch(n.description)||t.keywordMatch(n.keywords))?(r.items.push({title:n.title,description:n.description,route:a}),e+1):e}),0))),e("settings",(0,s.__)("Settings","better-wp-security"),20,(({registry:e,evaluate:t,results:r})=>e.select(M.MODULES_STORE_NAME).getEditedModules().reduce(((e,n)=>{if("active"!==n.status.selected||!n.settings?.interactive?.length)return e;const a=ea(n);return a?e+n.settings.interactive.reduce(((e,i)=>{var l,s,o;const c=n.settings.schema.properties[i],d=n.settings.schema.uiSchema?.[i];if(!c)return e;const u=d?.ui?.title||d?.["ui:title"]||c.title,m=d?.ui?.description||d?.["ui:description"]||c.description;if(!t.stringMatch(u)&&!t.stringMatch(m)&&!t.keywordMatch(c.keywords))return e;null!==(o=(l=r.groups)[s=n.id])&&void 0!==o||(l[s]={title:n.title,items:[]});const p=a.includes("#")?`${a},${i}`:`${a}#${i}`;return r.groups[n.id].items.push({title:u,description:m,route:p}),e++}),0):e}),0)))}))}function ea(e){if("global"===e.id)return"/settings/global";if("custom"!==e.type&&"tool"!==e.type&&"recommended"!==e.type){if("advanced"===e.type)return`/settings/advanced#${e.id}`;if("always-active"!==e.status.default||e.settings?.show_ui)return`/settings/configure/${e.type}#${e.id}`}}const ta=(0,u.Z)(y.Tg,{target:"exkjcfx0"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"});function ra({history:e,serverType:t,installType:r,onboardComplete:n}){Jn();const a=n?"/settings":"/onboard";return(0,l.createElement)(h.a,{theme:y.U1},(0,l.createElement)(ta,{className:"itsec-settings",variant:y.h1.UNDER_PAGE},(0,l.createElement)(pe.Provider,{value:{serverType:t,installType:r,onboardComplete:n}},(0,l.createElement)(m.F0,{history:e},(0,l.createElement)(p.Fz,{ReactRouterRoute:m.AW},(0,l.createElement)(g.SlotFillProvider,null,(0,l.createElement)(f.ErrorBoundary,{FallbackComponent:na},(0,l.createElement)(N,null,(0,l.createElement)(Qn,null),(0,l.createElement)(E.PluginArea,null),(0,l.createElement)(g.Popover.Slot,null),(0,l.createElement)(m.rs,null,(0,l.createElement)(m.AW,{path:"/:root(settings)",component:Yn}),(0,l.createElement)(m.AW,{path:"/:root(onboard)",component:Kn}),(0,l.createElement)(m.AW,{path:"/:root(import)",component:Xn}),(0,l.createElement)(m.AW,{path:"/"},(0,l.createElement)(m.l_,{to:a}),(0,l.createElement)(V,null),(0,l.createElement)($,null)))))))))))}function na(e){return(0,l.createElement)(g.Flex,null,(0,l.createElement)(g.FlexBlock,null,(0,l.createElement)(ue,e)))}r.p=window.itsecWebpackPublicPath,(0,s.setLocaleData)({"":{}},"better-wp-security");const aa=(0,d.f)(document.location,{page:"itsec"});c()((()=>{const e=document.getElementById("itsec-settings-root");if(!e)return;const t=e.dataset.serverType,r=e.dataset.installType,n="1"===e.dataset.onboard;return(0,l.render)((0,l.createElement)(ra,{history:aa,serverType:t,installType:r,onboardComplete:n}),e)}))},79612:(e,t,r)=>{"use strict";r.d(t,{f:()=>l});var n=r(90071),a=r(17563),i=r(92819);function l(e,t){const r=(0,n.lX)(),l=r=>{const i="string"==typeof r?(0,n.cP)(r):r,l=(0,a.parse)(i.search?.substring(1))||{};return{...i,pathname:e.pathname,search:"?"+(0,a.stringify)({...l,path:i.pathname,...t})}};return{get length(){return r.length},get action(){return r.action},get location(){const e=(0,a.parse)(r.location.search.substring(1)),n=e.path||"/";return{...r.location,pathname:n,search:"?"+(0,a.stringify)((0,i.omit)(e,["path",Object.keys(t)]))}},createHref:e=>r.createHref(l(e)),push:(e,t)=>{r.push(l(e),t)},replace:(e,t)=>{r.replace(l(e),t)},go:(...e)=>r.go.apply(r,e),goBack:(...e)=>r.goBack.apply(r,e),goForward:(...e)=>r.goForward.apply(r,e),block:(...e)=>r.block.apply(r,e),listen(e){return r.listen((()=>{e(this.location,this.action)}))}}}},65813:(e,t,r)=>{"use strict";r.d(t,{r5:()=>h,OR:()=>g,Zk:()=>y,_:()=>v,qq:()=>b,eH:()=>f,gU:()=>o,nP:()=>c,Sj:()=>m,lo:()=>u,vl:()=>l});var n=r(87462),a=r(6293),i=r(9576);function l(e){return(0,i.createHigherOrderComponent)((t=>class extends a.Component{render(){return(0,a.createElement)(t,(0,n.Z)({},this.props,e))}}),"withProps")}var s=r(92819);function o(e,t,r={}){return(0,i.createHigherOrderComponent)((n=>class extends a.Component{constructor(){super(...arguments),this.debouncedPropInvoke=(0,s.debounce)(((...t)=>this.props[e](...t)),"function"==typeof t?t(this.props):t,r),this.handler=(e,...t)=>(e&&"function"==typeof e.persist&&e.persist(),this.debouncedPropInvoke(e,...t))}componentWillUnmount(){this.debouncedPropInvoke.cancel()}render(){const t={...this.props,[e]:this.handler};return(0,a.createElement)(n,t)}}),"withDebounceHandler")}function c(e,t){let r;return r=(0,s.isFunction)(t)?[{delay:e,cb:t}]:e,(0,i.createHigherOrderComponent)((e=>class extends a.Component{constructor(){super(...arguments),this.intervalIds=[]}componentDidMount(){for(const e of r)(t=>{this.intervalIds.push(setInterval((()=>t(this.props)),e.delay))})(e.cb)}componentWillUnmount(){this.intervalIds.forEach(clearInterval)}render(){return(0,a.createElement)(e,this.props)}}),"withInterval")}var d=r(4942);(0,i.createHigherOrderComponent)((e=>{var t;return t=class extends a.Component{constructor(...e){super(...e),(0,d.Z)(this,"state",{width:1280}),(0,d.Z)(this,"mounted",!1),(0,d.Z)(this,"ref",null),(0,d.Z)(this,"onWindowResize",(()=>{if(!this.mounted)return;const e=(0,a.findDOMNode)(this);if(e instanceof window.HTMLElement){const t=e.offsetWidth;this.setState({width:t})}}))}componentDidMount(){this.mounted=!0,window.addEventListener("resize",this.onWindowResize),document.getElementById("collapse-button").addEventListener("click",this.onWindowResize),this.onWindowResize()}componentWillUnmount(){this.mounted=!1,window.removeEventListener("resize",this.onWindowResize),document.getElementById("collapse-button").removeEventListener("click",this.onWindowResize)}render(){const{measureBeforeMount:t,...r}=this.props;return t&&!this.mounted?(0,a.createElement)("div",{className:this.props.className,style:this.props.style}):(0,a.createElement)(e,(0,n.Z)({},r,{width:this.state.width+20}))}},(0,d.Z)(t,"defaultProps",{measureBeforeMount:!1}),t}),"withWidth");const u=(0,i.createHigherOrderComponent)((e=>class extends a.Component{constructor(){super(...arguments),(0,d.Z)(this,"state",{pressed:{shift:!1,ctrl:!1,meta:!1,alt:!1}}),(0,d.Z)(this,"mounted",!1),this.listener=this.listener.bind(this),this.onBlur=this.onBlur.bind(this)}componentDidMount(){this.mounted=!0,window.addEventListener("keydown",this.listener),window.addEventListener("keyup",this.listener),window.addEventListener("click",this.listener),window.addEventListener("blur",this.onBlur)}componentWillUnmount(){this.mounted=!1,window.removeEventListener("keydown",this.listener),window.removeEventListener("keyup",this.listener),window.removeEventListener("click",this.listener),window.removeEventListener("blur",this.onBlur)}listener(e){this.mounted&&this.setState({pressed:{shift:e.shiftKey,ctrl:e.ctrlKey,meta:e.metaKey,alt:e.altKey}})}onBlur(){this.setState({pressed:{shift:!1,ctrl:!1,meta:!1,alt:!1}})}render(){return(0,a.createElement)(e,(0,n.Z)({pressedModifierKeys:this.state.pressed},this.props))}}),"withPressedModifierKeys"),m=(0,i.createHigherOrderComponent)((e=>function({navigate:t,...r}){return(0,a.createElement)(e,(0,n.Z)({},r,{onClick:e=>{try{r.onClick&&r.onClick(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||r.target&&"_self"!==r.target||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),t())}}))}),"withNavigate"),p=new WeakMap;function f(e,t){(0,a.useLayoutEffect)((()=>{p.has(e)||(t(),p.set(e,!0))}),[])}function h(e,t=!0){const[r,n]=(0,a.useState)("idle"),[i,l]=(0,a.useState)(null),[s,o]=(0,a.useState)(null),c=(0,a.useCallback)(((...t)=>(n("pending"),o(null),e(...t).then((e=>{l(e),n("success")})).catch((e=>{o(e),l(null),n("error")})))),[e]);return(0,a.useEffect)((()=>{t&&c()}),[c,t]),{execute:c,status:r,value:i,error:s}}function g(e,t,r=window){const n=(0,a.useRef)();(0,a.useEffect)((()=>{n.current=t}),[t]),(0,a.useEffect)((()=>{if(!r||!r.addEventListener)return;const t=e=>n.current(e);return r.addEventListener(e,t),()=>r.removeEventListener(e,t)}),[e,r])}const E=["button","submit"];function y(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>{t.current=e}),[e]);const r=(0,a.useRef)(!1),n=(0,a.useRef)(),i=(0,a.useCallback)((()=>{clearTimeout(n.current)}),[]);(0,a.useEffect)((()=>()=>i()),[]),(0,a.useEffect)((()=>{e||i()}),[e,i]);const l=(0,a.useCallback)((e=>{const{type:t,target:n}=e;(0,s.includes)(["mouseup","touchend"],t)?r.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,s.includes)(E,e.type)}return!1}(n)&&(r.current=!0)}),[]),o=(0,a.useCallback)((e=>{e.persist(),r.current||(n.current=setTimeout((()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:i,onMouseDown:l,onMouseUp:l,onTouchStart:l,onTouchEnd:l,onBlur:o}}function v(e,t){const[r,n]=(0,a.useState)((()=>{try{const r=window.localStorage.getItem(e);return r?JSON.parse(r):t}catch(e){return console.error(e),t}}));return[r,t=>{try{const a=t instanceof Function?t(r):t;n(a),window.localStorage.setItem(e,JSON.stringify(a))}catch(e){console.error(e)}}]}function b(e){const t=(0,a.useRef)(null),r=(0,a.useRef)(!1),n=(0,a.useRef)(e),i=(0,a.useRef)(e);return i.current=e,(0,a.useLayoutEffect)((()=>{e.forEach(((e,a)=>{const i=n.current[a];"function"==typeof e&&e!==i&&!1===r.current&&(i(null),e(t.current))})),n.current=e}),e),(0,a.useLayoutEffect)((()=>{r.current=!1})),(0,a.useCallback)((e=>{t.current=e,r.current=!0,(e?i.current:n.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}r(48015),r(31600)},33590:(e,t,r)=>{"use strict";r.d(t,{bB:()=>j,ZP:()=>Q});var n={};r.r(n),r.d(n,{BaseInput:()=>d,CheckboxWidget:()=>p,CheckboxesWidget:()=>f,IncludeExcludeWidget:()=>T,RadioWidget:()=>M,SelectWidget:()=>b,TextareaWidget:()=>w,ToggleWidget:()=>m});var a={};r.r(a),r.d(a,{EntitySelectField:()=>D,FileTreeField:()=>U,TextareaListField:()=>F,TitleField:()=>k});var i=r(92819),l=r(87462),s=r(6293),o=r(64893),c=r(36179);const d=function(e){const{id:t,label:r,value:n,readonly:a,disabled:d,onBlur:u,onFocus:m,options:p,onChange:f,schema:h,uiSchema:g={},...E}=e;p.inputType?E.type=p.inputType:E.type||("number"===h.type?(E.type="number",E.step="any"):"integer"===h.type?(E.type="number",E.step="1"):E.type="text"),p.autocomplete&&(E.autoComplete=p.autocomplete),h.multipleOf&&(E.step=h.multipleOf),void 0!==h.minimum&&(E.min=h.minimum),void 0!==h.maximum&&(E.max=h.maximum);const y=g["ui:description"]||h.description;return(0,s.createElement)(o.TextControl,(0,l.Z)({label:r,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:y}),readOnly:a,disabled:d,value:n||""},(0,i.omit)(E,["autofocus","formContext","registry","rawErrors"]),{onChange:e=>f(""===e?p.emptyValue:e),onBlur:u&&(e=>u(E.id,e.target.value)),onFocus:m&&(e=>m(E.id,e.target.value))}))};var u=r(54639);function m({schema:e,uiSchema:t={},id:r,value:n,disabled:a,readonly:i,label:l,onBlur:d,onFocus:m,onChange:p}){const f=u.P6.schemaRequiresTrueValue(e),h=t["ui:description"]||e.description;return(0,s.createElement)(o.ToggleControl,{checked:n||!1,onChange:p,required:f,disabled:a,readOnly:i,label:l,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:h}),onBlur:d&&(e=>d(r,e.target.checked)),onFocus:m&&(e=>m(r,e.target.checked))})}function p({schema:e,uiSchema:t={},id:r,value:n,disabled:a,readonly:i,label:l,onBlur:d,onFocus:m,onChange:p}){const f=u.P6.schemaRequiresTrueValue(e),h=t["ui:description"]||e.description;return(0,s.createElement)(o.CheckboxControl,{checked:n||!1,onChange:p,required:f,disabled:a,readOnly:i,label:l,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:h}),onBlur:d&&(e=>d(r,e.target.checked)),onFocus:m&&(e=>m(r,e.target.checked))})}function f(e){const{disabled:t,options:r,value:n,readonly:a,onChange:i,label:l,schema:o,uiSchema:d={}}=e,{enumOptions:u,enumDisabled:m=[],enumDescriptions:p=[],style:f}=r,h=d["ui:description"]||o.description,g=u.map(((e,t)=>({...e,disabled:m.includes(e.value),help:p[t]&&(0,s.createElement)(c.Lu,{noWrap:!0,content:p[t]})})));return(0,s.createElement)(c.w2,{value:n||[],onChange:i,options:g,label:l||d["ui:title"]||o.title,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:h}),readOnly:a,disabled:t,style:f})}const{asNumber:h,guessType:g}=u.P6,E=new Set(["number","integer"]);function y(e,t){const{type:r,items:n}=e;if(""!==t){if("array"===r&&n&&E.has(n.type))return t.map(h);if("boolean"===r)return"true"===t;if("number"===r)return h(t);if(e.enum){if(e.enum.every((e=>"number"===g(e))))return h(t);if(e.enum.every((e=>"boolean"===g(e))))return"true"===t}return t}}function v(e,t){return t?[].slice.call(e.target.options).filter((e=>e.selected)).map((e=>e.value)):e.target.value}const b=function(e){const{schema:t,uiSchema:r={},id:n,options:a,value:i,label:l,required:d,disabled:u,readonly:m,multiple:p,onChange:f,onBlur:h,onFocus:g,placeholder:E}=e,{enumOptions:b,enumDisabled:x}=a,w=p?[]:"",_=[];p||void 0!==t.default||_.push({value:"",label:E});for(const e of b)_.push({...e,disabled:x&&x.includes(e.value)});const S=r["ui:description"]||t.description;return(0,s.createElement)(o.SelectControl,{multiple:p,options:_,value:void 0===i?w:i,label:l,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:S}),required:d,disabled:u,readOnly:m,onChange:e=>f(y(t,e)),onBlur:h&&(e=>h(n,y(t,v(e,p)))),onFocus:g&&(e=>g(n,y(t,v(e,p))))})},{getUiOptions:x}=u.P6;function w({schema:e,uiSchema:t={},id:r,value:n,disabled:a,readonly:d,label:u,onBlur:m,onFocus:p,onChange:f,...h}){const g=x(t),{rows:E,placeholder:y,description:v=e.description}=g;return(0,s.createElement)(o.TextareaControl,(0,l.Z)({value:void 0===n?"":n,onChange:f,disabled:a,readOnly:d,label:u,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:v}),onBlur:m&&(e=>m(r,e.target.value)),onFocus:p&&(e=>p(r,e.target.value)),rows:E,placeholder:y},(0,i.without)(h,["autofocus","formContext","registry","rawErrors"])))}const{asNumber:_,guessType:S}=u.P6,L=new Set(["number","integer"]);function C(e,t){const{type:r,items:n}=e;if(""!==t){if("array"===r&&n&&L.has(n.type))return t.map(_);if("boolean"===r)return"true"===t;if("number"===r)return _(t);if(e.enum){if(e.enum.every((e=>"number"===S(e))))return _(t);if(e.enum.every((e=>"boolean"===S(e))))return"true"===t}return t}}function M({schema:e,uiSchema:t={},id:r,options:n,value:a,label:i,required:l,disabled:d,readonly:u,onChange:m,onBlur:p,onFocus:f}){const{enumOptions:h}=n,g=t["ui:description"]||e.description;return(0,s.createElement)(o.RadioControl,{selected:a,options:h,label:i,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:g}),required:l,disabled:d,readOnly:u,onChange:t=>m(C(e,t)),onBlur:p&&(t=>p(r,C(e,t.target.value))),onFocus:f&&(t=>f(r,C(e,t.target.value)))})}var O=r(95122),N=r(82839),I=r(81019);function T({id:e,disabled:t,options:r,value:n,onChange:a,schema:l,autofocus:c,readonly:d}){const{enumOptions:u,enumDisabled:m=[],excludeList:{title:p=(0,O.__)("Excluded","better-wp-security"),description:f=(0,O.__)("The list of items to exclude from the selection.","better-wp-security"),button:h=(0,O.__)("Include","better-wp-security")}={},includeList:{title:g=(0,O.__)("Included","better-wp-security"),description:E=(0,O.__)("The list of items to include in the selection.","better-wp-security"),button:y=(0,O.__)("Exclude","better-wp-security")}={},title:v=l.title,description:b=l.description}=r;(0,s.useEffect)((()=>{const e=u.map((e=>e.value)),t=n.filter((t=>e.includes(t)));t.length!==n.length&&a(t)}),[n,u,a]);const[x,w]=(0,i.partition)(u,(e=>!n.includes(e.value)));return(0,s.createElement)("div",{className:"itsec-rjsf-include-exclude-widget"},v&&(0,s.createElement)(o.BaseControl.VisualLabel,null,v),b&&(0,s.createElement)("p",null,b),(0,s.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__sides",id:e},(0,s.createElement)(z,{id:e+"__exclude",options:x,label:p,description:f,button:h,disabled:t||d,disabledOptions:m,autofocus:c,onToggle:e=>{(0,N.speak)((0,O.sprintf)((0,O.__)("Moved %1$s to %2$s.","better-wp-security"),(0,i.find)(x,{value:e}).label,g)),a([...n,e])}}),(0,s.createElement)(z,{id:e+"__include",options:w,label:g,description:E,button:y,disabled:t||d,disabledOptions:m,onToggle:e=>{(0,N.speak)((0,O.sprintf)((0,O.__)("Moved %1$s to %2$s.","better-wp-security"),(0,i.find)(w,{value:e}).label,p)),a(n.filter((t=>t!==e)))}})))}function z({id:e,label:t,description:r,options:n,button:a,onToggle:l,disabled:d,disabledOptions:u=[],autofocus:m}){const p=e+"__option__",[f,h]=(0,s.useState)("");return f&&!(0,i.find)(n,{value:f})&&h(""),(0,s.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__side"},(0,s.createElement)(o.BaseControl,{id:e,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:r}),className:"itsec-rjsf-include-exclude-widget__listbox"},(0,s.createElement)("span",{className:"components-base-control__label",id:e+"__label"},t),(0,s.createElement)(c.T2,{role:"listbox",id:e,active:f&&p+f,"aria-labelledby":e+"__label","aria-describedby":r&&e+"__help",onNavigate:e=>h(e.substr(p.length)),onKeyDown:({keyCode:e})=>{if(!f||e!==I.DELETE&&e!==I.BACKSPACE)return;const t=(0,i.findIndex)(n,{value:f}),r=t+1<n.length?t+1:t-1;l(f),h(n[r]?.value||"")},autoFocus:m},n.map((e=>(0,s.createElement)("div",{id:p+e.value,key:e.value,role:d||u.includes(e.value)?"presentation":"option","aria-selected":e.value===f||void 0,onClick:d||u.includes(e.value)?void 0:()=>h(e.value)},e.label))))),(0,s.createElement)(o.Button,{variant:"secondary",disabled:!f,className:"itsec-rjsf-include-exclude-widget__move",onClick:()=>l(f),"aria-keyshortcuts":"Delete Backspace"},a))}const A="*";function k(e){const{id:t,title:r,required:n}=e;return(0,s.createElement)("span",{className:"itsec-rjsf-title-field",id:t},r,n&&(0,s.createElement)("span",{className:"required"},A))}var R=r(47959);const{getUiOptions:H}=u.P6;function D({uiSchema:e,schema:t,idSchema:r,name:n,formData:a,disabled:i,readonly:l,onChange:o}){const c=H(e);return(0,s.createElement)(R.fv,{id:r.$id,value:a,disabled:i,readonly:l,onChange:o,isMultiple:"array"===t.type,label:e["ui:title"]||t.title||n,description:e["ui:description"]||t.description,path:c.path,query:c.query,labelAttr:c.labelAttr,idAttr:c.idAttr,searchArg:c.searchArg})}const{getUiOptions:P}=u.P6;function F({uiSchema:e,schema:t,name:r,formData:n,disabled:a,readonly:i,onChange:l}){const o=e["ui:title"]||t.title||r,d=e["ui:description"]||t.description,u=P(e),{rows:m,placeholder:p}=u;return(0,s.createElement)(c.yA,{label:o,help:(0,s.createElement)(c.Lu,{noWrap:!0,content:d}),disabled:a,readonly:i,rows:m,value:n,onChange:l,placeholder:p})}var Z=r(87514),V=r.n(Z),B=r(73470);function U({idSchema:e,formData:t,onChange:r,uiSchema:n,schema:a,name:l,disabled:d,readonly:u,autofocus:m}){const p=e.$id,f=n["ui:title"]||a.title||l,h=n["ui:description"]||a.description,[g,E]=(0,s.useState)([]),[y,v]=(0,s.useState)("");(0,s.useEffect)((()=>{V()({path:(0,B.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:"/"})}).then(E)}),[]);const b=e=>{r(t.includes(e)?t.filter((t=>t!==e)):[...t,e])};return(0,s.createElement)("div",{className:"itsec-rjsf-file-tree"},h&&(0,s.createElement)(c.Lu,{content:h,tagName:"p"}),(0,s.createElement)("div",{className:"itsec-rjsf-file-tree__controls"},(0,s.createElement)("div",null,(0,s.createElement)(c.mp,{tree:g,id:p,label:(0,O.__)("File Selector","better-wp-security"),active:y,setActive:v,onActivate:b,onLoad:async e=>{const t=await V()({path:(0,B.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:e})}),r=(0,i.cloneDeep)(g);(0,c.in)(r,(r=>{if(r.id===e)return r.children=t,c.in.halt})),E(r)}}),(0,s.createElement)(o.Button,{variant:"secondary",disabled:!y,className:"itsec-rjsf-file-tree__select",onClick:()=>b(y),"aria-keyshortcuts":"Enter Space"},(0,O.__)("Select","better-wp-security"))),(0,s.createElement)(c.yA,{value:t,onChange:r,className:"itsec-rjsf-file-tree__list",label:f,disabled:d,readonly:u,autoFocus:m})))}function j({name:e,...t}){return(0,s.createElement)(o.Fill,(0,l.Z)({name:`RjsfField${e}`},t))}function q({name:e,...t}){return(0,s.createElement)(o.Slot,(0,l.Z)({name:`RjsfField${e}`},t))}const{ADDITIONAL_PROPERTY_FLAG:$,getUiOptions:W}=u.P6;function K(e){const{id:t,classNames:r,disabled:n,label:a,onKeyChange:i,onDropPropertyClick:l,readonly:c,required:d,schema:u,uiSchema:m}=e,p=`${a} Key`,f=u.hasOwnProperty($),{removable:h}=W(m);return f&&!1!==h?(0,s.createElement)("div",{className:r},(0,s.createElement)("div",{className:"row"},(0,s.createElement)("div",{className:"col-xs-5 form-additional"},(0,s.createElement)(o.TextControl,{label:p,required:d,id:`${t}-key`,onBlur:e=>i(e.target.value)})),(0,s.createElement)("div",{className:"form-additional form-group col-xs-5"},e.children),(0,s.createElement)("div",{className:"col-xs-2"},(0,s.createElement)(o.Button,{icon:"no-alt",isDestructive:!0,disabled:n||c,onClick:l(a)})))):(0,s.createElement)("div",{className:r},e.children)}const{canExpand:G}=u.P6;function Y({className:e,onClick:t,disabled:r}){return(0,s.createElement)("div",{className:"row"},(0,s.createElement)("p",{className:`col-xs-3 col-xs-offset-9 text-right ${e}`},(0,s.createElement)(o.Button,{icon:"plus-alt2",className:"btn-add col-xs-12","aria-label":(0,O.__)("Add","better-wp-security"),tabIndex:"0",onClick:t,disabled:r})))}const X={FieldTemplate:function(e){const{children:t,errors:r,hidden:n,schema:a,uiSchema:i,formContext:l,onChange:c}=e;if(n)return null;const{resettable:d}=W(i);return(0,s.createElement)(K,e,t,(0,s.createElement)(q,{name:e.id,fillProps:e}),d&&(0,s.createElement)(o.Button,{className:"itsec-rjsf-reset-field",variant:"secondary",onClick:()=>c(a.default)},(0,O.__)("Restore Default","better-wp-security")),!0!==l?.disableInlineErrors&&r)},ObjectFieldTemplate:function(e){const{TitleField:t,DescriptionField:r,schema:n,uiSchema:a,properties:i}=e;if(!i.length)return null;const l=(a["ui:sections"]||[]).reduce(((e,t)=>({...e,[t.fields.find((e=>!!n.properties[e]))]:t})),{});return(0,s.createElement)("div",{className:"itsec-rjsf-object-fieldset",id:e.idSchema.$id},(a["ui:title"]||e.title)&&(0,s.createElement)(t,{id:`${e.idSchema.$id}__title`,title:e.title||a["ui:title"],required:e.required,formContext:e.formContext}),e.description&&(0,s.createElement)(r,{id:`${e.idSchema.$id}__description`,description:(0,s.createElement)(c.Lu,{noWrap:!0,content:e.description}),formContext:e.formContext}),i.map((({name:e,content:t})=>l[e]?(0,s.createElement)(s.Fragment,{key:e},(0,s.createElement)("h3",{className:"itsec-rjsf-section-title"},l[e].title),l[e].description&&(0,s.createElement)("p",{className:"itsec-rjsf-section-description"},(0,s.createElement)(c.Lu,{noWrap:!0,content:l[e].description})),t):t)),G(n,a,e.formData)&&(0,s.createElement)(Y,{className:"object-property-expand",onClick:e.onAddClick(n),disabled:e.disabled||e.readonly}))},ErrorList:function({errors:e}){return(0,s.createElement)(c.KM,{errors:e.map((({stack:e}={})=>e)).filter((e=>!!e))})},widgets:n,fields:a},Q=X},96302:(e,t,r)=>{"use strict";r.d(t,{T:()=>E,b:()=>y});var n=r(87462),a=r(6293),i=r(73727),l=r(64893),s=r(95122),o=r(9576),c=r(71930),d=r(65813),u=r(47959),m=r(52117),p=r(54639),f=r(33590);const h=(0,p.Zz)(f.ZP),g=(0,m.Z)(h,{target:"ejy4qm0"})(".itsec-rjsf-object-fieldset{display:grid;grid-template-columns:[label fields] minmax(0, 1fr);grid-template-rows:auto;grid-gap:.5rem 0;@media (min-width: ",(({theme:{breaks:e}})=>e.small),"px){grid-template-columns:[label] 10rem [fields] minmax(0, 1fr);}}.itsec-rjsf-section-description{margin-top:0;grid-column:fields;}>.field-object>.itsec-rjsf-object-fieldset{&>.itsec-rjsf-title-field,&>.itsec-rjsf-section-title{grid-column:label;font-size:1rem;padding-right:1rem;margin-top:0;&:not(:first-child){border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:.5rem;padding-top:1rem;@media (min-width: ",(({theme:{breaks:e}})=>e.small),"px){&+*{border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:.5rem;padding-top:1rem;}}}}&>.form-group:not(.field-object){grid-column:label/fields-end;}&>.itsec-rjsf-section-title~.form-group{grid-column:fields;}&>.itsec-rjsf-section-title:has(+ .itsec-highlighted-search-result){border-left:5px solid ",(({theme:e})=>e.colors.border.info),";background:#f9f7fd;margin-bottom:0;padding-top:1rem!important;}&>.field-object{grid-column:label/fields-end;}&>.field-description{margin-top:0;}}.itsec-rjsf-object-fieldset>*>.itsec-rjsf-object-fieldset{&>.itsec-rjsf-title-field{grid-column:label;font-size:1rem;padding-right:1rem;}&>.form-group{grid-column:fields;}&>.field-description{grid-column:fields;margin-top:0;}}.components-base-control__label,.components-input-control__label,label,caption,legend{color:",(({theme:e})=>e.colors.text.dark),";}.itsec-highlighted-search-result{background:#f9f7fd;padding-bottom:1rem;padding-top:1rem!important;.components-base-control__label,.components-input-control__label,label,caption{border-bottom:3px solid ",(({theme:e})=>e.colors.border.info),";padding-bottom:3px;margin-bottom:6px;}.components-base-control__field{margin-bottom:12px;}}.field-object:not(:first-child):not(:empty){border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:1rem;padding-top:1rem;}.field-object:empty{display:none;}.itsec-rjsf-title-field+.field-object:not(:first-child),.itsec-rjsf-section-description+.field-object:not(:first-child){border-top:none;margin-top:0;padding-top:0;}");function E({saveLabel:e,isSaving:t,saveDisabled:r,cancelLabel:i,onCancel:s,cancelRoute:c,undoLabel:d,undoDisabled:m,onUndo:p,children:f,errors:h,apiError:g,schemaError:b,withCard:x,alignActions:w,..._}){let S=(0,o.useInstanceId)(E,"itsec-schema-form");S=_.id||S;const L=(0,a.createElement)(React.Fragment,null,(0,a.createElement)(u.KM,{errors:h,apiError:g,schemaError:b}),(0,a.createElement)(y,(0,n.Z)({},_,{id:S})));return(0,a.createElement)(l.Flex,{direction:"column",gap:7,justify:"start",expanded:!1},(0,a.createElement)(l.FlexItem,null,x&&(0,a.createElement)(l.Card,null,(0,a.createElement)(l.CardBody,null,L)),!x&&L),(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(v,{id:S,saveLabel:e,cancelLabel:i,isSaving:t,saveDisabled:r,onCancel:s,cancelRoute:c,undoLabel:d,undoDisabled:m,onUndo:p,align:w},f)))}const y=(0,a.forwardRef)((({className:e,...t},i)=>(0,a.createElement)(g,(0,n.Z)({},t,{ref:i,className:e,additionalMetaSchemas:[r(27171)]}),(0,a.createElement)(React.Fragment,null))));function v({id:e,saveLabel:t=(0,s.__)("Save","better-wp-security"),isSaving:r,saveDisabled:n,cancelLabel:o=(0,s.__)("Cancel","better-wp-security"),onCancel:m,cancelRoute:p,undoLabel:f=(0,s.__)("Undo Changes","better-wp-security"),undoDisabled:h,onUndo:g,align:E,children:y}){return(0,a.createElement)(l.Flex,{align:E},m&&(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(c.zx,{variant:"tertiary",type:"button",onClick:m},o)),p&&(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(i.rU,{component:(0,d.Sj)(c.zx),variant:"tertiary",type:"button",to:p},o)),!E&&(0,a.createElement)(u.Xp,null),y,g&&(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(c.zx,{variant:"secondary",disabled:h,onClick:g},f)),(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(c.zx,{variant:"primary",isBusy:r,disabled:r||n,form:e,type:"submit"},t)))}},50460:(e,t,r)=>{"use strict";r.d(t,{G:()=>P,o:()=>N});var n={};r.r(n),r.d(n,{REGISTER_PROVIDER:()=>R,registerProvider:()=>k});var a={};r.r(a),r.d(a,{getProviders:()=>H});var i=r(87462),l=r(6293),s=r(73727),o=r(16550),c=r(90071),d=r(92819),u=r(64893),m=r(95122),p=r(48015),f=r(9576),h=r(81019),g=r(82839),E=r(71930),y=r(65813),v=r(36179),b=r(86033),x=r(13092);function w(e,t,r){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}var _=new WeakMap,S=new WeakMap,L=new WeakMap,C=new WeakMap,M=new WeakMap;class O{constructor(e,t){w(this,_,{writable:!0,value:void 0}),w(this,S,{writable:!0,value:void 0}),w(this,L,{writable:!0,value:void 0}),w(this,C,{writable:!0,value:void 0}),w(this,M,{writable:!0,value:void 0}),(0,x.Z)(this,_,e),(0,x.Z)(this,S,t),(0,x.Z)(this,L,t.select(P).getProviders()),this._prepare()}_prepare(){(0,x.Z)(this,M,(0,b.Z)(this,_).split(/\s+/g).map((e=>e.trim().toLowerCase())).filter((e=>!!e)));const e=(0,b.Z)(this,_).endsWith(" ");(0,x.Z)(this,C,new RegExp((0,b.Z)(this,M).map(((t,r)=>r+1!==(0,b.Z)(this,M).length||e?`(?=.*\\b${(0,d.escapeRegExp)(t)}\\b)`:`(?=.*\\b${(0,d.escapeRegExp)(t)})`)).join("")+".+","gi"))}_stringMatch(e){return e&&(0,b.Z)(this,C).test(e)}_keywordMatch(e){return!(!e||!e.length)&&e.some((e=>(0,b.Z)(this,M).some(((t,r)=>e.includes(" ")?this._stringMatch(e):r===(0,b.Z)(this,M).length-1?e.startsWith(t):t===e))))}getResults(){if((0,b.Z)(this,_).length<3)return[{},0];let e=0;const t=[],r={stringMatch:e=>this._stringMatch(e),keywordMatch:e=>this._keywordMatch(e)};for(const n of(0,b.Z)(this,L)){const a={title:n.title,items:[],groups:{}};e+=n.callback({evaluate:r,results:a,registry:(0,b.Z)(this,S)}),!a.items.length&&(0,d.isEmpty)(a.groups)||t.push(a)}return[t,e]}}const N=(0,l.forwardRef)((function({onPick:e=d.noop,showResults:t},r){const[n,a]=(0,l.useState)(""),[s,o]=(0,l.useState)(!1),c=(0,l.useRef)(),u=(0,l.useRef)(),[v,b]=(0,l.useState)([]),x=(0,p.useRegistry)(),w=(0,l.useCallback)((e=>{const t=new O(e,x).getResults();b(t[0]),(0,g.speak)((0,m.sprintf)((0,m._n)("%d result found.","%d results found.",t[1],"better-wp-security"),t[1]))}),[x]),_=(0,f.useDebounce)(w,50),S=(0,l.useCallback)((e=>{c.current&&(e.preventDefault(),c.current.focus())}),[c]);return(0,f.useKeyboardShortcut)("/",S),(0,l.createElement)("div",(0,i.Z)({className:"itsec-search"},(0,y.Zk)((()=>o(!1)))),(0,l.createElement)("div",null,(0,l.createElement)(E.lD,{value:n,onChange:e=>{a(e),_(e)},onFocus:()=>o(!0),onKeyDown:e=>{e.keyCode===h.DOWN&&(e.preventDefault(),u.current.focus())},ref:(0,y.qq)([r,c]),placeholder:(0,m.__)("Search for features, settings, and more","better-wp-security"),omitSeparators:!0,size:"large"}),(s||t)&&n.length>=3&&(0,l.createElement)(I,{results:v,exitSearch:t=>{e(t),o(!1)},ref:u,onPick:e})))})),I=(0,l.forwardRef)((function({results:e,exitSearch:t,onPick:r},n){const a=(0,l.useRef)();(0,l.useImperativeHandle)(n,(()=>({focus(){a.current.focus()}})));const s=(0,f.useInstanceId)(I,"itsec-search"),p=s+"__result__",g=function(){const e=(0,o.k6)();return(t,r="push")=>e[r]((0,c.ob)(t))}(),[E,y]=(0,l.useState)("");return(0,d.isEmpty)(e)?null:(0,l.createElement)(React.Fragment,null,(0,l.createElement)(u.VisuallyHidden,{id:s+"__label"},(0,m.__)("Search Results","better-wp-security")),(0,l.createElement)(v.T2,{className:"itsec-search__results",id:s,active:E&&p+E,onNavigate:e=>y(e.substring(p.length)),onKeyDown:({keyCode:e})=>{!E||e!==h.ENTER&&e!==h.SPACE||(r(E),g(E),t())},onFocus:()=>{if(!E&&!(0,d.isEmpty)(e)){const[,t]=Object.entries(e)[0];if(t.items?.length)y(t.items[0].route);else if(!(0,d.isEmpty)(t.groups)){const[,e]=Object.entries(t.groups)[0];y(e.items[0].route)}}},role:"listbox",descendantRoles:"option",ref:a,"aria-labelledby":s+"__label"},(0,d.map)(e,((e,r)=>(0,l.createElement)(T,(0,i.Z)({key:r},e,{active:E,idPrefix:p,exitSearch:t}))))))}));function T({title:e,items:t,groups:r,...n}){const a=(0,f.useInstanceId)(I,"itsec-search__kind");return(0,l.createElement)("ul",{className:"itsec-search__kind",role:"group","aria-labelledby":a},(0,l.createElement)("li",{role:"presentation",id:a},e),(t||[]).map((e=>(0,l.createElement)(A,(0,i.Z)({key:e.route},e,n)))),(0,d.map)(r,((e,t)=>(0,l.createElement)(z,(0,i.Z)({key:t},e,n)))))}function z({title:e,items:t,...r}){const n=(0,f.useInstanceId)(I,"itsec-search__group");return(0,l.createElement)("ul",{className:"itsec-search__group",role:"group","aria-labelledby":n},(0,l.createElement)("li",{role:"presentation",id:n},(0,l.createElement)("span",null,e)),(t||[]).map((e=>(0,l.createElement)(A,(0,i.Z)({key:e.route},e,r)))))}function A({title:e,description:t,route:r,active:n,idPrefix:a,exitSearch:i}){return(0,l.createElement)("li",{className:"itsec-search__result",role:"option","aria-selected":n===r||void 0,id:a+r,"aria-label":e},(0,l.createElement)(s.rU,{to:r,tabIndex:-1,onClick:()=>i(r)},(0,l.createElement)("span",null,e),(0,l.createElement)(v.Lu,{content:t,noHtml:!0,tagName:"p"})))}function k(e,t,r,n){return{type:R,slug:e,title:t,priority:r,callback:n}}const R="REGISTER_PROVIDER",H=(0,r(28306).Z)((e=>(0,d.sortBy)(e.providers,"priority")),(e=>e.providers)),D={providers:{}},P="ithemes-security/search";(0,p.registerStore)(P,{actions:n,selectors:a,reducer:function(e=D,t){return t.type===R?{...e,providers:{...e.providers,[t.slug]:(0,d.omit)(t,["type"])}}:e}})},52278:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},63708:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"}))},36713:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"}))},83904:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},96015:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},36058:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.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"}))},71941:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.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"}))},48562:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),a=r(14776);const i=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(a.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"}))},28306:(e,t,r)=>{"use strict";var n,a;function i(e){return[e]}function l(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function o(e,t){var r,o;function c(){r=a?new WeakMap:l()}function d(){var r,n,a,i,l,c=arguments.length;for(i=new Array(c),a=0;a<c;a++)i[a]=arguments[a];for(l=t.apply(null,i),(r=o(l)).isUniqueByDependants||(r.lastDependants&&!s(l,r.lastDependants,0)&&r.clear(),r.lastDependants=l),n=r.head;n;){if(s(n.args,i,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,i)},i[0]=null,n.args=i,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=i),o=a?function(e){var t,a,i,s,o,c=r,d=!0;for(t=0;t<e.length;t++){if(!(o=a=e[t])||"object"!=typeof o){d=!1;break}c.has(a)?c=c.get(a):(i=new WeakMap,c.set(a,i),c=i)}return c.has(n)||((s=l()).isUniqueByDependants=d,c.set(n,s)),c.get(n)}:function(){return r},d.getDependants=t,d.clear=c,c(),d}r.d(t,{Z:()=>o}),n={},a="undefined"!=typeof WeakMap},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},82839:e=>{e.exports=function(){return this.wp.a11y}()},87514:e=>{e.exports=function(){return this.wp.apiFetch}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},48015:e=>{e.exports=function(){return this.wp.data}()},82521:e=>{e.exports=function(){return this.wp.date}()},25993:e=>{e.exports=function(){return this.wp.domReady}()},6293:e=>{e.exports=function(){return this.wp.element}()},54761:e=>{e.exports=function(){return this.wp.hooks}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},25703:e=>{e.exports=function(){return this.wp.notices}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},76292:e=>{"use strict";e.exports=window.moment}},e=>{e.O(0,[7271,1930,5307,5257,6364,9071,2704,1511,976,7959,6179],(()=>(8414,e(e.s=8414))));var t=e.O();((window.itsec=window.itsec||{}).pages=window.itsec.pages||{}).settings=t}]);