From 98e30d43b22dce55bf3187ec688b6a53d2675484 Mon Sep 17 00:00:00 2001 From: Rogier Lankhorst Date: Fri, 21 Jun 2024 13:36:53 +0200 Subject: [PATCH] fix premium link --- settings/build/778.cf286e0fe201e170f0d9.js | 1 + settings/build/778.ebfa62a64f4679b9db87.js | 1 - ...2e.asset.php => index.f08f8de53fcc9879e8a0.asset.php} | 2 +- ...ff8af9136759c02e.js => index.f08f8de53fcc9879e8a0.js} | 2 +- settings/src/Settings/PremiumOverlay.js | 3 ++- settings/src/Settings/SettingsGroup.js | 9 --------- 6 files changed, 5 insertions(+), 13 deletions(-) create mode 100644 settings/build/778.cf286e0fe201e170f0d9.js delete mode 100644 settings/build/778.ebfa62a64f4679b9db87.js rename settings/build/{index.50afff8af9136759c02e.asset.php => index.f08f8de53fcc9879e8a0.asset.php} (68%) rename settings/build/{index.50afff8af9136759c02e.js => index.f08f8de53fcc9879e8a0.js} (99%) diff --git a/settings/build/778.cf286e0fe201e170f0d9.js b/settings/build/778.cf286e0fe201e170f0d9.js new file mode 100644 index 000000000..e417c2540 --- /dev/null +++ b/settings/build/778.cf286e0fe201e170f0d9.js @@ -0,0 +1 @@ +"use strict";(globalThis.webpackChunkreally_simple_ssl=globalThis.webpackChunkreally_simple_ssl||[]).push([[778],{435:(e,t,l)=>{l.d(t,{A:()=>o});var s=l(1621),r=l(6535),a=l(6856),c=l(7723),i=l(9166),n=l(7143);const o=(0,s.vt)(((e,t)=>({actionIndex:-1,progress:0,attemptCount:0,refreshTests:!1,actionsList:[],updateVerificationType:async e=>{await a.bl("update_verification_type",e).then((t=>{let l="dir"===e?(0,c.__)("Switched to Directory","really-simple-ssl"):(0,c.__)("Switched to DNS","really-simple-ssl");(0,n.dispatch)("core/notices").createNotice("success",l,{__unstableHTML:!0,id:"rsssl_switched_to_dns",type:"snackbar",isDismissible:!0}).then((0,i.A)(3e3)).then((e=>{(0,n.dispatch)("core/notices").removeNotice("rsssl_switched_to_dns")}))}))},setAttemptCount:t=>{e((e=>({attemptCount:t})))},setProgress:t=>{e((e=>({progress:t})))},setActionsList:t=>{e((e=>({actionsList:t})))},setActionsListItem:(t,l)=>{e((0,r.Ay)((e=>{e.actionsList[t]=l})))},setActionsListProperty:(t,l,s)=>{e((0,r.Ay)((e=>{e.actionsList[t][l]=s})))},setRefreshTests:t=>{e((e=>({refreshTests:t})))},setActionIndex:t=>{e((e=>({actionIndex:t})))}})))},9695:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(1609),r=l(3972);const a=e=>{let t=e.lines;return t||(t=4),e.error&&(t=0),(0,s.createElement)("div",{className:"rsssl-placeholder"},e.error&&(0,s.createElement)(r.A,{error:e.error}),Array.from({length:t}).map(((e,t)=>(0,s.createElement)("div",{className:"rsssl-placeholder-line",key:"placeholder-"+t}))))}},2480:(e,t,l)=>{l.d(t,{A:()=>s});const s=(0,l(1621).vt)(((e,t)=>({selectedFilter:[],processingFilter:!1,setSelectedFilter:(t,l)=>{e((e=>({selectedFilter:{...e.selectedFilter,[l]:t}})))},getCurrentFilter:e=>t().selectedFilter[e],setProcessingFilter:t=>e({processingFilter:t})})))},5683:(e,t,l)=>{l.d(t,{A:()=>s});const s=(0,l(1621).vt)(((e,t)=>({licenseStatus:rsssl_settings.licenseStatus,setLicenseStatus:t=>e((e=>({licenseStatus:t})))})))},9778:(e,t,l)=>{l.r(t),l.d(t,{ScrollProgress:()=>_,default:()=>x});var s=l(1609),r=l(6087);l(9695);const a=()=>(0,s.createElement)("div",{className:"rsssl-wizard-settings rsssl-column-2 rsssl-settings-placeholder"},(0,s.createElement)("div",{className:"rsssl-grid-item"},(0,s.createElement)("div",{className:"rsssl-grid-item-content"},(0,s.createElement)("div",{className:"rsssl-settings-block-intro"}))),(0,s.createElement)("div",{className:"rsssl-grid-item-footer"})),c=(e,t)=>{let l=t.length;for(let s=0;s{const{licenseStatus:r}=(0,g.A)();let a="1"===rsssl_settings.pro_plugin_active,c=a?"_self":"_blank",n=a?(0,o.__)("Check license","really-simple-ssl"):(0,o.__)("Go Pro","really-simple-ssl"),m=l||rsssl_settings.upgrade_link;a&&(m="#settings/license");let d=e||(0,s.createElement)(i.A,{text:(0,o.__)("Learn more about %sPremium%s","really-simple-ssl"),url:m});return a&&(d="empty"===r||"deactivated"===r?rsssl_settings.messageInactive:rsssl_settings.messageInvalid),(0,s.createElement)("div",{className:"rsssl-locked rsssl-locked-premium"},(0,s.createElement)("div",{className:"rsssl-locked-overlay rsssl-premium"},(0,s.createElement)("div",{className:"rsssl-locked-header"},(0,s.createElement)("h5",{className:"rsssl-locked-header-title"},t)),(0,s.createElement)("div",{className:"rsssl-locked-content"},(0,s.createElement)("span",null,d," ")),(0,s.createElement)("div",{className:"rsssl-locked-footer"},(0,s.createElement)("div",{className:"rsssl-grid-item-footer-buttons"},(0,s.createElement)("a",{className:"button button-primary left",href:m,target:c},n)))))},f=e=>{const{fields:t}=(0,d.A)(),{selectedFilter:a,setSelectedFilter:c}=(0,u.A)(),{licenseStatus:f}=(0,g.A)(),{selectedSubMenuItem:v,subMenu:C}=(0,h.A)(),[E,M]=(0,r.useState)(null),[z,x]=(0,r.useState)(null);(0,r.useEffect)((()=>{Promise.all([l.e(59),l.e(307),l.e(299)]).then(l.bind(l,299)).then((({default:e})=>{M((()=>e))})),_&&_.intro&&"object"==typeof _.intro&&x(_.intro[a[k]])}),[a]);let _,b=[];for(const l of t)l.group_id===e.group&&b.push(l);for(const t of C.menu_items){if(t.id===v&&t.hasOwnProperty("groups"))for(const l of t.groups)if(l.group_id===e.group){_=l;break}if(_)break}if(!_)for(const e of C.menu_items){if(e.id===v){_=e;break}if(e.menu_items){const t=e.menu_items.find((e=>e.id===v));if(t){_=t;break}}}if(_&&_.groups){const t=_.groups.find((t=>t.group_id===e.group));t?_=t:_.groups.find((t=>t.group_id===e.group))}let y="valid"!==f&&_.premium,L=!rsssl_settings.networkwide_active&&_.networkwide_required,H=_.helpLink_text?_.helpLink_text:(0,o.__)("Instructions","really-simple-ssl"),N=(0,n.A)("main"),V=y||L?"rsssl-disabled":"";const k="rsssl-group-filter-"+_.id;return(0,s.createElement)("div",{className:"rsssl-grid-item rsssl-"+_.id+" "+V},_.title&&(0,s.createElement)("div",{className:"rsssl-grid-item-header"},(0,s.createElement)("h3",{className:"rsssl-h4"},_.title),_.groupFilter&&(0,s.createElement)("div",{className:"rsssl-grid-item-controls"},(0,s.createElement)("select",{className:"rsssl-group-filter",id:k,name:k,value:a[k],onChange:e=>{const t=e.target.value;c(t,k)}},_.groupFilter.options.map((e=>(0,s.createElement)("option",{key:"option-"+e.id,value:e.id},e.title))))),!_.groupFilter&&_.helpLink&&"letsencrypt"!==N&&(0,s.createElement)("div",{className:"rsssl-grid-item-controls"},(0,s.createElement)(i.A,{target:"_blank",rel:"noopener noreferrer",className:"rsssl-helplink",text:H,url:_.helpLink})),"letsencrypt"===N&&(0,s.createElement)("div",{className:"rsssl-grid-item-controls"},(0,s.createElement)("a",{href:"#",className:"rsssl-helplink",onClick:e=>(e=>{e.preventDefault(),m.bl("reset").then((e=>{window.location.href=window.location.href.replace(/#letsencrypt.*/,"&r="+ +new Date+"#letsencrypt/le-system-status")}))})(e)},(0,o.__)("Reset Let's Encrypt","really-simple-ssl")))),(0,s.createElement)("div",{className:"rsssl-grid-item-content"},_.intro&&"string"==typeof _.intro&&(0,s.createElement)(p.A,{fallback:"Could not load group intro"},_.intro&&"string"==typeof _.intro&&(0,s.createElement)("div",{className:"rsssl-settings-block-intro"},_.intro),_.intro&&"object"==typeof _.intro&&(0,s.createElement)("div",{className:"rsssl-settings-block-intro"},z)),E&&b.map(((e,t)=>(0,s.createElement)(E,{key:"selectedFields-"+t,index:t,field:e,fields:b})))),y&&!L&&(0,s.createElement)(w,{msg:_.premium_text,title:_.premium_title?_.premium_title:_.title,upgrade:_.upgrade,url:_.upgrade}),L&&(0,s.createElement)("div",{className:"rsssl-locked"},(0,s.createElement)("div",{className:"rsssl-locked-overlay"},(0,s.createElement)("span",{className:"rsssl-task-status rsssl-warning"},(0,o.__)("Network feature","really-simple-ssl")),(0,s.createElement)("span",null,(0,o.__)("This feature is only available networkwide.","really-simple-ssl"),(0,s.createElement)(i.A,{target:"_blank",rel:"noopener noreferrer",text:(0,o.__)("Network settings","really-simple-ssl"),url:rsssl_settings.network_link})))))};var v=l(4937),C=l(2838),E=l.n(C);const M=e=>{let t={...e.help};t.title||(t.title=t.text,t.text=!1);let l=e.noticesExpanded?"open":"",r=t.url&&-1!==t.url.indexOf("really-simple-ssl.com")?"_blank":"_self";return(0,s.createElement)("div",null,t.title&&t.text&&(0,s.createElement)("details",{className:"rsssl-wizard-help-notice rsssl-"+t.label.toLowerCase(),open:l},(0,s.createElement)("summary",null,t.title," ",(0,s.createElement)(v.default,{name:"chevron-down"})),(0,s.createElement)("div",{dangerouslySetInnerHTML:{__html:E().sanitize(t.text)}}),t.url&&(0,s.createElement)("div",{className:"rsssl-help-more-info"},(0,s.createElement)("a",{target:r,href:t.url},(0,o.__)("More info","really-simple-ssl")))),t.title&&!t.text&&(0,s.createElement)("div",{className:"rsssl-wizard-help-notice rsssl-"+t.label.toLowerCase()},(0,s.createElement)("p",null,t.title)))};var z=l(435);const x=()=>{const[e,t]=(0,r.useState)(!0),{progress:l,fieldsLoaded:i,saveFields:n,fields:m,nextButtonDisabled:g}=(0,d.A)(),{subMenuLoaded:u,subMenu:w,selectedSubMenuItem:v,selectedMainMenuItem:C,nextMenuItem:E,previousMenuItem:x}=(0,h.A)(),{setRefreshTests:b}=(0,z.A)(),y=async e=>{!e&&(()=>{const{menu_items:e}=w;for(const t of e)if(t.id===v&&t.tests_only)return!0;return!1})()?b(!0):e?await n(!0,!1):await n(!0,!0)},{menu_items:L}=w;if(!u||!i||0===L.length)return(0,s.createElement)(a,null);let H=m.filter((e=>e.menu_id===v)),N=[];for(const e of H)c(e.group_id,N)||N.push(e.group_id);let V=[];for(const e of l.notices){let t=!1;if(e.show_with_options&&(t=H.filter((t=>e.show_with_options.includes(t.id))).length>0),t||e.menu_id===v){let t={};t.title=!!e.output.title&&e.output.title,t.label=e.output.label,t.id=e.id,t.text=e.output.msg,t.url=e.output.url,t.linked_field=e.show_with_option,V.push(t)}}for(const e of H.filter((e=>e.help&&!e.conditionallyDisabled))){let t=e.help;0===V.filter((e=>e.id&&e.id===t.id)).length&&V.push(e.help)}let k=g?`#${C}/${v}`:`#${C}/${E}`,S=(0,o.__)("Save","really-simple-ssl");for(const e of L)e.id===v&&e.tests_only&&(S=(0,o.__)("Refresh","really-simple-ssl"));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"rsssl-wizard-settings"},N.map(((e,t)=>(0,s.createElement)(f,{key:"settingsGroup-"+t,index:t,group:e,fields:H}))),(0,s.createElement)("div",{className:"rsssl-grid-item-footer-container"},(0,s.createElement)(_,null),(0,s.createElement)("div",{className:"rsssl-grid-item-footer"},(0,s.createElement)("div",{className:"rsssl-grid-item-footer-buttons"},v!==L[0].id&&(0,s.createElement)("a",{className:"rsssl-previous",href:`#${C}/${x}`},(0,o.__)("Previous","really-simple-ssl")),(0,s.createElement)("button",{className:"button button-secondary",onClick:e=>y(!1)},S),v!==L[L.length-1].id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("button",{disabled:g,className:"button button-primary",onClick:e=>{y(!0),window.location.href=k}},(0,o.__)("Save and continue","really-simple-ssl"))))))),(0,s.createElement)("div",{className:"rsssl-wizard-help"},(0,s.createElement)("div",{className:"rsssl-help-header"},(0,s.createElement)("div",{className:"rsssl-help-title rsssl-h4"},(0,o.__)("Notifications","really-simple-ssl")),(0,s.createElement)("div",{className:"rsssl-help-control",onClick:()=>{t(!e)}},!e&&(0,o.__)("Expand all","really-simple-ssl"),e&&(0,o.__)("Collapse all","really-simple-ssl"))),V.map(((t,l)=>(0,s.createElement)(p.A,{key:"errorboundary-"+l,fallback:"Could not load notices"},(0,s.createElement)(M,{noticesExpanded:e,index:l,help:t,fieldId:t.id}))))))},_=()=>{const[e,t]=(0,r.useState)(0);return(0,r.useEffect)((()=>{window.addEventListener("scroll",(()=>{let e=document.documentElement.scrollHeight-document.documentElement.clientHeight,l=Math.round(window.scrollY/e*100);l=Math.max(5,l),t(l)}))}),[]),document.documentElement.scrollHeight<=document.documentElement.clientHeight?null:(0,s.createElement)("span",{className:"rsssl-grid-item-footer-scroll-progress-container"},(0,s.createElement)("span",{className:"rsssl-grid-item-footer-scroll-progress",style:{width:e+"%"}},e,"%"))}},4937:(e,t,l)=>{l.r(t),l.d(t,{default:()=>c});var s=l(1609),r=l(7008);const a=React.forwardRef((function(e,t){const{name:l,color:r,size:a}=e,c=l||"bullet",i=r||"black",n=a||15,o={black:"var(--rsp-black)",green:"var(--rsp-green)",yellow:"var(--rsp-yellow)",orange:"var(--rsp-yellow)","red-faded":"var(--rsp-red-faded)",red:"var(--rsp-red)",grey:"var(--rsp-grey-400)","red-warning":"var(--rsp-red-faded)"};let m="";return"bullet"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"}))),"circle"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"check"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"warning"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"}))),"error"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"}))),"times"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"}))),"circle-check"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"}))),"circle-times"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"}))),"chevron-up"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M416 352c-8.188 0-16.38-3.125-22.62-9.375L224 173.3l-169.4 169.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25C432.4 348.9 424.2 352 416 352z"}))),"chevron-down"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"}))),"chevron-right"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"}))),"chevron-left"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"}))),"plus"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"}))),"minus"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"}))),"sync"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M483.515 28.485L431.35 80.65C386.475 35.767 324.485 8 256 8 123.228 8 14.824 112.338 8.31 243.493 7.971 250.311 13.475 256 20.301 256h28.045c6.353 0 11.613-4.952 11.973-11.294C66.161 141.649 151.453 60 256 60c54.163 0 103.157 21.923 138.614 57.386l-54.128 54.129c-7.56 7.56-2.206 20.485 8.485 20.485H492c6.627 0 12-5.373 12-12V36.971c0-10.691-12.926-16.045-20.485-8.486zM491.699 256h-28.045c-6.353 0-11.613 4.952-11.973 11.294C445.839 370.351 360.547 452 256 452c-54.163 0-103.157-21.923-138.614-57.386l54.128-54.129c7.56-7.56 2.206-20.485-8.485-20.485H20c-6.627 0-12 5.373-12 12v143.029c0 10.691 12.926 16.045 20.485 8.485L80.65 431.35C125.525 476.233 187.516 504 256 504c132.773 0 241.176-104.338 247.69-235.493.339-6.818-5.165-12.507-11.991-12.507z"}))),"sync-error"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M256 79.1C178.5 79.1 112.7 130.1 89.2 199.7C84.96 212.2 71.34 218.1 58.79 214.7C46.23 210.5 39.48 196.9 43.72 184.3C73.6 95.8 157.3 32 256 32C337.5 32 408.8 75.53 448 140.6V104C448 90.75 458.7 80 472 80C485.3 80 496 90.75 496 104V200C496 213.3 485.3 224 472 224H376C362.7 224 352 213.3 352 200C352 186.7 362.7 176 376 176H412.8C383.7 118.1 324.4 80 256 80V79.1zM280 263.1C280 277.3 269.3 287.1 256 287.1C242.7 287.1 232 277.3 232 263.1V151.1C232 138.7 242.7 127.1 256 127.1C269.3 127.1 280 138.7 280 151.1V263.1zM224 352C224 334.3 238.3 319.1 256 319.1C273.7 319.1 288 334.3 288 352C288 369.7 273.7 384 256 384C238.3 384 224 369.7 224 352zM40 432C26.75 432 16 421.3 16 408V311.1C16 298.7 26.75 287.1 40 287.1H136C149.3 287.1 160 298.7 160 311.1C160 325.3 149.3 336 136 336H99.19C128.3 393 187.6 432 256 432C333.5 432 399.3 381.9 422.8 312.3C427 299.8 440.7 293 453.2 297.3C465.8 301.5 472.5 315.1 468.3 327.7C438.4 416.2 354.7 480 256 480C174.5 480 103.2 436.5 64 371.4V408C64 421.3 53.25 432 40 432V432z"}))),"shortcode"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M128 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h96C145.7 480 160 465.7 160 448S145.7 416 128 416H64V96h64C145.7 96 160 81.67 160 64S145.7 32 128 32zM416 32h-96C302.3 32 288 46.33 288 63.1S302.3 96 319.1 96H384v320h-64C302.3 416 288 430.3 288 447.1S302.3 480 319.1 480H416c17.6 0 32-14.4 32-32V64C448 46.4 433.6 32 416 32z"}))),"file"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z"}))),"file-disabled"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M639.1 487.1c0-7.119-3.153-14.16-9.191-18.89l-118.8-93.12l.0013-237.3c0-16.97-6.742-33.26-18.74-45.26l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 128 28.65 128 64L128 75.01L38.82 5.11C34.41 1.672 29.19 0 24.04 0C10.19 0-.0002 11.3-.0002 23.1c0 7.12 3.153 14.16 9.192 18.89l591.1 463.1C605.6 510.3 610.8 512 615.1 512C629.8 512 639.1 500.6 639.1 487.1zM464 338.4l-287.1-225.7l-.002-48.51c0-8.836 7.164-16 15.1-16h160l-.0065 79.87c0 17.67 14.33 31.1 31.1 31.1L464 159.1V338.4zM448 463.1H192c-8.834 0-15.1-7.164-15.1-16L176 234.6L128 197L128 447.1c0 35.34 28.65 64 63.1 64H448c20.4 0 38.45-9.851 50.19-24.84l-37.72-29.56C457.5 461.4 453.2 463.1 448 463.1z"}))),"loading"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[r],d:"M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"}))),"file-download"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M216 342.1V240c0-13.25-10.75-24-24-24S168 226.8 168 240v102.1L128.1 303C124.3 298.3 118.2 296 112 296S99.72 298.3 95.03 303c-9.375 9.375-9.375 24.56 0 33.94l80 80c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94s-24.56-9.375-33.94 0L216 342.1zM365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448z"}))),"calendar"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"}))),"calendar-error"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M151.1 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V192H47.1V448C47.1 456.8 55.16 464 63.1 464H284.5C296.7 482.8 312.5 499.1 330.8 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24L151.1 64zM576 368C576 447.5 511.5 512 432 512C352.5 512 287.1 447.5 287.1 368C287.1 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368zM432 416C418.7 416 408 426.7 408 440C408 453.3 418.7 464 432 464C445.3 464 456 453.3 456 440C456 426.7 445.3 416 432 416zM447.1 288C447.1 279.2 440.8 272 431.1 272C423.2 272 415.1 279.2 415.1 288V368C415.1 376.8 423.2 384 431.1 384C440.8 384 447.1 376.8 447.1 368V288z"}))),"help"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 400c-18 0-32-14-32-32s13.1-32 32-32c17.1 0 32 14 32 32S273.1 400 256 400zM325.1 258L280 286V288c0 13-11 24-24 24S232 301 232 288V272c0-8 4-16 12-21l57-34C308 213 312 206 312 198C312 186 301.1 176 289.1 176h-51.1C225.1 176 216 186 216 198c0 13-11 24-24 24s-24-11-24-24C168 159 199 128 237.1 128h51.1C329 128 360 159 360 198C360 222 347 245 325.1 258z"}))),"copy"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"}))),"info"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"}))),"info-open"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z"}))),"list"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"}))),"empty"===c&&(m=(0,s.createElement)("svg",{height:n,width:n,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"})),"external-link"===c&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("path",{fill:o[i],d:"M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h94.1L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135V328c0 13.3 10.7 24 24 24s24-10.7 24-24V168c0-13.3-10.7-24-24-24H160z"}))),"shield"===c&&(m=(0,s.createElement)("svg",{height:n,"aria-hidden":"true",focusable:"false",role:"img",id:"uuid-026a4e87-44db-4336-a398-3c29d25b7317",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"},(0,s.createElement)("path",{fill:"#f9c23e",d:"M280.8,62.4L140.5,0,0,62.2V213.3c0,10.7,1.6,21.3,4.9,31.5,9.5,29.9,28.2,52.8,54.4,69.5,26,16.6,52.4,32.4,78.6,48.6,2,1.2,3.4,.9,5.1-.2,19.9-12.3,39.8-24.5,59.6-36.8,12.6-7.8,25.5-15.1,36.5-25.1,26.4-24.2,41.4-53.6,41.5-89.9V62.4h.2Z"}),(0,s.createElement)("g",null,(0,s.createElement)("g",null,(0,s.createElement)("rect",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",x:"155",y:"266.8",width:"77.6",height:"6"}),(0,s.createElement)("path",{fill:"#1d2327",d:"M224.4,204.5h-1.8v-10.1c0-15.9-12.9-28.8-28.8-28.8s-28.8,12.9-28.8,28.8v10.1h-1.8c-4.6,0-8.3,3.7-8.3,8.3v51.3h77.6v-51.3c0-4.6-3.7-8.3-8.3-8.3h.2Zm-45.3-10.1c0-8.1,6.6-14.7,14.7-14.7s14.7,6.6,14.7,14.7v10.1h-29.5v-10.1h.1Zm36.6,32.9l-20.7,20.2c-.2,.2-.3,.4-.5,.6l-2,2c-.2,.2-.4,.4-.6,.5l-3.8,3.8-4.5-4.3-2-2c-.2-.2-.4-.4-.5-.6l-9.1-9.1c-2.4-2.4-2.4-6.4,0-8.8l2-2c2.4-2.4,6.4-2.4,8.8,0l5.3,5.3,16.9-16.4c2.4-2.4,6.4-2.4,8.8,0l2,2c2.4,2.4,2.4,6.4,0,8.8h-.1Z"})),(0,s.createElement)("g",null,(0,s.createElement)("path",{fill:"#1d2327",d:"M125.2,192.3c-.5-2.9-.5-5.8-1-8.6-.5-2.4-2.6-4-4.8-3.9-2.3,0-4.2,1.9-4.7,4.3-.2,1,0,1.9,0,2.9,.8,14.6,7.2,26.3,18.2,35.7,2.2,1.9,4.5,3.5,6.9,4.8v-11.8c-7.4-5.8-12.9-14.1-14.6-23.3v-.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M96.4,236.1c-13-15-20-32.3-19.5-52.3,.3-13.1,6.1-23.6,16.6-31.2,11.5-8.5,24.5-10.9,38.3-7.1,12.7,3.5,22,10.7,27.4,22,2.1-2.7,4.5-5.2,7.2-7.4-4-7-9.7-12.9-17-17.4-17-10.4-34.9-11.7-52.9-3.1-19,9.1-28.7,24.7-29.3,45.8,0,5.2,.5,10.2,1.4,15.2,3.4,19.4,13.4,35.2,27.2,48.9,1.1,1.1,2.5,1.6,4.1,1.4,1.8-.2,3.2-1.3,3.8-3,.6-1.8,.4-3.6-1-5.1-2.1-2.2-4.2-4.4-6.2-6.7h-.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M68.1,89.4c1.1-.4,2.1-1,3.1-1.5,17.9-9.1,36.8-12.7,56.8-11.3,12.2,.8,23.9,3.8,35.1,8.7,3,1.3,5.9,2.8,8.9,4.1,2.7,1.1,5.3,0,6.4-2.4,1.1-2.3,0-5-2.3-6.3-11-5.7-22.4-10-34.6-12.3-4.2-.8-8.5-1.1-12.8-1.7h-17.1c-.3,0-.6,.2-.9,.2-11.2,.8-22,3.2-32.5,7.2-4.9,1.9-9.7,4.1-14.3,6.6-2.5,1.3-3.4,4.2-2.2,6.5,1.1,2.2,4,3.2,6.4,2.1v.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M61.1,153.5c13.6-21.6,33.6-31.5,58.7-32.1h6c.8,0,1.6,.2,2.3,.3,13.4,1.7,25.5,6.6,35.9,15.4,5.8,4.9,10.5,10.3,14.1,16.2,3.1-1.2,6.4-2,9.8-2.5-4.7-8.7-11.3-16.3-19.6-22.7-19-14.6-40.5-19.5-64.1-15.1-14.3,2.7-26.9,9-37.7,18.8-10.4,9.5-17.8,20.9-21.2,34.6-2.8,11.3-2.6,22.7-.9,34.1,1.1,7,2.9,13.9,5.4,20.5,.9,2.3,3,3.7,5.2,3.5,2.1-.2,3.9-2,4.3-4.3,.2-1.1-.2-2.2-.6-3.2-4.3-11.9-6.3-24.1-5.6-36.7,.5-9.6,2.8-18.7,8-26.8h0Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M139.8,240.6c-20.9-8.4-34.1-23.7-38.4-46.7-.8-4.3-1.4-8.7-.4-13,1.8-7.1,6.4-11.4,13.4-13.5,11.8-3.4,24.7,5.3,24.5,17.6,0,4.8,1.4,9.3,4,13.4,.3,.5,.6,.9,.9,1.3,1.6-2.4,3.7-4.6,6.1-6.2,0-.9,0-1.9,.2-2.8-.7-1.7-1.1-3.5-1.2-5.3-.3-6.1-1.6-11.9-5.5-16.8-6.8-8.8-15.9-12.4-27-11.5-11.3,.9-21.6,9.6-24.5,20.6-1.8,6.6-.9,13.3,.4,19.8,2.4,12.9,8.2,24,17.1,33.7,8.6,9.4,18.8,15.8,30.6,19.8v-10.4h-.2Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M47.5,133.2c6.8-8.8,15-16,24.6-21.6,20.8-12,43.2-15.2,66.6-11,14.8,2.7,28.2,8.7,39.9,18.2,6.3,5,11.6,11,16.4,17.4,1.9,2.5,4.8,2.8,7,1.1,2.1-1.7,2.4-4.5,.6-7-5.9-8.2-12.8-15.3-20.9-21.3-18.3-13.6-39.1-19.6-61.7-20-6.3,0-12.5,.6-18.6,1.6-15.7,2.8-30.1,8.6-42.9,18.1-8.3,6.2-15.5,13.5-21.5,22-1.6,2.3-1.3,5.1,.7,6.7,2.1,1.7,4.9,1.5,6.8-.7,1-1.2,1.9-2.5,2.9-3.7l.1,.2Z"}))))),"file-search"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,fill:"none",viewBox:"0 0 384 512"},(0,s.createElement)("path",{d:"M374.6 150.6l-141.3-141.3C227.4 3.371 219.2 0 210.7 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.35 0 64-28.66 64-64V173.3C384 164.8 380.6 156.6 374.6 150.6zM224 22.63L361.4 160H248C234.8 160 224 149.2 224 136V22.63zM368 448c0 26.47-21.53 48-48 48H64c-26.47 0-48-21.53-48-48V64c0-26.47 21.53-48 48-48h144v120c0 22.06 17.94 40 40 40h120V448zM176 208c-53.02 0-96 42.98-96 96s42.98 96 96 96c23.62 0 44.96-8.859 61.68-23l68.66 68.66C307.9 447.2 309.9 448 312 448s4.094-.7813 5.656-2.344c3.125-3.125 3.125-8.188 0-11.31l-68.66-68.66C263.1 348.1 272 327.6 272 304C272 250.1 229 208 176 208zM176 384C131.9 384 96 348.1 96 304S131.9 224 176 224S256 259.9 256 304S220.1 384 176 384z"}))),"download"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,fill:"none",viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M480 352h-88C387.6 352 384 355.6 384 360s3.582 8 8 8H480c8.822 0 16 7.178 16 16v96c0 8.822-7.178 16-16 16H32c-8.822 0-16-7.178-16-16v-96c0-8.822 7.178-16 16-16h88C124.4 368 128 364.4 128 360S124.4 352 120 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM464 432c0-17.6-14.4-32-32-32s-32 14.4-32 32c0 17.6 14.4 32 32 32S464 449.6 464 432zM416 432c0-8.822 7.178-16 16-16s16 7.178 16 16S440.8 448 432 448S416 440.8 416 432zM250.3 413.7c3.125 3.125 8.188 3.125 11.31 0l152-152C415.2 260.1 416 258.1 416 256s-.7813-4.094-2.344-5.656c-3.125-3.125-8.188-3.125-11.31 0L264 388.7V8C264 3.594 260.4 0 256 0S248 3.594 248 8v380.7L109.7 250.3c-3.125-3.125-8.188-3.125-11.31 0s-3.125 8.188 0 11.31L250.3 413.7z"}))),"satellite-dish"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:n,viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M208 0c-8.8 0-16 7.2-16 16s7.2 16 16 16c150.2 0 272 121.8 272 272c0 8.8 7.2 16 16 16s16-7.2 16-16C512 136.1 375.9 0 208 0zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16c97.2 0 176 78.8 176 176c0 8.8 7.2 16 16 16s16-7.2 16-16c0-114.9-93.1-208-208-208zM32 304c0-24.5 5-47.7 13.9-68.8L276.8 466.1C255.7 475 232.5 480 208 480c-97.2 0-176-78.8-176-176zm33.5-94.5c-14-14-37.3-12.1-45.7 5.8C7.1 242.2 0 272.3 0 304C0 418.9 93.1 512 208 512c31.7 0 61.8-7.1 88.7-19.8c17.9-8.4 19.8-31.8 5.8-45.7L195.3 339.3l24-24c6.3 3 13.3 4.7 20.7 4.7c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48c0 7.4 1.7 14.4 4.7 20.7l-24 24L65.5 209.5zM224 272a16 16 0 1 1 32 0 16 16 0 1 1 -32 0z"}))),"rotate-light"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:n,viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M426.1 301.2C406.2 376.5 337.6 432 256 432c-51 0-96.9-21.7-129-56.3l41-41c5.1-5.1 8-12.1 8-19.3c0-15.1-12.2-27.3-27.3-27.3H48c-8.8 0-16 7.2-16 16V404.7C32 419.8 44.2 432 59.3 432c7.2 0 14.2-2.9 19.3-8l25.7-25.7C142.3 438.7 196.2 464 256 464c97.4 0 179.2-67 201.8-157.4c2.4-9.7-5.2-18.6-15.2-18.6c-7.8 0-14.5 5.6-16.5 13.2zM385 136.3l-41 41c-5.1 5.1-8 12.1-8 19.3c0 15.1 12.2 27.3 27.3 27.3H464c8.8 0 16-7.2 16-16V107.3C480 92.2 467.8 80 452.7 80c-7.2 0-14.2 2.9-19.3 8l-25.7 25.7C369.7 73.3 315.8 48 256 48C158.6 48 76.8 115 54.2 205.4c-2.4 9.7 5.2 18.6 15.2 18.6c7.8 0 14.5-5.6 16.5-13.2C105.8 135.5 174.4 80 256 80c51 0 96.9 21.7 129.1 56.3zM448 192H374.6L448 118.6V192zM64 320h73.4L64 393.4V320z"}))),"rotate-exclamation-light"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n opacity: 0.4;\n color: ${o[i]};\n }\n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M280 152c0-13.3-10.7-24-24-24s-24 10.7-24 24V264c0 13.3 10.7 24 24 24s24-10.7 24-24V152zM256 384a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M432 117.4C391 65.4 327.4 32 256 32C158.4 32 75.5 94.4 44.8 181.3c-5.9 16.7 2.8 34.9 19.5 40.8s34.9-2.8 40.8-19.5C127.1 140.5 186.4 96 256 96c52.3 0 98.8 25.1 128 64H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h84.3c.5 0 1 0 1.5 0H464c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v37.4zm35.2 213.2c5.9-16.7-2.8-34.9-19.5-40.8s-34.9 2.8-40.8 19.5C384.9 371.5 325.6 416 256 416c-52.3 0-98.8-25.1-128-64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H48c-17.7 0-32 14.3-32 32V432c0 17.7 14.3 32 32 32s32-14.3 32-32V394.6c41 52 104.6 85.4 176 85.4c97.6 0 180.5-62.4 211.2-149.3z"}))),"radar-duotone"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M497 49c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-182 182c-7.7-3.3-16.1-5.1-25-5.1c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64c0-8.9-1.8-17.3-5.1-25L497 49z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M350.9 127.2l-46.1 46.1c-14.3-8.4-31-13.3-48.8-13.3c-53 0-96 43-96 96s43 96 96 96s96-43 96-96h64c0 73.5-49.6 135.5-117.2 154.2C290.8 394.7 274.7 384 256 384s-34.8 10.7-42.8 26.2c-51.7-14.3-92.8-53.9-109.4-104.6c14.4-8.3 24.1-23.8 24.1-41.7c0-19.4-11.5-36.1-28-43.7C116.2 149.1 179.9 96 256 96c35.5 0 68.3 11.6 94.9 31.2zm22.8-22.8C341.2 79 300.4 64 256 64C163.1 64 85.7 129.9 67.9 217.6C47.2 222.9 32 241.7 32 264c0 23.8 17.3 43.6 40.1 47.4c19.3 64.3 71.5 114.4 137 130.9C213.8 463.8 233 480 256 480s42.2-16.2 46.9-37.8C386.3 421.3 448 345.9 448 256h64c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0c62.1 0 118.9 22.1 163.3 58.8l-45.5 45.5z"}))),"satellite-dish-duotone"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M60.6 220.6c-14.5-14.5-38.8-11.8-46.3 7.3C5.1 251.5 0 277.1 0 304C0 418.9 93.1 512 208 512c26.9 0 52.5-5.1 76.1-14.4c19-7.5 21.8-31.8 7.3-46.3L187.3 347.3l28.4-28.4c2.6 .7 5.4 1.1 8.3 1.1c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32c0 2.9 .4 5.6 1.1 8.3l-28.4 28.4L60.6 220.6z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32c123.7 0 224 100.3 224 224c0 17.7 14.3 32 32 32s32-14.3 32-32C512 128.9 383.1 0 224 0zm0 96c-17.7 0-32 14.3-32 32s14.3 32 32 32c70.7 0 128 57.3 128 128c0 17.7 14.3 32 32 32s32-14.3 32-32c0-106-86-192-192-192z"}))),"spinner"===c&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20",height:"20"},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,"\n .fa-secondary {\n opacity: 0.4;\n }\n ")),(0,s.createElement)("path",{className:"fa-primary",d:"M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM96 256A48 48 0 1 0 0 256a48 48 0 1 0 96 0zM75 142.9A48 48 0 1 0 142.9 75 48 48 0 1 0 75 142.9z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M369.1 75A48 48 0 1 1 437 142.9 48 48 0 1 1 369.1 75zM416 256a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM208 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM75 369.1A48 48 0 1 1 142.9 437 48 48 0 1 1 75 369.1zm294.2 0A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z"}))),(0,s.createElement)("div",{...e,ref:t},m)})),c=({name:e,color:t,size:l,tooltip:c})=>{const i=e||"bullet",n=t||"black";let o=l||15,m=c?"tooltip-":"",d=Math.floor(1e9*Math.random());return c?(0,s.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+n},(0,s.createElement)(a,{"data-for":".rsssl-"+d,name:i,color:n,size:o,id:d,className:"rsssl-"+d,"data-tooltip-delay-hide":200}),(0,s.createElement)(r.m_,{style:{zIndex:99},id:d,place:"bottom",anchorSelect:".rsssl-"+d,content:c})):(0,s.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+n},(0,s.createElement)(a,{name:i,color:n,size:o}))}},9166:(e,t,l)=>{l.d(t,{A:()=>s});const s=e=>function(t){return new Promise((l=>setTimeout((()=>l(t)),e)))}}}]); \ No newline at end of file diff --git a/settings/build/778.ebfa62a64f4679b9db87.js b/settings/build/778.ebfa62a64f4679b9db87.js deleted file mode 100644 index bfac5cee8..000000000 --- a/settings/build/778.ebfa62a64f4679b9db87.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis.webpackChunkreally_simple_ssl=globalThis.webpackChunkreally_simple_ssl||[]).push([[778],{435:(e,t,s)=>{s.d(t,{A:()=>o});var l=s(1621),r=s(6535),a=s(6856),c=s(7723),i=s(9166),n=s(7143);const o=(0,l.vt)(((e,t)=>({actionIndex:-1,progress:0,attemptCount:0,refreshTests:!1,actionsList:[],updateVerificationType:async e=>{await a.bl("update_verification_type",e).then((t=>{let s="dir"===e?(0,c.__)("Switched to Directory","really-simple-ssl"):(0,c.__)("Switched to DNS","really-simple-ssl");(0,n.dispatch)("core/notices").createNotice("success",s,{__unstableHTML:!0,id:"rsssl_switched_to_dns",type:"snackbar",isDismissible:!0}).then((0,i.A)(3e3)).then((e=>{(0,n.dispatch)("core/notices").removeNotice("rsssl_switched_to_dns")}))}))},setAttemptCount:t=>{e((e=>({attemptCount:t})))},setProgress:t=>{e((e=>({progress:t})))},setActionsList:t=>{e((e=>({actionsList:t})))},setActionsListItem:(t,s)=>{e((0,r.Ay)((e=>{e.actionsList[t]=s})))},setActionsListProperty:(t,s,l)=>{e((0,r.Ay)((e=>{e.actionsList[t][s]=l})))},setRefreshTests:t=>{e((e=>({refreshTests:t})))},setActionIndex:t=>{e((e=>({actionIndex:t})))}})))},9695:(e,t,s)=>{s.d(t,{A:()=>a});var l=s(1609),r=s(3972);const a=e=>{let t=e.lines;return t||(t=4),e.error&&(t=0),(0,l.createElement)("div",{className:"rsssl-placeholder"},e.error&&(0,l.createElement)(r.A,{error:e.error}),Array.from({length:t}).map(((e,t)=>(0,l.createElement)("div",{className:"rsssl-placeholder-line",key:"placeholder-"+t}))))}},2480:(e,t,s)=>{s.d(t,{A:()=>l});const l=(0,s(1621).vt)(((e,t)=>({selectedFilter:[],processingFilter:!1,setSelectedFilter:(t,s)=>{e((e=>({selectedFilter:{...e.selectedFilter,[s]:t}})))},getCurrentFilter:e=>t().selectedFilter[e],setProcessingFilter:t=>e({processingFilter:t})})))},5683:(e,t,s)=>{s.d(t,{A:()=>l});const l=(0,s(1621).vt)(((e,t)=>({licenseStatus:rsssl_settings.licenseStatus,setLicenseStatus:t=>e((e=>({licenseStatus:t})))})))},9778:(e,t,s)=>{s.r(t),s.d(t,{ScrollProgress:()=>_,default:()=>x});var l=s(1609),r=s(6087);s(9695);const a=()=>(0,l.createElement)("div",{className:"rsssl-wizard-settings rsssl-column-2 rsssl-settings-placeholder"},(0,l.createElement)("div",{className:"rsssl-grid-item"},(0,l.createElement)("div",{className:"rsssl-grid-item-content"},(0,l.createElement)("div",{className:"rsssl-settings-block-intro"}))),(0,l.createElement)("div",{className:"rsssl-grid-item-footer"})),c=(e,t)=>{let s=t.length;for(let l=0;l{const{licenseStatus:r}=(0,g.A)();let a="1"===rsssl_settings.pro_plugin_active,c=a?"_self":"_blank",i=a?(0,o.__)("Check license","really-simple-ssl"):(0,o.__)("Go Pro","really-simple-ssl"),n=s||rsssl_settings.upgrade_link;a&&(n="#settings/license");let m=e||(0,o.__)("Learn more about %sPremium%s","really-simple-ssl");return a&&(m="empty"===r||"deactivated"===r?rsssl_settings.messageInactive:rsssl_settings.messageInvalid),(0,l.createElement)("div",{className:"rsssl-locked rsssl-locked-premium"},(0,l.createElement)("div",{className:"rsssl-locked-overlay rsssl-premium"},(0,l.createElement)("div",{className:"rsssl-locked-header"},(0,l.createElement)("h5",{className:"rsssl-locked-header-title"},t)),(0,l.createElement)("div",{className:"rsssl-locked-content"},(0,l.createElement)("span",null,m," ")),(0,l.createElement)("div",{className:"rsssl-locked-footer"},(0,l.createElement)("div",{className:"rsssl-grid-item-footer-buttons"},(0,l.createElement)("a",{className:"button button-primary left",href:n,target:c},i)))))},f=e=>{const{fields:t}=(0,d.A)(),{selectedFilter:a,setSelectedFilter:c}=(0,u.A)(),{licenseStatus:f}=(0,g.A)(),{selectedSubMenuItem:v,subMenu:C}=(0,h.A)(),[E,M]=(0,r.useState)(null),[z,x]=(0,r.useState)(null);(0,r.useEffect)((()=>{Promise.all([s.e(59),s.e(307),s.e(299)]).then(s.bind(s,299)).then((({default:e})=>{M((()=>e))})),_&&_.intro&&"object"==typeof _.intro&&x(_.intro[a[S]])}),[a]);let _,b=[];for(const s of t)s.group_id===e.group&&b.push(s);for(const t of C.menu_items){if(t.id===v&&t.hasOwnProperty("groups"))for(const s of t.groups)if(s.group_id===e.group){_=s;break}if(_)break}if(!_)for(const e of C.menu_items){if(e.id===v){_=e;break}if(e.menu_items){const t=e.menu_items.find((e=>e.id===v));if(t){_=t;break}}}if(_&&_.groups){const t=_.groups.find((t=>t.group_id===e.group));t?_=t:_.groups.find((t=>t.group_id===e.group))}let y=_.premium_text?_.premium_text:(0,o.__)("Learn more about %sPremium%s","really-simple-ssl");rsssl_settings.pro_plugin_active&&(y="empty"===f||"deactivated"===f?rsssl_settings.messageInactive:rsssl_settings.messageInvalid);let L="valid"!==f&&_.premium,H=!rsssl_settings.networkwide_active&&_.networkwide_required,N=_.helpLink_text?_.helpLink_text:(0,o.__)("Instructions","really-simple-ssl"),V=(0,n.A)("main"),k=L||H?"rsssl-disabled":"";const S="rsssl-group-filter-"+_.id;return(0,l.createElement)("div",{className:"rsssl-grid-item rsssl-"+_.id+" "+k},_.title&&(0,l.createElement)("div",{className:"rsssl-grid-item-header"},(0,l.createElement)("h3",{className:"rsssl-h4"},_.title),_.groupFilter&&(0,l.createElement)("div",{className:"rsssl-grid-item-controls"},(0,l.createElement)("select",{className:"rsssl-group-filter",id:S,name:S,value:a[S],onChange:e=>{const t=e.target.value;c(t,S)}},_.groupFilter.options.map((e=>(0,l.createElement)("option",{key:"option-"+e.id,value:e.id},e.title))))),!_.groupFilter&&_.helpLink&&"letsencrypt"!==V&&(0,l.createElement)("div",{className:"rsssl-grid-item-controls"},(0,l.createElement)(i.A,{target:"_blank",rel:"noopener noreferrer",className:"rsssl-helplink",text:N,url:_.helpLink})),"letsencrypt"===V&&(0,l.createElement)("div",{className:"rsssl-grid-item-controls"},(0,l.createElement)("a",{href:"#",className:"rsssl-helplink",onClick:e=>(e=>{e.preventDefault(),m.bl("reset").then((e=>{window.location.href=window.location.href.replace(/#letsencrypt.*/,"&r="+ +new Date+"#letsencrypt/le-system-status")}))})(e)},(0,o.__)("Reset Let's Encrypt","really-simple-ssl")))),(0,l.createElement)("div",{className:"rsssl-grid-item-content"},_.intro&&"string"==typeof _.intro&&(0,l.createElement)(p.A,{fallback:"Could not load group intro"},_.intro&&"string"==typeof _.intro&&(0,l.createElement)("div",{className:"rsssl-settings-block-intro"},_.intro),_.intro&&"object"==typeof _.intro&&(0,l.createElement)("div",{className:"rsssl-settings-block-intro"},z)),E&&b.map(((e,t)=>(0,l.createElement)(E,{key:"selectedFields-"+t,index:t,field:e,fields:b})))),L&&!H&&(0,l.createElement)(w,{msg:_.premium_text,title:_.premium_title?_.premium_title:_.title,upgrade:_.upgrade,url:_.upgrade}),H&&(0,l.createElement)("div",{className:"rsssl-locked"},(0,l.createElement)("div",{className:"rsssl-locked-overlay"},(0,l.createElement)("span",{className:"rsssl-task-status rsssl-warning"},(0,o.__)("Network feature","really-simple-ssl")),(0,l.createElement)("span",null,(0,o.__)("This feature is only available networkwide.","really-simple-ssl"),(0,l.createElement)(i.A,{target:"_blank",rel:"noopener noreferrer",text:(0,o.__)("Network settings","really-simple-ssl"),url:rsssl_settings.network_link})))))};var v=s(4937),C=s(2838),E=s.n(C);const M=e=>{let t={...e.help};t.title||(t.title=t.text,t.text=!1);let s=e.noticesExpanded?"open":"",r=t.url&&-1!==t.url.indexOf("really-simple-ssl.com")?"_blank":"_self";return(0,l.createElement)("div",null,t.title&&t.text&&(0,l.createElement)("details",{className:"rsssl-wizard-help-notice rsssl-"+t.label.toLowerCase(),open:s},(0,l.createElement)("summary",null,t.title," ",(0,l.createElement)(v.default,{name:"chevron-down"})),(0,l.createElement)("div",{dangerouslySetInnerHTML:{__html:E().sanitize(t.text)}}),t.url&&(0,l.createElement)("div",{className:"rsssl-help-more-info"},(0,l.createElement)("a",{target:r,href:t.url},(0,o.__)("More info","really-simple-ssl")))),t.title&&!t.text&&(0,l.createElement)("div",{className:"rsssl-wizard-help-notice rsssl-"+t.label.toLowerCase()},(0,l.createElement)("p",null,t.title)))};var z=s(435);const x=()=>{const[e,t]=(0,r.useState)(!0),{progress:s,fieldsLoaded:i,saveFields:n,fields:m,nextButtonDisabled:g}=(0,d.A)(),{subMenuLoaded:u,subMenu:w,selectedSubMenuItem:v,selectedMainMenuItem:C,nextMenuItem:E,previousMenuItem:x}=(0,h.A)(),{setRefreshTests:b}=(0,z.A)(),y=async e=>{!e&&(()=>{const{menu_items:e}=w;for(const t of e)if(t.id===v&&t.tests_only)return!0;return!1})()?b(!0):e?await n(!0,!1):await n(!0,!0)},{menu_items:L}=w;if(!u||!i||0===L.length)return(0,l.createElement)(a,null);let H=m.filter((e=>e.menu_id===v)),N=[];for(const e of H)c(e.group_id,N)||N.push(e.group_id);let V=[];for(const e of s.notices){let t=!1;if(e.show_with_options&&(t=H.filter((t=>e.show_with_options.includes(t.id))).length>0),t||e.menu_id===v){let t={};t.title=!!e.output.title&&e.output.title,t.label=e.output.label,t.id=e.id,t.text=e.output.msg,t.url=e.output.url,t.linked_field=e.show_with_option,V.push(t)}}for(const e of H.filter((e=>e.help&&!e.conditionallyDisabled))){let t=e.help;0===V.filter((e=>e.id&&e.id===t.id)).length&&V.push(e.help)}let k=g?`#${C}/${v}`:`#${C}/${E}`,S=(0,o.__)("Save","really-simple-ssl");for(const e of L)e.id===v&&e.tests_only&&(S=(0,o.__)("Refresh","really-simple-ssl"));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"rsssl-wizard-settings"},N.map(((e,t)=>(0,l.createElement)(f,{key:"settingsGroup-"+t,index:t,group:e,fields:H}))),(0,l.createElement)("div",{className:"rsssl-grid-item-footer-container"},(0,l.createElement)(_,null),(0,l.createElement)("div",{className:"rsssl-grid-item-footer"},(0,l.createElement)("div",{className:"rsssl-grid-item-footer-buttons"},v!==L[0].id&&(0,l.createElement)("a",{className:"rsssl-previous",href:`#${C}/${x}`},(0,o.__)("Previous","really-simple-ssl")),(0,l.createElement)("button",{className:"button button-secondary",onClick:e=>y(!1)},S),v!==L[L.length-1].id&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)("button",{disabled:g,className:"button button-primary",onClick:e=>{y(!0),window.location.href=k}},(0,o.__)("Save and continue","really-simple-ssl"))))))),(0,l.createElement)("div",{className:"rsssl-wizard-help"},(0,l.createElement)("div",{className:"rsssl-help-header"},(0,l.createElement)("div",{className:"rsssl-help-title rsssl-h4"},(0,o.__)("Notifications","really-simple-ssl")),(0,l.createElement)("div",{className:"rsssl-help-control",onClick:()=>{t(!e)}},!e&&(0,o.__)("Expand all","really-simple-ssl"),e&&(0,o.__)("Collapse all","really-simple-ssl"))),V.map(((t,s)=>(0,l.createElement)(p.A,{key:"errorboundary-"+s,fallback:"Could not load notices"},(0,l.createElement)(M,{noticesExpanded:e,index:s,help:t,fieldId:t.id}))))))},_=()=>{const[e,t]=(0,r.useState)(0);return(0,r.useEffect)((()=>{window.addEventListener("scroll",(()=>{let e=document.documentElement.scrollHeight-document.documentElement.clientHeight,s=Math.round(window.scrollY/e*100);s=Math.max(5,s),t(s)}))}),[]),document.documentElement.scrollHeight<=document.documentElement.clientHeight?null:(0,l.createElement)("span",{className:"rsssl-grid-item-footer-scroll-progress-container"},(0,l.createElement)("span",{className:"rsssl-grid-item-footer-scroll-progress",style:{width:e+"%"}},e,"%"))}},4937:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c});var l=s(1609),r=s(7008);const a=React.forwardRef((function(e,t){const{name:s,color:r,size:a}=e,c=s||"bullet",i=r||"black",n=a||15,o={black:"var(--rsp-black)",green:"var(--rsp-green)",yellow:"var(--rsp-yellow)",orange:"var(--rsp-yellow)","red-faded":"var(--rsp-red-faded)",red:"var(--rsp-red)",grey:"var(--rsp-grey-400)","red-warning":"var(--rsp-red-faded)"};let m="";return"bullet"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"}))),"circle"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"check"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"warning"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"}))),"error"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"}))),"times"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"}))),"circle-check"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"}))),"circle-times"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"}))),"chevron-up"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M416 352c-8.188 0-16.38-3.125-22.62-9.375L224 173.3l-169.4 169.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25C432.4 348.9 424.2 352 416 352z"}))),"chevron-down"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"}))),"chevron-right"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"}))),"chevron-left"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"}))),"plus"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"}))),"minus"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"}))),"sync"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M483.515 28.485L431.35 80.65C386.475 35.767 324.485 8 256 8 123.228 8 14.824 112.338 8.31 243.493 7.971 250.311 13.475 256 20.301 256h28.045c6.353 0 11.613-4.952 11.973-11.294C66.161 141.649 151.453 60 256 60c54.163 0 103.157 21.923 138.614 57.386l-54.128 54.129c-7.56 7.56-2.206 20.485 8.485 20.485H492c6.627 0 12-5.373 12-12V36.971c0-10.691-12.926-16.045-20.485-8.486zM491.699 256h-28.045c-6.353 0-11.613 4.952-11.973 11.294C445.839 370.351 360.547 452 256 452c-54.163 0-103.157-21.923-138.614-57.386l54.128-54.129c7.56-7.56 2.206-20.485-8.485-20.485H20c-6.627 0-12 5.373-12 12v143.029c0 10.691 12.926 16.045 20.485 8.485L80.65 431.35C125.525 476.233 187.516 504 256 504c132.773 0 241.176-104.338 247.69-235.493.339-6.818-5.165-12.507-11.991-12.507z"}))),"sync-error"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M256 79.1C178.5 79.1 112.7 130.1 89.2 199.7C84.96 212.2 71.34 218.1 58.79 214.7C46.23 210.5 39.48 196.9 43.72 184.3C73.6 95.8 157.3 32 256 32C337.5 32 408.8 75.53 448 140.6V104C448 90.75 458.7 80 472 80C485.3 80 496 90.75 496 104V200C496 213.3 485.3 224 472 224H376C362.7 224 352 213.3 352 200C352 186.7 362.7 176 376 176H412.8C383.7 118.1 324.4 80 256 80V79.1zM280 263.1C280 277.3 269.3 287.1 256 287.1C242.7 287.1 232 277.3 232 263.1V151.1C232 138.7 242.7 127.1 256 127.1C269.3 127.1 280 138.7 280 151.1V263.1zM224 352C224 334.3 238.3 319.1 256 319.1C273.7 319.1 288 334.3 288 352C288 369.7 273.7 384 256 384C238.3 384 224 369.7 224 352zM40 432C26.75 432 16 421.3 16 408V311.1C16 298.7 26.75 287.1 40 287.1H136C149.3 287.1 160 298.7 160 311.1C160 325.3 149.3 336 136 336H99.19C128.3 393 187.6 432 256 432C333.5 432 399.3 381.9 422.8 312.3C427 299.8 440.7 293 453.2 297.3C465.8 301.5 472.5 315.1 468.3 327.7C438.4 416.2 354.7 480 256 480C174.5 480 103.2 436.5 64 371.4V408C64 421.3 53.25 432 40 432V432z"}))),"shortcode"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M128 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h96C145.7 480 160 465.7 160 448S145.7 416 128 416H64V96h64C145.7 96 160 81.67 160 64S145.7 32 128 32zM416 32h-96C302.3 32 288 46.33 288 63.1S302.3 96 319.1 96H384v320h-64C302.3 416 288 430.3 288 447.1S302.3 480 319.1 480H416c17.6 0 32-14.4 32-32V64C448 46.4 433.6 32 416 32z"}))),"file"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z"}))),"file-disabled"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M639.1 487.1c0-7.119-3.153-14.16-9.191-18.89l-118.8-93.12l.0013-237.3c0-16.97-6.742-33.26-18.74-45.26l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 128 28.65 128 64L128 75.01L38.82 5.11C34.41 1.672 29.19 0 24.04 0C10.19 0-.0002 11.3-.0002 23.1c0 7.12 3.153 14.16 9.192 18.89l591.1 463.1C605.6 510.3 610.8 512 615.1 512C629.8 512 639.1 500.6 639.1 487.1zM464 338.4l-287.1-225.7l-.002-48.51c0-8.836 7.164-16 15.1-16h160l-.0065 79.87c0 17.67 14.33 31.1 31.1 31.1L464 159.1V338.4zM448 463.1H192c-8.834 0-15.1-7.164-15.1-16L176 234.6L128 197L128 447.1c0 35.34 28.65 64 63.1 64H448c20.4 0 38.45-9.851 50.19-24.84l-37.72-29.56C457.5 461.4 453.2 463.1 448 463.1z"}))),"loading"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[r],d:"M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"}))),"file-download"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M216 342.1V240c0-13.25-10.75-24-24-24S168 226.8 168 240v102.1L128.1 303C124.3 298.3 118.2 296 112 296S99.72 298.3 95.03 303c-9.375 9.375-9.375 24.56 0 33.94l80 80c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94s-24.56-9.375-33.94 0L216 342.1zM365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448z"}))),"calendar"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"}))),"calendar-error"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M151.1 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V192H47.1V448C47.1 456.8 55.16 464 63.1 464H284.5C296.7 482.8 312.5 499.1 330.8 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24L151.1 64zM576 368C576 447.5 511.5 512 432 512C352.5 512 287.1 447.5 287.1 368C287.1 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368zM432 416C418.7 416 408 426.7 408 440C408 453.3 418.7 464 432 464C445.3 464 456 453.3 456 440C456 426.7 445.3 416 432 416zM447.1 288C447.1 279.2 440.8 272 431.1 272C423.2 272 415.1 279.2 415.1 288V368C415.1 376.8 423.2 384 431.1 384C440.8 384 447.1 376.8 447.1 368V288z"}))),"help"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 400c-18 0-32-14-32-32s13.1-32 32-32c17.1 0 32 14 32 32S273.1 400 256 400zM325.1 258L280 286V288c0 13-11 24-24 24S232 301 232 288V272c0-8 4-16 12-21l57-34C308 213 312 206 312 198C312 186 301.1 176 289.1 176h-51.1C225.1 176 216 186 216 198c0 13-11 24-24 24s-24-11-24-24C168 159 199 128 237.1 128h51.1C329 128 360 159 360 198C360 222 347 245 325.1 258z"}))),"copy"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"}))),"info"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"}))),"info-open"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z"}))),"list"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"}))),"empty"===c&&(m=(0,l.createElement)("svg",{height:n,width:n,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"})),"external-link"===c&&(m=(0,l.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("path",{fill:o[i],d:"M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h94.1L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135V328c0 13.3 10.7 24 24 24s24-10.7 24-24V168c0-13.3-10.7-24-24-24H160z"}))),"shield"===c&&(m=(0,l.createElement)("svg",{height:n,"aria-hidden":"true",focusable:"false",role:"img",id:"uuid-026a4e87-44db-4336-a398-3c29d25b7317",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"},(0,l.createElement)("path",{fill:"#f9c23e",d:"M280.8,62.4L140.5,0,0,62.2V213.3c0,10.7,1.6,21.3,4.9,31.5,9.5,29.9,28.2,52.8,54.4,69.5,26,16.6,52.4,32.4,78.6,48.6,2,1.2,3.4,.9,5.1-.2,19.9-12.3,39.8-24.5,59.6-36.8,12.6-7.8,25.5-15.1,36.5-25.1,26.4-24.2,41.4-53.6,41.5-89.9V62.4h.2Z"}),(0,l.createElement)("g",null,(0,l.createElement)("g",null,(0,l.createElement)("rect",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",x:"155",y:"266.8",width:"77.6",height:"6"}),(0,l.createElement)("path",{fill:"#1d2327",d:"M224.4,204.5h-1.8v-10.1c0-15.9-12.9-28.8-28.8-28.8s-28.8,12.9-28.8,28.8v10.1h-1.8c-4.6,0-8.3,3.7-8.3,8.3v51.3h77.6v-51.3c0-4.6-3.7-8.3-8.3-8.3h.2Zm-45.3-10.1c0-8.1,6.6-14.7,14.7-14.7s14.7,6.6,14.7,14.7v10.1h-29.5v-10.1h.1Zm36.6,32.9l-20.7,20.2c-.2,.2-.3,.4-.5,.6l-2,2c-.2,.2-.4,.4-.6,.5l-3.8,3.8-4.5-4.3-2-2c-.2-.2-.4-.4-.5-.6l-9.1-9.1c-2.4-2.4-2.4-6.4,0-8.8l2-2c2.4-2.4,6.4-2.4,8.8,0l5.3,5.3,16.9-16.4c2.4-2.4,6.4-2.4,8.8,0l2,2c2.4,2.4,2.4,6.4,0,8.8h-.1Z"})),(0,l.createElement)("g",null,(0,l.createElement)("path",{fill:"#1d2327",d:"M125.2,192.3c-.5-2.9-.5-5.8-1-8.6-.5-2.4-2.6-4-4.8-3.9-2.3,0-4.2,1.9-4.7,4.3-.2,1,0,1.9,0,2.9,.8,14.6,7.2,26.3,18.2,35.7,2.2,1.9,4.5,3.5,6.9,4.8v-11.8c-7.4-5.8-12.9-14.1-14.6-23.3v-.1Z"}),(0,l.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M96.4,236.1c-13-15-20-32.3-19.5-52.3,.3-13.1,6.1-23.6,16.6-31.2,11.5-8.5,24.5-10.9,38.3-7.1,12.7,3.5,22,10.7,27.4,22,2.1-2.7,4.5-5.2,7.2-7.4-4-7-9.7-12.9-17-17.4-17-10.4-34.9-11.7-52.9-3.1-19,9.1-28.7,24.7-29.3,45.8,0,5.2,.5,10.2,1.4,15.2,3.4,19.4,13.4,35.2,27.2,48.9,1.1,1.1,2.5,1.6,4.1,1.4,1.8-.2,3.2-1.3,3.8-3,.6-1.8,.4-3.6-1-5.1-2.1-2.2-4.2-4.4-6.2-6.7h-.1Z"}),(0,l.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M68.1,89.4c1.1-.4,2.1-1,3.1-1.5,17.9-9.1,36.8-12.7,56.8-11.3,12.2,.8,23.9,3.8,35.1,8.7,3,1.3,5.9,2.8,8.9,4.1,2.7,1.1,5.3,0,6.4-2.4,1.1-2.3,0-5-2.3-6.3-11-5.7-22.4-10-34.6-12.3-4.2-.8-8.5-1.1-12.8-1.7h-17.1c-.3,0-.6,.2-.9,.2-11.2,.8-22,3.2-32.5,7.2-4.9,1.9-9.7,4.1-14.3,6.6-2.5,1.3-3.4,4.2-2.2,6.5,1.1,2.2,4,3.2,6.4,2.1v.1Z"}),(0,l.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M61.1,153.5c13.6-21.6,33.6-31.5,58.7-32.1h6c.8,0,1.6,.2,2.3,.3,13.4,1.7,25.5,6.6,35.9,15.4,5.8,4.9,10.5,10.3,14.1,16.2,3.1-1.2,6.4-2,9.8-2.5-4.7-8.7-11.3-16.3-19.6-22.7-19-14.6-40.5-19.5-64.1-15.1-14.3,2.7-26.9,9-37.7,18.8-10.4,9.5-17.8,20.9-21.2,34.6-2.8,11.3-2.6,22.7-.9,34.1,1.1,7,2.9,13.9,5.4,20.5,.9,2.3,3,3.7,5.2,3.5,2.1-.2,3.9-2,4.3-4.3,.2-1.1-.2-2.2-.6-3.2-4.3-11.9-6.3-24.1-5.6-36.7,.5-9.6,2.8-18.7,8-26.8h0Z"}),(0,l.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M139.8,240.6c-20.9-8.4-34.1-23.7-38.4-46.7-.8-4.3-1.4-8.7-.4-13,1.8-7.1,6.4-11.4,13.4-13.5,11.8-3.4,24.7,5.3,24.5,17.6,0,4.8,1.4,9.3,4,13.4,.3,.5,.6,.9,.9,1.3,1.6-2.4,3.7-4.6,6.1-6.2,0-.9,0-1.9,.2-2.8-.7-1.7-1.1-3.5-1.2-5.3-.3-6.1-1.6-11.9-5.5-16.8-6.8-8.8-15.9-12.4-27-11.5-11.3,.9-21.6,9.6-24.5,20.6-1.8,6.6-.9,13.3,.4,19.8,2.4,12.9,8.2,24,17.1,33.7,8.6,9.4,18.8,15.8,30.6,19.8v-10.4h-.2Z"}),(0,l.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M47.5,133.2c6.8-8.8,15-16,24.6-21.6,20.8-12,43.2-15.2,66.6-11,14.8,2.7,28.2,8.7,39.9,18.2,6.3,5,11.6,11,16.4,17.4,1.9,2.5,4.8,2.8,7,1.1,2.1-1.7,2.4-4.5,.6-7-5.9-8.2-12.8-15.3-20.9-21.3-18.3-13.6-39.1-19.6-61.7-20-6.3,0-12.5,.6-18.6,1.6-15.7,2.8-30.1,8.6-42.9,18.1-8.3,6.2-15.5,13.5-21.5,22-1.6,2.3-1.3,5.1,.7,6.7,2.1,1.7,4.9,1.5,6.8-.7,1-1.2,1.9-2.5,2.9-3.7l.1,.2Z"}))))),"file-search"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,fill:"none",viewBox:"0 0 384 512"},(0,l.createElement)("path",{d:"M374.6 150.6l-141.3-141.3C227.4 3.371 219.2 0 210.7 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.35 0 64-28.66 64-64V173.3C384 164.8 380.6 156.6 374.6 150.6zM224 22.63L361.4 160H248C234.8 160 224 149.2 224 136V22.63zM368 448c0 26.47-21.53 48-48 48H64c-26.47 0-48-21.53-48-48V64c0-26.47 21.53-48 48-48h144v120c0 22.06 17.94 40 40 40h120V448zM176 208c-53.02 0-96 42.98-96 96s42.98 96 96 96c23.62 0 44.96-8.859 61.68-23l68.66 68.66C307.9 447.2 309.9 448 312 448s4.094-.7813 5.656-2.344c3.125-3.125 3.125-8.188 0-11.31l-68.66-68.66C263.1 348.1 272 327.6 272 304C272 250.1 229 208 176 208zM176 384C131.9 384 96 348.1 96 304S131.9 224 176 224S256 259.9 256 304S220.1 384 176 384z"}))),"download"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,fill:"none",viewBox:"0 0 512 512"},(0,l.createElement)("path",{d:"M480 352h-88C387.6 352 384 355.6 384 360s3.582 8 8 8H480c8.822 0 16 7.178 16 16v96c0 8.822-7.178 16-16 16H32c-8.822 0-16-7.178-16-16v-96c0-8.822 7.178-16 16-16h88C124.4 368 128 364.4 128 360S124.4 352 120 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM464 432c0-17.6-14.4-32-32-32s-32 14.4-32 32c0 17.6 14.4 32 32 32S464 449.6 464 432zM416 432c0-8.822 7.178-16 16-16s16 7.178 16 16S440.8 448 432 448S416 440.8 416 432zM250.3 413.7c3.125 3.125 8.188 3.125 11.31 0l152-152C415.2 260.1 416 258.1 416 256s-.7813-4.094-2.344-5.656c-3.125-3.125-8.188-3.125-11.31 0L264 388.7V8C264 3.594 260.4 0 256 0S248 3.594 248 8v380.7L109.7 250.3c-3.125-3.125-8.188-3.125-11.31 0s-3.125 8.188 0 11.31L250.3 413.7z"}))),"satellite-dish"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:n,viewBox:"0 0 512 512"},(0,l.createElement)("path",{d:"M208 0c-8.8 0-16 7.2-16 16s7.2 16 16 16c150.2 0 272 121.8 272 272c0 8.8 7.2 16 16 16s16-7.2 16-16C512 136.1 375.9 0 208 0zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16c97.2 0 176 78.8 176 176c0 8.8 7.2 16 16 16s16-7.2 16-16c0-114.9-93.1-208-208-208zM32 304c0-24.5 5-47.7 13.9-68.8L276.8 466.1C255.7 475 232.5 480 208 480c-97.2 0-176-78.8-176-176zm33.5-94.5c-14-14-37.3-12.1-45.7 5.8C7.1 242.2 0 272.3 0 304C0 418.9 93.1 512 208 512c31.7 0 61.8-7.1 88.7-19.8c17.9-8.4 19.8-31.8 5.8-45.7L195.3 339.3l24-24c6.3 3 13.3 4.7 20.7 4.7c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48c0 7.4 1.7 14.4 4.7 20.7l-24 24L65.5 209.5zM224 272a16 16 0 1 1 32 0 16 16 0 1 1 -32 0z"}))),"rotate-light"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:n,viewBox:"0 0 512 512"},(0,l.createElement)("path",{d:"M426.1 301.2C406.2 376.5 337.6 432 256 432c-51 0-96.9-21.7-129-56.3l41-41c5.1-5.1 8-12.1 8-19.3c0-15.1-12.2-27.3-27.3-27.3H48c-8.8 0-16 7.2-16 16V404.7C32 419.8 44.2 432 59.3 432c7.2 0 14.2-2.9 19.3-8l25.7-25.7C142.3 438.7 196.2 464 256 464c97.4 0 179.2-67 201.8-157.4c2.4-9.7-5.2-18.6-15.2-18.6c-7.8 0-14.5 5.6-16.5 13.2zM385 136.3l-41 41c-5.1 5.1-8 12.1-8 19.3c0 15.1 12.2 27.3 27.3 27.3H464c8.8 0 16-7.2 16-16V107.3C480 92.2 467.8 80 452.7 80c-7.2 0-14.2 2.9-19.3 8l-25.7 25.7C369.7 73.3 315.8 48 256 48C158.6 48 76.8 115 54.2 205.4c-2.4 9.7 5.2 18.6 15.2 18.6c7.8 0 14.5-5.6 16.5-13.2C105.8 135.5 174.4 80 256 80c51 0 96.9 21.7 129.1 56.3zM448 192H374.6L448 118.6V192zM64 320h73.4L64 393.4V320z"}))),"rotate-exclamation-light"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("defs",null,(0,l.createElement)("style",null,`\n .fa-secondary {\n opacity: 0.4;\n color: ${o[i]};\n }\n `)),(0,l.createElement)("path",{className:"fa-primary",d:"M280 152c0-13.3-10.7-24-24-24s-24 10.7-24 24V264c0 13.3 10.7 24 24 24s24-10.7 24-24V152zM256 384a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"}),(0,l.createElement)("path",{className:"fa-secondary",d:"M432 117.4C391 65.4 327.4 32 256 32C158.4 32 75.5 94.4 44.8 181.3c-5.9 16.7 2.8 34.9 19.5 40.8s34.9-2.8 40.8-19.5C127.1 140.5 186.4 96 256 96c52.3 0 98.8 25.1 128 64H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h84.3c.5 0 1 0 1.5 0H464c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v37.4zm35.2 213.2c5.9-16.7-2.8-34.9-19.5-40.8s-34.9 2.8-40.8 19.5C384.9 371.5 325.6 416 256 416c-52.3 0-98.8-25.1-128-64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H48c-17.7 0-32 14.3-32 32V432c0 17.7 14.3 32 32 32s32-14.3 32-32V394.6c41 52 104.6 85.4 176 85.4c97.6 0 180.5-62.4 211.2-149.3z"}))),"radar-duotone"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("defs",null,(0,l.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,l.createElement)("path",{className:"fa-primary",d:"M497 49c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-182 182c-7.7-3.3-16.1-5.1-25-5.1c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64c0-8.9-1.8-17.3-5.1-25L497 49z"}),(0,l.createElement)("path",{className:"fa-secondary",d:"M350.9 127.2l-46.1 46.1c-14.3-8.4-31-13.3-48.8-13.3c-53 0-96 43-96 96s43 96 96 96s96-43 96-96h64c0 73.5-49.6 135.5-117.2 154.2C290.8 394.7 274.7 384 256 384s-34.8 10.7-42.8 26.2c-51.7-14.3-92.8-53.9-109.4-104.6c14.4-8.3 24.1-23.8 24.1-41.7c0-19.4-11.5-36.1-28-43.7C116.2 149.1 179.9 96 256 96c35.5 0 68.3 11.6 94.9 31.2zm22.8-22.8C341.2 79 300.4 64 256 64C163.1 64 85.7 129.9 67.9 217.6C47.2 222.9 32 241.7 32 264c0 23.8 17.3 43.6 40.1 47.4c19.3 64.3 71.5 114.4 137 130.9C213.8 463.8 233 480 256 480s42.2-16.2 46.9-37.8C386.3 421.3 448 345.9 448 256h64c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0c62.1 0 118.9 22.1 163.3 58.8l-45.5 45.5z"}))),"satellite-dish-duotone"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:n},(0,l.createElement)("defs",null,(0,l.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,l.createElement)("path",{className:"fa-primary",d:"M60.6 220.6c-14.5-14.5-38.8-11.8-46.3 7.3C5.1 251.5 0 277.1 0 304C0 418.9 93.1 512 208 512c26.9 0 52.5-5.1 76.1-14.4c19-7.5 21.8-31.8 7.3-46.3L187.3 347.3l28.4-28.4c2.6 .7 5.4 1.1 8.3 1.1c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32c0 2.9 .4 5.6 1.1 8.3l-28.4 28.4L60.6 220.6z"}),(0,l.createElement)("path",{className:"fa-secondary",d:"M224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32c123.7 0 224 100.3 224 224c0 17.7 14.3 32 32 32s32-14.3 32-32C512 128.9 383.1 0 224 0zm0 96c-17.7 0-32 14.3-32 32s14.3 32 32 32c70.7 0 128 57.3 128 128c0 17.7 14.3 32 32 32s32-14.3 32-32c0-106-86-192-192-192z"}))),"spinner"===c&&(m=(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20",height:"20"},(0,l.createElement)("defs",null,(0,l.createElement)("style",null,"\n .fa-secondary {\n opacity: 0.4;\n }\n ")),(0,l.createElement)("path",{className:"fa-primary",d:"M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM96 256A48 48 0 1 0 0 256a48 48 0 1 0 96 0zM75 142.9A48 48 0 1 0 142.9 75 48 48 0 1 0 75 142.9z"}),(0,l.createElement)("path",{className:"fa-secondary",d:"M369.1 75A48 48 0 1 1 437 142.9 48 48 0 1 1 369.1 75zM416 256a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM208 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM75 369.1A48 48 0 1 1 142.9 437 48 48 0 1 1 75 369.1zm294.2 0A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z"}))),(0,l.createElement)("div",{...e,ref:t},m)})),c=({name:e,color:t,size:s,tooltip:c})=>{const i=e||"bullet",n=t||"black";let o=s||15,m=c?"tooltip-":"",d=Math.floor(1e9*Math.random());return c?(0,l.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+n},(0,l.createElement)(a,{"data-for":".rsssl-"+d,name:i,color:n,size:o,id:d,className:"rsssl-"+d,"data-tooltip-delay-hide":200}),(0,l.createElement)(r.m_,{style:{zIndex:99},id:d,place:"bottom",anchorSelect:".rsssl-"+d,content:c})):(0,l.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+n},(0,l.createElement)(a,{name:i,color:n,size:o}))}},9166:(e,t,s)=>{s.d(t,{A:()=>l});const l=e=>function(t){return new Promise((s=>setTimeout((()=>s(t)),e)))}}}]); \ No newline at end of file diff --git a/settings/build/index.50afff8af9136759c02e.asset.php b/settings/build/index.f08f8de53fcc9879e8a0.asset.php similarity index 68% rename from settings/build/index.50afff8af9136759c02e.asset.php rename to settings/build/index.f08f8de53fcc9879e8a0.asset.php index d66b14706..c98e0e9bc 100644 --- a/settings/build/index.50afff8af9136759c02e.asset.php +++ b/settings/build/index.f08f8de53fcc9879e8a0.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices'), 'version' => '50afff8af9136759c02e'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices'), 'version' => 'f08f8de53fcc9879e8a0'); diff --git a/settings/build/index.50afff8af9136759c02e.js b/settings/build/index.f08f8de53fcc9879e8a0.js similarity index 99% rename from settings/build/index.50afff8af9136759c02e.js rename to settings/build/index.f08f8de53fcc9879e8a0.js index 8fbf0c3c8..5f51105e6 100644 --- a/settings/build/index.50afff8af9136759c02e.js +++ b/settings/build/index.f08f8de53fcc9879e8a0.js @@ -1 +1 @@ -(()=>{var e,t,n={2043:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1621),s=n(5511);const o=(0,r.vt)(((e,t)=>({menu:[],subMenuLoaded:!1,previousMenuItem:!1,nextMenuItem:!1,selectedMainMenuItem:!1,selectedSubMenuItem:!1,selectedFilter:!1,activeGroupId:!1,hasPremiumItems:!1,subMenu:{title:" ",menu_items:[]},setSelectedSubMenuItem:async t=>{let n=u(t);e((e=>({selectedSubMenuItem:t,selectedMainMenuItem:n}))),window.location.hash=n+"/"+t},setSelectedMainMenuItem:t=>{e((e=>({selectedMainMenuItem:t}))),window.location.hash=t},fetchSelectedMainMenuItem:()=>{let t=(0,s.A)("main")||"dashboard";e((e=>({selectedMainMenuItem:t})))},fetchSelectedSubMenuItem:async()=>{let t=(0,s.A)("menu")||"general";e((e=>({selectedSubMenuItem:t})))},fetchMenuData:t=>{let n=rsssl_settings.menu;n=Object.values(n);const r=(0,s.A)("main")||"dashboard";if(n=n.filter((e=>!e.default_hidden||r===e.id)),void 0!==t){let s=c(n,r);const o=d(s,t);s.menu_items=l(s.menu_items,t,o);const{nextMenuItem:i,previousMenuItem:u}=a(n,o,t),f=s.menu_items.filter((e=>!0===e.premium)).length>0;e((e=>({subMenuLoaded:!0,menu:n,nextMenuItem:i,previousMenuItem:u,selectedMainMenuItem:r,selectedSubMenuItem:o,subMenu:s,hasPremiumItems:f})))}else e((e=>({menu:n,selectedMainMenuItem:r})))},getDefaultSubMenuItem:async e=>{let n=t().subMenuLoaded;n||await t().fetchMenuData(e);let r=t().subMenu,o=n&&r.hasOwnProperty(0)?r[0].id:"general",i=(0,s.A)("menu"),a=!1;for(const e in(void 0).menu.menu_items)r.hasOwnProperty(e)&&r[e].id===i&&(a=!0);return a||(i=!1),i||o}}))),i=(e,t,n)=>(t.forEach((t=>{t.visible&&(e.push(t.id),t.hasOwnProperty("menu_items")&&(t.menu_items=l(t.menu_items,n),i(e,t.menu_items,n)))})),e),a=(e,t,n)=>{let r,s;const o=[];i(o,e,n);const a=o.findIndex((e=>e===t));return-1!==a&&(r=o[0===a?"":a-1],f(r,e).hasOwnProperty("menu_items")&&(r=o[0===a?"":a-2]),s=o[a===o.length-1?"":a+1],r=r||o[0],s=s||o[o.length-1]),{nextMenuItem:s,previousMenuItem:r}},l=(e,t)=>{if(!Array.isArray(t))return e;const n=e;for(const[r,s]of e.entries()){let e=t.filter((e=>e.menu_id===s.id));e=e.filter((e=>e.visible)),0!==e.length||s.hasOwnProperty("menu_items")?("object"==typeof n[r]&&null!==n[r]&&(n[r].visible=!0),s.hasOwnProperty("menu_items")&&(n[r].menu_items=l(s.menu_items,t))):"object"==typeof n[r]&&null!==n[r]&&(n[r].visible=!1)}return n},c=(e,t)=>{let n=[];for(const r in e)e.hasOwnProperty(r)&&e[r].id===t&&(n=e[r]);return n=p(n),n},u=e=>{let t=rsssl_settings.menu;for(const n in t){let r=t[n];if(r.id===e)return r.id;if(r.menu_items)for(const t in r.menu_items){let n=r.menu_items[t];if(n.id===e)return r.id;if(n.menu_items)for(const t in n.menu_items)if(n.menu_items[t].id===e)return r.id}}return!1},d=(e,t)=>{let n,r=e&&e.menu_items.hasOwnProperty(0)?e.menu_items[0].id:"general",o=i([],e.menu_items),a=(0,s.A)("menu");n=o.filter((e=>e===a)),n||(a=!1);let l=a||r;if(0===t.filter((e=>e.menu_id===l)).length){let t=f(l,e.menu_items);t&&t.menu_items&&t.menu_items.hasOwnProperty(0)&&(l=t.menu_items[0].id)}return l},f=(e,t)=>{for(const n in t){let r=t[n];if(r.id===e)return r;if(r.menu_items){let t=f(e,r.menu_items);if(t)return t}}return!1},p=e=>{let t=Array.isArray(e.menu_items)?e.menu_items:Object.values(e.menu_items);for(let[e,n]of t.entries())"object"==typeof n&&null!==n&&(n.visible=!0,n.hasOwnProperty("menu_items")&&(n=p(n)),t[e]=n);return e.menu_items=t,e.visible=!0,e}},5319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(1621).vt)(((e,t)=>({modalData:[],buttonsDisabled:!1,showModal:!1,ignoredItems:[],fixedItems:[],item:!1,setIgnoredItemId:n=>{let r=t().ignoredItems;r.push(n),e({ignoredItems:r})},setFixedItemId:n=>{let r=t().fixedItems;r.push(n),e({fixedItems:r})},handleModal:(t,n,r)=>{e({showModal:t,modalData:n,item:r})},setModalData:t=>{e({modalData:t})}})))},7283:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1621),s=n(6535),o=n(6856),i=n(7723);const a=(0,r.vt)(((e,t)=>({steps:[],currentStepIndex:0,currentStep:{},error:!1,networkProgress:0,networkActivationStatus:"",certificateValid:"",networkwide:!1,sslEnabled:!1,overrideSSL:!1,showOnboardingModal:!1,modalStatusLoaded:!1,dataLoaded:!1,processing:!1,email:"",includeTips:!1,sendTestEmail:!0,overrideSSLDetection:!1,footerStatus:"",setFooterStatus:t=>{e({footerStatus:t})},setIncludeTips:t=>{e((e=>({includeTips:t})))},setSendTestEmail:t=>{e((e=>({sendTestEmail:t})))},setEmail:t=>{e((e=>({email:t})))},setShowOnboardingModal:t=>{e((e=>({showOnboardingModal:t})))},setProcessing:t=>{e((e=>({processing:t})))},setCurrentStepIndex:n=>{const r=t().steps[n];e((e=>({currentStepIndex:n,currentStep:r})))},dismissModal:async t=>{let n={};n.dismiss=t,e((()=>({showOnboardingModal:!t}))),await o.Eo("dismiss_modal",n)},setOverrideSSL:async t=>{e({overrideSSL:t});let n={overrideSSL:t};await o.Eo("override_ssl_detection",n)},activateSSL:()=>{e((e=>({processing:!0}))),o.YA("activate_ssl").then((async n=>{e((e=>({processing:!1}))),t().setCurrentStepIndex(t().currentStepIndex+1),n.success&&(n.site_url_changed?window.location.reload():t().networkwide&&e((e=>({networkActivationStatus:"main_site_activated"}))),e({sslEnabled:!0}))}))},saveEmail:()=>{t().setFooterStatus((0,i.__)("Updating email preferences..","really-simple-ssl"));let n={};n.email=t().email,n.includeTips=t().includeTips,n.sendTestEmail=t().sendTestEmail,e((e=>({processing:!0}))),o.Eo("update_email",n).then((n=>{e((e=>({processing:!1}))),t().setFooterStatus("")}))},updateItemStatus:(n,r,o,i,a)=>{const l=t().steps.findIndex((e=>e.id===n)),c=t().steps[l].items.findIndex((e=>e.id===r));e((0,s.jM)((e=>{void 0!==o&&(e.steps[l].items[c].action=o),void 0!==i&&(e.steps[l].items[c].status=i),void 0!==a&&(e.steps[l].items[c].activated=a)})));let u=t().steps[t().currentStepIndex];e((0,s.jM)((e=>{e.currentStep=u})))},fetchOnboardingModalStatus:async()=>{o.Eo("get_modal_status").then((t=>{e({showOnboardingModal:!t.dismissed,modalStatusLoaded:!0})}))},setShowOnBoardingModal:t=>e((e=>({showOnboardingModal:t}))),pluginInstaller:async(n,r,s)=>{if(!r)return;e((()=>({processing:!0}))),t().updateItemStatus("plugins",n,r,"processing"),t().setFooterStatus((0,i.__)("Installing %d...","really-simple-ssl").replace("%d",s));let o=await c(r,n);t().updateItemStatus("plugins",n,o),"none"!==o&&"completed"!==o?(t().setFooterStatus((0,i.__)("Activating %d...","really-simple-ssl").replace("%d",s)),o=await c(o,n),t().updateItemStatus("plugins",n,o)):t().setFooterStatus(""),e((e=>({processing:!1})))},getSteps:async t=>{const{steps:n,networkActivationStatus:r,certificateValid:s,networkProgress:o,networkwide:i,overrideSSL:a,error:c,sslEnabled:u}=await l(t);let d=0;(u||i&&"completed"===r)&&(d=1),e({steps:n,currentStepIndex:d,currentStep:n[d],networkActivationStatus:r,certificateValid:s,networkProgress:o,networkwide:i,overrideSSL:a,sslEnabled:u,dataLoaded:!0,error:c}),"completed"===r&&e({networkProgress:100})},refreshSSLStatus:t=>{t.preventDefault(),e({processing:!0}),e((0,s.jM)((e=>{const t=e.steps.findIndex((e=>"activate_ssl"===e.id)),n=e.steps[t];n.items.forEach((function(e,t){"error"===e.status&&(n.items[t].status="processing",n.items[t].title=(0,i.__)("Re-checking SSL certificate, please wait...","really-simple-ssl"))})),e.steps[t]=n}))),setTimeout((async function(){const{steps:t,certificateValid:n,error:r}=await l(!0);e({steps:t,certificateValid:n,processing:!1,error:r})}),1e3)},activateSSLNetworkWide:()=>{let n=t().networkProgress;void 0!==n&&t().setFooterStatus((0,i.__)("%d% of subsites activated.").replace("%d",n)),t().networkProgress>=100?e({sslEnabled:!0,networkActivationStatus:"completed"}):(e((()=>({processing:!0}))),o.YA("activate_ssl_networkwide").then((n=>{n.success&&(e({networkProgress:n.progress,processing:!1}),t().setFooterStatus((0,i.__)("%d% of subsites activated.").replace("%d",n.progress)),n.progress>=100&&(t().setFooterStatus(""),e({sslEnabled:!0,networkActivationStatus:"completed"})))})))}}))),l=e=>{let t={};return t.forceRefresh=e,o.Eo("onboarding_data",t).then((e=>{let t=e.steps,n=e.ssl_enabled;return{steps:t,networkActivationStatus:e.network_activation_status,certificateValid:e.certificate_valid,networkProgress:e.network_progress,networkwide:e.networkwide,overrideSSL:e.ssl_detection_overridden,error:e.error,sslEnabled:n}}))},c=async(e,t)=>{let n={};return n.id=t,await o.Eo(e,n).then((async e=>e.success?e.next_action:"failed")).catch((e=>"failed"))},u=a},6975:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1621),s=n(6535),o=n(6856),i=n(7723),a=n(9571);const l=(0,r.vt)(((e,t)=>({fieldsLoaded:!1,error:!1,fields:[],changedFields:[],progress:[],nextButtonDisabled:!1,overrideNextButtonDisabled:!1,refreshTests:!1,highLightField:"",setHighLightField:t=>{e({highLightField:t})},setRefreshTests:t=>e((e=>({refreshTests:t}))),handleNextButtonDisabled:t=>{e({overrideNextButtonDisabled:t})},setChangedField:(t,n)=>{e((0,s.jM)((e=>{const r=e.changedFields.findIndex((e=>e.id===t));-1!==r&&e.changedFields.splice(r,1);let s={};s.id=t,s.value=n,e.changedFields.push(s)})))},showSavedSettingsNotice:(e,t="success")=>{d(e,t)},updateField:(t,n)=>{e((0,s.jM)((e=>{let r=e.fields.findIndex((e=>e.id===t));-1!==r&&(e.fields[r].value=n)})))},updateFieldAttribute:(t,n,r)=>{e((0,s.jM)((e=>{let s=e.fields.findIndex((e=>e.id===t));-1!==s&&(e.fields[s][n]=r)})))},updateSubField:(t,n,r)=>{e((0,s.jM)((e=>{let s=e.fields.findIndex((e=>e.id===t)),o=e.fields[s].value;Array.isArray(o)||(o=[]);let i=o.findIndex((e=>e.id===n));-1!==i&&(e.fields[s].updateItemId=n,e.fields[s].value[i].value=r,e.fields[s].value=o.map((e=>{const{deleteControl:t,valueControl:n,statusControl:r,...s}=e;return s})))})))},removeHelpNotice:t=>{e((0,s.jM)((e=>{const n=e.fields.findIndex((e=>e.id===t));e.fields[n].help=!1})))},addHelpNotice:(n,r,o,i,a)=>{t().removeHelpNotice(n);let l={};l.label=r,l.text=o,a&&(l.url=a),i&&(l.title=i),e((0,s.jM)((e=>{const t=e.fields.findIndex((e=>e.id===n));-1!==t&&(e.fields[t].help=l)})))},fieldAlreadyEnabled:e=>{let n=t().changedFields.filter((t=>t.id===e)).length>0,r=t().getFieldValue(e);return!n&&r},getFieldValue:e=>{let n=t().fields.filter((t=>t.id===e))[0];return!!n&&n.value},getField:e=>t().fields.filter((t=>t.id===e))[0]||!1,saveFields:async(n,r,l=!1)=>{let c=void 0===n||n;r=void 0===r||r;let u=t().fields;u=u.filter((e=>"banner"!==e.data_target));let d=t().changedFields,f=[];for(const e of u){let t=d.filter((t=>t.id===e.id)).length>0,n="select"===e.type||"radio"===e.type;(t||e.never_saved&&!e.disabled&&n)&&f.push(e)}if(f.length>0||!0===l){let t=o.Ey(f).then((e=>e));r&&a.toast.promise(t,{pending:(0,i.__)("Saving settings...","really-simple-ssl"),success:(0,i.__)("Settings saved","really-simple-ssl"),error:(0,i.__)("Something went wrong","really-simple-ssl")}),await t.then((t=>{e((0,s.jM)((e=>{e.changedFields=[],e.fields=t.fields,e.progress=t.progress,e.refreshTests=c})))}))}r&&0===f.length&&a.toast.promise(Promise.resolve(),{success:(0,i.__)("Settings saved","really-simple-ssl")})},updateFieldsData:n=>{let r=t().fields;if(r=u(r),n){let o=c(r,n);t().overrideNextButtonDisabled&&(o=t().overrideNextButtonDisabled),e((0,s.jM)((e=>{e.nextButtonDisabled=o})))}e((0,s.jM)((e=>{e.fields=r})))},fetchFieldsData:async t=>{const{fields:n,progress:r,error:s}=await o.ww().then((e=>({fields:e.fields,progress:e.progress,error:e.error}))).catch((e=>{console.error(e)}));let i=u(n),a=i.filter((e=>e.menu_id===t));e({fieldsLoaded:!0,fields:i,selectedFields:a,progress:r,error:s})}}))),c=(e,t)=>{let n=[];for(const r of e)r.menu_id===t&&n.push(r);return n.filter((e=>e.required&&!e.conditionallyDisabled&&(0==e.value.length||!e.value))).length>0},u=e=>{let t=[];return e&&Array.isArray(e)?(e.forEach((function(n,r){let s=!(n.hasOwnProperty("react_conditions")&&!f(n.react_conditions,e,n.id)),o=!n.conditionallyDisabled;const i={...n};i.conditionallyDisabled=!s,i.visible=!(!s&&("letsencrypt"===i.type||"hide"===i.condition_action)),t.push(i),!o&&i.enabled&&"learningmode"!==n.type&&set().setChangedField(n.id,n.value)})),t):[]},d=(e,t)=>{void 0===e&&(e=(0,i.__)("Settings saved","really-simple-ssl")),void 0===t&&(t="success"),"error"===t&&a.toast.error(e),"warning"===t&&a.toast.warning(e),"info"===t&&a.toast.info(e),"success"===t&&a.toast.success(e)},f=(e,t,n)=>{let r="OR"===e[0].relation?"OR":"AND",s="AND"===r;for(const o in e)if(e.hasOwnProperty(o)){let i="AND"===r,a=e[o];if(a.hasOwnProperty("relation"))i=f(a,t,n);else{for(let e in a){let n=0===e.indexOf("!");if(a.hasOwnProperty(e)){let n=a[e];e=e.replace("!","");let r=t.filter((t=>t.id===e));if(r.hasOwnProperty(0)){let e=r[0],t=e.value;if("text_checkbox"===e.type)i=t.hasOwnProperty("show")&&t.show==n;else if("checkbox"===e.type)i=t==n;else if("multicheckbox"===e.type){i=!1;let e=t;if(0===e.length)i=!1;else for(const t of Object.keys(e))if(Array.isArray(n)||(n=[n]),n.includes(e[t])){i=!0;break}}else i="radio"===e.type?Array.isArray(n)?n.includes(t):n===t:!0===n?1===t||"1"===t||!0===t:!1===n?0===t||"0"===t||!1===t:-1!==n.indexOf("EMPTY")?0===t.length:String(t).toLowerCase()===n.toLowerCase()}}n&&(i=!i),s="AND"===r?s&&i:s||i}s="AND"===r?s&&i:s||i}}return s?1:0}},1446:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1609),s=n(6427),o=n(7143);const i=window.wp.notices,a=()=>{const e=(0,o.useSelect)((e=>e(i.store).getNotices().filter((e=>"snackbar"===e.type))),[]);if(void 0===e)return(0,r.createElement)(r.Fragment,null);const{removeNotice:t}=(0,o.useDispatch)(i.store);return(0,r.createElement)(s.SnackbarList,{className:"edit-site-notices",notices:e,onRemove:t})}},6155:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});const r=e=>{const t=rsssl_settings.ref;if(parseInt(t)>0){const[n,r]=e.split("#"),s=n.includes("?")?"&":"?";e=`${n}${s}ref=${t}${r?`#${r}`:""}`}return e}},3972:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1609),s=n(7723),o=n(4124);const i=e=>{e.error&&(console.log("errors detected during the loading of the settings page"),console.log(e.error));let t=!1,n=(0,s.__)("Please check if security settings on the server or a plugin is blocking the requests from Really Simple SSL.","really-simple-ssl"),i=!1;return e.error&&(i=e.error.message,"string"!=typeof i&&(i=JSON.stringify(i)),"rest_no_route"===e.error.code?t=(0,s.__)("The Really Simple SSL Rest API is disabled.","really-simple-ssl")+" "+n:"404"===e.error.data.status?t=(0,s.__)("The Really Simple SSL Rest API returned a not found.","really-simple-ssl")+" "+n:"403"===e.error.data.status&&(t=(0,s.__)("The Really Simple SSL Rest API returned a 403 forbidden error.","really-simple-ssl")+" "+n),i.length>100&&(i=i.substring(0,100)+"...")),(0,r.createElement)(r.Fragment,null,e.error&&(0,r.createElement)("div",{className:"rsssl-rest-error-message"},(0,r.createElement)("h3",null,(0,s.__)("A problem was detected during the loading of the settings","really-simple-ssl")),t&&(0,r.createElement)("p",null,t),(0,r.createElement)("div",null,(0,r.createElement)("p",null,(0,s.__)("The request returned the following errors:","really-simple-ssl")),(0,r.createElement)("ul",null,e.error.code&&(0,r.createElement)("li",null,(0,s.__)("Response code:","really-simple-ssl")," ",e.error.code),e.error.data.status&&(0,r.createElement)("li",null,(0,s.__)("Status code:","really-simple-ssl")," ",e.error.data.status),i&&(0,r.createElement)("li",null,(0,s.__)("Server response:","really-simple-ssl")," ",i))),(0,r.createElement)(o.A,{className:"button button-default",target:"_blank",rel:"noopener noreferrer",text:(0,s.__)("More information","really-simple-ssl"),url:"https://really-simple-ssl.com/instructions/how-to-debug-a-blank-settings-page-in-really-simple-ssl/"})))}},5170:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),s=n(5556),o=n.n(s);class i extends r.Component{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null},this.resetError=this.resetError.bind(this)}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t}),console.log("ErrorBoundary",e,t)}resetError(){this.setState({hasError:!1,error:null,errorInfo:null})}render(){return this.state.hasError?(0,r.createElement)("div",null,(0,r.createElement)("h1",null,"Something went wrong."),(0,r.createElement)("p",null,this.props.fallback),(0,r.createElement)("button",{onClick:this.resetError},"Try Again")):this.props.children}}i.propTypes={children:o().node,fallback:o().node};const a=i},4124:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609);const s=e=>{let t="",n="",s="";if(-1!==e.text.indexOf("%s")){let r=e.text.split(/%s/);t=r[0],s=r[1],n=r[2]}else s=e.text;let o=e.className?e.className:"rsssl-link";return(0,r.createElement)(r.Fragment,null,t,(0,r.createElement)("a",{className:o,target:e.target,rel:e.rel,href:e.url},s),n)}},6856:(e,t,n)=>{"use strict";n.d(t,{Eo:()=>xt,ww:()=>Tt,bl:()=>Pt,YA:()=>Rt,Ey:()=>At});var r={};n.r(r),n.d(r,{hasBrowserEnv:()=>le,hasStandardBrowserEnv:()=>ce,hasStandardBrowserWebWorkerEnv:()=>de,origin:()=>fe});var s=n(5511);function o(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,l=(c=Object.create(null),e=>{const t=i.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const u=e=>(e=e.toLowerCase(),t=>l(t)===e),d=e=>t=>typeof t===e,{isArray:f}=Array,p=d("undefined"),m=u("ArrayBuffer"),h=d("string"),g=d("function"),y=d("number"),b=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==l(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},E=u("Date"),w=u("File"),S=u("Blob"),_=u("FileList"),O=u("URLSearchParams"),[T,A,R,P]=["ReadableStream","Request","Response","Headers"].map(u);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,s;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,s=e.length;r0;)if(r=n[s],t===r.toLowerCase())return r;return null}const N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!p(e)&&e!==N,L=(k="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>k&&e instanceof k);var k;const j=u("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),F=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,((n,s)=>{let o;!1!==(o=t(n,s,e))&&(r[s]=o||n)})),Object.defineProperties(e,r)},B="abcdefghijklmnopqrstuvwxyz",U="0123456789",q={DIGIT:U,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+U},z=u("AsyncFunction"),H={isArray:f,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=l(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:h,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:v,isReadableStream:T,isRequest:A,isResponse:R,isHeaders:P,isUndefined:p,isDate:E,isFile:w,isBlob:S,isRegExp:F,isFunction:g,isStream:e=>b(e)&&g(e.pipe),isURLSearchParams:O,isTypedArray:L,isFileList:_,forEach:x,merge:function e(){const{caseless:t}=I(this)&&this||{},n={},r=(r,s)=>{const o=t&&C(n,s)||s;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):f(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e(x(t,((t,r)=>{n&&g(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],r&&!r(i,e,t)||l[i]||(t[i]=e[i],l[i]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:j,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:N,isContextDefined:I,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const s=f(e)?[]:{};return x(e,((e,t)=>{const o=n(e,r+1);!p(o)&&(s[t]=o)})),t[r]=void 0,s}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(b(e)||g(e))&&g(e.then)&&g(e.catch)};function $(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}H.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const V=$.prototype,W={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{W[e]={value:e}})),Object.defineProperties($,W),Object.defineProperty(V,"isAxiosError",{value:!0}),$.from=(e,t,n,r,s,o)=>{const i=Object.create(V);return H.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),$.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const J=$;function K(e){return H.isPlainObject(e)||H.isArray(e)}function G(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map((function(e,t){return e=G(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Q=H.toFlatObject(H,{},null,(function(e){return/^is[A-Z]/.test(e)})),Y=function(e,t,n){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!H.isUndefined(t[e])}))).metaTokens,s=n.visitor||c,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(H.isDate(e))return e.toISOString();if(!a&&H.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(e)||H.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,s){let a=e;if(e&&!s&&"object"==typeof e)if(H.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(H.isArray(e)&&function(e){return H.isArray(e)&&!e.some(K)}(e)||(H.isFileList(e)||H.endsWith(n,"[]"))&&(a=H.toArray(e)))return n=G(n),a.forEach((function(e,r){!H.isUndefined(e)&&null!==e&&t.append(!0===i?X([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!K(e)||(t.append(X(s,n,o),l(e)),!1)}const u=[],d=Object.assign(Q,{defaultVisitor:c,convertValue:l,isVisitable:K});if(!H.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!H.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),H.forEach(n,(function(n,o){!0===(!(H.isUndefined(n)||null===n)&&s.call(t,n,H.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function Z(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&Y(e,this,t)}const te=ee.prototype;te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Z)}:Z;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ne=ee;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function se(e,t,n){if(!t)return e;const r=n&&n.encode||re,s=n&&n.serialize;let o;if(o=s?s(t,n):H.isURLSearchParams(t)?t.toString():new ne(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const oe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ae={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},le="undefined"!=typeof window&&"undefined"!=typeof document,ce=(ue="undefined"!=typeof navigator&&navigator.product,le&&["ReactNative","NativeScript","NS"].indexOf(ue)<0);var ue;const de="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fe=le&&window.location.href||"http://localhost",pe={...r,...ae},me=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),a=s>=e.length;return o=!o&&H.isArray(r)?r.length:o,a?(H.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&H.isObject(r[o])||(r[o]=[]),t(e,n,r[o],s)&&H.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r{t(function(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},he={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=H.isObject(e);if(s&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return r?JSON.stringify(me(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e)||H.isReadableStream(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Y(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pe.isNode&&H.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=H.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Y(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e,t,n){if(H.isString(e))try{return(0,JSON.parse)(e),H.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||he.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(H.isResponse(e)||H.isReadableStream(e))return e;if(e&&H.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],(e=>{he.headers[e]={}}));const ge=he,ye=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function ve(e){return e&&String(e).trim().toLowerCase()}function Ee(e){return!1===e||null==e?e:H.isArray(e)?e.map(Ee):String(e)}function we(e,t,n,r,s){return H.isFunction(r)?r.call(this,t,n):(s&&(t=n),H.isString(t)?H.isString(r)?-1!==t.indexOf(r):H.isRegExp(r)?r.test(t):void 0:void 0)}class Se{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=ve(t);if(!s)throw new Error("header name must be a non-empty string");const o=H.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Ee(e))}const o=(e,t)=>H.forEach(e,((e,n)=>s(e,n,t)));if(H.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(H.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),r=e.substring(s+1).trim(),!n||t[n]&&ye[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(H.isHeaders(e))for(const[t,r]of e.entries())s(r,t,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=ve(e)){const n=H.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(H.isFunction(t))return t.call(this,e,n);if(H.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ve(e)){const n=H.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=ve(e)){const s=H.findKey(n,e);!s||t&&!we(0,n[s],s,t)||(delete n[s],r=!0)}}return H.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const s=t[n];e&&!we(0,this[s],s,e,!0)||(delete this[s],r=!0)}return r}normalize(e){const t=this,n={};return H.forEach(this,((r,s)=>{const o=H.findKey(n,s);if(o)return t[o]=Ee(r),void delete t[s];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();i!==s&&delete t[s],t[i]=Ee(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return H.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&H.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ve(e);t[r]||(function(e,t){const n=H.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,s){return this[r].call(this,t,e,n,s)},configurable:!0})}))}(n,e),t[r]=!0)}return H.isArray(e)?e.forEach(r):r(e),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Se.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),H.freezeMethods(Se);const _e=Se;function Oe(e,t){const n=this||ge,r=t||n,s=_e.from(r.headers);let o=r.data;return H.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function Te(e){return!(!e||!e.__CANCEL__)}function Ae(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}H.inherits(Ae,J,{__CANCEL__:!0});const Re=Ae;function Pe(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const xe=(e,t,n=3)=>{let r=0;const s=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s,o=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[i];s||(s=l),n[o]=a,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-sr)return s&&(clearTimeout(s),s=null),n=o,e.apply(null,arguments);s||(s=setTimeout((()=>(s=null,n=Date.now(),e.apply(null,arguments))),r-(o-n)))}}((n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,a=o-r,l=s(a);r=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:n,lengthComputable:null!=i};c[t?"download":"upload"]=!0,e(c)}),n)},Ce=pe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=H.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Ne=pe.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];H.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),H.isString(r)&&i.push("path="+r),H.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ie(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Le=e=>e instanceof _e?{...e}:e;function ke(e,t){t=t||{};const n={};function r(e,t,n){return H.isPlainObject(e)&&H.isPlainObject(t)?H.merge.call({caseless:n},e,t):H.isPlainObject(t)?H.merge({},t):H.isArray(t)?t.slice():t}function s(e,t,n){return H.isUndefined(t)?H.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!H.isUndefined(t))return r(void 0,t)}function i(e,t){return H.isUndefined(t)?H.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,s,o){return o in t?r(n,s):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t)=>s(Le(e),Le(t),!0)};return H.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||s,i=o(e[r],t[r],r);H.isUndefined(i)&&o!==a||(n[r]=i)})),n}const je=e=>{const t=ke({},e);let n,{data:r,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=_e.from(a),t.url=se(Ie(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),H.isFormData(r))if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(pe.hasStandardBrowserEnv&&(s&&H.isFunction(s)&&(s=s(t)),s||!1!==s&&Ce(t.url))){const e=o&&i&&Ne.read(i);e&&a.set(o,e)}return t},De="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=je(e);let s=r.data;const o=_e.from(r.headers).normalize();let i,{responseType:a}=r;function l(){r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let c=new XMLHttpRequest;function u(){if(!c)return;const r=_e.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Pe((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(n(new J("Request aborted",J.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const t=r.transitional||ie;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new J(e,t.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,r,c)),c=null},void 0===s&&o.setContentType(null),"setRequestHeader"in c&&H.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),H.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&"json"!==a&&(c.responseType=r.responseType),"function"==typeof r.onDownloadProgress&&c.addEventListener("progress",xe(r.onDownloadProgress,!0)),"function"==typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",xe(r.onUploadProgress)),(r.cancelToken||r.signal)&&(i=t=>{c&&(n(!t||t.type?new Re(null,e,c):t),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);d&&-1===pe.protocols.indexOf(d)?n(new J("Unsupported protocol "+d+":",J.ERR_BAD_REQUEST,e)):c.send(s||null)}))},Fe=(e,t)=>{let n,r=new AbortController;const s=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Re(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{s(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",s):e.unsubscribe(s))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",s)));const{signal:a}=r;return a.unsubscribe=i,[a,()=>{o&&clearTimeout(o),o=null}]},Me=function*(e,t){let n=e.byteLength;if(!t||n{const o=async function*(e,t,n){for await(const r of e)yield*Me(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:s}=await o.next();if(t)return e.close(),void r();let a=s.byteLength;n&&n(i+=a),e.enqueue(new Uint8Array(s))},cancel:e=>(r(e),o.return())},{highWaterMark:2})},Ue=(e,t)=>{const n=null!=e;return r=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:r})))},qe="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ze=qe&&"function"==typeof ReadableStream,He=qe&&("function"==typeof TextEncoder?($e=new TextEncoder,e=>$e.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var $e;const Ve=ze&&(()=>{let e=!1;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),We=ze&&!!(()=>{try{return H.isReadableStream(new Response("").body)}catch(e){}})(),Je={stream:We&&(e=>e.body)};var Ke;qe&&(Ke=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Je[e]&&(Je[e]=H.isFunction(Ke[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})})));const Ge={http:null,xhr:De,fetch:qe&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=je(e);c=c?(c+"").toLowerCase():"text";let p,m,[h,g]=s||o||i?Fe([s,o],i):[];const y=()=>{!p&&setTimeout((()=>{h&&h.unsubscribe()})),p=!0};let b;try{if(l&&Ve&&"get"!==n&&"head"!==n&&0!==(b=await(async(e,t)=>{const n=H.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:H.isBlob(e)?e.size:H.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:H.isArrayBufferView(e)?e.byteLength:(H.isURLSearchParams(e)&&(e+=""),H.isString(e)?(await He(e)).byteLength:void 0))(t):n})(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});H.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body&&(r=Be(n.body,65536,Ue(b,xe(l)),null,He))}H.isString(d)||(d=d?"cors":"omit"),m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:d});let s=await fetch(m);const o=We&&("stream"===c||"response"===c);if(We&&(a||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=H.toFiniteNumber(s.headers.get("content-length"));s=new Response(Be(s.body,65536,a&&Ue(t,xe(a,!0)),o&&y,He),e)}c=c||"text";let i=await Je[H.findKey(Je,c)||"text"](s,e);return!o&&y(),g&&g(),await new Promise(((t,n)=>{Pe(t,n,{data:i,headers:_e.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:m})}))}catch(t){if(y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,m),{cause:t.cause||t});throw J.from(t,t&&t.code,e,m)}})};H.forEach(Ge,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Xe=e=>`- ${e}`,Qe=e=>H.isFunction(e)||null===e||!1===e,Ye=e=>{e=H.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Xe).join("\n"):" "+Xe(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ze(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Re(null,e)}function et(e){return Ze(e),e.headers=_e.from(e.headers),e.data=Oe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ye(e.adapter||ge.adapter)(e).then((function(t){return Ze(e),t.data=Oe.call(e,e.transformResponse,t),t.headers=_e.from(t.headers),t}),(function(t){return Te(t)||(Ze(e),t&&t.response&&(t.response.data=Oe.call(e,e.transformResponse,t.response),t.response.headers=_e.from(t.response.headers))),Promise.reject(t)}))}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const nt={};tt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new J(r(s," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!nt[s]&&(nt[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}};const rt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:tt},st=rt.validators;class ot{constructor(e){this.defaults=e,this.interceptors={request:new oe,response:new oe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ke(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&rt.assertOptions(n,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean)},!1),null!=r&&(H.isFunction(r)?t.paramsSerializer={serialize:r}:rt.assertOptions(r,{encode:st.function,serialize:st.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&H.merge(s.common,s[t.method]);s&&H.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=_e.concat(o,s);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[et.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,s){n.reason||(n.reason=new Re(e,r,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new at((function(t){e=t})),cancel:e}}}const lt=at,ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach((([e,t])=>{ct[t]=e}));const ut=ct,dt=function e(t){const n=new it(t),r=o(it.prototype.request,n);return H.extend(r,it.prototype,n,{allOwnKeys:!0}),H.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ke(t,n))},r}(ge);dt.Axios=it,dt.CanceledError=Re,dt.CancelToken=lt,dt.isCancel=Te,dt.VERSION="1.7.2",dt.toFormData=Y,dt.AxiosError=J,dt.Cancel=dt.CanceledError,dt.all=function(e){return Promise.all(e)},dt.spread=function(e){return function(t){return e.apply(null,t)}},dt.isAxiosError=function(e){return H.isObject(e)&&!0===e.isAxiosError},dt.mergeConfig=ke,dt.AxiosHeaders=_e,dt.formToJSON=e=>me(H.isHTMLForm(e)?new FormData(e):e),dt.getAdapter=Ye,dt.HttpStatusCode=ut,dt.default=dt;const ft=dt;var pt=n(1455),mt=n.n(pt);const ht=()=>"&nonce="+rsssl_settings.rsssl_nonce+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),gt=()=>-1!==rsssl_settings.site_url.indexOf("?"),yt=(e,t)=>new Promise((function(n,r){let s=Et("ajax"),o=new XMLHttpRequest;o.open("POST",s),o.onload=function(){let e;try{e=JSON.parse(o.response)}catch(e){n(wt(o.response,500,"invalid_data"))}o.status>=200&&o.status<300?n(e):n(wt(o.response,o.status,o.statusText))},o.onerror=function(){n(wt(o.response,o.status,o.statusText))};let i={};i.path=e,i.data=t,i=JSON.stringify(i,bt),o.setRequestHeader("Content-Type","application/json; charset=UTF-8"),o.send(i)})),bt=(e,t)=>e?e&&e.includes("Control")?void 0:"object"==typeof t?JSON.parse(JSON.stringify(t,bt)):t:t,vt=e=>new Promise((function(t,n){let r=Et("ajax");r+="&rest_action="+e.replace("?","&");let s=new XMLHttpRequest;s.open("GET",r),s.onload=function(){let e;try{e=JSON.parse(s.response)}catch(e){t(wt(s.response,500,"invalid_data"))}s.status>=200&&s.status<300?(e.hasOwnProperty("request_success")||t(wt(s.response,500,"invalid_data")),t(e)):t(wt(s.response,s.status,s.statusText))},s.onerror=function(){t(wt(s.response,s.status,s.statusText))},s.send()})),Et=e=>{let t;return t=void 0===e?rsssl_settings.site_url:rsssl_settings.admin_ajax_url,"https:"===window.location.protocol&&-1===t.indexOf("https://")?t.replace("http://","https://"):t},wt=(e,t,n)=>{let r={},s={},o={};return o.status=t,s.code=n,s.data=o,s.message=e,r.error=s,r},St=e=>{if(gt()){let t={headers:{"X-WP-Nonce":rsssl_settings.nonce}};return ft.get(Et()+e,t).then((t=>t.data.request_success?t.data:vt(e))).catch((t=>vt(e)))}return mt()({path:e}).then((t=>t.request_success?t:vt(e))).catch((t=>vt(e)))},_t=(e,t)=>{if(gt()){let n={headers:{"X-WP-Nonce":rsssl_settings.nonce}};return ft.post(Et()+e,t,n).then((e=>e.data)).catch((n=>yt(e,t)))}return mt()({path:e,method:"POST",data:t}).catch((n=>yt(e,t)))},Ot=()=>-1!==rsssl_settings.site_url.indexOf("?")?"&":"?",Tt=()=>{let e=(0,s.A)("main");return St("reallysimplessl/v1/fields/get"+Ot()+e+ht())},At=e=>{let t=(0,s.A)("main"),n={nonce:rsssl_settings.rsssl_nonce};return e.push(n),_t("reallysimplessl/v1/fields/set"+Ot()+t,e)},Rt=(e,t,n)=>(t||(t=!1),n||(n=!1),n=encodeURIComponent(JSON.stringify(n)),St("reallysimplessl/v1/tests/"+e+Ot()+"state="+t+ht()+"&data="+n)),Pt=(e,t)=>St("reallysimplessl/v1/tests/"+e+Ot()+"letsencrypt=1&id="+t+ht()),xt=(e,t)=>{const n={...t};return n.nonce=rsssl_settings.rsssl_nonce,_t("reallysimplessl/v1/do_action/"+e,n)}},5511:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{let t=window.location.href;if(-1===t.indexOf("#"))return!1;let n=t.split("#")[1];if(!n)return!1;let r=n.split("&");if("highlightfield"===e){for(let e of r)if(e.startsWith("highlightfield="))return e.split("=")[1];return!1}let s=r[0];if("anchor"===e){if(-1===s.indexOf("/"))return!1;{let e=s.split("/");return e.length>2&&e[2]}}if("menu"===e){if(-1===s.indexOf("/"))return!1;{let e=s.split("/");return e.length>1&&e[1]}}return-1===s.indexOf("/")?s:s.split("/")[0]}},53:(e,t,n)=>{"use strict";function r(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ts});const s=function(){for(var e,t,n=0,s="";n{"use strict";var r=n(6925);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1063:(e,t,n)=>{"use strict";var r=n(1609),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!s(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),s=r[0].inst,u=r[1];return a((function(){s.value=n,s.getSnapshot=t,c(s)&&u({inst:s})}),[e,n,t]),i((function(){return c(s)&&u({inst:s}),e((function(){c(s)&&u({inst:s})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},8940:(e,t,n)=>{"use strict";var r=n(1609),s=n(9888),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=s.useSyncExternalStore,a=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,s){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==s&&f.hasValue){var t=f.value;if(s(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==s&&s(t,n)?t:(i=e,a=n)}var i,a,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,s]);var p=i(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},9888:(e,t,n)=>{"use strict";e.exports=n(1063)},9242:(e,t,n)=>{"use strict";e.exports=n(8940)},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},6535:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:u(e)?2:d(e)?3:0}function l(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function u(e){return M&&e instanceof Map}function d(e){return B&&e instanceof Set}function f(e){return e.o||e.t}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W(e);delete t[H];for(var n=V(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=h),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function h(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=J[e];return t||r(18,e),t}function b(){return D}function v(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function E(e){w(e),e.p.forEach(_),e.p=null}function w(e){e===D&&(D=e.l)}function S(e){return D={p:[],l:D,h:e,m:!0,_:0}}function _(e){var t=e[H];0===t.i||1===t.i?t.j():t.g=!0}function O(e,t){t._=t.p.length;var n=t.p[0],s=void 0!==e&&e!==n;return t.h.O||y("ES5").S(t,e,s),s?(n[H].P&&(E(t),r(4)),o(e)&&(e=T(t,e),t.l||R(t,e)),t.u&&y("Patches").M(n[H].t,e,t.u,t.s)):e=T(t,n,[]),E(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function T(e,t,n){if(g(t))return t;var r=t[H];if(!r)return i(t,(function(s,o){return A(e,r,t,s,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return R(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var s=4===r.i||5===r.i?r.o=p(r.k):r.o,o=s,a=!1;3===r.i&&(o=new Set(s),s.clear(),a=!0),i(o,(function(t,o){return A(e,r,s,t,o,n,a)})),R(e,s,!1),n&&e.u&&y("Patches").N(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,i,a,u){if(s(i)){var d=T(e,i,a&&t&&3!==t.i&&!l(t.R,r)?a.concat(r):void 0);if(c(n,r,d),!s(d))return;e.m=!1}else u&&n.add(i);if(o(i)&&!g(i)){if(!e.h.D&&e._<1)return;T(e,i),t&&t.A.l||R(e,i)}}function R(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function P(e,t){var n=e[H];return(n?f(n):e)[t]}function x(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function C(e){e.P||(e.P=!0,e.l&&C(e.l))}function N(e){e.o||(e.o=p(e.t))}function I(e,t,n){var r=u(t)?y("MapSet").F(t,n):d(t)?y("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:b(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},s=r,o=K;n&&(s=[r],o=G);var i=Proxy.revocable(s,o),a=i.revoke,l=i.proxy;return r.k=l,r.j=a,l}(t,n):y("ES5").J(t,n);return(n?n.A:b()).p.push(r),r}function L(e){return s(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[H],s=a(t);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=k(t,s),r.I=!1}else n=k(t,s);return i(n,(function(t,s){r&&function(e,t){return 2===a(e)?e.get(t):e[t]}(r.t,t)===s||c(n,t,e(s))})),3===s?new Set(n):n}(e)}function k(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}n.d(t,{Ay:()=>Z,jM:()=>Y});var j,D,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),M="undefined"!=typeof Map,B="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=F?Symbol.for("immer-nothing"):((j={})["immer-nothing"]=!0,j),z=F?Symbol.for("immer-draftable"):"__$immer_draftable",H=F?Symbol.for("immer-state"):"__$immer_state",$=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),V="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W=Object.getOwnPropertyDescriptors||function(e){var t={};return V(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},J={},K={get:function(e,t){if(t===H)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var r,s=x(t,n);return s?"value"in s?s.value:null===(r=s.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===P(e.t,t)?(N(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var r=x(f(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var s=P(f(e),t),o=null==s?void 0:s[H];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,s)&&(void 0!==n||l(e.t,t)))return!0;N(e),C(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==P(e.t,t)||t in e.t?(e.R[t]=!1,N(e),C(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},G={};i(K,(function(e,t){G[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),G.deleteProperty=function(e,t){return G.set.call(this,e,t,void 0)},G.set=function(e,t,n){return K.set.call(this,e[0],t,n,e[0])};var X=function(){function e(e){var t=this;this.O=U,this.D=!0,this.produce=function(e,n,s){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var a=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,s=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=y("Patches").$;return s(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),Q=new X,Y=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q);const Z=Y},9571:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bounce:()=>O,Flip:()=>R,Icons:()=>h,Slide:()=>T,ToastContainer:()=>P,Zoom:()=>A,collapseToast:()=>u,cssTransition:()=>d,toast:()=>M,useToast:()=>v,useToastContainer:()=>g});var r=n(1609),s=n(53);const o=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,a=e=>"function"==typeof e,l=e=>i(e)||a(e)?e:null,c=e=>(0,r.isValidElement)(e)||i(e)||a(e)||o(e);function u(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:s}=e;requestAnimationFrame((()=>{s.minHeight="initial",s.height=r+"px",s.transition=`all ${n}ms`,requestAnimationFrame((()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)}))}))}function d(e){let{enter:t,exit:n,appendPosition:s=!1,collapse:o=!0,collapseDuration:i=300}=e;return function(e){let{children:a,position:l,preventExitTransition:c,done:d,nodeRef:f,isIn:p}=e;const m=s?`${t}--${l}`:t,h=s?`${n}--${l}`:n,g=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=f.current,t=m.split(" "),n=r=>{r.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===g.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),o?u(e,d,i):d()};p||(c?t():(g.current=1,e.className+=` ${h}`,e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,a)}}function f(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},m=e=>{let{theme:t,type:n,...s}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...s})},h={info:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function g(e){const[,t]=(0,r.useReducer)((e=>e+1),0),[n,s]=(0,r.useState)([]),u=(0,r.useRef)(null),d=(0,r.useRef)(new Map).current,m=e=>-1!==n.indexOf(e),g=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:m,getToast:e=>d.get(e)}).current;function y(e){let{containerId:t}=e;const{limit:n}=g.props;!n||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function b(e){s((t=>null==e?[]:t.filter((t=>t!==e))))}function v(){const{toastContent:e,toastProps:t,staleId:n}=g.queue.shift();w(e,t,n)}function E(e,n){let{delay:s,staleId:m,...y}=n;if(!c(e)||function(e){return!u.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||d.has(e.toastId)&&null==e.updateId}(y))return;const{toastId:E,updateId:S,data:_}=y,{props:O}=g,T=()=>b(E),A=null==S;A&&g.count++;const R={...O,style:O.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(y).filter((e=>{let[t,n]=e;return null!=n}))),toastId:E,updateId:S,data:_,closeToast:T,isIn:!1,className:l(y.className||O.toastClassName),bodyClassName:l(y.bodyClassName||O.bodyClassName),progressClassName:l(y.progressClassName||O.progressClassName),autoClose:!y.isLoading&&(P=y.autoClose,x=O.autoClose,!1===P||o(P)&&P>0?P:x),deleteToast(){const e=f(d.get(E),"removed");d.delete(E),p.emit(4,e);const n=g.queue.length;if(g.count=null==E?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),n>0){const e=null==E?g.props.limit:1;if(1===n||1===e)g.displayedToast++,v();else{const t=e>n?n:e;g.displayedToast=t;for(let e=0;ee in h)(n)&&(c=h[n](u))),c}(R),a(y.onOpen)&&(R.onOpen=y.onOpen),a(y.onClose)&&(R.onClose=y.onClose),R.closeButton=O.closeButton,!1===y.closeButton||c(y.closeButton)?R.closeButton=y.closeButton:!0===y.closeButton&&(R.closeButton=!c(O.closeButton)||O.closeButton);let C=e;(0,r.isValidElement)(e)&&!i(e.type)?C=(0,r.cloneElement)(e,{closeToast:T,toastProps:R,data:_}):a(e)&&(C=e({closeToast:T,toastProps:R,data:_})),O.limit&&O.limit>0&&g.count>O.limit&&A?g.queue.push({toastContent:C,toastProps:R,staleId:m}):o(s)?setTimeout((()=>{w(C,R,m)}),s):w(C,R,m)}function w(e,t,n){const{toastId:r}=t;n&&d.delete(n);const o={content:e,props:t};d.set(r,o),s((e=>[...e,r].filter((e=>e!==n)))),p.emit(4,f(o,null==o.props.updateId?"added":"updated"))}return(0,r.useEffect)((()=>(g.containerId=e.containerId,p.cancelEmit(3).on(0,E).on(1,(e=>u.current&&b(e))).on(5,y).emit(2,g),()=>{d.clear(),p.emit(3,g)})),[]),(0,r.useEffect)((()=>{g.props=e,g.isToastActive=m,g.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(d.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:u,isToastActive:m}}function y(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function v(e){const[t,n]=(0,r.useState)(!1),[s,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),l=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,r.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:m}=e;function h(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),document.addEventListener("touchmove",w),document.addEventListener("touchend",S);const n=i.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=n.getBoundingClientRect(),n.style.transition="",l.x=y(t.nativeEvent),l.y=b(t.nativeEvent),"x"===e.draggableDirection?(l.start=l.x,l.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(l.start=l.y,l.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function g(t){if(l.boundingRect){const{top:n,bottom:r,left:s,right:o}=l.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&l.x>=s&&l.x<=o&&l.y>=n&&l.y<=r?E():v()}}function v(){n(!0)}function E(){n(!1)}function w(n){const r=i.current;l.canDrag&&r&&(l.didMove=!0,t&&E(),l.x=y(n),l.y=b(n),l.delta="x"===e.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${l.delta}px)`,r.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function S(){document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",S);const t=i.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return o(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)((()=>{c.current=e})),(0,r.useEffect)((()=>(i.current&&i.current.addEventListener("d",v,{once:!0}),a(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=c.current;a(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)})),[]),(0,r.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||E(),window.addEventListener("focus",v),window.addEventListener("blur",E)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",v),window.removeEventListener("blur",E))})),[e.pauseOnFocusLoss]);const _={onMouseDown:h,onTouchStart:h,onMouseUp:g,onTouchEnd:g};return u&&d&&(_.onMouseEnter=E,_.onMouseLeave=v),m&&(_.onClick=e=>{p&&p(e),l.canCloseOnClick&&f()}),{playToast:v,pauseToast:E,isRunning:t,preventExitTransition:s,toastRef:i,eventHandlers:_}}function E(e){let{closeToast:t,theme:n,ariaLabel:s="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":s},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function w(e){let{delay:t,isRunning:n,closeToast:o,type:i="default",hide:l,className:c,style:u,controlledProgress:d,progress:f,rtl:p,isIn:m,theme:h}=e;const g=l||d&&0===f,y={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:g?0:1};d&&(y.transform=`scaleX(${f})`);const b=(0,s.A)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${h}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":p}),v=a(c)?c({rtl:p,type:i,defaultClassName:b}):(0,s.A)(b,c);return r.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:v,style:y,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{m&&o()}})}const S=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:i}=v(e),{closeButton:l,children:c,autoClose:u,onClick:d,type:f,hideProgressBar:p,closeToast:m,transition:h,position:g,className:y,style:b,bodyClassName:S,bodyStyle:_,progressClassName:O,progressStyle:T,updateId:A,role:R,progress:P,rtl:x,toastId:C,deleteToast:N,isIn:I,isLoading:L,iconOut:k,closeOnClick:j,theme:D}=e,F=(0,s.A)("Toastify__toast",`Toastify__toast-theme--${D}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":x},{"Toastify__toast--close-on-click":j}),M=a(y)?y({rtl:x,position:g,type:f,defaultClassName:F}):(0,s.A)(F,y),B=!!P||!u,U={closeToast:m,type:f,theme:D};let q=null;return!1===l||(q=a(l)?l(U):(0,r.isValidElement)(l)?(0,r.cloneElement)(l,U):E(U)),r.createElement(h,{isIn:I,done:N,position:g,preventExitTransition:n,nodeRef:o},r.createElement("div",{id:C,onClick:d,className:M,...i,style:b,ref:o},r.createElement("div",{...I&&{role:R},className:a(S)?S({type:f}):(0,s.A)("Toastify__toast-body",S),style:_},null!=k&&r.createElement("div",{className:(0,s.A)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!L})},k),r.createElement("div",null,c)),q,r.createElement(w,{...A&&!B?{key:`pb-${A}`}:{},rtl:x,theme:D,delay:u,isRunning:t,isIn:I,closeToast:m,hide:p,type:f,style:T,className:O,controlledProgress:B,progress:P||0})))},_=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},O=d(_("bounce",!0)),T=d(_("slide",!0)),A=d(_("zoom")),R=d(_("flip")),P=(0,r.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:o,isToastActive:i}=g(e),{className:c,style:u,rtl:d,containerId:f}=e;function p(e){const t=(0,s.A)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return a(c)?c({position:e,rtl:d,defaultClassName:t}):(0,s.A)(t,l(c))}return(0,r.useEffect)((()=>{t&&(t.current=o.current)}),[]),r.createElement("div",{ref:o,className:"Toastify",id:f},n(((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:p(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:s,props:o}=e;return r.createElement(S,{...o,isIn:i(o.toastId),style:{...o.style,"--nth":n+1,"--len":t.length},key:`toast-${o.key}`},s)})))})))}));P.displayName="ToastContainer",P.defaultProps={position:"top-right",transition:O,autoClose:5e3,closeButton:E,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let x,C=new Map,N=[],I=1;function L(){return""+I++}function k(e){return e&&(i(e.toastId)||o(e.toastId))?e.toastId:L()}function j(e,t){return C.size>0?p.emit(0,e,t):N.push({content:e,options:t}),t.toastId}function D(e,t){return{...t,type:t&&t.type||e,toastId:k(t)}}function F(e){return(t,n)=>j(t,D(e,n))}function M(e,t){return j(e,D("default",t))}M.loading=(e,t)=>j(e,D("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),M.promise=function(e,t,n){let r,{pending:s,error:o,success:l}=t;s&&(r=i(s)?M.loading(s,n):M.loading(s.render,{...n,...s}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,s)=>{if(null==t)return void M.dismiss(r);const o={type:e,...c,...n,data:s},a=i(t)?{render:t}:t;return r?M.update(r,{...o,...a}):M(a.render,{...o,...a}),s},d=a(e)?e():e;return d.then((e=>u("success",l,e))).catch((e=>u("error",o,e))),d},M.success=F("success"),M.info=F("info"),M.error=F("error"),M.warning=F("warning"),M.warn=M.warning,M.dark=(e,t)=>j(e,D("default",{theme:"dark",...t})),M.dismiss=e=>{C.size>0?p.emit(1,e):N=N.filter((t=>null!=e&&t.options.toastId!==e))},M.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},M.isActive=e=>{let t=!1;return C.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},M.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=C.get(n||x);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:s}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:L()};o.toastId!==e&&(o.staleId=e);const i=o.render||s;delete o.render,j(i,o)}}),0)},M.done=e=>{M.update(e,{progress:1})},M.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),M.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},M.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,(e=>{x=e.containerId||e,C.set(x,e),N.forEach((e=>{p.emit(0,e.content,e.options)})),N=[]})).on(3,(e=>{C.delete(e.containerId||e),0===C.size&&p.off(0).off(1).off(5)}))},1621:(e,t,n)=>{"use strict";n.d(t,{vt:()=>d});const r=e=>{let t;const n=new Set,r=(e,r)=>{const s="function"==typeof e?e(t):e;if(!Object.is(s,t)){const e=t;t=(null!=r?r:"object"!=typeof s||null===s)?s:Object.assign({},t,s),n.forEach((n=>n(t,e)))}},s=()=>t,o={setState:r,getState:s,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,s,o);return o};var s=n(1609),o=n(9242);const{useDebugValue:i}=s,{useSyncExternalStoreWithSelector:a}=o;let l=!1;const c=e=>e,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>function(e,t=c,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);const r=a(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return i(r),r}(t,e,n);return Object.assign(n,t),n},d=e=>e?u(e):u}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e].call(o.exports,o,o.exports,s),o.exports}s.m=n,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>e+"."+{8:"91f98cbe247219188651",43:"9b4f5449623ef5cfc663",59:"32503627e0012b8db866",299:"e2c8510f152ca8a880a7",307:"d0ab64bac784368bf355",361:"2faddb7f371fc911c2f1",393:"558c6c40a4c776a58969",439:"b7af361efb18e560a79c",588:"2934ac808737314da558",778:"ebfa62a64f4679b9db87",814:"b3d8b8e2b9f9be83a1fa",838:"a2810159b3db662d2b34"}[e]+".js",s.miniCssF=e=>e+".css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="really-simple-ssl:",s.l=(n,r,o,i)=>{if(e[n])e[n].push(r);else{var a,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var s=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((e=>e(r))),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};s.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{299:1,814:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=s.miniCssF(e),o=s.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",s.nc&&(i.nonce=s.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var s=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=a,i.parentNode&&i.parentNode.removeChild(i),o(l)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={57:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,l]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);l&&l(s)}for(t&&t(n);c{"use strict";var e=s(1609),t=s(6087),n=s(7723),r=s(1446),o=s(2043),i=s(6155);const a=()=>{const{menu:s,selectedMainMenuItem:a,fetchMenuData:l}=(0,o.A)();let c=rsssl_settings.plugin_url;(0,t.useEffect)((()=>{l()}),[]);let u=s.filter((e=>null!==e));return(0,e.createElement)("div",{className:"rsssl-header-container"},(0,e.createElement)("div",{className:"rsssl-header"},(0,e.createElement)("img",{className:"rsssl-logo",src:c+"assets/img/really-simple-ssl-logo.svg",alt:"Really Simple SSL logo"}),(0,e.createElement)("div",{className:"rsssl-header-left"},(0,e.createElement)("nav",{className:"rsssl-header-menu"},(0,e.createElement)("ul",null,u.map(((t,n)=>(0,e.createElement)("li",{key:"menu-"+n},(0,e.createElement)("a",{className:a===t.id?"active":"",href:"#"+t.id.toString()},t.title))))))),(0,e.createElement)("div",{className:"rsssl-header-right"},!rsssl_settings.le_generated_by_rsssl&&(0,e.createElement)("a",{className:"rsssl-knowledge-base-link",href:(0,i.g)("https://really-simple-ssl.com/knowledge-base"),target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Documentation","really-simple-ssl")),rsssl_settings.le_generated_by_rsssl&&(0,e.createElement)("a",{href:rsssl_settings.letsencrypt_url},(0,n.__)("Let's Encrypt","really-simple-ssl")),rsssl_settings.pro_plugin_active&&(0,e.createElement)("a",{href:"https://wordpress.org/support/plugin/really-simple-ssl/",className:"button button-black",target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Support","really-simple-ssl")),!rsssl_settings.pro_plugin_active&&(0,e.createElement)("a",{href:rsssl_settings.upgrade_link,className:"button button-black",target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Go Pro","really-simple-ssl")))),(0,e.createElement)(r.default,{className:"rsssl-wizard-notices"}))};var l=s(3972);const c=t=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"rsssl-header-container"},(0,e.createElement)("div",{className:"rsssl-header"},(0,e.createElement)("img",{className:"rsssl-logo",src:rsssl_settings.plugin_url+"assets/img/really-simple-ssl-logo.svg",alt:"Really Simple SSL logo"}))),(0,e.createElement)("div",{className:"rsssl-content-area rsssl-grid rsssl-dashboard rsssl-page-placeholder"},(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-column-2 rsssl-row-2 "},t.error&&(0,e.createElement)(l.A,{error:t.error})),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-row-2"}),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-row-2"}),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-column-2"})));var u=s(5511),d=s(6975),f=s(7283),p=s(5319),m=s(5170);const h=()=>{const{error:r,fields:i,changedFields:l,fetchFieldsData:h,updateFieldsData:g,fieldsLoaded:y}=(0,d.A)(),{showOnboardingModal:b,fetchOnboardingModalStatus:v,modalStatusLoaded:E}=(0,f.A)(),{selectedMainMenuItem:w,fetchMenuData:S}=(0,o.A)(),{showModal:_}=(0,p.A)(),[O,T]=(0,t.useState)(null),[A,R]=(0,t.useState)(null),[P,x]=(0,t.useState)(null),[C,N]=(0,t.useState)(null),[I,L]=(0,t.useState)(null);(0,t.useEffect)((()=>{E||v()}),[]),(0,t.useEffect)((()=>{rsssl_settings.json_translations.forEach((e=>{let t=JSON.parse(e),r=t.locale_data["really-simple-ssl"]||t.locale_data.messages;r[""].domain="really-simple-ssl",(0,n.setLocaleData)(r,"really-simple-ssl")}))}),[]),(0,t.useEffect)((()=>{"dashboard"!==w&&(O||Promise.all([s.e(8),s.e(838),s.e(778)]).then(s.bind(s,9778)).then((({default:e})=>{T((()=>e))})),P||Promise.resolve().then(s.bind(s,1446)).then((({default:e})=>{x((()=>e))})),C||s.e(588).then(s.bind(s,3588)).then((({default:e})=>{N((()=>e))}))),"dashboard"!==w||A||Promise.all([s.e(8),s.e(838),s.e(43)]).then(s.bind(s,8043)).then((async({default:e})=>{R((()=>e))}))}),[w]);const[k,j]=(0,t.useState)(null);(0,t.useEffect)((()=>{b&&!k&&Promise.all([s.e(8),s.e(838),s.e(59),s.e(814)]).then(s.bind(s,814)).then((({default:e})=>{j((()=>e))}))}),[b]);const[D,F]=(0,t.useState)(null);return(0,t.useEffect)((()=>{_&&!D&&Promise.all([s.e(8),s.e(439)]).then(s.bind(s,1439)).then((({default:e})=>{F((()=>e))}))}),[_]),(0,t.useEffect)((()=>{Promise.resolve().then(s.bind(s,9571)).then((e=>{const t=e.ToastContainer;L((()=>t))}))}),[]),(0,t.useEffect)((()=>{y&&(S(i),window.addEventListener("hashchange",(e=>{S(i)})))}),[i]),(0,t.useEffect)((()=>{let e=(0,u.A)("menu");g(e)}),[l]),(0,t.useEffect)((()=>{let e=(0,u.A)("menu");h(e)}),[]),r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(c,{error:r})):(0,e.createElement)("div",{className:"rsssl-wrapper"},k&&(0,e.createElement)(m.A,{fallback:"Could not load onboarding modal"},(0,e.createElement)(k,null)),D&&(0,e.createElement)(m.A,{fallback:"Could not load modal"},(0,e.createElement)(D,null)),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)("div",{className:"rsssl-content-area rsssl-grid rsssl-"+w},"dashboard"!==w&&O&&C&&P&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(m.A,{fallback:"Could not load menu"},(0,e.createElement)(C,null)),(0,e.createElement)(m.A,{fallback:"Could not load settings"},(0,e.createElement)(O,null)),(0,e.createElement)(m.A,{fallback:"Could not load notices"},(0,e.createElement)(P,{className:"rsssl-wizard-notices"}))),"dashboard"===w&&A&&(0,e.createElement)(m.A,{fallback:"Could not load menu"},(0,e.createElement)(A,null)))),I&&(0,e.createElement)(I,{position:"bottom-right",autoClose:2e3,limit:3,hideProgressBar:!0,newestOnTop:!0,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,theme:"light"}))};document.addEventListener("DOMContentLoaded",(()=>{const n=document.getElementById("really-simple-ssl");n&&(t.createRoot?(0,t.createRoot)(n).render((0,e.createElement)(h,null)):(0,t.render)((0,e.createElement)(h,null),n))})),document.addEventListener("click",(e=>{e.target.closest("#ssl-labs-check-button")&&(document.querySelector(".rsssl-ssllabs").classList.add("rsssl-block-highlight"),setTimeout((function(){document.querySelector(".rsssl-ssllabs").classList.remove("rsssl-block-highlight")}),6e3))}))})()})(); \ No newline at end of file +(()=>{var e,t,n={2043:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1621),s=n(5511);const o=(0,r.vt)(((e,t)=>({menu:[],subMenuLoaded:!1,previousMenuItem:!1,nextMenuItem:!1,selectedMainMenuItem:!1,selectedSubMenuItem:!1,selectedFilter:!1,activeGroupId:!1,hasPremiumItems:!1,subMenu:{title:" ",menu_items:[]},setSelectedSubMenuItem:async t=>{let n=u(t);e((e=>({selectedSubMenuItem:t,selectedMainMenuItem:n}))),window.location.hash=n+"/"+t},setSelectedMainMenuItem:t=>{e((e=>({selectedMainMenuItem:t}))),window.location.hash=t},fetchSelectedMainMenuItem:()=>{let t=(0,s.A)("main")||"dashboard";e((e=>({selectedMainMenuItem:t})))},fetchSelectedSubMenuItem:async()=>{let t=(0,s.A)("menu")||"general";e((e=>({selectedSubMenuItem:t})))},fetchMenuData:t=>{let n=rsssl_settings.menu;n=Object.values(n);const r=(0,s.A)("main")||"dashboard";if(n=n.filter((e=>!e.default_hidden||r===e.id)),void 0!==t){let s=c(n,r);const o=d(s,t);s.menu_items=l(s.menu_items,t,o);const{nextMenuItem:i,previousMenuItem:u}=a(n,o,t),f=s.menu_items.filter((e=>!0===e.premium)).length>0;e((e=>({subMenuLoaded:!0,menu:n,nextMenuItem:i,previousMenuItem:u,selectedMainMenuItem:r,selectedSubMenuItem:o,subMenu:s,hasPremiumItems:f})))}else e((e=>({menu:n,selectedMainMenuItem:r})))},getDefaultSubMenuItem:async e=>{let n=t().subMenuLoaded;n||await t().fetchMenuData(e);let r=t().subMenu,o=n&&r.hasOwnProperty(0)?r[0].id:"general",i=(0,s.A)("menu"),a=!1;for(const e in(void 0).menu.menu_items)r.hasOwnProperty(e)&&r[e].id===i&&(a=!0);return a||(i=!1),i||o}}))),i=(e,t,n)=>(t.forEach((t=>{t.visible&&(e.push(t.id),t.hasOwnProperty("menu_items")&&(t.menu_items=l(t.menu_items,n),i(e,t.menu_items,n)))})),e),a=(e,t,n)=>{let r,s;const o=[];i(o,e,n);const a=o.findIndex((e=>e===t));return-1!==a&&(r=o[0===a?"":a-1],f(r,e).hasOwnProperty("menu_items")&&(r=o[0===a?"":a-2]),s=o[a===o.length-1?"":a+1],r=r||o[0],s=s||o[o.length-1]),{nextMenuItem:s,previousMenuItem:r}},l=(e,t)=>{if(!Array.isArray(t))return e;const n=e;for(const[r,s]of e.entries()){let e=t.filter((e=>e.menu_id===s.id));e=e.filter((e=>e.visible)),0!==e.length||s.hasOwnProperty("menu_items")?("object"==typeof n[r]&&null!==n[r]&&(n[r].visible=!0),s.hasOwnProperty("menu_items")&&(n[r].menu_items=l(s.menu_items,t))):"object"==typeof n[r]&&null!==n[r]&&(n[r].visible=!1)}return n},c=(e,t)=>{let n=[];for(const r in e)e.hasOwnProperty(r)&&e[r].id===t&&(n=e[r]);return n=p(n),n},u=e=>{let t=rsssl_settings.menu;for(const n in t){let r=t[n];if(r.id===e)return r.id;if(r.menu_items)for(const t in r.menu_items){let n=r.menu_items[t];if(n.id===e)return r.id;if(n.menu_items)for(const t in n.menu_items)if(n.menu_items[t].id===e)return r.id}}return!1},d=(e,t)=>{let n,r=e&&e.menu_items.hasOwnProperty(0)?e.menu_items[0].id:"general",o=i([],e.menu_items),a=(0,s.A)("menu");n=o.filter((e=>e===a)),n||(a=!1);let l=a||r;if(0===t.filter((e=>e.menu_id===l)).length){let t=f(l,e.menu_items);t&&t.menu_items&&t.menu_items.hasOwnProperty(0)&&(l=t.menu_items[0].id)}return l},f=(e,t)=>{for(const n in t){let r=t[n];if(r.id===e)return r;if(r.menu_items){let t=f(e,r.menu_items);if(t)return t}}return!1},p=e=>{let t=Array.isArray(e.menu_items)?e.menu_items:Object.values(e.menu_items);for(let[e,n]of t.entries())"object"==typeof n&&null!==n&&(n.visible=!0,n.hasOwnProperty("menu_items")&&(n=p(n)),t[e]=n);return e.menu_items=t,e.visible=!0,e}},5319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(1621).vt)(((e,t)=>({modalData:[],buttonsDisabled:!1,showModal:!1,ignoredItems:[],fixedItems:[],item:!1,setIgnoredItemId:n=>{let r=t().ignoredItems;r.push(n),e({ignoredItems:r})},setFixedItemId:n=>{let r=t().fixedItems;r.push(n),e({fixedItems:r})},handleModal:(t,n,r)=>{e({showModal:t,modalData:n,item:r})},setModalData:t=>{e({modalData:t})}})))},7283:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1621),s=n(6535),o=n(6856),i=n(7723);const a=(0,r.vt)(((e,t)=>({steps:[],currentStepIndex:0,currentStep:{},error:!1,networkProgress:0,networkActivationStatus:"",certificateValid:"",networkwide:!1,sslEnabled:!1,overrideSSL:!1,showOnboardingModal:!1,modalStatusLoaded:!1,dataLoaded:!1,processing:!1,email:"",includeTips:!1,sendTestEmail:!0,overrideSSLDetection:!1,footerStatus:"",setFooterStatus:t=>{e({footerStatus:t})},setIncludeTips:t=>{e((e=>({includeTips:t})))},setSendTestEmail:t=>{e((e=>({sendTestEmail:t})))},setEmail:t=>{e((e=>({email:t})))},setShowOnboardingModal:t=>{e((e=>({showOnboardingModal:t})))},setProcessing:t=>{e((e=>({processing:t})))},setCurrentStepIndex:n=>{const r=t().steps[n];e((e=>({currentStepIndex:n,currentStep:r})))},dismissModal:async t=>{let n={};n.dismiss=t,e((()=>({showOnboardingModal:!t}))),await o.Eo("dismiss_modal",n)},setOverrideSSL:async t=>{e({overrideSSL:t});let n={overrideSSL:t};await o.Eo("override_ssl_detection",n)},activateSSL:()=>{e((e=>({processing:!0}))),o.YA("activate_ssl").then((async n=>{e((e=>({processing:!1}))),t().setCurrentStepIndex(t().currentStepIndex+1),n.success&&(n.site_url_changed?window.location.reload():t().networkwide&&e((e=>({networkActivationStatus:"main_site_activated"}))),e({sslEnabled:!0}))}))},saveEmail:()=>{t().setFooterStatus((0,i.__)("Updating email preferences..","really-simple-ssl"));let n={};n.email=t().email,n.includeTips=t().includeTips,n.sendTestEmail=t().sendTestEmail,e((e=>({processing:!0}))),o.Eo("update_email",n).then((n=>{e((e=>({processing:!1}))),t().setFooterStatus("")}))},updateItemStatus:(n,r,o,i,a)=>{const l=t().steps.findIndex((e=>e.id===n)),c=t().steps[l].items.findIndex((e=>e.id===r));e((0,s.jM)((e=>{void 0!==o&&(e.steps[l].items[c].action=o),void 0!==i&&(e.steps[l].items[c].status=i),void 0!==a&&(e.steps[l].items[c].activated=a)})));let u=t().steps[t().currentStepIndex];e((0,s.jM)((e=>{e.currentStep=u})))},fetchOnboardingModalStatus:async()=>{o.Eo("get_modal_status").then((t=>{e({showOnboardingModal:!t.dismissed,modalStatusLoaded:!0})}))},setShowOnBoardingModal:t=>e((e=>({showOnboardingModal:t}))),pluginInstaller:async(n,r,s)=>{if(!r)return;e((()=>({processing:!0}))),t().updateItemStatus("plugins",n,r,"processing"),t().setFooterStatus((0,i.__)("Installing %d...","really-simple-ssl").replace("%d",s));let o=await c(r,n);t().updateItemStatus("plugins",n,o),"none"!==o&&"completed"!==o?(t().setFooterStatus((0,i.__)("Activating %d...","really-simple-ssl").replace("%d",s)),o=await c(o,n),t().updateItemStatus("plugins",n,o)):t().setFooterStatus(""),e((e=>({processing:!1})))},getSteps:async t=>{const{steps:n,networkActivationStatus:r,certificateValid:s,networkProgress:o,networkwide:i,overrideSSL:a,error:c,sslEnabled:u}=await l(t);let d=0;(u||i&&"completed"===r)&&(d=1),e({steps:n,currentStepIndex:d,currentStep:n[d],networkActivationStatus:r,certificateValid:s,networkProgress:o,networkwide:i,overrideSSL:a,sslEnabled:u,dataLoaded:!0,error:c}),"completed"===r&&e({networkProgress:100})},refreshSSLStatus:t=>{t.preventDefault(),e({processing:!0}),e((0,s.jM)((e=>{const t=e.steps.findIndex((e=>"activate_ssl"===e.id)),n=e.steps[t];n.items.forEach((function(e,t){"error"===e.status&&(n.items[t].status="processing",n.items[t].title=(0,i.__)("Re-checking SSL certificate, please wait...","really-simple-ssl"))})),e.steps[t]=n}))),setTimeout((async function(){const{steps:t,certificateValid:n,error:r}=await l(!0);e({steps:t,certificateValid:n,processing:!1,error:r})}),1e3)},activateSSLNetworkWide:()=>{let n=t().networkProgress;void 0!==n&&t().setFooterStatus((0,i.__)("%d% of subsites activated.").replace("%d",n)),t().networkProgress>=100?e({sslEnabled:!0,networkActivationStatus:"completed"}):(e((()=>({processing:!0}))),o.YA("activate_ssl_networkwide").then((n=>{n.success&&(e({networkProgress:n.progress,processing:!1}),t().setFooterStatus((0,i.__)("%d% of subsites activated.").replace("%d",n.progress)),n.progress>=100&&(t().setFooterStatus(""),e({sslEnabled:!0,networkActivationStatus:"completed"})))})))}}))),l=e=>{let t={};return t.forceRefresh=e,o.Eo("onboarding_data",t).then((e=>{let t=e.steps,n=e.ssl_enabled;return{steps:t,networkActivationStatus:e.network_activation_status,certificateValid:e.certificate_valid,networkProgress:e.network_progress,networkwide:e.networkwide,overrideSSL:e.ssl_detection_overridden,error:e.error,sslEnabled:n}}))},c=async(e,t)=>{let n={};return n.id=t,await o.Eo(e,n).then((async e=>e.success?e.next_action:"failed")).catch((e=>"failed"))},u=a},6975:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1621),s=n(6535),o=n(6856),i=n(7723),a=n(9571);const l=(0,r.vt)(((e,t)=>({fieldsLoaded:!1,error:!1,fields:[],changedFields:[],progress:[],nextButtonDisabled:!1,overrideNextButtonDisabled:!1,refreshTests:!1,highLightField:"",setHighLightField:t=>{e({highLightField:t})},setRefreshTests:t=>e((e=>({refreshTests:t}))),handleNextButtonDisabled:t=>{e({overrideNextButtonDisabled:t})},setChangedField:(t,n)=>{e((0,s.jM)((e=>{const r=e.changedFields.findIndex((e=>e.id===t));-1!==r&&e.changedFields.splice(r,1);let s={};s.id=t,s.value=n,e.changedFields.push(s)})))},showSavedSettingsNotice:(e,t="success")=>{d(e,t)},updateField:(t,n)=>{e((0,s.jM)((e=>{let r=e.fields.findIndex((e=>e.id===t));-1!==r&&(e.fields[r].value=n)})))},updateFieldAttribute:(t,n,r)=>{e((0,s.jM)((e=>{let s=e.fields.findIndex((e=>e.id===t));-1!==s&&(e.fields[s][n]=r)})))},updateSubField:(t,n,r)=>{e((0,s.jM)((e=>{let s=e.fields.findIndex((e=>e.id===t)),o=e.fields[s].value;Array.isArray(o)||(o=[]);let i=o.findIndex((e=>e.id===n));-1!==i&&(e.fields[s].updateItemId=n,e.fields[s].value[i].value=r,e.fields[s].value=o.map((e=>{const{deleteControl:t,valueControl:n,statusControl:r,...s}=e;return s})))})))},removeHelpNotice:t=>{e((0,s.jM)((e=>{const n=e.fields.findIndex((e=>e.id===t));e.fields[n].help=!1})))},addHelpNotice:(n,r,o,i,a)=>{t().removeHelpNotice(n);let l={};l.label=r,l.text=o,a&&(l.url=a),i&&(l.title=i),e((0,s.jM)((e=>{const t=e.fields.findIndex((e=>e.id===n));-1!==t&&(e.fields[t].help=l)})))},fieldAlreadyEnabled:e=>{let n=t().changedFields.filter((t=>t.id===e)).length>0,r=t().getFieldValue(e);return!n&&r},getFieldValue:e=>{let n=t().fields.filter((t=>t.id===e))[0];return!!n&&n.value},getField:e=>t().fields.filter((t=>t.id===e))[0]||!1,saveFields:async(n,r,l=!1)=>{let c=void 0===n||n;r=void 0===r||r;let u=t().fields;u=u.filter((e=>"banner"!==e.data_target));let d=t().changedFields,f=[];for(const e of u){let t=d.filter((t=>t.id===e.id)).length>0,n="select"===e.type||"radio"===e.type;(t||e.never_saved&&!e.disabled&&n)&&f.push(e)}if(f.length>0||!0===l){let t=o.Ey(f).then((e=>e));r&&a.toast.promise(t,{pending:(0,i.__)("Saving settings...","really-simple-ssl"),success:(0,i.__)("Settings saved","really-simple-ssl"),error:(0,i.__)("Something went wrong","really-simple-ssl")}),await t.then((t=>{e((0,s.jM)((e=>{e.changedFields=[],e.fields=t.fields,e.progress=t.progress,e.refreshTests=c})))}))}r&&0===f.length&&a.toast.promise(Promise.resolve(),{success:(0,i.__)("Settings saved","really-simple-ssl")})},updateFieldsData:n=>{let r=t().fields;if(r=u(r),n){let o=c(r,n);t().overrideNextButtonDisabled&&(o=t().overrideNextButtonDisabled),e((0,s.jM)((e=>{e.nextButtonDisabled=o})))}e((0,s.jM)((e=>{e.fields=r})))},fetchFieldsData:async t=>{const{fields:n,progress:r,error:s}=await o.ww().then((e=>({fields:e.fields,progress:e.progress,error:e.error}))).catch((e=>{console.error(e)}));let i=u(n),a=i.filter((e=>e.menu_id===t));e({fieldsLoaded:!0,fields:i,selectedFields:a,progress:r,error:s})}}))),c=(e,t)=>{let n=[];for(const r of e)r.menu_id===t&&n.push(r);return n.filter((e=>e.required&&!e.conditionallyDisabled&&(0==e.value.length||!e.value))).length>0},u=e=>{let t=[];return e&&Array.isArray(e)?(e.forEach((function(n,r){let s=!(n.hasOwnProperty("react_conditions")&&!f(n.react_conditions,e,n.id)),o=!n.conditionallyDisabled;const i={...n};i.conditionallyDisabled=!s,i.visible=!(!s&&("letsencrypt"===i.type||"hide"===i.condition_action)),t.push(i),!o&&i.enabled&&"learningmode"!==n.type&&set().setChangedField(n.id,n.value)})),t):[]},d=(e,t)=>{void 0===e&&(e=(0,i.__)("Settings saved","really-simple-ssl")),void 0===t&&(t="success"),"error"===t&&a.toast.error(e),"warning"===t&&a.toast.warning(e),"info"===t&&a.toast.info(e),"success"===t&&a.toast.success(e)},f=(e,t,n)=>{let r="OR"===e[0].relation?"OR":"AND",s="AND"===r;for(const o in e)if(e.hasOwnProperty(o)){let i="AND"===r,a=e[o];if(a.hasOwnProperty("relation"))i=f(a,t,n);else{for(let e in a){let n=0===e.indexOf("!");if(a.hasOwnProperty(e)){let n=a[e];e=e.replace("!","");let r=t.filter((t=>t.id===e));if(r.hasOwnProperty(0)){let e=r[0],t=e.value;if("text_checkbox"===e.type)i=t.hasOwnProperty("show")&&t.show==n;else if("checkbox"===e.type)i=t==n;else if("multicheckbox"===e.type){i=!1;let e=t;if(0===e.length)i=!1;else for(const t of Object.keys(e))if(Array.isArray(n)||(n=[n]),n.includes(e[t])){i=!0;break}}else i="radio"===e.type?Array.isArray(n)?n.includes(t):n===t:!0===n?1===t||"1"===t||!0===t:!1===n?0===t||"0"===t||!1===t:-1!==n.indexOf("EMPTY")?0===t.length:String(t).toLowerCase()===n.toLowerCase()}}n&&(i=!i),s="AND"===r?s&&i:s||i}s="AND"===r?s&&i:s||i}}return s?1:0}},1446:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1609),s=n(6427),o=n(7143);const i=window.wp.notices,a=()=>{const e=(0,o.useSelect)((e=>e(i.store).getNotices().filter((e=>"snackbar"===e.type))),[]);if(void 0===e)return(0,r.createElement)(r.Fragment,null);const{removeNotice:t}=(0,o.useDispatch)(i.store);return(0,r.createElement)(s.SnackbarList,{className:"edit-site-notices",notices:e,onRemove:t})}},6155:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});const r=e=>{const t=rsssl_settings.ref;if(parseInt(t)>0){const[n,r]=e.split("#"),s=n.includes("?")?"&":"?";e=`${n}${s}ref=${t}${r?`#${r}`:""}`}return e}},3972:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1609),s=n(7723),o=n(4124);const i=e=>{e.error&&(console.log("errors detected during the loading of the settings page"),console.log(e.error));let t=!1,n=(0,s.__)("Please check if security settings on the server or a plugin is blocking the requests from Really Simple SSL.","really-simple-ssl"),i=!1;return e.error&&(i=e.error.message,"string"!=typeof i&&(i=JSON.stringify(i)),"rest_no_route"===e.error.code?t=(0,s.__)("The Really Simple SSL Rest API is disabled.","really-simple-ssl")+" "+n:"404"===e.error.data.status?t=(0,s.__)("The Really Simple SSL Rest API returned a not found.","really-simple-ssl")+" "+n:"403"===e.error.data.status&&(t=(0,s.__)("The Really Simple SSL Rest API returned a 403 forbidden error.","really-simple-ssl")+" "+n),i.length>100&&(i=i.substring(0,100)+"...")),(0,r.createElement)(r.Fragment,null,e.error&&(0,r.createElement)("div",{className:"rsssl-rest-error-message"},(0,r.createElement)("h3",null,(0,s.__)("A problem was detected during the loading of the settings","really-simple-ssl")),t&&(0,r.createElement)("p",null,t),(0,r.createElement)("div",null,(0,r.createElement)("p",null,(0,s.__)("The request returned the following errors:","really-simple-ssl")),(0,r.createElement)("ul",null,e.error.code&&(0,r.createElement)("li",null,(0,s.__)("Response code:","really-simple-ssl")," ",e.error.code),e.error.data.status&&(0,r.createElement)("li",null,(0,s.__)("Status code:","really-simple-ssl")," ",e.error.data.status),i&&(0,r.createElement)("li",null,(0,s.__)("Server response:","really-simple-ssl")," ",i))),(0,r.createElement)(o.A,{className:"button button-default",target:"_blank",rel:"noopener noreferrer",text:(0,s.__)("More information","really-simple-ssl"),url:"https://really-simple-ssl.com/instructions/how-to-debug-a-blank-settings-page-in-really-simple-ssl/"})))}},5170:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),s=n(5556),o=n.n(s);class i extends r.Component{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null},this.resetError=this.resetError.bind(this)}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t}),console.log("ErrorBoundary",e,t)}resetError(){this.setState({hasError:!1,error:null,errorInfo:null})}render(){return this.state.hasError?(0,r.createElement)("div",null,(0,r.createElement)("h1",null,"Something went wrong."),(0,r.createElement)("p",null,this.props.fallback),(0,r.createElement)("button",{onClick:this.resetError},"Try Again")):this.props.children}}i.propTypes={children:o().node,fallback:o().node};const a=i},4124:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609);const s=e=>{let t="",n="",s="";if(-1!==e.text.indexOf("%s")){let r=e.text.split(/%s/);t=r[0],s=r[1],n=r[2]}else s=e.text;let o=e.className?e.className:"rsssl-link";return(0,r.createElement)(r.Fragment,null,t,(0,r.createElement)("a",{className:o,target:e.target,rel:e.rel,href:e.url},s),n)}},6856:(e,t,n)=>{"use strict";n.d(t,{Eo:()=>xt,ww:()=>Tt,bl:()=>Pt,YA:()=>Rt,Ey:()=>At});var r={};n.r(r),n.d(r,{hasBrowserEnv:()=>le,hasStandardBrowserEnv:()=>ce,hasStandardBrowserWebWorkerEnv:()=>de,origin:()=>fe});var s=n(5511);function o(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,l=(c=Object.create(null),e=>{const t=i.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const u=e=>(e=e.toLowerCase(),t=>l(t)===e),d=e=>t=>typeof t===e,{isArray:f}=Array,p=d("undefined"),m=u("ArrayBuffer"),h=d("string"),g=d("function"),y=d("number"),b=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==l(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},E=u("Date"),w=u("File"),S=u("Blob"),_=u("FileList"),O=u("URLSearchParams"),[T,A,R,P]=["ReadableStream","Request","Response","Headers"].map(u);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,s;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,s=e.length;r0;)if(r=n[s],t===r.toLowerCase())return r;return null}const N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!p(e)&&e!==N,L=(k="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>k&&e instanceof k);var k;const j=u("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),F=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,((n,s)=>{let o;!1!==(o=t(n,s,e))&&(r[s]=o||n)})),Object.defineProperties(e,r)},B="abcdefghijklmnopqrstuvwxyz",U="0123456789",q={DIGIT:U,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+U},z=u("AsyncFunction"),H={isArray:f,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=l(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:h,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:v,isReadableStream:T,isRequest:A,isResponse:R,isHeaders:P,isUndefined:p,isDate:E,isFile:w,isBlob:S,isRegExp:F,isFunction:g,isStream:e=>b(e)&&g(e.pipe),isURLSearchParams:O,isTypedArray:L,isFileList:_,forEach:x,merge:function e(){const{caseless:t}=I(this)&&this||{},n={},r=(r,s)=>{const o=t&&C(n,s)||s;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):f(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e(x(t,((t,r)=>{n&&g(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],r&&!r(i,e,t)||l[i]||(t[i]=e[i],l[i]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:j,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:N,isContextDefined:I,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const s=f(e)?[]:{};return x(e,((e,t)=>{const o=n(e,r+1);!p(o)&&(s[t]=o)})),t[r]=void 0,s}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(b(e)||g(e))&&g(e.then)&&g(e.catch)};function $(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}H.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const V=$.prototype,W={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{W[e]={value:e}})),Object.defineProperties($,W),Object.defineProperty(V,"isAxiosError",{value:!0}),$.from=(e,t,n,r,s,o)=>{const i=Object.create(V);return H.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),$.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const J=$;function K(e){return H.isPlainObject(e)||H.isArray(e)}function G(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map((function(e,t){return e=G(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Q=H.toFlatObject(H,{},null,(function(e){return/^is[A-Z]/.test(e)})),Y=function(e,t,n){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!H.isUndefined(t[e])}))).metaTokens,s=n.visitor||c,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(H.isDate(e))return e.toISOString();if(!a&&H.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(e)||H.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,s){let a=e;if(e&&!s&&"object"==typeof e)if(H.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(H.isArray(e)&&function(e){return H.isArray(e)&&!e.some(K)}(e)||(H.isFileList(e)||H.endsWith(n,"[]"))&&(a=H.toArray(e)))return n=G(n),a.forEach((function(e,r){!H.isUndefined(e)&&null!==e&&t.append(!0===i?X([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!K(e)||(t.append(X(s,n,o),l(e)),!1)}const u=[],d=Object.assign(Q,{defaultVisitor:c,convertValue:l,isVisitable:K});if(!H.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!H.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),H.forEach(n,(function(n,o){!0===(!(H.isUndefined(n)||null===n)&&s.call(t,n,H.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function Z(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&Y(e,this,t)}const te=ee.prototype;te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Z)}:Z;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ne=ee;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function se(e,t,n){if(!t)return e;const r=n&&n.encode||re,s=n&&n.serialize;let o;if(o=s?s(t,n):H.isURLSearchParams(t)?t.toString():new ne(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const oe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ae={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},le="undefined"!=typeof window&&"undefined"!=typeof document,ce=(ue="undefined"!=typeof navigator&&navigator.product,le&&["ReactNative","NativeScript","NS"].indexOf(ue)<0);var ue;const de="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fe=le&&window.location.href||"http://localhost",pe={...r,...ae},me=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),a=s>=e.length;return o=!o&&H.isArray(r)?r.length:o,a?(H.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&H.isObject(r[o])||(r[o]=[]),t(e,n,r[o],s)&&H.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r{t(function(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},he={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=H.isObject(e);if(s&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return r?JSON.stringify(me(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e)||H.isReadableStream(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Y(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pe.isNode&&H.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=H.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Y(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e,t,n){if(H.isString(e))try{return(0,JSON.parse)(e),H.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||he.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(H.isResponse(e)||H.isReadableStream(e))return e;if(e&&H.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],(e=>{he.headers[e]={}}));const ge=he,ye=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function ve(e){return e&&String(e).trim().toLowerCase()}function Ee(e){return!1===e||null==e?e:H.isArray(e)?e.map(Ee):String(e)}function we(e,t,n,r,s){return H.isFunction(r)?r.call(this,t,n):(s&&(t=n),H.isString(t)?H.isString(r)?-1!==t.indexOf(r):H.isRegExp(r)?r.test(t):void 0:void 0)}class Se{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=ve(t);if(!s)throw new Error("header name must be a non-empty string");const o=H.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Ee(e))}const o=(e,t)=>H.forEach(e,((e,n)=>s(e,n,t)));if(H.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(H.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),r=e.substring(s+1).trim(),!n||t[n]&&ye[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(H.isHeaders(e))for(const[t,r]of e.entries())s(r,t,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=ve(e)){const n=H.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(H.isFunction(t))return t.call(this,e,n);if(H.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ve(e)){const n=H.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=ve(e)){const s=H.findKey(n,e);!s||t&&!we(0,n[s],s,t)||(delete n[s],r=!0)}}return H.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const s=t[n];e&&!we(0,this[s],s,e,!0)||(delete this[s],r=!0)}return r}normalize(e){const t=this,n={};return H.forEach(this,((r,s)=>{const o=H.findKey(n,s);if(o)return t[o]=Ee(r),void delete t[s];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();i!==s&&delete t[s],t[i]=Ee(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return H.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&H.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ve(e);t[r]||(function(e,t){const n=H.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,s){return this[r].call(this,t,e,n,s)},configurable:!0})}))}(n,e),t[r]=!0)}return H.isArray(e)?e.forEach(r):r(e),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Se.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),H.freezeMethods(Se);const _e=Se;function Oe(e,t){const n=this||ge,r=t||n,s=_e.from(r.headers);let o=r.data;return H.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function Te(e){return!(!e||!e.__CANCEL__)}function Ae(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}H.inherits(Ae,J,{__CANCEL__:!0});const Re=Ae;function Pe(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const xe=(e,t,n=3)=>{let r=0;const s=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s,o=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[i];s||(s=l),n[o]=a,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-sr)return s&&(clearTimeout(s),s=null),n=o,e.apply(null,arguments);s||(s=setTimeout((()=>(s=null,n=Date.now(),e.apply(null,arguments))),r-(o-n)))}}((n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,a=o-r,l=s(a);r=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:n,lengthComputable:null!=i};c[t?"download":"upload"]=!0,e(c)}),n)},Ce=pe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=H.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Ne=pe.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];H.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),H.isString(r)&&i.push("path="+r),H.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ie(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Le=e=>e instanceof _e?{...e}:e;function ke(e,t){t=t||{};const n={};function r(e,t,n){return H.isPlainObject(e)&&H.isPlainObject(t)?H.merge.call({caseless:n},e,t):H.isPlainObject(t)?H.merge({},t):H.isArray(t)?t.slice():t}function s(e,t,n){return H.isUndefined(t)?H.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!H.isUndefined(t))return r(void 0,t)}function i(e,t){return H.isUndefined(t)?H.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,s,o){return o in t?r(n,s):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t)=>s(Le(e),Le(t),!0)};return H.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||s,i=o(e[r],t[r],r);H.isUndefined(i)&&o!==a||(n[r]=i)})),n}const je=e=>{const t=ke({},e);let n,{data:r,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=_e.from(a),t.url=se(Ie(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),H.isFormData(r))if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(pe.hasStandardBrowserEnv&&(s&&H.isFunction(s)&&(s=s(t)),s||!1!==s&&Ce(t.url))){const e=o&&i&&Ne.read(i);e&&a.set(o,e)}return t},De="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=je(e);let s=r.data;const o=_e.from(r.headers).normalize();let i,{responseType:a}=r;function l(){r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let c=new XMLHttpRequest;function u(){if(!c)return;const r=_e.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Pe((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(n(new J("Request aborted",J.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const t=r.transitional||ie;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new J(e,t.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,r,c)),c=null},void 0===s&&o.setContentType(null),"setRequestHeader"in c&&H.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),H.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&"json"!==a&&(c.responseType=r.responseType),"function"==typeof r.onDownloadProgress&&c.addEventListener("progress",xe(r.onDownloadProgress,!0)),"function"==typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",xe(r.onUploadProgress)),(r.cancelToken||r.signal)&&(i=t=>{c&&(n(!t||t.type?new Re(null,e,c):t),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);d&&-1===pe.protocols.indexOf(d)?n(new J("Unsupported protocol "+d+":",J.ERR_BAD_REQUEST,e)):c.send(s||null)}))},Fe=(e,t)=>{let n,r=new AbortController;const s=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Re(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{s(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",s):e.unsubscribe(s))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",s)));const{signal:a}=r;return a.unsubscribe=i,[a,()=>{o&&clearTimeout(o),o=null}]},Me=function*(e,t){let n=e.byteLength;if(!t||n{const o=async function*(e,t,n){for await(const r of e)yield*Me(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:s}=await o.next();if(t)return e.close(),void r();let a=s.byteLength;n&&n(i+=a),e.enqueue(new Uint8Array(s))},cancel:e=>(r(e),o.return())},{highWaterMark:2})},Ue=(e,t)=>{const n=null!=e;return r=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:r})))},qe="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ze=qe&&"function"==typeof ReadableStream,He=qe&&("function"==typeof TextEncoder?($e=new TextEncoder,e=>$e.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var $e;const Ve=ze&&(()=>{let e=!1;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),We=ze&&!!(()=>{try{return H.isReadableStream(new Response("").body)}catch(e){}})(),Je={stream:We&&(e=>e.body)};var Ke;qe&&(Ke=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Je[e]&&(Je[e]=H.isFunction(Ke[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})})));const Ge={http:null,xhr:De,fetch:qe&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=je(e);c=c?(c+"").toLowerCase():"text";let p,m,[h,g]=s||o||i?Fe([s,o],i):[];const y=()=>{!p&&setTimeout((()=>{h&&h.unsubscribe()})),p=!0};let b;try{if(l&&Ve&&"get"!==n&&"head"!==n&&0!==(b=await(async(e,t)=>{const n=H.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:H.isBlob(e)?e.size:H.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:H.isArrayBufferView(e)?e.byteLength:(H.isURLSearchParams(e)&&(e+=""),H.isString(e)?(await He(e)).byteLength:void 0))(t):n})(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});H.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body&&(r=Be(n.body,65536,Ue(b,xe(l)),null,He))}H.isString(d)||(d=d?"cors":"omit"),m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:d});let s=await fetch(m);const o=We&&("stream"===c||"response"===c);if(We&&(a||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=H.toFiniteNumber(s.headers.get("content-length"));s=new Response(Be(s.body,65536,a&&Ue(t,xe(a,!0)),o&&y,He),e)}c=c||"text";let i=await Je[H.findKey(Je,c)||"text"](s,e);return!o&&y(),g&&g(),await new Promise(((t,n)=>{Pe(t,n,{data:i,headers:_e.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:m})}))}catch(t){if(y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,m),{cause:t.cause||t});throw J.from(t,t&&t.code,e,m)}})};H.forEach(Ge,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Xe=e=>`- ${e}`,Qe=e=>H.isFunction(e)||null===e||!1===e,Ye=e=>{e=H.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Xe).join("\n"):" "+Xe(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ze(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Re(null,e)}function et(e){return Ze(e),e.headers=_e.from(e.headers),e.data=Oe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ye(e.adapter||ge.adapter)(e).then((function(t){return Ze(e),t.data=Oe.call(e,e.transformResponse,t),t.headers=_e.from(t.headers),t}),(function(t){return Te(t)||(Ze(e),t&&t.response&&(t.response.data=Oe.call(e,e.transformResponse,t.response),t.response.headers=_e.from(t.response.headers))),Promise.reject(t)}))}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const nt={};tt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new J(r(s," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!nt[s]&&(nt[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}};const rt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:tt},st=rt.validators;class ot{constructor(e){this.defaults=e,this.interceptors={request:new oe,response:new oe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ke(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&rt.assertOptions(n,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean)},!1),null!=r&&(H.isFunction(r)?t.paramsSerializer={serialize:r}:rt.assertOptions(r,{encode:st.function,serialize:st.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&H.merge(s.common,s[t.method]);s&&H.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=_e.concat(o,s);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[et.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,s){n.reason||(n.reason=new Re(e,r,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new at((function(t){e=t})),cancel:e}}}const lt=at,ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach((([e,t])=>{ct[t]=e}));const ut=ct,dt=function e(t){const n=new it(t),r=o(it.prototype.request,n);return H.extend(r,it.prototype,n,{allOwnKeys:!0}),H.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ke(t,n))},r}(ge);dt.Axios=it,dt.CanceledError=Re,dt.CancelToken=lt,dt.isCancel=Te,dt.VERSION="1.7.2",dt.toFormData=Y,dt.AxiosError=J,dt.Cancel=dt.CanceledError,dt.all=function(e){return Promise.all(e)},dt.spread=function(e){return function(t){return e.apply(null,t)}},dt.isAxiosError=function(e){return H.isObject(e)&&!0===e.isAxiosError},dt.mergeConfig=ke,dt.AxiosHeaders=_e,dt.formToJSON=e=>me(H.isHTMLForm(e)?new FormData(e):e),dt.getAdapter=Ye,dt.HttpStatusCode=ut,dt.default=dt;const ft=dt;var pt=n(1455),mt=n.n(pt);const ht=()=>"&nonce="+rsssl_settings.rsssl_nonce+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),gt=()=>-1!==rsssl_settings.site_url.indexOf("?"),yt=(e,t)=>new Promise((function(n,r){let s=Et("ajax"),o=new XMLHttpRequest;o.open("POST",s),o.onload=function(){let e;try{e=JSON.parse(o.response)}catch(e){n(wt(o.response,500,"invalid_data"))}o.status>=200&&o.status<300?n(e):n(wt(o.response,o.status,o.statusText))},o.onerror=function(){n(wt(o.response,o.status,o.statusText))};let i={};i.path=e,i.data=t,i=JSON.stringify(i,bt),o.setRequestHeader("Content-Type","application/json; charset=UTF-8"),o.send(i)})),bt=(e,t)=>e?e&&e.includes("Control")?void 0:"object"==typeof t?JSON.parse(JSON.stringify(t,bt)):t:t,vt=e=>new Promise((function(t,n){let r=Et("ajax");r+="&rest_action="+e.replace("?","&");let s=new XMLHttpRequest;s.open("GET",r),s.onload=function(){let e;try{e=JSON.parse(s.response)}catch(e){t(wt(s.response,500,"invalid_data"))}s.status>=200&&s.status<300?(e.hasOwnProperty("request_success")||t(wt(s.response,500,"invalid_data")),t(e)):t(wt(s.response,s.status,s.statusText))},s.onerror=function(){t(wt(s.response,s.status,s.statusText))},s.send()})),Et=e=>{let t;return t=void 0===e?rsssl_settings.site_url:rsssl_settings.admin_ajax_url,"https:"===window.location.protocol&&-1===t.indexOf("https://")?t.replace("http://","https://"):t},wt=(e,t,n)=>{let r={},s={},o={};return o.status=t,s.code=n,s.data=o,s.message=e,r.error=s,r},St=e=>{if(gt()){let t={headers:{"X-WP-Nonce":rsssl_settings.nonce}};return ft.get(Et()+e,t).then((t=>t.data.request_success?t.data:vt(e))).catch((t=>vt(e)))}return mt()({path:e}).then((t=>t.request_success?t:vt(e))).catch((t=>vt(e)))},_t=(e,t)=>{if(gt()){let n={headers:{"X-WP-Nonce":rsssl_settings.nonce}};return ft.post(Et()+e,t,n).then((e=>e.data)).catch((n=>yt(e,t)))}return mt()({path:e,method:"POST",data:t}).catch((n=>yt(e,t)))},Ot=()=>-1!==rsssl_settings.site_url.indexOf("?")?"&":"?",Tt=()=>{let e=(0,s.A)("main");return St("reallysimplessl/v1/fields/get"+Ot()+e+ht())},At=e=>{let t=(0,s.A)("main"),n={nonce:rsssl_settings.rsssl_nonce};return e.push(n),_t("reallysimplessl/v1/fields/set"+Ot()+t,e)},Rt=(e,t,n)=>(t||(t=!1),n||(n=!1),n=encodeURIComponent(JSON.stringify(n)),St("reallysimplessl/v1/tests/"+e+Ot()+"state="+t+ht()+"&data="+n)),Pt=(e,t)=>St("reallysimplessl/v1/tests/"+e+Ot()+"letsencrypt=1&id="+t+ht()),xt=(e,t)=>{const n={...t};return n.nonce=rsssl_settings.rsssl_nonce,_t("reallysimplessl/v1/do_action/"+e,n)}},5511:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{let t=window.location.href;if(-1===t.indexOf("#"))return!1;let n=t.split("#")[1];if(!n)return!1;let r=n.split("&");if("highlightfield"===e){for(let e of r)if(e.startsWith("highlightfield="))return e.split("=")[1];return!1}let s=r[0];if("anchor"===e){if(-1===s.indexOf("/"))return!1;{let e=s.split("/");return e.length>2&&e[2]}}if("menu"===e){if(-1===s.indexOf("/"))return!1;{let e=s.split("/");return e.length>1&&e[1]}}return-1===s.indexOf("/")?s:s.split("/")[0]}},53:(e,t,n)=>{"use strict";function r(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ts});const s=function(){for(var e,t,n=0,s="";n{"use strict";var r=n(6925);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1063:(e,t,n)=>{"use strict";var r=n(1609),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!s(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),s=r[0].inst,u=r[1];return a((function(){s.value=n,s.getSnapshot=t,c(s)&&u({inst:s})}),[e,n,t]),i((function(){return c(s)&&u({inst:s}),e((function(){c(s)&&u({inst:s})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},8940:(e,t,n)=>{"use strict";var r=n(1609),s=n(9888),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=s.useSyncExternalStore,a=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,s){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==s&&f.hasValue){var t=f.value;if(s(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==s&&s(t,n)?t:(i=e,a=n)}var i,a,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,s]);var p=i(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},9888:(e,t,n)=>{"use strict";e.exports=n(1063)},9242:(e,t,n)=>{"use strict";e.exports=n(8940)},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},6535:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:u(e)?2:d(e)?3:0}function l(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function u(e){return M&&e instanceof Map}function d(e){return B&&e instanceof Set}function f(e){return e.o||e.t}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W(e);delete t[H];for(var n=V(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=h),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function h(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=J[e];return t||r(18,e),t}function b(){return D}function v(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function E(e){w(e),e.p.forEach(_),e.p=null}function w(e){e===D&&(D=e.l)}function S(e){return D={p:[],l:D,h:e,m:!0,_:0}}function _(e){var t=e[H];0===t.i||1===t.i?t.j():t.g=!0}function O(e,t){t._=t.p.length;var n=t.p[0],s=void 0!==e&&e!==n;return t.h.O||y("ES5").S(t,e,s),s?(n[H].P&&(E(t),r(4)),o(e)&&(e=T(t,e),t.l||R(t,e)),t.u&&y("Patches").M(n[H].t,e,t.u,t.s)):e=T(t,n,[]),E(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function T(e,t,n){if(g(t))return t;var r=t[H];if(!r)return i(t,(function(s,o){return A(e,r,t,s,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return R(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var s=4===r.i||5===r.i?r.o=p(r.k):r.o,o=s,a=!1;3===r.i&&(o=new Set(s),s.clear(),a=!0),i(o,(function(t,o){return A(e,r,s,t,o,n,a)})),R(e,s,!1),n&&e.u&&y("Patches").N(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,i,a,u){if(s(i)){var d=T(e,i,a&&t&&3!==t.i&&!l(t.R,r)?a.concat(r):void 0);if(c(n,r,d),!s(d))return;e.m=!1}else u&&n.add(i);if(o(i)&&!g(i)){if(!e.h.D&&e._<1)return;T(e,i),t&&t.A.l||R(e,i)}}function R(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function P(e,t){var n=e[H];return(n?f(n):e)[t]}function x(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function C(e){e.P||(e.P=!0,e.l&&C(e.l))}function N(e){e.o||(e.o=p(e.t))}function I(e,t,n){var r=u(t)?y("MapSet").F(t,n):d(t)?y("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:b(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},s=r,o=K;n&&(s=[r],o=G);var i=Proxy.revocable(s,o),a=i.revoke,l=i.proxy;return r.k=l,r.j=a,l}(t,n):y("ES5").J(t,n);return(n?n.A:b()).p.push(r),r}function L(e){return s(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[H],s=a(t);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=k(t,s),r.I=!1}else n=k(t,s);return i(n,(function(t,s){r&&function(e,t){return 2===a(e)?e.get(t):e[t]}(r.t,t)===s||c(n,t,e(s))})),3===s?new Set(n):n}(e)}function k(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}n.d(t,{Ay:()=>Z,jM:()=>Y});var j,D,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),M="undefined"!=typeof Map,B="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=F?Symbol.for("immer-nothing"):((j={})["immer-nothing"]=!0,j),z=F?Symbol.for("immer-draftable"):"__$immer_draftable",H=F?Symbol.for("immer-state"):"__$immer_state",$=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),V="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W=Object.getOwnPropertyDescriptors||function(e){var t={};return V(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},J={},K={get:function(e,t){if(t===H)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var r,s=x(t,n);return s?"value"in s?s.value:null===(r=s.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===P(e.t,t)?(N(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var r=x(f(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var s=P(f(e),t),o=null==s?void 0:s[H];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,s)&&(void 0!==n||l(e.t,t)))return!0;N(e),C(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==P(e.t,t)||t in e.t?(e.R[t]=!1,N(e),C(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},G={};i(K,(function(e,t){G[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),G.deleteProperty=function(e,t){return G.set.call(this,e,t,void 0)},G.set=function(e,t,n){return K.set.call(this,e[0],t,n,e[0])};var X=function(){function e(e){var t=this;this.O=U,this.D=!0,this.produce=function(e,n,s){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var a=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,s=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=y("Patches").$;return s(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),Q=new X,Y=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q);const Z=Y},9571:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bounce:()=>O,Flip:()=>R,Icons:()=>h,Slide:()=>T,ToastContainer:()=>P,Zoom:()=>A,collapseToast:()=>u,cssTransition:()=>d,toast:()=>M,useToast:()=>v,useToastContainer:()=>g});var r=n(1609),s=n(53);const o=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,a=e=>"function"==typeof e,l=e=>i(e)||a(e)?e:null,c=e=>(0,r.isValidElement)(e)||i(e)||a(e)||o(e);function u(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:s}=e;requestAnimationFrame((()=>{s.minHeight="initial",s.height=r+"px",s.transition=`all ${n}ms`,requestAnimationFrame((()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)}))}))}function d(e){let{enter:t,exit:n,appendPosition:s=!1,collapse:o=!0,collapseDuration:i=300}=e;return function(e){let{children:a,position:l,preventExitTransition:c,done:d,nodeRef:f,isIn:p}=e;const m=s?`${t}--${l}`:t,h=s?`${n}--${l}`:n,g=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=f.current,t=m.split(" "),n=r=>{r.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===g.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),o?u(e,d,i):d()};p||(c?t():(g.current=1,e.className+=` ${h}`,e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,a)}}function f(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},m=e=>{let{theme:t,type:n,...s}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...s})},h={info:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(m,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function g(e){const[,t]=(0,r.useReducer)((e=>e+1),0),[n,s]=(0,r.useState)([]),u=(0,r.useRef)(null),d=(0,r.useRef)(new Map).current,m=e=>-1!==n.indexOf(e),g=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:m,getToast:e=>d.get(e)}).current;function y(e){let{containerId:t}=e;const{limit:n}=g.props;!n||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function b(e){s((t=>null==e?[]:t.filter((t=>t!==e))))}function v(){const{toastContent:e,toastProps:t,staleId:n}=g.queue.shift();w(e,t,n)}function E(e,n){let{delay:s,staleId:m,...y}=n;if(!c(e)||function(e){return!u.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||d.has(e.toastId)&&null==e.updateId}(y))return;const{toastId:E,updateId:S,data:_}=y,{props:O}=g,T=()=>b(E),A=null==S;A&&g.count++;const R={...O,style:O.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(y).filter((e=>{let[t,n]=e;return null!=n}))),toastId:E,updateId:S,data:_,closeToast:T,isIn:!1,className:l(y.className||O.toastClassName),bodyClassName:l(y.bodyClassName||O.bodyClassName),progressClassName:l(y.progressClassName||O.progressClassName),autoClose:!y.isLoading&&(P=y.autoClose,x=O.autoClose,!1===P||o(P)&&P>0?P:x),deleteToast(){const e=f(d.get(E),"removed");d.delete(E),p.emit(4,e);const n=g.queue.length;if(g.count=null==E?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),n>0){const e=null==E?g.props.limit:1;if(1===n||1===e)g.displayedToast++,v();else{const t=e>n?n:e;g.displayedToast=t;for(let e=0;ee in h)(n)&&(c=h[n](u))),c}(R),a(y.onOpen)&&(R.onOpen=y.onOpen),a(y.onClose)&&(R.onClose=y.onClose),R.closeButton=O.closeButton,!1===y.closeButton||c(y.closeButton)?R.closeButton=y.closeButton:!0===y.closeButton&&(R.closeButton=!c(O.closeButton)||O.closeButton);let C=e;(0,r.isValidElement)(e)&&!i(e.type)?C=(0,r.cloneElement)(e,{closeToast:T,toastProps:R,data:_}):a(e)&&(C=e({closeToast:T,toastProps:R,data:_})),O.limit&&O.limit>0&&g.count>O.limit&&A?g.queue.push({toastContent:C,toastProps:R,staleId:m}):o(s)?setTimeout((()=>{w(C,R,m)}),s):w(C,R,m)}function w(e,t,n){const{toastId:r}=t;n&&d.delete(n);const o={content:e,props:t};d.set(r,o),s((e=>[...e,r].filter((e=>e!==n)))),p.emit(4,f(o,null==o.props.updateId?"added":"updated"))}return(0,r.useEffect)((()=>(g.containerId=e.containerId,p.cancelEmit(3).on(0,E).on(1,(e=>u.current&&b(e))).on(5,y).emit(2,g),()=>{d.clear(),p.emit(3,g)})),[]),(0,r.useEffect)((()=>{g.props=e,g.isToastActive=m,g.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(d.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:u,isToastActive:m}}function y(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function v(e){const[t,n]=(0,r.useState)(!1),[s,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),l=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,r.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:m}=e;function h(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),document.addEventListener("touchmove",w),document.addEventListener("touchend",S);const n=i.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=n.getBoundingClientRect(),n.style.transition="",l.x=y(t.nativeEvent),l.y=b(t.nativeEvent),"x"===e.draggableDirection?(l.start=l.x,l.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(l.start=l.y,l.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function g(t){if(l.boundingRect){const{top:n,bottom:r,left:s,right:o}=l.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&l.x>=s&&l.x<=o&&l.y>=n&&l.y<=r?E():v()}}function v(){n(!0)}function E(){n(!1)}function w(n){const r=i.current;l.canDrag&&r&&(l.didMove=!0,t&&E(),l.x=y(n),l.y=b(n),l.delta="x"===e.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${l.delta}px)`,r.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function S(){document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",S);const t=i.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return o(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)((()=>{c.current=e})),(0,r.useEffect)((()=>(i.current&&i.current.addEventListener("d",v,{once:!0}),a(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=c.current;a(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)})),[]),(0,r.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||E(),window.addEventListener("focus",v),window.addEventListener("blur",E)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",v),window.removeEventListener("blur",E))})),[e.pauseOnFocusLoss]);const _={onMouseDown:h,onTouchStart:h,onMouseUp:g,onTouchEnd:g};return u&&d&&(_.onMouseEnter=E,_.onMouseLeave=v),m&&(_.onClick=e=>{p&&p(e),l.canCloseOnClick&&f()}),{playToast:v,pauseToast:E,isRunning:t,preventExitTransition:s,toastRef:i,eventHandlers:_}}function E(e){let{closeToast:t,theme:n,ariaLabel:s="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":s},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function w(e){let{delay:t,isRunning:n,closeToast:o,type:i="default",hide:l,className:c,style:u,controlledProgress:d,progress:f,rtl:p,isIn:m,theme:h}=e;const g=l||d&&0===f,y={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:g?0:1};d&&(y.transform=`scaleX(${f})`);const b=(0,s.A)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${h}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":p}),v=a(c)?c({rtl:p,type:i,defaultClassName:b}):(0,s.A)(b,c);return r.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:v,style:y,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{m&&o()}})}const S=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:i}=v(e),{closeButton:l,children:c,autoClose:u,onClick:d,type:f,hideProgressBar:p,closeToast:m,transition:h,position:g,className:y,style:b,bodyClassName:S,bodyStyle:_,progressClassName:O,progressStyle:T,updateId:A,role:R,progress:P,rtl:x,toastId:C,deleteToast:N,isIn:I,isLoading:L,iconOut:k,closeOnClick:j,theme:D}=e,F=(0,s.A)("Toastify__toast",`Toastify__toast-theme--${D}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":x},{"Toastify__toast--close-on-click":j}),M=a(y)?y({rtl:x,position:g,type:f,defaultClassName:F}):(0,s.A)(F,y),B=!!P||!u,U={closeToast:m,type:f,theme:D};let q=null;return!1===l||(q=a(l)?l(U):(0,r.isValidElement)(l)?(0,r.cloneElement)(l,U):E(U)),r.createElement(h,{isIn:I,done:N,position:g,preventExitTransition:n,nodeRef:o},r.createElement("div",{id:C,onClick:d,className:M,...i,style:b,ref:o},r.createElement("div",{...I&&{role:R},className:a(S)?S({type:f}):(0,s.A)("Toastify__toast-body",S),style:_},null!=k&&r.createElement("div",{className:(0,s.A)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!L})},k),r.createElement("div",null,c)),q,r.createElement(w,{...A&&!B?{key:`pb-${A}`}:{},rtl:x,theme:D,delay:u,isRunning:t,isIn:I,closeToast:m,hide:p,type:f,style:T,className:O,controlledProgress:B,progress:P||0})))},_=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},O=d(_("bounce",!0)),T=d(_("slide",!0)),A=d(_("zoom")),R=d(_("flip")),P=(0,r.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:o,isToastActive:i}=g(e),{className:c,style:u,rtl:d,containerId:f}=e;function p(e){const t=(0,s.A)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return a(c)?c({position:e,rtl:d,defaultClassName:t}):(0,s.A)(t,l(c))}return(0,r.useEffect)((()=>{t&&(t.current=o.current)}),[]),r.createElement("div",{ref:o,className:"Toastify",id:f},n(((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:p(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:s,props:o}=e;return r.createElement(S,{...o,isIn:i(o.toastId),style:{...o.style,"--nth":n+1,"--len":t.length},key:`toast-${o.key}`},s)})))})))}));P.displayName="ToastContainer",P.defaultProps={position:"top-right",transition:O,autoClose:5e3,closeButton:E,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let x,C=new Map,N=[],I=1;function L(){return""+I++}function k(e){return e&&(i(e.toastId)||o(e.toastId))?e.toastId:L()}function j(e,t){return C.size>0?p.emit(0,e,t):N.push({content:e,options:t}),t.toastId}function D(e,t){return{...t,type:t&&t.type||e,toastId:k(t)}}function F(e){return(t,n)=>j(t,D(e,n))}function M(e,t){return j(e,D("default",t))}M.loading=(e,t)=>j(e,D("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),M.promise=function(e,t,n){let r,{pending:s,error:o,success:l}=t;s&&(r=i(s)?M.loading(s,n):M.loading(s.render,{...n,...s}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,s)=>{if(null==t)return void M.dismiss(r);const o={type:e,...c,...n,data:s},a=i(t)?{render:t}:t;return r?M.update(r,{...o,...a}):M(a.render,{...o,...a}),s},d=a(e)?e():e;return d.then((e=>u("success",l,e))).catch((e=>u("error",o,e))),d},M.success=F("success"),M.info=F("info"),M.error=F("error"),M.warning=F("warning"),M.warn=M.warning,M.dark=(e,t)=>j(e,D("default",{theme:"dark",...t})),M.dismiss=e=>{C.size>0?p.emit(1,e):N=N.filter((t=>null!=e&&t.options.toastId!==e))},M.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},M.isActive=e=>{let t=!1;return C.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},M.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=C.get(n||x);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:s}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:L()};o.toastId!==e&&(o.staleId=e);const i=o.render||s;delete o.render,j(i,o)}}),0)},M.done=e=>{M.update(e,{progress:1})},M.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),M.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},M.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,(e=>{x=e.containerId||e,C.set(x,e),N.forEach((e=>{p.emit(0,e.content,e.options)})),N=[]})).on(3,(e=>{C.delete(e.containerId||e),0===C.size&&p.off(0).off(1).off(5)}))},1621:(e,t,n)=>{"use strict";n.d(t,{vt:()=>d});const r=e=>{let t;const n=new Set,r=(e,r)=>{const s="function"==typeof e?e(t):e;if(!Object.is(s,t)){const e=t;t=(null!=r?r:"object"!=typeof s||null===s)?s:Object.assign({},t,s),n.forEach((n=>n(t,e)))}},s=()=>t,o={setState:r,getState:s,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,s,o);return o};var s=n(1609),o=n(9242);const{useDebugValue:i}=s,{useSyncExternalStoreWithSelector:a}=o;let l=!1;const c=e=>e,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>function(e,t=c,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);const r=a(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return i(r),r}(t,e,n);return Object.assign(n,t),n},d=e=>e?u(e):u}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e].call(o.exports,o,o.exports,s),o.exports}s.m=n,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>e+"."+{8:"91f98cbe247219188651",43:"9b4f5449623ef5cfc663",59:"32503627e0012b8db866",299:"e2c8510f152ca8a880a7",307:"d0ab64bac784368bf355",361:"2faddb7f371fc911c2f1",393:"558c6c40a4c776a58969",439:"b7af361efb18e560a79c",588:"2934ac808737314da558",778:"cf286e0fe201e170f0d9",814:"b3d8b8e2b9f9be83a1fa",838:"a2810159b3db662d2b34"}[e]+".js",s.miniCssF=e=>e+".css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="really-simple-ssl:",s.l=(n,r,o,i)=>{if(e[n])e[n].push(r);else{var a,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var s=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((e=>e(r))),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};s.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{299:1,814:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=s.miniCssF(e),o=s.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",s.nc&&(i.nonce=s.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var s=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=a,i.parentNode&&i.parentNode.removeChild(i),o(l)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={57:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,l]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);l&&l(s)}for(t&&t(n);c{"use strict";var e=s(1609),t=s(6087),n=s(7723),r=s(1446),o=s(2043),i=s(6155);const a=()=>{const{menu:s,selectedMainMenuItem:a,fetchMenuData:l}=(0,o.A)();let c=rsssl_settings.plugin_url;(0,t.useEffect)((()=>{l()}),[]);let u=s.filter((e=>null!==e));return(0,e.createElement)("div",{className:"rsssl-header-container"},(0,e.createElement)("div",{className:"rsssl-header"},(0,e.createElement)("img",{className:"rsssl-logo",src:c+"assets/img/really-simple-ssl-logo.svg",alt:"Really Simple SSL logo"}),(0,e.createElement)("div",{className:"rsssl-header-left"},(0,e.createElement)("nav",{className:"rsssl-header-menu"},(0,e.createElement)("ul",null,u.map(((t,n)=>(0,e.createElement)("li",{key:"menu-"+n},(0,e.createElement)("a",{className:a===t.id?"active":"",href:"#"+t.id.toString()},t.title))))))),(0,e.createElement)("div",{className:"rsssl-header-right"},!rsssl_settings.le_generated_by_rsssl&&(0,e.createElement)("a",{className:"rsssl-knowledge-base-link",href:(0,i.g)("https://really-simple-ssl.com/knowledge-base"),target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Documentation","really-simple-ssl")),rsssl_settings.le_generated_by_rsssl&&(0,e.createElement)("a",{href:rsssl_settings.letsencrypt_url},(0,n.__)("Let's Encrypt","really-simple-ssl")),rsssl_settings.pro_plugin_active&&(0,e.createElement)("a",{href:"https://wordpress.org/support/plugin/really-simple-ssl/",className:"button button-black",target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Support","really-simple-ssl")),!rsssl_settings.pro_plugin_active&&(0,e.createElement)("a",{href:rsssl_settings.upgrade_link,className:"button button-black",target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Go Pro","really-simple-ssl")))),(0,e.createElement)(r.default,{className:"rsssl-wizard-notices"}))};var l=s(3972);const c=t=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"rsssl-header-container"},(0,e.createElement)("div",{className:"rsssl-header"},(0,e.createElement)("img",{className:"rsssl-logo",src:rsssl_settings.plugin_url+"assets/img/really-simple-ssl-logo.svg",alt:"Really Simple SSL logo"}))),(0,e.createElement)("div",{className:"rsssl-content-area rsssl-grid rsssl-dashboard rsssl-page-placeholder"},(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-column-2 rsssl-row-2 "},t.error&&(0,e.createElement)(l.A,{error:t.error})),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-row-2"}),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-row-2"}),(0,e.createElement)("div",{className:"rsssl-grid-item rsssl-column-2"})));var u=s(5511),d=s(6975),f=s(7283),p=s(5319),m=s(5170);const h=()=>{const{error:r,fields:i,changedFields:l,fetchFieldsData:h,updateFieldsData:g,fieldsLoaded:y}=(0,d.A)(),{showOnboardingModal:b,fetchOnboardingModalStatus:v,modalStatusLoaded:E}=(0,f.A)(),{selectedMainMenuItem:w,fetchMenuData:S}=(0,o.A)(),{showModal:_}=(0,p.A)(),[O,T]=(0,t.useState)(null),[A,R]=(0,t.useState)(null),[P,x]=(0,t.useState)(null),[C,N]=(0,t.useState)(null),[I,L]=(0,t.useState)(null);(0,t.useEffect)((()=>{E||v()}),[]),(0,t.useEffect)((()=>{rsssl_settings.json_translations.forEach((e=>{let t=JSON.parse(e),r=t.locale_data["really-simple-ssl"]||t.locale_data.messages;r[""].domain="really-simple-ssl",(0,n.setLocaleData)(r,"really-simple-ssl")}))}),[]),(0,t.useEffect)((()=>{"dashboard"!==w&&(O||Promise.all([s.e(8),s.e(838),s.e(778)]).then(s.bind(s,9778)).then((({default:e})=>{T((()=>e))})),P||Promise.resolve().then(s.bind(s,1446)).then((({default:e})=>{x((()=>e))})),C||s.e(588).then(s.bind(s,3588)).then((({default:e})=>{N((()=>e))}))),"dashboard"!==w||A||Promise.all([s.e(8),s.e(838),s.e(43)]).then(s.bind(s,8043)).then((async({default:e})=>{R((()=>e))}))}),[w]);const[k,j]=(0,t.useState)(null);(0,t.useEffect)((()=>{b&&!k&&Promise.all([s.e(8),s.e(838),s.e(59),s.e(814)]).then(s.bind(s,814)).then((({default:e})=>{j((()=>e))}))}),[b]);const[D,F]=(0,t.useState)(null);return(0,t.useEffect)((()=>{_&&!D&&Promise.all([s.e(8),s.e(439)]).then(s.bind(s,1439)).then((({default:e})=>{F((()=>e))}))}),[_]),(0,t.useEffect)((()=>{Promise.resolve().then(s.bind(s,9571)).then((e=>{const t=e.ToastContainer;L((()=>t))}))}),[]),(0,t.useEffect)((()=>{y&&(S(i),window.addEventListener("hashchange",(e=>{S(i)})))}),[i]),(0,t.useEffect)((()=>{let e=(0,u.A)("menu");g(e)}),[l]),(0,t.useEffect)((()=>{let e=(0,u.A)("menu");h(e)}),[]),r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(c,{error:r})):(0,e.createElement)("div",{className:"rsssl-wrapper"},k&&(0,e.createElement)(m.A,{fallback:"Could not load onboarding modal"},(0,e.createElement)(k,null)),D&&(0,e.createElement)(m.A,{fallback:"Could not load modal"},(0,e.createElement)(D,null)),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)("div",{className:"rsssl-content-area rsssl-grid rsssl-"+w},"dashboard"!==w&&O&&C&&P&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(m.A,{fallback:"Could not load menu"},(0,e.createElement)(C,null)),(0,e.createElement)(m.A,{fallback:"Could not load settings"},(0,e.createElement)(O,null)),(0,e.createElement)(m.A,{fallback:"Could not load notices"},(0,e.createElement)(P,{className:"rsssl-wizard-notices"}))),"dashboard"===w&&A&&(0,e.createElement)(m.A,{fallback:"Could not load menu"},(0,e.createElement)(A,null)))),I&&(0,e.createElement)(I,{position:"bottom-right",autoClose:2e3,limit:3,hideProgressBar:!0,newestOnTop:!0,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,theme:"light"}))};document.addEventListener("DOMContentLoaded",(()=>{const n=document.getElementById("really-simple-ssl");n&&(t.createRoot?(0,t.createRoot)(n).render((0,e.createElement)(h,null)):(0,t.render)((0,e.createElement)(h,null),n))})),document.addEventListener("click",(e=>{e.target.closest("#ssl-labs-check-button")&&(document.querySelector(".rsssl-ssllabs").classList.add("rsssl-block-highlight"),setTimeout((function(){document.querySelector(".rsssl-ssllabs").classList.remove("rsssl-block-highlight")}),6e3))}))})()})(); \ No newline at end of file diff --git a/settings/src/Settings/PremiumOverlay.js b/settings/src/Settings/PremiumOverlay.js index b26d536a9..74d8e6c71 100644 --- a/settings/src/Settings/PremiumOverlay.js +++ b/settings/src/Settings/PremiumOverlay.js @@ -1,5 +1,6 @@ import {__} from "@wordpress/i18n"; import useLicense from "./License/LicenseData"; +import Hyperlink from "../utils/Hyperlink"; const PremiumOverlay = ({msg, title, upgrade}) => { const {licenseStatus} = useLicense(); @@ -10,7 +11,7 @@ const PremiumOverlay = ({msg, title, upgrade}) => { if (pro_plugin_active) { upgradeUrl = '#settings/license'; } - let message = msg ? msg : __("Learn more about %sPremium%s", "really-simple-ssl"); + let message = msg ? msg : ; if ( pro_plugin_active ) { if (licenseStatus === 'empty' || licenseStatus === 'deactivated') { message = rsssl_settings.messageInactive; diff --git a/settings/src/Settings/SettingsGroup.js b/settings/src/Settings/SettingsGroup.js index 0f5475d7d..3a4e4cc09 100644 --- a/settings/src/Settings/SettingsGroup.js +++ b/settings/src/Settings/SettingsGroup.js @@ -93,15 +93,6 @@ const SettingsGroup = (props) => { } } - let msg = activeGroup.premium_text ? activeGroup.premium_text : __("Learn more about %sPremium%s", "really-simple-ssl"); - if (rsssl_settings.pro_plugin_active) { - if (licenseStatus === 'empty' || licenseStatus === 'deactivated') { - msg = rsssl_settings.messageInactive; - } else { - msg = rsssl_settings.messageInvalid; - } - } - let disabled = licenseStatus !== 'valid' && activeGroup.premium; //if a feature can only be used on networkwide or single site setups, pass that info here. let networkwide_error = !rsssl_settings.networkwide_active && activeGroup.networkwide_required;