vis-data 8.0.5 → 8.0.6

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.
Files changed (45) hide show
  1. package/dist/esm.js +5692 -7644
  2. package/dist/esm.js.map +1 -1
  3. package/dist/umd.js +5692 -7644
  4. package/dist/umd.js.map +1 -1
  5. package/esnext/esm/vis-data.js +2 -2
  6. package/esnext/esm/vis-data.min.js +2 -2
  7. package/esnext/esm/vis-data.min.mjs +2 -2
  8. package/esnext/esm/vis-data.mjs +2 -2
  9. package/esnext/umd/vis-data.cjs +2 -2
  10. package/esnext/umd/vis-data.js +2 -2
  11. package/esnext/umd/vis-data.min.cjs +2 -2
  12. package/esnext/umd/vis-data.min.js +2 -2
  13. package/package.json +11 -10
  14. package/peer/esm/vis-data.js +3345 -4581
  15. package/peer/esm/vis-data.js.map +1 -1
  16. package/peer/esm/vis-data.min.js +4 -4
  17. package/peer/esm/vis-data.min.js.map +1 -1
  18. package/peer/esm/vis-data.min.mjs +4 -4
  19. package/peer/esm/vis-data.min.mjs.map +1 -1
  20. package/peer/esm/vis-data.mjs +3345 -4581
  21. package/peer/esm/vis-data.mjs.map +1 -1
  22. package/peer/umd/vis-data.cjs +3345 -4581
  23. package/peer/umd/vis-data.cjs.map +1 -1
  24. package/peer/umd/vis-data.js +3345 -4581
  25. package/peer/umd/vis-data.js.map +1 -1
  26. package/peer/umd/vis-data.min.cjs +4 -4
  27. package/peer/umd/vis-data.min.cjs.map +1 -1
  28. package/peer/umd/vis-data.min.js +4 -4
  29. package/peer/umd/vis-data.min.js.map +1 -1
  30. package/standalone/esm/vis-data.js +3345 -4581
  31. package/standalone/esm/vis-data.js.map +1 -1
  32. package/standalone/esm/vis-data.min.js +4 -4
  33. package/standalone/esm/vis-data.min.js.map +1 -1
  34. package/standalone/esm/vis-data.min.mjs +4 -4
  35. package/standalone/esm/vis-data.min.mjs.map +1 -1
  36. package/standalone/esm/vis-data.mjs +3345 -4581
  37. package/standalone/esm/vis-data.mjs.map +1 -1
  38. package/standalone/umd/vis-data.cjs +3345 -4581
  39. package/standalone/umd/vis-data.cjs.map +1 -1
  40. package/standalone/umd/vis-data.js +3345 -4581
  41. package/standalone/umd/vis-data.js.map +1 -1
  42. package/standalone/umd/vis-data.min.cjs +4 -4
  43. package/standalone/umd/vis-data.min.cjs.map +1 -1
  44. package/standalone/umd/vis-data.min.js +4 -4
  45. 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.5
8
- * @date 2026-08-06T17:35:20.924Z
7
+ * @version 8.0.6
8
+ * @date 2026-10-25T07:21:35.919Z
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
- !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).vis=t.vis||{})}(this,function(t){var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m,b={exports:{}},_={};function w(){if(i)return e;i=1;var t=function(t){return t&&t.Math===Math&&t};return e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||t("object"==typeof e&&e)||function(){return this}()||Function("return this")()}function S(){return u?o:(u=1,o=function(t){try{return!!t()}catch(t){return!0}})}function O(){return s?a:(s=1,a=!S()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function T(){if(f)return c;f=1;var t=O(),r=Function.prototype,n=r.apply,e=r.call;return c="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),c}function E(){if(h)return l;h=1;var t=O(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return l=t?e:function(t){return function(){return n.apply(t,arguments)}},l}function A(){if(v)return p;v=1;var t=E(),r=t({}.toString),n=t("".slice);return p=function(t){return n(r(t),8,-1)}}function I(){if(y)return d;y=1;var t=A(),r=E();return d=function(n){if("Function"===t(n))return r(n)}}function j(){if(m)return g;m=1;var t="object"==typeof document&&document.all;return g=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}var x,P,D,k,C={};function M(){return P?x:(P=1,x=!S()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function N(){if(k)return D;k=1;var t=O(),r=Function.prototype.call;return D=t?r.bind(r):function(){return r.apply(r,arguments)},D}var R,F,L,z,q,U,W,Y,X,B,V,G,J,H,K,Q,$,Z,tt,rt,nt,et,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt,bt={};function _t(){if(R)return bt;R=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return bt.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,bt}function wt(){return L?F:(L=1,F=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function St(){if(q)return z;q=1;var t=E(),r=S(),n=A(),e=Object,i=t("".split);return z=r(function(){return!e("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?i(t,""):e(t)}:e}function Ot(){return W?U:(W=1,U=function(t){return null==t})}function Tt(){if(X)return Y;X=1;var t=Ot(),r=TypeError;return Y=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function Et(){if(V)return B;V=1;var t=St(),r=Tt();return B=function(n){return t(r(n))}}function At(){if(J)return G;J=1;var t=j();return G=function(r){return"object"==typeof r?null!==r:t(r)}}function It(){return K?H:(K=1,H={})}function jt(){if($)return Q;$=1;var t=It(),r=w(),n=j(),e=function(t){return n(t)?t:void 0};return Q=function(n,i){return arguments.length<2?e(t[n])||e(r[n]):t[n]&&t[n][i]||r[n]&&r[n][i]},Q}function xt(){return tt?Z:(tt=1,Z=E()({}.isPrototypeOf))}function Pt(){if(nt)return rt;nt=1;var t=w().navigator,r=t&&t.userAgent;return rt=r?String(r):""}function Dt(){if(it)return et;it=1;var t,r,n=w(),e=Pt(),i=n.process,o=n.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&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),et=r}function kt(){if(ut)return ot;ut=1;var t=Dt(),r=S(),n=w().String;return ot=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),ot}function Ct(){return st?at:(st=1,at=kt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Mt(){if(ft)return ct;ft=1;var t=jt(),r=j(),n=xt(),e=Object;return ct=Ct()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&n(o.prototype,e(i))}}function Nt(){if(ht)return lt;ht=1;var t=String;return lt=function(r){try{return t(r)}catch(t){return"Object"}}}function Rt(){if(vt)return pt;vt=1;var t=j(),r=Nt(),n=TypeError;return pt=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Ft(){if(yt)return dt;yt=1;var t=Rt(),r=Ot();return dt=function(n,e){var i=n[e];return r(i)?void 0:t(i)}}function Lt(){if(mt)return gt;mt=1;var t=N(),r=j(),n=At(),e=TypeError;return gt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!n(a=t(u,i)))return a;if(r(u=i.valueOf)&&!n(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!n(a=t(u,i)))return a;throw new e("Can't convert object to primitive value")}}var zt,qt,Ut,Wt,Yt,Xt,Bt,Vt,Gt,Jt,Ht,Kt,Qt,$t,Zt,tr,rr,nr,er,ir,or,ur,ar,sr,cr,fr,lr,hr,pr={exports:{}};function vr(){return qt?zt:(qt=1,zt=!0)}function dr(){if(Wt)return Ut;Wt=1;var t=w(),r=Object.defineProperty;return Ut=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function yr(){if(Yt)return pr.exports;Yt=1;var t=vr(),r=w(),n=dr(),e="__core-js_shared__",i=pr.exports=r[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),pr.exports}function gr(){if(Bt)return Xt;Bt=1;var t=yr();return Xt=function(r,n){return t[r]||(t[r]=n||{})}}function mr(){if(Gt)return Vt;Gt=1;var t=Tt(),r=Object;return Vt=function(n){return r(t(n))}}function br(){if(Ht)return Jt;Ht=1;var t=E(),r=mr(),n=t({}.hasOwnProperty);return Jt=Object.hasOwn||function(t,e){return n(r(t),e)}}function _r(){if(Qt)return Kt;Qt=1;var t=E(),r=0,n=Math.random(),e=t(1.1.toString);return Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function wr(){if(Zt)return $t;Zt=1;var t=w(),r=gr(),n=br(),e=_r(),i=kt(),o=Ct(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||e;return $t=function(t){return n(a,t)||(a[t]=i&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Sr(){if(rr)return tr;rr=1;var t=N(),r=At(),n=Mt(),e=Ft(),i=Lt(),o=TypeError,u=wr()("toPrimitive");return tr=function(a,s){if(!r(a)||n(a))return a;var c,f=e(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||n(c))return c;throw new o("Can't convert object to primitive value")}return void 0===s&&(s="number"),i(a,s)}}function Or(){if(er)return nr;er=1;var t=Sr(),r=Mt();return nr=function(n){var e=t(n,"string");return r(e)?e:e+""}}function Tr(){if(or)return ir;or=1;var t=w(),r=At(),n=t.document,e=r(n)&&r(n.createElement);return ir=function(t){return e?n.createElement(t):{}}}function Er(){if(ar)return ur;ar=1;var t=M(),r=S(),n=Tr();return ur=!t&&!r(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Ar(){if(sr)return C;sr=1;var t=M(),r=N(),n=_t(),e=wt(),i=Et(),o=Or(),u=br(),a=Er(),s=Object.getOwnPropertyDescriptor;return C.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 e(!r(n.f,t,c),t[c])},C}function Ir(){if(fr)return cr;fr=1;var t=S(),r=j(),n=/#|\.prototype\./,e=function(n,e){var s=o[i(n)];return s===a||s!==u&&(r(e)?t(e):!!e)},i=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return cr=e}function jr(){if(hr)return lr;hr=1;var t=I(),r=Rt(),n=O(),e=t(t.bind);return lr=function(t,i){return r(t),void 0===i?t:n?e(t,i):function(){return t.apply(i,arguments)}},lr}var xr,Pr,Dr,kr,Cr,Mr,Nr,Rr,Fr,Lr,zr,qr,Ur,Wr,Yr,Xr,Br,Vr,Gr,Jr={};function Hr(){return Pr?xr:(Pr=1,xr=M()&&S()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Kr(){if(kr)return Dr;kr=1;var t=At(),r=String,n=TypeError;return Dr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Qr(){if(Cr)return Jr;Cr=1;var t=M(),r=Er(),n=Hr(),e=Kr(),i=Or(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Jr.f=t?n?function(t,r,n){if(e(t),r=i(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&f in n&&!n[f]){var o=a(t,r);o&&o[f]&&(t[r]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:s in n?n[s]:o[s],writable:!1})}return u(t,r,n)}:u:function(t,n,a){if(e(t),n=i(n),e(a),r)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Jr}function $r(){if(Nr)return Mr;Nr=1;var t=M(),r=Qr(),n=wt();return Mr=t?function(t,e,i){return r.f(t,e,n(1,i))}:function(t,r,n){return t[r]=n,t}}function Zr(){if(Fr)return Rr;Fr=1;var t=w(),r=T(),n=I(),e=j(),i=Ar().f,o=Ir(),u=It(),a=jr(),s=$r(),c=br(),f=function(t){var n=function(e,i,o){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return r(t,this,arguments)};return n.prototype=t.prototype,n};return Rr=function(r,l){var h,p,v,d,y,g,m,b,_,w=r.target,S=r.global,O=r.stat,T=r.proto,E=S?t:O?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+(O?".":"#")+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||T||typeof g!=typeof y)&&(b=r.bind&&p?a(y,t):r.wrap&&p?f(y):T&&e(y)?n(y):y,(r.sham||y&&y.sham||g&&g.sham)&&s(b,"sham",!0),s(A,d,b),T&&(c(u,v=w+"Prototype")||s(u,v,{}),s(u[v],d,y),r.real&&I&&(h||!I[d])&&s(I,d,y)))}}function tn(){if(Lr)return _;Lr=1;var t=Zr(),r=M(),n=Qr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n}),_}function rn(){if(zr)return b.exports;zr=1,tn();var t=It().Object,r=b.exports=function(r,n,e){return t.defineProperty(r,n,e)};return t.defineProperty.sham&&(r.sham=!0),b.exports}function nn(){return Ur?qr:(Ur=1,qr=rn())}function en(){return Yr?Wr:(Yr=1,Wr=nn())}function on(){return Br?Xr:(Br=1,Xr=en())}function un(){return Gr?Vr:(Gr=1,Vr=on())}var an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn,On,Tn,En,An,In,jn,xn,Pn,Dn,kn,Cn,Mn,Nn,Rn,Fn,Ln=n(un()),zn={};function qn(){if(sn)return an;sn=1;var t=A();return an=Array.isArray||function(r){return"Array"===t(r)}}function Un(){if(fn)return cn;fn=1;var t=Math.ceil,r=Math.floor;return cn=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}function Wn(){if(hn)return ln;hn=1;var t=Un();return ln=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function Yn(){if(vn)return pn;vn=1;var t=Wn(),r=Math.min;return pn=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function Xn(){if(yn)return dn;yn=1;var t=Yn();return dn=function(r){return t(r.length)}}function Bn(){if(mn)return gn;mn=1;var t=TypeError;return gn=function(r){if(r>9007199254740991)throw new t("Maximum allowed index exceeded");return r}}function Vn(){if(_n)return bn;_n=1;var t=M(),r=Qr(),n=wt();return bn=function(e,i,o){t?r.f(e,i,n(0,o)):e[i]=o}}function Gn(){if(Sn)return wn;Sn=1;var t=M(),r=qn(),n=TypeError,e=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 wn=i?function(t,i){if(r(t)&&!e(t,"length").writable)throw new n("Cannot set read only .length");return t.length=i}:function(t,r){return t.length=r}}function Jn(){if(Tn)return On;Tn=1;var t={};return t[wr()("toStringTag")]="z",On="[object z]"===String(t)}function Hn(){if(An)return En;An=1;var t=Jn(),r=j(),n=A(),e=wr()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return En=t?n: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),e))?a:o?n(u):"Object"===(s=n(u))&&r(u.callee)?"Arguments":s}}function Kn(){if(jn)return In;jn=1;var t=E(),r=j(),n=yr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),In=n.inspectSource}function Qn(){if(Pn)return xn;Pn=1;var t=E(),r=S(),n=j(),e=Hn(),i=jt(),o=Kn(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,xn=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function $n(){if(kn)return Dn;kn=1;var t=qn(),r=Qn(),n=At(),e=wr()("species"),i=Array;return Dn=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function Zn(){if(Mn)return Cn;Mn=1;var t=$n();return Cn=function(r,n){return new(t(r))(0===n?0:n)}}function te(){if(Rn)return Nn;Rn=1;var t=S(),r=wr(),n=Dt(),e=r("species");return Nn=function(r){return n>=51||!t(function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function re(){if(Fn)return zn;Fn=1;var t=Zr(),r=S(),n=qn(),e=At(),i=mr(),o=Xn(),u=Bn(),a=Vn(),s=Gn(),c=Zn(),f=te(),l=wr(),h=Dt(),p=l("isConcatSpreadable"),v=h>=51||!r(function(){var t=[];return t[p]=!1,t.concat()[0]!==t}),d=function(t){if(!e(t))return!1;var r=t[p];return void 0!==r?!!r:n(t)};return t({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(t){var r,n,e,f,l,h=i(this),p=c(h,0),v=0;for(r=-1,e=arguments.length;r<e;r++)if(d(l=-1===r?h:arguments[r]))for(f=o(l),u(v+f),n=0;n<f;n++,v++)n in l&&a(p,v,l[n]);else u(v+1),a(p,v++,l);return s(p,v),p}}),zn}var ne,ee,ie={},oe={};function ue(){if(ee)return ne;ee=1;var t=Hn(),r=String;return ne=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}var ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Oe,Te,Ee,Ae={};function Ie(){if(se)return ae;se=1;var t=Wn(),r=Math.max,n=Math.min;return ae=function(e,i){var o=t(e);return o<0?r(o+i,0):n(o,i)}}function je(){if(fe)return ce;fe=1;var t=Et(),r=Ie(),n=Xn(),e=function(e){return function(i,o,u){var a=t(i),s=n(a);if(0===s)return!e&&-1;var c,f=r(u,s);if(e&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((e||f in a)&&a[f]===o)return e||f||0;return!e&&-1}};return ce={includes:e(!0),indexOf:e(!1)}}function xe(){return he?le:(he=1,le={})}function Pe(){if(ve)return pe;ve=1;var t=E(),r=br(),n=Et(),e=je().indexOf,i=xe(),o=t([].push);return pe=function(t,u){var a,s=n(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++])&&(~e(f,a)||o(f,a));return f}}function De(){return ye?de:(ye=1,de=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function ke(){if(me)return ge;me=1;var t=Pe(),r=De();return ge=Object.keys||function(n){return t(n,r)}}function Ce(){if(be)return Ae;be=1;var t=M(),r=Hr(),n=Qr(),e=Kr(),i=Et(),o=ke();return Ae.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)n.f(t,u=s[f++],a[u]);return t},Ae}function Me(){return we?_e:(we=1,_e=jt()("document","documentElement"))}function Ne(){if(Oe)return Se;Oe=1;var t=gr(),r=_r(),n=t("keys");return Se=function(t){return n[t]||(n[t]=r(t))}}function Re(){if(Ee)return Te;Ee=1;var t,r=Kr(),n=Ce(),e=De(),i=xe(),o=Me(),u=Tr(),a="prototype",s="script",c=Ne()("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,n,i;p="undefined"!=typeof document?document.domain&&t?h(t):(n=u("iframe"),i="java"+s+":",n.style.display="none",o.appendChild(n),n.src=String(i),(r=n.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=e.length;c--;)delete p[a][e[c]];return p()};return i[c]=!0,Te=Object.create||function(t,e){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===e?i:n.f(i,e)}}var Fe,Le={};function ze(){if(Fe)return Le;Fe=1;var t=Pe(),r=De().concat("length","prototype");return Le.f=Object.getOwnPropertyNames||function(n){return t(n,r)},Le}var qe,Ue,We,Ye={};function Xe(){return Ue?qe:(Ue=1,qe=E()([].slice))}function Be(){if(We)return Ye;We=1;var t=A(),r=Et(),n=ze().f,e=Xe(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Ye.f=function(o){return i&&"Window"===t(o)?function(t){try{return n(t)}catch(t){return e(i)}}(o):n(r(o))},Ye}var Ve,Ge,Je,He,Ke,Qe={};function $e(){return Ve||(Ve=1,Qe.f=Object.getOwnPropertySymbols),Qe}function Ze(){if(Je)return Ge;Je=1;var t=$r();return Ge=function(r,n,e,i){return i&&i.enumerable?r[n]=e:t(r,n,e),r}}function ti(){if(Ke)return He;Ke=1;var t=Qr();return He=function(r,n,e){return t.f(r,n,e)}}var ri,ni,ei,ii,oi,ui,ai,si,ci,fi,li,hi,pi,vi,di,yi,gi={};function mi(){if(ri)return gi;ri=1;var t=wr();return gi.f=t,gi}function bi(){if(ei)return ni;ei=1;var t=It(),r=br(),n=mi(),e=Qr().f;return ni=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||e(o,i,{value:n.f(i)})}}function _i(){if(oi)return ii;oi=1;var t=N(),r=jt(),n=wr(),e=Ze();return ii=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=n("toPrimitive");o&&!o[a]&&e(o,a,function(r){return t(u,this)},{arity:1})}}function wi(){if(ai)return ui;ai=1;var t=Jn(),r=Hn();return ui=t?{}.toString:function(){return"[object "+r(this)+"]"}}function Si(){if(ci)return si;ci=1;var t=Jn(),r=Qr().f,n=$r(),e=br(),i=wi(),o=wr()("toStringTag");return si=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(e(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&n(f,"toString",i))}}function Oi(){if(li)return fi;li=1;var t=w(),r=j(),n=t.WeakMap;return fi=r(n)&&/native code/.test(String(n))}function Ti(){if(pi)return hi;pi=1;var t,r,n,e=Oi(),i=w(),o=At(),u=$r(),a=br(),s=yr(),c=Ne(),f=xe(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(e||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)||{}},n=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]:{}},n=function(t){return a(t,d)}}return hi={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!o(n)||(e=r(n)).type!==t)throw new h("Incompatible receiver, "+t+" required");return e}}}}function Ei(){if(di)return vi;di=1;var t=jr(),r=St(),n=mr(),e=Xn(),i=Zn(),o=Vn(),u=function(u){var a=1===u,s=2===u,c=3===u,f=4===u,l=6===u,h=7===u,p=5===u||l;return function(v,d,y){for(var g,m,b=n(v),_=r(b),w=e(_),S=t(d,y),O=0,T=0,E=a?i(v,w):s||h?i(v,0):void 0;w>O;O++)if((p||O in _)&&(m=S(g=_[O],O,b),u))if(a)o(E,O,m);else if(m)switch(u){case 3:return!0;case 5:return g;case 6:return O;case 2:o(E,T++,g)}else switch(u){case 4:return!1;case 7:o(E,T++,g)}return l?-1:c||f?f:E}};return vi={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}var Ai,Ii,ji,xi={};function Pi(){return Ii?Ai:(Ii=1,Ai=kt()&&!!Symbol.for&&!!Symbol.keyFor)}var Di,ki={};var Ci,Mi,Ni,Ri,Fi,Li,zi,qi={};function Ui(){if(Mi)return Ci;Mi=1;var t=At(),r=Ti().get;return Ci=function(n){if(!t(n))return!1;var e=r(n);return!!e&&"RawJSON"===e.type}}function Wi(){if(Ri)return Ni;Ri=1;var t=E(),r=br(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=t("".charAt),u=t("".slice),a=t(/./.exec),s={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;return Ni=function(t,l){for(var h=!0,p="";l<t.length;){var v=o(t,l);if("\\"===v){var d=u(t,l,l+2);if(r(s,d))p+=s[d],l+=2;else{if("\\u"!==d)throw new n('Unknown escape sequence: "'+d+'"');var y=u(t,l+=2,l+4);if(!a(c,y))throw new n("Bad Unicode escape at: "+l);p+=i(e(y,16)),l+=4}}else{if('"'===v){h=!1,l++;break}if(a(f,v))throw new n("Bad control character in string literal at: "+l);p+=v,l++}}if(h)throw new n("Unterminated string at: "+l);return{value:p,end:l}}}function Yi(){return Li?Fi:(Li=1,Fi=!S()(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t}))}function Xi(){if(zi)return qi;zi=1;var t=Zr(),r=jt(),n=T(),e=N(),i=E(),o=S(),u=qn(),a=j(),s=Ui(),c=Mt(),f=A(),l=ue(),h=Xe(),p=Wi(),v=_r(),d=kt(),y=Yi(),g=String,m=r("JSON","stringify"),b=i(/./.exec),_=i("".charAt),w=i("".charCodeAt),O=i("".replace),I=i("".slice),x=i([].push),P=i(1.1.toString),D=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,M=v(),R=M.length,F=!d||o(function(){var t=r("Symbol")("stringify detection");return"[null]"!==m([t])||"{}"!==m({a:t})||"{}"!==m(Object(t))}),L=o(function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")}),z=F?function(t,r){var i=h(arguments),o=U(r);if(a(o)||void 0!==t&&!c(t))return i[1]=function(t,r){if(a(o)&&(r=e(o,this,g(t),r)),!c(r))return r},n(m,null,i)}:m,q=function(t,r,n){var e=_(n,r-1),i=_(n,r+1);return b(k,t)&&!b(C,i)||b(C,t)&&!b(k,e)?"\\u"+P(w(t,0),16):t},U=function(t){if(a(t))return t;if(u(t)){for(var r=t.length,n=[],e=0;e<r;e++){var i=t[e];"string"==typeof i?x(n,i):"number"!=typeof i&&"Number"!==f(i)&&"String"!==f(i)||x(n,l(i))}var o=n.length,s=!0;return function(t,r){if(s)return s=!1,r;if(u(this))return r;for(var e=0;e<o;e++)if(n[e]===t)return r}}};return m&&t({target:"JSON",stat:!0,arity:3,forced:F||L||!y},{stringify:function(t,r,n){var i=U(r),o=[],u=z(t,function(t,r){var n=a(i)?e(i,this,g(t),r):r;return!y&&s(n)?M+(x(o,n.rawJSON)-1):n},n);if("string"!=typeof u)return u;if(L&&(u=O(u,D,q)),y)return u;for(var c="",f=u.length,l=0;l<f;l++){var h=_(u,l);if('"'===h){var v=p(u,++l).end-1,d=I(u,l,v);c+=I(d,0,R)===M?o[I(d,R)]:'"'+d+'"',l=v}else c+=h}return c}}),qi}var Bi,Vi,Gi={};function Ji(){return Vi||(Vi=1,function(){if(yi)return oe;yi=1;var t=Zr(),r=w(),n=N(),e=E(),i=vr(),o=M(),u=kt(),a=S(),s=br(),c=xt(),f=Kr(),l=Et(),h=Or(),p=ue(),v=wt(),d=Re(),y=ke(),g=ze(),m=Be(),b=$e(),_=Ar(),O=Qr(),T=Ce(),A=_t(),I=Ze(),j=ti(),x=gr(),P=Ne(),D=xe(),k=_r(),C=wr(),R=mi(),F=bi(),L=_i(),z=Si(),q=Ti(),U=Ei().forEach,W=P("hidden"),Y="Symbol",X="prototype",B=q.set,V=q.getterFor(Y),G=Object[X],J=r.Symbol,H=J&&J[X],K=r.RangeError,Q=r.TypeError,$=r.QObject,Z=_.f,tt=O.f,rt=m.f,nt=A.f,et=e([].push),it=x("symbols"),ot=x("op-symbols"),ut=x("wks"),at=!$||!$[X]||!$[X].findChild,st=function(t,r,n){var e=Z(G,r);return e&&delete G[r],tt(t,r,n),e&&t!==G&&tt(G,r,e),t},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 n=it[t]=d(H);return B(n,{type:Y,tag:t,description:r}),o||(n.description=r),n},lt=function(t,r,n){t===G&&lt(ot,r,n),f(t);var e=h(r);return f(n),s(it,e)?(("enumerable"in n?!n.enumerable:!s(t,e)||s(t,W)&&t[W][e])?(s(t,W)||tt(t,W,v(1,d(null))),t[W][e]=!0):(s(t,W)&&t[W][e]&&(t[W][e]=!1),n=d(n,{enumerable:v(0,!1)})),ct(t,e,n)):tt(t,e,n)},ht=function(t,r){f(t);var e=l(r),i=y(e).concat(yt(e));return U(i,function(r){o&&!n(pt,e,r)||lt(t,r,e[r])}),t},pt=function(t){var r=h(t),e=n(nt,this,r);return!(this===G&&s(it,r)&&!s(ot,r))&&(!(e||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||e)},vt=function(t,r){var n=l(t),e=h(r);if(n!==G||!s(it,e)||s(ot,e)){var i=Z(n,e);return!i||!s(it,e)||s(n,W)&&n[W][e]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),n=[];return U(r,function(t){s(it,t)||s(D,t)||et(n,t)}),n},yt=function(t){var r=t===G,n=rt(r?ot:l(t)),e=[];return U(n,function(t){!s(it,t)||r&&!s(G,t)||et(e,it[t])}),e};u||(J=function(){if(c(H,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,e=k(t),i=function(t){var o=void 0===this?r:this;o===G&&n(i,ot,t),s(o,W)&&s(o[W],e)&&(o[W][e]=!1);var u=v(1,t);try{ct(o,e,u)}catch(t){if(!(t instanceof K))throw t;st(o,e,u)}};return o&&at&&ct(G,e,{configurable:!0,set:i}),ft(e,t)},I(H=J[X],"toString",function(){return V(this).tag}),I(J,"withoutSetter",function(t){return ft(k(t),t)}),A.f=pt,O.f=lt,T.f=ht,_.f=vt,g.f=m.f=dt,b.f=yt,R.f=function(t){return ft(C(t),t)},o&&(j(H,"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:J}),U(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(J,Y),D[W]=!0}(),function(){if(ji)return xi;ji=1;var t=Zr(),r=jt(),n=br(),e=ue(),i=gr(),o=Pi(),u=i("string-to-symbol-registry"),a=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{for:function(t){var i=e(t);if(n(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(Di)return ki;Di=1;var t=Zr(),r=br(),n=Mt(),e=Nt(),i=gr(),o=Pi(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!n(t))throw new TypeError(e(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Xi(),function(){if(Bi)return Gi;Bi=1;var t=Zr(),r=kt(),n=S(),e=$e(),i=mr();t({target:"Object",stat:!0,forced:!r||n(function(){e.f(1)})},{getOwnPropertySymbols:function(t){var r=e.f;return r?r(i(t)):[]}})}()),ie}var Hi,Ki={};function Qi(){return Hi||(Hi=1,bi()("asyncDispose")),Ki}var $i;var Zi,to={};function ro(){return Zi||(Zi=1,bi()("dispose")),to}var no;var eo;var io,oo={};function uo(){return io||(io=1,bi()("iterator")),oo}var ao;var so;var co;var fo;var lo;var ho;var po,vo={};function yo(){if(po)return vo;po=1;var t=bi(),r=_i();return t("toPrimitive"),r(),vo}var go,mo={};var bo;var _o,wo,So,Oo={};function To(){return So?wo:(So=1,re(),Ji(),Qi(),$i||($i=1,bi()("asyncIterator")),ro(),no||(no=1,bi()("hasInstance")),eo||(eo=1,bi()("isConcatSpreadable")),uo(),ao||(ao=1,bi()("match")),so||(so=1,bi()("matchAll")),co||(co=1,bi()("replace")),fo||(fo=1,bi()("search")),lo||(lo=1,bi()("species")),ho||(ho=1,bi()("split")),yo(),function(){if(go)return mo;go=1;var t=jt(),r=bi(),n=Si();r("toStringTag"),n(t("Symbol"),"Symbol")}(),bo||(bo=1,bi()("unscopables")),function(){if(_o)return Oo;_o=1;var t=w();Si()(t.JSON,"JSON",!0)}(),wo=It().Symbol)}var Eo,Ao,Io,jo,xo,Po,Do,ko,Co,Mo,No,Ro,Fo,Lo,zo,qo,Uo,Wo,Yo,Xo,Bo,Vo,Go,Jo,Ho,Ko,Qo,$o,Zo,tu,ru,nu,eu,iu={};function ou(){return Ao?Eo:(Ao=1,Eo=function(){})}function uu(){return jo?Io:(jo=1,Io={})}function au(){if(Po)return xo;Po=1;var t=M(),r=br(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,i=r(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&e(n,"name").configurable);return xo={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function su(){return ko?Do:(ko=1,Do=!S()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function cu(){if(Mo)return Co;Mo=1;var t=br(),r=j(),n=mr(),e=Ne(),i=su(),o=e("IE_PROTO"),u=Object,a=u.prototype;return Co=i?u.getPrototypeOf:function(e){var i=n(e);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 fu(){if(Ro)return No;Ro=1;var t,r,n,e=S(),i=j(),o=At(),u=Re(),a=cu(),s=Ze(),c=wr(),f=vr(),l=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(r=a(a(n)))!==Object.prototype&&(t=r):h=!0),!o(t)||e(function(){var r={};return t[l].call(r)!==r})?t={}:f&&(t=u(t)),i(t[l])||s(t,l,function(){return this}),No={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function lu(){if(Lo)return Fo;Lo=1;var t=fu().IteratorPrototype,r=Re(),n=wt(),e=Si(),i=uu(),o=function(){return this};return Fo=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:n(+!c,s)}),e(u,f,!1,!0),i[f]=o,u}}function hu(){if(qo)return zo;qo=1;var t=E(),r=Rt();return zo=function(n,e,i){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(t){}}}function pu(){if(Wo)return Uo;Wo=1;var t=At();return Uo=function(r){return t(r)||null===r}}function vu(){if(Xo)return Yo;Xo=1;var t=pu(),r=String,n=TypeError;return Yo=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function du(){if(Vo)return Bo;Vo=1;var t=hu(),r=At(),n=Tt(),e=vu();return Bo=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 n(t),e(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function yu(){if(Jo)return Go;Jo=1;var t=Zr(),r=N(),n=vr(),e=au(),i=j(),o=lu(),u=cu(),a=du(),s=Si(),c=$r(),f=Ze(),l=wr(),h=uu(),p=fu(),v=e.PROPER,d=e.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Go=function(e,l,p,O,T,E,A){o(p,l,O);var I,j,x,P=function(t){if(t===T&&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=e.prototype,M=C[m]||C["@@iterator"]||T&&C[T],N=!g&&M||P(T),R="Array"===l&&C.entries||M;if(R&&(I=u(R.call(new e)))!==Object.prototype&&I.next&&(n||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,D,!0,!0),n&&(h[D]=S)),v&&T===_&&M&&M.name!==_&&(!n&&d?c(C,"name",_):(k=!0,N=function(){return r(M,this)})),T)if(j={values:P(_),keys:E?N:P(b),entries:P(w)},A)for(x in j)(g||k||!(x in C))&&f(C,x,j[x]);else t({target:l,proto:!0,forced:g||k},j);return n&&!A||C[m]===N||f(C,m,N,{name:T}),h[l]=N,j}}function gu(){return Ko?Ho:(Ko=1,Ho=function(t,r){return{value:t,done:r}})}function mu(){if($o)return Qo;$o=1;var t=Et(),r=ou(),n=uu(),e=Ti(),i=Qr().f,o=yu(),u=gu(),a=vr(),s=M(),c="Array Iterator",f=e.set,l=e.getterFor(c);Qo=o(Array,"Array",function(r,n){f(this,{type:c,target:t(r),index:0,kind:n})},function(){var t=l(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(r[n],!1)}return u([n,r[n]],!1)},"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&s&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Qo}function bu(){return tu?Zo:(tu=1,Zo={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 _u(){if(ru)return iu;ru=1,mu();var t=bu(),r=w(),n=Si(),e=uu();for(var i in t)n(r[i],i),e[i]=e.Array;return iu}function wu(){if(eu)return nu;eu=1;var t=To();return _u(),nu=t}var Su,Ou={};var Tu;var Eu;var Au,Iu,ju;function xu(){if(ju)return Iu;ju=1;var t=wu();return function(){if(Su)return Ou;Su=1;var t=wr(),r=Qr().f,n=t("metadata"),e=Function.prototype;void 0===e[n]&&r(e,n,{value:null})}(),Tu||(Tu=1,Qi()),Eu||(Eu=1,ro()),Au||(Au=1,bi()("metadata")),Iu=t}var Pu,Du,ku;function Cu(){if(Du)return Pu;Du=1;var t=jt(),r=E(),n=t("Symbol"),e=n.keyFor,i=r(n.prototype.valueOf);return Pu=n.isRegisteredSymbol||function(t){try{return void 0!==e(i(t))}catch(t){return!1}}}var Mu,Nu,Ru;function Fu(){if(Nu)return Mu;Nu=1;for(var t=gr(),r=jt(),n=E(),e=Mt(),i=wr(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=n(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];e(o[p])&&i(p)}catch(t){}return Mu=function(t){if(u&&u(t))return!0;try{for(var r=s(t),n=0,e=a(c),i=e.length;n<i;n++)if(c[e[n]]==r)return!0}catch(t){}return!1},Mu}var Lu;var zu;var qu;var Uu;var Wu;var Yu;var Xu;var Bu,Vu,Gu,Ju,Hu;function Ku(){if(Gu)return Vu;Gu=1;var t=xu();return ku||(ku=1,Zr()({target:"Symbol",stat:!0},{isRegisteredSymbol:Cu()})),Ru||(Ru=1,Zr()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Fu()})),Lu||(Lu=1,bi()("customMatcher")),zu||(zu=1,bi()("observable")),qu||(qu=1,Zr()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Cu()})),Uu||(Uu=1,Zr()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Fu()})),Wu||(Wu=1,bi()("matcher")),Yu||(Yu=1,bi()("metadataKey")),Xu||(Xu=1,bi()("patternMatch")),Bu||(Bu=1,bi()("replaceAll")),Vu=t}function Qu(){return Hu?Ju:(Hu=1,Ju=Ku())}var $u,Zu,ta,ra,na,ea,ia,oa,ua,aa,sa,ca,fa,la=n(Qu()),ha={};function pa(){if(Zu)return $u;Zu=1;var t=E(),r=Wn(),n=ue(),e=Tt(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=n(e(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 $u={codeAt:a(!1),charAt:a(!0)}}function va(){if(ta)return ha;ta=1;var t=pa().charAt,r=ue(),n=Ti(),e=yu(),i=gu(),o="String Iterator",u=n.set,a=n.getterFor(o);return e(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,n=a(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(r=t(e,o),n.index+=r.length,i(r,!1))}),ha}function da(){return na?ra:(na=1,mu(),va(),uo(),ra=mi().f("iterator"))}function ya(){if(ia)return ea;ia=1;var t=da();return _u(),ea=t}function ga(){return ua?oa:(ua=1,oa=ya())}function ma(){return sa?aa:(sa=1,aa=ga())}function ba(){return fa?ca:(fa=1,ca=ma())}var _a,wa,Sa,Oa,Ta,Ea,Aa,Ia,ja,xa,Pa=n(ba());function Da(t){return Da="function"==typeof la&&"symbol"==typeof Pa?function(t){return typeof t}:function(t){return t&&"function"==typeof la&&t.constructor===la&&t!==la.prototype?"symbol":typeof t},Da(t)}function ka(){return wa?_a:(wa=1,yo(),_a=mi().f("toPrimitive"))}function Ca(){return Oa?Sa:(Oa=1,Sa=ka())}function Ma(){return Ea?Ta:(Ea=1,Ta=Ca())}function Na(){return Ia?Aa:(Ia=1,Aa=Ma())}function Ra(){return xa?ja:(xa=1,ja=Na())}var Fa=n(Ra());function La(t){var r=function(t,r){if("object"!=Da(t)||!t)return t;var n=t[Fa];if(void 0!==n){var e=n.call(t,r);if("object"!=Da(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==Da(r)?r:r+""}function za(t,r,n){return(r=La(r))in t?Ln(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var qa,Ua,Wa,Ya,Xa,Ba,Va,Ga,Ja,Ha,Ka,Qa,$a,Za={};function ts(){if(Ua)return qa;Ua=1;var t=E(),r=Rt(),n=At(),e=br(),i=Xe(),o=O(),u=Function,a=t([].concat),s=t([].join),c={};return qa=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,n){if(!e(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,n)}(o,r.length,r):o.apply(t,r)};return n(f)&&(h.prototype=f),h},qa}function rs(){if(Xa)return Ya;Xa=1;var t=w(),r=It();return Ya=function(n,e){var i=r[n+"Prototype"],o=i&&i[e];if(o)return o;var u=t[n],a=u&&u.prototype;return a&&a[e]}}function ns(){return Va?Ba:(Va=1,function(){if(Wa)return Za;Wa=1;var t=Zr(),r=ts();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),Ba=rs()("Function","bind"))}function es(){if(Ja)return Ga;Ja=1;var t=xt(),r=ns(),n=Function.prototype;return Ga=function(e){var i=e.bind;return e===n||t(n,e)&&i===n.bind?r:i}}function is(){return Ka?Ha:(Ka=1,Ha=es())}var os,us,as,ss,cs,fs,ls,hs,ps,vs,ds,ys,gs,ms,bs,_s,ws,Ss=n($a?Qa:($a=1,Qa=is())),Os={};function Ts(){if(us)return os;us=1;var t=Rt(),r=mr(),n=St(),e=Xn(),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=n(l),p=e(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 os={left:u(!1),right:u(!0)}}function Es(){if(ss)return as;ss=1;var t=S();return as=function(r,n){var e=[][r];return!!e&&t(function(){e.call(null,n||function(){return 1},1)})}}function As(){if(fs)return cs;fs=1;var t=w(),r=Pt(),n=A(),e=function(t){return r.slice(0,t.length)===t};return cs=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Is(){return hs?ls:(hs=1,ls="NODE"===As())}function js(){return ds?vs:(ds=1,function(){if(ps)return Os;ps=1;var t=Zr(),r=Ts().left,n=Es(),e=Dt();t({target:"Array",proto:!0,forced:!Is()&&e>79&&e<83||!n("reduce")},{reduce:function(t){var n=arguments.length;return r(this,t,n,n>1?arguments[1]:void 0)}})}(),vs=rs()("Array","reduce"))}function xs(){if(gs)return ys;gs=1;var t=xt(),r=js(),n=Array.prototype;return ys=function(e){var i=e.reduce;return e===n||t(n,e)&&i===n.reduce?r:i}}function Ps(){return bs?ms:(bs=1,ms=xs())}var Ds,ks,Cs,Ms,Ns,Rs,Fs,Ls,zs,qs=n(ws?_s:(ws=1,_s=Ps())),Us={};function Ws(){return Cs?ks:(Cs=1,function(){if(Ds)return Us;Ds=1;var t=Zr(),r=Ei().filter;t({target:"Array",proto:!0,forced:!te()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),ks=rs()("Array","filter"))}function Ys(){if(Ns)return Ms;Ns=1;var t=xt(),r=Ws(),n=Array.prototype;return Ms=function(e){var i=e.filter;return e===n||t(n,e)&&i===n.filter?r:i}}function Xs(){return Fs?Rs:(Fs=1,Rs=Ys())}var Bs,Vs,Gs,Js,Hs,Ks,Qs,$s,Zs,tc=n(zs?Ls:(zs=1,Ls=Xs())),rc={};function nc(){return Gs?Vs:(Gs=1,function(){if(Bs)return rc;Bs=1;var t=Zr(),r=Ei().map;t({target:"Array",proto:!0,forced:!te()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Vs=rs()("Array","map"))}function ec(){if(Hs)return Js;Hs=1;var t=xt(),r=nc(),n=Array.prototype;return Js=function(e){var i=e.map;return e===n||t(n,e)&&i===n.map?r:i}}function ic(){return Qs?Ks:(Qs=1,Ks=ec())}var oc,uc,ac,sc=n(Zs?$s:(Zs=1,$s=ic())),cc={};function fc(){if(uc)return oc;uc=1;var t=qn(),r=Xn(),n=Bn(),e=jr(),i=Vn(),o=function(u,a,s,c,f,l,h,p){for(var v,d,y=f,g=0,m=!!h&&e(h,p);g<c;)g in s&&(v=m?m(s[g],g,a):s[g],l>0&&t(v)?(d=r(v),y=o(u,a,v,d,y,l-1)-1):(n(y+1),i(u,y,v)),y++),g++;return y};return oc=o}var lc,hc,pc,vc,dc,yc,gc,mc,bc;function _c(){return pc?hc:(pc=1,function(){if(ac)return cc;ac=1;var t=Zr(),r=fc(),n=Rt(),e=mr(),i=Xn(),o=Zn();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=e(this),s=i(a);return n(t),u=o(a,0),r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),lc||(lc=1,ou()("flatMap")),hc=rs()("Array","flatMap"))}function wc(){if(dc)return vc;dc=1;var t=xt(),r=_c(),n=Array.prototype;return vc=function(e){var i=e.flatMap;return e===n||t(n,e)&&i===n.flatMap?r:i}}function Sc(){return gc?yc:(gc=1,yc=wc())}var Oc=n(bc?mc:(bc=1,mc=Sc()));class Tc{constructor(t,r,n){var e,i,o;za(this,"_listeners",{add:Ss(e=this._add).call(e,this),remove:Ss(i=this._remove).call(i,this),update:Ss(o=this._update).call(o,this)}),this._source=t,this._transformers=r,this._target=n}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 qs(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 Ec{constructor(t){za(this,"_transformers",[]),this._source=t}filter(t){return this._transformers.push(r=>tc(r).call(r,t)),this}map(t){return this._transformers.push(r=>sc(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>Oc(r).call(r,t)),this}to(t){return new Tc(this._source,this._transformers,t)}}var Ac,Ic,jc,xc,Pc,Dc,kc,Cc,Mc,Nc,Rc;function Fc(){return jc?Ic:(jc=1,Ac||(Ac=1,Zr()({target:"Array",stat:!0},{isArray:qn()})),Ic=It().Array.isArray)}function Lc(){return Pc?xc:(Pc=1,xc=Fc())}function zc(){return kc?Dc:(kc=1,Dc=Lc())}function qc(){return Mc?Cc:(Mc=1,Cc=zc())}function Uc(){return Rc?Nc:(Rc=1,Nc=qc())}var Wc,Yc,Xc,Bc,Vc,Gc,Jc,Hc,Kc,Qc,$c,Zc,tf=n(Uc());function rf(){if(Yc)return Wc;Yc=1;var t=Hn(),r=Ft(),n=Ot(),e=uu(),i=wr()("iterator");return Wc=function(o){if(!n(o))return r(o,i)||r(o,"@@iterator")||e[t(o)]}}function nf(){return Bc?Xc:(Bc=1,mu(),va(),Xc=rf())}function ef(){if(Gc)return Vc;Gc=1;var t=nf();return _u(),Vc=t}function of(){return Hc?Jc:(Hc=1,Jc=ef())}function uf(){return Qc?Kc:(Qc=1,Kc=of())}function af(){return Zc?$c:(Zc=1,$c=uf())}var sf,cf,ff,lf,hf,pf,vf,df,yf,gf,mf,bf,_f,wf=n(af()),Sf={};function Of(){return ff?cf:(ff=1,function(){if(sf)return Sf;sf=1;var t=Zr(),r=mr(),n=Xn(),e=Gn(),i=Bn();t({target:"Array",proto:!0,arity:1,forced:S()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var o=r(this),u=n(o),a=arguments.length;i(u+a);for(var s=0;s<a;s++)o[u]=arguments[s],u++;return e(o,u),u}})}(),cf=rs()("Array","push"))}function Tf(){if(hf)return lf;hf=1;var t=xt(),r=Of(),n=Array.prototype;return lf=function(e){var i=e.push;return e===n||t(n,e)&&i===n.push?r:i}}function Ef(){return vf?pf:(vf=1,pf=Tf())}function Af(){return yf?df:(yf=1,df=Ef())}function If(){return mf?gf:(mf=1,gf=Af())}function jf(){return _f?bf:(_f=1,bf=If())}var xf=n(jf());var Pf,Df,kf,Cf,Mf,Nf,Rf,Ff,Lf,zf,qf,Uf,Wf,Yf={};function Xf(){return kf?Df:(kf=1,function(){if(Pf)return Yf;Pf=1;var t=Zr(),r=qn(),n=Qn(),e=At(),i=Ie(),o=Xn(),u=Et(),a=Vn(),s=Gn(),c=wr(),f=te(),l=Xe(),h=f("slice"),p=c("species"),v=Array,d=Math.max;t({target:"Array",proto:!0,forced:!h},{slice:function(t,c){var f,h,y,g=u(this),m=o(g),b=i(t,m),_=i(void 0===c?m:c,m);if(r(g)&&(f=g.constructor,(n(f)&&(f===v||r(f.prototype))||e(f)&&null===(f=f[p]))&&(f=void 0),f===v||void 0===f))return l(g,b,_);for(h=new(void 0===f?v:f)(d(_-b,0)),y=0;b<_;b++,y++)b in g&&a(h,y,g[b]);return s(h,y),h}})}(),Df=rs()("Array","slice"))}function Bf(){if(Mf)return Cf;Mf=1;var t=xt(),r=Xf(),n=Array.prototype;return Cf=function(e){var i=e.slice;return e===n||t(n,e)&&i===n.slice?r:i}}function Vf(){return Rf?Nf:(Rf=1,Nf=Bf())}function Gf(){return Lf?Ff:(Lf=1,Ff=Vf())}function Jf(){return qf?zf:(qf=1,zf=Gf())}function Hf(){return Wf?Uf:(Wf=1,Uf=Jf())}var Kf,Qf,$f,Zf,tl,rl,nl,el,il,ol,ul,al,sl,cl,fl,ll,hl,pl,vl,dl,yl,gl,ml,bl=n(Hf()),_l={};function wl(){if(Qf)return Kf;Qf=1;var t=N(),r=Kr(),n=Ft();return Kf=function(e,i,o){var u,a;r(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=t(u,e)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o},Kf}function Sl(){if(Zf)return $f;Zf=1;var t=Kr(),r=wl();return $f=function(n,e,i,o){try{return o?e(t(i)[0],i[1]):e(i)}catch(t){r(n,"throw",t)}},$f}function Ol(){if(rl)return tl;rl=1;var t=wr(),r=uu(),n=t("iterator"),e=Array.prototype;return tl=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function Tl(){if(el)return nl;el=1;var t=N(),r=Rt(),n=Kr(),e=Nt(),i=rf(),o=TypeError;return nl=function(u,a){var s=arguments.length<2?i(u):a;if(r(s))return n(t(s,u));throw new o(e(u)+" is not iterable")},nl}function El(){if(ol)return il;ol=1;var t=jr(),r=N(),n=mr(),e=Sl(),i=Ol(),o=Qn(),u=Xn(),a=Vn(),s=Gn(),c=Tl(),f=rf(),l=wl(),h=Array;return il=function(p){var v=o(this),d=arguments.length,y=d>1?arguments[1]:void 0,g=void 0!==y;g&&(y=t(y,d>2?arguments[2]:void 0));var m,b,_,w,S,O,T=n(p),E=f(T),A=0;if(!E||this===h&&i(E))for(m=u(T),b=v?new this(m):h(m);m>A;A++)O=g?y(T[A],A):T[A],a(b,A,O);else for(b=v?new this:[],S=(w=c(T,E)).next;!(_=r(S,w)).done;A++){O=g?e(w,y,[_.value,A],!0):_.value;try{a(b,A,O)}catch(t){l(w,"throw",t)}}return s(b,A),b},il}function Al(){if(al)return ul;al=1;var t=wr()("iterator"),r=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){r=!0}};e[t]=function(){return this},Array.from(e,function(){throw 2})}catch(t){}return ul=function(n,e){try{if(!e&&!r)return!1}catch(t){return!1}var i=!1;try{var o={};o[t]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(t){}return i}}function Il(){return fl?cl:(fl=1,va(),function(){if(sl)return _l;sl=1;var t=Zr(),r=El();t({target:"Array",stat:!0,forced:!Al()(function(t){Array.from(t)})},{from:r})}(),cl=It().Array.from)}function jl(){return hl?ll:(hl=1,ll=Il())}function xl(){return vl?pl:(vl=1,pl=jl())}function Pl(){return yl?dl:(yl=1,dl=xl())}function Dl(){return ml?gl:(ml=1,gl=Pl())}var kl,Cl,Ml=n(Dl());function Nl(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function Rl(t,r){return function(t){if(tf(t))return t}(t)||function(t,r){var n=null==t?null:void 0!==la&&wf(t)||t["@@iterator"];if(null!=n){var e,i,o,u,a=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;s=!1}else for(;!(s=(e=o.call(n)).done)&&(xf(a).call(a,e.value),a.length!==r);s=!0);}catch(t){c=!0,i=t}finally{try{if(!s&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(t,r)||function(t,r){if(t){var n;if("string"==typeof t)return Nl(t,r);var e=bl(n={}.toString.call(t)).call(n,8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Ml(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Nl(t,r):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fl,Ll,zl=n(Cl?kl:(Cl=1,kl=wu()));var ql,Ul,Wl,Yl,Xl,Bl,Vl,Gl,Jl,Hl=n(Ll?Fl:(Ll=1,Fl=Vf()));function Kl(){if(Ul)return ql;Ul=1;var t=jt(),r=E(),n=ze(),e=$e(),i=Kr(),o=r([].concat);return ql=t("Reflect","ownKeys")||function(t){var r=n.f(i(t)),u=e.f;return u?o(r,u(t)):r},ql}function Ql(){return Xl?Yl:(Xl=1,Wl||(Wl=1,Zr()({target:"Reflect",stat:!0},{ownKeys:Kl()})),Yl=It().Reflect.ownKeys)}function $l(){return Vl?Bl:(Vl=1,Bl=Ql())}var Zl,th,rh=n(Jl?Gl:(Jl=1,Gl=$l()));var nh,eh,ih,oh,uh,ah,sh,ch=n(th?Zl:(th=1,Zl=Lc())),fh={};function lh(){return ih?eh:(ih=1,function(){if(nh)return fh;nh=1;var t=Zr(),r=mr(),n=ke();t({target:"Object",stat:!0,forced:S()(function(){n(1)})},{keys:function(t){return n(r(t))}})}(),eh=It().Object.keys)}function hh(){return uh?oh:(uh=1,oh=lh())}var ph,vh,dh,yh,gh,mh,bh,_h,wh,Sh,Oh,Th=n(sh?ah:(sh=1,ah=hh())),Eh={};function Ah(){if(vh)return ph;vh=1;var t=Ei().forEach,r=Es()("forEach");return ph=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},ph}function Ih(){return gh?yh:(gh=1,function(){if(dh)return Eh;dh=1;var t=Zr(),r=Ah();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),yh=rs()("Array","forEach"))}function jh(){return bh?mh:(bh=1,mh=Ih())}function xh(){if(wh)return _h;wh=1;var t=Hn(),r=br(),n=xt(),e=jh(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return _h=function(u){var a=u.forEach;return u===i||n(i,u)&&a===i.forEach||r(o,t(u))?e:a}}var Ph,Dh,kh,Ch,Mh,Nh,Rh,Fh,Lh,zh=n(Oh?Sh:(Oh=1,Sh=xh())),qh={};function Uh(){return kh?Dh:(kh=1,function(){if(Ph)return qh;Ph=1;var t=Zr(),r=E(),n=qn(),e=r([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),e(this)}})}(),Dh=rs()("Array","reverse"))}function Wh(){if(Mh)return Ch;Mh=1;var t=xt(),r=Uh(),n=Array.prototype;return Ch=function(e){var i=e.reverse;return e===n||t(n,e)&&i===n.reverse?r:i}}function Yh(){return Rh?Nh:(Rh=1,Nh=Wh())}var Xh,Bh,Vh,Gh,Jh,Hh,Kh,Qh,$h,Zh,tp,rp=n(Lh?Fh:(Lh=1,Fh=Yh())),np={};function ep(){if(Bh)return Xh;Bh=1;var t=Nt(),r=TypeError;return Xh=function(n,e){if(!delete n[e])throw new r("Cannot delete property "+t(e)+" of "+t(n))}}function ip(){return Jh?Gh:(Jh=1,function(){if(Vh)return np;Vh=1;var t=Zr(),r=mr(),n=Ie(),e=Wn(),i=Xn(),o=Gn(),u=Bn(),a=Zn(),s=Vn(),c=ep(),f=te()("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=n(t,_),S=arguments.length;for(0===S?p=v=0:1===S?(p=0,v=_-w):(p=S-2,v=h(l(e(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(o(d,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}})}(),Gh=rs()("Array","splice"))}function op(){if(Kh)return Hh;Kh=1;var t=xt(),r=ip(),n=Array.prototype;return Hh=function(e){var i=e.splice;return e===n||t(n,e)&&i===n.splice?r:i}}function up(){return $h?Qh:($h=1,Qh=op())}var ap,sp,cp,fp,lp,hp,pp,vp,dp,yp=n(tp?Zh:(tp=1,Zh=up())),gp={};function mp(){if(sp)return ap;sp=1;var t=M(),r=E(),n=N(),e=S(),i=ke(),o=$e(),u=_t(),a=mr(),s=St(),c=Object.assign,f=Object.defineProperty,l=r([].concat);return ap=!c||e(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={},n={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[e]=7,o.split("").forEach(function(t){n[t]=t}),7!==c({},r)[e]||i(c({},n)).join("")!==o})?function(r,e){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&&!n(v,y,d)||(c[d]=y[d]);return c}:c,ap}function bp(){return lp?fp:(lp=1,function(){if(cp)return gp;cp=1;var t=Zr(),r=mp();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),fp=It().Object.assign)}function _p(){return pp?hp:(pp=1,hp=bp())}var wp,Sp,Op,Tp,Ep,Ap,Ip,jp,xp=n(dp?vp:(dp=1,vp=_p()));function Pp(){return Sp?wp:(Sp=1,re(),wp=rs()("Array","concat"))}function Dp(){if(Tp)return Op;Tp=1;var t=xt(),r=Pp(),n=Array.prototype;return Op=function(e){var i=e.concat;return e===n||t(n,e)&&i===n.concat?r:i}}function kp(){return Ap?Ep:(Ap=1,Ep=Dp())}var Cp,Mp,Np,Rp,Fp,Lp,zp,qp=n(jp?Ip:(jp=1,Ip=kp()));function Up(){if(Np)return Mp;Np=1,Cp||(Cp=1,Zr()({target:"Object",stat:!0,sham:!M()},{create:Re()}));var t=It().Object;return Mp=function(r,n){return t.create(r,n)}}function Wp(){return Fp?Rp:(Fp=1,Rp=Up())}var Yp,Xp,Bp,Vp,Gp,Jp,Hp,Kp,Qp,$p,Zp,tv,rv,nv=n(zp?Lp:(zp=1,Lp=Wp())),ev={};function iv(){if(Xp)return Yp;Xp=1;var t=Wn(),r=ue(),n=Tt(),e=RangeError,i=Math.floor;return Yp=function(o){var u=r(n(this)),a="",s=t(o);if(s<0||s===1/0)throw new e("Wrong number of repetitions");for(;s>0;(s=i(s/2))&&(u+=u))s%2&&(a+=u);return a}}function ov(){if(Vp)return Bp;Vp=1;var t=E(),r=Yn(),n=ue(),e=iv(),i=Tt(),o=t(e),u=t("".slice),a=Math.ceil,s=function(t){return function(e,s,c){var f=n(i(e)),l=r(s),h=f.length;if(l<=h)return f;var p,v,d=void 0===c?" ":n(c);return""===d?f:((v=o(d,a((p=l-h)/d.length))).length>p&&(v=u(v,0,p)),t?f+v:v+f)}};return Bp={start:s(!1),end:s(!0)}}function uv(){if(Jp)return Gp;Jp=1;var t=E(),r=S(),n=ov().start,e=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 Gp=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 e("Invalid time value");var t=this,r=f(t),u=h(t),a=r<0?"-":r>9999?"+":"";return a+n(o(r),a?6:4,0)+"-"+n(v(t)+1,2,0)+"-"+n(c(t),2,0)+"T"+n(l(t),2,0)+":"+n(p(t),2,0)+":"+n(d(t),2,0)+"."+n(u,3,0)+"Z"}:a}function av(){if(Qp)return Kp;Qp=1,function(){if(Hp)return ev;Hp=1;var t=Zr(),r=N(),n=mr(),e=Sr(),i=uv(),o=A();t({target:"Date",proto:!0,forced:S()(function(){return null!==new Date(NaN).toJSON()||1!==r(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(t){var u=n(this),a=e(u,"number");return"number"!=typeof a||isFinite(a)?"toISOString"in u||"Date"!==o(u)?u.toISOString():r(i,u):null}})}(),Xi();var t=It(),r=T();return t.JSON||(t.JSON={stringify:JSON.stringify}),Kp=function(n,e,i){return r(t.JSON.stringify,null,arguments)},Kp}function sv(){return Zp?$p:(Zp=1,$p=av())}var cv,fv,lv,hv,pv,vv=n(rv?tv:(rv=1,tv=sv())),dv={},yv={};function gv(){if(fv)return cv;fv=1;var t=TypeError;return cv=function(r,n){if(r<n)throw new t("Not enough arguments");return r}}function mv(){if(hv)return lv;hv=1;var t,r=w(),n=T(),e=j(),i=As(),o=Pt(),u=Xe(),a=gv(),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 lv=function(t,r){var i=r?2:1;return c?function(o,c){var f=a(arguments.length,1)>i,l=e(o)?o:s(o),h=f?u(arguments,i):[],p=f?function(){n(l,this,h)}:l;return r?t(p,c):t(p)}:t},lv}var bv,_v,wv,Sv,Ov,Tv,Ev={};function Av(){return _v||(_v=1,function(){if(pv)return yv;pv=1;var t=Zr(),r=w(),n=mv()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==n},{setInterval:n})}(),function(){if(bv)return Ev;bv=1;var t=Zr(),r=w(),n=mv()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==n},{setTimeout:n})}()),dv}function Iv(){return Sv?wv:(Sv=1,Av(),wv=It().setTimeout)}var jv,xv=n(Tv?Ov:(Tv=1,Ov=Iv())),Pv={exports:{}};function Dv(){return jv||(jv=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 n=this._callbacks.get(t)??[];return n.push(r),this._callbacks.set(t,n),this},r.prototype.once=function(t,r){const n=(...e)=>{this.off(t,n),r.apply(this,e)};return n.fn=r,this.on(t,n),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 n=this._callbacks.get(t);if(n){for(const[t,e]of n.entries())if(e===r||e.fn===r){n.splice(t,1);break}0===n.length?this._callbacks.delete(t):this._callbacks.set(t,n)}return this},r.prototype.emit=function(t,...r){const n=this._callbacks.get(t);if(n){const t=[...n];for(const n of t)n.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}(Pv)),Pv.exports}var kv,Cv=n(Dv());
26
+ !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).vis=t.vis||{})}(this,function(t){var r,e,n,i,o,u,a,s,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function l(){return e?r:(e=1,r=function(t){try{return!!t()}catch(t){return!0}})}function h(){return i?n:(i=1,n=!l()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function p(){if(u)return o;u=1;var t=h(),r=Function.prototype,e=r.call,n=t&&r.bind.bind(e,e);return o=t?n:function(t){return function(){return e.apply(t,arguments)}},o}function v(){return s?a:(s=1,a=p()({}.isPrototypeOf))}var d,y,g,m,b,_,w,S,T,O,E={};function A(){if(y)return d;y=1;var t=function(t){return t&&t.Math===Math&&t};return d=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof c&&c)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()}function I(){if(m)return g;m=1;var t=h(),r=Function.prototype,e=r.apply,n=r.call;return g="object"==typeof Reflect&&Reflect.apply||(t?n.bind(e):function(){return n.apply(e,arguments)}),g}function D(){if(_)return b;_=1;var t=p(),r=t({}.toString),e=t("".slice);return b=function(t){return e(r(t),8,-1)}}function j(){if(S)return w;S=1;var t=D(),r=p();return w=function(e){if("Function"===t(e))return r(e)}}function x(){if(O)return T;O=1;var t="object"==typeof document&&document.all;return T=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}var P,k,C,N,M={};function L(){return k?P:(k=1,P=!l()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function R(){if(N)return C;N=1;var t=h(),r=Function.prototype.call;return C=t?r.bind(r):function(){return r.apply(r,arguments)},C}var F,z,q,U,W,Y,B,X,J,V,G,H,K,Q,$,Z,tt,rt,et,nt,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt,bt={};function _t(){if(F)return bt;F=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);return bt.f=e?function(t){var e=r(this,t);return!!e&&e.enumerable}:t,bt}function wt(){return q?z:(q=1,z=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function St(){if(W)return U;W=1;var t=p(),r=l(),e=D(),n=Object,i=t("".split);return U=r(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===e(t)?i(t,""):n(t)}:n}function Tt(){return B?Y:(B=1,Y=function(t){return null==t})}function Ot(){if(J)return X;J=1;var t=Tt(),r=TypeError;return X=function(e){if(t(e))throw new r("Can't call method on "+e);return e}}function Et(){if(G)return V;G=1;var t=St(),r=Ot();return V=function(e){return t(r(e))}}function At(){if(K)return H;K=1;var t=x();return H=function(r){return"object"==typeof r?null!==r:t(r)}}function It(){return $?Q:($=1,Q={})}function Dt(){if(tt)return Z;tt=1;var t=It(),r=A(),e=x(),n=function(t){return e(t)?t:void 0};return Z=function(e,i){return arguments.length<2?n(t[e])||n(r[e]):t[e]&&t[e][i]||r[e]&&r[e][i]},Z}function jt(){if(et)return rt;et=1;var t=A().navigator,r=t&&t.userAgent;return rt=r?String(r):""}function xt(){if(it)return nt;it=1;var t,r,e=A(),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]),nt=r}function Pt(){if(ut)return ot;ut=1;var t=xt(),r=l(),e=A().String;return ot=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!e(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),ot}function kt(){return st?at:(st=1,at=Pt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ft)return ct;ft=1;var t=Dt(),r=x(),e=v(),n=Object;return ct=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&e(o.prototype,n(i))}}function Nt(){if(ht)return lt;ht=1;var t=String;return lt=function(r){try{return t(r)}catch(t){return"Object"}}}function Mt(){if(vt)return pt;vt=1;var t=x(),r=Nt(),e=TypeError;return pt=function(n){if(t(n))return n;throw new e(r(n)+" is not a function")}}function Lt(){if(yt)return dt;yt=1;var t=Mt(),r=Tt();return dt=function(e,n){var i=e[n];return r(i)?void 0:t(i)}}function Rt(){if(mt)return gt;mt=1;var t=R(),r=x(),e=At(),n=TypeError;return gt=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,Bt,Xt,Jt,Vt,Gt,Ht,Kt,Qt,$t,Zt,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=A(),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=A(),e=vr(),n="__core-js_shared__",i=hr.exports=r[n]||e(n,{});return(i.versions||(i.versions=[])).push({version:"3.50.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"}),hr.exports}function yr(){if(Bt)return Yt;Bt=1;var t=dr(),r=Object.create||Object;return Yt=function(e,n){return t[e]||(t[e]=n||r(null))}}function gr(){if(Jt)return Xt;Jt=1;var t=Ot(),r=Object;return Xt=function(e){return r(t(e))}}function mr(){if(Gt)return Vt;Gt=1;var t=p(),r=gr(),e=t({}.hasOwnProperty);return Vt=Object.hasOwn||function(t,n){return e(r(t),n)}}function br(){if(Kt)return Ht;Kt=1;var t=p(),r=0,e=Math.random(),n=t(1.1.toString);return Ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++r+e,36)}}function _r(){if($t)return Qt;$t=1;var t=A(),r=yr(),e=mr(),n=br(),i=Pt(),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 Zt;tr=1;var t=R(),r=At(),e=Ct(),n=Lt(),i=Rt(),o=TypeError,u=_r()("toPrimitive");return Zt=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=A(),r=At(),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=L(),r=l(),e=Tr();return or=!t&&!r(function(){return 7!==Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return M;ar=1;var t=L(),r=R(),e=_t(),n=wt(),i=Et(),o=Sr(),u=mr(),a=Or(),s=Object.getOwnPropertyDescriptor;return M.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])},M}function Ar(){if(cr)return sr;cr=1;var t=l(),r=x(),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=j(),r=Mt(),e=h(),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 Dr,jr,xr,Pr,kr,Cr,Nr,Mr,Lr,Rr,Fr,zr,qr,Ur,Wr,Yr,Br,Xr,Jr,Vr,Gr,Hr,Kr,Qr,$r={};function Zr(){return jr?Dr:(jr=1,Dr=L()&&l()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function te(){if(Pr)return xr;Pr=1;var t=At(),r=String,e=TypeError;return xr=function(n){if(t(n))return n;throw new e(r(n)+" is not an object")}}function re(){if(kr)return $r;kr=1;var t=L(),r=Or(),e=Zr(),n=te(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return $r.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},$r}function ee(){if(Nr)return Cr;Nr=1;var t=L(),r=re(),e=wt();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 ne(){if(Lr)return Mr;Lr=1;var t=A(),r=I(),e=j(),n=x(),i=Er().f,o=Ar(),u=It(),a=Ir(),s=ee(),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 Mr=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 ie(){return Fr?Rr:(Fr=1,Rr=p()([].slice))}function oe(){if(qr)return zr;qr=1;var t=p(),r=Mt(),e=At(),n=mr(),i=ie(),o=h(),u=Function,a=t([].concat),s=t([].join),c={};return zr=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},zr}function ue(){if(Yr)return Wr;Yr=1;var t=A(),r=It();return Wr=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 ae(){return Xr?Br:(Xr=1,function(){if(Ur)return E;Ur=1;var t=ne(),r=oe();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),Br=ue()("Function","bind"))}function se(){if(Vr)return Jr;Vr=1;var t=v(),r=ae(),e=Function.prototype;return Jr=function(n){var i=n.bind;return n===e||t(e,n)&&i===e.bind?r:i}}function ce(){return Hr?Gr:(Hr=1,Gr=se())}var fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Te,Oe,Ee,Ae,Ie,De,je,xe,Pe,ke,Ce,Ne,Me=f(Qr?Kr:(Qr=1,Kr=ce())),Le={};function Re(){if(le)return fe;le=1;var t=Math.ceil,r=Math.floor;return fe=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}}function Fe(){if(pe)return he;pe=1;var t=Re();return he=function(r){var e=+r;return e!=e||0===e?0:t(e)}}function ze(){if(de)return ve;de=1;var t=Fe(),r=Math.min;return ve=function(e){var n=t(e);return n>0?r(n,9007199254740991):0}}function qe(){if(ge)return ye;ge=1;var t=ze();return ye=function(r){return t(r.length)}}function Ue(){if(be)return me;be=1;var t=Mt(),r=gr(),e=St(),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 me={left:u(!1),right:u(!0)}}function We(){if(we)return _e;we=1;var t=l();return _e=function(r,e){var n=[][r];return!!n&&t(function(){n.call(null,e||function(){return 1},1)})}}function Ye(){if(Te)return Se;Te=1;var t=A(),r=jt(),e=D(),n=function(t){return r.slice(0,t.length)===t};return Se=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 Be(){return Ee?Oe:(Ee=1,Oe="NODE"===Ye())}function Xe(){return De?Ie:(De=1,function(){if(Ae)return Le;Ae=1;var t=ne(),r=Ue().left,e=We(),n=xt();t({target:"Array",proto:!0,forced:!Be()&&n>79&&n<83||!e("reduce")},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})}(),Ie=ue()("Array","reduce"))}function Je(){if(xe)return je;xe=1;var t=v(),r=Xe(),e=Array.prototype;return je=function(n){var i=n.reduce;return n===e||t(e,n)&&i===e.reduce?r:i}}function Ve(){return ke?Pe:(ke=1,Pe=Je())}var Ge,He,Ke,Qe,$e,Ze,tn,rn,en,nn,on,un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn,Tn,On=f(Ne?Ce:(Ne=1,Ce=Ve())),En={};function An(){if(He)return Ge;He=1;var t=D();return Ge=Array.isArray||function(r){return"Array"===t(r)}}function In(){if(Qe)return Ke;Qe=1;var t={};return t[_r()("toStringTag")]="z",Ke="[object z]"===String(t)}function Dn(){if(Ze)return $e;Ze=1;var t=In(),r=x(),e=D(),n=_r()("toStringTag"),i=Object,o="Arguments"===e(function(){return arguments}());return $e=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 jn(){if(rn)return tn;rn=1;var t=p(),r=x(),e=dr(),n=t(Function.toString);return r(e.inspectSource)||(e.inspectSource=function(t){return n(t)}),tn=e.inspectSource}function xn(){if(nn)return en;nn=1;var t=p(),r=l(),e=x(),n=Dn(),i=Dt(),o=jn(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),h=function(t){if(!e(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},v=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 v.sham=!0,en=!a||r(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h}function Pn(){if(un)return on;un=1;var t=An(),r=xn(),e=At(),n=_r()("species"),i=Array;return on=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 kn(){if(sn)return an;sn=1;var t=Pn();return an=function(r,e){return new(t(r))(0===e?0:e)}}function Cn(){if(fn)return cn;fn=1;var t=L(),r=re(),e=wt();return cn=function(n,i,o){t?r.f(n,i,e(0,o)):n[i]=o}}function Nn(){if(hn)return ln;hn=1;var t=Ir(),r=St(),e=gr(),n=qe(),i=kn(),o=Cn(),u=function(u){var a=1===u,s=2===u,c=3===u,f=4===u,l=6===u,h=7===u,p=5===u||l;return function(v,d,y){for(var g,m,b=e(v),_=r(b),w=n(_),S=t(d,y),T=0,O=0,E=a?i(v,w):s||h?i(v,0):void 0;w>T;T++)if((p||T in _)&&(m=S(g=_[T],T,b),u))if(a)o(E,T,m);else if(m)switch(u){case 3:return!0;case 5:return g;case 6:return T;case 2:o(E,O++,g)}else switch(u){case 4:return!1;case 7:o(E,O++,g)}return l?-1:c||f?f:E}};return ln={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}function Mn(){if(vn)return pn;vn=1;var t=l(),r=_r(),e=xt(),n=r("species");return pn=function(r){return e>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function Ln(){return gn?yn:(gn=1,function(){if(dn)return En;dn=1;var t=ne(),r=Nn().filter;t({target:"Array",proto:!0,forced:!Mn()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),yn=ue()("Array","filter"))}function Rn(){if(bn)return mn;bn=1;var t=v(),r=Ln(),e=Array.prototype;return mn=function(n){var i=n.filter;return n===e||t(e,n)&&i===e.filter?r:i}}function Fn(){return wn?_n:(wn=1,_n=Rn())}var zn,qn,Un,Wn,Yn,Bn,Xn,Jn,Vn,Gn=f(Tn?Sn:(Tn=1,Sn=Fn())),Hn={};function Kn(){return Un?qn:(Un=1,function(){if(zn)return Hn;zn=1;var t=ne(),r=Nn().map;t({target:"Array",proto:!0,forced:!Mn()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),qn=ue()("Array","map"))}function Qn(){if(Yn)return Wn;Yn=1;var t=v(),r=Kn(),e=Array.prototype;return Wn=function(n){var i=n.map;return n===e||t(e,n)&&i===e.map?r:i}}function $n(){return Xn?Bn:(Xn=1,Bn=Qn())}var Zn,ti,ri,ei,ni,ii=f(Vn?Jn:(Vn=1,Jn=$n())),oi={};function ui(){if(ti)return Zn;ti=1;var t=TypeError;return Zn=function(r){if(r>9007199254740991)throw new t("Maximum allowed index exceeded");return r}}function ai(){if(ei)return ri;ei=1;var t=An(),r=qe(),e=ui(),n=Ir(),i=Cn(),o=function(u,a,s,c,f,l,h,p){for(var v,d,y=f,g=0,m=!!h&&n(h,p);g<c;)g in s&&(v=m?m(s[g],g,a):s[g],l>0&&t(v)?(d=r(v),y=o(u,a,v,d,y,l-1)-1):(e(y+1),i(u,y,v)),y++),g++;return y};return ri=o}var si,ci,fi,li,hi,pi,vi,di,yi,gi,mi;function bi(){return ci?si:(ci=1,si=function(){})}function _i(){return hi?li:(hi=1,function(){if(ni)return oi;ni=1;var t=ne(),r=ai(),e=Mt(),n=gr(),i=qe(),o=kn();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=i(a);return e(t),u=o(a,0),r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),fi||(fi=1,bi()("flatMap")),li=ue()("Array","flatMap"))}function wi(){if(vi)return pi;vi=1;var t=v(),r=_i(),e=Array.prototype;return pi=function(n){var i=n.flatMap;return n===e||t(e,n)&&i===e.flatMap?r:i}}function Si(){return yi?di:(yi=1,di=wi())}var Ti,Oi,Ei,Ai=f(mi?gi:(mi=1,gi=Si()));class Ii{_listeners={add:Me(Ti=this._add).call(Ti,this),remove:Me(Oi=this._remove).call(Oi,this),update:Me(Ei=this._update).call(Ei,this)};constructor(t,r,e){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 On(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 Di{_transformers=[];constructor(t){this._source=t}filter(t){return this._transformers.push(r=>Gn(r).call(r,t)),this}map(t){return this._transformers.push(r=>ii(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>Ai(r).call(r,t)),this}to(t){return new Ii(this._source,this._transformers,t)}}var ji,xi,Pi,ki={};function Ci(){if(xi)return ji;xi=1;var t=L(),r=An(),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 ji=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 Ni(){if(Pi)return ki;Pi=1;var t=ne(),r=l(),e=An(),n=At(),i=gr(),o=qe(),u=ui(),a=Cn(),s=Ci(),c=kn(),f=Mn(),h=_r(),p=xt(),v=h("isConcatSpreadable"),d=p>=51||!r(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),y=function(t){if(!n(t))return!1;var r=t[v];return void 0!==r?!!r:e(t)};return t({target:"Array",proto:!0,arity:1,forced:!d||!f("concat")},{concat:function(t){var r,e,n,f,l,h=i(this),p=c(h,0),v=0;for(r=-1,n=arguments.length;r<n;r++)if(y(l=-1===r?h:arguments[r]))for(f=o(l),u(v+f),e=0;e<f;e++,v++)e in l&&a(p,v,l[e]);else u(v+1),a(p,v++,l);return s(p,v),p}}),ki}var Mi,Li,Ri={},Fi={};function zi(){if(Li)return Mi;Li=1;var t=Dn(),r=String;return Mi=function(e){if("Symbol"===t(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}}var qi,Ui,Wi,Yi,Bi,Xi,Ji,Vi,Gi,Hi,Ki,Qi,$i,Zi,to,ro,eo,no,io,oo={};function uo(){if(Ui)return qi;Ui=1;var t=Fe(),r=Math.max,e=Math.min;return qi=function(n,i){var o=t(n);return o<0?r(o+i,0):e(o,i)}}function ao(){if(Yi)return Wi;Yi=1;var t=Et(),r=uo(),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 Wi={includes:n(!0),indexOf:n(!1)}}function so(){return Xi?Bi:(Xi=1,Bi={})}function co(){if(Vi)return Ji;Vi=1;var t=p(),r=mr(),e=Et(),n=ao().indexOf,i=so(),o=t([].push);return Ji=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 fo(){return Hi?Gi:(Hi=1,Gi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function lo(){if(Qi)return Ki;Qi=1;var t=co(),r=fo();return Ki=Object.keys||function(e){return t(e,r)}}function ho(){if($i)return oo;$i=1;var t=L(),r=Zr(),e=re(),n=te(),i=Et(),o=lo();return oo.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},oo}function po(){return to?Zi:(to=1,Zi=Dt()("document","documentElement"))}function vo(){if(eo)return ro;eo=1;var t=yr(),r=br(),e=t("keys");return ro=function(t){return e[t]||(e[t]=r(t))}}function yo(){if(io)return no;io=1;var t,r=te(),e=ho(),n=fo(),i=so(),o=po(),u=Tr(),a="prototype",s="script",c=vo()("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,no=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 go,mo={};function bo(){if(go)return mo;go=1;var t=co(),r=fo().concat("length","prototype");return mo.f=Object.getOwnPropertyNames||function(e){return t(e,r)},mo}var _o,wo={};function So(){if(_o)return wo;_o=1;var t=D(),r=Et(),e=bo().f,n=ie(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return wo.f=function(o){return i&&"Window"===t(o)?function(t){try{return e(t)}catch(t){return n(i)}}(o):e(r(o))},wo}var To,Oo,Eo,Ao,Io,Do={};function jo(){return To||(To=1,Do.f=Object.getOwnPropertySymbols),Do}function xo(){if(Eo)return Oo;Eo=1;var t=ee();return Oo=function(r,e,n,i){return i&&i.enumerable?r[e]=n:t(r,e,n),r}}function Po(){if(Io)return Ao;Io=1;var t=re();return Ao=function(r,e,n){return t.f(r,e,n)}}var ko,Co,No,Mo,Lo,Ro,Fo,zo,qo,Uo,Wo,Yo,Bo,Xo,Jo={};function Vo(){if(ko)return Jo;ko=1;var t=_r();return Jo.f=t,Jo}function Go(){if(No)return Co;No=1;var t=It(),r=mr(),e=Vo(),n=re().f;return Co=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||n(o,i,{value:e.f(i)})}}function Ho(){if(Lo)return Mo;Lo=1;var t=R(),r=Dt(),e=_r(),n=xo();return Mo=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 Ko(){if(Fo)return Ro;Fo=1;var t=In(),r=Dn();return Ro=t?{}.toString:function(){return"[object "+r(this)+"]"}}function Qo(){if(qo)return zo;qo=1;var t=In(),r=re().f,e=ee(),n=mr(),i=Ko(),o=_r()("toStringTag");return zo=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 $o(){if(Wo)return Uo;Wo=1;var t=A(),r=x(),e=t.WeakMap;return Uo=r(e)&&/native code/.test(String(e))}function Zo(){if(Bo)return Yo;Bo=1;var t,r,e,n=$o(),i=A(),o=At(),u=ee(),a=mr(),s=dr(),c=vo(),f=so(),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 Yo={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}}}}var tu,ru,eu,nu={};function iu(){return ru?tu:(ru=1,tu=Pt()&&!!Symbol.for&&!!Symbol.keyFor)}var ou,uu={};var au,su,cu,fu,lu,hu,pu,vu,du,yu={};function gu(){if(su)return au;su=1;var t=At(),r=Zo().get;return au=function(e){if(!t(e))return!1;var n=r(e);return!!n&&"RawJSON"===n.type}}function mu(){return fu?cu:(fu=1,cu=p()(1.1.valueOf))}function bu(){if(hu)return lu;hu=1;var t=p(),r=mr(),e=SyntaxError,n=parseInt,i=String.fromCharCode,o=t("".charAt),u=t("".slice),a=t(/./.exec),s={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;return lu=function(t,l){for(var h=!0,p="";l<t.length;){var v=o(t,l);if("\\"===v){var d=u(t,l,l+2);if(r(s,d))p+=s[d],l+=2;else{if("\\u"!==d)throw new e('Unknown escape sequence: "'+d+'"');var y=u(t,l+=2,l+4);if(!a(c,y))throw new e("Bad Unicode escape at: "+l);p+=i(n(y,16)),l+=4}}else{if('"'===v){h=!1,l++;break}if(a(f,v))throw new e("Bad control character in string literal at: "+l);p+=v,l++}}if(h)throw new e("Unterminated string at: "+l);return{value:p,end:l}}}function _u(){return vu?pu:(vu=1,pu=!l()(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t}))}function wu(){if(du)return yu;du=1;var t=ne(),r=Dt(),e=R(),n=p(),i=l(),o=An(),u=x(),a=At(),s=yo(),c=gu(),f=Ct(),h=D(),v=mu(),d=ao().includes,y=mr(),g=zi(),m=bu(),b=br(),_=Pt(),w=_u(),S=String,T=TypeError,O=r("JSON","stringify"),E=r("BigInt"),A=n("".valueOf),I=n((!0).valueOf),j=E&&n(E.prototype.valueOf),P=n(/./.exec),k=n("".charAt),C=n("".charCodeAt),N=n("".replace),M=n("".slice),L=n([].push),F=n([].pop),z=n(1.1.toString),q=/[\uD800-\uDFFF]/g,U=/^[\uD800-\uDBFF]$/,W=/^[\uDC00-\uDFFF]$/,Y=/^\d+$/,B=b(),X=b(),J=b(),V=B.length,G=X.length,H=!_||i(function(){var t=r("Symbol")("stringify detection");return"[null]"!==O([t])||"{}"!==O({a:t})||"{}"!==O(Object(t))}),K=i(function(){return'"\\udf06\\ud834"'!==O("\udf06\ud834")||'"\\udead"'!==O("\udead")}),Q=w?r("JSON","isRawJSON"):c,$=H?function(t,r,n){return O(t,function(t,n){var i=e(r,this,t,n);if(!f(i))return i},n)}:O,Z=function(t,r,e){var n=k(e,r-1),i=k(e,r+1);return P(U,t)&&!P(W,i)||P(W,t)&&!P(U,n)?"\\u"+z(C(t,0),16):t},tt=function(t,r){try{return t(r),!0}catch(t){return!1}},rt=function(t){if(!a(t)||u(t)||o(t))return!1;try{return!function(t){var r=h(t);return"Number"===r&&tt(v,t)||"String"===r&&tt(A,t)||"Boolean"===r&&tt(I,t)||!!j&&"BigInt"===r&&tt(j,t)}(t)}catch(t){return!0}},et=function(t,r){return{toJSON:function(){var n=t[r];if(a(n)||"bigint"==typeof n){var i=n.toJSON;u(i)&&(n=e(i,n,r))}return n}}};return O&&t({target:"JSON",stat:!0,arity:3,forced:H||K||!w},{stringify:function(t,r,n){var i,a=u(r)?r:void 0,c=a?void 0:function(t){if(o(t)){for(var r=t.length,e=[],n=s(null),i=0;i<r;i++){var u,a=t[i];if("string"==typeof a)u=a;else{if("number"!=typeof a&&"Number"!==h(a)&&"String"!==h(a))continue;u=g(a)}y(n,u)||(n[u]=!0,L(e,u))}return e}}(r),f=c&&function(t){for(var r=0,e=t.length;r<e;r++)if(P(Y,t[r]))return X;return""}(c),l=[],p=[],v=[],b=!1,_=!0,O=$(t,function(t,r){if(t=S(t),c){if(t===J)return F(p),void(i=F(v));if(_)_=!1;else if(this!==i&&!o(this)&&!d(c,t))return}else a&&(r=e(a,this,t,r));if(Q(r))return w?r:(b=!0,B+(L(l,r.rawJSON)-1));if(c&&rt(r)){if(d(p,r))throw new T("Converting circular structure to JSON");var n=function(t,r,e){for(var n=s(null),i=0,o=r.length;i<o;i++){var u=r[i];n[e+u]=et(t,u)}return n[J]=null,n}(r,c,f);return L(p,r),L(v,i),i=n,f&&(b=!0),n}return r},n);if("string"!=typeof O)return O;if(K&&(O=N(O,q,Z)),!b)return O;for(var E="",A=O.length,I=0;I<A;I++){var D=k(O,I);if('"'===D){var j=m(O,++I).end-1,x=M(O,I,j);M(x,0,V)===B?E+=l[M(x,V)]:M(x,0,G)===X?E+='"'+M(x,G)+'"':E+='"'+x+'"',I=j}else E+=D}return E}}),yu}var Su,Tu,Ou={};function Eu(){return Tu||(Tu=1,function(){if(Xo)return Fi;Xo=1;var t=ne(),r=A(),e=R(),n=p(),i=pr(),o=L(),u=Pt(),a=l(),s=mr(),c=v(),f=te(),h=Et(),d=Sr(),y=zi(),g=wt(),m=yo(),b=lo(),_=bo(),w=So(),S=jo(),T=Er(),O=re(),E=ho(),I=_t(),D=xo(),j=Po(),x=yr(),P=vo(),k=so(),C=br(),N=_r(),M=Vo(),F=Go(),z=Ho(),q=Qo(),U=Zo(),W=Nn().forEach,Y=P("hidden"),B="Symbol",X="prototype",J=U.set,V=U.getterFor(B),G=Object[X],H=r.Symbol,K=H&&H[X],Q=r.RangeError,$=r.TypeError,Z=r.QObject,tt=T.f,rt=O.f,et=w.f,nt=I.f,it=n([].push),ot=x("symbols"),ut=x("op-symbols"),at=x("wks"),st=!Z||!Z[X]||!Z[X].findChild,ct=function(t,r,e){var n=tt(G,r);return n&&delete G[r],rt(t,r,e),n&&t!==G&&rt(G,r,n),t},ft=o&&a(function(){return 7!==m(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a})?ct:rt,lt=function(t,r){var e=ot[t]=m(K);return J(e,{type:B,tag:t,description:r}),o||(e.description=r),e},ht=function(t,r,e){t===G&&ht(ut,r,e),f(t);var n=d(r);return f(e),s(ot,n)?(("enumerable"in e?!e.enumerable:!s(t,n)||s(t,Y)&&t[Y][n])?(s(t,Y)||rt(t,Y,g(1,m(null))),t[Y][n]=!0):(s(t,Y)&&t[Y][n]&&(t[Y][n]=!1),e=m(e,{enumerable:g(0,!1)})),ft(t,n,e)):rt(t,n,e)},pt=function(t,r){f(t);var n=h(r),i=b(n).concat(gt(n));return W(i,function(r){o&&!e(vt,n,r)||ht(t,r,n[r])}),t},vt=function(t){var r=d(t),n=e(nt,this,r);return!(this===G&&s(ot,r)&&!s(ut,r))&&(!(n||!s(this,r)||!s(ot,r)||s(this,Y)&&this[Y][r])||n)},dt=function(t,r){var e=h(t),n=d(r);if(e!==G||!s(ot,n)||s(ut,n)){var i=tt(e,n);return!i||!s(ot,n)||s(e,Y)&&e[Y][n]||(i.enumerable=!0),i}},yt=function(t){var r=et(h(t)),e=[];return W(r,function(t){s(ot,t)||s(k,t)||it(e,t)}),e},gt=function(t){var r=t===G,e=et(r?ut:h(t)),n=[];return W(e,function(t){!s(ot,t)||r&&!s(G,t)||it(n,ot[t])}),n};u||(H=function(){if(c(K,this))throw new $("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,n=C(t),i=function(t){var o=void 0===this?r:this;o===G&&e(i,ut,t),s(o,Y)&&s(o[Y],n)&&(o[Y][n]=!1);var u=g(1,t);try{ft(o,n,u)}catch(t){if(!(t instanceof Q))throw t;ct(o,n,u)}};return o&&st&&ft(G,n,{configurable:!0,set:i}),lt(n,t)},D(K=H[X],"toString",function(){return V(this).tag}),D(H,"withoutSetter",function(t){return lt(C(t),t)}),I.f=vt,O.f=ht,E.f=pt,T.f=dt,_.f=w.f=yt,S.f=gt,M.f=function(t){return lt(N(t),t)},o&&(j(K,"description",{configurable:!0,get:function(){return V(this).description}}),i||D(G,"propertyIsEnumerable",vt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),W(b(at),function(t){F(t)}),t({target:B,stat:!0,forced:!u},{useSetter:function(){st=!0},useSimple:function(){st=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!o},{create:function(t,r){return void 0===r?m(t):pt(m(t),r)},defineProperty:ht,defineProperties:pt,getOwnPropertyDescriptor:dt}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:yt}),z(),q(H,B),k[Y]=!0}(),function(){if(eu)return nu;eu=1;var t=ne(),r=Dt(),e=mr(),n=zi(),i=yr(),o=iu(),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(ou)return uu;ou=1;var t=ne(),r=mr(),e=Ct(),n=Nt(),i=yr(),o=iu(),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]}})}(),wu(),function(){if(Su)return Ou;Su=1;var t=ne(),r=Pt(),e=l(),n=jo(),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)):[]}})}()),Ri}var Au;var Iu;var Du;var ju;var xu;var Pu,ku={};function Cu(){return Pu||(Pu=1,Go()("iterator")),ku}var Nu;var Mu;var Lu;var Ru;var Fu;var zu;var qu,Uu={};var Wu,Yu={};var Bu;var Xu,Ju,Vu,Gu={};function Hu(){return Vu?Ju:(Vu=1,Ni(),Eu(),Au||(Au=1,Go()("asyncDispose")),Iu||(Iu=1,Go()("asyncIterator")),Du||(Du=1,Go()("dispose")),ju||(ju=1,Go()("hasInstance")),xu||(xu=1,Go()("isConcatSpreadable")),Cu(),Nu||(Nu=1,Go()("match")),Mu||(Mu=1,Go()("matchAll")),Lu||(Lu=1,Go()("replace")),Ru||(Ru=1,Go()("search")),Fu||(Fu=1,Go()("species")),zu||(zu=1,Go()("split")),function(){if(qu)return Uu;qu=1;var t=Go(),r=Ho();t("toPrimitive"),r()}(),function(){if(Wu)return Yu;Wu=1;var t=Dt(),r=Go(),e=Qo();r("toStringTag"),e(t("Symbol"),"Symbol")}(),Bu||(Bu=1,Go()("unscopables")),function(){if(Xu)return Gu;Xu=1;var t=A();Qo()(t.JSON,"JSON",!0)}(),Ju=It().Symbol)}var Ku,Qu,$u,Zu,ta,ra,ea,na,ia,oa,ua,aa,sa,ca,fa,la,ha,pa,va,da,ya,ga,ma,ba,_a,wa,Sa,Ta,Oa,Ea,Aa,Ia,Da,ja={};function xa(){return Qu?Ku:(Qu=1,Ku=Object.create?Object.create(null):{})}function Pa(){if(Zu)return $u;Zu=1;var t=L(),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 $u={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function ka(){return ra?ta:(ra=1,ta=!l()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function Ca(){if(na)return ea;na=1;var t=mr(),r=x(),e=gr(),n=vo(),i=ka(),o=n("IE_PROTO"),u=Object,a=u.prototype;return ea=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 Na(){if(oa)return ia;oa=1;var t,r,e,n=l(),i=x(),o=At(),u=yo(),a=Ca(),s=xo(),c=_r(),f=pr(),h=c("iterator"),p=!1;return[].keys&&("next"in(e=[].keys())?(r=a(a(e)))!==Object.prototype&&(t=r):p=!0),!o(t)||n(function(){var r={};return t[h].call(r)!==r})?t={}:f&&(t=u(t)),i(t[h])||s(t,h,function(){return this}),ia={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:p}}function Ma(){if(aa)return ua;aa=1;var t=Na().IteratorPrototype,r=yo(),e=wt(),n=Qo(),i=xa(),o=function(){return this};return ua=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 La(){if(ca)return sa;ca=1;var t=p(),r=Mt();return sa=function(e,n,i){try{return t(r(Object.getOwnPropertyDescriptor(e,n)[i]))}catch(t){}}}function Ra(){if(la)return fa;la=1;var t=At();return fa=function(r){return t(r)||null===r}}function Fa(){if(pa)return ha;pa=1;var t=Ra(),r=String,e=TypeError;return ha=function(n){if(t(n))return n;throw new e("Can't set "+r(n)+" as a prototype")}}function za(){if(da)return va;da=1;var t=La(),r=At(),e=Ot(),n=Fa();return va=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 qa(){if(ga)return ya;ga=1;var t=ne(),r=R(),e=pr(),n=Pa(),i=x(),o=Ma(),u=Ca(),a=za(),s=Qo(),c=ee(),f=xo(),l=_r(),h=xa(),p=Na(),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 ya=function(n,l,p,T,O,E,A){o(p,l,T);var I,D,j,x=function(t){if(t===O&&M)return M;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)}},P=l+" Iterator",k=!1,C=n.prototype,N=C[m]||C["@@iterator"]||O&&C[O],M=!g&&N||x(O),L="Array"===l&&C.entries||N;if(L&&(I=u(L.call(new n)))!==Object.prototype&&I.next&&(e||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,P,!0,!0),e&&(h[P]=S)),v&&O===_&&N&&N.name!==_&&(!e&&d?c(C,"name",_):(k=!0,M=function(){return r(N,this)})),O)if(D={values:x(_),keys:E?M:x(b),entries:x(w)},A)for(j in D)(g||k||!(j in C))&&f(C,j,D[j]);else t({target:l,proto:!0,forced:g||k},D);return e&&!A||C[m]===M||f(C,m,M,{name:O}),h[l]=M,D}}function Ua(){return ba?ma:(ba=1,ma=function(t,r){return{value:t,done:r}})}function Wa(){if(wa)return _a;wa=1;var t=Et(),r=bi(),e=xa(),n=Zo(),i=re().f,o=qa(),u=Ua(),a=pr(),s=L(),c="Array Iterator",f=n.set,l=n.getterFor(c);_a=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 _a}function Ya(){return Ta?Sa:(Ta=1,Sa={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 Ba(){if(Oa)return ja;Oa=1,Wa();var t=Ya(),r=A(),e=Qo(),n=xa();for(var i in t)e(r[i],i),n[i]=n.Array;return ja}function Xa(){if(Aa)return Ea;Aa=1;var t=Hu();return Ba(),Ea=t}var Ja,Va,Ga,Ha,Ka,Qa,$a,Za,ts,rs=f(Da?Ia:(Da=1,Ia=Xa())),es={};function ns(){return Ga?Va:(Ga=1,function(){if(Ja)return es;Ja=1;var t=ne(),r=An(),e=xn(),n=At(),i=uo(),o=qe(),u=Et(),a=Cn(),s=Ci(),c=_r(),f=Mn(),l=ie(),h=f("slice"),p=c("species"),v=Array,d=Math.max;t({target:"Array",proto:!0,forced:!h},{slice:function(t,c){var f,h,y,g=u(this),m=o(g),b=i(t,m),_=i(void 0===c?m:c,m);if(r(g)&&(f=g.constructor,(e(f)&&(f===v||r(f.prototype))||n(f)&&null===(f=f[p]))&&(f=void 0),f===v||void 0===f))return l(g,b,_);for(h=new(void 0===f?v:f)(d(_-b,0)),y=0;b<_;b++,y++)b in g&&a(h,y,g[b]);return s(h,y),h}})}(),Va=ue()("Array","slice"))}function is(){if(Ka)return Ha;Ka=1;var t=v(),r=ns(),e=Array.prototype;return Ha=function(n){var i=n.slice;return n===e||t(e,n)&&i===e.slice?r:i}}function os(){return $a?Qa:($a=1,Qa=is())}var us,as,ss,cs,fs,ls,hs,ps,vs,ds=f(ts?Za:(ts=1,Za=os()));function ys(){if(as)return us;as=1;var t=Dt(),r=p(),e=bo(),n=jo(),i=te(),o=r([].concat);return us=t("Reflect","ownKeys")||function(t){var r=e.f(i(t)),u=n.f;return u?o(r,u(t)):r},us}function gs(){return fs?cs:(fs=1,ss||(ss=1,ne()({target:"Reflect",stat:!0},{ownKeys:ys()})),cs=It().Reflect.ownKeys)}function ms(){return hs?ls:(hs=1,ls=gs())}var bs,_s,ws,Ss,Ts,Os,Es,As=f(vs?ps:(vs=1,ps=ms()));function Is(){return ws?_s:(ws=1,bs||(bs=1,ne()({target:"Array",stat:!0},{isArray:An()})),_s=It().Array.isArray)}function Ds(){return Ts?Ss:(Ts=1,Ss=Is())}var js,xs,Ps,ks,Cs,Ns,Ms,Ls=f(Es?Os:(Es=1,Os=Ds())),Rs={};function Fs(){return Ps?xs:(Ps=1,function(){if(js)return Rs;js=1;var t=ne(),r=gr(),e=lo();t({target:"Object",stat:!0,forced:l()(function(){e(1)})},{keys:function(t){return e(r(t))}})}(),xs=It().Object.keys)}function zs(){return Cs?ks:(Cs=1,ks=Fs())}var qs,Us,Ws,Ys,Bs,Xs,Js,Vs,Gs,Hs,Ks,Qs=f(Ms?Ns:(Ms=1,Ns=zs())),$s={};function Zs(){if(Us)return qs;Us=1;var t=Nn().forEach,r=We()("forEach");return qs=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},qs}function tc(){return Bs?Ys:(Bs=1,function(){if(Ws)return $s;Ws=1;var t=ne(),r=Zs();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),Ys=ue()("Array","forEach"))}function rc(){return Js?Xs:(Js=1,Xs=tc())}function ec(){if(Gs)return Vs;Gs=1;var t=Dn(),r=mr(),e=v(),n=rc(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Vs=function(u){var a=u.forEach;return u===i||e(i,u)&&a===i.forEach||r(o,t(u))?n:a}}var nc,ic,oc,uc,ac,sc,cc,fc,lc,hc,pc,vc=f(Ks?Hs:(Ks=1,Hs=ec())),dc={};function yc(){if(ic)return nc;ic=1;var t=Nt(),r=TypeError;return nc=function(e,n){if(!delete e[n])throw new r("Cannot delete property "+t(n)+" of "+t(e))}}function gc(){return ac?uc:(ac=1,function(){if(oc)return dc;oc=1;var t=ne(),r=gr(),e=uo(),n=Fe(),i=qe(),o=Ci(),u=ui(),a=kn(),s=Cn(),c=yc(),f=Mn()("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(o(d,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}})}(),uc=ue()("Array","splice"))}function mc(){if(cc)return sc;cc=1;var t=v(),r=gc(),e=Array.prototype;return sc=function(n){var i=n.splice;return n===e||t(e,n)&&i===e.splice?r:i}}function bc(){return lc?fc:(lc=1,fc=mc())}var _c,wc,Sc,Tc,Oc,Ec,Ac,Ic,Dc,jc=f(pc?hc:(pc=1,hc=bc())),xc={};function Pc(){if(wc)return _c;wc=1;var t=L(),r=p(),e=R(),n=l(),i=lo(),o=jo(),u=_t(),a=gr(),s=St(),c=Object.assign,f=Object.defineProperty,h=r([].concat);return _c=!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,l=1,p=o.f,v=u.f;f>l;)for(var d,y=s(arguments[l++]),g=p?h(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,_c}function kc(){return Oc?Tc:(Oc=1,function(){if(Sc)return xc;Sc=1;var t=ne(),r=Pc();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),Tc=It().Object.assign)}function Cc(){return Ac?Ec:(Ac=1,Ec=kc())}var Nc,Mc,Lc,Rc,Fc,zc,qc,Uc,Wc=f(Dc?Ic:(Dc=1,Ic=Cc()));function Yc(){return Mc?Nc:(Mc=1,Ni(),Nc=ue()("Array","concat"))}function Bc(){if(Rc)return Lc;Rc=1;var t=v(),r=Yc(),e=Array.prototype;return Lc=function(n){var i=n.concat;return n===e||t(e,n)&&i===e.concat?r:i}}function Xc(){return zc?Fc:(zc=1,Fc=Bc())}var Jc,Vc,Gc,Hc,Kc,Qc,$c,Zc=f(Uc?qc:(Uc=1,qc=Xc()));function tf(){if(Gc)return Vc;Gc=1,Jc||(Jc=1,ne()({target:"Object",stat:!0,sham:!L()},{create:yo()}));var t=It().Object;return Vc=function(r,e){return t.create(r,e)}}function rf(){return Kc?Hc:(Kc=1,Hc=tf())}var ef,nf,of,uf,af,sf,cf,ff,lf,hf,pf,vf,df,yf=f($c?Qc:($c=1,Qc=rf())),gf={};function mf(){if(nf)return ef;nf=1;var t=Fe(),r=zi(),e=Ot(),n=RangeError,i=Math.floor;return ef=function(o){var u=r(e(this)),a="",s=t(o);if(s<0||s===1/0)throw new n("Wrong number of repetitions");for(;s>0;(s=i(s/2))&&(u+=u))s%2&&(a+=u);return a}}function bf(){if(uf)return of;uf=1;var t=p(),r=ze(),e=zi(),n=mf(),i=Ot(),o=t(n),u=t("".slice),a=Math.ceil,s=function(t){return function(n,s,c){var f=e(i(n)),l=r(s),h=f.length;if(l<=h)return f;var p,v,d=void 0===c?" ":e(c);return""===d?f:((v=o(d,a((p=l-h)/d.length))).length>p&&(v=u(v,0,p)),t?f+v:v+f)}};return of={start:s(!1),end:s(!0)}}function _f(){if(sf)return af;sf=1;var t=p(),r=l(),e=bf().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),h=t(u.getUTCHours),v=t(u.getUTCMilliseconds),d=t(u.getUTCMinutes),y=t(u.getUTCMonth),g=t(u.getUTCSeconds);return af=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=v(t),a=r<0?"-":r>9999?"+":"";return a+e(o(r),a?6:4,0)+"-"+e(y(t)+1,2,0)+"-"+e(c(t),2,0)+"T"+e(h(t),2,0)+":"+e(d(t),2,0)+":"+e(g(t),2,0)+"."+e(u,3,0)+"Z"}:a}function wf(){if(lf)return ff;lf=1,function(){if(cf)return gf;cf=1;var t=ne(),r=R(),e=gr(),n=wr(),i=_f(),o=D();t({target:"Date",proto:!0,forced:l()(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}})}(),wu();var t=It(),r=I();return t.JSON||(t.JSON={stringify:JSON.stringify}),ff=function(e,n,i){return r(t.JSON.stringify,null,arguments)},ff}function Sf(){return pf?hf:(pf=1,hf=wf())}var Tf,Of,Ef,Af,If,Df=f(df?vf:(df=1,vf=Sf())),jf={},xf={};function Pf(){if(Of)return Tf;Of=1;var t=TypeError;return Tf=function(r,e){if(r<e)throw new t("Not enough arguments");return r}}function kf(){if(Af)return Ef;Af=1;var t,r=A(),e=I(),n=x(),i=Ye(),o=jt(),u=ie(),a=Pf(),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 Ef=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},Ef}var Cf,Nf,Mf,Lf,Rf,Ff,zf={};function qf(){return Nf||(Nf=1,function(){if(If)return xf;If=1;var t=ne(),r=A(),e=kf()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==e},{setInterval:e})}(),function(){if(Cf)return zf;Cf=1;var t=ne(),r=A(),e=kf()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==e},{setTimeout:e})}()),jf}function Uf(){return Lf?Mf:(Lf=1,qf(),Mf=It().setTimeout)}var Wf,Yf=f(Ff?Rf:(Ff=1,Rf=Uf())),Bf={exports:{}};function Xf(){return Wf||(Wf=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}(Bf)),Bf.exports}var Jf,Vf=f(Xf());
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 Mv(){return Mv=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},Mv.apply(this,arguments)}function Nv(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Rv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}kv="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1;n<arguments.length;n++){var e=arguments[n];if(null!=e)for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i])}return r}:Object.assign;var Fv,Lv=kv,zv=["","webkit","Moz","MS","ms","o"],qv="undefined"==typeof document?{style:{}}:document.createElement("div"),Uv=Math.round,Wv=Math.abs,Yv=Date.now;function Xv(t,r){for(var n,e,i=r[0].toUpperCase()+r.slice(1),o=0;o<zv.length;){if((e=(n=zv[o])?n+i:r)in t)return e;o++}}Fv="undefined"==typeof window?{}:window;var Bv=Xv(qv.style,"touchAction"),Vv=void 0!==Bv;var Gv="compute",Jv="auto",Hv="manipulation",Kv="none",Qv="pan-x",$v="pan-y",Zv=function(){if(!Vv)return!1;var t={},r=Fv.CSS&&Fv.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){return t[n]=!r||Fv.CSS.supports("touch-action",n)}),t}(),td="ontouchstart"in Fv,rd=void 0!==Xv(Fv,"PointerEvent"),nd=td&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ed="touch",id="mouse",od=16,ud=24,ad=["x","y"],sd=["clientX","clientY"];function cd(t,r,n){var e;if(t)if(t.forEach)t.forEach(r,n);else if(void 0!==t.length)for(e=0;e<t.length;)r.call(n,t[e],e,t),e++;else for(e in t)t.hasOwnProperty(e)&&r.call(n,t[e],e,t)}function fd(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function ld(t,r){return t.indexOf(r)>-1}var hd=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Gv&&(t=this.compute()),Vv&&this.manager.element.style&&Zv[t]&&(this.manager.element.style[Bv]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return cd(this.manager.recognizers,function(r){fd(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(ld(t,Kv))return Kv;var r=ld(t,Qv),n=ld(t,$v);return r&&n?Kv:r||n?r?Qv:$v:ld(t,Hv)?Hv:Jv}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var e=this.actions,i=ld(e,Kv)&&!Zv[Kv],o=ld(e,$v)&&!Zv[$v],u=ld(e,Qv)&&!Zv[Qv];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&n||u&&n&ud?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function pd(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function vd(t){var r=t.length;if(1===r)return{x:Uv(t[0].clientX),y:Uv(t[0].clientY)};for(var n=0,e=0,i=0;i<r;)n+=t[i].clientX,e+=t[i].clientY,i++;return{x:Uv(n/r),y:Uv(e/r)}}function dd(t){for(var r=[],n=0;n<t.pointers.length;)r[n]={clientX:Uv(t.pointers[n].clientX),clientY:Uv(t.pointers[n].clientY)},n++;return{timeStamp:Yv(),pointers:r,center:vd(r),deltaX:t.deltaX,deltaY:t.deltaY}}function yd(t,r,n){n||(n=ad);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return Math.sqrt(e*e+i*i)}function gd(t,r,n){n||(n=ad);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return 180*Math.atan2(i,e)/Math.PI}function md(t,r){return t===r?1:Wv(t)>=Wv(r)?t<0?2:4:r<0?8:od}function bd(t,r,n){return{x:r/t||0,y:n/t||0}}function _d(t,r){var n=t.session,e=r.pointers,i=e.length;n.firstInput||(n.firstInput=dd(r)),i>1&&!n.firstMultiple?n.firstMultiple=dd(r):1===i&&(n.firstMultiple=!1);var o=n.firstInput,u=n.firstMultiple,a=u?u.center:o.center,s=r.center=vd(e);r.timeStamp=Yv(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=gd(a,s),r.distance=yd(a,s),function(t,r){var n=r.center,e=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},e=t.offsetDelta={x:n.x,y:n.y}),r.deltaX=i.x+(n.x-e.x),r.deltaY=i.y+(n.y-e.y)}(n,r),r.offsetDirection=md(r.deltaX,r.deltaY);var c,f,l=bd(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=Wv(l.x)>Wv(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,yd((f=e)[0],f[1],sd)/yd(c[0],c[1],sd)):1,r.rotation=u?function(t,r){return gd(r[1],r[0],sd)+gd(t[1],t[0],sd)}(u.pointers,e):0,r.maxPointers=n.prevInput?r.pointers.length>n.prevInput.maxPointers?r.pointers.length:n.prevInput.maxPointers:r.pointers.length,function(t,r){var n,e,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=bd(a,s,c);e=f.x,i=f.y,n=Wv(f.x)>Wv(f.y)?f.x:f.y,o=md(s,c),t.lastInterval=r}else n=u.velocity,e=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=n,r.velocityX=e,r.velocityY=i,r.direction=o}(n,r);var h,p=t.element,v=r.srcEvent;pd(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function wd(t,r,n){var e=n.pointers.length,i=n.changedPointers.length,o=1&r&&e-i===0,u=12&r&&e-i===0;n.isFirst=!!o,n.isFinal=!!u,o&&(t.session={}),n.eventType=r,_d(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Sd(t){return t.trim().split(/\s+/g)}function Od(t,r,n){cd(Sd(r),function(r){t.addEventListener(r,n,!1)})}function Td(t,r,n){cd(Sd(r),function(r){t.removeEventListener(r,n,!1)})}function Ed(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var Ad=function(){function t(t,r){var n=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){fd(t.options.enable,[t])&&n.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Od(this.element,this.evEl,this.domHandler),this.evTarget&&Od(this.target,this.evTarget,this.domHandler),this.evWin&&Od(Ed(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Td(this.element,this.evEl,this.domHandler),this.evTarget&&Td(this.target,this.evTarget,this.domHandler),this.evWin&&Td(Ed(this.element),this.evWin,this.domHandler)},t}();function Id(t,r,n){if(t.indexOf&&!n)return t.indexOf(r);for(var e=0;e<t.length;){if(n&&t[e][n]==r||!n&&t[e]===r)return e;e++}return-1}var jd={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},xd={2:ed,3:"pen",4:id,5:"kinect"},Pd="pointerdown",Dd="pointermove pointerup pointercancel";Fv.MSPointerEvent&&!Fv.PointerEvent&&(Pd="MSPointerDown",Dd="MSPointerMove MSPointerUp MSPointerCancel");var kd=function(t){function r(){var n,e=r.prototype;return e.evEl=Pd,e.evWin=Dd,(n=t.apply(this,arguments)||this).store=n.manager.session.pointerEvents=[],n}return Nv(r,t),r.prototype.handler=function(t){var r=this.store,n=!1,e=t.type.toLowerCase().replace("ms",""),i=jd[e],o=xd[t.pointerType]||t.pointerType,u=o===ed,a=Id(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(n=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),n&&r.splice(a,1))},r}(Ad);function Cd(t){return Array.prototype.slice.call(t,0)}function Md(t,r,n){for(var e=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];Id(i,u)<0&&e.push(t[o]),i[o]=u,o++}return n&&(e=r?e.sort(function(t,n){return t[r]>n[r]}):e.sort()),e}var Nd={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Rd=function(t){function r(){var n;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).targetIds={},n}return Nv(r,t),r.prototype.handler=function(t){var r=Nd[t.type],n=Fd.call(this,t,r);n&&this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:ed,srcEvent:t})},r}(Ad);function Fd(t,r){var n,e,i=Cd(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=Cd(t.changedTouches),a=[],s=this.target;if(e=i.filter(function(t){return pd(t.target,s)}),1===r)for(n=0;n<e.length;)o[e[n].identifier]=!0,n++;for(n=0;n<u.length;)o[u[n].identifier]&&a.push(u[n]),12&r&&delete o[u[n].identifier],n++;return a.length?[Md(e.concat(a),"identifier",!0),a]:void 0}var Ld={mousedown:1,mousemove:2,mouseup:4},zd=function(t){function r(){var n,e=r.prototype;return e.evEl="mousedown",e.evWin="mousemove mouseup",(n=t.apply(this,arguments)||this).pressed=!1,n}return Nv(r,t),r.prototype.handler=function(t){var r=Ld[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:id,srcEvent:t}))},r}(Ad);function qd(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var n={x:r.clientX,y:r.clientY},e=this.lastTouches;this.lastTouches.push(n);setTimeout(function(){var t=e.indexOf(n);t>-1&&e.splice(t,1)},2500)}}function Ud(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,qd.call(this,r)):12&t&&qd.call(this,r)}function Wd(t){for(var r=t.srcEvent.clientX,n=t.srcEvent.clientY,e=0;e<this.lastTouches.length;e++){var i=this.lastTouches[e],o=Math.abs(r-i.x),u=Math.abs(n-i.y);if(o<=25&&u<=25)return!0}return!1}var Yd=function(){return function(t){function r(r,n){var e;return(e=t.call(this,r,n)||this).handler=function(t,r,n){var i=n.pointerType===ed,o=n.pointerType===id;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)Ud.call(Rv(Rv(e)),r,n);else if(o&&Wd.call(Rv(Rv(e)),n))return;e.callback(t,r,n)}},e.touch=new Rd(e.manager,e.handler),e.mouse=new zd(e.manager,e.handler),e.primaryTouch=null,e.lastTouches=[],e}return Nv(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(Ad)}();function Xd(t,r,n){return!!Array.isArray(t)&&(cd(t,n[r],n),!0)}var Bd=32,Vd=1;function Gd(t,r){var n=r.manager;return n?n.get(t):t}function Jd(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Hd=function(){function t(t){void 0===t&&(t={}),this.options=Mv({enable:!0},t),this.id=Vd++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return Lv(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(Xd(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=Gd(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return Xd(t,"dropRecognizeWith",this)||(t=Gd(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(Xd(t,"requireFailure",this))return this;var r=this.requireFail;return-1===Id(r,t=Gd(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(Xd(t,"dropRequireFailure",this))return this;t=Gd(t,this);var r=Id(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,n=this.state;function e(n){r.manager.emit(n,t)}n<8&&e(r.options.event+Jd(n)),e(r.options.event),t.additionalEvent&&e(t.additionalEvent),n>=8&&e(r.options.event+Jd(n))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Bd},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=Lv({},t);if(!fd(this.options.enable,[this,r]))return this.reset(),void(this.state=Bd);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}(),Kd=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Mv({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this).pTime=!1,n.pCenter=!1,n._timer=null,n._input=null,n.count=0,n}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Hv]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&e){if(4!==t.eventType)return this.failTimeout();var u=!this.pTime||t.timeStamp-this.pTime<n.interval,a=!this.pCenter||yd(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&u?this.count+=1:this.count=1,this._input=t,0===this.count%n.taps)return this.hasRequireFailures()?(this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.interval),2):8}return Bd},n.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=Bd},this.options.interval),Bd},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},r}(Hd),Qd=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Mv({pointers:1},r))||this}Nv(r,t);var n=r.prototype;return n.attrTest=function(t){var r=this.options.pointers;return 0===r||t.pointers.length===r},n.process=function(t){var r=this.state,n=t.eventType,e=6&r,i=this.attrTest(t);return e&&(8&n||!i)?16|r:e||i?4&n?8|r:2&r?4|r:2:Bd},r}(Hd);function $d(t){return t===od?"down":8===t?"up":2===t?"left":4===t?"right":""}var Zd=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Mv({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,n.pY=null,n}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push($v),t&ud&&r.push(Qv),r},n.directionTest=function(t){var r=this.options,n=!0,e=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,n=o!==this.pX,e=Math.abs(t.deltaX)):(i=0===u?1:u<0?8:od,n=u!==this.pY,e=Math.abs(t.deltaY))),t.direction=i,n&&e>r.threshold&&i&r.direction},n.attrTest=function(t){return Qd.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},n.emit=function(r){this.pX=r.deltaX,this.pY=r.deltaY;var n=$d(r.direction);n&&(r.additionalEvent=this.options.event+n),t.prototype.emit.call(this,r)},r}(Qd),ty=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Mv({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){return Zd.prototype.getTouchAction.call(this)},n.attrTest=function(r){var n,e=this.options.direction;return 30&e?n=r.overallVelocity:6&e?n=r.overallVelocityX:e&ud&&(n=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&e&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&Wv(n)>this.options.velocity&&4&r.eventType},n.emit=function(t){var r=$d(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(Qd),ry=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Mv({event:"pinch",threshold:0,pointers:2},r))||this}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Kv]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.scale-1)>this.options.threshold||2&this.state)},n.emit=function(r){if(1!==r.scale){var n=r.scale<1?"in":"out";r.additionalEvent=this.options.event+n}t.prototype.emit.call(this,r)},r}(Qd),ny=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Mv({event:"rotate",threshold:0,pointers:2},r))||this}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Kv]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(Qd),ey=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Mv({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,n._input=null,n}Nv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Jv]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime>n.time;if(this._input=t,!i||!e||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.time);else if(4&t.eventType)return 8;return Bd},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Yv(),this.manager.emit(this.options.event,this._input)))},r}(Hd),iy={domEvents:!1,touchAction:Gv,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},oy=[[ny,{enable:!1}],[ry,{enable:!1},["rotate"]],[ty,{direction:6}],[Zd,{direction:6},["swipe"]],[Kd],[Kd,{event:"doubletap",taps:2},["tap"]],[ey]];function uy(t,r){var n,e=t.element;e.style&&(cd(t.options.cssProps,function(i,o){n=Xv(e.style,o),r?(t.oldCssProps[n]=e.style[n],e.style[n]=i):e.style[n]=t.oldCssProps[n]||""}),r||(t.oldCssProps={}))}var ay=function(){function t(t,r){var n,e=this;this.options=Lv({},iy,r||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(rd?kd:nd?Rd:td?Yd:zd))(n,wd),this.touchAction=new hd(this,this.options.touchAction),uy(this,!0),cd(this.options.recognizers,function(t){var r=e.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 Lv(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 n;this.touchAction.preventDefaults(t);var e=this.recognizers,i=r.curRecognizer;(!i||i&&8&i.state)&&(r.curRecognizer=null,i=null);for(var o=0;o<e.length;)n=e[o],2===r.stopped||i&&n!==i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&14&n.state&&(r.curRecognizer=n,i=n),o++}},r.get=function(t){if(t instanceof Hd)return t;for(var r=this.recognizers,n=0;n<r.length;n++)if(r[n].options.event===t)return r[n];return null},r.add=function(t){if(Xd(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(Xd(t,"remove",this))return this;var r=this.get(t);if(t){var n=this.recognizers,e=Id(n,r);-1!==e&&(n.splice(e,1),this.touchAction.update())}return this},r.on=function(t,r){if(void 0===t||void 0===r)return this;var n=this.handlers;return cd(Sd(t),function(t){n[t]=n[t]||[],n[t].push(r)}),this},r.off=function(t,r){if(void 0===t)return this;var n=this.handlers;return cd(Sd(t),function(t){r?n[t]&&n[t].splice(Id(n[t],r),1):delete n[t]}),this},r.emit=function(t,r){this.options.domEvents&&function(t,r){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=r,r.target.dispatchEvent(n)}(t,r);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){r.type=t,r.preventDefault=function(){r.srcEvent.preventDefault()};for(var e=0;e<n.length;)n[e](r),e++}},r.destroy=function(){this.element&&uy(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),sy={touchstart:1,touchmove:2,touchend:4,touchcancel:8},cy=function(t){function r(){var n,e=r.prototype;return e.evTarget="touchstart",e.evWin="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).started=!1,n}return Nv(r,t),r.prototype.handler=function(t){var r=sy[t.type];if(1===r&&(this.started=!0),this.started){var n=fy.call(this,t,r);12&r&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:ed,srcEvent:t})}},r}(Ad);function fy(t,r){var n=Cd(t.touches),e=Cd(t.changedTouches);return 12&r&&(n=Md(n.concat(e),"identifier",!0)),[n,e]}function ly(t,r,n){var e="DEPRECATED METHOD: "+r+"\n"+n+" AT \n";return function(){var r=new Error("get-stack-trace"),n=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,e,n),t.apply(this,arguments)}}var hy=ly(function(t,r,n){for(var e=Object.keys(r),i=0;i<e.length;)(!n||n&&void 0===t[e[i]])&&(t[e[i]]=r[e[i]]),i++;return t},"extend","Use `assign`."),py=ly(function(t,r){return hy(t,r,!0)},"merge","Use `assign`.");function vy(t,r,n){var e,i=r.prototype;(e=t.prototype=Object.create(i)).constructor=t,e._super=i,n&&Lv(e,n)}function dy(t,r){return function(){return t.apply(r,arguments)}}var yy=function(){var t=function(t,r){return void 0===r&&(r={}),new ay(t,Mv({recognizers:oy.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=od,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=ud,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=od,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=Bd,t.Manager=ay,t.Input=Ad,t.TouchAction=hd,t.TouchInput=Rd,t.MouseInput=zd,t.PointerEventInput=kd,t.TouchMouseInput=Yd,t.SingleTouchInput=cy,t.Recognizer=Hd,t.AttrRecognizer=Qd,t.Tap=Kd,t.Pan=Zd,t.Swipe=ty,t.Pinch=ry,t.Rotate=ny,t.Press=ey,t.on=Od,t.off=Td,t.each=cd,t.merge=py,t.extend=hy,t.bindFn=dy,t.assign=Lv,t.inherit=vy,t.bindFn=dy,t.prefixed=Xv,t.toArray=Cd,t.inArray=Id,t.uniqueArray=Md,t.splitStr=Sd,t.boolOrFn=fd,t.hasParent=pd,t.addEventListeners=Od,t.removeEventListeners=Td,t.defaults=Lv({},iy,{preset:oy}),t}();const gy=zl("DELETE");function my(){const t=by(...arguments);return wy(t),t}function by(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length<2)return r[0];if(r.length>2)return by(my(r[0],r[1]),...Hl(r).call(r,2));const e=r[0],i=r[1];if(e instanceof Date&&i instanceof Date)return e.setTime(i.getTime()),e;for(const t of rh(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===gy?delete e[t]:null===e[t]||null===i[t]||"object"!=typeof e[t]||"object"!=typeof i[t]||ch(e[t])||ch(i[t])?e[t]=_y(i[t]):e[t]=by(e[t],i[t]));return e}function _y(t){return ch(t)?sc(t).call(t,t=>_y(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):by({},t):t}function wy(t){for(const r of Th(t))t[r]===gy?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&wy(t[r])}const Sy="undefined"!=typeof window?window.Hammer||yy:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Oy(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 n=Sy(this._dom.overlay);n.on("tap",Ss(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{n.destroy()});const e=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];zh(e).call(e,t=>{n.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 Ty,Ey,Ay,Iy,jy,xy;function Py(){return Ey?Ty:(Ey=1,Ji(),Ty=It().Object.getOwnPropertySymbols)}function Dy(){return Iy?Ay:(Iy=1,Ay=Py())}Cv(Oy.prototype),Oy.current=null,Oy.prototype.destroy=function(){this.deactivate();for(const n of rp(t=yp(r=this._cleanupQueue).call(r,0)).call(t)){var t,r;n()}},Oy.prototype.activate=function(){Oy.current&&Oy.current.deactivate(),Oy.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)},Oy.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")},Oy.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var ky,Cy,My,Ny,Ry,Fy,Ly=n(xy?jy:(xy=1,jy=Dy())),zy={exports:{}},qy={};function Uy(){if(Cy)return zy.exports;Cy=1,function(){if(ky)return qy;ky=1;var t=Zr(),r=S(),n=Et(),e=Ar().f,i=M();t({target:"Object",stat:!0,forced:!i||r(function(){e(1)}),sham:!i},{getOwnPropertyDescriptor:function(t,r){return e(n(t),r)}})}();var t=It().Object,r=zy.exports=function(r,n){return t.getOwnPropertyDescriptor(r,n)};return t.getOwnPropertyDescriptor.sham&&(r.sham=!0),zy.exports}function Wy(){return Ny?My:(Ny=1,My=Uy())}var Yy,Xy,By,Vy,Gy,Jy,Hy,Ky=n(Fy?Ry:(Fy=1,Ry=Wy())),Qy={};function $y(){return By?Xy:(By=1,function(){if(Yy)return Qy;Yy=1;var t=Zr(),r=M(),n=Kl(),e=Et(),i=Ar(),o=Vn();t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var r,u,a=e(t),s=i.f,c=n(a),f={},l=0;c.length>l;)void 0!==(u=s(a,r=c[l++]))&&o(f,r,u);return f}})}(),Xy=It().Object.getOwnPropertyDescriptors)}function Zy(){return Gy?Vy:(Gy=1,Vy=$y())}var tg,rg,ng,eg,ig,og,ug=n(Hy?Jy:(Hy=1,Jy=Zy())),ag={exports:{}},sg={};function cg(){if(tg)return sg;tg=1;var t=Zr(),r=M(),n=Ce().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n}),sg}function fg(){if(rg)return ag.exports;rg=1,cg();var t=It().Object,r=ag.exports=function(r,n){return t.defineProperties(r,n)};return t.defineProperties.sham&&(r.sham=!0),ag.exports}function lg(){return eg?ng:(eg=1,ng=fg())}var hg,pg,vg=n(og?ig:(og=1,ig=lg()));var dg,yg,gg,mg,bg,_g,wg,Sg,Og,Tg,Eg,Ag,Ig,jg,xg,Pg,Dg,kg,Cg,Mg,Ng,Rg=n(pg?hg:(pg=1,hg=nn())),Fg={},Lg={exports:{}};function zg(){return yg?dg:(yg=1,dg=S()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function qg(){if(mg)return gg;mg=1;var t=S(),r=At(),n=A(),e=zg(),i=Object.isExtensible,o=t(function(){});return gg=o||e?function(t){return!!r(t)&&((!e||"ArrayBuffer"!==n(t))&&(!i||i(t)))}:i}function Ug(){return _g?bg:(_g=1,bg=!S()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function Wg(){if(wg)return Lg.exports;wg=1;var t=Zr(),r=E(),n=xe(),e=At(),i=br(),o=Qr().f,u=ze(),a=Be(),s=qg(),c=_r(),f=Ug(),l=!1,h=c("meta"),p=0,v=function(t){o(t,h,{value:{objectID:"O"+p++,weakData:{}}})},d=Lg.exports={enable:function(){d.enable=function(){},l=!0;var n=u.f,e=r([].splice),i={};i[h]=1,n(i).length&&(u.f=function(t){for(var r=n(t),i=0,o=r.length;i<o;i++)if(r[i]===h){e(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!e(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 n[h]=!0,Lg.exports}function Yg(){if(Og)return Sg;Og=1;var t=jr(),r=N(),n=Kr(),e=Nt(),i=Ol(),o=Xn(),u=xt(),a=Tl(),s=rf(),c=wl(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return Sg=function(p,v,d){var y,g,m,b,_,w,S,O=d&&d.that,T=!(!d||!d.AS_ENTRIES),E=!(!d||!d.IS_RECORD),A=!(!d||!d.IS_ITERATOR),I=!(!d||!d.INTERRUPTED),j=t(v,O),x=function(t){var r=y;return y=void 0,r&&c(r,"normal"),new l(!0,t)},P=function(t){return T?(n(t),I?j(t[0],t[1],x):j(t[0],t[1])):I?j(t,x):j(t)};if(E)y=p.iterator;else if(A)y=p;else{if(!(g=s(p)))throw new f(e(p)+" is not iterable");if(i(g)){for(m=0,b=o(p);b>m;m++)if((_=P(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;){var D=S.value;try{_=P(D)}catch(t){if(!y)throw t;c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},Sg}function Xg(){if(Eg)return Tg;Eg=1;var t=xt(),r=TypeError;return Tg=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function Bg(){if(Ig)return Ag;Ig=1;var t=Zr(),r=w(),n=Wg(),e=N(),i=S(),o=$r(),u=Yg(),a=Xg(),s=j(),c=At(),f=Ot(),l=Si(),h=Qr().f,p=Ei().forEach,v=M(),d=Ti(),y=d.set,g=d.getterFor;return Ag=function(d,m,b){var _,w=-1!==d.indexOf("Map"),S=-1!==d.indexOf("Weak"),O=w?"set":"add",T=r[d],E=T&&T.prototype,A={};if(v&&s(T)&&(S||E.forEach&&!i(function(){(new T).entries().next()}))){var I=(_=m(function(t,r){y(a(t,I),{type:d,collection:new T}),f(r)||u(r,t[O],{that:t,AS_ENTRIES:w})})).prototype,j=g(d);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in E)||S&&"clear"===t||o(I,t,function(n,i){var o=this,u=j(o).collection;if(!r&&S&&!c(n))return"get"===t&&void 0;var a=u[t]("forEach"===t?function(t,r){e(n,i,t,r,o)}:0===n?0:n,i);return r?o:a})}),S||h(I,"size",{configurable:!0,get:function(){return j(this).collection.size}})}else _=b.getConstructor(m,d,w,O),n.enable();return l(_,d,!1,!0),A[d]=_,t({global:!0,forced:!0},A),S||b.setStrong(_,d,w),_}}function Vg(){if(xg)return jg;xg=1;var t=Ze();return jg=function(r,n,e){for(var i in n)e&&e.unsafe&&r[i]?r[i]=n[i]:t(r,i,n[i],e);return r}}function Gg(){if(Dg)return Pg;Dg=1;var t=jt(),r=ti(),n=wr(),e=M(),i=n("species");return Pg=function(n){var o=t(n);e&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function Jg(){if(Cg)return kg;Cg=1;var t=Re(),r=ti(),n=Vg(),e=jr(),i=Xg(),o=Ot(),u=Yg(),a=yu(),s=gu(),c=Gg(),f=M(),l=Wg().fastKey,h=Ti(),p=h.set,v=h.getterFor;return kg={getConstructor:function(a,s,c,h){var d=a(function(r,n){i(r,y),p(r,{type:s,index:t(null),first:null,last:null,size:0}),f||(r.size=0),o(n)||u(n,r[h],{that:r,AS_ENTRIES:c})}),y=d.prototype,g=v(s),m=function(t,r,n){var e,i,o=g(t),u=b(t,r);return u?u.value=n:(o.last=u={index:i=l(r,!0),key:r,value:n,previous:e=o.last,next:null,removed:!1},o.first||(o.first=u),e&&(e.next=u),f?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},b=function(t,r){var n,e=g(t),i=l(r);if("F"!==i)return e.index[i];for(n=e.first;n;n=n.next)if(n.key===r)return n};return n(y,{clear:function(){for(var r=g(this),n=r.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;r.first=r.last=null,r.index=t(null),f?r.size=0:this.size=0},delete:function(t){var r=this,n=g(r),e=b(r,t);if(e){var i=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===e&&(n.first=i),n.last===e&&(n.last=o),f?n.size--:r.size--}return!!e},forEach:function(t){for(var r,n=g(this),i=e(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:n.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!b(this,t)}}),n(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,n){var e=r+" Iterator",i=v(r),o=v(e);a(t,r,function(t,r){p(this,{type:e,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===r?n.key:"values"===r?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(r)}},kg}function Hg(){return Ng||(Ng=1,Mg||(Mg=1,Bg()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Jg()))),Fg}var Kg,Qg,$g,Zg,tm,rm={};function nm(){return Qg?Kg:(Qg=1,Kg=function(t,r){return 1===r?function(r,n){return r[t](n)}:function(r,n,e){return r[t](n,e)}})}function em(){if(Zg)return $g;Zg=1;var t=jt(),r=nm(),n=t("Map");return $g={Map:n,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:n.prototype}}var im,om={};var um,am,sm,cm,fm,lm,hm,pm={};function vm(){return sm?am:(sm=1,mu(),Hg(),function(){if(tm)return rm;tm=1;var t=Zr(),r=E(),n=Rt(),e=Tt(),i=Yg(),o=em(),u=vr(),a=S(),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){e(t),n(r);var o=new s,u=0;return i(t,function(t){var n=r(t,u++);c(o,n)?h(f(o,n),t):l(o,n,[t])}),o}})}(),function(){if(im)return om;im=1;var t=Zr(),r=em(),n=vr(),e=r.get,i=r.has,o=r.set;t({target:"Map",proto:!0,real:!0,forced:n},{getOrInsert:function(t,r){return i(this,t)?e(this,t):(o(this,t,r),r)}})}(),function(){if(um)return pm;um=1;var t=Zr(),r=Rt(),n=em(),e=vr(),i=n.get,o=n.has,u=n.set;t({target:"Map",proto:!0,real:!0,forced:e},{getOrInsertComputed:function(t,n){var e=o(this,t);if(r(n),e)return i(this,t);0===t&&1/t==-1/0&&(t=0);var a=n(t);return u(this,t,a),a}})}(),va(),am=It().Map)}function dm(){if(fm)return cm;fm=1;var t=vm();return _u(),cm=t}var ym,gm,mm,bm,_m,wm,Sm,Om,Tm,Em=n(hm?lm:(hm=1,lm=dm())),Am={};function Im(){return mm?gm:(mm=1,function(){if(ym)return Am;ym=1;var t=Zr(),r=Ei().some;t({target:"Array",proto:!0,forced:!Es()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),gm=rs()("Array","some"))}function jm(){if(_m)return bm;_m=1;var t=xt(),r=Im(),n=Array.prototype;return bm=function(e){var i=e.some;return e===n||t(n,e)&&i===n.some?r:i}}function xm(){return Sm?wm:(Sm=1,wm=jm())}var Pm,Dm,km,Cm,Mm,Nm,Rm,Fm,Lm=n(Tm?Om:(Tm=1,Om=xm()));function zm(){return Dm?Pm:(Dm=1,mu(),Pm=rs()("Array","keys"))}function qm(){return Cm?km:(Cm=1,km=zm())}function Um(){if(Nm)return Mm;Nm=1,_u();var t=Hn(),r=br(),n=xt(),e=qm(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Mm=function(u){var a=u.keys;return u===i||n(i,u)&&a===i.keys||r(o,t(u))?e:a}}var Wm,Ym,Xm,Bm,Vm,Gm,Jm,Hm,Km,Qm,$m,Zm,tb,rb,nb,eb,ib,ob=n(Fm?Rm:(Fm=1,Rm=Um())),ub={};function ab(){if(Ym)return Wm;Ym=1;var t=Xe(),r=Math.floor,n=function(e,i){var o=e.length;if(o<8)for(var u,a,s=1;s<o;){for(a=s,u=e[s];a&&i(e[a-1],u)>0;)e[a]=e[--a];a!==s++&&(e[a]=u)}else for(var c=r(o/2),f=n(t(e,0,c),i),l=n(t(e,c),i),h=f.length,p=l.length,v=0,d=0;v<h||d<p;)e[v+d]=v<h&&d<p?i(f[v],l[d])<=0?f[v++]:l[d++]:v<h?f[v++]:l[d++];return e};return Wm=n}function sb(){if(Bm)return Xm;Bm=1;var t=Pt().match(/firefox\/(\d+)/i);return Xm=!!t&&+t[1]}function cb(){return Gm?Vm:(Gm=1,Vm=/MSIE|Trident/.test(Pt()))}function fb(){if(Hm)return Jm;Hm=1;var t=Pt().match(/AppleWebKit\/(\d+)\./);return Jm=!!t&&+t[1]}function lb(){if(Km)return ub;Km=1;var t=Zr(),r=E(),n=Rt(),e=mr(),i=Xn(),o=ep(),u=ue(),a=S(),s=ab(),c=Es(),f=sb(),l=cb(),h=Dt(),p=fb(),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,n,e,i="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(e=0;e<47;e++)v.push({k:r+e,v:n})}for(v.sort(function(t,r){return r.v-t.v}),e=0;e<v.length;e++)r=v[e].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&&n(t);var r=e(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,n){if(void 0===n)return-1;if(void 0===r)return 1;if(void 0!==t)return+t(r,n)||0;var e=u(r),i=u(n);return e===i?0:e>i?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),ub}function hb(){return $m?Qm:($m=1,lb(),Qm=rs()("Array","sort"))}function pb(){if(tb)return Zm;tb=1;var t=xt(),r=hb(),n=Array.prototype;return Zm=function(e){var i=e.sort;return e===n||t(n,e)&&i===n.sort?r:i}}function vb(){return nb?rb:(nb=1,rb=pb())}var db,yb,gb,mb,bb,_b,wb,Sb,Ob=n(ib?eb:(ib=1,eb=vb()));function Tb(){return yb?db:(yb=1,mu(),db=rs()("Array","values"))}function Eb(){return mb?gb:(mb=1,gb=Tb())}function Ab(){if(_b)return bb;_b=1,_u();var t=Hn(),r=br(),n=xt(),e=Eb(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return bb=function(u){var a=u.values;return u===i||n(i,u)&&a===i.values||r(o,t(u))?e:a}}var Ib,jb,xb=n(Sb?wb:(Sb=1,wb=Ab()));var Pb,Db,kb,Cb,Mb,Nb,Rb,Fb,Lb=n(jb?Ib:(jb=1,Ib=ya()));function zb(){return Db?Pb:(Db=1,mu(),Pb=rs()("Array","entries"))}function qb(){return Cb?kb:(Cb=1,kb=zb())}function Ub(){if(Nb)return Mb;Nb=1,_u();var t=Hn(),r=br(),n=xt(),e=qb(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Mb=function(u){var a=u.entries;return u===i||n(i,u)&&a===i.entries||r(o,t(u))?e:a}}var Wb=n(Fb?Rb:(Fb=1,Rb=Ub()));const Yb=[];for(let t=0;t<256;++t)Yb.push((t+256).toString(16).slice(1));const Xb=new Uint8Array(16);function Bb(t,r,n){return crypto.randomUUID?crypto.randomUUID():function(t){t=t||{};const r=t.random??t.rng?.()??crypto.getRandomValues(Xb);if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(t,r=0){return(Yb[t[r+0]]+Yb[t[r+1]]+Yb[t[r+2]]+Yb[t[r+3]]+"-"+Yb[t[r+4]]+Yb[t[r+5]]+"-"+Yb[t[r+6]]+Yb[t[r+7]]+"-"+Yb[t[r+8]]+Yb[t[r+9]]+"-"+Yb[t[r+10]]+Yb[t[r+11]]+Yb[t[r+12]]+Yb[t[r+13]]+Yb[t[r+14]]+Yb[t[r+15]]).toLowerCase()}(r)}(t)}function Vb(t){return"string"==typeof t||"number"==typeof t}class Gb{constructor(){za(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),za(this,"subscribe",Gb.prototype.on),za(this,"unsubscribe",Gb.prototype.off)}_trigger(t,r,n){var e;if("*"===t)throw new Error("Cannot trigger event *");zh(e=[...this._subscribers[t],...this._subscribers["*"]]).call(e,e=>{e(t,r,null!=n?n:null)})}on(t,r){"function"==typeof r&&this._subscribers[t].push(r)}off(t,r){var n;this._subscribers[t]=tc(n=this._subscribers[t]).call(n,t=>t!==r)}}var Jb,Hb,Kb={};function Qb(){return Hb||(Hb=1,Jb||(Jb=1,Bg()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Jg()))),Kb}var $b,Zb,t_,r_,n_,e_,i_,o_,u_,a_,s_,c_,f_,l_,h_,p_,v_,d_,y_,g_,m_,b_={};function __(){if(Zb)return $b;Zb=1;var t=Nt(),r=TypeError;return $b=function(n){if("object"==typeof n&&"size"in n&&"has"in n&&"add"in n&&"delete"in n&&"keys"in n)return n;throw new r(t(n)+" is not a set")}}function w_(){if(r_)return t_;r_=1;var t=jt(),r=nm(),n=t("Set"),e=n.prototype;return t_={Set:n,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:e}}function S_(){if(e_)return n_;e_=1;var t=N();return n_=function(r,n,e){for(var i,o,u=e?r:r.iterator,a=r.next;!(i=t(a,u)).done;)if(void 0!==(o=n(i.value)))return o},n_}function O_(){if(o_)return i_;o_=1;var t=S_();return i_=function(r,n,e){return e?t(r.keys(),n,!0):r.forEach(n)},i_}function T_(){if(a_)return u_;a_=1;var t=w_(),r=O_(),n=t.Set,e=t.add;return u_=function(t){var i=new n;return r(t,function(t){e(i,t)}),i},u_}function E_(){return c_||(c_=1,s_=function(t){return t.size}),s_}function A_(){return l_?f_:(l_=1,f_=function(t){return{iterator:t,next:t.next,done:!1}})}function I_(){if(p_)return h_;p_=1;var t=Rt(),r=Kr(),n=N(),e=Wn(),i=A_(),o="Invalid size",u=RangeError,a=TypeError,s=Math.max,c=function(r,n){this.set=r,this.size=s(n,0),this.has=t(r.has),this.keys=t(r.keys)};return c.prototype={getIterator:function(){return i(r(n(this.keys,this.set)))},includes:function(t){return n(this.has,this.set,t)}},h_=function(t){r(t);var n=+t.size;if(n!=n)throw new a(o);var i=e(n);if(i<0)throw new u(o);return new c(t,i)}}function j_(){if(d_)return v_;d_=1;var t=__(),r=w_(),n=T_(),e=E_(),i=I_(),o=O_(),u=S_(),a=r.has,s=r.remove;return v_=function(r){var c=t(this),f=i(r),l=n(c);return e(l)<=f.size?o(l,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function x_(){return g_?y_:(g_=1,y_=function(){return!1})}var P_,D_,k_,C_={};function M_(){if(D_)return P_;D_=1;var t=__(),r=w_(),n=E_(),e=I_(),i=O_(),o=S_(),u=r.Set,a=r.add,s=r.has;return P_=function(r){var c=t(this),f=e(r),l=new u;return n(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 N_,R_,F_,L_={};function z_(){if(R_)return N_;R_=1;var t=__(),r=w_().has,n=E_(),e=I_(),i=O_(),o=S_(),u=wl();return N_=function(a){var s=t(this),c=e(a);if(n(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.iterator,"normal",!1)})},N_}var q_,U_,W_,Y_={};function X_(){if(U_)return q_;U_=1;var t=__(),r=E_(),n=O_(),e=I_();return q_=function(i){var o=t(this),u=e(i);return!(r(o)>u.size)&&!1!==n(o,function(t){if(!u.includes(t))return!1},!0)}}var B_,V_,G_,J_={};function H_(){if(V_)return B_;V_=1;var t=__(),r=w_().has,n=E_(),e=I_(),i=S_(),o=wl();return B_=function(u){var a=t(this),s=e(u);if(n(a)<s.size)return!1;var c=s.getIterator();return!1!==i(c,function(t){if(!r(a,t))return o(c.iterator,"normal",!1)})},B_}var K_,Q_,$_,Z_,tw,rw={};function nw(){if(Q_)return K_;Q_=1;var t=__(),r=w_(),n=T_(),e=I_(),i=S_(),o=r.add,u=r.has,a=r.remove;return K_=function(r){var s=t(this),c=e(r).getIterator(),f=n(s);return i(c,function(t){u(s,t)?a(f,t):o(f,t)}),f}}function ew(){return Z_?$_:(Z_=1,$_=function(t){try{var r=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},e=r[t](n);return 1===e.size&&4===e.values().next().value}catch(t){return!1}})}var iw,ow,uw,aw,sw,cw,fw,lw,hw,pw={};function vw(){if(ow)return iw;ow=1;var t=__(),r=w_().add,n=T_(),e=I_(),i=S_();return iw=function(o){var u=t(this),a=e(o).getIterator(),s=n(u);return i(a,function(t){r(s,t)}),s}}function dw(){return sw?aw:(sw=1,mu(),Qb(),function(){if(m_)return b_;m_=1;var t=Zr(),r=j_(),n=S();t({target:"Set",proto:!0,real:!0,forced:!x_()("difference",function(t){return 0===t.size})||n(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var n=t++>1;return r.has(1)&&r.clear(),{done:n,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size})},{difference:r})}(),function(){if(k_)return C_;k_=1;var t=Zr(),r=S(),n=M_();t({target:"Set",proto:!0,real:!0,forced:!x_()("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:n})}(),function(){if(F_)return L_;F_=1;var t=Zr(),r=z_();t({target:"Set",proto:!0,real:!0,forced:!x_()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(W_)return Y_;W_=1;var t=Zr(),r=X_();t({target:"Set",proto:!0,real:!0,forced:!x_()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(G_)return J_;G_=1;var t=Zr(),r=H_();t({target:"Set",proto:!0,real:!0,forced:!x_()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(tw)return rw;tw=1;var t=Zr(),r=nw(),n=ew();t({target:"Set",proto:!0,real:!0,forced:!x_()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:r})}(),function(){if(uw)return pw;uw=1;var t=Zr(),r=vw(),n=ew();t({target:"Set",proto:!0,real:!0,forced:!x_()("union")||!n("union")},{union:r})}(),va(),aw=It().Set)}function yw(){if(fw)return cw;fw=1;var t=dw();return _u(),cw=t}var gw,mw,bw,_w,ww,Sw,Ow,Tw,Ew,Aw,Iw,jw,xw=n(hw?lw:(hw=1,lw=yw()));function Pw(){return mw?gw:(mw=1,mu(),va(),gw=Tl())}function Dw(){if(_w)return bw;_w=1;var t=Pw();return _u(),bw=t}function kw(){return Sw?ww:(Sw=1,ww=Dw())}function Cw(){return Tw?Ow:(Tw=1,Ow=kw())}function Mw(){return Aw?Ew:(Aw=1,Ew=Cw())}var Nw=n(jw?Iw:(jw=1,Iw=Mw()));class Rw{constructor(t){this._pairs=t}*[Lb](){for(const r of this._pairs){var t=Rl(r,2);const n=t[0],e=t[1];yield[n,e]}}*entries(){for(const r of this._pairs){var t=Rl(r,2);const n=t[0],e=t[1];yield[n,e]}}*keys(){for(const t of this._pairs){const r=Rl(t,1)[0];yield r}}*values(){for(const t of this._pairs){const r=Rl(t,2)[1];yield r}}toIdArray(){var t;return sc(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return sc(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=nv(null);for(const n of this._pairs){var r=Rl(n,2);const e=r[0],i=r[1];t[e]=i}return t}toMap(){return new Em(this._pairs)}toIdSet(){return new xw(this.toIdArray())}toItemSet(){return new xw(this.toItemArray())}cache(){return new Rw([...this._pairs])}distinct(t){const r=new xw;for(const e of this._pairs){var n=Rl(e,2);const i=n[0],o=n[1];r.add(t(o,i))}return r}filter(t){const r=this._pairs;return new Rw({*[Lb](){for(const e of r){var n=Rl(e,2);const r=n[0],i=n[1];t(i,r)&&(yield[r,i])}}})}forEach(t){for(const n of this._pairs){var r=Rl(n,2);const e=r[0];t(r[1],e)}}map(t){const r=this._pairs;return new Rw({*[Lb](){for(const e of r){var n=Rl(e,2);const r=n[0],i=n[1];yield[r,t(i,r)]}}})}max(t){const r=Nw(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const r=Rl(n.value,2),o=r[0],u=r[1],a=t(u,o);a>i&&(i=a,e=u)}return e}min(t){const r=Nw(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const r=Rl(n.value,2),o=r[0],u=r[1],a=t(u,o);a<i&&(i=a,e=u)}return e}reduce(t,r){for(const e of this._pairs){var n=Rl(e,2);const i=n[0];r=t(r,n[1],i)}return r}sort(t){return new Rw({[Lb]:()=>Nw([...this._pairs].toSorted((r,n)=>{let e=Rl(r,2),i=e[0],o=e[1],u=Rl(n,2),a=u[0],s=u[1];return t(o,s,i,a)}))})}}class Fw{constructor(t){za(this,"_queue",[]),za(this,"_timeout",null),za(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 n=new Fw(r);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=()=>{n.flush()};const e=[{name:"flush",original:void 0}];if(r&&r.replace)for(let i=0;i<r.replace.length;i++){const o=r.replace[i];e.push({name:o,original:t[o]}),n.replace(t,o)}return n._extended={object:t,methods:e},n}destroy(){if(this.flush(),this._extended){const t=this._extended.object,r=this._extended.methods;for(let n=0;n<r.length;n++){const e=r[n];e.original?t[e.name]=e.original:delete t[e.name]}this._extended=null}}replace(t,r){const n=this,e=t[r];if(!e)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];n.queue({args:r,fn:e,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=xv(()=>{this.flush()},this.delay))}flush(){var t,r;zh(t=yp(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}function Lw(t,r){var n=Th(t);if(Ly){var e=Ly(t);r&&(e=tc(e).call(e,function(r){return Ky(t,r).enumerable})),n.push.apply(n,e)}return n}function zw(t){for(var r=1;r<arguments.length;r++){var n,e,i=null!=arguments[r]?arguments[r]:{};r%2?zh(n=Lw(Object(i),!0)).call(n,function(r){za(t,r,i[r])}):ug?vg(t,ug(i)):zh(e=Lw(Object(i))).call(e,function(r){Rg(t,r,Ky(i,r))})}return t}class qw extends Gb{get idProp(){return this._idProp}constructor(t,r){super(),za(this,"_queue",null),t&&!ch(t)&&(r=t,t=[]),this._options=r||{},this._data=new Em,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=Fw.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"==typeof t.queue&&this._queue.setOptions(t.queue)))}add(t,r){const n=[];let e;if(ch(t)){const r=sc(t).call(t,t=>t[this._idProp]);if(Lm(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++)e=this._addItem(t[r]),n.push(e)}else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");e=this._addItem(t),n.push(e)}return n.length&&this._trigger("add",{items:n},r),n}update(t,r){const n=[],e=[],i=[],o=[],u=this._idProp,a=t=>{const r=t[u];if(null!=r&&this._data.has(r)){const n=t,u=xp({},this._data.get(r)),a=this._updateItem(n);e.push(a),o.push(n),i.push(u)}else{const r=this._addItem(t);n.push(r)}};if(ch(t))for(let r=0,n=t.length;r<n;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(n.length&&this._trigger("add",{items:n},r),e.length){const t={items:e,oldData:i,data:o};this._trigger("update",t,r)}return qp(n).call(n,e)}updateOnly(t,r){var n;ch(t)||(t=[t]);const e=sc(n=sc(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(n,t=>{let r=t.oldData,n=t.update;const e=r[this._idProp],i=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return my({},t,...n)}(r,n);return this._data.set(e,i),{id:e,oldData:r,updatedData:i}});if(e.length){const t={items:sc(e).call(e,t=>t.id),oldData:sc(e).call(e,t=>t.oldData),data:sc(e).call(e,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let n,e,i;Vb(t)?(n=t,i=r):ch(t)?(e=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&tc(i),a=[];let s,c,f;if(null!=n)s=this._data.get(n),s&&u&&!u(s)&&(s=void 0);else if(null!=e)for(let t=0,r=e.length;t<r;t++)s=this._data.get(e[t]),null==s||u&&!u(s)||a.push(s);else{var l;c=[...ob(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==n&&this._sort(a,i.order),i&&i.fields){const t=i.fields;if(null!=n&&null!=s)s=this._filterFields(s,t);else for(let r=0,n=a.length;r<n;r++)a[r]=this._filterFields(a[r],t)}if("Object"==o){const t={};for(let r=0,n=a.length;r<n;r++){const n=a[r];t[n[this._idProp]]=n}return t}return null!=n?null!=s?s:null:a}getIds(t){const r=this._data,n=t&&tc(t),e=t&&t.order,i=[...ob(r).call(r)],o=[];if(n)if(e){const t=[];for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null!=o&&n(o)&&t.push(o)}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,r=i.length;t<r;t++){const r=i[t],e=this._data.get(r);null!=e&&n(e)&&o.push(e[this._idProp])}else if(e){const t=[];for(let n=0,e=i.length;n<e;n++){const e=i[n];t.push(r.get(e))}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,n=i.length;t<n;t++){const n=i[t],e=r.get(n);null!=e&&o.push(e[this._idProp])}return o}getDataSet(){return this}forEach(t,r){const n=r&&tc(r),e=this._data,i=[...ob(e).call(e)];if(r&&r.order){const n=this.get(r);for(let r=0,e=n.length;r<e;r++){const e=n[r];t(e,e[this._idProp])}}else for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null==o||n&&!n(o)||t(o,e)}}map(t,r){const n=r&&tc(r),e=[],i=this._data,o=[...ob(i).call(i)];for(let r=0,i=o.length;r<i;r++){const i=o[r],u=this._data.get(i);null==u||n&&!n(u)||e.push(t(u,i))}return r&&r.order&&this._sort(e,r.order),e}_filterFields(t,r){var n;return t?qs(n=ch(r)?r:Th(r)).call(n,(r,n)=>(r[n]=t[n],r),{}):t}_sort(t,r){if("string"==typeof r){const n=r;Ob(t).call(t,(t,r)=>{const e=t[n],i=r[n];return e>i?1:e<i?-1:0})}else{if("function"!=typeof r)throw new TypeError("Order must be a function or a string");Ob(t).call(t,r)}}remove(t,r){const n=[],e=[],i=ch(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&&(n.push(t),e.push(r))}}return n.length&&this._trigger("remove",{items:n,oldData:e},r),n}_remove(t){let r;if(Vb(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 n=[...ob(r=this._data).call(r)],e=[];for(let t=0,r=n.length;t<r;t++)e.push(this._data.get(n[t]));return this._data.clear(),this.length=0,this._trigger("remove",{items:n,oldData:e},t),n}max(t){let r=null,n=null;for(const i of xb(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o>n)&&(r=i,n=o)}return r||null}min(t){let r=null,n=null;for(const i of xb(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o<n)&&(r=i,n=o)}return r||null}distinct(t){const r=this._data,n=[...ob(r).call(r)],e=[];let i=0;for(let o=0,u=n.length;o<u;o++){const u=n[o],a=r.get(u)[t];let s=!1;for(let t=0;t<i;t++)if(e[t]==a){s=!0;break}s||void 0===a||(e[i]=a,i++)}return e}_addItem(t){const r=function(t,r){return null==t[r]&&(t[r]=Bb()),t}(t,this._idProp),n=r[this._idProp];if(this._data.has(n))throw new Error("Cannot add item: item with id "+n+" already exists");return this._data.set(n,r),++this.length,n}_updateItem(t){const r=t[this._idProp];if(null==r)throw new Error("Cannot update item: item has no id (item: "+vv(t)+")");const n=this._data.get(r);if(!n)throw new Error("Cannot update item: no item with id "+r+" found");return this._data.set(r,zw(zw({},n),t)),r}stream(t){if(t){const r=this._data;return new Rw({*[Lb](){for(const n of t){const t=r.get(n);null!=t&&(yield[n,t])}}})}var r;return new Rw({[Lb]:Ss(r=Wb(this._data)).call(r,this._data)})}}class Uw extends Gb{get idProp(){return this.getDataSet().idProp}constructor(t,r){var n;super(),za(this,"length",0),za(this,"_ids",new xw),this._options=r||{},this._listener=Ss(n=this._onEvent).call(n,this),this.setData(t)}setData(t){if(this._data){this._data.off&&this._data.off("*",this._listener);const t=this._data.getIds({filter:tc(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:tc(this._options)});for(let t=0,n=r.length;t<n;t++){const n=r[t];this._ids.add(n)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new qw;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:tc(this._options)}),r=[...this._ids],n={},e=[],i=[],o=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];n[i]=!0,this._ids.has(i)||(e.push(i),this._ids.add(i))}for(let t=0,e=r.length;t<e;t++){const e=r[t],u=this._data.get(e);null==u?console.error("If you see this, report it please."):n[e]||(i.push(e),o.push(u),this._ids.delete(e))}this.length+=e.length-i.length,e.length&&this._trigger("add",{items:e}),i.length&&this._trigger("remove",{items:i,oldData:o})}get(t,r){if(null==this._data)return null;let n,e=null;Vb(t)||ch(t)?(e=t,n=r):n=t;const i=xp({},this._options,n),o=tc(this._options),u=n&&tc(n);return o&&u&&(i.filter=t=>o(t)&&u(t)),null==e?this._data.get(i):this._data.get(e,i)}getIds(t){if(this._data.length){const r=tc(this._options),n=null!=t?tc(t):null;let e;return e=n?r?t=>r(t)&&n(t):n:r,this._data.getIds({filter:e,order:t&&t.order})}return[]}forEach(t,r){if(this._data){var n;const e=tc(this._options),i=r&&tc(r);let o;o=i?e?function(t){return e(t)&&i(t)}:i:e,zh(n=this._data).call(n,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var n;const e=tc(this._options),i=r&&tc(r);let o;return o=i?e?t=>e(t)&&i(t):i:e,sc(n=this._data).call(n,t,{filter:o,order:r&&r.order})}return[]}getDataSet(){return this._data.getDataSet()}stream(t){var r;return this._data.stream(t||{[Lb]:Ss(r=ob(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.",n={get:()=>{throw new Error(r)},set:()=>{throw new Error(r)},configurable:!1};for(const t of rh(Uw.prototype))Rg(this,t,n)}_onEvent(t,r,n){if(!r||!r.items||!this._data)return;const e=r.items,i=[],o=[],u=[],a=[],s=[],c=[];switch(t){case"add":for(let t=0,r=e.length;t<r;t++){const r=e[t];this.get(r)&&(this._ids.add(r),i.push(r))}break;case"update":for(let t=0,n=e.length;t<n;t++){const n=e[t];this.get(n)?this._ids.has(n)?(o.push(n),s.push(r.data[t]),a.push(r.oldData[t])):(this._ids.add(n),i.push(n)):this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}break;case"remove":for(let t=0,n=e.length;t<n;t++){const n=e[t];this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}}this.length+=i.length-u.length,i.length&&this._trigger("add",{items:i},n),o.length&&this._trigger("update",{items:o,oldData:a,data:s},n),u.length&&this._trigger("remove",{items:u,oldData:c},n)}}function Ww(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 zh(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof sc(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}t.DELETE=gy,t.DataSet=qw,t.DataStream=Rw,t.DataView=Uw,t.Queue=Fw,t.createNewDataPipeFrom=function(t){return new Ec(t)},t.isDataSetLike=Ww,t.isDataViewLike=function(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof zh(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof sc(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&Ww(t,r.getDataSet())}});
33
+ function Gf(){return Gf=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},Gf.apply(this,arguments)}function Hf(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Kf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}Jf="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;var Qf,$f=Jf,Zf=["","webkit","Moz","MS","ms","o"],tl="undefined"==typeof document?{style:{}}:document.createElement("div"),rl=Math.round,el=Math.abs,nl=Date.now;function il(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),o=0;o<Zf.length;){if((n=(e=Zf[o])?e+i:r)in t)return n;o++}}Qf="undefined"==typeof window?{}:window;var ol=il(tl.style,"touchAction"),ul=void 0!==ol;var al="compute",sl="auto",cl="manipulation",fl="none",ll="pan-x",hl="pan-y",pl=function(){if(!ul)return!1;var t={},r=Qf.CSS&&Qf.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=!r||Qf.CSS.supports("touch-action",e)}),t}(),vl="ontouchstart"in Qf,dl=void 0!==il(Qf,"PointerEvent"),yl=vl&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),gl="touch",ml="mouse",bl=16,_l=24,wl=["x","y"],Sl=["clientX","clientY"];function Tl(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 Ol(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function El(t,r){return t.indexOf(r)>-1}var Al=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===al&&(t=this.compute()),ul&&this.manager.element.style&&pl[t]&&(this.manager.element.style[ol]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return Tl(this.manager.recognizers,function(r){Ol(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(El(t,fl))return fl;var r=El(t,ll),e=El(t,hl);return r&&e?fl:r||e?r?ll:hl:El(t,cl)?cl:sl}(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=El(n,fl)&&!pl[fl],o=El(n,hl)&&!pl[hl],u=El(n,ll)&&!pl[ll];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&_l?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function Il(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function Dl(t){var r=t.length;if(1===r)return{x:rl(t[0].clientX),y:rl(t[0].clientY)};for(var e=0,n=0,i=0;i<r;)e+=t[i].clientX,n+=t[i].clientY,i++;return{x:rl(e/r),y:rl(n/r)}}function jl(t){for(var r=[],e=0;e<t.pointers.length;)r[e]={clientX:rl(t.pointers[e].clientX),clientY:rl(t.pointers[e].clientY)},e++;return{timeStamp:nl(),pointers:r,center:Dl(r),deltaX:t.deltaX,deltaY:t.deltaY}}function xl(t,r,e){e||(e=wl);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return Math.sqrt(n*n+i*i)}function Pl(t,r,e){e||(e=wl);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return 180*Math.atan2(i,n)/Math.PI}function kl(t,r){return t===r?1:el(t)>=el(r)?t<0?2:4:r<0?8:bl}function Cl(t,r,e){return{x:r/t||0,y:e/t||0}}function Nl(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=jl(r)),i>1&&!e.firstMultiple?e.firstMultiple=jl(r):1===i&&(e.firstMultiple=!1);var o=e.firstInput,u=e.firstMultiple,a=u?u.center:o.center,s=r.center=Dl(n);r.timeStamp=nl(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=Pl(a,s),r.distance=xl(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=kl(r.deltaX,r.deltaY);var c,f,l=Cl(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=el(l.x)>el(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,xl((f=n)[0],f[1],Sl)/xl(c[0],c[1],Sl)):1,r.rotation=u?function(t,r){return Pl(r[1],r[0],Sl)+Pl(t[1],t[0],Sl)}(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=Cl(a,s,c);n=f.x,i=f.y,e=el(f.x)>el(f.y)?f.x:f.y,o=kl(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;Il(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function Ml(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,Nl(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function Ll(t){return t.trim().split(/\s+/g)}function Rl(t,r,e){Tl(Ll(r),function(r){t.addEventListener(r,e,!1)})}function Fl(t,r,e){Tl(Ll(r),function(r){t.removeEventListener(r,e,!1)})}function zl(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var ql=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){Ol(t.options.enable,[t])&&e.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Rl(this.element,this.evEl,this.domHandler),this.evTarget&&Rl(this.target,this.evTarget,this.domHandler),this.evWin&&Rl(zl(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Fl(this.element,this.evEl,this.domHandler),this.evTarget&&Fl(this.target,this.evTarget,this.domHandler),this.evWin&&Fl(zl(this.element),this.evWin,this.domHandler)},t}();function Ul(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 Wl={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Yl={2:gl,3:"pen",4:ml,5:"kinect"},Bl="pointerdown",Xl="pointermove pointerup pointercancel";Qf.MSPointerEvent&&!Qf.PointerEvent&&(Bl="MSPointerDown",Xl="MSPointerMove MSPointerUp MSPointerCancel");var Jl=function(t){function r(){var e,n=r.prototype;return n.evEl=Bl,n.evWin=Xl,(e=t.apply(this,arguments)||this).store=e.manager.session.pointerEvents=[],e}return Hf(r,t),r.prototype.handler=function(t){var r=this.store,e=!1,n=t.type.toLowerCase().replace("ms",""),i=Wl[n],o=Yl[t.pointerType]||t.pointerType,u=o===gl,a=Ul(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}(ql);function Vl(t){return Array.prototype.slice.call(t,0)}function Gl(t,r,e){for(var n=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];Ul(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 Hl={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Kl=function(t){function r(){var e;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).targetIds={},e}return Hf(r,t),r.prototype.handler=function(t){var r=Hl[t.type],e=Ql.call(this,t,r);e&&this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:gl,srcEvent:t})},r}(ql);function Ql(t,r){var e,n,i=Vl(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=Vl(t.changedTouches),a=[],s=this.target;if(n=i.filter(function(t){return Il(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?[Gl(n.concat(a),"identifier",!0),a]:void 0}var $l={mousedown:1,mousemove:2,mouseup:4},Zl=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 Hf(r,t),r.prototype.handler=function(t){var r=$l[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:ml,srcEvent:t}))},r}(ql);function th(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 rh(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,th.call(this,r)):12&t&&th.call(this,r)}function eh(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 nh=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===gl,o=e.pointerType===ml;if(!(o&&e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents)){if(i)rh.call(Kf(Kf(n)),r,e);else if(o&&eh.call(Kf(Kf(n)),e))return;n.callback(t,r,e)}},n.touch=new Kl(n.manager,n.handler),n.mouse=new Zl(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return Hf(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(ql)}();function ih(t,r,e){return!!Array.isArray(t)&&(Tl(t,e[r],e),!0)}var oh=32,uh=1;function ah(t,r){var e=r.manager;return e?e.get(t):t}function sh(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var ch=function(){function t(t){void 0===t&&(t={}),this.options=Gf({enable:!0},t),this.id=uh++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return $f(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(ih(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=ah(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return ih(t,"dropRecognizeWith",this)||(t=ah(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(ih(t,"requireFailure",this))return this;var r=this.requireFail;return-1===Ul(r,t=ah(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(ih(t,"dropRequireFailure",this))return this;t=ah(t,this);var r=Ul(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+sh(e)),n(r.options.event),t.additionalEvent&&n(t.additionalEvent),e>=8&&n(r.options.event+sh(e))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=oh},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=$f({},t);if(!Ol(this.options.enable,[this,r]))return this.reset(),void(this.state=oh);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}(),fh=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Gf({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}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){return[cl]},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||xl(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 oh},e.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=oh},this.options.interval),oh},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}(ch),lh=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Gf({pointers:1},r))||this}Hf(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:oh},r}(ch);function hh(t){return t===bl?"down":8===t?"up":2===t?"left":4===t?"right":""}var ph=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Gf({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,e.pY=null,e}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push(hl),t&_l&&r.push(ll),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:bl,e=u!==this.pY,n=Math.abs(t.deltaY))),t.direction=i,e&&n>r.threshold&&i&r.direction},e.attrTest=function(t){return lh.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=hh(r.direction);e&&(r.additionalEvent=this.options.event+e),t.prototype.emit.call(this,r)},r}(lh),vh=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Gf({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){return ph.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&_l&&(e=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&n&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&el(e)>this.options.velocity&&4&r.eventType},e.emit=function(t){var r=hh(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(lh),dh=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Gf({event:"pinch",threshold:0,pointers:2},r))||this}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){return[fl]},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}(lh),yh=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Gf({event:"rotate",threshold:0,pointers:2},r))||this}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){return[fl]},e.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(lh),gh=function(t){function r(r){var e;return void 0===r&&(r={}),(e=t.call(this,Gf({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,e._input=null,e}Hf(r,t);var e=r.prototype;return e.getTouchAction=function(){return[sl]},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 oh},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=nl(),this.manager.emit(this.options.event,this._input)))},r}(ch),mh={domEvents:!1,touchAction:al,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},bh=[[yh,{enable:!1}],[dh,{enable:!1},["rotate"]],[vh,{direction:6}],[ph,{direction:6},["swipe"]],[fh],[fh,{event:"doubletap",taps:2},["tap"]],[gh]];function _h(t,r){var e,n=t.element;n.style&&(Tl(t.options.cssProps,function(i,o){e=il(n.style,o),r?(t.oldCssProps[e]=n.style[e],n.style[e]=i):n.style[e]=t.oldCssProps[e]||""}),r||(t.oldCssProps={}))}var wh=function(){function t(t,r){var e,n=this;this.options=$f({},mh,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||(dl?Jl:yl?Kl:vl?nh:Zl))(e,Ml),this.touchAction=new Al(this,this.options.touchAction),_h(this,!0),Tl(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 $f(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 ch)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(ih(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(ih(t,"remove",this))return this;var r=this.get(t);if(t){var e=this.recognizers,n=Ul(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 Tl(Ll(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 Tl(Ll(t),function(t){r?e[t]&&e[t].splice(Ul(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&&_h(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),Sh={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Th=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 Hf(r,t),r.prototype.handler=function(t){var r=Sh[t.type];if(1===r&&(this.started=!0),this.started){var e=Oh.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:gl,srcEvent:t})}},r}(ql);function Oh(t,r){var e=Vl(t.touches),n=Vl(t.changedTouches);return 12&r&&(e=Gl(e.concat(n),"identifier",!0)),[e,n]}function Eh(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 Ah=Eh(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`."),Ih=Eh(function(t,r){return Ah(t,r,!0)},"merge","Use `assign`.");function Dh(t,r,e){var n,i=r.prototype;(n=t.prototype=Object.create(i)).constructor=t,n._super=i,e&&$f(n,e)}function jh(t,r){return function(){return t.apply(r,arguments)}}var xh=function(){var t=function(t,r){return void 0===r&&(r={}),new wh(t,Gf({recognizers:bh.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=bl,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=_l,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=bl,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=oh,t.Manager=wh,t.Input=ql,t.TouchAction=Al,t.TouchInput=Kl,t.MouseInput=Zl,t.PointerEventInput=Jl,t.TouchMouseInput=nh,t.SingleTouchInput=Th,t.Recognizer=ch,t.AttrRecognizer=lh,t.Tap=fh,t.Pan=ph,t.Swipe=vh,t.Pinch=dh,t.Rotate=yh,t.Press=gh,t.on=Rl,t.off=Fl,t.each=Tl,t.merge=Ih,t.extend=Ah,t.bindFn=jh,t.assign=$f,t.inherit=Dh,t.bindFn=jh,t.prefixed=il,t.toArray=Vl,t.inArray=Ul,t.uniqueArray=Gl,t.splitStr=Ll,t.boolOrFn=Ol,t.hasParent=Il,t.addEventListeners=Rl,t.removeEventListeners=Fl,t.defaults=$f({},mh,{preset:bh}),t}();const Ph=rs("DELETE");function kh(){const t=Ch(...arguments);return Mh(t),t}function Ch(){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 Ch(kh(r[0],r[1]),...ds(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 As(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===Ph?delete n[t]:null===n[t]||null===i[t]||"object"!=typeof n[t]||"object"!=typeof i[t]||Ls(n[t])||Ls(i[t])?n[t]=Nh(i[t]):n[t]=Ch(n[t],i[t]));return n}function Nh(t){return Ls(t)?ii(t).call(t,t=>Nh(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):Ch({},t):t}function Mh(t){for(const r of Qs(t))t[r]===Ph?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&Mh(t[r])}const Lh="undefined"!=typeof window?window.Hammer||xh:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Rh(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=Lh(this._dom.overlay);e.on("tap",Me(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{e.destroy()});const n=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];vc(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()}}Vf(Rh.prototype),Rh.current=null,Rh.prototype.destroy=function(){this.deactivate();for(const r of jc(t=this._cleanupQueue).call(t,0).toReversed()){var t;r()}},Rh.prototype.activate=function(){Rh.current&&Rh.current.deactivate(),Rh.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)},Rh.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")},Rh.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var Fh,zh,qh,Uh,Wh,Yh,Bh,Xh,Jh,Vh,Gh,Hh,Kh,Qh,$h,Zh,tp,rp,ep,np,ip,op,up,ap,sp,cp,fp,lp,hp,pp,vp,dp={},yp={exports:{}};function gp(){return zh?Fh:(zh=1,Fh=l()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function mp(){if(Uh)return qh;Uh=1;var t=l(),r=At(),e=D(),n=gp(),i=Object.isExtensible,o=t(function(){});return qh=o||n?function(t){return!!r(t)&&((!n||"ArrayBuffer"!==e(t))&&(!i||i(t)))}:i}function bp(){return Yh?Wh:(Yh=1,Wh=!l()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function _p(){if(Bh)return yp.exports;Bh=1;var t=ne(),r=p(),e=so(),n=At(),i=mr(),o=re().f,u=bo(),a=So(),s=mp(),c=br(),f=bp(),l=!1,h=c("meta"),v=0,d=function(t){o(t,h,{value:{objectID:"O"+v++,weakData:{}}})},y=yp.exports={enable:function(){y.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";d(t)}return t[h].objectID},getWeakData:function(t,r){if(!i(t,h)){if(!s(t))return!0;if(!r)return!1;d(t)}return t[h].weakData},onFreeze:function(t){return f&&l&&s(t)&&!i(t,h)&&d(t),t}};return e[h]=!0,yp.exports}function wp(){if(Jh)return Xh;Jh=1;var t=_r(),r=xa(),e=t("iterator"),n=Array.prototype;return Xh=function(t){return void 0!==t&&(r.Array===t||n[e]===t)}}function Sp(){if(Gh)return Vh;Gh=1;var t=Dn(),r=mr(),e=xa();return Vh=function(n){var i=t(n);return"Arguments"===i&&(i="Array"),r(e,i)?e[i]:void 0}}function Tp(){if(Kh)return Hh;Kh=1;var t=Lt(),r=Tt(),e=Sp(),n=_r()("iterator");return Hh=function(i){if(!r(i))return t(i,n)||t(i,"@@iterator")||e(i)}}function Op(){if($h)return Qh;$h=1;var t=R(),r=x(),e=te(),n=Nt(),i=Tp(),o=TypeError;return Qh=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")},Qh}function Ep(){if(tp)return Zh;tp=1;var t=R(),r=te(),e=Lt();return Zh=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},Zh}function Ap(){if(ep)return rp;ep=1;var t=Ir(),r=R(),e=te(),n=Nt(),i=wp(),o=qe(),u=v(),a=Op(),s=Tp(),c=Ep(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return rp=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),D=t(v,T),j=function(t){var r=y;return y=void 0,r&&c(r,"normal"),new l(!0,t)},x=function(t){return O?(e(t),I?D(t[0],t[1],j):D(t[0],t[1])):I?D(t,j):D(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;){var P=S.value;try{_=x(P)}catch(t){if(!y)throw t;c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},rp}function Ip(){if(ip)return np;ip=1;var t=v(),r=TypeError;return np=function(e,n){if(t(n,e))return e;throw new r("Incorrect invocation")}}function Dp(){if(up)return op;up=1;var t=ne(),r=A(),e=_p(),n=R(),i=l(),o=ee(),u=Ap(),a=Ip(),s=x(),c=At(),f=Tt(),h=Qo(),p=re().f,v=Nn().forEach,d=L(),y=Zo(),g=y.set,m=y.getterFor;return op=function(l,y,b){var _,w=-1!==l.indexOf("Map"),S=-1!==l.indexOf("Weak"),T=w?"set":"add",O=r[l],E=O&&O.prototype,A={};if(d&&s(O)&&(S||E.forEach&&!i(function(){(new O).entries().next()}))){var I=(_=y(function(t,r){g(a(t,I),{type:l,collection:new O}),f(r)||u(r,t[T],{that:t,AS_ENTRIES:w})})).prototype,D=m(l);v(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in E)||S&&"clear"===t||o(I,t,function(e,i){var o=this,u=D(o).collection;if(!r&&S&&!c(e))return"get"===t&&void 0;var a=u[t]("forEach"===t?function(t,r){n(e,i,t,r,o)}:0===e?0:e,i);return r?o:a})}),S||p(I,"size",{configurable:!0,get:function(){return D(this).collection.size}})}else _=b.getConstructor(y,l,w,T),e.enable();return h(_,l,!1,!0),A[l]=_,t({global:!0,forced:!0},A),S||b.setStrong(_,l,w),_}}function jp(){if(sp)return ap;sp=1;var t=xo();return ap=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 xp(){if(fp)return cp;fp=1;var t=Dt(),r=Po(),e=_r(),n=L(),i=e("species");return cp=function(e){var o=t(e);n&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function Pp(){if(hp)return lp;hp=1;var t=yo(),r=Po(),e=jp(),n=Ir(),i=Ip(),o=Tt(),u=Ap(),a=qa(),s=Ua(),c=xp(),f=L(),l=_p().fastKey,h=Zo(),p=h.set,v=h.getterFor;return lp={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)}},lp}function kp(){return vp||(vp=1,pp||(pp=1,Dp()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Pp()))),dp}var Cp,Np,Mp,Lp,Rp,Fp={};function zp(){return Np?Cp:(Np=1,Cp=function(t,r){return 1===r?function(r,e){return r[t](e)}:function(r,e,n){return r[t](e,n)}})}function qp(){if(Lp)return Mp;Lp=1;var t=Dt(),r=zp(),e=t("Map");return Mp={Map:e,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:e.prototype}}var Up,Wp={};var Yp,Bp={};var Xp,Jp,Vp,Gp,Hp,Kp,Qp,$p,Zp,tv={};function rv(){if(Jp)return Xp;Jp=1;var t=p(),r=Fe(),e=zi(),n=Ot(),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 Xp={codeAt:a(!1),charAt:a(!0)}}function ev(){if(Vp)return tv;Vp=1;var t=rv().charAt,r=zi(),e=Zo(),n=qa(),i=Ua(),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))}),tv}function nv(){return Hp?Gp:(Hp=1,Wa(),kp(),function(){if(Rp)return Fp;Rp=1;var t=ne(),r=p(),e=Mt(),n=Ot(),i=Ap(),o=ui(),u=qp(),a=pr(),s=l(),c=u.Map,f=u.has,h=u.get,v=u.set,d=r([].push),y=a||s(function(){return 1!==c.groupBy("ab",function(t){return t}).get("a").length});t({target:"Map",stat:!0,forced:a||y},{groupBy:function(t,r){n(t),e(r);var u=new c,a=0;return i(t,function(t){o(a);var e=r(t,a++);f(u,e)?d(h(u,e),t):v(u,e,[t])}),u}})}(),function(){if(Up)return Wp;Up=1;var t=ne(),r=qp(),e=pr(),n=r.get,i=r.has,o=r.set;t({target:"Map",proto:!0,real:!0,forced:e},{getOrInsert:function(t,r){return i(this,t)?n(this,t):(o(this,t,r),r)}})}(),function(){if(Yp)return Bp;Yp=1;var t=ne(),r=Mt(),e=qp(),n=pr(),i=e.get,o=e.has,u=e.set;t({target:"Map",proto:!0,real:!0,forced:n},{getOrInsertComputed:function(t,e){var n=o(this,t);if(r(e),n)return i(this,t);0===t&&1/t==-1/0&&(t=0);var a=e(t);return u(this,t,a),a}})}(),ev(),Gp=It().Map)}function iv(){if(Qp)return Kp;Qp=1;var t=nv();return Ba(),Kp=t}var ov,uv,av,sv,cv,fv,lv,hv,pv,vv=f(Zp?$p:(Zp=1,$p=iv())),dv={};function yv(){return av?uv:(av=1,function(){if(ov)return dv;ov=1;var t=ne(),r=Nn().some;t({target:"Array",proto:!0,forced:!We()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),uv=ue()("Array","some"))}function gv(){if(cv)return sv;cv=1;var t=v(),r=yv(),e=Array.prototype;return sv=function(n){var i=n.some;return n===e||t(e,n)&&i===e.some?r:i}}function mv(){return lv?fv:(lv=1,fv=gv())}var bv,_v,wv,Sv,Tv,Ov,Ev,Av,Iv=f(pv?hv:(pv=1,hv=mv()));function Dv(){return _v?bv:(_v=1,Wa(),bv=ue()("Array","keys"))}function jv(){return Sv?wv:(Sv=1,wv=Dv())}function xv(){if(Ov)return Tv;Ov=1,Ba();var t=Dn(),r=mr(),e=v(),n=jv(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Tv=function(u){var a=u.keys;return u===i||e(i,u)&&a===i.keys||r(o,t(u))?n:a}}var Pv,kv,Cv,Nv,Mv,Lv,Rv,Fv,zv,qv,Uv,Wv,Yv,Bv,Xv,Jv,Vv,Gv=f(Av?Ev:(Av=1,Ev=xv())),Hv={};function Kv(){if(kv)return Pv;kv=1;var t=ie(),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 Pv=e}function Qv(){if(Nv)return Cv;Nv=1;var t=jt().match(/firefox\/(\d+)/i);return Cv=!!t&&+t[1]}function $v(){return Lv?Mv:(Lv=1,Mv=/MSIE|Trident/.test(jt()))}function Zv(){if(Fv)return Rv;Fv=1;var t=jt().match(/AppleWebKit\/(\d+)\./);return Rv=!!t&&+t[1]}function td(){if(zv)return Hv;zv=1;var t=ne(),r=p(),e=Mt(),n=gr(),i=qe(),o=yc(),u=zi(),a=l(),s=Kv(),c=We(),f=Qv(),h=$v(),v=xt(),d=Zv(),y=[],g=r(y.sort),m=r(y.push),b=a(function(){y.sort(void 0)}),_=a(function(){y.sort(null)}),w=c("sort"),S=!a(function(){if(v)return v<70;if(!(f&&f>3)){if(h)return!0;if(d)return d<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++)y.push({k:r+n,v:e})}for(y.sort(function(t,r){return r.v-t.v}),n=0;n<y.length;n++)r=y[n].k.charAt(0),i.charAt(i.length-1)!==r&&(i+=r);return"DGBEFHACIJK"!==i}});return t({target:"Array",proto:!0,forced:b||!_||!w||!S},{sort:function(t){void 0!==t&&e(t);var r=n(this);if(S)return void 0===t?g(r):g(r,t);var a,c,f=[],l=i(r);for(c=0;c<l;c++)c in r&&m(f,r[c]);for(s(f,function(t){return function(r,e){if(void 0===e)return-1;if(void 0===r)return 1;if(void 0!==t)return+t(r,e)||0;var n=u(r),i=u(e);return n===i?0:n>i?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),Hv}function rd(){return Uv?qv:(Uv=1,td(),qv=ue()("Array","sort"))}function ed(){if(Yv)return Wv;Yv=1;var t=v(),r=rd(),e=Array.prototype;return Wv=function(n){var i=n.sort;return n===e||t(e,n)&&i===e.sort?r:i}}function nd(){return Xv?Bv:(Xv=1,Bv=ed())}var id,od,ud,ad,sd,cd,fd,ld,hd=f(Vv?Jv:(Vv=1,Jv=nd()));function pd(){return od?id:(od=1,Wa(),id=ue()("Array","values"))}function vd(){return ad?ud:(ad=1,ud=pd())}function dd(){if(cd)return sd;cd=1,Ba();var t=Dn(),r=mr(),e=v(),n=vd(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return sd=function(u){var a=u.values;return u===i||e(i,u)&&a===i.values||r(o,t(u))?n:a}}var yd,gd,md,bd,_d,wd,Sd=f(ld?fd:(ld=1,fd=dd()));function Td(){return gd?yd:(gd=1,Wa(),ev(),Cu(),yd=Vo().f("iterator"))}function Od(){if(bd)return md;bd=1;var t=Td();return Ba(),md=t}var Ed,Ad,Id,Dd,jd,xd,Pd,kd,Cd=f(wd?_d:(wd=1,_d=Od()));function Nd(){return Ad?Ed:(Ad=1,Wa(),Ed=ue()("Array","entries"))}function Md(){return Dd?Id:(Dd=1,Id=Nd())}function Ld(){if(xd)return jd;xd=1,Ba();var t=Dn(),r=mr(),e=v(),n=Md(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return jd=function(u){var a=u.entries;return u===i||e(i,u)&&a===i.entries||r(o,t(u))?n:a}}var Rd=f(kd?Pd:(kd=1,Pd=Ld()));const Fd=[];for(let t=0;t<256;++t)Fd.push((t+256).toString(16).slice(1));const zd=new Uint8Array(16);function qd(t,r,e){return crypto.randomUUID?crypto.randomUUID():function(t){t=t||{};const r=t.random??t.rng?.()??crypto.getRandomValues(zd);if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(t,r=0){return(Fd[t[r+0]]+Fd[t[r+1]]+Fd[t[r+2]]+Fd[t[r+3]]+"-"+Fd[t[r+4]]+Fd[t[r+5]]+"-"+Fd[t[r+6]]+Fd[t[r+7]]+"-"+Fd[t[r+8]]+Fd[t[r+9]]+"-"+Fd[t[r+10]]+Fd[t[r+11]]+Fd[t[r+12]]+Fd[t[r+13]]+Fd[t[r+14]]+Fd[t[r+15]]).toLowerCase()}(r)}(t)}function Ud(t){return"string"==typeof t||"number"==typeof t}class Wd{_subscribers={"*":[],add:[],remove:[],update:[]};_trigger(t,r,e){var n;if("*"===t)throw new Error("Cannot trigger event *");vc(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]=Gn(e=this._subscribers[t]).call(e,t=>t!==r)}subscribe=(()=>Wd.prototype.on)();unsubscribe=(()=>Wd.prototype.off)()}var Yd,Bd,Xd={};function Jd(){return Bd||(Bd=1,Yd||(Yd=1,Dp()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Pp()))),Xd}var Vd,Gd,Hd,Kd,Qd,$d,Zd,ty,ry,ey,ny,iy,oy,uy,ay,sy,cy,fy,ly,hy,py,vy={};function dy(){if(Gd)return Vd;Gd=1;var t=Nt(),r=TypeError;return Vd=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 yy(){if(Kd)return Hd;Kd=1;var t=Dt(),r=zp(),e=t("Set"),n=e.prototype;return Hd={Set:e,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:n}}function gy(){if($d)return Qd;$d=1;var t=R();return Qd=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},Qd}function my(){if(ty)return Zd;ty=1;var t=gy();return Zd=function(r,e,n){return n?t(r.keys(),e,!0):r.forEach(e)},Zd}function by(){if(ey)return ry;ey=1;var t=yy(),r=my(),e=t.Set,n=t.add;return ry=function(t){var i=new e;return r(t,function(t){n(i,t)}),i},ry}function _y(){return iy||(iy=1,ny=function(t){return t.size}),ny}function wy(){return uy?oy:(uy=1,oy=function(t){return{iterator:t,next:t.next,done:!1}})}function Sy(){if(sy)return ay;sy=1;var t=Mt(),r=te(),e=R(),n=Fe(),i=wy(),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)}},ay=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 Ty(){if(fy)return cy;fy=1;var t=dy(),r=yy(),e=by(),n=_y(),i=Sy(),o=my(),u=gy(),a=r.has,s=r.remove;return cy=function(r){var c=t(this),f=i(r),l=e(c);return n(l)<=f.size?o(l,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function Oy(){return hy?ly:(hy=1,ly=function(){return!1})}var Ey,Ay,Iy,Dy={};function jy(){if(Ay)return Ey;Ay=1;var t=dy(),r=yy(),e=_y(),n=Sy(),i=my(),o=gy(),u=r.Set,a=r.add,s=r.has;return Ey=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 xy,Py,ky,Cy={};function Ny(){if(Py)return xy;Py=1;var t=dy(),r=yy().has,e=_y(),n=Sy(),i=my(),o=gy(),u=Ep();return xy=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.iterator,"normal",!1)})},xy}var My,Ly,Ry,Fy={};function zy(){if(Ly)return My;Ly=1;var t=dy(),r=_y(),e=my(),n=Sy();return My=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 qy,Uy,Wy,Yy={};function By(){if(Uy)return qy;Uy=1;var t=dy(),r=yy().has,e=_y(),n=Sy(),i=gy(),o=Ep();return qy=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.iterator,"normal",!1)})},qy}var Xy,Jy,Vy,Gy,Hy,Ky={};function Qy(){if(Jy)return Xy;Jy=1;var t=dy(),r=yy(),e=by(),n=Sy(),i=gy(),o=r.add,u=r.has,a=r.remove;return Xy=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 $y(){return Gy?Vy:(Gy=1,Vy=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 Zy,tg,rg,eg,ng,ig,og,ug,ag,sg={};function cg(){if(tg)return Zy;tg=1;var t=dy(),r=yy().add,e=by(),n=Sy(),i=gy();return Zy=function(o){var u=t(this),a=n(o).getIterator(),s=e(u);return i(a,function(t){r(s,t)}),s}}function fg(){return ng?eg:(ng=1,Wa(),Jd(),function(){if(py)return vy;py=1;var t=ne(),r=Ty(),e=l();t({target:"Set",proto:!0,real:!0,forced:!Oy()("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(Iy)return Dy;Iy=1;var t=ne(),r=l(),e=jy();t({target:"Set",proto:!0,real:!0,forced:!Oy()("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(ky)return Cy;ky=1;var t=ne(),r=Ny();t({target:"Set",proto:!0,real:!0,forced:!Oy()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(Ry)return Fy;Ry=1;var t=ne(),r=zy();t({target:"Set",proto:!0,real:!0,forced:!Oy()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(Wy)return Yy;Wy=1;var t=ne(),r=By();t({target:"Set",proto:!0,real:!0,forced:!Oy()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(Hy)return Ky;Hy=1;var t=ne(),r=Qy(),e=$y();t({target:"Set",proto:!0,real:!0,forced:!Oy()("symmetricDifference")||!e("symmetricDifference")},{symmetricDifference:r})}(),function(){if(rg)return sg;rg=1;var t=ne(),r=cg(),e=$y();t({target:"Set",proto:!0,real:!0,forced:!Oy()("union")||!e("union")},{union:r})}(),ev(),eg=It().Set)}function lg(){if(og)return ig;og=1;var t=fg();return Ba(),ig=t}var hg,pg,vg,dg,yg,gg,mg,bg,_g,wg,Sg,Tg,Og,Eg,Ag,Ig,Dg=f(ag?ug:(ag=1,ug=lg()));function jg(){if(pg)return hg;pg=1;var t=Sp(),r=_r()("iterator");return hg=function(e){return e[r]||e["@@iterator"]||t(e)}}function xg(){if(dg)return vg;dg=1;var t=R(),r=x(),e=Nt(),n=jg(),i=TypeError;return vg=function(o){var u=n(o);if(r(u))return t(u,o);throw new i(e(o)+" is not iterable")}}function Pg(){return gg?yg:(gg=1,Wa(),ev(),yg=xg())}function kg(){if(bg)return mg;bg=1;var t=Pg();return Ba(),mg=t}function Cg(){return wg?_g:(wg=1,_g=kg())}function Ng(){return Tg?Sg:(Tg=1,Sg=Cg())}function Mg(){return Eg?Og:(Eg=1,Og=Ng())}var Lg=f(Ig?Ag:(Ig=1,Ag=Mg()));class Rg{constructor(t){this._pairs=t}*[Cd](){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 ii(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return ii(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=yf(null);for(const[r,e]of this._pairs)t[r]=e;return t}toMap(){return new vv(this._pairs)}toIdSet(){return new Dg(this.toIdArray())}toItemSet(){return new Dg(this.toItemArray())}cache(){return new Rg([...this._pairs])}distinct(t){const r=new Dg;for(const[e,n]of this._pairs)r.add(t(n,e));return r}filter(t){const r=this._pairs;return new Rg({*[Cd](){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 Rg({*[Cd](){for(const[e,n]of r)yield[e,t(n,e)]}})}max(t){const r=Lg(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=Lg(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 Rg({[Cd]:()=>Lg([...this._pairs].toSorted((r,e)=>{let[n,i]=r,[o,u]=e;return t(i,u,n,o)}))})}}class Fg{_queue=[];_timeout=null;_extended=null;constructor(t){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 Fg(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=Yf(()=>{this.flush()},this.delay))}flush(){var t,r;vc(t=jc(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}class zg extends Wd{get idProp(){return this._idProp}_queue=null;constructor(t,r){super(),t&&!Ls(t)&&(r=t,t=[]),this._options=r||{},this._data=new vv,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=Fg.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(Ls(t)){const r=ii(t).call(t,t=>t[this._idProp]);if(Iv(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=Wc({},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(Ls(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 Zc(e).call(e,n)}updateOnly(t,r){var e;Ls(t)||(t=[t]);const n=ii(e=ii(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 kh({},t,...e)}(r,e);return this._data.set(n,i),{id:n,oldData:r,updatedData:i}});if(n.length){const t={items:ii(n).call(n,t=>t.id),oldData:ii(n).call(n,t=>t.oldData),data:ii(n).call(n,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let e,n,i;Ud(t)?(e=t,i=r):Ls(t)?(n=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&Gn(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=[...Gv(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?s??null:a}getIds(t){const r=this._data,e=t&&Gn(t),n=t&&t.order,i=[...Gv(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&&Gn(r),n=this._data,i=[...Gv(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&&Gn(r),n=[],i=this._data,o=[...Gv(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?On(e=Ls(r)?r:Qs(r)).call(e,(r,e)=>(r[e]=t[e],r),{}):t}_sort(t,r){if("string"==typeof r){const e=r;hd(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");hd(t).call(t,r)}}remove(t,r){const e=[],n=[],i=Ls(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(Ud(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=[...Gv(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 Sd(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 Sd(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=[...Gv(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=function(t,r){return null==t[r]&&(t[r]=qd()),t}(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: "+Df(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,{...e,...t}),r}stream(t){if(t){const r=this._data;return new Rg({*[Cd](){for(const e of t){const t=r.get(e);null!=t&&(yield[e,t])}}})}var r;return new Rg({[Cd]:Me(r=Rd(this._data)).call(r,this._data)})}}var qg,Ug,Wg,Yg,Bg,Xg,Jg={exports:{}},Vg={};function Gg(){if(qg)return Vg;qg=1;var t=ne(),r=L(),e=re().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!r},{defineProperty:e}),Vg}function Hg(){if(Ug)return Jg.exports;Ug=1,Gg();var t=It().Object,r=Jg.exports=function(r,e,n){return t.defineProperty(r,e,n)};return t.defineProperty.sham&&(r.sham=!0),Jg.exports}function Kg(){return Yg?Wg:(Yg=1,Wg=Hg())}var Qg=f(Xg?Bg:(Xg=1,Bg=Kg()));class $g extends Wd{length=0;get idProp(){return this.getDataSet().idProp}_ids=(()=>new Dg)();constructor(t,r){var e;super(),this._options=r||{},this._listener=Me(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:Gn(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:Gn(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 zg;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:Gn(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;Ud(t)||Ls(t)?(n=t,e=r):e=t;const i=Wc({},this._options,e),o=Gn(this._options),u=e&&Gn(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=Gn(this._options),e=null!=t?Gn(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=Gn(this._options),i=r&&Gn(r);let o;o=i?n?function(t){return n(t)&&i(t)}:i:n,vc(e=this._data).call(e,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var e;const n=Gn(this._options),i=r&&Gn(r);let o;return o=i?n?t=>n(t)&&i(t):i:n,ii(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||{[Cd]:Me(r=Gv(this._ids)).call(r,this._ids)})}dispose(){this._data?.off&&this._data.off("*",this._listener);const t="This data view has already been disposed of.",r={get:()=>{throw new Error(t)},set:()=>{throw new Error(t)},configurable:!1};for(const t of As($g.prototype))Qg(this,t,r)}_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 Zg(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 vc(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof ii(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}t.DELETE=Ph,t.DataSet=zg,t.DataStream=Rg,t.DataView=$g,t.Queue=Fg,t.createNewDataPipeFrom=function(t){return new Di(t)},t.isDataSetLike=Zg,t.isDataViewLike=function(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof vc(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof ii(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&Zg(t,r.getDataSet())}});
34
34
  //# sourceMappingURL=vis-data.min.js.map