/* @preserve THIS IS A GENERATED/BUNDLED FILE BY ROLLUP if you want to view the source visit the plugins github repository */ "use strict";var t=require("obsidian");function e(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var n=e(require("@codemirror/state"));function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i0&&u[0]<4?1:+(u[0]+u[1])),!c&&W&&(!(u=W.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=W.match(/Chrome\/(\d+)/))&&(c=+u[1]);var X=c,K=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&X&&X<41})),Q=K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,tt=Q?function(t){return"symbol"==typeof t}:function(t){var e=H("Symbol");return U(e)&&G(e.prototype,J(t))},et=String,nt=function(t){try{return et(t)}catch(t){return"Object"}},rt=TypeError,it=function(t){if(U(t))return t;throw rt(nt(t)+" is not a function")},at=function(t,e){var n=t[e];return N(n)?void 0:it(n)},ot=TypeError,st=function(t,e){var n,r;if("string"===e&&U(n=t.toString)&&!j(r=g(n,t)))return r;if(U(n=t.valueOf)&&!j(r=g(n,t)))return r;if("string"!==e&&U(n=t.toString)&&!j(r=g(n,t)))return r;throw ot("Can't convert object to primitive value")},ut=!1,ct=Object.defineProperty,lt=function(t,e){try{ct(h,t,{value:e,configurable:!0,writable:!0})}catch(n){h[t]=e}return e},ht="__core-js_shared__",ft=h[ht]||lt(ht,{}),dt=o((function(t){(t.exports=function(t,e){return ft[t]||(ft[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),pt=Object,mt=function(t){return pt(R(t))},gt=C({}.hasOwnProperty),vt=Object.hasOwn||function(t,e){return gt(mt(t),e)},Dt=0,yt=Math.random(),Et=C(1..toString),bt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Et(++Dt+yt,36)},wt=dt("wks"),_t=h.Symbol,Tt=_t&&_t.for,Ct=Q?_t:_t&&_t.withoutSetter||bt,At=function(t){if(!vt(wt,t)||!K&&"string"!=typeof wt[t]){var e="Symbol."+t;K&&vt(_t,t)?wt[t]=_t[t]:wt[t]=Q&&Tt?Tt(e):Ct(e)}return wt[t]},xt=TypeError,St=At("toPrimitive"),kt=function(t,e){if(!j(t)||tt(t))return t;var n,r=at(t,St);if(r){if(void 0===e&&(e="default"),n=g(r,t,e),!j(n)||tt(n))return n;throw xt("Can't convert object to primitive value")}return void 0===e&&(e="number"),st(t,e)},Ft=function(t){var e=kt(t,"string");return tt(e)?e:e+""},It=h.document,Nt=j(It)&&j(It.createElement),Ot=function(t){return Nt?It.createElement(t):{}},Rt=!d&&!f((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),Lt=Object.getOwnPropertyDescriptor,Bt=d?Lt:function(t,e){if(t=L(t),e=Ft(e),Rt)try{return Lt(t,e)}catch(t){}if(vt(t,e))return b(!g(E.f,t,e),t[e])},Mt={f:Bt},Pt=d&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ut=String,zt=TypeError,jt=function(t){if(j(t))return t;throw zt(Ut(t)+" is not an object")},qt=TypeError,Ht=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Wt="enumerable",Vt="configurable",Yt="writable",Zt=d?Pt?function(t,e,n){if(jt(t),e=Ft(e),jt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Yt in n&&!n[Yt]){var r=Gt(t,e);r&&r[Yt]&&(t[e]=n.value,n={configurable:Vt in n?n[Vt]:r[Vt],enumerable:Wt in n?n[Wt]:r[Wt],writable:!1})}return Ht(t,e,n)}:Ht:function(t,e,n){if(jt(t),e=Ft(e),jt(n),Rt)try{return Ht(t,e,n)}catch(t){}if("get"in n||"set"in n)throw qt("Accessors not supported");return"value"in n&&(t[e]=n.value),t},$t={f:Zt},Xt=d?function(t,e,n){return $t.f(t,e,b(1,n))}:function(t,e,n){return t[e]=n,t},Kt=Function.prototype,Qt=d&&Object.getOwnPropertyDescriptor,Jt=vt(Kt,"name"),te={EXISTS:Jt,PROPER:Jt&&"something"===function(){}.name,CONFIGURABLE:Jt&&(!d||d&&Qt(Kt,"name").configurable)},ee=C(Function.toString);U(ft.inspectSource)||(ft.inspectSource=function(t){return ee(t)});var ne,re,ie,ae=ft.inspectSource,oe=h.WeakMap,se=U(oe)&&/native code/.test(String(oe)),ue=dt("keys"),ce=function(t){return ue[t]||(ue[t]=bt(t))},le={},he="Object already initialized",fe=h.TypeError,de=h.WeakMap;if(se||ft.state){var pe=ft.state||(ft.state=new de);pe.get=pe.get,pe.has=pe.has,pe.set=pe.set,ne=function(t,e){if(pe.has(t))throw fe(he);return e.facade=t,pe.set(t,e),e},re=function(t){return pe.get(t)||{}},ie=function(t){return pe.has(t)}}else{var me=ce("state");le[me]=!0,ne=function(t,e){if(vt(t,me))throw fe(he);return e.facade=t,Xt(t,me,e),e},re=function(t){return vt(t,me)?t[me]:{}},ie=function(t){return vt(t,me)}}var ge={set:ne,get:re,has:ie,enforce:function(t){return ie(t)?re(t):ne(t,{})},getterFor:function(t){return function(e){var n;if(!j(e)||(n=re(e)).type!==t)throw fe("Incompatible receiver, "+t+" required");return n}}},ve=o((function(t){var e=te.CONFIGURABLE,n=ge.enforce,r=ge.get,i=Object.defineProperty,a=d&&!f((function(){return 8!==i((function(){}),"length",{value:8}).length})),o=String(String).split("String"),s=t.exports=function(t,r,s){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!vt(t,"name")||e&&t.name!==r)&&(d?i(t,"name",{value:r,configurable:!0}):t.name=r),a&&s&&vt(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&vt(s,"constructor")&&s.constructor?d&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=n(t);return vt(u,"source")||(u.source=o.join("string"==typeof r?r:"")),t};Function.prototype.toString=s((function(){return U(this)&&r(this).source||ae(this)}),"toString")})),De=function(t,e,n,r){r||(r={});var i=r.enumerable,a=void 0!==r.name?r.name:e;if(U(n)&&ve(n,a,r),r.global)i?t[e]=n:lt(e,n);else{try{r.unsafe?t[e]&&(i=!0):delete t[e]}catch(t){}i?t[e]=n:$t.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ye=Math.ceil,Ee=Math.floor,be=Math.trunc||function(t){var e=+t;return(e>0?Ee:ye)(e)},we=function(t){var e=+t;return e!=e||0===e?0:be(e)},_e=Math.max,Te=Math.min,Ce=function(t,e){var n=we(t);return n<0?_e(n+e,0):Te(n,e)},Ae=Math.min,xe=function(t){return t>0?Ae(we(t),9007199254740991):0},Se=function(t){return xe(t.length)},ke=function(t){return function(e,n,r){var i,a=L(e),o=Se(a),s=Ce(r,o);if(t&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}},Fe={includes:ke(!0),indexOf:ke(!1)},Ie=Fe.indexOf,Ne=C([].push),Oe=function(t,e){var n,r=L(t),i=0,a=[];for(n in r)!vt(le,n)&&vt(r,n)&&Ne(a,n);for(;e.length>i;)vt(r,n=e[i++])&&(~Ie(a,n)||Ne(a,n));return a},Re=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Le=Re.concat("length","prototype"),Be=Object.getOwnPropertyNames||function(t){return Oe(t,Le)},Me={f:Be},Pe={f:Object.getOwnPropertySymbols},Ue=C([].concat),ze=H("Reflect","ownKeys")||function(t){var e=Me.f(jt(t)),n=Pe.f;return n?Ue(e,n(t)):e},je=function(t,e,n){for(var r=ze(e),i=$t.f,a=Mt.f,o=0;oo;)$t.f(t,n=i[o++],r[n]);return t},cn={f:un},ln=H("document","documentElement"),hn="prototype",fn="script",dn=ce("IE_PROTO"),pn=function(){},mn=function(t){return"<"+fn+">"+t+""},gn=function(t){t.write(mn("")),t.close();var e=t.parentWindow.Object;return t=null,e},vn=function(){try{Qe=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;vn="undefined"!=typeof document?document.domain&&Qe?gn(Qe):(e=Ot("iframe"),n="java"+fn+":",e.style.display="none",ln.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(mn("document.F=Object")),t.close(),t.F):gn(Qe);for(var r=Re.length;r--;)delete vn[hn][Re[r]];return vn()};le[dn]=!0;var Dn=Object.create||function(t,e){var n;return null!==t?(pn[hn]=jt(t),n=new pn,pn[hn]=null,n[dn]=t):n=vn(),void 0===e?n:cn.f(n,e)},yn=function(t,e,n){var r=Ft(e);r in t?$t.f(t,r,b(0,n)):t[r]=n},En=Array,bn=Math.max,wn=function(t,e,n){for(var r=Se(t),i=Ce(e,r),a=Ce(void 0===n?r:n,r),o=En(bn(a-i,0)),s=0;iD;D++)if((s||D in m)&&(d=g(f=m[D],D,p),t))if(e)E[D]=d;else if(d)switch(t){case 3:return!0;case 5:return f;case 6:return D;case 2:Xn(E,f)}else switch(t){case 4:return!1;case 7:Xn(E,f)}return a?-1:r||i?i:E}},Qn={forEach:Kn(0),map:Kn(1),filter:Kn(2),some:Kn(3),every:Kn(4),find:Kn(5),findIndex:Kn(6),filterReject:Kn(7)},Jn=Qn.forEach,tr=ce("hidden"),er="Symbol",nr="prototype",rr=ge.set,ir=ge.getterFor(er),ar=Object[nr],or=h.Symbol,sr=or&&or[nr],ur=h.TypeError,cr=h.QObject,lr=Mt.f,hr=$t.f,fr=Cn.f,dr=E.f,pr=C([].push),mr=dt("symbols"),gr=dt("op-symbols"),vr=dt("wks"),Dr=!cr||!cr[nr]||!cr[nr].findChild,yr=d&&f((function(){return 7!=Dn(hr({},"a",{get:function(){return hr(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=lr(ar,e);r&&delete ar[e],hr(t,e,n),r&&t!==ar&&hr(ar,e,r)}:hr,Er=function(t,e){var n=mr[t]=Dn(sr);return rr(n,{type:er,tag:t,description:e}),d||(n.description=e),n},br=function(t,e,n){t===ar&&br(gr,e,n),jt(t);var r=Ft(e);return jt(n),vt(mr,r)?(n.enumerable?(vt(t,tr)&&t[tr][r]&&(t[tr][r]=!1),n=Dn(n,{enumerable:b(0,!1)})):(vt(t,tr)||hr(t,tr,b(1,{})),t[tr][r]=!0),yr(t,r,n)):hr(t,r,n)},wr=function(t,e){jt(t);var n=L(e),r=sn(n).concat(Ar(n));return Jn(r,(function(e){d&&!g(_r,n,e)||br(t,e,n[e])})),t},_r=function(t){var e=Ft(t),n=g(dr,this,e);return!(this===ar&&vt(mr,e)&&!vt(gr,e))&&(!(n||!vt(this,e)||!vt(mr,e)||vt(this,tr)&&this[tr][e])||n)},Tr=function(t,e){var n=L(t),r=Ft(e);if(n!==ar||!vt(mr,r)||vt(gr,r)){var i=lr(n,r);return!i||!vt(mr,r)||vt(n,tr)&&n[tr][r]||(i.enumerable=!0),i}},Cr=function(t){var e=fr(L(t)),n=[];return Jn(e,(function(t){vt(mr,t)||vt(le,t)||pr(n,t)})),n},Ar=function(t){var e=t===ar,n=fr(e?gr:L(t)),r=[];return Jn(n,(function(t){!vt(mr,t)||e&&!vt(ar,t)||pr(r,mr[t])})),r};K||(sr=(or=function(){if(G(sr,this))throw ur("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?on(arguments[0]):void 0,e=bt(t),n=function(t){this===ar&&g(n,gr,t),vt(this,tr)&&vt(this[tr],e)&&(this[tr][e]=!1),yr(this,e,b(1,t))};return d&&Dr&&yr(ar,e,{configurable:!0,set:n}),Er(e,t)})[nr],De(sr,"toString",(function(){return ir(this).tag})),De(or,"withoutSetter",(function(t){return Er(bt(t),t)})),E.f=_r,$t.f=br,cn.f=wr,Mt.f=Tr,Me.f=Cn.f=Cr,Pe.f=Ar,An.f=function(t){return Er(At(t),t)},d&&(hr(sr,"description",{configurable:!0,get:function(){return ir(this).description}}),De(ar,"propertyIsEnumerable",_r,{unsafe:!0}))),Xe({global:!0,constructor:!0,wrap:!0,forced:!K,sham:!K},{Symbol:or}),Jn(sn(vr),(function(t){kn(t)})),Xe({target:er,stat:!0,forced:!K},{useSetter:function(){Dr=!0},useSimple:function(){Dr=!1}}),Xe({target:"Object",stat:!0,forced:!K,sham:!d},{create:function(t,e){return void 0===e?Dn(t):wr(Dn(t),e)},defineProperty:br,defineProperties:wr,getOwnPropertyDescriptor:Tr}),Xe({target:"Object",stat:!0,forced:!K},{getOwnPropertyNames:Cr}),Fn(),On(or,er),le[tr]=!0;var xr=K&&!!Symbol.for&&!!Symbol.keyFor,Sr=dt("string-to-symbol-registry"),kr=dt("symbol-to-string-registry");Xe({target:"Symbol",stat:!0,forced:!xr},{for:function(t){var e=on(t);if(vt(Sr,e))return Sr[e];var n=H("Symbol")(e);return Sr[e]=n,kr[n]=e,n}});var Fr=dt("symbol-to-string-registry");Xe({target:"Symbol",stat:!0,forced:!xr},{keyFor:function(t){if(!tt(t))throw TypeError(nt(t)+" is not a symbol");if(vt(Fr,t))return Fr[t]}});var Ir=Function.prototype,Nr=Ir.apply,Or=Ir.call,Rr="object"==typeof Reflect&&Reflect.apply||(p?Or.bind(Nr):function(){return Or.apply(Nr,arguments)}),Lr=C([].slice),Br=H("JSON","stringify"),Mr=C(/./.exec),Pr=C("".charAt),Ur=C("".charCodeAt),zr=C("".replace),jr=C(1..toString),qr=/[\uD800-\uDFFF]/g,Hr=/^[\uD800-\uDBFF]$/,Gr=/^[\uDC00-\uDFFF]$/,Wr=!K||f((function(){var t=H("Symbol")();return"[null]"!=Br([t])||"{}"!=Br({a:t})||"{}"!=Br(Object(t))})),Vr=f((function(){return'"\\udf06\\ud834"'!==Br("\udf06\ud834")||'"\\udead"'!==Br("\udead")})),Yr=function(t,e){var n=Lr(arguments),r=e;if((j(e)||void 0!==t)&&!tt(t))return Mn(e)||(e=function(t,e){if(U(r)&&(e=g(r,this,t,e)),!tt(e))return e}),n[1]=e,Rr(Br,null,n)},Zr=function(t,e,n){var r=Pr(n,e-1),i=Pr(n,e+1);return Mr(Hr,t)&&!Mr(Gr,i)||Mr(Gr,t)&&!Mr(Hr,r)?"\\u"+jr(Ur(t,0),16):t};Br&&Xe({target:"JSON",stat:!0,arity:3,forced:Wr||Vr},{stringify:function(t,e,n){var r=Lr(arguments),i=Rr(Wr?Yr:Br,null,r);return Vr&&"string"==typeof i?zr(i,qr,Zr):i}});var $r=!K||f((function(){Pe.f(1)}));Xe({target:"Object",stat:!0,forced:$r},{getOwnPropertySymbols:function(t){var e=Pe.f;return e?e(mt(t)):[]}});var Xr=$t.f,Kr=h.Symbol,Qr=Kr&&Kr.prototype;if(d&&U(Kr)&&(!("description"in Qr)||void 0!==Kr().description)){var Jr={},ti=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:on(arguments[0]),e=G(Qr,this)?new Kr(t):void 0===t?Kr():Kr(t);return""===t&&(Jr[e]=!0),e};je(ti,Kr),ti.prototype=Qr,Qr.constructor=ti;var ei="Symbol(test)"==String(Kr("test")),ni=C(Qr.valueOf),ri=C(Qr.toString),ii=/^Symbol\((.*)\)[^)]+$/,ai=C("".replace),oi=C("".slice);Xr(Qr,"description",{configurable:!0,get:function(){var t=ni(this);if(vt(Jr,t))return"";var e=ri(t),n=ei?oi(e,7,-1):ai(e,ii,"$1");return""===n?void 0:n}}),Xe({global:!0,constructor:!0,forced:!0},{Symbol:ti})}kn("asyncIterator"),kn("hasInstance"),kn("isConcatSpreadable"),kn("iterator"),kn("match"),kn("matchAll"),kn("replace"),kn("search"),kn("species"),kn("split"),kn("toPrimitive"),Fn(),kn("toStringTag"),On(H("Symbol"),"Symbol"),kn("unscopables");var si=String,ui=TypeError,ci=function(t){if("object"==typeof t||U(t))return t;throw ui("Can't set "+si(t)+" as a prototype")},li=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=C(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return jt(n),ci(r),e?t(n,r):n.__proto__=r,n}}():void 0),hi=$t.f,fi=function(t,e,n){n in t||hi(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},di=function(t,e,n){var r,i;return li&&U(r=e.constructor)&&r!==n&&j(i=r.prototype)&&i!==n.prototype&&li(t,i),t},pi=function(t,e){return void 0===t?arguments.length<2?"":e:on(t)},mi=function(t,e){j(e)&&"cause"in e&&Xt(t,"cause",e.cause)},gi=Error,vi=C("".replace),Di=String(gi("zxcasd").stack),yi=/\n\s*at [^:]*:[^\n]*/,Ei=yi.test(Di),bi=function(t,e){if(Ei&&"string"==typeof t&&!gi.prepareStackTrace)for(;e--;)t=vi(t,yi,"");return t},wi=!f((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",b(1,7)),7!==t.stack)})),_i=function(t,e,n,r){var i="stackTraceLimit",a=r?2:1,o=t.split("."),s=o[o.length-1],u=H.apply(null,o);if(u){var c=u.prototype;if(vt(c,"cause")&&delete c.cause,!n)return u;var l=H("Error"),h=e((function(t,e){var n=pi(r?e:t,void 0),i=r?new u(t):new u;return void 0!==n&&Xt(i,"message",n),wi&&Xt(i,"stack",bi(i.stack,2)),this&&G(c,this)&&di(i,this,h),arguments.length>a&&mi(i,arguments[a]),i}));h.prototype=c,"Error"!==s?li?li(h,l):je(h,l,{name:!0}):d&&i in u&&(fi(h,u,i),fi(h,u,"prepareStackTrace")),je(h,u);try{c.name!==s&&Xt(c,"name",s),c.constructor=h}catch(t){}return h}},Ti="WebAssembly",Ci=h[Ti],Ai=7!==Error("e",{cause:7}).cause,xi=function(t,e){var n={};n[t]=_i(t,e,Ai),Xe({global:!0,constructor:!0,arity:1,forced:Ai},n)},Si=function(t,e){if(Ci&&Ci[t]){var n={};n[t]=_i(Ti+"."+t,e,Ai),Xe({target:Ti,stat:!0,constructor:!0,arity:1,forced:Ai},n)}};xi("Error",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("EvalError",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("RangeError",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("ReferenceError",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("SyntaxError",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("TypeError",(function(t){return function(e){return Rr(t,this,arguments)}})),xi("URIError",(function(t){return function(e){return Rr(t,this,arguments)}})),Si("CompileError",(function(t){return function(e){return Rr(t,this,arguments)}})),Si("LinkError",(function(t){return function(e){return Rr(t,this,arguments)}})),Si("RuntimeError",(function(t){return function(e){return Rr(t,this,arguments)}}));var ki=Error.prototype.toString,Fi=f((function(){if(d){var t=Dn(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==ki.call(t))return!0}return"2: 1"!==ki.call({message:1,name:2})||"Error"!==ki.call({})}))?function(){var t=jt(this),e=pi(t.name,"Error"),n=pi(t.message);return e?n?e+": "+n:e:n}:ki,Ii=Error.prototype;Ii.toString!==Fi&&De(Ii,"toString",Fi);var Ni=!f((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Oi=ce("IE_PROTO"),Ri=Object,Li=Ri.prototype,Bi=Ni?Ri.getPrototypeOf:function(t){var e=mt(t);if(vt(e,Oi))return e[Oi];var n=e.constructor;return U(n)&&e instanceof n?n.prototype:e instanceof Ri?Li:null},Mi={},Pi=At("iterator"),Ui=Array.prototype,zi=function(t){return void 0!==t&&(Mi.Array===t||Ui[Pi]===t)},ji=At("iterator"),qi=function(t){if(!N(t))return at(t,ji)||at(t,"@@iterator")||Mi[rn(t)]},Hi=TypeError,Gi=function(t,e){var n=arguments.length<2?qi(t):e;if(it(n))return jt(g(n,t));throw Hi(nt(t)+" is not iterable")},Wi=function(t,e,n){var r,i;jt(t);try{if(!(r=at(t,"return"))){if("throw"===e)throw n;return n}r=g(r,t)}catch(t){i=!0,r=t}if("throw"===e)throw n;if(i)throw r;return jt(r),n},Vi=TypeError,Yi=function(t,e){this.stopped=t,this.result=e},Zi=Yi.prototype,$i=function(t,e,n){var r,i,a,o,s,u,c,l=n&&n.that,h=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=Bn(e,l),v=function(t){return r&&Wi(r,"normal",t),new Yi(!0,t)},D=function(t){return h?(jt(t),p?m(t[0],t[1],v):m(t[0],t[1])):p?m(t,v):m(t)};if(f)r=t.iterator;else if(d)r=t;else{if(!(i=qi(t)))throw Vi(nt(t)+" is not iterable");if(zi(i)){for(a=0,o=Se(t);o>a;a++)if((s=D(t[a]))&&G(Zi,s))return s;return new Yi(!1)}r=Gi(t,i)}for(u=f?t.next:r.next;!(c=g(u,r)).done;){try{s=D(c.value)}catch(t){Wi(r,"throw",t)}if("object"==typeof s&&s&&G(Zi,s))return s}return new Yi(!1)},Xi=At("toStringTag"),Ki=Error,Qi=[].push,Ji=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,i=G(ta,this);li?n=li(Ki(),i?Bi(this):ta):(n=i?this:Dn(ta),Xt(n,Xi,"Error")),void 0!==e&&Xt(n,"message",pi(e)),wi&&Xt(n,"stack",bi(n.stack,1)),mi(n,r);var a=[];return $i(t,Qi,{that:a}),Xt(n,"errors",a),n};li?li(Ji,Ki):je(Ji,Ki,{name:!0});var ta=Ji.prototype=Dn(Ki.prototype,{constructor:b(1,Ji),message:b(1,""),name:b(1,"AggregateError")});Xe({global:!0,constructor:!0,arity:2},{AggregateError:Ji});var ea="AggregateError",na=H(ea),ra=!f((function(){return 1!==na([1]).errors[0]}))&&f((function(){return 7!==na([1],ea,{cause:7}).cause}));Xe({global:!0,constructor:!0,arity:2,forced:ra},{AggregateError:_i(ea,(function(t){return function(e,n){return Rr(t,this,arguments)}}),ra,!0)});var ia=$t.f,aa=At("unscopables"),oa=Array.prototype;null==oa[aa]&&ia(oa,aa,{configurable:!0,value:Dn(null)});var sa=function(t){oa[aa][t]=!0};Xe({target:"Array",proto:!0},{at:function(t){var e=mt(this),n=Se(e),r=we(t),i=r>=0?r:n+r;return i<0||i>=n?void 0:e[i]}}),sa("at");var ua=TypeError,ca=function(t){if(t>9007199254740991)throw ua("Maximum allowed index exceeded");return t},la=At("species"),ha=function(t){return X>=51||!f((function(){var e=[];return(e.constructor={})[la]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},fa=At("isConcatSpreadable"),da=X>=51||!f((function(){var t=[];return t[fa]=!1,t.concat()[0]!==t})),pa=ha("concat"),ma=function(t){if(!j(t))return!1;var e=t[fa];return void 0!==e?!!e:Mn(t)};Xe({target:"Array",proto:!0,arity:1,forced:!da||!pa},{concat:function(t){var e,n,r,i,a,o=mt(this),s=$n(o,0),u=0;for(e=-1,r=arguments.length;e2?arguments[2]:void 0,s=Da((void 0===o?r:Ce(o,r))-a,r-i),u=1;for(a0;)a in n?n[i]=n[a]:va(n,i),i+=u,a+=u;return n};Xe({target:"Array",proto:!0},{copyWithin:ya}),sa("copyWithin");var Ea=function(t,e){var n=[][t];return!!n&&f((function(){n.call(null,e||function(){return 1},1)}))},ba=Qn.every,wa=Ea("every");Xe({target:"Array",proto:!0,forced:!wa},{every:function(t){return ba(this,t,arguments.length>1?arguments[1]:void 0)}});var _a=function(t){for(var e=mt(this),n=Se(e),r=arguments.length,i=Ce(r>1?arguments[1]:void 0,n),a=r>2?arguments[2]:void 0,o=void 0===a?n:Ce(a,n);o>i;)e[i++]=t;return e};Xe({target:"Array",proto:!0},{fill:_a}),sa("fill");var Ta=Qn.filter,Ca=ha("filter");Xe({target:"Array",proto:!0,forced:!Ca},{filter:function(t){return Ta(this,t,arguments.length>1?arguments[1]:void 0)}});var Aa=Qn.find,xa="find",Sa=!0;xa in[]&&Array(1)[xa]((function(){Sa=!1})),Xe({target:"Array",proto:!0,forced:Sa},{find:function(t){return Aa(this,t,arguments.length>1?arguments[1]:void 0)}}),sa(xa);var ka=Qn.findIndex,Fa="findIndex",Ia=!0;Fa in[]&&Array(1)[Fa]((function(){Ia=!1})),Xe({target:"Array",proto:!0,forced:Ia},{findIndex:function(t){return ka(this,t,arguments.length>1?arguments[1]:void 0)}}),sa(Fa);var Na=function(t){var e=1==t;return function(n,r,i){for(var a,o=mt(n),s=I(o),u=Bn(r,i),c=Se(s);c-- >0;)if(u(a=s[c],c,o))switch(t){case 0:return a;case 1:return c}return e?-1:void 0}},Oa={findLast:Na(0),findLastIndex:Na(1)},Ra=Oa.findLast;Xe({target:"Array",proto:!0},{findLast:function(t){return Ra(this,t,arguments.length>1?arguments[1]:void 0)}}),sa("findLast");var La=Oa.findLastIndex;Xe({target:"Array",proto:!0},{findLastIndex:function(t){return La(this,t,arguments.length>1?arguments[1]:void 0)}}),sa("findLastIndex");var Ba=function(t,e,n,r,i,a,o,s){for(var u,c,l=i,h=0,f=!!o&&Bn(o,s);h0&&Mn(u)?(c=Se(u),l=Ba(t,e,u,c,l,a-1)-1):(ca(l+1),t[l]=u),l++),h++;return l},Ma=Ba;Xe({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=mt(this),n=Se(e),r=$n(e,0);return r.length=Ma(r,e,e,n,0,void 0===t?1:we(t)),r}}),Xe({target:"Array",proto:!0},{flatMap:function(t){var e,n=mt(this),r=Se(n);return it(t),(e=$n(n,0)).length=Ma(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var Pa=Qn.forEach,Ua=Ea("forEach")?[].forEach:function(t){return Pa(this,t,arguments.length>1?arguments[1]:void 0)};Xe({target:"Array",proto:!0,forced:[].forEach!=Ua},{forEach:Ua});var za=function(t,e,n,r){try{return r?e(jt(n)[0],n[1]):e(n)}catch(e){Wi(t,"throw",e)}},ja=Array,qa=function(t){var e=mt(t),n=Vn(this),r=arguments.length,i=r>1?arguments[1]:void 0,a=void 0!==i;a&&(i=Bn(i,r>2?arguments[2]:void 0));var o,s,u,c,l,h,f=qi(e),d=0;if(!f||this===ja&&zi(f))for(o=Se(e),s=n?new this(o):ja(o);o>d;d++)h=a?i(e[d],d):e[d],yn(s,d,h);else for(l=(c=Gi(e,f)).next,s=n?new this:[];!(u=g(l,c)).done;d++)h=a?za(c,i,[u.value,d],!0):u.value,yn(s,d,h);return s.length=d,s},Ha=At("iterator"),Ga=!1;try{var Wa=0,Va={next:function(){return{done:!!Wa++}},return:function(){Ga=!0}};Va[Ha]=function(){return this},Array.from(Va,(function(){throw 2}))}catch(Y9){}var Ya=function(t,e){if(!e&&!Ga)return!1;var n=!1;try{var r={};r[Ha]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Za=!Ya((function(t){Array.from(t)}));Xe({target:"Array",stat:!0,forced:Za},{from:qa});var $a=Fe.includes,Xa=f((function(){return!Array(1).includes()}));Xe({target:"Array",proto:!0,forced:Xa},{includes:function(t){return $a(this,t,arguments.length>1?arguments[1]:void 0)}}),sa("includes");var Ka=Fe.indexOf,Qa=Rn([].indexOf),Ja=!!Qa&&1/Qa([1],1,-0)<0,to=Ea("indexOf");Xe({target:"Array",proto:!0,forced:Ja||!to},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Ja?Qa(this,t,e)||0:Ka(this,t,e)}}),Xe({target:"Array",stat:!0},{isArray:Mn});var eo,no,ro,io=At("iterator"),ao=!1;[].keys&&("next"in(ro=[].keys())?(no=Bi(Bi(ro)))!==Object.prototype&&(eo=no):ao=!0);var oo=!j(eo)||f((function(){var t={};return eo[io].call(t)!==t}));oo&&(eo={}),U(eo[io])||De(eo,io,(function(){return this}));var so={IteratorPrototype:eo,BUGGY_SAFARI_ITERATORS:ao},uo=so.IteratorPrototype,co=function(){return this},lo=function(t,e,n,r){var i=e+" Iterator";return t.prototype=Dn(uo,{next:b(+!r,n)}),On(t,i,!1),Mi[i]=co,t},ho=te.PROPER,fo=te.CONFIGURABLE,po=so.IteratorPrototype,mo=so.BUGGY_SAFARI_ITERATORS,go=At("iterator"),vo="keys",Do="values",yo="entries",Eo=function(){return this},bo=function(t,e,n,r,i,a,o){lo(n,e,r);var s,u,c,l=function(t){if(t===i&&m)return m;if(!mo&&t in d)return d[t];switch(t){case vo:case Do:case yo:return function(){return new n(this,t)}}return function(){return new n(this)}},h=e+" Iterator",f=!1,d=t.prototype,p=d[go]||d["@@iterator"]||i&&d[i],m=!mo&&p||l(i),v="Array"==e&&d.entries||p;if(v&&(s=Bi(v.call(new t)))!==Object.prototype&&s.next&&(Bi(s)!==po&&(li?li(s,po):U(s[go])||De(s,go,Eo)),On(s,h,!0)),ho&&i==Do&&p&&p.name!==Do&&(fo?Xt(d,"name",Do):(f=!0,m=function(){return g(p,this)})),i)if(u={values:l(Do),keys:a?m:l(vo),entries:l(yo)},o)for(c in u)(mo||f||!(c in d))&&De(d,c,u[c]);else Xe({target:e,proto:!0,forced:mo||f},u);return d[go]!==m&&De(d,go,m,{name:i}),Mi[e]=m,u},wo=function(t,e){return{value:t,done:e}},_o=$t.f,To="Array Iterator",Co=ge.set,Ao=ge.getterFor(To),xo=bo(Array,"Array",(function(t,e){Co(this,{type:To,target:L(t),index:0,kind:e})}),(function(){var t=Ao(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,wo(void 0,!0)):wo("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),So=Mi.Arguments=Mi.Array;if(sa("keys"),sa("values"),sa("entries"),d&&"values"!==So.name)try{_o(So,"name",{value:"values"})}catch(Z9){}var ko=C([].join),Fo=I!=Object,Io=Ea("join",",");Xe({target:"Array",proto:!0,forced:Fo||!Io},{join:function(t){return ko(L(this),void 0===t?",":t)}});var No=Math.min,Oo=[].lastIndexOf,Ro=!!Oo&&1/[1].lastIndexOf(1,-0)<0,Lo=Ea("lastIndexOf"),Bo=Ro||!Lo?function(t){if(Ro)return Rr(Oo,this,arguments)||0;var e=L(this),n=Se(e),r=n-1;for(arguments.length>1&&(r=No(r,we(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}:Oo;Xe({target:"Array",proto:!0,forced:Bo!==[].lastIndexOf},{lastIndexOf:Bo});var Mo=Qn.map,Po=ha("map");Xe({target:"Array",proto:!0,forced:!Po},{map:function(t){return Mo(this,t,arguments.length>1?arguments[1]:void 0)}});var Uo=Array,zo=f((function(){function t(){}return!(Uo.of.call(t)instanceof t)}));Xe({target:"Array",stat:!0,forced:zo},{of:function(){for(var t=0,e=arguments.length,n=new(Vn(this)?this:Uo)(e);e>t;)yn(n,t,arguments[t++]);return n.length=e,n}});var jo=TypeError,qo=Object.getOwnPropertyDescriptor,Ho=d&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(Mn(t)&&!qo(t,"length").writable)throw jo("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Go=f((function(){return 4294967297!==[].push.call({length:4294967296},1)})),Wo=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();Xe({target:"Array",proto:!0,arity:1,forced:Go||Wo},{push:function(t){var e=mt(this),n=Se(e),r=arguments.length;ca(n+r);for(var i=0;i=0:s>u;u+=c)u in o&&(i=n(i,o[u],u,a));return i}},Zo={left:Yo(!1),right:Yo(!0)},$o="process"==S(h.process),Xo=Zo.left,Ko=Ea("reduce");Xe({target:"Array",proto:!0,forced:!Ko||!$o&&X>79&&X<83},{reduce:function(t){var e=arguments.length;return Xo(this,t,e,e>1?arguments[1]:void 0)}});var Qo=Zo.right,Jo=Ea("reduceRight");Xe({target:"Array",proto:!0,forced:!Jo||!$o&&X>79&&X<83},{reduceRight:function(t){return Qo(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var ts=C([].reverse),es=[1,2];Xe({target:"Array",proto:!0,forced:String(es)===String(es.reverse())},{reverse:function(){return Mn(this)&&(this.length=this.length),ts(this)}});var ns=ha("slice"),rs=At("species"),is=Array,as=Math.max;Xe({target:"Array",proto:!0,forced:!ns},{slice:function(t,e){var n,r,i,a=L(this),o=Se(a),s=Ce(t,o),u=Ce(void 0===e?o:e,o);if(Mn(a)&&(n=a.constructor,(Vn(n)&&(n===is||Mn(n.prototype))||j(n)&&null===(n=n[rs]))&&(n=void 0),n===is||void 0===n))return Lr(a,s,u);for(r=new(void 0===n?is:n)(as(u-s,0)),i=0;s1?arguments[1]:void 0)}});var us=Math.floor,cs=function(t,e){var n=t.length,r=us(n/2);return n<8?ls(t,e):hs(t,cs(wn(t,0,r),e),cs(wn(t,r),e),e)},ls=function(t,e){for(var n,r,i=t.length,a=1;a0;)t[r]=t[--r];r!==a++&&(t[r]=n)}return t},hs=function(t,e,n,r){for(var i=e.length,a=n.length,o=0,s=0;o3)){if(ms)return!0;if(vs)return vs<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)Ds.push({k:e+r,v:n})}for(Ds.sort((function(t,e){return e.v-t.v})),r=0;ron(n)?1:-1}}(t)),n=Se(i),r=0;rc-r+n;a--)va(u,a-1)}else if(n>r)for(a=c-r;a>l;a--)s=a+n-1,(o=a+r-1)in u?u[s]=u[o]:va(u,s);for(a=0;a>1,l=23===e?zs(2,-24)-zs(2,-77):0,h=t<0||0===t&&1/t<0?1:0,f=0;for((t=Us(t))!=t||t===1/0?(i=t!=t?1:0,r=u):(r=js(qs(t)/Hs),t*(a=zs(2,-r))<1&&(r--,a*=2),(t+=r+c>=1?l/a:l*zs(2,1-c))*a>=2&&(r++,a/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*a-1)*zs(2,e),r+=c):(i=t*zs(2,c-1)*zs(2,e),r=0));e>=8;)o[f++]=255&i,i/=256,e-=8;for(r=r<0;)o[f++]=255&r,r/=256,s-=8;return o[--f]|=128*h,o},Ws=function(t,e){var n,r=t.length,i=8*r-e-1,a=(1<>1,s=i-7,u=r-1,c=t[u--],l=127&c;for(c>>=7;s>0;)l=256*l+t[u--],s-=8;for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;)n=256*n+t[u--],s-=8;if(0===l)l=1-o;else{if(l===a)return n?NaN:c?-1/0:1/0;n+=zs(2,e),l-=o}return(c?-1:1)*n*zs(2,l-e)},Vs=Me.f,Ys=$t.f,Zs=te.PROPER,$s=te.CONFIGURABLE,Xs=ge.get,Ks=ge.set,Qs="ArrayBuffer",Js="DataView",tu="prototype",eu="Wrong index",nu=h[Qs],ru=nu,iu=ru&&ru[tu],au=h[Js],ou=au&&au[tu],su=Object.prototype,uu=h.Array,cu=h.RangeError,lu=C(_a),hu=C([].reverse),fu=Gs,du=Ws,pu=function(t){return[255&t]},mu=function(t){return[255&t,t>>8&255]},gu=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},vu=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},Du=function(t){return fu(t,23,4)},yu=function(t){return fu(t,52,8)},Eu=function(t,e){Ys(t[tu],e,{get:function(){return Xs(this)[e]}})},bu=function(t,e,n,r){var i=Ms(n),a=Xs(t);if(i+e>a.byteLength)throw cu(eu);var o=Xs(a.buffer).bytes,s=i+a.byteOffset,u=wn(o,s,s+e);return r?u:hu(u)},wu=function(t,e,n,r,i,a){var o=Ms(n),s=Xs(t);if(o+e>s.byteLength)throw cu(eu);for(var u=Xs(s.buffer).bytes,c=o+s.byteOffset,l=r(+i),h=0;hAu;)(Tu=Cu[Au++])in ru||Xt(ru,Tu,nu[Tu]);iu.constructor=ru}li&&Bi(ou)!==su&&li(ou,su);var xu=new au(new ru(2)),Su=C(ou.setInt8);xu.setInt8(0,2147483648),xu.setInt8(1,2147483649),!xu.getInt8(0)&&xu.getInt8(1)||Os(ou,{setInt8:function(t,e){Su(this,t,e<<24>>24)},setUint8:function(t,e){Su(this,t,e<<24>>24)}},{unsafe:!0})}else ru=function(t){Ls(this,iu);var e=Ms(t);Ks(this,{bytes:lu(uu(e),0),byteLength:e}),d||(this.byteLength=e)},iu=ru[tu],au=function(t,e,n){Ls(this,ou),Ls(t,iu);var r=Xs(t).byteLength,i=we(e);if(i<0||i>r)throw cu("Wrong offset");if(i+(n=void 0===n?r-i:xe(n))>r)throw cu("Wrong length");Ks(this,{buffer:t,byteLength:n,byteOffset:i}),d||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},ou=au[tu],d&&(Eu(ru,"byteLength"),Eu(au,"buffer"),Eu(au,"byteLength"),Eu(au,"byteOffset")),Os(ou,{getInt8:function(t){return bu(this,1,t)[0]<<24>>24},getUint8:function(t){return bu(this,1,t)[0]},getInt16:function(t){var e=bu(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=bu(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return vu(bu(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return vu(bu(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return du(bu(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return du(bu(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){wu(this,1,t,pu,e)},setUint8:function(t,e){wu(this,1,t,pu,e)},setInt16:function(t,e){wu(this,2,t,mu,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){wu(this,2,t,mu,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){wu(this,4,t,gu,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){wu(this,4,t,gu,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){wu(this,4,t,Du,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){wu(this,8,t,yu,e,arguments.length>2?arguments[2]:void 0)}});On(ru,Qs),On(au,Js);var ku={ArrayBuffer:ru,DataView:au},Fu="ArrayBuffer",Iu=ku[Fu],Nu=h[Fu];Xe({global:!0,constructor:!0,forced:Nu!==Iu},{ArrayBuffer:Iu}),As(Fu);var Ou,Ru,Lu,Bu=$t.f,Mu=ge.enforce,Pu=ge.get,Uu=h.Int8Array,zu=Uu&&Uu.prototype,ju=h.Uint8ClampedArray,qu=ju&&ju.prototype,Hu=Uu&&Bi(Uu),Gu=zu&&Bi(zu),Wu=Object.prototype,Vu=h.TypeError,Yu=At("toStringTag"),Zu=bt("TYPED_ARRAY_TAG"),$u="TypedArrayConstructor",Xu=Ns&&!!li&&"Opera"!==rn(h.opera),Ku=!1,Qu={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ju={BigInt64Array:8,BigUint64Array:8},tc=function(t){var e=Bi(t);if(j(e)){var n=Pu(e);return n&&vt(n,$u)?n[$u]:tc(e)}},ec=function(t){if(!j(t))return!1;var e=rn(t);return vt(Qu,e)||vt(Ju,e)};for(Ou in Qu)(Lu=(Ru=h[Ou])&&Ru.prototype)?Mu(Lu)[$u]=Ru:Xu=!1;for(Ou in Ju)(Lu=(Ru=h[Ou])&&Ru.prototype)&&(Mu(Lu)[$u]=Ru);if((!Xu||!U(Hu)||Hu===Function.prototype)&&(Hu=function(){throw Vu("Incorrect invocation")},Xu))for(Ou in Qu)h[Ou]&&li(h[Ou],Hu);if((!Xu||!Gu||Gu===Wu)&&(Gu=Hu.prototype,Xu))for(Ou in Qu)h[Ou]&&li(h[Ou].prototype,Gu);if(Xu&&Bi(qu)!==Gu&&li(qu,Gu),d&&!vt(Gu,Yu))for(Ou in Ku=!0,Bu(Gu,Yu,{get:function(){return j(this)?this[Zu]:void 0}}),Qu)h[Ou]&&Xt(h[Ou],Zu,Ou);var nc={NATIVE_ARRAY_BUFFER_VIEWS:Xu,TYPED_ARRAY_TAG:Ku&&Zu,aTypedArray:function(t){if(ec(t))return t;throw Vu("Target is not a typed array")},aTypedArrayConstructor:function(t){if(U(t)&&(!li||G(Hu,t)))return t;throw Vu(nt(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,r){if(d){if(n)for(var i in Qu){var a=h[i];if(a&&vt(a.prototype,t))try{delete a.prototype[t]}catch(n){try{a.prototype[t]=e}catch(t){}}}Gu[t]&&!n||De(Gu,t,n?e:Xu&&zu[t]||e,r)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(d){if(li){if(n)for(r in Qu)if((i=h[r])&&vt(i,t))try{delete i[t]}catch(t){}if(Hu[t]&&!n)return;try{return De(Hu,t,n?e:Xu&&Hu[t]||e)}catch(t){}}for(r in Qu)!(i=h[r])||i[t]&&!n||De(i,t,e)}},getTypedArrayConstructor:tc,isView:function(t){if(!j(t))return!1;var e=rn(t);return"DataView"===e||vt(Qu,e)||vt(Ju,e)},isTypedArray:ec,TypedArray:Hu,TypedArrayPrototype:Gu};Xe({target:"ArrayBuffer",stat:!0,forced:!nc.NATIVE_ARRAY_BUFFER_VIEWS},{isView:nc.isView});var rc=TypeError,ic=function(t){if(Vn(t))return t;throw rc(nt(t)+" is not a constructor")},ac=At("species"),oc=function(t,e){var n,r=jt(t).constructor;return void 0===r||N(n=jt(r)[ac])?e:ic(n)},sc=ku.ArrayBuffer,uc=ku.DataView,cc=uc.prototype,lc=Rn(sc.prototype.slice),hc=Rn(cc.getUint8),fc=Rn(cc.setUint8),dc=f((function(){return!new sc(2).slice(1,void 0).byteLength}));Xe({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:dc},{slice:function(t,e){if(lc&&void 0===e)return lc(jt(this),t);for(var n=jt(this).byteLength,r=Ce(t,n),i=Ce(void 0===e?n:e,n),a=new(oc(this,sc))(xe(i-r)),o=new uc(this),s=new uc(a),u=0;r0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n},_c=C(wc),Tc=C("".slice),Cc=Math.ceil,Ac=function(t){return function(e,n,r){var i,a,o=on(R(e)),s=xe(n),u=o.length,c=void 0===r?" ":on(r);return s<=u||""==c?o:((a=_c(c,Cc((i=s-u)/c.length))).length>i&&(a=Tc(a,0,i)),t?o+a:a+o)}},xc={start:Ac(!1),end:Ac(!0)},Sc=xc.start,kc=RangeError,Fc=isFinite,Ic=Math.abs,Nc=Date.prototype,Oc=Nc.toISOString,Rc=C(Nc.getTime),Lc=C(Nc.getUTCDate),Bc=C(Nc.getUTCFullYear),Mc=C(Nc.getUTCHours),Pc=C(Nc.getUTCMilliseconds),Uc=C(Nc.getUTCMinutes),zc=C(Nc.getUTCMonth),jc=C(Nc.getUTCSeconds),qc=f((function(){return"0385-07-25T07:06:39.999Z"!=Oc.call(new Date(-50000000000001))}))||!f((function(){Oc.call(new Date(NaN))}))?function(){if(!Fc(Rc(this)))throw kc("Invalid time value");var t=this,e=Bc(t),n=Pc(t),r=e<0?"-":e>9999?"+":"";return r+Sc(Ic(e),r?6:4,0)+"-"+Sc(zc(t)+1,2,0)+"-"+Sc(Lc(t),2,0)+"T"+Sc(Mc(t),2,0)+":"+Sc(Uc(t),2,0)+":"+Sc(jc(t),2,0)+"."+Sc(n,3,0)+"Z"}:Oc;Xe({target:"Date",proto:!0,forced:Date.prototype.toISOString!==qc},{toISOString:qc});var Hc=f((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));Xe({target:"Date",proto:!0,arity:1,forced:Hc},{toJSON:function(t){var e=mt(this),n=kt(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}});var Gc=TypeError,Wc=At("toPrimitive"),Vc=Date.prototype;vt(Vc,Wc)||De(Vc,Wc,(function(t){if(jt(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Gc("Incorrect hint");return st(this,t)}));var Yc=Date.prototype,Zc="Invalid Date",$c="toString",Xc=C(Yc[$c]),Kc=C(Yc.getTime);String(new Date(NaN))!=Zc&&De(Yc,$c,(function(){var t=Kc(this);return t==t?Xc(this):Zc}));var Qc=C("".charAt),Jc=C("".charCodeAt),tl=C(/./.exec),el=C(1..toString),nl=C("".toUpperCase),rl=/[\w*+\-./@]/,il=function(t,e){for(var n=el(t,16);n.length1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),Os(a,n?{get:function(t){var e=u(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),d&&Cl(a,"size",{get:function(){return o(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",i=Sl(e),a=Sl(r);bo(t,e,(function(t,e){xl(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=a(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?wo("keys"==e?n.key:"values"==e?n.value:[n.key,n.value],!1):(t.target=void 0,wo(void 0,!0))}),n?"entries":"values",!n,!0),As(e)}};Tl("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),kl);var Fl=Math.log,Il=Math.log1p||function(t){var e=+t;return e>-1e-8&&e<1e-8?e-e*e/2:Fl(1+e)},Nl=Math.acosh,Ol=Math.log,Rl=Math.sqrt,Ll=Math.LN2,Bl=!Nl||710!=Math.floor(Nl(Number.MAX_VALUE))||Nl(1/0)!=1/0;Xe({target:"Math",stat:!0,forced:Bl},{acosh:function(t){var e=+t;return e<1?NaN:e>94906265.62425156?Ol(e)+Ll:Il(e-1+Rl(e-1)*Rl(e+1))}});var Ml=Math.asinh,Pl=Math.log,Ul=Math.sqrt;Xe({target:"Math",stat:!0,forced:!(Ml&&1/Ml(0)>0)},{asinh:function t(e){var n=+e;return isFinite(n)&&0!=n?n<0?-t(-n):Pl(n+Ul(n*n+1)):n}});var zl=Math.atanh,jl=Math.log;Xe({target:"Math",stat:!0,forced:!(zl&&1/zl(-0)<0)},{atanh:function(t){var e=+t;return 0==e?e:jl((1+e)/(1-e))/2}});var ql=Math.sign||function(t){var e=+t;return 0==e||e!=e?e:e<0?-1:1},Hl=Math.abs,Gl=Math.pow;Xe({target:"Math",stat:!0},{cbrt:function(t){var e=+t;return ql(e)*Gl(Hl(e),1/3)}});var Wl=Math.floor,Vl=Math.log,Yl=Math.LOG2E;Xe({target:"Math",stat:!0},{clz32:function(t){var e=t>>>0;return e?31-Wl(Vl(e+.5)*Yl):32}});var Zl=Math.expm1,$l=Math.exp,Xl=!Zl||Zl(10)>22025.465794806718||Zl(10)<22025.465794806718||-2e-17!=Zl(-2e-17)?function(t){var e=+t;return 0==e?e:e>-1e-6&&e<1e-6?e+e*e/2:$l(e)-1}:Zl,Kl=Math.cosh,Ql=Math.abs,Jl=Math.E;Xe({target:"Math",stat:!0,forced:!Kl||Kl(710)===1/0},{cosh:function(t){var e=Xl(Ql(t)-1)+1;return(e+1/(e*Jl*Jl))*(Jl/2)}}),Xe({target:"Math",stat:!0,forced:Xl!=Math.expm1},{expm1:Xl});var th=Math.abs,eh=Math.pow,nh=eh(2,-52),rh=eh(2,-23),ih=eh(2,127)*(2-rh),ah=eh(2,-126),oh=Math.fround||function(t){var e,n,r=+t,i=th(r),a=ql(r);return iih||n!=n?a*(1/0):a*n};Xe({target:"Math",stat:!0},{fround:oh});var sh=Math.hypot,uh=Math.abs,ch=Math.sqrt,lh=!!sh&&sh(1/0,NaN)!==1/0;Xe({target:"Math",stat:!0,arity:2,forced:lh},{hypot:function(t,e){for(var n,r,i=0,a=0,o=arguments.length,s=0;a0?(r=n/s)*r:n;return s===1/0?1/0:s*ch(i)}});var hh=Math.imul,fh=f((function(){return-5!=hh(4294967295,5)||2!=hh.length}));Xe({target:"Math",stat:!0,forced:fh},{imul:function(t,e){var n=65535,r=+t,i=+e,a=n&r,o=n&i;return 0|a*o+((n&r>>>16)*o+a*(n&i>>>16)<<16>>>0)}});var dh=Math.log,ph=Math.LOG10E,mh=Math.log10||function(t){return dh(t)*ph};Xe({target:"Math",stat:!0},{log10:mh}),Xe({target:"Math",stat:!0},{log1p:Il});var gh=Math.log,vh=Math.LN2;Xe({target:"Math",stat:!0},{log2:function(t){return gh(t)/vh}}),Xe({target:"Math",stat:!0},{sign:ql});var Dh=Math.abs,yh=Math.exp,Eh=Math.E,bh=f((function(){return-2e-17!=Math.sinh(-2e-17)}));Xe({target:"Math",stat:!0,forced:bh},{sinh:function(t){var e=+t;return Dh(e)<1?(Xl(e)-Xl(-e))/2:(yh(e-1)-yh(-e-1))*(Eh/2)}});var wh=Math.exp;Xe({target:"Math",stat:!0},{tanh:function(t){var e=+t,n=Xl(e),r=Xl(-e);return n==1/0?1:r==1/0?-1:(n-r)/(wh(e)+wh(-e))}}),On(Math,"Math",!0),Xe({target:"Math",stat:!0},{trunc:be});var _h=C(1..valueOf),Th="\t\n\v\f\r                 \u2028\u2029\ufeff",Ch=C("".replace),Ah="["+Th+"]",xh=RegExp("^"+Ah+Ah+"*"),Sh=RegExp(Ah+Ah+"*$"),kh=function(t){return function(e){var n=on(R(e));return 1&t&&(n=Ch(n,xh,"")),2&t&&(n=Ch(n,Sh,"")),n}},Fh={start:kh(1),end:kh(2),trim:kh(3)},Ih=Me.f,Nh=Mt.f,Oh=$t.f,Rh=Fh.trim,Lh="Number",Bh=h[Lh];xn[Lh];var Mh=Bh.prototype,Ph=h.TypeError,Uh=C("".slice),zh=C("".charCodeAt),jh=function(t){var e=kt(t,"number");return"bigint"==typeof e?e:qh(e)},qh=function(t){var e,n,r,i,a,o,s,u,c=kt(t,"number");if(tt(c))throw Ph("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Rh(c),43===(e=zh(c,0))||45===e){if(88===(n=zh(c,2))||120===n)return NaN}else if(48===e){switch(zh(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=(a=Uh(c,2)).length,s=0;si)return NaN;return parseInt(a,r)}return+c},Hh=Ze(Lh,!Bh(" 0o1")||!Bh("0b1")||Bh("+0x1")),Gh=function(t){return G(Mh,t)&&f((function(){_h(t)}))},Wh=function(t){var e=arguments.length<1?0:Bh(jh(t));return Gh(this)?di(Object(e),this,Wh):e};Wh.prototype=Mh,Hh&&(Mh.constructor=Wh),Xe({global:!0,constructor:!0,wrap:!0,forced:Hh},{Number:Wh});Hh&&function(t,e){for(var n,r=d?Ih(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)vt(e,n=r[i])&&!vt(t,n)&&Oh(t,n,Nh(e,n))}(xn[Lh],Bh),Xe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Vh=h.isFinite,Yh=Number.isFinite||function(t){return"number"==typeof t&&Vh(t)};Xe({target:"Number",stat:!0},{isFinite:Yh});var Zh=Math.floor,$h=Number.isInteger||function(t){return!j(t)&&isFinite(t)&&Zh(t)===t};Xe({target:"Number",stat:!0},{isInteger:$h}),Xe({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Xh=Math.abs;Xe({target:"Number",stat:!0},{isSafeInteger:function(t){return $h(t)&&Xh(t)<=9007199254740991}}),Xe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Xe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Kh=Fh.trim,Qh=C("".charAt),Jh=h.parseFloat,tf=h.Symbol,ef=tf&&tf.iterator,nf=1/Jh(Th+"-0")!=-1/0||ef&&!f((function(){Jh(Object(ef))}))?function(t){var e=Kh(on(t)),n=Jh(e);return 0===n&&"-"==Qh(e,0)?-0:n}:Jh;Xe({target:"Number",stat:!0,forced:Number.parseFloat!=nf},{parseFloat:nf});var rf=Fh.trim,af=h.parseInt,of=h.Symbol,sf=of&&of.iterator,uf=/^[+-]?0x/i,cf=C(uf.exec),lf=8!==af(Th+"08")||22!==af(Th+"0x16")||sf&&!f((function(){af(Object(sf))}))?function(t,e){var n=rf(on(t));return af(n,e>>>0||(cf(uf,n)?16:10))}:af;Xe({target:"Number",stat:!0,forced:Number.parseInt!=lf},{parseInt:lf});var hf=RangeError,ff=String,df=isFinite,pf=Math.abs,mf=Math.floor,gf=Math.pow,vf=Math.round,Df=C(1..toExponential),yf=C(wc),Ef=C("".slice),bf="-6.9000e-11"===Df(-69e-12,4)&&"1.25e+0"===Df(1.255,2)&&"1.235e+4"===Df(12345,3)&&"3e+1"===Df(25,0),wf=f((function(){Df(1,1/0)}))&&f((function(){Df(1,-1/0)})),_f=!f((function(){Df(1/0,1/0)}))&&!f((function(){Df(NaN,1/0)}));Xe({target:"Number",proto:!0,forced:!bf||!wf||!_f},{toExponential:function(t){var e=_h(this);if(void 0===t)return Df(e);var n=we(t);if(!df(e))return String(e);if(n<0||n>20)throw hf("Incorrect fraction digits");if(bf)return Df(e,n);var r="",i="",a=0,o="",s="";if(e<0&&(r="-",e=-e),0===e)a=0,i=yf("0",n+1);else{var u=mh(e);a=mf(u);var c=0,l=gf(10,a-n);2*e>=(2*(c=vf(e/l))+1)*l&&(c+=1),c>=gf(10,n+1)&&(c/=10,a+=1),i=ff(c)}return 0!==n&&(i=Ef(i,0,1)+"."+Ef(i,1)),0===a?(o="+",s="0"):(o=a>0?"+":"-",s=ff(pf(a))),r+(i+="e"+o+s)}});var Tf=RangeError,Cf=String,Af=Math.floor,xf=C(wc),Sf=C("".slice),kf=C(1..toFixed),Ff=function(t,e,n){return 0===e?n:e%2==1?Ff(t,e-1,n*t):Ff(t*t,e/2,n)},If=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=Af(i/1e7)},Nf=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=Af(r/e),r=r%e*1e7},Of=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=Cf(t[e]);n=""===n?r:n+xf("0",7-r.length)+r}return n},Rf=f((function(){return"0.000"!==kf(8e-5,3)||"1"!==kf(.9,0)||"1.25"!==kf(1.255,2)||"1000000000000000128"!==kf(0xde0b6b3a7640080,0)}))||!f((function(){kf({})}));Xe({target:"Number",proto:!0,forced:Rf},{toFixed:function(t){var e,n,r,i,a=_h(this),o=we(t),s=[0,0,0,0,0,0],u="",c="0";if(o<0||o>20)throw Tf("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return Cf(a);if(a<0&&(u="-",a=-a),a>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(a*Ff(2,69,1))-69,n=e<0?a*Ff(2,-e,1):a/Ff(2,e,1),n*=4503599627370496,(e=52-e)>0){for(If(s,0,n),r=o;r>=7;)If(s,1e7,0),r-=7;for(If(s,Ff(10,r,1),0),r=e-1;r>=23;)Nf(s,1<<23),r-=23;Nf(s,1<0?u+((i=c.length)<=o?"0."+xf("0",o-i)+c:Sf(c,0,i-o)+"."+Sf(c,i-o)):u+c}});var Lf=C(1..toPrecision),Bf=f((function(){return"1"!==Lf(1,void 0)}))||!f((function(){Lf({})}));Xe({target:"Number",proto:!0,forced:Bf},{toPrecision:function(t){return void 0===t?Lf(_h(this)):Lf(_h(this),t)}});var Mf=Object.assign,Pf=Object.defineProperty,Uf=C([].concat),zf=!Mf||f((function(){if(d&&1!==Mf({b:1},Mf(Pf({},"a",{enumerable:!0,get:function(){Pf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Mf({},t)[n]||sn(Mf({},e)).join("")!=r}))?function(t,e){for(var n=mt(t),r=arguments.length,i=1,a=Pe.f,o=E.f;r>i;)for(var s,u=I(arguments[i++]),c=a?Uf(sn(u),a(u)):sn(u),l=c.length,h=0;l>h;)s=c[h++],d&&!g(o,u,s)||(n[s]=u[s]);return n}:Mf;Xe({target:"Object",stat:!0,arity:2,forced:Object.assign!==zf},{assign:zf}),Xe({target:"Object",stat:!0,sham:!d},{create:Dn});var jf=!f((function(){if(!(vs&&vs<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete h[t]}}));d&&Xe({target:"Object",proto:!0,forced:jf},{__defineGetter__:function(t,e){$t.f(mt(this),t,{get:it(e),enumerable:!0,configurable:!0})}});var qf=cn.f;Xe({target:"Object",stat:!0,forced:Object.defineProperties!==qf,sham:!d},{defineProperties:qf});var Hf=$t.f;Xe({target:"Object",stat:!0,forced:Object.defineProperty!==Hf,sham:!d},{defineProperty:Hf}),d&&Xe({target:"Object",proto:!0,forced:jf},{__defineSetter__:function(t,e){$t.f(mt(this),t,{set:it(e),enumerable:!0,configurable:!0})}});var Gf=E.f,Wf=C(Gf),Vf=C([].push),Yf=function(t){return function(e){for(var n,r=L(e),i=sn(r),a=i.length,o=0,s=[];a>o;)n=i[o++],d&&!Wf(r,n)||Vf(s,t?[n,r[n]]:r[n]);return s}},Zf={entries:Yf(!0),values:Yf(!1)},$f=Zf.entries;Xe({target:"Object",stat:!0},{entries:function(t){return $f(t)}});var Xf=_l.onFreeze,Kf=Object.freeze,Qf=f((function(){Kf(1)}));Xe({target:"Object",stat:!0,forced:Qf,sham:!wl},{freeze:function(t){return Kf&&j(t)?Kf(Xf(t)):t}}),Xe({target:"Object",stat:!0},{fromEntries:function(t){var e={};return $i(t,(function(t,n){yn(e,t,n)}),{AS_ENTRIES:!0}),e}});var Jf=Mt.f,td=f((function(){Jf(1)}));Xe({target:"Object",stat:!0,forced:!d||td,sham:!d},{getOwnPropertyDescriptor:function(t,e){return Jf(L(t),e)}}),Xe({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function(t){for(var e,n,r=L(t),i=Mt.f,a=ze(r),o={},s=0;a.length>s;)void 0!==(n=i(r,e=a[s++]))&&yn(o,e,n);return o}});var ed=Cn.f,nd=f((function(){return!Object.getOwnPropertyNames(1)}));Xe({target:"Object",stat:!0,forced:nd},{getOwnPropertyNames:ed});var rd=f((function(){Bi(1)}));Xe({target:"Object",stat:!0,forced:rd,sham:!Ni},{getPrototypeOf:function(t){return Bi(mt(t))}}),Xe({target:"Object",stat:!0},{hasOwn:vt});var id=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Xe({target:"Object",stat:!0},{is:id}),Xe({target:"Object",stat:!0,forced:Object.isExtensible!==bl},{isExtensible:bl});var ad=Object.isFrozen,od=f((function(){ad(1)}));Xe({target:"Object",stat:!0,forced:od||yl},{isFrozen:function(t){return!j(t)||(!(!yl||"ArrayBuffer"!=S(t))||!!ad&&ad(t))}});var sd=Object.isSealed,ud=f((function(){sd(1)}));Xe({target:"Object",stat:!0,forced:ud||yl},{isSealed:function(t){return!j(t)||(!(!yl||"ArrayBuffer"!=S(t))||!!sd&&sd(t))}});var cd=f((function(){sn(1)}));Xe({target:"Object",stat:!0,forced:cd},{keys:function(t){return sn(mt(t))}});var ld=Mt.f;d&&Xe({target:"Object",proto:!0,forced:jf},{__lookupGetter__:function(t){var e,n=mt(this),r=Ft(t);do{if(e=ld(n,r))return e.get}while(n=Bi(n))}});var hd=Mt.f;d&&Xe({target:"Object",proto:!0,forced:jf},{__lookupSetter__:function(t){var e,n=mt(this),r=Ft(t);do{if(e=hd(n,r))return e.set}while(n=Bi(n))}});var fd=_l.onFreeze,dd=Object.preventExtensions,pd=f((function(){dd(1)}));Xe({target:"Object",stat:!0,forced:pd,sham:!wl},{preventExtensions:function(t){return dd&&j(t)?dd(fd(t)):t}});var md=function(t,e,n){return n.get&&ve(n.get,e,{getter:!0}),n.set&&ve(n.set,e,{setter:!0}),$t.f(t,e,n)},gd=Object.getPrototypeOf,vd=Object.setPrototypeOf,Dd=Object.prototype,yd="__proto__";if(d&&gd&&vd&&!(yd in Dd))try{md(Dd,yd,{configurable:!0,get:function(){return gd(mt(this))},set:function(t){var e=R(this);(j(t)||null===t)&&j(e)&&vd(e,t)}})}catch($9){}var Ed=_l.onFreeze,bd=Object.seal,wd=f((function(){bd(1)}));Xe({target:"Object",stat:!0,forced:wd,sham:!wl},{seal:function(t){return bd&&j(t)?bd(Ed(t)):t}}),Xe({target:"Object",stat:!0},{setPrototypeOf:li});var _d=Je?{}.toString:function(){return"[object "+rn(this)+"]"};Je||De(Object.prototype,"toString",_d,{unsafe:!0});var Td=Zf.values;Xe({target:"Object",stat:!0},{values:function(t){return Td(t)}}),Xe({global:!0,forced:parseFloat!=nf},{parseFloat:nf}),Xe({global:!0,forced:parseInt!=lf},{parseInt:lf});var Cd,Ad,xd,Sd,kd=TypeError,Fd=function(t,e){if(tb)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")})),Pm=Me.f,Um=ge.enforce,zm=At("match"),jm=h.RegExp,qm=jm.prototype,Hm=h.SyntaxError,Gm=C(qm.exec),Wm=C("".charAt),Vm=C("".replace),Ym=C("".indexOf),Zm=C("".slice),$m=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Xm=/a/g,Km=/a/g,Qm=new jm(Xm)!==Xm,Jm=Om.MISSED_STICKY,tg=Om.UNSUPPORTED_Y,eg=d&&(!Qm||Jm||Lm||Mm||f((function(){return Km[zm]=!1,jm(Xm)!=Xm||jm(Km)==Km||"/a/i"!=jm(Xm,"i")})));if(Ze("RegExp",eg)){for(var ng=function(t,e){var n,r,i,a,o,s,u=G(qm,this),c=Cm(t),l=void 0===e,h=[],f=t;if(!u&&c&&l&&t.constructor===ng)return t;if((c||G(qm,t))&&(t=t.source,l&&(e=Sm(f))),t=void 0===t?"":on(t),e=void 0===e?"":on(e),f=t,Lm&&"dotAll"in Xm&&(r=!!e&&Ym(e,"s")>-1)&&(e=Vm(e,/s/g,"")),n=e,Jm&&"sticky"in Xm&&(i=!!e&&Ym(e,"y")>-1)&&tg&&(e=Vm(e,/y/g,"")),Mm&&(a=function(t){for(var e,n=t.length,r=0,i="",a=[],o={},s=!1,u=!1,c=0,l="";r<=n;r++){if("\\"===(e=Wm(t,r)))e+=Wm(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:Gm($m,Zm(t,r+1))&&(r+=2,u=!0),i+=e,c++;continue;case">"===e&&u:if(""===l||vt(o,l))throw new Hm("Invalid capture group name");o[l]=!0,a[a.length]=[l,c],u=!1,l="";continue}u?l+=e:i+=e}return[i,a]}(t),t=a[0],h=a[1]),o=di(jm(t,e),u?this:qm,ng),(r||i||h.length)&&(s=Um(o),r&&(s.dotAll=!0,s.raw=ng(function(t){for(var e,n=t.length,r=0,i="",a=!1;r<=n;r++)"\\"!==(e=Wm(t,r))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),i+=e):i+="[\\s\\S]":i+=e+Wm(t,++r);return i}(t),n)),i&&(s.sticky=!0),h.length&&(s.groups=h)),t!==f)try{Xt(o,"source",""===f?"(?:)":f)}catch(t){}return o},rg=Pm(jm),ig=0;rg.length>ig;)fi(ng,jm,rg[ig++]);qm.constructor=ng,ng.prototype=qm,De(h,"RegExp",ng,{constructor:!0})}As("RegExp");var ag=ge.get,og=RegExp.prototype,sg=TypeError;d&&Lm&&md(og,"dotAll",{configurable:!0,get:function(){if(this!==og){if("RegExp"===S(this))return!!ag(this).dotAll;throw sg("Incompatible receiver, RegExp required")}}});var ug=ge.get,cg=dt("native-string-replace",String.prototype.replace),lg=RegExp.prototype.exec,hg=lg,fg=C("".charAt),dg=C("".indexOf),pg=C("".replace),mg=C("".slice),gg=function(){var t=/a/,e=/b*/g;return g(lg,t,"a"),g(lg,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),vg=Om.BROKEN_CARET,Dg=void 0!==/()??/.exec("")[1];(gg||Dg||vg||Lm||Mm)&&(hg=function(t){var e,n,r,i,a,o,s,u=this,c=ug(u),l=on(t),h=c.raw;if(h)return h.lastIndex=u.lastIndex,e=g(hg,h,l),u.lastIndex=h.lastIndex,e;var f=c.groups,d=vg&&u.sticky,p=g(Am,u),m=u.source,v=0,D=l;if(d&&(p=pg(p,"y",""),-1===dg(p,"g")&&(p+="g"),D=mg(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==fg(l,u.lastIndex-1))&&(m="(?: "+m+")",D=" "+D,v++),n=new RegExp("^(?:"+m+")",p)),Dg&&(n=new RegExp("^"+m+"$(?!\\s)",p)),gg&&(r=u.lastIndex),i=g(lg,d?n:u,D),d?i?(i.input=mg(i.input,v),i[0]=mg(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:gg&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),Dg&&i&&i.length>1&&g(cg,i[0],n,(function(){for(a=1;a=0?r:n+r;return i<0||i>=n?void 0:Rg(e,i)}});var Bg=C("".charAt),Mg=C("".charCodeAt),Pg=C("".slice),Ug=function(t){return function(e,n){var r,i,a=on(R(e)),o=we(n),s=a.length;return o<0||o>=s?t?"":void 0:(r=Mg(a,o))<55296||r>56319||o+1===s||(i=Mg(a,o+1))<56320||i>57343?t?Bg(a,o):r:t?Pg(a,o,o+2):i-56320+(r-55296<<10)+65536}},zg={codeAt:Ug(!1),charAt:Ug(!0)},jg=zg.codeAt;Xe({target:"String",proto:!0},{codePointAt:function(t){return jg(this,t)}});var qg=TypeError,Hg=function(t){if(Cm(t))throw qg("The method doesn't accept regular expressions");return t},Gg=At("match"),Wg=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Gg]=!1,"/./"[t](e)}catch(t){}}return!1},Vg=Mt.f,Yg=Rn("".endsWith),Zg=Rn("".slice),$g=Math.min,Xg=Wg("endsWith"),Kg=!Xg&&!!function(){var t=Vg(String.prototype,"endsWith");return t&&!t.writable}();Xe({target:"String",proto:!0,forced:!Kg&&!Xg},{endsWith:function(t){var e=on(R(this));Hg(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,i=void 0===n?r:$g(xe(n),r),a=on(t);return Yg?Yg(e,a,i):Zg(e,i-a.length,i)===a}});var Qg=RangeError,Jg=String.fromCharCode,tv=String.fromCodePoint,ev=C([].join),nv=!!tv&&1!=tv.length;Xe({target:"String",stat:!0,arity:1,forced:nv},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],Ce(e,1114111)!==e)throw Qg(e+" is not a valid code point");n[i]=e<65536?Jg(e):Jg(55296+((e-=65536)>>10),e%1024+56320)}return ev(n,"")}});var rv=C("".indexOf);Xe({target:"String",proto:!0,forced:!Wg("includes")},{includes:function(t){return!!~rv(on(R(this)),on(Hg(t)),arguments.length>1?arguments[1]:void 0)}});var iv=zg.charAt,av="String Iterator",ov=ge.set,sv=ge.getterFor(av);bo(String,"String",(function(t){ov(this,{type:av,string:on(t),index:0})}),(function(){var t,e=sv(this),n=e.string,r=e.index;return r>=n.length?wo(void 0,!0):(t=iv(n,r),e.index+=t.length,wo(t,!1))}));var uv=At("species"),cv=RegExp.prototype,lv=function(t,e,n,r){var i=At(t),a=!f((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),o=a&&!f((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[uv]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!a||!o||n){var s=Rn(/./[i]),u=e(i,""[t],(function(t,e,n,r,i){var o=Rn(t),u=e.exec;return u===yg||u===cv.exec?a&&!i?{done:!0,value:s(e,n,r)}:{done:!0,value:o(n,e,r)}:{done:!1}}));De(String.prototype,t,u[0]),De(cv,i,u[1])}r&&Xt(cv[i],"sham",!0)},hv=zg.charAt,fv=function(t,e,n){return e+(n?hv(t,e).length:1)},dv=TypeError,pv=function(t,e){var n=t.exec;if(U(n)){var r=g(n,t,e);return null!==r&&jt(r),r}if("RegExp"===S(t))return g(yg,t,e);throw dv("RegExp#exec called on incompatible receiver")};lv("match",(function(t,e,n){return[function(e){var n=R(this),r=N(e)?void 0:at(e,t);return r?g(r,e,n):new RegExp(e)[t](on(n))},function(t){var r=jt(this),i=on(t),a=n(e,r,i);if(a.done)return a.value;if(!r.global)return pv(r,i);var o=r.unicode;r.lastIndex=0;for(var s,u=[],c=0;null!==(s=pv(r,i));){var l=on(s[0]);u[c]=l,""===l&&(r.lastIndex=fv(i,xe(r.lastIndex),o)),c++}return 0===c?null:u}]}));var mv=At("matchAll"),gv="RegExp String",vv=gv+" Iterator",Dv=ge.set,yv=ge.getterFor(vv),Ev=RegExp.prototype,bv=TypeError,wv=Rn("".indexOf),_v=Rn("".matchAll),Tv=!!_v&&!f((function(){_v("a",/./)})),Cv=lo((function(t,e,n,r){Dv(this,{type:vv,regexp:t,string:e,global:n,unicode:r,done:!1})}),gv,(function(){var t=yv(this);if(t.done)return wo(void 0,!0);var e=t.regexp,n=t.string,r=pv(e,n);return null===r?(t.done=!0,wo(void 0,!0)):t.global?(""===on(r[0])&&(e.lastIndex=fv(n,xe(e.lastIndex),t.unicode)),wo(r,!1)):(t.done=!0,wo(r,!1))})),Av=function(t){var e,n,r,i=jt(this),a=on(t),o=oc(i,RegExp),s=on(Sm(i));return e=new o(o===RegExp?i.source:i,s),n=!!~wv(s,"g"),r=!!~wv(s,"u"),e.lastIndex=xe(i.lastIndex),new Cv(e,a,n,r)};Xe({target:"String",proto:!0,forced:Tv},{matchAll:function(t){var e,n,r,i=R(this);if(N(t)){if(Tv)return _v(i,t)}else{if(Cm(t)&&(e=on(R(Sm(t))),!~wv(e,"g")))throw bv("`.matchAll` does not allow non-global regexes");if(Tv)return _v(i,t);if(r=at(t,mv))return g(r,t,i)}return n=on(i),new RegExp(t,"g")[mv](n)}}),mv in Ev||De(Ev,mv,Av);var xv=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(W),Sv=xc.end;Xe({target:"String",proto:!0,forced:xv},{padEnd:function(t){return Sv(this,t,arguments.length>1?arguments[1]:void 0)}});var kv=xc.start;Xe({target:"String",proto:!0,forced:xv},{padStart:function(t){return kv(this,t,arguments.length>1?arguments[1]:void 0)}});var Fv=C([].push),Iv=C([].join);Xe({target:"String",stat:!0},{raw:function(t){for(var e=L(mt(t).raw),n=Se(e),r=arguments.length,i=[],a=0;n>a;){if(Fv(i,on(e[a++])),a===n)return Iv(i,"");a]*>)/g,Mv=/\$([$&'`]|\d{1,2})/g,Pv=function(t,e,n,r,i,a){var o=n+t.length,s=r.length,u=Mv;return void 0!==i&&(i=mt(i),u=Bv),Rv(a,u,(function(a,u){var c;switch(Ov(u,0)){case"$":return"$";case"&":return t;case"`":return Lv(e,0,n);case"'":return Lv(e,o);case"<":c=i[Lv(u,1,-1)];break;default:var l=+u;if(0===l)return a;if(l>s){var h=Nv(l/10);return 0===h?a:h<=s?void 0===r[h-1]?Ov(u,1):r[h-1]+Ov(u,1):a}c=r[l-1]}return void 0===c?"":c}))},Uv=At("replace"),zv=Math.max,jv=Math.min,qv=C([].concat),Hv=C([].push),Gv=C("".indexOf),Wv=C("".slice),Vv="$0"==="a".replace(/./,"$0"),Yv=!!/./[Uv]&&""===/./[Uv]("a","$0"),Zv=!f((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}));lv("replace",(function(t,e,n){var r=Yv?"$":"$0";return[function(t,n){var r=R(this),i=N(t)?void 0:at(t,Uv);return i?g(i,t,r,n):g(e,on(r),t,n)},function(t,i){var a=jt(this),o=on(t);if("string"==typeof i&&-1===Gv(i,r)&&-1===Gv(i,"$<")){var s=n(e,a,o,i);if(s.done)return s.value}var u=U(i);u||(i=on(i));var c=a.global;if(c){var l=a.unicode;a.lastIndex=0}for(var h=[];;){var f=pv(a,o);if(null===f)break;if(Hv(h,f),!c)break;""===on(f[0])&&(a.lastIndex=fv(o,xe(a.lastIndex),l))}for(var d,p="",m=0,g=0;g=m&&(p+=Wv(o,m,D)+_,m=D+v.length)}return p+Wv(o,m)}]}),!Zv||!Vv||Yv);var $v=At("replace"),Xv=TypeError,Kv=C("".indexOf);C("".replace);var Qv=C("".slice),Jv=Math.max,tD=function(t,e,n){return n>t.length?-1:""===e?n:Kv(t,e,n)};Xe({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,i,a,o,s,u,c,l=R(this),h=0,f=0,d="";if(!N(t)){if(Cm(t)&&(n=on(R(Sm(t))),!~Kv(n,"g")))throw Xv("`.replaceAll` does not allow non-global regexes");if(r=at(t,$v))return g(r,t,l,e)}for(i=on(l),a=on(t),(o=U(e))||(e=on(e)),s=a.length,u=Jv(1,s),h=tD(i,a,0);-1!==h;)c=o?on(e(a,h,i)):Pv(a,i,h,[],void 0,e),d+=Qv(i,f,h)+c,f=h+s,h=tD(i,a,h+u);return f1||"".split(/.?/).length?function(t,n){var r=on(R(this)),i=void 0===n?nD:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!Cm(t))return g(e,r,t,i);for(var a,o,s,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,h=new RegExp(t.source,c+"g");(a=g(yg,h,r))&&!((o=h.lastIndex)>l&&(oD(u,sD(r,l,a.index)),a.length>1&&a.index=i));)h.lastIndex===a.index&&h.lastIndex++;return l===r.length?!s&&aD(h,"")||oD(u,""):oD(u,sD(r,l)),u.length>i?wn(u,0,i):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:g(e,this,t,n)}:e,[function(e,n){var i=R(this),a=N(e)?void 0:at(e,t);return a?g(a,e,i,n):g(r,on(i),e,n)},function(t,i){var a=jt(this),o=on(t),s=n(r,a,o,i,r!==e);if(s.done)return s.value;var u=oc(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(eD?"g":"y"),h=new u(eD?"^(?:"+a.source+")":a,l),f=void 0===i?nD:i>>>0;if(0===f)return[];if(0===o.length)return null===pv(h,o)?[o]:[];for(var d=0,p=0,m=[];p1?arguments[1]:void 0,e.length)),r=on(t);return lD?lD(e,r,n):hD(e,n,n+r.length)===r}});var mD=C("".slice),gD=Math.max,vD=Math.min,DD=!"".substr||"b"!=="ab".substr(-1);Xe({target:"String",proto:!0,forced:DD},{substr:function(t,e){var n,r,i=on(R(this)),a=i.length,o=we(t);return o===1/0&&(o=0),o<0&&(o=gD(a+o,0)),(n=void 0===e?a:we(e))<=0||n===1/0||o>=(r=vD(o+n,a))?"":mD(i,o,r)}});var yD=te.PROPER,ED=function(t){return f((function(){return!!Th[t]()||"​…᠎"!=="​…᠎"[t]()||yD&&Th[t].name!==t}))},bD=Fh.trim;Xe({target:"String",proto:!0,forced:ED("trim")},{trim:function(){return bD(this)}});var wD=Fh.end,_D=ED("trimEnd")?function(){return wD(this)}:"".trimEnd;Xe({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==_D},{trimRight:_D}),Xe({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==_D},{trimEnd:_D});var TD=Fh.start,CD=ED("trimStart")?function(){return TD(this)}:"".trimStart;Xe({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==CD},{trimLeft:CD}),Xe({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==CD},{trimStart:CD});var AD=/"/g,xD=C("".replace),SD=function(t,e,n,r){var i=on(R(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+xD(on(r),AD,""")+'"'),a+">"+i+""},kD=function(t){return f((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))};Xe({target:"String",proto:!0,forced:kD("anchor")},{anchor:function(t){return SD(this,"a","name",t)}}),Xe({target:"String",proto:!0,forced:kD("big")},{big:function(){return SD(this,"big","","")}}),Xe({target:"String",proto:!0,forced:kD("blink")},{blink:function(){return SD(this,"blink","","")}}),Xe({target:"String",proto:!0,forced:kD("bold")},{bold:function(){return SD(this,"b","","")}}),Xe({target:"String",proto:!0,forced:kD("fixed")},{fixed:function(){return SD(this,"tt","","")}}),Xe({target:"String",proto:!0,forced:kD("fontcolor")},{fontcolor:function(t){return SD(this,"font","color",t)}}),Xe({target:"String",proto:!0,forced:kD("fontsize")},{fontsize:function(t){return SD(this,"font","size",t)}}),Xe({target:"String",proto:!0,forced:kD("italics")},{italics:function(){return SD(this,"i","","")}}),Xe({target:"String",proto:!0,forced:kD("link")},{link:function(t){return SD(this,"a","href",t)}}),Xe({target:"String",proto:!0,forced:kD("small")},{small:function(){return SD(this,"small","","")}}),Xe({target:"String",proto:!0,forced:kD("strike")},{strike:function(){return SD(this,"strike","","")}}),Xe({target:"String",proto:!0,forced:kD("sub")},{sub:function(){return SD(this,"sub","","")}}),Xe({target:"String",proto:!0,forced:kD("sup")},{sup:function(){return SD(this,"sup","","")}});var FD=nc.NATIVE_ARRAY_BUFFER_VIEWS,ID=h.ArrayBuffer,ND=h.Int8Array,OD=!FD||!f((function(){ND(1)}))||!f((function(){new ND(-1)}))||!Ya((function(t){new ND,new ND(null),new ND(1.5),new ND(t)}),!0)||f((function(){return 1!==new ND(new ID(2),1,void 0).length})),RD=RangeError,LD=function(t){var e=we(t);if(e<0)throw RD("The argument can't be less than 0");return e},BD=RangeError,MD=function(t,e){var n=LD(t);if(n%e)throw BD("Wrong offset");return n},PD=C("".slice),UD=function(t){return"Big"===PD(rn(t),0,3)},zD=TypeError,jD=function(t){var e=kt(t,"number");if("number"==typeof e)throw zD("Can't convert number to bigint");return BigInt(e)},qD=nc.aTypedArrayConstructor,HD=function(t){var e,n,r,i,a,o,s,u,c=ic(this),l=mt(t),h=arguments.length,f=h>1?arguments[1]:void 0,d=void 0!==f,p=qi(l);if(p&&!zi(p))for(u=(s=Gi(l,p)).next,l=[];!(o=g(u,s)).done;)l.push(o.value);for(d&&h>2&&(f=Bn(f,arguments[2])),n=Se(l),r=new(qD(c))(n),i=UD(r),e=0;n>e;e++)a=d?f(l[e],e):l[e],r[e]=i?jD(a):+a;return r},GD=o((function(t){var e=Me.f,n=Qn.forEach,r=ge.get,i=ge.set,a=ge.enforce,o=$t.f,s=Mt.f,u=Math.round,c=h.RangeError,l=ku.ArrayBuffer,f=l.prototype,p=ku.DataView,m=nc.NATIVE_ARRAY_BUFFER_VIEWS,v=nc.TYPED_ARRAY_TAG,D=nc.TypedArray,y=nc.TypedArrayPrototype,E=nc.aTypedArrayConstructor,w=nc.isTypedArray,_="BYTES_PER_ELEMENT",T="Wrong length",C=function(t,e){E(t);for(var n=0,r=e.length,i=new t(r);r>n;)i[n]=e[n++];return i},A=function(t,e){o(t,e,{get:function(){return r(this)[e]}})},x=function(t){var e;return G(f,t)||"ArrayBuffer"==(e=rn(t))||"SharedArrayBuffer"==e},S=function(t,e){return w(t)&&!tt(e)&&e in t&&$h(+e)&&e>=0},k=function(t,e){return e=Ft(e),S(t,e)?b(2,t[e]):s(t,e)},F=function(t,e,n){return e=Ft(e),!(S(t,e)&&j(n)&&vt(n,"value"))||vt(n,"get")||vt(n,"set")||n.configurable||vt(n,"writable")&&!n.writable||vt(n,"enumerable")&&!n.enumerable?o(t,e,n):(t[e]=n.value,t)};d?(m||(Mt.f=k,$t.f=F,A(y,"buffer"),A(y,"byteOffset"),A(y,"byteLength"),A(y,"length")),Xe({target:"Object",stat:!0,forced:!m},{getOwnPropertyDescriptor:k,defineProperty:F}),t.exports=function(t,s,f){var d=t.match(/\d+$/)[0]/8,E=t+(f?"Clamped":"")+"Array",b="get"+t,A="set"+t,S=h[E],k=S,F=k&&k.prototype,I={},N=function(t,e){o(t,e,{get:function(){return function(t,e){var n=r(t);return n.view[b](e*d+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=r(t);f&&(n=(n=u(n))<0?0:n>255?255:255&n),i.view[A](e*d+i.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};m?OD&&(k=s((function(t,e,n,r){return Ls(t,F),di(j(e)?x(e)?void 0!==r?new S(e,MD(n,d),r):void 0!==n?new S(e,MD(n,d)):new S(e):w(e)?C(k,e):g(HD,k,e):new S(Ms(e)),t,k)})),li&&li(k,D),n(e(S),(function(t){t in k||Xt(k,t,S[t])})),k.prototype=F):(k=s((function(t,e,n,r){Ls(t,F);var a,o,s,u=0,h=0;if(j(e)){if(!x(e))return w(e)?C(k,e):g(HD,k,e);a=e,h=MD(n,d);var f=e.byteLength;if(void 0===r){if(f%d)throw c(T);if((o=f-h)<0)throw c(T)}else if((o=xe(r)*d)+h>f)throw c(T);s=o/d}else s=Ms(e),a=new l(o=s*d);for(i(t,{buffer:a,byteOffset:h,byteLength:o,length:s,view:new p(a)});u=0?r:n+r;return i<0||i>=n?void 0:e[i]}));var VD=C(ya),YD=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("copyWithin",(function(t,e){return VD(YD(this),t,e,arguments.length>2?arguments[2]:void 0)}));var ZD=Qn.every,$D=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("every",(function(t){return ZD($D(this),t,arguments.length>1?arguments[1]:void 0)}));var XD=nc.aTypedArray,KD=nc.exportTypedArrayMethod,QD=C("".slice);KD("fill",(function(t){var e=arguments.length;XD(this);var n="Big"===QD(rn(this),0,3)?jD(t):+t;return g(_a,this,n,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),f((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})));var JD=function(t,e){for(var n=0,r=Se(e),i=new t(r);r>n;)i[n]=e[n++];return i},ty=nc.aTypedArrayConstructor,ey=nc.getTypedArrayConstructor,ny=function(t){return ty(oc(t,ey(t)))},ry=function(t,e){return JD(ny(t),e)},iy=Qn.filter,ay=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("filter",(function(t){var e=iy(ay(this),t,arguments.length>1?arguments[1]:void 0);return ry(this,e)}));var oy=Qn.find,sy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("find",(function(t){return oy(sy(this),t,arguments.length>1?arguments[1]:void 0)}));var uy=Qn.findIndex,cy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("findIndex",(function(t){return uy(cy(this),t,arguments.length>1?arguments[1]:void 0)}));var ly=Oa.findLast,hy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("findLast",(function(t){return ly(hy(this),t,arguments.length>1?arguments[1]:void 0)}));var fy=Oa.findLastIndex,dy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("findLastIndex",(function(t){return fy(dy(this),t,arguments.length>1?arguments[1]:void 0)}));var py=Qn.forEach,my=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("forEach",(function(t){py(my(this),t,arguments.length>1?arguments[1]:void 0)})),(0,nc.exportTypedArrayStaticMethod)("from",HD,OD);var gy=Fe.includes,vy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("includes",(function(t){return gy(vy(this),t,arguments.length>1?arguments[1]:void 0)}));var Dy=Fe.indexOf,yy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("indexOf",(function(t){return Dy(yy(this),t,arguments.length>1?arguments[1]:void 0)}));var Ey=At("iterator"),by=h.Uint8Array,wy=C(xo.values),_y=C(xo.keys),Ty=C(xo.entries),Cy=nc.aTypedArray,Ay=nc.exportTypedArrayMethod,xy=by&&by.prototype,Sy=!f((function(){xy[Ey].call([1])})),ky=!!xy&&xy.values&&xy[Ey]===xy.values&&"values"===xy.values.name,Fy=function(){return wy(Cy(this))};Ay("entries",(function(){return Ty(Cy(this))}),Sy),Ay("keys",(function(){return _y(Cy(this))}),Sy),Ay("values",Fy,Sy||!ky,{name:"values"}),Ay(Ey,Fy,Sy||!ky,{name:"values"});var Iy=nc.aTypedArray,Ny=nc.exportTypedArrayMethod,Oy=C([].join);Ny("join",(function(t){return Oy(Iy(this),t)}));var Ry=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return Rr(Bo,Ry(this),e>1?[t,arguments[1]]:[t])}));var Ly=Qn.map,By=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("map",(function(t){return Ly(By(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(ny(t))(e)}))}));var My=nc.aTypedArrayConstructor;(0,nc.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(My(this))(e);e>t;)n[t]=arguments[t++];return n}),OD);var Py=Zo.left,Uy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return Py(Uy(this),t,e,e>1?arguments[1]:void 0)}));var zy=Zo.right,jy=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return zy(jy(this),t,e,e>1?arguments[1]:void 0)}));var qy=nc.aTypedArray,Hy=nc.exportTypedArrayMethod,Gy=Math.floor;Hy("reverse",(function(){for(var t,e=this,n=qy(e).length,r=Gy(n/2),i=0;i1?arguments[1]:void 0,1),n=mt(t);if(Ky)return g(Zy,this,n,e);var r=this.length,i=Se(n),a=0;if(i+e>r)throw Wy("Wrong length");for(;ai;)o[i]=n[i++];return o}),f((function(){new Int8Array(1).slice()})));var tE=Qn.some,eE=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("some",(function(t){return tE(eE(this),t,arguments.length>1?arguments[1]:void 0)}));var nE=nc.aTypedArray,rE=nc.exportTypedArrayMethod,iE=h.Uint16Array,aE=iE&&Rn(iE.prototype.sort),oE=!(!aE||f((function(){aE(new iE(2),null)}))&&f((function(){aE(new iE(2),{})}))),sE=!!aE&&!f((function(){if(X)return X<74;if(ps)return ps<67;if(ms)return!0;if(vs)return vs<602;var t,e,n=new iE(516),r=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,r[t]=t-2*e+3;for(aE(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==r[t])return!0}));rE("sort",(function(t){return void 0!==t&&it(t),sE?aE(this,t):fs(nE(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!sE||oE);var uE=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("subarray",(function(t,e){var n=uE(this),r=n.length,i=Ce(t,r);return new(ny(n))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,xe((void 0===e?r:Ce(e,r))-i))}));var cE=h.Int8Array,lE=nc.aTypedArray,hE=nc.exportTypedArrayMethod,fE=[].toLocaleString,dE=!!cE&&f((function(){fE.call(new cE(1))}));hE("toLocaleString",(function(){return Rr(fE,dE?Lr(lE(this)):lE(this),Lr(arguments))}),f((function(){return[1,2].toLocaleString()!=new cE([1,2]).toLocaleString()}))||!f((function(){cE.prototype.toLocaleString.call([1,2])})));var pE=nc.exportTypedArrayMethod,mE=h.Uint8Array,gE=mE&&mE.prototype||{},vE=[].toString,DE=C([].join);f((function(){vE.call({})}))&&(vE=function(){return DE(this)});var yE=gE.toString!=vE;pE("toString",vE,yE);var EE=String.fromCharCode,bE=C("".charAt),wE=C(/./.exec),_E=C("".slice),TE=/^[\da-f]{2}$/i,CE=/^[\da-f]{4}$/i;Xe({global:!0},{unescape:function(t){for(var e,n,r=on(t),i="",a=r.length,o=0;o3?arguments[3]:void 0,a=G(ab,this);return li?r=li(rb(),a?Bi(this):ab):(r=a?this:Dn(ab),Xt(r,nb,"Error")),void 0!==n&&Xt(r,"message",pi(n)),wi&&Xt(r,"stack",bi(r.stack,1)),mi(r,i),Xt(r,"error",t),Xt(r,"suppressed",e),r};li?li(ib,rb):je(ib,rb,{name:!0});var ab=ib.prototype=Dn(rb.prototype,{constructor:b(1,ib),message:b(1,""),name:b(1,"SuppressedError")});Xe({global:!0,constructor:!0,arity:3},{SuppressedError:ib});var ob,sb,ub="USE_FUNCTION_CONSTRUCTOR",cb=At("asyncIterator"),lb=h.AsyncIterator,hb=ft.AsyncIteratorPrototype;if(hb)ob=hb;else if(U(lb))ob=lb.prototype;else if(ft[ub]||h[ub])try{sb=Bi(Bi(Bi(Function("return async function*(){}()")()))),Bi(sb)===Object.prototype&&(ob=sb)}catch(Q9){}ob||(ob={}),U(ob[cb])||De(ob,cb,(function(){return this}));var fb=ob,db=H("Promise"),pb="AsyncFromSyncIterator",mb=ge.set,gb=ge.getterFor(pb),vb=function(t,e,n){var r=t.done;db.resolve(t.value).then((function(t){e(wo(t,r))}),n)},Db=function(t){t.type=pb,mb(this,t)};Db.prototype=Os(Dn(fb),{next:function(){var t=gb(this);return new db((function(e,n){var r=jt(g(t.next,t.iterator));vb(r,e,n)}))},return:function(){var t=gb(this).iterator;return new db((function(e,n){var r=at(t,"return");if(void 0===r)return e(wo(void 0,!0));var i=jt(g(r,t));vb(i,e,n)}))}});var yb=Db,Eb=function(t){return{iterator:t,next:it(jt(t).next)}},bb=At("asyncIterator"),wb=function(t,e){var n=arguments.length<2?at(t,bb):e;return n?jt(g(n,t)):new yb(Eb(Gi(t)))},_b=function(t){return h[t].prototype},Tb=function(t,e,n,r){try{var i=at(t,"return");if(i)return H("Promise").resolve(g(i,t)).then((function(){e(n)}),(function(t){r(t)}))}catch(t){return r(t)}e(n)},Cb=function(t){var e=0==t,n=1==t,r=2==t,i=3==t;return function(t,a,o){var s=Eb(t),u=H("Promise"),c=s.iterator,l=s.next,h=0,f=void 0!==a;return!f&&e||it(a),new u((function(t,s){var d=function(t){Tb(c,s,t,s)},p=function(){try{if(f)try{ca(h)}catch(t){d(t)}u.resolve(jt(g(l,c))).then((function(l){try{if(jt(l).done)e?(o.length=h,t(o)):t(!i&&(r||void 0));else{var m=l.value;try{if(f){var g=a(m,h),v=function(a){if(n)p();else if(r)a?p():Tb(c,t,!1,s);else if(e)try{o[h++]=a,p()}catch(t){d(t)}else a?Tb(c,t,i||m,s):p()};j(g)?u.resolve(g).then(v,d):v(g)}else o[h++]=m,p()}catch(t){d(t)}}}catch(t){s(t)}}),s)}catch(t){s(t)}};p()}))}},Ab={toArray:Cb(0),forEach:Cb(1),every:Cb(2),some:Cb(3),find:Cb(4)},xb=Ab.toArray,Sb=At("asyncIterator"),kb=C(_b("Array").values),Fb=C(kb([]).next),Ib=function(){return new Nb(this)},Nb=function(t){this.iterator=kb(t)};Nb.prototype.next=function(){return Fb(this.iterator)};var Ob=function(t){var e=this,n=arguments.length,r=n>1?arguments[1]:void 0,i=n>2?arguments[2]:void 0;return new(H("Promise"))((function(n){var a=mt(t);void 0!==r&&(r=Bn(r,i));var o=at(a,Sb),s=o?void 0:qi(a)||Ib,u=Vn(e)?new e:[],c=o?wb(a,o):new yb(Eb(Gi(a,s)));n(xb(c,r,u))}))};Xe({target:"Array",stat:!0},{fromAsync:Ob});var Rb=Qn.filterReject;Xe({target:"Array",proto:!0,forced:!0},{filterOut:function(t){return Rb(this,t,arguments.length>1?arguments[1]:void 0)}}),sa("filterOut");var Lb=Qn.filterReject;Xe({target:"Array",proto:!0,forced:!0},{filterReject:function(t){return Lb(this,t,arguments.length>1?arguments[1]:void 0)}}),sa("filterReject");var Bb=Array,Mb=C([].push),Pb=function(t,e,n,r){for(var i,a,o,s=mt(t),u=I(s),c=Bn(e,n),l=Dn(null),h=Se(u),f=0;h>f;f++)o=u[f],(a=Ft(c(o,f,s)))in l?Mb(l[a],o):l[a]=[o];if(r&&(i=r(s))!==Bb)for(a in l)l[a]=JD(i,l[a]);return l};Xe({target:"Array",proto:!0},{group:function(t){var e=arguments.length>1?arguments[1]:void 0;return Pb(this,t,e)}}),sa("group"),Xe({target:"Array",proto:!0,forced:!Ea("groupBy")},{groupBy:function(t){var e=arguments.length>1?arguments[1]:void 0;return Pb(this,t,e)}}),sa("groupBy");var Ub=Map.prototype,zb={Map:Map,set:C(Ub.set),get:C(Ub.get),has:C(Ub.has),remove:C(Ub.delete),proto:Ub},jb=zb.Map,qb=zb.get,Hb=zb.has,Gb=zb.set,Wb=C([].push),Vb=function(t){for(var e,n,r=mt(this),i=I(r),a=Bn(t,arguments.length>1?arguments[1]:void 0),o=new jb,s=Se(i),u=0;s>u;u++)e=a(n=i[u],u,r),Hb(o,e)?Wb(qb(o,e),n):Gb(o,e,[n]);return o};Xe({target:"Array",proto:!0,name:"groupToMap",forced:!Ea("groupByToMap")},{groupByToMap:Vb}),sa("groupByToMap"),Xe({target:"Array",proto:!0,forced:ut},{groupToMap:Vb}),sa("groupToMap");var Yb=Object.isFrozen,Zb=function(t,e){if(!Yb||!Mn(t)||!Yb(t))return!1;for(var n,r=0,i=t.length;r=i||o<0)throw pw("Incorrect index");for(var s=new e(i),u=0;ut,u=!1;if(void 0===n)o=void 0;else if(j(n))o=n.step,u=!!n.inclusive;else{if(typeof n!=r)throw T_(y_);o=n}if(N(o)&&(o=s?a:-a),typeof o!=r)throw T_(y_);if(o===1/0||o===-1/0||o===i&&t!==e)throw __(y_);b_(this,{type:E_,start:t,end:e,step:o,inclusiveEnd:u,hitsEnd:t!=t||e!=e||o!=o||e>t!=o>i,currentCount:i,zero:i}),d||(this.start=t,this.end=e,this.step=o,this.inclusive=u)}),E_,(function(){var t=w_(this);if(t.hitsEnd)return wo(void 0,!0);var e=t.start,n=t.end,r=e+t.step*t.currentCount++;r===n&&(t.hitsEnd=!0);var i=t.inclusiveEnd;return(n>e?i?r>n:r>=n:i?n>r:n>=r)?(t.hitsEnd=!0,wo(void 0,!0)):wo(r,!1)})),A_=function(t){return{get:t,set:function(){},configurable:!0,enumerable:!1}};d&&D_(C_.prototype,{start:A_((function(){return w_(this).start})),end:A_((function(){return w_(this).end})),inclusive:A_((function(){return w_(this).inclusiveEnd})),step:A_((function(){return w_(this).step}))});var x_=C_;"function"==typeof BigInt&&Xe({target:"BigInt",stat:!0,forced:!0},{range:function(t,e,n){return new x_(t,e,n,"bigint",BigInt(0),BigInt(1))}});var S_=Object,k_=TypeError,F_=H("Map"),I_=H("WeakMap"),N_=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=Dn(null)};N_.prototype.get=function(t,e){return this[t]||(this[t]=e())},N_.prototype.next=function(t,e,n){var r=n?this.objectsByIndex[t]||(this.objectsByIndex[t]=new I_):this.primitives||(this.primitives=new F_),i=r.get(e);return i||r.set(e,i=new N_),i};var O_=new N_,R_=function(){var t,e,n=O_,r=arguments.length;for(t=0;t1?arguments[1]:void 0);return!1!==uw(e,(function(t,r){if(!n(t,r,e))return!1}),!0)}});var LT=zb.Map,BT=zb.set;Xe({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=FT(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=new LT;return uw(e,(function(t,i){n(t,i,e)&&BT(r,i,t)})),r}}),Xe({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=FT(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=uw(e,(function(t,r){if(n(t,r,e))return{value:t}}),!0);return r&&r.value}}),Xe({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=FT(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=uw(e,(function(t,r){if(n(t,r,e))return{key:r}}),!0);return r&&r.key}});var MT=[].push,PT=function(t){var e,n,r,i,a=arguments.length,o=a>1?arguments[1]:void 0;return ic(this),(e=void 0!==o)&&it(o),N(t)?new this:(n=[],e?(r=0,i=Bn(o,a>2?arguments[2]:void 0),$i(t,(function(t){g(MT,n,i(t,r++))}))):$i(t,MT,{that:n}),new this(n))};Xe({target:"Map",stat:!0,forced:!0},{from:PT});var UT=zb.Map,zT=C([].push);Xe({target:"Map",stat:!0,forced:!0},{groupBy:function(t,e){var n=new(U(this)?this:UT);it(e);var r=it(n.has),i=it(n.get),a=it(n.set);return $i(t,(function(t){var o=e(t);g(r,n,o)?zT(g(i,n,o),t):g(a,n,o,[t])})),n}});Xe({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===uw(FT(this),(function(e){if(function(t,e){return t===e||t!=t&&e!=e}(e,t))return!0}),!0)}});var jT=zb.Map;Xe({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var n=new(U(this)?this:jT);it(e);var r=it(n.set);return $i(t,(function(t){g(r,n,e(t),t)})),n}}),Xe({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=uw(FT(this),(function(e,n){if(e===t)return{key:n}}),!0);return e&&e.key}});var qT=zb.Map,HT=zb.set;Xe({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=FT(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=new qT;return uw(e,(function(t,i){HT(r,n(t,i,e),t)})),r}});var GT=zb.Map,WT=zb.set;Xe({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=FT(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=new GT;return uw(e,(function(t,i){WT(r,i,n(t,i,e))})),r}});var VT=zb.set;Xe({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=FT(this),n=arguments.length,r=0;r1?arguments[1]:void 0);return!0===uw(e,(function(t,r){if(n(t,r,e))return!0}),!0)}});var $T=TypeError,XT=zb.get,KT=zb.has,QT=zb.set;Xe({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var n=FT(this),r=arguments.length;it(e);var i=KT(n,t);if(!i&&r<3)throw $T("Updating absent value");var a=i?XT(n,t):it(r>2?arguments[2]:void 0)(t,n);return QT(n,t,e(a,t,n)),n}});var JT=TypeError,tC=function(t,e){var n,r=jt(this),i=it(r.get),a=it(r.has),o=it(r.set),s=arguments.length>2?arguments[2]:void 0;if(!U(e)&&!U(s))throw JT("At least one callback required");return g(a,r,t)?(n=g(i,r,t),U(e)&&(n=e(n),g(o,r,t,n))):U(s)&&(n=s(),g(o,r,t,n)),n};Xe({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:tC}),Xe({target:"Map",proto:!0,real:!0,forced:!0},{upsert:tC});var eC=Math.min,nC=Math.max;Xe({target:"Math",stat:!0,forced:!0},{clamp:function(t,e,n){return eC(n,nC(e,t))}}),Xe({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180});var rC=180/Math.PI;Xe({target:"Math",stat:!0,forced:!0},{degrees:function(t){return t*rC}});var iC=Math.scale||function(t,e,n,r,i){var a=+t,o=+e,s=+n,u=+r,c=+i;return a!=a||o!=o||s!=s||u!=u||c!=c?NaN:a===1/0||a===-1/0?a:(a-o)*(c-u)/(s-o)+u};Xe({target:"Math",stat:!0,forced:!0},{fscale:function(t,e,n,r,i){return oh(iC(t,e,n,r,i))}}),Xe({target:"Math",stat:!0,forced:!0},{iaddh:function(t,e,n,r){var i=t>>>0,a=n>>>0;return(e>>>0)+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}}),Xe({target:"Math",stat:!0,forced:!0},{imulh:function(t,e){var n=65535,r=+t,i=+e,a=r&n,o=i&n,s=r>>16,u=i>>16,c=(s*o>>>0)+(a*o>>>16);return s*u+(c>>16)+((a*u>>>0)+(c&n)>>16)}}),Xe({target:"Math",stat:!0,forced:!0},{isubh:function(t,e,n,r){var i=t>>>0,a=n>>>0;return(e>>>0)-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}}),Xe({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI});var aC=Math.PI/180;Xe({target:"Math",stat:!0,forced:!0},{radians:function(t){return t*aC}}),Xe({target:"Math",stat:!0,forced:!0},{scale:iC});var oC="Seeded Random",sC=oC+" Generator",uC=ge.set,cC=ge.getterFor(sC),lC=TypeError,hC=lo((function(t){uC(this,{type:sC,seed:t%2147483647})}),oC,(function(){var t=cC(this),e=t.seed=(1103515245*t.seed+12345)%2147483647;return wo((1073741823&e)/1073741823,!1)}));Xe({target:"Math",stat:!0,forced:!0},{seededPRNG:function(t){var e=jt(t).seed;if(!Yh(e))throw lC('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new hC(e)}}),Xe({target:"Math",stat:!0,forced:!0},{signbit:function(t){var e=+t;return e==e&&0==e?1/e==-1/0:e<0}}),Xe({target:"Math",stat:!0,forced:!0},{umulh:function(t,e){var n=65535,r=+t,i=+e,a=r&n,o=i&n,s=r>>>16,u=i>>>16,c=(s*o>>>0)+(a*o>>>16);return s*u+(c>>>16)+((a*u>>>0)+(c&n)>>>16)}});var fC="Invalid number representation",dC=RangeError,pC=SyntaxError,mC=TypeError,gC=/^[\da-z]+$/,vC=C("".charAt),DC=C(gC.exec),yC=C(1..toString),EC=C("".slice);Xe({target:"Number",stat:!0,forced:!0},{fromString:function(t,e){var n,r,i=1;if("string"!=typeof t)throw mC(fC);if(!t.length)throw pC(fC);if("-"==vC(t,0)&&(i=-1,!(t=EC(t,1)).length))throw pC(fC);if((n=void 0===e?10:we(e))<2||n>36)throw dC("Invalid radix");if(!DC(gC,t)||yC(r=lf(t,n),n)!==t)throw pC(fC);return i*r}}),Xe({target:"Number",stat:!0,forced:!0},{range:function(t,e,n){return new x_(t,e,n,"number",0,1)}});var bC="Object Iterator",wC=ge.set,_C=ge.getterFor(bC),TC=lo((function(t,e){var n=mt(t);wC(this,{type:bC,mode:e,object:n,keys:sn(n),index:0})}),"Object",(function(){for(var t=_C(this),e=t.keys;;){if(null===e||t.index>=e.length)return t.object=t.keys=null,wo(void 0,!0);var n=e[t.index++],r=t.object;if(vt(r,n)){switch(t.mode){case"keys":return wo(n,!1);case"values":return wo(r[n],!1)}return wo([n,r[n]],!1)}}}));Xe({target:"Object",stat:!0,forced:!0},{iterateEntries:function(t){return new TC(t,"entries")}}),Xe({target:"Object",stat:!0,forced:!0},{iterateKeys:function(t){return new TC(t,"keys")}}),Xe({target:"Object",stat:!0,forced:!0},{iterateValues:function(t){return new TC(t,"values")}});var CC=At("observable"),AC=h.Observable,xC=AC&&AC.prototype,SC=!(U(AC)&&U(AC.from)&&U(AC.of)&&U(xC.subscribe)&&U(xC[CC])),kC=At("observable"),FC="Observable",IC="Subscription",NC="SubscriptionObserver",OC=ge.getterFor,RC=ge.set,LC=OC(FC),BC=OC(IC),MC=OC(NC),PC=function(t){this.observer=jt(t),this.cleanup=void 0,this.subscriptionObserver=void 0};PC.prototype={type:IC,clean:function(){var t=this.cleanup;if(t){this.cleanup=void 0;try{t()}catch(t){fp(t)}}},close:function(){if(!d){var t=this.facade,e=this.subscriptionObserver;t.closed=!0,e&&(e.closed=!0)}this.observer=void 0},isClosed:function(){return void 0===this.observer}};var UC=function(t,e){var n,r=RC(this,new PC(t));d||(this.closed=!1);try{(n=at(t,"start"))&&g(n,t,this)}catch(t){fp(t)}if(!r.isClosed()){var i=r.subscriptionObserver=new zC(r);try{var a=e(i),o=a;N(a)||(r.cleanup=U(a.unsubscribe)?function(){o.unsubscribe()}:it(a))}catch(t){return void i.error(t)}r.isClosed()&&r.clean()}};UC.prototype=Os({},{unsubscribe:function(){var t=BC(this);t.isClosed()||(t.close(),t.clean())}}),d&&md(UC.prototype,"closed",{configurable:!0,get:function(){return BC(this).isClosed()}});var zC=function(t){RC(this,{type:NC,subscriptionState:t}),d||(this.closed=!1)};zC.prototype=Os({},{next:function(t){var e=MC(this).subscriptionState;if(!e.isClosed()){var n=e.observer;try{var r=at(n,"next");r&&g(r,n,t)}catch(t){fp(t)}}},error:function(t){var e=MC(this).subscriptionState;if(!e.isClosed()){var n=e.observer;e.close();try{var r=at(n,"error");r?g(r,n,t):fp(t)}catch(t){fp(t)}e.clean()}},complete:function(){var t=MC(this).subscriptionState;if(!t.isClosed()){var e=t.observer;t.close();try{var n=at(e,"complete");n&&g(n,e)}catch(t){fp(t)}t.clean()}}}),d&&md(zC.prototype,"closed",{configurable:!0,get:function(){return MC(this).subscriptionState.isClosed()}});var jC=function(t){Ls(this,qC),RC(this,{type:FC,subscriber:it(t)})},qC=jC.prototype;Os(qC,{subscribe:function(t){var e=arguments.length;return new UC(U(t)?{next:t,error:e>1?arguments[1]:void 0,complete:e>2?arguments[2]:void 0}:j(t)?t:{},LC(this).subscriber)}}),De(qC,kC,(function(){return this})),Xe({global:!0,constructor:!0,forced:SC},{Observable:jC}),As(FC);var HC=At("observable");Xe({target:"Observable",stat:!0,forced:SC},{from:function(t){var e=Vn(this)?this:H("Observable"),n=at(jt(t),HC);if(n){var r=jt(g(n,t));return r.constructor===e?r:new e((function(t){return r.subscribe(t)}))}var i=Gi(t);return new e((function(t){$i(i,(function(e,n){if(t.next(e),t.closed)return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),t.complete()}))}});var GC=H("Array");Xe({target:"Observable",stat:!0,forced:SC},{of:function(){for(var t=Vn(this)?this:H("Observable"),e=arguments.length,n=GC(e),r=0;r1?arguments[1]:void 0);return!1!==RA(e,(function(t){if(!n(t,t,e))return!1}),!0)}});var XA=TA.Set,KA=TA.add;Xe({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=AA(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=new XA;return RA(e,(function(t){n(t,t,e)&&KA(r,t)})),r}}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=AA(this),n=Bn(t,arguments.length>1?arguments[1]:void 0),r=RA(e,(function(t){if(n(t,t,e))return{value:t}}),!0);return r&&r.value}}),Xe({target:"Set",stat:!0,forced:!0},{from:PT});var QA=TA.Set,JA=TA.add,tx=TA.has,ex=TA.$has,nx=TA.$keys,rx=function(t){var e,n=AA(this),r=jA(t),i=new QA;if(((e=r).has!==ex||e.keys!==nx)&&PA(n)>r.size){if(nw(r.getIterator(),(function(t){tx(n,t)&&JA(i,t)})),PA(i)<2)return i;var a=i;i=new QA,RA(n,(function(t){tx(a,t)&&JA(i,t)}))}else RA(n,(function(t){r.includes(t)&&JA(i,t)}));return i};Xe({target:"Set",proto:!0,real:!0,forced:!WA("intersection")},{intersection:rx}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return g(rx,this,$A(t))}});var ix=TA.has,ax=function(t){var e=AA(this),n=jA(t);return!1!==(PA(e)<=n.size?RA(e,(function(t){if(n.includes(t))return!1}),!0):nw(n.getIterator(),(function(t){if(ix(e,t))return!1})))};Xe({target:"Set",proto:!0,real:!0,forced:!WA("isDisjointFrom")},{isDisjointFrom:ax}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return g(ax,this,$A(t))}});var ox=function(t){var e=AA(this),n=jA(t);return!(PA(e)>n.size)&&!1!==RA(e,(function(t){if(!n.includes(t))return!1}),!0)};Xe({target:"Set",proto:!0,real:!0,forced:!WA("isSubsetOf")},{isSubsetOf:ox}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return g(ox,this,$A(t))}});var sx=TA.has,ux=function(t){var e=AA(this),n=jA(t);return!(PA(e)1?arguments[1]:void 0),r=new hx;return RA(e,(function(t){fx(r,n(t,t,e))})),r}}),Xe({target:"Set",stat:!0,forced:!0},{of:YT});var dx=TypeError;Xe({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=AA(this),n=arguments.length<2,r=n?void 0:arguments[1];if(it(t),RA(e,(function(i){n?(n=!1,r=i):r=t(r,i,i,e)})),n)throw dx("Reduce of empty set with no initial value");return r}}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=AA(this),n=Bn(t,arguments.length>1?arguments[1]:void 0);return!0===RA(e,(function(t){if(n(t,t,e))return!0}),!0)}});var px=TA.add,mx=TA.has,gx=TA.remove,vx=function(t){var e=AA(this),n=jA(t).getIterator(),r=MA(e);return nw(n,(function(t){mx(e,t)?gx(r,t):px(r,t)})),r};Xe({target:"Set",proto:!0,real:!0,forced:!WA("symmetricDifference")},{symmetricDifference:vx}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return g(vx,this,$A(t))}});var Dx=TA.add,yx=function(t){var e=AA(this),n=jA(t).getIterator(),r=MA(e);return nw(n,(function(t){Dx(r,t)})),r};Xe({target:"Set",proto:!0,real:!0,forced:!WA("union")},{union:yx}),Xe({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return g(yx,this,$A(t))}});var Ex=zg.charAt;Xe({target:"String",proto:!0,forced:!0},{at:function(t){var e=on(R(this)),n=e.length,r=we(t),i=r>=0?r:n+r;return i<0||i>=n?void 0:Ex(e,i)}});var bx=TypeError,wx=C([].push),_x=C([].join),Tx=function(t){for(var e=L(t),n=Se(e),r=arguments.length,i=[],a=0;;){var o=e[a++];if(void 0===o)throw bx("Incorrect template");if(wx(i,on(o)),a===n)return _x(i,"");a=n.length?wo(void 0,!0):(t=Ax(n,r),e.index+=t.length,wo({codePoint:Cx(t,0),position:r},!1))}));Xe({target:"String",proto:!0,forced:!0},{codePoints:function(){return new Fx(on(R(this)))}});var Ix=String.fromCharCode,Nx=H("String","fromCodePoint"),Ox=C("".charAt),Rx=C("".charCodeAt),Lx=C("".indexOf),Bx=C("".slice),Mx=function(t,e){var n=Rx(t,e);return n>=48&&n<=57},Px=function(t,e,n){if(n>=t.length)return-1;for(var r=0;e=48&&t<=57?t-48:t>=97&&t<=102?t-97+10:t>=65&&t<=70?t-65+10:-1},zx=function(t){for(var e,n="",r=0,i=0;(i=Lx(t,"\\",i))>-1;){if(n+=Bx(t,r,i),++i===t.length)return;var a=Ox(t,i++);switch(a){case"b":n+="\b";break;case"t":n+="\t";break;case"n":n+="\n";break;case"v":n+="\v";break;case"f":n+="\f";break;case"r":n+="\r";break;case"\r":i1114111)return;n+=Nx(e);break;default:if(Mx(a,0))return;n+=a}r=i}return n+Bx(t,r)},jx=$t.f,qx=dt("GlobalDedentRegistry",new(H("WeakMap")));qx.has=qx.has,qx.get=qx.get,qx.set=qx.set;var Hx=Array,Gx=TypeError,Wx=Object.freeze||Object,Vx=Object.isFrozen,Yx=Math.min,Zx=C("".charAt),$x=C("".slice),Xx=C("".split),Kx=C(/./.exec),Qx=/([\n\u2028\u2029]|\r\n?)/g,Jx=RegExp("^["+Th+"]*"),tS=RegExp("[^"+Th+"]"),eS="Invalid tag",nS=function(t){var e=t.raw;if(wl&&!Vx(e))throw Gx("Raw template should be frozen");if(qx.has(e))return qx.get(e);var n=rS(e),r=aS(n);return jx(r,"raw",{value:Wx(n)}),Wx(r),qx.set(e,r),r},rS=function(t){var e,n,r=mt(t),i=Se(r),a=Hx(i),o=Hx(i),s=0;if(!i)throw Gx(eS);for(;s0)throw Gx("Invalid opening line");e[1]=""}if(c){if(1===e.length||Kx(tS,e[e.length-1]))throw Gx("Invalid closing line");e[e.length-2]="",e[e.length-1]=""}for(var l=2;l=56320||++n>=e||56320!=(64512&uS(t,n))))return!1}return!0}});var cS=Array,lS=C("".charAt),hS=C("".charCodeAt),fS=C([].join);Xe({target:"String",proto:!0},{toWellFormed:function(){for(var t=on(R(this)),e=t.length,n=cS(e),r=0;r=56320||r+1>=e||56320!=(64512&hS(t,r+1))?n[r]="�":(n[r]=lS(t,r),n[++r]=lS(t,r))}return fS(n,"")}}),kn("asyncDispose"),kn("dispose"),kn("matcher"),kn("metadata"),kn("metadataKey"),kn("observable"),kn("patternMatch"),kn("replaceAll");var dS=nc.aTypedArrayConstructor;(0,nc.exportTypedArrayStaticMethod)("fromAsync",(function(t){var e=this,n=arguments.length,r=n>1?arguments[1]:void 0,i=n>2?arguments[2]:void 0;return new(H("Promise"))((function(n){ic(e),n(Ob(t,r,i))})).then((function(t){return JD(dS(e),t)}))}),!0);var pS=Qn.filterReject,mS=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("filterOut",(function(t){var e=pS(mS(this),t,arguments.length>1?arguments[1]:void 0);return ry(this,e)}),!0);var gS=Qn.filterReject,vS=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("filterReject",(function(t){var e=gS(vS(this),t,arguments.length>1?arguments[1]:void 0);return ry(this,e)}),!0);var DS=nc.aTypedArray;(0,nc.exportTypedArrayMethod)("groupBy",(function(t){var e=arguments.length>1?arguments[1]:void 0;return Pb(DS(this),t,e,ny)}),!0);var yS=nc.aTypedArray,ES=nc.getTypedArrayConstructor;(0,nc.exportTypedArrayMethod)("toReversed",(function(){return $b(yS(this),ES(this))}));var bS=nc.aTypedArray,wS=nc.getTypedArrayConstructor,_S=nc.exportTypedArrayMethod,TS=C(nc.TypedArrayPrototype.sort);_S("toSorted",(function(t){void 0!==t&&it(t);var e=bS(this),n=JD(wS(e),e);return TS(n,t)}));var CS=nc.aTypedArray,AS=nc.getTypedArrayConstructor,xS=nc.exportTypedArrayMethod,SS=Math.max,kS=Math.min;xS("toSpliced",(function(t,e){var n,r,i,a,o,s,u,c=CS(this),l=AS(c),h=Se(c),f=Ce(t,h),d=arguments.length,p=0;if(0===d)n=r=0;else if(1===d)n=0,r=h-f;else if(r=kS(SS(we(e),0),h-f),n=d-2){a=new l(n),i=UD(a);for(var m=2;m>(-2*o&6))));return i}});var mk=ek.itoc,gk=H("btoa"),vk=C("".charAt),Dk=C("".charCodeAt),yk=!!gk&&!f((function(){gk()})),Ek=!!gk&&f((function(){return"bnVsbA=="!==gk(null)})),bk=!!gk&&1!==gk.length;Xe({global:!0,enumerable:!0,forced:yk||Ek||bk},{btoa:function(t){if(Fd(arguments.length,1),yk||Ek||bk)return gk(on(t));for(var e,n,r=on(t),i="",a=0,o=mk;vk(r,a)||(o="=",a%1);){if((n=Dk(r,a+=3/4))>255)throw new(H("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");i+=vk(o,63&(e=e<<8|n)>>8-a%1*8)}return i}});var wk={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},_k=Ot("span").classList,Tk=_k&&_k.constructor&&_k.constructor.prototype,Ck=Tk===Object.prototype?void 0:Tk,Ak=function(t){if(t&&t.forEach!==Ua)try{Xt(t,"forEach",Ua)}catch(e){t.forEach=Ua}};for(var xk in wk)wk[xk]&&Ak(h[xk]&&h[xk].prototype);Ak(Ck);var Sk=At("iterator"),kk=At("toStringTag"),Fk=xo.values,Ik=function(t,e){if(t){if(t[Sk]!==Fk)try{Xt(t,Sk,Fk)}catch(e){t[Sk]=Fk}if(t[kk]||Xt(t,kk,e),wk[e])for(var n in xo)if(t[n]!==xo[n])try{Xt(t,n,xo[n])}catch(e){t[n]=xo[n]}}};for(var Nk in wk)Ik(h[Nk]&&h[Nk].prototype,Nk);Ik(Ck,"DOMTokenList");var Ok={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Rk=$t.f,Lk="DOMException",Bk="DATA_CLONE_ERR",Mk=H("Error"),Pk=H(Lk)||function(){try{(new(H("MessageChannel")||function(t){try{if($o)return Function('return require("'+t+'")')()}catch(t){}}("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name==Bk&&25==t.code)return t.constructor}}(),Uk=Pk&&Pk.prototype,zk=Mk.prototype,jk=ge.set,qk=ge.getterFor(Lk),Hk="stack"in Mk(Lk),Gk=function(t){return vt(Ok,t)&&Ok[t].m?Ok[t].c:0},Wk=function(){Ls(this,Vk);var t=arguments.length,e=pi(t<1?void 0:arguments[0]),n=pi(t<2?void 0:arguments[1],"Error"),r=Gk(n);if(jk(this,{type:Lk,name:n,message:e,code:r}),d||(this.name=n,this.message=e,this.code=r),Hk){var i=Mk(e);i.name=Lk,Rk(this,"stack",b(1,bi(i.stack,1)))}},Vk=Wk.prototype=Dn(zk),Yk=function(t){return{enumerable:!0,configurable:!0,get:t}},Zk=function(t){return Yk((function(){return qk(this)[t]}))};d&&(md(Vk,"code",Zk("code")),md(Vk,"message",Zk("message")),md(Vk,"name",Zk("name"))),Rk(Vk,"constructor",b(1,Wk));var $k=f((function(){return!(new Pk instanceof Mk)})),Xk=$k||f((function(){return zk.toString!==Fi||"2: 1"!==String(new Pk(1,2))})),Kk=$k||f((function(){return 25!==new Pk(1,"DataCloneError").code}));$k||25!==Pk[Bk]||Uk[Bk];Xe({global:!0,constructor:!0,forced:$k},{DOMException:$k?Wk:Pk});var Qk=H(Lk),Jk=Qk.prototype;for(var tF in Xk&&Pk===Qk&&De(Jk,"toString",Fi),Kk&&d&&Pk===Qk&&md(Jk,"code",Yk((function(){return Gk(jt(this).name)}))),Ok)if(vt(Ok,tF)){var eF=Ok[tF],nF=eF.s,rF=b(6,eF.c);vt(Qk,nF)||Rk(Qk,nF,rF),vt(Jk,nF)||Rk(Jk,nF,rF)}var iF=$t.f,aF="DOMException",oF=H("Error"),sF=H(aF),uF=function(){Ls(this,cF);var t=arguments.length,e=pi(t<1?void 0:arguments[0]),n=pi(t<2?void 0:arguments[1],"Error"),r=new sF(e,n),i=oF(e);return i.name=aF,iF(r,"stack",b(1,bi(i.stack,1))),di(r,this,uF),r},cF=uF.prototype=sF.prototype,lF="stack"in oF(aF),hF="stack"in new sF(1,2),fF=sF&&d&&Object.getOwnPropertyDescriptor(h,aF),dF=!(!fF||fF.writable&&fF.configurable),pF=lF&&!dF&&!hF;Xe({global:!0,constructor:!0,forced:pF},{DOMException:pF?uF:sF});var mF=H(aF),gF=mF.prototype;if(gF.constructor!==mF)for(var vF in iF(gF,"constructor",b(1,mF)),Ok)if(vt(Ok,vF)){var DF=Ok[vF],yF=DF.s;vt(mF,yF)||iF(mF,yF,b(6,DF.c))}var EF="DOMException";On(H(EF),EF);var bF=tp.clear;Xe({global:!0,bind:!0,enumerable:!0,forced:h.clearImmediate!==bF},{clearImmediate:bF});var wF="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,_F=h.Function,TF=/MSIE .\./.test(W)||wF&&function(){var t=h.Bun.version.split(".");return t.length<3||0==t[0]&&(t[1]<3||3==t[1]&&0==t[2])}(),CF=function(t,e){var n=e?2:1;return TF?function(r,i){var a=Fd(arguments.length,1)>n,o=U(r)?r:_F(r),s=a?Lr(arguments,n):[],u=a?function(){Rr(o,this,s)}:o;return e?t(u,i):t(u)}:t},AF=tp.set,xF=h.setImmediate?CF(AF,!1):AF;Xe({global:!0,bind:!0,enumerable:!0,forced:h.setImmediate!==xF},{setImmediate:xF});var SF=h.process;Xe({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(t){Fd(arguments.length,1),it(t);var e=$o&&SF.domain;hp(e?e.bind(t):t)}});var kF=TypeError,FF=Object.defineProperty,IF=h.self!==h;try{if(d){var NF=Object.getOwnPropertyDescriptor(h,"self");!IF&&NF&&NF.get&&NF.enumerable||md(h,"self",{get:function(){return h},set:function(t){if(this!==h)throw kF("Illegal invocation");FF(h,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else Xe({global:!0,simple:!0,forced:IF},{self:h})}catch(J9){}var OF,RF=h.Object,LF=h.Array,BF=h.Date,MF=h.Error,PF=h.EvalError,UF=h.RangeError,zF=h.ReferenceError,jF=h.SyntaxError,qF=h.TypeError,HF=h.URIError,GF=h.PerformanceMark,WF=h.WebAssembly,VF=WF&&WF.CompileError||MF,YF=WF&&WF.LinkError||MF,ZF=WF&&WF.RuntimeError||MF,$F=H("DOMException"),XF=zb.Map,KF=zb.has,QF=zb.get,JF=zb.set,tI=TA.Set,eI=TA.add,nI=H("Object","keys"),rI=C([].push),iI=C((!0).valueOf),aI=C(1..valueOf),oI=C("".valueOf),sI=C(BF.prototype.getTime),uI=bt("structuredClone"),cI="DataCloneError",lI="Transferring",hI=function(t){return!f((function(){var e=new h.Set([7]),n=t(e),r=t(RF(7));return n==e||!n.has(7)||"object"!=typeof r||7!=r}))&&t},fI=function(t,e){return!f((function(){var n=new e,r=t({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof e&&r.a.stack===n.stack)}))},dI=h.structuredClone,pI=!fI(dI,MF)||!fI(dI,$F)||(OF=dI,!!f((function(){var t=OF(new h.AggregateError([1],uI,{cause:3}));return"AggregateError"!=t.name||1!=t.errors[0]||t.message!=uI||3!=t.cause}))),mI=!dI&&hI((function(t){return new GF(uI,{detail:t}).detail})),gI=hI(dI)||mI,vI=function(t){throw new $F("Uncloneable type: "+t,cI)},DI=function(t,e){throw new $F((e||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine",cI)},yI=function(t,e){if(tt(t)&&vI("Symbol"),!j(t))return t;if(e){if(KF(e,t))return QF(e,t)}else e=new XF;var n,r,i,a,o,s,u,c,l,f,d=rn(t),p=!1;switch(d){case"Array":i=LF(Se(t)),p=!0;break;case"Object":i={},p=!0;break;case"Map":i=new XF,p=!0;break;case"Set":i=new tI,p=!0;break;case"RegExp":i=new RegExp(t.source,Sm(t));break;case"Error":switch(r=t.name){case"AggregateError":i=H("AggregateError")([]);break;case"EvalError":i=PF();break;case"RangeError":i=UF();break;case"ReferenceError":i=zF();break;case"SyntaxError":i=jF();break;case"TypeError":i=qF();break;case"URIError":i=HF();break;case"CompileError":i=VF();break;case"LinkError":i=YF();break;case"RuntimeError":i=ZF();break;default:i=MF()}p=!0;break;case"DOMException":i=new $F(t.message,t.name),p=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":n=h[d],j(n)||DI(d),i=new n(yI(t.buffer,e),t.byteOffset,"DataView"===d?t.byteLength:t.length);break;case"DOMQuad":try{i=new DOMQuad(yI(t.p1,e),yI(t.p2,e),yI(t.p3,e),yI(t.p4,e))}catch(e){gI?i=gI(t):DI(d)}break;case"FileList":if(a=function(){var t;try{t=new h.DataTransfer}catch(e){try{t=new h.ClipboardEvent("").clipboardData}catch(t){}}return t&&t.items&&t.files?t:null}()){for(o=0,s=Se(t);o92||$o&&X>94||Dp&&X>97)return!1;var t=new ArrayBuffer(8),e=dI(t,{transfer:[t]});return 0!=t.byteLength||8!=e.byteLength})),bI=function(t,e){if(!j(t))throw qF("Transfer option cannot be converted to a sequence");var n=[];$i(t,(function(t){rI(n,jt(t))}));var r,i,a,o,s,u,c=0,l=Se(n);if(EI)for(o=dI(n,{transfer:n});c1&&!N(arguments[1])?jt(arguments[1]):void 0,r=n?n.transfer:void 0;return void 0!==r&&(e=new XF,bI(r,e)),yI(t,e)}});var wI=CF(h.setInterval,!0);Xe({global:!0,bind:!0,forced:h.setInterval!==wI},{setInterval:wI});var _I=CF(h.setTimeout,!0);Xe({global:!0,bind:!0,forced:h.setTimeout!==_I},{setTimeout:_I});var TI=At("iterator"),CI=!f((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[TI]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),AI=2147483647,xI=/[^\0-\u007E]/,SI=/[.\u3002\uFF0E\uFF61]/g,kI="Overflow: input needs wider integers to process",FI=RangeError,II=C(SI.exec),NI=Math.floor,OI=String.fromCharCode,RI=C("".charCodeAt),LI=C([].join),BI=C([].push),MI=C("".replace),PI=C("".split),UI=C("".toLowerCase),zI=function(t){return t+22+75*(t<26)},jI=function(t,e,n){var r=0;for(t=n?NI(t/700):t>>1,t+=NI(t/e);t>455;)t=NI(t/35),r+=36;return NI(r+36*t/(t+38))},qI=function(t){var e=[];t=function(t){for(var e=[],n=0,r=t.length;n=55296&&i<=56319&&n=a&&rNI((AI-o)/h))throw FI(kI);for(o+=(l-a)*h,a=l,n=0;nAI)throw FI(kI);if(r==a){for(var f=o,d=36;;){var p=d<=s?1:d>=s+26?26:d-s;if(f0?arguments[0]:void 0;VI(this,new TN(t))},AN=CN.prototype;if(Os(AN,{append:function(t,e){Fd(arguments.length,2);var n=YI(this);uN(n.entries,{key:on(t),value:on(e)}),n.updateURL()},delete:function(t){Fd(arguments.length,1);for(var e=YI(this),n=e.entries,r=on(t),i=0;ie.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=YI(this).entries,r=Bn(t,arguments.length>1?arguments[1]:void 0),i=0;i1?kN(arguments[1]):{})}}),U(QI)){var FN=function(t){return Ls(this,tN),new QI(t,arguments.length>1?kN(arguments[1]):{})};tN.constructor=FN,FN.prototype=tN,Xe({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:FN})}}var IN,NN={URLSearchParams:CN,getState:YI},ON=zg.codeAt,RN=ge.set,LN=ge.getterFor("URL"),BN=NN.URLSearchParams,MN=NN.getState,PN=h.URL,UN=h.TypeError,zN=h.parseInt,jN=Math.floor,qN=Math.pow,HN=C("".charAt),GN=C(/./.exec),WN=C([].join),VN=C(1..toString),YN=C([].pop),ZN=C([].push),$N=C("".replace),XN=C([].shift),KN=C("".split),QN=C("".slice),JN=C("".toLowerCase),tO=C([].unshift),eO="Invalid scheme",nO="Invalid host",rO="Invalid port",iO=/[a-z]/i,aO=/[\d+-.a-z]/i,oO=/\d/,sO=/^0x/i,uO=/^[0-7]+$/,cO=/^\d+$/,lO=/^[\da-f]+$/i,hO=/[\0\t\n\r #%/:<>?@[\\\]^|]/,fO=/[\0\t\n\r #/:<>?@[\\\]^|]/,dO=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,pO=/[\t\n\r]/g,mO=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)tO(e,t%256),t=jN(t/256);return WN(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,a=0;a<8;a++)0!==t[a]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=VN(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},gO={},vO=zf({},gO,{" ":1,'"':1,"<":1,">":1,"`":1}),DO=zf({},vO,{"#":1,"?":1,"{":1,"}":1}),yO=zf({},DO,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),EO=function(t,e){var n=ON(t,0);return n>32&&n<127&&!vt(e,t)?t:encodeURIComponent(t)},bO={ftp:21,file:null,http:80,https:443,ws:80,wss:443},wO=function(t,e){var n;return 2==t.length&&GN(iO,HN(t,0))&&(":"==(n=HN(t,1))||!e&&"|"==n)},_O=function(t){var e;return t.length>1&&wO(QN(t,0,2))&&(2==t.length||"/"===(e=HN(t,2))||"\\"===e||"?"===e||"#"===e)},TO=function(t){return"."===t||"%2e"===JN(t)},CO={},AO={},xO={},SO={},kO={},FO={},IO={},NO={},OO={},RO={},LO={},BO={},MO={},PO={},UO={},zO={},jO={},qO={},HO={},GO={},WO={},VO=function(t,e,n){var r,i,a,o=on(t);if(e){if(i=this.parse(o))throw UN(i);this.searchParams=null}else{if(void 0!==n&&(r=new VO(n,!0)),i=this.parse(o,null,r))throw UN(i);(a=MN(new BN)).bindURL(this),this.searchParams=a}};VO.prototype={type:"URL",parse:function(t,e,n){var r,i,a,o,s,u=this,c=e||CO,l=0,h="",f=!1,d=!1,p=!1;for(t=on(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=$N(t,dO,"")),t=$N(t,pO,""),r=qa(t);l<=r.length;){switch(i=r[l],c){case CO:if(!i||!GN(iO,i)){if(e)return eO;c=xO;continue}h+=JN(i),c=AO;break;case AO:if(i&&(GN(aO,i)||"+"==i||"-"==i||"."==i))h+=JN(i);else{if(":"!=i){if(e)return eO;h="",c=xO,l=0;continue}if(e&&(u.isSpecial()!=vt(bO,h)||"file"==h&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=h,e)return void(u.isSpecial()&&bO[u.scheme]==u.port&&(u.port=null));h="","file"==u.scheme?c=PO:u.isSpecial()&&n&&n.scheme==u.scheme?c=SO:u.isSpecial()?c=NO:"/"==r[l+1]?(c=kO,l++):(u.cannotBeABaseURL=!0,ZN(u.path,""),c=HO)}break;case xO:if(!n||n.cannotBeABaseURL&&"#"!=i)return eO;if(n.cannotBeABaseURL&&"#"==i){u.scheme=n.scheme,u.path=wn(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,c=WO;break}c="file"==n.scheme?PO:FO;continue;case SO:if("/"!=i||"/"!=r[l+1]){c=FO;continue}c=OO,l++;break;case kO:if("/"==i){c=RO;break}c=qO;continue;case FO:if(u.scheme=n.scheme,i==IN)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=wn(n.path),u.query=n.query;else if("/"==i||"\\"==i&&u.isSpecial())c=IO;else if("?"==i)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=wn(n.path),u.query="",c=GO;else{if("#"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=wn(n.path),u.path.length--,c=qO;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=wn(n.path),u.query=n.query,u.fragment="",c=WO}break;case IO:if(!u.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,c=qO;continue}c=RO}else c=OO;break;case NO:if(c=OO,"/"!=i||"/"!=HN(h,l+1))continue;l++;break;case OO:if("/"!=i&&"\\"!=i){c=RO;continue}break;case RO:if("@"==i){f&&(h="%40"+h),f=!0,a=qa(h);for(var m=0;m65535)return rO;u.port=u.isSpecial()&&D===bO[u.scheme]?null:D,h=""}if(e)return;c=jO;continue}return rO}h+=i;break;case PO:if(u.scheme="file","/"==i||"\\"==i)c=UO;else{if(!n||"file"!=n.scheme){c=qO;continue}if(i==IN)u.host=n.host,u.path=wn(n.path),u.query=n.query;else if("?"==i)u.host=n.host,u.path=wn(n.path),u.query="",c=GO;else{if("#"!=i){_O(WN(wn(r,l),""))||(u.host=n.host,u.path=wn(n.path),u.shortenPath()),c=qO;continue}u.host=n.host,u.path=wn(n.path),u.query=n.query,u.fragment="",c=WO}}break;case UO:if("/"==i||"\\"==i){c=zO;break}n&&"file"==n.scheme&&!_O(WN(wn(r,l),""))&&(wO(n.path[0],!0)?ZN(u.path,n.path[0]):u.host=n.host),c=qO;continue;case zO:if(i==IN||"/"==i||"\\"==i||"?"==i||"#"==i){if(!e&&wO(h))c=qO;else if(""==h){if(u.host="",e)return;c=jO}else{if(o=u.parseHost(h))return o;if("localhost"==u.host&&(u.host=""),e)return;h="",c=jO}continue}h+=i;break;case jO:if(u.isSpecial()){if(c=qO,"/"!=i&&"\\"!=i)continue}else if(e||"?"!=i)if(e||"#"!=i){if(i!=IN&&(c=qO,"/"!=i))continue}else u.fragment="",c=WO;else u.query="",c=GO;break;case qO:if(i==IN||"/"==i||"\\"==i&&u.isSpecial()||!e&&("?"==i||"#"==i)){if(".."===(s=JN(s=h))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"==i||"\\"==i&&u.isSpecial()||ZN(u.path,"")):TO(h)?"/"==i||"\\"==i&&u.isSpecial()||ZN(u.path,""):("file"==u.scheme&&!u.path.length&&wO(h)&&(u.host&&(u.host=""),h=HN(h,0)+":"),ZN(u.path,h)),h="","file"==u.scheme&&(i==IN||"?"==i||"#"==i))for(;u.path.length>1&&""===u.path[0];)XN(u.path);"?"==i?(u.query="",c=GO):"#"==i&&(u.fragment="",c=WO)}else h+=EO(i,DO);break;case HO:"?"==i?(u.query="",c=GO):"#"==i?(u.fragment="",c=WO):i!=IN&&(u.path[0]+=EO(i,gO));break;case GO:e||"#"!=i?i!=IN&&("'"==i&&u.isSpecial()?u.query+="%27":u.query+="#"==i?"%23":EO(i,gO)):(u.fragment="",c=WO);break;case WO:i!=IN&&(u.fragment+=EO(i,vO))}l++}},parseHost:function(t){var e,n,r;if("["==HN(t,0)){if("]"!=HN(t,t.length-1))return nO;if(e=function(t){var e,n,r,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,f=function(){return HN(t,h)};if(":"==f()){if(":"!=HN(t,1))return;h+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=n=0;n<4&&GN(lO,f());)e=16*e+zN(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,c>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!GN(oO,f()))return;for(;GN(oO,f());){if(a=zN(f(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;h++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;h++,l=++c}}if(null!==l)for(o=c-l,c=7;0!=c&&o>0;)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s;else if(8!=c)return;return u}(QN(t,1,-1)),!e)return nO;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,n,r=[],i=PI(MI(UI(t),SI,"."),".");for(e=0;e4)return t;for(n=[],r=0;r1&&"0"==HN(i,0)&&(a=GN(sO,i)?16:8,i=QN(i,8==a?1:2)),""===i)o=0;else{if(!GN(10==a?cO:8==a?uO:lO,i))return t;o=zN(i,a)}ZN(n,o)}for(r=0;r=qN(256,5-e))return null}else if(o>255)return null;for(s=YN(n),r=0;r1?arguments[1]:void 0,r=RN(e,new VO(t,!1,n));d||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},ZO=YO.prototype,$O=function(t,e){return{get:function(){return LN(this)[t]()},set:e&&function(t){return LN(this)[e](t)},configurable:!0,enumerable:!0}};if(d&&(md(ZO,"href",$O("serialize","setHref")),md(ZO,"origin",$O("getOrigin")),md(ZO,"protocol",$O("getProtocol","setProtocol")),md(ZO,"username",$O("getUsername","setUsername")),md(ZO,"password",$O("getPassword","setPassword")),md(ZO,"host",$O("getHost","setHost")),md(ZO,"hostname",$O("getHostname","setHostname")),md(ZO,"port",$O("getPort","setPort")),md(ZO,"pathname",$O("getPathname","setPathname")),md(ZO,"search",$O("getSearch","setSearch")),md(ZO,"searchParams",$O("getSearchParams")),md(ZO,"hash",$O("getHash","setHash"))),De(ZO,"toJSON",(function(){return LN(this).serialize()}),{enumerable:!0}),De(ZO,"toString",(function(){return LN(this).serialize()}),{enumerable:!0}),PN){var XO=PN.createObjectURL,KO=PN.revokeObjectURL;XO&&De(YO,"createObjectURL",Bn(XO,PN)),KO&&De(YO,"revokeObjectURL",Bn(KO,PN))}On(YO,"URL"),Xe({global:!0,constructor:!0,forced:!CI,sham:!d},{URL:YO}),Xe({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return g(URL.prototype.toString,this)}});class QO{constructor(){this.style="",this.listerners=new Set,this.interval=null}watch(){this.interval=setInterval((()=>{const t=[...top.document.getElementsByTagName("style")].flatMap((t=>[...t.sheet.rules].map((t=>t.cssText)))).join("\n");if(t!=this.style){this.style=t;for(const e of this.listerners)e(t)}}),250)}listen(t){this.listerners.add(t),t(this.style)}remove(t){this.listerners.delete(t)}unwatch(){clearInterval(this.interval)}}var JO=void 0!==JO?JO:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},tR=[],eR=[],nR="undefined"!=typeof Uint8Array?Uint8Array:Array,rR=!1;function iR(){rR=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e>18&63]+tR[i>>12&63]+tR[i>>6&63]+tR[63&i]);return a.join("")}function oR(t){var e;rR||iR();for(var n=t.length,r=n%3,i="",a=[],o=16383,s=0,u=n-r;su?u:s+o));return 1===r?(e=t[n-1],i+=tR[e>>2],i+=tR[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=tR[e>>10],i+=tR[e>>4&63],i+=tR[e<<2&63],i+="="),a.push(i),a.join("")}function sR(t,e,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,a=d&(1<<-l)-1,d>>=-l,l+=s;l>0;a=256*a+t[e+h],h+=f,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+t[e+h],h+=f,l-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),a-=c}return(d?-1:1)*o*Math.pow(2,a-r)}function uR(t,e,n,r,i,a){var o,s,u,c=8*a-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=l):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(o++,u/=2),o+h>=l?(s=0,o=l):o+h>=1?(s=(e*u-1)*Math.pow(2,i),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(o=o<0;t[n+d]=255&o,d+=p,o/=256,c-=8);t[n+d-p]|=128*m}var cR={}.toString,lR=Array.isArray||function(t){return"[object Array]"==cR.call(t)};function hR(){return dR.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fR(t,e){if(hR()=hR())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+hR().toString(16)+" bytes");return 0|t}function yR(t){return!(null==t||!t._isBuffer)}function ER(t,e){if(yR(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return YR(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ZR(t).length;default:if(r)return YR(t).length;e=(""+e).toLowerCase(),r=!0}}function bR(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return BR(this,e,n);case"utf8":case"utf-8":return NR(this,e,n);case"ascii":return RR(this,e,n);case"latin1":case"binary":return LR(this,e,n);case"base64":return IR(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return MR(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function wR(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _R(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=dR.from(e,r)),yR(e))return 0===e.length?-1:TR(t,e,n,r,i);if("number"==typeof e)return e&=255,dR.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):TR(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function TR(t,e,n,r,i){var a,o=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,n/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var l=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var h=!0,f=0;fi&&(r=i):r=i;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(e,t.length-n),t,n,r)}function IR(t,e,n){return 0===e&&n===t.length?oR(t):oR(t.slice(e,n))}function NR(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=OR)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},dR.prototype.compare=function(t,e,n,r,i){if(!yR(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),u=this.slice(r,i),c=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return CR(this,t,e,n);case"utf8":case"utf-8":return AR(this,t,e,n);case"ascii":return xR(this,t,e,n);case"latin1":case"binary":return SR(this,t,e,n);case"base64":return kR(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return FR(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},dR.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var OR=4096;function RR(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function UR(t,e,n,r,i,a){if(!yR(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function zR(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function jR(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function qR(t,e,n,r,i,a){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function HR(t,e,n,r,i){return i||qR(t,0,n,4),uR(t,e,n,r,23,4),n+4}function GR(t,e,n,r,i){return i||qR(t,0,n,8),uR(t,e,n,r,52,8),n+8}dR.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},dR.prototype.readUInt8=function(t,e){return e||PR(t,1,this.length),this[t]},dR.prototype.readUInt16LE=function(t,e){return e||PR(t,2,this.length),this[t]|this[t+1]<<8},dR.prototype.readUInt16BE=function(t,e){return e||PR(t,2,this.length),this[t]<<8|this[t+1]},dR.prototype.readUInt32LE=function(t,e){return e||PR(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},dR.prototype.readUInt32BE=function(t,e){return e||PR(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},dR.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||PR(t,e,this.length);for(var r=this[t],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*e)),r},dR.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||PR(t,e,this.length);for(var r=e,i=1,a=this[t+--r];r>0&&(i*=256);)a+=this[t+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},dR.prototype.readInt8=function(t,e){return e||PR(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},dR.prototype.readInt16LE=function(t,e){e||PR(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},dR.prototype.readInt16BE=function(t,e){e||PR(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},dR.prototype.readInt32LE=function(t,e){return e||PR(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},dR.prototype.readInt32BE=function(t,e){return e||PR(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},dR.prototype.readFloatLE=function(t,e){return e||PR(t,4,this.length),sR(this,t,!0,23,4)},dR.prototype.readFloatBE=function(t,e){return e||PR(t,4,this.length),sR(this,t,!1,23,4)},dR.prototype.readDoubleLE=function(t,e){return e||PR(t,8,this.length),sR(this,t,!0,52,8)},dR.prototype.readDoubleBE=function(t,e){return e||PR(t,8,this.length),sR(this,t,!1,52,8)},dR.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||UR(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+n},dR.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,1,255,0),dR.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},dR.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,2,65535,0),dR.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):zR(this,t,e,!0),e+2},dR.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,2,65535,0),dR.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):zR(this,t,e,!1),e+2},dR.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,4,4294967295,0),dR.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):jR(this,t,e,!0),e+4},dR.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,4,4294967295,0),dR.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):jR(this,t,e,!1),e+4},dR.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);UR(this,t,e,n,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},dR.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);UR(this,t,e,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},dR.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,1,127,-128),dR.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},dR.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,2,32767,-32768),dR.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):zR(this,t,e,!0),e+2},dR.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,2,32767,-32768),dR.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):zR(this,t,e,!1),e+2},dR.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,4,2147483647,-2147483648),dR.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):jR(this,t,e,!0),e+4},dR.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||UR(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),dR.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):jR(this,t,e,!1),e+4},dR.prototype.writeFloatLE=function(t,e,n){return HR(this,t,e,!0,n)},dR.prototype.writeFloatBE=function(t,e,n){return HR(this,t,e,!1,n)},dR.prototype.writeDoubleLE=function(t,e,n){return GR(this,t,e,!0,n)},dR.prototype.writeDoubleBE=function(t,e,n){return GR(this,t,e,!1,n)},dR.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!dR.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function ZR(t){return function(t){var e,n,r,i,a,o;rR||iR();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===t[s-2]?2:"="===t[s-1]?1:0,o=new nR(3*s/4-a),r=a>0?s-4:s;var u=0;for(e=0,n=0;e>16&255,o[u++]=i>>8&255,o[u++]=255&i;return 2===a?(i=eR[t.charCodeAt(e)]<<2|eR[t.charCodeAt(e+1)]>>4,o[u++]=255&i):1===a&&(i=eR[t.charCodeAt(e)]<<10|eR[t.charCodeAt(e+1)]<<4|eR[t.charCodeAt(e+2)]>>2,o[u++]=i>>8&255,o[u++]=255&i),o}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(WR,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function $R(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function XR(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a||"undefined"!=typeof self&&self;var KR={};function QR(t,e){for(var n=0;n=0||(i[n]=t[n]);return i}function uL(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(KR,"__esModule",{value:!0});var lL=function(t){function e(){return t.apply(this,arguments)||this}return eL(e,t),e}(oL(Error)),hL=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return eL(e,t),e}(lL),fL=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return eL(e,t),e}(lL),dL=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return eL(e,t),e}(lL),pL=function(t){function e(){return t.apply(this,arguments)||this}return eL(e,t),e}(lL),mL=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return eL(e,t),e}(lL),gL=function(t){function e(){return t.apply(this,arguments)||this}return eL(e,t),e}(lL),vL=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return eL(e,t),e}(lL),DL="numeric",yL="short",EL="long",bL={year:DL,month:DL,day:DL},wL={year:DL,month:yL,day:DL},_L={year:DL,month:yL,day:DL,weekday:yL},TL={year:DL,month:EL,day:DL},CL={year:DL,month:EL,day:DL,weekday:EL},AL={hour:DL,minute:DL},xL={hour:DL,minute:DL,second:DL},SL={hour:DL,minute:DL,second:DL,timeZoneName:yL},kL={hour:DL,minute:DL,second:DL,timeZoneName:EL},FL={hour:DL,minute:DL,hourCycle:"h23"},IL={hour:DL,minute:DL,second:DL,hourCycle:"h23"},NL={hour:DL,minute:DL,second:DL,hourCycle:"h23",timeZoneName:yL},OL={hour:DL,minute:DL,second:DL,hourCycle:"h23",timeZoneName:EL},RL={year:DL,month:DL,day:DL,hour:DL,minute:DL},LL={year:DL,month:DL,day:DL,hour:DL,minute:DL,second:DL},BL={year:DL,month:yL,day:DL,hour:DL,minute:DL},ML={year:DL,month:yL,day:DL,hour:DL,minute:DL,second:DL},PL={year:DL,month:yL,day:DL,weekday:yL,hour:DL,minute:DL},UL={year:DL,month:EL,day:DL,hour:DL,minute:DL,timeZoneName:yL},zL={year:DL,month:EL,day:DL,hour:DL,minute:DL,second:DL,timeZoneName:yL},jL={year:DL,month:EL,day:DL,weekday:EL,hour:DL,minute:DL,timeZoneName:EL},qL={year:DL,month:EL,day:DL,weekday:EL,hour:DL,minute:DL,second:DL,timeZoneName:EL};function HL(t){return void 0===t}function GL(t){return"number"==typeof t}function WL(t){return"number"==typeof t&&t%1==0}function VL(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function YL(t,e,n){if(0!==t.length)return t.reduce((function(t,r){var i=[e(r),r];return t&&n(t[0],i[0])===t[0]?t:i}),null)[1]}function ZL(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function $L(t,e,n){return WL(t)&&t>=e&&t<=n}function XL(t,e){return void 0===e&&(e=2),t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0")}function KL(t){return HL(t)||null===t||""===t?void 0:parseInt(t,10)}function QL(t){return HL(t)||null===t||""===t?void 0:parseFloat(t)}function JL(t){if(!HL(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function tB(t,e,n){void 0===n&&(n=!1);var r=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*r)/r}function eB(t){return t%4==0&&(t%100!=0||t%400==0)}function nB(t){return eB(t)?366:365}function rB(t,e){var n=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===n?eB(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function iB(t){var e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function aB(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function oB(t){return t>99?t:t>60?1900+t:2e3+t}function sB(t,e,n,r){void 0===r&&(r=null);var i=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var o=tL({timeZoneName:e},a),s=new Intl.DateTimeFormat(n,o).formatToParts(i).find((function(t){return"timezonename"===t.type.toLowerCase()}));return s?s.value:null}function uB(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function cB(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new gL("Invalid unit value "+t);return e}function lB(t,e){var n={};for(var r in t)if(ZL(t,r)){var i=t[r];if(null==i)continue;n[e(r)]=cB(i)}return n}function hB(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return""+i+XL(n,2)+":"+XL(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+XL(n,2)+XL(r,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function fB(t){return function(t,e){return e.reduce((function(e,n){return e[n]=t[n],e}),{})}(t,["hour","minute","second","millisecond"])}var dB=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,pB=["January","February","March","April","May","June","July","August","September","October","November","December"],mB=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],gB=["J","F","M","A","M","J","J","A","S","O","N","D"];function vB(t){switch(t){case"narrow":return[].concat(gB);case"short":return[].concat(mB);case"long":return[].concat(pB);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var DB=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],yB=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],EB=["M","T","W","T","F","S","S"];function bB(t){switch(t){case"narrow":return[].concat(EB);case"short":return[].concat(yB);case"long":return[].concat(DB);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var wB=["AM","PM"],_B=["Before Christ","Anno Domini"],TB=["BC","AD"],CB=["B","A"];function AB(t){switch(t){case"narrow":return[].concat(CB);case"short":return[].concat(TB);case"long":return[].concat(_B);default:return null}}function xB(t,e){for(var n,r="",i=cL(t);!(n=i()).done;){var a=n.value;a.literal?r+=a.val:r+=e(a.val)}return r}var SB={D:bL,DD:wL,DDD:TL,DDDD:CL,t:AL,tt:xL,ttt:SL,tttt:kL,T:FL,TT:IL,TTT:NL,TTTT:OL,f:RL,ff:BL,fff:UL,ffff:jL,F:LL,FF:ML,FFF:zL,FFFF:qL},kB=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",r=!1,i=[],a=0;a0&&i.push({literal:r,val:n}),e=null,n="",r=!r):r||o===e?n+=o:(n.length>0&&i.push({literal:!1,val:n}),n=o,e=o)}return n.length>0&&i.push({literal:r,val:n}),i},t.macroTokenToFormatOpts=function(t){return SB[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,tL({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,tL({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,tL({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,tL({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return XL(t,e);var n=tL({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var r=this,i="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=function(t,n){return r.loc.extract(e,t,n)},s=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},u=function(){return i?function(t){return wB[t.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod")},c=function(t,n){return i?function(t,e){return vB(e)[t.month-1]}(e,t):o(n?{month:t}:{month:t,day:"numeric"},"month")},l=function(t,n){return i?function(t,e){return bB(e)[t.weekday-1]}(e,t):o(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},h=function(t){return i?function(t,e){return AB(e)[t.year<0?0:1]}(e,t):o({era:t},"era")};return xB(t.parseFormat(n),(function(n){switch(n){case"S":return r.num(e.millisecond);case"u":case"SSS":return r.num(e.millisecond,3);case"s":return r.num(e.second);case"ss":return r.num(e.second,2);case"uu":return r.num(Math.floor(e.millisecond/10),2);case"uuu":return r.num(Math.floor(e.millisecond/100));case"m":return r.num(e.minute);case"mm":return r.num(e.minute,2);case"h":return r.num(e.hour%12==0?12:e.hour%12);case"hh":return r.num(e.hour%12==0?12:e.hour%12,2);case"H":return r.num(e.hour);case"HH":return r.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:r.loc.locale});case"z":return e.zoneName;case"a":return u();case"d":return a?o({day:"numeric"},"day"):r.num(e.day);case"dd":return a?o({day:"2-digit"},"day"):r.num(e.day,2);case"c":case"E":return r.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):r.num(e.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):r.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return a?o({month:"numeric"},"month"):r.num(e.month);case"MM":return a?o({month:"2-digit"},"month"):r.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return a?o({year:"numeric"},"year"):r.num(e.year);case"yy":return a?o({year:"2-digit"},"year"):r.num(e.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):r.num(e.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):r.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return r.num(e.weekYear.toString().slice(-2),2);case"kkkk":return r.num(e.weekYear,4);case"W":return r.num(e.weekNumber);case"WW":return r.num(e.weekNumber,2);case"o":return r.num(e.ordinal);case"ooo":return r.num(e.ordinal,3);case"q":return r.num(e.quarter);case"qq":return r.num(e.quarter,2);case"X":return r.num(Math.floor(e.ts/1e3));case"x":return r.num(e.ts);default:return function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n}(n)}}))},e.formatDurationFromString=function(e,n){var r,i=this,a=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=t.parseFormat(n),s=o.reduce((function(t,e){var n=e.literal,r=e.val;return n?t:t.concat(r)}),[]),u=e.shiftTo.apply(e,s.map(a).filter((function(t){return t})));return xB(o,(r=u,function(t){var e=a(t);return e?i.num(r.get(e),t.length):t}))},t}(),FB=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),IB=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new vL},e.formatOffset=function(t,e){throw new vL},e.offset=function(t){throw new vL},e.equals=function(t){throw new vL},JR(t,[{key:"type",get:function(){throw new vL}},{key:"name",get:function(){throw new vL}},{key:"ianaName",get:function(){return this.name}},{key:"isUniversal",get:function(){throw new vL}},{key:"isValid",get:function(){throw new vL}}]),t}(),NB=null,OB=function(t){function e(){return t.apply(this,arguments)||this}eL(e,t);var n=e.prototype;return n.offsetName=function(t,e){return sB(t,e.format,e.locale)},n.formatOffset=function(t,e){return hB(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"system"===t.type},JR(e,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===NB&&(NB=new e),NB}}]),e}(IB),RB={};var LB={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};var BB={},MB=function(t){function e(n){var r;return(r=t.call(this)||this).zoneName=n,r.valid=e.isValidZone(n),r}eL(e,t),e.create=function(t){return BB[t]||(BB[t]=new e(t)),BB[t]},e.resetCache=function(){BB={},RB={}},e.isValidSpecifier=function(t){return this.isValidZone(t)},e.isValidZone=function(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}};var n=e.prototype;return n.offsetName=function(t,e){return sB(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return hB(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(n=this.name,RB[n]||(RB[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),RB[n]),i=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i=0?d:1e3+d))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},JR(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(IB),PB=null,UB=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}eL(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(uB(n[1],n[2]))}return null};var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return hB(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},JR(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+hB(this.fixed,"narrow")}},{key:"ianaName",get:function(){return 0===this.fixed?"Etc/UTC":"Etc/GMT"+hB(-this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===PB&&(PB=new e(0)),PB}}]),e}(IB),zB=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}eL(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},JR(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(IB);function jB(t,e){if(HL(t)||null===t)return e;if(t instanceof IB)return t;if("string"==typeof t){var n=t.toLowerCase();return"local"===n||"system"===n?e:"utc"===n||"gmt"===n?UB.utcInstance:UB.parseSpecifier(n)||MB.create(t)}return GL(t)?UB.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new zB(t)}var qB,HB=function(){return Date.now()},GB="system",WB=null,VB=null,YB=null,ZB=function(){function t(){}return t.resetCaches=function(){sM.resetCache(),MB.resetCache()},JR(t,null,[{key:"now",get:function(){return HB},set:function(t){HB=t}},{key:"defaultZone",get:function(){return jB(GB,OB.instance)},set:function(t){GB=t}},{key:"defaultLocale",get:function(){return WB},set:function(t){WB=t}},{key:"defaultNumberingSystem",get:function(){return VB},set:function(t){VB=t}},{key:"defaultOutputCalendar",get:function(){return YB},set:function(t){YB=t}},{key:"throwOnInvalid",get:function(){return qB},set:function(t){qB=t}}]),t}(),$B=["base"],XB=["padTo","floor"],KB={};var QB={};function JB(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=QB[n];return r||(r=new Intl.DateTimeFormat(t,e),QB[n]=r),r}var tM={};var eM={};var nM=null;function rM(t,e,n,r,i){var a=t.listingMode(n);return"error"===a?null:"en"===a?r(e):i(e)}var iM=function(){function t(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=sL(n,XB);if(!e||Object.keys(r).length>0){var i=tL({useGrouping:!1},n);n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=tM[n];return r||(r=new Intl.NumberFormat(t,e),tM[n]=r),r}(t,i)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return XL(this.floor?Math.floor(t):tB(t,3),this.padTo)},t}(),aM=function(){function t(t,e,n){var r;if(this.opts=n,t.zone.isUniversal){var i=t.offset/60*-1,a=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i;0!==t.offset&&MB.create(a).valid?(r=a,this.dt=t):(r="UTC",n.timeZoneName?this.dt=t:this.dt=0===t.offset?t:sU.fromMillis(t.ts+60*t.offset*1e3))}else"system"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name);var o=tL({},this.opts);r&&(o.timeZone=r),this.dtf=JB(e,o)}var e=t.prototype;return e.format=function(){return this.dtf.format(this.dt.toJSDate())},e.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},e.resolvedOptions=function(){return this.dtf.resolvedOptions()},t}(),oM=function(){function t(t,e,n){this.opts=tL({style:"long"},n),!e&&VL()&&(this.rtf=function(t,e){void 0===e&&(e={});var n=e;n.base;var r=sL(n,$B),i=JSON.stringify([t,r]),a=eM[i];return a||(a=new Intl.RelativeTimeFormat(t,e),eM[i]=a),a}(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&a){var o="days"===t;switch(e){case 1:return o?"tomorrow":"next "+i[t][0];case-1:return o?"yesterday":"last "+i[t][0];case 0:return o?"today":"this "+i[t][0]}}var s=Object.is(e,-0)||e<0,u=Math.abs(e),c=1===u,l=i[t],h=r?c?l[1]:l[2]||l[1]:c?i[t][0]:t;return s?u+" "+h+" ago":"in "+u+" "+h}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),sM=function(){function t(t,e,n,r){var i=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,r=t.substring(0,e);try{n=JB(t).resolvedOptions()}catch(t){n=JB(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(t),a=i[0],o=i[1],s=i[2];this.locale=a,this.numberingSystem=e||o||null,this.outputCalendar=n||s||null,this.intl=function(t,e,n){return n||e?(t+="-u",n&&(t+="-ca-"+n),e&&(t+="-nu-"+e),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,r,i){void 0===i&&(i=!1);var a=e||ZB.defaultLocale;return new t(a||(i?"en-US":nM||(nM=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||ZB.defaultNumberingSystem,r||ZB.defaultOutputCalendar,a)},t.resetCache=function(){nM=null,QB={},tM={},eM={}},t.fromObject=function(e){var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,a=n.outputCalendar;return t.create(r,i,a)};var e=t.prototype;return e.listingMode=function(){var t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(tL({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(tL({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),rM(this,t,n,vB,(function(){var n=e?{month:t,day:"numeric"}:{month:t},i=e?"format":"standalone";return r.monthsCache[i][t]||(r.monthsCache[i][t]=function(t){for(var e=[],n=1;n<=12;n++){var r=sU.utc(2016,n,1);e.push(t(r))}return e}((function(t){return r.extract(t,n,"month")}))),r.monthsCache[i][t]}))},e.weekdays=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),rM(this,t,n,bB,(function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=e?"format":"standalone";return r.weekdaysCache[i][t]||(r.weekdaysCache[i][t]=function(t){for(var e=[],n=1;n<=7;n++){var r=sU.utc(2016,11,13+n);e.push(t(r))}return e}((function(t){return r.extract(t,n,"weekday")}))),r.weekdaysCache[i][t]}))},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),rM(this,void 0,t,(function(){return wB}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[sU.utc(2016,11,13,9),sU.utc(2016,11,13,19)].map((function(n){return e.extract(n,t,"dayperiod")}))}return e.meridiemCache}))},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),rM(this,t,e,AB,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[sU.utc(-40,1,1),sU.utc(2017,1,1)].map((function(t){return n.extract(t,e,"era")}))),n.eraCache[t]}))},e.extract=function(t,e,n){var r=this.dtFormatter(t,e).formatToParts().find((function(t){return t.type.toLowerCase()===n}));return r?r.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new iM(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new aM(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new oM(this.intl,this.isEnglish(),t)},e.listFormatter=function(t){return void 0===t&&(t={}),function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=KB[n];return r||(r=new Intl.ListFormat(t,e),KB[n]=r),r}(this.intl,t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},JR(t,[{key:"fastNumbers",get:function(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function uM(){for(var t=arguments.length,e=new Array(t),n=0;n1?e-1:0),r=1;r3?DB.indexOf(t)+1:yB.indexOf(t)+1),s}var kM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function FM(t){var e,n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],u=t[7],c=t[8],l=t[9],h=t[10],f=t[11],d=SM(n,a,i,r,o,s,u);return e=c?xM[c]:l?0:uB(h,f),[d,new UB(e)]}var IM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,NM=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,OM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function RM(t){var e=t[1],n=t[2],r=t[3];return[SM(e,t[4],r,n,t[5],t[6],t[7]),UB.utcInstance]}function LM(t){var e=t[1],n=t[2],r=t[3],i=t[4],a=t[5],o=t[6];return[SM(e,t[7],n,r,i,a,o),UB.utcInstance]}var BM=uM(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,mM),MM=uM(/(\d{4})-?W(\d\d)(?:-?(\d))?/,mM),PM=uM(/(\d{4})-?(\d{3})/,mM),UM=uM(pM),zM=cM((function(t,e){return[{year:EM(t,e),month:EM(t,e+1,1),day:EM(t,e+2,1)},null,e+3]}),bM,wM,_M),jM=cM(gM,bM,wM,_M),qM=cM(vM,bM,wM,_M),HM=cM(bM,wM,_M);var GM=cM(bM);var WM=uM(/(\d{4})-(\d\d)-(\d\d)/,yM),VM=uM(DM),YM=cM(bM,wM,_M);var ZM={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},$M=tL({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},ZM),XM=365.2425,KM=30.436875,QM=tL({years:{quarters:4,months:12,weeks:52.1775,days:XM,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:KM,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},ZM),JM=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],tP=JM.slice(0).reverse();function eP(t,e,n){void 0===n&&(n=!1);var r={values:n?e.values:tL({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new rP(r)}function nP(t,e,n,r,i){var a=t[i][n],o=e[n]/a,s=!(Math.sign(o)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(o)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(o):Math.trunc(o);r[i]+=s,e[n]-=s*a}var rP=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||sM.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=e?QM:$M,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject({milliseconds:e},n)},t.fromObject=function(e,n){if(void 0===n&&(n={}),null==e||"object"!=typeof e)throw new gL("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:lB(e,t.normalizeUnit),loc:sM.fromObject(n),conversionAccuracy:n.conversionAccuracy})},t.fromDurationLike=function(e){if(GL(e))return t.fromMillis(e);if(t.isDuration(e))return e;if("object"==typeof e)return t.fromObject(e);throw new gL("Unknown duration argument "+e+" of type "+typeof e)},t.fromISO=function(e,n){var r=function(t){return lM(t,[CM,AM])}(e),i=r[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(t){return lM(t,[TM,GM])}(e),i=r[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new gL("need to specify a reason the Duration is invalid");var r=e instanceof FB?e:new FB(e,n);if(ZB.throwOnInvalid)throw new dL(r);return new t({invalid:r})},t.normalizeUnit=function(t){var e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new mL(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=tL({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?kB.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toHuman=function(t){var e=this;void 0===t&&(t={});var n=JM.map((function(n){var r=e.values[n];return HL(r)?null:e.loc.numberFormatter(tL({style:"unit",unitDisplay:"long"},t,{unit:n.slice(0,-1)})).format(r)})).filter((function(t){return t}));return this.loc.listFormatter(tL({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)},e.toObject=function(){return this.isValid?tL({},this.values):{}},e.toISO=function(){if(!this.isValid)return null;var t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=tB(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=tL({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var i=n.toFormat(r);return t.includePrefix&&(i="T"+i),i},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(e){if(!this.isValid)return this;for(var n,r=t.fromDurationLike(e),i={},a=cL(JM);!(n=a()).done;){var o=n.value;(ZL(r.values,o)||ZL(this.values,o))&&(i[o]=r.get(o)+this.get(o))}return eP(this,{values:i},!0)},e.minus=function(e){if(!this.isValid)return this;var n=t.fromDurationLike(e);return this.plus(n.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,r=Object.keys(this.values);n=0){i=l;var h=0;for(var f in s)h+=this.matrix[f][l]*s[f],s[f]=0;GL(u[l])&&(h+=u[l]);var d=Math.trunc(h);for(var p in o[l]=d,s[l]=(1e3*h-1e3*d)/1e3,u)JM.indexOf(p)>JM.indexOf(l)&&nP(this.matrix,u,p,o,l)}else GL(u[l])&&(s[l]=u[l])}for(var m in s)0!==s[m]&&(o[i]+=m===i?s[m]:s[m]/this.matrix[i][m]);return eP(this,{values:o},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);et},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&(this.s<=t&&this.e>t)},e.set=function(e){var n=void 0===e?{}:e,r=n.start,i=n.end;return this.isValid?t.fromDateTimes(r||this.s,i||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i+this.e?this.e:c;o.push(t.fromDateTimes(s,l)),s=l,u+=1}return o},e.splitBy=function(e){var n=rP.fromDurationLike(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,a=1,o=[];i+this.e?this.e:s,o.push(t.fromDateTimes(i,r)),i=r,a+=1}return o},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s=t.e)},e.equals=function(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,r=this.e=r?null:t.fromDateTimes(n,r)},e.union=function(e){if(!this.isValid)return this;var n=this.se.e?this.e:e.e;return t.fromDateTimes(n,r)},t.merge=function(t){var e=t.sort((function(t,e){return t.s-e.s})).reduce((function(t,e){var n=t[0],r=t[1];return r?r.overlaps(e)||r.abutsStart(e)?[n,r.union(e)]:[n.concat([r]),e]:[n,e]}),[[],null]),n=e[0],r=e[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,i=null,a=0,o=[],s=e.map((function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]})),u=(n=Array.prototype).concat.apply(n,s).sort((function(t,e){return t.time-e.time})),c=cL(u);!(r=c()).done;){var l=r.value;1===(a+="s"===l.type?1:-1)?i=l.time:(i&&+i!=+l.time&&o.push(t.fromDateTimes(i,l.time)),i=null)}return t.merge(o)},e.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i=0){var f;r=l;var d,p=h(t,e);(i=t.plus(((f={})[l]=p,f)))>e?(t=t.plus(((d={})[l]=p-1,d)),p-=1):t=i,o[l]=p}}return[t,o,i,r]}(t,e,n),a=i[0],o=i[1],s=i[2],u=i[3],c=e-a,l=n.filter((function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0}));if(0===l.length){var h;if(s0?(f=rP.fromMillis(c,r)).shiftTo.apply(f,l).plus(d):d}var lP={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},hP={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fP=lP.hanidec.replace(/[\[|\]]/g,"").split("");function dP(t,e){var n=t.numberingSystem;return void 0===e&&(e=""),new RegExp(""+lP[n||"latn"]+e)}function pP(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){var n=t[0];return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n=o&&r<=s&&(e+=r-o)}}return parseInt(e,10)}return e}(n))}}}var mP="[ "+String.fromCharCode(160)+"]",gP=new RegExp(mP,"g");function vP(t){return t.replace(/\./g,"\\.?").replace(gP,mP)}function DP(t){return t.replace(/\./g,"").replace(gP," ").toLowerCase()}function yP(t,e){return null===t?null:{regex:RegExp(t.map(vP).join("|")),deser:function(n){var r=n[0];return t.findIndex((function(t){return DP(r)===DP(t)}))+e}}}function EP(t,e){return{regex:t,deser:function(t){return uB(t[1],t[2])},groups:e}}function bP(t){return{regex:t,deser:function(t){return t[0]}}}var wP={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var _P=null;function TP(t,e){if(t.literal)return t;var n=kB.macroTokenToFormatOpts(t.val);if(!n)return t;var r=kB.create(e,n).formatDateTimeParts((_P||(_P=sU.fromMillis(1555555555555)),_P)).map((function(t){return function(t,e,n){var r=t.type,i=t.value;if("literal"===r)return{literal:!0,val:i};var a=n[r],o=wP[r];return"object"==typeof o&&(o=o[a]),o?{literal:!1,val:o}:void 0}(t,0,n)}));return r.includes(void 0)?t:r}function CP(t,e,n){var r=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return TP(t,e)})))}(kB.parseFormat(n),t),i=r.map((function(e){return n=e,i=dP(r=t),a=dP(r,"{2}"),o=dP(r,"{3}"),s=dP(r,"{4}"),u=dP(r,"{6}"),c=dP(r,"{1,2}"),l=dP(r,"{1,3}"),h=dP(r,"{1,6}"),f=dP(r,"{1,9}"),d=dP(r,"{2,4}"),p=dP(r,"{4,6}"),m=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},g=function(t){if(n.literal)return m(t);switch(t.val){case"G":return yP(r.eras("short",!1),0);case"GG":return yP(r.eras("long",!1),0);case"y":return pP(h);case"yy":case"kk":return pP(d,oB);case"yyyy":case"kkkk":return pP(s);case"yyyyy":return pP(p);case"yyyyyy":return pP(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pP(c);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pP(a);case"MMM":return yP(r.months("short",!0,!1),1);case"MMMM":return yP(r.months("long",!0,!1),1);case"LLL":return yP(r.months("short",!1,!1),1);case"LLLL":return yP(r.months("long",!1,!1),1);case"o":case"S":return pP(l);case"ooo":case"SSS":return pP(o);case"u":return bP(f);case"uu":return bP(c);case"uuu":case"E":case"c":return pP(i);case"a":return yP(r.meridiems(),0);case"EEE":return yP(r.weekdays("short",!1,!1),1);case"EEEE":return yP(r.weekdays("long",!1,!1),1);case"ccc":return yP(r.weekdays("short",!0,!1),1);case"cccc":return yP(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return EP(new RegExp("([+-]"+c.source+")(?::("+a.source+"))?"),2);case"ZZZ":return EP(new RegExp("([+-]"+c.source+")("+a.source+")?"),2);case"z":return bP(/[a-z_+-/]{1,256}?/i);default:return m(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},g.token=n,g;var n,r,i,a,o,s,u,c,l,h,f,d,p,m,g})),a=i.find((function(t){return t.invalidReason}));if(a)return{input:e,tokens:r,invalidReason:a.invalidReason};var o=function(t){var e=t.map((function(t){return t.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"");return["^"+e+"$",t]}(i),s=o[0],u=o[1],c=RegExp(s,"i"),l=function(t,e,n){var r=t.match(e);if(r){var i={},a=1;for(var o in n)if(ZL(n,o)){var s=n[o],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+u))),a+=u}return[r,i]}return[r,{}]}(e,c,u),h=l[0],f=l[1],d=f?function(t){var e,n=null;HL(t.z)||(n=MB.create(t.z)),HL(t.Z)||(n||(n=new UB(t.Z)),e=t.Z),HL(t.q)||(t.M=3*(t.q-1)+1),HL(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),HL(t.u)||(t.S=JL(t.u));var r=Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{});return[r,n,e]}(f):[null,null,void 0],p=d[0],m=d[1],g=d[2];if(ZL(f,"a")&&ZL(f,"H"))throw new pL("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:h,matches:f,result:p,zone:m,specificOffset:g}}var AP=[0,31,59,90,120,151,181,212,243,273,304,334],xP=[0,31,60,91,121,152,182,213,244,274,305,335];function SP(t,e){return new FB("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function kP(t,e,n){var r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);var i=r.getUTCDay();return 0===i?7:i}function FP(t,e,n){return n+(eB(t)?xP:AP)[e-1]}function IP(t,e){var n=eB(t)?xP:AP,r=n.findIndex((function(t){return taB(n)?(e=n+1,s=1):e=n,tL({weekYear:e,weekNumber:s,weekday:o},fB(t))}function OP(t){var e,n=t.weekYear,r=t.weekNumber,i=t.weekday,a=kP(n,1,4),o=nB(n),s=7*r+i-a-3;s<1?s+=nB(e=n-1):s>o?(e=n+1,s-=nB(n)):e=n;var u=IP(e,s);return tL({year:e,month:u.month,day:u.day},fB(t))}function RP(t){var e=t.year;return tL({year:e,ordinal:FP(e,t.month,t.day)},fB(t))}function LP(t){var e=t.year,n=IP(e,t.ordinal);return tL({year:e,month:n.month,day:n.day},fB(t))}function BP(t){var e=WL(t.year),n=$L(t.month,1,12),r=$L(t.day,1,rB(t.year,t.month));return e?n?!r&&SP("day",t.day):SP("month",t.month):SP("year",t.year)}function MP(t){var e=t.hour,n=t.minute,r=t.second,i=t.millisecond,a=$L(e,0,23)||24===e&&0===n&&0===r&&0===i,o=$L(n,0,59),s=$L(r,0,59),u=$L(i,0,999);return a?o?s?!u&&SP("millisecond",i):SP("second",r):SP("minute",n):SP("hour",e)}var PP="Invalid DateTime",UP=864e13;function zP(t){return new FB("unsupported zone",'the zone "'+t.name+'" is not supported')}function jP(t){return null===t.weekData&&(t.weekData=NP(t.c)),t.weekData}function qP(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new sU(tL({},n,e,{old:n}))}function HP(t,e,n){var r=t-60*e*1e3,i=n.offset(r);if(e===i)return[r,e];r-=60*(i-e)*1e3;var a=n.offset(r);return i===a?[r,i]:[t-60*Math.min(i,a)*1e3,Math.max(i,a)]}function GP(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function WP(t,e,n){return HP(iB(t),e,n)}function VP(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),a=tL({},t.c,{year:r,month:i,day:Math.min(t.c.day,rB(r,i))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),o=rP.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=HP(iB(a),n,t.zone),u=s[0],c=s[1];return 0!==o&&(u+=o,c=t.zone.offset(u)),{ts:u,o:c}}function YP(t,e,n,r,i,a){var o=n.setZone,s=n.zone;if(t&&0!==Object.keys(t).length){var u=e||s,c=sU.fromObject(t,tL({},n,{zone:u,specificOffset:a}));return o?c:c.setZone(s)}return sU.invalid(new FB("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function ZP(t,e,n){return void 0===n&&(n=!0),t.isValid?kB.create(sM.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function $P(t,e){var n=t.c.year>9999||t.c.year<0,r="";return n&&t.c.year>=0&&(r+="+"),r+=XL(t.c.year,n?6:4),e?(r+="-",r+=XL(t.c.month),r+="-",r+=XL(t.c.day)):(r+=XL(t.c.month),r+=XL(t.c.day)),r}function XP(t,e,n,r,i,a){var o=XL(t.c.hour);return e?(o+=":",o+=XL(t.c.minute),0===t.c.second&&n||(o+=":")):o+=XL(t.c.minute),0===t.c.second&&n||(o+=XL(t.c.second),0===t.c.millisecond&&r||(o+=".",o+=XL(t.c.millisecond,3))),i&&(t.isOffsetFixed&&0===t.offset&&!a?o+="Z":t.o<0?(o+="-",o+=XL(Math.trunc(-t.o/60)),o+=":",o+=XL(Math.trunc(-t.o%60))):(o+="+",o+=XL(Math.trunc(t.o/60)),o+=":",o+=XL(Math.trunc(t.o%60)))),a&&(o+="["+t.zone.ianaName+"]"),o}var KP={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},QP={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},JP={ordinal:1,hour:0,minute:0,second:0,millisecond:0},tU=["year","month","day","hour","minute","second","millisecond"],eU=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nU=["year","ordinal","hour","minute","second","millisecond"];function rU(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new mL(t);return e}function iU(t,e){var n,r,i=jB(e.zone,ZB.defaultZone),a=sM.fromObject(e),o=ZB.now();if(HL(t.year))n=o;else{for(var s,u=cL(tU);!(s=u()).done;){var c=s.value;HL(t[c])&&(t[c]=KP[c])}var l=BP(t)||MP(t);if(l)return sU.invalid(l);var h=WP(t,i.offset(o),i);n=h[0],r=h[1]}return new sU({ts:n,zone:i,loc:a,o:r})}function aU(t,e,n){var r=!!HL(n.round)||n.round,i=function(t,i){return t=tB(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,i)},a=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return i(a(n.unit),n.unit);for(var o,s=cL(n.units);!(o=s()).done;){var u=o.value,c=a(u);if(Math.abs(c)>=1)return i(c,u)}return i(t>e?-0:0,n.units[n.units.length-1])}function oU(t){var e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}var sU=function(){function t(t){var e=t.zone||ZB.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new FB("invalid input"):null)||(e.isValid?null:zP(e));this.ts=HL(t.ts)?ZB.now():t.ts;var r=null,i=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var a=[t.old.c,t.old.o];r=a[0],i=a[1]}else{var o=e.offset(this.ts);r=GP(this.ts,o),r=(n=Number.isNaN(r.year)?new FB("invalid input"):null)?null:r,i=n?null:o}this._zone=e,this.loc=t.loc||sM.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(){var t=oU(arguments),e=t[0],n=t[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],c=n[6];return iU({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:c},e)},t.utc=function(){var t=oU(arguments),e=t[0],n=t[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],c=n[6];return e.zone=UB.utcInstance,iU({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:c},e)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r,i=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);if(Number.isNaN(i))return t.invalid("invalid input");var a=jB(n.zone,ZB.defaultZone);return a.isValid?new t({ts:i,zone:a,loc:sM.fromObject(n)}):t.invalid(zP(a))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),GL(e))return e<-UP||e>UP?t.invalid("Timestamp out of range"):new t({ts:e,zone:jB(n.zone,ZB.defaultZone),loc:sM.fromObject(n)});throw new gL("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),GL(e))return new t({ts:1e3*e,zone:jB(n.zone,ZB.defaultZone),loc:sM.fromObject(n)});throw new gL("fromSeconds requires a numerical input")},t.fromObject=function(e,n){void 0===n&&(n={}),e=e||{};var r=jB(n.zone,ZB.defaultZone);if(!r.isValid)return t.invalid(zP(r));var i=ZB.now(),a=HL(n.specificOffset)?r.offset(i):n.specificOffset,o=lB(e,rU),s=!HL(o.ordinal),u=!HL(o.year),c=!HL(o.month)||!HL(o.day),l=u||c,h=o.weekYear||o.weekNumber,f=sM.fromObject(n);if((l||s)&&h)throw new pL("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new pL("Can't mix ordinal dates with month/day");var d,p,m=h||o.weekday&&!l,g=GP(i,a);m?(d=eU,p=QP,g=NP(g)):s?(d=nU,p=JP,g=RP(g)):(d=tU,p=KP);for(var v,D=!1,y=cL(d);!(v=y()).done;){var E=v.value;HL(o[E])?o[E]=D?p[E]:g[E]:D=!0}var b=m?function(t){var e=WL(t.weekYear),n=$L(t.weekNumber,1,aB(t.weekYear)),r=$L(t.weekday,1,7);return e?n?!r&&SP("weekday",t.weekday):SP("week",t.week):SP("weekYear",t.weekYear)}(o):s?function(t){var e=WL(t.year),n=$L(t.ordinal,1,nB(t.year));return e?!n&&SP("ordinal",t.ordinal):SP("year",t.year)}(o):BP(o),w=b||MP(o);if(w)return t.invalid(w);var _=WP(m?OP(o):s?LP(o):o,a,r),T=new t({ts:_[0],zone:r,o:_[1],loc:f});return o.weekday&&l&&e.weekday!==T.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+T.toISO()):T},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return lM(t,[BM,zM],[MM,jM],[PM,qM],[UM,HM])}(t);return YP(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return lM(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[kM,FM])}(t);return YP(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return lM(t,[IM,RM],[NM,RM],[OM,LM])}(t);return YP(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),HL(e)||HL(n))throw new gL("fromFormat requires an input string and a format");var i=r,a=i.locale,o=void 0===a?null:a,s=i.numberingSystem,u=void 0===s?null:s,c=function(t,e,n){var r=CP(t,e,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(sM.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),e,n),l=c[0],h=c[1],f=c[2],d=c[3];return d?t.invalid(d):YP(l,h,r,"format "+n,e,f)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return lM(t,[WM,zM],[VM,YM])}(t);return YP(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new gL("need to specify a reason the DateTime is invalid");var r=e instanceof FB?e:new FB(e,n);if(ZB.throwOnInvalid)throw new hL(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOptions=function(t){void 0===t&&(t={});var e=kB.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(UB.instance(t),e)},e.toLocal=function(){return this.setZone(ZB.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,a=void 0!==i&&i,o=r.keepCalendarTime,s=void 0!==o&&o;if((e=jB(e,ZB.defaultZone)).equals(this.zone))return this;if(e.isValid){var u=this.ts;if(a||s){var c=e.offset(this.ts);u=WP(this.toObject(),c,e)[0]}return qP(this,{ts:u,zone:e})}return t.invalid(zP(e))},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,i=e.outputCalendar;return qP(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=lB(t,rU),r=!HL(n.weekYear)||!HL(n.weekNumber)||!HL(n.weekday),i=!HL(n.ordinal),a=!HL(n.year),o=!HL(n.month)||!HL(n.day),s=a||o,u=n.weekYear||n.weekNumber;if((s||i)&&u)throw new pL("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new pL("Can't mix ordinal dates with month/day");r?e=OP(tL({},NP(this.c),n)):HL(n.ordinal)?(e=tL({},this.toObject(),n),HL(n.day)&&(e.day=Math.min(rB(e.year,e.month),e.day))):e=LP(tL({},RP(this.c),n));var c=WP(e,this.o,this.zone);return qP(this,{ts:c[0],o:c[1]})},e.plus=function(t){return this.isValid?qP(this,VP(this,rP.fromDurationLike(t))):this},e.minus=function(t){return this.isValid?qP(this,VP(this,rP.fromDurationLike(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=rP.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);e.month=3*(r-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?kB.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):PP},e.toLocaleString=function(t,e){return void 0===t&&(t=bL),void 0===e&&(e={}),this.isValid?kB.create(this.loc.clone(e),t).formatDateTime(this):PP},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?kB.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){var e=void 0===t?{}:t,n=e.format,r=void 0===n?"extended":n,i=e.suppressSeconds,a=void 0!==i&&i,o=e.suppressMilliseconds,s=void 0!==o&&o,u=e.includeOffset,c=void 0===u||u,l=e.extendedZone,h=void 0!==l&&l;if(!this.isValid)return null;var f="extended"===r,d=$P(this,f);return d+="T",d+=XP(this,f,a,s,c,h)},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n=void 0===e?"extended":e;return this.isValid?$P(this,"extended"===n):null},e.toISOWeekDate=function(){return ZP(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=void 0!==n&&n,i=e.suppressSeconds,a=void 0!==i&&i,o=e.includeOffset,s=void 0===o||o,u=e.includePrefix,c=void 0!==u&&u,l=e.extendedZone,h=void 0!==l&&l,f=e.format,d=void 0===f?"extended":f;return this.isValid?(c?"T":"")+XP(this,"extended"===d,a,r,s,h):null},e.toRFC2822=function(){return ZP(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return ZP(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return this.isValid?$P(this,!0):null},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,i=e.includeZone,a=void 0!==i&&i,o=e.includeOffsetSpace,s="HH:mm:ss.SSS";return(a||r)&&((void 0===o||o)&&(s+=" "),a?s+="z":r&&(s+="ZZ")),ZP(this,s,!0)},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():PP},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=tL({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return rP.invalid("created by diffing an invalid DateTime");var r,i=tL({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(r=e,Array.isArray(r)?r:[r]).map(rP.normalizeUnit),o=t.valueOf()>this.valueOf(),s=cP(o?this:t,o?t:this,a,i);return o?s.negate():s},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?oP.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({},{zone:this.zone}),r=e.padding?thisthis.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return eB(this.year)}},{key:"daysInMonth",get:function(){return rB(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?nB(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?aB(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return bL}},{key:"DATE_MED",get:function(){return wL}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return _L}},{key:"DATE_FULL",get:function(){return TL}},{key:"DATE_HUGE",get:function(){return CL}},{key:"TIME_SIMPLE",get:function(){return AL}},{key:"TIME_WITH_SECONDS",get:function(){return xL}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return SL}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return kL}},{key:"TIME_24_SIMPLE",get:function(){return FL}},{key:"TIME_24_WITH_SECONDS",get:function(){return IL}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return NL}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return OL}},{key:"DATETIME_SHORT",get:function(){return RL}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return LL}},{key:"DATETIME_MED",get:function(){return BL}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return ML}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return PL}},{key:"DATETIME_FULL",get:function(){return UL}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return zL}},{key:"DATETIME_HUGE",get:function(){return jL}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return qL}}]),t}();function uU(t){if(sU.isDateTime(t))return t;if(t&&t.valueOf&&GL(t.valueOf()))return sU.fromJSDate(t);if(t&&"object"==typeof t)return sU.fromObject(t);throw new gL("Unknown datetime argument: "+t+", of type "+typeof t)}var cU=KR.DateTime=sU,lU=KR.Duration=rP;KR.FixedOffsetZone=UB,KR.IANAZone=MB,KR.Info=sP,KR.Interval=oP,KR.InvalidZone=zB,KR.Settings=ZB,KR.SystemZone=OB,KR.VERSION="2.4.0",KR.Zone=IB;const hU={renderNullAs:"\\-",taskCompletionTracking:!1,taskCompletionUseEmojiShorthand:!1,taskCompletionText:"completion",taskCompletionDateFormat:"yyyy-MM-dd",recursiveSubTaskCompletion:!1,warnOnEmptyResult:!0,refreshEnabled:!0,refreshInterval:2500,defaultDateFormat:"MMMM dd, yyyy",defaultDateTimeFormat:"h:mm a - MMMM dd, yyyy",maxRecursiveRenderDepth:4,tableIdColumnName:"File",tableGroupColumnName:"Group",showResultCount:!0};class fU{constructor(t){this.value=t,this.successful=!0}map(t){return new fU(t(this.value))}flatMap(t){return t(this.value)}mapErr(t){return this}bimap(t,e){return this.map(t)}orElse(t){return this.value}cast(){return this}orElseThrow(t){return this.value}}class dU{constructor(t){this.error=t,this.successful=!1}map(t){return this}flatMap(t){return this}mapErr(t){return new dU(t(this.error))}bimap(t,e){return this.mapErr(e)}orElse(t){return t}cast(){return this}orElseThrow(t){throw t?new Error(t(this.error)):new Error(""+this.error)}}var pU;!function(t){function e(t){return new fU(t)}function n(t){return new dU(t)}function r(t,e,r){return t.successful?e.successful?r(t.value,e.value):n(e.error):n(t.error)}t.success=e,t.failure=n,t.flatMap2=r,t.map2=function(t,n,i){return r(t,n,((t,n)=>e(i(t,n))))}}(pU||(pU={}));var mU={exports:{}};"undefined"!=typeof self&&self,mU.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){function r(t){if(!(this instanceof r))return new r(t);this._=t}var i=r.prototype;function a(t,e){for(var n=0;n>7),buf:function(t){var e=o((function(t,e,n,r){return t.concat(n===r.length-1?dR.from([e,0]).readUInt16BE(0):r.readUInt16BE(n))}),[],t);return dR.from(s((function(t){return(t<<1&65535)>>8}),e))}(n.buf)}})),n}function c(){return void 0!==dR}function l(){if(!c())throw new Error("Buffer global does not exist; please use webpack if you need to parse Buffers in the browser.")}function h(t){l();var e=o((function(t,e){return t+e}),0,t);if(e%8!=0)throw new Error("The bits ["+t.join(", ")+"] add up to "+e+" which is not an even number of bytes; the total should be divisible by 8");var n,i=e/8,a=(n=function(t){return t>48},o((function(t,e){return t||(n(e)?e:t)}),null,t));if(a)throw new Error(a+" bit range requested exceeds 48 bit (6 byte) Number max.");return new r((function(e,n){var r=i+n;return r>e.length?w(n,i.toString()+" bytes"):b(r,o((function(t,e){var n=u(e,t.buf);return{coll:t.coll.concat(n.v),buf:n.buf}}),{coll:[],buf:e.slice(n,r)},t).coll)}))}function f(t,e){return new r((function(n,r){return l(),r+e>n.length?w(r,e+" bytes for "+t):b(r+e,n.slice(r,r+e))}))}function d(t,e){if("number"!=typeof(n=e)||Math.floor(n)!==n||e<0||e>6)throw new Error(t+" requires integer length in range [0, 6].");var n}function p(t){return d("uintBE",t),f("uintBE("+t+")",t).map((function(e){return e.readUIntBE(0,t)}))}function m(t){return d("uintLE",t),f("uintLE("+t+")",t).map((function(e){return e.readUIntLE(0,t)}))}function g(t){return d("intBE",t),f("intBE("+t+")",t).map((function(e){return e.readIntBE(0,t)}))}function v(t){return d("intLE",t),f("intLE("+t+")",t).map((function(e){return e.readIntLE(0,t)}))}function D(t){return t instanceof r}function y(t){return"[object Array]"==={}.toString.call(t)}function E(t){return c()&&dR.isBuffer(t)}function b(t,e){return{status:!0,index:t,value:e,furthest:-1,expected:[]}}function w(t,e){return y(e)||(e=[e]),{status:!1,index:-1,value:null,furthest:t,expected:e}}function _(t,e){if(!e)return t;if(t.furthest>e.furthest)return t;var n=t.furthest===e.furthest?function(t,e){if(function(){if(void 0!==r._supportsSet)return r._supportsSet;var t="undefined"!=typeof Set;return r._supportsSet=t,t}()&&Array.from){for(var n=new Set(t),i=0;i=0;){if(o in n){r=n[o].line,0===a&&(a=n[o].lineStart);break}("\n"===t.charAt(o)||"\r"===t.charAt(o)&&"\n"!==t.charAt(o+1))&&(i++,0===a&&(a=o+1)),o--}var s=r+i,u=e-a;return n[e]={line:s,lineStart:a},{offset:e,line:s+1,column:u+1}}function A(t){if(!D(t))throw new Error("not a parser: "+t)}function x(t,e){return"string"==typeof t?t.charAt(e):t[e]}function S(t){if("number"!=typeof t)throw new Error("not a number: "+t)}function k(t){if("function"!=typeof t)throw new Error("not a function: "+t)}function F(t){if("string"!=typeof t)throw new Error("not a string: "+t)}var I=2,N=3,O=8,R=5*O,L=4*O,B=" ";function M(t,e){return new Array(e+1).join(t)}function P(t,e,n){var r=e-t.length;return r<=0?t:M(n,r)+t}function U(t,e,n,r){return{from:t-e>0?t-e:0,to:t+n>r?r:t+n}}function z(t,e){var n,r,i,a,u,c=e.index,l=c.offset,h=1;if(l===t.length)return"Got the end of the input";if(E(t)){var f=l-l%O,d=l-f,p=U(f,R,L+O,t.length),m=s((function(t){return s((function(t){return P(t.toString(16),2,"0")}),t)}),function(t,e){var n=t.length,r=[],i=0;if(n<=e)return[t.slice()];for(var a=0;a=4&&(n+=1),h=2,i=s((function(t){return t.length<=4?t.join(" "):t.slice(0,4).join(" ")+" "+t.slice(4).join(" ")}),m),(u=(8*(a.to>0?a.to-1:a.to)).toString(16).length)<2&&(u=2)}else{var g=t.split(/\r\n|[\n\r\u2028\u2029]/);n=c.column-1,r=c.line-1,a=U(r,I,N,g.length),i=g.slice(a.from,a.to),u=a.to.toString().length}var v=r-a.from;return E(t)&&(u=(8*(a.to>0?a.to-1:a.to)).toString(16).length)<2&&(u=2),o((function(e,r,i){var o,s=i===v,c=s?"> ":B;return o=E(t)?P((8*(a.from+i)).toString(16),u,"0"):P((a.from+i+1).toString(),u," "),[].concat(e,[c+o+" | "+r],s?[B+M(" ",u)+" | "+P("",n," ")+M("^",h)]:[])}),[],i).join("\n")}function j(t,e){return["\n","-- PARSING FAILED "+M("-",50),"\n\n",z(t,e),"\n\n",(n=e.expected,1===n.length?"Expected:\n\n"+n[0]:"Expected one of the following: \n\n"+n.join(", ")),"\n"].join("");var n}function q(t){return void 0!==t.flags?t.flags:[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.unicode?"u":"",t.sticky?"y":""].join("")}function H(){for(var t=[].slice.call(arguments),e=t.length,n=0;n=2?S(e):e=0;var n=function(t){return RegExp("^(?:"+t.source+")",q(t))}(t),i=""+t;return r((function(t,r){var a=n.exec(t.slice(r));if(a){if(0<=e&&e<=a.length){var o=a[0],s=a[e];return b(r+o.length,s)}return w(r,"valid match group (0 to "+a.length+") in "+i)}return w(r,i)}))}function X(t){return r((function(e,n){return b(n,t)}))}function K(t){return r((function(e,n){return w(n,t)}))}function Q(t){if(D(t))return r((function(e,n){var r=t._(e,n);return r.index=n,r.value="",r}));if("string"==typeof t)return Q(Z(t));if(t instanceof RegExp)return Q($(t));throw new Error("not a string, regexp, or parser: "+t)}function J(t){return A(t),r((function(e,n){var r=t._(e,n),i=e.slice(n,r.index);return r.status?w(n,'not "'+i+'"'):b(n,null)}))}function tt(t){return k(t),r((function(e,n){var r=x(e,n);return n=t.length?w(e,"any character/byte"):b(e+1,x(t,e))})),at=r((function(t,e){return b(t.length,t.slice(e))})),ot=r((function(t,e){return e=0})).desc(e)},r.optWhitespace=ht,r.Parser=r,r.range=function(t,e){return tt((function(n){return t<=n&&n<=e})).desc(t+"-"+e)},r.regex=$,r.regexp=$,r.sepBy=V,r.sepBy1=Y,r.seq=H,r.seqMap=G,r.seqObj=function(){for(var t,e={},n=0,i=(t=arguments,Array.prototype.slice.call(t)),a=i.length,o=0;o255)throw new Error("Value specified to byte constructor ("+t+"=0x"+t.toString(16)+") is larger in value than a single byte.");var e=(t>15?"0x":"0x0")+t.toString(16);return r((function(n,r){var i=x(n,r);return i===t?b(r+1,i):w(r,e)}))},buffer:function(t){return f("buffer",t).map((function(t){return dR.from(t)}))},encodedString:function(t,e){return f("string",e).map((function(e){return e.toString(t)}))},uintBE:p,uint8BE:p(1),uint16BE:p(2),uint32BE:p(4),uintLE:m,uint8LE:m(1),uint16LE:m(2),uint32LE:m(4),intBE:g,int8BE:g(1),int16BE:g(2),int32BE:g(4),intLE:v,int8LE:v(1),int16LE:v(2),int32LE:v(4),floatBE:f("floatBE",4).map((function(t){return t.readFloatBE(0)})),floatLE:f("floatLE",4).map((function(t){return t.readFloatLE(0)})),doubleBE:f("doubleBE",8).map((function(t){return t.readDoubleBE(0)})),doubleLE:f("doubleLE",8).map((function(t){return t.readDoubleLE(0)}))},t.exports=r}]);function gU(t){return null==t?t:t.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds").normalize()}function vU(t){return t.includes("/")&&(t=t.substring(t.lastIndexOf("/")+1)),t.endsWith(".md")&&(t=t.substring(0,t.length-3)),t}mU.exports.alt(mU.exports.regex(new RegExp(/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g,"")),mU.exports.regex(/[0-9\p{Letter}_-]+/u).map((t=>t.toLocaleLowerCase())),mU.exports.whitespace.map((t=>"-")),mU.exports.any.map((t=>""))).many().map((t=>t.join("")));const DU=mU.exports.alt(mU.exports.regex(new RegExp(/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g,"")),mU.exports.regex(/[0-9\p{Letter}_-]+/u),mU.exports.whitespace.map((t=>" ")),mU.exports.any.map((t=>" "))).many().map((t=>t.join("").split(/\s+/).join(" ").trim()));function yU(t){return DU.tryParse(t)}var EU,bU,wU,_U,TU;!function(t){function e(t){return o(t)?{type:"null",value:t}:r(t)?{type:"number",value:t}:n(t)?{type:"string",value:t}:u(t)?{type:"boolean",value:t}:a(t)?{type:"duration",value:t}:i(t)?{type:"date",value:t}:l(t)?{type:"widget",value:t}:s(t)?{type:"array",value:t}:c(t)?{type:"link",value:t}:d(t)?{type:"function",value:t}:h(t)?{type:"html",value:t}:f(t)?{type:"object",value:t}:void 0}function n(t){return"string"==typeof t}function r(t){return"number"==typeof t}function i(t){return t instanceof cU}function a(t){return t instanceof lU}function o(t){return null==t}function s(t){return Array.isArray(t)}function u(t){return"boolean"==typeof t}function c(t){return t instanceof CU}function l(t){return t instanceof AU}function h(t){return"undefined"!=typeof HTMLElement&&t instanceof HTMLElement}function f(t){return!("object"!=typeof t||h(t)||l(t)||s(t)||a(t)||i(t)||c(t)||void 0===t||o(t))}function d(t){return"function"==typeof t}t.toString=function t(n,r=hU,i=!1){let a=e(n);if(!a)return r.renderNullAs;switch(a.type){case"null":return r.renderNullAs;case"string":return a.value;case"number":case"boolean":return""+a.value;case"html":return a.value.outerHTML;case"widget":case"link":return a.value.markdown();case"function":return"";case"array":let e="";return i&&(e+="["),e+=a.value.map((e=>t(e,r,!0))).join(", "),i&&(e+="]"),e;case"object":return"{ "+Object.entries(a.value).map((e=>e[0]+": "+t(e[1],r,!0))).join(", ")+" }";case"date":return 0==a.value.second&&0==a.value.hour&&0==a.value.minute?a.value.toFormat(r.defaultDateFormat):a.value.toFormat(r.defaultDateTimeFormat);case"duration":return function(t){let e="";return(t=gU(t)).years&&(e+=`${t.years} years, `),t.months&&(e+=`${t.months} months, `),t.weeks&&(e+=`${t.weeks} weeks, `),t.days&&(e+=`${t.days} days, `),t.hours&&(e+=`${t.hours} hours, `),t.minutes&&(e+=`${t.minutes} minutes, `),t.seconds&&(e+=`${Math.round(t.seconds)} seconds, `),t.milliseconds&&(e+=`${Math.round(t.milliseconds)} ms, `),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}(a.value)}},t.wrapValue=e,t.mapLeaves=function t(e,n){if(f(e)){let r={};for(let[i,a]of Object.entries(e))r[i]=t(a,n);return r}if(s(e)){let r=[];for(let i of e)r.push(t(i,n));return r}return n(e)},t.compareValue=function t(n,r,i){var a,o;if(void 0===n&&(n=null),void 0===r&&(r=null),null===n&&null===r)return 0;if(null===n)return-1;if(null===r)return 1;let s=e(n),u=e(r);if(void 0===s&&void 0===u)return 0;if(void 0===s)return-1;if(void 0===u)return 1;if(s.type!=u.type)return s.type.localeCompare(u.type);if(s.value===u.value)return 0;switch(s.type){case"string":return s.value.localeCompare(u.value);case"number":return s.valuet,c=r(e.path).localeCompare(r(n.path));if(0!=c)return c;let l=e.type.localeCompare(n.type);return 0!=l?l:e.subpath&&!n.subpath?1:!e.subpath&&n.subpath?-1:e.subpath||n.subpath?(null!==(a=e.subpath)&&void 0!==a?a:"").localeCompare(null!==(o=n.subpath)&&void 0!==o?o:""):0;case"date":case"duration":return s.value0;case"boolean":return n.value;case"link":return!!n.value.path;case"date":return 0!=n.value.toMillis();case"duration":return 0!=n.value.as("seconds");case"object":return Object.keys(n.value).length>0;case"null":return!1;case"html":case"widget":case"function":return!0}},t.deepCopy=function e(n){if(null==n)return n;if(t.isArray(n))return[].concat(n.map((t=>e(t))));if(t.isObject(n)){let t={};for(let[r,i]of Object.entries(n))t[r]=e(i);return t}return n},t.isString=n,t.isNumber=r,t.isDate=i,t.isDuration=a,t.isNull=o,t.isArray=s,t.isBoolean=u,t.isLink=c,t.isWidget=l,t.isHtml=h,t.isObject=f,t.isFunction=d}(EU||(EU={})),function(t){function e(t){return EU.isObject(t)&&2==Object.keys(t).length&&"key"in t&&"rows"in t}function n(t){for(let n of t)if(!e(n))return!1;return!0}t.isElementGroup=e,t.isGrouping=n,t.count=function t(e){if(n(e)){let n=0;for(let r of e)n+=t(r.rows);return n}return e.length}}(bU||(bU={}));class CU{constructor(t){Object.assign(this,t)}static file(t,e=!1,n){return new CU({path:t,embed:e,display:n,subpath:void 0,type:"file"})}static infer(t,e=!1,n){if(t.includes("#^")){let r=t.split("#^");return CU.block(r[0],r[1],e,n)}if(t.includes("#")){let r=t.split("#");return CU.header(r[0],r[1],e,n)}return CU.file(t,e,n)}static header(t,e,n,r){return new CU({path:t,embed:n,display:r,subpath:yU(e),type:"header"})}static block(t,e,n,r){return new CU({path:t,embed:n,display:r,subpath:e,type:"block"})}static fromObject(t){return new CU(t)}equals(t){return null!=t&&null!=t&&(this.path==t.path&&this.type==t.type&&this.subpath==t.subpath)}toString(){return this.markdown()}toObject(){return{path:this.path,type:this.type,subpath:this.subpath,display:this.display,embed:this.embed}}withPath(t){return new CU(Object.assign({},this,{path:t}))}withDisplay(t){return new CU(Object.assign({},this,{display:t}))}withHeader(t){return CU.header(this.path,t,this.embed,this.display)}toFile(){return CU.file(this.path,this.embed,this.display)}toEmbed(){if(this.embed)return this;{let t=new CU(this);return t.embed=!0,t}}fromEmbed(){if(this.embed){let t=new CU(this);return t.embed=!1,t}return this}markdown(){let t=(this.embed?"!":"")+"[["+this.obsidianLink();return this.display?t+="|"+this.display:(t+="|"+vU(this.path),"header"!=this.type&&"block"!=this.type||(t+=" > "+this.subpath)),t+="]]",t}obsidianLink(){var t,e;const n=this.path.replace("|","\\|");return"header"==this.type?n+"#"+(null===(t=this.subpath)||void 0===t?void 0:t.replace("|","\\|")):"block"==this.type?n+"#^"+(null===(e=this.subpath)||void 0===e?void 0:e.replace("|","\\|")):n}fileName(){return vU(this.path).replace(".md","")}}class AU{constructor(t){this.$widget=t}}class xU extends AU{constructor(t,e){super("dataview:list-pair"),this.key=t,this.value=e}markdown(){return`${EU.toString(this.key)}: ${EU.toString(this.value)}`}}class SU extends AU{constructor(t,e){super("dataview:external-link"),this.url=t,this.display=e}markdown(){var t;return`[${null!==(t=this.display)&&void 0!==t?t:this.url}](${this.url})`}}!function(t){function e(t){return"dataview:list-pair"===t.$widget}function n(t){return"dataview:external-link"===t.$widget}t.listPair=function(t,e){return new xU(t,e)},t.externalLink=function(t,e){return new SU(t,e)},t.isListPair=e,t.isExternalLink=n,t.isBuiltin=function(t){return e(t)||n(t)}}(wU||(wU={})),function(t){t.variable=function(t){return{type:"variable",name:t}},t.literal=function(t){return{type:"literal",value:t}},t.binaryOp=function(t,e,n){return{type:"binaryop",left:t,op:e,right:n}},t.index=function(t,e){return{type:"index",object:t,index:e}},t.indexVariable=function(e){let n=e.split("."),r=t.variable(n[0]);for(let e=1;e"==t||">="==t||"!="==t||"="==t},t.NULL=t.literal(null)}(_U||(_U={})),function(t){t.tag=function(t){return{type:"tag",tag:t}},t.csv=function(t){return{type:"csv",path:t}},t.folder=function(t){return{type:"folder",folder:t}},t.link=function(t,e){return{type:"link",file:t,direction:e?"incoming":"outgoing"}},t.binaryOp=function(t,e,n){return{type:"binaryop",left:t,op:e,right:n}},t.and=function(t,e){return{type:"binaryop",left:t,op:"&",right:e}},t.or=function(t,e){return{type:"binaryop",left:t,op:"|",right:e}},t.negate=function(t){return{type:"negate",child:t}},t.empty=function(){return{type:"empty"}}}(TU||(TU={}));const kU=new RegExp(/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g,""),FU={year:lU.fromObject({years:1}),years:lU.fromObject({years:1}),yr:lU.fromObject({years:1}),yrs:lU.fromObject({years:1}),month:lU.fromObject({months:1}),months:lU.fromObject({months:1}),mo:lU.fromObject({months:1}),mos:lU.fromObject({months:1}),week:lU.fromObject({weeks:1}),weeks:lU.fromObject({weeks:1}),wk:lU.fromObject({weeks:1}),wks:lU.fromObject({weeks:1}),w:lU.fromObject({weeks:1}),day:lU.fromObject({days:1}),days:lU.fromObject({days:1}),d:lU.fromObject({days:1}),hour:lU.fromObject({hours:1}),hours:lU.fromObject({hours:1}),hr:lU.fromObject({hours:1}),hrs:lU.fromObject({hours:1}),h:lU.fromObject({hours:1}),minute:lU.fromObject({minutes:1}),minutes:lU.fromObject({minutes:1}),min:lU.fromObject({minutes:1}),mins:lU.fromObject({minutes:1}),m:lU.fromObject({minutes:1}),second:lU.fromObject({seconds:1}),seconds:lU.fromObject({seconds:1}),sec:lU.fromObject({seconds:1}),secs:lU.fromObject({seconds:1}),s:lU.fromObject({seconds:1})},IU={now:()=>cU.local(),today:()=>cU.local().startOf("day"),yesterday:()=>cU.local().startOf("day").minus(lU.fromObject({days:1})),tomorrow:()=>cU.local().startOf("day").plus(lU.fromObject({days:1})),sow:()=>cU.local().startOf("week"),"start-of-week":()=>cU.local().startOf("week"),eow:()=>cU.local().endOf("week"),"end-of-week":()=>cU.local().endOf("week"),soy:()=>cU.local().startOf("year"),"start-of-year":()=>cU.local().startOf("year"),eoy:()=>cU.local().endOf("year"),"end-of-year":()=>cU.local().endOf("year"),som:()=>cU.local().startOf("month"),"start-of-month":()=>cU.local().startOf("month"),eom:()=>cU.local().endOf("month"),"end-of-month":()=>cU.local().endOf("month")},NU=["FROM","WHERE","LIMIT","GROUP","FLATTEN"];function OU(t,e,n){return mU.exports.seqMap(t,mU.exports.seq(mU.exports.optWhitespace,e,mU.exports.optWhitespace,t).many(),((t,e)=>{if(0==e.length)return t;let r=n(t,e[0][1],e[0][3]);for(let t=1;tmU.exports.regexp(/-?[0-9]+(\.[0-9]+)?/).map((t=>Number.parseFloat(t))).desc("number"),string:t=>mU.exports.string('"').then(mU.exports.alt(t.escapeCharacter,mU.exports.noneOf('"\\')).atLeast(0).map((t=>t.join("")))).skip(mU.exports.string('"')).desc("string"),escapeCharacter:t=>mU.exports.string("\\").then(mU.exports.any).map((t=>'"'===t?'"':"\\"===t?"\\":"\\"+t)),bool:t=>mU.exports.regexp(/true|false|True|False/).map((t=>"true"==t.toLowerCase())).desc("boolean ('true' or 'false')"),tag:t=>mU.exports.seqMap(mU.exports.string("#"),mU.exports.alt(mU.exports.regexp(/[^\u2000-\u206F\u2E00-\u2E7F'!"#$%&()*+,.:;<=>?@^`{|}~\[\]\\\s]/).desc("text")).many(),((t,e)=>t+e.join(""))).desc("tag ('#hello/stuff')"),identifier:t=>mU.exports.seqMap(mU.exports.alt(mU.exports.regexp(/\p{Letter}/u),mU.exports.regexp(kU).desc("text")),mU.exports.alt(mU.exports.regexp(/[0-9\p{Letter}_-]/u),mU.exports.regexp(kU).desc("text")).many(),((t,e)=>t+e.join(""))).desc("variable identifier"),link:t=>mU.exports.regexp(/\[\[([^\[\]]*?)\]\]/u,1).map((t=>function(t){let[e,n]=function(t){let e=-1;for(;(e=t.indexOf("|",e+1))>=0;)if(!(e>0&&"\\"==t[e-1]))return[t.substring(0,e).replace(/\\\|/g,"|"),t.substring(e+1)];return[t.replace(/\\\|/g,"|"),void 0]}(t);return CU.infer(e,!1,n)}(t))).desc("file link"),embedLink:t=>mU.exports.seqMap(mU.exports.string("!").atMost(1),t.link,((t,e)=>(t.length>0&&(e.embed=!0),e))).desc("file link"),binaryPlusMinus:t=>mU.exports.regexp(/\+|-/).map((t=>t)).desc("'+' or '-'"),binaryMulDiv:t=>mU.exports.regexp(/\*|\/|%/).map((t=>t)).desc("'*' or '/' or '%'"),binaryCompareOp:t=>mU.exports.regexp(/>=|<=|!=|>|<|=/).map((t=>t)).desc("'>=' or '<=' or '!=' or '=' or '>' or '<'"),binaryBooleanOp:t=>mU.exports.regexp(/and|or|&|\|/i).map((t=>"and"==t.toLowerCase()?"&":"or"==t.toLowerCase()?"|":t)).desc("'and' or 'or'"),rootDate:t=>mU.exports.seqMap(mU.exports.regexp(/\d{4}/),mU.exports.string("-"),mU.exports.regexp(/\d{2}/),((t,e,n)=>cU.fromObject({year:Number.parseInt(t),month:Number.parseInt(n)}))).desc("date in format YYYY-MM[-DDTHH-MM-SS.MS]"),dateShorthand:t=>mU.exports.alt(...Object.keys(IU).sort(((t,e)=>e.length-t.length)).map(mU.exports.string)),date:t=>function(t,...e){return mU.exports.custom(((n,r)=>(n,r)=>{let i=t._(n,r);if(!i.status)return i;for(let t of e){let e=t(i.value)._(n,i.index);if(!e.status)return i;i=e}return i}))}(t.rootDate,(t=>mU.exports.seqMap(mU.exports.string("-"),mU.exports.regexp(/\d{2}/),((e,n)=>t.set({day:Number.parseInt(n)})))),(t=>mU.exports.seqMap(mU.exports.string("T"),mU.exports.regexp(/\d{2}/),((e,n)=>t.set({hour:Number.parseInt(n)})))),(t=>mU.exports.seqMap(mU.exports.string(":"),mU.exports.regexp(/\d{2}/),((e,n)=>t.set({minute:Number.parseInt(n)})))),(t=>mU.exports.seqMap(mU.exports.string(":"),mU.exports.regexp(/\d{2}/),((e,n)=>t.set({second:Number.parseInt(n)})))),(t=>mU.exports.alt(mU.exports.seqMap(mU.exports.string("."),mU.exports.regexp(/\d{3}/),((e,n)=>t.set({millisecond:Number.parseInt(n)}))),mU.exports.succeed(t))),(t=>mU.exports.alt(mU.exports.seqMap(mU.exports.string("+").or(mU.exports.string("-")),mU.exports.regexp(/\d{1,2}(:\d{2})?/),((e,n)=>t.setZone("UTC"+e+n,{keepLocalTime:!0}))),mU.exports.seqMap(mU.exports.string("Z"),(()=>t.setZone("utc",{keepLocalTime:!0}))),mU.exports.seqMap(mU.exports.string("["),mU.exports.regexp(/[0-9A-Za-z+-\/]+/u),mU.exports.string("]"),((e,n,r)=>t.setZone(n,{keepLocalTime:!0})))))).assert((t=>t.isValid),"valid date").desc("date in format YYYY-MM[-DDTHH-MM-SS.MS]"),datePlus:t=>mU.exports.alt(t.dateShorthand.map((t=>IU[t]())),t.date).desc("date in format YYYY-MM[-DDTHH-MM-SS.MS] or in shorthand"),durationType:t=>mU.exports.alt(...Object.keys(FU).sort(((t,e)=>e.length-t.length)).map(mU.exports.string)),duration:t=>mU.exports.seqMap(t.number,mU.exports.optWhitespace,t.durationType,((t,e,n)=>FU[n].mapUnits((e=>e*t)))).sepBy1(mU.exports.string(",").trim(mU.exports.optWhitespace).or(mU.exports.optWhitespace)).map((t=>t.reduce(((t,e)=>t.plus(e))))).desc("duration like 4hr2min"),rawNull:t=>mU.exports.string("null"),tagSource:t=>t.tag.map((t=>TU.tag(t))),csvSource:t=>mU.exports.seqMap(mU.exports.string("csv(").skip(mU.exports.optWhitespace),t.string,mU.exports.string(")"),((t,e,n)=>TU.csv(e))),linkIncomingSource:t=>t.link.map((t=>TU.link(t.path,!0))),linkOutgoingSource:t=>mU.exports.seqMap(mU.exports.string("outgoing(").skip(mU.exports.optWhitespace),t.link,mU.exports.string(")"),((t,e,n)=>TU.link(e.path,!1))),folderSource:t=>t.string.map((t=>TU.folder(t))),parensSource:t=>mU.exports.seqMap(mU.exports.string("("),mU.exports.optWhitespace,t.source,mU.exports.optWhitespace,mU.exports.string(")"),((t,e,n,r,i)=>n)),negateSource:t=>mU.exports.seqMap(mU.exports.alt(mU.exports.string("-"),mU.exports.string("!")),t.atomSource,((t,e)=>TU.negate(e))),atomSource:t=>mU.exports.alt(t.parensSource,t.negateSource,t.linkOutgoingSource,t.linkIncomingSource,t.folderSource,t.tagSource,t.csvSource),binaryOpSource:t=>OU(t.atomSource,t.binaryBooleanOp.map((t=>t)),TU.binaryOp),source:t=>t.binaryOpSource,variableField:t=>t.identifier.chain((t=>NU.includes(t.toUpperCase())?mU.exports.fail("Variable fields cannot be a keyword ("+NU.join(" or ")+")"):mU.exports.succeed(_U.variable(t)))).desc("variable"),numberField:t=>t.number.map((t=>_U.literal(t))).desc("number"),stringField:t=>t.string.map((t=>_U.literal(t))).desc("string"),boolField:t=>t.bool.map((t=>_U.literal(t))).desc("boolean"),dateField:t=>mU.exports.seqMap(mU.exports.string("date("),mU.exports.optWhitespace,t.datePlus,mU.exports.optWhitespace,mU.exports.string(")"),((t,e,n,r,i)=>_U.literal(n))).desc("date"),durationField:t=>mU.exports.seqMap(mU.exports.string("dur("),mU.exports.optWhitespace,t.duration,mU.exports.optWhitespace,mU.exports.string(")"),((t,e,n,r,i)=>_U.literal(n))).desc("duration"),nullField:t=>t.rawNull.map((t=>_U.NULL)),linkField:t=>t.link.map((t=>_U.literal(t))),listField:t=>t.field.sepBy(mU.exports.string(",").trim(mU.exports.optWhitespace)).wrap(mU.exports.string("[").skip(mU.exports.optWhitespace),mU.exports.optWhitespace.then(mU.exports.string("]"))).map((t=>_U.list(t))).desc("list ('[1, 2, 3]')"),objectField:t=>mU.exports.seqMap(t.identifier.or(t.string),mU.exports.string(":").trim(mU.exports.optWhitespace),t.field,((t,e,n)=>({name:t,value:n}))).sepBy(mU.exports.string(",").trim(mU.exports.optWhitespace)).wrap(mU.exports.string("{").skip(mU.exports.optWhitespace),mU.exports.optWhitespace.then(mU.exports.string("}"))).map((t=>{let e={};for(let n of t)e[n.name]=n.value;return _U.object(e)})).desc("object ('{ a: 1, b: 2 }')"),atomInlineField:t=>mU.exports.alt(t.date,t.duration.map((t=>gU(t))),t.string,t.tag,t.embedLink,t.bool,t.number,t.rawNull),inlineFieldList:t=>t.atomInlineField.sepBy(mU.exports.string(",").trim(mU.exports.optWhitespace).lookahead(t.atomInlineField)),inlineField:t=>mU.exports.alt(mU.exports.seqMap(t.atomInlineField,mU.exports.string(",").trim(mU.exports.optWhitespace),t.inlineFieldList,((t,e,n)=>[t].concat(n))),t.atomInlineField),atomField:t=>mU.exports.alt(t.embedLink.map((t=>_U.literal(t))),t.negatedField,t.linkField,t.listField,t.objectField,t.lambdaField,t.parensField,t.boolField,t.numberField,t.stringField,t.dateField,t.durationField,t.nullField,t.variableField),indexField:t=>mU.exports.seqMap(t.atomField,mU.exports.alt(t.dotPostfix,t.indexPostfix,t.functionPostfix).many(),((t,e)=>{let n=t;for(let t of e)switch(t.type){case"dot":n=_U.index(n,_U.literal(t.field));break;case"index":n=_U.index(n,t.field);break;case"function":n=_U.func(n,t.fields)}return n})),negatedField:t=>mU.exports.seqMap(mU.exports.string("!"),t.indexField,((t,e)=>_U.negate(e))).desc("negated field"),parensField:t=>mU.exports.seqMap(mU.exports.string("("),mU.exports.optWhitespace,t.field,mU.exports.optWhitespace,mU.exports.string(")"),((t,e,n,r,i)=>n)),lambdaField:t=>mU.exports.seqMap(t.identifier.sepBy(mU.exports.string(",").trim(mU.exports.optWhitespace)).wrap(mU.exports.string("(").trim(mU.exports.optWhitespace),mU.exports.string(")").trim(mU.exports.optWhitespace)),mU.exports.string("=>").trim(mU.exports.optWhitespace),t.field,((t,e,n)=>({type:"lambda",arguments:t,value:n}))),dotPostfix:t=>mU.exports.seqMap(mU.exports.string("."),t.identifier,((t,e)=>({type:"dot",field:e}))),indexPostfix:t=>mU.exports.seqMap(mU.exports.string("["),mU.exports.optWhitespace,t.field,mU.exports.optWhitespace,mU.exports.string("]"),((t,e,n,r,i)=>({type:"index",field:n}))),functionPostfix:t=>mU.exports.seqMap(mU.exports.string("("),mU.exports.optWhitespace,t.field.sepBy(mU.exports.string(",").trim(mU.exports.optWhitespace)),mU.exports.optWhitespace,mU.exports.string(")"),((t,e,n,r,i)=>({type:"function",fields:n}))),binaryMulDivField:t=>OU(t.indexField,t.binaryMulDiv,_U.binaryOp),binaryPlusMinusField:t=>OU(t.binaryMulDivField,t.binaryPlusMinus,_U.binaryOp),binaryCompareField:t=>OU(t.binaryPlusMinusField,t.binaryCompareOp,_U.binaryOp),binaryBooleanField:t=>OU(t.binaryCompareField,t.binaryBooleanOp,_U.binaryOp),binaryOpField:t=>t.binaryBooleanField,field:t=>t.binaryOpField});var LU;!function(t){t.named=function(t,e){return{name:t,field:e}},t.sortBy=function(t,e){return{field:t,direction:e}}}(LU||(LU={})),mU.exports.createLanguage({queryType:t=>mU.exports.alt(mU.exports.regexp(/TABLE|LIST|TASK|CALENDAR/i)).map((t=>t.toLowerCase())).desc("query type ('TABLE', 'LIST', 'TASK', or 'CALENDAR')"),explicitNamedField:t=>mU.exports.seqMap(RU.field.skip(mU.exports.whitespace),mU.exports.regexp(/AS/i).skip(mU.exports.whitespace),RU.identifier.or(RU.string),((t,e,n)=>LU.named(n,t))),namedField:t=>mU.exports.alt(t.explicitNamedField,function(t){return mU.exports.custom(((e,n)=>(e,n)=>{let r=t._(e,n);return r.status?Object.assign({},r,{value:[r.value,e.substring(n,r.index)]}):r}))}(RU.field).map((([t,e])=>LU.named(function(t){return t.split(/[\r\n]+/).map((t=>t.trim())).join("")}(e),t)))),sortField:t=>mU.exports.seqMap(RU.field.skip(mU.exports.optWhitespace),mU.exports.regexp(/ASCENDING|DESCENDING|ASC|DESC/i).atMost(1),((t,e)=>{let n=0==e.length?"ascending":e[0].toLowerCase();return"desc"==n&&(n="descending"),"asc"==n&&(n="ascending"),{field:t,direction:n}})),headerClause:t=>t.queryType.skip(mU.exports.whitespace).chain((e=>{switch(e){case"table":return mU.exports.seqMap(mU.exports.regexp(/WITHOUT\s+ID/i).skip(mU.exports.optWhitespace).atMost(1),mU.exports.sepBy(t.namedField,mU.exports.string(",").trim(mU.exports.optWhitespace)),((t,e)=>({type:"table",fields:e,showId:0==t.length})));case"list":return mU.exports.seqMap(mU.exports.regexp(/WITHOUT\s+ID/i).skip(mU.exports.optWhitespace).atMost(1),RU.field.atMost(1),((t,e)=>({type:"list",format:1==e.length?e[0]:void 0,showId:0==t.length})));case"task":return mU.exports.succeed({type:"task"});case"calendar":return mU.exports.seqMap(t.namedField,(t=>({type:"calendar",showId:!0,field:t})));default:return mU.exports.fail(`Unrecognized query type '${e}'`)}})).desc("TABLE or LIST or TASK or CALENDAR"),fromClause:t=>mU.exports.seqMap(mU.exports.regexp(/FROM/i),mU.exports.whitespace,RU.source,((t,e,n)=>n)),whereClause:t=>mU.exports.seqMap(mU.exports.regexp(/WHERE/i),mU.exports.whitespace,RU.field,((t,e,n)=>({type:"where",clause:n}))).desc("WHERE "),sortByClause:t=>mU.exports.seqMap(mU.exports.regexp(/SORT/i),mU.exports.whitespace,t.sortField.sepBy1(mU.exports.string(",").trim(mU.exports.optWhitespace)),((t,e,n)=>({type:"sort",fields:n}))).desc("SORT field [ASC/DESC]"),limitClause:t=>mU.exports.seqMap(mU.exports.regexp(/LIMIT/i),mU.exports.whitespace,RU.field,((t,e,n)=>({type:"limit",amount:n}))).desc("LIMIT "),flattenClause:t=>mU.exports.seqMap(mU.exports.regexp(/FLATTEN/i).skip(mU.exports.whitespace),t.namedField,((t,e)=>({type:"flatten",field:e}))).desc("FLATTEN [AS ]"),groupByClause:t=>mU.exports.seqMap(mU.exports.regexp(/GROUP BY/i).skip(mU.exports.whitespace),t.namedField,((t,e)=>({type:"group",field:e}))).desc("GROUP BY [AS ]"),clause:t=>mU.exports.alt(t.fromClause,t.whereClause,t.sortByClause,t.limitClause,t.groupByClause,t.flattenClause),query:t=>mU.exports.seqMap(t.headerClause.trim(mU.exports.optWhitespace),t.fromClause.trim(mU.exports.optWhitespace).atMost(1),t.clause.trim(mU.exports.optWhitespace).many(),((t,e,n)=>({header:t,source:0==e.length?TU.folder(""):e[0],operations:n,settings:hU})))});var BU=t=>{var e;return t?null===(e=t.plugins.plugins.dataview)||void 0===e?void 0:e.api:window.DataviewAPI};const MU="pdf-annotator",PU="annotation-target",UU="annotation-target-type",zU="https://arxiv.org/pdf/1702.08734.pdf",jU="https://cdn.hypothes.is/demos/epub/content/moby-dick/book.epub";function qU(){throw new Error("setTimeout has not been defined")}function HU(){throw new Error("clearTimeout has not been defined")}var GU=qU,WU=HU;function VU(t){if(GU===setTimeout)return setTimeout(t,0);if((GU===qU||!GU)&&setTimeout)return GU=setTimeout,setTimeout(t,0);try{return GU(t,0)}catch(e){try{return GU.call(null,t,0)}catch(e){return GU.call(this,t,0)}}}"function"==typeof JO.setTimeout&&(GU=setTimeout),"function"==typeof JO.clearTimeout&&(WU=clearTimeout);var YU,ZU=[],$U=!1,XU=-1;function KU(){$U&&YU&&($U=!1,YU.length?ZU=YU.concat(ZU):XU=-1,ZU.length&&QU())}function QU(){if(!$U){var t=VU(KU);$U=!0;for(var e=ZU.length;e;){for(YU=ZU,ZU=[];++XU1)for(var n=1;n{e(t)||n.push(t)})),n}function Vz(t,e){const n=[];return t.forEach((t=>{e(t)&&n.push(t)})),n}function Yz(){return"undefined"!=typeof window?window:"object"==typeof hz&&"function"==typeof require&&"object"==typeof JO?JO:this}var Zz=new class{constructor(){this.urlMap={}}attachWebSocket(t,e){const n=this.urlMap[e];if(n&&n.server&&-1===n.websockets.indexOf(t))return n.websockets.push(t),n.server}attachServer(t,e){if(!this.urlMap[e])return this.urlMap[e]={server:t,websockets:[]},t}serverLookup(t){const e=this.urlMap[t];return e?e.server:void 0}websocketsLookup(t){const e=this.urlMap[t];return e?e.websockets:[]}removeServer(t){delete this.urlMap[t]}removeWebSocket(t,e){const n=this.urlMap[e];n&&(n.websockets=Wz(n.websockets,(e=>e===t)))}};class $z{constructor(){this.listeners={}}addEventListener(t,e,n){"function"==typeof e&&(Array.isArray(this.listeners[t])||(this.listeners[t]=[]),0===Vz(this.listeners[t],(t=>t===e)).length&&this.listeners[t].push(e))}removeEventListener(t,e,n){const r=this.listeners[t];this.listeners[t]=Wz(r,(t=>t===e))}dispatchEvent(t,...e){const n=t.type,r=this.listeners[n];return!!Array.isArray(r)&&(r.forEach((n=>{e.length>0?n.apply(this,e):n.call(this,t)})),!0)}}function Xz(t,e){setImmediate((e=>t.call(e)),e)}function Kz(t){void 0!==hz&&console.error(t)}class Qz extends $z{constructor(t,e=""){if(super(),this.binaryType="blob",this.CLOSED=Qz.CLOSED,this.CLOSING=Qz.CLOSING,this.CONNECTING=Qz.CONNECTING,this.OPEN=Qz.OPEN,this._bufferedAmount=0,this._extensions="",this._protocol="",this._readyState=Qz.CONNECTING,this._url="",this._onclose=null,this._onerror=null,this._onmessage=null,this._onopen=null,!t)throw new TypeError(`${Pz} 1 argument required, but only 0 present.`);const n=new Bz(t);if("ws:"!==n.protocol&&"wss:"!==n.protocol)throw new Error("SyntaxError: url scheme incorrect");if(n.hash)throw new Error("SyntaxError: url fragment exists");n.pathname||n.set("pathname","/"),this._url=n.toString();let r=[];"string"==typeof e?(this._protocol=e,r=[e]):Array.isArray(e)&&e.length>0&&(this._protocol=e[0],r=[...e]);const i=Zz.attachWebSocket(this,this.url);if(i)if("function"!=typeof i.options.verifyClient||i.options.verifyClient()){if("function"==typeof i.options.selectProtocol){const t=i.options.selectProtocol(r),e=""!==t,n=-1!==r.indexOf(t);if(e&&!n)return void Xz((function(){this._readyState=Qz.CLOSED,Zz.removeWebSocket(this,this.url),this.dispatchEvent(Hz({type:"error",target:this})),this.dispatchEvent(Gz({type:"close",target:this,code:Mz})),Kz(`WebSocket connection to '${this.url}' failed: Invalid Sub-Protocol`)}),this);this._protocol=t}Xz((function(){this._readyState=Qz.OPEN,this.dispatchEvent(Hz({type:"open",target:this})),i.dispatchSocketEvent("connection",this)}),this)}else Xz((function(){this._readyState=Qz.CLOSED,Zz.removeWebSocket(this,this.url),this.dispatchEvent(Hz({type:"error",target:this})),this.dispatchEvent(Gz({type:"close",target:this,code:Mz})),Kz(`WebSocket connection to '${this.url}' failed: HTTP Authentication failed; no valid credentials available`)}),this);else Xz((function(){this._readyState=Qz.CLOSED,this.dispatchEvent(Hz({type:"error",target:this})),this.dispatchEvent(Gz({type:"close",target:this,code:Mz})),Kz(`WebSocket connection to '${this.url}' failed`)}),this)}get bufferedAmount(){return this._bufferedAmount}get extensions(){return this._extensions}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}get onclose(){return this._onclose}set onclose(t){this._onclose&&(this.removeEventListener("close",this._onclose),this._onclose=null),t&&(this._onclose=t,this.addEventListener("close",t))}get onerror(){return this._onerror}set onerror(t){this._onerror&&(this.removeEventListener("error",this._onerror),this._onerror=null),t&&(this._onerror=t,this.addEventListener("error",t))}get onmessage(){return this._onmessage}set onmessage(t){this._onmessage&&(this.removeEventListener("message",this._onmessage),this._onmessage=null),t&&(this._onmessage=t,this.addEventListener("message",t))}get onopen(){return this._onopen}set onopen(t){this._onopen&&(this.removeEventListener("open",this._onopen),this._onopen=null),t&&(this._onopen=t,this.addEventListener("open",t))}send(t){if(this.readyState===Qz.CONNECTING)throw Zz.removeWebSocket(this,this.url),new Error("InvalidStateError");if(this.readyState===Qz.CLOSING||this.readyState===Qz.CLOSED)return void(this._bufferedAmount+=t.length);const e=Zz.serverLookup(this.url);e&&Xz((()=>{e.dispatchSocketEvent("message",this,t)}),e)}close(t,e){if(t&&!(1e3===t||t>=3e3&&t<5e3))throw new Error("InvalidAccessError: close code out of user configurable range");this.readyState!==Qz.CLOSING&&this.readyState!==Qz.CLOSED&&(this._readyState=Qz.CLOSING,Xz((function(){t||(t=1e3),this._readyState=Qz.CLOSED,Zz.removeWebSocket(this,this.url);const n=Gz({type:"close",target:this,code:t,reason:e});this.dispatchEvent(n);const r=Zz.serverLookup(this.url);r&&r.dispatchSocketEvent("close",this)}),this))}_moveToState(t){this._readyState=t}}Qz.CONNECTING=0,Qz.OPEN=1,Qz.CLOSING=2,Qz.CLOSED=3;class Jz{constructor(t,e={}){this.listeners=new Map;const n=new Bz(t);n.pathname||n.set("pathname","/"),this.url=n.toString(),this.originalWebSocket=null;Zz.attachServer(this,this.url)||this.dispatchError(new Error("A mock server is already listening on this url")),void 0===e.mockGlobal&&(e.mockGlobal=!0),this.options=e,this.start()}start(){if(!this.options.mockGlobal)return;const t=Yz();t.WebSocket&&(this.originalWebSocket=t.WebSocket),t.WebSocket=Qz}stop(t){if(this.options.mockGlobal){const t=Yz();this.originalWebSocket?t.WebSocket=this.originalWebSocket:delete t.WebSocket,this.originalWebSocket=null}Zz.removeServer(this.url),"function"==typeof t&&t()}on(t,e){if("function"!=typeof e)return;const n=this.listeners.get(t)||[];0===Vz(n,(t=>t===e)).length&&(n.push(e),this.listeners.set(t,n))}dispatchError(t){const e=this.listeners.get("error");if(e)for(const n of e){n(t)}}dispatchSocketEvent(t,e,n){const r=this.listeners.get(t);if(r)for(const i of r)switch(t){case"close":i(e);break;case"connection":{const t=i;if(!e)throw new Error("no socket");t(e);break}case"message":{const t=i;if(!e)throw new Error("no socket");if(!n)throw new Error("no data");t(e,n);break}}}send(t,e={}){this.emit("message",t,e)}emit(t,e,n={}){let r=n.websockets;r||(r=Zz.websocketsLookup(this.url)),("object"!=typeof n||arguments.length>3)&&(e=Array.prototype.slice.call(arguments,1,arguments.length)),r.forEach((n=>{n.dispatchEvent(function(t){const{type:e,origin:n,data:r,target:i}=t,a=new qz(e,{data:r,origin:n});return i&&a._setTarget(i),a}({data:e,origin:this.url,target:n,type:t}))}))}close(t={}){const{code:e,reason:n,wasClean:r}=t,i=Zz.websocketsLookup(this.url);Zz.removeServer(this.url),i.forEach((t=>{t._moveToState(Qz.CLOSED),t.dispatchEvent(Gz({code:e||Mz,reason:n||"",target:t,type:"close",wasClean:r}))})),this.dispatchSocketEvent("close")}clients(){return Zz.websocketsLookup(this.url)}simulate(t){const e=Zz.websocketsLookup(this.url);"error"===t&&e.forEach((t=>{t._moveToState(Qz.CLOSED),t.dispatchEvent(Hz({type:"error"}))}))}}function tj(...t){return t.reduce(((t,e)=>new URL(e,t)))}var ej=({fetch:t,getUrl:e})=>n=>{var r;const i=(e,n)=>t(e,n);let a=[];null===(r=n.webSocketSetup)||void 0===r||r.call(n,(t=>{const e=new Jz(t,{mockGlobal:!1});return a.push(e),e}));const o=Dz.useRef(null),s=new WeakSet,u=new WeakMap;function c(t,n){const r=tj(n,t);return e(r)}function l(t,e){return yz(this,void 0,void 0,(function*(){const n=(new DOMParser).parseFromString(t,"text/html");return e=tj(e,n.baseURI.startsWith(window.location.origin)?e:n.baseURI),function(t,e){for(const n of t.getElementsByTagName("img")){const t=n.getAttribute("src");t&&n.setAttribute("src",c(t,e))}}(n,e),function(t,e){for(const n of t.getElementsByTagName("style"))n.innerHTML=h(n.innerHTML,e)}(n,e),yield function(t,e){return yz(this,void 0,void 0,(function*(){const n=[...t.getElementsByTagName("link")];for(const t of n)yield d(t,e)}))}(n,e),function(t,e){for(const n of t.getElementsByTagName("script")){const t=n.getAttribute("src");t&&(n.setAttribute("src",c(t,e)),n.setAttribute("patched-src",t))}}(n,e),function(t){for(const e of t.getElementsByTagName("iframe")){const t=e.getAttribute("src");t&&(e.removeAttribute("src"),e.setAttribute("patched-src",t))}}(n),{html:`${n.documentElement.outerHTML}`,context:e.href||e}}))}function h(t,e){return t.replaceAll(/url\(["']?(.*?)["']?\)/gm,((t,n)=>`url("${c(n,e)}")`))}function f(t){if(!t)return null;const e=t.getAttribute("patched-src");return e||f(function(t){const e=(t.defaultView||t.parentWindow).parent.document.getElementsByTagName("iframe");for(let n=e.length;n-- >0;){const r=e[n];try{if((r.contentDocument||r.contentWindow.document)===t)return r}catch(t){}}}(t.ownerDocument))}function d(t,e){return yz(this,void 0,void 0,(function*(){if("stylesheet"===t.getAttribute("rel")){const n=t.getAttribute("href"),r=tj(e,n);try{const e=yield(yield i(r.href,{headers:{Accept:"text/css,*/*;q=0.1","Accept-Encoding":"gzip, deflate, br"}})).text();t.outerHTML=``}catch(t){}}else{const n=t.getAttribute("href");n&&(t.setAttribute("href",c(n,e)),t.setAttribute("patched-href",n))}}))}function p(t,e){if(null!=t)return Object.hasOwnProperty.call(t,e)?Object.getOwnPropertyDescriptor(t,e):p(Object.getPrototypeOf(t),e)}function m(t,e,n){const{get:r,set:i}=p(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){return r.call(this)},set(r){i.call(this,c(r,n)),e.setAttribute(`patched-${t}`,r)}});const a=e.setAttribute.bind(e);e.setAttribute=(e,r)=>{e.toLowerCase()==t.toLowerCase()?(a(e,c(r,n)),a(`patched-${e}`,r)):a(e,r)};const o=e.setAttributeNS.bind(e);e.setAttributeNS=(e,r,i)=>{r.toLowerCase()==t.toLowerCase()?(o(e,r,c(i,n)),o(e,`patched-${r}`,i)):o(e,r,i)};const s=e.setAttributeNode.bind(e);e.setAttributeNode=r=>{if(r.name.toLowerCase()==t.toLowerCase()){const t=e.ownerDocument.createAttribute(`patched-${r.name}`);t.value=r.value;const i=e.ownerDocument.createAttribute(r.name);return i.value=c(r.value,n),s(t),s(i)}return s(r)};const u=e.setAttributeNodeNS.bind(e);e.setAttributeNodeNS=r=>{if(r.name.toLowerCase()==t.toLowerCase()){const t=e.ownerDocument.createAttributeNS(r.namespaceURI,`patched-${r.name}`);t.value=r.value;const i=e.ownerDocument.createAttributeNS(r.namespaceURI,r.name);return i.value=c(r.value,n),u(t),u(i)}return u(r)}}function g(e,n){return class extends Worker{constructor(r,i){const a=c(r,n),o=(()=>yz(this,void 0,void 0,(function*(){const n=yield t(a),r=function(t){return new Worker("data:application/javascript,"+encodeURIComponent(t))}(`\nfetchCallbacks = {};\nfetch=async (resource, init)=>{\n const id = \`\${Math.random()}\`.substr(2);\n const promise = new Promise(res=>{fetchCallbacks[id]=res;});\n self.postMessage({isFetch:true, id, resource, init});\n return await promise;\n};\nself.addEventListener("message", function(event) {\n if(event.data.isFetchResult) {\n fetchCallbacks[event.data.id](new Response(event.data.blob, event.data.init));\n fetchCallbacks[event.data.id] = null;\n }\n});\n${yield n.text()}`);return r.addEventListener("message",(function(t){return yz(this,void 0,void 0,(function*(){if(t.data.isFetch){const n=yield e.contentWindow.fetch(t.data.resource,t.data.init),i=yield n.blob();r.postMessage({isFetchResult:!0,id:t.data.id,blob:i,init:{status:n.status,statusText:n.statusText,headers:n.headers}})}}))})),r})))();return super(a,i),new Proxy(this,{get(t,e,n){const r=t[e];return"function"!=typeof r?r:function(...t){return yz(this,void 0,void 0,(function*(){return(yield o)[e](...t)}))}}})}}}function v(t,e){const r=(t,n)=>i("string"==typeof t?tj(e,t).href:Object.assign(Object.assign({},t),{url:tj(e,t.url).href}),n);let a=r;n.fetchProxy&&(a=(t,i)=>n.fetchProxy({requestInfo:t,init:i,contextUrl:e,base:r}));const o=function(){function t(){this.object=new window.XMLHttpRequest;const t=this;this.object.onabort=function(e){"function"==typeof t.onabort&&t.onabort(e)},this.object.onerror=function(e){"function"==typeof t.onerror&&t.onerror(e)},this.object.onload=function(e){"function"==typeof t.onload&&t.onload(e)},this.object.onloadend=function(e){"function"==typeof t.onloadend&&t.onloadend(e)},this.object.onloadstart=function(e){"function"==typeof t.onloadstart&&t.onloadstart(e)},this.object.onprogress=function(e){"function"==typeof t.onprogress&&t.onprogress(e)},this.object.ontimeout=function(e){"function"==typeof t.ontimeout&&t.ontimeout(e)},this.object.onreadystatechange=function(e){t.readyState=t.object.readyState,t.status=t.object.status,t.statusText=t.object.statusText,t.response=t.object.response,""===t.responseType&&(t.responseText=t.object.responseText,t.responseXML=t.object.responseXML),t.responseURL=t.object.responseURL,"function"==typeof t.onreadystatechange&&t.onreadystatechange(e)},this.onabort=null,this.onerror=null,this.onload=null,this.onloadend=null,this.onloadstart=null,this.onprogress=null,this.onreadystatechange=null,this.ontimeout=null,this.readyState=XMLHttpRequest.UNSENT,this.responseHeaders={},this.response="",this.responseText="",this.responseType="",this.responseURL="",this.responseXML="",this.status=0,this.statusText="",this.timeout=0,this.upload=null,this.withCredentials=!1}return t.prototype={method:"",url:"",addEventListener:function(t,e){return this[`on${t}`]=e},open:function(t,e,n,r,i){this.method=t,this.url=e,this.object.responseType=this.responseType,this.object.open(t,e,"boolean"!=typeof n||n,void 0===r?null:r,void 0===i?null:i)},send:function(e){this.object.responseType=this.responseType;let n=!1;const r=this;t.handlers.forEach((function(t){if(("string"==typeof t.url&&t.url===r.url||t.url instanceof RegExp&&t.url.test(r.url))&&("string"!=typeof t.method||t.method.toUpperCase()===r.method.toUpperCase())){n=!0;const i=function(){return yz(this,void 0,void 0,(function*(){"function"==typeof r.onloadstart&&r.onloadstart();let n=[];t.url instanceof RegExp?(n=t.url.exec(r.url),n.push(e)):n=[r.url,e];let i=null;if("function"==typeof t.headers?i=yield t.headers.apply(null,[r,...n]):"object"==typeof t.headers&&(i=t.headers),i&&"object"==typeof i)for(const t in i)i.hasOwnProperty(t)&&(r.responseHeaders[t.toLowerCase()]=i[t]);if(r.status=t.status,r.statusText=t.statusText,r.readyState=XMLHttpRequest.HEADERS_RECEIVED,"function"==typeof r.onreadystatechange&&r.onreadystatechange(),r.readyState=XMLHttpRequest.LOADING,"function"==typeof r.onreadystatechange&&r.onreadystatechange(),"string"==typeof t.response||"function"==typeof t.response){let e="";e="string"==typeof t.response?t.response:yield t.response.apply(null,[r,...n]),r.response=e,""!==r.responseType&&"text"!==r.responseType||(r.responseText=r.response),"document"===r.responseType&&(r.responseXML=r.response),r.readyState=XMLHttpRequest.DONE;const i={target:r};"function"==typeof r.onreadystatechange&&r.onreadystatechange(i),"function"==typeof r.onload&&r.onload(i),"function"==typeof r.onloadend&&r.onloadend(i)}else if("string"==typeof t.proxy||"function"==typeof t.proxy){let e="";if(e="string"==typeof t.proxy?t.proxy:yield t.proxy.apply(null,n),"string"==typeof e&&e.length>0){const n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&(r.status=t.status,r.statusText=t.statusText,r.response=n.response,r.readyState=XMLHttpRequest.DONE,""!==r.responseType&&"text"!==r.responseType||(r.responseText=n.response),"document"===r.responseType&&(r.responseXML=n.response),r.readyState=XMLHttpRequest.DONE,"function"==typeof r.onreadystatechange&&r.onreadystatechange(),"function"==typeof r.onload&&r.onload(),"function"==typeof r.onloadend&&r.onloadend())},n.open("GET",e),n.send()}}}))};"number"==typeof t.responseTime?setTimeout(i,t.responseTime):"object"==typeof t.responseTime&&2===t.responseTime.length?setTimeout(i,Math.random()*(t.responseTime[1]-t.responseTime[0])+t.responseTime[0]):i()}})),n||this.object.send(e)},abort:function(){this.object.abort()},setRequestHeader:function(t,e){this.object.setRequestHeader(t,e)},getResponseHeader:function(t){return this.responseHeaders.hasOwnProperty(t.toLowerCase())?this.responseHeaders[t.toLowerCase()]:this.object.getResponseHeader(t)},getAllResponseHeaders:function(){return Object.entries(this.responseHeaders).map((t=>t.join(": "))).join("\n")},overrideMimeType:function(t){this.object.overrideMimeType(t)}},t.prototype.constructor=t,t.handlers=[],t.addHandler=function(e){t.handlers.push(e)},t.UNSENT=XMLHttpRequest.UNSENT,t.OPENED=XMLHttpRequest.OPENED,t.LOADING=XMLHttpRequest.LOADING,t.HEADERS_RECEIVED=XMLHttpRequest.HEADERS_RECEIVED,t.DONE=XMLHttpRequest.DONE,t}();o.addHandler({url:/.*/,headers:function(t,e,n){return yz(this,void 0,void 0,(function*(){const r=yield a(e,Object.assign({method:t.method},n?{body:n}:{}));return t._tmp=t._tmp||{},"arraybuffer"==t.responseType?t._tmp.response=yield r.arrayBuffer():t._tmp.response=yield r.text(),Object.fromEntries(r.headers.entries())}))},status:200,statusText:"OK",response:function(t,e,n){var r;return yz(this,void 0,void 0,(function*(){return null===(r=null==t?void 0:t._tmp)||void 0===r?void 0:r.response}))}}),t.contentWindow.XMLHttpRequest=o}function D(t){return yz(this,void 0,void 0,(function*(){s.has(t)||(s.add(t),function(t){if(!t.shadowRoot)return;const e=t.shadowRoot.getRootNode();if(!T.has(e)){const t=new MutationObserver(_);t.observe(e,{childList:!0,subtree:!0,attributes:!0}),T.set(e,t)}E(e.querySelectorAll("iframe")),b([...e.querySelectorAll("*")].filter((t=>t.shadowRoot)))}(t))}))}function y(t){return yz(this,void 0,void 0,(function*(){if(!s.has(t)||t.getAttribute("srcDoc")&&t.getAttribute("srcDoc")!=u.get(t)){s.add(t);const e=t.getAttribute("src")||t.getAttribute("patched-src");function r(e){return yz(this,void 0,void 0,(function*(){let r,a;e?(t.setAttribute("patched-src",e),t.removeAttribute("src"),r=function(t){const e=new URL(t).href;return n.proxy(e)}(e),a=yield(yield i(r,{headers:{Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8","Accept-Encoding":"gzip, deflate, br"}})).text()):(e=f(t),a=t.getAttribute("srcDoc"),u.set(t,a));const{html:o,context:s}=yield l(a,e);!function(t,e){if(n.tagPatchStrategy){if("function"==typeof n.tagPatchStrategy)return n.tagPatchStrategy(t,e);if("createEl"==n.tagPatchStrategy){if(!t.contentWindow)return;const r=t.contentWindow.document,i=r.createElement.bind(r),a=r.createElementNS.bind(r),o=(t,n)=>{switch(t.toLowerCase()){case"img":case"script":m("src",n,e);break;case"link":m("href",n,e)}return n};r.createElement=t=>{const e=i(t);return o(t,e)},r.createElementNS=(t,e)=>{const n=a(t,e);return o(e,n)}}if("prototype"==n.tagPatchStrategy){function s(t,n){const r=Symbol();t[r]=t.getAttribute,t.getAttribute=function(t){return n.has(t.toLowerCase())&&this[r](`patched-${t}`)||this[r](t)};const i=Symbol();t[i]=t.getAttributeNS,t.getAttributeNS=function(t,e){return n.has(t.toLowerCase())&&this[i](`patched-${t}`,e)||this[i](t,e)};const a=Symbol();t[a]=t.getAttributeNode,t.getAttributeNode=function(t){return n.has(t.toLowerCase())&&this[a](`patched-${t}`)||this[a](t)};const o=Symbol();t[o]=t.getAttributeNodeNS,t.getAttributeNodeNS=function(t,e){return n.has(t.toLowerCase())&&this[o](`patched-${t}`,e)||this[o](t,e)};const s=Symbol();t[s]=t.setAttribute,t.setAttribute=function(t,r){n.has(t.toLowerCase())?(this[s](t,c(r,e)),this[s](`patched-${t}`,r)):this[s](t,r)};const u=Symbol();t[u]=t.setAttributeNS,t.setAttributeNS=function(t,r,i){n.has(r.toLowerCase())?(this[u](t,r,c(i,e)),this[u](t,`patched-${r}`,i)):this[u](t,r,i)};const l=Symbol();t[l]=t.setAttributeNode,t.setAttributeNode=function(t){if(n.has(t.name.toLowerCase())){const n=this.ownerDocument.createAttribute(`patched-${t.name}`);n.value=t.value;const r=this.ownerDocument.createAttribute(t.name);return r.value=c(t.value,e),this[l](n),this[l](r)}return this[l](t)};const h=Symbol();t[h]=t.setAttributeNodeNS,t.setAttributeNodeNS=function(t){if(n.has(t.name.toLowerCase())){const n=this.ownerDocument.createAttributeNS(t.namespaceURI,`patched-${t.name}`);n.value=t.value;const r=this.ownerDocument.createAttributeNS(t.namespaceURI,t.name);return r.value=c(t.value,e),this[h](n),this[h](r)}return this[h](t)};for(const e of n)Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get(){return this.getAttribute(e)},set(t){return this.setAttribute(e,t)}})}const u=t.contentWindow;s(u.HTMLLinkElement.prototype,new Set(["href"])),s(u.HTMLScriptElement.prototype,new Set(["src"])),s(u.HTMLImageElement.prototype,new Set(["src"]))}}}(t,s),function(t,e){if(n.onMessagePatchStrategy){if("function"==typeof n.onMessagePatchStrategy)return n.onMessagePatchStrategy(t,e);if("patchedOriginClone"==n.onMessagePatchStrategy){const n=t.contentWindow.EventTarget.prototype,r=new WeakMap,i=n.addEventListener;n.addEventListener=function(t,n,a){if("message"==t){const o=t=>{if(null==n)return;let r=t.origin;try{r=new URL(e).origin}catch(t){}return t=new t.constructor(t.type,new Proxy(t,{get:(t,e)=>"origin"==e?r:t[e]})),"handleEvent"in n?n.handleEvent(t):n(t)};return r.set(n,o),i.apply(this,[t,o,a])}return i.apply(this,[t,n,a])};const a=n.removeEventListener;n.removeEventListener=function(t,e,n){if("message"==t){const i=r.get(e);return a.apply(this,[t,i,n])}return a.apply(this,[t,e,n])}}}}(t,s),function(t){t.contentWindow.ArrayBuffer=ArrayBuffer}(t),function(t){if(!n.postMessagePatchStrategy)return;if(!t.contentWindow)return;const e=t.contentWindow;if("function"==typeof n.postMessagePatchStrategy)return n.postMessagePatchStrategy(t);if("target"==n.postMessagePatchStrategy)return e.eval('\n const _postMessage = window.postMessage;\n window.postMessage = function(message, targetOrigin, transfer) {\n return _postMessage.apply(this, [message, "*", transfer]);\n }\n ');if("top"==n.postMessagePatchStrategy){const t=e.postMessage.bind(e);e.postMessage=function(...e){return e[1]="*",t(...e)}}}(t),function(t,e){const r=(t,n)=>i("string"==typeof t?tj(e,t).href:Object.assign(Object.assign({},t),{url:tj(e,t.url).href}),n);n.fetchProxy?t.contentWindow.fetch=(t,i)=>n.fetchProxy({requestInfo:t,init:i,contextUrl:e,base:r}):t.contentWindow.fetch=r}(t,s),function(t){t.contentWindow.console=new Proxy({},{get:()=>()=>null})}(t),function(t,e){t.contentWindow.Worker=g(t,e)}(t,s),v(t,s),function(t){t.contentWindow.WebSocket=Qz}(t),A(t,o),w(t),t.setAttribute("patched","true"),yield n.onIframePatch(t)}))}yield r(e);const a=t.setAttribute.bind(t);t.setAttribute=(t,e)=>{"src"==t?r(e):a(t,e)};const o=t.setAttributeNS.bind(t);t.setAttributeNS=(t,e,n)=>{"src"==e?r(n):o(t,e,n)}}}))}function E(t){[...t].forEach(y)}function b(t){[...t].forEach(D)}function w(t){t.addEventListener("load",(function(t){C(t)})),C(t)}function _(t){const e=t.map((t=>t.target)).filter((t=>"IFRAME"==t.tagName));e.length>0&&E(e);const n=t.map((t=>t.target)).concat(t.flatMap((t=>[...t.addedNodes]))),r=n.filter((t=>t.shadowRoot));r.length>0&&b(r);const i=n.filter((t=>"LINK"==t.tagName));if(i>0){const t=f(i[0]);i.forEach((e=>d(e,t)))}}const T=new WeakMap;function C(t){if(!t.contentWindow)return;const e=t.getAttribute("patched-src");if(e){const n=new URL(e);t.contentWindow.location.hash=n.hash}const n=t.contentWindow.document.documentElement;if(function(t){const e=t.contentWindow.document,n=e.querySelector.bind(e);e.querySelector=t=>n(t.replaceAll("href","patched-href").replaceAll("src","patched-src"))}(t),!T.has(n)){const t=new MutationObserver(_);t.observe(n,{childList:!0,subtree:!0,attributes:!0}),T.set(n,t)}E(n.getElementsByTagName("iframe")),b([...n.getElementsByTagName("*")].filter((t=>t.shadowRoot)))}function A(t,e){const r=t.contentWindow.document;n.htmlPostProcessFunction&&(e=n.htmlPostProcessFunction(e)),r.open("text/html","replace"),r.write(e),r.close()}return Dz.useEffect((()=>{const t=o.current;if(o.current)return function(t,e){A(t,e),w(t)}(t,`