UNPKG

tsm-ui

Version:

### Welcome to TSM-UI: Your Design System for Modern Web Development

18 lines 536 kB
import{g as mF,c as hF}from"./_commonjsHelpers.712cc82f.js";function vF(Xt,Ir){for(var w=0;w<Ir.length;w++){const ct=Ir[w];if(typeof ct!="string"&&!Array.isArray(ct)){for(const S in ct)if(S!=="default"&&!(S in Xt)){const y=Object.getOwnPropertyDescriptor(ct,S);y&&Object.defineProperty(Xt,S,y.get?y:{enumerable:!0,get:()=>ct[S]})}}}return Object.freeze(Object.defineProperty(Xt,Symbol.toStringTag,{value:"Module"}))}var nu={exports:{}};/*! axe v4.7.2 * Copyright (c) 2023 Deque Systems, Inc. * * Your use of this Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This entire copyright notice must appear in every copy of this file you * distribute or in any file that contains substantial portions of this source * code. */(function(Xt){(function Ir(w){var ct=w,S=w.document,y=y||{};y.version="4.7.2",O(Xt)==="object"&&Xt.exports&&typeof Ir.toString=="function"&&(y.source="("+Ir.toString()+')(typeof window === "object" ? window : this);',Xt.exports=y),typeof w.getComputedStyle=="function"&&(w.axe=y);function Pr(E){this.name="SupportError",this.cause=E.cause,this.message="`".concat(E.cause,"` - feature unsupported in your environment."),E.ruleId&&(this.ruleId=E.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}Pr.prototype=Object.create(Error.prototype),Pr.prototype.constructor=Pr;var af=["node"],nf=["variant"],of=["matches"],uf=["chromium"],lf=["noImplicit"],sf=["noPresentational"],cf=["precision","format","inGamut"],df=["space"],ff=["algorithm"],pf=["method"],mf=["maxDeltaE","deltaEMethod","steps","maxSteps"],hf=["node"],vf=["nodes"],gf=["node"],bf=["relatedNodes"],yf=["environmentData"],wf=["environmentData"],Df=["node"],_f=["environmentData"],xf=["environmentData"],Ef=["environmentData"];function Cf(E){return mu(E)||fu(E)||ba(E)||pu()}function Af(E,F,M){return F=vu(F),F in E?Object.defineProperty(E,F,{value:M,enumerable:!0,configurable:!0,writable:!0}):E[F]=M,E}function ha(E,F,M){return ou()?ha=Reflect.construct.bind():ha=function(pe,ge,Ze){var dt=[null];dt.push.apply(dt,ge);var Ke=Function.bind.apply(pe,dt),et=new Ke;return Ze&&va(et,Ze.prototype),et},ha.apply(null,arguments)}function Sn(E,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(F&&F.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),Object.defineProperty(E,"prototype",{writable:!1}),F&&va(E,F)}function va(E,F){return va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Y,pe){return Y.__proto__=pe,Y},va(E,F)}function On(E){var F=ou();return function(){var Y=ga(E),pe;if(F){var ge=ga(this).constructor;pe=Reflect.construct(Y,arguments,ge)}else pe=Y.apply(this,arguments);return Ff(this,pe)}}function Ff(E,F){if(F&&(O(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return iu(E)}function iu(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function ou(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ga(E){return ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},ga(E)}function uu(E,F,M){su(E,F),F.set(E,M)}function lu(E,F){su(E,F),F.add(E)}function su(E,F){if(F.has(E))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Nr(E,F){var M=du(E,F,"get");return Tf(E,M)}function Tf(E,F){return F.get?F.get.call(E):F.value}function Mn(E,F,M){if(!F.has(E))throw new TypeError("attempted to get private field on non-instance");return M}function cu(E,F,M){var Y=du(E,F,"set");return kf(E,Y,M),M}function du(E,F,M){if(!F.has(E))throw new TypeError("attempted to "+M+" private field on non-instance");return F.get(E)}function kf(E,F,M){if(F.set)F.set.call(E,M);else{if(!F.writable)throw new TypeError("attempted to set read only private field");F.value=M}}function Te(E,F){if(E==null)return{};var M=Rf(E,F),Y,pe;if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(E);for(pe=0;pe<ge.length;pe++)Y=ge[pe],!(F.indexOf(Y)>=0)&&(!Object.prototype.propertyIsEnumerable.call(E,Y)||(M[Y]=E[Y]))}return M}function Rf(E,F){if(E==null)return{};var M={},Y=Object.keys(E),pe,ge;for(ge=0;ge<Y.length;ge++)pe=Y[ge],!(F.indexOf(pe)>=0)&&(M[pe]=E[pe]);return M}function ie(E){return Of(E)||fu(E)||ba(E)||Sf()}function Sf(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fu(E){if(typeof Symbol<"u"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}function Of(E){if(Array.isArray(E))return In(E)}function le(){return le=Object.assign?Object.assign.bind():function(E){for(var F=1;F<arguments.length;F++){var M=arguments[F];for(var Y in M)Object.prototype.hasOwnProperty.call(M,Y)&&(E[Y]=M[Y])}return E},le.apply(this,arguments)}function q(E,F){return mu(E)||Mf(E,F)||ba(E,F)||pu()}function pu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mf(E,F){var M=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(M!=null){var Y,pe,ge,Ze,dt=[],Ke=!0,et=!1;try{if(ge=(M=M.call(E)).next,F===0){if(Object(M)!==M)return;Ke=!1}else for(;!(Ke=(Y=ge.call(M)).done)&&(dt.push(Y.value),dt.length!==F);Ke=!0);}catch(Pn){et=!0,pe=Pn}finally{try{if(!Ke&&M.return!=null&&(Ze=M.return(),Object(Ze)!==Ze))return}finally{if(et)throw pe}}return dt}}function mu(E){if(Array.isArray(E))return E}function wt(E,F){if(!(E instanceof F))throw new TypeError("Cannot call a class as a function")}function hu(E,F){for(var M=0;M<F.length;M++){var Y=F[M];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(E,vu(Y.key),Y)}}function Dt(E,F,M){return F&&hu(E.prototype,F),M&&hu(E,M),Object.defineProperty(E,"prototype",{writable:!1}),E}function vu(E){var F=If(E,"string");return O(F)==="symbol"?F:String(F)}function If(E,F){if(O(E)!=="object"||E===null)return E;var M=E[Symbol.toPrimitive];if(M!==void 0){var Y=M.call(E,F||"default");if(O(Y)!=="object")return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(F==="string"?String:Number)(E)}function Ne(E,F){var M=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!M){if(Array.isArray(E)||(M=ba(E))||F&&E&&typeof E.length=="number"){M&&(E=M);var Y=0,pe=function(){};return{s:pe,n:function(){return Y>=E.length?{done:!0}:{done:!1,value:E[Y++]}},e:function(et){throw et},f:pe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ge=!0,Ze=!1,dt;return{s:function(){M=M.call(E)},n:function(){var et=M.next();return ge=et.done,et},e:function(et){Ze=!0,dt=et},f:function(){try{!ge&&M.return!=null&&M.return()}finally{if(Ze)throw dt}}}}function ba(E,F){if(!!E){if(typeof E=="string")return In(E,F);var M=Object.prototype.toString.call(E).slice(8,-1);if(M==="Object"&&E.constructor&&(M=E.constructor.name),M==="Map"||M==="Set")return Array.from(E);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return In(E,F)}}function In(E,F){(F==null||F>E.length)&&(F=E.length);for(var M=0,Y=new Array(F);M<F;M++)Y[M]=E[M];return Y}function O(E){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},O(E)}(function(){var E,F,M,Y,pe=Object.create,ge=Object.defineProperty,Ze=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,Ke=Object.getOwnPropertyNames,et=Object.getOwnPropertyDescriptor,Pn=function(t,r,a){return r in t?ge(t,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[r]=a},Pf=function(t){return ge(t,"__esModule",{value:!0})},k=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},ht=function(t,r){for(var a in r)ge(t,a,{get:r[a],enumerable:!0})},Nf=function(t,r,a){if(r&&O(r)==="object"||typeof r=="function"){var n=Ne(Ke(r)),i;try{var o=function(){var l=i.value;!dt.call(t,l)&&l!=="default"&&ge(t,l,{get:function(){return r[l]},enumerable:!(a=et(r,l))||a.enumerable})};for(n.s();!(i=n.n()).done;)o()}catch(u){n.e(u)}finally{n.f()}}return t},St=function(t){return Nf(Pf(ge(t!=null?pe(Ze(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:!0}:{value:t,enumerable:!0})),t)},gu=function(t,r,a){return Pn(t,O(r)!=="symbol"?r+"":r,a),a},bu=k(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var u=o.length,l="",s=0;s<u;){var c=o.charAt(s);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||s!==0&&c>="0"&&c<="9")l+=c;else{var d=c.charCodeAt(0);if((d&63488)===55296){var f=o.charCodeAt(s++);if((d&64512)!==55296||(f&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(f&1023)+65536}l+="\\"+d.toString(16)+" "}s++}return l}e.escapeIdentifier=n;function i(o){for(var u=o.length,l="",s=0,c;s<u;){var d=o.charAt(s);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),l+=d,s++}return'"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:` `,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:` `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}}),Lf=k(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=bu();function r(a,n,i,o,u,l){var s=a.length,c="";function d(v,D){var _="";for(n++,c=a.charAt(n);n<s;){if(c===v)return n++,_;if(c==="\\"){n++,c=a.charAt(n);var A=void 0;if(c===v)_+=v;else if((A=D[c])!==void 0)_+=A;else if(t.isHex(c)){var T=c;for(n++,c=a.charAt(n);t.isHex(c);)T+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),_+=String.fromCharCode(parseInt(T,16));continue}else _+=c}else _+=c;n++,c=a.charAt(n)}return _}function f(){var v="";for(c=a.charAt(n);n<s;){if(t.isIdent(c))v+=c;else if(c==="\\"){if(n++,n>=s)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])v+=c;else if(t.isHex(c)){var D=c;for(n++,c=a.charAt(n);t.isHex(c);)D+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),v+=String.fromCharCode(parseInt(D,16));continue}else v+=c}else return v;n++,c=a.charAt(n)}return v}function p(){c=a.charAt(n);for(var v=!1;c===" "||c===" "||c===` `||c==="\r"||c==="\f";)v=!0,n++,c=a.charAt(n);return v}function m(){var v=g();if(n<s)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return v}function g(){var v=b();if(!v)return null;var D=v;for(c=a.charAt(n);c===",";){if(n++,p(),D.type!=="selectors"&&(D={type:"selectors",selectors:[v]}),v=b(),!v)throw Error('Rule expected after ",".');D.selectors.push(v)}return D}function b(){p();var v={type:"ruleSet"},D=h();if(!D)return null;for(var _=v;D&&(D.type="rule",_.rule=D,_=D,p(),c=a.charAt(n),!(n>=s||c===","||c===")"));)if(u[c]){var A=c;if(n++,p(),D=h(),!D)throw Error('Rule expected after "'+A+'".');D.nestingOperator=A}else D=h(),D&&(D.nestingOperator=null);return v}function h(){for(var v=null;n<s;)if(c=a.charAt(n),c==="*")n++,(v=v||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(v=v||{}).tagName=f();else if(c===".")n++,v=v||{},(v.classNames=v.classNames||[]).push(f());else if(c==="#")n++,(v=v||{}).id=f();else if(c==="["){n++,p();var D={name:f()};if(p(),c==="]")n++;else{var _="";if(o[c]&&(_=c,n++,c=a.charAt(n)),n>=s)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');D.operator=_+"=",n++,p();var A="";if(D.valueType="string",c==='"')A=d('"',t.doubleQuotesEscapeChars);else if(c==="'")A=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,A=f(),D.valueType="substitute";else{for(;n<s&&c!=="]";)A+=c,n++,c=a.charAt(n);A=A.trim()}if(p(),n>=s)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,D.value=A}v=v||{},(v.attrs=v.attrs||[]).push(D)}else if(c===":"){n++;var T=f(),N={name:T};if(c==="("){n++;var B="";if(p(),i[T]==="selector")N.valueType="selector",B=g();else{if(N.valueType=i[T]||"string",c==='"')B=d('"',t.doubleQuotesEscapeChars);else if(c==="'")B=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,B=f(),N.valueType="substitute";else{for(;n<s&&c!==")";)B+=c,n++,c=a.charAt(n);B=B.trim()}p()}if(n>=s)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,N.value=B}v=v||{},(v.pseudos=v.pseudos||[]).push(N)}else break;return v}return m()}e.parseCssSelector=r}),Bf=k(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=bu();function r(a){var n="";switch(a.type){case"ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=a.selectors.map(r).join(", ");break;case"rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(u){return"."+t.escapeIdentifier(u)}).join("")),a.attrs&&(n+=a.attrs.map(function(u){return"operator"in u?u.valueType==="substitute"?"["+t.escapeIdentifier(u.name)+u.operator+"$"+u.value+"]":"["+t.escapeIdentifier(u.name)+u.operator+t.escapeStr(u.value)+"]":"["+t.escapeIdentifier(u.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(u){return u.valueType?u.valueType==="selector"?":"+t.escapeIdentifier(u.name)+"("+r(u.value)+")":u.valueType==="substitute"?":"+t.escapeIdentifier(u.name)+"($"+u.value+")":u.valueType==="numeric"?":"+t.escapeIdentifier(u.name)+"("+u.value+")":":"+t.escapeIdentifier(u.name)+"("+t.escapeIdentifier(u.value)+")":":"+t.escapeIdentifier(u.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r}),yu=k(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Lf(),r=Bf(),a=function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];this.pseudos[s]="selector"}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];delete this.pseudos[s]}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];this.pseudos[s]="numeric"}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];delete this.pseudos[s]}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];this.ruleNestingOperators[s]=!0}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];delete this.ruleNestingOperators[s]}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];this.attrEqualityMods[s]=!0}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var u=0,l=i;u<l.length;u++){var s=l[u];delete this.attrEqualityMods[s]}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n}();e.CssSelectorParser=a}),qf=k(function(e,t){t.exports=function(){}}),Zt=k(function(e,t){var r=qf()();t.exports=function(a){return a!==r&&a!==null}}),wu=k(function(e,t){var r=Zt(),a=Array.prototype.forEach,n=Object.create,i=function(u,l){var s;for(s in u)l[s]=u[s]};t.exports=function(o){var u=n(null);return a.call(arguments,function(l){!r(l)||i(Object(l),u)}),u}}),zf=k(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?!1:r(10)===1&&r(-20)===-1}}),Vf=k(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1}}),jf=k(function(e,t){t.exports=zf()()?Math.sign:Vf()}),Hf=k(function(e,t){var r=jf(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))}}),Kt=k(function(e,t){var r=Hf(),a=Math.max;t.exports=function(n){return a(0,r(n))}}),Du=k(function(e,t){var r=Kt();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===!1?!1:r(a)}}),Lt=k(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}),dr=k(function(e,t){var r=Zt();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a}}),$f=k(function(e,t){var r=Lt(),a=dr(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(l,s){return function(c,d){var f,p=arguments[2],m=arguments[3];return c=Object(a(c)),r(d),f=o(c),m&&f.sort(typeof m=="function"?n.call(m,c):void 0),typeof l!="function"&&(l=f[l]),i.call(l,f,function(g,b){return u.call(c,g)?i.call(d,p,c[g],g,c,b):s})}}}),ya=k(function(e,t){t.exports=$f()("forEach")}),Jt=k(function(){}),Uf=k(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?!1:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")}}),Gf=k(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),Wf=k(function(e,t){var r=Zt(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)}}),Yf=k(function(e,t){t.exports=Gf()()?Object.keys:Wf()}),Xf=k(function(e,t){var r=Yf(),a=dr(),n=Math.max;t.exports=function(i,o){var u,l,s=n(arguments.length,2),c;for(i=Object(a(i)),c=function(f){try{i[f]=o[f]}catch(p){u||(u=p)}},l=1;l<s;++l)o=arguments[l],r(o).forEach(c);if(u!==void 0)throw u;return i}}),_u=k(function(e,t){t.exports=Uf()()?Object.assign:Xf()}),Zf=k(function(e,t){var r=Zt(),a={function:!0,object:!0};t.exports=function(n){return r(n)&&a[O(n)]||!1}}),Kf=k(function(e,t){var r=_u(),a=Zf(),n=Zt(),i=Error.captureStackTrace;t.exports=function(o){var u=new Error(o),l=arguments[1],s=arguments[2];return n(s)||a(l)&&(s=l,l=null),n(s)&&r(u,s),n(l)&&(u.code=l),i&&i(u,t.exports),u}}),xu=k(function(e,t){var r=dr(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(u,l){var s,c=Object(r(l));if(u=Object(r(u)),i(c).forEach(function(d){try{a(u,d,n(l,d))}catch(f){s=f}}),typeof o=="function"&&o(c).forEach(function(d){try{a(u,d,n(l,d))}catch(f){s=f}}),s!==void 0)throw s;return u}}),Eu=k(function(e,t){var r=Kt(),a=function(s,c){return c},n,i,o,u;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}a.length===1?(n={configurable:!0,writable:!1,enumerable:!1},i=Object.defineProperty,t.exports=function(l,s){return s=r(s),l.length===s?l:(n.value=s,i(l,"length",n))}):(u=xu(),o=function(){var l=[];return function(s){var c,d=0;if(l[s])return l[s];for(c=[];s--;)c.push("a"+(++d).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}}(),t.exports=function(l,s){var c;if(s=r(s),l.length===s)return l;c=o(s)(l);try{u(c,l)}catch{}return c})}),Cu=k(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null}}),Jf=k(function(e,t){var r=Cu(),a={object:!0,function:!0,undefined:!0};t.exports=function(n){return r(n)?hasOwnProperty.call(a,O(n)):!1}}),Qf=k(function(e,t){var r=Jf();t.exports=function(a){if(!r(a))return!1;try{return a.constructor?a.constructor.prototype===a:!1}catch{return!1}}}),ep=k(function(e,t){var r=Qf();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return!1;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return!1}catch{return!1}return!r(a)}}),tp=k(function(e,t){var r=ep(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return!(!r(i)||a.test(n.call(i)))}}),rp=k(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?!1:r.contains("dwa")===!0&&r.contains("foo")===!1}}),ap=k(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1}}),np=k(function(e,t){t.exports=rp()()?String.prototype.contains:ap()}),Qt=k(function(e,t){var r=Cu(),a=tp(),n=_u(),i=wu(),o=np(),u=t.exports=function(l,s){var c,d,f,p,m;return arguments.length<2||typeof l!="string"?(p=s,s=l,l=null):p=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),f=o.call(l,"w")):(c=f=!0,d=!1),m={value:s,configurable:c,enumerable:d,writable:f},p?n(i(p),m):m};u.gs=function(l,s,c){var d,f,p,m;return typeof l!="string"?(p=c,c=s,s=l,l=null):p=arguments[3],r(s)?a(s)?r(c)?a(c)||(p=c,c=void 0):c=void 0:(p=s,s=c=void 0):s=void 0,r(l)?(d=o.call(l,"c"),f=o.call(l,"e")):(d=!0,f=!1),m={get:s,set:c,configurable:d,enumerable:f},p?n(i(p),m):m}}),ip=k(function(e,t){var r=Qt(),a=Lt(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,u=Object.defineProperty,l=Object.defineProperties,s=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d,f,p,m,g,b,h;d=function(D,_){var A;return a(_),s.call(this,"__ee__")?A=this.__ee__:(A=c.value=o(null),u(this,"__ee__",c),c.value=null),A[D]?O(A[D])==="object"?A[D].push(_):A[D]=[A[D],_]:A[D]=_,this},f=function(D,_){var A,T;return a(_),T=this,d.call(this,D,A=function(){p.call(T,D,A),n.call(_,this,arguments)}),A.__eeOnceListener__=_,this},p=function(D,_){var A,T,N,B;if(a(_),!s.call(this,"__ee__"))return this;if(A=this.__ee__,!A[D])return this;if(T=A[D],O(T)==="object")for(B=0;N=T[B];++B)(N===_||N.__eeOnceListener__===_)&&(T.length===2?A[D]=T[B?0:1]:T.splice(B,1));else(T===_||T.__eeOnceListener__===_)&&delete A[D];return this},m=function(D){var _,A,T,N,B;if(!!s.call(this,"__ee__")&&(N=this.__ee__[D],!!N))if(O(N)==="object"){for(A=arguments.length,B=new Array(A-1),_=1;_<A;++_)B[_-1]=arguments[_];for(N=N.slice(),_=0;T=N[_];++_)n.call(T,this,B)}else switch(arguments.length){case 1:i.call(N,this);break;case 2:i.call(N,this,arguments[1]);break;case 3:i.call(N,this,arguments[1],arguments[2]);break;default:for(A=arguments.length,B=new Array(A-1),_=1;_<A;++_)B[_-1]=arguments[_];n.call(N,this,B)}},g={on:d,once:f,off:p,emit:m},b={on:r(d),once:r(f),off:r(p),emit:r(m)},h=l({},b),t.exports=e=function(D){return D==null?o(h):l(Object(D),b)},e.methods=g}),op=k(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?!1:(a=["raz","dwa"],n=r(a),Boolean(n&&n!==a&&n[1]==="dwa"))}}),up=k(function(e,t){t.exports=function(){return(typeof globalThis>"u"?"undefined":O(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),lp=k(function(e,t){var r=function(){if((typeof self>"u"?"undefined":O(self))==="object"&&self)return self;if((typeof w>"u"?"undefined":O(w))==="object"&&w)return w;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()}),wa=k(function(e,t){t.exports=up()()?globalThis:lp()}),sp=k(function(e,t){var r=wa(),a={object:!0,symbol:!0};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return!1;i=n("test symbol");try{String(i)}catch{return!1}return!(!a[O(n.iterator)]||!a[O(n.toPrimitive)]||!a[O(n.toStringTag)])}}),cp=k(function(e,t){t.exports=function(r){return r?O(r)==="symbol"?!0:!r.constructor||r.constructor.name!=="Symbol"?!1:r[r.constructor.toStringTag]==="Symbol":!1}}),Au=k(function(e,t){var r=cp();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a}}),dp=k(function(e,t){var r=Qt(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(u){for(var l=0,s,c;o[u+(l||"")];)++l;return u+=l||"",o[u]=!0,s="@@"+u,n(i,s,r.gs(null,function(d){c||(c=!0,n(this,s,r(d)),c=!1)})),s}}),fp=k(function(e,t){var r=Qt(),a=wa().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})}}),pp=k(function(e,t){var r=Qt(),a=Au(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var u;a(o);for(u in n)if(n[u]===o)return u})})}}),mp=k(function(e,t){var r=Qt(),a=Au(),n=wa().Symbol,i=dp(),o=fp(),u=pp(),l=Object.create,s=Object.defineProperties,c=Object.defineProperty,d,f,p;if(typeof n=="function")try{String(n()),p=!0}catch{}else n=null;f=function(g){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(g)},t.exports=d=function m(g){var b;if(this instanceof m)throw new TypeError("Symbol is not a constructor");return p?n(g):(b=l(f.prototype),g=g===void 0?"":String(g),s(b,{__description__:r("",g),__name__:r("",i(g))}))},o(d),u(d),s(f.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),s(d.prototype,{toString:r(function(){return"Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var m=a(this);return O(m)==="symbol"?m:m.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(f.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(f.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]))}),hp=k(function(e,t){t.exports=sp()()?wa().Symbol:mp()}),vp=k(function(e,t){var r=Object.prototype.toString,a=r.call(function(){return arguments}());t.exports=function(n){return r.call(n)===a}}),gp=k(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))}}),bp=k(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&O(n)==="object"&&(n instanceof String||r.call(n)===a)||!1}}),yp=k(function(e,t){var r=hp().iterator,a=vp(),n=gp(),i=Kt(),o=Lt(),u=dr(),l=Zt(),s=bp(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(m){var g=arguments[1],b=arguments[2],h,v,D,_,A,T,N,B,J,X;if(m=Object(u(m)),l(g)&&o(g),!this||this===Array||!n(this)){if(!g){if(a(m))return A=m.length,A!==1?Array.apply(null,m):(_=new Array(1),_[0]=m[0],_);if(c(m)){for(_=new Array(A=m.length),v=0;v<A;++v)_[v]=m[v];return _}}_=[]}else h=this;if(!c(m)){if((J=m[r])!==void 0){for(N=o(J).call(m),h&&(_=new h),B=N.next(),v=0;!B.done;)X=g?d.call(g,b,B.value,v):B.value,h?(f.value=X,p(_,v,f)):_[v]=X,B=N.next(),++v;A=v}else if(s(m)){for(A=m.length,h&&(_=new h),v=0,D=0;v<A;++v)X=m[v],v+1<A&&(T=X.charCodeAt(0),T>=55296&&T<=56319&&(X+=m[++v])),X=g?d.call(g,b,X,D):X,h?(f.value=X,p(_,D,f)):_[D]=X,++D;A=D}}if(A===void 0)for(A=i(m.length),h&&(_=new h(A)),v=0;v<A;++v)X=g?d.call(g,b,m[v],v):m[v],h?(f.value=X,p(_,v,f)):_[v]=X;return h&&(f.value=null,_.length=A),_}}),Nn=k(function(e,t){t.exports=op()()?Array.from:yp()}),wp=k(function(e,t){var r=Nn(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)}}),Dp=k(function(e,t){var r=wp(),a=Zt(),n=Lt(),i=Array.prototype.slice,o;o=function(l){return this.map(function(s,c){return s?s(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(u){return u=r(u),u.forEach(function(l){a(l)&&n(l)}),o.bind(u)}}),_p=k(function(e,t){var r=Lt();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))}}),xp=k(function(e,t){var r=Kf(),a=Eu(),n=Qt(),i=ip().methods,o=Dp(),u=_p(),l=Function.prototype.apply,s=Function.prototype.call,c=Object.create,d=Object.defineProperties,f=i.on,p=i.emit;t.exports=function(m,g,b){var h=c(null),v,D,_,A,T,N,B,J,X,j,z,H,Q,te,K;return g!==!1?D=g:isNaN(m.length)?D=1:D=m.length,b.normalizer&&(j=u(b.normalizer),_=j.get,A=j.set,T=j.delete,N=j.clear),b.resolvers!=null&&(K=o(b.resolvers)),_?te=a(function(U){var L,re,x=arguments;if(K&&(x=K(x)),L=_(x),L!==null&&hasOwnProperty.call(h,L))return z&&v.emit("get",L,x,this),h[L];if(x.length===1?re=s.call(m,this,x[0]):re=l.call(m,this,x),L===null){if(L=_(x),L!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");L=A(x)}else if(hasOwnProperty.call(h,L))throw r("Circular invocation","CIRCULAR_INVOCATION");return h[L]=re,H&&v.emit("set",L,null,re),re},D):g===0?te=function(){var L;if(hasOwnProperty.call(h,"data"))return z&&v.emit("get","data",arguments,this),h.data;if(arguments.length?L=l.call(m,this,arguments):L=s.call(m,this),hasOwnProperty.call(h,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return h.data=L,H&&v.emit("set","data",null,L),L}:te=function(L){var re,x=arguments,$;if(K&&(x=K(arguments)),$=String(x[0]),hasOwnProperty.call(h,$))return z&&v.emit("get",$,x,this),h[$];if(x.length===1?re=s.call(m,this,x[0]):re=l.call(m,this,x),hasOwnProperty.call(h,$))throw r("Circular invocation","CIRCULAR_INVOCATION");return h[$]=re,H&&v.emit("set",$,null,re),re},v={original:m,memoized:te,profileName:b.profileName,get:function(L){return K&&(L=K(L)),_?_(L):String(L[0])},has:function(L){return hasOwnProperty.call(h,L)},delete:function(L){var re;!hasOwnProperty.call(h,L)||(T&&T(L),re=h[L],delete h[L],Q&&v.emit("delete",L,re))},clear:function(){var L=h;N&&N(),h=c(null),v.emit("clear",L)},on:function(L,re){return L==="get"?z=!0:L==="set"?H=!0:L==="delete"&&(Q=!0),f.call(this,L,re)},emit:p,updateEnv:function(){m=v.original}},_?B=a(function(U){var L,re=arguments;K&&(re=K(re)),L=_(re),L!==null&&v.delete(L)},D):g===0?B=function(){return v.delete("data")}:B=function(L){return K&&(L=K(arguments)[0]),v.delete(L)},J=a(function(){var U,L=arguments;return g===0?h.data:(K&&(L=K(L)),_?U=_(L):U=String(L[0]),h[U])}),X=a(function(){var U,L=arguments;return g===0?v.has("data"):(K&&(L=K(L)),_?U=_(L):U=String(L[0]),U===null?!1:v.has(U))}),d(te,{__memoized__:n(!0),delete:n(B),clear:n(v.clear),_get:n(J),_has:n(X)}),v}}),Ep=k(function(e,t){var r=Lt(),a=ya(),n=Jt(),i=xp(),o=Du();t.exports=function u(l){var s,c,d;if(r(l),s=Object(arguments[1]),s.async&&s.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!s.force?l:(c=o(s.length,l.length,s.async&&n.async),d=i(l,c,s),a(n,function(f,p){s[p]&&f(s[p],d,s)}),u.__profiler__&&u.__profiler__(d),d.updateEnv(),d.memoized)}}),Cp=k(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return"";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a}}),Ap=k(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return""}}}),Fp=k(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?!1:!r({})&&r(NaN)&&!r(34)}}),Tp=k(function(e,t){t.exports=function(r){return r!==r}}),kp=k(function(e,t){t.exports=Fp()()?Number.isNaN:Tp()}),Ln=k(function(e,t){var r=kp(),a=Kt(),n=dr(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,u=Math.abs,l=Math.floor;t.exports=function(s){var c,d,f,p;if(!r(s))return i.apply(this,arguments);for(d=a(n(this).length),f=arguments[1],isNaN(f)?f=0:f>=0?f=l(f):f=a(this.length)-l(u(f)),c=f;c<d;++c)if(o.call(this,c)&&(p=this[c],r(p)))return c;return-1}}),Rp=k(function(e,t){var r=Ln(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return{get:function(l){var s=0,c=i,d,f=l.length;if(f===0)return c[f]||null;if(c=c[f]){for(;s<f-1;){if(d=r.call(c[0],l[s]),d===-1)return null;c=c[1][d],++s}return d=r.call(c[0],l[s]),d===-1?null:c[1][d]||null}return null},set:function(l){var s=0,c=i,d,f=l.length;if(f===0)c[f]=++n;else{for(c[f]||(c[f]=[[],[]]),c=c[f];s<f-1;)d=r.call(c[0],l[s]),d===-1&&(d=c[0].push(l[s])-1,c[1].push([[],[]])),c=c[1][d],++s;d=r.call(c[0],l[s]),d===-1&&(d=c[0].push(l[s])-1),c[1][d]=++n}return o[n]=l,n},delete:function(l){var s=0,c=i,d,f=o[l],p=f.length,m=[];if(p===0)delete c[p];else if(c=c[p]){for(;s<p-1;){if(d=r.call(c[0],f[s]),d===-1)return;m.push(c,d),c=c[1][d],++s}if(d=r.call(c[0],f[s]),d===-1)return;for(l=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&m.length;)d=m.pop(),c=m.pop(),c[0].splice(d,1),c[1].splice(d,1)}delete o[l]},clear:function(){i=[],o=a(null)}}}}),Sp=k(function(e,t){var r=Ln();t.exports=function(){var a=0,n=[],i=[];return{get:function(u){var l=r.call(n,u[0]);return l===-1?null:i[l]},set:function(u){return n.push(u[0]),i.push(++a),a},delete:function(u){var l=r.call(i,u);l!==-1&&(n.splice(l,1),i.splice(l,1))},clear:function(){n=[],i=[]}}}}),Op=k(function(e,t){var r=Ln(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],u=a(null);return{get:function(s){for(var c=0,d=o,f;c<n-1;){if(f=r.call(d[0],s[c]),f===-1)return null;d=d[1][f],++c}return f=r.call(d[0],s[c]),f===-1?null:d[1][f]||null},set:function(s){for(var c=0,d=o,f;c<n-1;)f=r.call(d[0],s[c]),f===-1&&(f=d[0].push(s[c])-1,d[1].push([[],[]])),d=d[1][f],++c;return f=r.call(d[0],s[c]),f===-1&&(f=d[0].push(s[c])-1),d[1][f]=++i,u[i]=s,i},delete:function(s){for(var c=0,d=o,f,p=[],m=u[s];c<n-1;){if(f=r.call(d[0],m[c]),f===-1)return;p.push(d,f),d=d[1][f],++c}if(f=r.call(d[0],m[c]),f!==-1){for(s=d[1][f],d[0].splice(f,1),d[1].splice(f,1);!d[0].length&&p.length;)f=p.pop(),d=p.pop(),d[0].splice(f,1),d[1].splice(f,1);delete u[s]}},clear:function(){o=[[],[]],u=a(null)}}}}),Fu=k(function(e,t){var r=Lt(),a=ya(),n=Function.prototype.call;t.exports=function(i,o){var u={},l=arguments[2];return r(o),a(i,function(s,c,d,f){u[c]=n.call(o,l,s,c,d,f)}),u}}),Bn=k(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=S.createTextNode(""),u,l,s=0;return new i(function(){var c;if(u)l&&(u=l.concat(u));else{if(!l)return;u=l}if(l=u,u=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=s=++s%2;l;)c=l.shift(),l.length||(l=null),c()}).observe(o,{characterData:!0}),function(c){if(r(c),u){typeof u=="function"?u=[u,c]:u.push(c);return}u=c,o.data=s=++s%2}};t.exports=function(){if((typeof process>"u"?"undefined":O(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n))};if((typeof S>"u"?"undefined":O(S))==="object"&&S){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n))}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":O(setTimeout))==="object"?function(n){setTimeout(r(n),0)}:null}()}),Mp=k(function(){var e=Nn(),t=Fu(),r=xu(),a=Eu(),n=Bn(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;Jt().async=function(l,s){var c=u(null),d=u(null),f=s.memoized,p=s.original,m,g,b;s.memoized=a(function(h){var v=arguments,D=v[v.length-1];return typeof D=="function"&&(m=D,v=i.call(v,0,-1)),f.apply(g=this,b=v)},f);try{r(s.memoized,f)}catch{}s.on("get",function(h){var v,D,_;if(!!m){if(c[h]){typeof c[h]=="function"?c[h]=[c[h],m]:c[h].push(m),m=null;return}v=m,D=g,_=b,m=g=b=null,n(function(){var A;hasOwnProperty.call(d,h)?(A=d[h],s.emit("getasync",h,_,D),o.call(v,A.context,A.args)):(m=v,g=D,b=_,f.apply(D,_))})}}),s.original=function(){var h,v,D,_;return m?(h=e(arguments),v=function A(T){var N,B,J=A.id;if(J==null){n(o.bind(A,this,arguments));return}if(delete A.id,N=c[J],delete c[J],!!N)return B=e(arguments),s.has(J)&&(T?s.delete(J):(d[J]={context:this,args:B},s.emit("setasync",J,typeof N=="function"?1:N.length))),typeof N=="function"?_=o.call(N,this,B):N.forEach(function(X){_=o.call(X,this,B)},this),_},D=m,m=g=b=null,h.push(v),_=o.call(p,this,h),v.cb=D,m=v,_):o.call(p,this,arguments)},s.on("set",function(h){if(!m){s.delete(h);return}c[h]?typeof c[h]=="function"?c[h]=[c[h],m.cb]:c[h].push(m.cb):c[h]=m.cb,delete m.cb,m.id=h,m=null}),s.on("delete",function(h){var v;hasOwnProperty.call(c,h)||!d[h]||(v=d[h],delete d[h],s.emit("deleteasync",h,i.call(v.args,1)))}),s.on("clear",function(){var h=d;d=u(null),s.emit("clearasync",t(h,function(v){return i.call(v.args,1)}))})}}),Ip=k(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=!0}),i}}),Tu=k(function(e,t){t.exports=function(r){return typeof r=="function"}}),Pp=k(function(e,t){var r=Tu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),Np=k(function(e,t){var r=dr(),a=Pp();t.exports=function(n){return a(r(n))}}),Lp=k(function(e,t){var r=Tu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return"<Non-coercible to string value>"}}}),Bp=k(function(e,t){var r=Lp(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i}}),ku=k(function(e,t){t.exports=r,t.exports.default=r;function r(a){return!!a&&(O(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),qp=k(function(){var e=Fu(),t=Ip(),r=Np(),a=Bp(),n=ku(),i=Bn(),o=Object.create,u=t("then","then:finally","done","done:finally");Jt().promise=function(l,s){var c=o(null),d=o(null),f=o(null);if(l===!0)l=null;else if(l=r(l),!u[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");s.on("set",function(p,m,g){var b=!1;if(!n(g)){d[p]=g,s.emit("setasync",p,1);return}c[p]=1,f[p]=g;var h=function(T){var N=c[p];if(b)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode) Consider to rely on 'then' or 'done' mode instead.`);!N||(delete c[p],d[p]=T,s.emit("setasync",p,N))},v=function(){b=!0,c[p]&&(delete c[p],delete f[p],s.delete(p))},D=l;if(D||(D="then"),D==="then"){var _=function(){i(v)};g=g.then(function(A){i(h.bind(this,A))},_),typeof g.finally=="function"&&g.finally(_)}else if(D==="done"){if(typeof g.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");g.done(h,v)}else if(D==="done:finally"){if(typeof g.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof g.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");g.done(h),g.finally(v)}}),s.on("get",function(p,m,g){var b;if(c[p]){++c[p];return}b=f[p];var h=function(){s.emit("getasync",p,m,g)};n(b)?typeof b.done=="function"?b.done(h):b.then(function(){i(h)}):h()}),s.on("delete",function(p){if(delete f[p],c[p]){delete c[p];return}if(!!hasOwnProperty.call(d,p)){var m=d[p];delete d[p],s.emit("deleteasync",p,[m])}}),s.on("clear",function(){var p=d;d=o(null),c=o(null),f=o(null),s.emit("clearasync",e(p,function(m){return[m]}))})}}),zp=k(function(){var e=Lt(),t=ya(),r=Jt(),a=Function.prototype.apply;r.dispose=function(n,i,o){var u;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",u=function(s,c){a.call(n,null,c)}),i.on("clearasync",function(l){t(l,function(s,c){u(c,s)})});return}i.on("delete",u=function(s,c){n(c)}),i.on("clear",function(l){t(l,function(s,c){u(c,s)})})}}),Vp=k(function(e,t){t.exports=2147483647}),jp=k(function(e,t){var r=Kt(),a=Vp();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n}}),Hp=k(function(){var e=Nn(),t=ya(),r=Bn(),a=ku(),n=jp(),i=Jt(),o=Function.prototype,u=Math.max,l=Math.min,s=Object.create;i.maxAge=function(c,d,f){var p,m,g,b;c=n(c),c&&(p=s(null),m=f.async&&i.async||f.promise&&i.promise?"async":"",d.on("set"+m,function(h){p[h]=setTimeout(function(){d.delete(h)},c),typeof p[h].unref=="function"&&p[h].unref(),b&&(b[h]&&b[h]!=="nextTick"&&clearTimeout(b[h]),b[h]=setTimeout(function(){delete b[h]},g),typeof b[h].unref=="function"&&b[h].unref())}),d.on("delete"+m,function(h){clearTimeout(p[h]),delete p[h],b&&(b[h]!=="nextTick"&&clearTimeout(b[h]),delete b[h])}),f.preFetch&&(f.preFetch===!0||isNaN(f.preFetch)?g=.333:g=u(l(Number(f.preFetch),1),0),g&&(b={},g=(1-g)*c,d.on("get"+m,function(h,v,D){b[h]||(b[h]="nextTick",r(function(){var _;b[h]==="nextTick"&&(delete b[h],d.delete(h),f.async&&(v=e(v),v.push(o)),_=d.memoized.apply(D,v),f.promise&&a(_)&&(typeof _.done=="function"?_.done(o,o):_.then(o,o)))}))}))),d.on("clear"+m,function(){t(p,function(h){clearTimeout(h)}),p={},b&&(t(b,function(h){h!=="nextTick"&&clearTimeout(h)}),b={})}))}}),$p=k(function(e,t){var r=Kt(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,u=1,l=a(null),s=a(null),c=0,d;return i=r(i),{hit:function(p){var m=s[p],g=++c;if(l[g]=p,s[p]=g,!m)return++o,o<=i?void 0:(p=l[u],d(p),p);if(delete l[m],u===m)for(;!n.call(l,++u););},delete:d=function(p){var m=s[p];if(!!m&&(delete l[m],delete s[p],--o,u===m)){if(!o){c=0,u=1;return}for(;!n.call(l,++u););}},clear:function(){o=0,u=1,l=a(null),s=a(null),c=0}}}}),Up=k(function(){var e=Kt(),t=$p(),r=Jt();r.max=function(a,n,i){var o,u,l;a=e(a),a&&(u=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=u.hit(c),c!==void 0&&n.delete(c)}),n.on("get"+o,l),n.on("delete"+o,u.delete),n.on("clear"+o,u.clear))}}),Gp=k(function(){var e=Qt(),t=Jt(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var u,l;u=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(s,c){u[s]=c||1}),i.on("get"+l,function(s){++u[s]}),i.on("delete"+l,function(s){delete u[s]}),i.on("clear"+l,function(){u={}}),a(i.memoized,{deleteRef:e(function(){var s=i.get(arguments);return s===null||!u[s]?null:--u[s]?!1:(i.delete(s),!0)}),getRefCount:e(function(){var s=i.get(arguments);return s===null||!u[s]?0:u[s]})})}}),Ru=k(function(e,t){var r=wu(),a=Du(),n=Ep();t.exports=function(i){var o=r(arguments[1]),u;return o.normalizer||(u=o.length=a(o.length,i.length,o.async),u!==0&&(o.primitive?u===!1?o.normalizer=Cp():u>1&&(o.normalizer=Ap()(u)):u===!1?o.normalizer=Rp()():u===1?o.normalizer=Sp()():o.normalizer=Op()(u))),o.async&&Mp(),o.promise&&qp(),o.dispose&&zp(),o.maxAge&&Hp(),o.max&&Up(),o.refCounter&&Gp(),n(i,o)}}),Su=k(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};(function(){if((typeof globalThis>"u"?"undefined":O(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{w.globalThis=function(){if(typeof self<"u")return self;if(typeof w<"u")return w;if(typeof ct<"u")return ct;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")}()}})(),r.encodeHTMLSource=function(u){var l={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},s=u?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(s,function(d){return l[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(u,l,s){return(typeof l=="string"?l:l.toString()).replace(u.define||n,function(c,d,f,p){return d.indexOf("def.")===0&&(d=d.substring(4)),d in s||(f===":"?(u.defineParams&&p.replace(u.defineParams,function(m,g,b){s[d]={arg:g,text:b}}),d in s||(s[d]=p)):new Function("def","def['"+d+"']="+p)(s)),""}).replace(u.use||n,function(c,d){u.useParams&&(d=d.replace(u.useParams,function(p,m,g,b){if(s[g]&&s[g].arg&&b){var h=(g+":"+b).replace(/'|\\/g,"_");return s.__exp=s.__exp||{},s.__exp[h]=s[g].text.replace(new RegExp("(^|[^\\w$])"+s[g].arg+"([^\\w$])","g"),"$1"+b+"$2"),m+"def.__exp['"+h+"']"}}));var f=new Function("def","return "+d)(s);return f&&i(u,f,s)})}function o(u){return u.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(u,l,s){l=l||r.templateSettings;var c=l.append?a.append:a.split,d,f=0,p,m=l.use||l.define?i(l,u,s||{}):u;m=("var out='"+(l.strip?m.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):m).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(g,b){return c.start+o(b)+c.end}).replace(l.encode||n,function(g,b){return d=!0,c.startencode+o(b)+c.end}).replace(l.conditional||n,function(g,b,h){return b?h?"';}else if("+o(h)+"){out+='":"';}else{out+='":h?"';if("+o(h)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(g,b,h,v){return b?(f+=1,p=v||"i"+f,b=o(b),"';var arr"+f+"="+b+";if(arr"+f+"){var "+h+","+p+"=-1,l"+f+"=arr"+f+".length-1;while("+p+"<l"+f+"){"+h+"=arr"+f+"["+p+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(g,b){return"';"+o(b)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),m="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+m);try{return new Function(l.varname,m)}catch(g){throw typeof console<"u"&&console.log("Could not create a template function: "+m),g}},r.compile=function(u,l){return r.template(u,null,l)}})()}),Wp=k(function(e,t){(function(r,a){O(e)==="object"&&typeof t<"u"?t.exports=a():r.ES6Promise=a()})(e,function(){function r(C){var R=O(C);return C!==null&&(R==="object"||R==="function")}function a(C){return typeof C=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(R){return Object.prototype.toString.call(R)==="[object Array]"};var i=n,o=0,u=void 0,l=void 0,s=function(R,P){T[o]=R,T[o+1]=P,o+=2,o===2&&(l?l(N):J())};function c(C){l=C}function d(C){s=C}var f=typeof w<"u"?w:void 0,p=f||{},m=p.MutationObserver||p.WebKitMutationObserver,g=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function h(){return function(){return process.nextTick(N)}}function v(){return typeof u<"u"?function(){u(N)}:A()}function D(){var C=0,R=new m(N),P=S.createTextNode("");return R.observe(P,{characterData:!0}),function(){P.data=C=++C%2}}function _(){var C=new MessageChannel;return C.port1.onmessage=N,function(){return C.port2.postMessage(0)}}function A(){var C=setTimeout;return function(){return C(N,1)}}var T=new Array(1e3);function N(){for(var C=0;C<o;C+=2){var R=T[C],P=T[C+1];R(P),T[C]=void 0,T[C+1]=void 0}o=0}function B(){try{var C=Function("return this")().require("vertx");return u=C.runOnLoop||C.runOnContext,v()}catch{return A()}}var J=void 0;g?J=h():m?J=D():b?J=_():f===void 0?J=B():J=A();function X(C,R){var P=this,G=new this.constructor(H);G[z]===void 0&&Ee(G);var ne=P._state;if(ne){var ce=arguments[ne-1];s(function(){return _e(ne,G,ce,P._result)})}else he(P,G,C,R);return G}function j(C){var R=this;if(C&&O(C)==="object"&&C.constructor===R)return C;var P=new R(H);return Z(P,C),P}var z=Math.random().toString(36).substring(2);function H(){}var Q=void 0,te=1,K=2;function U(){return new TypeError("You cannot resolve a promise with itself")}function L(){return new TypeError("A promises callback cannot return that same promise.")}function re(C,R,P,G){try{C.call(R,P,G)}catch(ne){return ne}}function x(C,R,P){s(function(G){var ne=!1,ce=re(P,R,function(ze){n