UNPKG

vis-graph3d

Version:

Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.

26 lines 222 kB
/** * vis-graph3d * https://visjs.github.io/vis-graph3d/ * * Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box. * * @version 6.0.6 * @date 2023-11-24T17:25:32.843Z * * @copyright (c) 2011-2017 Almende B.V, http://almende.com * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs * * @license * vis.js is dual licensed under both * * 1. The Apache 2.0 License * http://www.apache.org/licenses/LICENSE-2.0 * * and * * 2. The MIT License * http://opensource.org/licenses/MIT * * vis.js may be distributed under either license. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).vis=t.vis||{})}(this,(function(t){"use strict";var e="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}function r(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}var i={},o=function(t){try{return!!t()}catch(t){return!0}},a=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),s=a,l=Function.prototype,u=l.call,c=s&&l.bind.bind(u,u),h=s?c:function(t){return function(){return u.apply(t,arguments)}},f=Math.ceil,d=Math.floor,p=Math.trunc||function(t){var e=+t;return(e>0?d:f)(e)},v=function(t){var e=+t;return e!=e||0===e?0:p(e)},y=function(t){return t&&t.Math===Math&&t},m=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),g={exports:{}},b=m,w=Object.defineProperty,_=function(t,e){try{w(b,t,{value:e,configurable:!0,writable:!0})}catch(n){b[t]=e}return e},x="__core-js_shared__",k=m[x]||_(x,{}),C=k;(g.exports=function(t,e){return C[t]||(C[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"});var E,S,T=g.exports,O=function(t){return null==t},P=O,A=TypeError,D=function(t){if(P(t))throw new A("Can't call method on "+t);return t},L=D,R=Object,F=function(t){return R(L(t))},M=F,j=h({}.hasOwnProperty),I=Object.hasOwn||function(t,e){return j(M(t),e)},z=h,B=0,N=Math.random(),W=z(1..toString),G=function(t){return"Symbol("+(void 0===t?"":t)+")_"+W(++B+N,36)},Y="undefined"!=typeof navigator&&String(navigator.userAgent)||"",V=m,U=Y,X=V.process,H=V.Deno,q=X&&X.versions||H&&H.version,Z=q&&q.v8;Z&&(S=(E=Z.split("."))[0]>0&&E[0]<4?1:+(E[0]+E[1])),!S&&U&&(!(E=U.match(/Edge\/(\d+)/))||E[1]>=74)&&(E=U.match(/Chrome\/(\d+)/))&&(S=+E[1]);var K=S,Q=K,$=o,J=m.String,tt=!!Object.getOwnPropertySymbols&&!$((function(){var t=Symbol("symbol detection");return!J(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q&&Q<41})),et=tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,nt=T,rt=I,it=G,ot=tt,at=et,st=m.Symbol,lt=nt("wks"),ut=at?st.for||st:st&&st.withoutSetter||it,ct=function(t){return rt(lt,t)||(lt[t]=ot&&rt(st,t)?st[t]:ut("Symbol."+t)),lt[t]},ht={};ht[ct("toStringTag")]="z";var ft="[object z]"===String(ht),dt="object"==typeof document&&document.all,pt={all:dt,IS_HTMLDDA:void 0===dt&&void 0!==dt},vt=pt.all,yt=pt.IS_HTMLDDA?function(t){return"function"==typeof t||t===vt}:function(t){return"function"==typeof t},mt=h,gt=mt({}.toString),bt=mt("".slice),wt=function(t){return bt(gt(t),8,-1)},_t=ft,xt=yt,kt=wt,Ct=ct("toStringTag"),Et=Object,St="Arguments"===kt(function(){return arguments}()),Tt=_t?kt:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Et(t),Ct))?n:St?kt(e):"Object"===(r=kt(e))&&xt(e.callee)?"Arguments":r},Ot=Tt,Pt=String,At=function(t){if("Symbol"===Ot(t))throw new TypeError("Cannot convert a Symbol value to a string");return Pt(t)},Dt=h,Lt=v,Rt=At,Ft=D,Mt=Dt("".charAt),jt=Dt("".charCodeAt),It=Dt("".slice),zt=function(t){return function(e,n){var r,i,o=Rt(Ft(e)),a=Lt(n),s=o.length;return a<0||a>=s?t?"":void 0:(r=jt(o,a))<55296||r>56319||a+1===s||(i=jt(o,a+1))<56320||i>57343?t?Mt(o,a):r:t?It(o,a,a+2):i-56320+(r-55296<<10)+65536}},Bt={codeAt:zt(!1),charAt:zt(!0)},Nt=yt,Wt=m.WeakMap,Gt=Nt(Wt)&&/native code/.test(String(Wt)),Yt=yt,Vt=pt.all,Ut=pt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Yt(t)||t===Vt}:function(t){return"object"==typeof t?null!==t:Yt(t)},Xt=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Ht={},qt=Ut,Zt=m.document,Kt=qt(Zt)&&qt(Zt.createElement),Qt=function(t){return Kt?Zt.createElement(t):{}},$t=Qt,Jt=!Xt&&!o((function(){return 7!==Object.defineProperty($t("div"),"a",{get:function(){return 7}}).a})),te=Xt&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ee=Ut,ne=String,re=TypeError,ie=function(t){if(ee(t))return t;throw new re(ne(t)+" is not an object")},oe=a,ae=Function.prototype.call,se=oe?ae.bind(ae):function(){return ae.apply(ae,arguments)},le={},ue=le,ce=m,he=yt,fe=function(t){return he(t)?t:void 0},de=function(t,e){return arguments.length<2?fe(ue[t])||fe(ce[t]):ue[t]&&ue[t][e]||ce[t]&&ce[t][e]},pe=h({}.isPrototypeOf),ve=de,ye=yt,me=pe,ge=Object,be=et?function(t){return"symbol"==typeof t}:function(t){var e=ve("Symbol");return ye(e)&&me(e.prototype,ge(t))},we=String,_e=function(t){try{return we(t)}catch(t){return"Object"}},xe=yt,ke=_e,Ce=TypeError,Ee=function(t){if(xe(t))return t;throw new Ce(ke(t)+" is not a function")},Se=Ee,Te=O,Oe=function(t,e){var n=t[e];return Te(n)?void 0:Se(n)},Pe=se,Ae=yt,De=Ut,Le=TypeError,Re=se,Fe=Ut,Me=be,je=Oe,Ie=function(t,e){var n,r;if("string"===e&&Ae(n=t.toString)&&!De(r=Pe(n,t)))return r;if(Ae(n=t.valueOf)&&!De(r=Pe(n,t)))return r;if("string"!==e&&Ae(n=t.toString)&&!De(r=Pe(n,t)))return r;throw new Le("Can't convert object to primitive value")},ze=TypeError,Be=ct("toPrimitive"),Ne=function(t,e){if(!Fe(t)||Me(t))return t;var n,r=je(t,Be);if(r){if(void 0===e&&(e="default"),n=Re(r,t,e),!Fe(n)||Me(n))return n;throw new ze("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ie(t,e)},We=be,Ge=function(t){var e=Ne(t,"string");return We(e)?e:e+""},Ye=Xt,Ve=Jt,Ue=te,Xe=ie,He=Ge,qe=TypeError,Ze=Object.defineProperty,Ke=Object.getOwnPropertyDescriptor,Qe="enumerable",$e="configurable",Je="writable";Ht.f=Ye?Ue?function(t,e,n){if(Xe(t),e=He(e),Xe(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Je in n&&!n[Je]){var r=Ke(t,e);r&&r[Je]&&(t[e]=n.value,n={configurable:$e in n?n[$e]:r[$e],enumerable:Qe in n?n[Qe]:r[Qe],writable:!1})}return Ze(t,e,n)}:Ze:function(t,e,n){if(Xe(t),e=He(e),Xe(n),Ve)try{return Ze(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new qe("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var tn,en,nn,rn=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},on=Ht,an=rn,sn=Xt?function(t,e,n){return on.f(t,e,an(1,n))}:function(t,e,n){return t[e]=n,t},ln=G,un=T("keys"),cn=function(t){return un[t]||(un[t]=ln(t))},hn={},fn=Gt,dn=m,pn=Ut,vn=sn,yn=I,mn=k,gn=cn,bn=hn,wn="Object already initialized",_n=dn.TypeError,xn=dn.WeakMap;if(fn||mn.state){var kn=mn.state||(mn.state=new xn);kn.get=kn.get,kn.has=kn.has,kn.set=kn.set,tn=function(t,e){if(kn.has(t))throw new _n(wn);return e.facade=t,kn.set(t,e),e},en=function(t){return kn.get(t)||{}},nn=function(t){return kn.has(t)}}else{var Cn=gn("state");bn[Cn]=!0,tn=function(t,e){if(yn(t,Cn))throw new _n(wn);return e.facade=t,vn(t,Cn,e),e},en=function(t){return yn(t,Cn)?t[Cn]:{}},nn=function(t){return yn(t,Cn)}}var En={set:tn,get:en,has:nn,enforce:function(t){return nn(t)?en(t):tn(t,{})},getterFor:function(t){return function(e){var n;if(!pn(e)||(n=en(e)).type!==t)throw new _n("Incompatible receiver, "+t+" required");return n}}},Sn=a,Tn=Function.prototype,On=Tn.apply,Pn=Tn.call,An="object"==typeof Reflect&&Reflect.apply||(Sn?Pn.bind(On):function(){return Pn.apply(On,arguments)}),Dn=wt,Ln=h,Rn=function(t){if("Function"===Dn(t))return Ln(t)},Fn={},Mn={},jn={}.propertyIsEnumerable,In=Object.getOwnPropertyDescriptor,zn=In&&!jn.call({1:2},1);Mn.f=zn?function(t){var e=In(this,t);return!!e&&e.enumerable}:jn;var Bn=o,Nn=wt,Wn=Object,Gn=h("".split),Yn=Bn((function(){return!Wn("z").propertyIsEnumerable(0)}))?function(t){return"String"===Nn(t)?Gn(t,""):Wn(t)}:Wn,Vn=Yn,Un=D,Xn=function(t){return Vn(Un(t))},Hn=Xt,qn=se,Zn=Mn,Kn=rn,Qn=Xn,$n=Ge,Jn=I,tr=Jt,er=Object.getOwnPropertyDescriptor;Fn.f=Hn?er:function(t,e){if(t=Qn(t),e=$n(e),tr)try{return er(t,e)}catch(t){}if(Jn(t,e))return Kn(!qn(Zn.f,t,e),t[e])};var nr=o,rr=yt,ir=/#|\.prototype\./,or=function(t,e){var n=sr[ar(t)];return n===ur||n!==lr&&(rr(e)?nr(e):!!e)},ar=or.normalize=function(t){return String(t).replace(ir,".").toLowerCase()},sr=or.data={},lr=or.NATIVE="N",ur=or.POLYFILL="P",cr=or,hr=Ee,fr=a,dr=Rn(Rn.bind),pr=function(t,e){return hr(t),void 0===e?t:fr?dr(t,e):function(){return t.apply(e,arguments)}},vr=m,yr=An,mr=Rn,gr=yt,br=Fn.f,wr=cr,_r=le,xr=pr,kr=sn,Cr=I,Er=function(t){var e=function(n,r,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,i)}return yr(t,this,arguments)};return e.prototype=t.prototype,e},Sr=function(t,e){var n,r,i,o,a,s,l,u,c,h=t.target,f=t.global,d=t.stat,p=t.proto,v=f?vr:d?vr[h]:(vr[h]||{}).prototype,y=f?_r:_r[h]||kr(_r,h,{})[h],m=y.prototype;for(o in e)r=!(n=wr(f?o:h+(d?".":"#")+o,t.forced))&&v&&Cr(v,o),s=y[o],r&&(l=t.dontCallGetSet?(c=br(v,o))&&c.value:v[o]),a=r&&l?l:e[o],r&&typeof s==typeof a||(u=t.bind&&r?xr(a,vr):t.wrap&&r?Er(a):p&&gr(a)?mr(a):a,(t.sham||a&&a.sham||s&&s.sham)&&kr(u,"sham",!0),kr(y,o,u),p&&(Cr(_r,i=h+"Prototype")||kr(_r,i,{}),kr(_r[i],o,a),t.real&&m&&(n||!m[o])&&kr(m,o,a)))},Tr=Xt,Or=I,Pr=Function.prototype,Ar=Tr&&Object.getOwnPropertyDescriptor,Dr=Or(Pr,"name"),Lr={EXISTS:Dr,PROPER:Dr&&"something"===function(){}.name,CONFIGURABLE:Dr&&(!Tr||Tr&&Ar(Pr,"name").configurable)},Rr={},Fr=v,Mr=Math.max,jr=Math.min,Ir=function(t,e){var n=Fr(t);return n<0?Mr(n+e,0):jr(n,e)},zr=v,Br=Math.min,Nr=function(t){return t>0?Br(zr(t),9007199254740991):0},Wr=function(t){return Nr(t.length)},Gr=Xn,Yr=Ir,Vr=Wr,Ur=function(t){return function(e,n,r){var i,o=Gr(e),a=Vr(o),s=Yr(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},Xr={includes:Ur(!0),indexOf:Ur(!1)},Hr=I,qr=Xn,Zr=Xr.indexOf,Kr=hn,Qr=h([].push),$r=function(t,e){var n,r=qr(t),i=0,o=[];for(n in r)!Hr(Kr,n)&&Hr(r,n)&&Qr(o,n);for(;e.length>i;)Hr(r,n=e[i++])&&(~Zr(o,n)||Qr(o,n));return o},Jr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ti=$r,ei=Jr,ni=Object.keys||function(t){return ti(t,ei)},ri=Xt,ii=te,oi=Ht,ai=ie,si=Xn,li=ni;Rr.f=ri&&!ii?Object.defineProperties:function(t,e){ai(t);for(var n,r=si(e),i=li(e),o=i.length,a=0;o>a;)oi.f(t,n=i[a++],r[n]);return t};var ui,ci=de("document","documentElement"),hi=ie,fi=Rr,di=Jr,pi=hn,vi=ci,yi=Qt,mi="prototype",gi="script",bi=cn("IE_PROTO"),wi=function(){},_i=function(t){return"<"+gi+">"+t+"</"+gi+">"},xi=function(t){t.write(_i("")),t.close();var e=t.parentWindow.Object;return t=null,e},ki=function(){try{ui=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;ki="undefined"!=typeof document?document.domain&&ui?xi(ui):(e=yi("iframe"),n="java"+gi+":",e.style.display="none",vi.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(_i("document.F=Object")),t.close(),t.F):xi(ui);for(var r=di.length;r--;)delete ki[mi][di[r]];return ki()};pi[bi]=!0;var Ci,Ei,Si,Ti=Object.create||function(t,e){var n;return null!==t?(wi[mi]=hi(t),n=new wi,wi[mi]=null,n[bi]=t):n=ki(),void 0===e?n:fi.f(n,e)},Oi=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Pi=I,Ai=yt,Di=F,Li=Oi,Ri=cn("IE_PROTO"),Fi=Object,Mi=Fi.prototype,ji=Li?Fi.getPrototypeOf:function(t){var e=Di(t);if(Pi(e,Ri))return e[Ri];var n=e.constructor;return Ai(n)&&e instanceof n?n.prototype:e instanceof Fi?Mi:null},Ii=sn,zi=function(t,e,n,r){return r&&r.enumerable?t[e]=n:Ii(t,e,n),t},Bi=o,Ni=yt,Wi=Ut,Gi=Ti,Yi=ji,Vi=zi,Ui=ct("iterator"),Xi=!1;[].keys&&("next"in(Si=[].keys())?(Ei=Yi(Yi(Si)))!==Object.prototype&&(Ci=Ei):Xi=!0);var Hi=!Wi(Ci)||Bi((function(){var t={};return Ci[Ui].call(t)!==t}));Ni((Ci=Hi?{}:Gi(Ci))[Ui])||Vi(Ci,Ui,(function(){return this}));var qi={IteratorPrototype:Ci,BUGGY_SAFARI_ITERATORS:Xi},Zi=Tt,Ki=ft?{}.toString:function(){return"[object "+Zi(this)+"]"},Qi=ft,$i=Ht.f,Ji=sn,to=I,eo=Ki,no=ct("toStringTag"),ro=function(t,e,n,r){if(t){var i=n?t:t.prototype;to(i,no)||$i(i,no,{configurable:!0,value:e}),r&&!Qi&&Ji(i,"toString",eo)}},io={},oo=qi.IteratorPrototype,ao=Ti,so=rn,lo=ro,uo=io,co=function(){return this},ho=h,fo=Ee,po=yt,vo=String,yo=TypeError,mo=function(t,e,n){try{return ho(fo(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}},go=ie,bo=function(t){if("object"==typeof t||po(t))return t;throw new yo("Can't set "+vo(t)+" as a prototype")},wo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=mo(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return go(n),bo(r),e?t(n,r):n.__proto__=r,n}}():void 0),_o=Sr,xo=se,ko=Lr,Co=function(t,e,n,r){var i=e+" Iterator";return t.prototype=ao(oo,{next:so(+!r,n)}),lo(t,i,!1,!0),uo[i]=co,t},Eo=ji,So=ro,To=zi,Oo=io,Po=qi,Ao=ko.PROPER,Do=Po.BUGGY_SAFARI_ITERATORS,Lo=ct("iterator"),Ro="keys",Fo="values",Mo="entries",jo=function(){return this},Io=function(t,e,n,r,i,o,a){Co(n,e,r);var s,l,u,c=function(t){if(t===i&&v)return v;if(!Do&&t&&t in d)return d[t];switch(t){case Ro:case Fo:case Mo:return function(){return new n(this,t)}}return function(){return new n(this)}},h=e+" Iterator",f=!1,d=t.prototype,p=d[Lo]||d["@@iterator"]||i&&d[i],v=!Do&&p||c(i),y="Array"===e&&d.entries||p;if(y&&(s=Eo(y.call(new t)))!==Object.prototype&&s.next&&(So(s,h,!0,!0),Oo[h]=jo),Ao&&i===Fo&&p&&p.name!==Fo&&(f=!0,v=function(){return xo(p,this)}),i)if(l={values:c(Fo),keys:o?v:c(Ro),entries:c(Mo)},a)for(u in l)(Do||f||!(u in d))&&To(d,u,l[u]);else _o({target:e,proto:!0,forced:Do||f},l);return a&&d[Lo]!==v&&To(d,Lo,v,{name:i}),Oo[e]=v,l},zo=function(t,e){return{value:t,done:e}},Bo=Bt.charAt,No=At,Wo=En,Go=Io,Yo=zo,Vo="String Iterator",Uo=Wo.set,Xo=Wo.getterFor(Vo);Go(String,"String",(function(t){Uo(this,{type:Vo,string:No(t),index:0})}),(function(){var t,e=Xo(this),n=e.string,r=e.index;return r>=n.length?Yo(void 0,!0):(t=Bo(n,r),e.index+=t.length,Yo(t,!1))}));var Ho=se,qo=ie,Zo=Oe,Ko=function(t,e,n){var r,i;qo(t);try{if(!(r=Zo(t,"return"))){if("throw"===e)throw n;return n}r=Ho(r,t)}catch(t){i=!0,r=t}if("throw"===e)throw n;if(i)throw r;return qo(r),n},Qo=ie,$o=Ko,Jo=io,ta=ct("iterator"),ea=Array.prototype,na=function(t){return void 0!==t&&(Jo.Array===t||ea[ta]===t)},ra=yt,ia=k,oa=h(Function.toString);ra(ia.inspectSource)||(ia.inspectSource=function(t){return oa(t)});var aa=ia.inspectSource,sa=h,la=o,ua=yt,ca=Tt,ha=aa,fa=function(){},da=[],pa=de("Reflect","construct"),va=/^\s*(?:class|function)\b/,ya=sa(va.exec),ma=!va.test(fa),ga=function(t){if(!ua(t))return!1;try{return pa(fa,da,t),!0}catch(t){return!1}},ba=function(t){if(!ua(t))return!1;switch(ca(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ma||!!ya(va,ha(t))}catch(t){return!0}};ba.sham=!0;var wa=!pa||la((function(){var t;return ga(ga.call)||!ga(Object)||!ga((function(){t=!0}))||t}))?ba:ga,_a=Ge,xa=Ht,ka=rn,Ca=function(t,e,n){var r=_a(e);r in t?xa.f(t,r,ka(0,n)):t[r]=n},Ea=Tt,Sa=Oe,Ta=O,Oa=io,Pa=ct("iterator"),Aa=function(t){if(!Ta(t))return Sa(t,Pa)||Sa(t,"@@iterator")||Oa[Ea(t)]},Da=se,La=Ee,Ra=ie,Fa=_e,Ma=Aa,ja=TypeError,Ia=function(t,e){var n=arguments.length<2?Ma(t):e;if(La(n))return Ra(Da(n,t));throw new ja(Fa(t)+" is not iterable")},za=pr,Ba=se,Na=F,Wa=function(t,e,n,r){try{return r?e(Qo(n)[0],n[1]):e(n)}catch(e){$o(t,"throw",e)}},Ga=na,Ya=wa,Va=Wr,Ua=Ca,Xa=Ia,Ha=Aa,qa=Array,Za=ct("iterator"),Ka=!1;try{var Qa=0,$a={next:function(){return{done:!!Qa++}},return:function(){Ka=!0}};$a[Za]=function(){return this},Array.from($a,(function(){throw 2}))}catch(t){}var Ja=function(t,e){try{if(!e&&!Ka)return!1}catch(t){return!1}var n=!1;try{var r={};r[Za]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},ts=function(t){var e=Na(t),n=Ya(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=za(i,r>2?arguments[2]:void 0));var a,s,l,u,c,h,f=Ha(e),d=0;if(!f||this===qa&&Ga(f))for(a=Va(e),s=n?new this(a):qa(a);a>d;d++)h=o?i(e[d],d):e[d],Ua(s,d,h);else for(c=(u=Xa(e,f)).next,s=n?new this:[];!(l=Ba(c,u)).done;d++)h=o?Wa(u,i,[l.value,d],!0):l.value,Ua(s,d,h);return s.length=d,s};Sr({target:"Array",stat:!0,forced:!Ja((function(t){Array.from(t)}))},{from:ts});var es=le.Array.from,ns=n(es),rs=Xn,is=io,os=En;Ht.f;var as=Io,ss=zo,ls="Array Iterator",us=os.set,cs=os.getterFor(ls);as(Array,"Array",(function(t,e){us(this,{type:ls,target:rs(t),index:0,kind:e})}),(function(){var t=cs(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,ss(void 0,!0);switch(t.kind){case"keys":return ss(n,!1);case"values":return ss(e[n],!1)}return ss([n,e[n]],!1)}),"values"),is.Arguments=is.Array;var hs=Aa,fs={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},ds=m,ps=Tt,vs=sn,ys=io,ms=ct("toStringTag");for(var gs in fs){var bs=ds[gs],ws=bs&&bs.prototype;ws&&ps(ws)!==ms&&vs(ws,ms,gs),ys[gs]=ys.Array}var _s=hs,xs=n(_s),ks=n(_s);function Cs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Es={exports:{}},Ss=Sr,Ts=Xt,Os=Ht.f;Ss({target:"Object",stat:!0,forced:Object.defineProperty!==Os,sham:!Ts},{defineProperty:Os});var Ps=le.Object,As=Es.exports=function(t,e,n){return Ps.defineProperty(t,e,n)};Ps.defineProperty.sham&&(As.sham=!0);var Ds=Es.exports,Ls=Ds,Rs=n(Ls),Fs=wt,Ms=Array.isArray||function(t){return"Array"===Fs(t)},js=TypeError,Is=function(t){if(t>9007199254740991)throw js("Maximum allowed index exceeded");return t},zs=Ms,Bs=wa,Ns=Ut,Ws=ct("species"),Gs=Array,Ys=function(t){var e;return zs(t)&&(e=t.constructor,(Bs(e)&&(e===Gs||zs(e.prototype))||Ns(e)&&null===(e=e[Ws]))&&(e=void 0)),void 0===e?Gs:e},Vs=function(t,e){return new(Ys(t))(0===e?0:e)},Us=o,Xs=K,Hs=ct("species"),qs=function(t){return Xs>=51||!Us((function(){var e=[];return(e.constructor={})[Hs]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Zs=Sr,Ks=o,Qs=Ms,$s=Ut,Js=F,tl=Wr,el=Is,nl=Ca,rl=Vs,il=qs,ol=K,al=ct("isConcatSpreadable"),sl=ol>=51||!Ks((function(){var t=[];return t[al]=!1,t.concat()[0]!==t})),ll=function(t){if(!$s(t))return!1;var e=t[al];return void 0!==e?!!e:Qs(t)};Zs({target:"Array",proto:!0,arity:1,forced:!sl||!il("concat")},{concat:function(t){var e,n,r,i,o,a=Js(this),s=rl(a,0),l=0;for(e=-1,r=arguments.length;e<r;e++)if(ll(o=-1===e?a:arguments[e]))for(i=tl(o),el(l+i),n=0;n<i;n++,l++)n in o&&nl(s,l,o[n]);else el(l+1),nl(s,l++,o);return s.length=l,s}});var ul={},cl=$r,hl=Jr.concat("length","prototype");ul.f=Object.getOwnPropertyNames||function(t){return cl(t,hl)};var fl={},dl=Ir,pl=Wr,vl=Ca,yl=Array,ml=Math.max,gl=function(t,e,n){for(var r=pl(t),i=dl(e,r),o=dl(void 0===n?r:n,r),a=yl(ml(o-i,0)),s=0;i<o;i++,s++)vl(a,s,t[i]);return a.length=s,a},bl=wt,wl=Xn,_l=ul.f,xl=gl,kl="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];fl.f=function(t){return kl&&"Window"===bl(t)?function(t){try{return _l(t)}catch(t){return xl(kl)}}(t):_l(wl(t))};var Cl={};Cl.f=Object.getOwnPropertySymbols;var El=Ht,Sl=function(t,e,n){return El.f(t,e,n)},Tl={},Ol=ct;Tl.f=Ol;var Pl=le,Al=I,Dl=Tl,Ll=Ht.f,Rl=function(t){var e=Pl.Symbol||(Pl.Symbol={});Al(e,t)||Ll(e,t,{value:Dl.f(t)})},Fl=se,Ml=de,jl=ct,Il=zi,zl=function(){var t=Ml("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=jl("toPrimitive");e&&!e[r]&&Il(e,r,(function(t){return Fl(n,this)}),{arity:1})},Bl=pr,Nl=Yn,Wl=F,Gl=Wr,Yl=Vs,Vl=h([].push),Ul=function(t){var e=1===t,n=2===t,r=3===t,i=4===t,o=6===t,a=7===t,s=5===t||o;return function(l,u,c,h){for(var f,d,p=Wl(l),v=Nl(p),y=Bl(u,c),m=Gl(v),g=0,b=h||Yl,w=e?b(l,m):n||a?b(l,0):void 0;m>g;g++)if((s||g in v)&&(d=y(f=v[g],g,p),t))if(e)w[g]=d;else if(d)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:Vl(w,f)}else switch(t){case 4:return!1;case 7:Vl(w,f)}return o?-1:r||i?i:w}},Xl={forEach:Ul(0),map:Ul(1),filter:Ul(2),some:Ul(3),every:Ul(4),find:Ul(5),findIndex:Ul(6),filterReject:Ul(7)},Hl=Sr,ql=m,Zl=se,Kl=h,Ql=Xt,$l=tt,Jl=o,tu=I,eu=pe,nu=ie,ru=Xn,iu=Ge,ou=At,au=rn,su=Ti,lu=ni,uu=ul,cu=fl,hu=Cl,fu=Fn,du=Ht,pu=Rr,vu=Mn,yu=zi,mu=Sl,gu=T,bu=hn,wu=G,_u=ct,xu=Tl,ku=Rl,Cu=zl,Eu=ro,Su=En,Tu=Xl.forEach,Ou=cn("hidden"),Pu="Symbol",Au="prototype",Du=Su.set,Lu=Su.getterFor(Pu),Ru=Object[Au],Fu=ql.Symbol,Mu=Fu&&Fu[Au],ju=ql.RangeError,Iu=ql.TypeError,zu=ql.QObject,Bu=fu.f,Nu=du.f,Wu=cu.f,Gu=vu.f,Yu=Kl([].push),Vu=gu("symbols"),Uu=gu("op-symbols"),Xu=gu("wks"),Hu=!zu||!zu[Au]||!zu[Au].findChild,qu=function(t,e,n){var r=Bu(Ru,e);r&&delete Ru[e],Nu(t,e,n),r&&t!==Ru&&Nu(Ru,e,r)},Zu=Ql&&Jl((function(){return 7!==su(Nu({},"a",{get:function(){return Nu(this,"a",{value:7}).a}})).a}))?qu:Nu,Ku=function(t,e){var n=Vu[t]=su(Mu);return Du(n,{type:Pu,tag:t,description:e}),Ql||(n.description=e),n},Qu=function(t,e,n){t===Ru&&Qu(Uu,e,n),nu(t);var r=iu(e);return nu(n),tu(Vu,r)?(n.enumerable?(tu(t,Ou)&&t[Ou][r]&&(t[Ou][r]=!1),n=su(n,{enumerable:au(0,!1)})):(tu(t,Ou)||Nu(t,Ou,au(1,{})),t[Ou][r]=!0),Zu(t,r,n)):Nu(t,r,n)},$u=function(t,e){nu(t);var n=ru(e),r=lu(n).concat(nc(n));return Tu(r,(function(e){Ql&&!Zl(Ju,n,e)||Qu(t,e,n[e])})),t},Ju=function(t){var e=iu(t),n=Zl(Gu,this,e);return!(this===Ru&&tu(Vu,e)&&!tu(Uu,e))&&(!(n||!tu(this,e)||!tu(Vu,e)||tu(this,Ou)&&this[Ou][e])||n)},tc=function(t,e){var n=ru(t),r=iu(e);if(n!==Ru||!tu(Vu,r)||tu(Uu,r)){var i=Bu(n,r);return!i||!tu(Vu,r)||tu(n,Ou)&&n[Ou][r]||(i.enumerable=!0),i}},ec=function(t){var e=Wu(ru(t)),n=[];return Tu(e,(function(t){tu(Vu,t)||tu(bu,t)||Yu(n,t)})),n},nc=function(t){var e=t===Ru,n=Wu(e?Uu:ru(t)),r=[];return Tu(n,(function(t){!tu(Vu,t)||e&&!tu(Ru,t)||Yu(r,Vu[t])})),r};$l||(Fu=function(){if(eu(Mu,this))throw new Iu("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ou(arguments[0]):void 0,e=wu(t),n=function(t){var r=void 0===this?ql:this;r===Ru&&Zl(n,Uu,t),tu(r,Ou)&&tu(r[Ou],e)&&(r[Ou][e]=!1);var i=au(1,t);try{Zu(r,e,i)}catch(t){if(!(t instanceof ju))throw t;qu(r,e,i)}};return Ql&&Hu&&Zu(Ru,e,{configurable:!0,set:n}),Ku(e,t)},yu(Mu=Fu[Au],"toString",(function(){return Lu(this).tag})),yu(Fu,"withoutSetter",(function(t){return Ku(wu(t),t)})),vu.f=Ju,du.f=Qu,pu.f=$u,fu.f=tc,uu.f=cu.f=ec,hu.f=nc,xu.f=function(t){return Ku(_u(t),t)},Ql&&mu(Mu,"description",{configurable:!0,get:function(){return Lu(this).description}})),Hl({global:!0,constructor:!0,wrap:!0,forced:!$l,sham:!$l},{Symbol:Fu}),Tu(lu(Xu),(function(t){ku(t)})),Hl({target:Pu,stat:!0,forced:!$l},{useSetter:function(){Hu=!0},useSimple:function(){Hu=!1}}),Hl({target:"Object",stat:!0,forced:!$l,sham:!Ql},{create:function(t,e){return void 0===e?su(t):$u(su(t),e)},defineProperty:Qu,defineProperties:$u,getOwnPropertyDescriptor:tc}),Hl({target:"Object",stat:!0,forced:!$l},{getOwnPropertyNames:ec}),Cu(),Eu(Fu,Pu),bu[Ou]=!0;var rc=tt&&!!Symbol.for&&!!Symbol.keyFor,ic=Sr,oc=de,ac=I,sc=At,lc=T,uc=rc,cc=lc("string-to-symbol-registry"),hc=lc("symbol-to-string-registry");ic({target:"Symbol",stat:!0,forced:!uc},{for:function(t){var e=sc(t);if(ac(cc,e))return cc[e];var n=oc("Symbol")(e);return cc[e]=n,hc[n]=e,n}});var fc=Sr,dc=I,pc=be,vc=_e,yc=rc,mc=T("symbol-to-string-registry");fc({target:"Symbol",stat:!0,forced:!yc},{keyFor:function(t){if(!pc(t))throw new TypeError(vc(t)+" is not a symbol");if(dc(mc,t))return mc[t]}});var gc=h([].slice),bc=Ms,wc=yt,_c=wt,xc=At,kc=h([].push),Cc=Sr,Ec=de,Sc=An,Tc=se,Oc=h,Pc=o,Ac=yt,Dc=be,Lc=gc,Rc=function(t){if(wc(t))return t;if(bc(t)){for(var e=t.length,n=[],r=0;r<e;r++){var i=t[r];"string"==typeof i?kc(n,i):"number"!=typeof i&&"Number"!==_c(i)&&"String"!==_c(i)||kc(n,xc(i))}var o=n.length,a=!0;return function(t,e){if(a)return a=!1,e;if(bc(this))return e;for(var r=0;r<o;r++)if(n[r]===t)return e}}},Fc=tt,Mc=String,jc=Ec("JSON","stringify"),Ic=Oc(/./.exec),zc=Oc("".charAt),Bc=Oc("".charCodeAt),Nc=Oc("".replace),Wc=Oc(1..toString),Gc=/[\uD800-\uDFFF]/g,Yc=/^[\uD800-\uDBFF]$/,Vc=/^[\uDC00-\uDFFF]$/,Uc=!Fc||Pc((function(){var t=Ec("Symbol")("stringify detection");return"[null]"!==jc([t])||"{}"!==jc({a:t})||"{}"!==jc(Object(t))})),Xc=Pc((function(){return'"\\udf06\\ud834"'!==jc("\udf06\ud834")||'"\\udead"'!==jc("\udead")})),Hc=function(t,e){var n=Lc(arguments),r=Rc(e);if(Ac(r)||void 0!==t&&!Dc(t))return n[1]=function(t,e){if(Ac(r)&&(e=Tc(r,this,Mc(t),e)),!Dc(e))return e},Sc(jc,null,n)},qc=function(t,e,n){var r=zc(n,e-1),i=zc(n,e+1);return Ic(Yc,t)&&!Ic(Vc,i)||Ic(Vc,t)&&!Ic(Yc,r)?"\\u"+Wc(Bc(t,0),16):t};jc&&Cc({target:"JSON",stat:!0,arity:3,forced:Uc||Xc},{stringify:function(t,e,n){var r=Lc(arguments),i=Sc(Uc?Hc:jc,null,r);return Xc&&"string"==typeof i?Nc(i,Gc,qc):i}});var Zc=Cl,Kc=F;Sr({target:"Object",stat:!0,forced:!tt||o((function(){Zc.f(1)}))},{getOwnPropertySymbols:function(t){var e=Zc.f;return e?e(Kc(t)):[]}}),Rl("asyncIterator"),Rl("hasInstance"),Rl("isConcatSpreadable"),Rl("iterator"),Rl("match"),Rl("matchAll"),Rl("replace"),Rl("search"),Rl("species"),Rl("split");var Qc=zl;Rl("toPrimitive"),Qc();var $c=de,Jc=ro;Rl("toStringTag"),Jc($c("Symbol"),"Symbol"),Rl("unscopables"),ro(m.JSON,"JSON",!0);var th=le.Symbol,eh=ct,nh=Ht.f,rh=eh("metadata"),ih=Function.prototype;void 0===ih[rh]&&nh(ih,rh,{value:null}),Rl("asyncDispose"),Rl("dispose"),Rl("metadata");var oh=th,ah=h,sh=de("Symbol"),lh=sh.keyFor,uh=ah(sh.prototype.valueOf),ch=sh.isRegisteredSymbol||function(t){try{return void 0!==lh(uh(t))}catch(t){return!1}};Sr({target:"Symbol",stat:!0},{isRegisteredSymbol:ch});for(var hh=T,fh=de,dh=h,ph=be,vh=ct,yh=fh("Symbol"),mh=yh.isWellKnownSymbol,gh=fh("Object","getOwnPropertyNames"),bh=dh(yh.prototype.valueOf),wh=hh("wks"),_h=0,xh=gh(yh),kh=xh.length;_h<kh;_h++)try{var Ch=xh[_h];ph(yh[Ch])&&vh(Ch)}catch(t){}var Eh=function(t){if(mh&&mh(t))return!0;try{for(var e=bh(t),n=0,r=gh(wh),i=r.length;n<i;n++)if(wh[r[n]]==e)return!0}catch(t){}return!1};Sr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Eh}),Rl("matcher"),Rl("observable"),Sr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:ch}),Sr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Eh}),Rl("metadataKey"),Rl("patternMatch"),Rl("replaceAll");var Sh=oh,Th=n(Sh),Oh=Tl.f("iterator"),Ph=Oh,Ah=n(Ph);function Dh(t){return Dh="function"==typeof Th&&"symbol"==typeof Ah?function(t){return typeof t}:function(t){return t&&"function"==typeof Th&&t.constructor===Th&&t!==Th.prototype?"symbol":typeof t},Dh(t)}var Lh=n(Tl.f("toPrimitive"));function Rh(t){var e=function(t,e){if("object"!==Dh(t)||null===t)return t;var n=t[Lh];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Dh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Dh(e)?e:String(e)}function Fh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Rs(t,Rh(r.key),r)}}function Mh(t,e,n){return e&&Fh(t.prototype,e),n&&Fh(t,n),Rs(t,"prototype",{writable:!1}),t}Sr({target:"Array",stat:!0},{isArray:Ms});var jh=le.Array.isArray,Ih=n(jh);var zh=Xt,Bh=Ms,Nh=TypeError,Wh=Object.getOwnPropertyDescriptor,Gh=zh&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(Bh(t)&&!Wh(t,"length").writable)throw new Nh("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Yh=F,Vh=Wr,Uh=Gh,Xh=Is;Sr({target:"Array",proto:!0,arity:1,forced:o((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 e=Yh(this),n=Vh(e),r=arguments.length;Xh(n+r);for(var i=0;i<r;i++)e[n]=arguments[i],n++;return Uh(e,n),n}});var Hh=m,qh=le,Zh=function(t,e){var n=qh[t+"Prototype"],r=n&&n[e];if(r)return r;var i=Hh[t],o=i&&i.prototype;return o&&o[e]},Kh=Zh("Array","push"),Qh=pe,$h=Kh,Jh=Array.prototype,tf=function(t){var e=t.push;return t===Jh||Qh(Jh,t)&&e===Jh.push?$h:e},ef=n(tf);var nf=Sr,rf=Ms,of=wa,af=Ut,sf=Ir,lf=Wr,uf=Xn,cf=Ca,hf=ct,ff=gc,df=qs("slice"),pf=hf("species"),vf=Array,yf=Math.max;nf({target:"Array",proto:!0,forced:!df},{slice:function(t,e){var n,r,i,o=uf(this),a=lf(o),s=sf(t,a),l=sf(void 0===e?a:e,a);if(rf(o)&&(n=o.constructor,(of(n)&&(n===vf||rf(n.prototype))||af(n)&&null===(n=n[pf]))&&(n=void 0),n===vf||void 0===n))return ff(o,s,l);for(r=new(void 0===n?vf:n)(yf(l-s,0)),i=0;s<l;s++,i++)s in o&&cf(r,i,o[s]);return r.length=i,r}});var mf=Zh("Array","slice"),gf=pe,bf=mf,wf=Array.prototype,_f=function(t){var e=t.slice;return t===wf||gf(wf,t)&&e===wf.slice?bf:e},xf=_f,kf=n(xf),Cf=n(es);function Ef(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Sf(t,e){var n;if(t){if("string"==typeof t)return Ef(t,e);var r=kf(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Cf(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ef(t,e):void 0}}function Tf(t,e){return function(t){if(Ih(t))return t}(t)||function(t,e){var n=null==t?null:void 0!==Th&&xs(t)||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(ef(s).call(s,r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||Sf(t,e)||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.")}()}function Of(t){return function(t){if(Ih(t))return Ef(t)}(t)||function(t){if(void 0!==Th&&null!=xs(t)||null!=t["@@iterator"])return Cf(t)}(t)||Sf(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Pf=n(th),Af=Zh("Array","concat"),Df=pe,Lf=Af,Rf=Array.prototype,Ff=n((function(t){var e=t.concat;return t===Rf||Df(Rf,t)&&e===Rf.concat?Lf:e})),Mf=n(_f),jf=de,If=ul,zf=Cl,Bf=ie,Nf=h([].concat),Wf=jf("Reflect","ownKeys")||function(t){var e=If.f(Bf(t)),n=zf.f;return n?Nf(e,n(t)):e};Sr({target:"Reflect",stat:!0},{ownKeys:Wf});var Gf=n(le.Reflect.ownKeys),Yf=n(jh),Vf=Xl.map;Sr({target:"Array",proto:!0,forced:!qs("map")},{map:function(t){return Vf(this,t,arguments.length>1?arguments[1]:void 0)}});var Uf=Zh("Array","map"),Xf=pe,Hf=Uf,qf=Array.prototype,Zf=n((function(t){var e=t.map;return t===qf||Xf(qf,t)&&e===qf.map?Hf:e})),Kf=F,Qf=ni;Sr({target:"Object",stat:!0,forced:o((function(){Qf(1)}))},{keys:function(t){return Qf(Kf(t))}});var $f=n(le.Object.keys),Jf=Sr,td=Date,ed=h(td.prototype.getTime);Jf({target:"Date",stat:!0},{now:function(){return ed(new td)}});var nd=n(le.Date.now),rd=h,id=Ee,od=Ut,ad=I,sd=gc,ld=a,ud=Function,cd=rd([].concat),hd=rd([].join),fd={},dd=ld?ud.bind:function(t){var e=id(this),n=e.prototype,r=sd(arguments,1),i=function(){var n=cd(r,sd(arguments));return this instanceof i?function(t,e,n){if(!ad(fd,e)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";fd[e]=ud("C,a","return new C("+hd(r,",")+")")}return fd[e](t,n)}(e,n.length,n):e.apply(t,n)};return od(n)&&(i.prototype=n),i},pd=dd;Sr({target:"Function",proto:!0,forced:Function.bind!==pd},{bind:pd});var vd=Zh("Function","bind"),yd=pe,md=vd,gd=Function.prototype,bd=function(t){var e=t.bind;return t===gd||yd(gd,t)&&e===gd.bind?md:e},wd=n(bd),_d=o,xd=function(t,e){var n=[][t];return!!n&&_d((function(){n.call(null,e||function(){return 1},1)}))},kd=Xl.forEach,Cd=xd("forEach")?[].forEach:function(t){return kd(this,t,arguments.length>1?arguments[1]:void 0)};Sr({target:"Array",proto:!0,forced:[].forEach!==Cd},{forEach:Cd});var Ed=Zh("Array","forEach"),Sd=Tt,Td=I,Od=pe,Pd=Ed,Ad=Array.prototype,Dd={DOMTokenList:!0,NodeList:!0},Ld=function(t){var e=t.forEach;return t===Ad||Od(Ad,t)&&e===Ad.forEach||Td(Dd,Sd(t))?Pd:e},Rd=n(Ld),Fd=Sr,Md=Ms,jd=h([].reverse),Id=[1,2];Fd({target:"Array",proto:!0,forced:String(Id)===String(Id.reverse())},{reverse:function(){return Md(this)&&(this.length=this.length),jd(this)}});var zd=Zh("Array","reverse"),Bd=pe,Nd=zd,Wd=Array.prototype,Gd=function(t){var e=t.reverse;return t===Wd||Bd(Wd,t)&&e===Wd.reverse?Nd:e},Yd=n(Gd),Vd=_e,Ud=TypeError,Xd=function(t,e){if(!delete t[e])throw new Ud("Cannot delete property "+Vd(e)+" of "+Vd(t))},Hd=Sr,qd=F,Zd=Ir,Kd=v,Qd=Wr,$d=Gh,Jd=Is,tp=Vs,ep=Ca,np=Xd,rp=qs("splice"),ip=Math.max,op=Math.min;Hd({target:"Array",proto:!0,forced:!rp},{splice:function(t,e){var n,r,i,o,a,s,l=qd(this),u=Qd(l),c=Zd(t,u),h=arguments.length;for(0===h?n=r=0:1===h?(n=0,r=u-c):(n=h-2,r=op(ip(Kd(e),0),u-c)),Jd(u+n-r),i=tp(l,r),o=0;o<r;o++)(a=c+o)in l&&ep(i,o,l[a]);if(i.length=r,n<r){for(o=c;o<u-r;o++)s=o+n,(a=o+r)in l?l[s]=l[a]:np(l,s);for(o=u;o>u-r+n;o--)np(l,o-1)}else if(n>r)for(o=u-r;o>c;o--)s=o+n-1,(a=o+r-1)in l?l[s]=l[a]:np(l,s);for(o=0;o<n;o++)l[o+c]=arguments[o+2];return $d(l,u-r+n),i}});var ap=Zh("Array","splice"),sp=pe,lp=ap,up=Array.prototype,cp=n((function(t){var e=t.splice;return t===up||sp(up,t)&&e===up.splice?lp:e})),hp=Xt,fp=h,dp=se,pp=o,vp=ni,yp=Cl,mp=Mn,gp=F,bp=Yn,wp=Object.assign,_p=Object.defineProperty,xp=fp([].concat),kp=!wp||pp((function(){if(hp&&1!==wp({b:1},wp(_p({},"a",{enumerable:!0,get:function(){_p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==wp({},t)[n]||vp(wp({},e)).join("")!==r}))?function(t,e){for(var n=gp(t),r=arguments.length,i=1,o=yp.f,a=mp.f;r>i;)for(var s,l=bp(arguments[i++]),u=o?xp(vp(l),o(l)):vp(l),c=u.length,h=0;c>h;)s=u[h++],hp&&!dp(a,l,s)||(n[s]=l[s]);return n}:wp,Cp=kp;Sr({target:"Object",stat:!0,arity:2,forced:Object.assign!==Cp},{assign:Cp});var Ep=n(le.Object.assign),Sp=Xr.includes;Sr({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return Sp(this,t,arguments.length>1?arguments[1]:void 0)}});var Tp=Zh("Array","includes"),Op=Ut,Pp=wt,Ap=ct("match"),Dp=function(t){var e;return Op(t)&&(void 0!==(e=t[Ap])?!!e:"RegExp"===Pp(t))},Lp=TypeError,Rp=ct("match"),Fp=Sr,Mp=function(t){if(Dp(t))throw new Lp("The method doesn't accept regular expressions");return t},jp=D,Ip=At,zp=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Rp]=!1,"/./"[t](e)}catch(t){}}return!1},Bp=h("".indexOf);Fp({target:"String",proto:!0,forced:!zp("includes")},{includes:function(t){return!!~Bp(Ip(jp(this)),Ip(Mp(t)),arguments.length>1?arguments[1]:void 0)}});var Np=Zh("String","includes"),Wp=pe,Gp=Tp,Yp=Np,Vp=Array.prototype,Up=String.prototype,Xp=n((function(t){var e=t.includes;return t===Vp||Wp(Vp,t)&&e===Vp.includes?Gp:"string"==typeof t||t===Up||Wp(Up,t)&&e===Up.includes?Yp:e})),Hp=F,qp=ji,Zp=Oi;Sr({target:"Object",stat:!0,forced:o((function(){qp(1)})),sham:!Zp},{getPrototypeOf:function(t){return qp(Hp(t))}});var Kp=le.Object.getPrototypeOf,Qp=n(Kp),$p=Xl.filter;Sr({target:"Array",proto:!0,forced:!qs("filter")},{filter:function(t){return $p(this,t,arguments.length>1?arguments[1]:void 0)}});var Jp=Zh("Array","filter"),tv=pe,ev=Jp,nv=Array.prototype,rv=n((function(t){var e=t.filter;return t===nv||tv(nv,t)&&e===nv.filter?ev:e})),iv=Xt,ov=o,av=h,sv=ji,lv=ni,uv=Xn,cv=av(Mn.f),hv=av([].push),fv=iv&&ov((function(){var t=Object.create(null);return t[2]=2,!cv(t,2)})),dv=function(t){return function(e){for(var n,r=uv(e),i=lv(r),o=fv&&null===sv(r),a=i.length,s=0,l=[];a>s;)n=i[s++],iv&&!(o?n in r:cv(r,n))||hv(l,t?[n,r[n]]:r[n]);return l}},pv={entries:dv(!0),values:dv(!1)},vv=pv.values;Sr({target:"Object",stat:!0},{values:function(t){return vv(t)}});var yv=n(le.Object.values),mv="\t\n\v\f\r                 \u2028\u2029\ufeff",gv=D,bv=At,wv=mv,_v=h("".replace),xv=RegExp("^["+wv+"]+"),kv=RegExp("(^|[^"+wv+"])["+wv+"]+$"),Cv=function(t){return function(e){var n=bv(gv(e));return 1&t&&(n=_v(n,xv,"")),2&t&&(n=_v(n,kv,"$1")),n}},Ev={start:Cv(1),end:Cv(2),trim:Cv(3)},Sv=m,Tv=o,Ov=h,Pv=At,Av=Ev.trim,Dv=mv,Lv=Sv.parseInt,Rv=Sv.Symbol,Fv=Rv&&Rv.iterator,Mv=/^[+-]?0x/i,jv=Ov(Mv.exec),Iv=8!==Lv(Dv+"08")||22!==Lv(Dv+"0x16")||Fv&&!Tv((function(){Lv(Object(Fv))}))?function(t,e){var n=Av(Pv(t));return Lv(n,e>>>0||(jv(Mv,n)?16:10))}:Lv;Sr({global:!0,forced:parseInt!==Iv},{parseInt:Iv});var zv=n(le.parseInt),Bv=Sr,Nv=Xr.indexOf,Wv=xd,Gv=Rn([].indexOf),Yv=!!Gv&&1/Gv([1],1,-0)<0;Bv({target:"Array",proto:!0,forced:Yv||!Wv("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Yv?Gv(this,t,e)||0:Nv(this,t,e)}});var Vv=Zh("Array","indexOf"),Uv=pe,Xv=Vv,Hv=Array.prototype,qv=n((function(t){var e=t.indexOf;return t===Hv||Uv(Hv,t)&&e===Hv.indexOf?Xv:e})),Zv=pv.entries;Sr({target:"Object",stat:!0},{entries:function(t){return Zv(t)}});var Kv=n(le.Object.entries);Sr({target:"Object",stat:!0,sham:!Xt},{create:Ti});var Qv=le.Object,$v=function(t,e){return Qv.create(t,e)},Jv=n($v),ty=le,ey=An;ty.JSON||(ty.JSON={stringify:JSON.stringify});var ny=function(t,e,n){return ey(ty.JSON.stringify,null,arguments)},ry=n(ny),iy="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,oy=TypeError,ay=function(t,e){if(t<e)throw new oy("Not enough arguments");return t},sy=m,ly=An,uy=yt,cy=iy,hy=Y,fy=gc,dy=ay,py=sy.Function,vy=/MSIE .\./.test(hy)||cy&&function(){var t=sy.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),yy=function(t,e){var n=e?2:1;return vy?function(r,i){var o=dy(arguments.length,1)>n,a=uy(r)?r:py(r),s=o?fy(arguments,n):[],l=o?function(){ly(a,this,s)}:a;return e?t(l,i):t(l)}:t},my=Sr,gy=m,by=yy(gy.setInterval,!0);my({global:!0,bind:!0,forced:gy.setInterval!==by},{setInterval:by});var wy=Sr,_y=m,xy=yy(_y.setTimeout,!0);wy({global:!0,bind:!0,forced:_y.setTimeout!==xy},{setTimeout:xy});var ky=n(le.setTimeout),Cy=F,Ey=Ir,Sy=Wr,Ty=function(t){for(var e=Cy(this),n=Sy(e),r=arguments.length,i=Ey(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:Ey(o,n);a>i;)e[i++]=t;return e};Sr({target:"Array",proto:!0},{fill:Ty});var Oy=Zh("Array","fill"),Py=pe,Ay=Oy,Dy=Array.prototype,Ly=n((function(t){var e=t.fill;return t===Dy||Py(Dy,t)&&e===Dy.fill?Ay:e})),Ry={exports:{}};!function(t){function e(t){if(t)return function(t){return Object.assign(t,e.prototype),t._callbacks=new Map,t}(t);this._callbacks=new Map}e.prototype.on=function(t,e){const n=this._callbacks.get(t)??[];return n.push(e),this._callbacks.set(t,n),this},e.prototype.once=function(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return n.fn=e,this.on(t,n),this},e.prototype.off=function(t,e){if(void 0===t&&void 0===e)return this._callbacks.clear(),this;if(void 0===e)return this._callbacks.delete(t),this;const n=this._callbacks.get(t);if(n){for(const[t,r]of n.entries())if(r===e||r.fn===e){n.splice(t,1);break}0===n.length?this._callbacks.delete(t):this._callbacks.set(t,n)}return this},e.prototype.emit=function(t,...e){const n=this._callbacks.get(t);if(n){const t=[...n];for(const n of t)n.apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks.get(t)??[]},e.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let e=0;for(const t of this._callbacks.values())e+=t.length;return e},e.prototype.hasListeners=function(t){return this.listenerCount(t)>0},e.prototype.addEventListener=e.prototype.on,e.prototype.removeListener=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,t.exports=e}(Ry);var Fy,My=n(Ry.exports);function jy(){return jy=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},jy.apply(this,arguments)}function Iy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zy(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}Fy="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var By,Ny=Fy,Wy=["","webkit","Moz","MS","ms","o"],Gy="undefined"==typeof document?{style:{}}:document.createElement("div"),Yy=Math.round,Vy=Math.abs,Uy=Date.now;function Xy(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<Wy.length;){if((r=(n=Wy[o])?n+i:e)in t)return r;o++}}By="undefined"==typeof window?{}:window;var Hy=Xy(Gy.style,"touchAction"),qy=void 0!==Hy;var Zy="compute",Ky="auto",Qy="manipulation",$y="none",Jy="pan-x",tm="pan-y",em=function(){if(!qy)return!1;var t={},e=By.CSS&&By.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){return t[n]=!e||By.CSS.supports("touch-action",n)})),t}(),nm="ontouchstart"in By,rm=void 0!==Xy(By,"PointerEvent"),im=nm&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),om="touch",am="mouse",sm=25,lm=1,um=4,cm=8,hm=1,fm=2,dm=4,pm=8,vm=16,ym=fm|dm,mm=pm|vm,gm=ym|mm,bm=["x","y"],wm=["clientX","clientY"];function _m(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function xm(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function km(t,e){return t.indexOf(e)>-1}var Cm=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===Zy&&(t=this.compute()),qy&&this.manager.element.style&&em[t]&&(this.manager.element.style[Hy]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return _m(this.manager.recognizers,(function(e){xm(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(km(t,$y))return $y;var e=km(t,Jy),n=km(t,tm);return e&&n?$y:e||n?e?Jy:tm:km(t,Qy)?Qy:Ky}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=km(r,$y)&&!em[$y],o=km(r,tm)&&!em[tm],a=km(r,Jy)&&!em[Jy];if(i){var s=1===t.pointers.length,l=t.distance<2,u=t.deltaTime<250;if(s&&l&&u)return}if(!a||!o)return i||o&&n&ym||a&&n&mm?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function Em(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Sm(t){var e=t.length;if(1===e)return{x:Yy(t[0].clientX),y:Yy(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:Yy(n/e),y:Yy(r/e)}}function Tm(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:Yy(t.pointers[n].clientX),clientY:Yy(t.pointers[n].clientY)},n++;return{timeStamp:Uy(),pointers:e,center:Sm(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Om(t,e,n){n||(n=bm);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function Pm(t,e,n){n||(n=bm);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function Am(t,e){return t===e?hm:Vy(t)>=Vy(e)?t<0?fm:dm:e<0?pm:vm}function Dm(t,e,n){return{x:e/t||0,y:n/t||0}}function Lm(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=Tm(e)),i>1&&!n.firstMultiple?n.firstMultiple=Tm(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=e.center=Sm(r);e.timeStamp=Uy(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=Pm(s,l),e.distance=Om(s,l),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==lm&&o.eventType!==um||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=Am(e.deltaX,e.deltaY);var u,c,h=Dm(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=Vy(h.x)>Vy(h.y)?h.x:h.y,e.scale=a?(u=a.pointers,Om((c=r)[0],c[1],wm)/Om(u[0],u[1],wm)):1,e.rotation=a?function(t,e){return Pm(e[1],e[0],wm)+Pm(t[1],t[0],wm)}(a.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!==cm&&(s>sm||void 0===a.velocity)){var l=e.deltaX-a.deltaX,u=e.deltaY-a.deltaY,c=Dm(s,l,u);r=c.x,i=c.y,n=Vy(c.x)>Vy(c.y)?c.x:c.y,o=Am(l,u),t.lastInterval=e}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var f,d=t.element,p=e.srcEvent;Em(f=p.composedPath?p.composedPath()[0]:p.path?p.path[0]:p.target,d)&&(d=f),e.target=d}function Rm(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&lm&&r-i==0,a=e&(um|cm)&&r-i==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,Lm(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Fm(t){return t.trim().split(/\s+/g)}function Mm(t,e,n){_m(Fm(e),(function(e){t.addEventListener(e,n,!1)}))}function jm(t,e,n){_m(Fm(e),(function(e){t.removeEventListener(e,n,!1)}))}function Im(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var zm=function(){function t(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){xm(t.options.enable,[t])&&n.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Mm(this.element,this.evEl,this.domHandler),this.evTarget&&Mm(this.target,this.evTarget,this.domHandler),this.evWin&&Mm(Im(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&jm(this.element,this.evEl,this.domHandler),this.evTarget&&jm(this.target,this.evTarget,this.domHandler),this.evWin&&jm(Im(this.element),this.evWin,this.domHandler)},t}();function Bm(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}var Nm={pointerdown:lm,pointermove:2,pointerup:um,pointercancel:cm,pointerout:cm},Wm={2:om,3:"pen",4:am,5:"kinect"},Gm="pointerdown",Ym="pointermove pointerup pointercancel";By.MSPointerEvent&&!By.PointerEvent&&(Gm="MSPointerDown",Ym="MSPointerMove MSPointerUp MSPointerCancel");var Vm=function(t){function e(){var n,r=e.prototype;return r.evEl=Gm,r.evWin=Ym,(n=t.apply(this,arguments)||this).store=n.manager.session.pointerEvents=[],n}return Iy(e,t),e.prototype.handler=function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=Nm[r],o=Wm[t.pointerType]||t.pointerType,a=o===om,s=Bm(e,t.pointerId,"pointerId");i&lm&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):i&(um|cm)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))},e}(zm);function Um(t){return Array.prototype.slice.call(t,0)}function Xm(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];Bm(i,a)<0&&r.push(t[o]),i[o]=a,o++}return n&&(r=e?r.sort((function(t,n){return t[e]>n[e]})):r.sort()),r}var Hm={touchstart:lm,touchmove:2,touchend:um,touchcancel:cm},qm=function(t){function e(){var n;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).targetIds={},n}return Iy(e,t),e.prototype.handler=function(t){var e=Hm[t.type],n=Zm.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:om,srcEvent:t})},e}(zm);function Zm(t,e){var n,r,i=Um(t.touches),o=this.targetIds;if(e&(2|lm)&&1===i.length)return o[i[0].identifier]=!0,[i,i];var a=Um(t.changedTouches),s=[],l=this.target;if(r=i.filter((function(t){return Em(t.target,l)})),e===lm)for(n=0;n<r.length;)o[r[n].identifier]=!0,n++;for(n=0;n<a.length;)o[a[n].identifier]&&s.push(a[n]),e&(um|cm)&&delete o[a[n].identifier],n++;return s.length?[Xm(r.concat(s),"identifier",!0),s]:void 0}var Km={mousedown:lm,mousemove:2,mouseup:um},Qm=function(t){function e(){var n,r=e.prototype;return r.evEl="mousedown",r.evWin="mousemove mouseup",(n=t.apply(this,arguments)||this).pressed=!1,n}return Iy(e,t),e.prototype.handler=function(t){var e=Km[t.type];e&lm&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=um),this.pressed&&(e&um&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:am,srcEvent:t}))},e}(zm),$m=2500;function Jm(t){var e=t.c