vis-data 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/data-set-part.d.ts +0 -1
- package/declarations/data-set-part.d.ts.map +1 -1
- package/declarations/data-set.d.ts +0 -5
- package/declarations/data-set.d.ts.map +1 -1
- package/declarations/entry-esnext.d.ts.map +1 -1
- package/dist/esm.js +2 -25
- package/dist/esm.js.map +1 -1
- package/dist/umd.js +2 -25
- package/dist/umd.js.map +1 -1
- package/esnext/esm/vis-data.js +2 -25
- package/esnext/esm/vis-data.js.map +1 -1
- package/esnext/esm/vis-data.min.js +3 -3
- package/esnext/esm/vis-data.min.js.map +1 -1
- package/esnext/esm/vis-data.min.mjs +3 -3
- package/esnext/esm/vis-data.min.mjs.map +1 -1
- package/esnext/esm/vis-data.mjs +2 -25
- package/esnext/esm/vis-data.mjs.map +1 -1
- package/esnext/umd/vis-data.cjs +2 -25
- package/esnext/umd/vis-data.cjs.map +1 -1
- package/esnext/umd/vis-data.js +2 -25
- package/esnext/umd/vis-data.js.map +1 -1
- package/esnext/umd/vis-data.min.cjs +3 -3
- package/esnext/umd/vis-data.min.cjs.map +1 -1
- package/esnext/umd/vis-data.min.js +3 -3
- package/esnext/umd/vis-data.min.js.map +1 -1
- package/package.json +1 -1
- package/peer/esm/vis-data.js +2 -25
- package/peer/esm/vis-data.js.map +1 -1
- package/peer/esm/vis-data.min.js +4 -4
- package/peer/esm/vis-data.min.js.map +1 -1
- package/peer/esm/vis-data.min.mjs +4 -4
- package/peer/esm/vis-data.min.mjs.map +1 -1
- package/peer/esm/vis-data.mjs +2 -25
- package/peer/esm/vis-data.mjs.map +1 -1
- package/peer/umd/vis-data.cjs +2 -25
- package/peer/umd/vis-data.cjs.map +1 -1
- package/peer/umd/vis-data.js +2 -25
- package/peer/umd/vis-data.js.map +1 -1
- package/peer/umd/vis-data.min.cjs +4 -4
- package/peer/umd/vis-data.min.cjs.map +1 -1
- package/peer/umd/vis-data.min.js +4 -4
- package/peer/umd/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.js +2 -25
- package/standalone/esm/vis-data.js.map +1 -1
- package/standalone/esm/vis-data.min.js +4 -4
- package/standalone/esm/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.min.mjs +4 -4
- package/standalone/esm/vis-data.min.mjs.map +1 -1
- package/standalone/esm/vis-data.mjs +2 -25
- package/standalone/esm/vis-data.mjs.map +1 -1
- package/standalone/umd/vis-data.cjs +2 -25
- package/standalone/umd/vis-data.cjs.map +1 -1
- package/standalone/umd/vis-data.js +2 -25
- package/standalone/umd/vis-data.js.map +1 -1
- package/standalone/umd/vis-data.min.cjs +4 -4
- package/standalone/umd/vis-data.min.cjs.map +1 -1
- package/standalone/umd/vis-data.min.js +4 -4
- package/standalone/umd/vis-data.min.js.map +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
|
|
6
6
|
*
|
|
7
|
-
* @version 8.0.
|
|
8
|
-
* @date 2025-09-
|
|
7
|
+
* @version 8.0.3
|
|
8
|
+
* @date 2025-09-10T16:22:00.613Z
|
|
9
9
|
*
|
|
10
10
|
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
|
|
11
11
|
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
*
|
|
24
24
|
* vis.js may be distributed under either license.
|
|
25
25
|
*/
|
|
26
|
-
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,n,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m={exports:{}},b={};function _(){if(n)return e;n=1;var r=function(t){return t&&t.Math===Math&&t};return e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}function w(){return o?i:(o=1,i=function(t){try{return!!t()}catch(t){return!0}})}function S(){return a?u:(a=1,u=!w()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function T(){if(c)return s;c=1;var t=S(),r=Function.prototype,e=r.apply,n=r.call;return s="object"==typeof Reflect&&Reflect.apply||(t?n.bind(e):function(){return n.apply(e,arguments)}),s}function O(){if(l)return f;l=1;var t=S(),r=Function.prototype,e=r.call,n=t&&r.bind.bind(e,e);return f=t?n:function(t){return function(){return e.apply(t,arguments)}},f}function E(){if(p)return h;p=1;var t=O(),r=t({}.toString),e=t("".slice);return h=function(t){return e(r(t),8,-1)}}function A(){if(d)return v;d=1;var t=E(),r=O();return v=function(e){if("Function"===t(e))return r(e)}}function I(){if(g)return y;g=1;var t="object"==typeof document&&document.all;return y=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}var P,j,x,D,k={};function C(){return j?P:(j=1,P=!w()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function M(){if(D)return x;D=1;var t=S(),r=Function.prototype.call;return x=t?r.bind(r):function(){return r.apply(r,arguments)},x}var L,N,R,F,z,q,U,W,Y,X,B,V,G,H,J,K,Q,Z,$,tt,rt,et,nt,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt={};function bt(){if(L)return mt;L=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);return mt.f=e?function(t){var e=r(this,t);return!!e&&e.enumerable}:t,mt}function _t(){return R?N:(R=1,N=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function wt(){if(z)return F;z=1;var t=O(),r=w(),e=E(),n=Object,i=t("".split);return F=r(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===e(t)?i(t,""):n(t)}:n}function St(){return U?q:(U=1,q=function(t){return null==t})}function Tt(){if(Y)return W;Y=1;var t=St(),r=TypeError;return W=function(e){if(t(e))throw new r("Can't call method on "+e);return e}}function Ot(){if(B)return X;B=1;var t=wt(),r=Tt();return X=function(e){return t(r(e))}}function Et(){if(G)return V;G=1;var t=I();return V=function(r){return"object"==typeof r?null!==r:t(r)}}function At(){return J?H:(J=1,H={})}function It(){if(Q)return K;Q=1;var t=At(),r=_(),e=I(),n=function(t){return e(t)?t:void 0};return K=function(e,i){return arguments.length<2?n(t[e])||n(r[e]):t[e]&&t[e][i]||r[e]&&r[e][i]},K}function Pt(){return $?Z:($=1,Z=O()({}.isPrototypeOf))}function jt(){if(rt)return tt;rt=1;var t=_().navigator,r=t&&t.userAgent;return tt=r?String(r):""}function xt(){if(nt)return et;nt=1;var t,r,e=_(),n=jt(),i=e.process,o=e.Deno,u=i&&i.versions||o&&o.version,a=u&&u.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(r=+t[1]),et=r}function Dt(){if(ot)return it;ot=1;var t=xt(),r=w(),e=_().String;return it=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!e(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),it}function kt(){return at?ut:(at=1,ut=Dt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ct)return st;ct=1;var t=It(),r=I(),e=Pt(),n=Object;return st=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&e(o.prototype,n(i))}}function Mt(){if(lt)return ft;lt=1;var t=String;return ft=function(r){try{return t(r)}catch(t){return"Object"}}}function Lt(){if(pt)return ht;pt=1;var t=I(),r=Mt(),e=TypeError;return ht=function(n){if(t(n))return n;throw new e(r(n)+" is not a function")}}function Nt(){if(dt)return vt;dt=1;var t=Lt(),r=St();return vt=function(e,n){var i=e[n];return r(i)?void 0:t(i)}}function Rt(){if(gt)return yt;gt=1;var t=M(),r=I(),e=Et(),n=TypeError;return yt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!e(a=t(u,i)))return a;if(r(u=i.valueOf)&&!e(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!e(a=t(u,i)))return a;throw new n("Can't convert object to primitive value")}}var Ft,zt,qt,Ut,Wt,Yt,Xt,Bt,Vt,Gt,Ht,Jt,Kt,Qt,Zt,$t,tr,rr,er,nr,ir,or,ur,ar,sr,cr,fr,lr,hr={exports:{}};function pr(){return zt?Ft:(zt=1,Ft=!0)}function vr(){if(Ut)return qt;Ut=1;var t=_(),r=Object.defineProperty;return qt=function(e,n){try{r(t,e,{value:n,configurable:!0,writable:!0})}catch(r){t[e]=n}return n}}function dr(){if(Wt)return hr.exports;Wt=1;var t=pr(),r=_(),e=vr(),n="__core-js_shared__",i=hr.exports=r[n]||e(n,{});return(i.versions||(i.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),hr.exports}function yr(){if(Xt)return Yt;Xt=1;var t=dr();return Yt=function(r,e){return t[r]||(t[r]=e||{})}}function gr(){if(Vt)return Bt;Vt=1;var t=Tt(),r=Object;return Bt=function(e){return r(t(e))}}function mr(){if(Ht)return Gt;Ht=1;var t=O(),r=gr(),e=t({}.hasOwnProperty);return Gt=Object.hasOwn||function(t,n){return e(r(t),n)}}function br(){if(Kt)return Jt;Kt=1;var t=O(),r=0,e=Math.random(),n=t(1.1.toString);return Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++r+e,36)}}function _r(){if(Zt)return Qt;Zt=1;var t=_(),r=yr(),e=mr(),n=br(),i=Dt(),o=kt(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||n;return Qt=function(t){return e(a,t)||(a[t]=i&&e(u,t)?u[t]:s("Symbol."+t)),a[t]}}function wr(){if(tr)return $t;tr=1;var t=M(),r=Et(),e=Ct(),n=Nt(),i=Rt(),o=TypeError,u=_r()("toPrimitive");return $t=function(a,s){if(!r(a)||e(a))return a;var c,f=n(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||e(c))return c;throw new o("Can't convert object to primitive value")}return void 0===s&&(s="number"),i(a,s)}}function Sr(){if(er)return rr;er=1;var t=wr(),r=Ct();return rr=function(e){var n=t(e,"string");return r(n)?n:n+""}}function Tr(){if(ir)return nr;ir=1;var t=_(),r=Et(),e=t.document,n=r(e)&&r(e.createElement);return nr=function(t){return n?e.createElement(t):{}}}function Or(){if(ur)return or;ur=1;var t=C(),r=w(),e=Tr();return or=!t&&!r(function(){return 7!==Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return k;ar=1;var t=C(),r=M(),e=bt(),n=_t(),i=Ot(),o=Sr(),u=mr(),a=Or(),s=Object.getOwnPropertyDescriptor;return k.f=t?s:function(t,c){if(t=i(t),c=o(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!r(e.f,t,c),t[c])},k}function Ar(){if(cr)return sr;cr=1;var t=w(),r=I(),e=/#|\.prototype\./,n=function(e,n){var s=o[i(e)];return s===a||s!==u&&(r(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(e,".").toLowerCase()},o=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return sr=n}function Ir(){if(lr)return fr;lr=1;var t=A(),r=Lt(),e=S(),n=t(t.bind);return fr=function(t,i){return r(t),void 0===i?t:e?n(t,i):function(){return t.apply(i,arguments)}},fr}var Pr,jr,xr,Dr,kr,Cr,Mr,Lr,Nr,Rr,Fr,zr,qr,Ur,Wr,Yr,Xr,Br,Vr,Gr={};function Hr(){return jr?Pr:(jr=1,Pr=C()&&w()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Jr(){if(Dr)return xr;Dr=1;var t=Et(),r=String,e=TypeError;return xr=function(n){if(t(n))return n;throw new e(r(n)+" is not an object")}}function Kr(){if(kr)return Gr;kr=1;var t=C(),r=Or(),e=Hr(),n=Jr(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Gr.f=t?e?function(t,r,e){if(n(t),r=i(r),n(e),"function"==typeof t&&"prototype"===r&&"value"in e&&f in e&&!e[f]){var o=a(t,r);o&&o[f]&&(t[r]=e.value,e={configurable:c in e?e[c]:o[c],enumerable:s in e?e[s]:o[s],writable:!1})}return u(t,r,e)}:u:function(t,e,a){if(n(t),e=i(e),n(a),r)try{return u(t,e,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[e]=a.value),t},Gr}function Qr(){if(Mr)return Cr;Mr=1;var t=C(),r=Kr(),e=_t();return Cr=t?function(t,n,i){return r.f(t,n,e(1,i))}:function(t,r,e){return t[r]=e,t}}function Zr(){if(Nr)return Lr;Nr=1;var t=_(),r=T(),e=A(),n=I(),i=Er().f,o=Ar(),u=At(),a=Ir(),s=Qr(),c=mr(),f=function(t){var e=function(n,i,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,i)}return new t(n,i,o)}return r(t,this,arguments)};return e.prototype=t.prototype,e};return Lr=function(r,l){var h,p,v,d,y,g,m,b,_,w=r.target,S=r.global,T=r.stat,O=r.proto,E=S?t:T?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],I=A.prototype;for(d in l)p=!(h=o(S?d:w+(T?".":"#")+d,r.forced))&&E&&c(E,d),g=A[d],p&&(m=r.dontCallGetSet?(_=i(E,d))&&_.value:E[d]),y=p&&m?m:l[d],(h||O||typeof g!=typeof y)&&(b=r.bind&&p?a(y,t):r.wrap&&p?f(y):O&&n(y)?e(y):y,(r.sham||y&&y.sham||g&&g.sham)&&s(b,"sham",!0),s(A,d,b),O&&(c(u,v=w+"Prototype")||s(u,v,{}),s(u[v],d,y),r.real&&I&&(h||!I[d])&&s(I,d,y)))}}function $r(){if(Rr)return b;Rr=1;var t=Zr(),r=C(),e=Kr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!r},{defineProperty:e}),b}function te(){if(Fr)return m.exports;Fr=1,$r();var t=At().Object,r=m.exports=function(r,e,n){return t.defineProperty(r,e,n)};return t.defineProperty.sham&&(r.sham=!0),m.exports}function re(){return qr?zr:(qr=1,zr=te())}function ee(){return Wr?Ur:(Wr=1,Ur=re())}function ne(){return Xr?Yr:(Xr=1,Yr=ee())}function ie(){return Vr?Br:(Vr=1,Br=ne())}var oe,ue,ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Te,Oe,Ee,Ae,Ie,Pe,je,xe,De,ke,Ce,Me=r(ie()),Le={};function Ne(){if(ue)return oe;ue=1;var t=E();return oe=Array.isArray||function(r){return"Array"===t(r)}}function Re(){if(se)return ae;se=1;var t=Math.ceil,r=Math.floor;return ae=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}}function Fe(){if(fe)return ce;fe=1;var t=Re();return ce=function(r){var e=+r;return e!=e||0===e?0:t(e)}}function ze(){if(he)return le;he=1;var t=Fe(),r=Math.min;return le=function(e){var n=t(e);return n>0?r(n,9007199254740991):0}}function qe(){if(ve)return pe;ve=1;var t=ze();return pe=function(r){return t(r.length)}}function Ue(){if(ye)return de;ye=1;var t=TypeError;return de=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function We(){if(me)return ge;me=1;var t=C(),r=Kr(),e=_t();return ge=function(n,i,o){t?r.f(n,i,e(0,o)):n[i]=o}}function Ye(){if(_e)return be;_e=1;var t={};return t[_r()("toStringTag")]="z",be="[object z]"===String(t)}function Xe(){if(Se)return we;Se=1;var t=Ye(),r=I(),e=E(),n=_r()("toStringTag"),i=Object,o="Arguments"===e(function(){return arguments}());return we=t?e:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(u=i(t),n))?a:o?e(u):"Object"===(s=e(u))&&r(u.callee)?"Arguments":s}}function Be(){if(Oe)return Te;Oe=1;var t=O(),r=I(),e=dr(),n=t(Function.toString);return r(e.inspectSource)||(e.inspectSource=function(t){return n(t)}),Te=e.inspectSource}function Ve(){if(Ae)return Ee;Ae=1;var t=O(),r=w(),e=I(),n=Xe(),i=It(),o=Be(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!e(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!e(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,Ee=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function Ge(){if(Pe)return Ie;Pe=1;var t=Ne(),r=Ve(),e=Et(),n=_r()("species"),i=Array;return Ie=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||e(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?i:u}}function He(){if(xe)return je;xe=1;var t=Ge();return je=function(r,e){return new(t(r))(0===e?0:e)}}function Je(){if(ke)return De;ke=1;var t=w(),r=_r(),e=xt(),n=r("species");return De=function(r){return e>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function Ke(){if(Ce)return Le;Ce=1;var t=Zr(),r=w(),e=Ne(),n=Et(),i=gr(),o=qe(),u=Ue(),a=We(),s=He(),c=Je(),f=_r(),l=xt(),h=f("isConcatSpreadable"),p=l>=51||!r(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),v=function(t){if(!n(t))return!1;var r=t[h];return void 0!==r?!!r:e(t)};return t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var r,e,n,c,f,l=i(this),h=s(l,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(v(f=-1===r?l:arguments[r]))for(c=o(f),u(p+c),e=0;e<c;e++,p++)e in f&&a(h,p,f[e]);else u(p+1),a(h,p++,f);return h.length=p,h}}),Le}var Qe,Ze,$e={},tn={};function rn(){if(Ze)return Qe;Ze=1;var t=Xe(),r=String;return Qe=function(e){if("Symbol"===t(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}}var en,nn,on,un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn={};function Tn(){if(nn)return en;nn=1;var t=Fe(),r=Math.max,e=Math.min;return en=function(n,i){var o=t(n);return o<0?r(o+i,0):e(o,i)}}function On(){if(un)return on;un=1;var t=Ot(),r=Tn(),e=qe(),n=function(n){return function(i,o,u){var a=t(i),s=e(a);if(0===s)return!n&&-1;var c,f=r(u,s);if(n&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((n||f in a)&&a[f]===o)return n||f||0;return!n&&-1}};return on={includes:n(!0),indexOf:n(!1)}}function En(){return sn?an:(sn=1,an={})}function An(){if(fn)return cn;fn=1;var t=O(),r=mr(),e=Ot(),n=On().indexOf,i=En(),o=t([].push);return cn=function(t,u){var a,s=e(t),c=0,f=[];for(a in s)!r(i,a)&&r(s,a)&&o(f,a);for(;u.length>c;)r(s,a=u[c++])&&(~n(f,a)||o(f,a));return f}}function In(){return hn?ln:(hn=1,ln=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Pn(){if(vn)return pn;vn=1;var t=An(),r=In();return pn=Object.keys||function(e){return t(e,r)}}function jn(){if(dn)return Sn;dn=1;var t=C(),r=Hr(),e=Kr(),n=Jr(),i=Ot(),o=Pn();return Sn.f=t&&!r?Object.defineProperties:function(t,r){n(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)e.f(t,u=s[f++],a[u]);return t},Sn}function xn(){return gn?yn:(gn=1,yn=It()("document","documentElement"))}function Dn(){if(bn)return mn;bn=1;var t=yr(),r=br(),e=t("keys");return mn=function(t){return e[t]||(e[t]=r(t))}}function kn(){if(wn)return _n;wn=1;var t,r=Jr(),e=jn(),n=In(),i=En(),o=xn(),u=Tr(),a="prototype",s="script",c=Dn()("IE_PROTO"),f=function(){},l=function(t){return"<"+s+">"+t+"</"+s+">"},h=function(t){t.write(l("")),t.close();var r=t.parentWindow.Object;return t=null,r},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,e,i;p="undefined"!=typeof document?document.domain&&t?h(t):(e=u("iframe"),i="java"+s+":",e.style.display="none",o.appendChild(e),e.src=String(i),(r=e.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=n.length;c--;)delete p[a][n[c]];return p()};return i[c]=!0,_n=Object.create||function(t,n){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===n?i:e.f(i,n)}}var Cn,Mn={};function Ln(){if(Cn)return Mn;Cn=1;var t=An(),r=In().concat("length","prototype");return Mn.f=Object.getOwnPropertyNames||function(e){return t(e,r)},Mn}var Nn,Rn,Fn,zn={};function qn(){return Rn?Nn:(Rn=1,Nn=O()([].slice))}function Un(){if(Fn)return zn;Fn=1;var t=E(),r=Ot(),e=Ln().f,n=qn(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return zn.f=function(o){return i&&"Window"===t(o)?function(t){try{return e(t)}catch(t){return n(i)}}(o):e(r(o))},zn}var Wn,Yn,Xn,Bn,Vn,Gn={};function Hn(){return Wn||(Wn=1,Gn.f=Object.getOwnPropertySymbols),Gn}function Jn(){if(Xn)return Yn;Xn=1;var t=Qr();return Yn=function(r,e,n,i){return i&&i.enumerable?r[e]=n:t(r,e,n),r}}function Kn(){if(Vn)return Bn;Vn=1;var t=Kr();return Bn=function(r,e,n){return t.f(r,e,n)}}var Qn,Zn,$n,ti,ri,ei,ni,ii,oi,ui,ai,si,ci,fi,li,hi,pi={};function vi(){if(Qn)return pi;Qn=1;var t=_r();return pi.f=t,pi}function di(){if($n)return Zn;$n=1;var t=At(),r=mr(),e=vi(),n=Kr().f;return Zn=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||n(o,i,{value:e.f(i)})}}function yi(){if(ri)return ti;ri=1;var t=M(),r=It(),e=_r(),n=Jn();return ti=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=e("toPrimitive");o&&!o[a]&&n(o,a,function(r){return t(u,this)},{arity:1})}}function gi(){if(ni)return ei;ni=1;var t=Ye(),r=Xe();return ei=t?{}.toString:function(){return"[object "+r(this)+"]"}}function mi(){if(oi)return ii;oi=1;var t=Ye(),r=Kr().f,e=Qr(),n=mr(),i=gi(),o=_r()("toStringTag");return ii=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(n(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&e(f,"toString",i))}}function bi(){if(ai)return ui;ai=1;var t=_(),r=I(),e=t.WeakMap;return ui=r(e)&&/native code/.test(String(e))}function _i(){if(ci)return si;ci=1;var t,r,e,n=bi(),i=_(),o=Et(),u=Qr(),a=mr(),s=dr(),c=Dn(),f=En(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(n||s.state){var v=s.state||(s.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,r){if(v.has(t))throw new h(l);return r.facade=t,v.set(t,r),r},r=function(t){return v.get(t)||{}},e=function(t){return v.has(t)}}else{var d=c("state");f[d]=!0,t=function(t,r){if(a(t,d))throw new h(l);return r.facade=t,u(t,d,r),r},r=function(t){return a(t,d)?t[d]:{}},e=function(t){return a(t,d)}}return si={set:t,get:r,has:e,enforce:function(n){return e(n)?r(n):t(n,{})},getterFor:function(t){return function(e){var n;if(!o(e)||(n=r(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function wi(){if(li)return fi;li=1;var t=Ir(),r=O(),e=wt(),n=gr(),i=qe(),o=He(),u=r([].push),a=function(r){var a=1===r,s=2===r,c=3===r,f=4===r,l=6===r,h=7===r,p=5===r||l;return function(v,d,y,g){for(var m,b,_=n(v),w=e(_),S=i(w),T=t(d,y),O=0,E=g||o,A=a?E(v,S):s||h?E(v,0):void 0;S>O;O++)if((p||O in w)&&(b=T(m=w[O],O,_),r))if(a)A[O]=b;else if(b)switch(r){case 3:return!0;case 5:return m;case 6:return O;case 2:u(A,m)}else switch(r){case 4:return!1;case 7:u(A,m)}return l?-1:c||f?f:A}};return fi={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var Si,Ti,Oi,Ei={};function Ai(){return Ti?Si:(Ti=1,Si=Dt()&&!!Symbol.for&&!!Symbol.keyFor)}var Ii,Pi={};var ji,xi,Di,ki={};function Ci(){if(xi)return ji;xi=1;var t=O(),r=Ne(),e=I(),n=E(),i=rn(),o=t([].push);return ji=function(t){if(e(t))return t;if(r(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?o(a,c):"number"!=typeof c&&"Number"!==n(c)&&"String"!==n(c)||o(a,i(c))}var f=a.length,l=!0;return function(t,e){if(l)return l=!1,e;if(r(this))return e;for(var n=0;n<f;n++)if(a[n]===t)return e}}},ji}function Mi(){if(Di)return ki;Di=1;var t=Zr(),r=It(),e=T(),n=M(),i=O(),o=w(),u=I(),a=Ct(),s=qn(),c=Ci(),f=Dt(),l=String,h=r("JSON","stringify"),p=i(/./.exec),v=i("".charAt),d=i("".charCodeAt),y=i("".replace),g=i(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,S=!f||o(function(){var t=r("Symbol")("stringify detection");return"[null]"!==h([t])||"{}"!==h({a:t})||"{}"!==h(Object(t))}),E=o(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")}),A=function(t,r){var i=s(arguments),o=c(r);if(u(o)||void 0!==t&&!a(t))return i[1]=function(t,r){if(u(o)&&(r=n(o,this,l(t),r)),!a(r))return r},e(h,null,i)},P=function(t,r,e){var n=v(e,r-1),i=v(e,r+1);return p(b,t)&&!p(_,i)||p(_,t)&&!p(b,n)?"\\u"+g(d(t,0),16):t};return h&&t({target:"JSON",stat:!0,arity:3,forced:S||E},{stringify:function(t,r,n){var i=s(arguments),o=e(S?A:h,null,i);return E&&"string"==typeof o?y(o,m,P):o}}),ki}var Li,Ni,Ri={};function Fi(){return Ni||(Ni=1,function(){if(hi)return tn;hi=1;var t=Zr(),r=_(),e=M(),n=O(),i=pr(),o=C(),u=Dt(),a=w(),s=mr(),c=Pt(),f=Jr(),l=Ot(),h=Sr(),p=rn(),v=_t(),d=kn(),y=Pn(),g=Ln(),m=Un(),b=Hn(),S=Er(),T=Kr(),E=jn(),A=bt(),I=Jn(),P=Kn(),j=yr(),x=Dn(),D=En(),k=br(),L=_r(),N=vi(),R=di(),F=yi(),z=mi(),q=_i(),U=wi().forEach,W=x("hidden"),Y="Symbol",X="prototype",B=q.set,V=q.getterFor(Y),G=Object[X],H=r.Symbol,J=H&&H[X],K=r.RangeError,Q=r.TypeError,Z=r.QObject,$=S.f,tt=T.f,rt=m.f,et=A.f,nt=n([].push),it=j("symbols"),ot=j("op-symbols"),ut=j("wks"),at=!Z||!Z[X]||!Z[X].findChild,st=function(t,r,e){var n=$(G,r);n&&delete G[r],tt(t,r,e),n&&t!==G&&tt(G,r,n)},ct=o&&a(function(){return 7!==d(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a})?st:tt,ft=function(t,r){var e=it[t]=d(J);return B(e,{type:Y,tag:t,description:r}),o||(e.description=r),e},lt=function(t,r,e){t===G&<(ot,r,e),f(t);var n=h(r);return f(e),s(it,n)?(e.enumerable?(s(t,W)&&t[W][n]&&(t[W][n]=!1),e=d(e,{enumerable:v(0,!1)})):(s(t,W)||tt(t,W,v(1,d(null))),t[W][n]=!0),ct(t,n,e)):tt(t,n,e)},ht=function(t,r){f(t);var n=l(r),i=y(n).concat(yt(n));return U(i,function(r){o&&!e(pt,n,r)||lt(t,r,n[r])}),t},pt=function(t){var r=h(t),n=e(et,this,r);return!(this===G&&s(it,r)&&!s(ot,r))&&(!(n||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||n)},vt=function(t,r){var e=l(t),n=h(r);if(e!==G||!s(it,n)||s(ot,n)){var i=$(e,n);return!i||!s(it,n)||s(e,W)&&e[W][n]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),e=[];return U(r,function(t){s(it,t)||s(D,t)||nt(e,t)}),e},yt=function(t){var r=t===G,e=rt(r?ot:l(t)),n=[];return U(e,function(t){!s(it,t)||r&&!s(G,t)||nt(n,it[t])}),n};u||(H=function(){if(c(J,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,n=k(t),i=function(t){var o=void 0===this?r:this;o===G&&e(i,ot,t),s(o,W)&&s(o[W],n)&&(o[W][n]=!1);var u=v(1,t);try{ct(o,n,u)}catch(t){if(!(t instanceof K))throw t;st(o,n,u)}};return o&&at&&ct(G,n,{configurable:!0,set:i}),ft(n,t)},I(J=H[X],"toString",function(){return V(this).tag}),I(H,"withoutSetter",function(t){return ft(k(t),t)}),A.f=pt,T.f=lt,E.f=ht,S.f=vt,g.f=m.f=dt,b.f=yt,N.f=function(t){return ft(L(t),t)},o&&(P(J,"description",{configurable:!0,get:function(){return V(this).description}}),i||I(G,"propertyIsEnumerable",pt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),U(y(ut),function(t){R(t)}),t({target:Y,stat:!0,forced:!u},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!o},{create:function(t,r){return void 0===r?d(t):ht(d(t),r)},defineProperty:lt,defineProperties:ht,getOwnPropertyDescriptor:vt}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:dt}),F(),z(H,Y),D[W]=!0}(),function(){if(Oi)return Ei;Oi=1;var t=Zr(),r=It(),e=mr(),n=rn(),i=yr(),o=Ai(),u=i("string-to-symbol-registry"),a=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{for:function(t){var i=n(t);if(e(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(Ii)return Pi;Ii=1;var t=Zr(),r=mr(),e=Ct(),n=Mt(),i=yr(),o=Ai(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!e(t))throw new TypeError(n(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Mi(),function(){if(Li)return Ri;Li=1;var t=Zr(),r=Dt(),e=w(),n=Hn(),i=gr();t({target:"Object",stat:!0,forced:!r||e(function(){n.f(1)})},{getOwnPropertySymbols:function(t){var r=n.f;return r?r(i(t)):[]}})}()),$e}var zi,qi={};function Ui(){return zi||(zi=1,di()("asyncDispose")),qi}var Wi;var Yi,Xi={};function Bi(){return Yi||(Yi=1,di()("dispose")),Xi}var Vi;var Gi;var Hi,Ji={};function Ki(){return Hi||(Hi=1,di()("iterator")),Ji}var Qi;var Zi;var $i;var to;var ro;var eo;var no,io={};function oo(){if(no)return io;no=1;var t=di(),r=yi();return t("toPrimitive"),r(),io}var uo,ao={};var so;var co,fo,lo,ho={};function po(){return lo?fo:(lo=1,Ke(),Fi(),Ui(),Wi||(Wi=1,di()("asyncIterator")),Bi(),Vi||(Vi=1,di()("hasInstance")),Gi||(Gi=1,di()("isConcatSpreadable")),Ki(),Qi||(Qi=1,di()("match")),Zi||(Zi=1,di()("matchAll")),$i||($i=1,di()("replace")),to||(to=1,di()("search")),ro||(ro=1,di()("species")),eo||(eo=1,di()("split")),oo(),function(){if(uo)return ao;uo=1;var t=It(),r=di(),e=mi();r("toStringTag"),e(t("Symbol"),"Symbol")}(),so||(so=1,di()("unscopables")),function(){if(co)return ho;co=1;var t=_();mi()(t.JSON,"JSON",!0)}(),fo=At().Symbol)}var vo,yo,go,mo,bo,_o,wo,So,To,Oo,Eo,Ao,Io,Po,jo,xo,Do,ko,Co,Mo,Lo,No,Ro,Fo,zo,qo,Uo,Wo,Yo,Xo,Bo,Vo,Go,Ho={};function Jo(){return yo?vo:(yo=1,vo=function(){})}function Ko(){return mo?go:(mo=1,go={})}function Qo(){if(_o)return bo;_o=1;var t=C(),r=mr(),e=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=r(e,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&n(e,"name").configurable);return bo={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Zo(){return So?wo:(So=1,wo=!w()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function $o(){if(Oo)return To;Oo=1;var t=mr(),r=I(),e=gr(),n=Dn(),i=Zo(),o=n("IE_PROTO"),u=Object,a=u.prototype;return To=i?u.getPrototypeOf:function(n){var i=e(n);if(t(i,o))return i[o];var s=i.constructor;return r(s)&&i instanceof s?s.prototype:i instanceof u?a:null}}function tu(){if(Ao)return Eo;Ao=1;var t,r,e,n=w(),i=I(),o=Et(),u=kn(),a=$o(),s=Jn(),c=_r(),f=pr(),l=c("iterator"),h=!1;return[].keys&&("next"in(e=[].keys())?(r=a(a(e)))!==Object.prototype&&(t=r):h=!0),!o(t)||n(function(){var r={};return t[l].call(r)!==r})?t={}:f&&(t=u(t)),i(t[l])||s(t,l,function(){return this}),Eo={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function ru(){if(Po)return Io;Po=1;var t=tu().IteratorPrototype,r=kn(),e=_t(),n=mi(),i=Ko(),o=function(){return this};return Io=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:e(+!c,s)}),n(u,f,!1,!0),i[f]=o,u}}function eu(){if(xo)return jo;xo=1;var t=O(),r=Lt();return jo=function(e,n,i){try{return t(r(Object.getOwnPropertyDescriptor(e,n)[i]))}catch(t){}}}function nu(){if(ko)return Do;ko=1;var t=Et();return Do=function(r){return t(r)||null===r}}function iu(){if(Mo)return Co;Mo=1;var t=nu(),r=String,e=TypeError;return Co=function(n){if(t(n))return n;throw new e("Can't set "+r(n)+" as a prototype")}}function ou(){if(No)return Lo;No=1;var t=eu(),r=Et(),e=Tt(),n=iu();return Lo=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=t(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(t){}return function(t,u){return e(t),n(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function uu(){if(Fo)return Ro;Fo=1;var t=Zr(),r=M(),e=pr(),n=Qo(),i=I(),o=ru(),u=$o(),a=ou(),s=mi(),c=Qr(),f=Jn(),l=_r(),h=Ko(),p=tu(),v=n.PROPER,d=n.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Ro=function(n,l,p,T,O,E,A){o(p,l,T);var I,P,j,x=function(t){if(t===O&&L)return L;if(!g&&t&&t in C)return C[t];switch(t){case b:case _:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},D=l+" Iterator",k=!1,C=n.prototype,M=C[m]||C["@@iterator"]||O&&C[O],L=!g&&M||x(O),N="Array"===l&&C.entries||M;if(N&&(I=u(N.call(new n)))!==Object.prototype&&I.next&&(e||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,D,!0,!0),e&&(h[D]=S)),v&&O===_&&M&&M.name!==_&&(!e&&d?c(C,"name",_):(k=!0,L=function(){return r(M,this)})),O)if(P={values:x(_),keys:E?L:x(b),entries:x(w)},A)for(j in P)(g||k||!(j in C))&&f(C,j,P[j]);else t({target:l,proto:!0,forced:g||k},P);return e&&!A||C[m]===L||f(C,m,L,{name:O}),h[l]=L,P}}function au(){return qo?zo:(qo=1,zo=function(t,r){return{value:t,done:r}})}function su(){if(Wo)return Uo;Wo=1;var t=Ot(),r=Jo(),e=Ko(),n=_i(),i=Kr().f,o=uu(),u=au(),a=pr(),s=C(),c="Array Iterator",f=n.set,l=n.getterFor(c);Uo=o(Array,"Array",function(r,e){f(this,{type:c,target:t(r),index:0,kind:e})},function(){var t=l(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(e,!1);case"values":return u(r[e],!1)}return u([e,r[e]],!1)},"values");var h=e.Arguments=e.Array;if(r("keys"),r("values"),r("entries"),!a&&s&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Uo}function cu(){return Xo?Yo:(Xo=1,Yo={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})}function fu(){if(Bo)return Ho;Bo=1,su();var t=cu(),r=_(),e=mi(),n=Ko();for(var i in t)e(r[i],i),n[i]=n.Array;return Ho}function lu(){if(Go)return Vo;Go=1;var t=po();return fu(),Vo=t}var hu,pu={};var vu;var du;var yu,gu,mu;function bu(){if(mu)return gu;mu=1;var t=lu();return function(){if(hu)return pu;hu=1;var t=_r(),r=Kr().f,e=t("metadata"),n=Function.prototype;void 0===n[e]&&r(n,e,{value:null})}(),vu||(vu=1,Ui()),du||(du=1,Bi()),yu||(yu=1,di()("metadata")),gu=t}var _u,wu,Su;function Tu(){if(wu)return _u;wu=1;var t=It(),r=O(),e=t("Symbol"),n=e.keyFor,i=r(e.prototype.valueOf);return _u=e.isRegisteredSymbol||function(t){try{return void 0!==n(i(t))}catch(t){return!1}}}var Ou,Eu,Au;function Iu(){if(Eu)return Ou;Eu=1;for(var t=yr(),r=It(),e=O(),n=Ct(),i=_r(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=e(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];n(o[p])&&i(p)}catch(t){}return Ou=function(t){if(u&&u(t))return!0;try{for(var r=s(t),e=0,n=a(c),i=n.length;e<i;e++)if(c[n[e]]==r)return!0}catch(t){}return!1},Ou}var Pu;var ju;var xu;var Du;var ku;var Cu;var Mu;var Lu,Nu,Ru,Fu,zu;function qu(){if(Ru)return Nu;Ru=1;var t=bu();return Su||(Su=1,Zr()({target:"Symbol",stat:!0},{isRegisteredSymbol:Tu()})),Au||(Au=1,Zr()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Iu()})),Pu||(Pu=1,di()("customMatcher")),ju||(ju=1,di()("observable")),xu||(xu=1,Zr()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Tu()})),Du||(Du=1,Zr()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Iu()})),ku||(ku=1,di()("matcher")),Cu||(Cu=1,di()("metadataKey")),Mu||(Mu=1,di()("patternMatch")),Lu||(Lu=1,di()("replaceAll")),Nu=t}function Uu(){return zu?Fu:(zu=1,Fu=qu())}var Wu,Yu,Xu,Bu,Vu,Gu,Hu,Ju,Ku,Qu,Zu,$u,ta,ra=r(Uu()),ea={};function na(){if(Yu)return Wu;Yu=1;var t=O(),r=Fe(),e=rn(),n=Tt(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=e(n(a)),h=r(s),p=l.length;return h<0||h>=p?t?"":void 0:(c=o(l,h))<55296||c>56319||h+1===p||(f=o(l,h+1))<56320||f>57343?t?i(l,h):c:t?u(l,h,h+2):f-56320+(c-55296<<10)+65536}};return Wu={codeAt:a(!1),charAt:a(!0)}}function ia(){if(Xu)return ea;Xu=1;var t=na().charAt,r=rn(),e=_i(),n=uu(),i=au(),o="String Iterator",u=e.set,a=e.getterFor(o);return n(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,e=a(this),n=e.string,o=e.index;return o>=n.length?i(void 0,!0):(r=t(n,o),e.index+=r.length,i(r,!1))}),ea}function oa(){return Vu?Bu:(Vu=1,su(),ia(),Ki(),Bu=vi().f("iterator"))}function ua(){if(Hu)return Gu;Hu=1;var t=oa();return fu(),Gu=t}function aa(){return Ku?Ju:(Ku=1,Ju=ua())}function sa(){return Zu?Qu:(Zu=1,Qu=aa())}function ca(){return ta?$u:(ta=1,$u=sa())}var fa,la,ha,pa,va,da,ya,ga,ma,ba,_a=r(ca());function wa(t){return wa="function"==typeof ra&&"symbol"==typeof _a?function(t){return typeof t}:function(t){return t&&"function"==typeof ra&&t.constructor===ra&&t!==ra.prototype?"symbol":typeof t},wa(t)}function Sa(){return la?fa:(la=1,oo(),fa=vi().f("toPrimitive"))}function Ta(){return pa?ha:(pa=1,ha=Sa())}function Oa(){return da?va:(da=1,va=Ta())}function Ea(){return ga?ya:(ga=1,ya=Oa())}function Aa(){return ba?ma:(ba=1,ma=Ea())}var Ia=r(Aa());function Pa(t){var r=function(t,r){if("object"!=wa(t)||!t)return t;var e=t[Ia];if(void 0!==e){var n=e.call(t,r);if("object"!=wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==wa(r)?r:r+""}function ja(t,r,e){return(r=Pa(r))in t?Me(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var xa,Da,ka,Ca,Ma,La,Na,Ra,Fa,za,qa,Ua,Wa,Ya={};function Xa(){if(Da)return xa;Da=1;var t=O(),r=Lt(),e=Et(),n=mr(),i=qn(),o=S(),u=Function,a=t([].concat),s=t([].join),c={};return xa=o?u.bind:function(t){var o=r(this),f=o.prototype,l=i(arguments,1),h=function(){var r=a(l,i(arguments));return this instanceof h?function(t,r,e){if(!n(c,r)){for(var i=[],o=0;o<r;o++)i[o]="a["+o+"]";c[r]=u("C,a","return new C("+s(i,",")+")")}return c[r](t,e)}(o,r.length,r):o.apply(t,r)};return e(f)&&(h.prototype=f),h},xa}function Ba(){if(Ma)return Ca;Ma=1;var t=_(),r=At();return Ca=function(e,n){var i=r[e+"Prototype"],o=i&&i[n];if(o)return o;var u=t[e],a=u&&u.prototype;return a&&a[n]}}function Va(){return Na?La:(Na=1,function(){if(ka)return Ya;ka=1;var t=Zr(),r=Xa();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),La=Ba()("Function","bind"))}function Ga(){if(Fa)return Ra;Fa=1;var t=Pt(),r=Va(),e=Function.prototype;return Ra=function(n){var i=n.bind;return n===e||t(e,n)&&i===e.bind?r:i}}function Ha(){return qa?za:(qa=1,za=Ga())}var Ja,Ka,Qa,Za,$a,ts,rs,es,ns,is,os,us,as,ss,cs,fs,ls,hs=r(Wa?Ua:(Wa=1,Ua=Ha())),ps={};function vs(){if(Ka)return Ja;Ka=1;var t=Lt(),r=gr(),e=wt(),n=qe(),i=TypeError,o="Reduce of empty array with no initial value",u=function(u){return function(a,s,c,f){var l=r(a),h=e(l),p=n(l);if(t(s),0===p&&c<2)throw new i(o);var v=u?p-1:0,d=u?-1:1;if(c<2)for(;;){if(v in h){f=h[v],v+=d;break}if(v+=d,u?v<0:p<=v)throw new i(o)}for(;u?v>=0:p>v;v+=d)v in h&&(f=s(f,h[v],v,l));return f}};return Ja={left:u(!1),right:u(!0)}}function ds(){if(Za)return Qa;Za=1;var t=w();return Qa=function(r,e){var n=[][r];return!!n&&t(function(){n.call(null,e||function(){return 1},1)})}}function ys(){if(ts)return $a;ts=1;var t=_(),r=jt(),e=E(),n=function(t){return r.slice(0,t.length)===t};return $a=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===e(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function gs(){return es?rs:(es=1,rs="NODE"===ys())}function ms(){return os?is:(os=1,function(){if(ns)return ps;ns=1;var t=Zr(),r=vs().left,e=ds(),n=xt();t({target:"Array",proto:!0,forced:!gs()&&n>79&&n<83||!e("reduce")},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})}(),is=Ba()("Array","reduce"))}function bs(){if(as)return us;as=1;var t=Pt(),r=ms(),e=Array.prototype;return us=function(n){var i=n.reduce;return n===e||t(e,n)&&i===e.reduce?r:i}}function _s(){return cs?ss:(cs=1,ss=bs())}var ws,Ss,Ts,Os,Es,As,Is,Ps,js,xs=r(ls?fs:(ls=1,fs=_s())),Ds={};function ks(){return Ts?Ss:(Ts=1,function(){if(ws)return Ds;ws=1;var t=Zr(),r=wi().filter;t({target:"Array",proto:!0,forced:!Je()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ss=Ba()("Array","filter"))}function Cs(){if(Es)return Os;Es=1;var t=Pt(),r=ks(),e=Array.prototype;return Os=function(n){var i=n.filter;return n===e||t(e,n)&&i===e.filter?r:i}}function Ms(){return Is?As:(Is=1,As=Cs())}var Ls,Ns,Rs,Fs,zs,qs,Us,Ws,Ys,Xs=r(js?Ps:(js=1,Ps=Ms())),Bs={};function Vs(){return Rs?Ns:(Rs=1,function(){if(Ls)return Bs;Ls=1;var t=Zr(),r=wi().map;t({target:"Array",proto:!0,forced:!Je()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ns=Ba()("Array","map"))}function Gs(){if(zs)return Fs;zs=1;var t=Pt(),r=Vs(),e=Array.prototype;return Fs=function(n){var i=n.map;return n===e||t(e,n)&&i===e.map?r:i}}function Hs(){return Us?qs:(Us=1,qs=Gs())}var Js,Ks,Qs,Zs=r(Ys?Ws:(Ys=1,Ws=Hs())),$s={};function tc(){if(Ks)return Js;Ks=1;var t=Ne(),r=qe(),e=Ue(),n=Ir(),i=function(o,u,a,s,c,f,l,h){for(var p,v,d=c,y=0,g=!!l&&n(l,h);y<s;)y in a&&(p=g?g(a[y],y,u):a[y],f>0&&t(p)?(v=r(p),d=i(o,u,p,v,d,f-1)-1):(e(d+1),o[d]=p),d++),y++;return d};return Js=i}var rc,ec,nc,ic,oc,uc,ac,sc,cc;function fc(){return nc?ec:(nc=1,function(){if(Qs)return $s;Qs=1;var t=Zr(),r=tc(),e=Lt(),n=gr(),i=qe(),o=He();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=i(a);return e(t),(u=o(a,0)).length=r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),rc||(rc=1,Jo()("flatMap")),ec=Ba()("Array","flatMap"))}function lc(){if(oc)return ic;oc=1;var t=Pt(),r=fc(),e=Array.prototype;return ic=function(n){var i=n.flatMap;return n===e||t(e,n)&&i===e.flatMap?r:i}}function hc(){return ac?uc:(ac=1,uc=lc())}var pc,vc,dc=r(cc?sc:(cc=1,sc=hc()));function yc(t){return new mc(t)}class gc{constructor(t,r,e){var n,i,o;ja(this,"_listeners",{add:hs(n=this._add).call(n,this),remove:hs(i=this._remove).call(i,this),update:hs(o=this._update).call(o,this)}),this._source=t,this._transformers=r,this._target=e}all(){return this._target.update(this._transformItems(this._source.get())),this}start(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}stop(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}_transformItems(t){var r;return xs(r=this._transformers).call(r,(t,r)=>r(t),t)}_add(t,r){null!=r&&this._target.add(this._transformItems(this._source.get(r.items)))}_update(t,r){null!=r&&this._target.update(this._transformItems(this._source.get(r.items)))}_remove(t,r){null!=r&&this._target.remove(this._transformItems(r.oldData))}}class mc{constructor(t){ja(this,"_transformers",[]),this._source=t}filter(t){return this._transformers.push(r=>Xs(r).call(r,t)),this}map(t){return this._transformers.push(r=>Zs(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>dc(r).call(r,t)),this}to(t){return new gc(this._source,this._transformers,t)}}var bc,_c,wc,Sc,Tc,Oc,Ec,Ac,Ic,Pc=r(vc?pc:(vc=1,pc=lu())),jc={};function xc(){return wc?_c:(wc=1,function(){if(bc)return jc;bc=1;var t=Zr(),r=Ne(),e=Ve(),n=Et(),i=Tn(),o=qe(),u=Ot(),a=We(),s=_r(),c=Je(),f=qn(),l=c("slice"),h=s("species"),p=Array,v=Math.max;t({target:"Array",proto:!0,forced:!l},{slice:function(t,s){var c,l,d,y=u(this),g=o(y),m=i(t,g),b=i(void 0===s?g:s,g);if(r(y)&&(c=y.constructor,(e(c)&&(c===p||r(c.prototype))||n(c)&&null===(c=c[h]))&&(c=void 0),c===p||void 0===c))return f(y,m,b);for(l=new(void 0===c?p:c)(v(b-m,0)),d=0;m<b;m++,d++)m in y&&a(l,d,y[m]);return l.length=d,l}})}(),_c=Ba()("Array","slice"))}function Dc(){if(Tc)return Sc;Tc=1;var t=Pt(),r=xc(),e=Array.prototype;return Sc=function(n){var i=n.slice;return n===e||t(e,n)&&i===e.slice?r:i}}function kc(){return Ec?Oc:(Ec=1,Oc=Dc())}var Cc,Mc,Lc,Nc,Rc,Fc,zc,qc,Uc,Wc=r(Ic?Ac:(Ic=1,Ac=kc()));function Yc(){if(Mc)return Cc;Mc=1;var t=It(),r=O(),e=Ln(),n=Hn(),i=Jr(),o=r([].concat);return Cc=t("Reflect","ownKeys")||function(t){var r=e.f(i(t)),u=n.f;return u?o(r,u(t)):r},Cc}function Xc(){return Rc?Nc:(Rc=1,Lc||(Lc=1,Zr()({target:"Reflect",stat:!0},{ownKeys:Yc()})),Nc=At().Reflect.ownKeys)}function Bc(){return zc?Fc:(zc=1,Fc=Xc())}var Vc,Gc,Hc,Jc,Kc,Qc,Zc,$c=r(Uc?qc:(Uc=1,qc=Bc()));function tf(){return Hc?Gc:(Hc=1,Vc||(Vc=1,Zr()({target:"Array",stat:!0},{isArray:Ne()})),Gc=At().Array.isArray)}function rf(){return Kc?Jc:(Kc=1,Jc=tf())}var ef,nf,of,uf,af,sf,cf,ff=r(Zc?Qc:(Zc=1,Qc=rf())),lf={};function hf(){return of?nf:(of=1,function(){if(ef)return lf;ef=1;var t=Zr(),r=gr(),e=Pn();t({target:"Object",stat:!0,forced:w()(function(){e(1)})},{keys:function(t){return e(r(t))}})}(),nf=At().Object.keys)}function pf(){return af?uf:(af=1,uf=hf())}var vf,df,yf,gf,mf,bf,_f,wf,Sf,Tf,Of,Ef=r(cf?sf:(cf=1,sf=pf())),Af={};function If(){if(df)return vf;df=1;var t=wi().forEach,r=ds()("forEach");return vf=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},vf}function Pf(){return mf?gf:(mf=1,function(){if(yf)return Af;yf=1;var t=Zr(),r=If();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),gf=Ba()("Array","forEach"))}function jf(){return _f?bf:(_f=1,bf=Pf())}function xf(){if(Sf)return wf;Sf=1;var t=Xe(),r=mr(),e=Pt(),n=jf(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return wf=function(u){var a=u.forEach;return u===i||e(i,u)&&a===i.forEach||r(o,t(u))?n:a}}var Df,kf,Cf,Mf,Lf,Nf,Rf,Ff,zf,qf=r(Of?Tf:(Of=1,Tf=xf())),Uf={};function Wf(){return Cf?kf:(Cf=1,function(){if(Df)return Uf;Df=1;var t=Zr(),r=O(),e=Ne(),n=r([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),n(this)}})}(),kf=Ba()("Array","reverse"))}function Yf(){if(Lf)return Mf;Lf=1;var t=Pt(),r=Wf(),e=Array.prototype;return Mf=function(n){var i=n.reverse;return n===e||t(e,n)&&i===e.reverse?r:i}}function Xf(){return Rf?Nf:(Rf=1,Nf=Yf())}var Bf,Vf,Gf,Hf,Jf,Kf,Qf,Zf,$f,tl,rl,el,nl,il=r(zf?Ff:(zf=1,Ff=Xf())),ol={};function ul(){if(Vf)return Bf;Vf=1;var t=C(),r=Ne(),e=TypeError,n=Object.getOwnPropertyDescriptor,i=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Bf=i?function(t,i){if(r(t)&&!n(t,"length").writable)throw new e("Cannot set read only .length");return t.length=i}:function(t,r){return t.length=r}}function al(){if(Hf)return Gf;Hf=1;var t=Mt(),r=TypeError;return Gf=function(e,n){if(!delete e[n])throw new r("Cannot delete property "+t(n)+" of "+t(e))}}function sl(){return Qf?Kf:(Qf=1,function(){if(Jf)return ol;Jf=1;var t=Zr(),r=gr(),e=Tn(),n=Fe(),i=qe(),o=ul(),u=Ue(),a=He(),s=We(),c=al(),f=Je()("splice"),l=Math.max,h=Math.min;t({target:"Array",proto:!0,forced:!f},{splice:function(t,f){var p,v,d,y,g,m,b=r(this),_=i(b),w=e(t,_),S=arguments.length;for(0===S?p=v=0:1===S?(p=0,v=_-w):(p=S-2,v=h(l(n(f),0),_-w)),u(_+p-v),d=a(b,v),y=0;y<v;y++)(g=w+y)in b&&s(d,y,b[g]);if(d.length=v,p<v){for(y=w;y<_-v;y++)m=y+p,(g=y+v)in b?b[m]=b[g]:c(b,m);for(y=_;y>_-v+p;y--)c(b,y-1)}else if(p>v)for(y=_-v;y>w;y--)m=y+p-1,(g=y+v-1)in b?b[m]=b[g]:c(b,m);for(y=0;y<p;y++)b[y+w]=arguments[y+2];return o(b,_-v+p),d}})}(),Kf=Ba()("Array","splice"))}function cl(){if($f)return Zf;$f=1;var t=Pt(),r=sl(),e=Array.prototype;return Zf=function(n){var i=n.splice;return n===e||t(e,n)&&i===e.splice?r:i}}function fl(){return rl?tl:(rl=1,tl=cl())}var ll,hl,pl,vl,dl,yl,gl,ml,bl,_l=r(nl?el:(nl=1,el=fl())),wl={};function Sl(){if(hl)return ll;hl=1;var t=C(),r=O(),e=M(),n=w(),i=Pn(),o=Hn(),u=bt(),a=gr(),s=wt(),c=Object.assign,f=Object.defineProperty,l=r([].concat);return ll=!c||n(function(){if(t&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},e={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[n]=7,o.split("").forEach(function(t){e[t]=t}),7!==c({},r)[n]||i(c({},e)).join("")!==o})?function(r,n){for(var c=a(r),f=arguments.length,h=1,p=o.f,v=u.f;f>h;)for(var d,y=s(arguments[h++]),g=p?l(i(y),p(y)):i(y),m=g.length,b=0;m>b;)d=g[b++],t&&!e(v,y,d)||(c[d]=y[d]);return c}:c,ll}function Tl(){return dl?vl:(dl=1,function(){if(pl)return wl;pl=1;var t=Zr(),r=Sl();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),vl=At().Object.assign)}function Ol(){return gl?yl:(gl=1,yl=Tl())}var El,Al,Il,Pl,jl,xl,Dl,kl,Cl=r(bl?ml:(bl=1,ml=Ol()));function Ml(){return Al?El:(Al=1,Ke(),El=Ba()("Array","concat"))}function Ll(){if(Pl)return Il;Pl=1;var t=Pt(),r=Ml(),e=Array.prototype;return Il=function(n){var i=n.concat;return n===e||t(e,n)&&i===e.concat?r:i}}function Nl(){return xl?jl:(xl=1,jl=Ll())}var Rl,Fl,zl,ql,Ul,Wl,Yl,Xl=r(kl?Dl:(kl=1,Dl=Nl()));function Bl(){if(zl)return Fl;zl=1,Rl||(Rl=1,Zr()({target:"Object",stat:!0,sham:!C()},{create:kn()}));var t=At().Object;return Fl=function(r,e){return t.create(r,e)}}function Vl(){return Ul?ql:(Ul=1,ql=Bl())}var Gl,Hl,Jl,Kl,Ql,Zl,$l,th,rh,eh,nh,ih,oh,uh=r(Yl?Wl:(Yl=1,Wl=Vl())),ah={};function sh(){if(Hl)return Gl;Hl=1;var t=Fe(),r=rn(),e=Tt(),n=RangeError;return Gl=function(i){var o=r(e(this)),u="",a=t(i);if(a<0||a===1/0)throw new n("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(o+=o))1&a&&(u+=o);return u}}function ch(){if(Kl)return Jl;Kl=1;var t=O(),r=ze(),e=rn(),n=sh(),i=Tt(),o=t(n),u=t("".slice),a=Math.ceil,s=function(t){return function(n,s,c){var f,l,h=e(i(n)),p=r(s),v=h.length,d=void 0===c?" ":e(c);return p<=v||""===d?h:((l=o(d,a((f=p-v)/d.length))).length>f&&(l=u(l,0,f)),t?h+l:l+h)}};return Jl={start:s(!1),end:s(!0)}}function fh(){if(Zl)return Ql;Zl=1;var t=O(),r=w(),e=ch().start,n=RangeError,i=isFinite,o=Math.abs,u=Date.prototype,a=u.toISOString,s=t(u.getTime),c=t(u.getUTCDate),f=t(u.getUTCFullYear),l=t(u.getUTCHours),h=t(u.getUTCMilliseconds),p=t(u.getUTCMinutes),v=t(u.getUTCMonth),d=t(u.getUTCSeconds);return Ql=r(function(){return"0385-07-25T07:06:39.999Z"!==a.call(new Date(-50000000000001))})||!r(function(){a.call(new Date(NaN))})?function(){if(!i(s(this)))throw new n("Invalid time value");var t=this,r=f(t),u=h(t),a=r<0?"-":r>9999?"+":"";return a+e(o(r),a?6:4,0)+"-"+e(v(t)+1,2,0)+"-"+e(c(t),2,0)+"T"+e(l(t),2,0)+":"+e(p(t),2,0)+":"+e(d(t),2,0)+"."+e(u,3,0)+"Z"}:a}function lh(){if(rh)return th;rh=1,function(){if($l)return ah;$l=1;var t=Zr(),r=M(),e=gr(),n=wr(),i=fh(),o=E();t({target:"Date",proto:!0,forced:w()(function(){return null!==new Date(NaN).toJSON()||1!==r(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(t){var u=e(this),a=n(u,"number");return"number"!=typeof a||isFinite(a)?"toISOString"in u||"Date"!==o(u)?u.toISOString():r(i,u):null}})}(),Mi();var t=At(),r=T();return t.JSON||(t.JSON={stringify:JSON.stringify}),th=function(e,n,i){return r(t.JSON.stringify,null,arguments)},th}function hh(){return nh?eh:(nh=1,eh=lh())}var ph,vh,dh,yh,gh,mh=r(oh?ih:(oh=1,ih=hh())),bh={},_h={};function wh(){if(vh)return ph;vh=1;var t=TypeError;return ph=function(r,e){if(r<e)throw new t("Not enough arguments");return r}}function Sh(){if(yh)return dh;yh=1;var t,r=_(),e=T(),n=I(),i=ys(),o=jt(),u=qn(),a=wh(),s=r.Function,c=/MSIE .\./.test(o)||"BUN"===i&&((t=r.Bun.version.split(".")).length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2]));return dh=function(t,r){var i=r?2:1;return c?function(o,c){var f=a(arguments.length,1)>i,l=n(o)?o:s(o),h=f?u(arguments,i):[],p=f?function(){e(l,this,h)}:l;return r?t(p,c):t(p)}:t},dh}var Th,Oh,Eh,Ah,Ih,Ph,jh={};function xh(){return Oh||(Oh=1,function(){if(gh)return _h;gh=1;var t=Zr(),r=_(),e=Sh()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==e},{setInterval:e})}(),function(){if(Th)return jh;Th=1;var t=Zr(),r=_(),e=Sh()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==e},{setTimeout:e})}()),bh}function Dh(){return Ah?Eh:(Ah=1,xh(),Eh=At().setTimeout)}var kh,Ch=r(Ph?Ih:(Ph=1,Ih=Dh())),Mh={exports:{}};function Lh(){return kh||(kh=1,function(t){function r(t){if(t)return function(t){return Object.assign(t,r.prototype),t._callbacks=new Map,t}(t);this._callbacks=new Map}r.prototype.on=function(t,r){const e=this._callbacks.get(t)??[];return e.push(r),this._callbacks.set(t,e),this},r.prototype.once=function(t,r){const e=(...n)=>{this.off(t,e),r.apply(this,n)};return e.fn=r,this.on(t,e),this},r.prototype.off=function(t,r){if(void 0===t&&void 0===r)return this._callbacks.clear(),this;if(void 0===r)return this._callbacks.delete(t),this;const e=this._callbacks.get(t);if(e){for(const[t,n]of e.entries())if(n===r||n.fn===r){e.splice(t,1);break}0===e.length?this._callbacks.delete(t):this._callbacks.set(t,e)}return this},r.prototype.emit=function(t,...r){const e=this._callbacks.get(t);if(e){const t=[...e];for(const e of t)e.apply(this,r)}return this},r.prototype.listeners=function(t){return this._callbacks.get(t)??[]},r.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let r=0;for(const t of this._callbacks.values())r+=t.length;return r},r.prototype.hasListeners=function(t){return this.listenerCount(t)>0},r.prototype.addEventListener=r.prototype.on,r.prototype.removeListener=r.prototype.off,r.prototype.removeEventListener=r.prototype.off,r.prototype.removeAllListeners=r.prototype.off,t.exports=r}(Mh)),Mh.exports}var Nh=r(Lh());
|
|
26
|
+
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,n,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m={exports:{}},b={};function _(){if(n)return e;n=1;var r=function(t){return t&&t.Math===Math&&t};return e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}function w(){return o?i:(o=1,i=function(t){try{return!!t()}catch(t){return!0}})}function S(){return a?u:(a=1,u=!w()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function T(){if(c)return s;c=1;var t=S(),r=Function.prototype,e=r.apply,n=r.call;return s="object"==typeof Reflect&&Reflect.apply||(t?n.bind(e):function(){return n.apply(e,arguments)}),s}function O(){if(l)return f;l=1;var t=S(),r=Function.prototype,e=r.call,n=t&&r.bind.bind(e,e);return f=t?n:function(t){return function(){return e.apply(t,arguments)}},f}function E(){if(p)return h;p=1;var t=O(),r=t({}.toString),e=t("".slice);return h=function(t){return e(r(t),8,-1)}}function A(){if(d)return v;d=1;var t=E(),r=O();return v=function(e){if("Function"===t(e))return r(e)}}function I(){if(g)return y;g=1;var t="object"==typeof document&&document.all;return y=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}var P,j,x,D,k={};function C(){return j?P:(j=1,P=!w()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function M(){if(D)return x;D=1;var t=S(),r=Function.prototype.call;return x=t?r.bind(r):function(){return r.apply(r,arguments)},x}var N,R,F,L,z,U,q,W,Y,X,B,V,G,H,J,K,Q,Z,$,tt,rt,et,nt,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt={};function bt(){if(N)return mt;N=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);return mt.f=e?function(t){var e=r(this,t);return!!e&&e.enumerable}:t,mt}function _t(){return F?R:(F=1,R=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function wt(){if(z)return L;z=1;var t=O(),r=w(),e=E(),n=Object,i=t("".split);return L=r(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===e(t)?i(t,""):n(t)}:n}function St(){return q?U:(q=1,U=function(t){return null==t})}function Tt(){if(Y)return W;Y=1;var t=St(),r=TypeError;return W=function(e){if(t(e))throw new r("Can't call method on "+e);return e}}function Ot(){if(B)return X;B=1;var t=wt(),r=Tt();return X=function(e){return t(r(e))}}function Et(){if(G)return V;G=1;var t=I();return V=function(r){return"object"==typeof r?null!==r:t(r)}}function At(){return J?H:(J=1,H={})}function It(){if(Q)return K;Q=1;var t=At(),r=_(),e=I(),n=function(t){return e(t)?t:void 0};return K=function(e,i){return arguments.length<2?n(t[e])||n(r[e]):t[e]&&t[e][i]||r[e]&&r[e][i]},K}function Pt(){return $?Z:($=1,Z=O()({}.isPrototypeOf))}function jt(){if(rt)return tt;rt=1;var t=_().navigator,r=t&&t.userAgent;return tt=r?String(r):""}function xt(){if(nt)return et;nt=1;var t,r,e=_(),n=jt(),i=e.process,o=e.Deno,u=i&&i.versions||o&&o.version,a=u&&u.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(r=+t[1]),et=r}function Dt(){if(ot)return it;ot=1;var t=xt(),r=w(),e=_().String;return it=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!e(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),it}function kt(){return at?ut:(at=1,ut=Dt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ct)return st;ct=1;var t=It(),r=I(),e=Pt(),n=Object;return st=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&e(o.prototype,n(i))}}function Mt(){if(lt)return ft;lt=1;var t=String;return ft=function(r){try{return t(r)}catch(t){return"Object"}}}function Nt(){if(pt)return ht;pt=1;var t=I(),r=Mt(),e=TypeError;return ht=function(n){if(t(n))return n;throw new e(r(n)+" is not a function")}}function Rt(){if(dt)return vt;dt=1;var t=Nt(),r=St();return vt=function(e,n){var i=e[n];return r(i)?void 0:t(i)}}function Ft(){if(gt)return yt;gt=1;var t=M(),r=I(),e=Et(),n=TypeError;return yt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!e(a=t(u,i)))return a;if(r(u=i.valueOf)&&!e(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!e(a=t(u,i)))return a;throw new n("Can't convert object to primitive value")}}var Lt,zt,Ut,qt,Wt,Yt,Xt,Bt,Vt,Gt,Ht,Jt,Kt,Qt,Zt,$t,tr,rr,er,nr,ir,or,ur,ar,sr,cr,fr,lr,hr={exports:{}};function pr(){return zt?Lt:(zt=1,Lt=!0)}function vr(){if(qt)return Ut;qt=1;var t=_(),r=Object.defineProperty;return Ut=function(e,n){try{r(t,e,{value:n,configurable:!0,writable:!0})}catch(r){t[e]=n}return n}}function dr(){if(Wt)return hr.exports;Wt=1;var t=pr(),r=_(),e=vr(),n="__core-js_shared__",i=hr.exports=r[n]||e(n,{});return(i.versions||(i.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),hr.exports}function yr(){if(Xt)return Yt;Xt=1;var t=dr();return Yt=function(r,e){return t[r]||(t[r]=e||{})}}function gr(){if(Vt)return Bt;Vt=1;var t=Tt(),r=Object;return Bt=function(e){return r(t(e))}}function mr(){if(Ht)return Gt;Ht=1;var t=O(),r=gr(),e=t({}.hasOwnProperty);return Gt=Object.hasOwn||function(t,n){return e(r(t),n)}}function br(){if(Kt)return Jt;Kt=1;var t=O(),r=0,e=Math.random(),n=t(1.1.toString);return Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++r+e,36)}}function _r(){if(Zt)return Qt;Zt=1;var t=_(),r=yr(),e=mr(),n=br(),i=Dt(),o=kt(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||n;return Qt=function(t){return e(a,t)||(a[t]=i&&e(u,t)?u[t]:s("Symbol."+t)),a[t]}}function wr(){if(tr)return $t;tr=1;var t=M(),r=Et(),e=Ct(),n=Rt(),i=Ft(),o=TypeError,u=_r()("toPrimitive");return $t=function(a,s){if(!r(a)||e(a))return a;var c,f=n(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||e(c))return c;throw new o("Can't convert object to primitive value")}return void 0===s&&(s="number"),i(a,s)}}function Sr(){if(er)return rr;er=1;var t=wr(),r=Ct();return rr=function(e){var n=t(e,"string");return r(n)?n:n+""}}function Tr(){if(ir)return nr;ir=1;var t=_(),r=Et(),e=t.document,n=r(e)&&r(e.createElement);return nr=function(t){return n?e.createElement(t):{}}}function Or(){if(ur)return or;ur=1;var t=C(),r=w(),e=Tr();return or=!t&&!r(function(){return 7!==Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return k;ar=1;var t=C(),r=M(),e=bt(),n=_t(),i=Ot(),o=Sr(),u=mr(),a=Or(),s=Object.getOwnPropertyDescriptor;return k.f=t?s:function(t,c){if(t=i(t),c=o(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!r(e.f,t,c),t[c])},k}function Ar(){if(cr)return sr;cr=1;var t=w(),r=I(),e=/#|\.prototype\./,n=function(e,n){var s=o[i(e)];return s===a||s!==u&&(r(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(e,".").toLowerCase()},o=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return sr=n}function Ir(){if(lr)return fr;lr=1;var t=A(),r=Nt(),e=S(),n=t(t.bind);return fr=function(t,i){return r(t),void 0===i?t:e?n(t,i):function(){return t.apply(i,arguments)}},fr}var Pr,jr,xr,Dr,kr,Cr,Mr,Nr,Rr,Fr,Lr,zr,Ur,qr,Wr,Yr,Xr,Br,Vr,Gr={};function Hr(){return jr?Pr:(jr=1,Pr=C()&&w()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Jr(){if(Dr)return xr;Dr=1;var t=Et(),r=String,e=TypeError;return xr=function(n){if(t(n))return n;throw new e(r(n)+" is not an object")}}function Kr(){if(kr)return Gr;kr=1;var t=C(),r=Or(),e=Hr(),n=Jr(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Gr.f=t?e?function(t,r,e){if(n(t),r=i(r),n(e),"function"==typeof t&&"prototype"===r&&"value"in e&&f in e&&!e[f]){var o=a(t,r);o&&o[f]&&(t[r]=e.value,e={configurable:c in e?e[c]:o[c],enumerable:s in e?e[s]:o[s],writable:!1})}return u(t,r,e)}:u:function(t,e,a){if(n(t),e=i(e),n(a),r)try{return u(t,e,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[e]=a.value),t},Gr}function Qr(){if(Mr)return Cr;Mr=1;var t=C(),r=Kr(),e=_t();return Cr=t?function(t,n,i){return r.f(t,n,e(1,i))}:function(t,r,e){return t[r]=e,t}}function Zr(){if(Rr)return Nr;Rr=1;var t=_(),r=T(),e=A(),n=I(),i=Er().f,o=Ar(),u=At(),a=Ir(),s=Qr(),c=mr(),f=function(t){var e=function(n,i,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,i)}return new t(n,i,o)}return r(t,this,arguments)};return e.prototype=t.prototype,e};return Nr=function(r,l){var h,p,v,d,y,g,m,b,_,w=r.target,S=r.global,T=r.stat,O=r.proto,E=S?t:T?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],I=A.prototype;for(d in l)p=!(h=o(S?d:w+(T?".":"#")+d,r.forced))&&E&&c(E,d),g=A[d],p&&(m=r.dontCallGetSet?(_=i(E,d))&&_.value:E[d]),y=p&&m?m:l[d],(h||O||typeof g!=typeof y)&&(b=r.bind&&p?a(y,t):r.wrap&&p?f(y):O&&n(y)?e(y):y,(r.sham||y&&y.sham||g&&g.sham)&&s(b,"sham",!0),s(A,d,b),O&&(c(u,v=w+"Prototype")||s(u,v,{}),s(u[v],d,y),r.real&&I&&(h||!I[d])&&s(I,d,y)))}}function $r(){if(Fr)return b;Fr=1;var t=Zr(),r=C(),e=Kr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!r},{defineProperty:e}),b}function te(){if(Lr)return m.exports;Lr=1,$r();var t=At().Object,r=m.exports=function(r,e,n){return t.defineProperty(r,e,n)};return t.defineProperty.sham&&(r.sham=!0),m.exports}function re(){return Ur?zr:(Ur=1,zr=te())}function ee(){return Wr?qr:(Wr=1,qr=re())}function ne(){return Xr?Yr:(Xr=1,Yr=ee())}function ie(){return Vr?Br:(Vr=1,Br=ne())}var oe,ue,ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Te,Oe,Ee,Ae,Ie,Pe,je,xe,De,ke,Ce,Me=r(ie()),Ne={};function Re(){if(ue)return oe;ue=1;var t=E();return oe=Array.isArray||function(r){return"Array"===t(r)}}function Fe(){if(se)return ae;se=1;var t=Math.ceil,r=Math.floor;return ae=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}}function Le(){if(fe)return ce;fe=1;var t=Fe();return ce=function(r){var e=+r;return e!=e||0===e?0:t(e)}}function ze(){if(he)return le;he=1;var t=Le(),r=Math.min;return le=function(e){var n=t(e);return n>0?r(n,9007199254740991):0}}function Ue(){if(ve)return pe;ve=1;var t=ze();return pe=function(r){return t(r.length)}}function qe(){if(ye)return de;ye=1;var t=TypeError;return de=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function We(){if(me)return ge;me=1;var t=C(),r=Kr(),e=_t();return ge=function(n,i,o){t?r.f(n,i,e(0,o)):n[i]=o}}function Ye(){if(_e)return be;_e=1;var t={};return t[_r()("toStringTag")]="z",be="[object z]"===String(t)}function Xe(){if(Se)return we;Se=1;var t=Ye(),r=I(),e=E(),n=_r()("toStringTag"),i=Object,o="Arguments"===e(function(){return arguments}());return we=t?e:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(u=i(t),n))?a:o?e(u):"Object"===(s=e(u))&&r(u.callee)?"Arguments":s}}function Be(){if(Oe)return Te;Oe=1;var t=O(),r=I(),e=dr(),n=t(Function.toString);return r(e.inspectSource)||(e.inspectSource=function(t){return n(t)}),Te=e.inspectSource}function Ve(){if(Ae)return Ee;Ae=1;var t=O(),r=w(),e=I(),n=Xe(),i=It(),o=Be(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!e(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!e(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,Ee=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function Ge(){if(Pe)return Ie;Pe=1;var t=Re(),r=Ve(),e=Et(),n=_r()("species"),i=Array;return Ie=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||e(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?i:u}}function He(){if(xe)return je;xe=1;var t=Ge();return je=function(r,e){return new(t(r))(0===e?0:e)}}function Je(){if(ke)return De;ke=1;var t=w(),r=_r(),e=xt(),n=r("species");return De=function(r){return e>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function Ke(){if(Ce)return Ne;Ce=1;var t=Zr(),r=w(),e=Re(),n=Et(),i=gr(),o=Ue(),u=qe(),a=We(),s=He(),c=Je(),f=_r(),l=xt(),h=f("isConcatSpreadable"),p=l>=51||!r(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),v=function(t){if(!n(t))return!1;var r=t[h];return void 0!==r?!!r:e(t)};return t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var r,e,n,c,f,l=i(this),h=s(l,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(v(f=-1===r?l:arguments[r]))for(c=o(f),u(p+c),e=0;e<c;e++,p++)e in f&&a(h,p,f[e]);else u(p+1),a(h,p++,f);return h.length=p,h}}),Ne}var Qe,Ze,$e={},tn={};function rn(){if(Ze)return Qe;Ze=1;var t=Xe(),r=String;return Qe=function(e){if("Symbol"===t(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}}var en,nn,on,un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn={};function Tn(){if(nn)return en;nn=1;var t=Le(),r=Math.max,e=Math.min;return en=function(n,i){var o=t(n);return o<0?r(o+i,0):e(o,i)}}function On(){if(un)return on;un=1;var t=Ot(),r=Tn(),e=Ue(),n=function(n){return function(i,o,u){var a=t(i),s=e(a);if(0===s)return!n&&-1;var c,f=r(u,s);if(n&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((n||f in a)&&a[f]===o)return n||f||0;return!n&&-1}};return on={includes:n(!0),indexOf:n(!1)}}function En(){return sn?an:(sn=1,an={})}function An(){if(fn)return cn;fn=1;var t=O(),r=mr(),e=Ot(),n=On().indexOf,i=En(),o=t([].push);return cn=function(t,u){var a,s=e(t),c=0,f=[];for(a in s)!r(i,a)&&r(s,a)&&o(f,a);for(;u.length>c;)r(s,a=u[c++])&&(~n(f,a)||o(f,a));return f}}function In(){return hn?ln:(hn=1,ln=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Pn(){if(vn)return pn;vn=1;var t=An(),r=In();return pn=Object.keys||function(e){return t(e,r)}}function jn(){if(dn)return Sn;dn=1;var t=C(),r=Hr(),e=Kr(),n=Jr(),i=Ot(),o=Pn();return Sn.f=t&&!r?Object.defineProperties:function(t,r){n(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)e.f(t,u=s[f++],a[u]);return t},Sn}function xn(){return gn?yn:(gn=1,yn=It()("document","documentElement"))}function Dn(){if(bn)return mn;bn=1;var t=yr(),r=br(),e=t("keys");return mn=function(t){return e[t]||(e[t]=r(t))}}function kn(){if(wn)return _n;wn=1;var t,r=Jr(),e=jn(),n=In(),i=En(),o=xn(),u=Tr(),a="prototype",s="script",c=Dn()("IE_PROTO"),f=function(){},l=function(t){return"<"+s+">"+t+"</"+s+">"},h=function(t){t.write(l("")),t.close();var r=t.parentWindow.Object;return t=null,r},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,e,i;p="undefined"!=typeof document?document.domain&&t?h(t):(e=u("iframe"),i="java"+s+":",e.style.display="none",o.appendChild(e),e.src=String(i),(r=e.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=n.length;c--;)delete p[a][n[c]];return p()};return i[c]=!0,_n=Object.create||function(t,n){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===n?i:e.f(i,n)}}var Cn,Mn={};function Nn(){if(Cn)return Mn;Cn=1;var t=An(),r=In().concat("length","prototype");return Mn.f=Object.getOwnPropertyNames||function(e){return t(e,r)},Mn}var Rn,Fn,Ln,zn={};function Un(){return Fn?Rn:(Fn=1,Rn=O()([].slice))}function qn(){if(Ln)return zn;Ln=1;var t=E(),r=Ot(),e=Nn().f,n=Un(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return zn.f=function(o){return i&&"Window"===t(o)?function(t){try{return e(t)}catch(t){return n(i)}}(o):e(r(o))},zn}var Wn,Yn,Xn,Bn,Vn,Gn={};function Hn(){return Wn||(Wn=1,Gn.f=Object.getOwnPropertySymbols),Gn}function Jn(){if(Xn)return Yn;Xn=1;var t=Qr();return Yn=function(r,e,n,i){return i&&i.enumerable?r[e]=n:t(r,e,n),r}}function Kn(){if(Vn)return Bn;Vn=1;var t=Kr();return Bn=function(r,e,n){return t.f(r,e,n)}}var Qn,Zn,$n,ti,ri,ei,ni,ii,oi,ui,ai,si,ci,fi,li,hi,pi={};function vi(){if(Qn)return pi;Qn=1;var t=_r();return pi.f=t,pi}function di(){if($n)return Zn;$n=1;var t=At(),r=mr(),e=vi(),n=Kr().f;return Zn=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||n(o,i,{value:e.f(i)})}}function yi(){if(ri)return ti;ri=1;var t=M(),r=It(),e=_r(),n=Jn();return ti=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=e("toPrimitive");o&&!o[a]&&n(o,a,function(r){return t(u,this)},{arity:1})}}function gi(){if(ni)return ei;ni=1;var t=Ye(),r=Xe();return ei=t?{}.toString:function(){return"[object "+r(this)+"]"}}function mi(){if(oi)return ii;oi=1;var t=Ye(),r=Kr().f,e=Qr(),n=mr(),i=gi(),o=_r()("toStringTag");return ii=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(n(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&e(f,"toString",i))}}function bi(){if(ai)return ui;ai=1;var t=_(),r=I(),e=t.WeakMap;return ui=r(e)&&/native code/.test(String(e))}function _i(){if(ci)return si;ci=1;var t,r,e,n=bi(),i=_(),o=Et(),u=Qr(),a=mr(),s=dr(),c=Dn(),f=En(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(n||s.state){var v=s.state||(s.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,r){if(v.has(t))throw new h(l);return r.facade=t,v.set(t,r),r},r=function(t){return v.get(t)||{}},e=function(t){return v.has(t)}}else{var d=c("state");f[d]=!0,t=function(t,r){if(a(t,d))throw new h(l);return r.facade=t,u(t,d,r),r},r=function(t){return a(t,d)?t[d]:{}},e=function(t){return a(t,d)}}return si={set:t,get:r,has:e,enforce:function(n){return e(n)?r(n):t(n,{})},getterFor:function(t){return function(e){var n;if(!o(e)||(n=r(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function wi(){if(li)return fi;li=1;var t=Ir(),r=O(),e=wt(),n=gr(),i=Ue(),o=He(),u=r([].push),a=function(r){var a=1===r,s=2===r,c=3===r,f=4===r,l=6===r,h=7===r,p=5===r||l;return function(v,d,y,g){for(var m,b,_=n(v),w=e(_),S=i(w),T=t(d,y),O=0,E=g||o,A=a?E(v,S):s||h?E(v,0):void 0;S>O;O++)if((p||O in w)&&(b=T(m=w[O],O,_),r))if(a)A[O]=b;else if(b)switch(r){case 3:return!0;case 5:return m;case 6:return O;case 2:u(A,m)}else switch(r){case 4:return!1;case 7:u(A,m)}return l?-1:c||f?f:A}};return fi={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var Si,Ti,Oi,Ei={};function Ai(){return Ti?Si:(Ti=1,Si=Dt()&&!!Symbol.for&&!!Symbol.keyFor)}var Ii,Pi={};var ji,xi,Di,ki={};function Ci(){if(xi)return ji;xi=1;var t=O(),r=Re(),e=I(),n=E(),i=rn(),o=t([].push);return ji=function(t){if(e(t))return t;if(r(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?o(a,c):"number"!=typeof c&&"Number"!==n(c)&&"String"!==n(c)||o(a,i(c))}var f=a.length,l=!0;return function(t,e){if(l)return l=!1,e;if(r(this))return e;for(var n=0;n<f;n++)if(a[n]===t)return e}}},ji}function Mi(){if(Di)return ki;Di=1;var t=Zr(),r=It(),e=T(),n=M(),i=O(),o=w(),u=I(),a=Ct(),s=Un(),c=Ci(),f=Dt(),l=String,h=r("JSON","stringify"),p=i(/./.exec),v=i("".charAt),d=i("".charCodeAt),y=i("".replace),g=i(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,S=!f||o(function(){var t=r("Symbol")("stringify detection");return"[null]"!==h([t])||"{}"!==h({a:t})||"{}"!==h(Object(t))}),E=o(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")}),A=function(t,r){var i=s(arguments),o=c(r);if(u(o)||void 0!==t&&!a(t))return i[1]=function(t,r){if(u(o)&&(r=n(o,this,l(t),r)),!a(r))return r},e(h,null,i)},P=function(t,r,e){var n=v(e,r-1),i=v(e,r+1);return p(b,t)&&!p(_,i)||p(_,t)&&!p(b,n)?"\\u"+g(d(t,0),16):t};return h&&t({target:"JSON",stat:!0,arity:3,forced:S||E},{stringify:function(t,r,n){var i=s(arguments),o=e(S?A:h,null,i);return E&&"string"==typeof o?y(o,m,P):o}}),ki}var Ni,Ri,Fi={};function Li(){return Ri||(Ri=1,function(){if(hi)return tn;hi=1;var t=Zr(),r=_(),e=M(),n=O(),i=pr(),o=C(),u=Dt(),a=w(),s=mr(),c=Pt(),f=Jr(),l=Ot(),h=Sr(),p=rn(),v=_t(),d=kn(),y=Pn(),g=Nn(),m=qn(),b=Hn(),S=Er(),T=Kr(),E=jn(),A=bt(),I=Jn(),P=Kn(),j=yr(),x=Dn(),D=En(),k=br(),N=_r(),R=vi(),F=di(),L=yi(),z=mi(),U=_i(),q=wi().forEach,W=x("hidden"),Y="Symbol",X="prototype",B=U.set,V=U.getterFor(Y),G=Object[X],H=r.Symbol,J=H&&H[X],K=r.RangeError,Q=r.TypeError,Z=r.QObject,$=S.f,tt=T.f,rt=m.f,et=A.f,nt=n([].push),it=j("symbols"),ot=j("op-symbols"),ut=j("wks"),at=!Z||!Z[X]||!Z[X].findChild,st=function(t,r,e){var n=$(G,r);n&&delete G[r],tt(t,r,e),n&&t!==G&&tt(G,r,n)},ct=o&&a(function(){return 7!==d(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a})?st:tt,ft=function(t,r){var e=it[t]=d(J);return B(e,{type:Y,tag:t,description:r}),o||(e.description=r),e},lt=function(t,r,e){t===G&<(ot,r,e),f(t);var n=h(r);return f(e),s(it,n)?(e.enumerable?(s(t,W)&&t[W][n]&&(t[W][n]=!1),e=d(e,{enumerable:v(0,!1)})):(s(t,W)||tt(t,W,v(1,d(null))),t[W][n]=!0),ct(t,n,e)):tt(t,n,e)},ht=function(t,r){f(t);var n=l(r),i=y(n).concat(yt(n));return q(i,function(r){o&&!e(pt,n,r)||lt(t,r,n[r])}),t},pt=function(t){var r=h(t),n=e(et,this,r);return!(this===G&&s(it,r)&&!s(ot,r))&&(!(n||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||n)},vt=function(t,r){var e=l(t),n=h(r);if(e!==G||!s(it,n)||s(ot,n)){var i=$(e,n);return!i||!s(it,n)||s(e,W)&&e[W][n]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),e=[];return q(r,function(t){s(it,t)||s(D,t)||nt(e,t)}),e},yt=function(t){var r=t===G,e=rt(r?ot:l(t)),n=[];return q(e,function(t){!s(it,t)||r&&!s(G,t)||nt(n,it[t])}),n};u||(H=function(){if(c(J,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,n=k(t),i=function(t){var o=void 0===this?r:this;o===G&&e(i,ot,t),s(o,W)&&s(o[W],n)&&(o[W][n]=!1);var u=v(1,t);try{ct(o,n,u)}catch(t){if(!(t instanceof K))throw t;st(o,n,u)}};return o&&at&&ct(G,n,{configurable:!0,set:i}),ft(n,t)},I(J=H[X],"toString",function(){return V(this).tag}),I(H,"withoutSetter",function(t){return ft(k(t),t)}),A.f=pt,T.f=lt,E.f=ht,S.f=vt,g.f=m.f=dt,b.f=yt,R.f=function(t){return ft(N(t),t)},o&&(P(J,"description",{configurable:!0,get:function(){return V(this).description}}),i||I(G,"propertyIsEnumerable",pt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),q(y(ut),function(t){F(t)}),t({target:Y,stat:!0,forced:!u},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!o},{create:function(t,r){return void 0===r?d(t):ht(d(t),r)},defineProperty:lt,defineProperties:ht,getOwnPropertyDescriptor:vt}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:dt}),L(),z(H,Y),D[W]=!0}(),function(){if(Oi)return Ei;Oi=1;var t=Zr(),r=It(),e=mr(),n=rn(),i=yr(),o=Ai(),u=i("string-to-symbol-registry"),a=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{for:function(t){var i=n(t);if(e(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(Ii)return Pi;Ii=1;var t=Zr(),r=mr(),e=Ct(),n=Mt(),i=yr(),o=Ai(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!e(t))throw new TypeError(n(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Mi(),function(){if(Ni)return Fi;Ni=1;var t=Zr(),r=Dt(),e=w(),n=Hn(),i=gr();t({target:"Object",stat:!0,forced:!r||e(function(){n.f(1)})},{getOwnPropertySymbols:function(t){var r=n.f;return r?r(i(t)):[]}})}()),$e}var zi,Ui={};function qi(){return zi||(zi=1,di()("asyncDispose")),Ui}var Wi;var Yi,Xi={};function Bi(){return Yi||(Yi=1,di()("dispose")),Xi}var Vi;var Gi;var Hi,Ji={};function Ki(){return Hi||(Hi=1,di()("iterator")),Ji}var Qi;var Zi;var $i;var to;var ro;var eo;var no,io={};function oo(){if(no)return io;no=1;var t=di(),r=yi();return t("toPrimitive"),r(),io}var uo,ao={};var so;var co,fo,lo,ho={};function po(){return lo?fo:(lo=1,Ke(),Li(),qi(),Wi||(Wi=1,di()("asyncIterator")),Bi(),Vi||(Vi=1,di()("hasInstance")),Gi||(Gi=1,di()("isConcatSpreadable")),Ki(),Qi||(Qi=1,di()("match")),Zi||(Zi=1,di()("matchAll")),$i||($i=1,di()("replace")),to||(to=1,di()("search")),ro||(ro=1,di()("species")),eo||(eo=1,di()("split")),oo(),function(){if(uo)return ao;uo=1;var t=It(),r=di(),e=mi();r("toStringTag"),e(t("Symbol"),"Symbol")}(),so||(so=1,di()("unscopables")),function(){if(co)return ho;co=1;var t=_();mi()(t.JSON,"JSON",!0)}(),fo=At().Symbol)}var vo,yo,go,mo,bo,_o,wo,So,To,Oo,Eo,Ao,Io,Po,jo,xo,Do,ko,Co,Mo,No,Ro,Fo,Lo,zo,Uo,qo,Wo,Yo,Xo,Bo,Vo,Go,Ho={};function Jo(){return yo?vo:(yo=1,vo=function(){})}function Ko(){return mo?go:(mo=1,go={})}function Qo(){if(_o)return bo;_o=1;var t=C(),r=mr(),e=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=r(e,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&n(e,"name").configurable);return bo={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Zo(){return So?wo:(So=1,wo=!w()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function $o(){if(Oo)return To;Oo=1;var t=mr(),r=I(),e=gr(),n=Dn(),i=Zo(),o=n("IE_PROTO"),u=Object,a=u.prototype;return To=i?u.getPrototypeOf:function(n){var i=e(n);if(t(i,o))return i[o];var s=i.constructor;return r(s)&&i instanceof s?s.prototype:i instanceof u?a:null}}function tu(){if(Ao)return Eo;Ao=1;var t,r,e,n=w(),i=I(),o=Et(),u=kn(),a=$o(),s=Jn(),c=_r(),f=pr(),l=c("iterator"),h=!1;return[].keys&&("next"in(e=[].keys())?(r=a(a(e)))!==Object.prototype&&(t=r):h=!0),!o(t)||n(function(){var r={};return t[l].call(r)!==r})?t={}:f&&(t=u(t)),i(t[l])||s(t,l,function(){return this}),Eo={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function ru(){if(Po)return Io;Po=1;var t=tu().IteratorPrototype,r=kn(),e=_t(),n=mi(),i=Ko(),o=function(){return this};return Io=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:e(+!c,s)}),n(u,f,!1,!0),i[f]=o,u}}function eu(){if(xo)return jo;xo=1;var t=O(),r=Nt();return jo=function(e,n,i){try{return t(r(Object.getOwnPropertyDescriptor(e,n)[i]))}catch(t){}}}function nu(){if(ko)return Do;ko=1;var t=Et();return Do=function(r){return t(r)||null===r}}function iu(){if(Mo)return Co;Mo=1;var t=nu(),r=String,e=TypeError;return Co=function(n){if(t(n))return n;throw new e("Can't set "+r(n)+" as a prototype")}}function ou(){if(Ro)return No;Ro=1;var t=eu(),r=Et(),e=Tt(),n=iu();return No=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=t(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(t){}return function(t,u){return e(t),n(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function uu(){if(Lo)return Fo;Lo=1;var t=Zr(),r=M(),e=pr(),n=Qo(),i=I(),o=ru(),u=$o(),a=ou(),s=mi(),c=Qr(),f=Jn(),l=_r(),h=Ko(),p=tu(),v=n.PROPER,d=n.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Fo=function(n,l,p,T,O,E,A){o(p,l,T);var I,P,j,x=function(t){if(t===O&&N)return N;if(!g&&t&&t in C)return C[t];switch(t){case b:case _:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},D=l+" Iterator",k=!1,C=n.prototype,M=C[m]||C["@@iterator"]||O&&C[O],N=!g&&M||x(O),R="Array"===l&&C.entries||M;if(R&&(I=u(R.call(new n)))!==Object.prototype&&I.next&&(e||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,D,!0,!0),e&&(h[D]=S)),v&&O===_&&M&&M.name!==_&&(!e&&d?c(C,"name",_):(k=!0,N=function(){return r(M,this)})),O)if(P={values:x(_),keys:E?N:x(b),entries:x(w)},A)for(j in P)(g||k||!(j in C))&&f(C,j,P[j]);else t({target:l,proto:!0,forced:g||k},P);return e&&!A||C[m]===N||f(C,m,N,{name:O}),h[l]=N,P}}function au(){return Uo?zo:(Uo=1,zo=function(t,r){return{value:t,done:r}})}function su(){if(Wo)return qo;Wo=1;var t=Ot(),r=Jo(),e=Ko(),n=_i(),i=Kr().f,o=uu(),u=au(),a=pr(),s=C(),c="Array Iterator",f=n.set,l=n.getterFor(c);qo=o(Array,"Array",function(r,e){f(this,{type:c,target:t(r),index:0,kind:e})},function(){var t=l(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(e,!1);case"values":return u(r[e],!1)}return u([e,r[e]],!1)},"values");var h=e.Arguments=e.Array;if(r("keys"),r("values"),r("entries"),!a&&s&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return qo}function cu(){return Xo?Yo:(Xo=1,Yo={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})}function fu(){if(Bo)return Ho;Bo=1,su();var t=cu(),r=_(),e=mi(),n=Ko();for(var i in t)e(r[i],i),n[i]=n.Array;return Ho}function lu(){if(Go)return Vo;Go=1;var t=po();return fu(),Vo=t}var hu,pu={};var vu;var du;var yu,gu,mu;function bu(){if(mu)return gu;mu=1;var t=lu();return function(){if(hu)return pu;hu=1;var t=_r(),r=Kr().f,e=t("metadata"),n=Function.prototype;void 0===n[e]&&r(n,e,{value:null})}(),vu||(vu=1,qi()),du||(du=1,Bi()),yu||(yu=1,di()("metadata")),gu=t}var _u,wu,Su;function Tu(){if(wu)return _u;wu=1;var t=It(),r=O(),e=t("Symbol"),n=e.keyFor,i=r(e.prototype.valueOf);return _u=e.isRegisteredSymbol||function(t){try{return void 0!==n(i(t))}catch(t){return!1}}}var Ou,Eu,Au;function Iu(){if(Eu)return Ou;Eu=1;for(var t=yr(),r=It(),e=O(),n=Ct(),i=_r(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=e(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];n(o[p])&&i(p)}catch(t){}return Ou=function(t){if(u&&u(t))return!0;try{for(var r=s(t),e=0,n=a(c),i=n.length;e<i;e++)if(c[n[e]]==r)return!0}catch(t){}return!1},Ou}var Pu;var ju;var xu;var Du;var ku;var Cu;var Mu;var Nu,Ru,Fu,Lu,zu;function Uu(){if(Fu)return Ru;Fu=1;var t=bu();return Su||(Su=1,Zr()({target:"Symbol",stat:!0},{isRegisteredSymbol:Tu()})),Au||(Au=1,Zr()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Iu()})),Pu||(Pu=1,di()("customMatcher")),ju||(ju=1,di()("observable")),xu||(xu=1,Zr()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Tu()})),Du||(Du=1,Zr()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Iu()})),ku||(ku=1,di()("matcher")),Cu||(Cu=1,di()("metadataKey")),Mu||(Mu=1,di()("patternMatch")),Nu||(Nu=1,di()("replaceAll")),Ru=t}function qu(){return zu?Lu:(zu=1,Lu=Uu())}var Wu,Yu,Xu,Bu,Vu,Gu,Hu,Ju,Ku,Qu,Zu,$u,ta,ra=r(qu()),ea={};function na(){if(Yu)return Wu;Yu=1;var t=O(),r=Le(),e=rn(),n=Tt(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=e(n(a)),h=r(s),p=l.length;return h<0||h>=p?t?"":void 0:(c=o(l,h))<55296||c>56319||h+1===p||(f=o(l,h+1))<56320||f>57343?t?i(l,h):c:t?u(l,h,h+2):f-56320+(c-55296<<10)+65536}};return Wu={codeAt:a(!1),charAt:a(!0)}}function ia(){if(Xu)return ea;Xu=1;var t=na().charAt,r=rn(),e=_i(),n=uu(),i=au(),o="String Iterator",u=e.set,a=e.getterFor(o);return n(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,e=a(this),n=e.string,o=e.index;return o>=n.length?i(void 0,!0):(r=t(n,o),e.index+=r.length,i(r,!1))}),ea}function oa(){return Vu?Bu:(Vu=1,su(),ia(),Ki(),Bu=vi().f("iterator"))}function ua(){if(Hu)return Gu;Hu=1;var t=oa();return fu(),Gu=t}function aa(){return Ku?Ju:(Ku=1,Ju=ua())}function sa(){return Zu?Qu:(Zu=1,Qu=aa())}function ca(){return ta?$u:(ta=1,$u=sa())}var fa,la,ha,pa,va,da,ya,ga,ma,ba,_a=r(ca());function wa(t){return wa="function"==typeof ra&&"symbol"==typeof _a?function(t){return typeof t}:function(t){return t&&"function"==typeof ra&&t.constructor===ra&&t!==ra.prototype?"symbol":typeof t},wa(t)}function Sa(){return la?fa:(la=1,oo(),fa=vi().f("toPrimitive"))}function Ta(){return pa?ha:(pa=1,ha=Sa())}function Oa(){return da?va:(da=1,va=Ta())}function Ea(){return ga?ya:(ga=1,ya=Oa())}function Aa(){return ba?ma:(ba=1,ma=Ea())}var Ia=r(Aa());function Pa(t){var r=function(t,r){if("object"!=wa(t)||!t)return t;var e=t[Ia];if(void 0!==e){var n=e.call(t,r);if("object"!=wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==wa(r)?r:r+""}function ja(t,r,e){return(r=Pa(r))in t?Me(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var xa,Da,ka,Ca,Ma,Na,Ra,Fa,La,za,Ua,qa,Wa,Ya={};function Xa(){if(Da)return xa;Da=1;var t=O(),r=Nt(),e=Et(),n=mr(),i=Un(),o=S(),u=Function,a=t([].concat),s=t([].join),c={};return xa=o?u.bind:function(t){var o=r(this),f=o.prototype,l=i(arguments,1),h=function(){var r=a(l,i(arguments));return this instanceof h?function(t,r,e){if(!n(c,r)){for(var i=[],o=0;o<r;o++)i[o]="a["+o+"]";c[r]=u("C,a","return new C("+s(i,",")+")")}return c[r](t,e)}(o,r.length,r):o.apply(t,r)};return e(f)&&(h.prototype=f),h},xa}function Ba(){if(Ma)return Ca;Ma=1;var t=_(),r=At();return Ca=function(e,n){var i=r[e+"Prototype"],o=i&&i[n];if(o)return o;var u=t[e],a=u&&u.prototype;return a&&a[n]}}function Va(){return Ra?Na:(Ra=1,function(){if(ka)return Ya;ka=1;var t=Zr(),r=Xa();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),Na=Ba()("Function","bind"))}function Ga(){if(La)return Fa;La=1;var t=Pt(),r=Va(),e=Function.prototype;return Fa=function(n){var i=n.bind;return n===e||t(e,n)&&i===e.bind?r:i}}function Ha(){return Ua?za:(Ua=1,za=Ga())}var Ja,Ka,Qa,Za,$a,ts,rs,es,ns,is,os,us,as,ss,cs,fs,ls,hs=r(Wa?qa:(Wa=1,qa=Ha())),ps={};function vs(){if(Ka)return Ja;Ka=1;var t=Nt(),r=gr(),e=wt(),n=Ue(),i=TypeError,o="Reduce of empty array with no initial value",u=function(u){return function(a,s,c,f){var l=r(a),h=e(l),p=n(l);if(t(s),0===p&&c<2)throw new i(o);var v=u?p-1:0,d=u?-1:1;if(c<2)for(;;){if(v in h){f=h[v],v+=d;break}if(v+=d,u?v<0:p<=v)throw new i(o)}for(;u?v>=0:p>v;v+=d)v in h&&(f=s(f,h[v],v,l));return f}};return Ja={left:u(!1),right:u(!0)}}function ds(){if(Za)return Qa;Za=1;var t=w();return Qa=function(r,e){var n=[][r];return!!n&&t(function(){n.call(null,e||function(){return 1},1)})}}function ys(){if(ts)return $a;ts=1;var t=_(),r=jt(),e=E(),n=function(t){return r.slice(0,t.length)===t};return $a=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===e(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function gs(){return es?rs:(es=1,rs="NODE"===ys())}function ms(){return os?is:(os=1,function(){if(ns)return ps;ns=1;var t=Zr(),r=vs().left,e=ds(),n=xt();t({target:"Array",proto:!0,forced:!gs()&&n>79&&n<83||!e("reduce")},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})}(),is=Ba()("Array","reduce"))}function bs(){if(as)return us;as=1;var t=Pt(),r=ms(),e=Array.prototype;return us=function(n){var i=n.reduce;return n===e||t(e,n)&&i===e.reduce?r:i}}function _s(){return cs?ss:(cs=1,ss=bs())}var ws,Ss,Ts,Os,Es,As,Is,Ps,js,xs=r(ls?fs:(ls=1,fs=_s())),Ds={};function ks(){return Ts?Ss:(Ts=1,function(){if(ws)return Ds;ws=1;var t=Zr(),r=wi().filter;t({target:"Array",proto:!0,forced:!Je()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ss=Ba()("Array","filter"))}function Cs(){if(Es)return Os;Es=1;var t=Pt(),r=ks(),e=Array.prototype;return Os=function(n){var i=n.filter;return n===e||t(e,n)&&i===e.filter?r:i}}function Ms(){return Is?As:(Is=1,As=Cs())}var Ns,Rs,Fs,Ls,zs,Us,qs,Ws,Ys,Xs=r(js?Ps:(js=1,Ps=Ms())),Bs={};function Vs(){return Fs?Rs:(Fs=1,function(){if(Ns)return Bs;Ns=1;var t=Zr(),r=wi().map;t({target:"Array",proto:!0,forced:!Je()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Rs=Ba()("Array","map"))}function Gs(){if(zs)return Ls;zs=1;var t=Pt(),r=Vs(),e=Array.prototype;return Ls=function(n){var i=n.map;return n===e||t(e,n)&&i===e.map?r:i}}function Hs(){return qs?Us:(qs=1,Us=Gs())}var Js,Ks,Qs,Zs=r(Ys?Ws:(Ys=1,Ws=Hs())),$s={};function tc(){if(Ks)return Js;Ks=1;var t=Re(),r=Ue(),e=qe(),n=Ir(),i=function(o,u,a,s,c,f,l,h){for(var p,v,d=c,y=0,g=!!l&&n(l,h);y<s;)y in a&&(p=g?g(a[y],y,u):a[y],f>0&&t(p)?(v=r(p),d=i(o,u,p,v,d,f-1)-1):(e(d+1),o[d]=p),d++),y++;return d};return Js=i}var rc,ec,nc,ic,oc,uc,ac,sc,cc;function fc(){return nc?ec:(nc=1,function(){if(Qs)return $s;Qs=1;var t=Zr(),r=tc(),e=Nt(),n=gr(),i=Ue(),o=He();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=i(a);return e(t),(u=o(a,0)).length=r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),rc||(rc=1,Jo()("flatMap")),ec=Ba()("Array","flatMap"))}function lc(){if(oc)return ic;oc=1;var t=Pt(),r=fc(),e=Array.prototype;return ic=function(n){var i=n.flatMap;return n===e||t(e,n)&&i===e.flatMap?r:i}}function hc(){return ac?uc:(ac=1,uc=lc())}var pc,vc,dc=r(cc?sc:(cc=1,sc=hc()));function yc(t){return new mc(t)}class gc{constructor(t,r,e){var n,i,o;ja(this,"_listeners",{add:hs(n=this._add).call(n,this),remove:hs(i=this._remove).call(i,this),update:hs(o=this._update).call(o,this)}),this._source=t,this._transformers=r,this._target=e}all(){return this._target.update(this._transformItems(this._source.get())),this}start(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}stop(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}_transformItems(t){var r;return xs(r=this._transformers).call(r,(t,r)=>r(t),t)}_add(t,r){null!=r&&this._target.add(this._transformItems(this._source.get(r.items)))}_update(t,r){null!=r&&this._target.update(this._transformItems(this._source.get(r.items)))}_remove(t,r){null!=r&&this._target.remove(this._transformItems(r.oldData))}}class mc{constructor(t){ja(this,"_transformers",[]),this._source=t}filter(t){return this._transformers.push(r=>Xs(r).call(r,t)),this}map(t){return this._transformers.push(r=>Zs(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>dc(r).call(r,t)),this}to(t){return new gc(this._source,this._transformers,t)}}var bc,_c,wc,Sc,Tc,Oc,Ec,Ac,Ic,Pc=r(vc?pc:(vc=1,pc=lu())),jc={};function xc(){return wc?_c:(wc=1,function(){if(bc)return jc;bc=1;var t=Zr(),r=Re(),e=Ve(),n=Et(),i=Tn(),o=Ue(),u=Ot(),a=We(),s=_r(),c=Je(),f=Un(),l=c("slice"),h=s("species"),p=Array,v=Math.max;t({target:"Array",proto:!0,forced:!l},{slice:function(t,s){var c,l,d,y=u(this),g=o(y),m=i(t,g),b=i(void 0===s?g:s,g);if(r(y)&&(c=y.constructor,(e(c)&&(c===p||r(c.prototype))||n(c)&&null===(c=c[h]))&&(c=void 0),c===p||void 0===c))return f(y,m,b);for(l=new(void 0===c?p:c)(v(b-m,0)),d=0;m<b;m++,d++)m in y&&a(l,d,y[m]);return l.length=d,l}})}(),_c=Ba()("Array","slice"))}function Dc(){if(Tc)return Sc;Tc=1;var t=Pt(),r=xc(),e=Array.prototype;return Sc=function(n){var i=n.slice;return n===e||t(e,n)&&i===e.slice?r:i}}function kc(){return Ec?Oc:(Ec=1,Oc=Dc())}var Cc,Mc,Nc,Rc,Fc,Lc,zc,Uc,qc,Wc=r(Ic?Ac:(Ic=1,Ac=kc()));function Yc(){if(Mc)return Cc;Mc=1;var t=It(),r=O(),e=Nn(),n=Hn(),i=Jr(),o=r([].concat);return Cc=t("Reflect","ownKeys")||function(t){var r=e.f(i(t)),u=n.f;return u?o(r,u(t)):r},Cc}function Xc(){return Fc?Rc:(Fc=1,Nc||(Nc=1,Zr()({target:"Reflect",stat:!0},{ownKeys:Yc()})),Rc=At().Reflect.ownKeys)}function Bc(){return zc?Lc:(zc=1,Lc=Xc())}var Vc,Gc,Hc,Jc,Kc,Qc,Zc,$c=r(qc?Uc:(qc=1,Uc=Bc()));function tf(){return Hc?Gc:(Hc=1,Vc||(Vc=1,Zr()({target:"Array",stat:!0},{isArray:Re()})),Gc=At().Array.isArray)}function rf(){return Kc?Jc:(Kc=1,Jc=tf())}var ef,nf,of,uf,af,sf,cf,ff=r(Zc?Qc:(Zc=1,Qc=rf())),lf={};function hf(){return of?nf:(of=1,function(){if(ef)return lf;ef=1;var t=Zr(),r=gr(),e=Pn();t({target:"Object",stat:!0,forced:w()(function(){e(1)})},{keys:function(t){return e(r(t))}})}(),nf=At().Object.keys)}function pf(){return af?uf:(af=1,uf=hf())}var vf,df,yf,gf,mf,bf,_f,wf,Sf,Tf,Of,Ef=r(cf?sf:(cf=1,sf=pf())),Af={};function If(){if(df)return vf;df=1;var t=wi().forEach,r=ds()("forEach");return vf=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},vf}function Pf(){return mf?gf:(mf=1,function(){if(yf)return Af;yf=1;var t=Zr(),r=If();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),gf=Ba()("Array","forEach"))}function jf(){return _f?bf:(_f=1,bf=Pf())}function xf(){if(Sf)return wf;Sf=1;var t=Xe(),r=mr(),e=Pt(),n=jf(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return wf=function(u){var a=u.forEach;return u===i||e(i,u)&&a===i.forEach||r(o,t(u))?n:a}}var Df,kf,Cf,Mf,Nf,Rf,Ff,Lf,zf,Uf=r(Of?Tf:(Of=1,Tf=xf())),qf={};function Wf(){return Cf?kf:(Cf=1,function(){if(Df)return qf;Df=1;var t=Zr(),r=O(),e=Re(),n=r([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),n(this)}})}(),kf=Ba()("Array","reverse"))}function Yf(){if(Nf)return Mf;Nf=1;var t=Pt(),r=Wf(),e=Array.prototype;return Mf=function(n){var i=n.reverse;return n===e||t(e,n)&&i===e.reverse?r:i}}function Xf(){return Ff?Rf:(Ff=1,Rf=Yf())}var Bf,Vf,Gf,Hf,Jf,Kf,Qf,Zf,$f,tl,rl,el,nl,il=r(zf?Lf:(zf=1,Lf=Xf())),ol={};function ul(){if(Vf)return Bf;Vf=1;var t=C(),r=Re(),e=TypeError,n=Object.getOwnPropertyDescriptor,i=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Bf=i?function(t,i){if(r(t)&&!n(t,"length").writable)throw new e("Cannot set read only .length");return t.length=i}:function(t,r){return t.length=r}}function al(){if(Hf)return Gf;Hf=1;var t=Mt(),r=TypeError;return Gf=function(e,n){if(!delete e[n])throw new r("Cannot delete property "+t(n)+" of "+t(e))}}function sl(){return Qf?Kf:(Qf=1,function(){if(Jf)return ol;Jf=1;var t=Zr(),r=gr(),e=Tn(),n=Le(),i=Ue(),o=ul(),u=qe(),a=He(),s=We(),c=al(),f=Je()("splice"),l=Math.max,h=Math.min;t({target:"Array",proto:!0,forced:!f},{splice:function(t,f){var p,v,d,y,g,m,b=r(this),_=i(b),w=e(t,_),S=arguments.length;for(0===S?p=v=0:1===S?(p=0,v=_-w):(p=S-2,v=h(l(n(f),0),_-w)),u(_+p-v),d=a(b,v),y=0;y<v;y++)(g=w+y)in b&&s(d,y,b[g]);if(d.length=v,p<v){for(y=w;y<_-v;y++)m=y+p,(g=y+v)in b?b[m]=b[g]:c(b,m);for(y=_;y>_-v+p;y--)c(b,y-1)}else if(p>v)for(y=_-v;y>w;y--)m=y+p-1,(g=y+v-1)in b?b[m]=b[g]:c(b,m);for(y=0;y<p;y++)b[y+w]=arguments[y+2];return o(b,_-v+p),d}})}(),Kf=Ba()("Array","splice"))}function cl(){if($f)return Zf;$f=1;var t=Pt(),r=sl(),e=Array.prototype;return Zf=function(n){var i=n.splice;return n===e||t(e,n)&&i===e.splice?r:i}}function fl(){return rl?tl:(rl=1,tl=cl())}var ll,hl,pl,vl,dl,yl,gl,ml,bl,_l=r(nl?el:(nl=1,el=fl())),wl={};function Sl(){if(hl)return ll;hl=1;var t=C(),r=O(),e=M(),n=w(),i=Pn(),o=Hn(),u=bt(),a=gr(),s=wt(),c=Object.assign,f=Object.defineProperty,l=r([].concat);return ll=!c||n(function(){if(t&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},e={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[n]=7,o.split("").forEach(function(t){e[t]=t}),7!==c({},r)[n]||i(c({},e)).join("")!==o})?function(r,n){for(var c=a(r),f=arguments.length,h=1,p=o.f,v=u.f;f>h;)for(var d,y=s(arguments[h++]),g=p?l(i(y),p(y)):i(y),m=g.length,b=0;m>b;)d=g[b++],t&&!e(v,y,d)||(c[d]=y[d]);return c}:c,ll}function Tl(){return dl?vl:(dl=1,function(){if(pl)return wl;pl=1;var t=Zr(),r=Sl();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),vl=At().Object.assign)}function Ol(){return gl?yl:(gl=1,yl=Tl())}var El,Al,Il,Pl,jl,xl,Dl,kl,Cl=r(bl?ml:(bl=1,ml=Ol()));function Ml(){return Al?El:(Al=1,Ke(),El=Ba()("Array","concat"))}function Nl(){if(Pl)return Il;Pl=1;var t=Pt(),r=Ml(),e=Array.prototype;return Il=function(n){var i=n.concat;return n===e||t(e,n)&&i===e.concat?r:i}}function Rl(){return xl?jl:(xl=1,jl=Nl())}var Fl,Ll,zl,Ul,ql,Wl,Yl,Xl=r(kl?Dl:(kl=1,Dl=Rl()));function Bl(){if(zl)return Ll;zl=1,Fl||(Fl=1,Zr()({target:"Object",stat:!0,sham:!C()},{create:kn()}));var t=At().Object;return Ll=function(r,e){return t.create(r,e)}}function Vl(){return ql?Ul:(ql=1,Ul=Bl())}var Gl,Hl,Jl,Kl,Ql,Zl,$l,th,rh,eh,nh,ih,oh,uh=r(Yl?Wl:(Yl=1,Wl=Vl())),ah={};function sh(){if(Hl)return Gl;Hl=1;var t=Le(),r=rn(),e=Tt(),n=RangeError;return Gl=function(i){var o=r(e(this)),u="",a=t(i);if(a<0||a===1/0)throw new n("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(o+=o))1&a&&(u+=o);return u}}function ch(){if(Kl)return Jl;Kl=1;var t=O(),r=ze(),e=rn(),n=sh(),i=Tt(),o=t(n),u=t("".slice),a=Math.ceil,s=function(t){return function(n,s,c){var f,l,h=e(i(n)),p=r(s),v=h.length,d=void 0===c?" ":e(c);return p<=v||""===d?h:((l=o(d,a((f=p-v)/d.length))).length>f&&(l=u(l,0,f)),t?h+l:l+h)}};return Jl={start:s(!1),end:s(!0)}}function fh(){if(Zl)return Ql;Zl=1;var t=O(),r=w(),e=ch().start,n=RangeError,i=isFinite,o=Math.abs,u=Date.prototype,a=u.toISOString,s=t(u.getTime),c=t(u.getUTCDate),f=t(u.getUTCFullYear),l=t(u.getUTCHours),h=t(u.getUTCMilliseconds),p=t(u.getUTCMinutes),v=t(u.getUTCMonth),d=t(u.getUTCSeconds);return Ql=r(function(){return"0385-07-25T07:06:39.999Z"!==a.call(new Date(-50000000000001))})||!r(function(){a.call(new Date(NaN))})?function(){if(!i(s(this)))throw new n("Invalid time value");var t=this,r=f(t),u=h(t),a=r<0?"-":r>9999?"+":"";return a+e(o(r),a?6:4,0)+"-"+e(v(t)+1,2,0)+"-"+e(c(t),2,0)+"T"+e(l(t),2,0)+":"+e(p(t),2,0)+":"+e(d(t),2,0)+"."+e(u,3,0)+"Z"}:a}function lh(){if(rh)return th;rh=1,function(){if($l)return ah;$l=1;var t=Zr(),r=M(),e=gr(),n=wr(),i=fh(),o=E();t({target:"Date",proto:!0,forced:w()(function(){return null!==new Date(NaN).toJSON()||1!==r(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(t){var u=e(this),a=n(u,"number");return"number"!=typeof a||isFinite(a)?"toISOString"in u||"Date"!==o(u)?u.toISOString():r(i,u):null}})}(),Mi();var t=At(),r=T();return t.JSON||(t.JSON={stringify:JSON.stringify}),th=function(e,n,i){return r(t.JSON.stringify,null,arguments)},th}function hh(){return nh?eh:(nh=1,eh=lh())}var ph,vh,dh,yh,gh,mh=r(oh?ih:(oh=1,ih=hh())),bh={},_h={};function wh(){if(vh)return ph;vh=1;var t=TypeError;return ph=function(r,e){if(r<e)throw new t("Not enough arguments");return r}}function Sh(){if(yh)return dh;yh=1;var t,r=_(),e=T(),n=I(),i=ys(),o=jt(),u=Un(),a=wh(),s=r.Function,c=/MSIE .\./.test(o)||"BUN"===i&&((t=r.Bun.version.split(".")).length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2]));return dh=function(t,r){var i=r?2:1;return c?function(o,c){var f=a(arguments.length,1)>i,l=n(o)?o:s(o),h=f?u(arguments,i):[],p=f?function(){e(l,this,h)}:l;return r?t(p,c):t(p)}:t},dh}var Th,Oh,Eh,Ah,Ih,Ph,jh={};function xh(){return Oh||(Oh=1,function(){if(gh)return _h;gh=1;var t=Zr(),r=_(),e=Sh()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==e},{setInterval:e})}(),function(){if(Th)return jh;Th=1;var t=Zr(),r=_(),e=Sh()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==e},{setTimeout:e})}()),bh}function Dh(){return Ah?Eh:(Ah=1,xh(),Eh=At().setTimeout)}var kh,Ch=r(Ph?Ih:(Ph=1,Ih=Dh())),Mh={exports:{}};function Nh(){return kh||(kh=1,function(t){function r(t){if(t)return function(t){return Object.assign(t,r.prototype),t._callbacks=new Map,t}(t);this._callbacks=new Map}r.prototype.on=function(t,r){const e=this._callbacks.get(t)??[];return e.push(r),this._callbacks.set(t,e),this},r.prototype.once=function(t,r){const e=(...n)=>{this.off(t,e),r.apply(this,n)};return e.fn=r,this.on(t,e),this},r.prototype.off=function(t,r){if(void 0===t&&void 0===r)return this._callbacks.clear(),this;if(void 0===r)return this._callbacks.delete(t),this;const e=this._callbacks.get(t);if(e){for(const[t,n]of e.entries())if(n===r||n.fn===r){e.splice(t,1);break}0===e.length?this._callbacks.delete(t):this._callbacks.set(t,e)}return this},r.prototype.emit=function(t,...r){const e=this._callbacks.get(t);if(e){const t=[...e];for(const e of t)e.apply(this,r)}return this},r.prototype.listeners=function(t){return this._callbacks.get(t)??[]},r.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let r=0;for(const t of this._callbacks.values())r+=t.length;return r},r.prototype.hasListeners=function(t){return this.listenerCount(t)>0},r.prototype.addEventListener=r.prototype.on,r.prototype.removeListener=r.prototype.off,r.prototype.removeEventListener=r.prototype.off,r.prototype.removeAllListeners=r.prototype.off,t.exports=r}(Mh)),Mh.exports}var Rh=r(Nh());
|
|
27
27
|
/*! Hammer.JS - v2.0.17-rc - 2019-12-16
|
|
28
28
|
* http://naver.github.io/egjs
|
|
29
29
|
*
|
|
30
30
|
* Forked By Naver egjs
|
|
31
31
|
* Copyright (c) hammerjs
|
|
32
32
|
* Licensed under the MIT license */
|
|
33
|
-
function Rh(){return Rh=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},Rh.apply(this,arguments)}function Fh(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function zh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var qh,Uh="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),e=1;e<arguments.length;e++){var n=arguments[e];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])}return r}:Object.assign,Wh=["","webkit","Moz","MS","ms","o"],Yh="undefined"==typeof document?{style:{}}:document.createElement("div"),Xh=Math.round,Bh=Math.abs,Vh=Date.now;function Gh(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),o=0;o<Wh.length;){if((n=(e=Wh[o])?e+i:r)in t)return n;o++}}qh="undefined"==typeof window?{}:window;var Hh=Gh(Yh.style,"touchAction"),Jh=void 0!==Hh;var Kh="compute",Qh="auto",Zh="manipulation",$h="none",tp="pan-x",rp="pan-y",ep=function(){if(!Jh)return!1;var t={},r=qh.CSS&&qh.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=!r||qh.CSS.supports("touch-action",e)}),t}(),np="ontouchstart"in qh,ip=void 0!==Gh(qh,"PointerEvent"),op=np&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),up="touch",ap="mouse",sp=16,cp=24,fp=["x","y"],lp=["clientX","clientY"];function hp(t,r,e){var n;if(t)if(t.forEach)t.forEach(r,e);else if(void 0!==t.length)for(n=0;n<t.length;)r.call(e,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&r.call(e,t[n],n,t)}function pp(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function vp(t,r){return t.indexOf(r)>-1}var dp=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Kh&&(t=this.compute()),Jh&&this.manager.element.style&&ep[t]&&(this.manager.element.style[Hh]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return hp(this.manager.recognizers,function(r){pp(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(vp(t,$h))return $h;var r=vp(t,tp),e=vp(t,rp);return r&&e?$h:r||e?r?tp:rp:vp(t,Zh)?Zh:Qh}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,e=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var n=this.actions,i=vp(n,$h)&&!ep[$h],o=vp(n,rp)&&!ep[rp],u=vp(n,tp)&&!ep[tp];if(i){var a=1===t.pointers.length,s=t.distance<2,c=t.deltaTime<250;if(a&&s&&c)return}if(!u||!o)return i||o&&6&e||u&&e&cp?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function yp(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function gp(t){var r=t.length;if(1===r)return{x:Xh(t[0].clientX),y:Xh(t[0].clientY)};for(var e=0,n=0,i=0;i<r;)e+=t[i].clientX,n+=t[i].clientY,i++;return{x:Xh(e/r),y:Xh(n/r)}}function mp(t){for(var r=[],e=0;e<t.pointers.length;)r[e]={clientX:Xh(t.pointers[e].clientX),clientY:Xh(t.pointers[e].clientY)},e++;return{timeStamp:Vh(),pointers:r,center:gp(r),deltaX:t.deltaX,deltaY:t.deltaY}}function bp(t,r,e){e||(e=fp);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return Math.sqrt(n*n+i*i)}function _p(t,r,e){e||(e=fp);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return 180*Math.atan2(i,n)/Math.PI}function wp(t,r){return t===r?1:Bh(t)>=Bh(r)?t<0?2:4:r<0?8:sp}function Sp(t,r,e){return{x:r/t||0,y:e/t||0}}function Tp(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=mp(r)),i>1&&!e.firstMultiple?e.firstMultiple=mp(r):1===i&&(e.firstMultiple=!1);var o=e.firstInput,u=e.firstMultiple,a=u?u.center:o.center,s=r.center=gp(n);r.timeStamp=Vh(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=_p(a,s),r.distance=bp(a,s),function(t,r){var e=r.center,n=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};1!==r.eventType&&4!==o.eventType||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y}),r.deltaX=i.x+(e.x-n.x),r.deltaY=i.y+(e.y-n.y)}(e,r),r.offsetDirection=wp(r.deltaX,r.deltaY);var c,f,l=Sp(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=Bh(l.x)>Bh(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,bp((f=n)[0],f[1],lp)/bp(c[0],c[1],lp)):1,r.rotation=u?function(t,r){return _p(r[1],r[0],lp)+_p(t[1],t[0],lp)}(u.pointers,n):0,r.maxPointers=e.prevInput?r.pointers.length>e.prevInput.maxPointers?r.pointers.length:e.prevInput.maxPointers:r.pointers.length,function(t,r){var e,n,i,o,u=t.lastInterval||r,a=r.timeStamp-u.timeStamp;if(8!==r.eventType&&(a>25||void 0===u.velocity)){var s=r.deltaX-u.deltaX,c=r.deltaY-u.deltaY,f=Sp(a,s,c);n=f.x,i=f.y,e=Bh(f.x)>Bh(f.y)?f.x:f.y,o=wp(s,c),t.lastInterval=r}else e=u.velocity,n=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=e,r.velocityX=n,r.velocityY=i,r.direction=o}(e,r);var h,p=t.element,v=r.srcEvent;yp(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function Op(t,r,e){var n=e.pointers.length,i=e.changedPointers.length,o=1&r&&n-i===0,u=12&r&&n-i===0;e.isFirst=!!o,e.isFinal=!!u,o&&(t.session={}),e.eventType=r,Tp(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function Ep(t){return t.trim().split(/\s+/g)}function Ap(t,r,e){hp(Ep(r),function(r){t.addEventListener(r,e,!1)})}function Ip(t,r,e){hp(Ep(r),function(r){t.removeEventListener(r,e,!1)})}function Pp(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var jp=function(){function t(t,r){var e=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){pp(t.options.enable,[t])&&e.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Ap(this.element,this.evEl,this.domHandler),this.evTarget&&Ap(this.target,this.evTarget,this.domHandler),this.evWin&&Ap(Pp(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Ip(this.element,this.evEl,this.domHandler),this.evTarget&&Ip(this.target,this.evTarget,this.domHandler),this.evWin&&Ip(Pp(this.element),this.evWin,this.domHandler)},t}();function xp(t,r,e){if(t.indexOf&&!e)return t.indexOf(r);for(var n=0;n<t.length;){if(e&&t[n][e]==r||!e&&t[n]===r)return n;n++}return-1}var Dp={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},kp={2:up,3:"pen",4:ap,5:"kinect"},Cp="pointerdown",Mp="pointermove pointerup pointercancel";qh.MSPointerEvent&&!qh.PointerEvent&&(Cp="MSPointerDown",Mp="MSPointerMove MSPointerUp MSPointerCancel");var Lp=function(t){function r(){var e,n=r.prototype;return n.evEl=Cp,n.evWin=Mp,(e=t.apply(this,arguments)||this).store=e.manager.session.pointerEvents=[],e}return Fh(r,t),r.prototype.handler=function(t){var r=this.store,e=!1,n=t.type.toLowerCase().replace("ms",""),i=Dp[n],o=kp[t.pointerType]||t.pointerType,u=o===up,a=xp(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(e=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),e&&r.splice(a,1))},r}(jp);function Np(t){return Array.prototype.slice.call(t,0)}function Rp(t,r,e){for(var n=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];xp(i,u)<0&&n.push(t[o]),i[o]=u,o++}return e&&(n=r?n.sort(function(t,e){return t[r]>e[r]}):n.sort()),n}var Fp={touchstart:1,touchmove:2,touchend:4,touchcancel:8},zp=function(t){function r(){var e;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).targetIds={},e}return Fh(r,t),r.prototype.handler=function(t){var r=Fp[t.type],e=qp.call(this,t,r);e&&this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:up,srcEvent:t})},r}(jp);function qp(t,r){var e,n,i=Np(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=Np(t.changedTouches),a=[],s=this.target;if(n=i.filter(function(t){return yp(t.target,s)}),1===r)for(e=0;e<n.length;)o[n[e].identifier]=!0,e++;for(e=0;e<u.length;)o[u[e].identifier]&&a.push(u[e]),12&r&&delete o[u[e].identifier],e++;return a.length?[Rp(n.concat(a),"identifier",!0),a]:void 0}var Up={mousedown:1,mousemove:2,mouseup:4},Wp=function(t){function r(){var e,n=r.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(e=t.apply(this,arguments)||this).pressed=!1,e}return Fh(r,t),r.prototype.handler=function(t){var r=Up[t.type];1&r&&0===t.button&&(this.pressed=!0),2&r&&1!==t.which&&(r=4),this.pressed&&(4&r&&(this.pressed=!1),this.callback(this.manager,r,{pointers:[t],changedPointers:[t],pointerType:ap,srcEvent:t}))},r}(jp);function Yp(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var e={x:r.clientX,y:r.clientY},n=this.lastTouches;this.lastTouches.push(e);setTimeout(function(){var t=n.indexOf(e);t>-1&&n.splice(t,1)},2500)}}function Xp(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,Yp.call(this,r)):12&t&&Yp.call(this,r)}function Bp(t){for(var r=t.srcEvent.clientX,e=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var i=this.lastTouches[n],o=Math.abs(r-i.x),u=Math.abs(e-i.y);if(o<=25&&u<=25)return!0}return!1}var Vp=function(){return function(t){function r(r,e){var n;return(n=t.call(this,r,e)||this).handler=function(t,r,e){var i=e.pointerType===up,o=e.pointerType===ap;if(!(o&&e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents)){if(i)Xp.call(zh(zh(n)),r,e);else if(o&&Bp.call(zh(zh(n)),e))return;n.callback(t,r,e)}},n.touch=new zp(n.manager,n.handler),n.mouse=new Wp(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return Fh(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(jp)}();function Gp(t,r,e){return!!Array.isArray(t)&&(hp(t,e[r],e),!0)}var Hp=32,Jp=1;function Kp(t,r){var e=r.manager;return e?e.get(t):t}function Qp(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Zp=function(){function t(t){void 0===t&&(t={}),this.options=Rh({enable:!0},t),this.id=Jp++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return Uh(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(Gp(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=Kp(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return Gp(t,"dropRecognizeWith",this)||(t=Kp(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(Gp(t,"requireFailure",this))return this;var r=this.requireFail;return-1===xp(r,t=Kp(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(Gp(t,"dropRequireFailure",this))return this;t=Kp(t,this);var r=xp(this.requireFail,t);return r>-1&&this.requireFail.splice(r,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},r.emit=function(t){var r=this,e=this.state;function n(e){r.manager.emit(e,t)}e<8&&n(r.options.event+Qp(e)),n(r.options.event),t.additionalEvent&&n(t.additionalEvent),e>=8&&n(r.options.event+Qp(e))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Hp},r.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},r.recognize=function(t){var r=Uh({},t);if(!pp(this.options.enable,[this,r]))return this.reset(),void(this.state=Hp);56&this.state&&(this.state=1),this.state=this.process(r),30&this.state&&this.tryEmit(r)},r.process=function(t){},r.getTouchAction=function(){},r.reset=function(){},t}(),$p=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Rh({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this).pTime=!1,e.pCenter=!1,e._timer=null,e._input=null,e.count=0,e}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[Zh]},e.process=function(t){var r=this,e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&n){if(4!==t.eventType)return this.failTimeout();var u=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||bp(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&u?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=setTimeout(function(){r.state=8,r.tryEmit()},e.interval),2):8}return Hp},e.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=Hp},this.options.interval),Hp},e.reset=function(){clearTimeout(this._timer)},e.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},r}(Zp),tv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Rh({pointers:1},r))||this}Fh(r,t);var e=r.prototype;return e.attrTest=function(t){var r=this.options.pointers;return 0===r||t.pointers.length===r},e.process=function(t){var r=this.state,e=t.eventType,n=6&r,i=this.attrTest(t);return n&&(8&e||!i)?16|r:n||i?4&e?8|r:2&r?4|r:2:Hp},r}(Zp);function rv(t){return t===sp?"down":8===t?"up":2===t?"left":4===t?"right":""}var ev=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Rh({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,e.pY=null,e}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push(rp),t&cp&&r.push(tp),r},e.directionTest=function(t){var r=this.options,e=!0,n=t.distance,i=t.direction,o=t.deltaX,u=t.deltaY;return i&r.direction||(6&r.direction?(i=0===o?1:o<0?2:4,e=o!==this.pX,n=Math.abs(t.deltaX)):(i=0===u?1:u<0?8:sp,e=u!==this.pY,n=Math.abs(t.deltaY))),t.direction=i,e&&n>r.threshold&&i&r.direction},e.attrTest=function(t){return tv.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},e.emit=function(r){this.pX=r.deltaX,this.pY=r.deltaY;var e=rv(r.direction);e&&(r.additionalEvent=this.options.event+e),t.prototype.emit.call(this,r)},r}(tv),nv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Rh({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){return ev.prototype.getTouchAction.call(this)},e.attrTest=function(r){var e,n=this.options.direction;return 30&n?e=r.overallVelocity:6&n?e=r.overallVelocityX:n&cp&&(e=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&n&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&Bh(e)>this.options.velocity&&4&r.eventType},e.emit=function(t){var r=rv(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(tv),iv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Rh({event:"pinch",threshold:0,pointers:2},r))||this}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[$h]},e.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.scale-1)>this.options.threshold||2&this.state)},e.emit=function(r){if(1!==r.scale){var e=r.scale<1?"in":"out";r.additionalEvent=this.options.event+e}t.prototype.emit.call(this,r)},r}(tv),ov=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Rh({event:"rotate",threshold:0,pointers:2},r))||this}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[$h]},e.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(tv),uv=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Rh({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,e._input=null,e}Fh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[Qh]},e.process=function(t){var r=this,e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout(function(){r.state=8,r.tryEmit()},e.time);else if(4&t.eventType)return 8;return Hp},e.reset=function(){clearTimeout(this._timer)},e.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Vh(),this.manager.emit(this.options.event,this._input)))},r}(Zp),av={domEvents:!1,touchAction:Kh,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},sv=[[ov,{enable:!1}],[iv,{enable:!1},["rotate"]],[nv,{direction:6}],[ev,{direction:6},["swipe"]],[$p],[$p,{event:"doubletap",taps:2},["tap"]],[uv]];function cv(t,r){var e,n=t.element;n.style&&(hp(t.options.cssProps,function(i,o){e=Gh(n.style,o),r?(t.oldCssProps[e]=n.style[e],n.style[e]=i):n.style[e]=t.oldCssProps[e]||""}),r||(t.oldCssProps={}))}var fv=function(){function t(t,r){var e,n=this;this.options=Uh({},av,r||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((e=this).options.inputClass||(ip?Lp:op?zp:np?Vp:Wp))(e,Op),this.touchAction=new dp(this,this.options.touchAction),cv(this,!0),hp(this.options.recognizers,function(t){var r=n.add(new t[0](t[1]));t[2]&&r.recognizeWith(t[2]),t[3]&&r.requireFailure(t[3])},this)}var r=t.prototype;return r.set=function(t){return Uh(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},r.stop=function(t){this.session.stopped=t?2:1},r.recognize=function(t){var r=this.session;if(!r.stopped){var e;this.touchAction.preventDefaults(t);var n=this.recognizers,i=r.curRecognizer;(!i||i&&8&i.state)&&(r.curRecognizer=null,i=null);for(var o=0;o<n.length;)e=n[o],2===r.stopped||i&&e!==i&&!e.canRecognizeWith(i)?e.reset():e.recognize(t),!i&&14&e.state&&(r.curRecognizer=e,i=e),o++}},r.get=function(t){if(t instanceof Zp)return t;for(var r=this.recognizers,e=0;e<r.length;e++)if(r[e].options.event===t)return r[e];return null},r.add=function(t){if(Gp(t,"add",this))return this;var r=this.get(t.options.event);return r&&this.remove(r),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},r.remove=function(t){if(Gp(t,"remove",this))return this;var r=this.get(t);if(t){var e=this.recognizers,n=xp(e,r);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},r.on=function(t,r){if(void 0===t||void 0===r)return this;var e=this.handlers;return hp(Ep(t),function(t){e[t]=e[t]||[],e[t].push(r)}),this},r.off=function(t,r){if(void 0===t)return this;var e=this.handlers;return hp(Ep(t),function(t){r?e[t]&&e[t].splice(xp(e[t],r),1):delete e[t]}),this},r.emit=function(t,r){this.options.domEvents&&function(t,r){var e=document.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=r,r.target.dispatchEvent(e)}(t,r);var e=this.handlers[t]&&this.handlers[t].slice();if(e&&e.length){r.type=t,r.preventDefault=function(){r.srcEvent.preventDefault()};for(var n=0;n<e.length;)e[n](r),n++}},r.destroy=function(){this.element&&cv(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),lv={touchstart:1,touchmove:2,touchend:4,touchcancel:8},hv=function(t){function r(){var e,n=r.prototype;return n.evTarget="touchstart",n.evWin="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).started=!1,e}return Fh(r,t),r.prototype.handler=function(t){var r=lv[t.type];if(1===r&&(this.started=!0),this.started){var e=pv.call(this,t,r);12&r&&e[0].length-e[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:up,srcEvent:t})}},r}(jp);function pv(t,r){var e=Np(t.touches),n=Np(t.changedTouches);return 12&r&&(e=Rp(e.concat(n),"identifier",!0)),[e,n]}function vv(t,r,e){var n="DEPRECATED METHOD: "+r+"\n"+e+" AT \n";return function(){var r=new Error("get-stack-trace"),e=r&&r.stack?r.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,n,e),t.apply(this,arguments)}}var dv=vv(function(t,r,e){for(var n=Object.keys(r),i=0;i<n.length;)(!e||e&&void 0===t[n[i]])&&(t[n[i]]=r[n[i]]),i++;return t},"extend","Use `assign`."),yv=vv(function(t,r){return dv(t,r,!0)},"merge","Use `assign`.");function gv(t,r,e){var n,i=r.prototype;(n=t.prototype=Object.create(i)).constructor=t,n._super=i,e&&Uh(n,e)}function mv(t,r){return function(){return t.apply(r,arguments)}}var bv=function(){var t=function(t,r){return void 0===r&&(r={}),new fv(t,Rh({recognizers:sv.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=sp,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=cp,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=sp,t.INPUT_START=1,t.INPUT_MOVE=2,t.INPUT_END=4,t.INPUT_CANCEL=8,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=Hp,t.Manager=fv,t.Input=jp,t.TouchAction=dp,t.TouchInput=zp,t.MouseInput=Wp,t.PointerEventInput=Lp,t.TouchMouseInput=Vp,t.SingleTouchInput=hv,t.Recognizer=Zp,t.AttrRecognizer=tv,t.Tap=$p,t.Pan=ev,t.Swipe=nv,t.Pinch=iv,t.Rotate=ov,t.Press=uv,t.on=Ap,t.off=Ip,t.each=hp,t.merge=yv,t.extend=dv,t.bindFn=mv,t.assign=Uh,t.inherit=gv,t.bindFn=mv,t.prefixed=Gh,t.toArray=Np,t.inArray=xp,t.uniqueArray=Rp,t.splitStr=Ep,t.boolOrFn=pp,t.hasParent=yp,t.addEventListeners=Ap,t.removeEventListeners=Ip,t.defaults=Uh({},av,{preset:sv}),t}();const _v=Pc("DELETE");function wv(){const t=Sv(...arguments);return Ov(t),t}function Sv(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];if(r.length<2)return r[0];if(r.length>2)return Sv(wv(r[0],r[1]),...Wc(r).call(r,2));const n=r[0],i=r[1];if(n instanceof Date&&i instanceof Date)return n.setTime(i.getTime()),n;for(const t of $c(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===_v?delete n[t]:null===n[t]||null===i[t]||"object"!=typeof n[t]||"object"!=typeof i[t]||ff(n[t])||ff(i[t])?n[t]=Tv(i[t]):n[t]=Sv(n[t],i[t]));return n}function Tv(t){return ff(t)?Zs(t).call(t,t=>Tv(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):Sv({},t):t}function Ov(t){for(const r of Ef(t))t[r]===_v?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&Ov(t[r])}const Ev="undefined"!=typeof window?window.Hammer||bv:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Av(t){var r;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(()=>{this._dom.overlay.parentNode.removeChild(this._dom.overlay)});const e=Ev(this._dom.overlay);e.on("tap",hs(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{e.destroy()});const n=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];qf(n).call(n,t=>{e.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=r=>{(function(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1})(r.target,t)||this.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(()=>{document.body.removeEventListener("click",this._onClick)})),this._escListener=t=>{("key"in t?"Escape"===t.key:27===t.keyCode)&&this.deactivate()}}var Iv,Pv,jv,xv,Dv,kv;function Cv(){return Pv?Iv:(Pv=1,Fi(),Iv=At().Object.getOwnPropertySymbols)}function Mv(){return xv?jv:(xv=1,jv=Cv())}Nh(Av.prototype),Av.current=null,Av.prototype.destroy=function(){this.deactivate();for(const e of il(t=_l(r=this._cleanupQueue).call(r,0)).call(t)){var t,r;e()}},Av.prototype.activate=function(){Av.current&&Av.current.deactivate(),Av.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Av.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Av.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var Lv,Nv,Rv,Fv,zv,qv,Uv=r(kv?Dv:(kv=1,Dv=Mv())),Wv={exports:{}},Yv={};function Xv(){if(Nv)return Wv.exports;Nv=1,function(){if(Lv)return Yv;Lv=1;var t=Zr(),r=w(),e=Ot(),n=Er().f,i=C();t({target:"Object",stat:!0,forced:!i||r(function(){n(1)}),sham:!i},{getOwnPropertyDescriptor:function(t,r){return n(e(t),r)}})}();var t=At().Object,r=Wv.exports=function(r,e){return t.getOwnPropertyDescriptor(r,e)};return t.getOwnPropertyDescriptor.sham&&(r.sham=!0),Wv.exports}function Bv(){return Fv?Rv:(Fv=1,Rv=Xv())}var Vv,Gv,Hv,Jv,Kv,Qv,Zv,$v=r(qv?zv:(qv=1,zv=Bv())),td={};function rd(){return Hv?Gv:(Hv=1,function(){if(Vv)return td;Vv=1;var t=Zr(),r=C(),e=Yc(),n=Ot(),i=Er(),o=We();t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var r,u,a=n(t),s=i.f,c=e(a),f={},l=0;c.length>l;)void 0!==(u=s(a,r=c[l++]))&&o(f,r,u);return f}})}(),Gv=At().Object.getOwnPropertyDescriptors)}function ed(){return Kv?Jv:(Kv=1,Jv=rd())}var nd,id,od,ud,ad,sd,cd=r(Zv?Qv:(Zv=1,Qv=ed())),fd={exports:{}},ld={};function hd(){if(nd)return ld;nd=1;var t=Zr(),r=C(),e=jn().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!r},{defineProperties:e}),ld}function pd(){if(id)return fd.exports;id=1,hd();var t=At().Object,r=fd.exports=function(r,e){return t.defineProperties(r,e)};return t.defineProperties.sham&&(r.sham=!0),fd.exports}function vd(){return ud?od:(ud=1,od=pd())}var dd,yd,gd=r(sd?ad:(sd=1,ad=vd()));var md,bd,_d,wd,Sd,Td,Od,Ed,Ad,Id,Pd,jd,xd,Dd,kd,Cd,Md,Ld,Nd,Rd,Fd,zd,qd,Ud,Wd,Yd,Xd,Bd,Vd,Gd=r(yd?dd:(yd=1,dd=re())),Hd={},Jd={exports:{}};function Kd(){return bd?md:(bd=1,md=w()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function Qd(){if(wd)return _d;wd=1;var t=w(),r=Et(),e=E(),n=Kd(),i=Object.isExtensible,o=t(function(){});return _d=o||n?function(t){return!!r(t)&&((!n||"ArrayBuffer"!==e(t))&&(!i||i(t)))}:i}function Zd(){return Td?Sd:(Td=1,Sd=!w()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function $d(){if(Od)return Jd.exports;Od=1;var t=Zr(),r=O(),e=En(),n=Et(),i=mr(),o=Kr().f,u=Ln(),a=Un(),s=Qd(),c=br(),f=Zd(),l=!1,h=c("meta"),p=0,v=function(t){o(t,h,{value:{objectID:"O"+p++,weakData:{}}})},d=Jd.exports={enable:function(){d.enable=function(){},l=!0;var e=u.f,n=r([].splice),i={};i[h]=1,e(i).length&&(u.f=function(t){for(var r=e(t),i=0,o=r.length;i<o;i++)if(r[i]===h){n(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,h)){if(!s(t))return"F";if(!r)return"E";v(t)}return t[h].objectID},getWeakData:function(t,r){if(!i(t,h)){if(!s(t))return!0;if(!r)return!1;v(t)}return t[h].weakData},onFreeze:function(t){return f&&l&&s(t)&&!i(t,h)&&v(t),t}};return e[h]=!0,Jd.exports}function ty(){if(Ad)return Ed;Ad=1;var t=_r(),r=Ko(),e=t("iterator"),n=Array.prototype;return Ed=function(t){return void 0!==t&&(r.Array===t||n[e]===t)}}function ry(){if(Pd)return Id;Pd=1;var t=Xe(),r=Nt(),e=St(),n=Ko(),i=_r()("iterator");return Id=function(o){if(!e(o))return r(o,i)||r(o,"@@iterator")||n[t(o)]}}function ey(){if(xd)return jd;xd=1;var t=M(),r=Lt(),e=Jr(),n=Mt(),i=ry(),o=TypeError;return jd=function(u,a){var s=arguments.length<2?i(u):a;if(r(s))return e(t(s,u));throw new o(n(u)+" is not iterable")},jd}function ny(){if(kd)return Dd;kd=1;var t=M(),r=Jr(),e=Nt();return Dd=function(n,i,o){var u,a;r(n);try{if(!(u=e(n,"return"))){if("throw"===i)throw o;return o}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o},Dd}function iy(){if(Md)return Cd;Md=1;var t=Ir(),r=M(),e=Jr(),n=Mt(),i=ty(),o=qe(),u=Pt(),a=ey(),s=ry(),c=ny(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return Cd=function(p,v,d){var y,g,m,b,_,w,S,T=d&&d.that,O=!(!d||!d.AS_ENTRIES),E=!(!d||!d.IS_RECORD),A=!(!d||!d.IS_ITERATOR),I=!(!d||!d.INTERRUPTED),P=t(v,T),j=function(t){return y&&c(y,"normal"),new l(!0,t)},x=function(t){return O?(e(t),I?P(t[0],t[1],j):P(t[0],t[1])):I?P(t,j):P(t)};if(E)y=p.iterator;else if(A)y=p;else{if(!(g=s(p)))throw new f(n(p)+" is not iterable");if(i(g)){for(m=0,b=o(p);b>m;m++)if((_=x(p[m]))&&u(h,_))return _;return new l(!1)}y=a(p,g)}for(w=E?p.next:y.next;!(S=r(w,y)).done;){try{_=x(S.value)}catch(t){c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},Cd}function oy(){if(Nd)return Ld;Nd=1;var t=Pt(),r=TypeError;return Ld=function(e,n){if(t(n,e))return e;throw new r("Incorrect invocation")}}function uy(){if(Fd)return Rd;Fd=1;var t=Zr(),r=_(),e=$d(),n=w(),i=Qr(),o=iy(),u=oy(),a=I(),s=Et(),c=St(),f=mi(),l=Kr().f,h=wi().forEach,p=C(),v=_i(),d=v.set,y=v.getterFor;return Rd=function(v,g,m){var b,_=-1!==v.indexOf("Map"),w=-1!==v.indexOf("Weak"),S=_?"set":"add",T=r[v],O=T&&T.prototype,E={};if(p&&a(T)&&(w||O.forEach&&!n(function(){(new T).entries().next()}))){var A=(b=g(function(t,r){d(u(t,A),{type:v,collection:new T}),c(r)||o(r,t[S],{that:t,AS_ENTRIES:_})})).prototype,I=y(v);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in O)||w&&"clear"===t||i(A,t,function(e,n){var i=I(this).collection;if(!r&&w&&!s(e))return"get"===t&&void 0;var o=i[t](0===e?0:e,n);return r?this:o})}),w||l(A,"size",{configurable:!0,get:function(){return I(this).collection.size}})}else b=m.getConstructor(g,v,_,S),e.enable();return f(b,v,!1,!0),E[v]=b,t({global:!0,forced:!0},E),w||m.setStrong(b,v,_),b}}function ay(){if(qd)return zd;qd=1;var t=Jn();return zd=function(r,e,n){for(var i in e)n&&n.unsafe&&r[i]?r[i]=e[i]:t(r,i,e[i],n);return r}}function sy(){if(Wd)return Ud;Wd=1;var t=It(),r=Kn(),e=_r(),n=C(),i=e("species");return Ud=function(e){var o=t(e);n&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function cy(){if(Xd)return Yd;Xd=1;var t=kn(),r=Kn(),e=ay(),n=Ir(),i=oy(),o=St(),u=iy(),a=uu(),s=au(),c=sy(),f=C(),l=$d().fastKey,h=_i(),p=h.set,v=h.getterFor;return Yd={getConstructor:function(a,s,c,h){var d=a(function(r,e){i(r,y),p(r,{type:s,index:t(null),first:null,last:null,size:0}),f||(r.size=0),o(e)||u(e,r[h],{that:r,AS_ENTRIES:c})}),y=d.prototype,g=v(s),m=function(t,r,e){var n,i,o=g(t),u=b(t,r);return u?u.value=e:(o.last=u={index:i=l(r,!0),key:r,value:e,previous:n=o.last,next:null,removed:!1},o.first||(o.first=u),n&&(n.next=u),f?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},b=function(t,r){var e,n=g(t),i=l(r);if("F"!==i)return n.index[i];for(e=n.first;e;e=e.next)if(e.key===r)return e};return e(y,{clear:function(){for(var r=g(this),e=r.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;r.first=r.last=null,r.index=t(null),f?r.size=0:this.size=0},delete:function(t){var r=this,e=g(r),n=b(r,t);if(n){var i=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),e.first===n&&(e.first=i),e.last===n&&(e.last=o),f?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=g(this),i=n(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:e.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!b(this,t)}}),e(y,c?{get:function(t){var r=b(this,t);return r&&r.value},set:function(t,r){return m(this,0===t?0:t,r)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),f&&r(y,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(t,r,e){var n=r+" Iterator",i=v(r),o=v(n);a(t,r,function(t,r){p(this,{type:n,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?s("keys"===r?e.key:"values"===r?e.value:[e.key,e.value],!1):(t.target=null,s(void 0,!0))},e?"entries":"values",!e,!0),c(r)}},Yd}function fy(){return Vd||(Vd=1,Bd||(Bd=1,uy()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),Hd}var ly,hy,py,vy,dy,yy,gy,my,by,_y,wy,Sy={};function Ty(){return hy?ly:(hy=1,ly=function(t,r){return 1===r?function(r,e){return r[t](e)}:function(r,e,n){return r[t](e,n)}})}function Oy(){if(vy)return py;vy=1;var t=It(),r=Ty(),e=t("Map");return py={Map:e,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:e.prototype}}function Ey(){return gy?yy:(gy=1,su(),fy(),function(){if(dy)return Sy;dy=1;var t=Zr(),r=O(),e=Lt(),n=Tt(),i=iy(),o=Oy(),u=pr(),a=w(),s=o.Map,c=o.has,f=o.get,l=o.set,h=r([].push),p=u||a(function(){return 1!==s.groupBy("ab",function(t){return t}).get("a").length});t({target:"Map",stat:!0,forced:u||p},{groupBy:function(t,r){n(t),e(r);var o=new s,u=0;return i(t,function(t){var e=r(t,u++);c(o,e)?h(f(o,e),t):l(o,e,[t])}),o}})}(),ia(),yy=At().Map)}function Ay(){if(by)return my;by=1;var t=Ey();return fu(),my=t}var Iy,Py,jy,xy,Dy,ky,Cy,My,Ly,Ny=r(wy?_y:(wy=1,_y=Ay())),Ry={};function Fy(){return jy?Py:(jy=1,function(){if(Iy)return Ry;Iy=1;var t=Zr(),r=wi().some;t({target:"Array",proto:!0,forced:!ds()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Py=Ba()("Array","some"))}function zy(){if(Dy)return xy;Dy=1;var t=Pt(),r=Fy(),e=Array.prototype;return xy=function(n){var i=n.some;return n===e||t(e,n)&&i===e.some?r:i}}function qy(){return Cy?ky:(Cy=1,ky=zy())}var Uy,Wy,Yy,Xy,By,Vy,Gy,Hy,Jy=r(Ly?My:(Ly=1,My=qy()));function Ky(){return Wy?Uy:(Wy=1,su(),Uy=Ba()("Array","keys"))}function Qy(){return Xy?Yy:(Xy=1,Yy=Ky())}function Zy(){if(Vy)return By;Vy=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Qy(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return By=function(u){var a=u.keys;return u===i||e(i,u)&&a===i.keys||r(o,t(u))?n:a}}var $y,tg,rg,eg,ng,ig,og,ug,ag,sg,cg,fg,lg,hg,pg,vg,dg,yg=r(Hy?Gy:(Hy=1,Gy=Zy())),gg={};function mg(){if(tg)return $y;tg=1;var t=qn(),r=Math.floor,e=function(n,i){var o=n.length;if(o<8)for(var u,a,s=1;s<o;){for(a=s,u=n[s];a&&i(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=r(o/2),f=e(t(n,0,c),i),l=e(t(n,c),i),h=f.length,p=l.length,v=0,d=0;v<h||d<p;)n[v+d]=v<h&&d<p?i(f[v],l[d])<=0?f[v++]:l[d++]:v<h?f[v++]:l[d++];return n};return $y=e}function bg(){if(eg)return rg;eg=1;var t=jt().match(/firefox\/(\d+)/i);return rg=!!t&&+t[1]}function _g(){return ig?ng:(ig=1,ng=/MSIE|Trident/.test(jt()))}function wg(){if(ug)return og;ug=1;var t=jt().match(/AppleWebKit\/(\d+)\./);return og=!!t&&+t[1]}function Sg(){if(ag)return gg;ag=1;var t=Zr(),r=O(),e=Lt(),n=gr(),i=qe(),o=al(),u=rn(),a=w(),s=mg(),c=ds(),f=bg(),l=_g(),h=xt(),p=wg(),v=[],d=r(v.sort),y=r(v.push),g=a(function(){v.sort(void 0)}),m=a(function(){v.sort(null)}),b=c("sort"),_=!a(function(){if(h)return h<70;if(!(f&&f>3)){if(l)return!0;if(p)return p<603;var t,r,e,n,i="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)v.push({k:r+n,v:e})}for(v.sort(function(t,r){return r.v-t.v}),n=0;n<v.length;n++)r=v[n].k.charAt(0),i.charAt(i.length-1)!==r&&(i+=r);return"DGBEFHACIJK"!==i}});return t({target:"Array",proto:!0,forced:g||!m||!b||!_},{sort:function(t){void 0!==t&&e(t);var r=n(this);if(_)return void 0===t?d(r):d(r,t);var a,c,f=[],l=i(r);for(c=0;c<l;c++)c in r&&y(f,r[c]);for(s(f,function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:u(r)>u(e)?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),gg}function Tg(){return cg?sg:(cg=1,Sg(),sg=Ba()("Array","sort"))}function Og(){if(lg)return fg;lg=1;var t=Pt(),r=Tg(),e=Array.prototype;return fg=function(n){var i=n.sort;return n===e||t(e,n)&&i===e.sort?r:i}}function Eg(){return pg?hg:(pg=1,hg=Og())}var Ag,Ig,Pg,jg,xg,Dg,kg,Cg,Mg=r(dg?vg:(dg=1,vg=Eg()));function Lg(){return Ig?Ag:(Ig=1,su(),Ag=Ba()("Array","values"))}function Ng(){return jg?Pg:(jg=1,Pg=Lg())}function Rg(){if(Dg)return xg;Dg=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Ng(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return xg=function(u){var a=u.values;return u===i||e(i,u)&&a===i.values||r(o,t(u))?n:a}}var Fg,zg,qg=r(Cg?kg:(Cg=1,kg=Rg()));var Ug,Wg,Yg,Xg,Bg,Vg,Gg,Hg,Jg=r(zg?Fg:(zg=1,Fg=ua()));function Kg(){return Wg?Ug:(Wg=1,su(),Ug=Ba()("Array","entries"))}function Qg(){return Xg?Yg:(Xg=1,Yg=Kg())}function Zg(){if(Vg)return Bg;Vg=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Qg(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Bg=function(u){var a=u.entries;return u===i||e(i,u)&&a===i.entries||r(o,t(u))?n:a}}var $g=r(Hg?Gg:(Hg=1,Gg=Zg()));const tm=[];for(let t=0;t<256;++t)tm.push((t+256).toString(16).slice(1));let rm;const em=new Uint8Array(16);var nm={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function im(t,r,e){const n=(t=t||{}).random??t.rng?.()??function(){if(!rm){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");rm=crypto.getRandomValues.bind(crypto)}return rm(em)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=15&n[6]|64,n[8]=63&n[8]|128,function(t,r=0){return(tm[t[r+0]]+tm[t[r+1]]+tm[t[r+2]]+tm[t[r+3]]+"-"+tm[t[r+4]]+tm[t[r+5]]+"-"+tm[t[r+6]]+tm[t[r+7]]+"-"+tm[t[r+8]]+tm[t[r+9]]+"-"+tm[t[r+10]]+tm[t[r+11]]+tm[t[r+12]]+tm[t[r+13]]+tm[t[r+14]]+tm[t[r+15]]).toLowerCase()}(n)}function om(t){return"string"==typeof t||"number"==typeof t}class um{constructor(t){ja(this,"_queue",[]),ja(this,"_timeout",null),ja(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(t)}setOptions(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}static extend(t,r){const e=new um(r);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=()=>{e.flush()};const n=[{name:"flush",original:void 0}];if(r&&r.replace)for(let i=0;i<r.replace.length;i++){const o=r.replace[i];n.push({name:o,original:t[o]}),e.replace(t,o)}return e._extended={object:t,methods:n},e}destroy(){if(this.flush(),this._extended){const t=this._extended.object,r=this._extended.methods;for(let e=0;e<r.length;e++){const n=r[e];n.original?t[n.name]=n.original:delete t[n.name]}this._extended=null}}replace(t,r){const e=this,n=t[r];if(!n)throw new Error("Method "+r+" undefined");t[r]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];e.queue({args:r,fn:n,context:this})}}queue(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}_flushIfNeeded(){this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"==typeof this.delay&&(this._timeout=Ch(()=>{this.flush()},this.delay))}flush(){var t,r;qf(t=_l(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}class am{constructor(){ja(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),ja(this,"subscribe",am.prototype.on),ja(this,"unsubscribe",am.prototype.off)}_trigger(t,r,e){var n;if("*"===t)throw new Error("Cannot trigger event *");qf(n=[...this._subscribers[t],...this._subscribers["*"]]).call(n,n=>{n(t,r,null!=e?e:null)})}on(t,r){"function"==typeof r&&this._subscribers[t].push(r)}off(t,r){var e;this._subscribers[t]=Xs(e=this._subscribers[t]).call(e,t=>t!==r)}get testLeakSubscribers(){return this._subscribers}}var sm,cm,fm={};function lm(){return cm||(cm=1,sm||(sm=1,uy()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),fm}var hm,pm,vm,dm,ym,gm,mm,bm,_m,wm,Sm,Tm,Om,Em,Am,Im,Pm,jm,xm,Dm,km,Cm={};function Mm(){if(pm)return hm;pm=1;var t=Mt(),r=TypeError;return hm=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw new r(t(e)+" is not a set")}}function Lm(){if(dm)return vm;dm=1;var t=It(),r=Ty(),e=t("Set"),n=e.prototype;return vm={Set:e,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:n}}function Nm(){if(gm)return ym;gm=1;var t=M();return ym=function(r,e,n){for(var i,o,u=n?r:r.iterator,a=r.next;!(i=t(a,u)).done;)if(void 0!==(o=e(i.value)))return o},ym}function Rm(){if(bm)return mm;bm=1;var t=Nm();return mm=function(r,e,n){return n?t(r.keys(),e,!0):r.forEach(e)},mm}function Fm(){if(wm)return _m;wm=1;var t=Lm(),r=Rm(),e=t.Set,n=t.add;return _m=function(t){var i=new e;return r(t,function(t){n(i,t)}),i},_m}function zm(){return Tm||(Tm=1,Sm=function(t){return t.size}),Sm}function qm(){return Em?Om:(Em=1,Om=function(t){return{iterator:t,next:t.next,done:!1}})}function Um(){if(Im)return Am;Im=1;var t=Lt(),r=Jr(),e=M(),n=Fe(),i=qm(),o="Invalid size",u=RangeError,a=TypeError,s=Math.max,c=function(r,e){this.set=r,this.size=s(e,0),this.has=t(r.has),this.keys=t(r.keys)};return c.prototype={getIterator:function(){return i(r(e(this.keys,this.set)))},includes:function(t){return e(this.has,this.set,t)}},Am=function(t){r(t);var e=+t.size;if(e!=e)throw new a(o);var i=n(e);if(i<0)throw new u(o);return new c(t,i)}}function Wm(){if(jm)return Pm;jm=1;var t=Mm(),r=Lm(),e=Fm(),n=zm(),i=Um(),o=Rm(),u=Nm(),a=r.has,s=r.remove;return Pm=function(r){var c=t(this),f=i(r),l=e(c);return n(c)<=f.size?o(c,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function Ym(){return Dm?xm:(Dm=1,xm=function(){return!1})}var Xm,Bm,Vm,Gm={};function Hm(){if(Bm)return Xm;Bm=1;var t=Mm(),r=Lm(),e=zm(),n=Um(),i=Rm(),o=Nm(),u=r.Set,a=r.add,s=r.has;return Xm=function(r){var c=t(this),f=n(r),l=new u;return e(c)>f.size?o(f.getIterator(),function(t){s(c,t)&&a(l,t)}):i(c,function(t){f.includes(t)&&a(l,t)}),l}}var Jm,Km,Qm,Zm={};function $m(){if(Km)return Jm;Km=1;var t=Mm(),r=Lm().has,e=zm(),n=Um(),i=Rm(),o=Nm(),u=ny();return Jm=function(a){var s=t(this),c=n(a);if(e(s)<=c.size)return!1!==i(s,function(t){if(c.includes(t))return!1},!0);var f=c.getIterator();return!1!==o(f,function(t){if(r(s,t))return u(f,"normal",!1)})},Jm}var tb,rb,eb,nb={};function ib(){if(rb)return tb;rb=1;var t=Mm(),r=zm(),e=Rm(),n=Um();return tb=function(i){var o=t(this),u=n(i);return!(r(o)>u.size)&&!1!==e(o,function(t){if(!u.includes(t))return!1},!0)}}var ob,ub,ab,sb={};function cb(){if(ub)return ob;ub=1;var t=Mm(),r=Lm().has,e=zm(),n=Um(),i=Nm(),o=ny();return ob=function(u){var a=t(this),s=n(u);if(e(a)<s.size)return!1;var c=s.getIterator();return!1!==i(c,function(t){if(!r(a,t))return o(c,"normal",!1)})},ob}var fb,lb,hb,pb,vb,db={};function yb(){if(lb)return fb;lb=1;var t=Mm(),r=Lm(),e=Fm(),n=Um(),i=Nm(),o=r.add,u=r.has,a=r.remove;return fb=function(r){var s=t(this),c=n(r).getIterator(),f=e(s);return i(c,function(t){u(s,t)?a(f,t):o(f,t)}),f}}function gb(){return pb?hb:(pb=1,hb=function(t){try{var r=new Set,e={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},n=r[t](e);return 1===n.size&&4===n.values().next().value}catch(t){return!1}})}var mb,bb,_b,wb,Sb,Tb,Ob,Eb,Ab,Ib={};function Pb(){if(bb)return mb;bb=1;var t=Mm(),r=Lm().add,e=Fm(),n=Um(),i=Nm();return mb=function(o){var u=t(this),a=n(o).getIterator(),s=e(u);return i(a,function(t){r(s,t)}),s}}function jb(){return Sb?wb:(Sb=1,su(),lm(),function(){if(km)return Cm;km=1;var t=Zr(),r=Wm(),e=w();t({target:"Set",proto:!0,real:!0,forced:!Ym()("difference",function(t){return 0===t.size})||e(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var e=t++>1;return r.has(1)&&r.clear(),{done:e,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size})},{difference:r})}(),function(){if(Vm)return Gm;Vm=1;var t=Zr(),r=w(),e=Hm();t({target:"Set",proto:!0,real:!0,forced:!Ym()("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||r(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:e})}(),function(){if(Qm)return Zm;Qm=1;var t=Zr(),r=$m();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(eb)return nb;eb=1;var t=Zr(),r=ib();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(ab)return sb;ab=1;var t=Zr(),r=cb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(vb)return db;vb=1;var t=Zr(),r=yb(),e=gb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("symmetricDifference")||!e("symmetricDifference")},{symmetricDifference:r})}(),function(){if(_b)return Ib;_b=1;var t=Zr(),r=Pb(),e=gb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("union")||!e("union")},{union:r})}(),ia(),wb=At().Set)}function xb(){if(Ob)return Tb;Ob=1;var t=jb();return fu(),Tb=t}var Db,kb,Cb,Mb,Lb,Nb,Rb,Fb,zb,qb,Ub,Wb,Yb=r(Ab?Eb:(Ab=1,Eb=xb()));function Xb(){return kb?Db:(kb=1,su(),ia(),Db=ey())}function Bb(){if(Mb)return Cb;Mb=1;var t=Xb();return fu(),Cb=t}function Vb(){return Nb?Lb:(Nb=1,Lb=Bb())}function Gb(){return Fb?Rb:(Fb=1,Rb=Vb())}function Hb(){return qb?zb:(qb=1,zb=Gb())}var Jb=r(Wb?Ub:(Wb=1,Ub=Hb()));class Kb{constructor(t){this._pairs=t}*[Jg](){for(const[t,r]of this._pairs)yield[t,r]}*entries(){for(const[t,r]of this._pairs)yield[t,r]}*keys(){for(const[t]of this._pairs)yield t}*values(){for(const[,t]of this._pairs)yield t}toIdArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=uh(null);for(const[r,e]of this._pairs)t[r]=e;return t}toMap(){return new Ny(this._pairs)}toIdSet(){return new Yb(this.toIdArray())}toItemSet(){return new Yb(this.toItemArray())}cache(){return new Kb([...this._pairs])}distinct(t){const r=new Yb;for(const[e,n]of this._pairs)r.add(t(n,e));return r}filter(t){const r=this._pairs;return new Kb({*[Jg](){for(const[e,n]of r)t(n,e)&&(yield[e,n])}})}forEach(t){for(const[r,e]of this._pairs)t(e,r)}map(t){const r=this._pairs;return new Kb({*[Jg](){for(const[e,n]of r)yield[e,t(n,e)]}})}max(t){const r=Jb(this._pairs);let e=r.next();if(e.done)return null;let n=e.value[1],i=t(e.value[1],e.value[0]);for(;!(e=r.next()).done;){const[r,o]=e.value,u=t(o,r);u>i&&(i=u,n=o)}return n}min(t){const r=Jb(this._pairs);let e=r.next();if(e.done)return null;let n=e.value[1],i=t(e.value[1],e.value[0]);for(;!(e=r.next()).done;){const[r,o]=e.value,u=t(o,r);u<i&&(i=u,n=o)}return n}reduce(t,r){for(const[e,n]of this._pairs)r=t(r,n,e);return r}sort(t){return new Kb({[Jg]:()=>{var r;return Jb(Mg(r=[...this._pairs]).call(r,(r,e)=>{let[n,i]=r,[o,u]=e;return t(i,u,n,o)}))}})}}function Qb(t,r){var e=Ef(t);if(Uv){var n=Uv(t);r&&(n=Xs(n).call(n,function(r){return $v(t,r).enumerable})),e.push.apply(e,n)}return e}function Zb(t){for(var r=1;r<arguments.length;r++){var e,n,i=null!=arguments[r]?arguments[r]:{};r%2?qf(e=Qb(Object(i),!0)).call(e,function(r){ja(t,r,i[r])}):cd?gd(t,cd(i)):qf(n=Qb(Object(i))).call(n,function(r){Gd(t,r,$v(i,r))})}return t}function $b(t,r){var e;return null==t[r]&&(t[r]=nm.randomUUID&&!e?nm.randomUUID():im(e)),t}class t_ extends am{get idProp(){return this._idProp}constructor(t,r){super(),ja(this,"_queue",null),t&&!ff(t)&&(r=t,t=[]),this._options=r||{},this._data=new Ny,this.length=0,this._idProp=this._options.fieldId||"id",t&&t.length&&this.add(t),this.setOptions(r)}setOptions(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=um.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"==typeof t.queue&&this._queue.setOptions(t.queue)))}add(t,r){const e=[];let n;if(ff(t)){const r=Zs(t).call(t,t=>t[this._idProp]);if(Jy(r).call(r,t=>this._data.has(t)))throw new Error("A duplicate id was found in the parameter array.");for(let r=0,i=t.length;r<i;r++)n=this._addItem(t[r]),e.push(n)}else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");n=this._addItem(t),e.push(n)}return e.length&&this._trigger("add",{items:e},r),e}update(t,r){const e=[],n=[],i=[],o=[],u=this._idProp,a=t=>{const r=t[u];if(null!=r&&this._data.has(r)){const e=t,u=Cl({},this._data.get(r)),a=this._updateItem(e);n.push(a),o.push(e),i.push(u)}else{const r=this._addItem(t);e.push(r)}};if(ff(t))for(let r=0,e=t.length;r<e;r++)t[r]&&"object"==typeof t[r]?a(t[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");a(t)}if(e.length&&this._trigger("add",{items:e},r),n.length){const t={items:n,oldData:i,data:o};this._trigger("update",t,r)}return Xl(e).call(e,n)}updateOnly(t,r){var e;ff(t)||(t=[t]);const n=Zs(e=Zs(t).call(t,t=>{const r=this._data.get(t[this._idProp]);if(null==r)throw new Error("Updating non-existent items is not allowed.");return{oldData:r,update:t}})).call(e,t=>{let{oldData:r,update:e}=t;const n=r[this._idProp],i=function(t){for(var r=arguments.length,e=new Array(r>1?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return wv({},t,...e)}(r,e);return this._data.set(n,i),{id:n,oldData:r,updatedData:i}});if(n.length){const t={items:Zs(n).call(n,t=>t.id),oldData:Zs(n).call(n,t=>t.oldData),data:Zs(n).call(n,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let e,n,i;om(t)?(e=t,i=r):ff(t)?(n=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&Xs(i),a=[];let s,c,f;if(null!=e)s=this._data.get(e),s&&u&&!u(s)&&(s=void 0);else if(null!=n)for(let t=0,r=n.length;t<r;t++)s=this._data.get(n[t]),null==s||u&&!u(s)||a.push(s);else{var l;c=[...yg(l=this._data).call(l)];for(let t=0,r=c.length;t<r;t++)f=c[t],s=this._data.get(f),null==s||u&&!u(s)||a.push(s)}if(i&&i.order&&null==e&&this._sort(a,i.order),i&&i.fields){const t=i.fields;if(null!=e&&null!=s)s=this._filterFields(s,t);else for(let r=0,e=a.length;r<e;r++)a[r]=this._filterFields(a[r],t)}if("Object"==o){const t={};for(let r=0,e=a.length;r<e;r++){const e=a[r];t[e[this._idProp]]=e}return t}return null!=e?null!=s?s:null:a}getIds(t){const r=this._data,e=t&&Xs(t),n=t&&t.order,i=[...yg(r).call(r)],o=[];if(e)if(n){const t=[];for(let r=0,n=i.length;r<n;r++){const n=i[r],o=this._data.get(n);null!=o&&e(o)&&t.push(o)}this._sort(t,n);for(let r=0,e=t.length;r<e;r++)o.push(t[r][this._idProp])}else for(let t=0,r=i.length;t<r;t++){const r=i[t],n=this._data.get(r);null!=n&&e(n)&&o.push(n[this._idProp])}else if(n){const t=[];for(let e=0,n=i.length;e<n;e++){const n=i[e];t.push(r.get(n))}this._sort(t,n);for(let r=0,e=t.length;r<e;r++)o.push(t[r][this._idProp])}else for(let t=0,e=i.length;t<e;t++){const e=i[t],n=r.get(e);null!=n&&o.push(n[this._idProp])}return o}getDataSet(){return this}forEach(t,r){const e=r&&Xs(r),n=this._data,i=[...yg(n).call(n)];if(r&&r.order){const e=this.get(r);for(let r=0,n=e.length;r<n;r++){const n=e[r];t(n,n[this._idProp])}}else for(let r=0,n=i.length;r<n;r++){const n=i[r],o=this._data.get(n);null==o||e&&!e(o)||t(o,n)}}map(t,r){const e=r&&Xs(r),n=[],i=this._data,o=[...yg(i).call(i)];for(let r=0,i=o.length;r<i;r++){const i=o[r],u=this._data.get(i);null==u||e&&!e(u)||n.push(t(u,i))}return r&&r.order&&this._sort(n,r.order),n}_filterFields(t,r){var e;return t?xs(e=ff(r)?r:Ef(r)).call(e,(r,e)=>(r[e]=t[e],r),{}):t}_sort(t,r){if("string"==typeof r){const e=r;Mg(t).call(t,(t,r)=>{const n=t[e],i=r[e];return n>i?1:n<i?-1:0})}else{if("function"!=typeof r)throw new TypeError("Order must be a function or a string");Mg(t).call(t,r)}}remove(t,r){const e=[],n=[],i=ff(t)?t:[t];for(let t=0,r=i.length;t<r;t++){const r=this._remove(i[t]);if(r){const t=r[this._idProp];null!=t&&(e.push(t),n.push(r))}}return e.length&&this._trigger("remove",{items:e,oldData:n},r),e}_remove(t){let r;if(om(t)?r=t:t&&"object"==typeof t&&(r=t[this._idProp]),null!=r&&this._data.has(r)){const t=this._data.get(r)||null;return this._data.delete(r),--this.length,t}return null}clear(t){var r;const e=[...yg(r=this._data).call(r)],n=[];for(let t=0,r=e.length;t<r;t++)n.push(this._data.get(e[t]));return this._data.clear(),this.length=0,this._trigger("remove",{items:e,oldData:n},t),e}max(t){let r=null,e=null;for(const i of qg(n=this._data).call(n)){var n;const o=i[t];"number"==typeof o&&(null==e||o>e)&&(r=i,e=o)}return r||null}min(t){let r=null,e=null;for(const i of qg(n=this._data).call(n)){var n;const o=i[t];"number"==typeof o&&(null==e||o<e)&&(r=i,e=o)}return r||null}distinct(t){const r=this._data,e=[...yg(r).call(r)],n=[];let i=0;for(let o=0,u=e.length;o<u;o++){const u=e[o],a=r.get(u)[t];let s=!1;for(let t=0;t<i;t++)if(n[t]==a){s=!0;break}s||void 0===a||(n[i]=a,i++)}return n}_addItem(t){const r=$b(t,this._idProp),e=r[this._idProp];if(this._data.has(e))throw new Error("Cannot add item: item with id "+e+" already exists");return this._data.set(e,r),++this.length,e}_updateItem(t){const r=t[this._idProp];if(null==r)throw new Error("Cannot update item: item has no id (item: "+mh(t)+")");const e=this._data.get(r);if(!e)throw new Error("Cannot update item: no item with id "+r+" found");return this._data.set(r,Zb(Zb({},e),t)),r}stream(t){if(t){const r=this._data;return new Kb({*[Jg](){for(const e of t){const t=r.get(e);null!=t&&(yield[e,t])}}})}var r;return new Kb({[Jg]:hs(r=$g(this._data)).call(r,this._data)})}get testLeakData(){return this._data}get testLeakIdProp(){return this._idProp}get testLeakOptions(){return this._options}get testLeakQueue(){return this._queue}set testLeakQueue(t){this._queue=t}}class r_ extends am{get idProp(){return this.getDataSet().idProp}constructor(t,r){var e;super(),ja(this,"length",0),ja(this,"_ids",new Yb),this._options=r||{},this._listener=hs(e=this._onEvent).call(e,this),this.setData(t)}setData(t){if(this._data){this._data.off&&this._data.off("*",this._listener);const t=this._data.getIds({filter:Xs(this._options)}),r=this._data.get(t);this._ids.clear(),this.length=0,this._trigger("remove",{items:t,oldData:r})}if(null!=t){this._data=t;const r=this._data.getIds({filter:Xs(this._options)});for(let t=0,e=r.length;t<e;t++){const e=r[t];this._ids.add(e)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new t_;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:Xs(this._options)}),r=[...this._ids],e={},n=[],i=[],o=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];e[i]=!0,this._ids.has(i)||(n.push(i),this._ids.add(i))}for(let t=0,n=r.length;t<n;t++){const n=r[t],u=this._data.get(n);null==u?console.error("If you see this, report it please."):e[n]||(i.push(n),o.push(u),this._ids.delete(n))}this.length+=n.length-i.length,n.length&&this._trigger("add",{items:n}),i.length&&this._trigger("remove",{items:i,oldData:o})}get(t,r){if(null==this._data)return null;let e,n=null;om(t)||ff(t)?(n=t,e=r):e=t;const i=Cl({},this._options,e),o=Xs(this._options),u=e&&Xs(e);return o&&u&&(i.filter=t=>o(t)&&u(t)),null==n?this._data.get(i):this._data.get(n,i)}getIds(t){if(this._data.length){const r=Xs(this._options),e=null!=t?Xs(t):null;let n;return n=e?r?t=>r(t)&&e(t):e:r,this._data.getIds({filter:n,order:t&&t.order})}return[]}forEach(t,r){if(this._data){var e;const n=Xs(this._options),i=r&&Xs(r);let o;o=i?n?function(t){return n(t)&&i(t)}:i:n,qf(e=this._data).call(e,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var e;const n=Xs(this._options),i=r&&Xs(r);let o;return o=i?n?t=>n(t)&&i(t):i:n,Zs(e=this._data).call(e,t,{filter:o,order:r&&r.order})}return[]}getDataSet(){return this._data.getDataSet()}stream(t){var r;return this._data.stream(t||{[Jg]:hs(r=yg(this._ids)).call(r,this._ids)})}dispose(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);const r="This data view has already been disposed of.",e={get:()=>{throw new Error(r)},set:()=>{throw new Error(r)},configurable:!1};for(const t of $c(r_.prototype))Gd(this,t,e)}_onEvent(t,r,e){if(!r||!r.items||!this._data)return;const n=r.items,i=[],o=[],u=[],a=[],s=[],c=[];switch(t){case"add":for(let t=0,r=n.length;t<r;t++){const r=n[t];this.get(r)&&(this._ids.add(r),i.push(r))}break;case"update":for(let t=0,e=n.length;t<e;t++){const e=n[t];this.get(e)?this._ids.has(e)?(o.push(e),s.push(r.data[t]),a.push(r.oldData[t])):(this._ids.add(e),i.push(e)):this._ids.has(e)&&(this._ids.delete(e),u.push(e),c.push(r.oldData[t]))}break;case"remove":for(let t=0,e=n.length;t<e;t++){const e=n[t];this._ids.has(e)&&(this._ids.delete(e),u.push(e),c.push(r.oldData[t]))}}this.length+=i.length-u.length,i.length&&this._trigger("add",{items:i},e),o.length&&this._trigger("update",{items:o,oldData:a,data:s},e),u.length&&this._trigger("remove",{items:u,oldData:c},e)}}function e_(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof r.add&&"function"==typeof r.clear&&"function"==typeof r.distinct&&"function"==typeof qf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.max&&"function"==typeof r.min&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.remove&&"function"==typeof r.setOptions&&"function"==typeof r.stream&&"function"==typeof r.update&&"function"==typeof r.updateOnly}function n_(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof qf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&e_(t,r.getDataSet())}console.warn("You're running a development build.");export{_v as DELETE,t_ as DataSet,Kb as DataStream,r_ as DataView,um as Queue,yc as createNewDataPipeFrom,e_ as isDataSetLike,n_ as isDataViewLike};
|
|
33
|
+
function Fh(){return Fh=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},Fh.apply(this,arguments)}function Lh(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function zh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Uh,qh="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),e=1;e<arguments.length;e++){var n=arguments[e];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])}return r}:Object.assign,Wh=["","webkit","Moz","MS","ms","o"],Yh="undefined"==typeof document?{style:{}}:document.createElement("div"),Xh=Math.round,Bh=Math.abs,Vh=Date.now;function Gh(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),o=0;o<Wh.length;){if((n=(e=Wh[o])?e+i:r)in t)return n;o++}}Uh="undefined"==typeof window?{}:window;var Hh=Gh(Yh.style,"touchAction"),Jh=void 0!==Hh;var Kh="compute",Qh="auto",Zh="manipulation",$h="none",tp="pan-x",rp="pan-y",ep=function(){if(!Jh)return!1;var t={},r=Uh.CSS&&Uh.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=!r||Uh.CSS.supports("touch-action",e)}),t}(),np="ontouchstart"in Uh,ip=void 0!==Gh(Uh,"PointerEvent"),op=np&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),up="touch",ap="mouse",sp=16,cp=24,fp=["x","y"],lp=["clientX","clientY"];function hp(t,r,e){var n;if(t)if(t.forEach)t.forEach(r,e);else if(void 0!==t.length)for(n=0;n<t.length;)r.call(e,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&r.call(e,t[n],n,t)}function pp(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function vp(t,r){return t.indexOf(r)>-1}var dp=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Kh&&(t=this.compute()),Jh&&this.manager.element.style&&ep[t]&&(this.manager.element.style[Hh]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return hp(this.manager.recognizers,function(r){pp(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(vp(t,$h))return $h;var r=vp(t,tp),e=vp(t,rp);return r&&e?$h:r||e?r?tp:rp:vp(t,Zh)?Zh:Qh}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,e=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var n=this.actions,i=vp(n,$h)&&!ep[$h],o=vp(n,rp)&&!ep[rp],u=vp(n,tp)&&!ep[tp];if(i){var a=1===t.pointers.length,s=t.distance<2,c=t.deltaTime<250;if(a&&s&&c)return}if(!u||!o)return i||o&&6&e||u&&e&cp?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function yp(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function gp(t){var r=t.length;if(1===r)return{x:Xh(t[0].clientX),y:Xh(t[0].clientY)};for(var e=0,n=0,i=0;i<r;)e+=t[i].clientX,n+=t[i].clientY,i++;return{x:Xh(e/r),y:Xh(n/r)}}function mp(t){for(var r=[],e=0;e<t.pointers.length;)r[e]={clientX:Xh(t.pointers[e].clientX),clientY:Xh(t.pointers[e].clientY)},e++;return{timeStamp:Vh(),pointers:r,center:gp(r),deltaX:t.deltaX,deltaY:t.deltaY}}function bp(t,r,e){e||(e=fp);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return Math.sqrt(n*n+i*i)}function _p(t,r,e){e||(e=fp);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return 180*Math.atan2(i,n)/Math.PI}function wp(t,r){return t===r?1:Bh(t)>=Bh(r)?t<0?2:4:r<0?8:sp}function Sp(t,r,e){return{x:r/t||0,y:e/t||0}}function Tp(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=mp(r)),i>1&&!e.firstMultiple?e.firstMultiple=mp(r):1===i&&(e.firstMultiple=!1);var o=e.firstInput,u=e.firstMultiple,a=u?u.center:o.center,s=r.center=gp(n);r.timeStamp=Vh(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=_p(a,s),r.distance=bp(a,s),function(t,r){var e=r.center,n=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};1!==r.eventType&&4!==o.eventType||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y}),r.deltaX=i.x+(e.x-n.x),r.deltaY=i.y+(e.y-n.y)}(e,r),r.offsetDirection=wp(r.deltaX,r.deltaY);var c,f,l=Sp(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=Bh(l.x)>Bh(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,bp((f=n)[0],f[1],lp)/bp(c[0],c[1],lp)):1,r.rotation=u?function(t,r){return _p(r[1],r[0],lp)+_p(t[1],t[0],lp)}(u.pointers,n):0,r.maxPointers=e.prevInput?r.pointers.length>e.prevInput.maxPointers?r.pointers.length:e.prevInput.maxPointers:r.pointers.length,function(t,r){var e,n,i,o,u=t.lastInterval||r,a=r.timeStamp-u.timeStamp;if(8!==r.eventType&&(a>25||void 0===u.velocity)){var s=r.deltaX-u.deltaX,c=r.deltaY-u.deltaY,f=Sp(a,s,c);n=f.x,i=f.y,e=Bh(f.x)>Bh(f.y)?f.x:f.y,o=wp(s,c),t.lastInterval=r}else e=u.velocity,n=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=e,r.velocityX=n,r.velocityY=i,r.direction=o}(e,r);var h,p=t.element,v=r.srcEvent;yp(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function Op(t,r,e){var n=e.pointers.length,i=e.changedPointers.length,o=1&r&&n-i===0,u=12&r&&n-i===0;e.isFirst=!!o,e.isFinal=!!u,o&&(t.session={}),e.eventType=r,Tp(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function Ep(t){return t.trim().split(/\s+/g)}function Ap(t,r,e){hp(Ep(r),function(r){t.addEventListener(r,e,!1)})}function Ip(t,r,e){hp(Ep(r),function(r){t.removeEventListener(r,e,!1)})}function Pp(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var jp=function(){function t(t,r){var e=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){pp(t.options.enable,[t])&&e.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Ap(this.element,this.evEl,this.domHandler),this.evTarget&&Ap(this.target,this.evTarget,this.domHandler),this.evWin&&Ap(Pp(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Ip(this.element,this.evEl,this.domHandler),this.evTarget&&Ip(this.target,this.evTarget,this.domHandler),this.evWin&&Ip(Pp(this.element),this.evWin,this.domHandler)},t}();function xp(t,r,e){if(t.indexOf&&!e)return t.indexOf(r);for(var n=0;n<t.length;){if(e&&t[n][e]==r||!e&&t[n]===r)return n;n++}return-1}var Dp={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},kp={2:up,3:"pen",4:ap,5:"kinect"},Cp="pointerdown",Mp="pointermove pointerup pointercancel";Uh.MSPointerEvent&&!Uh.PointerEvent&&(Cp="MSPointerDown",Mp="MSPointerMove MSPointerUp MSPointerCancel");var Np=function(t){function r(){var e,n=r.prototype;return n.evEl=Cp,n.evWin=Mp,(e=t.apply(this,arguments)||this).store=e.manager.session.pointerEvents=[],e}return Lh(r,t),r.prototype.handler=function(t){var r=this.store,e=!1,n=t.type.toLowerCase().replace("ms",""),i=Dp[n],o=kp[t.pointerType]||t.pointerType,u=o===up,a=xp(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(e=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),e&&r.splice(a,1))},r}(jp);function Rp(t){return Array.prototype.slice.call(t,0)}function Fp(t,r,e){for(var n=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];xp(i,u)<0&&n.push(t[o]),i[o]=u,o++}return e&&(n=r?n.sort(function(t,e){return t[r]>e[r]}):n.sort()),n}var Lp={touchstart:1,touchmove:2,touchend:4,touchcancel:8},zp=function(t){function r(){var e;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).targetIds={},e}return Lh(r,t),r.prototype.handler=function(t){var r=Lp[t.type],e=Up.call(this,t,r);e&&this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:up,srcEvent:t})},r}(jp);function Up(t,r){var e,n,i=Rp(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=Rp(t.changedTouches),a=[],s=this.target;if(n=i.filter(function(t){return yp(t.target,s)}),1===r)for(e=0;e<n.length;)o[n[e].identifier]=!0,e++;for(e=0;e<u.length;)o[u[e].identifier]&&a.push(u[e]),12&r&&delete o[u[e].identifier],e++;return a.length?[Fp(n.concat(a),"identifier",!0),a]:void 0}var qp={mousedown:1,mousemove:2,mouseup:4},Wp=function(t){function r(){var e,n=r.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(e=t.apply(this,arguments)||this).pressed=!1,e}return Lh(r,t),r.prototype.handler=function(t){var r=qp[t.type];1&r&&0===t.button&&(this.pressed=!0),2&r&&1!==t.which&&(r=4),this.pressed&&(4&r&&(this.pressed=!1),this.callback(this.manager,r,{pointers:[t],changedPointers:[t],pointerType:ap,srcEvent:t}))},r}(jp);function Yp(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var e={x:r.clientX,y:r.clientY},n=this.lastTouches;this.lastTouches.push(e);setTimeout(function(){var t=n.indexOf(e);t>-1&&n.splice(t,1)},2500)}}function Xp(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,Yp.call(this,r)):12&t&&Yp.call(this,r)}function Bp(t){for(var r=t.srcEvent.clientX,e=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var i=this.lastTouches[n],o=Math.abs(r-i.x),u=Math.abs(e-i.y);if(o<=25&&u<=25)return!0}return!1}var Vp=function(){return function(t){function r(r,e){var n;return(n=t.call(this,r,e)||this).handler=function(t,r,e){var i=e.pointerType===up,o=e.pointerType===ap;if(!(o&&e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents)){if(i)Xp.call(zh(zh(n)),r,e);else if(o&&Bp.call(zh(zh(n)),e))return;n.callback(t,r,e)}},n.touch=new zp(n.manager,n.handler),n.mouse=new Wp(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return Lh(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(jp)}();function Gp(t,r,e){return!!Array.isArray(t)&&(hp(t,e[r],e),!0)}var Hp=32,Jp=1;function Kp(t,r){var e=r.manager;return e?e.get(t):t}function Qp(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Zp=function(){function t(t){void 0===t&&(t={}),this.options=Fh({enable:!0},t),this.id=Jp++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return qh(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(Gp(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=Kp(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return Gp(t,"dropRecognizeWith",this)||(t=Kp(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(Gp(t,"requireFailure",this))return this;var r=this.requireFail;return-1===xp(r,t=Kp(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(Gp(t,"dropRequireFailure",this))return this;t=Kp(t,this);var r=xp(this.requireFail,t);return r>-1&&this.requireFail.splice(r,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},r.emit=function(t){var r=this,e=this.state;function n(e){r.manager.emit(e,t)}e<8&&n(r.options.event+Qp(e)),n(r.options.event),t.additionalEvent&&n(t.additionalEvent),e>=8&&n(r.options.event+Qp(e))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Hp},r.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},r.recognize=function(t){var r=qh({},t);if(!pp(this.options.enable,[this,r]))return this.reset(),void(this.state=Hp);56&this.state&&(this.state=1),this.state=this.process(r),30&this.state&&this.tryEmit(r)},r.process=function(t){},r.getTouchAction=function(){},r.reset=function(){},t}(),$p=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Fh({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this).pTime=!1,e.pCenter=!1,e._timer=null,e._input=null,e.count=0,e}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[Zh]},e.process=function(t){var r=this,e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&n){if(4!==t.eventType)return this.failTimeout();var u=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||bp(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&u?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=setTimeout(function(){r.state=8,r.tryEmit()},e.interval),2):8}return Hp},e.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=Hp},this.options.interval),Hp},e.reset=function(){clearTimeout(this._timer)},e.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},r}(Zp),tv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({pointers:1},r))||this}Lh(r,t);var e=r.prototype;return e.attrTest=function(t){var r=this.options.pointers;return 0===r||t.pointers.length===r},e.process=function(t){var r=this.state,e=t.eventType,n=6&r,i=this.attrTest(t);return n&&(8&e||!i)?16|r:n||i?4&e?8|r:2&r?4|r:2:Hp},r}(Zp);function rv(t){return t===sp?"down":8===t?"up":2===t?"left":4===t?"right":""}var ev=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Fh({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,e.pY=null,e}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push(rp),t&cp&&r.push(tp),r},e.directionTest=function(t){var r=this.options,e=!0,n=t.distance,i=t.direction,o=t.deltaX,u=t.deltaY;return i&r.direction||(6&r.direction?(i=0===o?1:o<0?2:4,e=o!==this.pX,n=Math.abs(t.deltaX)):(i=0===u?1:u<0?8:sp,e=u!==this.pY,n=Math.abs(t.deltaY))),t.direction=i,e&&n>r.threshold&&i&r.direction},e.attrTest=function(t){return tv.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},e.emit=function(r){this.pX=r.deltaX,this.pY=r.deltaY;var e=rv(r.direction);e&&(r.additionalEvent=this.options.event+e),t.prototype.emit.call(this,r)},r}(tv),nv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){return ev.prototype.getTouchAction.call(this)},e.attrTest=function(r){var e,n=this.options.direction;return 30&n?e=r.overallVelocity:6&n?e=r.overallVelocityX:n&cp&&(e=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&n&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&Bh(e)>this.options.velocity&&4&r.eventType},e.emit=function(t){var r=rv(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(tv),iv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"pinch",threshold:0,pointers:2},r))||this}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[$h]},e.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.scale-1)>this.options.threshold||2&this.state)},e.emit=function(r){if(1!==r.scale){var e=r.scale<1?"in":"out";r.additionalEvent=this.options.event+e}t.prototype.emit.call(this,r)},r}(tv),ov=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"rotate",threshold:0,pointers:2},r))||this}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[$h]},e.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(tv),uv=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Fh({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,e._input=null,e}Lh(r,t);var e=r.prototype;return e.getTouchAction=function(){return[Qh]},e.process=function(t){var r=this,e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout(function(){r.state=8,r.tryEmit()},e.time);else if(4&t.eventType)return 8;return Hp},e.reset=function(){clearTimeout(this._timer)},e.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Vh(),this.manager.emit(this.options.event,this._input)))},r}(Zp),av={domEvents:!1,touchAction:Kh,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},sv=[[ov,{enable:!1}],[iv,{enable:!1},["rotate"]],[nv,{direction:6}],[ev,{direction:6},["swipe"]],[$p],[$p,{event:"doubletap",taps:2},["tap"]],[uv]];function cv(t,r){var e,n=t.element;n.style&&(hp(t.options.cssProps,function(i,o){e=Gh(n.style,o),r?(t.oldCssProps[e]=n.style[e],n.style[e]=i):n.style[e]=t.oldCssProps[e]||""}),r||(t.oldCssProps={}))}var fv=function(){function t(t,r){var e,n=this;this.options=qh({},av,r||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((e=this).options.inputClass||(ip?Np:op?zp:np?Vp:Wp))(e,Op),this.touchAction=new dp(this,this.options.touchAction),cv(this,!0),hp(this.options.recognizers,function(t){var r=n.add(new t[0](t[1]));t[2]&&r.recognizeWith(t[2]),t[3]&&r.requireFailure(t[3])},this)}var r=t.prototype;return r.set=function(t){return qh(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},r.stop=function(t){this.session.stopped=t?2:1},r.recognize=function(t){var r=this.session;if(!r.stopped){var e;this.touchAction.preventDefaults(t);var n=this.recognizers,i=r.curRecognizer;(!i||i&&8&i.state)&&(r.curRecognizer=null,i=null);for(var o=0;o<n.length;)e=n[o],2===r.stopped||i&&e!==i&&!e.canRecognizeWith(i)?e.reset():e.recognize(t),!i&&14&e.state&&(r.curRecognizer=e,i=e),o++}},r.get=function(t){if(t instanceof Zp)return t;for(var r=this.recognizers,e=0;e<r.length;e++)if(r[e].options.event===t)return r[e];return null},r.add=function(t){if(Gp(t,"add",this))return this;var r=this.get(t.options.event);return r&&this.remove(r),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},r.remove=function(t){if(Gp(t,"remove",this))return this;var r=this.get(t);if(t){var e=this.recognizers,n=xp(e,r);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},r.on=function(t,r){if(void 0===t||void 0===r)return this;var e=this.handlers;return hp(Ep(t),function(t){e[t]=e[t]||[],e[t].push(r)}),this},r.off=function(t,r){if(void 0===t)return this;var e=this.handlers;return hp(Ep(t),function(t){r?e[t]&&e[t].splice(xp(e[t],r),1):delete e[t]}),this},r.emit=function(t,r){this.options.domEvents&&function(t,r){var e=document.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=r,r.target.dispatchEvent(e)}(t,r);var e=this.handlers[t]&&this.handlers[t].slice();if(e&&e.length){r.type=t,r.preventDefault=function(){r.srcEvent.preventDefault()};for(var n=0;n<e.length;)e[n](r),n++}},r.destroy=function(){this.element&&cv(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),lv={touchstart:1,touchmove:2,touchend:4,touchcancel:8},hv=function(t){function r(){var e,n=r.prototype;return n.evTarget="touchstart",n.evWin="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).started=!1,e}return Lh(r,t),r.prototype.handler=function(t){var r=lv[t.type];if(1===r&&(this.started=!0),this.started){var e=pv.call(this,t,r);12&r&&e[0].length-e[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:up,srcEvent:t})}},r}(jp);function pv(t,r){var e=Rp(t.touches),n=Rp(t.changedTouches);return 12&r&&(e=Fp(e.concat(n),"identifier",!0)),[e,n]}function vv(t,r,e){var n="DEPRECATED METHOD: "+r+"\n"+e+" AT \n";return function(){var r=new Error("get-stack-trace"),e=r&&r.stack?r.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,n,e),t.apply(this,arguments)}}var dv=vv(function(t,r,e){for(var n=Object.keys(r),i=0;i<n.length;)(!e||e&&void 0===t[n[i]])&&(t[n[i]]=r[n[i]]),i++;return t},"extend","Use `assign`."),yv=vv(function(t,r){return dv(t,r,!0)},"merge","Use `assign`.");function gv(t,r,e){var n,i=r.prototype;(n=t.prototype=Object.create(i)).constructor=t,n._super=i,e&&qh(n,e)}function mv(t,r){return function(){return t.apply(r,arguments)}}var bv=function(){var t=function(t,r){return void 0===r&&(r={}),new fv(t,Fh({recognizers:sv.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=sp,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=cp,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=sp,t.INPUT_START=1,t.INPUT_MOVE=2,t.INPUT_END=4,t.INPUT_CANCEL=8,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=Hp,t.Manager=fv,t.Input=jp,t.TouchAction=dp,t.TouchInput=zp,t.MouseInput=Wp,t.PointerEventInput=Np,t.TouchMouseInput=Vp,t.SingleTouchInput=hv,t.Recognizer=Zp,t.AttrRecognizer=tv,t.Tap=$p,t.Pan=ev,t.Swipe=nv,t.Pinch=iv,t.Rotate=ov,t.Press=uv,t.on=Ap,t.off=Ip,t.each=hp,t.merge=yv,t.extend=dv,t.bindFn=mv,t.assign=qh,t.inherit=gv,t.bindFn=mv,t.prefixed=Gh,t.toArray=Rp,t.inArray=xp,t.uniqueArray=Fp,t.splitStr=Ep,t.boolOrFn=pp,t.hasParent=yp,t.addEventListeners=Ap,t.removeEventListeners=Ip,t.defaults=qh({},av,{preset:sv}),t}();const _v=Pc("DELETE");function wv(){const t=Sv(...arguments);return Ov(t),t}function Sv(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];if(r.length<2)return r[0];if(r.length>2)return Sv(wv(r[0],r[1]),...Wc(r).call(r,2));const n=r[0],i=r[1];if(n instanceof Date&&i instanceof Date)return n.setTime(i.getTime()),n;for(const t of $c(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===_v?delete n[t]:null===n[t]||null===i[t]||"object"!=typeof n[t]||"object"!=typeof i[t]||ff(n[t])||ff(i[t])?n[t]=Tv(i[t]):n[t]=Sv(n[t],i[t]));return n}function Tv(t){return ff(t)?Zs(t).call(t,t=>Tv(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):Sv({},t):t}function Ov(t){for(const r of Ef(t))t[r]===_v?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&Ov(t[r])}const Ev="undefined"!=typeof window?window.Hammer||bv:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Av(t){var r;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(()=>{this._dom.overlay.parentNode.removeChild(this._dom.overlay)});const e=Ev(this._dom.overlay);e.on("tap",hs(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{e.destroy()});const n=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Uf(n).call(n,t=>{e.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=r=>{(function(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1})(r.target,t)||this.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(()=>{document.body.removeEventListener("click",this._onClick)})),this._escListener=t=>{("key"in t?"Escape"===t.key:27===t.keyCode)&&this.deactivate()}}var Iv,Pv,jv,xv,Dv,kv;function Cv(){return Pv?Iv:(Pv=1,Li(),Iv=At().Object.getOwnPropertySymbols)}function Mv(){return xv?jv:(xv=1,jv=Cv())}Rh(Av.prototype),Av.current=null,Av.prototype.destroy=function(){this.deactivate();for(const e of il(t=_l(r=this._cleanupQueue).call(r,0)).call(t)){var t,r;e()}},Av.prototype.activate=function(){Av.current&&Av.current.deactivate(),Av.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Av.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Av.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var Nv,Rv,Fv,Lv,zv,Uv,qv=r(kv?Dv:(kv=1,Dv=Mv())),Wv={exports:{}},Yv={};function Xv(){if(Rv)return Wv.exports;Rv=1,function(){if(Nv)return Yv;Nv=1;var t=Zr(),r=w(),e=Ot(),n=Er().f,i=C();t({target:"Object",stat:!0,forced:!i||r(function(){n(1)}),sham:!i},{getOwnPropertyDescriptor:function(t,r){return n(e(t),r)}})}();var t=At().Object,r=Wv.exports=function(r,e){return t.getOwnPropertyDescriptor(r,e)};return t.getOwnPropertyDescriptor.sham&&(r.sham=!0),Wv.exports}function Bv(){return Lv?Fv:(Lv=1,Fv=Xv())}var Vv,Gv,Hv,Jv,Kv,Qv,Zv,$v=r(Uv?zv:(Uv=1,zv=Bv())),td={};function rd(){return Hv?Gv:(Hv=1,function(){if(Vv)return td;Vv=1;var t=Zr(),r=C(),e=Yc(),n=Ot(),i=Er(),o=We();t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var r,u,a=n(t),s=i.f,c=e(a),f={},l=0;c.length>l;)void 0!==(u=s(a,r=c[l++]))&&o(f,r,u);return f}})}(),Gv=At().Object.getOwnPropertyDescriptors)}function ed(){return Kv?Jv:(Kv=1,Jv=rd())}var nd,id,od,ud,ad,sd,cd=r(Zv?Qv:(Zv=1,Qv=ed())),fd={exports:{}},ld={};function hd(){if(nd)return ld;nd=1;var t=Zr(),r=C(),e=jn().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!r},{defineProperties:e}),ld}function pd(){if(id)return fd.exports;id=1,hd();var t=At().Object,r=fd.exports=function(r,e){return t.defineProperties(r,e)};return t.defineProperties.sham&&(r.sham=!0),fd.exports}function vd(){return ud?od:(ud=1,od=pd())}var dd,yd,gd=r(sd?ad:(sd=1,ad=vd()));var md,bd,_d,wd,Sd,Td,Od,Ed,Ad,Id,Pd,jd,xd,Dd,kd,Cd,Md,Nd,Rd,Fd,Ld,zd,Ud,qd,Wd,Yd,Xd,Bd,Vd,Gd=r(yd?dd:(yd=1,dd=re())),Hd={},Jd={exports:{}};function Kd(){return bd?md:(bd=1,md=w()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function Qd(){if(wd)return _d;wd=1;var t=w(),r=Et(),e=E(),n=Kd(),i=Object.isExtensible,o=t(function(){});return _d=o||n?function(t){return!!r(t)&&((!n||"ArrayBuffer"!==e(t))&&(!i||i(t)))}:i}function Zd(){return Td?Sd:(Td=1,Sd=!w()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function $d(){if(Od)return Jd.exports;Od=1;var t=Zr(),r=O(),e=En(),n=Et(),i=mr(),o=Kr().f,u=Nn(),a=qn(),s=Qd(),c=br(),f=Zd(),l=!1,h=c("meta"),p=0,v=function(t){o(t,h,{value:{objectID:"O"+p++,weakData:{}}})},d=Jd.exports={enable:function(){d.enable=function(){},l=!0;var e=u.f,n=r([].splice),i={};i[h]=1,e(i).length&&(u.f=function(t){for(var r=e(t),i=0,o=r.length;i<o;i++)if(r[i]===h){n(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,h)){if(!s(t))return"F";if(!r)return"E";v(t)}return t[h].objectID},getWeakData:function(t,r){if(!i(t,h)){if(!s(t))return!0;if(!r)return!1;v(t)}return t[h].weakData},onFreeze:function(t){return f&&l&&s(t)&&!i(t,h)&&v(t),t}};return e[h]=!0,Jd.exports}function ty(){if(Ad)return Ed;Ad=1;var t=_r(),r=Ko(),e=t("iterator"),n=Array.prototype;return Ed=function(t){return void 0!==t&&(r.Array===t||n[e]===t)}}function ry(){if(Pd)return Id;Pd=1;var t=Xe(),r=Rt(),e=St(),n=Ko(),i=_r()("iterator");return Id=function(o){if(!e(o))return r(o,i)||r(o,"@@iterator")||n[t(o)]}}function ey(){if(xd)return jd;xd=1;var t=M(),r=Nt(),e=Jr(),n=Mt(),i=ry(),o=TypeError;return jd=function(u,a){var s=arguments.length<2?i(u):a;if(r(s))return e(t(s,u));throw new o(n(u)+" is not iterable")},jd}function ny(){if(kd)return Dd;kd=1;var t=M(),r=Jr(),e=Rt();return Dd=function(n,i,o){var u,a;r(n);try{if(!(u=e(n,"return"))){if("throw"===i)throw o;return o}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o},Dd}function iy(){if(Md)return Cd;Md=1;var t=Ir(),r=M(),e=Jr(),n=Mt(),i=ty(),o=Ue(),u=Pt(),a=ey(),s=ry(),c=ny(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return Cd=function(p,v,d){var y,g,m,b,_,w,S,T=d&&d.that,O=!(!d||!d.AS_ENTRIES),E=!(!d||!d.IS_RECORD),A=!(!d||!d.IS_ITERATOR),I=!(!d||!d.INTERRUPTED),P=t(v,T),j=function(t){return y&&c(y,"normal"),new l(!0,t)},x=function(t){return O?(e(t),I?P(t[0],t[1],j):P(t[0],t[1])):I?P(t,j):P(t)};if(E)y=p.iterator;else if(A)y=p;else{if(!(g=s(p)))throw new f(n(p)+" is not iterable");if(i(g)){for(m=0,b=o(p);b>m;m++)if((_=x(p[m]))&&u(h,_))return _;return new l(!1)}y=a(p,g)}for(w=E?p.next:y.next;!(S=r(w,y)).done;){try{_=x(S.value)}catch(t){c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},Cd}function oy(){if(Rd)return Nd;Rd=1;var t=Pt(),r=TypeError;return Nd=function(e,n){if(t(n,e))return e;throw new r("Incorrect invocation")}}function uy(){if(Ld)return Fd;Ld=1;var t=Zr(),r=_(),e=$d(),n=w(),i=Qr(),o=iy(),u=oy(),a=I(),s=Et(),c=St(),f=mi(),l=Kr().f,h=wi().forEach,p=C(),v=_i(),d=v.set,y=v.getterFor;return Fd=function(v,g,m){var b,_=-1!==v.indexOf("Map"),w=-1!==v.indexOf("Weak"),S=_?"set":"add",T=r[v],O=T&&T.prototype,E={};if(p&&a(T)&&(w||O.forEach&&!n(function(){(new T).entries().next()}))){var A=(b=g(function(t,r){d(u(t,A),{type:v,collection:new T}),c(r)||o(r,t[S],{that:t,AS_ENTRIES:_})})).prototype,I=y(v);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in O)||w&&"clear"===t||i(A,t,function(e,n){var i=I(this).collection;if(!r&&w&&!s(e))return"get"===t&&void 0;var o=i[t](0===e?0:e,n);return r?this:o})}),w||l(A,"size",{configurable:!0,get:function(){return I(this).collection.size}})}else b=m.getConstructor(g,v,_,S),e.enable();return f(b,v,!1,!0),E[v]=b,t({global:!0,forced:!0},E),w||m.setStrong(b,v,_),b}}function ay(){if(Ud)return zd;Ud=1;var t=Jn();return zd=function(r,e,n){for(var i in e)n&&n.unsafe&&r[i]?r[i]=e[i]:t(r,i,e[i],n);return r}}function sy(){if(Wd)return qd;Wd=1;var t=It(),r=Kn(),e=_r(),n=C(),i=e("species");return qd=function(e){var o=t(e);n&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function cy(){if(Xd)return Yd;Xd=1;var t=kn(),r=Kn(),e=ay(),n=Ir(),i=oy(),o=St(),u=iy(),a=uu(),s=au(),c=sy(),f=C(),l=$d().fastKey,h=_i(),p=h.set,v=h.getterFor;return Yd={getConstructor:function(a,s,c,h){var d=a(function(r,e){i(r,y),p(r,{type:s,index:t(null),first:null,last:null,size:0}),f||(r.size=0),o(e)||u(e,r[h],{that:r,AS_ENTRIES:c})}),y=d.prototype,g=v(s),m=function(t,r,e){var n,i,o=g(t),u=b(t,r);return u?u.value=e:(o.last=u={index:i=l(r,!0),key:r,value:e,previous:n=o.last,next:null,removed:!1},o.first||(o.first=u),n&&(n.next=u),f?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},b=function(t,r){var e,n=g(t),i=l(r);if("F"!==i)return n.index[i];for(e=n.first;e;e=e.next)if(e.key===r)return e};return e(y,{clear:function(){for(var r=g(this),e=r.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;r.first=r.last=null,r.index=t(null),f?r.size=0:this.size=0},delete:function(t){var r=this,e=g(r),n=b(r,t);if(n){var i=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),e.first===n&&(e.first=i),e.last===n&&(e.last=o),f?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=g(this),i=n(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:e.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!b(this,t)}}),e(y,c?{get:function(t){var r=b(this,t);return r&&r.value},set:function(t,r){return m(this,0===t?0:t,r)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),f&&r(y,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(t,r,e){var n=r+" Iterator",i=v(r),o=v(n);a(t,r,function(t,r){p(this,{type:n,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?s("keys"===r?e.key:"values"===r?e.value:[e.key,e.value],!1):(t.target=null,s(void 0,!0))},e?"entries":"values",!e,!0),c(r)}},Yd}function fy(){return Vd||(Vd=1,Bd||(Bd=1,uy()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),Hd}var ly,hy,py,vy,dy,yy,gy,my,by,_y,wy,Sy={};function Ty(){return hy?ly:(hy=1,ly=function(t,r){return 1===r?function(r,e){return r[t](e)}:function(r,e,n){return r[t](e,n)}})}function Oy(){if(vy)return py;vy=1;var t=It(),r=Ty(),e=t("Map");return py={Map:e,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:e.prototype}}function Ey(){return gy?yy:(gy=1,su(),fy(),function(){if(dy)return Sy;dy=1;var t=Zr(),r=O(),e=Nt(),n=Tt(),i=iy(),o=Oy(),u=pr(),a=w(),s=o.Map,c=o.has,f=o.get,l=o.set,h=r([].push),p=u||a(function(){return 1!==s.groupBy("ab",function(t){return t}).get("a").length});t({target:"Map",stat:!0,forced:u||p},{groupBy:function(t,r){n(t),e(r);var o=new s,u=0;return i(t,function(t){var e=r(t,u++);c(o,e)?h(f(o,e),t):l(o,e,[t])}),o}})}(),ia(),yy=At().Map)}function Ay(){if(by)return my;by=1;var t=Ey();return fu(),my=t}var Iy,Py,jy,xy,Dy,ky,Cy,My,Ny,Ry=r(wy?_y:(wy=1,_y=Ay())),Fy={};function Ly(){return jy?Py:(jy=1,function(){if(Iy)return Fy;Iy=1;var t=Zr(),r=wi().some;t({target:"Array",proto:!0,forced:!ds()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Py=Ba()("Array","some"))}function zy(){if(Dy)return xy;Dy=1;var t=Pt(),r=Ly(),e=Array.prototype;return xy=function(n){var i=n.some;return n===e||t(e,n)&&i===e.some?r:i}}function Uy(){return Cy?ky:(Cy=1,ky=zy())}var qy,Wy,Yy,Xy,By,Vy,Gy,Hy,Jy=r(Ny?My:(Ny=1,My=Uy()));function Ky(){return Wy?qy:(Wy=1,su(),qy=Ba()("Array","keys"))}function Qy(){return Xy?Yy:(Xy=1,Yy=Ky())}function Zy(){if(Vy)return By;Vy=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Qy(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return By=function(u){var a=u.keys;return u===i||e(i,u)&&a===i.keys||r(o,t(u))?n:a}}var $y,tg,rg,eg,ng,ig,og,ug,ag,sg,cg,fg,lg,hg,pg,vg,dg,yg=r(Hy?Gy:(Hy=1,Gy=Zy())),gg={};function mg(){if(tg)return $y;tg=1;var t=Un(),r=Math.floor,e=function(n,i){var o=n.length;if(o<8)for(var u,a,s=1;s<o;){for(a=s,u=n[s];a&&i(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=r(o/2),f=e(t(n,0,c),i),l=e(t(n,c),i),h=f.length,p=l.length,v=0,d=0;v<h||d<p;)n[v+d]=v<h&&d<p?i(f[v],l[d])<=0?f[v++]:l[d++]:v<h?f[v++]:l[d++];return n};return $y=e}function bg(){if(eg)return rg;eg=1;var t=jt().match(/firefox\/(\d+)/i);return rg=!!t&&+t[1]}function _g(){return ig?ng:(ig=1,ng=/MSIE|Trident/.test(jt()))}function wg(){if(ug)return og;ug=1;var t=jt().match(/AppleWebKit\/(\d+)\./);return og=!!t&&+t[1]}function Sg(){if(ag)return gg;ag=1;var t=Zr(),r=O(),e=Nt(),n=gr(),i=Ue(),o=al(),u=rn(),a=w(),s=mg(),c=ds(),f=bg(),l=_g(),h=xt(),p=wg(),v=[],d=r(v.sort),y=r(v.push),g=a(function(){v.sort(void 0)}),m=a(function(){v.sort(null)}),b=c("sort"),_=!a(function(){if(h)return h<70;if(!(f&&f>3)){if(l)return!0;if(p)return p<603;var t,r,e,n,i="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)v.push({k:r+n,v:e})}for(v.sort(function(t,r){return r.v-t.v}),n=0;n<v.length;n++)r=v[n].k.charAt(0),i.charAt(i.length-1)!==r&&(i+=r);return"DGBEFHACIJK"!==i}});return t({target:"Array",proto:!0,forced:g||!m||!b||!_},{sort:function(t){void 0!==t&&e(t);var r=n(this);if(_)return void 0===t?d(r):d(r,t);var a,c,f=[],l=i(r);for(c=0;c<l;c++)c in r&&y(f,r[c]);for(s(f,function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:u(r)>u(e)?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),gg}function Tg(){return cg?sg:(cg=1,Sg(),sg=Ba()("Array","sort"))}function Og(){if(lg)return fg;lg=1;var t=Pt(),r=Tg(),e=Array.prototype;return fg=function(n){var i=n.sort;return n===e||t(e,n)&&i===e.sort?r:i}}function Eg(){return pg?hg:(pg=1,hg=Og())}var Ag,Ig,Pg,jg,xg,Dg,kg,Cg,Mg=r(dg?vg:(dg=1,vg=Eg()));function Ng(){return Ig?Ag:(Ig=1,su(),Ag=Ba()("Array","values"))}function Rg(){return jg?Pg:(jg=1,Pg=Ng())}function Fg(){if(Dg)return xg;Dg=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Rg(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return xg=function(u){var a=u.values;return u===i||e(i,u)&&a===i.values||r(o,t(u))?n:a}}var Lg,zg,Ug=r(Cg?kg:(Cg=1,kg=Fg()));var qg,Wg,Yg,Xg,Bg,Vg,Gg,Hg,Jg=r(zg?Lg:(zg=1,Lg=ua()));function Kg(){return Wg?qg:(Wg=1,su(),qg=Ba()("Array","entries"))}function Qg(){return Xg?Yg:(Xg=1,Yg=Kg())}function Zg(){if(Vg)return Bg;Vg=1,fu();var t=Xe(),r=mr(),e=Pt(),n=Qg(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Bg=function(u){var a=u.entries;return u===i||e(i,u)&&a===i.entries||r(o,t(u))?n:a}}var $g=r(Hg?Gg:(Hg=1,Gg=Zg()));const tm=[];for(let t=0;t<256;++t)tm.push((t+256).toString(16).slice(1));let rm;const em=new Uint8Array(16);var nm={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function im(t,r,e){const n=(t=t||{}).random??t.rng?.()??function(){if(!rm){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");rm=crypto.getRandomValues.bind(crypto)}return rm(em)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=15&n[6]|64,n[8]=63&n[8]|128,function(t,r=0){return(tm[t[r+0]]+tm[t[r+1]]+tm[t[r+2]]+tm[t[r+3]]+"-"+tm[t[r+4]]+tm[t[r+5]]+"-"+tm[t[r+6]]+tm[t[r+7]]+"-"+tm[t[r+8]]+tm[t[r+9]]+"-"+tm[t[r+10]]+tm[t[r+11]]+tm[t[r+12]]+tm[t[r+13]]+tm[t[r+14]]+tm[t[r+15]]).toLowerCase()}(n)}function om(t){return"string"==typeof t||"number"==typeof t}class um{constructor(t){ja(this,"_queue",[]),ja(this,"_timeout",null),ja(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(t)}setOptions(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}static extend(t,r){const e=new um(r);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=()=>{e.flush()};const n=[{name:"flush",original:void 0}];if(r&&r.replace)for(let i=0;i<r.replace.length;i++){const o=r.replace[i];n.push({name:o,original:t[o]}),e.replace(t,o)}return e._extended={object:t,methods:n},e}destroy(){if(this.flush(),this._extended){const t=this._extended.object,r=this._extended.methods;for(let e=0;e<r.length;e++){const n=r[e];n.original?t[n.name]=n.original:delete t[n.name]}this._extended=null}}replace(t,r){const e=this,n=t[r];if(!n)throw new Error("Method "+r+" undefined");t[r]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];e.queue({args:r,fn:n,context:this})}}queue(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}_flushIfNeeded(){this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"==typeof this.delay&&(this._timeout=Ch(()=>{this.flush()},this.delay))}flush(){var t,r;Uf(t=_l(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}class am{constructor(){ja(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),ja(this,"subscribe",am.prototype.on),ja(this,"unsubscribe",am.prototype.off)}_trigger(t,r,e){var n;if("*"===t)throw new Error("Cannot trigger event *");Uf(n=[...this._subscribers[t],...this._subscribers["*"]]).call(n,n=>{n(t,r,null!=e?e:null)})}on(t,r){"function"==typeof r&&this._subscribers[t].push(r)}off(t,r){var e;this._subscribers[t]=Xs(e=this._subscribers[t]).call(e,t=>t!==r)}}var sm,cm,fm={};function lm(){return cm||(cm=1,sm||(sm=1,uy()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),fm}var hm,pm,vm,dm,ym,gm,mm,bm,_m,wm,Sm,Tm,Om,Em,Am,Im,Pm,jm,xm,Dm,km,Cm={};function Mm(){if(pm)return hm;pm=1;var t=Mt(),r=TypeError;return hm=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw new r(t(e)+" is not a set")}}function Nm(){if(dm)return vm;dm=1;var t=It(),r=Ty(),e=t("Set"),n=e.prototype;return vm={Set:e,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:n}}function Rm(){if(gm)return ym;gm=1;var t=M();return ym=function(r,e,n){for(var i,o,u=n?r:r.iterator,a=r.next;!(i=t(a,u)).done;)if(void 0!==(o=e(i.value)))return o},ym}function Fm(){if(bm)return mm;bm=1;var t=Rm();return mm=function(r,e,n){return n?t(r.keys(),e,!0):r.forEach(e)},mm}function Lm(){if(wm)return _m;wm=1;var t=Nm(),r=Fm(),e=t.Set,n=t.add;return _m=function(t){var i=new e;return r(t,function(t){n(i,t)}),i},_m}function zm(){return Tm||(Tm=1,Sm=function(t){return t.size}),Sm}function Um(){return Em?Om:(Em=1,Om=function(t){return{iterator:t,next:t.next,done:!1}})}function qm(){if(Im)return Am;Im=1;var t=Nt(),r=Jr(),e=M(),n=Le(),i=Um(),o="Invalid size",u=RangeError,a=TypeError,s=Math.max,c=function(r,e){this.set=r,this.size=s(e,0),this.has=t(r.has),this.keys=t(r.keys)};return c.prototype={getIterator:function(){return i(r(e(this.keys,this.set)))},includes:function(t){return e(this.has,this.set,t)}},Am=function(t){r(t);var e=+t.size;if(e!=e)throw new a(o);var i=n(e);if(i<0)throw new u(o);return new c(t,i)}}function Wm(){if(jm)return Pm;jm=1;var t=Mm(),r=Nm(),e=Lm(),n=zm(),i=qm(),o=Fm(),u=Rm(),a=r.has,s=r.remove;return Pm=function(r){var c=t(this),f=i(r),l=e(c);return n(c)<=f.size?o(c,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function Ym(){return Dm?xm:(Dm=1,xm=function(){return!1})}var Xm,Bm,Vm,Gm={};function Hm(){if(Bm)return Xm;Bm=1;var t=Mm(),r=Nm(),e=zm(),n=qm(),i=Fm(),o=Rm(),u=r.Set,a=r.add,s=r.has;return Xm=function(r){var c=t(this),f=n(r),l=new u;return e(c)>f.size?o(f.getIterator(),function(t){s(c,t)&&a(l,t)}):i(c,function(t){f.includes(t)&&a(l,t)}),l}}var Jm,Km,Qm,Zm={};function $m(){if(Km)return Jm;Km=1;var t=Mm(),r=Nm().has,e=zm(),n=qm(),i=Fm(),o=Rm(),u=ny();return Jm=function(a){var s=t(this),c=n(a);if(e(s)<=c.size)return!1!==i(s,function(t){if(c.includes(t))return!1},!0);var f=c.getIterator();return!1!==o(f,function(t){if(r(s,t))return u(f,"normal",!1)})},Jm}var tb,rb,eb,nb={};function ib(){if(rb)return tb;rb=1;var t=Mm(),r=zm(),e=Fm(),n=qm();return tb=function(i){var o=t(this),u=n(i);return!(r(o)>u.size)&&!1!==e(o,function(t){if(!u.includes(t))return!1},!0)}}var ob,ub,ab,sb={};function cb(){if(ub)return ob;ub=1;var t=Mm(),r=Nm().has,e=zm(),n=qm(),i=Rm(),o=ny();return ob=function(u){var a=t(this),s=n(u);if(e(a)<s.size)return!1;var c=s.getIterator();return!1!==i(c,function(t){if(!r(a,t))return o(c,"normal",!1)})},ob}var fb,lb,hb,pb,vb,db={};function yb(){if(lb)return fb;lb=1;var t=Mm(),r=Nm(),e=Lm(),n=qm(),i=Rm(),o=r.add,u=r.has,a=r.remove;return fb=function(r){var s=t(this),c=n(r).getIterator(),f=e(s);return i(c,function(t){u(s,t)?a(f,t):o(f,t)}),f}}function gb(){return pb?hb:(pb=1,hb=function(t){try{var r=new Set,e={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},n=r[t](e);return 1===n.size&&4===n.values().next().value}catch(t){return!1}})}var mb,bb,_b,wb,Sb,Tb,Ob,Eb,Ab,Ib={};function Pb(){if(bb)return mb;bb=1;var t=Mm(),r=Nm().add,e=Lm(),n=qm(),i=Rm();return mb=function(o){var u=t(this),a=n(o).getIterator(),s=e(u);return i(a,function(t){r(s,t)}),s}}function jb(){return Sb?wb:(Sb=1,su(),lm(),function(){if(km)return Cm;km=1;var t=Zr(),r=Wm(),e=w();t({target:"Set",proto:!0,real:!0,forced:!Ym()("difference",function(t){return 0===t.size})||e(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var e=t++>1;return r.has(1)&&r.clear(),{done:e,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size})},{difference:r})}(),function(){if(Vm)return Gm;Vm=1;var t=Zr(),r=w(),e=Hm();t({target:"Set",proto:!0,real:!0,forced:!Ym()("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||r(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:e})}(),function(){if(Qm)return Zm;Qm=1;var t=Zr(),r=$m();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(eb)return nb;eb=1;var t=Zr(),r=ib();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(ab)return sb;ab=1;var t=Zr(),r=cb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(vb)return db;vb=1;var t=Zr(),r=yb(),e=gb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("symmetricDifference")||!e("symmetricDifference")},{symmetricDifference:r})}(),function(){if(_b)return Ib;_b=1;var t=Zr(),r=Pb(),e=gb();t({target:"Set",proto:!0,real:!0,forced:!Ym()("union")||!e("union")},{union:r})}(),ia(),wb=At().Set)}function xb(){if(Ob)return Tb;Ob=1;var t=jb();return fu(),Tb=t}var Db,kb,Cb,Mb,Nb,Rb,Fb,Lb,zb,Ub,qb,Wb,Yb=r(Ab?Eb:(Ab=1,Eb=xb()));function Xb(){return kb?Db:(kb=1,su(),ia(),Db=ey())}function Bb(){if(Mb)return Cb;Mb=1;var t=Xb();return fu(),Cb=t}function Vb(){return Rb?Nb:(Rb=1,Nb=Bb())}function Gb(){return Lb?Fb:(Lb=1,Fb=Vb())}function Hb(){return Ub?zb:(Ub=1,zb=Gb())}var Jb=r(Wb?qb:(Wb=1,qb=Hb()));class Kb{constructor(t){this._pairs=t}*[Jg](){for(const[t,r]of this._pairs)yield[t,r]}*entries(){for(const[t,r]of this._pairs)yield[t,r]}*keys(){for(const[t]of this._pairs)yield t}*values(){for(const[,t]of this._pairs)yield t}toIdArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=uh(null);for(const[r,e]of this._pairs)t[r]=e;return t}toMap(){return new Ry(this._pairs)}toIdSet(){return new Yb(this.toIdArray())}toItemSet(){return new Yb(this.toItemArray())}cache(){return new Kb([...this._pairs])}distinct(t){const r=new Yb;for(const[e,n]of this._pairs)r.add(t(n,e));return r}filter(t){const r=this._pairs;return new Kb({*[Jg](){for(const[e,n]of r)t(n,e)&&(yield[e,n])}})}forEach(t){for(const[r,e]of this._pairs)t(e,r)}map(t){const r=this._pairs;return new Kb({*[Jg](){for(const[e,n]of r)yield[e,t(n,e)]}})}max(t){const r=Jb(this._pairs);let e=r.next();if(e.done)return null;let n=e.value[1],i=t(e.value[1],e.value[0]);for(;!(e=r.next()).done;){const[r,o]=e.value,u=t(o,r);u>i&&(i=u,n=o)}return n}min(t){const r=Jb(this._pairs);let e=r.next();if(e.done)return null;let n=e.value[1],i=t(e.value[1],e.value[0]);for(;!(e=r.next()).done;){const[r,o]=e.value,u=t(o,r);u<i&&(i=u,n=o)}return n}reduce(t,r){for(const[e,n]of this._pairs)r=t(r,n,e);return r}sort(t){return new Kb({[Jg]:()=>{var r;return Jb(Mg(r=[...this._pairs]).call(r,(r,e)=>{let[n,i]=r,[o,u]=e;return t(i,u,n,o)}))}})}}function Qb(t,r){var e=Ef(t);if(qv){var n=qv(t);r&&(n=Xs(n).call(n,function(r){return $v(t,r).enumerable})),e.push.apply(e,n)}return e}function Zb(t){for(var r=1;r<arguments.length;r++){var e,n,i=null!=arguments[r]?arguments[r]:{};r%2?Uf(e=Qb(Object(i),!0)).call(e,function(r){ja(t,r,i[r])}):cd?gd(t,cd(i)):Uf(n=Qb(Object(i))).call(n,function(r){Gd(t,r,$v(i,r))})}return t}function $b(t,r){var e;return null==t[r]&&(t[r]=nm.randomUUID&&!e?nm.randomUUID():im(e)),t}class t_ extends am{get idProp(){return this._idProp}constructor(t,r){super(),ja(this,"_queue",null),t&&!ff(t)&&(r=t,t=[]),this._options=r||{},this._data=new Ry,this.length=0,this._idProp=this._options.fieldId||"id",t&&t.length&&this.add(t),this.setOptions(r)}setOptions(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=um.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"==typeof t.queue&&this._queue.setOptions(t.queue)))}add(t,r){const e=[];let n;if(ff(t)){const r=Zs(t).call(t,t=>t[this._idProp]);if(Jy(r).call(r,t=>this._data.has(t)))throw new Error("A duplicate id was found in the parameter array.");for(let r=0,i=t.length;r<i;r++)n=this._addItem(t[r]),e.push(n)}else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");n=this._addItem(t),e.push(n)}return e.length&&this._trigger("add",{items:e},r),e}update(t,r){const e=[],n=[],i=[],o=[],u=this._idProp,a=t=>{const r=t[u];if(null!=r&&this._data.has(r)){const e=t,u=Cl({},this._data.get(r)),a=this._updateItem(e);n.push(a),o.push(e),i.push(u)}else{const r=this._addItem(t);e.push(r)}};if(ff(t))for(let r=0,e=t.length;r<e;r++)t[r]&&"object"==typeof t[r]?a(t[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");a(t)}if(e.length&&this._trigger("add",{items:e},r),n.length){const t={items:n,oldData:i,data:o};this._trigger("update",t,r)}return Xl(e).call(e,n)}updateOnly(t,r){var e;ff(t)||(t=[t]);const n=Zs(e=Zs(t).call(t,t=>{const r=this._data.get(t[this._idProp]);if(null==r)throw new Error("Updating non-existent items is not allowed.");return{oldData:r,update:t}})).call(e,t=>{let{oldData:r,update:e}=t;const n=r[this._idProp],i=function(t){for(var r=arguments.length,e=new Array(r>1?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return wv({},t,...e)}(r,e);return this._data.set(n,i),{id:n,oldData:r,updatedData:i}});if(n.length){const t={items:Zs(n).call(n,t=>t.id),oldData:Zs(n).call(n,t=>t.oldData),data:Zs(n).call(n,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let e,n,i;om(t)?(e=t,i=r):ff(t)?(n=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&Xs(i),a=[];let s,c,f;if(null!=e)s=this._data.get(e),s&&u&&!u(s)&&(s=void 0);else if(null!=n)for(let t=0,r=n.length;t<r;t++)s=this._data.get(n[t]),null==s||u&&!u(s)||a.push(s);else{var l;c=[...yg(l=this._data).call(l)];for(let t=0,r=c.length;t<r;t++)f=c[t],s=this._data.get(f),null==s||u&&!u(s)||a.push(s)}if(i&&i.order&&null==e&&this._sort(a,i.order),i&&i.fields){const t=i.fields;if(null!=e&&null!=s)s=this._filterFields(s,t);else for(let r=0,e=a.length;r<e;r++)a[r]=this._filterFields(a[r],t)}if("Object"==o){const t={};for(let r=0,e=a.length;r<e;r++){const e=a[r];t[e[this._idProp]]=e}return t}return null!=e?null!=s?s:null:a}getIds(t){const r=this._data,e=t&&Xs(t),n=t&&t.order,i=[...yg(r).call(r)],o=[];if(e)if(n){const t=[];for(let r=0,n=i.length;r<n;r++){const n=i[r],o=this._data.get(n);null!=o&&e(o)&&t.push(o)}this._sort(t,n);for(let r=0,e=t.length;r<e;r++)o.push(t[r][this._idProp])}else for(let t=0,r=i.length;t<r;t++){const r=i[t],n=this._data.get(r);null!=n&&e(n)&&o.push(n[this._idProp])}else if(n){const t=[];for(let e=0,n=i.length;e<n;e++){const n=i[e];t.push(r.get(n))}this._sort(t,n);for(let r=0,e=t.length;r<e;r++)o.push(t[r][this._idProp])}else for(let t=0,e=i.length;t<e;t++){const e=i[t],n=r.get(e);null!=n&&o.push(n[this._idProp])}return o}getDataSet(){return this}forEach(t,r){const e=r&&Xs(r),n=this._data,i=[...yg(n).call(n)];if(r&&r.order){const e=this.get(r);for(let r=0,n=e.length;r<n;r++){const n=e[r];t(n,n[this._idProp])}}else for(let r=0,n=i.length;r<n;r++){const n=i[r],o=this._data.get(n);null==o||e&&!e(o)||t(o,n)}}map(t,r){const e=r&&Xs(r),n=[],i=this._data,o=[...yg(i).call(i)];for(let r=0,i=o.length;r<i;r++){const i=o[r],u=this._data.get(i);null==u||e&&!e(u)||n.push(t(u,i))}return r&&r.order&&this._sort(n,r.order),n}_filterFields(t,r){var e;return t?xs(e=ff(r)?r:Ef(r)).call(e,(r,e)=>(r[e]=t[e],r),{}):t}_sort(t,r){if("string"==typeof r){const e=r;Mg(t).call(t,(t,r)=>{const n=t[e],i=r[e];return n>i?1:n<i?-1:0})}else{if("function"!=typeof r)throw new TypeError("Order must be a function or a string");Mg(t).call(t,r)}}remove(t,r){const e=[],n=[],i=ff(t)?t:[t];for(let t=0,r=i.length;t<r;t++){const r=this._remove(i[t]);if(r){const t=r[this._idProp];null!=t&&(e.push(t),n.push(r))}}return e.length&&this._trigger("remove",{items:e,oldData:n},r),e}_remove(t){let r;if(om(t)?r=t:t&&"object"==typeof t&&(r=t[this._idProp]),null!=r&&this._data.has(r)){const t=this._data.get(r)||null;return this._data.delete(r),--this.length,t}return null}clear(t){var r;const e=[...yg(r=this._data).call(r)],n=[];for(let t=0,r=e.length;t<r;t++)n.push(this._data.get(e[t]));return this._data.clear(),this.length=0,this._trigger("remove",{items:e,oldData:n},t),e}max(t){let r=null,e=null;for(const i of Ug(n=this._data).call(n)){var n;const o=i[t];"number"==typeof o&&(null==e||o>e)&&(r=i,e=o)}return r||null}min(t){let r=null,e=null;for(const i of Ug(n=this._data).call(n)){var n;const o=i[t];"number"==typeof o&&(null==e||o<e)&&(r=i,e=o)}return r||null}distinct(t){const r=this._data,e=[...yg(r).call(r)],n=[];let i=0;for(let o=0,u=e.length;o<u;o++){const u=e[o],a=r.get(u)[t];let s=!1;for(let t=0;t<i;t++)if(n[t]==a){s=!0;break}s||void 0===a||(n[i]=a,i++)}return n}_addItem(t){const r=$b(t,this._idProp),e=r[this._idProp];if(this._data.has(e))throw new Error("Cannot add item: item with id "+e+" already exists");return this._data.set(e,r),++this.length,e}_updateItem(t){const r=t[this._idProp];if(null==r)throw new Error("Cannot update item: item has no id (item: "+mh(t)+")");const e=this._data.get(r);if(!e)throw new Error("Cannot update item: no item with id "+r+" found");return this._data.set(r,Zb(Zb({},e),t)),r}stream(t){if(t){const r=this._data;return new Kb({*[Jg](){for(const e of t){const t=r.get(e);null!=t&&(yield[e,t])}}})}var r;return new Kb({[Jg]:hs(r=$g(this._data)).call(r,this._data)})}}class r_ extends am{get idProp(){return this.getDataSet().idProp}constructor(t,r){var e;super(),ja(this,"length",0),ja(this,"_ids",new Yb),this._options=r||{},this._listener=hs(e=this._onEvent).call(e,this),this.setData(t)}setData(t){if(this._data){this._data.off&&this._data.off("*",this._listener);const t=this._data.getIds({filter:Xs(this._options)}),r=this._data.get(t);this._ids.clear(),this.length=0,this._trigger("remove",{items:t,oldData:r})}if(null!=t){this._data=t;const r=this._data.getIds({filter:Xs(this._options)});for(let t=0,e=r.length;t<e;t++){const e=r[t];this._ids.add(e)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new t_;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:Xs(this._options)}),r=[...this._ids],e={},n=[],i=[],o=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];e[i]=!0,this._ids.has(i)||(n.push(i),this._ids.add(i))}for(let t=0,n=r.length;t<n;t++){const n=r[t],u=this._data.get(n);null==u?console.error("If you see this, report it please."):e[n]||(i.push(n),o.push(u),this._ids.delete(n))}this.length+=n.length-i.length,n.length&&this._trigger("add",{items:n}),i.length&&this._trigger("remove",{items:i,oldData:o})}get(t,r){if(null==this._data)return null;let e,n=null;om(t)||ff(t)?(n=t,e=r):e=t;const i=Cl({},this._options,e),o=Xs(this._options),u=e&&Xs(e);return o&&u&&(i.filter=t=>o(t)&&u(t)),null==n?this._data.get(i):this._data.get(n,i)}getIds(t){if(this._data.length){const r=Xs(this._options),e=null!=t?Xs(t):null;let n;return n=e?r?t=>r(t)&&e(t):e:r,this._data.getIds({filter:n,order:t&&t.order})}return[]}forEach(t,r){if(this._data){var e;const n=Xs(this._options),i=r&&Xs(r);let o;o=i?n?function(t){return n(t)&&i(t)}:i:n,Uf(e=this._data).call(e,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var e;const n=Xs(this._options),i=r&&Xs(r);let o;return o=i?n?t=>n(t)&&i(t):i:n,Zs(e=this._data).call(e,t,{filter:o,order:r&&r.order})}return[]}getDataSet(){return this._data.getDataSet()}stream(t){var r;return this._data.stream(t||{[Jg]:hs(r=yg(this._ids)).call(r,this._ids)})}dispose(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);const r="This data view has already been disposed of.",e={get:()=>{throw new Error(r)},set:()=>{throw new Error(r)},configurable:!1};for(const t of $c(r_.prototype))Gd(this,t,e)}_onEvent(t,r,e){if(!r||!r.items||!this._data)return;const n=r.items,i=[],o=[],u=[],a=[],s=[],c=[];switch(t){case"add":for(let t=0,r=n.length;t<r;t++){const r=n[t];this.get(r)&&(this._ids.add(r),i.push(r))}break;case"update":for(let t=0,e=n.length;t<e;t++){const e=n[t];this.get(e)?this._ids.has(e)?(o.push(e),s.push(r.data[t]),a.push(r.oldData[t])):(this._ids.add(e),i.push(e)):this._ids.has(e)&&(this._ids.delete(e),u.push(e),c.push(r.oldData[t]))}break;case"remove":for(let t=0,e=n.length;t<e;t++){const e=n[t];this._ids.has(e)&&(this._ids.delete(e),u.push(e),c.push(r.oldData[t]))}}this.length+=i.length-u.length,i.length&&this._trigger("add",{items:i},e),o.length&&this._trigger("update",{items:o,oldData:a,data:s},e),u.length&&this._trigger("remove",{items:u,oldData:c},e)}}function e_(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof r.add&&"function"==typeof r.clear&&"function"==typeof r.distinct&&"function"==typeof Uf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.max&&"function"==typeof r.min&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.remove&&"function"==typeof r.setOptions&&"function"==typeof r.stream&&"function"==typeof r.update&&"function"==typeof r.updateOnly}function n_(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof Uf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&e_(t,r.getDataSet())}export{_v as DELETE,t_ as DataSet,Kb as DataStream,r_ as DataView,um as Queue,yc as createNewDataPipeFrom,e_ as isDataSetLike,n_ as isDataViewLike};
|
|
34
34
|
//# sourceMappingURL=vis-data.min.js.map
|