PHP 8.2.31
Preview: wordfence.1778685035.js Size: 1.10 MB
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/wordfence/js/wordfence.1778685035.js

import{reactive as e,ref as t,computed as n,openBlock as a,createBlock as l,Transition as o,withCtx as s,createElementBlock as r,createCommentVNode as i,inject as u,toRefs as c,useTemplateRef as d,shallowReactive as p,watch as f,resolveDirective as h,Fragment as m,renderList as g,unref as w,createElementVNode as v,toDisplayString as b,resolveDynamicComponent as y,normalizeClass as k,withDirectives as _,createTextVNode as x,provide as S,onMounted as T,Teleport as C,createVNode as M,shallowRef as L,getCurrentInstance as A,onBeforeUnmount as D,nextTick as P,mergeProps as O,withModifiers as $,renderSlot as I,withKeys as E,customRef as R,useSlots as N,cloneVNode as B,vModelText as V,vShow as F,normalizeStyle as H,createStaticVNode as U,createSlots as q,useAttrs as j,isRef as W,vModelRadio as z,vModelSelect as Y,toValue as G,getCurrentScope as K,onScopeDispose as Z,shallowReadonly as Q,defineComponent as X,normalizeProps as J,guardReactiveProps as ee,mergeDefaults as te,readonly as ne,toRef as ae,onUnmounted as le,h as oe,onBeforeUpdate as se,toRaw as re,vModelCheckbox as ie,triggerRef as ue,toHandlers as ce,createApp as de}from"vue";var pe,fe,he,me,ge,we,ve,be,ye,ke,_e,xe,Se,Te,Ce,Me,Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ae(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function De(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}function Pe(){if(fe)return pe;fe=1;var e=function(e){return e&&e.Math===Math&&e};return pe=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof Le&&Le)||e("object"==typeof pe&&pe)||
/* @__PURE__ */function(){return this}()||Function("return this")()}function Oe(){return me?he:(me=1,he=function(e){try{return!!e()}catch(t){return!0}})}function $e(){return we?ge:(we=1,ge=!/* @__PURE__ */Oe()(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))}function Ie(){if(be)return ve;be=1;var e=/* @__PURE__ */$e(),t=Function.prototype,n=t.apply,a=t.call;return ve="object"==typeof Reflect&&Reflect.apply||(e?a.bind(n):function(){return a.apply(n,arguments)}),ve}function Ee(){if(ke)return ye;ke=1;var e=/* @__PURE__ */$e(),t=Function.prototype,n=t.call,a=e&&t.bind.bind(n,n);return ye=e?a:function(e){return function(){return n.apply(e,arguments)}},ye}function Re(){if(xe)return _e;xe=1;var e=/* @__PURE__ */Ee(),t=e({}.toString),n=e("".slice);return _e=function(e){return n(t(e),8,-1)}}function Ne(){if(Te)return Se;Te=1;var e=/* @__PURE__ */Re(),t=/* @__PURE__ */Ee();return Se=function(n){if("Function"===e(n))return t(n)}}function Be(){if(Me)return Ce;Me=1;var e="object"==typeof document&&document.all;return Ce=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}var Ve,Fe,He,Ue,qe={};function je(){return Fe?Ve:(Fe=1,Ve=!/* @__PURE__ */Oe()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function We(){if(Ue)return He;Ue=1;var e=/* @__PURE__ */$e(),t=Function.prototype.call;return He=e?t.bind(t):function(){return t.apply(t,arguments)},He}var ze,Ye,Ge,Ke,Ze,Qe,Xe,Je,et,tt,nt,at,lt,ot,st,rt,it,ut,ct,dt,pt,ft,ht,mt,gt,wt,vt,bt,yt,kt,_t,xt,St,Tt,Ct,Mt,Lt,At={};function Dt(){if(ze)return At;ze=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return At.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,At}function Pt(){return Ge?Ye:(Ge=1,Ye=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function Ot(){if(Ze)return Ke;Ze=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */Re(),a=Object,l=e("".split);return Ke=t(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?l(e,""):a(e)}:a}function $t(){return Xe?Qe:(Xe=1,Qe=function(e){return null==e})}function It(){if(et)return Je;et=1;var e=/* @__PURE__ */$t(),t=TypeError;return Je=function(n){if(e(n))throw new t("Can't call method on "+n);return n}}function Et(){if(nt)return tt;nt=1;var e=/* @__PURE__ */Ot(),t=/* @__PURE__ */It();return tt=function(n){return e(t(n))}}function Rt(){if(lt)return at;lt=1;var e=/* @__PURE__ */Be();return at=function(t){return"object"==typeof t?null!==t:e(t)}}function Nt(){return st?ot:(st=1,ot={})}function Bt(){if(it)return rt;it=1;var e=/* @__PURE__ */Nt(),t=/* @__PURE__ */Pe(),n=/* @__PURE__ */Be(),a=function(e){return n(e)?e:void 0};return rt=function(n,l){return arguments.length<2?a(e[n])||a(t[n]):e[n]&&e[n][l]||t[n]&&t[n][l]},rt}function Vt(){return ct?ut:(ct=1,ut=/* @__PURE__ */Ee()({}.isPrototypeOf))}function Ft(){if(pt)return dt;pt=1;var e=/* @__PURE__ */Pe().navigator,t=e&&e.userAgent;return dt=t?String(t):""}function Ht(){if(ht)return ft;ht=1;var e,t,n=/* @__PURE__ */Pe(),a=/* @__PURE__ */Ft(),l=n.process,o=n.Deno,s=l&&l.versions||o&&o.version,r=s&&s.v8;return r&&(t=(e=r.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(t=+e[1]),ft=t}function Ut(){if(gt)return mt;gt=1;var e=/* @__PURE__ */Ht(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */Pe().String;return mt=!!Object.getOwnPropertySymbols&&!t(function(){var t=/* @__PURE__ */Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function qt(){return vt?wt:(vt=1,wt=/* @__PURE__ */Ut()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function jt(){if(yt)return bt;yt=1;var e=/* @__PURE__ */Bt(),t=/* @__PURE__ */Be(),n=/* @__PURE__ */Vt(),a=Object;return bt=/* @__PURE__ */qt()?function(e){return"symbol"==typeof e}:function(l){var o=e("Symbol");return t(o)&&n(o.prototype,a(l))}}function Wt(){if(_t)return kt;_t=1;var e=String;return kt=function(t){try{return e(t)}catch(n){return"Object"}}}function zt(){if(St)return xt;St=1;var e=/* @__PURE__ */Be(),t=/* @__PURE__ */Wt(),n=TypeError;return xt=function(a){if(e(a))return a;throw new n(t(a)+" is not a function")}}function Yt(){if(Ct)return Tt;Ct=1;var e=/* @__PURE__ */zt(),t=/* @__PURE__ */$t();return Tt=function(n,a){var l=n[a];return t(l)?void 0:e(l)}}function Gt(){if(Lt)return Mt;Lt=1;var e=/* @__PURE__ */We(),t=/* @__PURE__ */Be(),n=/* @__PURE__ */Rt(),a=TypeError;return Mt=function(l,o){var s,r;if("string"===o&&t(s=l.toString)&&!n(r=e(s,l)))return r;if(t(s=l.valueOf)&&!n(r=e(s,l)))return r;if("string"!==o&&t(s=l.toString)&&!n(r=e(s,l)))return r;throw new a("Can't convert object to primitive value")}}var Kt,Zt,Qt,Xt,Jt,en,tn,nn,an,ln,on,sn,rn,un,cn,dn,pn,fn,hn,mn,gn,wn,vn,bn,yn,kn,_n,xn,Sn={exports:{}};function Tn(){return Zt?Kt:(Zt=1,Kt=!0)}function Cn(){if(Xt)return Qt;Xt=1;var e=/* @__PURE__ */Pe(),t=Object.defineProperty;return Qt=function(n,a){try{t(e,n,{value:a,configurable:!0,writable:!0})}catch(l){e[n]=a}return a}}function Mn(){if(Jt)return Sn.exports;Jt=1;var e=/* @__PURE__ */Tn(),t=/* @__PURE__ */Pe(),n=/* @__PURE__ */Cn(),a="__core-js_shared__",l=Sn.exports=t[a]||n(a,{});return(l.versions||(l.versions=[])).push({version:"3.47.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Sn.exports}function Ln(){if(tn)return en;tn=1;var e=/* @__PURE__ */Mn();return en=function(t,n){return e[t]||(e[t]=n||{})}}function An(){if(an)return nn;an=1;var e=/* @__PURE__ */It(),t=Object;return nn=function(n){return t(e(n))}}function Dn(){if(on)return ln;on=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */An(),n=e({}.hasOwnProperty);return ln=Object.hasOwn||function(e,a){return n(t(e),a)}}function Pn(){if(rn)return sn;rn=1;var e=/* @__PURE__ */Ee(),t=0,n=Math.random(),a=e(1.1.toString);return sn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++t+n,36)}}function On(){if(cn)return un;cn=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Ln(),n=/* @__PURE__ */Dn(),a=/* @__PURE__ */Pn(),l=/* @__PURE__ */Ut(),o=/* @__PURE__ */qt(),s=e.Symbol,r=t("wks"),i=o?s.for||s:s&&s.withoutSetter||a;return un=function(e){return n(r,e)||(r[e]=l&&n(s,e)?s[e]:i("Symbol."+e)),r[e]}}function $n(){if(pn)return dn;pn=1;var e=/* @__PURE__ */We(),t=/* @__PURE__ */Rt(),n=/* @__PURE__ */jt(),a=/* @__PURE__ */Yt(),l=/* @__PURE__ */Gt(),o=TypeError,s=/* @__PURE__ */On()("toPrimitive");return dn=function(r,i){if(!t(r)||n(r))return r;var u,c=a(r,s);if(c){if(void 0===i&&(i="default"),u=e(c,r,i),!t(u)||n(u))return u;throw new o("Can't convert object to primitive value")}return void 0===i&&(i="number"),l(r,i)}}function In(){if(hn)return fn;hn=1;var e=/* @__PURE__ */$n(),t=/* @__PURE__ */jt();return fn=function(n){var a=e(n,"string");return t(a)?a:a+""}}function En(){if(gn)return mn;gn=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Rt(),n=e.document,a=t(n)&&t(n.createElement);return mn=function(e){return a?n.createElement(e):{}}}function Rn(){if(vn)return wn;vn=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */En();return wn=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Nn(){if(kn)return yn;kn=1;var e=/* @__PURE__ */Oe(),t=/* @__PURE__ */Be(),n=/#|\.prototype\./,a=function(n,a){var i=o[l(n)];return i===r||i!==s&&(t(a)?e(a):!!a)},l=a.normalize=function(e){return String(e).replace(n,".").toLowerCase()},o=a.data={},s=a.NATIVE="N",r=a.POLYFILL="P";return yn=a}function Bn(){if(xn)return _n;xn=1;var e=/* @__PURE__ */Ne(),t=/* @__PURE__ */zt(),n=/* @__PURE__ */$e(),a=e(e.bind);return _n=function(e,l){return t(e),void 0===l?e:n?a(e,l):function(){return e.apply(l,arguments)}},_n}var Vn,Fn,Hn,Un,qn,jn,Wn,zn,Yn,Gn,Kn,Zn,Qn,Xn,Jn,ea,ta={};function na(){return Fn?Vn:(Fn=1,Vn=/* @__PURE__ */je()&&/* @__PURE__ */Oe()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function aa(){if(Un)return Hn;Un=1;var e=/* @__PURE__ */Rt(),t=String,n=TypeError;return Hn=function(a){if(e(a))return a;throw new n(t(a)+" is not an object")}}function la(){if(qn)return ta;qn=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */Rn(),n=/* @__PURE__ */na(),a=/* @__PURE__ */aa(),l=/* @__PURE__ */In(),o=TypeError,s=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i="enumerable",u="configurable",c="writable";return ta.f=e?n?function(e,t,n){if(a(e),t=l(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&c in n&&!n[c]){var o=r(e,t);o&&o[c]&&(e[t]=n.value,n={configurable:u in n?n[u]:o[u],enumerable:i in n?n[i]:o[i],writable:!1})}return s(e,t,n)}:s:function(e,n,r){if(a(e),n=l(n),a(r),t)try{return s(e,n,r)}catch(i){}if("get"in r||"set"in r)throw new o("Accessors not supported");return"value"in r&&(e[n]=r.value),e},ta}function oa(){if(Wn)return jn;Wn=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */la(),n=/* @__PURE__ */Pt();return jn=e?function(e,a,l){return t.f(e,a,n(1,l))}:function(e,t,n){return e[t]=n,e}}function sa(){if(Yn)return zn;Yn=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Ie(),n=/* @__PURE__ */Ne(),a=/* @__PURE__ */Be(),l=function(){if(bn)return qe;bn=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */We(),n=/* @__PURE__ */Dt(),a=/* @__PURE__ */Pt(),l=/* @__PURE__ */Et(),o=/* @__PURE__ */In(),s=/* @__PURE__ */Dn(),r=/* @__PURE__ */Rn(),i=Object.getOwnPropertyDescriptor;return qe.f=e?i:function(e,u){if(e=l(e),u=o(u),r)try{return i(e,u)}catch(c){}if(s(e,u))return a(!t(n.f,e,u),e[u])},qe}().f,o=/* @__PURE__ */Nn(),s=/* @__PURE__ */Nt(),r=/* @__PURE__ */Bn(),i=/* @__PURE__ */oa(),u=/* @__PURE__ */Dn(),c=function(e){var n=function(a,l,o){if(this instanceof n){switch(arguments.length){case 0:return new e;case 1:return new e(a);case 2:return new e(a,l)}return new e(a,l,o)}return t(e,this,arguments)};return n.prototype=e.prototype,n};return zn=function(t,d){var p,f,h,m,g,w,v,b,y,k=t.target,_=t.global,x=t.stat,S=t.proto,T=_?e:x?e[k]:e[k]&&e[k].prototype,C=_?s:s[k]||i(s,k,{})[k],M=C.prototype;for(m in d)f=!(p=o(_?m:k+(x?".":"#")+m,t.forced))&&T&&u(T,m),w=C[m],f&&(v=t.dontCallGetSet?(y=l(T,m))&&y.value:T[m]),g=f&&v?v:d[m],(p||S||typeof w!=typeof g)&&(b=t.bind&&f?r(g,e):t.wrap&&f?c(g):S&&a(g)?n(g):g,(t.sham||g&&g.sham||w&&w.sham)&&i(b,"sham",!0),i(C,m,b),S&&(u(s,h=k+"Prototype")||i(s,h,{}),i(s[h],m,g),t.real&&M&&(p||!M[m])&&i(M,m,g)))}}function ra(){return Zn?Kn:(Zn=1,Gn||(Gn=1,/* @__PURE__ */sa()({target:"Object",stat:!0},{hasOwn:/* @__PURE__ */Dn()})),Kn=/* @__PURE__ */Nt().Object.hasOwn)}function ia(){return Xn?Qn:(Xn=1,Qn=/* @__PURE__ */ra())}function ua(){return ea?Jn:(ea=1,Jn=/* @__PURE__ */ia())}const ca=/* @__PURE__ */Ae(/* @__PURE__ */ua());var da,pa,fa,ha,ma,ga,wa,va,ba,ya,ka,_a,xa,Sa;function Ta(){return pa?da:(pa=1,da=function(){})}function Ca(){return ha?fa:(ha=1,fa={})}function Ma(){if(ga)return ma;ga=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Be(),n=e.WeakMap;return ma=t(n)&&/native code/.test(String(n))}function La(){if(va)return wa;va=1;var e=/* @__PURE__ */Ln(),t=/* @__PURE__ */Pn(),n=e("keys");return wa=function(e){return n[e]||(n[e]=t(e))}}function Aa(){return ya?ba:(ya=1,ba={})}function Da(){if(_a)return ka;_a=1;var e,t,n,a=/* @__PURE__ */Ma(),l=/* @__PURE__ */Pe(),o=/* @__PURE__ */Rt(),s=/* @__PURE__ */oa(),r=/* @__PURE__ */Dn(),i=/* @__PURE__ */Mn(),u=/* @__PURE__ */La(),c=/* @__PURE__ */Aa(),d="Object already initialized",p=l.TypeError,f=l.WeakMap;if(a||i.state){var h=i.state||(i.state=new f);h.get=h.get,h.has=h.has,h.set=h.set,e=function(e,t){if(h.has(e))throw new p(d);return t.facade=e,h.set(e,t),t},t=function(e){return h.get(e)||{}},n=function(e){return h.has(e)}}else{var m=u("state");c[m]=!0,e=function(e,t){if(r(e,m))throw new p(d);return t.facade=e,s(e,m,t),t},t=function(e){return r(e,m)?e[m]:{}},n=function(e){return r(e,m)}}return ka={set:e,get:t,has:n,enforce:function(a){return n(a)?t(a):e(a,{})},getterFor:function(e){return function(n){var a;if(!o(n)||(a=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return a}}}}function Pa(){if(Sa)return xa;Sa=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */Dn(),n=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,l=t(n,"name"),o=l&&"something"===function(){}.name,s=l&&(!e||e&&a(n,"name").configurable);return xa={EXISTS:l,PROPER:o,CONFIGURABLE:s}}var Oa,$a,Ia,Ea,Ra,Na,Ba,Va,Fa,Ha,Ua,qa,ja,Wa,za,Ya,Ga,Ka,Za,Qa,Xa,Ja,el,tl,nl,al,ll,ol,sl,rl,il,ul,cl,dl,pl,fl,hl,ml,gl,wl,vl,bl,yl,kl,_l,xl,Sl,Tl,Cl,Ml,Ll,Al,Dl,Pl,Ol,$l={};function Il(){if($a)return Oa;$a=1;var e=Math.ceil,t=Math.floor;return Oa=Math.trunc||function(n){var a=+n;return(a>0?t:e)(a)}}function El(){if(Ea)return Ia;Ea=1;var e=/* @__PURE__ */Il();return Ia=function(t){var n=+t;return n!=n||0===n?0:e(n)}}function Rl(){if(Na)return Ra;Na=1;var e=/* @__PURE__ */El(),t=Math.max,n=Math.min;return Ra=function(a,l){var o=e(a);return o<0?t(o+l,0):n(o,l)}}function Nl(){if(Va)return Ba;Va=1;var e=/* @__PURE__ */El(),t=Math.min;return Ba=function(n){var a=e(n);return a>0?t(a,9007199254740991):0}}function Bl(){if(Ha)return Fa;Ha=1;var e=/* @__PURE__ */Nl();return Fa=function(t){return e(t.length)}}function Vl(){if(Wa)return ja;Wa=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */Dn(),n=/* @__PURE__ */Et(),a=function(){if(qa)return Ua;qa=1;var e=/* @__PURE__ */Et(),t=/* @__PURE__ */Rl(),n=/* @__PURE__ */Bl(),a=function(a){return function(l,o,s){var r=e(l),i=n(r);if(0===i)return!a&&-1;var u,c=t(s,i);if(a&&o!=o){for(;i>c;)if((u=r[c++])!=u)return!0}else for(;i>c;c++)if((a||c in r)&&r[c]===o)return a||c||0;return!a&&-1}};return Ua={includes:a(!0),indexOf:a(!1)}}().indexOf,l=/* @__PURE__ */Aa(),o=e([].push);return ja=function(e,s){var r,i=n(e),u=0,c=[];for(r in i)!t(l,r)&&t(i,r)&&o(c,r);for(;s.length>u;)t(i,r=s[u++])&&(~a(c,r)||o(c,r));return c}}function Fl(){return Ya?za:(Ya=1,za=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Hl(){if(Ka)return Ga;Ka=1;var e=/* @__PURE__ */Vl(),t=/* @__PURE__ */Fl();return Ga=Object.keys||function(n){return e(n,t)}}function Ul(){if(Za)return $l;Za=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */na(),n=/* @__PURE__ */la(),a=/* @__PURE__ */aa(),l=/* @__PURE__ */Et(),o=/* @__PURE__ */Hl();return $l.f=e&&!t?Object.defineProperties:function(e,t){a(e);for(var s,r=l(t),i=o(t),u=i.length,c=0;u>c;)n.f(e,s=i[c++],r[s]);return e},$l}function ql(){return Xa?Qa:(Xa=1,Qa=/* @__PURE__ */Bt()("document","documentElement"))}function jl(){if(el)return Ja;el=1;var e,t=/* @__PURE__ */aa(),n=/* @__PURE__ */Ul(),a=/* @__PURE__ */Fl(),l=/* @__PURE__ */Aa(),o=/* @__PURE__ */ql(),s=/* @__PURE__ */En(),r="prototype",i="script",u=/* @__PURE__ */La()("IE_PROTO"),c=function(){},d=function(e){return"<"+i+">"+e+"</"+i+">"},p=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{e=new ActiveXObject("htmlfile")}catch(c){}var t,n,l;f="undefined"!=typeof document?document.domain&&e?p(e):(n=s("iframe"),l="java"+i+":",n.style.display="none",o.appendChild(n),n.src=String(l),(t=n.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):p(e);for(var u=a.length;u--;)delete f[r][a[u]];return f()};return l[u]=!0,Ja=Object.create||function(e,a){var l;return null!==e?(c[r]=t(e),l=new c,c[r]=null,l[u]=e):l=f(),void 0===a?l:n.f(l,a)}}function Wl(){return nl?tl:(nl=1,tl=!/* @__PURE__ */Oe()(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))}function zl(){if(ll)return al;ll=1;var e=/* @__PURE__ */Dn(),t=/* @__PURE__ */Be(),n=/* @__PURE__ */An(),a=/* @__PURE__ */La(),l=/* @__PURE__ */Wl(),o=a("IE_PROTO"),s=Object,r=s.prototype;return al=l?s.getPrototypeOf:function(a){var l=n(a);if(e(l,o))return l[o];var i=l.constructor;return t(i)&&l instanceof i?i.prototype:l instanceof s?r:null}}function Yl(){if(sl)return ol;sl=1;var e=/* @__PURE__ */oa();return ol=function(t,n,a,l){return l&&l.enumerable?t[n]=a:e(t,n,a),t}}function Gl(){if(il)return rl;il=1;var e,t,n,a=/* @__PURE__ */Oe(),l=/* @__PURE__ */Be(),o=/* @__PURE__ */Rt(),s=/* @__PURE__ */jl(),r=/* @__PURE__ */zl(),i=/* @__PURE__ */Yl(),u=/* @__PURE__ */On(),c=/* @__PURE__ */Tn(),d=u("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(t=r(r(n)))!==Object.prototype&&(e=t):p=!0),!o(e)||a(function(){var t={};return e[d].call(t)!==t})?e={}:c&&(e=s(e)),l(e[d])||i(e,d,function(){return this}),rl={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}function Kl(){if(cl)return ul;cl=1;var e={};return e[/* @__PURE__ */On()("toStringTag")]="z",ul="[object z]"===String(e)}function Zl(){if(pl)return dl;pl=1;var e=/* @__PURE__ */Kl(),t=/* @__PURE__ */Be(),n=/* @__PURE__ */Re(),a=/* @__PURE__ */On()("toStringTag"),l=Object,o="Arguments"===n(/* @__PURE__ */function(){return arguments}());return dl=e?n:function(e){var s,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(n){}}(s=l(e),a))?r:o?n(s):"Object"===(i=n(s))&&t(s.callee)?"Arguments":i}}function Ql(){if(hl)return fl;hl=1;var e=/* @__PURE__ */Kl(),t=/* @__PURE__ */Zl();return fl=e?{}.toString:function(){return"[object "+t(this)+"]"}}function Xl(){if(gl)return ml;gl=1;var e=/* @__PURE__ */Kl(),t=la().f,n=/* @__PURE__ */oa(),a=/* @__PURE__ */Dn(),l=/* @__PURE__ */Ql(),o=/* @__PURE__ */On()("toStringTag");return ml=function(s,r,i,u){var c=i?s:s&&s.prototype;c&&(a(c,o)||t(c,o,{configurable:!0,value:r}),u&&!e&&n(c,"toString",l))}}function Jl(){if(vl)return wl;vl=1;var e=Gl().IteratorPrototype,t=/* @__PURE__ */jl(),n=/* @__PURE__ */Pt(),a=/* @__PURE__ */Xl(),l=/* @__PURE__ */Ca(),o=function(){return this};return wl=function(s,r,i,u){var c=r+" Iterator";return s.prototype=t(e,{next:n(+!u,i)}),a(s,c,!1,!0),l[c]=o,s}}function eo(){if(yl)return bl;yl=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */zt();return bl=function(n,a,l){try{return e(t(Object.getOwnPropertyDescriptor(n,a)[l]))}catch(o){}}}function to(){if(_l)return kl;_l=1;var e=/* @__PURE__ */Rt();return kl=function(t){return e(t)||null===t}}function no(){if(Sl)return xl;Sl=1;var e=/* @__PURE__ */to(),t=String,n=TypeError;return xl=function(a){if(e(a))return a;throw new n("Can't set "+t(a)+" as a prototype")}}function ao(){if(Cl)return Tl;Cl=1;var e=/* @__PURE__ */eo(),t=/* @__PURE__ */Rt(),n=/* @__PURE__ */It(),a=/* @__PURE__ */no();return Tl=Object.setPrototypeOf||("__proto__"in{}?function(){var l,o=!1,s={};try{(l=e(Object.prototype,"__proto__","set"))(s,[]),o=s instanceof Array}catch(r){}return function(e,s){return n(e),a(s),t(e)?(o?l(e,s):e.__proto__=s,e):e}}():void 0)}function lo(){if(Ll)return Ml;Ll=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */We(),n=/* @__PURE__ */Tn(),a=/* @__PURE__ */Pa(),l=/* @__PURE__ */Be(),o=/* @__PURE__ */Jl(),s=/* @__PURE__ */zl(),r=/* @__PURE__ */ao(),i=/* @__PURE__ */Xl(),u=/* @__PURE__ */oa(),c=/* @__PURE__ */Yl(),d=/* @__PURE__ */On(),p=/* @__PURE__ */Ca(),f=/* @__PURE__ */Gl(),h=a.PROPER,m=a.CONFIGURABLE,g=f.IteratorPrototype,w=f.BUGGY_SAFARI_ITERATORS,v=d("iterator"),b="keys",y="values",k="entries",_=function(){return this};return Ml=function(a,d,f,x,S,T,C){o(f,d,x);var M,L,A,D=function(e){if(e===S&&E)return E;if(!w&&e&&e in $)return $[e];switch(e){case b:case y:case k:return function(){return new f(this,e)}}return function(){return new f(this)}},P=d+" Iterator",O=!1,$=a.prototype,I=$[v]||$["@@iterator"]||S&&$[S],E=!w&&I||D(S),R="Array"===d&&$.entries||I;if(R&&(M=s(R.call(new a)))!==Object.prototype&&M.next&&(n||s(M)===g||(r?r(M,g):l(M[v])||c(M,v,_)),i(M,P,!0,!0),n&&(p[P]=_)),h&&S===y&&I&&I.name!==y&&(!n&&m?u($,"name",y):(O=!0,E=function(){return t(I,this)})),S)if(L={values:D(y),keys:T?E:D(b),entries:D(k)},C)for(A in L)(w||O||!(A in $))&&c($,A,L[A]);else e({target:d,proto:!0,forced:w||O},L);return n&&!C||$[v]===E||c($,v,E,{name:S}),p[d]=E,L}}function oo(){return Dl?Al:(Dl=1,Al=function(e,t){return{value:e,done:t}})}var so,ro,io={},uo={exports:{}},co={};function po(){if(ro)return co;ro=1;var e=/* @__PURE__ */Vl(),t=/* @__PURE__ */Fl().concat("length","prototype");return co.f=Object.getOwnPropertyNames||function(n){return e(n,t)},co}var fo,ho,mo,go,wo,vo,bo,yo,ko,_o,xo,So,To,Co,Mo,Lo,Ao,Do,Po,Oo,$o,Io,Eo,Ro,No,Bo,Vo,Fo,Ho,Uo,qo,jo,Wo,zo,Yo,Go,Ko,Zo,Qo,Xo,Jo,es,ts,ns,as,ls,os={};function ss(){return ho?fo:(ho=1,fo=/* @__PURE__ */Ee()([].slice))}function rs(){if(mo)return os;mo=1;var e=/* @__PURE__ */Re(),t=/* @__PURE__ */Et(),n=po().f,a=/* @__PURE__ */ss(),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return os.f=function(o){return l&&"Window"===e(o)?function(e){try{return n(e)}catch(t){return a(l)}}(o):n(t(o))},os}function is(){return wo?go:(wo=1,go=/* @__PURE__ */Oe()(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))}function us(){if(bo)return vo;bo=1;var e=/* @__PURE__ */Oe(),t=/* @__PURE__ */Rt(),n=/* @__PURE__ */Re(),a=/* @__PURE__ */is(),l=Object.isExtensible,o=e(function(){});return vo=o||a?function(e){return!!t(e)&&(!a||"ArrayBuffer"!==n(e))&&(!l||l(e))}:l}function cs(){return ko?yo:(ko=1,yo=!/* @__PURE__ */Oe()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function ds(){if(_o)return uo.exports;_o=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */Ee(),n=/* @__PURE__ */Aa(),a=/* @__PURE__ */Rt(),l=/* @__PURE__ */Dn(),o=la().f,s=/* @__PURE__ */po(),r=/* @__PURE__ */rs(),i=/* @__PURE__ */us(),u=/* @__PURE__ */Pn(),c=/* @__PURE__ */cs(),d=!1,p=u("meta"),f=0,h=function(e){o(e,p,{value:{objectID:"O"+f++,weakData:{}}})},m=uo.exports={enable:function(){m.enable=function(){},d=!0;var n=s.f,a=t([].splice),l={};l[p]=1,n(l).length&&(s.f=function(e){for(var t=n(e),l=0,o=t.length;l<o;l++)if(t[l]===p){a(t,l,1);break}return t},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:r.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,p)){if(!i(e))return"F";if(!t)return"E";h(e)}return e[p].objectID},getWeakData:function(e,t){if(!l(e,p)){if(!i(e))return!0;if(!t)return!1;h(e)}return e[p].weakData},onFreeze:function(e){return c&&d&&i(e)&&!l(e,p)&&h(e),e}};return n[p]=!0,uo.exports}function ps(){if(So)return xo;So=1;var e=/* @__PURE__ */On(),t=/* @__PURE__ */Ca(),n=e("iterator"),a=Array.prototype;return xo=function(e){return void 0!==e&&(t.Array===e||a[n]===e)}}function fs(){if(Co)return To;Co=1;var e=/* @__PURE__ */Zl(),t=/* @__PURE__ */Yt(),n=/* @__PURE__ */$t(),a=/* @__PURE__ */Ca(),l=/* @__PURE__ */On()("iterator");return To=function(o){if(!n(o))return t(o,l)||t(o,"@@iterator")||a[e(o)]}}function hs(){if(Lo)return Mo;Lo=1;var e=/* @__PURE__ */We(),t=/* @__PURE__ */zt(),n=/* @__PURE__ */aa(),a=/* @__PURE__ */Wt(),l=/* @__PURE__ */fs(),o=TypeError;return Mo=function(s,r){var i=arguments.length<2?l(s):r;if(t(i))return n(e(i,s));throw new o(a(s)+" is not iterable")},Mo}function ms(){if(Do)return Ao;Do=1;var e=/* @__PURE__ */We(),t=/* @__PURE__ */aa(),n=/* @__PURE__ */Yt();return Ao=function(a,l,o){var s,r;t(a);try{if(!(s=n(a,"return"))){if("throw"===l)throw o;return o}s=e(s,a)}catch(i){r=!0,s=i}if("throw"===l)throw o;if(r)throw s;return t(s),o}}function gs(){if(Oo)return Po;Oo=1;var e=/* @__PURE__ */Bn(),t=/* @__PURE__ */We(),n=/* @__PURE__ */aa(),a=/* @__PURE__ */Wt(),l=/* @__PURE__ */ps(),o=/* @__PURE__ */Bl(),s=/* @__PURE__ */Vt(),r=/* @__PURE__ */hs(),i=/* @__PURE__ */fs(),u=/* @__PURE__ */ms(),c=TypeError,d=function(e,t){this.stopped=e,this.result=t},p=d.prototype;return Po=function(f,h,m){var g,w,v,b,y,k,_,x=m&&m.that,S=!(!m||!m.AS_ENTRIES),T=!(!m||!m.IS_RECORD),C=!(!m||!m.IS_ITERATOR),M=!(!m||!m.INTERRUPTED),L=e(h,x),A=function(e){return g&&u(g,"normal"),new d(!0,e)},D=function(e){return S?(n(e),M?L(e[0],e[1],A):L(e[0],e[1])):M?L(e,A):L(e)};if(T)g=f.iterator;else if(C)g=f;else{if(!(w=i(f)))throw new c(a(f)+" is not iterable");if(l(w)){for(v=0,b=o(f);b>v;v++)if((y=D(f[v]))&&s(p,y))return y;return new d(!1)}g=r(f,w)}for(k=T?f.next:g.next;!(_=t(k,g)).done;){try{y=D(_.value)}catch(P){u(g,"throw",P)}if("object"==typeof y&&y&&s(p,y))return y}return new d(!1)}}function ws(){if(Io)return $o;Io=1;var e=/* @__PURE__ */Vt(),t=TypeError;return $o=function(n,a){if(e(a,n))return n;throw new t("Incorrect invocation")}}function vs(){if(Ro)return Eo;Ro=1;var e=/* @__PURE__ */Re();return Eo=Array.isArray||function(t){return"Array"===e(t)}}function bs(){if(Bo)return No;Bo=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */Be(),n=/* @__PURE__ */Mn(),a=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return a(e)}),No=n.inspectSource}function ys(){if(Fo)return Vo;Fo=1;var e=/* @__PURE__ */Ee(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */Be(),a=/* @__PURE__ */Zl(),l=/* @__PURE__ */Bt(),o=/* @__PURE__ */bs(),s=function(){},r=l("Reflect","construct"),i=/^\s*(?:class|function)\b/,u=e(i.exec),c=!i.test(s),d=function(e){if(!n(e))return!1;try{return r(s,[],e),!0}catch(t){return!1}},p=function(e){if(!n(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return c||!!u(i,o(e))}catch(t){return!0}};return p.sham=!0,Vo=!r||t(function(){var e;return d(d.call)||!d(Object)||!d(function(){e=!0})||e})?p:d}function ks(){if(Uo)return Ho;Uo=1;var e=/* @__PURE__ */vs(),t=/* @__PURE__ */ys(),n=/* @__PURE__ */Rt(),a=/* @__PURE__ */On()("species"),l=Array;return Ho=function(o){var s;return e(o)&&(s=o.constructor,(t(s)&&(s===l||e(s.prototype))||n(s)&&null===(s=s[a]))&&(s=void 0)),void 0===s?l:s}}function _s(){if(jo)return qo;jo=1;var e=/* @__PURE__ */ks();return qo=function(t,n){return new(e(t))(0===n?0:n)}}function xs(){if(Go)return Yo;Go=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */Pe(),n=/* @__PURE__ */ds(),a=/* @__PURE__ */Oe(),l=/* @__PURE__ */oa(),o=/* @__PURE__ */gs(),s=/* @__PURE__ */ws(),r=/* @__PURE__ */Be(),i=/* @__PURE__ */Rt(),u=/* @__PURE__ */$t(),c=/* @__PURE__ */Xl(),d=la().f,p=function(){if(zo)return Wo;zo=1;var e=/* @__PURE__ */Bn(),t=/* @__PURE__ */Ee(),n=/* @__PURE__ */Ot(),a=/* @__PURE__ */An(),l=/* @__PURE__ */Bl(),o=/* @__PURE__ */_s(),s=t([].push),r=function(t){var r=1===t,i=2===t,u=3===t,c=4===t,d=6===t,p=7===t,f=5===t||d;return function(h,m,g,w){for(var v,b,y=a(h),k=n(y),_=l(k),x=e(m,g),S=0,T=w||o,C=r?T(h,_):i||p?T(h,0):void 0;_>S;S++)if((f||S in k)&&(b=x(v=k[S],S,y),t))if(r)C[S]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return S;case 2:s(C,v)}else switch(t){case 4:return!1;case 7:s(C,v)}return d?-1:u||c?c:C}};return Wo={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6),filterReject:r(7)}}().forEach,f=/* @__PURE__ */je(),h=/* @__PURE__ */Da(),m=h.set,g=h.getterFor;return Yo=function(h,w,v){var b,y=-1!==h.indexOf("Map"),k=-1!==h.indexOf("Weak"),_=y?"set":"add",x=t[h],S=x&&x.prototype,T={};if(f&&r(x)&&(k||S.forEach&&!a(function(){(new x).entries().next()}))){var C=(b=w(function(e,t){m(s(e,C),{type:h,collection:new x}),u(t)||o(t,e[_],{that:e,AS_ENTRIES:y})})).prototype,M=g(h);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"===e||"set"===e;!(e in S)||k&&"clear"===e||l(C,e,function(n,a){var l=M(this).collection;if(!t&&k&&!i(n))return"get"===e&&void 0;var o=l[e](0===n?0:n,a);return t?this:o})}),k||d(C,"size",{configurable:!0,get:function(){return M(this).collection.size}})}else b=v.getConstructor(w,h,y,_),n.enable();return c(b,h,!1,!0),T[h]=b,e({global:!0,forced:!0},T),k||v.setStrong(b,h,y),b}}function Ss(){if(Zo)return Ko;Zo=1;var e=/* @__PURE__ */la();return Ko=function(t,n,a){return e.f(t,n,a)}}function Ts(){if(Xo)return Qo;Xo=1;var e=/* @__PURE__ */Yl();return Qo=function(t,n,a){for(var l in n)a&&a.unsafe&&t[l]?t[l]=n[l]:e(t,l,n[l],a);return t}}function Cs(){if(es)return Jo;es=1;var e=/* @__PURE__ */Bt(),t=/* @__PURE__ */Ss(),n=/* @__PURE__ */On(),a=/* @__PURE__ */je(),l=n("species");return Jo=function(n){var o=e(n);a&&o&&!o[l]&&t(o,l,{configurable:!0,get:function(){return this}})}}function Ms(){if(ns)return ts;ns=1;var e=/* @__PURE__ */jl(),t=/* @__PURE__ */Ss(),n=/* @__PURE__ */Ts(),a=/* @__PURE__ */Bn(),l=/* @__PURE__ */ws(),o=/* @__PURE__ */$t(),s=/* @__PURE__ */gs(),r=/* @__PURE__ */lo(),i=/* @__PURE__ */oo(),u=/* @__PURE__ */Cs(),c=/* @__PURE__ */je(),d=ds().fastKey,p=/* @__PURE__ */Da(),f=p.set,h=p.getterFor;return ts={getConstructor:function(r,i,u,p){var m=r(function(t,n){l(t,g),f(t,{type:i,index:e(null),first:null,last:null,size:0}),c||(t.size=0),o(n)||s(n,t[p],{that:t,AS_ENTRIES:u})}),g=m.prototype,w=h(i),v=function(e,t,n){var a,l,o=w(e),s=b(e,t);return s?s.value=n:(o.last=s={index:l=d(t,!0),key:t,value:n,previous:a=o.last,next:null,removed:!1},o.first||(o.first=s),a&&(a.next=s),c?o.size++:e.size++,"F"!==l&&(o.index[l]=s)),e},b=function(e,t){var n,a=w(e),l=d(t);if("F"!==l)return a.index[l];for(n=a.first;n;n=n.next)if(n.key===t)return n};return n(g,{clear:function(){for(var t=w(this),n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;t.first=t.last=null,t.index=e(null),c?t.size=0:this.size=0},delete:function(e){var t=this,n=w(t),a=b(t,e);if(a){var l=a.next,o=a.previous;delete n.index[a.index],a.removed=!0,o&&(o.next=l),l&&(l.previous=o),n.first===a&&(n.first=l),n.last===a&&(n.last=o),c?n.size--:t.size--}return!!a},forEach:function(e){for(var t,n=w(this),l=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(l(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),n(g,u?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),c&&t(g,"size",{configurable:!0,get:function(){return w(this).size}}),m},setStrong:function(e,t,n){var a=t+" Iterator",l=h(t),o=h(a);r(e,t,function(e,t){f(this,{type:a,target:e,state:l(e),kind:t,last:null})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?i("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,i(void 0,!0))},n?"entries":"values",!n,!0),u(t)}},ts}var Ls,As;var Ds,Ps,Os,$s,Is,Es,Rs,Ns,Bs,Vs,Fs,Hs,Us,qs,js,Ws,zs,Ys={};function Gs(){if(Ps)return Ds;Ps=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Ft(),n=/* @__PURE__ */Re(),a=function(e){return t.slice(0,e.length)===e};return Ds=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function Ks(){return $s?Os:($s=1,Os="NODE"===/* @__PURE__ */Gs())}function Zs(){if(Es)return Is;Es=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Ks();return Is=function(n){if(t){try{return e.process.getBuiltinModule(n)}catch(a){}try{return Function('return require("'+n+'")')()}catch(a){}}}}function Qs(){if(Ns)return Rs;Ns=1;var e=/* @__PURE__ */Zl(),t=String;return Rs=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Xs(){if(Vs)return Bs;Vs=1;var e=/* @__PURE__ */Qs();return Bs=function(t,n){return void 0===t?arguments.length<2?"":n:e(t)},Bs}function Js(){if(Hs)return Fs;Hs=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */aa(),a=/* @__PURE__ */Xs(),l=Error.prototype.toString,o=t(function(){if(e){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==l.call(t))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})});return Fs=o?function(){var e=n(this),t=a(e.name,"Error"),l=a(e.message);return t?l?t+": "+l:t:l}:l}function er(){return qs?Us:(qs=1,Us={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}})}function tr(){if(Ws)return js;Ws=1;var e=Error,t=/* @__PURE__ */Ee()("".replace),n=String(new e("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(n);return js=function(n,o){if(l&&"string"==typeof n&&!e.prepareStackTrace)for(;o--;)n=t(n,a,"");return n}}var nr,ar,lr,or={};function sr(){if(ar)return nr;ar=1;var e=/* @__PURE__ */Be(),t=/* @__PURE__ */Rt(),n=/* @__PURE__ */ao();return nr=function(a,l,o){var s,r;return n&&e(s=l.constructor)&&s!==o&&t(r=s.prototype)&&r!==o.prototype&&n(a,r),a}}var rr,ir,ur,cr,dr,pr,fr,hr,mr,gr,wr,vr,br,yr,kr,_r,xr,Sr,Tr,Cr,Mr,Lr,Ar,Dr,Pr,Or,$r,Ir,Er,Rr,Nr,Br,Vr={},Fr={};function Hr(){if(ur)return ir;ur=1;var e=/* @__PURE__ */je(),t=/* @__PURE__ */la(),n=/* @__PURE__ */Pt();return ir=function(a,l,o){e?t.f(a,l,n(0,o)):a[l]=o}}function Ur(){if(dr)return cr;dr=1;var e=TypeError;return cr=function(t,n){if(t<n)throw new e("Not enough arguments");return t}}function qr(){if(fr)return pr;fr=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Oe(),n=e.RegExp,a=!t(function(){var e=!0;try{n(".","d")}catch(i){e=!1}var t={},a="",l=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return a+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var r in e&&(s.hasIndices="d"),s)o(r,s[r]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==l||a!==l});return pr={correct:a}}function jr(){if(mr)return hr;mr=1;var e=/* @__PURE__ */aa();return hr=function(){var t=e(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function Wr(){if(wr)return gr;wr=1;var e=/* @__PURE__ */We(),t=/* @__PURE__ */Dn(),n=/* @__PURE__ */Vt(),a=/* @__PURE__ */qr(),l=/* @__PURE__ */jr(),o=RegExp.prototype;return gr=a.correct?function(e){return e.flags}:function(s){return a.correct||!n(o,s)||t(s,"flags")?s.flags:e(l,s)}}function zr(){return br?vr:(br=1,vr=function(e,t){return 1===t?function(t,n){return t[e](n)}:function(t,n,a){return t[e](n,a)}})}function Yr(){if(kr)return yr;kr=1;var e=/* @__PURE__ */Bt(),t=/* @__PURE__ */zr(),n=e("Map");return yr={Map:n,set:t("set",2),get:t("get",1),has:t("has",1),remove:t("delete",1),proto:n.prototype}}function Gr(){if(xr)return _r;xr=1;var e=/* @__PURE__ */Bt(),t=/* @__PURE__ */zr(),n=e("Set"),a=n.prototype;return _r={Set:n,add:t("add",1),has:t("has",1),remove:t("delete",1),proto:a}}function Kr(){if(Tr)return Sr;Tr=1;var e=/* @__PURE__ */We();return Sr=function(t,n,a){for(var l,o,s=a?t:t.iterator,r=t.next;!(l=e(r,s)).done;)if(void 0!==(o=n(l.value)))return o}}function Zr(){if(Mr)return Cr;Mr=1;var e=/* @__PURE__ */Kr();return Cr=function(t,n,a){return a?e(t.keys(),n,!0):t.forEach(n)}}function Qr(){if(Ar)return Lr;Ar=1;var e=/* @__PURE__ */Pe(),t=/* @__PURE__ */Oe(),n=/* @__PURE__ */Ht(),a=/* @__PURE__ */Gs(),l=e.structuredClone;return Lr=!!l&&!t(function(){if("DENO"===a&&n>92||"NODE"===a&&n>94||"BROWSER"===a&&n>97)return!1;var e=new ArrayBuffer(8),t=l(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})}function Xr(){if(Pr)return Dr;Pr=1;var e,t,n,a,l=/* @__PURE__ */Pe(),o=/* @__PURE__ */Zs(),s=/* @__PURE__ */Qr(),r=l.structuredClone,i=l.ArrayBuffer,u=l.MessageChannel,c=!1;if(s)c=function(e){r(e,{transfer:[e]})};else if(i)try{u||(e=o("worker_threads"))&&(u=e.MessageChannel),u&&(t=new u,n=new i(2),a=function(e){t.port1.postMessage(null,[e])},2===n.byteLength&&(a(n),0===n.byteLength&&(c=a)))}catch(d){}return Dr=c}function Jr(){if($r)return Or;$r=1;var e=/* @__PURE__ */Oe(),t=/* @__PURE__ */Pt();return Or=!e(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",t(1,7)),7!==e.stack)})}function ei(){return Rr?Er:(Rr=1,function(){if(Ol)return Pl;Ol=1;var e=/* @__PURE__ */Et(),t=/* @__PURE__ */Ta(),n=/* @__PURE__ */Ca(),a=/* @__PURE__ */Da(),l=la().f,o=/* @__PURE__ */lo(),s=/* @__PURE__ */oo(),r=/* @__PURE__ */Tn(),i=/* @__PURE__ */je(),u="Array Iterator",c=a.set,d=a.getterFor(u);Pl=o(Array,"Array",function(t,n){c(this,{type:u,target:e(t),index:0,kind:n})},function(){var e=d(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,s(void 0,!0);switch(e.kind){case"keys":return s(n,!1);case"values":return s(t[n],!1)}return s([n,t[n]],!1)},"values");var p=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!r&&i&&"values"!==p.name)try{l(p,"name",{value:"values"})}catch(f){}}(),function(){if(so)return io;so=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */An(),n=/* @__PURE__ */Hl();e({target:"Object",stat:!0,forced:/* @__PURE__ */Oe()(function(){n(1)})},{keys:function(e){return n(t(e))}})}(),ls||(ls=1,as||(as=1,/* @__PURE__ */xs()("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},/* @__PURE__ */Ms()))),As||(As=1,Ls||(Ls=1,/* @__PURE__ */xs()("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},/* @__PURE__ */Ms()))),function(){if(zs)return Ys;zs=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */Bt(),n=/* @__PURE__ */Zs(),a=/* @__PURE__ */Oe(),l=/* @__PURE__ */jl(),o=/* @__PURE__ */Pt(),s=la().f,r=/* @__PURE__ */Yl(),i=/* @__PURE__ */Ss(),u=/* @__PURE__ */Dn(),c=/* @__PURE__ */ws(),d=/* @__PURE__ */aa(),p=/* @__PURE__ */Js(),f=/* @__PURE__ */Xs(),h=/* @__PURE__ */er(),m=/* @__PURE__ */tr(),g=/* @__PURE__ */Da(),w=/* @__PURE__ */je(),v=/* @__PURE__ */Tn(),b="DOMException",y="DATA_CLONE_ERR",k=t("Error"),_=t(b)||function(){try{(new(t("MessageChannel")||n("worker_threads").MessageChannel)).port1.postMessage(/* @__PURE__ */new WeakMap)}catch(e){if(e.name===y&&25===e.code)return e.constructor}}(),x=_&&_.prototype,S=k.prototype,T=g.set,C=g.getterFor(b),M="stack"in new k(b),L=function(e){return u(h,e)&&h[e].m?h[e].c:0},A=function(){c(this,D);var e=arguments.length,t=f(e<1?void 0:arguments[0]),n=f(e<2?void 0:arguments[1],"Error"),a=L(n);if(T(this,{type:b,name:n,message:t,code:a}),w||(this.name=n,this.message=t,this.code=a),M){var l=new k(t);l.name=b,s(this,"stack",o(1,m(l.stack,1)))}},D=A.prototype=l(S),P=function(e){return{enumerable:!0,configurable:!0,get:e}},O=function(e){return P(function(){return C(this)[e]})};w&&(i(D,"code",O("code")),i(D,"message",O("message")),i(D,"name",O("name"))),s(D,"constructor",o(1,A));var $=a(function(){return!(new _ instanceof k)}),I=$||a(function(){return S.toString!==p||"2: 1"!==String(new _(1,2))}),E=$||a(function(){return 25!==new _(1,"DataCloneError").code}),R=$||25!==_[y]||25!==x[y],N=v?I||E||R:$;e({global:!0,constructor:!0,forced:N},{DOMException:N?A:_});var B=t(b),V=B.prototype;for(var F in I&&(v||_===B)&&r(V,"toString",p),E&&w&&_===B&&i(V,"code",P(function(){return L(d(this).name)})),h)if(u(h,F)){var H=h[F],U=H.s,q=o(6,H.c);u(B,U)||s(B,U,q),u(V,U)||s(V,U,q)}}(),function(){if(lr)return or;lr=1;var e=/* @__PURE__ */sa(),t=/* @__PURE__ */Pe(),n=/* @__PURE__ */Bt(),a=/* @__PURE__ */Pt(),l=la().f,o=/* @__PURE__ */Dn(),s=/* @__PURE__ */ws(),r=/* @__PURE__ */sr(),i=/* @__PURE__ */Xs(),u=/* @__PURE__ */er(),c=/* @__PURE__ */tr(),d=/* @__PURE__ */je(),p=/* @__PURE__ */Tn(),f="DOMException",h=n("Error"),m=n(f),g=function(){s(this,w);var e=arguments.length,t=i(e<1?void 0:arguments[0]),n=i(e<2?void 0:arguments[1],"Error"),o=new m(t,n),u=new h(t);return u.name=f,l(o,"stack",a(1,c(u.stack,1))),r(o,this,g),o},w=g.prototype=m.prototype,v="stack"in new h(f),b="stack"in new m(1,2),y=m&&d&&Object.getOwnPropertyDescriptor(t,f),k=!(!y||y.writable&&y.configurable),_=v&&!k&&!b;e({global:!0,constructor:!0,forced:p||_},{DOMException:_?g:m});var x=n(f),S=x.prototype;if(S.constructor!==x)for(var T in p||l(S,"constructor",a(1,x)),u)if(o(u,T)){var C=u[T],M=C.s;o(x,M)||l(x,M,a(6,C.c))}}(),function(){if(rr)return Vr;rr=1;var e=/* @__PURE__ */Bt(),t="DOMException";/* @__PURE__ */Xl()(e(t),t)}(),function(){if(Ir)return Fr;Ir=1;var e,t=/* @__PURE__ */Tn(),n=/* @__PURE__ */sa(),a=/* @__PURE__ */Pe(),l=/* @__PURE__ */Bt(),o=/* @__PURE__ */Ee(),s=/* @__PURE__ */Oe(),r=/* @__PURE__ */Pn(),i=/* @__PURE__ */Be(),u=/* @__PURE__ */ys(),c=/* @__PURE__ */$t(),d=/* @__PURE__ */Rt(),p=/* @__PURE__ */jt(),f=/* @__PURE__ */gs(),h=/* @__PURE__ */aa(),m=/* @__PURE__ */Zl(),g=/* @__PURE__ */Dn(),w=/* @__PURE__ */Hr(),v=/* @__PURE__ */oa(),b=/* @__PURE__ */Bl(),y=/* @__PURE__ */Ur(),k=/* @__PURE__ */Wr(),_=/* @__PURE__ */Yr(),x=/* @__PURE__ */Gr(),S=/* @__PURE__ */Zr(),T=/* @__PURE__ */Xr(),C=/* @__PURE__ */Jr(),M=/* @__PURE__ */Qr(),L=a.Object,A=a.Array,D=a.Date,P=a.Error,O=a.TypeError,$=a.PerformanceMark,I=l("DOMException"),E=_.Map,R=_.has,N=_.get,B=_.set,V=x.Set,F=x.add,H=x.has,U=l("Object","keys"),q=o([].push),j=o((!0).valueOf),W=o(1.1.valueOf),z=o("".valueOf),Y=o(D.prototype.getTime),G=r("structuredClone"),K="DataCloneError",Z="Transferring",Q=function(e){return!s(function(){var t=new a.Set([7]),n=e(t),l=e(L(7));return n===t||!n.has(7)||!d(l)||7!==+l})&&e},X=function(e,t){return!s(function(){var n=new t,a=e({a:n,b:n});return!(a&&a.a===a.b&&a.a instanceof t&&a.a.stack===n.stack)})},J=a.structuredClone,ee=t||!X(J,P)||!X(J,I)||(e=J,!!s(function(){var t=e(new a.AggregateError([1],G,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==G||3!==t.cause})),te=!J&&Q(function(e){return new $(G,{detail:e}).detail}),ne=Q(J)||te,ae=function(e){throw new I("Uncloneable type: "+e,K)},le=function(e,t){throw new I((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",K)},oe=function(e,t){return ne||le(t),ne(e)},se=function(e,t,n){if(R(t,e))return N(t,e);var l,o,s,r,u,c;if("SharedArrayBuffer"===(n||m(e)))l=ne?ne(e):e;else{var d=a.DataView;d||i(e.slice)||le("ArrayBuffer");try{if(i(e.slice)&&!e.resizable)l=e.slice(0);else{o=e.byteLength,s="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,l=new ArrayBuffer(o,s),r=new d(e),u=new d(l);for(c=0;c<o;c++)u.setUint8(c,r.getUint8(c))}}catch(p){throw new I("ArrayBuffer is detached",K)}}return B(t,e,l),l},re=function(e,t){if(p(e)&&ae("Symbol"),!d(e))return e;if(t){if(R(t,e))return N(t,e)}else t=new E;var n,o,s,r,u,c,f,h,y=m(e);switch(y){case"Array":s=A(b(e));break;case"Object":s={};break;case"Map":s=new E;break;case"Set":s=new V;break;case"RegExp":s=new RegExp(e.source,k(e));break;case"Error":switch(o=e.name){case"AggregateError":s=new(l(o))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":s=new(l(o));break;case"CompileError":case"LinkError":case"RuntimeError":s=new(l("WebAssembly",o));break;default:s=new P}break;case"DOMException":s=new I(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":s=se(e,t,y);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":c="DataView"===y?e.byteLength:e.length,s=function(e,t,n,l,o){var s=a[t];return d(s)||le(t),new s(se(e.buffer,o),n,l)}(e,y,e.byteOffset,c,t);break;case"DOMQuad":try{s=new DOMQuad(re(e.p1,t),re(e.p2,t),re(e.p3,t),re(e.p4,t))}catch(_){s=oe(e,y)}break;case"File":if(ne)try{s=ne(e),m(s)!==y&&(s=void 0)}catch(_){}if(!s)try{s=new File([e],e.name,e)}catch(_){}s||le(y);break;case"FileList":if(r=function(){var e;try{e=new a.DataTransfer}catch(_){try{e=new a.ClipboardEvent("").clipboardData}catch(t){}}return e&&e.items&&e.files?e:null}()){for(u=0,c=b(e);u<c;u++)r.items.add(re(e[u],t));s=r.files}else s=oe(e,y);break;case"ImageData":try{s=new ImageData(re(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(_){s=oe(e,y)}break;default:if(ne)s=ne(e);else switch(y){case"BigInt":s=L(e.valueOf());break;case"Boolean":s=L(j(e));break;case"Number":s=L(W(e));break;case"String":s=L(z(e));break;case"Date":s=new D(Y(e));break;case"Blob":try{s=e.slice(0,e.size,e.type)}catch(_){le(y)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[y];try{s=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(_){le(y)}break;case"DOMRect":case"DOMRectReadOnly":n=a[y];try{s=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(_){le(y)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[y];try{s=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(_){le(y)}break;case"AudioData":case"VideoFrame":i(e.clone)||le(y);try{s=e.clone()}catch(_){ae(y)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":le(y);default:ae(y)}}switch(B(t,e,s),y){case"Array":case"Object":for(f=U(e),u=0,c=b(f);u<c;u++)h=f[u],w(s,h,re(e[h],t));break;case"Map":e.forEach(function(e,n){B(s,re(n,t),re(e,t))});break;case"Set":e.forEach(function(e){F(s,re(e,t))});break;case"Error":v(s,"message",re(e.message,t)),g(e,"cause")&&v(s,"cause",re(e.cause,t)),"AggregateError"===o?s.errors=re(e.errors,t):"SuppressedError"===o&&(s.error=re(e.error,t),s.suppressed=re(e.suppressed,t));case"DOMException":C&&v(s,"stack",re(e.stack,t))}return s};n({global:!0,enumerable:!0,sham:!M,forced:ee},{structuredClone:function(e){var t,n,l=y(arguments.length,1)>1&&!c(arguments[1])?h(arguments[1]):void 0,o=l?l.transfer:void 0;void 0!==o&&(n=function(e,t){if(!d(e))throw new O("Transfer option cannot be converted to a sequence");var n=[];f(e,function(e){q(n,h(e))});for(var l,o,s,r,c,p=0,g=b(n),w=new V;p<g;){if(l=n[p++],"ArrayBuffer"===(o=m(l))?H(w,l):R(t,l))throw new I("Duplicate transferable",K);if("ArrayBuffer"!==o){if(M)r=J(l,{transfer:[l]});else switch(o){case"ImageBitmap":s=a.OffscreenCanvas,u(s)||le(o,Z);try{(c=new s(l.width,l.height)).getContext("bitmaprenderer").transferFromImageBitmap(l),r=c.transferToImageBitmap()}catch(v){}break;case"AudioData":case"VideoFrame":i(l.clone)&&i(l.close)||le(o,Z);try{r=l.clone(),l.close()}catch(v){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":le(o,Z)}if(void 0===r)throw new I("This object cannot be transferred: "+o,K);B(t,l,r)}else F(w,l)}return w}(o,t=new E));var s=re(e,t);return n&&function(e){S(e,function(e){M?ne(e,{transfer:[e]}):i(e.transfer)?e.transfer():T?T(e):le("ArrayBuffer",Z)})}(n),s}})}(),Er=/* @__PURE__ */Nt().structuredClone)}function ti(){return Br?Nr:(Br=1,Nr=/* @__PURE__ */ei())}const ni=/* @__PURE__ */Ae(/* @__PURE__ */ti());function ai(){return{$hasOwn:(e,t)=>ca(e,t),$structuredClone:e=>ni(e)}}function li(){const e=()=>{const e=window.location.hash.replace("%23","#").split("#");let t=[];for(let n=0;n<e.length;n++)e[n].length>0&&t.push(e[n]);return t},t=e=>{const t=window.getComputedStyle(e).overflowY;return("auto"===t||"scroll"===t||"overlay"===t)&&e.scrollHeight>e.clientHeight};return{$parseHashes:e,$hasHash:t=>e().includes(t),$parameterByName:(e,t)=>{t||(t=window.location.href),e=e.replace(/[[\]]/g,"\\$&");const n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},$isScrollable:t,$findScrollableParent:e=>{let n=e.parentElement;for(;n&&n!==document.body;){if(t(n))return n;n=n.parentElement}return document.scrollingElement||document.documentElement},$maybeToggleControl:(e,t)=>{let n=e.target;n instanceof Element||(n=n?.parentElement??null),n?.closest("a")||(e.stopPropagation(),e.preventDefault(),t())}}}const{$findScrollableParent:oi}=li(),si={beforeMount(e,t){window.jQuery&&window.jQuery(e).on("click",function(e){e.preventDefault(),e.stopPropagation();const n=window.jQuery(t.value);if(n.length){const e=n.offset().top,t=oi(n[0]),a=window.jQuery(t).scrollTop()+20;t.scrollTo({top:e-a,behavior:"smooth"})}})}},ri={beforeMount(e,t){window.jQuery&&window.jQuery(e).attr("title",t.value).tooltip({tooltipClass:"wf-tooltip"})}},ii={mounted(e,t){ui(e,t.value)},updated(e,t){ui(e,t.value)}};function ui(e,t){e.style.visibility=t?"visible":"hidden",e.style.pointerEvents=t?"":"none",e.setAttribute("aria-hidden",t?"false":"true")}const ci={install:(t,n)=>{const a=n.wfconstants,l=n.$dataStore;l.blocking||(l.blocking=e({blocks:[],hasCountryBlock:a.plugin.has_country_block}))}},di={install:(t,n)=>{const a=n.$dataStore;a.disclosures||(a.disclosures=e({$active:window.WordfenceMergedJSConstants.plugin.active_disclosure_state}))}},pi={install:(t,n)=>{const a=n.$dataStore;a.ip||(a.ip=e({$reversed:{}}))}},fi={install:(a,l)=>{const o=l.$dataStore,s=()=>{const e=document.getElementById("wf-live-traffic");o.livetraffic.viewportWidth=e?.clientWidth||window.innerWidth};o.livetraffic||(o.livetraffic=e({}),o.livetraffic.limit=t(20),o.livetraffic.entries=e([]),o.livetraffic.recent=e([]),o.livetraffic.resizeObserver=null,o.livetraffic.viewportWidth=t(window.innerWidth),o.livetraffic.truncationScaleAmount=n(()=>Math.floor(Math.max((o.livetraffic.viewportWidth-1160)/16,0))),o.livetraffic.urlMaxLength=n(()=>105),o.livetraffic.urlShortLength=n(()=>35+o.livetraffic.truncationScaleAmount),o.livetraffic.hostnameShortLength=n(()=>15+o.livetraffic.truncationScaleAmount),window.addEventListener("resize",s),requestAnimationFrame(()=>{s();const e=document.getElementById("wf-live-traffic");e&&window.ResizeObserver&&(o.livetraffic.resizeObserver=new window.ResizeObserver(s),o.livetraffic.resizeObserver.observe(e))}))}},hi={install:(t,n)=>{const a=n.$dataStore,l=n.wfconstants;a.$options||(a.$options=e(l.options.value),a.$pendingOptions=e({}))}},mi={install:(t,n)=>{const a=n.wfconstants,l=n.$mitt,o=n.$,s=n.$dataStore,{$hasOwn:r}=ai();t.config.globalProperties.$dismissIssue=e=>{const t=s.scanner.issues.$new.findIndex(t=>t.id===e);if(t>-1)s.scanner.issues.$new.splice(t,1);else{const t=s.scanner.issues.$ignored.findIndex(t=>t.id===e);t>-1&&s.scanner.issues.$ignored.splice(t,1)}},s.scanner||(s.scanner=e({}),s.scanner.issues=e({$summary:{[a.scanner.summary.scanned_posts]:0,[a.scanner.summary.scanned_comments]:0,[a.scanner.summary.scanned_files]:0,[a.scanner.summary.scanned_plugins]:0,[a.scanner.summary.scanned_themes]:0,[a.scanner.summary.scanned_users]:0,[a.scanner.summary.scanned_urls]:0},$newCount:0,$ignoredCount:0,$new:[],$ignored:[]}),l.on("dismissIssue",t.config.globalProperties.$dismissIssue),l.on("issueCountsUpdated",e=>{s.scanner.issues.$newCount=r(e,"new")?parseInt(e.new):0,s.scanner.issues.$ignoredCount=(r(e,"ignoreC")?parseInt(e.ignoreC):0)+(r(e,"ignoreP")?parseInt(e.ignoreP):0)}),s.scanner.state=e({$scanRunning:!1,$scanFailed:!1,$scanStalled:!1,$scanStages:{[a.scanner.stage.spamvertising]:a.scanner.stage_status.pending,[a.scanner.stage.spam]:a.scanner.stage_status.pending,[a.scanner.stage.blacklist]:a.scanner.stage_status.pending,[a.scanner.stage.server]:a.scanner.stage_status.pending,[a.scanner.stage.changes]:a.scanner.stage_status.pending,[a.scanner.stage.malware]:a.scanner.stage_status.pending,[a.scanner.stage.content]:a.scanner.stage_status.pending,[a.scanner.stage.public]:a.scanner.stage_status.pending,[a.scanner.stage.password]:a.scanner.stage_status.pending,[a.scanner.stage.vulnerability]:a.scanner.stage_status.pending,[a.scanner.stage.options]:a.scanner.stage_status.pending},$lastScanStatusUpdate:Date.now(),$lastScanCompleted:""}),s.scanner.activityLog=e({$queue:[],$log:[],$updatePending:!1,$updatesPaused:!1,$lastStatusMessage:"",$lastID:0,$lastIssueTime:0,$nextUpdateAt:0,$updateInterval:!1}),window.addEventListener("focus",()=>{s.scanner?.activityLog?.$updatesPaused&&document.hasFocus()&&(s.scanner.activityLog.$updatesPaused=!1,o("body").removeClass("wordfenceLiveActivityPaused"))}))}},gi={install:(t,n)=>{const a=n.wfconstants,l=n.$dataStore,{$structuredClone:o}=ai();l.$wordfence||(l.$wordfence=e({nonce:Object.fromEntries(Object.entries(a.plugin.nonce).map(([e,t])=>[e,t.nonce])),wafData:o(a.waf.wafData),restoreWAFData:o(a.waf.wafData),nextUpdate:a.waf.nextUpdate}))}},wi={install:(t,n)=>{const a=n.$dataStore;a.$wordpress||(a.$wordpress=e({avatars:{}}))}},vi={key:0,id:"wf-onboarding-tour-overlay"},bi={__name:"TourOverlay",props:{show:{type:Boolean,default:!1}},setup:e=>(t,n)=>(a(),l(o,{name:"wf-fade"},{default:s(()=>[e.show?(a(),r("div",vi)):i("",!0)]),_:1}))};function yi(){const e=u("__"),t=u("$"),n=u("$mitt"),a=u("$dataStore"),l=u("wfconstants"),o=window.wordfenceAdmin,{$hasOwn:s}=ai(),r=e=>{const t=String(e??"").replace(/^wordfence_/,"");for(const[n,o]of Object.entries(l.plugin.nonce))if(o?.actions?.includes(t))return a.$wordfence.nonce[n]??null;return null},i=(e,t)=>{if(!t)return!1;const n=String(e??"").replace(/^wordfence_/,"");for(const[o,s]of Object.entries(l.plugin.nonce))if(s?.actions?.includes(n))return a.$wordfence.nonce[o]=t,!0;return!1},c=t=>{if(t&&(t.errorMessage||t.errorMsg||t.error||t.err||t.cerrorMsg||t.downgradeErrorMsg))return t;const n=t?.responseJSON;return n&&"object"==typeof n?n:{errorMessage:t?.statusText||e("An unexpected error occurred during the request. Please try again or reload the page.")}},d=(t,a=null,l=()=>{},o=!1)=>{let s={name:"simple-confirmation-modal",title:a??e("Error"),message:p(t),options:{additionalButtons:[{title:e("Reload"),onClick:()=>{window.location.reload(!0)}}]}};o&&(s.onClosed=l),n.emit("showModal",s),o||"function"==typeof l&&l(t)},p=(t,n=!0,a="errorMessage")=>{if(t){if("string"==typeof t&&t.length>0)return t;if("object"==typeof t){const e=["errorMessage","errorMsg","error","err","cerrorMsg","downgradeErrorMsg"],n=a?[a,...e.filter(e=>e!==a)]:e;for(const a of n)if(s(t,a)&&"string"==typeof t[a]&&t[a].length>0)return t[a]}}return n?e("An unexpected error occurred during the request. Please try again or reload the page."):null};return{$ajaxNonce:r,$updateAjaxNonce:i,$ajax:(e,n,a=!1,s=!1,u=!1)=>{"string"==typeof n?n+=`${n.length>0?"&":""}action=${e}&nonce=${r(e)}`:"object"==typeof n&&n instanceof Array?(n.push({name:"action",value:e}),n.push({name:"nonce",value:r(e)})):n&&"object"==typeof n&&(n=Object.assign({},n,{action:e,nonce:r(e)})),u||o.showLoading(),t.ajax({type:"POST",url:l.plugin.url.admin_ajax,dataType:"json",data:n,success:t=>{if(u||o.removeLoading(),i(e,t?.nonce),t?.errorMessage||t?.errorMsg||t?.error||t?.err||t?.cerrorMsg||t?.downgradeErrorMsg){const e=c(t);"function"==typeof s?s(e):d(e)}else"function"==typeof a&&a(t)},error:(e,t)=>{if(u||o.removeLoading(),"abort"===t)return;const n=c(e);"function"==typeof s?s(n):d(n)}})},$genericErrorHandler:d,$ajaxErrorMessage:p}}const ki={class:"wf-tour-template"},_i={class:"wf-pointer-footer"},xi={class:"wf-tour-pagination"},Si={key:0,id:"wf-tour-previous"},Ti=["data-previous-slide-index"],Ci={id:"wf-tour-continue"},Mi=["data-next-slide-index"],Li={id:"wf-tour-close"},Ai={href:"#"},Di={class:"wf-fa wf-fa-times-circle"},Pi={__name:"Tour",props:{show:{type:Boolean,default:!1},selectedIndex:{type:Number,default:0},slides:{type:Array,default:e=>[]}},emits:["closeTour"],setup(e,{emit:n}){const o=u("__"),s=u("$"),S=u("tourName"),{$ajax:T}=yi(),C=n,M=e,{show:L,selectedIndex:A,slides:D}=c(M),P=d("slideElements"),O=p({currentPointer:null}),$=t(0);f(L,e=>{e?E($.value):O.currentPointer&&(O.currentPointer.pointer("destroy"),O.currentPointer=null)}),f(A,e=>{$.value=e});const I=e=>e>=D.value.length-1?o("Got it"):o("Next"),E=e=>{O.currentPointer&&(O.currentPointer.pointer("destroy"),O.currentPointer=null);const t=s(D.value[e].anchor.selector),n={pointerClass:"wf-tour-pointer",buttons:(e,t)=>null,close:()=>{},content:P.value[e].innerHTML,pointerWidth:700,position:{edge:D.value[e].anchor.pointer.edge,align:D.value[e].anchor.pointer.align},open(){if(!t.length)return;const e=s(".wf-tour-pointer:visible").last().outerHeight()||0,n=t.offset().top,a=n+t.outerHeight(),l=Math.max(0,n-e-16-24),o=s(window).scrollTop(),r=o+s(window).height();(l<o||a+16>r)&&s("html, body").stop().animate({scrollTop:l},250)}};O.currentPointer=t.pointer(n).pointer("open"),s("#wf-tour-previous a").on("click",e=>{var t;e.preventDefault(),e.stopPropagation(),t=s(e.target).data("previousSlideIndex"),$.value=Math.max(0,t),E($.value)}),s("#wf-tour-continue a").on("click",e=>{var t;e.preventDefault(),e.stopPropagation(),(t=s(e.target).data("nextSlideIndex"))>=D.value.length?R():($.value=Math.min(D.value.length-1,t),E($.value))}),s("#wf-tour-close a").on("click",e=>{e.preventDefault(),e.stopPropagation(),R()})},R=()=>{O.currentPointer&&(O.currentPointer.pointer("destroy"),O.currentPointer=null),T("wordfence_tourClosed",{page:S},e=>{C("closeTour")})};return(e,t)=>{const n=h("aria");return a(),r("ul",ki,[(a(!0),r(m,null,g(w(D),(e,t)=>(a(),r("li",{key:e.title,ref_for:!0,ref_key:"slideElements",ref:P},[v("h3",null,b(e.title),1),(a(),l(y(e.content))),v("div",_i,[v("ul",xi,[(a(!0),r(m,null,g(w(D),(e,n)=>(a(),r("li",{key:n,class:k({"wf-active":n===t})},"•",2))),128))]),t>0?(a(),r("div",Si,[_((a(),r("a",{href:"#",class:"wf-onboarding-btn wf-onboarding-btn-default","data-previous-slide-index":t-1},[x(b(w(o)("Previous")),1)],8,Ti)),[[n,{role:"button"}]])])):i("",!0),v("div",Ci,[_((a(),r("a",{href:"#",class:"wf-onboarding-btn wf-onboarding-btn-primary","data-next-slide-index":t+1},[x(b(I(t)),1)],8,Mi)),[[n,{role:"button"}]])])]),v("div",Li,[_((a(),r("a",Ai,[_(v("i",Di,null,512),[[n,{hidden:!0}]])])),[[n,{role:"button"}]])])]))),128))])}}},Oi={__name:"NewTour1",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("The Wordfence Audit Log is a premium feature that records a history of events on your site to assist in monitoring for unauthorized actions or signs of compromise. Events can include everything from user creation and editing to plugin/theme installation and updates. All data captured for relevant events is saved remotely to Wordfence Central to prevent any tampering that may interfere with post-incident analysis and response.")),1))}},$i={__name:"AuditLogNewTour",setup(e){const n=u("__"),o=u("wfconstants"),s=t(!1),r=t(0);S("tourName",o.tour.types.auditlog),T(()=>{o.tour.new.auditlog&&(s.value=!0)});const i=[{title:n("Audit Log"),content:Oi,anchor:{selector:"#wf-audit-log",pointer:{edge:"bottom",align:"bottom"}}}],c=()=>{o.tour.new.auditlog=!1,s.value=!1};return(e,t)=>(a(),l(C,{to:"#wpwrap"},[M(w(bi),{show:s.value},null,8,["show"]),M(w(Pi),{show:s.value,selectedIndex:r.value,slides:i,onCloseTour:c},null,8,["show","selectedIndex"])]))}};function Ii(){const e=u("$mitt"),t=u("__");return{$modal:(t,n={})=>{e.emit("showModal",Object.assign({},{name:t},n))},$modalNotice:(t,n,a=null,l=null)=>{e.emit("showModal",{name:"simple-confirmation-modal",title:t,message:n,modalSize:a,options:l})},$modalNoticeHTML:(t,n,a=null,l=null)=>{e.emit("showModal",{name:"simple-confirmation-modal",title:t,message:n,modalSize:a,options:l,titleIsHTML:!0,messageIsHTML:!0})},$errorModal:n=>{e.emit("showModal",{name:"simple-confirmation-modal",title:t("An error occurred"),message:n})},$errorModalHTML:n=>{e.emit("showModal",{name:"simple-confirmation-modal",title:t("An error occurred"),message:n,messageIsHTML:!0})},$drawer:(t,n={})=>{e.emit("showDrawer",Object.assign({},{name:t},n))}}}function Ei(){const e=u("__"),t=u("$mitt"),a=u("$dataStore"),{$ajax:l,$genericErrorHandler:o}=yi(),{$parameterByName:s}=li(),{$hasOwn:r}=ai(),i=n(()=>(a.$pendingOptions,a.$options,e=>r(a.$pendingOptions,e)?a.$pendingOptions[e]:a.$options[e])),c=(e,t)=>{if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(const l of n){if(!r(t,l))return!1;if(!c(e[l],t[l]))return!1}return!0};return{$setOption:(t,n,a,r,i=!1)=>{let u={[t]:n};l("wordfence_saveOptions",{changes:JSON.stringify(u),page:s("page"),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},e=>{e.success&&"function"==typeof a&&a(e)},t=>{o(t,e("Error Saving Option"),r,i)})},$resolvePendingOption:i,$updatePendingValue:(e,n,l)=>{r(a.$pendingOptions,w(e))&&c(w(a.$pendingOptions[w(e)]),w(n))||(c(w(l),w(n))?delete a.$pendingOptions[w(e)]:a.$pendingOptions[w(e)]=n,t.emit("pendingOptionChanged",{name:w(e),value:w(n)}))},$clearPendingValue:e=>{delete a.$pendingOptions[w(e)]}}}function Ri(){const e=u("__"),t=u("_n"),n=u("sprintf");return{$ucfirst:e=>{const t=""+e;return 0===t.length?"":t.charAt(0).toUpperCase()+t.slice(1)},$lcfirst:e=>{const t=""+e;return 0===t.length?"":t.charAt(0).toLowerCase()+t.slice(1)},$snakeCase2CamelCase:e=>{const t=""+e;return 0===t.length?"":t.split("_").filter(e=>e.length>0).map((e,t)=>{const n=e.toLowerCase();return 0===t?n:n.charAt(0).toUpperCase()+n.slice(1)}).join("")},$camelCase2SnakeCase:e=>{const t=""+e;return 0===t.length?"":t.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase()},$snakeCase2PascalCase:e=>{const t=""+e;return 0===t.length?"":t.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")},$timeAgo:e=>{const a=Math.floor(e/2592e3);let l=Math.floor(e/86400),o=Math.floor(e/3600),s=Math.floor(e/60);return a>0?(l-=30*a,l<=0?`${n(t("%d month","%d months",a),a)}`:`${n(t("%d month","%d months",a),a)} ${n(t("%d day","%d days",l),l)}`):l>0?(o-=24*l,o<=0?`${n(t("%d day","%d days",l),l)}`:`${n(t("%d day","%d days",l),l)} ${n(t("%d hour","%d hours",o),o)}`):o>0?(s-=60*o,s<=0?`${n(t("%d hour","%d hours",o),o)}`:`${n(t("%d hour","%d hours",o),o)} ${n(t("%d minute","%d minutes",s),s)}`):s>0?`${n(t("%d minute","%d minutes",s),s)}`:`${n(t("%d second","%d seconds",e),e)}`},$makeDuration:(n,a=!1)=>{let l=[],o=n,s=Math.floor(o/2592e3);o-=86400*s*30;let r=Math.floor(o/86400);o-=86400*r;let i=Math.floor(o/3600);o-=3600*i;let u=Math.floor(o/60);return o-=60*u,s&&(l.push(`${s} ${t("month","months",s)}`),a||(i=u=o=0)),r&&(l.push(`${r} ${t("day","days",r)}`),a||(u=o=0)),i&&(l.push(`${i} ${t("hour","hours",i)}`),a||(o=0)),u&&l.push(`${u} ${t("minute","minutes",u)}`),o&&o>=1&&l.push(`${o} ${t("second","seconds",o)}`),0===l.length&&l.push(e("less than 1 second")),l.join(" ")},$truncateText:function(e,t,n="tail"){return t=t||100,e&&e.length>t?"tail"===n?e.substring(0,Math.round(t))+"…":"…"+e.substring(e.length-Math.round(t)):e},$base64_decode:e=>{let t,n,a,l,o={},s=0,r=0,i="",u=String.fromCharCode,c=e.length;for(t=0;t<64;t++)o["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(a=0;a<c;a++)for(n=o[e.charAt(a)],s=(s<<6)+n,r+=6;r>=8;)((l=s>>>(r-=8)&255)||a<c-2)&&(i+=u(l));return i},$base64_encode:e=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n,a,l,o,s,r,i,u="",c=0;for(;c<e.length;)n=e.charCodeAt(c++),a=e.charCodeAt(c++),l=e.charCodeAt(c++),o=n>>2,s=(3&n)<<4|a>>4,r=(15&a)<<2|l>>6,i=63&l,isNaN(a)?r=i=64:isNaN(l)&&(i=64),u=u+t.charAt(o)+t.charAt(s)+t.charAt(r)+t.charAt(i);return u},$addQueryArg:(e,t)=>{const n=new URL(e,"undefined"!=typeof window?window.location.origin:"http://localhost");return Object.entries(t).forEach(([e,t])=>{null==t?n.searchParams.delete(e):n.searchParams.set(e,t)}),n.toString()}}}const Ni={class:"screen-reader-text"},Bi={__name:"OpensInNewTab",setup(e){const t=u("__");return(e,n)=>(a(),r("span",Ni," ("+b(w(t)("opens in new tab"))+")",1))}};function Vi(e){return null==e}function Fi(e,t,n){const{object:a,valueProp:l,mode:o}=c(e),s=A().proxy,r=n.iv;return{update:(e,n=!0)=>{r.value=(e=>Vi(e)?"single"===o.value?{}:[]:e)(e);const i=(e=>a.value||Vi(e)?e:Array.isArray(e)?e.map(e=>e[l.value]):e[l.value])(e);t.emit("change",i,s),n&&(t.emit("input",i),t.emit("update:modelValue",i))}}}function Hi(e){return R(()=>({get:e,set:()=>{}}))}function Ui(e,a){const{value:l,modelValue:o,mode:s,valueProp:r}=c(e),i=t("single"!==s.value?[]:{}),u=Hi(()=>void 0!==o.value?o.value:l.value),d=n(()=>"single"===s.value?i.value[r.value]:i.value.map(e=>e[r.value])),p=Hi(()=>"single"!==s.value?i.value.map(e=>e[r.value]).join(","):i.value[r.value]);return{iv:i,internalValue:i,ev:u,externalValue:u,textValue:p,plainValue:d}}function qi(e,n,a){const{regex:l}=c(e),o=A().proxy,s=a.isOpen,r=a.open,i=t(null);return f(i,e=>{!s.value&&e&&r(),n.emit("search-change",e,o)}),{search:i,clearSearch:()=>{i.value=""},handleSearchInput:e=>{i.value=e.target.value},handleKeypress:e=>{if(l.value){let t=l.value;"string"==typeof t&&(t=new RegExp(t)),e.key.match(t)||e.preventDefault()}},handlePaste:e=>{if(l.value){let t=(e.clipboardData||window.clipboardData).getData("Text"),n=l.value;"string"==typeof n&&(n=new RegExp(n)),t.split("").every(e=>!!e.match(n))||e.preventDefault()}n.emit("paste",e,o)}}}function ji(e,n,a){const{groupSelect:l,mode:o,groups:s,disabledProp:r}=c(e),i=t(null),u=e=>{void 0===e||null!==e&&e[r.value]||s.value&&e&&e.group&&("single"===o.value||!l.value)||(i.value=e)};return{pointer:i,setPointer:u,clearPointer:()=>{u(null)}}}function Wi(e,t=!0){return t?String(e).toLowerCase().trim():String(e).toLowerCase().normalize("NFD").trim().replace(/æ/g,"ae").replace(/œ/g,"oe").replace(/ø/g,"o").replace(new RegExp("\\p{Diacritic}","gu"),"")}const zi=(e,t)=>{if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(let l of n){if(!a.includes(l))return!1;if(!zi(e[l],t[l]))return!1}return!0};function Yi(e,a,l){const{options:o,mode:s,trackBy:r,limit:i,hideSelected:u,createTag:d,createOption:p,label:h,appendNewTag:m,appendNewOption:g,multipleLabel:w,object:v,loading:b,delay:y,resolveOnLoad:k,minChars:_,filterResults:x,clearOnSearch:S,clearOnSelect:T,valueProp:C,allowAbsent:M,groupLabel:L,canDeselect:D,max:P,strict:O,closeOnSelect:$,closeOnDeselect:I,groups:E,reverse:R,infinite:N,groupOptions:B,groupHideEmpty:V,groupSelect:F,onCreate:H,disabledProp:U,searchStart:q,searchFilter:j}=c(e),W=A().proxy,z=l.iv,Y=l.ev,G=l.search,K=l.clearSearch,Z=l.update,Q=l.pointer,X=l.setPointer,J=l.clearPointer,ee=l.focus,te=l.deactivate,ne=l.close,ae=l.localize,le=t([]),oe=t([]),se=t(!1),re=t(null),ie=t(N.value&&-1===i.value?10:i.value),ue=n({get:()=>oe.value,set:e=>oe.value=e}),ce=Hi(()=>d.value||p.value||!1),de=Hi(()=>void 0!==m.value?m.value:void 0===g.value||g.value),pe=n(()=>{if(E.value){let e=me.value||[],t=[];return e.forEach(e=>{Ue(e[B.value]).forEach(n=>{t.push(Object.assign({},n,e[U.value]?{[U.value]:!0}:{}))})}),t}{let e=Ue(oe.value||[]);return le.value.length&&(e=e.concat(le.value)),e}}),fe=n(()=>{let e=pe.value;return R.value&&(e=e.reverse()),_e.value.length&&(e=_e.value.concat(e)),He(e)}),he=n(()=>{let e=fe.value;return ie.value>0&&(e=e.slice(0,ie.value)),e}),me=n(()=>{if(!E.value)return[];let e=[],t=oe.value||[];return le.value.length&&e.push({[L.value]:" ",[B.value]:[...le.value],__CREATE__:!0}),e.concat(t)}),ge=n(()=>{let e=[...me.value].map(e=>({...e}));return _e.value.length&&(e[0]&&e[0].__CREATE__?e[0][B.value]=[..._e.value,...e[0][B.value]]:e=[{[L.value]:" ",[B.value]:[..._e.value],__CREATE__:!0}].concat(e)),e}),we=n(()=>{if(!E.value)return[];let e=ge.value;return Fe((e||[]).map((e,t)=>{const n=Ue(e[B.value]);return{...e,index:t,group:!0,[B.value]:He(n,!1).map(t=>Object.assign({},t,e[U.value]?{[U.value]:!0}:{})),__VISIBLE__:He(n).map(t=>Object.assign({},t,e[U.value]?{[U.value]:!0}:{}))}}))}),ve=n(()=>{switch(s.value){case"single":return!Vi(z.value[C.value]);case"multiple":case"tags":return!Vi(z.value)&&z.value.length>0}}),be=n(()=>void 0!==w.value?w.value(z.value,W):z.value&&z.value.length>1?`${z.value.length} options selected`:"1 option selected"),ye=Hi(()=>!pe.value.length&&!se.value&&!_e.value.length),ke=Hi(()=>pe.value.length>0&&0==he.value.length&&(G.value&&E.value||!E.value)),_e=n(()=>!1!==ce.value&&G.value?-1!==Be(G.value)?[]:[{[C.value]:G.value,[xe.value[0]]:G.value,[h.value]:G.value,__CREATE__:!0}]:[]),xe=n(()=>r.value?Array.isArray(r.value)?r.value:[r.value]:[h.value]),Se=Hi(()=>{switch(s.value){case"single":return null;case"multiple":case"tags":return[]}}),Te=Hi(()=>b.value||se.value),Ce=e=>{switch("object"!=typeof e&&(e=Ne(e)),s.value){case"single":Z(e);break;case"multiple":case"tags":Z(z.value.concat(e))}a.emit("select",Le(e),e,W)},Me=e=>{switch("object"!=typeof e&&(e=Ne(e)),s.value){case"single":De();break;case"tags":case"multiple":Z(Array.isArray(e)?z.value.filter(t=>-1===e.map(e=>e[C.value]).indexOf(t[C.value])):z.value.filter(t=>t[C.value]!=e[C.value]))}a.emit("deselect",Le(e),e,W)},Le=e=>v.value?e:e[C.value],Ae=e=>{Me(e)},De=()=>{Z(Se.value),a.emit("clear",W)},Pe=e=>{if(void 0!==e.group)return"single"!==s.value&&Re(e[B.value])&&e[B.value].length;switch(s.value){case"single":return!Vi(z.value)&&(z.value[C.value]==e[C.value]||"object"==typeof z.value[C.value]&&"object"==typeof e[C.value]&&zi(z.value[C.value],e[C.value]));case"tags":case"multiple":return!Vi(z.value)&&-1!==z.value.map(e=>e[C.value]).indexOf(e[C.value])}},Oe=e=>!0===e[U.value],$e=()=>!(void 0===P||-1===P.value||!ve.value&&P.value>0)&&z.value.length>=P.value,Ie=e=>{switch(e.__CREATE__&&delete(e={...e}).__CREATE__,s.value){case"single":if(e&&Pe(e))return D.value&&Me(e),void(I.value&&(J(),ne()));e&&Ee(e),T.value&&K(),$.value&&(J(),ne()),e&&Ce(e);break;case"multiple":if(e&&Pe(e))return Me(e),void(I.value&&(J(),ne()));if($e())return void a.emit("max",W);e&&(Ee(e),Ce(e)),T.value&&K(),u.value&&J(),$.value&&ne();break;case"tags":if(e&&Pe(e))return Me(e),void(I.value&&(J(),ne()));if($e())return void a.emit("max",W);e&&Ee(e),T.value&&K(),e&&Ce(e),u.value&&J(),$.value&&ne()}$.value||ee()},Ee=e=>{void 0===Ne(e[C.value])&&ce.value&&(a.emit("tag",e[C.value],W),a.emit("option",e[C.value],W),a.emit("create",e[C.value],W),de.value&&Ve(e),K())},Re=e=>void 0===e.find(e=>!Pe(e)),Ne=e=>pe.value[pe.value.map(e=>String(e[C.value])).indexOf(String(e))],Be=e=>pe.value.findIndex(t=>xe.value.some(n=>(parseInt(t[n])==t[n]?parseInt(t[n]):t[n])===(parseInt(e)==e?parseInt(e):e))),Ve=e=>{le.value.push(e)},Fe=e=>V.value?e.filter(e=>G.value?e.__VISIBLE__.length:e[B.value].length):e.filter(e=>!G.value||e.__VISIBLE__.length),He=(e,t=!0)=>{let n=e;if(G.value&&x.value){let e=j.value;e||(e=(e,t,n)=>xe.value.some(n=>{let a=Wi(ae(e[n]),O.value);return q.value?a.startsWith(Wi(t,O.value)):-1!==a.indexOf(Wi(t,O.value))})),n=n.filter(t=>e(t,G.value,W))}return u.value&&t&&(n=n.filter(e=>!(e=>-1!==["tags","multiple"].indexOf(s.value)&&u.value&&Pe(e))(e))),n},Ue=e=>{let t=e;var n;return n=t,"[object Object]"===Object.prototype.toString.call(n)&&(t=Object.keys(t).map(e=>{let n=t[e];return{[C.value]:e,[xe.value[0]]:n,[h.value]:n}})),t=t&&Array.isArray(t)?t.map(e=>"object"==typeof e?e:{[C.value]:e,[xe.value[0]]:e,[h.value]:e}):[],t},qe=()=>{Vi(Y.value)||(z.value=ze(Y.value))},je=e=>(se.value=!0,new Promise((t,n)=>{o.value(G.value,W).then(t=>{oe.value=t||[],"function"==typeof e&&e(t),se.value=!1}).catch(e=>{oe.value=[],se.value=!1}).finally(()=>{t()})})),We=()=>{if(ve.value)if("single"===s.value){let e=Ne(z.value[C.value]);if(void 0!==e){let t=e[h.value];z.value[h.value]=t,v.value&&(Y.value[h.value]=t)}}else z.value.forEach((e,t)=>{let n=Ne(z.value[t][C.value]);if(void 0!==n){let e=n[h.value];z.value[t][h.value]=e,v.value&&(Y.value[t][h.value]=e)}})},ze=e=>Vi(e)?"single"===s.value?{}:[]:v.value?e:"single"===s.value?Ne(e)||(M.value?{[h.value]:e,[C.value]:e,[xe.value[0]]:e}:{}):e.filter(e=>!!Ne(e)||M.value).map(e=>Ne(e)||{[h.value]:e,[C.value]:e,[xe.value[0]]:e}),Ye=()=>{re.value=f(G,e=>{e.length<_.value||!e&&0!==_.value||(se.value=!0,S.value&&(oe.value=[]),setTimeout(()=>{e==G.value&&o.value(G.value,W).then(t=>{e!=G.value&&G.value||(oe.value=t,Q.value=he.value.filter(e=>!0!==e[U.value])[0]||null,se.value=!1)}).catch(e=>{})},y.value))},{flush:"sync"})};if("single"!==s.value&&!Vi(Y.value)&&!Array.isArray(Y.value))throw new Error(`v-model must be an array when using "${s.value}" mode`);return o&&"function"==typeof o.value?k.value?je(qe):1==v.value&&qe():(oe.value=o.value,qe()),y.value>-1&&Ye(),f(y,(e,t)=>{re.value&&re.value(),e>=0&&Ye()}),f(Y,e=>{if(Vi(e))Z(ze(e),!1);else switch(s.value){case"single":(v.value?e[C.value]!=z.value[C.value]:e!=z.value[C.value])&&Z(ze(e),!1);break;case"multiple":case"tags":(function(e,t){if(e.length!==t.length)return!1;const n=t.slice().sort();return e.slice().sort().every(function(e,t){return e===n[t]})})(v.value?e.map(e=>e[C.value]):e,z.value.map(e=>e[C.value]))||Z(ze(e),!1)}},{deep:!0}),f(o,(t,n)=>{"function"==typeof e.options?k.value&&(!n||t&&t.toString()!==n.toString())&&je():(oe.value=e.options,Object.keys(z.value).length||qe(),We())}),f(h,We),f(i,(e,t)=>{ie.value=N.value&&-1===e?10:e}),{resolvedOptions:ue,pfo:fe,fo:he,filteredOptions:he,hasSelected:ve,multipleLabelText:be,eo:pe,extendedOptions:pe,eg:me,extendedGroups:me,fg:we,filteredGroups:we,noOptions:ye,noResults:ke,resolving:se,busy:Te,offset:ie,select:Ce,deselect:Me,remove:Ae,selectAll:()=>{"single"!==s.value&&Ce(he.value.filter(e=>!e.disabled&&!Pe(e)))},clear:De,isSelected:Pe,isDisabled:Oe,isMax:$e,getOption:Ne,handleOptionClick:e=>{if(!Oe(e))return H.value&&!Pe(e)&&e.__CREATE__&&(delete(e={...e}).__CREATE__,(e=H.value(e,W))instanceof Promise)?(se.value=!0,void e.then(e=>{se.value=!1,Ie(e)})):void Ie(e)},handleGroupClick:e=>{if(!Oe(e)&&"single"!==s.value&&F.value){switch(s.value){case"multiple":case"tags":void 0===e[B.value].find(e=>!Pe(e)&&!e[U.value])?Me(e[B.value]):Ce(e[B.value].filter(e=>-1===z.value.map(e=>e[C.value]).indexOf(e[C.value])).filter(e=>!e[U.value]).filter((e,t)=>z.value.length+1+t<=P.value||-1===P.value)),u.value&&Q.value&&X(we.value.filter(e=>!e[U.value])[Q.value.index])}$.value&&te()}},handleTagRemove:(e,t)=>{0===t.button?Ae(e):t.preventDefault()},refreshOptions:e=>{je(e)},resolveOptions:je,refreshLabels:We}}function Gi(e,t,a){const{valueProp:l,showOptions:o,searchable:s,groupLabel:r,groups:i,mode:u,groupSelect:d,disabledProp:p,groupOptions:h}=c(e),m=a.fo,g=a.fg,w=a.handleOptionClick,v=a.handleGroupClick,b=a.search,y=a.pointer,k=a.setPointer,_=a.clearPointer,x=a.multiselect,S=a.isOpen,T=n(()=>m.value.filter(e=>!e[p.value])),C=n(()=>g.value.filter(e=>!e[p.value])),M=Hi(()=>"single"!==u.value&&d.value),L=Hi(()=>y.value&&y.value.group),A=n(()=>F(y.value)),D=n(()=>{const e=L.value?y.value:F(y.value),t=C.value.map(e=>e[r.value]).indexOf(e[r.value]);let n=C.value[t-1];return void 0===n&&(n=$.value),n}),O=n(()=>{let e=C.value.map(e=>e.label).indexOf(L.value?y.value[r.value]:F(y.value)[r.value])+1;return C.value.length<=e&&(e=0),C.value[e]}),$=n(()=>[...C.value].slice(-1)[0]),I=n(()=>y.value.__VISIBLE__.filter(e=>!e[p.value])[0]),E=n(()=>{const e=A.value.__VISIBLE__.filter(e=>!e[p.value]);return e[e.map(e=>e[l.value]).indexOf(y.value[l.value])-1]}),R=n(()=>{const e=F(y.value).__VISIBLE__.filter(e=>!e[p.value]);return e[e.map(e=>e[l.value]).indexOf(y.value[l.value])+1]}),N=n(()=>[...D.value.__VISIBLE__.filter(e=>!e[p.value])].slice(-1)[0]),B=n(()=>[...$.value.__VISIBLE__.filter(e=>!e[p.value])].slice(-1)[0]),V=()=>{k(T.value[0]||null)},F=e=>C.value.find(t=>-1!==t.__VISIBLE__.map(e=>e[l.value]).indexOf(e[l.value])),H=()=>{let e=x.value.querySelector("[data-pointed]");if(!e)return;let t=e.parentElement.parentElement;i.value&&(t=L.value?e.parentElement.parentElement.parentElement:e.parentElement.parentElement.parentElement.parentElement),e.offsetTop+e.offsetHeight>t.clientHeight+t.scrollTop&&(t.scrollTop=e.offsetTop+e.offsetHeight-t.clientHeight),e.offsetTop<t.scrollTop&&(t.scrollTop=e.offsetTop)};return f(b,e=>{s.value&&(e.length&&o.value?V():_())}),f(S,e=>{if(e&&x&&x.value){let e=x.value.querySelectorAll("[data-selected]")[0];if(!e)return;let t=e.parentElement.parentElement;P(()=>{t.scrollTop=e.offsetTop})}}),{pointer:y,canPointGroups:M,isPointed:e=>!(!y.value||!(!e.group&&y.value[l.value]===e[l.value]||void 0!==e.group&&y.value[r.value]===e[r.value]))||void 0,setPointerFirst:V,selectPointer:()=>{y.value&&!0!==y.value[p.value]&&(L.value?v(y.value):w(y.value))},forwardPointer:()=>{if(null===y.value)k((i.value&&M.value?C.value[0].__CREATE__?T.value[0]:C.value[0]:T.value[0])||null);else if(i.value&&M.value){let e=L.value?I.value:R.value;void 0===e&&(e=O.value,e.__CREATE__&&(e=e[h.value][0])),k(e||null)}else{let e=T.value.map(e=>e[l.value]).indexOf(y.value[l.value])+1;T.value.length<=e&&(e=0),k(T.value[e]||null)}P(()=>{H()})},backwardPointer:()=>{if(null===y.value){let e=T.value[T.value.length-1];i.value&&M.value&&(e=B.value,void 0===e&&(e=$.value)),k(e||null)}else if(i.value&&M.value){let e=L.value?N.value:E.value;void 0===e&&(e=L.value?D.value:A.value,e.__CREATE__&&(e=N.value,void 0===e&&(e=D.value))),k(e||null)}else{let e=T.value.map(e=>e[l.value]).indexOf(y.value[l.value])-1;e<0&&(e=T.value.length-1),k(T.value[e]||null)}P(()=>{H()})}}}function Ki(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zi(e){return e instanceof Ki(e).Element||e instanceof Element}function Qi(e){return e instanceof Ki(e).HTMLElement||e instanceof HTMLElement}function Xi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ki(e).ShadowRoot||e instanceof ShadowRoot)}var Ji=Math.max,eu=Math.min,tu=Math.round;function nu(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function au(){return!/^((?!chrome|android).)*safari/i.test(nu())}function lu(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),l=1,o=1;t&&Qi(e)&&(l=e.offsetWidth>0&&tu(a.width)/e.offsetWidth||1,o=e.offsetHeight>0&&tu(a.height)/e.offsetHeight||1);var s=(Zi(e)?Ki(e):window).visualViewport,r=!au()&&n,i=(a.left+(r&&s?s.offsetLeft:0))/l,u=(a.top+(r&&s?s.offsetTop:0))/o,c=a.width/l,d=a.height/o;return{width:c,height:d,top:u,right:i+c,bottom:u+d,left:i,x:i,y:u}}function ou(e){var t=Ki(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function su(e){return e?(e.nodeName||"").toLowerCase():null}function ru(e){return((Zi(e)?e.ownerDocument:e.document)||window.document).documentElement}function iu(e){return lu(ru(e)).left+ou(e).scrollLeft}function uu(e){return Ki(e).getComputedStyle(e)}function cu(e){var t=uu(e),n=t.overflow,a=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+a)}function du(e,t,n){void 0===n&&(n=!1);var a,l,o=Qi(t),s=Qi(t)&&function(e){var t=e.getBoundingClientRect(),n=tu(t.width)/e.offsetWidth||1,a=tu(t.height)/e.offsetHeight||1;return 1!==n||1!==a}(t),r=ru(t),i=lu(e,s,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==su(t)||cu(r))&&(u=(a=t)!==Ki(a)&&Qi(a)?{scrollLeft:(l=a).scrollLeft,scrollTop:l.scrollTop}:ou(a)),Qi(t)?((c=lu(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=iu(r))),{x:i.left+u.scrollLeft-c.x,y:i.top+u.scrollTop-c.y,width:i.width,height:i.height}}function pu(e){var t=lu(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}function fu(e){return"html"===su(e)?e:e.assignedSlot||e.parentNode||(Xi(e)?e.host:null)||ru(e)}function hu(e){return["html","body","#document"].indexOf(su(e))>=0?e.ownerDocument.body:Qi(e)&&cu(e)?e:hu(fu(e))}function mu(e,t){var n;void 0===t&&(t=[]);var a=hu(e),l=a===(null==(n=e.ownerDocument)?void 0:n.body),o=Ki(a),s=l?[o].concat(o.visualViewport||[],cu(a)?a:[]):a,r=t.concat(s);return l?r:r.concat(mu(fu(s)))}function gu(e){return["table","td","th"].indexOf(su(e))>=0}function wu(e){return Qi(e)&&"fixed"!==uu(e).position?e.offsetParent:null}function vu(e){for(var t=Ki(e),n=wu(e);n&&gu(n)&&"static"===uu(n).position;)n=wu(n);return n&&("html"===su(n)||"body"===su(n)&&"static"===uu(n).position)?t:n||function(e){var t=/firefox/i.test(nu());if(/Trident/i.test(nu())&&Qi(e)&&"fixed"===uu(e).position)return null;var n=fu(e);for(Xi(n)&&(n=n.host);Qi(n)&&["html","body"].indexOf(su(n))<0;){var a=uu(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t}var bu="top",yu="bottom",ku="right",_u="left",xu="auto",Su=[bu,yu,ku,_u],Tu="start",Cu="end",Mu="viewport",Lu="popper",Au=/* @__PURE__ */Su.reduce(function(e,t){return e.concat([t+"-"+Tu,t+"-"+Cu])},[]),Du=/* @__PURE__ */[].concat(Su,[xu]).reduce(function(e,t){return e.concat([t,t+"-"+Tu,t+"-"+Cu])},[]),Pu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ou(e){var t=/* @__PURE__ */new Map,n=/* @__PURE__ */new Set,a=[];function l(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var a=t.get(e);a&&l(a)}}),a.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||l(e)}),a}function $u(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Iu(e,t,n){return t===Mu?$u(function(e,t){var n=Ki(e),a=ru(e),l=n.visualViewport,o=a.clientWidth,s=a.clientHeight,r=0,i=0;if(l){o=l.width,s=l.height;var u=au();(u||!u&&"fixed"===t)&&(r=l.offsetLeft,i=l.offsetTop)}return{width:o,height:s,x:r+iu(e),y:i}}(e,n)):Zi(t)?function(e,t){var n=lu(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):$u(function(e){var t,n=ru(e),a=ou(e),l=null==(t=e.ownerDocument)?void 0:t.body,o=Ji(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),s=Ji(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),r=-a.scrollLeft+iu(e),i=-a.scrollTop;return"rtl"===uu(l||n).direction&&(r+=Ji(n.clientWidth,l?l.clientWidth:0)-o),{width:o,height:s,x:r,y:i}}(ru(e)))}function Eu(e){return e.split("-")[0]}function Ru(e){return e.split("-")[1]}function Nu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bu(e){var t,n=e.reference,a=e.element,l=e.placement,o=l?Eu(l):null,s=l?Ru(l):null,r=n.x+n.width/2-a.width/2,i=n.y+n.height/2-a.height/2;switch(o){case bu:t={x:r,y:n.y-a.height};break;case yu:t={x:r,y:n.y+n.height};break;case ku:t={x:n.x+n.width,y:i};break;case _u:t={x:n.x-a.width,y:i};break;default:t={x:n.x,y:n.y}}var u=o?Nu(o):null;if(null!=u){var c="y"===u?"height":"width";switch(s){case Tu:t[u]=t[u]-(n[c]/2-a[c]/2);break;case Cu:t[u]=t[u]+(n[c]/2-a[c]/2)}}return t}function Vu(e,t){void 0===t&&(t={});var n,a=t,l=a.placement,o=void 0===l?e.placement:l,s=a.strategy,r=void 0===s?e.strategy:s,i=a.boundary,u=void 0===i?"clippingParents":i,c=a.rootBoundary,d=void 0===c?Mu:c,p=a.elementContext,f=void 0===p?Lu:p,h=a.altBoundary,m=void 0!==h&&h,g=a.padding,w=void 0===g?0:g,v=function(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}("number"!=typeof w?w:(n=w,Su.reduce(function(e,t){return e[t]=n,e},{}))),b=f===Lu?"reference":Lu,y=e.rects.popper,k=e.elements[m?b:f],_=function(e,t,n,a){var l="clippingParents"===t?function(e){var t=mu(fu(e)),n=["absolute","fixed"].indexOf(uu(e).position)>=0&&Qi(e)?vu(e):e;return Zi(n)?t.filter(function(e){return Zi(e)&&function(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Xi(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}(e,n)&&"body"!==su(e)}):[]}(e):[].concat(t),o=[].concat(l,[n]),s=o[0],r=o.reduce(function(t,n){var l=Iu(e,n,a);return t.top=Ji(l.top,t.top),t.right=eu(l.right,t.right),t.bottom=eu(l.bottom,t.bottom),t.left=Ji(l.left,t.left),t},Iu(e,s,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(Zi(k)?k:k.contextElement||ru(e.elements.popper),u,d,r),x=lu(e.elements.reference),S=Bu({reference:x,element:y,placement:o}),T=$u(Object.assign({},y,S)),C=f===Lu?T:x,M={top:_.top-C.top+v.top,bottom:C.bottom-_.bottom+v.bottom,left:_.left-C.left+v.left,right:C.right-_.right+v.right},L=e.modifiersData.offset;if(f===Lu&&L){var A=L[o];Object.keys(M).forEach(function(e){var t=[ku,yu].indexOf(e)>=0?1:-1,n=[bu,yu].indexOf(e)>=0?"y":"x";M[e]+=A[n]*t})}return M}var Fu={placement:"bottom",modifiers:[],strategy:"absolute"};function Hu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Uu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,a=void 0===n?[]:n,l=t.defaultOptions,o=void 0===l?Fu:l;return function(e,t,n){void 0===n&&(n=o);var l,s,r={placement:"bottom",orderedModifiers:[],options:Object.assign({},Fu,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],u=!1,c={state:r,setOptions:function(n){var l="function"==typeof n?n(r.options):n;d(),r.options=Object.assign({},o,r.options,l),r.scrollParents={reference:Zi(e)?mu(e):e.contextElement?mu(e.contextElement):[],popper:mu(t)};var s,u,p=function(e){var t=Ou(e);return Pu.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(a,r.options.modifiers),u=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return r.orderedModifiers=p.filter(function(e){return e.enabled}),r.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,a=void 0===n?{}:n,l=e.effect;if("function"==typeof l){var o=l({state:r,name:t,instance:c,options:a});i.push(o||function(){})}}),c.update()},forceUpdate:function(){if(!u){var e=r.elements,t=e.reference,n=e.popper;if(Hu(t,n)){r.rects={reference:du(t,vu(n),"fixed"===r.options.strategy),popper:pu(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach(function(e){return r.modifiersData[e.name]=Object.assign({},e.data)});for(var a=0;a<r.orderedModifiers.length;a++)if(!0!==r.reset){var l=r.orderedModifiers[a],o=l.fn,s=l.options,i=void 0===s?{}:s,d=l.name;"function"==typeof o&&(r=o({state:r,options:i,name:d,instance:c})||r)}else r.reset=!1,a=-1}}},update:(l=function(){return new Promise(function(e){c.forceUpdate(),e(r)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(l())})})),s}),destroy:function(){d(),u=!0}};if(!Hu(e,t))return c;function d(){i.forEach(function(e){return e()}),i=[]}return c.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),c}}var qu={passive:!0},ju={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wu(e){var t,n=e.popper,a=e.popperRect,l=e.placement,o=e.variation,s=e.offsets,r=e.position,i=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,m=void 0===h?0:h,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var w=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=_u,y=bu,k=window;if(u){var _=vu(n),x="clientHeight",S="clientWidth";_===Ki(n)&&"static"!==uu(_=ru(n)).position&&"absolute"===r&&(x="scrollHeight",S="scrollWidth"),(l===bu||(l===_u||l===ku)&&o===Cu)&&(y=yu,m-=(d&&_===k&&k.visualViewport?k.visualViewport.height:_[x])-a.height,m*=i?1:-1),l!==_u&&(l!==bu&&l!==yu||o!==Cu)||(b=ku,f-=(d&&_===k&&k.visualViewport?k.visualViewport.width:_[S])-a.width,f*=i?1:-1)}var T,C=Object.assign({position:r},u&&ju),M=!0===c?function(e,t){var n=e.x,a=e.y,l=t.devicePixelRatio||1;return{x:tu(n*l)/l||0,y:tu(a*l)/l||0}}({x:f,y:m},Ki(n)):{x:f,y:m};return f=M.x,m=M.y,i?Object.assign({},C,((T={})[y]=v?"0":"",T[b]=w?"0":"",T.transform=(k.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},C,((t={})[y]=v?m+"px":"",t[b]=w?f+"px":"",t.transform="",t))}var zu=/* @__PURE__ */Uu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,a=e.options,l=a.scroll,o=void 0===l||l,s=a.resize,r=void 0===s||s,i=Ki(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,qu)}),r&&i.addEventListener("resize",n.update,qu),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,qu)}),r&&i.removeEventListener("resize",n.update,qu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Bu({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,a=n.gpuAcceleration,l=void 0===a||a,o=n.adaptive,s=void 0===o||o,r=n.roundOffsets,i=void 0===r||r,u={placement:Eu(t.placement),variation:Ru(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Wu(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wu(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},a=t.attributes[e]||{},l=t.elements[e];Qi(l)&&su(l)&&(Object.assign(l.style,n),Object.keys(a).forEach(function(e){var t=a[e];!1===t?l.removeAttribute(e):l.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var a=t.elements[e],l=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Qi(a)&&su(a)&&(Object.assign(a.style,o),Object.keys(l).forEach(function(e){a.removeAttribute(e)}))})}},requires:["computeStyles"]}]});function Yu(e,t,n){return Ji(e,eu(t,n))}var Gu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,o=void 0===l||l,s=n.altAxis,r=void 0!==s&&s,i=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Vu(t,{boundary:i,rootBoundary:u,padding:d,altBoundary:c}),w=Eu(t.placement),v=Ru(t.placement),b=!v,y=Nu(w),k="x"===y?"y":"x",_=t.modifiersData.popperOffsets,x=t.rects.reference,S=t.rects.popper,T="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(_){if(o){var A,D="y"===y?bu:_u,P="y"===y?yu:ku,O="y"===y?"height":"width",$=_[y],I=$+g[D],E=$-g[P],R=f?-S[O]/2:0,N=v===Tu?x[O]:S[O],B=v===Tu?-S[O]:-x[O],V=t.elements.arrow,F=f&&V?pu(V):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=H[D],q=H[P],j=Yu(0,x[O],F[O]),W=b?x[O]/2-R-j-U-C.mainAxis:N-j-U-C.mainAxis,z=b?-x[O]/2+R+j+q+C.mainAxis:B+j+q+C.mainAxis,Y=t.elements.arrow&&vu(t.elements.arrow),G=Y?"y"===y?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(A=null==M?void 0:M[y])?A:0,Z=$+z-K,Q=Yu(f?eu(I,$+W-K-G):I,$,f?Ji(E,Z):E);_[y]=Q,L[y]=Q-$}if(r){var X,J="x"===y?bu:_u,ee="x"===y?yu:ku,te=_[k],ne="y"===k?"height":"width",ae=te+g[J],le=te-g[ee],oe=-1!==[bu,_u].indexOf(w),se=null!=(X=null==M?void 0:M[k])?X:0,re=oe?ae:te-x[ne]-S[ne]-se+C.altAxis,ie=oe?te+x[ne]+S[ne]-se-C.altAxis:le,ue=f&&oe?(de=Yu(re,te,ce=ie))>ce?ce:de:Yu(f?re:ae,te,f?ie:le);_[k]=ue,L[k]=ue-te}var ce,de;t.modifiersData[a]=L}},requiresIfExists:["offset"]},Ku={left:"right",right:"left",bottom:"top",top:"bottom"};function Zu(e){return e.replace(/left|right|bottom|top/g,function(e){return Ku[e]})}var Qu={start:"end",end:"start"};function Xu(e){return e.replace(/start|end/g,function(e){return Qu[e]})}var Ju={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var l=n.mainAxis,o=void 0===l||l,s=n.altAxis,r=void 0===s||s,i=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,w=Eu(g),v=i||(w!==g&&h?function(e){if(Eu(e)===xu)return[];var t=Zu(e);return[Xu(e),t,Xu(t)]}(g):[Zu(g)]),b=[g].concat(v).reduce(function(e,n){return e.concat(Eu(n)===xu?function(e,t){void 0===t&&(t={});var n=t,a=n.placement,l=n.boundary,o=n.rootBoundary,s=n.padding,r=n.flipVariations,i=n.allowedAutoPlacements,u=void 0===i?Du:i,c=Ru(a),d=c?r?Au:Au.filter(function(e){return Ru(e)===c}):Su,p=d.filter(function(e){return u.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Vu(e,{placement:n,boundary:l,rootBoundary:o,padding:s})[Eu(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)},[]),y=t.rects.reference,k=t.rects.popper,_=/* @__PURE__ */new Map,x=!0,S=b[0],T=0;T<b.length;T++){var C=b[T],M=Eu(C),L=Ru(C)===Tu,A=[bu,yu].indexOf(M)>=0,D=A?"width":"height",P=Vu(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),O=A?L?ku:_u:L?yu:bu;y[D]>k[D]&&(O=Zu(O));var $=Zu(O),I=[];if(o&&I.push(P[M]<=0),r&&I.push(P[O]<=0,P[$]<=0),I.every(function(e){return e})){S=C,x=!1;break}_.set(C,I)}if(x)for(var E=function(e){var t=b.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},R=h?3:1;R>0&&"break"!==E(R);R--);t.placement!==S&&(t.modifiersData[a]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ec(e,n,a){const{disabled:l,appendTo:o,appendToBody:s,openDirection:r}=c(e),i=A().proxy,u=a.multiselect,d=a.dropdown,p=t(!1),f=t(null),h=t(null),m=Hi(()=>o.value||s.value),g=Hi(()=>"top"===r.value&&"bottom"===h.value||"bottom"===r.value&&"top"!==h.value?"bottom":"top"),w=()=>{if(!f.value)return;let e=parseInt(window.getComputedStyle(d.value).borderTopWidth.replace("px","")),t=parseInt(window.getComputedStyle(d.value).borderBottomWidth.replace("px",""));f.value.setOptions(n=>({...n,modifiers:[...n.modifiers,{name:"offset",options:{offset:[0,-1*("top"===g.value?e:t)]}}]})),f.value.update()},v=e=>{for(;e&&e!==document.body;){if("fixed"===getComputedStyle(e).position)return!0;e=e.parentElement}return!1};return T(()=>{m.value&&(f.value=zu(u.value,d.value,{strategy:v(u.value)?"fixed":void 0,placement:r.value,modifiers:[Gu,Ju,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>{e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:e}){h.value=e.placement}}]}))}),D(()=>{m.value&&f.value&&(f.value.destroy(),f.value=null)}),{popper:f,isOpen:p,open:()=>{p.value||l.value||(p.value=!0,n.emit("open",i),m.value&&P(()=>{w()}))},close:()=>{p.value&&(p.value=!1,n.emit("close",i))},placement:g,updatePopper:w}}function tc(e,n,a){const{searchable:l,disabled:o,clearOnBlur:s}=c(e),r=a.input,i=a.open,u=a.close,d=a.clearSearch,p=a.isOpen,f=a.wrapper,h=a.tags,m=t(!1),g=t(!1),w=Hi(()=>l.value||o.value?-1:0),v=()=>{l.value&&r.value.blur(),f.value.blur()},b=(e=!0)=>{o.value||(m.value=!0,e&&i())},y=()=>{m.value=!1,setTimeout(()=>{m.value||(u(),s.value&&d())},1)};return{tabindex:w,isActive:m,mouseClicked:g,blur:v,focus:()=>{l.value&&!o.value&&r.value.focus()},activate:b,deactivate:y,handleFocusIn:e=>{e.target.closest("[data-tags]")&&"INPUT"!==e.target.nodeName||e.target.closest("[data-clear]")||b(g.value)},handleFocusOut:()=>{y()},handleCaretClick:()=>{y(),v()},handleMousedown:e=>{g.value=!0,p.value&&(e.target.isEqualNode(f.value)||e.target.isEqualNode(h.value))?setTimeout(()=>{y()},0):p.value||!document.activeElement.isEqualNode(f.value)&&!document.activeElement.isEqualNode(r.value)||b(),setTimeout(()=>{g.value=!1},0)}}}function nc(e,t,n){const{mode:a,addTagOn:l,openDirection:o,searchable:s,showOptions:r,valueProp:i,groups:u,addOptionOn:d,createTag:p,createOption:f,reverse:h}=c(e),m=A().proxy,g=n.iv,w=n.update,v=n.deselect,b=n.search,y=n.setPointer,k=n.selectPointer,_=n.backwardPointer,x=n.forwardPointer,S=n.multiselect,T=n.wrapper,C=n.tags,M=n.isOpen,L=n.open,D=n.blur,P=n.fo,O=Hi(()=>p.value||f.value||!1),$=Hi(()=>void 0!==l.value?l.value:void 0!==d.value?d.value:["enter"]),I=()=>{"tags"===a.value&&!r.value&&O.value&&s.value&&!u.value&&y(P.value[P.value.map(e=>e[i.value]).indexOf(b.value)])};return{handleKeydown:e=>{let n,l;switch(t.emit("keydown",e,m),-1!==["ArrowLeft","ArrowRight","Enter"].indexOf(e.key)&&"tags"===a.value&&(n=[...S.value.querySelectorAll("[data-tags] > *")].filter(e=>e!==C.value),l=n.findIndex(e=>e===document.activeElement)),e.key){case"Backspace":if("single"===a.value)return;if(s.value&&-1===[null,""].indexOf(b.value))return;if(0===g.value.length)return;let t=g.value.filter(e=>!e.disabled&&!1!==e.remove);t.length&&v(t[t.length-1]);break;case"Enter":if(e.preventDefault(),229===e.keyCode)return;if(-1!==l&&void 0!==l)return w([...g.value].filter((e,t)=>t!==l)),void(l===n.length-1&&(n.length-1?n[n.length-2].focus():s.value?C.value.querySelector("input").focus():T.value.focus()));if(-1===$.value.indexOf("enter")&&O.value)return;I(),k();break;case" ":if(!O.value&&!s.value)return e.preventDefault(),I(),void k();if(!O.value)return!1;if(-1===$.value.indexOf("space")&&O.value)return;e.preventDefault(),I(),k();break;case"Tab":case";":case",":if(-1===$.value.indexOf(e.key.toLowerCase())||!O.value)return;I(),k(),e.preventDefault();break;case"Escape":D();break;case"ArrowUp":if(e.preventDefault(),!r.value)return;M.value||L(),_();break;case"ArrowDown":if(e.preventDefault(),!r.value)return;M.value||L(),x();break;case"ArrowLeft":if(s.value&&C.value&&C.value.querySelector("input").selectionStart||e.shiftKey||"tags"!==a.value||!g.value||!g.value.length)return;e.preventDefault(),-1===l?n[n.length-1].focus():l>0&&n[l-1].focus();break;case"ArrowRight":if(-1===l||e.shiftKey||"tags"!==a.value||!g.value||!g.value.length)return;e.preventDefault(),n.length>l+1?n[l+1].focus():s.value?C.value.querySelector("input").focus():s.value||T.value.focus()}},handleKeyup:e=>{t.emit("keyup",e,m)},preparePointer:I}}function ac(e,t,a){const{classes:l,disabled:o,showOptions:s,breakTags:r}=c(e),i=a.isOpen,u=a.isPointed,d=a.isSelected,p=a.isDisabled,f=a.isActive,h=a.canPointGroups,m=a.resolving,g=a.fo,w=a.placement,v=Hi(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...l.value})),b=Hi(()=>!!(i.value&&s.value&&(!m.value||m.value&&g.value.length)));return{classList:n(()=>{const e=v.value;return{container:[e.container].concat(o.value?e.containerDisabled:[]).concat(b.value&&"top"===w.value?e.containerOpenTop:[]).concat(b.value&&"top"!==w.value?e.containerOpen:[]).concat(f.value?e.containerActive:[]),wrapper:e.wrapper,spacer:e.spacer,singleLabel:e.singleLabel,singleLabelText:e.singleLabelText,multipleLabel:e.multipleLabel,search:e.search,tags:e.tags,tag:[e.tag].concat(o.value?e.tagDisabled:[]),tagWrapper:[e.tagWrapper,r.value?e.tagWrapperBreak:null],tagDisabled:e.tagDisabled,tagRemove:e.tagRemove,tagRemoveIcon:e.tagRemoveIcon,tagsSearchWrapper:e.tagsSearchWrapper,tagsSearch:e.tagsSearch,tagsSearchCopy:e.tagsSearchCopy,placeholder:e.placeholder,caret:[e.caret].concat(i.value?e.caretOpen:[]),clear:e.clear,clearIcon:e.clearIcon,spinner:e.spinner,inifinite:e.inifinite,inifiniteSpinner:e.inifiniteSpinner,dropdown:[e.dropdown].concat("top"===w.value?e.dropdownTop:[]).concat(i.value&&s.value&&b.value?[]:e.dropdownHidden),options:[e.options].concat("top"===w.value?e.optionsTop:[]),group:e.group,groupLabel:t=>{let n=[e.groupLabel];return u(t)?n.push(d(t)?e.groupLabelSelectedPointed:e.groupLabelPointed):d(t)&&h.value?n.push(p(t)?e.groupLabelSelectedDisabled:e.groupLabelSelected):p(t)&&n.push(e.groupLabelDisabled),h.value&&n.push(e.groupLabelPointable),n},groupOptions:e.groupOptions,option:(t,n)=>{let a=[e.option];return u(t)?a.push(d(t)?e.optionSelectedPointed:e.optionPointed):d(t)?a.push(p(t)?e.optionSelectedDisabled:e.optionSelected):(p(t)||n&&p(n))&&a.push(e.optionDisabled),a},noOptions:e.noOptions,noResults:e.noResults,assist:e.assist,fakeInput:e.fakeInput}}),showDropdown:b}}function lc(e,n,a){const{limit:l,infinite:o}=c(e),s=a.isOpen,r=a.offset,i=a.search,u=a.pfo,d=a.eo,p=t(null),h=L(null),m=Hi(()=>r.value<u.value.length),g=e=>{const{isIntersecting:t,target:n}=e[0];if(t){const e=n.offsetParent,t=e.scrollTop;r.value+=-1==l.value?10:l.value,P(()=>{e.scrollTop=t})}},w=()=>{s.value&&r.value<u.value.length?p.value.observe(h.value):!s.value&&p.value&&p.value.disconnect()};return f(s,()=>{o.value&&w()}),f(i,()=>{o.value&&(r.value=l.value,w())},{flush:"post"}),f(d,()=>{o.value&&w()},{immediate:!1,flush:"post"}),T(()=>{window&&window.IntersectionObserver&&(p.value=new IntersectionObserver(g))}),{hasMore:m,infiniteLoader:h}}function oc(e,a,l){const{placeholder:o,id:s,valueProp:r,label:i,mode:u,groupLabel:d,aria:p,searchable:f}=c(e),h=l.pointer,m=l.iv,g=l.hasSelected,w=l.multipleLabelText,v=t(null),b=Hi(()=>(s.value?s.value+"-":"")+"assist"),y=Hi(()=>(s.value?s.value+"-":"")+"multiselect-options"),k=Hi(()=>{if(h.value){let e=s.value?`${s.value}-`:"";return e+=(h.value.group?"multiselect-group":"multiselect-option")+"-",e+=h.value.group?h.value.index:h.value[r.value],e}}),_=Hi(()=>o.value),x=Hi(()=>"single"!==u.value),S=n(()=>"single"===u.value&&g.value?m.value[i.value]:"multiple"===u.value&&g.value?w.value:"tags"===u.value&&g.value?m.value.map(e=>e[i.value]).join(", "):""),C=n(()=>{let e={...p.value};return f.value&&(e["aria-labelledby"]=e["aria-labelledby"]?`${b.value} ${e["aria-labelledby"]}`:b.value,S.value&&e["aria-label"]&&(e["aria-label"]=`${S.value}, ${e["aria-label"]}`)),e});return T(()=>{if(s.value&&document&&document.querySelector){let e=document.querySelector(`[for="${s.value}"]`);v.value=e?e.innerText:null}}),{arias:C,ariaLabel:S,ariaAssist:b,ariaControls:y,ariaPlaceholder:_,ariaMultiselectable:x,ariaActiveDescendant:k,ariaOptionId:e=>`${s.value?s.value+"-":""}multiselect-option-${e[r.value]}`,ariaOptionLabel:e=>`${e}`,ariaGroupId:e=>`${s.value?s.value+"-":""}multiselect-group-${e.index}`,ariaGroupLabel:e=>`${e}`,ariaTagLabel:e=>`${e} ❎`}}function sc(e,t,n){const{locale:a,fallbackLocale:l}=c(e);return{localize:e=>e&&"object"==typeof e?e&&e[a.value]?e[a.value]:e&&a.value&&e[a.value.toUpperCase()]?e[a.value.toUpperCase()]:e&&e[l.value]?e[l.value]:e&&l.value&&e[l.value.toUpperCase()]?e[l.value.toUpperCase()]:e&&Object.keys(e)[0]?e[Object.keys(e)[0]]:"":e}}function rc(e,t,n){return{multiselect:L(null),wrapper:L(null),tags:L(null),input:L(null),dropdown:L(null)}}var ic={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1,default:void 0},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1,default:void 0},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1,default:void 0},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function,default:void 0},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String,default:void 0}},setup:(e,t)=>function(e,t,n,a={}){return[rc,sc,Ui,ji,ec,qi,Fi,tc,Yi,lc,Gi,nc,ac,oc].forEach(n=>{a={...a,...n(e,t,a)}}),a}(e,t),beforeMount(){(this.$root.constructor&&this.$root.constructor.version&&this.$root.constructor.version.match(/^2\./)||2===this.vueVersionMs)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const uc=["id","dir"],cc=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],dc=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],pc=["onKeyup","aria-label"],fc=["onClick"],hc=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],mc=["innerHTML"],gc=["id"],wc=["id"],vc=["id","aria-label","aria-selected"],bc=["data-pointed","onMouseenter","onClick"],yc=["innerHTML"],kc=["aria-label"],_c=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],xc=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],Sc=["innerHTML"],Tc=["innerHTML"],Cc=["value"],Mc=["name","value"],Lc=["name","value"],Ac=["id"];ic.render=function(e,t,n,o,s,u){return a(),r("div",{ref:"multiselect",class:k(e.classList.container),id:n.searchable?void 0:n.id,dir:n.rtl?"rtl":void 0,onFocusin:t[12]||(t[12]=(...t)=>e.handleFocusIn&&e.handleFocusIn(...t)),onFocusout:t[13]||(t[13]=(...t)=>e.handleFocusOut&&e.handleFocusOut(...t)),onKeyup:t[14]||(t[14]=(...t)=>e.handleKeyup&&e.handleKeyup(...t)),onKeydown:t[15]||(t[15]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))},[v("div",O({class:e.classList.wrapper,onMousedown:t[9]||(t[9]=(...t)=>e.handleMousedown&&e.handleMousedown(...t)),ref:"wrapper",tabindex:e.tabindex,"aria-controls":n.searchable?void 0:e.ariaControls,"aria-placeholder":n.searchable?void 0:e.ariaPlaceholder,"aria-expanded":n.searchable?void 0:e.isOpen,"aria-activedescendant":n.searchable?void 0:e.ariaActiveDescendant,"aria-multiselectable":n.searchable?void 0:e.ariaMultiselectable,role:n.searchable?void 0:"combobox"},n.searchable?{}:e.arias),[i(" Search "),"tags"!==n.mode&&n.searchable&&!n.disabled?(a(),r("input",O({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.search,autocomplete:n.autocomplete,id:n.searchable?n.id:void 0,onInput:t[0]||(t[0]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onKeypress:t[1]||(t[1]=(...t)=>e.handleKeypress&&e.handleKeypress(...t)),onPaste:t[2]||(t[2]=$((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,dc)):i("v-if",!0),i(" Tags (with search) "),"tags"==n.mode?(a(),r("div",{key:1,class:k(e.classList.tags),"data-tags":""},[(a(!0),r(m,null,g(e.iv,(t,l,o)=>I(e.$slots,"tag",{option:t,handleTagRemove:e.handleTagRemove,disabled:n.disabled},()=>[(a(),r("span",{class:k([e.classList.tag,t.disabled?e.classList.tagDisabled:null]),tabindex:"-1",onKeyup:E(n=>e.handleTagRemove(t,n),["enter"]),key:o,"aria-label":e.ariaTagLabel(e.localize(t[n.label]))},[v("span",{class:k(e.classList.tagWrapper)},b(e.localize(t[n.label])),3),n.disabled||t.disabled?i("v-if",!0):(a(),r("span",{key:0,class:k(e.classList.tagRemove),onClick:$(n=>e.handleTagRemove(t,n),["stop"])},[v("span",{class:k(e.classList.tagRemoveIcon)},null,2)],10,fc))],42,pc))])),256)),v("div",{class:k(e.classList.tagsSearchWrapper),ref:"tags"},[i(" Used for measuring search width "),v("span",{class:k(e.classList.tagsSearchCopy)},b(e.search),3),i(" Actual search input "),n.searchable&&!n.disabled?(a(),r("input",O({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.tagsSearch,id:n.searchable?n.id:void 0,autocomplete:n.autocomplete,onInput:t[3]||(t[3]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onKeypress:t[4]||(t[4]=(...t)=>e.handleKeypress&&e.handleKeypress(...t)),onPaste:t[5]||(t[5]=$((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,hc)):i("v-if",!0)],2)],2)):i("v-if",!0),i(" Single label "),"single"==n.mode&&e.hasSelected&&!e.search&&e.iv?I(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[v("div",{class:k(e.classList.singleLabel)},[v("span",{class:k(e.classList.singleLabelText)},b(e.localize(e.iv[n.label])),3)],2)]):i("v-if",!0),i(" Multiple label "),"multiple"==n.mode&&e.hasSelected&&!e.search?I(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[v("div",{class:k(e.classList.multipleLabel),innerHTML:e.multipleLabelText},null,10,mc)]):i("v-if",!0),i(" Placeholder "),!n.placeholder||e.hasSelected||e.search?i("v-if",!0):I(e.$slots,"placeholder",{key:4},()=>[v("div",{class:k(e.classList.placeholder),"aria-hidden":"true"},b(n.placeholder),3)]),i(" Spinner "),n.loading||e.resolving?I(e.$slots,"spinner",{key:5},()=>[v("span",{class:k(e.classList.spinner),"aria-hidden":"true"},null,2)]):i("v-if",!0),i(" Clear "),e.hasSelected&&!n.disabled&&n.canClear&&!e.busy?I(e.$slots,"clear",{key:6,clear:e.clear},()=>[v("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:k(e.classList.clear),onClick:t[6]||(t[6]=(...t)=>e.clear&&e.clear(...t)),onKeyup:t[7]||(t[7]=E((...t)=>e.clear&&e.clear(...t),["enter"]))},[v("span",{class:k(e.classList.clearIcon)},null,2)],34)]):i("v-if",!0),i(" Caret "),n.caret&&n.showOptions?I(e.$slots,"caret",{key:7,handleCaretClick:e.handleCaretClick,isOpen:e.isOpen},()=>[v("span",{class:k(e.classList.caret),onClick:t[8]||(t[8]=(...t)=>e.handleCaretClick&&e.handleCaretClick(...t)),"aria-hidden":"true"},null,2)]):i("v-if",!0)],16,cc),i(" Options "),(a(),l(C,{to:n.appendTo||"body",disabled:!n.appendToBody&&!n.appendTo},[v("div",{id:n.id?`${n.id}-dropdown`:void 0,class:k(e.classList.dropdown),tabindex:"-1",ref:"dropdown",onFocusin:t[10]||(t[10]=(...t)=>e.handleFocusIn&&e.handleFocusIn(...t)),onFocusout:t[11]||(t[11]=(...t)=>e.handleFocusOut&&e.handleFocusOut(...t))},[I(e.$slots,"beforelist",{options:e.fo}),v("ul",{class:k(e.classList.options),id:e.ariaControls,role:"listbox"},[n.groups?(a(!0),r(m,{key:0},g(e.fg,(t,l,o)=>(a(),r("li",{class:k(e.classList.group),key:o,id:e.ariaGroupId(t),"aria-label":e.ariaGroupLabel(e.localize(t[n.groupLabel])),"aria-selected":e.isSelected(t),role:"option"},[t.__CREATE__?i("v-if",!0):(a(),r("div",{key:0,class:k(e.classList.groupLabel(t)),"data-pointed":e.isPointed(t),onMouseenter:n=>e.setPointer(t,l),onClick:n=>e.handleGroupClick(t)},[I(e.$slots,"grouplabel",{group:t,isSelected:e.isSelected,isPointed:e.isPointed},()=>[v("span",{innerHTML:e.localize(t[n.groupLabel])},null,8,yc)])],42,bc)),v("ul",{class:k(e.classList.groupOptions),"aria-label":e.ariaGroupLabel(e.localize(t[n.groupLabel])),role:"group"},[(a(!0),r(m,null,g(t.__VISIBLE__,(l,o,s)=>(a(),r("li",{class:k(e.classList.option(l,t)),"data-pointed":e.isPointed(l),"data-selected":e.isSelected(l)||void 0,key:s,onMouseenter:t=>e.setPointer(l),onClick:t=>e.handleOptionClick(l),id:e.ariaOptionId(l),"aria-selected":e.isSelected(l),"aria-label":e.ariaOptionLabel(e.localize(l[n.label])),role:"option"},[I(e.$slots,"option",{option:l,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[v("span",null,b(e.localize(l[n.label])),1)])],42,_c))),128))],10,kc)],10,vc))),128)):(a(!0),r(m,{key:1},g(e.fo,(t,l,o)=>(a(),r("li",{class:k(e.classList.option(t)),"data-pointed":e.isPointed(t),"data-selected":e.isSelected(t)||void 0,key:o,onMouseenter:n=>e.setPointer(t),onClick:n=>e.handleOptionClick(t),id:e.ariaOptionId(t),"aria-selected":e.isSelected(t),"aria-label":e.ariaOptionLabel(e.localize(t[n.label])),role:"option"},[I(e.$slots,"option",{option:t,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[v("span",null,b(e.localize(t[n.label])),1)])],42,xc))),128))],10,wc),e.noOptions?I(e.$slots,"nooptions",{key:0},()=>[v("div",{class:k(e.classList.noOptions),innerHTML:e.localize(n.noOptionsText)},null,10,Sc)]):i("v-if",!0),e.noResults?I(e.$slots,"noresults",{key:1},()=>[v("div",{class:k(e.classList.noResults),innerHTML:e.localize(n.noResultsText)},null,10,Tc)]):i("v-if",!0),n.infinite&&e.hasMore?(a(),r("div",{key:2,class:k(e.classList.inifinite),ref:"infiniteLoader"},[I(e.$slots,"infinite",{},()=>[v("span",{class:k(e.classList.inifiniteSpinner)},null,2)])],2)):i("v-if",!0),I(e.$slots,"afterlist",{options:e.fo})],42,gc)],8,["to","disabled"])),i(" Hacky input element to show HTML5 required warning "),n.required?(a(),r("input",{key:0,class:k(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,Cc)):i("v-if",!0),i(" Native input support "),n.nativeSupport?(a(),r(m,{key:1},["single"==n.mode?(a(),r("input",{key:0,type:"hidden",name:n.name,value:void 0!==e.plainValue?e.plainValue:""},null,8,Mc)):(a(!0),r(m,{key:1},g(e.plainValue,(e,t)=>(a(),r("input",{type:"hidden",name:`${n.name}[]`,value:e,key:t},null,8,Lc))),128))],64)):i("v-if",!0),i(" Screen reader assistive text "),n.searchable&&e.hasSelected?(a(),r("div",{key:2,class:k(e.classList.assist),id:e.ariaAssist,"aria-hidden":"true"},b(e.ariaLabel),11,Ac)):i("v-if",!0),i(" Create height for empty input "),v("div",{class:k(e.classList.spacer)},null,2)],42,uc)},ic.__file="src/Multiselect.vue";const Dc={key:0,class:"wf-visible-xs-inline"},Pc={key:1,class:"wf-visible-sm-inline"},Oc={key:2,class:"wf-visible-md-inline"},$c={key:3,class:"wf-visible-lg-inline"},Ic={__name:"ResponsiveText",props:{textClass:{type:[String,null],default:null},text:{type:String,required:!0},xs:{type:[String,null],default:null},sm:{type:[String,null],default:null},md:{type:[String,null],default:null},lg:{type:[String,null],default:null}},setup(e){const t=N(),l=e,{textClass:o,xs:s,sm:u,md:d,lg:p}=c(l),f=n(()=>{let e=[];return o.value&&e.push(o.value),(null!==s.value||t.xs)&&e.push("wf-hidden-xs"),(null!==u.value||t.sm)&&e.push("wf-hidden-sm"),(null!==d.value||t.md)&&e.push("wf-hidden-md"),(null!==p.value||t.lg)&&e.push("wf-hidden-lg"),e});return(n,l)=>(a(),r(m,null,[v("span",{class:k(f.value)},b(e.text),3),null!==w(s)||w(t).xs?(a(),r("span",Dc,[I(n.$slots,"xs",{},()=>[x(b(w(s)),1)])])):i("",!0),null!==w(u)||w(t).sm?(a(),r("span",Pc,[I(n.$slots,"sm",{},()=>[x(b(w(u)),1)])])):i("",!0),null!==w(d)||w(t).md?(a(),r("span",Oc,[I(n.$slots,"md",{},()=>[x(b(w(d)),1)])])):i("",!0),null!==w(p)||w(t).lg?(a(),r("span",$c,[I(n.$slots,"lg",{},()=>[x(b(w(p)),1)])])):i("",!0)],64))}},Ec={class:"wf-nav wf-nav-pills wf-nav-pills-bordered wf-nav-pills-connected"},Rc={__name:"NavPills",props:{modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const o=t,s=e,i=N(),u=n(()=>(i.default?.()??[]).map(e=>{const t=e.props?.["data-value"]??null;return{key:t??e.key??void 0,node:B(e,{onClick:e=>((e,t)=>{t.preventDefault(),t.stopPropagation(),o("update:modelValue",e)})(t,e)}),isActive:s.modelValue===t}}));return(e,t)=>(a(),r("ul",Ec,[(a(!0),r(m,null,g(u.value,e=>(a(),r("li",{key:e.key,class:k(["wf-nav-pills-item",{"wf-active":e.isActive}])},[(a(),l(y(e.node)))],2))),128))]))}},Nc=["src","alt"],Bc={__name:"CountryBlockMap",setup(e){const t=u("__"),n=u("wfconstants");return(e,l)=>(a(),r("img",{src:w(n).assets.images.country_blocking_map,alt:w(t)("Country Blocking"),class:"wf-country-block-map"},null,8,Nc))}};function Vc(){const e=u("wfconstants"),t=u("$dataStore"),n=window.wordfenceAdmin,{$ajax:a}=yi(),{$addQueryArg:l}=Ri(),o=e=>n.inet_pton(e),s=e=>{if(!e)return!1;if((e=e.replace(/\s+/g,"")).match(/^(?:\d{1,3}(?:\.|$)){4}/)){const t=e.split(".");if(4!==t.length)return!1;for(let e of t)if(parseInt(e)>255)return!1;return!!o(e)}if(e.match(/^((?:[\da-f]{1,4}(?::|)){0,8})(::)?((?:[\da-f]{1,4}(?::|)){0,8})$/i)){if("::"===e)return!0;const t=e.split(":").length-1,n=e.indexOf("::");if(n>-1){const a=(0===n||n===e.length-2?9:8)-t;if(0===a)return!1;let l="";for(let e=0;e<a;e++)l+=":0000";e=(e=e.replace("::",l+":")).replace(/(?:^:|:$)/,"",e)}const a=e.split(":");let l="";for(let e of a){if(e.length>4||0===e.length)return!1;e=("0000"+e).slice(-4);const t=parseInt(e.slice(0,2),16),n=parseInt(e.slice(-2),16);if(isNaN(t)||isNaN(n))return!1;l+=String.fromCharCode(t)+String.fromCharCode(n)}return 16===l.length}return!1};return{$inet_pton:o,$inet_ntop:e=>n.inet_ntop(e),$inet_aton:e=>n.inet_aton(e),$inet_ntoa:e=>n.inet_ntoa(e),$reverseIPs:e=>{if(e.length<1)return;let n={},l=[];for(let a=0;a<e.length;a++)t.ip.$reversed[e[a]]||n[e[a]]||(n[e[a]]=!0,l.push(e[a]));a("wordfence_reverseLookup",{ips:l.join(",")},e=>{if(e.ok)for(const n in e.ips)t.ip.$reversed[n]=e.ips[n]},!1,!1)},$makeIPTrafLink:n=>l(e.plugin.url.ip_traffic,{nonce:t.$wordfence.nonce["wp-ajax"],IP:n}),$isValidIP:s,$parseIPRange:e=>{if(!e)return!1;if((e=(e=e.replace(/\s+/g,"")).replace(/[\u2013-\u2015]/g,"-"))&&/^[^-]+-[^-]+$/.test(e)){let t=1,n=!1;const a=e.split("-"),l=o(a[0]),r=o(a[1]);if(!1===l||!s(a[0])||!1===r||!s(a[1]))return!1;const i=("\0\0\0\0\0\0\0\0\0\0ÿÿ"+l).slice(-16),u=("\0\0\0\0\0\0\0\0\0\0ÿÿ"+r).slice(-16);for(let e=0;e<i.length;e++){const a=i.charCodeAt(e),l=u.charCodeAt(e);if(e<11&&l-a>0){n=!0;break}if(e<11&&l-a<0)return!1;if(t+=l-a<<8*(15-e),t<1)return!1}return{start:l,end:r,count:t,countOverflow:n}}if(e&&/^[^/]+\/\d+$/.test(e)){let t=!1;const n=e.split("/"),a=o(n[0]),l=parseInt(n[1]);if(!1===a||!s(n[0]))return!1;if("\0\0\0\0\0\0\0\0\0\0ÿÿ"===("\0\0\0\0\0\0\0\0\0\0ÿÿ"+a).slice(-16).slice(12)){if(l<1||l>32)return!1}else if(l<1||l>128)return!1;let r=Math.pow(2,53)-1;return l>=53?t=!0:r=Math.pow(2,l),{ip:a,bits:l,count:r,countOverflow:t}}return!1}}}function Fc(){const e=u("wfconstants"),{$hasOwn:t}=ai(),n=e.license.current.type,a=e.license.has_conflict,l=e.license.is_deactivated,o=e.license.is_expired,s=e.license.current.type===e.license.types.premium||e.license.current.type===e.license.types.care||e.license.current.type===e.license.types.response,r=e.license.current.type===e.license.types.care||e.license.current.type===e.license.types.response,i=e.license.current.type!==e.license.types.care&&e.license.current.type!==e.license.types.response;return{$licenseType:n,$hasConflict:a,$isDeactivated:l,$isExpired:o,$isPaid:s,$isAtLeastCare:r,$isBelowCare:i,$licenseTypeLabel:a=>(a||(a=n),t(e.license.labels,a)?e.license.labels[a]:e.license.labels.free)}}const Hc={__name:"SlideTransition",setup(e){const t=e=>{e.style.height="0",e.style.overflow="hidden"},n=e=>{e.style.transition="height 250ms ease",e.style.height=e.scrollHeight+"px"},r=e=>{e.style.height="auto",e.style.overflow="",e.style.transition=""},i=e=>{e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},u=e=>{e.offsetHeight,e.style.transition="height 250ms ease",e.style.height="0"},c=e=>{e.style.height="",e.style.overflow="",e.style.transition=""};return(e,d)=>(a(),l(o,{onBeforeEnter:t,onEnter:n,onAfterEnter:r,onBeforeLeave:i,onLeave:u,onAfterLeave:c},{default:s(()=>[I(e.$slots,"default")]),_:3}))}},Uc={class:"wf-block-list wf-block-list-vertical"},qc={class:"wf-flex-vertical wf-padding-add-top wf-padding-add-bottom"},jc={id:"wf-create-block-type",class:"wf-option"},Wc={class:"wf-block-type"},zc={class:"wf-flex-horizontal"},Yc={href:"#","data-value":"ip-address"},Gc={href:"#","data-value":"country"},Kc={href:"#","data-value":"custom-pattern"},Zc={id:"wf-create-block"},Qc={key:0},Xc={id:"wf-create-block-ip-address",class:"wf-option"},Jc={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},ed={class:"wf-option-text wf-padding-add-top-small"},td=["placeholder"],nd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},ad={class:"wf-option-text wf-padding-add-top-small"},ld=["placeholder"],od={key:0},sd={id:"wf-create-block-country",class:"wf-option"},rd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},id={class:"wf-padding-add-top-small wf-form-field"},ud={class:"wf-option-checkboxes"},cd={id:"wf-block-country-login"},dd={class:"wf-ion-ios-checkmark-empty"},pd={id:"wf-country-block-login-form-label",class:"wf-option-title"},fd={id:"wf-block-country-site"},hd={class:"wf-ion-ios-checkmark-empty"},md={id:"wf-country-block-rest-of-site-label",class:"wf-option-title"},gd={class:"wf-padding-add-top-small wf-form-field"},wd=["href"],vd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},bd={class:"wf-option-text wf-padding-add-top-small"},yd=["onClick"],kd=["onKeydown"],_d={class:"multiselect-tag-remove"},xd={key:2,class:"multiselect-tag"},Sd={key:1},Td={colspan:"2"},Cd={class:"wf-flex-vertical"},Md={class:"wf-no-top"},Ld={class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:"https://www.wordfence.com/gnl1countryBlockUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer"},Ad={key:0},Dd={id:"wf-create-block-custom-pattern",class:"wf-option"},Pd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},Od={class:"wf-option-text wf-padding-add-top-small"},$d=["placeholder"],Id={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},Ed={class:"wf-option-text wf-padding-add-top-small"},Rd=["placeholder"],Nd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},Bd={class:"wf-option-text wf-padding-add-top-small"},Vd=["placeholder"],Fd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},Hd={class:"wf-option-text wf-padding-add-top-small"},Ud=["placeholder"],qd={class:"wf-right wf-padding-add-right wf-padding-add-top-small"},jd={class:"wf-option-text wf-padding-add-top-small"},Wd=["placeholder"],zd={key:0},Yd={class:"wf-right wf-padding-add-top wf-padding-add-bottom"},Gd={__name:"CreateBlock",props:{existingCountryBlock:{type:[Object,null],default:null},sorting:{type:Object,default:()=>({})}},emits:["createBlock","blockCreated","cancelCreateBlock"],setup(l,{emit:o}){const c=o,d=u("__"),p=u("sprintf"),g=u("$mitt"),y=u("wfconstants"),{$ajax:S,$ajaxErrorMessage:C}=yi(),{$isValidIP:L,$parseIPRange:A}=Vc(),{$isPaid:O}=Fc(),{$modal:I,$modalNoticeHTML:R,$drawer:N}=Ii(),{$parameterByName:B}=li(),H=l;T(()=>{U.value&&(W.ipRangeToBlock=B("wfBlockRange")),g.on("editBlock",X)}),D(()=>{g.off("editBlock",X)});const U=n(()=>!!B("wfBlockRange")),q=t(U.value?"custom-pattern":"");f(q,e=>{z.value=!1,j.value=!1,Y.value=!1,W.duration=0,W.blockReason="",W.ipToBlock="",W.ipRangeToBlock="",W.hostnameToBlock="",W.uaToBlock="",W.referrerToBlock="",W.countryBlockLoginForm=!H.existingCountryBlock||H.existingCountryBlock.blockLogin,W.countryBlockRestOfSite=!H.existingCountryBlock||H.existingCountryBlock.blockSite,W.countriesToBlock.splice(0,W.countriesToBlock.length,...H.existingCountryBlock?H.existingCountryBlock.countries:[]),"country"===e&&H.existingCountryBlock&&(j.value=!0)});const j=t(!1),W=e({duration:0,blockReason:"",ipToBlock:"",countryBlockLoginForm:!0,countryBlockRestOfSite:!0,countriesToBlock:[],ipRangeToBlock:"",hostnameToBlock:"",uaToBlock:"",referrerToBlock:""}),z=t(!1),Y=t(!1),G=n(()=>Y.value?W.countriesToBlock.length:10),K=n(()=>{const e=/* @__PURE__ */new Map;return W.countriesToBlock.forEach((t,n)=>e.set(t,n)),e}),Z=n(()=>Math.max(0,W.countriesToBlock.length-10)),Q=()=>{Y.value=!0},X=e=>{switch(q.value=e.block.editType??"",j.value=!0,e.block.editType){case"ip-address":break;case"country":W.duration=e.block.editValues.expiration,W.blockReason=e.block.editValues.reason,W.countryBlockLoginForm=e.block.editValues.blockLogin,W.countryBlockRestOfSite=e.block.editValues.blockSite,W.countriesToBlock.splice(0,W.countriesToBlock.length,...e.block.editValues.countries)}},J=n(()=>{let e=W.duration>=0&&(!!W.blockReason||"country"===q.value);return"ip-address"===q.value?e=e&&!!W.ipToBlock&&L(W.ipToBlock):"country"===q.value?e=e&&(W.countryBlockLoginForm||W.countryBlockRestOfSite)&&W.countriesToBlock.length>0:"custom-pattern"===q.value&&(e=e&&(!!W.ipRangeToBlock&&A(W.ipRangeToBlock)||!!W.hostnameToBlock||!!W.uaToBlock||!!W.referrerToBlock)),e}),ee=n(()=>"ip-address"===q.value?d("Block this IP Address"):"country"===q.value?j.value?d("Update Block"):d("Block the Selected Countries"):"custom-pattern"===q.value?d("Block Visitors Matching this Pattern"):d("Save")),te=()=>{q.value="",c("cancelCreateBlock")},ne=()=>{if(!J.value)return;let e=!1;if(W.countriesToBlock.includes("US")&&(e=!0),e&&W.countryBlockRestOfSite&&!z.value)return void I("country-block-us-modal",{onClosed:()=>{z.value=!0,P(ne)}});z.value=!1;let t={type:q.value,duration:W.duration,reason:W.blockReason};"ip-address"===q.value?t.ip=W.ipToBlock:"country"===q.value?(t.reason=d("Country Blocking"),t.blockLogin=W.countryBlockLoginForm,t.blockSite=W.countryBlockRestOfSite,t.countries=[...W.countriesToBlock]):"custom-pattern"===q.value&&(t.ipRange=W.ipRangeToBlock,t.hostname=W.hostnameToBlock,t.userAgent=W.uaToBlock,t.referrer=W.referrerToBlock),S("wordfence_createBlock",Object.assign({payload:JSON.stringify(t)},H.sorting),e=>{e.success&&(c("blockCreated",e),q.value="")},e=>{R(d("Error Saving Block"),C(e))})},ae=()=>{N("country-list-drawer",{model:W.countriesToBlock,onUpdate:e=>W.countriesToBlock.splice(0,W.countriesToBlock.length,...e),onSave:ne})},le=n(()=>O&&"country"===q.value||!!q.value&&"country"!==q.value);return(e,t)=>{const n=h("aria");return a(),r("ul",Uc,[v("li",qc,[v("table",jc,[v("tr",null,[v("td",Wc,[v("div",zc,[v("p",null,[v("strong",null,b(w(d)("Block Type"))+":  ",1)]),M(w(Rc),{modelValue:q.value,"onUpdate:modelValue":t[0]||(t[0]=e=>q.value=e)},{default:s(()=>[_((a(),r("a",Yc,[M(w(Ic),{text:w(d)("IP Address"),xs:w(d)("IP")},null,8,["text","xs"])])),[[n,{role:"button"}]]),_((a(),r("a",Gc,[x(b(w(d)("Country")),1)])),[[n,{role:"button"}]]),_((a(),r("a",Kc,[M(w(Ic),{text:w(d)("Custom Pattern"),xs:w(d)("Pattern")},null,8,["text","xs"])])),[[n,{role:"button"}]])]),_:1},8,["modelValue"])])])])]),v("div",Zc,[M(w(Hc),null,{default:s(()=>["ip-address"===q.value?(a(),r("div",Qc,[v("table",Xc,[v("tr",null,[v("th",Jc,[M(w(Ic),{text:w(d)("IP Address to Block"),xs:w(d)("IP")},null,8,["text","xs"])]),v("td",ed,[_(v("input",{id:"wf-block-ip",type:"text",placeholder:w(d)("Enter an IP address"),"onUpdate:modelValue":t[1]||(t[1]=e=>W.ipToBlock=e)},null,8,td),[[V,W.ipToBlock]])])]),v("tr",null,[v("th",nd,[M(w(Ic),{text:w(d)("Block Reason"),xs:w(d)("Reason")},null,8,["text","xs"]),t[13]||(t[13]=v("span",{class:"wf-red-dark"},"*",-1))]),v("td",ad,[_(v("input",{id:"wf-block-reason",type:"text",placeholder:w(d)("Enter a reason"),maxlength:"50","onUpdate:modelValue":t[2]||(t[2]=e=>W.blockReason=e)},null,8,ld),[[V,W.blockReason]])])])])])):i("",!0)]),_:1}),M(w(Hc),null,{default:s(()=>["country"===q.value?(a(),r("div",od,[v("table",sd,[w(O)?(a(),r(m,{key:0},[v("tr",null,[v("th",rd,[M(w(Ic),{text:w(d)("What to Block"),xs:w(d)("Block")},null,8,["text","xs"])]),v("td",id,[v("div",ud,[v("ul",cd,[_((a(),r("li",{class:k(["wf-option-checkbox",{"wf-checked":W.countryBlockLoginForm}]),tabindex:"0",onClick:t[3]||(t[3]=$(e=>W.countryBlockLoginForm=!W.countryBlockLoginForm,["stop","prevent"])),onKeydown:t[4]||(t[4]=E($(e=>W.countryBlockLoginForm=!W.countryBlockLoginForm,["stop","prevent"]),["space"]))},[_(v("i",dd,null,512),[[n,{hidden:!0}]])],34)),[[n,{role:"checkbox",checked:W.countryBlockLoginForm,labelledby:"wf-country-block-login-form-label"}]]),v("li",pd,b(w(d)("Login Form")),1)]),v("ul",fd,[_((a(),r("li",{class:k(["wf-option-checkbox",{"wf-checked":W.countryBlockRestOfSite}]),tabindex:"0",onClick:t[5]||(t[5]=$(e=>W.countryBlockRestOfSite=!W.countryBlockRestOfSite,["stop","prevent"])),onKeydown:t[6]||(t[6]=E($(e=>W.countryBlockRestOfSite=!W.countryBlockRestOfSite,["stop","prevent"]),["space"]))},[_(v("i",hd,null,512),[[n,{hidden:!0}]])],34)),[[n,{role:"checkbox",checked:W.countryBlockRestOfSite,labelledby:"wf-country-block-rest-of-site-label"}]]),v("li",md,[M(w(Ic),{text:w(d)("Block access to the rest of the site"),xs:w(d)("Rest of site")},null,8,["text","xs"])])])])])]),v("tr",null,[t[14]||(t[14]=v("th",{class:"wf-right wf-padding-add-right wf-padding-add-top-small"},null,-1)),v("td",gd,[v("em",null,[x(b(w(d)("If you use country blocking to block countries from accessing the entire site, it is important to review the allowed services setting to ensure that search engines and other desired services may continue to see the site regardless of a crawler's location. Additionally, ad services like Google Ads may penalize listings when a country is blocked from the entire site."))+" ",1),v("a",{href:w(y).support.url.firewall_blocking_full_site,target:"_blank",rel:"noopener noreferrer"},[x(b(w(d)("Learn More")),1),M(w(Bi))],8,wd)])])]),v("tr",null,[v("th",vd,[M(w(Ic),{text:w(d)("Countries to Block"),xs:w(d)("Countries")},null,8,["text","xs"]),t[15]||(t[15]=v("br",null,null,-1)),_((a(),r("a",{href:"#",id:"wf-block-country-countries-popup",onClick:$(ae,["stop","prevent"])},[M(w(Ic),{text:w(d)("Pick from List"),xs:w(d)("Pick")},null,8,["text","xs"])])),[[n,{role:"button"}]])]),v("td",bd,[M(w(ic),{modelValue:W.countriesToBlock,"onUpdate:modelValue":t[7]||(t[7]=e=>W.countriesToBlock=e),mode:"tags","close-on-select":!1,searchable:!0,options:Object.entries(w(y).countries).map(([e,t])=>({value:e,label:t})),placeholder:w(d)("Hit enter to add")},{tag:s(({option:e,handleTagRemove:l,disabled:o})=>[K.value.get(e.value)<G.value?(a(),r("span",{key:0,class:k(["multiselect-tag",{"is-disabled":o}])},[x(b(e.label)+" ",1),o?i("",!0):(a(),r("span",{key:0,class:"multiselect-tag-remove",onClick:t=>l(e,t)},[...t[16]||(t[16]=[v("span",{class:"multiselect-tag-remove-icon"},null,-1)])],8,yd))],2)):Y.value||10!==K.value.get(e.value)?_((a(),r("span",xd,null,512)),[[F,!1]]):_((a(),r("span",{key:1,class:"multiselect-tag multiselect-tag--more",tabindex:"0",onClick:$(Q,["stop","prevent"]),onKeydown:[E($(Q,["stop","prevent"]),["enter"]),E($(Q,["stop","prevent"]),["space"])]},[x(b(w(p)(w(d)("+%d more"),Z.value))+" ",1),_((a(),r("span",_d,[...t[17]||(t[17]=[v("span",{class:"wf-ion-ios-arrow-right multiselect-tag-more-icon"},null,-1)])])),[[n,{hidden:!0}]])],40,kd)),[[n,{role:"button"}]])]),_:1},8,["modelValue","options","placeholder"])])]),t[18]||(t[18]=v("tr",null,[v("th",{class:"wf-right wf-padding-add-right wf-padding-add-top-small"}),v("td",{class:"wf-option-text wf-padding-add-top-small"},[v("div",{id:"wf-block-country-countries-tags"})])],-1))],64)):(a(),r("tr",Sd,[v("td",Td,[v("ul",Cd,[v("li",null,[v("h3",null,b(w(d)("Put Geographic Protection In Place With Country Blocking")),1)]),v("li",null,[v("p",Md,b(w(d)("Wordfence country blocking is designed to stop an attack, prevent content theft, or end malicious activity that originates from a geographic region in less than 1/300,000th of a second. Blocking countries who are regularly creating failed logins, a large number of page not found errors, and are clearly engaged in malicious activity is an effective way to protect your site during an attack.")),1)]),v("li",null,[M(w(Bc))]),v("li",null,[v("a",Ld,[x(b(w(d)("Upgrade to Premium")),1),M(w(Bi))])])])])]))])])):i("",!0)]),_:1}),M(w(Hc),null,{default:s(()=>["custom-pattern"===q.value?(a(),r("div",Ad,[v("table",Dd,[v("tr",null,[v("th",Pd,[M(w(Ic),{text:w(d)("IP Address Range"),xs:w(d)("IP Range")},null,8,["text","xs"])]),v("td",Od,[_(v("input",{id:"wf-block-ip-range",type:"text",placeholder:w(d)("e.g., 192.168.200.200 - 192.168.200.220 or 192.168.200.0/24"),"onUpdate:modelValue":t[8]||(t[8]=e=>W.ipRangeToBlock=e)},null,8,$d),[[V,W.ipRangeToBlock]])])]),v("tr",null,[v("th",Id,b(w(d)("Hostname")),1),v("td",Ed,[_(v("input",{id:"wf-block-hostname",type:"text",placeholder:w(d)("e.g., *.amazonaws.com or *.linode.com"),"onUpdate:modelValue":t[9]||(t[9]=e=>W.hostnameToBlock=e)},null,8,Rd),[[V,W.hostnameToBlock]])])]),v("tr",null,[v("th",Nd,[M(w(Ic),{text:w(d)("Browser User Agent"),xs:w(d)("User Agent")},null,8,["text","xs"])]),v("td",Bd,[_(v("input",{id:"wf-block-user-agent",type:"text",placeholder:w(d)("e.g., *badRobot*, *MSIE*, or *browserSuffix"),"onUpdate:modelValue":t[10]||(t[10]=e=>W.uaToBlock=e)},null,8,Vd),[[V,W.uaToBlock]])])]),v("tr",null,[v("th",Fd,b(w(d)("Referrer")),1),v("td",Hd,[_(v("input",{id:"wf-block-referrer",type:"text",placeholder:w(d)("e.g., *badwebsite.example.com*"),"onUpdate:modelValue":t[11]||(t[11]=e=>W.referrerToBlock=e)},null,8,Ud),[[V,W.referrerToBlock]])])]),v("tr",null,[v("th",qd,[M(w(Ic),{text:w(d)("Block Reason"),xs:w(d)("Reason")},null,8,["text","xs"]),t[19]||(t[19]=v("span",{class:"wf-red-dark"},"*",-1))]),v("td",jd,[_(v("input",{id:"wf-block-reason",type:"text",placeholder:w(d)("Enter a reason"),maxlength:"50","onUpdate:modelValue":t[12]||(t[12]=e=>W.blockReason=e)},null,8,Wd),[[V,W.blockReason]])])])])])):i("",!0)]),_:1})])]),M(w(Hc),null,{default:s(()=>[le.value?(a(),r("li",zd,[v("div",Yd,[_((a(),r("a",{id:"wf-block-add-cancel",class:"wf-btn wf-btn-default wf-btn-callout-subtle",href:"#",onClick:$(te,["stop","prevent"])},[x(b(w(d)("Cancel")),1)])),[[n,{role:"button"}]]),t[20]||(t[20]=x("    ",-1)),v("a",{id:"wf-block-add-save",class:k(["wf-btn wf-btn-primary wf-btn-callout-subtle",{"wf-disabled":!J.value}]),href:"#",onClick:$(ne,["stop","prevent"])},[M(w(Ic),{text:ee.value,xs:w(d)("Block")},null,8,["text","xs"])],2)])])):i("",!0)]),_:1})])}}};function Kd(e,a,l=()=>{},o={},s="change"){const r=u("$mitt"),{$isPaid:i}=Fc(),{$hasOwn:c,$structuredClone:d}=ai(),p=t("object"==typeof w(a)?d(w(a)):w(a));f(a,e=>{h.value=!0,p.value="object"==typeof w(e)?d(w(e)):w(e),P(()=>{h.value=!1})},{deep:!0}),f(p,(t,n)=>{h.value||l(s,{old:n,new:t,name:e})},{deep:!0});const h=t(!1);T(()=>{r.on("resetOptionControls",m),r.on("pendingOptionChanged",g)}),D(()=>{r.off("resetOptionControls",m),r.off("pendingOptionChanged",g)});const m=()=>{h.value=!0,p.value="object"==typeof w(a)?d(w(a)):w(a),P(()=>{h.value=!1})},g=t=>{t.name===w(e)&&(h.value=!0,p.value=w(t.value),P(()=>{h.value=!1}))},v=n(()=>"wf-option-"+w(e).replace(/[^a-z0-9]/gi,"-")),b=n(()=>`${v.value}-label`),y=n(()=>{let e=[];return e.push("wf-option"),c(o,"always")&&e.push(...w(o.always)),c(o,"noVerticalSpacing")&&w(o.noVerticalSpacing)&&e.push("wf-option-no-spacing"),!i&&c(o,"premium")&&w(o.premium)&&e.push("wf-option-premium"),c(o,"disabled")&&w(o.disabled)&&e.push("wf-disabled"),c(o,"child")&&w(o.child)&&e.push("wf-child-option"),e});return{$elementID:v,$elementIDLabel:b,$elementClasses:y,$pendingValue:p}}function Zd(e,t=!1){const n=u("$"),a=u("$mitt"),l=u("stateKey",t),o=t=>{for(const o in e){const s=w(e[o]);t!==w(o)||(w(l)?a.emit("expandDisclosureBlock",{key:w(l),scrollTo:"#"+s}):n("#"+s).length&&n("html, body").animate({scrollTop:n("#"+s).offset().top-100},1e3))}};T(()=>{a.on("scrollToOption",o)}),D(()=>{a.off("scrollToOption",o)})}const Qd=["id","data-option","data-enabled-value","data-disabled-value","data-original-value"],Xd=["onKeydown"],Jd={key:0,class:"wf-option-title"},ep={class:"wf-flex-vertical wf-flex-align-left"},tp=["id"],np={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},ap=["href"],lp={class:"wf-fa wf-fa-question-circle-o"},op={key:1,class:"wf-option-title"},sp=["id"],rp={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},ip=["href"],up={class:"wf-fa wf-fa-question-circle-o"},cp={__name:"OptionToggledBooleanSwitch",props:{optionName:{type:String,required:!0},value:{default:null},enabledValue:{default:null},disabledValue:{default:null},title:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{$isPaid:n}=Fc(),{$maybeToggleControl:l}=li(),o=t,s=N(),d=u("__"),p=e,{optionName:f,value:m,enabledValue:g,disabledValue:y,premium:S,disabled:T,noVerticalSpacing:C}=c(p),{$elementID:L,$elementIDLabel:A,$elementClasses:D,$pendingValue:P}=Kd(f,m,o,{always:["wf-option-toggled-boolean-switch"],premium:S,disabled:T,noVerticalSpacing:C});Zd({[p.optionName]:L});const O=()=>{!n&&S.value||T.value||(P.value===g.value?P.value=y.value:P.value=g.value)};return(t,n)=>{const o=h("aria");return a(),r("ul",{id:w(L),class:k(w(D)),"data-option":w(f),"data-enabled-value":JSON.stringify(w(g)),"data-disabled-value":JSON.stringify(w(y)),"data-original-value":w(m)==w(g)?JSON.stringify(w(g)):JSON.stringify(w(y))},[_((a(),r("li",{class:k({"wf-boolean-switch":!0,"wf-active":w(P)==w(g)}),tabindex:"0",onClick:$(O,["stop","prevent"]),onKeydown:E($(O,["stop","prevent"]),["space"])},[...n[3]||(n[3]=[v("a",{href:"#",class:"wf-boolean-switch-handle"},null,-1)])],42,Xd)),[[o,{role:"checkbox",checked:w(P)==w(g),labelledby:w(A)}]]),e.subtitle||w(s).subtitle?(a(),r("li",Jd,[v("ul",ep,[v("li",null,[v("span",{id:w(A),class:"wf-option-extended-toggle",onClick:n[0]||(n[0]=e=>w(l)(e,O))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,tp),w(S)?(a(),r("a",np,b(w(d)("Premium Feature")),1)):i("",!0),n[4]||(n[4]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",lp,null,512),[[o,{hidden:!0}]]),M(w(Bi))],8,ap)):i("",!0)]),v("li",{class:"wf-option-subtitle wf-option-extended-toggle",onClick:n[1]||(n[1]=e=>w(l)(e,O))},[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])])):(a(),r("li",op,[v("span",{id:w(A),class:"wf-option-extended-toggle",onClick:n[2]||(n[2]=e=>w(l)(e,O))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,sp),w(S)?(a(),r("a",rp,b(w(d)("Premium Feature")),1)):i("",!0),n[5]||(n[5]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",up,null,512),[[o,{hidden:!0}]]),M(w(Bi))],8,ip)):i("",!0)]))],10,Qd)}}},dp=["data-column"],pp={class:"wf-sorted-ascending wf-ion-android-arrow-dropup"},fp={class:"wf-sorted-descending wf-ion-android-arrow-dropdown"},hp={__name:"SortableColumn",props:{column:{type:String},direction:{type:Number,default:0}},emits:["changeSort"],setup(e,{emit:t}){const n=t;return(t,l)=>{const o=h("aria");return a(),r("th",{"data-column":e.column,class:k(["wf-sortable",{"wf-unsorted":0===e.direction,"wf-sorted-ascending":e.direction<0,"wf-sorted-descending":e.direction>0}]),onClick:l[0]||(l[0]=$(t=>n("changeSort",{column:e.column,direction:e.direction<=0?1:-1}),["stop","prevent"]))},[I(t.$slots,"default"),l[1]||(l[1]=x(" ",-1)),_(v("i",pp,null,512),[[o,{hidden:!0}]]),_(v("i",fp,null,512),[[o,{hidden:!0}]])],10,dp)}}},mp={__name:"IndeterminateProgress",props:{size:{type:Number,default:100,required:!1}},setup:e=>(t,n)=>(a(),r("svg",{class:"wf-indeterminate-progress",viewBox:"0 0 100 100",style:H({width:e.size+"px",height:e.size+"px"})},[...n[0]||(n[0]=[U('<path d="M23.057,68.244c-0.094,-0.003 -0.188,-0.004 -0.282,-0.004c-4.751,0 -8.66,3.909 -8.66,8.659c0,4.751 3.909,8.66 8.66,8.66c0.094,0 0.188,-0.002 0.282,-0.005c2.294,0.029 4.503,-0.885 6.105,-2.527c1.634,-1.621 2.554,-3.83 2.554,-6.132c0,-2.302 -0.92,-4.511 -2.554,-6.133c-1.604,-1.639 -3.812,-2.549 -6.105,-2.518l0,0Z" style="fill-rule:nonzero;"></path><path d="M21.139,50.012c0.041,-2.559 -0.986,-5.023 -2.831,-6.797c-1.773,-1.84 -4.233,-2.862 -6.788,-2.822c-2.558,-0.043 -5.021,0.98 -6.796,2.822c-1.807,1.798 -2.824,4.244 -2.824,6.792c0,2.549 1.017,4.995 2.824,6.793c1.775,1.842 4.238,2.865 6.796,2.822c2.555,0.04 5.015,-0.983 6.788,-2.822c1.843,-1.772 2.869,-4.232 2.831,-6.788l0,0Z" style="fill-rule:nonzero;"></path><path d="M76.915,27.888c2.643,-0.005 4.814,-2.181 4.814,-4.823c0,-0.003 0,-0.007 0,-0.01c0,-0.006 0,-0.013 0,-0.02c0,-2.641 -2.173,-4.814 -4.814,-4.814c-2.641,0 -4.814,2.173 -4.814,4.814c0,1.281 0.512,2.511 1.42,3.414c0.887,0.92 2.117,1.431 3.394,1.411l0,0.028Z" style="fill-rule:nonzero;"></path><path d="M23.057,12.505c-2.816,-0.047 -5.529,1.076 -7.488,3.099c-2.015,1.949 -3.134,4.649 -3.09,7.451c-0.049,2.815 1.07,5.528 3.09,7.489c1.96,2.022 4.673,3.144 7.488,3.099c0.003,0 0.006,0 0.01,0c5.797,0 10.568,-4.771 10.568,-10.569c0,-0.006 0,-0.012 0,-0.019c0.052,-2.812 -1.068,-5.523 -3.089,-7.479c-1.958,-2.02 -4.667,-3.143 -7.479,-3.098l-0.01,0.027Z" style="fill-rule:nonzero;"></path><path d="M92.547,45.927c-1.091,-1.104 -2.58,-1.726 -4.132,-1.726c-3.187,0 -5.81,2.623 -5.81,5.81c0,3.188 2.623,5.81 5.81,5.81c3.187,0 5.81,-2.622 5.81,-5.809c0.032,-1.535 -0.576,-3.016 -1.678,-4.085Z" style="fill-rule:nonzero;"></path><path d="M76.915,70.209c-0.012,0 -0.025,0 -0.037,0c-3.714,0 -6.769,3.055 -6.769,6.769c0,3.713 3.055,6.769 6.769,6.769c3.713,0 6.769,-3.056 6.769,-6.769c0,-1.795 -0.714,-3.518 -1.983,-4.787c-1.239,-1.29 -2.96,-2.008 -4.749,-1.982l0,0Z" style="fill-rule:nonzero;"></path><path d="M49.995,80.786c-0.002,0 -0.005,0 -0.007,0c-4.225,0 -7.701,3.477 -7.701,7.701c0,4.224 3.476,7.701 7.701,7.701c4.224,0 7.7,-3.477 7.7,-7.701c0,-2.062 -0.828,-4.04 -2.298,-5.487c-1.423,-1.471 -3.394,-2.289 -5.441,-2.26l0.046,0.046Z" style="fill-rule:nonzero;"></path><path d="M49.995,0c-3.073,-0.055 -6.035,1.164 -8.18,3.366c-2.202,2.144 -3.421,5.107 -3.366,8.18c-0.053,3.07 1.166,6.029 3.366,8.171c4.499,4.454 11.852,4.454 16.351,0c2.201,-2.142 3.42,-5.101 3.366,-8.171c0.053,-3.074 -1.17,-6.037 -3.375,-8.18c-2.14,-2.197 -5.095,-3.416 -8.162,-3.366l0,0Z" style="fill-rule:nonzero;"></path>',8)])],4))};var gp,wp,vp={exports:{}};const bp=/* @__PURE__ */Ae((gp||(gp=1,wp=vp,function(){var e={de_DE:{identifier:"de-DE",days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d.%m.%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},en_CA:{identifier:"en-CA",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ordinalSuffixes:["st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}},en_US:{identifier:"en-US",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ordinalSuffixes:["st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%m/%d/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}},es_MX:{identifier:"es-MX",days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom","lun","mar","mié","jue","vie","sáb"],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortMonths:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},fr_FR:{identifier:"fr-FR",days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},it_IT:{identifier:"it-IT",days:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],shortDays:["dom","lun","mar","mer","gio","ven","sab"],months:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortMonths:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},nl_NL:{identifier:"nl-NL",days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},pt_BR:{identifier:"pt-BR",days:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],shortDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},ru_RU:{identifier:"ru-RU",days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],shortDays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],shortMonths:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X",D:"%d.%m.%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},tr_TR:{identifier:"tr-TR",days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],shortDays:["Paz","Pzt","Sal","Çrş","Prş","Cum","Cts"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],shortMonths:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],AM:"ÖÖ",PM:"ÖS",am:"ÖÖ",pm:"ÖS",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},zh_CN:{identifier:"zh-CN",days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],shortDays:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortMonths:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],AM:"上午",PM:"下午",am:"上午",pm:"下午",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}}},t=e.en_US,n=new function n(d,p,f){var h,m=d||t,g=p||0,w=f||!1,v=0;function b(e,t,n,i){for(var d="",p=null,f=!1,h=e.length,m=!1,v=0;v<h;v++){var y=e.charCodeAt(v);if(!0!==f)37!==y?d+=e[v]:f=!0;else{if(45===y){p="";continue}if(95===y){p=" ";continue}if(48===y){p="0";continue}if(58===y){m&&c(),m=!0;continue}switch(y){case 37:d+="%";break;case 65:d+=n.days[t.getDay()];break;case 66:d+=n.months[t.getMonth()];break;case 67:d+=a(Math.floor(t.getFullYear()/100),p);break;case 68:d+=b(n.formats.D,t,n,i);break;case 70:d+=b(n.formats.F,t,n,i);break;case 72:d+=a(t.getHours(),p);break;case 73:d+=a(o(t.getHours()),p);break;case 76:d+=l(Math.floor(i%1e3));break;case 77:d+=a(t.getMinutes(),p);break;case 80:d+=t.getHours()<12?n.am:n.pm;break;case 82:d+=b(n.formats.R,t,n,i);break;case 83:d+=a(t.getSeconds(),p);break;case 84:d+=b(n.formats.T,t,n,i);break;case 85:d+=a(s(t,"sunday"),p);break;case 87:d+=a(s(t,"monday"),p);break;case 88:d+=b(n.formats.X,t,n,i);break;case 89:d+=t.getFullYear();break;case 90:d+=w&&0===g?"GMT":u(t)||"";break;case 97:d+=n.shortDays[t.getDay()];break;case 98:case 104:d+=n.shortMonths[t.getMonth()];break;case 99:d+=b(n.formats.c,t,n,i);break;case 100:d+=a(t.getDate(),p);break;case 101:d+=a(t.getDate(),null==p?" ":p);break;case 106:var k=new Date(t.getFullYear(),0,1);d+=l(_=Math.ceil((t.getTime()-k.getTime())/864e5));break;case 107:d+=a(t.getHours(),null==p?" ":p);break;case 108:d+=a(o(t.getHours()),null==p?" ":p);break;case 109:d+=a(t.getMonth()+1,p);break;case 110:d+="\n";break;case 111:var _=t.getDate();n.ordinalSuffixes?d+=String(_)+(n.ordinalSuffixes[_-1]||r(_)):d+=String(_)+r(_);break;case 112:d+=t.getHours()<12?n.AM:n.PM;break;case 114:d+=b(n.formats.r,t,n,i);break;case 115:d+=Math.floor(i/1e3);break;case 116:d+="\t";break;case 117:d+=0===(_=t.getDay())?7:_;break;case 118:d+=b(n.formats.v,t,n,i);break;case 119:d+=t.getDay();break;case 120:d+=b(n.formats.x,t,n,i);break;case 121:d+=a(t.getFullYear()%100,p);break;case 122:if(w&&0===g)d+=m?"+00:00":"+0000";else{var x,S=(x=0!==g?g/6e4:-t.getTimezoneOffset())<0?"-":"+",T=m?":":"",C=Math.floor(Math.abs(x/60)),M=Math.abs(x%60);d+=S+a(C)+T+a(M)}break;default:f&&(d+="%"),d+=e[v]}p=null,f=!1}}return d}var y=function(e,t){var n;if(t){if(n=t.getTime(),w){var a=i(t);if(i(t=new Date(n+a+g))!==a){var l=i(t);t=new Date(n+l+g)}}}else{var o=Date.now();o>v?(v=o,h=new Date(v),n=v,w&&(h=new Date(v+i(h)+g))):n=v,t=h}return b(e,t,m,n)};return y.localize=function(e){return new n(e||m,g,w)},y.localizeByIdentifier=function(t){var n=e[t];return n?y.localize(n):(c(),y)},y.timezone=function(e){var t=g,a=w,l=typeof e;return"number"!==l&&"string"!==l||(a=!0,"string"===l?t=("-"===e[0]?-1:1)*(60*parseInt(e.slice(1,3),10)+parseInt(e.slice(3,5),10))*60*1e3:"number"===l&&(t=60*e*1e3)),new n(m,t,a)},y.utc=function(){return new n(m,g,!0)},y}(t,0,!1);function a(e,t){return""===t||e>9?""+e:(null==t&&(t="0"),t+e)}function l(e){return e>99?e:e>9?"0"+e:"00"+e}function o(e){return 0===e?12:e>12?e-12:e}function s(e,t){t=t||"sunday";var n=e.getDay();"monday"===t&&(0===n?n=6:n--);var a=Date.UTC(e.getFullYear(),0,1),l=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),o=(Math.floor((l-a)/864e5)+7-n)/7;return Math.floor(o)}function r(e){var t=e%10,n=e%100;if(n>=11&&n<=13||0===t||t>=4)return"th";switch(t){case 1:return"st";case 2:return"nd";case 3:return"rd"}}function i(e){return 6e4*(e.getTimezoneOffset()||0)}function u(e,t){return function(e){var t=e.toString().match(/\(([\w\s]+)\)/);return t&&t[1]}(e)}function c(e){"undefined"!=typeof console&&console.warn}wp.exports=n,"function"!=typeof Date.now&&(Date.now=function(){return+/* @__PURE__ */new Date})}()),vp.exports)),yp={key:0,class:"wf-localized-time"},kp={__name:"LocalizedTime",props:{timestamp:{type:Number,default:0},dateFormat:{type:String,default:"%b %-d, %Y %-I:%M %p"}},setup(e){const t=e,{timestamp:l,dateFormat:o}=c(t),s=n(()=>{const e=new Date(1e3*l.value);return bp(o.value,e)});return(e,t)=>w(l)>0?(a(),r("span",yp,b(s.value),1)):i("",!0)}},_p={class:"wf-section-title wf-section-title-with-subtitle wf-add-bottom-xs"},xp={class:"wf-center-xs wf-flex-horizontal",id:"wf-section-blocking"},Sp=["href","title"],Tp={class:"wf-fa wf-fa-gear wf-add-right-small wf-text-larger"},Cp={class:"wf-section-subtitle wf-hidden-xs"},Mp=["href"],Lp={class:"wf-col-xs-12"},Ap={class:"wf-block wf-always-active"},Dp={class:"wf-block-content"},Pp={class:"wf-row"},Op={class:"wf-col-xs-12"},$p={class:"wf-row"},Ip={class:"wf-col-xs-12"},Ep={class:"wf-block wf-block-no-header wf-active"},Rp={key:0,class:"wf-block-banner"},Np={class:"wf-block-content wf-padding-add-top-large wf-padding-add-bottom-large"},Bp={id:"wf-block-list-controls",class:"wf-flex-horizontal wf-flex-vertical-xs wf-flex-full-width wf-flex-grow-all wf-no-top wf-flex-align-left"},Vp={class:"wf-padding-add-bottom-xs"},Fp={class:"wf-flex-horizontal wf-flex-full-width wf-flex-grow-first wf-no-top"},Hp=["placeholder","onKeydown"],Up={class:"wf-padding-add-left-medium"},qp=["href"],jp={class:"wf-fa wf-fa-question-circle-o"},Wp={class:"wf-right wf-center-xs"},zp={class:"wf-fa wf-fa-trash"},Yp=["href"],Gp={class:"wf-fa wf-fa-download"},Kp={class:"wf-block wf-block-no-padding wf-block-no-header wf-active wf-no-bottom"},Zp={class:"wf-block-content"},Qp={id:"wf-blocks-wrapper"},Xp={class:"wf-blocks-table-container"},Jp={class:"wf-striped-table wf-blocks-table"},ef={class:"wf-blocks-columns"},tf={style:{width:"2%"},class:"wf-center"},nf={class:"wf-ion-ios-checkmark-empty"},af={key:0,id:"wf-blocks-loading"},lf={colspan:"8",class:"wf-center wf-padding-add-top wf-padding-add-bottom"},of={key:1,id:"wf-no-blocks"},sf={key:0,colspan:"8"},rf={key:1,colspan:"8"},uf={class:"wf-center"},cf=["onClick"],df={class:"wf-ion-ios-checkmark-empty"},pf=["data-sort"],ff=["data-sort"],hf=["data-edit-type","data-edit-values","onClick"],mf={class:"wf-ion-edit"},gf=["data-sort"],wf=["data-sort"],vf=["data-sort"],bf=["data-sort"],yf=["data-sort"],kf={key:2},_f={colspan:"8",class:"wf-center"},xf={key:0,class:"wf-blocks-columns"},Sf={style:{width:"2%","text-align":"center"}},Tf={class:"wf-ion-ios-checkmark-empty"},Cf={__name:"Blocking",setup(o){const{$ajax:c}=yi(),{$modal:p}=Ii(),{$parameterByName:f}=li(),{$setOption:y}=Ei(),{$hasOwn:S}=ai(),{$addQueryArg:C}=Ri(),L=u("__"),A=u("$mitt"),O=u("wfconstants"),I=u("$dataStore"),R=t(!0),N=t(!1),B=t(!1),H=t(null),U=t("ruleAdded"),q=t("descending"),j=t(""),W=t(""),z=e([]);T(()=>{de=new IntersectionObserver(ge,{root:null,rootMargin:"0px 0px 200px 0px"}),Y.value&&(R.value=!0),P(ve)}),D(()=>{de?.disconnect(),de=null});const Y=n(()=>!!f("wfBlockRange")),G=n(()=>W.value?!W.value||j.value&&W.value!==j.value?L("Change Filter"):L("Clear Filter"):L("Filter")),K=()=>{!W.value||j.value&&W.value!==j.value?W.value=j.value:W.value="",ve()},Z=()=>{y("firewallEnabled",!0,()=>{window.location.reload(!0)})},Q=e=>{I.blocking.hasCountryBlock=e.hasCountryBlock??!1,I.blocking.blocks.splice(0,I.blocking.blocks.length),ue.value=e.blocks.length>=ie,be(e.blocks),P(()=>{me(),he()})},X=e=>{y("displayAutomaticBlocks",e.new,()=>{I.$options.displayAutomaticBlocks=e.new,ve()})},J=()=>{z.length&&p("bulk-unblock-modal",{count:z.length,onClosed:()=>{B.value=!0,c("wordfence_deleteBlocks",{blocks:JSON.stringify(z),sortColumn:U.value,sortDirection:q.value,blocksFilter:W.value},e=>{if(B.value=!1,z.length===I.blocking.blocks.length)ve();else{const e=I.blocking.blocks.filter(e=>!z.includes(e.id));I.blocking.blocks.splice(0,I.blocking.blocks.length,...e),P(()=>{me(),he()})}z.splice(0,z.length)})}})},ee=()=>{z.length&&(B.value=!0,c("wordfence_makePermanentBlocks",{updates:JSON.stringify(z),sortColumn:U.value,sortDirection:q.value,blocksFilter:W.value},e=>{B.value=!1,e.success&&(z.splice(0,z.length),I.blocking.hasCountryBlock=e.hasCountryBlock,I.blocking.blocks.splice(0,I.blocking.blocks.length),ue.value=e.blocks.length>=ie,be(e.blocks),P(()=>{me(),he()}))}))},te=n(()=>C(O.plugin.url.export_blocked_ips,{nonce:I.$wordfence.nonce["wp-ajax"]})),ne=n(()=>I.blocking.blocks.map(e=>z.includes(e.id)?e.id:null).filter(e=>null!==e).length===I.blocking.blocks.length),ae=()=>{if(ne.value)z.splice(0,z.length);else{const e=I.blocking.blocks.map(e=>z.includes(e.id)?null:e.id).filter(e=>null!==e);z.push(...e)}},le=e=>{U.value=e.column,q.value=e.direction>0?"descending":e.direction<0?"ascending":"",ve()},oe=n(()=>!!z.length),se=n(()=>!!z.length&&I.blocking.blocks.some(e=>z.includes(e.id)&&e.expiration>0)),re=n(()=>!!I.blocking.blocks.length),ie=O.blocking.limit.per_page,ue=t(!0),ce=t(null);let de=null;const pe=d("createBlockPanel"),fe=(e=null)=>{if(B.value||N.value||!ue.value||0===I.blocking.blocks.length)return;const t=I.blocking.blocks.length;ye(n=>{const a=n?.blocks?.length??0,l=I.blocking.blocks.length-t;ue.value=a>=ie,a>0&&l<=0&&(ue.value=!1),P(me),"function"==typeof e&&e(n,l)})},he=()=>{ce.value&&ce.value.getBoundingClientRect().top<=window.innerHeight+200&&fe((e,t)=>{t>0&&P(he)})},me=()=>{de&&(de.disconnect(),ce.value&&de.observe(ce.value))},ge=e=>{e.some(e=>e.isIntersecting)&&fe()},we=(e,t)=>{const n={sortColumn:U.value,sortDirection:q.value,blocksFilter:W.value,offset:0};let a={};for(const l in n)a[l]=e&&"object"==typeof e&&S(e,l)?e[l]:n[l];B.value=!0,c("wordfence_getBlocks",a,e=>{B.value=!1,t&&t(e)})},ve=e=>{N.value=!0,ue.value=!0,z.splice(0,z.length),I.blocking.blocks.splice(0,I.blocking.blocks.length),we(e,e=>{I.blocking.hasCountryBlock=e.hasCountryBlock,ue.value=e.blocks.length>=ie,be(e.blocks),N.value=!1,P(()=>{me(),he()})})},be=e=>{const t=I.blocking.blocks.map(e=>e.id),n=e.filter(e=>!t.includes(e.id));n.length&&I.blocking.blocks.push(...n),H.value=I.blocking.hasCountryBlock},ye=e=>{we({offset:I.blocking.blocks.length},t=>{I.blocking.hasCountryBlock=t.hasCountryBlock,be(t.blocks),"function"==typeof e&&e(t)})},ke=e=>{const t=e.reasonDisplay.split(/\s+/);for(const n of t)if(n.length>=50)return!0;return!1};return(e,t)=>{const n=h("aria");return a(),r(m,null,[v("div",_p,[v("h2",xp,b(w(L)("Blocking")),1),v("a",{href:w(O).options.url._group_blocking,class:"wf-btn wf-btn-default wf-btn-callout-subtle wf-btn-flex",title:w(L)("Manage global blocking options.")},[_(v("i",Tp,null,512),[[n,{hidden:!0}]]),M(w(Ic),{text:w(L)("Blocking Options"),xs:w(L)("Options")},null,8,["text","xs"])],8,Sp)]),v("div",Cp,[v("a",{href:w(O).support.url.firewall_blocking,target:"_blank",rel:"noopener noreferrer",class:"wf-help-link"},[M(w(Ic),{text:w(L)("Learn more about Blocking"),xs:w(L)("Learn More")},null,8,["text","xs"]),M(w(Bi))],8,Mp),t[1]||(t[1]=x()),t[2]||(t[2]=v("i",{class:"wf-fa wf-fa-external-link","aria-hidden":"true"},null,-1))]),M(w(Hc),null,{default:s(()=>[_(v("div",{ref_key:"createBlockPanel",ref:pe,class:"wf-row"},[v("div",Lp,[v("div",Ap,[v("div",Dp,[M(w(Gd),{onBlockCreated:Q,sorting:{sortColumn:U.value,sortDirection:q.value,blocksFilter:W.value},existingCountryBlock:H.value},null,8,["sorting","existingCountryBlock"])])])])],512),[[F,R.value]])]),_:1}),v("div",Pp,[v("div",Op,[v("div",$p,[v("div",Ip,[v("div",Ep,[w(I).$options.firewallEnabled?i("",!0):(a(),r("ul",Rp,[v("li",null,[v("strong",null,b(w(L)("Note"))+":",1),x(" "+b(w(L)('Blocking is disabled when the option "Enable Rate Limiting and Advanced Blocking" is off.')),1)]),v("li",null,[_((a(),r("a",{href:"#",class:"wf-btn wf-btn-default",id:"wf-blocking-enable",onClick:$(Z,["stop","prevent"])},[x(b(w(L)("Turn On")),1)])),[[n,{role:"button"}]])])])),v("div",Np,[v("ul",Bp,[v("li",Vp,[v("ul",Fp,[v("li",null,[_(v("input",{type:"text",placeholder:w(L)("Filter by Type, Detail, or Reason"),id:"wf-blocks-filter-field",class:"wf-input-text","onUpdate:modelValue":t[0]||(t[0]=e=>j.value=e),onKeydown:E($(K,["stop","prevent"]),["enter"])},null,40,Hp),[[V,j.value]])]),v("li",Up,[_((a(),r("a",{href:"#",id:"wf-blocks-apply-filter",class:"wf-btn wf-btn-callout wf-btn-default",onClick:$(K,["stop","prevent"])},[x(b(G.value),1)])),[[n,{role:"button"}]]),t[3]||(t[3]=x("  ",-1)),v("a",{href:w(O).support.url.firewall_blocking_filter,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",jp,null,512),[[n,{hidden:!0}]]),M(w(Bi))],8,qp)])]),M(w(cp),{optionName:"displayAutomaticBlocks",enabledValue:!0,disabledValue:!1,value:w(I).$options.displayAutomaticBlocks,onChange:X},{title:s(()=>[M(w(Ic),{text:w(L)("Show Wordfence Automatic Blocks"),xs:w(L)("Show Automatic")},null,8,["text","xs"])]),_:1},8,["value"])]),v("li",Wp,[_((a(),r("a",{href:"#",id:"blocks-bulk-unblock",class:k(["wf-btn wf-btn-callout wf-btn-default",{"wf-disabled":!oe.value}]),onClick:$(J,["stop","prevent"])},[M(w(Ic),{text:w(L)("Unblock")},{xs:s(()=>[_(v("i",zp,null,512),[[n,{hidden:!0}]])]),_:1},8,["text"])],2)),[[n,{role:"button",label:w(L)("Unblock")}]]),t[4]||(t[4]=x("    ",-1)),v("a",{href:"#",id:"blocks-bulk-make-permanent",class:k(["wf-btn wf-btn-callout wf-btn-default",{"wf-disabled":!se.value}]),onClick:$(ee,["stop","prevent"])},b(w(L)("Make Permanent")),3),t[5]||(t[5]=x("    ",-1)),_((a(),r("a",{href:te.value,id:"blocks-export-ips",class:k(["wf-btn wf-btn-callout wf-btn-default",{"wf-disabled":!re.value}])},[M(w(Ic),{text:w(L)("Export All IPs")},{xs:s(()=>[_(v("i",Gp,null,512),[[n,{hidden:!0}]])]),_:1},8,["text"])],10,Yp)),[[n,{label:w(L)("Export")}]])])]),v("div",Kp,[v("div",Zp,[v("div",Qp,[v("div",Xp,[v("table",Jp,[v("thead",null,[v("tr",ef,[v("th",tf,[_((a(),r("div",{class:k(["wf-blocks-bulk-select wf-option-checkbox",{"wf-checked":ne.value}]),onClick:$(ae,["stop","prevent"])},[_(v("i",nf,null,512),[[n,{hidden:!0}]])],2)),[[n,{role:"checkbox",checked:ne.value,tabindex:0}]])]),M(w(hp),{column:"type",direction:"type"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Block Type")),1)]),_:1},8,["direction"]),M(w(hp),{column:"detail",direction:"detail"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Detail")),1)]),_:1},8,["direction"]),M(w(hp),{column:"ruleAdded",direction:"ruleAdded"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Rule Added")),1)]),_:1},8,["direction"]),M(w(hp),{column:"reason",direction:"reason"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Reason")),1)]),_:1},8,["direction"]),M(w(hp),{column:"expiration",direction:"expiration"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Expiration")),1)]),_:1},8,["direction"]),M(w(hp),{column:"blockCount",direction:"blockCount"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Block Count")),1)]),_:1},8,["direction"]),M(w(hp),{column:"lastAttempt",direction:"lastAttempt"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Last Attempt")),1)]),_:1},8,["direction"])])]),v("tbody",null,[N.value?(a(),r("tr",af,[v("td",lf,[M(w(mp),{size:50})])])):0===w(I).blocking.blocks.length?(a(),r("tr",of,[W.value?(a(),r("td",rf,b(w(L)("No blocks match the current filter.")),1)):(a(),r("td",sf,b(w(L)("No blocks are currently active.")),1))])):i("",!0),(a(!0),r(m,null,g(w(I).blocking.blocks,(e,o)=>(a(),r("tr",{key:e.id,class:k(["wf-block-record",o%2==0?"even":"odd"])},[v("td",uf,[_((a(),r("div",{class:k(["wf-blocks-table-bulk-checkbox wf-option-checkbox",{"wf-checked":z.includes(e.id)}]),onClick:$(t=>(e=>{const t=z.findIndex(t=>t===e.id);t>-1?z.splice(t,1):z.push(e.id)})(e),["stop","prevent"])},[_(v("i",df,null,512),[[n,{hidden:!0}]])],10,cf)),[[n,{role:"checkbox",checked:z.includes(e.id),tabindex:0}]])]),v("td",{"data-column":"type","data-sort":e.typeSort},b(e.typeDisplay),9,pf),v("td",{"data-column":"detail","data-sort":e.detailSort},[x(b(e.detailDisplay),1),e.editable?(a(),r(m,{key:0},[t[6]||(t[6]=x(" ",-1)),_((a(),r("a",{href:"#",class:"wf-block-edit","data-edit-type":e.editType,"data-edit-values":e.editValues,onClick:$(t=>(e=>{R.value=!0,P(()=>{pe.value&&pe.value.scrollIntoView({behavior:"smooth",block:"start"}),A.emit("editBlock",{block:e})})})(e),["stop","prevent"])},[_(v("i",mf,null,512),[[n,{hidden:!0}]])],8,hf)),[[n,{role:"button"}]])],64)):i("",!0)],8,ff),v("td",{"data-column":"ruleAdded","data-sort":e.ruleAddedSort},[M(w(kp),{timestamp:e.ruleAdded},null,8,["timestamp"])],8,gf),v("td",{"data-column":"reason","data-sort":e.reasonSort,class:k({"wf-split-word":ke(e)})},b(e.reasonDisplay),11,wf),v("td",{"data-column":"expiration","data-sort":e.expirationSort},[e.expiration?(a(),l(w(kp),{key:1,timestamp:e.expiration},null,8,["timestamp"])):(a(),r(m,{key:0},[x(b(w(L)("Permanent")),1)],64))],8,vf),v("td",{"data-column":"blockCount","data-sort":e.blockCountSort},b(e.blockCountDisplay),9,bf),v("td",{"data-column":"lastAttempt","data-sort":e.lastAttemptSort},[e.lastAttempt?(a(),l(w(kp),{key:1,timestamp:e.lastAttempt},null,8,["timestamp"])):(a(),r(m,{key:0},[x(b(w(L)("Never")),1)],64))],8,yf)],2))),128)),B.value&&!N.value&&w(I).blocking.blocks.length>0?(a(),r("tr",kf,[v("td",_f,[M(w(mp),{size:30})])])):i("",!0)]),v("tfoot",null,[w(I).blocking.blocks.length>5?(a(),r("tr",xf,[v("th",Sf,[_((a(),r("div",{class:k(["wf-blocks-bulk-select wf-option-checkbox",{"wf-checked":ne.value}]),onClick:$(ae,["stop","prevent"])},[_(v("i",Tf,null,512),[[n,{hidden:!0}]])],2)),[[n,{role:"checkbox",checked:ne.value,tabindex:0}]])]),M(w(hp),{column:"type",direction:"type"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Block Type")),1)]),_:1},8,["direction"]),M(w(hp),{column:"detail",direction:"detail"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Detail")),1)]),_:1},8,["direction"]),M(w(hp),{column:"ruleAdded",direction:"ruleAdded"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Rule Added")),1)]),_:1},8,["direction"]),M(w(hp),{column:"reason",direction:"reason"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Reason")),1)]),_:1},8,["direction"]),M(w(hp),{column:"expiration",direction:"expiration"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Expiration")),1)]),_:1},8,["direction"]),M(w(hp),{column:"blockCount",direction:"blockCount"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Block Count")),1)]),_:1},8,["direction"]),M(w(hp),{column:"lastAttempt",direction:"lastAttempt"===U.value?"ascending"===q.value?-1:"descending"===q.value?1:0:0,onChangeSort:le},{default:s(()=>[x(b(w(L)("Last Attempt")),1)]),_:1},8,["direction"])])):i("",!0)])]),ue.value&&w(I).blocking.blocks.length>0?(a(),r("div",{key:0,ref_key:"paginationSentinel",ref:ce,"aria-hidden":"true",style:{height:"1px"}},null,512)):i("",!0)])])])])])])])])])])],64)}}},Mf={__name:"NewTour1",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("Wordfence lets you take control of protecting your site with powerful blocking features. Block traffic based on IP, IP range, hostname, browser, or referrer. Country blocking is available for Premium customers.")),1))}},Lf={__name:"NewTour2",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("All of your blocking rules are in one central location. Choose the Block Type, then enter the details for the rule. Once it has been added, you'll see it saved as a rule for your site.")),1))}},Af={__name:"NewTour3",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("Here's where you'll see all the blocking rules you've created. You can also manage them as well as remove or modify them from this table.")),1))}},Df={__name:"BlockingNewTour",setup(e){const n=u("__"),o=u("$"),s=u("wfconstants"),r=t(!1),i=t(0);S("tourName",s.tour.types.blocking),T(()=>{o("#blocking").hasClass("wf-active")?d("blocking"):o(window).on("wfTabChange",c)}),D(()=>{o(window).off("wfTabChange",c)});const c=(e,t)=>{d(t)},d=e=>{"blocking"===e&&s.tour.new.blocking&&(s.tour.new.blocking=!1,r.value=!0)},p=[{title:n("Blocking"),content:Mf,anchor:{selector:"#wf-section-blocking",pointer:{edge:"top",align:"left"}}},{title:n("Blocking Builder"),content:Lf,anchor:{selector:"#wf-create-block-type",pointer:{edge:"right",align:"right"}}},{title:n("Manage Blocking Rules"),content:Af,anchor:{selector:"#wf-blocks-wrapper",pointer:{edge:"bottom",align:"bottom"}}}],f=()=>{s.tour.new.blocking=!1,r.value=!1};return(e,t)=>(a(),l(C,{to:"#wpwrap"},[M(w(bi),{show:r.value},null,8,["show"]),M(w(Pi),{show:r.value,selectedIndex:i.value,slides:p,onCloseTour:f},null,8,["show","selectedIndex"])]))}},Pf={key:0,id:"wf-cboxOverlay",class:"wf-modal"},Of={__name:"ModalOverlay",props:{show:{type:Boolean,default:!1}},setup:e=>(S("modalName","modal-overlay"),(t,n)=>(a(),l(o,{name:"wf-fade"},{default:s(()=>[e.show?(a(),r("div",Pf)):i("",!0)]),_:1})))},$f={id:"wf-cboxWrapper"},If={id:"wf-cboxContent"},Ef={id:"wf-cboxLoadedContent"},Rf={class:"wf-modal"},Nf={class:"wf-modal-header"},Bf={class:"wf-modal-header-content"},Vf={class:"wf-modal-title"},Ff={class:"wf-modal-header-action"},Hf={key:0,class:"wf-padding-add-left-small wf-modal-header-action-close"},Uf={class:"wf-fa wf-fa-times-circle"},qf={class:"wf-modal-content"},jf={key:0,class:"wf-modal-footer"},Wf={class:"wf-flex-horizontal wf-flex-align-right wf-full-width"},zf={key:0,class:"wf-modal-accessory"},Yf={__name:"BaseModal",props:{modalSize:{type:[String,null],default:null,required:!1},noX:{type:Boolean,default:!1},noFooter:{type:Boolean,default:!1}},setup(e){let t=0;const l=u("modalName","modal"),o=u("$mitt"),s=N(),d=e,{modalSize:p}=c(d),f=n(()=>{let e=[];return e.push("wf-modal"),p.value&&e.push(`wf-modal-${p.value}`),e});return T(()=>{t+=1,document.body.classList.add("wf-modal-open")}),D(()=>{t=Math.max(0,t-1),0===t&&document.body.classList.remove("wf-modal-open")}),(t,n)=>{const u=h("aria");return _((a(),r("div",{id:"wf-colorbox",class:k(f.value),tabindex:"-1"},[v("div",$f,[v("div",If,[v("div",Ef,[v("div",Rf,[v("div",Nf,[v("div",Bf,[v("div",Vf,[v("strong",null,[I(t.$slots,"header")])])]),v("div",Ff,[I(t.$slots,"headerAction"),e.noX?i("",!0):(a(),r("div",Hf,[_((a(),r("a",{href:"#",onClick:n[0]||(n[0]=$(e=>w(o).emit("closeModal",w(l)),["prevent","stop"]))},[_(v("i",Uf,null,512),[[u,{hidden:!0}]])])),[[u,{role:"button"}]])]))])]),v("div",qf,[I(t.$slots,"body")]),e.noFooter?i("",!0):(a(),r("div",jf,[v("ul",Wf,[w(s).accessory?(a(),r("li",zf,[I(t.$slots,"accessory")])):i("",!0),I(t.$slots,"secondary-buttons"),I(t.$slots,"primary-button")])]))])])])])],2)),[[u,{role:"dialog"}]])}}};var Gf,Kf={},Zf={},Qf={},Xf={},Jf={};function eh(){return Gf||(Gf=1,Object.defineProperty(Jf,"__esModule",{value:!0}),Jf.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),Jf}var th,nh={};function ah(){return th||(th=1,Object.defineProperty(nh,"__esModule",{value:!0}),nh.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),nh}var lh,oh,sh,rh,ih={};function uh(){return lh||(lh=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=/* @__PURE__ */new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function a(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}e.fromCodePoint=null!==(t=String.fromCodePoint)&&void 0!==t?t:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},e.replaceCodePoint=a,e.default=function(t){return(0,e.fromCodePoint)(a(t))}}(ih)),ih}function ch(){return oh||(oh=1,function(e){var t=Xf&&Xf.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),n=Xf&&Xf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=Xf&&Xf.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var l in e)"default"!==l&&Object.prototype.hasOwnProperty.call(e,l)&&t(a,e,l);return n(a,e),a},l=Xf&&Xf.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var o=l(/* @__PURE__ */eh());e.htmlDecodeTree=o.default;var s=l(/* @__PURE__ */ah());e.xmlDecodeTree=s.default;var r=a(/* @__PURE__ */uh());e.decodeCodePoint=r.default;var i,u,c,d,p,f,h,m,g=/* @__PURE__ */uh();function w(e){return e>=i.ZERO&&e<=i.NINE}function v(e){return e>=i.UPPER_A&&e<=i.UPPER_F||e>=i.LOWER_A&&e<=i.LOWER_F}function b(e){return e===i.EQUALS||function(e){return e>=i.UPPER_A&&e<=i.UPPER_Z||e>=i.LOWER_A&&e<=i.LOWER_Z||w(e)}(e)}Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return g.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return g.fromCodePoint}}),(u=i||(i={}))[u.NUM=35]="NUM",u[u.SEMI=59]="SEMI",u[u.EQUALS=61]="EQUALS",u[u.ZERO=48]="ZERO",u[u.NINE=57]="NINE",u[u.LOWER_A=97]="LOWER_A",u[u.LOWER_F=102]="LOWER_F",u[u.LOWER_X=120]="LOWER_X",u[u.LOWER_Z=122]="LOWER_Z",u[u.UPPER_A=65]="UPPER_A",u[u.UPPER_F=70]="UPPER_F",u[u.UPPER_Z=90]="UPPER_Z",(d=c=e.BinTrieFlags||(e.BinTrieFlags={}))[d.VALUE_LENGTH=49152]="VALUE_LENGTH",d[d.BRANCH_LENGTH=16256]="BRANCH_LENGTH",d[d.JUMP_TABLE=127]="JUMP_TABLE",(f=p||(p={}))[f.EntityStart=0]="EntityStart",f[f.NumericStart=1]="NumericStart",f[f.NumericDecimal=2]="NumericDecimal",f[f.NumericHex=3]="NumericHex",f[f.NamedEntity=4]="NamedEntity",(m=h=e.DecodingMode||(e.DecodingMode={}))[m.Legacy=0]="Legacy",m[m.Strict=1]="Strict",m[m.Attribute=2]="Attribute";var y=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case p.EntityStart:return e.charCodeAt(t)===i.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=p.NamedEntity,this.stateNamedEntity(e,t));case p.NumericStart:return this.stateNumericStart(e,t);case p.NumericDecimal:return this.stateNumericDecimal(e,t);case p.NumericHex:return this.stateNumericHex(e,t);case p.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===i.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,a){if(t!==n){var l=n-t;this.result=this.result*Math.pow(a,l)+parseInt(e.substr(t,l),a),this.consumed+=l}},e.prototype.stateNumericHex=function(e,t){for(var n=t;t<e.length;){var a=e.charCodeAt(t);if(!w(a)&&!v(a))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(a,3);t+=1}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var a=e.charCodeAt(t);if(!w(a))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(a,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===i.SEMI)this.consumed+=1;else if(this.decodeMode===h.Strict)return 0;return this.emitCodePoint((0,r.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==i.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,a=n[this.treeIndex],l=(a&c.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=_(n,a,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return 0===this.result||this.decodeMode===h.Attribute&&(0===l||b(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(l=((a=n[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(o===i.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var a=this.decodeTree;return this.emitCodePoint(1===t?a[e]&~c.VALUE_LENGTH:a[e+1],n),3===t&&this.emitCodePoint(a[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case p.NamedEntity:return 0===this.result||this.decodeMode===h.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},e}();function k(e){var t="",n=new y(e,function(e){return t+=(0,r.fromCodePoint)(e)});return function(e,a){for(var l=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(l,o),n.startEntity(a);var s=n.write(e,o+1);if(s<0){l=o+n.end();break}l=o+s,o=0===s?l+1:l}var r=t+e.slice(l);return t="",r}}function _(e,t,n,a){var l=(t&c.BRANCH_LENGTH)>>7,o=t&c.JUMP_TABLE;if(0===l)return 0!==o&&a===o?n:-1;if(o){var s=a-o;return s<0||s>=l?-1:e[n+s]-1}for(var r=n,i=r+l-1;r<=i;){var u=r+i>>>1,d=e[u];if(d<a)r=u+1;else{if(!(d>a))return e[u+l];i=u-1}}return-1}e.EntityDecoder=y,e.determineBranch=_;var x=k(o.default),S=k(s.default);e.decodeHTML=function(e,t){return void 0===t&&(t=h.Legacy),x(e,t)},e.decodeHTMLAttribute=function(e){return x(e,h.Attribute)},e.decodeHTMLStrict=function(e){return x(e,h.Strict)},e.decodeXML=function(e){return S(e,h.Strict)}}(Xf)),Xf}function dh(){return sh||(sh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t,n,a,l,o,s,r=/* @__PURE__ */ch();function i(e){return e===t.Space||e===t.NewLine||e===t.Tab||e===t.FormFeed||e===t.CarriageReturn}function u(e){return e===t.Slash||e===t.Gt||i(e)}function c(e){return e>=t.Zero&&e<=t.Nine}(n=t||(t={}))[n.Tab=9]="Tab",n[n.NewLine=10]="NewLine",n[n.FormFeed=12]="FormFeed",n[n.CarriageReturn=13]="CarriageReturn",n[n.Space=32]="Space",n[n.ExclamationMark=33]="ExclamationMark",n[n.Number=35]="Number",n[n.Amp=38]="Amp",n[n.SingleQuote=39]="SingleQuote",n[n.DoubleQuote=34]="DoubleQuote",n[n.Dash=45]="Dash",n[n.Slash=47]="Slash",n[n.Zero=48]="Zero",n[n.Nine=57]="Nine",n[n.Semi=59]="Semi",n[n.Lt=60]="Lt",n[n.Eq=61]="Eq",n[n.Gt=62]="Gt",n[n.Questionmark=63]="Questionmark",n[n.UpperA=65]="UpperA",n[n.LowerA=97]="LowerA",n[n.UpperF=70]="UpperF",n[n.LowerF=102]="LowerF",n[n.UpperZ=90]="UpperZ",n[n.LowerZ=122]="LowerZ",n[n.LowerX=120]="LowerX",n[n.OpeningSquareBracket=91]="OpeningSquareBracket",(l=a||(a={}))[l.Text=1]="Text",l[l.BeforeTagName=2]="BeforeTagName",l[l.InTagName=3]="InTagName",l[l.InSelfClosingTag=4]="InSelfClosingTag",l[l.BeforeClosingTagName=5]="BeforeClosingTagName",l[l.InClosingTagName=6]="InClosingTagName",l[l.AfterClosingTagName=7]="AfterClosingTagName",l[l.BeforeAttributeName=8]="BeforeAttributeName",l[l.InAttributeName=9]="InAttributeName",l[l.AfterAttributeName=10]="AfterAttributeName",l[l.BeforeAttributeValue=11]="BeforeAttributeValue",l[l.InAttributeValueDq=12]="InAttributeValueDq",l[l.InAttributeValueSq=13]="InAttributeValueSq",l[l.InAttributeValueNq=14]="InAttributeValueNq",l[l.BeforeDeclaration=15]="BeforeDeclaration",l[l.InDeclaration=16]="InDeclaration",l[l.InProcessingInstruction=17]="InProcessingInstruction",l[l.BeforeComment=18]="BeforeComment",l[l.CDATASequence=19]="CDATASequence",l[l.InSpecialComment=20]="InSpecialComment",l[l.InCommentLike=21]="InCommentLike",l[l.BeforeSpecialS=22]="BeforeSpecialS",l[l.SpecialStartSequence=23]="SpecialStartSequence",l[l.InSpecialTag=24]="InSpecialTag",l[l.BeforeEntity=25]="BeforeEntity",l[l.BeforeNumericEntity=26]="BeforeNumericEntity",l[l.InNamedEntity=27]="InNamedEntity",l[l.InNumericEntity=28]="InNumericEntity",l[l.InHexEntity=29]="InHexEntity",(s=o=e.QuoteType||(e.QuoteType={}))[s.NoValue=0]="NoValue",s[s.Unquoted=1]="Unquoted",s[s.Single=2]="Single",s[s.Double=3]="Double";var d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},p=function(){function e(e,t){var n=e.xmlMode,l=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=a.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=a.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=l,this.decodeEntities=s,this.entityTrie=l?r.xmlDecodeTree:r.htmlDecodeTree}return e.prototype.reset=function(){this.state=a.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=a.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=a.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===t.Amp&&(this.state=a.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?u(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=a.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===t.Gt||i(e)){var n=this.index-this.currentSequence.length;if(this.sectionStart<n){var l=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=l}return this.isSpecial=!1,this.sectionStart=n+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===d.TitleEnd?this.decodeEntities&&e===t.Amp&&(this.state=a.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===t.Lt)},e.prototype.stateCDATASequence=function(e){e===d.Cdata[this.sequenceIndex]?++this.sequenceIndex===d.Cdata.length&&(this.state=a.InCommentLike,this.currentSequence=d.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=a.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=a.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!u(e):function(e){return e>=t.LowerA&&e<=t.LowerZ||e>=t.UpperA&&e<=t.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=a.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===t.ExclamationMark)this.state=a.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===t.Questionmark)this.state=a.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var n=32|e;this.sectionStart=this.index,this.xmlMode||n!==d.TitleEnd[2]?this.state=this.xmlMode||n!==d.ScriptEnd[2]?a.InTagName:a.BeforeSpecialS:this.startSpecial(d.TitleEnd,3)}else e===t.Slash?this.state=a.BeforeClosingTagName:(this.state=a.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){u(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=a.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){i(e)||(e===t.Gt?this.state=a.Text:(this.state=this.isTagStartChar(e)?a.InClosingTagName:a.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===t.Gt||i(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=a.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=a.Text,this.baseState=a.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=a.InSpecialTag,this.sequenceIndex=0):this.state=a.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===t.Slash?this.state=a.InSelfClosingTag:i(e)||(this.state=a.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=a.Text,this.baseState=a.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(e)||(this.state=a.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===t.Eq||u(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=a.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===t.Eq?this.state=a.BeforeAttributeValue:e===t.Slash||e===t.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=a.BeforeAttributeName,this.stateBeforeAttributeName(e)):i(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=a.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===t.DoubleQuote?(this.state=a.InAttributeValueDq,this.sectionStart=this.index+1):e===t.SingleQuote?(this.state=a.InAttributeValueSq,this.sectionStart=this.index+1):i(e)||(this.sectionStart=this.index,this.state=a.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===t.DoubleQuote?o.Double:o.Single,this.index),this.state=a.BeforeAttributeName):this.decodeEntities&&e===t.Amp&&(this.baseState=this.state,this.state=a.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,t.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,t.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){i(e)||e===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=a.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===t.Amp&&(this.baseState=this.state,this.state=a.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===t.OpeningSquareBracket?(this.state=a.CDATASequence,this.sequenceIndex=0):this.state=e===t.Dash?a.BeforeComment:a.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=a.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=a.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===t.Dash?(this.state=a.InCommentLike,this.currentSequence=d.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=a.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=a.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===d.ScriptEnd[3]?this.startSpecial(d.ScriptEnd,4):t===d.StyleEnd[3]?this.startSpecial(d.StyleEnd,4):(this.state=a.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===t.Number?this.state=a.BeforeNumericEntity:e===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=a.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,r.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var n=this.trieCurrent&r.BinTrieFlags.VALUE_LENGTH;if(n){var a=(n>>14)-1;if(this.allowLegacyEntity()||e===t.Semi){var l=this.index-this.entityExcess+1;l>this.sectionStart&&this.emitPartial(this.sectionStart,l),this.entityResult=this.trieIndex,this.trieIndex+=a,this.entityExcess=0,this.sectionStart=this.index+1,0===a&&this.emitNamedEntity()}else this.trieIndex+=a}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&r.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~r.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===t.LowerX?(this.entityExcess++,this.state=a.InHexEntity):(this.state=a.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===a.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,r.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===t.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===t.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-t.Zero),this.entityExcess++):function(e){return e>=t.UpperA&&e<=t.UpperF||e>=t.LowerA&&e<=t.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===a.Text||this.baseState===a.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===a.Text||this.state===a.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==a.InAttributeValueDq&&this.state!==a.InAttributeValueSq&&this.state!==a.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case a.Text:this.stateText(e);break;case a.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case a.InSpecialTag:this.stateInSpecialTag(e);break;case a.CDATASequence:this.stateCDATASequence(e);break;case a.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case a.InAttributeName:this.stateInAttributeName(e);break;case a.InCommentLike:this.stateInCommentLike(e);break;case a.InSpecialComment:this.stateInSpecialComment(e);break;case a.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case a.InTagName:this.stateInTagName(e);break;case a.InClosingTagName:this.stateInClosingTagName(e);break;case a.BeforeTagName:this.stateBeforeTagName(e);break;case a.AfterAttributeName:this.stateAfterAttributeName(e);break;case a.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case a.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case a.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case a.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case a.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case a.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case a.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case a.InDeclaration:this.stateInDeclaration(e);break;case a.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case a.BeforeComment:this.stateBeforeComment(e);break;case a.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case a.InNamedEntity:this.stateInNamedEntity(e);break;case a.BeforeEntity:this.stateBeforeEntity(e);break;case a.InHexEntity:this.stateInHexEntity(e);break;case a.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===a.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===a.InCommentLike?this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===a.InNumericEntity&&this.allowLegacyEntity()||this.state===a.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===a.InTagName||this.state===a.BeforeAttributeName||this.state===a.BeforeAttributeValue||this.state===a.AfterAttributeName||this.state===a.InAttributeName||this.state===a.InAttributeValueSq||this.state===a.InAttributeValueDq||this.state===a.InAttributeValueNq||this.state===a.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==a.Text&&this.baseState!==a.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==a.Text&&this.baseState!==a.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();e.default=p}(Qf)),Qf}function ph(){if(rh)return Zf;rh=1;var e=Zf&&Zf.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),t=Zf&&Zf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=Zf&&Zf.__importStar||function(n){if(n&&n.__esModule)return n;var a={};if(null!=n)for(var l in n)"default"!==l&&Object.prototype.hasOwnProperty.call(n,l)&&e(a,n,l);return t(a,n),a};Object.defineProperty(Zf,"__esModule",{value:!0}),Zf.Parser=void 0;var a=n(/* @__PURE__ */dh()),l=/* @__PURE__ */ch(),o=/* @__PURE__ */new Set(["input","option","optgroup","select","button","datalist","textarea"]),s=/* @__PURE__ */new Set(["p"]),r=/* @__PURE__ */new Set(["thead","tbody"]),i=/* @__PURE__ */new Set(["dd","dt"]),u=/* @__PURE__ */new Set(["rt","rp"]),c=/* @__PURE__ */new Map([["tr",/* @__PURE__ */new Set(["tr","th","td"])],["th",/* @__PURE__ */new Set(["th"])],["td",/* @__PURE__ */new Set(["thead","th","td"])],["body",/* @__PURE__ */new Set(["head","link","script"])],["li",/* @__PURE__ */new Set(["li"])],["p",s],["h1",s],["h2",s],["h3",s],["h4",s],["h5",s],["h6",s],["select",o],["input",o],["output",o],["button",o],["datalist",o],["textarea",o],["option",/* @__PURE__ */new Set(["option"])],["optgroup",/* @__PURE__ */new Set(["optgroup","option"])],["dd",i],["dt",i],["address",s],["article",s],["aside",s],["blockquote",s],["details",s],["div",s],["dl",s],["fieldset",s],["figcaption",s],["figure",s],["footer",s],["form",s],["header",s],["hr",s],["main",s],["nav",s],["ol",s],["pre",s],["section",s],["table",s],["ul",s],["rt",u],["rp",u],["tbody",r],["tfoot",r]]),d=/* @__PURE__ */new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=/* @__PURE__ */new Set(["math","svg"]),f=/* @__PURE__ */new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,m=function(){function e(e,t){var n,l,o,s,r;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(l=t.lowerCaseAttributeNames)&&void 0!==l?l:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:a.default)(this.options,this),null===(r=(s=this.cbs).onparserinit)||void 0===r||r.call(s,this)}return e.prototype.ontext=function(e,t){var n,a,l=this.getSlice(e,t);this.endIndex=t-1,null===(a=(n=this.cbs).ontext)||void 0===a||a.call(n,l),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,a=this.tokenizer.getSectionStart();this.endIndex=a-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,l.fromCodePoint)(e)),this.startIndex=a},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,a,l;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&c.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,s,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):f.has(e)&&this.foreignContext.push(!1)),null===(l=(a=this.cbs).onopentagname)||void 0===l||l.call(a,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,a,l,o,s,r;this.endIndex=t;var i=this.getSlice(e,t);if(this.lowerCaseTagNames&&(i=i.toLowerCase()),(p.has(i)||f.has(i))&&this.foreignContext.pop(),this.isVoidElement(i))this.options.xmlMode||"br"!==i||(null===(a=(n=this.cbs).onopentagname)||void 0===a||a.call(n,"br"),null===(o=(l=this.cbs).onopentag)||void 0===o||o.call(l,"br",{},!0),null===(r=(s=this.cbs).onclosetag)||void 0===r||r.call(s,"br",!1));else{var u=this.stack.lastIndexOf(i);if(-1!==u)if(this.cbs.onclosetag)for(var c=this.stack.length-u;c--;)this.cbs.onclosetag(this.stack.pop(),0!==c);else this.stack.length=u;else this.options.xmlMode||"p"!==i||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,a=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===a&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,l.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,l;this.endIndex=t,null===(l=(n=this.cbs).onattribute)||void 0===l||l.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var a=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(a),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var a=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(a),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var a,l,o,s;this.endIndex=t,null===(l=(a=this.cbs).oncomment)||void 0===l||l.call(a,this.getSlice(e,t-n)),null===(s=(o=this.cbs).oncommentend)||void 0===s||s.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var a,l,o,s,r,i,u,c,d,p;this.endIndex=t;var f=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(l=(a=this.cbs).oncdatastart)||void 0===l||l.call(a),null===(s=(o=this.cbs).ontext)||void 0===s||s.call(o,f),null===(i=(r=this.cbs).oncdataend)||void 0===i||i.call(r)):(null===(c=(u=this.cbs).oncomment)||void 0===c||c.call(u,"[CDATA[".concat(f,"]]")),null===(p=(d=this.cbs).oncommentend)||void 0===p||p.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,a;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(a=(n=this.cbs).onparserinit)||void 0===a||a.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();return Zf.Parser=m,Zf}var fh,hh={},mh={};function gh(){return fh||(fh=1,e=mh,Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,(n=t=e.ElementType||(e.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",e.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype),mh;var e,t,n}var wh,vh,bh={};function yh(){if(wh)return bh;wh=1;var e=bh&&bh.__extends||/* @__PURE__ */function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),t=bh&&bh.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},t.apply(this,arguments)};Object.defineProperty(bh,"__esModule",{value:!0}),bh.cloneNode=bh.hasChildren=bh.isDocument=bh.isDirective=bh.isComment=bh.isText=bh.isCDATA=bh.isTag=bh.Element=bh.Document=bh.CDATA=bh.NodeWithChildren=bh.ProcessingInstruction=bh.Comment=bh.Text=bh.DataNode=bh.Node=void 0;var n=/* @__PURE__ */gh(),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),v(this,e)},e}();bh.Node=a;var l=function(t){function n(e){var n=t.call(this)||this;return n.data=e,n}return e(n,t),Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(a);bh.DataNode=l;var o=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Text,e}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),a}(l);bh.Text=o;var s=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Comment,e}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),a}(l);bh.Comment=s;var r=function(t){function a(e,a){var l=t.call(this,a)||this;return l.name=e,l.type=n.ElementType.Directive,l}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),a}(l);bh.ProcessingInstruction=r;var i=function(t){function n(e){var n=t.call(this)||this;return n.children=e,n}return e(n,t),Object.defineProperty(n.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(a);bh.NodeWithChildren=i;var u=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.CDATA,e}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),a}(i);bh.CDATA=u;var c=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.ElementType.Root,e}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),a}(i);bh.Document=c;var d=function(t){function a(e,a,l,o){void 0===l&&(l=[]),void 0===o&&(o="script"===e?n.ElementType.Script:"style"===e?n.ElementType.Style:n.ElementType.Tag);var s=t.call(this,l)||this;return s.name=e,s.attribs=a,s.type=o,s}return e(a,t),Object.defineProperty(a.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,a;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(a=e["x-attribsPrefix"])||void 0===a?void 0:a[t]}})},enumerable:!1,configurable:!0}),a}(i);function p(e){return(0,n.isTag)(e)}function f(e){return e.type===n.ElementType.CDATA}function h(e){return e.type===n.ElementType.Text}function m(e){return e.type===n.ElementType.Comment}function g(e){return e.type===n.ElementType.Directive}function w(e){return e.type===n.ElementType.Root}function v(e,n){var a;if(void 0===n&&(n=!1),h(e))a=new o(e.data);else if(m(e))a=new s(e.data);else if(p(e)){var l=n?b(e.children):[],i=new d(e.name,t({},e.attribs),l);l.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=t({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=t({},e["x-attribsPrefix"])),a=i}else if(f(e)){l=n?b(e.children):[];var v=new u(l);l.forEach(function(e){return e.parent=v}),a=v}else if(w(e)){l=n?b(e.children):[];var y=new c(l);l.forEach(function(e){return e.parent=y}),e["x-mode"]&&(y["x-mode"]=e["x-mode"]),a=y}else{if(!g(e))throw new Error("Not implemented yet: ".concat(e.type));var k=new r(e.name,e.data);null!=e["x-name"]&&(k["x-name"]=e["x-name"],k["x-publicId"]=e["x-publicId"],k["x-systemId"]=e["x-systemId"]),a=k}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function b(e){for(var t=e.map(function(e){return v(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}return bh.Element=d,bh.isTag=p,bh.isCDATA=f,bh.isText=h,bh.isComment=m,bh.isDirective=g,bh.isDocument=w,bh.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},bh.cloneNode=v,bh}function kh(){return vh||(vh=1,function(e){var t=hh&&hh.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),n=hh&&hh.__exportStar||function(e,n){for(var a in e)"default"===a||Object.prototype.hasOwnProperty.call(n,a)||t(n,e,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var a=/* @__PURE__ */gh(),l=/* @__PURE__ */yh();n(/* @__PURE__ */yh(),e);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,n){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,o=new l.Element(e,t,void 0,n);this.addNode(o),this.tagStack.push(o)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new l.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new l.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new l.Text(""),t=new l.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new l.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=s,e.default=s}(hh)),hh}var _h,xh={},Sh={},Th={},Ch={},Mh={},Lh={};function Ah(){if(_h)return Lh;function e(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}return _h=1,Object.defineProperty(Lh,"__esModule",{value:!0}),Lh.default=new Map(/* @__PURE__ */e([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(/* @__PURE__ */e([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(/* @__PURE__ */e([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(/* @__PURE__ */e([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]])),Lh}var Dh,Ph,Oh,$h={};function Ih(){return Dh||(Dh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=/* @__PURE__ */new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function n(n){for(var a,l="",o=0;null!==(a=e.xmlReplacer.exec(n));){var s=a.index,r=n.charCodeAt(s),i=t.get(r);void 0!==i?(l+=n.substring(o,s)+i,o=s+1):(l+="".concat(n.substring(o,s),"&#x").concat((0,e.getCodePoint)(n,s).toString(16),";"),o=e.xmlReplacer.lastIndex+=Number(55296==(64512&r)))}return l+n.substr(o)}function a(e,t){return function(n){for(var a,l=0,o="";a=e.exec(n);)l!==a.index&&(o+=n.substring(l,a.index)),o+=t.get(a[0].charCodeAt(0)),l=a.index+1;return o+n.substring(l)}}e.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},e.encodeXML=n,e.escape=n,e.escapeUTF8=a(/[&<>'"]/g,t),e.escapeAttribute=a(/["&\u00A0]/g,/* @__PURE__ */new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),e.escapeText=a(/[&<>\u00A0]/g,/* @__PURE__ */new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))}($h)),$h}function Eh(){if(Ph)return Mh;Ph=1;var e=Mh&&Mh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Mh,"__esModule",{value:!0}),Mh.encodeNonAsciiHTML=Mh.encodeHTML=void 0;var t=e(/* @__PURE__ */Ah()),n=/* @__PURE__ */Ih(),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function l(e,a){for(var l,o="",s=0;null!==(l=e.exec(a));){var r=l.index;o+=a.substring(s,r);var i=a.charCodeAt(r),u=t.default.get(i);if("object"==typeof u){if(r+1<a.length){var c=a.charCodeAt(r+1),d="number"==typeof u.n?u.n===c?u.o:void 0:u.n.get(c);if(void 0!==d){o+=d,s=e.lastIndex+=1;continue}}u=u.v}if(void 0!==u)o+=u,s=r+1;else{var p=(0,n.getCodePoint)(a,r);o+="&#x".concat(p.toString(16),";"),s=e.lastIndex+=Number(p!==i)}}return o+a.substr(s)}return Mh.encodeHTML=function(e){return l(a,e)},Mh.encodeNonAsciiHTML=function(e){return l(n.xmlReplacer,e)},Mh}function Rh(){return Oh||(Oh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t,n,a,l,o=/* @__PURE__ */ch(),s=/* @__PURE__ */Eh(),r=/* @__PURE__ */Ih();function i(e,n){if(void 0===n&&(n=t.XML),("number"==typeof n?n:n.level)===t.HTML){var a="object"==typeof n?n.mode:void 0;return(0,o.decodeHTML)(e,a)}return(0,o.decodeXML)(e)}(n=t=e.EntityLevel||(e.EntityLevel={}))[n.XML=0]="XML",n[n.HTML=1]="HTML",(l=a=e.EncodingMode||(e.EncodingMode={}))[l.UTF8=0]="UTF8",l[l.ASCII=1]="ASCII",l[l.Extensive=2]="Extensive",l[l.Attribute=3]="Attribute",l[l.Text=4]="Text",e.decode=i,e.decodeStrict=function(e,n){var a;void 0===n&&(n=t.XML);var l="number"==typeof n?{level:n}:n;return null!==(a=l.mode)&&void 0!==a||(l.mode=o.DecodingMode.Strict),i(e,l)},e.encode=function(e,n){void 0===n&&(n=t.XML);var l="number"==typeof n?{level:n}:n;return l.mode===a.UTF8?(0,r.escapeUTF8)(e):l.mode===a.Attribute?(0,r.escapeAttribute)(e):l.mode===a.Text?(0,r.escapeText)(e):l.level===t.HTML?l.mode===a.ASCII?(0,s.encodeNonAsciiHTML)(e):(0,s.encodeHTML)(e):(0,r.encodeXML)(e)};var u=/* @__PURE__ */Ih();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var c=/* @__PURE__ */Eh();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var d=/* @__PURE__ */ch();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})}(Ch)),Ch}var Nh,Bh,Vh,Fh={};function Hh(){return Nh||(Nh=1,Object.defineProperty(Fh,"__esModule",{value:!0}),Fh.attributeNames=Fh.elementNames=void 0,Fh.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),Fh.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))),Fh}function Uh(){if(Bh)return Th;Bh=1;var e=Th&&Th.__assign||function(){return e=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},e.apply(this,arguments)},t=Th&&Th.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),n=Th&&Th.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=Th&&Th.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var l in e)"default"!==l&&Object.prototype.hasOwnProperty.call(e,l)&&t(a,e,l);return n(a,e),a};Object.defineProperty(Th,"__esModule",{value:!0}),Th.render=void 0;var l=a(/* @__PURE__ */gh()),o=/* @__PURE__ */Rh(),s=/* @__PURE__ */Hh(),r=/* @__PURE__ */new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function i(e){return e.replace(/"/g,"&quot;")}var u=/* @__PURE__ */new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function c(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),a="",l=0;l<n.length;l++)a+=d(n[l],t);return a}function d(t,n){switch(t.type){case l.Root:return c(t.children,n);case l.Doctype:case l.Directive:return"<".concat(t.data,">");case l.Comment:return"\x3c!--".concat(t.data,"--\x3e");case l.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(t);case l.Script:case l.Style:case l.Tag:return function(t,n){var a;"foreign"===n.xmlMode&&(t.name=null!==(a=s.elementNames.get(t.name))&&void 0!==a?a:t.name,t.parent&&p.has(t.parent.name)&&(n=e(e({},n),{xmlMode:!1}))),!n.xmlMode&&f.has(t.name)&&(n=e(e({},n),{xmlMode:"foreign"}));var l="<".concat(t.name),r=function(e,t){var n;if(e){var a=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?i:t.xmlMode||"utf8"!==t.encodeEntities?o.encodeXML:o.escapeAttribute;return Object.keys(e).map(function(n){var l,o,r=null!==(l=e[n])&&void 0!==l?l:"";return"foreign"===t.xmlMode&&(n=null!==(o=s.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==r?"".concat(n,'="').concat(a(r),'"'):n}).join(" ")}}(t.attribs,n);return r&&(l+=" ".concat(r)),0===t.children.length&&(n.xmlMode?!1!==n.selfClosingTags:n.selfClosingTags&&u.has(t.name))?(n.xmlMode||(l+=" "),l+="/>"):(l+=">",t.children.length>0&&(l+=c(t.children,n)),!n.xmlMode&&u.has(t.name)||(l+="</".concat(t.name,">"))),l}(t,n);case l.Text:return function(e,t){var n,a=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&r.has(e.parent.name)||(a=t.xmlMode||"utf8"!==t.encodeEntities?(0,o.encodeXML)(a):(0,o.escapeText)(a)),a}(t,n)}}Th.render=c,Th.default=c;var p=/* @__PURE__ */new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),f=/* @__PURE__ */new Set(["svg","math"]);return Th}function qh(){if(Vh)return Sh;Vh=1;var e=Sh&&Sh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Sh,"__esModule",{value:!0}),Sh.getOuterHTML=l,Sh.getInnerHTML=function(e,n){return(0,t.hasChildren)(e)?e.children.map(function(e){return l(e,n)}).join(""):""},Sh.getText=function e(n){return Array.isArray(n)?n.map(e).join(""):(0,t.isTag)(n)?"br"===n.name?"\n":e(n.children):(0,t.isCDATA)(n)?e(n.children):(0,t.isText)(n)?n.data:""},Sh.textContent=function e(n){return Array.isArray(n)?n.map(e).join(""):(0,t.hasChildren)(n)&&!(0,t.isComment)(n)?e(n.children):(0,t.isText)(n)?n.data:""},Sh.innerText=function e(n){return Array.isArray(n)?n.map(e).join(""):(0,t.hasChildren)(n)&&(n.type===a.ElementType.Tag||(0,t.isCDATA)(n))?e(n.children):(0,t.isText)(n)?n.data:""};var t=/* @__PURE__ */kh(),n=e(/* @__PURE__ */Uh()),a=/* @__PURE__ */gh();function l(e,t){return(0,n.default)(e,t)}return Sh}var jh,Wh={};function zh(){if(jh)return Wh;jh=1,Object.defineProperty(Wh,"__esModule",{value:!0}),Wh.getChildren=t,Wh.getParent=n,Wh.getSiblings=function(e){var a=n(e);if(null!=a)return t(a);for(var l=[e],o=e.prev,s=e.next;null!=o;)l.unshift(o),o=o.prev;for(;null!=s;)l.push(s),s=s.next;return l},Wh.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},Wh.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},Wh.getName=function(e){return e.name},Wh.nextElementSibling=function(t){for(var n=t.next;null!==n&&!(0,e.isTag)(n);)n=n.next;return n},Wh.prevElementSibling=function(t){for(var n=t.prev;null!==n&&!(0,e.isTag)(n);)n=n.prev;return n};var e=/* @__PURE__ */kh();function t(t){return(0,e.hasChildren)(t)?t.children:[]}function n(e){return e.parent||null}return Wh}var Yh,Gh={};function Kh(){if(Yh)return Gh;function e(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}return Yh=1,Object.defineProperty(Gh,"__esModule",{value:!0}),Gh.removeElement=e,Gh.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var a=t.next=e.next;a&&(a.prev=t);var l=t.parent=e.parent;if(l){var o=l.children;o[o.lastIndexOf(e)]=t,e.parent=null}},Gh.appendChild=function(t,n){if(e(n),n.next=null,n.parent=t,t.children.push(n)>1){var a=t.children[t.children.length-2];a.next=n,n.prev=a}else n.prev=null},Gh.append=function(t,n){e(n);var a=t.parent,l=t.next;if(n.next=l,n.prev=t,t.next=n,n.parent=a,l){if(l.prev=n,a){var o=a.children;o.splice(o.lastIndexOf(l),0,n)}}else a&&a.children.push(n)},Gh.prependChild=function(t,n){if(e(n),n.parent=t,n.prev=null,1!==t.children.unshift(n)){var a=t.children[1];a.prev=n,n.next=a}else n.next=null},Gh.prepend=function(t,n){e(n);var a=t.parent;if(a){var l=a.children;l.splice(l.indexOf(t),0,n)}t.prev&&(t.prev.next=n),n.parent=a,n.prev=t.prev,n.next=t,t.prev=n},Gh}var Zh,Qh={};function Xh(){if(Zh)return Qh;Zh=1,Object.defineProperty(Qh,"__esModule",{value:!0}),Qh.filter=function(e,n,a,l){return void 0===a&&(a=!0),void 0===l&&(l=1/0),t(e,Array.isArray(n)?n:[n],a,l)},Qh.find=t,Qh.findOneChild=function(e,t){return t.find(e)},Qh.findOne=function t(n,a,l){void 0===l&&(l=!0);for(var o=Array.isArray(a)?a:[a],s=0;s<o.length;s++){var r=o[s];if((0,e.isTag)(r)&&n(r))return r;if(l&&(0,e.hasChildren)(r)&&r.children.length>0){var i=t(n,r.children,!0);if(i)return i}}return null},Qh.existsOne=function t(n,a){return(Array.isArray(a)?a:[a]).some(function(a){return(0,e.isTag)(a)&&n(a)||(0,e.hasChildren)(a)&&t(n,a.children)})},Qh.findAll=function(t,n){for(var a=[],l=[Array.isArray(n)?n:[n]],o=[0];;)if(o[0]>=l[0].length){if(1===l.length)return a;l.shift(),o.shift()}else{var s=l[0][o[0]++];(0,e.isTag)(s)&&t(s)&&a.push(s),(0,e.hasChildren)(s)&&s.children.length>0&&(o.unshift(0),l.unshift(s.children))}};var e=/* @__PURE__ */kh();function t(t,n,a,l){for(var o=[],s=[Array.isArray(n)?n:[n]],r=[0];;)if(r[0]>=s[0].length){if(1===r.length)return o;s.shift(),r.shift()}else{var i=s[0][r[0]++];if(t(i)&&(o.push(i),--l<=0))return o;a&&(0,e.hasChildren)(i)&&i.children.length>0&&(r.unshift(0),s.unshift(i.children))}}return Qh}var Jh,em={};function tm(){if(Jh)return em;Jh=1,Object.defineProperty(em,"__esModule",{value:!0}),em.testElement=function(e,t){var n=o(e);return!n||n(t)},em.getElements=function(e,n,a,l){void 0===l&&(l=1/0);var s=o(e);return s?(0,t.filter)(s,n,a,l):[]},em.getElementById=function(e,n,l){return void 0===l&&(l=!0),Array.isArray(n)||(n=[n]),(0,t.findOne)(a("id",e),n,l)},em.getElementsByTagName=function(e,a,l,o){return void 0===l&&(l=!0),void 0===o&&(o=1/0),(0,t.filter)(n.tag_name(e),a,l,o)},em.getElementsByClassName=function(e,n,l,o){return void 0===l&&(l=!0),void 0===o&&(o=1/0),(0,t.filter)(a("class",e),n,l,o)},em.getElementsByTagType=function(e,a,l,o){return void 0===l&&(l=!0),void 0===o&&(o=1/0),(0,t.filter)(n.tag_type(e),a,l,o)};var e=/* @__PURE__ */kh(),t=/* @__PURE__ */Xh(),n={tag_name:function(t){return"function"==typeof t?function(n){return(0,e.isTag)(n)&&t(n.name)}:"*"===t?e.isTag:function(n){return(0,e.isTag)(n)&&n.name===t}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(t){return"function"==typeof t?function(n){return(0,e.isText)(n)&&t(n.data)}:function(n){return(0,e.isText)(n)&&n.data===t}}};function a(t,n){return"function"==typeof n?function(a){return(0,e.isTag)(a)&&n(a.attribs[t])}:function(a){return(0,e.isTag)(a)&&a.attribs[t]===n}}function l(e,t){return function(n){return e(n)||t(n)}}function o(e){var t=Object.keys(e).map(function(t){var l=e[t];return Object.prototype.hasOwnProperty.call(n,t)?n[t](l):a(t,l)});return 0===t.length?null:t.reduce(l)}return em}var nm,am={};function lm(){if(nm)return am;nm=1,Object.defineProperty(am,"__esModule",{value:!0}),am.DocumentPosition=void 0,am.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var a=n.parent;a;a=a.parent)if(e.includes(a)){e.splice(t,1);break}}return e},am.compareDocumentPosition=a,am.uniqueSort=function(t){return(t=t.filter(function(e,t,n){return!n.includes(e,t+1)})).sort(function(t,n){var l=a(t,n);return l&e.PRECEDING?-1:l&e.FOLLOWING?1:0}),t};var e,t,n=/* @__PURE__ */kh();function a(t,a){var l=[],o=[];if(t===a)return 0;for(var s=(0,n.hasChildren)(t)?t:t.parent;s;)l.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(a)?a:a.parent;s;)o.unshift(s),s=s.parent;for(var r=Math.min(l.length,o.length),i=0;i<r&&l[i]===o[i];)i++;if(0===i)return e.DISCONNECTED;var u=l[i-1],c=u.children,d=l[i],p=o[i];return c.indexOf(d)>c.indexOf(p)?u===a?e.FOLLOWING|e.CONTAINED_BY:e.FOLLOWING:u===t?e.PRECEDING|e.CONTAINS:e.PRECEDING}return(t=e||(am.DocumentPosition=e={}))[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY",am}var om,sm,rm,im,um,cm={};function dm(){if(om)return cm;om=1,Object.defineProperty(cm,"__esModule",{value:!0}),cm.getFeed=function(e){var n=o(i,e);return n?"feed"===n.name?function(e){var n,a=e.children,i={type:"atom",items:(0,t.getElementsByTagName)("entry",a).map(function(e){var t,n=e.children,a={media:l(n)};r(a,"id","id",n),r(a,"title","title",n);var i=null===(t=o("link",n))||void 0===t?void 0:t.attribs.href;i&&(a.link=i);var u=s("summary",n)||s("content",n);u&&(a.description=u);var c=s("updated",n);return c&&(a.pubDate=new Date(c)),a})};r(i,"id","id",a),r(i,"title","title",a);var u=null===(n=o("link",a))||void 0===n?void 0:n.attribs.href;u&&(i.link=u),r(i,"description","subtitle",a);var c=s("updated",a);return c&&(i.updated=new Date(c)),r(i,"author","email",a,!0),i}(n):function(e){var n,a,i=null!==(a=null===(n=o("channel",e.children))||void 0===n?void 0:n.children)&&void 0!==a?a:[],u={type:e.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",e.children).map(function(e){var t=e.children,n={media:l(t)};r(n,"id","guid",t),r(n,"title","title",t),r(n,"link","link",t),r(n,"description","description",t);var a=s("pubDate",t)||s("dc:date",t);return a&&(n.pubDate=new Date(a)),n})};r(u,"title","title",i),r(u,"link","link",i),r(u,"description","description",i);var c=s("lastBuildDate",i);return c&&(u.updated=new Date(c)),r(u,"author","managingEditor",i,!0),u}(n):null};var e=/* @__PURE__ */qh(),t=/* @__PURE__ */tm(),n=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function l(e){return(0,t.getElementsByTagName)("media:content",e).map(function(e){for(var t=e.attribs,l={medium:t.medium,isDefault:!!t.isDefault},o=0,s=n;o<s.length;o++)t[u=s[o]]&&(l[u]=t[u]);for(var r=0,i=a;r<i.length;r++){var u;t[u=i[r]]&&(l[u]=parseInt(t[u],10))}return t.expression&&(l.expression=t.expression),l})}function o(e,n){return(0,t.getElementsByTagName)(e,n,!0,1)[0]}function s(n,a,l){return void 0===l&&(l=!1),(0,e.textContent)((0,t.getElementsByTagName)(n,a,l,1)).trim()}function r(e,t,n,a,l){void 0===l&&(l=!1);var o=s(n,a,l);o&&(e[t]=o)}function i(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}return cm}function pm(){return sm||(sm=1,function(e){var t=xh&&xh.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),n=xh&&xh.__exportStar||function(e,n){for(var a in e)"default"===a||Object.prototype.hasOwnProperty.call(n,a)||t(n,e,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(/* @__PURE__ */qh(),e),n(/* @__PURE__ */zh(),e),n(/* @__PURE__ */Kh(),e),n(/* @__PURE__ */Xh(),e),n(/* @__PURE__ */tm(),e),n(/* @__PURE__ */lm(),e),n(/* @__PURE__ */dm(),e);var a=/* @__PURE__ */kh();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return a.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return a.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return a.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return a.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return a.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return a.hasChildren}})}(xh)),xh}function fm(){return rm||(rm=1,function(e){var t=Kf&&Kf.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,l)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),n=Kf&&Kf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=Kf&&Kf.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var l in e)"default"!==l&&Object.prototype.hasOwnProperty.call(e,l)&&t(a,e,l);return n(a,e),a},l=Kf&&Kf.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var o=/* @__PURE__ */ph(),s=/* @__PURE__ */ph();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return s.Parser}});var r=/* @__PURE__ */kh(),i=/* @__PURE__ */kh();function u(e,t){var n=new r.DomHandler(void 0,t);return new o.Parser(n,t).end(e),n.root}function c(e,t){return u(e,t).children}Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return i.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return i.DomHandler}}),e.parseDocument=u,e.parseDOM=c,e.createDomStream=function(e,t,n){var a=new r.DomHandler(e,t,n);return new o.Parser(a,t)};var d=/* @__PURE__ */dh();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return l(d).default}}),e.ElementType=a(/* @__PURE__ */gh());var p=/* @__PURE__ */pm(),f=/* @__PURE__ */pm();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return f.getFeed}});var h={xmlMode:!0};e.parseFeed=function(e,t){return void 0===t&&(t=h),(0,p.getFeed)(c(e,t))},e.DomUtils=a(/* @__PURE__ */pm())}(Kf)),Kf}var hm,mm,gm,wm={};function vm(){if(gm)return mm;gm=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?/* @__PURE__ */Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,a){return e.concat(t).map(function(e){return n(e,a)})}function l(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function o(e,t){try{return t in e}catch(n){return!1}}function s(t,r,i){(i=i||{}).arrayMerge=i.arrayMerge||a,i.isMergeableObject=i.isMergeableObject||e,i.cloneUnlessOtherwiseSpecified=n;var u=Array.isArray(r);return u===Array.isArray(t)?u?i.arrayMerge(t,r,i):function(e,t,a){var r={};return a.isMergeableObject(e)&&l(e).forEach(function(t){r[t]=n(e[t],a)}),l(t).forEach(function(l){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,l)||(o(e,l)&&a.isMergeableObject(t[l])?r[l]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(l,a)(e[l],t[l],a):r[l]=n(t[l],a))}),r}(t,r,i):n(r,i)}return s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},mm=s}var bm,ym,km={exports:{}},_m=km.exports,xm={exports:{}};function Sm(){if(ym)return xm.exports;ym=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return xm.exports=t(),xm.exports.createColors=t,xm.exports}const Tm=/* @__PURE__ */De(/* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Cm,Mm,Lm,Am,Dm,Pm;function Om(){if(Mm)return Cm;Mm=1;let e=/* @__PURE__ */Sm(),t=Tm;class n extends Error{constructor(e,t,a,l,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),l&&(this.source=l),s&&(this.plugin=s),void 0!==t&&void 0!==a&&("number"==typeof t?(this.line=t,this.column=a):(this.line=t.line,this.column=t.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(n){if(!this.source)return"";let a=this.source;null==n&&(n=e.isColorSupported);let l=e=>e,o=e=>e,s=e=>e;if(n){let{bold:n,gray:a,red:r}=e.createColors(!0);o=e=>n(r(e)),l=e=>a(e),t&&(s=e=>t(e))}let r=a.split(/\r?\n/),i=Math.max(this.line-3,0),u=Math.min(this.line+2,r.length),c=String(u).length;return r.slice(i,u).map((e,t)=>{let n=i+1+t,a=" "+(" "+n).slice(-c)+" | ";if(n===this.line){if(e.length>160){let t=20,n=Math.max(0,this.column-t),r=Math.max(this.column+t,this.endColumn+t),i=e.slice(n,r),u=l(a.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return o(">")+l(a)+s(i)+"\n "+u+o("^")}let t=l(a.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+l(a)+s(e)+"\n "+t+o("^")}return" "+l(a)+s(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return Cm=n,n.default=n,Cm}function $m(){if(Am)return Lm;Am=1;const e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function n(n){return"string"!=typeof n?n:n.includes("<")?n.replace(e,"\\3c $2").replace(t,"\\3c $2"):n}const a={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};class l{constructor(e){this.builder=e}atrule(e,t){let a=e.raws,l="@"+e.name,o=e.params?this.rawValue(e,"params"):"";if(void 0!==a.afterName?l+=a.afterName:o&&(l+=" "),e.nodes)this.block(e,l+o);else{let s=(a.between||"")+(t?";":"");this.builder(n(l+o+s),e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let a=e.parent,l=0;for(;a&&"root"!==a.type;)l+=1,a=a.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<l;e++)n+=t}return n}block(e,t){let a,l=e.raws,o=void 0!==l.between?l.between:this.raw(e,"between","beforeOpen");this.builder(n(t+o)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),a=void 0!==l.after?l.after:this.raw(e,"after")):a=void 0!==l.after?l.after:this.raw(e,"after","emptyBody"),a&&this.builder(n(a)),this.builder("}",e,"end")}body(e){let t=e.nodes,a=t.length-1;for(;a>0&&"comment"===t[a].type;)a-=1;let l=this.raw(e,"semicolon"),o="document"===e.type;for(let s=0;s<t.length;s++){let e=t[s],r=e.raws.before;void 0===r&&(r=this.raw(e,"before")),r&&this.builder(o?r:n(r)),this.stringify(e,a!==s||l)}}comment(e){let t=e.raws,a=void 0!==t.left?t.left:this.raw(e,"left","commentLeft"),l=void 0!==t.right?t.right:this.raw(e,"right","commentRight");this.builder(n("/*"+a+e.text+l+"*/"),e)}decl(e,t){let a=e.raws,l=void 0!==a.between?a.between:this.raw(e,"between","colon"),o=a.value,s=o&&o.value===e.value?o.raw:e.value,r=e.prop+l+s;e.important&&(r+=a.important||" !important"),t&&(r+=";"),this.builder(n(r),e)}document(e){this.body(e)}raw(e,t,n){let l;if(n||(n=t),t&&(l=e.raws[t],void 0!==l))return l;let o=e.parent;if("before"===n){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return a[n];let s=e.root(),r=s.rawCache||(s.rawCache={});if(void 0!==r[n])return r[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let a="raw"+((i=n)[0].toUpperCase()+i.slice(1));this[a]?l=this[a](s,e):s.walk(e=>{if(l=e.raws[t],void 0!==l)return!1})}var i;return void 0===l&&(l=a[n]),r[n]=l,l}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let a=n.parent;if(a&&a!==e&&a.parent&&a.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawValue(e,t){let n=e[t],a=e.raws[t];return a&&a.value===n?a.raw:n}root(e){if(this.body(e),e.raws.after){let t=e.raws.after,a=e.parent&&"document"===e.parent.type;this.builder(a?t:n(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(n(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return Lm=l,l.default=l,Lm}function Im(){if(Pm)return Dm;Pm=1;let e=$m();function t(t,n){new e(n).stringify(t)}return Dm=t,t.default=t,Dm}var Em,Rm,Nm,Bm,Vm,Fm,Hm,Um,qm,jm,Wm,zm,Ym,Gm,Km,Zm,Qm,Xm,Jm,eg,tg,ng,ag,lg,og,sg,rg,ig,ug,cg,dg,pg,fg,hg,mg,gg,wg,vg,bg,yg,kg,_g,xg,Sg,Tg,Cg,Mg,Lg,Ag,Dg={};function Pg(){return Em||(Em=1,Dg.isClean=/* @__PURE__ */Symbol("isClean"),Dg.my=/* @__PURE__ */Symbol("my")),Dg}function Og(){if(Nm)return Rm;Nm=1;let e=Om(),t=$m(),n=Im(),{isClean:a,my:l}=Pg();function o(e,t){let n=new e.constructor;for(let a in e){if(!Object.prototype.hasOwnProperty.call(e,a))continue;if("proxyCache"===a)continue;let l=e[a],s=typeof l;"parent"===a&&"object"===s?t&&(n[a]=t):"source"===a?n[a]=l:Array.isArray(l)?n[a]=l.map(e=>o(e,n)):("object"===s&&null!==l&&(l=o(l)),n[a]=l)}return n}function s(e,t){if(t&&void 0!==t.offset)return t.offset;let n=1,a=1,l=0;for(let o=0;o<e.length;o++){if(a===t.line&&n===t.column){l=o;break}"\n"===e[o]?(n=1,a+=1):n+=1}return l}class r{get proxyOf(){return this}constructor(e={}){this.raws={},this[a]=!1,this[l]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=o(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,n={}){if(this.source){let{end:e,start:a}=this.rangeBy(n);return this.source.input.error(t,{column:a.column,line:a.line},{column:e.column,line:e.line},n)}return new e(t)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,a=n.slice(s(n,this.source.start),s(n,this.source.end)).indexOf(e.word);-1!==a&&(t=this.positionInside(a))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,a="document"in this.source.input?this.source.input.document:this.source.input.css,l=s(a,this.source.start),o=l+e;for(let s=l;s<o;s++)"\n"===a[s]?(t=1,n+=1):t+=1;return{column:t,line:n,offset:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:s(t,this.source.start)},a=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:s(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let l=t.slice(s(t,this.source.start),s(t,this.source.end)).indexOf(e.word);-1!==l&&(n=this.positionInside(l),a=this.positionInside(l+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:s(t,e.start)}:e.index&&(n=this.positionInside(e.index)),e.end?a={column:e.end.column,line:e.end.line,offset:s(t,e.end)}:"number"==typeof e.endIndex?a=this.positionInside(e.endIndex):e.index&&(a=this.positionInside(e.index+1));return(a.line<n.line||a.line===n.line&&a.column<=n.column)&&(a={column:n.column+1,line:n.line,offset:n.offset+1}),{end:a,start:n}}raw(e,n){return(new t).raw(this,e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let a of e)a===this?n=!0:n?(this.parent.insertAfter(t,a),t=a):this.parent.insertBefore(t,a);n||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let n={},a=null==t;t=t||/* @__PURE__ */new Map;let l=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o))continue;if("parent"===o||"proxyCache"===o)continue;let e=this[o];if(Array.isArray(e))n[o]=e.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof e&&e.toJSON)n[o]=e.toJSON(null,t);else if("source"===o){if(null==e)continue;let a=t.get(e.input);null==a&&(a=l,t.set(e.input,l),l++),n[o]={end:e.end,inputId:a,start:e.start}}else n[o]=e}return a&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=n){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,n={}){let a={node:this};for(let l in n)a[l]=n[l];return e.warn(t,a)}}return Rm=r,r.default=r,Rm}function $g(){if(Vm)return Bm;Vm=1;let e=Og();class t extends e{constructor(e){super(e),this.type="comment"}}return Bm=t,t.default=t,Bm}function Ig(){if(Hm)return Fm;Hm=1;let e=Og();class t extends e{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}return Fm=t,t.default=t,Fm}function Eg(){if(qm)return Um;qm=1;let e,t,n,a,l=$g(),o=Ig(),s=Og(),{isClean:r,my:i}=Pg();function u(e){return e.map(e=>(e.nodes&&(e.nodes=u(e.nodes)),delete e.source,e))}function c(e){if(e[r]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)c(t)}class d extends s{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,a=this.getIterator();for(;this.indexes[a]<this.proxyOf.nodes.length&&(t=this.indexes[a],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[a]+=1;return delete this.indexes[a],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,a=this.index(e),l=this.normalize(t,this.proxyOf.nodes[a]).reverse();a=this.index(e);for(let o of l)this.proxyOf.nodes.splice(a+1,0,o);for(let o in this.indexes)n=this.indexes[o],a<n&&(this.indexes[o]=n+l.length);return this.markDirty(),this}insertBefore(e,t){let n,a=this.index(e),l=0===a&&"prepend",o=this.normalize(t,this.proxyOf.nodes[a],l).reverse();a=this.index(e);for(let s of o)this.proxyOf.nodes.splice(a,0,s);for(let s in this.indexes)n=this.indexes[s],a<=n&&(this.indexes[s]=n+o.length);return this.markDirty(),this}normalize(n,s){if("string"==typeof n)n=u(t(n).nodes);else if(void 0===n)n=[];else if(Array.isArray(n)){n=n.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===n.type&&"document"!==this.type){n=n.nodes.slice(0);for(let e of n)e.parent&&e.parent.removeChild(e,"ignore")}else if(n.type)n=[n];else if(n.prop){if(void 0===n.value)throw new Error("Value field is missed in node creation");"string"!=typeof n.value&&(n.value=String(n.value)),n=[new o(n)]}else if(n.selector||n.selectors)n=[new a(n)];else if(n.name)n=[new e(n)];else{if(!n.text)throw new Error("Unknown node type in node creation");n=[new l(n)]}return n.map(e=>(e[i]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[r]&&c(e),e.raws||(e.raws={}),void 0===e.raws.before&&s&&void 0!==s.raws.before&&(e.raws.before=s.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(a=>{t.props&&!t.props.includes(a.prop)||t.fast&&!a.value.includes(t.fast)||(a.value=a.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,n)=>{let a;try{a=e(t,n)}catch(yD){throw t.addToError(yD)}return!1!==a&&t.walk&&(a=t.walk(e)),a})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,a)=>{if("atrule"===n.type&&e.test(n.name))return t(n,a)}):this.walk((n,a)=>{if("atrule"===n.type&&n.name===e)return t(n,a)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,a)=>{if("decl"===n.type&&e.test(n.prop))return t(n,a)}):this.walk((n,a)=>{if("decl"===n.type&&n.prop===e)return t(n,a)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,a)=>{if("rule"===n.type&&e.test(n.selector))return t(n,a)}):this.walk((n,a)=>{if("rule"===n.type&&n.selector===e)return t(n,a)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}}return d.registerParse=e=>{t=e},d.registerRule=e=>{a=e},d.registerAtRule=t=>{e=t},d.registerRoot=e=>{n=e},Um=d,d.default=d,d.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,e.prototype):"rule"===t.type?Object.setPrototypeOf(t,a.prototype):"decl"===t.type?Object.setPrototypeOf(t,o.prototype):"comment"===t.type?Object.setPrototypeOf(t,l.prototype):"root"===t.type&&Object.setPrototypeOf(t,n.prototype),t[i]=!0,t.nodes&&t.nodes.forEach(e=>{d.rebuild(e)})},Um}function Rg(){if(Wm)return jm;Wm=1;let e=Eg();class t extends e{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return jm=t,t.default=t,e.registerAtRule(t),jm}function Ng(){if(Ym)return zm;Ym=1;let e,t,n=Eg();class a extends n{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(n={}){return new e(new t,this,n).stringify()}}return a.registerLazyResult=t=>{e=t},a.registerProcessor=e=>{t=e},zm=a,a.default=a,zm}function Bg(){return Km?Gm:(Km=1,Gm={nanoid:(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let a="",l=0|n;for(;l--;)a+=e[Math.random()*e.length|0];return a}})}function Vg(){if(Qm)return Zm;Qm=1;let{existsSync:e,readFileSync:t}=Tm,{dirname:n,join:a}=Tm,{SourceMapConsumer:l,SourceMapGenerator:o}=Tm;class s{constructor(e,t){if(!1===t.map)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let a=t.map?t.map.prev:void 0,l=this.loadMap(t.from,a);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=n(this.mapFile)),l&&(this.text=l)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.json||this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return a=e.substr(n[0].length),Buffer?Buffer.from(a,"base64").toString():window.atob(a);var a;let l=e.slice(22);throw l=l.slice(0,l.indexOf(",")),new Error("Unsupported source map encoding "+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),a=e.indexOf("*/",n);n>-1&&a>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,a)))}loadFile(a,l,o){if(o||this.unsafeMap||/\.map$/i.test(a))return this.root=n(a),e(a)?(this.mapFile=a,t(a,"utf-8").toString().trim()):void 0}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof l)return o.fromSourceMap(t).toString();if(t instanceof o)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw new Error("Unable to load previous source map: "+n.toString());return t}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;e&&(t=a(n(e),t));let l=this.loadFile(t,e,!1);if(l)try{this.json=JSON.parse(l.replace(/^\)]}'[^\n]*\n/,""))}catch{return}return l}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Zm=s,s.default=s,Zm}function Fg(){if(Jm)return Xm;Jm=1;let{nanoid:e}=/* @__PURE__ */Bg(),{isAbsolute:t,resolve:n}=Tm,{SourceMapConsumer:a,SourceMapGenerator:l}=Tm,{fileURLToPath:o,pathToFileURL:s}=Tm,r=Om(),i=Vg(),u=Tm,c=/* @__PURE__ */Symbol("lineToIndexCache"),d=Boolean(a&&l),p=Boolean(n&&t);function f(e){if(e[c])return e[c];let t=e.css.split("\n"),n=new Array(t.length),a=0;for(let l=0,o=t.length;l<o;l++)n[l]=a,a+=t[l].length+1;return e[c]=n,n}class h{get from(){return this.file||this.id}constructor(a,l={}){if(null==a||"object"==typeof a&&!a.toString)throw new Error(`PostCSS received ${a} instead of CSS string`);if(this.css=a.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,l.document&&(this.document=l.document.toString()),l.from&&(!p||/^\w+:\/\//.test(l.from)||t(l.from)?this.file=l.from:this.file=n(l.from)),p&&d){let e=new i(this.css,l);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,a={}){let l,o,i,u,c;if(t&&"object"==typeof t){let e=t,a=n;if("number"==typeof e.offset){u=e.offset;let a=this.fromOffset(u);t=a.line,n=a.col}else t=e.line,n=e.column,u=this.fromLineAndColumn(t,n);if("number"==typeof a.offset){i=a.offset;let e=this.fromOffset(i);o=e.line,l=e.col}else o=a.line,l=a.column,i=this.fromLineAndColumn(a.line,a.column)}else if(n)u=this.fromLineAndColumn(t,n);else{u=t;let e=this.fromOffset(u);t=e.line,n=e.col}let d=this.origin(t,n,o,l);return c=d?new r(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,a.plugin):new r(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:l,line:o},this.css,this.file,a.plugin),c.input={column:n,endColumn:l,endLine:o,endOffset:i,line:t,offset:u,source:this.css},this.file&&(s&&(c.input.url=s(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,t){return f(this)[e-1]+t-1}fromOffset(e){let t=f(this),n=0;if(e>=t[t.length-1])n=t.length-1;else{let a,l=t.length-2;for(;n<l;)if(a=n+(l-n>>1),e<t[a])l=a-1;else{if(!(e>=t[a+1])){n=a;break}n=a+1}}return{col:e-t[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:n(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,n,a,l){if(!this.map)return!1;let r,i,u=this.map.consumer(),c=u.originalPositionFor({column:n,line:e});if(!c.source)return!1;"number"==typeof a&&(r=u.originalPositionFor({column:l,line:a})),i=t(c.source)?s(c.source):new URL(c.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let d={column:c.column,endColumn:r&&r.column,endLine:r&&r.line,line:c.line,url:i.toString()};if("file:"===i.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(i)}let p=u.sourceContentFor(c.source);return p&&(d.source=p),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Xm=h,h.default=h,u&&u.registerInput&&u.registerInput(h),Xm}function Hg(){if(tg)return eg;tg=1;let e,t,n=Eg();class a extends n{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let a=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let l of a)l.raws.before=t.raws.before;return a}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(n={}){return new e(new t,this,n).stringify()}}return a.registerLazyResult=t=>{e=t},a.registerProcessor=e=>{t=e},eg=a,a.default=a,n.registerRoot(a),eg}function Ug(){if(ag)return ng;ag=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,n){let a=[],l="",o=!1,s=0,r=!1,i="",u=!1;for(let c of e)u?u=!1:"\\"===c?u=!0:r?c===i&&(r=!1):'"'===c||"'"===c?(r=!0,i=c):"("===c?s+=1:")"===c?s>0&&(s-=1):0===s&&t.includes(c)&&(o=!0),o?(""!==l&&a.push(l.trim()),l="",o=!1):l+=c;return(n||""!==l)&&a.push(l.trim()),a}};return ng=e,e.default=e,ng}function qg(){if(og)return lg;og=1;let e=Eg(),t=Ug();class n extends e{get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}return lg=n,n.default=n,e.registerRule(n),lg}function jg(){if(ug)return ig;ug=1;let{dirname:e,relative:t,resolve:n,sep:a}=Tm,{SourceMapConsumer:l,SourceMapGenerator:o}=Tm,{pathToFileURL:s}=Tm,r=Fg(),i=Boolean(l&&o),u=Boolean(e&&n&&t&&a);return ig=class{constructor(e,t,n,a){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=a,this.originalCSS=a,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=/* @__PURE__ */new Map,this.memoizedPaths=/* @__PURE__ */new Map,this.memoizedURLs=/* @__PURE__ */new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let t of this.previous()){let n,a=this.toUrl(this.path(t.file)),o=t.root||e(t.file);!1===this.mapOpts.sourcesContent?(n=new l(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,a,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}generate(){if(this.clearAnnotation(),u&&i&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=o.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,a=1,l="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(o,r,i)=>{if(this.css+=o,r&&"end"!==i&&(s.generated.line=n,s.generated.column=a-1,r.source&&r.source.start?(s.source=this.sourcePath(r),s.original.line=r.source.start.line,s.original.column=r.source.start.column-1,this.map.addMapping(s)):(s.source=l,s.original.line=1,s.original.column=0,this.map.addMapping(s))),t=o.match(/\n/g),t?(n+=t.length,e=o.lastIndexOf("\n"),a=o.length-e):a+=o.length,r&&"start"!==i){let e=r.parent||{raws:{}};("decl"===r.type||"atrule"===r.type&&!r.nodes)&&r===e.last&&!e.raws.semicolon||(r.source&&r.source.end?(s.source=this.sourcePath(r),s.original.line=r.source.end.line,s.original.column=r.source.end.column-1,s.generated.line=n,s.generated.column=a-2,this.map.addMapping(s)):(s.source=l,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=a-1,this.map.addMapping(s)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(a){if(this.mapOpts.absolute)return a;if(60===a.charCodeAt(0))return a;if(/^\w+:\/\//.test(a))return a;let l=this.memoizedPaths.get(a);if(l)return l;let o=this.opts.to?e(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(o=e(n(o,this.mapOpts.annotation)));let s=t(o,a);return this.memoizedPaths.set(a,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new r(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let a=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(a,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(s){let t=s(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}}function Wg(){if(mg)return hg;mg=1;let e=Eg(),t=Fg(),n=function(){if(fg)return pg;fg=1;let e=Rg(),t=$g(),n=Ig(),a=Hg(),l=qg(),o=function(){if(dg)return cg;dg=1;const e="'".charCodeAt(0),t='"'.charCodeAt(0),n="\\".charCodeAt(0),a="/".charCodeAt(0),l="\n".charCodeAt(0),o=" ".charCodeAt(0),s="\f".charCodeAt(0),r="\t".charCodeAt(0),i="\r".charCodeAt(0),u="[".charCodeAt(0),c="]".charCodeAt(0),d="(".charCodeAt(0),p=")".charCodeAt(0),f="{".charCodeAt(0),h="}".charCodeAt(0),m=";".charCodeAt(0),g="*".charCodeAt(0),w=":".charCodeAt(0),v="@".charCodeAt(0),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,y=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,k=/.[\r\n"'(/\\]/,_=/[\da-f]/i;return cg=function(x,S={}){let T,C,M,L,A,D,P,O,$,I,E=x.css.valueOf(),R=S.ignoreErrors,N=E.length,B=0,V=[],F=[],H=-1;function U(e){throw x.error("Unclosed "+e,B)}return{back:function(e){F.push(e)},endOfFile:function(){return 0===F.length&&B>=N},nextToken:function(x){if(F.length)return F.pop();if(B>=N)return;let S=!!x&&x.ignoreUnclosed;switch(T=E.charCodeAt(B),T){case l:case o:case r:case i:case s:L=B;do{L+=1,T=E.charCodeAt(L)}while(T===o||T===l||T===r||T===i||T===s);D=["space",E.slice(B,L)],B=L-1;break;case u:case c:case f:case h:case w:case m:case p:{let e=String.fromCharCode(T);D=[e,e,B];break}case d:if(I=V.length?V.pop()[1]:"",$=E.charCodeAt(B+1),"url"===I&&$!==e&&$!==t&&$!==o&&$!==l&&$!==r&&$!==s&&$!==i){L=B;do{if(P=!1,L=E.indexOf(")",L+1),-1===L){if(R||S){L=B;break}U("bracket")}for(O=L;E.charCodeAt(O-1)===n;)O-=1,P=!P}while(P);D=["brackets",E.slice(B,L+1),B,L],B=L}else B<=H?D=["(","(",B]:(L=E.indexOf(")",B+1),C=E.slice(B,L+1),-1===L||k.test(C)?(H=-1===L?N:L,D=["(","(",B]):(D=["brackets",C,B,L],B=L));break;case e:case t:A=T===e?"'":'"',L=B;do{if(P=!1,L=E.indexOf(A,L+1),-1===L){if(R||S){L=B+1;break}U("string")}for(O=L;E.charCodeAt(O-1)===n;)O-=1,P=!P}while(P);D=["string",E.slice(B,L+1),B,L],B=L;break;case v:b.lastIndex=B+1,b.test(E),L=0===b.lastIndex?E.length-1:b.lastIndex-2,D=["at-word",E.slice(B,L+1),B,L],B=L;break;case n:for(L=B,M=!0;E.charCodeAt(L+1)===n;)L+=1,M=!M;if(T=E.charCodeAt(L+1),M&&T!==a&&T!==o&&T!==l&&T!==r&&T!==i&&T!==s&&(L+=1,_.test(E.charAt(L)))){for(;_.test(E.charAt(L+1));)L+=1;E.charCodeAt(L+1)===o&&(L+=1)}D=["word",E.slice(B,L+1),B,L],B=L;break;default:T===a&&E.charCodeAt(B+1)===g?(L=E.indexOf("*/",B+2)+1,0===L&&(R||S?L=E.length:U("comment")),D=["comment",E.slice(B,L+1),B,L],B=L):(y.lastIndex=B+1,y.test(E),L=0===y.lastIndex?E.length-1:y.lastIndex-2,D=["word",E.slice(B,L+1),B,L],V.push(D),B=L)}return B++,D},position:function(){return B}}}}();const s={empty:!0,space:!0};return pg=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){let n,a,l,o=new e;o.name=t[1].slice(1),""===o.name&&this.unnamedAtrule(o,t),this.init(o,t[2]);let s=!1,r=!1,i=[],u=[];for(;!this.tokenizer.endOfFile();){if(n=(t=this.tokenizer.nextToken())[0],"("===n||"["===n?u.push("("===n?")":"]"):"{"===n&&u.length>0?u.push("}"):n===u[u.length-1]&&u.pop(),0===u.length){if(";"===n){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===n){r=!0;break}if("}"===n){if(i.length>0){for(l=i.length-1,a=i[l];a&&"space"===a[0];)a=i[--l];a&&(o.source.end=this.getPosition(a[3]||a[2]),o.source.end.offset++)}this.end(t);break}i.push(t)}else i.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(i),i.length?(o.raws.afterName=this.spacesAndCommentsFromStart(i),this.raw(o,"params",i),s&&(t=i[i.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),r&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,a=0;for(let l=t-1;l>=0&&(n=e[l],"space"===n[0]||(a+=1,2!==a));l--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,a,l=0;for(let[o,s]of e.entries()){if(n=s,a=n[0],"("===a&&(l+=1),")"===a&&(l-=1),0===l&&":"===a){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(n)}t=n}return!1}comment(e){let n=new t;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;let a=e[1].slice(2,-2);if(a.trim()){let e=a.match(/^(\s*)([^]*\S)(\s*)$/);n.text=e[2],n.raws.left=e[1],n.raws.right=e[3]}else n.text="",n.raws.left=a,n.raws.right=""}createTokenizer(){this.tokenizer=o(this.input)}decl(e,t){let a=new n;this.init(a,e[0][2]);let l,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),a.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],a=n[3]||n[2];if(a)return a}}(e)),a.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),a.raws.before+=e.shift()[1];for(a.source.start=this.getPosition(e[0][2]),a.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;a.prop+=e.shift()[1]}for(a.raws.between="";e.length;){if(l=e.shift(),":"===l[0]){a.raws.between+=l[1];break}"word"===l[0]&&/\w/.test(l[1])&&this.unknownWord([l]),a.raws.between+=l[1]}"_"!==a.prop[0]&&"*"!==a.prop[0]||(a.raws.before+=a.prop[0],a.prop=a.prop.slice(1));let s,r=[];for(;e.length&&(s=e[0][0],"space"===s||"comment"===s);)r.push(e.shift());this.precheckMissedSemicolon(e);for(let n=e.length-1;n>=0;n--){if(l=e[n],"!important"===l[1].toLowerCase()){a.important=!0;let t=this.stringFrom(e,n);t=this.spacesFromEnd(e)+t," !important"!==t&&(a.raws.important=t);break}if("important"===l[1].toLowerCase()){let t=e.slice(0),l="";for(let e=n;e>0;e--){let n=t[e][0];if(l.trim().startsWith("!")&&"space"!==n)break;l=t.pop()[1]+l}l.trim().startsWith("!")&&(a.important=!0,a.raws.important=l,e=t)}if("space"!==l[0]&&"comment"!==l[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(a.raws.between+=r.map(e=>e[1]).join(""),r=[]),this.raw(a,"value",r.concat(e),t),a.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,a=!1,l=null,o=[],s=e[1].startsWith("--"),r=[],i=e;for(;i;){if(n=i[0],r.push(i),"("===n||"["===n)l||(l=i),o.push("("===n?")":"]");else if(s&&a&&"{"===n)l||(l=i),o.push("}");else if(0===o.length){if(";"===n){if(a)return void this.decl(r,s);break}if("{"===n)return void this.rule(r);if("}"===n){this.tokenizer.back(r.pop()),t=!0;break}":"===n&&(a=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(l=null));i=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(l),t&&a){if(!s)for(;r.length&&(i=r[r.length-1][0],"space"===i||"comment"===i);)this.tokenizer.back(r.pop());this.decl(r,s)}else this.unknownWord(r)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,a){let l,o,r,i,u=n.length,c="",d=!0;for(let p=0;p<u;p+=1)l=n[p],o=l[0],"space"!==o||p!==u-1||a?"comment"===o?(i=n[p-1]?n[p-1][0]:"empty",r=n[p+1]?n[p+1][0]:"empty",s[i]||s[r]||","===c.slice(-1)?d=!1:c+=l[1]):c+=l[1]:d=!1;if(!d){let a=n.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:a,value:c}}e[t]=c}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let a=t;a<e.length;a++)n+=e[a][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}();function a(e,a){let l=new t(e,a),o=new n(l);try{o.parse()}catch(yD){throw yD}return o.root}return hg=a,a.default=a,e.registerParse(a),hg}function zg(){if(wg)return gg;wg=1;class e{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let n in t)this[n]=t[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return gg=e,e.default=e,gg}function Yg(){if(bg)return vg;bg=1;let e=zg();class t{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let a=new e(t,n);return this.messages.push(a),a}warnings(){return this.messages.filter(e=>"warning"===e.type)}}return vg=t,t.default=t,vg}function Gg(){if(kg)return yg;kg=1;let e=Eg(),t=Ng(),n=jg(),a=Wg(),l=Yg(),o=Hg(),s=Im(),{isClean:r,my:i}=Pg();const u={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},c={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0};function p(e){return"object"==typeof e&&"function"==typeof e.then}function f(e){let t=!1,n=u[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function h(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:f(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function m(e){return e[r]=!1,e.nodes&&e.nodes.forEach(e=>m(e)),e}let g={};class w{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(t,n,o){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof n||null===n||"root"!==n.type&&"document"!==n.type)if(n instanceof w||n instanceof l)s=m(n.root),n.map&&(void 0===o.map&&(o.map={}),o.map.inline||(o.map.inline=!1),o.map.prev=n.map);else{let t=a;o.syntax&&(t=o.syntax.parse),o.parser&&(t=o.parser),t.parse&&(t=t.parse);try{s=t(n,o)}catch(r){this.processed=!0,this.error=r}s&&!s[i]&&e.rebuild(s)}else s=m(n);this.result=new l(t,s,o),this.helpers={...g,postcss:g,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(a){console&&console.error}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!c[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[n])if("object"==typeof t[n])for(let a in t[n])e(t,"*"===a?n:n+"-"+a.toLowerCase(),t[n][a]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let n=this.plugins[t],a=this.runOnRoot(n);if(p(a))try{await a}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[h(e)];for(;t.length>0;){let e=this.visitTick(t);if(p(e))try{await e}catch(yD){let n=t[t.length-1].node;throw this.handleError(yD,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(yD){throw this.handleError(yD)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return p(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let a=this.result.root.source;if(void 0===e.map&&!(a&&a.input&&a.input.map)){let e="";return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let l=new n(t,this.result.root,this.result.opts).generate();return this.result.css=l[0],this.result.map=l[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(p(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,a]of e){let e;this.result.lastPlugin=n;try{e=a(t,this.helpers)}catch(yD){throw this.handleError(yD,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(p(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:a}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(a.length>0&&t.visitorIndex<a.length){let[e,l]=a[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===a.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return l(n.toProxy(),this.helpers)}catch(yD){throw this.handleError(yD,n)}}if(0!==t.iterator){let a,l=t.iterator;for(;a=n.nodes[n.indexes[l]];)if(n.indexes[l]+=1,!a[r])return a[r]=!0,void e.push(h(a));t.iterator=0,delete n.indexes[l]}let l=t.events;for(;t.eventIndex<l.length;){let e=l[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[r]=!0;let t=f(e);for(let n of t)if(0===n)e.nodes&&e.each(e=>{e[r]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return w.registerPostcss=e=>{g=e},yg=w,w.default=w,o.registerLazyResult(w),t.registerLazyResult(w),yg}function Kg(){if(Mg)return Cg;Mg=1;let e=Rg(),t=$g(),n=Eg(),a=Om(),l=Ig(),o=Ng(),s=function(){if(rg)return sg;rg=1;let e=Rg(),t=$g(),n=Ig(),a=Fg(),l=Vg(),o=Hg(),s=qg();function r(i,u){if(Array.isArray(i))return i.map(e=>r(e));let{inputs:c,...d}=i;if(c){u=[];for(let e of c){let t={...e,__proto__:a.prototype};t.map&&(t.map={...t.map,__proto__:l.prototype}),u.push(t)}}if(d.nodes&&(d.nodes=i.nodes.map(e=>r(e,u))),d.source){let{inputId:e,...t}=d.source;d.source=t,null!=e&&(d.source.input=u[e])}if("root"===d.type)return new o(d);if("decl"===d.type)return new n(d);if("rule"===d.type)return new s(d);if("comment"===d.type)return new t(d);if("atrule"===d.type)return new e(d);throw new Error("Unknown node type: "+i.type)}return sg=r,r.default=r,sg}(),r=Fg(),i=Gg(),u=Ug(),c=Og(),d=Wg(),p=function(){if(Tg)return Sg;Tg=1;let e=Ng(),t=Gg(),n=function(){if(xg)return _g;xg=1;let e=jg(),t=Wg(),n=Yg(),a=Im();class l{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,n=t;try{e=n(this._css,this._opts)}catch(a){this.error=a}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,l,o){l=l.toString(),this.stringified=!1,this._processor=t,this._css=l,this._opts=o,this._map=void 0;let s=a;this.result=new n(this._processor,void 0,this._opts),this.result.css=l;let r=this;Object.defineProperty(this.result,"root",{get:()=>r.root});let i=new e(s,void 0,this._opts,l);if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else i.clearAnnotation(),this.result.css=i.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}return _g=l,l.default=l,_g}(),a=Hg();class l{constructor(e=[]){this.version="8.5.12",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}process(e,a={}){return this.plugins.length||a.parser||a.stringifier||a.syntax?new t(this,e,a):new n(this,e,a)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return Sg=l,l.default=l,a.registerProcessor(l),e.registerProcessor(l),Sg}(),f=Yg(),h=Hg(),m=qg(),g=Im(),w=zg();function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new p(e)}return v.plugin=function(e,t){let n,a=!1;function l(...n){console&&console.warn&&!a&&(a=!0,process.env.LANG&&process.env.LANG.startsWith("cn"));let l=t(...n);return l.postcssPlugin=e,l.postcssVersion=(new p).version,l}return Object.defineProperty(l,"postcss",{get:()=>(n||(n=l()),n)}),l.process=function(e,t,n){return v([l(n)]).process(e,t)},l},v.stringify=g,v.parse=d,v.fromJSON=s,v.list=u,v.comment=e=>new t(e),v.atRule=t=>new e(t),v.decl=e=>new l(e),v.rule=e=>new m(e),v.root=e=>new h(e),v.document=e=>new o(e),v.CssSyntaxError=a,v.Declaration=l,v.Container=n,v.Processor=p,v.Document=o,v.Comment=t,v.Warning=w,v.AtRule=e,v.Result=f,v.Input=r,v.Rule=m,v.Root=h,v.Node=c,i.registerPostcss(v),Cg=v,v.default=v,Cg}function Zg(){if(Ag)return Lg;Ag=1;const e=/* @__PURE__ */fm(),t=um?im:(um=1,im=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),{isPlainObject:n}=function(){if(hm)return wm;function e(e){return"[object Object]"===Object.prototype.toString.call(e)}return hm=1,Object.defineProperty(wm,"__esModule",{value:!0}),wm.isPlainObject=function(t){var n,a;return!1!==e(t)&&(void 0===(n=t.constructor)||!1!==e(a=n.prototype)&&!1!==a.hasOwnProperty("isPrototypeOf"))},wm}(),a=vm(),l=(bm||(bm=1,function(e){var t,n;t=_m,n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,a=t.exec(e.substring(m));if(a)return n=a[0],m+=n.length,n}for(var a,l,o,s,r,i=e.length,u=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,f=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(n(c),m>=i)return g;a=n(d),l=[],","===a.slice(-1)?(a=a.replace(p,""),v()):w()}function w(){for(n(u),o="",s="in descriptor";;){if(r=e.charAt(m),"in descriptor"===s)if(t(r))o&&(l.push(o),o="",s="after descriptor");else{if(","===r)return m+=1,o&&l.push(o),void v();if("("===r)o+=r,s="in parens";else{if(""===r)return o&&l.push(o),void v();o+=r}}else if("in parens"===s)if(")"===r)o+=r,s="in descriptor";else{if(""===r)return l.push(o),void v();o+=r}else if("after descriptor"===s)if(t(r));else{if(""===r)return void v();s="in descriptor",m-=1}m+=1}}function v(){var e,t,n,o,s,r,i,u,c,d=!1,p={};for(o=0;o<l.length;o++)r=(s=l[o])[s.length-1],i=s.substring(0,s.length-1),u=parseInt(i,10),c=parseFloat(i),f.test(i)&&"w"===r?((e||t)&&(d=!0),0===u?d=!0:e=u):h.test(i)&&"x"===r?((e||t||n)&&(d=!0),c<0?d=!0:t=c):f.test(i)&&"h"===r?((n||t)&&(d=!0),0===u?d=!0:n=u):d=!0;d?console&&console.log:(p.url=a,e&&(p.w=e),t&&(p.d=t),n&&(p.h=n),g.push(p))}}},e.exports?e.exports=n():t.parseSrcset=n()}(km)),km.exports),{parse:o}=Kg(),s=["img","audio","video","picture","svg","object","map","iframe","embed"],r=["script","style"];function i(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function u(e,t){return{}.hasOwnProperty.call(e,t)}function c(e,t){const n=[];return i(e,function(e){t(e)&&n.push(e)}),n}Lg=p;const d=/^[^\0\t\n\f\r /<=>]+$/;function p(h,m,g){if(null==h)return"";"number"==typeof h&&(h=h.toString());let w="",v="";function b(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=w.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){D.length&&(D[D.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){D.length&&s.includes(this.tag)&&D[D.length-1].mediaChildren.push(this.tag)}}(m=Object.assign({},p.defaults,m)).parser=Object.assign({},f,m.parser);const y=function(e){return!1===m.allowedTags||(m.allowedTags||[]).indexOf(e)>-1};r.forEach(function(e){y(e)&&m.allowVulnerableTags});const k=m.nonTextTags||["script","style","textarea","option"];let _,x;m.allowedAttributes&&(_={},x={},i(m.allowedAttributes,function(e,n){_[n]=[];const a=[];e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?a.push(t(e).replace(/\\\*/g,".*")):_[n].push(e)}),a.length&&(x[n]=new RegExp("^("+a.join("|")+")$"))}));const S={},T={},C={};i(m.allowedClasses,function(e,n){if(_&&(u(_,n)||(_[n]=[]),_[n].push("class")),S[n]=e,Array.isArray(e)){const a=[];S[n]=[],C[n]=[],e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?a.push(t(e).replace(/\\\*/g,".*")):e instanceof RegExp?C[n].push(e):S[n].push(e)}),a.length&&(T[n]=new RegExp("^("+a.join("|")+")$"))}});const M={};let L,A,D,P,O,$,I;i(m.transformTags,function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=p.simpleTransform(e)),"*"===t?L=n:M[t]=n});let E=!1;N();const R=new e.Parser({onopentag:function(e,t){if(m.onOpenTag&&m.onOpenTag(e,t),m.enforceHtmlBoundary&&"html"===e&&N(),$)return void I++;const s=new b(e,t);D.push(s);let r=!1;const p=!!s.text;let f;if(u(M,e)&&(f=M[e](e,t),s.attribs=t=f.attribs,void 0!==f.text&&(s.innerText=f.text),e!==f.tagName&&(s.name=e=f.tagName,O[A]=f.tagName)),L&&(f=L(e,t),s.attribs=t=f.attribs,e!==f.tagName&&(s.name=e=f.tagName,O[A]=f.tagName)),(!y(e)||"recursiveEscape"===m.disallowedTagsMode&&!function(e){for(const t in e)if(u(e,t))return!1;return!0}(P)||null!=m.nestingLimit&&A>=m.nestingLimit)&&(r=!0,P[A]=!0,"discard"!==m.disallowedTagsMode&&"completelyDiscard"!==m.disallowedTagsMode||-1!==k.indexOf(e)&&($=!0,I=1)),A++,r){if("discard"===m.disallowedTagsMode||"completelyDiscard"===m.disallowedTagsMode){if(s.innerText&&!p){const t=B(s.innerText);m.textFilter?w+=m.textFilter(t,e):w+=t,E=!0}return}v=w,w=""}w+="<"+e,"script"===e&&(m.allowedScriptHostnames||m.allowedScriptDomains)&&(s.innerText=""),r&&("escape"===m.disallowedTagsMode||"recursiveEscape"===m.disallowedTagsMode)&&m.preserveEscapedAttributes?i(t,function(e,t){w+=" "+t+'="'+B(e||"",!0)+'"'}):(!_||u(_,e)||_["*"])&&i(t,function(t,r){if(!d.test(r))return void delete s.attribs[r];if(""===t&&!m.allowedEmptyAttributes.includes(r)&&(m.nonBooleanAttributes.includes(r)||m.nonBooleanAttributes.includes("*")))return void delete s.attribs[r];let i=!1;if(!_||u(_,e)&&-1!==_[e].indexOf(r)||_["*"]&&-1!==_["*"].indexOf(r)||u(x,e)&&x[e].test(r)||x["*"]&&x["*"].test(r))i=!0;else if(_&&_[e])for(const a of _[e])if(n(a)&&a.name&&a.name===r){i=!0;let e="";if(!0===a.multiple){const n=t.split(" ");for(const t of n)-1!==a.values.indexOf(t)&&(""===e?e=t:e+=" "+t)}else a.values.indexOf(t)>=0&&(e=t);t=e}if(i){if(-1!==m.allowedSchemesAppliedToAttributes.indexOf(r)&&V(e,t))return void delete s.attribs[r];if("script"===e&&"src"===r){let e=!0;try{const n=F(t);if(m.allowedScriptHostnames||m.allowedScriptDomains){const t=(m.allowedScriptHostnames||[]).find(function(e){return e===n.url.hostname}),a=(m.allowedScriptDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=t||a}}catch(yD){e=!1}if(!e)return void delete s.attribs[r]}if("iframe"===e&&"src"===r){let e=!0;try{const n=F(t);if(n.isRelativeUrl)e=u(m,"allowIframeRelativeUrls")?m.allowIframeRelativeUrls:!m.allowedIframeHostnames&&!m.allowedIframeDomains;else if(m.allowedIframeHostnames||m.allowedIframeDomains){const t=(m.allowedIframeHostnames||[]).find(function(e){return e===n.url.hostname}),a=(m.allowedIframeDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=t||a}}catch(yD){e=!1}if(!e)return void delete s.attribs[r]}if("srcset"===r)try{let e=l(t);if(e.forEach(function(e){V("srcset",e.url)&&(e.evil=!0)}),e=c(e,function(e){return!e.evil}),!e.length)return void delete s.attribs[r];t=c(e,function(e){return!e.evil}).map(function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", "),s.attribs[r]=t}catch(yD){return void delete s.attribs[r]}if("class"===r){const n=S[e],l=S["*"],o=T[e],i=C[e],u=C["*"],c=[o,T["*"]].concat(i,u).filter(function(e){return e});if(!(p=t,f=n&&l?a(n,l):n||l,h=c,t=f?(p=p.split(/\s+/)).filter(function(e){return-1!==f.indexOf(e)||h.some(function(t){return t.test(e)})}).join(" "):p).length)return void delete s.attribs[r]}if("style"===r)if(m.parseStyleAttributes)try{if(t=function(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e},[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let l;return l=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],l&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return u(e,n.prop)&&e[n.prop].some(function(e){return e.test(n.value)})&&t.push(n),t}}(l),[])),e}(o(e+" {"+t+"}",{map:!1}),m.allowedStyles)),0===t.length)return void delete s.attribs[r]}catch(yD){return void delete s.attribs[r]}else if(m.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");w+=" "+r,t&&t.length?w+='="'+B(t,!0)+'"':m.allowedEmptyAttributes.includes(r)&&(w+='=""')}else delete s.attribs[r];var p,f,h}),-1!==m.selfClosing.indexOf(e)?w+=" />":(w+=">",!s.innerText||p||m.textFilter||(w+=B(s.innerText),E=!0)),r&&(w=v+B(w),v=""),s.openingTagLength=w.length-s.tagPosition},ontext:function(e){if($)return;const t=D[D.length-1];let n;if(t&&(n=t.tag,e=void 0!==t.innerText?t.innerText:e),"completelyDiscard"!==m.disallowedTagsMode||y(n))if("discard"!==m.disallowedTagsMode&&"completelyDiscard"!==m.disallowedTagsMode||"script"!==n&&"style"!==n){if(!E){const t=B(e,!1);m.textFilter?w+=m.textFilter(t,n):w+=t}}else w+=e;else e="";D.length&&(D[D.length-1].text+=e)},onclosetag:function(e,t){if(m.onCloseTag&&m.onCloseTag(e,t),$){if(I--,I)return;$=!1}const n=D.pop();if(!n)return;if(n.tag!==e)return void D.push(n);$=!!m.enforceHtmlBoundary&&"html"===e,A--;const a=P[A];if(a){if(delete P[A],"discard"===m.disallowedTagsMode||"completelyDiscard"===m.disallowedTagsMode)return void n.updateParentNodeText();v=w,w=""}if(O[A]&&(e=O[A],delete O[A]),m.exclusiveFilter){const e=m.exclusiveFilter(n);if("excludeTag"===e)return a&&(w=v,v=""),void(w=w.substring(0,n.tagPosition)+w.substring(n.tagPosition+n.openingTagLength));if(e)return void(w=w.substring(0,n.tagPosition))}n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==m.selfClosing.indexOf(e)||t&&!y(e)&&["escape","recursiveEscape"].indexOf(m.disallowedTagsMode)>=0?a&&(w=v,v=""):(w+="</"+e+">",a&&(w=v+B(w),v=""),E=!1)}},m.parser);return R.write(h),R.end(),w;function N(){w="",A=0,D=[],P={},O={},$=!1,I=0}function B(e,t){return"string"!=typeof e&&(e+=""),m.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),t&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),t&&(e=e.replace(/"/g,"&quot;")),e}function V(e,t){for(t=t.replace(/[\x00-\x20]+/g,"");;){const e=t.indexOf("\x3c!--");if(-1===e)break;const n=t.indexOf("--\x3e",e+4);if(-1===n)break;t=t.substring(0,e)+t.substring(n+3)}const n=t.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!t.match(/^[/\\]{2}/)&&!m.allowProtocolRelative;const a=n[1].toLowerCase();return u(m.allowedSchemesByTag,e)?-1===m.allowedSchemesByTag[e].indexOf(a):!m.allowedSchemes||-1===m.allowedSchemes.indexOf(a)}function F(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let a=0;a<100;a++)t+=`/${a}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const f={decodeEntities:!0};return p.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},p.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(a,l){let o;if(n)for(o in t)l[o]=t[o];else l=t;return{tagName:e,attribs:l}}},Lg}const Qg=/* @__PURE__ */Ae(/* @__PURE__ */Zg()),Xg=["innerHTML"],Jg={__name:"SafeHTML",props:{unsafeHTML:{type:String,default:""},allowedTags:{type:Array,default:()=>["b","i","em","strong","a","p","br","span","code","pre"]},allowedAttributes:{type:Object,default:()=>({a:["href","target","rel","class"],span:["class","data-tooltip","title"],strong:["class"],p:["class"],b:["class"],i:["class"],em:["class"],code:["class"],pre:["class"],"*":["style","role","aria-labelledby","aria-label"]})},allowedStyles:{type:Object,default:()=>({"*":{color:[/^#(0x)?[0-9a-f]+$/i,/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/]}})},additionalTags:{type:Array,default:()=>[]},additionalAttributes:{type:Object,default:()=>({})},additionalStyles:{type:Object,default:()=>({})}},setup(e){const{$hasOwn:t,$structuredClone:l}=ai(),o=e,{allowedTags:s,allowedAttributes:i,allowedStyles:u,additionalTags:d,additionalAttributes:p,additionalStyles:f}=c(o),h=n(()=>g(m,d.value,p.value,f.value)),m=()=>({allowedTags:l(s.value),allowedAttributes:l(i.value),allowedStyles:l(u.value)}),g=(e,n,a,o)=>{const s=e();return s.allowedTags.push(...n),Object.keys(a).forEach(e=>{const t=s.allowedAttributes[e]??[];s.allowedAttributes[e]=[...t,...a[e]]}),Object.keys(o).forEach(e=>{const n=o[e];t(s.allowedStyles,e)?Object.keys(n).forEach(a=>{t(s.allowedStyles[e],a)||(s.allowedStyles[e][a]=[]),s.allowedStyles[e][a].push(...n[a])}):s.allowedStyles[e]=l(n)}),s};return(t,n)=>(a(),r("span",{innerHTML:w(Qg)(e.unsafeHTML,h.value)},null,8,Xg))}},ew={class:"wf-padding-add-left-small"},tw=["href","target","rel"],nw={__name:"ModalButton",props:{isPrimary:{default:!1},enabled:{default:!0},href:{type:[String,null],default:null,required:!1},buttonType:{type:[String,null],default:null,required:!1},target:{type:[String,null],default:null,required:!1},rel:{type:[String,null],default:null,required:!1}},emits:["click"],setup(e,{emit:t}){const l=t,o=e,{isPrimary:s,enabled:i,href:u,buttonType:d}=c(o),p=n(()=>{let e=[];return e.push("wf-btn"),d.value?e.push(d.value):(s.value&&e.push("wf-btn-primary"),e.push("wf-btn-default")),e.push("wf-btn-callout-subtle"),i.value||e.push("wf-disabled"),e}),f=n(()=>i.value?u.value??"#":"#"),m=e=>{if(!i.value)return e.preventDefault(),void e.stopPropagation();u.value||(e.preventDefault(),e.stopPropagation(),l("click"))};return(t,n)=>{const l=h("aria");return a(),r("li",ew,[_((a(),r("a",{href:f.value,class:k(p.value),target:e.target,rel:e.rel,onClick:m},[I(t.$slots,"default")],10,tw)),[[l,{disabled:!w(i)}]])])}}},aw="simple-confirmation-modal",lw={__name:"SimpleConfirmationModal",props:{show:{type:Boolean,default:!1},title:{type:String,required:!0},titleIsHtml:{type:Boolean,default:!1},message:{type:String,required:!0},messageIsHtml:{type:Boolean,default:!1},options:{type:Object,default:()=>({})}},setup(e){const t=u("__"),d=u("$mitt");S("modalName",aw);const p=e,{options:f}=c(p),h=()=>{d.emit("closeModal",aw),"function"==typeof f.value.onClosed&&f.value.onClosed()},y=n(()=>f.value.additionalButtons??[]);return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},q({"primary-button":s(()=>[M(w(nw),{onClick:h,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:2},[e.titleIsHtml?{name:"header",fn:s(()=>[v("strong",null,[M(w(Jg),{unsafeHTML:e.title},null,8,["unsafeHTML"])])]),key:"0"}:{name:"header",fn:s(()=>[v("strong",null,b(e.title),1)]),key:"1"},e.messageIsHtml?{name:"body",fn:s(()=>[M(w(Jg),{unsafeHTML:e.message},null,8,["unsafeHTML"])]),key:"2"}:{name:"body",fn:s(()=>[x(b(e.message),1)]),key:"3"},y.value.length?{name:"secondary-buttons",fn:s(()=>[(a(!0),r(m,null,g(y.value,e=>(a(),l(w(nw),{key:e.title,onClick:e.onClick,"button-type":e.type??null},{default:s(()=>[x(b(e.title),1)]),_:2},1032,["onClick","button-type"]))),128))]),key:"4"}:void 0]),1024)):i("",!0)]),_:1}))}},ow="restore-defaults-modal",sw={__name:"RestoreDefaultsModal",props:{show:{type:Boolean,default:!1},section:{type:String,required:!0},sectionTitle:{type:[String,null]}},setup(e){const t=u("__"),r=u("$mitt"),d=u("sprintf"),{$ajax:p,$ajaxErrorMessage:f}=yi(),{$modalNotice:h}=Ii();S("modalName",ow);const m=e,{section:g,sectionTitle:y}=c(m),k=n(()=>y.value?d(t("Are you sure you want to restore the default %s settings? This will undo any custom changes you have made to the options on this page."),y.value):t("Are you sure you want to restore the default settings? This will undo any custom changes you have made to the options on this page.","wordfence")),_=()=>{p("wordfence_restoreDefaults",{section:g.value},e=>{e.success&&window.location.reload(!0)},e=>{r.emit("closeModal",ow),P(()=>h(t("Error Restoring Defaults"),f(e)))})};return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Confirm Restore Defaults")),1)]),body:s(()=>[x(b(k.value),1)]),"primary-button":s(()=>[M(w(nw),{onClick:u[0]||(u[0]=e=>w(r).emit("closeModal",ow)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),"secondary-buttons":s(()=>[M(w(nw),{onClick:_,"button-type":"wf-btn-danger"},{default:s(()=>[M(w(Ic),{text:w(t)("Restore Defaults"),xs:w(t)("Restore")},null,8,["text","xs"])]),_:1})]),_:1})):i("",!0)]),_:1}))}},rw={__name:"OnboardingDelayModal",props:{show:{type:Boolean,default:!1}},setup(e){const t=u("__");S("modalName","onboarding-delay-modal");const n=()=>{window.location.reload(!0)};return(r,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Notice Dismissed")),1)]),body:s(()=>[x(b(w(t)("You will be reminded again in 12 hours.")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:n,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},iw={__name:"OnboardingDelayErrorModal",props:{show:{type:Boolean,default:!1}},setup(e){const t=u("__");S("modalName","onboarding-delay-error-modal");const n=()=>{window.location.reload(!0)};return(r,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Error")),1)]),body:s(()=>[x(b(w(t)("An unexpected error occurred while attempting to dismiss the notice. Please try again.")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:n,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},uw={key:0,class:"wf-license-in-use-warning"},cw={__name:"OnboardingLicenseTypeSuccessModal",props:{show:{type:Boolean,default:!1},licenseType:{type:String,required:!0},showInUse:{type:Boolean,default:!1}},setup(e){const t=u("__"),c=u("sprintf"),d=u("wfconstants");S("modalName","onboarding-license-type-success-modal");const p=e,f=n(()=>{switch(p.licenseType){case d.license.types.response:return t("Response License Installed");case d.license.types.care:return t("Care License Installed");case d.license.types.premium:return t("Premium License Installed")}return t("Free License Installed")}),h=n(()=>{switch(p.licenseType){case d.license.types.response:return t("Congratulations! Wordfence Response is now active on your website. Please note that some Response features are not enabled by default.");case d.license.types.care:return t("Congratulations! Wordfence Care is now active on your website. Please note that some Care features are not enabled by default.");case d.license.types.premium:return t("Congratulations! Wordfence Premium is now active on your website. Please note that some Premium features are not enabled by default.")}return t("Congratulations! Wordfence Free is now active on your website.")});return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,noX:!0},{header:s(()=>[v("strong",null,b(f.value),1)]),body:s(()=>[v("p",null,b(h.value),1),e.showInUse?(a(),r("div",uw,[v("p",null,b(w(t)("This key may already be used on several sites. To avoid scan scheduling issues and other problems, you should get a new key or remove it from the other sites.")),1),v("p",null,[M(w(Jg),{unsafeHTML:w(c)(w(t)('You can <a class="wf-onboarding-link" href="%s" target="_blank">get a new free license<span class="screen-reader-text">(opens in new tab)</span></a> for this site directly, or click the "Get a free license" button at the top of the Licenses page when logged in to wordfence.com if you need more than one.'),w(d).plugin.onboarding.registration_link)},null,8,["unsafeHTML"])])])):i("",!0)]),"primary-button":s(()=>[M(w(nw),{href:w(d).plugin.url.dashboard,"is-primary":!0},{default:s(()=>[x(b(w(t)("Go To Dashboard")),1)]),_:1},8,["href"])]),_:1})):i("",!0)]),_:1}))}},dw="onboarding-license-failure-modal",pw={__name:"OnboardingLicenseFailureModal",props:{show:{type:Boolean,default:!1}},setup(e){const t=u("__"),n=u("$mitt");S("modalName",dw);const r=()=>{n.emit("closeModal",dw)};return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,noX:!0},{header:s(()=>[v("strong",null,b(w(t)("Error Installing License")),1)]),body:s(()=>[v("p",null,b(w(t)("An error occurred while installing your license key.")),1),v("p",null,[M(w(Jg),{unsafeHTML:w(t)('Please try again. If the problem persists, please <a href="https://www.wordfence.com/help/api-key" target="_blank" rel="noopener noreferrer">contact Wordfence Support<span class="screen-reader-text">(opens in new tab)</span></a>')},null,8,["unsafeHTML"])])]),"primary-button":s(()=>[M(w(nw),{onClick:r,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},fw={__name:"CommonModals",setup(t){const l=u("$mitt"),{$hasOwn:o}=ai(),s=e({"simple-confirmation-modal":{show:!1,title:"",titleIsHTML:!1,message:"",messageIsHTML:!1,options:{},configurator:e=>{s[e.name].title=e.title,s[e.name].titleIsHTML=e.titleIsHTML??!1,s[e.name].message=e.message,s[e.name].messageIsHTML=e.messageIsHTML??!1,s[e.name].options=e.options??{}}},"restore-defaults-modal":{show:!1,section:"",sectionTitle:"",configurator:e=>{s[e.name].section=e.section,s[e.name].sectionTitle=e.sectionTitle}},"onboarding-delay-modal":{show:!1,configurator:e=>{}},"onboarding-delay-error-modal":{show:!1,configurator:e=>{}},"onboarding-license-type-success-modal":{show:!1,licenseType:"",showInUse:!1,configurator:e=>{s[e.name].licenseType=e.licenseType,s[e.name].showInUse=e.showInUse}},"onboarding-license-failure-modal":{show:!1,configurator:e=>{}}}),i=n(()=>Object.values(s).some(e=>e.show));T(()=>{l.on("showModal",c),l.on("closeModal",d)}),D(()=>{l.off("showModal",c),l.off("closeModal",d)});const c=e=>{for(const t of Object.keys(s))t!==e.name&&s[t].show&&(s[t].show=!1);o(s,e.name)&&(s[e.name].configurator(e),s[e.name].show=!0)},d=e=>{o(s,e)&&(s[e].show=!1)};return(e,t)=>(a(),r("div",null,[M(w(Of),{show:i.value},null,8,["show"]),M(w(lw),{show:s["simple-confirmation-modal"].show,title:s["simple-confirmation-modal"].title,titleIsHtml:s["simple-confirmation-modal"].titleIsHTML,message:s["simple-confirmation-modal"].message,messageIsHtml:s["simple-confirmation-modal"].messageIsHTML,options:s["simple-confirmation-modal"].options},null,8,["show","title","titleIsHtml","message","messageIsHtml","options"]),M(w(sw),{show:s["restore-defaults-modal"].show,section:s["restore-defaults-modal"].section,sectionTitle:s["restore-defaults-modal"].sectionTitle},null,8,["show","section","sectionTitle"]),M(w(rw),{show:s["onboarding-delay-modal"].show},null,8,["show"]),M(w(iw),{show:s["onboarding-delay-error-modal"].show},null,8,["show"]),M(w(cw),{show:s["onboarding-license-type-success-modal"].show,licenseType:s["onboarding-license-type-success-modal"].licenseType,showInUse:s["onboarding-license-type-success-modal"].showInUse},null,8,["show","licenseType","showInUse"]),M(w(pw),{show:s["onboarding-license-failure-modal"].show},null,8,["show"])]))}},hw={class:"wf-status-detail"},mw=["id"],gw={class:"wf-status-detail-title"},ww={key:0,class:"wf-status-detail-link"},vw=["href","target","rel"],bw={class:"wf-circle-tooltip-block"},yw={class:"wf-circle-tooltip-header"},kw={class:"wf-circle-tooltip-body wf-flex-vertical wf-flex-align-left wf-flex-full-width"},_w={class:"wf-flex-row"},xw={class:"wf-tooltip-status-circle wf-flex-row-0"},Sw=["id"],Tw=["innerHTML"],Cw={class:"wf-flex-row-1"},Mw=["href"],Lw={class:"wf-flex-row-0"},Aw={class:"wf-flex-row-1"},Dw=["href"],Pw={__name:"StatusRing",props:{percentage:{type:Number,default:0,required:!1},title:{type:String,default:""},subtitle:{type:[String,null],default:null},link:{type:[String,null],default:null},linkLabel:{type:[String,null],default:null},linkNewWindow:{type:Boolean,default:!1},activeColorOverride:{type:[String,null],default:null},inactiveColor:{type:String,default:"#ececec"},size:{type:Number,default:100,required:!1},strokeWidth:{type:Number,default:3,required:!1},statusTitle:{type:String,default:""},statusList:{type:[Array,null],default:null},helpLink:{type:String,default:""}},setup(e){const p=u("$"),h=u("__"),y=u("$mitt"),S=u("$dataStore"),C=e,{percentage:L,activeColorOverride:A,inactiveColor:O,size:$,strokeWidth:E}=c(C),R=j(),N=d("circle"),B=d("circleSVG"),V=d("inactivePath"),U=d("activePath"),q=d("terminator"),W=d("tooltipContent"),z=d("pendingOverlay"),Y=d("tooltipCircleSVG"),G=d("tooltipInactivePath"),K=d("tooltipActivePath"),Z=d("tooltipTerminator");T(()=>{le(B.value,V.value,U.value,q.value),Y.value&&G.value&&K.value&&Z.value&&le(Y.value,G.value,K.value,Z.value),ae(),p(N.value).tooltip({tooltipClass:"wf-circle-tooltip",position:{my:"left-40 bottom",at:"center top",using:function(e,t){p(this).removeClass("wf-tooltip-vertical-top wf-tooltip-vertical-bottom wf-tooltip-horizontal-left wf-tooltip-horizontal-right").addClass("wf-tooltip-vertical-"+t.vertical).addClass("wf-tooltip-horizontal-"+t.horizontal),p(this).css({left:e.left+"px",top:e.top+"px"})}},items:N.value,close:(e,t)=>{t.tooltip.hover(function(){p(this).stop(!0).fadeTo(400,1)},function(){p(this).fadeOut("400",()=>{p(this).remove()})})},content:()=>W.value.innerHTML}),y.on("pendingOptionChanged",X)}),D(()=>{p(N.value).tooltip("destroy"),y.off("pendingOptionChanged",X)});const Q=t(!1),X=e=>{Q.value=Object.keys(S.$pendingOptions).length>0},J=e=>{if(A.value)return A.value;let t="#fcb214";return e<=0?t="#ececec":e<=.5?t="#9e0000":e>=1&&(t="#16bc9b"),t},ee=n(()=>Math.round(100*L.value)),te=t(0),ne=n(()=>Math.round(100*te.value)+"%"),ae=()=>{const e=Math.floor($.value/2),t=e-2*E.value,n=2*t*Math.PI,a=-n*(1-L.value),l=Math.floor(1.5*E.value),o=2*l,s="m 0,-"+l+" a "+l+","+l+" 0 1 1 0,"+o+" a "+l+","+l+" 0 1 1 0,-"+o;p(U.value).animate({"stroke-dashoffset":a+"px"},{duration:500,step:a=>{const l=1+a/n,o=e-t*Math.cos(2*Math.PI*(l-.25)),r=e+t*Math.sin(2*Math.PI*(l-.25));p(q.value).attr("d","M "+o+","+r+" "+s),te.value=l},complete:()=>{te.value=L.value}}),p(K.value).attr("stroke-dashoffset",a+"px");const r=1+a/n,i=e-t*Math.cos(2*Math.PI*(r-.25)),u=e+t*Math.sin(2*Math.PI*(r-.25));p(Z.value).attr("d","M "+i+","+u+" "+s)},le=(e,t,n,a)=>{const l=Math.floor($.value/2),o=l-2*E.value,s=2*o*Math.PI,r=-s,i=Math.floor(1.5*E.value),u=2*i,c=l-o*Math.cos(2*Math.PI*(L.value-.25)),d=l+o*Math.sin(2*Math.PI*(L.value-.25)),f="m 0,-"+i+" a "+i+","+i+" 0 1 1 0,"+u+" a "+i+","+i+" 0 1 1 0,-"+u;p(e).attr("viewBox","0 0 "+$.value+" "+$.value),p(e).css("display","block"),p(e).css("width",$.value+"px"),p(e).css("height",$.value+"px"),p(t).attr("d","M "+l+","+l+" m 0,-"+o+" a "+o+","+o+" 0 1 1 0,"+2*o+" a "+o+","+o+" 0 1 1 0,-"+2*o),p(t).attr("stroke",O.value),p(t).attr("stroke-width",E.value),p(t).attr("fill-opacity",0),p(n).attr("d","M "+l+","+l+" m 0,-"+o+" a "+o+","+o+" 0 1 1 0,"+2*o+" a "+o+","+o+" 0 1 1 0,-"+2*o),p(n).attr("stroke",J(L.value)),p(n).attr("stroke-width",E.value),p(n).attr("stroke-dasharray",s+","+s),p(n).attr("stroke-dashoffset",r),p(n).attr("fill-opacity",0),p(a).attr("d","M "+c+","+d+" "+f),p(a).attr("stroke",J(L.value)),p(a).attr("stroke-width",E.value),p(a).attr("fill","#ffffff")};return f(L,()=>{P(()=>{le(B.value,V.value,U.value,q.value),Y.value&&G.value&&K.value&&Z.value&&le(Y.value,G.value,K.value,Z.value),ae()})}),(t,n)=>(a(),r("div",hw,[v("div",{id:`circle-${w(R).id}`,class:"wf-status-circular",ref_key:"circle",ref:N},[(a(),r("svg",{viewBox:"0 0 100 100",style:H({width:w($)+"px",height:w($)+"px"}),ref_key:"circleSVG",ref:B},[v("path",{class:"wf-status-circular-inactive-path",ref_key:"inactivePath",ref:V,d:""},null,512),v("path",{class:"wf-status-circular-active-path",ref_key:"activePath",ref:U,d:""},null,512),v("path",{class:"wf-status-circular-terminator",ref_key:"terminator",ref:q,d:""},null,512)],4)),v("div",{class:"wf-status-circular-text",ref:"circleText"},b(ne.value),513),M(o,{name:"wf-fade"},{default:s(()=>[Q.value?(a(),r("div",{key:0,class:"wf-status-overlay-text",ref_key:"pendingOverlay",ref:z},[I(t.$slots,"pendingMessage",{},()=>[x(b(w(h)("Note: Status will update when changes are saved")),1)])],512)):i("",!0)]),_:3})],8,mw),v("p",gw,[I(t.$slots,"title",{},()=>[x(b(e.title),1)])]),v("p",{class:k(["wf-status-detail-subtitle",{"wf-no-bottom":!e.linkLabel}])},[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])],2),e.linkLabel?(a(),r("p",ww,[v("a",{href:e.link,target:e.linkNewWindow?"_blank":null,rel:e.linkNewWindow?"noopener noreferrer":null},[e.linkNewWindow?(a(),l(w(Bi),{key:0})):i("",!0),x(b(e.linkLabel),1)],8,vw)])):i("",!0),_(v("div",{ref_key:"tooltipContent",ref:W},[I(t.$slots,"tooltip",{},()=>[v("div",bw,[v("div",yw,[v("h4",null,b(e.statusTitle),1)]),v("div",kw,[I(t.$slots,"statusExtra"),v("div",_w,[v("div",xw,[v("div",{id:`tooltip-circle-${w(R).id}`,class:"wf-status-circular",ref:"tooltipCircle"},[(a(),r("svg",{viewBox:"0 0 100 100",style:H({width:w($)+"px",height:w($)+"px"}),ref_key:"tooltipCircleSVG",ref:Y},[v("path",{class:"wf-status-circular-inactive-path",ref_key:"tooltipInactivePath",ref:G,d:""},null,512),v("path",{class:"wf-status-circular-active-path",ref_key:"tooltipActivePath",ref:K,d:""},null,512),v("path",{class:"wf-status-circular-terminator",ref_key:"tooltipTerminator",ref:Z,d:""},null,512)],4)),v("div",{class:"wf-status-circular-text",ref:"tooltipCircleText"},b(ee.value)+"%",513),Q.value?(a(),r("div",{key:0,class:"wf-status-overlay-text",ref:"tooltipPendingOverlay",innerHTML:z.value?.innerHTML},null,8,Tw)):i("",!0)],8,Sw)]),v("div",Cw,[100!==ee.value&&e.statusList?(a(),r(m,{key:1},[v("h4",null,b(w(h)("How do I get to 100%?")),1),v("ul",null,[(a(!0),r(m,null,g(e.statusList,e=>(a(),r("li",{class:"wf-flex-row",key:e.title},[v("strong",Lw,b(Math.round(100*e.percentage))+"%",1),v("span",Aw,b(e.title),1)]))),128))]),v("p",null,[v("a",{target:"_blank",rel:"noopener noreferrer",href:e.helpLink},[x(b(w(h)("How does Wordfence determine this?")),1),M(w(Bi))],8,Dw)])],64)):(a(),r(m,{key:0},[v("p",null,[v("strong",null,b(w(h)("Congratulations!")),1),x(" "+b(w(h)("You've optimized configurations for this feature! If you want to learn more about how this score is determined, click the link below.")),1)]),v("p",null,[v("a",{target:"_blank",rel:"noopener noreferrer",href:e.helpLink},[x(b(w(h)("How does Wordfence determine this?")),1),M(w(Bi))],8,Mw)])],64))])])])])])],512),[[F,!1]])]))}},Ow={class:"wf-status-detail"},$w={class:"wf-status-detail-title"},Iw={class:"wf-status-detail-subtitle"},Ew={class:"wf-status-detail-link"},Rw=["href","target","rel"],Nw={__name:"StatusCritical",props:{title:{type:String},subtitle:{type:String,default:""},link:{type:[String,null],default:null},linkLabel:{type:[String,null],default:null},linkNewWindow:{type:Boolean,default:!1}},setup:e=>(t,n)=>(a(),r("div",Ow,[n[0]||(n[0]=v("div",{class:"wf-status-critical"},[v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 116.93 108.46"},[v("path",{d:"M115.82,96.14,65.76,4.37a8.33,8.33,0,0,0-3.06-3.2,8.24,8.24,0,0,0-8.47,0,8.34,8.34,0,0,0-3.07,3.2L1.11,96.14a7.78,7.78,0,0,0,.13,8.21,8.16,8.16,0,0,0,3,3,8.13,8.13,0,0,0,4.14,1.11H108.52a8.36,8.36,0,0,0,7.17-4.11,7.78,7.78,0,0,0,.13-8.21Zm-49-6.52a2.09,2.09,0,0,1-.62,1.53,2,2,0,0,1-1.46.62H52.21a2,2,0,0,1-1.46-.62,2.08,2.08,0,0,1-.62-1.53V77.24a2.08,2.08,0,0,1,.62-1.53,2,2,0,0,1,1.46-.62H64.72a2,2,0,0,1,1.47.62,2.09,2.09,0,0,1,.62,1.53V89.62Zm-.13-24.37A1.45,1.45,0,0,1,66,66.32a2.66,2.66,0,0,1-1.53.42H52.4a2.81,2.81,0,0,1-1.56-.42,1.25,1.25,0,0,1-.65-1.08L49.08,35.46a1.56,1.56,0,0,1,.65-1.37,2.52,2.52,0,0,1,1.56-.72H65.64a2.51,2.51,0,0,1,1.57.72,1.43,1.43,0,0,1,.65,1.24Zm0,0"})])],-1)),v("p",$w,[I(t.$slots,"title",{},()=>[x(b(e.title),1)])]),v("p",Iw,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])]),v("p",Ew,[e.linkLabel?(a(),r("a",{key:0,href:e.link,target:e.linkNewWindow?"_blank":null,rel:e.linkNewWindow?"noopener noreferrer":null},[x(b(e.linkLabel),1),M(w(Bi))],8,Rw)):i("",!0)])]))},Bw={class:"wf-status-detail"},Vw={class:"wf-status-detail-title"},Fw={class:"wf-status-detail-subtitle"},Hw={class:"wf-status-detail-link"},Uw=["href","target","rel"],qw={__name:"StatusPaymentExpiring",props:{title:{type:String},subtitle:{type:String,default:""},link:{type:[String,null],default:null},linkLabel:{type:[String,null],default:null},linkNewWindow:{type:Boolean,default:!1}},setup:e=>(t,n)=>(a(),r("div",Bw,[n[0]||(n[0]=U('<div class="wf-status-payment-expiring"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 644"><g><path style="fill:none;" d="M66.3,269.5v205.4c0,2.9,1.1,5.5,3.2,7.6c2.1,2.1,4.7,3.2,7.6,3.2h413.6c8.8-72,65.8-129.1,137.8-138v-78.2\n\t\tH66.3z M196,442.4h-86.5l0-43.2H196V442.4z M369,442.4H239.3v-43.2H369V442.4z"></path><path style="fill:none;" d="M628.4,64.1c0-2.9-1.1-5.4-3.2-7.6c-2.1-2.1-4.7-3.2-7.6-3.2H77.1c-2.9,0-5.5,1.1-7.6,3.2s-3.2,4.7-3.2,7.6\n\t\tv75.7h562.1V64.1z"></path><g><path style="fill:none;" d="M617.6,53.3H77.1c-2.9,0-5.5,1.1-7.6,3.2s-3.2,4.7-3.2,7.6v75.7h562.1V64.1c0-2.9-1.1-5.4-3.2-7.6\n\t\t\tC623.1,54.3,620.5,53.3,617.6,53.3z"></path><path d="M655.8,25.9C645.2,15.3,632.5,10,617.6,10H77.1c-14.9,0-27.6,5.3-38.2,15.9C28.3,36.5,23,49.2,23,64.1v410.8\n\t\t\tc0,14.9,5.3,27.6,15.9,38.2c10.6,10.6,23.3,15.9,38.2,15.9h414.1c-1.2-7.8-1.8-15.8-1.8-23.9c0-6.5,0.4-13,1.2-19.3H77.1\n\t\t\tc-2.9,0-5.5-1.1-7.6-3.2c-2.1-2.1-3.2-4.7-3.2-7.6V269.5h562.1v78.2c6.4-0.8,12.9-1.2,19.5-1.2c8.1,0,16,0.6,23.7,1.8V64.1\n\t\t\tC671.7,49.2,666.4,36.5,655.8,25.9z M628.4,139.7H66.3V64.1c0-2.9,1.1-5.4,3.2-7.6s4.7-3.2,7.6-3.2h540.5c2.9,0,5.5,1.1,7.6,3.2\n\t\t\tc2.1,2.1,3.2,4.7,3.2,7.6V139.7z"></path><rect x="109.5" y="399.2" width="86.5" height="43.2"></rect><rect x="239.3" y="399.2" width="129.7" height="43.2"></rect></g><g><path d="M759.7,440.3c-11.5-19.8-27.2-35.4-46.9-46.9C693,381.8,671.4,376,648,376s-45,5.8-64.7,17.3\n\t\t\tc-19.8,11.5-35.4,27.2-46.9,46.9C524.8,460,519,481.6,519,505c0,23.4,5.8,45,17.3,64.7c11.5,19.8,27.2,35.4,46.9,46.9\n\t\t\tC603,628.2,624.6,634,648,634s45-5.8,64.7-17.3c19.8-11.5,35.4-27.2,46.9-46.9C771.2,550,777,528.4,777,505\n\t\t\tC777,481.6,771.2,460,759.7,440.3L759.7,440.3z M669.5,585.5c0,1.6-0.5,2.9-1.5,3.9c-1,1.1-2.2,1.6-3.7,1.6H632\n\t\t\tc-1.5,0-2.7-0.6-3.9-1.7c-1.1-1.1-1.7-2.4-1.7-3.9v-31.9c0-1.5,0.6-2.7,1.7-3.9c1.1-1.1,2.4-1.7,3.9-1.7h32.2\n\t\t\tc1.5,0,2.7,0.5,3.7,1.6c1,1.1,1.5,2.4,1.5,3.9V585.5z M669.1,527.7c-0.1,1.1-0.7,2.1-1.8,2.9c-1.1,0.8-2.4,1.3-3.9,1.3h-31.1\n\t\t\tc-1.6,0-2.9-0.4-4-1.3c-1.1-0.8-1.7-1.8-1.7-2.9l-2.9-104.3c0-1.3,0.6-2.3,1.7-3c1.1-0.9,2.5-1.3,4-1.3h36.9c1.6,0,2.9,0.5,4,1.3\n\t\t\tc1.1,0.7,1.7,1.7,1.7,3L669.1,527.7z M669.1,527.7"></path></g></g></svg></div>',1)),v("p",Vw,[I(t.$slots,"title",{},()=>[x(b(e.title),1)])]),v("p",Fw,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])]),v("p",Hw,[e.linkLabel?(a(),r("a",{key:0,href:e.link,target:e.linkNewWindow?"_blank":null,rel:e.linkNewWindow?"noopener noreferrer":null},[x(b(e.linkLabel),1),M(w(Bi))],8,Uw)):i("",!0)])]))},jw={class:"wf-status-detail"},Ww={class:"wf-status-detail-title"},zw={class:"wf-status-detail-subtitle"},Yw={class:"wf-status-detail-link"},Gw=["href","target","rel"],Kw={__name:"StatusRenewing",props:{title:{type:String},subtitle:{type:String,default:""},link:{type:[String,null],default:null},linkLabel:{type:[String,null],default:null},linkNewWindow:{type:Boolean,default:!1}},setup:e=>(t,n)=>(a(),r("div",jw,[n[0]||(n[0]=U('<div class="wf-status-renewing"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 608"><g><path d="M374.4,332.6l9.1,9c1.2,1.2,2.7,1.9,4.5,1.9c1.8,0,3.3-0.6,4.5-1.9l9-9l48.2-48.2c1.2-1.2,1.9-2.8,1.9-4.5c0-1.8-0.6-3.3-1.9-4.5l-9.1-9c-1.2-1.2-2.7-1.9-4.5-1.9c-1.8,0-3.3,0.6-4.5,1.9L388,310.1l-19.6-19.6c-1.2-1.2-2.8-1.9-4.5-1.9c-1.8,0-3.3,0.6-4.5,1.9l-9,9c-1.2,1.2-1.9,2.8-1.9,4.5c0,1.8,0.6,3.3,1.9,4.5L374.4,332.6z"></path><path d="M767.7,304.8c-4.5-4.5-10.1-6.8-16.7-6.8l-67.6-0.3c-1-36.2-8.8-71.2-23.1-104.9c-14.4-33.7-34.2-63.2-59.7-88.7c-47.9-47.9-104.2-75.2-168.9-81.9c-64.7-6.7-126,7.6-184,43l-1.8,1.8c-2.3,2.3-3.4,5-3.4,8.4c0,3.3,1.1,6.1,3.4,8.3l52,52c3.8,3.8,8.4,4.4,13.8,1.8c24.7-10.1,39.5-15.7,44.4-16.7c32.1-7.7,63.8-7,95.3,1.8c31.5,8.9,59,25,82.3,48.3c35,35,53.5,77.3,55.4,126.9l-72.1,0c-6.6,0-12.2,2.3-16.7,6.8c-4.5,4.5-6.8,10.1-6.8,16.7c0,6.6,2.3,12.2,6.8,16.7l117,117c4.5,4.5,10.1,6.8,16.7,6.8c6.6,0,12.2-2.3,16.7-6.8l117-117c4.5-4.5,6.8-10.1,6.8-16.7C774.5,314.9,772.3,309.4,767.7,304.8z"></path><path d="M502.1,473.8c-3.8-3.8-8.5-4.4-13.8-1.8c-24.7,10.1-39.5,15.7-44.4,16.7c-32,7.7-63.8,7.1-95.3-1.8c-31.5-8.9-58.9-25-82.3-48.3c-16.9-16.9-30.1-36.3-39.5-58.2c-9.4-21.9-14.5-44.8-15.4-68.7l71.5,0c6.6,0,12.2-2.3,16.7-6.8c4.5-4.5,6.8-10.1,6.8-16.7c0-6.6-2.3-12.2-6.8-16.7l-117-117c-4.5-4.5-10.1-6.8-16.7-6.8c-6.6,0-12.2,2.3-16.7,6.8l-117,117c-4.5,4.5-6.8,10.1-6.8,16.7c0,6.6,2.3,12.2,6.8,16.7c4.5,4.5,10.1,6.8,16.7,6.8l67.4,0c0.9,36.4,8.4,71.3,22.6,104.6c14.2,33.4,34,62.7,59.4,88.1c47.7,47.7,103.8,74.9,168.3,81.4c64.5,6.5,125.7-8,183.5-43.5c0.5-0.2,1.2-0.7,2.1-1.6c2.3-2.3,3.4-5.1,3.4-8.4c0-3.3-1.1-6.1-3.4-8.4L502.1,473.8z"></path></g></svg></div>',1)),v("p",Ww,[I(t.$slots,"title",{},()=>[x(b(e.title),1)])]),v("p",zw,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])]),v("p",Yw,[e.linkLabel?(a(),r("a",{key:0,href:e.link,target:e.linkNewWindow?"_blank":null,rel:e.linkNewWindow?"noopener noreferrer":null},[x(b(e.linkLabel),1),M(w(Bi))],8,Gw)):i("",!0)])]))},Zw={class:"wf-row"},Qw={class:"wf-col-xs-12"},Xw={class:"wf-block wf-active wf-add-bottom"},Jw={class:"wf-block-content"},ev={class:"wf-block-list"},tv={key:0},nv={class:"wf-block-list wf-block-list-horizontal"},av={id:"wfStatusTourMarker"},lv={class:"wf-block-labeled-value wf-global-status wf-global-status-full-enabled"},ov={class:"wf-block-labeled-value-label"},sv={class:"wf-block-list wf-block-list-horizontal wf-block-list-nowrap wf-waf-coverage"},rv={class:"wf-flex-horizontal wf-flex-full-width wf-no-top"},iv={class:"wf-tip-info-message"},uv=["href"],cv={key:3},dv=["href"],pv=["href"],fv={class:"wf-block-labeled-value-value"},hv={class:"wf-fa wf-fa-check"},mv={class:"wf-block-labeled-value-label"},gv={key:0},wv=["href"],vv=["href"],bv={__name:"DashboardHeader",props:{showProtectionActivated:{type:Boolean,default:!0},attributionTag:{type:String},firewallOptionsLink:{type:String},scanOptionsLink:{type:String}},setup(e){const t=u("__"),n=u("sprintf"),o=u("wfconstants");return(u,c)=>{const d=h("aria");return a(),r("div",Zw,[v("div",Qw,[v("div",Xw,[v("div",Jw,[v("ul",ev,[e.showProtectionActivated?(a(),r("li",tv,[v("ul",nv,[v("li",av,[v("div",lv,[v("div",ov,b(w(t)("Wordfence Protection Activated")),1)])])])])):i("",!0),v("li",null,[v("ul",sv,[v("li",null,[M(w(Pw),{id:"waf-coverage",percentage:w(o).waf.overallPercentage,activeColorOverride:w(o).waf.mode===w(o).waf.modes.learning_mode?"#ececec":null,title:w(t)("Firewall"),subtitle:w(o).waf.mode===w(o).waf.modes.learning_mode?w(t)("WAF Currently in Learning Mode"):w(t)("Protection from known and emerging threats"),link:e.firewallOptionsLink,linkLabel:w(t)("Manage Firewall"),statusTitle:w(t)("Firewall Status"),statusList:w(o).waf.overallStatusList,helpLink:"https://www.wordfence.com/help/dashboard/#dashboard-status"},q({_:2},[w(o).waf.mode===w(o).waf.modes.learning_mode?{name:"statusExtra",fn:s(()=>[v("ul",rv,[c[0]||(c[0]=v("li",{class:"wf-tip-light-bulb"},[v("i",{class:"wf-ion-ios-lightbulb-outline"})],-1)),v("li",iv,[v("strong",null,[x(b(w(t)("The Web Application Firewall is currently in Learning Mode."))+" ",1),v("a",{href:w(o).support.url.firewall_waf_learning_mode,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Learn More")),1),M(w(Bi))],8,uv)])])])]),key:"0"}:void 0]),1032,["percentage","activeColorOverride","title","subtitle","link","linkLabel","statusTitle","statusList"])]),v("li",null,[M(w(Pw),{id:"wf-scanner-type",percentage:w(o).scanner.overallPercentage,activeColorOverride:w(o).scanner.enabled?null:"#ececec",title:w(t)("Scan"),subtitle:w(t)("Detection of security issues"),link:e.scanOptionsLink,linkLabel:w(t)("Manage Scan"),statusTitle:w(t)("Scan Status"),statusList:w(o).scanner.overallStatusList,helpLink:"https://www.wordfence.com/help/dashboard/#dashboard-status"},null,8,["percentage","activeColorOverride","title","subtitle","link","linkLabel","statusTitle","statusList"])]),v("li",null,[w(o).license.has_conflict?(a(),l(w(Nw),{key:0,id:"wf-premium-alert",title:w(t)("Premium License Conflict"),subtitle:w(t)("License already in use"),link:"https://www.wordfence.com/gnl1manageConflict/manage-wordfence-api-keys/",linkLabel:w(t)("Reset License"),linkNewWindow:!0},null,8,["title","subtitle","linkLabel"])):w(o).license.is_expired?(a(),l(w(Nw),{key:1,id:"wf-premium-alert",title:w(t)("Premium Protection Disabled"),subtitle:w(t)("License is expired"),link:"https://www.wordfence.com/gnl1renewExpired/manage-wordfence-api-keys/",linkLabel:w(t)("Renew License"),linkNewWindow:!0},null,8,["title","subtitle","linkLabel"])):w(o).license.is_deactivated?(a(),l(w(Nw),{key:2,id:"wf-premium-alert",title:w(t)("Premium Protection Disabled")},{subtitle:s(()=>[M(w(Jg),{unsafeHTML:w(t)('The license you were using has been removed from your account. Please reach out to <a href="mailto:billing@wordfence.com">billing@wordfence.com</a> or create a Premium support case at <a href="https://support.wordfence.com/support/tickets" target="_blank">https://support.wordfence.com/support/tickets<span class="screen-reader-text"> (opens in new tab)</span></a> for more information. Our staff is happy to help.')},null,8,["unsafeHTML"])]),_:1},8,["title"])):w(o).license.current.type===w(o).license.types.free?(a(),r("div",cv,[v("h3",null,b(w(t)("Premium Protection Disabled")),1),v("p",null,b(w(t)("As a free Wordfence user, you are currently using the Community version of the Threat Defense Feed. Premium users are protected by additional firewall rules and malware signatures. Upgrade to Premium today to improve your protection.")),1),v("p",null,[v("a",{class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:`https://www.wordfence.com/gnl1${e.attributionTag}Upgrade/products/wordfence-premium/`,target:"_blank",rel:"noopener noreferrer"},b(w(t)("Upgrade to Premium")),9,dv),c[1]||(c[1]=x("  ",-1)),v("a",{class:"wf-btn wf-btn-callout-subtle wf-btn-default",href:`https://www.wordfence.com/gnl1${e.attributionTag}Learn/products/pricing/`,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Learn More")),1),M(w(Bi))],8,pv)])])):w(o).license.current.exp_days<30&&!w(o).license.current.autorenew_enabled?(a(),l(w(Nw),{key:4,id:"wf-premium-alert",title:w(n)(w(t)("%s License Expiring"),w(o).license.labels[w(o).license.current.type]??w(o).license.labels.premium),subtitle:w(t)("Auto-renew is disabled"),link:"https://www.wordfence.com/gnl1renewExpiring/manage-wordfence-api-keys/",linkLabel:w(t)("Renew License"),linkNewWindow:!0},null,8,["title","subtitle","linkLabel"])):w(o).license.current.exp_days<30?(a(),r(m,{key:5},[w(o).license.current.payment_method_expiring||w(o).license.current.payment_method_expired||w(o).license.current.payment_method_missing||w(o).license.current.payment_method_hold?(a(),l(w(qw),{key:0,id:"wf-premium-alert",link:"https://www.wordfence.com/gnl1renewExpiring/manage-wordfence-api-keys/",linkLabel:w(t)("Update Payment Method"),linkNewWindow:!0},{title:s(()=>[w(o).license.current.payment_method_expiring?(a(),r(m,{key:0},[x(b(w(t)("Payment Method Expiring")),1)],64)):w(o).license.current.payment_method_expired?(a(),r(m,{key:1},[x(b(w(t)("Payment Method Expired")),1)],64)):w(o).license.current.payment_method_missing?(a(),r(m,{key:2},[x(b(w(t)("Payment Method Missing")),1)],64)):w(o).license.current.payment_method_hold?(a(),r(m,{key:3},[x(b(w(t)("Payment Method Invalid")),1)],64)):i("",!0)]),subtitle:s(()=>[w(o).license.current.next_renew<=0?(a(),r(m,{key:0},[x(b(w(t)("License renews today")),1)],64)):1===w(o).license.current.next_renew?(a(),r(m,{key:1},[x(b(w(t)("License renews tomorrow")),1)],64)):(a(),r(m,{key:2},[x(b(w(n)(w(t)("License renews in %d days"),w(o).license.current.next_renew)),1)],64))]),_:1},8,["linkLabel"])):(a(),l(w(Kw),{key:1,id:"wf-premium-alert",title:w(n)(w(t)("%s License Expiring"),w(o).license.labels[w(o).license.current.type]??w(o).license.labels.premium),link:"https://www.wordfence.com/gnl1reviewExpiring/manage-wordfence-api-keys/",linkLabel:w(t)("Review Payment Method"),linkNewWindow:!0},{subtitle:s(()=>[w(o).license.current.next_renew<=0?(a(),r(m,{key:0},[x(b(w(t)("License renews today")),1)],64)):1===w(o).license.current.next_renew?(a(),r(m,{key:1},[x(b(w(t)("License renews tomorrow")),1)],64)):(a(),r(m,{key:2},[x(b(w(n)(w(t)("License renews in %d days"),w(o).license.current.next_renew)),1)],64))]),_:1},8,["title","linkLabel"]))],64)):w(o).license.current.minimum_premium?(a(),r("div",{key:6,class:k(["wf-block-labeled-value","wf-protection-status",`wf-protection-status-${w(o).waf.ruleMode}`])},[v("div",fv,[_(v("i",hv,null,512),[[d,{hidden:!0}]])]),v("div",mv,b(w(n)(w(t)("%s Enabled"),w(o).license.labels[w(o).license.current.type]??w(o).license.labels.premium)),1),w(o).license.current.below_response?(a(),r("p",gv,[w(o).license.current.below_care?(a(),r("a",{key:0,href:`https://www.wordfence.com/gnl1${e.attributionTag}LearnCareResponse/products/pricing/`},b(w(t)("Learn about Wordfence Care and Wordfence Response")),9,wv)):(a(),r("a",{key:1,href:`https://www.wordfence.com/gnl1${e.attributionTag}LearnResponse/products/wordfence-response/`},b(w(t)("Learn about Wordfence Response")),9,vv))])):i("",!0)],2)):i("",!0)])])])])])])])])}}},yv="disconnect-central-confirmation-modal",kv={__name:"DisconnectCentralConfirmationModal",props:{show:{type:Boolean,default:!1}},setup(e){const t=u("__"),n=u("$mitt"),{$ajax:r}=yi(),{$modalNotice:c}=Ii();S("modalName",yv);const d=()=>{r("wordfence_wfcentral_disconnect",{},e=>{e&&e.success&&e.message&&e.title?c(e.title,e.message,null,{onClosed:p}):p()})},p=()=>{window.location.reload(!0)};return(r,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Confirm Disconnect")),1)]),body:s(()=>[x(b(w(t)("Are you sure you want to disconnect your site from Wordfence Central?")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:u[0]||(u[0]=e=>w(n).emit("closeModal",yv)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),"secondary-buttons":s(()=>[M(w(nw),{onClick:d,"button-type":"wf-btn-danger"},{default:s(()=>[x(b(w(t)("Disconnect")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},_v={key:0},xv="live-traffic-migration-modal",Sv={__name:"LiveTrafficMigrationModal",props:{show:{type:Boolean,default:!1}},setup(e){const t=u("__"),n=u("$mitt"),c=u("wfconstants"),{$ajax:d}=yi();S("modalName",xv);const p=()=>{d("wordfence_switchLiveTrafficSecurityOnlyChoice",{choice:"yes"}),n.emit("closeModal",xv)},f=()=>{d("wordfence_switchLiveTrafficSecurityOnlyChoice",{choice:"no"}),n.emit("closeModal",xv)};return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(t)("Recommended Settings Change")),1)]),body:s(()=>[v("p",null,b(w(t)("Greetings! The default configuration for Wordfence Live Traffic has changed. The new default saves only logins and blocked requests, while this site is currently recording all traffic. Would you like to change to the new default?")),1),w(c).livetraffic.limit.identical?i("",!0):(a(),r("p",_v,b(w(t)("Rate limiting based on type of request (human vs crawler) may be less accurate because this prevents loading the extra JavaScript used for that identification.")),1))]),"primary-button":s(()=>[M(w(nw),{onClick:p,"is-primary":!0},{default:s(()=>[x(b(w(t)("Yes Please")),1)]),_:1})]),"secondary-buttons":s(()=>[M(w(nw),{href:w(c).support.url.notice_switch_live_traffic,target:"_blank",rel:"noopener noreferrer"},{default:s(()=>[x(b(w(t)("Learn More")),1)]),_:1},8,["href"]),M(w(nw),{onClick:f},{default:s(()=>[x(b(w(t)("No Thanks")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},Tv={__name:"DashboardModals",setup(t){const l=u("$mitt"),o=u("wfconstants"),s=u("$dataStore"),{$hasOwn:i}=ai(),c=e({"disconnect-central-confirmation-modal":{show:!1,configurator:e=>{}},"live-traffic-migration-modal":{show:!1,configurator:e=>{}}}),d=n(()=>Object.values(c).some(e=>e.show));T(()=>{l.on("showModal",p),l.on("closeModal",f),!o.livetraffic.recording.record_all||o.livetraffic.recording.host_setting||s.$options.switchLiveTrafficSecurityOnlyChoice||P(()=>{l.emit("showModal",{name:"live-traffic-migration-modal"})})}),D(()=>{l.off("showModal",p),l.off("closeModal",f)});const p=e=>{for(const t of Object.keys(c))t!==e.name&&c[t].show&&(c[t].show=!1);i(c,e.name)&&(c[e.name].configurator(e),c[e.name].show=!0)},f=e=>{i(c,e)&&(c[e].show=!1)};return(e,t)=>(a(),r("div",null,[M(w(Of),{show:d.value},null,8,["show"]),M(w(kv),{show:c["disconnect-central-confirmation-modal"].show},null,8,["show"]),M(w(Sv),{show:c["live-traffic-migration-modal"].show},null,8,["show"])]))}},Cv={__name:"NewTour1",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("The Wordfence Dashboard provides valuable insights into the current state of your site's security. You'll find useful data summarized here as well as important status updates and notifications.")),1))}},Mv={__name:"NewTour2",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("Each feature contains a status that reminds you what's enabled, disabled or needs attention. The Notifications section will highlight actions you need to take.")),1))}},Lv={__name:"NewTour3",setup(e){const t=u("__");return(e,n)=>(a(),r(m,null,[n[0]||(n[0]=v("p",{class:"wf-center"},[v("svg",{viewBox:"0 0 100.11 100.11",class:"wf-icon"},[v("path",{d:"M99.59,41.42a2.06,2.06,0,0,0-1.37-.82L86.3,38.78a39.34,39.34,0,0,0-2.67-6.39q1.17-1.63,3.52-4.6t3.32-4.33A2.52,2.52,0,0,0,91,22a2.1,2.1,0,0,0-.46-1.43Q88.18,17.2,79.78,9.45a2.52,2.52,0,0,0-1.63-.65,2.12,2.12,0,0,0-1.57.59l-9.25,7a40.09,40.09,0,0,0-5.87-2.41L59.64,2a1.92,1.92,0,0,0-.75-1.4A2.46,2.46,0,0,0,57.29,0H42.82a2.19,2.19,0,0,0-2.34,1.82,106,106,0,0,0-1.89,12.12,37.62,37.62,0,0,0-5.93,2.48l-9-7A2.78,2.78,0,0,0,22,8.8q-1.44,0-6.16,4.66a64.88,64.88,0,0,0-6.42,7A2.75,2.75,0,0,0,8.8,22a2.44,2.44,0,0,0,.65,1.56q4.37,5.28,7,9a32.38,32.38,0,0,0-2.54,6L1.76,40.34a2,2,0,0,0-1.24.85A2.5,2.5,0,0,0,0,42.69V57.16a2.44,2.44,0,0,0,.52,1.53,2,2,0,0,0,1.37.82l11.93,1.76a31.91,31.91,0,0,0,2.67,6.45Q15.31,69.35,13,72.31T9.65,76.65a2.54,2.54,0,0,0-.07,3q2.54,3.52,10.75,11a2.25,2.25,0,0,0,1.63.71,2.35,2.35,0,0,0,1.63-.59l9.19-7a40.54,40.54,0,0,0,5.87,2.41l1.82,12a1.92,1.92,0,0,0,.75,1.4,2.45,2.45,0,0,0,1.6.55H57.29a2.2,2.2,0,0,0,2.35-1.82,107.41,107.41,0,0,0,1.89-12.12,37.19,37.19,0,0,0,5.93-2.48l9,7a3.18,3.18,0,0,0,1.69.59q1.43,0,6.13-4.62a65.86,65.86,0,0,0,6.45-7,2.16,2.16,0,0,0,.59-1.5,2.51,2.51,0,0,0-.65-1.63q-4.69-5.74-7-9a41.57,41.57,0,0,0,2.54-5.93l12.06-1.82a2,2,0,0,0,1.3-.85,2.52,2.52,0,0,0,.52-1.5V43a2.46,2.46,0,0,0-.52-1.53ZM61.85,61.86a16.08,16.08,0,0,1-11.8,4.89A16.69,16.69,0,0,1,33.37,50.06,16.69,16.69,0,0,1,50.06,33.37,16.69,16.69,0,0,1,66.74,50.06a16.08,16.08,0,0,1-4.89,11.8Zm0,0"})])],-1)),v("p",null,b(w(t)("You'll find this icon throughout the plugin. Clicking it will show you the options and features for each section of Wordfence. From the dashboard, you can find the Global Options for Wordfence such as alerts, automatic updates, and managing your site's Premium License.")),1)],64))}},Av={__name:"DashboardNewTour",setup(e){const n=u("__"),o=u("wfconstants"),s=t(!1),r=t(0);S("tourName",o.tour.types.dashboard),T(()=>{o.tour.new.dashboard&&(s.value=!0)});const i=[{title:n("This is your Dashboard"),content:Cv,anchor:{selector:"#wfStatusTourMarker",pointer:{edge:"top",align:"left"}}},{title:n("Easily Monitor Your Wordfence Protection"),content:Mv,anchor:{selector:"#waf-coverage",pointer:{edge:"top",align:"left"}}},{title:n("Global Wordfence Options"),content:Lv,anchor:{selector:"#wf-dashboard-option-options",pointer:{edge:"right",align:"right"}}}],c=()=>{o.tour.new.dashboard=!1,s.value=!1};return(e,t)=>(a(),l(C,{to:"#wpwrap"},[M(w(bi),{show:s.value},null,8,["show"]),M(w(Pi),{show:s.value,selectedIndex:r.value,slides:i,onCloseTour:c},null,8,["show","selectedIndex"])]))}};function Dv(){const e=u("$dataStore"),{$ajax:t}=yi(),n=t=>e.disclosures.$active.includes(t),a=(e,n)=>{t("wordfence_saveDisclosureState",{name:e,state:n},()=>{})};return{$isDisclosureActive:n,$setDisclosureActive:(t,l)=>{n(t)!==l&&(l?e.disclosures.$active.push(t):e.disclosures.$active.splice(e.disclosures.$active.indexOf(t),1),a(t,l))},$saveDisclosureState:a}}const Pv={class:"wf-block-header-action"},Ov=["tabindex"],$v={__name:"BlockDisclosureControl",emits:["toggleDisclosure"],setup(e,{emit:n}){const{$isDisclosureActive:l}=Dv(),o=n,s=u("$dataStore"),i=u("stateKey"),c=u("tabIndex",0),d=t(!1);return T(()=>{d.value=l(i)}),f(()=>s.disclosures.$active,()=>d.value=l(i),{deep:!0}),(e,t)=>{const n=h("aria");return a(),r("div",Pv,[_(v("div",{class:"wf-block-header-action-disclosure",tabindex:w(c),onClick:t[0]||(t[0]=$(e=>o("toggleDisclosure"),["stop","prevent"])),onKeydown:t[1]||(t[1]=E($(e=>o("toggleDisclosure"),["stop","prevent"]),["space"]))},null,40,Ov),[[n,{role:"checkbox",checked:d.value}]])])}}},Iv=["id","data-persistence-key"],Ev={class:"wf-block-header-content"},Rv={class:"wf-block-title"},Nv={key:0,class:"wf-text-small"},Bv={class:"wf-block-content wf-clearfix"},Vv={__name:"DisclosureBlock",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},emits:["toggleDisclosure"],setup(e,{emit:o}){const{$isDisclosureActive:p,$setDisclosureActive:h}=Dv(),m=o,g=N(),b=u("$"),y=u("$mitt"),C=u("$dataStore"),L=e,{stateKey:A,collapseable:O,disabled:$,tabIndex:E}=c(L);S("stateKey",A),S("collapseable",O),S("disabled",$),S("tabIndex",E);const R=d("blockElement"),B=t(p(A.value)||!O.value);T(()=>{y.on("expandDisclosureBlock",V)}),D(()=>{y.off("expandDisclosureBlock",V)});const V=e=>{const t=e.key??null,n=e.scrollTo??!1,a=e.onComplete??(()=>{});t===A.value&&(B.value||(h(A.value,!0),m("toggleDisclosure")),P(()=>{!1!==n&&(!0===n&&R.value?b("html, body").animate({scrollTop:b(R.value).offset().top-100},1e3):!0!==n&&b(n).length&&b("html, body").animate({scrollTop:b(n).offset().top-100},1e3)),a()}))};f(()=>C.disclosures.$active,()=>B.value=p(A.value)||!O.value,{deep:!0});const H=n(()=>{let e=[];return e.push("wf-block"),!B.value&&O.value||e.push("wf-active"),$.value&&e.push("wf-disabled"),e}),U=()=>{O.value&&($.value||(h(A.value,!B.value),m("toggleDisclosure")))},q=e=>{O.value&&($.value||e.target&&"A"===e.target.nodeName&&e.target.href||U())};return(e,t)=>(a(),r("div",{id:w(A),class:k(H.value),"data-persistence-key":w(A),ref_key:"blockElement",ref:R},[v("div",{class:k({"wf-block-header":!0,"wf-clickable":w(O)}),onClick:q},[v("div",Ev,[v("div",Rv,[v("strong",null,[I(e.$slots,"title")]),w(g).subtitle?(a(),r("span",Nv,[t[0]||(t[0]=x(" ",-1)),I(e.$slots,"subtitle")])):i("",!0)]),w(O)?(a(),l(w($v),{key:0,onToggleDisclosure:U})):i("",!0)])],2),M(w(Hc),null,{default:s(()=>[_(v("div",Bv,[I(e.$slots,"default")],512),[[F,B.value||!w(O)]])]),_:3})],10,Iv))}},Fv={class:"wf-block-list"},Hv={class:"wf-flex-vertical wf-flex-full-width wf-add-top wf-add-bottom"},Uv=["data-original-text-value"],qv={class:"wf-option-title"},jv=["href"],Wv={class:"wf-fa wf-fa-question-circle-o"},zv={class:"wf-option-text wf-option-full-width wf-no-right"},Yv={class:"wf-flex-horizontal wf-flex-vertical-xs wf-flex-full-width"},Gv={class:"wf-right wf-flex-vertical-xs wf-flex-align-left wf-left-xs wf-padding-add-top-xs",id:"wf-license-controls"},Kv={key:1,href:"https://www.wordfence.com/gnl1optMngKysReset/licenses/",target:"_blank",rel:"noopener noreferrer",class:"wf-btn wf-btn-primary wf-btn-callout-subtle"},Zv={key:2,href:"https://www.wordfence.com/gnl1optMngKys/licenses/",target:"_blank",rel:"noopener noreferrer"},Qv={href:"https://www.wordfence.com/gnl1optUpgrade/products/pricing/",target:"_blank",rel:"noopener noreferrer",class:"wf-btn wf-btn-primary wf-btn-callout-subtle"},Xv={key:0},Jv={__name:"OptionsGroupLicense",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const n=u("__"),o=u("sprintf"),d=u("$mitt"),p=u("wfconstants"),g=u("$dataStore"),{$hasConflict:y,$isDeactivated:k,$isExpired:S,$isPaid:C,$licenseTypeLabel:L}=Fc(),{$modal:A}=Ii(),{$updatePendingValue:P,$clearPendingValue:O,$setOption:I}=Ei(),E=e,{stateKey:R,collapseable:N}=c(E),B=t(w(g.$options.apiKey));f(B,e=>{P("apiKey",e,g.$options.apiKey)}),T(()=>{d.on("resetOptionControls",F)}),D(()=>{d.off("resetOptionControls",F)});const F=()=>{B.value=w(g.$options.apiKey)},H=()=>{O("apiKey"),I("apiKey",B.value,()=>{window.location.reload(!0)},()=>{window.location.reload()},!0)},U=()=>{A("options-downgrade-license-modal")};return Zd({apiKey:"wf-option-apiKey"},R),(e,t)=>{const u=h("aria");return a(),l(w(Vv),{stateKey:w(R),collapseable:w(N)},{title:s(()=>[x(b(w(n)("Wordfence License")),1)]),default:s(()=>[v("ul",Fv,[v("li",null,[v("ul",Hv,[v("li",null,[v("strong",null,b(w(n)("Your Wordfence License")),1)]),v("li",null,[v("ul",{id:"wf-option-apiKey",class:"wf-option wf-option-text wf-option-flex-width","data-text-option":"apiKey","data-original-text-value":w(g).$options.apiKey},[v("li",qv,[x(b(w(n)("License Key"))+" ",1),v("a",{href:w(p).support.url.dashboard_option_api_key,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Wv,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,jv)]),v("li",zv,[_(v("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>B.value=e),onInput:t[1]||(t[1]=e=>B.value=e.target.value.replace(/[^0-9a-fA-F]+/g,"")),onFocus:t[2]||(t[2]=e=>e.target.select()),id:"wf-license-input"},null,544),[[V,B.value]])])],8,Uv)]),v("li",null,[v("ul",Yv,[v("li",null,[v("strong",null,b(w(n)("License Status"))+":",1),t[3]||(t[3]=x("  ",-1)),w(y)?(a(),r(m,{key:0},[x(b(w(n)("License already in use")),1)],64)):w(S)?(a(),r(m,{key:1},[x(b(w(o)(w(n)("%s License Expired"),w(L)())),1)],64)):w(k)?(a(),r(m,{key:2},[x(b(w(n)("Premium License Deactivated")),1)],64)):(a(),r(m,{key:3},[x(b(w(o)(w(n)("%s License Active"),w(L)())),1)],64))]),v("li",Gv,[B.value!=w(g).$options.apiKey?_((a(),r("a",{key:0,href:"#",class:"wf-btn wf-btn-primary wf-btn-callout-subtle",id:"wf-install-license",onClick:$(H,["stop","prevent"])},[x(b(w(n)("Install License")),1)])),[[u,{role:"button"}]]):(a(),r(m,{key:1},[w(C)||w(y)?_((a(),r("a",{key:0,href:"#",class:"wf-downgrade-license",onClick:$(U,["stop","prevent"])},[x(b(w(n)("Reset site to a free license")),1)])),[[u,{role:"button"}]]):i("",!0),w(y)?(a(),r("a",Kv,[x(b(w(n)("Reset License")),1),M(w(Bi))])):w(C)?(a(),r("a",Zv,[x(b(w(n)("Click here to manage your Wordfence licenses")),1),M(w(Bi))])):(a(),r(m,{key:3},[w(k)?_((a(),r("a",{key:0,href:"#",class:"wf-btn wf-btn-default wf-btn-callout-subtle wf-downgrade-license",onClick:$(U,["stop","prevent"])},[x(b(w(n)("Remove Invalid License")),1)])),[[u,{role:"button"}]]):i("",!0),t[4]||(t[4]=x("   ",-1)),v("a",Qv,[x(b(w(n)("Upgrade to Premium")),1),M(w(Bi))])],64))],64))])])]),w(k)?(a(),r("li",Xv,[v("p",null,[M(w(Jg),{unsafeHTML:w(n)('This was a premium license key, but it is no longer valid, so premium features are disabled. You can either remove the invalid key and continue using Wordfence\'s free features, or enter a new premium key to upgrade. If you have questions, contact <a href="mailto:billing@wordfence.com">billing@wordfence.com</a>.'),allowedTags:["a"],allowedAttributes:{a:["href"]}},null,8,["unsafeHTML"])])])):i("",!0)])])])]),_:1},8,["stateKey","collapseable"])}}},eb=["id","data-option","data-enabled-value","data-disabled-value","data-original-value"],tb={key:0,class:"wf-option-premium-lock"},nb=["onKeydown"],ab={class:"wf-ion-ios-checkmark-empty"},lb={key:2,class:"wf-option-title"},ob={class:"wf-flex-vertical wf-flex-align-left"},sb=["id"],rb={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},ib=["href"],ub={class:"wf-fa wf-fa-question-circle-o"},cb={key:3,class:"wf-option-title"},db=["id"],pb={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},fb=["href"],hb={class:"wf-fa wf-fa-question-circle-o"},mb={__name:"OptionToggled",props:{optionName:{type:String,required:!0},value:{default:null},enabledValue:{default:null},disabledValue:{default:null},title:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1},alignment:{type:[String,null],default:null}},emits:["change"],setup(e,{emit:t}){const n=t,l=N(),{$isPaid:o}=Fc(),{$maybeToggleControl:s}=li(),d=u("__"),p=e,{optionName:f,value:m,enabledValue:g,disabledValue:y,premium:S,disabled:T,noVerticalSpacing:C,alignment:L}=c(p),{$elementID:A,$elementIDLabel:D,$elementClasses:P,$pendingValue:O}=Kd(f,m,n,{always:["wf-option-toggled"],premium:S,disabled:T,noVerticalSpacing:C,alignment:L});Zd({[p.optionName]:A});const R=()=>{!o&&S.value||T.value||(O.value===g.value?O.value=y.value:O.value=g.value)};return(t,n)=>{const u=h("aria");return a(),r("ul",{id:w(A),class:k(w(P)),"data-option":w(f),"data-enabled-value":w(g),"data-disabled-value":w(y),"data-original-value":w(m)==w(g)?w(g):w(y)},[!w(o)&&w(S)?(a(),r("li",tb)):_((a(),r("li",{key:1,class:k({"wf-option-checkbox":!0,"wf-checked":w(O)==w(g)}),tabindex:"0",onClick:$(R,["stop","prevent"]),onKeydown:E($(R,["stop","prevent"]),["space"])},[_(v("i",ab,null,512),[[u,{hidden:!0}]])],42,nb)),[[u,{role:"checkbox",checked:w(O)==w(g),labelledby:w(D)}]]),e.subtitle||w(l).subtitle?(a(),r("li",lb,[v("ul",ob,[v("li",null,[v("span",{id:w(D),class:"wf-option-extended-toggle",onClick:n[0]||(n[0]=e=>w(s)(e,R))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,sb),w(S)?(a(),r("a",rb,b(w(d)("Premium Feature")),1)):i("",!0),n[3]||(n[3]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",ub,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,ib)):i("",!0)]),v("li",{class:"wf-option-subtitle wf-option-extended-toggle",onClick:n[1]||(n[1]=e=>w(s)(e,R))},[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])])):(a(),r("li",cb,[v("span",{id:w(D),class:"wf-option-extended-toggle",onClick:n[2]||(n[2]=e=>w(s)(e,R))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,db),w(S)?(a(),r("a",pb,b(w(d)("Premium Feature")),1)):i("",!0),n[4]||(n[4]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",hb,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,fb)):i("",!0)]))],10,eb)}}},gb={class:"wf-block-list"},wb={__name:"OptionsGroupViewCustomization",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("$mitt"),o=u("$dataStore"),{$updatePendingValue:r}=Ei(),i=e,{stateKey:d,collapseable:p}=c(i);T(()=>{n.on("resetOptionControls",f)}),D(()=>{n.off("resetOptionControls",f)});const f=()=>{};return(e,n)=>(a(),l(w(Vv),{stateKey:w(d),collapseable:w(p)},{title:s(()=>[x(b(w(t)("View Customization")),1)]),default:s(()=>[v("ul",gb,[v("li",null,[M(w(mb),{optionName:"displayTopLevelOptions",value:w(o).$options.displayTopLevelOptions,enabledValue:!0,disabledValue:!1,title:w(t)('Display "All Options" menu item'),onChange:n[0]||(n[0]=e=>w(r)("displayTopLevelOptions",e.new,w(o).$options.displayTopLevelOptions))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"displayTopLevelBlocking",value:w(o).$options.displayTopLevelBlocking,enabledValue:!0,disabledValue:!1,title:w(t)('Display "Blocking" menu item'),onChange:n[1]||(n[1]=e=>w(r)("displayTopLevelBlocking",e.new,w(o).$options.displayTopLevelBlocking))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"displayTopLevelLiveTraffic",value:w(o).$options.displayTopLevelLiveTraffic,enabledValue:!0,disabledValue:!1,title:w(t)('Display "Live Traffic" menu item'),onChange:n[2]||(n[2]=e=>w(r)("displayTopLevelLiveTraffic",e.new,w(o).$options.displayTopLevelLiveTraffic))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"displayTopLevelAuditLog",value:w(o).$options.displayTopLevelAuditLog,enabledValue:!0,disabledValue:!1,title:w(t)('Display "Audit Log" menu item'),onChange:n[3]||(n[3]=e=>w(r)("displayTopLevelAuditLog",e.new,w(o).$options.displayTopLevelAuditLog))},null,8,["value","title"])])])]),_:1},8,["stateKey","collapseable"]))}},vb=["id","data-option-name","data-original-value"],bb={key:0,class:"wf-option-spacer"},yb={class:"wf-option-content"},kb={key:0,class:"wf-option-title"},_b={class:"wf-flex-vertical wf-flex-align-left"},xb=["id"],Sb={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Tb=["href"],Cb={class:"wf-fa wf-fa-question-circle-o"},Mb={class:"wf-option-subtitle"},Lb={key:1,class:"wf-option-title"},Ab=["id"],Db={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Pb=["href"],Ob={class:"wf-fa wf-fa-question-circle-o"},$b={class:"wf-option-text"},Ib=["placeholder","disabled","aria-labelledby"],Eb={__name:"OptionTextField",props:{optionName:{type:String,required:!0},value:{default:null},placeholder:{type:[String,null],default:null},title:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{$isPaid:n}=Fc(),l=t,o=N(),s=u("__"),d=e,{value:p,optionName:f,premium:m,disabled:g,noSpacer:y,noVerticalSpacing:S}=c(d),{$elementID:T,$elementIDLabel:C,$elementClasses:L,$pendingValue:A}=Kd(f,p,l,{always:["wf-option-text"],premium:m,disabled:g,noVerticalSpacing:S});return Zd({[d.optionName]:T}),(t,l)=>{const u=h("aria");return a(),r("ul",{id:w(T),class:k(w(L)),"data-option-name":w(f),"data-original-value":JSON.stringify(w(p))},[w(y)?i("",!0):(a(),r("li",bb)),v("li",yb,[v("ul",null,[e.subtitle||w(o).subtitle?(a(),r("li",kb,[v("ul",_b,[v("li",null,[v("span",{id:w(C)},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,xb),w(m)?(a(),r("a",Sb,b(w(s)("Premium Feature")),1)):i("",!0),l[1]||(l[1]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Cb,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Tb)):i("",!0)]),v("li",Mb,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])])):(a(),r("li",Lb,[v("span",{id:w(C)},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,Ab),w(m)?(a(),r("a",Db,b(w(s)("Premium Feature")),1)):i("",!0),l[2]||(l[2]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Ob,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Pb)):i("",!0)])),v("li",$b,[_(v("input",{type:"text",placeholder:e.placeholder,disabled:w(g)||!w(n)&&w(m),"aria-labelledby":w(C),"onUpdate:modelValue":l[0]||(l[0]=e=>W(A)?A.value=e:null)},null,8,Ib),[[V,w(A)]])])])])],10,vb)}}},Rb={class:"wf-flex-vertical wf-flex-full-width"},Nb=["id","data-original-value"],Bb={class:"wf-option-content"},Vb={class:"wf-flex-vertical wf-flex-align-left"},Fb={class:"wf-option-title"},Hb=["href"],Ub={class:"wf-fa wf-fa-question-circle-o"},qb={class:"wf-flex-vertical wf-flex-align-left"},jb={class:"wf-padding-add-left"},Wb={class:"wf-flex-vertical wf-flex-align-left"},zb=["value","id"],Yb=["for"],Gb={key:0},Kb={class:"wf-option-howgetips-details wf-padding-add-top-small"},Zb={class:"wf-left"},Qb={id:"howGetIPs-preview-all"},Xb={key:1},Jb={class:"wf-left"},ey={id:"howGetIPs-preview-single"},ty={class:"wf-left"},ny={key:0,id:"howGetIPs-trusted-proxies"},ay=["id","data-original-value"],ly={class:"wf-option-content"},oy={class:"wf-option-title"},sy={class:"wf-flex-vertical wf-flex-align-left"},ry={class:"wf-option-subtitle"},iy={class:"wf-option-textarea"},uy={key:0,id:"howGetIPs-trusted-proxy-preset"},cy=["id","data-original-value"],dy={class:"wf-option-content"},py={class:"wf-option-title"},fy={class:"wf-flex-vertical wf-flex-align-left"},hy=["id"],my={class:"wf-option-subtitle"},gy={class:"wf-option-select"},wy=["disabled","aria-labelledby"],vy={class:"wf-option-select-option",value:""},by=["value"],yy={__name:"HowGetIPs",emits:["change","changeTrustedProxies","changeTrustedProxyPreset"],setup(l,{emit:o}){const{$ajax:c}=yi(),d=o,p=u("__"),y=u("$mitt"),S=u("wfconstants"),C=u("$dataStore");T(()=>{y.on("resetOptionControls",L)}),D(()=>{y.off("resetOptionControls",L),clearTimeout(te.value)});const L=()=>{X.value=!1,P(ee)},{$elementID:A,$elementClasses:O,$pendingValue:I}=Kd("howGetIPs",C.$options.howGetIPs,d,{always:["wf-option-howgetips"]}),{$elementID:E,$elementClasses:R,$pendingValue:N}=Kd("howGetIPs_trusted_proxies",C.$options.howGetIPs_trusted_proxies,d,{always:["wf-option-textarea"]},"changeTrustedProxies"),{$elementID:B,$elementIDLabel:F,$elementClasses:H,$pendingValue:U}=Kd("howGetIPs_trusted_proxy_preset",C.$options.howGetIPs_trusted_proxy_preset,d,{always:["wf-option-select"]},"changeTrustedProxyPreset");Zd({howGetIPs:A,howGetIPs_trusted_proxies:E,howGetIPs_trusted_proxy_preset:B});const q=[{value:"",label:p("Let Wordfence use the most secure method to get visitor IP addresses. Prevents spoofing and works with most sites."),recommended:!0},{value:"REMOTE_ADDR",label:p("Use PHP's built in REMOTE_ADDR and don't use anything else. Very secure if this is compatible with your site.")},{value:"HTTP_X_FORWARDED_FOR",label:p("Use the X-Forwarded-For HTTP header. Only use if you have a front-end proxy or spoofing may result.")},{value:"HTTP_X_REAL_IP",label:p("Use the X-Real-IP HTTP header. Only use if you have a front-end proxy or spoofing may result.")},{value:"HTTP_CF_CONNECTING_IP",label:p('Use the Cloudflare "CF-Connecting-IP" HTTP header to get a visitor IP. Only use if you\'re using Cloudflare.')}],j=e=>`${w(A)}-${e.value.replace(/[^a-z0-9]/gi,"-")}`,G=t(S.plugin.ip.current),K=e(S.plugin.ip.preview),Z=e(S.plugin.ip.proxy_presets),Q=n(()=>{let e=Object.keys(Z);return e.sort((e,t)=>e.localeCompare(t)),e}),X=t(!1),J=t(0),ee=()=>{const e=++J.value;c("wordfence_updateIPPreview",{howGetIPs:w(I),howGetIPs_trusted_proxies:w(N),howGetIPs_trusted_proxy_preset:w(U)},t=>{e===J.value&&t&&t.ok&&(G.value=t.ip,K.splice(0,K.length,...t.ipAll))})};f(I,ee);const te=t(0);return f(N,()=>{clearTimeout(te.value),te.value=setTimeout(ee,1e3)}),f(U,ee),(e,t)=>{const n=h("aria");return a(),r("ul",Rb,[v("li",null,[v("ul",{id:w(A),class:k(w(O)),"data-option-name":"howGetIPs","data-original-value":w(C).$options.howGetIPs},[t[4]||(t[4]=v("li",{class:"wf-option-spacer"},null,-1)),v("li",Bb,[v("ul",Vb,[v("li",Fb,[x(b(w(p)("How does Wordfence get IPs"))+" ",1),v("a",{href:w(S).support.url.dashboard_option_how_get_ips,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Ub,null,512),[[n,{hidden:!0}]]),M(w(Bi))],8,Hb)]),v("li",null,[v("ul",qb,[v("li",jb,[_((a(),r("ul",Wb,[(a(),r(m,null,g(q,e=>v("li",{class:"wf-padding-add-top-small",key:j(e)},[_(v("input",{type:"radio",class:"wf-option-radio",name:"wf-howgetIPs",value:e.value,id:j(e),"onUpdate:modelValue":t[0]||(t[0]=e=>W(I)?I.value=e:null)},null,8,zb),[[z,w(I)]]),v("label",{for:j(e),class:"wf-plain"},[x("  "+b(e.label),1),e.recommended?(a(),r("strong",Gb," "+b(w(p)("(recommended)")),1)):i("",!0)],8,Yb)])),64))])),[[n,{role:"radiogroup"}]])]),v("li",Kb,[v("div",Zb,[x(b(w(p)("Detected IP(s)"))+":  ",1),v("span",Qb,[(a(!0),r(m,null,g(K,(e,t)=>(a(),r(m,{key:t},[t>0?(a(),r(m,{key:0},[x(", ")],64)):i("",!0),e.selected?(a(),r("strong",Xb,b(e.ip),1)):(a(),r(m,{key:2},[x(b(e.ip),1)],64))],64))),128))])]),v("div",Jb,[x(b(w(p)("Your IP with this setting"))+": ",1),v("span",ey,b(G.value),1)]),v("div",ty,[_((a(),r("a",{href:"#",id:"howGetIPs-trusted-proxies-show",onClick:t[1]||(t[1]=$(e=>X.value=!X.value,["stop","prevent"]))},[x("+ "+b(w(p)("Edit trusted proxies")),1)])),[[n,{role:"button"}]])])])])])])])],10,Nb)]),M(w(Hc),null,{default:s(()=>[X.value?(a(),r("li",ny,[v("ul",{id:w(E),class:k(w(R)),"data-option-name":"howGetIPs_trusted_proxies","data-original-value":w(C).$options.howGetIPs_trusted_proxies},[t[5]||(t[5]=v("li",{class:"wf-option-spacer"},null,-1)),v("li",ly,[v("ul",null,[v("li",oy,[v("ul",sy,[v("li",null,b(w(p)("Trusted Proxies")),1),v("li",ry,b(w(p)("These IPs (or CIDR ranges) will be ignored when determining the requesting IP via the X-Forwarded-For HTTP header. Enter one IP or CIDR range per line.")),1)])]),v("li",iy,[_(v("textarea",{spellcheck:"false",autocapitalize:"none",autocomplete:"off",name:"howGetIPs_trusted_proxies","onUpdate:modelValue":t[2]||(t[2]=e=>W(N)?N.value=e:null)},null,512),[[V,w(N)]])])])])],10,ay)])):i("",!0)]),_:1}),M(w(Hc),null,{default:s(()=>[X.value?(a(),r("li",uy,[v("ul",{id:w(B),class:k(w(H)),"data-option-name":"howGetIPs_trusted_proxy_preset","data-original-value":w(C).$options.howGetIPs_trusted_proxy_preset},[t[6]||(t[6]=v("li",{class:"wf-option-spacer"},null,-1)),v("li",dy,[v("ul",null,[v("li",py,[v("ul",fy,[v("li",null,[v("span",{id:w(F)},b(w(p)("Trusted Proxy Preset")),9,hy)]),v("li",my,b(w(p)("In addition to the above list, the IPs (or CIDR ranges) in the selected preset will be ignored when determining the requesting IP via the X-Forwarded-For HTTP header.")),1)])]),v("li",gy,[_(v("select",{disabled:!Q.value.length,"aria-labelledby":w(F),"onUpdate:modelValue":t[3]||(t[3]=e=>W(U)?U.value=e:null)},[v("option",vy,b(w(p)("None")),1),(a(!0),r(m,null,g(Q.value,e=>(a(),r("option",{class:"wf-option-select-option",key:e,value:e},b(Z[e].name),9,by))),128))],8,wy),[[Y,w(U)]])])])])],10,cy)])):i("",!0)]),_:1})])}}},ky={class:"wf-block-list"},_y={class:"wf-red-dark"},xy=["href"],Sy={__name:"OptionsGroupGeneral",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("wfconstants"),o=u("$dataStore"),{$updatePendingValue:c}=Ei();return(u,d)=>(a(),l(w(Vv),{stateKey:e.stateKey,collapseable:e.collapseable},{title:s(()=>[x(b(w(t)("General Wordfence Options")),1)]),default:s(()=>[v("ul",ky,[v("li",null,[M(w(mb),{optionName:"autoUpdate",value:w(o).$options.autoUpdate,enabledValue:!0,disabledValue:!1,title:w(t)("Update Wordfence automatically when a new version is released?"),helpLink:w(n).support.url.dashboard_option_automatic_update,onChange:d[0]||(d[0]=e=>w(c)("autoUpdate",e.new,w(o).$options.autoUpdate))},{subtitle:s(()=>[x(b(w(t)("Automatically updates Wordfence to the newest version within 24 hours of a new release."))+" ",1),!w(o).$options.other_bypassLitespeedNoabort&&"1"!==w(n).plugin.server.env.noabort&&/litespeed/i.test(w(n).plugin.server.software)?(a(),r(m,{key:0},[d[12]||(d[12]=v("br",null,null,-1)),d[13]||(d[13]=v("br",null,null,-1)),v("span",_y,b(w(t)("Warning"))+": "+b(w(t)('You are running the LiteSpeed web server and Wordfence can\'t determine whether "noabort" is set. Please verify that the environmental variable "noabort" is set for the local site, or the server\'s global External Application Abort is set to "No Abort".')),1),d[14]||(d[14]=v("br",null,null,-1)),v("a",{href:w(n).support.url.dashboard_option_litespeed_warning,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Please read this article in our FAQ to make an important change that will ensure your site stability during an update.")),1),M(w(Bi))],8,xy)],64)):i("",!0)]),_:1},8,["value","title","helpLink"])]),v("li",null,[M(w(Eb),{optionName:"alertEmails",value:w(o).$options.alertEmails,title:w(t)("Where to email alerts"),placeholder:w(t)("Separate multiple addresses with commas"),helpLink:w(n).support.url.dashboard_option_alert_emails,onChange:d[1]||(d[1]=e=>w(c)("alertEmails",e.new,w(o).$options.alertEmails))},null,8,["value","title","placeholder","helpLink"])]),v("li",null,[M(w(yy),{onChange:d[2]||(d[2]=e=>w(c)("howGetIPs",e.new,w(o).$options.howGetIPs)),onChangeTrustedProxies:d[3]||(d[3]=e=>w(c)("howGetIPs_trusted_proxies",e.new,w(o).$options.howGetIPs_trusted_proxies)),onChangeTrustedProxyPreset:d[4]||(d[4]=e=>w(c)("howGetIPs_trusted_proxy_preset",e.new,w(o).$options.howGetIPs_trusted_proxy_preset))})]),v("li",null,[M(w(mb),{optionName:"enableRemoteIpLookup",value:w(o).$options.enableRemoteIpLookup,enabledValue:!0,disabledValue:!1,title:w(t)("Look up visitor IP locations via Wordfence servers"),subtitle:w(t)("If this option is disabled, Wordfence can look up countries for visitor IP addresses using a local database, but cannot look up regions or cities"),helpLink:w(n).support.url.general_remote_ip_lookup,onChange:d[5]||(d[5]=e=>w(c)("enableRemoteIpLookup",e.new,w(o).$options.enableRemoteIpLookup))},null,8,["value","title","subtitle","helpLink"])]),v("li",null,[M(w(mb),{optionName:"other_hideWPVersion",value:w(o).$options.other_hideWPVersion,enabledValue:!0,disabledValue:!1,title:w(t)("Hide WordPress version"),helpLink:w(n).support.url.dashboard_option_hide_version,onChange:d[6]||(d[6]=e=>w(c)("other_hideWPVersion",e.new,w(o).$options.other_hideWPVersion))},null,8,["value","title","helpLink"])]),v("li",null,[M(w(mb),{optionName:"disableCodeExecutionUploads",value:w(o).$options.disableCodeExecutionUploads,enabledValue:!0,disabledValue:!1,title:w(t)("Disable Code Execution for Uploads directory"),helpLink:w(n).support.url.dashboard_option_disable_uploads_execution,onChange:d[7]||(d[7]=e=>w(c)("disableCodeExecutionUploads",e.new,w(o).$options.disableCodeExecutionUploads))},null,8,["value","title","helpLink"])]),v("li",null,[M(w(mb),{optionName:"liveActivityPauseEnabled",value:w(o).$options.liveActivityPauseEnabled,enabledValue:!0,disabledValue:!1,title:w(t)("Pause live updates when window loses focus"),helpLink:w(n).support.url.dashboard_option_pause_live_updates,onChange:d[8]||(d[8]=e=>w(c)("liveActivityPauseEnabled",e.new,w(o).$options.liveActivityPauseEnabled))},null,8,["value","title","helpLink"])]),v("li",null,[M(w(Eb),{optionName:"actUpdateInterval",value:w(o).$options.actUpdateInterval,title:w(t)("Update interval in seconds"),placeholder:w(t)("Setting higher will reduce browser traffic but slow scan starts, live traffic & status updates."),helpLink:w(n).support.url.dashboard_option_update_interval,onChange:d[9]||(d[9]=e=>w(c)("actUpdateInterval",e.new,w(o).$options.actUpdateInterval))},null,8,["value","title","placeholder","helpLink"])]),v("li",null,[M(w(mb),{optionName:"other_bypassLitespeedNoabort",value:w(o).$options.other_bypassLitespeedNoabort,enabledValue:!0,disabledValue:!1,title:w(t)('Bypass the LiteSpeed "noabort" check'),helpLink:w(n).support.url.dashboard_option_bypass_litespeed_check,onChange:d[10]||(d[10]=e=>w(c)("other_bypassLitespeedNoabort",e.new,w(o).$options.other_bypassLitespeedNoabort))},null,8,["value","title","helpLink"])]),v("li",null,[M(w(mb),{optionName:"deleteTablesOnDeact",value:w(o).$options.deleteTablesOnDeact,enabledValue:!0,disabledValue:!1,title:w(t)("Delete Wordfence tables and data on deactivation"),subtitle:w(t)("Note: This does not include Login Security settings and tables. An option to delete those must be selected separately on the Login Security settings page."),helpLink:w(n).support.url.dashboard_option_delete_deactivation,onChange:d[11]||(d[11]=e=>w(c)("deleteTablesOnDeact",e.new,w(o).$options.deleteTablesOnDeact))},null,8,["value","title","subtitle","helpLink"])])])]),_:1},8,["stateKey","collapseable"]))}},Ty={class:"wf-block-list"},Cy={key:1},My={class:"wf-option"},Ly={class:"wf-flex-vertical wf-flex-align-left"},Ay={class:"wf-no-top"},Dy={class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:"https://www.wordfence.com/gnl1dashboardUpgrade/wordfence-signup/#premium-order-form",target:"_blank",rel:"noopener noreferrer"},Py={class:"wf-btn wf-btn-callout-subtle wf-btn-default",href:"https://www.wordfence.com/gnl1dashboardLearn/wordfence-signup/",target:"_blank",rel:"noopener noreferrer"},Oy={__name:"OptionsGroupDashboard",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("$mitt"),o=u("$dataStore"),{$isPaid:d}=Fc(),{$updatePendingValue:p}=Ei(),f=e,{stateKey:h,collapseable:g}=c(f);T(()=>{n.on("resetOptionControls",y)}),D(()=>{n.off("resetOptionControls",y)});const y=()=>{};return(e,n)=>(a(),l(w(Vv),{stateKey:w(h),collapseable:w(g)},{title:s(()=>[x(b(w(t)("Dashboard Notification Options")),1)]),default:s(()=>[v("ul",Ty,[v("li",null,[M(w(mb),{optionName:"notification_updatesNeeded",value:w(o).$options.notification_updatesNeeded,enabledValue:!0,disabledValue:!1,title:w(t)("Updates Needed (Plugin, Theme, or Core)"),onChange:n[0]||(n[0]=e=>w(p)("notification_updatesNeeded",e.new,w(o).$options.notification_updatesNeeded))},null,8,["value","title"])]),w(d)?(a(),r(m,{key:0},[v("li",null,[M(w(mb),{optionName:"notification_securityAlerts",value:w(o).$options.notification_securityAlerts,enabledValue:!0,disabledValue:!1,title:w(t)("Security Alerts"),premium:!0,onChange:n[1]||(n[1]=e=>w(p)("notification_securityAlerts",e.new,w(o).$options.notification_securityAlerts))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"notification_promotions",value:w(o).$options.notification_promotions,enabledValue:!0,disabledValue:!1,title:w(t)("Promotions"),premium:!0,onChange:n[2]||(n[2]=e=>w(p)("notification_promotions",e.new,w(o).$options.notification_promotions))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"notification_blogHighlights",value:w(o).$options.notification_blogHighlights,enabledValue:!0,disabledValue:!1,title:w(t)("Blog Highlights"),premium:!0,onChange:n[3]||(n[3]=e=>w(p)("notification_blogHighlights",e.new,w(o).$options.notification_blogHighlights))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"notification_productUpdates",value:w(o).$options.notification_productUpdates,enabledValue:!0,disabledValue:!1,title:w(t)("Product Updates"),premium:!0,onChange:n[4]||(n[4]=e=>w(p)("notification_productUpdates",e.new,w(o).$options.notification_productUpdates))},null,8,["value","title"])])],64)):i("",!0),v("li",null,[M(w(mb),{optionName:"notification_scanStatus",value:w(o).$options.notification_scanStatus,enabledValue:!0,disabledValue:!1,title:w(t)("Scan Status"),onChange:n[5]||(n[5]=e=>w(p)("notification_scanStatus",e.new,w(o).$options.notification_scanStatus))},null,8,["value","title"])]),w(d)?i("",!0):(a(),r("li",Cy,[v("ul",My,[n[7]||(n[7]=v("li",{class:"wf-option-spacer"},null,-1)),v("li",Ly,[v("p",null,b(w(t)("Dashboard notifications will also be displayed for Security Alerts, Promotions, Blog Highlights, and Product Updates.These notifications can be disabled by upgrading to a premium license.")),1),v("p",Ay,[v("a",Dy,b(w(t)("Upgrade to Premium")),1),n[6]||(n[6]=x("  ",-1)),v("a",Py,[x(b(w(t)("Learn More")),1),M(w(Bi))])])])])]))])]),_:1},8,["stateKey","collapseable"]))}},$y={class:"wf-flex-vertical wf-flex-full-width"},Iy=["id","data-option","data-enabled-value","data-disabled-value","data-original-value"],Ey={key:0,class:"wf-option-premium-lock"},Ry=["onKeydown"],Ny={class:"wf-ion-ios-checkmark-empty"},By={key:2,class:"wf-option-title"},Vy={class:"wf-flex-vertical wf-flex-align-left"},Fy=["id"],Hy={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Uy=["href"],qy={class:"wf-fa wf-fa-question-circle-o"},jy={key:3,class:"wf-option-title"},Wy=["id"],zy={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Yy=["href"],Gy={class:"wf-fa wf-fa-question-circle-o"},Ky={class:"wf-option-sub"},Zy=["id","data-option","data-enabled-value","data-disabled-value","data-original-value"],Qy={key:0,class:"wf-option-premium-lock"},Xy=["onKeydown"],Jy={class:"wf-ion-ios-checkmark-empty"},ek={class:"wf-option-title"},tk=["id"],nk={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},ak=["href"],lk={class:"wf-fa wf-fa-question-circle-o"},ok={__name:"OptionToggledChild",props:{optionName:{type:String,required:!0},value:{default:null},enabledValue:{default:null},disabledValue:{default:null},title:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1},alignment:{type:[String,null],default:null},childOptionName:{type:String},childValue:{default:null},childEnabledValue:{default:null},childDisabledValue:{default:null},childTitle:{type:[String,null],default:null},childHelpLink:{type:[String,null],default:null},childPremium:{type:Boolean,default:!1},childDisabled:{type:Boolean,default:!1}},emits:["change","changeChild"],setup(e,{emit:t}){const n=t,l=N(),{$isPaid:o}=Fc(),{$maybeToggleControl:s}=li(),d=u("__"),p=e,{optionName:f,value:m,enabledValue:g,disabledValue:y,premium:S,disabled:T,noVerticalSpacing:C,alignment:L,childOptionName:A,childValue:D,childEnabledValue:P,childDisabledValue:O,childPremium:R,childDisabled:B}=c(p),{$elementID:V,$elementIDLabel:F,$elementClasses:H,$pendingValue:U}=Kd(f,m,n,{always:["wf-option-toggled"],premium:S,disabled:T,noVerticalSpacing:C,alignment:L}),{$elementID:q,$elementIDLabel:j,$elementClasses:W,$pendingValue:z}=Kd(A,D,n,{always:["wf-option-toggled"],premium:R,disabled:B},"changeChild");Zd({[p.optionName]:V,[p.childOptionName]:q});const Y=()=>{!o&&S.value||T.value||(U.value===g.value?U.value=y.value:U.value=g.value)},G=()=>{!o&&R.value||B.value||(z.value===P.value?z.value=O.value:z.value=P.value)};return(t,n)=>{const u=h("aria");return a(),r("ul",$y,[v("li",null,[v("ul",{id:w(V),class:k(w(H)),"data-option":w(f),"data-enabled-value":w(g),"data-disabled-value":w(y),"data-original-value":w(m)===w(g)?w(g):w(y)},[!w(o)&&w(S)?(a(),r("li",Ey)):_((a(),r("li",{key:1,class:k(["wf-option-checkbox",{"wf-checked":w(U)===w(g)}]),tabindex:"0",onClick:$(Y,["stop","prevent"]),onKeydown:E($(Y,["stop","prevent"]),["space"])},[_(v("i",Ny,null,512),[[u,{hidden:!0}]])],42,Ry)),[[u,{role:"checkbox",checked:w(U)===w(g),labelledby:w(F)}]]),e.subtitle||w(l).subtitle?(a(),r("li",By,[v("ul",Vy,[v("li",null,[v("span",{id:w(F),class:"wf-option-extended-toggle",onClick:n[0]||(n[0]=e=>w(s)(e,Y))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,Fy),w(S)?(a(),r("a",Hy,b(w(d)("Premium Feature")),1)):i("",!0),n[4]||(n[4]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",qy,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Uy)):i("",!0)]),v("li",{class:"wf-option-subtitle wf-option-extended-toggle",onClick:n[1]||(n[1]=e=>w(s)(e,Y))},[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])])):(a(),r("li",jy,[v("span",{id:w(F),class:"wf-option-extended-toggle",onClick:n[2]||(n[2]=e=>w(s)(e,Y))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,Wy),w(S)?(a(),r("a",zy,b(w(d)("Premium Feature")),1)):i("",!0),n[5]||(n[5]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Gy,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Yy)):i("",!0)]))],10,Iy)]),v("li",Ky,[v("ul",{id:w(q),class:k(w(W)),"data-option":w(A),"data-enabled-value":w(P),"data-disabled-value":w(O),"data-original-value":w(D)===w(P)?w(P):w(O)},[!w(o)&&w(R)?(a(),r("li",Qy)):_((a(),r("li",{key:1,class:k(["wf-option-checkbox",{"wf-checked":w(z)===w(P)}]),tabindex:"0",onClick:$(G,["stop","prevent"]),onKeydown:E($(G,["stop","prevent"]),["space"])},[_(v("i",Jy,null,512),[[u,{hidden:!0}]])],42,Xy)),[[u,{role:"checkbox",checked:w(z)===w(P),labelledby:w(j)}]]),v("li",ek,[v("span",{id:w(j),class:"wf-option-extended-toggle",onClick:n[3]||(n[3]=e=>w(s)(e,G))},[I(t.$slots,"childTitle",{},()=>[x(b(e.childTitle),1)])],8,tk),w(R)?(a(),r("a",nk,b(w(d)("Premium Feature")),1)):i("",!0),n[6]||(n[6]=x()),e.childHelpLink?(a(),r("a",{key:1,href:e.childHelpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",lk,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,ak)):i("",!0)])],10,Zy)])])}}},sk=["data-toggle-option","data-enabled-toggle-value","data-disabled-toggle-value","data-original-toggle-value","data-select-option","data-original-select-value"],rk={key:0,class:"wf-option-premium-lock"},ik=["id","onKeydown"],uk={class:"wf-ion-ios-checkmark-empty"},ck={class:"wf-option-content"},dk=["id"],pk={class:"wf-option-title"},fk=["id"],hk={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},mk=["href"],gk={class:"wf-fa wf-fa-question-circle-o"},wk={class:"wf-option-select wf-padding-add-top-xs-small"},vk={__name:"OptionToggledSelect",props:{optionName:{type:String,required:!0},value:{default:null},enabledValue:{default:null},disabledValue:{default:null},title:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1},alignment:{type:[String,null],default:null},selectOptionName:{type:String},selectValue:{default:null},selectOptions:{type:Array,default:()=>[]},selectTitle:{type:[String,null],default:null},selectHelpLink:{type:[String,null],default:null},selectPremium:{type:Boolean,default:!1},selectDisabled:{type:Boolean,default:!1}},emits:["change","changeSelect"],setup(e,{emit:t}){const n=t,{$isPaid:l}=Fc(),{$maybeToggleControl:o}=li(),s=u("__"),d=e,{optionName:p,value:f,enabledValue:m,disabledValue:g,premium:y,disabled:S,noVerticalSpacing:T,alignment:C,selectOptionName:L,selectValue:A,selectOptions:D,selectPremium:P,selectDisabled:O}=c(d),{$elementID:R,$elementClasses:N,$pendingValue:B}=Kd(p,f,n,{always:["wf-option-toggled-select"],premium:y,disabled:S,noVerticalSpacing:T,alignment:C}),{$elementID:V,$elementIDLabel:F,$pendingValue:H}=Kd(L,A,n,{always:["wf-option-select"],premium:P,disabled:O},"changeSelect");Zd({[d.optionName]:R,[d.selectOptionName]:V});const U=()=>{!l&&y.value||S.value||(B.value===m.value?B.value=g.value:B.value=m.value)};return(t,n)=>{const u=h("aria");return a(),r("ul",{class:k(w(N)),"data-toggle-option":w(p),"data-enabled-toggle-value":w(m),"data-disabled-toggle-value":w(g),"data-original-toggle-value":w(f)===w(m)?w(m):w(g),"data-select-option":w(L),"data-original-select-value":w(A)},[!w(l)&&w(y)?(a(),r("li",rk)):_((a(),r("li",{key:1,id:w(R),class:k(["wf-option-checkbox",{"wf-checked":w(B)===w(m)}]),tabindex:"0",onClick:$(U,["stop","prevent"]),onKeydown:E($(U,["stop","prevent"]),["space"])},[_(v("i",uk,null,512),[[u,{hidden:!0}]])],42,ik)),[[u,{role:"checkbox",checked:w(B)===w(m)}]]),v("li",ck,[v("ul",{id:w(V)},[v("li",pk,[v("span",{id:w(F),class:"wf-option-extended-toggle",onClick:n[0]||(n[0]=e=>w(o)(e,U))},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,fk),w(y)?(a(),r("a",hk,b(w(s)("Premium Feature")),1)):i("",!0),n[2]||(n[2]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",gk,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,mk)):i("",!0)]),v("li",wk,[M(w(ic),{disabled:w(B)!==w(m)||!w(l)&&w(y),"aria-labelledby":w(F),modelValue:w(H),"onUpdate:modelValue":n[1]||(n[1]=e=>W(H)?H.value=e:null),options:w(D),canClear:!1},null,8,["disabled","aria-labelledby","modelValue","options"])])],8,dk)])],10,sk)}}},bk={class:"wf-block-list"},yk={__name:"OptionsGroupAlert",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("wfconstants"),o=u("$dataStore"),{$updatePendingValue:r}=Ei();return(i,u)=>(a(),l(w(Vv),{stateKey:e.stateKey,collapseable:e.collapseable},{title:s(()=>[x(b(w(t)("Email Alert Preferences")),1)]),default:s(()=>[v("ul",bk,[v("li",null,[M(w(mb),{optionName:"alertOn_update",value:w(o).$options.alertOn_update,enabledValue:!0,disabledValue:!1,title:w(t)("Email me when Wordfence is automatically updated"),subtitle:w(t)("If you have automatic updates enabled (see above), you'll get an email when an update occurs."),onChange:u[0]||(u[0]=e=>w(r)("alertOn_update",e.new,w(o).$options.alertOn_update))},null,8,["value","title","subtitle"])]),v("li",null,[M(w(mb),{optionName:"alertOn_wordfenceDeactivated",value:w(o).$options.alertOn_wordfenceDeactivated,enabledValue:!0,disabledValue:!1,title:w(t)("Email me if Wordfence is deactivated"),onChange:u[1]||(u[1]=e=>w(r)("alertOn_wordfenceDeactivated",e.new,w(o).$options.alertOn_wordfenceDeactivated))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"alertOn_wafDeactivated",value:w(o).$options.alertOn_wafDeactivated,enabledValue:!0,disabledValue:!1,title:w(t)("Email me if the Wordfence Web Application Firewall is turned off"),onChange:u[2]||(u[2]=e=>w(r)("alertOn_wafDeactivated",e.new,w(o).$options.alertOn_wafDeactivated))},null,8,["value","title"])]),v("li",null,[M(w(vk),{optionName:"alertOn_scanIssues",value:w(o).$options.alertOn_scanIssues,enabledValue:!0,disabledValue:!1,title:w(t)("Alert me with scan results of this severity level or greater:"),helpLink:w(n).support.url.scan_option_alert_threshold,onChange:u[3]||(u[3]=e=>w(r)("alertOn_scanIssues",e.new,w(o).$options.alertOn_scanIssues)),selectOptionName:"alertOn_severityLevel",selectOptions:[{value:w(n).scanner.severity.critical,label:w(t)("Critical")},{value:w(n).scanner.severity.high,label:w(t)("High")},{value:w(n).scanner.severity.medium,label:w(t)("Medium")},{value:w(n).scanner.severity.low,label:w(t)("Low")}],selectValue:w(o).$options.alertOn_severityLevel,onChangeSelect:u[4]||(u[4]=e=>w(r)("alertOn_severityLevel",e.new,w(o).$options.alertOn_severityLevel))},null,8,["value","title","helpLink","selectOptions","selectValue"])]),v("li",null,[M(w(mb),{optionName:"alertOn_block",value:w(o).$options.alertOn_block,enabledValue:!0,disabledValue:!1,title:w(t)("Alert when an IP address is blocked"),onChange:u[5]||(u[5]=e=>w(r)("alertOn_block",e.new,w(o).$options.alertOn_block))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"alertOn_loginLockout",value:w(o).$options.alertOn_loginLockout,enabledValue:!0,disabledValue:!1,title:w(t)("Alert when someone is locked out from login"),onChange:u[6]||(u[6]=e=>w(r)("alertOn_loginLockout",e.new,w(o).$options.alertOn_loginLockout))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"alertOn_breachLogin",value:w(o).$options.alertOn_breachLogin,enabledValue:!0,disabledValue:!1,title:w(t)("Alert when someone is blocked from logging in for using a password found in a breach"),onChange:u[7]||(u[7]=e=>w(r)("alertOn_breachLogin",e.new,w(o).$options.alertOn_breachLogin))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"alertOn_lostPasswdForm",value:w(o).$options.alertOn_lostPasswdForm,enabledValue:!0,disabledValue:!1,title:w(t)('Alert when the "lost password" form is used for a valid user'),onChange:u[8]||(u[8]=e=>w(r)("alertOn_lostPasswdForm",e.new,w(o).$options.alertOn_lostPasswdForm))},null,8,["value","title"])]),v("li",null,[M(w(ok),{optionName:"alertOn_adminLogin",value:w(o).$options.alertOn_adminLogin,enabledValue:!0,disabledValue:!1,title:w(t)("Alert me when someone with administrator access signs in"),onChange:u[9]||(u[9]=e=>w(r)("alertOn_adminLogin",e.new,w(o).$options.alertOn_adminLogin)),childOptionName:"alertOn_firstAdminLoginOnly",childValue:w(o).$options.alertOn_firstAdminLoginOnly,childEnabledValue:!0,childDisabledValue:!1,childTitle:w(t)("Only alert me when that administrator signs in from a new device"),onChangeChild:u[10]||(u[10]=e=>w(r)("alertOn_firstAdminLoginOnly",e.new,w(o).$options.alertOn_firstAdminLoginOnly))},null,8,["value","title","childValue","childTitle"])]),v("li",null,[M(w(ok),{optionName:"alertOn_nonAdminLogin",value:w(o).$options.alertOn_nonAdminLogin,enabledValue:!0,disabledValue:!1,title:w(t)("Alert me when a non-admin user signs in"),onChange:u[11]||(u[11]=e=>w(r)("alertOn_nonAdminLogin",e.new,w(o).$options.alertOn_nonAdminLogin)),childOptionName:"alertOn_firstNonAdminLoginOnly",childValue:w(o).$options.alertOn_firstNonAdminLoginOnly,childEnabledValue:!0,childDisabledValue:!1,childTitle:w(t)("Only alert me when that user signs in from a new device"),onChangeChild:u[12]||(u[12]=e=>w(r)("alertOn_firstNonAdminLoginOnly",e.new,w(o).$options.alertOn_firstNonAdminLoginOnly))},null,8,["value","title","childValue","childTitle"])]),v("li",null,[M(w(mb),{optionName:"wafAlertOnAttacks",value:w(o).$options.wafAlertOnAttacks,enabledValue:!0,disabledValue:!1,title:w(t)("Alert me when there's a large increase in attacks detected on my site"),onChange:u[13]||(u[13]=e=>w(r)("wafAlertOnAttacks",e.new,w(o).$options.wafAlertOnAttacks))},null,8,["value","title"])]),v("li",null,[M(w(Eb),{optionName:"alert_maxHourly",value:w(o).$options.alert_maxHourly,title:w(t)("Maximum email alerts to send per hour"),subtitle:w(t)("0 means unlimited alerts will be sent.","wordfence"),onChange:u[14]||(u[14]=e=>w(r)("alert_maxHourly",e.new,w(o).$options.alert_maxHourly))},null,8,["value","title","subtitle"])])])]),_:1},8,["stateKey","collapseable"]))}},kk=["id","data-option-name","data-original-value"],_k={key:0,class:"wf-option-spacer"},xk={class:"wf-option-content"},Sk={class:"wf-flex-vertical wf-flex-align-left"},Tk=["id"],Ck={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Mk=["href"],Lk={class:"wf-fa wf-fa-question-circle-o"},Ak={class:"wf-option-subtitle"},Dk=["id"],Pk={key:0,href:"https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/",target:"_blank",rel:"noopener noreferrer",class:"wf-premium-link"},Ok=["href"],$k={class:"wf-fa wf-fa-question-circle-o"},Ik={class:"wf-option-textarea"},Ek={key:0,class:"wf-flex-vertical wf-flex-align-left wf-flex-full-width"},Rk=["disabled","aria-labelledby"],Nk={class:"wf-option-subtitle"},Bk=["disabled","aria-labelledby"],Vk={__name:"OptionTextArea",props:{optionName:{type:String,required:!0},value:{default:null},title:{type:[String,null],default:null},alignTitle:{type:[String,null],default:null},subtitle:{type:[String,null],default:null},subtitlePosition:{type:String,default:"title"},helpLink:{type:[String,null],default:null},premium:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noSpacer:{type:Boolean,default:!1},noVerticalSpacing:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{$isPaid:n}=Fc(),l=t,o=N(),s=u("__"),d=e,{value:p,optionName:f,premium:m,disabled:g,noSpacer:y,noVerticalSpacing:S}=c(d),{$elementID:T,$elementIDLabel:C,$elementClasses:L,$pendingValue:A}=Kd(f,p,l,{always:["wf-option-textarea"],premium:m,disabled:g,noVerticalSpacing:S});return Zd({[d.optionName]:T}),(t,l)=>{const u=h("aria");return a(),r("ul",{id:w(T),class:k(w(L)),"data-option-name":w(f),"data-original-value":JSON.stringify(w(p))},[w(y)?i("",!0):(a(),r("li",_k)),v("li",xk,[v("ul",null,[(e.subtitle||w(o).subtitle)&&"title"===e.subtitlePosition?(a(),r("li",{key:0,class:k(["wf-option-title",{"wf-option-title-top":"top"===e.alignTitle,"wf-option-title-bottom":"bottom"===e.alignTitle}])},[v("ul",Sk,[v("li",null,[v("span",{id:w(C)},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,Tk),w(m)?(a(),r("a",Ck,b(w(s)("Premium Feature")),1)):i("",!0),l[2]||(l[2]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",Lk,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Mk)):i("",!0)]),v("li",Ak,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])],2)):(a(),r("li",{key:1,class:k(["wf-option-title",{"wf-option-title-top":"top"===e.alignTitle,"wf-option-title-bottom":"bottom"===e.alignTitle}])},[v("span",{id:w(C)},[I(t.$slots,"title",{},()=>[x(b(e.title),1)])],8,Dk),w(m)?(a(),r("a",Pk,b(w(s)("Premium Feature")),1)):i("",!0),l[3]||(l[3]=x()),e.helpLink?(a(),r("a",{key:1,href:e.helpLink,target:"_blank",rel:"noopener noreferrer",class:"wf-inline-help"},[_(v("i",$k,null,512),[[u,{hidden:!0}]]),M(w(Bi))],8,Ok)):i("",!0)],2)),v("li",Ik,[(e.subtitle||w(o).subtitle)&&"value"===e.subtitlePosition?(a(),r("ul",Ek,[v("li",null,[_(v("textarea",{disabled:w(g)||!w(n)&&w(m),"aria-labelledby":w(C),"onUpdate:modelValue":l[0]||(l[0]=e=>W(A)?A.value=e:null)},null,8,Rk),[[V,w(A)]])]),v("li",Nk,[I(t.$slots,"subtitle",{},()=>[x(b(e.subtitle),1)])])])):_((a(),r("textarea",{key:1,disabled:w(g)||!w(n)&&w(m),"aria-labelledby":w(C),"onUpdate:modelValue":l[1]||(l[1]=e=>W(A)?A.value=e:null)},null,8,Bk)),[[V,w(A)]])])])])],10,kk)}}},Fk={class:"wf-block-list"},Hk={__name:"OptionsGroupEmailSummary",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("$mitt"),o=u("$dataStore"),{$updatePendingValue:r}=Ei(),i=e,{stateKey:d,collapseable:p}=c(i);T(()=>{n.on("resetOptionControls",f)}),D(()=>{n.off("resetOptionControls",f)});const f=()=>{};return(e,n)=>(a(),l(w(Vv),{stateKey:w(d),collapseable:w(p)},{title:s(()=>[x(b(w(t)("Activity Report")),1)]),default:s(()=>[v("ul",Fk,[v("li",null,[M(w(vk),{optionName:"email_summary_enabled",value:w(o).$options.email_summary_enabled,enabledValue:!0,disabledValue:!1,title:w(t)("Enable email summary"),onChange:n[0]||(n[0]=e=>w(r)("email_summary_enabled",e.new,w(o).$options.email_summary_enabled)),selectOptionName:"email_summary_interval",selectOptions:[{value:"daily",label:w(t)("Once a day")},{value:"weekly",label:w(t)("Once a week")},{value:"monthly",label:w(t)("Once a month")}],selectValue:w(o).$options.email_summary_interval,onChangeSelect:n[1]||(n[1]=e=>w(r)("email_summary_interval",e.new,w(o).$options.email_summary_interval))},null,8,["value","title","selectOptions","selectValue"])]),v("li",null,[M(w(Vk),{optionName:"email_summary_excluded_directories",value:w(o).$options.email_summary_excluded_directories,title:w(t)("List of directories to exclude from recently modified file list"),onChange:n[2]||(n[2]=e=>w(r)("email_summary_excluded_directories",e.new,w(o).$options.email_summary_excluded_directories))},null,8,["value","title"])]),v("li",null,[M(w(mb),{optionName:"email_summary_dashboard_widget_enabled",value:w(o).$options.email_summary_dashboard_widget_enabled,enabledValue:!0,disabledValue:!1,title:w(t)("Enable activity report widget on the WordPress dashboard"),onChange:n[3]||(n[3]=e=>w(r)("email_summary_dashboard_widget_enabled",e.new,w(o).$options.email_summary_dashboard_widget_enabled))},null,8,["value","title"])])])]),_:1},8,["stateKey","collapseable"]))}},Uk={id:"wf-dashboard-options",class:"wf-fixed-tab-content"},qk={class:"wf-section-title"},jk={class:"wf-center-xs"},Wk={class:"wf-hidden-xs"},zk=["href"],Yk={class:"wf-fa wf-fa-external-link"},Gk={class:"wf-row"},Kk={class:"wf-col-xs-12"},Zk={class:"wf-block wf-always-active"},Qk={class:"wf-block-header"},Xk={class:"wf-block-header-content"},Jk={class:"wf-block-title"},e_={class:"wf-block-content"},t_={class:"wf-block-list"},n_={class:"wf-flex-horizontal wf-flex-vertical-xs wf-flex-full-width wf-add-top wf-add-bottom"},a_={class:"wf-right wf-left-xs wf-padding-add-top-xs-small"},l_=["href"],o_={__name:"DashboardOptions",setup(e){const t=u("__"),n=u("wfconstants"),l=window.wordfenceAdmin;return T(()=>{document.title=t("Wordfence Global Options")+" ‹ "+l.basePageName}),(e,l)=>{const o=h("aria");return a(),r("div",Uk,[v("div",qk,[l[1]||(l[1]=v("div",{class:"wordfence-lock-icon wordfence-icon32 wf-hidden-xs"},null,-1)),v("h2",jk,b(w(t)("Wordfence Global Options")),1),v("span",Wk,[v("a",{href:w(n).support.url.dashboard_options,target:"_blank",rel:"noopener noreferrer",class:"wf-help-link"},[M(w(Ic),{text:w(t)("Learn more about Global Options"),xs:w(t)("Learn More")},null,8,["text","xs"]),M(w(Bi))],8,zk),l[0]||(l[0]=x()),_(v("i",Yk,null,512),[[o,{hidden:!0}]])])]),M(w(bv),{showProtectionActivated:!1,attributionTag:"dashboardOptions",firewallOptionsLink:w(n).plugin.url.waf_options_from_dashboard_options,scanOptionsLink:w(n).plugin.url.scan_options_from_dashboard_options},null,8,["firewallOptionsLink","scanOptionsLink"]),M(w(Jv),{stateKey:"global-options-license"}),M(w(wb),{stateKey:"global-options-view-customization"}),M(w(Sy),{stateKey:"global-options-general"}),M(w(Oy),{stateKey:"global-options-dashboard"}),M(w(yk),{stateKey:"global-options-alert"}),M(w(Hk),{stateKey:"global-options-email-summary"}),v("div",Gk,[v("div",Kk,[v("div",Zk,[v("div",Qk,[v("div",Xk,[v("div",Jk,[v("strong",null,b(w(t)("Import/Export Options")),1)])])]),v("div",e_,[v("ul",t_,[v("li",null,[v("ul",n_,[v("li",null,b(w(t)("Importing and exporting of options has moved to the Tools page")),1),v("li",a_,[v("a",{href:w(n).plugin.url.import_export_redirect,class:"wf-btn wf-btn-primary wf-btn-callout-subtle",id:"wf-export-options"},b(w(t)("Import/Export Options")),9,l_)])])])])])])])])])}}};function s_(){return{$hasOwn:(e,t)=>ca(e,t),$structuredClone:e=>ni(e)}}const r_=["innerHTML"],i_={__name:"SafeHTML",props:{unsafeHTML:{type:String,default:""},allowedTags:{type:Array,default:()=>["b","i","em","strong","a","br","span","code","pre"]},allowedAttributes:{type:Object,default:()=>({a:["href","target","rel","class"],span:["class","data-tooltip","title"],strong:["class"],b:["class"],i:["class"],em:["class"],code:["class"],pre:["class"],"*":["style"]})},allowedStyles:{type:Object,default:()=>({"*":{color:[/^#(0x)?[0-9a-f]+$/i,/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/]}})},additionalTags:{type:Array,default:()=>[]},additionalAttributes:{type:Object,default:()=>({})},additionalStyles:{type:Object,default:()=>({})}},setup(e){const{$hasOwn:t,$structuredClone:l}=s_(),o=e,{allowedTags:s,allowedAttributes:i,allowedStyles:u,additionalTags:d,additionalAttributes:p,additionalStyles:f}=c(o),h=n(()=>g(m,d.value,p.value,f.value)),m=()=>({allowedTags:l(s.value),allowedAttributes:l(i.value),allowedStyles:l(u.value)}),g=(e,n,a,o)=>{const s=e();return s.allowedTags.push(...n),Object.keys(a).forEach(e=>{const t=s.allowedAttributes[e]??[];s.allowedAttributes[e]=[...t,...a[e]]}),Object.keys(o).forEach(e=>{const n=o[e];t(s.allowedStyles,e)?Object.keys(n).forEach(a=>{t(s.allowedStyles[e],a)||(s.allowedStyles[e][a]=[]),s.allowedStyles[e][a].push(...n[a])}):s.allowedStyles[e]=l(n)}),s};return(t,n)=>(a(),r("span",{innerHTML:w(Qg)(e.unsafeHTML,h.value)},null,8,r_))}},u_={class:"wf-block-list"},c_={class:"wf-diagnostics-item-label"},d_={class:"wf-right"},p_={key:1},f_={key:0},h_=["onClick"],m_={key:0,class:"wf-pre wf-split-word",style:{"max-width":"600px"}},g_={key:1},w_={__name:"DiagnosticsBlock",props:{stateKey:{type:String,required:!0},collapseable:{type:Boolean,default:!0},title:{type:String,required:!0},subtitle:{type:[String,null],default:null},hasFailingTest:{type:Boolean,default:!1},results:{type:Array,default:()=>[]}},setup(t){const n=u("__"),c=e({});return(e,u)=>{const d=h("nl2br"),p=h("aria");return a(),l(w(Vv),{stateKey:t.stateKey,collapseable:t.collapseable,class:k({"wf-diagnostic-fail":t.hasFailingTest})},q({title:s(()=>[x(b(t.title),1)]),default:s(()=>[v("ul",u_,[(a(!0),r(m,null,g(t.results,e=>(a(),r("li",{key:e.name},[v("div",c_,[e.label?.raw?(a(),l(w(i_),{key:0,unsafeHTML:e.label.value},null,8,["unsafeHTML"])):(a(),l(w(i_),{key:1,unsafeHTML:e.label,allowedTags:["code","strong","em","a","span"]},null,8,["unsafeHTML"]))]),v("div",d_,[v("div",{class:k({"wf-result-info":e.infoOnly,"wf-result-success":!e.infoOnly&&e.test,"wf-result-warn":!e.infoOnly&&!e.test&&e.warn,"wf-result-error":!e.infoOnly&&!e.test&&!e.warn})},[e.message.escaped?(a(),l(w(i_),{key:0,unsafeHTML:e.message.escaped},null,8,["unsafeHTML"])):_((a(),r("span",p_,null,512)),[[d,e.message]])],2),e.detail?(a(),r(m,{key:0},[M(o,{name:"wf-fade"},{default:s(()=>[c[e.name]?i("",!0):(a(),r("p",f_,[_((a(),r("a",{href:"#",onClick:$(t=>{return n=e.name,void(c[n]=!0);var n},["stop","prevent"])},[x(b(w(n)("View Additional Detail")),1)],8,h_)),[[p,{role:"button"}]])]))]),_:2},1024),M(o,{name:"wf-fade"},{default:s(()=>[c[e.name]?(a(),r("pre",m_,[e.detail.escaped?(a(),l(w(i_),{key:0,unsafeHTML:e.detail.escaped},null,8,["unsafeHTML"])):_((a(),r("span",g_,null,512)),[[d,e.detail]])])):i("",!0)]),_:2},1024)],64)):i("",!0)])]))),128))])]),_:2},[t.subtitle?{name:"subtitle",fn:s(()=>[x(b(t.subtitle),1)]),key:"0"}:void 0]),1032,["stateKey","collapseable","class"])}}},v_=["href"],b_=["value"],y_=["value"],k_={__name:"DiagnosticsClearCentralConnectionData",setup(e){const t=u("__"),n=u("wfconstants"),{$ajax:l}=yi(),{$modalNotice:o}=Ii(),s=()=>{l("wordfence_wfcentral_disconnect",{force:!0},e=>{e.success&&o(t("Successfully removed data"),t("All associated Wordfence Central connection data has been cleared."))})},i=()=>{l("wordfence_wfcentral_disconnect",{local:!0},e=>{e.success&&o(t("Successfully removed data"),t("All associated Wordfence Central connection data has been cleared."))})};return(e,l)=>(a(),r("span",null,[x(b(w(t)("Clear all Wordfence Central connection data"))+" ",1),v("a",{href:w(n).support.url.diagnostics_remove_central_data,target:"_blank",rel:"noopener noreferrer",class:"wfhelp wf-inline-help"},[M(w(Bi))],8,v_),v("input",{class:"wf-btn wf-btn-default wf-btn-sm",type:"button",value:w(t)("Clear All Connection Data"),onClick:$(s,["stop","prevent"])},null,8,b_),v("input",{class:"wf-btn wf-btn-default wf-btn-sm",type:"button",value:w(t)("Clear Local Connection Data"),onClick:$(i,["stop","prevent"])},null,8,y_)]))}},__={id:"sendByEmailForm",class:"wf-block wf-active"},x_={class:"wf-block-header"},S_={class:"wf-block-header-content"},T_={class:"wf-block-title"},C_={class:"wf-block-content wf-clearfix"},M_={class:"wf-block-list"},L_={style:{width:"40%"}},A_={style:{width:"40%"}},D_=["disabled"],P_={__name:"DiagnosticsSendReportEmail",setup(e){const l=u("__"),{$ajax:o}=yi(),{$modalNotice:s}=Ii(),i=t("wftest@wordfence.com"),c=n(()=>/^[^@]+@[^@]+$/.test(i.value)),d=t(""),p=()=>{o("wordfence_sendDiagnostic",{email:i.value,ticket:d.value},e=>{e.result?s(l("Email Diagnostic Report"),l("Diagnostic report has been sent successfully.")):s(l("Error"),l("There was an error while sending the email."))},e=>{s(l("Error"),l("There was an error while sending the email."))})};return(e,t)=>(a(),r("div",__,[v("div",x_,[v("div",S_,[v("div",T_,[v("strong",null,b(w(l)("Send Report by Email")),1)])])]),v("div",C_,[v("ul",M_,[v("li",null,[v("div",null,b(w(l)("Email address"))+":",1),v("div",L_,[v("p",null,[_(v("input",{class:"wf-input-text",type:"email",id:"_email","onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),required:""},null,512),[[V,i.value]])])])]),v("li",null,[v("div",null,b(w(l)("Ticket Number/Forum Username"))+":",1),v("div",A_,[v("p",null,[_(v("input",{class:"wf-input-text",type:"text",id:"_ticketnumber","onUpdate:modelValue":t[1]||(t[1]=e=>d.value=e),required:""},null,512),[[V,d.value]])])])]),v("li",null,[v("p",null,[v("input",{class:"wf-btn wf-btn-primary",type:"button",id:"doSendEmail",value:"Send",onClick:$(p,["stop","prevent"]),disabled:!c.value},null,8,D_)])])])])]))}},O_={class:"wf-diagnostics-wrapper wf-add-bottom"},$_={class:"wf-flex-horizontal wf-flex-vertical-xs"},I_={class:"wf-flex-row-1"},E_=["href"],R_={class:"wf-flex-row-0 wf-padding-add-left"},N_={class:"wf-add-bottom wf-add-top"},B_={class:"wf-nowrap"},V_=["value"],F_=["value"],H_=["value"],U_={__name:"DiagnosticsHeader",setup(e){const n=u("$"),o=u("__"),s=u("wfconstants"),c=u("$dataStore"),d=window.wordfenceAdmin,{$addQueryArg:p}=Ri(),f=t(!1),h=()=>{d.showLoading();const e=window.open(p(s.plugin.url.export_diagnostics,{nonce:c.$wordfence.nonce["wp-ajax"]}));e?e.onbeforeunload=()=>{d.removeLoading()}:d.removeLoading()},m=()=>{n("#wf-diagnostics").find(".wf-block").each(function(){const e=n(this);e.hasClass("wf-active")||e.find(".wf-block-header").trigger("click")})};return(e,t)=>(a(),r("div",O_,[v("div",$_,[v("div",I_,[x(b(w(o)("This page shows information that can be used for troubleshooting conflicts, configuration issues, or compatibility with other plugins, themes, or a host's environment. Failing tests are not always a sign of something that you need to fix, but can help the Wordfence team when troubleshooting a problem.")),1),t[1]||(t[1]=v("br",null,null,-1)),v("a",{href:w(s).support.url.diagnostics,target:"_blank",rel:"noopener noreferrer"},[x(b(w(o)("Learn More")),1),M(w(Bi))],8,E_)]),v("div",R_,[v("div",N_,[v("span",B_,[v("input",{class:"wf-btn wf-btn-primary wf-btn-sm",type:"submit",id:"exportDiagnostics",value:w(o)("Export"),onClick:$(h,["stop","prevent"])},null,8,V_),f.value?i("",!0):(a(),r("input",{key:0,class:"wf-btn wf-btn-primary wf-btn-sm",type:"submit",id:"sendByEmail",value:w(o)("Send Report"),onClick:t[0]||(t[0]=$(e=>f.value=!0,["stop","prevent"]))},null,8,F_)),v("input",{class:"wf-btn wf-btn-default wf-btn-sm",type:"button",id:"expandAllDiagnostics",value:w(o)("Expand All"),onClick:$(m,["stop","prevent"])},null,8,H_)])])])]),f.value?(a(),l(w(P_),{key:0})):i("",!0)]))}},q_="diagnostics-test-email-confirmation-modal",j_={__name:"DiagnosticsTestEmailConfirmationModal",props:{show:{type:Boolean,default:!1},message:{type:String,required:!0}},setup(e){const t=u("__"),n=u("$mitt");return S("modalName",q_),(r,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Test Email Sent")),1)]),body:s(()=>[x(b(w(t)("Your test email was sent to the requested email address. The result we received from the WordPress wp_mail() function was:"))+" ",1),v("code",null,b(e.message),1),u[1]||(u[1]=v("br",null,null,-1)),u[2]||(u[2]=v("br",null,null,-1)),x(b(w(t)("A 'True' result means WordPress thinks the mail was sent without errors. A 'False' result means that WordPress encountered an error sending your mail. Note that it's possible to get a 'True' response with an error elsewhere in your mail system that may cause emails to not be delivered.")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:u[0]||(u[0]=e=>w(n).emit("closeModal",q_)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},W_={__name:"DiagnosticsModals",setup(t){const l=u("$mitt"),{$hasOwn:o}=ai(),s=e({"diagnostics-test-email-confirmation-modal":{show:!1,message:"",configurator:e=>{s[e.name].message=e.message}}}),i=n(()=>Object.values(s).some(e=>e.show));T(()=>{l.on("showModal",c),l.on("closeModal",d)}),D(()=>{l.off("showModal",c),l.off("closeModal",d)});const c=e=>{for(const t of Object.keys(s))t!==e.name&&s[t].show&&(s[t].show=!1);o(s,e.name)&&(s[e.name].configurator(e),s[e.name].show=!0)},d=e=>{o(s,e)&&(s[e].show=!1)};return(e,t)=>(a(),r("div",null,[M(w(Of),{show:i.value},null,8,["show"]),M(w(j_),{show:s["diagnostics-test-email-confirmation-modal"].show,message:s["diagnostics-test-email-confirmation-modal"].message},null,8,["show","message"])]))}},z_=["href"],Y_=["value","disabled"],G_={__name:"DiagnosticsSendTestActivityReport",setup(e){const l=u("__"),o=u("wfconstants"),{$ajax:s}=yi(),{$modalNotice:i}=Ii(),c=t(""),d=n(()=>/^[^@]+@[^@]+$/.test(c.value)),p=()=>{s("wordfence_email_summary_email_address_debug",{email:c.value},e=>{e.result&&i(l("Test Activity Report"),e.result)})};return(e,t)=>(a(),r("span",null,[x(b(w(l)("Send a test activity report email:"))+" ",1),v("a",{href:w(o).support.url.diagnostics_test_activity_report,target:"_blank",rel:"noopener noreferrer",class:"wfhelp wf-inline-help"},[M(w(Bi))],8,z_),_(v("input",{type:"email",value:"",size:"20",maxlength:"255","onUpdate:modelValue":t[0]||(t[0]=e=>c.value=e)},null,512),[[V,c.value]]),v("input",{class:"wf-btn wf-btn-default wf-btn-sm",type:"button",value:w(l)("Send Test Activity Report"),onClick:$(p,["prevent","stop"]),disabled:!d.value},null,8,Y_)]))}},K_=["href"],Z_=["value","disabled"],Q_={__name:"DiagnosticsSendTestEmail",setup(e){const l=u("__"),o=u("$mitt"),s=u("wfconstants"),{$ajax:i}=yi(),c=t(""),d=n(()=>/^[^@]+@[^@]+$/.test(c.value)),p=()=>{i("wordfence_sendTestEmail",{email:c.value},e=>{e.result&&o.emit("showModal",{name:"diagnostics-test-email-confirmation-modal",message:e.result})})};return(e,t)=>(a(),r("span",null,[x(b(w(l)("Send a test email from this WordPress server to an email address:"))+" ",1),v("a",{href:w(s).support.url.diagnostics_test_email,target:"_blank",rel:"noopener noreferrer",class:"wfhelp wf-inline-help"},[M(w(Bi))],8,K_),_(v("input",{type:"email",value:"",size:"20",maxlength:"255","onUpdate:modelValue":t[0]||(t[0]=e=>c.value=e)},null,512),[[V,c.value]]),v("input",{class:"wf-btn wf-btn-default wf-btn-sm",type:"button",value:w(l)("Send Test Email"),onClick:$(p,["prevent","stop"]),disabled:!d.value},null,8,Z_)]))}},X_={__name:"SettingsButtons",props:{section:{type:String,required:!0},sectionTitle:{type:[String,null]}},setup(e){const t=u("$"),n=u("__"),l=u("$mitt"),o=u("$dataStore"),{$ajax:s,$genericErrorHandler:i}=yi(),{$parameterByName:d}=li(),p=e,{section:g,sectionTitle:v}=c(p);D(()=>{t(window).off("beforeunload",y)});const b=()=>{l.emit("showModal",{name:"restore-defaults-modal",section:g.value,sectionTitle:v.value})},y=e=>{if(Object.keys(o.$pendingOptions).length){(e=e||window.event).preventDefault();const t=n("You have unsaved changes to your options. If you leave this page, those changes will be lost.");return e&&(e.returnValue=t),t}};f(()=>o.$pendingOptions,e=>{Object.keys(e).length?t(window).on("beforeunload",y):t(window).off("beforeunload",y)},{deep:!0});const S=()=>{Object.keys(o.$pendingOptions).forEach(e=>delete o.$pendingOptions[e]),l.emit("resetOptionControls")},T=()=>{if(!Object.keys(o.$pendingOptions).length)return;let e=Object.assign({},o.$pendingOptions);s("wordfence_saveOptions",{changes:JSON.stringify(e),page:d("page"),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},e=>{e.success&&(Object.keys(o.$pendingOptions).forEach(e=>delete o.$pendingOptions[e]),t(window).off("beforeunload",y),e.redirect?window.location.href=e.redirect:window.location.reload(!0))},e=>{i(e,n("Error Saving Options"))})};return(e,t)=>{const l=h("aria");return a(),r(m,null,[_((a(),r("a",{id:"wf-restore-defaults",class:"wf-btn wf-btn-default wf-btn-callout-subtle",href:"#",onClick:$(b,["stop","prevent"])},[M(w(Ic),{text:w(n)("Restore Defaults"),xs:w(n)("Restore")},null,8,["text","xs"])])),[[l,{role:"button"}]]),t[0]||(t[0]=x("   ",-1)),_((a(),r("a",{id:"wf-cancel-changes",class:k(["wf-btn wf-btn-default wf-btn-callout-subtle",{"wf-disabled":0===Object.keys(w(o).$pendingOptions).length}]),href:"#",onClick:$(S,["stop","prevent"])},[M(w(Ic),{text:w(n)("Cancel Changes"),xs:w(n)("Cancel")},null,8,["text","xs"])],2)),[[l,{role:"button"}]]),t[1]||(t[1]=x("   ",-1)),_((a(),r("a",{id:"wf-save-changes",class:k(["wf-btn wf-btn-primary wf-btn-callout-subtle",{"wf-disabled":0===Object.keys(w(o).$pendingOptions).length}]),href:"#",onClick:$(T,["stop","prevent"])},[M(w(Ic),{text:w(n)("Save Changes"),xs:w(n)("Save")},null,8,["text","xs"])],2)),[[l,{role:"button"}]])],64)}}},J_={__name:"DiagnosticsSettingsButtons",setup(e){const t=u("__"),n=u("wfconstants");return(e,l)=>(a(),r("p",null,[M(w(X_),{section:w(n).options.section.diagnostics,sectionTitle:w(t)("Diagnostics")},null,8,["section","sectionTitle"])]))}},ex={class:"wf-modal",id:"wf-country-selector"},tx={class:"wf-modal-header"},nx={class:"wf-modal-header-content"},ax={class:"wf-modal-title"},lx={class:"wf-modal-header-action wf-right-xs"},ox={class:"wf-modal-content"},sx={class:"wf-country-selector-controls"},rx={class:"wf-country-selector-section-options"},ix=["data-letter"],ux={class:"wf-country-selector-outer-wrapper"},cx={class:"wf-country-selector-inner-wrapper"},dx={class:"wf-country-selector-options"},px=["id","data-letter"],fx=["id","data-country","onClick"],hx=["onClick"],mx={class:"wf-modal-footer"},gx={class:"wf-flex-horizontal wf-flex-full-width"},wx={id:"wf-country-selector-count"},vx={class:"wf-right"},bx={__name:"CountryList",props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue","closeDrawer","saveCountryBlock"],setup(e,{emit:t}){const l=u("__"),o=u("_n"),s=u("sprintf"),i=u("wfconstants"),c=t,d=e,p=n(()=>{let e=Object.entries(i.countries).map(([e,t])=>t.substring(0,1).toUpperCase());return e=e.filter((t,n)=>e.indexOf(t)===n),e}),f=n(()=>{let e=[];for(const[t,n]of Object.entries(i.countries)){const a=n.substring(0,1).toUpperCase();let l=e.findIndex(e=>e.letter===a);-1===l&&(e.push({letter:a,countries:[]}),l=e.length-1),e[l].countries.push({code:t,name:n})}return e}),y=e=>{const t=d.modelValue.findIndex(t=>t===e);let n=[...d.modelValue];t>-1?n.splice(t,1):n.push(e),c("update:modelValue",n)},S=()=>{c("update:modelValue",[])},T=()=>{c("update:modelValue",Object.keys(i.countries))},C=()=>{c("closeDrawer")},M=()=>{c("saveCountryBlock"),c("closeDrawer")};return(t,n)=>{const i=h("aria"),u=h("scroll-to");return a(),r("div",ex,[v("div",tx,[v("div",nx,[v("div",ax,b(w(l)("Select Countries to Block from List")),1)]),v("div",lx,[_((a(),r("a",{href:"#",class:"wf-btn wf-btn-default wf-btn-callout-subtle wf-btn-sm wf-countries-shortcut",id:"wf-country-selector-block-all","data-shortcut":"select",onClick:$(T,["stop","prevent"])},[x(b(w(l)("Block All")),1)])),[[i,{role:"button"}]]),n[0]||(n[0]=v("span",{class:"wf-hidden-xs"},"  ",-1)),v("a",{href:"#",class:"wf-btn wf-btn-default wf-btn-callout-subtle wf-btn-sm wf-countries-shortcut",id:"wf-country-selector-unblock-all","data-shortcut":"deselect",onClick:$(S,["stop","prevent"])},b(w(l)("Unblock All")),1)])]),v("div",ox,[v("ul",sx,[v("li",null,[v("ul",rx,[(a(!0),r(m,null,g(p.value,e=>(a(),r("li",{key:e},[_((a(),r("a",{href:"#","data-letter":e.toLowerCase()},[x(b(e),1)],8,ix)),[[i,{role:"button"}],[u,`#wf-country-section-${e.toLowerCase()}`]])]))),128))])])]),v("div",ux,[v("div",cx,[v("div",dx,[(a(!0),r(m,null,g(f.value,t=>(a(),r("ul",{class:"wf-blocked-countries",id:`wf-country-section-${t.letter.toLowerCase()}`,"data-letter":t.letter,key:t.letter},[(a(!0),r(m,null,g(t.countries,t=>(a(),r("li",{key:t.code,id:`wf-country-option-${t.code.toLowerCase()}`,class:k({"wf-active":e.modelValue.includes(t.code)}),"data-country":t.code,onClick:$(e=>y(t.code),["stop","prevent"])},[_((a(),r("a",{href:"#",onClick:$(e=>y(t.code),["stop","prevent"])},[x(b(t.name),1)],8,hx)),[[i,{role:"button"}]])],10,fx))),128))],8,px))),128))])])])]),v("div",mx,[v("ul",gx,[v("li",wx,b(w(s)(w(o)("%d Country Selected","%d Countries Selected",e.modelValue.length),e.modelValue.length)),1),v("li",vx,[_((a(),r("a",{href:"#",class:"wf-btn wf-btn-default wf-btn-callout-subtle",id:"wf-country-selector-cancel",onClick:$(C,["stop","prevent"])},[x(b(w(l)("Back")),1)])),[[i,{role:"button"}]]),n[1]||(n[1]=x("  ",-1)),v("a",{href:"#",class:"wf-btn wf-btn-primary wf-btn-callout-subtle",id:"wf-country-selector-confirm",onClick:$(M,["stop","prevent"])},b(w(l)("Save")),1)])])])])}}},yx=["id"],kx={__name:"Drawer",props:{showDrawer:{type:Boolean,default:!1},id:{type:[String,null],default:null}},emits:["closeDrawer"],setup(e,{emit:t}){const n=t;return(t,l)=>(a(),r(m,null,[M(o,{name:"wf-drawer-overlay"},{default:s(()=>[!1!==e.showDrawer?(a(),r("div",{key:0,class:"wf-drawer-overlay",onClick:l[0]||(l[0]=$(e=>n("closeDrawer"),["stop","prevent"]))})):i("",!0)]),_:1}),M(o,{name:"wf-drawer"},{default:s(()=>[!1!==e.showDrawer?(a(),r("div",{key:0,id:e.id,class:"wf-drawer"},[I(t.$slots,"default"),v("span",{class:"wf-drawer-close wf-ion-android-close",onClick:l[1]||(l[1]=$(e=>n("closeDrawer"),["stop","prevent"]))})],8,yx)):i("",!0)]),_:3})],64))}},_x={__name:"FirewallDrawers",setup(t){const o=u("$mitt"),{$hasOwn:r}=ai(),c=e({"country-list-drawer":{show:!1,model:!1,onUpdate:()=>{},onSave:()=>{},configurator:e=>{c[e.name].model=e.model??!1,c[e.name].onUpdate=e.onUpdate??(()=>{}),c[e.name].onSave=e.onSave??(()=>{})}}}),d=n(()=>Object.values(c).some(e=>e.show));T(()=>{o.on("showDrawer",p),o.on("closeDrawer",f)}),D(()=>{o.off("showDrawer",p),o.off("closeDrawer",f)});const p=e=>{r(c,e.name)&&(c[e.name].configurator(e),c[e.name].show=!0)},f=e=>{r(c,e)&&(c[e].show=!1)},h=()=>{Object.keys(c).forEach(e=>{c[e].show=!1})};return(e,t)=>(a(),l(w(kx),{showDrawer:d.value,onCloseDrawer:h},{default:s(()=>[c["country-list-drawer"].show?(a(),l(w(bx),{key:0,modelValue:c["country-list-drawer"].model,"onUpdate:modelValue":[t[0]||(t[0]=e=>c["country-list-drawer"].model=e),c["country-list-drawer"].onUpdate],onCloseDrawer:t[1]||(t[1]=e=>f("country-list-drawer")),onSaveCountryBlock:c["country-list-drawer"].onSave},null,8,["modelValue","onUpdate:modelValue","onSaveCountryBlock"])):i("",!0)]),_:1},8,["showDrawer"]))}},xx={class:"wf-row"},Sx={class:"wf-col-xs-12"},Tx={class:"wf-block wf-active"},Cx={class:"wf-block-content"},Mx={class:"wf-block-list"},Lx={key:0},Ax={class:"wf-block-list wf-block-list-horizontal"},Dx={key:0},Px={class:"wf-block-labeled-value wf-waf-status wf-waf-status-full-enabled"},Ox={class:"wf-block-labeled-value-label"},$x={key:0,class:"wf-waf-status-disabled"},Ix={class:"wf-block-labeled-value-value"},Ex={class:"wf-fa wf-fa-check"},Rx={class:"wf-block-labeled-value-label"},Nx={key:1},Bx={key:0},Vx={key:1},Fx={class:"wf-fa wf-fa-lightbulb-o wf-tip"},Hx=["href"],Ux=["href"],qx={key:0},jx={class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:"https://www.wordfence.com/gnl1wafUpgrade/wordfence-signup/#premium-order-form",target:"_blank",rel:"noopener noreferrer"},Wx={class:"wf-btn wf-btn-callout-subtle wf-btn-default",href:"https://www.wordfence.com/gnl1wafLearn/wordfence-signup/",target:"_blank",rel:"noopener noreferrer"},zx={class:"wf-block-labeled-value-value"},Yx={class:"wf-fa wf-fa-check"},Gx={class:"wf-block-labeled-value-label"},Kx={class:"wf-block-list wf-block-list-horizontal wf-block-list-nowrap wf-waf-coverage"},Zx={class:"wf-flex-horizontal wf-flex-full-width wf-no-top"},Qx={class:"wf-tip-info-message"},Xx=["href"],Jx={class:"wf-flex-horizontal wf-flex-full-width wf-no-top"},eS={class:"wf-tip-info-message"},tS=["href"],nS={__name:"FirewallHeader",props:{showFirewallStatus:{type:Boolean,default:!0},showOptionsLinks:{type:Boolean,default:!0}},setup(e){const t=u("__"),n=u("wfconstants"),{$setOption:l}=Ei(),o=()=>{l("wafStatus",n.waf.modes.enabled,()=>{window.location.reload(!0)})};return(l,u)=>{const c=h("aria");return a(),r("div",xx,[v("div",Sx,[v("div",Tx,[v("div",Cx,[v("ul",Mx,[e.showFirewallStatus?(a(),r("li",Lx,[v("ul",Ax,[w(n).waf.mode===w(n).waf.modes.enabled&&w(n).waf.ruleMode===w(n).waf.ruleModes.premium?(a(),r("li",Dx,[v("div",Px,[v("div",Ox,[w(n).license.current.type===w(n).license.types.response?(a(),r(m,{key:0},[x(b(w(t)("Wordfence Firewall & Response License Enabled")),1)],64)):w(n).license.current.type===w(n).license.types.care?(a(),r(m,{key:1},[x(b(w(t)("Wordfence Firewall & Care License Enabled")),1)],64)):(a(),r(m,{key:2},[x(b(w(t)("Wordfence Firewall & Premium Enabled")),1)],64))])])])):(a(),r(m,{key:1},[v("li",null,[w(n).waf.mode===w(n).waf.modes.disabled?(a(),r("div",$x,[v("h3",null,b(w(t)("Wordfence Firewall Deactivated")),1),v("p",null,b(w(t)("The Wordfence Web Application Firewall is a PHP-based, application-level firewall that filters out malicious requests to your site. It is designed to run at the beginning of WordPress' initialization to filter any attacks before plugins or themes can run any potentially vulnerable code.")),1),v("p",null,[_((a(),r("a",{class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:"#",id:"waf-top-enable-firewall",onClick:$(o,["stop","prevent"])},[x(b(w(t)("Enable Firewall")),1)])),[[c,{role:"button"}]])])])):(a(),r(m,{key:1},[w(n).waf.mode===w(n).waf.modes.enabled?(a(),r("div",{key:0,class:k(["wf-block-labeled-value","wf-waf-status",`wf-waf-status-${w(n).waf.mode}`])},[v("div",Ix,[_(v("i",Ex,null,512),[[c,{hidden:!0}]])]),v("div",Rx,b(w(t)("Wordfence Firewall Activated")),1)],2)):w(n).waf.mode===w(n).waf.modes.learning_mode?(a(),r("div",Nx,[!0===w(n).waf.learning_mode?(a(),r("h3",Bx,b(w(t)("Learning Mode Enabled")),1)):(a(),r("h3",Vx,[x(b(w(t)("Learning Mode Until"))+": ",1),M(w(kp),{timestamp:w(n).waf.learning_mode,dateFormat:"%b %-d, %Y"},null,8,["timestamp"])])),v("p",null,[_(v("i",Fx,null,512),[[c,{hidden:!0}]]),x(" "+b(w(t)("When you first install the Wordfence Web Application Firewall, it will be in learning mode. This allows Wordfence to learn about your site so that we can understand how to protect it and how to allow normal visitors through the firewall. We recommend you let Wordfence learn for a week before you enable the firewall.")),1)]),v("p",null,[v("a",{class:"wf-btn wf-btn-primary wf-btn-callout-subtle",href:w(n).plugin.url.basic_waf_options},b(w(t)("Manage Firewall")),9,Hx),u[0]||(u[0]=x("  ",-1)),v("a",{class:"wf-btn wf-btn-callout-subtle wf-btn-default",href:w(n).support.url.firewall_waf,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Learn More")),1),M(w(Bi))],8,Ux)])])):i("",!0)],64))]),v("li",null,[w(n).waf.ruleMode===w(n).waf.ruleModes.community?(a(),r("div",qx,[v("h3",null,b(w(t)("Premium Protection Disabled")),1),v("p",null,b(w(t)("As a free Wordfence user, you are currently using the Community version of the Threat Defense Feed. Premium users are protected by additional firewall rules and malware signatures. Upgrade to Premium today to improve your protection.")),1),v("p",null,[v("a",jx,b(w(t)("Upgrade to Premium")),1),u[1]||(u[1]=x("  ",-1)),v("a",Wx,[x(b(w(t)("Learn More")),1),M(w(Bi))])])])):(a(),r("div",{key:1,class:k(["wf-block-labeled-value","wf-protection-status",`wf-protection-status-${w(n).waf.ruleMode}`])},[v("div",zx,[_(v("i",Yx,null,512),[[c,{hidden:!0}]])]),v("div",Gx,b(w(t)("Premium Protection Enabled")),1)],2))])],64))])])):i("",!0),v("li",null,[v("ul",Kx,[v("li",null,[M(w(Pw),{id:"waf-coverage",percentage:w(n).waf.statusPercentage,activeColorOverride:w(n).waf.mode===w(n).waf.modes.learning_mode?"#ececec":null,title:w(t)("Web Application Firewall"),subtitle:w(n).waf.mode===w(n).waf.modes.learning_mode?w(t)("Currently in Learning Mode"):w(t)("Stops Complex Attacks"),link:w(n).plugin.url.waf_options,linkLabel:e.showOptionsLinks?w(t)("Manage WAF"):null,statusTitle:w(t)("Web Application Firewall Status"),statusList:w(n).waf.statusList,helpLink:w(n).support.url.firewall_waf_status_overall},q({_:2},[w(n).waf.mode===w(n).waf.modes.learning_mode?{name:"statusExtra",fn:s(()=>[v("ul",Zx,[u[2]||(u[2]=v("li",{class:"wf-tip-light-bulb"},[v("i",{class:"wf-ion-ios-lightbulb-outline"})],-1)),v("li",Qx,[v("strong",null,[x(b(w(t)("The Web Application Firewall is currently in Learning Mode."))+" ",1),v("a",{href:w(n).support.url.firewall_waf_learning_mode,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Learn More")),1),M(w(Bi))],8,Xx)])])])]),key:"0"}:void 0]),1032,["percentage","activeColorOverride","title","subtitle","link","linkLabel","statusTitle","statusList","helpLink"])]),v("li",null,[M(w(Pw),{id:"waf-rules",percentage:w(n).waf.ruleStatusPercentage,activeColorOverride:w(n).waf.mode===w(n).waf.modes.learning_mode?"#ececec":null,title:w(t)("Firewall Rules")+": "+(w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(t)("Premium"):w(t)("Community")),subtitle:w(n).waf.mode===w(n).waf.modes.learning_mode?w(t)("Currently in Learning Mode"):w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(t)("Rules updated in real-time"):w(t)("Rule updates delayed by 30 days"),link:w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(n).plugin.url.advanced_waf_options:"https://www.wordfence.com/gnl1wafUpgrade/wordfence-signup/",linkLabel:e.showOptionsLinks?w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(t)("Manage Firewall Rules"):w(t)("Upgrade to Premium"):null,linkNewWindow:!(w(n).waf.ruleMode===w(n).waf.ruleModes.premium),statusTitle:w(t)("Firewall Rules Status"),statusList:w(n).waf.rulesStatusList,helpLink:w(n).support.url.firewall_waf_status_rules},q({_:2},[w(n).waf.mode===w(n).waf.modes.learning_mode?{name:"statusExtra",fn:s(()=>[v("ul",Jx,[u[3]||(u[3]=v("li",{class:"wf-tip-light-bulb"},[v("i",{class:"wf-ion-ios-lightbulb-outline"})],-1)),v("li",eS,[v("strong",null,[x(b(w(t)("The Web Application Firewall is currently in Learning Mode."))+" ",1),v("a",{href:w(n).support.url.firewall_waf_learning_mode,target:"_blank",rel:"noopener noreferrer"},[x(b(w(t)("Learn More")),1),M(w(Bi))],8,tS)])])])]),key:"0"}:void 0]),1032,["percentage","activeColorOverride","title","subtitle","link","linkLabel","linkNewWindow","statusTitle","statusList","helpLink"])]),v("li",null,[M(w(Pw),{id:"waf-blacklist",percentage:w(n).waf.blacklistStatusPercentage,activeColorOverride:w(n).waf.mode===w(n).waf.modes.learning_mode?"#ececec":null,title:w(t)("Real-Time IP Blocklist")+": "+(w(n).waf.blacklistMode===w(n).waf.blacklistModes.enabled?w(t)("Enabled"):w(t)("Disabled")),subtitle:w(t)("Blocks requests from known malicious IPs"),link:w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(n).plugin.url.basic_waf_options:"https://www.wordfence.com/gnl1wafUpgrade/wordfence-signup/",linkLabel:e.showOptionsLinks?w(n).waf.ruleMode===w(n).waf.ruleModes.premium?w(t)("Manage Real-Time IP Blocklist"):w(t)("Upgrade to Premium"):null,linkNewWindow:!(w(n).waf.ruleMode===w(n).waf.ruleModes.premium),statusTitle:w(t)("Blocklist Status"),statusList:w(n).waf.blacklistStatusList,helpLink:w(n).support.url.firewall_waf_status_blacklist},null,8,["percentage","activeColorOverride","title","subtitle","link","linkLabel","linkNewWindow","statusTitle","statusList","helpLink"])]),v("li",null,[M(w(Pw),{id:"waf-brute",percentage:w(n).waf.bruteForceStatusPercentage,title:w(t)("Brute Force Protection")+(w(n).waf.bruteForceStatusPercentage>0?"":": "+w(t)("Disabled")),subtitle:w(t)("Stops Password Guessing Attacks"),link:w(n).plugin.url.bruteforce_options,linkLabel:e.showOptionsLinks?w(t)("Manage Brute Force Protection"):null,statusTitle:w(t)("Brute Force Protection Status"),statusList:w(n).waf.bruteForceStatusList,helpLink:w(n).support.url.firewall_waf_status_brute_force},null,8,["percentage","title","subtitle","link","linkLabel","statusTitle","statusList","helpLink"])])])])])])])])])}}},aS="country-block-us-modal",lS={__name:"CountryBlockUSModal",props:{show:{type:Boolean,default:!1},onClosed:{default:!1}},setup(e){const t=u("__"),n=u("$mitt"),r=u("wfconstants");S("modalName",aS);const c=e,d=()=>{n.emit("closeModal",aS),"function"==typeof c.onClosed&&c.onClosed()};return(u,c)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(t)("U.S. Blocked")),1)]),body:s(()=>[x(b(w(t)("For most sites, we recommend allowing access from the United States, where Google and other benign crawlers are generally located. Many well-known crawlers also have locations in Europe, so be careful when blocking other countries, especially if you have not seen significant attacks from them.")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:c[0]||(c[0]=e=>w(n).emit("closeModal",aS)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),"secondary-buttons":s(()=>[M(w(nw),{onClick:d,"button-type":"wf-btn-danger"},{default:s(()=>[x(b(w(t)("Continue")),1)]),_:1}),M(w(nw),{href:w(r).support.url.firewall_blocking_full_site,target:"_blank",rel:"noopener noreferrer"},{default:s(()=>[x(b(w(t)("Learn More")),1)]),_:1},8,["href"])]),_:1})):i("",!0)]),_:1}))}},oS="bulk-unblock-modal",sS={__name:"BulkUnblockModal",props:{show:{type:Boolean,default:!1},count:{type:Number,default:0},onClosed:{default:!1}},setup(e){const t=u("__"),n=u("sprintf"),r=u("$mitt");S("modalName",oS);const c=e,d=()=>{r.emit("closeModal",oS),"function"==typeof c.onClosed&&c.onClosed()};return(u,c)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Unblocking")),1)]),body:s(()=>[x(b(1===e.count?w(t)("Are you sure you want to stop blocking the selected IP, range, or country?"):w(n)(w(t)("Are you sure you want to stop blocking the %d selected IPs, ranges, and countries?"),e.count)),1)]),"primary-button":s(()=>[M(w(nw),{onClick:c[0]||(c[0]=e=>w(r).emit("closeModal",oS)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),"secondary-buttons":s(()=>[M(w(nw),{onClick:d,"button-type":"wf-btn-danger"},{default:s(()=>[x(b(w(t)("Unblock")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},rS={key:0},iS={class:"wf-pre"},uS={id:"wf-waf-include-prepend",class:"wf-switch"},cS={class:"wf-notice"},dS={key:2},pS={key:3},fS={key:4,class:"wf-notice wf-nginx-waf-config"},hS={key:5,class:"wf-manual-waf-config"},mS={key:6,class:"wf-notice wf-nginx-unit-waf-config wf-waf-install-blocked"},gS={class:"wf-waf-backups"},wS={key:0},vS={class:"wf-waf-backup-file-list"},bS=["data-backup-index","href","onClick"],yS={class:"wf-waf-download-instructions"},kS="install-waf-modal",_S={__name:"InstallWAFModal",props:{show:{type:Boolean,default:!1}},setup(c){const d=u("__"),p=u("$mitt"),y=u("sprintf"),T=u("wfconstants"),C=u("$dataStore"),{$ajax:L,$ajaxErrorMessage:A}=yi(),{$modal:D,$errorModal:O}=Ii(),{$addQueryArg:I}=Ri();S("modalName",kS);const E=c,R=()=>T.options.controls.waf_optimization_options.reduce((e,t)=>t.recommended?t.value:e,"manual"),N=()=>{L("wordfence_installAutoPrepend",{serverConfiguration:F.value,currentAutoPrepend:V.value},e=>{B("wordfence_installAutoPrepend",e)},e=>{B("wordfence_installAutoPrepend",e)})},B=(e,t)=>{t.needsCredentials?(p.emit("closeModal",kS),P(()=>D("install-waf-file-credentials-modal",{filesystemCredentialsHTML:t.html,formURL:t.formURL,onCredentialsSubmit:B,ajaxAction:e}))):t.credentialsFailed?(p.emit("closeModal",kS),P(()=>D("install-waf-filesystem-error-modal",{credentialsErrors:t.credentialsErrors}))):t.installationFailed?(p.emit("closeModal",kS),P(()=>D("install-waf-failed-modal",{errorMessage:t.error}))):t.ok?(p.emit("closeModal",kS),"show-install-success"===t.postInstallAction?D("install-waf-success-modal",t.postInstallActionData):"show-manual-install"===t.postInstallAction&&D("install-waf-manual-modal",t.postInstallActionData)):(e=>{p.emit("closeModal",kS),P(()=>O(A(e)))})(t)},V=t("include"),F=t(R()),H=e({});f(F,()=>{Object.keys(H).forEach(e=>{delete H[e]})}),f(()=>E.show,e=>{e&&(F.value=R(),Object.keys(H).forEach(e=>{delete H[e]}),V.value="include")});const U=n(()=>{const e=T.options.controls.waf_optimization_options.findIndex(e=>e.value===F.value);return e>-1?T.options.controls.waf_optimization_options[e].backup:[]}),q=n(()=>Object.keys(H).length>=U.value.length),j=e=>I(T.plugin.url.install_waf_download_backup_base,{downloadBackup:!0,backupIndex:e,serverConfiguration:F.value,wfnonce:C.$wordfence.nonce.install_waf_auto_prepend});return(e,t)=>{const n=h("aria");return a(),l(o,{name:"wf-modal"},{default:s(()=>[c.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(d)("Optimize Wordfence Firewall")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{unsafeHTML:w(y)(w(d)('If you cannot complete the setup process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(T).support.url.firewall_waf_install_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[!w(T).plugin.server.php.auto_prepend_file||w(T).plugin.server.host.is_wp_engine||w(T).plugin.server.host.is_pressable||w(T).plugin.server.host.is_flywheel?(a(),r("p",rS,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(d)("To make your site as secure as possible, the Wordfence Web Application Firewall is designed to run via a PHP setting called <code>auto_prepend_file</code>, which ensures it runs before any potentially vulnerable code runs.")},null,8,["unsafeHTML"])])):(a(),r(m,{key:1},[v("p",null,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(d)("To make your site as secure as possible, the Wordfence Web Application Firewall is designed to run via a PHP setting called <code>auto_prepend_file</code>, which ensures it runs before any potentially vulnerable code runs.")},null,8,["unsafeHTML"]),x(" "+b(w(d)("This PHP setting is currently in use, and is including this file:")),1)]),v("pre",iS,b(w(T).plugin.server.php.auto_prepend_file),1),v("p",null,[M(w(Jg),{unsafeHTML:w(d)('If you don\'t recognize this file, please <a href="https://wordpress.org/support/plugin/wordfence" target="_blank" rel="noopener noreferrer">contact us on the WordPress support forums<span class="screen-reader-text"> (opens in new tab)</span></a> before proceeding.')},null,8,["unsafeHTML"])]),v("p",null,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(d)("You can proceed with the installation and we will include this from within our <code>wordfence-waf.php</code> file which should maintain compatibility with your site, or you can opt to override the existing PHP setting.")},null,8,["unsafeHTML"])]),v("ul",uS,[v("li",{class:k({"wf-active":"include"===V.value}),"data-option-value":"include",onClick:t[0]||(t[0]=$(e=>V.value="include",["stop","prevent"]))},b(w(d)("Include")),3),v("li",{class:k({"wf-active":"override"===V.value}),"data-option-value":"override",onClick:t[1]||(t[1]=$(e=>V.value="override",["stop","prevent"]))},b(w(d)("Override")),3)])],64)),v("div",cS,[v("strong",null,b(w(d)("NOTE"))+":",1),x(" "+b(w(d)("If you have separate WordPress installations with Wordfence installed within a subdirectory of this site, it is recommended that you perform the Firewall installation procedure on those sites before this one.")),1)]),w(T).options.controls.waf_optimization_options.reduce((e,t)=>e||t.recommended,!1)?(a(),r("p",pS,b(w(d)("We've preselected your server configuration based on our tests, but if you know your web server's configuration, please select it now. You can also choose \"Manual Configuration\" for alternate installation details.")),1)):(a(),r("p",dS,b(w(d)("If you know your web server's configuration, please select it from the list below.")),1)),M(w(ic),{modelValue:F.value,"onUpdate:modelValue":t[2]||(t[2]=e=>F.value=e),canClear:!1,options:w(T).options.controls.waf_optimization_options.map(e=>Object.assign({},e,{label:e.label+(e.recommended?" "+w(d)("(recommended based on our tests)"):"")}))},null,8,["modelValue","options"]),"nginx"===F.value?(a(),r("div",fS,[M(w(Jg),{unsafeHTML:w(y)(w(d)('Part of the Firewall configuration procedure for NGINX depends on creating a <code>%1$s</code> file in the root of your WordPress installation. This file can contain sensitive information and public access to it should be restricted. We have <a href="%2$s" target="_blank" rel="noreferrer noopener">instructions on our documentation site<span class="screen-reader-text"> (opens in new tab)</span></a> on what directives to put in your nginx.conf to fix this.'),w(T).plugin.server.php.user_ini,w(T).support.url.firewall_waf_install_nginx)},null,8,["unsafeHTML"])])):"manual"===F.value?(a(),r("div",hS,[v("p",null,b(w(d)("If you are using a web server not listed in the dropdown or if file permissions prevent the installer from completing successfully, you will need to perform the change manually. Click Continue below to create the required file and view manual installation instructions.")),1)])):"nginx-unit"===F.value?(a(),r("div",mS,b(w(d)("Firewall optimization is not currently supported on NGINX Unit")),1)):i("",!0),v("div",gS,[U.value.length?(a(),r("p",wS,b(w(d)("Please download a backup of the following files before we make the necessary changes:")),1)):i("",!0),v("ul",vS,[(a(!0),r(m,null,g(U.value,(e,t)=>(a(),r("li",{key:e},[_((a(),r("a",{class:"wf-btn wf-btn-default wf-waf-backup-download","data-backup-index":t,href:j(t),onClick:e=>H[t]=!0},[x(b(w(y)(w(d)("Download %s"),e)),1)],8,bS)),[[n,{role:"button"}]])]))),128))])])]),"primary-button":s(()=>[M(w(nw),{onClick:N,"is-primary":!0,enabled:q.value&&"nginx-unit"!==F.value},{default:s(()=>[x(b(w(d)("Continue")),1)]),_:1},8,["enabled"])]),accessory:s(()=>[v("span",yS,b(w(d)("Once you have downloaded the files, click Continue to complete the setup.")),1)]),_:1})):i("",!0)]),_:1})}}},xS={key:0},SS={key:1},TS={__name:"InstallWAFSuccessModal",props:{show:{type:Boolean,default:!1},active:{type:Boolean,default:!0}},setup(e){const t=u("__");S("modalName","install-waf-success-modal");const n=()=>{window.location.reload(!0)};return(u,c)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Installation Successful")),1)]),body:s(()=>[e.active?(a(),r("p",xS,b(w(t)("Nice work! The firewall is now optimized.")),1)):(a(),r("p",SS,b(w(t)("The changes have not yet taken effect. If you are using LiteSpeed or IIS as your web server or CGI/FastCGI interface, you may need to wait a few minutes for the changes to take effect since the configuration files are sometimes cached. You also may need to select a different server configuration in order to complete this step, but wait for a few minutes before trying. You can try refreshing this page.")),1))]),"primary-button":s(()=>[M(w(nw),{onClick:n,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},CS={class:"wf-flex-row"},MS={key:0,class:"wf-pre"},LS=["value"],AS={class:"wf-fa wf-fa-copy"},DS={key:0},PS={__name:"CopyableText",props:{text:{type:String,required:!0},multiline:{type:Boolean,default:!1}},setup(e){const n=u("__"),l=e,{text:o}=c(l),s=t(!1),p=d("textField"),f=()=>{p.value&&p.value.select()},m=()=>{navigator.clipboard?navigator.clipboard.writeText(o.value):(p.value.focus(),f(),document.execCommand("copy")),s.value=!0,setTimeout(()=>{s.value=!1},1e3)};return(t,l)=>{const u=h("aria");return a(),r("div",CS,[e.multiline?(a(),r("pre",MS,b(w(o)),1)):(a(),r("input",{key:1,type:"text",value:w(o),onClick:$(f,["stop","prevent"]),ref_key:"textField",ref:p,class:"wf-flex-row-1"},null,8,LS)),_((a(),r("a",{onClick:$(m,["stop","prevent"]),class:"wf-btn wf-flex-row-0"},[_(v("i",AS,null,512),[[u,{hidden:!0}]]),s.value?(a(),r("span",DS," Copied!")):i("",!0)])),[[u,{role:"button",label:w(n)("Copy"),tabindex:0}]])])}}},OS="install-waf-manual-modal",$S={__name:"InstallWAFManualModal",props:{show:{type:Boolean,default:!1},autoPrependPath:{default:""}},setup(e){const t=u("__"),r=u("$mitt"),c=u("sprintf"),d=u("wfconstants");S("modalName",OS);const p=e,f=n(()=>`auto_prepend_file = '${p.autoPrependPath}'`);return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(t)("Manual Installation Instructions")),1)]),body:s(()=>[v("p",null,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(t)("The required file has been created. You'll need to insert the following code into your <code>php.ini</code> to finish installation:")},null,8,["unsafeHTML"])]),M(w(PS),{text:f.value,multiline:!0},null,8,["text"]),v("p",null,[M(w(Jg),{unsafeHTML:w(c)(w(t)('You can find more details on alternative setup steps, including installation on SiteGround or for multiple sites sharing a single php.ini, <a href="%s" target="_blank" rel="noopener noreferrer">in our documentation<span class="screen-reader-text"> (opens in new tab)</span></a>.'),w(d).support.url.firewall_waf_install_manually)},null,8,["unsafeHTML"])])]),"primary-button":s(()=>[M(w(nw),{onClick:u[0]||(u[0]=e=>w(r).emit("closeModal",OS)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},IS={__name:"FilesystemCredentialsHTML",props:{unsafeHTML:{type:String,default:""},requiredFormURL:{type:String,required:!0}},setup(e){const t=e,o=n(()=>["form","div","h1","h2","p","label","span","input","fieldset","legend","button"]),s=n(()=>({form:[{name:"action",values:[t.requiredFormURL]},{name:"method",values:["post"]}],label:["for"],input:["name",{name:"type",values:["text","password","radio","submit","hidden"]},"aria-*","placeholder","value","disabled","spellcheck"],button:["data-js-action","type"],"*":["id","class"]}));return(t,n)=>(a(),l(w(Jg),{allowedTags:o.value,allowedAttributes:s.value,unsafeHTML:e.unsafeHTML},null,8,["allowedTags","allowedAttributes","unsafeHTML"]))}},ES="install-waf-file-credentials-modal",RS={__name:"InstallWAFFileCredentialsModal",props:{show:{type:Boolean,default:!1},filesystemCredentialsHTML:{type:String,default:""},formURL:{type:String,default:""},onCredentialsSubmit:{default:()=>{}},ajaxAction:{type:String,default:""}},setup(e){const t=u("$"),n=u("__"),r=u("$mitt"),d=u("sprintf"),p=u("wfconstants");S("modalName",ES);const{$ajax:h}=yi(),m=e,{filesystemCredentialsHTML:g,onCredentialsSubmit:y,ajaxAction:k}=c(m);f(g,()=>{P(()=>{const e=t("#request-filesystem-credentials-form").closest("form");e.length&&(e.find('input[type="submit"]').attr("type","hidden"),e.off("submit").on("submit",e=>{e.preventDefault(),e.stopPropagation(),_()}))})},{immediate:!0});const _=()=>{const e=t("#request-filesystem-credentials-form").closest("form");h(k.value,e.serialize(),e=>{P(()=>y.value(k.value,e))}),r.emit("closeModal",ES)};return(t,r)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(n)("Filesystem Credentials Required")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{unsafeHTML:w(d)(w(n)('If you cannot complete the setup process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(p).support.url.firewall_waf_install_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[M(w(IS),{requiredFormURL:e.formURL,unsafeHTML:w(g)},null,8,["requiredFormURL","unsafeHTML"])]),"primary-button":s(()=>[M(w(nw),{onClick:_,"is-primary":!0},{default:s(()=>[x(b(w(n)("Continue")),1)]),_:1})]),accessory:s(()=>[x(b(w(n)("Once you have entered credentials, click Continue to complete the setup.")),1)]),_:1})):i("",!0)]),_:1}))}},NS="install-waf-filesystem-error-modal",BS={__name:"InstallWAFFilesystemErrorModal",props:{show:{type:Boolean,default:!1},credentialsErrors:{type:Array,default:()=>[]}},setup(e){const t=u("__"),n=u("$mitt"),c=u("sprintf"),d=u("wfconstants");return S("modalName",NS),(u,p)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Filesystem Permission Error")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{unsafeHTML:w(c)(w(t)('If you cannot complete the setup process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(d).support.url.firewall_waf_install_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[(a(!0),r(m,null,g(e.credentialsErrors,e=>(a(),r("p",{key:e},b(e),1))),128))]),"primary-button":s(()=>[M(w(nw),{onClick:p[0]||(p[0]=e=>w(n).emit("closeModal",NS)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},VS="install-waf-failed-modal",FS={__name:"InstallWAFFailedModal",props:{show:{type:Boolean,default:!1},errorMessage:{type:String,default:""}},setup(e){const t=u("__"),n=u("$mitt"),r=u("sprintf"),c=u("wfconstants");return S("modalName",VS),(u,d)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Unable to Install")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{unsafeHTML:w(r)(w(t)('If you cannot complete the setup process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(c).support.url.firewall_waf_install_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[v("p",null,b(e.errorMessage),1)]),"primary-button":s(()=>[M(w(nw),{onClick:d[0]||(d[0]=e=>w(n).emit("closeModal",VS)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},HS={class:"wf-error"},US="uninstall-waf-failed-modal",qS={__name:"UninstallWAFFailedModal",props:{show:{type:Boolean,default:!1},errorMessage:{type:String,default:""}},setup(e){const t=u("__"),n=u("$mitt"),r=u("sprintf"),c=u("wfconstants");return S("modalName",US),(u,d)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Unable to Uninstall")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{allowedTags:["a","span"],unsafeHTML:w(r)(w(t)('If you cannot complete the uninstall process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(c).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[v("p",HS,[M(w(Jg),{unsafeHTML:e.errorMessage},null,8,["unsafeHTML"])]),v("p",null,b(w(t)("If this is your first attempt, please try again.")),1)]),"primary-button":s(()=>[M(w(nw),{onClick:d[0]||(d[0]=e=>w(n).emit("closeModal",US)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},jS={key:0},WS={key:1},zS={key:2},YS={__name:"UninstallWAFSuccessModal",props:{show:{type:Boolean,default:!1},active:{type:Boolean,default:!0},isSubdirectoryInstall:{type:Boolean,default:!1}},setup(e){const t=u("__"),n=u("wfconstants");S("modalName","uninstall-waf-success-modal");const{$parameterByName:c}=li(),d=()=>{c("wf_deactivate")?window.location.href=n.plugin.url.deactivate:window.location.reload(!0)};return(n,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Uninstallation Complete")),1)]),body:s(()=>[e.active||e.isSubdirectoryInstall?e.active?(a(),r("p",zS,b(w(t)("The changes have not yet taken effect. If you are using LiteSpeed or IIS as your web server or CGI/FastCGI interface, you may need to wait a few minutes for the changes to take effect since the configuration files are sometimes cached. You also may need to select a different server configuration in order to complete this step, but wait for a few minutes before trying. You can try refreshing this page.")),1)):(a(),r("p",WS,b(w(t)("Uninstallation from this site was successful! The Wordfence Firewall is still active because it is installed in another WordPress installation.")),1)):(a(),r("p",jS,b(w(t)("Uninstallation was successful!")),1))]),"primary-button":s(()=>[M(w(nw),{onClick:d,"is-primary":!0},{default:s(()=>[x(b(w(t)("Close")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},GS={key:0},KS={class:"wf-flex-horizontal"},ZS={class:"wf-padding-add-left"},QS="uninstall-waf-waiting-modal",XS={__name:"UninstallWAFWaitingModal",props:{show:{type:Boolean,default:!1},hasPreviousAutoPrepend:{type:Boolean,default:!1},timeUntil:{type:Number,default:0},refreshPayload:{type:Object,default:()=>({})},onUninstallComplete:{default:()=>{}}},setup(e){const n=u("__"),d=u("$mitt"),p=u("sprintf"),h=u("wfconstants"),{$ajax:m}=yi(),{$modal:g}=Ii(),{$makeDuration:y}=Ri();S("modalName",QS);const k=e,{show:_,timeUntil:T,refreshPayload:C,onUninstallComplete:L}=c(k),A=t(0),D=t(!1);f(_,(e,t)=>{if(e!==t)return e?void P():(clearTimeout(A.value),void(D.value=!1))});const P=()=>{clearTimeout(A.value),A.value=setTimeout(()=>{D.value=!0;const e=Object.assign({iniModified:!0},C.value);m("wordfence_uninstallAutoPrepend",e,e=>{e.uninstallationWaiting?(g(QS,{hasPreviousAutoPrepend:e.hasPreviousAutoPrepend,timeUntil:e.timeout,refreshPayload:e.refreshPayload,onUninstallComplete:L.value}),P()):(d.emit("closeModal",QS),L.value("wordfence_uninstallAutoPrepend",e))})},1e3*(T.value+10))};return(t,u)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[w(_)?(a(),l(w(Yf),{key:0,noX:!0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(n)("Waiting for Changes")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{allowedTags:["a","span"],unsafeHTML:w(p)(w(n)('If you cannot complete the uninstall process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(h).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[v("p",null,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(n)("The <code>auto_prepend_file</code> setting has been successfully removed from <code>.htaccess</code> and <code>.user.ini</code>. Once this change takes effect, Extended Protection Mode will be disabled.")},null,8,["unsafeHTML"])]),e.hasPreviousAutoPrepend?(a(),r("p",GS,[M(w(Jg),{allowedTags:["code"],unsafeHTML:w(n)("Any previous value for <code>auto_prepend_file</code> will need to be re-enabled manually if still needed.")},null,8,["unsafeHTML"])])):i("",!0),v("ul",KS,[v("li",null,[M(w(mp),{size:32})]),v("li",ZS,b(w(p)(w(n)("Waiting for it to take effect. This may take up to %s."),w(y)(w(T)))),1)])]),"primary-button":s(()=>[M(w(nw),{onClick:u[0]||(u[0]=e=>w(d).emit("closeModal",QS)),"is-primary":!0,enabled:D.value},{default:s(()=>[x(b(w(n)("Close")),1)]),_:1},8,["enabled"])]),_:1})):i("",!0)]),_:1}))}},JS="uninstall-waf-file-credentials-modal",eT={__name:"UninstallWAFFileCredentialsModal",props:{show:{type:Boolean,default:!1},filesystemCredentialsHTML:{type:String,default:""},formURL:{type:String,default:""},onCredentialsSubmit:{default:()=>{}},ajaxAction:{type:String,default:""}},setup(e){const t=u("$"),n=u("__"),r=u("$mitt"),d=u("sprintf"),p=u("wfconstants");S("modalName",JS);const{$ajax:h}=yi(),m=e,{filesystemCredentialsHTML:g,onCredentialsSubmit:y,ajaxAction:k}=c(m);f(g,()=>{P(()=>{const e=t("#request-filesystem-credentials-form").closest("form");e.length&&(e.find('input[type="submit"]').attr("type","hidden"),e.off("submit").on("submit",e=>{e.preventDefault(),e.stopPropagation(),_()}))})},{immediate:!0});const _=()=>{const e=t("#request-filesystem-credentials-form").closest("form");h(k.value,e.serialize(),e=>{P(()=>y.value(k.value,e))}),r.emit("closeModal",JS)};return(t,r)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(n)("Filesystem Credentials Required")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{allowedTags:["a","span"],unsafeHTML:w(d)(w(n)('If you cannot complete the uninstall process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(p).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[M(w(IS),{requiredFormURL:e.formURL,unsafeHTML:w(g)},null,8,["requiredFormURL","unsafeHTML"])]),"primary-button":s(()=>[M(w(nw),{onClick:_,"is-primary":!0},{default:s(()=>[x(b(w(n)("Continue")),1)]),_:1})]),accessory:s(()=>[x(b(w(n)("Once you have entered credentials, click Continue to complete the removal.")),1)]),_:1})):i("",!0)]),_:1}))}},tT="uninstall-waf-filesystem-error-modal",nT={__name:"UninstallWAFFilesystemErrorModal",props:{show:{type:Boolean,default:!1},credentialsErrors:{type:Array,default:()=>[]}},setup(e){const t=u("__"),n=u("$mitt"),c=u("sprintf"),d=u("wfconstants");return S("modalName",tT),(u,p)=>(a(),l(o,{name:"wf-modal"},{default:s(()=>[e.show?(a(),l(w(Yf),{key:0},{header:s(()=>[v("strong",null,b(w(t)("Filesystem Permission Error")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{allowedTags:["a","span"],unsafeHTML:w(c)(w(t)('If you cannot complete the uninstall process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(d).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[(a(!0),r(m,null,g(e.credentialsErrors,e=>(a(),r("p",{key:e},b(e),1))),128))]),"primary-button":s(()=>[M(w(nw),{onClick:p[0]||(p[0]=e=>w(n).emit("closeModal",tT)),"is-primary":!0},{default:s(()=>[x(b(w(t)("Cancel")),1)]),_:1})]),_:1})):i("",!0)]),_:1}))}},aT={class:"wf-pre"},lT={key:0},oT={key:0},sT={key:1},rT={class:"wf-waf-backups"},iT={key:0},uT={class:"wf-waf-backup-file-list"},cT=["data-backup-index","href","onClick"],dT={key:0,class:"wf-waf-download-instructions"},pT="uninstall-waf-modal",fT={__name:"UninstallWAFModal",props:{show:{type:Boolean,default:!1}},setup(c){const d=u("__"),p=u("$mitt"),y=u("sprintf"),k=u("wfconstants"),T=u("$dataStore"),{$ajax:C,$ajaxErrorMessage:L}=yi(),{$modal:A,$errorModal:D}=Ii(),{$addQueryArg:O}=Ri();S("modalName",pT);const $=c,I=()=>k.options.controls.waf_optimization_options.reduce((e,t)=>t.recommended?t.value:e,"manual"),E=()=>{k.waf.autoPrependRefersToWAF&&C("wordfence_uninstallAutoPrepend",{serverConfiguration:N.value},e=>{R("wordfence_uninstallAutoPrepend",e)},e=>{R("wordfence_uninstallAutoPrepend",e)})},R=(e,t)=>{t.needsCredentials?(p.emit("closeModal",pT),P(()=>A("uninstall-waf-file-credentials-modal",{filesystemCredentialsHTML:t.html,formURL:t.formURL,onCredentialsSubmit:R,ajaxAction:e}))):t.credentialsFailed?(p.emit("closeModal",pT),P(()=>A("uninstall-waf-filesystem-error-modal",{credentialsErrors:t.credentialsErrors}))):t.uninstallationFailed?(p.emit("closeModal",pT),P(()=>A("uninstall-waf-failed-modal",{errorMessage:t.errorMsg}))):t.uninstallationWaiting?(p.emit("closeModal",pT),P(()=>A("uninstall-waf-waiting-modal",{hasPreviousAutoPrepend:t.hasPreviousAutoPrepend,timeUntil:t.timeout,refreshPayload:t.refreshPayload,onUninstallComplete:R}))):t.ok?(p.emit("closeModal",pT),A("uninstall-waf-success-modal",{active:t.active,isSubdirectoryInstall:t.subdirectory})):(e=>{p.emit("closeModal",pT),P(()=>D(L(e)))})(t)},N=t(I()),B=e({});f(N,()=>{Object.keys(B).forEach(e=>{delete B[e]})}),f(()=>$.show,e=>{e&&(N.value=I(),Object.keys(B).forEach(e=>{delete B[e]}))});const V=n(()=>{const e=k.options.controls.waf_optimization_options.findIndex(e=>e.value===N.value);return e>-1?k.options.controls.waf_optimization_options[e].backup:[]}),F=n(()=>Object.keys(B).length>=V.value.length),H=e=>O(k.plugin.url.uninstall_waf_download_backup_base,{downloadBackup:!0,backupIndex:e,serverConfiguration:N.value,wfnonce:T.$wordfence.nonce.uninstall_waf_auto_prepend}),U=n(()=>k.plugin.server.host.is_wp_engine||k.plugin.server.host.is_pressable||k.plugin.server.host.is_flywheel?k.waf.bootstrapPath:k.plugin.server.php.auto_prepend_file);return(e,t)=>{const n=h("aria");return a(),l(o,{name:"wf-modal"},{default:s(()=>[c.show?(a(),l(w(Yf),{key:0,modalSize:"md"},{header:s(()=>[v("strong",null,b(w(d)("Uninstall Wordfence Firewall")),1)]),headerAction:s(()=>[v("div",null,[M(w(Jg),{unsafeHTML:w(y)(w(d)('If you cannot complete the uninstall process, <a href="%s" target="_blank" rel="noopener noreferrer">click here for help<span class="screen-reader-text"> (opens in new tab)</span></a>'),w(k).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])])]),body:s(()=>[v("p",null,[M(w(Jg),{unsafeHTML:w(d)("Extended Protection Mode of the Wordfence Web Application Firewall uses the PHP ini setting called <code>auto_prepend_file</code> in order to ensure it runs before any potentially vulnerable code runs. This PHP setting currently refers to the Wordfence file at:")},null,8,["unsafeHTML"])]),v("pre",aT,b(U.value),1),w(k).waf.autoPrependRefersToWAF?(a(),r(m,{key:1},[v("p",null,[M(w(Jg),{unsafeHTML:w(d)("Before this file can be deleted, the configuration for the <code>auto_prepend_file</code> setting needs to be removed.")},null,8,["unsafeHTML"])]),w(k).options.controls.waf_optimization_options.reduce((e,t)=>e||t.recommended,!1)?(a(),r("p",sT,b(w(d)("We've preselected your server configuration based on our tests, but if you know your web server's configuration, please select it now.")),1)):(a(),r("p",oT,b(w(d)("If you know your web server's configuration, please select it from the list below.")),1)),M(w(ic),{modelValue:N.value,"onUpdate:modelValue":t[0]||(t[0]=e=>N.value=e),canClear:!1,options:w(k).options.controls.waf_optimization_options.map(e=>Object.assign({},e,{label:e.label+(e.recommended?" "+w(d)("(recommended based on our tests)"):"")}))},null,8,["modelValue","options"]),v("div",rT,[V.value.length?(a(),r("p",iT,b(w(d)("Please download a backup of the following files before we make the necessary changes:")),1)):i("",!0),v("ul",uT,[(a(!0),r(m,null,g(V.value,(e,t)=>(a(),r("li",{key:e},[_((a(),r("a",{class:"wf-btn wf-btn-default wf-waf-backup-download","data-backup-index":t,href:H(t),onClick:e=>B[t]=!0},[x(b(w(y)(w(d)("Download %s"),e)),1)],8,cT)),[[n,{role:"button"}]])]))),128))])])],64)):(a(),r("p",lT,[M(w(Jg),{unsafeHTML:w(y)(w(d)('Automatic uninstallation cannot be completed, but you may still be able to <a href="%s" target="_blank" rel="noopener noreferrer">manually uninstall extended protection<span class="screen-reader-text"> (opens in new tab)</span></a>.'),w(k).support.url.firewall_waf_remove_manually)},null,8,["unsafeHTML"])]))]),"primary-button":s(()=>[w(k).waf.autoPrependRefersToWAF?(a(),l(w(nw),{key:0,onClick:E,"is-primary":!0,enabled:F.value},{default:s(()=>[x(b(w(d)("Continue")),1)]),_:1},8,["enabled"])):i("",!0)]),accessory:s(()=>[w(k).waf.autoPrependRefersToWAF?(a(),r("span",dT,b(w(d)("Once you have downloaded the files, click Continue to complete uninstallation.")),1)):i("",!0)]),_:1})):i("",!0)]),_:1})}}},hT={__name:"FirewallModals",setup(t){const l=u("$mitt"),{$hasOwn:o}=ai(),s=e({"country-block-us-modal":{show:!1,onClosed:!1,configurator:e=>{s[e.name].onClosed=e.onClosed??!1}},"bulk-unblock-modal":{show:!1,count:0,onClosed:!1,configurator:e=>{s[e.name].count=e.count??0,s[e.name].onClosed=e.onClosed??!1}},"install-waf-modal":{show:!1,configurator:()=>{}},"install-waf-success-modal":{show:!1,active:!1,configurator:e=>{s[e.name].active=e.active??!1}},"install-waf-manual-modal":{show:!1,autoPrependPath:"",configurator:e=>{s[e.name].autoPrependPath=e.autoPrependPath??""}},"install-waf-file-credentials-modal":{show:!1,filesystemCredentialsHTML:"",formURL:"",onCredentialsSubmit:()=>{},ajaxAction:"",configurator:e=>{s[e.name].filesystemCredentialsHTML=e.filesystemCredentialsHTML??"",s[e.name].formURL=e.formURL??"",s[e.name].onCredentialsSubmit=e.onCredentialsSubmit??(()=>{}),s[e.name].ajaxAction=e.ajaxAction??""}},"install-waf-filesystem-error-modal":{show:!1,credentialsErrors:[],configurator:e=>{s[e.name].credentialsErrors=e.credentialsErrors??[]}},"install-waf-failed-modal":{show:!1,errorMessage:"",configurator:e=>{s[e.name].errorMessage=e.errorMessage??""}},"uninstall-waf-modal":{show:!1,configurator:()=>{}},"uninstall-waf-success-modal":{show:!1,active:!1,isSubdirectoryInstall:!1,configurator:e=>{s[e.name].active=e.active??!1,s[e.name].isSubdirectoryInstall=e.isSubdirectoryInstall??!1}},"uninstall-waf-file-credentials-modal":{show:!1,filesystemCredentialsHTML:"",formURL:"",onCredentialsSubmit:()=>{},ajaxAction:"",configurator:e=>{s[e.name].filesystemCredentialsHTML=e.filesystemCredentialsHTML??"",s[e.name].formURL=e.formURL??"",s[e.name].onCredentialsSubmit=e.onCredentialsSubmit??(()=>{}),s[e.name].ajaxAction=e.ajaxAction??""}},"uninstall-waf-filesystem-error-modal":{show:!1,credentialsErrors:[],configurator:e=>{s[e.name].credentialsErrors=e.credentialsErrors??[]}},"uninstall-waf-waiting-modal":{show:!1,hasPreviousAutoPrepend:!1,timeUntil:0,refreshPayload:{},onUninstallComplete:()=>{},configurator:e=>{s[e.name].hasPreviousAutoPrepend=e.hasPreviousAutoPrepend??!1,s[e.name].timeUntil=e.timeUntil??0,s[e.name].refreshPayload=e.refreshPayload??{},s[e.name].onUninstallComplete=e.onUninstallComplete??(()=>{})}},"uninstall-waf-failed-modal":{show:!1,errorMessage:"",configurator:e=>{s[e.name].errorMessage=e.errorMessage??""}}}),i=n(()=>Object.values(s).some(e=>e.show));T(()=>{l.on("showModal",c),l.on("closeModal",d)}),D(()=>{l.off("showModal",c),l.off("closeModal",d)});const c=e=>{for(const t of Object.keys(s))t!==e.name&&s[t].show&&(s[t].show=!1);o(s,e.name)&&(s[e.name].configurator(e),s[e.name].show=!0)},d=e=>{o(s,e)&&(s[e].show=!1)};return(e,t)=>(a(),r("div",null,[M(w(Of),{show:i.value},null,8,["show"]),M(w(lS),{show:s["country-block-us-modal"].show,onClosed:s["country-block-us-modal"].onClosed},null,8,["show","onClosed"]),M(w(sS),{show:s["bulk-unblock-modal"].show,count:s["bulk-unblock-modal"].count,onClosed:s["bulk-unblock-modal"].onClosed},null,8,["show","count","onClosed"]),M(w(_S),{show:s["install-waf-modal"].show},null,8,["show"]),M(w(TS),{show:s["install-waf-success-modal"].show,active:s["install-waf-success-modal"].active},null,8,["show","active"]),M(w($S),{show:s["install-waf-manual-modal"].show,autoPrependPath:s["install-waf-manual-modal"].autoPrependPath},null,8,["show","autoPrependPath"]),M(w(RS),{show:s["install-waf-file-credentials-modal"].show,filesystemCredentialsHTML:s["install-waf-file-credentials-modal"].filesystemCredentialsHTML,formURL:s["install-waf-file-credentials-modal"].formURL,onCredentialsSubmit:s["install-waf-file-credentials-modal"].onCredentialsSubmit,ajaxAction:s["install-waf-file-credentials-modal"].ajaxAction},null,8,["show","filesystemCredentialsHTML","formURL","onCredentialsSubmit","ajaxAction"]),M(w(BS),{show:s["install-waf-filesystem-error-modal"].show,credentialsErrors:s["install-waf-filesystem-error-modal"].credentialsErrors},null,8,["show","credentialsErrors"]),M(w(FS),{show:s["install-waf-failed-modal"].show,errorMessage:s["install-waf-failed-modal"].errorMessage},null,8,["show","errorMessage"]),M(w(fT),{show:s["uninstall-waf-modal"].show},null,8,["show"]),M(w(eT),{show:s["uninstall-waf-file-credentials-modal"].show,filesystemCredentialsHTML:s["uninstall-waf-file-credentials-modal"].filesystemCredentialsHTML,formURL:s["uninstall-waf-file-credentials-modal"].formURL,onCredentialsSubmit:s["uninstall-waf-file-credentials-modal"].onCredentialsSubmit,ajaxAction:s["uninstall-waf-file-credentials-modal"].ajaxAction},null,8,["show","filesystemCredentialsHTML","formURL","onCredentialsSubmit","ajaxAction"]),M(w(nT),{show:s["uninstall-waf-filesystem-error-modal"].show,credentialsErrors:s["uninstall-waf-filesystem-error-modal"].credentialsErrors},null,8,["show","credentialsErrors"]),M(w(XS),{show:s["uninstall-waf-waiting-modal"].show,hasPreviousAutoPrepend:s["uninstall-waf-waiting-modal"].hasPreviousAutoPrepend,timeUntil:s["uninstall-waf-waiting-modal"].timeUntil,refreshPayload:s["uninstall-waf-waiting-modal"].refreshPayload,onUninstallComplete:s["uninstall-waf-waiting-modal"].onUninstallComplete},null,8,["show","hasPreviousAutoPrepend","timeUntil","refreshPayload","onUninstallComplete"]),M(w(YS),{show:s["uninstall-waf-success-modal"].show,active:s["uninstall-waf-success-modal"].active,isSubdirectoryInstall:s["uninstall-waf-success-modal"].isSubdirectoryInstall},null,8,["show","active","isSubdirectoryInstall"]),M(w(qS),{show:s["uninstall-waf-failed-modal"].show,errorMessage:s["uninstall-waf-failed-modal"].errorMessage},null,8,["show","errorMessage"])]))}},mT={__name:"NewTour1",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("This is where you can monitor the work Wordfence is doing to protect your site and also where you can manage the options to optimize the firewall's configuration.")),1))}},gT={__name:"NewTour2",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("The Wordfence Web Application Firewall blocks known and emerging attacks using firewall rules. When you first install the WAF, it will be in learning mode. This allows Wordfence to learn about your site so that we can understand how to protect it and how to allow normal visitors through the firewall. We recommend you let Wordfence learn for a week before you enable the firewall.")),1))}},wT={__name:"NewTour3",setup(e){const t=u("__");return(e,n)=>(a(),r("p",null,b(w(t)("Wordfence protects your site from password-guessing attacks by locking out attackers and helping you avoid weak passwords.")),1))}},vT={__name:"NewTour4",setup(e){const t=u("__");return(e,n)=>(a(),r(m,null,[n[0]||(n[0]=v("p",{class:"wf-center"},[v("svg",{viewBox:"0 0 100.11 100.11",class:"wf-icon"},[v("path",{d:"M99.59,41.42a2.06,2.06,0,0,0-1.37-.82L86.3,38.78a39.34,39.34,0,0,0-2.67-6.39q1.17-1.63,3.52-4.6t3.32-4.33A2.52,2.52,0,0,0,91,22a2.1,2.1,0,0,0-.46-1.43Q88.18,17.2,79.78,9.45a2.52,2.52,0,0,0-1.63-.65,2.12,2.12,0,0,0-1.57.59l-9.25,7a40.09,40.09,0,0,0-5.87-2.41L59.64,2a1.92,1.92,0,0,0-.75-1.4A2.46,2.46,0,0,0,57.29,0H42.82a2.19,2.19,0,0,0-2.34,1.82,106,106,0,0,0-1.89,12.12,37.62,37.62,0,0,0-5.93,2.48l-9-7A2.78,2.78,0,0,0,22,8.8q-1.44,0-6.16,4.66a64.88,64.88,0,0,0-6.42,7A2.75,2.75,0,0,0,8.8,22a2.44,2.44,0,0,0,.65,1.56q4.37,5.28,7,9a32.38,32.38,0,0,0-2.54,6L1.76,40.34a2,2,0,0,0-1.24.85A2.5,2.5,0,0,0,0,42.69V57.16a2.44,2.44,0,0,0,.52,1.53,2,2,0,0,0,1.37.82l11.93,1.76a31.91,31.91,0,0,0,2.67,6.45Q15.31
Showing 512.00 KB of 1.10 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
19.46 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
15.20 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
198.43 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
13.67 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
161.77 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
365 B lrw-r--r-- 2026-06-03 14:57:34
Edit Download
4.58 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
31.43 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
6.48 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
637 B lrw-r--r-- 2026-06-03 14:57:34
Edit Download
22.45 KB lrw-r--r-- 2026-06-03 14:57:34
Edit Download
1.10 MB lrw-r--r-- 2026-06-03 14:57:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).