@billgangcom/theme-lib 1.103.8 → 1.103.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,11 +18,11 @@
18
18
  `+Ce+N}}var ue=!1,ce;{var Ue=typeof WeakMap=="function"?WeakMap:Map;ce=new Ue}function J(N,V){if(!N||ue)return"";{var K=ce.get(N);if(K!==void 0)return K}var Q;ue=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ee;Ee=ee.current,ee.current=null,X();try{if(V){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(pt){Q=pt}Reflect.construct(N,[],Se)}else{try{Se.call()}catch(pt){Q=pt}N.call(Se.prototype)}}else{try{throw Error()}catch(pt){Q=pt}N()}}catch(pt){if(pt&&Q&&typeof pt.stack=="string"){for(var ve=pt.stack.split(`
19
19
  `),Fe=Q.stack.split(`
20
20
  `),De=ve.length-1,Me=Fe.length-1;De>=1&&Me>=0&&ve[De]!==Fe[Me];)Me--;for(;De>=1&&Me>=0;De--,Me--)if(ve[De]!==Fe[Me]){if(De!==1||Me!==1)do if(De--,Me--,Me<0||ve[De]!==Fe[Me]){var qt=`
21
- `+ve[De].replace(" at new "," at ");return N.displayName&&qt.includes("<anonymous>")&&(qt=qt.replace("<anonymous>",N.displayName)),typeof N=="function"&&ce.set(N,qt),qt}while(De>=1&&Me>=0);break}}}finally{ue=!1,ee.current=Ee,se(),Error.prepareStackTrace=he}var Qn=N?N.displayName||N.name:"",cn=Qn?ye(Qn):"";return typeof N=="function"&&ce.set(N,cn),cn}function Ve(N,V,K){return J(N,!1)}function xe(N){var V=N.prototype;return!!(V&&V.isReactComponent)}function we(N,V,K){if(N==null)return"";if(typeof N=="function")return J(N,xe(N));if(typeof N=="string")return ye(N);switch(N){case l:return ye("Suspense");case f:return ye("SuspenseList")}if(typeof N=="object")switch(N.$$typeof){case c:return Ve(N.render);case h:return we(N.type,V,K);case g:{var Q=N,he=Q._payload,Ee=Q._init;try{return we(Ee(he),V,K)}catch{}}}return""}var ze=Object.prototype.hasOwnProperty,_t={},At=E.ReactDebugCurrentFrame;function qe(N){if(N){var V=N._owner,K=we(N.type,N._source,V?V.type:null);At.setExtraStackFrame(K)}else At.setExtraStackFrame(null)}function rt(N,V,K,Q,he){{var Ee=Function.call.bind(ze);for(var Se in N)if(Ee(N,Se)){var ve=void 0;try{if(typeof N[Se]!="function"){var Fe=Error((Q||"React class")+": "+K+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof N[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}ve=N[Se](V,Se,Q,K,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(De){ve=De}ve&&!(ve instanceof Error)&&(qe(he),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Q||"React class",K,Se,typeof ve),qe(null)),ve instanceof Error&&!(ve.message in _t)&&(_t[ve.message]=!0,qe(he),y("Failed %s type: %s",K,ve.message),qe(null))}}}var Tn=Array.isArray;function bt(N){return Tn(N)}function pn(N){{var V=typeof Symbol=="function"&&Symbol.toStringTag,K=V&&N[Symbol.toStringTag]||N.constructor.name||"Object";return K}}function Ct(N){try{return Dt(N),!1}catch{return!0}}function Dt(N){return""+N}function G(N){if(Ct(N))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(N)),Dt(N)}var ae=E.ReactCurrentOwner,Te={key:!0,ref:!0,__self:!0,__source:!0},ke,We;function ot(N){if(ze.call(N,"ref")){var V=Object.getOwnPropertyDescriptor(N,"ref").get;if(V&&V.isReactWarning)return!1}return N.ref!==void 0}function mn(N){if(ze.call(N,"key")){var V=Object.getOwnPropertyDescriptor(N,"key").get;if(V&&V.isReactWarning)return!1}return N.key!==void 0}function et(N,V){typeof N.ref=="string"&&ae.current}function gn(N,V){{var K=function(){ke||(ke=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};K.isReactWarning=!0,Object.defineProperty(N,"key",{get:K,configurable:!0})}}function bn(N,V){{var K=function(){We||(We=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};K.isReactWarning=!0,Object.defineProperty(N,"ref",{get:K,configurable:!0})}}var Nt=function(N,V,K,Q,he,Ee,Se){var ve={$$typeof:t,type:N,key:V,ref:K,props:Se,_owner:Ee};return ve._store={},Object.defineProperty(ve._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ve,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.defineProperty(ve,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ve.props),Object.freeze(ve)),ve};function Jn(N,V,K,Q,he){{var Ee,Se={},ve=null,Fe=null;K!==void 0&&(G(K),ve=""+K),mn(V)&&(G(V.key),ve=""+V.key),ot(V)&&(Fe=V.ref,et(V,he));for(Ee in V)ze.call(V,Ee)&&!Te.hasOwnProperty(Ee)&&(Se[Ee]=V[Ee]);if(N&&N.defaultProps){var De=N.defaultProps;for(Ee in De)Se[Ee]===void 0&&(Se[Ee]=De[Ee])}if(ve||Fe){var Me=typeof N=="function"?N.displayName||N.name||"Unknown":N;ve&&gn(Se,Me),Fe&&bn(Se,Me)}return Nt(N,ve,Fe,he,Q,ae.current,Se)}}var $t=E.ReactCurrentOwner,jr=E.ReactDebugCurrentFrame;function lr(N){if(N){var V=N._owner,K=we(N.type,N._source,V?V.type:null);jr.setExtraStackFrame(K)}else jr.setExtraStackFrame(null)}var Ur;Ur=!1;function It(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function Yt(){{if($t.current){var N=W($t.current.type);if(N)return`
21
+ `+ve[De].replace(" at new "," at ");return N.displayName&&qt.includes("<anonymous>")&&(qt=qt.replace("<anonymous>",N.displayName)),typeof N=="function"&&ce.set(N,qt),qt}while(De>=1&&Me>=0);break}}}finally{ue=!1,ee.current=Ee,se(),Error.prepareStackTrace=he}var er=N?N.displayName||N.name:"",cn=er?ye(er):"";return typeof N=="function"&&ce.set(N,cn),cn}function Ve(N,V,K){return J(N,!1)}function xe(N){var V=N.prototype;return!!(V&&V.isReactComponent)}function we(N,V,K){if(N==null)return"";if(typeof N=="function")return J(N,xe(N));if(typeof N=="string")return ye(N);switch(N){case l:return ye("Suspense");case f:return ye("SuspenseList")}if(typeof N=="object")switch(N.$$typeof){case c:return Ve(N.render);case h:return we(N.type,V,K);case g:{var Q=N,he=Q._payload,Ee=Q._init;try{return we(Ee(he),V,K)}catch{}}}return""}var ze=Object.prototype.hasOwnProperty,_t={},At=E.ReactDebugCurrentFrame;function qe(N){if(N){var V=N._owner,K=we(N.type,N._source,V?V.type:null);At.setExtraStackFrame(K)}else At.setExtraStackFrame(null)}function rt(N,V,K,Q,he){{var Ee=Function.call.bind(ze);for(var Se in N)if(Ee(N,Se)){var ve=void 0;try{if(typeof N[Se]!="function"){var Fe=Error((Q||"React class")+": "+K+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof N[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}ve=N[Se](V,Se,Q,K,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(De){ve=De}ve&&!(ve instanceof Error)&&(qe(he),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Q||"React class",K,Se,typeof ve),qe(null)),ve instanceof Error&&!(ve.message in _t)&&(_t[ve.message]=!0,qe(he),y("Failed %s type: %s",K,ve.message),qe(null))}}}var Tn=Array.isArray;function bt(N){return Tn(N)}function pn(N){{var V=typeof Symbol=="function"&&Symbol.toStringTag,K=V&&N[Symbol.toStringTag]||N.constructor.name||"Object";return K}}function Ct(N){try{return Dt(N),!1}catch{return!0}}function Dt(N){return""+N}function G(N){if(Ct(N))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(N)),Dt(N)}var ae=E.ReactCurrentOwner,Te={key:!0,ref:!0,__self:!0,__source:!0},ke,We;function ot(N){if(ze.call(N,"ref")){var V=Object.getOwnPropertyDescriptor(N,"ref").get;if(V&&V.isReactWarning)return!1}return N.ref!==void 0}function mn(N){if(ze.call(N,"key")){var V=Object.getOwnPropertyDescriptor(N,"key").get;if(V&&V.isReactWarning)return!1}return N.key!==void 0}function et(N,V){typeof N.ref=="string"&&ae.current}function gn(N,V){{var K=function(){ke||(ke=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};K.isReactWarning=!0,Object.defineProperty(N,"key",{get:K,configurable:!0})}}function bn(N,V){{var K=function(){We||(We=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};K.isReactWarning=!0,Object.defineProperty(N,"ref",{get:K,configurable:!0})}}var Nt=function(N,V,K,Q,he,Ee,Se){var ve={$$typeof:t,type:N,key:V,ref:K,props:Se,_owner:Ee};return ve._store={},Object.defineProperty(ve._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ve,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.defineProperty(ve,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ve.props),Object.freeze(ve)),ve};function Qn(N,V,K,Q,he){{var Ee,Se={},ve=null,Fe=null;K!==void 0&&(G(K),ve=""+K),mn(V)&&(G(V.key),ve=""+V.key),ot(V)&&(Fe=V.ref,et(V,he));for(Ee in V)ze.call(V,Ee)&&!Te.hasOwnProperty(Ee)&&(Se[Ee]=V[Ee]);if(N&&N.defaultProps){var De=N.defaultProps;for(Ee in De)Se[Ee]===void 0&&(Se[Ee]=De[Ee])}if(ve||Fe){var Me=typeof N=="function"?N.displayName||N.name||"Unknown":N;ve&&gn(Se,Me),Fe&&bn(Se,Me)}return Nt(N,ve,Fe,he,Q,ae.current,Se)}}var $t=E.ReactCurrentOwner,jr=E.ReactDebugCurrentFrame;function lr(N){if(N){var V=N._owner,K=we(N.type,N._source,V?V.type:null);jr.setExtraStackFrame(K)}else jr.setExtraStackFrame(null)}var Ur;Ur=!1;function It(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function Yt(){{if($t.current){var N=W($t.current.type);if(N)return`
22
22
 
23
23
  Check the render method of \``+N+"`."}return""}}function Xt(N){return""}var Vn={};function sn(N){{var V=Yt();if(!V){var K=typeof N=="string"?N:N.displayName||N.name;K&&(V=`
24
24
 
25
- Check the top-level render call using <`+K+">.")}return V}}function Rt(N,V){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var K=sn(V);if(Vn[K])return;Vn[K]=!0;var Q="";N&&N._owner&&N._owner!==$t.current&&(Q=" It was passed a child from "+W(N._owner.type)+"."),lr(N),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',K,Q),lr(null)}}function Kt(N,V){{if(typeof N!="object")return;if(bt(N))for(var K=0;K<N.length;K++){var Q=N[K];It(Q)&&Rt(Q,V)}else if(It(N))N._store&&(N._store.validated=!0);else if(N){var he=I(N);if(typeof he=="function"&&he!==N.entries)for(var Ee=he.call(N),Se;!(Se=Ee.next()).done;)It(Se.value)&&Rt(Se.value,V)}}}function Sr(N){{var V=N.type;if(V==null||typeof V=="string")return;var K;if(typeof V=="function")K=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===h))K=V.propTypes;else return;if(K){var Q=W(V);rt(K,N.props,"prop",Q,N)}else if(V.PropTypes!==void 0&&!Ur){Ur=!0;var he=W(V);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(N){{for(var V=Object.keys(N.props),K=0;K<V.length;K++){var Q=V[K];if(Q!=="children"&&Q!=="key"){lr(N),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Q),lr(null);break}}N.ref!==null&&(lr(N),y("Invalid attribute `ref` supplied to `React.Fragment`."),lr(null))}}var O={};function B(N,V,K,Q,he,Ee){{var Se=A(N);if(!Se){var ve="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(ve+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Fe=Xt();Fe?ve+=Fe:ve+=Yt();var De;N===null?De="null":bt(N)?De="array":N!==void 0&&N.$$typeof===t?(De="<"+(W(N.type)||"Unknown")+" />",ve=" Did you accidentally export a JSX literal instead of a component?"):De=typeof N,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,ve)}var Me=Jn(N,V,K,he,Ee);if(Me==null)return Me;if(Se){var qt=V.children;if(qt!==void 0)if(Q)if(bt(qt)){for(var Qn=0;Qn<qt.length;Qn++)Kt(qt[Qn],N);Object.freeze&&Object.freeze(qt)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Kt(qt,N)}if(ze.call(V,"key")){var cn=W(N),pt=Object.keys(V).filter(function(Vr){return Vr!=="key"}),vo=pt.length>0?"{key: someKey, "+pt.join(": ..., ")+": ...}":"{key: someKey}";if(!O[cn+vo]){var Lo=pt.length>0?"{"+pt.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+K+">.")}return V}}function Rt(N,V){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var K=sn(V);if(Vn[K])return;Vn[K]=!0;var Q="";N&&N._owner&&N._owner!==$t.current&&(Q=" It was passed a child from "+W(N._owner.type)+"."),lr(N),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',K,Q),lr(null)}}function Kt(N,V){{if(typeof N!="object")return;if(bt(N))for(var K=0;K<N.length;K++){var Q=N[K];It(Q)&&Rt(Q,V)}else if(It(N))N._store&&(N._store.validated=!0);else if(N){var he=I(N);if(typeof he=="function"&&he!==N.entries)for(var Ee=he.call(N),Se;!(Se=Ee.next()).done;)It(Se.value)&&Rt(Se.value,V)}}}function Sr(N){{var V=N.type;if(V==null||typeof V=="string")return;var K;if(typeof V=="function")K=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===h))K=V.propTypes;else return;if(K){var Q=W(V);rt(K,N.props,"prop",Q,N)}else if(V.PropTypes!==void 0&&!Ur){Ur=!0;var he=W(V);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(N){{for(var V=Object.keys(N.props),K=0;K<V.length;K++){var Q=V[K];if(Q!=="children"&&Q!=="key"){lr(N),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Q),lr(null);break}}N.ref!==null&&(lr(N),y("Invalid attribute `ref` supplied to `React.Fragment`."),lr(null))}}var O={};function B(N,V,K,Q,he,Ee){{var Se=A(N);if(!Se){var ve="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(ve+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Fe=Xt();Fe?ve+=Fe:ve+=Yt();var De;N===null?De="null":bt(N)?De="array":N!==void 0&&N.$$typeof===t?(De="<"+(W(N.type)||"Unknown")+" />",ve=" Did you accidentally export a JSX literal instead of a component?"):De=typeof N,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,ve)}var Me=Qn(N,V,K,he,Ee);if(Me==null)return Me;if(Se){var qt=V.children;if(qt!==void 0)if(Q)if(bt(qt)){for(var er=0;er<qt.length;er++)Kt(qt[er],N);Object.freeze&&Object.freeze(qt)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Kt(qt,N)}if(ze.call(V,"key")){var cn=W(N),pt=Object.keys(V).filter(function(Vr){return Vr!=="key"}),vo=pt.length>0?"{key: someKey, "+pt.join(": ..., ")+": ...}":"{key: someKey}";if(!O[cn+vo]){var Lo=pt.length>0?"{"+pt.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
36
36
  * LICENSE.md file in the root directory of this source tree.
37
37
  *
38
38
  * @license MIT
39
- */function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xt.apply(this,arguments)}var Ut;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ut||(Ut={}));const D0="popstate";function a6(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:u,hash:s}=r.location;return va("",{pathname:a,search:u,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Io(i)}return s6(t,n,null,e)}function Re(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Zt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function u6(){return Math.random().toString(36).substr(2,8)}function N0(e,t){return{usr:e.state,key:e.key,idx:t}}function va(e,t,n,r){return n===void 0&&(n=null),xt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?To(t):t,{state:n,key:t&&t.key||r||u6()})}function Io(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function To(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function s6(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,u=i.history,s=Ut.Pop,c=null,l=f();l==null&&(l=0,u.replaceState(xt({},u.state,{idx:l}),""));function f(){return(u.state||{idx:null}).idx}function h(){s=Ut.Pop;let I=f(),E=I==null?null:I-l;l=I,c&&c({action:s,location:C.location,delta:E})}function g(I,E){s=Ut.Push;let y=va(C.location,I,E);l=f()+1;let S=N0(y,l),T=C.createHref(y);try{u.pushState(S,"",T)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(T)}a&&c&&c({action:s,location:C.location,delta:1})}function m(I,E){s=Ut.Replace;let y=va(C.location,I,E);l=f();let S=N0(y,l),T=C.createHref(y);u.replaceState(S,"",T),a&&c&&c({action:s,location:C.location,delta:0})}function b(I){let E=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof I=="string"?I:Io(I);return y=y.replace(/ $/,"%20"),Re(E,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,E)}let C={get action(){return s},get location(){return e(i,u)},listen(I){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(D0,h),c=I,()=>{i.removeEventListener(D0,h),c=null}},createHref(I){return t(i,I)},createURL:b,encodeLocation(I){let E=b(I);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:g,replace:m,go(I){return u.go(I)}};return C}var it;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(it||(it={}));const c6=new Set(["lazy","caseSensitive","path","id","index","children"]);function l6(e){return e.index===!0}function es(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let u=[...n,String(a)],s=typeof i.id=="string"?i.id:u.join("-");if(Re(i.index!==!0||!i.children,"Cannot specify children on an index route"),Re(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),l6(i)){let c=xt({},i,t(i),{id:s});return r[s]=c,c}else{let c=xt({},i,t(i),{id:s,children:void 0});return r[s]=c,i.children&&(c.children=es(i.children,t,u,r)),c}})}function Oo(e,t,n){return n===void 0&&(n="/"),ju(e,t,n,!1)}function ju(e,t,n,r){let i=typeof t=="string"?To(t):t,a=mr(i.pathname||"/",n);if(a==null)return null;let u=Xh(e);f6(u);let s=null;for(let c=0;s==null&&c<u.length;++c){let l=x6(a);s=E6(u[c],l,r)}return s}function d6(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function Xh(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,u,s)=>{let c={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};c.relativePath.startsWith("/")&&(Re(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let l=Rr([r,c.relativePath]),f=n.concat(c);a.children&&a.children.length>0&&(Re(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),Xh(a.children,t,f,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:I6(l,a.index),routesMeta:f})};return e.forEach((a,u)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,u);else for(let c of Kh(a.path))i(a,u,c)}),t}function Kh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let u=Kh(r.join("/")),s=[];return s.push(...u.map(c=>c===""?a:[a,c].join("/"))),i&&s.push(...u),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function f6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:y6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const h6=/^:[\w-]+$/,p6=3,m6=2,g6=1,b6=10,C6=-2,R0=e=>e==="*";function I6(e,t){let n=e.split("/"),r=n.length;return n.some(R0)&&(r+=C6),t&&(r+=m6),n.filter(i=>!R0(i)).reduce((i,a)=>i+(h6.test(a)?p6:a===""?g6:b6),r)}function y6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function E6(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a="/",u=[];for(let s=0;s<r.length;++s){let c=r[s],l=s===r.length-1,f=a==="/"?t:t.slice(a.length)||"/",h=ts({path:c.relativePath,caseSensitive:c.caseSensitive,end:l},f),g=c.route;if(!h&&l&&n&&!r[r.length-1].route.index&&(h=ts({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!h)return null;Object.assign(i,h.params),u.push({params:i,pathname:Rr([a,h.pathname]),pathnameBase:w6(Rr([a,h.pathnameBase])),route:g}),h.pathnameBase!=="/"&&(a=Rr([a,h.pathnameBase]))}return u}function ts(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=S6(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],u=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((l,f,h)=>{let{paramName:g,isOptional:m}=f;if(g==="*"){let C=s[h]||"";u=a.slice(0,a.length-C.length).replace(/(.)\/+$/,"$1")}const b=s[h];return m&&!b?l[g]=void 0:l[g]=(b||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:u,pattern:e}}function S6(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function x6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zt(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function _6(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?To(e):e;return{pathname:n?n.startsWith("/")?n:T6(n,t):t,search:A6(r),hash:k6(i)}}function T6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function cc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Jh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function fd(e,t){let n=Jh(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function hd(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=To(e):(i=xt({},e),Re(!i.pathname||!i.pathname.includes("?"),cc("?","pathname","search",i)),Re(!i.pathname||!i.pathname.includes("#"),cc("#","pathname","hash",i)),Re(!i.search||!i.search.includes("#"),cc("#","search","hash",i)));let a=e===""||i.pathname==="",u=a?"/":i.pathname,s;if(u==null)s=n;else{let h=t.length-1;if(!r&&u.startsWith("..")){let g=u.split("/");for(;g[0]==="..";)g.shift(),h-=1;i.pathname=g.join("/")}s=h>=0?t[h]:"/"}let c=_6(i,s),l=u&&u!=="/"&&u.endsWith("/"),f=(a||u===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(l||f)&&(c.pathname+="/"),c}const Rr=e=>e.join("/").replace(/\/\/+/g,"/"),w6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),A6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,k6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ns{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function La(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qh=["post","put","patch","delete"],v6=new Set(Qh),L6=["get",...Qh],D6=new Set(L6),N6=new Set([301,302,303,307,308]),R6=new Set([307,308]),lc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},P6={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Yi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},pd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,O6=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ep="remix-router-transitions";function M6(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Re(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let O=e.detectErrorBoundary;i=B=>({hasErrorBoundary:O(B)})}else i=O6;let a={},u=es(e.routes,i,void 0,a),s,c=e.basename||"/",l=e.dataStrategy||j6,f=e.patchRoutesOnNavigation,h=xt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),g=null,m=new Set,b=null,C=null,I=null,E=e.hydrationData!=null,y=Oo(u,e.history.location,c),S=!1,T=null;if(y==null&&!f){let O=Mn(404,{pathname:e.history.location.pathname}),{matches:B,route:$}=$0(u);y=B,T={[$.id]:O}}y&&!e.hydrationData&&Rt(y,u,e.history.location.pathname).active&&(y=null);let _;if(y)if(y.some(O=>O.route.lazy))_=!1;else if(!y.some(O=>O.route.loader))_=!0;else if(h.v7_partialHydration){let O=e.hydrationData?e.hydrationData.loaderData:null,B=e.hydrationData?e.hydrationData.errors:null;if(B){let $=y.findIndex(te=>B[te.route.id]!==void 0);_=y.slice(0,$+1).every(te=>!fl(te.route,O,B))}else _=y.every($=>!fl($.route,O,B))}else _=e.hydrationData!=null;else if(_=!1,y=[],h.v7_partialHydration){let O=Rt(null,u,e.history.location.pathname);O.active&&O.matches&&(S=!0,y=O.matches)}let v,x={historyAction:e.history.action,location:e.history.location,matches:y,initialized:_,navigation:lc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||T,fetchers:new Map,blockers:new Map},M=Ut.Pop,H=!1,A,j=!1,F=new Map,W=null,q=!1,ne=!1,be=[],Ie=new Set,Ae=new Map,Le=0,w=-1,re=new Map,pe=new Set,D=new Map,X=new Map,se=new Set,ee=new Map,Ce=new Map,ye;function ue(){if(g=e.history.listen(O=>{let{action:B,location:$,delta:te}=O;if(ye){ye(),ye=void 0;return}Zt(Ce.size===0||te!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let me=lr({currentLocation:x.location,nextLocation:$,historyAction:B});if(me&&te!=null){let _e=new Promise(N=>{ye=N});e.history.go(te*-1),jr(me,{state:"blocked",location:$,proceed(){jr(me,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),_e.then(()=>e.history.go(te))},reset(){let N=new Map(x.blockers);N.set(me,Yi),J({blockers:N})}});return}return ze(B,$)}),n){e4(t,F);let O=()=>t4(t,F);t.addEventListener("pagehide",O),W=()=>t.removeEventListener("pagehide",O)}return x.initialized||ze(Ut.Pop,x.location,{initialHydration:!0}),v}function ce(){g&&g(),W&&W(),m.clear(),A&&A.abort(),x.fetchers.forEach((O,B)=>ot(B)),x.blockers.forEach((O,B)=>$t(B))}function Ue(O){return m.add(O),()=>m.delete(O)}function J(O,B){B===void 0&&(B={}),x=xt({},x,O);let $=[],te=[];h.v7_fetcherPersist&&x.fetchers.forEach((me,_e)=>{me.state==="idle"&&(se.has(_e)?te.push(_e):$.push(_e))}),se.forEach(me=>{!x.fetchers.has(me)&&!Ae.has(me)&&te.push(me)}),[...m].forEach(me=>me(x,{deletedFetchers:te,viewTransitionOpts:B.viewTransitionOpts,flushSync:B.flushSync===!0})),h.v7_fetcherPersist?($.forEach(me=>x.fetchers.delete(me)),te.forEach(me=>ot(me))):te.forEach(me=>se.delete(me))}function Ve(O,B,$){var te,me;let{flushSync:_e}=$===void 0?{}:$,N=x.actionData!=null&&x.navigation.formMethod!=null&&hr(x.navigation.formMethod)&&x.navigation.state==="loading"&&((te=O.state)==null?void 0:te._isRedirect)!==!0,V;B.actionData?Object.keys(B.actionData).length>0?V=B.actionData:V=null:N?V=x.actionData:V=null;let K=B.loaderData?V0(x.loaderData,B.loaderData,B.matches||[],B.errors):x.loaderData,Q=x.blockers;Q.size>0&&(Q=new Map(Q),Q.forEach((Se,ve)=>Q.set(ve,Yi)));let he=H===!0||x.navigation.formMethod!=null&&hr(x.navigation.formMethod)&&((me=O.state)==null?void 0:me._isRedirect)!==!0;s&&(u=s,s=void 0),q||M===Ut.Pop||(M===Ut.Push?e.history.push(O,O.state):M===Ut.Replace&&e.history.replace(O,O.state));let Ee;if(M===Ut.Pop){let Se=F.get(x.location.pathname);Se&&Se.has(O.pathname)?Ee={currentLocation:x.location,nextLocation:O}:F.has(O.pathname)&&(Ee={currentLocation:O,nextLocation:x.location})}else if(j){let Se=F.get(x.location.pathname);Se?Se.add(O.pathname):(Se=new Set([O.pathname]),F.set(x.location.pathname,Se)),Ee={currentLocation:x.location,nextLocation:O}}J(xt({},B,{actionData:V,loaderData:K,historyAction:M,location:O,initialized:!0,navigation:lc,revalidation:"idle",restoreScrollPosition:sn(O,B.matches||x.matches),preventScrollReset:he,blockers:Q}),{viewTransitionOpts:Ee,flushSync:_e===!0}),M=Ut.Pop,H=!1,j=!1,q=!1,ne=!1,be=[]}async function xe(O,B){if(typeof O=="number"){e.history.go(O);return}let $=dl(x.location,x.matches,c,h.v7_prependBasename,O,h.v7_relativeSplatPath,B==null?void 0:B.fromRouteId,B==null?void 0:B.relative),{path:te,submission:me,error:_e}=P0(h.v7_normalizeFormMethod,!1,$,B),N=x.location,V=va(x.location,te,B&&B.state);V=xt({},V,e.history.encodeLocation(V));let K=B&&B.replace!=null?B.replace:void 0,Q=Ut.Push;K===!0?Q=Ut.Replace:K===!1||me!=null&&hr(me.formMethod)&&me.formAction===x.location.pathname+x.location.search&&(Q=Ut.Replace);let he=B&&"preventScrollReset"in B?B.preventScrollReset===!0:void 0,Ee=(B&&B.flushSync)===!0,Se=lr({currentLocation:N,nextLocation:V,historyAction:Q});if(Se){jr(Se,{state:"blocked",location:V,proceed(){jr(Se,{state:"proceeding",proceed:void 0,reset:void 0,location:V}),xe(O,B)},reset(){let ve=new Map(x.blockers);ve.set(Se,Yi),J({blockers:ve})}});return}return await ze(Q,V,{submission:me,pendingError:_e,preventScrollReset:he,replace:B&&B.replace,enableViewTransition:B&&B.viewTransition,flushSync:Ee})}function we(){if(ae(),J({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){ze(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}ze(M||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation,enableViewTransition:j===!0})}}async function ze(O,B,$){A&&A.abort(),A=null,M=O,q=($&&$.startUninterruptedRevalidation)===!0,Vn(x.location,x.matches),H=($&&$.preventScrollReset)===!0,j=($&&$.enableViewTransition)===!0;let te=s||u,me=$&&$.overrideNavigation,_e=$!=null&&$.initialHydration&&x.matches&&x.matches.length>0&&!S?x.matches:Oo(te,B,c),N=($&&$.flushSync)===!0;if(_e&&x.initialized&&!ne&&W6(x.location,B)&&!($&&$.submission&&hr($.submission.formMethod))){Ve(B,{matches:_e},{flushSync:N});return}let V=Rt(_e,te,B.pathname);if(V.active&&V.matches&&(_e=V.matches),!_e){let{error:Fe,notFoundMatches:De,route:Me}=Ur(B.pathname);Ve(B,{matches:De,loaderData:{},errors:{[Me.id]:Fe}},{flushSync:N});return}A=new AbortController;let K=ni(e.history,B,A.signal,$&&$.submission),Q;if($&&$.pendingError)Q=[Mo(_e).route.id,{type:it.error,error:$.pendingError}];else if($&&$.submission&&hr($.submission.formMethod)){let Fe=await _t(K,B,$.submission,_e,V.active,{replace:$.replace,flushSync:N});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[De,Me]=Fe.pendingActionResult;if(Wn(Me)&&La(Me.error)&&Me.error.status===404){A=null,Ve(B,{matches:Fe.matches,loaderData:{},errors:{[De]:Me.error}});return}}_e=Fe.matches||_e,Q=Fe.pendingActionResult,me=dc(B,$.submission),N=!1,V.active=!1,K=ni(e.history,K.url,K.signal)}let{shortCircuited:he,matches:Ee,loaderData:Se,errors:ve}=await At(K,B,_e,V.active,me,$&&$.submission,$&&$.fetcherSubmission,$&&$.replace,$&&$.initialHydration===!0,N,Q);he||(A=null,Ve(B,xt({matches:Ee||_e},z0(Q),{loaderData:Se,errors:ve})))}async function _t(O,B,$,te,me,_e){_e===void 0&&(_e={}),ae();let N=J6(B,$);if(J({navigation:N},{flushSync:_e.flushSync===!0}),me){let Q=await Kt(te,B.pathname,O.signal);if(Q.type==="aborted")return{shortCircuited:!0};if(Q.type==="error"){let he=Mo(Q.partialMatches).route.id;return{matches:Q.partialMatches,pendingActionResult:[he,{type:it.error,error:Q.error}]}}else if(Q.matches)te=Q.matches;else{let{notFoundMatches:he,error:Ee,route:Se}=Ur(B.pathname);return{matches:he,pendingActionResult:[Se.id,{type:it.error,error:Ee}]}}}let V,K=ca(te,B);if(!K.route.action&&!K.route.lazy)V={type:it.error,error:Mn(405,{method:O.method,pathname:B.pathname,routeId:K.route.id})};else if(V=(await Dt("action",x,O,[K],te,null))[K.route.id],O.signal.aborted)return{shortCircuited:!0};if(jo(V)){let Q;return _e&&_e.replace!=null?Q=_e.replace:Q=H0(V.response.headers.get("Location"),new URL(O.url),c)===x.location.pathname+x.location.search,await Ct(O,V,!0,{submission:$,replace:Q}),{shortCircuited:!0}}if(mo(V))throw Mn(400,{type:"defer-action"});if(Wn(V)){let Q=Mo(te,K.route.id);return(_e&&_e.replace)!==!0&&(M=Ut.Push),{matches:te,pendingActionResult:[Q.route.id,V]}}return{matches:te,pendingActionResult:[K.route.id,V]}}async function At(O,B,$,te,me,_e,N,V,K,Q,he){let Ee=me||dc(B,_e),Se=_e||N||W0(Ee),ve=!q&&(!h.v7_partialHydration||!K);if(te){if(ve){let kt=qe(he);J(xt({navigation:Ee},kt!==void 0?{actionData:kt}:{}),{flushSync:Q})}let Je=await Kt($,B.pathname,O.signal);if(Je.type==="aborted")return{shortCircuited:!0};if(Je.type==="error"){let kt=Mo(Je.partialMatches).route.id;return{matches:Je.partialMatches,loaderData:{},errors:{[kt]:Je.error}}}else if(Je.matches)$=Je.matches;else{let{error:kt,notFoundMatches:ei,route:qi}=Ur(B.pathname);return{matches:ei,loaderData:{},errors:{[qi.id]:kt}}}}let Fe=s||u,[De,Me]=M0(e.history,x,$,Se,B,h.v7_partialHydration&&K===!0,h.v7_skipActionErrorRevalidation,ne,be,Ie,se,D,pe,Fe,c,he);if(It(Je=>!($&&$.some(kt=>kt.route.id===Je))||De&&De.some(kt=>kt.route.id===Je)),w=++Le,De.length===0&&Me.length===0){let Je=bn();return Ve(B,xt({matches:$,loaderData:{},errors:he&&Wn(he[1])?{[he[0]]:he[1].error}:null},z0(he),Je?{fetchers:new Map(x.fetchers)}:{}),{flushSync:Q}),{shortCircuited:!0}}if(ve){let Je={};if(!te){Je.navigation=Ee;let kt=qe(he);kt!==void 0&&(Je.actionData=kt)}Me.length>0&&(Je.fetchers=rt(Me)),J(Je,{flushSync:Q})}Me.forEach(Je=>{et(Je.key),Je.controller&&Ae.set(Je.key,Je.controller)});let qt=()=>Me.forEach(Je=>et(Je.key));A&&A.signal.addEventListener("abort",qt);let{loaderResults:Qn,fetcherResults:cn}=await G(x,$,De,Me,O);if(O.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",qt),Me.forEach(Je=>Ae.delete(Je.key));let pt=pu(Qn);if(pt)return await Ct(O,pt.result,!0,{replace:V}),{shortCircuited:!0};if(pt=pu(cn),pt)return pe.add(pt.key),await Ct(O,pt.result,!0,{replace:V}),{shortCircuited:!0};let{loaderData:vo,errors:Lo}=U0(x,$,Qn,he,Me,cn,ee);ee.forEach((Je,kt)=>{Je.subscribe(ei=>{(ei||Je.done)&&ee.delete(kt)})}),h.v7_partialHydration&&K&&x.errors&&(Lo=xt({},x.errors,Lo));let Vr=bn(),fu=Nt(w),hu=Vr||fu||Me.length>0;return xt({matches:$,loaderData:vo,errors:Lo},hu?{fetchers:new Map(x.fetchers)}:{})}function qe(O){if(O&&!Wn(O[1]))return{[O[0]]:O[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function rt(O){return O.forEach(B=>{let $=x.fetchers.get(B.key),te=Xi(void 0,$?$.data:void 0);x.fetchers.set(B.key,te)}),new Map(x.fetchers)}function Tn(O,B,$,te){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");et(O);let me=(te&&te.flushSync)===!0,_e=s||u,N=dl(x.location,x.matches,c,h.v7_prependBasename,$,h.v7_relativeSplatPath,B,te==null?void 0:te.relative),V=Oo(_e,N,c),K=Rt(V,_e,N);if(K.active&&K.matches&&(V=K.matches),!V){ke(O,B,Mn(404,{pathname:N}),{flushSync:me});return}let{path:Q,submission:he,error:Ee}=P0(h.v7_normalizeFormMethod,!0,N,te);if(Ee){ke(O,B,Ee,{flushSync:me});return}let Se=ca(V,Q),ve=(te&&te.preventScrollReset)===!0;if(he&&hr(he.formMethod)){bt(O,B,Q,Se,V,K.active,me,ve,he);return}D.set(O,{routeId:B,path:Q}),pn(O,B,Q,Se,V,K.active,me,ve,he)}async function bt(O,B,$,te,me,_e,N,V,K){ae(),D.delete(O);function Q(Bt){if(!Bt.route.action&&!Bt.route.lazy){let ti=Mn(405,{method:K.formMethod,pathname:$,routeId:B});return ke(O,B,ti,{flushSync:N}),!0}return!1}if(!_e&&Q(te))return;let he=x.fetchers.get(O);Te(O,Q6(K,he),{flushSync:N});let Ee=new AbortController,Se=ni(e.history,$,Ee.signal,K);if(_e){let Bt=await Kt(me,new URL(Se.url).pathname,Se.signal,O);if(Bt.type==="aborted")return;if(Bt.type==="error"){ke(O,B,Bt.error,{flushSync:N});return}else if(Bt.matches){if(me=Bt.matches,te=ca(me,$),Q(te))return}else{ke(O,B,Mn(404,{pathname:$}),{flushSync:N});return}}Ae.set(O,Ee);let ve=Le,De=(await Dt("action",x,Se,[te],me,O))[te.route.id];if(Se.signal.aborted){Ae.get(O)===Ee&&Ae.delete(O);return}if(h.v7_fetcherPersist&&se.has(O)){if(jo(De)||Wn(De)){Te(O,uo(void 0));return}}else{if(jo(De))if(Ae.delete(O),w>ve){Te(O,uo(void 0));return}else return pe.add(O),Te(O,Xi(K)),Ct(Se,De,!1,{fetcherSubmission:K,preventScrollReset:V});if(Wn(De)){ke(O,B,De.error);return}}if(mo(De))throw Mn(400,{type:"defer-action"});let Me=x.navigation.location||x.location,qt=ni(e.history,Me,Ee.signal),Qn=s||u,cn=x.navigation.state!=="idle"?Oo(Qn,x.navigation.location,c):x.matches;Re(cn,"Didn't find any matches after fetcher action");let pt=++Le;re.set(O,pt);let vo=Xi(K,De.data);x.fetchers.set(O,vo);let[Lo,Vr]=M0(e.history,x,cn,K,Me,!1,h.v7_skipActionErrorRevalidation,ne,be,Ie,se,D,pe,Qn,c,[te.route.id,De]);Vr.filter(Bt=>Bt.key!==O).forEach(Bt=>{let ti=Bt.key,A0=x.fetchers.get(ti),e6=Xi(void 0,A0?A0.data:void 0);x.fetchers.set(ti,e6),et(ti),Bt.controller&&Ae.set(ti,Bt.controller)}),J({fetchers:new Map(x.fetchers)});let fu=()=>Vr.forEach(Bt=>et(Bt.key));Ee.signal.addEventListener("abort",fu);let{loaderResults:hu,fetcherResults:Je}=await G(x,cn,Lo,Vr,qt);if(Ee.signal.aborted)return;Ee.signal.removeEventListener("abort",fu),re.delete(O),Ae.delete(O),Vr.forEach(Bt=>Ae.delete(Bt.key));let kt=pu(hu);if(kt)return Ct(qt,kt.result,!1,{preventScrollReset:V});if(kt=pu(Je),kt)return pe.add(kt.key),Ct(qt,kt.result,!1,{preventScrollReset:V});let{loaderData:ei,errors:qi}=U0(x,cn,hu,void 0,Vr,Je,ee);if(x.fetchers.has(O)){let Bt=uo(De.data);x.fetchers.set(O,Bt)}Nt(pt),x.navigation.state==="loading"&&pt>w?(Re(M,"Expected pending action"),A&&A.abort(),Ve(x.navigation.location,{matches:cn,loaderData:ei,errors:qi,fetchers:new Map(x.fetchers)})):(J({errors:qi,loaderData:V0(x.loaderData,ei,cn,qi),fetchers:new Map(x.fetchers)}),ne=!1)}async function pn(O,B,$,te,me,_e,N,V,K){let Q=x.fetchers.get(O);Te(O,Xi(K,Q?Q.data:void 0),{flushSync:N});let he=new AbortController,Ee=ni(e.history,$,he.signal);if(_e){let De=await Kt(me,new URL(Ee.url).pathname,Ee.signal,O);if(De.type==="aborted")return;if(De.type==="error"){ke(O,B,De.error,{flushSync:N});return}else if(De.matches)me=De.matches,te=ca(me,$);else{ke(O,B,Mn(404,{pathname:$}),{flushSync:N});return}}Ae.set(O,he);let Se=Le,Fe=(await Dt("loader",x,Ee,[te],me,O))[te.route.id];if(mo(Fe)&&(Fe=await md(Fe,Ee.signal,!0)||Fe),Ae.get(O)===he&&Ae.delete(O),!Ee.signal.aborted){if(se.has(O)){Te(O,uo(void 0));return}if(jo(Fe))if(w>Se){Te(O,uo(void 0));return}else{pe.add(O),await Ct(Ee,Fe,!1,{preventScrollReset:V});return}if(Wn(Fe)){ke(O,B,Fe.error);return}Re(!mo(Fe),"Unhandled fetcher deferred data"),Te(O,uo(Fe.data))}}async function Ct(O,B,$,te){let{submission:me,fetcherSubmission:_e,preventScrollReset:N,replace:V}=te===void 0?{}:te;B.response.headers.has("X-Remix-Revalidate")&&(ne=!0);let K=B.response.headers.get("Location");Re(K,"Expected a Location header on the redirect Response"),K=H0(K,new URL(O.url),c);let Q=va(x.location,K,{_isRedirect:!0});if(n){let De=!1;if(B.response.headers.has("X-Remix-Reload-Document"))De=!0;else if(pd.test(K)){const Me=e.history.createURL(K);De=Me.origin!==t.location.origin||mr(Me.pathname,c)==null}if(De){V?t.location.replace(K):t.location.assign(K);return}}A=null;let he=V===!0||B.response.headers.has("X-Remix-Replace")?Ut.Replace:Ut.Push,{formMethod:Ee,formAction:Se,formEncType:ve}=x.navigation;!me&&!_e&&Ee&&Se&&ve&&(me=W0(x.navigation));let Fe=me||_e;if(R6.has(B.response.status)&&Fe&&hr(Fe.formMethod))await ze(he,Q,{submission:xt({},Fe,{formAction:K}),preventScrollReset:N||H,enableViewTransition:$?j:void 0});else{let De=dc(Q,me);await ze(he,Q,{overrideNavigation:De,fetcherSubmission:_e,preventScrollReset:N||H,enableViewTransition:$?j:void 0})}}async function Dt(O,B,$,te,me,_e){let N,V={};try{N=await U6(l,O,B,$,te,me,_e,a,i)}catch(K){return te.forEach(Q=>{V[Q.route.id]={type:it.error,error:K}}),V}for(let[K,Q]of Object.entries(N))if(G6(Q)){let he=Q.result;V[K]={type:it.redirect,response:$6(he,$,K,me,c,h.v7_relativeSplatPath)}}else V[K]=await z6(Q);return V}async function G(O,B,$,te,me){let _e=O.matches,N=Dt("loader",O,me,$,B,null),V=Promise.all(te.map(async he=>{if(he.matches&&he.match&&he.controller){let Se=(await Dt("loader",O,ni(e.history,he.path,he.controller.signal),[he.match],he.matches,he.key))[he.match.route.id];return{[he.key]:Se}}else return Promise.resolve({[he.key]:{type:it.error,error:Mn(404,{pathname:he.path})}})})),K=await N,Q=(await V).reduce((he,Ee)=>Object.assign(he,Ee),{});return await Promise.all([X6(B,K,me.signal,_e,O.loaderData),K6(B,Q,te)]),{loaderResults:K,fetcherResults:Q}}function ae(){ne=!0,be.push(...It()),D.forEach((O,B)=>{Ae.has(B)&&Ie.add(B),et(B)})}function Te(O,B,$){$===void 0&&($={}),x.fetchers.set(O,B),J({fetchers:new Map(x.fetchers)},{flushSync:($&&$.flushSync)===!0})}function ke(O,B,$,te){te===void 0&&(te={});let me=Mo(x.matches,B);ot(O),J({errors:{[me.route.id]:$},fetchers:new Map(x.fetchers)},{flushSync:(te&&te.flushSync)===!0})}function We(O){return X.set(O,(X.get(O)||0)+1),se.has(O)&&se.delete(O),x.fetchers.get(O)||P6}function ot(O){let B=x.fetchers.get(O);Ae.has(O)&&!(B&&B.state==="loading"&&re.has(O))&&et(O),D.delete(O),re.delete(O),pe.delete(O),h.v7_fetcherPersist&&se.delete(O),Ie.delete(O),x.fetchers.delete(O)}function mn(O){let B=(X.get(O)||0)-1;B<=0?(X.delete(O),se.add(O),h.v7_fetcherPersist||ot(O)):X.set(O,B),J({fetchers:new Map(x.fetchers)})}function et(O){let B=Ae.get(O);B&&(B.abort(),Ae.delete(O))}function gn(O){for(let B of O){let $=We(B),te=uo($.data);x.fetchers.set(B,te)}}function bn(){let O=[],B=!1;for(let $ of pe){let te=x.fetchers.get($);Re(te,"Expected fetcher: "+$),te.state==="loading"&&(pe.delete($),O.push($),B=!0)}return gn(O),B}function Nt(O){let B=[];for(let[$,te]of re)if(te<O){let me=x.fetchers.get($);Re(me,"Expected fetcher: "+$),me.state==="loading"&&(et($),re.delete($),B.push($))}return gn(B),B.length>0}function Jn(O,B){let $=x.blockers.get(O)||Yi;return Ce.get(O)!==B&&Ce.set(O,B),$}function $t(O){x.blockers.delete(O),Ce.delete(O)}function jr(O,B){let $=x.blockers.get(O)||Yi;Re($.state==="unblocked"&&B.state==="blocked"||$.state==="blocked"&&B.state==="blocked"||$.state==="blocked"&&B.state==="proceeding"||$.state==="blocked"&&B.state==="unblocked"||$.state==="proceeding"&&B.state==="unblocked","Invalid blocker state transition: "+$.state+" -> "+B.state);let te=new Map(x.blockers);te.set(O,B),J({blockers:te})}function lr(O){let{currentLocation:B,nextLocation:$,historyAction:te}=O;if(Ce.size===0)return;Ce.size>1&&Zt(!1,"A router only supports one blocker at a time");let me=Array.from(Ce.entries()),[_e,N]=me[me.length-1],V=x.blockers.get(_e);if(!(V&&V.state==="proceeding")&&N({currentLocation:B,nextLocation:$,historyAction:te}))return _e}function Ur(O){let B=Mn(404,{pathname:O}),$=s||u,{matches:te,route:me}=$0($);return It(),{notFoundMatches:te,route:me,error:B}}function It(O){let B=[];return ee.forEach(($,te)=>{(!O||O(te))&&($.cancel(),B.push(te),ee.delete(te))}),B}function Yt(O,B,$){if(b=O,I=B,C=$||null,!E&&x.navigation===lc){E=!0;let te=sn(x.location,x.matches);te!=null&&J({restoreScrollPosition:te})}return()=>{b=null,I=null,C=null}}function Xt(O,B){return C&&C(O,B.map(te=>d6(te,x.loaderData)))||O.key}function Vn(O,B){if(b&&I){let $=Xt(O,B);b[$]=I()}}function sn(O,B){if(b){let $=Xt(O,B),te=b[$];if(typeof te=="number")return te}return null}function Rt(O,B,$){if(f)if(O){if(Object.keys(O[0].params).length>0)return{active:!0,matches:ju(B,$,c,!0)}}else return{active:!0,matches:ju(B,$,c,!0)||[]};return{active:!1,matches:null}}async function Kt(O,B,$,te){if(!f)return{type:"success",matches:O};let me=O;for(;;){let _e=s==null,N=s||u,V=a;try{await f({signal:$,path:B,matches:me,fetcherKey:te,patch:(he,Ee)=>{$.aborted||B0(he,Ee,N,V,i)}})}catch(he){return{type:"error",error:he,partialMatches:me}}finally{_e&&!$.aborted&&(u=[...u])}if($.aborted)return{type:"aborted"};let K=Oo(N,B,c);if(K)return{type:"success",matches:K};let Q=ju(N,B,c,!0);if(!Q||me.length===Q.length&&me.every((he,Ee)=>he.route.id===Q[Ee].route.id))return{type:"success",matches:null};me=Q}}function Sr(O){a={},s=es(O,i,void 0,a)}function Pt(O,B){let $=s==null;B0(O,B,s||u,a,i),$&&(u=[...u],J({}))}return v={get basename(){return c},get future(){return h},get state(){return x},get routes(){return u},get window(){return t},initialize:ue,subscribe:Ue,enableScrollRestoration:Yt,navigate:xe,fetch:Tn,revalidate:we,createHref:O=>e.history.createHref(O),encodeLocation:O=>e.history.encodeLocation(O),getFetcher:We,deleteFetcher:mn,dispose:ce,getBlocker:Jn,deleteBlocker:$t,patchRoutes:Pt,_internalFetchControllers:Ae,_internalActiveDeferreds:ee,_internalSetRoutes:Sr},v}function F6(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function dl(e,t,n,r,i,a,u,s){let c,l;if(u){c=[];for(let h of t)if(c.push(h),h.route.id===u){l=h;break}}else c=t,l=t[t.length-1];let f=hd(i||".",fd(c,a),mr(e.pathname,n)||e.pathname,s==="path");if(i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&l){let h=gd(f.search);if(l.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!l.route.index&&h){let g=new URLSearchParams(f.search),m=g.getAll("index");g.delete("index"),m.filter(C=>C).forEach(C=>g.append("index",C));let b=g.toString();f.search=b?"?"+b:""}}return r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:Rr([n,f.pathname])),Io(f)}function P0(e,t,n,r){if(!r||!F6(r))return{path:n};if(r.formMethod&&!Y6(r.formMethod))return{path:n,error:Mn(405,{method:r.formMethod})};let i=()=>({path:n,error:Mn(400,{type:"invalid-body"})}),a=r.formMethod||"get",u=e?a.toUpperCase():a.toLowerCase(),s=rp(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!hr(u))return i();let g=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((m,b)=>{let[C,I]=b;return""+m+C+"="+I+`
39
+ */function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xt.apply(this,arguments)}var Ut;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ut||(Ut={}));const D0="popstate";function a6(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:u,hash:s}=r.location;return va("",{pathname:a,search:u,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Io(i)}return s6(t,n,null,e)}function Re(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Zt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function u6(){return Math.random().toString(36).substr(2,8)}function N0(e,t){return{usr:e.state,key:e.key,idx:t}}function va(e,t,n,r){return n===void 0&&(n=null),xt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?To(t):t,{state:n,key:t&&t.key||r||u6()})}function Io(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function To(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function s6(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,u=i.history,s=Ut.Pop,c=null,l=f();l==null&&(l=0,u.replaceState(xt({},u.state,{idx:l}),""));function f(){return(u.state||{idx:null}).idx}function h(){s=Ut.Pop;let I=f(),E=I==null?null:I-l;l=I,c&&c({action:s,location:C.location,delta:E})}function g(I,E){s=Ut.Push;let y=va(C.location,I,E);l=f()+1;let S=N0(y,l),T=C.createHref(y);try{u.pushState(S,"",T)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(T)}a&&c&&c({action:s,location:C.location,delta:1})}function m(I,E){s=Ut.Replace;let y=va(C.location,I,E);l=f();let S=N0(y,l),T=C.createHref(y);u.replaceState(S,"",T),a&&c&&c({action:s,location:C.location,delta:0})}function b(I){let E=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof I=="string"?I:Io(I);return y=y.replace(/ $/,"%20"),Re(E,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,E)}let C={get action(){return s},get location(){return e(i,u)},listen(I){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(D0,h),c=I,()=>{i.removeEventListener(D0,h),c=null}},createHref(I){return t(i,I)},createURL:b,encodeLocation(I){let E=b(I);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:g,replace:m,go(I){return u.go(I)}};return C}var it;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(it||(it={}));const c6=new Set(["lazy","caseSensitive","path","id","index","children"]);function l6(e){return e.index===!0}function es(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let u=[...n,String(a)],s=typeof i.id=="string"?i.id:u.join("-");if(Re(i.index!==!0||!i.children,"Cannot specify children on an index route"),Re(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),l6(i)){let c=xt({},i,t(i),{id:s});return r[s]=c,c}else{let c=xt({},i,t(i),{id:s,children:void 0});return r[s]=c,i.children&&(c.children=es(i.children,t,u,r)),c}})}function Oo(e,t,n){return n===void 0&&(n="/"),ju(e,t,n,!1)}function ju(e,t,n,r){let i=typeof t=="string"?To(t):t,a=mr(i.pathname||"/",n);if(a==null)return null;let u=Xh(e);f6(u);let s=null;for(let c=0;s==null&&c<u.length;++c){let l=x6(a);s=E6(u[c],l,r)}return s}function d6(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function Xh(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,u,s)=>{let c={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};c.relativePath.startsWith("/")&&(Re(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let l=Rr([r,c.relativePath]),f=n.concat(c);a.children&&a.children.length>0&&(Re(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),Xh(a.children,t,f,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:I6(l,a.index),routesMeta:f})};return e.forEach((a,u)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,u);else for(let c of Kh(a.path))i(a,u,c)}),t}function Kh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let u=Kh(r.join("/")),s=[];return s.push(...u.map(c=>c===""?a:[a,c].join("/"))),i&&s.push(...u),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function f6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:y6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const h6=/^:[\w-]+$/,p6=3,m6=2,g6=1,b6=10,C6=-2,R0=e=>e==="*";function I6(e,t){let n=e.split("/"),r=n.length;return n.some(R0)&&(r+=C6),t&&(r+=m6),n.filter(i=>!R0(i)).reduce((i,a)=>i+(h6.test(a)?p6:a===""?g6:b6),r)}function y6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function E6(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a="/",u=[];for(let s=0;s<r.length;++s){let c=r[s],l=s===r.length-1,f=a==="/"?t:t.slice(a.length)||"/",h=ts({path:c.relativePath,caseSensitive:c.caseSensitive,end:l},f),g=c.route;if(!h&&l&&n&&!r[r.length-1].route.index&&(h=ts({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!h)return null;Object.assign(i,h.params),u.push({params:i,pathname:Rr([a,h.pathname]),pathnameBase:w6(Rr([a,h.pathnameBase])),route:g}),h.pathnameBase!=="/"&&(a=Rr([a,h.pathnameBase]))}return u}function ts(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=S6(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],u=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((l,f,h)=>{let{paramName:g,isOptional:m}=f;if(g==="*"){let C=s[h]||"";u=a.slice(0,a.length-C.length).replace(/(.)\/+$/,"$1")}const b=s[h];return m&&!b?l[g]=void 0:l[g]=(b||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:u,pattern:e}}function S6(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function x6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zt(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function _6(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?To(e):e;return{pathname:n?n.startsWith("/")?n:T6(n,t):t,search:A6(r),hash:k6(i)}}function T6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function cc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Jh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function fd(e,t){let n=Jh(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function hd(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=To(e):(i=xt({},e),Re(!i.pathname||!i.pathname.includes("?"),cc("?","pathname","search",i)),Re(!i.pathname||!i.pathname.includes("#"),cc("#","pathname","hash",i)),Re(!i.search||!i.search.includes("#"),cc("#","search","hash",i)));let a=e===""||i.pathname==="",u=a?"/":i.pathname,s;if(u==null)s=n;else{let h=t.length-1;if(!r&&u.startsWith("..")){let g=u.split("/");for(;g[0]==="..";)g.shift(),h-=1;i.pathname=g.join("/")}s=h>=0?t[h]:"/"}let c=_6(i,s),l=u&&u!=="/"&&u.endsWith("/"),f=(a||u===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(l||f)&&(c.pathname+="/"),c}const Rr=e=>e.join("/").replace(/\/\/+/g,"/"),w6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),A6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,k6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ns{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function La(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qh=["post","put","patch","delete"],v6=new Set(Qh),L6=["get",...Qh],D6=new Set(L6),N6=new Set([301,302,303,307,308]),R6=new Set([307,308]),lc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},P6={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Yi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},pd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,O6=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ep="remix-router-transitions";function M6(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Re(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let O=e.detectErrorBoundary;i=B=>({hasErrorBoundary:O(B)})}else i=O6;let a={},u=es(e.routes,i,void 0,a),s,c=e.basename||"/",l=e.dataStrategy||j6,f=e.patchRoutesOnNavigation,h=xt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),g=null,m=new Set,b=null,C=null,I=null,E=e.hydrationData!=null,y=Oo(u,e.history.location,c),S=!1,T=null;if(y==null&&!f){let O=Mn(404,{pathname:e.history.location.pathname}),{matches:B,route:$}=$0(u);y=B,T={[$.id]:O}}y&&!e.hydrationData&&Rt(y,u,e.history.location.pathname).active&&(y=null);let _;if(y)if(y.some(O=>O.route.lazy))_=!1;else if(!y.some(O=>O.route.loader))_=!0;else if(h.v7_partialHydration){let O=e.hydrationData?e.hydrationData.loaderData:null,B=e.hydrationData?e.hydrationData.errors:null;if(B){let $=y.findIndex(te=>B[te.route.id]!==void 0);_=y.slice(0,$+1).every(te=>!fl(te.route,O,B))}else _=y.every($=>!fl($.route,O,B))}else _=e.hydrationData!=null;else if(_=!1,y=[],h.v7_partialHydration){let O=Rt(null,u,e.history.location.pathname);O.active&&O.matches&&(S=!0,y=O.matches)}let v,x={historyAction:e.history.action,location:e.history.location,matches:y,initialized:_,navigation:lc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||T,fetchers:new Map,blockers:new Map},M=Ut.Pop,H=!1,A,j=!1,F=new Map,W=null,q=!1,ne=!1,be=[],Ie=new Set,Ae=new Map,Le=0,w=-1,re=new Map,pe=new Set,D=new Map,X=new Map,se=new Set,ee=new Map,Ce=new Map,ye;function ue(){if(g=e.history.listen(O=>{let{action:B,location:$,delta:te}=O;if(ye){ye(),ye=void 0;return}Zt(Ce.size===0||te!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let me=lr({currentLocation:x.location,nextLocation:$,historyAction:B});if(me&&te!=null){let _e=new Promise(N=>{ye=N});e.history.go(te*-1),jr(me,{state:"blocked",location:$,proceed(){jr(me,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),_e.then(()=>e.history.go(te))},reset(){let N=new Map(x.blockers);N.set(me,Yi),J({blockers:N})}});return}return ze(B,$)}),n){e4(t,F);let O=()=>t4(t,F);t.addEventListener("pagehide",O),W=()=>t.removeEventListener("pagehide",O)}return x.initialized||ze(Ut.Pop,x.location,{initialHydration:!0}),v}function ce(){g&&g(),W&&W(),m.clear(),A&&A.abort(),x.fetchers.forEach((O,B)=>ot(B)),x.blockers.forEach((O,B)=>$t(B))}function Ue(O){return m.add(O),()=>m.delete(O)}function J(O,B){B===void 0&&(B={}),x=xt({},x,O);let $=[],te=[];h.v7_fetcherPersist&&x.fetchers.forEach((me,_e)=>{me.state==="idle"&&(se.has(_e)?te.push(_e):$.push(_e))}),se.forEach(me=>{!x.fetchers.has(me)&&!Ae.has(me)&&te.push(me)}),[...m].forEach(me=>me(x,{deletedFetchers:te,viewTransitionOpts:B.viewTransitionOpts,flushSync:B.flushSync===!0})),h.v7_fetcherPersist?($.forEach(me=>x.fetchers.delete(me)),te.forEach(me=>ot(me))):te.forEach(me=>se.delete(me))}function Ve(O,B,$){var te,me;let{flushSync:_e}=$===void 0?{}:$,N=x.actionData!=null&&x.navigation.formMethod!=null&&hr(x.navigation.formMethod)&&x.navigation.state==="loading"&&((te=O.state)==null?void 0:te._isRedirect)!==!0,V;B.actionData?Object.keys(B.actionData).length>0?V=B.actionData:V=null:N?V=x.actionData:V=null;let K=B.loaderData?V0(x.loaderData,B.loaderData,B.matches||[],B.errors):x.loaderData,Q=x.blockers;Q.size>0&&(Q=new Map(Q),Q.forEach((Se,ve)=>Q.set(ve,Yi)));let he=H===!0||x.navigation.formMethod!=null&&hr(x.navigation.formMethod)&&((me=O.state)==null?void 0:me._isRedirect)!==!0;s&&(u=s,s=void 0),q||M===Ut.Pop||(M===Ut.Push?e.history.push(O,O.state):M===Ut.Replace&&e.history.replace(O,O.state));let Ee;if(M===Ut.Pop){let Se=F.get(x.location.pathname);Se&&Se.has(O.pathname)?Ee={currentLocation:x.location,nextLocation:O}:F.has(O.pathname)&&(Ee={currentLocation:O,nextLocation:x.location})}else if(j){let Se=F.get(x.location.pathname);Se?Se.add(O.pathname):(Se=new Set([O.pathname]),F.set(x.location.pathname,Se)),Ee={currentLocation:x.location,nextLocation:O}}J(xt({},B,{actionData:V,loaderData:K,historyAction:M,location:O,initialized:!0,navigation:lc,revalidation:"idle",restoreScrollPosition:sn(O,B.matches||x.matches),preventScrollReset:he,blockers:Q}),{viewTransitionOpts:Ee,flushSync:_e===!0}),M=Ut.Pop,H=!1,j=!1,q=!1,ne=!1,be=[]}async function xe(O,B){if(typeof O=="number"){e.history.go(O);return}let $=dl(x.location,x.matches,c,h.v7_prependBasename,O,h.v7_relativeSplatPath,B==null?void 0:B.fromRouteId,B==null?void 0:B.relative),{path:te,submission:me,error:_e}=P0(h.v7_normalizeFormMethod,!1,$,B),N=x.location,V=va(x.location,te,B&&B.state);V=xt({},V,e.history.encodeLocation(V));let K=B&&B.replace!=null?B.replace:void 0,Q=Ut.Push;K===!0?Q=Ut.Replace:K===!1||me!=null&&hr(me.formMethod)&&me.formAction===x.location.pathname+x.location.search&&(Q=Ut.Replace);let he=B&&"preventScrollReset"in B?B.preventScrollReset===!0:void 0,Ee=(B&&B.flushSync)===!0,Se=lr({currentLocation:N,nextLocation:V,historyAction:Q});if(Se){jr(Se,{state:"blocked",location:V,proceed(){jr(Se,{state:"proceeding",proceed:void 0,reset:void 0,location:V}),xe(O,B)},reset(){let ve=new Map(x.blockers);ve.set(Se,Yi),J({blockers:ve})}});return}return await ze(Q,V,{submission:me,pendingError:_e,preventScrollReset:he,replace:B&&B.replace,enableViewTransition:B&&B.viewTransition,flushSync:Ee})}function we(){if(ae(),J({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){ze(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}ze(M||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation,enableViewTransition:j===!0})}}async function ze(O,B,$){A&&A.abort(),A=null,M=O,q=($&&$.startUninterruptedRevalidation)===!0,Vn(x.location,x.matches),H=($&&$.preventScrollReset)===!0,j=($&&$.enableViewTransition)===!0;let te=s||u,me=$&&$.overrideNavigation,_e=$!=null&&$.initialHydration&&x.matches&&x.matches.length>0&&!S?x.matches:Oo(te,B,c),N=($&&$.flushSync)===!0;if(_e&&x.initialized&&!ne&&W6(x.location,B)&&!($&&$.submission&&hr($.submission.formMethod))){Ve(B,{matches:_e},{flushSync:N});return}let V=Rt(_e,te,B.pathname);if(V.active&&V.matches&&(_e=V.matches),!_e){let{error:Fe,notFoundMatches:De,route:Me}=Ur(B.pathname);Ve(B,{matches:De,loaderData:{},errors:{[Me.id]:Fe}},{flushSync:N});return}A=new AbortController;let K=ni(e.history,B,A.signal,$&&$.submission),Q;if($&&$.pendingError)Q=[Mo(_e).route.id,{type:it.error,error:$.pendingError}];else if($&&$.submission&&hr($.submission.formMethod)){let Fe=await _t(K,B,$.submission,_e,V.active,{replace:$.replace,flushSync:N});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[De,Me]=Fe.pendingActionResult;if(Wn(Me)&&La(Me.error)&&Me.error.status===404){A=null,Ve(B,{matches:Fe.matches,loaderData:{},errors:{[De]:Me.error}});return}}_e=Fe.matches||_e,Q=Fe.pendingActionResult,me=dc(B,$.submission),N=!1,V.active=!1,K=ni(e.history,K.url,K.signal)}let{shortCircuited:he,matches:Ee,loaderData:Se,errors:ve}=await At(K,B,_e,V.active,me,$&&$.submission,$&&$.fetcherSubmission,$&&$.replace,$&&$.initialHydration===!0,N,Q);he||(A=null,Ve(B,xt({matches:Ee||_e},z0(Q),{loaderData:Se,errors:ve})))}async function _t(O,B,$,te,me,_e){_e===void 0&&(_e={}),ae();let N=J6(B,$);if(J({navigation:N},{flushSync:_e.flushSync===!0}),me){let Q=await Kt(te,B.pathname,O.signal);if(Q.type==="aborted")return{shortCircuited:!0};if(Q.type==="error"){let he=Mo(Q.partialMatches).route.id;return{matches:Q.partialMatches,pendingActionResult:[he,{type:it.error,error:Q.error}]}}else if(Q.matches)te=Q.matches;else{let{notFoundMatches:he,error:Ee,route:Se}=Ur(B.pathname);return{matches:he,pendingActionResult:[Se.id,{type:it.error,error:Ee}]}}}let V,K=ca(te,B);if(!K.route.action&&!K.route.lazy)V={type:it.error,error:Mn(405,{method:O.method,pathname:B.pathname,routeId:K.route.id})};else if(V=(await Dt("action",x,O,[K],te,null))[K.route.id],O.signal.aborted)return{shortCircuited:!0};if(jo(V)){let Q;return _e&&_e.replace!=null?Q=_e.replace:Q=H0(V.response.headers.get("Location"),new URL(O.url),c)===x.location.pathname+x.location.search,await Ct(O,V,!0,{submission:$,replace:Q}),{shortCircuited:!0}}if(mo(V))throw Mn(400,{type:"defer-action"});if(Wn(V)){let Q=Mo(te,K.route.id);return(_e&&_e.replace)!==!0&&(M=Ut.Push),{matches:te,pendingActionResult:[Q.route.id,V]}}return{matches:te,pendingActionResult:[K.route.id,V]}}async function At(O,B,$,te,me,_e,N,V,K,Q,he){let Ee=me||dc(B,_e),Se=_e||N||W0(Ee),ve=!q&&(!h.v7_partialHydration||!K);if(te){if(ve){let kt=qe(he);J(xt({navigation:Ee},kt!==void 0?{actionData:kt}:{}),{flushSync:Q})}let Je=await Kt($,B.pathname,O.signal);if(Je.type==="aborted")return{shortCircuited:!0};if(Je.type==="error"){let kt=Mo(Je.partialMatches).route.id;return{matches:Je.partialMatches,loaderData:{},errors:{[kt]:Je.error}}}else if(Je.matches)$=Je.matches;else{let{error:kt,notFoundMatches:ei,route:qi}=Ur(B.pathname);return{matches:ei,loaderData:{},errors:{[qi.id]:kt}}}}let Fe=s||u,[De,Me]=M0(e.history,x,$,Se,B,h.v7_partialHydration&&K===!0,h.v7_skipActionErrorRevalidation,ne,be,Ie,se,D,pe,Fe,c,he);if(It(Je=>!($&&$.some(kt=>kt.route.id===Je))||De&&De.some(kt=>kt.route.id===Je)),w=++Le,De.length===0&&Me.length===0){let Je=bn();return Ve(B,xt({matches:$,loaderData:{},errors:he&&Wn(he[1])?{[he[0]]:he[1].error}:null},z0(he),Je?{fetchers:new Map(x.fetchers)}:{}),{flushSync:Q}),{shortCircuited:!0}}if(ve){let Je={};if(!te){Je.navigation=Ee;let kt=qe(he);kt!==void 0&&(Je.actionData=kt)}Me.length>0&&(Je.fetchers=rt(Me)),J(Je,{flushSync:Q})}Me.forEach(Je=>{et(Je.key),Je.controller&&Ae.set(Je.key,Je.controller)});let qt=()=>Me.forEach(Je=>et(Je.key));A&&A.signal.addEventListener("abort",qt);let{loaderResults:er,fetcherResults:cn}=await G(x,$,De,Me,O);if(O.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",qt),Me.forEach(Je=>Ae.delete(Je.key));let pt=pu(er);if(pt)return await Ct(O,pt.result,!0,{replace:V}),{shortCircuited:!0};if(pt=pu(cn),pt)return pe.add(pt.key),await Ct(O,pt.result,!0,{replace:V}),{shortCircuited:!0};let{loaderData:vo,errors:Lo}=U0(x,$,er,he,Me,cn,ee);ee.forEach((Je,kt)=>{Je.subscribe(ei=>{(ei||Je.done)&&ee.delete(kt)})}),h.v7_partialHydration&&K&&x.errors&&(Lo=xt({},x.errors,Lo));let Vr=bn(),fu=Nt(w),hu=Vr||fu||Me.length>0;return xt({matches:$,loaderData:vo,errors:Lo},hu?{fetchers:new Map(x.fetchers)}:{})}function qe(O){if(O&&!Wn(O[1]))return{[O[0]]:O[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function rt(O){return O.forEach(B=>{let $=x.fetchers.get(B.key),te=Xi(void 0,$?$.data:void 0);x.fetchers.set(B.key,te)}),new Map(x.fetchers)}function Tn(O,B,$,te){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");et(O);let me=(te&&te.flushSync)===!0,_e=s||u,N=dl(x.location,x.matches,c,h.v7_prependBasename,$,h.v7_relativeSplatPath,B,te==null?void 0:te.relative),V=Oo(_e,N,c),K=Rt(V,_e,N);if(K.active&&K.matches&&(V=K.matches),!V){ke(O,B,Mn(404,{pathname:N}),{flushSync:me});return}let{path:Q,submission:he,error:Ee}=P0(h.v7_normalizeFormMethod,!0,N,te);if(Ee){ke(O,B,Ee,{flushSync:me});return}let Se=ca(V,Q),ve=(te&&te.preventScrollReset)===!0;if(he&&hr(he.formMethod)){bt(O,B,Q,Se,V,K.active,me,ve,he);return}D.set(O,{routeId:B,path:Q}),pn(O,B,Q,Se,V,K.active,me,ve,he)}async function bt(O,B,$,te,me,_e,N,V,K){ae(),D.delete(O);function Q(Bt){if(!Bt.route.action&&!Bt.route.lazy){let ti=Mn(405,{method:K.formMethod,pathname:$,routeId:B});return ke(O,B,ti,{flushSync:N}),!0}return!1}if(!_e&&Q(te))return;let he=x.fetchers.get(O);Te(O,Q6(K,he),{flushSync:N});let Ee=new AbortController,Se=ni(e.history,$,Ee.signal,K);if(_e){let Bt=await Kt(me,new URL(Se.url).pathname,Se.signal,O);if(Bt.type==="aborted")return;if(Bt.type==="error"){ke(O,B,Bt.error,{flushSync:N});return}else if(Bt.matches){if(me=Bt.matches,te=ca(me,$),Q(te))return}else{ke(O,B,Mn(404,{pathname:$}),{flushSync:N});return}}Ae.set(O,Ee);let ve=Le,De=(await Dt("action",x,Se,[te],me,O))[te.route.id];if(Se.signal.aborted){Ae.get(O)===Ee&&Ae.delete(O);return}if(h.v7_fetcherPersist&&se.has(O)){if(jo(De)||Wn(De)){Te(O,uo(void 0));return}}else{if(jo(De))if(Ae.delete(O),w>ve){Te(O,uo(void 0));return}else return pe.add(O),Te(O,Xi(K)),Ct(Se,De,!1,{fetcherSubmission:K,preventScrollReset:V});if(Wn(De)){ke(O,B,De.error);return}}if(mo(De))throw Mn(400,{type:"defer-action"});let Me=x.navigation.location||x.location,qt=ni(e.history,Me,Ee.signal),er=s||u,cn=x.navigation.state!=="idle"?Oo(er,x.navigation.location,c):x.matches;Re(cn,"Didn't find any matches after fetcher action");let pt=++Le;re.set(O,pt);let vo=Xi(K,De.data);x.fetchers.set(O,vo);let[Lo,Vr]=M0(e.history,x,cn,K,Me,!1,h.v7_skipActionErrorRevalidation,ne,be,Ie,se,D,pe,er,c,[te.route.id,De]);Vr.filter(Bt=>Bt.key!==O).forEach(Bt=>{let ti=Bt.key,A0=x.fetchers.get(ti),e6=Xi(void 0,A0?A0.data:void 0);x.fetchers.set(ti,e6),et(ti),Bt.controller&&Ae.set(ti,Bt.controller)}),J({fetchers:new Map(x.fetchers)});let fu=()=>Vr.forEach(Bt=>et(Bt.key));Ee.signal.addEventListener("abort",fu);let{loaderResults:hu,fetcherResults:Je}=await G(x,cn,Lo,Vr,qt);if(Ee.signal.aborted)return;Ee.signal.removeEventListener("abort",fu),re.delete(O),Ae.delete(O),Vr.forEach(Bt=>Ae.delete(Bt.key));let kt=pu(hu);if(kt)return Ct(qt,kt.result,!1,{preventScrollReset:V});if(kt=pu(Je),kt)return pe.add(kt.key),Ct(qt,kt.result,!1,{preventScrollReset:V});let{loaderData:ei,errors:qi}=U0(x,cn,hu,void 0,Vr,Je,ee);if(x.fetchers.has(O)){let Bt=uo(De.data);x.fetchers.set(O,Bt)}Nt(pt),x.navigation.state==="loading"&&pt>w?(Re(M,"Expected pending action"),A&&A.abort(),Ve(x.navigation.location,{matches:cn,loaderData:ei,errors:qi,fetchers:new Map(x.fetchers)})):(J({errors:qi,loaderData:V0(x.loaderData,ei,cn,qi),fetchers:new Map(x.fetchers)}),ne=!1)}async function pn(O,B,$,te,me,_e,N,V,K){let Q=x.fetchers.get(O);Te(O,Xi(K,Q?Q.data:void 0),{flushSync:N});let he=new AbortController,Ee=ni(e.history,$,he.signal);if(_e){let De=await Kt(me,new URL(Ee.url).pathname,Ee.signal,O);if(De.type==="aborted")return;if(De.type==="error"){ke(O,B,De.error,{flushSync:N});return}else if(De.matches)me=De.matches,te=ca(me,$);else{ke(O,B,Mn(404,{pathname:$}),{flushSync:N});return}}Ae.set(O,he);let Se=Le,Fe=(await Dt("loader",x,Ee,[te],me,O))[te.route.id];if(mo(Fe)&&(Fe=await md(Fe,Ee.signal,!0)||Fe),Ae.get(O)===he&&Ae.delete(O),!Ee.signal.aborted){if(se.has(O)){Te(O,uo(void 0));return}if(jo(Fe))if(w>Se){Te(O,uo(void 0));return}else{pe.add(O),await Ct(Ee,Fe,!1,{preventScrollReset:V});return}if(Wn(Fe)){ke(O,B,Fe.error);return}Re(!mo(Fe),"Unhandled fetcher deferred data"),Te(O,uo(Fe.data))}}async function Ct(O,B,$,te){let{submission:me,fetcherSubmission:_e,preventScrollReset:N,replace:V}=te===void 0?{}:te;B.response.headers.has("X-Remix-Revalidate")&&(ne=!0);let K=B.response.headers.get("Location");Re(K,"Expected a Location header on the redirect Response"),K=H0(K,new URL(O.url),c);let Q=va(x.location,K,{_isRedirect:!0});if(n){let De=!1;if(B.response.headers.has("X-Remix-Reload-Document"))De=!0;else if(pd.test(K)){const Me=e.history.createURL(K);De=Me.origin!==t.location.origin||mr(Me.pathname,c)==null}if(De){V?t.location.replace(K):t.location.assign(K);return}}A=null;let he=V===!0||B.response.headers.has("X-Remix-Replace")?Ut.Replace:Ut.Push,{formMethod:Ee,formAction:Se,formEncType:ve}=x.navigation;!me&&!_e&&Ee&&Se&&ve&&(me=W0(x.navigation));let Fe=me||_e;if(R6.has(B.response.status)&&Fe&&hr(Fe.formMethod))await ze(he,Q,{submission:xt({},Fe,{formAction:K}),preventScrollReset:N||H,enableViewTransition:$?j:void 0});else{let De=dc(Q,me);await ze(he,Q,{overrideNavigation:De,fetcherSubmission:_e,preventScrollReset:N||H,enableViewTransition:$?j:void 0})}}async function Dt(O,B,$,te,me,_e){let N,V={};try{N=await U6(l,O,B,$,te,me,_e,a,i)}catch(K){return te.forEach(Q=>{V[Q.route.id]={type:it.error,error:K}}),V}for(let[K,Q]of Object.entries(N))if(G6(Q)){let he=Q.result;V[K]={type:it.redirect,response:$6(he,$,K,me,c,h.v7_relativeSplatPath)}}else V[K]=await z6(Q);return V}async function G(O,B,$,te,me){let _e=O.matches,N=Dt("loader",O,me,$,B,null),V=Promise.all(te.map(async he=>{if(he.matches&&he.match&&he.controller){let Se=(await Dt("loader",O,ni(e.history,he.path,he.controller.signal),[he.match],he.matches,he.key))[he.match.route.id];return{[he.key]:Se}}else return Promise.resolve({[he.key]:{type:it.error,error:Mn(404,{pathname:he.path})}})})),K=await N,Q=(await V).reduce((he,Ee)=>Object.assign(he,Ee),{});return await Promise.all([X6(B,K,me.signal,_e,O.loaderData),K6(B,Q,te)]),{loaderResults:K,fetcherResults:Q}}function ae(){ne=!0,be.push(...It()),D.forEach((O,B)=>{Ae.has(B)&&Ie.add(B),et(B)})}function Te(O,B,$){$===void 0&&($={}),x.fetchers.set(O,B),J({fetchers:new Map(x.fetchers)},{flushSync:($&&$.flushSync)===!0})}function ke(O,B,$,te){te===void 0&&(te={});let me=Mo(x.matches,B);ot(O),J({errors:{[me.route.id]:$},fetchers:new Map(x.fetchers)},{flushSync:(te&&te.flushSync)===!0})}function We(O){return X.set(O,(X.get(O)||0)+1),se.has(O)&&se.delete(O),x.fetchers.get(O)||P6}function ot(O){let B=x.fetchers.get(O);Ae.has(O)&&!(B&&B.state==="loading"&&re.has(O))&&et(O),D.delete(O),re.delete(O),pe.delete(O),h.v7_fetcherPersist&&se.delete(O),Ie.delete(O),x.fetchers.delete(O)}function mn(O){let B=(X.get(O)||0)-1;B<=0?(X.delete(O),se.add(O),h.v7_fetcherPersist||ot(O)):X.set(O,B),J({fetchers:new Map(x.fetchers)})}function et(O){let B=Ae.get(O);B&&(B.abort(),Ae.delete(O))}function gn(O){for(let B of O){let $=We(B),te=uo($.data);x.fetchers.set(B,te)}}function bn(){let O=[],B=!1;for(let $ of pe){let te=x.fetchers.get($);Re(te,"Expected fetcher: "+$),te.state==="loading"&&(pe.delete($),O.push($),B=!0)}return gn(O),B}function Nt(O){let B=[];for(let[$,te]of re)if(te<O){let me=x.fetchers.get($);Re(me,"Expected fetcher: "+$),me.state==="loading"&&(et($),re.delete($),B.push($))}return gn(B),B.length>0}function Qn(O,B){let $=x.blockers.get(O)||Yi;return Ce.get(O)!==B&&Ce.set(O,B),$}function $t(O){x.blockers.delete(O),Ce.delete(O)}function jr(O,B){let $=x.blockers.get(O)||Yi;Re($.state==="unblocked"&&B.state==="blocked"||$.state==="blocked"&&B.state==="blocked"||$.state==="blocked"&&B.state==="proceeding"||$.state==="blocked"&&B.state==="unblocked"||$.state==="proceeding"&&B.state==="unblocked","Invalid blocker state transition: "+$.state+" -> "+B.state);let te=new Map(x.blockers);te.set(O,B),J({blockers:te})}function lr(O){let{currentLocation:B,nextLocation:$,historyAction:te}=O;if(Ce.size===0)return;Ce.size>1&&Zt(!1,"A router only supports one blocker at a time");let me=Array.from(Ce.entries()),[_e,N]=me[me.length-1],V=x.blockers.get(_e);if(!(V&&V.state==="proceeding")&&N({currentLocation:B,nextLocation:$,historyAction:te}))return _e}function Ur(O){let B=Mn(404,{pathname:O}),$=s||u,{matches:te,route:me}=$0($);return It(),{notFoundMatches:te,route:me,error:B}}function It(O){let B=[];return ee.forEach(($,te)=>{(!O||O(te))&&($.cancel(),B.push(te),ee.delete(te))}),B}function Yt(O,B,$){if(b=O,I=B,C=$||null,!E&&x.navigation===lc){E=!0;let te=sn(x.location,x.matches);te!=null&&J({restoreScrollPosition:te})}return()=>{b=null,I=null,C=null}}function Xt(O,B){return C&&C(O,B.map(te=>d6(te,x.loaderData)))||O.key}function Vn(O,B){if(b&&I){let $=Xt(O,B);b[$]=I()}}function sn(O,B){if(b){let $=Xt(O,B),te=b[$];if(typeof te=="number")return te}return null}function Rt(O,B,$){if(f)if(O){if(Object.keys(O[0].params).length>0)return{active:!0,matches:ju(B,$,c,!0)}}else return{active:!0,matches:ju(B,$,c,!0)||[]};return{active:!1,matches:null}}async function Kt(O,B,$,te){if(!f)return{type:"success",matches:O};let me=O;for(;;){let _e=s==null,N=s||u,V=a;try{await f({signal:$,path:B,matches:me,fetcherKey:te,patch:(he,Ee)=>{$.aborted||B0(he,Ee,N,V,i)}})}catch(he){return{type:"error",error:he,partialMatches:me}}finally{_e&&!$.aborted&&(u=[...u])}if($.aborted)return{type:"aborted"};let K=Oo(N,B,c);if(K)return{type:"success",matches:K};let Q=ju(N,B,c,!0);if(!Q||me.length===Q.length&&me.every((he,Ee)=>he.route.id===Q[Ee].route.id))return{type:"success",matches:null};me=Q}}function Sr(O){a={},s=es(O,i,void 0,a)}function Pt(O,B){let $=s==null;B0(O,B,s||u,a,i),$&&(u=[...u],J({}))}return v={get basename(){return c},get future(){return h},get state(){return x},get routes(){return u},get window(){return t},initialize:ue,subscribe:Ue,enableScrollRestoration:Yt,navigate:xe,fetch:Tn,revalidate:we,createHref:O=>e.history.createHref(O),encodeLocation:O=>e.history.encodeLocation(O),getFetcher:We,deleteFetcher:mn,dispose:ce,getBlocker:Qn,deleteBlocker:$t,patchRoutes:Pt,_internalFetchControllers:Ae,_internalActiveDeferreds:ee,_internalSetRoutes:Sr},v}function F6(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function dl(e,t,n,r,i,a,u,s){let c,l;if(u){c=[];for(let h of t)if(c.push(h),h.route.id===u){l=h;break}}else c=t,l=t[t.length-1];let f=hd(i||".",fd(c,a),mr(e.pathname,n)||e.pathname,s==="path");if(i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&l){let h=gd(f.search);if(l.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!l.route.index&&h){let g=new URLSearchParams(f.search),m=g.getAll("index");g.delete("index"),m.filter(C=>C).forEach(C=>g.append("index",C));let b=g.toString();f.search=b?"?"+b:""}}return r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:Rr([n,f.pathname])),Io(f)}function P0(e,t,n,r){if(!r||!F6(r))return{path:n};if(r.formMethod&&!Y6(r.formMethod))return{path:n,error:Mn(405,{method:r.formMethod})};let i=()=>({path:n,error:Mn(400,{type:"invalid-body"})}),a=r.formMethod||"get",u=e?a.toUpperCase():a.toLowerCase(),s=rp(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!hr(u))return i();let g=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((m,b)=>{let[C,I]=b;return""+m+C+"="+I+`
40
40
  `},""):String(r.body);return{path:n,submission:{formMethod:u,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:g}}}else if(r.formEncType==="application/json"){if(!hr(u))return i();try{let g=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:u,formAction:s,formEncType:r.formEncType,formData:void 0,json:g,text:void 0}}}catch{return i()}}}Re(typeof FormData=="function","FormData is not available in this environment");let c,l;if(r.formData)c=hl(r.formData),l=r.formData;else if(r.body instanceof FormData)c=hl(r.body),l=r.body;else if(r.body instanceof URLSearchParams)c=r.body,l=j0(c);else if(r.body==null)c=new URLSearchParams,l=new FormData;else try{c=new URLSearchParams(r.body),l=j0(c)}catch{return i()}let f={formMethod:u,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if(hr(f.formMethod))return{path:n,submission:f};let h=To(n);return t&&h.search&&gd(h.search)&&c.append("index",""),h.search="?"+c,{path:Io(h),submission:f}}function O0(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(i=>i.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function M0(e,t,n,r,i,a,u,s,c,l,f,h,g,m,b,C){let I=C?Wn(C[1])?C[1].error:C[1].data:void 0,E=e.createURL(t.location),y=e.createURL(i),S=n;a&&t.errors?S=O0(n,Object.keys(t.errors)[0],!0):C&&Wn(C[1])&&(S=O0(n,C[0]));let T=C?C[1].statusCode:void 0,_=u&&T&&T>=400,v=S.filter((M,H)=>{let{route:A}=M;if(A.lazy)return!0;if(A.loader==null)return!1;if(a)return fl(A,t.loaderData,t.errors);if(B6(t.loaderData,t.matches[H],M)||c.some(W=>W===M.route.id))return!0;let j=t.matches[H],F=M;return F0(M,xt({currentUrl:E,currentParams:j.params,nextUrl:y,nextParams:F.params},r,{actionResult:I,actionStatus:T,defaultShouldRevalidate:_?!1:s||E.pathname+E.search===y.pathname+y.search||E.search!==y.search||tp(j,F)}))}),x=[];return h.forEach((M,H)=>{if(a||!n.some(q=>q.route.id===M.routeId)||f.has(H))return;let A=Oo(m,M.path,b);if(!A){x.push({key:H,routeId:M.routeId,path:M.path,matches:null,match:null,controller:null});return}let j=t.fetchers.get(H),F=ca(A,M.path),W=!1;g.has(H)?W=!1:l.has(H)?(l.delete(H),W=!0):j&&j.state!=="idle"&&j.data===void 0?W=s:W=F0(F,xt({currentUrl:E,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:I,actionStatus:T,defaultShouldRevalidate:_?!1:s})),W&&x.push({key:H,routeId:M.routeId,path:M.path,matches:A,match:F,controller:new AbortController})}),[v,x]}function fl(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,i=n!=null&&n[e.id]!==void 0;return!r&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!i}function B6(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function tp(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function F0(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function B0(e,t,n,r,i){var a;let u;if(e){let l=r[e];Re(l,"No route found to patch children into: routeId = "+e),l.children||(l.children=[]),u=l.children}else u=n;let s=t.filter(l=>!u.some(f=>np(l,f))),c=es(s,i,[e||"_","patch",String(((a=u)==null?void 0:a.length)||"0")],r);u.push(...c)}function np(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var i;return(i=t.children)==null?void 0:i.some(a=>np(n,a))}):!1}async function H6(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Re(i,"No route found in manifest");let a={};for(let u in r){let c=i[u]!==void 0&&u!=="hasErrorBoundary";Zt(!c,'Route "'+i.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+u+'" will be ignored.')),!c&&!c6.has(u)&&(a[u]=r[u])}Object.assign(i,a),Object.assign(i,xt({},t(i),{lazy:void 0}))}async function j6(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,a,u)=>Object.assign(i,{[n[u].route.id]:a}),{})}async function U6(e,t,n,r,i,a,u,s,c,l){let f=a.map(m=>m.route.lazy?H6(m.route,c,s):void 0),h=a.map((m,b)=>{let C=f[b],I=i.some(y=>y.route.id===m.route.id);return xt({},m,{shouldLoad:I,resolve:async y=>(y&&r.method==="GET"&&(m.route.lazy||m.route.loader)&&(I=!0),I?V6(t,r,m,C,y,l):Promise.resolve({type:it.data,result:void 0}))})}),g=await e({matches:h,request:r,params:a[0].params,fetcherKey:u,context:l});try{await Promise.all(f)}catch{}return g}async function V6(e,t,n,r,i,a){let u,s,c=l=>{let f,h=new Promise((b,C)=>f=C);s=()=>f(),t.signal.addEventListener("abort",s);let g=b=>typeof l!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):l({request:t,params:n.params,context:a},...b!==void 0?[b]:[]),m=(async()=>{try{return{type:"data",result:await(i?i(C=>g(C)):g())}}catch(b){return{type:"error",result:b}}})();return Promise.race([m,h])};try{let l=n.route[e];if(r)if(l){let f,[h]=await Promise.all([c(l).catch(g=>{f=g}),r]);if(f!==void 0)throw f;u=h}else if(await r,l=n.route[e],l)u=await c(l);else if(e==="action"){let f=new URL(t.url),h=f.pathname+f.search;throw Mn(405,{method:t.method,pathname:h,routeId:n.route.id})}else return{type:it.data,result:void 0};else if(l)u=await c(l);else{let f=new URL(t.url),h=f.pathname+f.search;throw Mn(404,{pathname:h})}Re(u.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(l){return{type:it.error,result:l}}finally{s&&t.signal.removeEventListener("abort",s)}return u}async function z6(e){let{result:t,type:n}=e;if(op(t)){let h;try{let g=t.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?t.body==null?h=null:h=await t.json():h=await t.text()}catch(g){return{type:it.error,error:g}}return n===it.error?{type:it.error,error:new ns(t.status,t.statusText,h),statusCode:t.status,headers:t.headers}:{type:it.data,data:h,statusCode:t.status,headers:t.headers}}if(n===it.error){if(q0(t)){var r,i;if(t.data instanceof Error){var a,u;return{type:it.error,error:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:it.error,error:new ns(((r=t.init)==null?void 0:r.status)||500,void 0,t.data),statusCode:La(t)?t.status:void 0,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:it.error,error:t,statusCode:La(t)?t.status:void 0}}if(Z6(t)){var s,c;return{type:it.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((c=t.init)==null?void 0:c.headers)&&new Headers(t.init.headers)}}if(q0(t)){var l,f;return{type:it.data,data:t.data,statusCode:(l=t.init)==null?void 0:l.status,headers:(f=t.init)!=null&&f.headers?new Headers(t.init.headers):void 0}}return{type:it.data,data:t}}function $6(e,t,n,r,i,a){let u=e.headers.get("Location");if(Re(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!pd.test(u)){let s=r.slice(0,r.findIndex(c=>c.route.id===n)+1);u=dl(new URL(t.url),s,i,!0,u,a),e.headers.set("Location",u)}return e}function H0(e,t,n){if(pd.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),a=mr(i.pathname,n)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function ni(e,t,n,r){let i=e.createURL(rp(t)).toString(),a={signal:n};if(r&&hr(r.formMethod)){let{formMethod:u,formEncType:s}=r;a.method=u.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(r.json)):s==="text/plain"?a.body=r.text:s==="application/x-www-form-urlencoded"&&r.formData?a.body=hl(r.formData):a.body=r.formData}return new Request(i,a)}function hl(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function j0(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function q6(e,t,n,r,i){let a={},u=null,s,c=!1,l={},f=n&&Wn(n[1])?n[1].error:void 0;return e.forEach(h=>{if(!(h.route.id in t))return;let g=h.route.id,m=t[g];if(Re(!jo(m),"Cannot handle redirect results in processLoaderData"),Wn(m)){let b=m.error;f!==void 0&&(b=f,f=void 0),u=u||{};{let C=Mo(e,g);u[C.route.id]==null&&(u[C.route.id]=b)}a[g]=void 0,c||(c=!0,s=La(m.error)?m.error.status:500),m.headers&&(l[g]=m.headers)}else mo(m)?(r.set(g,m.deferredData),a[g]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!c&&(s=m.statusCode),m.headers&&(l[g]=m.headers)):(a[g]=m.data,m.statusCode&&m.statusCode!==200&&!c&&(s=m.statusCode),m.headers&&(l[g]=m.headers))}),f!==void 0&&n&&(u={[n[0]]:f},a[n[0]]=void 0),{loaderData:a,errors:u,statusCode:s||200,loaderHeaders:l}}function U0(e,t,n,r,i,a,u){let{loaderData:s,errors:c}=q6(t,n,r,u);return i.forEach(l=>{let{key:f,match:h,controller:g}=l,m=a[f];if(Re(m,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(Wn(m)){let b=Mo(e.matches,h==null?void 0:h.route.id);c&&c[b.route.id]||(c=xt({},c,{[b.route.id]:m.error})),e.fetchers.delete(f)}else if(jo(m))Re(!1,"Unhandled fetcher revalidation redirect");else if(mo(m))Re(!1,"Unhandled fetcher deferred data");else{let b=uo(m.data);e.fetchers.set(f,b)}}),{loaderData:s,errors:c}}function V0(e,t,n,r){let i=xt({},t);for(let a of n){let u=a.route.id;if(t.hasOwnProperty(u)?t[u]!==void 0&&(i[u]=t[u]):e[u]!==void 0&&a.route.loader&&(i[u]=e[u]),r&&r.hasOwnProperty(u))break}return i}function z0(e){return e?Wn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Mo(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function $0(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Mn(e,t){let{pathname:n,routeId:r,method:i,type:a,message:u}=t===void 0?{}:t,s="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(s="Bad Request",i&&n&&r?c="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(s="Forbidden",c='Route "'+r+'" does not match URL "'+n+'"'):e===404?(s="Not Found",c='No route matches URL "'+n+'"'):e===405&&(s="Method Not Allowed",i&&n&&r?c="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(c='Invalid request method "'+i.toUpperCase()+'"')),new ns(e||500,s,new Error(c),!0)}function pu(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(jo(i))return{key:r,result:i}}}function rp(e){let t=typeof e=="string"?To(e):e;return Io(xt({},t,{hash:""}))}function W6(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function G6(e){return op(e.result)&&N6.has(e.result.status)}function mo(e){return e.type===it.deferred}function Wn(e){return e.type===it.error}function jo(e){return(e&&e.type)===it.redirect}function q0(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Z6(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function op(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Y6(e){return D6.has(e.toLowerCase())}function hr(e){return v6.has(e.toLowerCase())}async function X6(e,t,n,r,i){let a=Object.entries(t);for(let u=0;u<a.length;u++){let[s,c]=a[u],l=e.find(g=>(g==null?void 0:g.route.id)===s);if(!l)continue;let f=r.find(g=>g.route.id===l.route.id),h=f!=null&&!tp(f,l)&&(i&&i[l.route.id])!==void 0;mo(c)&&h&&await md(c,n,!1).then(g=>{g&&(t[s]=g)})}}async function K6(e,t,n){for(let r=0;r<n.length;r++){let{key:i,routeId:a,controller:u}=n[r],s=t[i];e.find(l=>(l==null?void 0:l.route.id)===a)&&mo(s)&&(Re(u,"Expected an AbortController for revalidating fetcher deferred result"),await md(s,u.signal,!0).then(l=>{l&&(t[i]=l)}))}}async function md(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:it.data,data:e.deferredData.unwrappedData}}catch(i){return{type:it.error,error:i}}return{type:it.data,data:e.deferredData.data}}}function gd(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function ca(e,t){let n=typeof t=="string"?To(t).search:t.search;if(e[e.length-1].route.index&&gd(n||""))return e[e.length-1];let r=Jh(e);return r[r.length-1]}function W0(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:u}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:u,text:void 0}}}function dc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function J6(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Xi(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Q6(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function uo(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function e4(e,t){try{let n=e.sessionStorage.getItem(ep);if(n){let r=JSON.parse(n);for(let[i,a]of Object.entries(r||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function t4(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(ep,JSON.stringify(n))}catch(r){Zt(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/**
41
41
  * React Router v6.30.0
42
42
  *
@@ -61,16 +61,16 @@ React keys must be passed directly to JSX without using spread:
61
61
  Copyright (c) 2018 Jed Watson.
62
62
  Licensed under the MIT License (MIT), see
63
63
  http://jedwatson.github.io/classnames
64
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",u=0;u<arguments.length;u++){var s=arguments[u];s&&(a=i(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var u="";for(var s in a)t.call(a,s)&&a[s]&&(u=i(u,s));return u}function i(a,u){return u?a?a+" "+u:a+u:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(yp);var E5=yp.exports;const ge=_s(E5),S5="_icon_bsuj2_1",x5="_hoverable_bsuj2_5",t1={icon:S5,hoverable:x5},_5=Object.freeze(Object.defineProperty({__proto__:null,Acorn:o.Acorn,AcornIcon:o.AcornIcon,ActivityIcon:o.ActivityIcon,AddressBook:o.AddressBook,AddressBookIcon:o.AddressBookIcon,AddressBookTabs:o.AddressBookTabs,AddressBookTabsIcon:o.AddressBookTabsIcon,AirTrafficControl:o.AirTrafficControl,AirTrafficControlIcon:o.AirTrafficControlIcon,Airplane:o.Airplane,AirplaneIcon:o.AirplaneIcon,AirplaneInFlight:o.AirplaneInFlight,AirplaneInFlightIcon:o.AirplaneInFlightIcon,AirplaneLanding:o.AirplaneLanding,AirplaneLandingIcon:o.AirplaneLandingIcon,AirplaneTakeoff:o.AirplaneTakeoff,AirplaneTakeoffIcon:o.AirplaneTakeoffIcon,AirplaneTaxiing:o.AirplaneTaxiing,AirplaneTaxiingIcon:o.AirplaneTaxiingIcon,AirplaneTilt:o.AirplaneTilt,AirplaneTiltIcon:o.AirplaneTiltIcon,Airplay:o.Airplay,AirplayIcon:o.AirplayIcon,Alarm:o.Alarm,AlarmIcon:o.AlarmIcon,Alien:o.Alien,AlienIcon:o.AlienIcon,AlignBottom:o.AlignBottom,AlignBottomIcon:o.AlignBottomIcon,AlignBottomSimple:o.AlignBottomSimple,AlignBottomSimpleIcon:o.AlignBottomSimpleIcon,AlignCenterHorizontal:o.AlignCenterHorizontal,AlignCenterHorizontalIcon:o.AlignCenterHorizontalIcon,AlignCenterHorizontalSimple:o.AlignCenterHorizontalSimple,AlignCenterHorizontalSimpleIcon:o.AlignCenterHorizontalSimpleIcon,AlignCenterVertical:o.AlignCenterVertical,AlignCenterVerticalIcon:o.AlignCenterVerticalIcon,AlignCenterVerticalSimple:o.AlignCenterVerticalSimple,AlignCenterVerticalSimpleIcon:o.AlignCenterVerticalSimpleIcon,AlignLeft:o.AlignLeft,AlignLeftIcon:o.AlignLeftIcon,AlignLeftSimple:o.AlignLeftSimple,AlignLeftSimpleIcon:o.AlignLeftSimpleIcon,AlignRight:o.AlignRight,AlignRightIcon:o.AlignRightIcon,AlignRightSimple:o.AlignRightSimple,AlignRightSimpleIcon:o.AlignRightSimpleIcon,AlignTop:o.AlignTop,AlignTopIcon:o.AlignTopIcon,AlignTopSimple:o.AlignTopSimple,AlignTopSimpleIcon:o.AlignTopSimpleIcon,AmazonLogo:o.AmazonLogo,AmazonLogoIcon:o.AmazonLogoIcon,Ambulance:o.Ambulance,AmbulanceIcon:o.AmbulanceIcon,Anchor:o.Anchor,AnchorIcon:o.AnchorIcon,AnchorSimple:o.AnchorSimple,AnchorSimpleIcon:o.AnchorSimpleIcon,AndroidLogo:o.AndroidLogo,AndroidLogoIcon:o.AndroidLogoIcon,Angle:o.Angle,AngleIcon:o.AngleIcon,AngularLogo:o.AngularLogo,AngularLogoIcon:o.AngularLogoIcon,Aperture:o.Aperture,ApertureIcon:o.ApertureIcon,AppStoreLogo:o.AppStoreLogo,AppStoreLogoIcon:o.AppStoreLogoIcon,AppWindow:o.AppWindow,AppWindowIcon:o.AppWindowIcon,AppleLogo:o.AppleLogo,AppleLogoIcon:o.AppleLogoIcon,ApplePodcastsLogo:o.ApplePodcastsLogo,ApplePodcastsLogoIcon:o.ApplePodcastsLogoIcon,ApproximateEquals:o.ApproximateEquals,ApproximateEqualsIcon:o.ApproximateEqualsIcon,Archive:o.Archive,ArchiveBoxIcon:o.ArchiveBoxIcon,ArchiveIcon:o.ArchiveIcon,ArchiveTrayIcon:o.ArchiveTrayIcon,Armchair:o.Armchair,ArmchairIcon:o.ArmchairIcon,ArrowArcLeft:o.ArrowArcLeft,ArrowArcLeftIcon:o.ArrowArcLeftIcon,ArrowArcRight:o.ArrowArcRight,ArrowArcRightIcon:o.ArrowArcRightIcon,ArrowBendDoubleUpLeft:o.ArrowBendDoubleUpLeft,ArrowBendDoubleUpLeftIcon:o.ArrowBendDoubleUpLeftIcon,ArrowBendDoubleUpRight:o.ArrowBendDoubleUpRight,ArrowBendDoubleUpRightIcon:o.ArrowBendDoubleUpRightIcon,ArrowBendDownLeft:o.ArrowBendDownLeft,ArrowBendDownLeftIcon:o.ArrowBendDownLeftIcon,ArrowBendDownRight:o.ArrowBendDownRight,ArrowBendDownRightIcon:o.ArrowBendDownRightIcon,ArrowBendLeftDown:o.ArrowBendLeftDown,ArrowBendLeftDownIcon:o.ArrowBendLeftDownIcon,ArrowBendLeftUp:o.ArrowBendLeftUp,ArrowBendLeftUpIcon:o.ArrowBendLeftUpIcon,ArrowBendRightDown:o.ArrowBendRightDown,ArrowBendRightDownIcon:o.ArrowBendRightDownIcon,ArrowBendRightUp:o.ArrowBendRightUp,ArrowBendRightUpIcon:o.ArrowBendRightUpIcon,ArrowBendUpLeft:o.ArrowBendUpLeft,ArrowBendUpLeftIcon:o.ArrowBendUpLeftIcon,ArrowBendUpRight:o.ArrowBendUpRight,ArrowBendUpRightIcon:o.ArrowBendUpRightIcon,ArrowCircleDown:o.ArrowCircleDown,ArrowCircleDownIcon:o.ArrowCircleDownIcon,ArrowCircleDownLeft:o.ArrowCircleDownLeft,ArrowCircleDownLeftIcon:o.ArrowCircleDownLeftIcon,ArrowCircleDownRight:o.ArrowCircleDownRight,ArrowCircleDownRightIcon:o.ArrowCircleDownRightIcon,ArrowCircleLeft:o.ArrowCircleLeft,ArrowCircleLeftIcon:o.ArrowCircleLeftIcon,ArrowCircleRight:o.ArrowCircleRight,ArrowCircleRightIcon:o.ArrowCircleRightIcon,ArrowCircleUp:o.ArrowCircleUp,ArrowCircleUpIcon:o.ArrowCircleUpIcon,ArrowCircleUpLeft:o.ArrowCircleUpLeft,ArrowCircleUpLeftIcon:o.ArrowCircleUpLeftIcon,ArrowCircleUpRight:o.ArrowCircleUpRight,ArrowCircleUpRightIcon:o.ArrowCircleUpRightIcon,ArrowClockwise:o.ArrowClockwise,ArrowClockwiseIcon:o.ArrowClockwiseIcon,ArrowCounterClockwise:o.ArrowCounterClockwise,ArrowCounterClockwiseIcon:o.ArrowCounterClockwiseIcon,ArrowDown:o.ArrowDown,ArrowDownIcon:o.ArrowDownIcon,ArrowDownLeft:o.ArrowDownLeft,ArrowDownLeftIcon:o.ArrowDownLeftIcon,ArrowDownRight:o.ArrowDownRight,ArrowDownRightIcon:o.ArrowDownRightIcon,ArrowElbowDownLeft:o.ArrowElbowDownLeft,ArrowElbowDownLeftIcon:o.ArrowElbowDownLeftIcon,ArrowElbowDownRight:o.ArrowElbowDownRight,ArrowElbowDownRightIcon:o.ArrowElbowDownRightIcon,ArrowElbowLeft:o.ArrowElbowLeft,ArrowElbowLeftDown:o.ArrowElbowLeftDown,ArrowElbowLeftDownIcon:o.ArrowElbowLeftDownIcon,ArrowElbowLeftIcon:o.ArrowElbowLeftIcon,ArrowElbowLeftUp:o.ArrowElbowLeftUp,ArrowElbowLeftUpIcon:o.ArrowElbowLeftUpIcon,ArrowElbowRight:o.ArrowElbowRight,ArrowElbowRightDown:o.ArrowElbowRightDown,ArrowElbowRightDownIcon:o.ArrowElbowRightDownIcon,ArrowElbowRightIcon:o.ArrowElbowRightIcon,ArrowElbowRightUp:o.ArrowElbowRightUp,ArrowElbowRightUpIcon:o.ArrowElbowRightUpIcon,ArrowElbowUpLeft:o.ArrowElbowUpLeft,ArrowElbowUpLeftIcon:o.ArrowElbowUpLeftIcon,ArrowElbowUpRight:o.ArrowElbowUpRight,ArrowElbowUpRightIcon:o.ArrowElbowUpRightIcon,ArrowFatDown:o.ArrowFatDown,ArrowFatDownIcon:o.ArrowFatDownIcon,ArrowFatLeft:o.ArrowFatLeft,ArrowFatLeftIcon:o.ArrowFatLeftIcon,ArrowFatLineDown:o.ArrowFatLineDown,ArrowFatLineDownIcon:o.ArrowFatLineDownIcon,ArrowFatLineLeft:o.ArrowFatLineLeft,ArrowFatLineLeftIcon:o.ArrowFatLineLeftIcon,ArrowFatLineRight:o.ArrowFatLineRight,ArrowFatLineRightIcon:o.ArrowFatLineRightIcon,ArrowFatLineUp:o.ArrowFatLineUp,ArrowFatLineUpIcon:o.ArrowFatLineUpIcon,ArrowFatLinesDown:o.ArrowFatLinesDown,ArrowFatLinesDownIcon:o.ArrowFatLinesDownIcon,ArrowFatLinesLeft:o.ArrowFatLinesLeft,ArrowFatLinesLeftIcon:o.ArrowFatLinesLeftIcon,ArrowFatLinesRight:o.ArrowFatLinesRight,ArrowFatLinesRightIcon:o.ArrowFatLinesRightIcon,ArrowFatLinesUp:o.ArrowFatLinesUp,ArrowFatLinesUpIcon:o.ArrowFatLinesUpIcon,ArrowFatRight:o.ArrowFatRight,ArrowFatRightIcon:o.ArrowFatRightIcon,ArrowFatUp:o.ArrowFatUp,ArrowFatUpIcon:o.ArrowFatUpIcon,ArrowLeft:o.ArrowLeft,ArrowLeftIcon:o.ArrowLeftIcon,ArrowLineDown:o.ArrowLineDown,ArrowLineDownIcon:o.ArrowLineDownIcon,ArrowLineDownLeft:o.ArrowLineDownLeft,ArrowLineDownLeftIcon:o.ArrowLineDownLeftIcon,ArrowLineDownRight:o.ArrowLineDownRight,ArrowLineDownRightIcon:o.ArrowLineDownRightIcon,ArrowLineLeft:o.ArrowLineLeft,ArrowLineLeftIcon:o.ArrowLineLeftIcon,ArrowLineRight:o.ArrowLineRight,ArrowLineRightIcon:o.ArrowLineRightIcon,ArrowLineUp:o.ArrowLineUp,ArrowLineUpIcon:o.ArrowLineUpIcon,ArrowLineUpLeft:o.ArrowLineUpLeft,ArrowLineUpLeftIcon:o.ArrowLineUpLeftIcon,ArrowLineUpRight:o.ArrowLineUpRight,ArrowLineUpRightIcon:o.ArrowLineUpRightIcon,ArrowRight:o.ArrowRight,ArrowRightIcon:o.ArrowRightIcon,ArrowSquareDown:o.ArrowSquareDown,ArrowSquareDownIcon:o.ArrowSquareDownIcon,ArrowSquareDownLeft:o.ArrowSquareDownLeft,ArrowSquareDownLeftIcon:o.ArrowSquareDownLeftIcon,ArrowSquareDownRight:o.ArrowSquareDownRight,ArrowSquareDownRightIcon:o.ArrowSquareDownRightIcon,ArrowSquareIn:o.ArrowSquareIn,ArrowSquareInIcon:o.ArrowSquareInIcon,ArrowSquareLeft:o.ArrowSquareLeft,ArrowSquareLeftIcon:o.ArrowSquareLeftIcon,ArrowSquareOut:o.ArrowSquareOut,ArrowSquareOutIcon:o.ArrowSquareOutIcon,ArrowSquareRight:o.ArrowSquareRight,ArrowSquareRightIcon:o.ArrowSquareRightIcon,ArrowSquareUp:o.ArrowSquareUp,ArrowSquareUpIcon:o.ArrowSquareUpIcon,ArrowSquareUpLeft:o.ArrowSquareUpLeft,ArrowSquareUpLeftIcon:o.ArrowSquareUpLeftIcon,ArrowSquareUpRight:o.ArrowSquareUpRight,ArrowSquareUpRightIcon:o.ArrowSquareUpRightIcon,ArrowUDownLeft:o.ArrowUDownLeft,ArrowUDownLeftIcon:o.ArrowUDownLeftIcon,ArrowUDownRight:o.ArrowUDownRight,ArrowUDownRightIcon:o.ArrowUDownRightIcon,ArrowULeftDown:o.ArrowULeftDown,ArrowULeftDownIcon:o.ArrowULeftDownIcon,ArrowULeftUp:o.ArrowULeftUp,ArrowULeftUpIcon:o.ArrowULeftUpIcon,ArrowURightDown:o.ArrowURightDown,ArrowURightDownIcon:o.ArrowURightDownIcon,ArrowURightUp:o.ArrowURightUp,ArrowURightUpIcon:o.ArrowURightUpIcon,ArrowUUpLeft:o.ArrowUUpLeft,ArrowUUpLeftIcon:o.ArrowUUpLeftIcon,ArrowUUpRight:o.ArrowUUpRight,ArrowUUpRightIcon:o.ArrowUUpRightIcon,ArrowUp:o.ArrowUp,ArrowUpIcon:o.ArrowUpIcon,ArrowUpLeft:o.ArrowUpLeft,ArrowUpLeftIcon:o.ArrowUpLeftIcon,ArrowUpRight:o.ArrowUpRight,ArrowUpRightIcon:o.ArrowUpRightIcon,ArrowsClockwise:o.ArrowsClockwise,ArrowsClockwiseIcon:o.ArrowsClockwiseIcon,ArrowsCounterClockwise:o.ArrowsCounterClockwise,ArrowsCounterClockwiseIcon:o.ArrowsCounterClockwiseIcon,ArrowsDownUp:o.ArrowsDownUp,ArrowsDownUpIcon:o.ArrowsDownUpIcon,ArrowsHorizontal:o.ArrowsHorizontal,ArrowsHorizontalIcon:o.ArrowsHorizontalIcon,ArrowsIn:o.ArrowsIn,ArrowsInCardinal:o.ArrowsInCardinal,ArrowsInCardinalIcon:o.ArrowsInCardinalIcon,ArrowsInIcon:o.ArrowsInIcon,ArrowsInLineHorizontal:o.ArrowsInLineHorizontal,ArrowsInLineHorizontalIcon:o.ArrowsInLineHorizontalIcon,ArrowsInLineVertical:o.ArrowsInLineVertical,ArrowsInLineVerticalIcon:o.ArrowsInLineVerticalIcon,ArrowsInSimple:o.ArrowsInSimple,ArrowsInSimpleIcon:o.ArrowsInSimpleIcon,ArrowsLeftRight:o.ArrowsLeftRight,ArrowsLeftRightIcon:o.ArrowsLeftRightIcon,ArrowsMerge:o.ArrowsMerge,ArrowsMergeIcon:o.ArrowsMergeIcon,ArrowsOut:o.ArrowsOut,ArrowsOutCardinal:o.ArrowsOutCardinal,ArrowsOutCardinalIcon:o.ArrowsOutCardinalIcon,ArrowsOutIcon:o.ArrowsOutIcon,ArrowsOutLineHorizontal:o.ArrowsOutLineHorizontal,ArrowsOutLineHorizontalIcon:o.ArrowsOutLineHorizontalIcon,ArrowsOutLineVertical:o.ArrowsOutLineVertical,ArrowsOutLineVerticalIcon:o.ArrowsOutLineVerticalIcon,ArrowsOutSimple:o.ArrowsOutSimple,ArrowsOutSimpleIcon:o.ArrowsOutSimpleIcon,ArrowsSplit:o.ArrowsSplit,ArrowsSplitIcon:o.ArrowsSplitIcon,ArrowsVertical:o.ArrowsVertical,ArrowsVerticalIcon:o.ArrowsVerticalIcon,Article:o.Article,ArticleIcon:o.ArticleIcon,ArticleMedium:o.ArticleMedium,ArticleMediumIcon:o.ArticleMediumIcon,ArticleNyTimes:o.ArticleNyTimes,ArticleNyTimesIcon:o.ArticleNyTimesIcon,Asclepius:o.Asclepius,AsclepiusIcon:o.AsclepiusIcon,Asterisk:o.Asterisk,AsteriskIcon:o.AsteriskIcon,AsteriskSimple:o.AsteriskSimple,AsteriskSimpleIcon:o.AsteriskSimpleIcon,At:o.At,AtIcon:o.AtIcon,Atom:o.Atom,AtomIcon:o.AtomIcon,Avocado:o.Avocado,AvocadoIcon:o.AvocadoIcon,Axe:o.Axe,AxeIcon:o.AxeIcon,Baby:o.Baby,BabyCarriage:o.BabyCarriage,BabyCarriageIcon:o.BabyCarriageIcon,BabyIcon:o.BabyIcon,Backpack:o.Backpack,BackpackIcon:o.BackpackIcon,Backspace:o.Backspace,BackspaceIcon:o.BackspaceIcon,Bag:o.Bag,BagIcon:o.BagIcon,BagSimple:o.BagSimple,BagSimpleIcon:o.BagSimpleIcon,Balloon:o.Balloon,BalloonIcon:o.BalloonIcon,Bandaids:o.Bandaids,BandaidsIcon:o.BandaidsIcon,Bank:o.Bank,BankIcon:o.BankIcon,Barbell:o.Barbell,BarbellIcon:o.BarbellIcon,Barcode:o.Barcode,BarcodeIcon:o.BarcodeIcon,Barn:o.Barn,BarnIcon:o.BarnIcon,Barricade:o.Barricade,BarricadeIcon:o.BarricadeIcon,Baseball:o.Baseball,BaseballCap:o.BaseballCap,BaseballCapIcon:o.BaseballCapIcon,BaseballHelmet:o.BaseballHelmet,BaseballHelmetIcon:o.BaseballHelmetIcon,BaseballIcon:o.BaseballIcon,Basket:o.Basket,BasketIcon:o.BasketIcon,Basketball:o.Basketball,BasketballIcon:o.BasketballIcon,Bathtub:o.Bathtub,BathtubIcon:o.BathtubIcon,BatteryCharging:o.BatteryCharging,BatteryChargingIcon:o.BatteryChargingIcon,BatteryChargingVertical:o.BatteryChargingVertical,BatteryChargingVerticalIcon:o.BatteryChargingVerticalIcon,BatteryEmpty:o.BatteryEmpty,BatteryEmptyIcon:o.BatteryEmptyIcon,BatteryFull:o.BatteryFull,BatteryFullIcon:o.BatteryFullIcon,BatteryHigh:o.BatteryHigh,BatteryHighIcon:o.BatteryHighIcon,BatteryLow:o.BatteryLow,BatteryLowIcon:o.BatteryLowIcon,BatteryMedium:o.BatteryMedium,BatteryMediumIcon:o.BatteryMediumIcon,BatteryPlus:o.BatteryPlus,BatteryPlusIcon:o.BatteryPlusIcon,BatteryPlusVertical:o.BatteryPlusVertical,BatteryPlusVerticalIcon:o.BatteryPlusVerticalIcon,BatteryVerticalEmpty:o.BatteryVerticalEmpty,BatteryVerticalEmptyIcon:o.BatteryVerticalEmptyIcon,BatteryVerticalFull:o.BatteryVerticalFull,BatteryVerticalFullIcon:o.BatteryVerticalFullIcon,BatteryVerticalHigh:o.BatteryVerticalHigh,BatteryVerticalHighIcon:o.BatteryVerticalHighIcon,BatteryVerticalLow:o.BatteryVerticalLow,BatteryVerticalLowIcon:o.BatteryVerticalLowIcon,BatteryVerticalMedium:o.BatteryVerticalMedium,BatteryVerticalMediumIcon:o.BatteryVerticalMediumIcon,BatteryWarning:o.BatteryWarning,BatteryWarningIcon:o.BatteryWarningIcon,BatteryWarningVertical:o.BatteryWarningVertical,BatteryWarningVerticalIcon:o.BatteryWarningVerticalIcon,BeachBall:o.BeachBall,BeachBallIcon:o.BeachBallIcon,Beanie:o.Beanie,BeanieIcon:o.BeanieIcon,Bed:o.Bed,BedIcon:o.BedIcon,BeerBottle:o.BeerBottle,BeerBottleIcon:o.BeerBottleIcon,BeerStein:o.BeerStein,BeerSteinIcon:o.BeerSteinIcon,BehanceLogo:o.BehanceLogo,BehanceLogoIcon:o.BehanceLogoIcon,Bell:o.Bell,BellIcon:o.BellIcon,BellRinging:o.BellRinging,BellRingingIcon:o.BellRingingIcon,BellSimple:o.BellSimple,BellSimpleIcon:o.BellSimpleIcon,BellSimpleRinging:o.BellSimpleRinging,BellSimpleRingingIcon:o.BellSimpleRingingIcon,BellSimpleSlash:o.BellSimpleSlash,BellSimpleSlashIcon:o.BellSimpleSlashIcon,BellSimpleZ:o.BellSimpleZ,BellSimpleZIcon:o.BellSimpleZIcon,BellSlash:o.BellSlash,BellSlashIcon:o.BellSlashIcon,BellZ:o.BellZ,BellZIcon:o.BellZIcon,Belt:o.Belt,BeltIcon:o.BeltIcon,BezierCurve:o.BezierCurve,BezierCurveIcon:o.BezierCurveIcon,Bicycle:o.Bicycle,BicycleIcon:o.BicycleIcon,Binary:o.Binary,BinaryIcon:o.BinaryIcon,Binoculars:o.Binoculars,BinocularsIcon:o.BinocularsIcon,Biohazard:o.Biohazard,BiohazardIcon:o.BiohazardIcon,Bird:o.Bird,BirdIcon:o.BirdIcon,Blueprint:o.Blueprint,BlueprintIcon:o.BlueprintIcon,Bluetooth:o.Bluetooth,BluetoothConnected:o.BluetoothConnected,BluetoothConnectedIcon:o.BluetoothConnectedIcon,BluetoothIcon:o.BluetoothIcon,BluetoothSlash:o.BluetoothSlash,BluetoothSlashIcon:o.BluetoothSlashIcon,BluetoothX:o.BluetoothX,BluetoothXIcon:o.BluetoothXIcon,Boat:o.Boat,BoatIcon:o.BoatIcon,Bomb:o.Bomb,BombIcon:o.BombIcon,Bone:o.Bone,BoneIcon:o.BoneIcon,Book:o.Book,BookBookmark:o.BookBookmark,BookBookmarkIcon:o.BookBookmarkIcon,BookIcon:o.BookIcon,BookOpen:o.BookOpen,BookOpenIcon:o.BookOpenIcon,BookOpenText:o.BookOpenText,BookOpenTextIcon:o.BookOpenTextIcon,BookOpenUser:o.BookOpenUser,BookOpenUserIcon:o.BookOpenUserIcon,Bookmark:o.Bookmark,BookmarkIcon:o.BookmarkIcon,BookmarkSimple:o.BookmarkSimple,BookmarkSimpleIcon:o.BookmarkSimpleIcon,Bookmarks:o.Bookmarks,BookmarksIcon:o.BookmarksIcon,BookmarksSimple:o.BookmarksSimple,BookmarksSimpleIcon:o.BookmarksSimpleIcon,Books:o.Books,BooksIcon:o.BooksIcon,Boot:o.Boot,BootIcon:o.BootIcon,Boules:o.Boules,BoulesIcon:o.BoulesIcon,BoundingBox:o.BoundingBox,BoundingBoxIcon:o.BoundingBoxIcon,BowlFood:o.BowlFood,BowlFoodIcon:o.BowlFoodIcon,BowlSteam:o.BowlSteam,BowlSteamIcon:o.BowlSteamIcon,BowlingBall:o.BowlingBall,BowlingBallIcon:o.BowlingBallIcon,BoxArrowDown:o.BoxArrowDown,BoxArrowDownIcon:o.BoxArrowDownIcon,BoxArrowUp:o.BoxArrowUp,BoxArrowUpIcon:o.BoxArrowUpIcon,BoxingGlove:o.BoxingGlove,BoxingGloveIcon:o.BoxingGloveIcon,BracketsAngle:o.BracketsAngle,BracketsAngleIcon:o.BracketsAngleIcon,BracketsCurly:o.BracketsCurly,BracketsCurlyIcon:o.BracketsCurlyIcon,BracketsRound:o.BracketsRound,BracketsRoundIcon:o.BracketsRoundIcon,BracketsSquare:o.BracketsSquare,BracketsSquareIcon:o.BracketsSquareIcon,Brain:o.Brain,BrainIcon:o.BrainIcon,Brandy:o.Brandy,BrandyIcon:o.BrandyIcon,Bread:o.Bread,BreadIcon:o.BreadIcon,Bridge:o.Bridge,BridgeIcon:o.BridgeIcon,Briefcase:o.Briefcase,BriefcaseIcon:o.BriefcaseIcon,BriefcaseMetal:o.BriefcaseMetal,BriefcaseMetalIcon:o.BriefcaseMetalIcon,Broadcast:o.Broadcast,BroadcastIcon:o.BroadcastIcon,Broom:o.Broom,BroomIcon:o.BroomIcon,Browser:o.Browser,BrowserIcon:o.BrowserIcon,Browsers:o.Browsers,BrowsersIcon:o.BrowsersIcon,Bug:o.Bug,BugBeetle:o.BugBeetle,BugBeetleIcon:o.BugBeetleIcon,BugDroid:o.BugDroid,BugDroidIcon:o.BugDroidIcon,BugIcon:o.BugIcon,Building:o.Building,BuildingApartment:o.BuildingApartment,BuildingApartmentIcon:o.BuildingApartmentIcon,BuildingIcon:o.BuildingIcon,BuildingOffice:o.BuildingOffice,BuildingOfficeIcon:o.BuildingOfficeIcon,Buildings:o.Buildings,BuildingsIcon:o.BuildingsIcon,Bulldozer:o.Bulldozer,BulldozerIcon:o.BulldozerIcon,Bus:o.Bus,BusIcon:o.BusIcon,Butterfly:o.Butterfly,ButterflyIcon:o.ButterflyIcon,CableCar:o.CableCar,CableCarIcon:o.CableCarIcon,Cactus:o.Cactus,CactusIcon:o.CactusIcon,CaduceusIcon:o.CaduceusIcon,Cake:o.Cake,CakeIcon:o.CakeIcon,Calculator:o.Calculator,CalculatorIcon:o.CalculatorIcon,Calendar:o.Calendar,CalendarBlank:o.CalendarBlank,CalendarBlankIcon:o.CalendarBlankIcon,CalendarCheck:o.CalendarCheck,CalendarCheckIcon:o.CalendarCheckIcon,CalendarDot:o.CalendarDot,CalendarDotIcon:o.CalendarDotIcon,CalendarDots:o.CalendarDots,CalendarDotsIcon:o.CalendarDotsIcon,CalendarHeart:o.CalendarHeart,CalendarHeartIcon:o.CalendarHeartIcon,CalendarIcon:o.CalendarIcon,CalendarMinus:o.CalendarMinus,CalendarMinusIcon:o.CalendarMinusIcon,CalendarPlus:o.CalendarPlus,CalendarPlusIcon:o.CalendarPlusIcon,CalendarSlash:o.CalendarSlash,CalendarSlashIcon:o.CalendarSlashIcon,CalendarStar:o.CalendarStar,CalendarStarIcon:o.CalendarStarIcon,CalendarX:o.CalendarX,CalendarXIcon:o.CalendarXIcon,CallBell:o.CallBell,CallBellIcon:o.CallBellIcon,Camera:o.Camera,CameraIcon:o.CameraIcon,CameraPlus:o.CameraPlus,CameraPlusIcon:o.CameraPlusIcon,CameraRotate:o.CameraRotate,CameraRotateIcon:o.CameraRotateIcon,CameraSlash:o.CameraSlash,CameraSlashIcon:o.CameraSlashIcon,Campfire:o.Campfire,CampfireIcon:o.CampfireIcon,Car:o.Car,CarBattery:o.CarBattery,CarBatteryIcon:o.CarBatteryIcon,CarIcon:o.CarIcon,CarProfile:o.CarProfile,CarProfileIcon:o.CarProfileIcon,CarSimple:o.CarSimple,CarSimpleIcon:o.CarSimpleIcon,Cardholder:o.Cardholder,CardholderIcon:o.CardholderIcon,Cards:o.Cards,CardsIcon:o.CardsIcon,CardsThree:o.CardsThree,CardsThreeIcon:o.CardsThreeIcon,CaretCircleDoubleDown:o.CaretCircleDoubleDown,CaretCircleDoubleDownIcon:o.CaretCircleDoubleDownIcon,CaretCircleDoubleLeft:o.CaretCircleDoubleLeft,CaretCircleDoubleLeftIcon:o.CaretCircleDoubleLeftIcon,CaretCircleDoubleRight:o.CaretCircleDoubleRight,CaretCircleDoubleRightIcon:o.CaretCircleDoubleRightIcon,CaretCircleDoubleUp:o.CaretCircleDoubleUp,CaretCircleDoubleUpIcon:o.CaretCircleDoubleUpIcon,CaretCircleDown:o.CaretCircleDown,CaretCircleDownIcon:o.CaretCircleDownIcon,CaretCircleLeft:o.CaretCircleLeft,CaretCircleLeftIcon:o.CaretCircleLeftIcon,CaretCircleRight:o.CaretCircleRight,CaretCircleRightIcon:o.CaretCircleRightIcon,CaretCircleUp:o.CaretCircleUp,CaretCircleUpDown:o.CaretCircleUpDown,CaretCircleUpDownIcon:o.CaretCircleUpDownIcon,CaretCircleUpIcon:o.CaretCircleUpIcon,CaretDoubleDown:o.CaretDoubleDown,CaretDoubleDownIcon:o.CaretDoubleDownIcon,CaretDoubleLeft:o.CaretDoubleLeft,CaretDoubleLeftIcon:o.CaretDoubleLeftIcon,CaretDoubleRight:o.CaretDoubleRight,CaretDoubleRightIcon:o.CaretDoubleRightIcon,CaretDoubleUp:o.CaretDoubleUp,CaretDoubleUpIcon:o.CaretDoubleUpIcon,CaretDown:o.CaretDown,CaretDownIcon:o.CaretDownIcon,CaretLeft:o.CaretLeft,CaretLeftIcon:o.CaretLeftIcon,CaretLineDown:o.CaretLineDown,CaretLineDownIcon:o.CaretLineDownIcon,CaretLineLeft:o.CaretLineLeft,CaretLineLeftIcon:o.CaretLineLeftIcon,CaretLineRight:o.CaretLineRight,CaretLineRightIcon:o.CaretLineRightIcon,CaretLineUp:o.CaretLineUp,CaretLineUpIcon:o.CaretLineUpIcon,CaretRight:o.CaretRight,CaretRightIcon:o.CaretRightIcon,CaretUp:o.CaretUp,CaretUpDown:o.CaretUpDown,CaretUpDownIcon:o.CaretUpDownIcon,CaretUpIcon:o.CaretUpIcon,Carrot:o.Carrot,CarrotIcon:o.CarrotIcon,CashRegister:o.CashRegister,CashRegisterIcon:o.CashRegisterIcon,CassetteTape:o.CassetteTape,CassetteTapeIcon:o.CassetteTapeIcon,CastleTurret:o.CastleTurret,CastleTurretIcon:o.CastleTurretIcon,Cat:o.Cat,CatIcon:o.CatIcon,CellSignalFull:o.CellSignalFull,CellSignalFullIcon:o.CellSignalFullIcon,CellSignalHigh:o.CellSignalHigh,CellSignalHighIcon:o.CellSignalHighIcon,CellSignalLow:o.CellSignalLow,CellSignalLowIcon:o.CellSignalLowIcon,CellSignalMedium:o.CellSignalMedium,CellSignalMediumIcon:o.CellSignalMediumIcon,CellSignalNone:o.CellSignalNone,CellSignalNoneIcon:o.CellSignalNoneIcon,CellSignalSlash:o.CellSignalSlash,CellSignalSlashIcon:o.CellSignalSlashIcon,CellSignalX:o.CellSignalX,CellSignalXIcon:o.CellSignalXIcon,CellTower:o.CellTower,CellTowerIcon:o.CellTowerIcon,Certificate:o.Certificate,CertificateIcon:o.CertificateIcon,Chair:o.Chair,ChairIcon:o.ChairIcon,Chalkboard:o.Chalkboard,ChalkboardIcon:o.ChalkboardIcon,ChalkboardSimple:o.ChalkboardSimple,ChalkboardSimpleIcon:o.ChalkboardSimpleIcon,ChalkboardTeacher:o.ChalkboardTeacher,ChalkboardTeacherIcon:o.ChalkboardTeacherIcon,Champagne:o.Champagne,ChampagneIcon:o.ChampagneIcon,ChargingStation:o.ChargingStation,ChargingStationIcon:o.ChargingStationIcon,ChartBar:o.ChartBar,ChartBarHorizontal:o.ChartBarHorizontal,ChartBarHorizontalIcon:o.ChartBarHorizontalIcon,ChartBarIcon:o.ChartBarIcon,ChartDonut:o.ChartDonut,ChartDonutIcon:o.ChartDonutIcon,ChartLine:o.ChartLine,ChartLineDown:o.ChartLineDown,ChartLineDownIcon:o.ChartLineDownIcon,ChartLineIcon:o.ChartLineIcon,ChartLineUp:o.ChartLineUp,ChartLineUpIcon:o.ChartLineUpIcon,ChartPie:o.ChartPie,ChartPieIcon:o.ChartPieIcon,ChartPieSlice:o.ChartPieSlice,ChartPieSliceIcon:o.ChartPieSliceIcon,ChartPolar:o.ChartPolar,ChartPolarIcon:o.ChartPolarIcon,ChartScatter:o.ChartScatter,ChartScatterIcon:o.ChartScatterIcon,Chat:o.Chat,ChatCentered:o.ChatCentered,ChatCenteredDots:o.ChatCenteredDots,ChatCenteredDotsIcon:o.ChatCenteredDotsIcon,ChatCenteredIcon:o.ChatCenteredIcon,ChatCenteredSlash:o.ChatCenteredSlash,ChatCenteredSlashIcon:o.ChatCenteredSlashIcon,ChatCenteredText:o.ChatCenteredText,ChatCenteredTextIcon:o.ChatCenteredTextIcon,ChatCircle:o.ChatCircle,ChatCircleDots:o.ChatCircleDots,ChatCircleDotsIcon:o.ChatCircleDotsIcon,ChatCircleIcon:o.ChatCircleIcon,ChatCircleSlash:o.ChatCircleSlash,ChatCircleSlashIcon:o.ChatCircleSlashIcon,ChatCircleText:o.ChatCircleText,ChatCircleTextIcon:o.ChatCircleTextIcon,ChatDots:o.ChatDots,ChatDotsIcon:o.ChatDotsIcon,ChatIcon:o.ChatIcon,ChatSlash:o.ChatSlash,ChatSlashIcon:o.ChatSlashIcon,ChatTeardrop:o.ChatTeardrop,ChatTeardropDots:o.ChatTeardropDots,ChatTeardropDotsIcon:o.ChatTeardropDotsIcon,ChatTeardropIcon:o.ChatTeardropIcon,ChatTeardropSlash:o.ChatTeardropSlash,ChatTeardropSlashIcon:o.ChatTeardropSlashIcon,ChatTeardropText:o.ChatTeardropText,ChatTeardropTextIcon:o.ChatTeardropTextIcon,ChatText:o.ChatText,ChatTextIcon:o.ChatTextIcon,Chats:o.Chats,ChatsCircle:o.ChatsCircle,ChatsCircleIcon:o.ChatsCircleIcon,ChatsIcon:o.ChatsIcon,ChatsTeardrop:o.ChatsTeardrop,ChatsTeardropIcon:o.ChatsTeardropIcon,Check:o.Check,CheckCircle:o.CheckCircle,CheckCircleIcon:o.CheckCircleIcon,CheckFat:o.CheckFat,CheckFatIcon:o.CheckFatIcon,CheckIcon:o.CheckIcon,CheckSquare:o.CheckSquare,CheckSquareIcon:o.CheckSquareIcon,CheckSquareOffset:o.CheckSquareOffset,CheckSquareOffsetIcon:o.CheckSquareOffsetIcon,Checkerboard:o.Checkerboard,CheckerboardIcon:o.CheckerboardIcon,Checks:o.Checks,ChecksIcon:o.ChecksIcon,Cheers:o.Cheers,CheersIcon:o.CheersIcon,Cheese:o.Cheese,CheeseIcon:o.CheeseIcon,ChefHat:o.ChefHat,ChefHatIcon:o.ChefHatIcon,Cherries:o.Cherries,CherriesIcon:o.CherriesIcon,Church:o.Church,ChurchIcon:o.ChurchIcon,Cigarette:o.Cigarette,CigaretteIcon:o.CigaretteIcon,CigaretteSlash:o.CigaretteSlash,CigaretteSlashIcon:o.CigaretteSlashIcon,Circle:o.Circle,CircleDashed:o.CircleDashed,CircleDashedIcon:o.CircleDashedIcon,CircleHalf:o.CircleHalf,CircleHalfIcon:o.CircleHalfIcon,CircleHalfTilt:o.CircleHalfTilt,CircleHalfTiltIcon:o.CircleHalfTiltIcon,CircleIcon:o.CircleIcon,CircleNotch:o.CircleNotch,CircleNotchIcon:o.CircleNotchIcon,CircleWavyCheckIcon:o.CircleWavyCheckIcon,CircleWavyIcon:o.CircleWavyIcon,CircleWavyQuestionIcon:o.CircleWavyQuestionIcon,CircleWavyWarningIcon:o.CircleWavyWarningIcon,CirclesFour:o.CirclesFour,CirclesFourIcon:o.CirclesFourIcon,CirclesThree:o.CirclesThree,CirclesThreeIcon:o.CirclesThreeIcon,CirclesThreePlus:o.CirclesThreePlus,CirclesThreePlusIcon:o.CirclesThreePlusIcon,Circuitry:o.Circuitry,CircuitryIcon:o.CircuitryIcon,City:o.City,CityIcon:o.CityIcon,Clipboard:o.Clipboard,ClipboardIcon:o.ClipboardIcon,ClipboardText:o.ClipboardText,ClipboardTextIcon:o.ClipboardTextIcon,Clock:o.Clock,ClockAfternoon:o.ClockAfternoon,ClockAfternoonIcon:o.ClockAfternoonIcon,ClockClockwise:o.ClockClockwise,ClockClockwiseIcon:o.ClockClockwiseIcon,ClockCountdown:o.ClockCountdown,ClockCountdownIcon:o.ClockCountdownIcon,ClockCounterClockwise:o.ClockCounterClockwise,ClockCounterClockwiseIcon:o.ClockCounterClockwiseIcon,ClockIcon:o.ClockIcon,ClockUser:o.ClockUser,ClockUserIcon:o.ClockUserIcon,ClosedCaptioning:o.ClosedCaptioning,ClosedCaptioningIcon:o.ClosedCaptioningIcon,Cloud:o.Cloud,CloudArrowDown:o.CloudArrowDown,CloudArrowDownIcon:o.CloudArrowDownIcon,CloudArrowUp:o.CloudArrowUp,CloudArrowUpIcon:o.CloudArrowUpIcon,CloudCheck:o.CloudCheck,CloudCheckIcon:o.CloudCheckIcon,CloudFog:o.CloudFog,CloudFogIcon:o.CloudFogIcon,CloudIcon:o.CloudIcon,CloudLightning:o.CloudLightning,CloudLightningIcon:o.CloudLightningIcon,CloudMoon:o.CloudMoon,CloudMoonIcon:o.CloudMoonIcon,CloudRain:o.CloudRain,CloudRainIcon:o.CloudRainIcon,CloudSlash:o.CloudSlash,CloudSlashIcon:o.CloudSlashIcon,CloudSnow:o.CloudSnow,CloudSnowIcon:o.CloudSnowIcon,CloudSun:o.CloudSun,CloudSunIcon:o.CloudSunIcon,CloudWarning:o.CloudWarning,CloudWarningIcon:o.CloudWarningIcon,CloudX:o.CloudX,CloudXIcon:o.CloudXIcon,Clover:o.Clover,CloverIcon:o.CloverIcon,Club:o.Club,ClubIcon:o.ClubIcon,CoatHanger:o.CoatHanger,CoatHangerIcon:o.CoatHangerIcon,CodaLogo:o.CodaLogo,CodaLogoIcon:o.CodaLogoIcon,Code:o.Code,CodeBlock:o.CodeBlock,CodeBlockIcon:o.CodeBlockIcon,CodeIcon:o.CodeIcon,CodeSimple:o.CodeSimple,CodeSimpleIcon:o.CodeSimpleIcon,CodepenLogo:o.CodepenLogo,CodepenLogoIcon:o.CodepenLogoIcon,CodesandboxLogo:o.CodesandboxLogo,CodesandboxLogoIcon:o.CodesandboxLogoIcon,Coffee:o.Coffee,CoffeeBean:o.CoffeeBean,CoffeeBeanIcon:o.CoffeeBeanIcon,CoffeeIcon:o.CoffeeIcon,Coin:o.Coin,CoinIcon:o.CoinIcon,CoinVertical:o.CoinVertical,CoinVerticalIcon:o.CoinVerticalIcon,Coins:o.Coins,CoinsIcon:o.CoinsIcon,Columns:o.Columns,ColumnsIcon:o.ColumnsIcon,ColumnsPlusLeft:o.ColumnsPlusLeft,ColumnsPlusLeftIcon:o.ColumnsPlusLeftIcon,ColumnsPlusRight:o.ColumnsPlusRight,ColumnsPlusRightIcon:o.ColumnsPlusRightIcon,Command:o.Command,CommandIcon:o.CommandIcon,Compass:o.Compass,CompassIcon:o.CompassIcon,CompassRose:o.CompassRose,CompassRoseIcon:o.CompassRoseIcon,CompassTool:o.CompassTool,CompassToolIcon:o.CompassToolIcon,ComputerTower:o.ComputerTower,ComputerTowerIcon:o.ComputerTowerIcon,Confetti:o.Confetti,ConfettiIcon:o.ConfettiIcon,ContactlessPayment:o.ContactlessPayment,ContactlessPaymentIcon:o.ContactlessPaymentIcon,Control:o.Control,ControlIcon:o.ControlIcon,Cookie:o.Cookie,CookieIcon:o.CookieIcon,CookingPot:o.CookingPot,CookingPotIcon:o.CookingPotIcon,Copy:o.Copy,CopyIcon:o.CopyIcon,CopySimple:o.CopySimple,CopySimpleIcon:o.CopySimpleIcon,Copyleft:o.Copyleft,CopyleftIcon:o.CopyleftIcon,Copyright:o.Copyright,CopyrightIcon:o.CopyrightIcon,CornersIn:o.CornersIn,CornersInIcon:o.CornersInIcon,CornersOut:o.CornersOut,CornersOutIcon:o.CornersOutIcon,Couch:o.Couch,CouchIcon:o.CouchIcon,CourtBasketball:o.CourtBasketball,CourtBasketballIcon:o.CourtBasketballIcon,Cow:o.Cow,CowIcon:o.CowIcon,CowboyHat:o.CowboyHat,CowboyHatIcon:o.CowboyHatIcon,Cpu:o.Cpu,CpuIcon:o.CpuIcon,Crane:o.Crane,CraneIcon:o.CraneIcon,CraneTower:o.CraneTower,CraneTowerIcon:o.CraneTowerIcon,CreditCard:o.CreditCard,CreditCardIcon:o.CreditCardIcon,Cricket:o.Cricket,CricketIcon:o.CricketIcon,Crop:o.Crop,CropIcon:o.CropIcon,Cross:o.Cross,CrossIcon:o.CrossIcon,Crosshair:o.Crosshair,CrosshairIcon:o.CrosshairIcon,CrosshairSimple:o.CrosshairSimple,CrosshairSimpleIcon:o.CrosshairSimpleIcon,Crown:o.Crown,CrownCross:o.CrownCross,CrownCrossIcon:o.CrownCrossIcon,CrownIcon:o.CrownIcon,CrownSimple:o.CrownSimple,CrownSimpleIcon:o.CrownSimpleIcon,Cube:o.Cube,CubeFocus:o.CubeFocus,CubeFocusIcon:o.CubeFocusIcon,CubeIcon:o.CubeIcon,CubeTransparent:o.CubeTransparent,CubeTransparentIcon:o.CubeTransparentIcon,CurrencyBtc:o.CurrencyBtc,CurrencyBtcIcon:o.CurrencyBtcIcon,CurrencyCircleDollar:o.CurrencyCircleDollar,CurrencyCircleDollarIcon:o.CurrencyCircleDollarIcon,CurrencyCny:o.CurrencyCny,CurrencyCnyIcon:o.CurrencyCnyIcon,CurrencyDollar:o.CurrencyDollar,CurrencyDollarIcon:o.CurrencyDollarIcon,CurrencyDollarSimple:o.CurrencyDollarSimple,CurrencyDollarSimpleIcon:o.CurrencyDollarSimpleIcon,CurrencyEth:o.CurrencyEth,CurrencyEthIcon:o.CurrencyEthIcon,CurrencyEur:o.CurrencyEur,CurrencyEurIcon:o.CurrencyEurIcon,CurrencyGbp:o.CurrencyGbp,CurrencyGbpIcon:o.CurrencyGbpIcon,CurrencyInr:o.CurrencyInr,CurrencyInrIcon:o.CurrencyInrIcon,CurrencyJpy:o.CurrencyJpy,CurrencyJpyIcon:o.CurrencyJpyIcon,CurrencyKrw:o.CurrencyKrw,CurrencyKrwIcon:o.CurrencyKrwIcon,CurrencyKzt:o.CurrencyKzt,CurrencyKztIcon:o.CurrencyKztIcon,CurrencyNgn:o.CurrencyNgn,CurrencyNgnIcon:o.CurrencyNgnIcon,CurrencyRub:o.CurrencyRub,CurrencyRubIcon:o.CurrencyRubIcon,Cursor:o.Cursor,CursorClick:o.CursorClick,CursorClickIcon:o.CursorClickIcon,CursorIcon:o.CursorIcon,CursorText:o.CursorText,CursorTextIcon:o.CursorTextIcon,Cylinder:o.Cylinder,CylinderIcon:o.CylinderIcon,Database:o.Database,DatabaseIcon:o.DatabaseIcon,Desk:o.Desk,DeskIcon:o.DeskIcon,Desktop:o.Desktop,DesktopIcon:o.DesktopIcon,DesktopTower:o.DesktopTower,DesktopTowerIcon:o.DesktopTowerIcon,Detective:o.Detective,DetectiveIcon:o.DetectiveIcon,DevToLogo:o.DevToLogo,DevToLogoIcon:o.DevToLogoIcon,DeviceMobile:o.DeviceMobile,DeviceMobileCamera:o.DeviceMobileCamera,DeviceMobileCameraIcon:o.DeviceMobileCameraIcon,DeviceMobileIcon:o.DeviceMobileIcon,DeviceMobileSlash:o.DeviceMobileSlash,DeviceMobileSlashIcon:o.DeviceMobileSlashIcon,DeviceMobileSpeaker:o.DeviceMobileSpeaker,DeviceMobileSpeakerIcon:o.DeviceMobileSpeakerIcon,DeviceRotate:o.DeviceRotate,DeviceRotateIcon:o.DeviceRotateIcon,DeviceTablet:o.DeviceTablet,DeviceTabletCamera:o.DeviceTabletCamera,DeviceTabletCameraIcon:o.DeviceTabletCameraIcon,DeviceTabletIcon:o.DeviceTabletIcon,DeviceTabletSpeaker:o.DeviceTabletSpeaker,DeviceTabletSpeakerIcon:o.DeviceTabletSpeakerIcon,Devices:o.Devices,DevicesIcon:o.DevicesIcon,Diamond:o.Diamond,DiamondIcon:o.DiamondIcon,DiamondsFour:o.DiamondsFour,DiamondsFourIcon:o.DiamondsFourIcon,DiceFive:o.DiceFive,DiceFiveIcon:o.DiceFiveIcon,DiceFour:o.DiceFour,DiceFourIcon:o.DiceFourIcon,DiceOne:o.DiceOne,DiceOneIcon:o.DiceOneIcon,DiceSix:o.DiceSix,DiceSixIcon:o.DiceSixIcon,DiceThree:o.DiceThree,DiceThreeIcon:o.DiceThreeIcon,DiceTwo:o.DiceTwo,DiceTwoIcon:o.DiceTwoIcon,Disc:o.Disc,DiscIcon:o.DiscIcon,DiscoBall:o.DiscoBall,DiscoBallIcon:o.DiscoBallIcon,DiscordLogo:o.DiscordLogo,DiscordLogoIcon:o.DiscordLogoIcon,Divide:o.Divide,DivideIcon:o.DivideIcon,Dna:o.Dna,DnaIcon:o.DnaIcon,Dog:o.Dog,DogIcon:o.DogIcon,Door:o.Door,DoorIcon:o.DoorIcon,DoorOpen:o.DoorOpen,DoorOpenIcon:o.DoorOpenIcon,Dot:o.Dot,DotIcon:o.DotIcon,DotOutline:o.DotOutline,DotOutlineIcon:o.DotOutlineIcon,DotsNine:o.DotsNine,DotsNineIcon:o.DotsNineIcon,DotsSix:o.DotsSix,DotsSixIcon:o.DotsSixIcon,DotsSixVertical:o.DotsSixVertical,DotsSixVerticalIcon:o.DotsSixVerticalIcon,DotsThree:o.DotsThree,DotsThreeCircle:o.DotsThreeCircle,DotsThreeCircleIcon:o.DotsThreeCircleIcon,DotsThreeCircleVertical:o.DotsThreeCircleVertical,DotsThreeCircleVerticalIcon:o.DotsThreeCircleVerticalIcon,DotsThreeIcon:o.DotsThreeIcon,DotsThreeOutline:o.DotsThreeOutline,DotsThreeOutlineIcon:o.DotsThreeOutlineIcon,DotsThreeOutlineVertical:o.DotsThreeOutlineVertical,DotsThreeOutlineVerticalIcon:o.DotsThreeOutlineVerticalIcon,DotsThreeVertical:o.DotsThreeVertical,DotsThreeVerticalIcon:o.DotsThreeVerticalIcon,Download:o.Download,DownloadIcon:o.DownloadIcon,DownloadSimple:o.DownloadSimple,DownloadSimpleIcon:o.DownloadSimpleIcon,Dress:o.Dress,DressIcon:o.DressIcon,Dresser:o.Dresser,DresserIcon:o.DresserIcon,DribbbleLogo:o.DribbbleLogo,DribbbleLogoIcon:o.DribbbleLogoIcon,Drone:o.Drone,DroneIcon:o.DroneIcon,Drop:o.Drop,DropHalf:o.DropHalf,DropHalfBottom:o.DropHalfBottom,DropHalfBottomIcon:o.DropHalfBottomIcon,DropHalfIcon:o.DropHalfIcon,DropIcon:o.DropIcon,DropSimple:o.DropSimple,DropSimpleIcon:o.DropSimpleIcon,DropSlash:o.DropSlash,DropSlashIcon:o.DropSlashIcon,DropboxLogo:o.DropboxLogo,DropboxLogoIcon:o.DropboxLogoIcon,Ear:o.Ear,EarIcon:o.EarIcon,EarSlash:o.EarSlash,EarSlashIcon:o.EarSlashIcon,Egg:o.Egg,EggCrack:o.EggCrack,EggCrackIcon:o.EggCrackIcon,EggIcon:o.EggIcon,Eject:o.Eject,EjectIcon:o.EjectIcon,EjectSimple:o.EjectSimple,EjectSimpleIcon:o.EjectSimpleIcon,Elevator:o.Elevator,ElevatorIcon:o.ElevatorIcon,Empty:o.Empty,EmptyIcon:o.EmptyIcon,Engine:o.Engine,EngineIcon:o.EngineIcon,Envelope:o.Envelope,EnvelopeIcon:o.EnvelopeIcon,EnvelopeOpen:o.EnvelopeOpen,EnvelopeOpenIcon:o.EnvelopeOpenIcon,EnvelopeSimple:o.EnvelopeSimple,EnvelopeSimpleIcon:o.EnvelopeSimpleIcon,EnvelopeSimpleOpen:o.EnvelopeSimpleOpen,EnvelopeSimpleOpenIcon:o.EnvelopeSimpleOpenIcon,Equalizer:o.Equalizer,EqualizerIcon:o.EqualizerIcon,Equals:o.Equals,EqualsIcon:o.EqualsIcon,Eraser:o.Eraser,EraserIcon:o.EraserIcon,EscalatorDown:o.EscalatorDown,EscalatorDownIcon:o.EscalatorDownIcon,EscalatorUp:o.EscalatorUp,EscalatorUpIcon:o.EscalatorUpIcon,Exam:o.Exam,ExamIcon:o.ExamIcon,ExclamationMark:o.ExclamationMark,ExclamationMarkIcon:o.ExclamationMarkIcon,Exclude:o.Exclude,ExcludeIcon:o.ExcludeIcon,ExcludeSquare:o.ExcludeSquare,ExcludeSquareIcon:o.ExcludeSquareIcon,Export:o.Export,ExportIcon:o.ExportIcon,Eye:o.Eye,EyeClosed:o.EyeClosed,EyeClosedIcon:o.EyeClosedIcon,EyeIcon:o.EyeIcon,EyeSlash:o.EyeSlash,EyeSlashIcon:o.EyeSlashIcon,Eyedropper:o.Eyedropper,EyedropperIcon:o.EyedropperIcon,EyedropperSample:o.EyedropperSample,EyedropperSampleIcon:o.EyedropperSampleIcon,Eyeglasses:o.Eyeglasses,EyeglassesIcon:o.EyeglassesIcon,Eyes:o.Eyes,EyesIcon:o.EyesIcon,FaceMask:o.FaceMask,FaceMaskIcon:o.FaceMaskIcon,FacebookLogo:o.FacebookLogo,FacebookLogoIcon:o.FacebookLogoIcon,Factory:o.Factory,FactoryIcon:o.FactoryIcon,Faders:o.Faders,FadersHorizontal:o.FadersHorizontal,FadersHorizontalIcon:o.FadersHorizontalIcon,FadersIcon:o.FadersIcon,FalloutShelter:o.FalloutShelter,FalloutShelterIcon:o.FalloutShelterIcon,Fan:o.Fan,FanIcon:o.FanIcon,Farm:o.Farm,FarmIcon:o.FarmIcon,FastForward:o.FastForward,FastForwardCircle:o.FastForwardCircle,FastForwardCircleIcon:o.FastForwardCircleIcon,FastForwardIcon:o.FastForwardIcon,Feather:o.Feather,FeatherIcon:o.FeatherIcon,FediverseLogo:o.FediverseLogo,FediverseLogoIcon:o.FediverseLogoIcon,FigmaLogo:o.FigmaLogo,FigmaLogoIcon:o.FigmaLogoIcon,File:o.File,FileArchive:o.FileArchive,FileArchiveIcon:o.FileArchiveIcon,FileArrowDown:o.FileArrowDown,FileArrowDownIcon:o.FileArrowDownIcon,FileArrowUp:o.FileArrowUp,FileArrowUpIcon:o.FileArrowUpIcon,FileAudio:o.FileAudio,FileAudioIcon:o.FileAudioIcon,FileC:o.FileC,FileCIcon:o.FileCIcon,FileCSharp:o.FileCSharp,FileCSharpIcon:o.FileCSharpIcon,FileCloud:o.FileCloud,FileCloudIcon:o.FileCloudIcon,FileCode:o.FileCode,FileCodeIcon:o.FileCodeIcon,FileCpp:o.FileCpp,FileCppIcon:o.FileCppIcon,FileCss:o.FileCss,FileCssIcon:o.FileCssIcon,FileCsv:o.FileCsv,FileCsvIcon:o.FileCsvIcon,FileDashed:o.FileDashed,FileDashedIcon:o.FileDashedIcon,FileDoc:o.FileDoc,FileDocIcon:o.FileDocIcon,FileDottedIcon:o.FileDottedIcon,FileHtml:o.FileHtml,FileHtmlIcon:o.FileHtmlIcon,FileIcon:o.FileIcon,FileImage:o.FileImage,FileImageIcon:o.FileImageIcon,FileIni:o.FileIni,FileIniIcon:o.FileIniIcon,FileJpg:o.FileJpg,FileJpgIcon:o.FileJpgIcon,FileJs:o.FileJs,FileJsIcon:o.FileJsIcon,FileJsx:o.FileJsx,FileJsxIcon:o.FileJsxIcon,FileLock:o.FileLock,FileLockIcon:o.FileLockIcon,FileMagnifyingGlass:o.FileMagnifyingGlass,FileMagnifyingGlassIcon:o.FileMagnifyingGlassIcon,FileMd:o.FileMd,FileMdIcon:o.FileMdIcon,FileMinus:o.FileMinus,FileMinusIcon:o.FileMinusIcon,FilePdf:o.FilePdf,FilePdfIcon:o.FilePdfIcon,FilePlus:o.FilePlus,FilePlusIcon:o.FilePlusIcon,FilePng:o.FilePng,FilePngIcon:o.FilePngIcon,FilePpt:o.FilePpt,FilePptIcon:o.FilePptIcon,FilePy:o.FilePy,FilePyIcon:o.FilePyIcon,FileRs:o.FileRs,FileRsIcon:o.FileRsIcon,FileSearchIcon:o.FileSearchIcon,FileSql:o.FileSql,FileSqlIcon:o.FileSqlIcon,FileSvg:o.FileSvg,FileSvgIcon:o.FileSvgIcon,FileText:o.FileText,FileTextIcon:o.FileTextIcon,FileTs:o.FileTs,FileTsIcon:o.FileTsIcon,FileTsx:o.FileTsx,FileTsxIcon:o.FileTsxIcon,FileTxt:o.FileTxt,FileTxtIcon:o.FileTxtIcon,FileVideo:o.FileVideo,FileVideoIcon:o.FileVideoIcon,FileVue:o.FileVue,FileVueIcon:o.FileVueIcon,FileX:o.FileX,FileXIcon:o.FileXIcon,FileXls:o.FileXls,FileXlsIcon:o.FileXlsIcon,FileZip:o.FileZip,FileZipIcon:o.FileZipIcon,Files:o.Files,FilesIcon:o.FilesIcon,FilmReel:o.FilmReel,FilmReelIcon:o.FilmReelIcon,FilmScript:o.FilmScript,FilmScriptIcon:o.FilmScriptIcon,FilmSlate:o.FilmSlate,FilmSlateIcon:o.FilmSlateIcon,FilmStrip:o.FilmStrip,FilmStripIcon:o.FilmStripIcon,Fingerprint:o.Fingerprint,FingerprintIcon:o.FingerprintIcon,FingerprintSimple:o.FingerprintSimple,FingerprintSimpleIcon:o.FingerprintSimpleIcon,FinnTheHuman:o.FinnTheHuman,FinnTheHumanIcon:o.FinnTheHumanIcon,Fire:o.Fire,FireExtinguisher:o.FireExtinguisher,FireExtinguisherIcon:o.FireExtinguisherIcon,FireIcon:o.FireIcon,FireSimple:o.FireSimple,FireSimpleIcon:o.FireSimpleIcon,FireTruck:o.FireTruck,FireTruckIcon:o.FireTruckIcon,FirstAid:o.FirstAid,FirstAidIcon:o.FirstAidIcon,FirstAidKit:o.FirstAidKit,FirstAidKitIcon:o.FirstAidKitIcon,Fish:o.Fish,FishIcon:o.FishIcon,FishSimple:o.FishSimple,FishSimpleIcon:o.FishSimpleIcon,Flag:o.Flag,FlagBanner:o.FlagBanner,FlagBannerFold:o.FlagBannerFold,FlagBannerFoldIcon:o.FlagBannerFoldIcon,FlagBannerIcon:o.FlagBannerIcon,FlagCheckered:o.FlagCheckered,FlagCheckeredIcon:o.FlagCheckeredIcon,FlagIcon:o.FlagIcon,FlagPennant:o.FlagPennant,FlagPennantIcon:o.FlagPennantIcon,Flame:o.Flame,FlameIcon:o.FlameIcon,Flashlight:o.Flashlight,FlashlightIcon:o.FlashlightIcon,Flask:o.Flask,FlaskIcon:o.FlaskIcon,FlipHorizontal:o.FlipHorizontal,FlipHorizontalIcon:o.FlipHorizontalIcon,FlipVertical:o.FlipVertical,FlipVerticalIcon:o.FlipVerticalIcon,FloppyDisk:o.FloppyDisk,FloppyDiskBack:o.FloppyDiskBack,FloppyDiskBackIcon:o.FloppyDiskBackIcon,FloppyDiskIcon:o.FloppyDiskIcon,FlowArrow:o.FlowArrow,FlowArrowIcon:o.FlowArrowIcon,Flower:o.Flower,FlowerIcon:o.FlowerIcon,FlowerLotus:o.FlowerLotus,FlowerLotusIcon:o.FlowerLotusIcon,FlowerTulip:o.FlowerTulip,FlowerTulipIcon:o.FlowerTulipIcon,FlyingSaucer:o.FlyingSaucer,FlyingSaucerIcon:o.FlyingSaucerIcon,Folder:o.Folder,FolderDashed:o.FolderDashed,FolderDashedIcon:o.FolderDashedIcon,FolderDottedIcon:o.FolderDottedIcon,FolderIcon:o.FolderIcon,FolderLock:o.FolderLock,FolderLockIcon:o.FolderLockIcon,FolderMinus:o.FolderMinus,FolderMinusIcon:o.FolderMinusIcon,FolderNotchIcon:o.FolderNotchIcon,FolderNotchMinusIcon:o.FolderNotchMinusIcon,FolderNotchOpenIcon:o.FolderNotchOpenIcon,FolderNotchPlusIcon:o.FolderNotchPlusIcon,FolderOpen:o.FolderOpen,FolderOpenIcon:o.FolderOpenIcon,FolderPlus:o.FolderPlus,FolderPlusIcon:o.FolderPlusIcon,FolderSimple:o.FolderSimple,FolderSimpleDashed:o.FolderSimpleDashed,FolderSimpleDashedIcon:o.FolderSimpleDashedIcon,FolderSimpleDottedIcon:o.FolderSimpleDottedIcon,FolderSimpleIcon:o.FolderSimpleIcon,FolderSimpleLock:o.FolderSimpleLock,FolderSimpleLockIcon:o.FolderSimpleLockIcon,FolderSimpleMinus:o.FolderSimpleMinus,FolderSimpleMinusIcon:o.FolderSimpleMinusIcon,FolderSimplePlus:o.FolderSimplePlus,FolderSimplePlusIcon:o.FolderSimplePlusIcon,FolderSimpleStar:o.FolderSimpleStar,FolderSimpleStarIcon:o.FolderSimpleStarIcon,FolderSimpleUser:o.FolderSimpleUser,FolderSimpleUserIcon:o.FolderSimpleUserIcon,FolderStar:o.FolderStar,FolderStarIcon:o.FolderStarIcon,FolderUser:o.FolderUser,FolderUserIcon:o.FolderUserIcon,Folders:o.Folders,FoldersIcon:o.FoldersIcon,Football:o.Football,FootballHelmet:o.FootballHelmet,FootballHelmetIcon:o.FootballHelmetIcon,FootballIcon:o.FootballIcon,Footprints:o.Footprints,FootprintsIcon:o.FootprintsIcon,ForkKnife:o.ForkKnife,ForkKnifeIcon:o.ForkKnifeIcon,FourK:o.FourK,FourKIcon:o.FourKIcon,FrameCorners:o.FrameCorners,FrameCornersIcon:o.FrameCornersIcon,FramerLogo:o.FramerLogo,FramerLogoIcon:o.FramerLogoIcon,Function:o.Function,FunctionIcon:o.FunctionIcon,Funnel:o.Funnel,FunnelIcon:o.FunnelIcon,FunnelSimple:o.FunnelSimple,FunnelSimpleIcon:o.FunnelSimpleIcon,FunnelSimpleX:o.FunnelSimpleX,FunnelSimpleXIcon:o.FunnelSimpleXIcon,FunnelX:o.FunnelX,FunnelXIcon:o.FunnelXIcon,GameController:o.GameController,GameControllerIcon:o.GameControllerIcon,Garage:o.Garage,GarageIcon:o.GarageIcon,GasCan:o.GasCan,GasCanIcon:o.GasCanIcon,GasPump:o.GasPump,GasPumpIcon:o.GasPumpIcon,Gauge:o.Gauge,GaugeIcon:o.GaugeIcon,Gavel:o.Gavel,GavelIcon:o.GavelIcon,Gear:o.Gear,GearFine:o.GearFine,GearFineIcon:o.GearFineIcon,GearIcon:o.GearIcon,GearSix:o.GearSix,GearSixIcon:o.GearSixIcon,GenderFemale:o.GenderFemale,GenderFemaleIcon:o.GenderFemaleIcon,GenderIntersex:o.GenderIntersex,GenderIntersexIcon:o.GenderIntersexIcon,GenderMale:o.GenderMale,GenderMaleIcon:o.GenderMaleIcon,GenderNeuter:o.GenderNeuter,GenderNeuterIcon:o.GenderNeuterIcon,GenderNonbinary:o.GenderNonbinary,GenderNonbinaryIcon:o.GenderNonbinaryIcon,GenderTransgender:o.GenderTransgender,GenderTransgenderIcon:o.GenderTransgenderIcon,Ghost:o.Ghost,GhostIcon:o.GhostIcon,Gif:o.Gif,GifIcon:o.GifIcon,Gift:o.Gift,GiftIcon:o.GiftIcon,GitBranch:o.GitBranch,GitBranchIcon:o.GitBranchIcon,GitCommit:o.GitCommit,GitCommitIcon:o.GitCommitIcon,GitDiff:o.GitDiff,GitDiffIcon:o.GitDiffIcon,GitFork:o.GitFork,GitForkIcon:o.GitForkIcon,GitMerge:o.GitMerge,GitMergeIcon:o.GitMergeIcon,GitPullRequest:o.GitPullRequest,GitPullRequestIcon:o.GitPullRequestIcon,GithubLogo:o.GithubLogo,GithubLogoIcon:o.GithubLogoIcon,GitlabLogo:o.GitlabLogo,GitlabLogoIcon:o.GitlabLogoIcon,GitlabLogoSimple:o.GitlabLogoSimple,GitlabLogoSimpleIcon:o.GitlabLogoSimpleIcon,Globe:o.Globe,GlobeHemisphereEast:o.GlobeHemisphereEast,GlobeHemisphereEastIcon:o.GlobeHemisphereEastIcon,GlobeHemisphereWest:o.GlobeHemisphereWest,GlobeHemisphereWestIcon:o.GlobeHemisphereWestIcon,GlobeIcon:o.GlobeIcon,GlobeSimple:o.GlobeSimple,GlobeSimpleIcon:o.GlobeSimpleIcon,GlobeSimpleX:o.GlobeSimpleX,GlobeSimpleXIcon:o.GlobeSimpleXIcon,GlobeStand:o.GlobeStand,GlobeStandIcon:o.GlobeStandIcon,GlobeX:o.GlobeX,GlobeXIcon:o.GlobeXIcon,Goggles:o.Goggles,GogglesIcon:o.GogglesIcon,Golf:o.Golf,GolfIcon:o.GolfIcon,GoodreadsLogo:o.GoodreadsLogo,GoodreadsLogoIcon:o.GoodreadsLogoIcon,GoogleCardboardLogo:o.GoogleCardboardLogo,GoogleCardboardLogoIcon:o.GoogleCardboardLogoIcon,GoogleChromeLogo:o.GoogleChromeLogo,GoogleChromeLogoIcon:o.GoogleChromeLogoIcon,GoogleDriveLogo:o.GoogleDriveLogo,GoogleDriveLogoIcon:o.GoogleDriveLogoIcon,GoogleLogo:o.GoogleLogo,GoogleLogoIcon:o.GoogleLogoIcon,GooglePhotosLogo:o.GooglePhotosLogo,GooglePhotosLogoIcon:o.GooglePhotosLogoIcon,GooglePlayLogo:o.GooglePlayLogo,GooglePlayLogoIcon:o.GooglePlayLogoIcon,GooglePodcastsLogo:o.GooglePodcastsLogo,GooglePodcastsLogoIcon:o.GooglePodcastsLogoIcon,Gps:o.Gps,GpsFix:o.GpsFix,GpsFixIcon:o.GpsFixIcon,GpsIcon:o.GpsIcon,GpsSlash:o.GpsSlash,GpsSlashIcon:o.GpsSlashIcon,Gradient:o.Gradient,GradientIcon:o.GradientIcon,GraduationCap:o.GraduationCap,GraduationCapIcon:o.GraduationCapIcon,Grains:o.Grains,GrainsIcon:o.GrainsIcon,GrainsSlash:o.GrainsSlash,GrainsSlashIcon:o.GrainsSlashIcon,Graph:o.Graph,GraphIcon:o.GraphIcon,GraphicsCard:o.GraphicsCard,GraphicsCardIcon:o.GraphicsCardIcon,GreaterThan:o.GreaterThan,GreaterThanIcon:o.GreaterThanIcon,GreaterThanOrEqual:o.GreaterThanOrEqual,GreaterThanOrEqualIcon:o.GreaterThanOrEqualIcon,GridFour:o.GridFour,GridFourIcon:o.GridFourIcon,GridNine:o.GridNine,GridNineIcon:o.GridNineIcon,Guitar:o.Guitar,GuitarIcon:o.GuitarIcon,HairDryer:o.HairDryer,HairDryerIcon:o.HairDryerIcon,Hamburger:o.Hamburger,HamburgerIcon:o.HamburgerIcon,Hammer:o.Hammer,HammerIcon:o.HammerIcon,Hand:o.Hand,HandArrowDown:o.HandArrowDown,HandArrowDownIcon:o.HandArrowDownIcon,HandArrowUp:o.HandArrowUp,HandArrowUpIcon:o.HandArrowUpIcon,HandCoins:o.HandCoins,HandCoinsIcon:o.HandCoinsIcon,HandDeposit:o.HandDeposit,HandDepositIcon:o.HandDepositIcon,HandEye:o.HandEye,HandEyeIcon:o.HandEyeIcon,HandFist:o.HandFist,HandFistIcon:o.HandFistIcon,HandGrabbing:o.HandGrabbing,HandGrabbingIcon:o.HandGrabbingIcon,HandHeart:o.HandHeart,HandHeartIcon:o.HandHeartIcon,HandIcon:o.HandIcon,HandPalm:o.HandPalm,HandPalmIcon:o.HandPalmIcon,HandPeace:o.HandPeace,HandPeaceIcon:o.HandPeaceIcon,HandPointing:o.HandPointing,HandPointingIcon:o.HandPointingIcon,HandSoap:o.HandSoap,HandSoapIcon:o.HandSoapIcon,HandSwipeLeft:o.HandSwipeLeft,HandSwipeLeftIcon:o.HandSwipeLeftIcon,HandSwipeRight:o.HandSwipeRight,HandSwipeRightIcon:o.HandSwipeRightIcon,HandTap:o.HandTap,HandTapIcon:o.HandTapIcon,HandWaving:o.HandWaving,HandWavingIcon:o.HandWavingIcon,HandWithdraw:o.HandWithdraw,HandWithdrawIcon:o.HandWithdrawIcon,Handbag:o.Handbag,HandbagIcon:o.HandbagIcon,HandbagSimple:o.HandbagSimple,HandbagSimpleIcon:o.HandbagSimpleIcon,HandsClapping:o.HandsClapping,HandsClappingIcon:o.HandsClappingIcon,HandsPraying:o.HandsPraying,HandsPrayingIcon:o.HandsPrayingIcon,Handshake:o.Handshake,HandshakeIcon:o.HandshakeIcon,HardDrive:o.HardDrive,HardDriveIcon:o.HardDriveIcon,HardDrives:o.HardDrives,HardDrivesIcon:o.HardDrivesIcon,HardHat:o.HardHat,HardHatIcon:o.HardHatIcon,Hash:o.Hash,HashIcon:o.HashIcon,HashStraight:o.HashStraight,HashStraightIcon:o.HashStraightIcon,HeadCircuit:o.HeadCircuit,HeadCircuitIcon:o.HeadCircuitIcon,Headlights:o.Headlights,HeadlightsIcon:o.HeadlightsIcon,Headphones:o.Headphones,HeadphonesIcon:o.HeadphonesIcon,Headset:o.Headset,HeadsetIcon:o.HeadsetIcon,Heart:o.Heart,HeartBreak:o.HeartBreak,HeartBreakIcon:o.HeartBreakIcon,HeartHalf:o.HeartHalf,HeartHalfIcon:o.HeartHalfIcon,HeartIcon:o.HeartIcon,HeartStraight:o.HeartStraight,HeartStraightBreak:o.HeartStraightBreak,HeartStraightBreakIcon:o.HeartStraightBreakIcon,HeartStraightIcon:o.HeartStraightIcon,Heartbeat:o.Heartbeat,HeartbeatIcon:o.HeartbeatIcon,Hexagon:o.Hexagon,HexagonIcon:o.HexagonIcon,HighDefinition:o.HighDefinition,HighDefinitionIcon:o.HighDefinitionIcon,HighHeel:o.HighHeel,HighHeelIcon:o.HighHeelIcon,Highlighter:o.Highlighter,HighlighterCircle:o.HighlighterCircle,HighlighterCircleIcon:o.HighlighterCircleIcon,HighlighterIcon:o.HighlighterIcon,Hockey:o.Hockey,HockeyIcon:o.HockeyIcon,Hoodie:o.Hoodie,HoodieIcon:o.HoodieIcon,Horse:o.Horse,HorseIcon:o.HorseIcon,Hospital:o.Hospital,HospitalIcon:o.HospitalIcon,Hourglass:o.Hourglass,HourglassHigh:o.HourglassHigh,HourglassHighIcon:o.HourglassHighIcon,HourglassIcon:o.HourglassIcon,HourglassLow:o.HourglassLow,HourglassLowIcon:o.HourglassLowIcon,HourglassMedium:o.HourglassMedium,HourglassMediumIcon:o.HourglassMediumIcon,HourglassSimple:o.HourglassSimple,HourglassSimpleHigh:o.HourglassSimpleHigh,HourglassSimpleHighIcon:o.HourglassSimpleHighIcon,HourglassSimpleIcon:o.HourglassSimpleIcon,HourglassSimpleLow:o.HourglassSimpleLow,HourglassSimpleLowIcon:o.HourglassSimpleLowIcon,HourglassSimpleMedium:o.HourglassSimpleMedium,HourglassSimpleMediumIcon:o.HourglassSimpleMediumIcon,House:o.House,HouseIcon:o.HouseIcon,HouseLine:o.HouseLine,HouseLineIcon:o.HouseLineIcon,HouseSimple:o.HouseSimple,HouseSimpleIcon:o.HouseSimpleIcon,Hurricane:o.Hurricane,HurricaneIcon:o.HurricaneIcon,IceCream:o.IceCream,IceCreamIcon:o.IceCreamIcon,IconBase:o.IconBase,IconContext:o.IconContext,IdentificationBadge:o.IdentificationBadge,IdentificationBadgeIcon:o.IdentificationBadgeIcon,IdentificationCard:o.IdentificationCard,IdentificationCardIcon:o.IdentificationCardIcon,Image:o.Image,ImageBroken:o.ImageBroken,ImageBrokenIcon:o.ImageBrokenIcon,ImageIcon:o.ImageIcon,ImageSquare:o.ImageSquare,ImageSquareIcon:o.ImageSquareIcon,Images:o.Images,ImagesIcon:o.ImagesIcon,ImagesSquare:o.ImagesSquare,ImagesSquareIcon:o.ImagesSquareIcon,Infinity:o.Infinity,InfinityIcon:o.InfinityIcon,Info:o.Info,InfoIcon:o.InfoIcon,InstagramLogo:o.InstagramLogo,InstagramLogoIcon:o.InstagramLogoIcon,Intersect:o.Intersect,IntersectIcon:o.IntersectIcon,IntersectSquare:o.IntersectSquare,IntersectSquareIcon:o.IntersectSquareIcon,IntersectThree:o.IntersectThree,IntersectThreeIcon:o.IntersectThreeIcon,Intersection:o.Intersection,IntersectionIcon:o.IntersectionIcon,Invoice:o.Invoice,InvoiceIcon:o.InvoiceIcon,Island:o.Island,IslandIcon:o.IslandIcon,Jar:o.Jar,JarIcon:o.JarIcon,JarLabel:o.JarLabel,JarLabelIcon:o.JarLabelIcon,Jeep:o.Jeep,JeepIcon:o.JeepIcon,Joystick:o.Joystick,JoystickIcon:o.JoystickIcon,Kanban:o.Kanban,KanbanIcon:o.KanbanIcon,Key:o.Key,KeyIcon:o.KeyIcon,KeyReturn:o.KeyReturn,KeyReturnIcon:o.KeyReturnIcon,Keyboard:o.Keyboard,KeyboardIcon:o.KeyboardIcon,Keyhole:o.Keyhole,KeyholeIcon:o.KeyholeIcon,Knife:o.Knife,KnifeIcon:o.KnifeIcon,Ladder:o.Ladder,LadderIcon:o.LadderIcon,LadderSimple:o.LadderSimple,LadderSimpleIcon:o.LadderSimpleIcon,Lamp:o.Lamp,LampIcon:o.LampIcon,LampPendant:o.LampPendant,LampPendantIcon:o.LampPendantIcon,Laptop:o.Laptop,LaptopIcon:o.LaptopIcon,Lasso:o.Lasso,LassoIcon:o.LassoIcon,LastfmLogo:o.LastfmLogo,LastfmLogoIcon:o.LastfmLogoIcon,Layout:o.Layout,LayoutIcon:o.LayoutIcon,Leaf:o.Leaf,LeafIcon:o.LeafIcon,Lectern:o.Lectern,LecternIcon:o.LecternIcon,Lego:o.Lego,LegoIcon:o.LegoIcon,LegoSmiley:o.LegoSmiley,LegoSmileyIcon:o.LegoSmileyIcon,LemniscateIcon:o.LemniscateIcon,LessThan:o.LessThan,LessThanIcon:o.LessThanIcon,LessThanOrEqual:o.LessThanOrEqual,LessThanOrEqualIcon:o.LessThanOrEqualIcon,LetterCircleH:o.LetterCircleH,LetterCircleHIcon:o.LetterCircleHIcon,LetterCircleP:o.LetterCircleP,LetterCirclePIcon:o.LetterCirclePIcon,LetterCircleV:o.LetterCircleV,LetterCircleVIcon:o.LetterCircleVIcon,Lifebuoy:o.Lifebuoy,LifebuoyIcon:o.LifebuoyIcon,Lightbulb:o.Lightbulb,LightbulbFilament:o.LightbulbFilament,LightbulbFilamentIcon:o.LightbulbFilamentIcon,LightbulbIcon:o.LightbulbIcon,Lighthouse:o.Lighthouse,LighthouseIcon:o.LighthouseIcon,Lightning:o.Lightning,LightningA:o.LightningA,LightningAIcon:o.LightningAIcon,LightningIcon:o.LightningIcon,LightningSlash:o.LightningSlash,LightningSlashIcon:o.LightningSlashIcon,LineSegment:o.LineSegment,LineSegmentIcon:o.LineSegmentIcon,LineSegments:o.LineSegments,LineSegmentsIcon:o.LineSegmentsIcon,LineVertical:o.LineVertical,LineVerticalIcon:o.LineVerticalIcon,Link:o.Link,LinkBreak:o.LinkBreak,LinkBreakIcon:o.LinkBreakIcon,LinkIcon:o.LinkIcon,LinkSimple:o.LinkSimple,LinkSimpleBreak:o.LinkSimpleBreak,LinkSimpleBreakIcon:o.LinkSimpleBreakIcon,LinkSimpleHorizontal:o.LinkSimpleHorizontal,LinkSimpleHorizontalBreak:o.LinkSimpleHorizontalBreak,LinkSimpleHorizontalBreakIcon:o.LinkSimpleHorizontalBreakIcon,LinkSimpleHorizontalIcon:o.LinkSimpleHorizontalIcon,LinkSimpleIcon:o.LinkSimpleIcon,LinkedinLogo:o.LinkedinLogo,LinkedinLogoIcon:o.LinkedinLogoIcon,LinktreeLogo:o.LinktreeLogo,LinktreeLogoIcon:o.LinktreeLogoIcon,LinuxLogo:o.LinuxLogo,LinuxLogoIcon:o.LinuxLogoIcon,List:o.List,ListBullets:o.ListBullets,ListBulletsIcon:o.ListBulletsIcon,ListChecks:o.ListChecks,ListChecksIcon:o.ListChecksIcon,ListDashes:o.ListDashes,ListDashesIcon:o.ListDashesIcon,ListHeart:o.ListHeart,ListHeartIcon:o.ListHeartIcon,ListIcon:o.ListIcon,ListMagnifyingGlass:o.ListMagnifyingGlass,ListMagnifyingGlassIcon:o.ListMagnifyingGlassIcon,ListNumbers:o.ListNumbers,ListNumbersIcon:o.ListNumbersIcon,ListPlus:o.ListPlus,ListPlusIcon:o.ListPlusIcon,ListStar:o.ListStar,ListStarIcon:o.ListStarIcon,Lock:o.Lock,LockIcon:o.LockIcon,LockKey:o.LockKey,LockKeyIcon:o.LockKeyIcon,LockKeyOpen:o.LockKeyOpen,LockKeyOpenIcon:o.LockKeyOpenIcon,LockLaminated:o.LockLaminated,LockLaminatedIcon:o.LockLaminatedIcon,LockLaminatedOpen:o.LockLaminatedOpen,LockLaminatedOpenIcon:o.LockLaminatedOpenIcon,LockOpen:o.LockOpen,LockOpenIcon:o.LockOpenIcon,LockSimple:o.LockSimple,LockSimpleIcon:o.LockSimpleIcon,LockSimpleOpen:o.LockSimpleOpen,LockSimpleOpenIcon:o.LockSimpleOpenIcon,Lockers:o.Lockers,LockersIcon:o.LockersIcon,Log:o.Log,LogIcon:o.LogIcon,MagicWand:o.MagicWand,MagicWandIcon:o.MagicWandIcon,Magnet:o.Magnet,MagnetIcon:o.MagnetIcon,MagnetStraight:o.MagnetStraight,MagnetStraightIcon:o.MagnetStraightIcon,MagnifyingGlass:o.MagnifyingGlass,MagnifyingGlassIcon:o.MagnifyingGlassIcon,MagnifyingGlassMinus:o.MagnifyingGlassMinus,MagnifyingGlassMinusIcon:o.MagnifyingGlassMinusIcon,MagnifyingGlassPlus:o.MagnifyingGlassPlus,MagnifyingGlassPlusIcon:o.MagnifyingGlassPlusIcon,Mailbox:o.Mailbox,MailboxIcon:o.MailboxIcon,MapPin:o.MapPin,MapPinArea:o.MapPinArea,MapPinAreaIcon:o.MapPinAreaIcon,MapPinIcon:o.MapPinIcon,MapPinLine:o.MapPinLine,MapPinLineIcon:o.MapPinLineIcon,MapPinPlus:o.MapPinPlus,MapPinPlusIcon:o.MapPinPlusIcon,MapPinSimple:o.MapPinSimple,MapPinSimpleArea:o.MapPinSimpleArea,MapPinSimpleAreaIcon:o.MapPinSimpleAreaIcon,MapPinSimpleIcon:o.MapPinSimpleIcon,MapPinSimpleLine:o.MapPinSimpleLine,MapPinSimpleLineIcon:o.MapPinSimpleLineIcon,MapTrifold:o.MapTrifold,MapTrifoldIcon:o.MapTrifoldIcon,MarkdownLogo:o.MarkdownLogo,MarkdownLogoIcon:o.MarkdownLogoIcon,MarkerCircle:o.MarkerCircle,MarkerCircleIcon:o.MarkerCircleIcon,Martini:o.Martini,MartiniIcon:o.MartiniIcon,MaskHappy:o.MaskHappy,MaskHappyIcon:o.MaskHappyIcon,MaskSad:o.MaskSad,MaskSadIcon:o.MaskSadIcon,MastodonLogo:o.MastodonLogo,MastodonLogoIcon:o.MastodonLogoIcon,MathOperations:o.MathOperations,MathOperationsIcon:o.MathOperationsIcon,MatrixLogo:o.MatrixLogo,MatrixLogoIcon:o.MatrixLogoIcon,Medal:o.Medal,MedalIcon:o.MedalIcon,MedalMilitary:o.MedalMilitary,MedalMilitaryIcon:o.MedalMilitaryIcon,MediumLogo:o.MediumLogo,MediumLogoIcon:o.MediumLogoIcon,Megaphone:o.Megaphone,MegaphoneIcon:o.MegaphoneIcon,MegaphoneSimple:o.MegaphoneSimple,MegaphoneSimpleIcon:o.MegaphoneSimpleIcon,MemberOf:o.MemberOf,MemberOfIcon:o.MemberOfIcon,Memory:o.Memory,MemoryIcon:o.MemoryIcon,MessengerLogo:o.MessengerLogo,MessengerLogoIcon:o.MessengerLogoIcon,MetaLogo:o.MetaLogo,MetaLogoIcon:o.MetaLogoIcon,Meteor:o.Meteor,MeteorIcon:o.MeteorIcon,Metronome:o.Metronome,MetronomeIcon:o.MetronomeIcon,Microphone:o.Microphone,MicrophoneIcon:o.MicrophoneIcon,MicrophoneSlash:o.MicrophoneSlash,MicrophoneSlashIcon:o.MicrophoneSlashIcon,MicrophoneStage:o.MicrophoneStage,MicrophoneStageIcon:o.MicrophoneStageIcon,Microscope:o.Microscope,MicroscopeIcon:o.MicroscopeIcon,MicrosoftExcelLogo:o.MicrosoftExcelLogo,MicrosoftExcelLogoIcon:o.MicrosoftExcelLogoIcon,MicrosoftOutlookLogo:o.MicrosoftOutlookLogo,MicrosoftOutlookLogoIcon:o.MicrosoftOutlookLogoIcon,MicrosoftPowerpointLogo:o.MicrosoftPowerpointLogo,MicrosoftPowerpointLogoIcon:o.MicrosoftPowerpointLogoIcon,MicrosoftTeamsLogo:o.MicrosoftTeamsLogo,MicrosoftTeamsLogoIcon:o.MicrosoftTeamsLogoIcon,MicrosoftWordLogo:o.MicrosoftWordLogo,MicrosoftWordLogoIcon:o.MicrosoftWordLogoIcon,Minus:o.Minus,MinusCircle:o.MinusCircle,MinusCircleIcon:o.MinusCircleIcon,MinusIcon:o.MinusIcon,MinusSquare:o.MinusSquare,MinusSquareIcon:o.MinusSquareIcon,Money:o.Money,MoneyIcon:o.MoneyIcon,MoneyWavy:o.MoneyWavy,MoneyWavyIcon:o.MoneyWavyIcon,Monitor:o.Monitor,MonitorArrowUp:o.MonitorArrowUp,MonitorArrowUpIcon:o.MonitorArrowUpIcon,MonitorIcon:o.MonitorIcon,MonitorPlay:o.MonitorPlay,MonitorPlayIcon:o.MonitorPlayIcon,Moon:o.Moon,MoonIcon:o.MoonIcon,MoonStars:o.MoonStars,MoonStarsIcon:o.MoonStarsIcon,Moped:o.Moped,MopedFront:o.MopedFront,MopedFrontIcon:o.MopedFrontIcon,MopedIcon:o.MopedIcon,Mosque:o.Mosque,MosqueIcon:o.MosqueIcon,Motorcycle:o.Motorcycle,MotorcycleIcon:o.MotorcycleIcon,Mountains:o.Mountains,MountainsIcon:o.MountainsIcon,Mouse:o.Mouse,MouseIcon:o.MouseIcon,MouseLeftClick:o.MouseLeftClick,MouseLeftClickIcon:o.MouseLeftClickIcon,MouseMiddleClick:o.MouseMiddleClick,MouseMiddleClickIcon:o.MouseMiddleClickIcon,MouseRightClick:o.MouseRightClick,MouseRightClickIcon:o.MouseRightClickIcon,MouseScroll:o.MouseScroll,MouseScrollIcon:o.MouseScrollIcon,MouseSimple:o.MouseSimple,MouseSimpleIcon:o.MouseSimpleIcon,MusicNote:o.MusicNote,MusicNoteIcon:o.MusicNoteIcon,MusicNoteSimple:o.MusicNoteSimple,MusicNoteSimpleIcon:o.MusicNoteSimpleIcon,MusicNotes:o.MusicNotes,MusicNotesIcon:o.MusicNotesIcon,MusicNotesMinus:o.MusicNotesMinus,MusicNotesMinusIcon:o.MusicNotesMinusIcon,MusicNotesPlus:o.MusicNotesPlus,MusicNotesPlusIcon:o.MusicNotesPlusIcon,MusicNotesSimple:o.MusicNotesSimple,MusicNotesSimpleIcon:o.MusicNotesSimpleIcon,NavigationArrow:o.NavigationArrow,NavigationArrowIcon:o.NavigationArrowIcon,Needle:o.Needle,NeedleIcon:o.NeedleIcon,Network:o.Network,NetworkIcon:o.NetworkIcon,NetworkSlash:o.NetworkSlash,NetworkSlashIcon:o.NetworkSlashIcon,NetworkX:o.NetworkX,NetworkXIcon:o.NetworkXIcon,Newspaper:o.Newspaper,NewspaperClipping:o.NewspaperClipping,NewspaperClippingIcon:o.NewspaperClippingIcon,NewspaperIcon:o.NewspaperIcon,NotEquals:o.NotEquals,NotEqualsIcon:o.NotEqualsIcon,NotMemberOf:o.NotMemberOf,NotMemberOfIcon:o.NotMemberOfIcon,NotSubsetOf:o.NotSubsetOf,NotSubsetOfIcon:o.NotSubsetOfIcon,NotSupersetOf:o.NotSupersetOf,NotSupersetOfIcon:o.NotSupersetOfIcon,Notches:o.Notches,NotchesIcon:o.NotchesIcon,Note:o.Note,NoteBlank:o.NoteBlank,NoteBlankIcon:o.NoteBlankIcon,NoteIcon:o.NoteIcon,NotePencil:o.NotePencil,NotePencilIcon:o.NotePencilIcon,Notebook:o.Notebook,NotebookIcon:o.NotebookIcon,Notepad:o.Notepad,NotepadIcon:o.NotepadIcon,Notification:o.Notification,NotificationIcon:o.NotificationIcon,NotionLogo:o.NotionLogo,NotionLogoIcon:o.NotionLogoIcon,NuclearPlant:o.NuclearPlant,NuclearPlantIcon:o.NuclearPlantIcon,NumberCircleEight:o.NumberCircleEight,NumberCircleEightIcon:o.NumberCircleEightIcon,NumberCircleFive:o.NumberCircleFive,NumberCircleFiveIcon:o.NumberCircleFiveIcon,NumberCircleFour:o.NumberCircleFour,NumberCircleFourIcon:o.NumberCircleFourIcon,NumberCircleNine:o.NumberCircleNine,NumberCircleNineIcon:o.NumberCircleNineIcon,NumberCircleOne:o.NumberCircleOne,NumberCircleOneIcon:o.NumberCircleOneIcon,NumberCircleSeven:o.NumberCircleSeven,NumberCircleSevenIcon:o.NumberCircleSevenIcon,NumberCircleSix:o.NumberCircleSix,NumberCircleSixIcon:o.NumberCircleSixIcon,NumberCircleThree:o.NumberCircleThree,NumberCircleThreeIcon:o.NumberCircleThreeIcon,NumberCircleTwo:o.NumberCircleTwo,NumberCircleTwoIcon:o.NumberCircleTwoIcon,NumberCircleZero:o.NumberCircleZero,NumberCircleZeroIcon:o.NumberCircleZeroIcon,NumberEight:o.NumberEight,NumberEightIcon:o.NumberEightIcon,NumberFive:o.NumberFive,NumberFiveIcon:o.NumberFiveIcon,NumberFour:o.NumberFour,NumberFourIcon:o.NumberFourIcon,NumberNine:o.NumberNine,NumberNineIcon:o.NumberNineIcon,NumberOne:o.NumberOne,NumberOneIcon:o.NumberOneIcon,NumberSeven:o.NumberSeven,NumberSevenIcon:o.NumberSevenIcon,NumberSix:o.NumberSix,NumberSixIcon:o.NumberSixIcon,NumberSquareEight:o.NumberSquareEight,NumberSquareEightIcon:o.NumberSquareEightIcon,NumberSquareFive:o.NumberSquareFive,NumberSquareFiveIcon:o.NumberSquareFiveIcon,NumberSquareFour:o.NumberSquareFour,NumberSquareFourIcon:o.NumberSquareFourIcon,NumberSquareNine:o.NumberSquareNine,NumberSquareNineIcon:o.NumberSquareNineIcon,NumberSquareOne:o.NumberSquareOne,NumberSquareOneIcon:o.NumberSquareOneIcon,NumberSquareSeven:o.NumberSquareSeven,NumberSquareSevenIcon:o.NumberSquareSevenIcon,NumberSquareSix:o.NumberSquareSix,NumberSquareSixIcon:o.NumberSquareSixIcon,NumberSquareThree:o.NumberSquareThree,NumberSquareThreeIcon:o.NumberSquareThreeIcon,NumberSquareTwo:o.NumberSquareTwo,NumberSquareTwoIcon:o.NumberSquareTwoIcon,NumberSquareZero:o.NumberSquareZero,NumberSquareZeroIcon:o.NumberSquareZeroIcon,NumberThree:o.NumberThree,NumberThreeIcon:o.NumberThreeIcon,NumberTwo:o.NumberTwo,NumberTwoIcon:o.NumberTwoIcon,NumberZero:o.NumberZero,NumberZeroIcon:o.NumberZeroIcon,Numpad:o.Numpad,NumpadIcon:o.NumpadIcon,Nut:o.Nut,NutIcon:o.NutIcon,NyTimesLogo:o.NyTimesLogo,NyTimesLogoIcon:o.NyTimesLogoIcon,Octagon:o.Octagon,OctagonIcon:o.OctagonIcon,OfficeChair:o.OfficeChair,OfficeChairIcon:o.OfficeChairIcon,Onigiri:o.Onigiri,OnigiriIcon:o.OnigiriIcon,OpenAiLogo:o.OpenAiLogo,OpenAiLogoIcon:o.OpenAiLogoIcon,Option:o.Option,OptionIcon:o.OptionIcon,Orange:o.Orange,OrangeIcon:o.OrangeIcon,OrangeSlice:o.OrangeSlice,OrangeSliceIcon:o.OrangeSliceIcon,Oven:o.Oven,OvenIcon:o.OvenIcon,Package:o.Package,PackageIcon:o.PackageIcon,PaintBrush:o.PaintBrush,PaintBrushBroad:o.PaintBrushBroad,PaintBrushBroadIcon:o.PaintBrushBroadIcon,PaintBrushHousehold:o.PaintBrushHousehold,PaintBrushHouseholdIcon:o.PaintBrushHouseholdIcon,PaintBrushIcon:o.PaintBrushIcon,PaintBucket:o.PaintBucket,PaintBucketIcon:o.PaintBucketIcon,PaintRoller:o.PaintRoller,PaintRollerIcon:o.PaintRollerIcon,Palette:o.Palette,PaletteIcon:o.PaletteIcon,Panorama:o.Panorama,PanoramaIcon:o.PanoramaIcon,Pants:o.Pants,PantsIcon:o.PantsIcon,PaperPlane:o.PaperPlane,PaperPlaneIcon:o.PaperPlaneIcon,PaperPlaneRight:o.PaperPlaneRight,PaperPlaneRightIcon:o.PaperPlaneRightIcon,PaperPlaneTilt:o.PaperPlaneTilt,PaperPlaneTiltIcon:o.PaperPlaneTiltIcon,Paperclip:o.Paperclip,PaperclipHorizontal:o.PaperclipHorizontal,PaperclipHorizontalIcon:o.PaperclipHorizontalIcon,PaperclipIcon:o.PaperclipIcon,Parachute:o.Parachute,ParachuteIcon:o.ParachuteIcon,Paragraph:o.Paragraph,ParagraphIcon:o.ParagraphIcon,Parallelogram:o.Parallelogram,ParallelogramIcon:o.ParallelogramIcon,Park:o.Park,ParkIcon:o.ParkIcon,Password:o.Password,PasswordIcon:o.PasswordIcon,Path:o.Path,PathIcon:o.PathIcon,PatreonLogo:o.PatreonLogo,PatreonLogoIcon:o.PatreonLogoIcon,Pause:o.Pause,PauseCircle:o.PauseCircle,PauseCircleIcon:o.PauseCircleIcon,PauseIcon:o.PauseIcon,PawPrint:o.PawPrint,PawPrintIcon:o.PawPrintIcon,PaypalLogo:o.PaypalLogo,PaypalLogoIcon:o.PaypalLogoIcon,Peace:o.Peace,PeaceIcon:o.PeaceIcon,Pen:o.Pen,PenIcon:o.PenIcon,PenNib:o.PenNib,PenNibIcon:o.PenNibIcon,PenNibStraight:o.PenNibStraight,PenNibStraightIcon:o.PenNibStraightIcon,Pencil:o.Pencil,PencilCircle:o.PencilCircle,PencilCircleIcon:o.PencilCircleIcon,PencilIcon:o.PencilIcon,PencilLine:o.PencilLine,PencilLineIcon:o.PencilLineIcon,PencilRuler:o.PencilRuler,PencilRulerIcon:o.PencilRulerIcon,PencilSimple:o.PencilSimple,PencilSimpleIcon:o.PencilSimpleIcon,PencilSimpleLine:o.PencilSimpleLine,PencilSimpleLineIcon:o.PencilSimpleLineIcon,PencilSimpleSlash:o.PencilSimpleSlash,PencilSimpleSlashIcon:o.PencilSimpleSlashIcon,PencilSlash:o.PencilSlash,PencilSlashIcon:o.PencilSlashIcon,Pentagon:o.Pentagon,PentagonIcon:o.PentagonIcon,Pentagram:o.Pentagram,PentagramIcon:o.PentagramIcon,Pepper:o.Pepper,PepperIcon:o.PepperIcon,Percent:o.Percent,PercentIcon:o.PercentIcon,Person:o.Person,PersonArmsSpread:o.PersonArmsSpread,PersonArmsSpreadIcon:o.PersonArmsSpreadIcon,PersonIcon:o.PersonIcon,PersonSimple:o.PersonSimple,PersonSimpleBike:o.PersonSimpleBike,PersonSimpleBikeIcon:o.PersonSimpleBikeIcon,PersonSimpleCircle:o.PersonSimpleCircle,PersonSimpleCircleIcon:o.PersonSimpleCircleIcon,PersonSimpleHike:o.PersonSimpleHike,PersonSimpleHikeIcon:o.PersonSimpleHikeIcon,PersonSimpleIcon:o.PersonSimpleIcon,PersonSimpleRun:o.PersonSimpleRun,PersonSimpleRunIcon:o.PersonSimpleRunIcon,PersonSimpleSki:o.PersonSimpleSki,PersonSimpleSkiIcon:o.PersonSimpleSkiIcon,PersonSimpleSnowboard:o.PersonSimpleSnowboard,PersonSimpleSnowboardIcon:o.PersonSimpleSnowboardIcon,PersonSimpleSwim:o.PersonSimpleSwim,PersonSimpleSwimIcon:o.PersonSimpleSwimIcon,PersonSimpleTaiChi:o.PersonSimpleTaiChi,PersonSimpleTaiChiIcon:o.PersonSimpleTaiChiIcon,PersonSimpleThrow:o.PersonSimpleThrow,PersonSimpleThrowIcon:o.PersonSimpleThrowIcon,PersonSimpleWalk:o.PersonSimpleWalk,PersonSimpleWalkIcon:o.PersonSimpleWalkIcon,Perspective:o.Perspective,PerspectiveIcon:o.PerspectiveIcon,Phone:o.Phone,PhoneCall:o.PhoneCall,PhoneCallIcon:o.PhoneCallIcon,PhoneDisconnect:o.PhoneDisconnect,PhoneDisconnectIcon:o.PhoneDisconnectIcon,PhoneIcon:o.PhoneIcon,PhoneIncoming:o.PhoneIncoming,PhoneIncomingIcon:o.PhoneIncomingIcon,PhoneList:o.PhoneList,PhoneListIcon:o.PhoneListIcon,PhoneOutgoing:o.PhoneOutgoing,PhoneOutgoingIcon:o.PhoneOutgoingIcon,PhonePause:o.PhonePause,PhonePauseIcon:o.PhonePauseIcon,PhonePlus:o.PhonePlus,PhonePlusIcon:o.PhonePlusIcon,PhoneSlash:o.PhoneSlash,PhoneSlashIcon:o.PhoneSlashIcon,PhoneTransfer:o.PhoneTransfer,PhoneTransferIcon:o.PhoneTransferIcon,PhoneX:o.PhoneX,PhoneXIcon:o.PhoneXIcon,PhosphorLogo:o.PhosphorLogo,PhosphorLogoIcon:o.PhosphorLogoIcon,Pi:o.Pi,PiIcon:o.PiIcon,PianoKeys:o.PianoKeys,PianoKeysIcon:o.PianoKeysIcon,PicnicTable:o.PicnicTable,PicnicTableIcon:o.PicnicTableIcon,PictureInPicture:o.PictureInPicture,PictureInPictureIcon:o.PictureInPictureIcon,PiggyBank:o.PiggyBank,PiggyBankIcon:o.PiggyBankIcon,Pill:o.Pill,PillIcon:o.PillIcon,PingPong:o.PingPong,PingPongIcon:o.PingPongIcon,PintGlass:o.PintGlass,PintGlassIcon:o.PintGlassIcon,PinterestLogo:o.PinterestLogo,PinterestLogoIcon:o.PinterestLogoIcon,Pinwheel:o.Pinwheel,PinwheelIcon:o.PinwheelIcon,Pipe:o.Pipe,PipeIcon:o.PipeIcon,PipeWrench:o.PipeWrench,PipeWrenchIcon:o.PipeWrenchIcon,PixLogo:o.PixLogo,PixLogoIcon:o.PixLogoIcon,Pizza:o.Pizza,PizzaIcon:o.PizzaIcon,Placeholder:o.Placeholder,PlaceholderIcon:o.PlaceholderIcon,Planet:o.Planet,PlanetIcon:o.PlanetIcon,Plant:o.Plant,PlantIcon:o.PlantIcon,Play:o.Play,PlayCircle:o.PlayCircle,PlayCircleIcon:o.PlayCircleIcon,PlayIcon:o.PlayIcon,PlayPause:o.PlayPause,PlayPauseIcon:o.PlayPauseIcon,Playlist:o.Playlist,PlaylistIcon:o.PlaylistIcon,Plug:o.Plug,PlugCharging:o.PlugCharging,PlugChargingIcon:o.PlugChargingIcon,PlugIcon:o.PlugIcon,Plugs:o.Plugs,PlugsConnected:o.PlugsConnected,PlugsConnectedIcon:o.PlugsConnectedIcon,PlugsIcon:o.PlugsIcon,Plus:o.Plus,PlusCircle:o.PlusCircle,PlusCircleIcon:o.PlusCircleIcon,PlusIcon:o.PlusIcon,PlusMinus:o.PlusMinus,PlusMinusIcon:o.PlusMinusIcon,PlusSquare:o.PlusSquare,PlusSquareIcon:o.PlusSquareIcon,PokerChip:o.PokerChip,PokerChipIcon:o.PokerChipIcon,PoliceCar:o.PoliceCar,PoliceCarIcon:o.PoliceCarIcon,Polygon:o.Polygon,PolygonIcon:o.PolygonIcon,Popcorn:o.Popcorn,PopcornIcon:o.PopcornIcon,Popsicle:o.Popsicle,PopsicleIcon:o.PopsicleIcon,PottedPlant:o.PottedPlant,PottedPlantIcon:o.PottedPlantIcon,Power:o.Power,PowerIcon:o.PowerIcon,Prescription:o.Prescription,PrescriptionIcon:o.PrescriptionIcon,Presentation:o.Presentation,PresentationChart:o.PresentationChart,PresentationChartIcon:o.PresentationChartIcon,PresentationIcon:o.PresentationIcon,Printer:o.Printer,PrinterIcon:o.PrinterIcon,Prohibit:o.Prohibit,ProhibitIcon:o.ProhibitIcon,ProhibitInset:o.ProhibitInset,ProhibitInsetIcon:o.ProhibitInsetIcon,ProjectorScreen:o.ProjectorScreen,ProjectorScreenChart:o.ProjectorScreenChart,ProjectorScreenChartIcon:o.ProjectorScreenChartIcon,ProjectorScreenIcon:o.ProjectorScreenIcon,Pulse:o.Pulse,PulseIcon:o.PulseIcon,PushPin:o.PushPin,PushPinIcon:o.PushPinIcon,PushPinSimple:o.PushPinSimple,PushPinSimpleIcon:o.PushPinSimpleIcon,PushPinSimpleSlash:o.PushPinSimpleSlash,PushPinSimpleSlashIcon:o.PushPinSimpleSlashIcon,PushPinSlash:o.PushPinSlash,PushPinSlashIcon:o.PushPinSlashIcon,PuzzlePiece:o.PuzzlePiece,PuzzlePieceIcon:o.PuzzlePieceIcon,QrCode:o.QrCode,QrCodeIcon:o.QrCodeIcon,Question:o.Question,QuestionIcon:o.QuestionIcon,QuestionMark:o.QuestionMark,QuestionMarkIcon:o.QuestionMarkIcon,Queue:o.Queue,QueueIcon:o.QueueIcon,Quotes:o.Quotes,QuotesIcon:o.QuotesIcon,Rabbit:o.Rabbit,RabbitIcon:o.RabbitIcon,Racquet:o.Racquet,RacquetIcon:o.RacquetIcon,Radical:o.Radical,RadicalIcon:o.RadicalIcon,Radio:o.Radio,RadioButton:o.RadioButton,RadioButtonIcon:o.RadioButtonIcon,RadioIcon:o.RadioIcon,Radioactive:o.Radioactive,RadioactiveIcon:o.RadioactiveIcon,Rainbow:o.Rainbow,RainbowCloud:o.RainbowCloud,RainbowCloudIcon:o.RainbowCloudIcon,RainbowIcon:o.RainbowIcon,Ranking:o.Ranking,RankingIcon:o.RankingIcon,ReadCvLogo:o.ReadCvLogo,ReadCvLogoIcon:o.ReadCvLogoIcon,Receipt:o.Receipt,ReceiptIcon:o.ReceiptIcon,ReceiptX:o.ReceiptX,ReceiptXIcon:o.ReceiptXIcon,Record:o.Record,RecordIcon:o.RecordIcon,Rectangle:o.Rectangle,RectangleDashed:o.RectangleDashed,RectangleDashedIcon:o.RectangleDashedIcon,RectangleIcon:o.RectangleIcon,Recycle:o.Recycle,RecycleIcon:o.RecycleIcon,RedditLogo:o.RedditLogo,RedditLogoIcon:o.RedditLogoIcon,Repeat:o.Repeat,RepeatIcon:o.RepeatIcon,RepeatOnce:o.RepeatOnce,RepeatOnceIcon:o.RepeatOnceIcon,ReplitLogo:o.ReplitLogo,ReplitLogoIcon:o.ReplitLogoIcon,Resize:o.Resize,ResizeIcon:o.ResizeIcon,Rewind:o.Rewind,RewindCircle:o.RewindCircle,RewindCircleIcon:o.RewindCircleIcon,RewindIcon:o.RewindIcon,RoadHorizon:o.RoadHorizon,RoadHorizonIcon:o.RoadHorizonIcon,Robot:o.Robot,RobotIcon:o.RobotIcon,Rocket:o.Rocket,RocketIcon:o.RocketIcon,RocketLaunch:o.RocketLaunch,RocketLaunchIcon:o.RocketLaunchIcon,Rows:o.Rows,RowsIcon:o.RowsIcon,RowsPlusBottom:o.RowsPlusBottom,RowsPlusBottomIcon:o.RowsPlusBottomIcon,RowsPlusTop:o.RowsPlusTop,RowsPlusTopIcon:o.RowsPlusTopIcon,Rss:o.Rss,RssIcon:o.RssIcon,RssSimple:o.RssSimple,RssSimpleIcon:o.RssSimpleIcon,Rug:o.Rug,RugIcon:o.RugIcon,Ruler:o.Ruler,RulerIcon:o.RulerIcon,Sailboat:o.Sailboat,SailboatIcon:o.SailboatIcon,Scales:o.Scales,ScalesIcon:o.ScalesIcon,Scan:o.Scan,ScanIcon:o.ScanIcon,ScanSmiley:o.ScanSmiley,ScanSmileyIcon:o.ScanSmileyIcon,Scissors:o.Scissors,ScissorsIcon:o.ScissorsIcon,Scooter:o.Scooter,ScooterIcon:o.ScooterIcon,Screencast:o.Screencast,ScreencastIcon:o.ScreencastIcon,Screwdriver:o.Screwdriver,ScrewdriverIcon:o.ScrewdriverIcon,Scribble:o.Scribble,ScribbleIcon:o.ScribbleIcon,ScribbleLoop:o.ScribbleLoop,ScribbleLoopIcon:o.ScribbleLoopIcon,Scroll:o.Scroll,ScrollIcon:o.ScrollIcon,Seal:o.Seal,SealCheck:o.SealCheck,SealCheckIcon:o.SealCheckIcon,SealIcon:o.SealIcon,SealPercent:o.SealPercent,SealPercentIcon:o.SealPercentIcon,SealQuestion:o.SealQuestion,SealQuestionIcon:o.SealQuestionIcon,SealWarning:o.SealWarning,SealWarningIcon:o.SealWarningIcon,Seat:o.Seat,SeatIcon:o.SeatIcon,Seatbelt:o.Seatbelt,SeatbeltIcon:o.SeatbeltIcon,SecurityCamera:o.SecurityCamera,SecurityCameraIcon:o.SecurityCameraIcon,Selection:o.Selection,SelectionAll:o.SelectionAll,SelectionAllIcon:o.SelectionAllIcon,SelectionBackground:o.SelectionBackground,SelectionBackgroundIcon:o.SelectionBackgroundIcon,SelectionForeground:o.SelectionForeground,SelectionForegroundIcon:o.SelectionForegroundIcon,SelectionIcon:o.SelectionIcon,SelectionInverse:o.SelectionInverse,SelectionInverseIcon:o.SelectionInverseIcon,SelectionPlus:o.SelectionPlus,SelectionPlusIcon:o.SelectionPlusIcon,SelectionSlash:o.SelectionSlash,SelectionSlashIcon:o.SelectionSlashIcon,Shapes:o.Shapes,ShapesIcon:o.ShapesIcon,Share:o.Share,ShareFat:o.ShareFat,ShareFatIcon:o.ShareFatIcon,ShareIcon:o.ShareIcon,ShareNetwork:o.ShareNetwork,ShareNetworkIcon:o.ShareNetworkIcon,Shield:o.Shield,ShieldCheck:o.ShieldCheck,ShieldCheckIcon:o.ShieldCheckIcon,ShieldCheckered:o.ShieldCheckered,ShieldCheckeredIcon:o.ShieldCheckeredIcon,ShieldChevron:o.ShieldChevron,ShieldChevronIcon:o.ShieldChevronIcon,ShieldIcon:o.ShieldIcon,ShieldPlus:o.ShieldPlus,ShieldPlusIcon:o.ShieldPlusIcon,ShieldSlash:o.ShieldSlash,ShieldSlashIcon:o.ShieldSlashIcon,ShieldStar:o.ShieldStar,ShieldStarIcon:o.ShieldStarIcon,ShieldWarning:o.ShieldWarning,ShieldWarningIcon:o.ShieldWarningIcon,ShippingContainer:o.ShippingContainer,ShippingContainerIcon:o.ShippingContainerIcon,ShirtFolded:o.ShirtFolded,ShirtFoldedIcon:o.ShirtFoldedIcon,ShootingStar:o.ShootingStar,ShootingStarIcon:o.ShootingStarIcon,ShoppingBag:o.ShoppingBag,ShoppingBagIcon:o.ShoppingBagIcon,ShoppingBagOpen:o.ShoppingBagOpen,ShoppingBagOpenIcon:o.ShoppingBagOpenIcon,ShoppingCart:o.ShoppingCart,ShoppingCartIcon:o.ShoppingCartIcon,ShoppingCartSimple:o.ShoppingCartSimple,ShoppingCartSimpleIcon:o.ShoppingCartSimpleIcon,Shovel:o.Shovel,ShovelIcon:o.ShovelIcon,Shower:o.Shower,ShowerIcon:o.ShowerIcon,Shrimp:o.Shrimp,ShrimpIcon:o.ShrimpIcon,Shuffle:o.Shuffle,ShuffleAngular:o.ShuffleAngular,ShuffleAngularIcon:o.ShuffleAngularIcon,ShuffleIcon:o.ShuffleIcon,ShuffleSimple:o.ShuffleSimple,ShuffleSimpleIcon:o.ShuffleSimpleIcon,Sidebar:o.Sidebar,SidebarIcon:o.SidebarIcon,SidebarSimple:o.SidebarSimple,SidebarSimpleIcon:o.SidebarSimpleIcon,Sigma:o.Sigma,SigmaIcon:o.SigmaIcon,SignIn:o.SignIn,SignInIcon:o.SignInIcon,SignOut:o.SignOut,SignOutIcon:o.SignOutIcon,Signature:o.Signature,SignatureIcon:o.SignatureIcon,Signpost:o.Signpost,SignpostIcon:o.SignpostIcon,SimCard:o.SimCard,SimCardIcon:o.SimCardIcon,Siren:o.Siren,SirenIcon:o.SirenIcon,SketchLogo:o.SketchLogo,SketchLogoIcon:o.SketchLogoIcon,SkipBack:o.SkipBack,SkipBackCircle:o.SkipBackCircle,SkipBackCircleIcon:o.SkipBackCircleIcon,SkipBackIcon:o.SkipBackIcon,SkipForward:o.SkipForward,SkipForwardCircle:o.SkipForwardCircle,SkipForwardCircleIcon:o.SkipForwardCircleIcon,SkipForwardIcon:o.SkipForwardIcon,Skull:o.Skull,SkullIcon:o.SkullIcon,SkypeLogo:o.SkypeLogo,SkypeLogoIcon:o.SkypeLogoIcon,SlackLogo:o.SlackLogo,SlackLogoIcon:o.SlackLogoIcon,Sliders:o.Sliders,SlidersHorizontal:o.SlidersHorizontal,SlidersHorizontalIcon:o.SlidersHorizontalIcon,SlidersIcon:o.SlidersIcon,Slideshow:o.Slideshow,SlideshowIcon:o.SlideshowIcon,Smiley:o.Smiley,SmileyAngry:o.SmileyAngry,SmileyAngryIcon:o.SmileyAngryIcon,SmileyBlank:o.SmileyBlank,SmileyBlankIcon:o.SmileyBlankIcon,SmileyIcon:o.SmileyIcon,SmileyMeh:o.SmileyMeh,SmileyMehIcon:o.SmileyMehIcon,SmileyMelting:o.SmileyMelting,SmileyMeltingIcon:o.SmileyMeltingIcon,SmileyNervous:o.SmileyNervous,SmileyNervousIcon:o.SmileyNervousIcon,SmileySad:o.SmileySad,SmileySadIcon:o.SmileySadIcon,SmileySticker:o.SmileySticker,SmileyStickerIcon:o.SmileyStickerIcon,SmileyWink:o.SmileyWink,SmileyWinkIcon:o.SmileyWinkIcon,SmileyXEyes:o.SmileyXEyes,SmileyXEyesIcon:o.SmileyXEyesIcon,SnapchatLogo:o.SnapchatLogo,SnapchatLogoIcon:o.SnapchatLogoIcon,Sneaker:o.Sneaker,SneakerIcon:o.SneakerIcon,SneakerMove:o.SneakerMove,SneakerMoveIcon:o.SneakerMoveIcon,Snowflake:o.Snowflake,SnowflakeIcon:o.SnowflakeIcon,SoccerBall:o.SoccerBall,SoccerBallIcon:o.SoccerBallIcon,Sock:o.Sock,SockIcon:o.SockIcon,SolarPanel:o.SolarPanel,SolarPanelIcon:o.SolarPanelIcon,SolarRoof:o.SolarRoof,SolarRoofIcon:o.SolarRoofIcon,SortAscending:o.SortAscending,SortAscendingIcon:o.SortAscendingIcon,SortDescending:o.SortDescending,SortDescendingIcon:o.SortDescendingIcon,SoundcloudLogo:o.SoundcloudLogo,SoundcloudLogoIcon:o.SoundcloudLogoIcon,Spade:o.Spade,SpadeIcon:o.SpadeIcon,Sparkle:o.Sparkle,SparkleIcon:o.SparkleIcon,SpeakerHifi:o.SpeakerHifi,SpeakerHifiIcon:o.SpeakerHifiIcon,SpeakerHigh:o.SpeakerHigh,SpeakerHighIcon:o.SpeakerHighIcon,SpeakerLow:o.SpeakerLow,SpeakerLowIcon:o.SpeakerLowIcon,SpeakerNone:o.SpeakerNone,SpeakerNoneIcon:o.SpeakerNoneIcon,SpeakerSimpleHigh:o.SpeakerSimpleHigh,SpeakerSimpleHighIcon:o.SpeakerSimpleHighIcon,SpeakerSimpleLow:o.SpeakerSimpleLow,SpeakerSimpleLowIcon:o.SpeakerSimpleLowIcon,SpeakerSimpleNone:o.SpeakerSimpleNone,SpeakerSimpleNoneIcon:o.SpeakerSimpleNoneIcon,SpeakerSimpleSlash:o.SpeakerSimpleSlash,SpeakerSimpleSlashIcon:o.SpeakerSimpleSlashIcon,SpeakerSimpleX:o.SpeakerSimpleX,SpeakerSimpleXIcon:o.SpeakerSimpleXIcon,SpeakerSlash:o.SpeakerSlash,SpeakerSlashIcon:o.SpeakerSlashIcon,SpeakerX:o.SpeakerX,SpeakerXIcon:o.SpeakerXIcon,Speedometer:o.Speedometer,SpeedometerIcon:o.SpeedometerIcon,Sphere:o.Sphere,SphereIcon:o.SphereIcon,Spinner:o.Spinner,SpinnerBall:o.SpinnerBall,SpinnerBallIcon:o.SpinnerBallIcon,SpinnerGap:o.SpinnerGap,SpinnerGapIcon:o.SpinnerGapIcon,SpinnerIcon:o.SpinnerIcon,Spiral:o.Spiral,SpiralIcon:o.SpiralIcon,SplitHorizontal:o.SplitHorizontal,SplitHorizontalIcon:o.SplitHorizontalIcon,SplitVertical:o.SplitVertical,SplitVerticalIcon:o.SplitVerticalIcon,SpotifyLogo:o.SpotifyLogo,SpotifyLogoIcon:o.SpotifyLogoIcon,SprayBottle:o.SprayBottle,SprayBottleIcon:o.SprayBottleIcon,Square:o.Square,SquareHalf:o.SquareHalf,SquareHalfBottom:o.SquareHalfBottom,SquareHalfBottomIcon:o.SquareHalfBottomIcon,SquareHalfIcon:o.SquareHalfIcon,SquareIcon:o.SquareIcon,SquareLogo:o.SquareLogo,SquareLogoIcon:o.SquareLogoIcon,SquareSplitHorizontal:o.SquareSplitHorizontal,SquareSplitHorizontalIcon:o.SquareSplitHorizontalIcon,SquareSplitVertical:o.SquareSplitVertical,SquareSplitVerticalIcon:o.SquareSplitVerticalIcon,SquaresFour:o.SquaresFour,SquaresFourIcon:o.SquaresFourIcon,Stack:o.Stack,StackIcon:o.StackIcon,StackMinus:o.StackMinus,StackMinusIcon:o.StackMinusIcon,StackOverflowLogo:o.StackOverflowLogo,StackOverflowLogoIcon:o.StackOverflowLogoIcon,StackPlus:o.StackPlus,StackPlusIcon:o.StackPlusIcon,StackSimple:o.StackSimple,StackSimpleIcon:o.StackSimpleIcon,Stairs:o.Stairs,StairsIcon:o.StairsIcon,Stamp:o.Stamp,StampIcon:o.StampIcon,StandardDefinition:o.StandardDefinition,StandardDefinitionIcon:o.StandardDefinitionIcon,Star:o.Star,StarAndCrescent:o.StarAndCrescent,StarAndCrescentIcon:o.StarAndCrescentIcon,StarFour:o.StarFour,StarFourIcon:o.StarFourIcon,StarHalf:o.StarHalf,StarHalfIcon:o.StarHalfIcon,StarIcon:o.StarIcon,StarOfDavid:o.StarOfDavid,StarOfDavidIcon:o.StarOfDavidIcon,SteamLogo:o.SteamLogo,SteamLogoIcon:o.SteamLogoIcon,SteeringWheel:o.SteeringWheel,SteeringWheelIcon:o.SteeringWheelIcon,Steps:o.Steps,StepsIcon:o.StepsIcon,Stethoscope:o.Stethoscope,StethoscopeIcon:o.StethoscopeIcon,Sticker:o.Sticker,StickerIcon:o.StickerIcon,Stool:o.Stool,StoolIcon:o.StoolIcon,Stop:o.Stop,StopCircle:o.StopCircle,StopCircleIcon:o.StopCircleIcon,StopIcon:o.StopIcon,Storefront:o.Storefront,StorefrontIcon:o.StorefrontIcon,Strategy:o.Strategy,StrategyIcon:o.StrategyIcon,StripeLogo:o.StripeLogo,StripeLogoIcon:o.StripeLogoIcon,Student:o.Student,StudentIcon:o.StudentIcon,SubsetOf:o.SubsetOf,SubsetOfIcon:o.SubsetOfIcon,SubsetProperOf:o.SubsetProperOf,SubsetProperOfIcon:o.SubsetProperOfIcon,Subtitles:o.Subtitles,SubtitlesIcon:o.SubtitlesIcon,SubtitlesSlash:o.SubtitlesSlash,SubtitlesSlashIcon:o.SubtitlesSlashIcon,Subtract:o.Subtract,SubtractIcon:o.SubtractIcon,SubtractSquare:o.SubtractSquare,SubtractSquareIcon:o.SubtractSquareIcon,Subway:o.Subway,SubwayIcon:o.SubwayIcon,Suitcase:o.Suitcase,SuitcaseIcon:o.SuitcaseIcon,SuitcaseRolling:o.SuitcaseRolling,SuitcaseRollingIcon:o.SuitcaseRollingIcon,SuitcaseSimple:o.SuitcaseSimple,SuitcaseSimpleIcon:o.SuitcaseSimpleIcon,Sun:o.Sun,SunDim:o.SunDim,SunDimIcon:o.SunDimIcon,SunHorizon:o.SunHorizon,SunHorizonIcon:o.SunHorizonIcon,SunIcon:o.SunIcon,Sunglasses:o.Sunglasses,SunglassesIcon:o.SunglassesIcon,SupersetOf:o.SupersetOf,SupersetOfIcon:o.SupersetOfIcon,SupersetProperOf:o.SupersetProperOf,SupersetProperOfIcon:o.SupersetProperOfIcon,Swap:o.Swap,SwapIcon:o.SwapIcon,Swatches:o.Swatches,SwatchesIcon:o.SwatchesIcon,SwimmingPool:o.SwimmingPool,SwimmingPoolIcon:o.SwimmingPoolIcon,Sword:o.Sword,SwordIcon:o.SwordIcon,Synagogue:o.Synagogue,SynagogueIcon:o.SynagogueIcon,Syringe:o.Syringe,SyringeIcon:o.SyringeIcon,TShirt:o.TShirt,TShirtIcon:o.TShirtIcon,Table:o.Table,TableIcon:o.TableIcon,Tabs:o.Tabs,TabsIcon:o.TabsIcon,Tag:o.Tag,TagChevron:o.TagChevron,TagChevronIcon:o.TagChevronIcon,TagIcon:o.TagIcon,TagSimple:o.TagSimple,TagSimpleIcon:o.TagSimpleIcon,Target:o.Target,TargetIcon:o.TargetIcon,Taxi:o.Taxi,TaxiIcon:o.TaxiIcon,TeaBag:o.TeaBag,TeaBagIcon:o.TeaBagIcon,TelegramLogo:o.TelegramLogo,TelegramLogoIcon:o.TelegramLogoIcon,Television:o.Television,TelevisionIcon:o.TelevisionIcon,TelevisionSimple:o.TelevisionSimple,TelevisionSimpleIcon:o.TelevisionSimpleIcon,TennisBall:o.TennisBall,TennisBallIcon:o.TennisBallIcon,Tent:o.Tent,TentIcon:o.TentIcon,Terminal:o.Terminal,TerminalIcon:o.TerminalIcon,TerminalWindow:o.TerminalWindow,TerminalWindowIcon:o.TerminalWindowIcon,TestTube:o.TestTube,TestTubeIcon:o.TestTubeIcon,TextAUnderline:o.TextAUnderline,TextAUnderlineIcon:o.TextAUnderlineIcon,TextAa:o.TextAa,TextAaIcon:o.TextAaIcon,TextAlignCenter:o.TextAlignCenter,TextAlignCenterIcon:o.TextAlignCenterIcon,TextAlignJustify:o.TextAlignJustify,TextAlignJustifyIcon:o.TextAlignJustifyIcon,TextAlignLeft:o.TextAlignLeft,TextAlignLeftIcon:o.TextAlignLeftIcon,TextAlignRight:o.TextAlignRight,TextAlignRightIcon:o.TextAlignRightIcon,TextB:o.TextB,TextBIcon:o.TextBIcon,TextBolderIcon:o.TextBolderIcon,TextColumns:o.TextColumns,TextColumnsIcon:o.TextColumnsIcon,TextH:o.TextH,TextHFive:o.TextHFive,TextHFiveIcon:o.TextHFiveIcon,TextHFour:o.TextHFour,TextHFourIcon:o.TextHFourIcon,TextHIcon:o.TextHIcon,TextHOne:o.TextHOne,TextHOneIcon:o.TextHOneIcon,TextHSix:o.TextHSix,TextHSixIcon:o.TextHSixIcon,TextHThree:o.TextHThree,TextHThreeIcon:o.TextHThreeIcon,TextHTwo:o.TextHTwo,TextHTwoIcon:o.TextHTwoIcon,TextIndent:o.TextIndent,TextIndentIcon:o.TextIndentIcon,TextItalic:o.TextItalic,TextItalicIcon:o.TextItalicIcon,TextOutdent:o.TextOutdent,TextOutdentIcon:o.TextOutdentIcon,TextStrikethrough:o.TextStrikethrough,TextStrikethroughIcon:o.TextStrikethroughIcon,TextSubscript:o.TextSubscript,TextSubscriptIcon:o.TextSubscriptIcon,TextSuperscript:o.TextSuperscript,TextSuperscriptIcon:o.TextSuperscriptIcon,TextT:o.TextT,TextTIcon:o.TextTIcon,TextTSlash:o.TextTSlash,TextTSlashIcon:o.TextTSlashIcon,TextUnderline:o.TextUnderline,TextUnderlineIcon:o.TextUnderlineIcon,Textbox:o.Textbox,TextboxIcon:o.TextboxIcon,Thermometer:o.Thermometer,ThermometerCold:o.ThermometerCold,ThermometerColdIcon:o.ThermometerColdIcon,ThermometerHot:o.ThermometerHot,ThermometerHotIcon:o.ThermometerHotIcon,ThermometerIcon:o.ThermometerIcon,ThermometerSimple:o.ThermometerSimple,ThermometerSimpleIcon:o.ThermometerSimpleIcon,ThreadsLogo:o.ThreadsLogo,ThreadsLogoIcon:o.ThreadsLogoIcon,ThreeD:o.ThreeD,ThreeDIcon:o.ThreeDIcon,ThumbsDown:o.ThumbsDown,ThumbsDownIcon:o.ThumbsDownIcon,ThumbsUp:o.ThumbsUp,ThumbsUpIcon:o.ThumbsUpIcon,Ticket:o.Ticket,TicketIcon:o.TicketIcon,TidalLogo:o.TidalLogo,TidalLogoIcon:o.TidalLogoIcon,TiktokLogo:o.TiktokLogo,TiktokLogoIcon:o.TiktokLogoIcon,Tilde:o.Tilde,TildeIcon:o.TildeIcon,Timer:o.Timer,TimerIcon:o.TimerIcon,TipJar:o.TipJar,TipJarIcon:o.TipJarIcon,Tipi:o.Tipi,TipiIcon:o.TipiIcon,Tire:o.Tire,TireIcon:o.TireIcon,ToggleLeft:o.ToggleLeft,ToggleLeftIcon:o.ToggleLeftIcon,ToggleRight:o.ToggleRight,ToggleRightIcon:o.ToggleRightIcon,Toilet:o.Toilet,ToiletIcon:o.ToiletIcon,ToiletPaper:o.ToiletPaper,ToiletPaperIcon:o.ToiletPaperIcon,Toolbox:o.Toolbox,ToolboxIcon:o.ToolboxIcon,Tooth:o.Tooth,ToothIcon:o.ToothIcon,Tornado:o.Tornado,TornadoIcon:o.TornadoIcon,Tote:o.Tote,ToteIcon:o.ToteIcon,ToteSimple:o.ToteSimple,ToteSimpleIcon:o.ToteSimpleIcon,Towel:o.Towel,TowelIcon:o.TowelIcon,Tractor:o.Tractor,TractorIcon:o.TractorIcon,Trademark:o.Trademark,TrademarkIcon:o.TrademarkIcon,TrademarkRegistered:o.TrademarkRegistered,TrademarkRegisteredIcon:o.TrademarkRegisteredIcon,TrafficCone:o.TrafficCone,TrafficConeIcon:o.TrafficConeIcon,TrafficSign:o.TrafficSign,TrafficSignIcon:o.TrafficSignIcon,TrafficSignal:o.TrafficSignal,TrafficSignalIcon:o.TrafficSignalIcon,Train:o.Train,TrainIcon:o.TrainIcon,TrainRegional:o.TrainRegional,TrainRegionalIcon:o.TrainRegionalIcon,TrainSimple:o.TrainSimple,TrainSimpleIcon:o.TrainSimpleIcon,Tram:o.Tram,TramIcon:o.TramIcon,Translate:o.Translate,TranslateIcon:o.TranslateIcon,Trash:o.Trash,TrashIcon:o.TrashIcon,TrashSimple:o.TrashSimple,TrashSimpleIcon:o.TrashSimpleIcon,Tray:o.Tray,TrayArrowDown:o.TrayArrowDown,TrayArrowDownIcon:o.TrayArrowDownIcon,TrayArrowUp:o.TrayArrowUp,TrayArrowUpIcon:o.TrayArrowUpIcon,TrayIcon:o.TrayIcon,TreasureChest:o.TreasureChest,TreasureChestIcon:o.TreasureChestIcon,Tree:o.Tree,TreeEvergreen:o.TreeEvergreen,TreeEvergreenIcon:o.TreeEvergreenIcon,TreeIcon:o.TreeIcon,TreePalm:o.TreePalm,TreePalmIcon:o.TreePalmIcon,TreeStructure:o.TreeStructure,TreeStructureIcon:o.TreeStructureIcon,TreeView:o.TreeView,TreeViewIcon:o.TreeViewIcon,TrendDown:o.TrendDown,TrendDownIcon:o.TrendDownIcon,TrendUp:o.TrendUp,TrendUpIcon:o.TrendUpIcon,Triangle:o.Triangle,TriangleDashed:o.TriangleDashed,TriangleDashedIcon:o.TriangleDashedIcon,TriangleIcon:o.TriangleIcon,Trolley:o.Trolley,TrolleyIcon:o.TrolleyIcon,TrolleySuitcase:o.TrolleySuitcase,TrolleySuitcaseIcon:o.TrolleySuitcaseIcon,Trophy:o.Trophy,TrophyIcon:o.TrophyIcon,Truck:o.Truck,TruckIcon:o.TruckIcon,TruckTrailer:o.TruckTrailer,TruckTrailerIcon:o.TruckTrailerIcon,TumblrLogo:o.TumblrLogo,TumblrLogoIcon:o.TumblrLogoIcon,TwitchLogo:o.TwitchLogo,TwitchLogoIcon:o.TwitchLogoIcon,TwitterLogo:o.TwitterLogo,TwitterLogoIcon:o.TwitterLogoIcon,Umbrella:o.Umbrella,UmbrellaIcon:o.UmbrellaIcon,UmbrellaSimple:o.UmbrellaSimple,UmbrellaSimpleIcon:o.UmbrellaSimpleIcon,Union:o.Union,UnionIcon:o.UnionIcon,Unite:o.Unite,UniteIcon:o.UniteIcon,UniteSquare:o.UniteSquare,UniteSquareIcon:o.UniteSquareIcon,Upload:o.Upload,UploadIcon:o.UploadIcon,UploadSimple:o.UploadSimple,UploadSimpleIcon:o.UploadSimpleIcon,Usb:o.Usb,UsbIcon:o.UsbIcon,User:o.User,UserCheck:o.UserCheck,UserCheckIcon:o.UserCheckIcon,UserCircle:o.UserCircle,UserCircleCheck:o.UserCircleCheck,UserCircleCheckIcon:o.UserCircleCheckIcon,UserCircleDashed:o.UserCircleDashed,UserCircleDashedIcon:o.UserCircleDashedIcon,UserCircleGear:o.UserCircleGear,UserCircleGearIcon:o.UserCircleGearIcon,UserCircleIcon:o.UserCircleIcon,UserCircleMinus:o.UserCircleMinus,UserCircleMinusIcon:o.UserCircleMinusIcon,UserCirclePlus:o.UserCirclePlus,UserCirclePlusIcon:o.UserCirclePlusIcon,UserFocus:o.UserFocus,UserFocusIcon:o.UserFocusIcon,UserGear:o.UserGear,UserGearIcon:o.UserGearIcon,UserIcon:o.UserIcon,UserList:o.UserList,UserListIcon:o.UserListIcon,UserMinus:o.UserMinus,UserMinusIcon:o.UserMinusIcon,UserPlus:o.UserPlus,UserPlusIcon:o.UserPlusIcon,UserRectangle:o.UserRectangle,UserRectangleIcon:o.UserRectangleIcon,UserSound:o.UserSound,UserSoundIcon:o.UserSoundIcon,UserSquare:o.UserSquare,UserSquareIcon:o.UserSquareIcon,UserSwitch:o.UserSwitch,UserSwitchIcon:o.UserSwitchIcon,Users:o.Users,UsersFour:o.UsersFour,UsersFourIcon:o.UsersFourIcon,UsersIcon:o.UsersIcon,UsersThree:o.UsersThree,UsersThreeIcon:o.UsersThreeIcon,Van:o.Van,VanIcon:o.VanIcon,Vault:o.Vault,VaultIcon:o.VaultIcon,VectorThree:o.VectorThree,VectorThreeIcon:o.VectorThreeIcon,VectorTwo:o.VectorTwo,VectorTwoIcon:o.VectorTwoIcon,Vibrate:o.Vibrate,VibrateIcon:o.VibrateIcon,Video:o.Video,VideoCamera:o.VideoCamera,VideoCameraIcon:o.VideoCameraIcon,VideoCameraSlash:o.VideoCameraSlash,VideoCameraSlashIcon:o.VideoCameraSlashIcon,VideoConference:o.VideoConference,VideoConferenceIcon:o.VideoConferenceIcon,VideoIcon:o.VideoIcon,Vignette:o.Vignette,VignetteIcon:o.VignetteIcon,VinylRecord:o.VinylRecord,VinylRecordIcon:o.VinylRecordIcon,VirtualReality:o.VirtualReality,VirtualRealityIcon:o.VirtualRealityIcon,Virus:o.Virus,VirusIcon:o.VirusIcon,Visor:o.Visor,VisorIcon:o.VisorIcon,Voicemail:o.Voicemail,VoicemailIcon:o.VoicemailIcon,Volleyball:o.Volleyball,VolleyballIcon:o.VolleyballIcon,Wall:o.Wall,WallIcon:o.WallIcon,Wallet:o.Wallet,WalletIcon:o.WalletIcon,Warehouse:o.Warehouse,WarehouseIcon:o.WarehouseIcon,Warning:o.Warning,WarningCircle:o.WarningCircle,WarningCircleIcon:o.WarningCircleIcon,WarningDiamond:o.WarningDiamond,WarningDiamondIcon:o.WarningDiamondIcon,WarningIcon:o.WarningIcon,WarningOctagon:o.WarningOctagon,WarningOctagonIcon:o.WarningOctagonIcon,WashingMachine:o.WashingMachine,WashingMachineIcon:o.WashingMachineIcon,Watch:o.Watch,WatchIcon:o.WatchIcon,WaveSawtooth:o.WaveSawtooth,WaveSawtoothIcon:o.WaveSawtoothIcon,WaveSine:o.WaveSine,WaveSineIcon:o.WaveSineIcon,WaveSquare:o.WaveSquare,WaveSquareIcon:o.WaveSquareIcon,WaveTriangle:o.WaveTriangle,WaveTriangleIcon:o.WaveTriangleIcon,Waveform:o.Waveform,WaveformIcon:o.WaveformIcon,WaveformSlash:o.WaveformSlash,WaveformSlashIcon:o.WaveformSlashIcon,Waves:o.Waves,WavesIcon:o.WavesIcon,Webcam:o.Webcam,WebcamIcon:o.WebcamIcon,WebcamSlash:o.WebcamSlash,WebcamSlashIcon:o.WebcamSlashIcon,WebhooksLogo:o.WebhooksLogo,WebhooksLogoIcon:o.WebhooksLogoIcon,WechatLogo:o.WechatLogo,WechatLogoIcon:o.WechatLogoIcon,WhatsappLogo:o.WhatsappLogo,WhatsappLogoIcon:o.WhatsappLogoIcon,Wheelchair:o.Wheelchair,WheelchairIcon:o.WheelchairIcon,WheelchairMotion:o.WheelchairMotion,WheelchairMotionIcon:o.WheelchairMotionIcon,WifiHigh:o.WifiHigh,WifiHighIcon:o.WifiHighIcon,WifiLow:o.WifiLow,WifiLowIcon:o.WifiLowIcon,WifiMedium:o.WifiMedium,WifiMediumIcon:o.WifiMediumIcon,WifiNone:o.WifiNone,WifiNoneIcon:o.WifiNoneIcon,WifiSlash:o.WifiSlash,WifiSlashIcon:o.WifiSlashIcon,WifiX:o.WifiX,WifiXIcon:o.WifiXIcon,Wind:o.Wind,WindIcon:o.WindIcon,Windmill:o.Windmill,WindmillIcon:o.WindmillIcon,WindowsLogo:o.WindowsLogo,WindowsLogoIcon:o.WindowsLogoIcon,Wine:o.Wine,WineIcon:o.WineIcon,Wrench:o.Wrench,WrenchIcon:o.WrenchIcon,X:o.X,XCircle:o.XCircle,XCircleIcon:o.XCircleIcon,XIcon:o.XIcon,XLogo:o.XLogo,XLogoIcon:o.XLogoIcon,XSquare:o.XSquare,XSquareIcon:o.XSquareIcon,Yarn:o.Yarn,YarnIcon:o.YarnIcon,YinYang:o.YinYang,YinYangIcon:o.YinYangIcon,YoutubeLogo:o.YoutubeLogo,YoutubeLogoIcon:o.YoutubeLogoIcon},Symbol.toStringTag,{value:"Module"})),ie=({name:e,fill:t="currentColor",hoverable:n=!1,onClick:r,className:i,width:a=24,height:u=24,style:s={}})=>{const c=_5[e];return c?d.jsx(T5,{children:d.jsx(c,{fill:t,style:{"--icon-fill":t,...s},className:ge(t1.icon,i,{[t1.hoverable]:n}),onClick:r,width:a,height:u})}):null};class T5 extends k.Component{constructor(){super(...arguments);Wi(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}const w5="_wrapper_mmfra_1",A5="_active_mmfra_27",k5="_toggle_mmfra_30",v5="_background_mmfra_42",L5="_padding_mmfra_46",xr={wrapper:w5,switch:"_switch_mmfra_14",active:A5,toggle:k5,background:v5,padding:L5},Or=e=>{const{onChange:t,style:n,current:r,label:i,hasBackground:a=!1,paddingless:u=!0}=e,[s,c]=k.useState(r),l=()=>{c(f=>!f),t==null||t(!s)};return k.useEffect(()=>{c(r)},[r]),d.jsx(d.Fragment,{children:i?d.jsxs("div",{className:ge(xr.wrapper,{[xr.background]:a,[xr.padding]:!u}),children:[d.jsx("div",{className:ge(xr.switch,{[xr.active]:s}),onClick:l,style:n,children:d.jsx("div",{className:xr.toggle})}),d.jsx("span",{className:xr.value,children:i})]}):d.jsx("div",{className:ge(xr.switch,{[xr.active]:s}),onClick:l,style:n,children:d.jsx("div",{className:xr.toggle})})})},D5="_wrapper_1gk74_2",N5="_label_1gk74_9",R5="_top_1gk74_17",P5="_select_1gk74_23",O5="_borderFocused_1gk74_42",M5="_input_1gk74_49",F5="_icon_1gk74_59",B5="_rotate_1gk74_64",H5="_content_1gk74_68",j5="_options_1gk74_72",U5="_filteredOptions_1gk74_93",V5="_open_1gk74_97",z5="_option_1gk74_72",$5="_focused_1gk74_115",q5="_addon_1gk74_119",W5="_value_1gk74_130",G5="_postfix_1gk74_134",Z5="_leftAddon_1gk74_138",Jt={wrapper:D5,label:N5,top:R5,select:P5,borderFocused:O5,input:M5,icon:F5,rotate:B5,content:H5,options:j5,filteredOptions:U5,open:V5,option:z5,focused:$5,addon:q5,value:W5,postfix:G5,leftAddon:Z5};function Xr(e){return Array.isArray?Array.isArray(e):xp(e)==="[object Array]"}function Y5(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function X5(e){return e==null?"":Y5(e)}function Lr(e){return typeof e=="string"}function Ep(e){return typeof e=="number"}function K5(e){return e===!0||e===!1||J5(e)&&xp(e)=="[object Boolean]"}function Sp(e){return typeof e=="object"}function J5(e){return Sp(e)&&e!==null}function Gn(e){return e!=null}function pc(e){return!e.trim().length}function xp(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Q5="Incorrect 'index' type",eb=e=>`Invalid value for key ${e}`,tb=e=>`Pattern length exceeds max of ${e}.`,nb=e=>`Missing ${e} property in key`,rb=e=>`Property 'weight' in key '${e}' must be a positive integer`,n1=Object.prototype.hasOwnProperty;class ob{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let i=_p(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _p(e){let t=null,n=null,r=null,i=1,a=null;if(Lr(e)||Xr(e))r=e,t=r1(e),n=gl(e);else{if(!n1.call(e,"name"))throw new Error(nb("name"));const u=e.name;if(r=u,n1.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(rb(u));t=r1(u),n=gl(u),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function r1(e){return Xr(e)?e:e.split(".")}function gl(e){return Xr(e)?e.join("."):e}function ib(e,t){let n=[],r=!1;const i=(a,u,s)=>{if(Gn(a))if(!u[s])n.push(a);else{let c=u[s];const l=a[c];if(!Gn(l))return;if(s===u.length-1&&(Lr(l)||Ep(l)||K5(l)))n.push(X5(l));else if(Xr(l)){r=!0;for(let f=0,h=l.length;f<h;f+=1)i(l[f],u,s+1)}else u.length&&i(l,u,s+1)}};return i(e,Lr(t)?t.split("."):t,0),r?n:n[0]}const ab={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ub={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},sb={location:0,threshold:.6,distance:100},cb={useExtendedSearch:!1,getFn:ib,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Pe={...ub,...ab,...sb,...cb};const lb=/[^ ]+/g;function db(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(i){const a=i.match(lb).length;if(n.has(a))return n.get(a);const u=1/Math.pow(a,.5*e),s=parseFloat(Math.round(u*r)/r);return n.set(a,s),s},clear(){n.clear()}}}class xd{constructor({getFn:t=Pe.getFn,fieldNormWeight:n=Pe.fieldNormWeight}={}){this.norm=db(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Lr(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Lr(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Gn(t)||pc(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((i,a)=>{let u=i.getFn?i.getFn(t):this.getFn(t,i.path);if(Gn(u)){if(Xr(u)){let s=[];const c=[{nestedArrIndex:-1,value:u}];for(;c.length;){const{nestedArrIndex:l,value:f}=c.pop();if(Gn(f))if(Lr(f)&&!pc(f)){let h={v:f,i:l,n:this.norm.get(f)};s.push(h)}else Xr(f)&&f.forEach((h,g)=>{c.push({nestedArrIndex:g,value:h})})}r.$[a]=s}else if(Lr(u)&&!pc(u)){let s={v:u,n:this.norm.get(u)};r.$[a]=s}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Tp(e,t,{getFn:n=Pe.getFn,fieldNormWeight:r=Pe.fieldNormWeight}={}){const i=new xd({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(_p)),i.setSources(t),i.create(),i}function fb(e,{getFn:t=Pe.getFn,fieldNormWeight:n=Pe.fieldNormWeight}={}){const{keys:r,records:i}=e,a=new xd({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function Cu(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=Pe.distance,ignoreLocation:a=Pe.ignoreLocation}={}){const u=t/e.length;if(a)return u;const s=Math.abs(r-n);return i?u+s/i:s?1:u}function hb(e=[],t=Pe.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let u=e.length;a<u;a+=1){let s=e[a];s&&r===-1?r=a:!s&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}const Fo=32;function pb(e,t,n,{location:r=Pe.location,distance:i=Pe.distance,threshold:a=Pe.threshold,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,includeMatches:c=Pe.includeMatches,ignoreLocation:l=Pe.ignoreLocation}={}){if(t.length>Fo)throw new Error(tb(Fo));const f=t.length,h=e.length,g=Math.max(0,Math.min(r,h));let m=a,b=g;const C=s>1||c,I=C?Array(h):[];let E;for(;(E=e.indexOf(t,b))>-1;){let x=Cu(t,{currentLocation:E,expectedLocation:g,distance:i,ignoreLocation:l});if(m=Math.min(x,m),b=E+f,C){let M=0;for(;M<f;)I[E+M]=1,M+=1}}b=-1;let y=[],S=1,T=f+h;const _=1<<f-1;for(let x=0;x<f;x+=1){let M=0,H=T;for(;M<H;)Cu(t,{errors:x,currentLocation:g+H,expectedLocation:g,distance:i,ignoreLocation:l})<=m?M=H:T=H,H=Math.floor((T-M)/2+M);T=H;let A=Math.max(1,g-H+1),j=u?h:Math.min(g+H,h)+f,F=Array(j+2);F[j+1]=(1<<x)-1;for(let q=j;q>=A;q-=1){let ne=q-1,be=n[e.charAt(ne)];if(C&&(I[ne]=+!!be),F[q]=(F[q+1]<<1|1)&be,x&&(F[q]|=(y[q+1]|y[q])<<1|1|y[q+1]),F[q]&_&&(S=Cu(t,{errors:x,currentLocation:ne,expectedLocation:g,distance:i,ignoreLocation:l}),S<=m)){if(m=S,b=ne,b<=g)break;A=Math.max(1,2*g-b)}}if(Cu(t,{errors:x+1,currentLocation:g,expectedLocation:g,distance:i,ignoreLocation:l})>m)break;y=F}const v={isMatch:b>=0,score:Math.max(.001,S)};if(C){const x=hb(I,s);x.length?c&&(v.indices=x):v.isMatch=!1}return v}function mb(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const as=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class wp{constructor(t,{location:n=Pe.location,threshold:r=Pe.threshold,distance:i=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreDiacritics:l=Pe.ignoreDiacritics,ignoreLocation:f=Pe.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:a,findAllMatches:u,minMatchCharLength:s,isCaseSensitive:c,ignoreDiacritics:l,ignoreLocation:f},t=c?t:t.toLowerCase(),t=l?as(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const h=(m,b)=>{this.chunks.push({pattern:m,alphabet:mb(m),startIndex:b})},g=this.pattern.length;if(g>Fo){let m=0;const b=g%Fo,C=g-b;for(;m<C;)h(this.pattern.substr(m,Fo),m),m+=Fo;if(b){const I=g-Fo;h(this.pattern.substr(I),I)}}else h(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=r?as(t):t,this.pattern===t){let C={isMatch:!0,score:0};return i&&(C.indices=[[0,t.length-1]]),C}const{location:a,distance:u,threshold:s,findAllMatches:c,minMatchCharLength:l,ignoreLocation:f}=this.options;let h=[],g=0,m=!1;this.chunks.forEach(({pattern:C,alphabet:I,startIndex:E})=>{const{isMatch:y,score:S,indices:T}=pb(t,C,I,{location:a+E,distance:u,threshold:s,findAllMatches:c,minMatchCharLength:l,includeMatches:i,ignoreLocation:f});y&&(m=!0),g+=S,y&&T&&(h=[...h,...T])});let b={isMatch:m,score:m?g/this.chunks.length:1};return m&&i&&(b.indices=h),b}}class wo{constructor(t){this.pattern=t}static isMultiMatch(t){return o1(t,this.multiRegex)}static isSingleMatch(t){return o1(t,this.singleRegex)}search(){}}function o1(e,t){const n=e.match(t);return n?n[1]:null}class gb extends wo{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bb extends wo{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class Cb extends wo{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ib extends wo{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class yb extends wo{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Eb extends wo{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ap extends wo{constructor(t,{location:n=Pe.location,threshold:r=Pe.threshold,distance:i=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreDiacritics:l=Pe.ignoreDiacritics,ignoreLocation:f=Pe.ignoreLocation}={}){super(t),this._bitapSearch=new wp(t,{location:n,threshold:r,distance:i,includeMatches:a,findAllMatches:u,minMatchCharLength:s,isCaseSensitive:c,ignoreDiacritics:l,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class kp extends wo{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const i=[],a=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+a,i.push([r,n-1]);const u=!!i.length;return{isMatch:u,score:u?0:1,indices:i}}}const bl=[gb,kp,Cb,Ib,Eb,yb,bb,Ap],i1=bl.length,Sb=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,xb="|";function _b(e,t={}){return e.split(xb).map(n=>{let r=n.trim().split(Sb).filter(a=>a&&!!a.trim()),i=[];for(let a=0,u=r.length;a<u;a+=1){const s=r[a];let c=!1,l=-1;for(;!c&&++l<i1;){const f=bl[l];let h=f.isMultiMatch(s);h&&(i.push(new f(h,t)),c=!0)}if(!c)for(l=-1;++l<i1;){const f=bl[l];let h=f.isSingleMatch(s);if(h){i.push(new f(h,t));break}}}return i})}const Tb=new Set([Ap.type,kp.type]);class wb{constructor(t,{isCaseSensitive:n=Pe.isCaseSensitive,ignoreDiacritics:r=Pe.ignoreDiacritics,includeMatches:i=Pe.includeMatches,minMatchCharLength:a=Pe.minMatchCharLength,ignoreLocation:u=Pe.ignoreLocation,findAllMatches:s=Pe.findAllMatches,location:c=Pe.location,threshold:l=Pe.threshold,distance:f=Pe.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:a,findAllMatches:s,ignoreLocation:u,location:c,threshold:l,distance:f},t=n?t:t.toLowerCase(),t=r?as(t):t,this.pattern=t,this.query=_b(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:a}=this.options;t=i?t:t.toLowerCase(),t=a?as(t):t;let u=0,s=[],c=0;for(let l=0,f=n.length;l<f;l+=1){const h=n[l];s.length=0,u=0;for(let g=0,m=h.length;g<m;g+=1){const b=h[g],{isMatch:C,indices:I,score:E}=b.search(t);if(C){if(u+=1,c+=E,r){const y=b.constructor.type;Tb.has(y)?s=[...s,...I]:s.push(I)}}else{c=0,u=0,s.length=0;break}}if(u){let g={isMatch:!0,score:c/u};return r&&(g.indices=s),g}}return{isMatch:!1,score:1}}}const Cl=[];function Ab(...e){Cl.push(...e)}function Il(e,t){for(let n=0,r=Cl.length;n<r;n+=1){let i=Cl[n];if(i.condition(e,t))return new i(e,t)}return new wp(e,t)}const us={AND:"$and",OR:"$or"},yl={PATH:"$path",PATTERN:"$val"},El=e=>!!(e[us.AND]||e[us.OR]),kb=e=>!!e[yl.PATH],vb=e=>!Xr(e)&&Sp(e)&&!El(e),a1=e=>({[us.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function vp(e,t,{auto:n=!0}={}){const r=i=>{let a=Object.keys(i);const u=kb(i);if(!u&&a.length>1&&!El(i))return r(a1(i));if(vb(i)){const c=u?i[yl.PATH]:a[0],l=u?i[yl.PATTERN]:i[c];if(!Lr(l))throw new Error(eb(c));const f={keyId:gl(c),pattern:l};return n&&(f.searcher=Il(l,t)),f}let s={children:[],operator:a[0]};return a.forEach(c=>{const l=i[c];Xr(l)&&l.forEach(f=>{s.children.push(r(f))})}),s};return El(e)||(e=a1(e)),r(e)}function Lb(e,{ignoreFieldNorm:t=Pe.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:a,score:u})=>{const s=i?i.weight:null;r*=Math.pow(u===0&&s?Number.EPSILON:u,(s||1)*(t?1:a))}),n.score=r})}function Db(e,t){const n=e.matches;t.matches=[],Gn(n)&&n.forEach(r=>{if(!Gn(r.indices)||!r.indices.length)return;const{indices:i,value:a}=r;let u={indices:i,value:a};r.key&&(u.key=r.key.src),r.idx>-1&&(u.refIndex=r.idx),t.matches.push(u)})}function Nb(e,t){t.score=e.score}function Rb(e,t,{includeMatches:n=Pe.includeMatches,includeScore:r=Pe.includeScore}={}){const i=[];return n&&i.push(Db),r&&i.push(Nb),e.map(a=>{const{idx:u}=a,s={item:t[u],refIndex:u};return i.length&&i.forEach(c=>{c(a,s)}),s})}class to{constructor(t,n={},r){this.options={...Pe,...n},this.options.useExtendedSearch,this._keyStore=new ob(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof xd))throw new Error(Q5);this._myIndex=n||Tp(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Gn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const a=this._docs[r];t(a,r)&&(this.removeAt(r),r-=1,i-=1,n.push(a))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:a,sortFn:u,ignoreFieldNorm:s}=this.options;let c=Lr(t)?Lr(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Lb(c,{ignoreFieldNorm:s}),a&&c.sort(u),Ep(n)&&n>-1&&(c=c.slice(0,n)),Rb(c,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){const n=Il(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:a,i:u,n:s})=>{if(!Gn(a))return;const{isMatch:c,score:l,indices:f}=n.searchIn(a);c&&i.push({item:a,idx:u,matches:[{score:l,value:a,norm:s,indices:f}]})}),i}_searchLogical(t){const n=vp(t,this.options),r=(s,c,l)=>{if(!s.children){const{keyId:h,searcher:g}=s,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(c,h),searcher:g});return m&&m.length?[{idx:l,item:c,matches:m}]:[]}const f=[];for(let h=0,g=s.children.length;h<g;h+=1){const m=s.children[h],b=r(m,c,l);if(b.length)f.push(...b);else if(s.operator===us.AND)return[]}return f},i=this._myIndex.records,a={},u=[];return i.forEach(({$:s,i:c})=>{if(Gn(s)){let l=r(n,s,c);l.length&&(a[c]||(a[c]={idx:c,item:s,matches:[]},u.push(a[c])),l.forEach(({matches:f})=>{a[c].matches.push(...f)}))}}),u}_searchObjectList(t){const n=Il(t,this.options),{keys:r,records:i}=this._myIndex,a=[];return i.forEach(({$:u,i:s})=>{if(!Gn(u))return;let c=[];r.forEach((l,f)=>{c.push(...this._findMatches({key:l,value:u[f],searcher:n}))}),c.length&&a.push({idx:s,item:u,matches:c})}),a}_findMatches({key:t,value:n,searcher:r}){if(!Gn(n))return[];let i=[];if(Xr(n))n.forEach(({v:a,i:u,n:s})=>{if(!Gn(a))return;const{isMatch:c,score:l,indices:f}=r.searchIn(a);c&&i.push({score:l,key:t,value:a,idx:u,norm:s,indices:f})});else{const{v:a,n:u}=n,{isMatch:s,score:c,indices:l}=r.searchIn(a);s&&i.push({score:c,key:t,value:a,norm:u,indices:l})}return i}}to.version="7.1.0";to.createIndex=Tp;to.parseIndex=fb;to.config=Pe;to.parseQuery=vp;Ab(wb);const Pb="_wrapper_187gl_1",Ob="_label_187gl_9",Mb="_input_187gl_17",Fb="_required_187gl_47",Bb="_paddingless_187gl_54",Hb="_content_187gl_58",jb="_borderless_187gl_66",Ub="_rightIcon_187gl_77",Vb="_inputPostfix_187gl_83",zr={wrapper:Pb,label:Ob,input:Mb,required:Fb,paddingless:Bb,content:Hb,borderless:jb,rightIcon:Ub,inputPostfix:Vb},ar=e=>{const{onChange:t,style:n,label:r,value:i,type:a,min:u,max:s,placeholder:c,disabled:l=!1,required:f=!1,regex:h,paddingless:g=!1,borderless:m=!1,editable:b=!1,isSearch:C=!1,postfix:I,id:E=r}=e,[y,S]=k.useState(!1);function T(v){return Number(v)<0?String(u):v}function _(v){return!f||!h?!0:new RegExp(h).test(v)}return d.jsxs("div",{className:zr.wrapper,children:[r&&d.jsx("label",{className:zr.label,htmlFor:r,children:r}),d.jsxs("div",{className:zr.content,children:[d.jsx("input",{id:E,type:a||"text",onChange:v=>{if(v.stopPropagation(),a==="text")t(v.target.value);else{const x=T(v.target.value);t(x)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(zr.input,{[zr.required]:y&&f&&!_(i),[zr.paddingless]:g,[zr.borderless]:m}),min:a==="number"?u:void 0,max:a==="number"?s:void 0,disabled:l,onFocus:()=>{m||S(!0)},style:n}),I&&d.jsx("span",{className:zr.inputPostfix,children:I}),C&&d.jsx("div",{className:zr.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:20,height:20})}),b&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})};function vi(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const So=e=>{var F,W;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null),y=k.useRef(null),S=k.useRef(null);vi(E,()=>f(!1));function T(q){g(""),t(q),f(!1),b(null)}function _(q,ne){if(!q)return"";if(!y.current){const Le=document.createElement("div");Le.style.position="absolute",Le.style.visibility="hidden",Le.style.whiteSpace="nowrap",Le.style.fontSize=window.getComputedStyle(document.body).fontSize,document.body.appendChild(Le),y.current=Le}y.current.textContent=q;const be=y.current.offsetWidth;if(be<=ne)return q;let Ie=q,Ae=be;for(;Ae>ne&&Ie.length>0;)Ie=Ie.slice(0,-1),y.current.textContent=Ie+"...",Ae=y.current.offsetWidth;if(Ie.length<=3&&q.length>3){const Le=q.split(" ")[0];if(y.current.textContent=Le,y.current.offsetWidth<=ne)return Le}return Ie+"..."}function v(q){if(!l){(q.key==="Enter"||q.key==="ArrowDown")&&f(!0);return}const ne=H;q.key==="ArrowDown"&&(q.preventDefault(),b(be=>be===null||be===ne.length-1?0:be+1)),q.key==="ArrowUp"&&(q.preventDefault(),b(be=>be===null||be===0?ne.length-1:be-1)),q.key==="Enter"&&m!==null&&(q.preventDefault(),T(ne[m])),q.key==="Escape"&&f(!1)}const x=k.useRef(null),M=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:1}),[i]),H=k.useMemo(()=>C&&h.trim()!==""?M.search(h).map(q=>q.item):i,[h,i,C,M]),A=()=>S.current?S.current.clientWidth:100,j=()=>{if(!x.current)return 100;const q=x.current.clientWidth,ne=c&&c.length>0?60:0;return q-ne};return d.jsxs("div",{className:Jt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Jt.top,children:[d.jsx("label",{className:Jt.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:Jt.content,ref:E,children:[d.jsxs("div",{className:ge(Jt.select,{[Jt.borderFocused]:l}),onKeyDown:v,onClick:q=>{q.stopPropagation(),f(ne=>!ne),I(!1)},ref:x,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Jt.addon,children:(F=c.find(q=>q.value===r))==null?void 0:F.addon}),d.jsx("div",{className:Jt.input,ref:S,children:_(r,A())}),d.jsx("div",{className:ge(Jt.icon,{[Jt.rotate]:l}),onClick:q=>{q.stopPropagation(),f(ne=>!ne)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Jt.options,{[Jt.open]:l}),style:{top:((W=x.current)==null?void 0:W.clientHeight)+10},children:[i.length>6&&d.jsx(ar,{type:"text",value:h,placeholder:"Search...",onChange:q=>{g(q),I(!0)},isSearch:!0}),d.jsxs("div",{className:Jt.filteredOptions,children:[H.map((q,ne)=>{var be;return d.jsxs("div",{className:ge(Jt.option,{[Jt.focused]:ne===m}),onClick:()=>{T(q),f(!1)},children:[c&&c.length>0&&d.jsx("div",{className:Jt.leftAddon,children:(be=c.find(Ie=>Ie.value===q))==null?void 0:be.addon}),d.jsx("span",{className:Jt.value,children:_(q,j())}),s&&d.jsx("span",{className:Jt.postfix,children:s[ne]})]},q)}),H.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})};function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sl.apply(null,arguments)}function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xl(e,t){return xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},xl(e,t)}function zb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xl(e,t)}var s1=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function $b(e,t){return!!(e===t||s1(e)&&s1(t))}function qb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!$b(e[n],t[n]))return!1;return!0}function mc(e,t){t===void 0&&(t=qb);var n,r=[],i,a=!1;function u(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return a&&n===this&&t(s,r)||(i=e.apply(this,s),a=!0,n=this,r=s),i}return u}var Wb=typeof performance=="object"&&typeof performance.now=="function",c1=Wb?function(){return performance.now()}:function(){return Date.now()};function l1(e){cancelAnimationFrame(e.id)}function Gb(e,t){var n=c1();function r(){c1()-n>=t?e.call(null):i.id=requestAnimationFrame(r)}var i={id:requestAnimationFrame(r)};return i}var gc=-1;function d1(e){if(e===void 0&&(e=!1),gc===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),gc=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return gc}var oi=null;function f1(e){if(e===void 0&&(e=!1),oi===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?oi="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?oi="negative":oi="positive-ascending"),document.body.removeChild(t),oi}return oi}process.env.NODE_ENV;var Zb=150,Yb=function(t,n){return t},zu=null,$u=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(zu=new WeakSet,$u=new WeakSet);function Xb(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,u=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,l=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(h){zb(g,h);function g(b){var C;return C=h.call(this,b)||this,C._instanceProps=c(C.props,u1(C)),C._outerRef=void 0,C._resetIsScrollingTimeoutId=null,C.state={instance:u1(C),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof C.props.initialScrollOffset=="number"?C.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},C._callOnItemsRendered=void 0,C._callOnItemsRendered=mc(function(I,E,y,S){return C.props.onItemsRendered({overscanStartIndex:I,overscanStopIndex:E,visibleStartIndex:y,visibleStopIndex:S})}),C._callOnScroll=void 0,C._callOnScroll=mc(function(I,E,y){return C.props.onScroll({scrollDirection:I,scrollOffset:E,scrollUpdateWasRequested:y})}),C._getItemStyle=void 0,C._getItemStyle=function(I){var E=C.props,y=E.direction,S=E.itemSize,T=E.layout,_=C._getItemStyleCache(l&&S,l&&T,l&&y),v;if(_.hasOwnProperty(I))v=_[I];else{var x=n(C.props,I,C._instanceProps),M=i(C.props,I,C._instanceProps),H=y==="horizontal"||T==="horizontal",A=y==="rtl",j=H?x:0;_[I]=v={position:"absolute",left:A?void 0:j,right:A?j:void 0,top:H?0:x,height:H?"100%":M,width:H?M:"100%"}}return v},C._getItemStyleCache=void 0,C._getItemStyleCache=mc(function(I,E,y){return{}}),C._onScrollHorizontal=function(I){var E=I.currentTarget,y=E.clientWidth,S=E.scrollLeft,T=E.scrollWidth;C.setState(function(_){if(_.scrollOffset===S)return null;var v=C.props.direction,x=S;if(v==="rtl")switch(f1()){case"negative":x=-S;break;case"positive-descending":x=T-y-S;break}return x=Math.max(0,Math.min(x,T-y)),{isScrolling:!0,scrollDirection:_.scrollOffset<x?"forward":"backward",scrollOffset:x,scrollUpdateWasRequested:!1}},C._resetIsScrollingDebounced)},C._onScrollVertical=function(I){var E=I.currentTarget,y=E.clientHeight,S=E.scrollHeight,T=E.scrollTop;C.setState(function(_){if(_.scrollOffset===T)return null;var v=Math.max(0,Math.min(T,S-y));return{isScrolling:!0,scrollDirection:_.scrollOffset<v?"forward":"backward",scrollOffset:v,scrollUpdateWasRequested:!1}},C._resetIsScrollingDebounced)},C._outerRefSetter=function(I){var E=C.props.outerRef;C._outerRef=I,typeof E=="function"?E(I):E!=null&&typeof E=="object"&&E.hasOwnProperty("current")&&(E.current=I)},C._resetIsScrollingDebounced=function(){C._resetIsScrollingTimeoutId!==null&&l1(C._resetIsScrollingTimeoutId),C._resetIsScrollingTimeoutId=Gb(C._resetIsScrolling,Zb)},C._resetIsScrolling=function(){C._resetIsScrollingTimeoutId=null,C.setState({isScrolling:!1},function(){C._getItemStyleCache(-1,null)})},C}g.getDerivedStateFromProps=function(C,I){return Kb(C,I),f(C),null};var m=g.prototype;return m.scrollTo=function(C){C=Math.max(0,C),this.setState(function(I){return I.scrollOffset===C?null:{scrollDirection:I.scrollOffset<C?"forward":"backward",scrollOffset:C,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},m.scrollToItem=function(C,I){I===void 0&&(I="auto");var E=this.props,y=E.itemCount,S=E.layout,T=this.state.scrollOffset;C=Math.max(0,Math.min(C,y-1));var _=0;if(this._outerRef){var v=this._outerRef;S==="vertical"?_=v.scrollWidth>v.clientWidth?d1():0:_=v.scrollHeight>v.clientHeight?d1():0}this.scrollTo(a(this.props,C,I,T,this._instanceProps,_))},m.componentDidMount=function(){var C=this.props,I=C.direction,E=C.initialScrollOffset,y=C.layout;if(typeof E=="number"&&this._outerRef!=null){var S=this._outerRef;I==="horizontal"||y==="horizontal"?S.scrollLeft=E:S.scrollTop=E}this._callPropsCallbacks()},m.componentDidUpdate=function(){var C=this.props,I=C.direction,E=C.layout,y=this.state,S=y.scrollOffset,T=y.scrollUpdateWasRequested;if(T&&this._outerRef!=null){var _=this._outerRef;if(I==="horizontal"||E==="horizontal")if(I==="rtl")switch(f1()){case"negative":_.scrollLeft=-S;break;case"positive-ascending":_.scrollLeft=S;break;default:var v=_.clientWidth,x=_.scrollWidth;_.scrollLeft=x-v-S;break}else _.scrollLeft=S;else _.scrollTop=S}this._callPropsCallbacks()},m.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&l1(this._resetIsScrollingTimeoutId)},m.render=function(){var C=this.props,I=C.children,E=C.className,y=C.direction,S=C.height,T=C.innerRef,_=C.innerElementType,v=C.innerTagName,x=C.itemCount,M=C.itemData,H=C.itemKey,A=H===void 0?Yb:H,j=C.layout,F=C.outerElementType,W=C.outerTagName,q=C.style,ne=C.useIsScrolling,be=C.width,Ie=this.state.isScrolling,Ae=y==="horizontal"||j==="horizontal",Le=Ae?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),re=w[0],pe=w[1],D=[];if(x>0)for(var X=re;X<=pe;X++)D.push(k.createElement(I,{data:M,key:A(X,M),index:X,isScrolling:ne?Ie:void 0,style:this._getItemStyle(X)}));var se=r(this.props,this._instanceProps);return k.createElement(F||W||"div",{className:E,onScroll:Le,ref:this._outerRefSetter,style:Sl({position:"relative",height:S,width:be,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},q)},k.createElement(_||v||"div",{children:D,ref:T,style:{height:Ae?"100%":se,pointerEvents:Ie?"none":void 0,width:Ae?se:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var C=this.props.itemCount;if(C>0){var I=this._getRangeToRender(),E=I[0],y=I[1],S=I[2],T=I[3];this._callOnItemsRendered(E,y,S,T)}}if(typeof this.props.onScroll=="function"){var _=this.state,v=_.scrollDirection,x=_.scrollOffset,M=_.scrollUpdateWasRequested;this._callOnScroll(v,x,M)}},m._getRangeToRender=function(){var C=this.props,I=C.itemCount,E=C.overscanCount,y=this.state,S=y.isScrolling,T=y.scrollDirection,_=y.scrollOffset;if(I===0)return[0,0,0,0];var v=u(this.props,_,this._instanceProps),x=s(this.props,v,_,this._instanceProps),M=!S||T==="backward"?Math.max(1,E):1,H=!S||T==="forward"?Math.max(1,E):1;return[Math.max(0,v-M),Math.max(0,Math.min(I-1,x+H)),v,x]},g}(k.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Kb=function(t,n){var r=t.children,i=t.direction,a=t.height,u=t.layout,s=t.innerTagName,c=t.outerTagName,l=t.width,f=n.instance;if(process.env.NODE_ENV!=="production"){(s!=null||c!=null)&&$u&&!$u.has(f)&&($u.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var h=i==="horizontal"||u==="horizontal";switch(i){case"horizontal":case"vertical":zu&&!zu.has(f)&&(zu.add(f),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(u){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+u+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(h&&typeof l!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(l===null?"null":typeof l)+'" was specified.'));if(!h&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},Jb=Xb({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,i,a,u){var s=t.direction,c=t.height,l=t.itemCount,f=t.itemSize,h=t.layout,g=t.width,m=s==="horizontal"||h==="horizontal",b=m?g:c,C=Math.max(0,l*f-b),I=Math.min(C,n*f),E=Math.max(0,n*f-b+f+u);switch(r==="smart"&&(i>=E-b&&i<=I+b?r="auto":r="center"),r){case"start":return I;case"end":return E;case"center":{var y=Math.round(E+(I-E)/2);return y<Math.ceil(b/2)?0:y>C+Math.floor(b/2)?C:y}case"auto":default:return i>=E&&i<=I?i:i<E?E:I}},getStartIndexForOffset:function(t,n){var r=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(r-1,Math.floor(n/i)))},getStopIndexForStartIndex:function(t,n,r){var i=t.direction,a=t.height,u=t.itemCount,s=t.itemSize,c=t.layout,l=t.width,f=i==="horizontal"||c==="horizontal",h=n*s,g=f?l:a,m=Math.ceil((g+r-h)/s);return Math.max(0,Math.min(u-1,n+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const Qb="_wrapper_1gk74_2",e8="_label_1gk74_9",t8="_top_1gk74_17",n8="_select_1gk74_23",r8="_borderFocused_1gk74_42",o8="_input_1gk74_49",i8="_icon_1gk74_59",a8="_rotate_1gk74_64",u8="_content_1gk74_68",s8="_options_1gk74_72",c8="_filteredOptions_1gk74_93",l8="_open_1gk74_97",d8="_option_1gk74_72",f8="_focused_1gk74_115",h8="_addon_1gk74_119",p8="_value_1gk74_130",m8="_postfix_1gk74_134",g8="_leftAddon_1gk74_138",Qt={wrapper:Qb,label:e8,top:t8,select:n8,borderFocused:r8,input:o8,icon:i8,rotate:a8,content:u8,options:s8,filteredOptions:c8,open:l8,option:d8,focused:f8,addon:h8,value:p8,postfix:m8,leftAddon:g8};function b8(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const _d=e=>{var j;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null);b8(E,()=>f(!1));function y(F){g(""),t(F),f(!1),b(null)}function S(F,W){return F?F.length>W+3?`${F.slice(0,W)}...`:F:""}function T(F){if(!l){(F.key==="Enter"||F.key==="ArrowDown")&&f(!0);return}const W=x;F.key==="ArrowDown"&&(F.preventDefault(),b(q=>q===null||q===W.length-1?0:q+1)),F.key==="ArrowUp"&&(F.preventDefault(),b(q=>q===null||q===0?W.length-1:q-1)),F.key==="Enter"&&m!==null&&(F.preventDefault(),y(W[m])),F.key==="Escape"&&f(!1)}const _=k.useRef(null),v=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:2}),[i]),x=k.useMemo(()=>C&&h.trim()!==""?v.search(h).map(F=>F.item):i,[h,i,C,v]),M=k.useMemo(()=>{const F=new Map;return c==null||c.forEach(W=>{F.set(W.value,W.addon)}),F},[c]),H=k.useMemo(()=>{if(!s)return new Map;const F=new Map;if(s.length===i.length)for(let W=0;W<i.length;W++)F.set(i[W],s[W]);return F},[i,s]),A=k.useCallback(({index:F,style:W})=>{const q=x[F];if(!q)return null;const ne=m===F,be=M.get(q),Ie=H.get(q);return d.jsxs("div",{className:ge(Qt.option,{[Qt.focused]:ne}),style:W,onClick:()=>y(q),children:[be&&d.jsx("div",{className:Qt.leftAddon,children:be}),d.jsx("span",{className:Qt.value,children:S(q,20)}),Ie&&d.jsx("span",{className:Qt.postfix,children:Ie})]},q)},[x,m,M,H]);return d.jsxs("div",{className:Qt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Qt.top,children:[d.jsx("label",{className:Qt.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:Qt.content,ref:E,children:[d.jsxs("div",{className:ge(Qt.select,{[Qt.borderFocused]:l}),onKeyDown:T,onClick:F=>{F.stopPropagation(),f(W=>!W),I(!1)},ref:_,tabIndex:0,children:[c&&d.jsx("div",{className:Qt.addon,children:M.get(r)}),d.jsx("div",{className:Qt.input,children:S(r,15)}),d.jsx("div",{className:ge(Qt.icon,{[Qt.rotate]:l}),onClick:F=>{F.stopPropagation(),f(W=>!W)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Qt.options,{[Qt.open]:l}),style:{top:((j=_.current)==null?void 0:j.clientHeight)+10},children:[i.length>6&&d.jsx(ar,{type:"text",value:h,placeholder:"Search...",onChange:F=>{g(F),I(!0)},isSearch:!0}),d.jsxs("div",{className:Qt.filteredOptions,children:[x.length===0&&d.jsx("div",{children:"No results found."}),x.length>0&&d.jsx(Jb,{height:200,itemCount:x.length,itemSize:36,width:"100%",itemKey:F=>x[F]||F,children:A})]})]})]})]})},C8="_wrapper_1yh21_2",I8="_label_1yh21_9",y8="_icon_1yh21_16",E8="_text_1yh21_28",S8="_content_1yh21_37",x8="_modal_1yh21_48",_8="_top_1yh21_56",T8="_title_1yh21_65",w8="_modalContent_1yh21_72",A8="_images_1yh21_81",k8="_add_1yh21_91",v8="_dragging_1yh21_111",L8="_description_1yh21_115",D8="_bottom_1yh21_125",N8="_cancel_1yh21_139",R8="_highlight_1yh21_144",P8="_accent_1yh21_149",O8="_image_1yh21_81",M8="_selected_1yh21_169",F8="_checkbox_1yh21_177",B8="_loading_1yh21_183",H8="_spinner_1yh21_197",Et={wrapper:C8,label:I8,icon:y8,text:E8,content:S8,modal:x8,top:_8,title:T8,modalContent:w8,images:A8,add:k8,dragging:v8,description:L8,bottom:D8,cancel:N8,highlight:R8,accent:P8,image:O8,selected:M8,checkbox:F8,loading:B8,spinner:H8};function Lp(e,t){return function(){return e.apply(t,arguments)}}const{toString:j8}=Object.prototype,{getPrototypeOf:Td}=Object,Ls=(e=>t=>{const n=j8.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ir=e=>(e=e.toLowerCase(),t=>Ls(t)===e),Ds=e=>t=>typeof t===e,{isArray:Li}=Array,Na=Ds("undefined");function U8(e){return e!==null&&!Na(e)&&e.constructor!==null&&!Na(e.constructor)&&Yn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dp=Ir("ArrayBuffer");function V8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dp(e.buffer),t}const z8=Ds("string"),Yn=Ds("function"),Np=Ds("number"),Ns=e=>e!==null&&typeof e=="object",$8=e=>e===!0||e===!1,qu=e=>{if(Ls(e)!=="object")return!1;const t=Td(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},q8=Ir("Date"),W8=Ir("File"),G8=Ir("Blob"),Z8=Ir("FileList"),Y8=e=>Ns(e)&&Yn(e.pipe),X8=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Yn(e.append)&&((t=Ls(e))==="formdata"||t==="object"&&Yn(e.toString)&&e.toString()==="[object FormData]"))},K8=Ir("URLSearchParams"),[J8,Q8,eC,tC]=["ReadableStream","Request","Response","Headers"].map(Ir),nC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Za(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Li(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),u=a.length;let s;for(r=0;r<u;r++)s=a[r],t.call(null,e[s],s,e)}}function Rp(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pp=e=>!Na(e)&&e!==Uo;function _l(){const{caseless:e}=Pp(this)&&this||{},t={},n=(r,i)=>{const a=e&&Rp(t,i)||i;qu(t[a])&&qu(r)?t[a]=_l(t[a],r):qu(r)?t[a]=_l({},r):Li(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Za(arguments[r],n);return t}const rC=(e,t,n,{allOwnKeys:r}={})=>(Za(t,(i,a)=>{n&&Yn(i)?e[a]=Lp(i,n):e[a]=i},{allOwnKeys:r}),e),oC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),iC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},aC=(e,t,n,r)=>{let i,a,u;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)u=i[a],(!r||r(u,e,t))&&!s[u]&&(t[u]=e[u],s[u]=!0);e=n!==!1&&Td(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},uC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},sC=e=>{if(!e)return null;if(Li(e))return e;let t=e.length;if(!Np(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},cC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Td(Uint8Array)),lC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},dC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},fC=Ir("HTMLFormElement"),hC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),h1=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),pC=Ir("RegExp"),Op=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Za(n,(i,a)=>{let u;(u=t(i,a,e))!==!1&&(r[a]=u||i)}),Object.defineProperties(e,r)},mC=e=>{Op(e,(t,n)=>{if(Yn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Yn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},gC=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Li(e)?r(e):r(String(e).split(t)),n},bC=()=>{},CC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function IC(e){return!!(e&&Yn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yC=e=>{const t=new Array(10),n=(r,i)=>{if(Ns(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=Li(r)?[]:{};return Za(r,(u,s)=>{const c=n(u,i+1);!Na(c)&&(a[s]=c)}),t[i]=void 0,a}}return r};return n(e,0)},EC=Ir("AsyncFunction"),SC=e=>e&&(Ns(e)||Yn(e))&&Yn(e.then)&&Yn(e.catch),Mp=((e,t)=>e?setImmediate:t?((n,r)=>(Uo.addEventListener("message",({source:i,data:a})=>{i===Uo&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Uo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yn(Uo.postMessage)),xC=typeof queueMicrotask<"u"?queueMicrotask.bind(Uo):typeof process<"u"&&process.nextTick||Mp,Y={isArray:Li,isArrayBuffer:Dp,isBuffer:U8,isFormData:X8,isArrayBufferView:V8,isString:z8,isNumber:Np,isBoolean:$8,isObject:Ns,isPlainObject:qu,isReadableStream:J8,isRequest:Q8,isResponse:eC,isHeaders:tC,isUndefined:Na,isDate:q8,isFile:W8,isBlob:G8,isRegExp:pC,isFunction:Yn,isStream:Y8,isURLSearchParams:K8,isTypedArray:cC,isFileList:Z8,forEach:Za,merge:_l,extend:rC,trim:nC,stripBOM:oC,inherits:iC,toFlatObject:aC,kindOf:Ls,kindOfTest:Ir,endsWith:uC,toArray:sC,forEachEntry:lC,matchAll:dC,isHTMLForm:fC,hasOwnProperty:h1,hasOwnProp:h1,reduceDescriptors:Op,freezeMethods:mC,toObjectSet:gC,toCamelCase:hC,noop:bC,toFiniteNumber:CC,findKey:Rp,global:Uo,isContextDefined:Pp,isSpecCompliantForm:IC,toJSONObject:yC,isAsyncFn:EC,isThenable:SC,setImmediate:Mp,asap:xC};function je(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Y.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const Fp=je.prototype,Bp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bp[e]={value:e}});Object.defineProperties(je,Bp);Object.defineProperty(Fp,"isAxiosError",{value:!0});je.from=(e,t,n,r,i,a)=>{const u=Object.create(Fp);return Y.toFlatObject(e,u,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),je.call(u,e.message,t,n,r,i),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const _C=null;function Tl(e){return Y.isPlainObject(e)||Y.isArray(e)}function Hp(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function p1(e,t,n){return e?e.concat(t).map(function(i,a){return i=Hp(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function TC(e){return Y.isArray(e)&&!e.some(Tl)}const wC=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)});function Rs(e,t,n){if(!Y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,I){return!Y.isUndefined(I[C])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,u=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(Y.isDate(b))return b.toISOString();if(!c&&Y.isBlob(b))throw new je("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(b)||Y.isTypedArray(b)?c&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function f(b,C,I){let E=b;if(b&&!I&&typeof b=="object"){if(Y.endsWith(C,"{}"))C=r?C:C.slice(0,-2),b=JSON.stringify(b);else if(Y.isArray(b)&&TC(b)||(Y.isFileList(b)||Y.endsWith(C,"[]"))&&(E=Y.toArray(b)))return C=Hp(C),E.forEach(function(S,T){!(Y.isUndefined(S)||S===null)&&t.append(u===!0?p1([C],T,a):u===null?C:C+"[]",l(S))}),!1}return Tl(b)?!0:(t.append(p1(I,C,a),l(b)),!1)}const h=[],g=Object.assign(wC,{defaultVisitor:f,convertValue:l,isVisitable:Tl});function m(b,C){if(!Y.isUndefined(b)){if(h.indexOf(b)!==-1)throw Error("Circular reference detected in "+C.join("."));h.push(b),Y.forEach(b,function(E,y){(!(Y.isUndefined(E)||E===null)&&i.call(t,E,Y.isString(y)?y.trim():y,C,g))===!0&&m(E,C?C.concat(y):[y])}),h.pop()}}if(!Y.isObject(e))throw new TypeError("data must be an object");return m(e),t}function m1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function wd(e,t){this._pairs=[],e&&Rs(e,this,t)}const jp=wd.prototype;jp.append=function(t,n){this._pairs.push([t,n])};jp.toString=function(t){const n=t?function(r){return t.call(this,r,m1)}:m1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function AC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Up(e,t,n){if(!t)return e;const r=n&&n.encode||AC;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=Y.isURLSearchParams(t)?t.toString():new wd(t,n).toString(r),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class g1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Vp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kC=typeof URLSearchParams<"u"?URLSearchParams:wd,vC=typeof FormData<"u"?FormData:null,LC=typeof Blob<"u"?Blob:null,DC={isBrowser:!0,classes:{URLSearchParams:kC,FormData:vC,Blob:LC},protocols:["http","https","file","blob","url","data"]},Ad=typeof window<"u"&&typeof document<"u",wl=typeof navigator=="object"&&navigator||void 0,NC=Ad&&(!wl||["ReactNative","NativeScript","NS"].indexOf(wl.product)<0),RC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PC=Ad&&window.location.href||"http://localhost",OC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ad,hasStandardBrowserEnv:NC,hasStandardBrowserWebWorkerEnv:RC,navigator:wl,origin:PC},Symbol.toStringTag,{value:"Module"})),En={...OC,...DC};function MC(e,t){return Rs(e,new En.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return En.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function FC(e){return Y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function BC(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function zp(e){function t(n,r,i,a){let u=n[a++];if(u==="__proto__")return!0;const s=Number.isFinite(+u),c=a>=n.length;return u=!u&&Y.isArray(i)?i.length:u,c?(Y.hasOwnProp(i,u)?i[u]=[i[u],r]:i[u]=r,!s):((!i[u]||!Y.isObject(i[u]))&&(i[u]=[]),t(n,r,i[u],a)&&Y.isArray(i[u])&&(i[u]=BC(i[u])),!s)}if(Y.isFormData(e)&&Y.isFunction(e.entries)){const n={};return Y.forEachEntry(e,(r,i)=>{t(FC(r),i,n,0)}),n}return null}function HC(e,t,n){if(Y.isString(e))try{return(t||JSON.parse)(e),Y.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ya={transitional:Vp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return i?JSON.stringify(zp(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return MC(t,this.formSerializer).toString();if((s=Y.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rs(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),HC(t)):t}],transformResponse:[function(t){const n=this.transitional||Ya.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(r&&!this.responseType||i)){const u=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(u)throw s.name==="SyntaxError"?je.from(s,je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:En.classes.FormData,Blob:En.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{Ya.headers[e]={}});const jC=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),UC=e=>{const t={};let n,r,i;return e&&e.split(`
64
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",u=0;u<arguments.length;u++){var s=arguments[u];s&&(a=i(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var u="";for(var s in a)t.call(a,s)&&a[s]&&(u=i(u,s));return u}function i(a,u){return u?a?a+" "+u:a+u:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(yp);var E5=yp.exports;const ge=_s(E5),S5="_icon_bsuj2_1",x5="_hoverable_bsuj2_5",t1={icon:S5,hoverable:x5},_5=Object.freeze(Object.defineProperty({__proto__:null,Acorn:o.Acorn,AcornIcon:o.AcornIcon,ActivityIcon:o.ActivityIcon,AddressBook:o.AddressBook,AddressBookIcon:o.AddressBookIcon,AddressBookTabs:o.AddressBookTabs,AddressBookTabsIcon:o.AddressBookTabsIcon,AirTrafficControl:o.AirTrafficControl,AirTrafficControlIcon:o.AirTrafficControlIcon,Airplane:o.Airplane,AirplaneIcon:o.AirplaneIcon,AirplaneInFlight:o.AirplaneInFlight,AirplaneInFlightIcon:o.AirplaneInFlightIcon,AirplaneLanding:o.AirplaneLanding,AirplaneLandingIcon:o.AirplaneLandingIcon,AirplaneTakeoff:o.AirplaneTakeoff,AirplaneTakeoffIcon:o.AirplaneTakeoffIcon,AirplaneTaxiing:o.AirplaneTaxiing,AirplaneTaxiingIcon:o.AirplaneTaxiingIcon,AirplaneTilt:o.AirplaneTilt,AirplaneTiltIcon:o.AirplaneTiltIcon,Airplay:o.Airplay,AirplayIcon:o.AirplayIcon,Alarm:o.Alarm,AlarmIcon:o.AlarmIcon,Alien:o.Alien,AlienIcon:o.AlienIcon,AlignBottom:o.AlignBottom,AlignBottomIcon:o.AlignBottomIcon,AlignBottomSimple:o.AlignBottomSimple,AlignBottomSimpleIcon:o.AlignBottomSimpleIcon,AlignCenterHorizontal:o.AlignCenterHorizontal,AlignCenterHorizontalIcon:o.AlignCenterHorizontalIcon,AlignCenterHorizontalSimple:o.AlignCenterHorizontalSimple,AlignCenterHorizontalSimpleIcon:o.AlignCenterHorizontalSimpleIcon,AlignCenterVertical:o.AlignCenterVertical,AlignCenterVerticalIcon:o.AlignCenterVerticalIcon,AlignCenterVerticalSimple:o.AlignCenterVerticalSimple,AlignCenterVerticalSimpleIcon:o.AlignCenterVerticalSimpleIcon,AlignLeft:o.AlignLeft,AlignLeftIcon:o.AlignLeftIcon,AlignLeftSimple:o.AlignLeftSimple,AlignLeftSimpleIcon:o.AlignLeftSimpleIcon,AlignRight:o.AlignRight,AlignRightIcon:o.AlignRightIcon,AlignRightSimple:o.AlignRightSimple,AlignRightSimpleIcon:o.AlignRightSimpleIcon,AlignTop:o.AlignTop,AlignTopIcon:o.AlignTopIcon,AlignTopSimple:o.AlignTopSimple,AlignTopSimpleIcon:o.AlignTopSimpleIcon,AmazonLogo:o.AmazonLogo,AmazonLogoIcon:o.AmazonLogoIcon,Ambulance:o.Ambulance,AmbulanceIcon:o.AmbulanceIcon,Anchor:o.Anchor,AnchorIcon:o.AnchorIcon,AnchorSimple:o.AnchorSimple,AnchorSimpleIcon:o.AnchorSimpleIcon,AndroidLogo:o.AndroidLogo,AndroidLogoIcon:o.AndroidLogoIcon,Angle:o.Angle,AngleIcon:o.AngleIcon,AngularLogo:o.AngularLogo,AngularLogoIcon:o.AngularLogoIcon,Aperture:o.Aperture,ApertureIcon:o.ApertureIcon,AppStoreLogo:o.AppStoreLogo,AppStoreLogoIcon:o.AppStoreLogoIcon,AppWindow:o.AppWindow,AppWindowIcon:o.AppWindowIcon,AppleLogo:o.AppleLogo,AppleLogoIcon:o.AppleLogoIcon,ApplePodcastsLogo:o.ApplePodcastsLogo,ApplePodcastsLogoIcon:o.ApplePodcastsLogoIcon,ApproximateEquals:o.ApproximateEquals,ApproximateEqualsIcon:o.ApproximateEqualsIcon,Archive:o.Archive,ArchiveBoxIcon:o.ArchiveBoxIcon,ArchiveIcon:o.ArchiveIcon,ArchiveTrayIcon:o.ArchiveTrayIcon,Armchair:o.Armchair,ArmchairIcon:o.ArmchairIcon,ArrowArcLeft:o.ArrowArcLeft,ArrowArcLeftIcon:o.ArrowArcLeftIcon,ArrowArcRight:o.ArrowArcRight,ArrowArcRightIcon:o.ArrowArcRightIcon,ArrowBendDoubleUpLeft:o.ArrowBendDoubleUpLeft,ArrowBendDoubleUpLeftIcon:o.ArrowBendDoubleUpLeftIcon,ArrowBendDoubleUpRight:o.ArrowBendDoubleUpRight,ArrowBendDoubleUpRightIcon:o.ArrowBendDoubleUpRightIcon,ArrowBendDownLeft:o.ArrowBendDownLeft,ArrowBendDownLeftIcon:o.ArrowBendDownLeftIcon,ArrowBendDownRight:o.ArrowBendDownRight,ArrowBendDownRightIcon:o.ArrowBendDownRightIcon,ArrowBendLeftDown:o.ArrowBendLeftDown,ArrowBendLeftDownIcon:o.ArrowBendLeftDownIcon,ArrowBendLeftUp:o.ArrowBendLeftUp,ArrowBendLeftUpIcon:o.ArrowBendLeftUpIcon,ArrowBendRightDown:o.ArrowBendRightDown,ArrowBendRightDownIcon:o.ArrowBendRightDownIcon,ArrowBendRightUp:o.ArrowBendRightUp,ArrowBendRightUpIcon:o.ArrowBendRightUpIcon,ArrowBendUpLeft:o.ArrowBendUpLeft,ArrowBendUpLeftIcon:o.ArrowBendUpLeftIcon,ArrowBendUpRight:o.ArrowBendUpRight,ArrowBendUpRightIcon:o.ArrowBendUpRightIcon,ArrowCircleDown:o.ArrowCircleDown,ArrowCircleDownIcon:o.ArrowCircleDownIcon,ArrowCircleDownLeft:o.ArrowCircleDownLeft,ArrowCircleDownLeftIcon:o.ArrowCircleDownLeftIcon,ArrowCircleDownRight:o.ArrowCircleDownRight,ArrowCircleDownRightIcon:o.ArrowCircleDownRightIcon,ArrowCircleLeft:o.ArrowCircleLeft,ArrowCircleLeftIcon:o.ArrowCircleLeftIcon,ArrowCircleRight:o.ArrowCircleRight,ArrowCircleRightIcon:o.ArrowCircleRightIcon,ArrowCircleUp:o.ArrowCircleUp,ArrowCircleUpIcon:o.ArrowCircleUpIcon,ArrowCircleUpLeft:o.ArrowCircleUpLeft,ArrowCircleUpLeftIcon:o.ArrowCircleUpLeftIcon,ArrowCircleUpRight:o.ArrowCircleUpRight,ArrowCircleUpRightIcon:o.ArrowCircleUpRightIcon,ArrowClockwise:o.ArrowClockwise,ArrowClockwiseIcon:o.ArrowClockwiseIcon,ArrowCounterClockwise:o.ArrowCounterClockwise,ArrowCounterClockwiseIcon:o.ArrowCounterClockwiseIcon,ArrowDown:o.ArrowDown,ArrowDownIcon:o.ArrowDownIcon,ArrowDownLeft:o.ArrowDownLeft,ArrowDownLeftIcon:o.ArrowDownLeftIcon,ArrowDownRight:o.ArrowDownRight,ArrowDownRightIcon:o.ArrowDownRightIcon,ArrowElbowDownLeft:o.ArrowElbowDownLeft,ArrowElbowDownLeftIcon:o.ArrowElbowDownLeftIcon,ArrowElbowDownRight:o.ArrowElbowDownRight,ArrowElbowDownRightIcon:o.ArrowElbowDownRightIcon,ArrowElbowLeft:o.ArrowElbowLeft,ArrowElbowLeftDown:o.ArrowElbowLeftDown,ArrowElbowLeftDownIcon:o.ArrowElbowLeftDownIcon,ArrowElbowLeftIcon:o.ArrowElbowLeftIcon,ArrowElbowLeftUp:o.ArrowElbowLeftUp,ArrowElbowLeftUpIcon:o.ArrowElbowLeftUpIcon,ArrowElbowRight:o.ArrowElbowRight,ArrowElbowRightDown:o.ArrowElbowRightDown,ArrowElbowRightDownIcon:o.ArrowElbowRightDownIcon,ArrowElbowRightIcon:o.ArrowElbowRightIcon,ArrowElbowRightUp:o.ArrowElbowRightUp,ArrowElbowRightUpIcon:o.ArrowElbowRightUpIcon,ArrowElbowUpLeft:o.ArrowElbowUpLeft,ArrowElbowUpLeftIcon:o.ArrowElbowUpLeftIcon,ArrowElbowUpRight:o.ArrowElbowUpRight,ArrowElbowUpRightIcon:o.ArrowElbowUpRightIcon,ArrowFatDown:o.ArrowFatDown,ArrowFatDownIcon:o.ArrowFatDownIcon,ArrowFatLeft:o.ArrowFatLeft,ArrowFatLeftIcon:o.ArrowFatLeftIcon,ArrowFatLineDown:o.ArrowFatLineDown,ArrowFatLineDownIcon:o.ArrowFatLineDownIcon,ArrowFatLineLeft:o.ArrowFatLineLeft,ArrowFatLineLeftIcon:o.ArrowFatLineLeftIcon,ArrowFatLineRight:o.ArrowFatLineRight,ArrowFatLineRightIcon:o.ArrowFatLineRightIcon,ArrowFatLineUp:o.ArrowFatLineUp,ArrowFatLineUpIcon:o.ArrowFatLineUpIcon,ArrowFatLinesDown:o.ArrowFatLinesDown,ArrowFatLinesDownIcon:o.ArrowFatLinesDownIcon,ArrowFatLinesLeft:o.ArrowFatLinesLeft,ArrowFatLinesLeftIcon:o.ArrowFatLinesLeftIcon,ArrowFatLinesRight:o.ArrowFatLinesRight,ArrowFatLinesRightIcon:o.ArrowFatLinesRightIcon,ArrowFatLinesUp:o.ArrowFatLinesUp,ArrowFatLinesUpIcon:o.ArrowFatLinesUpIcon,ArrowFatRight:o.ArrowFatRight,ArrowFatRightIcon:o.ArrowFatRightIcon,ArrowFatUp:o.ArrowFatUp,ArrowFatUpIcon:o.ArrowFatUpIcon,ArrowLeft:o.ArrowLeft,ArrowLeftIcon:o.ArrowLeftIcon,ArrowLineDown:o.ArrowLineDown,ArrowLineDownIcon:o.ArrowLineDownIcon,ArrowLineDownLeft:o.ArrowLineDownLeft,ArrowLineDownLeftIcon:o.ArrowLineDownLeftIcon,ArrowLineDownRight:o.ArrowLineDownRight,ArrowLineDownRightIcon:o.ArrowLineDownRightIcon,ArrowLineLeft:o.ArrowLineLeft,ArrowLineLeftIcon:o.ArrowLineLeftIcon,ArrowLineRight:o.ArrowLineRight,ArrowLineRightIcon:o.ArrowLineRightIcon,ArrowLineUp:o.ArrowLineUp,ArrowLineUpIcon:o.ArrowLineUpIcon,ArrowLineUpLeft:o.ArrowLineUpLeft,ArrowLineUpLeftIcon:o.ArrowLineUpLeftIcon,ArrowLineUpRight:o.ArrowLineUpRight,ArrowLineUpRightIcon:o.ArrowLineUpRightIcon,ArrowRight:o.ArrowRight,ArrowRightIcon:o.ArrowRightIcon,ArrowSquareDown:o.ArrowSquareDown,ArrowSquareDownIcon:o.ArrowSquareDownIcon,ArrowSquareDownLeft:o.ArrowSquareDownLeft,ArrowSquareDownLeftIcon:o.ArrowSquareDownLeftIcon,ArrowSquareDownRight:o.ArrowSquareDownRight,ArrowSquareDownRightIcon:o.ArrowSquareDownRightIcon,ArrowSquareIn:o.ArrowSquareIn,ArrowSquareInIcon:o.ArrowSquareInIcon,ArrowSquareLeft:o.ArrowSquareLeft,ArrowSquareLeftIcon:o.ArrowSquareLeftIcon,ArrowSquareOut:o.ArrowSquareOut,ArrowSquareOutIcon:o.ArrowSquareOutIcon,ArrowSquareRight:o.ArrowSquareRight,ArrowSquareRightIcon:o.ArrowSquareRightIcon,ArrowSquareUp:o.ArrowSquareUp,ArrowSquareUpIcon:o.ArrowSquareUpIcon,ArrowSquareUpLeft:o.ArrowSquareUpLeft,ArrowSquareUpLeftIcon:o.ArrowSquareUpLeftIcon,ArrowSquareUpRight:o.ArrowSquareUpRight,ArrowSquareUpRightIcon:o.ArrowSquareUpRightIcon,ArrowUDownLeft:o.ArrowUDownLeft,ArrowUDownLeftIcon:o.ArrowUDownLeftIcon,ArrowUDownRight:o.ArrowUDownRight,ArrowUDownRightIcon:o.ArrowUDownRightIcon,ArrowULeftDown:o.ArrowULeftDown,ArrowULeftDownIcon:o.ArrowULeftDownIcon,ArrowULeftUp:o.ArrowULeftUp,ArrowULeftUpIcon:o.ArrowULeftUpIcon,ArrowURightDown:o.ArrowURightDown,ArrowURightDownIcon:o.ArrowURightDownIcon,ArrowURightUp:o.ArrowURightUp,ArrowURightUpIcon:o.ArrowURightUpIcon,ArrowUUpLeft:o.ArrowUUpLeft,ArrowUUpLeftIcon:o.ArrowUUpLeftIcon,ArrowUUpRight:o.ArrowUUpRight,ArrowUUpRightIcon:o.ArrowUUpRightIcon,ArrowUp:o.ArrowUp,ArrowUpIcon:o.ArrowUpIcon,ArrowUpLeft:o.ArrowUpLeft,ArrowUpLeftIcon:o.ArrowUpLeftIcon,ArrowUpRight:o.ArrowUpRight,ArrowUpRightIcon:o.ArrowUpRightIcon,ArrowsClockwise:o.ArrowsClockwise,ArrowsClockwiseIcon:o.ArrowsClockwiseIcon,ArrowsCounterClockwise:o.ArrowsCounterClockwise,ArrowsCounterClockwiseIcon:o.ArrowsCounterClockwiseIcon,ArrowsDownUp:o.ArrowsDownUp,ArrowsDownUpIcon:o.ArrowsDownUpIcon,ArrowsHorizontal:o.ArrowsHorizontal,ArrowsHorizontalIcon:o.ArrowsHorizontalIcon,ArrowsIn:o.ArrowsIn,ArrowsInCardinal:o.ArrowsInCardinal,ArrowsInCardinalIcon:o.ArrowsInCardinalIcon,ArrowsInIcon:o.ArrowsInIcon,ArrowsInLineHorizontal:o.ArrowsInLineHorizontal,ArrowsInLineHorizontalIcon:o.ArrowsInLineHorizontalIcon,ArrowsInLineVertical:o.ArrowsInLineVertical,ArrowsInLineVerticalIcon:o.ArrowsInLineVerticalIcon,ArrowsInSimple:o.ArrowsInSimple,ArrowsInSimpleIcon:o.ArrowsInSimpleIcon,ArrowsLeftRight:o.ArrowsLeftRight,ArrowsLeftRightIcon:o.ArrowsLeftRightIcon,ArrowsMerge:o.ArrowsMerge,ArrowsMergeIcon:o.ArrowsMergeIcon,ArrowsOut:o.ArrowsOut,ArrowsOutCardinal:o.ArrowsOutCardinal,ArrowsOutCardinalIcon:o.ArrowsOutCardinalIcon,ArrowsOutIcon:o.ArrowsOutIcon,ArrowsOutLineHorizontal:o.ArrowsOutLineHorizontal,ArrowsOutLineHorizontalIcon:o.ArrowsOutLineHorizontalIcon,ArrowsOutLineVertical:o.ArrowsOutLineVertical,ArrowsOutLineVerticalIcon:o.ArrowsOutLineVerticalIcon,ArrowsOutSimple:o.ArrowsOutSimple,ArrowsOutSimpleIcon:o.ArrowsOutSimpleIcon,ArrowsSplit:o.ArrowsSplit,ArrowsSplitIcon:o.ArrowsSplitIcon,ArrowsVertical:o.ArrowsVertical,ArrowsVerticalIcon:o.ArrowsVerticalIcon,Article:o.Article,ArticleIcon:o.ArticleIcon,ArticleMedium:o.ArticleMedium,ArticleMediumIcon:o.ArticleMediumIcon,ArticleNyTimes:o.ArticleNyTimes,ArticleNyTimesIcon:o.ArticleNyTimesIcon,Asclepius:o.Asclepius,AsclepiusIcon:o.AsclepiusIcon,Asterisk:o.Asterisk,AsteriskIcon:o.AsteriskIcon,AsteriskSimple:o.AsteriskSimple,AsteriskSimpleIcon:o.AsteriskSimpleIcon,At:o.At,AtIcon:o.AtIcon,Atom:o.Atom,AtomIcon:o.AtomIcon,Avocado:o.Avocado,AvocadoIcon:o.AvocadoIcon,Axe:o.Axe,AxeIcon:o.AxeIcon,Baby:o.Baby,BabyCarriage:o.BabyCarriage,BabyCarriageIcon:o.BabyCarriageIcon,BabyIcon:o.BabyIcon,Backpack:o.Backpack,BackpackIcon:o.BackpackIcon,Backspace:o.Backspace,BackspaceIcon:o.BackspaceIcon,Bag:o.Bag,BagIcon:o.BagIcon,BagSimple:o.BagSimple,BagSimpleIcon:o.BagSimpleIcon,Balloon:o.Balloon,BalloonIcon:o.BalloonIcon,Bandaids:o.Bandaids,BandaidsIcon:o.BandaidsIcon,Bank:o.Bank,BankIcon:o.BankIcon,Barbell:o.Barbell,BarbellIcon:o.BarbellIcon,Barcode:o.Barcode,BarcodeIcon:o.BarcodeIcon,Barn:o.Barn,BarnIcon:o.BarnIcon,Barricade:o.Barricade,BarricadeIcon:o.BarricadeIcon,Baseball:o.Baseball,BaseballCap:o.BaseballCap,BaseballCapIcon:o.BaseballCapIcon,BaseballHelmet:o.BaseballHelmet,BaseballHelmetIcon:o.BaseballHelmetIcon,BaseballIcon:o.BaseballIcon,Basket:o.Basket,BasketIcon:o.BasketIcon,Basketball:o.Basketball,BasketballIcon:o.BasketballIcon,Bathtub:o.Bathtub,BathtubIcon:o.BathtubIcon,BatteryCharging:o.BatteryCharging,BatteryChargingIcon:o.BatteryChargingIcon,BatteryChargingVertical:o.BatteryChargingVertical,BatteryChargingVerticalIcon:o.BatteryChargingVerticalIcon,BatteryEmpty:o.BatteryEmpty,BatteryEmptyIcon:o.BatteryEmptyIcon,BatteryFull:o.BatteryFull,BatteryFullIcon:o.BatteryFullIcon,BatteryHigh:o.BatteryHigh,BatteryHighIcon:o.BatteryHighIcon,BatteryLow:o.BatteryLow,BatteryLowIcon:o.BatteryLowIcon,BatteryMedium:o.BatteryMedium,BatteryMediumIcon:o.BatteryMediumIcon,BatteryPlus:o.BatteryPlus,BatteryPlusIcon:o.BatteryPlusIcon,BatteryPlusVertical:o.BatteryPlusVertical,BatteryPlusVerticalIcon:o.BatteryPlusVerticalIcon,BatteryVerticalEmpty:o.BatteryVerticalEmpty,BatteryVerticalEmptyIcon:o.BatteryVerticalEmptyIcon,BatteryVerticalFull:o.BatteryVerticalFull,BatteryVerticalFullIcon:o.BatteryVerticalFullIcon,BatteryVerticalHigh:o.BatteryVerticalHigh,BatteryVerticalHighIcon:o.BatteryVerticalHighIcon,BatteryVerticalLow:o.BatteryVerticalLow,BatteryVerticalLowIcon:o.BatteryVerticalLowIcon,BatteryVerticalMedium:o.BatteryVerticalMedium,BatteryVerticalMediumIcon:o.BatteryVerticalMediumIcon,BatteryWarning:o.BatteryWarning,BatteryWarningIcon:o.BatteryWarningIcon,BatteryWarningVertical:o.BatteryWarningVertical,BatteryWarningVerticalIcon:o.BatteryWarningVerticalIcon,BeachBall:o.BeachBall,BeachBallIcon:o.BeachBallIcon,Beanie:o.Beanie,BeanieIcon:o.BeanieIcon,Bed:o.Bed,BedIcon:o.BedIcon,BeerBottle:o.BeerBottle,BeerBottleIcon:o.BeerBottleIcon,BeerStein:o.BeerStein,BeerSteinIcon:o.BeerSteinIcon,BehanceLogo:o.BehanceLogo,BehanceLogoIcon:o.BehanceLogoIcon,Bell:o.Bell,BellIcon:o.BellIcon,BellRinging:o.BellRinging,BellRingingIcon:o.BellRingingIcon,BellSimple:o.BellSimple,BellSimpleIcon:o.BellSimpleIcon,BellSimpleRinging:o.BellSimpleRinging,BellSimpleRingingIcon:o.BellSimpleRingingIcon,BellSimpleSlash:o.BellSimpleSlash,BellSimpleSlashIcon:o.BellSimpleSlashIcon,BellSimpleZ:o.BellSimpleZ,BellSimpleZIcon:o.BellSimpleZIcon,BellSlash:o.BellSlash,BellSlashIcon:o.BellSlashIcon,BellZ:o.BellZ,BellZIcon:o.BellZIcon,Belt:o.Belt,BeltIcon:o.BeltIcon,BezierCurve:o.BezierCurve,BezierCurveIcon:o.BezierCurveIcon,Bicycle:o.Bicycle,BicycleIcon:o.BicycleIcon,Binary:o.Binary,BinaryIcon:o.BinaryIcon,Binoculars:o.Binoculars,BinocularsIcon:o.BinocularsIcon,Biohazard:o.Biohazard,BiohazardIcon:o.BiohazardIcon,Bird:o.Bird,BirdIcon:o.BirdIcon,Blueprint:o.Blueprint,BlueprintIcon:o.BlueprintIcon,Bluetooth:o.Bluetooth,BluetoothConnected:o.BluetoothConnected,BluetoothConnectedIcon:o.BluetoothConnectedIcon,BluetoothIcon:o.BluetoothIcon,BluetoothSlash:o.BluetoothSlash,BluetoothSlashIcon:o.BluetoothSlashIcon,BluetoothX:o.BluetoothX,BluetoothXIcon:o.BluetoothXIcon,Boat:o.Boat,BoatIcon:o.BoatIcon,Bomb:o.Bomb,BombIcon:o.BombIcon,Bone:o.Bone,BoneIcon:o.BoneIcon,Book:o.Book,BookBookmark:o.BookBookmark,BookBookmarkIcon:o.BookBookmarkIcon,BookIcon:o.BookIcon,BookOpen:o.BookOpen,BookOpenIcon:o.BookOpenIcon,BookOpenText:o.BookOpenText,BookOpenTextIcon:o.BookOpenTextIcon,BookOpenUser:o.BookOpenUser,BookOpenUserIcon:o.BookOpenUserIcon,Bookmark:o.Bookmark,BookmarkIcon:o.BookmarkIcon,BookmarkSimple:o.BookmarkSimple,BookmarkSimpleIcon:o.BookmarkSimpleIcon,Bookmarks:o.Bookmarks,BookmarksIcon:o.BookmarksIcon,BookmarksSimple:o.BookmarksSimple,BookmarksSimpleIcon:o.BookmarksSimpleIcon,Books:o.Books,BooksIcon:o.BooksIcon,Boot:o.Boot,BootIcon:o.BootIcon,Boules:o.Boules,BoulesIcon:o.BoulesIcon,BoundingBox:o.BoundingBox,BoundingBoxIcon:o.BoundingBoxIcon,BowlFood:o.BowlFood,BowlFoodIcon:o.BowlFoodIcon,BowlSteam:o.BowlSteam,BowlSteamIcon:o.BowlSteamIcon,BowlingBall:o.BowlingBall,BowlingBallIcon:o.BowlingBallIcon,BoxArrowDown:o.BoxArrowDown,BoxArrowDownIcon:o.BoxArrowDownIcon,BoxArrowUp:o.BoxArrowUp,BoxArrowUpIcon:o.BoxArrowUpIcon,BoxingGlove:o.BoxingGlove,BoxingGloveIcon:o.BoxingGloveIcon,BracketsAngle:o.BracketsAngle,BracketsAngleIcon:o.BracketsAngleIcon,BracketsCurly:o.BracketsCurly,BracketsCurlyIcon:o.BracketsCurlyIcon,BracketsRound:o.BracketsRound,BracketsRoundIcon:o.BracketsRoundIcon,BracketsSquare:o.BracketsSquare,BracketsSquareIcon:o.BracketsSquareIcon,Brain:o.Brain,BrainIcon:o.BrainIcon,Brandy:o.Brandy,BrandyIcon:o.BrandyIcon,Bread:o.Bread,BreadIcon:o.BreadIcon,Bridge:o.Bridge,BridgeIcon:o.BridgeIcon,Briefcase:o.Briefcase,BriefcaseIcon:o.BriefcaseIcon,BriefcaseMetal:o.BriefcaseMetal,BriefcaseMetalIcon:o.BriefcaseMetalIcon,Broadcast:o.Broadcast,BroadcastIcon:o.BroadcastIcon,Broom:o.Broom,BroomIcon:o.BroomIcon,Browser:o.Browser,BrowserIcon:o.BrowserIcon,Browsers:o.Browsers,BrowsersIcon:o.BrowsersIcon,Bug:o.Bug,BugBeetle:o.BugBeetle,BugBeetleIcon:o.BugBeetleIcon,BugDroid:o.BugDroid,BugDroidIcon:o.BugDroidIcon,BugIcon:o.BugIcon,Building:o.Building,BuildingApartment:o.BuildingApartment,BuildingApartmentIcon:o.BuildingApartmentIcon,BuildingIcon:o.BuildingIcon,BuildingOffice:o.BuildingOffice,BuildingOfficeIcon:o.BuildingOfficeIcon,Buildings:o.Buildings,BuildingsIcon:o.BuildingsIcon,Bulldozer:o.Bulldozer,BulldozerIcon:o.BulldozerIcon,Bus:o.Bus,BusIcon:o.BusIcon,Butterfly:o.Butterfly,ButterflyIcon:o.ButterflyIcon,CableCar:o.CableCar,CableCarIcon:o.CableCarIcon,Cactus:o.Cactus,CactusIcon:o.CactusIcon,CaduceusIcon:o.CaduceusIcon,Cake:o.Cake,CakeIcon:o.CakeIcon,Calculator:o.Calculator,CalculatorIcon:o.CalculatorIcon,Calendar:o.Calendar,CalendarBlank:o.CalendarBlank,CalendarBlankIcon:o.CalendarBlankIcon,CalendarCheck:o.CalendarCheck,CalendarCheckIcon:o.CalendarCheckIcon,CalendarDot:o.CalendarDot,CalendarDotIcon:o.CalendarDotIcon,CalendarDots:o.CalendarDots,CalendarDotsIcon:o.CalendarDotsIcon,CalendarHeart:o.CalendarHeart,CalendarHeartIcon:o.CalendarHeartIcon,CalendarIcon:o.CalendarIcon,CalendarMinus:o.CalendarMinus,CalendarMinusIcon:o.CalendarMinusIcon,CalendarPlus:o.CalendarPlus,CalendarPlusIcon:o.CalendarPlusIcon,CalendarSlash:o.CalendarSlash,CalendarSlashIcon:o.CalendarSlashIcon,CalendarStar:o.CalendarStar,CalendarStarIcon:o.CalendarStarIcon,CalendarX:o.CalendarX,CalendarXIcon:o.CalendarXIcon,CallBell:o.CallBell,CallBellIcon:o.CallBellIcon,Camera:o.Camera,CameraIcon:o.CameraIcon,CameraPlus:o.CameraPlus,CameraPlusIcon:o.CameraPlusIcon,CameraRotate:o.CameraRotate,CameraRotateIcon:o.CameraRotateIcon,CameraSlash:o.CameraSlash,CameraSlashIcon:o.CameraSlashIcon,Campfire:o.Campfire,CampfireIcon:o.CampfireIcon,Car:o.Car,CarBattery:o.CarBattery,CarBatteryIcon:o.CarBatteryIcon,CarIcon:o.CarIcon,CarProfile:o.CarProfile,CarProfileIcon:o.CarProfileIcon,CarSimple:o.CarSimple,CarSimpleIcon:o.CarSimpleIcon,Cardholder:o.Cardholder,CardholderIcon:o.CardholderIcon,Cards:o.Cards,CardsIcon:o.CardsIcon,CardsThree:o.CardsThree,CardsThreeIcon:o.CardsThreeIcon,CaretCircleDoubleDown:o.CaretCircleDoubleDown,CaretCircleDoubleDownIcon:o.CaretCircleDoubleDownIcon,CaretCircleDoubleLeft:o.CaretCircleDoubleLeft,CaretCircleDoubleLeftIcon:o.CaretCircleDoubleLeftIcon,CaretCircleDoubleRight:o.CaretCircleDoubleRight,CaretCircleDoubleRightIcon:o.CaretCircleDoubleRightIcon,CaretCircleDoubleUp:o.CaretCircleDoubleUp,CaretCircleDoubleUpIcon:o.CaretCircleDoubleUpIcon,CaretCircleDown:o.CaretCircleDown,CaretCircleDownIcon:o.CaretCircleDownIcon,CaretCircleLeft:o.CaretCircleLeft,CaretCircleLeftIcon:o.CaretCircleLeftIcon,CaretCircleRight:o.CaretCircleRight,CaretCircleRightIcon:o.CaretCircleRightIcon,CaretCircleUp:o.CaretCircleUp,CaretCircleUpDown:o.CaretCircleUpDown,CaretCircleUpDownIcon:o.CaretCircleUpDownIcon,CaretCircleUpIcon:o.CaretCircleUpIcon,CaretDoubleDown:o.CaretDoubleDown,CaretDoubleDownIcon:o.CaretDoubleDownIcon,CaretDoubleLeft:o.CaretDoubleLeft,CaretDoubleLeftIcon:o.CaretDoubleLeftIcon,CaretDoubleRight:o.CaretDoubleRight,CaretDoubleRightIcon:o.CaretDoubleRightIcon,CaretDoubleUp:o.CaretDoubleUp,CaretDoubleUpIcon:o.CaretDoubleUpIcon,CaretDown:o.CaretDown,CaretDownIcon:o.CaretDownIcon,CaretLeft:o.CaretLeft,CaretLeftIcon:o.CaretLeftIcon,CaretLineDown:o.CaretLineDown,CaretLineDownIcon:o.CaretLineDownIcon,CaretLineLeft:o.CaretLineLeft,CaretLineLeftIcon:o.CaretLineLeftIcon,CaretLineRight:o.CaretLineRight,CaretLineRightIcon:o.CaretLineRightIcon,CaretLineUp:o.CaretLineUp,CaretLineUpIcon:o.CaretLineUpIcon,CaretRight:o.CaretRight,CaretRightIcon:o.CaretRightIcon,CaretUp:o.CaretUp,CaretUpDown:o.CaretUpDown,CaretUpDownIcon:o.CaretUpDownIcon,CaretUpIcon:o.CaretUpIcon,Carrot:o.Carrot,CarrotIcon:o.CarrotIcon,CashRegister:o.CashRegister,CashRegisterIcon:o.CashRegisterIcon,CassetteTape:o.CassetteTape,CassetteTapeIcon:o.CassetteTapeIcon,CastleTurret:o.CastleTurret,CastleTurretIcon:o.CastleTurretIcon,Cat:o.Cat,CatIcon:o.CatIcon,CellSignalFull:o.CellSignalFull,CellSignalFullIcon:o.CellSignalFullIcon,CellSignalHigh:o.CellSignalHigh,CellSignalHighIcon:o.CellSignalHighIcon,CellSignalLow:o.CellSignalLow,CellSignalLowIcon:o.CellSignalLowIcon,CellSignalMedium:o.CellSignalMedium,CellSignalMediumIcon:o.CellSignalMediumIcon,CellSignalNone:o.CellSignalNone,CellSignalNoneIcon:o.CellSignalNoneIcon,CellSignalSlash:o.CellSignalSlash,CellSignalSlashIcon:o.CellSignalSlashIcon,CellSignalX:o.CellSignalX,CellSignalXIcon:o.CellSignalXIcon,CellTower:o.CellTower,CellTowerIcon:o.CellTowerIcon,Certificate:o.Certificate,CertificateIcon:o.CertificateIcon,Chair:o.Chair,ChairIcon:o.ChairIcon,Chalkboard:o.Chalkboard,ChalkboardIcon:o.ChalkboardIcon,ChalkboardSimple:o.ChalkboardSimple,ChalkboardSimpleIcon:o.ChalkboardSimpleIcon,ChalkboardTeacher:o.ChalkboardTeacher,ChalkboardTeacherIcon:o.ChalkboardTeacherIcon,Champagne:o.Champagne,ChampagneIcon:o.ChampagneIcon,ChargingStation:o.ChargingStation,ChargingStationIcon:o.ChargingStationIcon,ChartBar:o.ChartBar,ChartBarHorizontal:o.ChartBarHorizontal,ChartBarHorizontalIcon:o.ChartBarHorizontalIcon,ChartBarIcon:o.ChartBarIcon,ChartDonut:o.ChartDonut,ChartDonutIcon:o.ChartDonutIcon,ChartLine:o.ChartLine,ChartLineDown:o.ChartLineDown,ChartLineDownIcon:o.ChartLineDownIcon,ChartLineIcon:o.ChartLineIcon,ChartLineUp:o.ChartLineUp,ChartLineUpIcon:o.ChartLineUpIcon,ChartPie:o.ChartPie,ChartPieIcon:o.ChartPieIcon,ChartPieSlice:o.ChartPieSlice,ChartPieSliceIcon:o.ChartPieSliceIcon,ChartPolar:o.ChartPolar,ChartPolarIcon:o.ChartPolarIcon,ChartScatter:o.ChartScatter,ChartScatterIcon:o.ChartScatterIcon,Chat:o.Chat,ChatCentered:o.ChatCentered,ChatCenteredDots:o.ChatCenteredDots,ChatCenteredDotsIcon:o.ChatCenteredDotsIcon,ChatCenteredIcon:o.ChatCenteredIcon,ChatCenteredSlash:o.ChatCenteredSlash,ChatCenteredSlashIcon:o.ChatCenteredSlashIcon,ChatCenteredText:o.ChatCenteredText,ChatCenteredTextIcon:o.ChatCenteredTextIcon,ChatCircle:o.ChatCircle,ChatCircleDots:o.ChatCircleDots,ChatCircleDotsIcon:o.ChatCircleDotsIcon,ChatCircleIcon:o.ChatCircleIcon,ChatCircleSlash:o.ChatCircleSlash,ChatCircleSlashIcon:o.ChatCircleSlashIcon,ChatCircleText:o.ChatCircleText,ChatCircleTextIcon:o.ChatCircleTextIcon,ChatDots:o.ChatDots,ChatDotsIcon:o.ChatDotsIcon,ChatIcon:o.ChatIcon,ChatSlash:o.ChatSlash,ChatSlashIcon:o.ChatSlashIcon,ChatTeardrop:o.ChatTeardrop,ChatTeardropDots:o.ChatTeardropDots,ChatTeardropDotsIcon:o.ChatTeardropDotsIcon,ChatTeardropIcon:o.ChatTeardropIcon,ChatTeardropSlash:o.ChatTeardropSlash,ChatTeardropSlashIcon:o.ChatTeardropSlashIcon,ChatTeardropText:o.ChatTeardropText,ChatTeardropTextIcon:o.ChatTeardropTextIcon,ChatText:o.ChatText,ChatTextIcon:o.ChatTextIcon,Chats:o.Chats,ChatsCircle:o.ChatsCircle,ChatsCircleIcon:o.ChatsCircleIcon,ChatsIcon:o.ChatsIcon,ChatsTeardrop:o.ChatsTeardrop,ChatsTeardropIcon:o.ChatsTeardropIcon,Check:o.Check,CheckCircle:o.CheckCircle,CheckCircleIcon:o.CheckCircleIcon,CheckFat:o.CheckFat,CheckFatIcon:o.CheckFatIcon,CheckIcon:o.CheckIcon,CheckSquare:o.CheckSquare,CheckSquareIcon:o.CheckSquareIcon,CheckSquareOffset:o.CheckSquareOffset,CheckSquareOffsetIcon:o.CheckSquareOffsetIcon,Checkerboard:o.Checkerboard,CheckerboardIcon:o.CheckerboardIcon,Checks:o.Checks,ChecksIcon:o.ChecksIcon,Cheers:o.Cheers,CheersIcon:o.CheersIcon,Cheese:o.Cheese,CheeseIcon:o.CheeseIcon,ChefHat:o.ChefHat,ChefHatIcon:o.ChefHatIcon,Cherries:o.Cherries,CherriesIcon:o.CherriesIcon,Church:o.Church,ChurchIcon:o.ChurchIcon,Cigarette:o.Cigarette,CigaretteIcon:o.CigaretteIcon,CigaretteSlash:o.CigaretteSlash,CigaretteSlashIcon:o.CigaretteSlashIcon,Circle:o.Circle,CircleDashed:o.CircleDashed,CircleDashedIcon:o.CircleDashedIcon,CircleHalf:o.CircleHalf,CircleHalfIcon:o.CircleHalfIcon,CircleHalfTilt:o.CircleHalfTilt,CircleHalfTiltIcon:o.CircleHalfTiltIcon,CircleIcon:o.CircleIcon,CircleNotch:o.CircleNotch,CircleNotchIcon:o.CircleNotchIcon,CircleWavyCheckIcon:o.CircleWavyCheckIcon,CircleWavyIcon:o.CircleWavyIcon,CircleWavyQuestionIcon:o.CircleWavyQuestionIcon,CircleWavyWarningIcon:o.CircleWavyWarningIcon,CirclesFour:o.CirclesFour,CirclesFourIcon:o.CirclesFourIcon,CirclesThree:o.CirclesThree,CirclesThreeIcon:o.CirclesThreeIcon,CirclesThreePlus:o.CirclesThreePlus,CirclesThreePlusIcon:o.CirclesThreePlusIcon,Circuitry:o.Circuitry,CircuitryIcon:o.CircuitryIcon,City:o.City,CityIcon:o.CityIcon,Clipboard:o.Clipboard,ClipboardIcon:o.ClipboardIcon,ClipboardText:o.ClipboardText,ClipboardTextIcon:o.ClipboardTextIcon,Clock:o.Clock,ClockAfternoon:o.ClockAfternoon,ClockAfternoonIcon:o.ClockAfternoonIcon,ClockClockwise:o.ClockClockwise,ClockClockwiseIcon:o.ClockClockwiseIcon,ClockCountdown:o.ClockCountdown,ClockCountdownIcon:o.ClockCountdownIcon,ClockCounterClockwise:o.ClockCounterClockwise,ClockCounterClockwiseIcon:o.ClockCounterClockwiseIcon,ClockIcon:o.ClockIcon,ClockUser:o.ClockUser,ClockUserIcon:o.ClockUserIcon,ClosedCaptioning:o.ClosedCaptioning,ClosedCaptioningIcon:o.ClosedCaptioningIcon,Cloud:o.Cloud,CloudArrowDown:o.CloudArrowDown,CloudArrowDownIcon:o.CloudArrowDownIcon,CloudArrowUp:o.CloudArrowUp,CloudArrowUpIcon:o.CloudArrowUpIcon,CloudCheck:o.CloudCheck,CloudCheckIcon:o.CloudCheckIcon,CloudFog:o.CloudFog,CloudFogIcon:o.CloudFogIcon,CloudIcon:o.CloudIcon,CloudLightning:o.CloudLightning,CloudLightningIcon:o.CloudLightningIcon,CloudMoon:o.CloudMoon,CloudMoonIcon:o.CloudMoonIcon,CloudRain:o.CloudRain,CloudRainIcon:o.CloudRainIcon,CloudSlash:o.CloudSlash,CloudSlashIcon:o.CloudSlashIcon,CloudSnow:o.CloudSnow,CloudSnowIcon:o.CloudSnowIcon,CloudSun:o.CloudSun,CloudSunIcon:o.CloudSunIcon,CloudWarning:o.CloudWarning,CloudWarningIcon:o.CloudWarningIcon,CloudX:o.CloudX,CloudXIcon:o.CloudXIcon,Clover:o.Clover,CloverIcon:o.CloverIcon,Club:o.Club,ClubIcon:o.ClubIcon,CoatHanger:o.CoatHanger,CoatHangerIcon:o.CoatHangerIcon,CodaLogo:o.CodaLogo,CodaLogoIcon:o.CodaLogoIcon,Code:o.Code,CodeBlock:o.CodeBlock,CodeBlockIcon:o.CodeBlockIcon,CodeIcon:o.CodeIcon,CodeSimple:o.CodeSimple,CodeSimpleIcon:o.CodeSimpleIcon,CodepenLogo:o.CodepenLogo,CodepenLogoIcon:o.CodepenLogoIcon,CodesandboxLogo:o.CodesandboxLogo,CodesandboxLogoIcon:o.CodesandboxLogoIcon,Coffee:o.Coffee,CoffeeBean:o.CoffeeBean,CoffeeBeanIcon:o.CoffeeBeanIcon,CoffeeIcon:o.CoffeeIcon,Coin:o.Coin,CoinIcon:o.CoinIcon,CoinVertical:o.CoinVertical,CoinVerticalIcon:o.CoinVerticalIcon,Coins:o.Coins,CoinsIcon:o.CoinsIcon,Columns:o.Columns,ColumnsIcon:o.ColumnsIcon,ColumnsPlusLeft:o.ColumnsPlusLeft,ColumnsPlusLeftIcon:o.ColumnsPlusLeftIcon,ColumnsPlusRight:o.ColumnsPlusRight,ColumnsPlusRightIcon:o.ColumnsPlusRightIcon,Command:o.Command,CommandIcon:o.CommandIcon,Compass:o.Compass,CompassIcon:o.CompassIcon,CompassRose:o.CompassRose,CompassRoseIcon:o.CompassRoseIcon,CompassTool:o.CompassTool,CompassToolIcon:o.CompassToolIcon,ComputerTower:o.ComputerTower,ComputerTowerIcon:o.ComputerTowerIcon,Confetti:o.Confetti,ConfettiIcon:o.ConfettiIcon,ContactlessPayment:o.ContactlessPayment,ContactlessPaymentIcon:o.ContactlessPaymentIcon,Control:o.Control,ControlIcon:o.ControlIcon,Cookie:o.Cookie,CookieIcon:o.CookieIcon,CookingPot:o.CookingPot,CookingPotIcon:o.CookingPotIcon,Copy:o.Copy,CopyIcon:o.CopyIcon,CopySimple:o.CopySimple,CopySimpleIcon:o.CopySimpleIcon,Copyleft:o.Copyleft,CopyleftIcon:o.CopyleftIcon,Copyright:o.Copyright,CopyrightIcon:o.CopyrightIcon,CornersIn:o.CornersIn,CornersInIcon:o.CornersInIcon,CornersOut:o.CornersOut,CornersOutIcon:o.CornersOutIcon,Couch:o.Couch,CouchIcon:o.CouchIcon,CourtBasketball:o.CourtBasketball,CourtBasketballIcon:o.CourtBasketballIcon,Cow:o.Cow,CowIcon:o.CowIcon,CowboyHat:o.CowboyHat,CowboyHatIcon:o.CowboyHatIcon,Cpu:o.Cpu,CpuIcon:o.CpuIcon,Crane:o.Crane,CraneIcon:o.CraneIcon,CraneTower:o.CraneTower,CraneTowerIcon:o.CraneTowerIcon,CreditCard:o.CreditCard,CreditCardIcon:o.CreditCardIcon,Cricket:o.Cricket,CricketIcon:o.CricketIcon,Crop:o.Crop,CropIcon:o.CropIcon,Cross:o.Cross,CrossIcon:o.CrossIcon,Crosshair:o.Crosshair,CrosshairIcon:o.CrosshairIcon,CrosshairSimple:o.CrosshairSimple,CrosshairSimpleIcon:o.CrosshairSimpleIcon,Crown:o.Crown,CrownCross:o.CrownCross,CrownCrossIcon:o.CrownCrossIcon,CrownIcon:o.CrownIcon,CrownSimple:o.CrownSimple,CrownSimpleIcon:o.CrownSimpleIcon,Cube:o.Cube,CubeFocus:o.CubeFocus,CubeFocusIcon:o.CubeFocusIcon,CubeIcon:o.CubeIcon,CubeTransparent:o.CubeTransparent,CubeTransparentIcon:o.CubeTransparentIcon,CurrencyBtc:o.CurrencyBtc,CurrencyBtcIcon:o.CurrencyBtcIcon,CurrencyCircleDollar:o.CurrencyCircleDollar,CurrencyCircleDollarIcon:o.CurrencyCircleDollarIcon,CurrencyCny:o.CurrencyCny,CurrencyCnyIcon:o.CurrencyCnyIcon,CurrencyDollar:o.CurrencyDollar,CurrencyDollarIcon:o.CurrencyDollarIcon,CurrencyDollarSimple:o.CurrencyDollarSimple,CurrencyDollarSimpleIcon:o.CurrencyDollarSimpleIcon,CurrencyEth:o.CurrencyEth,CurrencyEthIcon:o.CurrencyEthIcon,CurrencyEur:o.CurrencyEur,CurrencyEurIcon:o.CurrencyEurIcon,CurrencyGbp:o.CurrencyGbp,CurrencyGbpIcon:o.CurrencyGbpIcon,CurrencyInr:o.CurrencyInr,CurrencyInrIcon:o.CurrencyInrIcon,CurrencyJpy:o.CurrencyJpy,CurrencyJpyIcon:o.CurrencyJpyIcon,CurrencyKrw:o.CurrencyKrw,CurrencyKrwIcon:o.CurrencyKrwIcon,CurrencyKzt:o.CurrencyKzt,CurrencyKztIcon:o.CurrencyKztIcon,CurrencyNgn:o.CurrencyNgn,CurrencyNgnIcon:o.CurrencyNgnIcon,CurrencyRub:o.CurrencyRub,CurrencyRubIcon:o.CurrencyRubIcon,Cursor:o.Cursor,CursorClick:o.CursorClick,CursorClickIcon:o.CursorClickIcon,CursorIcon:o.CursorIcon,CursorText:o.CursorText,CursorTextIcon:o.CursorTextIcon,Cylinder:o.Cylinder,CylinderIcon:o.CylinderIcon,Database:o.Database,DatabaseIcon:o.DatabaseIcon,Desk:o.Desk,DeskIcon:o.DeskIcon,Desktop:o.Desktop,DesktopIcon:o.DesktopIcon,DesktopTower:o.DesktopTower,DesktopTowerIcon:o.DesktopTowerIcon,Detective:o.Detective,DetectiveIcon:o.DetectiveIcon,DevToLogo:o.DevToLogo,DevToLogoIcon:o.DevToLogoIcon,DeviceMobile:o.DeviceMobile,DeviceMobileCamera:o.DeviceMobileCamera,DeviceMobileCameraIcon:o.DeviceMobileCameraIcon,DeviceMobileIcon:o.DeviceMobileIcon,DeviceMobileSlash:o.DeviceMobileSlash,DeviceMobileSlashIcon:o.DeviceMobileSlashIcon,DeviceMobileSpeaker:o.DeviceMobileSpeaker,DeviceMobileSpeakerIcon:o.DeviceMobileSpeakerIcon,DeviceRotate:o.DeviceRotate,DeviceRotateIcon:o.DeviceRotateIcon,DeviceTablet:o.DeviceTablet,DeviceTabletCamera:o.DeviceTabletCamera,DeviceTabletCameraIcon:o.DeviceTabletCameraIcon,DeviceTabletIcon:o.DeviceTabletIcon,DeviceTabletSpeaker:o.DeviceTabletSpeaker,DeviceTabletSpeakerIcon:o.DeviceTabletSpeakerIcon,Devices:o.Devices,DevicesIcon:o.DevicesIcon,Diamond:o.Diamond,DiamondIcon:o.DiamondIcon,DiamondsFour:o.DiamondsFour,DiamondsFourIcon:o.DiamondsFourIcon,DiceFive:o.DiceFive,DiceFiveIcon:o.DiceFiveIcon,DiceFour:o.DiceFour,DiceFourIcon:o.DiceFourIcon,DiceOne:o.DiceOne,DiceOneIcon:o.DiceOneIcon,DiceSix:o.DiceSix,DiceSixIcon:o.DiceSixIcon,DiceThree:o.DiceThree,DiceThreeIcon:o.DiceThreeIcon,DiceTwo:o.DiceTwo,DiceTwoIcon:o.DiceTwoIcon,Disc:o.Disc,DiscIcon:o.DiscIcon,DiscoBall:o.DiscoBall,DiscoBallIcon:o.DiscoBallIcon,DiscordLogo:o.DiscordLogo,DiscordLogoIcon:o.DiscordLogoIcon,Divide:o.Divide,DivideIcon:o.DivideIcon,Dna:o.Dna,DnaIcon:o.DnaIcon,Dog:o.Dog,DogIcon:o.DogIcon,Door:o.Door,DoorIcon:o.DoorIcon,DoorOpen:o.DoorOpen,DoorOpenIcon:o.DoorOpenIcon,Dot:o.Dot,DotIcon:o.DotIcon,DotOutline:o.DotOutline,DotOutlineIcon:o.DotOutlineIcon,DotsNine:o.DotsNine,DotsNineIcon:o.DotsNineIcon,DotsSix:o.DotsSix,DotsSixIcon:o.DotsSixIcon,DotsSixVertical:o.DotsSixVertical,DotsSixVerticalIcon:o.DotsSixVerticalIcon,DotsThree:o.DotsThree,DotsThreeCircle:o.DotsThreeCircle,DotsThreeCircleIcon:o.DotsThreeCircleIcon,DotsThreeCircleVertical:o.DotsThreeCircleVertical,DotsThreeCircleVerticalIcon:o.DotsThreeCircleVerticalIcon,DotsThreeIcon:o.DotsThreeIcon,DotsThreeOutline:o.DotsThreeOutline,DotsThreeOutlineIcon:o.DotsThreeOutlineIcon,DotsThreeOutlineVertical:o.DotsThreeOutlineVertical,DotsThreeOutlineVerticalIcon:o.DotsThreeOutlineVerticalIcon,DotsThreeVertical:o.DotsThreeVertical,DotsThreeVerticalIcon:o.DotsThreeVerticalIcon,Download:o.Download,DownloadIcon:o.DownloadIcon,DownloadSimple:o.DownloadSimple,DownloadSimpleIcon:o.DownloadSimpleIcon,Dress:o.Dress,DressIcon:o.DressIcon,Dresser:o.Dresser,DresserIcon:o.DresserIcon,DribbbleLogo:o.DribbbleLogo,DribbbleLogoIcon:o.DribbbleLogoIcon,Drone:o.Drone,DroneIcon:o.DroneIcon,Drop:o.Drop,DropHalf:o.DropHalf,DropHalfBottom:o.DropHalfBottom,DropHalfBottomIcon:o.DropHalfBottomIcon,DropHalfIcon:o.DropHalfIcon,DropIcon:o.DropIcon,DropSimple:o.DropSimple,DropSimpleIcon:o.DropSimpleIcon,DropSlash:o.DropSlash,DropSlashIcon:o.DropSlashIcon,DropboxLogo:o.DropboxLogo,DropboxLogoIcon:o.DropboxLogoIcon,Ear:o.Ear,EarIcon:o.EarIcon,EarSlash:o.EarSlash,EarSlashIcon:o.EarSlashIcon,Egg:o.Egg,EggCrack:o.EggCrack,EggCrackIcon:o.EggCrackIcon,EggIcon:o.EggIcon,Eject:o.Eject,EjectIcon:o.EjectIcon,EjectSimple:o.EjectSimple,EjectSimpleIcon:o.EjectSimpleIcon,Elevator:o.Elevator,ElevatorIcon:o.ElevatorIcon,Empty:o.Empty,EmptyIcon:o.EmptyIcon,Engine:o.Engine,EngineIcon:o.EngineIcon,Envelope:o.Envelope,EnvelopeIcon:o.EnvelopeIcon,EnvelopeOpen:o.EnvelopeOpen,EnvelopeOpenIcon:o.EnvelopeOpenIcon,EnvelopeSimple:o.EnvelopeSimple,EnvelopeSimpleIcon:o.EnvelopeSimpleIcon,EnvelopeSimpleOpen:o.EnvelopeSimpleOpen,EnvelopeSimpleOpenIcon:o.EnvelopeSimpleOpenIcon,Equalizer:o.Equalizer,EqualizerIcon:o.EqualizerIcon,Equals:o.Equals,EqualsIcon:o.EqualsIcon,Eraser:o.Eraser,EraserIcon:o.EraserIcon,EscalatorDown:o.EscalatorDown,EscalatorDownIcon:o.EscalatorDownIcon,EscalatorUp:o.EscalatorUp,EscalatorUpIcon:o.EscalatorUpIcon,Exam:o.Exam,ExamIcon:o.ExamIcon,ExclamationMark:o.ExclamationMark,ExclamationMarkIcon:o.ExclamationMarkIcon,Exclude:o.Exclude,ExcludeIcon:o.ExcludeIcon,ExcludeSquare:o.ExcludeSquare,ExcludeSquareIcon:o.ExcludeSquareIcon,Export:o.Export,ExportIcon:o.ExportIcon,Eye:o.Eye,EyeClosed:o.EyeClosed,EyeClosedIcon:o.EyeClosedIcon,EyeIcon:o.EyeIcon,EyeSlash:o.EyeSlash,EyeSlashIcon:o.EyeSlashIcon,Eyedropper:o.Eyedropper,EyedropperIcon:o.EyedropperIcon,EyedropperSample:o.EyedropperSample,EyedropperSampleIcon:o.EyedropperSampleIcon,Eyeglasses:o.Eyeglasses,EyeglassesIcon:o.EyeglassesIcon,Eyes:o.Eyes,EyesIcon:o.EyesIcon,FaceMask:o.FaceMask,FaceMaskIcon:o.FaceMaskIcon,FacebookLogo:o.FacebookLogo,FacebookLogoIcon:o.FacebookLogoIcon,Factory:o.Factory,FactoryIcon:o.FactoryIcon,Faders:o.Faders,FadersHorizontal:o.FadersHorizontal,FadersHorizontalIcon:o.FadersHorizontalIcon,FadersIcon:o.FadersIcon,FalloutShelter:o.FalloutShelter,FalloutShelterIcon:o.FalloutShelterIcon,Fan:o.Fan,FanIcon:o.FanIcon,Farm:o.Farm,FarmIcon:o.FarmIcon,FastForward:o.FastForward,FastForwardCircle:o.FastForwardCircle,FastForwardCircleIcon:o.FastForwardCircleIcon,FastForwardIcon:o.FastForwardIcon,Feather:o.Feather,FeatherIcon:o.FeatherIcon,FediverseLogo:o.FediverseLogo,FediverseLogoIcon:o.FediverseLogoIcon,FigmaLogo:o.FigmaLogo,FigmaLogoIcon:o.FigmaLogoIcon,File:o.File,FileArchive:o.FileArchive,FileArchiveIcon:o.FileArchiveIcon,FileArrowDown:o.FileArrowDown,FileArrowDownIcon:o.FileArrowDownIcon,FileArrowUp:o.FileArrowUp,FileArrowUpIcon:o.FileArrowUpIcon,FileAudio:o.FileAudio,FileAudioIcon:o.FileAudioIcon,FileC:o.FileC,FileCIcon:o.FileCIcon,FileCSharp:o.FileCSharp,FileCSharpIcon:o.FileCSharpIcon,FileCloud:o.FileCloud,FileCloudIcon:o.FileCloudIcon,FileCode:o.FileCode,FileCodeIcon:o.FileCodeIcon,FileCpp:o.FileCpp,FileCppIcon:o.FileCppIcon,FileCss:o.FileCss,FileCssIcon:o.FileCssIcon,FileCsv:o.FileCsv,FileCsvIcon:o.FileCsvIcon,FileDashed:o.FileDashed,FileDashedIcon:o.FileDashedIcon,FileDoc:o.FileDoc,FileDocIcon:o.FileDocIcon,FileDottedIcon:o.FileDottedIcon,FileHtml:o.FileHtml,FileHtmlIcon:o.FileHtmlIcon,FileIcon:o.FileIcon,FileImage:o.FileImage,FileImageIcon:o.FileImageIcon,FileIni:o.FileIni,FileIniIcon:o.FileIniIcon,FileJpg:o.FileJpg,FileJpgIcon:o.FileJpgIcon,FileJs:o.FileJs,FileJsIcon:o.FileJsIcon,FileJsx:o.FileJsx,FileJsxIcon:o.FileJsxIcon,FileLock:o.FileLock,FileLockIcon:o.FileLockIcon,FileMagnifyingGlass:o.FileMagnifyingGlass,FileMagnifyingGlassIcon:o.FileMagnifyingGlassIcon,FileMd:o.FileMd,FileMdIcon:o.FileMdIcon,FileMinus:o.FileMinus,FileMinusIcon:o.FileMinusIcon,FilePdf:o.FilePdf,FilePdfIcon:o.FilePdfIcon,FilePlus:o.FilePlus,FilePlusIcon:o.FilePlusIcon,FilePng:o.FilePng,FilePngIcon:o.FilePngIcon,FilePpt:o.FilePpt,FilePptIcon:o.FilePptIcon,FilePy:o.FilePy,FilePyIcon:o.FilePyIcon,FileRs:o.FileRs,FileRsIcon:o.FileRsIcon,FileSearchIcon:o.FileSearchIcon,FileSql:o.FileSql,FileSqlIcon:o.FileSqlIcon,FileSvg:o.FileSvg,FileSvgIcon:o.FileSvgIcon,FileText:o.FileText,FileTextIcon:o.FileTextIcon,FileTs:o.FileTs,FileTsIcon:o.FileTsIcon,FileTsx:o.FileTsx,FileTsxIcon:o.FileTsxIcon,FileTxt:o.FileTxt,FileTxtIcon:o.FileTxtIcon,FileVideo:o.FileVideo,FileVideoIcon:o.FileVideoIcon,FileVue:o.FileVue,FileVueIcon:o.FileVueIcon,FileX:o.FileX,FileXIcon:o.FileXIcon,FileXls:o.FileXls,FileXlsIcon:o.FileXlsIcon,FileZip:o.FileZip,FileZipIcon:o.FileZipIcon,Files:o.Files,FilesIcon:o.FilesIcon,FilmReel:o.FilmReel,FilmReelIcon:o.FilmReelIcon,FilmScript:o.FilmScript,FilmScriptIcon:o.FilmScriptIcon,FilmSlate:o.FilmSlate,FilmSlateIcon:o.FilmSlateIcon,FilmStrip:o.FilmStrip,FilmStripIcon:o.FilmStripIcon,Fingerprint:o.Fingerprint,FingerprintIcon:o.FingerprintIcon,FingerprintSimple:o.FingerprintSimple,FingerprintSimpleIcon:o.FingerprintSimpleIcon,FinnTheHuman:o.FinnTheHuman,FinnTheHumanIcon:o.FinnTheHumanIcon,Fire:o.Fire,FireExtinguisher:o.FireExtinguisher,FireExtinguisherIcon:o.FireExtinguisherIcon,FireIcon:o.FireIcon,FireSimple:o.FireSimple,FireSimpleIcon:o.FireSimpleIcon,FireTruck:o.FireTruck,FireTruckIcon:o.FireTruckIcon,FirstAid:o.FirstAid,FirstAidIcon:o.FirstAidIcon,FirstAidKit:o.FirstAidKit,FirstAidKitIcon:o.FirstAidKitIcon,Fish:o.Fish,FishIcon:o.FishIcon,FishSimple:o.FishSimple,FishSimpleIcon:o.FishSimpleIcon,Flag:o.Flag,FlagBanner:o.FlagBanner,FlagBannerFold:o.FlagBannerFold,FlagBannerFoldIcon:o.FlagBannerFoldIcon,FlagBannerIcon:o.FlagBannerIcon,FlagCheckered:o.FlagCheckered,FlagCheckeredIcon:o.FlagCheckeredIcon,FlagIcon:o.FlagIcon,FlagPennant:o.FlagPennant,FlagPennantIcon:o.FlagPennantIcon,Flame:o.Flame,FlameIcon:o.FlameIcon,Flashlight:o.Flashlight,FlashlightIcon:o.FlashlightIcon,Flask:o.Flask,FlaskIcon:o.FlaskIcon,FlipHorizontal:o.FlipHorizontal,FlipHorizontalIcon:o.FlipHorizontalIcon,FlipVertical:o.FlipVertical,FlipVerticalIcon:o.FlipVerticalIcon,FloppyDisk:o.FloppyDisk,FloppyDiskBack:o.FloppyDiskBack,FloppyDiskBackIcon:o.FloppyDiskBackIcon,FloppyDiskIcon:o.FloppyDiskIcon,FlowArrow:o.FlowArrow,FlowArrowIcon:o.FlowArrowIcon,Flower:o.Flower,FlowerIcon:o.FlowerIcon,FlowerLotus:o.FlowerLotus,FlowerLotusIcon:o.FlowerLotusIcon,FlowerTulip:o.FlowerTulip,FlowerTulipIcon:o.FlowerTulipIcon,FlyingSaucer:o.FlyingSaucer,FlyingSaucerIcon:o.FlyingSaucerIcon,Folder:o.Folder,FolderDashed:o.FolderDashed,FolderDashedIcon:o.FolderDashedIcon,FolderDottedIcon:o.FolderDottedIcon,FolderIcon:o.FolderIcon,FolderLock:o.FolderLock,FolderLockIcon:o.FolderLockIcon,FolderMinus:o.FolderMinus,FolderMinusIcon:o.FolderMinusIcon,FolderNotchIcon:o.FolderNotchIcon,FolderNotchMinusIcon:o.FolderNotchMinusIcon,FolderNotchOpenIcon:o.FolderNotchOpenIcon,FolderNotchPlusIcon:o.FolderNotchPlusIcon,FolderOpen:o.FolderOpen,FolderOpenIcon:o.FolderOpenIcon,FolderPlus:o.FolderPlus,FolderPlusIcon:o.FolderPlusIcon,FolderSimple:o.FolderSimple,FolderSimpleDashed:o.FolderSimpleDashed,FolderSimpleDashedIcon:o.FolderSimpleDashedIcon,FolderSimpleDottedIcon:o.FolderSimpleDottedIcon,FolderSimpleIcon:o.FolderSimpleIcon,FolderSimpleLock:o.FolderSimpleLock,FolderSimpleLockIcon:o.FolderSimpleLockIcon,FolderSimpleMinus:o.FolderSimpleMinus,FolderSimpleMinusIcon:o.FolderSimpleMinusIcon,FolderSimplePlus:o.FolderSimplePlus,FolderSimplePlusIcon:o.FolderSimplePlusIcon,FolderSimpleStar:o.FolderSimpleStar,FolderSimpleStarIcon:o.FolderSimpleStarIcon,FolderSimpleUser:o.FolderSimpleUser,FolderSimpleUserIcon:o.FolderSimpleUserIcon,FolderStar:o.FolderStar,FolderStarIcon:o.FolderStarIcon,FolderUser:o.FolderUser,FolderUserIcon:o.FolderUserIcon,Folders:o.Folders,FoldersIcon:o.FoldersIcon,Football:o.Football,FootballHelmet:o.FootballHelmet,FootballHelmetIcon:o.FootballHelmetIcon,FootballIcon:o.FootballIcon,Footprints:o.Footprints,FootprintsIcon:o.FootprintsIcon,ForkKnife:o.ForkKnife,ForkKnifeIcon:o.ForkKnifeIcon,FourK:o.FourK,FourKIcon:o.FourKIcon,FrameCorners:o.FrameCorners,FrameCornersIcon:o.FrameCornersIcon,FramerLogo:o.FramerLogo,FramerLogoIcon:o.FramerLogoIcon,Function:o.Function,FunctionIcon:o.FunctionIcon,Funnel:o.Funnel,FunnelIcon:o.FunnelIcon,FunnelSimple:o.FunnelSimple,FunnelSimpleIcon:o.FunnelSimpleIcon,FunnelSimpleX:o.FunnelSimpleX,FunnelSimpleXIcon:o.FunnelSimpleXIcon,FunnelX:o.FunnelX,FunnelXIcon:o.FunnelXIcon,GameController:o.GameController,GameControllerIcon:o.GameControllerIcon,Garage:o.Garage,GarageIcon:o.GarageIcon,GasCan:o.GasCan,GasCanIcon:o.GasCanIcon,GasPump:o.GasPump,GasPumpIcon:o.GasPumpIcon,Gauge:o.Gauge,GaugeIcon:o.GaugeIcon,Gavel:o.Gavel,GavelIcon:o.GavelIcon,Gear:o.Gear,GearFine:o.GearFine,GearFineIcon:o.GearFineIcon,GearIcon:o.GearIcon,GearSix:o.GearSix,GearSixIcon:o.GearSixIcon,GenderFemale:o.GenderFemale,GenderFemaleIcon:o.GenderFemaleIcon,GenderIntersex:o.GenderIntersex,GenderIntersexIcon:o.GenderIntersexIcon,GenderMale:o.GenderMale,GenderMaleIcon:o.GenderMaleIcon,GenderNeuter:o.GenderNeuter,GenderNeuterIcon:o.GenderNeuterIcon,GenderNonbinary:o.GenderNonbinary,GenderNonbinaryIcon:o.GenderNonbinaryIcon,GenderTransgender:o.GenderTransgender,GenderTransgenderIcon:o.GenderTransgenderIcon,Ghost:o.Ghost,GhostIcon:o.GhostIcon,Gif:o.Gif,GifIcon:o.GifIcon,Gift:o.Gift,GiftIcon:o.GiftIcon,GitBranch:o.GitBranch,GitBranchIcon:o.GitBranchIcon,GitCommit:o.GitCommit,GitCommitIcon:o.GitCommitIcon,GitDiff:o.GitDiff,GitDiffIcon:o.GitDiffIcon,GitFork:o.GitFork,GitForkIcon:o.GitForkIcon,GitMerge:o.GitMerge,GitMergeIcon:o.GitMergeIcon,GitPullRequest:o.GitPullRequest,GitPullRequestIcon:o.GitPullRequestIcon,GithubLogo:o.GithubLogo,GithubLogoIcon:o.GithubLogoIcon,GitlabLogo:o.GitlabLogo,GitlabLogoIcon:o.GitlabLogoIcon,GitlabLogoSimple:o.GitlabLogoSimple,GitlabLogoSimpleIcon:o.GitlabLogoSimpleIcon,Globe:o.Globe,GlobeHemisphereEast:o.GlobeHemisphereEast,GlobeHemisphereEastIcon:o.GlobeHemisphereEastIcon,GlobeHemisphereWest:o.GlobeHemisphereWest,GlobeHemisphereWestIcon:o.GlobeHemisphereWestIcon,GlobeIcon:o.GlobeIcon,GlobeSimple:o.GlobeSimple,GlobeSimpleIcon:o.GlobeSimpleIcon,GlobeSimpleX:o.GlobeSimpleX,GlobeSimpleXIcon:o.GlobeSimpleXIcon,GlobeStand:o.GlobeStand,GlobeStandIcon:o.GlobeStandIcon,GlobeX:o.GlobeX,GlobeXIcon:o.GlobeXIcon,Goggles:o.Goggles,GogglesIcon:o.GogglesIcon,Golf:o.Golf,GolfIcon:o.GolfIcon,GoodreadsLogo:o.GoodreadsLogo,GoodreadsLogoIcon:o.GoodreadsLogoIcon,GoogleCardboardLogo:o.GoogleCardboardLogo,GoogleCardboardLogoIcon:o.GoogleCardboardLogoIcon,GoogleChromeLogo:o.GoogleChromeLogo,GoogleChromeLogoIcon:o.GoogleChromeLogoIcon,GoogleDriveLogo:o.GoogleDriveLogo,GoogleDriveLogoIcon:o.GoogleDriveLogoIcon,GoogleLogo:o.GoogleLogo,GoogleLogoIcon:o.GoogleLogoIcon,GooglePhotosLogo:o.GooglePhotosLogo,GooglePhotosLogoIcon:o.GooglePhotosLogoIcon,GooglePlayLogo:o.GooglePlayLogo,GooglePlayLogoIcon:o.GooglePlayLogoIcon,GooglePodcastsLogo:o.GooglePodcastsLogo,GooglePodcastsLogoIcon:o.GooglePodcastsLogoIcon,Gps:o.Gps,GpsFix:o.GpsFix,GpsFixIcon:o.GpsFixIcon,GpsIcon:o.GpsIcon,GpsSlash:o.GpsSlash,GpsSlashIcon:o.GpsSlashIcon,Gradient:o.Gradient,GradientIcon:o.GradientIcon,GraduationCap:o.GraduationCap,GraduationCapIcon:o.GraduationCapIcon,Grains:o.Grains,GrainsIcon:o.GrainsIcon,GrainsSlash:o.GrainsSlash,GrainsSlashIcon:o.GrainsSlashIcon,Graph:o.Graph,GraphIcon:o.GraphIcon,GraphicsCard:o.GraphicsCard,GraphicsCardIcon:o.GraphicsCardIcon,GreaterThan:o.GreaterThan,GreaterThanIcon:o.GreaterThanIcon,GreaterThanOrEqual:o.GreaterThanOrEqual,GreaterThanOrEqualIcon:o.GreaterThanOrEqualIcon,GridFour:o.GridFour,GridFourIcon:o.GridFourIcon,GridNine:o.GridNine,GridNineIcon:o.GridNineIcon,Guitar:o.Guitar,GuitarIcon:o.GuitarIcon,HairDryer:o.HairDryer,HairDryerIcon:o.HairDryerIcon,Hamburger:o.Hamburger,HamburgerIcon:o.HamburgerIcon,Hammer:o.Hammer,HammerIcon:o.HammerIcon,Hand:o.Hand,HandArrowDown:o.HandArrowDown,HandArrowDownIcon:o.HandArrowDownIcon,HandArrowUp:o.HandArrowUp,HandArrowUpIcon:o.HandArrowUpIcon,HandCoins:o.HandCoins,HandCoinsIcon:o.HandCoinsIcon,HandDeposit:o.HandDeposit,HandDepositIcon:o.HandDepositIcon,HandEye:o.HandEye,HandEyeIcon:o.HandEyeIcon,HandFist:o.HandFist,HandFistIcon:o.HandFistIcon,HandGrabbing:o.HandGrabbing,HandGrabbingIcon:o.HandGrabbingIcon,HandHeart:o.HandHeart,HandHeartIcon:o.HandHeartIcon,HandIcon:o.HandIcon,HandPalm:o.HandPalm,HandPalmIcon:o.HandPalmIcon,HandPeace:o.HandPeace,HandPeaceIcon:o.HandPeaceIcon,HandPointing:o.HandPointing,HandPointingIcon:o.HandPointingIcon,HandSoap:o.HandSoap,HandSoapIcon:o.HandSoapIcon,HandSwipeLeft:o.HandSwipeLeft,HandSwipeLeftIcon:o.HandSwipeLeftIcon,HandSwipeRight:o.HandSwipeRight,HandSwipeRightIcon:o.HandSwipeRightIcon,HandTap:o.HandTap,HandTapIcon:o.HandTapIcon,HandWaving:o.HandWaving,HandWavingIcon:o.HandWavingIcon,HandWithdraw:o.HandWithdraw,HandWithdrawIcon:o.HandWithdrawIcon,Handbag:o.Handbag,HandbagIcon:o.HandbagIcon,HandbagSimple:o.HandbagSimple,HandbagSimpleIcon:o.HandbagSimpleIcon,HandsClapping:o.HandsClapping,HandsClappingIcon:o.HandsClappingIcon,HandsPraying:o.HandsPraying,HandsPrayingIcon:o.HandsPrayingIcon,Handshake:o.Handshake,HandshakeIcon:o.HandshakeIcon,HardDrive:o.HardDrive,HardDriveIcon:o.HardDriveIcon,HardDrives:o.HardDrives,HardDrivesIcon:o.HardDrivesIcon,HardHat:o.HardHat,HardHatIcon:o.HardHatIcon,Hash:o.Hash,HashIcon:o.HashIcon,HashStraight:o.HashStraight,HashStraightIcon:o.HashStraightIcon,HeadCircuit:o.HeadCircuit,HeadCircuitIcon:o.HeadCircuitIcon,Headlights:o.Headlights,HeadlightsIcon:o.HeadlightsIcon,Headphones:o.Headphones,HeadphonesIcon:o.HeadphonesIcon,Headset:o.Headset,HeadsetIcon:o.HeadsetIcon,Heart:o.Heart,HeartBreak:o.HeartBreak,HeartBreakIcon:o.HeartBreakIcon,HeartHalf:o.HeartHalf,HeartHalfIcon:o.HeartHalfIcon,HeartIcon:o.HeartIcon,HeartStraight:o.HeartStraight,HeartStraightBreak:o.HeartStraightBreak,HeartStraightBreakIcon:o.HeartStraightBreakIcon,HeartStraightIcon:o.HeartStraightIcon,Heartbeat:o.Heartbeat,HeartbeatIcon:o.HeartbeatIcon,Hexagon:o.Hexagon,HexagonIcon:o.HexagonIcon,HighDefinition:o.HighDefinition,HighDefinitionIcon:o.HighDefinitionIcon,HighHeel:o.HighHeel,HighHeelIcon:o.HighHeelIcon,Highlighter:o.Highlighter,HighlighterCircle:o.HighlighterCircle,HighlighterCircleIcon:o.HighlighterCircleIcon,HighlighterIcon:o.HighlighterIcon,Hockey:o.Hockey,HockeyIcon:o.HockeyIcon,Hoodie:o.Hoodie,HoodieIcon:o.HoodieIcon,Horse:o.Horse,HorseIcon:o.HorseIcon,Hospital:o.Hospital,HospitalIcon:o.HospitalIcon,Hourglass:o.Hourglass,HourglassHigh:o.HourglassHigh,HourglassHighIcon:o.HourglassHighIcon,HourglassIcon:o.HourglassIcon,HourglassLow:o.HourglassLow,HourglassLowIcon:o.HourglassLowIcon,HourglassMedium:o.HourglassMedium,HourglassMediumIcon:o.HourglassMediumIcon,HourglassSimple:o.HourglassSimple,HourglassSimpleHigh:o.HourglassSimpleHigh,HourglassSimpleHighIcon:o.HourglassSimpleHighIcon,HourglassSimpleIcon:o.HourglassSimpleIcon,HourglassSimpleLow:o.HourglassSimpleLow,HourglassSimpleLowIcon:o.HourglassSimpleLowIcon,HourglassSimpleMedium:o.HourglassSimpleMedium,HourglassSimpleMediumIcon:o.HourglassSimpleMediumIcon,House:o.House,HouseIcon:o.HouseIcon,HouseLine:o.HouseLine,HouseLineIcon:o.HouseLineIcon,HouseSimple:o.HouseSimple,HouseSimpleIcon:o.HouseSimpleIcon,Hurricane:o.Hurricane,HurricaneIcon:o.HurricaneIcon,IceCream:o.IceCream,IceCreamIcon:o.IceCreamIcon,IconBase:o.IconBase,IconContext:o.IconContext,IdentificationBadge:o.IdentificationBadge,IdentificationBadgeIcon:o.IdentificationBadgeIcon,IdentificationCard:o.IdentificationCard,IdentificationCardIcon:o.IdentificationCardIcon,Image:o.Image,ImageBroken:o.ImageBroken,ImageBrokenIcon:o.ImageBrokenIcon,ImageIcon:o.ImageIcon,ImageSquare:o.ImageSquare,ImageSquareIcon:o.ImageSquareIcon,Images:o.Images,ImagesIcon:o.ImagesIcon,ImagesSquare:o.ImagesSquare,ImagesSquareIcon:o.ImagesSquareIcon,Infinity:o.Infinity,InfinityIcon:o.InfinityIcon,Info:o.Info,InfoIcon:o.InfoIcon,InstagramLogo:o.InstagramLogo,InstagramLogoIcon:o.InstagramLogoIcon,Intersect:o.Intersect,IntersectIcon:o.IntersectIcon,IntersectSquare:o.IntersectSquare,IntersectSquareIcon:o.IntersectSquareIcon,IntersectThree:o.IntersectThree,IntersectThreeIcon:o.IntersectThreeIcon,Intersection:o.Intersection,IntersectionIcon:o.IntersectionIcon,Invoice:o.Invoice,InvoiceIcon:o.InvoiceIcon,Island:o.Island,IslandIcon:o.IslandIcon,Jar:o.Jar,JarIcon:o.JarIcon,JarLabel:o.JarLabel,JarLabelIcon:o.JarLabelIcon,Jeep:o.Jeep,JeepIcon:o.JeepIcon,Joystick:o.Joystick,JoystickIcon:o.JoystickIcon,Kanban:o.Kanban,KanbanIcon:o.KanbanIcon,Key:o.Key,KeyIcon:o.KeyIcon,KeyReturn:o.KeyReturn,KeyReturnIcon:o.KeyReturnIcon,Keyboard:o.Keyboard,KeyboardIcon:o.KeyboardIcon,Keyhole:o.Keyhole,KeyholeIcon:o.KeyholeIcon,Knife:o.Knife,KnifeIcon:o.KnifeIcon,Ladder:o.Ladder,LadderIcon:o.LadderIcon,LadderSimple:o.LadderSimple,LadderSimpleIcon:o.LadderSimpleIcon,Lamp:o.Lamp,LampIcon:o.LampIcon,LampPendant:o.LampPendant,LampPendantIcon:o.LampPendantIcon,Laptop:o.Laptop,LaptopIcon:o.LaptopIcon,Lasso:o.Lasso,LassoIcon:o.LassoIcon,LastfmLogo:o.LastfmLogo,LastfmLogoIcon:o.LastfmLogoIcon,Layout:o.Layout,LayoutIcon:o.LayoutIcon,Leaf:o.Leaf,LeafIcon:o.LeafIcon,Lectern:o.Lectern,LecternIcon:o.LecternIcon,Lego:o.Lego,LegoIcon:o.LegoIcon,LegoSmiley:o.LegoSmiley,LegoSmileyIcon:o.LegoSmileyIcon,LemniscateIcon:o.LemniscateIcon,LessThan:o.LessThan,LessThanIcon:o.LessThanIcon,LessThanOrEqual:o.LessThanOrEqual,LessThanOrEqualIcon:o.LessThanOrEqualIcon,LetterCircleH:o.LetterCircleH,LetterCircleHIcon:o.LetterCircleHIcon,LetterCircleP:o.LetterCircleP,LetterCirclePIcon:o.LetterCirclePIcon,LetterCircleV:o.LetterCircleV,LetterCircleVIcon:o.LetterCircleVIcon,Lifebuoy:o.Lifebuoy,LifebuoyIcon:o.LifebuoyIcon,Lightbulb:o.Lightbulb,LightbulbFilament:o.LightbulbFilament,LightbulbFilamentIcon:o.LightbulbFilamentIcon,LightbulbIcon:o.LightbulbIcon,Lighthouse:o.Lighthouse,LighthouseIcon:o.LighthouseIcon,Lightning:o.Lightning,LightningA:o.LightningA,LightningAIcon:o.LightningAIcon,LightningIcon:o.LightningIcon,LightningSlash:o.LightningSlash,LightningSlashIcon:o.LightningSlashIcon,LineSegment:o.LineSegment,LineSegmentIcon:o.LineSegmentIcon,LineSegments:o.LineSegments,LineSegmentsIcon:o.LineSegmentsIcon,LineVertical:o.LineVertical,LineVerticalIcon:o.LineVerticalIcon,Link:o.Link,LinkBreak:o.LinkBreak,LinkBreakIcon:o.LinkBreakIcon,LinkIcon:o.LinkIcon,LinkSimple:o.LinkSimple,LinkSimpleBreak:o.LinkSimpleBreak,LinkSimpleBreakIcon:o.LinkSimpleBreakIcon,LinkSimpleHorizontal:o.LinkSimpleHorizontal,LinkSimpleHorizontalBreak:o.LinkSimpleHorizontalBreak,LinkSimpleHorizontalBreakIcon:o.LinkSimpleHorizontalBreakIcon,LinkSimpleHorizontalIcon:o.LinkSimpleHorizontalIcon,LinkSimpleIcon:o.LinkSimpleIcon,LinkedinLogo:o.LinkedinLogo,LinkedinLogoIcon:o.LinkedinLogoIcon,LinktreeLogo:o.LinktreeLogo,LinktreeLogoIcon:o.LinktreeLogoIcon,LinuxLogo:o.LinuxLogo,LinuxLogoIcon:o.LinuxLogoIcon,List:o.List,ListBullets:o.ListBullets,ListBulletsIcon:o.ListBulletsIcon,ListChecks:o.ListChecks,ListChecksIcon:o.ListChecksIcon,ListDashes:o.ListDashes,ListDashesIcon:o.ListDashesIcon,ListHeart:o.ListHeart,ListHeartIcon:o.ListHeartIcon,ListIcon:o.ListIcon,ListMagnifyingGlass:o.ListMagnifyingGlass,ListMagnifyingGlassIcon:o.ListMagnifyingGlassIcon,ListNumbers:o.ListNumbers,ListNumbersIcon:o.ListNumbersIcon,ListPlus:o.ListPlus,ListPlusIcon:o.ListPlusIcon,ListStar:o.ListStar,ListStarIcon:o.ListStarIcon,Lock:o.Lock,LockIcon:o.LockIcon,LockKey:o.LockKey,LockKeyIcon:o.LockKeyIcon,LockKeyOpen:o.LockKeyOpen,LockKeyOpenIcon:o.LockKeyOpenIcon,LockLaminated:o.LockLaminated,LockLaminatedIcon:o.LockLaminatedIcon,LockLaminatedOpen:o.LockLaminatedOpen,LockLaminatedOpenIcon:o.LockLaminatedOpenIcon,LockOpen:o.LockOpen,LockOpenIcon:o.LockOpenIcon,LockSimple:o.LockSimple,LockSimpleIcon:o.LockSimpleIcon,LockSimpleOpen:o.LockSimpleOpen,LockSimpleOpenIcon:o.LockSimpleOpenIcon,Lockers:o.Lockers,LockersIcon:o.LockersIcon,Log:o.Log,LogIcon:o.LogIcon,MagicWand:o.MagicWand,MagicWandIcon:o.MagicWandIcon,Magnet:o.Magnet,MagnetIcon:o.MagnetIcon,MagnetStraight:o.MagnetStraight,MagnetStraightIcon:o.MagnetStraightIcon,MagnifyingGlass:o.MagnifyingGlass,MagnifyingGlassIcon:o.MagnifyingGlassIcon,MagnifyingGlassMinus:o.MagnifyingGlassMinus,MagnifyingGlassMinusIcon:o.MagnifyingGlassMinusIcon,MagnifyingGlassPlus:o.MagnifyingGlassPlus,MagnifyingGlassPlusIcon:o.MagnifyingGlassPlusIcon,Mailbox:o.Mailbox,MailboxIcon:o.MailboxIcon,MapPin:o.MapPin,MapPinArea:o.MapPinArea,MapPinAreaIcon:o.MapPinAreaIcon,MapPinIcon:o.MapPinIcon,MapPinLine:o.MapPinLine,MapPinLineIcon:o.MapPinLineIcon,MapPinPlus:o.MapPinPlus,MapPinPlusIcon:o.MapPinPlusIcon,MapPinSimple:o.MapPinSimple,MapPinSimpleArea:o.MapPinSimpleArea,MapPinSimpleAreaIcon:o.MapPinSimpleAreaIcon,MapPinSimpleIcon:o.MapPinSimpleIcon,MapPinSimpleLine:o.MapPinSimpleLine,MapPinSimpleLineIcon:o.MapPinSimpleLineIcon,MapTrifold:o.MapTrifold,MapTrifoldIcon:o.MapTrifoldIcon,MarkdownLogo:o.MarkdownLogo,MarkdownLogoIcon:o.MarkdownLogoIcon,MarkerCircle:o.MarkerCircle,MarkerCircleIcon:o.MarkerCircleIcon,Martini:o.Martini,MartiniIcon:o.MartiniIcon,MaskHappy:o.MaskHappy,MaskHappyIcon:o.MaskHappyIcon,MaskSad:o.MaskSad,MaskSadIcon:o.MaskSadIcon,MastodonLogo:o.MastodonLogo,MastodonLogoIcon:o.MastodonLogoIcon,MathOperations:o.MathOperations,MathOperationsIcon:o.MathOperationsIcon,MatrixLogo:o.MatrixLogo,MatrixLogoIcon:o.MatrixLogoIcon,Medal:o.Medal,MedalIcon:o.MedalIcon,MedalMilitary:o.MedalMilitary,MedalMilitaryIcon:o.MedalMilitaryIcon,MediumLogo:o.MediumLogo,MediumLogoIcon:o.MediumLogoIcon,Megaphone:o.Megaphone,MegaphoneIcon:o.MegaphoneIcon,MegaphoneSimple:o.MegaphoneSimple,MegaphoneSimpleIcon:o.MegaphoneSimpleIcon,MemberOf:o.MemberOf,MemberOfIcon:o.MemberOfIcon,Memory:o.Memory,MemoryIcon:o.MemoryIcon,MessengerLogo:o.MessengerLogo,MessengerLogoIcon:o.MessengerLogoIcon,MetaLogo:o.MetaLogo,MetaLogoIcon:o.MetaLogoIcon,Meteor:o.Meteor,MeteorIcon:o.MeteorIcon,Metronome:o.Metronome,MetronomeIcon:o.MetronomeIcon,Microphone:o.Microphone,MicrophoneIcon:o.MicrophoneIcon,MicrophoneSlash:o.MicrophoneSlash,MicrophoneSlashIcon:o.MicrophoneSlashIcon,MicrophoneStage:o.MicrophoneStage,MicrophoneStageIcon:o.MicrophoneStageIcon,Microscope:o.Microscope,MicroscopeIcon:o.MicroscopeIcon,MicrosoftExcelLogo:o.MicrosoftExcelLogo,MicrosoftExcelLogoIcon:o.MicrosoftExcelLogoIcon,MicrosoftOutlookLogo:o.MicrosoftOutlookLogo,MicrosoftOutlookLogoIcon:o.MicrosoftOutlookLogoIcon,MicrosoftPowerpointLogo:o.MicrosoftPowerpointLogo,MicrosoftPowerpointLogoIcon:o.MicrosoftPowerpointLogoIcon,MicrosoftTeamsLogo:o.MicrosoftTeamsLogo,MicrosoftTeamsLogoIcon:o.MicrosoftTeamsLogoIcon,MicrosoftWordLogo:o.MicrosoftWordLogo,MicrosoftWordLogoIcon:o.MicrosoftWordLogoIcon,Minus:o.Minus,MinusCircle:o.MinusCircle,MinusCircleIcon:o.MinusCircleIcon,MinusIcon:o.MinusIcon,MinusSquare:o.MinusSquare,MinusSquareIcon:o.MinusSquareIcon,Money:o.Money,MoneyIcon:o.MoneyIcon,MoneyWavy:o.MoneyWavy,MoneyWavyIcon:o.MoneyWavyIcon,Monitor:o.Monitor,MonitorArrowUp:o.MonitorArrowUp,MonitorArrowUpIcon:o.MonitorArrowUpIcon,MonitorIcon:o.MonitorIcon,MonitorPlay:o.MonitorPlay,MonitorPlayIcon:o.MonitorPlayIcon,Moon:o.Moon,MoonIcon:o.MoonIcon,MoonStars:o.MoonStars,MoonStarsIcon:o.MoonStarsIcon,Moped:o.Moped,MopedFront:o.MopedFront,MopedFrontIcon:o.MopedFrontIcon,MopedIcon:o.MopedIcon,Mosque:o.Mosque,MosqueIcon:o.MosqueIcon,Motorcycle:o.Motorcycle,MotorcycleIcon:o.MotorcycleIcon,Mountains:o.Mountains,MountainsIcon:o.MountainsIcon,Mouse:o.Mouse,MouseIcon:o.MouseIcon,MouseLeftClick:o.MouseLeftClick,MouseLeftClickIcon:o.MouseLeftClickIcon,MouseMiddleClick:o.MouseMiddleClick,MouseMiddleClickIcon:o.MouseMiddleClickIcon,MouseRightClick:o.MouseRightClick,MouseRightClickIcon:o.MouseRightClickIcon,MouseScroll:o.MouseScroll,MouseScrollIcon:o.MouseScrollIcon,MouseSimple:o.MouseSimple,MouseSimpleIcon:o.MouseSimpleIcon,MusicNote:o.MusicNote,MusicNoteIcon:o.MusicNoteIcon,MusicNoteSimple:o.MusicNoteSimple,MusicNoteSimpleIcon:o.MusicNoteSimpleIcon,MusicNotes:o.MusicNotes,MusicNotesIcon:o.MusicNotesIcon,MusicNotesMinus:o.MusicNotesMinus,MusicNotesMinusIcon:o.MusicNotesMinusIcon,MusicNotesPlus:o.MusicNotesPlus,MusicNotesPlusIcon:o.MusicNotesPlusIcon,MusicNotesSimple:o.MusicNotesSimple,MusicNotesSimpleIcon:o.MusicNotesSimpleIcon,NavigationArrow:o.NavigationArrow,NavigationArrowIcon:o.NavigationArrowIcon,Needle:o.Needle,NeedleIcon:o.NeedleIcon,Network:o.Network,NetworkIcon:o.NetworkIcon,NetworkSlash:o.NetworkSlash,NetworkSlashIcon:o.NetworkSlashIcon,NetworkX:o.NetworkX,NetworkXIcon:o.NetworkXIcon,Newspaper:o.Newspaper,NewspaperClipping:o.NewspaperClipping,NewspaperClippingIcon:o.NewspaperClippingIcon,NewspaperIcon:o.NewspaperIcon,NotEquals:o.NotEquals,NotEqualsIcon:o.NotEqualsIcon,NotMemberOf:o.NotMemberOf,NotMemberOfIcon:o.NotMemberOfIcon,NotSubsetOf:o.NotSubsetOf,NotSubsetOfIcon:o.NotSubsetOfIcon,NotSupersetOf:o.NotSupersetOf,NotSupersetOfIcon:o.NotSupersetOfIcon,Notches:o.Notches,NotchesIcon:o.NotchesIcon,Note:o.Note,NoteBlank:o.NoteBlank,NoteBlankIcon:o.NoteBlankIcon,NoteIcon:o.NoteIcon,NotePencil:o.NotePencil,NotePencilIcon:o.NotePencilIcon,Notebook:o.Notebook,NotebookIcon:o.NotebookIcon,Notepad:o.Notepad,NotepadIcon:o.NotepadIcon,Notification:o.Notification,NotificationIcon:o.NotificationIcon,NotionLogo:o.NotionLogo,NotionLogoIcon:o.NotionLogoIcon,NuclearPlant:o.NuclearPlant,NuclearPlantIcon:o.NuclearPlantIcon,NumberCircleEight:o.NumberCircleEight,NumberCircleEightIcon:o.NumberCircleEightIcon,NumberCircleFive:o.NumberCircleFive,NumberCircleFiveIcon:o.NumberCircleFiveIcon,NumberCircleFour:o.NumberCircleFour,NumberCircleFourIcon:o.NumberCircleFourIcon,NumberCircleNine:o.NumberCircleNine,NumberCircleNineIcon:o.NumberCircleNineIcon,NumberCircleOne:o.NumberCircleOne,NumberCircleOneIcon:o.NumberCircleOneIcon,NumberCircleSeven:o.NumberCircleSeven,NumberCircleSevenIcon:o.NumberCircleSevenIcon,NumberCircleSix:o.NumberCircleSix,NumberCircleSixIcon:o.NumberCircleSixIcon,NumberCircleThree:o.NumberCircleThree,NumberCircleThreeIcon:o.NumberCircleThreeIcon,NumberCircleTwo:o.NumberCircleTwo,NumberCircleTwoIcon:o.NumberCircleTwoIcon,NumberCircleZero:o.NumberCircleZero,NumberCircleZeroIcon:o.NumberCircleZeroIcon,NumberEight:o.NumberEight,NumberEightIcon:o.NumberEightIcon,NumberFive:o.NumberFive,NumberFiveIcon:o.NumberFiveIcon,NumberFour:o.NumberFour,NumberFourIcon:o.NumberFourIcon,NumberNine:o.NumberNine,NumberNineIcon:o.NumberNineIcon,NumberOne:o.NumberOne,NumberOneIcon:o.NumberOneIcon,NumberSeven:o.NumberSeven,NumberSevenIcon:o.NumberSevenIcon,NumberSix:o.NumberSix,NumberSixIcon:o.NumberSixIcon,NumberSquareEight:o.NumberSquareEight,NumberSquareEightIcon:o.NumberSquareEightIcon,NumberSquareFive:o.NumberSquareFive,NumberSquareFiveIcon:o.NumberSquareFiveIcon,NumberSquareFour:o.NumberSquareFour,NumberSquareFourIcon:o.NumberSquareFourIcon,NumberSquareNine:o.NumberSquareNine,NumberSquareNineIcon:o.NumberSquareNineIcon,NumberSquareOne:o.NumberSquareOne,NumberSquareOneIcon:o.NumberSquareOneIcon,NumberSquareSeven:o.NumberSquareSeven,NumberSquareSevenIcon:o.NumberSquareSevenIcon,NumberSquareSix:o.NumberSquareSix,NumberSquareSixIcon:o.NumberSquareSixIcon,NumberSquareThree:o.NumberSquareThree,NumberSquareThreeIcon:o.NumberSquareThreeIcon,NumberSquareTwo:o.NumberSquareTwo,NumberSquareTwoIcon:o.NumberSquareTwoIcon,NumberSquareZero:o.NumberSquareZero,NumberSquareZeroIcon:o.NumberSquareZeroIcon,NumberThree:o.NumberThree,NumberThreeIcon:o.NumberThreeIcon,NumberTwo:o.NumberTwo,NumberTwoIcon:o.NumberTwoIcon,NumberZero:o.NumberZero,NumberZeroIcon:o.NumberZeroIcon,Numpad:o.Numpad,NumpadIcon:o.NumpadIcon,Nut:o.Nut,NutIcon:o.NutIcon,NyTimesLogo:o.NyTimesLogo,NyTimesLogoIcon:o.NyTimesLogoIcon,Octagon:o.Octagon,OctagonIcon:o.OctagonIcon,OfficeChair:o.OfficeChair,OfficeChairIcon:o.OfficeChairIcon,Onigiri:o.Onigiri,OnigiriIcon:o.OnigiriIcon,OpenAiLogo:o.OpenAiLogo,OpenAiLogoIcon:o.OpenAiLogoIcon,Option:o.Option,OptionIcon:o.OptionIcon,Orange:o.Orange,OrangeIcon:o.OrangeIcon,OrangeSlice:o.OrangeSlice,OrangeSliceIcon:o.OrangeSliceIcon,Oven:o.Oven,OvenIcon:o.OvenIcon,Package:o.Package,PackageIcon:o.PackageIcon,PaintBrush:o.PaintBrush,PaintBrushBroad:o.PaintBrushBroad,PaintBrushBroadIcon:o.PaintBrushBroadIcon,PaintBrushHousehold:o.PaintBrushHousehold,PaintBrushHouseholdIcon:o.PaintBrushHouseholdIcon,PaintBrushIcon:o.PaintBrushIcon,PaintBucket:o.PaintBucket,PaintBucketIcon:o.PaintBucketIcon,PaintRoller:o.PaintRoller,PaintRollerIcon:o.PaintRollerIcon,Palette:o.Palette,PaletteIcon:o.PaletteIcon,Panorama:o.Panorama,PanoramaIcon:o.PanoramaIcon,Pants:o.Pants,PantsIcon:o.PantsIcon,PaperPlane:o.PaperPlane,PaperPlaneIcon:o.PaperPlaneIcon,PaperPlaneRight:o.PaperPlaneRight,PaperPlaneRightIcon:o.PaperPlaneRightIcon,PaperPlaneTilt:o.PaperPlaneTilt,PaperPlaneTiltIcon:o.PaperPlaneTiltIcon,Paperclip:o.Paperclip,PaperclipHorizontal:o.PaperclipHorizontal,PaperclipHorizontalIcon:o.PaperclipHorizontalIcon,PaperclipIcon:o.PaperclipIcon,Parachute:o.Parachute,ParachuteIcon:o.ParachuteIcon,Paragraph:o.Paragraph,ParagraphIcon:o.ParagraphIcon,Parallelogram:o.Parallelogram,ParallelogramIcon:o.ParallelogramIcon,Park:o.Park,ParkIcon:o.ParkIcon,Password:o.Password,PasswordIcon:o.PasswordIcon,Path:o.Path,PathIcon:o.PathIcon,PatreonLogo:o.PatreonLogo,PatreonLogoIcon:o.PatreonLogoIcon,Pause:o.Pause,PauseCircle:o.PauseCircle,PauseCircleIcon:o.PauseCircleIcon,PauseIcon:o.PauseIcon,PawPrint:o.PawPrint,PawPrintIcon:o.PawPrintIcon,PaypalLogo:o.PaypalLogo,PaypalLogoIcon:o.PaypalLogoIcon,Peace:o.Peace,PeaceIcon:o.PeaceIcon,Pen:o.Pen,PenIcon:o.PenIcon,PenNib:o.PenNib,PenNibIcon:o.PenNibIcon,PenNibStraight:o.PenNibStraight,PenNibStraightIcon:o.PenNibStraightIcon,Pencil:o.Pencil,PencilCircle:o.PencilCircle,PencilCircleIcon:o.PencilCircleIcon,PencilIcon:o.PencilIcon,PencilLine:o.PencilLine,PencilLineIcon:o.PencilLineIcon,PencilRuler:o.PencilRuler,PencilRulerIcon:o.PencilRulerIcon,PencilSimple:o.PencilSimple,PencilSimpleIcon:o.PencilSimpleIcon,PencilSimpleLine:o.PencilSimpleLine,PencilSimpleLineIcon:o.PencilSimpleLineIcon,PencilSimpleSlash:o.PencilSimpleSlash,PencilSimpleSlashIcon:o.PencilSimpleSlashIcon,PencilSlash:o.PencilSlash,PencilSlashIcon:o.PencilSlashIcon,Pentagon:o.Pentagon,PentagonIcon:o.PentagonIcon,Pentagram:o.Pentagram,PentagramIcon:o.PentagramIcon,Pepper:o.Pepper,PepperIcon:o.PepperIcon,Percent:o.Percent,PercentIcon:o.PercentIcon,Person:o.Person,PersonArmsSpread:o.PersonArmsSpread,PersonArmsSpreadIcon:o.PersonArmsSpreadIcon,PersonIcon:o.PersonIcon,PersonSimple:o.PersonSimple,PersonSimpleBike:o.PersonSimpleBike,PersonSimpleBikeIcon:o.PersonSimpleBikeIcon,PersonSimpleCircle:o.PersonSimpleCircle,PersonSimpleCircleIcon:o.PersonSimpleCircleIcon,PersonSimpleHike:o.PersonSimpleHike,PersonSimpleHikeIcon:o.PersonSimpleHikeIcon,PersonSimpleIcon:o.PersonSimpleIcon,PersonSimpleRun:o.PersonSimpleRun,PersonSimpleRunIcon:o.PersonSimpleRunIcon,PersonSimpleSki:o.PersonSimpleSki,PersonSimpleSkiIcon:o.PersonSimpleSkiIcon,PersonSimpleSnowboard:o.PersonSimpleSnowboard,PersonSimpleSnowboardIcon:o.PersonSimpleSnowboardIcon,PersonSimpleSwim:o.PersonSimpleSwim,PersonSimpleSwimIcon:o.PersonSimpleSwimIcon,PersonSimpleTaiChi:o.PersonSimpleTaiChi,PersonSimpleTaiChiIcon:o.PersonSimpleTaiChiIcon,PersonSimpleThrow:o.PersonSimpleThrow,PersonSimpleThrowIcon:o.PersonSimpleThrowIcon,PersonSimpleWalk:o.PersonSimpleWalk,PersonSimpleWalkIcon:o.PersonSimpleWalkIcon,Perspective:o.Perspective,PerspectiveIcon:o.PerspectiveIcon,Phone:o.Phone,PhoneCall:o.PhoneCall,PhoneCallIcon:o.PhoneCallIcon,PhoneDisconnect:o.PhoneDisconnect,PhoneDisconnectIcon:o.PhoneDisconnectIcon,PhoneIcon:o.PhoneIcon,PhoneIncoming:o.PhoneIncoming,PhoneIncomingIcon:o.PhoneIncomingIcon,PhoneList:o.PhoneList,PhoneListIcon:o.PhoneListIcon,PhoneOutgoing:o.PhoneOutgoing,PhoneOutgoingIcon:o.PhoneOutgoingIcon,PhonePause:o.PhonePause,PhonePauseIcon:o.PhonePauseIcon,PhonePlus:o.PhonePlus,PhonePlusIcon:o.PhonePlusIcon,PhoneSlash:o.PhoneSlash,PhoneSlashIcon:o.PhoneSlashIcon,PhoneTransfer:o.PhoneTransfer,PhoneTransferIcon:o.PhoneTransferIcon,PhoneX:o.PhoneX,PhoneXIcon:o.PhoneXIcon,PhosphorLogo:o.PhosphorLogo,PhosphorLogoIcon:o.PhosphorLogoIcon,Pi:o.Pi,PiIcon:o.PiIcon,PianoKeys:o.PianoKeys,PianoKeysIcon:o.PianoKeysIcon,PicnicTable:o.PicnicTable,PicnicTableIcon:o.PicnicTableIcon,PictureInPicture:o.PictureInPicture,PictureInPictureIcon:o.PictureInPictureIcon,PiggyBank:o.PiggyBank,PiggyBankIcon:o.PiggyBankIcon,Pill:o.Pill,PillIcon:o.PillIcon,PingPong:o.PingPong,PingPongIcon:o.PingPongIcon,PintGlass:o.PintGlass,PintGlassIcon:o.PintGlassIcon,PinterestLogo:o.PinterestLogo,PinterestLogoIcon:o.PinterestLogoIcon,Pinwheel:o.Pinwheel,PinwheelIcon:o.PinwheelIcon,Pipe:o.Pipe,PipeIcon:o.PipeIcon,PipeWrench:o.PipeWrench,PipeWrenchIcon:o.PipeWrenchIcon,PixLogo:o.PixLogo,PixLogoIcon:o.PixLogoIcon,Pizza:o.Pizza,PizzaIcon:o.PizzaIcon,Placeholder:o.Placeholder,PlaceholderIcon:o.PlaceholderIcon,Planet:o.Planet,PlanetIcon:o.PlanetIcon,Plant:o.Plant,PlantIcon:o.PlantIcon,Play:o.Play,PlayCircle:o.PlayCircle,PlayCircleIcon:o.PlayCircleIcon,PlayIcon:o.PlayIcon,PlayPause:o.PlayPause,PlayPauseIcon:o.PlayPauseIcon,Playlist:o.Playlist,PlaylistIcon:o.PlaylistIcon,Plug:o.Plug,PlugCharging:o.PlugCharging,PlugChargingIcon:o.PlugChargingIcon,PlugIcon:o.PlugIcon,Plugs:o.Plugs,PlugsConnected:o.PlugsConnected,PlugsConnectedIcon:o.PlugsConnectedIcon,PlugsIcon:o.PlugsIcon,Plus:o.Plus,PlusCircle:o.PlusCircle,PlusCircleIcon:o.PlusCircleIcon,PlusIcon:o.PlusIcon,PlusMinus:o.PlusMinus,PlusMinusIcon:o.PlusMinusIcon,PlusSquare:o.PlusSquare,PlusSquareIcon:o.PlusSquareIcon,PokerChip:o.PokerChip,PokerChipIcon:o.PokerChipIcon,PoliceCar:o.PoliceCar,PoliceCarIcon:o.PoliceCarIcon,Polygon:o.Polygon,PolygonIcon:o.PolygonIcon,Popcorn:o.Popcorn,PopcornIcon:o.PopcornIcon,Popsicle:o.Popsicle,PopsicleIcon:o.PopsicleIcon,PottedPlant:o.PottedPlant,PottedPlantIcon:o.PottedPlantIcon,Power:o.Power,PowerIcon:o.PowerIcon,Prescription:o.Prescription,PrescriptionIcon:o.PrescriptionIcon,Presentation:o.Presentation,PresentationChart:o.PresentationChart,PresentationChartIcon:o.PresentationChartIcon,PresentationIcon:o.PresentationIcon,Printer:o.Printer,PrinterIcon:o.PrinterIcon,Prohibit:o.Prohibit,ProhibitIcon:o.ProhibitIcon,ProhibitInset:o.ProhibitInset,ProhibitInsetIcon:o.ProhibitInsetIcon,ProjectorScreen:o.ProjectorScreen,ProjectorScreenChart:o.ProjectorScreenChart,ProjectorScreenChartIcon:o.ProjectorScreenChartIcon,ProjectorScreenIcon:o.ProjectorScreenIcon,Pulse:o.Pulse,PulseIcon:o.PulseIcon,PushPin:o.PushPin,PushPinIcon:o.PushPinIcon,PushPinSimple:o.PushPinSimple,PushPinSimpleIcon:o.PushPinSimpleIcon,PushPinSimpleSlash:o.PushPinSimpleSlash,PushPinSimpleSlashIcon:o.PushPinSimpleSlashIcon,PushPinSlash:o.PushPinSlash,PushPinSlashIcon:o.PushPinSlashIcon,PuzzlePiece:o.PuzzlePiece,PuzzlePieceIcon:o.PuzzlePieceIcon,QrCode:o.QrCode,QrCodeIcon:o.QrCodeIcon,Question:o.Question,QuestionIcon:o.QuestionIcon,QuestionMark:o.QuestionMark,QuestionMarkIcon:o.QuestionMarkIcon,Queue:o.Queue,QueueIcon:o.QueueIcon,Quotes:o.Quotes,QuotesIcon:o.QuotesIcon,Rabbit:o.Rabbit,RabbitIcon:o.RabbitIcon,Racquet:o.Racquet,RacquetIcon:o.RacquetIcon,Radical:o.Radical,RadicalIcon:o.RadicalIcon,Radio:o.Radio,RadioButton:o.RadioButton,RadioButtonIcon:o.RadioButtonIcon,RadioIcon:o.RadioIcon,Radioactive:o.Radioactive,RadioactiveIcon:o.RadioactiveIcon,Rainbow:o.Rainbow,RainbowCloud:o.RainbowCloud,RainbowCloudIcon:o.RainbowCloudIcon,RainbowIcon:o.RainbowIcon,Ranking:o.Ranking,RankingIcon:o.RankingIcon,ReadCvLogo:o.ReadCvLogo,ReadCvLogoIcon:o.ReadCvLogoIcon,Receipt:o.Receipt,ReceiptIcon:o.ReceiptIcon,ReceiptX:o.ReceiptX,ReceiptXIcon:o.ReceiptXIcon,Record:o.Record,RecordIcon:o.RecordIcon,Rectangle:o.Rectangle,RectangleDashed:o.RectangleDashed,RectangleDashedIcon:o.RectangleDashedIcon,RectangleIcon:o.RectangleIcon,Recycle:o.Recycle,RecycleIcon:o.RecycleIcon,RedditLogo:o.RedditLogo,RedditLogoIcon:o.RedditLogoIcon,Repeat:o.Repeat,RepeatIcon:o.RepeatIcon,RepeatOnce:o.RepeatOnce,RepeatOnceIcon:o.RepeatOnceIcon,ReplitLogo:o.ReplitLogo,ReplitLogoIcon:o.ReplitLogoIcon,Resize:o.Resize,ResizeIcon:o.ResizeIcon,Rewind:o.Rewind,RewindCircle:o.RewindCircle,RewindCircleIcon:o.RewindCircleIcon,RewindIcon:o.RewindIcon,RoadHorizon:o.RoadHorizon,RoadHorizonIcon:o.RoadHorizonIcon,Robot:o.Robot,RobotIcon:o.RobotIcon,Rocket:o.Rocket,RocketIcon:o.RocketIcon,RocketLaunch:o.RocketLaunch,RocketLaunchIcon:o.RocketLaunchIcon,Rows:o.Rows,RowsIcon:o.RowsIcon,RowsPlusBottom:o.RowsPlusBottom,RowsPlusBottomIcon:o.RowsPlusBottomIcon,RowsPlusTop:o.RowsPlusTop,RowsPlusTopIcon:o.RowsPlusTopIcon,Rss:o.Rss,RssIcon:o.RssIcon,RssSimple:o.RssSimple,RssSimpleIcon:o.RssSimpleIcon,Rug:o.Rug,RugIcon:o.RugIcon,Ruler:o.Ruler,RulerIcon:o.RulerIcon,Sailboat:o.Sailboat,SailboatIcon:o.SailboatIcon,Scales:o.Scales,ScalesIcon:o.ScalesIcon,Scan:o.Scan,ScanIcon:o.ScanIcon,ScanSmiley:o.ScanSmiley,ScanSmileyIcon:o.ScanSmileyIcon,Scissors:o.Scissors,ScissorsIcon:o.ScissorsIcon,Scooter:o.Scooter,ScooterIcon:o.ScooterIcon,Screencast:o.Screencast,ScreencastIcon:o.ScreencastIcon,Screwdriver:o.Screwdriver,ScrewdriverIcon:o.ScrewdriverIcon,Scribble:o.Scribble,ScribbleIcon:o.ScribbleIcon,ScribbleLoop:o.ScribbleLoop,ScribbleLoopIcon:o.ScribbleLoopIcon,Scroll:o.Scroll,ScrollIcon:o.ScrollIcon,Seal:o.Seal,SealCheck:o.SealCheck,SealCheckIcon:o.SealCheckIcon,SealIcon:o.SealIcon,SealPercent:o.SealPercent,SealPercentIcon:o.SealPercentIcon,SealQuestion:o.SealQuestion,SealQuestionIcon:o.SealQuestionIcon,SealWarning:o.SealWarning,SealWarningIcon:o.SealWarningIcon,Seat:o.Seat,SeatIcon:o.SeatIcon,Seatbelt:o.Seatbelt,SeatbeltIcon:o.SeatbeltIcon,SecurityCamera:o.SecurityCamera,SecurityCameraIcon:o.SecurityCameraIcon,Selection:o.Selection,SelectionAll:o.SelectionAll,SelectionAllIcon:o.SelectionAllIcon,SelectionBackground:o.SelectionBackground,SelectionBackgroundIcon:o.SelectionBackgroundIcon,SelectionForeground:o.SelectionForeground,SelectionForegroundIcon:o.SelectionForegroundIcon,SelectionIcon:o.SelectionIcon,SelectionInverse:o.SelectionInverse,SelectionInverseIcon:o.SelectionInverseIcon,SelectionPlus:o.SelectionPlus,SelectionPlusIcon:o.SelectionPlusIcon,SelectionSlash:o.SelectionSlash,SelectionSlashIcon:o.SelectionSlashIcon,Shapes:o.Shapes,ShapesIcon:o.ShapesIcon,Share:o.Share,ShareFat:o.ShareFat,ShareFatIcon:o.ShareFatIcon,ShareIcon:o.ShareIcon,ShareNetwork:o.ShareNetwork,ShareNetworkIcon:o.ShareNetworkIcon,Shield:o.Shield,ShieldCheck:o.ShieldCheck,ShieldCheckIcon:o.ShieldCheckIcon,ShieldCheckered:o.ShieldCheckered,ShieldCheckeredIcon:o.ShieldCheckeredIcon,ShieldChevron:o.ShieldChevron,ShieldChevronIcon:o.ShieldChevronIcon,ShieldIcon:o.ShieldIcon,ShieldPlus:o.ShieldPlus,ShieldPlusIcon:o.ShieldPlusIcon,ShieldSlash:o.ShieldSlash,ShieldSlashIcon:o.ShieldSlashIcon,ShieldStar:o.ShieldStar,ShieldStarIcon:o.ShieldStarIcon,ShieldWarning:o.ShieldWarning,ShieldWarningIcon:o.ShieldWarningIcon,ShippingContainer:o.ShippingContainer,ShippingContainerIcon:o.ShippingContainerIcon,ShirtFolded:o.ShirtFolded,ShirtFoldedIcon:o.ShirtFoldedIcon,ShootingStar:o.ShootingStar,ShootingStarIcon:o.ShootingStarIcon,ShoppingBag:o.ShoppingBag,ShoppingBagIcon:o.ShoppingBagIcon,ShoppingBagOpen:o.ShoppingBagOpen,ShoppingBagOpenIcon:o.ShoppingBagOpenIcon,ShoppingCart:o.ShoppingCart,ShoppingCartIcon:o.ShoppingCartIcon,ShoppingCartSimple:o.ShoppingCartSimple,ShoppingCartSimpleIcon:o.ShoppingCartSimpleIcon,Shovel:o.Shovel,ShovelIcon:o.ShovelIcon,Shower:o.Shower,ShowerIcon:o.ShowerIcon,Shrimp:o.Shrimp,ShrimpIcon:o.ShrimpIcon,Shuffle:o.Shuffle,ShuffleAngular:o.ShuffleAngular,ShuffleAngularIcon:o.ShuffleAngularIcon,ShuffleIcon:o.ShuffleIcon,ShuffleSimple:o.ShuffleSimple,ShuffleSimpleIcon:o.ShuffleSimpleIcon,Sidebar:o.Sidebar,SidebarIcon:o.SidebarIcon,SidebarSimple:o.SidebarSimple,SidebarSimpleIcon:o.SidebarSimpleIcon,Sigma:o.Sigma,SigmaIcon:o.SigmaIcon,SignIn:o.SignIn,SignInIcon:o.SignInIcon,SignOut:o.SignOut,SignOutIcon:o.SignOutIcon,Signature:o.Signature,SignatureIcon:o.SignatureIcon,Signpost:o.Signpost,SignpostIcon:o.SignpostIcon,SimCard:o.SimCard,SimCardIcon:o.SimCardIcon,Siren:o.Siren,SirenIcon:o.SirenIcon,SketchLogo:o.SketchLogo,SketchLogoIcon:o.SketchLogoIcon,SkipBack:o.SkipBack,SkipBackCircle:o.SkipBackCircle,SkipBackCircleIcon:o.SkipBackCircleIcon,SkipBackIcon:o.SkipBackIcon,SkipForward:o.SkipForward,SkipForwardCircle:o.SkipForwardCircle,SkipForwardCircleIcon:o.SkipForwardCircleIcon,SkipForwardIcon:o.SkipForwardIcon,Skull:o.Skull,SkullIcon:o.SkullIcon,SkypeLogo:o.SkypeLogo,SkypeLogoIcon:o.SkypeLogoIcon,SlackLogo:o.SlackLogo,SlackLogoIcon:o.SlackLogoIcon,Sliders:o.Sliders,SlidersHorizontal:o.SlidersHorizontal,SlidersHorizontalIcon:o.SlidersHorizontalIcon,SlidersIcon:o.SlidersIcon,Slideshow:o.Slideshow,SlideshowIcon:o.SlideshowIcon,Smiley:o.Smiley,SmileyAngry:o.SmileyAngry,SmileyAngryIcon:o.SmileyAngryIcon,SmileyBlank:o.SmileyBlank,SmileyBlankIcon:o.SmileyBlankIcon,SmileyIcon:o.SmileyIcon,SmileyMeh:o.SmileyMeh,SmileyMehIcon:o.SmileyMehIcon,SmileyMelting:o.SmileyMelting,SmileyMeltingIcon:o.SmileyMeltingIcon,SmileyNervous:o.SmileyNervous,SmileyNervousIcon:o.SmileyNervousIcon,SmileySad:o.SmileySad,SmileySadIcon:o.SmileySadIcon,SmileySticker:o.SmileySticker,SmileyStickerIcon:o.SmileyStickerIcon,SmileyWink:o.SmileyWink,SmileyWinkIcon:o.SmileyWinkIcon,SmileyXEyes:o.SmileyXEyes,SmileyXEyesIcon:o.SmileyXEyesIcon,SnapchatLogo:o.SnapchatLogo,SnapchatLogoIcon:o.SnapchatLogoIcon,Sneaker:o.Sneaker,SneakerIcon:o.SneakerIcon,SneakerMove:o.SneakerMove,SneakerMoveIcon:o.SneakerMoveIcon,Snowflake:o.Snowflake,SnowflakeIcon:o.SnowflakeIcon,SoccerBall:o.SoccerBall,SoccerBallIcon:o.SoccerBallIcon,Sock:o.Sock,SockIcon:o.SockIcon,SolarPanel:o.SolarPanel,SolarPanelIcon:o.SolarPanelIcon,SolarRoof:o.SolarRoof,SolarRoofIcon:o.SolarRoofIcon,SortAscending:o.SortAscending,SortAscendingIcon:o.SortAscendingIcon,SortDescending:o.SortDescending,SortDescendingIcon:o.SortDescendingIcon,SoundcloudLogo:o.SoundcloudLogo,SoundcloudLogoIcon:o.SoundcloudLogoIcon,Spade:o.Spade,SpadeIcon:o.SpadeIcon,Sparkle:o.Sparkle,SparkleIcon:o.SparkleIcon,SpeakerHifi:o.SpeakerHifi,SpeakerHifiIcon:o.SpeakerHifiIcon,SpeakerHigh:o.SpeakerHigh,SpeakerHighIcon:o.SpeakerHighIcon,SpeakerLow:o.SpeakerLow,SpeakerLowIcon:o.SpeakerLowIcon,SpeakerNone:o.SpeakerNone,SpeakerNoneIcon:o.SpeakerNoneIcon,SpeakerSimpleHigh:o.SpeakerSimpleHigh,SpeakerSimpleHighIcon:o.SpeakerSimpleHighIcon,SpeakerSimpleLow:o.SpeakerSimpleLow,SpeakerSimpleLowIcon:o.SpeakerSimpleLowIcon,SpeakerSimpleNone:o.SpeakerSimpleNone,SpeakerSimpleNoneIcon:o.SpeakerSimpleNoneIcon,SpeakerSimpleSlash:o.SpeakerSimpleSlash,SpeakerSimpleSlashIcon:o.SpeakerSimpleSlashIcon,SpeakerSimpleX:o.SpeakerSimpleX,SpeakerSimpleXIcon:o.SpeakerSimpleXIcon,SpeakerSlash:o.SpeakerSlash,SpeakerSlashIcon:o.SpeakerSlashIcon,SpeakerX:o.SpeakerX,SpeakerXIcon:o.SpeakerXIcon,Speedometer:o.Speedometer,SpeedometerIcon:o.SpeedometerIcon,Sphere:o.Sphere,SphereIcon:o.SphereIcon,Spinner:o.Spinner,SpinnerBall:o.SpinnerBall,SpinnerBallIcon:o.SpinnerBallIcon,SpinnerGap:o.SpinnerGap,SpinnerGapIcon:o.SpinnerGapIcon,SpinnerIcon:o.SpinnerIcon,Spiral:o.Spiral,SpiralIcon:o.SpiralIcon,SplitHorizontal:o.SplitHorizontal,SplitHorizontalIcon:o.SplitHorizontalIcon,SplitVertical:o.SplitVertical,SplitVerticalIcon:o.SplitVerticalIcon,SpotifyLogo:o.SpotifyLogo,SpotifyLogoIcon:o.SpotifyLogoIcon,SprayBottle:o.SprayBottle,SprayBottleIcon:o.SprayBottleIcon,Square:o.Square,SquareHalf:o.SquareHalf,SquareHalfBottom:o.SquareHalfBottom,SquareHalfBottomIcon:o.SquareHalfBottomIcon,SquareHalfIcon:o.SquareHalfIcon,SquareIcon:o.SquareIcon,SquareLogo:o.SquareLogo,SquareLogoIcon:o.SquareLogoIcon,SquareSplitHorizontal:o.SquareSplitHorizontal,SquareSplitHorizontalIcon:o.SquareSplitHorizontalIcon,SquareSplitVertical:o.SquareSplitVertical,SquareSplitVerticalIcon:o.SquareSplitVerticalIcon,SquaresFour:o.SquaresFour,SquaresFourIcon:o.SquaresFourIcon,Stack:o.Stack,StackIcon:o.StackIcon,StackMinus:o.StackMinus,StackMinusIcon:o.StackMinusIcon,StackOverflowLogo:o.StackOverflowLogo,StackOverflowLogoIcon:o.StackOverflowLogoIcon,StackPlus:o.StackPlus,StackPlusIcon:o.StackPlusIcon,StackSimple:o.StackSimple,StackSimpleIcon:o.StackSimpleIcon,Stairs:o.Stairs,StairsIcon:o.StairsIcon,Stamp:o.Stamp,StampIcon:o.StampIcon,StandardDefinition:o.StandardDefinition,StandardDefinitionIcon:o.StandardDefinitionIcon,Star:o.Star,StarAndCrescent:o.StarAndCrescent,StarAndCrescentIcon:o.StarAndCrescentIcon,StarFour:o.StarFour,StarFourIcon:o.StarFourIcon,StarHalf:o.StarHalf,StarHalfIcon:o.StarHalfIcon,StarIcon:o.StarIcon,StarOfDavid:o.StarOfDavid,StarOfDavidIcon:o.StarOfDavidIcon,SteamLogo:o.SteamLogo,SteamLogoIcon:o.SteamLogoIcon,SteeringWheel:o.SteeringWheel,SteeringWheelIcon:o.SteeringWheelIcon,Steps:o.Steps,StepsIcon:o.StepsIcon,Stethoscope:o.Stethoscope,StethoscopeIcon:o.StethoscopeIcon,Sticker:o.Sticker,StickerIcon:o.StickerIcon,Stool:o.Stool,StoolIcon:o.StoolIcon,Stop:o.Stop,StopCircle:o.StopCircle,StopCircleIcon:o.StopCircleIcon,StopIcon:o.StopIcon,Storefront:o.Storefront,StorefrontIcon:o.StorefrontIcon,Strategy:o.Strategy,StrategyIcon:o.StrategyIcon,StripeLogo:o.StripeLogo,StripeLogoIcon:o.StripeLogoIcon,Student:o.Student,StudentIcon:o.StudentIcon,SubsetOf:o.SubsetOf,SubsetOfIcon:o.SubsetOfIcon,SubsetProperOf:o.SubsetProperOf,SubsetProperOfIcon:o.SubsetProperOfIcon,Subtitles:o.Subtitles,SubtitlesIcon:o.SubtitlesIcon,SubtitlesSlash:o.SubtitlesSlash,SubtitlesSlashIcon:o.SubtitlesSlashIcon,Subtract:o.Subtract,SubtractIcon:o.SubtractIcon,SubtractSquare:o.SubtractSquare,SubtractSquareIcon:o.SubtractSquareIcon,Subway:o.Subway,SubwayIcon:o.SubwayIcon,Suitcase:o.Suitcase,SuitcaseIcon:o.SuitcaseIcon,SuitcaseRolling:o.SuitcaseRolling,SuitcaseRollingIcon:o.SuitcaseRollingIcon,SuitcaseSimple:o.SuitcaseSimple,SuitcaseSimpleIcon:o.SuitcaseSimpleIcon,Sun:o.Sun,SunDim:o.SunDim,SunDimIcon:o.SunDimIcon,SunHorizon:o.SunHorizon,SunHorizonIcon:o.SunHorizonIcon,SunIcon:o.SunIcon,Sunglasses:o.Sunglasses,SunglassesIcon:o.SunglassesIcon,SupersetOf:o.SupersetOf,SupersetOfIcon:o.SupersetOfIcon,SupersetProperOf:o.SupersetProperOf,SupersetProperOfIcon:o.SupersetProperOfIcon,Swap:o.Swap,SwapIcon:o.SwapIcon,Swatches:o.Swatches,SwatchesIcon:o.SwatchesIcon,SwimmingPool:o.SwimmingPool,SwimmingPoolIcon:o.SwimmingPoolIcon,Sword:o.Sword,SwordIcon:o.SwordIcon,Synagogue:o.Synagogue,SynagogueIcon:o.SynagogueIcon,Syringe:o.Syringe,SyringeIcon:o.SyringeIcon,TShirt:o.TShirt,TShirtIcon:o.TShirtIcon,Table:o.Table,TableIcon:o.TableIcon,Tabs:o.Tabs,TabsIcon:o.TabsIcon,Tag:o.Tag,TagChevron:o.TagChevron,TagChevronIcon:o.TagChevronIcon,TagIcon:o.TagIcon,TagSimple:o.TagSimple,TagSimpleIcon:o.TagSimpleIcon,Target:o.Target,TargetIcon:o.TargetIcon,Taxi:o.Taxi,TaxiIcon:o.TaxiIcon,TeaBag:o.TeaBag,TeaBagIcon:o.TeaBagIcon,TelegramLogo:o.TelegramLogo,TelegramLogoIcon:o.TelegramLogoIcon,Television:o.Television,TelevisionIcon:o.TelevisionIcon,TelevisionSimple:o.TelevisionSimple,TelevisionSimpleIcon:o.TelevisionSimpleIcon,TennisBall:o.TennisBall,TennisBallIcon:o.TennisBallIcon,Tent:o.Tent,TentIcon:o.TentIcon,Terminal:o.Terminal,TerminalIcon:o.TerminalIcon,TerminalWindow:o.TerminalWindow,TerminalWindowIcon:o.TerminalWindowIcon,TestTube:o.TestTube,TestTubeIcon:o.TestTubeIcon,TextAUnderline:o.TextAUnderline,TextAUnderlineIcon:o.TextAUnderlineIcon,TextAa:o.TextAa,TextAaIcon:o.TextAaIcon,TextAlignCenter:o.TextAlignCenter,TextAlignCenterIcon:o.TextAlignCenterIcon,TextAlignJustify:o.TextAlignJustify,TextAlignJustifyIcon:o.TextAlignJustifyIcon,TextAlignLeft:o.TextAlignLeft,TextAlignLeftIcon:o.TextAlignLeftIcon,TextAlignRight:o.TextAlignRight,TextAlignRightIcon:o.TextAlignRightIcon,TextB:o.TextB,TextBIcon:o.TextBIcon,TextBolderIcon:o.TextBolderIcon,TextColumns:o.TextColumns,TextColumnsIcon:o.TextColumnsIcon,TextH:o.TextH,TextHFive:o.TextHFive,TextHFiveIcon:o.TextHFiveIcon,TextHFour:o.TextHFour,TextHFourIcon:o.TextHFourIcon,TextHIcon:o.TextHIcon,TextHOne:o.TextHOne,TextHOneIcon:o.TextHOneIcon,TextHSix:o.TextHSix,TextHSixIcon:o.TextHSixIcon,TextHThree:o.TextHThree,TextHThreeIcon:o.TextHThreeIcon,TextHTwo:o.TextHTwo,TextHTwoIcon:o.TextHTwoIcon,TextIndent:o.TextIndent,TextIndentIcon:o.TextIndentIcon,TextItalic:o.TextItalic,TextItalicIcon:o.TextItalicIcon,TextOutdent:o.TextOutdent,TextOutdentIcon:o.TextOutdentIcon,TextStrikethrough:o.TextStrikethrough,TextStrikethroughIcon:o.TextStrikethroughIcon,TextSubscript:o.TextSubscript,TextSubscriptIcon:o.TextSubscriptIcon,TextSuperscript:o.TextSuperscript,TextSuperscriptIcon:o.TextSuperscriptIcon,TextT:o.TextT,TextTIcon:o.TextTIcon,TextTSlash:o.TextTSlash,TextTSlashIcon:o.TextTSlashIcon,TextUnderline:o.TextUnderline,TextUnderlineIcon:o.TextUnderlineIcon,Textbox:o.Textbox,TextboxIcon:o.TextboxIcon,Thermometer:o.Thermometer,ThermometerCold:o.ThermometerCold,ThermometerColdIcon:o.ThermometerColdIcon,ThermometerHot:o.ThermometerHot,ThermometerHotIcon:o.ThermometerHotIcon,ThermometerIcon:o.ThermometerIcon,ThermometerSimple:o.ThermometerSimple,ThermometerSimpleIcon:o.ThermometerSimpleIcon,ThreadsLogo:o.ThreadsLogo,ThreadsLogoIcon:o.ThreadsLogoIcon,ThreeD:o.ThreeD,ThreeDIcon:o.ThreeDIcon,ThumbsDown:o.ThumbsDown,ThumbsDownIcon:o.ThumbsDownIcon,ThumbsUp:o.ThumbsUp,ThumbsUpIcon:o.ThumbsUpIcon,Ticket:o.Ticket,TicketIcon:o.TicketIcon,TidalLogo:o.TidalLogo,TidalLogoIcon:o.TidalLogoIcon,TiktokLogo:o.TiktokLogo,TiktokLogoIcon:o.TiktokLogoIcon,Tilde:o.Tilde,TildeIcon:o.TildeIcon,Timer:o.Timer,TimerIcon:o.TimerIcon,TipJar:o.TipJar,TipJarIcon:o.TipJarIcon,Tipi:o.Tipi,TipiIcon:o.TipiIcon,Tire:o.Tire,TireIcon:o.TireIcon,ToggleLeft:o.ToggleLeft,ToggleLeftIcon:o.ToggleLeftIcon,ToggleRight:o.ToggleRight,ToggleRightIcon:o.ToggleRightIcon,Toilet:o.Toilet,ToiletIcon:o.ToiletIcon,ToiletPaper:o.ToiletPaper,ToiletPaperIcon:o.ToiletPaperIcon,Toolbox:o.Toolbox,ToolboxIcon:o.ToolboxIcon,Tooth:o.Tooth,ToothIcon:o.ToothIcon,Tornado:o.Tornado,TornadoIcon:o.TornadoIcon,Tote:o.Tote,ToteIcon:o.ToteIcon,ToteSimple:o.ToteSimple,ToteSimpleIcon:o.ToteSimpleIcon,Towel:o.Towel,TowelIcon:o.TowelIcon,Tractor:o.Tractor,TractorIcon:o.TractorIcon,Trademark:o.Trademark,TrademarkIcon:o.TrademarkIcon,TrademarkRegistered:o.TrademarkRegistered,TrademarkRegisteredIcon:o.TrademarkRegisteredIcon,TrafficCone:o.TrafficCone,TrafficConeIcon:o.TrafficConeIcon,TrafficSign:o.TrafficSign,TrafficSignIcon:o.TrafficSignIcon,TrafficSignal:o.TrafficSignal,TrafficSignalIcon:o.TrafficSignalIcon,Train:o.Train,TrainIcon:o.TrainIcon,TrainRegional:o.TrainRegional,TrainRegionalIcon:o.TrainRegionalIcon,TrainSimple:o.TrainSimple,TrainSimpleIcon:o.TrainSimpleIcon,Tram:o.Tram,TramIcon:o.TramIcon,Translate:o.Translate,TranslateIcon:o.TranslateIcon,Trash:o.Trash,TrashIcon:o.TrashIcon,TrashSimple:o.TrashSimple,TrashSimpleIcon:o.TrashSimpleIcon,Tray:o.Tray,TrayArrowDown:o.TrayArrowDown,TrayArrowDownIcon:o.TrayArrowDownIcon,TrayArrowUp:o.TrayArrowUp,TrayArrowUpIcon:o.TrayArrowUpIcon,TrayIcon:o.TrayIcon,TreasureChest:o.TreasureChest,TreasureChestIcon:o.TreasureChestIcon,Tree:o.Tree,TreeEvergreen:o.TreeEvergreen,TreeEvergreenIcon:o.TreeEvergreenIcon,TreeIcon:o.TreeIcon,TreePalm:o.TreePalm,TreePalmIcon:o.TreePalmIcon,TreeStructure:o.TreeStructure,TreeStructureIcon:o.TreeStructureIcon,TreeView:o.TreeView,TreeViewIcon:o.TreeViewIcon,TrendDown:o.TrendDown,TrendDownIcon:o.TrendDownIcon,TrendUp:o.TrendUp,TrendUpIcon:o.TrendUpIcon,Triangle:o.Triangle,TriangleDashed:o.TriangleDashed,TriangleDashedIcon:o.TriangleDashedIcon,TriangleIcon:o.TriangleIcon,Trolley:o.Trolley,TrolleyIcon:o.TrolleyIcon,TrolleySuitcase:o.TrolleySuitcase,TrolleySuitcaseIcon:o.TrolleySuitcaseIcon,Trophy:o.Trophy,TrophyIcon:o.TrophyIcon,Truck:o.Truck,TruckIcon:o.TruckIcon,TruckTrailer:o.TruckTrailer,TruckTrailerIcon:o.TruckTrailerIcon,TumblrLogo:o.TumblrLogo,TumblrLogoIcon:o.TumblrLogoIcon,TwitchLogo:o.TwitchLogo,TwitchLogoIcon:o.TwitchLogoIcon,TwitterLogo:o.TwitterLogo,TwitterLogoIcon:o.TwitterLogoIcon,Umbrella:o.Umbrella,UmbrellaIcon:o.UmbrellaIcon,UmbrellaSimple:o.UmbrellaSimple,UmbrellaSimpleIcon:o.UmbrellaSimpleIcon,Union:o.Union,UnionIcon:o.UnionIcon,Unite:o.Unite,UniteIcon:o.UniteIcon,UniteSquare:o.UniteSquare,UniteSquareIcon:o.UniteSquareIcon,Upload:o.Upload,UploadIcon:o.UploadIcon,UploadSimple:o.UploadSimple,UploadSimpleIcon:o.UploadSimpleIcon,Usb:o.Usb,UsbIcon:o.UsbIcon,User:o.User,UserCheck:o.UserCheck,UserCheckIcon:o.UserCheckIcon,UserCircle:o.UserCircle,UserCircleCheck:o.UserCircleCheck,UserCircleCheckIcon:o.UserCircleCheckIcon,UserCircleDashed:o.UserCircleDashed,UserCircleDashedIcon:o.UserCircleDashedIcon,UserCircleGear:o.UserCircleGear,UserCircleGearIcon:o.UserCircleGearIcon,UserCircleIcon:o.UserCircleIcon,UserCircleMinus:o.UserCircleMinus,UserCircleMinusIcon:o.UserCircleMinusIcon,UserCirclePlus:o.UserCirclePlus,UserCirclePlusIcon:o.UserCirclePlusIcon,UserFocus:o.UserFocus,UserFocusIcon:o.UserFocusIcon,UserGear:o.UserGear,UserGearIcon:o.UserGearIcon,UserIcon:o.UserIcon,UserList:o.UserList,UserListIcon:o.UserListIcon,UserMinus:o.UserMinus,UserMinusIcon:o.UserMinusIcon,UserPlus:o.UserPlus,UserPlusIcon:o.UserPlusIcon,UserRectangle:o.UserRectangle,UserRectangleIcon:o.UserRectangleIcon,UserSound:o.UserSound,UserSoundIcon:o.UserSoundIcon,UserSquare:o.UserSquare,UserSquareIcon:o.UserSquareIcon,UserSwitch:o.UserSwitch,UserSwitchIcon:o.UserSwitchIcon,Users:o.Users,UsersFour:o.UsersFour,UsersFourIcon:o.UsersFourIcon,UsersIcon:o.UsersIcon,UsersThree:o.UsersThree,UsersThreeIcon:o.UsersThreeIcon,Van:o.Van,VanIcon:o.VanIcon,Vault:o.Vault,VaultIcon:o.VaultIcon,VectorThree:o.VectorThree,VectorThreeIcon:o.VectorThreeIcon,VectorTwo:o.VectorTwo,VectorTwoIcon:o.VectorTwoIcon,Vibrate:o.Vibrate,VibrateIcon:o.VibrateIcon,Video:o.Video,VideoCamera:o.VideoCamera,VideoCameraIcon:o.VideoCameraIcon,VideoCameraSlash:o.VideoCameraSlash,VideoCameraSlashIcon:o.VideoCameraSlashIcon,VideoConference:o.VideoConference,VideoConferenceIcon:o.VideoConferenceIcon,VideoIcon:o.VideoIcon,Vignette:o.Vignette,VignetteIcon:o.VignetteIcon,VinylRecord:o.VinylRecord,VinylRecordIcon:o.VinylRecordIcon,VirtualReality:o.VirtualReality,VirtualRealityIcon:o.VirtualRealityIcon,Virus:o.Virus,VirusIcon:o.VirusIcon,Visor:o.Visor,VisorIcon:o.VisorIcon,Voicemail:o.Voicemail,VoicemailIcon:o.VoicemailIcon,Volleyball:o.Volleyball,VolleyballIcon:o.VolleyballIcon,Wall:o.Wall,WallIcon:o.WallIcon,Wallet:o.Wallet,WalletIcon:o.WalletIcon,Warehouse:o.Warehouse,WarehouseIcon:o.WarehouseIcon,Warning:o.Warning,WarningCircle:o.WarningCircle,WarningCircleIcon:o.WarningCircleIcon,WarningDiamond:o.WarningDiamond,WarningDiamondIcon:o.WarningDiamondIcon,WarningIcon:o.WarningIcon,WarningOctagon:o.WarningOctagon,WarningOctagonIcon:o.WarningOctagonIcon,WashingMachine:o.WashingMachine,WashingMachineIcon:o.WashingMachineIcon,Watch:o.Watch,WatchIcon:o.WatchIcon,WaveSawtooth:o.WaveSawtooth,WaveSawtoothIcon:o.WaveSawtoothIcon,WaveSine:o.WaveSine,WaveSineIcon:o.WaveSineIcon,WaveSquare:o.WaveSquare,WaveSquareIcon:o.WaveSquareIcon,WaveTriangle:o.WaveTriangle,WaveTriangleIcon:o.WaveTriangleIcon,Waveform:o.Waveform,WaveformIcon:o.WaveformIcon,WaveformSlash:o.WaveformSlash,WaveformSlashIcon:o.WaveformSlashIcon,Waves:o.Waves,WavesIcon:o.WavesIcon,Webcam:o.Webcam,WebcamIcon:o.WebcamIcon,WebcamSlash:o.WebcamSlash,WebcamSlashIcon:o.WebcamSlashIcon,WebhooksLogo:o.WebhooksLogo,WebhooksLogoIcon:o.WebhooksLogoIcon,WechatLogo:o.WechatLogo,WechatLogoIcon:o.WechatLogoIcon,WhatsappLogo:o.WhatsappLogo,WhatsappLogoIcon:o.WhatsappLogoIcon,Wheelchair:o.Wheelchair,WheelchairIcon:o.WheelchairIcon,WheelchairMotion:o.WheelchairMotion,WheelchairMotionIcon:o.WheelchairMotionIcon,WifiHigh:o.WifiHigh,WifiHighIcon:o.WifiHighIcon,WifiLow:o.WifiLow,WifiLowIcon:o.WifiLowIcon,WifiMedium:o.WifiMedium,WifiMediumIcon:o.WifiMediumIcon,WifiNone:o.WifiNone,WifiNoneIcon:o.WifiNoneIcon,WifiSlash:o.WifiSlash,WifiSlashIcon:o.WifiSlashIcon,WifiX:o.WifiX,WifiXIcon:o.WifiXIcon,Wind:o.Wind,WindIcon:o.WindIcon,Windmill:o.Windmill,WindmillIcon:o.WindmillIcon,WindowsLogo:o.WindowsLogo,WindowsLogoIcon:o.WindowsLogoIcon,Wine:o.Wine,WineIcon:o.WineIcon,Wrench:o.Wrench,WrenchIcon:o.WrenchIcon,X:o.X,XCircle:o.XCircle,XCircleIcon:o.XCircleIcon,XIcon:o.XIcon,XLogo:o.XLogo,XLogoIcon:o.XLogoIcon,XSquare:o.XSquare,XSquareIcon:o.XSquareIcon,Yarn:o.Yarn,YarnIcon:o.YarnIcon,YinYang:o.YinYang,YinYangIcon:o.YinYangIcon,YoutubeLogo:o.YoutubeLogo,YoutubeLogoIcon:o.YoutubeLogoIcon},Symbol.toStringTag,{value:"Module"})),ie=({name:e,fill:t="currentColor",hoverable:n=!1,onClick:r,className:i,width:a=24,height:u=24,style:s={}})=>{const c=_5[e];return c?d.jsx(T5,{children:d.jsx(c,{fill:t,style:{"--icon-fill":t,...s},className:ge(t1.icon,i,{[t1.hoverable]:n}),onClick:r,width:a,height:u})}):null};class T5 extends k.Component{constructor(){super(...arguments);Wi(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}const w5="_wrapper_mmfra_1",A5="_active_mmfra_27",k5="_toggle_mmfra_30",v5="_background_mmfra_42",L5="_padding_mmfra_46",xr={wrapper:w5,switch:"_switch_mmfra_14",active:A5,toggle:k5,background:v5,padding:L5},Or=e=>{const{onChange:t,style:n,current:r,label:i,hasBackground:a=!1,paddingless:u=!0}=e,[s,c]=k.useState(r),l=()=>{c(f=>!f),t==null||t(!s)};return k.useEffect(()=>{c(r)},[r]),d.jsx(d.Fragment,{children:i?d.jsxs("div",{className:ge(xr.wrapper,{[xr.background]:a,[xr.padding]:!u}),children:[d.jsx("div",{className:ge(xr.switch,{[xr.active]:s}),onClick:l,style:n,children:d.jsx("div",{className:xr.toggle})}),d.jsx("span",{className:xr.value,children:i})]}):d.jsx("div",{className:ge(xr.switch,{[xr.active]:s}),onClick:l,style:n,children:d.jsx("div",{className:xr.toggle})})})},D5="_wrapper_1gk74_2",N5="_label_1gk74_9",R5="_top_1gk74_17",P5="_select_1gk74_23",O5="_borderFocused_1gk74_42",M5="_input_1gk74_49",F5="_icon_1gk74_59",B5="_rotate_1gk74_64",H5="_content_1gk74_68",j5="_options_1gk74_72",U5="_filteredOptions_1gk74_93",V5="_open_1gk74_97",z5="_option_1gk74_72",$5="_focused_1gk74_115",q5="_addon_1gk74_119",W5="_value_1gk74_130",G5="_postfix_1gk74_134",Z5="_leftAddon_1gk74_138",Jt={wrapper:D5,label:N5,top:R5,select:P5,borderFocused:O5,input:M5,icon:F5,rotate:B5,content:H5,options:j5,filteredOptions:U5,open:V5,option:z5,focused:$5,addon:q5,value:W5,postfix:G5,leftAddon:Z5};function Xr(e){return Array.isArray?Array.isArray(e):xp(e)==="[object Array]"}function Y5(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function X5(e){return e==null?"":Y5(e)}function Lr(e){return typeof e=="string"}function Ep(e){return typeof e=="number"}function K5(e){return e===!0||e===!1||J5(e)&&xp(e)=="[object Boolean]"}function Sp(e){return typeof e=="object"}function J5(e){return Sp(e)&&e!==null}function Gn(e){return e!=null}function pc(e){return!e.trim().length}function xp(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Q5="Incorrect 'index' type",eb=e=>`Invalid value for key ${e}`,tb=e=>`Pattern length exceeds max of ${e}.`,nb=e=>`Missing ${e} property in key`,rb=e=>`Property 'weight' in key '${e}' must be a positive integer`,n1=Object.prototype.hasOwnProperty;class ob{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let i=_p(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _p(e){let t=null,n=null,r=null,i=1,a=null;if(Lr(e)||Xr(e))r=e,t=r1(e),n=gl(e);else{if(!n1.call(e,"name"))throw new Error(nb("name"));const u=e.name;if(r=u,n1.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(rb(u));t=r1(u),n=gl(u),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function r1(e){return Xr(e)?e:e.split(".")}function gl(e){return Xr(e)?e.join("."):e}function ib(e,t){let n=[],r=!1;const i=(a,u,s)=>{if(Gn(a))if(!u[s])n.push(a);else{let c=u[s];const l=a[c];if(!Gn(l))return;if(s===u.length-1&&(Lr(l)||Ep(l)||K5(l)))n.push(X5(l));else if(Xr(l)){r=!0;for(let f=0,h=l.length;f<h;f+=1)i(l[f],u,s+1)}else u.length&&i(l,u,s+1)}};return i(e,Lr(t)?t.split("."):t,0),r?n:n[0]}const ab={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ub={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},sb={location:0,threshold:.6,distance:100},cb={useExtendedSearch:!1,getFn:ib,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Pe={...ub,...ab,...sb,...cb};const lb=/[^ ]+/g;function db(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(i){const a=i.match(lb).length;if(n.has(a))return n.get(a);const u=1/Math.pow(a,.5*e),s=parseFloat(Math.round(u*r)/r);return n.set(a,s),s},clear(){n.clear()}}}class xd{constructor({getFn:t=Pe.getFn,fieldNormWeight:n=Pe.fieldNormWeight}={}){this.norm=db(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Lr(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Lr(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Gn(t)||pc(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((i,a)=>{let u=i.getFn?i.getFn(t):this.getFn(t,i.path);if(Gn(u)){if(Xr(u)){let s=[];const c=[{nestedArrIndex:-1,value:u}];for(;c.length;){const{nestedArrIndex:l,value:f}=c.pop();if(Gn(f))if(Lr(f)&&!pc(f)){let h={v:f,i:l,n:this.norm.get(f)};s.push(h)}else Xr(f)&&f.forEach((h,g)=>{c.push({nestedArrIndex:g,value:h})})}r.$[a]=s}else if(Lr(u)&&!pc(u)){let s={v:u,n:this.norm.get(u)};r.$[a]=s}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Tp(e,t,{getFn:n=Pe.getFn,fieldNormWeight:r=Pe.fieldNormWeight}={}){const i=new xd({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(_p)),i.setSources(t),i.create(),i}function fb(e,{getFn:t=Pe.getFn,fieldNormWeight:n=Pe.fieldNormWeight}={}){const{keys:r,records:i}=e,a=new xd({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function Cu(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=Pe.distance,ignoreLocation:a=Pe.ignoreLocation}={}){const u=t/e.length;if(a)return u;const s=Math.abs(r-n);return i?u+s/i:s?1:u}function hb(e=[],t=Pe.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let u=e.length;a<u;a+=1){let s=e[a];s&&r===-1?r=a:!s&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}const Fo=32;function pb(e,t,n,{location:r=Pe.location,distance:i=Pe.distance,threshold:a=Pe.threshold,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,includeMatches:c=Pe.includeMatches,ignoreLocation:l=Pe.ignoreLocation}={}){if(t.length>Fo)throw new Error(tb(Fo));const f=t.length,h=e.length,g=Math.max(0,Math.min(r,h));let m=a,b=g;const C=s>1||c,I=C?Array(h):[];let E;for(;(E=e.indexOf(t,b))>-1;){let x=Cu(t,{currentLocation:E,expectedLocation:g,distance:i,ignoreLocation:l});if(m=Math.min(x,m),b=E+f,C){let M=0;for(;M<f;)I[E+M]=1,M+=1}}b=-1;let y=[],S=1,T=f+h;const _=1<<f-1;for(let x=0;x<f;x+=1){let M=0,H=T;for(;M<H;)Cu(t,{errors:x,currentLocation:g+H,expectedLocation:g,distance:i,ignoreLocation:l})<=m?M=H:T=H,H=Math.floor((T-M)/2+M);T=H;let A=Math.max(1,g-H+1),j=u?h:Math.min(g+H,h)+f,F=Array(j+2);F[j+1]=(1<<x)-1;for(let q=j;q>=A;q-=1){let ne=q-1,be=n[e.charAt(ne)];if(C&&(I[ne]=+!!be),F[q]=(F[q+1]<<1|1)&be,x&&(F[q]|=(y[q+1]|y[q])<<1|1|y[q+1]),F[q]&_&&(S=Cu(t,{errors:x,currentLocation:ne,expectedLocation:g,distance:i,ignoreLocation:l}),S<=m)){if(m=S,b=ne,b<=g)break;A=Math.max(1,2*g-b)}}if(Cu(t,{errors:x+1,currentLocation:g,expectedLocation:g,distance:i,ignoreLocation:l})>m)break;y=F}const v={isMatch:b>=0,score:Math.max(.001,S)};if(C){const x=hb(I,s);x.length?c&&(v.indices=x):v.isMatch=!1}return v}function mb(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const as=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class wp{constructor(t,{location:n=Pe.location,threshold:r=Pe.threshold,distance:i=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreDiacritics:l=Pe.ignoreDiacritics,ignoreLocation:f=Pe.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:a,findAllMatches:u,minMatchCharLength:s,isCaseSensitive:c,ignoreDiacritics:l,ignoreLocation:f},t=c?t:t.toLowerCase(),t=l?as(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const h=(m,b)=>{this.chunks.push({pattern:m,alphabet:mb(m),startIndex:b})},g=this.pattern.length;if(g>Fo){let m=0;const b=g%Fo,C=g-b;for(;m<C;)h(this.pattern.substr(m,Fo),m),m+=Fo;if(b){const I=g-Fo;h(this.pattern.substr(I),I)}}else h(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=r?as(t):t,this.pattern===t){let C={isMatch:!0,score:0};return i&&(C.indices=[[0,t.length-1]]),C}const{location:a,distance:u,threshold:s,findAllMatches:c,minMatchCharLength:l,ignoreLocation:f}=this.options;let h=[],g=0,m=!1;this.chunks.forEach(({pattern:C,alphabet:I,startIndex:E})=>{const{isMatch:y,score:S,indices:T}=pb(t,C,I,{location:a+E,distance:u,threshold:s,findAllMatches:c,minMatchCharLength:l,includeMatches:i,ignoreLocation:f});y&&(m=!0),g+=S,y&&T&&(h=[...h,...T])});let b={isMatch:m,score:m?g/this.chunks.length:1};return m&&i&&(b.indices=h),b}}class wo{constructor(t){this.pattern=t}static isMultiMatch(t){return o1(t,this.multiRegex)}static isSingleMatch(t){return o1(t,this.singleRegex)}search(){}}function o1(e,t){const n=e.match(t);return n?n[1]:null}class gb extends wo{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bb extends wo{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class Cb extends wo{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ib extends wo{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class yb extends wo{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Eb extends wo{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ap extends wo{constructor(t,{location:n=Pe.location,threshold:r=Pe.threshold,distance:i=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:u=Pe.findAllMatches,minMatchCharLength:s=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreDiacritics:l=Pe.ignoreDiacritics,ignoreLocation:f=Pe.ignoreLocation}={}){super(t),this._bitapSearch=new wp(t,{location:n,threshold:r,distance:i,includeMatches:a,findAllMatches:u,minMatchCharLength:s,isCaseSensitive:c,ignoreDiacritics:l,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class kp extends wo{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const i=[],a=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+a,i.push([r,n-1]);const u=!!i.length;return{isMatch:u,score:u?0:1,indices:i}}}const bl=[gb,kp,Cb,Ib,Eb,yb,bb,Ap],i1=bl.length,Sb=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,xb="|";function _b(e,t={}){return e.split(xb).map(n=>{let r=n.trim().split(Sb).filter(a=>a&&!!a.trim()),i=[];for(let a=0,u=r.length;a<u;a+=1){const s=r[a];let c=!1,l=-1;for(;!c&&++l<i1;){const f=bl[l];let h=f.isMultiMatch(s);h&&(i.push(new f(h,t)),c=!0)}if(!c)for(l=-1;++l<i1;){const f=bl[l];let h=f.isSingleMatch(s);if(h){i.push(new f(h,t));break}}}return i})}const Tb=new Set([Ap.type,kp.type]);class wb{constructor(t,{isCaseSensitive:n=Pe.isCaseSensitive,ignoreDiacritics:r=Pe.ignoreDiacritics,includeMatches:i=Pe.includeMatches,minMatchCharLength:a=Pe.minMatchCharLength,ignoreLocation:u=Pe.ignoreLocation,findAllMatches:s=Pe.findAllMatches,location:c=Pe.location,threshold:l=Pe.threshold,distance:f=Pe.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:a,findAllMatches:s,ignoreLocation:u,location:c,threshold:l,distance:f},t=n?t:t.toLowerCase(),t=r?as(t):t,this.pattern=t,this.query=_b(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:a}=this.options;t=i?t:t.toLowerCase(),t=a?as(t):t;let u=0,s=[],c=0;for(let l=0,f=n.length;l<f;l+=1){const h=n[l];s.length=0,u=0;for(let g=0,m=h.length;g<m;g+=1){const b=h[g],{isMatch:C,indices:I,score:E}=b.search(t);if(C){if(u+=1,c+=E,r){const y=b.constructor.type;Tb.has(y)?s=[...s,...I]:s.push(I)}}else{c=0,u=0,s.length=0;break}}if(u){let g={isMatch:!0,score:c/u};return r&&(g.indices=s),g}}return{isMatch:!1,score:1}}}const Cl=[];function Ab(...e){Cl.push(...e)}function Il(e,t){for(let n=0,r=Cl.length;n<r;n+=1){let i=Cl[n];if(i.condition(e,t))return new i(e,t)}return new wp(e,t)}const us={AND:"$and",OR:"$or"},yl={PATH:"$path",PATTERN:"$val"},El=e=>!!(e[us.AND]||e[us.OR]),kb=e=>!!e[yl.PATH],vb=e=>!Xr(e)&&Sp(e)&&!El(e),a1=e=>({[us.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function vp(e,t,{auto:n=!0}={}){const r=i=>{let a=Object.keys(i);const u=kb(i);if(!u&&a.length>1&&!El(i))return r(a1(i));if(vb(i)){const c=u?i[yl.PATH]:a[0],l=u?i[yl.PATTERN]:i[c];if(!Lr(l))throw new Error(eb(c));const f={keyId:gl(c),pattern:l};return n&&(f.searcher=Il(l,t)),f}let s={children:[],operator:a[0]};return a.forEach(c=>{const l=i[c];Xr(l)&&l.forEach(f=>{s.children.push(r(f))})}),s};return El(e)||(e=a1(e)),r(e)}function Lb(e,{ignoreFieldNorm:t=Pe.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:a,score:u})=>{const s=i?i.weight:null;r*=Math.pow(u===0&&s?Number.EPSILON:u,(s||1)*(t?1:a))}),n.score=r})}function Db(e,t){const n=e.matches;t.matches=[],Gn(n)&&n.forEach(r=>{if(!Gn(r.indices)||!r.indices.length)return;const{indices:i,value:a}=r;let u={indices:i,value:a};r.key&&(u.key=r.key.src),r.idx>-1&&(u.refIndex=r.idx),t.matches.push(u)})}function Nb(e,t){t.score=e.score}function Rb(e,t,{includeMatches:n=Pe.includeMatches,includeScore:r=Pe.includeScore}={}){const i=[];return n&&i.push(Db),r&&i.push(Nb),e.map(a=>{const{idx:u}=a,s={item:t[u],refIndex:u};return i.length&&i.forEach(c=>{c(a,s)}),s})}class to{constructor(t,n={},r){this.options={...Pe,...n},this.options.useExtendedSearch,this._keyStore=new ob(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof xd))throw new Error(Q5);this._myIndex=n||Tp(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Gn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const a=this._docs[r];t(a,r)&&(this.removeAt(r),r-=1,i-=1,n.push(a))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:a,sortFn:u,ignoreFieldNorm:s}=this.options;let c=Lr(t)?Lr(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Lb(c,{ignoreFieldNorm:s}),a&&c.sort(u),Ep(n)&&n>-1&&(c=c.slice(0,n)),Rb(c,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){const n=Il(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:a,i:u,n:s})=>{if(!Gn(a))return;const{isMatch:c,score:l,indices:f}=n.searchIn(a);c&&i.push({item:a,idx:u,matches:[{score:l,value:a,norm:s,indices:f}]})}),i}_searchLogical(t){const n=vp(t,this.options),r=(s,c,l)=>{if(!s.children){const{keyId:h,searcher:g}=s,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(c,h),searcher:g});return m&&m.length?[{idx:l,item:c,matches:m}]:[]}const f=[];for(let h=0,g=s.children.length;h<g;h+=1){const m=s.children[h],b=r(m,c,l);if(b.length)f.push(...b);else if(s.operator===us.AND)return[]}return f},i=this._myIndex.records,a={},u=[];return i.forEach(({$:s,i:c})=>{if(Gn(s)){let l=r(n,s,c);l.length&&(a[c]||(a[c]={idx:c,item:s,matches:[]},u.push(a[c])),l.forEach(({matches:f})=>{a[c].matches.push(...f)}))}}),u}_searchObjectList(t){const n=Il(t,this.options),{keys:r,records:i}=this._myIndex,a=[];return i.forEach(({$:u,i:s})=>{if(!Gn(u))return;let c=[];r.forEach((l,f)=>{c.push(...this._findMatches({key:l,value:u[f],searcher:n}))}),c.length&&a.push({idx:s,item:u,matches:c})}),a}_findMatches({key:t,value:n,searcher:r}){if(!Gn(n))return[];let i=[];if(Xr(n))n.forEach(({v:a,i:u,n:s})=>{if(!Gn(a))return;const{isMatch:c,score:l,indices:f}=r.searchIn(a);c&&i.push({score:l,key:t,value:a,idx:u,norm:s,indices:f})});else{const{v:a,n:u}=n,{isMatch:s,score:c,indices:l}=r.searchIn(a);s&&i.push({score:c,key:t,value:a,norm:u,indices:l})}return i}}to.version="7.1.0";to.createIndex=Tp;to.parseIndex=fb;to.config=Pe;to.parseQuery=vp;Ab(wb);const Pb="_wrapper_187gl_1",Ob="_label_187gl_9",Mb="_input_187gl_17",Fb="_required_187gl_47",Bb="_paddingless_187gl_54",Hb="_content_187gl_58",jb="_borderless_187gl_66",Ub="_rightIcon_187gl_77",Vb="_inputPostfix_187gl_83",zr={wrapper:Pb,label:Ob,input:Mb,required:Fb,paddingless:Bb,content:Hb,borderless:jb,rightIcon:Ub,inputPostfix:Vb},ur=e=>{const{onChange:t,style:n,label:r,value:i,type:a,min:u,max:s,placeholder:c,disabled:l=!1,required:f=!1,regex:h,paddingless:g=!1,borderless:m=!1,editable:b=!1,isSearch:C=!1,postfix:I,id:E=r}=e,[y,S]=k.useState(!1);function T(v){return Number(v)<0?String(u):v}function _(v){return!f||!h?!0:new RegExp(h).test(v)}return d.jsxs("div",{className:zr.wrapper,children:[r&&d.jsx("label",{className:zr.label,htmlFor:r,children:r}),d.jsxs("div",{className:zr.content,children:[d.jsx("input",{id:E,type:a||"text",onChange:v=>{if(v.stopPropagation(),a==="text")t(v.target.value);else{const x=T(v.target.value);t(x)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(zr.input,{[zr.required]:y&&f&&!_(i),[zr.paddingless]:g,[zr.borderless]:m}),min:a==="number"?u:void 0,max:a==="number"?s:void 0,disabled:l,onFocus:()=>{m||S(!0)},style:n}),I&&d.jsx("span",{className:zr.inputPostfix,children:I}),C&&d.jsx("div",{className:zr.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:20,height:20})}),b&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})};function vi(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const So=e=>{var F,W;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null),y=k.useRef(null),S=k.useRef(null);vi(E,()=>f(!1));function T(q){g(""),t(q),f(!1),b(null)}function _(q,ne){if(!q)return"";if(!y.current){const Le=document.createElement("div");Le.style.position="absolute",Le.style.visibility="hidden",Le.style.whiteSpace="nowrap",Le.style.fontSize=window.getComputedStyle(document.body).fontSize,document.body.appendChild(Le),y.current=Le}y.current.textContent=q;const be=y.current.offsetWidth;if(be<=ne)return q;let Ie=q,Ae=be;for(;Ae>ne&&Ie.length>0;)Ie=Ie.slice(0,-1),y.current.textContent=Ie+"...",Ae=y.current.offsetWidth;if(Ie.length<=3&&q.length>3){const Le=q.split(" ")[0];if(y.current.textContent=Le,y.current.offsetWidth<=ne)return Le}return Ie+"..."}function v(q){if(!l){(q.key==="Enter"||q.key==="ArrowDown")&&f(!0);return}const ne=H;q.key==="ArrowDown"&&(q.preventDefault(),b(be=>be===null||be===ne.length-1?0:be+1)),q.key==="ArrowUp"&&(q.preventDefault(),b(be=>be===null||be===0?ne.length-1:be-1)),q.key==="Enter"&&m!==null&&(q.preventDefault(),T(ne[m])),q.key==="Escape"&&f(!1)}const x=k.useRef(null),M=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:1}),[i]),H=k.useMemo(()=>C&&h.trim()!==""?M.search(h).map(q=>q.item):i,[h,i,C,M]),A=()=>S.current?S.current.clientWidth:100,j=()=>{if(!x.current)return 100;const q=x.current.clientWidth,ne=c&&c.length>0?60:0;return q-ne};return d.jsxs("div",{className:Jt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Jt.top,children:[d.jsx("label",{className:Jt.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:Jt.content,ref:E,children:[d.jsxs("div",{className:ge(Jt.select,{[Jt.borderFocused]:l}),onKeyDown:v,onClick:q=>{q.stopPropagation(),f(ne=>!ne),I(!1)},ref:x,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Jt.addon,children:(F=c.find(q=>q.value===r))==null?void 0:F.addon}),d.jsx("div",{className:Jt.input,ref:S,children:_(r,A())}),d.jsx("div",{className:ge(Jt.icon,{[Jt.rotate]:l}),onClick:q=>{q.stopPropagation(),f(ne=>!ne)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Jt.options,{[Jt.open]:l}),style:{top:((W=x.current)==null?void 0:W.clientHeight)+10},children:[i.length>6&&d.jsx(ur,{type:"text",value:h,placeholder:"Search...",onChange:q=>{g(q),I(!0)},isSearch:!0}),d.jsxs("div",{className:Jt.filteredOptions,children:[H.map((q,ne)=>{var be;return d.jsxs("div",{className:ge(Jt.option,{[Jt.focused]:ne===m}),onClick:()=>{T(q),f(!1)},children:[c&&c.length>0&&d.jsx("div",{className:Jt.leftAddon,children:(be=c.find(Ie=>Ie.value===q))==null?void 0:be.addon}),d.jsx("span",{className:Jt.value,children:_(q,j())}),s&&d.jsx("span",{className:Jt.postfix,children:s[ne]})]},q)}),H.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})};function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sl.apply(null,arguments)}function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xl(e,t){return xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},xl(e,t)}function zb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xl(e,t)}var s1=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function $b(e,t){return!!(e===t||s1(e)&&s1(t))}function qb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!$b(e[n],t[n]))return!1;return!0}function mc(e,t){t===void 0&&(t=qb);var n,r=[],i,a=!1;function u(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return a&&n===this&&t(s,r)||(i=e.apply(this,s),a=!0,n=this,r=s),i}return u}var Wb=typeof performance=="object"&&typeof performance.now=="function",c1=Wb?function(){return performance.now()}:function(){return Date.now()};function l1(e){cancelAnimationFrame(e.id)}function Gb(e,t){var n=c1();function r(){c1()-n>=t?e.call(null):i.id=requestAnimationFrame(r)}var i={id:requestAnimationFrame(r)};return i}var gc=-1;function d1(e){if(e===void 0&&(e=!1),gc===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),gc=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return gc}var oi=null;function f1(e){if(e===void 0&&(e=!1),oi===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?oi="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?oi="negative":oi="positive-ascending"),document.body.removeChild(t),oi}return oi}process.env.NODE_ENV;var Zb=150,Yb=function(t,n){return t},zu=null,$u=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(zu=new WeakSet,$u=new WeakSet);function Xb(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,u=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,l=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(h){zb(g,h);function g(b){var C;return C=h.call(this,b)||this,C._instanceProps=c(C.props,u1(C)),C._outerRef=void 0,C._resetIsScrollingTimeoutId=null,C.state={instance:u1(C),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof C.props.initialScrollOffset=="number"?C.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},C._callOnItemsRendered=void 0,C._callOnItemsRendered=mc(function(I,E,y,S){return C.props.onItemsRendered({overscanStartIndex:I,overscanStopIndex:E,visibleStartIndex:y,visibleStopIndex:S})}),C._callOnScroll=void 0,C._callOnScroll=mc(function(I,E,y){return C.props.onScroll({scrollDirection:I,scrollOffset:E,scrollUpdateWasRequested:y})}),C._getItemStyle=void 0,C._getItemStyle=function(I){var E=C.props,y=E.direction,S=E.itemSize,T=E.layout,_=C._getItemStyleCache(l&&S,l&&T,l&&y),v;if(_.hasOwnProperty(I))v=_[I];else{var x=n(C.props,I,C._instanceProps),M=i(C.props,I,C._instanceProps),H=y==="horizontal"||T==="horizontal",A=y==="rtl",j=H?x:0;_[I]=v={position:"absolute",left:A?void 0:j,right:A?j:void 0,top:H?0:x,height:H?"100%":M,width:H?M:"100%"}}return v},C._getItemStyleCache=void 0,C._getItemStyleCache=mc(function(I,E,y){return{}}),C._onScrollHorizontal=function(I){var E=I.currentTarget,y=E.clientWidth,S=E.scrollLeft,T=E.scrollWidth;C.setState(function(_){if(_.scrollOffset===S)return null;var v=C.props.direction,x=S;if(v==="rtl")switch(f1()){case"negative":x=-S;break;case"positive-descending":x=T-y-S;break}return x=Math.max(0,Math.min(x,T-y)),{isScrolling:!0,scrollDirection:_.scrollOffset<x?"forward":"backward",scrollOffset:x,scrollUpdateWasRequested:!1}},C._resetIsScrollingDebounced)},C._onScrollVertical=function(I){var E=I.currentTarget,y=E.clientHeight,S=E.scrollHeight,T=E.scrollTop;C.setState(function(_){if(_.scrollOffset===T)return null;var v=Math.max(0,Math.min(T,S-y));return{isScrolling:!0,scrollDirection:_.scrollOffset<v?"forward":"backward",scrollOffset:v,scrollUpdateWasRequested:!1}},C._resetIsScrollingDebounced)},C._outerRefSetter=function(I){var E=C.props.outerRef;C._outerRef=I,typeof E=="function"?E(I):E!=null&&typeof E=="object"&&E.hasOwnProperty("current")&&(E.current=I)},C._resetIsScrollingDebounced=function(){C._resetIsScrollingTimeoutId!==null&&l1(C._resetIsScrollingTimeoutId),C._resetIsScrollingTimeoutId=Gb(C._resetIsScrolling,Zb)},C._resetIsScrolling=function(){C._resetIsScrollingTimeoutId=null,C.setState({isScrolling:!1},function(){C._getItemStyleCache(-1,null)})},C}g.getDerivedStateFromProps=function(C,I){return Kb(C,I),f(C),null};var m=g.prototype;return m.scrollTo=function(C){C=Math.max(0,C),this.setState(function(I){return I.scrollOffset===C?null:{scrollDirection:I.scrollOffset<C?"forward":"backward",scrollOffset:C,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},m.scrollToItem=function(C,I){I===void 0&&(I="auto");var E=this.props,y=E.itemCount,S=E.layout,T=this.state.scrollOffset;C=Math.max(0,Math.min(C,y-1));var _=0;if(this._outerRef){var v=this._outerRef;S==="vertical"?_=v.scrollWidth>v.clientWidth?d1():0:_=v.scrollHeight>v.clientHeight?d1():0}this.scrollTo(a(this.props,C,I,T,this._instanceProps,_))},m.componentDidMount=function(){var C=this.props,I=C.direction,E=C.initialScrollOffset,y=C.layout;if(typeof E=="number"&&this._outerRef!=null){var S=this._outerRef;I==="horizontal"||y==="horizontal"?S.scrollLeft=E:S.scrollTop=E}this._callPropsCallbacks()},m.componentDidUpdate=function(){var C=this.props,I=C.direction,E=C.layout,y=this.state,S=y.scrollOffset,T=y.scrollUpdateWasRequested;if(T&&this._outerRef!=null){var _=this._outerRef;if(I==="horizontal"||E==="horizontal")if(I==="rtl")switch(f1()){case"negative":_.scrollLeft=-S;break;case"positive-ascending":_.scrollLeft=S;break;default:var v=_.clientWidth,x=_.scrollWidth;_.scrollLeft=x-v-S;break}else _.scrollLeft=S;else _.scrollTop=S}this._callPropsCallbacks()},m.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&l1(this._resetIsScrollingTimeoutId)},m.render=function(){var C=this.props,I=C.children,E=C.className,y=C.direction,S=C.height,T=C.innerRef,_=C.innerElementType,v=C.innerTagName,x=C.itemCount,M=C.itemData,H=C.itemKey,A=H===void 0?Yb:H,j=C.layout,F=C.outerElementType,W=C.outerTagName,q=C.style,ne=C.useIsScrolling,be=C.width,Ie=this.state.isScrolling,Ae=y==="horizontal"||j==="horizontal",Le=Ae?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),re=w[0],pe=w[1],D=[];if(x>0)for(var X=re;X<=pe;X++)D.push(k.createElement(I,{data:M,key:A(X,M),index:X,isScrolling:ne?Ie:void 0,style:this._getItemStyle(X)}));var se=r(this.props,this._instanceProps);return k.createElement(F||W||"div",{className:E,onScroll:Le,ref:this._outerRefSetter,style:Sl({position:"relative",height:S,width:be,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},q)},k.createElement(_||v||"div",{children:D,ref:T,style:{height:Ae?"100%":se,pointerEvents:Ie?"none":void 0,width:Ae?se:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var C=this.props.itemCount;if(C>0){var I=this._getRangeToRender(),E=I[0],y=I[1],S=I[2],T=I[3];this._callOnItemsRendered(E,y,S,T)}}if(typeof this.props.onScroll=="function"){var _=this.state,v=_.scrollDirection,x=_.scrollOffset,M=_.scrollUpdateWasRequested;this._callOnScroll(v,x,M)}},m._getRangeToRender=function(){var C=this.props,I=C.itemCount,E=C.overscanCount,y=this.state,S=y.isScrolling,T=y.scrollDirection,_=y.scrollOffset;if(I===0)return[0,0,0,0];var v=u(this.props,_,this._instanceProps),x=s(this.props,v,_,this._instanceProps),M=!S||T==="backward"?Math.max(1,E):1,H=!S||T==="forward"?Math.max(1,E):1;return[Math.max(0,v-M),Math.max(0,Math.min(I-1,x+H)),v,x]},g}(k.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Kb=function(t,n){var r=t.children,i=t.direction,a=t.height,u=t.layout,s=t.innerTagName,c=t.outerTagName,l=t.width,f=n.instance;if(process.env.NODE_ENV!=="production"){(s!=null||c!=null)&&$u&&!$u.has(f)&&($u.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var h=i==="horizontal"||u==="horizontal";switch(i){case"horizontal":case"vertical":zu&&!zu.has(f)&&(zu.add(f),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(u){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+u+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(h&&typeof l!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(l===null?"null":typeof l)+'" was specified.'));if(!h&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},Jb=Xb({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,i,a,u){var s=t.direction,c=t.height,l=t.itemCount,f=t.itemSize,h=t.layout,g=t.width,m=s==="horizontal"||h==="horizontal",b=m?g:c,C=Math.max(0,l*f-b),I=Math.min(C,n*f),E=Math.max(0,n*f-b+f+u);switch(r==="smart"&&(i>=E-b&&i<=I+b?r="auto":r="center"),r){case"start":return I;case"end":return E;case"center":{var y=Math.round(E+(I-E)/2);return y<Math.ceil(b/2)?0:y>C+Math.floor(b/2)?C:y}case"auto":default:return i>=E&&i<=I?i:i<E?E:I}},getStartIndexForOffset:function(t,n){var r=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(r-1,Math.floor(n/i)))},getStopIndexForStartIndex:function(t,n,r){var i=t.direction,a=t.height,u=t.itemCount,s=t.itemSize,c=t.layout,l=t.width,f=i==="horizontal"||c==="horizontal",h=n*s,g=f?l:a,m=Math.ceil((g+r-h)/s);return Math.max(0,Math.min(u-1,n+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const Qb="_wrapper_1gk74_2",e8="_label_1gk74_9",t8="_top_1gk74_17",n8="_select_1gk74_23",r8="_borderFocused_1gk74_42",o8="_input_1gk74_49",i8="_icon_1gk74_59",a8="_rotate_1gk74_64",u8="_content_1gk74_68",s8="_options_1gk74_72",c8="_filteredOptions_1gk74_93",l8="_open_1gk74_97",d8="_option_1gk74_72",f8="_focused_1gk74_115",h8="_addon_1gk74_119",p8="_value_1gk74_130",m8="_postfix_1gk74_134",g8="_leftAddon_1gk74_138",Qt={wrapper:Qb,label:e8,top:t8,select:n8,borderFocused:r8,input:o8,icon:i8,rotate:a8,content:u8,options:s8,filteredOptions:c8,open:l8,option:d8,focused:f8,addon:h8,value:p8,postfix:m8,leftAddon:g8};function b8(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const _d=e=>{var j;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null);b8(E,()=>f(!1));function y(F){g(""),t(F),f(!1),b(null)}function S(F,W){return F?F.length>W+3?`${F.slice(0,W)}...`:F:""}function T(F){if(!l){(F.key==="Enter"||F.key==="ArrowDown")&&f(!0);return}const W=x;F.key==="ArrowDown"&&(F.preventDefault(),b(q=>q===null||q===W.length-1?0:q+1)),F.key==="ArrowUp"&&(F.preventDefault(),b(q=>q===null||q===0?W.length-1:q-1)),F.key==="Enter"&&m!==null&&(F.preventDefault(),y(W[m])),F.key==="Escape"&&f(!1)}const _=k.useRef(null),v=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:2}),[i]),x=k.useMemo(()=>C&&h.trim()!==""?v.search(h).map(F=>F.item):i,[h,i,C,v]),M=k.useMemo(()=>{const F=new Map;return c==null||c.forEach(W=>{F.set(W.value,W.addon)}),F},[c]),H=k.useMemo(()=>{if(!s)return new Map;const F=new Map;if(s.length===i.length)for(let W=0;W<i.length;W++)F.set(i[W],s[W]);return F},[i,s]),A=k.useCallback(({index:F,style:W})=>{const q=x[F];if(!q)return null;const ne=m===F,be=M.get(q),Ie=H.get(q);return d.jsxs("div",{className:ge(Qt.option,{[Qt.focused]:ne}),style:W,onClick:()=>y(q),children:[be&&d.jsx("div",{className:Qt.leftAddon,children:be}),d.jsx("span",{className:Qt.value,children:S(q,20)}),Ie&&d.jsx("span",{className:Qt.postfix,children:Ie})]},q)},[x,m,M,H]);return d.jsxs("div",{className:Qt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Qt.top,children:[d.jsx("label",{className:Qt.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:Qt.content,ref:E,children:[d.jsxs("div",{className:ge(Qt.select,{[Qt.borderFocused]:l}),onKeyDown:T,onClick:F=>{F.stopPropagation(),f(W=>!W),I(!1)},ref:_,tabIndex:0,children:[c&&d.jsx("div",{className:Qt.addon,children:M.get(r)}),d.jsx("div",{className:Qt.input,children:S(r,15)}),d.jsx("div",{className:ge(Qt.icon,{[Qt.rotate]:l}),onClick:F=>{F.stopPropagation(),f(W=>!W)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Qt.options,{[Qt.open]:l}),style:{top:((j=_.current)==null?void 0:j.clientHeight)+10},children:[i.length>6&&d.jsx(ur,{type:"text",value:h,placeholder:"Search...",onChange:F=>{g(F),I(!0)},isSearch:!0}),d.jsxs("div",{className:Qt.filteredOptions,children:[x.length===0&&d.jsx("div",{children:"No results found."}),x.length>0&&d.jsx(Jb,{height:200,itemCount:x.length,itemSize:36,width:"100%",itemKey:F=>x[F]||F,children:A})]})]})]})]})},C8="_wrapper_1yh21_2",I8="_label_1yh21_9",y8="_icon_1yh21_16",E8="_text_1yh21_28",S8="_content_1yh21_37",x8="_modal_1yh21_48",_8="_top_1yh21_56",T8="_title_1yh21_65",w8="_modalContent_1yh21_72",A8="_images_1yh21_81",k8="_add_1yh21_91",v8="_dragging_1yh21_111",L8="_description_1yh21_115",D8="_bottom_1yh21_125",N8="_cancel_1yh21_139",R8="_highlight_1yh21_144",P8="_accent_1yh21_149",O8="_image_1yh21_81",M8="_selected_1yh21_169",F8="_checkbox_1yh21_177",B8="_loading_1yh21_183",H8="_spinner_1yh21_197",Et={wrapper:C8,label:I8,icon:y8,text:E8,content:S8,modal:x8,top:_8,title:T8,modalContent:w8,images:A8,add:k8,dragging:v8,description:L8,bottom:D8,cancel:N8,highlight:R8,accent:P8,image:O8,selected:M8,checkbox:F8,loading:B8,spinner:H8};function Lp(e,t){return function(){return e.apply(t,arguments)}}const{toString:j8}=Object.prototype,{getPrototypeOf:Td}=Object,Ls=(e=>t=>{const n=j8.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ir=e=>(e=e.toLowerCase(),t=>Ls(t)===e),Ds=e=>t=>typeof t===e,{isArray:Li}=Array,Na=Ds("undefined");function U8(e){return e!==null&&!Na(e)&&e.constructor!==null&&!Na(e.constructor)&&Yn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dp=Ir("ArrayBuffer");function V8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dp(e.buffer),t}const z8=Ds("string"),Yn=Ds("function"),Np=Ds("number"),Ns=e=>e!==null&&typeof e=="object",$8=e=>e===!0||e===!1,qu=e=>{if(Ls(e)!=="object")return!1;const t=Td(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},q8=Ir("Date"),W8=Ir("File"),G8=Ir("Blob"),Z8=Ir("FileList"),Y8=e=>Ns(e)&&Yn(e.pipe),X8=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Yn(e.append)&&((t=Ls(e))==="formdata"||t==="object"&&Yn(e.toString)&&e.toString()==="[object FormData]"))},K8=Ir("URLSearchParams"),[J8,Q8,eC,tC]=["ReadableStream","Request","Response","Headers"].map(Ir),nC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Za(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Li(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),u=a.length;let s;for(r=0;r<u;r++)s=a[r],t.call(null,e[s],s,e)}}function Rp(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pp=e=>!Na(e)&&e!==Uo;function _l(){const{caseless:e}=Pp(this)&&this||{},t={},n=(r,i)=>{const a=e&&Rp(t,i)||i;qu(t[a])&&qu(r)?t[a]=_l(t[a],r):qu(r)?t[a]=_l({},r):Li(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Za(arguments[r],n);return t}const rC=(e,t,n,{allOwnKeys:r}={})=>(Za(t,(i,a)=>{n&&Yn(i)?e[a]=Lp(i,n):e[a]=i},{allOwnKeys:r}),e),oC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),iC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},aC=(e,t,n,r)=>{let i,a,u;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)u=i[a],(!r||r(u,e,t))&&!s[u]&&(t[u]=e[u],s[u]=!0);e=n!==!1&&Td(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},uC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},sC=e=>{if(!e)return null;if(Li(e))return e;let t=e.length;if(!Np(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},cC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Td(Uint8Array)),lC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},dC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},fC=Ir("HTMLFormElement"),hC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),h1=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),pC=Ir("RegExp"),Op=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Za(n,(i,a)=>{let u;(u=t(i,a,e))!==!1&&(r[a]=u||i)}),Object.defineProperties(e,r)},mC=e=>{Op(e,(t,n)=>{if(Yn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Yn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},gC=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Li(e)?r(e):r(String(e).split(t)),n},bC=()=>{},CC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function IC(e){return!!(e&&Yn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yC=e=>{const t=new Array(10),n=(r,i)=>{if(Ns(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=Li(r)?[]:{};return Za(r,(u,s)=>{const c=n(u,i+1);!Na(c)&&(a[s]=c)}),t[i]=void 0,a}}return r};return n(e,0)},EC=Ir("AsyncFunction"),SC=e=>e&&(Ns(e)||Yn(e))&&Yn(e.then)&&Yn(e.catch),Mp=((e,t)=>e?setImmediate:t?((n,r)=>(Uo.addEventListener("message",({source:i,data:a})=>{i===Uo&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Uo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yn(Uo.postMessage)),xC=typeof queueMicrotask<"u"?queueMicrotask.bind(Uo):typeof process<"u"&&process.nextTick||Mp,Y={isArray:Li,isArrayBuffer:Dp,isBuffer:U8,isFormData:X8,isArrayBufferView:V8,isString:z8,isNumber:Np,isBoolean:$8,isObject:Ns,isPlainObject:qu,isReadableStream:J8,isRequest:Q8,isResponse:eC,isHeaders:tC,isUndefined:Na,isDate:q8,isFile:W8,isBlob:G8,isRegExp:pC,isFunction:Yn,isStream:Y8,isURLSearchParams:K8,isTypedArray:cC,isFileList:Z8,forEach:Za,merge:_l,extend:rC,trim:nC,stripBOM:oC,inherits:iC,toFlatObject:aC,kindOf:Ls,kindOfTest:Ir,endsWith:uC,toArray:sC,forEachEntry:lC,matchAll:dC,isHTMLForm:fC,hasOwnProperty:h1,hasOwnProp:h1,reduceDescriptors:Op,freezeMethods:mC,toObjectSet:gC,toCamelCase:hC,noop:bC,toFiniteNumber:CC,findKey:Rp,global:Uo,isContextDefined:Pp,isSpecCompliantForm:IC,toJSONObject:yC,isAsyncFn:EC,isThenable:SC,setImmediate:Mp,asap:xC};function je(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Y.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const Fp=je.prototype,Bp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bp[e]={value:e}});Object.defineProperties(je,Bp);Object.defineProperty(Fp,"isAxiosError",{value:!0});je.from=(e,t,n,r,i,a)=>{const u=Object.create(Fp);return Y.toFlatObject(e,u,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),je.call(u,e.message,t,n,r,i),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const _C=null;function Tl(e){return Y.isPlainObject(e)||Y.isArray(e)}function Hp(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function p1(e,t,n){return e?e.concat(t).map(function(i,a){return i=Hp(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function TC(e){return Y.isArray(e)&&!e.some(Tl)}const wC=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)});function Rs(e,t,n){if(!Y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,I){return!Y.isUndefined(I[C])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,u=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(Y.isDate(b))return b.toISOString();if(!c&&Y.isBlob(b))throw new je("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(b)||Y.isTypedArray(b)?c&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function f(b,C,I){let E=b;if(b&&!I&&typeof b=="object"){if(Y.endsWith(C,"{}"))C=r?C:C.slice(0,-2),b=JSON.stringify(b);else if(Y.isArray(b)&&TC(b)||(Y.isFileList(b)||Y.endsWith(C,"[]"))&&(E=Y.toArray(b)))return C=Hp(C),E.forEach(function(S,T){!(Y.isUndefined(S)||S===null)&&t.append(u===!0?p1([C],T,a):u===null?C:C+"[]",l(S))}),!1}return Tl(b)?!0:(t.append(p1(I,C,a),l(b)),!1)}const h=[],g=Object.assign(wC,{defaultVisitor:f,convertValue:l,isVisitable:Tl});function m(b,C){if(!Y.isUndefined(b)){if(h.indexOf(b)!==-1)throw Error("Circular reference detected in "+C.join("."));h.push(b),Y.forEach(b,function(E,y){(!(Y.isUndefined(E)||E===null)&&i.call(t,E,Y.isString(y)?y.trim():y,C,g))===!0&&m(E,C?C.concat(y):[y])}),h.pop()}}if(!Y.isObject(e))throw new TypeError("data must be an object");return m(e),t}function m1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function wd(e,t){this._pairs=[],e&&Rs(e,this,t)}const jp=wd.prototype;jp.append=function(t,n){this._pairs.push([t,n])};jp.toString=function(t){const n=t?function(r){return t.call(this,r,m1)}:m1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function AC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Up(e,t,n){if(!t)return e;const r=n&&n.encode||AC;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=Y.isURLSearchParams(t)?t.toString():new wd(t,n).toString(r),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class g1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Vp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kC=typeof URLSearchParams<"u"?URLSearchParams:wd,vC=typeof FormData<"u"?FormData:null,LC=typeof Blob<"u"?Blob:null,DC={isBrowser:!0,classes:{URLSearchParams:kC,FormData:vC,Blob:LC},protocols:["http","https","file","blob","url","data"]},Ad=typeof window<"u"&&typeof document<"u",wl=typeof navigator=="object"&&navigator||void 0,NC=Ad&&(!wl||["ReactNative","NativeScript","NS"].indexOf(wl.product)<0),RC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PC=Ad&&window.location.href||"http://localhost",OC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ad,hasStandardBrowserEnv:NC,hasStandardBrowserWebWorkerEnv:RC,navigator:wl,origin:PC},Symbol.toStringTag,{value:"Module"})),En={...OC,...DC};function MC(e,t){return Rs(e,new En.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return En.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function FC(e){return Y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function BC(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function zp(e){function t(n,r,i,a){let u=n[a++];if(u==="__proto__")return!0;const s=Number.isFinite(+u),c=a>=n.length;return u=!u&&Y.isArray(i)?i.length:u,c?(Y.hasOwnProp(i,u)?i[u]=[i[u],r]:i[u]=r,!s):((!i[u]||!Y.isObject(i[u]))&&(i[u]=[]),t(n,r,i[u],a)&&Y.isArray(i[u])&&(i[u]=BC(i[u])),!s)}if(Y.isFormData(e)&&Y.isFunction(e.entries)){const n={};return Y.forEachEntry(e,(r,i)=>{t(FC(r),i,n,0)}),n}return null}function HC(e,t,n){if(Y.isString(e))try{return(t||JSON.parse)(e),Y.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ya={transitional:Vp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return i?JSON.stringify(zp(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return MC(t,this.formSerializer).toString();if((s=Y.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rs(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),HC(t)):t}],transformResponse:[function(t){const n=this.transitional||Ya.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(r&&!this.responseType||i)){const u=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(u)throw s.name==="SyntaxError"?je.from(s,je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:En.classes.FormData,Blob:En.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{Ya.headers[e]={}});const jC=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),UC=e=>{const t={};let n,r,i;return e&&e.split(`
65
65
  `).forEach(function(u){i=u.indexOf(":"),n=u.substring(0,i).trim().toLowerCase(),r=u.substring(i+1).trim(),!(!n||t[n]&&jC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},b1=Symbol("internals");function Ji(e){return e&&String(e).trim().toLowerCase()}function Wu(e){return e===!1||e==null?e:Y.isArray(e)?e.map(Wu):String(e)}function VC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const zC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bc(e,t,n,r,i){if(Y.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Y.isString(t)){if(Y.isString(r))return t.indexOf(r)!==-1;if(Y.isRegExp(r))return r.test(t)}}function $C(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qC(e,t){const n=Y.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,u){return this[r].call(this,t,i,a,u)},configurable:!0})})}let Bn=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(s,c,l){const f=Ji(c);if(!f)throw new Error("header name must be a non-empty string");const h=Y.findKey(i,f);(!h||i[h]===void 0||l===!0||l===void 0&&i[h]!==!1)&&(i[h||c]=Wu(s))}const u=(s,c)=>Y.forEach(s,(l,f)=>a(l,f,c));if(Y.isPlainObject(t)||t instanceof this.constructor)u(t,n);else if(Y.isString(t)&&(t=t.trim())&&!zC(t))u(UC(t),n);else if(Y.isHeaders(t))for(const[s,c]of t.entries())a(c,s,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Ji(t),t){const r=Y.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return VC(i);if(Y.isFunction(n))return n.call(this,i,r);if(Y.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ji(t),t){const r=Y.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||bc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(u){if(u=Ji(u),u){const s=Y.findKey(r,u);s&&(!n||bc(r,r[s],s,n))&&(delete r[s],i=!0)}}return Y.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||bc(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return Y.forEach(this,(i,a)=>{const u=Y.findKey(r,a);if(u){n[u]=Wu(i),delete n[a];return}const s=t?$C(a):String(a).trim();s!==a&&delete n[a],n[s]=Wu(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Y.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Y.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
66
66
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[b1]=this[b1]={accessors:{}}).accessors,i=this.prototype;function a(u){const s=Ji(u);r[s]||(qC(i,u),r[s]=!0)}return Y.isArray(t)?t.forEach(a):a(t),this}};Bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Bn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Y.freezeMethods(Bn);function Cc(e,t){const n=this||Ya,r=t||n,i=Bn.from(r.headers);let a=r.data;return Y.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function $p(e){return!!(e&&e.__CANCEL__)}function Di(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}Y.inherits(Di,je,{__CANCEL__:!0});function qp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function WC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function GC(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,u;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),f=r[a];u||(u=l),n[i]=c,r[i]=l;let h=a,g=0;for(;h!==i;)g+=n[h++],h=h%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-u<t)return;const m=f&&l-f;return m?Math.round(g*1e3/m):void 0}}function ZC(e,t){let n=0,r=1e3/t,i,a;const u=(l,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e.apply(null,l)};return[(...l)=>{const f=Date.now(),h=f-n;h>=r?u(l,f):(i=l,a||(a=setTimeout(()=>{a=null,u(i)},r-h)))},()=>i&&u(i)]}const ss=(e,t,n=3)=>{let r=0;const i=GC(50,250);return ZC(a=>{const u=a.loaded,s=a.lengthComputable?a.total:void 0,c=u-r,l=i(c),f=u<=s;r=u;const h={loaded:u,total:s,progress:s?u/s:void 0,bytes:c,rate:l||void 0,estimated:l&&s&&f?(s-u)/l:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(h)},n)},C1=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},I1=e=>(...t)=>Y.asap(()=>e(...t)),YC=En.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,En.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(En.origin),En.navigator&&/(msie|trident)/i.test(En.navigator.userAgent)):()=>!0,XC=En.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const u=[e+"="+encodeURIComponent(t)];Y.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&u.push("path="+r),Y.isString(i)&&u.push("domain="+i),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function KC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function JC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wp(e,t,n){let r=!KC(t);return e&&r||n==!1?JC(e,t):t}const y1=e=>e instanceof Bn?{...e}:e;function Go(e,t){t=t||{};const n={};function r(l,f,h,g){return Y.isPlainObject(l)&&Y.isPlainObject(f)?Y.merge.call({caseless:g},l,f):Y.isPlainObject(f)?Y.merge({},f):Y.isArray(f)?f.slice():f}function i(l,f,h,g){if(Y.isUndefined(f)){if(!Y.isUndefined(l))return r(void 0,l,h,g)}else return r(l,f,h,g)}function a(l,f){if(!Y.isUndefined(f))return r(void 0,f)}function u(l,f){if(Y.isUndefined(f)){if(!Y.isUndefined(l))return r(void 0,l)}else return r(void 0,f)}function s(l,f,h){if(h in t)return r(l,f);if(h in e)return r(void 0,l)}const c={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:s,headers:(l,f,h)=>i(y1(l),y1(f),h,!0)};return Y.forEach(Object.keys(Object.assign({},e,t)),function(f){const h=c[f]||i,g=h(e[f],t[f],f);Y.isUndefined(g)&&h!==s||(n[f]=g)}),n}const Gp=e=>{const t=Go({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:u,auth:s}=t;t.headers=u=Bn.from(u),t.url=Up(Wp(t.baseURL,t.url),e.params,e.paramsSerializer),s&&u.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(Y.isFormData(n)){if(En.hasStandardBrowserEnv||En.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((c=u.getContentType())!==!1){const[l,...f]=c?c.split(";").map(h=>h.trim()).filter(Boolean):[];u.setContentType([l||"multipart/form-data",...f].join("; "))}}if(En.hasStandardBrowserEnv&&(r&&Y.isFunction(r)&&(r=r(t)),r||r!==!1&&YC(t.url))){const l=i&&a&&XC.read(a);l&&u.set(i,l)}return t},QC=typeof XMLHttpRequest<"u",eI=QC&&function(e){return new Promise(function(n,r){const i=Gp(e);let a=i.data;const u=Bn.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:l}=i,f,h,g,m,b;function C(){m&&m(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let I=new XMLHttpRequest;I.open(i.method.toUpperCase(),i.url,!0),I.timeout=i.timeout;function E(){if(!I)return;const S=Bn.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),_={data:!s||s==="text"||s==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:S,config:e,request:I};qp(function(x){n(x),C()},function(x){r(x),C()},_),I=null}"onloadend"in I?I.onloadend=E:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(E)},I.onabort=function(){I&&(r(new je("Request aborted",je.ECONNABORTED,e,I)),I=null)},I.onerror=function(){r(new je("Network Error",je.ERR_NETWORK,e,I)),I=null},I.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const _=i.transitional||Vp;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new je(T,_.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,I)),I=null},a===void 0&&u.setContentType(null),"setRequestHeader"in I&&Y.forEach(u.toJSON(),function(T,_){I.setRequestHeader(_,T)}),Y.isUndefined(i.withCredentials)||(I.withCredentials=!!i.withCredentials),s&&s!=="json"&&(I.responseType=i.responseType),l&&([g,b]=ss(l,!0),I.addEventListener("progress",g)),c&&I.upload&&([h,m]=ss(c),I.upload.addEventListener("progress",h),I.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(f=S=>{I&&(r(!S||S.type?new Di(null,e,I):S),I.abort(),I=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=WC(i.url);if(y&&En.protocols.indexOf(y)===-1){r(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}I.send(a||null)})},tI=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const a=function(l){if(!i){i=!0,s();const f=l instanceof Error?l:this.reason;r.abort(f instanceof je?f:new Di(f instanceof Error?f.message:f))}};let u=t&&setTimeout(()=>{u=null,a(new je(`timeout ${t} of ms exceeded`,je.ETIMEDOUT))},t);const s=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(a):l.removeEventListener("abort",a)}),e=null)};e.forEach(l=>l.addEventListener("abort",a));const{signal:c}=r;return c.unsubscribe=()=>Y.asap(s),c}},nI=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},rI=async function*(e,t){for await(const n of oI(e))yield*nI(n,t)},oI=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},E1=(e,t,n,r)=>{const i=rI(e,t);let a=0,u,s=c=>{u||(u=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:l,value:f}=await i.next();if(l){s(),c.close();return}let h=f.byteLength;if(n){let g=a+=h;n(g)}c.enqueue(new Uint8Array(f))}catch(l){throw s(l),l}},cancel(c){return s(c),i.return()}},{highWaterMark:2})},Ps=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Zp=Ps&&typeof ReadableStream=="function",iI=Ps&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Yp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},aI=Zp&&Yp(()=>{let e=!1;const t=new Request(En.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),S1=64*1024,Al=Zp&&Yp(()=>Y.isReadableStream(new Response("").body)),cs={stream:Al&&(e=>e.body)};Ps&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!cs[t]&&(cs[t]=Y.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new je(`Response type '${t}' is not supported`,je.ERR_NOT_SUPPORT,r)})})})(new Response);const uI=async e=>{if(e==null)return 0;if(Y.isBlob(e))return e.size;if(Y.isSpecCompliantForm(e))return(await new Request(En.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(e)||Y.isArrayBuffer(e))return e.byteLength;if(Y.isURLSearchParams(e)&&(e=e+""),Y.isString(e))return(await iI(e)).byteLength},sI=async(e,t)=>{const n=Y.toFiniteNumber(e.getContentLength());return n??uI(t)},cI=Ps&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:u,onDownloadProgress:s,onUploadProgress:c,responseType:l,headers:f,withCredentials:h="same-origin",fetchOptions:g}=Gp(e);l=l?(l+"").toLowerCase():"text";let m=tI([i,a&&a.toAbortSignal()],u),b;const C=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let I;try{if(c&&aI&&n!=="get"&&n!=="head"&&(I=await sI(f,r))!==0){let _=new Request(t,{method:"POST",body:r,duplex:"half"}),v;if(Y.isFormData(r)&&(v=_.headers.get("content-type"))&&f.setContentType(v),_.body){const[x,M]=C1(I,ss(I1(c)));r=E1(_.body,S1,x,M)}}Y.isString(h)||(h=h?"include":"omit");const E="credentials"in Request.prototype;b=new Request(t,{...g,signal:m,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:E?h:void 0});let y=await fetch(b);const S=Al&&(l==="stream"||l==="response");if(Al&&(s||S&&C)){const _={};["status","statusText","headers"].forEach(H=>{_[H]=y[H]});const v=Y.toFiniteNumber(y.headers.get("content-length")),[x,M]=s&&C1(v,ss(I1(s),!0))||[];y=new Response(E1(y.body,S1,x,()=>{M&&M(),C&&C()}),_)}l=l||"text";let T=await cs[Y.findKey(cs,l)||"text"](y,e);return!S&&C&&C(),await new Promise((_,v)=>{qp(_,v,{data:T,headers:Bn.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:b})})}catch(E){throw C&&C(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new je("Network Error",je.ERR_NETWORK,e,b),{cause:E.cause||E}):je.from(E,E&&E.code,e,b)}}),kl={http:_C,xhr:eI,fetch:cI};Y.forEach(kl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const x1=e=>`- ${e}`,lI=e=>Y.isFunction(e)||e===null||e===!1,Xp={getAdapter:e=>{e=Y.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let u;if(r=n,!lI(n)&&(r=kl[(u=String(n)).toLowerCase()],r===void 0))throw new je(`Unknown adapter '${u}'`);if(r)break;i[u||"#"+a]=r}if(!r){const a=Object.entries(i).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let u=t?a.length>1?`since :
67
67
  `+a.map(x1).join(`
68
68
  `):" "+x1(a[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return r},adapters:kl};function Ic(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Di(null,e)}function _1(e){return Ic(e),e.headers=Bn.from(e.headers),e.data=Cc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xp.getAdapter(e.adapter||Ya.adapter)(e).then(function(r){return Ic(e),r.data=Cc.call(e,e.transformResponse,r),r.headers=Bn.from(r.headers),r},function(r){return $p(r)||(Ic(e),r&&r.response&&(r.response.data=Cc.call(e,e.transformResponse,r.response),r.response.headers=Bn.from(r.response.headers))),Promise.reject(r)})}const Kp="1.8.1",Os={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Os[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const T1={};Os.transitional=function(t,n,r){function i(a,u){return"[Axios v"+Kp+"] Transitional option '"+a+"'"+u+(r?". "+r:"")}return(a,u,s)=>{if(t===!1)throw new je(i(u," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!T1[u]&&(T1[u]=!0,console.warn(i(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,u,s):!0}};Os.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function dI(e,t,n){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],u=t[a];if(u){const s=e[a],c=s===void 0||u(s,a,e);if(c!==!0)throw new je("option "+a+" must be "+c,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+a,je.ERR_BAD_OPTION)}}const Gu={assertOptions:dI,validators:Os},_r=Gu.validators;let zo=class{constructor(t){this.defaults=t,this.interceptors={request:new g1,response:new g1}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
69
- `+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Go(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Gu.assertOptions(r,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean)},!1),i!=null&&(Y.isFunction(i)?n.paramsSerializer={serialize:i}:Gu.assertOptions(i,{encode:_r.function,serialize:_r.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gu.assertOptions(n,{baseUrl:_r.spelling("baseURL"),withXsrfToken:_r.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],b=>{delete a[b]}),n.headers=Bn.concat(u,a);const s=[];let c=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(n)===!1||(c=c&&C.synchronous,s.unshift(C.fulfilled,C.rejected))});const l=[];this.interceptors.response.forEach(function(C){l.push(C.fulfilled,C.rejected)});let f,h=0,g;if(!c){const b=[_1.bind(this),void 0];for(b.unshift.apply(b,s),b.push.apply(b,l),g=b.length,f=Promise.resolve(n);h<g;)f=f.then(b[h++],b[h++]);return f}g=s.length;let m=n;for(h=0;h<g;){const b=s[h++],C=s[h++];try{m=b(m)}catch(I){C.call(this,I);break}}try{f=_1.call(this,m)}catch(b){return Promise.reject(b)}for(h=0,g=l.length;h<g;)f=f.then(l[h++],l[h++]);return f}getUri(t){t=Go(this.defaults,t);const n=Wp(t.baseURL,t.url,t.allowAbsoluteUrls);return Up(n,t.params,t.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(t){zo.prototype[t]=function(n,r){return this.request(Go(r||{},{method:t,url:n,data:(r||{}).data}))}});Y.forEach(["post","put","patch"],function(t){function n(r){return function(a,u,s){return this.request(Go(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:u}))}}zo.prototype[t]=n(),zo.prototype[t+"Form"]=n(!0)});let fI=class Jp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const u=new Promise(s=>{r.subscribe(s),a=s}).then(i);return u.cancel=function(){r.unsubscribe(a)},u},t(function(a,u,s){r.reason||(r.reason=new Di(a,u,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jp(function(i){t=i}),cancel:t}}};function hI(e){return function(n){return e.apply(null,n)}}function pI(e){return Y.isObject(e)&&e.isAxiosError===!0}const vl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vl).forEach(([e,t])=>{vl[t]=e});function Qp(e){const t=new zo(e),n=Lp(zo.prototype.request,t);return Y.extend(n,zo.prototype,t,{allOwnKeys:!0}),Y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Qp(Go(e,i))},n}const ft=Qp(Ya);ft.Axios=zo;ft.CanceledError=Di;ft.CancelToken=fI;ft.isCancel=$p;ft.VERSION=Kp;ft.toFormData=Rs;ft.AxiosError=je;ft.Cancel=ft.CanceledError;ft.all=function(t){return Promise.all(t)};ft.spread=hI;ft.isAxiosError=pI;ft.mergeConfig=Go;ft.AxiosHeaders=Bn;ft.formToJSON=e=>zp(Y.isHTMLForm(e)?new FormData(e):e);ft.getAdapter=Xp.getAdapter;ft.HttpStatusCode=vl;ft.default=ft;const{Axios:p$,AxiosError:mI,CanceledError:m$,isCancel:g$,CancelToken:b$,VERSION:C$,all:I$,Cancel:y$,isAxiosError:E$,spread:S$,toFormData:x$,AxiosHeaders:_$,HttpStatusCode:T$,formToJSON:w$,getAdapter:A$,mergeConfig:k$}=ft,Iu="https://localhost:5043",st=async e=>{var g,m;const{url:t,withToken:n,method:r,body:i,contentType:a,typeToken:u="seller"}=e,s=n?localStorage.getItem("sellerAccessToken"):null,c=n?localStorage.getItem("token"):null,l=u==="seller"?s:c,f=localStorage.getItem("dv"),h={"Content-Type":a||"application/json"};n&&l&&(h.Authorization=`Bearer ${l}`);try{let b=null;switch(r){case"get":b=await ft.get(f?Iu:t,{headers:h});break;case"post":b=await ft.post(f?Iu:t,i,{headers:h});break;case"put":b=await ft.put(f?Iu:t,i,{headers:h});break;case"delete":b=await ft.delete(f?Iu:t,{headers:h});break}return{data:b==null?void 0:b.data,status:b==null?void 0:b.status,headers:b==null?void 0:b.headers}}catch(b){const C=b,I=(g=C.response)==null?void 0:g.data;let E="Something Went Wrong";I&&(E=I.errors[0]);const y=(m=C.response)==null?void 0:m.status;if(y===401){const{logoutCustomer:S}=await Promise.resolve().then(()=>HE);await S(),window.location.reload()}throw new mI(E,(y==null?void 0:y.toString())||"400")}},gI="https://g-api.billgang.com",bI="https://www.googleapis.com/webfonts/v1/webfonts",CI="https://stores-api.billgang.com",II="https://sl-api.billgang.com",yI="https://customers-api.billgang.com",EI="https://cashapp-api.billgang.com",SI={api:gI,googleFonts:bI,storeApi:CI,slApi:II,customersApi:yI,cashappApi:EI};var Vt=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Subscriptions="Subscriptions",e.Tickets="Tickets",e))(Vt||{}),la=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Tickets="Tickets",e))(la||{});const xI=[{caption:"Share link",description:"Send the link to your friends in all convenient ways"},{caption:"Purchase",description:"They buy a product from our store"},{caption:"Percentages",description:"You get rewards"}],sr=ut(e=>({route:Vt.Home,setRoute:t=>e(()=>({route:t})),dashInfo:null,setDashInfo:t=>e(()=>({dashInfo:t})),balance:null,setBalance:t=>e(()=>({balance:t})),otpRequest:{requested:!1,email:""},setOtpRequest:t=>e(()=>({otpRequest:t})),balanceSettings:null,setBalanceSettings:t=>e(()=>({balanceSettings:t})),gatewaysDetail:null,setGatewaysDetail:t=>e(()=>({gatewaysDetail:t}))})),Ao=ut(e=>({token:localStorage.getItem("token")||null,setToken:t=>e(()=>({token:t})),shopDomain:"",setShopDomain:t=>e(()=>({shopDomain:t})),shopId:"",setShopId:t=>e(()=>({shopId:t})),shopLogo:null,setShopLogo:t=>e(()=>({shopLogo:t})),shopPassword:localStorage.getItem("shopPassword")||"",setShopPassword:t=>e(()=>({shopPassword:t})),shopGeneral:null,setShopGeneral:t=>e(()=>({shopGeneral:t})),shopTerms:null,setShopTerms:t=>e(()=>({shopTerms:t})),shopPrivacyPolicy:null,setShopPrivacyPolicy:t=>e(()=>({shopPrivacyPolicy:t})),shopRefundPolicy:null,setShopRefundPolicy:t=>e(()=>({shopRefundPolicy:t}))}));class da extends Error{}da.prototype.name="InvalidTokenError";function _I(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function TI(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return _I(t)}catch{return atob(t)}}function e2(e,t){if(typeof e!="string")throw new da("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new da(`Invalid token specified: missing part #${n+1}`);let i;try{i=TI(r)}catch(a){throw new da(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new da(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}const or=(e,t="auto")=>e==="not found"?"empty":`https://imagedelivery.net/${e}/w=${t}`,Dn=e=>{const t=new Intl.NumberFormat("en-US",{style:"currency",currency:e.currency||"USD"});let n=e.amount;return e.quantity&&(n=n*e.quantity),t.format(n)},wI=(e,t)=>{if(e===0)throw new Error("Old value cannot be zero, as it would result in division by zero.");return(t-e)/Math.abs(e)*100},AI=e=>{if(Math.abs(e-365)<=15){const a=Math.round(e/365);return a===1?"year":`${a} years`}else if(Math.abs(e-30)<=5){const a=Math.round(e/30);return a===1?"month":`${a} months`}else return`${e} days`},kI=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),Ra=e=>{const t=new Date(e),n={day:"2-digit",month:"2-digit",year:"numeric"},r={hour:"2-digit",minute:"2-digit"},i=t.toLocaleString("en-US",n),a=t.toLocaleString("en-US",r);return[i,a]},Ll=e=>{const t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return t}},w1=(e,t)=>{(t===null||typeof t!="object")&&window.localStorage.setItem(e,String(t));const n=JSON.stringify(t);window.localStorage.setItem(e,n)},yc="f10120ab-7ebb-4785-b240-7428edaa3c4e",Qi="https://t-api.billgang.com",ea="https://internal-t-api.antistock.io",fa="I",vI=10*1e3,LI=15*1e3,DI=15*60*1e3,xo=()=>{var t;const e=Ll(fa);return((t=e==null?void 0:e.s)==null?void 0:t.i)||null},NI=(e,t="production",n)=>{const{pathname:r}=Kr(),i=k.useRef(),a=k.useRef(document.visibilityState);k.useEffect(()=>{if(!e)return;const u=()=>Date.now(),s=async()=>(await st({url:`${n?ea:Qi}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,c=async b=>(await st({url:`${n?ea:Qi}/${e}/t/p/${t==="development"?yc:b}/s`,method:"post",withToken:!1})).data.data.id,l=async(b,C,I,E)=>{const y=t==="development"?yc:b;try{return(await st({url:`${n?ea:Qi}/${e}/t/p/${y}/s/${C}/e`,method:"post",withToken:!1,body:{url:I,oldEventId:E},contentType:"application/json"})).data.data.id}catch{return C=await c(b),(await st({url:`${n?ea:Qi}/${e}/t/p/${y}/s/${C}/e`,method:"post",withToken:!1,body:{url:I},contentType:"application/json"})).data.data.id}},f=async(b,C,I)=>{await st({url:`${n?ea:Qi}/${e}/t/p/${t==="development"?yc:b}/s/${C}/e/${I}/h`,method:"post",withToken:!1});const y=Ll(fa);y&&(y.s.u=u().toString(),y.lu=u().toString(),w1(fa,y))},h=(b,C,I)=>{i.current&&clearInterval(i.current),i.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await f(b,C,I)}catch{await g()}},vI)},g=async()=>{var E,y,S,T;const b=`${window.location.hostname}${r}`,C=Ll(fa),I=u();try{let _=C==null?void 0:C.p;_||(_=await s());let v=(E=C==null?void 0:C.s)==null?void 0:E.i;const x=Number(((y=C==null?void 0:C.s)==null?void 0:y.u)||((S=C==null?void 0:C.s)==null?void 0:S.c)),M=!v||I-x>DI;(!v||M)&&(v=await c(_));const H=Number((C==null?void 0:C.lu)||0),A=I-H>LI,j=await l(_,v,b,C!=null&&C.l&&!A?C.l:void 0),F={p:_,s:{i:v,c:((T=C==null?void 0:C.s)==null?void 0:T.c)??I.toString(),u:I.toString()},l:j,lu:I.toString()};w1(fa,F),h(_,v,j)}catch(_){console.error("[TrackingAnalytics] error",_)}};g();const m=()=>{document.visibilityState==="visible"&&a.current!=="visible"&&g(),a.current=document.visibilityState};return document.addEventListener("visibilitychange",m),()=>{i.current&&clearInterval(i.current),document.removeEventListener("visibilitychange",m)}},[r,e,t])},RI={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:xo()};let hi=null;const A1=localStorage.getItem("token");if(A1)try{hi=e2(JSON.parse(A1)||"")}catch{hi=null}const Gr=ut(e=>({cart:{...RI,customerEmail:hi?hi.email:""},products:[],coupon:null,pending:!1,applyCouponPending:!1,customerEmail:hi?hi.email:"",recaptcha:"",priceAdjusment:null,setCart:t=>e(n=>({cart:typeof t=="function"?t(n.cart):t})),setProducts:t=>e(n=>({products:typeof t=="function"?t(n.products):t})),setRecaptcha:t=>e({recaptcha:t}),setCoupon:t=>e({coupon:t}),setPending:t=>e({pending:t}),setApplyCouponPending:t=>e({applyCouponPending:t}),setCustomerEmail:t=>e({customerEmail:t}),setPriceAdjustment:t=>e({priceAdjusment:t})})),Xo=ut(e=>({page:1,setPage:t=>e(()=>({page:t})),resetPage:()=>e(()=>({page:1}))})),t2=ut(e=>({discordInfo:null,setDiscordInfo:t=>e(()=>({discordInfo:t}))})),PI=ut(e=>({subscription:null,setSubscription:t=>e({subscription:t})})),Lt=ut(e=>({apiUrls:SI,setApiUrls:t=>e(()=>({apiUrls:t}))})),OI=async()=>{const e=localStorage.getItem("shopId")||void 0,n=`${Lt.getState().apiUrls.api}/v1/dash/shops/${e}/images`;return await st({url:n,withToken:!0,method:"get"})},MI=async e=>{const t=localStorage.getItem("shopId")||void 0,r=`${Lt.getState().apiUrls.api}/v1/dash/shops/${t}/images`;return await st({url:r,withToken:!0,method:"post",body:e,contentType:"mutlipart/form-data"})},FI="_customCheckbox_w9x8g_1",BI="_checkboxBox_w9x8g_7",HI="_checked_w9x8g_23",jI="_icon_w9x8g_31",yu={customCheckbox:FI,checkboxBox:BI,checked:HI,icon:jI},n2=e=>{const{value:t,onChange:n}=e,[r,i]=k.useState(t),a=()=>{i(!r),n(!r)};return k.useEffect(()=>{i(t)},[t]),d.jsxs("label",{className:yu.customCheckbox,onClick:u=>u.stopPropagation(),children:[d.jsx("input",{type:"checkbox",checked:r,onChange:a,style:{display:"none"}}),d.jsx("span",{className:ge(yu.checkboxBox,{[yu.checked]:r})}),r&&d.jsx("div",{className:yu.icon,children:d.jsx(ie,{name:"Check",width:14,height:14,fill:"#ff3f19"})})]})},UI="_button_1gxoe_1",VI="_primary_1gxoe_14",zI="_secondary_1gxoe_22",$I="_tertiary_1gxoe_30",qI="_content_1gxoe_38",WI="_withoutHover_1gxoe_45",ii={button:UI,primary:VI,secondary:zI,tertiary:$I,content:qI,withoutHover:WI},Ei=e=>{const{children:t,onClick:n,style:r,className:i,disabled:a=!1,size:u="m",type:s="Primary",withoutHover:c=!1}=e;return d.jsx("button",{className:ge(ii.button,i,{[ii.primary]:s==="Primary",[ii.secondary]:s==="Secondary",[ii.tertiary]:s==="Tertiary",[ii.withoutHover]:c}),onClick:n,style:{...r,fontSize:u==="m"?14:u==="s"?12:16},disabled:a,children:s==="Tertiary"?d.jsxs("div",{className:ii.content,children:[t,d.jsx(ie,{name:"ArrowRight",fill:"#757575",width:20,height:20})]}):d.jsx(d.Fragment,{children:t})})},GI="_tip_q9ixw_1",ZI="_text_q9ixw_12",YI="_warning_q9ixw_18",XI="_error_q9ixw_23",KI="_success_q9ixw_28",JI="_hide_q9ixw_33",ai={tip:GI,text:ZI,warning:YI,error:XI,success:KI,hide:JI},k1={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},r2=e=>{const{type:t,message:n,style:r,padding:i,id:a}=e,[u,s]=k.useState(!1);return d.jsx("div",{style:{padding:i},children:d.jsxs("div",{className:ge(ai.tip,{[ai.warning]:t==="warning",[ai.error]:t==="error",[ai.success]:t==="success",[ai.hide]:u}),style:r,children:[d.jsx("div",{children:d.jsx(ie,{name:"Info",fill:k1[t],width:20,height:20})}),d.jsx("div",{className:ai.text,id:a,children:n}),d.jsx("div",{children:d.jsx(ie,{name:"X",fill:k1[t],width:20,height:20,hoverable:!0,onClick:()=>s(!0)})})]})})},Xa=e=>{const{label:t,onChange:n,activeImage:r,tip:i}=e,{setOpenModal:a,setOnChange:u,setTip:s}=Sd();return d.jsx(d.Fragment,{children:d.jsxs("div",{className:Et.wrapper,onClick:c=>c.stopPropagation(),children:[t&&d.jsx("h4",{className:Et.label,children:t}),d.jsxs("div",{onClick:()=>{u(n),a(!0),i&&s(i)},className:Et.content,children:[d.jsx("div",{className:Et.icon,children:r?d.jsx("img",{src:`https://imagedelivery.net/${r}/w=156,h=156`,alt:"image",style:{width:"20px",height:"20px",objectFit:"contain"}}):d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsx("span",{className:Et.text,children:r?"Change Image":"Select Image"}),r&&d.jsx(ie,{name:"X",width:20,height:18,fill:"#ff3f19",hoverable:!0,onClick:c=>{c.stopPropagation(),n([])}})]})]})})},QI=()=>{const{setOpenModal:e,onChange:t,tip:n,setTip:r}=Sd(),{setIsOpen:i}=eo(),[a,u]=k.useState(!1),s=()=>{var y;(y=c.current)==null||y.click()},c=k.useRef(null),[l,f]=k.useState([]),[h,g]=k.useState(!1),m=async y=>{var x;const S=((x=y.target.files)==null?void 0:x[0])||null;if(!S)return;const T=new FormData;T.append("file",S),g(!0);const{data:_}=await MI(T),v=[...l];v.unshift({..._.data,cfId:_.data.path}),f([...v]),g(!1)},b=y=>{y.preventDefault(),u(!1);const S=y.dataTransfer.files;if(S&&S.length>0){const _={target:{files:[S[0]]}};m(_)}},C=()=>{i(!1),r(""),setTimeout(()=>{e(!1),i(!0)},300)},I=y=>{const S=l.map(T=>({...T,isSelected:T.id===y.id?!T.isSelected:!1}));f([...S])};function E(){const y=l.find(S=>S.isSelected);y&&(t==null||t([y.cfId]))}return k.useEffect(()=>{(async()=>{const{data:S}=await OI(),T=S.data.map(_=>({..._,isSelected:!1}));f(T)})()},[]),d.jsxs("div",{onClick:y=>y.stopPropagation(),className:Et.modal,children:[d.jsxs("div",{className:Et.top,children:[d.jsx("h4",{className:Et.title,children:"Select Image"}),d.jsx(ie,{name:"X",width:20,height:20,hoverable:!0,onClick:C})]}),n&&d.jsx(r2,{type:"warning",message:n,padding:5}),d.jsx("div",{className:Et.modalContent,children:d.jsxs("div",{className:Et.images,children:[d.jsxs("div",{className:Et.input,onDragOver:y=>y.preventDefault(),onDragEnter:()=>u(!0),onDragLeave:()=>u(!1),onDrop:b,children:[d.jsxs("div",{onClick:s,className:ge(Et.add,{[Et.dragging]:a}),children:[d.jsx("div",{className:Et.icon,children:d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsxs("div",{className:Et.description,children:[d.jsx("span",{children:"Drag and drop images here, or "}),d.jsx("span",{className:Et.highlight,children:"click to browse"}),d.jsx("br",{}),d.jsx("span",{className:Et.accent,children:"up to 10MB."})]})]}),d.jsx("input",{type:"file",ref:c,style:{display:"none"},onChange:m,multiple:!1,accept:"image/*"})]}),h&&d.jsx(v1,{}),l.map(y=>d.jsx(e7,{image:y,updateImage:I},y.id)),l.length===0&&[...new Array(5)].map((y,S)=>d.jsx(v1,{},S))]})}),d.jsxs("div",{className:Et.bottom,children:[d.jsx(Ei,{className:Et.cancel,onClick:C,type:"Secondary",children:"Cancel"}),d.jsx(Ei,{onClick:()=>{e(!1),E()},children:"Select"})]})]})},e7=e=>{const{image:t,updateImage:n}=e;return d.jsxs("div",{className:ge(Et.image,{[Et.selected]:t.isSelected}),onClick:()=>{n({...t,isSelected:!t.isSelected})},children:[d.jsx("div",{className:Et.checkbox,children:d.jsx(n2,{value:t.isSelected,onChange:r=>{n({...t,isSelected:r})}})}),d.jsx("img",{src:`https://imagedelivery.net/${t.cfId}/w=156,h=156`,alt:"image",style:{objectFit:"contain",width:"156px",height:"100px"}})]},t.id)},v1=()=>d.jsx("div",{className:Et.loading,children:d.jsx("div",{className:Et.spinner})}),t7="_title_1uycf_1",n7="_subtitle_1uycf_5",r7="_text_1uycf_13",o7="_top_1uycf_20",i7="_itemsBlock_1uycf_29",a7="_textSettings_1uycf_35",ui={title:t7,subtitle:n7,text:r7,top:o7,itemsBlock:i7,textSettings:a7},u7="_typeTexts_1gfda_1",s7="_block_1gfda_8",c7="_active_1gfda_25",Ec={typeTexts:u7,block:s7,active:c7},l7=["bold","italic","underline","strike-through"],kd=e=>{const{typesText:t,setTypesText:n}=e;function r(i){switch(i){case"bold":return"TextB";case"italic":return"TextItalic";case"strike-through":return"TextStrikethrough";case"underline":return"TextUnderline"}}return d.jsx("div",{className:Ec.typeTexts,children:l7.map(i=>d.jsx("div",{className:ge(Ec.block,{[Ec.active]:t.includes(i)}),onClick:()=>{const a=[...t];if(a.includes(i)){const u=a.filter(s=>s!==i);n(u)}else a.push(i),n(a)},children:d.jsx(ie,{name:r(i),fill:t.includes(i)?"#252525":"#757575",width:20,height:20})},String(i)))})},d7="_wrapper_34cvp_1",f7="_label_34cvp_10",h7="_textarea_34cvp_18",p7="_length_34cvp_46",m7="_full_34cvp_54",ta={wrapper:d7,label:f7,textarea:h7,length:p7,full:m7},vd=e=>{const{onChange:t,label:n,value:r,maxLength:i,placeholder:a="Type something..."}=e,[u,s]=k.useState(r.length);return d.jsxs("div",{className:ta.wrapper,children:[n&&d.jsx("label",{className:ta.label,htmlFor:n,children:n}),d.jsx("textarea",{id:n,value:r,onChange:c=>{s(c.target.value.length),t(c.target.value)},placeholder:a,className:ta.textarea,maxLength:i}),i&&d.jsxs("div",{className:ge(ta.length,{[ta.full]:u===i}),children:[u,"/",i]})]})},Ld=e=>{const{typeFont:t,setTypeFont:n}=e,[r,i]=k.useState([]),a=()=>{const u=document.documentElement,s=getComputedStyle(u),c=["h1","h2","h3","h4","h5","h6","h7"].map(f=>s.getPropertyValue(`--font-heading-${f}-size`).trim()),l=["lg","md","sm"].map(f=>s.getPropertyValue(`--font-body-${f}-size`).trim());return c.push(...l),c};return k.useEffect(()=>{const u=a();u.every(s=>s)&&i(u)},[]),d.jsx(So,{label:"Type Text",options:Object.values(gu),onChange:u=>n(Object.keys(gu).find(s=>gu[s]===u)),value:gu[t],postfixs:r})},g7="_alignTexts_xs0ug_1",b7="_block_xs0ug_10",C7="_active_xs0ug_28",Sc={alignTexts:g7,block:b7,active:C7},I7=["left","center","right"],o2=e=>{const{alignText:t,setAlignText:n}=e;function r(i){switch(i){case"left":return"TextAlignLeft";case"center":return"TextAlignCenter";case"right":return"TextAlignRight"}}return d.jsx("div",{className:Sc.alignTexts,children:I7.map(i=>d.jsx("div",{className:ge(Sc.block,{[Sc.active]:t===i}),onClick:()=>{n(i)},children:d.jsx(ie,{name:r(i),fill:t===i?"#252525":"#757575",width:20,height:20})},String(i)))})},Dd=e=>{const{typesText:t,isActiveText:n,setIsActiveText:r,text:i,setText:a,setTypesText:u,title:s,subtitle:c="Items",typeFont:l,setTypeFont:f,alignText:h,setAlignText:g}=e;return d.jsxs("div",{className:ui.text,children:[(s||n!==void 0)&&d.jsxs("div",{className:ui.top,children:[s&&d.jsx("h3",{className:ui.title,children:s}),n!==void 0&&r&&d.jsx(Or,{current:n,onChange:m=>r(m)})]}),(n===void 0||n)&&d.jsxs("div",{className:ui.itemsBlock,children:[d.jsx("h5",{className:ui.subtitle,children:c}),d.jsx(vd,{onChange:m=>a(m),value:i}),d.jsxs("div",{className:ui.textSettings,children:[d.jsx(kd,{typesText:t,setTypesText:u}),d.jsx(o2,{alignText:h,setAlignText:g})]}),d.jsx(Ld,{typeFont:l,setTypeFont:f})]})]})},y7="_title_msd5s_1",E7="_subtitle_msd5s_5",S7="_productsBlock_msd5s_14",x7="_top_msd5s_26",_7="_products_msd5s_14",T7="_product_msd5s_14",w7="_button_msd5s_80",A7="_disabled_msd5s_91",k7="_buttons_msd5s_118",v7="_modal_msd5s_125",L7="_link_msd5s_146",D7="_modalOptions_msd5s_152",N7="_addButton_msd5s_165",R7="_deleteButton_msd5s_180",P7="_closeIcon_msd5s_192",Mt={title:y7,subtitle:E7,productsBlock:S7,top:x7,products:_7,product:T7,button:w7,disabled:A7,buttons:k7,modal:v7,link:L7,modalOptions:D7,addButton:N7,deleteButton:R7,closeIcon:P7},O7=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,modalOptions:a,setIsOpenModal:u}=e;vi(t,()=>{r(null),u(!1)});function s(c,l){return c.length>l?`${c.slice(0,l)}...`:c}return d.jsxs("div",{ref:t,className:Mt.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Mt.top,children:[d.jsx("h3",{className:Mt.title,children:s(n.name["en-US"],20)}),d.jsx("div",{className:Mt.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{r(null),u(!1)}})})]}),d.jsx("div",{className:Mt.modalOptions,children:a.map(c=>{if(c.type==="image")return d.jsx(Xa,{label:"Put up an attractive image",activeImage:n[c.field],onChange:l=>{const f={...n,[c.field]:l};r(f)}},String(c.field));if(c.type==="text")return d.jsx(Dd,{isActiveText:!0,typesText:n[c.field.type],setTypesText:l=>{const f={...n,[c.field.type]:l};r(f)},alignText:n[c.field.alignText],setAlignText:l=>{const f={...n,[c.field.alignText]:l};r(f)},text:n[c.field.text]["en-US"]||"",setText:l=>{const f={...n,[c.field.text]:{"en-US":l}};r(f)},typeFont:n[c.field.typeFont],setTypeFont:l=>{const f={...n,[c.field.typeFont]:l};r(f)},subtitle:c.label});if(c.type==="input")return d.jsx(ar,{onChange:l=>{const f={...n,[c.field]:l};r(f)},value:n[c.field]||"",label:c.label,placeholder:c.placeholder});if(c.type==="inputSwitch")return d.jsxs("div",{className:Mt.link,children:[d.jsx(ar,{onChange:l=>{const f={...n,[c.field.text]:l};r(f)},value:n[c.field.text]||"",label:c.inputLabel,placeholder:c.placeholder}),d.jsx(Or,{current:!!n[c.field.switch]||!1,label:c.switchLabel,onChange:l=>{const f={...n,[c.field.switch]:l};r(f)}})]});if(c.type==="list")return d.jsx(R2,{items:n[c.field]||[],setItems:l=>{const f={...n,[c.field]:l};r(f)},itemsType:"select",draggable:c.draggable||!1,itemsOptions:c.itemsOptions,deletable:c.deletable||!1,editable:c.editable||!1,subtitle:c.label,addableOptions:c.addableOptions,modalOptions:c.modalOptions});if(c.type==="select")return d.jsx(So,{options:c.itemsOptions,onChange:l=>{const f={...n,[c.field]:l};r(f)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:l=>{if(c.switcher==="isActive"){const f={...n,[c.switcher]:l};r(f)}}}:void 0});if(c.type==="selectTypeFont")return d.jsx(Ld,{typeFont:n[c.field],setTypeFont:l=>{const f={...n,[c.field]:l};r(f)}});if(c.type==="selectInfiniteList")return d.jsx(_d,{options:c.itemsOptions,onChange:l=>{const f={...n,[c.field]:l};r(f)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:l=>{if(c.switcher==="isActive"){const f={...n,[c.switcher]:l};r(f)}}}:void 0})})})]})}),M7="_other_1a1tk_1",F7="_subtitle_1a1tk_7",B7="_items_1a1tk_14",xc={other:M7,subtitle:F7,items:B7},i2=e=>{const{items:t,otherTitle:n,tagsTitle:r}=e;return d.jsxs("div",{className:xc.other,children:[d.jsx("h5",{className:xc.subtitle,children:n||r}),d.jsx("div",{className:xc.items,children:t.map((i,a)=>d.jsx(Or,{current:i.isItem,onChange:u=>i.setIsItem(u),label:i.label,hasBackground:!0,paddingless:!1},a))})]})};function H7(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return k.useMemo(()=>r=>{t.forEach(i=>i(r))},t)}const Ms=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ni(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Nd(e){return"nodeType"in e}function jn(e){var t,n;return e?Ni(e)?e:Nd(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Rd(e){const{Document:t}=jn(e);return e instanceof t}function Ka(e){return Ni(e)?!1:e instanceof jn(e).HTMLElement}function a2(e){return e instanceof jn(e).SVGElement}function Ri(e){return e?Ni(e)?e.document:Nd(e)?Rd(e)?e:Ka(e)||a2(e)?e.ownerDocument:document:document:document}const Pr=Ms?k.useLayoutEffect:k.useEffect;function Pd(e){const t=k.useRef(e);return Pr(()=>{t.current=e}),k.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function j7(){const e=k.useRef(null),t=k.useCallback((r,i)=>{e.current=setInterval(r,i)},[]),n=k.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Pa(e,t){t===void 0&&(t=[e]);const n=k.useRef(e);return Pr(()=>{n.current!==e&&(n.current=e)},t),n}function Ja(e,t){const n=k.useRef();return k.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function ls(e){const t=Pd(e),n=k.useRef(null),r=k.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,r]}function Dl(e){const t=k.useRef();return k.useEffect(()=>{t.current=e},[e]),t.current}let _c={};function Qa(e,t){return k.useMemo(()=>{if(t)return t;const n=_c[e]==null?0:_c[e]+1;return _c[e]=n,e+"-"+n},[e,t])}function u2(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((a,u)=>{const s=Object.entries(u);for(const[c,l]of s){const f=a[c];f!=null&&(a[c]=f+e*l)}return a},{...t})}}const mi=u2(1),ds=u2(-1);function U7(e){return"clientX"in e&&"clientY"in e}function Od(e){if(!e)return!1;const{KeyboardEvent:t}=jn(e.target);return t&&e instanceof t}function V7(e){if(!e)return!1;const{TouchEvent:t}=jn(e.target);return t&&e instanceof t}function Nl(e){if(V7(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return U7(e)?{x:e.clientX,y:e.clientY}:null}const Si=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Si.Translate.toString(e),Si.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),L1="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function z7(e){return e.matches(L1)?e:e.querySelector(L1)}const $7={display:"none"};function q7(e){let{id:t,value:n}=e;return k.createElement("div",{id:t,style:$7},n)}function W7(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return k.createElement("div",{id:t,style:i,role:"status","aria-live":r,"aria-atomic":!0},n)}function G7(){const[e,t]=k.useState("");return{announce:k.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const s2=k.createContext(null);function Z7(e){const t=k.useContext(s2);k.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Y7(){const[e]=k.useState(()=>new Set),t=k.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[k.useCallback(r=>{let{type:i,event:a}=r;e.forEach(u=>{var s;return(s=u[i])==null?void 0:s.call(u,a)})},[e]),t]}const X7={draggable:`
69
+ `+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Go(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Gu.assertOptions(r,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean)},!1),i!=null&&(Y.isFunction(i)?n.paramsSerializer={serialize:i}:Gu.assertOptions(i,{encode:_r.function,serialize:_r.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gu.assertOptions(n,{baseUrl:_r.spelling("baseURL"),withXsrfToken:_r.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],b=>{delete a[b]}),n.headers=Bn.concat(u,a);const s=[];let c=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(n)===!1||(c=c&&C.synchronous,s.unshift(C.fulfilled,C.rejected))});const l=[];this.interceptors.response.forEach(function(C){l.push(C.fulfilled,C.rejected)});let f,h=0,g;if(!c){const b=[_1.bind(this),void 0];for(b.unshift.apply(b,s),b.push.apply(b,l),g=b.length,f=Promise.resolve(n);h<g;)f=f.then(b[h++],b[h++]);return f}g=s.length;let m=n;for(h=0;h<g;){const b=s[h++],C=s[h++];try{m=b(m)}catch(I){C.call(this,I);break}}try{f=_1.call(this,m)}catch(b){return Promise.reject(b)}for(h=0,g=l.length;h<g;)f=f.then(l[h++],l[h++]);return f}getUri(t){t=Go(this.defaults,t);const n=Wp(t.baseURL,t.url,t.allowAbsoluteUrls);return Up(n,t.params,t.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(t){zo.prototype[t]=function(n,r){return this.request(Go(r||{},{method:t,url:n,data:(r||{}).data}))}});Y.forEach(["post","put","patch"],function(t){function n(r){return function(a,u,s){return this.request(Go(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:u}))}}zo.prototype[t]=n(),zo.prototype[t+"Form"]=n(!0)});let fI=class Jp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const u=new Promise(s=>{r.subscribe(s),a=s}).then(i);return u.cancel=function(){r.unsubscribe(a)},u},t(function(a,u,s){r.reason||(r.reason=new Di(a,u,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jp(function(i){t=i}),cancel:t}}};function hI(e){return function(n){return e.apply(null,n)}}function pI(e){return Y.isObject(e)&&e.isAxiosError===!0}const vl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vl).forEach(([e,t])=>{vl[t]=e});function Qp(e){const t=new zo(e),n=Lp(zo.prototype.request,t);return Y.extend(n,zo.prototype,t,{allOwnKeys:!0}),Y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Qp(Go(e,i))},n}const ft=Qp(Ya);ft.Axios=zo;ft.CanceledError=Di;ft.CancelToken=fI;ft.isCancel=$p;ft.VERSION=Kp;ft.toFormData=Rs;ft.AxiosError=je;ft.Cancel=ft.CanceledError;ft.all=function(t){return Promise.all(t)};ft.spread=hI;ft.isAxiosError=pI;ft.mergeConfig=Go;ft.AxiosHeaders=Bn;ft.formToJSON=e=>zp(Y.isHTMLForm(e)?new FormData(e):e);ft.getAdapter=Xp.getAdapter;ft.HttpStatusCode=vl;ft.default=ft;const{Axios:p$,AxiosError:mI,CanceledError:m$,isCancel:g$,CancelToken:b$,VERSION:C$,all:I$,Cancel:y$,isAxiosError:E$,spread:S$,toFormData:x$,AxiosHeaders:_$,HttpStatusCode:T$,formToJSON:w$,getAdapter:A$,mergeConfig:k$}=ft,Iu="https://localhost:5043",st=async e=>{var g,m;const{url:t,withToken:n,method:r,body:i,contentType:a,typeToken:u="seller"}=e,s=n?localStorage.getItem("sellerAccessToken"):null,c=n?localStorage.getItem("token"):null,l=u==="seller"?s:c,f=localStorage.getItem("dv"),h={"Content-Type":a||"application/json"};n&&l&&(h.Authorization=`Bearer ${l}`);try{let b=null;switch(r){case"get":b=await ft.get(f?Iu:t,{headers:h});break;case"post":b=await ft.post(f?Iu:t,i,{headers:h});break;case"put":b=await ft.put(f?Iu:t,i,{headers:h});break;case"delete":b=await ft.delete(f?Iu:t,{headers:h});break}return{data:b==null?void 0:b.data,status:b==null?void 0:b.status,headers:b==null?void 0:b.headers}}catch(b){const C=b,I=(g=C.response)==null?void 0:g.data;let E="Something Went Wrong";I&&(E=I.errors[0]);const y=(m=C.response)==null?void 0:m.status;if(y===401){const{logoutCustomer:S}=await Promise.resolve().then(()=>HE);await S(),window.location.reload()}throw new mI(E,(y==null?void 0:y.toString())||"400")}},gI="https://g-api.billgang.com",bI="https://www.googleapis.com/webfonts/v1/webfonts",CI="https://stores-api.billgang.com",II="https://sl-api.billgang.com",yI="https://customers-api.billgang.com",EI="https://cashapp-api.billgang.com",SI={api:gI,googleFonts:bI,storeApi:CI,slApi:II,customersApi:yI,cashappApi:EI};var Vt=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Subscriptions="Subscriptions",e.Tickets="Tickets",e))(Vt||{}),la=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Tickets="Tickets",e))(la||{});const xI=[{caption:"Share link",description:"Send the link to your friends in all convenient ways"},{caption:"Purchase",description:"They buy a product from our store"},{caption:"Percentages",description:"You get rewards"}],Jn=ut(e=>({route:Vt.Home,setRoute:t=>e(()=>({route:t})),dashInfo:null,setDashInfo:t=>e(()=>({dashInfo:t})),balance:null,setBalance:t=>e(()=>({balance:t})),otpRequest:{requested:!1,email:""},setOtpRequest:t=>e(()=>({otpRequest:t})),balanceSettings:null,setBalanceSettings:t=>e(()=>({balanceSettings:t})),gatewaysDetail:null,setGatewaysDetail:t=>e(()=>({gatewaysDetail:t}))})),Ao=ut(e=>({token:localStorage.getItem("token")||null,setToken:t=>e(()=>({token:t})),shopDomain:"",setShopDomain:t=>e(()=>({shopDomain:t})),shopId:"",setShopId:t=>e(()=>({shopId:t})),shopLogo:null,setShopLogo:t=>e(()=>({shopLogo:t})),shopPassword:localStorage.getItem("shopPassword")||"",setShopPassword:t=>e(()=>({shopPassword:t})),shopGeneral:null,setShopGeneral:t=>e(()=>({shopGeneral:t})),shopTerms:null,setShopTerms:t=>e(()=>({shopTerms:t})),shopPrivacyPolicy:null,setShopPrivacyPolicy:t=>e(()=>({shopPrivacyPolicy:t})),shopRefundPolicy:null,setShopRefundPolicy:t=>e(()=>({shopRefundPolicy:t}))}));class da extends Error{}da.prototype.name="InvalidTokenError";function _I(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function TI(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return _I(t)}catch{return atob(t)}}function e2(e,t){if(typeof e!="string")throw new da("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new da(`Invalid token specified: missing part #${n+1}`);let i;try{i=TI(r)}catch(a){throw new da(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new da(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}const ir=(e,t="auto")=>e==="not found"?"empty":`https://imagedelivery.net/${e}/w=${t}`,Dn=e=>{const t=new Intl.NumberFormat("en-US",{style:"currency",currency:e.currency||"USD"});let n=e.amount;return e.quantity&&(n=n*e.quantity),t.format(n)},wI=(e,t)=>{if(e===0)throw new Error("Old value cannot be zero, as it would result in division by zero.");return(t-e)/Math.abs(e)*100},AI=e=>{if(Math.abs(e-365)<=15){const a=Math.round(e/365);return a===1?"year":`${a} years`}else if(Math.abs(e-30)<=5){const a=Math.round(e/30);return a===1?"month":`${a} months`}else return`${e} days`},kI=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),Ra=e=>{const t=new Date(e),n={day:"2-digit",month:"2-digit",year:"numeric"},r={hour:"2-digit",minute:"2-digit"},i=t.toLocaleString("en-US",n),a=t.toLocaleString("en-US",r);return[i,a]},Ll=e=>{const t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return t}},w1=(e,t)=>{(t===null||typeof t!="object")&&window.localStorage.setItem(e,String(t));const n=JSON.stringify(t);window.localStorage.setItem(e,n)},yc="f10120ab-7ebb-4785-b240-7428edaa3c4e",Qi="https://t-api.billgang.com",ea="https://internal-t-api.antistock.io",fa="I",vI=10*1e3,LI=15*1e3,DI=15*60*1e3,xo=()=>{var t;const e=Ll(fa);return((t=e==null?void 0:e.s)==null?void 0:t.i)||null},NI=(e,t="production",n)=>{const{pathname:r}=Kr(),i=k.useRef(),a=k.useRef(document.visibilityState);k.useEffect(()=>{if(!e)return;const u=()=>Date.now(),s=async()=>(await st({url:`${n?ea:Qi}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,c=async b=>(await st({url:`${n?ea:Qi}/${e}/t/p/${t==="development"?yc:b}/s`,method:"post",withToken:!1})).data.data.id,l=async(b,C,I,E)=>{const y=t==="development"?yc:b;try{return(await st({url:`${n?ea:Qi}/${e}/t/p/${y}/s/${C}/e`,method:"post",withToken:!1,body:{url:I,oldEventId:E},contentType:"application/json"})).data.data.id}catch{return C=await c(b),(await st({url:`${n?ea:Qi}/${e}/t/p/${y}/s/${C}/e`,method:"post",withToken:!1,body:{url:I},contentType:"application/json"})).data.data.id}},f=async(b,C,I)=>{await st({url:`${n?ea:Qi}/${e}/t/p/${t==="development"?yc:b}/s/${C}/e/${I}/h`,method:"post",withToken:!1});const y=Ll(fa);y&&(y.s.u=u().toString(),y.lu=u().toString(),w1(fa,y))},h=(b,C,I)=>{i.current&&clearInterval(i.current),i.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await f(b,C,I)}catch{await g()}},vI)},g=async()=>{var E,y,S,T;const b=`${window.location.hostname}${r}`,C=Ll(fa),I=u();try{let _=C==null?void 0:C.p;_||(_=await s());let v=(E=C==null?void 0:C.s)==null?void 0:E.i;const x=Number(((y=C==null?void 0:C.s)==null?void 0:y.u)||((S=C==null?void 0:C.s)==null?void 0:S.c)),M=!v||I-x>DI;(!v||M)&&(v=await c(_));const H=Number((C==null?void 0:C.lu)||0),A=I-H>LI,j=await l(_,v,b,C!=null&&C.l&&!A?C.l:void 0),F={p:_,s:{i:v,c:((T=C==null?void 0:C.s)==null?void 0:T.c)??I.toString(),u:I.toString()},l:j,lu:I.toString()};w1(fa,F),h(_,v,j)}catch(_){console.error("[TrackingAnalytics] error",_)}};g();const m=()=>{document.visibilityState==="visible"&&a.current!=="visible"&&g(),a.current=document.visibilityState};return document.addEventListener("visibilitychange",m),()=>{i.current&&clearInterval(i.current),document.removeEventListener("visibilitychange",m)}},[r,e,t])},RI={customerEmail:"",recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:xo()};let hi=null;const A1=localStorage.getItem("token");if(A1)try{hi=e2(JSON.parse(A1)||"")}catch{hi=null}const Gr=ut(e=>({cart:{...RI,customerEmail:hi?hi.email:""},products:[],coupon:null,pending:!1,applyCouponPending:!1,customerEmail:hi?hi.email:"",recaptcha:"",priceAdjusment:null,setCart:t=>e(n=>({cart:typeof t=="function"?t(n.cart):t})),setProducts:t=>e(n=>({products:typeof t=="function"?t(n.products):t})),setRecaptcha:t=>e({recaptcha:t}),setCoupon:t=>e({coupon:t}),setPending:t=>e({pending:t}),setApplyCouponPending:t=>e({applyCouponPending:t}),setCustomerEmail:t=>e({customerEmail:t}),setPriceAdjustment:t=>e({priceAdjusment:t})})),Xo=ut(e=>({page:1,setPage:t=>e(()=>({page:t})),resetPage:()=>e(()=>({page:1}))})),t2=ut(e=>({discordInfo:null,setDiscordInfo:t=>e(()=>({discordInfo:t}))})),PI=ut(e=>({subscription:null,setSubscription:t=>e({subscription:t})})),Lt=ut(e=>({apiUrls:SI,setApiUrls:t=>e(()=>({apiUrls:t}))})),OI=async()=>{const e=localStorage.getItem("shopId")||void 0,n=`${Lt.getState().apiUrls.api}/v1/dash/shops/${e}/images`;return await st({url:n,withToken:!0,method:"get"})},MI=async e=>{const t=localStorage.getItem("shopId")||void 0,r=`${Lt.getState().apiUrls.api}/v1/dash/shops/${t}/images`;return await st({url:r,withToken:!0,method:"post",body:e,contentType:"mutlipart/form-data"})},FI="_customCheckbox_w9x8g_1",BI="_checkboxBox_w9x8g_7",HI="_checked_w9x8g_23",jI="_icon_w9x8g_31",yu={customCheckbox:FI,checkboxBox:BI,checked:HI,icon:jI},n2=e=>{const{value:t,onChange:n}=e,[r,i]=k.useState(t),a=()=>{i(!r),n(!r)};return k.useEffect(()=>{i(t)},[t]),d.jsxs("label",{className:yu.customCheckbox,onClick:u=>u.stopPropagation(),children:[d.jsx("input",{type:"checkbox",checked:r,onChange:a,style:{display:"none"}}),d.jsx("span",{className:ge(yu.checkboxBox,{[yu.checked]:r})}),r&&d.jsx("div",{className:yu.icon,children:d.jsx(ie,{name:"Check",width:14,height:14,fill:"#ff3f19"})})]})},UI="_button_1gxoe_1",VI="_primary_1gxoe_14",zI="_secondary_1gxoe_22",$I="_tertiary_1gxoe_30",qI="_content_1gxoe_38",WI="_withoutHover_1gxoe_45",ii={button:UI,primary:VI,secondary:zI,tertiary:$I,content:qI,withoutHover:WI},Ei=e=>{const{children:t,onClick:n,style:r,className:i,disabled:a=!1,size:u="m",type:s="Primary",withoutHover:c=!1}=e;return d.jsx("button",{className:ge(ii.button,i,{[ii.primary]:s==="Primary",[ii.secondary]:s==="Secondary",[ii.tertiary]:s==="Tertiary",[ii.withoutHover]:c}),onClick:n,style:{...r,fontSize:u==="m"?14:u==="s"?12:16},disabled:a,children:s==="Tertiary"?d.jsxs("div",{className:ii.content,children:[t,d.jsx(ie,{name:"ArrowRight",fill:"#757575",width:20,height:20})]}):d.jsx(d.Fragment,{children:t})})},GI="_tip_q9ixw_1",ZI="_text_q9ixw_12",YI="_warning_q9ixw_18",XI="_error_q9ixw_23",KI="_success_q9ixw_28",JI="_hide_q9ixw_33",ai={tip:GI,text:ZI,warning:YI,error:XI,success:KI,hide:JI},k1={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},r2=e=>{const{type:t,message:n,style:r,padding:i,id:a}=e,[u,s]=k.useState(!1);return d.jsx("div",{style:{padding:i},children:d.jsxs("div",{className:ge(ai.tip,{[ai.warning]:t==="warning",[ai.error]:t==="error",[ai.success]:t==="success",[ai.hide]:u}),style:r,children:[d.jsx("div",{children:d.jsx(ie,{name:"Info",fill:k1[t],width:20,height:20})}),d.jsx("div",{className:ai.text,id:a,children:n}),d.jsx("div",{children:d.jsx(ie,{name:"X",fill:k1[t],width:20,height:20,hoverable:!0,onClick:()=>s(!0)})})]})})},Xa=e=>{const{label:t,onChange:n,activeImage:r,tip:i}=e,{setOpenModal:a,setOnChange:u,setTip:s}=Sd();return d.jsx(d.Fragment,{children:d.jsxs("div",{className:Et.wrapper,onClick:c=>c.stopPropagation(),children:[t&&d.jsx("h4",{className:Et.label,children:t}),d.jsxs("div",{onClick:()=>{u(n),a(!0),i&&s(i)},className:Et.content,children:[d.jsx("div",{className:Et.icon,children:r?d.jsx("img",{src:`https://imagedelivery.net/${r}/w=156,h=156`,alt:"image",style:{width:"20px",height:"20px",objectFit:"contain"}}):d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsx("span",{className:Et.text,children:r?"Change Image":"Select Image"}),r&&d.jsx(ie,{name:"X",width:20,height:18,fill:"#ff3f19",hoverable:!0,onClick:c=>{c.stopPropagation(),n([])}})]})]})})},QI=()=>{const{setOpenModal:e,onChange:t,tip:n,setTip:r}=Sd(),{setIsOpen:i}=eo(),[a,u]=k.useState(!1),s=()=>{var y;(y=c.current)==null||y.click()},c=k.useRef(null),[l,f]=k.useState([]),[h,g]=k.useState(!1),m=async y=>{var x;const S=((x=y.target.files)==null?void 0:x[0])||null;if(!S)return;const T=new FormData;T.append("file",S),g(!0);const{data:_}=await MI(T),v=[...l];v.unshift({..._.data,cfId:_.data.path}),f([...v]),g(!1)},b=y=>{y.preventDefault(),u(!1);const S=y.dataTransfer.files;if(S&&S.length>0){const _={target:{files:[S[0]]}};m(_)}},C=()=>{i(!1),r(""),setTimeout(()=>{e(!1),i(!0)},300)},I=y=>{const S=l.map(T=>({...T,isSelected:T.id===y.id?!T.isSelected:!1}));f([...S])};function E(){const y=l.find(S=>S.isSelected);y&&(t==null||t([y.cfId]))}return k.useEffect(()=>{(async()=>{const{data:S}=await OI(),T=S.data.map(_=>({..._,isSelected:!1}));f(T)})()},[]),d.jsxs("div",{onClick:y=>y.stopPropagation(),className:Et.modal,children:[d.jsxs("div",{className:Et.top,children:[d.jsx("h4",{className:Et.title,children:"Select Image"}),d.jsx(ie,{name:"X",width:20,height:20,hoverable:!0,onClick:C})]}),n&&d.jsx(r2,{type:"warning",message:n,padding:5}),d.jsx("div",{className:Et.modalContent,children:d.jsxs("div",{className:Et.images,children:[d.jsxs("div",{className:Et.input,onDragOver:y=>y.preventDefault(),onDragEnter:()=>u(!0),onDragLeave:()=>u(!1),onDrop:b,children:[d.jsxs("div",{onClick:s,className:ge(Et.add,{[Et.dragging]:a}),children:[d.jsx("div",{className:Et.icon,children:d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsxs("div",{className:Et.description,children:[d.jsx("span",{children:"Drag and drop images here, or "}),d.jsx("span",{className:Et.highlight,children:"click to browse"}),d.jsx("br",{}),d.jsx("span",{className:Et.accent,children:"up to 10MB."})]})]}),d.jsx("input",{type:"file",ref:c,style:{display:"none"},onChange:m,multiple:!1,accept:"image/*"})]}),h&&d.jsx(v1,{}),l.map(y=>d.jsx(e7,{image:y,updateImage:I},y.id)),l.length===0&&[...new Array(5)].map((y,S)=>d.jsx(v1,{},S))]})}),d.jsxs("div",{className:Et.bottom,children:[d.jsx(Ei,{className:Et.cancel,onClick:C,type:"Secondary",children:"Cancel"}),d.jsx(Ei,{onClick:()=>{e(!1),E()},children:"Select"})]})]})},e7=e=>{const{image:t,updateImage:n}=e;return d.jsxs("div",{className:ge(Et.image,{[Et.selected]:t.isSelected}),onClick:()=>{n({...t,isSelected:!t.isSelected})},children:[d.jsx("div",{className:Et.checkbox,children:d.jsx(n2,{value:t.isSelected,onChange:r=>{n({...t,isSelected:r})}})}),d.jsx("img",{src:`https://imagedelivery.net/${t.cfId}/w=156,h=156`,alt:"image",style:{objectFit:"contain",width:"156px",height:"100px"}})]},t.id)},v1=()=>d.jsx("div",{className:Et.loading,children:d.jsx("div",{className:Et.spinner})}),t7="_title_1uycf_1",n7="_subtitle_1uycf_5",r7="_text_1uycf_13",o7="_top_1uycf_20",i7="_itemsBlock_1uycf_29",a7="_textSettings_1uycf_35",ui={title:t7,subtitle:n7,text:r7,top:o7,itemsBlock:i7,textSettings:a7},u7="_typeTexts_1gfda_1",s7="_block_1gfda_8",c7="_active_1gfda_25",Ec={typeTexts:u7,block:s7,active:c7},l7=["bold","italic","underline","strike-through"],kd=e=>{const{typesText:t,setTypesText:n}=e;function r(i){switch(i){case"bold":return"TextB";case"italic":return"TextItalic";case"strike-through":return"TextStrikethrough";case"underline":return"TextUnderline"}}return d.jsx("div",{className:Ec.typeTexts,children:l7.map(i=>d.jsx("div",{className:ge(Ec.block,{[Ec.active]:t.includes(i)}),onClick:()=>{const a=[...t];if(a.includes(i)){const u=a.filter(s=>s!==i);n(u)}else a.push(i),n(a)},children:d.jsx(ie,{name:r(i),fill:t.includes(i)?"#252525":"#757575",width:20,height:20})},String(i)))})},d7="_wrapper_34cvp_1",f7="_label_34cvp_10",h7="_textarea_34cvp_18",p7="_length_34cvp_46",m7="_full_34cvp_54",ta={wrapper:d7,label:f7,textarea:h7,length:p7,full:m7},vd=e=>{const{onChange:t,label:n,value:r,maxLength:i,placeholder:a="Type something..."}=e,[u,s]=k.useState(r.length);return d.jsxs("div",{className:ta.wrapper,children:[n&&d.jsx("label",{className:ta.label,htmlFor:n,children:n}),d.jsx("textarea",{id:n,value:r,onChange:c=>{s(c.target.value.length),t(c.target.value)},placeholder:a,className:ta.textarea,maxLength:i}),i&&d.jsxs("div",{className:ge(ta.length,{[ta.full]:u===i}),children:[u,"/",i]})]})},Ld=e=>{const{typeFont:t,setTypeFont:n}=e,[r,i]=k.useState([]),a=()=>{const u=document.documentElement,s=getComputedStyle(u),c=["h1","h2","h3","h4","h5","h6","h7"].map(f=>s.getPropertyValue(`--font-heading-${f}-size`).trim()),l=["lg","md","sm"].map(f=>s.getPropertyValue(`--font-body-${f}-size`).trim());return c.push(...l),c};return k.useEffect(()=>{const u=a();u.every(s=>s)&&i(u)},[]),d.jsx(So,{label:"Type Text",options:Object.values(gu),onChange:u=>n(Object.keys(gu).find(s=>gu[s]===u)),value:gu[t],postfixs:r})},g7="_alignTexts_xs0ug_1",b7="_block_xs0ug_10",C7="_active_xs0ug_28",Sc={alignTexts:g7,block:b7,active:C7},I7=["left","center","right"],o2=e=>{const{alignText:t,setAlignText:n}=e;function r(i){switch(i){case"left":return"TextAlignLeft";case"center":return"TextAlignCenter";case"right":return"TextAlignRight"}}return d.jsx("div",{className:Sc.alignTexts,children:I7.map(i=>d.jsx("div",{className:ge(Sc.block,{[Sc.active]:t===i}),onClick:()=>{n(i)},children:d.jsx(ie,{name:r(i),fill:t===i?"#252525":"#757575",width:20,height:20})},String(i)))})},Dd=e=>{const{typesText:t,isActiveText:n,setIsActiveText:r,text:i,setText:a,setTypesText:u,title:s,subtitle:c="Items",typeFont:l,setTypeFont:f,alignText:h,setAlignText:g}=e;return d.jsxs("div",{className:ui.text,children:[(s||n!==void 0)&&d.jsxs("div",{className:ui.top,children:[s&&d.jsx("h3",{className:ui.title,children:s}),n!==void 0&&r&&d.jsx(Or,{current:n,onChange:m=>r(m)})]}),(n===void 0||n)&&d.jsxs("div",{className:ui.itemsBlock,children:[d.jsx("h5",{className:ui.subtitle,children:c}),d.jsx(vd,{onChange:m=>a(m),value:i}),d.jsxs("div",{className:ui.textSettings,children:[d.jsx(kd,{typesText:t,setTypesText:u}),d.jsx(o2,{alignText:h,setAlignText:g})]}),d.jsx(Ld,{typeFont:l,setTypeFont:f})]})]})},y7="_title_msd5s_1",E7="_subtitle_msd5s_5",S7="_productsBlock_msd5s_14",x7="_top_msd5s_26",_7="_products_msd5s_14",T7="_product_msd5s_14",w7="_button_msd5s_80",A7="_disabled_msd5s_91",k7="_buttons_msd5s_118",v7="_modal_msd5s_125",L7="_link_msd5s_146",D7="_modalOptions_msd5s_152",N7="_addButton_msd5s_165",R7="_deleteButton_msd5s_180",P7="_closeIcon_msd5s_192",Mt={title:y7,subtitle:E7,productsBlock:S7,top:x7,products:_7,product:T7,button:w7,disabled:A7,buttons:k7,modal:v7,link:L7,modalOptions:D7,addButton:N7,deleteButton:R7,closeIcon:P7},O7=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,modalOptions:a,setIsOpenModal:u}=e;vi(t,()=>{r(null),u(!1)});function s(c,l){return c.length>l?`${c.slice(0,l)}...`:c}return d.jsxs("div",{ref:t,className:Mt.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Mt.top,children:[d.jsx("h3",{className:Mt.title,children:s(n.name["en-US"],20)}),d.jsx("div",{className:Mt.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{r(null),u(!1)}})})]}),d.jsx("div",{className:Mt.modalOptions,children:a.map(c=>{if(c.type==="image")return d.jsx(Xa,{label:"Put up an attractive image",activeImage:n[c.field],onChange:l=>{const f={...n,[c.field]:l};r(f)}},String(c.field));if(c.type==="text")return d.jsx(Dd,{isActiveText:!0,typesText:n[c.field.type],setTypesText:l=>{const f={...n,[c.field.type]:l};r(f)},alignText:n[c.field.alignText],setAlignText:l=>{const f={...n,[c.field.alignText]:l};r(f)},text:n[c.field.text]["en-US"]||"",setText:l=>{const f={...n,[c.field.text]:{"en-US":l}};r(f)},typeFont:n[c.field.typeFont],setTypeFont:l=>{const f={...n,[c.field.typeFont]:l};r(f)},subtitle:c.label});if(c.type==="input")return d.jsx(ur,{onChange:l=>{const f={...n,[c.field]:l};r(f)},value:n[c.field]||"",label:c.label,placeholder:c.placeholder});if(c.type==="inputSwitch")return d.jsxs("div",{className:Mt.link,children:[d.jsx(ur,{onChange:l=>{const f={...n,[c.field.text]:l};r(f)},value:n[c.field.text]||"",label:c.inputLabel,placeholder:c.placeholder}),d.jsx(Or,{current:!!n[c.field.switch]||!1,label:c.switchLabel,onChange:l=>{const f={...n,[c.field.switch]:l};r(f)}})]});if(c.type==="list")return d.jsx(R2,{items:n[c.field]||[],setItems:l=>{const f={...n,[c.field]:l};r(f)},itemsType:"select",draggable:c.draggable||!1,itemsOptions:c.itemsOptions,deletable:c.deletable||!1,editable:c.editable||!1,subtitle:c.label,addableOptions:c.addableOptions,modalOptions:c.modalOptions});if(c.type==="select")return d.jsx(So,{options:c.itemsOptions,onChange:l=>{const f={...n,[c.field]:l};r(f)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:l=>{if(c.switcher==="isActive"){const f={...n,[c.switcher]:l};r(f)}}}:void 0});if(c.type==="selectTypeFont")return d.jsx(Ld,{typeFont:n[c.field],setTypeFont:l=>{const f={...n,[c.field]:l};r(f)}});if(c.type==="selectInfiniteList")return d.jsx(_d,{options:c.itemsOptions,onChange:l=>{const f={...n,[c.field]:l};r(f)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:l=>{if(c.switcher==="isActive"){const f={...n,[c.switcher]:l};r(f)}}}:void 0})})})]})}),M7="_other_1a1tk_1",F7="_subtitle_1a1tk_7",B7="_items_1a1tk_14",xc={other:M7,subtitle:F7,items:B7},i2=e=>{const{items:t,otherTitle:n,tagsTitle:r}=e;return d.jsxs("div",{className:xc.other,children:[d.jsx("h5",{className:xc.subtitle,children:n||r}),d.jsx("div",{className:xc.items,children:t.map((i,a)=>d.jsx(Or,{current:i.isItem,onChange:u=>i.setIsItem(u),label:i.label,hasBackground:!0,paddingless:!1},a))})]})};function H7(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return k.useMemo(()=>r=>{t.forEach(i=>i(r))},t)}const Ms=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ni(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Nd(e){return"nodeType"in e}function jn(e){var t,n;return e?Ni(e)?e:Nd(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Rd(e){const{Document:t}=jn(e);return e instanceof t}function Ka(e){return Ni(e)?!1:e instanceof jn(e).HTMLElement}function a2(e){return e instanceof jn(e).SVGElement}function Ri(e){return e?Ni(e)?e.document:Nd(e)?Rd(e)?e:Ka(e)||a2(e)?e.ownerDocument:document:document:document}const Pr=Ms?k.useLayoutEffect:k.useEffect;function Pd(e){const t=k.useRef(e);return Pr(()=>{t.current=e}),k.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function j7(){const e=k.useRef(null),t=k.useCallback((r,i)=>{e.current=setInterval(r,i)},[]),n=k.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Pa(e,t){t===void 0&&(t=[e]);const n=k.useRef(e);return Pr(()=>{n.current!==e&&(n.current=e)},t),n}function Ja(e,t){const n=k.useRef();return k.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function ls(e){const t=Pd(e),n=k.useRef(null),r=k.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,r]}function Dl(e){const t=k.useRef();return k.useEffect(()=>{t.current=e},[e]),t.current}let _c={};function Qa(e,t){return k.useMemo(()=>{if(t)return t;const n=_c[e]==null?0:_c[e]+1;return _c[e]=n,e+"-"+n},[e,t])}function u2(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((a,u)=>{const s=Object.entries(u);for(const[c,l]of s){const f=a[c];f!=null&&(a[c]=f+e*l)}return a},{...t})}}const mi=u2(1),ds=u2(-1);function U7(e){return"clientX"in e&&"clientY"in e}function Od(e){if(!e)return!1;const{KeyboardEvent:t}=jn(e.target);return t&&e instanceof t}function V7(e){if(!e)return!1;const{TouchEvent:t}=jn(e.target);return t&&e instanceof t}function Nl(e){if(V7(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return U7(e)?{x:e.clientX,y:e.clientY}:null}const Si=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Si.Translate.toString(e),Si.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),L1="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function z7(e){return e.matches(L1)?e:e.querySelector(L1)}const $7={display:"none"};function q7(e){let{id:t,value:n}=e;return k.createElement("div",{id:t,style:$7},n)}function W7(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return k.createElement("div",{id:t,style:i,role:"status","aria-live":r,"aria-atomic":!0},n)}function G7(){const[e,t]=k.useState("");return{announce:k.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const s2=k.createContext(null);function Z7(e){const t=k.useContext(s2);k.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Y7(){const[e]=k.useState(()=>new Set),t=k.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[k.useCallback(r=>{let{type:i,event:a}=r;e.forEach(u=>{var s;return(s=u[i])==null?void 0:s.call(u,a)})},[e]),t]}const X7={draggable:`
70
70
  To pick up a draggable item, press the space bar.
71
71
  While dragging, use the arrow keys to move the item.
72
72
  Press space again to drop the item in its new position, or press escape to cancel.
73
- `},K7={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function J7(e){let{announcements:t=K7,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=X7}=e;const{announce:a,announcement:u}=G7(),s=Qa("DndLiveRegion"),[c,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),Z7(k.useMemo(()=>({onDragStart(h){let{active:g}=h;a(t.onDragStart({active:g}))},onDragMove(h){let{active:g,over:m}=h;t.onDragMove&&a(t.onDragMove({active:g,over:m}))},onDragOver(h){let{active:g,over:m}=h;a(t.onDragOver({active:g,over:m}))},onDragEnd(h){let{active:g,over:m}=h;a(t.onDragEnd({active:g,over:m}))},onDragCancel(h){let{active:g,over:m}=h;a(t.onDragCancel({active:g,over:m}))}}),[a,t])),!c)return null;const f=k.createElement(k.Fragment,null,k.createElement(q7,{id:r,value:i.draggable}),k.createElement(W7,{id:s,announcement:u}));return n?Ho.createPortal(f,n):f}var Gt;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Gt||(Gt={}));function fs(){}function c2(e,t){return k.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function l2(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return k.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const gr=Object.freeze({x:0,y:0});function Q7(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function ey(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function ty(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),u=i-r,s=a-n;if(r<i&&n<a){const c=t.width*t.height,l=e.width*e.height,f=u*s,h=f/(c+l-f);return Number(h.toFixed(4))}return 0}const ny=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const a of r){const{id:u}=a,s=n.get(u);if(s){const c=ty(s,t);c>0&&i.push({id:u,data:{droppableContainer:a,value:c}})}}return i.sort(Q7)};function ry(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function d2(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:gr}function oy(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return i.reduce((u,s)=>({...u,top:u.top+e*s.y,bottom:u.bottom+e*s.y,left:u.left+e*s.x,right:u.right+e*s.x}),{...n})}}const iy=oy(1);function ay(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function uy(e,t,n){const r=ay(t);if(!r)return e;const{scaleX:i,scaleY:a,x:u,y:s}=r,c=e.left-u-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),f=i?e.width/i:e.width,h=a?e.height/a:e.height;return{width:f,height:h,top:l,right:c+f,bottom:l+h,left:c}}const sy={ignoreTransform:!1};function Pi(e,t){t===void 0&&(t=sy);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:l,transformOrigin:f}=jn(e).getComputedStyle(e);l&&(n=uy(n,l,f))}const{top:r,left:i,width:a,height:u,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:u,bottom:s,right:c}}function D1(e){return Pi(e,{ignoreTransform:!0})}function cy(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function ly(e,t){return t===void 0&&(t=jn(e).getComputedStyle(e)),t.position==="fixed"}function dy(e,t){t===void 0&&(t=jn(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function Md(e,t){const n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Rd(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Ka(i)||a2(i)||n.includes(i))return n;const a=jn(e).getComputedStyle(i);return i!==e&&dy(i,a)&&n.push(i),ly(i,a)?n:r(i.parentNode)}return e?r(e):n}function f2(e){const[t]=Md(e,1);return t??null}function Tc(e){return!Ms||!e?null:Ni(e)?e:Nd(e)?Rd(e)||e===Ri(e).scrollingElement?window:Ka(e)?e:null:null}function h2(e){return Ni(e)?e.scrollX:e.scrollLeft}function p2(e){return Ni(e)?e.scrollY:e.scrollTop}function Rl(e){return{x:h2(e),y:p2(e)}}var on;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(on||(on={}));function m2(e){return!Ms||!e?!1:e===document.scrollingElement}function g2(e){const t={x:0,y:0},n=m2(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,u=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:i,isLeft:a,isBottom:u,isRight:s,maxScroll:r,minScroll:t}}const fy={x:.2,y:.2};function hy(e,t,n,r,i){let{top:a,left:u,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=fy);const{isTop:l,isBottom:f,isLeft:h,isRight:g}=g2(e),m={x:0,y:0},b={x:0,y:0},C={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+C.height?(m.y=on.Backward,b.y=r*Math.abs((t.top+C.height-a)/C.height)):!f&&c>=t.bottom-C.height&&(m.y=on.Forward,b.y=r*Math.abs((t.bottom-C.height-c)/C.height)),!g&&s>=t.right-C.width?(m.x=on.Forward,b.x=r*Math.abs((t.right-C.width-s)/C.width)):!h&&u<=t.left+C.width&&(m.x=on.Backward,b.x=r*Math.abs((t.left+C.width-u)/C.width)),{direction:m,speed:b}}function py(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:u}=window;return{top:0,left:0,right:a,bottom:u,width:a,height:u}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function b2(e){return e.reduce((t,n)=>mi(t,Rl(n)),gr)}function my(e){return e.reduce((t,n)=>t+h2(n),0)}function gy(e){return e.reduce((t,n)=>t+p2(n),0)}function by(e,t){if(t===void 0&&(t=Pi),!e)return;const{top:n,left:r,bottom:i,right:a}=t(e);f2(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Cy=[["x",["left","right"],my],["y",["top","bottom"],gy]];class Fd{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=Md(n),i=b2(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,u,s]of Cy)for(const c of u)Object.defineProperty(this,c,{get:()=>{const l=s(r),f=i[a]-l;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ba{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Iy(e){const{EventTarget:t}=jn(e);return e instanceof t?e:Ri(e)}function wc(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var tr;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(tr||(tr={}));function N1(e){e.preventDefault()}function yy(e){e.stopPropagation()}var Qe;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Qe||(Qe={}));const C2={start:[Qe.Space,Qe.Enter],cancel:[Qe.Esc],end:[Qe.Space,Qe.Enter,Qe.Tab]},Ey=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Qe.Right:return{...n,x:n.x+25};case Qe.Left:return{...n,x:n.x-25};case Qe.Down:return{...n,y:n.y+25};case Qe.Up:return{...n,y:n.y-25}}};class I2{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new ba(Ri(n)),this.windowListeners=new ba(jn(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(tr.Resize,this.handleCancel),this.windowListeners.add(tr.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(tr.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&by(r),n(gr)}handleKeyDown(t){if(Od(t)){const{active:n,context:r,options:i}=this.props,{keyboardCodes:a=C2,coordinateGetter:u=Ey,scrollBehavior:s="smooth"}=i,{code:c}=t;if(a.end.includes(c)){this.handleEnd(t);return}if(a.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:l}=r.current,f=l?{x:l.left,y:l.top}:gr;this.referenceCoordinates||(this.referenceCoordinates=f);const h=u(t,{active:n,context:r.current,currentCoordinates:f});if(h){const g=ds(h,f),m={x:0,y:0},{scrollableAncestors:b}=r.current;for(const C of b){const I=t.code,{isTop:E,isRight:y,isLeft:S,isBottom:T,maxScroll:_,minScroll:v}=g2(C),x=py(C),M={x:Math.min(I===Qe.Right?x.right-x.width/2:x.right,Math.max(I===Qe.Right?x.left:x.left+x.width/2,h.x)),y:Math.min(I===Qe.Down?x.bottom-x.height/2:x.bottom,Math.max(I===Qe.Down?x.top:x.top+x.height/2,h.y))},H=I===Qe.Right&&!y||I===Qe.Left&&!S,A=I===Qe.Down&&!T||I===Qe.Up&&!E;if(H&&M.x!==h.x){const j=C.scrollLeft+g.x,F=I===Qe.Right&&j<=_.x||I===Qe.Left&&j>=v.x;if(F&&!g.y){C.scrollTo({left:j,behavior:s});return}F?m.x=C.scrollLeft-j:m.x=I===Qe.Right?C.scrollLeft-_.x:C.scrollLeft-v.x,m.x&&C.scrollBy({left:-m.x,behavior:s});break}else if(A&&M.y!==h.y){const j=C.scrollTop+g.y,F=I===Qe.Down&&j<=_.y||I===Qe.Up&&j>=v.y;if(F&&!g.x){C.scrollTo({top:j,behavior:s});return}F?m.y=C.scrollTop-j:m.y=I===Qe.Down?C.scrollTop-_.y:C.scrollTop-v.y,m.y&&C.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,mi(ds(h,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}I2.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=C2,onActivation:i}=t,{active:a}=n;const{code:u}=e.nativeEvent;if(r.start.includes(u)){const s=a.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function R1(e){return!!(e&&"distance"in e)}function P1(e){return!!(e&&"delay"in e)}class Bd{constructor(t,n,r){var i;r===void 0&&(r=Iy(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:u}=a;this.props=t,this.events=n,this.document=Ri(u),this.documentListeners=new ba(this.document),this.listeners=new ba(r),this.windowListeners=new ba(jn(u)),this.initialCoordinates=(i=Nl(a))!=null?i:gr,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(tr.Resize,this.handleCancel),this.windowListeners.add(tr.DragStart,N1),this.windowListeners.add(tr.VisibilityChange,this.handleCancel),this.windowListeners.add(tr.ContextMenu,N1),this.documentListeners.add(tr.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(P1(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(R1(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:i}=this.props;i(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(tr.Click,yy,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(tr.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:a}=this,{onMove:u,options:{activationConstraint:s}}=a;if(!i)return;const c=(n=Nl(t))!=null?n:gr,l=ds(i,c);if(!r&&s){if(R1(s)){if(s.tolerance!=null&&wc(l,s.tolerance))return this.handleCancel();if(wc(l,s.distance))return this.handleStart()}if(P1(s)&&wc(l,s.tolerance))return this.handleCancel();this.handlePending(s,l);return}t.cancelable&&t.preventDefault(),u(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Qe.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Sy={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Fs extends Bd{constructor(t){const{event:n}=t,r=Ri(n.target);super(t,Sy,r)}}Fs.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const xy={move:{name:"mousemove"},end:{name:"mouseup"}};var Pl;(function(e){e[e.RightClick=2]="RightClick"})(Pl||(Pl={}));class _y extends Bd{constructor(t){super(t,xy,Ri(t.event.target))}}_y.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Pl.RightClick?!1:(r==null||r({event:n}),!0)}}];const Ac={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Ty extends Bd{constructor(t){super(t,Ac)}static setup(){return window.addEventListener(Ac.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Ac.move.name,t)};function t(){}}}Ty.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return i.length>1?!1:(r==null||r({event:n}),!0)}}];var Ca;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ca||(Ca={}));var hs;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(hs||(hs={}));function wy(e){let{acceleration:t,activator:n=Ca.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:u=5,order:s=hs.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:f,delta:h,threshold:g}=e;const m=ky({delta:h,disabled:!a}),[b,C]=j7(),I=k.useRef({x:0,y:0}),E=k.useRef({x:0,y:0}),y=k.useMemo(()=>{switch(n){case Ca.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ca.DraggableRect:return i}},[n,i,c]),S=k.useRef(null),T=k.useCallback(()=>{const v=S.current;if(!v)return;const x=I.current.x*E.current.x,M=I.current.y*E.current.y;v.scrollBy(x,M)},[]),_=k.useMemo(()=>s===hs.TreeOrder?[...l].reverse():l,[s,l]);k.useEffect(()=>{if(!a||!l.length||!y){C();return}for(const v of _){if((r==null?void 0:r(v))===!1)continue;const x=l.indexOf(v),M=f[x];if(!M)continue;const{direction:H,speed:A}=hy(v,M,y,t,g);for(const j of["x","y"])m[j][H[j]]||(A[j]=0,H[j]=0);if(A.x>0||A.y>0){C(),S.current=v,b(T,u),I.current=A,E.current=H;return}}I.current={x:0,y:0},E.current={x:0,y:0},C()},[t,T,r,C,a,u,JSON.stringify(y),JSON.stringify(m),b,l,_,f,JSON.stringify(g)])}const Ay={x:{[on.Backward]:!1,[on.Forward]:!1},y:{[on.Backward]:!1,[on.Forward]:!1}};function ky(e){let{delta:t,disabled:n}=e;const r=Dl(t);return Ja(i=>{if(n||!r||!i)return Ay;const a={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[on.Backward]:i.x[on.Backward]||a.x===-1,[on.Forward]:i.x[on.Forward]||a.x===1},y:{[on.Backward]:i.y[on.Backward]||a.y===-1,[on.Forward]:i.y[on.Forward]||a.y===1}}},[n,t,r])}function vy(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Ja(i=>{var a;return t==null?null:(a=r??i)!=null?a:null},[r,t])}function Ly(e,t){return k.useMemo(()=>e.reduce((n,r)=>{const{sensor:i}=r,a=i.activators.map(u=>({eventName:u.eventName,handler:t(u.handler,r)}));return[...n,...a]},[]),[e,t])}var Oa;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Oa||(Oa={}));var Ol;(function(e){e.Optimized="optimized"})(Ol||(Ol={}));const O1=new Map;function Dy(e,t){let{dragging:n,dependencies:r,config:i}=t;const[a,u]=k.useState(null),{frequency:s,measure:c,strategy:l}=i,f=k.useRef(e),h=I(),g=Pa(h),m=k.useCallback(function(E){E===void 0&&(E=[]),!g.current&&u(y=>y===null?E:y.concat(E.filter(S=>!y.includes(S))))},[g]),b=k.useRef(null),C=Ja(E=>{if(h&&!n)return O1;if(!E||E===O1||f.current!==e||a!=null){const y=new Map;for(let S of e){if(!S)continue;if(a&&a.length>0&&!a.includes(S.id)&&S.rect.current){y.set(S.id,S.rect.current);continue}const T=S.node.current,_=T?new Fd(c(T),T):null;S.rect.current=_,_&&y.set(S.id,_)}return y}return E},[e,a,n,h,c]);return k.useEffect(()=>{f.current=e},[e]),k.useEffect(()=>{h||m()},[n,h]),k.useEffect(()=>{a&&a.length>0&&u(null)},[JSON.stringify(a)]),k.useEffect(()=>{h||typeof s!="number"||b.current!==null||(b.current=setTimeout(()=>{m(),b.current=null},s))},[s,h,m,...r]),{droppableRects:C,measureDroppableContainers:m,measuringScheduled:a!=null};function I(){switch(l){case Oa.Always:return!1;case Oa.BeforeDragging:return n;default:return!n}}}function y2(e,t){return Ja(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Ny(e,t){return y2(e,t)}function Ry(e){let{callback:t,disabled:n}=e;const r=Pd(t),i=k.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(r)},[r,n]);return k.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Bs(e){let{callback:t,disabled:n}=e;const r=Pd(t),i=k.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(r)},[n]);return k.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Py(e){return new Fd(Pi(e),e)}function M1(e,t,n){t===void 0&&(t=Py);const[r,i]=k.useState(null);function a(){i(c=>{if(!e)return null;if(e.isConnected===!1){var l;return(l=c??n)!=null?l:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const u=Ry({callback(c){if(e)for(const l of c){const{type:f,target:h}=l;if(f==="childList"&&h instanceof HTMLElement&&h.contains(e)){a();break}}}}),s=Bs({callback:a});return Pr(()=>{a(),e?(s==null||s.observe(e),u==null||u.observe(document.body,{childList:!0,subtree:!0})):(s==null||s.disconnect(),u==null||u.disconnect())},[e]),r}function Oy(e){const t=y2(e);return d2(e,t)}const F1=[];function My(e){const t=k.useRef(e),n=Ja(r=>e?r&&r!==F1&&e&&t.current&&e.parentNode===t.current.parentNode?r:Md(e):F1,[e]);return k.useEffect(()=>{t.current=e},[e]),n}function Fy(e){const[t,n]=k.useState(null),r=k.useRef(e),i=k.useCallback(a=>{const u=Tc(a.target);u&&n(s=>s?(s.set(u,Rl(u)),new Map(s)):null)},[]);return k.useEffect(()=>{const a=r.current;if(e!==a){u(a);const s=e.map(c=>{const l=Tc(c);return l?(l.addEventListener("scroll",i,{passive:!0}),[l,Rl(l)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{u(e),u(a)};function u(s){s.forEach(c=>{const l=Tc(c);l==null||l.removeEventListener("scroll",i)})}},[i,e]),k.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,u)=>mi(a,u),gr):b2(e):gr,[e,t])}function B1(e,t){t===void 0&&(t=[]);const n=k.useRef(null);return k.useEffect(()=>{n.current=null},t),k.useEffect(()=>{const r=e!==gr;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?ds(e,n.current):gr}function By(e){k.useEffect(()=>{if(!Ms)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function Hy(e,t){return k.useMemo(()=>e.reduce((n,r)=>{let{eventName:i,handler:a}=r;return n[i]=u=>{a(u,t)},n},{}),[e,t])}function E2(e){return k.useMemo(()=>e?cy(e):null,[e])}const H1=[];function jy(e,t){t===void 0&&(t=Pi);const[n]=e,r=E2(n?jn(n):null),[i,a]=k.useState(H1);function u(){a(()=>e.length?e.map(c=>m2(c)?r:new Fd(t(c),c)):H1)}const s=Bs({callback:u});return Pr(()=>{s==null||s.disconnect(),u(),e.forEach(c=>s==null?void 0:s.observe(c))},[e]),i}function Uy(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ka(t)?t:e}function Vy(e){let{measure:t}=e;const[n,r]=k.useState(null),i=k.useCallback(l=>{for(const{target:f}of l)if(Ka(f)){r(h=>{const g=t(f);return h?{...h,width:g.width,height:g.height}:g});break}},[t]),a=Bs({callback:i}),u=k.useCallback(l=>{const f=Uy(l);a==null||a.disconnect(),f&&(a==null||a.observe(f)),r(f?t(f):null)},[t,a]),[s,c]=ls(u);return k.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const zy=[{sensor:Fs,options:{}},{sensor:I2,options:{}}],$y={current:{}},Zu={draggable:{measure:D1},droppable:{measure:D1,strategy:Oa.WhileDragging,frequency:Ol.Optimized},dragOverlay:{measure:Pi}};class Ia extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const qy={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ia,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:fs},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zu,measureDroppableContainers:fs,windowRect:null,measuringScheduled:!1},Wy={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:fs,draggableNodes:new Map,over:null,measureDroppableContainers:fs},Hs=k.createContext(Wy),S2=k.createContext(qy);function Gy(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ia}}}function Zy(e,t){switch(t.type){case Gt.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Gt.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Gt.DragEnd:case Gt.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Gt.RegisterDroppable:{const{element:n}=t,{id:r}=n,i=new Ia(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case Gt.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const u=new Ia(e.droppable.containers);return u.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:u}}}case Gt.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Ia(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function Yy(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=k.useContext(Hs),a=Dl(r),u=Dl(n==null?void 0:n.id);return k.useEffect(()=>{if(!t&&!r&&a&&u!=null){if(!Od(a)||document.activeElement===a.target)return;const s=i.get(u);if(!s)return;const{activatorNode:c,node:l}=s;if(!c.current&&!l.current)return;requestAnimationFrame(()=>{for(const f of[c.current,l.current]){if(!f)continue;const h=z7(f);if(h){h.focus();break}}})}},[r,t,i,u,a]),null}function Xy(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...r}),n):n}function Ky(e){return k.useMemo(()=>({draggable:{...Zu.draggable,...e==null?void 0:e.draggable},droppable:{...Zu.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Zu.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function Jy(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const a=k.useRef(!1),{x:u,y:s}=typeof i=="boolean"?{x:i,y:i}:i;Pr(()=>{if(!u&&!s||!t){a.current=!1;return}if(a.current||!r)return;const l=t==null?void 0:t.node.current;if(!l||l.isConnected===!1)return;const f=n(l),h=d2(f,r);if(u||(h.x=0),s||(h.y=0),a.current=!0,Math.abs(h.x)>0||Math.abs(h.y)>0){const g=f2(l);g&&g.scrollBy({top:h.y,left:h.x})}},[t,u,s,r,n])}const x2=k.createContext({...gr,scaleX:1,scaleY:1});var fo;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(fo||(fo={}));const _2=k.memo(function(t){var n,r,i,a;let{id:u,accessibility:s,autoScroll:c=!0,children:l,sensors:f=zy,collisionDetection:h=ny,measuring:g,modifiers:m,...b}=t;const C=k.useReducer(Zy,void 0,Gy),[I,E]=C,[y,S]=Y7(),[T,_]=k.useState(fo.Uninitialized),v=T===fo.Initialized,{draggable:{active:x,nodes:M,translate:H},droppable:{containers:A}}=I,j=x!=null?M.get(x):null,F=k.useRef({initial:null,translated:null}),W=k.useMemo(()=>{var It;return x!=null?{id:x,data:(It=j==null?void 0:j.data)!=null?It:$y,rect:F}:null},[x,j]),q=k.useRef(null),[ne,be]=k.useState(null),[Ie,Ae]=k.useState(null),Le=Pa(b,Object.values(b)),w=Qa("DndDescribedBy",u),re=k.useMemo(()=>A.getEnabled(),[A]),pe=Ky(g),{droppableRects:D,measureDroppableContainers:X,measuringScheduled:se}=Dy(re,{dragging:v,dependencies:[H.x,H.y],config:pe.droppable}),ee=vy(M,x),Ce=k.useMemo(()=>Ie?Nl(Ie):null,[Ie]),ye=Ur(),ue=Ny(ee,pe.draggable.measure);Jy({activeNode:x!=null?M.get(x):null,config:ye.layoutShiftCompensation,initialRect:ue,measure:pe.draggable.measure});const ce=M1(ee,pe.draggable.measure,ue),Ue=M1(ee?ee.parentElement:null),J=k.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:D,draggableNodes:M,draggingNode:null,draggingNodeRect:null,droppableContainers:A,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ve=A.getNodeFor((n=J.current.over)==null?void 0:n.id),xe=Vy({measure:pe.dragOverlay.measure}),we=(r=xe.nodeRef.current)!=null?r:ee,ze=v?(i=xe.rect)!=null?i:ce:null,_t=!!(xe.nodeRef.current&&xe.rect),At=Oy(_t?null:ce),qe=E2(we?jn(we):null),rt=My(v?Ve??ee:null),Tn=jy(rt),bt=Xy(m,{transform:{x:H.x-At.x,y:H.y-At.y,scaleX:1,scaleY:1},activatorEvent:Ie,active:W,activeNodeRect:ce,containerNodeRect:Ue,draggingNodeRect:ze,over:J.current.over,overlayNodeRect:xe.rect,scrollableAncestors:rt,scrollableAncestorRects:Tn,windowRect:qe}),pn=Ce?mi(Ce,H):null,Ct=Fy(rt),Dt=B1(Ct),G=B1(Ct,[ce]),ae=mi(bt,Dt),Te=ze?iy(ze,bt):null,ke=W&&Te?h({active:W,collisionRect:Te,droppableRects:D,droppableContainers:re,pointerCoordinates:pn}):null,We=ey(ke,"id"),[ot,mn]=k.useState(null),et=_t?bt:mi(bt,G),gn=ry(et,(a=ot==null?void 0:ot.rect)!=null?a:null,ce),bn=k.useRef(null),Nt=k.useCallback((It,Yt)=>{let{sensor:Xt,options:Vn}=Yt;if(q.current==null)return;const sn=M.get(q.current);if(!sn)return;const Rt=It.nativeEvent,Kt=new Xt({active:q.current,activeNode:sn,event:Rt,options:Vn,context:J,onAbort(Pt){if(!M.get(Pt))return;const{onDragAbort:B}=Le.current,$={id:Pt};B==null||B($),y({type:"onDragAbort",event:$})},onPending(Pt,O,B,$){if(!M.get(Pt))return;const{onDragPending:me}=Le.current,_e={id:Pt,constraint:O,initialCoordinates:B,offset:$};me==null||me(_e),y({type:"onDragPending",event:_e})},onStart(Pt){const O=q.current;if(O==null)return;const B=M.get(O);if(!B)return;const{onDragStart:$}=Le.current,te={activatorEvent:Rt,active:{id:O,data:B.data,rect:F}};Ho.unstable_batchedUpdates(()=>{$==null||$(te),_(fo.Initializing),E({type:Gt.DragStart,initialCoordinates:Pt,active:O}),y({type:"onDragStart",event:te}),be(bn.current),Ae(Rt)})},onMove(Pt){E({type:Gt.DragMove,coordinates:Pt})},onEnd:Sr(Gt.DragEnd),onCancel:Sr(Gt.DragCancel)});bn.current=Kt;function Sr(Pt){return async function(){const{active:B,collisions:$,over:te,scrollAdjustedTranslate:me}=J.current;let _e=null;if(B&&me){const{cancelDrop:N}=Le.current;_e={activatorEvent:Rt,active:B,collisions:$,delta:me,over:te},Pt===Gt.DragEnd&&typeof N=="function"&&await Promise.resolve(N(_e))&&(Pt=Gt.DragCancel)}q.current=null,Ho.unstable_batchedUpdates(()=>{E({type:Pt}),_(fo.Uninitialized),mn(null),be(null),Ae(null),bn.current=null;const N=Pt===Gt.DragEnd?"onDragEnd":"onDragCancel";if(_e){const V=Le.current[N];V==null||V(_e),y({type:N,event:_e})}})}}},[M]),Jn=k.useCallback((It,Yt)=>(Xt,Vn)=>{const sn=Xt.nativeEvent,Rt=M.get(Vn);if(q.current!==null||!Rt||sn.dndKit||sn.defaultPrevented)return;const Kt={active:Rt};It(Xt,Yt.options,Kt)===!0&&(sn.dndKit={capturedBy:Yt.sensor},q.current=Vn,Nt(Xt,Yt))},[M,Nt]),$t=Ly(f,Jn);By(f),Pr(()=>{ce&&T===fo.Initializing&&_(fo.Initialized)},[ce,T]),k.useEffect(()=>{const{onDragMove:It}=Le.current,{active:Yt,activatorEvent:Xt,collisions:Vn,over:sn}=J.current;if(!Yt||!Xt)return;const Rt={active:Yt,activatorEvent:Xt,collisions:Vn,delta:{x:ae.x,y:ae.y},over:sn};Ho.unstable_batchedUpdates(()=>{It==null||It(Rt),y({type:"onDragMove",event:Rt})})},[ae.x,ae.y]),k.useEffect(()=>{const{active:It,activatorEvent:Yt,collisions:Xt,droppableContainers:Vn,scrollAdjustedTranslate:sn}=J.current;if(!It||q.current==null||!Yt||!sn)return;const{onDragOver:Rt}=Le.current,Kt=Vn.get(We),Sr=Kt&&Kt.rect.current?{id:Kt.id,rect:Kt.rect.current,data:Kt.data,disabled:Kt.disabled}:null,Pt={active:It,activatorEvent:Yt,collisions:Xt,delta:{x:sn.x,y:sn.y},over:Sr};Ho.unstable_batchedUpdates(()=>{mn(Sr),Rt==null||Rt(Pt),y({type:"onDragOver",event:Pt})})},[We]),Pr(()=>{J.current={activatorEvent:Ie,active:W,activeNode:ee,collisionRect:Te,collisions:ke,droppableRects:D,draggableNodes:M,draggingNode:we,draggingNodeRect:ze,droppableContainers:A,over:ot,scrollableAncestors:rt,scrollAdjustedTranslate:ae},F.current={initial:ze,translated:Te}},[W,ee,ke,Te,M,we,ze,D,A,ot,rt,ae]),wy({...ye,delta:H,draggingRect:Te,pointerCoordinates:pn,scrollableAncestors:rt,scrollableAncestorRects:Tn});const jr=k.useMemo(()=>({active:W,activeNode:ee,activeNodeRect:ce,activatorEvent:Ie,collisions:ke,containerNodeRect:Ue,dragOverlay:xe,draggableNodes:M,droppableContainers:A,droppableRects:D,over:ot,measureDroppableContainers:X,scrollableAncestors:rt,scrollableAncestorRects:Tn,measuringConfiguration:pe,measuringScheduled:se,windowRect:qe}),[W,ee,ce,Ie,ke,Ue,xe,M,A,D,ot,X,rt,Tn,pe,se,qe]),lr=k.useMemo(()=>({activatorEvent:Ie,activators:$t,active:W,activeNodeRect:ce,ariaDescribedById:{draggable:w},dispatch:E,draggableNodes:M,over:ot,measureDroppableContainers:X}),[Ie,$t,W,ce,E,w,M,ot,X]);return k.createElement(s2.Provider,{value:S},k.createElement(Hs.Provider,{value:lr},k.createElement(S2.Provider,{value:jr},k.createElement(x2.Provider,{value:gn},l)),k.createElement(Yy,{disabled:(s==null?void 0:s.restoreFocus)===!1})),k.createElement(J7,{...s,hiddenTextDescribedById:w}));function Ur(){const It=(ne==null?void 0:ne.autoScrollEnabled)===!1,Yt=typeof c=="object"?c.enabled===!1:c===!1,Xt=v&&!It&&!Yt;return typeof c=="object"?{...c,enabled:Xt}:{enabled:Xt}}}),Qy=k.createContext(null),j1="button",e9="Draggable";function t9(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const a=Qa(e9),{activators:u,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:f,draggableNodes:h,over:g}=k.useContext(Hs),{role:m=j1,roleDescription:b="draggable",tabIndex:C=0}=i??{},I=(c==null?void 0:c.id)===t,E=k.useContext(I?x2:Qy),[y,S]=ls(),[T,_]=ls(),v=Hy(u,t),x=Pa(n);Pr(()=>(h.set(t,{id:t,key:a,node:y,activatorNode:T,data:x}),()=>{const H=h.get(t);H&&H.key===a&&h.delete(t)}),[h,t]);const M=k.useMemo(()=>({role:m,tabIndex:C,"aria-disabled":r,"aria-pressed":I&&m===j1?!0:void 0,"aria-roledescription":b,"aria-describedby":f.draggable}),[r,m,C,I,b,f.draggable]);return{active:c,activatorEvent:s,activeNodeRect:l,attributes:M,isDragging:I,listeners:r?void 0:v,node:y,over:g,setNodeRef:S,setActivatorNodeRef:_,transform:E}}function n9(){return k.useContext(S2)}const r9="Droppable",o9={timeout:25};function i9(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e;const a=Qa(r9),{active:u,dispatch:s,over:c,measureDroppableContainers:l}=k.useContext(Hs),f=k.useRef({disabled:n}),h=k.useRef(!1),g=k.useRef(null),m=k.useRef(null),{disabled:b,updateMeasurementsFor:C,timeout:I}={...o9,...i},E=Pa(C??r),y=k.useCallback(()=>{if(!h.current){h.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{l(Array.isArray(E.current)?E.current:[E.current]),m.current=null},I)},[I]),S=Bs({callback:y,disabled:b||!u}),T=k.useCallback((M,H)=>{S&&(H&&(S.unobserve(H),h.current=!1),M&&S.observe(M))},[S]),[_,v]=ls(T),x=Pa(t);return k.useEffect(()=>{!S||!_.current||(S.disconnect(),h.current=!1,S.observe(_.current))},[_,S]),k.useEffect(()=>(s({type:Gt.RegisterDroppable,element:{id:r,key:a,disabled:n,node:_,rect:g,data:x}}),()=>s({type:Gt.UnregisterDroppable,key:a,id:r})),[r]),k.useEffect(()=>{n!==f.current.disabled&&(s({type:Gt.SetDroppableDisabled,id:r,key:a,disabled:n}),f.current.disabled=n)},[r,a,n,s]),{active:u,rect:g,isOver:(c==null?void 0:c.id)===r,node:_,over:c,setNodeRef:v}}function T2(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a9(e,t){return e.reduce((n,r,i)=>{const a=t.get(r);return a&&(n[i]=a),n},Array(e.length))}function Eu(e){return e!==null&&e>=0}function u9(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function s9(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const w2=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e;const a=T2(t,r,n),u=t[i],s=a[i];return!s||!u?null:{x:s.left-u.left,y:s.top-u.top,scaleX:s.width/u.width,scaleY:s.height/u.height}},Su={scaleX:1,scaleY:1},A2=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:i,rects:a,overIndex:u}=e;const s=(t=a[n])!=null?t:r;if(!s)return null;if(i===n){const l=a[u];return l?{x:0,y:n<u?l.top+l.height-(s.top+s.height):l.top-s.top,...Su}:null}const c=c9(a,i,n);return i>n&&i<=u?{x:0,y:-s.height-c,...Su}:i<n&&i>=u?{x:0,y:s.height+c,...Su}:{x:0,y:0,...Su}};function c9(e,t,n){const r=e[t],i=e[t-1],a=e[t+1];return r?n<t?i?r.top-(i.top+i.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):i?r.top-(i.top+i.height):0:0}const k2="Sortable",v2=k.createContext({activeIndex:-1,containerId:k2,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:w2,disabled:{draggable:!1,droppable:!1}});function L2(e){let{children:t,id:n,items:r,strategy:i=w2,disabled:a=!1}=e;const{active:u,dragOverlay:s,droppableRects:c,over:l,measureDroppableContainers:f}=n9(),h=Qa(k2,n),g=s.rect!==null,m=k.useMemo(()=>r.map(v=>typeof v=="object"&&"id"in v?v.id:v),[r]),b=u!=null,C=u?m.indexOf(u.id):-1,I=l?m.indexOf(l.id):-1,E=k.useRef(m),y=!u9(m,E.current),S=I!==-1&&C===-1||y,T=s9(a);Pr(()=>{y&&b&&f(m)},[y,m,b,f]),k.useEffect(()=>{E.current=m},[m]);const _=k.useMemo(()=>({activeIndex:C,containerId:h,disabled:T,disableTransforms:S,items:m,overIndex:I,useDragOverlay:g,sortedRects:a9(m,c),strategy:i}),[C,h,T.draggable,T.droppable,S,m,I,c,g,i]);return k.createElement(v2.Provider,{value:_},t)}const l9=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return T2(n,r,i).indexOf(t)},d9=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:a,newIndex:u,previousItems:s,previousContainerId:c,transition:l}=e;return!l||!r||s!==a&&i===u?!1:n?!0:u!==i&&t===c},f9={duration:200,easing:"ease"},D2="transform",h9=Si.Transition.toString({property:D2,duration:0,easing:"linear"}),p9={roleDescription:"sortable"};function m9(e){let{disabled:t,index:n,node:r,rect:i}=e;const[a,u]=k.useState(null),s=k.useRef(n);return Pr(()=>{if(!t&&n!==s.current&&r.current){const c=i.current;if(c){const l=Pi(r.current,{ignoreTransform:!0}),f={x:c.left-l.left,y:c.top-l.top,scaleX:c.width/l.width,scaleY:c.height/l.height};(f.x||f.y)&&u(f)}}n!==s.current&&(s.current=n)},[t,n,r,i]),k.useEffect(()=>{a&&u(null)},[a]),a}function N2(e){let{animateLayoutChanges:t=d9,attributes:n,disabled:r,data:i,getNewIndex:a=l9,id:u,strategy:s,resizeObserverConfig:c,transition:l=f9}=e;const{items:f,containerId:h,activeIndex:g,disabled:m,disableTransforms:b,sortedRects:C,overIndex:I,useDragOverlay:E,strategy:y}=k.useContext(v2),S=g9(r,m),T=f.indexOf(u),_=k.useMemo(()=>({sortable:{containerId:h,index:T,items:f},...i}),[h,i,T,f]),v=k.useMemo(()=>f.slice(f.indexOf(u)),[f,u]),{rect:x,node:M,isOver:H,setNodeRef:A}=i9({id:u,data:_,disabled:S.droppable,resizeObserverConfig:{updateMeasurementsFor:v,...c}}),{active:j,activatorEvent:F,activeNodeRect:W,attributes:q,setNodeRef:ne,listeners:be,isDragging:Ie,over:Ae,setActivatorNodeRef:Le,transform:w}=t9({id:u,data:_,attributes:{...p9,...n},disabled:S.draggable}),re=H7(A,ne),pe=!!j,D=pe&&!b&&Eu(g)&&Eu(I),X=!E&&Ie,se=X&&D?w:null,Ce=D?se??(s??y)({rects:C,activeNodeRect:W,activeIndex:g,overIndex:I,index:T}):null,ye=Eu(g)&&Eu(I)?a({id:u,items:f,activeIndex:g,overIndex:I}):T,ue=j==null?void 0:j.id,ce=k.useRef({activeId:ue,items:f,newIndex:ye,containerId:h}),Ue=f!==ce.current.items,J=t({active:j,containerId:h,isDragging:Ie,isSorting:pe,id:u,index:T,items:f,newIndex:ce.current.newIndex,previousItems:ce.current.items,previousContainerId:ce.current.containerId,transition:l,wasDragging:ce.current.activeId!=null}),Ve=m9({disabled:!J,index:T,node:M,rect:x});return k.useEffect(()=>{pe&&ce.current.newIndex!==ye&&(ce.current.newIndex=ye),h!==ce.current.containerId&&(ce.current.containerId=h),f!==ce.current.items&&(ce.current.items=f)},[pe,ye,h,f]),k.useEffect(()=>{if(ue===ce.current.activeId)return;if(ue!=null&&ce.current.activeId==null){ce.current.activeId=ue;return}const we=setTimeout(()=>{ce.current.activeId=ue},50);return()=>clearTimeout(we)},[ue]),{active:j,activeIndex:g,attributes:q,data:_,rect:x,index:T,newIndex:ye,items:f,isOver:H,isSorting:pe,isDragging:Ie,listeners:be,node:M,overIndex:I,over:Ae,setNodeRef:re,setActivatorNodeRef:Le,setDroppableNodeRef:A,setDraggableNodeRef:ne,transform:Ve??Ce,transition:xe()};function xe(){if(Ve||Ue&&ce.current.newIndex===T)return h9;if(!(X&&!Od(F)||!l)&&(pe||J))return Si.Transition.toString({...l,property:D2})}}function g9(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Qe.Down,Qe.Right,Qe.Up,Qe.Left;function b9({product:e,children:t}){const{attributes:n,listeners:r,setNodeRef:i,transform:a,transition:u,isDragging:s}=N2({id:e.id}),c={transform:Si.Transform.toString(a),transition:u};return d.jsx("div",{ref:i,style:c,className:`${Mt.product} ${s?Mt.dragging:""}`,...n,...r,children:t})}const R2=e=>{const{isActiveItems:t,setIsActiveItems:n,items:r,setItems:i,other:a,title:u,subtitle:s,editable:c=!0,draggable:l=!1,withImage:f=!1,deletable:h=!0,addable:g=!0,itemsType:m,itemsPlaceholder:b="",itemsOptions:C,hasRangeSelector:I=!1,rangeSelectorOptions:E,modalOptions:y,addableOptions:S={},limit:T,autoInterval:_,tip:v,aspectRatio:x,setAspectRatio:M}=e,[H,A]=k.useState(null),[j,F]=k.useState({top:0,left:0}),[W,q]=k.useState(null),ne=k.useRef(null),[be,Ie]=k.useState(!1),Ae=l2(c2(Fs,{activationConstraint:{distance:5}}));k.useEffect(()=>{if(H){const X=[...r].map(se=>se.id===H.id?H:se);i(X)}},[H]),k.useEffect(()=>{if(ne.current&&W){const X=ne.current.getBoundingClientRect().height,se=window.innerHeight;let ee=W.top;ee+X>se+window.scrollY-200&&(ee=se+window.scrollY-X-200),ee<0&&(ee=10),F({top:ee-30,left:W.left})}},[ne.current,W]);const Le=(X,se)=>{X.stopPropagation();const ee=X.target.getBoundingClientRect();q({top:ee.top+window.scrollY-70,left:ee.left-(g?30:65)}),A(se),Ie(!0)},w=(X,se)=>{const ee=[...r],Ce={...X,id:Math.random().toString(36).substr(2,9)};ee.splice(se+1,0,Ce),i(ee)};function re(X){if(f)return X?d.jsx("img",{src:`https://imagedelivery.net/${X[0]}/w=1000`,alt:"image",width:16,height:16}):d.jsx(ie,{name:"Image",width:16,height:16,fill:"#757575"})}const pe=X=>{const{active:se,over:ee}=X;if(ee&&se.id!==ee.id){const Ce=r.findIndex(ue=>ue.id===se.id),ye=r.findIndex(ue=>ue.id===ee.id);if(Ce!==-1&&ye!==-1){const ue=[...r],[ce]=ue.splice(Ce,1);ue.splice(ye,0,ce),i(ue)}}},D=(X,se)=>{var Ce,ye;const ee=d.jsxs(d.Fragment,{children:[l&&d.jsx("div",{children:d.jsx(ie,{name:"DotsSixVertical",hoverable:!0,width:20,height:20})}),m==="select"&&C&&d.jsx(So,{onChange:ue=>{const ce=[...r],Ue=C.find(Ve=>Ve.name["en-US"]===ue);if(!Ue)return;const J=ce.map(Ve=>Ve.id===X.id?{...Ue,name:{"en-US":ue}}:Ve);A({...X,name:{"en-US":ue}}),i([...J])},value:X.name["en-US"],options:C.filter(ue=>!r.find(ce=>ce.name["en-US"]===ue.name["en-US"])).map(ue=>ue.name["en-US"]),leftAddonOptions:C.filter(ue=>{var ce;return((ce=ue.images)==null?void 0:ce.length)>0}).map(ue=>({value:ue.name["en-US"],addon:re(ue.images)}))}),m==="selectInfiniteList"&&C&&d.jsx(_d,{onChange:ue=>{const ce=[...r],Ue=C.find(Ve=>Ve.name["en-US"]===ue);if(!Ue)return;const J=ce.map(Ve=>Ve.id===X.id?{...Ue,name:{"en-US":ue}}:Ve);A({...X,name:{"en-US":ue}}),i([...J])},value:X.name["en-US"],options:C.filter(ue=>!r.find(ce=>ce.name["en-US"]===ue.name["en-US"])).map(ue=>ue.name["en-US"]),leftAddonOptions:C.filter(ue=>{var ce;return((ce=ue.images)==null?void 0:ce.length)>0}).map(ue=>({value:ue.name["en-US"],addon:re(ue.images)}))}),m==="input"&&d.jsx(ar,{onChange:ue=>{const Ue=[...r].map(J=>J.id===X.id?{...X,name:{"en-US":ue}}:J);i([...Ue])},value:X.name["en-US"],placeholder:b}),m==="image"&&d.jsx(Xa,{onChange:ue=>{const Ue=[...r].map(J=>J.id===X.id?{...X,images:ue}:J);i([...Ue])},activeImage:(Ce=r.find(ue=>ue.id===X.id))!=null&&Ce.images?(ye=r.find(ue=>ue.id===X.id))==null?void 0:ye.images[0]:void 0,tip:v}),d.jsxs("div",{className:Mt.buttons,children:[T&&T>r.length&&g&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Copy",hoverable:!0,width:20,height:20,onClick:()=>{w(X,se)}})}),c&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Sliders",hoverable:!0,width:20,height:20,onClick:ue=>{Le(ue,X)}})}),h&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A",onClick:()=>i(r.filter(ue=>ue.id!==X.id))})})]})]});return l?d.jsx(b9,{product:X,index:se,children:ee},X.id):d.jsx("div",{className:Mt.product,children:ee},X.id)};return d.jsxs("div",{className:Mt.productsBlock,children:[(u||t!==void 0)&&d.jsxs("div",{className:Mt.top,children:[u&&d.jsx("h3",{className:Mt.title,children:u}),t!==void 0&&d.jsx(Or,{current:t,onChange:X=>n==null?void 0:n(X)})]}),H&&c&&y&&be&&d.jsx(O7,{ref:ne,activeItem:H,setActiveItem:A,popupPosition:j,modalOptions:y,setIsOpenModal:Ie}),(t===void 0||t)&&I&&E&&d.jsx(P2,{...E}),(t===void 0||t)&&d.jsxs("div",{className:Mt.products,children:[s&&d.jsx("h5",{className:Mt.subtitle,children:s}),l?d.jsx(_2,{sensors:Ae,onDragEnd:pe,children:d.jsx(L2,{items:r.map(X=>X.id),strategy:A2,children:r.map((X,se)=>D(X,se))})}):r.map((X,se)=>D(X,se)),g&&d.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:d.jsx(Ei,{withoutHover:!0,className:ge(Mt.button,{[Mt.disabled]:!!(T&&T<=r.length||r.length===(C==null?void 0:C.length))}),size:"s",disabled:!!(T&&T<=r.length||r.length===(C==null?void 0:C.length)),onClick:()=>{const X=[...r];let se=null;if(C){for(let ee=0;ee<C.length;ee++)if(!r.find(Ce=>Ce.id===C[ee].id)){se=C[ee];break}}m==="select"&&C?X.push({name:se?se.name:C[0].name,id:(se==null?void 0:se.id)||C[0].id,...S}):m==="input"?X.push({name:{"en-US":""},id:mt(),...S}):X.push({name:{"en-US":`Image ${r.length+1}`},id:mt(),...S}),i(X)},style:{width:"fit-content"},children:d.jsxs("div",{className:Mt.addButton,children:[d.jsx("span",{children:"Add Option"}),d.jsx(ie,{name:"Plus",width:16,height:16})]})})})]}),x&&M&&d.jsx(So,{value:x,label:"Aspect Ratio",options:Object.keys(gp),onChange:X=>M(X),leftAddonOptions:bp}),(t===void 0||t)&&a!==void 0&&d.jsx(i2,{otherTitle:"Other",items:a}),(t===void 0||t)&&_!==void 0&&d.jsx(ar,{label:_.title||"Auto scroll interval",type:"number",value:String(_.autoInterval),onChange:X=>_.setAutoInterval(Number(X)),min:.1,max:100,style:{width:"100%"},postfix:"sec."})]})},C9="_title_cx65i_1",I9="_subtitle_cx65i_5",y9="_productsBlock_cx65i_14",E9="_top_cx65i_26",S9="_products_cx65i_14",x9="_product_cx65i_14",_9="_button_cx65i_80",T9="_disabled_cx65i_91",w9="_buttons_cx65i_118",A9="_modal_cx65i_125",k9="_link_cx65i_146",v9="_modalOptions_cx65i_152",L9="_addButton_cx65i_165",D9="_deleteButton_cx65i_180",N9="_closeIcon_cx65i_192",Po={title:C9,subtitle:I9,productsBlock:y9,top:E9,products:S9,product:x9,button:_9,disabled:T9,buttons:w9,modal:A9,link:k9,modalOptions:v9,addButton:L9,deleteButton:D9,closeIcon:N9},R9=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,modalOptions:a,setIsOpenModal:u}=e;return vi(t,()=>{r(null),u(!1)}),d.jsxs("div",{ref:t,className:Po.modal,onClick:s=>{s.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Po.top,children:[d.jsx("h3",{className:Po.title,children:n.name["en-US"]}),d.jsx("div",{className:Po.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>{r(null),u(!1)}})})]}),d.jsx("div",{className:Po.modalOptions,children:a.map(s=>{if(s.type==="image")return d.jsx(Xa,{label:"Put up an attractive image",activeImage:n[s.field],onChange:c=>{const l={...n,[s.field]:c};r(l)}},String(s.field));if(s.type==="text")return d.jsx(Dd,{isActiveText:!0,typesText:n[s.field.type],setTypesText:c=>{const l={...n,[s.field.type]:c};r(l)},alignText:n[s.field.alignText],setAlignText:c=>{const l={...n,[s.field.alignText]:c};r(l)},text:n[s.field.text]["en-US"]||"",setText:c=>{const l={...n,[s.field.text]:{"en-US":c}};r(l)},typeFont:n[s.field.type],setTypeFont:c=>{const l={...n,[s.field.type]:c};r(l)},subtitle:s.label});if(s.type==="input")return d.jsx(ar,{onChange:c=>{const l={...n,[s.field]:{"en-US":c}};r(l)},value:n[s.field]["en-US"]||"",label:s.label,placeholder:s.placeholder});if(s.type==="inputNumber")return d.jsx(ar,{onChange:c=>{const l={...n,[s.field]:c};r(l)},value:n[s.field]||"",label:s.label,placeholder:s.placeholder,type:"number"});if(s.type==="inputSwitch")return d.jsxs("div",{className:Po.link,children:[d.jsx(ar,{onChange:c=>{const l={...n,[s.field.text]:{"en-US":c}};r(l)},value:n[s.field.text]["en-US"]||"",label:s.inputLabel,placeholder:s.placeholder}),d.jsx(Or,{current:!!n[s.field.switch]||!1,label:s.switchLabel,onChange:c=>{const l={...n,[s.field.switch]:c};r(l)}})]});if(s.type==="select")return d.jsx(So,{options:s.itemsOptions,onChange:c=>{const l={...n,[s.field]:c};r(l)},label:s.label,value:n[s.field]||"String",leftAddonOptions:s.leftAddonOptions})})})]})}),P9="_title_hvj8m_1",O9="_buttonsBlock_hvj8m_15",M9="_top_hvj8m_26",F9="_modal_hvj8m_120",B9="_options_hvj8m_146",H9="_closeIcon_hvj8m_154",li={title:P9,buttonsBlock:O9,top:M9,modal:F9,options:B9,closeIcon:H9},j9=k.forwardRef((e,t)=>{var S;const{activeButton:n,setActiveButton:r,popupPosition:i,editableLink:a=!0}=e,[u,s]=k.useState(n.typesText),[c,l]=k.useState(n.destination),[f,h]=k.useState(n.page),[g,m]=k.useState(n.link||""),[b,C]=k.useState(n.text||{"en-US":""}),[I,E]=k.useState(n.openInNewTab),{pages:y}=Qr();return vi(t,()=>{r(null)}),k.useEffect(()=>{r({...n,...{text:b,link:g,destination:c,typesText:u,page:f,openInNewTab:I}})},[u,c,g,b,f,I]),d.jsxs("div",{className:li.modal,onClick:T=>{T.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},ref:t,children:[d.jsxs("div",{className:li.top,children:[d.jsx("h3",{className:li.title,children:n.type}),d.jsx("div",{className:li.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>r(null)})})]}),d.jsxs("div",{className:li.options,children:[a&&d.jsx(So,{label:"Destination",onChange:T=>l(T),options:["Go to Page","Open Link"].filter(T=>T!==c),value:c}),a&&(c==="Go to Page"?d.jsx(So,{label:"Go to",onChange:T=>{if(T==="Sign In")h("/customer-dash");else if(y){for(const _ in y)if(y[_].name===T){h(y[_].path);break}}else h(mp[0])},options:y?[...Object.values(y).filter(T=>T.path!==f).map(T=>T.name),"Sign In"]:["Sign In"],value:y?f==="/customer-dash"?"Sign In":((S=Object.values(y).find(T=>T.path===f))==null?void 0:S.name)||"Home":"Home"}):d.jsx(ar,{onChange:T=>m(T),value:g,placeholder:"https://",label:"Link"})),a&&d.jsx(Or,{current:n.openInNewTab,label:"Open in new tab",onChange:T=>E(T)}),d.jsx(vd,{onChange:T=>C({"en-US":T}),value:b["en-US"],label:"Text"}),d.jsx(kd,{typesText:u,setTypesText:s})]})]})}),U9="_wrapper_m18qi_1",V9="_subtitle_m18qi_7",z9="_content_m18qi_14",$9="_range_m18qi_22",q9="_track_m18qi_27",W9="_progress_m18qi_36",G9="_dots_m18qi_46",Z9="_dot_m18qi_46",Y9="_active_m18qi_65",X9="_input_m18qi_77",K9="_countBlock_m18qi_91",J9="_controls_m18qi_107",Q9="_button_m18qi_113",Cn={wrapper:U9,subtitle:V9,content:z9,range:$9,track:q9,progress:W9,dots:G9,dot:Z9,active:Y9,input:X9,countBlock:K9,controls:J9,button:Q9},P2=e=>{const{label:t,min:n=1,max:r=4,step:i=1,count:a,setCount:u}=e,[s,c]=k.useState(!1),l=Array.from({length:(r-n)/i+1}),f=(a-n)/(r-n)*100,h=()=>{a<r&&u(a+i)},g=()=>{a>n&&u(a-i)},m=b=>{const C=n+b*i;u(C)};return d.jsxs("div",{className:Cn.wrapper,children:[t&&d.jsx("h5",{className:Cn.subtitle,children:t}),d.jsxs("div",{className:Cn.content,children:[d.jsxs("div",{className:Cn.range,children:[d.jsx("div",{className:Cn.track}),d.jsx("div",{className:Cn.progress,style:{width:`${f}%`}}),d.jsx("div",{className:Cn.dots,children:l.map((b,C)=>{const I=C<=(a-n)/i;return d.jsx("button",{onClick:()=>m(C),className:ge(Cn.dot,{[Cn.active]:I,[Cn.inactive]:!I,[Cn.dragging]:s}),"aria-label":`Set value to ${n+C*i}`},C)})}),d.jsx("input",{type:"range",min:n,max:r,step:i,value:a,onChange:b=>u(Number(b.target.value)),onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onTouchStart:()=>c(!0),onTouchEnd:()=>c(!1),className:Cn.input})]}),d.jsxs("div",{className:Cn.countBlock,children:[d.jsx(ar,{type:"number",min:n,max:r,paddingless:!0,onChange:b=>{const C=Number(b);C>r?u(r):C<n?u(n):u(C)},value:String(a)}),d.jsxs("div",{className:Cn.controls,children:[d.jsx("button",{onClick:h,disabled:a>=r,className:Cn.button,"aria-label":"Increment count",children:d.jsx(ie,{name:"CaretUp",width:15,height:15})}),d.jsx("button",{onClick:g,disabled:a<=n,className:Cn.button,"aria-label":"Decrement count",children:d.jsx(ie,{name:"CaretDown",width:15,height:15})})]})]})]})]})},eE="_title_11jyy_1",tE="_subtitle_11jyy_5",nE="_productsBlock_11jyy_14",rE="_top_11jyy_26",oE="_products_11jyy_14",iE="_product_11jyy_14",aE="_button_11jyy_80",uE="_buttons_11jyy_114",sE="_modal_11jyy_121",cE="_modalOptions_11jyy_148",lE="_addButton_11jyy_161",dE="_deleteButton_11jyy_176",fE="_closeIcon_11jyy_188",ha={title:eE,subtitle:tE,productsBlock:nE,top:rE,products:oE,product:iE,button:aE,buttons:uE,modal:sE,modalOptions:cE,addButton:lE,deleteButton:dE,closeIcon:fE},O2=({render:e,block:t})=>e(t),M2=({settings:e,pageContext:t})=>{const{footer:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{footer:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock((e==null?void 0:e.blockSettings)||r,t||i)},F2=({settings:e,pageContext:t})=>{const{header:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{header:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock((e==null?void 0:e.blockSettings)||r,t||i)},B2=({settings:e,pageContext:t})=>{const{announcement:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{announcement:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock(e||r,t||i)},hE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,i=localStorage.getItem("shopPassword");if(t&&!i)return null;const a=`${n.storeApi}/v2/shops/${r}/pages/${e}`+(t?`?password=${i}`:"");try{return await st({url:a,withToken:!0,method:"get"})}catch(u){if(ft.isAxiosError(u)&&u.response&&u.response.status===404)return null}},pE="_wrapper_5w9s8_1",mE={wrapper:pE},Ml=e=>{const{error:t}=e;return d.jsx("div",{className:mE.wrapper,children:t})},gE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v1/balance/top-up/${n}`;return await st({url:r,method:"post",body:e,withToken:!1})},Oi=async e=>{const t=Lt.getState().apiUrls;if(!localStorage.getItem("token"))throw new Error("No access token");const r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${t.customersApi}/v2/${r}/customers/${e}`;return await st({url:i,withToken:!0,method:"get",typeToken:"customer"})},bE=()=>Oi("dash/info"),CE=()=>Oi("dash/dashboard/home"),IE=()=>Oi("rewards"),yE=()=>Oi("balance"),EE=()=>Oi("balance/top-up/settings"),SE=()=>Oi("referral-system"),Fl=10,js=async({url:e,PageNumber:t})=>{var s;const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.customersApi}/v2/${r}/${e}?PageNumber=${t}&PageSize=${Fl}`,a=await st({url:i,withToken:!0,method:"get",typeToken:"customer"}),u=Number((s=a.headers)==null?void 0:s["x-pagination-total"]);return{list:a.data,totalCount:u}},Hd=async(e,t="get",n)=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.slApi}/v1/orders/${i}/${e}`;return await st({url:a,method:t,withToken:!0,body:n,typeToken:"customer"})},xE=e=>Hd("","post",e),_E=({PageNumber:e})=>js({url:"customers/orders",PageNumber:e}),TE=e=>Hd(e),wE=e=>Hd(e),AE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v1/${n}/subscriptions`;return await st({url:r,method:"post",withToken:!1,body:e})},kE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/${t}`;return await st({url:i,method:"get",withToken:!1})},vE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/${r}/subscriptions/${e}/${t}/upgrades`;return await st({url:i,method:"get",withToken:!1})},LE=async(e,t,n)=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.slApi}/v1/${i}/subscriptions/${e}/${t}/cancel`;return await st({url:a,method:"post",withToken:!1,body:n})},DE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/change-gateway`;return await st({url:i,method:"post",withToken:!1,body:{gateway:t}})},NE=({PageNumber:e})=>js({url:"customers/subscriptions",PageNumber:e}),RE=async({id:e,accessToken:t})=>await vE(e,t),PE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/order`;return await st({url:i,method:"post",withToken:!1,body:t})},OE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/public/${r}/tickets/${e}/${t}`;return await st({url:i,method:"get",withToken:!1})},ME=async(e,t,n,r,i)=>{const a=Lt.getState().apiUrls,u=zt?localStorage.getItem("fakeDomain"):window.location.hostname,s=`${a.slApi}/v1/public/${u}/tickets/${e}/${t}/answer`;return(await st({url:s,method:"post",body:{message:n,recaptcha:r,tsId:i},withToken:!1})).data},FE=({PageNumber:e})=>js({url:"customers/tickets",PageNumber:e}),BE=({PageNumber:e})=>js({url:"customers/balance/transactions",PageNumber:e}),H2=async e=>{const t=Lt.getState().apiUrls,n=e.map(u=>["names",u]),r=new URLSearchParams(n),i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${t.slApi}/v2/gateways?shopDomain=${i}&${r.toString()}`;return await st({url:a,method:"get",withToken:!1})},j2=async({email:e,recaptcha:t,tsId:n})=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.customersApi}/v2/${i}/auth/otp/request`;return(await st({url:a,body:{email:e,recaptcha:t,tsId:n},method:"post",withToken:!1})).data?{requested:!0,email:e}:{requested:!1,email:void 0}},U2=async({email:e,otp:t,recaptcha:n,tsId:r})=>{const i=Lt.getState().apiUrls,a=zt?localStorage.getItem("fakeDomain"):window.location.hostname,u=`${i.customersApi}/v2/${a}/auth/otp/login`,{data:s}=await st({url:u,method:"post",body:{email:e,otp:t,recaptcha:n,tsId:r},withToken:!1});return Ao.getState().setToken(s.data),localStorage.setItem("token",s.data),{token:s.data,requested:!1}},Bl=async()=>{Ao.getState().setToken(""),localStorage.removeItem("token")},HE=Object.freeze(Object.defineProperty({__proto__:null,loginCustomer:U2,logoutCustomer:Bl,requestOtp:j2},Symbol.toStringTag,{value:"Module"})),jE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v2/coupons/${n}/validate`;return await st({url:r,method:"post",body:e,withToken:!1})},UE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.customersApi}/v2/${n}/customers/referral-system/signup`;return(await st({url:r,withToken:!0,method:"post",body:e,typeToken:"customer"})).data},VE=async()=>{const{data:e}=await SE();return e},zE=async e=>{const{data:t}=await UE(e);return t};async function $E(e){const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.customersApi}/v2/${n}/customers/rewards/${e.id}/claim`;return st({url:r,method:"post",withToken:!0,typeToken:"customer"})}const kc="Balance",qE={Number:"NUMBER",Textarea:"LARGE_TEXT",Checkbox:"CHECK_BOX",Hidden:"HIDDEN"},WE={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:""},U1=(e,t)=>{var l;const{productId:n,productVariantId:r,quantity:i,chargeType:a}=t,u=e.find(f=>f.id===n);if(!u)throw new Error("Product does not exist");const s=u.variants.find(f=>f.id===r);if(!s)throw new Error("Variant does not exist");if(a==="RECURRING"&&!s.subscriptionSettings)throw new Error("Variant does not have subscription settings");if(i!==void 0&&((l=s.quantity)!=null&&l.available)&&s.quantity.available<i)throw new Error("Not enough quantity available");const c=Gr.getState().cart;if(c.parts.length>0){const f=e.find(g=>g.id===c.parts[0].productId),h=f==null?void 0:f.variants.find(g=>g.id===c.parts[0].productVariantId);if(h&&s.price.currency!==h.price.currency)throw new Error("Product have different currency")}return s},GE=(e,t)=>{if(!e.volumeDiscounts||e.volumeDiscounts.length===0)return 0;const n=e.volumeDiscounts.filter(i=>t>=i.amount);return n.length===0?0:n.reduce((i,a)=>a.amount>i.amount?a:i).percentage},ZE=(e,t)=>{let n=0,r=0;return e.forEach(i=>{var g,m;const a=t.find(b=>(b==null?void 0:b.id)===i.productId),u=a==null?void 0:a.variants.find(b=>b.id===i.productVariantId);if(!u)return;const{gateway:s}=Gr.getState().cart,c=(u==null?void 0:u.gateways)||[],l=c.some(b=>b.name===s&&b.overrodePrice)?(g=c.find(b=>b.name===s))==null?void 0:g.overrodePrice:null;let f=0,h=0;if(i.chargeType==="ONE_TIME"?(f=(l==null?void 0:l.amount)||(u==null?void 0:u.price.amount)||0,h=f*i.quantity):h=u!=null&&u.subscriptionSettings?u.subscriptionSettings.price.amount+(((m=u.subscriptionSettings.entryFee)==null?void 0:m.amount)||0):0,n+=h,i.chargeType==="ONE_TIME"){const b=GE(u,i.quantity),C=h*(1-b/100);r+=C}else r+=h}),{total:n,totalWithVolumeDiscounts:r}},YE=(e,t)=>({isRequired:t.some(r=>{var a;const i=e.find(u=>(u==null?void 0:u.id)===r.productId);return(a=i==null?void 0:i.variants.find(u=>u.id===r.productVariantId))==null?void 0:a.discordSettings.isRequired}),isEnabled:t.some(r=>{var a;const i=e.find(u=>(u==null?void 0:u.id)===r.productId);return(a=i==null?void 0:i.variants.find(u=>u.id===r.productVariantId))==null?void 0:a.discordSettings.isEnabled})}),V1=e=>new Set(e.gateways.map(t=>t.name)),vc={availableGateways:[],requiresSignInGateways:[]},z1=(e,t)=>{if(t.length===0)return vc;const n=e[0];if(!n)return vc;const r=t.find(s=>s.id===n.productId),i=r==null?void 0:r.variants.find(s=>s.id===n.productVariantId);if(!i)return vc;const a=V1(i);for(const s of e){const c=t.find(h=>h.id===s.productId);if(!c)continue;const l=c.variants.find(h=>h.id===s.productVariantId);if(!l)continue;const f=V1(l);for(const h of a)f.has(h)||a.delete(h)}return!localStorage.getItem("token")&&a.has(kc)?(a.delete(kc),{availableGateways:[...a],requiresSignInGateways:[kc]}):{availableGateways:[...a],requiresSignInGateways:[]}},XE=(e,t)=>{if(e.length===0)return[];const r=e.map(a=>{const u=t.find(c=>c.id===a.productId),s=u==null?void 0:u.variants.find(c=>c.id===a.productVariantId);return(s==null?void 0:s.customFields)??[]}).flat().reduce((a,u)=>{const s=a[u.name];return s?(u.required&&!s.required&&(a[u.name]={...u,value:u.defaultValue}),a):(a[u.name]={...u,value:u.defaultValue},a)},{});return Object.values(r).map(a=>({...a,value:""}))},KE=(e,t)=>{const n=t.find(i=>i.id===e.productId),r=n==null?void 0:n.variants.find(i=>i.id===e.productVariantId);return e.chargeType==="RECURRING"?!!(r!=null&&r.subscriptionSettings):!1},JE=()=>{const{cart:e,products:t,coupon:n,pending:r,applyCouponPending:i,customerEmail:a,setCart:u,setProducts:s,setCoupon:c,setPending:l,setApplyCouponPending:f}=Gr(),h=async C=>{var x;f(!0);const{cart:I}=Gr.getState(),{gateway:E,parts:y}=I,{notifications:S,setNotifications:T}=fn.getState();E||(f(!1),T([...S,{message:"There should be a gateway for the coupon",status:"error",id:mt()}]));const _=y.map(M=>M.productId);let v=null;try{const{data:M}=await jE({gateway:E,couponName:C,productIds:_});v=M.data,T([...S,{message:"Coupon is applied",status:"success",id:mt()}]),u(H=>({...H,coupon:C}))}catch(M){const H=M;T([...S,{message:`Coupon is not applied: ${H.message}`,status:"error",id:mt()}]),u(A=>({...A,coupon:null})),c(null),f(!1)}if(f(!1),(x=v==null?void 0:v.restrictToProductIds)!=null&&x.length&&!_.every(M=>{var H;return(H=v==null?void 0:v.restrictToProductIds)==null?void 0:H.includes(M)}))throw new Error("Coupon can't be applied to such products");return c(v),v},b={reset(){u({...WE})},addProducts:C=>{const I=Gr.getState().products,E=C.filter(y=>!I.some(S=>S.id===y.id));s([...I,...E])},addProductToCart:C=>{const I=Gr.getState().cart;try{U1(t,C)}catch(y){throw new Error(y)}const E=I.parts.find(y=>y.productId===C.productId&&y.productVariantId===C.productVariantId&&y.chargeType===C.chargeType);if(E)return b.updateQuantityOfProduct({...E,quantity:(E.quantity||1)+(C.quantity||1),chargeType:C.chargeType});if(I.parts.length&&z1([...I.parts,C],t).availableGateways.length===0)throw new Error("No common payment gateways available");u({...I,parts:[...I.parts,C]}),I.coupon&&h(I.coupon)},removeProduct({productId:C,productVariantId:I}){u(E=>({...E,parts:E.parts.filter(y=>y.productId!==C||y.productVariantId!==I)})),e.coupon&&h(e.coupon)},getPossibleGateways(){return z1(e.parts,t)},removeCoupon(){c(null)},getDiscordSettings(){return YE(t,e.parts)},updateQuantityOfProduct(C){U1(t,C),u(I=>({...I,parts:I.parts.map(E=>E.productId===C.productId&&E.productVariantId===C.productVariantId?{...E,quantity:C.quantity,chargeType:C.chargeType}:E)})),e.coupon&&h(e.coupon)},getTotalAndDiscount(){const{coupon:C}=Gr.getState(),{total:I,totalWithVolumeDiscounts:E}=ZE(e.parts,t);let y;const S=E;return C&&C.discount?!C.isFixed&&C.discount===100?y=0:y=C.isFixed?Math.max(0,S-C.discount):S*(1-C.discount/100):E!==I&&(y=E),{total:I,totalWithVolumeDiscounts:E!==I?E:void 0,totalWithDiscount:y}},setGateway(C){u(E=>({...E,gateway:C}));const{isAntistock:I}=gt.getState();e.coupon&&!I&&h(e.coupon)},setPaymentMethod(C){u(I=>({...I,paymentMethod:C}))},async submitCart(C){l(!0);const{cart:I}=Gr.getState(),{discordInfo:E}=t2.getState();let y;if(I.parts&&a&&KE(I.parts[0],t))try{const{data:S}=await AE({...I,partOrder:I.parts[0],referralCode:localStorage.getItem("referralCode"),discordSocialConnectId:E!=null&&E.authorized?E.id:null,customerEmail:a,recaptcha:C,customFields:{...I.customFields},tsId:xo()});y=S.data}catch(S){console.error(S)}else try{const{data:S}=await xE({...I,referralCode:localStorage.getItem("referralCode"),recaptcha:C,customFields:{...I.customFields},tsId:xo(),discordSocialConnectId:E!=null&&E.authorized?E.id:null});y=S.data}catch(S){const T=S,{notifications:_,setNotifications:v}=fn.getState();v([..._,{message:`Failed to create order: ${T.message}`,status:"error",id:mt()}])}if(l(!1),y)return y;throw new Error("Failed to create order")},setDiscordSocialConnectId(C){u(I=>({...I,discordSocialConnectId:C}))},setCustomFields(C){u(I=>({...I,customFields:{...C}}))}};return k.useEffect(()=>{u(C=>({...C,customerEmail:a??""}))},[a,u]),{cart:e,products:t,coupon:n,pending:r,applyCouponPending:i,applyCoupon:h,...b}},Us=()=>{const{notifications:e,setNotifications:t}=fn();return n=>{navigator.clipboard.writeText(n),t([...e,{status:"success",message:"Successfully copied",id:mt()}])}};function V2(e,t=!0){if(!e||typeof e!="string")return"";if(/<[a-z][\s\S]*>/i.test(e))return e;const r=e.split(" "),i=20;if(t){let a="",u=[];return r.forEach(s=>{s.length>i?(u.length>0&&(a+=`<span style="hyphens: manual">${u.join(" ")} </span>`,u=[]),a+=`<span style="hyphens: auto" lang="en">${s} </span>`):u.push(s)}),u.length>0&&(a+=`<span style="hyphens: manual">${u.join(" ")}</span>`),a}else{const a=[];let u=[],s=0;return r.forEach(c=>{c.length>i?(u.length>0&&(a.push(d.jsxs("span",{style:{hyphens:"manual"},children:[u.join(" ")," "]},s++)),u=[]),a.push(d.jsxs("span",{style:{hyphens:"auto"},lang:"en",children:[c," "]},s++))):u.push(c)}),u.length>0&&a.push(d.jsx("span",{style:{hyphens:"manual"},children:u.join(" ")},s++)),a}}const QE=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,setIsOpenModal:a,itemsOptions:u}=e,s=u.find(c=>c.id===n.listingId);return vi(t,()=>{r(null),a(!1)}),s?d.jsxs("div",{className:ha.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:ha.top,children:[d.jsx("h3",{dangerouslySetInnerHTML:{__html:V2(s.productData.name)}}),d.jsx("div",{className:ha.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{a(!1),r(null)}})})]}),d.jsx("div",{className:ha.modalOptions,children:d.jsx(Xa,{label:"Put up an attractive image",activeImage:s.productData.images.length>0?s.productData.images[0].cfId:n.image?n.image:void 0,onChange:c=>{const l={...n,image:c[0]};r(l)}})})]}):null}),eS="_wrapper_ipyfg_1",tS="_label_ipyfg_9",nS="_input_ipyfg_18",rS="_disabled_ipyfg_31",oS="_paddingless_ipyfg_36",iS="_content_ipyfg_47",aS="_contentBorder_ipyfg_60",uS="_contentField_ipyfg_65",sS="_contentIsAntistock_ipyfg_69",cS="_borderless_ipyfg_74",lS="_rightIcon_ipyfg_79",dS="_leftIcon_ipyfg_87",fS="_requiredStar_ipyfg_94",wn={wrapper:eS,label:tS,input:nS,disabled:rS,paddingless:oS,content:iS,contentBorder:aS,contentField:uS,contentIsAntistock:sS,borderless:cS,rightIcon:lS,leftIcon:dS,requiredStar:fS},Zo=e=>{const{onChange:t,style:n,label:r,value:i,type:a="text",min:u,max:s,placeholder:c,disabled:l=!1,required:f=!1,regex:h,paddingless:g=!1,borderless:m=!1,editable:b=!1,isSearch:C=!1,centered:I=!1,maxSymbols:E,rightIcon:y,onFocus:S,leftIcon:T}=e,{themeSettings:_}=Eo(),{isAntistock:v}=gt(),{inputs:x}=_,[M,H]=k.useState(!1);function A(F){if(Number(F)<0)return String(u);const W=F.replace(/[^\d-]/g,"");return Number(W)<0?String(u):W}function j(F){if(!f||!h)return!0;try{return new RegExp(h).test(F)}catch(W){return console.error("Invalid regex pattern:",h,W),!0}}return d.jsxs("div",{className:wn.wrapper,children:[r&&d.jsxs("label",{className:wn.label,htmlFor:r,style:{color:v?"var(--text-secondary)":void 0},children:[r,f&&d.jsx("span",{className:wn.requiredStar,children:"*"})]}),d.jsxs("div",{className:ge(wn.content,{[wn.contentBorder]:!v&&x.border.active,[wn.contentField]:x.field.active,[wn.disabled]:l,[wn.contentIsAntistock]:v}),style:{...n},children:[T&&d.jsx("div",{className:wn.leftIcon,children:T}),d.jsx("input",{maxLength:E,id:r,type:a||"text",onChange:F=>{if(a==="text")t(F.target.value);else{const W=A(F.target.value);t(W)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(wn.input,{[wn.required]:M&&f&&!j(i),[wn.paddingless]:g,[wn.borderless]:m}),min:a==="number"?u:void 0,max:a==="number"?s:void 0,onFocus:()=>{S==null||S(),H(!0)},disabled:l,style:{textAlign:I?"center":"left",padding:C?`7px ${Number(x.general.size)+20}px 7px ${T?35:11}px`:v?`4.5px ${y?35:11}px 4px ${T?35:11}px`:`7px ${y?35:11}px 7px ${T?35:11}px`}}),y&&d.jsx("div",{className:wn.rightIcon,children:y}),C&&d.jsx("div",{className:wn.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:x.general.size,height:x.general.size})}),b&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})},hS="_button_jptux_1",pS="_primary_jptux_20",mS="_primaryHovered_jptux_30",gS="_secondary_jptux_35",bS="_secondaryHovered_jptux_45",CS="_secondaryAntistock_jptux_50",IS="_tertiary_jptux_61",yS="_special_jptux_71",ES="_tertiaryHovered_jptux_75",SS="_content_jptux_80",xS="_isAntistock_jptux_88",dr={button:hS,primary:pS,primaryHovered:mS,secondary:gS,secondaryHovered:bS,secondaryAntistock:CS,tertiary:IS,special:yS,tertiaryHovered:ES,content:SS,isAntistock:xS},_S=()=>typeof document<"u"?document.documentElement.hasAttribute("translated")||document.documentElement.querySelector(".translated-ltr, .translated-rtl")!==null||document.head.querySelector('meta[name="_translator"]')!==null:!1,z2=({children:e,className:t,as:n="span",...r})=>{const[i,a]=k.useState(!1);return k.useEffect(()=>{typeof window<"u"&&a(_S())},[]),i?d.jsx(n,{className:t,...r,"data-stable-text":e,dangerouslySetInnerHTML:{__html:""}}):d.jsx(n,{className:t,...r,children:e})},wt=e=>{const{children:t,onClick:n,style:r,className:i,disabled:a=!1,type:u="Primary",dangerouslySetInnerHTML:s}=e,{themeSettings:c}=Eo(),{isAntistock:l}=gt(),f=C=>typeof C=="string"?d.jsx(z2,{children:C}):C,h={onClick:n,disabled:a,style:r,className:ge(dr.button,i,{[dr.primary]:u==="Primary",[dr.secondary]:u==="Secondary"&&!l,[dr.secondaryAntistock]:u==="Secondary"&&l,[dr.tertiary]:u==="Tertiary",[dr.primaryHovered]:u==="Primary"&&!a&&c.buttons.primary.hover&&!l,[dr.secondaryHovered]:u==="Secondary"&&!a&&c.buttons.secondary.hover&&!l,[dr.tertiaryHovered]:u==="Tertiary"&&!a&&c.buttons.tertiary.hover&&!l,[dr.isAntistock]:l})};if(u==="Special")return d.jsx("button",{...h,className:dr.special,...s?{dangerouslySetInnerHTML:s}:{children:f(t)}});const g=u.toLowerCase(),m=c.buttons[g],b=u==="Tertiary"?d.jsxs("div",{className:dr.content,children:[f(t),d.jsx(ie,{name:"ArrowRight",fill:"var(--text-tertiary)",width:20,height:20})]}):f(t);return d.jsx("button",{...h,style:{...r,textAlign:m.alignment},...s?{dangerouslySetInnerHTML:s}:{children:b}})},TS="_modal_1iz94_1",wS="_padding_1iz94_17",AS="_content_1iz94_21",kS="_close_1iz94_42",xu={modal:TS,padding:wS,content:AS,close:kS},Vs=e=>{const{close:t,children:n,withAnimation:r=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:u}=eo(),{themeSettings:s}=Eo(),{isAntistock:c}=qd(),l=h=>{const g=h.replace("#","");if(!/^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(g))return console.warn("Invalid hex color:",h),h;let m=g;return g.length===3&&(m=g.split("").map(b=>b+b).join("")),`#${m}e6`},f=()=>{u(!1),r?setTimeout(()=>{t(!1),u(!0)},300):(t(!1),u(!0))};return k.useEffect(()=>{const h=g=>{g.key==="Escape"&&f()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[]),Ho.createPortal(d.jsx("div",{className:ge(xu.modal,{[xu.padding]:i}),style:{backgroundColor:c?l(s.colors.surface.primary):void 0},onClick:f,children:r?d.jsx("div",{className:ge(xu.content,{[xu.close]:!a}),children:n}):d.jsx(d.Fragment,{children:n})}),document.body)},vS="_loader_1kbu3_1",LS="_loaderAntistock_1kbu3_18",$1={loader:vS,loaderAntistock:LS},Nn=e=>{const{isAntistock:t}=gt();return t?d.jsx("span",{className:$1.loaderAntistock,style:{width:"15px",height:"15px",borderWidth:"2px"}}):d.jsx("div",{className:$1.loader,...e})},DS="_container_6vcrl_1",NS="_wrapper_6vcrl_5",q1={container:DS,wrapper:NS};class RS{constructor(){Wi(this,"observer",null);Wi(this,"callbacks",new Map);Wi(this,"handleWindowResize",()=>{this.callbacks.forEach((t,n)=>{const r=n.getBoundingClientRect().width;t.forEach(i=>i(r))})});this.observer=new ResizeObserver(t=>{var n;for(const r of t){const i=r.contentRect.width,a=r.target;this.callbacks.has(a)&&((n=this.callbacks.get(a))==null||n.forEach(u=>u(i)))}}),window.addEventListener("resize",this.handleWindowResize)}observe(t,n){var i;if(!this.observer)return;this.callbacks.has(t)||(this.callbacks.set(t,[]),this.observer.observe(t)),(this.callbacks.get(t)||[]).includes(n)||(i=this.callbacks.get(t))==null||i.push(n)}unobserve(t,n){var r;if(!(!this.observer||!this.callbacks.has(t))){if(n){const i=this.callbacks.get(t)||[];this.callbacks.set(t,i.filter(a=>a!==n))}(r=this.callbacks.get(t))!=null&&r.length||(this.callbacks.delete(t),this.observer.unobserve(t))}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callbacks.clear(),window.removeEventListener("resize",this.handleWindowResize)}}const W1=new RS;function $2(e){const[t,n]=k.useState("desktop");return k.useEffect(()=>{const r=e.current;if(!r)return;const i=s=>s>=1081?"desktop":s>=720?"tablet":"mobile",a=s=>{const c=i(s);n(c)};W1.observe(r,a);const u=r.getBoundingClientRect().width;return a(u),()=>{W1.unobserve(r,a)}},[e]),t}const _u=16,q2=({children:e,padding:t,style:n,notPadding:r=!1,maxWidth:i="var(--max-width-store)"})=>{const a=k.useRef(null),u=$2(a);return d.jsx("div",{className:q1.container,ref:a,style:n,children:d.jsx("div",{className:q1.wrapper,style:{maxWidth:i,paddingTop:u==="desktop"?t==null?void 0:t.top:r?0:_u,paddingBottom:u==="desktop"?t==null?void 0:t.bottom:r?0:_u,paddingLeft:u==="desktop"?t==null?void 0:t.left:r?0:_u,paddingRight:u==="desktop"?t==null?void 0:t.right:r?0:_u,...n},children:e(u)})})},PS="_wrapper_d9z4o_1",OS="_label_d9z4o_10",MS="_contentBorder_d9z4o_19",FS="_textarea_d9z4o_23",BS="_contentField_d9z4o_35",HS="_antistock_d9z4o_49",jS="_length_d9z4o_58",ro={wrapper:PS,label:OS,contentBorder:MS,textarea:FS,contentField:BS,antistock:HS,length:jS},US=e=>{const{onChange:t,label:n,value:r,maxLength:i,placeholder:a="Type something...",type:u="text",required:s=!1}=e,[c,l]=k.useState(r.length),{themeSettings:f}=Eo(),{isAntistock:h}=gt();function g(m){return u==="number"?m.replace(/[^\d\n]+/g,""):m}return d.jsxs("div",{className:ro.wrapper,children:[n&&d.jsxs("label",{className:ro.label,htmlFor:n,style:{color:h?"var(--text-secondary)":void 0},children:[n,s&&d.jsx("span",{className:ro.requiredStar,children:"*"})]}),d.jsx("textarea",{id:n,value:r,onChange:m=>{const b=g(m.target.value);l(b.length),t(b)},placeholder:a,className:ge(ro.textarea,{[ro.contentBorder]:f.inputs.border.active,[ro.contentField]:f.inputs.field.active,[ro.antistock]:h}),maxLength:i}),i&&d.jsxs("div",{className:ro.length,children:[c,"/",i]})]})},VS="_wrapper_ty9h3_2",zS="_label_ty9h3_9",$S="_top_ty9h3_17",qS="_select_ty9h3_23",WS="_borderFocused_ty9h3_42",GS="_input_ty9h3_49",ZS="_icon_ty9h3_59",YS="_rotate_ty9h3_64",XS="_content_ty9h3_68",KS="_options_ty9h3_72",JS="_filteredOptions_ty9h3_93",QS="_open_ty9h3_97",ex="_option_ty9h3_72",tx="_focused_ty9h3_115",nx="_addon_ty9h3_119",rx="_value_ty9h3_130",ox="_postfix_ty9h3_135",ix="_leftAddon_ty9h3_139",en={wrapper:VS,label:zS,top:$S,select:qS,borderFocused:WS,input:GS,icon:ZS,rotate:YS,content:XS,options:KS,filteredOptions:JS,open:QS,option:ex,focused:tx,addon:nx,value:rx,postfix:ox,leftAddon:ix};function ax(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const W2=e=>{var M,H;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null);ax(E,()=>f(!1));function y(A){g(""),t(A),f(!1),b(null)}function S(A,j){return A?A.length>j+3?`${A.slice(0,j)}...`:A:""}function T(A){if(!l){(A.key==="Enter"||A.key==="ArrowDown")&&f(!0);return}const j=x;A.key==="ArrowDown"&&(A.preventDefault(),b(F=>F===null||F===j.length-1?0:F+1)),A.key==="ArrowUp"&&(A.preventDefault(),b(F=>F===null||F===0?j.length-1:F-1)),A.key==="Enter"&&m!==null&&(A.preventDefault(),y(j[m])),A.key==="Escape"&&f(!1)}const _=k.useRef(null),v=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:2}),[i]),x=k.useMemo(()=>C&&h.trim()!==""?v.search(h).map(A=>A.item):i,[h,i,C,v]);return d.jsxs("div",{className:en.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:en.top,children:[d.jsx("label",{className:en.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:en.content,ref:E,children:[d.jsxs("div",{className:ge(en.select,{[en.borderFocused]:l}),onKeyDown:T,onClick:A=>{A.stopPropagation(),f(j=>!j),I(!1)},ref:_,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:en.addon,children:(M=c.find(A=>A.value===r))==null?void 0:M.addon}),d.jsx("div",{className:en.input,id:"md",children:S(r,15)}),d.jsx("div",{className:ge(en.icon,{[en.rotate]:l}),onClick:A=>{A.stopPropagation(),f(j=>!j)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16,fill:"var(--text-primary)"})})]}),d.jsxs("div",{className:ge(en.options,{[en.open]:l}),style:{top:((H=_.current)==null?void 0:H.clientHeight)+10},children:[i.length>6&&d.jsx(Zo,{type:"text",value:h,placeholder:"Search...",onChange:A=>{g(A),I(!0)},isSearch:!0}),d.jsxs("div",{className:en.filteredOptions,children:[x.map((A,j)=>{var F;return d.jsxs("div",{className:ge(en.option,{[en.focused]:j===m}),onClick:()=>{y(A),f(!1)},id:"md",children:[c&&c.length>0&&d.jsx("div",{className:en.leftAddon,children:(F=c.find(W=>W.value===A))==null?void 0:F.addon}),d.jsx("span",{className:en.value,id:"md",children:S(A,20)}),s&&d.jsx("span",{className:en.postfix,id:"md",children:s[j]})]},A)}),x.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})},ux="_wrapper_2vleg_1",sx="_label_2vleg_9",cx="_options_2vleg_17",lx="_radioLabel_2vleg_23",dx="_radio_2vleg_23",fx="_custom_2vleg_38",hx="_option_2vleg_17",Do={wrapper:ux,label:sx,options:cx,radioLabel:lx,radio:dx,custom:fx,option:hx},px=e=>{const{defaultValue:t,options:n,onChange:r,label:i,flexDirection:a="row"}=e,[u,s]=k.useState(t),c=l=>{const f=l.target.value;s(f),r(f)};return d.jsxs("div",{className:Do.wrapper,children:[d.jsx("span",{className:Do.label,children:i}),d.jsx("div",{className:Do.options,style:{flexDirection:a},children:n.map(l=>d.jsxs("label",{className:Do.radioLabel,children:[d.jsx("input",{type:"radio",value:l.value,checked:u===l.value,onChange:c,className:Do.radio}),d.jsx("span",{className:Do.custom}),d.jsx("span",{className:Do.option,children:l.label})]},l.value))})]})},mx="_content_eonwv_1",gx="_main_eonwv_12",bx="_block_eonwv_16",Cx="_active_eonwv_22",Ix="_name_eonwv_32",yx="_addSection_eonwv_109",Ex="_addSectionTop_eonwv_117",oo={content:mx,main:gx,block:bx,active:Cx,name:Ix,addSection:yx,addSectionTop:Ex},Sx="_sidebar_xhqpt_1",xx="_content_xhqpt_14",_x="_button_xhqpt_24",Tx="_moveButton_xhqpt_40",wx="_deleteButton_xhqpt_49",Tr={sidebar:Sx,content:xx,button:_x,moveButton:Tx,deleteButton:wx},Ax=()=>{var _;const{activeBlock:e,setActiveBlock:t}=vs(),{blocks:n,removeBlock:r,moveBlock:i,duplicateBlock:a,setCurrentBlock:u}=Yr(),{currentPage:s,pages:c}=Qr(),{setTitle:l,setDescription:f,setOnConfirm:h}=Ip(),{setActiveBlock:g}=Wo(),m=(_=c==null?void 0:c[s])==null?void 0:_.path,b=m?n[m]:null,C=(b==null?void 0:b.order)||[],I=C.indexOf(e.id),E=v=>{v.stopPropagation(),I>0&&m&&(i(m,I,I-1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},y=v=>{v.stopPropagation(),I<C.length-1&&m&&(i(m,I,I+1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},S=v=>{v.stopPropagation(),m&&a(m,e.id)},T=()=>{m&&(r(m,e.id),u(null),g(null),t({id:null,neededScroll:!1}))};return d.jsx("div",{className:Tr.sidebar,children:d.jsxs("div",{className:Tr.content,children:[d.jsx("button",{onClick:E,className:ge(Tr.button,Tr.moveButton),disabled:I===0,children:d.jsx(ie,{name:"ArrowUp"})}),d.jsx("button",{onClick:y,className:ge(Tr.button,Tr.moveButton),disabled:I===C.length-1,children:d.jsx(ie,{name:"ArrowDown"})}),d.jsx("button",{onClick:S,className:ge(Tr.button,Tr.moveButton),children:d.jsx(ie,{name:"Copy"})}),d.jsx("button",{className:ge(Tr.button,Tr.deleteButton),onClick:v=>{v.stopPropagation(),l("Remove Block"),f(`Are you sure you want to delete ${(b==null?void 0:b.data[e.id].name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),h(T)},children:d.jsx(ie,{name:"Trash",hoverable:!0,fill:"#C12A2A"})})]})})};function pa(e,t){if(!t||!t[e])return"unknown name";const n=new t[e];return!n.blockSettings||!n.blockSettings.displayName?"unknown name":n.blockSettings.displayName}const kx=k.memo(({scrollableRef:e})=>{const{setActiveBlock:t,activeBlock:n,zoomLevel:r}=vs(),{blocks:i,sourceBlocks:a}=Wo(),{blocks:u,setCurrentBlock:s,currentBlock:c,setPositionBlock:l,announcement:f}=Yr(),{settings:h}=Ga(),{currentPage:g,pages:m,pageContext:b}=Qr(),{activeBlock:C,setActiveBlock:I}=Eo(),{setError:E}=Cp(),{setActiveBlock:y}=Wo(),S=k.useRef(n.id),T=k.useRef({});k.useEffect(()=>{if(n.id&&n.neededScroll&&T.current[n.id]){const x=T.current[n.id];if(x&&e.current){const M=x.offsetTop;e.current.scrollTo({top:M-30,behavior:"smooth"})}}},[n,e]);const _=Jr();k.useEffect(()=>{S.current=n.id},[n.id]);const v=x=>{if(!x||!x.name)return E({message:"Block or block.name is undefined.",failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Ml,{error:"Block or block.name is undefined."});if(!i||!i[x.name])return E({message:'Block "${block.name}" does not exist in blocks.',failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Ml,{error:`Block "${x.name}" does not exist in blocks.`});const M=new i[x.name];return x.value&&Object.assign(M,x.value),M.renderBlock(h,b)};return d.jsxs("div",{onClick:x=>{x.stopPropagation()},className:oo.content,style:{width:"100%",height:"100%",zoom:`${r}`},ref:e,children:[f&&d.jsx(B2,{}),d.jsx(F2,{}),d.jsx("div",{className:oo.main,children:m&&m[g]&&u[m[g].path]&&u[m[g].path].data&&u[m[g].path].order.map(x=>d.jsxs("div",{ref:M=>T.current[x]=M,onClick:M=>{M.stopPropagation(),y(null),C&&I(null),t({id:x,neededScroll:!0}),setTimeout(()=>{t({id:x,neededScroll:!1})},100),s(null),c?setTimeout(()=>{s(n.id)},100):s(n.id)},onMouseEnter:M=>{M.stopPropagation(),n.neededScroll||t({id:x,neededScroll:!1})},onMouseLeave:M=>{M.stopPropagation(),n.neededScroll||t({id:null,neededScroll:!1})},className:ge(oo.block),children:[(n.id===x||c===x)&&d.jsx("div",{className:oo.active}),(n.id===x||c===x)&&d.jsx("div",{className:oo.name,children:pa(u[m[g].path].data[x].name,a)}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx(Ax,{}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx("div",{className:oo.addSection,children:d.jsx(Ei,{onClick:M=>{M.stopPropagation(),l(x,!0),s(null),t({id:null,neededScroll:!1}),y(null),_("/admin/builder/add")},children:"Add Section"})}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx("div",{className:ge(oo.addSection,oo.addSectionTop),children:d.jsx(Ei,{onClick:M=>{M.stopPropagation(),l(x,!1),s(null),t({id:null,neededScroll:!1}),y(null),_("/admin/builder/add")},children:"Add Section"})}),i&&d.jsx(O2,{render:v,block:u[m[g].path].data[x]})]},x))}),d.jsx(M2,{})]})}),vx="_statItem_fzeec_1",Lx="_content_fzeec_44",Dx="_withChildren_fzeec_50",Nx="_info_fzeec_56",Rx="_iconWrapper_fzeec_68",Px="_text_fzeec_78",Ox="_title_fzeec_84",Mx="_value_fzeec_88",Fx="_emptyImage_fzeec_94",Bx="_image_fzeec_11",Hx="_imageTitle_fzeec_112",jx="_emptyImageText_fzeec_122",Ux="_hoverable_fzeec_147",Wt={statItem:vx,content:Lx,withChildren:Dx,info:Nx,iconWrapper:Rx,text:Px,title:Ox,value:Mx,emptyImage:Fx,image:Bx,imageTitle:Hx,emptyImageText:jx,hoverable:Ux},er=({iconName:e,title:t,value:n,image:r,imageName:i,children:a,className:u,logo:s,customLogo:c,productSlug:l})=>{const f=Jr();return d.jsxs("div",{className:`${Wt.statItem} ${u}`,children:[r&&r!=="empty"&&d.jsxs("div",{style:{position:"relative"},onClick:()=>{l&&f(`/${l}`)},children:[d.jsx("div",{style:{background:"#000000"},children:d.jsx("img",{src:r,alt:i,className:ge(Wt.image,Wt.emptyImage,{[Wt.hoverable]:l})})}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:ge(Wt.title,Wt.imageTitle),id:"h5",children:i})})]}),r==="empty"&&d.jsx("div",{style:{background:"#000000"},children:d.jsxs("div",{className:ge(Wt.emptyImage,{[Wt.hoverable]:l}),onClick:()=>{l&&f(`/${l}`)},children:[d.jsx(ie,{name:"Image",width:64,height:64,fill:"var(--text-secondary)"}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:Wt.title,id:"h5",children:i||"No Product"})})]})}),d.jsxs("div",{className:`${Wt.content} ${a?Wt.withChildren:""}`,children:[d.jsxs("div",{className:Wt.info,children:[c?d.jsx("div",{style:{color:"var(--text-action)"},children:c}):s?d.jsx("div",{className:Wt.iconWrapper,children:d.jsx("img",{src:s,width:28,height:28,style:{objectFit:"contain"}})}):d.jsx(ie,{name:e||"File",className:Wt.iconWrapper,width:28,height:28,fill:"var(--text-action)"}),d.jsxs("div",{className:Wt.text,children:[d.jsx("div",{className:Wt.title,id:"h5",children:t}),d.jsx("div",{className:Wt.value,id:"h5-bold",children:n})]})]}),a]})]})},Vx="_card_8m277_2",zx="_mobile_8m277_15",$x="_email_8m277_19",qx="_balance_8m277_25",Wx="_sidebar_8m277_32",Gx="_sidebarAntistock_8m277_33",Zx="_navList_8m277_68",Yx="_navListAntistock_8m277_86",Xx="_navItem_8m277_91",Kx="_antistockNavItem_8m277_92",Jx="_activeNavItem_8m277_116",Qx="_antistockActiveNavItem_8m277_121",e_="_antistockInactiveNavItem_8m277_139",t_="_inactiveNavItem_8m277_140",n_="_logoutNavItem_8m277_150",r_="_logoutNavItemAntistock_8m277_159",o_="_logoutNavItemContentAntistock_8m277_173",i_="_iconWrapper_8m277_185",a_="_skeleton_8m277_190",St={card:Vx,mobile:zx,email:$x,balance:qx,sidebar:Wx,sidebarAntistock:Gx,navList:Zx,navListAntistock:Yx,navItem:Xx,antistockNavItem:Kx,activeNavItem:Jx,antistockActiveNavItem:Qx,antistockInactiveNavItem:e_,inactiveNavItem:t_,logoutNavItem:n_,logoutNavItemAntistock:r_,logoutNavItemContentAntistock:o_,iconWrapper:i_,skeleton:a_},u_=({email:e,balance:t,adaptiveStyles:n})=>d.jsxs("div",{className:ge(St.card,{[St.mobile]:n!=="desktop"}),children:[d.jsx("div",{className:St.email,id:"h5",children:e}),d.jsxs("div",{className:St.balance,id:"md",children:["Balance: ",t]})]}),s_=[[Vt.Home,"House"],[Vt.Orders,"CurrencyCircleDollar"],[Vt.Rewards,"Medal"],[Vt.Balance,"Wallet"],[Vt.Subscriptions,"CalendarCheck"],[Vt.Tickets,"Question"]],c_=[[la.Home,"House"],[la.Orders,"CurrencyCircleDollar"],[la.Balance,"Wallet"],[la.Tickets,"Question"]],G1=({children:e,className:t="",onClick:n})=>{const{isAntistock:r}=gt();return d.jsx("button",{type:"button",className:ge(r?St.antistockNavItem:St.navItem,t),onClick:n,children:e})},l_=({adaptiveStyles:e})=>{const{route:t,setRoute:n}=sr(),{resetPage:r}=Xo(),{isAntistock:i}=gt(),a=i?c_:s_,u=s=>{t!==s&&r(),n(s)};return d.jsxs("div",{className:ge(St.navList,{[St.mobile]:e!=="desktop",[St.navListAntistock]:i}),children:[a.map(([s,c])=>{const l=s===t;return d.jsxs(G1,{onClick:()=>u(s),className:ge(l?i?St.antistockActiveNavItem:St.activeNavItem:i?St.antistockInactiveNavItem:St.inactiveNavItem),children:[i?null:d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:c})}),d.jsx("div",{children:s})]},s)}),d.jsx(G1,{className:ge(St.logoutNavItem,{[St.logoutNavItemAntistock]:i}),onClick:()=>{i||Bl()},children:i?d.jsxs("div",{className:ge({[St.logoutNavItemContentAntistock]:i}),onClick:()=>{Bl()},children:[d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]})})]})};var Ze=(e=>(e.New="NEW",e.Pending="PENDING",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Expired="EXPIRED",e.FullDeliveryFailure="FULL_DELIVERY_FAILURE",e.PartiallyDelivered="PARTIALLY_DELIVERED",e.Refunded="REFUNDED",e.Failed="FAILED",e))(Ze||{}),at=(e=>(e.Text="TEXT",e.Serial="SERIALS",e.Ebook="EBOOK",e.Link="LINK",e.Download="DOWNLOAD",e.Discord="DISCORD",e.Custom="CUSTOM",e))(at||{}),qr=(e=>(e.RIAL="RIAL",e.AWAITING_PAYMENT="AWAITING_PAYMENT",e.ACTIVE="ACTIVE",e.PAST_DUE="PAST_DUE",e.CANCELLED="CANCELLED",e.EXPIRED="EXPIRED",e.CHANGED_GATEWAY="CHANGED_GATEWAY",e.REPLACED="REPLACED",e))(qr||{});const eu=async e=>(await H2(e)).data,G2=async()=>{var n;const t=(await EE()).data;if(t.isEnabled){const r=(n=t==null?void 0:t.topUpSettings)==null?void 0:n.gateways;r&&eu(r)}return t},jd=async()=>{const t=(await yE()).data;return{amount:t.realBalance+t.manualBalance,currency:t.currency}};var ma=(e=>(e.ADDED="ADDED",e.REMOVED="REMOVED",e))(ma||{}),Xe=(e=>(e.NotPaid="NOT_PAID",e.Pending="PENDING",e.Paid="PAID",e.Expired="EXPIRED",e.Cancelled="CANCELLED",e.Refunded="REFUNDED",e))(Xe||{}),Ma=(e=>(e.Balance="BALANCE",e.Product="PRODUCT",e))(Ma||{}),Zn=(e=>(e.Spend="SPEND_AMOUNT",e.Order="ORDER_COUNT",e.Referral="REFER_FRIEND",e.Review="LEAVE_REVIEW",e))(Zn||{});const d_=async()=>(await IE()).data;/*! *****************************************************************************
73
+ `},K7={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function J7(e){let{announcements:t=K7,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=X7}=e;const{announce:a,announcement:u}=G7(),s=Qa("DndLiveRegion"),[c,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),Z7(k.useMemo(()=>({onDragStart(h){let{active:g}=h;a(t.onDragStart({active:g}))},onDragMove(h){let{active:g,over:m}=h;t.onDragMove&&a(t.onDragMove({active:g,over:m}))},onDragOver(h){let{active:g,over:m}=h;a(t.onDragOver({active:g,over:m}))},onDragEnd(h){let{active:g,over:m}=h;a(t.onDragEnd({active:g,over:m}))},onDragCancel(h){let{active:g,over:m}=h;a(t.onDragCancel({active:g,over:m}))}}),[a,t])),!c)return null;const f=k.createElement(k.Fragment,null,k.createElement(q7,{id:r,value:i.draggable}),k.createElement(W7,{id:s,announcement:u}));return n?Ho.createPortal(f,n):f}var Gt;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Gt||(Gt={}));function fs(){}function c2(e,t){return k.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function l2(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return k.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const gr=Object.freeze({x:0,y:0});function Q7(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function ey(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function ty(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),u=i-r,s=a-n;if(r<i&&n<a){const c=t.width*t.height,l=e.width*e.height,f=u*s,h=f/(c+l-f);return Number(h.toFixed(4))}return 0}const ny=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const a of r){const{id:u}=a,s=n.get(u);if(s){const c=ty(s,t);c>0&&i.push({id:u,data:{droppableContainer:a,value:c}})}}return i.sort(Q7)};function ry(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function d2(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:gr}function oy(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return i.reduce((u,s)=>({...u,top:u.top+e*s.y,bottom:u.bottom+e*s.y,left:u.left+e*s.x,right:u.right+e*s.x}),{...n})}}const iy=oy(1);function ay(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function uy(e,t,n){const r=ay(t);if(!r)return e;const{scaleX:i,scaleY:a,x:u,y:s}=r,c=e.left-u-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),f=i?e.width/i:e.width,h=a?e.height/a:e.height;return{width:f,height:h,top:l,right:c+f,bottom:l+h,left:c}}const sy={ignoreTransform:!1};function Pi(e,t){t===void 0&&(t=sy);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:l,transformOrigin:f}=jn(e).getComputedStyle(e);l&&(n=uy(n,l,f))}const{top:r,left:i,width:a,height:u,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:u,bottom:s,right:c}}function D1(e){return Pi(e,{ignoreTransform:!0})}function cy(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function ly(e,t){return t===void 0&&(t=jn(e).getComputedStyle(e)),t.position==="fixed"}function dy(e,t){t===void 0&&(t=jn(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function Md(e,t){const n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Rd(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Ka(i)||a2(i)||n.includes(i))return n;const a=jn(e).getComputedStyle(i);return i!==e&&dy(i,a)&&n.push(i),ly(i,a)?n:r(i.parentNode)}return e?r(e):n}function f2(e){const[t]=Md(e,1);return t??null}function Tc(e){return!Ms||!e?null:Ni(e)?e:Nd(e)?Rd(e)||e===Ri(e).scrollingElement?window:Ka(e)?e:null:null}function h2(e){return Ni(e)?e.scrollX:e.scrollLeft}function p2(e){return Ni(e)?e.scrollY:e.scrollTop}function Rl(e){return{x:h2(e),y:p2(e)}}var on;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(on||(on={}));function m2(e){return!Ms||!e?!1:e===document.scrollingElement}function g2(e){const t={x:0,y:0},n=m2(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,u=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:i,isLeft:a,isBottom:u,isRight:s,maxScroll:r,minScroll:t}}const fy={x:.2,y:.2};function hy(e,t,n,r,i){let{top:a,left:u,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=fy);const{isTop:l,isBottom:f,isLeft:h,isRight:g}=g2(e),m={x:0,y:0},b={x:0,y:0},C={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+C.height?(m.y=on.Backward,b.y=r*Math.abs((t.top+C.height-a)/C.height)):!f&&c>=t.bottom-C.height&&(m.y=on.Forward,b.y=r*Math.abs((t.bottom-C.height-c)/C.height)),!g&&s>=t.right-C.width?(m.x=on.Forward,b.x=r*Math.abs((t.right-C.width-s)/C.width)):!h&&u<=t.left+C.width&&(m.x=on.Backward,b.x=r*Math.abs((t.left+C.width-u)/C.width)),{direction:m,speed:b}}function py(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:u}=window;return{top:0,left:0,right:a,bottom:u,width:a,height:u}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function b2(e){return e.reduce((t,n)=>mi(t,Rl(n)),gr)}function my(e){return e.reduce((t,n)=>t+h2(n),0)}function gy(e){return e.reduce((t,n)=>t+p2(n),0)}function by(e,t){if(t===void 0&&(t=Pi),!e)return;const{top:n,left:r,bottom:i,right:a}=t(e);f2(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Cy=[["x",["left","right"],my],["y",["top","bottom"],gy]];class Fd{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=Md(n),i=b2(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,u,s]of Cy)for(const c of u)Object.defineProperty(this,c,{get:()=>{const l=s(r),f=i[a]-l;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ba{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Iy(e){const{EventTarget:t}=jn(e);return e instanceof t?e:Ri(e)}function wc(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var nr;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(nr||(nr={}));function N1(e){e.preventDefault()}function yy(e){e.stopPropagation()}var Qe;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Qe||(Qe={}));const C2={start:[Qe.Space,Qe.Enter],cancel:[Qe.Esc],end:[Qe.Space,Qe.Enter,Qe.Tab]},Ey=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Qe.Right:return{...n,x:n.x+25};case Qe.Left:return{...n,x:n.x-25};case Qe.Down:return{...n,y:n.y+25};case Qe.Up:return{...n,y:n.y-25}}};class I2{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new ba(Ri(n)),this.windowListeners=new ba(jn(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(nr.Resize,this.handleCancel),this.windowListeners.add(nr.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(nr.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&by(r),n(gr)}handleKeyDown(t){if(Od(t)){const{active:n,context:r,options:i}=this.props,{keyboardCodes:a=C2,coordinateGetter:u=Ey,scrollBehavior:s="smooth"}=i,{code:c}=t;if(a.end.includes(c)){this.handleEnd(t);return}if(a.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:l}=r.current,f=l?{x:l.left,y:l.top}:gr;this.referenceCoordinates||(this.referenceCoordinates=f);const h=u(t,{active:n,context:r.current,currentCoordinates:f});if(h){const g=ds(h,f),m={x:0,y:0},{scrollableAncestors:b}=r.current;for(const C of b){const I=t.code,{isTop:E,isRight:y,isLeft:S,isBottom:T,maxScroll:_,minScroll:v}=g2(C),x=py(C),M={x:Math.min(I===Qe.Right?x.right-x.width/2:x.right,Math.max(I===Qe.Right?x.left:x.left+x.width/2,h.x)),y:Math.min(I===Qe.Down?x.bottom-x.height/2:x.bottom,Math.max(I===Qe.Down?x.top:x.top+x.height/2,h.y))},H=I===Qe.Right&&!y||I===Qe.Left&&!S,A=I===Qe.Down&&!T||I===Qe.Up&&!E;if(H&&M.x!==h.x){const j=C.scrollLeft+g.x,F=I===Qe.Right&&j<=_.x||I===Qe.Left&&j>=v.x;if(F&&!g.y){C.scrollTo({left:j,behavior:s});return}F?m.x=C.scrollLeft-j:m.x=I===Qe.Right?C.scrollLeft-_.x:C.scrollLeft-v.x,m.x&&C.scrollBy({left:-m.x,behavior:s});break}else if(A&&M.y!==h.y){const j=C.scrollTop+g.y,F=I===Qe.Down&&j<=_.y||I===Qe.Up&&j>=v.y;if(F&&!g.x){C.scrollTo({top:j,behavior:s});return}F?m.y=C.scrollTop-j:m.y=I===Qe.Down?C.scrollTop-_.y:C.scrollTop-v.y,m.y&&C.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,mi(ds(h,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}I2.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=C2,onActivation:i}=t,{active:a}=n;const{code:u}=e.nativeEvent;if(r.start.includes(u)){const s=a.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function R1(e){return!!(e&&"distance"in e)}function P1(e){return!!(e&&"delay"in e)}class Bd{constructor(t,n,r){var i;r===void 0&&(r=Iy(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:u}=a;this.props=t,this.events=n,this.document=Ri(u),this.documentListeners=new ba(this.document),this.listeners=new ba(r),this.windowListeners=new ba(jn(u)),this.initialCoordinates=(i=Nl(a))!=null?i:gr,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(nr.Resize,this.handleCancel),this.windowListeners.add(nr.DragStart,N1),this.windowListeners.add(nr.VisibilityChange,this.handleCancel),this.windowListeners.add(nr.ContextMenu,N1),this.documentListeners.add(nr.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(P1(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(R1(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:i}=this.props;i(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(nr.Click,yy,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(nr.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:a}=this,{onMove:u,options:{activationConstraint:s}}=a;if(!i)return;const c=(n=Nl(t))!=null?n:gr,l=ds(i,c);if(!r&&s){if(R1(s)){if(s.tolerance!=null&&wc(l,s.tolerance))return this.handleCancel();if(wc(l,s.distance))return this.handleStart()}if(P1(s)&&wc(l,s.tolerance))return this.handleCancel();this.handlePending(s,l);return}t.cancelable&&t.preventDefault(),u(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Qe.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Sy={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Fs extends Bd{constructor(t){const{event:n}=t,r=Ri(n.target);super(t,Sy,r)}}Fs.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const xy={move:{name:"mousemove"},end:{name:"mouseup"}};var Pl;(function(e){e[e.RightClick=2]="RightClick"})(Pl||(Pl={}));class _y extends Bd{constructor(t){super(t,xy,Ri(t.event.target))}}_y.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Pl.RightClick?!1:(r==null||r({event:n}),!0)}}];const Ac={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Ty extends Bd{constructor(t){super(t,Ac)}static setup(){return window.addEventListener(Ac.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Ac.move.name,t)};function t(){}}}Ty.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return i.length>1?!1:(r==null||r({event:n}),!0)}}];var Ca;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ca||(Ca={}));var hs;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(hs||(hs={}));function wy(e){let{acceleration:t,activator:n=Ca.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:u=5,order:s=hs.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:f,delta:h,threshold:g}=e;const m=ky({delta:h,disabled:!a}),[b,C]=j7(),I=k.useRef({x:0,y:0}),E=k.useRef({x:0,y:0}),y=k.useMemo(()=>{switch(n){case Ca.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ca.DraggableRect:return i}},[n,i,c]),S=k.useRef(null),T=k.useCallback(()=>{const v=S.current;if(!v)return;const x=I.current.x*E.current.x,M=I.current.y*E.current.y;v.scrollBy(x,M)},[]),_=k.useMemo(()=>s===hs.TreeOrder?[...l].reverse():l,[s,l]);k.useEffect(()=>{if(!a||!l.length||!y){C();return}for(const v of _){if((r==null?void 0:r(v))===!1)continue;const x=l.indexOf(v),M=f[x];if(!M)continue;const{direction:H,speed:A}=hy(v,M,y,t,g);for(const j of["x","y"])m[j][H[j]]||(A[j]=0,H[j]=0);if(A.x>0||A.y>0){C(),S.current=v,b(T,u),I.current=A,E.current=H;return}}I.current={x:0,y:0},E.current={x:0,y:0},C()},[t,T,r,C,a,u,JSON.stringify(y),JSON.stringify(m),b,l,_,f,JSON.stringify(g)])}const Ay={x:{[on.Backward]:!1,[on.Forward]:!1},y:{[on.Backward]:!1,[on.Forward]:!1}};function ky(e){let{delta:t,disabled:n}=e;const r=Dl(t);return Ja(i=>{if(n||!r||!i)return Ay;const a={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[on.Backward]:i.x[on.Backward]||a.x===-1,[on.Forward]:i.x[on.Forward]||a.x===1},y:{[on.Backward]:i.y[on.Backward]||a.y===-1,[on.Forward]:i.y[on.Forward]||a.y===1}}},[n,t,r])}function vy(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Ja(i=>{var a;return t==null?null:(a=r??i)!=null?a:null},[r,t])}function Ly(e,t){return k.useMemo(()=>e.reduce((n,r)=>{const{sensor:i}=r,a=i.activators.map(u=>({eventName:u.eventName,handler:t(u.handler,r)}));return[...n,...a]},[]),[e,t])}var Oa;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Oa||(Oa={}));var Ol;(function(e){e.Optimized="optimized"})(Ol||(Ol={}));const O1=new Map;function Dy(e,t){let{dragging:n,dependencies:r,config:i}=t;const[a,u]=k.useState(null),{frequency:s,measure:c,strategy:l}=i,f=k.useRef(e),h=I(),g=Pa(h),m=k.useCallback(function(E){E===void 0&&(E=[]),!g.current&&u(y=>y===null?E:y.concat(E.filter(S=>!y.includes(S))))},[g]),b=k.useRef(null),C=Ja(E=>{if(h&&!n)return O1;if(!E||E===O1||f.current!==e||a!=null){const y=new Map;for(let S of e){if(!S)continue;if(a&&a.length>0&&!a.includes(S.id)&&S.rect.current){y.set(S.id,S.rect.current);continue}const T=S.node.current,_=T?new Fd(c(T),T):null;S.rect.current=_,_&&y.set(S.id,_)}return y}return E},[e,a,n,h,c]);return k.useEffect(()=>{f.current=e},[e]),k.useEffect(()=>{h||m()},[n,h]),k.useEffect(()=>{a&&a.length>0&&u(null)},[JSON.stringify(a)]),k.useEffect(()=>{h||typeof s!="number"||b.current!==null||(b.current=setTimeout(()=>{m(),b.current=null},s))},[s,h,m,...r]),{droppableRects:C,measureDroppableContainers:m,measuringScheduled:a!=null};function I(){switch(l){case Oa.Always:return!1;case Oa.BeforeDragging:return n;default:return!n}}}function y2(e,t){return Ja(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Ny(e,t){return y2(e,t)}function Ry(e){let{callback:t,disabled:n}=e;const r=Pd(t),i=k.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(r)},[r,n]);return k.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Bs(e){let{callback:t,disabled:n}=e;const r=Pd(t),i=k.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(r)},[n]);return k.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Py(e){return new Fd(Pi(e),e)}function M1(e,t,n){t===void 0&&(t=Py);const[r,i]=k.useState(null);function a(){i(c=>{if(!e)return null;if(e.isConnected===!1){var l;return(l=c??n)!=null?l:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const u=Ry({callback(c){if(e)for(const l of c){const{type:f,target:h}=l;if(f==="childList"&&h instanceof HTMLElement&&h.contains(e)){a();break}}}}),s=Bs({callback:a});return Pr(()=>{a(),e?(s==null||s.observe(e),u==null||u.observe(document.body,{childList:!0,subtree:!0})):(s==null||s.disconnect(),u==null||u.disconnect())},[e]),r}function Oy(e){const t=y2(e);return d2(e,t)}const F1=[];function My(e){const t=k.useRef(e),n=Ja(r=>e?r&&r!==F1&&e&&t.current&&e.parentNode===t.current.parentNode?r:Md(e):F1,[e]);return k.useEffect(()=>{t.current=e},[e]),n}function Fy(e){const[t,n]=k.useState(null),r=k.useRef(e),i=k.useCallback(a=>{const u=Tc(a.target);u&&n(s=>s?(s.set(u,Rl(u)),new Map(s)):null)},[]);return k.useEffect(()=>{const a=r.current;if(e!==a){u(a);const s=e.map(c=>{const l=Tc(c);return l?(l.addEventListener("scroll",i,{passive:!0}),[l,Rl(l)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{u(e),u(a)};function u(s){s.forEach(c=>{const l=Tc(c);l==null||l.removeEventListener("scroll",i)})}},[i,e]),k.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,u)=>mi(a,u),gr):b2(e):gr,[e,t])}function B1(e,t){t===void 0&&(t=[]);const n=k.useRef(null);return k.useEffect(()=>{n.current=null},t),k.useEffect(()=>{const r=e!==gr;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?ds(e,n.current):gr}function By(e){k.useEffect(()=>{if(!Ms)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function Hy(e,t){return k.useMemo(()=>e.reduce((n,r)=>{let{eventName:i,handler:a}=r;return n[i]=u=>{a(u,t)},n},{}),[e,t])}function E2(e){return k.useMemo(()=>e?cy(e):null,[e])}const H1=[];function jy(e,t){t===void 0&&(t=Pi);const[n]=e,r=E2(n?jn(n):null),[i,a]=k.useState(H1);function u(){a(()=>e.length?e.map(c=>m2(c)?r:new Fd(t(c),c)):H1)}const s=Bs({callback:u});return Pr(()=>{s==null||s.disconnect(),u(),e.forEach(c=>s==null?void 0:s.observe(c))},[e]),i}function Uy(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ka(t)?t:e}function Vy(e){let{measure:t}=e;const[n,r]=k.useState(null),i=k.useCallback(l=>{for(const{target:f}of l)if(Ka(f)){r(h=>{const g=t(f);return h?{...h,width:g.width,height:g.height}:g});break}},[t]),a=Bs({callback:i}),u=k.useCallback(l=>{const f=Uy(l);a==null||a.disconnect(),f&&(a==null||a.observe(f)),r(f?t(f):null)},[t,a]),[s,c]=ls(u);return k.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const zy=[{sensor:Fs,options:{}},{sensor:I2,options:{}}],$y={current:{}},Zu={draggable:{measure:D1},droppable:{measure:D1,strategy:Oa.WhileDragging,frequency:Ol.Optimized},dragOverlay:{measure:Pi}};class Ia extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const qy={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ia,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:fs},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zu,measureDroppableContainers:fs,windowRect:null,measuringScheduled:!1},Wy={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:fs,draggableNodes:new Map,over:null,measureDroppableContainers:fs},Hs=k.createContext(Wy),S2=k.createContext(qy);function Gy(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ia}}}function Zy(e,t){switch(t.type){case Gt.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Gt.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Gt.DragEnd:case Gt.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Gt.RegisterDroppable:{const{element:n}=t,{id:r}=n,i=new Ia(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case Gt.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const u=new Ia(e.droppable.containers);return u.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:u}}}case Gt.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Ia(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function Yy(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=k.useContext(Hs),a=Dl(r),u=Dl(n==null?void 0:n.id);return k.useEffect(()=>{if(!t&&!r&&a&&u!=null){if(!Od(a)||document.activeElement===a.target)return;const s=i.get(u);if(!s)return;const{activatorNode:c,node:l}=s;if(!c.current&&!l.current)return;requestAnimationFrame(()=>{for(const f of[c.current,l.current]){if(!f)continue;const h=z7(f);if(h){h.focus();break}}})}},[r,t,i,u,a]),null}function Xy(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...r}),n):n}function Ky(e){return k.useMemo(()=>({draggable:{...Zu.draggable,...e==null?void 0:e.draggable},droppable:{...Zu.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Zu.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function Jy(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const a=k.useRef(!1),{x:u,y:s}=typeof i=="boolean"?{x:i,y:i}:i;Pr(()=>{if(!u&&!s||!t){a.current=!1;return}if(a.current||!r)return;const l=t==null?void 0:t.node.current;if(!l||l.isConnected===!1)return;const f=n(l),h=d2(f,r);if(u||(h.x=0),s||(h.y=0),a.current=!0,Math.abs(h.x)>0||Math.abs(h.y)>0){const g=f2(l);g&&g.scrollBy({top:h.y,left:h.x})}},[t,u,s,r,n])}const x2=k.createContext({...gr,scaleX:1,scaleY:1});var fo;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(fo||(fo={}));const _2=k.memo(function(t){var n,r,i,a;let{id:u,accessibility:s,autoScroll:c=!0,children:l,sensors:f=zy,collisionDetection:h=ny,measuring:g,modifiers:m,...b}=t;const C=k.useReducer(Zy,void 0,Gy),[I,E]=C,[y,S]=Y7(),[T,_]=k.useState(fo.Uninitialized),v=T===fo.Initialized,{draggable:{active:x,nodes:M,translate:H},droppable:{containers:A}}=I,j=x!=null?M.get(x):null,F=k.useRef({initial:null,translated:null}),W=k.useMemo(()=>{var It;return x!=null?{id:x,data:(It=j==null?void 0:j.data)!=null?It:$y,rect:F}:null},[x,j]),q=k.useRef(null),[ne,be]=k.useState(null),[Ie,Ae]=k.useState(null),Le=Pa(b,Object.values(b)),w=Qa("DndDescribedBy",u),re=k.useMemo(()=>A.getEnabled(),[A]),pe=Ky(g),{droppableRects:D,measureDroppableContainers:X,measuringScheduled:se}=Dy(re,{dragging:v,dependencies:[H.x,H.y],config:pe.droppable}),ee=vy(M,x),Ce=k.useMemo(()=>Ie?Nl(Ie):null,[Ie]),ye=Ur(),ue=Ny(ee,pe.draggable.measure);Jy({activeNode:x!=null?M.get(x):null,config:ye.layoutShiftCompensation,initialRect:ue,measure:pe.draggable.measure});const ce=M1(ee,pe.draggable.measure,ue),Ue=M1(ee?ee.parentElement:null),J=k.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:D,draggableNodes:M,draggingNode:null,draggingNodeRect:null,droppableContainers:A,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ve=A.getNodeFor((n=J.current.over)==null?void 0:n.id),xe=Vy({measure:pe.dragOverlay.measure}),we=(r=xe.nodeRef.current)!=null?r:ee,ze=v?(i=xe.rect)!=null?i:ce:null,_t=!!(xe.nodeRef.current&&xe.rect),At=Oy(_t?null:ce),qe=E2(we?jn(we):null),rt=My(v?Ve??ee:null),Tn=jy(rt),bt=Xy(m,{transform:{x:H.x-At.x,y:H.y-At.y,scaleX:1,scaleY:1},activatorEvent:Ie,active:W,activeNodeRect:ce,containerNodeRect:Ue,draggingNodeRect:ze,over:J.current.over,overlayNodeRect:xe.rect,scrollableAncestors:rt,scrollableAncestorRects:Tn,windowRect:qe}),pn=Ce?mi(Ce,H):null,Ct=Fy(rt),Dt=B1(Ct),G=B1(Ct,[ce]),ae=mi(bt,Dt),Te=ze?iy(ze,bt):null,ke=W&&Te?h({active:W,collisionRect:Te,droppableRects:D,droppableContainers:re,pointerCoordinates:pn}):null,We=ey(ke,"id"),[ot,mn]=k.useState(null),et=_t?bt:mi(bt,G),gn=ry(et,(a=ot==null?void 0:ot.rect)!=null?a:null,ce),bn=k.useRef(null),Nt=k.useCallback((It,Yt)=>{let{sensor:Xt,options:Vn}=Yt;if(q.current==null)return;const sn=M.get(q.current);if(!sn)return;const Rt=It.nativeEvent,Kt=new Xt({active:q.current,activeNode:sn,event:Rt,options:Vn,context:J,onAbort(Pt){if(!M.get(Pt))return;const{onDragAbort:B}=Le.current,$={id:Pt};B==null||B($),y({type:"onDragAbort",event:$})},onPending(Pt,O,B,$){if(!M.get(Pt))return;const{onDragPending:me}=Le.current,_e={id:Pt,constraint:O,initialCoordinates:B,offset:$};me==null||me(_e),y({type:"onDragPending",event:_e})},onStart(Pt){const O=q.current;if(O==null)return;const B=M.get(O);if(!B)return;const{onDragStart:$}=Le.current,te={activatorEvent:Rt,active:{id:O,data:B.data,rect:F}};Ho.unstable_batchedUpdates(()=>{$==null||$(te),_(fo.Initializing),E({type:Gt.DragStart,initialCoordinates:Pt,active:O}),y({type:"onDragStart",event:te}),be(bn.current),Ae(Rt)})},onMove(Pt){E({type:Gt.DragMove,coordinates:Pt})},onEnd:Sr(Gt.DragEnd),onCancel:Sr(Gt.DragCancel)});bn.current=Kt;function Sr(Pt){return async function(){const{active:B,collisions:$,over:te,scrollAdjustedTranslate:me}=J.current;let _e=null;if(B&&me){const{cancelDrop:N}=Le.current;_e={activatorEvent:Rt,active:B,collisions:$,delta:me,over:te},Pt===Gt.DragEnd&&typeof N=="function"&&await Promise.resolve(N(_e))&&(Pt=Gt.DragCancel)}q.current=null,Ho.unstable_batchedUpdates(()=>{E({type:Pt}),_(fo.Uninitialized),mn(null),be(null),Ae(null),bn.current=null;const N=Pt===Gt.DragEnd?"onDragEnd":"onDragCancel";if(_e){const V=Le.current[N];V==null||V(_e),y({type:N,event:_e})}})}}},[M]),Qn=k.useCallback((It,Yt)=>(Xt,Vn)=>{const sn=Xt.nativeEvent,Rt=M.get(Vn);if(q.current!==null||!Rt||sn.dndKit||sn.defaultPrevented)return;const Kt={active:Rt};It(Xt,Yt.options,Kt)===!0&&(sn.dndKit={capturedBy:Yt.sensor},q.current=Vn,Nt(Xt,Yt))},[M,Nt]),$t=Ly(f,Qn);By(f),Pr(()=>{ce&&T===fo.Initializing&&_(fo.Initialized)},[ce,T]),k.useEffect(()=>{const{onDragMove:It}=Le.current,{active:Yt,activatorEvent:Xt,collisions:Vn,over:sn}=J.current;if(!Yt||!Xt)return;const Rt={active:Yt,activatorEvent:Xt,collisions:Vn,delta:{x:ae.x,y:ae.y},over:sn};Ho.unstable_batchedUpdates(()=>{It==null||It(Rt),y({type:"onDragMove",event:Rt})})},[ae.x,ae.y]),k.useEffect(()=>{const{active:It,activatorEvent:Yt,collisions:Xt,droppableContainers:Vn,scrollAdjustedTranslate:sn}=J.current;if(!It||q.current==null||!Yt||!sn)return;const{onDragOver:Rt}=Le.current,Kt=Vn.get(We),Sr=Kt&&Kt.rect.current?{id:Kt.id,rect:Kt.rect.current,data:Kt.data,disabled:Kt.disabled}:null,Pt={active:It,activatorEvent:Yt,collisions:Xt,delta:{x:sn.x,y:sn.y},over:Sr};Ho.unstable_batchedUpdates(()=>{mn(Sr),Rt==null||Rt(Pt),y({type:"onDragOver",event:Pt})})},[We]),Pr(()=>{J.current={activatorEvent:Ie,active:W,activeNode:ee,collisionRect:Te,collisions:ke,droppableRects:D,draggableNodes:M,draggingNode:we,draggingNodeRect:ze,droppableContainers:A,over:ot,scrollableAncestors:rt,scrollAdjustedTranslate:ae},F.current={initial:ze,translated:Te}},[W,ee,ke,Te,M,we,ze,D,A,ot,rt,ae]),wy({...ye,delta:H,draggingRect:Te,pointerCoordinates:pn,scrollableAncestors:rt,scrollableAncestorRects:Tn});const jr=k.useMemo(()=>({active:W,activeNode:ee,activeNodeRect:ce,activatorEvent:Ie,collisions:ke,containerNodeRect:Ue,dragOverlay:xe,draggableNodes:M,droppableContainers:A,droppableRects:D,over:ot,measureDroppableContainers:X,scrollableAncestors:rt,scrollableAncestorRects:Tn,measuringConfiguration:pe,measuringScheduled:se,windowRect:qe}),[W,ee,ce,Ie,ke,Ue,xe,M,A,D,ot,X,rt,Tn,pe,se,qe]),lr=k.useMemo(()=>({activatorEvent:Ie,activators:$t,active:W,activeNodeRect:ce,ariaDescribedById:{draggable:w},dispatch:E,draggableNodes:M,over:ot,measureDroppableContainers:X}),[Ie,$t,W,ce,E,w,M,ot,X]);return k.createElement(s2.Provider,{value:S},k.createElement(Hs.Provider,{value:lr},k.createElement(S2.Provider,{value:jr},k.createElement(x2.Provider,{value:gn},l)),k.createElement(Yy,{disabled:(s==null?void 0:s.restoreFocus)===!1})),k.createElement(J7,{...s,hiddenTextDescribedById:w}));function Ur(){const It=(ne==null?void 0:ne.autoScrollEnabled)===!1,Yt=typeof c=="object"?c.enabled===!1:c===!1,Xt=v&&!It&&!Yt;return typeof c=="object"?{...c,enabled:Xt}:{enabled:Xt}}}),Qy=k.createContext(null),j1="button",e9="Draggable";function t9(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const a=Qa(e9),{activators:u,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:f,draggableNodes:h,over:g}=k.useContext(Hs),{role:m=j1,roleDescription:b="draggable",tabIndex:C=0}=i??{},I=(c==null?void 0:c.id)===t,E=k.useContext(I?x2:Qy),[y,S]=ls(),[T,_]=ls(),v=Hy(u,t),x=Pa(n);Pr(()=>(h.set(t,{id:t,key:a,node:y,activatorNode:T,data:x}),()=>{const H=h.get(t);H&&H.key===a&&h.delete(t)}),[h,t]);const M=k.useMemo(()=>({role:m,tabIndex:C,"aria-disabled":r,"aria-pressed":I&&m===j1?!0:void 0,"aria-roledescription":b,"aria-describedby":f.draggable}),[r,m,C,I,b,f.draggable]);return{active:c,activatorEvent:s,activeNodeRect:l,attributes:M,isDragging:I,listeners:r?void 0:v,node:y,over:g,setNodeRef:S,setActivatorNodeRef:_,transform:E}}function n9(){return k.useContext(S2)}const r9="Droppable",o9={timeout:25};function i9(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e;const a=Qa(r9),{active:u,dispatch:s,over:c,measureDroppableContainers:l}=k.useContext(Hs),f=k.useRef({disabled:n}),h=k.useRef(!1),g=k.useRef(null),m=k.useRef(null),{disabled:b,updateMeasurementsFor:C,timeout:I}={...o9,...i},E=Pa(C??r),y=k.useCallback(()=>{if(!h.current){h.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{l(Array.isArray(E.current)?E.current:[E.current]),m.current=null},I)},[I]),S=Bs({callback:y,disabled:b||!u}),T=k.useCallback((M,H)=>{S&&(H&&(S.unobserve(H),h.current=!1),M&&S.observe(M))},[S]),[_,v]=ls(T),x=Pa(t);return k.useEffect(()=>{!S||!_.current||(S.disconnect(),h.current=!1,S.observe(_.current))},[_,S]),k.useEffect(()=>(s({type:Gt.RegisterDroppable,element:{id:r,key:a,disabled:n,node:_,rect:g,data:x}}),()=>s({type:Gt.UnregisterDroppable,key:a,id:r})),[r]),k.useEffect(()=>{n!==f.current.disabled&&(s({type:Gt.SetDroppableDisabled,id:r,key:a,disabled:n}),f.current.disabled=n)},[r,a,n,s]),{active:u,rect:g,isOver:(c==null?void 0:c.id)===r,node:_,over:c,setNodeRef:v}}function T2(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a9(e,t){return e.reduce((n,r,i)=>{const a=t.get(r);return a&&(n[i]=a),n},Array(e.length))}function Eu(e){return e!==null&&e>=0}function u9(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function s9(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const w2=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e;const a=T2(t,r,n),u=t[i],s=a[i];return!s||!u?null:{x:s.left-u.left,y:s.top-u.top,scaleX:s.width/u.width,scaleY:s.height/u.height}},Su={scaleX:1,scaleY:1},A2=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:i,rects:a,overIndex:u}=e;const s=(t=a[n])!=null?t:r;if(!s)return null;if(i===n){const l=a[u];return l?{x:0,y:n<u?l.top+l.height-(s.top+s.height):l.top-s.top,...Su}:null}const c=c9(a,i,n);return i>n&&i<=u?{x:0,y:-s.height-c,...Su}:i<n&&i>=u?{x:0,y:s.height+c,...Su}:{x:0,y:0,...Su}};function c9(e,t,n){const r=e[t],i=e[t-1],a=e[t+1];return r?n<t?i?r.top-(i.top+i.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):i?r.top-(i.top+i.height):0:0}const k2="Sortable",v2=k.createContext({activeIndex:-1,containerId:k2,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:w2,disabled:{draggable:!1,droppable:!1}});function L2(e){let{children:t,id:n,items:r,strategy:i=w2,disabled:a=!1}=e;const{active:u,dragOverlay:s,droppableRects:c,over:l,measureDroppableContainers:f}=n9(),h=Qa(k2,n),g=s.rect!==null,m=k.useMemo(()=>r.map(v=>typeof v=="object"&&"id"in v?v.id:v),[r]),b=u!=null,C=u?m.indexOf(u.id):-1,I=l?m.indexOf(l.id):-1,E=k.useRef(m),y=!u9(m,E.current),S=I!==-1&&C===-1||y,T=s9(a);Pr(()=>{y&&b&&f(m)},[y,m,b,f]),k.useEffect(()=>{E.current=m},[m]);const _=k.useMemo(()=>({activeIndex:C,containerId:h,disabled:T,disableTransforms:S,items:m,overIndex:I,useDragOverlay:g,sortedRects:a9(m,c),strategy:i}),[C,h,T.draggable,T.droppable,S,m,I,c,g,i]);return k.createElement(v2.Provider,{value:_},t)}const l9=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return T2(n,r,i).indexOf(t)},d9=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:a,newIndex:u,previousItems:s,previousContainerId:c,transition:l}=e;return!l||!r||s!==a&&i===u?!1:n?!0:u!==i&&t===c},f9={duration:200,easing:"ease"},D2="transform",h9=Si.Transition.toString({property:D2,duration:0,easing:"linear"}),p9={roleDescription:"sortable"};function m9(e){let{disabled:t,index:n,node:r,rect:i}=e;const[a,u]=k.useState(null),s=k.useRef(n);return Pr(()=>{if(!t&&n!==s.current&&r.current){const c=i.current;if(c){const l=Pi(r.current,{ignoreTransform:!0}),f={x:c.left-l.left,y:c.top-l.top,scaleX:c.width/l.width,scaleY:c.height/l.height};(f.x||f.y)&&u(f)}}n!==s.current&&(s.current=n)},[t,n,r,i]),k.useEffect(()=>{a&&u(null)},[a]),a}function N2(e){let{animateLayoutChanges:t=d9,attributes:n,disabled:r,data:i,getNewIndex:a=l9,id:u,strategy:s,resizeObserverConfig:c,transition:l=f9}=e;const{items:f,containerId:h,activeIndex:g,disabled:m,disableTransforms:b,sortedRects:C,overIndex:I,useDragOverlay:E,strategy:y}=k.useContext(v2),S=g9(r,m),T=f.indexOf(u),_=k.useMemo(()=>({sortable:{containerId:h,index:T,items:f},...i}),[h,i,T,f]),v=k.useMemo(()=>f.slice(f.indexOf(u)),[f,u]),{rect:x,node:M,isOver:H,setNodeRef:A}=i9({id:u,data:_,disabled:S.droppable,resizeObserverConfig:{updateMeasurementsFor:v,...c}}),{active:j,activatorEvent:F,activeNodeRect:W,attributes:q,setNodeRef:ne,listeners:be,isDragging:Ie,over:Ae,setActivatorNodeRef:Le,transform:w}=t9({id:u,data:_,attributes:{...p9,...n},disabled:S.draggable}),re=H7(A,ne),pe=!!j,D=pe&&!b&&Eu(g)&&Eu(I),X=!E&&Ie,se=X&&D?w:null,Ce=D?se??(s??y)({rects:C,activeNodeRect:W,activeIndex:g,overIndex:I,index:T}):null,ye=Eu(g)&&Eu(I)?a({id:u,items:f,activeIndex:g,overIndex:I}):T,ue=j==null?void 0:j.id,ce=k.useRef({activeId:ue,items:f,newIndex:ye,containerId:h}),Ue=f!==ce.current.items,J=t({active:j,containerId:h,isDragging:Ie,isSorting:pe,id:u,index:T,items:f,newIndex:ce.current.newIndex,previousItems:ce.current.items,previousContainerId:ce.current.containerId,transition:l,wasDragging:ce.current.activeId!=null}),Ve=m9({disabled:!J,index:T,node:M,rect:x});return k.useEffect(()=>{pe&&ce.current.newIndex!==ye&&(ce.current.newIndex=ye),h!==ce.current.containerId&&(ce.current.containerId=h),f!==ce.current.items&&(ce.current.items=f)},[pe,ye,h,f]),k.useEffect(()=>{if(ue===ce.current.activeId)return;if(ue!=null&&ce.current.activeId==null){ce.current.activeId=ue;return}const we=setTimeout(()=>{ce.current.activeId=ue},50);return()=>clearTimeout(we)},[ue]),{active:j,activeIndex:g,attributes:q,data:_,rect:x,index:T,newIndex:ye,items:f,isOver:H,isSorting:pe,isDragging:Ie,listeners:be,node:M,overIndex:I,over:Ae,setNodeRef:re,setActivatorNodeRef:Le,setDroppableNodeRef:A,setDraggableNodeRef:ne,transform:Ve??Ce,transition:xe()};function xe(){if(Ve||Ue&&ce.current.newIndex===T)return h9;if(!(X&&!Od(F)||!l)&&(pe||J))return Si.Transition.toString({...l,property:D2})}}function g9(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Qe.Down,Qe.Right,Qe.Up,Qe.Left;function b9({product:e,children:t}){const{attributes:n,listeners:r,setNodeRef:i,transform:a,transition:u,isDragging:s}=N2({id:e.id}),c={transform:Si.Transform.toString(a),transition:u};return d.jsx("div",{ref:i,style:c,className:`${Mt.product} ${s?Mt.dragging:""}`,...n,...r,children:t})}const R2=e=>{const{isActiveItems:t,setIsActiveItems:n,items:r,setItems:i,other:a,title:u,subtitle:s,editable:c=!0,draggable:l=!1,withImage:f=!1,deletable:h=!0,addable:g=!0,itemsType:m,itemsPlaceholder:b="",itemsOptions:C,hasRangeSelector:I=!1,rangeSelectorOptions:E,modalOptions:y,addableOptions:S={},limit:T,autoInterval:_,tip:v,aspectRatio:x,setAspectRatio:M}=e,[H,A]=k.useState(null),[j,F]=k.useState({top:0,left:0}),[W,q]=k.useState(null),ne=k.useRef(null),[be,Ie]=k.useState(!1),Ae=l2(c2(Fs,{activationConstraint:{distance:5}}));k.useEffect(()=>{if(H){const X=[...r].map(se=>se.id===H.id?H:se);i(X)}},[H]),k.useEffect(()=>{if(ne.current&&W){const X=ne.current.getBoundingClientRect().height,se=window.innerHeight;let ee=W.top;ee+X>se+window.scrollY-200&&(ee=se+window.scrollY-X-200),ee<0&&(ee=10),F({top:ee-30,left:W.left})}},[ne.current,W]);const Le=(X,se)=>{X.stopPropagation();const ee=X.target.getBoundingClientRect();q({top:ee.top+window.scrollY-70,left:ee.left-(g?30:65)}),A(se),Ie(!0)},w=(X,se)=>{const ee=[...r],Ce={...X,id:Math.random().toString(36).substr(2,9)};ee.splice(se+1,0,Ce),i(ee)};function re(X){if(f)return X?d.jsx("img",{src:`https://imagedelivery.net/${X[0]}/w=1000`,alt:"image",width:16,height:16}):d.jsx(ie,{name:"Image",width:16,height:16,fill:"#757575"})}const pe=X=>{const{active:se,over:ee}=X;if(ee&&se.id!==ee.id){const Ce=r.findIndex(ue=>ue.id===se.id),ye=r.findIndex(ue=>ue.id===ee.id);if(Ce!==-1&&ye!==-1){const ue=[...r],[ce]=ue.splice(Ce,1);ue.splice(ye,0,ce),i(ue)}}},D=(X,se)=>{var Ce,ye;const ee=d.jsxs(d.Fragment,{children:[l&&d.jsx("div",{children:d.jsx(ie,{name:"DotsSixVertical",hoverable:!0,width:20,height:20})}),m==="select"&&C&&d.jsx(So,{onChange:ue=>{const ce=[...r],Ue=C.find(Ve=>Ve.name["en-US"]===ue);if(!Ue)return;const J=ce.map(Ve=>Ve.id===X.id?{...Ue,name:{"en-US":ue}}:Ve);A({...X,name:{"en-US":ue}}),i([...J])},value:X.name["en-US"],options:C.filter(ue=>!r.find(ce=>ce.name["en-US"]===ue.name["en-US"])).map(ue=>ue.name["en-US"]),leftAddonOptions:C.filter(ue=>{var ce;return((ce=ue.images)==null?void 0:ce.length)>0}).map(ue=>({value:ue.name["en-US"],addon:re(ue.images)}))}),m==="selectInfiniteList"&&C&&d.jsx(_d,{onChange:ue=>{const ce=[...r],Ue=C.find(Ve=>Ve.name["en-US"]===ue);if(!Ue)return;const J=ce.map(Ve=>Ve.id===X.id?{...Ue,name:{"en-US":ue}}:Ve);A({...X,name:{"en-US":ue}}),i([...J])},value:X.name["en-US"],options:C.filter(ue=>!r.find(ce=>ce.name["en-US"]===ue.name["en-US"])).map(ue=>ue.name["en-US"]),leftAddonOptions:C.filter(ue=>{var ce;return((ce=ue.images)==null?void 0:ce.length)>0}).map(ue=>({value:ue.name["en-US"],addon:re(ue.images)}))}),m==="input"&&d.jsx(ur,{onChange:ue=>{const Ue=[...r].map(J=>J.id===X.id?{...X,name:{"en-US":ue}}:J);i([...Ue])},value:X.name["en-US"],placeholder:b}),m==="image"&&d.jsx(Xa,{onChange:ue=>{const Ue=[...r].map(J=>J.id===X.id?{...X,images:ue}:J);i([...Ue])},activeImage:(Ce=r.find(ue=>ue.id===X.id))!=null&&Ce.images?(ye=r.find(ue=>ue.id===X.id))==null?void 0:ye.images[0]:void 0,tip:v}),d.jsxs("div",{className:Mt.buttons,children:[T&&T>r.length&&g&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Copy",hoverable:!0,width:20,height:20,onClick:()=>{w(X,se)}})}),c&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Sliders",hoverable:!0,width:20,height:20,onClick:ue=>{Le(ue,X)}})}),h&&d.jsx("div",{className:Mt.deleteButton,children:d.jsx(ie,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A",onClick:()=>i(r.filter(ue=>ue.id!==X.id))})})]})]});return l?d.jsx(b9,{product:X,index:se,children:ee},X.id):d.jsx("div",{className:Mt.product,children:ee},X.id)};return d.jsxs("div",{className:Mt.productsBlock,children:[(u||t!==void 0)&&d.jsxs("div",{className:Mt.top,children:[u&&d.jsx("h3",{className:Mt.title,children:u}),t!==void 0&&d.jsx(Or,{current:t,onChange:X=>n==null?void 0:n(X)})]}),H&&c&&y&&be&&d.jsx(O7,{ref:ne,activeItem:H,setActiveItem:A,popupPosition:j,modalOptions:y,setIsOpenModal:Ie}),(t===void 0||t)&&I&&E&&d.jsx(P2,{...E}),(t===void 0||t)&&d.jsxs("div",{className:Mt.products,children:[s&&d.jsx("h5",{className:Mt.subtitle,children:s}),l?d.jsx(_2,{sensors:Ae,onDragEnd:pe,children:d.jsx(L2,{items:r.map(X=>X.id),strategy:A2,children:r.map((X,se)=>D(X,se))})}):r.map((X,se)=>D(X,se)),g&&d.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:d.jsx(Ei,{withoutHover:!0,className:ge(Mt.button,{[Mt.disabled]:!!(T&&T<=r.length||r.length===(C==null?void 0:C.length))}),size:"s",disabled:!!(T&&T<=r.length||r.length===(C==null?void 0:C.length)),onClick:()=>{const X=[...r];let se=null;if(C){for(let ee=0;ee<C.length;ee++)if(!r.find(Ce=>Ce.id===C[ee].id)){se=C[ee];break}}m==="select"&&C?X.push({name:se?se.name:C[0].name,id:(se==null?void 0:se.id)||C[0].id,...S}):m==="input"?X.push({name:{"en-US":""},id:mt(),...S}):X.push({name:{"en-US":`Image ${r.length+1}`},id:mt(),...S}),i(X)},style:{width:"fit-content"},children:d.jsxs("div",{className:Mt.addButton,children:[d.jsx("span",{children:"Add Option"}),d.jsx(ie,{name:"Plus",width:16,height:16})]})})})]}),x&&M&&d.jsx(So,{value:x,label:"Aspect Ratio",options:Object.keys(gp),onChange:X=>M(X),leftAddonOptions:bp}),(t===void 0||t)&&a!==void 0&&d.jsx(i2,{otherTitle:"Other",items:a}),(t===void 0||t)&&_!==void 0&&d.jsx(ur,{label:_.title||"Auto scroll interval",type:"number",value:String(_.autoInterval),onChange:X=>_.setAutoInterval(Number(X)),min:.1,max:100,style:{width:"100%"},postfix:"sec."})]})},C9="_title_cx65i_1",I9="_subtitle_cx65i_5",y9="_productsBlock_cx65i_14",E9="_top_cx65i_26",S9="_products_cx65i_14",x9="_product_cx65i_14",_9="_button_cx65i_80",T9="_disabled_cx65i_91",w9="_buttons_cx65i_118",A9="_modal_cx65i_125",k9="_link_cx65i_146",v9="_modalOptions_cx65i_152",L9="_addButton_cx65i_165",D9="_deleteButton_cx65i_180",N9="_closeIcon_cx65i_192",Po={title:C9,subtitle:I9,productsBlock:y9,top:E9,products:S9,product:x9,button:_9,disabled:T9,buttons:w9,modal:A9,link:k9,modalOptions:v9,addButton:L9,deleteButton:D9,closeIcon:N9},R9=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,modalOptions:a,setIsOpenModal:u}=e;return vi(t,()=>{r(null),u(!1)}),d.jsxs("div",{ref:t,className:Po.modal,onClick:s=>{s.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Po.top,children:[d.jsx("h3",{className:Po.title,children:n.name["en-US"]}),d.jsx("div",{className:Po.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>{r(null),u(!1)}})})]}),d.jsx("div",{className:Po.modalOptions,children:a.map(s=>{if(s.type==="image")return d.jsx(Xa,{label:"Put up an attractive image",activeImage:n[s.field],onChange:c=>{const l={...n,[s.field]:c};r(l)}},String(s.field));if(s.type==="text")return d.jsx(Dd,{isActiveText:!0,typesText:n[s.field.type],setTypesText:c=>{const l={...n,[s.field.type]:c};r(l)},alignText:n[s.field.alignText],setAlignText:c=>{const l={...n,[s.field.alignText]:c};r(l)},text:n[s.field.text]["en-US"]||"",setText:c=>{const l={...n,[s.field.text]:{"en-US":c}};r(l)},typeFont:n[s.field.type],setTypeFont:c=>{const l={...n,[s.field.type]:c};r(l)},subtitle:s.label});if(s.type==="input")return d.jsx(ur,{onChange:c=>{const l={...n,[s.field]:{"en-US":c}};r(l)},value:n[s.field]["en-US"]||"",label:s.label,placeholder:s.placeholder});if(s.type==="inputNumber")return d.jsx(ur,{onChange:c=>{const l={...n,[s.field]:c};r(l)},value:n[s.field]||"",label:s.label,placeholder:s.placeholder,type:"number"});if(s.type==="inputSwitch")return d.jsxs("div",{className:Po.link,children:[d.jsx(ur,{onChange:c=>{const l={...n,[s.field.text]:{"en-US":c}};r(l)},value:n[s.field.text]["en-US"]||"",label:s.inputLabel,placeholder:s.placeholder}),d.jsx(Or,{current:!!n[s.field.switch]||!1,label:s.switchLabel,onChange:c=>{const l={...n,[s.field.switch]:c};r(l)}})]});if(s.type==="select")return d.jsx(So,{options:s.itemsOptions,onChange:c=>{const l={...n,[s.field]:c};r(l)},label:s.label,value:n[s.field]||"String",leftAddonOptions:s.leftAddonOptions})})})]})}),P9="_title_hvj8m_1",O9="_buttonsBlock_hvj8m_15",M9="_top_hvj8m_26",F9="_modal_hvj8m_120",B9="_options_hvj8m_146",H9="_closeIcon_hvj8m_154",li={title:P9,buttonsBlock:O9,top:M9,modal:F9,options:B9,closeIcon:H9},j9=k.forwardRef((e,t)=>{var S;const{activeButton:n,setActiveButton:r,popupPosition:i,editableLink:a=!0}=e,[u,s]=k.useState(n.typesText),[c,l]=k.useState(n.destination),[f,h]=k.useState(n.page),[g,m]=k.useState(n.link||""),[b,C]=k.useState(n.text||{"en-US":""}),[I,E]=k.useState(n.openInNewTab),{pages:y}=Qr();return vi(t,()=>{r(null)}),k.useEffect(()=>{r({...n,...{text:b,link:g,destination:c,typesText:u,page:f,openInNewTab:I}})},[u,c,g,b,f,I]),d.jsxs("div",{className:li.modal,onClick:T=>{T.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},ref:t,children:[d.jsxs("div",{className:li.top,children:[d.jsx("h3",{className:li.title,children:n.type}),d.jsx("div",{className:li.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>r(null)})})]}),d.jsxs("div",{className:li.options,children:[a&&d.jsx(So,{label:"Destination",onChange:T=>l(T),options:["Go to Page","Open Link"].filter(T=>T!==c),value:c}),a&&(c==="Go to Page"?d.jsx(So,{label:"Go to",onChange:T=>{if(T==="Sign In")h("/customer-dash");else if(y){for(const _ in y)if(y[_].name===T){h(y[_].path);break}}else h(mp[0])},options:y?[...Object.values(y).filter(T=>T.path!==f).map(T=>T.name),"Sign In"]:["Sign In"],value:y?f==="/customer-dash"?"Sign In":((S=Object.values(y).find(T=>T.path===f))==null?void 0:S.name)||"Home":"Home"}):d.jsx(ur,{onChange:T=>m(T),value:g,placeholder:"https://",label:"Link"})),a&&d.jsx(Or,{current:n.openInNewTab,label:"Open in new tab",onChange:T=>E(T)}),d.jsx(vd,{onChange:T=>C({"en-US":T}),value:b["en-US"],label:"Text"}),d.jsx(kd,{typesText:u,setTypesText:s})]})]})}),U9="_wrapper_m18qi_1",V9="_subtitle_m18qi_7",z9="_content_m18qi_14",$9="_range_m18qi_22",q9="_track_m18qi_27",W9="_progress_m18qi_36",G9="_dots_m18qi_46",Z9="_dot_m18qi_46",Y9="_active_m18qi_65",X9="_input_m18qi_77",K9="_countBlock_m18qi_91",J9="_controls_m18qi_107",Q9="_button_m18qi_113",Cn={wrapper:U9,subtitle:V9,content:z9,range:$9,track:q9,progress:W9,dots:G9,dot:Z9,active:Y9,input:X9,countBlock:K9,controls:J9,button:Q9},P2=e=>{const{label:t,min:n=1,max:r=4,step:i=1,count:a,setCount:u}=e,[s,c]=k.useState(!1),l=Array.from({length:(r-n)/i+1}),f=(a-n)/(r-n)*100,h=()=>{a<r&&u(a+i)},g=()=>{a>n&&u(a-i)},m=b=>{const C=n+b*i;u(C)};return d.jsxs("div",{className:Cn.wrapper,children:[t&&d.jsx("h5",{className:Cn.subtitle,children:t}),d.jsxs("div",{className:Cn.content,children:[d.jsxs("div",{className:Cn.range,children:[d.jsx("div",{className:Cn.track}),d.jsx("div",{className:Cn.progress,style:{width:`${f}%`}}),d.jsx("div",{className:Cn.dots,children:l.map((b,C)=>{const I=C<=(a-n)/i;return d.jsx("button",{onClick:()=>m(C),className:ge(Cn.dot,{[Cn.active]:I,[Cn.inactive]:!I,[Cn.dragging]:s}),"aria-label":`Set value to ${n+C*i}`},C)})}),d.jsx("input",{type:"range",min:n,max:r,step:i,value:a,onChange:b=>u(Number(b.target.value)),onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onTouchStart:()=>c(!0),onTouchEnd:()=>c(!1),className:Cn.input})]}),d.jsxs("div",{className:Cn.countBlock,children:[d.jsx(ur,{type:"number",min:n,max:r,paddingless:!0,onChange:b=>{const C=Number(b);C>r?u(r):C<n?u(n):u(C)},value:String(a)}),d.jsxs("div",{className:Cn.controls,children:[d.jsx("button",{onClick:h,disabled:a>=r,className:Cn.button,"aria-label":"Increment count",children:d.jsx(ie,{name:"CaretUp",width:15,height:15})}),d.jsx("button",{onClick:g,disabled:a<=n,className:Cn.button,"aria-label":"Decrement count",children:d.jsx(ie,{name:"CaretDown",width:15,height:15})})]})]})]})]})},eE="_title_11jyy_1",tE="_subtitle_11jyy_5",nE="_productsBlock_11jyy_14",rE="_top_11jyy_26",oE="_products_11jyy_14",iE="_product_11jyy_14",aE="_button_11jyy_80",uE="_buttons_11jyy_114",sE="_modal_11jyy_121",cE="_modalOptions_11jyy_148",lE="_addButton_11jyy_161",dE="_deleteButton_11jyy_176",fE="_closeIcon_11jyy_188",ha={title:eE,subtitle:tE,productsBlock:nE,top:rE,products:oE,product:iE,button:aE,buttons:uE,modal:sE,modalOptions:cE,addButton:lE,deleteButton:dE,closeIcon:fE},O2=({render:e,block:t})=>e(t),M2=({settings:e,pageContext:t})=>{const{footer:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{footer:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock((e==null?void 0:e.blockSettings)||r,t||i)},F2=({settings:e,pageContext:t})=>{const{header:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{header:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock((e==null?void 0:e.blockSettings)||r,t||i)},B2=({settings:e,pageContext:t})=>{const{announcement:n}=Yr(),{settings:r}=Ga(),{pageContext:i}=Qr(),{announcement:a}=Wo();if(!a||!n)return null;const u=new a;return Object.keys(n).map(s=>{u[s]=n[s]}),u.renderBlock(e||r,t||i)},hE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,i=localStorage.getItem("shopPassword");if(t&&!i)return null;const a=`${n.storeApi}/v2/shops/${r}/pages/${e}`+(t?`?password=${i}`:"");try{return await st({url:a,withToken:!0,method:"get"})}catch(u){if(ft.isAxiosError(u)&&u.response&&u.response.status===404)return null}},pE="_wrapper_5w9s8_1",mE={wrapper:pE},Ml=e=>{const{error:t}=e;return d.jsx("div",{className:mE.wrapper,children:t})},gE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v1/balance/top-up/${n}`;return await st({url:r,method:"post",body:e,withToken:!1})},Oi=async e=>{const t=Lt.getState().apiUrls;if(!localStorage.getItem("token"))throw new Error("No access token");const r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${t.customersApi}/v2/${r}/customers/${e}`;return await st({url:i,withToken:!0,method:"get",typeToken:"customer"})},bE=()=>Oi("dash/info"),CE=()=>Oi("dash/dashboard/home"),IE=()=>Oi("rewards"),yE=()=>Oi("balance"),EE=()=>Oi("balance/top-up/settings"),SE=()=>Oi("referral-system"),Fl=10,js=async({url:e,PageNumber:t})=>{var s;const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.customersApi}/v2/${r}/${e}?PageNumber=${t}&PageSize=${Fl}`,a=await st({url:i,withToken:!0,method:"get",typeToken:"customer"}),u=Number((s=a.headers)==null?void 0:s["x-pagination-total"]);return{list:a.data,totalCount:u}},Hd=async(e,t="get",n)=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.slApi}/v1/orders/${i}/${e}`;return await st({url:a,method:t,withToken:!0,body:n,typeToken:"customer"})},xE=e=>Hd("","post",e),_E=({PageNumber:e})=>js({url:"customers/orders",PageNumber:e}),TE=e=>Hd(e),wE=e=>Hd(e),AE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v1/${n}/subscriptions`;return await st({url:r,method:"post",withToken:!1,body:e})},kE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/${t}`;return await st({url:i,method:"get",withToken:!1})},vE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/${r}/subscriptions/${e}/${t}/upgrades`;return await st({url:i,method:"get",withToken:!1})},LE=async(e,t,n)=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.slApi}/v1/${i}/subscriptions/${e}/${t}/cancel`;return await st({url:a,method:"post",withToken:!1,body:n})},DE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/change-gateway`;return await st({url:i,method:"post",withToken:!1,body:{gateway:t}})},NE=({PageNumber:e})=>js({url:"customers/subscriptions",PageNumber:e}),RE=async({id:e,accessToken:t})=>await vE(e,t),PE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${r}/subscriptions/${e}/order`;return await st({url:i,method:"post",withToken:!1,body:t})},OE=async(e,t)=>{const n=Lt.getState().apiUrls,r=zt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/public/${r}/tickets/${e}/${t}`;return await st({url:i,method:"get",withToken:!1})},ME=async(e,t,n,r,i)=>{const a=Lt.getState().apiUrls,u=zt?localStorage.getItem("fakeDomain"):window.location.hostname,s=`${a.slApi}/v1/public/${u}/tickets/${e}/${t}/answer`;return(await st({url:s,method:"post",body:{message:n,recaptcha:r,tsId:i},withToken:!1})).data},FE=({PageNumber:e})=>js({url:"customers/tickets",PageNumber:e}),BE=({PageNumber:e})=>js({url:"customers/balance/transactions",PageNumber:e}),H2=async e=>{const t=Lt.getState().apiUrls,n=e.map(u=>["names",u]),r=new URLSearchParams(n),i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${t.slApi}/v2/gateways?shopDomain=${i}&${r.toString()}`;return await st({url:a,method:"get",withToken:!1})},j2=async({email:e,recaptcha:t,tsId:n})=>{const r=Lt.getState().apiUrls,i=zt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${r.customersApi}/v2/${i}/auth/otp/request`;return(await st({url:a,body:{email:e,recaptcha:t,tsId:n},method:"post",withToken:!1})).data?{requested:!0,email:e}:{requested:!1,email:void 0}},U2=async({email:e,otp:t,recaptcha:n,tsId:r})=>{const i=Lt.getState().apiUrls,a=zt?localStorage.getItem("fakeDomain"):window.location.hostname,u=`${i.customersApi}/v2/${a}/auth/otp/login`,{data:s}=await st({url:u,method:"post",body:{email:e,otp:t,recaptcha:n,tsId:r},withToken:!1});return Ao.getState().setToken(s.data),localStorage.setItem("token",s.data),{token:s.data,requested:!1}},Bl=async()=>{Ao.getState().setToken(""),Jn.getState().setDashInfo(null),localStorage.removeItem("token")},HE=Object.freeze(Object.defineProperty({__proto__:null,loginCustomer:U2,logoutCustomer:Bl,requestOtp:j2},Symbol.toStringTag,{value:"Module"})),jE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.slApi}/v2/coupons/${n}/validate`;return await st({url:r,method:"post",body:e,withToken:!1})},UE=async e=>{const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.customersApi}/v2/${n}/customers/referral-system/signup`;return(await st({url:r,withToken:!0,method:"post",body:e,typeToken:"customer"})).data},VE=async()=>{const{data:e}=await SE();return e},zE=async e=>{const{data:t}=await UE(e);return t};async function $E(e){const t=Lt.getState().apiUrls,n=zt?localStorage.getItem("fakeDomain"):window.location.hostname,r=`${t.customersApi}/v2/${n}/customers/rewards/${e.id}/claim`;return st({url:r,method:"post",withToken:!0,typeToken:"customer"})}const kc="Balance",qE={Number:"NUMBER",Textarea:"LARGE_TEXT",Checkbox:"CHECK_BOX",Hidden:"HIDDEN"},WE={customerEmail:"",recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:""},U1=(e,t)=>{var l;const{productId:n,productVariantId:r,quantity:i,chargeType:a}=t,u=e.find(f=>f.id===n);if(!u)throw new Error("Product does not exist");const s=u.variants.find(f=>f.id===r);if(!s)throw new Error("Variant does not exist");if(a==="RECURRING"&&!s.subscriptionSettings)throw new Error("Variant does not have subscription settings");if(i!==void 0&&((l=s.quantity)!=null&&l.available)&&s.quantity.available<i)throw new Error("Not enough quantity available");const c=Gr.getState().cart;if(c.parts.length>0){const f=e.find(g=>g.id===c.parts[0].productId),h=f==null?void 0:f.variants.find(g=>g.id===c.parts[0].productVariantId);if(h&&s.price.currency!==h.price.currency)throw new Error("Product have different currency")}return s},GE=(e,t)=>{if(!e.volumeDiscounts||e.volumeDiscounts.length===0)return 0;const n=e.volumeDiscounts.filter(i=>t>=i.amount);return n.length===0?0:n.reduce((i,a)=>a.amount>i.amount?a:i).percentage},ZE=(e,t)=>{let n=0,r=0;return e.forEach(i=>{var g,m;const a=t.find(b=>(b==null?void 0:b.id)===i.productId),u=a==null?void 0:a.variants.find(b=>b.id===i.productVariantId);if(!u)return;const{gateway:s}=Gr.getState().cart,c=(u==null?void 0:u.gateways)||[],l=c.some(b=>b.name===s&&b.overrodePrice)?(g=c.find(b=>b.name===s))==null?void 0:g.overrodePrice:null;let f=0,h=0;if(i.chargeType==="ONE_TIME"?(f=(l==null?void 0:l.amount)||(u==null?void 0:u.price.amount)||0,h=f*i.quantity):h=u!=null&&u.subscriptionSettings?u.subscriptionSettings.price.amount+(((m=u.subscriptionSettings.entryFee)==null?void 0:m.amount)||0):0,n+=h,i.chargeType==="ONE_TIME"){const b=GE(u,i.quantity),C=h*(1-b/100);r+=C}else r+=h}),{total:n,totalWithVolumeDiscounts:r}},YE=(e,t)=>({isRequired:t.some(r=>{var a;const i=e.find(u=>(u==null?void 0:u.id)===r.productId);return(a=i==null?void 0:i.variants.find(u=>u.id===r.productVariantId))==null?void 0:a.discordSettings.isRequired}),isEnabled:t.some(r=>{var a;const i=e.find(u=>(u==null?void 0:u.id)===r.productId);return(a=i==null?void 0:i.variants.find(u=>u.id===r.productVariantId))==null?void 0:a.discordSettings.isEnabled})}),V1=e=>new Set(e.gateways.map(t=>t.name)),vc={availableGateways:[],requiresSignInGateways:[]},z1=(e,t)=>{if(t.length===0)return vc;const n=e[0];if(!n)return vc;const r=t.find(s=>s.id===n.productId),i=r==null?void 0:r.variants.find(s=>s.id===n.productVariantId);if(!i)return vc;const a=V1(i);for(const s of e){const c=t.find(h=>h.id===s.productId);if(!c)continue;const l=c.variants.find(h=>h.id===s.productVariantId);if(!l)continue;const f=V1(l);for(const h of a)f.has(h)||a.delete(h)}return!localStorage.getItem("token")&&a.has(kc)?(a.delete(kc),{availableGateways:[...a],requiresSignInGateways:[kc]}):{availableGateways:[...a],requiresSignInGateways:[]}},XE=(e,t)=>{if(e.length===0)return[];const r=e.map(a=>{const u=t.find(c=>c.id===a.productId),s=u==null?void 0:u.variants.find(c=>c.id===a.productVariantId);return(s==null?void 0:s.customFields)??[]}).flat().reduce((a,u)=>{const s=a[u.name];return s?(u.required&&!s.required&&(a[u.name]={...u,value:u.defaultValue}),a):(a[u.name]={...u,value:u.defaultValue},a)},{});return Object.values(r).map(a=>({...a,value:""}))},KE=(e,t)=>{const n=t.find(i=>i.id===e.productId),r=n==null?void 0:n.variants.find(i=>i.id===e.productVariantId);return e.chargeType==="RECURRING"?!!(r!=null&&r.subscriptionSettings):!1},JE=()=>{const{cart:e,products:t,coupon:n,pending:r,applyCouponPending:i,customerEmail:a,setCart:u,setProducts:s,setCoupon:c,setPending:l,setApplyCouponPending:f}=Gr(),h=async C=>{var x;f(!0);const{cart:I}=Gr.getState(),{gateway:E,parts:y}=I,{notifications:S,setNotifications:T}=fn.getState();E||(f(!1),T([...S,{message:"There should be a gateway for the coupon",status:"error",id:mt()}]));const _=y.map(M=>M.productId);let v=null;try{const{data:M}=await jE({gateway:E,couponName:C,productIds:_});v=M.data,T([...S,{message:"Coupon is applied",status:"success",id:mt()}]),u(H=>({...H,coupon:C}))}catch(M){const H=M;T([...S,{message:`Coupon is not applied: ${H.message}`,status:"error",id:mt()}]),u(A=>({...A,coupon:null})),c(null),f(!1)}if(f(!1),(x=v==null?void 0:v.restrictToProductIds)!=null&&x.length&&!_.every(M=>{var H;return(H=v==null?void 0:v.restrictToProductIds)==null?void 0:H.includes(M)}))throw new Error("Coupon can't be applied to such products");return c(v),v},b={reset(){u({...WE})},addProducts:C=>{const I=Gr.getState().products,E=C.filter(y=>!I.some(S=>S.id===y.id));s([...I,...E])},addProductToCart:C=>{const I=Gr.getState().cart;try{U1(t,C)}catch(y){throw new Error(y)}const E=I.parts.find(y=>y.productId===C.productId&&y.productVariantId===C.productVariantId&&y.chargeType===C.chargeType);if(E)return b.updateQuantityOfProduct({...E,quantity:(E.quantity||1)+(C.quantity||1),chargeType:C.chargeType});if(I.parts.length&&z1([...I.parts,C],t).availableGateways.length===0)throw new Error("No common payment gateways available");u({...I,parts:[...I.parts,C]}),I.coupon&&h(I.coupon)},removeProduct({productId:C,productVariantId:I}){u(E=>({...E,parts:E.parts.filter(y=>y.productId!==C||y.productVariantId!==I)})),e.coupon&&h(e.coupon)},getPossibleGateways(){return z1(e.parts,t)},removeCoupon(){c(null)},getDiscordSettings(){return YE(t,e.parts)},updateQuantityOfProduct(C){U1(t,C),u(I=>({...I,parts:I.parts.map(E=>E.productId===C.productId&&E.productVariantId===C.productVariantId?{...E,quantity:C.quantity,chargeType:C.chargeType}:E)})),e.coupon&&h(e.coupon)},getTotalAndDiscount(){const{coupon:C}=Gr.getState(),{total:I,totalWithVolumeDiscounts:E}=ZE(e.parts,t);let y;const S=E;return C&&C.discount?!C.isFixed&&C.discount===100?y=0:y=C.isFixed?Math.max(0,S-C.discount):S*(1-C.discount/100):E!==I&&(y=E),{total:I,totalWithVolumeDiscounts:E!==I?E:void 0,totalWithDiscount:y}},setGateway(C){u(E=>({...E,gateway:C}));const{isAntistock:I}=gt.getState();e.coupon&&!I&&h(e.coupon)},setPaymentMethod(C){u(I=>({...I,paymentMethod:C}))},async submitCart(C){l(!0);const{cart:I}=Gr.getState(),{discordInfo:E}=t2.getState();let y;if(I.parts&&a&&KE(I.parts[0],t))try{const{data:S}=await AE({gateway:I.gateway,coupon:I.coupon,partOrder:I.parts[0],referralCode:localStorage.getItem("referralCode"),discordSocialConnectId:E!=null&&E.authorized?E.id:null,customerEmail:a,recaptcha:C,customFields:{...I.customFields},tsId:xo()});y=S.data}catch(S){console.error(S)}else try{const{data:S}=await xE({gateway:I.gateway,parts:[...I.parts],coupon:I.coupon,customerEmail:I.customerEmail,referralCode:localStorage.getItem("referralCode"),recaptcha:C,customFields:{...I.customFields},tsId:xo(),discordSocialConnectId:E!=null&&E.authorized?E.id:null});y=S.data}catch(S){const T=S,{notifications:_,setNotifications:v}=fn.getState();v([..._,{message:`Failed to create order: ${T.message}`,status:"error",id:mt()}])}if(l(!1),y)return y;throw new Error("Failed to create order")},setDiscordSocialConnectId(C){u(I=>({...I,discordSocialConnectId:C}))},setCustomFields(C){u(I=>({...I,customFields:{...C}}))}};return k.useEffect(()=>{u(C=>({...C,customerEmail:a??""}))},[a,u]),{cart:e,products:t,coupon:n,pending:r,applyCouponPending:i,applyCoupon:h,...b}},Us=()=>{const{notifications:e,setNotifications:t}=fn();return n=>{navigator.clipboard.writeText(n),t([...e,{status:"success",message:"Successfully copied",id:mt()}])}};function V2(e,t=!0){if(!e||typeof e!="string")return"";if(/<[a-z][\s\S]*>/i.test(e))return e;const r=e.split(" "),i=20;if(t){let a="",u=[];return r.forEach(s=>{s.length>i?(u.length>0&&(a+=`<span style="hyphens: manual">${u.join(" ")} </span>`,u=[]),a+=`<span style="hyphens: auto" lang="en">${s} </span>`):u.push(s)}),u.length>0&&(a+=`<span style="hyphens: manual">${u.join(" ")}</span>`),a}else{const a=[];let u=[],s=0;return r.forEach(c=>{c.length>i?(u.length>0&&(a.push(d.jsxs("span",{style:{hyphens:"manual"},children:[u.join(" ")," "]},s++)),u=[]),a.push(d.jsxs("span",{style:{hyphens:"auto"},lang:"en",children:[c," "]},s++))):u.push(c)}),u.length>0&&a.push(d.jsx("span",{style:{hyphens:"manual"},children:u.join(" ")},s++)),a}}const QE=k.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:r,popupPosition:i,setIsOpenModal:a,itemsOptions:u}=e,s=u.find(c=>c.id===n.listingId);return vi(t,()=>{r(null),a(!1)}),s?d.jsxs("div",{className:ha.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:ha.top,children:[d.jsx("h3",{dangerouslySetInnerHTML:{__html:V2(s.productData.name)}}),d.jsx("div",{className:ha.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{a(!1),r(null)}})})]}),d.jsx("div",{className:ha.modalOptions,children:d.jsx(Xa,{label:"Put up an attractive image",activeImage:s.productData.images.length>0?s.productData.images[0].cfId:n.image?n.image:void 0,onChange:c=>{const l={...n,image:c[0]};r(l)}})})]}):null}),eS="_wrapper_ipyfg_1",tS="_label_ipyfg_9",nS="_input_ipyfg_18",rS="_disabled_ipyfg_31",oS="_paddingless_ipyfg_36",iS="_content_ipyfg_47",aS="_contentBorder_ipyfg_60",uS="_contentField_ipyfg_65",sS="_contentIsAntistock_ipyfg_69",cS="_borderless_ipyfg_74",lS="_rightIcon_ipyfg_79",dS="_leftIcon_ipyfg_87",fS="_requiredStar_ipyfg_94",wn={wrapper:eS,label:tS,input:nS,disabled:rS,paddingless:oS,content:iS,contentBorder:aS,contentField:uS,contentIsAntistock:sS,borderless:cS,rightIcon:lS,leftIcon:dS,requiredStar:fS},Zo=e=>{const{onChange:t,style:n,label:r,value:i,type:a="text",min:u,max:s,placeholder:c,disabled:l=!1,required:f=!1,regex:h,paddingless:g=!1,borderless:m=!1,editable:b=!1,isSearch:C=!1,centered:I=!1,maxSymbols:E,rightIcon:y,onFocus:S,leftIcon:T}=e,{themeSettings:_}=Eo(),{isAntistock:v}=gt(),{inputs:x}=_,[M,H]=k.useState(!1);function A(F){if(Number(F)<0)return String(u);const W=F.replace(/[^\d-]/g,"");return Number(W)<0?String(u):W}function j(F){if(!f||!h)return!0;try{return new RegExp(h).test(F)}catch(W){return console.error("Invalid regex pattern:",h,W),!0}}return d.jsxs("div",{className:wn.wrapper,children:[r&&d.jsxs("label",{className:wn.label,htmlFor:r,style:{color:v?"var(--text-secondary)":void 0},children:[r,f&&d.jsx("span",{className:wn.requiredStar,children:"*"})]}),d.jsxs("div",{className:ge(wn.content,{[wn.contentBorder]:!v&&x.border.active,[wn.contentField]:x.field.active,[wn.disabled]:l,[wn.contentIsAntistock]:v}),style:{...n},children:[T&&d.jsx("div",{className:wn.leftIcon,children:T}),d.jsx("input",{maxLength:E,id:r,type:a||"text",onChange:F=>{if(a==="text")t(F.target.value);else{const W=A(F.target.value);t(W)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(wn.input,{[wn.required]:M&&f&&!j(i),[wn.paddingless]:g,[wn.borderless]:m}),min:a==="number"?u:void 0,max:a==="number"?s:void 0,onFocus:()=>{S==null||S(),H(!0)},disabled:l,style:{textAlign:I?"center":"left",padding:C?`7px ${Number(x.general.size)+20}px 7px ${T?35:11}px`:v?`4.5px ${y?35:11}px 4px ${T?35:11}px`:`7px ${y?35:11}px 7px ${T?35:11}px`}}),y&&d.jsx("div",{className:wn.rightIcon,children:y}),C&&d.jsx("div",{className:wn.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:x.general.size,height:x.general.size})}),b&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})},hS="_button_jptux_1",pS="_primary_jptux_20",mS="_primaryHovered_jptux_30",gS="_secondary_jptux_35",bS="_secondaryHovered_jptux_45",CS="_secondaryAntistock_jptux_50",IS="_tertiary_jptux_61",yS="_special_jptux_71",ES="_tertiaryHovered_jptux_75",SS="_content_jptux_80",xS="_isAntistock_jptux_88",dr={button:hS,primary:pS,primaryHovered:mS,secondary:gS,secondaryHovered:bS,secondaryAntistock:CS,tertiary:IS,special:yS,tertiaryHovered:ES,content:SS,isAntistock:xS},_S=()=>typeof document<"u"?document.documentElement.hasAttribute("translated")||document.documentElement.querySelector(".translated-ltr, .translated-rtl")!==null||document.head.querySelector('meta[name="_translator"]')!==null:!1,z2=({children:e,className:t,as:n="span",...r})=>{const[i,a]=k.useState(!1);return k.useEffect(()=>{typeof window<"u"&&a(_S())},[]),i?d.jsx(n,{className:t,...r,"data-stable-text":e,dangerouslySetInnerHTML:{__html:""}}):d.jsx(n,{className:t,...r,children:e})},wt=e=>{const{children:t,onClick:n,style:r,className:i,disabled:a=!1,type:u="Primary",dangerouslySetInnerHTML:s}=e,{themeSettings:c}=Eo(),{isAntistock:l}=gt(),f=C=>typeof C=="string"?d.jsx(z2,{children:C}):C,h={onClick:n,disabled:a,style:r,className:ge(dr.button,i,{[dr.primary]:u==="Primary",[dr.secondary]:u==="Secondary"&&!l,[dr.secondaryAntistock]:u==="Secondary"&&l,[dr.tertiary]:u==="Tertiary",[dr.primaryHovered]:u==="Primary"&&!a&&c.buttons.primary.hover&&!l,[dr.secondaryHovered]:u==="Secondary"&&!a&&c.buttons.secondary.hover&&!l,[dr.tertiaryHovered]:u==="Tertiary"&&!a&&c.buttons.tertiary.hover&&!l,[dr.isAntistock]:l})};if(u==="Special")return d.jsx("button",{...h,className:dr.special,...s?{dangerouslySetInnerHTML:s}:{children:f(t)}});const g=u.toLowerCase(),m=c.buttons[g],b=u==="Tertiary"?d.jsxs("div",{className:dr.content,children:[f(t),d.jsx(ie,{name:"ArrowRight",fill:"var(--text-tertiary)",width:20,height:20})]}):f(t);return d.jsx("button",{...h,style:{...r,textAlign:m.alignment},...s?{dangerouslySetInnerHTML:s}:{children:b}})},TS="_modal_1iz94_1",wS="_padding_1iz94_17",AS="_content_1iz94_21",kS="_close_1iz94_42",xu={modal:TS,padding:wS,content:AS,close:kS},Vs=e=>{const{close:t,children:n,withAnimation:r=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:u}=eo(),{themeSettings:s}=Eo(),{isAntistock:c}=qd(),l=h=>{const g=h.replace("#","");if(!/^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(g))return console.warn("Invalid hex color:",h),h;let m=g;return g.length===3&&(m=g.split("").map(b=>b+b).join("")),`#${m}e6`},f=()=>{u(!1),r?setTimeout(()=>{t(!1),u(!0)},300):(t(!1),u(!0))};return k.useEffect(()=>{const h=g=>{g.key==="Escape"&&f()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[]),Ho.createPortal(d.jsx("div",{className:ge(xu.modal,{[xu.padding]:i}),style:{backgroundColor:c?l(s.colors.surface.primary):void 0},onClick:f,children:r?d.jsx("div",{className:ge(xu.content,{[xu.close]:!a}),children:n}):d.jsx(d.Fragment,{children:n})}),document.body)},vS="_loader_1kbu3_1",LS="_loaderAntistock_1kbu3_18",$1={loader:vS,loaderAntistock:LS},Nn=e=>{const{isAntistock:t}=gt();return t?d.jsx("span",{className:$1.loaderAntistock,style:{width:"15px",height:"15px",borderWidth:"2px"}}):d.jsx("div",{className:$1.loader,...e})},DS="_container_6vcrl_1",NS="_wrapper_6vcrl_5",q1={container:DS,wrapper:NS};class RS{constructor(){Wi(this,"observer",null);Wi(this,"callbacks",new Map);Wi(this,"handleWindowResize",()=>{this.callbacks.forEach((t,n)=>{const r=n.getBoundingClientRect().width;t.forEach(i=>i(r))})});this.observer=new ResizeObserver(t=>{var n;for(const r of t){const i=r.contentRect.width,a=r.target;this.callbacks.has(a)&&((n=this.callbacks.get(a))==null||n.forEach(u=>u(i)))}}),window.addEventListener("resize",this.handleWindowResize)}observe(t,n){var i;if(!this.observer)return;this.callbacks.has(t)||(this.callbacks.set(t,[]),this.observer.observe(t)),(this.callbacks.get(t)||[]).includes(n)||(i=this.callbacks.get(t))==null||i.push(n)}unobserve(t,n){var r;if(!(!this.observer||!this.callbacks.has(t))){if(n){const i=this.callbacks.get(t)||[];this.callbacks.set(t,i.filter(a=>a!==n))}(r=this.callbacks.get(t))!=null&&r.length||(this.callbacks.delete(t),this.observer.unobserve(t))}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callbacks.clear(),window.removeEventListener("resize",this.handleWindowResize)}}const W1=new RS;function $2(e){const[t,n]=k.useState("desktop");return k.useEffect(()=>{const r=e.current;if(!r)return;const i=s=>s>=1081?"desktop":s>=720?"tablet":"mobile",a=s=>{const c=i(s);n(c)};W1.observe(r,a);const u=r.getBoundingClientRect().width;return a(u),()=>{W1.unobserve(r,a)}},[e]),t}const _u=16,q2=({children:e,padding:t,style:n,notPadding:r=!1,maxWidth:i="var(--max-width-store)"})=>{const a=k.useRef(null),u=$2(a);return d.jsx("div",{className:q1.container,ref:a,style:n,children:d.jsx("div",{className:q1.wrapper,style:{maxWidth:i,paddingTop:u==="desktop"?t==null?void 0:t.top:r?0:_u,paddingBottom:u==="desktop"?t==null?void 0:t.bottom:r?0:_u,paddingLeft:u==="desktop"?t==null?void 0:t.left:r?0:_u,paddingRight:u==="desktop"?t==null?void 0:t.right:r?0:_u,...n},children:e(u)})})},PS="_wrapper_d9z4o_1",OS="_label_d9z4o_10",MS="_contentBorder_d9z4o_19",FS="_textarea_d9z4o_23",BS="_contentField_d9z4o_35",HS="_antistock_d9z4o_49",jS="_length_d9z4o_58",ro={wrapper:PS,label:OS,contentBorder:MS,textarea:FS,contentField:BS,antistock:HS,length:jS},US=e=>{const{onChange:t,label:n,value:r,maxLength:i,placeholder:a="Type something...",type:u="text",required:s=!1}=e,[c,l]=k.useState(r.length),{themeSettings:f}=Eo(),{isAntistock:h}=gt();function g(m){return u==="number"?m.replace(/[^\d\n]+/g,""):m}return d.jsxs("div",{className:ro.wrapper,children:[n&&d.jsxs("label",{className:ro.label,htmlFor:n,style:{color:h?"var(--text-secondary)":void 0},children:[n,s&&d.jsx("span",{className:ro.requiredStar,children:"*"})]}),d.jsx("textarea",{id:n,value:r,onChange:m=>{const b=g(m.target.value);l(b.length),t(b)},placeholder:a,className:ge(ro.textarea,{[ro.contentBorder]:f.inputs.border.active,[ro.contentField]:f.inputs.field.active,[ro.antistock]:h}),maxLength:i}),i&&d.jsxs("div",{className:ro.length,children:[c,"/",i]})]})},VS="_wrapper_ty9h3_2",zS="_label_ty9h3_9",$S="_top_ty9h3_17",qS="_select_ty9h3_23",WS="_borderFocused_ty9h3_42",GS="_input_ty9h3_49",ZS="_icon_ty9h3_59",YS="_rotate_ty9h3_64",XS="_content_ty9h3_68",KS="_options_ty9h3_72",JS="_filteredOptions_ty9h3_93",QS="_open_ty9h3_97",ex="_option_ty9h3_72",tx="_focused_ty9h3_115",nx="_addon_ty9h3_119",rx="_value_ty9h3_130",ox="_postfix_ty9h3_135",ix="_leftAddon_ty9h3_139",en={wrapper:VS,label:zS,top:$S,select:qS,borderFocused:WS,input:GS,icon:ZS,rotate:YS,content:XS,options:KS,filteredOptions:JS,open:QS,option:ex,focused:tx,addon:nx,value:rx,postfix:ox,leftAddon:ix};function ax(e,t){k.useEffect(()=>{function n(r){!e.current||e.current.contains(r.target)||t(r)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const W2=e=>{var M,H;const{onChange:t,label:n,value:r,options:i,style:a,switcher:u,postfixs:s,leftAddonOptions:c}=e,[l,f]=k.useState(!1),[h,g]=k.useState(""),[m,b]=k.useState(null),[C,I]=k.useState(!1),E=k.useRef(null);ax(E,()=>f(!1));function y(A){g(""),t(A),f(!1),b(null)}function S(A,j){return A?A.length>j+3?`${A.slice(0,j)}...`:A:""}function T(A){if(!l){(A.key==="Enter"||A.key==="ArrowDown")&&f(!0);return}const j=x;A.key==="ArrowDown"&&(A.preventDefault(),b(F=>F===null||F===j.length-1?0:F+1)),A.key==="ArrowUp"&&(A.preventDefault(),b(F=>F===null||F===0?j.length-1:F-1)),A.key==="Enter"&&m!==null&&(A.preventDefault(),y(j[m])),A.key==="Escape"&&f(!1)}const _=k.useRef(null),v=k.useMemo(()=>new to(i,{threshold:.4,minMatchCharLength:2}),[i]),x=k.useMemo(()=>C&&h.trim()!==""?v.search(h).map(A=>A.item):i,[h,i,C,v]);return d.jsxs("div",{className:en.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:en.top,children:[d.jsx("label",{className:en.label,htmlFor:n,children:n}),u&&d.jsx(Or,{current:u.value,onChange:u.onChange})]}),d.jsxs("label",{className:en.content,ref:E,children:[d.jsxs("div",{className:ge(en.select,{[en.borderFocused]:l}),onKeyDown:T,onClick:A=>{A.stopPropagation(),f(j=>!j),I(!1)},ref:_,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:en.addon,children:(M=c.find(A=>A.value===r))==null?void 0:M.addon}),d.jsx("div",{className:en.input,id:"md",children:S(r,15)}),d.jsx("div",{className:ge(en.icon,{[en.rotate]:l}),onClick:A=>{A.stopPropagation(),f(j=>!j)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16,fill:"var(--text-primary)"})})]}),d.jsxs("div",{className:ge(en.options,{[en.open]:l}),style:{top:((H=_.current)==null?void 0:H.clientHeight)+10},children:[i.length>6&&d.jsx(Zo,{type:"text",value:h,placeholder:"Search...",onChange:A=>{g(A),I(!0)},isSearch:!0}),d.jsxs("div",{className:en.filteredOptions,children:[x.map((A,j)=>{var F;return d.jsxs("div",{className:ge(en.option,{[en.focused]:j===m}),onClick:()=>{y(A),f(!1)},id:"md",children:[c&&c.length>0&&d.jsx("div",{className:en.leftAddon,children:(F=c.find(W=>W.value===A))==null?void 0:F.addon}),d.jsx("span",{className:en.value,id:"md",children:S(A,20)}),s&&d.jsx("span",{className:en.postfix,id:"md",children:s[j]})]},A)}),x.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})},ux="_wrapper_2vleg_1",sx="_label_2vleg_9",cx="_options_2vleg_17",lx="_radioLabel_2vleg_23",dx="_radio_2vleg_23",fx="_custom_2vleg_38",hx="_option_2vleg_17",Do={wrapper:ux,label:sx,options:cx,radioLabel:lx,radio:dx,custom:fx,option:hx},px=e=>{const{defaultValue:t,options:n,onChange:r,label:i,flexDirection:a="row"}=e,[u,s]=k.useState(t),c=l=>{const f=l.target.value;s(f),r(f)};return d.jsxs("div",{className:Do.wrapper,children:[d.jsx("span",{className:Do.label,children:i}),d.jsx("div",{className:Do.options,style:{flexDirection:a},children:n.map(l=>d.jsxs("label",{className:Do.radioLabel,children:[d.jsx("input",{type:"radio",value:l.value,checked:u===l.value,onChange:c,className:Do.radio}),d.jsx("span",{className:Do.custom}),d.jsx("span",{className:Do.option,children:l.label})]},l.value))})]})},mx="_content_eonwv_1",gx="_main_eonwv_12",bx="_block_eonwv_16",Cx="_active_eonwv_22",Ix="_name_eonwv_32",yx="_addSection_eonwv_109",Ex="_addSectionTop_eonwv_117",oo={content:mx,main:gx,block:bx,active:Cx,name:Ix,addSection:yx,addSectionTop:Ex},Sx="_sidebar_xhqpt_1",xx="_content_xhqpt_14",_x="_button_xhqpt_24",Tx="_moveButton_xhqpt_40",wx="_deleteButton_xhqpt_49",Tr={sidebar:Sx,content:xx,button:_x,moveButton:Tx,deleteButton:wx},Ax=()=>{var _;const{activeBlock:e,setActiveBlock:t}=vs(),{blocks:n,removeBlock:r,moveBlock:i,duplicateBlock:a,setCurrentBlock:u}=Yr(),{currentPage:s,pages:c}=Qr(),{setTitle:l,setDescription:f,setOnConfirm:h}=Ip(),{setActiveBlock:g}=Wo(),m=(_=c==null?void 0:c[s])==null?void 0:_.path,b=m?n[m]:null,C=(b==null?void 0:b.order)||[],I=C.indexOf(e.id),E=v=>{v.stopPropagation(),I>0&&m&&(i(m,I,I-1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},y=v=>{v.stopPropagation(),I<C.length-1&&m&&(i(m,I,I+1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},S=v=>{v.stopPropagation(),m&&a(m,e.id)},T=()=>{m&&(r(m,e.id),u(null),g(null),t({id:null,neededScroll:!1}))};return d.jsx("div",{className:Tr.sidebar,children:d.jsxs("div",{className:Tr.content,children:[d.jsx("button",{onClick:E,className:ge(Tr.button,Tr.moveButton),disabled:I===0,children:d.jsx(ie,{name:"ArrowUp"})}),d.jsx("button",{onClick:y,className:ge(Tr.button,Tr.moveButton),disabled:I===C.length-1,children:d.jsx(ie,{name:"ArrowDown"})}),d.jsx("button",{onClick:S,className:ge(Tr.button,Tr.moveButton),children:d.jsx(ie,{name:"Copy"})}),d.jsx("button",{className:ge(Tr.button,Tr.deleteButton),onClick:v=>{v.stopPropagation(),l("Remove Block"),f(`Are you sure you want to delete ${(b==null?void 0:b.data[e.id].name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),h(T)},children:d.jsx(ie,{name:"Trash",hoverable:!0,fill:"#C12A2A"})})]})})};function pa(e,t){if(!t||!t[e])return"unknown name";const n=new t[e];return!n.blockSettings||!n.blockSettings.displayName?"unknown name":n.blockSettings.displayName}const kx=k.memo(({scrollableRef:e})=>{const{setActiveBlock:t,activeBlock:n,zoomLevel:r}=vs(),{blocks:i,sourceBlocks:a}=Wo(),{blocks:u,setCurrentBlock:s,currentBlock:c,setPositionBlock:l,announcement:f}=Yr(),{settings:h}=Ga(),{currentPage:g,pages:m,pageContext:b}=Qr(),{activeBlock:C,setActiveBlock:I}=Eo(),{setError:E}=Cp(),{setActiveBlock:y}=Wo(),S=k.useRef(n.id),T=k.useRef({});k.useEffect(()=>{if(n.id&&n.neededScroll&&T.current[n.id]){const x=T.current[n.id];if(x&&e.current){const M=x.offsetTop;e.current.scrollTo({top:M-30,behavior:"smooth"})}}},[n,e]);const _=Jr();k.useEffect(()=>{S.current=n.id},[n.id]);const v=x=>{if(!x||!x.name)return E({message:"Block or block.name is undefined.",failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Ml,{error:"Block or block.name is undefined."});if(!i||!i[x.name])return E({message:'Block "${block.name}" does not exist in blocks.',failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Ml,{error:`Block "${x.name}" does not exist in blocks.`});const M=new i[x.name];return x.value&&Object.assign(M,x.value),M.renderBlock(h,b)};return d.jsxs("div",{onClick:x=>{x.stopPropagation()},className:oo.content,style:{width:"100%",height:"100%",zoom:`${r}`},ref:e,children:[f&&d.jsx(B2,{}),d.jsx(F2,{}),d.jsx("div",{className:oo.main,children:m&&m[g]&&u[m[g].path]&&u[m[g].path].data&&u[m[g].path].order.map(x=>d.jsxs("div",{ref:M=>T.current[x]=M,onClick:M=>{M.stopPropagation(),y(null),C&&I(null),t({id:x,neededScroll:!0}),setTimeout(()=>{t({id:x,neededScroll:!1})},100),s(null),c?setTimeout(()=>{s(n.id)},100):s(n.id)},onMouseEnter:M=>{M.stopPropagation(),n.neededScroll||t({id:x,neededScroll:!1})},onMouseLeave:M=>{M.stopPropagation(),n.neededScroll||t({id:null,neededScroll:!1})},className:ge(oo.block),children:[(n.id===x||c===x)&&d.jsx("div",{className:oo.active}),(n.id===x||c===x)&&d.jsx("div",{className:oo.name,children:pa(u[m[g].path].data[x].name,a)}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx(Ax,{}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx("div",{className:oo.addSection,children:d.jsx(Ei,{onClick:M=>{M.stopPropagation(),l(x,!0),s(null),t({id:null,neededScroll:!1}),y(null),_("/admin/builder/add")},children:"Add Section"})}),(n.id===x||c===x)&&pa(u[m[g].path].data[x].name,a)!=="unknown name"&&d.jsx("div",{className:ge(oo.addSection,oo.addSectionTop),children:d.jsx(Ei,{onClick:M=>{M.stopPropagation(),l(x,!1),s(null),t({id:null,neededScroll:!1}),y(null),_("/admin/builder/add")},children:"Add Section"})}),i&&d.jsx(O2,{render:v,block:u[m[g].path].data[x]})]},x))}),d.jsx(M2,{})]})}),vx="_statItem_fzeec_1",Lx="_content_fzeec_44",Dx="_withChildren_fzeec_50",Nx="_info_fzeec_56",Rx="_iconWrapper_fzeec_68",Px="_text_fzeec_78",Ox="_title_fzeec_84",Mx="_value_fzeec_88",Fx="_emptyImage_fzeec_94",Bx="_image_fzeec_11",Hx="_imageTitle_fzeec_112",jx="_emptyImageText_fzeec_122",Ux="_hoverable_fzeec_147",Wt={statItem:vx,content:Lx,withChildren:Dx,info:Nx,iconWrapper:Rx,text:Px,title:Ox,value:Mx,emptyImage:Fx,image:Bx,imageTitle:Hx,emptyImageText:jx,hoverable:Ux},tr=({iconName:e,title:t,value:n,image:r,imageName:i,children:a,className:u,logo:s,customLogo:c,productSlug:l})=>{const f=Jr();return d.jsxs("div",{className:`${Wt.statItem} ${u}`,children:[r&&r!=="empty"&&d.jsxs("div",{style:{position:"relative"},onClick:()=>{l&&f(`/${l}`)},children:[d.jsx("div",{style:{background:"#000000"},children:d.jsx("img",{src:r,alt:i,className:ge(Wt.image,Wt.emptyImage,{[Wt.hoverable]:l})})}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:ge(Wt.title,Wt.imageTitle),id:"h5",children:i})})]}),r==="empty"&&d.jsx("div",{style:{background:"#000000"},children:d.jsxs("div",{className:ge(Wt.emptyImage,{[Wt.hoverable]:l}),onClick:()=>{l&&f(`/${l}`)},children:[d.jsx(ie,{name:"Image",width:64,height:64,fill:"var(--text-secondary)"}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:Wt.title,id:"h5",children:i||"No Product"})})]})}),d.jsxs("div",{className:`${Wt.content} ${a?Wt.withChildren:""}`,children:[d.jsxs("div",{className:Wt.info,children:[c?d.jsx("div",{style:{color:"var(--text-action)"},children:c}):s?d.jsx("div",{className:Wt.iconWrapper,children:d.jsx("img",{src:s,width:28,height:28,style:{objectFit:"contain"}})}):d.jsx(ie,{name:e||"File",className:Wt.iconWrapper,width:28,height:28,fill:"var(--text-action)"}),d.jsxs("div",{className:Wt.text,children:[d.jsx("div",{className:Wt.title,id:"h5",children:t}),d.jsx("div",{className:Wt.value,id:"h5-bold",children:n})]})]}),a]})]})},Vx="_card_8m277_2",zx="_mobile_8m277_15",$x="_email_8m277_19",qx="_balance_8m277_25",Wx="_sidebar_8m277_32",Gx="_sidebarAntistock_8m277_33",Zx="_navList_8m277_68",Yx="_navListAntistock_8m277_86",Xx="_navItem_8m277_91",Kx="_antistockNavItem_8m277_92",Jx="_activeNavItem_8m277_116",Qx="_antistockActiveNavItem_8m277_121",e_="_antistockInactiveNavItem_8m277_139",t_="_inactiveNavItem_8m277_140",n_="_logoutNavItem_8m277_150",r_="_logoutNavItemAntistock_8m277_159",o_="_logoutNavItemContentAntistock_8m277_173",i_="_iconWrapper_8m277_185",a_="_skeleton_8m277_190",St={card:Vx,mobile:zx,email:$x,balance:qx,sidebar:Wx,sidebarAntistock:Gx,navList:Zx,navListAntistock:Yx,navItem:Xx,antistockNavItem:Kx,activeNavItem:Jx,antistockActiveNavItem:Qx,antistockInactiveNavItem:e_,inactiveNavItem:t_,logoutNavItem:n_,logoutNavItemAntistock:r_,logoutNavItemContentAntistock:o_,iconWrapper:i_,skeleton:a_},u_=({email:e,balance:t,adaptiveStyles:n})=>d.jsxs("div",{className:ge(St.card,{[St.mobile]:n!=="desktop"}),children:[d.jsx("div",{className:St.email,id:"h5",children:e}),d.jsxs("div",{className:St.balance,id:"md",children:["Balance: ",t]})]}),s_=[[Vt.Home,"House"],[Vt.Orders,"CurrencyCircleDollar"],[Vt.Rewards,"Medal"],[Vt.Balance,"Wallet"],[Vt.Subscriptions,"CalendarCheck"],[Vt.Tickets,"Question"]],c_=[[la.Home,"House"],[la.Orders,"CurrencyCircleDollar"],[la.Balance,"Wallet"],[la.Tickets,"Question"]],G1=({children:e,className:t="",onClick:n})=>{const{isAntistock:r}=gt();return d.jsx("button",{type:"button",className:ge(r?St.antistockNavItem:St.navItem,t),onClick:n,children:e})},l_=({adaptiveStyles:e})=>{const{route:t,setRoute:n}=Jn(),{resetPage:r}=Xo(),{isAntistock:i}=gt(),a=i?c_:s_,u=s=>{t!==s&&r(),n(s)};return d.jsxs("div",{className:ge(St.navList,{[St.mobile]:e!=="desktop",[St.navListAntistock]:i}),children:[a.map(([s,c])=>{const l=s===t;return d.jsxs(G1,{onClick:()=>u(s),className:ge(l?i?St.antistockActiveNavItem:St.activeNavItem:i?St.antistockInactiveNavItem:St.inactiveNavItem),children:[i?null:d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:c})}),d.jsx("div",{children:s})]},s)}),d.jsx(G1,{className:ge(St.logoutNavItem,{[St.logoutNavItemAntistock]:i}),onClick:()=>{i||Bl()},children:i?d.jsxs("div",{className:ge({[St.logoutNavItemContentAntistock]:i}),onClick:()=>{Bl()},children:[d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:St.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]})})]})};var Ze=(e=>(e.New="NEW",e.Pending="PENDING",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Expired="EXPIRED",e.FullDeliveryFailure="FULL_DELIVERY_FAILURE",e.PartiallyDelivered="PARTIALLY_DELIVERED",e.Refunded="REFUNDED",e.Failed="FAILED",e))(Ze||{}),at=(e=>(e.Text="TEXT",e.Serial="SERIALS",e.Ebook="EBOOK",e.Link="LINK",e.Download="DOWNLOAD",e.Discord="DISCORD",e.Custom="CUSTOM",e))(at||{}),qr=(e=>(e.RIAL="RIAL",e.AWAITING_PAYMENT="AWAITING_PAYMENT",e.ACTIVE="ACTIVE",e.PAST_DUE="PAST_DUE",e.CANCELLED="CANCELLED",e.EXPIRED="EXPIRED",e.CHANGED_GATEWAY="CHANGED_GATEWAY",e.REPLACED="REPLACED",e))(qr||{});const eu=async e=>(await H2(e)).data,G2=async()=>{var n;const t=(await EE()).data;if(t.isEnabled){const r=(n=t==null?void 0:t.topUpSettings)==null?void 0:n.gateways;r&&eu(r)}return t},jd=async()=>{const t=(await yE()).data;return{amount:t.realBalance+t.manualBalance,currency:t.currency}};var ma=(e=>(e.ADDED="ADDED",e.REMOVED="REMOVED",e))(ma||{}),Xe=(e=>(e.NotPaid="NOT_PAID",e.Pending="PENDING",e.Paid="PAID",e.Expired="EXPIRED",e.Cancelled="CANCELLED",e.Refunded="REFUNDED",e))(Xe||{}),Ma=(e=>(e.Balance="BALANCE",e.Product="PRODUCT",e))(Ma||{}),Zn=(e=>(e.Spend="SPEND_AMOUNT",e.Order="ORDER_COUNT",e.Referral="REFER_FRIEND",e.Review="LEAVE_REVIEW",e))(Zn||{});const d_=async()=>(await IE()).data;/*! *****************************************************************************
74
74
  Copyright (c) Microsoft Corporation. All rights reserved.
75
75
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
76
76
  this file except in compliance with the License. You may obtain a copy of the
@@ -83,7 +83,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
83
83
 
84
84
  See the Apache Version 2.0 License for specific language governing permissions
85
85
  and limitations under the License.
86
- ***************************************************************************** */var Co=function(){return Co=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Co.apply(this,arguments)};function f_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var h_=function(){return Math.random().toString(36).substring(6)},p_=function(e){var t=e.animate,n=t===void 0?!0:t,r=e.backgroundColor,i=r===void 0?"#f5f6f7":r,a=e.backgroundOpacity,u=a===void 0?1:a,s=e.baseUrl,c=s===void 0?"":s,l=e.children,f=e.foregroundColor,h=f===void 0?"#eee":f,g=e.foregroundOpacity,m=g===void 0?1:g,b=e.gradientRatio,C=b===void 0?2:b,I=e.uniqueKey,E=e.rtl,y=E===void 0?!1:E,S=e.speed,T=S===void 0?1.2:S,_=e.style,v=_===void 0?{}:_,x=e.title,M=x===void 0?"Loading...":x,H=e.beforeMask,A=H===void 0?null:H,j=f_(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),F=I||h_(),W="".concat(F,"-diff"),q="".concat(F,"-animated-diff"),ne="".concat(F,"-aria"),be=y?{transform:"scaleX(-1)"}:null,Ie="".concat(T,"s"),Ae="".concat(C*-1," 0"),Le="".concat(C," 0");return k.createElement("svg",Co({"aria-labelledby":ne,role:"img",style:Co(Co({},v),be)},j),M?k.createElement("title",{id:ne},M):null,A&&k.isValidElement(A)?A:null,k.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(W,")"),style:{fill:"url(".concat(c,"#").concat(q,")")}}),k.createElement("defs",null,k.createElement("clipPath",{id:W},l),k.createElement("linearGradient",{id:q,gradientTransform:"translate(".concat(Ae,")")},k.createElement("stop",{offset:"0%",stopColor:i,stopOpacity:u}),k.createElement("stop",{offset:"50%",stopColor:h,stopOpacity:m}),k.createElement("stop",{offset:"100%",stopColor:i,stopOpacity:u}),n&&k.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(Ae,"; 0 0; ").concat(Le),dur:Ie,repeatCount:"indefinite"}))))},Mi=function(e){return e.children?k.createElement(p_,Co({},e)):k.createElement(m_,Co({},e))},m_=function(e){return k.createElement(Mi,Co({viewBox:"0 0 476 124"},e),k.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),k.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),k.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const g_=({adaptiveStyles:e})=>{const{dashInfo:t,balance:n,setBalance:r,setDashInfo:i}=sr(),{isAntistock:a}=gt();return k.useEffect(()=>{(async()=>{const{data:s}=await bE(),c=await jd();i(s),r(c)})()},[]),d.jsxs("div",{className:ge(a?St.sidebarAntistock:St.sidebar,{[St.mobile]:e!=="desktop"}),style:{paddingTop:a?"48px":void 0},children:[!t||!n?d.jsx(d.Fragment,{children:a?d.jsx(Nn,{}):d.jsx(b_,{adaptiveStyles:e})}):!a&&d.jsx(u_,{email:t.email,balance:Dn(n),adaptiveStyles:e}),d.jsx(l_,{adaptiveStyles:e})]})},b_=({adaptiveStyles:e})=>d.jsx(Mi,{speed:2,width:320,height:120,viewBox:"0 0 320 120",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(St.skeleton,{[St.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"280",height:"100"})}),C_="_balanceContainer_hgoej_1",I_="_headerTitle_hgoej_12",y_="_balanceHeader_hgoej_16",E_="_balanceAmount_hgoej_23",S_="_balanceAmountTitle_hgoej_36",x_="_balanceAmountValue_hgoej_41",__="_transactionDate_hgoej_69",T_="_transactionItem_hgoej_76",w_="_transactionDetails_hgoej_84",A_="_iconWrapper_hgoej_89",k_="_transactionInfo_hgoej_100",v_="_transactionTitle_hgoej_105",L_="_transactionId_hgoej_109",D_="_transactionAmount_hgoej_115",N_="_added_hgoej_120",R_="_removed_hgoej_123",P_="_noItemsBlock_hgoej_127",O_="_pagination_hgoej_136",M_="_antistock_hgoej_142",F_="_modal_hgoej_153",B_="_header_hgoej_12",H_="_form_hgoej_165",j_="_label_hgoej_171",U_="_bonusBlock_hgoej_184",V_="_gatewayList_hgoej_198",z_="_gatewayButton_hgoej_205",$_="_selected_hgoej_215",q_="_gatewayName_hgoej_218",W_="_error_hgoej_221",G_="_submitButton_hgoej_226",Z_="_addBalanceButton_hgoej_248",Y_="_gatewayIcon_hgoej_267",X_="_loaderContainer_hgoej_291",K_="_transactionsContainer_hgoej_299",J_="_transactionsHeader_hgoej_8",Q_="_transactionsContent_hgoej_313",$e={balanceContainer:C_,headerTitle:I_,balanceHeader:y_,balanceAmount:E_,balanceAmountTitle:S_,balanceAmountValue:x_,transactionDate:__,transactionItem:T_,transactionDetails:w_,iconWrapper:A_,transactionInfo:k_,transactionTitle:v_,transactionId:L_,transactionAmount:D_,added:N_,removed:R_,noItemsBlock:P_,pagination:O_,antistock:M_,modal:F_,header:B_,form:H_,label:j_,bonusBlock:U_,gatewayList:V_,gatewayButton:z_,selected:$_,gatewayName:q_,error:W_,submitButton:G_,addBalanceButton:Z_,gatewayIcon:Y_,loaderContainer:X_,transactionsContainer:K_,transactionsHeader:J_,transactionsContent:Q_},eT=async(e=1)=>await BE({PageNumber:e}),tT=async({price:e,gateway:t,customerEmail:n})=>await gE({customerEmail:n,price:e,gateway:t,tsId:xo()}),Z1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABcCAYAAAD50zLWAAAVdklEQVR4nM2da4hs2VXHf2ufU1XdffvOnfdN5pmZTGYm88xjMuRhkBAUgyIoBNHgp3wV/CAoYgQ/KQQi+SAiShQ1QhCNCuoXjYqIiZiJ7zFGY5QQNWHIa3K7u6rOXn8/7L3Po+pUdfWde/veBaer6jz22Xvt9V5r7zZ770coYGaA4xbac0jGlQV87VjhSoOkdwMfIthTQAAHMM4HlD+XwEvA14HP5eNTwCeAK8AMOFEwuGVfNg3Y3oQwrc0BKTVjDm7IzLT6IgDlUSW8jEN9SoeN9DLDhYyHEB8B7gVCHtB5Ia8PE+DVwGXg8dwXgAj8JfBrwF8hfYmT5VJeA5hjUBshI8QD2Cvsfth6SkoocpHn6D3AgzIqOmq4nqCVYxUCaQLLtQp4G/DrwL8Av8rCX8PRXHp5bv7yXH5lIS1dSowjgtEeVwEDBBbSHgzABa5CaU8BCzLfrgz0WsNZ2yxInuXfU+CHkD5H5KPM/QmunMDREh3NsWWUuTAzZJbYdASJ29gXRimw97BIVOiOJeQ+SjfrcGPYd1doTChxkd6H+8dZ+Ps5Wk50ZYG/PEdXTsBFHQI2gsSww/C2IhBIZOlSps6nzazpXz37uM4M/XdY7zitD5PeMxF4LfCLuD7AUuhkYbqyCH48R9FbBPaROMKRazCKwCAwV2pAwqIj6U7ggozpyPPXgxJLm32KH+3uyDPdd2GZuYWogJ/G9Rs03MIyGkdL4tGJxRhxerIpGLLTkbiGQEndQxI0QhEz8VqSXFGSGwTZuSqSTUgsfRgTK0OKLSpXeh/Sb+HaY9GIkwU6mhvu68+cAttZWEDjhRqfB4KkIBtovuspB7cNpn9+9Xr7OysBA8wwTMiEIb0L168wX0w5WVQcz9F8YSanp/RPHVvYRKKFfYMrI9EekNTXSgaYrif6doNNPWiRn6F/DhP75vpeXD9C49Ear1k0KIkrAO0i4gNs5nMD3N1wF/BMunV477gNf1PCGKIPTPpxi/4E7tGWEYtJCkqyVqlsgZaFNwrLZAcGEgLX4CagwKuHJO8vm+vnLUpEhyYmx+EUxBXYqkSUbEAz16tx3X1te39TgHCh6N+pJr7Loot5Q/Ad7JcMLQILxgeYd4EbEJ4ot12ty3OzgplJyVT7CUWv5Y430fAiB7dDYBvrAkFI0hMUU2Lt/o6IdyX7mwSSmhUN4JLeGqIusYyiicXzKrBxYJ0MtHV5FhJ5A9xDsEVqanhTUiIBsyp/7obEIip2sfavB1gym4ut0ij6ocf4HUiVOTiGpFVTaTA4mVGDZ6QYJAMZooMLP15AdBH0dnPZqj1rSvgfIi1gBlLc2HlJKbik0rPrSbmrcY8OzMyEB4Qb7hyfvLvam34MsJh7NsLFBkghXavXLyWEyCNEgVSTojC1mSm3Z13nhnrIe7gYM3GKfYnHNB1l8mTnotHbSTOzzKcBk0mYgj1Ps9yXpougXgxqrJ0s4uqWJYtyKP5fzAOFS8DFkTba5lcM7O6GEvm1vnMeQUuIC8wTpRc8nwcCh5ItWD2bSlalLobwkJaLKJ95RxyWwnmhZelBE4kCx+SWWgS+iSHvbnDh0guDul/D5hLbEpcwP4JmjmIDvhwZ2XmAYVTEuIftHWB17UzqfZp4UeZftRBMdZC5WuJqNXYbKlhlYehMl2RAA7yezT5zQZclxydmZZJYZQ0nMcLyBBZH0CzSBJmvtXZ+IGx5ArGRTyaYHUi33zKzO2+pONwH96iFwzJLxGJg95Rfhxj1RuyeWNiFpdzDepgIVJBFb+hrrl7fvjSHlupihzyFdHC+hyxH3Jsl4ejI7BvfND1w+Wd0352Pc9uFhr0JXNiDvUkKb4VO3BU3r4fAgjy1Wjhj+s09xLWIzPJqwKktZkdsRVlICio2aYL6ExaUxMh5H5D6Qg69L+YVd178YWaTFzStf5a9ibgwgYv7sD/FqgBVaJEo64KVRcqnBIHLiG64YWplYB9PBpgbhWXXhKh67KnQdVjEId7NEvUFGwavrvdBtjZyuLWaTYIqg0k1RU2N8ZMczP6L/embOJjBwQzNJhDMqILJMIJZXwYaEuag6AGpxnWnpDtGrd2EkOBAIuSClKH6SHorJGQWymufr9LUhNBv85xARatiwppvXIFX3QZghFZrPIjx50zD+2D2hyQSg+NFQqQXJaLMQsJaO20Zl0gPt3nhlbebi86OTh7eZhZOXNqitiCqIE+np2auOXgx5mVCKXT3yAMZF1XBiZAOQB9nWv0gzH4n9VvGydIwhbqN1RaR5HmkLiE9C6MGcSK/9EA6YRWseh8KLVal2FJfQnjPKrLu2rlBLguQ5f5Ma3jVHWlCW2tPpPR7MCz+MtPqX2H2YmviLZrB1Ge14Ebj2TnmyT7yTjN0N6EgkKO8Wq7HeUtnShT9PI8ycDPs9otw6RBCVU6Cl4l1IbsVmj9iEu4rMpG9iUJf7ljBgrtwVeZ6vB1nTxF0Y49bgwHZvO88EC9mi2gZuj+Ya02F7eSMHH1YNPhr74e6GloH/XZwkN2LxY8yrTwhcNpSYMltiJIPkG4BHtlk13XgvWvV4IqyeIDsgcRmnc2HjW++djVwmgnT7+fD9wGhtWiKGUdx3yQHr5A9B837mVbiwkyDnGvxUPKD9wJrUWgfGeMYkgv1hTJHEuYRtDk6cu6Q5Bh68mGYzTrq9B6VKjunJfwC+xB+DvxeJtW06FFIiEvxluTCXQamuyRWwDeycjJTI8QG+SkUeB4wcAfAZlN47MEOcd4X+mXyQ3pKISblyl2I94LPS4laMobMRHSCI8SzpJKITHWDvP0I+CAGmNhXqbcuiIvkwrWzfH42n7Vx0b75ZLBYorc+AWHSu7u4euVh652nxkwQhFXfQwqotko7a2GZpEPgjcOWXgHIoZn3lEg4F6M5+aqBSAreyugozCo43Ie7Lyd/d0V+j1StqB/AB96CwtMDLdyG2KVvAY+sduaqwXMQ4dyhEz8pxhkBg7qGxRKeegwOL6wjL4wrm7bRBBeAbwut8JKlKKvkSrx4Pz0j46y5i85+zOzb/jxPr0M4SmVqRucyLpbYG5+kevCB9ZrA5JGd3nA6vr115UwJSeYyXI8J7mG70Nv+hk2Td06ib0B5lt9dvj/8APWzjxPL70IcYSPyNqH0zW0wQZLMRYjIV9j3FYPHITuoypGa6+e+DQOeiR0lYfdcZvLON6c3h96Etu7bKPT1RP/z9i6YIKFGeBOR9HqwE7py2VcAsYyo1xdWznHdlIokQl1h0yncckh4x1uIFtY55OxzacBtoTxsLqzJ9pzr7ebaK3eGqyQUa+0q76RGMVK95/+eirwtQb1yR2lj5ZIEOonYpYvU73gLmtVt4aT32Xfzi/ug1Wt1icIkLZVjdoRH11sOhIyInfCZcwdWv5xTpDnL1feLzaDukvHrcnMFSUVOa/V69rRseA4M7riEP3I//tgjaH+G5svM3jspi9XOtF57/v21OgfzJFcSEi4z52GSAinzqaCz57/NDJZLWCzARQiBaAAVhIDldRptsnnDgERokZe6M/R8Ur6l90AVksY9PIS3PYvdfRdIxPmiQ8UZhtF2Y11SvlRn28+IYI2waI8JTVtpOcJetmI7jkHL9qHG9qaoJNJbUVi0pLdd3BQ665DXk/lZKbR9MBJVVxXccSs8+hDh/lfDbC9xWKH4axPxKd34z7p/Rk1E7k+1aF7F3hlsuHZwX3kptR867yM5BMKKlZS9g8HQVn60ZDAoF+iZH3sT7J674aH7CK+6C59MUrVpswTrAhr08rxtScvpAY412Zc/P9PlRFzKacwncibeBkSwUmWwCxigaZ0UVI+KEvL6psZG3k3eUW/AFkIXRQ417E0ID94DD92H3XYrqgMel6hZjLhndF7GtYFPdBSYfGCX9FiRKP25vhqQhC1jmwpURlwIgVBXSDWxWWzkKpEoxjyivRkcHqBLh3DxAtqfwWxGdfkOONhP9wfHi789YFd1SCvn27zMmXyFvi32ZeCTdZEl2ZA2wetknUOzqe5lJwhCj74O7rkN3XUr7M9QCChk5vWYtXovW7feSBYn6fsAEYC3Y+py2eW5nsDsoeDMMlAbPv8AOKmBKdHnil546hmS9TtaP72K0L4wH4WnH0qJabPkzHvOt1ihghIdWZmk5Crka/2T+f5c/FTNZrg7UkClvdMM9LNQ37risfQyfh+oandvcKBxgOcwm5If2UR3u1ClzAl3X0K3Xchte2cUued0Zo9a1jq+8eWd8W1GE5sebWxC3sgE70KJ62MsweYvEP1PidFrJG/LOaS7y9ty1j593fCuEhPdeH1SDSO80P324sifPo4hrNh8q+3vIm52ZePV+1wGBFwfpIkNTbSaXKNH9AA8SUireWRrBuTOUJaQcjAbIkgaRjyuiUl2rmDAf+P+SzZvqpQXLusjXBG355F2Wn0kiaBSF1RIdeXBi3sdWxVKSX7jNR3VOUEE5hb9+20ZjUUDi4aAZL0U3huLV5X+DqT3ADbJQDPr0h2Heyu5YFZk1Csc0vWH/rgnwIdp/DM6WaL5Ulo2BCJF/u0j7gcKrwNb/FMNK+wLQj0buUwqmJ62JQM3MxJ79hEy8UWi/xTzZcXJApooXAq5BgZcr6FbpAw7DG2bJg4Hs4TE8Qd3HcT1hF3liANflvRumugsGrNlXg7mUjBXShyI++yMeyH0KXA1S6nDHE7chqyeWXdOIIZvTd/NRLBuaXYHBpyY+D5cnyf6RPNlVPRSpW+pUjAKc3sXUBktZTXWmQgbsdD6s+qxL6BbD67RmK8JbJ6qfihsKPPL3jTfreh/w8lCfPO4oYn08EKt6ITGcenh8mRuprJUln723hpJgbQWv65lKOnM3dlyLvuxg/PFOv2iie9SEz/PycJ4+QTmS6wZMmmoFhGWAniqlHHI8qYq6rzQjb1bUSap1ZBtwBuucbXyvR8M6JvxS8o6DVfA9Ulc71ETP8/xAl4+MY4Xa8gDqLVsTNLUzF4jiGYW1MbJtlNMia60oalCcbM6KZC+419uvDGwaSAGNEhTUk3Q14EPIn2I6A3HC7PjBTpeyFY9ngw1TQxg9wB7yYZzARY0vtRjFwj7s/HSlzHXrY/46wenOO4I15+Y9KM0/m800TheoKO5egqju7vXZo0bBs9gJrVefVhnyy29KtSX6qAFB9Otz50jlClbZd0OXH+B68Mm/bGW0ZgvjeOF2aLJy14Hd6+KBKtJvP+81hvf6gMX9oWseft5kj4CW993RZG0imXbW14BDGOAq379/wG/Z+J3JX3CJDhZwnwpjhdGEyXXNuS15+pMaa8r9kcpiNTwoVMVycCornsGdFsNBW1pRQlHbWkSsBwHahd5txVWu0CZqNSxrwB/b+KvgT8DPgMcAXssGnSyhJMlNl/CMp5pSuu8O8WzSGfagKP/Buvhpaoq4h0XSWtAjG45l60wwErsLp8d+S7gJVy/KXiRqCtmNpENtt8L6YUYaXO0b5nZy8CxuT4bXF+16G6NoyZa3lzCFP2kOTpOzDFObVsCiglqMzuUdG9bpdo9WHT29g3KbJguVhWwqkSH+xdG4naFtbcrK5l4j1wvWHRTimESzBpJVe6nSQPajMrvVHS88W71QXRl37+tjthCOafSVC24LDgoBged0L0qyWT7U0TCuq9WP63dPN7FdkDpuY9Z9BeYLyudLN2iR1zmUshGKFBKE1Zal2jjne1Obu31Actdbe6nBt5gZutLz4ewhtDRhDvgh7M2T9Lah9taDaPz33Oy9aIvmpqTpXOyMCVq6pfjpQfWF0OXC628TWkY05gcvdrEWS3pHTDYkdJyg5IUGKERM2sxmr73NPKFvS6Pexrkwvd2AbO11NepGulFxRhtGYOWMdVw5yRiKwTUCvB+Xzum6l1TpsLN9Thng5q0B+kqSIU1VmBQ1sE6n+sV2IBWEJO1ryRDeglR4x7JRu2KhUDa/yD1ude/rfLrqjyEEajN7OEd2hudp9X6FDNrZeCOkGYpU15RBD2FcGTiUynd0LWazZkyf63EvBH71tTAQ0BDt6Pvqgpf61WLuBX5JsCnNRZMreyTTt3taIMWPDHxBaWUgxTdwtC3NDOTnypoz/zeM0Ews78zs0XeIs6tA5XozOqRe5/zQ5I3S5yIHrwdaiQiaUGNw1Vs0pjfUwGflbRU3sO1XxtoG5Ot5wu1mb0V+AHgnSQqnJCUyqhmXs2DSHFBHSbhYC/4wfQNBHuy2xAIbTGIBggYKV6qgX+nLfzscv39LWYG65BH4HqjuY4TBPx2PvrW/5hv3J7qSmpnzsEUv3RwwK0HHwSezLfpVEsyiwGt6CMZaRmp8bcaGrrrrotGrZJzg9ruPIT1SbTesW2Cpbo2btkXt104Yn/6zMi6i53Hl220trTJ0T8V1kXj83Fqbc51hlr7o6nHHXsUUury9kPj0oGQnk610OTahrPRRrc8Nvm0Jv4n7aKeTRfvjOKbBWrSerm0DqtEPzrwzW5Yj8OntQh2iahLmEXcdyllHXgOWSm1ml/Sf+B+hWU0i+0ucjcd1Jj115+uy7zTZty9JObfnmXaWSjPiiun/ruSo/+PWkasiXjTrbMbpA5uAqgZbne5Zoz2ZfRg+RR0OlqCZXyEUle46yC7+sCC9MIBUdIXLDoqkRMGrl7bPV8/d65Qm1UaMSGAgijT6rWWUMzMDvbSfe7PvSLKGCK9Al7IKyxT51LVWMsjg9rpGwg7FK/AmmQsECzt5lOFCWYP0FHSWaCThcMS/C92d1iKCVi3fKJUh53juu1RaDfiNnVHH7axh5mlAvIqHJL+08MZh7PWeNEUc5IR3fkxecOvPsK85YSzvfVaQruYYVMnxs4PWGdSGVW4Hbi8gfo2TIFWv3TU5/pfk75OWj3VGdgrFkGhxhsqA8uXNsY3QoGyLvYHOWQdzCwEqC2A7scsYPId/I9tUNTSP+MyNiSz+4pjU8L7vCBAh5ixrFf/dy/Ckp/OLGyW3LfNyNs0ypEAKA58Wu6p/Lilz+7WUhV7Iz2Qti/9H6fJkhJGD1iKhgQTITjGm66S7kZ8bYTrH9L2eyp72Fy7COg1hjWPYXUNyKbrMlBageSYPbR62ym/x6B/z5dwOT0bsA9uVx0CvOZwqsu1uvFO32YMZRMH8RzrCZ2+SbJttKvIPTHp00SPXX31ygM3WO71YRSBOwVQQrsd5oNI9Qb5t4sDO5SDrhfzDpphTYmMJ+NvKAwQuGvkKf1/grRyklTF+VK+pJXP02B4v9kVM/uEyv8wyVsG5O1YRu3UGw2jFLhNvuSNjyj/zM7EEfBjJM+h316f+rbNTGH3bwG/AHygrRrt++E3GeIK/D/1R7dpRZ4HDAAAAABJRU5ErkJggg==",nT="_antistockLogoWrapper_ax6a6_1",rT="_applePayGooglePay_ax6a6_13",oT="_debitCreditCard_ax6a6_20",iT="_cryptocurrency_ax6a6_27",zs={antistockLogoWrapper:nT,applePayGooglePay:rT,debitCreditCard:oT,cryptocurrency:iT},aT="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%20-34.55%20120.3%20120.3'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8%206.6c1.4-1.8%202.4-4.2%202.1-6.6-2.1.1-4.6%201.4-6.1%203.1-1.3%201.5-2.5%204-2.2%206.3%202.4.3%204.7-1%206.2-2.8M24.9%2010c-3.4-.2-6.3%201.9-7.9%201.9-1.6%200-4.1-1.8-6.8-1.8-3.5.1-6.7%202-8.5%205.2-3.6%206.3-1%2015.6%202.6%2020.7%201.7%202.5%203.8%205.3%206.5%205.2%202.6-.1%203.6-1.7%206.7-1.7s4%201.7%206.8%201.6%204.6-2.5%206.3-5.1c2-2.9%202.8-5.7%202.8-5.8-.1-.1-5.5-2.1-5.5-8.3-.1-5.2%204.2-7.7%204.4-7.8-2.3-3.6-6.1-4-7.4-4.1'/%3e%3cg%3e%3cpath%20d='M54.3%202.9c7.4%200%2012.5%205.1%2012.5%2012.4%200%207.4-5.2%2012.5-12.7%2012.5H46v12.9h-5.9V2.9h14.2zm-8.3%2020h6.7c5.1%200%208-2.8%208-7.5%200-4.8-2.9-7.5-8-7.5h-6.8v15h.1zM68.3%2033c0-4.8%203.7-7.8%2010.3-8.2l7.6-.4v-2.1c0-3.1-2.1-4.9-5.5-4.9-3.3%200-5.3%201.6-5.8%204h-5.4c.3-5%204.6-8.7%2011.4-8.7%206.7%200%2011%203.5%2011%209.1v19h-5.4v-4.5h-.1c-1.6%203.1-5.1%205-8.7%205-5.6%200-9.4-3.4-9.4-8.3zm17.9-2.5v-2.2l-6.8.4c-3.4.2-5.3%201.7-5.3%204.1%200%202.4%202%204%205%204%204%200%207.1-2.7%207.1-6.3zM96.9%2051v-4.6c.4.1%201.4.1%201.8.1%202.6%200%204-1.1%204.9-3.9%200-.1.5-1.7.5-1.7l-10-27.6h6.1l7%2022.5h.1l7-22.5h6L110%2042.4c-2.4%206.7-5.1%208.8-10.8%208.8-.4-.1-1.8-.1-2.3-.2z'/%3e%3c/g%3e%3c/svg%3e",uT=()=>d.jsx("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M20.9852 9.72294L16.7571 13.4129L18.0236 18.9067C18.0906 19.1939 18.0715 19.4945 17.9686 19.7709C17.8658 20.0472 17.6837 20.2872 17.4452 20.4606C17.2067 20.6341 16.9223 20.7334 16.6277 20.7462C16.3331 20.7589 16.0412 20.6845 15.7886 20.5323L10.9971 17.6261L6.2158 20.5323C5.96321 20.6845 5.67135 20.7589 5.37671 20.7462C5.08208 20.7334 4.79773 20.6341 4.55923 20.4606C4.32074 20.2872 4.13866 20.0472 4.03578 19.7709C3.9329 19.4945 3.91378 19.1939 3.9808 18.9067L5.24549 13.4186L1.01643 9.72294C0.792748 9.53002 0.631004 9.27536 0.55148 8.99089C0.471955 8.70642 0.478189 8.4048 0.569401 8.12385C0.660612 7.84291 0.832741 7.59515 1.0642 7.41164C1.29566 7.22813 1.57615 7.11705 1.87049 7.09231L7.44486 6.6095L9.6208 1.4195C9.73443 1.14717 9.9261 0.914551 10.1717 0.750929C10.4172 0.587308 10.7057 0.5 11.0008 0.5C11.2959 0.5 11.5844 0.587308 11.8299 0.750929C12.0755 0.914551 12.2672 1.14717 12.3808 1.4195L14.5633 6.6095L20.1358 7.09231C20.4301 7.11705 20.7106 7.22813 20.9421 7.41164C21.1736 7.59515 21.3457 7.84291 21.4369 8.12385C21.5281 8.4048 21.5343 8.70642 21.4548 8.99089C21.3753 9.27536 21.2135 9.53002 20.9899 9.72294H20.9852Z",fill:"currentColor"})}),Z2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.cryptocurrency,children:[d.jsx(ir,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})})}),d.jsx(ir,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.3837 16.4017C13.6027 16.4483 15.781 16.4937 18 16.5857C17.9187 16.9525 17.8362 17.2727 17.7956 17.5941C17.6712 18.0529 17.5481 18.4664 17.4668 18.9252C17.4249 19.1546 17.3424 19.2 17.138 19.2H6.53438C6.90513 17.5941 7.27452 16.0815 7.64386 14.4756C7.06883 14.705 6.57507 14.9344 6 15.2092C6.16497 14.5223 6.32877 13.9261 6.53438 13.2832C6.53438 13.1924 6.65762 13.1458 6.74007 13.1458C7.11071 12.963 7.52084 12.8243 7.89018 12.6403C8.01344 12.5962 8.13773 12.4588 8.13773 12.3201L9.86171 5.16681C9.90358 4.89203 9.98489 4.8 10.273 4.8H14.0128C13.5608 6.67939 13.1495 8.56137 12.6976 10.5328C13.3552 10.2126 13.9721 9.93657 14.6703 9.66179C14.5878 10.0286 14.4647 10.3487 14.424 10.6702C14.3415 11.4051 13.9721 11.8172 13.3145 12.0013C13.0276 12.092 12.7383 12.2294 12.4513 12.3681C12.3494 12.436 12.2648 12.5305 12.205 12.6429C11.9169 13.8807 11.6288 15.0731 11.3825 16.3109V16.403L11.3837 16.4017Z",fill:"#345D9D"})})}),d.jsx(ir,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M19.9946 3.6L19.8636 3.98284V15.0909L19.9946 15.2034L25.9879 12.1555L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9946 3.6L14 12.1555L19.9946 15.2034L19.9934 9.81181L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 16.1802L19.9209 16.2577V20.2146L19.9948 20.4L25.9917 13.134L19.9948 16.1802Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 20.4V16.1802L14 13.134L19.9948 20.4Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M20.0067 15.2052L26 12.1574L20.0067 9.81369V15.2052Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M14 12.1555L19.9934 15.2044V9.81181L14 12.1555Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}})]})}),d.jsx(ir,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M7.4623 17V13.962H4.6763V12.898H7.4623V9.846H8.5123V12.898H11.2843V13.962H8.5123V17H7.4623ZM16.3943 17.168C15.6476 17.168 15.0176 17.056 14.5043 16.832C13.991 16.5987 13.6036 16.272 13.3423 15.852C13.081 15.432 12.9503 14.9327 12.9503 14.354V14.172H14.1963V14.354C14.1963 14.9327 14.3783 15.376 14.7423 15.684C15.1156 15.9827 15.629 16.132 16.2823 16.132C16.9356 16.132 17.463 15.992 17.8643 15.712C18.2656 15.4227 18.4663 14.9653 18.4663 14.34C18.4663 13.8827 18.359 13.5327 18.1443 13.29C17.9296 13.0473 17.6496 12.8793 17.3043 12.786C16.9683 12.6833 16.609 12.632 16.2263 12.632H15.2183V11.596H16.2683C16.623 11.596 16.9496 11.54 17.2483 11.428C17.547 11.316 17.785 11.134 17.9623 10.882C18.149 10.6207 18.2423 10.2847 18.2423 9.874C18.2423 9.50067 18.1583 9.19733 17.9903 8.964C17.8316 8.73067 17.6123 8.558 17.3323 8.446C17.0523 8.32467 16.7443 8.264 16.4083 8.264C16.035 8.264 15.699 8.32933 15.4003 8.46C15.1016 8.58133 14.8636 8.768 14.6863 9.02C14.5183 9.272 14.4343 9.58933 14.4343 9.972V10.154H13.1743V9.902C13.1743 9.37 13.3096 8.90333 13.5803 8.502C13.8603 8.10067 14.2383 7.788 14.7143 7.564C15.1996 7.34 15.755 7.228 16.3803 7.228C16.9963 7.228 17.5376 7.326 18.0043 7.522C18.4803 7.718 18.8536 8.00733 19.1243 8.39C19.395 8.77267 19.5303 9.244 19.5303 9.804C19.5303 10.2147 19.4556 10.5647 19.3063 10.854C19.157 11.134 18.961 11.3673 18.7183 11.554C18.4756 11.7407 18.2143 11.8947 17.9343 12.016V12.072C18.4476 12.2213 18.877 12.492 19.2223 12.884C19.5676 13.276 19.7403 13.7893 19.7403 14.424C19.7403 14.9933 19.5956 15.4833 19.3063 15.894C19.0263 16.3047 18.6296 16.622 18.1163 16.846C17.6123 17.0607 17.0383 17.168 16.3943 17.168Z",fill:"#757575"})})})]}):d.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4561)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4561)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M27.3837 16.4017C29.6027 16.4483 31.781 16.4937 34 16.5857C33.9187 16.9525 33.8362 17.2727 33.7956 17.5941C33.6712 18.0529 33.5481 18.4664 33.4668 18.9252C33.4249 19.1546 33.3424 19.2 33.138 19.2H22.5344C22.9051 17.5941 23.2745 16.0815 23.6439 14.4756C23.0688 14.705 22.5751 14.9344 22 15.2092C22.165 14.5223 22.3288 13.9261 22.5344 13.2832C22.5344 13.1924 22.6576 13.1458 22.7401 13.1458C23.1107 12.963 23.5208 12.8243 23.8902 12.6403C24.0134 12.5962 24.1377 12.4588 24.1377 12.3201L25.8617 5.16681C25.9036 4.89203 25.9849 4.8 26.273 4.8H30.0128C29.5608 6.67939 29.1495 8.56137 28.6976 10.5328C29.3552 10.2126 29.9721 9.93657 30.6703 9.66179C30.5878 10.0286 30.4647 10.3487 30.424 10.6702C30.3415 11.4051 29.9721 11.8172 29.3145 12.0013C29.0276 12.092 28.7383 12.2294 28.4513 12.3681C28.3494 12.436 28.2648 12.5305 28.205 12.6429C27.9169 13.8807 27.6288 15.0731 27.3825 16.3109V16.403L27.3837 16.4017Z",fill:"#345D9D"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4561)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M43.9946 3.59961L43.8636 3.98245V15.0905L43.9946 15.203L49.9879 12.1551L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9946 3.59961L38 12.1551L43.9946 15.203L43.9934 9.81142L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 16.1798L43.9209 16.2573V20.2142L43.9948 20.3996L49.9917 13.1336L43.9948 16.1798Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 20.3996V16.1798L38 13.1336L43.9948 20.3996Z",fill:"#252525"}),d.jsx("path",{d:"M44.0067 15.2049L50 12.157L44.0067 9.8133V15.2049Z",fill:"#252525"}),d.jsx("path",{d:"M38 12.1551L43.9934 15.204V9.81142L38 12.1551Z",fill:"#252525"})]}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M55.4623 17V13.962H52.6763V12.898H55.4623V9.846H56.5123V12.898H59.2843V13.962H56.5123V17H55.4623ZM64.3943 17.168C63.6476 17.168 63.0176 17.056 62.5043 16.832C61.991 16.5987 61.6036 16.272 61.3423 15.852C61.081 15.432 60.9503 14.9327 60.9503 14.354V14.172H62.1963V14.354C62.1963 14.9327 62.3783 15.376 62.7423 15.684C63.1156 15.9827 63.629 16.132 64.2823 16.132C64.9356 16.132 65.463 15.992 65.8643 15.712C66.2656 15.4227 66.4663 14.9653 66.4663 14.34C66.4663 13.8827 66.359 13.5327 66.1443 13.29C65.9296 13.0473 65.6496 12.8793 65.3043 12.786C64.9683 12.6833 64.609 12.632 64.2263 12.632H63.2183V11.596H64.2683C64.623 11.596 64.9496 11.54 65.2483 11.428C65.547 11.316 65.785 11.134 65.9623 10.882C66.149 10.6207 66.2423 10.2847 66.2423 9.874C66.2423 9.50067 66.1583 9.19733 65.9903 8.964C65.8316 8.73067 65.6123 8.558 65.3323 8.446C65.0523 8.32467 64.7443 8.264 64.4083 8.264C64.035 8.264 63.699 8.32933 63.4003 8.46C63.1016 8.58133 62.8636 8.768 62.6863 9.02C62.5183 9.272 62.4343 9.58933 62.4343 9.972V10.154H61.1743V9.902C61.1743 9.37 61.3096 8.90333 61.5803 8.502C61.8603 8.10067 62.2383 7.788 62.7143 7.564C63.1996 7.34 63.755 7.228 64.3803 7.228C64.9963 7.228 65.5376 7.326 66.0043 7.522C66.4803 7.718 66.8536 8.00733 67.1243 8.39C67.395 8.77267 67.5303 9.244 67.5303 9.804C67.5303 10.2147 67.4556 10.5647 67.3063 10.854C67.157 11.134 66.961 11.3673 66.7183 11.554C66.4756 11.7407 66.2143 11.8947 65.9343 12.016V12.072C66.4476 12.2213 66.877 12.492 67.2223 12.884C67.5676 13.276 67.7403 13.7893 67.7403 14.424C67.7403 14.9933 67.5956 15.4833 67.3063 15.894C67.0263 16.3047 66.6296 16.622 66.1163 16.846C65.6123 17.0607 65.0383 17.168 64.3943 17.168Z",fill:"#757575"}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4561",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4561",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4561",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),Y2=()=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})}),X2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.debitCreditCard,children:[d.jsx(ir,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})})}),d.jsx(ir,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M14.5901 7.2835H9.39431V16.7165H14.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M9.74021 12C9.74021 10.0835 10.6318 8.38252 11.9999 7.2835C10.993 6.4835 9.72288 6 8.33751 6C5.05551 6 2.39991 8.6835 2.39991 12C2.39991 15.3165 5.05551 18 8.33751 18C9.72288 18 10.993 17.5165 11.9999 16.7165C10.6298 15.633 9.74021 13.9165 9.74021 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M21.5999 12C21.5999 15.3165 18.9443 18 15.6624 18C14.2769 18 13.0068 17.5165 11.9999 16.7165C13.3853 15.6155 14.2596 13.9165 14.2596 12C14.2596 10.0835 13.368 8.38252 11.9999 7.2835C13.0049 6.4835 14.275 6 15.6604 6C18.9443 6 21.5999 8.70097 21.5999 12Z",fill:"#F79E1B"})]})}),d.jsx(ir,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.6377 9.6L9.2 15.5923H12.1183L12.48 14.6369H13.307L13.6688 15.5923H16.881V14.8631L17.1673 15.5923H18.8289L19.1151 14.8477V15.5923H25.7957L26.608 14.6617L27.3687 15.5923L30.7999 15.6L28.3545 12.6129L30.7999 9.6H27.4219L26.6311 10.5134L25.8944 9.6H18.6268L18.0028 11.1467L17.3641 9.6H14.4518V10.3044L14.1279 9.6H11.6377ZM12.2024 10.4509H13.6249L15.2418 14.5143V10.4509H16.8001L18.0491 13.3644L19.2001 10.4509H20.7506V14.7508H19.8071L19.7994 11.3814L18.424 14.7508H17.58L16.1968 11.3814V14.7508H14.2559L13.8879 13.7868H11.9L11.5328 14.7499H10.4929L12.2024 10.4509ZM21.6138 10.4509H25.4501L26.6234 11.8588L27.8346 10.4509H29.0079L27.2252 12.612L29.0079 14.7482H27.7814L26.608 13.324L25.3907 14.7482H21.6138V10.4509ZM12.8944 11.1784L12.2394 12.8957H13.5486L12.8944 11.1784ZM22.5611 12.1261H24.654V13.001H22.5611V13.8579H24.9086L25.9994 12.5958L24.9549 11.3405H22.5611V12.1261Z",fill:"#26A6D1",style:{transform:"translateX(-8px)"}})})})]}):d.jsxs("svg",{width:"56",height:"24",viewBox:"0 0 56 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4573)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4573)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M30.5901 7.2835H25.3943V16.7165H30.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M25.7402 12C25.7402 10.0835 26.6318 8.38252 27.9999 7.2835C26.993 6.4835 25.7229 6 24.3375 6C21.0555 6 18.3999 8.6835 18.3999 12C18.3999 15.3165 21.0555 18 24.3375 18C25.7229 18 26.993 17.5165 27.9999 16.7165C26.6298 15.633 25.7402 13.9165 25.7402 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M37.5999 12C37.5999 15.3165 34.9443 18 31.6624 18C30.2769 18 29.0068 17.5165 27.9999 16.7165C29.3853 15.6155 30.2596 13.9165 30.2596 12C30.2596 10.0835 29.368 8.38252 27.9999 7.2835C29.0049 6.4835 30.275 6 31.6604 6C34.9443 6 37.5999 8.70097 37.5999 12Z",fill:"#F79E1B"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4573)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M35.6377 9.6L33.2 15.5923H36.1183L36.48 14.6369H37.307L37.6688 15.5923H40.881V14.8631L41.1673 15.5923H42.8289L43.1151 14.8477V15.5923H49.7957L50.608 14.6617L51.3687 15.5923L54.7999 15.6L52.3545 12.6129L54.7999 9.6H51.4219L50.6311 10.5134L49.8944 9.6H42.6268L42.0028 11.1467L41.3641 9.6H38.4518V10.3044L38.1279 9.6H35.6377ZM36.2024 10.4509H37.6249L39.2418 14.5143V10.4509H40.8001L42.0491 13.3644L43.2001 10.4509H44.7506V14.7508H43.8071L43.7994 11.3814L42.424 14.7508H41.58L40.1968 11.3814V14.7508H38.2559L37.8879 13.7868H35.9L35.5328 14.7499H34.4929L36.2024 10.4509ZM45.6138 10.4509H49.4501L50.6234 11.8588L51.8346 10.4509H53.0079L51.2252 12.612L53.0079 14.7482H51.7814L50.608 13.324L49.3907 14.7482H45.6138V10.4509ZM36.8944 11.1784L36.2394 12.8957H37.5486L36.8944 11.1784ZM46.5611 12.1261H48.654V13.001H46.5611V13.8579H48.9086L49.9994 12.5958L48.9549 11.3405H46.5611V12.1261Z",fill:"#26A6D1"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4573",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4573",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4573",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),K2=({isAntistock:e=!1})=>e?d.jsx(ir,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_13_4480)",children:d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_13_4480)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]}),J2=({isAntistock:e=!1})=>e?d.jsx(ir,{children:d.jsx("img",{src:Z1,alt:"PayPal",width:14,height:18})}):d.jsx("img",{src:Z1,alt:"PayPal",height:24}),ir=({children:e})=>d.jsx("div",{className:zs.antistockLogoWrapper,children:e}),Q2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.applePayGooglePay,children:[d.jsx(ir,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}),d.jsx(ir,{children:d.jsx("img",{src:aT,alt:"Apple Pay",width:18,height:24})})]}):d.jsxs("svg",{width:"40",height:"24",viewBox:"0 0 40 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsxs("g",{clipPath:"url(#clip1_12_1508)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M21.1469 9.48287C20.8938 9.7666 20.4887 9.99039 20.0837 9.95842C20.033 9.57478 20.2313 9.16717 20.4634 8.91541C20.7166 8.62369 21.1596 8.41589 21.5182 8.3999C21.5604 8.79952 21.3959 9.19115 21.1469 9.48287ZM21.514 10.0343C20.9275 10.0024 20.4254 10.35 20.147 10.35C19.8643 10.35 19.4381 10.0503 18.974 10.0583C18.3707 10.0663 17.8095 10.39 17.5015 10.9055C16.8686 11.9365 17.337 13.4631 17.9487 14.3023C18.2483 14.7179 18.6069 15.1735 19.0795 15.1575C19.5267 15.1415 19.7039 14.8817 20.244 14.8817C20.7883 14.8817 20.9444 15.1575 21.417 15.1495C21.9064 15.1415 22.2144 14.7339 22.514 14.3183C22.8557 13.8467 22.9949 13.3872 23.0034 13.3632C22.9949 13.3552 22.0583 13.0155 22.0498 11.9925C22.0414 11.1373 22.7882 10.7297 22.822 10.7057C22.4 10.1143 21.7418 10.0503 21.514 10.0343ZM24.902 8.87545V15.1055H25.9231V12.9755H27.3365C28.6276 12.9755 29.5348 12.1363 29.5348 10.9215C29.5348 9.70666 28.6445 8.87545 27.3703 8.87545H24.902ZM25.9231 9.69067H27.1003C27.9863 9.69067 28.4926 10.1382 28.4926 10.9255C28.4926 11.7127 27.9863 12.1643 27.096 12.1643H25.9231V9.69067ZM31.3997 15.1535C32.041 15.1535 32.6359 14.8458 32.9059 14.3582H32.927V15.1055H33.8721V12.0045C33.8721 11.1053 33.1127 10.5259 31.9439 10.5259C30.8596 10.5259 30.0579 11.1133 30.0284 11.9205H30.9482C31.0241 11.5369 31.3997 11.2852 31.9144 11.2852C32.5389 11.2852 32.889 11.5609 32.889 12.0684V12.4121L31.6148 12.484C30.4292 12.5519 29.7879 13.0115 29.7879 13.8107C29.7879 14.618 30.4503 15.1535 31.3997 15.1535ZM31.6739 14.4142C31.1296 14.4142 30.7837 14.1664 30.7837 13.7868C30.7837 13.3951 31.117 13.1674 31.7541 13.1314L32.889 13.0635V13.4151C32.889 13.9986 32.3659 14.4142 31.6739 14.4142ZM35.1337 16.7999C36.1294 16.7999 36.5978 16.4402 37.007 15.3493L38.8002 10.5858H37.7623L36.5598 14.2663H36.5387L35.3362 10.5858H34.2687L35.9986 15.1215L35.9058 15.3972C35.7497 15.8648 35.4965 16.0446 35.0451 16.0446C34.9649 16.0446 34.8088 16.0366 34.7455 16.0286V16.7759C34.8046 16.7919 35.0577 16.7999 35.1337 16.7999Z",fill:"black"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_12_1508",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),em=({isAntistock:e=!1})=>e?d.jsx(ir,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]}),sT=()=>d.jsx("svg",{width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M11.3712 2.7019C11.3589 3.70484 12.2371 4.26456 12.8987 4.59731C13.5784 4.93876 13.8067 5.15769 13.8041 5.46299C13.7989 5.93032 13.2619 6.13653 12.7592 6.14456C11.8823 6.15862 11.3725 5.90019 10.9671 5.70469L10.6512 7.23052C11.0579 7.42401 11.811 7.59273 12.5919 7.6001C14.4249 7.6001 15.6241 6.66612 15.6306 5.21795C15.6378 3.38012 13.1678 3.27836 13.1847 2.45686C13.1905 2.2078 13.4208 1.942 13.9254 1.87438C14.1751 1.84023 14.8646 1.81412 15.6462 2.1857L15.953 0.709415C15.5327 0.551409 14.9924 0.400097 14.3198 0.400097C12.5945 0.400097 11.3809 1.3468 11.3712 2.7019ZM18.9009 0.527306C18.5662 0.527306 18.2841 0.728831 18.1583 1.03815L15.5398 7.49164H17.3715L17.736 6.45187H19.9744L20.1858 7.49164H21.8002L20.3914 0.527306H18.9009ZM19.1571 2.40865L19.6857 5.02379H18.238L19.1571 2.40865ZM9.15036 0.527306L7.70655 7.49164H9.45196L10.8951 0.527306H9.15036ZM6.56825 0.527306L4.75149 5.26749L4.01662 1.237C3.93035 0.787079 3.58983 0.527306 3.21169 0.527306H0.24171L0.200195 0.7295C0.80964 0.865981 1.50236 1.08626 1.92201 1.32193C2.17886 1.46587 2.25215 1.59174 2.33647 1.93386L3.72839 7.49164H5.57303L8.40122 0.527306H6.56825Z",fill:"#254AA5"})}),cT=({enterAnother:e,bonusPercent:t,currency:n,isAntistock:r})=>d.jsxs("div",{className:$e.bonusBlock,children:[!r&&d.jsx(ie,{name:"Fire"}),d.jsx("div",{children:r?e>0?`Deposit an additional ${Dn({amount:e,currency:n})} and receive a ${t}% bonus.`:`Congratulations! You just unlocked a ${t}% bonus!`:e>0?`Enter another ${Dn({amount:e,currency:n})} and receive an additional bonus of ${t}%`:`You will receive an additional bonus of ${t}%`})]}),tm=({setIsOpen:e,isModal:t=!0})=>{const[n,r]=k.useState({amount:"100",gateway:""}),[i,a]=k.useState({}),[u,s]=k.useState(!1),{isAntistock:c}=gt(),{gatewaysDetail:l,setGatewaysDetail:f,dashInfo:h,balanceSettings:g}=sr(),m=Jr(),{notifications:b,setNotifications:C}=fn(),{setIsOpen:I}=eo(),E=xo();k.useEffect(()=>{l||(async()=>{var W;const j=g!=null&&g.isEnabled?(W=g==null?void 0:g.topUpSettings)==null?void 0:W.gateways:[],F=await eu(j);f(F)})()},[g,l]);const y=()=>{const A={};return(!n.amount||Number(n.amount)<1)&&(A.amount="The balance field cannot be empty."),n.gateway||(A.gateway="Select pay method"),a(A),Object.keys(A).length===0},S=async A=>{if(A.preventDefault(),!!y()){s(!0);try{const{data:j}=await tT({price:{amount:Number(n.amount),currency:g!=null&&g.isEnabled?g.topUpSettings.currency:"USD"},gateway:n.gateway,customerEmail:(h==null?void 0:h.email)||"",tsId:E});C([...b,{message:"Order created successfully",status:"success",id:mt()}]),m(`/charges/${j.data.chargeId}`)}catch(j){const F=j;C([...b,{message:`Order creation failed: ${F.message}`,status:"error",id:mt()}])}finally{e(!1),s(!1)}}};if(!g||!g.isEnabled)return null;const{topUpSettings:{currency:T,topUpBonusEnabled:_,bonusPercent:v,minimumTopUpForBonus:x}}=g,M=Number(n.amount),H=_&&!Number.isNaN(M)?x-M:x;return d.jsx(d.Fragment,{children:u?d.jsx(Q3,{}):d.jsxs("div",{className:ge($e.modal,{[$e.antistock]:c}),onClick:A=>A.stopPropagation(),id:c?"randomId":void 0,children:[d.jsxs("div",{className:$e.header,children:[d.jsx("h2",{id:"h3",className:$e.headerTitle,children:"Top Up Account Balance"}),t&&d.jsx(ie,{name:"X",onClick:()=>{I(!1),setTimeout(()=>{e(!1)},300)},className:$e.closeIcon,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("form",{onSubmit:S,className:$e.form,children:[d.jsxs("label",{className:$e.label,children:[d.jsx(Zo,{label:"Enter Amount",type:"number",placeholder:"1000",value:n.amount,onChange:A=>r(j=>({...j,amount:A})),required:!0}),i.amount&&d.jsx("span",{className:$e.error,children:i.amount})]}),_&&H!==void 0&&d.jsx(cT,{enterAnother:H,bonusPercent:v,currency:T,isAntistock:c}),l&&d.jsx("div",{className:$e.gatewayList,children:l.length>0?l.map(A=>d.jsxs("div",{className:ge($e.gatewayButton,{[$e.selected]:n.gateway===A.name}),onClick:()=>r(j=>({...j,gateway:A.name})),children:[A.name==="ForebitPayments"?d.jsx("div",{className:$e.gatewayIcon,children:d.jsx(Y2,{})}):d.jsx("img",{alt:A.displayName,src:or(A.logoCfImageId),className:$e.gatewayIcon}),d.jsx("div",{className:$e.gatewayName,children:A.displayName})]},A.name)):d.jsx("span",{children:"Gateways not found"})}),!l&&(c?d.jsx(Nn,{}):d.jsx(Mi,{speed:2,width:"100%",height:"220px",viewBox:"0 0 600 220",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"})})),i.gateway&&d.jsx("span",{className:$e.error,children:i.gateway}),d.jsx(wt,{type:"Primary",disabled:!n.gateway||u,className:$e.submitButton,children:"Continue to Checkout"}),d.jsxs("div",{children:[d.jsx(X3,{}),d.jsx(K3,{isAntistock:c})]})]})]})})},nm=()=>{const[e,t]=k.useState([]),{balanceSettings:n,balance:r}=sr(),{page:i,setPage:a}=Xo(),{setIsOpen:u}=eo(),[s,c]=k.useState(!0),[l,f]=k.useState(0),[h,g]=k.useState(!1),[m,b]=k.useState("Newest");k.useEffect(()=>{a(1)},[]),k.useEffect(()=>{(async()=>{c(!0);const{list:S,totalCount:T}=await eT(i);t(S),f(T),c(!1)})()},[i]);const C=(y,S)=>{var x;const T={},_=new Date,v=[...y].sort((M,H)=>{const A=new Date(M.createdAt).getTime(),j=new Date(H.createdAt).getTime();return S==="Newest"?j-A:A-j});for(const M of v){const H=new Date(M.createdAt),A=H.toDateString()===_.toDateString()?"Today":H.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});T[A]||(T[A]=[]),(x=T[A])==null||x.push(M)}return T},I=({id:y,price:S,status:T,description:_})=>{const v=Dn({amount:Math.abs(S.amount),currency:S.currency});return d.jsxs("div",{className:$e.transactionItem,children:[d.jsxs("div",{className:$e.transactionDetails,children:[d.jsx(ie,{className:$e.iconWrapper,name:T===ma.ADDED?"Plus":"Minus",width:20,height:20}),d.jsxs("div",{className:$e.transactionInfo,children:[d.jsx("div",{className:$e.transactionTitle,id:"h4",children:_}),d.jsxs("div",{className:$e.transactionId,id:"md",children:["ID: ",y]})]})]}),d.jsxs("div",{className:ge($e.transactionAmount,{[$e.added]:T===ma.ADDED,[$e.removed]:T===ma.REMOVED}),id:"lg",children:[T===ma.ADDED?"+":"-"," ",v]})]},y)},E=()=>{if(e!=null&&e.length){const y=C(e,m);return d.jsxs("div",{className:$e.transactionsContainer,children:[d.jsx("div",{className:$e.transactionsContent,children:Object.entries(y).map(([S,T])=>d.jsxs("div",{id:"lg",children:[d.jsx("div",{className:$e.transactionDate,id:"md",children:S}),T.map(I)]},S))}),d.jsx(qs,{className:$e.pagination,currentPage:i,totalCount:l,onPageChange:a})]})}return d.jsx(nu,{title:"Transaction History",description:"When you top up your account balance or receive a refund from our team, you'll see a history of transactions here.",className:$e.noItemsBlock})};return d.jsxs(d.Fragment,{children:[(n==null?void 0:n.isEnabled)&&d.jsx("div",{className:$e.balanceContainer,children:d.jsxs("div",{className:$e.balanceHeader,children:[r&&d.jsxs("div",{className:$e.balanceAmount,children:[d.jsx("span",{className:$e.balanceAmountTitle,id:"lg",children:"Your balance"}),d.jsx("span",{className:$e.balanceAmountValue,id:"h4",children:Dn(r)})]}),d.jsxs(wt,{onClick:y=>{y.stopPropagation(),g(!0),u(!0)},className:$e.addBalanceButton,children:[d.jsx(ie,{name:"Plus"}),d.jsx("span",{children:"Add balance"})]})]})}),d.jsxs("div",{className:$e.transactionsHeader,children:[(e==null?void 0:e.length)>0?d.jsx(tu,{title:"Transactions"}):null,(e==null?void 0:e.length)>0&&d.jsx(W2,{options:["Newest","Oldest"],value:m,onChange:y=>{b(y)},style:{width:"110px"}})]}),s?d.jsx("div",{className:$e.loaderContainer,children:d.jsx(Nn,{})}):d.jsx("div",{children:E()}),h&&(n==null?void 0:n.isEnabled)&&d.jsx(Vs,{close:()=>g(!1),children:d.jsx(tm,{setIsOpen:g})})]})},lT="_home_1uch5_1",dT="_content_1uch5_13",fT="_tablet_1uch5_28",hT="_mobile_1uch5_31",pT="_statContainer_1uch5_35",mT="_text_1uch5_47",gT="_iconWrapper_1uch5_53",bT="_loader_1uch5_57",CT="_title_1uch5_65",Ar={home:lT,content:dT,tablet:fT,mobile:hT,statContainer:pT,text:mT,iconWrapper:gT,loader:bT,title:CT},IT="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%202V9.85233L13.5806%2010.9427V6.58116L6.41169%208.82252V4.89257L17%202Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M13.5806%2010.9427L13.5805%2014.691L3%2018V9.79935L6.41169%208.82252L6.41152%2013.2598L13.5806%2010.9427Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",rm=e=>z.createElement("svg",{width:20,height:20,viewBox:"0 0 19 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},z.createElement("path",{d:"M0.0103662 23.5362C0.0538052 22.4425 0.370173 21.4309 1.08058 20.6127C1.92699 19.6379 2.91375 19.2329 4.14841 19.1732C4.162 20.1401 4.15111 21.1085 4.15091 22.0756L4.70583 22.0747L7.42027 22.0755C7.95952 22.0752 8.50027 22.0844 9.03933 22.0742L9.17755 22.0731L10.6132 22.0759C10.8265 22.0759 11.0767 22.1021 11.2852 22.0658C11.3052 22.0703 11.3534 22.0735 11.3625 22.0928C11.3917 22.1543 11.3688 31.0517 11.3725 31.9631C11.1563 32.0856 10.2676 31.8701 10.0303 31.7947C9.89866 31.7528 9.644 31.6914 9.54946 31.5874L9.51914 31.584C9.46943 31.5736 9.44171 31.5537 9.40126 31.5222C9.30218 31.5131 9.14954 31.4132 9.07718 31.343C9.00129 31.3163 8.92757 31.2576 8.85921 31.2134L8.85617 31.2002C8.5748 31.0715 8.14929 30.6244 7.94318 30.376C7.35205 29.6639 6.93892 28.7659 6.83493 27.8203C6.78763 27.3904 6.7994 26.9595 6.80055 26.5277C6.80084 26.4202 6.82996 26.126 6.78242 26.0387L6.71237 26.023C6.54382 26.0528 6.34316 26.0328 6.17124 26.0324L1.0194 26.0325L0.942306 26.0307C0.74237 26.0326 0.173082 26.0689 0.0224192 26.0192L0.00848581 26.0029C0.022853 25.8597 0.0136924 25.7065 0.013837 25.562L0.0113299 24.6651L0.0117161 24.5253C0.0150266 24.1956 0.0145767 23.8659 0.0103662 23.5362Z",fill:"currentColor"}),z.createElement("path",{d:"M6.79824 0.00127802C6.88001 -0.000781892 6.96176 -0.000351703 7.04349 0.00256876C7.12523 0.00549261 7.20682 0.0108998 7.28827 0.0187905C7.36968 0.0266845 7.45082 0.0370518 7.53169 0.0498924C7.61259 0.0627296 7.69305 0.078018 7.77309 0.0957576C7.85312 0.113501 7.93259 0.133663 8.0115 0.156244C8.09044 0.178828 8.16868 0.203796 8.24624 0.231148C8.3238 0.258499 8.40053 0.28819 8.47645 0.32022C8.55237 0.352247 8.62736 0.386559 8.70141 0.423156L8.71428 0.423492C8.76476 0.450874 8.815 0.479135 8.8661 0.50516C8.947 0.550491 9.03065 0.593185 9.10687 0.646856L9.24939 0.733144C9.31674 0.78126 9.38361 0.83049 9.45202 0.87695C10.462 1.67615 11.1434 2.77146 11.325 4.10211C11.4076 4.70784 11.3729 5.34243 11.372 5.9541C11.4625 5.96599 11.5526 5.9664 11.6436 5.96762C12.6033 5.93794 13.5708 5.96289 14.5314 5.96294C15.459 5.96305 16.3927 5.93758 17.3195 5.9633C17.5874 5.96523 17.9062 6.00101 18.1677 5.95273C18.1496 6.13096 18.1583 6.31472 18.1585 6.49401L18.1598 7.38388L18.1595 7.51855C18.1591 7.83084 18.14 8.15609 18.1607 8.46685C18.109 9.73893 17.6972 10.8198 16.8003 11.6891C15.9969 12.4676 15.0894 12.76 14.0228 12.8194L14.021 10.9083C14.0209 10.5892 14.0389 10.2573 14.0163 9.93952C14.0002 9.92849 13.9879 9.91884 13.9692 9.9133C13.7941 9.93418 13.6055 9.92148 13.4293 9.92133H9.15258L9.04077 9.92082L7.56664 9.92209C7.31676 9.92224 7.04528 9.94526 6.79858 9.90893L6.79824 0.00127802Z",fill:"currentColor"}),z.createElement("path",{d:"M4.13987 5.96279C4.65941 5.9653 5.17894 5.96467 5.69847 5.96091C5.70059 7.27995 5.71757 8.60219 5.69833 9.92082L4.15072 9.92046L4.15106 11.4065C4.15096 11.6783 4.1406 11.9555 4.15443 12.2266C4.73799 12.8393 5.31307 13.4655 5.90921 14.0644L5.98321 14.0407C6.25311 14.0833 6.6928 14.0501 6.97981 14.0499L12.7386 14.0492L13.5943 14.0482C13.7363 14.0479 13.9068 14.0286 14.0457 14.0577L15.8019 15.9078L15.8915 15.997L15.9615 16.0784L15.9955 16.1093L17.4221 17.6163C17.6528 17.8599 17.9077 18.0979 18.1211 18.3569C18.1463 18.3875 18.1599 18.4086 18.1691 18.4477C18.1415 18.6757 18.1577 18.9211 18.1579 19.1514L18.1594 20.4531C18.1597 21.8112 18.142 23.1721 18.1599 24.5297L18.1589 24.6625L18.158 25.5556C18.158 25.7089 18.1437 25.8808 18.1676 26.0315L18.0995 26.031L17.2568 26.0329L17.2101 26.0308C16.2512 26.0486 15.2892 26.0305 14.3299 26.0308C13.7488 26.031 13.0694 26.064 12.4959 26.0258L12.4831 26.0202C12.4481 25.9239 12.4717 22.4806 12.47 22.075L14.0216 22.0744C14.0024 21.3241 14.0324 20.5711 14.0173 19.8203C13.4629 19.2116 12.887 18.6041 12.3052 18.0244L12.293 17.9978C12.0554 18.0392 11.5401 18.0054 11.2777 18.0053L8.9362 18.0074C7.75375 17.9793 6.56306 18.0065 5.37994 18.0069C5.13497 18.007 4.32737 18.0401 4.13472 17.9962L2.36331 16.1262L2.29219 16.0566L2.21959 15.9758L2.15074 15.9102C1.93803 15.6694 1.70849 15.441 1.48797 15.2079L0 13.631C0.0383768 13.4512 0.014078 13.2231 0.013837 13.0369L0.0121494 11.9198L0.0113299 7.52017L0.0122943 7.34622C0.0134032 6.9143 0.0453199 6.37479 0.00371286 5.95329C0.115854 5.96772 0.229056 5.9664 0.341872 5.96777C0.589393 5.96198 0.836946 5.96042 1.08453 5.9631L3.10905 5.96548C3.44789 5.96554 3.80282 5.98825 4.13987 5.96279Z",fill:"currentColor"})),Y1=({children:e})=>d.jsx("div",{className:Ar.statContainer,children:e}),om=({adaptiveStyles:e})=>{var f,h;const[t,n]=k.useState(null),{setBalanceSettings:r}=sr(),{pageContext:i}=Qr(),{general:a,isAntistock:u}=gt(),{header:s}=Yr(),c=u?"Antistock":"Billgang";function l(g){var C,I;const m=g==null?void 0:g.name,b=(I=(C=i==null?void 0:i.listings)==null?void 0:C.filter(E=>E.type==="PRODUCT"))==null?void 0:I.find(E=>E.productData.name===m);return b==null?void 0:b.link.to}return k.useEffect(()=>{const g=async()=>{const{data:b}=await CE();n(b)},m=async()=>{const b=await G2();r(b)};g(),m()},[]),t?d.jsxs("div",{className:Ar.home,children:[d.jsx(nk,{adaptiveStyles:e}),d.jsx("h3",{id:"h3",className:Ar.title,children:u?"Home":"Your Statistics"}),d.jsxs("div",{className:ge(Ar.content,{[Ar.desktop]:e==="desktop",[Ar.tablet]:e==="tablet",[Ar.mobile]:e==="mobile"}),children:[d.jsxs(Y1,{children:[d.jsx(er,{iconName:"Calendar",title:"Customer since",value:kI(t.createdAt)}),d.jsx(er,{iconName:"CurrencyCircleDollar",title:"Total spent",value:Dn({amount:t.totalSpent})}),d.jsx(er,{iconName:"Medal",title:"Top",value:`#${t.ratingPlacement}`,children:t.ratingPlacement>1&&d.jsxs("div",{className:Ar.text,id:"md-bold",children:[d.jsx(ie,{name:"ArrowUp",className:Ar.iconWrapper,width:16,height:16,fill:"var(--text-secondary)"}),"Spend"," ",Dn({amount:t.spendMoreDefaultCurrencyForNextPlace,currency:(f=t.balance)==null?void 0:f.currency})," ","more to be #",t.ratingPlacement-1]})}),u?null:d.jsx(er,{iconName:"Star",title:"Average review",value:t.averageReview})]}),t.topSpenderProduct?d.jsx(er,{image:or(t.topSpenderProduct.image.cfId),imageName:t.topSpenderProduct.name,iconName:"Crown",title:"Top spent",value:`${Dn({amount:t.topSpenderProduct.amountSpentUsd||0})} spent`,productSlug:l(t.topSpenderProduct)}):d.jsx(er,{image:"empty",iconName:"Crown",title:"Top spent",value:`${Dn({amount:0})} spent`}),d.jsxs(Y1,{children:[d.jsx(er,{iconName:"Bag",title:"Purchases",value:t.totalPurchases}),d.jsx(er,{iconName:"Eye",title:"Visits",value:t.visits}),d.jsx(er,{title:"Powered by",value:c,logo:u?void 0:IT,customLogo:u?d.jsx("div",{style:{width:"48px",height:"48px",padding:"10px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--border-radius)",backgroundColor:"var(--surface-secondary)"},children:d.jsx(rm,{width:22,height:22})}):void 0}),u?null:d.jsx(er,{title:"Store",value:(a==null?void 0:a.info.name)||"",logo:or((s==null?void 0:s.blockSettings.logo.url)||((h=a==null?void 0:a.info.logo)==null?void 0:h.cfId)||"A5gbiev6F8AaBvp6M146Kw/4ecd0fb9-8ebc-44e9-fa1c-c36f61f4bd00")})]}),t.favoriteProduct?d.jsx(er,{image:or(t.favoriteProduct.image.cfId),imageName:t.favoriteProduct.name,iconName:"Heart",title:"Favorite product",value:`bought ${t.favoriteProduct.purchasedTimes} times`,productSlug:l(t.favoriteProduct)}):d.jsx(er,{image:"empty",iconName:"Heart",title:"Favorite product",value:"bought 0 times"})]})]}):d.jsx("div",{className:Ar.loader,children:d.jsx(Nn,{})})},yT=async(e=1)=>await _E({PageNumber:e}),im=()=>{const[e,t]=k.useState(null),[n,r]=k.useState(null),[i,a]=k.useState(0),{page:u}=Xo(),[s,c]=k.useState(!0);async function l(){c(!0);const{list:h,totalCount:g}=await yT(u);t(h),a(g),r(null),c(!1)}async function f(){const h=(e==null?void 0:e.map(m=>m.gatewayName))||[],g=await eu(h);r(g)}return k.useEffect(()=>{!n&&e&&f()},[e,n]),k.useEffect(()=>{l()},[u]),d.jsx(d.Fragment,{children:e!=null&&e.length&&e.length===0?d.jsx(nu,{title:"No Orders",description:"When you purchase products from our website, you'll see a history of orders here."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Orders"}),d.jsx(Tk,{orders:e,gatewaysDetail:n,totalCount:i,isLoading:s})]})})},ET="_container_caax0_1",ST="_tablet_caax0_15",xT="_mobile_caax0_18",_T="_progress_caax0_22",TT="_status_caax0_26",wT="_name_caax0_37",AT="_completed_caax0_44",kT="_title_caax0_50",vT="_description_caax0_58",LT="_button_caax0_65",DT="_achievement_caax0_73",NT="_progressText_caax0_92",RT="_progressTextStart_caax0_99",PT="_progressBackground_caax0_103",OT="_progressForeground_caax0_107",MT="_icon_caax0_111",In={container:ET,tablet:ST,mobile:xT,progress:_T,status:TT,name:wT,completed:AT,title:kT,description:vT,button:LT,achievement:DT,progressText:NT,progressTextStart:RT,progressBackground:PT,progressForeground:OT,icon:MT},am=({adaptiveStyles:e})=>{const{notifications:t,setNotifications:n}=fn(),{setBalance:r}=sr(),[i,a]=k.useState(null),u=async()=>{const h=(await d_()).map(g=>({...g,isClaimed:!1}));a(h)};k.useEffect(()=>{u()},[]);async function s(f){try{if(await $E(f),i){const g=i==null?void 0:i.map(m=>m.id===f.id?{...m,isClaimed:!0}:m);a(g)}n([...t,{message:"Reward claimed successfully",status:"success",id:mt()}]);const h=await jd();a(null),r(h),u()}catch{n([...t,{message:"Failed to claim reward",status:"error",id:mt()}])}}const c=i&&i.length===0,l=i&&i.length>0;return d.jsx(d.Fragment,{children:c?d.jsx(nu,{title:"Rewards Unavailable",description:"Check back in the future to join our reward program."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Rewards",description:"To unlock an exclusive reward, complete everything on this checklist"}),d.jsxs("div",{className:ge(In.container,{[In.tablet]:e==="tablet",[In.mobile]:e==="mobile"}),children:[l&&i.map(f=>d.jsx(FT,{achievement:f,onClick:h=>s(h)},f.id)),!l&&[...new Array(6)].map((f,h)=>d.jsx(Mi,{speed:2,width:"100%",height:400,viewBox:"0 0 300 300",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"300px"})},h))]})]})})},FT=({achievement:e,onClick:t})=>{const[n,r]=UT(e),[i,a,u]=VT(e),[s,c]=k.useState(!1),l=a>=u;return d.jsxs("div",{className:In.achievement,children:[d.jsx(BT,{percentage:Math.min(i,100)}),d.jsx("div",{className:`${In.status} ${l?In.completed:""}`,id:"md",children:l?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"Confetti"}),d.jsx("span",{id:"md",children:"Completed!"})]}):`Done: ${a} / ${u}`}),d.jsxs("div",{className:In.title,children:[d.jsx(ie,{name:"Bag",className:In.icon,fill:"var(--text-action)",width:18,height:18}),d.jsx("div",{className:In.name,id:"h5",children:n})]}),d.jsx("span",{className:In.description,id:"md",children:r}),d.jsx(wt,{type:l&&!e.isClaimed?"Primary":"Secondary",className:In.button,disabled:!l,onClick:async()=>{c(!0),await t(e),c(!1)},children:e.isClaimed?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"CheckCircle",fill:"var(--text-secondary)"}),d.jsxs("span",{children:["Your claimed ",X1(e)," bonus"]})]}):d.jsxs(d.Fragment,{children:[!s&&(l?d.jsx("span",{children:"Claim"}):X1(e)),s&&d.jsx(Nn,{})]})})]})},BT=({percentage:e,radius:t=40,strokeWidth:n=8})=>{const r=t+n/2,i=r*2,a=2*Math.PI*t,u=a-e/100*a;return d.jsxs("div",{style:{width:i,height:i},className:In.progress,children:[d.jsxs("svg",{"aria-hidden":"true",width:i,height:i,children:[d.jsx("circle",{cx:r,cy:r,r:t,fill:"transparent",className:In.progressBackground,strokeWidth:n}),d.jsx("circle",{cx:r,cy:r,r:t,fill:"transparent",strokeWidth:n,strokeDasharray:`${a} ${a}`,strokeDashoffset:u,className:In.progressForeground})]}),d.jsxs("span",{className:ge(In.progressText,{[In.progressTextStart]:e!==0}),id:"md",children:[Math.min(e,100),"%"]})]})},Tu=e=>{switch(e.rewardRule.rewardType){case Ma.Balance:return`${Dn(e.rewardRule.rewardOptions.balance)} on the balance`;case Ma.Product:return`products: ${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},X1=e=>{switch(e.rewardRule.rewardType){case Ma.Balance:return Dn(e.rewardRule.rewardOptions.balance);case Ma.Product:return`${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},HT=e=>{switch(e.rewardRule.ruleType){case Zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} in total purchases at our store to receive a reward of ${Tu(e)}. You've spent $${e.progress} so far.`;case Zn.Order:return`Place ${e.rewardRule.ruleOptions.ordersCount} orders to receive a reward of ${Tu(e)}. You've made ${e.progress} orders so far.`;case Zn.Referral:return`On your referral link should sign up ${e.rewardRule.ruleOptions.minReferrals} people and make at least ${e.rewardRule.ruleOptions.minCompletedOrders} purchase to receive a reward of ${Tu(e)}. You've referred ${e.progress} friends so far.`;case Zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars} to receive a reward of ${Tu(e)}. You've left ${e.progress} reviews so far.`}},jT=e=>{switch(e.rewardRule.ruleType){case Zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} at our store`;case Zn.Order:return`Make ${e.rewardRule.ruleOptions.ordersCount} orders`;case Zn.Referral:return`Refer ${e.rewardRule.ruleOptions.minReferrals} friends to our store`;case Zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars}`}},UT=e=>[jT(e),HT(e)],VT=e=>{let t;switch(e.rewardRule.ruleType){case Zn.Spend:t=e.rewardRule.ruleOptions.forEach;break;case Zn.Order:t=e.rewardRule.ruleOptions.ordersCount;break;case Zn.Referral:t=e.rewardRule.ruleOptions.minReferrals;break;case Zn.Review:t=e.rewardRule.ruleOptions.minReviews;break}return[Math.round((e.progress/t*100+Number.EPSILON)*100)/100,e.progress,t]},zT="_appContainer_1bj0v_1",$T="_noAnimation_1bj0v_11",qT="_mobile_1bj0v_19",WT="_appContainerAntistock_1bj0v_28",GT="_contentContainer_1bj0v_44",ZT="_contentContainerAntistock_1bj0v_64",No={appContainer:zT,noAnimation:$T,mobile:qT,appContainerAntistock:WT,contentContainer:GT,contentContainerAntistock:ZT},YT="_wrapper_xhya5_1",XT="_tableContainer_xhya5_6",KT="_ticketsTable_xhya5_19",JT="_tableItem_xhya5_37",QT="_tableLoader_xhya5_45",io={wrapper:YT,tableContainer:XT,ticketsTable:KT,tableItem:JT,tableLoader:QT},ew=async(e=1)=>{try{return await FE({PageNumber:e})}catch(t){return console.error("Failed to fetch tickets:",t),{list:[],totalCount:0}}},um=()=>{const[e,t]=k.useState(null),{page:n,setPage:r}=Xo(),[i,a]=k.useState(!0),[u,s]=k.useState(0);k.useEffect(()=>{(async()=>{a(!0);const{list:f,totalCount:h}=await ew(n);t(f),s(h),a(!1)})()},[n]);const c=!i&&e;return c&&e.length===0?d.jsx(nu,{title:"Tickets",description:"You don't have any tickets yet. If you contact support, tickets will be displayed here.",centered:!0}):d.jsxs("div",{className:io.wrapper,children:[d.jsx(tu,{title:"Tickets"}),d.jsxs("div",{className:io.tableContainer,children:[d.jsxs(Gd,{className:io.ticketsTable,children:[d.jsx(yn,{className:io.tableItem,children:"TICKET ID"}),d.jsx(yn,{className:io.tableItem,children:"LAST MESSAGE"}),d.jsx(yn,{className:io.tableItem,children:"CREATED"}),d.jsx(yn,{className:io.tableItem,children:"STATUS"}),c&&(e==null?void 0:e.map(l=>d.jsx(Sz,{item:l},l.id)))]}),!c&&d.jsx("div",{className:io.tableLoader,children:d.jsx(Nn,{})}),c&&d.jsx(qs,{currentPage:n,totalCount:u,onPageChange:r})]})]})};var Hl={exports:{}},wu={exports:{}},tt={};/** @license React v16.13.1
86
+ ***************************************************************************** */var Co=function(){return Co=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Co.apply(this,arguments)};function f_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var h_=function(){return Math.random().toString(36).substring(6)},p_=function(e){var t=e.animate,n=t===void 0?!0:t,r=e.backgroundColor,i=r===void 0?"#f5f6f7":r,a=e.backgroundOpacity,u=a===void 0?1:a,s=e.baseUrl,c=s===void 0?"":s,l=e.children,f=e.foregroundColor,h=f===void 0?"#eee":f,g=e.foregroundOpacity,m=g===void 0?1:g,b=e.gradientRatio,C=b===void 0?2:b,I=e.uniqueKey,E=e.rtl,y=E===void 0?!1:E,S=e.speed,T=S===void 0?1.2:S,_=e.style,v=_===void 0?{}:_,x=e.title,M=x===void 0?"Loading...":x,H=e.beforeMask,A=H===void 0?null:H,j=f_(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),F=I||h_(),W="".concat(F,"-diff"),q="".concat(F,"-animated-diff"),ne="".concat(F,"-aria"),be=y?{transform:"scaleX(-1)"}:null,Ie="".concat(T,"s"),Ae="".concat(C*-1," 0"),Le="".concat(C," 0");return k.createElement("svg",Co({"aria-labelledby":ne,role:"img",style:Co(Co({},v),be)},j),M?k.createElement("title",{id:ne},M):null,A&&k.isValidElement(A)?A:null,k.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(W,")"),style:{fill:"url(".concat(c,"#").concat(q,")")}}),k.createElement("defs",null,k.createElement("clipPath",{id:W},l),k.createElement("linearGradient",{id:q,gradientTransform:"translate(".concat(Ae,")")},k.createElement("stop",{offset:"0%",stopColor:i,stopOpacity:u}),k.createElement("stop",{offset:"50%",stopColor:h,stopOpacity:m}),k.createElement("stop",{offset:"100%",stopColor:i,stopOpacity:u}),n&&k.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(Ae,"; 0 0; ").concat(Le),dur:Ie,repeatCount:"indefinite"}))))},Mi=function(e){return e.children?k.createElement(p_,Co({},e)):k.createElement(m_,Co({},e))},m_=function(e){return k.createElement(Mi,Co({viewBox:"0 0 476 124"},e),k.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),k.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),k.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),k.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const g_=({adaptiveStyles:e})=>{const{dashInfo:t,balance:n,setBalance:r,setDashInfo:i}=Jn(),{isAntistock:a}=gt();return k.useEffect(()=>{(async()=>{const{data:s}=await bE(),c=await jd();i(s),r(c)})()},[]),d.jsxs("div",{className:ge(a?St.sidebarAntistock:St.sidebar,{[St.mobile]:e!=="desktop"}),style:{paddingTop:a?"48px":void 0},children:[!t||!n?d.jsx(d.Fragment,{children:a?d.jsx(Nn,{}):d.jsx(b_,{adaptiveStyles:e})}):!a&&d.jsx(u_,{email:t.email,balance:Dn(n),adaptiveStyles:e}),d.jsx(l_,{adaptiveStyles:e})]})},b_=({adaptiveStyles:e})=>d.jsx(Mi,{speed:2,width:320,height:120,viewBox:"0 0 320 120",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(St.skeleton,{[St.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"280",height:"100"})}),C_="_balanceContainer_hgoej_1",I_="_headerTitle_hgoej_12",y_="_balanceHeader_hgoej_16",E_="_balanceAmount_hgoej_23",S_="_balanceAmountTitle_hgoej_36",x_="_balanceAmountValue_hgoej_41",__="_transactionDate_hgoej_69",T_="_transactionItem_hgoej_76",w_="_transactionDetails_hgoej_84",A_="_iconWrapper_hgoej_89",k_="_transactionInfo_hgoej_100",v_="_transactionTitle_hgoej_105",L_="_transactionId_hgoej_109",D_="_transactionAmount_hgoej_115",N_="_added_hgoej_120",R_="_removed_hgoej_123",P_="_noItemsBlock_hgoej_127",O_="_pagination_hgoej_136",M_="_antistock_hgoej_142",F_="_modal_hgoej_153",B_="_header_hgoej_12",H_="_form_hgoej_165",j_="_label_hgoej_171",U_="_bonusBlock_hgoej_184",V_="_gatewayList_hgoej_198",z_="_gatewayButton_hgoej_205",$_="_selected_hgoej_215",q_="_gatewayName_hgoej_218",W_="_error_hgoej_221",G_="_submitButton_hgoej_226",Z_="_addBalanceButton_hgoej_248",Y_="_gatewayIcon_hgoej_267",X_="_loaderContainer_hgoej_291",K_="_transactionsContainer_hgoej_299",J_="_transactionsHeader_hgoej_8",Q_="_transactionsContent_hgoej_313",$e={balanceContainer:C_,headerTitle:I_,balanceHeader:y_,balanceAmount:E_,balanceAmountTitle:S_,balanceAmountValue:x_,transactionDate:__,transactionItem:T_,transactionDetails:w_,iconWrapper:A_,transactionInfo:k_,transactionTitle:v_,transactionId:L_,transactionAmount:D_,added:N_,removed:R_,noItemsBlock:P_,pagination:O_,antistock:M_,modal:F_,header:B_,form:H_,label:j_,bonusBlock:U_,gatewayList:V_,gatewayButton:z_,selected:$_,gatewayName:q_,error:W_,submitButton:G_,addBalanceButton:Z_,gatewayIcon:Y_,loaderContainer:X_,transactionsContainer:K_,transactionsHeader:J_,transactionsContent:Q_},eT=async(e=1)=>await BE({PageNumber:e}),tT=async({price:e,gateway:t,customerEmail:n})=>await gE({customerEmail:n,price:e,gateway:t,tsId:xo()}),Z1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABcCAYAAAD50zLWAAAVdklEQVR4nM2da4hs2VXHf2ufU1XdffvOnfdN5pmZTGYm88xjMuRhkBAUgyIoBNHgp3wV/CAoYgQ/KQQi+SAiShQ1QhCNCuoXjYqIiZiJ7zFGY5QQNWHIa3K7u6rOXn8/7L3Po+pUdfWde/veBaer6jz22Xvt9V5r7zZ770coYGaA4xbac0jGlQV87VjhSoOkdwMfIthTQAAHMM4HlD+XwEvA14HP5eNTwCeAK8AMOFEwuGVfNg3Y3oQwrc0BKTVjDm7IzLT6IgDlUSW8jEN9SoeN9DLDhYyHEB8B7gVCHtB5Ia8PE+DVwGXg8dwXgAj8JfBrwF8hfYmT5VJeA5hjUBshI8QD2Cvsfth6SkoocpHn6D3AgzIqOmq4nqCVYxUCaQLLtQp4G/DrwL8Av8rCX8PRXHp5bv7yXH5lIS1dSowjgtEeVwEDBBbSHgzABa5CaU8BCzLfrgz0WsNZ2yxInuXfU+CHkD5H5KPM/QmunMDREh3NsWWUuTAzZJbYdASJ29gXRimw97BIVOiOJeQ+SjfrcGPYd1doTChxkd6H+8dZ+Ps5Wk50ZYG/PEdXTsBFHQI2gsSww/C2IhBIZOlSps6nzazpXz37uM4M/XdY7zitD5PeMxF4LfCLuD7AUuhkYbqyCH48R9FbBPaROMKRazCKwCAwV2pAwqIj6U7ggozpyPPXgxJLm32KH+3uyDPdd2GZuYWogJ/G9Rs03MIyGkdL4tGJxRhxerIpGLLTkbiGQEndQxI0QhEz8VqSXFGSGwTZuSqSTUgsfRgTK0OKLSpXeh/Sb+HaY9GIkwU6mhvu68+cAttZWEDjhRqfB4KkIBtovuspB7cNpn9+9Xr7OysBA8wwTMiEIb0L168wX0w5WVQcz9F8YSanp/RPHVvYRKKFfYMrI9EekNTXSgaYrif6doNNPWiRn6F/DhP75vpeXD9C49Ear1k0KIkrAO0i4gNs5nMD3N1wF/BMunV477gNf1PCGKIPTPpxi/4E7tGWEYtJCkqyVqlsgZaFNwrLZAcGEgLX4CagwKuHJO8vm+vnLUpEhyYmx+EUxBXYqkSUbEAz16tx3X1te39TgHCh6N+pJr7Loot5Q/Ad7JcMLQILxgeYd4EbEJ4ot12ty3OzgplJyVT7CUWv5Y430fAiB7dDYBvrAkFI0hMUU2Lt/o6IdyX7mwSSmhUN4JLeGqIusYyiicXzKrBxYJ0MtHV5FhJ5A9xDsEVqanhTUiIBsyp/7obEIip2sfavB1gym4ut0ij6ocf4HUiVOTiGpFVTaTA4mVGDZ6QYJAMZooMLP15AdBH0dnPZqj1rSvgfIi1gBlLc2HlJKbik0rPrSbmrcY8OzMyEB4Qb7hyfvLvam34MsJh7NsLFBkghXavXLyWEyCNEgVSTojC1mSm3Z13nhnrIe7gYM3GKfYnHNB1l8mTnotHbSTOzzKcBk0mYgj1Ps9yXpougXgxqrJ0s4uqWJYtyKP5fzAOFS8DFkTba5lcM7O6GEvm1vnMeQUuIC8wTpRc8nwcCh5ItWD2bSlalLobwkJaLKJ95RxyWwnmhZelBE4kCx+SWWgS+iSHvbnDh0guDul/D5hLbEpcwP4JmjmIDvhwZ2XmAYVTEuIftHWB17UzqfZp4UeZftRBMdZC5WuJqNXYbKlhlYehMl2RAA7yezT5zQZclxydmZZJYZQ0nMcLyBBZH0CzSBJmvtXZ+IGx5ArGRTyaYHUi33zKzO2+pONwH96iFwzJLxGJg95Rfhxj1RuyeWNiFpdzDepgIVJBFb+hrrl7fvjSHlupihzyFdHC+hyxH3Jsl4ejI7BvfND1w+Wd0352Pc9uFhr0JXNiDvUkKb4VO3BU3r4fAgjy1Wjhj+s09xLWIzPJqwKktZkdsRVlICio2aYL6ExaUxMh5H5D6Qg69L+YVd178YWaTFzStf5a9ibgwgYv7sD/FqgBVaJEo64KVRcqnBIHLiG64YWplYB9PBpgbhWXXhKh67KnQdVjEId7NEvUFGwavrvdBtjZyuLWaTYIqg0k1RU2N8ZMczP6L/embOJjBwQzNJhDMqILJMIJZXwYaEuag6AGpxnWnpDtGrd2EkOBAIuSClKH6SHorJGQWymufr9LUhNBv85xARatiwppvXIFX3QZghFZrPIjx50zD+2D2hyQSg+NFQqQXJaLMQsJaO20Zl0gPt3nhlbebi86OTh7eZhZOXNqitiCqIE+np2auOXgx5mVCKXT3yAMZF1XBiZAOQB9nWv0gzH4n9VvGydIwhbqN1RaR5HmkLiE9C6MGcSK/9EA6YRWseh8KLVal2FJfQnjPKrLu2rlBLguQ5f5Ma3jVHWlCW2tPpPR7MCz+MtPqX2H2YmviLZrB1Ge14Ebj2TnmyT7yTjN0N6EgkKO8Wq7HeUtnShT9PI8ycDPs9otw6RBCVU6Cl4l1IbsVmj9iEu4rMpG9iUJf7ljBgrtwVeZ6vB1nTxF0Y49bgwHZvO88EC9mi2gZuj+Ya02F7eSMHH1YNPhr74e6GloH/XZwkN2LxY8yrTwhcNpSYMltiJIPkG4BHtlk13XgvWvV4IqyeIDsgcRmnc2HjW++djVwmgnT7+fD9wGhtWiKGUdx3yQHr5A9B837mVbiwkyDnGvxUPKD9wJrUWgfGeMYkgv1hTJHEuYRtDk6cu6Q5Bh68mGYzTrq9B6VKjunJfwC+xB+DvxeJtW06FFIiEvxluTCXQamuyRWwDeycjJTI8QG+SkUeB4wcAfAZlN47MEOcd4X+mXyQ3pKISblyl2I94LPS4laMobMRHSCI8SzpJKITHWDvP0I+CAGmNhXqbcuiIvkwrWzfH42n7Vx0b75ZLBYorc+AWHSu7u4euVh652nxkwQhFXfQwqotko7a2GZpEPgjcOWXgHIoZn3lEg4F6M5+aqBSAreyugozCo43Ie7Lyd/d0V+j1StqB/AB96CwtMDLdyG2KVvAY+sduaqwXMQ4dyhEz8pxhkBg7qGxRKeegwOL6wjL4wrm7bRBBeAbwut8JKlKKvkSrx4Pz0j46y5i85+zOzb/jxPr0M4SmVqRucyLpbYG5+kevCB9ZrA5JGd3nA6vr115UwJSeYyXI8J7mG70Nv+hk2Td06ib0B5lt9dvj/8APWzjxPL70IcYSPyNqH0zW0wQZLMRYjIV9j3FYPHITuoypGa6+e+DQOeiR0lYfdcZvLON6c3h96Etu7bKPT1RP/z9i6YIKFGeBOR9HqwE7py2VcAsYyo1xdWznHdlIokQl1h0yncckh4x1uIFtY55OxzacBtoTxsLqzJ9pzr7ebaK3eGqyQUa+0q76RGMVK95/+eirwtQb1yR2lj5ZIEOonYpYvU73gLmtVt4aT32Xfzi/ug1Wt1icIkLZVjdoRH11sOhIyInfCZcwdWv5xTpDnL1feLzaDukvHrcnMFSUVOa/V69rRseA4M7riEP3I//tgjaH+G5svM3jspi9XOtF57/v21OgfzJFcSEi4z52GSAinzqaCz57/NDJZLWCzARQiBaAAVhIDldRptsnnDgERokZe6M/R8Ur6l90AVksY9PIS3PYvdfRdIxPmiQ8UZhtF2Y11SvlRn28+IYI2waI8JTVtpOcJetmI7jkHL9qHG9qaoJNJbUVi0pLdd3BQ665DXk/lZKbR9MBJVVxXccSs8+hDh/lfDbC9xWKH4axPxKd34z7p/Rk1E7k+1aF7F3hlsuHZwX3kptR867yM5BMKKlZS9g8HQVn60ZDAoF+iZH3sT7J674aH7CK+6C59MUrVpswTrAhr08rxtScvpAY412Zc/P9PlRFzKacwncibeBkSwUmWwCxigaZ0UVI+KEvL6psZG3k3eUW/AFkIXRQ417E0ID94DD92H3XYrqgMel6hZjLhndF7GtYFPdBSYfGCX9FiRKP25vhqQhC1jmwpURlwIgVBXSDWxWWzkKpEoxjyivRkcHqBLh3DxAtqfwWxGdfkOONhP9wfHi789YFd1SCvn27zMmXyFvi32ZeCTdZEl2ZA2wetknUOzqe5lJwhCj74O7rkN3XUr7M9QCChk5vWYtXovW7feSBYn6fsAEYC3Y+py2eW5nsDsoeDMMlAbPv8AOKmBKdHnil546hmS9TtaP72K0L4wH4WnH0qJabPkzHvOt1ihghIdWZmk5Crka/2T+f5c/FTNZrg7UkClvdMM9LNQ37risfQyfh+oandvcKBxgOcwm5If2UR3u1ClzAl3X0K3Xchte2cUued0Zo9a1jq+8eWd8W1GE5sebWxC3sgE70KJ62MsweYvEP1PidFrJG/LOaS7y9ty1j593fCuEhPdeH1SDSO80P324sifPo4hrNh8q+3vIm52ZePV+1wGBFwfpIkNTbSaXKNH9AA8SUireWRrBuTOUJaQcjAbIkgaRjyuiUl2rmDAf+P+SzZvqpQXLusjXBG355F2Wn0kiaBSF1RIdeXBi3sdWxVKSX7jNR3VOUEE5hb9+20ZjUUDi4aAZL0U3huLV5X+DqT3ADbJQDPr0h2Heyu5YFZk1Csc0vWH/rgnwIdp/DM6WaL5Ulo2BCJF/u0j7gcKrwNb/FMNK+wLQj0buUwqmJ62JQM3MxJ79hEy8UWi/xTzZcXJApooXAq5BgZcr6FbpAw7DG2bJg4Hs4TE8Qd3HcT1hF3liANflvRumugsGrNlXg7mUjBXShyI++yMeyH0KXA1S6nDHE7chqyeWXdOIIZvTd/NRLBuaXYHBpyY+D5cnyf6RPNlVPRSpW+pUjAKc3sXUBktZTXWmQgbsdD6s+qxL6BbD67RmK8JbJ6qfihsKPPL3jTfreh/w8lCfPO4oYn08EKt6ITGcenh8mRuprJUln723hpJgbQWv65lKOnM3dlyLvuxg/PFOv2iie9SEz/PycJ4+QTmS6wZMmmoFhGWAniqlHHI8qYq6rzQjb1bUSap1ZBtwBuucbXyvR8M6JvxS8o6DVfA9Ulc71ETP8/xAl4+MY4Xa8gDqLVsTNLUzF4jiGYW1MbJtlNMia60oalCcbM6KZC+419uvDGwaSAGNEhTUk3Q14EPIn2I6A3HC7PjBTpeyFY9ngw1TQxg9wB7yYZzARY0vtRjFwj7s/HSlzHXrY/46wenOO4I15+Y9KM0/m800TheoKO5egqju7vXZo0bBs9gJrVefVhnyy29KtSX6qAFB9Otz50jlClbZd0OXH+B68Mm/bGW0ZgvjeOF2aLJy14Hd6+KBKtJvP+81hvf6gMX9oWseft5kj4CW993RZG0imXbW14BDGOAq379/wG/Z+J3JX3CJDhZwnwpjhdGEyXXNuS15+pMaa8r9kcpiNTwoVMVycCornsGdFsNBW1pRQlHbWkSsBwHahd5txVWu0CZqNSxrwB/b+KvgT8DPgMcAXssGnSyhJMlNl/CMp5pSuu8O8WzSGfagKP/Buvhpaoq4h0XSWtAjG45l60wwErsLp8d+S7gJVy/KXiRqCtmNpENtt8L6YUYaXO0b5nZy8CxuT4bXF+16G6NoyZa3lzCFP2kOTpOzDFObVsCiglqMzuUdG9bpdo9WHT29g3KbJguVhWwqkSH+xdG4naFtbcrK5l4j1wvWHRTimESzBpJVe6nSQPajMrvVHS88W71QXRl37+tjthCOafSVC24LDgoBged0L0qyWT7U0TCuq9WP63dPN7FdkDpuY9Z9BeYLyudLN2iR1zmUshGKFBKE1Zal2jjne1Obu31Actdbe6nBt5gZutLz4ewhtDRhDvgh7M2T9Lah9taDaPz33Oy9aIvmpqTpXOyMCVq6pfjpQfWF0OXC628TWkY05gcvdrEWS3pHTDYkdJyg5IUGKERM2sxmr73NPKFvS6Pexrkwvd2AbO11NepGulFxRhtGYOWMdVw5yRiKwTUCvB+Xzum6l1TpsLN9Thng5q0B+kqSIU1VmBQ1sE6n+sV2IBWEJO1ryRDeglR4x7JRu2KhUDa/yD1ude/rfLrqjyEEajN7OEd2hudp9X6FDNrZeCOkGYpU15RBD2FcGTiUynd0LWazZkyf63EvBH71tTAQ0BDt6Pvqgpf61WLuBX5JsCnNRZMreyTTt3taIMWPDHxBaWUgxTdwtC3NDOTnypoz/zeM0Ews78zs0XeIs6tA5XozOqRe5/zQ5I3S5yIHrwdaiQiaUGNw1Vs0pjfUwGflbRU3sO1XxtoG5Ot5wu1mb0V+AHgnSQqnJCUyqhmXs2DSHFBHSbhYC/4wfQNBHuy2xAIbTGIBggYKV6qgX+nLfzscv39LWYG65BH4HqjuY4TBPx2PvrW/5hv3J7qSmpnzsEUv3RwwK0HHwSezLfpVEsyiwGt6CMZaRmp8bcaGrrrrotGrZJzg9ruPIT1SbTesW2Cpbo2btkXt104Yn/6zMi6i53Hl220trTJ0T8V1kXj83Fqbc51hlr7o6nHHXsUUury9kPj0oGQnk610OTahrPRRrc8Nvm0Jv4n7aKeTRfvjOKbBWrSerm0DqtEPzrwzW5Yj8OntQh2iahLmEXcdyllHXgOWSm1ml/Sf+B+hWU0i+0ucjcd1Jj115+uy7zTZty9JObfnmXaWSjPiiun/ruSo/+PWkasiXjTrbMbpA5uAqgZbne5Zoz2ZfRg+RR0OlqCZXyEUle46yC7+sCC9MIBUdIXLDoqkRMGrl7bPV8/d65Qm1UaMSGAgijT6rWWUMzMDvbSfe7PvSLKGCK9Al7IKyxT51LVWMsjg9rpGwg7FK/AmmQsECzt5lOFCWYP0FHSWaCThcMS/C92d1iKCVi3fKJUh53juu1RaDfiNnVHH7axh5mlAvIqHJL+08MZh7PWeNEUc5IR3fkxecOvPsK85YSzvfVaQruYYVMnxs4PWGdSGVW4Hbi8gfo2TIFWv3TU5/pfk75OWj3VGdgrFkGhxhsqA8uXNsY3QoGyLvYHOWQdzCwEqC2A7scsYPId/I9tUNTSP+MyNiSz+4pjU8L7vCBAh5ixrFf/dy/Ckp/OLGyW3LfNyNs0ypEAKA58Wu6p/Lilz+7WUhV7Iz2Qti/9H6fJkhJGD1iKhgQTITjGm66S7kZ8bYTrH9L2eyp72Fy7COg1hjWPYXUNyKbrMlBageSYPbR62ym/x6B/z5dwOT0bsA9uVx0CvOZwqsu1uvFO32YMZRMH8RzrCZ2+SbJttKvIPTHp00SPXX31ygM3WO71YRSBOwVQQrsd5oNI9Qb5t4sDO5SDrhfzDpphTYmMJ+NvKAwQuGvkKf1/grRyklTF+VK+pJXP02B4v9kVM/uEyv8wyVsG5O1YRu3UGw2jFLhNvuSNjyj/zM7EEfBjJM+h316f+rbNTGH3bwG/AHygrRrt++E3GeIK/D/1R7dpRZ4HDAAAAABJRU5ErkJggg==",nT="_antistockLogoWrapper_ax6a6_1",rT="_applePayGooglePay_ax6a6_13",oT="_debitCreditCard_ax6a6_20",iT="_cryptocurrency_ax6a6_27",zs={antistockLogoWrapper:nT,applePayGooglePay:rT,debitCreditCard:oT,cryptocurrency:iT},aT="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%20-34.55%20120.3%20120.3'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8%206.6c1.4-1.8%202.4-4.2%202.1-6.6-2.1.1-4.6%201.4-6.1%203.1-1.3%201.5-2.5%204-2.2%206.3%202.4.3%204.7-1%206.2-2.8M24.9%2010c-3.4-.2-6.3%201.9-7.9%201.9-1.6%200-4.1-1.8-6.8-1.8-3.5.1-6.7%202-8.5%205.2-3.6%206.3-1%2015.6%202.6%2020.7%201.7%202.5%203.8%205.3%206.5%205.2%202.6-.1%203.6-1.7%206.7-1.7s4%201.7%206.8%201.6%204.6-2.5%206.3-5.1c2-2.9%202.8-5.7%202.8-5.8-.1-.1-5.5-2.1-5.5-8.3-.1-5.2%204.2-7.7%204.4-7.8-2.3-3.6-6.1-4-7.4-4.1'/%3e%3cg%3e%3cpath%20d='M54.3%202.9c7.4%200%2012.5%205.1%2012.5%2012.4%200%207.4-5.2%2012.5-12.7%2012.5H46v12.9h-5.9V2.9h14.2zm-8.3%2020h6.7c5.1%200%208-2.8%208-7.5%200-4.8-2.9-7.5-8-7.5h-6.8v15h.1zM68.3%2033c0-4.8%203.7-7.8%2010.3-8.2l7.6-.4v-2.1c0-3.1-2.1-4.9-5.5-4.9-3.3%200-5.3%201.6-5.8%204h-5.4c.3-5%204.6-8.7%2011.4-8.7%206.7%200%2011%203.5%2011%209.1v19h-5.4v-4.5h-.1c-1.6%203.1-5.1%205-8.7%205-5.6%200-9.4-3.4-9.4-8.3zm17.9-2.5v-2.2l-6.8.4c-3.4.2-5.3%201.7-5.3%204.1%200%202.4%202%204%205%204%204%200%207.1-2.7%207.1-6.3zM96.9%2051v-4.6c.4.1%201.4.1%201.8.1%202.6%200%204-1.1%204.9-3.9%200-.1.5-1.7.5-1.7l-10-27.6h6.1l7%2022.5h.1l7-22.5h6L110%2042.4c-2.4%206.7-5.1%208.8-10.8%208.8-.4-.1-1.8-.1-2.3-.2z'/%3e%3c/g%3e%3c/svg%3e",uT=()=>d.jsx("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M20.9852 9.72294L16.7571 13.4129L18.0236 18.9067C18.0906 19.1939 18.0715 19.4945 17.9686 19.7709C17.8658 20.0472 17.6837 20.2872 17.4452 20.4606C17.2067 20.6341 16.9223 20.7334 16.6277 20.7462C16.3331 20.7589 16.0412 20.6845 15.7886 20.5323L10.9971 17.6261L6.2158 20.5323C5.96321 20.6845 5.67135 20.7589 5.37671 20.7462C5.08208 20.7334 4.79773 20.6341 4.55923 20.4606C4.32074 20.2872 4.13866 20.0472 4.03578 19.7709C3.9329 19.4945 3.91378 19.1939 3.9808 18.9067L5.24549 13.4186L1.01643 9.72294C0.792748 9.53002 0.631004 9.27536 0.55148 8.99089C0.471955 8.70642 0.478189 8.4048 0.569401 8.12385C0.660612 7.84291 0.832741 7.59515 1.0642 7.41164C1.29566 7.22813 1.57615 7.11705 1.87049 7.09231L7.44486 6.6095L9.6208 1.4195C9.73443 1.14717 9.9261 0.914551 10.1717 0.750929C10.4172 0.587308 10.7057 0.5 11.0008 0.5C11.2959 0.5 11.5844 0.587308 11.8299 0.750929C12.0755 0.914551 12.2672 1.14717 12.3808 1.4195L14.5633 6.6095L20.1358 7.09231C20.4301 7.11705 20.7106 7.22813 20.9421 7.41164C21.1736 7.59515 21.3457 7.84291 21.4369 8.12385C21.5281 8.4048 21.5343 8.70642 21.4548 8.99089C21.3753 9.27536 21.2135 9.53002 20.9899 9.72294H20.9852Z",fill:"currentColor"})}),Z2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.cryptocurrency,children:[d.jsx(ar,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})})}),d.jsx(ar,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.3837 16.4017C13.6027 16.4483 15.781 16.4937 18 16.5857C17.9187 16.9525 17.8362 17.2727 17.7956 17.5941C17.6712 18.0529 17.5481 18.4664 17.4668 18.9252C17.4249 19.1546 17.3424 19.2 17.138 19.2H6.53438C6.90513 17.5941 7.27452 16.0815 7.64386 14.4756C7.06883 14.705 6.57507 14.9344 6 15.2092C6.16497 14.5223 6.32877 13.9261 6.53438 13.2832C6.53438 13.1924 6.65762 13.1458 6.74007 13.1458C7.11071 12.963 7.52084 12.8243 7.89018 12.6403C8.01344 12.5962 8.13773 12.4588 8.13773 12.3201L9.86171 5.16681C9.90358 4.89203 9.98489 4.8 10.273 4.8H14.0128C13.5608 6.67939 13.1495 8.56137 12.6976 10.5328C13.3552 10.2126 13.9721 9.93657 14.6703 9.66179C14.5878 10.0286 14.4647 10.3487 14.424 10.6702C14.3415 11.4051 13.9721 11.8172 13.3145 12.0013C13.0276 12.092 12.7383 12.2294 12.4513 12.3681C12.3494 12.436 12.2648 12.5305 12.205 12.6429C11.9169 13.8807 11.6288 15.0731 11.3825 16.3109V16.403L11.3837 16.4017Z",fill:"#345D9D"})})}),d.jsx(ar,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M19.9946 3.6L19.8636 3.98284V15.0909L19.9946 15.2034L25.9879 12.1555L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9946 3.6L14 12.1555L19.9946 15.2034L19.9934 9.81181L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 16.1802L19.9209 16.2577V20.2146L19.9948 20.4L25.9917 13.134L19.9948 16.1802Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 20.4V16.1802L14 13.134L19.9948 20.4Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M20.0067 15.2052L26 12.1574L20.0067 9.81369V15.2052Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M14 12.1555L19.9934 15.2044V9.81181L14 12.1555Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}})]})}),d.jsx(ar,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M7.4623 17V13.962H4.6763V12.898H7.4623V9.846H8.5123V12.898H11.2843V13.962H8.5123V17H7.4623ZM16.3943 17.168C15.6476 17.168 15.0176 17.056 14.5043 16.832C13.991 16.5987 13.6036 16.272 13.3423 15.852C13.081 15.432 12.9503 14.9327 12.9503 14.354V14.172H14.1963V14.354C14.1963 14.9327 14.3783 15.376 14.7423 15.684C15.1156 15.9827 15.629 16.132 16.2823 16.132C16.9356 16.132 17.463 15.992 17.8643 15.712C18.2656 15.4227 18.4663 14.9653 18.4663 14.34C18.4663 13.8827 18.359 13.5327 18.1443 13.29C17.9296 13.0473 17.6496 12.8793 17.3043 12.786C16.9683 12.6833 16.609 12.632 16.2263 12.632H15.2183V11.596H16.2683C16.623 11.596 16.9496 11.54 17.2483 11.428C17.547 11.316 17.785 11.134 17.9623 10.882C18.149 10.6207 18.2423 10.2847 18.2423 9.874C18.2423 9.50067 18.1583 9.19733 17.9903 8.964C17.8316 8.73067 17.6123 8.558 17.3323 8.446C17.0523 8.32467 16.7443 8.264 16.4083 8.264C16.035 8.264 15.699 8.32933 15.4003 8.46C15.1016 8.58133 14.8636 8.768 14.6863 9.02C14.5183 9.272 14.4343 9.58933 14.4343 9.972V10.154H13.1743V9.902C13.1743 9.37 13.3096 8.90333 13.5803 8.502C13.8603 8.10067 14.2383 7.788 14.7143 7.564C15.1996 7.34 15.755 7.228 16.3803 7.228C16.9963 7.228 17.5376 7.326 18.0043 7.522C18.4803 7.718 18.8536 8.00733 19.1243 8.39C19.395 8.77267 19.5303 9.244 19.5303 9.804C19.5303 10.2147 19.4556 10.5647 19.3063 10.854C19.157 11.134 18.961 11.3673 18.7183 11.554C18.4756 11.7407 18.2143 11.8947 17.9343 12.016V12.072C18.4476 12.2213 18.877 12.492 19.2223 12.884C19.5676 13.276 19.7403 13.7893 19.7403 14.424C19.7403 14.9933 19.5956 15.4833 19.3063 15.894C19.0263 16.3047 18.6296 16.622 18.1163 16.846C17.6123 17.0607 17.0383 17.168 16.3943 17.168Z",fill:"#757575"})})})]}):d.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4561)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4561)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M27.3837 16.4017C29.6027 16.4483 31.781 16.4937 34 16.5857C33.9187 16.9525 33.8362 17.2727 33.7956 17.5941C33.6712 18.0529 33.5481 18.4664 33.4668 18.9252C33.4249 19.1546 33.3424 19.2 33.138 19.2H22.5344C22.9051 17.5941 23.2745 16.0815 23.6439 14.4756C23.0688 14.705 22.5751 14.9344 22 15.2092C22.165 14.5223 22.3288 13.9261 22.5344 13.2832C22.5344 13.1924 22.6576 13.1458 22.7401 13.1458C23.1107 12.963 23.5208 12.8243 23.8902 12.6403C24.0134 12.5962 24.1377 12.4588 24.1377 12.3201L25.8617 5.16681C25.9036 4.89203 25.9849 4.8 26.273 4.8H30.0128C29.5608 6.67939 29.1495 8.56137 28.6976 10.5328C29.3552 10.2126 29.9721 9.93657 30.6703 9.66179C30.5878 10.0286 30.4647 10.3487 30.424 10.6702C30.3415 11.4051 29.9721 11.8172 29.3145 12.0013C29.0276 12.092 28.7383 12.2294 28.4513 12.3681C28.3494 12.436 28.2648 12.5305 28.205 12.6429C27.9169 13.8807 27.6288 15.0731 27.3825 16.3109V16.403L27.3837 16.4017Z",fill:"#345D9D"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4561)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M43.9946 3.59961L43.8636 3.98245V15.0905L43.9946 15.203L49.9879 12.1551L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9946 3.59961L38 12.1551L43.9946 15.203L43.9934 9.81142L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 16.1798L43.9209 16.2573V20.2142L43.9948 20.3996L49.9917 13.1336L43.9948 16.1798Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 20.3996V16.1798L38 13.1336L43.9948 20.3996Z",fill:"#252525"}),d.jsx("path",{d:"M44.0067 15.2049L50 12.157L44.0067 9.8133V15.2049Z",fill:"#252525"}),d.jsx("path",{d:"M38 12.1551L43.9934 15.204V9.81142L38 12.1551Z",fill:"#252525"})]}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M55.4623 17V13.962H52.6763V12.898H55.4623V9.846H56.5123V12.898H59.2843V13.962H56.5123V17H55.4623ZM64.3943 17.168C63.6476 17.168 63.0176 17.056 62.5043 16.832C61.991 16.5987 61.6036 16.272 61.3423 15.852C61.081 15.432 60.9503 14.9327 60.9503 14.354V14.172H62.1963V14.354C62.1963 14.9327 62.3783 15.376 62.7423 15.684C63.1156 15.9827 63.629 16.132 64.2823 16.132C64.9356 16.132 65.463 15.992 65.8643 15.712C66.2656 15.4227 66.4663 14.9653 66.4663 14.34C66.4663 13.8827 66.359 13.5327 66.1443 13.29C65.9296 13.0473 65.6496 12.8793 65.3043 12.786C64.9683 12.6833 64.609 12.632 64.2263 12.632H63.2183V11.596H64.2683C64.623 11.596 64.9496 11.54 65.2483 11.428C65.547 11.316 65.785 11.134 65.9623 10.882C66.149 10.6207 66.2423 10.2847 66.2423 9.874C66.2423 9.50067 66.1583 9.19733 65.9903 8.964C65.8316 8.73067 65.6123 8.558 65.3323 8.446C65.0523 8.32467 64.7443 8.264 64.4083 8.264C64.035 8.264 63.699 8.32933 63.4003 8.46C63.1016 8.58133 62.8636 8.768 62.6863 9.02C62.5183 9.272 62.4343 9.58933 62.4343 9.972V10.154H61.1743V9.902C61.1743 9.37 61.3096 8.90333 61.5803 8.502C61.8603 8.10067 62.2383 7.788 62.7143 7.564C63.1996 7.34 63.755 7.228 64.3803 7.228C64.9963 7.228 65.5376 7.326 66.0043 7.522C66.4803 7.718 66.8536 8.00733 67.1243 8.39C67.395 8.77267 67.5303 9.244 67.5303 9.804C67.5303 10.2147 67.4556 10.5647 67.3063 10.854C67.157 11.134 66.961 11.3673 66.7183 11.554C66.4756 11.7407 66.2143 11.8947 65.9343 12.016V12.072C66.4476 12.2213 66.877 12.492 67.2223 12.884C67.5676 13.276 67.7403 13.7893 67.7403 14.424C67.7403 14.9933 67.5956 15.4833 67.3063 15.894C67.0263 16.3047 66.6296 16.622 66.1163 16.846C65.6123 17.0607 65.0383 17.168 64.3943 17.168Z",fill:"#757575"}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4561",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4561",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4561",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),Y2=()=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})}),X2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.debitCreditCard,children:[d.jsx(ar,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})})}),d.jsx(ar,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M14.5901 7.2835H9.39431V16.7165H14.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M9.74021 12C9.74021 10.0835 10.6318 8.38252 11.9999 7.2835C10.993 6.4835 9.72288 6 8.33751 6C5.05551 6 2.39991 8.6835 2.39991 12C2.39991 15.3165 5.05551 18 8.33751 18C9.72288 18 10.993 17.5165 11.9999 16.7165C10.6298 15.633 9.74021 13.9165 9.74021 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M21.5999 12C21.5999 15.3165 18.9443 18 15.6624 18C14.2769 18 13.0068 17.5165 11.9999 16.7165C13.3853 15.6155 14.2596 13.9165 14.2596 12C14.2596 10.0835 13.368 8.38252 11.9999 7.2835C13.0049 6.4835 14.275 6 15.6604 6C18.9443 6 21.5999 8.70097 21.5999 12Z",fill:"#F79E1B"})]})}),d.jsx(ar,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.6377 9.6L9.2 15.5923H12.1183L12.48 14.6369H13.307L13.6688 15.5923H16.881V14.8631L17.1673 15.5923H18.8289L19.1151 14.8477V15.5923H25.7957L26.608 14.6617L27.3687 15.5923L30.7999 15.6L28.3545 12.6129L30.7999 9.6H27.4219L26.6311 10.5134L25.8944 9.6H18.6268L18.0028 11.1467L17.3641 9.6H14.4518V10.3044L14.1279 9.6H11.6377ZM12.2024 10.4509H13.6249L15.2418 14.5143V10.4509H16.8001L18.0491 13.3644L19.2001 10.4509H20.7506V14.7508H19.8071L19.7994 11.3814L18.424 14.7508H17.58L16.1968 11.3814V14.7508H14.2559L13.8879 13.7868H11.9L11.5328 14.7499H10.4929L12.2024 10.4509ZM21.6138 10.4509H25.4501L26.6234 11.8588L27.8346 10.4509H29.0079L27.2252 12.612L29.0079 14.7482H27.7814L26.608 13.324L25.3907 14.7482H21.6138V10.4509ZM12.8944 11.1784L12.2394 12.8957H13.5486L12.8944 11.1784ZM22.5611 12.1261H24.654V13.001H22.5611V13.8579H24.9086L25.9994 12.5958L24.9549 11.3405H22.5611V12.1261Z",fill:"#26A6D1",style:{transform:"translateX(-8px)"}})})})]}):d.jsxs("svg",{width:"56",height:"24",viewBox:"0 0 56 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4573)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4573)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M30.5901 7.2835H25.3943V16.7165H30.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M25.7402 12C25.7402 10.0835 26.6318 8.38252 27.9999 7.2835C26.993 6.4835 25.7229 6 24.3375 6C21.0555 6 18.3999 8.6835 18.3999 12C18.3999 15.3165 21.0555 18 24.3375 18C25.7229 18 26.993 17.5165 27.9999 16.7165C26.6298 15.633 25.7402 13.9165 25.7402 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M37.5999 12C37.5999 15.3165 34.9443 18 31.6624 18C30.2769 18 29.0068 17.5165 27.9999 16.7165C29.3853 15.6155 30.2596 13.9165 30.2596 12C30.2596 10.0835 29.368 8.38252 27.9999 7.2835C29.0049 6.4835 30.275 6 31.6604 6C34.9443 6 37.5999 8.70097 37.5999 12Z",fill:"#F79E1B"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4573)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M35.6377 9.6L33.2 15.5923H36.1183L36.48 14.6369H37.307L37.6688 15.5923H40.881V14.8631L41.1673 15.5923H42.8289L43.1151 14.8477V15.5923H49.7957L50.608 14.6617L51.3687 15.5923L54.7999 15.6L52.3545 12.6129L54.7999 9.6H51.4219L50.6311 10.5134L49.8944 9.6H42.6268L42.0028 11.1467L41.3641 9.6H38.4518V10.3044L38.1279 9.6H35.6377ZM36.2024 10.4509H37.6249L39.2418 14.5143V10.4509H40.8001L42.0491 13.3644L43.2001 10.4509H44.7506V14.7508H43.8071L43.7994 11.3814L42.424 14.7508H41.58L40.1968 11.3814V14.7508H38.2559L37.8879 13.7868H35.9L35.5328 14.7499H34.4929L36.2024 10.4509ZM45.6138 10.4509H49.4501L50.6234 11.8588L51.8346 10.4509H53.0079L51.2252 12.612L53.0079 14.7482H51.7814L50.608 13.324L49.3907 14.7482H45.6138V10.4509ZM36.8944 11.1784L36.2394 12.8957H37.5486L36.8944 11.1784ZM46.5611 12.1261H48.654V13.001H46.5611V13.8579H48.9086L49.9994 12.5958L48.9549 11.3405H46.5611V12.1261Z",fill:"#26A6D1"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4573",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4573",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4573",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),K2=({isAntistock:e=!1})=>e?d.jsx(ar,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_13_4480)",children:d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_13_4480)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]}),J2=({isAntistock:e=!1})=>e?d.jsx(ar,{children:d.jsx("img",{src:Z1,alt:"PayPal",width:14,height:18})}):d.jsx("img",{src:Z1,alt:"PayPal",height:24}),ar=({children:e})=>d.jsx("div",{className:zs.antistockLogoWrapper,children:e}),Q2=({isAntistock:e=!1})=>e?d.jsxs("div",{className:zs.applePayGooglePay,children:[d.jsx(ar,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}),d.jsx(ar,{children:d.jsx("img",{src:aT,alt:"Apple Pay",width:18,height:24})})]}):d.jsxs("svg",{width:"40",height:"24",viewBox:"0 0 40 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsxs("g",{clipPath:"url(#clip1_12_1508)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M21.1469 9.48287C20.8938 9.7666 20.4887 9.99039 20.0837 9.95842C20.033 9.57478 20.2313 9.16717 20.4634 8.91541C20.7166 8.62369 21.1596 8.41589 21.5182 8.3999C21.5604 8.79952 21.3959 9.19115 21.1469 9.48287ZM21.514 10.0343C20.9275 10.0024 20.4254 10.35 20.147 10.35C19.8643 10.35 19.4381 10.0503 18.974 10.0583C18.3707 10.0663 17.8095 10.39 17.5015 10.9055C16.8686 11.9365 17.337 13.4631 17.9487 14.3023C18.2483 14.7179 18.6069 15.1735 19.0795 15.1575C19.5267 15.1415 19.7039 14.8817 20.244 14.8817C20.7883 14.8817 20.9444 15.1575 21.417 15.1495C21.9064 15.1415 22.2144 14.7339 22.514 14.3183C22.8557 13.8467 22.9949 13.3872 23.0034 13.3632C22.9949 13.3552 22.0583 13.0155 22.0498 11.9925C22.0414 11.1373 22.7882 10.7297 22.822 10.7057C22.4 10.1143 21.7418 10.0503 21.514 10.0343ZM24.902 8.87545V15.1055H25.9231V12.9755H27.3365C28.6276 12.9755 29.5348 12.1363 29.5348 10.9215C29.5348 9.70666 28.6445 8.87545 27.3703 8.87545H24.902ZM25.9231 9.69067H27.1003C27.9863 9.69067 28.4926 10.1382 28.4926 10.9255C28.4926 11.7127 27.9863 12.1643 27.096 12.1643H25.9231V9.69067ZM31.3997 15.1535C32.041 15.1535 32.6359 14.8458 32.9059 14.3582H32.927V15.1055H33.8721V12.0045C33.8721 11.1053 33.1127 10.5259 31.9439 10.5259C30.8596 10.5259 30.0579 11.1133 30.0284 11.9205H30.9482C31.0241 11.5369 31.3997 11.2852 31.9144 11.2852C32.5389 11.2852 32.889 11.5609 32.889 12.0684V12.4121L31.6148 12.484C30.4292 12.5519 29.7879 13.0115 29.7879 13.8107C29.7879 14.618 30.4503 15.1535 31.3997 15.1535ZM31.6739 14.4142C31.1296 14.4142 30.7837 14.1664 30.7837 13.7868C30.7837 13.3951 31.117 13.1674 31.7541 13.1314L32.889 13.0635V13.4151C32.889 13.9986 32.3659 14.4142 31.6739 14.4142ZM35.1337 16.7999C36.1294 16.7999 36.5978 16.4402 37.007 15.3493L38.8002 10.5858H37.7623L36.5598 14.2663H36.5387L35.3362 10.5858H34.2687L35.9986 15.1215L35.9058 15.3972C35.7497 15.8648 35.4965 16.0446 35.0451 16.0446C34.9649 16.0446 34.8088 16.0366 34.7455 16.0286V16.7759C34.8046 16.7919 35.0577 16.7999 35.1337 16.7999Z",fill:"black"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_12_1508",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),em=({isAntistock:e=!1})=>e?d.jsx(ar,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]}),sT=()=>d.jsx("svg",{width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M11.3712 2.7019C11.3589 3.70484 12.2371 4.26456 12.8987 4.59731C13.5784 4.93876 13.8067 5.15769 13.8041 5.46299C13.7989 5.93032 13.2619 6.13653 12.7592 6.14456C11.8823 6.15862 11.3725 5.90019 10.9671 5.70469L10.6512 7.23052C11.0579 7.42401 11.811 7.59273 12.5919 7.6001C14.4249 7.6001 15.6241 6.66612 15.6306 5.21795C15.6378 3.38012 13.1678 3.27836 13.1847 2.45686C13.1905 2.2078 13.4208 1.942 13.9254 1.87438C14.1751 1.84023 14.8646 1.81412 15.6462 2.1857L15.953 0.709415C15.5327 0.551409 14.9924 0.400097 14.3198 0.400097C12.5945 0.400097 11.3809 1.3468 11.3712 2.7019ZM18.9009 0.527306C18.5662 0.527306 18.2841 0.728831 18.1583 1.03815L15.5398 7.49164H17.3715L17.736 6.45187H19.9744L20.1858 7.49164H21.8002L20.3914 0.527306H18.9009ZM19.1571 2.40865L19.6857 5.02379H18.238L19.1571 2.40865ZM9.15036 0.527306L7.70655 7.49164H9.45196L10.8951 0.527306H9.15036ZM6.56825 0.527306L4.75149 5.26749L4.01662 1.237C3.93035 0.787079 3.58983 0.527306 3.21169 0.527306H0.24171L0.200195 0.7295C0.80964 0.865981 1.50236 1.08626 1.92201 1.32193C2.17886 1.46587 2.25215 1.59174 2.33647 1.93386L3.72839 7.49164H5.57303L8.40122 0.527306H6.56825Z",fill:"#254AA5"})}),cT=({enterAnother:e,bonusPercent:t,currency:n,isAntistock:r})=>d.jsxs("div",{className:$e.bonusBlock,children:[!r&&d.jsx(ie,{name:"Fire"}),d.jsx("div",{children:r?e>0?`Deposit an additional ${Dn({amount:e,currency:n})} and receive a ${t}% bonus.`:`Congratulations! You just unlocked a ${t}% bonus!`:e>0?`Enter another ${Dn({amount:e,currency:n})} and receive an additional bonus of ${t}%`:`You will receive an additional bonus of ${t}%`})]}),tm=({setIsOpen:e,isModal:t=!0})=>{const[n,r]=k.useState({amount:"100",gateway:""}),[i,a]=k.useState({}),[u,s]=k.useState(!1),{isAntistock:c}=gt(),{gatewaysDetail:l,setGatewaysDetail:f,dashInfo:h,balanceSettings:g}=Jn(),m=Jr(),{notifications:b,setNotifications:C}=fn(),{setIsOpen:I}=eo(),E=xo();k.useEffect(()=>{l||(async()=>{var W;const j=g!=null&&g.isEnabled?(W=g==null?void 0:g.topUpSettings)==null?void 0:W.gateways:[],F=await eu(j);f(F)})()},[g,l]);const y=()=>{const A={};return(!n.amount||Number(n.amount)<1)&&(A.amount="The balance field cannot be empty."),n.gateway||(A.gateway="Select pay method"),a(A),Object.keys(A).length===0},S=async A=>{if(A.preventDefault(),!!y()){s(!0);try{const{data:j}=await tT({price:{amount:Number(n.amount),currency:g!=null&&g.isEnabled?g.topUpSettings.currency:"USD"},gateway:n.gateway,customerEmail:(h==null?void 0:h.email)||"",tsId:E});C([...b,{message:"Order created successfully",status:"success",id:mt()}]),m(`/charges/${j.data.chargeId}`)}catch(j){const F=j;C([...b,{message:`Order creation failed: ${F.message}`,status:"error",id:mt()}])}finally{e(!1),s(!1)}}};if(!g||!g.isEnabled)return null;const{topUpSettings:{currency:T,topUpBonusEnabled:_,bonusPercent:v,minimumTopUpForBonus:x}}=g,M=Number(n.amount),H=_&&!Number.isNaN(M)?x-M:x;return d.jsx(d.Fragment,{children:u?d.jsx(Q3,{}):d.jsxs("div",{className:ge($e.modal,{[$e.antistock]:c}),onClick:A=>A.stopPropagation(),id:c?"randomId":void 0,children:[d.jsxs("div",{className:$e.header,children:[d.jsx("h2",{id:"h3",className:$e.headerTitle,children:"Top Up Account Balance"}),t&&d.jsx(ie,{name:"X",onClick:()=>{I(!1),setTimeout(()=>{e(!1)},300)},className:$e.closeIcon,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("form",{onSubmit:S,className:$e.form,children:[d.jsxs("label",{className:$e.label,children:[d.jsx(Zo,{label:"Enter Amount",type:"number",placeholder:"1000",value:n.amount,onChange:A=>r(j=>({...j,amount:A})),required:!0}),i.amount&&d.jsx("span",{className:$e.error,children:i.amount})]}),_&&H!==void 0&&d.jsx(cT,{enterAnother:H,bonusPercent:v,currency:T,isAntistock:c}),l&&d.jsx("div",{className:$e.gatewayList,children:l.length>0?l.map(A=>d.jsxs("div",{className:ge($e.gatewayButton,{[$e.selected]:n.gateway===A.name}),onClick:()=>r(j=>({...j,gateway:A.name})),children:[A.name==="ForebitPayments"?d.jsx("div",{className:$e.gatewayIcon,children:d.jsx(Y2,{})}):d.jsx("img",{alt:A.displayName,src:ir(A.logoCfImageId),className:$e.gatewayIcon}),d.jsx("div",{className:$e.gatewayName,children:A.displayName})]},A.name)):d.jsx("span",{children:"Gateways not found"})}),!l&&(c?d.jsx(Nn,{}):d.jsx(Mi,{speed:2,width:"100%",height:"220px",viewBox:"0 0 600 220",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"})})),i.gateway&&d.jsx("span",{className:$e.error,children:i.gateway}),d.jsx(wt,{type:"Primary",disabled:!n.gateway||u,className:$e.submitButton,children:"Continue to Checkout"}),d.jsxs("div",{children:[d.jsx(X3,{}),d.jsx(K3,{isAntistock:c})]})]})]})})},nm=()=>{const[e,t]=k.useState([]),{balanceSettings:n,balance:r}=Jn(),{page:i,setPage:a}=Xo(),{setIsOpen:u}=eo(),[s,c]=k.useState(!0),[l,f]=k.useState(0),[h,g]=k.useState(!1),[m,b]=k.useState("Newest");k.useEffect(()=>{a(1)},[]),k.useEffect(()=>{(async()=>{c(!0);const{list:S,totalCount:T}=await eT(i);t(S),f(T),c(!1)})()},[i]);const C=(y,S)=>{var x;const T={},_=new Date,v=[...y].sort((M,H)=>{const A=new Date(M.createdAt).getTime(),j=new Date(H.createdAt).getTime();return S==="Newest"?j-A:A-j});for(const M of v){const H=new Date(M.createdAt),A=H.toDateString()===_.toDateString()?"Today":H.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});T[A]||(T[A]=[]),(x=T[A])==null||x.push(M)}return T},I=({id:y,price:S,status:T,description:_})=>{const v=Dn({amount:Math.abs(S.amount),currency:S.currency});return d.jsxs("div",{className:$e.transactionItem,children:[d.jsxs("div",{className:$e.transactionDetails,children:[d.jsx(ie,{className:$e.iconWrapper,name:T===ma.ADDED?"Plus":"Minus",width:20,height:20}),d.jsxs("div",{className:$e.transactionInfo,children:[d.jsx("div",{className:$e.transactionTitle,id:"h4",children:_}),d.jsxs("div",{className:$e.transactionId,id:"md",children:["ID: ",y]})]})]}),d.jsxs("div",{className:ge($e.transactionAmount,{[$e.added]:T===ma.ADDED,[$e.removed]:T===ma.REMOVED}),id:"lg",children:[T===ma.ADDED?"+":"-"," ",v]})]},y)},E=()=>{if(e!=null&&e.length){const y=C(e,m);return d.jsxs("div",{className:$e.transactionsContainer,children:[d.jsx("div",{className:$e.transactionsContent,children:Object.entries(y).map(([S,T])=>d.jsxs("div",{id:"lg",children:[d.jsx("div",{className:$e.transactionDate,id:"md",children:S}),T.map(I)]},S))}),d.jsx(qs,{className:$e.pagination,currentPage:i,totalCount:l,onPageChange:a})]})}return d.jsx(nu,{title:"Transaction History",description:"When you top up your account balance or receive a refund from our team, you'll see a history of transactions here.",className:$e.noItemsBlock})};return d.jsxs(d.Fragment,{children:[(n==null?void 0:n.isEnabled)&&d.jsx("div",{className:$e.balanceContainer,children:d.jsxs("div",{className:$e.balanceHeader,children:[r&&d.jsxs("div",{className:$e.balanceAmount,children:[d.jsx("span",{className:$e.balanceAmountTitle,id:"lg",children:"Your balance"}),d.jsx("span",{className:$e.balanceAmountValue,id:"h4",children:Dn(r)})]}),d.jsxs(wt,{onClick:y=>{y.stopPropagation(),g(!0),u(!0)},className:$e.addBalanceButton,children:[d.jsx(ie,{name:"Plus"}),d.jsx("span",{children:"Add balance"})]})]})}),d.jsxs("div",{className:$e.transactionsHeader,children:[(e==null?void 0:e.length)>0?d.jsx(tu,{title:"Transactions"}):null,(e==null?void 0:e.length)>0&&d.jsx(W2,{options:["Newest","Oldest"],value:m,onChange:y=>{b(y)},style:{width:"110px"}})]}),s?d.jsx("div",{className:$e.loaderContainer,children:d.jsx(Nn,{})}):d.jsx("div",{children:E()}),h&&(n==null?void 0:n.isEnabled)&&d.jsx(Vs,{close:()=>g(!1),children:d.jsx(tm,{setIsOpen:g})})]})},lT="_home_1uch5_1",dT="_content_1uch5_13",fT="_tablet_1uch5_28",hT="_mobile_1uch5_31",pT="_statContainer_1uch5_35",mT="_text_1uch5_47",gT="_iconWrapper_1uch5_53",bT="_loader_1uch5_57",CT="_title_1uch5_65",Ar={home:lT,content:dT,tablet:fT,mobile:hT,statContainer:pT,text:mT,iconWrapper:gT,loader:bT,title:CT},IT="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%202V9.85233L13.5806%2010.9427V6.58116L6.41169%208.82252V4.89257L17%202Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M13.5806%2010.9427L13.5805%2014.691L3%2018V9.79935L6.41169%208.82252L6.41152%2013.2598L13.5806%2010.9427Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",rm=e=>z.createElement("svg",{width:20,height:20,viewBox:"0 0 19 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},z.createElement("path",{d:"M0.0103662 23.5362C0.0538052 22.4425 0.370173 21.4309 1.08058 20.6127C1.92699 19.6379 2.91375 19.2329 4.14841 19.1732C4.162 20.1401 4.15111 21.1085 4.15091 22.0756L4.70583 22.0747L7.42027 22.0755C7.95952 22.0752 8.50027 22.0844 9.03933 22.0742L9.17755 22.0731L10.6132 22.0759C10.8265 22.0759 11.0767 22.1021 11.2852 22.0658C11.3052 22.0703 11.3534 22.0735 11.3625 22.0928C11.3917 22.1543 11.3688 31.0517 11.3725 31.9631C11.1563 32.0856 10.2676 31.8701 10.0303 31.7947C9.89866 31.7528 9.644 31.6914 9.54946 31.5874L9.51914 31.584C9.46943 31.5736 9.44171 31.5537 9.40126 31.5222C9.30218 31.5131 9.14954 31.4132 9.07718 31.343C9.00129 31.3163 8.92757 31.2576 8.85921 31.2134L8.85617 31.2002C8.5748 31.0715 8.14929 30.6244 7.94318 30.376C7.35205 29.6639 6.93892 28.7659 6.83493 27.8203C6.78763 27.3904 6.7994 26.9595 6.80055 26.5277C6.80084 26.4202 6.82996 26.126 6.78242 26.0387L6.71237 26.023C6.54382 26.0528 6.34316 26.0328 6.17124 26.0324L1.0194 26.0325L0.942306 26.0307C0.74237 26.0326 0.173082 26.0689 0.0224192 26.0192L0.00848581 26.0029C0.022853 25.8597 0.0136924 25.7065 0.013837 25.562L0.0113299 24.6651L0.0117161 24.5253C0.0150266 24.1956 0.0145767 23.8659 0.0103662 23.5362Z",fill:"currentColor"}),z.createElement("path",{d:"M6.79824 0.00127802C6.88001 -0.000781892 6.96176 -0.000351703 7.04349 0.00256876C7.12523 0.00549261 7.20682 0.0108998 7.28827 0.0187905C7.36968 0.0266845 7.45082 0.0370518 7.53169 0.0498924C7.61259 0.0627296 7.69305 0.078018 7.77309 0.0957576C7.85312 0.113501 7.93259 0.133663 8.0115 0.156244C8.09044 0.178828 8.16868 0.203796 8.24624 0.231148C8.3238 0.258499 8.40053 0.28819 8.47645 0.32022C8.55237 0.352247 8.62736 0.386559 8.70141 0.423156L8.71428 0.423492C8.76476 0.450874 8.815 0.479135 8.8661 0.50516C8.947 0.550491 9.03065 0.593185 9.10687 0.646856L9.24939 0.733144C9.31674 0.78126 9.38361 0.83049 9.45202 0.87695C10.462 1.67615 11.1434 2.77146 11.325 4.10211C11.4076 4.70784 11.3729 5.34243 11.372 5.9541C11.4625 5.96599 11.5526 5.9664 11.6436 5.96762C12.6033 5.93794 13.5708 5.96289 14.5314 5.96294C15.459 5.96305 16.3927 5.93758 17.3195 5.9633C17.5874 5.96523 17.9062 6.00101 18.1677 5.95273C18.1496 6.13096 18.1583 6.31472 18.1585 6.49401L18.1598 7.38388L18.1595 7.51855C18.1591 7.83084 18.14 8.15609 18.1607 8.46685C18.109 9.73893 17.6972 10.8198 16.8003 11.6891C15.9969 12.4676 15.0894 12.76 14.0228 12.8194L14.021 10.9083C14.0209 10.5892 14.0389 10.2573 14.0163 9.93952C14.0002 9.92849 13.9879 9.91884 13.9692 9.9133C13.7941 9.93418 13.6055 9.92148 13.4293 9.92133H9.15258L9.04077 9.92082L7.56664 9.92209C7.31676 9.92224 7.04528 9.94526 6.79858 9.90893L6.79824 0.00127802Z",fill:"currentColor"}),z.createElement("path",{d:"M4.13987 5.96279C4.65941 5.9653 5.17894 5.96467 5.69847 5.96091C5.70059 7.27995 5.71757 8.60219 5.69833 9.92082L4.15072 9.92046L4.15106 11.4065C4.15096 11.6783 4.1406 11.9555 4.15443 12.2266C4.73799 12.8393 5.31307 13.4655 5.90921 14.0644L5.98321 14.0407C6.25311 14.0833 6.6928 14.0501 6.97981 14.0499L12.7386 14.0492L13.5943 14.0482C13.7363 14.0479 13.9068 14.0286 14.0457 14.0577L15.8019 15.9078L15.8915 15.997L15.9615 16.0784L15.9955 16.1093L17.4221 17.6163C17.6528 17.8599 17.9077 18.0979 18.1211 18.3569C18.1463 18.3875 18.1599 18.4086 18.1691 18.4477C18.1415 18.6757 18.1577 18.9211 18.1579 19.1514L18.1594 20.4531C18.1597 21.8112 18.142 23.1721 18.1599 24.5297L18.1589 24.6625L18.158 25.5556C18.158 25.7089 18.1437 25.8808 18.1676 26.0315L18.0995 26.031L17.2568 26.0329L17.2101 26.0308C16.2512 26.0486 15.2892 26.0305 14.3299 26.0308C13.7488 26.031 13.0694 26.064 12.4959 26.0258L12.4831 26.0202C12.4481 25.9239 12.4717 22.4806 12.47 22.075L14.0216 22.0744C14.0024 21.3241 14.0324 20.5711 14.0173 19.8203C13.4629 19.2116 12.887 18.6041 12.3052 18.0244L12.293 17.9978C12.0554 18.0392 11.5401 18.0054 11.2777 18.0053L8.9362 18.0074C7.75375 17.9793 6.56306 18.0065 5.37994 18.0069C5.13497 18.007 4.32737 18.0401 4.13472 17.9962L2.36331 16.1262L2.29219 16.0566L2.21959 15.9758L2.15074 15.9102C1.93803 15.6694 1.70849 15.441 1.48797 15.2079L0 13.631C0.0383768 13.4512 0.014078 13.2231 0.013837 13.0369L0.0121494 11.9198L0.0113299 7.52017L0.0122943 7.34622C0.0134032 6.9143 0.0453199 6.37479 0.00371286 5.95329C0.115854 5.96772 0.229056 5.9664 0.341872 5.96777C0.589393 5.96198 0.836946 5.96042 1.08453 5.9631L3.10905 5.96548C3.44789 5.96554 3.80282 5.98825 4.13987 5.96279Z",fill:"currentColor"})),Y1=({children:e})=>d.jsx("div",{className:Ar.statContainer,children:e}),om=({adaptiveStyles:e})=>{var f,h;const[t,n]=k.useState(null),{setBalanceSettings:r}=Jn(),{pageContext:i}=Qr(),{general:a,isAntistock:u}=gt(),{header:s}=Yr(),c=u?"Antistock":"Billgang";function l(g){var C,I;const m=g==null?void 0:g.name,b=(I=(C=i==null?void 0:i.listings)==null?void 0:C.filter(E=>E.type==="PRODUCT"))==null?void 0:I.find(E=>E.productData.name===m);return b==null?void 0:b.link.to}return k.useEffect(()=>{const g=async()=>{const{data:b}=await CE();n(b)},m=async()=>{const b=await G2();r(b)};g(),m()},[]),t?d.jsxs("div",{className:Ar.home,children:[d.jsx(nk,{adaptiveStyles:e}),d.jsx("h3",{id:"h3",className:Ar.title,children:u?"Home":"Your Statistics"}),d.jsxs("div",{className:ge(Ar.content,{[Ar.desktop]:e==="desktop",[Ar.tablet]:e==="tablet",[Ar.mobile]:e==="mobile"}),children:[d.jsxs(Y1,{children:[d.jsx(tr,{iconName:"Calendar",title:"Customer since",value:kI(t.createdAt)}),d.jsx(tr,{iconName:"CurrencyCircleDollar",title:"Total spent",value:Dn({amount:t.totalSpent})}),d.jsx(tr,{iconName:"Medal",title:"Top",value:`#${t.ratingPlacement}`,children:t.ratingPlacement>1&&d.jsxs("div",{className:Ar.text,id:"md-bold",children:[d.jsx(ie,{name:"ArrowUp",className:Ar.iconWrapper,width:16,height:16,fill:"var(--text-secondary)"}),"Spend"," ",Dn({amount:t.spendMoreDefaultCurrencyForNextPlace,currency:(f=t.balance)==null?void 0:f.currency})," ","more to be #",t.ratingPlacement-1]})}),u?null:d.jsx(tr,{iconName:"Star",title:"Average review",value:t.averageReview})]}),t.topSpenderProduct?d.jsx(tr,{image:ir(t.topSpenderProduct.image.cfId),imageName:t.topSpenderProduct.name,iconName:"Crown",title:"Top spent",value:`${Dn({amount:t.topSpenderProduct.amountSpentUsd||0})} spent`,productSlug:l(t.topSpenderProduct)}):d.jsx(tr,{image:"empty",iconName:"Crown",title:"Top spent",value:`${Dn({amount:0})} spent`}),d.jsxs(Y1,{children:[d.jsx(tr,{iconName:"Bag",title:"Purchases",value:t.totalPurchases}),d.jsx(tr,{iconName:"Eye",title:"Visits",value:t.visits}),d.jsx(tr,{title:"Powered by",value:c,logo:u?void 0:IT,customLogo:u?d.jsx("div",{style:{width:"48px",height:"48px",padding:"10px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--border-radius)",backgroundColor:"var(--surface-secondary)"},children:d.jsx(rm,{width:22,height:22})}):void 0}),u?null:d.jsx(tr,{title:"Store",value:(a==null?void 0:a.info.name)||"",logo:ir((s==null?void 0:s.blockSettings.logo.url)||((h=a==null?void 0:a.info.logo)==null?void 0:h.cfId)||"A5gbiev6F8AaBvp6M146Kw/4ecd0fb9-8ebc-44e9-fa1c-c36f61f4bd00")})]}),t.favoriteProduct?d.jsx(tr,{image:ir(t.favoriteProduct.image.cfId),imageName:t.favoriteProduct.name,iconName:"Heart",title:"Favorite product",value:`bought ${t.favoriteProduct.purchasedTimes} times`,productSlug:l(t.favoriteProduct)}):d.jsx(tr,{image:"empty",iconName:"Heart",title:"Favorite product",value:"bought 0 times"})]})]}):d.jsx("div",{className:Ar.loader,children:d.jsx(Nn,{})})},yT=async(e=1)=>await _E({PageNumber:e}),im=()=>{const[e,t]=k.useState(null),[n,r]=k.useState(null),[i,a]=k.useState(0),{page:u}=Xo(),[s,c]=k.useState(!0);async function l(){c(!0);const{list:h,totalCount:g}=await yT(u);t(h),a(g),r(null),c(!1)}async function f(){const h=(e==null?void 0:e.map(m=>m.gatewayName))||[],g=await eu(h);r(g)}return k.useEffect(()=>{!n&&e&&f()},[e,n]),k.useEffect(()=>{l()},[u]),d.jsx(d.Fragment,{children:e!=null&&e.length&&e.length===0?d.jsx(nu,{title:"No Orders",description:"When you purchase products from our website, you'll see a history of orders here."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Orders"}),d.jsx(Tk,{orders:e,gatewaysDetail:n,totalCount:i,isLoading:s})]})})},ET="_container_caax0_1",ST="_tablet_caax0_15",xT="_mobile_caax0_18",_T="_progress_caax0_22",TT="_status_caax0_26",wT="_name_caax0_37",AT="_completed_caax0_44",kT="_title_caax0_50",vT="_description_caax0_58",LT="_button_caax0_65",DT="_achievement_caax0_73",NT="_progressText_caax0_92",RT="_progressTextStart_caax0_99",PT="_progressBackground_caax0_103",OT="_progressForeground_caax0_107",MT="_icon_caax0_111",In={container:ET,tablet:ST,mobile:xT,progress:_T,status:TT,name:wT,completed:AT,title:kT,description:vT,button:LT,achievement:DT,progressText:NT,progressTextStart:RT,progressBackground:PT,progressForeground:OT,icon:MT},am=({adaptiveStyles:e})=>{const{notifications:t,setNotifications:n}=fn(),{setBalance:r}=Jn(),[i,a]=k.useState(null),u=async()=>{const h=(await d_()).map(g=>({...g,isClaimed:!1}));a(h)};k.useEffect(()=>{u()},[]);async function s(f){try{if(await $E(f),i){const g=i==null?void 0:i.map(m=>m.id===f.id?{...m,isClaimed:!0}:m);a(g)}n([...t,{message:"Reward claimed successfully",status:"success",id:mt()}]);const h=await jd();a(null),r(h),u()}catch{n([...t,{message:"Failed to claim reward",status:"error",id:mt()}])}}const c=i&&i.length===0,l=i&&i.length>0;return d.jsx(d.Fragment,{children:c?d.jsx(nu,{title:"Rewards Unavailable",description:"Check back in the future to join our reward program."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Rewards",description:"To unlock an exclusive reward, complete everything on this checklist"}),d.jsxs("div",{className:ge(In.container,{[In.tablet]:e==="tablet",[In.mobile]:e==="mobile"}),children:[l&&i.map(f=>d.jsx(FT,{achievement:f,onClick:h=>s(h)},f.id)),!l&&[...new Array(6)].map((f,h)=>d.jsx(Mi,{speed:2,width:"100%",height:400,viewBox:"0 0 300 300",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"300px"})},h))]})]})})},FT=({achievement:e,onClick:t})=>{const[n,r]=UT(e),[i,a,u]=VT(e),[s,c]=k.useState(!1),l=a>=u;return d.jsxs("div",{className:In.achievement,children:[d.jsx(BT,{percentage:Math.min(i,100)}),d.jsx("div",{className:`${In.status} ${l?In.completed:""}`,id:"md",children:l?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"Confetti"}),d.jsx("span",{id:"md",children:"Completed!"})]}):`Done: ${a} / ${u}`}),d.jsxs("div",{className:In.title,children:[d.jsx(ie,{name:"Bag",className:In.icon,fill:"var(--text-action)",width:18,height:18}),d.jsx("div",{className:In.name,id:"h5",children:n})]}),d.jsx("span",{className:In.description,id:"md",children:r}),d.jsx(wt,{type:l&&!e.isClaimed?"Primary":"Secondary",className:In.button,disabled:!l,onClick:async()=>{c(!0),await t(e),c(!1)},children:e.isClaimed?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"CheckCircle",fill:"var(--text-secondary)"}),d.jsxs("span",{children:["Your claimed ",X1(e)," bonus"]})]}):d.jsxs(d.Fragment,{children:[!s&&(l?d.jsx("span",{children:"Claim"}):X1(e)),s&&d.jsx(Nn,{})]})})]})},BT=({percentage:e,radius:t=40,strokeWidth:n=8})=>{const r=t+n/2,i=r*2,a=2*Math.PI*t,u=a-e/100*a;return d.jsxs("div",{style:{width:i,height:i},className:In.progress,children:[d.jsxs("svg",{"aria-hidden":"true",width:i,height:i,children:[d.jsx("circle",{cx:r,cy:r,r:t,fill:"transparent",className:In.progressBackground,strokeWidth:n}),d.jsx("circle",{cx:r,cy:r,r:t,fill:"transparent",strokeWidth:n,strokeDasharray:`${a} ${a}`,strokeDashoffset:u,className:In.progressForeground})]}),d.jsxs("span",{className:ge(In.progressText,{[In.progressTextStart]:e!==0}),id:"md",children:[Math.min(e,100),"%"]})]})},Tu=e=>{switch(e.rewardRule.rewardType){case Ma.Balance:return`${Dn(e.rewardRule.rewardOptions.balance)} on the balance`;case Ma.Product:return`products: ${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},X1=e=>{switch(e.rewardRule.rewardType){case Ma.Balance:return Dn(e.rewardRule.rewardOptions.balance);case Ma.Product:return`${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},HT=e=>{switch(e.rewardRule.ruleType){case Zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} in total purchases at our store to receive a reward of ${Tu(e)}. You've spent $${e.progress} so far.`;case Zn.Order:return`Place ${e.rewardRule.ruleOptions.ordersCount} orders to receive a reward of ${Tu(e)}. You've made ${e.progress} orders so far.`;case Zn.Referral:return`On your referral link should sign up ${e.rewardRule.ruleOptions.minReferrals} people and make at least ${e.rewardRule.ruleOptions.minCompletedOrders} purchase to receive a reward of ${Tu(e)}. You've referred ${e.progress} friends so far.`;case Zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars} to receive a reward of ${Tu(e)}. You've left ${e.progress} reviews so far.`}},jT=e=>{switch(e.rewardRule.ruleType){case Zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} at our store`;case Zn.Order:return`Make ${e.rewardRule.ruleOptions.ordersCount} orders`;case Zn.Referral:return`Refer ${e.rewardRule.ruleOptions.minReferrals} friends to our store`;case Zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars}`}},UT=e=>[jT(e),HT(e)],VT=e=>{let t;switch(e.rewardRule.ruleType){case Zn.Spend:t=e.rewardRule.ruleOptions.forEach;break;case Zn.Order:t=e.rewardRule.ruleOptions.ordersCount;break;case Zn.Referral:t=e.rewardRule.ruleOptions.minReferrals;break;case Zn.Review:t=e.rewardRule.ruleOptions.minReviews;break}return[Math.round((e.progress/t*100+Number.EPSILON)*100)/100,e.progress,t]},zT="_appContainer_1bj0v_1",$T="_noAnimation_1bj0v_11",qT="_mobile_1bj0v_19",WT="_appContainerAntistock_1bj0v_28",GT="_contentContainer_1bj0v_44",ZT="_contentContainerAntistock_1bj0v_64",No={appContainer:zT,noAnimation:$T,mobile:qT,appContainerAntistock:WT,contentContainer:GT,contentContainerAntistock:ZT},YT="_wrapper_ysrl4_1",XT="_tableContainer_ysrl4_6",KT="_ticketsTable_ysrl4_19",JT="_tableItem_ysrl4_37",QT="_tableLoader_ysrl4_41",io={wrapper:YT,tableContainer:XT,ticketsTable:KT,tableItem:JT,tableLoader:QT},ew=async(e=1)=>{try{return await FE({PageNumber:e})}catch(t){return console.error("Failed to fetch tickets:",t),{list:[],totalCount:0}}},um=()=>{const[e,t]=k.useState(null),{page:n,setPage:r}=Xo(),[i,a]=k.useState(!0),[u,s]=k.useState(0);k.useEffect(()=>{(async()=>{a(!0);const{list:f,totalCount:h}=await ew(n);t(f),s(h),a(!1)})()},[n]);const c=!i&&e;return c&&e.length===0?d.jsx(nu,{title:"Tickets",description:"You don't have any tickets yet. If you contact support, tickets will be displayed here.",centered:!0}):d.jsxs("div",{className:io.wrapper,children:[d.jsx(tu,{title:"Tickets"}),d.jsxs("div",{className:io.tableContainer,children:[d.jsxs(Gd,{className:io.ticketsTable,children:[d.jsx(yn,{className:io.tableItem,children:"TICKET ID"}),d.jsx(yn,{className:io.tableItem,children:"LAST MESSAGE"}),d.jsx(yn,{className:io.tableItem,children:"CREATED"}),d.jsx(yn,{className:io.tableItem,children:"STATUS"}),c&&(e==null?void 0:e.map(l=>d.jsx(Sz,{item:l},l.id)))]}),!c&&d.jsx("div",{className:io.tableLoader,children:d.jsx(Nn,{})}),c&&d.jsx(qs,{currentPage:n,totalCount:u,onPageChange:r})]})]})};var Hl={exports:{}},wu={exports:{}},tt={};/** @license React v16.13.1
87
87
  * react-is.production.min.js
88
88
  *
89
89
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -121,10 +121,10 @@ Valid keys: `+JSON.stringify(Object.keys(w),null," "));var J=Ue(Ce,ce,X,se,ee+"
121
121
  --nojs-bg: black !important;
122
122
  --nojs-fg: white !important;
123
123
  }
124
- }`;const Ww="_authContainer_1uyf7_2",Gw="_authWrapper_1uyf7_12",Zw="_inModal_1uyf7_19",Yw="_formHeaderTitle_1uyf7_26",Xw="_formHeaderSubtitle_1uyf7_33",Kw="_formLabel_1uyf7_39",Jw="_formError_1uyf7_51",Qw="_submitButton_1uyf7_57",eA="_submitButtonAntistock_1uyf7_57",tA="_backButton_1uyf7_67",nA="_otpContainer_1uyf7_78",rA="_otpSlots_1uyf7_85",oA="_otpSlot_1uyf7_85",iA="_active_1uyf7_108",aA="_otpSlotEmpty_1uyf7_113",uA="_actionRow_1uyf7_117",sA="_authForm_1uyf7_124",cA="_formHeader_1uyf7_26",lA="_input_1uyf7_135",vt={authContainer:Ww,authWrapper:Gw,inModal:Zw,formHeaderTitle:Yw,formHeaderSubtitle:Xw,formLabel:Kw,formError:Jw,submitButton:Qw,submitButtonAntistock:eA,backButton:tA,otpContainer:nA,otpSlots:rA,otpSlot:oA,active:iA,otpSlotEmpty:aA,actionRow:uA,authForm:sA,formHeader:cA,input:lA},dA=k.forwardRef(({value:e,onChange:t,onComplete:n},r)=>d.jsx(gm,{ref:r,value:e,onChange:t,onComplete:n,maxLength:6,containerClassName:vt.otpContainer,render:({slots:i})=>d.jsx("div",{className:vt.otpSlots,children:i.map(a=>d.jsx(fA,{...a},crypto.randomUUID()))})}));function fA({char:e,isActive:t}){return d.jsx("div",{className:ge(vt.otpSlot,{[vt.active]:t}),children:e?d.jsx("div",{children:e}):d.jsx("div",{className:vt.otpSlotEmpty,children:"0"})})}const hA=e=>{const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return e.trim()?t.test(e)?null:"Please enter a valid email.":"The email field cannot be empty."},pA=e=>/^[0-9]{6}$/.test(e)?null:"Invalid verification code. The code should be a six-digit number. Please try again",bm=({title:e,subtitle:t,isAntistock:n})=>d.jsxs("div",{className:vt.formHeader,style:{textAlign:n?"center":void 0},children:[d.jsx("h3",{id:"h3",className:vt.formHeaderTitle,children:e}),t?d.jsx("div",{className:vt.formHeaderSubtitle,children:t}):null]}),Cm=({error:e})=>e?d.jsx("div",{className:vt.formError,children:e}):null,mA=()=>{const[e,t]=k.useState(""),[n,r]=k.useState(null),[i,a]=k.useState(!1),{executeRecaptcha:u}=Wd(),{setOtpRequest:s}=sr(),{isAntistock:c}=gt(),l=async f=>{f.preventDefault(),r(null);const h=hA(e);if(h){r(h);return}a(!0);try{const g=await u();if(!g)throw new Error("ReCaptcha verification failed");await j2({email:e,recaptcha:g,tsId:xo()}),s({requested:!0,email:e})}catch{r("Failed to request OTP. Please try again.")}finally{a(!1)}};return d.jsxs("form",{onSubmit:l,className:vt.authForm,children:[d.jsx(bm,{title:c?"My Account":"Sign In",subtitle:c?"":"To continue, enter your email address below.",isAntistock:c}),d.jsxs("div",{className:vt.input,children:[d.jsx(Zo,{label:c?"Email":"Email Address",placeholder:"your@email.com",value:e,onChange:f=>{t(f),r(null)}}),d.jsx(Cm,{error:n})]}),d.jsx(wt,{type:"Primary",className:c?vt.submitButtonAntistock:vt.submitButton,disabled:i,children:i?c?d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[d.jsx(Nn,{}),d.jsx("span",{children:"Continue"})]}):d.jsx(Nn,{}):c?"Continue":"Sign In"}),d.jsx("span",{style:{color:"var(--text-secondary)",paddingTop:"8px",fontSize:"var(--font-body-md-size)",textAlign:"center"},children:"You will receive a 6-digit account code via email."})]})},gA=({onSignIn:e})=>{const{otpRequest:t,setOtpRequest:n}=sr(),{isAntistock:r}=gt(),[i,a]=k.useState(""),[u,s]=k.useState(null),[c,l]=k.useState(!1),{executeRecaptcha:f}=Wd(),h=async()=>{s(null);const m=pA(i);if(m){s(m);return}l(!0);try{const b=await f();if(!b)throw new Error("ReCaptcha verification failed");await U2({email:t.email,otp:i,recaptcha:b||"",tsId:xo()}),e&&e()}catch{s("Invalid OTP. Please try again.")}finally{l(!1)}},g=()=>n({requested:!1,email:""});return d.jsxs("form",{onSubmit:h,className:vt.authForm,children:[d.jsx(bm,{title:"Check Your Email",subtitle:`Enter the 6-digit code we sent to ${t.email}`,isAntistock:r}),d.jsxs("label",{className:vt.formLabel,children:["Code",d.jsx(dA,{onChange:m=>{a(m),s(null)},value:i,onComplete:h})]}),d.jsx(Cm,{error:u}),d.jsxs("div",{className:vt.actionRow,children:[d.jsx(wt,{onClick:g,type:"Secondary",className:vt.backButton,children:"Back"}),d.jsx(wt,{type:"Primary",className:r?vt.submitButtonAntistock:vt.submitButton,disabled:c,children:c?d.jsx(Nn,{}):r?"Continue":"Sign In"})]})]})},Im=({inModal:e,onSignIn:t})=>{const{otpRequest:n,setOtpRequest:r}=sr();return k.useEffect(()=>{n.requested&&r({requested:!1,email:""})},[]),d.jsx("div",{className:vt.authContainer,children:n?d.jsx("div",{className:ge(vt.authWrapper,e&&vt.inModal),children:n.requested?d.jsx(gA,{onSignIn:t}):d.jsx(mA,{})}):d.jsx(Nn,{})})},bA=async(e=1)=>await NE({PageNumber:e}),CA=()=>{const[e,t]=k.useState(null),[n,r]=k.useState(0),{page:i,setPage:a}=Xo(),{gatewaysDetail:u,setGatewaysDetail:s,balanceSettings:c}=sr();return k.useEffect(()=>{const l=async()=>{const{list:h,totalCount:g}=await bA(i);t(h),r(g)},f=async()=>{const h=await eu(c!=null&&c.isEnabled?(c==null?void 0:c.topUpSettings.gateways)||[]:[]);s(h)};l(),u||f()},[i]),d.jsx(d.Fragment,{children:e&&e.length===0?d.jsx(nu,{title:"Subscriptions History",description:"When you subscribe to a product on our website, you'll see a history of your subscriptions here."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Subscriptions"}),d.jsx(Zz,{subscriptions:e,gatewaysDetail:u,totalCount:n,page:i,setPage:a})]})})},IA={[Vt.Home]:om,[Vt.Orders]:im,[Vt.Rewards]:am,[Vt.Balance]:nm,[Vt.Subscriptions]:CA,[Vt.Tickets]:um},yA={[Vt.Home]:om,[Vt.Orders]:im,[Vt.Rewards]:am,[Vt.Balance]:nm,[Vt.Tickets]:um},EA=()=>{const{route:e,setRoute:t}=sr(),{resetPage:n}=Xo(),{token:r}=Ao(),{isAntistock:i}=gt(),a=i?yA[e]:IA[e];return k.useEffect(()=>{n()},[e,n]),k.useEffect(()=>{window.location.pathname.includes("/ticket")&&t(Vt.Tickets)},[window.location.pathname]),r?d.jsx("div",{style:{maxWidth:"var(--max-width-store)",margin:"0 auto",height:"100%"},children:d.jsx(q2,{notPadding:!0,style:{height:"100%"},maxWidth:"var(--max-width-store)",children:u=>d.jsxs("main",{className:ge(No.appContainer,{[No.mobile]:u!=="desktop",[No.noAnimation]:i,[No.appContainerAntistock]:i}),children:[d.jsx(g_,{adaptiveStyles:u}),d.jsx("div",{className:ge(No.contentContainer,{[No.mobile]:u!=="desktop",[No.contentContainerAntistock]:i}),children:d.jsx(a,{adaptiveStyles:u})})]})})}):d.jsx(Im,{})},SA=()=>d.jsx(fm,{children:d.jsx(EA,{})}),xA="_referralBlock_kla2r_2",_A="_skeleton_kla2r_3",TA="_mobile_kla2r_13",wA="_referralContainer_kla2r_18",AA="_title_kla2r_30",kA="_description_kla2r_36",vA="_linkContainer_kla2r_56",LA="_modalContainer_kla2r_77",DA="_steps_kla2r_86",NA="_joinButton_kla2r_92",RA="_stepItem_kla2r_97",PA="_iconContainer_kla2r_103",OA="_index_kla2r_111",MA="_bar_kla2r_123",FA="_content_kla2r_130",BA="_caption_kla2r_135",HA="_descriptionStep_kla2r_141",jA="_error_kla2r_151",UA="_infoBlock_kla2r_155",VA="_infoIcon_kla2r_164",zA="_infoText_kla2r_173",$A="_actions_kla2r_178",qA="_cancelButton_kla2r_183",WA="_referralStats_kla2r_187",GA="_referralInfo_kla2r_204",ZA="_referralStatsItem_kla2r_210",YA="_referralStatsItemValue_kla2r_220",XA="_referralStatsItemLabel_kla2r_225",KA="_referral_kla2r_2",JA="_header_kla2r_244",QA="_contentModal_kla2r_254",Oe={referralBlock:xA,skeleton:_A,mobile:TA,referralContainer:wA,title:AA,description:kA,linkContainer:vA,modalContainer:LA,steps:DA,joinButton:NA,stepItem:RA,iconContainer:PA,index:OA,bar:MA,content:FA,caption:BA,descriptionStep:HA,error:jA,infoBlock:UA,infoIcon:VA,infoText:zA,actions:$A,cancelButton:qA,referralStats:WA,referralInfo:GA,referralStatsItem:ZA,referralStatsItemValue:YA,referralStatsItemLabel:XA,referral:KA,header:JA,contentModal:QA},ek=({caption:e,description:t,index:n,bar:r=!0})=>d.jsxs("div",{className:Oe.stepItem,children:[d.jsxs("div",{className:Oe.iconContainer,children:[d.jsx("div",{className:Oe.index,children:n}),r&&d.jsx("div",{className:Oe.bar})]}),d.jsxs("div",{className:Oe.content,children:[d.jsx("div",{className:Oe.caption,children:e}),d.jsx("div",{className:Oe.descriptionStep,children:t})]})]}),tk=({setIsOpen:e,setIsLoading:t})=>{const[n,r]=k.useState(""),[i,a]=k.useState(""),{notifications:u,setNotifications:s}=fn(),{setIsOpen:c}=eo(),l=async h=>{if(h.preventDefault(),n.length<3){a("Referral Code should have minimum length of 3");return}t(!0),f();try{await zE({referralCode:n}),s([...u,{message:"Referral Code has been applied",status:"success",id:mt()}])}catch(g){const m=g;s([...u,{message:m.message,status:"error",id:mt()}])}t(!1),e(!1),r(""),a("")},f=()=>{c(!1),setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{onClick:h=>h.stopPropagation(),className:Oe.modalContainer,children:[d.jsxs("div",{className:Oe.header,children:[d.jsx("div",{id:"h3",children:"Create an affiliate code"}),d.jsx(ie,{name:"X",onClick:f,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:Oe.contentModal,children:[d.jsx(Zo,{value:n,onChange:h=>r(h),placeholder:"Enter code here (e.g., Join)",label:"Affiliate Code"}),i&&d.jsx("div",{className:Oe.error,children:i}),d.jsxs("div",{className:Oe.infoBlock,children:[d.jsx("div",{className:Oe.infoIcon,children:d.jsx(ie,{name:"Info"})}),d.jsx("div",{className:Oe.infoText,children:"Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue."})]}),d.jsxs("div",{className:Oe.actions,children:[d.jsx(wt,{type:"Secondary",className:Oe.cancelButton,onClick:f,children:"Cancel"}),d.jsx(wt,{type:"Primary",onClick:l,children:"Create"})]})]})]})},ku=()=>d.jsx("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:d.jsxs("svg",{width:"100%",height:"64",viewBox:"0 0 208 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_2098_5511)",children:[d.jsx("mask",{id:"path-1-inside-1_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 0H208V16H0V0Z"})}),d.jsx("path",{d:"M208 16.5C208.276 16.5 208.5 16.2761 208.5 16C208.5 15.7239 208.276 15.5 208 15.5V16.5ZM0 15.5C-0.276142 15.5 -0.5 15.7239 -0.5 16C-0.5 16.2761 -0.276142 16.5 0 16.5V15.5ZM4 16.5C4.27614 16.5 4.5 16.2761 4.5 16C4.5 15.7239 4.27614 15.5 4 15.5V16.5ZM12 15.5C11.7239 15.5 11.5 15.7239 11.5 16C11.5 16.2761 11.7239 16.5 12 16.5V15.5ZM20 16.5C20.2761 16.5 20.5 16.2761 20.5 16C20.5 15.7239 20.2761 15.5 20 15.5V16.5ZM28 15.5C27.7239 15.5 27.5 15.7239 27.5 16C27.5 16.2761 27.7239 16.5 28 16.5V15.5ZM36 16.5C36.2761 16.5 36.5 16.2761 36.5 16C36.5 15.7239 36.2761 15.5 36 15.5V16.5ZM44 15.5C43.7239 15.5 43.5 15.7239 43.5 16C43.5 16.2761 43.7239 16.5 44 16.5V15.5ZM52 16.5C52.2761 16.5 52.5 16.2761 52.5 16C52.5 15.7239 52.2761 15.5 52 15.5V16.5ZM60 15.5C59.7239 15.5 59.5 15.7239 59.5 16C59.5 16.2761 59.7239 16.5 60 16.5V15.5ZM68 16.5C68.2761 16.5 68.5 16.2761 68.5 16C68.5 15.7239 68.2761 15.5 68 15.5V16.5ZM76 15.5C75.7239 15.5 75.5 15.7239 75.5 16C75.5 16.2761 75.7239 16.5 76 16.5V15.5ZM84 16.5C84.2761 16.5 84.5 16.2761 84.5 16C84.5 15.7239 84.2761 15.5 84 15.5V16.5ZM92 15.5C91.7239 15.5 91.5 15.7239 91.5 16C91.5 16.2761 91.7239 16.5 92 16.5V15.5ZM100 16.5C100.276 16.5 100.5 16.2761 100.5 16C100.5 15.7239 100.276 15.5 100 15.5V16.5ZM108 15.5C107.724 15.5 107.5 15.7239 107.5 16C107.5 16.2761 107.724 16.5 108 16.5V15.5ZM116 16.5C116.276 16.5 116.5 16.2761 116.5 16C116.5 15.7239 116.276 15.5 116 15.5V16.5ZM124 15.5C123.724 15.5 123.5 15.7239 123.5 16C123.5 16.2761 123.724 16.5 124 16.5V15.5ZM132 16.5C132.276 16.5 132.5 16.2761 132.5 16C132.5 15.7239 132.276 15.5 132 15.5V16.5ZM140 15.5C139.724 15.5 139.5 15.7239 139.5 16C139.5 16.2761 139.724 16.5 140 16.5V15.5ZM148 16.5C148.276 16.5 148.5 16.2761 148.5 16C148.5 15.7239 148.276 15.5 148 15.5V16.5ZM156 15.5C155.724 15.5 155.5 15.7239 155.5 16C155.5 16.2761 155.724 16.5 156 16.5V15.5ZM164 16.5C164.276 16.5 164.5 16.2761 164.5 16C164.5 15.7239 164.276 15.5 164 15.5V16.5ZM172 15.5C171.724 15.5 171.5 15.7239 171.5 16C171.5 16.2761 171.724 16.5 172 16.5V15.5ZM180 16.5C180.276 16.5 180.5 16.2761 180.5 16C180.5 15.7239 180.276 15.5 180 15.5V16.5ZM188 15.5C187.724 15.5 187.5 15.7239 187.5 16C187.5 16.2761 187.724 16.5 188 16.5V15.5ZM196 16.5C196.276 16.5 196.5 16.2761 196.5 16C196.5 15.7239 196.276 15.5 196 15.5V16.5ZM204 15.5C203.724 15.5 203.5 15.7239 203.5 16C203.5 16.2761 203.724 16.5 204 16.5V15.5ZM0 16.5H4V15.5H0V16.5ZM12 16.5H20V15.5H12V16.5ZM28 16.5H36V15.5H28V16.5ZM44 16.5H52V15.5H44V16.5ZM60 16.5H68V15.5H60V16.5ZM76 16.5H84V15.5H76V16.5ZM92 16.5H100V15.5H92V16.5ZM108 16.5H116V15.5H108V16.5ZM124 16.5H132V15.5H124V16.5ZM140 16.5H148V15.5H140V16.5ZM156 16.5H164V15.5H156V16.5ZM172 16.5H180V15.5H172V16.5ZM188 16.5H196V15.5H188V16.5ZM204 16.5H208V15.5H204V16.5ZM208 17C208.552 17 209 16.5523 209 16C209 15.4477 208.552 15 208 15V17ZM0 15C-0.552285 15 -1 15.4477 -1 16C-1 16.5523 -0.552285 17 0 17V15ZM4 17C4.55228 17 5 16.5523 5 16C5 15.4477 4.55228 15 4 15V17ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17V15ZM20 17C20.5523 17 21 16.5523 21 16C21 15.4477 20.5523 15 20 15V17ZM28 15C27.4477 15 27 15.4477 27 16C27 16.5523 27.4477 17 28 17V15ZM36 17C36.5523 17 37 16.5523 37 16C37 15.4477 36.5523 15 36 15V17ZM44 15C43.4477 15 43 15.4477 43 16C43 16.5523 43.4477 17 44 17V15ZM52 17C52.5523 17 53 16.5523 53 16C53 15.4477 52.5523 15 52 15V17ZM60 15C59.4477 15 59 15.4477 59 16C59 16.5523 59.4477 17 60 17V15ZM68 17C68.5523 17 69 16.5523 69 16C69 15.4477 68.5523 15 68 15V17ZM76 15C75.4477 15 75 15.4477 75 16C75 16.5523 75.4477 17 76 17V15ZM84 17C84.5523 17 85 16.5523 85 16C85 15.4477 84.5523 15 84 15V17ZM92 15C91.4477 15 91 15.4477 91 16C91 16.5523 91.4477 17 92 17V15ZM100 17C100.552 17 101 16.5523 101 16C101 15.4477 100.552 15 100 15V17ZM108 15C107.448 15 107 15.4477 107 16C107 16.5523 107.448 17 108 17V15ZM116 17C116.552 17 117 16.5523 117 16C117 15.4477 116.552 15 116 15V17ZM124 15C123.448 15 123 15.4477 123 16C123 16.5523 123.448 17 124 17V15ZM132 17C132.552 17 133 16.5523 133 16C133 15.4477 132.552 15 132 15V17ZM140 15C139.448 15 139 15.4477 139 16C139 16.5523 139.448 17 140 17V15ZM148 17C148.552 17 149 16.5523 149 16C149 15.4477 148.552 15 148 15V17ZM156 15C155.448 15 155 15.4477 155 16C155 16.5523 155.448 17 156 17V15ZM164 17C164.552 17 165 16.5523 165 16C165 15.4477 164.552 15 164 15V17ZM172 15C171.448 15 171 15.4477 171 16C171 16.5523 171.448 17 172 17V15ZM180 17C180.552 17 181 16.5523 181 16C181 15.4477 180.552 15 180 15V17ZM188 15C187.448 15 187 15.4477 187 16C187 16.5523 187.448 17 188 17V15ZM196 17C196.552 17 197 16.5523 197 16C197 15.4477 196.552 15 196 15V17ZM204 15C203.448 15 203 15.4477 203 16C203 16.5523 203.448 17 204 17V15ZM0 17H4V15H0V17ZM12 17H20V15H12V17ZM28 17H36V15H28V17ZM44 17H52V15H44V17ZM60 17H68V15H60V17ZM76 17H84V15H76V17ZM92 17H100V15H92V17ZM108 17H116V15H108V17ZM124 17H132V15H124V17ZM140 17H148V15H140V17ZM156 17H164V15H156V17ZM172 17H180V15H172V17ZM188 17H196V15H188V17ZM204 17H208V15H204V17Z",fill:"#F8F8F8",mask:"url(#path-1-inside-1_2098_5511)"}),d.jsx("mask",{id:"path-3-inside-2_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 16H208V32H0V16Z"})}),d.jsx("path",{d:"M208 32.5C208.276 32.5 208.5 32.2761 208.5 32C208.5 31.7239 208.276 31.5 208 31.5V32.5ZM0 31.5C-0.276142 31.5 -0.5 31.7239 -0.5 32C-0.5 32.2761 -0.276142 32.5 0 32.5V31.5ZM4 32.5C4.27614 32.5 4.5 32.2761 4.5 32C4.5 31.7239 4.27614 31.5 4 31.5V32.5ZM12 31.5C11.7239 31.5 11.5 31.7239 11.5 32C11.5 32.2761 11.7239 32.5 12 32.5V31.5ZM20 32.5C20.2761 32.5 20.5 32.2761 20.5 32C20.5 31.7239 20.2761 31.5 20 31.5V32.5ZM28 31.5C27.7239 31.5 27.5 31.7239 27.5 32C27.5 32.2761 27.7239 32.5 28 32.5V31.5ZM36 32.5C36.2761 32.5 36.5 32.2761 36.5 32C36.5 31.7239 36.2761 31.5 36 31.5V32.5ZM44 31.5C43.7239 31.5 43.5 31.7239 43.5 32C43.5 32.2761 43.7239 32.5 44 32.5V31.5ZM52 32.5C52.2761 32.5 52.5 32.2761 52.5 32C52.5 31.7239 52.2761 31.5 52 31.5V32.5ZM60 31.5C59.7239 31.5 59.5 31.7239 59.5 32C59.5 32.2761 59.7239 32.5 60 32.5V31.5ZM68 32.5C68.2761 32.5 68.5 32.2761 68.5 32C68.5 31.7239 68.2761 31.5 68 31.5V32.5ZM76 31.5C75.7239 31.5 75.5 31.7239 75.5 32C75.5 32.2761 75.7239 32.5 76 32.5V31.5ZM84 32.5C84.2761 32.5 84.5 32.2761 84.5 32C84.5 31.7239 84.2761 31.5 84 31.5V32.5ZM92 31.5C91.7239 31.5 91.5 31.7239 91.5 32C91.5 32.2761 91.7239 32.5 92 32.5V31.5ZM100 32.5C100.276 32.5 100.5 32.2761 100.5 32C100.5 31.7239 100.276 31.5 100 31.5V32.5ZM108 31.5C107.724 31.5 107.5 31.7239 107.5 32C107.5 32.2761 107.724 32.5 108 32.5V31.5ZM116 32.5C116.276 32.5 116.5 32.2761 116.5 32C116.5 31.7239 116.276 31.5 116 31.5V32.5ZM124 31.5C123.724 31.5 123.5 31.7239 123.5 32C123.5 32.2761 123.724 32.5 124 32.5V31.5ZM132 32.5C132.276 32.5 132.5 32.2761 132.5 32C132.5 31.7239 132.276 31.5 132 31.5V32.5ZM140 31.5C139.724 31.5 139.5 31.7239 139.5 32C139.5 32.2761 139.724 32.5 140 32.5V31.5ZM148 32.5C148.276 32.5 148.5 32.2761 148.5 32C148.5 31.7239 148.276 31.5 148 31.5V32.5ZM156 31.5C155.724 31.5 155.5 31.7239 155.5 32C155.5 32.2761 155.724 32.5 156 32.5V31.5ZM164 32.5C164.276 32.5 164.5 32.2761 164.5 32C164.5 31.7239 164.276 31.5 164 31.5V32.5ZM172 31.5C171.724 31.5 171.5 31.7239 171.5 32C171.5 32.2761 171.724 32.5 172 32.5V31.5ZM180 32.5C180.276 32.5 180.5 32.2761 180.5 32C180.5 31.7239 180.276 31.5 180 31.5V32.5ZM188 31.5C187.724 31.5 187.5 31.7239 187.5 32C187.5 32.2761 187.724 32.5 188 32.5V31.5ZM196 32.5C196.276 32.5 196.5 32.2761 196.5 32C196.5 31.7239 196.276 31.5 196 31.5V32.5ZM204 31.5C203.724 31.5 203.5 31.7239 203.5 32C203.5 32.2761 203.724 32.5 204 32.5V31.5ZM0 32.5H4V31.5H0V32.5ZM12 32.5H20V31.5H12V32.5ZM28 32.5H36V31.5H28V32.5ZM44 32.5H52V31.5H44V32.5ZM60 32.5H68V31.5H60V32.5ZM76 32.5H84V31.5H76V32.5ZM92 32.5H100V31.5H92V32.5ZM108 32.5H116V31.5H108V32.5ZM124 32.5H132V31.5H124V32.5ZM140 32.5H148V31.5H140V32.5ZM156 32.5H164V31.5H156V32.5ZM172 32.5H180V31.5H172V32.5ZM188 32.5H196V31.5H188V32.5ZM204 32.5H208V31.5H204V32.5ZM208 33C208.552 33 209 32.5523 209 32C209 31.4477 208.552 31 208 31V33ZM0 31C-0.552285 31 -1 31.4477 -1 32C-1 32.5523 -0.552285 33 0 33V31ZM4 33C4.55228 33 5 32.5523 5 32C5 31.4477 4.55228 31 4 31V33ZM12 31C11.4477 31 11 31.4477 11 32C11 32.5523 11.4477 33 12 33V31ZM20 33C20.5523 33 21 32.5523 21 32C21 31.4477 20.5523 31 20 31V33ZM28 31C27.4477 31 27 31.4477 27 32C27 32.5523 27.4477 33 28 33V31ZM36 33C36.5523 33 37 32.5523 37 32C37 31.4477 36.5523 31 36 31V33ZM44 31C43.4477 31 43 31.4477 43 32C43 32.5523 43.4477 33 44 33V31ZM52 33C52.5523 33 53 32.5523 53 32C53 31.4477 52.5523 31 52 31V33ZM60 31C59.4477 31 59 31.4477 59 32C59 32.5523 59.4477 33 60 33V31ZM68 33C68.5523 33 69 32.5523 69 32C69 31.4477 68.5523 31 68 31V33ZM76 31C75.4477 31 75 31.4477 75 32C75 32.5523 75.4477 33 76 33V31ZM84 33C84.5523 33 85 32.5523 85 32C85 31.4477 84.5523 31 84 31V33ZM92 31C91.4477 31 91 31.4477 91 32C91 32.5523 91.4477 33 92 33V31ZM100 33C100.552 33 101 32.5523 101 32C101 31.4477 100.552 31 100 31V33ZM108 31C107.448 31 107 31.4477 107 32C107 32.5523 107.448 33 108 33V31ZM116 33C116.552 33 117 32.5523 117 32C117 31.4477 116.552 31 116 31V33ZM124 31C123.448 31 123 31.4477 123 32C123 32.5523 123.448 33 124 33V31ZM132 33C132.552 33 133 32.5523 133 32C133 31.4477 132.552 31 132 31V33ZM140 31C139.448 31 139 31.4477 139 32C139 32.5523 139.448 33 140 33V31ZM148 33C148.552 33 149 32.5523 149 32C149 31.4477 148.552 31 148 31V33ZM156 31C155.448 31 155 31.4477 155 32C155 32.5523 155.448 33 156 33V31ZM164 33C164.552 33 165 32.5523 165 32C165 31.4477 164.552 31 164 31V33ZM172 31C171.448 31 171 31.4477 171 32C171 32.5523 171.448 33 172 33V31ZM180 33C180.552 33 181 32.5523 181 32C181 31.4477 180.552 31 180 31V33ZM188 31C187.448 31 187 31.4477 187 32C187 32.5523 187.448 33 188 33V31ZM196 33C196.552 33 197 32.5523 197 32C197 31.4477 196.552 31 196 31V33ZM204 31C203.448 31 203 31.4477 203 32C203 32.5523 203.448 33 204 33V31ZM0 33H4V31H0V33ZM12 33H20V31H12V33ZM28 33H36V31H28V33ZM44 33H52V31H44V33ZM60 33H68V31H60V33ZM76 33H84V31H76V33ZM92 33H100V31H92V33ZM108 33H116V31H108V33ZM124 33H132V31H124V33ZM140 33H148V31H140V33ZM156 33H164V31H156V33ZM172 33H180V31H172V33ZM188 33H196V31H188V33ZM204 33H208V31H204V33Z",fill:"#F8F8F8",mask:"url(#path-3-inside-2_2098_5511)"}),d.jsx("mask",{id:"path-5-inside-3_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 32H208V48H0V32Z"})}),d.jsx("path",{d:"M208 48.5C208.276 48.5 208.5 48.2761 208.5 48C208.5 47.7239 208.276 47.5 208 47.5V48.5ZM0 47.5C-0.276142 47.5 -0.5 47.7239 -0.5 48C-0.5 48.2761 -0.276142 48.5 0 48.5V47.5ZM4 48.5C4.27614 48.5 4.5 48.2761 4.5 48C4.5 47.7239 4.27614 47.5 4 47.5V48.5ZM12 47.5C11.7239 47.5 11.5 47.7239 11.5 48C11.5 48.2761 11.7239 48.5 12 48.5V47.5ZM20 48.5C20.2761 48.5 20.5 48.2761 20.5 48C20.5 47.7239 20.2761 47.5 20 47.5V48.5ZM28 47.5C27.7239 47.5 27.5 47.7239 27.5 48C27.5 48.2761 27.7239 48.5 28 48.5V47.5ZM36 48.5C36.2761 48.5 36.5 48.2761 36.5 48C36.5 47.7239 36.2761 47.5 36 47.5V48.5ZM44 47.5C43.7239 47.5 43.5 47.7239 43.5 48C43.5 48.2761 43.7239 48.5 44 48.5V47.5ZM52 48.5C52.2761 48.5 52.5 48.2761 52.5 48C52.5 47.7239 52.2761 47.5 52 47.5V48.5ZM60 47.5C59.7239 47.5 59.5 47.7239 59.5 48C59.5 48.2761 59.7239 48.5 60 48.5V47.5ZM68 48.5C68.2761 48.5 68.5 48.2761 68.5 48C68.5 47.7239 68.2761 47.5 68 47.5V48.5ZM76 47.5C75.7239 47.5 75.5 47.7239 75.5 48C75.5 48.2761 75.7239 48.5 76 48.5V47.5ZM84 48.5C84.2761 48.5 84.5 48.2761 84.5 48C84.5 47.7239 84.2761 47.5 84 47.5V48.5ZM92 47.5C91.7239 47.5 91.5 47.7239 91.5 48C91.5 48.2761 91.7239 48.5 92 48.5V47.5ZM100 48.5C100.276 48.5 100.5 48.2761 100.5 48C100.5 47.7239 100.276 47.5 100 47.5V48.5ZM108 47.5C107.724 47.5 107.5 47.7239 107.5 48C107.5 48.2761 107.724 48.5 108 48.5V47.5ZM116 48.5C116.276 48.5 116.5 48.2761 116.5 48C116.5 47.7239 116.276 47.5 116 47.5V48.5ZM124 47.5C123.724 47.5 123.5 47.7239 123.5 48C123.5 48.2761 123.724 48.5 124 48.5V47.5ZM132 48.5C132.276 48.5 132.5 48.2761 132.5 48C132.5 47.7239 132.276 47.5 132 47.5V48.5ZM140 47.5C139.724 47.5 139.5 47.7239 139.5 48C139.5 48.2761 139.724 48.5 140 48.5V47.5ZM148 48.5C148.276 48.5 148.5 48.2761 148.5 48C148.5 47.7239 148.276 47.5 148 47.5V48.5ZM156 47.5C155.724 47.5 155.5 47.7239 155.5 48C155.5 48.2761 155.724 48.5 156 48.5V47.5ZM164 48.5C164.276 48.5 164.5 48.2761 164.5 48C164.5 47.7239 164.276 47.5 164 47.5V48.5ZM172 47.5C171.724 47.5 171.5 47.7239 171.5 48C171.5 48.2761 171.724 48.5 172 48.5V47.5ZM180 48.5C180.276 48.5 180.5 48.2761 180.5 48C180.5 47.7239 180.276 47.5 180 47.5V48.5ZM188 47.5C187.724 47.5 187.5 47.7239 187.5 48C187.5 48.2761 187.724 48.5 188 48.5V47.5ZM196 48.5C196.276 48.5 196.5 48.2761 196.5 48C196.5 47.7239 196.276 47.5 196 47.5V48.5ZM204 47.5C203.724 47.5 203.5 47.7239 203.5 48C203.5 48.2761 203.724 48.5 204 48.5V47.5ZM0 48.5H4V47.5H0V48.5ZM12 48.5H20V47.5H12V48.5ZM28 48.5H36V47.5H28V48.5ZM44 48.5H52V47.5H44V48.5ZM60 48.5H68V47.5H60V48.5ZM76 48.5H84V47.5H76V48.5ZM92 48.5H100V47.5H92V48.5ZM108 48.5H116V47.5H108V48.5ZM124 48.5H132V47.5H124V48.5ZM140 48.5H148V47.5H140V48.5ZM156 48.5H164V47.5H156V48.5ZM172 48.5H180V47.5H172V48.5ZM188 48.5H196V47.5H188V48.5ZM204 48.5H208V47.5H204V48.5ZM208 49C208.552 49 209 48.5523 209 48C209 47.4477 208.552 47 208 47V49ZM0 47C-0.552285 47 -1 47.4477 -1 48C-1 48.5523 -0.552285 49 0 49V47ZM4 49C4.55228 49 5 48.5523 5 48C5 47.4477 4.55228 47 4 47V49ZM12 47C11.4477 47 11 47.4477 11 48C11 48.5523 11.4477 49 12 49V47ZM20 49C20.5523 49 21 48.5523 21 48C21 47.4477 20.5523 47 20 47V49ZM28 47C27.4477 47 27 47.4477 27 48C27 48.5523 27.4477 49 28 49V47ZM36 49C36.5523 49 37 48.5523 37 48C37 47.4477 36.5523 47 36 47V49ZM44 47C43.4477 47 43 47.4477 43 48C43 48.5523 43.4477 49 44 49V47ZM52 49C52.5523 49 53 48.5523 53 48C53 47.4477 52.5523 47 52 47V49ZM60 47C59.4477 47 59 47.4477 59 48C59 48.5523 59.4477 49 60 49V47ZM68 49C68.5523 49 69 48.5523 69 48C69 47.4477 68.5523 47 68 47V49ZM76 47C75.4477 47 75 47.4477 75 48C75 48.5523 75.4477 49 76 49V47ZM84 49C84.5523 49 85 48.5523 85 48C85 47.4477 84.5523 47 84 47V49ZM92 47C91.4477 47 91 47.4477 91 48C91 48.5523 91.4477 49 92 49V47ZM100 49C100.552 49 101 48.5523 101 48C101 47.4477 100.552 47 100 47V49ZM108 47C107.448 47 107 47.4477 107 48C107 48.5523 107.448 49 108 49V47ZM116 49C116.552 49 117 48.5523 117 48C117 47.4477 116.552 47 116 47V49ZM124 47C123.448 47 123 47.4477 123 48C123 48.5523 123.448 49 124 49V47ZM132 49C132.552 49 133 48.5523 133 48C133 47.4477 132.552 47 132 47V49ZM140 47C139.448 47 139 47.4477 139 48C139 48.5523 139.448 49 140 49V47ZM148 49C148.552 49 149 48.5523 149 48C149 47.4477 148.552 47 148 47V49ZM156 47C155.448 47 155 47.4477 155 48C155 48.5523 155.448 49 156 49V47ZM164 49C164.552 49 165 48.5523 165 48C165 47.4477 164.552 47 164 47V49ZM172 47C171.448 47 171 47.4477 171 48C171 48.5523 171.448 49 172 49V47ZM180 49C180.552 49 181 48.5523 181 48C181 47.4477 180.552 47 180 47V49ZM188 47C187.448 47 187 47.4477 187 48C187 48.5523 187.448 49 188 49V47ZM196 49C196.552 49 197 48.5523 197 48C197 47.4477 196.552 47 196 47V49ZM204 47C203.448 47 203 47.4477 203 48C203 48.5523 203.448 49 204 49V47ZM0 49H4V47H0V49ZM12 49H20V47H12V49ZM28 49H36V47H28V49ZM44 49H52V47H44V49ZM60 49H68V47H60V49ZM76 49H84V47H76V49ZM92 49H100V47H92V49ZM108 49H116V47H108V49ZM124 49H132V47H124V49ZM140 49H148V47H140V49ZM156 49H164V47H156V49ZM172 49H180V47H172V49ZM188 49H196V47H188V49ZM204 49H208V47H204V49Z",fill:"#F8F8F8",mask:"url(#path-5-inside-3_2098_5511)"}),d.jsx("mask",{id:"path-7-inside-4_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 48H208V64H0V48Z"})}),d.jsx("path",{d:"M208 64.5C208.276 64.5 208.5 64.2761 208.5 64C208.5 63.7239 208.276 63.5 208 63.5V64.5ZM0 63.5C-0.276142 63.5 -0.5 63.7239 -0.5 64C-0.5 64.2761 -0.276142 64.5 0 64.5V63.5ZM4 64.5C4.27614 64.5 4.5 64.2761 4.5 64C4.5 63.7239 4.27614 63.5 4 63.5V64.5ZM12 63.5C11.7239 63.5 11.5 63.7239 11.5 64C11.5 64.2761 11.7239 64.5 12 64.5V63.5ZM20 64.5C20.2761 64.5 20.5 64.2761 20.5 64C20.5 63.7239 20.2761 63.5 20 63.5V64.5ZM28 63.5C27.7239 63.5 27.5 63.7239 27.5 64C27.5 64.2761 27.7239 64.5 28 64.5V63.5ZM36 64.5C36.2761 64.5 36.5 64.2761 36.5 64C36.5 63.7239 36.2761 63.5 36 63.5V64.5ZM44 63.5C43.7239 63.5 43.5 63.7239 43.5 64C43.5 64.2761 43.7239 64.5 44 64.5V63.5ZM52 64.5C52.2761 64.5 52.5 64.2761 52.5 64C52.5 63.7239 52.2761 63.5 52 63.5V64.5ZM60 63.5C59.7239 63.5 59.5 63.7239 59.5 64C59.5 64.2761 59.7239 64.5 60 64.5V63.5ZM68 64.5C68.2761 64.5 68.5 64.2761 68.5 64C68.5 63.7239 68.2761 63.5 68 63.5V64.5ZM76 63.5C75.7239 63.5 75.5 63.7239 75.5 64C75.5 64.2761 75.7239 64.5 76 64.5V63.5ZM84 64.5C84.2761 64.5 84.5 64.2761 84.5 64C84.5 63.7239 84.2761 63.5 84 63.5V64.5ZM92 63.5C91.7239 63.5 91.5 63.7239 91.5 64C91.5 64.2761 91.7239 64.5 92 64.5V63.5ZM100 64.5C100.276 64.5 100.5 64.2761 100.5 64C100.5 63.7239 100.276 63.5 100 63.5V64.5ZM108 63.5C107.724 63.5 107.5 63.7239 107.5 64C107.5 64.2761 107.724 64.5 108 64.5V63.5ZM116 64.5C116.276 64.5 116.5 64.2761 116.5 64C116.5 63.7239 116.276 63.5 116 63.5V64.5ZM124 63.5C123.724 63.5 123.5 63.7239 123.5 64C123.5 64.2761 123.724 64.5 124 64.5V63.5ZM132 64.5C132.276 64.5 132.5 64.2761 132.5 64C132.5 63.7239 132.276 63.5 132 63.5V64.5ZM140 63.5C139.724 63.5 139.5 63.7239 139.5 64C139.5 64.2761 139.724 64.5 140 64.5V63.5ZM148 64.5C148.276 64.5 148.5 64.2761 148.5 64C148.5 63.7239 148.276 63.5 148 63.5V64.5ZM156 63.5C155.724 63.5 155.5 63.7239 155.5 64C155.5 64.2761 155.724 64.5 156 64.5V63.5ZM164 64.5C164.276 64.5 164.5 64.2761 164.5 64C164.5 63.7239 164.276 63.5 164 63.5V64.5ZM172 63.5C171.724 63.5 171.5 63.7239 171.5 64C171.5 64.2761 171.724 64.5 172 64.5V63.5ZM180 64.5C180.276 64.5 180.5 64.2761 180.5 64C180.5 63.7239 180.276 63.5 180 63.5V64.5ZM188 63.5C187.724 63.5 187.5 63.7239 187.5 64C187.5 64.2761 187.724 64.5 188 64.5V63.5ZM196 64.5C196.276 64.5 196.5 64.2761 196.5 64C196.5 63.7239 196.276 63.5 196 63.5V64.5ZM204 63.5C203.724 63.5 203.5 63.7239 203.5 64C203.5 64.2761 203.724 64.5 204 64.5V63.5ZM0 64.5H4V63.5H0V64.5ZM12 64.5H20V63.5H12V64.5ZM28 64.5H36V63.5H28V64.5ZM44 64.5H52V63.5H44V64.5ZM60 64.5H68V63.5H60V64.5ZM76 64.5H84V63.5H76V64.5ZM92 64.5H100V63.5H92V64.5ZM108 64.5H116V63.5H108V64.5ZM124 64.5H132V63.5H124V64.5ZM140 64.5H148V63.5H140V64.5ZM156 64.5H164V63.5H156V64.5ZM172 64.5H180V63.5H172V64.5ZM188 64.5H196V63.5H188V64.5ZM204 64.5H208V63.5H204V64.5ZM208 65C208.552 65 209 64.5523 209 64C209 63.4477 208.552 63 208 63V65ZM0 63C-0.552285 63 -1 63.4477 -1 64C-1 64.5523 -0.552285 65 0 65V63ZM4 65C4.55228 65 5 64.5523 5 64C5 63.4477 4.55228 63 4 63V65ZM12 63C11.4477 63 11 63.4477 11 64C11 64.5523 11.4477 65 12 65V63ZM20 65C20.5523 65 21 64.5523 21 64C21 63.4477 20.5523 63 20 63V65ZM28 63C27.4477 63 27 63.4477 27 64C27 64.5523 27.4477 65 28 65V63ZM36 65C36.5523 65 37 64.5523 37 64C37 63.4477 36.5523 63 36 63V65ZM44 63C43.4477 63 43 63.4477 43 64C43 64.5523 43.4477 65 44 65V63ZM52 65C52.5523 65 53 64.5523 53 64C53 63.4477 52.5523 63 52 63V65ZM60 63C59.4477 63 59 63.4477 59 64C59 64.5523 59.4477 65 60 65V63ZM68 65C68.5523 65 69 64.5523 69 64C69 63.4477 68.5523 63 68 63V65ZM76 63C75.4477 63 75 63.4477 75 64C75 64.5523 75.4477 65 76 65V63ZM84 65C84.5523 65 85 64.5523 85 64C85 63.4477 84.5523 63 84 63V65ZM92 63C91.4477 63 91 63.4477 91 64C91 64.5523 91.4477 65 92 65V63ZM100 65C100.552 65 101 64.5523 101 64C101 63.4477 100.552 63 100 63V65ZM108 63C107.448 63 107 63.4477 107 64C107 64.5523 107.448 65 108 65V63ZM116 65C116.552 65 117 64.5523 117 64C117 63.4477 116.552 63 116 63V65ZM124 63C123.448 63 123 63.4477 123 64C123 64.5523 123.448 65 124 65V63ZM132 65C132.552 65 133 64.5523 133 64C133 63.4477 132.552 63 132 63V65ZM140 63C139.448 63 139 63.4477 139 64C139 64.5523 139.448 65 140 65V63ZM148 65C148.552 65 149 64.5523 149 64C149 63.4477 148.552 63 148 63V65ZM156 63C155.448 63 155 63.4477 155 64C155 64.5523 155.448 65 156 65V63ZM164 65C164.552 65 165 64.5523 165 64C165 63.4477 164.552 63 164 63V65ZM172 63C171.448 63 171 63.4477 171 64C171 64.5523 171.448 65 172 65V63ZM180 65C180.552 65 181 64.5523 181 64C181 63.4477 180.552 63 180 63V65ZM188 63C187.448 63 187 63.4477 187 64C187 64.5523 187.448 65 188 65V63ZM196 65C196.552 65 197 64.5523 197 64C197 63.4477 196.552 63 196 63V65ZM204 63C203.448 63 203 63.4477 203 64C203 64.5523 203.448 65 204 65V63ZM0 65H4V63H0V65ZM12 65H20V63H12V65ZM28 65H36V63H28V65ZM44 65H52V63H44V65ZM60 65H68V63H60V65ZM76 65H84V63H76V65ZM92 65H100V63H92V65ZM108 65H116V63H108V65ZM124 65H132V63H124V65ZM140 65H148V63H140V65ZM156 65H164V63H156V65ZM172 65H180V63H172V65ZM188 65H196V63H188V65ZM204 65H208V63H204V65Z",fill:"#F8F8F8",mask:"url(#path-7-inside-4_2098_5511)"}),d.jsx("path",{opacity:"0.25",d:"M188.216 21.8308L192.267 33.3363C192.984 35.3729 195.553 36.0079 197.136 34.5401L200.346 31.5644C200.704 31.2324 200.976 30.8179 201.137 30.357L202.893 25.3492L207.891 8.63898C207.962 8.40249 207.998 8.15696 207.998 7.91011V61C207.998 62.6569 206.655 64 204.998 64H2.99805C1.34119 64 -0.00195312 62.6569 -0.00195312 61V38.199C-0.00195312 37.5477 0.209976 36.9142 0.601822 36.394L4.07924 31.7775C5.46086 29.9434 8.30679 30.2781 9.22513 32.3828L13.7407 42.7321C14.1196 43.6005 14.8865 44.2389 15.8092 44.454L20.4905 45.5454C21.1539 45.7 21.8501 45.6244 22.4647 45.3308L27.6593 42.8495C28.3218 42.533 28.8452 41.9846 29.1305 41.3081L33.0958 31.9045C34.1272 29.4587 37.593 29.4587 38.6244 31.9045L39.704 34.4648C40.8065 37.0793 44.5863 36.8438 45.3559 34.1128L49.5889 19.0897C49.9533 17.7966 51.133 16.9033 52.4765 16.9033H56.4941C57.0707 16.9033 57.6351 16.7372 58.1197 16.4247L61.1576 14.466C62.8476 13.3764 65.11 14.2251 65.6662 16.1575L70.599 33.2936C71.1572 35.2328 73.4323 36.079 75.122 34.9758L75.9273 34.45C77.4802 33.4361 79.5719 34.0601 80.3156 35.7591L84.8676 46.1586C85.5306 47.6733 87.2942 48.366 88.8108 47.7074L91.9453 46.3462C92.765 45.9903 93.3833 45.2875 93.632 44.4292L99.0729 25.6458C99.6874 23.5244 102.321 22.7938 103.941 24.2955C105.587 25.8222 108.267 25.0377 108.831 22.864L112.541 8.54954C113.26 5.77543 117.087 5.49227 118.207 8.13037L120.305 13.0767C121.105 14.9603 123.513 15.5086 125.049 14.1567L125.58 13.6896C127.224 12.2425 129.814 12.9875 130.438 15.0869L134.329 28.1818C135.073 30.6853 138.439 31.1086 139.779 28.8673L142.671 24.0333C143.159 23.2175 144.004 22.6813 144.95 22.5878L149.822 22.1065C150.344 22.0549 150.843 21.8672 151.271 21.5621L154.984 18.9089C156.467 17.8494 158.544 18.346 159.388 19.9617L161.285 23.5972C162.565 26.0491 166.199 25.6102 166.858 22.9241L169.511 12.1165C170.239 9.14844 174.421 9.04274 175.298 11.9702L177.723 20.0592C178.406 22.3382 181.343 22.9532 182.883 21.1398L183.099 20.8852C184.598 19.1202 187.447 19.6467 188.216 21.8308Z",fill:"url(#paint0_linear_2098_5511)"}),d.jsx("path",{d:"M207.998 8.42336L201.106 31.2146C200.924 31.8169 200.557 32.3467 200.057 32.729L196.94 35.1136C195.319 36.3534 192.96 35.6482 192.286 33.7223L188.181 22.0024C187.422 19.8338 184.606 19.289 183.092 21.0179L182.846 21.2991C181.3 23.0654 178.416 22.4516 177.723 20.2087L175.29 12.336C174.395 9.4396 170.259 9.54691 169.515 12.4858L166.857 22.9946C166.185 25.6477 162.603 26.0903 161.306 23.6803L159.382 20.1042C158.534 18.5278 156.503 18.0404 155.031 19.0601L151.262 21.6725C150.84 21.9649 150.35 22.1442 149.839 22.1931L144.931 22.6636C143.996 22.7532 143.157 23.2757 142.664 24.0754L139.754 28.7942C138.4 30.9907 135.088 30.5657 134.332 28.0982L130.441 15.3948C129.808 13.3298 127.267 12.5895 125.624 13.9921L125.005 14.5209C123.474 15.8283 121.115 15.2863 120.308 13.4417L118.191 8.60225C117.054 6.00226 113.277 6.28847 112.544 9.03014L108.848 22.8647C108.27 25.0292 105.606 25.8158 103.94 24.3175V24.3175C102.303 22.8447 99.6856 23.5762 99.0555 25.6864L93.6445 43.8072C93.388 44.6663 92.7608 45.3656 91.9346 45.7136L88.763 47.0496C87.2632 47.6814 85.5332 47.0022 84.8638 45.5188L80.3156 35.4387C79.5653 33.7759 77.517 33.1621 75.9758 34.1381L75.0745 34.709C73.393 35.774 71.1595 34.9362 70.5933 33.028L65.672 16.4433C65.1078 14.5419 62.8867 13.7015 61.2051 14.7533L58.1073 16.6909C57.6303 16.9892 57.079 17.1474 56.5164 17.1474H52.4575C51.123 17.1474 49.9489 18.029 49.5766 19.3106L45.3511 33.8582C44.5676 36.5556 40.8386 36.7934 39.7188 34.2174L38.6114 31.6698C37.5658 29.2644 34.1544 29.2644 33.1088 31.6698L29.1425 40.7941C28.8495 41.4681 28.3193 42.0111 27.6525 42.3201L22.4421 44.7345C21.8411 45.0129 21.165 45.0847 20.519 44.9386L15.803 43.872C14.8836 43.6641 14.1154 43.0362 13.7288 42.1765L9.21662 32.1447C8.28874 30.0817 5.49845 29.7487 4.11113 31.5353L-0.00196201 36.8322",stroke:"#FF3F19"})]}),d.jsxs("defs",{children:[d.jsxs("linearGradient",{id:"paint0_linear_2098_5511",x1:"103.998",y1:"0",x2:"103.998",y2:"64",gradientUnits:"userSpaceOnUse",children:[d.jsx("stop",{stopColor:"#FF3F19"}),d.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),d.jsx("clipPath",{id:"clip0_2098_5511",children:d.jsx("rect",{width:"208",height:"64",fill:"white"})})]})]})}),nk=({adaptiveStyles:e})=>{const[t,n]=k.useState(null),[r,i]=k.useState(!1),[a,u]=k.useState(!1),[s,c]=k.useState(!1);if(k.useEffect(()=>{i(!0),u(!0),(async()=>{const m=await VE();n(m)})(),i(!1),u(!1)},[]),!t)return d.jsx(Nn,{});const{isAvailable:l,isActivated:f,info:h}=t.data;return l?d.jsxs("div",{children:[d.jsxs("div",{className:ge(Oe.referral,{[Oe.mobile]:e!=="desktop"}),children:[d.jsx("div",{className:ge(Oe.referralBlock,{[Oe.mobile]:e!=="desktop"}),children:r?d.jsx(ik,{adaptiveStyles:e}):d.jsxs("div",{className:Oe.referralContainer,children:[d.jsx("div",{id:"h2",className:Oe.title,children:"Refer friends"}),d.jsx("div",{className:Oe.description,id:"lg",children:"Refer friends. Earn rewards. Make bank."}),f?d.jsx(d.Fragment,{children:d.jsx(ok,{referral:t})}):d.jsx(d.Fragment,{children:d.jsx(rk,{setIsOpen:c})})]})}),a?d.jsx("div",{className:Oe.referralStats}):d.jsxs("div",{className:ge(Oe.referralStats,{[Oe.mobile]:e!=="desktop"}),children:[d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Referrals"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:h!=null&&h.totalReferrals?`${h.totalReferrals} person`:"-"}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earned"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:"-"}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Total Revenue"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:Dn({amount:(h==null?void 0:h.totalRevenueUsd)||0})}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earn Procent"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:`${t.data.earnPercent}%`||"-"}),d.jsx(ku,{})]})]})]}),s&&d.jsx(Vs,{close:()=>c(!1),children:d.jsx(tk,{setIsOpen:c,setIsLoading:i})})]}):null},rk=({setIsOpen:e})=>{const{setIsOpen:t}=eo();return d.jsxs("div",{className:Oe.steps,onClick:n=>n.stopPropagation(),children:[d.jsx(wt,{type:"Primary",className:Oe.joinButton,onClick:()=>{e(!0),t(!0)},children:"Join the referral Program"}),d.jsx("div",{children:xI.map(({caption:n,description:r},i,a)=>d.jsx(ek,{caption:n,description:r,index:i+1,bar:i+1!==a.length},n))})]})},ok=({referral:e})=>{var a,u;const{shopDomain:t}=Ao(),n=`https://${t}/?r=${(a=e.data.info)==null?void 0:a.referralCode}`,{notifications:r,setNotifications:i}=fn();return d.jsxs("div",{className:Oe.referralInfo,children:[d.jsx(Zo,{onChange:()=>{},label:"Affiliate Code",value:((u=e.data.info)==null?void 0:u.referralCode)||"",disabled:!0}),d.jsx("div",{className:Oe.linkContainer,children:d.jsx(Zo,{onChange:()=>{},label:"Affiliate Link",value:n,disabled:!0,rightIcon:d.jsx(ie,{name:"Copy",fill:"var(--text-action)",onClick:()=>{navigator.clipboard.writeText(n),i([...r,{message:"Link copied to clipboard",status:"success",id:mt()}])},hoverable:!0})})})]})},ik=({adaptiveStyles:e})=>d.jsxs(Mi,{speed:2,width:500,height:"100%",viewBox:"0 0 500 305",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(Oe.skeleton,{[Oe.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:[d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"264",height:"40"}),d.jsx("rect",{x:"0",y:"45",rx:"10",ry:"10",width:"160",height:"24"}),d.jsx("rect",{x:"0",y:"100",rx:"10",ry:"10",width:"100",height:"40"}),d.jsx("rect",{x:"0",y:"150",rx:"10",ry:"10",width:"476",height:"40"}),d.jsx("rect",{x:"0",y:"220",rx:"10",ry:"10",width:"428",height:"50"})]}),ak="_title_u8oqs_1",uk="_heading_u8oqs_10",sk="_description_u8oqs_15",Mc={title:ak,heading:uk,description:sk},tu=({title:e,description:t})=>d.jsxs("div",{className:Mc.title,children:[d.jsx("div",{id:"h3",className:Mc.heading,children:e}),t&&d.jsx("div",{className:Mc.description,id:"lg",children:t})]}),ck="_noItemsBlock_yefnm_4",lk="_noItemsBlockIcon_yefnm_13",dk="_noItemsBlockTitle_yefnm_21",fk="_noItemsBlockDescription_yefnm_31",hk="_centered_yefnm_37",ra={noItemsBlock:ck,noItemsBlockIcon:lk,noItemsBlockTitle:dk,noItemsBlockDescription:fk,centered:hk},nu=({title:e,description:t,className:n,centered:r=!1})=>d.jsxs("div",{className:ge(ra.noItemsBlock,n,{[ra.centered]:r}),children:[d.jsx("div",{className:ra.noItemsBlockIcon,children:d.jsx(ie,{name:"Info",fill:"var(--text-secondary)"})}),d.jsx("div",{className:ra.noItemsBlockTitle,id:"h4",children:e}),d.jsx("div",{className:ra.noItemsBlockDescription,id:"md",children:t})]}),pk="_ordersTable_1btyq_2",mk="_gatewayItem_1btyq_10",gk="_gatewayIcon_1btyq_15",bk="_orderTime_1btyq_20",Ck="_reviewContainer_1btyq_25",Ik="_reviewRating_1btyq_35",yk="_tableLoader_1btyq_39",Ek="_tableItem_1btyq_48",qn={ordersTable:pk,gatewayItem:mk,gatewayIcon:gk,orderTime:bk,reviewContainer:Ck,reviewRating:Ik,tableLoader:yk,tableItem:Ek};var $o=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.WARNING=2]="WARNING",e[e.ERROR=3]="ERROR",e))($o||{});const Sk={[Ze.New]:2,[Ze.Pending]:2,[Ze.Completed]:1,[Ze.Cancelled]:3,[Ze.Expired]:3,[Ze.FullDeliveryFailure]:3,[Ze.PartiallyDelivered]:2,[Ze.Refunded]:2,[Ze.Failed]:3},xk=(e,t)=>{const n=t.find(r=>r.name===e);return n?d.jsxs("div",{className:qn.gatewayItem,children:[(n==null?void 0:n.name)==="ForebitPayments"?d.jsx(Y2,{}):n.name==="Balance"?d.jsx(ie,{name:"Wallet",fill:"var(--text-primary)",width:20,height:20,style:{marginRight:"0.25rem"}}):d.jsx("img",{alt:n.displayName,src:or(n.logoCfImageId),className:qn.gatewayIcon}),d.jsx("div",{id:"md",children:n.displayName})]}):null},_k=({item:e,gatewaysDetail:t})=>{const[n,r]=Ra(e.time),{isAntistock:i}=gt();return d.jsxs(k.Fragment,{children:[d.jsx(hn,{copyText:e.id,children:d.jsx(os,{to:`/orders/${e.id}/${e.accessToken}`,id:"md",children:e.id})}),d.jsx(hn,{children:d.jsx(os,{to:`/orders/${e.id}/${e.accessToken}`,children:d.jsx(Xk,{status:e.status,variant:Sk[e.status]})})}),d.jsx(hn,{children:Dn(e.price)}),d.jsx(hn,{children:xk(e.gatewayName,t)}),d.jsx(hn,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:qn.orderTime,id:"md",children:r})]})}),!i&&d.jsx(hn,{children:e.review?d.jsxs("div",{className:qn.reviewContainer,children:[d.jsx(ie,{name:"Star",fill:"var(--text-secondary)"}),d.jsx("div",{className:qn.reviewRating,id:"md",children:e.review.rating})]}):d.jsx("span",{id:"md",children:"None"})})]},e.id)},Tk=({orders:e,gatewaysDetail:t,totalCount:n,isLoading:r})=>{const{page:i,setPage:a}=Xo(),{isAntistock:u}=gt(),c=!(!(e!=null&&e.length)||!t)&&e.length>0;return d.jsxs("div",{className:qn.ordersTable,children:[d.jsxs(Gd,{children:[d.jsx(yn,{className:qn.tableItem,children:"Invoice ID"}),d.jsx(yn,{className:qn.tableItem,children:"Status"}),d.jsx(yn,{className:qn.tableItem,children:"Value"}),d.jsx(yn,{className:qn.tableItem,children:"Payment"}),d.jsx(yn,{className:qn.tableItem,children:"Date"}),!u&&d.jsx(yn,{className:qn.tableItem,children:"Review"}),c&&!r&&e.map(l=>d.jsx(_k,{item:l,gatewaysDetail:t},l.id))]}),(!c||r)&&d.jsx("div",{className:qn.tableLoader,children:d.jsx(Nn,{})}),c&&!r&&d.jsx(qs,{currentPage:i,totalCount:n,onPageChange:a})]})},wk="_ticketsTable_gi71v_4",Ak="_antistockTable_gi71v_4",kk="_table_gi71v_4",vk="_tableItem_gi71v_22",Lk="_text_gi71v_35",Dk="_tableItemTitle_gi71v_42",gi={ticketsTable:wk,antistockTable:Ak,table:kk,tableItem:vk,text:Lk,tableItemTitle:Dk},hn=({children:e,className:t,onClick:n,copyText:r,id:i})=>{const a=Us();return d.jsxs("div",{className:ge(gi.tableItem,t),onClick:n,style:{cursor:n?"pointer":"default"},children:[d.jsx("span",{className:gi.text,id:i||"md",children:e})," ",r&&d.jsx("div",{style:{minWidth:"24px"},children:d.jsx(ie,{name:"Copy",hoverable:!0,onClick:()=>a(r),width:24,height:24})})]})},yn=({children:e,className:t})=>d.jsx(hn,{className:ge(gi.tableItemTitle,t),id:"lg",children:e}),Gd=({children:e,className:t})=>{const{isAntistock:n}=gt(),r=t==null?void 0:t.includes("ticketsTable");return d.jsx("div",{className:ge(t,r?gi.ticketsTable:n?gi.antistockTable:gi.table),children:e})},Nk="_paginationContainer_pt4l5_4",Rk="_paginationWithRange_pt4l5_16",Pk="_paginationWithRangeText_pt4l5_33",Ok="_paginationWithRangePagination_pt4l5_45",Yu={paginationContainer:Nk,paginationWithRange:Rk,paginationWithRangeText:Pk,paginationWithRangePagination:Ok},vu=(e,t)=>Array.from({length:t-e+1},(n,r)=>e+r),Mk=(e,t,n)=>{const r=n*2+3+2;if(t<=r)return vu(1,t);const i=Math.max(e-n,1),a=Math.min(e+n,t),u=i>2,s=a<t-2;return!u&&s?[...vu(1,3+2*n),"right-ellipsis",t]:u&&!s?[1,"left-ellipsis",...vu(t-(3+2*n)+1,t)]:[1,"left-ellipsis",...vu(i,a),"right-ellipsis",t]},Fk=({currentPage:e,totalPages:t,onPageChange:n,siblingCount:r=1})=>{const i=c=>{const l=r*2+1;n(c?Math.max(e-l,1):Math.min(e+l,t))},a=e===1,u=e===t,s=c=>d.jsx(wt,{type:typeof c=="number"&&c===e?"Primary":"Secondary",onClick:()=>typeof c=="string"?i(c==="left-ellipsis"):n(c),"aria-current":typeof c=="number"&&c===e?"page":void 0,children:typeof c=="string"?"…":c},c);return d.jsxs("div",{className:Yu.paginationContainer,children:[d.jsx(wt,{type:"Secondary",onClick:()=>!a&&n(e-1),disabled:a,children:d.jsx(ie,{name:"ArrowLeft"})}),Mk(e,t,r).map(s),d.jsx(wt,{type:"Secondary",onClick:()=>!u&&n(e+1),disabled:u,children:d.jsx(ie,{name:"ArrowRight"})})]})},Bk=(e,t,n)=>{const r=(e-1)*n+1,i=Math.min(e*n,t);return`Showing ${r}-${i} entries of ${t}`},qs=({className:e,totalCount:t,...n})=>{const r=Math.ceil(t/Fl);return r<2?null:d.jsxs("div",{className:`${Yu.paginationWithRange} ${e}`,children:[d.jsx("div",{className:Yu.paginationWithRangeText,id:"md",children:Bk(n.currentPage,t,Fl)}),d.jsx("div",{className:Yu.paginationWithRangePagination,children:d.jsx(Fk,{...n,totalPages:r})})]})},Hk="_statusIndicator_bvd17_4",jk="_antistockStatus_bvd17_11",Uk="_statusIndicatorSuccess_bvd17_16",Vk="_statusIndicatorWarning_bvd17_20",zk="_statusIndicatorError_bvd17_24",$k="_statusIndicatorText_bvd17_28",bi={statusIndicator:Hk,antistockStatus:jk,statusIndicatorSuccess:Uk,statusIndicatorWarning:Vk,statusIndicatorError:zk,statusIndicatorText:$k},qk=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.2105 5.91453C11.2628 5.96677 11.3043 6.02881 11.3326 6.0971C11.3609 6.16538 11.3754 6.23858 11.3754 6.3125C11.3754 6.38642 11.3609 6.45962 11.3326 6.5279C11.3043 6.59619 11.2628 6.65823 11.2105 6.71047L7.27297 10.648C7.22073 10.7003 7.15869 10.7418 7.09041 10.7701C7.02212 10.7984 6.94892 10.8129 6.875 10.8129C6.80108 10.8129 6.72789 10.7984 6.6596 10.7701C6.59131 10.7418 6.52928 10.7003 6.47703 10.648L4.78953 8.96047C4.68399 8.85492 4.62469 8.71177 4.62469 8.5625C4.62469 8.41323 4.68399 8.27008 4.78953 8.16453C4.89508 8.05898 5.03824 7.99969 5.1875 7.99969C5.33677 7.99969 5.47992 8.05898 5.58547 8.16453L6.875 9.45477L10.4145 5.91453C10.4668 5.86223 10.5288 5.82074 10.5971 5.79244C10.6654 5.76413 10.7386 5.74956 10.8125 5.74956C10.8864 5.74956 10.9596 5.76413 11.0279 5.79244C11.0962 5.82074 11.1582 5.86223 11.2105 5.91453ZM15.3125 8C15.3125 9.44628 14.8836 10.8601 14.0801 12.0626C13.2766 13.2651 12.1346 14.2024 10.7984 14.7559C9.46219 15.3093 7.99189 15.4541 6.57341 15.172C5.15492 14.8898 3.85196 14.1934 2.82928 13.1707C1.80661 12.148 1.11017 10.8451 0.828011 9.4266C0.545857 8.00811 0.690668 6.53781 1.24413 5.20163C1.7976 3.86544 2.73486 2.72339 3.9374 1.91988C5.13993 1.11637 6.55373 0.6875 8 0.6875C9.93877 0.689547 11.7975 1.46063 13.1685 2.83154C14.5394 4.20246 15.3105 6.06123 15.3125 8ZM14.1875 8C14.1875 6.77623 13.8246 5.57994 13.1447 4.56241C12.4648 3.54488 11.4985 2.75181 10.3679 2.2835C9.23724 1.81518 7.99314 1.69264 6.79288 1.93139C5.59262 2.17014 4.49012 2.75944 3.62478 3.62478C2.75944 4.49011 2.17014 5.59262 1.93139 6.79288C1.69265 7.99314 1.81518 9.23724 2.2835 10.3679C2.75182 11.4985 3.54488 12.4648 4.56241 13.1447C5.57994 13.8246 6.77623 14.1875 8 14.1875C9.64046 14.1856 11.2132 13.5331 12.3732 12.3732C13.5331 11.2132 14.1856 9.64046 14.1875 8Z",fill:"#338B13"})}),Wk=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M8 0.6875C6.55373 0.6875 5.13993 1.11637 3.9374 1.91988C2.73486 2.72339 1.7976 3.86544 1.24413 5.20163C0.690668 6.53781 0.545857 8.00811 0.828011 9.4266C1.11017 10.8451 1.80661 12.148 2.82928 13.1707C3.85196 14.1934 5.15492 14.8898 6.57341 15.172C7.99189 15.4541 9.46219 15.3093 10.7984 14.7559C12.1346 14.2024 13.2766 13.2651 14.0801 12.0626C14.8836 10.8601 15.3125 9.44628 15.3125 8C15.3105 6.06123 14.5394 4.20246 13.1685 2.83154C11.7975 1.46063 9.93877 0.689547 8 0.6875ZM8 14.1875C6.77623 14.1875 5.57994 13.8246 4.56241 13.1447C3.54488 12.4648 2.75182 11.4985 2.2835 10.3679C1.81518 9.23724 1.69265 7.99314 1.93139 6.79288C2.17014 5.59262 2.75944 4.49011 3.62478 3.62478C4.49012 2.75944 5.59262 2.17014 6.79288 1.93139C7.99314 1.69264 9.23724 1.81518 10.3679 2.2835C11.4985 2.75181 12.4648 3.54488 13.1447 4.56241C13.8246 5.57994 14.1875 6.77623 14.1875 8C14.1856 9.64046 13.5331 11.2132 12.3732 12.3732C11.2132 13.5331 9.64046 14.1856 8 14.1875ZM12.5 8C12.5 8.14918 12.4407 8.29226 12.3353 8.39775C12.2298 8.50324 12.0867 8.5625 11.9375 8.5625H8C7.85082 8.5625 7.70775 8.50324 7.60226 8.39775C7.49677 8.29226 7.4375 8.14918 7.4375 8V4.0625C7.4375 3.91332 7.49677 3.77024 7.60226 3.66475C7.70775 3.55926 7.85082 3.5 8 3.5C8.14919 3.5 8.29226 3.55926 8.39775 3.66475C8.50324 3.77024 8.5625 3.91332 8.5625 4.0625V7.4375H11.9375C12.0867 7.4375 12.2298 7.49676 12.3353 7.60225C12.4407 7.70774 12.5 7.85082 12.5 8Z",fill:"#C1972A"})}),Gk=()=>d.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z",fill:"#C12A2A"}),d.jsx("path",{d:"M6.87752 11.685C6.73502 11.685 6.59252 11.6325 6.48002 11.52C6.26252 11.3025 6.26252 10.9425 6.48002 10.725L10.725 6.48C10.9425 6.2625 11.3025 6.2625 11.52 6.48C11.7375 6.6975 11.7375 7.0575 11.52 7.275L7.27502 11.52C7.17002 11.6325 7.02002 11.685 6.87752 11.685Z",fill:"#C12A2A"}),d.jsx("path",{d:"M11.1225 11.685C10.98 11.685 10.8375 11.6325 10.725 11.52L6.48002 7.275C6.26252 7.0575 6.26252 6.6975 6.48002 6.48C6.69752 6.2625 7.05752 6.2625 7.27502 6.48L11.52 10.725C11.7375 10.9425 11.7375 11.3025 11.52 11.52C11.4075 11.6325 11.265 11.685 11.1225 11.685Z",fill:"#C12A2A"})]}),Zk={[$o.SUCCESS]:qk,[$o.WARNING]:Wk,[$o.ERROR]:Gk},Yk={[$o.SUCCESS]:bi.statusIndicatorSuccess,[$o.WARNING]:bi.statusIndicatorWarning,[$o.ERROR]:bi.statusIndicatorError},Xk=({status:e,variant:t})=>{const{isAntistock:n}=gt(),r=Zk[t];return d.jsxs("div",{className:ge(bi.statusIndicator,Yk[t],{[bi.antistockStatus]:n}),children:[d.jsx(r,{}),d.jsx("span",{className:bi.statusIndicatorText,id:"md",children:e})]})},Kk="_deliveryItem_1x3fg_1",Jk="_deliveryItemText_1x3fg_10",ya={deliveryItem:Kk,deliveryItemText:Jk},ql={[at.Text]:"View",[at.Serial]:"View",[at.Ebook]:"View",[at.Link]:"Visit",[at.Download]:"",[at.Custom]:"View",[at.Discord]:"Access"},Wl={[at.Text]:"Content",[at.Serial]:"Content",[at.Ebook]:"Ebook",[at.Link]:"Link",[at.Download]:"Download",[at.Custom]:"Content",[at.Discord]:"Discord"},ym={[at.Text]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Serial]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Ebook]:d.jsx(ie,{name:"BookOpen",fill:"var(--text-secondary)"}),[at.Link]:d.jsx(ie,{name:"ArrowLineUpRight",fill:"var(--text-secondary)"}),[at.Download]:d.jsx(ie,{name:"DownloadSimple",fill:"var(--text-secondary)"}),[at.Custom]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Discord]:d.jsx(ie,{name:"DiscordLogo",fill:"var(--text-secondary)"})},Qk=({deliveryConfiguration:e})=>{const t=e.type;return t===at.Text||t===at.Custom||t===at.Serial||t===at.Discord?d.jsx(ev,{deliveryConfiguration:e}):d.jsx(tv,{deliveryConfiguration:e})},ev=({deliveryConfiguration:e})=>{const t=e.type,[n,r]=k.useState(!1),{setIsOpen:i}=eo(),{isAntistock:a}=gt(),u=()=>{i(!0),r(!0)};return d.jsxs(d.Fragment,{children:[a?d.jsx(wt,{type:"Secondary",onClick:s=>{s.stopPropagation(),u()},children:d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})}):d.jsxs(wt,{type:"Secondary",className:ya.deliveryItem,onClick:s=>{s.stopPropagation(),u()},children:[ym[t],d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})]}),n&&d.jsx(Vs,{close:()=>r(!1),withAnimation:!a,children:d.jsx(BV,{deliveryConfiguration:e,setIsOpen:r})})]})},tv=({deliveryConfiguration:e})=>{const t=e.type;return d.jsxs("div",{className:ya.deliveryItem,onClick:()=>window.open(e.deliveryItems[0].textData,"_blank"),children:[ym[t],d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})]})},nv="_paymentMethod_1it0n_3",rv="_selected_1it0n_16",ov="_alignColumn_1it0n_19",iv="_reversed_1it0n_25",av="_antistock_1it0n_29",uv="_paymentText_1it0n_36",sv="_balanceText_1it0n_50",cv="_signInLink_1it0n_54",lv="_iconContainer_1it0n_63",dv="_gatewayLogo_1it0n_76",fv="_poweredByLogo_1it0n_77",hv="_logo_1it0n_82",Ot={paymentMethod:nv,selected:rv,alignColumn:ov,reversed:iv,antistock:av,paymentText:uv,balanceText:sv,signInLink:cv,iconContainer:lv,gatewayLogo:dv,poweredByLogo:fv,logo:hv};var Tt=(e=>(e.BankCard="BANK_CARD",e.BankTransfer="BANK_TRANSFER",e.PayPal="PAYPAL",e.CashApp="CASHAPP",e.Crypto="CRYPTO",e.AppleGooglePay="APPLE_AND_GOOGLE_PAY",e.Custom="CUSTOM",e))(Tt||{});const pv={[Tt.CashApp]:d.jsx(K2,{}),[Tt.AppleGooglePay]:d.jsx(Q2,{}),[Tt.BankCard]:d.jsx(X2,{}),[Tt.Crypto]:d.jsx(Z2,{}),[Tt.PayPal]:d.jsx(J2,{}),[Tt.Custom]:d.jsx("div",{}),[Tt.BankTransfer]:d.jsx(em,{})},mv={[Tt.CashApp]:d.jsx(K2,{isAntistock:!0}),[Tt.AppleGooglePay]:d.jsx(Q2,{isAntistock:!0}),[Tt.BankCard]:d.jsx(X2,{isAntistock:!0}),[Tt.Crypto]:d.jsx(Z2,{isAntistock:!0}),[Tt.PayPal]:d.jsx(J2,{}),[Tt.Custom]:d.jsx("div",{}),[Tt.BankTransfer]:d.jsx(em,{isAntistock:!0})},df={[Tt.CashApp]:"Cash App",[Tt.AppleGooglePay]:"Apple Pay / Google Pay",[Tt.BankCard]:"Debit / Credit Card",[Tt.Crypto]:"Cryptocurrency",[Tt.PayPal]:"PayPal",[Tt.Custom]:"",[Tt.BankTransfer]:"Bank Transfer"},gv=({align:e,paymentMethod:t,gatewayDisplayName:n,gatewayLogoCfId:r,poweredByLogoCfId:i,selected:a,onSelect:u,className:s,isAntistock:c=!1})=>{const l=t===Tt.Custom;return t?d.jsx("div",{className:ge(Ot.paymentMethod,{[Ot.selected]:a,[Ot.alignColumn]:e==="column",[Ot.antistock]:c},s),onClick:()=>u&&u(t),children:c?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Ot.paymentText,id:"md",children:l?n:df[t]}),d.jsxs("div",{className:Ot.iconContainer,children:[l?d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:or(r),alt:n})}):mv[t],i&&d.jsx("div",{className:Ot.poweredByLogo,children:d.jsx("img",{className:Ot.logo,src:or(i),alt:n})})]})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Ot.paymentText,id:"md",children:l?n:df[t]}),d.jsxs("div",{className:Ot.iconContainer,children:[l?d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:or(r),alt:n})}):pv[t],i&&d.jsx("div",{className:Ot.poweredByLogo,children:d.jsx("img",{className:Ot.logo,src:or(i),alt:n})})]})]})}):d.jsxs("div",{className:ge(Ot.paymentMethod,s),children:[d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:or(r),alt:n})}),d.jsx("p",{className:Ot.paymentText,children:n})]})},bv="_container_r8mpd_1",Cv="_text_r8mpd_9",Iv="_link_r8mpd_14",oa={container:bv,text:Cv,link:Iv};function ff(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const u=n.slice(i,r).trim();(u||!a)&&t.push(u),i=r+1,r=n.indexOf(",",i)}return t}function Em(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const yv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ev=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Sv={};function hf(e,t){return(Sv.jsx?Ev:yv).test(e)}const xv=/[ \t\n\f\r]/g;function _v(e){return typeof e=="object"?e.type==="text"?pf(e.value):!1:pf(e)}function pf(e){return e.replace(xv,"")===""}let ru=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};ru.prototype.normal={};ru.prototype.property={};ru.prototype.space=void 0;function Sm(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new ru(n,r,t)}function Fa(e){return e.toLowerCase()}let Un=class{constructor(t,n){this.attribute=n,this.property=t}};Un.prototype.attribute="";Un.prototype.booleanish=!1;Un.prototype.boolean=!1;Un.prototype.commaOrSpaceSeparated=!1;Un.prototype.commaSeparated=!1;Un.prototype.defined=!1;Un.prototype.mustUseProperty=!1;Un.prototype.number=!1;Un.prototype.overloadedBoolean=!1;Un.prototype.property="";Un.prototype.spaceSeparated=!1;Un.prototype.space=void 0;let Tv=0;const Be=Ko(),Ht=Ko(),xm=Ko(),de=Ko(),lt=Ko(),Ci=Ko(),zn=Ko();function Ko(){return 2**++Tv}const Gl=Object.freeze(Object.defineProperty({__proto__:null,boolean:Be,booleanish:Ht,commaOrSpaceSeparated:zn,commaSeparated:Ci,number:de,overloadedBoolean:xm,spaceSeparated:lt},Symbol.toStringTag,{value:"Module"})),Fc=Object.keys(Gl);let Zd=class extends Un{constructor(t,n,r,i){let a=-1;if(super(t,n),mf(this,"space",i),typeof r=="number")for(;++a<Fc.length;){const u=Fc[a];mf(this,Fc[a],(r&Gl[u])===Gl[u])}}};Zd.prototype.defined=!0;function mf(e,t,n){n&&(e[t]=n)}function Fi(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Zd(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Fa(r)]=r,n[Fa(a.attribute)]=r}return new ru(t,n,e.space)}const _m=Fi({properties:{ariaActiveDescendant:null,ariaAtomic:Ht,ariaAutoComplete:null,ariaBusy:Ht,ariaChecked:Ht,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:Ht,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:Ht,ariaFlowTo:lt,ariaGrabbed:Ht,ariaHasPopup:null,ariaHidden:Ht,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:de,ariaLive:null,ariaModal:Ht,ariaMultiLine:Ht,ariaMultiSelectable:Ht,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:Ht,ariaReadOnly:Ht,ariaRelevant:null,ariaRequired:Ht,ariaRoleDescription:lt,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:Ht,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Tm(e,t){return t in e?e[t]:t}function wm(e,t){return Tm(e,t.toLowerCase())}const wv=Fi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ci,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:Be,allowPaymentRequest:Be,allowUserMedia:Be,alt:null,as:null,async:Be,autoCapitalize:null,autoComplete:lt,autoFocus:Be,autoPlay:Be,blocking:lt,capture:null,charSet:null,checked:Be,cite:null,className:lt,cols:de,colSpan:null,content:null,contentEditable:Ht,controls:Be,controlsList:lt,coords:de|Ci,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Be,defer:Be,dir:null,dirName:null,disabled:Be,download:xm,draggable:Ht,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Be,formTarget:null,headers:lt,height:de,hidden:Be,high:de,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:Be,inputMode:null,integrity:null,is:null,isMap:Be,itemId:null,itemProp:lt,itemRef:lt,itemScope:Be,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Be,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Be,muted:Be,name:null,nonce:null,noModule:Be,noValidate:Be,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Be,optimum:de,pattern:null,ping:lt,placeholder:null,playsInline:Be,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Be,referrerPolicy:null,rel:lt,required:Be,reversed:Be,rows:de,rowSpan:de,sandbox:lt,scope:null,scoped:Be,seamless:Be,selected:Be,shadowRootClonable:Be,shadowRootDelegatesFocus:Be,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:Ht,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Be,useMap:null,value:Ht,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Be,declare:Be,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Be,noHref:Be,noShade:Be,noWrap:Be,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:Ht,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Be,disableRemotePlayback:Be,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:wm}),Av=Fi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:zn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Be,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ci,g2:Ci,glyphName:Ci,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:zn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zn,rev:zn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zn,requiredFeatures:zn,requiredFonts:zn,requiredFormats:zn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:zn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Tm}),Am=Fi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),km=Fi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:wm}),vm=Fi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),kv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},vv=/[A-Z]/g,gf=/-[a-z]/g,Lv=/^data[-\w.:]+$/i;function Yd(e,t){const n=Fa(t);let r=t,i=Un;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Lv.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(gf,Nv);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!gf.test(a)){let u=a.replace(vv,Dv);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=Zd}return new i(r,t)}function Dv(e){return"-"+e.toLowerCase()}function Nv(e){return e.charAt(1).toUpperCase()}const Ws=Sm([_m,wv,Am,km,vm],"html"),Bi=Sm([_m,Av,Am,km,vm],"svg");function bf(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Lm(e){return e.join(" ").trim()}var Dm={},Cf=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Rv=/\n/g,Pv=/^\s*/,Ov=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Mv=/^:\s*/,Fv=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Bv=/^[;\s]*/,Hv=/^\s+|\s+$/g,jv=`
125
- `,If="/",yf="*",Bo="",Uv="comment",Vv="declaration",zv=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var C=b.match(Rv);C&&(n+=C.length);var I=b.lastIndexOf(jv);r=~I?b.length-I:r+b.length}function a(){var b={line:n,column:r};return function(C){return C.position=new u(b),l(),C}}function u(b){this.start=b,this.end={line:n,column:r},this.source=t.source}u.prototype.content=e;function s(b){var C=new Error(t.source+":"+n+":"+r+": "+b);if(C.reason=b,C.filename=t.source,C.line=n,C.column=r,C.source=e,!t.silent)throw C}function c(b){var C=b.exec(e);if(C){var I=C[0];return i(I),e=e.slice(I.length),C}}function l(){c(Pv)}function f(b){var C;for(b=b||[];C=h();)C!==!1&&b.push(C);return b}function h(){var b=a();if(!(If!=e.charAt(0)||yf!=e.charAt(1))){for(var C=2;Bo!=e.charAt(C)&&(yf!=e.charAt(C)||If!=e.charAt(C+1));)++C;if(C+=2,Bo===e.charAt(C-1))return s("End of comment missing");var I=e.slice(2,C-2);return r+=2,i(I),e=e.slice(C),r+=2,b({type:Uv,comment:I})}}function g(){var b=a(),C=c(Ov);if(C){if(h(),!c(Mv))return s("property missing ':'");var I=c(Fv),E=b({type:Vv,property:Ef(C[0].replace(Cf,Bo)),value:I?Ef(I[0].replace(Cf,Bo)):Bo});return c(Bv),E}}function m(){var b=[];f(b);for(var C;C=g();)C!==!1&&(b.push(C),f(b));return b}return l(),m()};function Ef(e){return e?e.replace(Hv,Bo):Bo}var $v=k0&&k0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dm,"__esModule",{value:!0});var Sf=Dm.default=Wv,qv=$v(zv);function Wv(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,qv.default)(e),i=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var u=a.property,s=a.value;i?t(u,s,a):s&&(n=n||{},n[u]=s)}}),n}const Gv=Sf.default||Sf,Gs=Nm("end"),Mr=Nm("start");function Nm(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Zv(e){const t=Mr(e),n=Gs(e);if(t&&n)return{start:t,end:n}}function Ea(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xf(e.position):"start"in e||"end"in e?xf(e):"line"in e||"column"in e?Zl(e):""}function Zl(e){return _f(e&&e.line)+":"+_f(e&&e.column)}function xf(e){return Zl(e&&e.start)+"-"+Zl(e&&e.end)}function _f(e){return e&&typeof e=="number"?e:1}class xn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(u=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Ea(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}xn.prototype.file="";xn.prototype.name="";xn.prototype.reason="";xn.prototype.message="";xn.prototype.stack="";xn.prototype.column=void 0;xn.prototype.line=void 0;xn.prototype.ancestors=void 0;xn.prototype.cause=void 0;xn.prototype.fatal=void 0;xn.prototype.place=void 0;xn.prototype.ruleId=void 0;xn.prototype.source=void 0;const Xd={}.hasOwnProperty,Yv=new Map,Xv=/[A-Z]/g,Kv=/-([a-z])/g,Jv=new Set(["table","tbody","thead","tfoot","tr"]),Qv=new Set(["td","th"]),Rm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eL(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=sL(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=uL(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Bi:Ws,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Pm(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Pm(e,t,n){if(t.type==="element")return tL(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return nL(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return oL(e,t,n);if(t.type==="mdxjsEsm")return rL(e,t);if(t.type==="root")return iL(e,t,n);if(t.type==="text")return aL(e,t)}function tL(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Bi,e.schema=i),e.ancestors.push(t);const a=Mm(e,t.tagName,!1),u=cL(e,t);let s=Jd(e,t);return Jv.has(t.tagName)&&(s=s.filter(function(c){return typeof c=="string"?!_v(c):!0})),Om(e,u,a,t),Kd(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function nL(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ba(e,t.position)}function rL(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ba(e,t.position)}function oL(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Bi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Mm(e,t.name,!0),u=lL(e,t),s=Jd(e,t);return Om(e,u,a,t),Kd(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function iL(e,t,n){const r={};return Kd(r,Jd(e,t)),e.create(t,e.Fragment,r,n)}function aL(e,t){return t.value}function Om(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Kd(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function uL(e,t,n){return r;function r(i,a,u,s){const l=Array.isArray(u.children)?n:t;return s?l(a,u,s):l(a,u)}}function sL(e,t){return n;function n(r,i,a,u){const s=Array.isArray(a.children),c=Mr(r);return t(i,a,u,s,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function cL(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Xd.call(t.properties,i)){const a=dL(e,i,t.properties[i]);if(a){const[u,s]=a;e.tableCellAlignToStyle&&u==="align"&&typeof s=="string"&&Qv.has(t.tagName)?r=s:n[u]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function lL(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const u=a.expression;u.type;const s=u.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Ba(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else Ba(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Jd(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Yv;for(;++r<t.children.length;){const a=t.children[r];let u;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const l=i.get(c)||0;u=c+"-"+l,i.set(c,l+1)}}const s=Pm(e,a,u);s!==void 0&&n.push(s)}return n}function dL(e,t,n){const r=Yd(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Em(n):Lm(n)),r.property==="style"){let i=typeof n=="object"?n:fL(e,String(n));return e.stylePropertyNameCase==="css"&&(i=hL(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?kv[r.property]||r.property:r.attribute,n]}}function fL(e,t){const n={};try{Gv(t,r)}catch(i){if(!e.ignoreInvalidStyle){const a=i,u=new xn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=Rm+"#cannot-parse-style-attribute",u}}return n;function r(i,a){let u=i;u.slice(0,2)!=="--"&&(u.slice(0,4)==="-ms-"&&(u="ms-"+u.slice(4)),u=u.replace(Kv,mL)),n[u]=a}}function Mm(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,u;for(;++a<i.length;){const s=hf(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=u}else r=hf(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Xd.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ba(e)}function Ba(e,t){const n=new xn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Rm+"#cannot-handle-mdx-estrees-without-createevaluater",n}function hL(e){const t={};let n;for(n in e)Xd.call(e,n)&&(t[pL(n)]=e[n]);return t}function pL(e){let t=e.replace(Xv,gL);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function mL(e,t){return t.toUpperCase()}function gL(e){return"-"+e.toLowerCase()}const Bc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},bL={};function Qd(e,t){const n=bL,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Fm(e,r,i)}function Fm(e,t,n){if(CL(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Tf(e.children,t,n)}return Array.isArray(e)?Tf(e,t,n):""}function Tf(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Fm(e[i],t,n);return r.join("")}function CL(e){return!!(e&&typeof e=="object")}const wf=document.createElement("i");function e0(e){const t="&"+e+";";wf.innerHTML=t;const n=wf.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Xn(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function nr(e,t){return e.length>0?(Xn(e,e.length,0,t),e):t}const Af={}.hasOwnProperty;function Bm(e){const t={};let n=-1;for(;++n<e.length;)IL(t,e[n]);return t}function IL(e,t){let n;for(n in t){const i=(Af.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){Af.call(i,u)||(i[u]=[]);const s=a[u];yL(i[u],Array.isArray(s)?s:s?[s]:[])}}}function yL(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Xn(e,0,0,r)}function Hm(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function pr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ln=ko(/[A-Za-z]/),Sn=ko(/[\dA-Za-z]/),EL=ko(/[#-'*+\--9=?A-Z^-~]/);function ms(e){return e!==null&&(e<32||e===127)}const Yl=ko(/\d/),SL=ko(/[\dA-Fa-f]/),xL=ko(/[!-/:-@[-`{-~]/);function Ne(e){return e!==null&&e<-2}function ct(e){return e!==null&&(e<0||e===32)}function Ye(e){return e===-2||e===-1||e===32}const Zs=ko(new RegExp("\\p{P}|\\p{S}","u")),Yo=ko(/\s/);function ko(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Hi(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let u="";if(a===37&&Sn(e.charCodeAt(n+1))&&Sn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(u=String.fromCharCode(a,s),i=1):u="�"}else u=String.fromCharCode(a);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+i+1,u=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ke(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(c){return Ye(c)?(e.enter(n),s(c)):t(c)}function s(c){return Ye(c)&&a++<i?(e.consume(c),s):(e.exit(n),t(c))}}const _L={tokenize:TL};function TL(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ke(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,u(s)}function u(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Ne(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),u)}}const wL={tokenize:AL},kf={tokenize:kL};function AL(e){const t=this,n=[];let r=0,i,a,u;return s;function s(S){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,c,l)(S)}return l(S)}function c(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const T=t.events.length;let _=T,v;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){v=t.events[_][1].end;break}E(r);let x=T;for(;x<t.events.length;)t.events[x][1].end={...v},x++;return Xn(t.events,_+1,0,t.events.slice(T)),t.events.length=x,l(S)}return s(S)}function l(S){if(r===n.length){if(!i)return g(S);if(i.currentConstruct&&i.currentConstruct.concrete)return b(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(kf,f,h)(S)}function f(S){return i&&y(),E(r),g(S)}function h(S){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,b(S)}function g(S){return t.containerState={},e.attempt(kf,m,b)(S)}function m(S){return r++,n.push([t.currentConstruct,t.containerState]),g(S)}function b(S){if(S===null){i&&y(),E(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),C(S)}function C(S){if(S===null){I(e.exit("chunkFlow"),!0),E(0),e.consume(S);return}return Ne(S)?(e.consume(S),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(S),C)}function I(S,T){const _=t.sliceStream(S);if(T&&_.push(null),S.previous=a,a&&(a.next=S),a=S,i.defineSkip(S.start),i.write(_),t.parser.lazy[S.start.line]){let v=i.events.length;for(;v--;)if(i.events[v][1].start.offset<u&&(!i.events[v][1].end||i.events[v][1].end.offset>u))return;const x=t.events.length;let M=x,H,A;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(H){A=t.events[M][1].end;break}H=!0}for(E(r),v=x;v<t.events.length;)t.events[v][1].end={...A},v++;Xn(t.events,M+1,0,t.events.slice(x)),t.events.length=v}}function E(S){let T=n.length;for(;T-- >S;){const _=n[T];t.containerState=_[1],_[0].exit.call(t,e)}n.length=S}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function kL(e,t,n){return Ke(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function xi(e){if(e===null||ct(e)||Yo(e))return 1;if(Zs(e))return 2}function Ys(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Xl={name:"attention",resolveAll:vL,tokenize:LL};function vL(e,t){let n=-1,r,i,a,u,s,c,l,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},g={...e[n][1].start};vf(h,-c),vf(g,c),u={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},s={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:g},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...u.start},end:{...s.end}},e[r][1].end={...u.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=nr(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=nr(l,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),l=nr(l,Ys(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=nr(l,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,l=nr(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Xn(e,r-1,n-r+3,l),n=r+l.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function LL(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=xi(r);let a;return u;function u(c){return a=c,e.enter("attentionSequence"),s(c)}function s(c){if(c===a)return e.consume(c),s;const l=e.exit("attentionSequence"),f=xi(c),h=!f||f===2&&i||n.includes(c),g=!i||i===2&&f||n.includes(r);return l._open=!!(a===42?h:h&&(i||!g)),l._close=!!(a===42?g:g&&(f||!h)),t(c)}}function vf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const DL={name:"autolink",tokenize:NL};function NL(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Ln(m)?(e.consume(m),u):m===64?n(m):l(m)}function u(m){return m===43||m===45||m===46||Sn(m)?(r=1,s(m)):l(m)}function s(m){return m===58?(e.consume(m),r=0,c):(m===43||m===45||m===46||Sn(m))&&r++<32?(e.consume(m),s):(r=0,l(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||ms(m)?n(m):(e.consume(m),c)}function l(m){return m===64?(e.consume(m),f):EL(m)?(e.consume(m),l):n(m)}function f(m){return Sn(m)?h(m):n(m)}function h(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Sn(m))&&r++<63){const b=m===45?g:h;return e.consume(m),b}return n(m)}}const ou={partial:!0,tokenize:RL};function RL(e,t,n){return r;function r(a){return Ye(a)?Ke(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Ne(a)?t(a):n(a)}}const jm={continuation:{tokenize:OL},exit:ML,name:"blockQuote",tokenize:PL};function PL(e,t,n){const r=this;return i;function i(u){if(u===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return Ye(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function OL(e,t,n){const r=this;return i;function i(u){return Ye(u)?Ke(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(jm,t,n)(u)}}function ML(e){e.exit("blockQuote")}const Um={name:"characterEscape",tokenize:FL};function FL(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return xL(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Vm={name:"characterReference",tokenize:BL};function BL(e,t,n){const r=this;let i=0,a,u;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,u=Sn,f(h))}function l(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=SL,f):(e.enter("characterReferenceValue"),a=7,u=Yl,f(h))}function f(h){if(h===59&&i){const g=e.exit("characterReferenceValue");return u===Sn&&!e0(r.sliceSerialize(g))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(h)&&i++<a?(e.consume(h),f):n(h)}}const Lf={partial:!0,tokenize:jL},Df={concrete:!0,name:"codeFenced",tokenize:HL};function HL(e,t,n){const r=this,i={partial:!0,tokenize:_};let a=0,u=0,s;return c;function c(v){return l(v)}function l(v){const x=r.events[r.events.length-1];return a=x&&x[1].type==="linePrefix"?x[2].sliceSerialize(x[1],!0).length:0,s=v,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(v)}function f(v){return v===s?(u++,e.consume(v),f):u<3?n(v):(e.exit("codeFencedFenceSequence"),Ye(v)?Ke(e,h,"whitespace")(v):h(v))}function h(v){return v===null||Ne(v)?(e.exit("codeFencedFence"),r.interrupt?t(v):e.check(Lf,C,T)(v)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||Ne(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(v)):Ye(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ke(e,m,"whitespace")(v)):v===96&&v===s?n(v):(e.consume(v),g)}function m(v){return v===null||Ne(v)?h(v):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(v))}function b(v){return v===null||Ne(v)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(v)):v===96&&v===s?n(v):(e.consume(v),b)}function C(v){return e.attempt(i,T,I)(v)}function I(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),E}function E(v){return a>0&&Ye(v)?Ke(e,y,"linePrefix",a+1)(v):y(v)}function y(v){return v===null||Ne(v)?e.check(Lf,C,T)(v):(e.enter("codeFlowValue"),S(v))}function S(v){return v===null||Ne(v)?(e.exit("codeFlowValue"),y(v)):(e.consume(v),S)}function T(v){return e.exit("codeFenced"),t(v)}function _(v,x,M){let H=0;return A;function A(ne){return v.enter("lineEnding"),v.consume(ne),v.exit("lineEnding"),j}function j(ne){return v.enter("codeFencedFence"),Ye(ne)?Ke(v,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ne):F(ne)}function F(ne){return ne===s?(v.enter("codeFencedFenceSequence"),W(ne)):M(ne)}function W(ne){return ne===s?(H++,v.consume(ne),W):H>=u?(v.exit("codeFencedFenceSequence"),Ye(ne)?Ke(v,q,"whitespace")(ne):q(ne)):M(ne)}function q(ne){return ne===null||Ne(ne)?(v.exit("codeFencedFence"),x(ne)):M(ne)}}}function jL(e,t,n){const r=this;return i;function i(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const Hc={name:"codeIndented",tokenize:VL},UL={partial:!0,tokenize:zL};function VL(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Ke(e,a,"linePrefix",5)(l)}function a(l){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?u(l):n(l)}function u(l){return l===null?c(l):Ne(l)?e.attempt(UL,u,c)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||Ne(l)?(e.exit("codeFlowValue"),u(l)):(e.consume(l),s)}function c(l){return e.exit("codeIndented"),t(l)}}function zL(e,t,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):Ne(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):Ke(e,a,"linePrefix",5)(u)}function a(u){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):Ne(u)?i(u):n(u)}}const $L={name:"codeText",previous:WL,resolve:qL,tokenize:GL};function qL(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function WL(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function GL(e,t,n){let r=0,i,a;return u;function u(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),r++,s):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),i=0,f(h)):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),l(h))}function l(h){return h===null||h===32||h===96||Ne(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),l)}function f(h){return h===96?(e.consume(h),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",l(h))}}class ZL{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ia(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ia(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ia(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);ia(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ia(this.left,n.reverse())}}}function ia(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function zm(e){const t={};let n=-1,r,i,a,u,s,c,l;const f=new ZL(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,YL(f,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(u=f.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},s=f.slice(i,n),s.unshift(r),f.splice(i,n-i+1,s))}}return Xn(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!l}function YL(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const s=u.events,c=[],l={};let f,h,g=-1,m=n,b=0,C=0;const I=[C];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),h&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(f),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),h=m,m=m.next}for(m=n;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(C=g+1,I.push(C),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):I.pop(),g=I.length;g--;){const E=s.slice(I[g],I[g+1]),y=a.pop();c.push([y,y+E.length-1]),e.splice(y,2,E)}for(c.reverse(),g=-1;++g<c.length;)l[b+c[g][0]]=b+c[g][1],b+=c[g][1]-c[g][0]-1;return l}const XL={resolve:JL,tokenize:QL},KL={partial:!0,tokenize:eD};function JL(e){return zm(e),e}function QL(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):Ne(s)?e.check(KL,u,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function u(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function eD(e,t,n){const r=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ke(e,a,"linePrefix")}function a(u){if(u===null||Ne(u))return n(u);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function $m(e,t,n,r,i,a,u,s,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return h;function h(E){return E===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(E),e.exit(a),g):E===null||E===32||E===41||ms(E)?n(E):(e.enter(r),e.enter(u),e.enter(s),e.enter("chunkString",{contentType:"string"}),C(E))}function g(E){return E===62?(e.enter(a),e.consume(E),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(E))}function m(E){return E===62?(e.exit("chunkString"),e.exit(s),g(E)):E===null||E===60||Ne(E)?n(E):(e.consume(E),E===92?b:m)}function b(E){return E===60||E===62||E===92?(e.consume(E),m):m(E)}function C(E){return!f&&(E===null||E===41||ct(E))?(e.exit("chunkString"),e.exit(s),e.exit(u),e.exit(r),t(E)):f<l&&E===40?(e.consume(E),f++,C):E===41?(e.consume(E),f--,C):E===null||E===32||E===40||ms(E)?n(E):(e.consume(E),E===92?I:C)}function I(E){return E===40||E===41||E===92?(e.consume(E),C):C(E)}}function qm(e,t,n,r,i,a){const u=this;let s=0,c;return l;function l(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),f}function f(m){return s>999||m===null||m===91||m===93&&!c||m===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Ne(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===null||m===91||m===93||Ne(m)||s++>999?(e.exit("chunkString"),f(m)):(e.consume(m),c||(c=!Ye(m)),m===92?g:h)}function g(m){return m===91||m===92||m===93?(e.consume(m),s++,h):h(m)}}function Wm(e,t,n,r,i,a){let u;return s;function s(g){return g===34||g===39||g===40?(e.enter(r),e.enter(i),e.consume(g),e.exit(i),u=g===40?41:g,c):n(g)}function c(g){return g===u?(e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):(e.enter(a),l(g))}function l(g){return g===u?(e.exit(a),c(u)):g===null?n(g):Ne(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Ke(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===u||g===null||Ne(g)?(e.exit("chunkString"),l(g)):(e.consume(g),g===92?h:f)}function h(g){return g===u||g===92?(e.consume(g),f):f(g)}}function Sa(e,t){let n;return r;function r(i){return Ne(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ye(i)?Ke(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const tD={name:"definition",tokenize:rD},nD={partial:!0,tokenize:oD};function rD(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),u(m)}function u(m){return qm.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=pr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return ct(m)?Sa(e,l)(m):l(m)}function l(m){return $m(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(nD,h,h)(m)}function h(m){return Ye(m)?Ke(e,g,"whitespace")(m):g(m)}function g(m){return m===null||Ne(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function oD(e,t,n){return r;function r(s){return ct(s)?Sa(e,i)(s):n(s)}function i(s){return Wm(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Ye(s)?Ke(e,u,"whitespace")(s):u(s)}function u(s){return s===null||Ne(s)?t(s):n(s)}}const iD={name:"hardBreakEscape",tokenize:aD};function aD(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Ne(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const uD={name:"headingAtx",resolve:sD,tokenize:cD};function sD(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Xn(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function cD(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),u(f)}function u(f){return f===35&&r++<6?(e.consume(f),u):f===null||ct(f)?(e.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||Ne(f)?(e.exit("atxHeading"),t(f)):Ye(f)?Ke(e,s,"whitespace")(f):(e.enter("atxHeadingText"),l(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),s(f))}function l(f){return f===null||f===35||ct(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),l)}}const lD=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Nf=["pre","script","style","textarea"],dD={concrete:!0,name:"htmlFlow",resolveTo:pD,tokenize:mD},fD={partial:!0,tokenize:bD},hD={partial:!0,tokenize:gD};function pD(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mD(e,t,n){const r=this;let i,a,u,s,c;return l;function l(D){return f(D)}function f(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),h}function h(D){return D===33?(e.consume(D),g):D===47?(e.consume(D),a=!0,C):D===63?(e.consume(D),i=3,r.interrupt?t:w):Ln(D)?(e.consume(D),u=String.fromCharCode(D),I):n(D)}function g(D){return D===45?(e.consume(D),i=2,m):D===91?(e.consume(D),i=5,s=0,b):Ln(D)?(e.consume(D),i=4,r.interrupt?t:w):n(D)}function m(D){return D===45?(e.consume(D),r.interrupt?t:w):n(D)}function b(D){const X="CDATA[";return D===X.charCodeAt(s++)?(e.consume(D),s===X.length?r.interrupt?t:F:b):n(D)}function C(D){return Ln(D)?(e.consume(D),u=String.fromCharCode(D),I):n(D)}function I(D){if(D===null||D===47||D===62||ct(D)){const X=D===47,se=u.toLowerCase();return!X&&!a&&Nf.includes(se)?(i=1,r.interrupt?t(D):F(D)):lD.includes(u.toLowerCase())?(i=6,X?(e.consume(D),E):r.interrupt?t(D):F(D)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):a?y(D):S(D))}return D===45||Sn(D)?(e.consume(D),u+=String.fromCharCode(D),I):n(D)}function E(D){return D===62?(e.consume(D),r.interrupt?t:F):n(D)}function y(D){return Ye(D)?(e.consume(D),y):A(D)}function S(D){return D===47?(e.consume(D),A):D===58||D===95||Ln(D)?(e.consume(D),T):Ye(D)?(e.consume(D),S):A(D)}function T(D){return D===45||D===46||D===58||D===95||Sn(D)?(e.consume(D),T):_(D)}function _(D){return D===61?(e.consume(D),v):Ye(D)?(e.consume(D),_):S(D)}function v(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),c=D,x):Ye(D)?(e.consume(D),v):M(D)}function x(D){return D===c?(e.consume(D),c=null,H):D===null||Ne(D)?n(D):(e.consume(D),x)}function M(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||ct(D)?_(D):(e.consume(D),M)}function H(D){return D===47||D===62||Ye(D)?S(D):n(D)}function A(D){return D===62?(e.consume(D),j):n(D)}function j(D){return D===null||Ne(D)?F(D):Ye(D)?(e.consume(D),j):n(D)}function F(D){return D===45&&i===2?(e.consume(D),be):D===60&&i===1?(e.consume(D),Ie):D===62&&i===4?(e.consume(D),re):D===63&&i===3?(e.consume(D),w):D===93&&i===5?(e.consume(D),Le):Ne(D)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(fD,pe,W)(D)):D===null||Ne(D)?(e.exit("htmlFlowData"),W(D)):(e.consume(D),F)}function W(D){return e.check(hD,q,pe)(D)}function q(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),ne}function ne(D){return D===null||Ne(D)?W(D):(e.enter("htmlFlowData"),F(D))}function be(D){return D===45?(e.consume(D),w):F(D)}function Ie(D){return D===47?(e.consume(D),u="",Ae):F(D)}function Ae(D){if(D===62){const X=u.toLowerCase();return Nf.includes(X)?(e.consume(D),re):F(D)}return Ln(D)&&u.length<8?(e.consume(D),u+=String.fromCharCode(D),Ae):F(D)}function Le(D){return D===93?(e.consume(D),w):F(D)}function w(D){return D===62?(e.consume(D),re):D===45&&i===2?(e.consume(D),w):F(D)}function re(D){return D===null||Ne(D)?(e.exit("htmlFlowData"),pe(D)):(e.consume(D),re)}function pe(D){return e.exit("htmlFlow"),t(D)}}function gD(e,t,n){const r=this;return i;function i(u){return Ne(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function bD(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ou,t,n)}}const CD={name:"htmlText",tokenize:ID};function ID(e,t,n){const r=this;let i,a,u;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),c}function c(w){return w===33?(e.consume(w),l):w===47?(e.consume(w),_):w===63?(e.consume(w),S):Ln(w)?(e.consume(w),M):n(w)}function l(w){return w===45?(e.consume(w),f):w===91?(e.consume(w),a=0,b):Ln(w)?(e.consume(w),y):n(w)}function f(w){return w===45?(e.consume(w),m):n(w)}function h(w){return w===null?n(w):w===45?(e.consume(w),g):Ne(w)?(u=h,Ie(w)):(e.consume(w),h)}function g(w){return w===45?(e.consume(w),m):h(w)}function m(w){return w===62?be(w):w===45?g(w):h(w)}function b(w){const re="CDATA[";return w===re.charCodeAt(a++)?(e.consume(w),a===re.length?C:b):n(w)}function C(w){return w===null?n(w):w===93?(e.consume(w),I):Ne(w)?(u=C,Ie(w)):(e.consume(w),C)}function I(w){return w===93?(e.consume(w),E):C(w)}function E(w){return w===62?be(w):w===93?(e.consume(w),E):C(w)}function y(w){return w===null||w===62?be(w):Ne(w)?(u=y,Ie(w)):(e.consume(w),y)}function S(w){return w===null?n(w):w===63?(e.consume(w),T):Ne(w)?(u=S,Ie(w)):(e.consume(w),S)}function T(w){return w===62?be(w):S(w)}function _(w){return Ln(w)?(e.consume(w),v):n(w)}function v(w){return w===45||Sn(w)?(e.consume(w),v):x(w)}function x(w){return Ne(w)?(u=x,Ie(w)):Ye(w)?(e.consume(w),x):be(w)}function M(w){return w===45||Sn(w)?(e.consume(w),M):w===47||w===62||ct(w)?H(w):n(w)}function H(w){return w===47?(e.consume(w),be):w===58||w===95||Ln(w)?(e.consume(w),A):Ne(w)?(u=H,Ie(w)):Ye(w)?(e.consume(w),H):be(w)}function A(w){return w===45||w===46||w===58||w===95||Sn(w)?(e.consume(w),A):j(w)}function j(w){return w===61?(e.consume(w),F):Ne(w)?(u=j,Ie(w)):Ye(w)?(e.consume(w),j):H(w)}function F(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),i=w,W):Ne(w)?(u=F,Ie(w)):Ye(w)?(e.consume(w),F):(e.consume(w),q)}function W(w){return w===i?(e.consume(w),i=void 0,ne):w===null?n(w):Ne(w)?(u=W,Ie(w)):(e.consume(w),W)}function q(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||ct(w)?H(w):(e.consume(w),q)}function ne(w){return w===47||w===62||ct(w)?H(w):n(w)}function be(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function Ie(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Ae}function Ae(w){return Ye(w)?Ke(e,Le,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Le(w)}function Le(w){return e.enter("htmlTextData"),u(w)}}const t0={name:"labelEnd",resolveAll:xD,resolveTo:_D,tokenize:TD},yD={tokenize:wD},ED={tokenize:AD},SD={tokenize:kD};function xD(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Xn(e,0,e.length,n),e}function _D(e,t){let n=e.length,r=0,i,a,u,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[a][1].start},end:{...e[u][1].end}},f={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[u-2][1].start}};return s=[["enter",c,t],["enter",l,t]],s=nr(s,e.slice(a+1,a+r+3)),s=nr(s,[["enter",f,t]]),s=nr(s,Ys(t.parser.constructs.insideSpan.null,e.slice(a+r+4,u-3),t)),s=nr(s,[["exit",f,t],e[u-2],e[u-1],["exit",l,t]]),s=nr(s,e.slice(u+1)),s=nr(s,[["exit",c,t]]),Xn(e,a,e.length,s),e}function TD(e,t,n){const r=this;let i=r.events.length,a,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(g){return a?a._inactive?h(g):(u=r.parser.defined.includes(pr(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(yD,f,u?f:h)(g):g===91?e.attempt(ED,f,u?l:h)(g):u?f(g):h(g)}function l(g){return e.attempt(SD,f,h)(g)}function f(g){return t(g)}function h(g){return a._balanced=!0,n(g)}}function wD(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return ct(h)?Sa(e,a)(h):a(h)}function a(h){return h===41?f(h):$m(e,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function u(h){return ct(h)?Sa(e,c)(h):f(h)}function s(h){return n(h)}function c(h){return h===34||h===39||h===40?Wm(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function l(h){return ct(h)?Sa(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function AD(e,t,n){const r=this;return i;function i(s){return qm.call(r,e,a,u,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(pr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function u(s){return n(s)}}function kD(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const vD={name:"labelStartImage",resolveAll:t0.resolveAll,tokenize:LD};function LD(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),u):n(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const DD={name:"labelStartLink",resolveAll:t0.resolveAll,tokenize:ND};function ND(e,t,n){const r=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const jc={name:"lineEnding",tokenize:RD};function RD(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ke(e,t,"linePrefix")}}const Xu={name:"thematicBreak",tokenize:PD};function PD(e,t,n){let r=0,i;return a;function a(l){return e.enter("thematicBreak"),u(l)}function u(l){return i=l,s(l)}function s(l){return l===i?(e.enter("thematicBreakSequence"),c(l)):r>=3&&(l===null||Ne(l))?(e.exit("thematicBreak"),t(l)):n(l)}function c(l){return l===i?(e.consume(l),r++,c):(e.exit("thematicBreakSequence"),Ye(l)?Ke(e,s,"whitespace")(l):s(l))}}const On={continuation:{tokenize:BD},exit:jD,name:"list",tokenize:FD},OD={partial:!0,tokenize:UD},MD={partial:!0,tokenize:HD};function FD(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return s;function s(m){const b=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Yl(m)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Xu,n,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return Yl(m)&&++u<10?(e.consume(m),c):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):n(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(ou,r.interrupt?n:f,e.attempt(OD,g,h))}function f(m){return r.containerState.initialBlankLine=!0,a++,g(m)}function h(m){return Ye(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function BD(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ou,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ke(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Ye(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(MD,t,u)(s))}function u(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ke(e,e.attempt(On,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function HD(e,t,n){const r=this;return Ke(e,i,"listItemIndent",r.containerState.size+1);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(a):n(a)}}function jD(e){e.exit(this.containerState.type)}function UD(e,t,n){const r=this;return Ke(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=r.events[r.events.length-1];return!Ye(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Rf={name:"setextUnderline",resolveTo:VD,tokenize:zD};function VD(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function zD(e,t,n){const r=this;let i;return a;function a(l){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=l,u(l)):n(l)}function u(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===i?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),Ye(l)?Ke(e,c,"lineSuffix")(l):c(l))}function c(l){return l===null||Ne(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const $D={tokenize:qD};function qD(e){const t=this,n=e.attempt(ou,r,e.attempt(this.parser.constructs.flowInitial,i,Ke(e,e.attempt(this.parser.constructs.flow,i,e.attempt(XL,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const WD={resolveAll:Zm()},GD=Gm("string"),ZD=Gm("text");function Gm(e){return{resolveAll:Zm(e==="text"?YD:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,u,s);return u;function u(f){return l(f)?a(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return l(f)?(n.exit("data"),a(f)):(n.consume(f),c)}function l(f){if(f===null)return!0;const h=i[f];let g=-1;if(h)for(;++g<h.length;){const m=h[g];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Zm(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function YD(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,u=-1,s=0,c;for(;a--;){const l=i[a];if(typeof l=="string"){for(u=l.length;l.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(l===-2)c=!0,s++;else if(l!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const l={type:n===e.length||c||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:r.start._bufferIndex+u,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const XD={42:On,43:On,45:On,48:On,49:On,50:On,51:On,52:On,53:On,54:On,55:On,56:On,57:On,62:jm},KD={91:tD},JD={[-2]:Hc,[-1]:Hc,32:Hc},QD={35:uD,42:Xu,45:[Rf,Xu],60:dD,61:Rf,95:Xu,96:Df,126:Df},eN={38:Vm,92:Um},tN={[-5]:jc,[-4]:jc,[-3]:jc,33:vD,38:Vm,42:Xl,60:[DL,CD],91:DD,92:[iD,Um],93:t0,95:Xl,96:$L},nN={null:[Xl,WD]},rN={null:[42,95]},oN={null:[]},iN=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:rN,contentInitial:KD,disable:oN,document:XD,flow:QD,flowInitial:JD,insideSpan:nN,string:eN,text:tN},Symbol.toStringTag,{value:"Module"}));function aN(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let u=[],s=[];const c={attempt:x(_),check:x(v),consume:y,enter:S,exit:T,interrupt:x(v,{interrupt:!0})},l={code:null,containerState:{},defineSkip:C,events:[],now:b,parser:e,previous:null,sliceSerialize:g,sliceStream:m,write:h};let f=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function h(j){return u=nr(u,j),I(),u[u.length-1]!==null?[]:(M(t,0),l.events=Ys(a,l.events,l),l.events)}function g(j,F){return sN(m(j),F)}function m(j){return uN(u,j)}function b(){const{_bufferIndex:j,_index:F,line:W,column:q,offset:ne}=r;return{_bufferIndex:j,_index:F,line:W,column:q,offset:ne}}function C(j){i[j.line]=j.column,A()}function I(){let j;for(;r._index<u.length;){const F=u[r._index];if(typeof F=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<F.length;)E(F.charCodeAt(r._bufferIndex));else E(F)}}function E(j){f=f(j)}function y(j){Ne(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,A()):j!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=j}function S(j,F){const W=F||{};return W.type=j,W.start=b(),l.events.push(["enter",W,l]),s.push(W),W}function T(j){const F=s.pop();return F.end=b(),l.events.push(["exit",F,l]),F}function _(j,F){M(j,F.from)}function v(j,F){F.restore()}function x(j,F){return W;function W(q,ne,be){let Ie,Ae,Le,w;return Array.isArray(q)?pe(q):"tokenize"in q?pe([q]):re(q);function re(ee){return Ce;function Ce(ye){const ue=ye!==null&&ee[ye],ce=ye!==null&&ee.null,Ue=[...Array.isArray(ue)?ue:ue?[ue]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return pe(Ue)(ye)}}function pe(ee){return Ie=ee,Ae=0,ee.length===0?be:D(ee[Ae])}function D(ee){return Ce;function Ce(ye){return w=H(),Le=ee,ee.partial||(l.currentConstruct=ee),ee.name&&l.parser.constructs.disable.null.includes(ee.name)?se():ee.tokenize.call(F?Object.assign(Object.create(l),F):l,c,X,se)(ye)}}function X(ee){return j(Le,w),ne}function se(ee){return w.restore(),++Ae<Ie.length?D(Ie[Ae]):be}}}function M(j,F){j.resolveAll&&!a.includes(j)&&a.push(j),j.resolve&&Xn(l.events,F,l.events.length-F,j.resolve(l.events.slice(F),l)),j.resolveTo&&(l.events=j.resolveTo(l.events,l))}function H(){const j=b(),F=l.previous,W=l.currentConstruct,q=l.events.length,ne=Array.from(s);return{from:q,restore:be};function be(){r=j,l.previous=F,l.currentConstruct=W,l.events.length=q,s=ne,A()}}function A(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function uN(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;if(n===i)u=[e[n].slice(r,a)];else{if(u=e.slice(n,i),r>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(r):u.shift()}a>0&&u.push(e[i].slice(0,a))}return u}function sN(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
124
+ }`;const Ww="_authContainer_1uyf7_2",Gw="_authWrapper_1uyf7_12",Zw="_inModal_1uyf7_19",Yw="_formHeaderTitle_1uyf7_26",Xw="_formHeaderSubtitle_1uyf7_33",Kw="_formLabel_1uyf7_39",Jw="_formError_1uyf7_51",Qw="_submitButton_1uyf7_57",eA="_submitButtonAntistock_1uyf7_57",tA="_backButton_1uyf7_67",nA="_otpContainer_1uyf7_78",rA="_otpSlots_1uyf7_85",oA="_otpSlot_1uyf7_85",iA="_active_1uyf7_108",aA="_otpSlotEmpty_1uyf7_113",uA="_actionRow_1uyf7_117",sA="_authForm_1uyf7_124",cA="_formHeader_1uyf7_26",lA="_input_1uyf7_135",vt={authContainer:Ww,authWrapper:Gw,inModal:Zw,formHeaderTitle:Yw,formHeaderSubtitle:Xw,formLabel:Kw,formError:Jw,submitButton:Qw,submitButtonAntistock:eA,backButton:tA,otpContainer:nA,otpSlots:rA,otpSlot:oA,active:iA,otpSlotEmpty:aA,actionRow:uA,authForm:sA,formHeader:cA,input:lA},dA=k.forwardRef(({value:e,onChange:t,onComplete:n},r)=>d.jsx(gm,{ref:r,value:e,onChange:t,onComplete:n,maxLength:6,containerClassName:vt.otpContainer,render:({slots:i})=>d.jsx("div",{className:vt.otpSlots,children:i.map(a=>d.jsx(fA,{...a},crypto.randomUUID()))})}));function fA({char:e,isActive:t}){return d.jsx("div",{className:ge(vt.otpSlot,{[vt.active]:t}),children:e?d.jsx("div",{children:e}):d.jsx("div",{className:vt.otpSlotEmpty,children:"0"})})}const hA=e=>{const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return e.trim()?t.test(e)?null:"Please enter a valid email.":"The email field cannot be empty."},pA=e=>/^[0-9]{6}$/.test(e)?null:"Invalid verification code. The code should be a six-digit number. Please try again",bm=({title:e,subtitle:t,isAntistock:n})=>d.jsxs("div",{className:vt.formHeader,style:{textAlign:n?"center":void 0},children:[d.jsx("h3",{id:"h3",className:vt.formHeaderTitle,children:e}),t?d.jsx("div",{className:vt.formHeaderSubtitle,children:t}):null]}),Cm=({error:e})=>e?d.jsx("div",{className:vt.formError,children:e}):null,mA=()=>{const[e,t]=k.useState(""),[n,r]=k.useState(null),[i,a]=k.useState(!1),{executeRecaptcha:u}=Wd(),{setOtpRequest:s}=Jn(),{isAntistock:c}=gt(),l=async f=>{f.preventDefault(),r(null);const h=hA(e);if(h){r(h);return}a(!0);try{const g=await u();if(!g)throw new Error("ReCaptcha verification failed");await j2({email:e,recaptcha:g,tsId:xo()}),s({requested:!0,email:e})}catch{r("Failed to request OTP. Please try again.")}finally{a(!1)}};return d.jsxs("form",{onSubmit:l,className:vt.authForm,children:[d.jsx(bm,{title:c?"My Account":"Sign In",subtitle:c?"":"To continue, enter your email address below.",isAntistock:c}),d.jsxs("div",{className:vt.input,children:[d.jsx(Zo,{label:c?"Email":"Email Address",placeholder:"your@email.com",value:e,onChange:f=>{t(f),r(null)}}),d.jsx(Cm,{error:n})]}),d.jsx(wt,{type:"Primary",className:c?vt.submitButtonAntistock:vt.submitButton,disabled:i,children:i?c?d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[d.jsx(Nn,{}),d.jsx("span",{children:"Continue"})]}):d.jsx(Nn,{}):c?"Continue":"Sign In"}),d.jsx("span",{style:{color:"var(--text-secondary)",paddingTop:"8px",fontSize:"var(--font-body-md-size)",textAlign:"center"},children:"You will receive a 6-digit account code via email."})]})},gA=({onSignIn:e})=>{const{otpRequest:t,setOtpRequest:n}=Jn(),{isAntistock:r}=gt(),[i,a]=k.useState(""),[u,s]=k.useState(null),[c,l]=k.useState(!1),{executeRecaptcha:f}=Wd(),h=async()=>{s(null);const m=pA(i);if(m){s(m);return}l(!0);try{const b=await f();if(!b)throw new Error("ReCaptcha verification failed");await U2({email:t.email,otp:i,recaptcha:b||"",tsId:xo()}),e&&e()}catch{s("Invalid OTP. Please try again.")}finally{l(!1)}},g=()=>n({requested:!1,email:""});return d.jsxs("form",{onSubmit:h,className:vt.authForm,children:[d.jsx(bm,{title:"Check Your Email",subtitle:`Enter the 6-digit code we sent to ${t.email}`,isAntistock:r}),d.jsxs("label",{className:vt.formLabel,children:["Code",d.jsx(dA,{onChange:m=>{a(m),s(null)},value:i,onComplete:h})]}),d.jsx(Cm,{error:u}),d.jsxs("div",{className:vt.actionRow,children:[d.jsx(wt,{onClick:g,type:"Secondary",className:vt.backButton,children:"Back"}),d.jsx(wt,{type:"Primary",className:r?vt.submitButtonAntistock:vt.submitButton,disabled:c,children:c?d.jsx(Nn,{}):r?"Continue":"Sign In"})]})]})},Im=({inModal:e,onSignIn:t})=>{const{otpRequest:n,setOtpRequest:r}=Jn();return k.useEffect(()=>{n.requested&&r({requested:!1,email:""})},[]),d.jsx("div",{className:vt.authContainer,children:n?d.jsx("div",{className:ge(vt.authWrapper,e&&vt.inModal),children:n.requested?d.jsx(gA,{onSignIn:t}):d.jsx(mA,{})}):d.jsx(Nn,{})})},bA=async(e=1)=>await NE({PageNumber:e}),CA=()=>{const[e,t]=k.useState(null),[n,r]=k.useState(0),{page:i,setPage:a}=Xo(),{gatewaysDetail:u,setGatewaysDetail:s,balanceSettings:c}=Jn();return k.useEffect(()=>{const l=async()=>{const{list:h,totalCount:g}=await bA(i);t(h),r(g)},f=async()=>{const h=await eu(c!=null&&c.isEnabled?(c==null?void 0:c.topUpSettings.gateways)||[]:[]);s(h)};l(),u||f()},[i]),d.jsx(d.Fragment,{children:e&&e.length===0?d.jsx(nu,{title:"Subscriptions History",description:"When you subscribe to a product on our website, you'll see a history of your subscriptions here."}):d.jsxs(d.Fragment,{children:[d.jsx(tu,{title:"Subscriptions"}),d.jsx(Zz,{subscriptions:e,gatewaysDetail:u,totalCount:n,page:i,setPage:a})]})})},IA={[Vt.Home]:om,[Vt.Orders]:im,[Vt.Rewards]:am,[Vt.Balance]:nm,[Vt.Subscriptions]:CA,[Vt.Tickets]:um},yA={[Vt.Home]:om,[Vt.Orders]:im,[Vt.Rewards]:am,[Vt.Balance]:nm,[Vt.Tickets]:um},EA=()=>{const{route:e,setRoute:t}=Jn(),{resetPage:n}=Xo(),{token:r}=Ao(),{isAntistock:i}=gt(),a=i?yA[e]:IA[e];return k.useEffect(()=>{n()},[e,n]),k.useEffect(()=>{window.location.pathname.includes("/ticket")&&t(Vt.Tickets)},[window.location.pathname]),r?d.jsx("div",{style:{maxWidth:"var(--max-width-store)",margin:"0 auto",height:"100%"},children:d.jsx(q2,{notPadding:!0,style:{height:"100%"},maxWidth:"var(--max-width-store)",children:u=>d.jsxs("main",{className:ge(No.appContainer,{[No.mobile]:u!=="desktop",[No.noAnimation]:i,[No.appContainerAntistock]:i}),children:[d.jsx(g_,{adaptiveStyles:u}),d.jsx("div",{className:ge(No.contentContainer,{[No.mobile]:u!=="desktop",[No.contentContainerAntistock]:i}),children:d.jsx(a,{adaptiveStyles:u})})]})})}):d.jsx(Im,{})},SA=()=>d.jsx(fm,{children:d.jsx(EA,{})}),xA="_referralBlock_kla2r_2",_A="_skeleton_kla2r_3",TA="_mobile_kla2r_13",wA="_referralContainer_kla2r_18",AA="_title_kla2r_30",kA="_description_kla2r_36",vA="_linkContainer_kla2r_56",LA="_modalContainer_kla2r_77",DA="_steps_kla2r_86",NA="_joinButton_kla2r_92",RA="_stepItem_kla2r_97",PA="_iconContainer_kla2r_103",OA="_index_kla2r_111",MA="_bar_kla2r_123",FA="_content_kla2r_130",BA="_caption_kla2r_135",HA="_descriptionStep_kla2r_141",jA="_error_kla2r_151",UA="_infoBlock_kla2r_155",VA="_infoIcon_kla2r_164",zA="_infoText_kla2r_173",$A="_actions_kla2r_178",qA="_cancelButton_kla2r_183",WA="_referralStats_kla2r_187",GA="_referralInfo_kla2r_204",ZA="_referralStatsItem_kla2r_210",YA="_referralStatsItemValue_kla2r_220",XA="_referralStatsItemLabel_kla2r_225",KA="_referral_kla2r_2",JA="_header_kla2r_244",QA="_contentModal_kla2r_254",Oe={referralBlock:xA,skeleton:_A,mobile:TA,referralContainer:wA,title:AA,description:kA,linkContainer:vA,modalContainer:LA,steps:DA,joinButton:NA,stepItem:RA,iconContainer:PA,index:OA,bar:MA,content:FA,caption:BA,descriptionStep:HA,error:jA,infoBlock:UA,infoIcon:VA,infoText:zA,actions:$A,cancelButton:qA,referralStats:WA,referralInfo:GA,referralStatsItem:ZA,referralStatsItemValue:YA,referralStatsItemLabel:XA,referral:KA,header:JA,contentModal:QA},ek=({caption:e,description:t,index:n,bar:r=!0})=>d.jsxs("div",{className:Oe.stepItem,children:[d.jsxs("div",{className:Oe.iconContainer,children:[d.jsx("div",{className:Oe.index,children:n}),r&&d.jsx("div",{className:Oe.bar})]}),d.jsxs("div",{className:Oe.content,children:[d.jsx("div",{className:Oe.caption,children:e}),d.jsx("div",{className:Oe.descriptionStep,children:t})]})]}),tk=({setIsOpen:e,setIsLoading:t})=>{const[n,r]=k.useState(""),[i,a]=k.useState(""),{notifications:u,setNotifications:s}=fn(),{setIsOpen:c}=eo(),l=async h=>{if(h.preventDefault(),n.length<3){a("Referral Code should have minimum length of 3");return}t(!0),f();try{await zE({referralCode:n}),s([...u,{message:"Referral Code has been applied",status:"success",id:mt()}])}catch(g){const m=g;s([...u,{message:m.message,status:"error",id:mt()}])}t(!1),e(!1),r(""),a("")},f=()=>{c(!1),setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{onClick:h=>h.stopPropagation(),className:Oe.modalContainer,children:[d.jsxs("div",{className:Oe.header,children:[d.jsx("div",{id:"h3",children:"Create an affiliate code"}),d.jsx(ie,{name:"X",onClick:f,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:Oe.contentModal,children:[d.jsx(Zo,{value:n,onChange:h=>r(h),placeholder:"Enter code here (e.g., Join)",label:"Affiliate Code"}),i&&d.jsx("div",{className:Oe.error,children:i}),d.jsxs("div",{className:Oe.infoBlock,children:[d.jsx("div",{className:Oe.infoIcon,children:d.jsx(ie,{name:"Info"})}),d.jsx("div",{className:Oe.infoText,children:"Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue."})]}),d.jsxs("div",{className:Oe.actions,children:[d.jsx(wt,{type:"Secondary",className:Oe.cancelButton,onClick:f,children:"Cancel"}),d.jsx(wt,{type:"Primary",onClick:l,children:"Create"})]})]})]})},ku=()=>d.jsx("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:d.jsxs("svg",{width:"100%",height:"64",viewBox:"0 0 208 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_2098_5511)",children:[d.jsx("mask",{id:"path-1-inside-1_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 0H208V16H0V0Z"})}),d.jsx("path",{d:"M208 16.5C208.276 16.5 208.5 16.2761 208.5 16C208.5 15.7239 208.276 15.5 208 15.5V16.5ZM0 15.5C-0.276142 15.5 -0.5 15.7239 -0.5 16C-0.5 16.2761 -0.276142 16.5 0 16.5V15.5ZM4 16.5C4.27614 16.5 4.5 16.2761 4.5 16C4.5 15.7239 4.27614 15.5 4 15.5V16.5ZM12 15.5C11.7239 15.5 11.5 15.7239 11.5 16C11.5 16.2761 11.7239 16.5 12 16.5V15.5ZM20 16.5C20.2761 16.5 20.5 16.2761 20.5 16C20.5 15.7239 20.2761 15.5 20 15.5V16.5ZM28 15.5C27.7239 15.5 27.5 15.7239 27.5 16C27.5 16.2761 27.7239 16.5 28 16.5V15.5ZM36 16.5C36.2761 16.5 36.5 16.2761 36.5 16C36.5 15.7239 36.2761 15.5 36 15.5V16.5ZM44 15.5C43.7239 15.5 43.5 15.7239 43.5 16C43.5 16.2761 43.7239 16.5 44 16.5V15.5ZM52 16.5C52.2761 16.5 52.5 16.2761 52.5 16C52.5 15.7239 52.2761 15.5 52 15.5V16.5ZM60 15.5C59.7239 15.5 59.5 15.7239 59.5 16C59.5 16.2761 59.7239 16.5 60 16.5V15.5ZM68 16.5C68.2761 16.5 68.5 16.2761 68.5 16C68.5 15.7239 68.2761 15.5 68 15.5V16.5ZM76 15.5C75.7239 15.5 75.5 15.7239 75.5 16C75.5 16.2761 75.7239 16.5 76 16.5V15.5ZM84 16.5C84.2761 16.5 84.5 16.2761 84.5 16C84.5 15.7239 84.2761 15.5 84 15.5V16.5ZM92 15.5C91.7239 15.5 91.5 15.7239 91.5 16C91.5 16.2761 91.7239 16.5 92 16.5V15.5ZM100 16.5C100.276 16.5 100.5 16.2761 100.5 16C100.5 15.7239 100.276 15.5 100 15.5V16.5ZM108 15.5C107.724 15.5 107.5 15.7239 107.5 16C107.5 16.2761 107.724 16.5 108 16.5V15.5ZM116 16.5C116.276 16.5 116.5 16.2761 116.5 16C116.5 15.7239 116.276 15.5 116 15.5V16.5ZM124 15.5C123.724 15.5 123.5 15.7239 123.5 16C123.5 16.2761 123.724 16.5 124 16.5V15.5ZM132 16.5C132.276 16.5 132.5 16.2761 132.5 16C132.5 15.7239 132.276 15.5 132 15.5V16.5ZM140 15.5C139.724 15.5 139.5 15.7239 139.5 16C139.5 16.2761 139.724 16.5 140 16.5V15.5ZM148 16.5C148.276 16.5 148.5 16.2761 148.5 16C148.5 15.7239 148.276 15.5 148 15.5V16.5ZM156 15.5C155.724 15.5 155.5 15.7239 155.5 16C155.5 16.2761 155.724 16.5 156 16.5V15.5ZM164 16.5C164.276 16.5 164.5 16.2761 164.5 16C164.5 15.7239 164.276 15.5 164 15.5V16.5ZM172 15.5C171.724 15.5 171.5 15.7239 171.5 16C171.5 16.2761 171.724 16.5 172 16.5V15.5ZM180 16.5C180.276 16.5 180.5 16.2761 180.5 16C180.5 15.7239 180.276 15.5 180 15.5V16.5ZM188 15.5C187.724 15.5 187.5 15.7239 187.5 16C187.5 16.2761 187.724 16.5 188 16.5V15.5ZM196 16.5C196.276 16.5 196.5 16.2761 196.5 16C196.5 15.7239 196.276 15.5 196 15.5V16.5ZM204 15.5C203.724 15.5 203.5 15.7239 203.5 16C203.5 16.2761 203.724 16.5 204 16.5V15.5ZM0 16.5H4V15.5H0V16.5ZM12 16.5H20V15.5H12V16.5ZM28 16.5H36V15.5H28V16.5ZM44 16.5H52V15.5H44V16.5ZM60 16.5H68V15.5H60V16.5ZM76 16.5H84V15.5H76V16.5ZM92 16.5H100V15.5H92V16.5ZM108 16.5H116V15.5H108V16.5ZM124 16.5H132V15.5H124V16.5ZM140 16.5H148V15.5H140V16.5ZM156 16.5H164V15.5H156V16.5ZM172 16.5H180V15.5H172V16.5ZM188 16.5H196V15.5H188V16.5ZM204 16.5H208V15.5H204V16.5ZM208 17C208.552 17 209 16.5523 209 16C209 15.4477 208.552 15 208 15V17ZM0 15C-0.552285 15 -1 15.4477 -1 16C-1 16.5523 -0.552285 17 0 17V15ZM4 17C4.55228 17 5 16.5523 5 16C5 15.4477 4.55228 15 4 15V17ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17V15ZM20 17C20.5523 17 21 16.5523 21 16C21 15.4477 20.5523 15 20 15V17ZM28 15C27.4477 15 27 15.4477 27 16C27 16.5523 27.4477 17 28 17V15ZM36 17C36.5523 17 37 16.5523 37 16C37 15.4477 36.5523 15 36 15V17ZM44 15C43.4477 15 43 15.4477 43 16C43 16.5523 43.4477 17 44 17V15ZM52 17C52.5523 17 53 16.5523 53 16C53 15.4477 52.5523 15 52 15V17ZM60 15C59.4477 15 59 15.4477 59 16C59 16.5523 59.4477 17 60 17V15ZM68 17C68.5523 17 69 16.5523 69 16C69 15.4477 68.5523 15 68 15V17ZM76 15C75.4477 15 75 15.4477 75 16C75 16.5523 75.4477 17 76 17V15ZM84 17C84.5523 17 85 16.5523 85 16C85 15.4477 84.5523 15 84 15V17ZM92 15C91.4477 15 91 15.4477 91 16C91 16.5523 91.4477 17 92 17V15ZM100 17C100.552 17 101 16.5523 101 16C101 15.4477 100.552 15 100 15V17ZM108 15C107.448 15 107 15.4477 107 16C107 16.5523 107.448 17 108 17V15ZM116 17C116.552 17 117 16.5523 117 16C117 15.4477 116.552 15 116 15V17ZM124 15C123.448 15 123 15.4477 123 16C123 16.5523 123.448 17 124 17V15ZM132 17C132.552 17 133 16.5523 133 16C133 15.4477 132.552 15 132 15V17ZM140 15C139.448 15 139 15.4477 139 16C139 16.5523 139.448 17 140 17V15ZM148 17C148.552 17 149 16.5523 149 16C149 15.4477 148.552 15 148 15V17ZM156 15C155.448 15 155 15.4477 155 16C155 16.5523 155.448 17 156 17V15ZM164 17C164.552 17 165 16.5523 165 16C165 15.4477 164.552 15 164 15V17ZM172 15C171.448 15 171 15.4477 171 16C171 16.5523 171.448 17 172 17V15ZM180 17C180.552 17 181 16.5523 181 16C181 15.4477 180.552 15 180 15V17ZM188 15C187.448 15 187 15.4477 187 16C187 16.5523 187.448 17 188 17V15ZM196 17C196.552 17 197 16.5523 197 16C197 15.4477 196.552 15 196 15V17ZM204 15C203.448 15 203 15.4477 203 16C203 16.5523 203.448 17 204 17V15ZM0 17H4V15H0V17ZM12 17H20V15H12V17ZM28 17H36V15H28V17ZM44 17H52V15H44V17ZM60 17H68V15H60V17ZM76 17H84V15H76V17ZM92 17H100V15H92V17ZM108 17H116V15H108V17ZM124 17H132V15H124V17ZM140 17H148V15H140V17ZM156 17H164V15H156V17ZM172 17H180V15H172V17ZM188 17H196V15H188V17ZM204 17H208V15H204V17Z",fill:"#F8F8F8",mask:"url(#path-1-inside-1_2098_5511)"}),d.jsx("mask",{id:"path-3-inside-2_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 16H208V32H0V16Z"})}),d.jsx("path",{d:"M208 32.5C208.276 32.5 208.5 32.2761 208.5 32C208.5 31.7239 208.276 31.5 208 31.5V32.5ZM0 31.5C-0.276142 31.5 -0.5 31.7239 -0.5 32C-0.5 32.2761 -0.276142 32.5 0 32.5V31.5ZM4 32.5C4.27614 32.5 4.5 32.2761 4.5 32C4.5 31.7239 4.27614 31.5 4 31.5V32.5ZM12 31.5C11.7239 31.5 11.5 31.7239 11.5 32C11.5 32.2761 11.7239 32.5 12 32.5V31.5ZM20 32.5C20.2761 32.5 20.5 32.2761 20.5 32C20.5 31.7239 20.2761 31.5 20 31.5V32.5ZM28 31.5C27.7239 31.5 27.5 31.7239 27.5 32C27.5 32.2761 27.7239 32.5 28 32.5V31.5ZM36 32.5C36.2761 32.5 36.5 32.2761 36.5 32C36.5 31.7239 36.2761 31.5 36 31.5V32.5ZM44 31.5C43.7239 31.5 43.5 31.7239 43.5 32C43.5 32.2761 43.7239 32.5 44 32.5V31.5ZM52 32.5C52.2761 32.5 52.5 32.2761 52.5 32C52.5 31.7239 52.2761 31.5 52 31.5V32.5ZM60 31.5C59.7239 31.5 59.5 31.7239 59.5 32C59.5 32.2761 59.7239 32.5 60 32.5V31.5ZM68 32.5C68.2761 32.5 68.5 32.2761 68.5 32C68.5 31.7239 68.2761 31.5 68 31.5V32.5ZM76 31.5C75.7239 31.5 75.5 31.7239 75.5 32C75.5 32.2761 75.7239 32.5 76 32.5V31.5ZM84 32.5C84.2761 32.5 84.5 32.2761 84.5 32C84.5 31.7239 84.2761 31.5 84 31.5V32.5ZM92 31.5C91.7239 31.5 91.5 31.7239 91.5 32C91.5 32.2761 91.7239 32.5 92 32.5V31.5ZM100 32.5C100.276 32.5 100.5 32.2761 100.5 32C100.5 31.7239 100.276 31.5 100 31.5V32.5ZM108 31.5C107.724 31.5 107.5 31.7239 107.5 32C107.5 32.2761 107.724 32.5 108 32.5V31.5ZM116 32.5C116.276 32.5 116.5 32.2761 116.5 32C116.5 31.7239 116.276 31.5 116 31.5V32.5ZM124 31.5C123.724 31.5 123.5 31.7239 123.5 32C123.5 32.2761 123.724 32.5 124 32.5V31.5ZM132 32.5C132.276 32.5 132.5 32.2761 132.5 32C132.5 31.7239 132.276 31.5 132 31.5V32.5ZM140 31.5C139.724 31.5 139.5 31.7239 139.5 32C139.5 32.2761 139.724 32.5 140 32.5V31.5ZM148 32.5C148.276 32.5 148.5 32.2761 148.5 32C148.5 31.7239 148.276 31.5 148 31.5V32.5ZM156 31.5C155.724 31.5 155.5 31.7239 155.5 32C155.5 32.2761 155.724 32.5 156 32.5V31.5ZM164 32.5C164.276 32.5 164.5 32.2761 164.5 32C164.5 31.7239 164.276 31.5 164 31.5V32.5ZM172 31.5C171.724 31.5 171.5 31.7239 171.5 32C171.5 32.2761 171.724 32.5 172 32.5V31.5ZM180 32.5C180.276 32.5 180.5 32.2761 180.5 32C180.5 31.7239 180.276 31.5 180 31.5V32.5ZM188 31.5C187.724 31.5 187.5 31.7239 187.5 32C187.5 32.2761 187.724 32.5 188 32.5V31.5ZM196 32.5C196.276 32.5 196.5 32.2761 196.5 32C196.5 31.7239 196.276 31.5 196 31.5V32.5ZM204 31.5C203.724 31.5 203.5 31.7239 203.5 32C203.5 32.2761 203.724 32.5 204 32.5V31.5ZM0 32.5H4V31.5H0V32.5ZM12 32.5H20V31.5H12V32.5ZM28 32.5H36V31.5H28V32.5ZM44 32.5H52V31.5H44V32.5ZM60 32.5H68V31.5H60V32.5ZM76 32.5H84V31.5H76V32.5ZM92 32.5H100V31.5H92V32.5ZM108 32.5H116V31.5H108V32.5ZM124 32.5H132V31.5H124V32.5ZM140 32.5H148V31.5H140V32.5ZM156 32.5H164V31.5H156V32.5ZM172 32.5H180V31.5H172V32.5ZM188 32.5H196V31.5H188V32.5ZM204 32.5H208V31.5H204V32.5ZM208 33C208.552 33 209 32.5523 209 32C209 31.4477 208.552 31 208 31V33ZM0 31C-0.552285 31 -1 31.4477 -1 32C-1 32.5523 -0.552285 33 0 33V31ZM4 33C4.55228 33 5 32.5523 5 32C5 31.4477 4.55228 31 4 31V33ZM12 31C11.4477 31 11 31.4477 11 32C11 32.5523 11.4477 33 12 33V31ZM20 33C20.5523 33 21 32.5523 21 32C21 31.4477 20.5523 31 20 31V33ZM28 31C27.4477 31 27 31.4477 27 32C27 32.5523 27.4477 33 28 33V31ZM36 33C36.5523 33 37 32.5523 37 32C37 31.4477 36.5523 31 36 31V33ZM44 31C43.4477 31 43 31.4477 43 32C43 32.5523 43.4477 33 44 33V31ZM52 33C52.5523 33 53 32.5523 53 32C53 31.4477 52.5523 31 52 31V33ZM60 31C59.4477 31 59 31.4477 59 32C59 32.5523 59.4477 33 60 33V31ZM68 33C68.5523 33 69 32.5523 69 32C69 31.4477 68.5523 31 68 31V33ZM76 31C75.4477 31 75 31.4477 75 32C75 32.5523 75.4477 33 76 33V31ZM84 33C84.5523 33 85 32.5523 85 32C85 31.4477 84.5523 31 84 31V33ZM92 31C91.4477 31 91 31.4477 91 32C91 32.5523 91.4477 33 92 33V31ZM100 33C100.552 33 101 32.5523 101 32C101 31.4477 100.552 31 100 31V33ZM108 31C107.448 31 107 31.4477 107 32C107 32.5523 107.448 33 108 33V31ZM116 33C116.552 33 117 32.5523 117 32C117 31.4477 116.552 31 116 31V33ZM124 31C123.448 31 123 31.4477 123 32C123 32.5523 123.448 33 124 33V31ZM132 33C132.552 33 133 32.5523 133 32C133 31.4477 132.552 31 132 31V33ZM140 31C139.448 31 139 31.4477 139 32C139 32.5523 139.448 33 140 33V31ZM148 33C148.552 33 149 32.5523 149 32C149 31.4477 148.552 31 148 31V33ZM156 31C155.448 31 155 31.4477 155 32C155 32.5523 155.448 33 156 33V31ZM164 33C164.552 33 165 32.5523 165 32C165 31.4477 164.552 31 164 31V33ZM172 31C171.448 31 171 31.4477 171 32C171 32.5523 171.448 33 172 33V31ZM180 33C180.552 33 181 32.5523 181 32C181 31.4477 180.552 31 180 31V33ZM188 31C187.448 31 187 31.4477 187 32C187 32.5523 187.448 33 188 33V31ZM196 33C196.552 33 197 32.5523 197 32C197 31.4477 196.552 31 196 31V33ZM204 31C203.448 31 203 31.4477 203 32C203 32.5523 203.448 33 204 33V31ZM0 33H4V31H0V33ZM12 33H20V31H12V33ZM28 33H36V31H28V33ZM44 33H52V31H44V33ZM60 33H68V31H60V33ZM76 33H84V31H76V33ZM92 33H100V31H92V33ZM108 33H116V31H108V33ZM124 33H132V31H124V33ZM140 33H148V31H140V33ZM156 33H164V31H156V33ZM172 33H180V31H172V33ZM188 33H196V31H188V33ZM204 33H208V31H204V33Z",fill:"#F8F8F8",mask:"url(#path-3-inside-2_2098_5511)"}),d.jsx("mask",{id:"path-5-inside-3_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 32H208V48H0V32Z"})}),d.jsx("path",{d:"M208 48.5C208.276 48.5 208.5 48.2761 208.5 48C208.5 47.7239 208.276 47.5 208 47.5V48.5ZM0 47.5C-0.276142 47.5 -0.5 47.7239 -0.5 48C-0.5 48.2761 -0.276142 48.5 0 48.5V47.5ZM4 48.5C4.27614 48.5 4.5 48.2761 4.5 48C4.5 47.7239 4.27614 47.5 4 47.5V48.5ZM12 47.5C11.7239 47.5 11.5 47.7239 11.5 48C11.5 48.2761 11.7239 48.5 12 48.5V47.5ZM20 48.5C20.2761 48.5 20.5 48.2761 20.5 48C20.5 47.7239 20.2761 47.5 20 47.5V48.5ZM28 47.5C27.7239 47.5 27.5 47.7239 27.5 48C27.5 48.2761 27.7239 48.5 28 48.5V47.5ZM36 48.5C36.2761 48.5 36.5 48.2761 36.5 48C36.5 47.7239 36.2761 47.5 36 47.5V48.5ZM44 47.5C43.7239 47.5 43.5 47.7239 43.5 48C43.5 48.2761 43.7239 48.5 44 48.5V47.5ZM52 48.5C52.2761 48.5 52.5 48.2761 52.5 48C52.5 47.7239 52.2761 47.5 52 47.5V48.5ZM60 47.5C59.7239 47.5 59.5 47.7239 59.5 48C59.5 48.2761 59.7239 48.5 60 48.5V47.5ZM68 48.5C68.2761 48.5 68.5 48.2761 68.5 48C68.5 47.7239 68.2761 47.5 68 47.5V48.5ZM76 47.5C75.7239 47.5 75.5 47.7239 75.5 48C75.5 48.2761 75.7239 48.5 76 48.5V47.5ZM84 48.5C84.2761 48.5 84.5 48.2761 84.5 48C84.5 47.7239 84.2761 47.5 84 47.5V48.5ZM92 47.5C91.7239 47.5 91.5 47.7239 91.5 48C91.5 48.2761 91.7239 48.5 92 48.5V47.5ZM100 48.5C100.276 48.5 100.5 48.2761 100.5 48C100.5 47.7239 100.276 47.5 100 47.5V48.5ZM108 47.5C107.724 47.5 107.5 47.7239 107.5 48C107.5 48.2761 107.724 48.5 108 48.5V47.5ZM116 48.5C116.276 48.5 116.5 48.2761 116.5 48C116.5 47.7239 116.276 47.5 116 47.5V48.5ZM124 47.5C123.724 47.5 123.5 47.7239 123.5 48C123.5 48.2761 123.724 48.5 124 48.5V47.5ZM132 48.5C132.276 48.5 132.5 48.2761 132.5 48C132.5 47.7239 132.276 47.5 132 47.5V48.5ZM140 47.5C139.724 47.5 139.5 47.7239 139.5 48C139.5 48.2761 139.724 48.5 140 48.5V47.5ZM148 48.5C148.276 48.5 148.5 48.2761 148.5 48C148.5 47.7239 148.276 47.5 148 47.5V48.5ZM156 47.5C155.724 47.5 155.5 47.7239 155.5 48C155.5 48.2761 155.724 48.5 156 48.5V47.5ZM164 48.5C164.276 48.5 164.5 48.2761 164.5 48C164.5 47.7239 164.276 47.5 164 47.5V48.5ZM172 47.5C171.724 47.5 171.5 47.7239 171.5 48C171.5 48.2761 171.724 48.5 172 48.5V47.5ZM180 48.5C180.276 48.5 180.5 48.2761 180.5 48C180.5 47.7239 180.276 47.5 180 47.5V48.5ZM188 47.5C187.724 47.5 187.5 47.7239 187.5 48C187.5 48.2761 187.724 48.5 188 48.5V47.5ZM196 48.5C196.276 48.5 196.5 48.2761 196.5 48C196.5 47.7239 196.276 47.5 196 47.5V48.5ZM204 47.5C203.724 47.5 203.5 47.7239 203.5 48C203.5 48.2761 203.724 48.5 204 48.5V47.5ZM0 48.5H4V47.5H0V48.5ZM12 48.5H20V47.5H12V48.5ZM28 48.5H36V47.5H28V48.5ZM44 48.5H52V47.5H44V48.5ZM60 48.5H68V47.5H60V48.5ZM76 48.5H84V47.5H76V48.5ZM92 48.5H100V47.5H92V48.5ZM108 48.5H116V47.5H108V48.5ZM124 48.5H132V47.5H124V48.5ZM140 48.5H148V47.5H140V48.5ZM156 48.5H164V47.5H156V48.5ZM172 48.5H180V47.5H172V48.5ZM188 48.5H196V47.5H188V48.5ZM204 48.5H208V47.5H204V48.5ZM208 49C208.552 49 209 48.5523 209 48C209 47.4477 208.552 47 208 47V49ZM0 47C-0.552285 47 -1 47.4477 -1 48C-1 48.5523 -0.552285 49 0 49V47ZM4 49C4.55228 49 5 48.5523 5 48C5 47.4477 4.55228 47 4 47V49ZM12 47C11.4477 47 11 47.4477 11 48C11 48.5523 11.4477 49 12 49V47ZM20 49C20.5523 49 21 48.5523 21 48C21 47.4477 20.5523 47 20 47V49ZM28 47C27.4477 47 27 47.4477 27 48C27 48.5523 27.4477 49 28 49V47ZM36 49C36.5523 49 37 48.5523 37 48C37 47.4477 36.5523 47 36 47V49ZM44 47C43.4477 47 43 47.4477 43 48C43 48.5523 43.4477 49 44 49V47ZM52 49C52.5523 49 53 48.5523 53 48C53 47.4477 52.5523 47 52 47V49ZM60 47C59.4477 47 59 47.4477 59 48C59 48.5523 59.4477 49 60 49V47ZM68 49C68.5523 49 69 48.5523 69 48C69 47.4477 68.5523 47 68 47V49ZM76 47C75.4477 47 75 47.4477 75 48C75 48.5523 75.4477 49 76 49V47ZM84 49C84.5523 49 85 48.5523 85 48C85 47.4477 84.5523 47 84 47V49ZM92 47C91.4477 47 91 47.4477 91 48C91 48.5523 91.4477 49 92 49V47ZM100 49C100.552 49 101 48.5523 101 48C101 47.4477 100.552 47 100 47V49ZM108 47C107.448 47 107 47.4477 107 48C107 48.5523 107.448 49 108 49V47ZM116 49C116.552 49 117 48.5523 117 48C117 47.4477 116.552 47 116 47V49ZM124 47C123.448 47 123 47.4477 123 48C123 48.5523 123.448 49 124 49V47ZM132 49C132.552 49 133 48.5523 133 48C133 47.4477 132.552 47 132 47V49ZM140 47C139.448 47 139 47.4477 139 48C139 48.5523 139.448 49 140 49V47ZM148 49C148.552 49 149 48.5523 149 48C149 47.4477 148.552 47 148 47V49ZM156 47C155.448 47 155 47.4477 155 48C155 48.5523 155.448 49 156 49V47ZM164 49C164.552 49 165 48.5523 165 48C165 47.4477 164.552 47 164 47V49ZM172 47C171.448 47 171 47.4477 171 48C171 48.5523 171.448 49 172 49V47ZM180 49C180.552 49 181 48.5523 181 48C181 47.4477 180.552 47 180 47V49ZM188 47C187.448 47 187 47.4477 187 48C187 48.5523 187.448 49 188 49V47ZM196 49C196.552 49 197 48.5523 197 48C197 47.4477 196.552 47 196 47V49ZM204 47C203.448 47 203 47.4477 203 48C203 48.5523 203.448 49 204 49V47ZM0 49H4V47H0V49ZM12 49H20V47H12V49ZM28 49H36V47H28V49ZM44 49H52V47H44V49ZM60 49H68V47H60V49ZM76 49H84V47H76V49ZM92 49H100V47H92V49ZM108 49H116V47H108V49ZM124 49H132V47H124V49ZM140 49H148V47H140V49ZM156 49H164V47H156V49ZM172 49H180V47H172V49ZM188 49H196V47H188V49ZM204 49H208V47H204V49Z",fill:"#F8F8F8",mask:"url(#path-5-inside-3_2098_5511)"}),d.jsx("mask",{id:"path-7-inside-4_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 48H208V64H0V48Z"})}),d.jsx("path",{d:"M208 64.5C208.276 64.5 208.5 64.2761 208.5 64C208.5 63.7239 208.276 63.5 208 63.5V64.5ZM0 63.5C-0.276142 63.5 -0.5 63.7239 -0.5 64C-0.5 64.2761 -0.276142 64.5 0 64.5V63.5ZM4 64.5C4.27614 64.5 4.5 64.2761 4.5 64C4.5 63.7239 4.27614 63.5 4 63.5V64.5ZM12 63.5C11.7239 63.5 11.5 63.7239 11.5 64C11.5 64.2761 11.7239 64.5 12 64.5V63.5ZM20 64.5C20.2761 64.5 20.5 64.2761 20.5 64C20.5 63.7239 20.2761 63.5 20 63.5V64.5ZM28 63.5C27.7239 63.5 27.5 63.7239 27.5 64C27.5 64.2761 27.7239 64.5 28 64.5V63.5ZM36 64.5C36.2761 64.5 36.5 64.2761 36.5 64C36.5 63.7239 36.2761 63.5 36 63.5V64.5ZM44 63.5C43.7239 63.5 43.5 63.7239 43.5 64C43.5 64.2761 43.7239 64.5 44 64.5V63.5ZM52 64.5C52.2761 64.5 52.5 64.2761 52.5 64C52.5 63.7239 52.2761 63.5 52 63.5V64.5ZM60 63.5C59.7239 63.5 59.5 63.7239 59.5 64C59.5 64.2761 59.7239 64.5 60 64.5V63.5ZM68 64.5C68.2761 64.5 68.5 64.2761 68.5 64C68.5 63.7239 68.2761 63.5 68 63.5V64.5ZM76 63.5C75.7239 63.5 75.5 63.7239 75.5 64C75.5 64.2761 75.7239 64.5 76 64.5V63.5ZM84 64.5C84.2761 64.5 84.5 64.2761 84.5 64C84.5 63.7239 84.2761 63.5 84 63.5V64.5ZM92 63.5C91.7239 63.5 91.5 63.7239 91.5 64C91.5 64.2761 91.7239 64.5 92 64.5V63.5ZM100 64.5C100.276 64.5 100.5 64.2761 100.5 64C100.5 63.7239 100.276 63.5 100 63.5V64.5ZM108 63.5C107.724 63.5 107.5 63.7239 107.5 64C107.5 64.2761 107.724 64.5 108 64.5V63.5ZM116 64.5C116.276 64.5 116.5 64.2761 116.5 64C116.5 63.7239 116.276 63.5 116 63.5V64.5ZM124 63.5C123.724 63.5 123.5 63.7239 123.5 64C123.5 64.2761 123.724 64.5 124 64.5V63.5ZM132 64.5C132.276 64.5 132.5 64.2761 132.5 64C132.5 63.7239 132.276 63.5 132 63.5V64.5ZM140 63.5C139.724 63.5 139.5 63.7239 139.5 64C139.5 64.2761 139.724 64.5 140 64.5V63.5ZM148 64.5C148.276 64.5 148.5 64.2761 148.5 64C148.5 63.7239 148.276 63.5 148 63.5V64.5ZM156 63.5C155.724 63.5 155.5 63.7239 155.5 64C155.5 64.2761 155.724 64.5 156 64.5V63.5ZM164 64.5C164.276 64.5 164.5 64.2761 164.5 64C164.5 63.7239 164.276 63.5 164 63.5V64.5ZM172 63.5C171.724 63.5 171.5 63.7239 171.5 64C171.5 64.2761 171.724 64.5 172 64.5V63.5ZM180 64.5C180.276 64.5 180.5 64.2761 180.5 64C180.5 63.7239 180.276 63.5 180 63.5V64.5ZM188 63.5C187.724 63.5 187.5 63.7239 187.5 64C187.5 64.2761 187.724 64.5 188 64.5V63.5ZM196 64.5C196.276 64.5 196.5 64.2761 196.5 64C196.5 63.7239 196.276 63.5 196 63.5V64.5ZM204 63.5C203.724 63.5 203.5 63.7239 203.5 64C203.5 64.2761 203.724 64.5 204 64.5V63.5ZM0 64.5H4V63.5H0V64.5ZM12 64.5H20V63.5H12V64.5ZM28 64.5H36V63.5H28V64.5ZM44 64.5H52V63.5H44V64.5ZM60 64.5H68V63.5H60V64.5ZM76 64.5H84V63.5H76V64.5ZM92 64.5H100V63.5H92V64.5ZM108 64.5H116V63.5H108V64.5ZM124 64.5H132V63.5H124V64.5ZM140 64.5H148V63.5H140V64.5ZM156 64.5H164V63.5H156V64.5ZM172 64.5H180V63.5H172V64.5ZM188 64.5H196V63.5H188V64.5ZM204 64.5H208V63.5H204V64.5ZM208 65C208.552 65 209 64.5523 209 64C209 63.4477 208.552 63 208 63V65ZM0 63C-0.552285 63 -1 63.4477 -1 64C-1 64.5523 -0.552285 65 0 65V63ZM4 65C4.55228 65 5 64.5523 5 64C5 63.4477 4.55228 63 4 63V65ZM12 63C11.4477 63 11 63.4477 11 64C11 64.5523 11.4477 65 12 65V63ZM20 65C20.5523 65 21 64.5523 21 64C21 63.4477 20.5523 63 20 63V65ZM28 63C27.4477 63 27 63.4477 27 64C27 64.5523 27.4477 65 28 65V63ZM36 65C36.5523 65 37 64.5523 37 64C37 63.4477 36.5523 63 36 63V65ZM44 63C43.4477 63 43 63.4477 43 64C43 64.5523 43.4477 65 44 65V63ZM52 65C52.5523 65 53 64.5523 53 64C53 63.4477 52.5523 63 52 63V65ZM60 63C59.4477 63 59 63.4477 59 64C59 64.5523 59.4477 65 60 65V63ZM68 65C68.5523 65 69 64.5523 69 64C69 63.4477 68.5523 63 68 63V65ZM76 63C75.4477 63 75 63.4477 75 64C75 64.5523 75.4477 65 76 65V63ZM84 65C84.5523 65 85 64.5523 85 64C85 63.4477 84.5523 63 84 63V65ZM92 63C91.4477 63 91 63.4477 91 64C91 64.5523 91.4477 65 92 65V63ZM100 65C100.552 65 101 64.5523 101 64C101 63.4477 100.552 63 100 63V65ZM108 63C107.448 63 107 63.4477 107 64C107 64.5523 107.448 65 108 65V63ZM116 65C116.552 65 117 64.5523 117 64C117 63.4477 116.552 63 116 63V65ZM124 63C123.448 63 123 63.4477 123 64C123 64.5523 123.448 65 124 65V63ZM132 65C132.552 65 133 64.5523 133 64C133 63.4477 132.552 63 132 63V65ZM140 63C139.448 63 139 63.4477 139 64C139 64.5523 139.448 65 140 65V63ZM148 65C148.552 65 149 64.5523 149 64C149 63.4477 148.552 63 148 63V65ZM156 63C155.448 63 155 63.4477 155 64C155 64.5523 155.448 65 156 65V63ZM164 65C164.552 65 165 64.5523 165 64C165 63.4477 164.552 63 164 63V65ZM172 63C171.448 63 171 63.4477 171 64C171 64.5523 171.448 65 172 65V63ZM180 65C180.552 65 181 64.5523 181 64C181 63.4477 180.552 63 180 63V65ZM188 63C187.448 63 187 63.4477 187 64C187 64.5523 187.448 65 188 65V63ZM196 65C196.552 65 197 64.5523 197 64C197 63.4477 196.552 63 196 63V65ZM204 63C203.448 63 203 63.4477 203 64C203 64.5523 203.448 65 204 65V63ZM0 65H4V63H0V65ZM12 65H20V63H12V65ZM28 65H36V63H28V65ZM44 65H52V63H44V65ZM60 65H68V63H60V65ZM76 65H84V63H76V65ZM92 65H100V63H92V65ZM108 65H116V63H108V65ZM124 65H132V63H124V65ZM140 65H148V63H140V65ZM156 65H164V63H156V65ZM172 65H180V63H172V65ZM188 65H196V63H188V65ZM204 65H208V63H204V65Z",fill:"#F8F8F8",mask:"url(#path-7-inside-4_2098_5511)"}),d.jsx("path",{opacity:"0.25",d:"M188.216 21.8308L192.267 33.3363C192.984 35.3729 195.553 36.0079 197.136 34.5401L200.346 31.5644C200.704 31.2324 200.976 30.8179 201.137 30.357L202.893 25.3492L207.891 8.63898C207.962 8.40249 207.998 8.15696 207.998 7.91011V61C207.998 62.6569 206.655 64 204.998 64H2.99805C1.34119 64 -0.00195312 62.6569 -0.00195312 61V38.199C-0.00195312 37.5477 0.209976 36.9142 0.601822 36.394L4.07924 31.7775C5.46086 29.9434 8.30679 30.2781 9.22513 32.3828L13.7407 42.7321C14.1196 43.6005 14.8865 44.2389 15.8092 44.454L20.4905 45.5454C21.1539 45.7 21.8501 45.6244 22.4647 45.3308L27.6593 42.8495C28.3218 42.533 28.8452 41.9846 29.1305 41.3081L33.0958 31.9045C34.1272 29.4587 37.593 29.4587 38.6244 31.9045L39.704 34.4648C40.8065 37.0793 44.5863 36.8438 45.3559 34.1128L49.5889 19.0897C49.9533 17.7966 51.133 16.9033 52.4765 16.9033H56.4941C57.0707 16.9033 57.6351 16.7372 58.1197 16.4247L61.1576 14.466C62.8476 13.3764 65.11 14.2251 65.6662 16.1575L70.599 33.2936C71.1572 35.2328 73.4323 36.079 75.122 34.9758L75.9273 34.45C77.4802 33.4361 79.5719 34.0601 80.3156 35.7591L84.8676 46.1586C85.5306 47.6733 87.2942 48.366 88.8108 47.7074L91.9453 46.3462C92.765 45.9903 93.3833 45.2875 93.632 44.4292L99.0729 25.6458C99.6874 23.5244 102.321 22.7938 103.941 24.2955C105.587 25.8222 108.267 25.0377 108.831 22.864L112.541 8.54954C113.26 5.77543 117.087 5.49227 118.207 8.13037L120.305 13.0767C121.105 14.9603 123.513 15.5086 125.049 14.1567L125.58 13.6896C127.224 12.2425 129.814 12.9875 130.438 15.0869L134.329 28.1818C135.073 30.6853 138.439 31.1086 139.779 28.8673L142.671 24.0333C143.159 23.2175 144.004 22.6813 144.95 22.5878L149.822 22.1065C150.344 22.0549 150.843 21.8672 151.271 21.5621L154.984 18.9089C156.467 17.8494 158.544 18.346 159.388 19.9617L161.285 23.5972C162.565 26.0491 166.199 25.6102 166.858 22.9241L169.511 12.1165C170.239 9.14844 174.421 9.04274 175.298 11.9702L177.723 20.0592C178.406 22.3382 181.343 22.9532 182.883 21.1398L183.099 20.8852C184.598 19.1202 187.447 19.6467 188.216 21.8308Z",fill:"url(#paint0_linear_2098_5511)"}),d.jsx("path",{d:"M207.998 8.42336L201.106 31.2146C200.924 31.8169 200.557 32.3467 200.057 32.729L196.94 35.1136C195.319 36.3534 192.96 35.6482 192.286 33.7223L188.181 22.0024C187.422 19.8338 184.606 19.289 183.092 21.0179L182.846 21.2991C181.3 23.0654 178.416 22.4516 177.723 20.2087L175.29 12.336C174.395 9.4396 170.259 9.54691 169.515 12.4858L166.857 22.9946C166.185 25.6477 162.603 26.0903 161.306 23.6803L159.382 20.1042C158.534 18.5278 156.503 18.0404 155.031 19.0601L151.262 21.6725C150.84 21.9649 150.35 22.1442 149.839 22.1931L144.931 22.6636C143.996 22.7532 143.157 23.2757 142.664 24.0754L139.754 28.7942C138.4 30.9907 135.088 30.5657 134.332 28.0982L130.441 15.3948C129.808 13.3298 127.267 12.5895 125.624 13.9921L125.005 14.5209C123.474 15.8283 121.115 15.2863 120.308 13.4417L118.191 8.60225C117.054 6.00226 113.277 6.28847 112.544 9.03014L108.848 22.8647C108.27 25.0292 105.606 25.8158 103.94 24.3175V24.3175C102.303 22.8447 99.6856 23.5762 99.0555 25.6864L93.6445 43.8072C93.388 44.6663 92.7608 45.3656 91.9346 45.7136L88.763 47.0496C87.2632 47.6814 85.5332 47.0022 84.8638 45.5188L80.3156 35.4387C79.5653 33.7759 77.517 33.1621 75.9758 34.1381L75.0745 34.709C73.393 35.774 71.1595 34.9362 70.5933 33.028L65.672 16.4433C65.1078 14.5419 62.8867 13.7015 61.2051 14.7533L58.1073 16.6909C57.6303 16.9892 57.079 17.1474 56.5164 17.1474H52.4575C51.123 17.1474 49.9489 18.029 49.5766 19.3106L45.3511 33.8582C44.5676 36.5556 40.8386 36.7934 39.7188 34.2174L38.6114 31.6698C37.5658 29.2644 34.1544 29.2644 33.1088 31.6698L29.1425 40.7941C28.8495 41.4681 28.3193 42.0111 27.6525 42.3201L22.4421 44.7345C21.8411 45.0129 21.165 45.0847 20.519 44.9386L15.803 43.872C14.8836 43.6641 14.1154 43.0362 13.7288 42.1765L9.21662 32.1447C8.28874 30.0817 5.49845 29.7487 4.11113 31.5353L-0.00196201 36.8322",stroke:"#FF3F19"})]}),d.jsxs("defs",{children:[d.jsxs("linearGradient",{id:"paint0_linear_2098_5511",x1:"103.998",y1:"0",x2:"103.998",y2:"64",gradientUnits:"userSpaceOnUse",children:[d.jsx("stop",{stopColor:"#FF3F19"}),d.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),d.jsx("clipPath",{id:"clip0_2098_5511",children:d.jsx("rect",{width:"208",height:"64",fill:"white"})})]})]})}),nk=({adaptiveStyles:e})=>{const[t,n]=k.useState(null),[r,i]=k.useState(!1),[a,u]=k.useState(!1),[s,c]=k.useState(!1);if(k.useEffect(()=>{i(!0),u(!0),(async()=>{const m=await VE();n(m)})(),i(!1),u(!1)},[]),!t)return d.jsx(Nn,{});const{isAvailable:l,isActivated:f,info:h}=t.data;return l?d.jsxs("div",{children:[d.jsxs("div",{className:ge(Oe.referral,{[Oe.mobile]:e!=="desktop"}),children:[d.jsx("div",{className:ge(Oe.referralBlock,{[Oe.mobile]:e!=="desktop"}),children:r?d.jsx(ik,{adaptiveStyles:e}):d.jsxs("div",{className:Oe.referralContainer,children:[d.jsx("div",{id:"h2",className:Oe.title,children:"Refer friends"}),d.jsx("div",{className:Oe.description,id:"lg",children:"Refer friends. Earn rewards. Make bank."}),f?d.jsx(d.Fragment,{children:d.jsx(ok,{referral:t})}):d.jsx(d.Fragment,{children:d.jsx(rk,{setIsOpen:c})})]})}),a?d.jsx("div",{className:Oe.referralStats}):d.jsxs("div",{className:ge(Oe.referralStats,{[Oe.mobile]:e!=="desktop"}),children:[d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Referrals"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:h!=null&&h.totalReferrals?`${h.totalReferrals} person`:"-"}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earned"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:"-"}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Total Revenue"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:Dn({amount:(h==null?void 0:h.totalRevenueUsd)||0})}),d.jsx(ku,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earn Procent"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:`${t.data.earnPercent}%`||"-"}),d.jsx(ku,{})]})]})]}),s&&d.jsx(Vs,{close:()=>c(!1),children:d.jsx(tk,{setIsOpen:c,setIsLoading:i})})]}):null},rk=({setIsOpen:e})=>{const{setIsOpen:t}=eo();return d.jsxs("div",{className:Oe.steps,onClick:n=>n.stopPropagation(),children:[d.jsx(wt,{type:"Primary",className:Oe.joinButton,onClick:()=>{e(!0),t(!0)},children:"Join the referral Program"}),d.jsx("div",{children:xI.map(({caption:n,description:r},i,a)=>d.jsx(ek,{caption:n,description:r,index:i+1,bar:i+1!==a.length},n))})]})},ok=({referral:e})=>{var a,u;const{shopDomain:t}=Ao(),n=`https://${t}/?r=${(a=e.data.info)==null?void 0:a.referralCode}`,{notifications:r,setNotifications:i}=fn();return d.jsxs("div",{className:Oe.referralInfo,children:[d.jsx(Zo,{onChange:()=>{},label:"Affiliate Code",value:((u=e.data.info)==null?void 0:u.referralCode)||"",disabled:!0}),d.jsx("div",{className:Oe.linkContainer,children:d.jsx(Zo,{onChange:()=>{},label:"Affiliate Link",value:n,disabled:!0,rightIcon:d.jsx(ie,{name:"Copy",fill:"var(--text-action)",onClick:()=>{navigator.clipboard.writeText(n),i([...r,{message:"Link copied to clipboard",status:"success",id:mt()}])},hoverable:!0})})})]})},ik=({adaptiveStyles:e})=>d.jsxs(Mi,{speed:2,width:500,height:"100%",viewBox:"0 0 500 305",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(Oe.skeleton,{[Oe.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:[d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"264",height:"40"}),d.jsx("rect",{x:"0",y:"45",rx:"10",ry:"10",width:"160",height:"24"}),d.jsx("rect",{x:"0",y:"100",rx:"10",ry:"10",width:"100",height:"40"}),d.jsx("rect",{x:"0",y:"150",rx:"10",ry:"10",width:"476",height:"40"}),d.jsx("rect",{x:"0",y:"220",rx:"10",ry:"10",width:"428",height:"50"})]}),ak="_title_u8oqs_1",uk="_heading_u8oqs_10",sk="_description_u8oqs_15",Mc={title:ak,heading:uk,description:sk},tu=({title:e,description:t})=>d.jsxs("div",{className:Mc.title,children:[d.jsx("div",{id:"h3",className:Mc.heading,children:e}),t&&d.jsx("div",{className:Mc.description,id:"lg",children:t})]}),ck="_noItemsBlock_yefnm_4",lk="_noItemsBlockIcon_yefnm_13",dk="_noItemsBlockTitle_yefnm_21",fk="_noItemsBlockDescription_yefnm_31",hk="_centered_yefnm_37",ra={noItemsBlock:ck,noItemsBlockIcon:lk,noItemsBlockTitle:dk,noItemsBlockDescription:fk,centered:hk},nu=({title:e,description:t,className:n,centered:r=!1})=>d.jsxs("div",{className:ge(ra.noItemsBlock,n,{[ra.centered]:r}),children:[d.jsx("div",{className:ra.noItemsBlockIcon,children:d.jsx(ie,{name:"Info",fill:"var(--text-secondary)"})}),d.jsx("div",{className:ra.noItemsBlockTitle,id:"h4",children:e}),d.jsx("div",{className:ra.noItemsBlockDescription,id:"md",children:t})]}),pk="_ordersTable_1btyq_2",mk="_gatewayItem_1btyq_10",gk="_gatewayIcon_1btyq_15",bk="_orderTime_1btyq_20",Ck="_reviewContainer_1btyq_25",Ik="_reviewRating_1btyq_35",yk="_tableLoader_1btyq_39",Ek="_tableItem_1btyq_48",qn={ordersTable:pk,gatewayItem:mk,gatewayIcon:gk,orderTime:bk,reviewContainer:Ck,reviewRating:Ik,tableLoader:yk,tableItem:Ek};var $o=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.WARNING=2]="WARNING",e[e.ERROR=3]="ERROR",e))($o||{});const Sk={[Ze.New]:2,[Ze.Pending]:2,[Ze.Completed]:1,[Ze.Cancelled]:3,[Ze.Expired]:3,[Ze.FullDeliveryFailure]:3,[Ze.PartiallyDelivered]:2,[Ze.Refunded]:2,[Ze.Failed]:3},xk=(e,t)=>{const n=t.find(r=>r.name===e);return n?d.jsxs("div",{className:qn.gatewayItem,children:[(n==null?void 0:n.name)==="ForebitPayments"?d.jsx(Y2,{}):n.name==="Balance"?d.jsx(ie,{name:"Wallet",fill:"var(--text-primary)",width:20,height:20,style:{marginRight:"0.25rem"}}):d.jsx("img",{alt:n.displayName,src:ir(n.logoCfImageId),className:qn.gatewayIcon}),d.jsx("div",{id:"md",children:n.displayName})]}):null},_k=({item:e,gatewaysDetail:t})=>{const[n,r]=Ra(e.time),{isAntistock:i}=gt();return d.jsxs(k.Fragment,{children:[d.jsx(hn,{copyText:e.id,children:d.jsx(os,{to:`/orders/${e.id}/${e.accessToken}`,id:"md",children:e.id})}),d.jsx(hn,{children:d.jsx(os,{to:`/orders/${e.id}/${e.accessToken}`,children:d.jsx(Xk,{status:e.status,variant:Sk[e.status]})})}),d.jsx(hn,{children:Dn(e.price)}),d.jsx(hn,{children:xk(e.gatewayName,t)}),d.jsx(hn,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:qn.orderTime,id:"md",children:r})]})}),!i&&d.jsx(hn,{children:e.review?d.jsxs("div",{className:qn.reviewContainer,children:[d.jsx(ie,{name:"Star",fill:"var(--text-secondary)"}),d.jsx("div",{className:qn.reviewRating,id:"md",children:e.review.rating})]}):d.jsx("span",{id:"md",children:"None"})})]},e.id)},Tk=({orders:e,gatewaysDetail:t,totalCount:n,isLoading:r})=>{const{page:i,setPage:a}=Xo(),{isAntistock:u}=gt(),c=!(!(e!=null&&e.length)||!t)&&e.length>0;return d.jsxs("div",{className:qn.ordersTable,children:[d.jsxs(Gd,{children:[d.jsx(yn,{className:qn.tableItem,children:"Invoice ID"}),d.jsx(yn,{className:qn.tableItem,children:"Status"}),d.jsx(yn,{className:qn.tableItem,children:"Value"}),d.jsx(yn,{className:qn.tableItem,children:"Payment"}),d.jsx(yn,{className:qn.tableItem,children:"Date"}),!u&&d.jsx(yn,{className:qn.tableItem,children:"Review"}),c&&!r&&e.map(l=>d.jsx(_k,{item:l,gatewaysDetail:t},l.id))]}),(!c||r)&&d.jsx("div",{className:qn.tableLoader,children:d.jsx(Nn,{})}),c&&!r&&d.jsx(qs,{currentPage:i,totalCount:n,onPageChange:a})]})},wk="_ticketsTable_1ney1_4",Ak="_antistockTable_1ney1_4",kk="_table_1ney1_4",vk="_tableItem_1ney1_22",Lk="_text_1ney1_47",Dk="_tableItemTitle_1ney1_54",gi={ticketsTable:wk,antistockTable:Ak,table:kk,tableItem:vk,text:Lk,tableItemTitle:Dk},hn=({children:e,className:t,onClick:n,copyText:r,id:i})=>{const a=Us();return d.jsxs("div",{className:ge(gi.tableItem,t),onClick:n,style:{cursor:n?"pointer":"default"},children:[d.jsx("span",{className:gi.text,id:i||"md",children:e})," ",r&&d.jsx("div",{style:{minWidth:"24px"},children:d.jsx(ie,{name:"Copy",hoverable:!0,onClick:()=>a(r),width:24,height:24})})]})},yn=({children:e,className:t})=>d.jsx(hn,{className:ge(gi.tableItemTitle,t),id:"lg",children:e}),Gd=({children:e,className:t})=>{const{isAntistock:n}=gt(),r=t==null?void 0:t.includes("ticketsTable");return d.jsx("div",{className:ge(t,r?gi.ticketsTable:n?gi.antistockTable:gi.table),children:e})},Nk="_paginationContainer_pt4l5_4",Rk="_paginationWithRange_pt4l5_16",Pk="_paginationWithRangeText_pt4l5_33",Ok="_paginationWithRangePagination_pt4l5_45",Yu={paginationContainer:Nk,paginationWithRange:Rk,paginationWithRangeText:Pk,paginationWithRangePagination:Ok},vu=(e,t)=>Array.from({length:t-e+1},(n,r)=>e+r),Mk=(e,t,n)=>{const r=n*2+3+2;if(t<=r)return vu(1,t);const i=Math.max(e-n,1),a=Math.min(e+n,t),u=i>2,s=a<t-2;return!u&&s?[...vu(1,3+2*n),"right-ellipsis",t]:u&&!s?[1,"left-ellipsis",...vu(t-(3+2*n)+1,t)]:[1,"left-ellipsis",...vu(i,a),"right-ellipsis",t]},Fk=({currentPage:e,totalPages:t,onPageChange:n,siblingCount:r=1})=>{const i=c=>{const l=r*2+1;n(c?Math.max(e-l,1):Math.min(e+l,t))},a=e===1,u=e===t,s=c=>d.jsx(wt,{type:typeof c=="number"&&c===e?"Primary":"Secondary",onClick:()=>typeof c=="string"?i(c==="left-ellipsis"):n(c),"aria-current":typeof c=="number"&&c===e?"page":void 0,children:typeof c=="string"?"…":c},c);return d.jsxs("div",{className:Yu.paginationContainer,children:[d.jsx(wt,{type:"Secondary",onClick:()=>!a&&n(e-1),disabled:a,children:d.jsx(ie,{name:"ArrowLeft"})}),Mk(e,t,r).map(s),d.jsx(wt,{type:"Secondary",onClick:()=>!u&&n(e+1),disabled:u,children:d.jsx(ie,{name:"ArrowRight"})})]})},Bk=(e,t,n)=>{const r=(e-1)*n+1,i=Math.min(e*n,t);return`Showing ${r}-${i} entries of ${t}`},qs=({className:e,totalCount:t,...n})=>{const r=Math.ceil(t/Fl);return r<2?null:d.jsxs("div",{className:`${Yu.paginationWithRange} ${e}`,children:[d.jsx("div",{className:Yu.paginationWithRangeText,id:"md",children:Bk(n.currentPage,t,Fl)}),d.jsx("div",{className:Yu.paginationWithRangePagination,children:d.jsx(Fk,{...n,totalPages:r})})]})},Hk="_statusIndicator_bvd17_4",jk="_antistockStatus_bvd17_11",Uk="_statusIndicatorSuccess_bvd17_16",Vk="_statusIndicatorWarning_bvd17_20",zk="_statusIndicatorError_bvd17_24",$k="_statusIndicatorText_bvd17_28",bi={statusIndicator:Hk,antistockStatus:jk,statusIndicatorSuccess:Uk,statusIndicatorWarning:Vk,statusIndicatorError:zk,statusIndicatorText:$k},qk=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.2105 5.91453C11.2628 5.96677 11.3043 6.02881 11.3326 6.0971C11.3609 6.16538 11.3754 6.23858 11.3754 6.3125C11.3754 6.38642 11.3609 6.45962 11.3326 6.5279C11.3043 6.59619 11.2628 6.65823 11.2105 6.71047L7.27297 10.648C7.22073 10.7003 7.15869 10.7418 7.09041 10.7701C7.02212 10.7984 6.94892 10.8129 6.875 10.8129C6.80108 10.8129 6.72789 10.7984 6.6596 10.7701C6.59131 10.7418 6.52928 10.7003 6.47703 10.648L4.78953 8.96047C4.68399 8.85492 4.62469 8.71177 4.62469 8.5625C4.62469 8.41323 4.68399 8.27008 4.78953 8.16453C4.89508 8.05898 5.03824 7.99969 5.1875 7.99969C5.33677 7.99969 5.47992 8.05898 5.58547 8.16453L6.875 9.45477L10.4145 5.91453C10.4668 5.86223 10.5288 5.82074 10.5971 5.79244C10.6654 5.76413 10.7386 5.74956 10.8125 5.74956C10.8864 5.74956 10.9596 5.76413 11.0279 5.79244C11.0962 5.82074 11.1582 5.86223 11.2105 5.91453ZM15.3125 8C15.3125 9.44628 14.8836 10.8601 14.0801 12.0626C13.2766 13.2651 12.1346 14.2024 10.7984 14.7559C9.46219 15.3093 7.99189 15.4541 6.57341 15.172C5.15492 14.8898 3.85196 14.1934 2.82928 13.1707C1.80661 12.148 1.11017 10.8451 0.828011 9.4266C0.545857 8.00811 0.690668 6.53781 1.24413 5.20163C1.7976 3.86544 2.73486 2.72339 3.9374 1.91988C5.13993 1.11637 6.55373 0.6875 8 0.6875C9.93877 0.689547 11.7975 1.46063 13.1685 2.83154C14.5394 4.20246 15.3105 6.06123 15.3125 8ZM14.1875 8C14.1875 6.77623 13.8246 5.57994 13.1447 4.56241C12.4648 3.54488 11.4985 2.75181 10.3679 2.2835C9.23724 1.81518 7.99314 1.69264 6.79288 1.93139C5.59262 2.17014 4.49012 2.75944 3.62478 3.62478C2.75944 4.49011 2.17014 5.59262 1.93139 6.79288C1.69265 7.99314 1.81518 9.23724 2.2835 10.3679C2.75182 11.4985 3.54488 12.4648 4.56241 13.1447C5.57994 13.8246 6.77623 14.1875 8 14.1875C9.64046 14.1856 11.2132 13.5331 12.3732 12.3732C13.5331 11.2132 14.1856 9.64046 14.1875 8Z",fill:"#338B13"})}),Wk=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M8 0.6875C6.55373 0.6875 5.13993 1.11637 3.9374 1.91988C2.73486 2.72339 1.7976 3.86544 1.24413 5.20163C0.690668 6.53781 0.545857 8.00811 0.828011 9.4266C1.11017 10.8451 1.80661 12.148 2.82928 13.1707C3.85196 14.1934 5.15492 14.8898 6.57341 15.172C7.99189 15.4541 9.46219 15.3093 10.7984 14.7559C12.1346 14.2024 13.2766 13.2651 14.0801 12.0626C14.8836 10.8601 15.3125 9.44628 15.3125 8C15.3105 6.06123 14.5394 4.20246 13.1685 2.83154C11.7975 1.46063 9.93877 0.689547 8 0.6875ZM8 14.1875C6.77623 14.1875 5.57994 13.8246 4.56241 13.1447C3.54488 12.4648 2.75182 11.4985 2.2835 10.3679C1.81518 9.23724 1.69265 7.99314 1.93139 6.79288C2.17014 5.59262 2.75944 4.49011 3.62478 3.62478C4.49012 2.75944 5.59262 2.17014 6.79288 1.93139C7.99314 1.69264 9.23724 1.81518 10.3679 2.2835C11.4985 2.75181 12.4648 3.54488 13.1447 4.56241C13.8246 5.57994 14.1875 6.77623 14.1875 8C14.1856 9.64046 13.5331 11.2132 12.3732 12.3732C11.2132 13.5331 9.64046 14.1856 8 14.1875ZM12.5 8C12.5 8.14918 12.4407 8.29226 12.3353 8.39775C12.2298 8.50324 12.0867 8.5625 11.9375 8.5625H8C7.85082 8.5625 7.70775 8.50324 7.60226 8.39775C7.49677 8.29226 7.4375 8.14918 7.4375 8V4.0625C7.4375 3.91332 7.49677 3.77024 7.60226 3.66475C7.70775 3.55926 7.85082 3.5 8 3.5C8.14919 3.5 8.29226 3.55926 8.39775 3.66475C8.50324 3.77024 8.5625 3.91332 8.5625 4.0625V7.4375H11.9375C12.0867 7.4375 12.2298 7.49676 12.3353 7.60225C12.4407 7.70774 12.5 7.85082 12.5 8Z",fill:"#C1972A"})}),Gk=()=>d.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z",fill:"#C12A2A"}),d.jsx("path",{d:"M6.87752 11.685C6.73502 11.685 6.59252 11.6325 6.48002 11.52C6.26252 11.3025 6.26252 10.9425 6.48002 10.725L10.725 6.48C10.9425 6.2625 11.3025 6.2625 11.52 6.48C11.7375 6.6975 11.7375 7.0575 11.52 7.275L7.27502 11.52C7.17002 11.6325 7.02002 11.685 6.87752 11.685Z",fill:"#C12A2A"}),d.jsx("path",{d:"M11.1225 11.685C10.98 11.685 10.8375 11.6325 10.725 11.52L6.48002 7.275C6.26252 7.0575 6.26252 6.6975 6.48002 6.48C6.69752 6.2625 7.05752 6.2625 7.27502 6.48L11.52 10.725C11.7375 10.9425 11.7375 11.3025 11.52 11.52C11.4075 11.6325 11.265 11.685 11.1225 11.685Z",fill:"#C12A2A"})]}),Zk={[$o.SUCCESS]:qk,[$o.WARNING]:Wk,[$o.ERROR]:Gk},Yk={[$o.SUCCESS]:bi.statusIndicatorSuccess,[$o.WARNING]:bi.statusIndicatorWarning,[$o.ERROR]:bi.statusIndicatorError},Xk=({status:e,variant:t})=>{const{isAntistock:n}=gt(),r=Zk[t];return d.jsxs("div",{className:ge(bi.statusIndicator,Yk[t],{[bi.antistockStatus]:n}),children:[d.jsx(r,{}),d.jsx("span",{className:bi.statusIndicatorText,id:"md",children:e})]})},Kk="_deliveryItem_1x3fg_1",Jk="_deliveryItemText_1x3fg_10",ya={deliveryItem:Kk,deliveryItemText:Jk},ql={[at.Text]:"View",[at.Serial]:"View",[at.Ebook]:"View",[at.Link]:"Visit",[at.Download]:"",[at.Custom]:"View",[at.Discord]:"Access"},Wl={[at.Text]:"Content",[at.Serial]:"Content",[at.Ebook]:"Ebook",[at.Link]:"Link",[at.Download]:"Download",[at.Custom]:"Content",[at.Discord]:"Discord"},ym={[at.Text]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Serial]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Ebook]:d.jsx(ie,{name:"BookOpen",fill:"var(--text-secondary)"}),[at.Link]:d.jsx(ie,{name:"ArrowLineUpRight",fill:"var(--text-secondary)"}),[at.Download]:d.jsx(ie,{name:"DownloadSimple",fill:"var(--text-secondary)"}),[at.Custom]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Discord]:d.jsx(ie,{name:"DiscordLogo",fill:"var(--text-secondary)"})},Qk=({deliveryConfiguration:e})=>{const t=e.type;return t===at.Text||t===at.Custom||t===at.Serial||t===at.Discord?d.jsx(ev,{deliveryConfiguration:e}):d.jsx(tv,{deliveryConfiguration:e})},ev=({deliveryConfiguration:e})=>{const t=e.type,[n,r]=k.useState(!1),{setIsOpen:i}=eo(),{isAntistock:a}=gt(),u=()=>{i(!0),r(!0)};return d.jsxs(d.Fragment,{children:[a?d.jsx(wt,{type:"Secondary",onClick:s=>{s.stopPropagation(),u()},children:d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})}):d.jsxs(wt,{type:"Secondary",className:ya.deliveryItem,onClick:s=>{s.stopPropagation(),u()},children:[ym[t],d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})]}),n&&d.jsx(Vs,{close:()=>r(!1),withAnimation:!a,children:d.jsx(BV,{deliveryConfiguration:e,setIsOpen:r})})]})},tv=({deliveryConfiguration:e})=>{const t=e.type;return d.jsxs("div",{className:ya.deliveryItem,onClick:()=>window.open(e.deliveryItems[0].textData,"_blank"),children:[ym[t],d.jsx("p",{className:ya.deliveryItemText,children:e.customName??`${ql[t]} ${Wl[t]}`})]})},nv="_paymentMethod_1it0n_3",rv="_selected_1it0n_16",ov="_alignColumn_1it0n_19",iv="_reversed_1it0n_25",av="_antistock_1it0n_29",uv="_paymentText_1it0n_36",sv="_balanceText_1it0n_50",cv="_signInLink_1it0n_54",lv="_iconContainer_1it0n_63",dv="_gatewayLogo_1it0n_76",fv="_poweredByLogo_1it0n_77",hv="_logo_1it0n_82",Ot={paymentMethod:nv,selected:rv,alignColumn:ov,reversed:iv,antistock:av,paymentText:uv,balanceText:sv,signInLink:cv,iconContainer:lv,gatewayLogo:dv,poweredByLogo:fv,logo:hv};var Tt=(e=>(e.BankCard="BANK_CARD",e.BankTransfer="BANK_TRANSFER",e.PayPal="PAYPAL",e.CashApp="CASHAPP",e.Crypto="CRYPTO",e.AppleGooglePay="APPLE_AND_GOOGLE_PAY",e.Custom="CUSTOM",e))(Tt||{});const pv={[Tt.CashApp]:d.jsx(K2,{}),[Tt.AppleGooglePay]:d.jsx(Q2,{}),[Tt.BankCard]:d.jsx(X2,{}),[Tt.Crypto]:d.jsx(Z2,{}),[Tt.PayPal]:d.jsx(J2,{}),[Tt.Custom]:d.jsx("div",{}),[Tt.BankTransfer]:d.jsx(em,{})},mv={[Tt.CashApp]:d.jsx(K2,{isAntistock:!0}),[Tt.AppleGooglePay]:d.jsx(Q2,{isAntistock:!0}),[Tt.BankCard]:d.jsx(X2,{isAntistock:!0}),[Tt.Crypto]:d.jsx(Z2,{isAntistock:!0}),[Tt.PayPal]:d.jsx(J2,{}),[Tt.Custom]:d.jsx("div",{}),[Tt.BankTransfer]:d.jsx(em,{isAntistock:!0})},df={[Tt.CashApp]:"Cash App",[Tt.AppleGooglePay]:"Apple Pay / Google Pay",[Tt.BankCard]:"Debit / Credit Card",[Tt.Crypto]:"Cryptocurrency",[Tt.PayPal]:"PayPal",[Tt.Custom]:"",[Tt.BankTransfer]:"Bank Transfer"},gv=({align:e,paymentMethod:t,gatewayDisplayName:n,gatewayLogoCfId:r,poweredByLogoCfId:i,selected:a,onSelect:u,className:s,isAntistock:c=!1})=>{const l=t===Tt.Custom;return t?d.jsx("div",{className:ge(Ot.paymentMethod,{[Ot.selected]:a,[Ot.alignColumn]:e==="column",[Ot.antistock]:c},s),onClick:()=>u&&u(t),children:c?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Ot.paymentText,id:"md",children:l?n:df[t]}),d.jsxs("div",{className:Ot.iconContainer,children:[l?d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:ir(r),alt:n})}):mv[t],i&&d.jsx("div",{className:Ot.poweredByLogo,children:d.jsx("img",{className:Ot.logo,src:ir(i),alt:n})})]})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Ot.paymentText,id:"md",children:l?n:df[t]}),d.jsxs("div",{className:Ot.iconContainer,children:[l?d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:ir(r),alt:n})}):pv[t],i&&d.jsx("div",{className:Ot.poweredByLogo,children:d.jsx("img",{className:Ot.logo,src:ir(i),alt:n})})]})]})}):d.jsxs("div",{className:ge(Ot.paymentMethod,s),children:[d.jsx("div",{className:Ot.gatewayLogo,children:d.jsx("img",{className:Ot.logo,src:ir(r),alt:n})}),d.jsx("p",{className:Ot.paymentText,children:n})]})},bv="_container_r8mpd_1",Cv="_text_r8mpd_9",Iv="_link_r8mpd_14",oa={container:bv,text:Cv,link:Iv};function ff(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const u=n.slice(i,r).trim();(u||!a)&&t.push(u),i=r+1,r=n.indexOf(",",i)}return t}function Em(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const yv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ev=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Sv={};function hf(e,t){return(Sv.jsx?Ev:yv).test(e)}const xv=/[ \t\n\f\r]/g;function _v(e){return typeof e=="object"?e.type==="text"?pf(e.value):!1:pf(e)}function pf(e){return e.replace(xv,"")===""}let ru=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};ru.prototype.normal={};ru.prototype.property={};ru.prototype.space=void 0;function Sm(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new ru(n,r,t)}function Fa(e){return e.toLowerCase()}let Un=class{constructor(t,n){this.attribute=n,this.property=t}};Un.prototype.attribute="";Un.prototype.booleanish=!1;Un.prototype.boolean=!1;Un.prototype.commaOrSpaceSeparated=!1;Un.prototype.commaSeparated=!1;Un.prototype.defined=!1;Un.prototype.mustUseProperty=!1;Un.prototype.number=!1;Un.prototype.overloadedBoolean=!1;Un.prototype.property="";Un.prototype.spaceSeparated=!1;Un.prototype.space=void 0;let Tv=0;const Be=Ko(),Ht=Ko(),xm=Ko(),de=Ko(),lt=Ko(),Ci=Ko(),zn=Ko();function Ko(){return 2**++Tv}const Gl=Object.freeze(Object.defineProperty({__proto__:null,boolean:Be,booleanish:Ht,commaOrSpaceSeparated:zn,commaSeparated:Ci,number:de,overloadedBoolean:xm,spaceSeparated:lt},Symbol.toStringTag,{value:"Module"})),Fc=Object.keys(Gl);let Zd=class extends Un{constructor(t,n,r,i){let a=-1;if(super(t,n),mf(this,"space",i),typeof r=="number")for(;++a<Fc.length;){const u=Fc[a];mf(this,Fc[a],(r&Gl[u])===Gl[u])}}};Zd.prototype.defined=!0;function mf(e,t,n){n&&(e[t]=n)}function Fi(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Zd(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Fa(r)]=r,n[Fa(a.attribute)]=r}return new ru(t,n,e.space)}const _m=Fi({properties:{ariaActiveDescendant:null,ariaAtomic:Ht,ariaAutoComplete:null,ariaBusy:Ht,ariaChecked:Ht,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:Ht,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:Ht,ariaFlowTo:lt,ariaGrabbed:Ht,ariaHasPopup:null,ariaHidden:Ht,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:de,ariaLive:null,ariaModal:Ht,ariaMultiLine:Ht,ariaMultiSelectable:Ht,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:Ht,ariaReadOnly:Ht,ariaRelevant:null,ariaRequired:Ht,ariaRoleDescription:lt,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:Ht,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Tm(e,t){return t in e?e[t]:t}function wm(e,t){return Tm(e,t.toLowerCase())}const wv=Fi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ci,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:Be,allowPaymentRequest:Be,allowUserMedia:Be,alt:null,as:null,async:Be,autoCapitalize:null,autoComplete:lt,autoFocus:Be,autoPlay:Be,blocking:lt,capture:null,charSet:null,checked:Be,cite:null,className:lt,cols:de,colSpan:null,content:null,contentEditable:Ht,controls:Be,controlsList:lt,coords:de|Ci,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Be,defer:Be,dir:null,dirName:null,disabled:Be,download:xm,draggable:Ht,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Be,formTarget:null,headers:lt,height:de,hidden:Be,high:de,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:Be,inputMode:null,integrity:null,is:null,isMap:Be,itemId:null,itemProp:lt,itemRef:lt,itemScope:Be,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Be,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Be,muted:Be,name:null,nonce:null,noModule:Be,noValidate:Be,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Be,optimum:de,pattern:null,ping:lt,placeholder:null,playsInline:Be,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Be,referrerPolicy:null,rel:lt,required:Be,reversed:Be,rows:de,rowSpan:de,sandbox:lt,scope:null,scoped:Be,seamless:Be,selected:Be,shadowRootClonable:Be,shadowRootDelegatesFocus:Be,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:Ht,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Be,useMap:null,value:Ht,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Be,declare:Be,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Be,noHref:Be,noShade:Be,noWrap:Be,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:Ht,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Be,disableRemotePlayback:Be,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:wm}),Av=Fi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:zn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Be,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ci,g2:Ci,glyphName:Ci,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:zn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zn,rev:zn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zn,requiredFeatures:zn,requiredFonts:zn,requiredFormats:zn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:zn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Tm}),Am=Fi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),km=Fi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:wm}),vm=Fi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),kv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},vv=/[A-Z]/g,gf=/-[a-z]/g,Lv=/^data[-\w.:]+$/i;function Yd(e,t){const n=Fa(t);let r=t,i=Un;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Lv.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(gf,Nv);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!gf.test(a)){let u=a.replace(vv,Dv);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=Zd}return new i(r,t)}function Dv(e){return"-"+e.toLowerCase()}function Nv(e){return e.charAt(1).toUpperCase()}const Ws=Sm([_m,wv,Am,km,vm],"html"),Bi=Sm([_m,Av,Am,km,vm],"svg");function bf(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Lm(e){return e.join(" ").trim()}var Dm={},Cf=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Rv=/\n/g,Pv=/^\s*/,Ov=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Mv=/^:\s*/,Fv=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Bv=/^[;\s]*/,Hv=/^\s+|\s+$/g,jv=`
125
+ `,If="/",yf="*",Bo="",Uv="comment",Vv="declaration",zv=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var C=b.match(Rv);C&&(n+=C.length);var I=b.lastIndexOf(jv);r=~I?b.length-I:r+b.length}function a(){var b={line:n,column:r};return function(C){return C.position=new u(b),l(),C}}function u(b){this.start=b,this.end={line:n,column:r},this.source=t.source}u.prototype.content=e;function s(b){var C=new Error(t.source+":"+n+":"+r+": "+b);if(C.reason=b,C.filename=t.source,C.line=n,C.column=r,C.source=e,!t.silent)throw C}function c(b){var C=b.exec(e);if(C){var I=C[0];return i(I),e=e.slice(I.length),C}}function l(){c(Pv)}function f(b){var C;for(b=b||[];C=h();)C!==!1&&b.push(C);return b}function h(){var b=a();if(!(If!=e.charAt(0)||yf!=e.charAt(1))){for(var C=2;Bo!=e.charAt(C)&&(yf!=e.charAt(C)||If!=e.charAt(C+1));)++C;if(C+=2,Bo===e.charAt(C-1))return s("End of comment missing");var I=e.slice(2,C-2);return r+=2,i(I),e=e.slice(C),r+=2,b({type:Uv,comment:I})}}function g(){var b=a(),C=c(Ov);if(C){if(h(),!c(Mv))return s("property missing ':'");var I=c(Fv),E=b({type:Vv,property:Ef(C[0].replace(Cf,Bo)),value:I?Ef(I[0].replace(Cf,Bo)):Bo});return c(Bv),E}}function m(){var b=[];f(b);for(var C;C=g();)C!==!1&&(b.push(C),f(b));return b}return l(),m()};function Ef(e){return e?e.replace(Hv,Bo):Bo}var $v=k0&&k0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dm,"__esModule",{value:!0});var Sf=Dm.default=Wv,qv=$v(zv);function Wv(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,qv.default)(e),i=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var u=a.property,s=a.value;i?t(u,s,a):s&&(n=n||{},n[u]=s)}}),n}const Gv=Sf.default||Sf,Gs=Nm("end"),Mr=Nm("start");function Nm(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Zv(e){const t=Mr(e),n=Gs(e);if(t&&n)return{start:t,end:n}}function Ea(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xf(e.position):"start"in e||"end"in e?xf(e):"line"in e||"column"in e?Zl(e):""}function Zl(e){return _f(e&&e.line)+":"+_f(e&&e.column)}function xf(e){return Zl(e&&e.start)+"-"+Zl(e&&e.end)}function _f(e){return e&&typeof e=="number"?e:1}class xn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(u=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Ea(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}xn.prototype.file="";xn.prototype.name="";xn.prototype.reason="";xn.prototype.message="";xn.prototype.stack="";xn.prototype.column=void 0;xn.prototype.line=void 0;xn.prototype.ancestors=void 0;xn.prototype.cause=void 0;xn.prototype.fatal=void 0;xn.prototype.place=void 0;xn.prototype.ruleId=void 0;xn.prototype.source=void 0;const Xd={}.hasOwnProperty,Yv=new Map,Xv=/[A-Z]/g,Kv=/-([a-z])/g,Jv=new Set(["table","tbody","thead","tfoot","tr"]),Qv=new Set(["td","th"]),Rm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eL(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=sL(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=uL(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Bi:Ws,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Pm(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Pm(e,t,n){if(t.type==="element")return tL(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return nL(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return oL(e,t,n);if(t.type==="mdxjsEsm")return rL(e,t);if(t.type==="root")return iL(e,t,n);if(t.type==="text")return aL(e,t)}function tL(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Bi,e.schema=i),e.ancestors.push(t);const a=Mm(e,t.tagName,!1),u=cL(e,t);let s=Jd(e,t);return Jv.has(t.tagName)&&(s=s.filter(function(c){return typeof c=="string"?!_v(c):!0})),Om(e,u,a,t),Kd(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function nL(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ba(e,t.position)}function rL(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ba(e,t.position)}function oL(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Bi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Mm(e,t.name,!0),u=lL(e,t),s=Jd(e,t);return Om(e,u,a,t),Kd(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function iL(e,t,n){const r={};return Kd(r,Jd(e,t)),e.create(t,e.Fragment,r,n)}function aL(e,t){return t.value}function Om(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Kd(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function uL(e,t,n){return r;function r(i,a,u,s){const l=Array.isArray(u.children)?n:t;return s?l(a,u,s):l(a,u)}}function sL(e,t){return n;function n(r,i,a,u){const s=Array.isArray(a.children),c=Mr(r);return t(i,a,u,s,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function cL(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Xd.call(t.properties,i)){const a=dL(e,i,t.properties[i]);if(a){const[u,s]=a;e.tableCellAlignToStyle&&u==="align"&&typeof s=="string"&&Qv.has(t.tagName)?r=s:n[u]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function lL(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const u=a.expression;u.type;const s=u.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Ba(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else Ba(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Jd(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Yv;for(;++r<t.children.length;){const a=t.children[r];let u;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const l=i.get(c)||0;u=c+"-"+l,i.set(c,l+1)}}const s=Pm(e,a,u);s!==void 0&&n.push(s)}return n}function dL(e,t,n){const r=Yd(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Em(n):Lm(n)),r.property==="style"){let i=typeof n=="object"?n:fL(e,String(n));return e.stylePropertyNameCase==="css"&&(i=hL(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?kv[r.property]||r.property:r.attribute,n]}}function fL(e,t){const n={};try{Gv(t,r)}catch(i){if(!e.ignoreInvalidStyle){const a=i,u=new xn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=Rm+"#cannot-parse-style-attribute",u}}return n;function r(i,a){let u=i;u.slice(0,2)!=="--"&&(u.slice(0,4)==="-ms-"&&(u="ms-"+u.slice(4)),u=u.replace(Kv,mL)),n[u]=a}}function Mm(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,u;for(;++a<i.length;){const s=hf(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=u}else r=hf(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Xd.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ba(e)}function Ba(e,t){const n=new xn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Rm+"#cannot-handle-mdx-estrees-without-createevaluater",n}function hL(e){const t={};let n;for(n in e)Xd.call(e,n)&&(t[pL(n)]=e[n]);return t}function pL(e){let t=e.replace(Xv,gL);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function mL(e,t){return t.toUpperCase()}function gL(e){return"-"+e.toLowerCase()}const Bc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},bL={};function Qd(e,t){const n=bL,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Fm(e,r,i)}function Fm(e,t,n){if(CL(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Tf(e.children,t,n)}return Array.isArray(e)?Tf(e,t,n):""}function Tf(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Fm(e[i],t,n);return r.join("")}function CL(e){return!!(e&&typeof e=="object")}const wf=document.createElement("i");function e0(e){const t="&"+e+";";wf.innerHTML=t;const n=wf.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Xn(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function rr(e,t){return e.length>0?(Xn(e,e.length,0,t),e):t}const Af={}.hasOwnProperty;function Bm(e){const t={};let n=-1;for(;++n<e.length;)IL(t,e[n]);return t}function IL(e,t){let n;for(n in t){const i=(Af.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){Af.call(i,u)||(i[u]=[]);const s=a[u];yL(i[u],Array.isArray(s)?s:s?[s]:[])}}}function yL(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Xn(e,0,0,r)}function Hm(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function pr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ln=ko(/[A-Za-z]/),Sn=ko(/[\dA-Za-z]/),EL=ko(/[#-'*+\--9=?A-Z^-~]/);function ms(e){return e!==null&&(e<32||e===127)}const Yl=ko(/\d/),SL=ko(/[\dA-Fa-f]/),xL=ko(/[!-/:-@[-`{-~]/);function Ne(e){return e!==null&&e<-2}function ct(e){return e!==null&&(e<0||e===32)}function Ye(e){return e===-2||e===-1||e===32}const Zs=ko(new RegExp("\\p{P}|\\p{S}","u")),Yo=ko(/\s/);function ko(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Hi(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let u="";if(a===37&&Sn(e.charCodeAt(n+1))&&Sn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(u=String.fromCharCode(a,s),i=1):u="�"}else u=String.fromCharCode(a);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+i+1,u=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ke(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(c){return Ye(c)?(e.enter(n),s(c)):t(c)}function s(c){return Ye(c)&&a++<i?(e.consume(c),s):(e.exit(n),t(c))}}const _L={tokenize:TL};function TL(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ke(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,u(s)}function u(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Ne(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),u)}}const wL={tokenize:AL},kf={tokenize:kL};function AL(e){const t=this,n=[];let r=0,i,a,u;return s;function s(S){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,c,l)(S)}return l(S)}function c(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const T=t.events.length;let _=T,v;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){v=t.events[_][1].end;break}E(r);let x=T;for(;x<t.events.length;)t.events[x][1].end={...v},x++;return Xn(t.events,_+1,0,t.events.slice(T)),t.events.length=x,l(S)}return s(S)}function l(S){if(r===n.length){if(!i)return g(S);if(i.currentConstruct&&i.currentConstruct.concrete)return b(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(kf,f,h)(S)}function f(S){return i&&y(),E(r),g(S)}function h(S){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,b(S)}function g(S){return t.containerState={},e.attempt(kf,m,b)(S)}function m(S){return r++,n.push([t.currentConstruct,t.containerState]),g(S)}function b(S){if(S===null){i&&y(),E(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),C(S)}function C(S){if(S===null){I(e.exit("chunkFlow"),!0),E(0),e.consume(S);return}return Ne(S)?(e.consume(S),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(S),C)}function I(S,T){const _=t.sliceStream(S);if(T&&_.push(null),S.previous=a,a&&(a.next=S),a=S,i.defineSkip(S.start),i.write(_),t.parser.lazy[S.start.line]){let v=i.events.length;for(;v--;)if(i.events[v][1].start.offset<u&&(!i.events[v][1].end||i.events[v][1].end.offset>u))return;const x=t.events.length;let M=x,H,A;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(H){A=t.events[M][1].end;break}H=!0}for(E(r),v=x;v<t.events.length;)t.events[v][1].end={...A},v++;Xn(t.events,M+1,0,t.events.slice(x)),t.events.length=v}}function E(S){let T=n.length;for(;T-- >S;){const _=n[T];t.containerState=_[1],_[0].exit.call(t,e)}n.length=S}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function kL(e,t,n){return Ke(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function xi(e){if(e===null||ct(e)||Yo(e))return 1;if(Zs(e))return 2}function Ys(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Xl={name:"attention",resolveAll:vL,tokenize:LL};function vL(e,t){let n=-1,r,i,a,u,s,c,l,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},g={...e[n][1].start};vf(h,-c),vf(g,c),u={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},s={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:g},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...u.start},end:{...s.end}},e[r][1].end={...u.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=rr(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=rr(l,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),l=rr(l,Ys(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=rr(l,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,l=rr(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Xn(e,r-1,n-r+3,l),n=r+l.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function LL(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=xi(r);let a;return u;function u(c){return a=c,e.enter("attentionSequence"),s(c)}function s(c){if(c===a)return e.consume(c),s;const l=e.exit("attentionSequence"),f=xi(c),h=!f||f===2&&i||n.includes(c),g=!i||i===2&&f||n.includes(r);return l._open=!!(a===42?h:h&&(i||!g)),l._close=!!(a===42?g:g&&(f||!h)),t(c)}}function vf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const DL={name:"autolink",tokenize:NL};function NL(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Ln(m)?(e.consume(m),u):m===64?n(m):l(m)}function u(m){return m===43||m===45||m===46||Sn(m)?(r=1,s(m)):l(m)}function s(m){return m===58?(e.consume(m),r=0,c):(m===43||m===45||m===46||Sn(m))&&r++<32?(e.consume(m),s):(r=0,l(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||ms(m)?n(m):(e.consume(m),c)}function l(m){return m===64?(e.consume(m),f):EL(m)?(e.consume(m),l):n(m)}function f(m){return Sn(m)?h(m):n(m)}function h(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Sn(m))&&r++<63){const b=m===45?g:h;return e.consume(m),b}return n(m)}}const ou={partial:!0,tokenize:RL};function RL(e,t,n){return r;function r(a){return Ye(a)?Ke(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Ne(a)?t(a):n(a)}}const jm={continuation:{tokenize:OL},exit:ML,name:"blockQuote",tokenize:PL};function PL(e,t,n){const r=this;return i;function i(u){if(u===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return Ye(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function OL(e,t,n){const r=this;return i;function i(u){return Ye(u)?Ke(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(jm,t,n)(u)}}function ML(e){e.exit("blockQuote")}const Um={name:"characterEscape",tokenize:FL};function FL(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return xL(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Vm={name:"characterReference",tokenize:BL};function BL(e,t,n){const r=this;let i=0,a,u;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,u=Sn,f(h))}function l(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=SL,f):(e.enter("characterReferenceValue"),a=7,u=Yl,f(h))}function f(h){if(h===59&&i){const g=e.exit("characterReferenceValue");return u===Sn&&!e0(r.sliceSerialize(g))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(h)&&i++<a?(e.consume(h),f):n(h)}}const Lf={partial:!0,tokenize:jL},Df={concrete:!0,name:"codeFenced",tokenize:HL};function HL(e,t,n){const r=this,i={partial:!0,tokenize:_};let a=0,u=0,s;return c;function c(v){return l(v)}function l(v){const x=r.events[r.events.length-1];return a=x&&x[1].type==="linePrefix"?x[2].sliceSerialize(x[1],!0).length:0,s=v,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(v)}function f(v){return v===s?(u++,e.consume(v),f):u<3?n(v):(e.exit("codeFencedFenceSequence"),Ye(v)?Ke(e,h,"whitespace")(v):h(v))}function h(v){return v===null||Ne(v)?(e.exit("codeFencedFence"),r.interrupt?t(v):e.check(Lf,C,T)(v)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||Ne(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(v)):Ye(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ke(e,m,"whitespace")(v)):v===96&&v===s?n(v):(e.consume(v),g)}function m(v){return v===null||Ne(v)?h(v):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(v))}function b(v){return v===null||Ne(v)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(v)):v===96&&v===s?n(v):(e.consume(v),b)}function C(v){return e.attempt(i,T,I)(v)}function I(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),E}function E(v){return a>0&&Ye(v)?Ke(e,y,"linePrefix",a+1)(v):y(v)}function y(v){return v===null||Ne(v)?e.check(Lf,C,T)(v):(e.enter("codeFlowValue"),S(v))}function S(v){return v===null||Ne(v)?(e.exit("codeFlowValue"),y(v)):(e.consume(v),S)}function T(v){return e.exit("codeFenced"),t(v)}function _(v,x,M){let H=0;return A;function A(ne){return v.enter("lineEnding"),v.consume(ne),v.exit("lineEnding"),j}function j(ne){return v.enter("codeFencedFence"),Ye(ne)?Ke(v,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ne):F(ne)}function F(ne){return ne===s?(v.enter("codeFencedFenceSequence"),W(ne)):M(ne)}function W(ne){return ne===s?(H++,v.consume(ne),W):H>=u?(v.exit("codeFencedFenceSequence"),Ye(ne)?Ke(v,q,"whitespace")(ne):q(ne)):M(ne)}function q(ne){return ne===null||Ne(ne)?(v.exit("codeFencedFence"),x(ne)):M(ne)}}}function jL(e,t,n){const r=this;return i;function i(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const Hc={name:"codeIndented",tokenize:VL},UL={partial:!0,tokenize:zL};function VL(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Ke(e,a,"linePrefix",5)(l)}function a(l){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?u(l):n(l)}function u(l){return l===null?c(l):Ne(l)?e.attempt(UL,u,c)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||Ne(l)?(e.exit("codeFlowValue"),u(l)):(e.consume(l),s)}function c(l){return e.exit("codeIndented"),t(l)}}function zL(e,t,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):Ne(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):Ke(e,a,"linePrefix",5)(u)}function a(u){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):Ne(u)?i(u):n(u)}}const $L={name:"codeText",previous:WL,resolve:qL,tokenize:GL};function qL(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function WL(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function GL(e,t,n){let r=0,i,a;return u;function u(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),r++,s):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),i=0,f(h)):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),l(h))}function l(h){return h===null||h===32||h===96||Ne(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),l)}function f(h){return h===96?(e.consume(h),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",l(h))}}class ZL{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ia(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ia(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ia(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);ia(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ia(this.left,n.reverse())}}}function ia(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function zm(e){const t={};let n=-1,r,i,a,u,s,c,l;const f=new ZL(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,YL(f,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(u=f.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},s=f.slice(i,n),s.unshift(r),f.splice(i,n-i+1,s))}}return Xn(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!l}function YL(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const s=u.events,c=[],l={};let f,h,g=-1,m=n,b=0,C=0;const I=[C];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),h&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(f),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),h=m,m=m.next}for(m=n;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(C=g+1,I.push(C),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):I.pop(),g=I.length;g--;){const E=s.slice(I[g],I[g+1]),y=a.pop();c.push([y,y+E.length-1]),e.splice(y,2,E)}for(c.reverse(),g=-1;++g<c.length;)l[b+c[g][0]]=b+c[g][1],b+=c[g][1]-c[g][0]-1;return l}const XL={resolve:JL,tokenize:QL},KL={partial:!0,tokenize:eD};function JL(e){return zm(e),e}function QL(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):Ne(s)?e.check(KL,u,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function u(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function eD(e,t,n){const r=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ke(e,a,"linePrefix")}function a(u){if(u===null||Ne(u))return n(u);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function $m(e,t,n,r,i,a,u,s,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return h;function h(E){return E===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(E),e.exit(a),g):E===null||E===32||E===41||ms(E)?n(E):(e.enter(r),e.enter(u),e.enter(s),e.enter("chunkString",{contentType:"string"}),C(E))}function g(E){return E===62?(e.enter(a),e.consume(E),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(E))}function m(E){return E===62?(e.exit("chunkString"),e.exit(s),g(E)):E===null||E===60||Ne(E)?n(E):(e.consume(E),E===92?b:m)}function b(E){return E===60||E===62||E===92?(e.consume(E),m):m(E)}function C(E){return!f&&(E===null||E===41||ct(E))?(e.exit("chunkString"),e.exit(s),e.exit(u),e.exit(r),t(E)):f<l&&E===40?(e.consume(E),f++,C):E===41?(e.consume(E),f--,C):E===null||E===32||E===40||ms(E)?n(E):(e.consume(E),E===92?I:C)}function I(E){return E===40||E===41||E===92?(e.consume(E),C):C(E)}}function qm(e,t,n,r,i,a){const u=this;let s=0,c;return l;function l(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),f}function f(m){return s>999||m===null||m===91||m===93&&!c||m===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Ne(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===null||m===91||m===93||Ne(m)||s++>999?(e.exit("chunkString"),f(m)):(e.consume(m),c||(c=!Ye(m)),m===92?g:h)}function g(m){return m===91||m===92||m===93?(e.consume(m),s++,h):h(m)}}function Wm(e,t,n,r,i,a){let u;return s;function s(g){return g===34||g===39||g===40?(e.enter(r),e.enter(i),e.consume(g),e.exit(i),u=g===40?41:g,c):n(g)}function c(g){return g===u?(e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):(e.enter(a),l(g))}function l(g){return g===u?(e.exit(a),c(u)):g===null?n(g):Ne(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Ke(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===u||g===null||Ne(g)?(e.exit("chunkString"),l(g)):(e.consume(g),g===92?h:f)}function h(g){return g===u||g===92?(e.consume(g),f):f(g)}}function Sa(e,t){let n;return r;function r(i){return Ne(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ye(i)?Ke(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const tD={name:"definition",tokenize:rD},nD={partial:!0,tokenize:oD};function rD(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),u(m)}function u(m){return qm.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=pr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return ct(m)?Sa(e,l)(m):l(m)}function l(m){return $m(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(nD,h,h)(m)}function h(m){return Ye(m)?Ke(e,g,"whitespace")(m):g(m)}function g(m){return m===null||Ne(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function oD(e,t,n){return r;function r(s){return ct(s)?Sa(e,i)(s):n(s)}function i(s){return Wm(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Ye(s)?Ke(e,u,"whitespace")(s):u(s)}function u(s){return s===null||Ne(s)?t(s):n(s)}}const iD={name:"hardBreakEscape",tokenize:aD};function aD(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Ne(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const uD={name:"headingAtx",resolve:sD,tokenize:cD};function sD(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Xn(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function cD(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),u(f)}function u(f){return f===35&&r++<6?(e.consume(f),u):f===null||ct(f)?(e.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||Ne(f)?(e.exit("atxHeading"),t(f)):Ye(f)?Ke(e,s,"whitespace")(f):(e.enter("atxHeadingText"),l(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),s(f))}function l(f){return f===null||f===35||ct(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),l)}}const lD=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Nf=["pre","script","style","textarea"],dD={concrete:!0,name:"htmlFlow",resolveTo:pD,tokenize:mD},fD={partial:!0,tokenize:bD},hD={partial:!0,tokenize:gD};function pD(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mD(e,t,n){const r=this;let i,a,u,s,c;return l;function l(D){return f(D)}function f(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),h}function h(D){return D===33?(e.consume(D),g):D===47?(e.consume(D),a=!0,C):D===63?(e.consume(D),i=3,r.interrupt?t:w):Ln(D)?(e.consume(D),u=String.fromCharCode(D),I):n(D)}function g(D){return D===45?(e.consume(D),i=2,m):D===91?(e.consume(D),i=5,s=0,b):Ln(D)?(e.consume(D),i=4,r.interrupt?t:w):n(D)}function m(D){return D===45?(e.consume(D),r.interrupt?t:w):n(D)}function b(D){const X="CDATA[";return D===X.charCodeAt(s++)?(e.consume(D),s===X.length?r.interrupt?t:F:b):n(D)}function C(D){return Ln(D)?(e.consume(D),u=String.fromCharCode(D),I):n(D)}function I(D){if(D===null||D===47||D===62||ct(D)){const X=D===47,se=u.toLowerCase();return!X&&!a&&Nf.includes(se)?(i=1,r.interrupt?t(D):F(D)):lD.includes(u.toLowerCase())?(i=6,X?(e.consume(D),E):r.interrupt?t(D):F(D)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):a?y(D):S(D))}return D===45||Sn(D)?(e.consume(D),u+=String.fromCharCode(D),I):n(D)}function E(D){return D===62?(e.consume(D),r.interrupt?t:F):n(D)}function y(D){return Ye(D)?(e.consume(D),y):A(D)}function S(D){return D===47?(e.consume(D),A):D===58||D===95||Ln(D)?(e.consume(D),T):Ye(D)?(e.consume(D),S):A(D)}function T(D){return D===45||D===46||D===58||D===95||Sn(D)?(e.consume(D),T):_(D)}function _(D){return D===61?(e.consume(D),v):Ye(D)?(e.consume(D),_):S(D)}function v(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),c=D,x):Ye(D)?(e.consume(D),v):M(D)}function x(D){return D===c?(e.consume(D),c=null,H):D===null||Ne(D)?n(D):(e.consume(D),x)}function M(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||ct(D)?_(D):(e.consume(D),M)}function H(D){return D===47||D===62||Ye(D)?S(D):n(D)}function A(D){return D===62?(e.consume(D),j):n(D)}function j(D){return D===null||Ne(D)?F(D):Ye(D)?(e.consume(D),j):n(D)}function F(D){return D===45&&i===2?(e.consume(D),be):D===60&&i===1?(e.consume(D),Ie):D===62&&i===4?(e.consume(D),re):D===63&&i===3?(e.consume(D),w):D===93&&i===5?(e.consume(D),Le):Ne(D)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(fD,pe,W)(D)):D===null||Ne(D)?(e.exit("htmlFlowData"),W(D)):(e.consume(D),F)}function W(D){return e.check(hD,q,pe)(D)}function q(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),ne}function ne(D){return D===null||Ne(D)?W(D):(e.enter("htmlFlowData"),F(D))}function be(D){return D===45?(e.consume(D),w):F(D)}function Ie(D){return D===47?(e.consume(D),u="",Ae):F(D)}function Ae(D){if(D===62){const X=u.toLowerCase();return Nf.includes(X)?(e.consume(D),re):F(D)}return Ln(D)&&u.length<8?(e.consume(D),u+=String.fromCharCode(D),Ae):F(D)}function Le(D){return D===93?(e.consume(D),w):F(D)}function w(D){return D===62?(e.consume(D),re):D===45&&i===2?(e.consume(D),w):F(D)}function re(D){return D===null||Ne(D)?(e.exit("htmlFlowData"),pe(D)):(e.consume(D),re)}function pe(D){return e.exit("htmlFlow"),t(D)}}function gD(e,t,n){const r=this;return i;function i(u){return Ne(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function bD(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ou,t,n)}}const CD={name:"htmlText",tokenize:ID};function ID(e,t,n){const r=this;let i,a,u;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),c}function c(w){return w===33?(e.consume(w),l):w===47?(e.consume(w),_):w===63?(e.consume(w),S):Ln(w)?(e.consume(w),M):n(w)}function l(w){return w===45?(e.consume(w),f):w===91?(e.consume(w),a=0,b):Ln(w)?(e.consume(w),y):n(w)}function f(w){return w===45?(e.consume(w),m):n(w)}function h(w){return w===null?n(w):w===45?(e.consume(w),g):Ne(w)?(u=h,Ie(w)):(e.consume(w),h)}function g(w){return w===45?(e.consume(w),m):h(w)}function m(w){return w===62?be(w):w===45?g(w):h(w)}function b(w){const re="CDATA[";return w===re.charCodeAt(a++)?(e.consume(w),a===re.length?C:b):n(w)}function C(w){return w===null?n(w):w===93?(e.consume(w),I):Ne(w)?(u=C,Ie(w)):(e.consume(w),C)}function I(w){return w===93?(e.consume(w),E):C(w)}function E(w){return w===62?be(w):w===93?(e.consume(w),E):C(w)}function y(w){return w===null||w===62?be(w):Ne(w)?(u=y,Ie(w)):(e.consume(w),y)}function S(w){return w===null?n(w):w===63?(e.consume(w),T):Ne(w)?(u=S,Ie(w)):(e.consume(w),S)}function T(w){return w===62?be(w):S(w)}function _(w){return Ln(w)?(e.consume(w),v):n(w)}function v(w){return w===45||Sn(w)?(e.consume(w),v):x(w)}function x(w){return Ne(w)?(u=x,Ie(w)):Ye(w)?(e.consume(w),x):be(w)}function M(w){return w===45||Sn(w)?(e.consume(w),M):w===47||w===62||ct(w)?H(w):n(w)}function H(w){return w===47?(e.consume(w),be):w===58||w===95||Ln(w)?(e.consume(w),A):Ne(w)?(u=H,Ie(w)):Ye(w)?(e.consume(w),H):be(w)}function A(w){return w===45||w===46||w===58||w===95||Sn(w)?(e.consume(w),A):j(w)}function j(w){return w===61?(e.consume(w),F):Ne(w)?(u=j,Ie(w)):Ye(w)?(e.consume(w),j):H(w)}function F(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),i=w,W):Ne(w)?(u=F,Ie(w)):Ye(w)?(e.consume(w),F):(e.consume(w),q)}function W(w){return w===i?(e.consume(w),i=void 0,ne):w===null?n(w):Ne(w)?(u=W,Ie(w)):(e.consume(w),W)}function q(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||ct(w)?H(w):(e.consume(w),q)}function ne(w){return w===47||w===62||ct(w)?H(w):n(w)}function be(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function Ie(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Ae}function Ae(w){return Ye(w)?Ke(e,Le,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Le(w)}function Le(w){return e.enter("htmlTextData"),u(w)}}const t0={name:"labelEnd",resolveAll:xD,resolveTo:_D,tokenize:TD},yD={tokenize:wD},ED={tokenize:AD},SD={tokenize:kD};function xD(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Xn(e,0,e.length,n),e}function _D(e,t){let n=e.length,r=0,i,a,u,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[a][1].start},end:{...e[u][1].end}},f={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[u-2][1].start}};return s=[["enter",c,t],["enter",l,t]],s=rr(s,e.slice(a+1,a+r+3)),s=rr(s,[["enter",f,t]]),s=rr(s,Ys(t.parser.constructs.insideSpan.null,e.slice(a+r+4,u-3),t)),s=rr(s,[["exit",f,t],e[u-2],e[u-1],["exit",l,t]]),s=rr(s,e.slice(u+1)),s=rr(s,[["exit",c,t]]),Xn(e,a,e.length,s),e}function TD(e,t,n){const r=this;let i=r.events.length,a,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(g){return a?a._inactive?h(g):(u=r.parser.defined.includes(pr(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(yD,f,u?f:h)(g):g===91?e.attempt(ED,f,u?l:h)(g):u?f(g):h(g)}function l(g){return e.attempt(SD,f,h)(g)}function f(g){return t(g)}function h(g){return a._balanced=!0,n(g)}}function wD(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return ct(h)?Sa(e,a)(h):a(h)}function a(h){return h===41?f(h):$m(e,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function u(h){return ct(h)?Sa(e,c)(h):f(h)}function s(h){return n(h)}function c(h){return h===34||h===39||h===40?Wm(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function l(h){return ct(h)?Sa(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function AD(e,t,n){const r=this;return i;function i(s){return qm.call(r,e,a,u,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(pr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function u(s){return n(s)}}function kD(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const vD={name:"labelStartImage",resolveAll:t0.resolveAll,tokenize:LD};function LD(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),u):n(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const DD={name:"labelStartLink",resolveAll:t0.resolveAll,tokenize:ND};function ND(e,t,n){const r=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const jc={name:"lineEnding",tokenize:RD};function RD(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ke(e,t,"linePrefix")}}const Xu={name:"thematicBreak",tokenize:PD};function PD(e,t,n){let r=0,i;return a;function a(l){return e.enter("thematicBreak"),u(l)}function u(l){return i=l,s(l)}function s(l){return l===i?(e.enter("thematicBreakSequence"),c(l)):r>=3&&(l===null||Ne(l))?(e.exit("thematicBreak"),t(l)):n(l)}function c(l){return l===i?(e.consume(l),r++,c):(e.exit("thematicBreakSequence"),Ye(l)?Ke(e,s,"whitespace")(l):s(l))}}const On={continuation:{tokenize:BD},exit:jD,name:"list",tokenize:FD},OD={partial:!0,tokenize:UD},MD={partial:!0,tokenize:HD};function FD(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return s;function s(m){const b=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Yl(m)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Xu,n,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return Yl(m)&&++u<10?(e.consume(m),c):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):n(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(ou,r.interrupt?n:f,e.attempt(OD,g,h))}function f(m){return r.containerState.initialBlankLine=!0,a++,g(m)}function h(m){return Ye(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function BD(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ou,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ke(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Ye(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(MD,t,u)(s))}function u(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ke(e,e.attempt(On,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function HD(e,t,n){const r=this;return Ke(e,i,"listItemIndent",r.containerState.size+1);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(a):n(a)}}function jD(e){e.exit(this.containerState.type)}function UD(e,t,n){const r=this;return Ke(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=r.events[r.events.length-1];return!Ye(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Rf={name:"setextUnderline",resolveTo:VD,tokenize:zD};function VD(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function zD(e,t,n){const r=this;let i;return a;function a(l){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=l,u(l)):n(l)}function u(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===i?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),Ye(l)?Ke(e,c,"lineSuffix")(l):c(l))}function c(l){return l===null||Ne(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const $D={tokenize:qD};function qD(e){const t=this,n=e.attempt(ou,r,e.attempt(this.parser.constructs.flowInitial,i,Ke(e,e.attempt(this.parser.constructs.flow,i,e.attempt(XL,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const WD={resolveAll:Zm()},GD=Gm("string"),ZD=Gm("text");function Gm(e){return{resolveAll:Zm(e==="text"?YD:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,u,s);return u;function u(f){return l(f)?a(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return l(f)?(n.exit("data"),a(f)):(n.consume(f),c)}function l(f){if(f===null)return!0;const h=i[f];let g=-1;if(h)for(;++g<h.length;){const m=h[g];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Zm(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function YD(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,u=-1,s=0,c;for(;a--;){const l=i[a];if(typeof l=="string"){for(u=l.length;l.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(l===-2)c=!0,s++;else if(l!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const l={type:n===e.length||c||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:r.start._bufferIndex+u,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const XD={42:On,43:On,45:On,48:On,49:On,50:On,51:On,52:On,53:On,54:On,55:On,56:On,57:On,62:jm},KD={91:tD},JD={[-2]:Hc,[-1]:Hc,32:Hc},QD={35:uD,42:Xu,45:[Rf,Xu],60:dD,61:Rf,95:Xu,96:Df,126:Df},eN={38:Vm,92:Um},tN={[-5]:jc,[-4]:jc,[-3]:jc,33:vD,38:Vm,42:Xl,60:[DL,CD],91:DD,92:[iD,Um],93:t0,95:Xl,96:$L},nN={null:[Xl,WD]},rN={null:[42,95]},oN={null:[]},iN=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:rN,contentInitial:KD,disable:oN,document:XD,flow:QD,flowInitial:JD,insideSpan:nN,string:eN,text:tN},Symbol.toStringTag,{value:"Module"}));function aN(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let u=[],s=[];const c={attempt:x(_),check:x(v),consume:y,enter:S,exit:T,interrupt:x(v,{interrupt:!0})},l={code:null,containerState:{},defineSkip:C,events:[],now:b,parser:e,previous:null,sliceSerialize:g,sliceStream:m,write:h};let f=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function h(j){return u=rr(u,j),I(),u[u.length-1]!==null?[]:(M(t,0),l.events=Ys(a,l.events,l),l.events)}function g(j,F){return sN(m(j),F)}function m(j){return uN(u,j)}function b(){const{_bufferIndex:j,_index:F,line:W,column:q,offset:ne}=r;return{_bufferIndex:j,_index:F,line:W,column:q,offset:ne}}function C(j){i[j.line]=j.column,A()}function I(){let j;for(;r._index<u.length;){const F=u[r._index];if(typeof F=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<F.length;)E(F.charCodeAt(r._bufferIndex));else E(F)}}function E(j){f=f(j)}function y(j){Ne(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,A()):j!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=j}function S(j,F){const W=F||{};return W.type=j,W.start=b(),l.events.push(["enter",W,l]),s.push(W),W}function T(j){const F=s.pop();return F.end=b(),l.events.push(["exit",F,l]),F}function _(j,F){M(j,F.from)}function v(j,F){F.restore()}function x(j,F){return W;function W(q,ne,be){let Ie,Ae,Le,w;return Array.isArray(q)?pe(q):"tokenize"in q?pe([q]):re(q);function re(ee){return Ce;function Ce(ye){const ue=ye!==null&&ee[ye],ce=ye!==null&&ee.null,Ue=[...Array.isArray(ue)?ue:ue?[ue]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return pe(Ue)(ye)}}function pe(ee){return Ie=ee,Ae=0,ee.length===0?be:D(ee[Ae])}function D(ee){return Ce;function Ce(ye){return w=H(),Le=ee,ee.partial||(l.currentConstruct=ee),ee.name&&l.parser.constructs.disable.null.includes(ee.name)?se():ee.tokenize.call(F?Object.assign(Object.create(l),F):l,c,X,se)(ye)}}function X(ee){return j(Le,w),ne}function se(ee){return w.restore(),++Ae<Ie.length?D(Ie[Ae]):be}}}function M(j,F){j.resolveAll&&!a.includes(j)&&a.push(j),j.resolve&&Xn(l.events,F,l.events.length-F,j.resolve(l.events.slice(F),l)),j.resolveTo&&(l.events=j.resolveTo(l.events,l))}function H(){const j=b(),F=l.previous,W=l.currentConstruct,q=l.events.length,ne=Array.from(s);return{from:q,restore:be};function be(){r=j,l.previous=F,l.currentConstruct=W,l.events.length=q,s=ne,A()}}function A(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function uN(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;if(n===i)u=[e[n].slice(r,a)];else{if(u=e.slice(n,i),r>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(r):u.shift()}a>0&&u.push(e[i].slice(0,a))}return u}function sN(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
126
126
  `;break}case-3:{u=`\r
127
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,r.push(u)}return r.join("")}function cN(e){const r={constructs:Bm([iN,...(e||{}).extensions||[]]),content:i(_L),defined:[],document:i(wL),flow:i($D),lazy:{},string:i(GD),text:i(ZD)};return r;function i(a){return u;function u(s){return aN(r,a,s)}}}function lN(e){for(;!zm(e););return e}const Pf=/[\0\t\n\r]/g;function dN(){let e=1,t="",n=!0,r;return i;function i(a,u,s){const c=[];let l,f,h,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(Pf.lastIndex=h,l=Pf.exec(a),g=l&&l.index!==void 0?l.index:a.length,m=a.charCodeAt(g),!l){t=a.slice(h);break}if(m===10&&h===g&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<g&&(c.push(a.slice(h,g)),e+=g-h),m){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=g+1}return s&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const fN=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hN(e){return e.replace(fN,pN)}function pN(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Hm(n.slice(a?2:1),a?16:10)}return e0(n)||e}const Ym={}.hasOwnProperty;function mN(e,t,n){return typeof t!="string"&&(n=t,t=void 0),gN(n)(lN(cN(n).document().write(dN()(e,t,!0))))}function gN(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(qe),autolinkProtocol:H,autolinkEmail:H,atxHeading:a(we),blockQuote:a(ce),characterEscape:H,characterReference:H,codeFenced:a(Ue),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(Ue,u),codeText:a(J,u),codeTextData:H,data:H,codeFlowValue:H,definition:a(Ve),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(xe),hardBreakEscape:a(ze),hardBreakTrailing:a(ze),htmlFlow:a(_t,u),htmlFlowData:H,htmlText:a(_t,u),htmlTextData:H,image:a(At),label:u,link:a(qe),listItem:a(Tn),listItemValue:g,listOrdered:a(rt,h),listUnordered:a(rt),paragraph:a(bt),reference:D,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(we),strong:a(pn),thematicBreak:a(Dt)},exit:{atxHeading:c(),atxHeadingSequence:_,autolink:c(),autolinkEmail:ue,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:ee,characterReference:Ce,codeFenced:c(I),codeFencedFence:C,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:A,codeIndented:c(E),codeText:c(ne),codeTextData:A,data:A,definition:c(),definitionDestinationString:T,definitionLabelString:y,definitionTitleString:S,emphasis:c(),hardBreakEscape:c(F),hardBreakTrailing:c(F),htmlFlow:c(W),htmlFlowData:A,htmlText:c(q),htmlTextData:A,image:c(Ie),label:Le,labelText:Ae,lineEnding:j,link:c(be),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:X,resourceDestinationString:w,resourceTitleString:re,resource:pe,setextHeading:c(M),setextHeadingLineSequence:x,setextHeadingText:v,strong:c(),thematicBreak:c()}};Xm(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(G){let ae={type:"root",children:[]};const Te={stack:[ae],tokenStack:[],config:t,enter:s,exit:l,buffer:u,resume:f,data:n},ke=[];let We=-1;for(;++We<G.length;)if(G[We][1].type==="listOrdered"||G[We][1].type==="listUnordered")if(G[We][0]==="enter")ke.push(We);else{const ot=ke.pop();We=i(G,ot,We)}for(We=-1;++We<G.length;){const ot=t[G[We][0]];Ym.call(ot,G[We][1].type)&&ot[G[We][1].type].call(Object.assign({sliceSerialize:G[We][2].sliceSerialize},Te),G[We][1])}if(Te.tokenStack.length>0){const ot=Te.tokenStack[Te.tokenStack.length-1];(ot[1]||Of).call(Te,void 0,ot[0])}for(ae.position={start:ao(G.length>0?G[0][1].start:{line:1,column:1,offset:0}),end:ao(G.length>0?G[G.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)ae=t.transforms[We](ae)||ae;return ae}function i(G,ae,Te){let ke=ae-1,We=-1,ot=!1,mn,et,gn,bn;for(;++ke<=Te;){const Nt=G[ke];switch(Nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Nt[0]==="enter"?We++:We--,bn=void 0;break}case"lineEndingBlank":{Nt[0]==="enter"&&(mn&&!bn&&!We&&!gn&&(gn=ke),bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:bn=void 0}if(!We&&Nt[0]==="enter"&&Nt[1].type==="listItemPrefix"||We===-1&&Nt[0]==="exit"&&(Nt[1].type==="listUnordered"||Nt[1].type==="listOrdered")){if(mn){let Jn=ke;for(et=void 0;Jn--;){const $t=G[Jn];if($t[1].type==="lineEnding"||$t[1].type==="lineEndingBlank"){if($t[0]==="exit")continue;et&&(G[et][1].type="lineEndingBlank",ot=!0),$t[1].type="lineEnding",et=Jn}else if(!($t[1].type==="linePrefix"||$t[1].type==="blockQuotePrefix"||$t[1].type==="blockQuotePrefixWhitespace"||$t[1].type==="blockQuoteMarker"||$t[1].type==="listItemIndent"))break}gn&&(!et||gn<et)&&(mn._spread=!0),mn.end=Object.assign({},et?G[et][1].start:Nt[1].end),G.splice(et||ke,0,["exit",mn,Nt[2]]),ke++,Te++}if(Nt[1].type==="listItemPrefix"){const Jn={type:"listItem",_spread:!1,start:Object.assign({},Nt[1].start),end:void 0};mn=Jn,G.splice(ke,0,["enter",Jn,Nt[2]]),ke++,Te++,gn=void 0,bn=!0}}}return G[ae][1]._spread=ot,Te}function a(G,ae){return Te;function Te(ke){s.call(this,G(ke),ke),ae&&ae.call(this,ke)}}function u(){this.stack.push({type:"fragment",children:[]})}function s(G,ae,Te){this.stack[this.stack.length-1].children.push(G),this.stack.push(G),this.tokenStack.push([ae,Te||void 0]),G.position={start:ao(ae.start),end:void 0}}function c(G){return ae;function ae(Te){G&&G.call(this,Te),l.call(this,Te)}}function l(G,ae){const Te=this.stack.pop(),ke=this.tokenStack.pop();if(ke)ke[0].type!==G.type&&(ae?ae.call(this,G,ke[0]):(ke[1]||Of).call(this,G,ke[0]));else throw new Error("Cannot close `"+G.type+"` ("+Ea({start:G.start,end:G.end})+"): it’s not open");Te.position.end=ao(G.end)}function f(){return Qd(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function g(G){if(this.data.expectingFirstListItemValue){const ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(G),10),this.data.expectingFirstListItemValue=void 0}}function m(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=G}function b(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=G}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G.replace(/(\r?\n|\r)$/g,"")}function y(G){const ae=this.resume(),Te=this.stack[this.stack.length-1];Te.label=ae,Te.identifier=pr(this.sliceSerialize(G)).toLowerCase()}function S(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.title=G}function T(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.url=G}function _(G){const ae=this.stack[this.stack.length-1];if(!ae.depth){const Te=this.sliceSerialize(G).length;ae.depth=Te}}function v(){this.data.setextHeadingSlurpLineEnding=!0}function x(G){const ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(G).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function H(G){const Te=this.stack[this.stack.length-1].children;let ke=Te[Te.length-1];(!ke||ke.type!=="text")&&(ke=Ct(),ke.position={start:ao(G.start),end:void 0},Te.push(ke)),this.stack.push(ke)}function A(G){const ae=this.stack.pop();ae.value+=this.sliceSerialize(G),ae.position.end=ao(G.end)}function j(G){const ae=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Te=ae.children[ae.children.length-1];Te.position.end=ao(G.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ae.type)&&(H.call(this,G),A.call(this,G))}function F(){this.data.atHardBreak=!0}function W(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function q(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function ne(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function be(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=ae,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function Ie(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=ae,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function Ae(G){const ae=this.sliceSerialize(G),Te=this.stack[this.stack.length-2];Te.label=hN(ae),Te.identifier=pr(ae).toLowerCase()}function Le(){const G=this.stack[this.stack.length-1],ae=this.resume(),Te=this.stack[this.stack.length-1];if(this.data.inReference=!0,Te.type==="link"){const ke=G.children;Te.children=ke}else Te.alt=ae}function w(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.url=G}function re(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.title=G}function pe(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function X(G){const ae=this.resume(),Te=this.stack[this.stack.length-1];Te.label=ae,Te.identifier=pr(this.sliceSerialize(G)).toLowerCase(),this.data.referenceType="full"}function se(G){this.data.characterReferenceType=G.type}function ee(G){const ae=this.sliceSerialize(G),Te=this.data.characterReferenceType;let ke;Te?(ke=Hm(ae,Te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ke=e0(ae);const We=this.stack[this.stack.length-1];We.value+=ke}function Ce(G){const ae=this.stack.pop();ae.position.end=ao(G.end)}function ye(G){A.call(this,G);const ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(G)}function ue(G){A.call(this,G);const ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(G)}function ce(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function J(){return{type:"inlineCode",value:""}}function Ve(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xe(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:0,children:[]}}function ze(){return{type:"break"}}function _t(){return{type:"html",value:""}}function At(){return{type:"image",title:null,url:"",alt:null}}function qe(){return{type:"link",title:null,url:"",children:[]}}function rt(G){return{type:"list",ordered:G.type==="listOrdered",start:null,spread:G._spread,children:[]}}function Tn(G){return{type:"listItem",spread:G._spread,checked:null,children:[]}}function bt(){return{type:"paragraph",children:[]}}function pn(){return{type:"strong",children:[]}}function Ct(){return{type:"text",value:""}}function Dt(){return{type:"thematicBreak"}}}function ao(e){return{line:e.line,column:e.column,offset:e.offset}}function Xm(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Xm(e,r):bN(e,r)}}function bN(e,t){let n;for(n in t)if(Ym.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Of(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ea({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ea({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ea({start:t.start,end:t.end})+") is still open")}function CN(e){const t=this;t.parser=n;function n(r){return mN(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function IN(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function yN(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
127
+ `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,r.push(u)}return r.join("")}function cN(e){const r={constructs:Bm([iN,...(e||{}).extensions||[]]),content:i(_L),defined:[],document:i(wL),flow:i($D),lazy:{},string:i(GD),text:i(ZD)};return r;function i(a){return u;function u(s){return aN(r,a,s)}}}function lN(e){for(;!zm(e););return e}const Pf=/[\0\t\n\r]/g;function dN(){let e=1,t="",n=!0,r;return i;function i(a,u,s){const c=[];let l,f,h,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(Pf.lastIndex=h,l=Pf.exec(a),g=l&&l.index!==void 0?l.index:a.length,m=a.charCodeAt(g),!l){t=a.slice(h);break}if(m===10&&h===g&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<g&&(c.push(a.slice(h,g)),e+=g-h),m){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=g+1}return s&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const fN=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hN(e){return e.replace(fN,pN)}function pN(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Hm(n.slice(a?2:1),a?16:10)}return e0(n)||e}const Ym={}.hasOwnProperty;function mN(e,t,n){return typeof t!="string"&&(n=t,t=void 0),gN(n)(lN(cN(n).document().write(dN()(e,t,!0))))}function gN(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(qe),autolinkProtocol:H,autolinkEmail:H,atxHeading:a(we),blockQuote:a(ce),characterEscape:H,characterReference:H,codeFenced:a(Ue),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(Ue,u),codeText:a(J,u),codeTextData:H,data:H,codeFlowValue:H,definition:a(Ve),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(xe),hardBreakEscape:a(ze),hardBreakTrailing:a(ze),htmlFlow:a(_t,u),htmlFlowData:H,htmlText:a(_t,u),htmlTextData:H,image:a(At),label:u,link:a(qe),listItem:a(Tn),listItemValue:g,listOrdered:a(rt,h),listUnordered:a(rt),paragraph:a(bt),reference:D,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(we),strong:a(pn),thematicBreak:a(Dt)},exit:{atxHeading:c(),atxHeadingSequence:_,autolink:c(),autolinkEmail:ue,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:ee,characterReference:Ce,codeFenced:c(I),codeFencedFence:C,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:A,codeIndented:c(E),codeText:c(ne),codeTextData:A,data:A,definition:c(),definitionDestinationString:T,definitionLabelString:y,definitionTitleString:S,emphasis:c(),hardBreakEscape:c(F),hardBreakTrailing:c(F),htmlFlow:c(W),htmlFlowData:A,htmlText:c(q),htmlTextData:A,image:c(Ie),label:Le,labelText:Ae,lineEnding:j,link:c(be),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:X,resourceDestinationString:w,resourceTitleString:re,resource:pe,setextHeading:c(M),setextHeadingLineSequence:x,setextHeadingText:v,strong:c(),thematicBreak:c()}};Xm(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(G){let ae={type:"root",children:[]};const Te={stack:[ae],tokenStack:[],config:t,enter:s,exit:l,buffer:u,resume:f,data:n},ke=[];let We=-1;for(;++We<G.length;)if(G[We][1].type==="listOrdered"||G[We][1].type==="listUnordered")if(G[We][0]==="enter")ke.push(We);else{const ot=ke.pop();We=i(G,ot,We)}for(We=-1;++We<G.length;){const ot=t[G[We][0]];Ym.call(ot,G[We][1].type)&&ot[G[We][1].type].call(Object.assign({sliceSerialize:G[We][2].sliceSerialize},Te),G[We][1])}if(Te.tokenStack.length>0){const ot=Te.tokenStack[Te.tokenStack.length-1];(ot[1]||Of).call(Te,void 0,ot[0])}for(ae.position={start:ao(G.length>0?G[0][1].start:{line:1,column:1,offset:0}),end:ao(G.length>0?G[G.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)ae=t.transforms[We](ae)||ae;return ae}function i(G,ae,Te){let ke=ae-1,We=-1,ot=!1,mn,et,gn,bn;for(;++ke<=Te;){const Nt=G[ke];switch(Nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Nt[0]==="enter"?We++:We--,bn=void 0;break}case"lineEndingBlank":{Nt[0]==="enter"&&(mn&&!bn&&!We&&!gn&&(gn=ke),bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:bn=void 0}if(!We&&Nt[0]==="enter"&&Nt[1].type==="listItemPrefix"||We===-1&&Nt[0]==="exit"&&(Nt[1].type==="listUnordered"||Nt[1].type==="listOrdered")){if(mn){let Qn=ke;for(et=void 0;Qn--;){const $t=G[Qn];if($t[1].type==="lineEnding"||$t[1].type==="lineEndingBlank"){if($t[0]==="exit")continue;et&&(G[et][1].type="lineEndingBlank",ot=!0),$t[1].type="lineEnding",et=Qn}else if(!($t[1].type==="linePrefix"||$t[1].type==="blockQuotePrefix"||$t[1].type==="blockQuotePrefixWhitespace"||$t[1].type==="blockQuoteMarker"||$t[1].type==="listItemIndent"))break}gn&&(!et||gn<et)&&(mn._spread=!0),mn.end=Object.assign({},et?G[et][1].start:Nt[1].end),G.splice(et||ke,0,["exit",mn,Nt[2]]),ke++,Te++}if(Nt[1].type==="listItemPrefix"){const Qn={type:"listItem",_spread:!1,start:Object.assign({},Nt[1].start),end:void 0};mn=Qn,G.splice(ke,0,["enter",Qn,Nt[2]]),ke++,Te++,gn=void 0,bn=!0}}}return G[ae][1]._spread=ot,Te}function a(G,ae){return Te;function Te(ke){s.call(this,G(ke),ke),ae&&ae.call(this,ke)}}function u(){this.stack.push({type:"fragment",children:[]})}function s(G,ae,Te){this.stack[this.stack.length-1].children.push(G),this.stack.push(G),this.tokenStack.push([ae,Te||void 0]),G.position={start:ao(ae.start),end:void 0}}function c(G){return ae;function ae(Te){G&&G.call(this,Te),l.call(this,Te)}}function l(G,ae){const Te=this.stack.pop(),ke=this.tokenStack.pop();if(ke)ke[0].type!==G.type&&(ae?ae.call(this,G,ke[0]):(ke[1]||Of).call(this,G,ke[0]));else throw new Error("Cannot close `"+G.type+"` ("+Ea({start:G.start,end:G.end})+"): it’s not open");Te.position.end=ao(G.end)}function f(){return Qd(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function g(G){if(this.data.expectingFirstListItemValue){const ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(G),10),this.data.expectingFirstListItemValue=void 0}}function m(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=G}function b(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=G}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G.replace(/(\r?\n|\r)$/g,"")}function y(G){const ae=this.resume(),Te=this.stack[this.stack.length-1];Te.label=ae,Te.identifier=pr(this.sliceSerialize(G)).toLowerCase()}function S(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.title=G}function T(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.url=G}function _(G){const ae=this.stack[this.stack.length-1];if(!ae.depth){const Te=this.sliceSerialize(G).length;ae.depth=Te}}function v(){this.data.setextHeadingSlurpLineEnding=!0}function x(G){const ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(G).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function H(G){const Te=this.stack[this.stack.length-1].children;let ke=Te[Te.length-1];(!ke||ke.type!=="text")&&(ke=Ct(),ke.position={start:ao(G.start),end:void 0},Te.push(ke)),this.stack.push(ke)}function A(G){const ae=this.stack.pop();ae.value+=this.sliceSerialize(G),ae.position.end=ao(G.end)}function j(G){const ae=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Te=ae.children[ae.children.length-1];Te.position.end=ao(G.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ae.type)&&(H.call(this,G),A.call(this,G))}function F(){this.data.atHardBreak=!0}function W(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function q(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function ne(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.value=G}function be(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=ae,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function Ie(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=ae,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function Ae(G){const ae=this.sliceSerialize(G),Te=this.stack[this.stack.length-2];Te.label=hN(ae),Te.identifier=pr(ae).toLowerCase()}function Le(){const G=this.stack[this.stack.length-1],ae=this.resume(),Te=this.stack[this.stack.length-1];if(this.data.inReference=!0,Te.type==="link"){const ke=G.children;Te.children=ke}else Te.alt=ae}function w(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.url=G}function re(){const G=this.resume(),ae=this.stack[this.stack.length-1];ae.title=G}function pe(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function X(G){const ae=this.resume(),Te=this.stack[this.stack.length-1];Te.label=ae,Te.identifier=pr(this.sliceSerialize(G)).toLowerCase(),this.data.referenceType="full"}function se(G){this.data.characterReferenceType=G.type}function ee(G){const ae=this.sliceSerialize(G),Te=this.data.characterReferenceType;let ke;Te?(ke=Hm(ae,Te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ke=e0(ae);const We=this.stack[this.stack.length-1];We.value+=ke}function Ce(G){const ae=this.stack.pop();ae.position.end=ao(G.end)}function ye(G){A.call(this,G);const ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(G)}function ue(G){A.call(this,G);const ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(G)}function ce(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function J(){return{type:"inlineCode",value:""}}function Ve(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xe(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:0,children:[]}}function ze(){return{type:"break"}}function _t(){return{type:"html",value:""}}function At(){return{type:"image",title:null,url:"",alt:null}}function qe(){return{type:"link",title:null,url:"",children:[]}}function rt(G){return{type:"list",ordered:G.type==="listOrdered",start:null,spread:G._spread,children:[]}}function Tn(G){return{type:"listItem",spread:G._spread,checked:null,children:[]}}function bt(){return{type:"paragraph",children:[]}}function pn(){return{type:"strong",children:[]}}function Ct(){return{type:"text",value:""}}function Dt(){return{type:"thematicBreak"}}}function ao(e){return{line:e.line,column:e.column,offset:e.offset}}function Xm(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Xm(e,r):bN(e,r)}}function bN(e,t){let n;for(n in t)if(Ym.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Of(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ea({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ea({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ea({start:t.start,end:t.end})+") is still open")}function CN(e){const t=this;t.parser=n;function n(r){return mN(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function IN(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function yN(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
128
128
  `}]}function EN(e,t){const n=t.value?t.value+`
129
129
  `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function SN(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function xN(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _N(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Hi(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let u,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=a+1,s+=1,e.footnoteCounts.set(r,s);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function TN(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wN(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Km(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const u=i[i.length-1];return u&&u.type==="text"?u.value+=r:i.push({type:"text",value:r}),i}function AN(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Km(e,t);const i={src:Hi(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function kN(e,t){const n={src:Hi(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function vN(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function LN(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Km(e,t);const i={href:Hi(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function DN(e,t){const n={href:Hi(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function NN(e,t,n){const r=e.all(t),i=n?RN(n):Jm(t),a={},u=[];if(typeof t.checked=="boolean"){const f=r[0];let h;f&&f.type==="element"&&f.tagName==="p"?h=f:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const f=r[s];(i||s!==0||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:`
130
130
  `}),f.type==="element"&&f.tagName==="p"&&!i?u.push(...f.children):u.push(f)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&u.push({type:"text",value:`
@@ -150,7 +150,7 @@ Valid keys: `+JSON.stringify(Object.keys(w),null," "));var J=Ue(Ce,ce,X,se,ee+"
150
150
  `,...a.current()});return/^[\t ]/.test(l)&&(l=Ha(l.charCodeAt(0))+l.slice(1)),l=l?u+" "+l:u,n.options.closeAtx&&(l+=" "+u),c(),s(),l}fg.peek=FP;function fg(e){return e.value||""}function FP(){return"<"}hg.peek=BP;function hg(e,t,n,r){const i=s0(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("image");let s=n.enter("label");const c=n.createTracker(r);let l=c.move("![");return l+=c.move(n.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(s=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(")"),u(),l}function BP(){return"!"}pg.peek=HP;function pg(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let u=n.enter("label");const s=n.createTracker(r);let c=s.move("![");const l=n.safe(e.alt,{before:c,after:"]",...s.current()});c+=s.move(l+"]["),u();const f=n.stack;n.stack=[],u=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return u(),n.stack=f,a(),i==="full"||!l||l!==h?c+=s.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function HP(){return"!"}mg.peek=jP;function mg(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const u=n.unsafe[a],s=n.compilePattern(u);let c;if(u.atBreak)for(;c=s.exec(r);){let l=c.index;r.charCodeAt(l)===10&&r.charCodeAt(l-1)===13&&l--,r=r.slice(0,l)+" "+r.slice(c.index+1)}}return i+r+i}function jP(){return"`"}function gg(e,t){const n=Qd(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}bg.peek=UP;function bg(e,t,n,r){const i=s0(n),a=i==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let s,c;if(gg(e,n)){const f=n.stack;n.stack=[],s=n.enter("autolink");let h=u.move("<");return h+=u.move(n.containerPhrasing(e,{before:h,after:">",...u.current()})),h+=u.move(">"),s(),n.stack=f,h}s=n.enter("link"),c=n.enter("label");let l=u.move("[");return l+=u.move(n.containerPhrasing(e,{before:l,after:"](",...u.current()})),l+=u.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(n.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(c=n.enter("destinationRaw"),l+=u.move(n.safe(e.url,{before:l,after:e.title?" ":")",...u.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=u.move(" "+i),l+=u.move(n.safe(e.title,{before:l,after:i,...u.current()})),l+=u.move(i),c()),l+=u.move(")"),s(),l}function UP(e,t,n){return gg(e,n)?"<":"["}Cg.peek=VP;function Cg(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let u=n.enter("label");const s=n.createTracker(r);let c=s.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...s.current()});c+=s.move(l+"]["),u();const f=n.stack;n.stack=[],u=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return u(),n.stack=f,a(),i==="full"||!l||l!==h?c+=s.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function VP(){return"["}function c0(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function zP(e){const t=c0(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function $P(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Ig(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function qP(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let u=e.ordered?$P(n):c0(n);const s=e.ordered?u==="."?")":".":zP(n);let c=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),Ig(n)===u&&f){let h=-1;for(;++h<e.children.length;){const g=e.children[h];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(u=s),n.bulletCurrent=u;const l=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=a,i(),l}function WP(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function GP(e,t,n,r){const i=WP(n);let a=n.bulletCurrent||c0(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let u=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(u-a.length)),s.shift(u);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,s.current()),f);return c(),l;function f(h,g,m){return g?(m?"":" ".repeat(u))+h:(m?a:a+" ".repeat(u-a.length))+h}}function ZP(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),u=n.containerPhrasing(e,r);return a(),i(),u}const YP=Ks(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function XP(e,t,n,r){return(e.children.some(function(u){return YP(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function KP(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}yg.peek=JP;function yg(e,t,n,r){const i=KP(n),a=n.enter("strong"),u=n.createTracker(r),s=u.move(i+i);let c=u.move(n.containerPhrasing(e,{after:i,before:s,...u.current()}));const l=c.charCodeAt(0),f=bs(r.before.charCodeAt(r.before.length-1),l,i);f.inside&&(c=Ha(l)+c.slice(1));const h=c.charCodeAt(c.length-1),g=bs(r.after.charCodeAt(0),h,i);g.inside&&(c=c.slice(0,-1)+Ha(h));const m=u.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:g.outside,before:f.outside},s+c+m}function JP(e,t,n){return n.options.strong||"*"}function QP(e,t,n,r){return n.safe(e.value,r)}function eO(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function tO(e,t,n){const r=(Ig(n)+(n.options.ruleSpaces?" ":"")).repeat(eO(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Eg={blockquote:_P,break:ah,code:LP,definition:NP,emphasis:dg,hardBreak:ah,heading:MP,html:fg,image:hg,imageReference:pg,inlineCode:mg,link:bg,linkReference:Cg,list:qP,listItem:GP,paragraph:ZP,root:XP,strong:yg,text:QP,thematicBreak:tO};function nO(){return{enter:{table:rO,tableData:uh,tableHeader:uh,tableRow:iO},exit:{codeText:aO,table:oO,tableData:Kc,tableHeader:Kc,tableRow:Kc}}}function rO(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function oO(e){this.exit(e),this.data.inTable=void 0}function iO(e){this.enter({type:"tableRow",children:[]},e)}function Kc(e){this.exit(e)}function uh(e){this.enter({type:"tableCell",children:[]},e)}function aO(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,uO));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function uO(e,t){return t==="|"?t:e}function sO(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
151
151
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:u,tableCell:c,tableRow:s}};function u(m,b,C,I){return l(f(m,C,I),m.align)}function s(m,b,C,I){const E=h(m,C,I),y=l([E]);return y.slice(0,y.indexOf(`
152
152
  `))}function c(m,b,C,I){const E=C.enter("tableCell"),y=C.enter("phrasing"),S=C.containerPhrasing(m,{...I,before:a,after:a});return y(),E(),S}function l(m,b){return SP(m,{align:b,alignDelimiters:r,padding:n,stringLength:i})}function f(m,b,C){const I=m.children;let E=-1;const y=[],S=b.enter("table");for(;++E<I.length;)y[E]=h(I[E],b,C);return S(),y}function h(m,b,C){const I=m.children;let E=-1;const y=[],S=b.enter("tableRow");for(;++E<I.length;)y[E]=c(I[E],m,b,C);return S(),y}function g(m,b,C){let I=Eg.inlineCode(m,b,C);return C.stack.includes("tableCell")&&(I=I.replace(/\|/g,"\\$&")),I}}function cO(){return{exit:{taskListCheckValueChecked:sh,taskListCheckValueUnchecked:sh,paragraph:dO}}}function lO(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:fO}}}function sh(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function dO(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,u;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){u=s;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function fO(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(u);let c=Eg.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(f){return f+u}}function hO(){return[qR(),fP(),gP(),nO(),cO()]}function pO(e){return{extensions:[WR(),hP(e),bP(),sO(e),lO()]}}const mO={tokenize:EO,partial:!0},Sg={tokenize:SO,partial:!0},xg={tokenize:xO,partial:!0},_g={tokenize:_O,partial:!0},gO={tokenize:TO,partial:!0},Tg={name:"wwwAutolink",tokenize:IO,previous:Ag},wg={name:"protocolAutolink",tokenize:yO,previous:kg},no={name:"emailAutolink",tokenize:CO,previous:vg},Fr={};function bO(){return{text:Fr}}let Ro=48;for(;Ro<123;)Fr[Ro]=no,Ro++,Ro===58?Ro=65:Ro===91&&(Ro=97);Fr[43]=no;Fr[45]=no;Fr[46]=no;Fr[95]=no;Fr[72]=[no,wg];Fr[104]=[no,wg];Fr[87]=[no,Tg];Fr[119]=[no,Tg];function CO(e,t,n){const r=this;let i,a;return u;function u(h){return!td(h)||!vg.call(r,r.previous)||l0(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(h))}function s(h){return td(h)?(e.consume(h),s):h===64?(e.consume(h),c):n(h)}function c(h){return h===46?e.check(gO,f,l)(h):h===45||h===95||Sn(h)?(a=!0,e.consume(h),c):f(h)}function l(h){return e.consume(h),i=!0,c}function f(h){return a&&i&&Ln(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function IO(e,t,n){const r=this;return i;function i(u){return u!==87&&u!==119||!Ag.call(r,r.previous)||l0(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(mO,e.attempt(Sg,e.attempt(xg,a),n),n)(u))}function a(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function yO(e,t,n){const r=this;let i="",a=!1;return u;function u(h){return(h===72||h===104)&&kg.call(r,r.previous)&&!l0(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),s):n(h)}function s(h){if(Ln(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),s;if(h===58){const g=i.toLowerCase();if(g==="http"||g==="https")return e.consume(h),c}return n(h)}function c(h){return h===47?(e.consume(h),a?l:(a=!0,c)):n(h)}function l(h){return h===null||ms(h)||ct(h)||Yo(h)||Zs(h)?n(h):e.attempt(Sg,e.attempt(xg,f),n)(h)}function f(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function EO(e,t,n){let r=0;return i;function i(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),i):u===46&&r===3?(e.consume(u),a):n(u)}function a(u){return u===null?n(u):t(u)}}function SO(e,t,n){let r,i,a;return u;function u(l){return l===46||l===95?e.check(_g,c,s)(l):l===null||ct(l)||Yo(l)||l!==45&&Zs(l)?c(l):(a=!0,e.consume(l),u)}function s(l){return l===95?r=!0:(i=r,r=void 0),e.consume(l),u}function c(l){return i||r||!a?n(l):t(l)}}function xO(e,t){let n=0,r=0;return i;function i(u){return u===40?(n++,e.consume(u),i):u===41&&r<n?a(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(_g,t,a)(u):u===null||ct(u)||Yo(u)?t(u):(e.consume(u),i)}function a(u){return u===41&&r++,e.consume(u),i}}function _O(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||ct(s)||Yo(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||ct(s)||Yo(s)?t(s):r(s)}function a(s){return Ln(s)?u(s):n(s)}function u(s){return s===59?(e.consume(s),r):Ln(s)?(e.consume(s),u):n(s)}}function TO(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Sn(a)?n(a):t(a)}}function Ag(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ct(e)}function kg(e){return!Ln(e)}function vg(e){return!(e===47||td(e))}function td(e){return e===43||e===45||e===46||e===95||Sn(e)}function l0(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const wO={tokenize:PO,partial:!0};function AO(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:DO,continuation:{tokenize:NO},exit:RO}},text:{91:{name:"gfmFootnoteCall",tokenize:LO},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:kO,resolveTo:vO}}}}function kO(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;i--;){const c=r.events[i][1];if(c.type==="labelImage"){u=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return s;function s(c){if(!u||!u._balanced)return n(c);const l=pr(r.sliceSerialize({start:u.end,end:r.now()}));return l.codePointAt(0)!==94||!a.includes(l.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function vO(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",u,t],["exit",u,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function LO(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,u;return s;function s(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),c}function c(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(h){if(a>999||h===93&&!u||h===null||h===91||ct(h))return n(h);if(h===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return i.includes(pr(r.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return ct(h)||(u=!0),a++,e.consume(h),h===92?f:l}function f(h){return h===91||h===92||h===93?(e.consume(h),a++,l):l(h)}}function DO(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,u=0,s;return c;function c(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(b)}function f(b){if(u>999||b===93&&!s||b===null||b===91||ct(b))return n(b);if(b===93){e.exit("chunkString");const C=e.exit("gfmFootnoteDefinitionLabelString");return a=pr(r.sliceSerialize(C)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return ct(b)||(s=!0),u++,e.consume(b),b===92?h:f}function h(b){return b===91||b===92||b===93?(e.consume(b),u++,f):f(b)}function g(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ke(e,m,"gfmFootnoteDefinitionWhitespace")):n(b)}function m(b){return t(b)}}function NO(e,t,n){return e.check(ou,t,e.attempt(wO,t,n))}function RO(e){e.exit("gfmFootnoteDefinition")}function PO(e,t,n){const r=this;return Ke(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(a):n(a)}}function OO(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(u,s){let c=-1;for(;++c<u.length;)if(u[c][0]==="enter"&&u[c][1].type==="strikethroughSequenceTemporary"&&u[c][1]._close){let l=c;for(;l--;)if(u[l][0]==="exit"&&u[l][1].type==="strikethroughSequenceTemporary"&&u[l][1]._open&&u[c][1].end.offset-u[c][1].start.offset===u[l][1].end.offset-u[l][1].start.offset){u[c][1].type="strikethroughSequence",u[l][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},u[l][1].start),end:Object.assign({},u[c][1].end)},h={type:"strikethroughText",start:Object.assign({},u[l][1].end),end:Object.assign({},u[c][1].start)},g=[["enter",f,s],["enter",u[l][1],s],["exit",u[l][1],s],["enter",h,s]],m=s.parser.constructs.insideSpan.null;m&&Xn(g,g.length,0,Ys(m,u.slice(l+1,c),s)),Xn(g,g.length,0,[["exit",h,s],["enter",u[c][1],s],["exit",u[c][1],s],["exit",f,s]]),Xn(u,l-1,c-l+3,g),c=l+g.length-2;break}}for(c=-1;++c<u.length;)u[c][1].type==="strikethroughSequenceTemporary"&&(u[c][1].type="data");return u}function a(u,s,c){const l=this.previous,f=this.events;let h=0;return g;function g(b){return l===126&&f[f.length-1][1].type!=="characterEscape"?c(b):(u.enter("strikethroughSequenceTemporary"),m(b))}function m(b){const C=xi(l);if(b===126)return h>1?c(b):(u.consume(b),h++,m);if(h<2&&!n)return c(b);const I=u.exit("strikethroughSequenceTemporary"),E=xi(b);return I._open=!E||E===2&&!!C,I._close=!C||C===2&&!!E,s(b)}}}class MO{constructor(){this.map=[]}add(t,n,r){FO(this,t,n,r)}consume(t){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function FO(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function BO(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function HO(){return{flow:{null:{name:"table",tokenize:jO,resolveAll:UO}}}}function jO(e,t,n){const r=this;let i=0,a=0,u;return s;function s(A){let j=r.events.length-1;for(;j>-1;){const q=r.events[j][1].type;if(q==="lineEnding"||q==="linePrefix")j--;else break}const F=j>-1?r.events[j][1].type:null,W=F==="tableHead"||F==="tableRow"?v:c;return W===v&&r.parser.lazy[r.now().line]?n(A):W(A)}function c(A){return e.enter("tableHead"),e.enter("tableRow"),l(A)}function l(A){return A===124||(u=!0,a+=1),f(A)}function f(A){return A===null?n(A):Ne(A)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),m):n(A):Ye(A)?Ke(e,f,"whitespace")(A):(a+=1,u&&(u=!1,i+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),u=!0,f):(e.enter("data"),h(A)))}function h(A){return A===null||A===124||ct(A)?(e.exit("data"),f(A)):(e.consume(A),A===92?g:h)}function g(A){return A===92||A===124?(e.consume(A),h):h(A)}function m(A){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(A):(e.enter("tableDelimiterRow"),u=!1,Ye(A)?Ke(e,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):b(A))}function b(A){return A===45||A===58?I(A):A===124?(u=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),C):_(A)}function C(A){return Ye(A)?Ke(e,I,"whitespace")(A):I(A)}function I(A){return A===58?(a+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),E):A===45?(a+=1,E(A)):A===null||Ne(A)?T(A):_(A)}function E(A){return A===45?(e.enter("tableDelimiterFiller"),y(A)):_(A)}function y(A){return A===45?(e.consume(A),y):A===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(A))}function S(A){return Ye(A)?Ke(e,T,"whitespace")(A):T(A)}function T(A){return A===124?b(A):A===null||Ne(A)?!u||i!==a?_(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):_(A)}function _(A){return n(A)}function v(A){return e.enter("tableRow"),x(A)}function x(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),x):A===null||Ne(A)?(e.exit("tableRow"),t(A)):Ye(A)?Ke(e,x,"whitespace")(A):(e.enter("data"),M(A))}function M(A){return A===null||A===124||ct(A)?(e.exit("data"),x(A)):(e.consume(A),A===92?H:M)}function H(A){return A===92||A===124?(e.consume(A),M):M(A)}}function UO(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],u=[0,0,0,0],s=!1,c=0,l,f,h;const g=new MO;for(;++n<e.length;){const m=e[n],b=m[1];m[0]==="enter"?b.type==="tableHead"?(s=!1,c!==0&&(ch(g,t,c,l,f),f=void 0,c=0),l={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},g.add(n,0,[["enter",l,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(r=!0,h=void 0,a=[0,0,0,0],u=[0,n+1,0,0],s&&(s=!1,f={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},g.add(n,0,[["enter",f,t]])),i=b.type==="tableDelimiterRow"?2:f?3:1):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(a[1]!==0&&(u[0]=u[1],h=Ru(g,t,a,i,void 0,h),a=[0,0,0,0]),u[2]=n)):b.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(u[0]=u[1],h=Ru(g,t,a,i,void 0,h)),a=u,u=[a[1],n,0,0])):b.type==="tableHead"?(s=!0,c=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(c=n,a[1]!==0?(u[0]=u[1],h=Ru(g,t,a,i,n,h)):u[1]!==0&&(h=Ru(g,t,u,i,n,h)),i=0):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(u[3]=n)}for(c!==0&&ch(g,t,c,l,f),g.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=BO(t.events,n))}return e}function Ru(e,t,n,r,i,a){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},di(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=di(t.events,n[1]);if(a={type:u,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const l=di(t.events,n[2]),f=di(t.events,n[3]),h={type:s,start:Object.assign({},l),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const g=t.events[n[2]],m=t.events[n[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const b=n[2]+1,C=n[3]-n[2]-1;e.add(b,C,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},di(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ch(e,t,n,r,i){const a=[],u=di(t.events,n);i&&(i.end=Object.assign({},u),a.push(["exit",i,t])),r.end=Object.assign({},u),a.push(["exit",r,t]),e.add(n+1,0,a)}function di(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const VO={name:"tasklistCheck",tokenize:$O};function zO(){return{text:{91:VO}}}function $O(e,t,n){const r=this;return i;function i(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return ct(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),u):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),u):n(c)}function u(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(c)}function s(c){return Ne(c)?t(c):Ye(c)?e.check({tokenize:qO},t,n)(c):n(c)}}function qO(e,t,n){return Ke(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function WO(e){return Bm([bO(),AO(),OO(e),HO(),zO()])}const GO={};function Lg(e){const t=this,n=e||GO,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(WO(n)),a.push(hO()),u.push(pO(n))}const lh=/[#.]/g;function ZO(e,t){const n=e||"",r={};let i=0,a,u;for(;i<n.length;){lh.lastIndex=i;const s=lh.exec(n),c=n.slice(i,s?s.index:n.length);c&&(a?a==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:u=c,i+=c.length),s&&(a=s[0],i++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function Dg(e,t,n){const r=n?JO(n):void 0;function i(a,u,...s){let c;if(a==null){c={type:"root",children:[]};const l=u;s.unshift(l)}else{c=ZO(a,t);const l=c.tagName.toLowerCase(),f=r?r.get(l):void 0;if(c.tagName=f||l,YO(u))s.unshift(u);else for(const[h,g]of Object.entries(u))XO(e,c.properties,h,g)}for(const l of s)nd(c.children,l);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return i}function YO(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const u of a)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function XO(e,t,n,r){const i=Yd(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=bf(r):i.commaSeparated?a=ff(r):i.commaOrSpaceSeparated?a=bf(ff(r).join(" ")):a=dh(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?KO(r):String(r);if(Array.isArray(a)){const u=[];for(const s of a)u.push(dh(i,i.property,s));a=u}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function nd(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)nd(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?nd(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function dh(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Fa(n)===Fa(t)))return!0}return n}function KO(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function JO(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const QO=["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","solidColor","textArea","textPath"],eM=Dg(Ws,"div"),tM=Dg(Bi,"g",QO);function nM(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let u=0;for(;;){let s=n[u];if(s===void 0){const c=fh(t,n[u-1]);s=c===-1?t.length+1:c+1,n[u]=s}if(s>a)return{line:u+1,column:a-(u>0?n[u-1]:0)+1,offset:a};u++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const s=n[n.length-1],c=fh(t,s),l=c===-1?t.length+1:c+1;if(s===l)break;n.push(l)}const u=(a.line>1?n[a.line-2]:0)+a.column-1;if(u<n[a.line-1])return u}}}function fh(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
153
- `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Vo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ng={}.hasOwnProperty,rM=Object.prototype;function oM(e,t){const n=t||{};return d0({file:n.file||void 0,location:!1,schema:n.space==="svg"?Bi:Ws,verbose:n.verbose||!1},e)}function d0(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ju(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Rg(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),u=nM(a),s=u.toPoint(0),c=u.toPoint(a.length);n.position={start:s,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ju(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ju(e,r,n),n}default:return n=iM(e,t),n}}function Rg(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=d0(e,t[n]);r.push(i)}return r}function iM(e,t){const n=e.schema;e.schema=t.namespaceURI===Vo.svg?Bi:Ws;let r=-1;const i={};for(;++r<t.attrs.length;){const s=t.attrs[r],c=(s.prefix?s.prefix+":":"")+s.name;Ng.call(rM,c)||(i[c]=s.value)}const u=(e.schema.space==="svg"?tM:eM)(t.tagName,i,Rg(e,t.childNodes));if(Ju(e,t,u),u.tagName==="template"){const s=t,c=s.sourceCodeLocation,l=c&&c.startTag&&pi(c.startTag),f=c&&c.endTag&&pi(c.endTag),h=d0(e,s.content);l&&f&&e.file&&(h.position={start:l.end,end:f.start}),u.content=h}return e.schema=n,u}function Ju(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=aM(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function aM(e,t,n){const r=pi(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let u;if(n.attrs)for(u in n.attrs)Ng.call(n.attrs,u)&&(a[Yd(e.schema,u).property]=pi(n.attrs[u]));n.startTag;const s=pi(n.startTag),c=n.endTag?pi(n.endTag):void 0,l={opening:s};c&&(l.closing=c),l.properties=a,t.data={position:l}}}return r}function pi(e){const t=hh({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=hh({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function hh(e){return e.line&&e.column?e:void 0}class au{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}au.prototype.property={};au.prototype.normal={};au.prototype.space=null;function Pg(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new au(n,r,t)}function rd(e){return e.toLowerCase()}class cr{constructor(t,n){this.property=t,this.attribute=n}}cr.prototype.space=null;cr.prototype.boolean=!1;cr.prototype.booleanish=!1;cr.prototype.overloadedBoolean=!1;cr.prototype.number=!1;cr.prototype.commaSeparated=!1;cr.prototype.spaceSeparated=!1;cr.prototype.commaOrSpaceSeparated=!1;cr.prototype.mustUseProperty=!1;cr.prototype.defined=!1;let uM=0;const He=Jo(),jt=Jo(),Og=Jo(),fe=Jo(),dt=Jo(),Ii=Jo(),$n=Jo();function Jo(){return 2**++uM}const od=Object.freeze(Object.defineProperty({__proto__:null,boolean:He,booleanish:jt,commaOrSpaceSeparated:$n,commaSeparated:Ii,number:fe,overloadedBoolean:Og,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Jc=Object.keys(od);class f0 extends cr{constructor(t,n,r,i){let a=-1;if(super(t,n),ph(this,"space",i),typeof r=="number")for(;++a<Jc.length;){const u=Jc[a];ph(this,Jc[a],(r&od[u])===od[u])}}}f0.prototype.defined=!0;function ph(e,t,n){n&&(e[t]=n)}const sM={}.hasOwnProperty;function ji(e){const t={},n={};let r;for(r in e.properties)if(sM.call(e.properties,r)){const i=e.properties[r],a=new f0(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[rd(r)]=r,n[rd(a.attribute)]=r}return new au(t,n,e.space)}const Mg=ji({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Fg=ji({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bg(e,t){return t in e?e[t]:t}function Hg(e,t){return Bg(e,t.toLowerCase())}const jg=ji({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Hg,properties:{xmlns:null,xmlnsXLink:null}}),Ug=ji({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:jt,ariaAutoComplete:null,ariaBusy:jt,ariaChecked:jt,ariaColCount:fe,ariaColIndex:fe,ariaColSpan:fe,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:jt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:jt,ariaFlowTo:dt,ariaGrabbed:jt,ariaHasPopup:null,ariaHidden:jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:fe,ariaLive:null,ariaModal:jt,ariaMultiLine:jt,ariaMultiSelectable:jt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:fe,ariaPressed:jt,ariaReadOnly:jt,ariaRelevant:null,ariaRequired:jt,ariaRoleDescription:dt,ariaRowCount:fe,ariaRowIndex:fe,ariaRowSpan:fe,ariaSelected:jt,ariaSetSize:fe,ariaSort:null,ariaValueMax:fe,ariaValueMin:fe,ariaValueNow:fe,ariaValueText:null,role:null}}),cM=ji({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Hg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ii,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:He,allowPaymentRequest:He,allowUserMedia:He,alt:null,as:null,async:He,autoCapitalize:null,autoComplete:dt,autoFocus:He,autoPlay:He,blocking:dt,capture:null,charSet:null,checked:He,cite:null,className:dt,cols:fe,colSpan:null,content:null,contentEditable:jt,controls:He,controlsList:dt,coords:fe|Ii,crossOrigin:null,data:null,dateTime:null,decoding:null,default:He,defer:He,dir:null,dirName:null,disabled:He,download:Og,draggable:jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:He,formTarget:null,headers:dt,height:fe,hidden:He,high:fe,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:He,inputMode:null,integrity:null,is:null,isMap:He,itemId:null,itemProp:dt,itemRef:dt,itemScope:He,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:He,low:fe,manifest:null,max:null,maxLength:fe,media:null,method:null,min:null,minLength:fe,multiple:He,muted:He,name:null,nonce:null,noModule:He,noValidate:He,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:He,optimum:fe,pattern:null,ping:dt,placeholder:null,playsInline:He,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:He,referrerPolicy:null,rel:dt,required:He,reversed:He,rows:fe,rowSpan:fe,sandbox:dt,scope:null,scoped:He,seamless:He,selected:He,shadowRootClonable:He,shadowRootDelegatesFocus:He,shadowRootMode:null,shape:null,size:fe,sizes:null,slot:null,span:fe,spellCheck:jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe,step:null,style:null,tabIndex:fe,target:null,title:null,translate:null,type:null,typeMustMatch:He,useMap:null,value:jt,width:fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:fe,borderColor:null,bottomMargin:fe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:He,declare:He,event:null,face:null,frame:null,frameBorder:null,hSpace:fe,leftMargin:fe,link:null,longDesc:null,lowSrc:null,marginHeight:fe,marginWidth:fe,noResize:He,noHref:He,noShade:He,noWrap:He,object:null,profile:null,prompt:null,rev:null,rightMargin:fe,rules:null,scheme:null,scrolling:jt,standby:null,summary:null,text:null,topMargin:fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:He,disableRemotePlayback:He,prefix:null,property:null,results:fe,security:null,unselectable:null}}),lM=ji({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Bg,properties:{about:$n,accentHeight:fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe,amplitude:fe,arabicForm:null,ascent:fe,attributeName:null,attributeType:null,azimuth:fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe,by:null,calcMode:null,capHeight:fe,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fe,diffuseConstant:fe,direction:null,display:null,dur:null,divisor:fe,dominantBaseline:null,download:He,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe,enableBackground:null,end:null,event:null,exponent:fe,externalResourcesRequired:null,fill:null,fillOpacity:fe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ii,g2:Ii,glyphName:Ii,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe,horizOriginX:fe,horizOriginY:fe,id:null,ideographic:fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe,k:fe,k1:fe,k2:fe,k3:fe,k4:fe,kernelMatrix:$n,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fe,overlineThickness:fe,paintOrder:null,panose1:null,path:null,pathLength:fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe,pointsAtY:fe,pointsAtZ:fe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$n,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$n,rev:$n,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$n,requiredFeatures:$n,requiredFonts:$n,requiredFormats:$n,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fe,specularExponent:fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe,strikethroughThickness:fe,string:null,stroke:null,strokeDashArray:$n,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe,strokeOpacity:fe,strokeWidth:null,style:null,surfaceScale:fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$n,tabIndex:fe,tableValues:null,target:null,targetX:fe,targetY:fe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$n,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fe,underlineThickness:fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe,values:null,vAlphabetic:fe,vMathematical:fe,vectorEffect:null,vHanging:fe,vIdeographic:fe,version:null,vertAdvY:fe,vertOriginX:fe,vertOriginY:fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),dM=/^data[-\w.:]+$/i,mh=/-[a-z]/g,fM=/[A-Z]/g;function hM(e,t){const n=rd(t);let r=t,i=cr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&dM.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(mh,mM);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!mh.test(a)){let u=a.replace(fM,pM);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=f0}return new i(r,t)}function pM(e){return"-"+e.toLowerCase()}function mM(e){return e.charAt(1).toUpperCase()}const gM=Pg([Fg,Mg,jg,Ug,cM],"html"),Vg=Pg([Fg,Mg,jg,Ug,lM],"svg"),bM={},CM={}.hasOwnProperty,zg=lg("type",{handlers:{root:yM,element:TM,text:xM,comment:_M,doctype:SM}});function IM(e,t){const r=(t||bM).space;return zg(e,r==="svg"?Vg:gM)}function yM(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=h0(e.children,n,t),Ui(e,n),n}function EM(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=h0(e.children,n,t),Ui(e,n),n}function SM(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ui(e,t),t}function xM(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ui(e,t),t}function _M(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ui(e,t),t}function TM(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Vg);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&CM.call(e.properties,a)){const c=wM(r,a,e.properties[a]);c&&i.push(c)}}const u=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Vo[u],childNodes:[],parentNode:null};return s.childNodes=h0(e.children,s,r),Ui(e,s),e.tagName==="template"&&e.content&&(s.content=EM(e.content,r)),s}function wM(e,t,n){const r=hM(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Em(n):Lm(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=Vo[r.space]}return i}function h0(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=zg(e[r],n);a.parentNode=t,i.push(a)}return i}function Ui(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const AM=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],kM=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),yt="�";var L;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(L||(L={}));const Rn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function $g(e){return e>=55296&&e<=57343}function vM(e){return e>=56320&&e<=57343}function LM(e,t){return(e-55296)*1024+9216+t}function qg(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Wg(e){return e>=64976&&e<=65007||kM.has(e)}var Z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Z||(Z={}));const DM=65536;class NM{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DM,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:a}=this,u=i+n,s=a+n;return{code:t,startLine:r,endLine:r,startCol:u,endCol:u,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(vM(n))return this.pos++,this._addGap(),LM(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,L.EOF;return this._err(Z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;const r=this.html.charCodeAt(n);return r===L.CARRIAGE_RETURN?L.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;let t=this.html.charCodeAt(this.pos);return t===L.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,L.LINE_FEED):t===L.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,$g(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===L.LINE_FEED||t===L.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){qg(t)?this._err(Z.controlCharacterInInputStream):Wg(t)&&this._err(Z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ge;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Ge||(Ge={}));function Gg(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const RM=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(e=>e.charCodeAt(0))),PM=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 OM(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=PM.get(e))!==null&&t!==void 0?t:e}var an;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(an||(an={}));const MM=32;var go;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(go||(go={}));function id(e){return e>=an.ZERO&&e<=an.NINE}function FM(e){return e>=an.UPPER_A&&e<=an.UPPER_F||e>=an.LOWER_A&&e<=an.LOWER_F}function BM(e){return e>=an.UPPER_A&&e<=an.UPPER_Z||e>=an.LOWER_A&&e<=an.LOWER_Z||id(e)}function HM(e){return e===an.EQUALS||BM(e)}var nn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(nn||(nn={}));var Zr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Zr||(Zr={}));let jM=class{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=nn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zr.Strict}startEntity(t){this.decodeMode=t,this.state=nn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case nn.EntityStart:return t.charCodeAt(n)===an.NUM?(this.state=nn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=nn.NamedEntity,this.stateNamedEntity(t,n));case nn.NumericStart:return this.stateNumericStart(t,n);case nn.NumericDecimal:return this.stateNumericDecimal(t,n);case nn.NumericHex:return this.stateNumericHex(t,n);case nn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|MM)===an.LOWER_X?(this.state=nn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=nn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(id(i)||FM(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(id(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===an.SEMI)this.consumed+=1;else if(this.decodeMode===Zr.Strict)return 0;return this.emitCodePoint(OM(this.result),this.consumed),this.errors&&(t!==an.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&go.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=UM(r,i,this.treeIndex+Math.max(1,a),u),this.treeIndex<0)return this.result===0||this.decodeMode===Zr.Attribute&&(a===0||HM(u))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&go.VALUE_LENGTH)>>14,a!==0){if(u===an.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Zr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&go.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~go.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case nn.NamedEntity:return this.result!==0&&(this.decodeMode!==Zr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case nn.NumericDecimal:return this.emitNumericEntity(0,2);case nn.NumericHex:return this.emitNumericEntity(0,3);case nn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case nn.EntityStart:return 0}}};function UM(e,t,n,r){const i=(t&go.BRANCH_LENGTH)>>7,a=t&go.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=i?-1:e[n+c]-1}let u=n,s=u+i-1;for(;u<=s;){const c=u+s>>>1,l=e[c];if(l<r)u=c+1;else if(l>r)s=c-1;else return e[c+i]}return-1}var oe;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(oe||(oe={}));var qo;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(qo||(qo={}));var rr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(rr||(rr={}));var U;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(U||(U={}));var p;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(p||(p={}));const VM=new Map([[U.A,p.A],[U.ADDRESS,p.ADDRESS],[U.ANNOTATION_XML,p.ANNOTATION_XML],[U.APPLET,p.APPLET],[U.AREA,p.AREA],[U.ARTICLE,p.ARTICLE],[U.ASIDE,p.ASIDE],[U.B,p.B],[U.BASE,p.BASE],[U.BASEFONT,p.BASEFONT],[U.BGSOUND,p.BGSOUND],[U.BIG,p.BIG],[U.BLOCKQUOTE,p.BLOCKQUOTE],[U.BODY,p.BODY],[U.BR,p.BR],[U.BUTTON,p.BUTTON],[U.CAPTION,p.CAPTION],[U.CENTER,p.CENTER],[U.CODE,p.CODE],[U.COL,p.COL],[U.COLGROUP,p.COLGROUP],[U.DD,p.DD],[U.DESC,p.DESC],[U.DETAILS,p.DETAILS],[U.DIALOG,p.DIALOG],[U.DIR,p.DIR],[U.DIV,p.DIV],[U.DL,p.DL],[U.DT,p.DT],[U.EM,p.EM],[U.EMBED,p.EMBED],[U.FIELDSET,p.FIELDSET],[U.FIGCAPTION,p.FIGCAPTION],[U.FIGURE,p.FIGURE],[U.FONT,p.FONT],[U.FOOTER,p.FOOTER],[U.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[U.FORM,p.FORM],[U.FRAME,p.FRAME],[U.FRAMESET,p.FRAMESET],[U.H1,p.H1],[U.H2,p.H2],[U.H3,p.H3],[U.H4,p.H4],[U.H5,p.H5],[U.H6,p.H6],[U.HEAD,p.HEAD],[U.HEADER,p.HEADER],[U.HGROUP,p.HGROUP],[U.HR,p.HR],[U.HTML,p.HTML],[U.I,p.I],[U.IMG,p.IMG],[U.IMAGE,p.IMAGE],[U.INPUT,p.INPUT],[U.IFRAME,p.IFRAME],[U.KEYGEN,p.KEYGEN],[U.LABEL,p.LABEL],[U.LI,p.LI],[U.LINK,p.LINK],[U.LISTING,p.LISTING],[U.MAIN,p.MAIN],[U.MALIGNMARK,p.MALIGNMARK],[U.MARQUEE,p.MARQUEE],[U.MATH,p.MATH],[U.MENU,p.MENU],[U.META,p.META],[U.MGLYPH,p.MGLYPH],[U.MI,p.MI],[U.MO,p.MO],[U.MN,p.MN],[U.MS,p.MS],[U.MTEXT,p.MTEXT],[U.NAV,p.NAV],[U.NOBR,p.NOBR],[U.NOFRAMES,p.NOFRAMES],[U.NOEMBED,p.NOEMBED],[U.NOSCRIPT,p.NOSCRIPT],[U.OBJECT,p.OBJECT],[U.OL,p.OL],[U.OPTGROUP,p.OPTGROUP],[U.OPTION,p.OPTION],[U.P,p.P],[U.PARAM,p.PARAM],[U.PLAINTEXT,p.PLAINTEXT],[U.PRE,p.PRE],[U.RB,p.RB],[U.RP,p.RP],[U.RT,p.RT],[U.RTC,p.RTC],[U.RUBY,p.RUBY],[U.S,p.S],[U.SCRIPT,p.SCRIPT],[U.SEARCH,p.SEARCH],[U.SECTION,p.SECTION],[U.SELECT,p.SELECT],[U.SOURCE,p.SOURCE],[U.SMALL,p.SMALL],[U.SPAN,p.SPAN],[U.STRIKE,p.STRIKE],[U.STRONG,p.STRONG],[U.STYLE,p.STYLE],[U.SUB,p.SUB],[U.SUMMARY,p.SUMMARY],[U.SUP,p.SUP],[U.TABLE,p.TABLE],[U.TBODY,p.TBODY],[U.TEMPLATE,p.TEMPLATE],[U.TEXTAREA,p.TEXTAREA],[U.TFOOT,p.TFOOT],[U.TD,p.TD],[U.TH,p.TH],[U.THEAD,p.THEAD],[U.TITLE,p.TITLE],[U.TR,p.TR],[U.TRACK,p.TRACK],[U.TT,p.TT],[U.U,p.U],[U.UL,p.UL],[U.SVG,p.SVG],[U.VAR,p.VAR],[U.WBR,p.WBR],[U.XMP,p.XMP]]);function Vi(e){var t;return(t=VM.get(e))!==null&&t!==void 0?t:p.UNKNOWN}const le=p,zM={[oe.HTML]:new Set([le.ADDRESS,le.APPLET,le.AREA,le.ARTICLE,le.ASIDE,le.BASE,le.BASEFONT,le.BGSOUND,le.BLOCKQUOTE,le.BODY,le.BR,le.BUTTON,le.CAPTION,le.CENTER,le.COL,le.COLGROUP,le.DD,le.DETAILS,le.DIR,le.DIV,le.DL,le.DT,le.EMBED,le.FIELDSET,le.FIGCAPTION,le.FIGURE,le.FOOTER,le.FORM,le.FRAME,le.FRAMESET,le.H1,le.H2,le.H3,le.H4,le.H5,le.H6,le.HEAD,le.HEADER,le.HGROUP,le.HR,le.HTML,le.IFRAME,le.IMG,le.INPUT,le.LI,le.LINK,le.LISTING,le.MAIN,le.MARQUEE,le.MENU,le.META,le.NAV,le.NOEMBED,le.NOFRAMES,le.NOSCRIPT,le.OBJECT,le.OL,le.P,le.PARAM,le.PLAINTEXT,le.PRE,le.SCRIPT,le.SECTION,le.SELECT,le.SOURCE,le.STYLE,le.SUMMARY,le.TABLE,le.TBODY,le.TD,le.TEMPLATE,le.TEXTAREA,le.TFOOT,le.TH,le.THEAD,le.TITLE,le.TR,le.TRACK,le.UL,le.WBR,le.XMP]),[oe.MATHML]:new Set([le.MI,le.MO,le.MN,le.MS,le.MTEXT,le.ANNOTATION_XML]),[oe.SVG]:new Set([le.TITLE,le.FOREIGN_OBJECT,le.DESC]),[oe.XLINK]:new Set,[oe.XML]:new Set,[oe.XMLNS]:new Set},ad=new Set([le.H1,le.H2,le.H3,le.H4,le.H5,le.H6]);U.STYLE,U.SCRIPT,U.XMP,U.IFRAME,U.NOEMBED,U.NOFRAMES,U.PLAINTEXT;var R;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(R||(R={}));const Ft={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function $M(e){return e>=L.DIGIT_0&&e<=L.DIGIT_9}function ga(e){return e>=L.LATIN_CAPITAL_A&&e<=L.LATIN_CAPITAL_Z}function qM(e){return e>=L.LATIN_SMALL_A&&e<=L.LATIN_SMALL_Z}function so(e){return qM(e)||ga(e)}function gh(e){return so(e)||$M(e)}function Pu(e){return e+32}function Zg(e){return e===L.SPACE||e===L.LINE_FEED||e===L.TABULATION||e===L.FORM_FEED}function bh(e){return Zg(e)||e===L.SOLIDUS||e===L.GREATER_THAN_SIGN}function WM(e){return e===L.NULL?Z.nullCharacterReference:e>1114111?Z.characterReferenceOutsideUnicodeRange:$g(e)?Z.surrogateCharacterReference:Wg(e)?Z.noncharacterCharacterReference:qg(e)||e===L.CARRIAGE_RETURN?Z.controlCharacterReference:null}class GM{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new NM(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new jM(RM,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(Z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=WM(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ge.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ge.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ge.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ge.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Gg(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Vi(t.tagName),t.type===Ge.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Z.endTagWithAttributes),t.selfClosing&&this._err(Z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ge.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ge.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ge.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ge.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Zg(t)?Ge.WHITESPACE_CHARACTER:t===L.NULL?Ge.NULL_CHARACTER:Ge.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ge.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Zr.Attribute:Zr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case R.DATA:{this._stateData(t);break}case R.RCDATA:{this._stateRcdata(t);break}case R.RAWTEXT:{this._stateRawtext(t);break}case R.SCRIPT_DATA:{this._stateScriptData(t);break}case R.PLAINTEXT:{this._statePlaintext(t);break}case R.TAG_OPEN:{this._stateTagOpen(t);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case R.TAG_NAME:{this._stateTagName(t);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case R.BOGUS_COMMENT:{this._stateBogusComment(t);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case R.COMMENT_START:{this._stateCommentStart(t);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case R.COMMENT:{this._stateComment(t);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case R.COMMENT_END:{this._stateCommentEnd(t);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case R.DOCTYPE:{this._stateDoctype(t);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case R.CDATA_SECTION:{this._stateCdataSection(t);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitCodePoint(t);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case L.AMPERSAND:{this._startCharacterReference();break}case L.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(so(t))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case L.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case L.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case L.QUESTION_MARK:{this._err(Z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t);break}case L.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(so(t))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case L.GREATER_THAN_SIGN:{this._err(Z.missingEndTagName),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.tagName+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateRcdataLessThanSign(t){t===L.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){so(t)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case L.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case L.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===L.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){so(t)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case L.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case L.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){so(t)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===L.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===L.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===L.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:so(t)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){so(t)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Rn.SCRIPT,!1)&&bh(this.preprocessor.peek(Rn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Rn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===L.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Rn.SCRIPT,!1)&&bh(this.preprocessor.peek(Rn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Rn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:{this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=yt;break}default:this.currentAttr.name+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateAfterAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case L.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case L.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:case L.EQUALS_SIGN:case L.GRAVE_ACCENT:{this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case L.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=yt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Rn.DASH_DASH,!0)?(this._createCommentToken(Rn.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(Rn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Rn.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(Rn.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(Z.cdataInHtmlContent),this._createCommentToken(Rn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=R.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case L.LESS_THAN_SIGN:{n.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=yt;break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case L.EXCLAMATION_MARK:{n.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case L.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===L.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===L.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==L.GREATER_THAN_SIGN&&t!==L.EOF&&this._err(Z.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case L.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case L.HYPHEN_MINUS:{n.data+="-";break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{n.data+="--!",this.state=R.COMMENT_END_DASH;break}case L.GREATER_THAN_SIGN:{this._err(Z.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=R.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case L.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ga(t))this._createDoctypeToken(String.fromCharCode(Pu(t))),this.state=R.DOCTYPE_NAME;else switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.NULL:{this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(yt),this.state=R.DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.name+=yt;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Rn.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Rn.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.NULL:{this._err(Z.unexpectedNullCharacter);break}case L.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case L.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case L.EOF:{this._err(Z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===L.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA;break}case L.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(L.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&gh(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){gh(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===L.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Yg=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),Ch=new Set([...Yg,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),Cs=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),ZM=new Set([...Cs,p.OL,p.UL]),YM=new Set([...Cs,p.BUTTON]),Ih=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),yh=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),XM=new Set([p.TR,p.TEMPLATE,p.HTML]),KM=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),JM=new Set([p.TABLE,p.TEMPLATE,p.HTML]),QM=new Set([p.TD,p.TH]);class eF{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==oe.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ad,oe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(QM,oe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(JM,oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(KM,oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(XM,oe.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case oe.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case oe.SVG:{if(yh.has(i))return!1;break}case oe.MATHML:{if(Ih.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Cs)}hasInListItemScope(t){return this.hasInDynamicScope(t,ZM)}hasInButtonScope(t){return this.hasInDynamicScope(t,YM)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case oe.HTML:{if(ad.has(n))return!0;if(Cs.has(n))return!1;break}case oe.SVG:{if(yh.has(n))return!1;break}case oe.MATHML:{if(Ih.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===oe.HTML)switch(this.tagIDs[n]){case t:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===oe.HTML)switch(this.tagIDs[t]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===oe.HTML)switch(this.tagIDs[n]){case t:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Yg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ch.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Ch.has(this.currentTagId);)this.pop()}}const Qc=3;var vr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(vr||(vr={}));const Eh={type:vr.Marker};class tF{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const c=this.entries[s];if(c.type===vr.Marker)break;const{element:l}=c;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===u){const f=this.treeAdapter.getAttrList(l);f.length===i&&r.push({idx:s,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Qc)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Qc)return;const i=new Map(n.map(u=>[u.name,u.value]));let a=0;for(let u=0;u<r.length;u++){const s=r[u];s.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=Qc&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Eh)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:vr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:vr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Eh);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===vr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===vr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===vr.Element&&n.element===t)}}const co={createDocument(){return{nodeName:"#document",mode:rr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};co.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(co.isTextNode(n)){n.value+=t;return}}co.appendChild(e,co.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&co.isTextNode(r)?r.value+=t:co.insertBefore(e,co.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Xg="html",nF="about:legacy-compat",rF="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Kg=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],oF=[...Kg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],iF=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Jg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],aF=[...Jg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Sh(e,t){return t.some(n=>e.startsWith(n))}function uF(e){return e.name===Xg&&e.publicId===null&&(e.systemId===null||e.systemId===nF)}function sF(e){if(e.name!==Xg)return rr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===rF)return rr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),iF.has(n))return rr.QUIRKS;let r=t===null?oF:Kg;if(Sh(n,r))return rr.QUIRKS;if(r=t===null?Jg:aF,Sh(n,r))return rr.LIMITED_QUIRKS}return rr.NO_QUIRKS}const xh={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},cF="definitionurl",lF="definitionURL",dF=new Map(["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(e=>[e.toLowerCase(),e])),fF=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:oe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:oe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:oe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:oe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:oe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:oe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:oe.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:oe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:oe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:oe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:oe.XMLNS}]]),hF=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),pF=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function mF(e){const t=e.tagID;return t===p.FONT&&e.attrs.some(({name:r})=>r===qo.COLOR||r===qo.SIZE||r===qo.FACE)||pF.has(t)}function Qg(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===cF){e.attrs[t].name=lF;break}}function e3(e){for(let t=0;t<e.attrs.length;t++){const n=dF.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function p0(e){for(let t=0;t<e.attrs.length;t++){const n=fF.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function gF(e){const t=hF.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Vi(e.tagName))}function bF(e,t){return t===oe.MATHML&&(e===p.MI||e===p.MO||e===p.MN||e===p.MS||e===p.MTEXT)}function CF(e,t,n){if(t===oe.MATHML&&e===p.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===qo.ENCODING){const i=n[r].value.toLowerCase();return i===xh.TEXT_HTML||i===xh.APPLICATION_XML}}return t===oe.SVG&&(e===p.FOREIGN_OBJECT||e===p.DESC||e===p.TITLE)}function IF(e,t,n,r){return(!r||r===oe.HTML)&&CF(e,t,n)||(!r||r===oe.MATHML)&&bF(e,t)}const yF="hidden",EF=8,SF=3;var P;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(P||(P={}));const xF={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},t3=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),_h={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:co,onParseError:null};class Th{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=P.INITIAL,this.originalInsertionMode=P.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={..._h,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new GM(this.options,this),this.activeFormattingElements=new tF(this.treeAdapter),this.fragmentContextID=r?Vi(this.treeAdapter.getTagName(r)):p.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new eF(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={..._h,...n};t??(t=r.treeAdapter.createElement(U.TEMPLATE,oe.HTML,[]));const i=r.treeAdapter.createElement("documentmock",oe.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===p.TEMPLATE&&a.tmplInsertionModeStack.unshift(P.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:xF,u={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(u)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,u;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,u=this.fragmentContextID):{current:a,currentTagId:u}=this.openElements,this._setContextModes(a,u)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===oe.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,oe.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=P.TEXT}switchToPlaintextParsing(){this.insertionMode=P.TEXT,this.originalInsertionMode=P.IN_BODY,this.tokenizer.state=Ft.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===U.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==oe.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=Ft.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=Ft.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=Ft.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=Ft.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,oe.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,oe.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(U.HTML,oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,p.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,u=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:c,endCol:l,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:c,endCol:l,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===Ge.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===p.SVG&&this.treeAdapter.getTagName(n)===U.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===oe.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===p.MGLYPH||t.tagID===p.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,oe.HTML)}_processToken(t){switch(t.type){case Ge.CHARACTER:{this.onCharacter(t);break}case Ge.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ge.COMMENT:{this.onComment(t);break}case Ge.DOCTYPE:{this.onDoctype(t);break}case Ge.START_TAG:{this._processStartTag(t);break}case Ge.END_TAG:{this.onEndTag(t);break}case Ge.EOF:{this.onEof(t);break}case Ge.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return IF(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===vr.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=P.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case p.TR:{this.insertionMode=P.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=P.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=P.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=P.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=P.IN_TABLE;return}case p.BODY:{this.insertionMode=P.IN_BODY;return}case p.FRAMESET:{this.insertionMode=P.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(t);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?P.AFTER_HEAD:P.BEFORE_HEAD;return}case p.TD:case p.TH:{if(t>0){this.insertionMode=P.IN_CELL;return}break}case p.HEAD:{if(t>0){this.insertionMode=P.IN_HEAD;return}break}}this.insertionMode=P.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===p.TEMPLATE)break;if(r===p.TABLE){this.insertionMode=P.IN_SELECT_IN_TABLE;return}}this.insertionMode=P.IN_SELECT}_isElementCausesFosterParenting(t){return t3.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===oe.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case p.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return zM[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){QB(this,t);return}switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:{r3(this,t);break}case P.TEXT:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_TABLE_TEXT:{c3(this,t);break}case P.IN_COLUMN_GROUP:{Is(this,t);break}case P.AFTER_BODY:{ys(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JB(this,t);return}switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.TEXT:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_COLUMN_GROUP:{Is(this,t);break}case P.AFTER_BODY:{ys(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ud(this,t);return}switch(this.insertionMode){case P.INITIAL:case P.BEFORE_HTML:case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_TEMPLATE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{ud(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.AFTER_BODY:{LF(this,t);break}case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{DF(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case P.INITIAL:{NF(this,t);break}case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:{this._err(t,Z.misplacedDoctype);break}case P.IN_TABLE_TEXT:{sa(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?eH(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{RF(this,t);break}case P.BEFORE_HEAD:{OF(this,t);break}case P.IN_HEAD:{yr(this,t);break}case P.IN_HEAD_NO_SCRIPT:{BF(this,t);break}case P.AFTER_HEAD:{jF(this,t);break}case P.IN_BODY:{_n(this,t);break}case P.IN_TABLE:{Ti(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_CAPTION:{MB(this,t);break}case P.IN_COLUMN_GROUP:{b0(this,t);break}case P.IN_TABLE_BODY:{nc(this,t);break}case P.IN_ROW:{rc(this,t);break}case P.IN_CELL:{HB(this,t);break}case P.IN_SELECT:{f3(this,t);break}case P.IN_SELECT_IN_TABLE:{UB(this,t);break}case P.IN_TEMPLATE:{zB(this,t);break}case P.AFTER_BODY:{qB(this,t);break}case P.IN_FRAMESET:{WB(this,t);break}case P.AFTER_FRAMESET:{ZB(this,t);break}case P.AFTER_AFTER_BODY:{XB(this,t);break}case P.AFTER_AFTER_FRAMESET:{KB(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?tH(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{PF(this,t);break}case P.BEFORE_HEAD:{MF(this,t);break}case P.IN_HEAD:{FF(this,t);break}case P.IN_HEAD_NO_SCRIPT:{HF(this,t);break}case P.AFTER_HEAD:{UF(this,t);break}case P.IN_BODY:{tc(this,t);break}case P.TEXT:{wB(this,t);break}case P.IN_TABLE:{ja(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_CAPTION:{FB(this,t);break}case P.IN_COLUMN_GROUP:{BB(this,t);break}case P.IN_TABLE_BODY:{sd(this,t);break}case P.IN_ROW:{d3(this,t);break}case P.IN_CELL:{jB(this,t);break}case P.IN_SELECT:{h3(this,t);break}case P.IN_SELECT_IN_TABLE:{VB(this,t);break}case P.IN_TEMPLATE:{$B(this,t);break}case P.AFTER_BODY:{m3(this,t);break}case P.IN_FRAMESET:{GB(this,t);break}case P.AFTER_FRAMESET:{YB(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onEof(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{u3(this,t);break}case P.TEXT:{AB(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_TEMPLATE:{p3(this,t);break}case P.AFTER_BODY:case P.IN_FRAMESET:case P.AFTER_FRAMESET:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{g0(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===L.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.TEXT:case P.IN_COLUMN_GROUP:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{this._insertCharacters(t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:case P.AFTER_BODY:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{n3(this,t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_TABLE_TEXT:{s3(this,t);break}}}}function _F(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):a3(e,t),n}function TF(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function wF(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,u=i;u!==n;a++,u=i){i=e.openElements.getCommonAncestor(u);const s=e.activeFormattingElements.getElementEntry(u),c=s&&a>=SF;!s||c?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(u)):(u=AF(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(u,r),r=u)}return r}function AF(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function kF(e,t,n){const r=e.treeAdapter.getTagName(t),i=Vi(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===p.TEMPLATE&&a===oe.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function vF(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function m0(e,t){for(let n=0;n<EF;n++){const r=_F(e,t);if(!r)break;const i=TF(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=wF(e,i,r.element),u=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),u&&kF(e,u,a),vF(e,i,r)}}function ud(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function LF(e,t){e._appendCommentNode(t,e.openElements.items[0])}function DF(e,t){e._appendCommentNode(t,e.document)}function g0(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(a);u&&!u.endTag&&e._setEndLocation(a,t)}}}}function NF(e,t){e._setDocumentType(t);const n=t.forceQuirks?rr.QUIRKS:sF(t);uF(t)||e._err(t,Z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=P.BEFORE_HTML}function ua(e,t){e._err(t,Z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,rr.QUIRKS),e.insertionMode=P.BEFORE_HTML,e._processToken(t)}function RF(e,t){t.tagID===p.HTML?(e._insertElement(t,oe.HTML),e.insertionMode=P.BEFORE_HEAD):_a(e,t)}function PF(e,t){const n=t.tagID;(n===p.HTML||n===p.HEAD||n===p.BODY||n===p.BR)&&_a(e,t)}function _a(e,t){e._insertFakeRootElement(),e.insertionMode=P.BEFORE_HEAD,e._processToken(t)}function OF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.HEAD:{e._insertElement(t,oe.HTML),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD;break}default:Ta(e,t)}}function MF(e,t){const n=t.tagID;n===p.HEAD||n===p.BODY||n===p.HTML||n===p.BR?Ta(e,t):e._err(t,Z.endTagWithoutMatchingOpenElement)}function Ta(e,t){e._insertFakeElement(U.HEAD,p.HEAD),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD,e._processToken(t)}function yr(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.TITLE:{e._switchToTextParsing(t,Ft.RCDATA);break}case p.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ft.RAWTEXT):(e._insertElement(t,oe.HTML),e.insertionMode=P.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{e._switchToTextParsing(t,Ft.RAWTEXT);break}case p.SCRIPT:{e._switchToTextParsing(t,Ft.SCRIPT_DATA);break}case p.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=P.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(P.IN_TEMPLATE);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:wa(e,t)}}function FF(e,t){switch(t.tagID){case p.HEAD:{e.openElements.pop(),e.insertionMode=P.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{wa(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Qo(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==p.TEMPLATE&&e._err(t,Z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Z.endTagWithoutMatchingOpenElement)}function wa(e,t){e.openElements.pop(),e.insertionMode=P.AFTER_HEAD,e._processToken(t)}function BF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{yr(e,t);break}case p.NOSCRIPT:{e._err(t,Z.nestedNoscriptInHead);break}default:Aa(e,t)}}function HF(e,t){switch(t.tagID){case p.NOSCRIPT:{e.openElements.pop(),e.insertionMode=P.IN_HEAD;break}case p.BR:{Aa(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Aa(e,t){const n=t.type===Ge.EOF?Z.openElementsLeftAfterEof:Z.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=P.IN_HEAD,e._processToken(t)}function jF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BODY:{e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=P.IN_BODY;break}case p.FRAMESET:{e._insertElement(t,oe.HTML),e.insertionMode=P.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{e._err(t,Z.abandonedHeadElementChild),e.openElements.push(e.headElement,p.HEAD),yr(e,t),e.openElements.remove(e.headElement);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:ka(e,t)}}function UF(e,t){switch(t.tagID){case p.BODY:case p.HTML:case p.BR:{ka(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function ka(e,t){e._insertFakeElement(U.BODY,p.BODY),e.insertionMode=P.IN_BODY,ec(e,t)}function ec(e,t){switch(t.type){case Ge.CHARACTER:{r3(e,t);break}case Ge.WHITESPACE_CHARACTER:{n3(e,t);break}case Ge.COMMENT:{ud(e,t);break}case Ge.START_TAG:{_n(e,t);break}case Ge.END_TAG:{tc(e,t);break}case Ge.EOF:{u3(e,t);break}}}function n3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function r3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function VF(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function zF(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function $F(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_FRAMESET)}function qF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML)}function WF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ad.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,oe.HTML)}function GF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ZF(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),n||(e.formElement=e.openElements.current))}function YF(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===p.LI&&i===p.LI||(n===p.DD||n===p.DT)&&(i===p.DD||i===p.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==p.ADDRESS&&i!==p.DIV&&i!==p.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML)}function XF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.tokenizer.state=Ft.PLAINTEXT}function KF(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.framesetOk=!1}function JF(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(U.A);n&&(m0(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function QF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function eB(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(m0(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function tB(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function nB(e,t){e.treeAdapter.getDocumentMode(e.document)!==rr.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=P.IN_TABLE}function o3(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function i3(e){const t=Gg(e,qo.TYPE);return t!=null&&t.toLowerCase()===yF}function rB(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oe.HTML),i3(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function oB(e,t){e._appendElement(t,oe.HTML),t.ackSelfClosing=!0}function iB(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,oe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function aB(e,t){t.tagName=U.IMG,t.tagID=p.IMG,o3(e,t)}function uB(e,t){e._insertElement(t,oe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ft.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=P.TEXT}function sB(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ft.RAWTEXT)}function cB(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ft.RAWTEXT)}function wh(e,t){e._switchToTextParsing(t,Ft.RAWTEXT)}function lB(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===P.IN_TABLE||e.insertionMode===P.IN_CAPTION||e.insertionMode===P.IN_TABLE_BODY||e.insertionMode===P.IN_ROW||e.insertionMode===P.IN_CELL?P.IN_SELECT_IN_TABLE:P.IN_SELECT}function dB(e,t){e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML)}function fB(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,oe.HTML)}function hB(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,oe.HTML)}function pB(e,t){e._reconstructActiveFormattingElements(),Qg(t),p0(t),t.selfClosing?e._appendElement(t,oe.MATHML):e._insertElement(t,oe.MATHML),t.ackSelfClosing=!0}function mB(e,t){e._reconstructActiveFormattingElements(),e3(t),p0(t),t.selfClosing?e._appendElement(t,oe.SVG):e._insertElement(t,oe.SVG),t.ackSelfClosing=!0}function Ah(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML)}function _n(e,t){switch(t.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{QF(e,t);break}case p.A:{JF(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{WF(e,t);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{qF(e,t);break}case p.LI:case p.DD:case p.DT:{YF(e,t);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{o3(e,t);break}case p.HR:{iB(e,t);break}case p.RB:case p.RTC:{fB(e,t);break}case p.RT:case p.RP:{hB(e,t);break}case p.PRE:case p.LISTING:{GF(e,t);break}case p.XMP:{sB(e,t);break}case p.SVG:{mB(e,t);break}case p.HTML:{VF(e,t);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{yr(e,t);break}case p.BODY:{zF(e,t);break}case p.FORM:{ZF(e,t);break}case p.NOBR:{eB(e,t);break}case p.MATH:{pB(e,t);break}case p.TABLE:{nB(e,t);break}case p.INPUT:{rB(e,t);break}case p.PARAM:case p.TRACK:case p.SOURCE:{oB(e,t);break}case p.IMAGE:{aB(e,t);break}case p.BUTTON:{KF(e,t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{tB(e,t);break}case p.IFRAME:{cB(e,t);break}case p.SELECT:{lB(e,t);break}case p.OPTION:case p.OPTGROUP:{dB(e,t);break}case p.NOEMBED:case p.NOFRAMES:{wh(e,t);break}case p.FRAMESET:{$F(e,t);break}case p.TEXTAREA:{uB(e,t);break}case p.NOSCRIPT:{e.options.scriptingEnabled?wh(e,t):Ah(e,t);break}case p.PLAINTEXT:{XF(e,t);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:Ah(e,t)}}function gB(e,t){if(e.openElements.hasInScope(p.BODY)&&(e.insertionMode=P.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function bB(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=P.AFTER_BODY,m3(e,t))}function CB(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function IB(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):n&&e.openElements.remove(n))}function yB(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(U.P,p.P),e._closePElement()}function EB(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function SB(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function xB(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function _B(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function TB(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(U.BR,p.BR),e.openElements.pop(),e.framesetOk=!1}function a3(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],u=e.openElements.tagIDs[i];if(r===u&&(r!==p.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,u))break}}function tc(e,t){switch(t.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{m0(e,t);break}case p.P:{yB(e);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{CB(e,t);break}case p.LI:{EB(e);break}case p.DD:case p.DT:{SB(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{xB(e);break}case p.BR:{TB(e);break}case p.BODY:{gB(e,t);break}case p.HTML:{bB(e,t);break}case p.FORM:{IB(e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{_B(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:a3(e,t)}}function u3(e,t){e.tmplInsertionModeStack.length>0?p3(e,t):g0(e,t)}function wB(e,t){var n;t.tagID===p.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function AB(e,t){e._err(t,Z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function el(e,t){if(e.openElements.currentTagId!==void 0&&t3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=P.IN_TABLE_TEXT,t.type){case Ge.CHARACTER:{c3(e,t);break}case Ge.WHITESPACE_CHARACTER:{s3(e,t);break}}else uu(e,t)}function kB(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_CAPTION}function vB(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_COLUMN_GROUP}function LB(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(U.COLGROUP,p.COLGROUP),e.insertionMode=P.IN_COLUMN_GROUP,b0(e,t)}function DB(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_TABLE_BODY}function NB(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(U.TBODY,p.TBODY),e.insertionMode=P.IN_TABLE_BODY,nc(e,t)}function RB(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function PB(e,t){i3(t)?e._appendElement(t,oe.HTML):uu(e,t),t.ackSelfClosing=!0}function OB(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,oe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ti(e,t){switch(t.tagID){case p.TD:case p.TH:case p.TR:{NB(e,t);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{yr(e,t);break}case p.COL:{LB(e,t);break}case p.FORM:{OB(e,t);break}case p.TABLE:{RB(e,t);break}case p.TBODY:case p.TFOOT:case p.THEAD:{DB(e,t);break}case p.INPUT:{PB(e,t);break}case p.CAPTION:{kB(e,t);break}case p.COLGROUP:{vB(e,t);break}default:uu(e,t)}}function ja(e,t){switch(t.tagID){case p.TABLE:{e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode());break}case p.TEMPLATE:{Qo(e,t);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:uu(e,t)}}function uu(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ec(e,t),e.fosterParentingEnabled=n}function s3(e,t){e.pendingCharacterTokens.push(t)}function c3(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function sa(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)uu(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const l3=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function MB(e,t){const n=t.tagID;l3.has(n)?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,Ti(e,t)):_n(e,t)}function FB(e,t){const n=t.tagID;switch(n){case p.CAPTION:case p.TABLE:{e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,n===p.TABLE&&ja(e,t));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:tc(e,t)}}function b0(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.COL:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.TEMPLATE:{yr(e,t);break}default:Is(e,t)}}function BB(e,t){switch(t.tagID){case p.COLGROUP:{e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case p.TEMPLATE:{Qo(e,t);break}case p.COL:break;default:Is(e,t)}}function Is(e,t){e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE,e._processToken(t))}function nc(e,t){switch(t.tagID){case p.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_ROW;break}case p.TH:case p.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(U.TR,p.TR),e.insertionMode=P.IN_ROW,rc(e,t);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,Ti(e,t));break}default:Ti(e,t)}}function sd(e,t){const n=t.tagID;switch(t.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case p.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,ja(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:ja(e,t)}}function rc(e,t){switch(t.tagID){case p.TH:case p.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_CELL,e.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,nc(e,t));break}default:Ti(e,t)}}function d3(e,t){switch(t.tagID){case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY);break}case p.TABLE:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,sd(e,t));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,sd(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:ja(e,t)}}function HB(e,t){const n=t.tagID;l3.has(n)?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),rc(e,t)):_n(e,t)}function jB(e,t){const n=t.tagID;switch(n){case p.TD:case p.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),d3(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:tc(e,t)}}function f3(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._insertElement(t,oe.HTML);break}case p.OPTGROUP:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,oe.HTML);break}case p.HR:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),t.tagID!==p.SELECT&&e._processStartTag(t));break}case p.SCRIPT:case p.TEMPLATE:{yr(e,t);break}}}function h3(e,t){switch(t.tagID){case p.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===p.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop();break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop();break}case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode());break}case p.TEMPLATE:{Qo(e,t);break}}}function UB(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processStartTag(t)):f3(e,t)}function VB(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e.onEndTag(t)):h3(e,t)}function zB(e,t){switch(t.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{yr(e,t);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.tmplInsertionModeStack[0]=P.IN_TABLE,e.insertionMode=P.IN_TABLE,Ti(e,t);break}case p.COL:{e.tmplInsertionModeStack[0]=P.IN_COLUMN_GROUP,e.insertionMode=P.IN_COLUMN_GROUP,b0(e,t);break}case p.TR:{e.tmplInsertionModeStack[0]=P.IN_TABLE_BODY,e.insertionMode=P.IN_TABLE_BODY,nc(e,t);break}case p.TD:case p.TH:{e.tmplInsertionModeStack[0]=P.IN_ROW,e.insertionMode=P.IN_ROW,rc(e,t);break}default:e.tmplInsertionModeStack[0]=P.IN_BODY,e.insertionMode=P.IN_BODY,_n(e,t)}}function $B(e,t){t.tagID===p.TEMPLATE&&Qo(e,t)}function p3(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):g0(e,t)}function qB(e,t){t.tagID===p.HTML?_n(e,t):ys(e,t)}function m3(e,t){var n;if(t.tagID===p.HTML){if(e.fragmentContext||(e.insertionMode=P.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===p.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else ys(e,t)}function ys(e,t){e.insertionMode=P.IN_BODY,ec(e,t)}function WB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.FRAMESET:{e._insertElement(t,oe.HTML);break}case p.FRAME:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.NOFRAMES:{yr(e,t);break}}}function GB(e,t){t.tagID===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==p.FRAMESET&&(e.insertionMode=P.AFTER_FRAMESET))}function ZB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.NOFRAMES:{yr(e,t);break}}}function YB(e,t){t.tagID===p.HTML&&(e.insertionMode=P.AFTER_AFTER_FRAMESET)}function XB(e,t){t.tagID===p.HTML?_n(e,t):Qu(e,t)}function Qu(e,t){e.insertionMode=P.IN_BODY,ec(e,t)}function KB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.NOFRAMES:{yr(e,t);break}}}function JB(e,t){t.chars=yt,e._insertCharacters(t)}function QB(e,t){e._insertCharacters(t),e.framesetOk=!1}function g3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==oe.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function eH(e,t){if(mF(t))g3(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===oe.MATHML?Qg(t):r===oe.SVG&&(gF(t),e3(t)),p0(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function tH(e,t){if(t.tagID===p.P||t.tagID===p.BR){g3(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===oe.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}U.AREA,U.BASE,U.BASEFONT,U.BGSOUND,U.BR,U.COL,U.EMBED,U.FRAME,U.HR,U.IMG,U.INPUT,U.KEYGEN,U.LINK,U.META,U.PARAM,U.SOURCE,U.TRACK,U.WBR;const nH=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,rH=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),kh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function b3(e,t){const n=hH(e),r=lg("type",{handlers:{root:oH,element:iH,text:aH,comment:I3,doctype:uH,raw:cH},unknown:lH}),i={parser:n?new Th(kh):Th.getFragmentParser(void 0,kh),handle(s){r(s,i)},stitches:!1,options:t||{}};r(e,i),zi(i,Mr());const a=n?i.parser.document:i.parser.getFragment(),u=oM(a,{file:i.options.file});return i.stitches&&Qs(u,"comment",function(s,c,l){const f=s;if(f.value.stitch&&l&&c!==void 0){const h=l.children;return h[c]=f.value.stitch,c}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function C3(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function oH(e,t){C3(e.children,t)}function iH(e,t){dH(e,t),C3(e.children,t),fH(e,t)}function aH(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Ge.CHARACTER,chars:e.value,location:su(e)};zi(t,Mr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function uH(e,t){const n={type:Ge.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:su(e)};zi(t,Mr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function sH(e,t){t.stitches=!0;const n=pH(e);if("children"in e&&"children"in n){const r=b3({type:"root",children:e.children},t.options);n.children=r.children}I3({type:"comment",value:{stitch:n}},t)}function I3(e,t){const n=e.value,r={type:Ge.COMMENT,data:n,location:su(e)};zi(t,Mr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function cH(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,y3(t,Mr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(nH,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function lH(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))sH(n,t);else{let r="";throw rH.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function zi(e,t){y3(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ft.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function y3(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function dH(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ft.PLAINTEXT)return;zi(t,Mr(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Vo.html;i===Vo.html&&n==="svg"&&(i=Vo.svg);const a=IM({...e,children:[]},{space:i===Vo.svg?"svg":"html"}),u={type:Ge.START_TAG,tagName:n,tagID:Vi(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:su(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function fH(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&AM.includes(n)||t.parser.tokenizer.state===Ft.PLAINTEXT)return;zi(t,Gs(e));const r={type:Ge.END_TAG,tagName:n,tagID:Vi(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:su(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ft.RCDATA||t.parser.tokenizer.state===Ft.RAWTEXT||t.parser.tokenizer.state===Ft.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ft.DATA)}function hH(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function su(e){const t=Mr(e)||{line:void 0,column:void 0,offset:void 0},n=Gs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function pH(e){return"children"in e?_i({...e,children:[]}):_i(e)}function E3(e){return function(t,n){return b3(t,{...e,file:n})}}const vh={};function mH(e){let t=vh[e];if(t)return t;t=vh[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function wi(e,t){typeof t!="string"&&(t=wi.defaultChars);const n=mH(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let a=0,u=r.length;a<u;a+=3){const s=parseInt(r.slice(a+1,a+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&a+3<u){const c=parseInt(r.slice(a+4,a+6),16);if((c&192)===128){const l=s<<6&1984|c&63;l<128?i+="��":i+=String.fromCharCode(l),a+=3;continue}}if((s&240)===224&&a+6<u){const c=parseInt(r.slice(a+4,a+6),16),l=parseInt(r.slice(a+7,a+9),16);if((c&192)===128&&(l&192)===128){const f=s<<12&61440|c<<6&4032|l&63;f<2048||f>=55296&&f<=57343?i+="���":i+=String.fromCharCode(f),a+=6;continue}}if((s&248)===240&&a+9<u){const c=parseInt(r.slice(a+4,a+6),16),l=parseInt(r.slice(a+7,a+9),16),f=parseInt(r.slice(a+10,a+12),16);if((c&192)===128&&(l&192)===128&&(f&192)===128){let h=s<<18&1835008|c<<12&258048|l<<6&4032|f&63;h<65536||h>1114111?i+="����":(h-=65536,i+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),a+=9;continue}}i+="�"}return i})}wi.defaultChars=";/?:@&=+$,#";wi.componentChars="";const Lh={};function gH(e){let t=Lh[e];if(t)return t;t=Lh[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function cu(e,t,n){typeof t!="string"&&(n=t,t=cu.defaultChars),typeof n>"u"&&(n=!0);const r=gH(t);let i="";for(let a=0,u=e.length;a<u;a++){const s=e.charCodeAt(a);if(n&&s===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){i+=e.slice(a,a+3),a+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<u){const c=e.charCodeAt(a+1);if(c>=56320&&c<=57343){i+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[a])}return i}cu.defaultChars=";/?:@&=+$,-_.!~*'()#";cu.componentChars="-_.!~*'()";function C0(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Es(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const bH=/^([a-z0-9.+-]+:)/i,CH=/:[0-9]*$/,IH=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yH=["<",">",'"',"`"," ","\r",`
153
+ `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Vo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ng={}.hasOwnProperty,rM=Object.prototype;function oM(e,t){const n=t||{};return d0({file:n.file||void 0,location:!1,schema:n.space==="svg"?Bi:Ws,verbose:n.verbose||!1},e)}function d0(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ju(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Rg(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),u=nM(a),s=u.toPoint(0),c=u.toPoint(a.length);n.position={start:s,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ju(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ju(e,r,n),n}default:return n=iM(e,t),n}}function Rg(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=d0(e,t[n]);r.push(i)}return r}function iM(e,t){const n=e.schema;e.schema=t.namespaceURI===Vo.svg?Bi:Ws;let r=-1;const i={};for(;++r<t.attrs.length;){const s=t.attrs[r],c=(s.prefix?s.prefix+":":"")+s.name;Ng.call(rM,c)||(i[c]=s.value)}const u=(e.schema.space==="svg"?tM:eM)(t.tagName,i,Rg(e,t.childNodes));if(Ju(e,t,u),u.tagName==="template"){const s=t,c=s.sourceCodeLocation,l=c&&c.startTag&&pi(c.startTag),f=c&&c.endTag&&pi(c.endTag),h=d0(e,s.content);l&&f&&e.file&&(h.position={start:l.end,end:f.start}),u.content=h}return e.schema=n,u}function Ju(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=aM(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function aM(e,t,n){const r=pi(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let u;if(n.attrs)for(u in n.attrs)Ng.call(n.attrs,u)&&(a[Yd(e.schema,u).property]=pi(n.attrs[u]));n.startTag;const s=pi(n.startTag),c=n.endTag?pi(n.endTag):void 0,l={opening:s};c&&(l.closing=c),l.properties=a,t.data={position:l}}}return r}function pi(e){const t=hh({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=hh({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function hh(e){return e.line&&e.column?e:void 0}class au{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}au.prototype.property={};au.prototype.normal={};au.prototype.space=null;function Pg(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new au(n,r,t)}function rd(e){return e.toLowerCase()}class cr{constructor(t,n){this.property=t,this.attribute=n}}cr.prototype.space=null;cr.prototype.boolean=!1;cr.prototype.booleanish=!1;cr.prototype.overloadedBoolean=!1;cr.prototype.number=!1;cr.prototype.commaSeparated=!1;cr.prototype.spaceSeparated=!1;cr.prototype.commaOrSpaceSeparated=!1;cr.prototype.mustUseProperty=!1;cr.prototype.defined=!1;let uM=0;const He=Jo(),jt=Jo(),Og=Jo(),fe=Jo(),dt=Jo(),Ii=Jo(),$n=Jo();function Jo(){return 2**++uM}const od=Object.freeze(Object.defineProperty({__proto__:null,boolean:He,booleanish:jt,commaOrSpaceSeparated:$n,commaSeparated:Ii,number:fe,overloadedBoolean:Og,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Jc=Object.keys(od);class f0 extends cr{constructor(t,n,r,i){let a=-1;if(super(t,n),ph(this,"space",i),typeof r=="number")for(;++a<Jc.length;){const u=Jc[a];ph(this,Jc[a],(r&od[u])===od[u])}}}f0.prototype.defined=!0;function ph(e,t,n){n&&(e[t]=n)}const sM={}.hasOwnProperty;function ji(e){const t={},n={};let r;for(r in e.properties)if(sM.call(e.properties,r)){const i=e.properties[r],a=new f0(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[rd(r)]=r,n[rd(a.attribute)]=r}return new au(t,n,e.space)}const Mg=ji({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Fg=ji({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bg(e,t){return t in e?e[t]:t}function Hg(e,t){return Bg(e,t.toLowerCase())}const jg=ji({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Hg,properties:{xmlns:null,xmlnsXLink:null}}),Ug=ji({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:jt,ariaAutoComplete:null,ariaBusy:jt,ariaChecked:jt,ariaColCount:fe,ariaColIndex:fe,ariaColSpan:fe,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:jt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:jt,ariaFlowTo:dt,ariaGrabbed:jt,ariaHasPopup:null,ariaHidden:jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:fe,ariaLive:null,ariaModal:jt,ariaMultiLine:jt,ariaMultiSelectable:jt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:fe,ariaPressed:jt,ariaReadOnly:jt,ariaRelevant:null,ariaRequired:jt,ariaRoleDescription:dt,ariaRowCount:fe,ariaRowIndex:fe,ariaRowSpan:fe,ariaSelected:jt,ariaSetSize:fe,ariaSort:null,ariaValueMax:fe,ariaValueMin:fe,ariaValueNow:fe,ariaValueText:null,role:null}}),cM=ji({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Hg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ii,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:He,allowPaymentRequest:He,allowUserMedia:He,alt:null,as:null,async:He,autoCapitalize:null,autoComplete:dt,autoFocus:He,autoPlay:He,blocking:dt,capture:null,charSet:null,checked:He,cite:null,className:dt,cols:fe,colSpan:null,content:null,contentEditable:jt,controls:He,controlsList:dt,coords:fe|Ii,crossOrigin:null,data:null,dateTime:null,decoding:null,default:He,defer:He,dir:null,dirName:null,disabled:He,download:Og,draggable:jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:He,formTarget:null,headers:dt,height:fe,hidden:He,high:fe,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:He,inputMode:null,integrity:null,is:null,isMap:He,itemId:null,itemProp:dt,itemRef:dt,itemScope:He,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:He,low:fe,manifest:null,max:null,maxLength:fe,media:null,method:null,min:null,minLength:fe,multiple:He,muted:He,name:null,nonce:null,noModule:He,noValidate:He,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:He,optimum:fe,pattern:null,ping:dt,placeholder:null,playsInline:He,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:He,referrerPolicy:null,rel:dt,required:He,reversed:He,rows:fe,rowSpan:fe,sandbox:dt,scope:null,scoped:He,seamless:He,selected:He,shadowRootClonable:He,shadowRootDelegatesFocus:He,shadowRootMode:null,shape:null,size:fe,sizes:null,slot:null,span:fe,spellCheck:jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe,step:null,style:null,tabIndex:fe,target:null,title:null,translate:null,type:null,typeMustMatch:He,useMap:null,value:jt,width:fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:fe,borderColor:null,bottomMargin:fe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:He,declare:He,event:null,face:null,frame:null,frameBorder:null,hSpace:fe,leftMargin:fe,link:null,longDesc:null,lowSrc:null,marginHeight:fe,marginWidth:fe,noResize:He,noHref:He,noShade:He,noWrap:He,object:null,profile:null,prompt:null,rev:null,rightMargin:fe,rules:null,scheme:null,scrolling:jt,standby:null,summary:null,text:null,topMargin:fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:He,disableRemotePlayback:He,prefix:null,property:null,results:fe,security:null,unselectable:null}}),lM=ji({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Bg,properties:{about:$n,accentHeight:fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe,amplitude:fe,arabicForm:null,ascent:fe,attributeName:null,attributeType:null,azimuth:fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe,by:null,calcMode:null,capHeight:fe,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fe,diffuseConstant:fe,direction:null,display:null,dur:null,divisor:fe,dominantBaseline:null,download:He,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe,enableBackground:null,end:null,event:null,exponent:fe,externalResourcesRequired:null,fill:null,fillOpacity:fe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ii,g2:Ii,glyphName:Ii,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe,horizOriginX:fe,horizOriginY:fe,id:null,ideographic:fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe,k:fe,k1:fe,k2:fe,k3:fe,k4:fe,kernelMatrix:$n,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fe,overlineThickness:fe,paintOrder:null,panose1:null,path:null,pathLength:fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe,pointsAtY:fe,pointsAtZ:fe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$n,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$n,rev:$n,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$n,requiredFeatures:$n,requiredFonts:$n,requiredFormats:$n,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fe,specularExponent:fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe,strikethroughThickness:fe,string:null,stroke:null,strokeDashArray:$n,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe,strokeOpacity:fe,strokeWidth:null,style:null,surfaceScale:fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$n,tabIndex:fe,tableValues:null,target:null,targetX:fe,targetY:fe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$n,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fe,underlineThickness:fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe,values:null,vAlphabetic:fe,vMathematical:fe,vectorEffect:null,vHanging:fe,vIdeographic:fe,version:null,vertAdvY:fe,vertOriginX:fe,vertOriginY:fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),dM=/^data[-\w.:]+$/i,mh=/-[a-z]/g,fM=/[A-Z]/g;function hM(e,t){const n=rd(t);let r=t,i=cr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&dM.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(mh,mM);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!mh.test(a)){let u=a.replace(fM,pM);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=f0}return new i(r,t)}function pM(e){return"-"+e.toLowerCase()}function mM(e){return e.charAt(1).toUpperCase()}const gM=Pg([Fg,Mg,jg,Ug,cM],"html"),Vg=Pg([Fg,Mg,jg,Ug,lM],"svg"),bM={},CM={}.hasOwnProperty,zg=lg("type",{handlers:{root:yM,element:TM,text:xM,comment:_M,doctype:SM}});function IM(e,t){const r=(t||bM).space;return zg(e,r==="svg"?Vg:gM)}function yM(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=h0(e.children,n,t),Ui(e,n),n}function EM(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=h0(e.children,n,t),Ui(e,n),n}function SM(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ui(e,t),t}function xM(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ui(e,t),t}function _M(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ui(e,t),t}function TM(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Vg);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&CM.call(e.properties,a)){const c=wM(r,a,e.properties[a]);c&&i.push(c)}}const u=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Vo[u],childNodes:[],parentNode:null};return s.childNodes=h0(e.children,s,r),Ui(e,s),e.tagName==="template"&&e.content&&(s.content=EM(e.content,r)),s}function wM(e,t,n){const r=hM(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Em(n):Lm(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=Vo[r.space]}return i}function h0(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=zg(e[r],n);a.parentNode=t,i.push(a)}return i}function Ui(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const AM=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],kM=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),yt="�";var L;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(L||(L={}));const Rn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function $g(e){return e>=55296&&e<=57343}function vM(e){return e>=56320&&e<=57343}function LM(e,t){return(e-55296)*1024+9216+t}function qg(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Wg(e){return e>=64976&&e<=65007||kM.has(e)}var Z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Z||(Z={}));const DM=65536;class NM{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DM,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:a}=this,u=i+n,s=a+n;return{code:t,startLine:r,endLine:r,startCol:u,endCol:u,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(vM(n))return this.pos++,this._addGap(),LM(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,L.EOF;return this._err(Z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;const r=this.html.charCodeAt(n);return r===L.CARRIAGE_RETURN?L.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;let t=this.html.charCodeAt(this.pos);return t===L.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,L.LINE_FEED):t===L.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,$g(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===L.LINE_FEED||t===L.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){qg(t)?this._err(Z.controlCharacterInInputStream):Wg(t)&&this._err(Z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ge;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Ge||(Ge={}));function Gg(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const RM=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(e=>e.charCodeAt(0))),PM=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 OM(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=PM.get(e))!==null&&t!==void 0?t:e}var an;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(an||(an={}));const MM=32;var go;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(go||(go={}));function id(e){return e>=an.ZERO&&e<=an.NINE}function FM(e){return e>=an.UPPER_A&&e<=an.UPPER_F||e>=an.LOWER_A&&e<=an.LOWER_F}function BM(e){return e>=an.UPPER_A&&e<=an.UPPER_Z||e>=an.LOWER_A&&e<=an.LOWER_Z||id(e)}function HM(e){return e===an.EQUALS||BM(e)}var nn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(nn||(nn={}));var Zr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Zr||(Zr={}));let jM=class{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=nn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zr.Strict}startEntity(t){this.decodeMode=t,this.state=nn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case nn.EntityStart:return t.charCodeAt(n)===an.NUM?(this.state=nn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=nn.NamedEntity,this.stateNamedEntity(t,n));case nn.NumericStart:return this.stateNumericStart(t,n);case nn.NumericDecimal:return this.stateNumericDecimal(t,n);case nn.NumericHex:return this.stateNumericHex(t,n);case nn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|MM)===an.LOWER_X?(this.state=nn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=nn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(id(i)||FM(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(id(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===an.SEMI)this.consumed+=1;else if(this.decodeMode===Zr.Strict)return 0;return this.emitCodePoint(OM(this.result),this.consumed),this.errors&&(t!==an.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&go.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=UM(r,i,this.treeIndex+Math.max(1,a),u),this.treeIndex<0)return this.result===0||this.decodeMode===Zr.Attribute&&(a===0||HM(u))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&go.VALUE_LENGTH)>>14,a!==0){if(u===an.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Zr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&go.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~go.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case nn.NamedEntity:return this.result!==0&&(this.decodeMode!==Zr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case nn.NumericDecimal:return this.emitNumericEntity(0,2);case nn.NumericHex:return this.emitNumericEntity(0,3);case nn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case nn.EntityStart:return 0}}};function UM(e,t,n,r){const i=(t&go.BRANCH_LENGTH)>>7,a=t&go.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=i?-1:e[n+c]-1}let u=n,s=u+i-1;for(;u<=s;){const c=u+s>>>1,l=e[c];if(l<r)u=c+1;else if(l>r)s=c-1;else return e[c+i]}return-1}var oe;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(oe||(oe={}));var qo;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(qo||(qo={}));var or;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(or||(or={}));var U;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(U||(U={}));var p;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(p||(p={}));const VM=new Map([[U.A,p.A],[U.ADDRESS,p.ADDRESS],[U.ANNOTATION_XML,p.ANNOTATION_XML],[U.APPLET,p.APPLET],[U.AREA,p.AREA],[U.ARTICLE,p.ARTICLE],[U.ASIDE,p.ASIDE],[U.B,p.B],[U.BASE,p.BASE],[U.BASEFONT,p.BASEFONT],[U.BGSOUND,p.BGSOUND],[U.BIG,p.BIG],[U.BLOCKQUOTE,p.BLOCKQUOTE],[U.BODY,p.BODY],[U.BR,p.BR],[U.BUTTON,p.BUTTON],[U.CAPTION,p.CAPTION],[U.CENTER,p.CENTER],[U.CODE,p.CODE],[U.COL,p.COL],[U.COLGROUP,p.COLGROUP],[U.DD,p.DD],[U.DESC,p.DESC],[U.DETAILS,p.DETAILS],[U.DIALOG,p.DIALOG],[U.DIR,p.DIR],[U.DIV,p.DIV],[U.DL,p.DL],[U.DT,p.DT],[U.EM,p.EM],[U.EMBED,p.EMBED],[U.FIELDSET,p.FIELDSET],[U.FIGCAPTION,p.FIGCAPTION],[U.FIGURE,p.FIGURE],[U.FONT,p.FONT],[U.FOOTER,p.FOOTER],[U.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[U.FORM,p.FORM],[U.FRAME,p.FRAME],[U.FRAMESET,p.FRAMESET],[U.H1,p.H1],[U.H2,p.H2],[U.H3,p.H3],[U.H4,p.H4],[U.H5,p.H5],[U.H6,p.H6],[U.HEAD,p.HEAD],[U.HEADER,p.HEADER],[U.HGROUP,p.HGROUP],[U.HR,p.HR],[U.HTML,p.HTML],[U.I,p.I],[U.IMG,p.IMG],[U.IMAGE,p.IMAGE],[U.INPUT,p.INPUT],[U.IFRAME,p.IFRAME],[U.KEYGEN,p.KEYGEN],[U.LABEL,p.LABEL],[U.LI,p.LI],[U.LINK,p.LINK],[U.LISTING,p.LISTING],[U.MAIN,p.MAIN],[U.MALIGNMARK,p.MALIGNMARK],[U.MARQUEE,p.MARQUEE],[U.MATH,p.MATH],[U.MENU,p.MENU],[U.META,p.META],[U.MGLYPH,p.MGLYPH],[U.MI,p.MI],[U.MO,p.MO],[U.MN,p.MN],[U.MS,p.MS],[U.MTEXT,p.MTEXT],[U.NAV,p.NAV],[U.NOBR,p.NOBR],[U.NOFRAMES,p.NOFRAMES],[U.NOEMBED,p.NOEMBED],[U.NOSCRIPT,p.NOSCRIPT],[U.OBJECT,p.OBJECT],[U.OL,p.OL],[U.OPTGROUP,p.OPTGROUP],[U.OPTION,p.OPTION],[U.P,p.P],[U.PARAM,p.PARAM],[U.PLAINTEXT,p.PLAINTEXT],[U.PRE,p.PRE],[U.RB,p.RB],[U.RP,p.RP],[U.RT,p.RT],[U.RTC,p.RTC],[U.RUBY,p.RUBY],[U.S,p.S],[U.SCRIPT,p.SCRIPT],[U.SEARCH,p.SEARCH],[U.SECTION,p.SECTION],[U.SELECT,p.SELECT],[U.SOURCE,p.SOURCE],[U.SMALL,p.SMALL],[U.SPAN,p.SPAN],[U.STRIKE,p.STRIKE],[U.STRONG,p.STRONG],[U.STYLE,p.STYLE],[U.SUB,p.SUB],[U.SUMMARY,p.SUMMARY],[U.SUP,p.SUP],[U.TABLE,p.TABLE],[U.TBODY,p.TBODY],[U.TEMPLATE,p.TEMPLATE],[U.TEXTAREA,p.TEXTAREA],[U.TFOOT,p.TFOOT],[U.TD,p.TD],[U.TH,p.TH],[U.THEAD,p.THEAD],[U.TITLE,p.TITLE],[U.TR,p.TR],[U.TRACK,p.TRACK],[U.TT,p.TT],[U.U,p.U],[U.UL,p.UL],[U.SVG,p.SVG],[U.VAR,p.VAR],[U.WBR,p.WBR],[U.XMP,p.XMP]]);function Vi(e){var t;return(t=VM.get(e))!==null&&t!==void 0?t:p.UNKNOWN}const le=p,zM={[oe.HTML]:new Set([le.ADDRESS,le.APPLET,le.AREA,le.ARTICLE,le.ASIDE,le.BASE,le.BASEFONT,le.BGSOUND,le.BLOCKQUOTE,le.BODY,le.BR,le.BUTTON,le.CAPTION,le.CENTER,le.COL,le.COLGROUP,le.DD,le.DETAILS,le.DIR,le.DIV,le.DL,le.DT,le.EMBED,le.FIELDSET,le.FIGCAPTION,le.FIGURE,le.FOOTER,le.FORM,le.FRAME,le.FRAMESET,le.H1,le.H2,le.H3,le.H4,le.H5,le.H6,le.HEAD,le.HEADER,le.HGROUP,le.HR,le.HTML,le.IFRAME,le.IMG,le.INPUT,le.LI,le.LINK,le.LISTING,le.MAIN,le.MARQUEE,le.MENU,le.META,le.NAV,le.NOEMBED,le.NOFRAMES,le.NOSCRIPT,le.OBJECT,le.OL,le.P,le.PARAM,le.PLAINTEXT,le.PRE,le.SCRIPT,le.SECTION,le.SELECT,le.SOURCE,le.STYLE,le.SUMMARY,le.TABLE,le.TBODY,le.TD,le.TEMPLATE,le.TEXTAREA,le.TFOOT,le.TH,le.THEAD,le.TITLE,le.TR,le.TRACK,le.UL,le.WBR,le.XMP]),[oe.MATHML]:new Set([le.MI,le.MO,le.MN,le.MS,le.MTEXT,le.ANNOTATION_XML]),[oe.SVG]:new Set([le.TITLE,le.FOREIGN_OBJECT,le.DESC]),[oe.XLINK]:new Set,[oe.XML]:new Set,[oe.XMLNS]:new Set},ad=new Set([le.H1,le.H2,le.H3,le.H4,le.H5,le.H6]);U.STYLE,U.SCRIPT,U.XMP,U.IFRAME,U.NOEMBED,U.NOFRAMES,U.PLAINTEXT;var R;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(R||(R={}));const Ft={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function $M(e){return e>=L.DIGIT_0&&e<=L.DIGIT_9}function ga(e){return e>=L.LATIN_CAPITAL_A&&e<=L.LATIN_CAPITAL_Z}function qM(e){return e>=L.LATIN_SMALL_A&&e<=L.LATIN_SMALL_Z}function so(e){return qM(e)||ga(e)}function gh(e){return so(e)||$M(e)}function Pu(e){return e+32}function Zg(e){return e===L.SPACE||e===L.LINE_FEED||e===L.TABULATION||e===L.FORM_FEED}function bh(e){return Zg(e)||e===L.SOLIDUS||e===L.GREATER_THAN_SIGN}function WM(e){return e===L.NULL?Z.nullCharacterReference:e>1114111?Z.characterReferenceOutsideUnicodeRange:$g(e)?Z.surrogateCharacterReference:Wg(e)?Z.noncharacterCharacterReference:qg(e)||e===L.CARRIAGE_RETURN?Z.controlCharacterReference:null}class GM{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new NM(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new jM(RM,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(Z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=WM(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ge.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ge.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ge.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ge.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Gg(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Vi(t.tagName),t.type===Ge.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Z.endTagWithAttributes),t.selfClosing&&this._err(Z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ge.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ge.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ge.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ge.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Zg(t)?Ge.WHITESPACE_CHARACTER:t===L.NULL?Ge.NULL_CHARACTER:Ge.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ge.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Zr.Attribute:Zr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case R.DATA:{this._stateData(t);break}case R.RCDATA:{this._stateRcdata(t);break}case R.RAWTEXT:{this._stateRawtext(t);break}case R.SCRIPT_DATA:{this._stateScriptData(t);break}case R.PLAINTEXT:{this._statePlaintext(t);break}case R.TAG_OPEN:{this._stateTagOpen(t);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case R.TAG_NAME:{this._stateTagName(t);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case R.BOGUS_COMMENT:{this._stateBogusComment(t);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case R.COMMENT_START:{this._stateCommentStart(t);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case R.COMMENT:{this._stateComment(t);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case R.COMMENT_END:{this._stateCommentEnd(t);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case R.DOCTYPE:{this._stateDoctype(t);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case R.CDATA_SECTION:{this._stateCdataSection(t);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitCodePoint(t);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case L.AMPERSAND:{this._startCharacterReference();break}case L.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(so(t))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case L.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case L.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case L.QUESTION_MARK:{this._err(Z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t);break}case L.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(so(t))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case L.GREATER_THAN_SIGN:{this._err(Z.missingEndTagName),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.tagName+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateRcdataLessThanSign(t){t===L.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){so(t)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case L.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case L.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===L.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){so(t)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case L.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case L.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){so(t)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===L.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===L.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===L.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:so(t)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){so(t)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Rn.SCRIPT,!1)&&bh(this.preprocessor.peek(Rn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Rn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(yt);break}case L.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===L.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Rn.SCRIPT,!1)&&bh(this.preprocessor.peek(Rn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Rn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:{this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=yt;break}default:this.currentAttr.name+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateAfterAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case L.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case L.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=yt;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:case L.EQUALS_SIGN:case L.GRAVE_ACCENT:{this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case L.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=yt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Rn.DASH_DASH,!0)?(this._createCommentToken(Rn.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(Rn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Rn.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(Rn.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(Z.cdataInHtmlContent),this._createCommentToken(Rn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=R.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case L.LESS_THAN_SIGN:{n.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=yt;break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case L.EXCLAMATION_MARK:{n.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case L.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===L.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===L.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==L.GREATER_THAN_SIGN&&t!==L.EOF&&this._err(Z.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case L.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case L.HYPHEN_MINUS:{n.data+="-";break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{n.data+="--!",this.state=R.COMMENT_END_DASH;break}case L.GREATER_THAN_SIGN:{this._err(Z.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=R.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case L.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ga(t))this._createDoctypeToken(String.fromCharCode(Pu(t))),this.state=R.DOCTYPE_NAME;else switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.NULL:{this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(yt),this.state=R.DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.name+=yt;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(ga(t)?Pu(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Rn.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Rn.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case L.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=yt;break}case L.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case L.NULL:{this._err(Z.unexpectedNullCharacter);break}case L.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case L.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case L.EOF:{this._err(Z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===L.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case L.GREATER_THAN_SIGN:{this.state=R.DATA;break}case L.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(L.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&gh(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){gh(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===L.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Yg=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),Ch=new Set([...Yg,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),Cs=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),ZM=new Set([...Cs,p.OL,p.UL]),YM=new Set([...Cs,p.BUTTON]),Ih=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),yh=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),XM=new Set([p.TR,p.TEMPLATE,p.HTML]),KM=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),JM=new Set([p.TABLE,p.TEMPLATE,p.HTML]),QM=new Set([p.TD,p.TH]);class eF{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==oe.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ad,oe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(QM,oe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(JM,oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(KM,oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(XM,oe.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case oe.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case oe.SVG:{if(yh.has(i))return!1;break}case oe.MATHML:{if(Ih.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Cs)}hasInListItemScope(t){return this.hasInDynamicScope(t,ZM)}hasInButtonScope(t){return this.hasInDynamicScope(t,YM)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case oe.HTML:{if(ad.has(n))return!0;if(Cs.has(n))return!1;break}case oe.SVG:{if(yh.has(n))return!1;break}case oe.MATHML:{if(Ih.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===oe.HTML)switch(this.tagIDs[n]){case t:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===oe.HTML)switch(this.tagIDs[t]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===oe.HTML)switch(this.tagIDs[n]){case t:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Yg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ch.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Ch.has(this.currentTagId);)this.pop()}}const Qc=3;var vr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(vr||(vr={}));const Eh={type:vr.Marker};class tF{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const c=this.entries[s];if(c.type===vr.Marker)break;const{element:l}=c;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===u){const f=this.treeAdapter.getAttrList(l);f.length===i&&r.push({idx:s,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Qc)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Qc)return;const i=new Map(n.map(u=>[u.name,u.value]));let a=0;for(let u=0;u<r.length;u++){const s=r[u];s.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=Qc&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Eh)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:vr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:vr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Eh);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===vr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===vr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===vr.Element&&n.element===t)}}const co={createDocument(){return{nodeName:"#document",mode:or.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};co.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(co.isTextNode(n)){n.value+=t;return}}co.appendChild(e,co.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&co.isTextNode(r)?r.value+=t:co.insertBefore(e,co.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Xg="html",nF="about:legacy-compat",rF="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Kg=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],oF=[...Kg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],iF=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Jg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],aF=[...Jg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Sh(e,t){return t.some(n=>e.startsWith(n))}function uF(e){return e.name===Xg&&e.publicId===null&&(e.systemId===null||e.systemId===nF)}function sF(e){if(e.name!==Xg)return or.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===rF)return or.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),iF.has(n))return or.QUIRKS;let r=t===null?oF:Kg;if(Sh(n,r))return or.QUIRKS;if(r=t===null?Jg:aF,Sh(n,r))return or.LIMITED_QUIRKS}return or.NO_QUIRKS}const xh={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},cF="definitionurl",lF="definitionURL",dF=new Map(["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(e=>[e.toLowerCase(),e])),fF=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:oe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:oe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:oe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:oe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:oe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:oe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:oe.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:oe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:oe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:oe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:oe.XMLNS}]]),hF=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),pF=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function mF(e){const t=e.tagID;return t===p.FONT&&e.attrs.some(({name:r})=>r===qo.COLOR||r===qo.SIZE||r===qo.FACE)||pF.has(t)}function Qg(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===cF){e.attrs[t].name=lF;break}}function e3(e){for(let t=0;t<e.attrs.length;t++){const n=dF.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function p0(e){for(let t=0;t<e.attrs.length;t++){const n=fF.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function gF(e){const t=hF.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Vi(e.tagName))}function bF(e,t){return t===oe.MATHML&&(e===p.MI||e===p.MO||e===p.MN||e===p.MS||e===p.MTEXT)}function CF(e,t,n){if(t===oe.MATHML&&e===p.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===qo.ENCODING){const i=n[r].value.toLowerCase();return i===xh.TEXT_HTML||i===xh.APPLICATION_XML}}return t===oe.SVG&&(e===p.FOREIGN_OBJECT||e===p.DESC||e===p.TITLE)}function IF(e,t,n,r){return(!r||r===oe.HTML)&&CF(e,t,n)||(!r||r===oe.MATHML)&&bF(e,t)}const yF="hidden",EF=8,SF=3;var P;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(P||(P={}));const xF={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},t3=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),_h={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:co,onParseError:null};class Th{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=P.INITIAL,this.originalInsertionMode=P.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={..._h,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new GM(this.options,this),this.activeFormattingElements=new tF(this.treeAdapter),this.fragmentContextID=r?Vi(this.treeAdapter.getTagName(r)):p.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new eF(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={..._h,...n};t??(t=r.treeAdapter.createElement(U.TEMPLATE,oe.HTML,[]));const i=r.treeAdapter.createElement("documentmock",oe.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===p.TEMPLATE&&a.tmplInsertionModeStack.unshift(P.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:xF,u={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(u)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,u;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,u=this.fragmentContextID):{current:a,currentTagId:u}=this.openElements,this._setContextModes(a,u)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===oe.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,oe.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=P.TEXT}switchToPlaintextParsing(){this.insertionMode=P.TEXT,this.originalInsertionMode=P.IN_BODY,this.tokenizer.state=Ft.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===U.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==oe.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=Ft.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=Ft.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=Ft.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=Ft.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,oe.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,oe.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(U.HTML,oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,p.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,u=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:c,endCol:l,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:c,endCol:l,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===Ge.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===p.SVG&&this.treeAdapter.getTagName(n)===U.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===oe.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===p.MGLYPH||t.tagID===p.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,oe.HTML)}_processToken(t){switch(t.type){case Ge.CHARACTER:{this.onCharacter(t);break}case Ge.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ge.COMMENT:{this.onComment(t);break}case Ge.DOCTYPE:{this.onDoctype(t);break}case Ge.START_TAG:{this._processStartTag(t);break}case Ge.END_TAG:{this.onEndTag(t);break}case Ge.EOF:{this.onEof(t);break}case Ge.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return IF(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===vr.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=P.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case p.TR:{this.insertionMode=P.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=P.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=P.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=P.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=P.IN_TABLE;return}case p.BODY:{this.insertionMode=P.IN_BODY;return}case p.FRAMESET:{this.insertionMode=P.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(t);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?P.AFTER_HEAD:P.BEFORE_HEAD;return}case p.TD:case p.TH:{if(t>0){this.insertionMode=P.IN_CELL;return}break}case p.HEAD:{if(t>0){this.insertionMode=P.IN_HEAD;return}break}}this.insertionMode=P.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===p.TEMPLATE)break;if(r===p.TABLE){this.insertionMode=P.IN_SELECT_IN_TABLE;return}}this.insertionMode=P.IN_SELECT}_isElementCausesFosterParenting(t){return t3.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===oe.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case p.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return zM[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){QB(this,t);return}switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:{r3(this,t);break}case P.TEXT:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_TABLE_TEXT:{c3(this,t);break}case P.IN_COLUMN_GROUP:{Is(this,t);break}case P.AFTER_BODY:{ys(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JB(this,t);return}switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.TEXT:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_COLUMN_GROUP:{Is(this,t);break}case P.AFTER_BODY:{ys(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ud(this,t);return}switch(this.insertionMode){case P.INITIAL:case P.BEFORE_HTML:case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_TEMPLATE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{ud(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.AFTER_BODY:{LF(this,t);break}case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{DF(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case P.INITIAL:{NF(this,t);break}case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:{this._err(t,Z.misplacedDoctype);break}case P.IN_TABLE_TEXT:{sa(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?eH(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{RF(this,t);break}case P.BEFORE_HEAD:{OF(this,t);break}case P.IN_HEAD:{yr(this,t);break}case P.IN_HEAD_NO_SCRIPT:{BF(this,t);break}case P.AFTER_HEAD:{jF(this,t);break}case P.IN_BODY:{_n(this,t);break}case P.IN_TABLE:{Ti(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_CAPTION:{MB(this,t);break}case P.IN_COLUMN_GROUP:{b0(this,t);break}case P.IN_TABLE_BODY:{nc(this,t);break}case P.IN_ROW:{rc(this,t);break}case P.IN_CELL:{HB(this,t);break}case P.IN_SELECT:{f3(this,t);break}case P.IN_SELECT_IN_TABLE:{UB(this,t);break}case P.IN_TEMPLATE:{zB(this,t);break}case P.AFTER_BODY:{qB(this,t);break}case P.IN_FRAMESET:{WB(this,t);break}case P.AFTER_FRAMESET:{ZB(this,t);break}case P.AFTER_AFTER_BODY:{XB(this,t);break}case P.AFTER_AFTER_FRAMESET:{KB(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?tH(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{PF(this,t);break}case P.BEFORE_HEAD:{MF(this,t);break}case P.IN_HEAD:{FF(this,t);break}case P.IN_HEAD_NO_SCRIPT:{HF(this,t);break}case P.AFTER_HEAD:{UF(this,t);break}case P.IN_BODY:{tc(this,t);break}case P.TEXT:{wB(this,t);break}case P.IN_TABLE:{ja(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_CAPTION:{FB(this,t);break}case P.IN_COLUMN_GROUP:{BB(this,t);break}case P.IN_TABLE_BODY:{sd(this,t);break}case P.IN_ROW:{d3(this,t);break}case P.IN_CELL:{jB(this,t);break}case P.IN_SELECT:{h3(this,t);break}case P.IN_SELECT_IN_TABLE:{VB(this,t);break}case P.IN_TEMPLATE:{$B(this,t);break}case P.AFTER_BODY:{m3(this,t);break}case P.IN_FRAMESET:{GB(this,t);break}case P.AFTER_FRAMESET:{YB(this,t);break}case P.AFTER_AFTER_BODY:{Qu(this,t);break}}}onEof(t){switch(this.insertionMode){case P.INITIAL:{ua(this,t);break}case P.BEFORE_HTML:{_a(this,t);break}case P.BEFORE_HEAD:{Ta(this,t);break}case P.IN_HEAD:{wa(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Aa(this,t);break}case P.AFTER_HEAD:{ka(this,t);break}case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{u3(this,t);break}case P.TEXT:{AB(this,t);break}case P.IN_TABLE_TEXT:{sa(this,t);break}case P.IN_TEMPLATE:{p3(this,t);break}case P.AFTER_BODY:case P.IN_FRAMESET:case P.AFTER_FRAMESET:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{g0(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===L.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.TEXT:case P.IN_COLUMN_GROUP:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{this._insertCharacters(t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:case P.AFTER_BODY:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{n3(this,t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{el(this,t);break}case P.IN_TABLE_TEXT:{s3(this,t);break}}}}function _F(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):a3(e,t),n}function TF(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function wF(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,u=i;u!==n;a++,u=i){i=e.openElements.getCommonAncestor(u);const s=e.activeFormattingElements.getElementEntry(u),c=s&&a>=SF;!s||c?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(u)):(u=AF(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(u,r),r=u)}return r}function AF(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function kF(e,t,n){const r=e.treeAdapter.getTagName(t),i=Vi(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===p.TEMPLATE&&a===oe.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function vF(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function m0(e,t){for(let n=0;n<EF;n++){const r=_F(e,t);if(!r)break;const i=TF(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=wF(e,i,r.element),u=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),u&&kF(e,u,a),vF(e,i,r)}}function ud(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function LF(e,t){e._appendCommentNode(t,e.openElements.items[0])}function DF(e,t){e._appendCommentNode(t,e.document)}function g0(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(a);u&&!u.endTag&&e._setEndLocation(a,t)}}}}function NF(e,t){e._setDocumentType(t);const n=t.forceQuirks?or.QUIRKS:sF(t);uF(t)||e._err(t,Z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=P.BEFORE_HTML}function ua(e,t){e._err(t,Z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,or.QUIRKS),e.insertionMode=P.BEFORE_HTML,e._processToken(t)}function RF(e,t){t.tagID===p.HTML?(e._insertElement(t,oe.HTML),e.insertionMode=P.BEFORE_HEAD):_a(e,t)}function PF(e,t){const n=t.tagID;(n===p.HTML||n===p.HEAD||n===p.BODY||n===p.BR)&&_a(e,t)}function _a(e,t){e._insertFakeRootElement(),e.insertionMode=P.BEFORE_HEAD,e._processToken(t)}function OF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.HEAD:{e._insertElement(t,oe.HTML),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD;break}default:Ta(e,t)}}function MF(e,t){const n=t.tagID;n===p.HEAD||n===p.BODY||n===p.HTML||n===p.BR?Ta(e,t):e._err(t,Z.endTagWithoutMatchingOpenElement)}function Ta(e,t){e._insertFakeElement(U.HEAD,p.HEAD),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD,e._processToken(t)}function yr(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.TITLE:{e._switchToTextParsing(t,Ft.RCDATA);break}case p.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ft.RAWTEXT):(e._insertElement(t,oe.HTML),e.insertionMode=P.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{e._switchToTextParsing(t,Ft.RAWTEXT);break}case p.SCRIPT:{e._switchToTextParsing(t,Ft.SCRIPT_DATA);break}case p.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=P.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(P.IN_TEMPLATE);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:wa(e,t)}}function FF(e,t){switch(t.tagID){case p.HEAD:{e.openElements.pop(),e.insertionMode=P.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{wa(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Qo(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==p.TEMPLATE&&e._err(t,Z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Z.endTagWithoutMatchingOpenElement)}function wa(e,t){e.openElements.pop(),e.insertionMode=P.AFTER_HEAD,e._processToken(t)}function BF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{yr(e,t);break}case p.NOSCRIPT:{e._err(t,Z.nestedNoscriptInHead);break}default:Aa(e,t)}}function HF(e,t){switch(t.tagID){case p.NOSCRIPT:{e.openElements.pop(),e.insertionMode=P.IN_HEAD;break}case p.BR:{Aa(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Aa(e,t){const n=t.type===Ge.EOF?Z.openElementsLeftAfterEof:Z.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=P.IN_HEAD,e._processToken(t)}function jF(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.BODY:{e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=P.IN_BODY;break}case p.FRAMESET:{e._insertElement(t,oe.HTML),e.insertionMode=P.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{e._err(t,Z.abandonedHeadElementChild),e.openElements.push(e.headElement,p.HEAD),yr(e,t),e.openElements.remove(e.headElement);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:ka(e,t)}}function UF(e,t){switch(t.tagID){case p.BODY:case p.HTML:case p.BR:{ka(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function ka(e,t){e._insertFakeElement(U.BODY,p.BODY),e.insertionMode=P.IN_BODY,ec(e,t)}function ec(e,t){switch(t.type){case Ge.CHARACTER:{r3(e,t);break}case Ge.WHITESPACE_CHARACTER:{n3(e,t);break}case Ge.COMMENT:{ud(e,t);break}case Ge.START_TAG:{_n(e,t);break}case Ge.END_TAG:{tc(e,t);break}case Ge.EOF:{u3(e,t);break}}}function n3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function r3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function VF(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function zF(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function $F(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_FRAMESET)}function qF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML)}function WF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ad.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,oe.HTML)}function GF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ZF(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),n||(e.formElement=e.openElements.current))}function YF(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===p.LI&&i===p.LI||(n===p.DD||n===p.DT)&&(i===p.DD||i===p.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==p.ADDRESS&&i!==p.DIV&&i!==p.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML)}function XF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.tokenizer.state=Ft.PLAINTEXT}function KF(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.framesetOk=!1}function JF(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(U.A);n&&(m0(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function QF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function eB(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(m0(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,oe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function tB(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function nB(e,t){e.treeAdapter.getDocumentMode(e.document)!==or.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=P.IN_TABLE}function o3(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function i3(e){const t=Gg(e,qo.TYPE);return t!=null&&t.toLowerCase()===yF}function rB(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oe.HTML),i3(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function oB(e,t){e._appendElement(t,oe.HTML),t.ackSelfClosing=!0}function iB(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,oe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function aB(e,t){t.tagName=U.IMG,t.tagID=p.IMG,o3(e,t)}function uB(e,t){e._insertElement(t,oe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ft.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=P.TEXT}function sB(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ft.RAWTEXT)}function cB(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ft.RAWTEXT)}function wh(e,t){e._switchToTextParsing(t,Ft.RAWTEXT)}function lB(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===P.IN_TABLE||e.insertionMode===P.IN_CAPTION||e.insertionMode===P.IN_TABLE_BODY||e.insertionMode===P.IN_ROW||e.insertionMode===P.IN_CELL?P.IN_SELECT_IN_TABLE:P.IN_SELECT}function dB(e,t){e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML)}function fB(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,oe.HTML)}function hB(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,oe.HTML)}function pB(e,t){e._reconstructActiveFormattingElements(),Qg(t),p0(t),t.selfClosing?e._appendElement(t,oe.MATHML):e._insertElement(t,oe.MATHML),t.ackSelfClosing=!0}function mB(e,t){e._reconstructActiveFormattingElements(),e3(t),p0(t),t.selfClosing?e._appendElement(t,oe.SVG):e._insertElement(t,oe.SVG),t.ackSelfClosing=!0}function Ah(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oe.HTML)}function _n(e,t){switch(t.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{QF(e,t);break}case p.A:{JF(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{WF(e,t);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{qF(e,t);break}case p.LI:case p.DD:case p.DT:{YF(e,t);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{o3(e,t);break}case p.HR:{iB(e,t);break}case p.RB:case p.RTC:{fB(e,t);break}case p.RT:case p.RP:{hB(e,t);break}case p.PRE:case p.LISTING:{GF(e,t);break}case p.XMP:{sB(e,t);break}case p.SVG:{mB(e,t);break}case p.HTML:{VF(e,t);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{yr(e,t);break}case p.BODY:{zF(e,t);break}case p.FORM:{ZF(e,t);break}case p.NOBR:{eB(e,t);break}case p.MATH:{pB(e,t);break}case p.TABLE:{nB(e,t);break}case p.INPUT:{rB(e,t);break}case p.PARAM:case p.TRACK:case p.SOURCE:{oB(e,t);break}case p.IMAGE:{aB(e,t);break}case p.BUTTON:{KF(e,t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{tB(e,t);break}case p.IFRAME:{cB(e,t);break}case p.SELECT:{lB(e,t);break}case p.OPTION:case p.OPTGROUP:{dB(e,t);break}case p.NOEMBED:case p.NOFRAMES:{wh(e,t);break}case p.FRAMESET:{$F(e,t);break}case p.TEXTAREA:{uB(e,t);break}case p.NOSCRIPT:{e.options.scriptingEnabled?wh(e,t):Ah(e,t);break}case p.PLAINTEXT:{XF(e,t);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:Ah(e,t)}}function gB(e,t){if(e.openElements.hasInScope(p.BODY)&&(e.insertionMode=P.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function bB(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=P.AFTER_BODY,m3(e,t))}function CB(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function IB(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):n&&e.openElements.remove(n))}function yB(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(U.P,p.P),e._closePElement()}function EB(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function SB(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function xB(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function _B(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function TB(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(U.BR,p.BR),e.openElements.pop(),e.framesetOk=!1}function a3(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],u=e.openElements.tagIDs[i];if(r===u&&(r!==p.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,u))break}}function tc(e,t){switch(t.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{m0(e,t);break}case p.P:{yB(e);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{CB(e,t);break}case p.LI:{EB(e);break}case p.DD:case p.DT:{SB(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{xB(e);break}case p.BR:{TB(e);break}case p.BODY:{gB(e,t);break}case p.HTML:{bB(e,t);break}case p.FORM:{IB(e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{_B(e,t);break}case p.TEMPLATE:{Qo(e,t);break}default:a3(e,t)}}function u3(e,t){e.tmplInsertionModeStack.length>0?p3(e,t):g0(e,t)}function wB(e,t){var n;t.tagID===p.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function AB(e,t){e._err(t,Z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function el(e,t){if(e.openElements.currentTagId!==void 0&&t3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=P.IN_TABLE_TEXT,t.type){case Ge.CHARACTER:{c3(e,t);break}case Ge.WHITESPACE_CHARACTER:{s3(e,t);break}}else uu(e,t)}function kB(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_CAPTION}function vB(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_COLUMN_GROUP}function LB(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(U.COLGROUP,p.COLGROUP),e.insertionMode=P.IN_COLUMN_GROUP,b0(e,t)}function DB(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_TABLE_BODY}function NB(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(U.TBODY,p.TBODY),e.insertionMode=P.IN_TABLE_BODY,nc(e,t)}function RB(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function PB(e,t){i3(t)?e._appendElement(t,oe.HTML):uu(e,t),t.ackSelfClosing=!0}function OB(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,oe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ti(e,t){switch(t.tagID){case p.TD:case p.TH:case p.TR:{NB(e,t);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{yr(e,t);break}case p.COL:{LB(e,t);break}case p.FORM:{OB(e,t);break}case p.TABLE:{RB(e,t);break}case p.TBODY:case p.TFOOT:case p.THEAD:{DB(e,t);break}case p.INPUT:{PB(e,t);break}case p.CAPTION:{kB(e,t);break}case p.COLGROUP:{vB(e,t);break}default:uu(e,t)}}function ja(e,t){switch(t.tagID){case p.TABLE:{e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode());break}case p.TEMPLATE:{Qo(e,t);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:uu(e,t)}}function uu(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ec(e,t),e.fosterParentingEnabled=n}function s3(e,t){e.pendingCharacterTokens.push(t)}function c3(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function sa(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)uu(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const l3=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function MB(e,t){const n=t.tagID;l3.has(n)?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,Ti(e,t)):_n(e,t)}function FB(e,t){const n=t.tagID;switch(n){case p.CAPTION:case p.TABLE:{e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,n===p.TABLE&&ja(e,t));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:tc(e,t)}}function b0(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.COL:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.TEMPLATE:{yr(e,t);break}default:Is(e,t)}}function BB(e,t){switch(t.tagID){case p.COLGROUP:{e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case p.TEMPLATE:{Qo(e,t);break}case p.COL:break;default:Is(e,t)}}function Is(e,t){e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE,e._processToken(t))}function nc(e,t){switch(t.tagID){case p.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_ROW;break}case p.TH:case p.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(U.TR,p.TR),e.insertionMode=P.IN_ROW,rc(e,t);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,Ti(e,t));break}default:Ti(e,t)}}function sd(e,t){const n=t.tagID;switch(t.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case p.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,ja(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:ja(e,t)}}function rc(e,t){switch(t.tagID){case p.TH:case p.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,oe.HTML),e.insertionMode=P.IN_CELL,e.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,nc(e,t));break}default:Ti(e,t)}}function d3(e,t){switch(t.tagID){case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY);break}case p.TABLE:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,sd(e,t));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,sd(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:ja(e,t)}}function HB(e,t){const n=t.tagID;l3.has(n)?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),rc(e,t)):_n(e,t)}function jB(e,t){const n=t.tagID;switch(n){case p.TD:case p.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),d3(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:tc(e,t)}}function f3(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._insertElement(t,oe.HTML);break}case p.OPTGROUP:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,oe.HTML);break}case p.HR:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),t.tagID!==p.SELECT&&e._processStartTag(t));break}case p.SCRIPT:case p.TEMPLATE:{yr(e,t);break}}}function h3(e,t){switch(t.tagID){case p.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===p.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop();break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop();break}case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode());break}case p.TEMPLATE:{Qo(e,t);break}}}function UB(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processStartTag(t)):f3(e,t)}function VB(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e.onEndTag(t)):h3(e,t)}function zB(e,t){switch(t.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{yr(e,t);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.tmplInsertionModeStack[0]=P.IN_TABLE,e.insertionMode=P.IN_TABLE,Ti(e,t);break}case p.COL:{e.tmplInsertionModeStack[0]=P.IN_COLUMN_GROUP,e.insertionMode=P.IN_COLUMN_GROUP,b0(e,t);break}case p.TR:{e.tmplInsertionModeStack[0]=P.IN_TABLE_BODY,e.insertionMode=P.IN_TABLE_BODY,nc(e,t);break}case p.TD:case p.TH:{e.tmplInsertionModeStack[0]=P.IN_ROW,e.insertionMode=P.IN_ROW,rc(e,t);break}default:e.tmplInsertionModeStack[0]=P.IN_BODY,e.insertionMode=P.IN_BODY,_n(e,t)}}function $B(e,t){t.tagID===p.TEMPLATE&&Qo(e,t)}function p3(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):g0(e,t)}function qB(e,t){t.tagID===p.HTML?_n(e,t):ys(e,t)}function m3(e,t){var n;if(t.tagID===p.HTML){if(e.fragmentContext||(e.insertionMode=P.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===p.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else ys(e,t)}function ys(e,t){e.insertionMode=P.IN_BODY,ec(e,t)}function WB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.FRAMESET:{e._insertElement(t,oe.HTML);break}case p.FRAME:{e._appendElement(t,oe.HTML),t.ackSelfClosing=!0;break}case p.NOFRAMES:{yr(e,t);break}}}function GB(e,t){t.tagID===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==p.FRAMESET&&(e.insertionMode=P.AFTER_FRAMESET))}function ZB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.NOFRAMES:{yr(e,t);break}}}function YB(e,t){t.tagID===p.HTML&&(e.insertionMode=P.AFTER_AFTER_FRAMESET)}function XB(e,t){t.tagID===p.HTML?_n(e,t):Qu(e,t)}function Qu(e,t){e.insertionMode=P.IN_BODY,ec(e,t)}function KB(e,t){switch(t.tagID){case p.HTML:{_n(e,t);break}case p.NOFRAMES:{yr(e,t);break}}}function JB(e,t){t.chars=yt,e._insertCharacters(t)}function QB(e,t){e._insertCharacters(t),e.framesetOk=!1}function g3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==oe.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function eH(e,t){if(mF(t))g3(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===oe.MATHML?Qg(t):r===oe.SVG&&(gF(t),e3(t)),p0(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function tH(e,t){if(t.tagID===p.P||t.tagID===p.BR){g3(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===oe.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}U.AREA,U.BASE,U.BASEFONT,U.BGSOUND,U.BR,U.COL,U.EMBED,U.FRAME,U.HR,U.IMG,U.INPUT,U.KEYGEN,U.LINK,U.META,U.PARAM,U.SOURCE,U.TRACK,U.WBR;const nH=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,rH=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),kh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function b3(e,t){const n=hH(e),r=lg("type",{handlers:{root:oH,element:iH,text:aH,comment:I3,doctype:uH,raw:cH},unknown:lH}),i={parser:n?new Th(kh):Th.getFragmentParser(void 0,kh),handle(s){r(s,i)},stitches:!1,options:t||{}};r(e,i),zi(i,Mr());const a=n?i.parser.document:i.parser.getFragment(),u=oM(a,{file:i.options.file});return i.stitches&&Qs(u,"comment",function(s,c,l){const f=s;if(f.value.stitch&&l&&c!==void 0){const h=l.children;return h[c]=f.value.stitch,c}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function C3(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function oH(e,t){C3(e.children,t)}function iH(e,t){dH(e,t),C3(e.children,t),fH(e,t)}function aH(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Ge.CHARACTER,chars:e.value,location:su(e)};zi(t,Mr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function uH(e,t){const n={type:Ge.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:su(e)};zi(t,Mr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function sH(e,t){t.stitches=!0;const n=pH(e);if("children"in e&&"children"in n){const r=b3({type:"root",children:e.children},t.options);n.children=r.children}I3({type:"comment",value:{stitch:n}},t)}function I3(e,t){const n=e.value,r={type:Ge.COMMENT,data:n,location:su(e)};zi(t,Mr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function cH(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,y3(t,Mr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(nH,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function lH(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))sH(n,t);else{let r="";throw rH.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function zi(e,t){y3(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ft.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function y3(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function dH(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ft.PLAINTEXT)return;zi(t,Mr(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Vo.html;i===Vo.html&&n==="svg"&&(i=Vo.svg);const a=IM({...e,children:[]},{space:i===Vo.svg?"svg":"html"}),u={type:Ge.START_TAG,tagName:n,tagID:Vi(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:su(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function fH(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&AM.includes(n)||t.parser.tokenizer.state===Ft.PLAINTEXT)return;zi(t,Gs(e));const r={type:Ge.END_TAG,tagName:n,tagID:Vi(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:su(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ft.RCDATA||t.parser.tokenizer.state===Ft.RAWTEXT||t.parser.tokenizer.state===Ft.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ft.DATA)}function hH(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function su(e){const t=Mr(e)||{line:void 0,column:void 0,offset:void 0},n=Gs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function pH(e){return"children"in e?_i({...e,children:[]}):_i(e)}function E3(e){return function(t,n){return b3(t,{...e,file:n})}}const vh={};function mH(e){let t=vh[e];if(t)return t;t=vh[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function wi(e,t){typeof t!="string"&&(t=wi.defaultChars);const n=mH(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let a=0,u=r.length;a<u;a+=3){const s=parseInt(r.slice(a+1,a+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&a+3<u){const c=parseInt(r.slice(a+4,a+6),16);if((c&192)===128){const l=s<<6&1984|c&63;l<128?i+="��":i+=String.fromCharCode(l),a+=3;continue}}if((s&240)===224&&a+6<u){const c=parseInt(r.slice(a+4,a+6),16),l=parseInt(r.slice(a+7,a+9),16);if((c&192)===128&&(l&192)===128){const f=s<<12&61440|c<<6&4032|l&63;f<2048||f>=55296&&f<=57343?i+="���":i+=String.fromCharCode(f),a+=6;continue}}if((s&248)===240&&a+9<u){const c=parseInt(r.slice(a+4,a+6),16),l=parseInt(r.slice(a+7,a+9),16),f=parseInt(r.slice(a+10,a+12),16);if((c&192)===128&&(l&192)===128&&(f&192)===128){let h=s<<18&1835008|c<<12&258048|l<<6&4032|f&63;h<65536||h>1114111?i+="����":(h-=65536,i+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),a+=9;continue}}i+="�"}return i})}wi.defaultChars=";/?:@&=+$,#";wi.componentChars="";const Lh={};function gH(e){let t=Lh[e];if(t)return t;t=Lh[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function cu(e,t,n){typeof t!="string"&&(n=t,t=cu.defaultChars),typeof n>"u"&&(n=!0);const r=gH(t);let i="";for(let a=0,u=e.length;a<u;a++){const s=e.charCodeAt(a);if(n&&s===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){i+=e.slice(a,a+3),a+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<u){const c=e.charCodeAt(a+1);if(c>=56320&&c<=57343){i+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[a])}return i}cu.defaultChars=";/?:@&=+$,-_.!~*'()#";cu.componentChars="-_.!~*'()";function C0(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Es(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const bH=/^([a-z0-9.+-]+:)/i,CH=/:[0-9]*$/,IH=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yH=["<",">",'"',"`"," ","\r",`
154
154
  `," "],EH=["{","}","|","\\","^","`"].concat(yH),SH=["'"].concat(EH),Dh=["%","/","?",";","#"].concat(SH),Nh=["/","?","#"],xH=255,Rh=/^[+a-z0-9A-Z_-]{0,63}$/,_H=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ph={javascript:!0,"javascript:":!0},Oh={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function I0(e,t){if(e&&e instanceof Es)return e;const n=new Es;return n.parse(e,t),n}Es.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const l=IH.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let u=bH.exec(a);if(u&&(u=u[0],n=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(t||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&Ph[u])&&(a=a.substr(2),this.slashes=!0)),!Ph[u]&&(i||u&&!Oh[u])){let l=-1;for(let b=0;b<Nh.length;b++)r=a.indexOf(Nh[b]),r!==-1&&(l===-1||r<l)&&(l=r);let f,h;l===-1?h=a.lastIndexOf("@"):h=a.lastIndexOf("@",l),h!==-1&&(f=a.slice(0,h),a=a.slice(h+1),this.auth=f),l=-1;for(let b=0;b<Dh.length;b++)r=a.indexOf(Dh[b]),r!==-1&&(l===-1||r<l)&&(l=r);l===-1&&(l=a.length),a[l-1]===":"&&l--;const g=a.slice(0,l);a=a.slice(l),this.parseHost(g),this.hostname=this.hostname||"";const m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){const b=this.hostname.split(/\./);for(let C=0,I=b.length;C<I;C++){const E=b[C];if(E&&!E.match(Rh)){let y="";for(let S=0,T=E.length;S<T;S++)E.charCodeAt(S)>127?y+="x":y+=E[S];if(!y.match(Rh)){const S=b.slice(0,C),T=b.slice(C+1),_=E.match(_H);_&&(S.push(_[1]),T.unshift(_[2])),T.length&&(a=T.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>xH&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=a.indexOf("#");s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));const c=a.indexOf("?");return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),Oh[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Es.prototype.parseHost=function(e){let t=CH.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const TH=Object.freeze(Object.defineProperty({__proto__:null,decode:wi,encode:cu,format:C0,parse:I0},Symbol.toStringTag,{value:"Module"})),S3=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,x3=/[\0-\x1F\x7F-\x9F]/,wH=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,y0=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,_3=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,T3=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,AH=Object.freeze(Object.defineProperty({__proto__:null,Any:S3,Cc:x3,Cf:wH,P:y0,S:_3,Z:T3},Symbol.toStringTag,{value:"Module"})),kH=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(e=>e.charCodeAt(0))),vH=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var tl;const LH=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]]),DH=(tl=String.fromCodePoint)!==null&&tl!==void 0?tl:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function NH(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=LH.get(e))!==null&&t!==void 0?t:e}var un;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(un||(un={}));const RH=32;var bo;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(bo||(bo={}));function cd(e){return e>=un.ZERO&&e<=un.NINE}function PH(e){return e>=un.UPPER_A&&e<=un.UPPER_F||e>=un.LOWER_A&&e<=un.LOWER_F}function OH(e){return e>=un.UPPER_A&&e<=un.UPPER_Z||e>=un.LOWER_A&&e<=un.LOWER_Z||cd(e)}function MH(e){return e===un.EQUALS||OH(e)}var rn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(rn||(rn={}));var po;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(po||(po={}));class FH{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=rn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=po.Strict}startEntity(t){this.decodeMode=t,this.state=rn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case rn.EntityStart:return t.charCodeAt(n)===un.NUM?(this.state=rn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=rn.NamedEntity,this.stateNamedEntity(t,n));case rn.NumericStart:return this.stateNumericStart(t,n);case rn.NumericDecimal:return this.stateNumericDecimal(t,n);case rn.NumericHex:return this.stateNumericHex(t,n);case rn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|RH)===un.LOWER_X?(this.state=rn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=rn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(cd(i)||PH(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(cd(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===un.SEMI)this.consumed+=1;else if(this.decodeMode===po.Strict)return 0;return this.emitCodePoint(NH(this.result),this.consumed),this.errors&&(t!==un.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&bo.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=BH(r,i,this.treeIndex+Math.max(1,a),u),this.treeIndex<0)return this.result===0||this.decodeMode===po.Attribute&&(a===0||MH(u))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&bo.VALUE_LENGTH)>>14,a!==0){if(u===un.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==po.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&bo.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~bo.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case rn.NamedEntity:return this.result!==0&&(this.decodeMode!==po.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case rn.NumericDecimal:return this.emitNumericEntity(0,2);case rn.NumericHex:return this.emitNumericEntity(0,3);case rn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rn.EntityStart:return 0}}}function w3(e){let t="";const n=new FH(e,r=>t+=DH(r));return function(i,a){let u=0,s=0;for(;(s=i.indexOf("&",s))>=0;){t+=i.slice(u,s),n.startEntity(a);const l=n.write(i,s+1);if(l<0){u=s+n.end();break}u=s+l,s=l===0?u+1:u}const c=t+i.slice(u);return t="",c}}function BH(e,t,n,r){const i=(t&bo.BRANCH_LENGTH)>>7,a=t&bo.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=i?-1:e[n+c]-1}let u=n,s=u+i-1;for(;u<=s;){const c=u+s>>>1,l=e[c];if(l<r)u=c+1;else if(l>r)s=c-1;else return e[c+i]}return-1}const HH=w3(kH);w3(vH);function A3(e,t=po.Legacy){return HH(e,t)}function jH(e){return Object.prototype.toString.call(e)}function E0(e){return jH(e)==="[object String]"}const UH=Object.prototype.hasOwnProperty;function VH(e,t){return UH.call(e,t)}function oc(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function k3(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function S0(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Ss(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const v3=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,zH=/&([a-z#][a-z0-9]{1,31});/gi,$H=new RegExp(v3.source+"|"+zH.source,"gi"),qH=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function WH(e,t){if(t.charCodeAt(0)===35&&qH.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return S0(r)?Ss(r):e}const n=A3(e);return n!==e?n:e}function GH(e){return e.indexOf("\\")<0?e:e.replace(v3,"$1")}function Ai(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace($H,function(t,n,r){return n||WH(t,r)})}const ZH=/[&<>"]/,YH=/[&<>"]/g,XH={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function KH(e){return XH[e]}function _o(e){return ZH.test(e)?e.replace(YH,KH):e}const JH=/[.?*+^$[\]\\(){}|-]/g;function QH(e){return e.replace(JH,"\\$&")}function ht(e){switch(e){case 9:case 32:return!0}return!1}function Ua(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Va(e){return y0.test(e)||_3.test(e)}function za(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ic(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const ej={mdurl:TH,ucmicro:AH},tj=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:k3,assign:oc,escapeHtml:_o,escapeRE:QH,fromCodePoint:Ss,has:VH,isMdAsciiPunct:za,isPunctChar:Va,isSpace:ht,isString:E0,isValidEntityCode:S0,isWhiteSpace:Ua,lib:ej,normalizeReference:ic,unescapeAll:Ai,unescapeMd:GH},Symbol.toStringTag,{value:"Module"}));function nj(e,t,n){let r,i,a,u;const s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(u=e.pos,e.md.inline.skipToken(e),a===91){if(u===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function rj(e,t,n){let r,i=t;const a={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=Ai(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let u=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(u++,u>32))return a;if(r===41){if(u===0)break;u--}i++}return t===i||u!==0||(a.str=Ai(e.slice(t,i)),a.pos=i,a.ok=!0),a}function oj(e,t,n,r){let i,a=t;const u={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)u.str=r.str,u.marker=r.marker;else{if(a>=n)return u;let s=e.charCodeAt(a);if(s!==34&&s!==39&&s!==40)return u;t++,a++,s===40&&(s=41),u.marker=s}for(;a<n;){if(i=e.charCodeAt(a),i===u.marker)return u.pos=a+1,u.str+=Ai(e.slice(t,a)),u.ok=!0,u;if(i===40&&u.marker===41)return u;i===92&&a+1<n&&a++,a++}return u.can_continue=!0,u.str+=Ai(e.slice(t,a)),u}const ij=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:rj,parseLinkLabel:nj,parseLinkTitle:oj},Symbol.toStringTag,{value:"Module"})),Br={};Br.code_inline=function(e,t,n,r,i){const a=e[t];return"<code"+i.renderAttrs(a)+">"+_o(a.content)+"</code>"};Br.code_block=function(e,t,n,r,i){const a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+_o(e[t].content)+`</code></pre>
155
155
  `};Br.fence=function(e,t,n,r,i){const a=e[t],u=a.info?Ai(a.info).trim():"";let s="",c="";if(u){const f=u.split(/(\s+)/g);s=f[0],c=f.slice(2).join("")}let l;if(n.highlight?l=n.highlight(a.content,s,c)||_o(a.content):l=_o(a.content),l.indexOf("<pre")===0)return l+`
156
156
  `;if(u){const f=a.attrIndex("class"),h=a.attrs?a.attrs.slice():[];f<0?h.push(["class",n.langPrefix+s]):(h[f]=h[f].slice(),h[f][1]+=" "+n.langPrefix+s);const g={attrs:h};return`<pre><code${i.renderAttrs(g)}>${l}</code></pre>
@@ -165,7 +165,7 @@ Valid keys: `+JSON.stringify(Object.keys(w),null," "));var J=Ue(Ce,ce,X,se,ee+"
165
165
  `:">",a};$i.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let a=0,u=e.length;a<u;a++){const s=e[a].type;typeof i[s]<"u"?r+=i[s](e,a,t,n,this):r+=this.renderToken(e,a,t)}return r};$i.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
166
166
  `;break}return r};$i.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let a=0,u=e.length;a<u;a++){const s=e[a].type;s==="inline"?r+=this.renderInline(e[a].children,t,n):typeof i[s]<"u"?r+=i[s](e,a,t,n,this):r+=this.renderToken(e,a,t,n)}return r};function Hn(){this.__rules__=[],this.__cache__=null}Hn.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Hn.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};Hn.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null};Hn.prototype.before=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};Hn.prototype.after=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};Hn.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};Hn.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!0,n.push(r)},this),this.__cache__=null,n};Hn.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Hn.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!1,n.push(r)},this),this.__cache__=null,n};Hn.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Er(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Er.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,i=n.length;r<i;r++)if(n[r][0]===t)return r;return-1};Er.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Er.prototype.attrSet=function(t,n){const r=this.attrIndex(t),i=[t,n];r<0?this.attrPush(i):this.attrs[r]=i};Er.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};Er.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function L3(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}L3.prototype.Token=Er;const aj=/\r\n?|\n/g,uj=/\0/g;function sj(e){let t;t=e.src.replace(aj,`
167
167
  `),t=t.replace(uj,"�"),e.src=t}function cj(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function lj(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function dj(e){return/^<a[>\s]/i.test(e)}function fj(e){return/^<\/a\s*>/i.test(e)}function hj(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let i=t[n].children,a=0;for(let u=i.length-1;u>=0;u--){const s=i[u];if(s.type==="link_close"){for(u--;i[u].level!==s.level&&i[u].type!=="link_open";)u--;continue}if(s.type==="html_inline"&&(dj(s.content)&&a>0&&a--,fj(s.content)&&a++),!(a>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const c=s.content;let l=e.md.linkify.match(c);const f=[];let h=s.level,g=0;l.length>0&&l[0].index===0&&u>0&&i[u-1].type==="text_special"&&(l=l.slice(1));for(let m=0;m<l.length;m++){const b=l[m].url,C=e.md.normalizeLink(b);if(!e.md.validateLink(C))continue;let I=l[m].text;l[m].schema?l[m].schema==="mailto:"&&!/^mailto:/i.test(I)?I=e.md.normalizeLinkText("mailto:"+I).replace(/^mailto:/,""):I=e.md.normalizeLinkText(I):I=e.md.normalizeLinkText("http://"+I).replace(/^http:\/\//,"");const E=l[m].index;if(E>g){const _=new e.Token("text","",0);_.content=c.slice(g,E),_.level=h,f.push(_)}const y=new e.Token("link_open","a",1);y.attrs=[["href",C]],y.level=h++,y.markup="linkify",y.info="auto",f.push(y);const S=new e.Token("text","",0);S.content=I,S.level=h,f.push(S);const T=new e.Token("link_close","a",-1);T.level=--h,T.markup="linkify",T.info="auto",f.push(T),g=l[m].lastIndex}if(g<c.length){const m=new e.Token("text","",0);m.content=c.slice(g),m.level=h,f.push(m)}t[n].children=i=k3(i,u,f)}}}}const D3=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,pj=/\((c|tm|r)\)/i,mj=/\((c|tm|r)\)/ig,gj={c:"©",r:"®",tm:"™"};function bj(e,t){return gj[t.toLowerCase()]}function Cj(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(mj,bj)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Ij(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&D3.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function yj(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(pj.test(e.tokens[t].content)&&Cj(e.tokens[t].children),D3.test(e.tokens[t].content)&&Ij(e.tokens[t].children))}const Ej=/['"]/,Mh=/['"]/g,Fh="’";function Ou(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Sj(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const a=e[i],u=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=u);n--);if(r.length=n+1,a.type!=="text")continue;let s=a.content,c=0,l=s.length;e:for(;c<l;){Mh.lastIndex=c;const f=Mh.exec(s);if(!f)break;let h=!0,g=!0;c=f.index+1;const m=f[0]==="'";let b=32;if(f.index-1>=0)b=s.charCodeAt(f.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){b=e[n].content.charCodeAt(e[n].content.length-1);break}let C=32;if(c<l)C=s.charCodeAt(c);else for(n=i+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){C=e[n].content.charCodeAt(0);break}const I=za(b)||Va(String.fromCharCode(b)),E=za(C)||Va(String.fromCharCode(C)),y=Ua(b),S=Ua(C);if(S?h=!1:E&&(y||I||(h=!1)),y?g=!1:I&&(S||E||(g=!1)),C===34&&f[0]==='"'&&b>=48&&b<=57&&(g=h=!1),h&&g&&(h=I,g=E),!h&&!g){m&&(a.content=Ou(a.content,f.index,Fh));continue}if(g)for(n=r.length-1;n>=0;n--){let T=r[n];if(r[n].level<u)break;if(T.single===m&&r[n].level===u){T=r[n];let _,v;m?(_=t.md.options.quotes[2],v=t.md.options.quotes[3]):(_=t.md.options.quotes[0],v=t.md.options.quotes[1]),a.content=Ou(a.content,f.index,v),e[T.token].content=Ou(e[T.token].content,T.pos,_),c+=v.length-1,T.token===i&&(c+=_.length-1),s=a.content,l=s.length,r.length=n;continue e}}h?r.push({token:i,pos:f.index,single:m,level:u}):g&&m&&(a.content=Ou(a.content,f.index,Fh))}}}function xj(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Ej.test(e.tokens[t].content)||Sj(e.tokens[t].children,e)}function _j(e){let t,n;const r=e.tokens,i=r.length;for(let a=0;a<i;a++){if(r[a].type!=="inline")continue;const u=r[a].children,s=u.length;for(t=0;t<s;t++)u[t].type==="text_special"&&(u[t].type="text");for(t=n=0;t<s;t++)u[t].type==="text"&&t+1<s&&u[t+1].type==="text"?u[t+1].content=u[t].content+u[t+1].content:(t!==n&&(u[n]=u[t]),n++);t!==n&&(u.length=n)}}const nl=[["normalize",sj],["block",cj],["inline",lj],["linkify",hj],["replacements",yj],["smartquotes",xj],["text_join",_j]];function x0(){this.ruler=new Hn;for(let e=0;e<nl.length;e++)this.ruler.push(nl[e][0],nl[e][1])}x0.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};x0.prototype.State=L3;function Hr(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let a=0,u=0,s=0,c=0,l=i.length,f=!1;u<l;u++){const h=i.charCodeAt(u);if(!f)if(ht(h)){s++,h===9?c+=4-c%4:c++;continue}else f=!0;(h===10||u===l-1)&&(h!==10&&u++,this.bMarks.push(a),this.eMarks.push(u),this.tShift.push(s),this.sCount.push(c),this.bsCount.push(0),f=!1,s=0,c=0,a=u+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Hr.prototype.push=function(e,t,n){const r=new Er(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};Hr.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Hr.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Hr.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!ht(r))break}return t};Hr.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!ht(this.src.charCodeAt(--t)))return t+1;return t};Hr.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};Hr.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Hr.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const a=new Array(n-t);for(let u=0,s=t;s<n;s++,u++){let c=0;const l=this.bMarks[s];let f=l,h;for(s+1<n||i?h=this.eMarks[s]+1:h=this.eMarks[s];f<h&&c<r;){const g=this.src.charCodeAt(f);if(ht(g))g===9?c+=4-(c+this.bsCount[s])%4:c++;else if(f-l<this.tShift[s])c++;else break;f++}c>r?a[u]=new Array(c-r+1).join(" ")+this.src.slice(f,h):a[u]=this.src.slice(f,h)}return a.join("")};Hr.prototype.Token=Er;const Tj=65536;function rl(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Bh(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),a=!1,u=0,s="";for(;r<n;)i===124&&(a?(s+=e.substring(u,r-1),u=r):(t.push(s+e.substring(u,r)),s="",u=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(u)),t}function wj(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;const u=e.src.charCodeAt(a++);if(u!==124&&u!==45&&u!==58||a>=e.eMarks[i])return!1;const s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!ht(s)||u===45&&ht(s))return!1;for(;a<e.eMarks[i];){const T=e.src.charCodeAt(a);if(T!==124&&T!==45&&T!==58&&!ht(T))return!1;a++}let c=rl(e,t+1),l=c.split("|");const f=[];for(let T=0;T<l.length;T++){const _=l[T].trim();if(!_){if(T===0||T===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(_))return!1;_.charCodeAt(_.length-1)===58?f.push(_.charCodeAt(0)===58?"center":"right"):_.charCodeAt(0)===58?f.push("left"):f.push("")}if(c=rl(e,t).trim(),c.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Bh(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const h=l.length;if(h===0||h!==f.length)return!1;if(r)return!0;const g=e.parentType;e.parentType="table";const m=e.md.block.ruler.getRules("blockquote"),b=e.push("table_open","table",1),C=[t,0];b.map=C;const I=e.push("thead_open","thead",1);I.map=[t,t+1];const E=e.push("tr_open","tr",1);E.map=[t,t+1];for(let T=0;T<l.length;T++){const _=e.push("th_open","th",1);f[T]&&(_.attrs=[["style","text-align:"+f[T]]]);const v=e.push("inline","",0);v.content=l[T].trim(),v.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y,S=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let T=!1;for(let v=0,x=m.length;v<x;v++)if(m[v](e,i,n,!0)){T=!0;break}if(T||(c=rl(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Bh(c),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),S+=h-l.length,S>Tj))break;if(i===t+2){const v=e.push("tbody_open","tbody",1);v.map=y=[t+2,0]}const _=e.push("tr_open","tr",1);_.map=[i,i+1];for(let v=0;v<h;v++){const x=e.push("td_open","td",1);f[v]&&(x.attrs=[["style","text-align:"+f[v]]]);const M=e.push("inline","",0);M.content=l[v]?l[v].trim():"",M.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return y&&(e.push("tbody_close","tbody",-1),y[1]=i),e.push("table_close","table",-1),C[1]=i,e.parentType=g,e.line=i,!0}function Aj(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;const a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
168
- `,a.map=[t,e.line],!0}function kj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;const u=e.src.charCodeAt(i);if(u!==126&&u!==96)return!1;let s=i;i=e.skipChars(i,u);let c=i-s;if(c<3)return!1;const l=e.src.slice(s,i),f=e.src.slice(i,a);if(u===96&&f.indexOf(String.fromCharCode(u))>=0)return!1;if(r)return!0;let h=t,g=!1;for(;h++,!(h>=n||(i=s=e.bMarks[h]+e.tShift[h],a=e.eMarks[h],i<a&&e.sCount[h]<e.blkIndent));)if(e.src.charCodeAt(i)===u&&!(e.sCount[h]-e.blkIndent>=4)&&(i=e.skipChars(i,u),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){g=!0;break}c=e.sCount[t],e.line=h+(g?1:0);const m=e.push("fence","code",0);return m.info=f,m.content=e.getLines(t+1,h,c,!0),m.markup=l,m.map=[t,e.line],!0}function vj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const u=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],c=[],l=[],f=[],h=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let m=!1,b;for(b=t;b<n;b++){const S=e.sCount[b]<e.blkIndent;if(i=e.bMarks[b]+e.tShift[b],a=e.eMarks[b],i>=a)break;if(e.src.charCodeAt(i++)===62&&!S){let _=e.sCount[b]+1,v,x;e.src.charCodeAt(i)===32?(i++,_++,x=!1,v=!0):e.src.charCodeAt(i)===9?(v=!0,(e.bsCount[b]+_)%4===3?(i++,_++,x=!1):x=!0):v=!1;let M=_;for(s.push(e.bMarks[b]),e.bMarks[b]=i;i<a;){const H=e.src.charCodeAt(i);if(ht(H))H===9?M+=4-(M+e.bsCount[b]+(x?1:0))%4:M++;else break;i++}m=i>=a,c.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+(v?1:0),l.push(e.sCount[b]),e.sCount[b]=M-_,f.push(e.tShift[b]),e.tShift[b]=i-e.bMarks[b];continue}if(m)break;let T=!1;for(let _=0,v=h.length;_<v;_++)if(h[_](e,b,n,!0)){T=!0;break}if(T){e.lineMax=b,e.blkIndent!==0&&(s.push(e.bMarks[b]),c.push(e.bsCount[b]),f.push(e.tShift[b]),l.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}s.push(e.bMarks[b]),c.push(e.bsCount[b]),f.push(e.tShift[b]),l.push(e.sCount[b]),e.sCount[b]=-1}const C=e.blkIndent;e.blkIndent=0;const I=e.push("blockquote_open","blockquote",1);I.markup=">";const E=[t,0];I.map=E,e.md.block.tokenize(e,t,b);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=u,e.parentType=g,E[1]=e.line;for(let S=0;S<f.length;S++)e.bMarks[S+t]=s[S],e.tShift[S+t]=f[S],e.sCount[S+t]=l[S],e.bsCount[S+t]=c[S];return e.blkIndent=C,!0}function Lj(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(a++);if(u!==42&&u!==45&&u!==95)return!1;let s=1;for(;a<i;){const l=e.src.charCodeAt(a++);if(l!==u&&!ht(l))return!1;l===u&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(u)),!0}function Hh(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(i!==42&&i!==45&&i!==43)return-1;if(r<n){const a=e.src.charCodeAt(r);if(!ht(a))return-1}return r}function jh(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!ht(a))?-1:i}function Dj(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Nj(e,t,n,r){let i,a,u,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let f=!1;r&&e.parentType==="paragraph"&&e.sCount[c]>=e.blkIndent&&(f=!0);let h,g,m;if((m=jh(e,c))>=0){if(h=!0,u=e.bMarks[c]+e.tShift[c],g=Number(e.src.slice(u,m-1)),f&&g!==1)return!1}else if((m=Hh(e,c))>=0)h=!1;else return!1;if(f&&e.skipSpaces(m)>=e.eMarks[c])return!1;if(r)return!0;const b=e.src.charCodeAt(m-1),C=e.tokens.length;h?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);const I=[c,0];s.map=I,s.markup=String.fromCharCode(b);let E=!1;const y=e.md.block.ruler.getRules("list"),S=e.parentType;for(e.parentType="list";c<n;){a=m,i=e.eMarks[c];const T=e.sCount[c]+m-(e.bMarks[c]+e.tShift[c]);let _=T;for(;a<i;){const ne=e.src.charCodeAt(a);if(ne===9)_+=4-(_+e.bsCount[c])%4;else if(ne===32)_++;else break;a++}const v=a;let x;v>=i?x=1:x=_-T,x>4&&(x=1);const M=T+x;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(b);const H=[c,0];s.map=H,h&&(s.info=e.src.slice(u,m-1));const A=e.tight,j=e.tShift[c],F=e.sCount[c],W=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=M,e.tight=!0,e.tShift[c]=v-e.bMarks[c],e.sCount[c]=_,v>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||E)&&(l=!1),E=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=W,e.tShift[c]=j,e.sCount[c]=F,e.tight=A,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(b),c=e.line,H[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let q=!1;for(let ne=0,be=y.length;ne<be;ne++)if(y[ne](e,c,n,!0)){q=!0;break}if(q)break;if(h){if(m=jh(e,c),m<0)break;u=e.bMarks[c]+e.tShift[c]}else if(m=Hh(e,c),m<0)break;if(b!==e.src.charCodeAt(m-1))break}return h?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(b),I[1]=c,e.line=c,e.parentType=S,l&&Dj(e,C),!0}function Rj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],u=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(y){const S=e.lineMax;if(y>=S||e.isEmpty(y))return null;let T=!1;if(e.sCount[y]-e.blkIndent>3&&(T=!0),e.sCount[y]<0&&(T=!0),!T){const x=e.md.block.ruler.getRules("reference"),M=e.parentType;e.parentType="reference";let H=!1;for(let A=0,j=x.length;A<j;A++)if(x[A](e,y,S,!0)){H=!0;break}if(e.parentType=M,H)return null}const _=e.bMarks[y]+e.tShift[y],v=e.eMarks[y];return e.src.slice(_,v+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){const y=c.charCodeAt(i);if(y===91)return!1;if(y===93){l=i;break}else if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(y===92&&(i++,i<a&&c.charCodeAt(i)===10)){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){const y=c.charCodeAt(i);if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(!ht(y))break}const f=e.md.helpers.parseLinkDestination(c,i,a);if(!f.ok)return!1;const h=e.md.normalizeLink(f.str);if(!e.md.validateLink(h))return!1;i=f.pos;const g=i,m=u,b=i;for(;i<a;i++){const y=c.charCodeAt(i);if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(!ht(y))break}let C=e.md.helpers.parseLinkTitle(c,i,a);for(;C.can_continue;){const y=s(u);if(y===null)break;c+=y,i=a,a=c.length,u++,C=e.md.helpers.parseLinkTitle(c,i,a,C)}let I;for(i<a&&b!==i&&C.ok?(I=C.str,i=C.pos):(I="",i=g,u=m);i<a;){const y=c.charCodeAt(i);if(!ht(y))break;i++}if(i<a&&c.charCodeAt(i)!==10&&I)for(I="",i=g,u=m;i<a;){const y=c.charCodeAt(i);if(!ht(y))break;i++}if(i<a&&c.charCodeAt(i)!==10)return!1;const E=ic(c.slice(1,l));return E?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[E]>"u"&&(e.env.references[E]={title:I,href:h}),e.line=u),!0):!1}const Pj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Oj="[a-zA-Z_:][a-zA-Z0-9:._-]*",Mj="[^\"'=<>`\\x00-\\x20]+",Fj="'[^']*'",Bj='"[^"]*"',Hj="(?:"+Mj+"|"+Fj+"|"+Bj+")",jj="(?:\\s+"+Oj+"(?:\\s*=\\s*"+Hj+")?)",N3="<[A-Za-z][A-Za-z0-9\\-]*"+jj+"*\\s*\\/?>",R3="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Uj="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Vj="<[?][\\s\\S]*?[?]>",zj="<![A-Za-z][^>]*>",$j="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",qj=new RegExp("^(?:"+N3+"|"+R3+"|"+Uj+"|"+Vj+"|"+zj+"|"+$j+")"),Wj=new RegExp("^(?:"+N3+"|"+R3+")"),ci=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Pj.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Wj.source+"\\s*$"),/^$/,!1]];function Gj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let u=e.src.slice(i,a),s=0;for(;s<ci.length&&!ci[s][0].test(u);s++);if(s===ci.length)return!1;if(r)return ci[s][2];let c=t+1;if(!ci[s][1].test(u)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],u=e.src.slice(i,a),ci[s][1].test(u)){u.length!==0&&c++;break}}e.line=c;const l=e.push("html_block","",0);return l.map=[t,c],l.content=e.getLines(t,c,e.blkIndent,!0),!0}function Zj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.src.charCodeAt(i);if(u!==35||i>=a)return!1;let s=1;for(u=e.src.charCodeAt(++i);u===35&&i<a&&s<=6;)s++,u=e.src.charCodeAt(++i);if(s>6||i<a&&!ht(u))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);const c=e.skipCharsBack(a,35,i);c>i&&ht(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;const l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];const f=e.push("inline","",0);f.content=e.src.slice(i,a).trim(),f.map=[t,e.line],f.children=[];const h=e.push("heading_close","h"+String(s),-1);return h.markup="########".slice(0,s),!0}function Yj(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a=0,u,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let m=e.bMarks[s]+e.tShift[s];const b=e.eMarks[s];if(m<b&&(u=e.src.charCodeAt(m),(u===45||u===61)&&(m=e.skipChars(m,u),m=e.skipSpaces(m),m>=b))){a=u===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let m=0,b=r.length;m<b;m++)if(r[m](e,s,n,!0)){g=!0;break}if(g)break}if(!a)return!1;const c=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const l=e.push("heading_open","h"+String(a),1);l.markup=String.fromCharCode(u),l.map=[t,e.line];const f=e.push("inline","",0);f.content=c,f.map=[t,e.line-1],f.children=[];const h=e.push("heading_close","h"+String(a),-1);return h.markup=String.fromCharCode(u),e.parentType=i,!0}function Xj(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let l=!1;for(let f=0,h=r.length;f<h;f++)if(r[f](e,a,n,!0)){l=!0;break}if(l)break}const u=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const c=e.push("inline","",0);return c.content=u,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}const Mu=[["table",wj,["paragraph","reference"]],["code",Aj],["fence",kj,["paragraph","reference","blockquote","list"]],["blockquote",vj,["paragraph","reference","blockquote","list"]],["hr",Lj,["paragraph","reference","blockquote","list"]],["list",Nj,["paragraph","reference","blockquote"]],["reference",Rj],["html_block",Gj,["paragraph","reference","blockquote"]],["heading",Zj,["paragraph","reference","blockquote"]],["lheading",Yj],["paragraph",Xj]];function ac(){this.ruler=new Hn;for(let e=0;e<Mu.length;e++)this.ruler.push(Mu[e][0],Mu[e][1],{alt:(Mu[e][2]||[]).slice()})}ac.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting;let u=t,s=!1;for(;u<n&&(e.line=u=e.skipEmptyLines(u),!(u>=n||e.sCount[u]<e.blkIndent));){if(e.level>=a){e.line=n;break}const c=e.line;let l=!1;for(let f=0;f<i;f++)if(l=r[f](e,u,n,!1),l){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),u=e.line,u<n&&e.isEmpty(u)&&(s=!0,u++,e.line=u)}};ac.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)};ac.prototype.State=Hr;function lu(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}lu.prototype.pushPending=function(){const e=new Er("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};lu.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Er(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};lu.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const u=a-e,s=a<n?this.src.charCodeAt(a):32,c=za(i)||Va(String.fromCharCode(i)),l=za(s)||Va(String.fromCharCode(s)),f=Ua(i),h=Ua(s),g=!h&&(!l||f||c),m=!f&&(!c||h||l);return{can_open:g&&(t||!m||c),can_close:m&&(t||!g||l),length:u}};lu.prototype.Token=Er;function Kj(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Jj(e,t){let n=e.pos;for(;n<e.posMax&&!Kj(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const Qj=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function eU(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(Qj);if(!i)return!1;const a=i[1],u=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!u)return!1;let s=u.url;if(s.length<=a.length)return!1;s=s.replace(/\*+$/,"");const c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="linkify",l.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(s);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=s.length-a.length,!0}function tU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let a=r-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&ht(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const _0=[];for(let e=0;e<256;e++)_0.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){_0[e.charCodeAt(0)]=1});function nU(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!ht(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(a+=e.src[n+1],n++)}const u="\\"+a;if(!t){const s=e.push("text_special","",0);i<256&&_0[i]!==0?s.content=a:s.content=u,s.markup=u,s.info="escape"}return e.pos=n+1,!0}function rU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const a=e.posMax;for(;n<a&&e.src.charCodeAt(n)===96;)n++;const u=e.src.slice(i,n),s=u.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=u),e.pos+=s,!0;let c=n,l;for(;(l=e.src.indexOf("`",c))!==-1;){for(c=l+1;c<a&&e.src.charCodeAt(c)===96;)c++;const f=c-l;if(f===s){if(!t){const h=e.push("code_inline","code",0);h.markup=u,h.content=e.src.slice(n,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=c,!0}e.backticks[f]=l}return e.backticksScanned=!0,t||(e.pending+=u),e.pos+=s,!0}function oU(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const u=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=u,a--);for(let c=0;c<a;c+=2)s=e.push("text","",0),s.content=u+u,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Uh(e,t){let n;const r=[],i=t.length;for(let a=0;a<i;a++){const u=t[a];if(u.marker!==126||u.end===-1)continue;const s=t[u.end];n=e.tokens[u.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){const a=r.pop();let u=a+1;for(;u<e.tokens.length&&e.tokens[u].type==="s_close";)u++;u--,a!==u&&(n=e.tokens[u],e.tokens[u]=e.tokens[a],e.tokens[a]=n)}}function iU(e){const t=e.tokens_meta,n=e.tokens_meta.length;Uh(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Uh(e,t[r].delimiters)}const P3={tokenize:oU,postProcess:iU};function aU(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let a=0;a<i.length;a++){const u=e.push("text","",0);u.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Vh(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const a=t[i.end],u=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===a.token+1,s=String.fromCharCode(i.marker),c=e.tokens[i.token];c.type=u?"strong_open":"em_open",c.tag=u?"strong":"em",c.nesting=1,c.markup=u?s+s:s,c.content="";const l=e.tokens[a.token];l.type=u?"strong_close":"em_close",l.tag=u?"strong":"em",l.nesting=-1,l.markup=u?s+s:s,l.content="",u&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function uU(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vh(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vh(e,t[r].delimiters)}const O3={tokenize:aU,postProcess:uU};function sU(e,t){let n,r,i,a,u="",s="",c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const f=e.pos,h=e.posMax,g=e.pos+1,m=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(m<0)return!1;let b=m+1;if(b<h&&e.src.charCodeAt(b)===40){for(l=!1,b++;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);if(b>=h)return!1;if(c=b,i=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),i.ok){for(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?b=i.pos:u="",c=b;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);if(i=e.md.helpers.parseLinkTitle(e.src,b,e.posMax),b<h&&c!==b&&i.ok)for(s=i.str,b=i.pos;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);}(b>=h||e.src.charCodeAt(b)!==41)&&(l=!0),b++}if(l){if(typeof e.env.references>"u")return!1;if(b<h&&e.src.charCodeAt(b)===91?(c=b+1,b=e.md.helpers.parseLinkLabel(e,b),b>=0?r=e.src.slice(c,b++):b=m+1):b=m+1,r||(r=e.src.slice(g,m)),a=e.env.references[ic(r)],!a)return e.pos=f,!1;u=a.href,s=a.title}if(!t){e.pos=g,e.posMax=m;const C=e.push("link_open","a",1),I=[["href",u]];C.attrs=I,s&&I.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=h,!0}function cU(e,t){let n,r,i,a,u,s,c,l,f="";const h=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const m=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(a=b+1,a<g&&e.src.charCodeAt(a)===40){for(a++;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);if(a>=g)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(f=e.md.normalizeLink(s.str),e.md.validateLink(f)?a=s.pos:f=""),l=a;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<g&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);else c="";if(a>=g||e.src.charCodeAt(a)!==41)return e.pos=h,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<g&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=b+1):a=b+1,i||(i=e.src.slice(m,b)),u=e.env.references[ic(i)],!u)return e.pos=h,!1;f=u.href,c=u.title}if(!t){r=e.src.slice(m,b);const C=[];e.md.inline.parse(r,e.md,e.env,C);const I=e.push("image","img",0),E=[["src",f],["alt",""]];I.attrs=E,I.children=C,I.content=r,c&&E.push(["title",c])}return e.pos=a,e.posMax=g,!0}const lU=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,dU=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function fU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const u=e.src.charCodeAt(n);if(u===60)return!1;if(u===62)break}const a=e.src.slice(r+1,n);if(dU.test(a)){const u=e.md.normalizeLink(a);if(!e.md.validateLink(u))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",u]],s.markup="autolink",s.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}if(lU.test(a)){const u=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(u))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",u]],s.markup="autolink",s.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}return!1}function hU(e){return/^<a[>\s]/i.test(e)}function pU(e){return/^<\/a\s*>/i.test(e)}function mU(e){const t=e|32;return t>=97&&t<=122}function gU(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!mU(i))return!1;const a=e.src.slice(r).match(qj);if(!a)return!1;if(!t){const u=e.push("html_inline","",0);u.content=a[0],hU(u.content)&&e.linkLevel++,pU(u.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const bU=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,CU=/^&([a-z][a-z0-9]{1,31});/i;function IU(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const a=e.src.slice(n).match(bU);if(a){if(!t){const u=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0);s.content=S0(u)?Ss(u):Ss(65533),s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(n).match(CU);if(a){const u=A3(a[0]);if(u!==a[0]){if(!t){const s=e.push("text_special","",0);s.content=u,s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function zh(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const a=[];for(let u=0;u<n;u++){const s=e[u];if(a.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=u),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const c=t[s.marker][(s.open?3:0)+s.length%3];let l=r-a[r]-1,f=l;for(;l>c;l-=a[l]+1){const h=e[l];if(h.marker===s.marker&&h.open&&h.end<0){let g=!1;if((h.close||s.open)&&(h.length+s.length)%3===0&&(h.length%3!==0||s.length%3!==0)&&(g=!0),!g){const m=l>0&&!e[l-1].open?a[l-1]+1:0;a[u]=u-l+m,a[l]=m,s.open=!1,h.end=u,h.close=!1,f=-1,i=-2;break}}}f!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=f)}}function yU(e){const t=e.tokens_meta,n=e.tokens_meta.length;zh(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&zh(t[r].delimiters)}function EU(e){let t,n,r=0;const i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<a&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}const ol=[["text",Jj],["linkify",eU],["newline",tU],["escape",nU],["backticks",rU],["strikethrough",P3.tokenize],["emphasis",O3.tokenize],["link",sU],["image",cU],["autolink",fU],["html_inline",gU],["entity",IU]],il=[["balance_pairs",yU],["strikethrough",P3.postProcess],["emphasis",O3.postProcess],["fragments_join",EU]];function du(){this.ruler=new Hn;for(let e=0;e<ol.length;e++)this.ruler.push(ol[e][0],ol[e][1]);this.ruler2=new Hn;for(let e=0;e<il.length;e++)this.ruler2.push(il[e][0],il[e][1])}du.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(typeof a[t]<"u"){e.pos=a[t];return}let u=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,u=n[s](e,!0),e.level--,u){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;u||e.pos++,a[t]=e.pos};du.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const a=e.pos;let u=!1;if(e.level<i){for(let s=0;s<n;s++)if(u=t[s](e,!1),u){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(u){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};du.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const a=this.ruler2.getRules(""),u=a.length;for(let s=0;s<u;s++)a[s](i)};du.prototype.State=lu;function SU(e){const t={};e=e||{},t.src_Any=S3.source,t.src_Cc=x3.source,t.src_Z=T3.source,t.src_P=y0.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function ld(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function uc(e){return Object.prototype.toString.call(e)}function xU(e){return uc(e)==="[object String]"}function _U(e){return uc(e)==="[object Object]"}function TU(e){return uc(e)==="[object RegExp]"}function $h(e){return uc(e)==="[object Function]"}function wU(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const M3={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function AU(e){return Object.keys(e||{}).reduce(function(t,n){return t||M3.hasOwnProperty(n)},!1)}const kU={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},vU="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",LU="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function DU(e){e.__index__=-1,e.__text_cache__=""}function NU(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function qh(){return function(e,t){t.normalize(e)}}function xs(e){const t=e.re=SU(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(vU),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function a(s,c){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+c)}Object.keys(e.__schemas__).forEach(function(s){const c=e.__schemas__[s];if(c===null)return;const l={validate:null,link:null};if(e.__compiled__[s]=l,_U(c)){TU(c.validate)?l.validate=NU(c.validate):$h(c.validate)?l.validate=c.validate:a(s,c),$h(c.normalize)?l.normalize=c.normalize:c.normalize?a(s,c):l.normalize=qh();return}if(xU(c)){i.push(s);return}a(s,c)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:qh()};const u=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(wU).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),DU(e)}function RU(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function dd(e,t){const n=new RU(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Kn(e,t){if(!(this instanceof Kn))return new Kn(e,t);t||AU(e)&&(t=e,e={}),this.__opts__=ld({},M3,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ld({},kU,e),this.__compiled__={},this.__tlds__=LU,this.__tlds_replaced__=!1,this.re={},xs(this)}Kn.prototype.add=function(t,n){return this.__schemas__[t]=n,xs(this),this};Kn.prototype.set=function(t){return this.__opts__=ld(this.__opts__,t),this};Kn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,a,u,s,c,l,f;if(this.re.schema_test.test(t)){for(c=this.re.schema_search,c.lastIndex=0;(n=c.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],c.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(u=r.index+r[1].length,(this.__index__<0||u<this.__index__)&&(this.__schema__="",this.__index__=u,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=t.indexOf("@"),f>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(u=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||u<this.__index__||u===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=u,this.__last_index__=s))),this.__index__>=0};Kn.prototype.pretest=function(t){return this.re.pretest.test(t)};Kn.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Kn.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(dd(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(dd(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Kn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,dd(this,0)):null};Kn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),xs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,xs(this),this)};Kn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Kn.prototype.onCompile=function(){};const yi=2147483647,Dr=36,T0=1,$a=26,PU=38,OU=700,F3=72,B3=128,H3="-",MU=/^xn--/,FU=/[^\0-\x7F]/,BU=/[\x2E\u3002\uFF0E\uFF61]/g,HU={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},al=Dr-T0,Nr=Math.floor,ul=String.fromCharCode;function ho(e){throw new RangeError(HU[e])}function jU(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function j3(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(BU,".");const i=e.split("."),a=jU(i,t).join(".");return r+a}function U3(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const UU=e=>String.fromCodePoint(...e),VU=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Dr},Wh=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},V3=function(e,t,n){let r=0;for(e=n?Nr(e/OU):e>>1,e+=Nr(e/t);e>al*$a>>1;r+=Dr)e=Nr(e/al);return Nr(r+(al+1)*e/(e+PU))},z3=function(e){const t=[],n=e.length;let r=0,i=B3,a=F3,u=e.lastIndexOf(H3);u<0&&(u=0);for(let s=0;s<u;++s)e.charCodeAt(s)>=128&&ho("not-basic"),t.push(e.charCodeAt(s));for(let s=u>0?u+1:0;s<n;){const c=r;for(let f=1,h=Dr;;h+=Dr){s>=n&&ho("invalid-input");const g=VU(e.charCodeAt(s++));g>=Dr&&ho("invalid-input"),g>Nr((yi-r)/f)&&ho("overflow"),r+=g*f;const m=h<=a?T0:h>=a+$a?$a:h-a;if(g<m)break;const b=Dr-m;f>Nr(yi/b)&&ho("overflow"),f*=b}const l=t.length+1;a=V3(r-c,l,c==0),Nr(r/l)>yi-i&&ho("overflow"),i+=Nr(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},$3=function(e){const t=[];e=U3(e);const n=e.length;let r=B3,i=0,a=F3;for(const c of e)c<128&&t.push(ul(c));const u=t.length;let s=u;for(u&&t.push(H3);s<n;){let c=yi;for(const f of e)f>=r&&f<c&&(c=f);const l=s+1;c-r>Nr((yi-i)/l)&&ho("overflow"),i+=(c-r)*l,r=c;for(const f of e)if(f<r&&++i>yi&&ho("overflow"),f===r){let h=i;for(let g=Dr;;g+=Dr){const m=g<=a?T0:g>=a+$a?$a:g-a;if(h<m)break;const b=h-m,C=Dr-m;t.push(ul(Wh(m+b%C,0))),h=Nr(b/C)}t.push(ul(Wh(h,0))),a=V3(i,l,s===u),i=0,++s}++i,++r}return t.join("")},zU=function(e){return j3(e,function(t){return MU.test(t)?z3(t.slice(4).toLowerCase()):t})},$U=function(e){return j3(e,function(t){return FU.test(t)?"xn--"+$3(t):t})},q3={version:"2.3.1",ucs2:{decode:U3,encode:UU},decode:z3,encode:$3,toASCII:$U,toUnicode:zU},qU={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},WU={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},GU={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},ZU={default:qU,zero:WU,commonmark:GU},YU=/^(vbscript|javascript|file|data):/,XU=/^data:image\/(gif|png|jpeg|webp);/;function KU(e){const t=e.trim().toLowerCase();return YU.test(t)?XU.test(t):!0}const W3=["http:","https:","mailto:"];function JU(e){const t=I0(e,!0);if(t.hostname&&(!t.protocol||W3.indexOf(t.protocol)>=0))try{t.hostname=q3.toASCII(t.hostname)}catch{}return cu(C0(t))}function QU(e){const t=I0(e,!0);if(t.hostname&&(!t.protocol||W3.indexOf(t.protocol)>=0))try{t.hostname=q3.toUnicode(t.hostname)}catch{}return wi(C0(t),wi.defaultChars+"%")}function ur(e,t){if(!(this instanceof ur))return new ur(e,t);t||E0(e)||(t=e||{},e="default"),this.inline=new du,this.block=new ac,this.core=new x0,this.renderer=new $i,this.linkify=new Kn,this.validateLink=KU,this.normalizeLink=JU,this.normalizeLinkText=QU,this.utils=tj,this.helpers=oc({},ij),this.options={},this.configure(e),t&&this.set(t)}ur.prototype.set=function(e){return oc(this.options,e),this};ur.prototype.configure=function(e){const t=this;if(E0(e)){const n=e;if(e=ZU[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};ur.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};ur.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};ur.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ur.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};ur.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ur.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ur.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const G3=()=>new ur({html:!0,linkify:!0,typographer:!0});var eV=/[ \u0020\t\n]*$/,tV=["*","_","~","`"],nV=/(\*|_|~|\\|`)/g,lo={},sl=0,$r={"unordered-list-item":{open:function(){return"- "},close:function(){return""}},"ordered-list-item":{open:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return"".concat(n,". ")},close:function(){return""}},blockquote:{open:function(){return"> "},close:function(){return""}},"header-one":{open:function(){return"# "},close:function(){return""}},"header-two":{open:function(){return"## "},close:function(){return""}},"header-three":{open:function(){return"### "},close:function(){return""}},"header-four":{open:function(){return"#### "},close:function(){return""}},"header-five":{open:function(){return"##### "},close:function(){return""}},"header-six":{open:function(){return"###### "},close:function(){return""}},"code-block":{open:function(t){return"```"+(t.data.language||"")+`
168
+ `,a.map=[t,e.line],!0}function kj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;const u=e.src.charCodeAt(i);if(u!==126&&u!==96)return!1;let s=i;i=e.skipChars(i,u);let c=i-s;if(c<3)return!1;const l=e.src.slice(s,i),f=e.src.slice(i,a);if(u===96&&f.indexOf(String.fromCharCode(u))>=0)return!1;if(r)return!0;let h=t,g=!1;for(;h++,!(h>=n||(i=s=e.bMarks[h]+e.tShift[h],a=e.eMarks[h],i<a&&e.sCount[h]<e.blkIndent));)if(e.src.charCodeAt(i)===u&&!(e.sCount[h]-e.blkIndent>=4)&&(i=e.skipChars(i,u),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){g=!0;break}c=e.sCount[t],e.line=h+(g?1:0);const m=e.push("fence","code",0);return m.info=f,m.content=e.getLines(t+1,h,c,!0),m.markup=l,m.map=[t,e.line],!0}function vj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const u=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],c=[],l=[],f=[],h=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let m=!1,b;for(b=t;b<n;b++){const S=e.sCount[b]<e.blkIndent;if(i=e.bMarks[b]+e.tShift[b],a=e.eMarks[b],i>=a)break;if(e.src.charCodeAt(i++)===62&&!S){let _=e.sCount[b]+1,v,x;e.src.charCodeAt(i)===32?(i++,_++,x=!1,v=!0):e.src.charCodeAt(i)===9?(v=!0,(e.bsCount[b]+_)%4===3?(i++,_++,x=!1):x=!0):v=!1;let M=_;for(s.push(e.bMarks[b]),e.bMarks[b]=i;i<a;){const H=e.src.charCodeAt(i);if(ht(H))H===9?M+=4-(M+e.bsCount[b]+(x?1:0))%4:M++;else break;i++}m=i>=a,c.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+(v?1:0),l.push(e.sCount[b]),e.sCount[b]=M-_,f.push(e.tShift[b]),e.tShift[b]=i-e.bMarks[b];continue}if(m)break;let T=!1;for(let _=0,v=h.length;_<v;_++)if(h[_](e,b,n,!0)){T=!0;break}if(T){e.lineMax=b,e.blkIndent!==0&&(s.push(e.bMarks[b]),c.push(e.bsCount[b]),f.push(e.tShift[b]),l.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}s.push(e.bMarks[b]),c.push(e.bsCount[b]),f.push(e.tShift[b]),l.push(e.sCount[b]),e.sCount[b]=-1}const C=e.blkIndent;e.blkIndent=0;const I=e.push("blockquote_open","blockquote",1);I.markup=">";const E=[t,0];I.map=E,e.md.block.tokenize(e,t,b);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=u,e.parentType=g,E[1]=e.line;for(let S=0;S<f.length;S++)e.bMarks[S+t]=s[S],e.tShift[S+t]=f[S],e.sCount[S+t]=l[S],e.bsCount[S+t]=c[S];return e.blkIndent=C,!0}function Lj(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(a++);if(u!==42&&u!==45&&u!==95)return!1;let s=1;for(;a<i;){const l=e.src.charCodeAt(a++);if(l!==u&&!ht(l))return!1;l===u&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(u)),!0}function Hh(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(i!==42&&i!==45&&i!==43)return-1;if(r<n){const a=e.src.charCodeAt(r);if(!ht(a))return-1}return r}function jh(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!ht(a))?-1:i}function Dj(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Nj(e,t,n,r){let i,a,u,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let f=!1;r&&e.parentType==="paragraph"&&e.sCount[c]>=e.blkIndent&&(f=!0);let h,g,m;if((m=jh(e,c))>=0){if(h=!0,u=e.bMarks[c]+e.tShift[c],g=Number(e.src.slice(u,m-1)),f&&g!==1)return!1}else if((m=Hh(e,c))>=0)h=!1;else return!1;if(f&&e.skipSpaces(m)>=e.eMarks[c])return!1;if(r)return!0;const b=e.src.charCodeAt(m-1),C=e.tokens.length;h?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);const I=[c,0];s.map=I,s.markup=String.fromCharCode(b);let E=!1;const y=e.md.block.ruler.getRules("list"),S=e.parentType;for(e.parentType="list";c<n;){a=m,i=e.eMarks[c];const T=e.sCount[c]+m-(e.bMarks[c]+e.tShift[c]);let _=T;for(;a<i;){const ne=e.src.charCodeAt(a);if(ne===9)_+=4-(_+e.bsCount[c])%4;else if(ne===32)_++;else break;a++}const v=a;let x;v>=i?x=1:x=_-T,x>4&&(x=1);const M=T+x;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(b);const H=[c,0];s.map=H,h&&(s.info=e.src.slice(u,m-1));const A=e.tight,j=e.tShift[c],F=e.sCount[c],W=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=M,e.tight=!0,e.tShift[c]=v-e.bMarks[c],e.sCount[c]=_,v>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||E)&&(l=!1),E=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=W,e.tShift[c]=j,e.sCount[c]=F,e.tight=A,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(b),c=e.line,H[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let q=!1;for(let ne=0,be=y.length;ne<be;ne++)if(y[ne](e,c,n,!0)){q=!0;break}if(q)break;if(h){if(m=jh(e,c),m<0)break;u=e.bMarks[c]+e.tShift[c]}else if(m=Hh(e,c),m<0)break;if(b!==e.src.charCodeAt(m-1))break}return h?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(b),I[1]=c,e.line=c,e.parentType=S,l&&Dj(e,C),!0}function Rj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],u=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(y){const S=e.lineMax;if(y>=S||e.isEmpty(y))return null;let T=!1;if(e.sCount[y]-e.blkIndent>3&&(T=!0),e.sCount[y]<0&&(T=!0),!T){const x=e.md.block.ruler.getRules("reference"),M=e.parentType;e.parentType="reference";let H=!1;for(let A=0,j=x.length;A<j;A++)if(x[A](e,y,S,!0)){H=!0;break}if(e.parentType=M,H)return null}const _=e.bMarks[y]+e.tShift[y],v=e.eMarks[y];return e.src.slice(_,v+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){const y=c.charCodeAt(i);if(y===91)return!1;if(y===93){l=i;break}else if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(y===92&&(i++,i<a&&c.charCodeAt(i)===10)){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){const y=c.charCodeAt(i);if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(!ht(y))break}const f=e.md.helpers.parseLinkDestination(c,i,a);if(!f.ok)return!1;const h=e.md.normalizeLink(f.str);if(!e.md.validateLink(h))return!1;i=f.pos;const g=i,m=u,b=i;for(;i<a;i++){const y=c.charCodeAt(i);if(y===10){const S=s(u);S!==null&&(c+=S,a=c.length,u++)}else if(!ht(y))break}let C=e.md.helpers.parseLinkTitle(c,i,a);for(;C.can_continue;){const y=s(u);if(y===null)break;c+=y,i=a,a=c.length,u++,C=e.md.helpers.parseLinkTitle(c,i,a,C)}let I;for(i<a&&b!==i&&C.ok?(I=C.str,i=C.pos):(I="",i=g,u=m);i<a;){const y=c.charCodeAt(i);if(!ht(y))break;i++}if(i<a&&c.charCodeAt(i)!==10&&I)for(I="",i=g,u=m;i<a;){const y=c.charCodeAt(i);if(!ht(y))break;i++}if(i<a&&c.charCodeAt(i)!==10)return!1;const E=ic(c.slice(1,l));return E?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[E]>"u"&&(e.env.references[E]={title:I,href:h}),e.line=u),!0):!1}const Pj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Oj="[a-zA-Z_:][a-zA-Z0-9:._-]*",Mj="[^\"'=<>`\\x00-\\x20]+",Fj="'[^']*'",Bj='"[^"]*"',Hj="(?:"+Mj+"|"+Fj+"|"+Bj+")",jj="(?:\\s+"+Oj+"(?:\\s*=\\s*"+Hj+")?)",N3="<[A-Za-z][A-Za-z0-9\\-]*"+jj+"*\\s*\\/?>",R3="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Uj="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Vj="<[?][\\s\\S]*?[?]>",zj="<![A-Za-z][^>]*>",$j="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",qj=new RegExp("^(?:"+N3+"|"+R3+"|"+Uj+"|"+Vj+"|"+zj+"|"+$j+")"),Wj=new RegExp("^(?:"+N3+"|"+R3+")"),ci=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Pj.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Wj.source+"\\s*$"),/^$/,!1]];function Gj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let u=e.src.slice(i,a),s=0;for(;s<ci.length&&!ci[s][0].test(u);s++);if(s===ci.length)return!1;if(r)return ci[s][2];let c=t+1;if(!ci[s][1].test(u)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],u=e.src.slice(i,a),ci[s][1].test(u)){u.length!==0&&c++;break}}e.line=c;const l=e.push("html_block","",0);return l.map=[t,c],l.content=e.getLines(t,c,e.blkIndent,!0),!0}function Zj(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.src.charCodeAt(i);if(u!==35||i>=a)return!1;let s=1;for(u=e.src.charCodeAt(++i);u===35&&i<a&&s<=6;)s++,u=e.src.charCodeAt(++i);if(s>6||i<a&&!ht(u))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);const c=e.skipCharsBack(a,35,i);c>i&&ht(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;const l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];const f=e.push("inline","",0);f.content=e.src.slice(i,a).trim(),f.map=[t,e.line],f.children=[];const h=e.push("heading_close","h"+String(s),-1);return h.markup="########".slice(0,s),!0}function Yj(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a=0,u,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let m=e.bMarks[s]+e.tShift[s];const b=e.eMarks[s];if(m<b&&(u=e.src.charCodeAt(m),(u===45||u===61)&&(m=e.skipChars(m,u),m=e.skipSpaces(m),m>=b))){a=u===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let m=0,b=r.length;m<b;m++)if(r[m](e,s,n,!0)){g=!0;break}if(g)break}if(!a)return!1;const c=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const l=e.push("heading_open","h"+String(a),1);l.markup=String.fromCharCode(u),l.map=[t,e.line];const f=e.push("inline","",0);f.content=c,f.map=[t,e.line-1],f.children=[];const h=e.push("heading_close","h"+String(a),-1);return h.markup=String.fromCharCode(u),e.parentType=i,!0}function Xj(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let l=!1;for(let f=0,h=r.length;f<h;f++)if(r[f](e,a,n,!0)){l=!0;break}if(l)break}const u=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const c=e.push("inline","",0);return c.content=u,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}const Mu=[["table",wj,["paragraph","reference"]],["code",Aj],["fence",kj,["paragraph","reference","blockquote","list"]],["blockquote",vj,["paragraph","reference","blockquote","list"]],["hr",Lj,["paragraph","reference","blockquote","list"]],["list",Nj,["paragraph","reference","blockquote"]],["reference",Rj],["html_block",Gj,["paragraph","reference","blockquote"]],["heading",Zj,["paragraph","reference","blockquote"]],["lheading",Yj],["paragraph",Xj]];function ac(){this.ruler=new Hn;for(let e=0;e<Mu.length;e++)this.ruler.push(Mu[e][0],Mu[e][1],{alt:(Mu[e][2]||[]).slice()})}ac.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting;let u=t,s=!1;for(;u<n&&(e.line=u=e.skipEmptyLines(u),!(u>=n||e.sCount[u]<e.blkIndent));){if(e.level>=a){e.line=n;break}const c=e.line;let l=!1;for(let f=0;f<i;f++)if(l=r[f](e,u,n,!1),l){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),u=e.line,u<n&&e.isEmpty(u)&&(s=!0,u++,e.line=u)}};ac.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)};ac.prototype.State=Hr;function lu(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}lu.prototype.pushPending=function(){const e=new Er("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};lu.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Er(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};lu.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const u=a-e,s=a<n?this.src.charCodeAt(a):32,c=za(i)||Va(String.fromCharCode(i)),l=za(s)||Va(String.fromCharCode(s)),f=Ua(i),h=Ua(s),g=!h&&(!l||f||c),m=!f&&(!c||h||l);return{can_open:g&&(t||!m||c),can_close:m&&(t||!g||l),length:u}};lu.prototype.Token=Er;function Kj(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Jj(e,t){let n=e.pos;for(;n<e.posMax&&!Kj(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const Qj=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function eU(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(Qj);if(!i)return!1;const a=i[1],u=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!u)return!1;let s=u.url;if(s.length<=a.length)return!1;s=s.replace(/\*+$/,"");const c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="linkify",l.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(s);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=s.length-a.length,!0}function tU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let a=r-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&ht(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const _0=[];for(let e=0;e<256;e++)_0.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){_0[e.charCodeAt(0)]=1});function nU(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!ht(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(a+=e.src[n+1],n++)}const u="\\"+a;if(!t){const s=e.push("text_special","",0);i<256&&_0[i]!==0?s.content=a:s.content=u,s.markup=u,s.info="escape"}return e.pos=n+1,!0}function rU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const a=e.posMax;for(;n<a&&e.src.charCodeAt(n)===96;)n++;const u=e.src.slice(i,n),s=u.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=u),e.pos+=s,!0;let c=n,l;for(;(l=e.src.indexOf("`",c))!==-1;){for(c=l+1;c<a&&e.src.charCodeAt(c)===96;)c++;const f=c-l;if(f===s){if(!t){const h=e.push("code_inline","code",0);h.markup=u,h.content=e.src.slice(n,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=c,!0}e.backticks[f]=l}return e.backticksScanned=!0,t||(e.pending+=u),e.pos+=s,!0}function oU(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const u=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=u,a--);for(let c=0;c<a;c+=2)s=e.push("text","",0),s.content=u+u,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Uh(e,t){let n;const r=[],i=t.length;for(let a=0;a<i;a++){const u=t[a];if(u.marker!==126||u.end===-1)continue;const s=t[u.end];n=e.tokens[u.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){const a=r.pop();let u=a+1;for(;u<e.tokens.length&&e.tokens[u].type==="s_close";)u++;u--,a!==u&&(n=e.tokens[u],e.tokens[u]=e.tokens[a],e.tokens[a]=n)}}function iU(e){const t=e.tokens_meta,n=e.tokens_meta.length;Uh(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Uh(e,t[r].delimiters)}const P3={tokenize:oU,postProcess:iU};function aU(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let a=0;a<i.length;a++){const u=e.push("text","",0);u.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Vh(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const a=t[i.end],u=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===a.token+1,s=String.fromCharCode(i.marker),c=e.tokens[i.token];c.type=u?"strong_open":"em_open",c.tag=u?"strong":"em",c.nesting=1,c.markup=u?s+s:s,c.content="";const l=e.tokens[a.token];l.type=u?"strong_close":"em_close",l.tag=u?"strong":"em",l.nesting=-1,l.markup=u?s+s:s,l.content="",u&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function uU(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vh(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vh(e,t[r].delimiters)}const O3={tokenize:aU,postProcess:uU};function sU(e,t){let n,r,i,a,u="",s="",c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const f=e.pos,h=e.posMax,g=e.pos+1,m=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(m<0)return!1;let b=m+1;if(b<h&&e.src.charCodeAt(b)===40){for(l=!1,b++;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);if(b>=h)return!1;if(c=b,i=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),i.ok){for(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?b=i.pos:u="",c=b;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);if(i=e.md.helpers.parseLinkTitle(e.src,b,e.posMax),b<h&&c!==b&&i.ok)for(s=i.str,b=i.pos;b<h&&(n=e.src.charCodeAt(b),!(!ht(n)&&n!==10));b++);}(b>=h||e.src.charCodeAt(b)!==41)&&(l=!0),b++}if(l){if(typeof e.env.references>"u")return!1;if(b<h&&e.src.charCodeAt(b)===91?(c=b+1,b=e.md.helpers.parseLinkLabel(e,b),b>=0?r=e.src.slice(c,b++):b=m+1):b=m+1,r||(r=e.src.slice(g,m)),a=e.env.references[ic(r)],!a)return e.pos=f,!1;u=a.href,s=a.title}if(!t){e.pos=g,e.posMax=m;const C=e.push("link_open","a",1),I=[["href",u]];C.attrs=I,s&&I.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=h,!0}function cU(e,t){let n,r,i,a,u,s,c,l,f="";const h=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const m=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(a=b+1,a<g&&e.src.charCodeAt(a)===40){for(a++;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);if(a>=g)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(f=e.md.normalizeLink(s.str),e.md.validateLink(f)?a=s.pos:f=""),l=a;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<g&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<g&&(n=e.src.charCodeAt(a),!(!ht(n)&&n!==10));a++);else c="";if(a>=g||e.src.charCodeAt(a)!==41)return e.pos=h,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<g&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=b+1):a=b+1,i||(i=e.src.slice(m,b)),u=e.env.references[ic(i)],!u)return e.pos=h,!1;f=u.href,c=u.title}if(!t){r=e.src.slice(m,b);const C=[];e.md.inline.parse(r,e.md,e.env,C);const I=e.push("image","img",0),E=[["src",f],["alt",""]];I.attrs=E,I.children=C,I.content=r,c&&E.push(["title",c])}return e.pos=a,e.posMax=g,!0}const lU=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,dU=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function fU(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const u=e.src.charCodeAt(n);if(u===60)return!1;if(u===62)break}const a=e.src.slice(r+1,n);if(dU.test(a)){const u=e.md.normalizeLink(a);if(!e.md.validateLink(u))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",u]],s.markup="autolink",s.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}if(lU.test(a)){const u=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(u))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",u]],s.markup="autolink",s.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}return!1}function hU(e){return/^<a[>\s]/i.test(e)}function pU(e){return/^<\/a\s*>/i.test(e)}function mU(e){const t=e|32;return t>=97&&t<=122}function gU(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!mU(i))return!1;const a=e.src.slice(r).match(qj);if(!a)return!1;if(!t){const u=e.push("html_inline","",0);u.content=a[0],hU(u.content)&&e.linkLevel++,pU(u.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const bU=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,CU=/^&([a-z][a-z0-9]{1,31});/i;function IU(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const a=e.src.slice(n).match(bU);if(a){if(!t){const u=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0);s.content=S0(u)?Ss(u):Ss(65533),s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(n).match(CU);if(a){const u=A3(a[0]);if(u!==a[0]){if(!t){const s=e.push("text_special","",0);s.content=u,s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function zh(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const a=[];for(let u=0;u<n;u++){const s=e[u];if(a.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=u),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const c=t[s.marker][(s.open?3:0)+s.length%3];let l=r-a[r]-1,f=l;for(;l>c;l-=a[l]+1){const h=e[l];if(h.marker===s.marker&&h.open&&h.end<0){let g=!1;if((h.close||s.open)&&(h.length+s.length)%3===0&&(h.length%3!==0||s.length%3!==0)&&(g=!0),!g){const m=l>0&&!e[l-1].open?a[l-1]+1:0;a[u]=u-l+m,a[l]=m,s.open=!1,h.end=u,h.close=!1,f=-1,i=-2;break}}}f!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=f)}}function yU(e){const t=e.tokens_meta,n=e.tokens_meta.length;zh(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&zh(t[r].delimiters)}function EU(e){let t,n,r=0;const i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<a&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}const ol=[["text",Jj],["linkify",eU],["newline",tU],["escape",nU],["backticks",rU],["strikethrough",P3.tokenize],["emphasis",O3.tokenize],["link",sU],["image",cU],["autolink",fU],["html_inline",gU],["entity",IU]],il=[["balance_pairs",yU],["strikethrough",P3.postProcess],["emphasis",O3.postProcess],["fragments_join",EU]];function du(){this.ruler=new Hn;for(let e=0;e<ol.length;e++)this.ruler.push(ol[e][0],ol[e][1]);this.ruler2=new Hn;for(let e=0;e<il.length;e++)this.ruler2.push(il[e][0],il[e][1])}du.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(typeof a[t]<"u"){e.pos=a[t];return}let u=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,u=n[s](e,!0),e.level--,u){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;u||e.pos++,a[t]=e.pos};du.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const a=e.pos;let u=!1;if(e.level<i){for(let s=0;s<n;s++)if(u=t[s](e,!1),u){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(u){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};du.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const a=this.ruler2.getRules(""),u=a.length;for(let s=0;s<u;s++)a[s](i)};du.prototype.State=lu;function SU(e){const t={};e=e||{},t.src_Any=S3.source,t.src_Cc=x3.source,t.src_Z=T3.source,t.src_P=y0.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function ld(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function uc(e){return Object.prototype.toString.call(e)}function xU(e){return uc(e)==="[object String]"}function _U(e){return uc(e)==="[object Object]"}function TU(e){return uc(e)==="[object RegExp]"}function $h(e){return uc(e)==="[object Function]"}function wU(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const M3={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function AU(e){return Object.keys(e||{}).reduce(function(t,n){return t||M3.hasOwnProperty(n)},!1)}const kU={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},vU="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",LU="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function DU(e){e.__index__=-1,e.__text_cache__=""}function NU(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function qh(){return function(e,t){t.normalize(e)}}function xs(e){const t=e.re=SU(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(vU),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function a(s,c){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+c)}Object.keys(e.__schemas__).forEach(function(s){const c=e.__schemas__[s];if(c===null)return;const l={validate:null,link:null};if(e.__compiled__[s]=l,_U(c)){TU(c.validate)?l.validate=NU(c.validate):$h(c.validate)?l.validate=c.validate:a(s,c),$h(c.normalize)?l.normalize=c.normalize:c.normalize?a(s,c):l.normalize=qh();return}if(xU(c)){i.push(s);return}a(s,c)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:qh()};const u=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(wU).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),DU(e)}function RU(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function dd(e,t){const n=new RU(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Kn(e,t){if(!(this instanceof Kn))return new Kn(e,t);t||AU(e)&&(t=e,e={}),this.__opts__=ld({},M3,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ld({},kU,e),this.__compiled__={},this.__tlds__=LU,this.__tlds_replaced__=!1,this.re={},xs(this)}Kn.prototype.add=function(t,n){return this.__schemas__[t]=n,xs(this),this};Kn.prototype.set=function(t){return this.__opts__=ld(this.__opts__,t),this};Kn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,a,u,s,c,l,f;if(this.re.schema_test.test(t)){for(c=this.re.schema_search,c.lastIndex=0;(n=c.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],c.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(u=r.index+r[1].length,(this.__index__<0||u<this.__index__)&&(this.__schema__="",this.__index__=u,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=t.indexOf("@"),f>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(u=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||u<this.__index__||u===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=u,this.__last_index__=s))),this.__index__>=0};Kn.prototype.pretest=function(t){return this.re.pretest.test(t)};Kn.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Kn.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(dd(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(dd(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Kn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,dd(this,0)):null};Kn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),xs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,xs(this),this)};Kn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Kn.prototype.onCompile=function(){};const yi=2147483647,Dr=36,T0=1,$a=26,PU=38,OU=700,F3=72,B3=128,H3="-",MU=/^xn--/,FU=/[^\0-\x7F]/,BU=/[\x2E\u3002\uFF0E\uFF61]/g,HU={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},al=Dr-T0,Nr=Math.floor,ul=String.fromCharCode;function ho(e){throw new RangeError(HU[e])}function jU(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function j3(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(BU,".");const i=e.split("."),a=jU(i,t).join(".");return r+a}function U3(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const UU=e=>String.fromCodePoint(...e),VU=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Dr},Wh=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},V3=function(e,t,n){let r=0;for(e=n?Nr(e/OU):e>>1,e+=Nr(e/t);e>al*$a>>1;r+=Dr)e=Nr(e/al);return Nr(r+(al+1)*e/(e+PU))},z3=function(e){const t=[],n=e.length;let r=0,i=B3,a=F3,u=e.lastIndexOf(H3);u<0&&(u=0);for(let s=0;s<u;++s)e.charCodeAt(s)>=128&&ho("not-basic"),t.push(e.charCodeAt(s));for(let s=u>0?u+1:0;s<n;){const c=r;for(let f=1,h=Dr;;h+=Dr){s>=n&&ho("invalid-input");const g=VU(e.charCodeAt(s++));g>=Dr&&ho("invalid-input"),g>Nr((yi-r)/f)&&ho("overflow"),r+=g*f;const m=h<=a?T0:h>=a+$a?$a:h-a;if(g<m)break;const b=Dr-m;f>Nr(yi/b)&&ho("overflow"),f*=b}const l=t.length+1;a=V3(r-c,l,c==0),Nr(r/l)>yi-i&&ho("overflow"),i+=Nr(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},$3=function(e){const t=[];e=U3(e);const n=e.length;let r=B3,i=0,a=F3;for(const c of e)c<128&&t.push(ul(c));const u=t.length;let s=u;for(u&&t.push(H3);s<n;){let c=yi;for(const f of e)f>=r&&f<c&&(c=f);const l=s+1;c-r>Nr((yi-i)/l)&&ho("overflow"),i+=(c-r)*l,r=c;for(const f of e)if(f<r&&++i>yi&&ho("overflow"),f===r){let h=i;for(let g=Dr;;g+=Dr){const m=g<=a?T0:g>=a+$a?$a:g-a;if(h<m)break;const b=h-m,C=Dr-m;t.push(ul(Wh(m+b%C,0))),h=Nr(b/C)}t.push(ul(Wh(h,0))),a=V3(i,l,s===u),i=0,++s}++i,++r}return t.join("")},zU=function(e){return j3(e,function(t){return MU.test(t)?z3(t.slice(4).toLowerCase()):t})},$U=function(e){return j3(e,function(t){return FU.test(t)?"xn--"+$3(t):t})},q3={version:"2.3.1",ucs2:{decode:U3,encode:UU},decode:z3,encode:$3,toASCII:$U,toUnicode:zU},qU={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},WU={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},GU={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},ZU={default:qU,zero:WU,commonmark:GU},YU=/^(vbscript|javascript|file|data):/,XU=/^data:image\/(gif|png|jpeg|webp);/;function KU(e){const t=e.trim().toLowerCase();return YU.test(t)?XU.test(t):!0}const W3=["http:","https:","mailto:"];function JU(e){const t=I0(e,!0);if(t.hostname&&(!t.protocol||W3.indexOf(t.protocol)>=0))try{t.hostname=q3.toASCII(t.hostname)}catch{}return cu(C0(t))}function QU(e){const t=I0(e,!0);if(t.hostname&&(!t.protocol||W3.indexOf(t.protocol)>=0))try{t.hostname=q3.toUnicode(t.hostname)}catch{}return wi(C0(t),wi.defaultChars+"%")}function sr(e,t){if(!(this instanceof sr))return new sr(e,t);t||E0(e)||(t=e||{},e="default"),this.inline=new du,this.block=new ac,this.core=new x0,this.renderer=new $i,this.linkify=new Kn,this.validateLink=KU,this.normalizeLink=JU,this.normalizeLinkText=QU,this.utils=tj,this.helpers=oc({},ij),this.options={},this.configure(e),t&&this.set(t)}sr.prototype.set=function(e){return oc(this.options,e),this};sr.prototype.configure=function(e){const t=this;if(E0(e)){const n=e;if(e=ZU[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};sr.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};sr.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};sr.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};sr.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};sr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};sr.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};sr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const G3=()=>new sr({html:!0,linkify:!0,typographer:!0});var eV=/[ \u0020\t\n]*$/,tV=["*","_","~","`"],nV=/(\*|_|~|\\|`)/g,lo={},sl=0,$r={"unordered-list-item":{open:function(){return"- "},close:function(){return""}},"ordered-list-item":{open:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return"".concat(n,". ")},close:function(){return""}},blockquote:{open:function(){return"> "},close:function(){return""}},"header-one":{open:function(){return"# "},close:function(){return""}},"header-two":{open:function(){return"## "},close:function(){return""}},"header-three":{open:function(){return"### "},close:function(){return""}},"header-four":{open:function(){return"#### "},close:function(){return""}},"header-five":{open:function(){return"##### "},close:function(){return""}},"header-six":{open:function(){return"###### "},close:function(){return""}},"code-block":{open:function(t){return"```"+(t.data.language||"")+`
169
169
  `},close:function(){return"\n```"}},BOLD:{open:function(){return"**"},close:function(){return"**"}},ITALIC:{open:function(){return"_"},close:function(){return"_"}},STRIKETHROUGH:{open:function(){return"~~"},close:function(){return"~~"}},CODE:{open:function(){return"`"},close:function(){return"`"}}},Fu={LINK:{open:function(t){return"["},close:function(t){return"](".concat(t.data.url||t.data.href,")")}}},Bu=["unordered-list-item","ordered-list-item"];function rV(e){return e.text.length===0&&e.entityRanges.length===0&&Object.keys(e.data||{}).length===0}function oV(e,t,n,r){var i=[],a="",u=r.styleItems||{},s=r.entityItems||{},c=r.hasOwnProperty("escapeMarkdownCharacters")?r.escapeMarkdownCharacters:!0,l=e.type,f=[];rV(e)&&!r.preserveNewlines&&(l="unstyled"),u[l]||$r[l]?((l==="unordered-list-item"||l==="ordered-list-item")&&(a+=" ".repeat(e.depth*4)),l==="ordered-list-item"?(lo[e.depth]=lo[e.depth]||1,a+=(u[l]||$r[l]).open(e,lo[e.depth]),lo[e.depth]++,sl>e.depth&&(lo[sl]=1),sl=e.depth):(lo={},a+=(u[l]||$r[l]).open(e))):lo={};var h=[];function g(I){if(h.push(I),I.style){if(u[I.style]||$r[I.style]){var E=(u[I.style]||$r[I.style]).open();i.push({type:"style",style:I,value:E})}}else{var y=n.entityMap[I.key];if(s[y.type]||Fu[y.type]){var S=(s[y.type]||Fu[y.type]).open(y,e);i.push({type:"entity",value:S})}}}function m(I){var E=h.pop();if(I!==E)throw new Error("Invariant violation: Cannot close a tag before all inner tags have been closed");if(I.style){if(u[I.style]||$r[I.style]){var y=eV.exec(a);a=a.slice(0,a.length-y[0].length),a+=(u[I.style]||$r[I.style]).close(),a+=y[0]}}else{var S=n.entityMap[I.key];(s[S.type]||Fu[S.type])&&(a+=(s[S.type]||Fu[S.type]).close(S,e))}}var b=function(E,y){return y.offset+y.length-(E.offset+E.length)},C=function(E){return E.concat().reverse()};return Array.from(e.text).some(function(I,E){C(h).forEach(function(A){if(A.offset+A.length===E){var j=h.slice(h.indexOf(A)+1);C(j).forEach(m),m(A),j.sort(b).forEach(g)}});var y=e.inlineStyleRanges.filter(function(A){return A.offset===E}),S=e.entityRanges.filter(function(A){return A.offset===E});if(y.concat(S).sort(b).forEach(g),I!==" "&&i.length&&(a+=i.map(function(A){return A.value}).join(""),i=[]),e.type!=="code-block"&&c){var T=h.find(function(A){return A.style==="CODE"});if(!T){if(E===0&&I==="#"&&e.text[1]&&e.text[1]===" "?I=I.replace("#","\\#"):E===0&&I===">"&&(I=I.replace(">","\\>")),tV.includes(I)){var _=f.find(function(A){return A.character===I});if(!_&&e.text[E-1]===" "&&e.text[E+1]!==" ")f.push({character:I,index:E,markdownStringIndexStart:a.length+I.length-1,markdownStringIndexEnd:a.length+I.length});else if(_&&e.text[E-1]===I&&E===_.index+1)_.markdownStringIndexEnd+=1;else if(_){var v=_.markdownStringIndexEnd-_.markdownStringIndexStart,x=!1,M=!1;if(v===1&&(e.text[E+1]===" "||!e.text[E+1])&&(M=!0,x=!0),v===2&&e.text[E+1]===I&&(x=!0),v===2&&e.text[E-1]===I&&(e.text[E+1]===" "||!e.text[E+1])&&(M=!0,x=!0),M){f.splice(f.indexOf(_),1);var H=a.slice(_.markdownStringIndexStart,_.markdownStringIndexEnd);H=H.replace(nV,"\\$1"),a=a.slice(0,_.markdownStringIndexStart)+H+a.slice(_.markdownStringIndexEnd)}x&&(I="\\".concat(I))}}}}I===`
170
170
  `&&l==="blockquote"?a+=`
171
171
  > `:a+=I}),C(h).forEach(m),(u[l]||$r[l])&&(a+=(u[l]||$r[l]).close(e)),Bu.indexOf(l)!==-1&&n.blocks[t+1]&&Bu.indexOf(n.blocks[t+1].type)!==-1?a+=`
@@ -176,4 +176,4 @@ Valid keys: `+JSON.stringify(Object.keys(w),null," "));var J=Ue(Ce,ce,X,se,ee+"
176
176
 
177
177
  `:r.preserveNewlines&&(a+=`
178
178
  `)),a}function iV(e,t){t=t||{};var n="";return e.blocks.forEach(function(r,i){n+=oV(r,i,e,t)}),lo={},n}var Z3=[];for(var Gh=0;Gh<256;Gh++)Z3.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Z3[e.charCodeAt(0)]=1});function sc(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,e=e.replace(r,i),n):new RegExp(e,t)}}var aV=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,uV=/[^"'=<>`\x00-\x20]+/,sV=/'[^']*'/,cV=/"[^"]*"/,lV=sc(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",uV)("single_quoted",sV)("double_quoted",cV)(),dV=sc(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",aV)("attr_value",lV)(),fV=sc(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",dV)(),hV=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,pV=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,mV=/<[?].*?[?]>/,gV=/<![A-Z]+\s+[^>]*>/,bV=/<!\[CDATA\[[\s\S]*?\]\]>/;sc(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",fV)("close_tag",hV)("comment",pV)("processing",mV)("declaration",gV)("cdata",bV)();const Y3=e=>{try{const t=JSON.parse(e);return iV(t,{styleItems:{UNDERLINE:{open:()=>"<u>",close:()=>"</u>"}}})}catch{return e}},w0=({text:e})=>{const t=G3();return d.jsx("div",{dangerouslySetInnerHTML:{__html:t.render(Y3(e))}})},X3=()=>{const{shopTerms:e}=Ao(),{isAntistock:t}=gt();return!(e!=null&&e.showTermsOfServiceOnProduct)||!(e!=null&&e.termsOfService)?null:d.jsxs("div",{className:oa.container,children:[d.jsx("div",{className:oa.icon,children:d.jsx(ie,{name:"FileCloud",fill:"var(--text-secondary)"})}),t?d.jsx(w0,{text:e.termsOfService}):d.jsx(u0,{remarkPlugins:[Lg],rehypePlugins:[E3],className:oa.text,components:{a:({node:n,...r})=>d.jsx("a",{...r,target:"_blank",rel:"noopener noreferrer",className:oa.link,id:"md"}),p:({node:n,...r})=>d.jsx("p",{...r,className:oa.text,id:"md"})},children:e==null?void 0:e.termsOfService})]})},CV="_securedBySsl_1ng38_2",IV="_text_1ng38_9",cl={securedBySsl:CV,text:IV},K3=({isAntistock:e})=>d.jsxs("div",{className:cl.securedBySsl,children:[d.jsx("div",{className:cl.iconWrapper,children:d.jsx(ie,{name:"ShieldCheck",fill:"var(--text-secondary)"})}),d.jsx("p",{className:cl.text,id:"md",children:e?"Your data is secured by extended validation SSL certificates (256-bit encryption).":"Your data is secured by extended validation SSL certificates (256-bit encryption). This complies with the strongest payment security standard available today."})]}),yV="_bottomSheet_1a6cu_1",EV="_title_1a6cu_8",SV="_contentTitle_1a6cu_12",xV="_contentText_1a6cu_16",_V="_discordMessageTitle_1a6cu_20",TV="_content_1a6cu_12",wV="_section_1a6cu_27",AV="_copyButton_1a6cu_32",kV="_scrollableBox_1a6cu_37",vV="_scrollableBoxAntistock_1a6cu_47",LV="_discordMessage_1a6cu_20",DV="_link_1a6cu_61",NV="_buttonGroup_1a6cu_68",RV="_buttonWrapper_1a6cu_80",PV="_modal_1a6cu_84",OV="_modalAntistock_1a6cu_91",MV="_header_1a6cu_96",FV="_copyButtonAntistock_1a6cu_104",tn={bottomSheet:yV,title:EV,contentTitle:SV,contentText:xV,discordMessageTitle:_V,content:TV,section:wV,copyButton:AV,scrollableBox:kV,scrollableBoxAntistock:vV,discordMessage:LV,link:DV,buttonGroup:NV,buttonWrapper:RV,modal:PV,modalAntistock:OV,header:MV,copyButtonAntistock:FV},BV=({setIsOpen:e,deliveryConfiguration:t})=>{const n=Us(),r=t.type===at.Discord,{setIsOpen:i}=eo(),{isAntistock:a}=gt(),u=t.type===at.Serial?t.deliveryItems.map(c=>c.serialKey).join(`
179
- `):t.deliveryItems[0].textData,s=()=>{i(!1),a?e(!1):setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{className:ge(tn.modal,{[tn.modalAntistock]:a}),onClick:c=>c.stopPropagation(),children:[d.jsxs("div",{className:tn.header,children:[d.jsx("h3",{id:"h3",className:tn.title,children:a?"View Content":"Thank you for the purchase!"}),d.jsx(ie,{name:"X",hoverable:!0,onClick:s,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:tn.bottomSheet,children:[d.jsx("div",{className:tn.content,children:r?d.jsx("div",{className:tn.discordMessage,children:d.jsx("p",{className:tn.discordMessageTitle,id:"md",children:"Discord role has been granted"})}):d.jsxs("div",{children:[d.jsxs("div",{className:tn.section,children:[!a&&d.jsx("p",{className:tn.contentTitle,id:"md",children:"Content"}),!a&&d.jsxs(wt,{className:tn.copyButton,type:"Secondary",onClick:()=>n(u),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]})]}),d.jsx("div",{className:ge(tn.scrollableBox,{[tn.scrollableBoxAntistock]:a}),children:d.jsx("p",{className:tn.contentText,id:"md",children:a?d.jsx(w0,{text:u}):d.jsx(u0,{remarkPlugins:[Lg],rehypePlugins:[E3],components:{a:({node:c,...l})=>d.jsx("a",{...l,target:"_blank",rel:"noopener noreferrer",className:tn.link})},children:u})})})]})}),a&&d.jsxs(wt,{className:tn.copyButtonAntistock,type:"Secondary",onClick:()=>n(u),children:[d.jsx(ie,{name:"Copy"}),"Copy All"]}),!a&&d.jsx("div",{className:tn.buttonGroup,children:d.jsx("div",{className:tn.buttonWrapper,children:d.jsx(wt,{type:"Secondary",onClick:s,children:"Close"})})})]})]})},HV="_chargeStatusBlock_12swd_4",jV="_isAntistock_12swd_13",UV="_chargeStatusIcon_12swd_19",VV="_chargeStatusTitle_12swd_27",zV="_chargeStatusDescription_12swd_33",$V="_pickUpButton_12swd_39",qV="_actionButtons_12swd_49",WV="_actionButton_12swd_49",Fn={chargeStatusBlock:HV,isAntistock:jV,chargeStatusIcon:UV,chargeStatusTitle:VV,chargeStatusDescription:zV,pickUpButton:$V,actionButtons:qV,actionButton:WV},fi={[Xe.Paid]:"Payment Successful",[Xe.Pending]:"Payment Pending",[Xe.Expired]:"Payment Expired",[Xe.Cancelled]:"Payment Cancelled",[Xe.NotPaid]:"Payment Failed",[Xe.Refunded]:"Payment Refunded"},GV={[Xe.Paid]:"Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",[Xe.Pending]:"Your payment is currently pending. We recommend checking back shortly for confirmation.",[Xe.Expired]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Xe.Cancelled]:"You canceled the warrant. If there are any problems, please contact support",[Xe.NotPaid]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Xe.Refunded]:"Your payment has been refunded. Please check your payment method for confirmation."},ZV={[Xe.Paid]:d.jsx("div",{className:`${Fn.chargeStatusIcon}`,children:d.jsx(ie,{name:"Check",fill:"var(--text-success)"})}),[Xe.Pending]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"})}),[Xe.Expired]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.Cancelled]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.NotPaid]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.Refunded]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-warning)"})})},YV=({charge:e})=>{const t=e.status,n=Jr(),{shopDomain:r}=Ao(),{isAntistock:i}=gt(),a=k.useRef(),[u,s]=hp(),c=()=>{var f,h;if(!((f=e.order)!=null&&f.id))return;const l=u.get("redirectRoute");if((e==null?void 0:e.status)===Xe.Paid&&e.redirectUrl&&!a.current){const m=JSON.parse(localStorage.getItem("orders")||"{}")[((h=e==null?void 0:e.order)==null?void 0:h.id)||""];m?window.open(m.fullAccessToken?`${e.redirectUrl}/${m.fullAccessToken}`:`${e.redirectUrl}`,"_self"):window.open(e.redirectUrl,"_self")}(e==null?void 0:e.status)===Xe.Paid&&a.current&&n(a.current,{replace:!0}),l&&a&&(a.current=l,u.delete("redirectRoute"),s(u))};return d.jsxs("div",{className:ge(Fn.chargeStatusBlock,{[Fn.isAntistock]:i}),children:[ZV[t],d.jsx("h2",{className:Fn.chargeStatusTitle,children:fi[t]}),d.jsx("p",{className:Fn.chargeStatusDescription,children:GV[t]}),t===Xe.Paid?d.jsx("div",{className:Fn.pickUpButton,style:i?{justifyContent:"flex-start"}:void 0,children:d.jsxs(wt,{onClick:c,style:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center",gap:"5px"},type:"Secondary",children:[d.jsx(ie,{name:"ArrowLineUpRight"}),i?"View Order":"Pick up Order"]})}):d.jsxs("div",{className:Fn.actionButtons,children:[d.jsx("div",{className:Fn.actionButton,children:d.jsxs(wt,{type:"Secondary",onClick:()=>window.open(`https://${r}`),style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:Fn.actionButton,children:d.jsxs(wt,{type:"Secondary",style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},onClick:()=>{i?window.open(`https://${r}/support`):n("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},XV="_trackPaymentContainer_fk3b6_1",KV="_trackPaymentBox_fk3b6_5",JV="_trackPaymentBoxActive_fk3b6_18",QV="_trackPaymentHeader_fk3b6_23",ez="_trackPaymentTitle_fk3b6_27",tz="_trackPaymentTimeline_fk3b6_33",nz="_trackPaymentItem_fk3b6_42",rz="_itemHeader_fk3b6_48",oz="_itemDate_fk3b6_55",iz="_itemMessage_fk3b6_59",az="_trackPaymentToggle_fk3b6_64",uz="_trackPaymentToggleContent_fk3b6_75",sz="_trackPaymentToggleText_fk3b6_81",cz="_antistock_fk3b6_88",An={trackPaymentContainer:XV,trackPaymentBox:KV,trackPaymentBoxActive:JV,trackPaymentHeader:QV,trackPaymentTitle:ez,trackPaymentTimeline:tz,trackPaymentItem:nz,itemHeader:rz,itemDate:oz,itemMessage:iz,trackPaymentToggle:az,trackPaymentToggleContent:uz,trackPaymentToggleText:sz,antistock:cz},Zh=(e,t)=>{const n=e.getDate().toString().padStart(2,"0"),r=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear(),a=e.getHours(),u=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0"),c=a>=12?"PM":"AM",l=(a%12||12).toString().padStart(2,"0");return t==="dd.MM.yyyy"?`${n}.${r}.${i}`:t==="hh:mm:ss aa"?`${l}:${u}:${s} ${c}`:""},lz={[Xe.Paid]:{displayName:fi[Xe.Paid],displayMessage:"The invoice has been completed and the product has been delivered.",type:"success"},[Xe.Pending]:{displayName:fi[Xe.Pending],displayMessage:"The invoice has been created and we are now waiting to receive the payment.",type:"warning"},[Xe.Expired]:{displayName:fi[Xe.Expired],displayMessage:"Your payment has expired due to the payment not being sent in time.",type:"error"},[Xe.Cancelled]:{displayName:fi[Xe.Cancelled],displayMessage:"The order has been canceled. The payment was not sent within the time limit.",type:"error"},[Xe.NotPaid]:{displayName:"New",displayMessage:"The charge has been created and is awaiting payment.",type:"success"},[Xe.Refunded]:{displayName:fi[Xe.Refunded],displayMessage:"Your order was refunded. Please check your payment method for confirmation.",type:"warning"}},dz=({date:e,chargeStatus:t})=>(console.log(t),d.jsxs("div",{className:An.trackPaymentItem,children:[d.jsxs("div",{className:An.itemHeader,children:[d.jsx("p",{className:An.itemDate,id:"md-bold",children:Zh(new Date(e),"dd.MM.yyyy")}),d.jsx("p",{className:An.itemTime,id:"md",children:Zh(new Date(e),"hh:mm:ss aa")})]}),d.jsx("p",{className:An.itemMessage,id:"md",children:lz[t].displayMessage})]})),fz=({timeline:e,className:t})=>{const[n,r]=k.useState(!1),{isAntistock:i}=gt();return d.jsxs("div",{className:ge(An.trackPaymentContainer,t,{[An.antistock]:i}),children:[d.jsxs("div",{className:`${An.trackPaymentBox} ${n?An.trackPaymentBoxActive:""}`,style:i?{border:"1px solid var(--border-secondary)"}:void 0,children:[d.jsx("header",{className:An.trackPaymentHeader,children:d.jsx("h2",{className:An.trackPaymentTitle,id:"h4",children:"Track Payment"})}),d.jsx("div",{className:An.trackPaymentTimeline,children:Object.keys(e).map(a=>d.jsx(dz,{date:e[a],chargeStatus:a},a))})]}),d.jsxs("div",{className:An.trackPaymentToggle,onClick:()=>r(!n),style:i?{padding:"1.25rem",border:"1px solid var(--border-secondary)",borderRadius:"var(--border-radius)"}:void 0,children:[d.jsxs("div",{className:An.trackPaymentToggleContent,children:[i?null:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)"}),d.jsx("p",{className:An.trackPaymentToggleText,id:"h5",children:"Track Payment"})]}),d.jsx(ie,{name:"CaretRight",fill:"var(--text-primary)",width:16,height:16})]})]})},hz="_dateTime_1s1ge_15",pz="_tableItem_1s1ge_29",mz="_status_1s1ge_33",gz="_statusInProgress_1s1ge_42",bz="_statusText_1s1ge_46",Cz="_statusIcon_1s1ge_50",Iz="_statusInProgressText_1s1ge_56",yz="_statusInProgressIcon_1s1ge_61",Ez="_message_1s1ge_71",kn={dateTime:hz,tableItem:pz,status:mz,statusInProgress:gz,statusText:bz,statusIcon:Cz,statusInProgressText:Iz,statusInProgressIcon:yz,message:Ez},Sz=({item:e})=>{const[t,n]=Ra(e.createdAt),r=Jr(),a=(u=>u.length>30?u.slice(0,27)+"...":u)(e.latestMessage);return d.jsxs(k.Fragment,{children:[d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsxs("span",{id:"md",children:["#",e.id]})}),d.jsx(hn,{className:ge(kn.message,kn.tableItem),onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsx("span",{id:"md",children:a})}),d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:t}),d.jsx("div",{className:kn.dateTime,id:"md",children:n})]})}),d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsx(xz,{status:e.status})})]},e.id)},xz=({status:e})=>d.jsxs("div",{className:ge(kn.status,{[kn.statusClosed]:e==="CLOSED",[kn.statusInProgress]:e!=="CLOSED"}),children:[d.jsx("div",{className:ge(kn.statusIcon,{[kn.statusInProgressIcon]:e!=="CLOSED"}),children:e==="CLOSED"?d.jsx(ie,{name:"CheckCircle",className:kn.statusIcon}):d.jsx(ie,{name:"Clock",className:kn.statusInProgressIcon})}),d.jsx("div",{className:ge(kn.statusText,{[kn.statusInProgressText]:e!=="CLOSED"}),id:"md",children:e==="CLOSED"?"Closed":"In Progress"})]}),_z="_tableContainer_1eytq_1",Tz="_table_1eytq_1",wz="_productInfo_1eytq_19",Az="_productImage_1eytq_26",kz="_productName_1eytq_35",vz="_expirationDate_1eytq_46",Lz="_overflowItem_1eytq_51",Dz="_gatewayContainer_1eytq_57",Nz="_gatewayImage_1eytq_62",Rz="_dateTime_1eytq_67",Pz="_tableLoader_1eytq_72",Oz="_tableItem_1eytq_81",dn={tableContainer:_z,table:Tz,productInfo:wz,productImage:Az,productName:kz,expirationDate:vz,overflowItem:Lz,gatewayContainer:Dz,gatewayImage:Nz,dateTime:Rz,tableLoader:Pz,tableItem:Oz},Mz="_badge_1oac8_1",Fz="_active_1oac8_12",Bz="_awaitingPayment_1oac8_17",Hz="_cancelled_1oac8_22",jz="_changedGateway_1oac8_27",Uz="_expired_1oac8_32",Vz="_rial_1oac8_37",zz="_pastDue_1oac8_42",$z="_replaced_1oac8_47",Wr={badge:Mz,active:Fz,awaitingPayment:Bz,cancelled:Hz,changedGateway:jz,expired:Uz,rial:Vz,pastDue:zz,replaced:$z},qz={[qr.ACTIVE]:{icon:d.jsx(ie,{name:"CheckCircle"}),title:"Active",className:Wr.active},[qr.AWAITING_PAYMENT]:{icon:d.jsx(ie,{name:"Clock"}),title:"Awaiting Payment",className:Wr.awaitingPayment},[qr.CANCELLED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Cancelled",className:Wr.cancelled},[qr.CHANGED_GATEWAY]:{icon:d.jsx(ie,{name:"Warning"}),title:"Upgraded",className:Wr.changedGateway},[qr.EXPIRED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Expired",className:Wr.expired},[qr.RIAL]:{icon:d.jsx(ie,{name:"Clock"}),title:"Active",className:Wr.rial},[qr.PAST_DUE]:{icon:d.jsx(ie,{name:"Clock"}),title:"Trial",className:Wr.pastDue},[qr.REPLACED]:{icon:d.jsx(ie,{name:"Warning"}),title:"Replaced",className:Wr.replaced}},J3=({status:e})=>{const t=qz[e];return d.jsxs("div",{className:`${Wr.badge} ${t.className}`,children:[t.icon,d.jsx("p",{id:"md",children:t.title})]})},Wz=(e,t)=>{const n=t.find(r=>r.name===e);return n?d.jsxs("div",{className:dn.gatewayContainer,children:[d.jsx("img",{alt:n.displayName,src:or(n.logoCfImageId),className:dn.gatewayImage}),d.jsx("div",{children:n.displayName})]}):null},Gz=({item:e,gatewaysDetail:t})=>{const[n,r]=Ra(e.createdAt),[i]=Ra(e.activeTo||""),a=Us();return d.jsxs(k.Fragment,{children:[d.jsx(hn,{children:d.jsxs("div",{className:dn.productInfo,children:[d.jsx("div",{className:dn.productImage,children:d.jsx(ie,{name:"Image",width:20,height:20,fill:"var(--text-secondary)"})}),d.jsxs("div",{children:[d.jsx(os,{to:`/subscriptions/${e.id}/${e.accessToken}`,className:dn.productName,id:"md",children:e.productName}),d.jsx("p",{className:dn.expirationDate,children:e.activeTo&&`expires at ${i}`})]})]})}),d.jsx(hn,{className:dn.overflowItem,onClick:()=>a(e.id),children:e.id}),d.jsx(hn,{children:d.jsx(J3,{status:e.status})}),d.jsx(hn,{children:Dn(e.price)}),d.jsx(hn,{children:Wz(e.gatewayName,t)}),d.jsx(hn,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:dn.dateTime,id:"md",children:r})]})})]},e.id)},Zz=({subscriptions:e,gatewaysDetail:t,totalCount:n,page:r,setPage:i})=>{const u=!(!(e!=null&&e.length)||!t);return d.jsxs("div",{className:dn.tableContainer,children:[d.jsxs(Gd,{className:dn.table,children:[d.jsx(yn,{className:dn.tableItem,children:"Product name"}),d.jsx(yn,{className:dn.tableItem,children:"ID"}),d.jsx(yn,{className:dn.tableItem,children:"Status"}),d.jsx(yn,{className:dn.tableItem,children:"Value"}),d.jsx(yn,{className:dn.tableItem,children:"Payment"}),d.jsx(yn,{className:dn.tableItem,children:"Date"}),u&&(e==null?void 0:e.map(s=>d.jsx(Gz,{item:s,gatewaysDetail:t},s.id)))]}),!u&&d.jsx("div",{className:dn.tableLoader,children:d.jsx(Nn,{})}),u&&d.jsx(qs,{currentPage:r,totalCount:n,onPageChange:i})]})},Yz="_orderStatusBlock_2wo4y_2",Xz="_orderStatusBlockAntistock_2wo4y_11",Kz="_iconWrapper_2wo4y_16",Jz="_orderStatusTitle_2wo4y_26",Qz="_orderStatusDescription_2wo4y_31",e$="_actionButtons_2wo4y_36",t$="_actionButton_2wo4y_36",n$="_button_2wo4y_47",wr={orderStatusBlock:Yz,orderStatusBlockAntistock:Xz,iconWrapper:Kz,orderStatusTitle:Jz,orderStatusDescription:Qz,actionButtons:e$,actionButton:t$,button:n$},r$={[Ze.New]:"New",[Ze.Pending]:"Order Pending",[Ze.Expired]:"Order Expired",[Ze.Cancelled]:"Order Canceled",[Ze.Failed]:"Order Failed",[Ze.FullDeliveryFailure]:"Delivery Failure",[Ze.PartiallyDelivered]:"Partial Delivery Failure",[Ze.Refunded]:"Order Refunded",[Ze.Completed]:"Order Completed"},o$={[Ze.New]:"Your order has been created and is awaiting payment.",[Ze.Pending]:"Your order is currently pending. We recommend checking back shortly for confirmation.",[Ze.Expired]:"Your order has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Ze.Cancelled]:"You canceled the warrant. If there are any problems, please contact support.",[Ze.Failed]:"Your order could not be processed due to a payment or system error. Please try again or contact support.",[Ze.FullDeliveryFailure]:"Your payment was successful but the product is currently out of stock. Please contact us below to get this sorted.",[Ze.PartiallyDelivered]:"Your payment was successful but some products were out of stock. Please contact us below to get this sorted.",[Ze.Refunded]:"Your order was refunded. Please check your payment method for confirmation.",[Ze.Completed]:"Your order has successfully been processed. View your products below or check your email for additional information."},i$={[Ze.Completed]:d.jsx(ie,{name:"Check",fill:"var(--text-success)"}),[Ze.Pending]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ze.New]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ze.Expired]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.Cancelled]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.Failed]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.FullDeliveryFailure]:d.jsx(ie,{name:"Warning",fill:"var(--text-warning)"}),[Ze.PartiallyDelivered]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"}),[Ze.Refunded]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"})},a$=({orderStatus:e,className:t})=>{const{shopDomain:n}=Ao(),{isAntistock:r}=gt(),i=Jr();return d.jsxs("div",{className:ge(wr.orderStatusBlock,t,{[wr.orderStatusBlockAntistock]:r}),children:[d.jsx("div",{className:wr.iconWrapper,style:r?{background:"none"}:void 0,children:i$[e]}),d.jsx("h2",{className:wr.orderStatusTitle,children:r$[e]}),d.jsx("p",{className:wr.orderStatusDescription,children:o$[e]}),d.jsxs("div",{className:wr.actionButtons,children:[d.jsx("div",{className:wr.actionButton,children:d.jsxs(wt,{type:"Secondary",className:wr.button,onClick:()=>window.open(`https://${n}`),children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:wr.actionButton,children:d.jsxs(wt,{type:"Secondary",className:wr.button,onClick:()=>{r?window.open(`https://${n}/support`):i("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},u$="_modal_1rkmj_1",s$="_modalPayment_1rkmj_7",c$="_title_1rkmj_15",l$="_description_1rkmj_20",Hu={modal:u$,modalPayment:s$,title:c$,description:l$},Q3=()=>d.jsxs("div",{className:ge(Hu.modal,Hu.modalPayment),onClick:e=>e.stopPropagation(),children:[d.jsx(Nn,{style:{border:"4px solid var(--surface-action1)",borderLeftColor:"var(--surface-secondary)",width:"40px",height:"40px"}}),d.jsx("h2",{id:"h3",className:Hu.title,children:"Processing Payment"}),d.jsx("p",{className:Hu.description,children:"This payment is currently being processed. If you're here, it simply means that the payment was created but not complete."})]});exports.AlignText=o2;exports.Auth=Im;exports.BalanceModal=tm;exports.Button=Ei;exports.Button$1=wt;exports.ButtonPopup=j9;exports.CSS=Si;exports.ChargeStatus=Xe;exports.ChargeStatusBlock=YV;exports.Checkbox=n2;exports.CheckoutPaymentMethod=gv;exports.ChooseImage=Xa;exports.ChooseImageModal=QI;exports.ContentLoader=Mi;exports.CustomerDashboard=SA;exports.DeliveryItem=Qk;exports.DndContext=_2;exports.ErrorableBlock=Ml;exports.FilledStar=uT;exports.Fuse=to;exports.IS_LOCAL_HOST=zt;exports.Icon=ie;exports.Input=ar;exports.Input$1=Zo;exports.ItemPopup=R9;exports.ItemsSettings=R2;exports.ListingPopup=QE;exports.Loader=Nn;exports.Markdown=u0;exports.MarkdownText=w0;exports.Modal=Vs;exports.OrderStatus=Ze;exports.OrderStatusBlock=a$;exports.OtherAndTagsSettings=i2;exports.Outlet=E4;exports.PRODUCT_VARIANT_EXTRA_FIELD_TYPE=qE;exports.PointerSensor=Fs;exports.PreviewContent=kx;exports.ProcessingPaymentModal=Q3;exports.Radio=px;exports.RangeSelector=P2;exports.ReCaptchaProvider=fm;exports.RenderAnnouncement=B2;exports.RenderBlock=O2;exports.RenderFooter=M2;exports.RenderHeader=F2;exports.RouterProvider=$4;exports.SecuredBySsl=K3;exports.Select=So;exports.Select$1=W2;exports.SelectInfiniteList=_d;exports.SelectTypeText=Ld;exports.SortableContext=L2;exports.StableText=z2;exports.SubscriptionStatusBadge=J3;exports.SvgMiniLogoAntistock=rm;exports.Switch=Or;exports.TermsOfService=X3;exports.TextSettings=Dd;exports.Textarea=vd;exports.Textarea$1=US;exports.Tip=r2;exports.TrackPayment=fz;exports.TypesText=kd;exports.Visa=sT;exports.Wrapper=q2;exports.aspectRatio=gp;exports.aspectRatioOptions=bp;exports.axios=ft;exports.cancelSubscription=LE;exports.changeSubscriptionGateway=DE;exports.clx=ge;exports.convertCfImageIdToUrl=or;exports.createBrowserRouter=F4;exports.defaultPagePaths=mp;exports.extendSubscription=PE;exports.extractDateAndTime=Ra;exports.fetchAuthorizedOrder=wE;exports.fetchGatewaysDetail=H2;exports.fetchOrder=TE;exports.fetchSubscription=kE;exports.fetchTicket=OE;exports.formatPrice=Dn;exports.getBalance=jd;exports.getBalanceSettings=G2;exports.getCommonCustomFields=XE;exports.getDisplayName=pa;exports.getDynamicPage=hE;exports.getGatewaysDetail=eu;exports.getSubscriptionUpgradePlans=RE;exports.jsxRuntimeExports=d;exports.jwtDecode=e2;exports.navbarBlocks=pp;exports.normalizeInterval=AI;exports.pages=s5;exports.parseDraftJsText=Y3;exports.percentageDifference=wI;exports.request=st;exports.sendTicketMessage=ME;exports.splitTextIntoSpans=V2;exports.styles=Po;exports.styles$1=li;exports.styles$2=ha;exports.styles$3=Ot;exports.useAdaptiveStyles=$2;exports.useApiStore=Lt;exports.useBlocksStore=Wo;exports.useCart=JE;exports.useCartStore=Gr;exports.useChooseImageStore=Sd;exports.useColorPickerStore=C5;exports.useConfirmationModalStore=Ip;exports.useCopy=Us;exports.useCustomerDashboardStore=sr;exports.useDeviceStore=u5;exports.useDiscordStore=t2;exports.useErrorStore=Cp;exports.useFontsStore=b5;exports.useGeneralInfo=qd;exports.useGeneralStore=gt;exports.useGetTsId=xo;exports.useHistoryStore=vn;exports.useLayersStore=Yr;exports.useLocation=Kr;exports.useMarkdownIt=G3;exports.useModalStore=eo;exports.useNavbarStore=c5;exports.useNavigate=Jr;exports.useNotificationStore=fn;exports.useOnClickOutside=vi;exports.usePagesStore=Qr;exports.useParams=u4;exports.usePreviewStore=vs;exports.useReCaptcha=Wd;exports.useRouteError=sp;exports.useSearchParams=hp;exports.useSensor=c2;exports.useSensors=l2;exports.useSettingsStore=Ga;exports.useShareLinkStore=I5;exports.useSortable=N2;exports.useStorefrontStore=Ao;exports.useSubmodalStore=g5;exports.useSubscriptionStore=PI;exports.useThemeSettingsStore=Eo;exports.useTooltipStore=y5;exports.useTrackingAnalytics=NI;exports.v4=mt;exports.verticalListSortingStrategy=A2;
179
+ `):t.deliveryItems[0].textData,s=()=>{i(!1),a?e(!1):setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{className:ge(tn.modal,{[tn.modalAntistock]:a}),onClick:c=>c.stopPropagation(),children:[d.jsxs("div",{className:tn.header,children:[d.jsx("h3",{id:"h3",className:tn.title,children:a?"View Content":"Thank you for the purchase!"}),d.jsx(ie,{name:"X",hoverable:!0,onClick:s,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:tn.bottomSheet,children:[d.jsx("div",{className:tn.content,children:r?d.jsx("div",{className:tn.discordMessage,children:d.jsx("p",{className:tn.discordMessageTitle,id:"md",children:"Discord role has been granted"})}):d.jsxs("div",{children:[d.jsxs("div",{className:tn.section,children:[!a&&d.jsx("p",{className:tn.contentTitle,id:"md",children:"Content"}),!a&&d.jsxs(wt,{className:tn.copyButton,type:"Secondary",onClick:()=>n(u),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]})]}),d.jsx("div",{className:ge(tn.scrollableBox,{[tn.scrollableBoxAntistock]:a}),children:d.jsx("p",{className:tn.contentText,id:"md",children:a?d.jsx(w0,{text:u}):d.jsx(u0,{remarkPlugins:[Lg],rehypePlugins:[E3],components:{a:({node:c,...l})=>d.jsx("a",{...l,target:"_blank",rel:"noopener noreferrer",className:tn.link})},children:u})})})]})}),a&&d.jsxs(wt,{className:tn.copyButtonAntistock,type:"Secondary",onClick:()=>n(u),children:[d.jsx(ie,{name:"Copy"}),"Copy All"]}),!a&&d.jsx("div",{className:tn.buttonGroup,children:d.jsx("div",{className:tn.buttonWrapper,children:d.jsx(wt,{type:"Secondary",onClick:s,children:"Close"})})})]})]})},HV="_chargeStatusBlock_12swd_4",jV="_isAntistock_12swd_13",UV="_chargeStatusIcon_12swd_19",VV="_chargeStatusTitle_12swd_27",zV="_chargeStatusDescription_12swd_33",$V="_pickUpButton_12swd_39",qV="_actionButtons_12swd_49",WV="_actionButton_12swd_49",Fn={chargeStatusBlock:HV,isAntistock:jV,chargeStatusIcon:UV,chargeStatusTitle:VV,chargeStatusDescription:zV,pickUpButton:$V,actionButtons:qV,actionButton:WV},fi={[Xe.Paid]:"Payment Successful",[Xe.Pending]:"Payment Pending",[Xe.Expired]:"Payment Expired",[Xe.Cancelled]:"Payment Cancelled",[Xe.NotPaid]:"Payment Failed",[Xe.Refunded]:"Payment Refunded"},GV={[Xe.Paid]:"Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",[Xe.Pending]:"Your payment is currently pending. We recommend checking back shortly for confirmation.",[Xe.Expired]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Xe.Cancelled]:"You canceled the warrant. If there are any problems, please contact support",[Xe.NotPaid]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Xe.Refunded]:"Your payment has been refunded. Please check your payment method for confirmation."},ZV={[Xe.Paid]:d.jsx("div",{className:`${Fn.chargeStatusIcon}`,children:d.jsx(ie,{name:"Check",fill:"var(--text-success)"})}),[Xe.Pending]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"})}),[Xe.Expired]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.Cancelled]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.NotPaid]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[Xe.Refunded]:d.jsx("div",{className:Fn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-warning)"})})},YV=({charge:e})=>{const t=e.status,n=Jr(),{shopDomain:r}=Ao(),{isAntistock:i}=gt(),a=k.useRef(),[u,s]=hp(),c=()=>{var f,h;if(!((f=e.order)!=null&&f.id))return;const l=u.get("redirectRoute");if((e==null?void 0:e.status)===Xe.Paid&&e.redirectUrl&&!a.current){const m=JSON.parse(localStorage.getItem("orders")||"{}")[((h=e==null?void 0:e.order)==null?void 0:h.id)||""];m?window.open(m.fullAccessToken?`${e.redirectUrl}/${m.fullAccessToken}`:`${e.redirectUrl}`,"_self"):window.open(e.redirectUrl,"_self")}(e==null?void 0:e.status)===Xe.Paid&&a.current&&n(a.current,{replace:!0}),l&&a&&(a.current=l,u.delete("redirectRoute"),s(u))};return d.jsxs("div",{className:ge(Fn.chargeStatusBlock,{[Fn.isAntistock]:i}),children:[ZV[t],d.jsx("h2",{className:Fn.chargeStatusTitle,children:fi[t]}),d.jsx("p",{className:Fn.chargeStatusDescription,children:GV[t]}),t===Xe.Paid?d.jsx("div",{className:Fn.pickUpButton,style:i?{justifyContent:"flex-start"}:void 0,children:d.jsxs(wt,{onClick:c,style:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center",gap:"5px"},type:"Secondary",children:[d.jsx(ie,{name:"ArrowLineUpRight"}),i?"View Order":"Pick up Order"]})}):d.jsxs("div",{className:Fn.actionButtons,children:[d.jsx("div",{className:Fn.actionButton,children:d.jsxs(wt,{type:"Secondary",onClick:()=>window.open(`https://${r}`),style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:Fn.actionButton,children:d.jsxs(wt,{type:"Secondary",style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},onClick:()=>{i?window.open(`https://${r}/support`):n("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},XV="_trackPaymentContainer_fk3b6_1",KV="_trackPaymentBox_fk3b6_5",JV="_trackPaymentBoxActive_fk3b6_18",QV="_trackPaymentHeader_fk3b6_23",ez="_trackPaymentTitle_fk3b6_27",tz="_trackPaymentTimeline_fk3b6_33",nz="_trackPaymentItem_fk3b6_42",rz="_itemHeader_fk3b6_48",oz="_itemDate_fk3b6_55",iz="_itemMessage_fk3b6_59",az="_trackPaymentToggle_fk3b6_64",uz="_trackPaymentToggleContent_fk3b6_75",sz="_trackPaymentToggleText_fk3b6_81",cz="_antistock_fk3b6_88",An={trackPaymentContainer:XV,trackPaymentBox:KV,trackPaymentBoxActive:JV,trackPaymentHeader:QV,trackPaymentTitle:ez,trackPaymentTimeline:tz,trackPaymentItem:nz,itemHeader:rz,itemDate:oz,itemMessage:iz,trackPaymentToggle:az,trackPaymentToggleContent:uz,trackPaymentToggleText:sz,antistock:cz},Zh=(e,t)=>{const n=e.getDate().toString().padStart(2,"0"),r=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear(),a=e.getHours(),u=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0"),c=a>=12?"PM":"AM",l=(a%12||12).toString().padStart(2,"0");return t==="dd.MM.yyyy"?`${n}.${r}.${i}`:t==="hh:mm:ss aa"?`${l}:${u}:${s} ${c}`:""},lz={[Xe.Paid]:{displayName:fi[Xe.Paid],displayMessage:"The invoice has been completed and the product has been delivered.",type:"success"},[Xe.Pending]:{displayName:fi[Xe.Pending],displayMessage:"The invoice has been created and we are now waiting to receive the payment.",type:"warning"},[Xe.Expired]:{displayName:fi[Xe.Expired],displayMessage:"Your payment has expired due to the payment not being sent in time.",type:"error"},[Xe.Cancelled]:{displayName:fi[Xe.Cancelled],displayMessage:"The order has been canceled. The payment was not sent within the time limit.",type:"error"},[Xe.NotPaid]:{displayName:"New",displayMessage:"The charge has been created and is awaiting payment.",type:"success"},[Xe.Refunded]:{displayName:fi[Xe.Refunded],displayMessage:"Your order was refunded. Please check your payment method for confirmation.",type:"warning"}},dz=({date:e,chargeStatus:t})=>(console.log(t),d.jsxs("div",{className:An.trackPaymentItem,children:[d.jsxs("div",{className:An.itemHeader,children:[d.jsx("p",{className:An.itemDate,id:"md-bold",children:Zh(new Date(e),"dd.MM.yyyy")}),d.jsx("p",{className:An.itemTime,id:"md",children:Zh(new Date(e),"hh:mm:ss aa")})]}),d.jsx("p",{className:An.itemMessage,id:"md",children:lz[t].displayMessage})]})),fz=({timeline:e,className:t})=>{const[n,r]=k.useState(!1),{isAntistock:i}=gt();return d.jsxs("div",{className:ge(An.trackPaymentContainer,t,{[An.antistock]:i}),children:[d.jsxs("div",{className:`${An.trackPaymentBox} ${n?An.trackPaymentBoxActive:""}`,style:i?{border:"1px solid var(--border-secondary)"}:void 0,children:[d.jsx("header",{className:An.trackPaymentHeader,children:d.jsx("h2",{className:An.trackPaymentTitle,id:"h4",children:"Track Payment"})}),d.jsx("div",{className:An.trackPaymentTimeline,children:Object.keys(e).map(a=>d.jsx(dz,{date:e[a],chargeStatus:a},a))})]}),d.jsxs("div",{className:An.trackPaymentToggle,onClick:()=>r(!n),style:i?{padding:"1.25rem",border:"1px solid var(--border-secondary)",borderRadius:"var(--border-radius)"}:void 0,children:[d.jsxs("div",{className:An.trackPaymentToggleContent,children:[i?null:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)"}),d.jsx("p",{className:An.trackPaymentToggleText,id:"h5",children:"Track Payment"})]}),d.jsx(ie,{name:"CaretRight",fill:"var(--text-primary)",width:16,height:16})]})]})},hz="_dateTime_1dnnn_11",pz="_tableItem_1dnnn_25",mz="_status_1dnnn_29",gz="_statusInProgress_1dnnn_38",bz="_statusText_1dnnn_42",Cz="_statusIcon_1dnnn_46",Iz="_statusInProgressText_1dnnn_52",yz="_statusInProgressIcon_1dnnn_57",Ez="_message_1dnnn_63",kn={dateTime:hz,tableItem:pz,status:mz,statusInProgress:gz,statusText:bz,statusIcon:Cz,statusInProgressText:Iz,statusInProgressIcon:yz,message:Ez},Sz=({item:e})=>{const[t,n]=Ra(e.createdAt),r=Jr(),a=(u=>u.length>30?u.slice(0,27)+"...":u)(e.latestMessage);return d.jsxs(k.Fragment,{children:[d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsxs("span",{id:"md",children:["#",e.id]})}),d.jsx(hn,{className:ge(kn.message,kn.tableItem),onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsx("span",{id:"md",children:a})}),d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:t}),d.jsx("div",{className:kn.dateTime,id:"md",children:n})]})}),d.jsx(hn,{className:kn.tableItem,onClick:()=>r(`/ticket/${e.id}/${e.accessToken}`),children:d.jsx(xz,{status:e.status})})]},e.id)},xz=({status:e})=>d.jsxs("div",{className:ge(kn.status,{[kn.statusClosed]:e==="CLOSED",[kn.statusInProgress]:e!=="CLOSED"}),children:[d.jsx("div",{className:ge(kn.statusIcon,{[kn.statusInProgressIcon]:e!=="CLOSED"}),children:e==="CLOSED"?d.jsx(ie,{name:"CheckCircle",className:kn.statusIcon}):d.jsx(ie,{name:"Clock",className:kn.statusInProgressIcon})}),d.jsx("div",{className:ge(kn.statusText,{[kn.statusInProgressText]:e!=="CLOSED"}),id:"md",children:e==="CLOSED"?"Closed":"In Progress"})]}),_z="_tableContainer_1eytq_1",Tz="_table_1eytq_1",wz="_productInfo_1eytq_19",Az="_productImage_1eytq_26",kz="_productName_1eytq_35",vz="_expirationDate_1eytq_46",Lz="_overflowItem_1eytq_51",Dz="_gatewayContainer_1eytq_57",Nz="_gatewayImage_1eytq_62",Rz="_dateTime_1eytq_67",Pz="_tableLoader_1eytq_72",Oz="_tableItem_1eytq_81",dn={tableContainer:_z,table:Tz,productInfo:wz,productImage:Az,productName:kz,expirationDate:vz,overflowItem:Lz,gatewayContainer:Dz,gatewayImage:Nz,dateTime:Rz,tableLoader:Pz,tableItem:Oz},Mz="_badge_1oac8_1",Fz="_active_1oac8_12",Bz="_awaitingPayment_1oac8_17",Hz="_cancelled_1oac8_22",jz="_changedGateway_1oac8_27",Uz="_expired_1oac8_32",Vz="_rial_1oac8_37",zz="_pastDue_1oac8_42",$z="_replaced_1oac8_47",Wr={badge:Mz,active:Fz,awaitingPayment:Bz,cancelled:Hz,changedGateway:jz,expired:Uz,rial:Vz,pastDue:zz,replaced:$z},qz={[qr.ACTIVE]:{icon:d.jsx(ie,{name:"CheckCircle"}),title:"Active",className:Wr.active},[qr.AWAITING_PAYMENT]:{icon:d.jsx(ie,{name:"Clock"}),title:"Awaiting Payment",className:Wr.awaitingPayment},[qr.CANCELLED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Cancelled",className:Wr.cancelled},[qr.CHANGED_GATEWAY]:{icon:d.jsx(ie,{name:"Warning"}),title:"Upgraded",className:Wr.changedGateway},[qr.EXPIRED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Expired",className:Wr.expired},[qr.RIAL]:{icon:d.jsx(ie,{name:"Clock"}),title:"Active",className:Wr.rial},[qr.PAST_DUE]:{icon:d.jsx(ie,{name:"Clock"}),title:"Trial",className:Wr.pastDue},[qr.REPLACED]:{icon:d.jsx(ie,{name:"Warning"}),title:"Replaced",className:Wr.replaced}},J3=({status:e})=>{const t=qz[e];return d.jsxs("div",{className:`${Wr.badge} ${t.className}`,children:[t.icon,d.jsx("p",{id:"md",children:t.title})]})},Wz=(e,t)=>{const n=t.find(r=>r.name===e);return n?d.jsxs("div",{className:dn.gatewayContainer,children:[d.jsx("img",{alt:n.displayName,src:ir(n.logoCfImageId),className:dn.gatewayImage}),d.jsx("div",{children:n.displayName})]}):null},Gz=({item:e,gatewaysDetail:t})=>{const[n,r]=Ra(e.createdAt),[i]=Ra(e.activeTo||""),a=Us();return d.jsxs(k.Fragment,{children:[d.jsx(hn,{children:d.jsxs("div",{className:dn.productInfo,children:[d.jsx("div",{className:dn.productImage,children:d.jsx(ie,{name:"Image",width:20,height:20,fill:"var(--text-secondary)"})}),d.jsxs("div",{children:[d.jsx(os,{to:`/subscriptions/${e.id}/${e.accessToken}`,className:dn.productName,id:"md",children:e.productName}),d.jsx("p",{className:dn.expirationDate,children:e.activeTo&&`expires at ${i}`})]})]})}),d.jsx(hn,{className:dn.overflowItem,onClick:()=>a(e.id),children:e.id}),d.jsx(hn,{children:d.jsx(J3,{status:e.status})}),d.jsx(hn,{children:Dn(e.price)}),d.jsx(hn,{children:Wz(e.gatewayName,t)}),d.jsx(hn,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:dn.dateTime,id:"md",children:r})]})})]},e.id)},Zz=({subscriptions:e,gatewaysDetail:t,totalCount:n,page:r,setPage:i})=>{const u=!(!(e!=null&&e.length)||!t);return d.jsxs("div",{className:dn.tableContainer,children:[d.jsxs(Gd,{className:dn.table,children:[d.jsx(yn,{className:dn.tableItem,children:"Product name"}),d.jsx(yn,{className:dn.tableItem,children:"ID"}),d.jsx(yn,{className:dn.tableItem,children:"Status"}),d.jsx(yn,{className:dn.tableItem,children:"Value"}),d.jsx(yn,{className:dn.tableItem,children:"Payment"}),d.jsx(yn,{className:dn.tableItem,children:"Date"}),u&&(e==null?void 0:e.map(s=>d.jsx(Gz,{item:s,gatewaysDetail:t},s.id)))]}),!u&&d.jsx("div",{className:dn.tableLoader,children:d.jsx(Nn,{})}),u&&d.jsx(qs,{currentPage:r,totalCount:n,onPageChange:i})]})},Yz="_orderStatusBlock_2wo4y_2",Xz="_orderStatusBlockAntistock_2wo4y_11",Kz="_iconWrapper_2wo4y_16",Jz="_orderStatusTitle_2wo4y_26",Qz="_orderStatusDescription_2wo4y_31",e$="_actionButtons_2wo4y_36",t$="_actionButton_2wo4y_36",n$="_button_2wo4y_47",wr={orderStatusBlock:Yz,orderStatusBlockAntistock:Xz,iconWrapper:Kz,orderStatusTitle:Jz,orderStatusDescription:Qz,actionButtons:e$,actionButton:t$,button:n$},r$={[Ze.New]:"New",[Ze.Pending]:"Order Pending",[Ze.Expired]:"Order Expired",[Ze.Cancelled]:"Order Canceled",[Ze.Failed]:"Order Failed",[Ze.FullDeliveryFailure]:"Delivery Failure",[Ze.PartiallyDelivered]:"Partial Delivery Failure",[Ze.Refunded]:"Order Refunded",[Ze.Completed]:"Order Completed"},o$={[Ze.New]:"Your order has been created and is awaiting payment.",[Ze.Pending]:"Your order is currently pending. We recommend checking back shortly for confirmation.",[Ze.Expired]:"Your order has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Ze.Cancelled]:"You canceled the warrant. If there are any problems, please contact support.",[Ze.Failed]:"Your order could not be processed due to a payment or system error. Please try again or contact support.",[Ze.FullDeliveryFailure]:"Your payment was successful but the product is currently out of stock. Please contact us below to get this sorted.",[Ze.PartiallyDelivered]:"Your payment was successful but some products were out of stock. Please contact us below to get this sorted.",[Ze.Refunded]:"Your order was refunded. Please check your payment method for confirmation.",[Ze.Completed]:"Your order has successfully been processed. View your products below or check your email for additional information."},i$={[Ze.Completed]:d.jsx(ie,{name:"Check",fill:"var(--text-success)"}),[Ze.Pending]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ze.New]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ze.Expired]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.Cancelled]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.Failed]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ze.FullDeliveryFailure]:d.jsx(ie,{name:"Warning",fill:"var(--text-warning)"}),[Ze.PartiallyDelivered]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"}),[Ze.Refunded]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"})},a$=({orderStatus:e,className:t})=>{const{shopDomain:n}=Ao(),{isAntistock:r}=gt(),i=Jr();return d.jsxs("div",{className:ge(wr.orderStatusBlock,t,{[wr.orderStatusBlockAntistock]:r}),children:[d.jsx("div",{className:wr.iconWrapper,style:r?{background:"none"}:void 0,children:i$[e]}),d.jsx("h2",{className:wr.orderStatusTitle,children:r$[e]}),d.jsx("p",{className:wr.orderStatusDescription,children:o$[e]}),d.jsxs("div",{className:wr.actionButtons,children:[d.jsx("div",{className:wr.actionButton,children:d.jsxs(wt,{type:"Secondary",className:wr.button,onClick:()=>window.open(`https://${n}`),children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:wr.actionButton,children:d.jsxs(wt,{type:"Secondary",className:wr.button,onClick:()=>{r?window.open(`https://${n}/support`):i("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},u$="_modal_1rkmj_1",s$="_modalPayment_1rkmj_7",c$="_title_1rkmj_15",l$="_description_1rkmj_20",Hu={modal:u$,modalPayment:s$,title:c$,description:l$},Q3=()=>d.jsxs("div",{className:ge(Hu.modal,Hu.modalPayment),onClick:e=>e.stopPropagation(),children:[d.jsx(Nn,{style:{border:"4px solid var(--surface-action1)",borderLeftColor:"var(--surface-secondary)",width:"40px",height:"40px"}}),d.jsx("h2",{id:"h3",className:Hu.title,children:"Processing Payment"}),d.jsx("p",{className:Hu.description,children:"This payment is currently being processed. If you're here, it simply means that the payment was created but not complete."})]});exports.AlignText=o2;exports.Auth=Im;exports.BalanceModal=tm;exports.Button=Ei;exports.Button$1=wt;exports.ButtonPopup=j9;exports.CSS=Si;exports.ChargeStatus=Xe;exports.ChargeStatusBlock=YV;exports.Checkbox=n2;exports.CheckoutPaymentMethod=gv;exports.ChooseImage=Xa;exports.ChooseImageModal=QI;exports.ContentLoader=Mi;exports.CustomerDashboard=SA;exports.DeliveryItem=Qk;exports.DndContext=_2;exports.ErrorableBlock=Ml;exports.FilledStar=uT;exports.Fuse=to;exports.IS_LOCAL_HOST=zt;exports.Icon=ie;exports.Input=ur;exports.Input$1=Zo;exports.ItemPopup=R9;exports.ItemsSettings=R2;exports.ListingPopup=QE;exports.Loader=Nn;exports.Markdown=u0;exports.MarkdownText=w0;exports.Modal=Vs;exports.OrderStatus=Ze;exports.OrderStatusBlock=a$;exports.OtherAndTagsSettings=i2;exports.Outlet=E4;exports.PRODUCT_VARIANT_EXTRA_FIELD_TYPE=qE;exports.PointerSensor=Fs;exports.PreviewContent=kx;exports.ProcessingPaymentModal=Q3;exports.Radio=px;exports.RangeSelector=P2;exports.ReCaptchaProvider=fm;exports.RenderAnnouncement=B2;exports.RenderBlock=O2;exports.RenderFooter=M2;exports.RenderHeader=F2;exports.RouterProvider=$4;exports.SecuredBySsl=K3;exports.Select=So;exports.Select$1=W2;exports.SelectInfiniteList=_d;exports.SelectTypeText=Ld;exports.SortableContext=L2;exports.StableText=z2;exports.SubscriptionStatusBadge=J3;exports.SvgMiniLogoAntistock=rm;exports.Switch=Or;exports.TermsOfService=X3;exports.TextSettings=Dd;exports.Textarea=vd;exports.Textarea$1=US;exports.Tip=r2;exports.TrackPayment=fz;exports.TypesText=kd;exports.Visa=sT;exports.Wrapper=q2;exports.aspectRatio=gp;exports.aspectRatioOptions=bp;exports.axios=ft;exports.cancelSubscription=LE;exports.changeSubscriptionGateway=DE;exports.clx=ge;exports.convertCfImageIdToUrl=ir;exports.createBrowserRouter=F4;exports.defaultPagePaths=mp;exports.extendSubscription=PE;exports.extractDateAndTime=Ra;exports.fetchAuthorizedOrder=wE;exports.fetchGatewaysDetail=H2;exports.fetchOrder=TE;exports.fetchSubscription=kE;exports.fetchTicket=OE;exports.formatPrice=Dn;exports.getBalance=jd;exports.getBalanceSettings=G2;exports.getCommonCustomFields=XE;exports.getDisplayName=pa;exports.getDynamicPage=hE;exports.getGatewaysDetail=eu;exports.getSubscriptionUpgradePlans=RE;exports.jsxRuntimeExports=d;exports.jwtDecode=e2;exports.navbarBlocks=pp;exports.normalizeInterval=AI;exports.pages=s5;exports.parseDraftJsText=Y3;exports.percentageDifference=wI;exports.request=st;exports.sendTicketMessage=ME;exports.splitTextIntoSpans=V2;exports.styles=Po;exports.styles$1=li;exports.styles$2=ha;exports.styles$3=Ot;exports.useAdaptiveStyles=$2;exports.useApiStore=Lt;exports.useBlocksStore=Wo;exports.useCart=JE;exports.useCartStore=Gr;exports.useChooseImageStore=Sd;exports.useColorPickerStore=C5;exports.useConfirmationModalStore=Ip;exports.useCopy=Us;exports.useCustomerDashboardStore=Jn;exports.useDeviceStore=u5;exports.useDiscordStore=t2;exports.useErrorStore=Cp;exports.useFontsStore=b5;exports.useGeneralInfo=qd;exports.useGeneralStore=gt;exports.useGetTsId=xo;exports.useHistoryStore=vn;exports.useLayersStore=Yr;exports.useLocation=Kr;exports.useMarkdownIt=G3;exports.useModalStore=eo;exports.useNavbarStore=c5;exports.useNavigate=Jr;exports.useNotificationStore=fn;exports.useOnClickOutside=vi;exports.usePagesStore=Qr;exports.useParams=u4;exports.usePreviewStore=vs;exports.useReCaptcha=Wd;exports.useRouteError=sp;exports.useSearchParams=hp;exports.useSensor=c2;exports.useSensors=l2;exports.useSettingsStore=Ga;exports.useShareLinkStore=I5;exports.useSortable=N2;exports.useStorefrontStore=Ao;exports.useSubmodalStore=g5;exports.useSubscriptionStore=PI;exports.useThemeSettingsStore=Eo;exports.useTooltipStore=y5;exports.useTrackingAnalytics=NI;exports.v4=mt;exports.verticalListSortingStrategy=A2;