vis-data 7.1.3 → 7.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/data-interface.d.ts +13 -13
- package/declarations/data-interface.d.ts.map +1 -1
- package/declarations/data-pipe.d.ts.map +1 -1
- package/declarations/data-set-part.d.ts +3 -3
- package/declarations/data-set-part.d.ts.map +1 -1
- package/declarations/data-set.d.ts +2 -2
- package/declarations/data-set.d.ts.map +1 -1
- package/declarations/data-stream.d.ts +5 -5
- package/declarations/data-view.d.ts.map +1 -1
- package/dist/esm.js +9149 -7875
- package/dist/esm.js.map +1 -1
- package/dist/umd.js +9155 -7881
- package/dist/umd.js.map +1 -1
- package/esnext/esm/vis-data.js +71 -54
- package/esnext/esm/vis-data.js.map +1 -1
- package/esnext/esm/vis-data.min.js +3 -3
- package/esnext/esm/vis-data.min.js.map +1 -1
- package/esnext/umd/vis-data.js +71 -56
- package/esnext/umd/vis-data.js.map +1 -1
- package/esnext/umd/vis-data.min.js +3 -3
- package/esnext/umd/vis-data.min.js.map +1 -1
- package/package.json +49 -91
- package/peer/esm/vis-data.js +6890 -5160
- package/peer/esm/vis-data.js.map +1 -1
- package/peer/esm/vis-data.min.js +4 -4
- package/peer/esm/vis-data.min.js.map +1 -1
- package/peer/umd/vis-data.js +6888 -5160
- package/peer/umd/vis-data.js.map +1 -1
- package/peer/umd/vis-data.min.js +4 -4
- package/peer/umd/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.js +6890 -5160
- package/standalone/esm/vis-data.js.map +1 -1
- package/standalone/esm/vis-data.min.js +4 -4
- package/standalone/esm/vis-data.min.js.map +1 -1
- package/standalone/umd/vis-data.js +6888 -5160
- package/standalone/umd/vis-data.js.map +1 -1
- package/standalone/umd/vis-data.min.js +4 -4
- package/standalone/umd/vis-data.min.js.map +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
|
|
6
6
|
*
|
|
7
|
-
* @version 7.1.
|
|
8
|
-
* @date
|
|
7
|
+
* @version 7.1.5
|
|
8
|
+
* @date 2023-03-21T20:54:51.525Z
|
|
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,11 +23,11 @@
|
|
|
23
23
|
*
|
|
24
24
|
* vis.js may be distributed under either license.
|
|
25
25
|
*/
|
|
26
|
-
!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){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n={exports:{}},i=function(t){return t&&t.Math==Math&&t},o=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),a={},u=function(t){try{return!!t()}catch(t){return!0}},s=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={},l={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,h=f&&!l.call({1:2},1);c.f=h?function(t){var e=f(this,t);return!!e&&e.enumerable}:l;var p,v,d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},y={}.toString,g=function(t){return y.call(t).slice(8,-1)},m=g,b="".split,_=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==m(t)?b.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},E=_,T=w,O=function(t){return E(T(t))},x=function(t){return"object"==typeof t?null!==t:"function"==typeof t},k={},A=k,S=o,j=function(t){return"function"==typeof t?t:void 0},I=function(t,e){return arguments.length<2?j(A[t])||j(S[t]):A[t]&&A[t][e]||S[t]&&S[t][e]},P=I("navigator","userAgent")||"",D=o,L=P,C=D.process,M=D.Deno,N=C&&C.versions||M&&M.version,R=N&&N.v8;R?v=(p=R.split("."))[0]<4?1:p[0]+p[1]:L&&(!(p=L.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=L.match(/Chrome\/(\d+)/))&&(v=p[1]);var F=v&&+v,z=F,q=u,Y=!!Object.getOwnPropertySymbols&&!q((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&z&&z<41})),X=Y&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W=I,U=X?function(t){return"symbol"==typeof t}:function(t){var e=W("Symbol");return"function"==typeof e&&Object(t)instanceof e},V=x,G={exports:{}},H=o,$=function(t,e){try{Object.defineProperty(H,t,{value:e,configurable:!0,writable:!0})}catch(r){H[t]=e}return e},B="__core-js_shared__",J=o[B]||$(B,{}),K=J;(G.exports=function(t,e){return K[t]||(K[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var Q=w,Z=function(t){return Object(Q(t))},tt=Z,et={}.hasOwnProperty,rt=Object.hasOwn||function(t,e){return et.call(tt(t),e)},nt=0,it=Math.random(),ot=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++nt+it).toString(36)},at=o,ut=G.exports,st=rt,ct=ot,lt=Y,ft=X,ht=ut("wks"),pt=at.Symbol,vt=ft?pt:pt&&pt.withoutSetter||ct,dt=function(t){return st(ht,t)&&(lt||"string"==typeof ht[t])||(lt&&st(pt,t)?ht[t]=pt[t]:ht[t]=vt("Symbol."+t)),ht[t]},yt=x,gt=U,mt=function(t,e){var r,n;if("string"===e&&"function"==typeof(r=t.toString)&&!V(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!V(n=r.call(t)))return n;if("string"!==e&&"function"==typeof(r=t.toString)&&!V(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},bt=dt("toPrimitive"),_t=function(t,e){if(!yt(t)||gt(t))return t;var r,n=t[bt];if(void 0!==n){if(void 0===e&&(e="default"),r=n.call(t,e),!yt(r)||gt(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),mt(t,e)},wt=U,Et=function(t){var e=_t(t,"string");return wt(e)?e:String(e)},Tt=x,Ot=o.document,xt=Tt(Ot)&&Tt(Ot.createElement),kt=function(t){return xt?Ot.createElement(t):{}},At=kt,St=!s&&!u((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),jt=s,It=c,Pt=d,Dt=O,Lt=Et,Ct=rt,Mt=St,Nt=Object.getOwnPropertyDescriptor;a.f=jt?Nt:function(t,e){if(t=Dt(t),e=Lt(e),Mt)try{return Nt(t,e)}catch(t){}if(Ct(t,e))return Pt(!It.f.call(t,e),t[e])};var Rt=u,Ft=/#|\.prototype\./,zt=function(t,e){var r=Yt[qt(t)];return r==Wt||r!=Xt&&("function"==typeof e?Rt(e):!!e)},qt=zt.normalize=function(t){return String(t).replace(Ft,".").toLowerCase()},Yt=zt.data={},Xt=zt.NATIVE="N",Wt=zt.POLYFILL="P",Ut=zt,Vt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Gt=Vt,Ht=function(t,e,r){if(Gt(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}},$t={},Bt=x,Jt=function(t){if(!Bt(t))throw TypeError(String(t)+" is not an object");return t},Kt=s,Qt=St,Zt=Jt,te=Et,ee=Object.defineProperty;$t.f=Kt?ee:function(t,e,r){if(Zt(t),e=te(e),Zt(r),Qt)try{return ee(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var re=$t,ne=d,ie=s?function(t,e,r){return re.f(t,e,ne(1,r))}:function(t,e,r){return t[e]=r,t},oe=o,ae=a.f,ue=Ut,se=k,ce=Ht,le=ie,fe=rt,he=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},pe=function(t,e){var r,n,i,o,a,u,s,c,l=t.target,f=t.global,h=t.stat,p=t.proto,v=f?oe:h?oe[l]:(oe[l]||{}).prototype,d=f?se:se[l]||(se[l]={}),y=d.prototype;for(i in e)r=!ue(f?i:l+(h?".":"#")+i,t.forced)&&v&&fe(v,i),a=d[i],r&&(u=t.noTargetGet?(c=ae(v,i))&&c.value:v[i]),o=r&&u?u:e[i],r&&typeof a==typeof o||(s=t.bind&&r?ce(o,oe):t.wrap&&r?he(o):p&&"function"==typeof o?ce(Function.call,o):o,(t.sham||o&&o.sham||a&&a.sham)&&le(s,"sham",!0),d[i]=s,p&&(fe(se,n=l+"Prototype")||le(se,n,{}),se[n][i]=o,t.real&&y&&!y[i]&&le(y,i,o)))};pe({target:"Object",stat:!0,forced:!s,sham:!s},{defineProperty:$t.f});var ve=k.Object,de=n.exports=function(t,e,r){return ve.defineProperty(t,e,r)};ve.defineProperty.sham&&(de.sham=!0);var ye=n.exports,ge=ye;function me(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),ge(t,n.key,n)}}function be(t,e,r){return e&&me(t.prototype,e),r&&me(t,r),t}var _e=Vt,we=x,Ee=[].slice,Te={},Oe=function(t,e,r){if(!(e in Te)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";Te[e]=Function("C,a","return new C("+n.join(",")+")")}return Te[e](t,r)},xe=Function.bind||function(t){var e=_e(this),r=Ee.call(arguments,1),n=function(){var i=r.concat(Ee.call(arguments));return this instanceof n?Oe(e,i.length,i):e.apply(t,i)};return we(e.prototype)&&(n.prototype=e.prototype),n};pe({target:"Function",proto:!0},{bind:xe});var ke=k,Ae=function(t){return ke[t+"Prototype"]},Se=Ae("Function").bind,je=Function.prototype,Ie=function(t){var e=t.bind;return t===je||t instanceof Function&&e===je.bind?Se:e},Pe=Math.ceil,De=Math.floor,Le=function(t){return isNaN(t=+t)?0:(t>0?De:Pe)(t)},Ce=Le,Me=Math.min,Ne=function(t){return t>0?Me(Ce(t),9007199254740991):0},Re=Vt,Fe=Z,ze=_,qe=Ne,Ye=function(t){return function(e,r,n,i){Re(r);var o=Fe(e),a=ze(o),u=qe(o.length),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){i=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw TypeError("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(i=r(i,a[s],s,o));return i}},Xe={left:Ye(!1),right:Ye(!0)},We=u,Ue=function(t,e){var r=[][t];return!!r&&We((function(){r.call(null,e||function(){throw 1},1)}))},Ve="process"==g(o.process),Ge=Xe.left,He=F,$e=Ve;pe({target:"Array",proto:!0,forced:!Ue("reduce")||!$e&&He>79&&He<83},{reduce:function(t){return Ge(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Be=Ae("Array").reduce,Je=Array.prototype,Ke=function(t){var e=t.reduce;return t===Je||t instanceof Array&&e===Je.reduce?Be:e},Qe=g,Ze=Array.isArray||function(t){return"Array"==Qe(t)},tr=x,er=Ze,rr=dt("species"),nr=function(t){var e;return er(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!er(e.prototype)?tr(e)&&null===(e=e[rr])&&(e=void 0):e=void 0),void 0===e?Array:e},ir=function(t,e){return new(nr(t))(0===e?0:e)},or=Ht,ar=_,ur=Z,sr=Ne,cr=ir,lr=[].push,fr=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,o=6==t,a=7==t,u=5==t||o;return function(s,c,l,f){for(var h,p,v=ur(s),d=ar(v),y=or(c,l,3),g=sr(d.length),m=0,b=f||cr,_=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)_[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:lr.call(_,h)}else switch(t){case 4:return!1;case 7:lr.call(_,h)}return o?-1:n||i?i:_}},hr={forEach:fr(0),map:fr(1),filter:fr(2),some:fr(3),every:fr(4),find:fr(5),findIndex:fr(6),filterReject:fr(7)},pr=u,vr=F,dr=dt("species"),yr=function(t){return vr>=51||!pr((function(){var e=[];return(e.constructor={})[dr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},gr=hr.filter;pe({target:"Array",proto:!0,forced:!yr("filter")},{filter:function(t){return gr(this,t,arguments.length>1?arguments[1]:void 0)}});var mr=Ae("Array").filter,br=Array.prototype,_r=function(t){var e=t.filter;return t===br||t instanceof Array&&e===br.filter?mr:e},wr=hr.map;pe({target:"Array",proto:!0,forced:!yr("map")},{map:function(t){return wr(this,t,arguments.length>1?arguments[1]:void 0)}});var Er=Ae("Array").map,Tr=Array.prototype,Or=function(t){var e=t.map;return t===Tr||t instanceof Array&&e===Tr.map?Er:e},xr=Ze,kr=Ne,Ar=Ht,Sr=function(t,e,r,n,i,o,a,u){for(var s,c=i,l=0,f=!!a&&Ar(a,u,3);l<n;){if(l in r){if(s=f?f(r[l],l,e):r[l],o>0&&xr(s))c=Sr(t,e,s,kr(s.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=s}c++}l++}return c},jr=Sr,Ir=Z,Pr=Ne,Dr=Vt,Lr=ir;pe({target:"Array",proto:!0},{flatMap:function(t){var e,r=Ir(this),n=Pr(r.length);return Dr(t),(e=Lr(r,0)).length=jr(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var Cr=Ae("Array").flatMap,Mr=Array.prototype,Nr=function(t){var e=t.flatMap;return t===Mr||t instanceof Array&&e===Mr.flatMap?Cr:e};var Rr=function(){function t(r,n,i){var o,a,u;e(this,t),this._source=r,this._transformers=n,this._target=i,this._listeners={add:Ie(o=this._add).call(o,this),remove:Ie(a=this._remove).call(a,this),update:Ie(u=this._update).call(u,this)}}return be(t,[{key:"all",value:function(){return this._target.update(this._transformItems(this._source.get())),this}},{key:"start",value:function(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}},{key:"stop",value:function(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}},{key:"_transformItems",value:function(t){var e;return Ke(e=this._transformers).call(e,(function(t,e){return e(t)}),t)}},{key:"_add",value:function(t,e){null!=e&&this._target.add(this._transformItems(this._source.get(e.items)))}},{key:"_update",value:function(t,e){null!=e&&this._target.update(this._transformItems(this._source.get(e.items)))}},{key:"_remove",value:function(t,e){null!=e&&this._target.remove(this._transformItems(e.oldData))}}]),t}(),Fr=function(){function t(r){e(this,t),this._source=r,this._transformers=[]}return be(t,[{key:"filter",value:function(t){return this._transformers.push((function(e){return _r(e).call(e,t)})),this}},{key:"map",value:function(t){return this._transformers.push((function(e){return Or(e).call(e,t)})),this}},{key:"flatMap",value:function(t){return this._transformers.push((function(e){return Nr(e).call(e,t)})),this}},{key:"to",value:function(t){return new Rr(this._source,this._transformers,t)}}]),t}(),zr=U,qr=function(t){if(zr(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)},Yr=Le,Xr=qr,Wr=w,Ur=function(t){return function(e,r){var n,i,o=Xr(Wr(e)),a=Yr(r),u=o.length;return a<0||a>=u?t?"":void 0:(n=o.charCodeAt(a))<55296||n>56319||a+1===u||(i=o.charCodeAt(a+1))<56320||i>57343?t?o.charAt(a):n:t?o.slice(a,a+2):i-56320+(n-55296<<10)+65536}},Vr={codeAt:Ur(!1),charAt:Ur(!0)},Gr=J,Hr=Function.toString;"function"!=typeof Gr.inspectSource&&(Gr.inspectSource=function(t){return Hr.call(t)});var $r,Br,Jr,Kr=Gr.inspectSource,Qr=o.WeakMap,Zr="function"==typeof Qr&&/native code/.test(Kr(Qr)),tn=G.exports,en=ot,rn=tn("keys"),nn=function(t){return rn[t]||(rn[t]=en(t))},on={},an=Zr,un=x,sn=ie,cn=rt,ln=J,fn=nn,hn=on,pn="Object already initialized",vn=o.WeakMap;if(an||ln.state){var dn=ln.state||(ln.state=new vn),yn=dn.get,gn=dn.has,mn=dn.set;$r=function(t,e){if(gn.call(dn,t))throw new TypeError(pn);return e.facade=t,mn.call(dn,t,e),e},Br=function(t){return yn.call(dn,t)||{}},Jr=function(t){return gn.call(dn,t)}}else{var bn=fn("state");hn[bn]=!0,$r=function(t,e){if(cn(t,bn))throw new TypeError(pn);return e.facade=t,sn(t,bn,e),e},Br=function(t){return cn(t,bn)?t[bn]:{}},Jr=function(t){return cn(t,bn)}}var _n,wn,En,Tn={set:$r,get:Br,has:Jr,enforce:function(t){return Jr(t)?Br(t):$r(t,{})},getterFor:function(t){return function(e){var r;if(!un(e)||(r=Br(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},On=!u((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),xn=rt,kn=Z,An=On,Sn=nn("IE_PROTO"),jn=Object.prototype,In=An?Object.getPrototypeOf:function(t){return t=kn(t),xn(t,Sn)?t[Sn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?jn:null},Pn=u,Dn=In,Ln=ie,Cn=rt,Mn=dt("iterator"),Nn=!1;[].keys&&("next"in(En=[].keys())?(wn=Dn(Dn(En)))!==Object.prototype&&(_n=wn):Nn=!0);var Rn=null==_n||Pn((function(){var t={};return _n[Mn].call(t)!==t}));Rn&&(_n={}),Rn&&!Cn(_n,Mn)&&Ln(_n,Mn,(function(){return this}));var Fn,zn={IteratorPrototype:_n,BUGGY_SAFARI_ITERATORS:Nn},qn=Le,Yn=Math.max,Xn=Math.min,Wn=function(t,e){var r=qn(t);return r<0?Yn(r+e,0):Xn(r,e)},Un=O,Vn=Ne,Gn=Wn,Hn=function(t){return function(e,r,n){var i,o=Un(e),a=Vn(o.length),u=Gn(n,a);if(t&&r!=r){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},$n={includes:Hn(!0),indexOf:Hn(!1)},Bn=rt,Jn=O,Kn=$n.indexOf,Qn=on,Zn=function(t,e){var r,n=Jn(t),i=0,o=[];for(r in n)!Bn(Qn,r)&&Bn(n,r)&&o.push(r);for(;e.length>i;)Bn(n,r=e[i++])&&(~Kn(o,r)||o.push(r));return o},ti=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ei=Zn,ri=ti,ni=Object.keys||function(t){return ei(t,ri)},ii=$t,oi=Jt,ai=ni,ui=s?Object.defineProperties:function(t,e){oi(t);for(var r,n=ai(e),i=n.length,o=0;i>o;)ii.f(t,r=n[o++],e[r]);return t},si=I("document","documentElement"),ci=Jt,li=ui,fi=ti,hi=on,pi=si,vi=kt,di=nn("IE_PROTO"),yi=function(){},gi=function(t){return"<script>"+t+"</"+"script>"},mi=function(t){t.write(gi("")),t.close();var e=t.parentWindow.Object;return t=null,e},bi=function(){try{Fn=new ActiveXObject("htmlfile")}catch(t){}bi=document.domain&&Fn?mi(Fn):function(){var t,e=vi("iframe");if(e.style)return e.style.display="none",pi.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(gi("document.F=Object")),t.close(),t.F}()||mi(Fn);for(var t=fi.length;t--;)delete bi.prototype[fi[t]];return bi()};hi[di]=!0;var _i=Object.create||function(t,e){var r;return null!==t?(yi.prototype=ci(t),r=new yi,yi.prototype=null,r[di]=t):r=bi(),void 0===e?r:li(r,e)},wi={};wi[dt("toStringTag")]="z";var Ei="[object z]"===String(wi),Ti=Ei,Oi=g,xi=dt("toStringTag"),ki="Arguments"==Oi(function(){return arguments}()),Ai=Ti?Oi:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),xi))?r:ki?Oi(e):"Object"==(n=Oi(e))&&"function"==typeof e.callee?"Arguments":n},Si=Ai,ji=Ei?{}.toString:function(){return"[object "+Si(this)+"]"},Ii=Ei,Pi=$t.f,Di=ie,Li=rt,Ci=ji,Mi=dt("toStringTag"),Ni=function(t,e,r,n){if(t){var i=r?t:t.prototype;Li(i,Mi)||Pi(i,Mi,{configurable:!0,value:e}),n&&!Ii&&Di(i,"toString",Ci)}},Ri={},Fi=zn.IteratorPrototype,zi=_i,qi=d,Yi=Ni,Xi=Ri,Wi=function(){return this},Ui=x,Vi=Jt,Gi=function(t){if(!Ui(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Hi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Vi(r),Gi(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),$i=ie,Bi=function(t,e,r,n){n&&n.enumerable?t[e]=r:$i(t,e,r)},Ji=pe,Ki=function(t,e,r){var n=e+" Iterator";return t.prototype=zi(Fi,{next:qi(1,r)}),Yi(t,n,!1,!0),Xi[n]=Wi,t},Qi=In,Zi=Ni,to=ie,eo=Bi,ro=Ri,no=zn.IteratorPrototype,io=zn.BUGGY_SAFARI_ITERATORS,oo=dt("iterator"),ao="keys",uo="values",so="entries",co=function(){return this},lo=function(t,e,r,n,i,o,a){Ki(r,e,n);var u,s,c,l=function(t){if(t===i&&d)return d;if(!io&&t in p)return p[t];switch(t){case ao:case uo:case so:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",h=!1,p=t.prototype,v=p[oo]||p["@@iterator"]||i&&p[i],d=!io&&v||l(i),y="Array"==e&&p.entries||v;if(y&&(u=Qi(y.call(new t)),no!==Object.prototype&&u.next&&(Zi(u,f,!0,!0),ro[f]=co)),i==uo&&v&&v.name!==uo&&(h=!0,d=function(){return v.call(this)}),a&&p[oo]!==d&&to(p,oo,d),ro[e]=d,i)if(s={values:l(uo),keys:o?d:l(ao),entries:l(so)},a)for(c in s)(io||h||!(c in p))&&eo(p,c,s[c]);else Ji({target:e,proto:!0,forced:io||h},s);return s},fo=Vr.charAt,ho=qr,po=Tn,vo=lo,yo="String Iterator",go=po.set,mo=po.getterFor(yo);vo(String,"String",(function(t){go(this,{type:yo,string:ho(t),index:0})}),(function(){var t,e=mo(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=fo(r,n),e.index+=t.length,{value:t,done:!1})}));var bo=Jt,_o=function(t){var e=t.return;if(void 0!==e)return bo(e.call(t)).value},wo=Jt,Eo=_o,To=Ri,Oo=dt("iterator"),xo=Array.prototype,ko=function(t){return void 0!==t&&(To.Array===t||xo[Oo]===t)},Ao=Et,So=$t,jo=d,Io=function(t,e,r){var n=Ao(e);n in t?So.f(t,n,jo(0,r)):t[n]=r},Po=Ai,Do=Ri,Lo=dt("iterator"),Co=function(t){if(null!=t)return t[Lo]||t["@@iterator"]||Do[Po(t)]},Mo=Ht,No=Z,Ro=function(t,e,r,n){try{return n?e(wo(r)[0],r[1]):e(r)}catch(e){throw Eo(t),e}},Fo=ko,zo=Ne,qo=Io,Yo=Co,Xo=dt("iterator"),Wo=!1;try{var Uo=0,Vo={next:function(){return{done:!!Uo++}},return:function(){Wo=!0}};Vo[Xo]=function(){return this},Array.from(Vo,(function(){throw 2}))}catch(t){}var Go=function(t){var e,r,n,i,o,a,u=No(t),s="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=Yo(u),p=0;if(f&&(l=Mo(l,c>2?arguments[2]:void 0,2)),null==h||s==Array&&Fo(h))for(r=new s(e=zo(u.length));e>p;p++)a=f?l(u[p],p):u[p],qo(r,p,a);else for(o=(i=h.call(u)).next,r=new s;!(n=o.call(i)).done;p++)a=f?Ro(i,l,[n.value,p],!0):n.value,qo(r,p,a);return r.length=p,r};pe({target:"Array",stat:!0,forced:!function(t,e){if(!e&&!Wo)return!1;var r=!1;try{var n={};n[Xo]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}((function(t){Array.from(t)}))},{from:Go});var Ho=k.Array.from,$o=Ho,Bo=O,Jo=Ri,Ko=Tn,Qo=lo,Zo="Array Iterator",ta=Ko.set,ea=Ko.getterFor(Zo);Qo(Array,"Array",(function(t,e){ta(this,{type:Zo,target:Bo(t),index:0,kind:e})}),(function(){var t=ea(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),Jo.Arguments=Jo.Array;var ra=Co,na={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},ia=o,oa=Ai,aa=ie,ua=Ri,sa=dt("toStringTag");for(var ca in na){var la=ia[ca],fa=la&&la.prototype;fa&&oa(fa)!==sa&&aa(fa,sa,ca),ua[ca]=ua.Array}var ha=ra,pa={},va=Zn,da=ti.concat("length","prototype");pa.f=Object.getOwnPropertyNames||function(t){return va(t,da)};var ya={},ga=O,ma=pa.f,ba={}.toString,_a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];ya.f=function(t){return _a&&"[object Window]"==ba.call(t)?function(t){try{return ma(t)}catch(t){return _a.slice()}}(t):ma(ga(t))};var wa={};wa.f=Object.getOwnPropertySymbols;var Ea={},Ta=dt;Ea.f=Ta;var Oa=k,xa=rt,ka=Ea,Aa=$t.f,Sa=function(t){var e=Oa.Symbol||(Oa.Symbol={});xa(e,t)||Aa(e,t,{value:ka.f(t)})},ja=pe,Ia=o,Pa=I,Da=s,La=Y,Ca=u,Ma=rt,Na=Ze,Ra=x,Fa=U,za=Jt,qa=Z,Ya=O,Xa=Et,Wa=qr,Ua=d,Va=_i,Ga=ni,Ha=pa,$a=ya,Ba=wa,Ja=a,Ka=$t,Qa=c,Za=ie,tu=Bi,eu=G.exports,ru=on,nu=ot,iu=dt,ou=Ea,au=Sa,uu=Ni,su=Tn,cu=hr.forEach,lu=nn("hidden"),fu="Symbol",hu=iu("toPrimitive"),pu=su.set,vu=su.getterFor(fu),du=Object.prototype,yu=Ia.Symbol,gu=Pa("JSON","stringify"),mu=Ja.f,bu=Ka.f,_u=$a.f,wu=Qa.f,Eu=eu("symbols"),Tu=eu("op-symbols"),Ou=eu("string-to-symbol-registry"),xu=eu("symbol-to-string-registry"),ku=eu("wks"),Au=Ia.QObject,Su=!Au||!Au.prototype||!Au.prototype.findChild,ju=Da&&Ca((function(){return 7!=Va(bu({},"a",{get:function(){return bu(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=mu(du,e);n&&delete du[e],bu(t,e,r),n&&t!==du&&bu(du,e,n)}:bu,Iu=function(t,e){var r=Eu[t]=Va(yu.prototype);return pu(r,{type:fu,tag:t,description:e}),Da||(r.description=e),r},Pu=function(t,e,r){t===du&&Pu(Tu,e,r),za(t);var n=Xa(e);return za(r),Ma(Eu,n)?(r.enumerable?(Ma(t,lu)&&t[lu][n]&&(t[lu][n]=!1),r=Va(r,{enumerable:Ua(0,!1)})):(Ma(t,lu)||bu(t,lu,Ua(1,{})),t[lu][n]=!0),ju(t,n,r)):bu(t,n,r)},Du=function(t,e){za(t);var r=Ya(e),n=Ga(r).concat(Nu(r));return cu(n,(function(e){Da&&!Lu.call(r,e)||Pu(t,e,r[e])})),t},Lu=function(t){var e=Xa(t),r=wu.call(this,e);return!(this===du&&Ma(Eu,e)&&!Ma(Tu,e))&&(!(r||!Ma(this,e)||!Ma(Eu,e)||Ma(this,lu)&&this[lu][e])||r)},Cu=function(t,e){var r=Ya(t),n=Xa(e);if(r!==du||!Ma(Eu,n)||Ma(Tu,n)){var i=mu(r,n);return!i||!Ma(Eu,n)||Ma(r,lu)&&r[lu][n]||(i.enumerable=!0),i}},Mu=function(t){var e=_u(Ya(t)),r=[];return cu(e,(function(t){Ma(Eu,t)||Ma(ru,t)||r.push(t)})),r},Nu=function(t){var e=t===du,r=_u(e?Tu:Ya(t)),n=[];return cu(r,(function(t){!Ma(Eu,t)||e&&!Ma(du,t)||n.push(Eu[t])})),n};(La||(tu((yu=function(){if(this instanceof yu)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Wa(arguments[0]):void 0,e=nu(t),r=function(t){this===du&&r.call(Tu,t),Ma(this,lu)&&Ma(this[lu],e)&&(this[lu][e]=!1),ju(this,e,Ua(1,t))};return Da&&Su&&ju(du,e,{configurable:!0,set:r}),Iu(e,t)}).prototype,"toString",(function(){return vu(this).tag})),tu(yu,"withoutSetter",(function(t){return Iu(nu(t),t)})),Qa.f=Lu,Ka.f=Pu,Ja.f=Cu,Ha.f=$a.f=Mu,Ba.f=Nu,ou.f=function(t){return Iu(iu(t),t)},Da&&bu(yu.prototype,"description",{configurable:!0,get:function(){return vu(this).description}})),ja({global:!0,wrap:!0,forced:!La,sham:!La},{Symbol:yu}),cu(Ga(ku),(function(t){au(t)})),ja({target:fu,stat:!0,forced:!La},{for:function(t){var e=Wa(t);if(Ma(Ou,e))return Ou[e];var r=yu(e);return Ou[e]=r,xu[r]=e,r},keyFor:function(t){if(!Fa(t))throw TypeError(t+" is not a symbol");if(Ma(xu,t))return xu[t]},useSetter:function(){Su=!0},useSimple:function(){Su=!1}}),ja({target:"Object",stat:!0,forced:!La,sham:!Da},{create:function(t,e){return void 0===e?Va(t):Du(Va(t),e)},defineProperty:Pu,defineProperties:Du,getOwnPropertyDescriptor:Cu}),ja({target:"Object",stat:!0,forced:!La},{getOwnPropertyNames:Mu,getOwnPropertySymbols:Nu}),ja({target:"Object",stat:!0,forced:Ca((function(){Ba.f(1)}))},{getOwnPropertySymbols:function(t){return Ba.f(qa(t))}}),gu)&&ja({target:"JSON",stat:!0,forced:!La||Ca((function(){var t=yu();return"[null]"!=gu([t])||"{}"!=gu({a:t})||"{}"!=gu(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(Ra(e)||void 0!==t)&&!Fa(t))return Na(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Fa(e))return e}),i[1]=e,gu.apply(null,i)}});yu.prototype[hu]||Za(yu.prototype,hu,yu.prototype.valueOf),uu(yu,fu),ru[lu]=!0;var Ru=k.Object.getOwnPropertySymbols,Fu={exports:{}},zu=pe,qu=u,Yu=O,Xu=a.f,Wu=s,Uu=qu((function(){Xu(1)}));zu({target:"Object",stat:!0,forced:!Wu||Uu,sham:!Wu},{getOwnPropertyDescriptor:function(t,e){return Xu(Yu(t),e)}});var Vu=k.Object,Gu=Fu.exports=function(t,e){return Vu.getOwnPropertyDescriptor(t,e)};Vu.getOwnPropertyDescriptor.sham&&(Gu.sham=!0);var Hu=Fu.exports,$u=pa,Bu=wa,Ju=Jt,Ku=I("Reflect","ownKeys")||function(t){var e=$u.f(Ju(t)),r=Bu.f;return r?e.concat(r(t)):e},Qu=Ku,Zu=O,ts=a,es=Io;pe({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Zu(t),i=ts.f,o=Qu(n),a={},u=0;o.length>u;)void 0!==(r=i(n,e=o[u++]))&&es(a,e,r);return a}});var rs=k.Object.getOwnPropertyDescriptors,ns={exports:{}};pe({target:"Object",stat:!0,forced:!s,sham:!s},{defineProperties:ui});var is=k.Object,os=ns.exports=function(t,e){return is.defineProperties(t,e)};is.defineProperties.sham&&(os.sham=!0);var as=ns.exports,us=ye;function ss(t,e,r){return e in t?ge(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}pe({target:"Array",stat:!0},{isArray:Ze});var cs=k.Array.isArray,ls=cs;var fs=pe,hs=u,ps=Ze,vs=x,ds=Z,ys=Ne,gs=Io,ms=ir,bs=yr,_s=F,ws=dt("isConcatSpreadable"),Es=9007199254740991,Ts="Maximum allowed index exceeded",Os=_s>=51||!hs((function(){var t=[];return t[ws]=!1,t.concat()[0]!==t})),xs=bs("concat"),ks=function(t){if(!vs(t))return!1;var e=t[ws];return void 0!==e?!!e:ps(t)};fs({target:"Array",proto:!0,forced:!Os||!xs},{concat:function(t){var e,r,n,i,o,a=ds(this),u=ms(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ks(o=-1===e?a:arguments[e])){if(s+(i=ys(o.length))>Es)throw TypeError(Ts);for(r=0;r<i;r++,s++)r in o&&gs(u,s,o[r])}else{if(s>=Es)throw TypeError(Ts);gs(u,s++,o)}return u.length=s,u}}),Sa("asyncIterator"),Sa("hasInstance"),Sa("isConcatSpreadable"),Sa("iterator"),Sa("match"),Sa("matchAll"),Sa("replace"),Sa("search"),Sa("species"),Sa("split"),Sa("toPrimitive"),Sa("toStringTag"),Sa("unscopables"),Ni(o.JSON,"JSON",!0);var As=k.Symbol;Sa("asyncDispose"),Sa("dispose"),Sa("matcher"),Sa("metadata"),Sa("observable"),Sa("patternMatch"),Sa("replaceAll");var Ss=As;var js=pe,Is=x,Ps=Ze,Ds=Wn,Ls=Ne,Cs=O,Ms=Io,Ns=dt,Rs=yr("slice"),Fs=Ns("species"),zs=[].slice,qs=Math.max;js({target:"Array",proto:!0,forced:!Rs},{slice:function(t,e){var r,n,i,o=Cs(this),a=Ls(o.length),u=Ds(t,a),s=Ds(void 0===e?a:e,a);if(Ps(o)&&("function"!=typeof(r=o.constructor)||r!==Array&&!Ps(r.prototype)?Is(r)&&null===(r=r[Fs])&&(r=void 0):r=void 0,r===Array||void 0===r))return zs.call(o,u,s);for(n=new(void 0===r?Array:r)(qs(s-u,0)),i=0;u<s;u++,i++)u in o&&Ms(n,i,o[u]);return n.length=i,n}});var Ys=Ae("Array").slice,Xs=Array.prototype,Ws=function(t){var e=t.slice;return t===Xs||t instanceof Array&&e===Xs.slice?Ys:e},Us=Ws,Vs=Ho;function Gs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Hs(t,e){var r;if(t){if("string"==typeof t)return Gs(t,e);var n=Us(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Vs(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gs(t,e):void 0}}function $s(t,e){return function(t){if(ls(t))return t}(t)||function(t,e){var r=null==t?null:void 0!==Ss&&ha(t)||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){u=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw i}}return o}}(t,e)||Hs(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.")}()}var Bs=Ea.f("iterator"),Js=Bs;function Ks(t){return(Ks="function"==typeof Ss&&"symbol"==typeof Js?function(t){return typeof t}:function(t){return t&&"function"==typeof Ss&&t.constructor===Ss&&t!==Ss.prototype?"symbol":typeof t})(t)}function Qs(t){return function(t){if(ls(t))return Gs(t)}(t)||function(t){if(void 0!==Ss&&null!=ha(t)||null!=t["@@iterator"])return Vs(t)}(t)||Hs(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 Zs=As,tc=Ae("Array").concat,ec=Array.prototype,rc=function(t){var e=t.concat;return t===ec||t instanceof Array&&e===ec.concat?tc:e},nc=Ws;pe({target:"Reflect",stat:!0},{ownKeys:Ku});var ic=k.Reflect.ownKeys,oc=cs,ac=Z,uc=ni;pe({target:"Object",stat:!0,forced:u((function(){uc(1)}))},{keys:function(t){return uc(ac(t))}});var sc=k.Object.keys;pe({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}}),k.Date.now;var cc=hr.forEach,lc=Ue("forEach")?[].forEach:function(t){return cc(this,t,arguments.length>1?arguments[1]:void 0)};pe({target:"Array",proto:!0,forced:[].forEach!=lc},{forEach:lc});var fc=Ae("Array").forEach,hc=Ai,pc=Array.prototype,vc={DOMTokenList:!0,NodeList:!0},dc=function(t){var e=t.forEach;return t===pc||t instanceof Array&&e===pc.forEach||vc.hasOwnProperty(hc(t))?fc:e},yc=Ze,gc=[].reverse,mc=[1,2];pe({target:"Array",proto:!0,forced:String(mc)===String(mc.reverse())},{reverse:function(){return yc(this)&&(this.length=this.length),gc.call(this)}});var bc=Ae("Array").reverse,_c=Array.prototype,wc=function(t){var e=t.reverse;return t===_c||t instanceof Array&&e===_c.reverse?bc:e},Ec=pe,Tc=Wn,Oc=Le,xc=Ne,kc=Z,Ac=ir,Sc=Io,jc=yr("splice"),Ic=Math.max,Pc=Math.min,Dc=9007199254740991,Lc="Maximum allowed length exceeded";Ec({target:"Array",proto:!0,forced:!jc},{splice:function(t,e){var r,n,i,o,a,u,s=kc(this),c=xc(s.length),l=Tc(t,c),f=arguments.length;if(0===f?r=n=0:1===f?(r=0,n=c-l):(r=f-2,n=Pc(Ic(Oc(e),0),c-l)),c+r-n>Dc)throw TypeError(Lc);for(i=Ac(s,n),o=0;o<n;o++)(a=l+o)in s&&Sc(i,o,s[a]);if(i.length=n,r<n){for(o=l;o<c-n;o++)u=o+r,(a=o+n)in s?s[u]=s[a]:delete s[u];for(o=c;o>c-n+r;o--)delete s[o-1]}else if(r>n)for(o=c-n;o>l;o--)u=o+r-1,(a=o+n-1)in s?s[u]=s[a]:delete s[u];for(o=0;o<r;o++)s[o+l]=arguments[o+2];return s.length=c-n+r,i}});var Cc=Ae("Array").splice,Mc=Array.prototype,Nc=function(t){var e=t.splice;return t===Mc||t instanceof Array&&e===Mc.splice?Cc:e},Rc=s,Fc=u,zc=ni,qc=wa,Yc=c,Xc=Z,Wc=_,Uc=Object.assign,Vc=Object.defineProperty,Gc=!Uc||Fc((function(){if(Rc&&1!==Uc({b:1},Uc(Vc({},"a",{enumerable:!0,get:function(){Vc(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Uc({},t)[r]||zc(Uc({},e)).join("")!=n}))?function(t,e){for(var r=Xc(t),n=arguments.length,i=1,o=qc.f,a=Yc.f;n>i;)for(var u,s=Wc(arguments[i++]),c=o?zc(s).concat(o(s)):zc(s),l=c.length,f=0;l>f;)u=c[f++],Rc&&!a.call(s,u)||(r[u]=s[u]);return r}:Uc;pe({target:"Object",stat:!0,forced:Object.assign!==Gc},{assign:Gc});var Hc=k.Object.assign,$c=$n.includes;pe({target:"Array",proto:!0},{includes:function(t){return $c(this,t,arguments.length>1?arguments[1]:void 0)}}),Ae("Array").includes;var Bc=x,Jc=g,Kc=dt("match"),Qc=function(t){var e;return Bc(t)&&(void 0!==(e=t[Kc])?!!e:"RegExp"==Jc(t))},Zc=dt("match"),tl=function(t){if(Qc(t))throw TypeError("The method doesn't accept regular expressions");return t},el=w,rl=qr;pe({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Zc]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~rl(el(this)).indexOf(rl(tl(t)),arguments.length>1?arguments[1]:void 0)}}),Ae("String").includes;var nl=Z,il=In,ol=On;pe({target:"Object",stat:!0,forced:u((function(){il(1)})),sham:!ol},{getPrototypeOf:function(t){return il(nl(t))}});var al=k.Object.getPrototypeOf,ul=s,sl=ni,cl=O,ll=c.f,fl=function(t){return function(e){for(var r,n=cl(e),i=sl(n),o=i.length,a=0,u=[];o>a;)r=i[a++],ul&&!ll.call(n,r)||u.push(t?[r,n[r]]:n[r]);return u}},hl={entries:fl(!0),values:fl(!1)}.values;pe({target:"Object",stat:!0},{values:function(t){return hl(t)}}),k.Object.values;var pl="\t\n\v\f\r \u2028\u2029\ufeff",vl=w,dl=qr,yl="[\t\n\v\f\r \u2028\u2029\ufeff]",gl=RegExp("^"+yl+yl+"*"),ml=RegExp(yl+yl+"*$"),bl=function(t){return function(e){var r=dl(vl(e));return 1&t&&(r=r.replace(gl,"")),2&t&&(r=r.replace(ml,"")),r}},_l={start:bl(1),end:bl(2),trim:bl(3)},wl=qr,El=_l.trim,Tl=pl,Ol=o.parseInt,xl=/^[+-]?0[Xx]/,kl=8!==Ol(Tl+"08")||22!==Ol(Tl+"0x16")?function(t,e){var r=El(wl(t));return Ol(r,e>>>0||(xl.test(r)?16:10))}:Ol;pe({global:!0,forced:parseInt!=kl},{parseInt:kl});var Al=pe,Sl=$n.indexOf,jl=Ue,Il=[].indexOf,Pl=!!Il&&1/[1].indexOf(1,-0)<0,Dl=jl("indexOf");Al({target:"Array",proto:!0,forced:Pl||!Dl},{indexOf:function(t){return Pl?Il.apply(this,arguments)||0:Sl(this,t,arguments.length>1?arguments[1]:void 0)}}),Ae("Array").indexOf;var Ll=u,Cl=pl,Ml=_l.trim;pe({target:"String",proto:!0,forced:function(t){return Ll((function(){return!!Cl[t]()||"
"!="
"[t]()||Cl[t].name!==t}))}("trim")},{trim:function(){return Ml(this)}}),Ae("String").trim,pe({target:"Object",stat:!0,sham:!s},{create:_i});var Nl=k.Object,Rl=function(t,e){return Nl.create(t,e)},Fl=Rl,zl=pe,ql=u,Yl=I("JSON","stringify"),Xl=/[\uD800-\uDFFF]/g,Wl=/^[\uD800-\uDBFF]$/,Ul=/^[\uDC00-\uDFFF]$/,Vl=function(t,e,r){var n=r.charAt(e-1),i=r.charAt(e+1);return Wl.test(t)&&!Ul.test(i)||Ul.test(t)&&!Wl.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},Gl=ql((function(){return'"\\udf06\\ud834"'!==Yl("\udf06\ud834")||'"\\udead"'!==Yl("\udead")}));Yl&&zl({target:"JSON",stat:!0,forced:Gl},{stringify:function(t,e,r){var n=Yl.apply(null,arguments);return"string"==typeof n?n.replace(Xl,Vl):n}});var Hl=k;Hl.JSON||(Hl.JSON={stringify:JSON.stringify});var $l=function(t,e,r){return Hl.JSON.stringify.apply(null,arguments)},Bl=o,Jl=[].slice,Kl=function(t){return function(e,r){var n=arguments.length>2,i=n?Jl.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,r)}};pe({global:!0,bind:!0,forced:/MSIE .\./.test(P)},{setTimeout:Kl(Bl.setTimeout),setInterval:Kl(Bl.setInterval)});var Ql=k.setTimeout,Zl=Z,tf=Wn,ef=Ne;pe({target:"Array",proto:!0},{fill:function(t){for(var e=Zl(this),r=ef(e.length),n=arguments.length,i=tf(n>1?arguments[1]:void 0,r),o=n>2?arguments[2]:void 0,a=void 0===o?r:tf(o,r);a>i;)e[i++]=t;return e}}),Ae("Array").fill;var rf={exports:{}};!function(t){function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<n.length;i++)if((r=n[i])===e||r.fn===e){n.splice(i,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(r){n=0;for(var i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}(rf);var nf=rf.exports;
|
|
26
|
+
!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){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 o={},i={get exports(){return o},set exports(t){o=t}},a={},u={get exports(){return a},set exports(t){a=t}},s={},c={get exports(){return s},set exports(t){s=t}},f=function(t){return t&&t.Math==Math&&t},l=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof r&&r)||function(){return this}()||Function("return this")(),p=function(t){try{return!!t()}catch(t){return!0}},h=!p((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=h,d=Function.prototype,y=d.apply,g=d.call,m="object"==typeof Reflect&&Reflect.apply||(v?g.bind(y):function(){return g.apply(y,arguments)}),b=h,x=Function.prototype,_=x.call,w=b&&x.bind.bind(_,_),E=b?w:function(t){return function(){return _.apply(t,arguments)}},T=E,O=T({}.toString),S=T("".slice),k=function(t){return S(O(t),8,-1)},j=k,A=E,P=function(t){if("Function"===j(t))return A(t)},I="object"==typeof document&&document.all,D={all:I,IS_HTMLDDA:void 0===I&&void 0!==I},C=D.all,L=D.IS_HTMLDDA?function(t){return"function"==typeof t||t===C}:function(t){return"function"==typeof t},R={},M=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=h,F=Function.prototype.call,z=N?F.bind(F):function(){return F.apply(F,arguments)},q={},U={}.propertyIsEnumerable,Y=Object.getOwnPropertyDescriptor,W=Y&&!U.call({1:2},1);q.f=W?function(t){var e=Y(this,t);return!!e&&e.enumerable}:U;var G,V,X=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B=p,H=k,$=Object,J=E("".split),K=B((function(){return!$("z").propertyIsEnumerable(0)}))?function(t){return"String"==H(t)?J(t,""):$(t)}:$,Q=function(t){return null==t},Z=Q,tt=TypeError,et=function(t){if(Z(t))throw tt("Can't call method on "+t);return t},rt=K,nt=et,ot=function(t){return rt(nt(t))},it=L,at=D.all,ut=D.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:it(t)||t===at}:function(t){return"object"==typeof t?null!==t:it(t)},st={},ct=st,ft=l,lt=L,pt=function(t){return lt(t)?t:void 0},ht=function(t,e){return arguments.length<2?pt(ct[t])||pt(ft[t]):ct[t]&&ct[t][e]||ft[t]&&ft[t][e]},vt=E({}.isPrototypeOf),dt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",yt=l,gt=dt,mt=yt.process,bt=yt.Deno,xt=mt&&mt.versions||bt&&bt.version,_t=xt&&xt.v8;_t&&(V=(G=_t.split("."))[0]>0&&G[0]<4?1:+(G[0]+G[1])),!V&>&&(!(G=gt.match(/Edge\/(\d+)/))||G[1]>=74)&&(G=gt.match(/Chrome\/(\d+)/))&&(V=+G[1]);var wt=V,Et=wt,Tt=p,Ot=!!Object.getOwnPropertySymbols&&!Tt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Et&&Et<41})),St=Ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,kt=ht,jt=L,At=vt,Pt=Object,It=St?function(t){return"symbol"==typeof t}:function(t){var e=kt("Symbol");return jt(e)&&At(e.prototype,Pt(t))},Dt=String,Ct=function(t){try{return Dt(t)}catch(t){return"Object"}},Lt=L,Rt=Ct,Mt=TypeError,Nt=function(t){if(Lt(t))return t;throw Mt(Rt(t)+" is not a function")},Ft=Nt,zt=Q,qt=function(t,e){var r=t[e];return zt(r)?void 0:Ft(r)},Ut=z,Yt=L,Wt=ut,Gt=TypeError,Vt={},Xt={get exports(){return Vt},set exports(t){Vt=t}},Bt=l,Ht=Object.defineProperty,$t=function(t,e){try{Ht(Bt,t,{value:e,configurable:!0,writable:!0})}catch(r){Bt[t]=e}return e},Jt="__core-js_shared__",Kt=l[Jt]||$t(Jt,{}),Qt=Kt;(Xt.exports=function(t,e){return Qt[t]||(Qt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Zt=et,te=Object,ee=function(t){return te(Zt(t))},re=ee,ne=E({}.hasOwnProperty),oe=Object.hasOwn||function(t,e){return ne(re(t),e)},ie=E,ae=0,ue=Math.random(),se=ie(1..toString),ce=function(t){return"Symbol("+(void 0===t?"":t)+")_"+se(++ae+ue,36)},fe=Vt,le=oe,pe=ce,he=Ot,ve=St,de=l.Symbol,ye=fe("wks"),ge=ve?de.for||de:de&&de.withoutSetter||pe,me=function(t){return le(ye,t)||(ye[t]=he&&le(de,t)?de[t]:ge("Symbol."+t)),ye[t]},be=z,xe=ut,_e=It,we=qt,Ee=function(t,e){var r,n;if("string"===e&&Yt(r=t.toString)&&!Wt(n=Ut(r,t)))return n;if(Yt(r=t.valueOf)&&!Wt(n=Ut(r,t)))return n;if("string"!==e&&Yt(r=t.toString)&&!Wt(n=Ut(r,t)))return n;throw Gt("Can't convert object to primitive value")},Te=TypeError,Oe=me("toPrimitive"),Se=function(t,e){if(!xe(t)||_e(t))return t;var r,n=we(t,Oe);if(n){if(void 0===e&&(e="default"),r=be(n,t,e),!xe(r)||_e(r))return r;throw Te("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ee(t,e)},ke=It,je=function(t){var e=Se(t,"string");return ke(e)?e:e+""},Ae=ut,Pe=l.document,Ie=Ae(Pe)&&Ae(Pe.createElement),De=function(t){return Ie?Pe.createElement(t):{}},Ce=De,Le=!M&&!p((function(){return 7!=Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a})),Re=M,Me=z,Ne=q,Fe=X,ze=ot,qe=je,Ue=oe,Ye=Le,We=Object.getOwnPropertyDescriptor;R.f=Re?We:function(t,e){if(t=ze(t),e=qe(e),Ye)try{return We(t,e)}catch(t){}if(Ue(t,e))return Fe(!Me(Ne.f,t,e),t[e])};var Ge=p,Ve=L,Xe=/#|\.prototype\./,Be=function(t,e){var r=$e[He(t)];return r==Ke||r!=Je&&(Ve(e)?Ge(e):!!e)},He=Be.normalize=function(t){return String(t).replace(Xe,".").toLowerCase()},$e=Be.data={},Je=Be.NATIVE="N",Ke=Be.POLYFILL="P",Qe=Be,Ze=Nt,tr=h,er=P(P.bind),rr=function(t,e){return Ze(t),void 0===e?t:tr?er(t,e):function(){return t.apply(e,arguments)}},nr={},or=M&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ir=ut,ar=String,ur=TypeError,sr=function(t){if(ir(t))return t;throw ur(ar(t)+" is not an object")},cr=M,fr=Le,lr=or,pr=sr,hr=je,vr=TypeError,dr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,gr="enumerable",mr="configurable",br="writable";nr.f=cr?lr?function(t,e,r){if(pr(t),e=hr(e),pr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&br in r&&!r[br]){var n=yr(t,e);n&&n[br]&&(t[e]=r.value,r={configurable:mr in r?r[mr]:n[mr],enumerable:gr in r?r[gr]:n[gr],writable:!1})}return dr(t,e,r)}:dr:function(t,e,r){if(pr(t),e=hr(e),pr(r),fr)try{return dr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw vr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var xr=nr,_r=X,wr=M?function(t,e,r){return xr.f(t,e,_r(1,r))}:function(t,e,r){return t[e]=r,t},Er=l,Tr=m,Or=P,Sr=L,kr=R.f,jr=Qe,Ar=st,Pr=rr,Ir=wr,Dr=oe,Cr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return Tr(t,this,arguments)};return e.prototype=t.prototype,e},Lr=function(t,e){var r,n,o,i,a,u,s,c,f,l=t.target,p=t.global,h=t.stat,v=t.proto,d=p?Er:h?Er[l]:(Er[l]||{}).prototype,y=p?Ar:Ar[l]||Ir(Ar,l,{})[l],g=y.prototype;for(i in e)n=!(r=jr(p?i:l+(h?".":"#")+i,t.forced))&&d&&Dr(d,i),u=y[i],n&&(s=t.dontCallGetSet?(f=kr(d,i))&&f.value:d[i]),a=n&&s?s:e[i],n&&typeof u==typeof a||(c=t.bind&&n?Pr(a,Er):t.wrap&&n?Cr(a):v&&Sr(a)?Or(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Ir(c,"sham",!0),Ir(y,i,c),v&&(Dr(Ar,o=l+"Prototype")||Ir(Ar,o,{}),Ir(Ar[o],i,a),t.real&&g&&(r||!g[i])&&Ir(g,i,a)))},Rr=Lr,Mr=M,Nr=nr.f;Rr({target:"Object",stat:!0,forced:Object.defineProperty!==Nr,sham:!Mr},{defineProperty:Nr});var Fr=st.Object,zr=c.exports=function(t,e,r){return Fr.defineProperty(t,e,r)};Fr.defineProperty.sham&&(zr.sham=!0);var qr=s,Ur=qr;!function(t){t.exports=Ur}(u),function(t){t.exports=a}(i);var Yr=n(o),Wr={},Gr={get exports(){return Wr},set exports(t){Wr=t}},Vr={},Xr={get exports(){return Vr},set exports(t){Vr=t}},Br=k,Hr=Array.isArray||function(t){return"Array"==Br(t)},$r=Math.ceil,Jr=Math.floor,Kr=Math.trunc||function(t){var e=+t;return(e>0?Jr:$r)(e)},Qr=function(t){var e=+t;return e!=e||0===e?0:Kr(e)},Zr=Qr,tn=Math.min,en=function(t){return t>0?tn(Zr(t),9007199254740991):0},rn=function(t){return en(t.length)},nn=TypeError,on=function(t){if(t>9007199254740991)throw nn("Maximum allowed index exceeded");return t},an=je,un=nr,sn=X,cn=function(t,e,r){var n=an(e);n in t?un.f(t,n,sn(0,r)):t[n]=r},fn={};fn[me("toStringTag")]="z";var ln="[object z]"===String(fn),pn=ln,hn=L,vn=k,dn=me("toStringTag"),yn=Object,gn="Arguments"==vn(function(){return arguments}()),mn=pn?vn:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=yn(t),dn))?r:gn?vn(e):"Object"==(n=vn(e))&&hn(e.callee)?"Arguments":n},bn=L,xn=Kt,_n=E(Function.toString);bn(xn.inspectSource)||(xn.inspectSource=function(t){return _n(t)});var wn=xn.inspectSource,En=E,Tn=p,On=L,Sn=mn,kn=wn,jn=function(){},An=[],Pn=ht("Reflect","construct"),In=/^\s*(?:class|function)\b/,Dn=En(In.exec),Cn=!In.exec(jn),Ln=function(t){if(!On(t))return!1;try{return Pn(jn,An,t),!0}catch(t){return!1}},Rn=function(t){if(!On(t))return!1;switch(Sn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cn||!!Dn(In,kn(t))}catch(t){return!0}};Rn.sham=!0;var Mn=!Pn||Tn((function(){var t;return Ln(Ln.call)||!Ln(Object)||!Ln((function(){t=!0}))||t}))?Rn:Ln,Nn=Hr,Fn=Mn,zn=ut,qn=me("species"),Un=Array,Yn=function(t){var e;return Nn(t)&&(e=t.constructor,(Fn(e)&&(e===Un||Nn(e.prototype))||zn(e)&&null===(e=e[qn]))&&(e=void 0)),void 0===e?Un:e},Wn=function(t,e){return new(Yn(t))(0===e?0:e)},Gn=p,Vn=wt,Xn=me("species"),Bn=function(t){return Vn>=51||!Gn((function(){var e=[];return(e.constructor={})[Xn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Hn=Lr,$n=p,Jn=Hr,Kn=ut,Qn=ee,Zn=rn,to=on,eo=cn,ro=Wn,no=Bn,oo=wt,io=me("isConcatSpreadable"),ao=oo>=51||!$n((function(){var t=[];return t[io]=!1,t.concat()[0]!==t})),uo=function(t){if(!Kn(t))return!1;var e=t[io];return void 0!==e?!!e:Jn(t)};Hn({target:"Array",proto:!0,arity:1,forced:!ao||!no("concat")},{concat:function(t){var e,r,n,o,i,a=Qn(this),u=ro(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(uo(i=-1===e?a:arguments[e]))for(o=Zn(i),to(s+o),r=0;r<o;r++,s++)r in i&&eo(u,s,i[r]);else to(s+1),eo(u,s++,i);return u.length=s,u}});var so=mn,co=String,fo=function(t){if("Symbol"===so(t))throw TypeError("Cannot convert a Symbol value to a string");return co(t)},lo={},po=Qr,ho=Math.max,vo=Math.min,yo=function(t,e){var r=po(t);return r<0?ho(r+e,0):vo(r,e)},go=ot,mo=yo,bo=rn,xo=function(t){return function(e,r,n){var o,i=go(e),a=bo(i),u=mo(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},_o={includes:xo(!0),indexOf:xo(!1)},wo={},Eo=oe,To=ot,Oo=_o.indexOf,So=wo,ko=E([].push),jo=function(t,e){var r,n=To(t),o=0,i=[];for(r in n)!Eo(So,r)&&Eo(n,r)&&ko(i,r);for(;e.length>o;)Eo(n,r=e[o++])&&(~Oo(i,r)||ko(i,r));return i},Ao=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Po=jo,Io=Ao,Do=Object.keys||function(t){return Po(t,Io)},Co=M,Lo=or,Ro=nr,Mo=sr,No=ot,Fo=Do;lo.f=Co&&!Lo?Object.defineProperties:function(t,e){Mo(t);for(var r,n=No(e),o=Fo(e),i=o.length,a=0;i>a;)Ro.f(t,r=o[a++],n[r]);return t};var zo,qo=ht("document","documentElement"),Uo=ce,Yo=Vt("keys"),Wo=function(t){return Yo[t]||(Yo[t]=Uo(t))},Go=sr,Vo=lo,Xo=Ao,Bo=wo,Ho=qo,$o=De,Jo="prototype",Ko="script",Qo=Wo("IE_PROTO"),Zo=function(){},ti=function(t){return"<"+Ko+">"+t+"</"+Ko+">"},ei=function(t){t.write(ti("")),t.close();var e=t.parentWindow.Object;return t=null,e},ri=function(){try{zo=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;ri="undefined"!=typeof document?document.domain&&zo?ei(zo):(e=$o("iframe"),r="java"+Ko+":",e.style.display="none",Ho.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(ti("document.F=Object")),t.close(),t.F):ei(zo);for(var n=Xo.length;n--;)delete ri[Jo][Xo[n]];return ri()};Bo[Qo]=!0;var ni=Object.create||function(t,e){var r;return null!==t?(Zo[Jo]=Go(t),r=new Zo,Zo[Jo]=null,r[Qo]=t):r=ri(),void 0===e?r:Vo.f(r,e)},oi={},ii=jo,ai=Ao.concat("length","prototype");oi.f=Object.getOwnPropertyNames||function(t){return ii(t,ai)};var ui={},si=yo,ci=rn,fi=cn,li=Array,pi=Math.max,hi=function(t,e,r){for(var n=ci(t),o=si(e,n),i=si(void 0===r?n:r,n),a=li(pi(i-o,0)),u=0;o<i;o++,u++)fi(a,u,t[o]);return a.length=u,a},vi=k,di=ot,yi=oi.f,gi=hi,mi="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];ui.f=function(t){return mi&&"Window"==vi(t)?function(t){try{return yi(t)}catch(t){return gi(mi)}}(t):yi(di(t))};var bi={};bi.f=Object.getOwnPropertySymbols;var xi=wr,_i=function(t,e,r,n){return n&&n.enumerable?t[e]=r:xi(t,e,r),t},wi=nr,Ei=function(t,e,r){return wi.f(t,e,r)},Ti={},Oi=me;Ti.f=Oi;var Si,ki,ji,Ai=st,Pi=oe,Ii=Ti,Di=nr.f,Ci=function(t){var e=Ai.Symbol||(Ai.Symbol={});Pi(e,t)||Di(e,t,{value:Ii.f(t)})},Li=z,Ri=ht,Mi=me,Ni=_i,Fi=function(){var t=Ri("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Mi("toPrimitive");e&&!e[n]&&Ni(e,n,(function(t){return Li(r,this)}),{arity:1})},zi=mn,qi=ln?{}.toString:function(){return"[object "+zi(this)+"]"},Ui=ln,Yi=nr.f,Wi=wr,Gi=oe,Vi=qi,Xi=me("toStringTag"),Bi=function(t,e,r,n){if(t){var o=r?t:t.prototype;Gi(o,Xi)||Yi(o,Xi,{configurable:!0,value:e}),n&&!Ui&&Wi(o,"toString",Vi)}},Hi=L,$i=l.WeakMap,Ji=Hi($i)&&/native code/.test(String($i)),Ki=l,Qi=ut,Zi=wr,ta=oe,ea=Kt,ra=Wo,na=wo,oa="Object already initialized",ia=Ki.TypeError,aa=Ki.WeakMap;if(Ji||ea.state){var ua=ea.state||(ea.state=new aa);ua.get=ua.get,ua.has=ua.has,ua.set=ua.set,Si=function(t,e){if(ua.has(t))throw ia(oa);return e.facade=t,ua.set(t,e),e},ki=function(t){return ua.get(t)||{}},ji=function(t){return ua.has(t)}}else{var sa=ra("state");na[sa]=!0,Si=function(t,e){if(ta(t,sa))throw ia(oa);return e.facade=t,Zi(t,sa,e),e},ki=function(t){return ta(t,sa)?t[sa]:{}},ji=function(t){return ta(t,sa)}}var ca={set:Si,get:ki,has:ji,enforce:function(t){return ji(t)?ki(t):Si(t,{})},getterFor:function(t){return function(e){var r;if(!Qi(e)||(r=ki(e)).type!==t)throw ia("Incompatible receiver, "+t+" required");return r}}},fa=rr,la=K,pa=ee,ha=rn,va=Wn,da=E([].push),ya=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(s,c,f,l){for(var p,h,v=pa(s),d=la(v),y=fa(c,f),g=ha(d),m=0,b=l||va,x=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(h=y(p=d[m],m,v),t))if(e)x[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:da(x,p)}else switch(t){case 4:return!1;case 7:da(x,p)}return i?-1:n||o?o:x}},ga={forEach:ya(0),map:ya(1),filter:ya(2),some:ya(3),every:ya(4),find:ya(5),findIndex:ya(6),filterReject:ya(7)},ma=Lr,ba=l,xa=z,_a=E,wa=M,Ea=Ot,Ta=p,Oa=oe,Sa=vt,ka=sr,ja=ot,Aa=je,Pa=fo,Ia=X,Da=ni,Ca=Do,La=oi,Ra=ui,Ma=bi,Na=R,Fa=nr,za=lo,qa=q,Ua=_i,Ya=Ei,Wa=Vt,Ga=wo,Va=ce,Xa=me,Ba=Ti,Ha=Ci,$a=Fi,Ja=Bi,Ka=ca,Qa=ga.forEach,Za=Wo("hidden"),tu="Symbol",eu="prototype",ru=Ka.set,nu=Ka.getterFor(tu),ou=Object[eu],iu=ba.Symbol,au=iu&&iu[eu],uu=ba.TypeError,su=ba.QObject,cu=Na.f,fu=Fa.f,lu=Ra.f,pu=qa.f,hu=_a([].push),vu=Wa("symbols"),du=Wa("op-symbols"),yu=Wa("wks"),gu=!su||!su[eu]||!su[eu].findChild,mu=wa&&Ta((function(){return 7!=Da(fu({},"a",{get:function(){return fu(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=cu(ou,e);n&&delete ou[e],fu(t,e,r),n&&t!==ou&&fu(ou,e,n)}:fu,bu=function(t,e){var r=vu[t]=Da(au);return ru(r,{type:tu,tag:t,description:e}),wa||(r.description=e),r},xu=function(t,e,r){t===ou&&xu(du,e,r),ka(t);var n=Aa(e);return ka(r),Oa(vu,n)?(r.enumerable?(Oa(t,Za)&&t[Za][n]&&(t[Za][n]=!1),r=Da(r,{enumerable:Ia(0,!1)})):(Oa(t,Za)||fu(t,Za,Ia(1,{})),t[Za][n]=!0),mu(t,n,r)):fu(t,n,r)},_u=function(t,e){ka(t);var r=ja(e),n=Ca(r).concat(Ou(r));return Qa(n,(function(e){wa&&!xa(wu,r,e)||xu(t,e,r[e])})),t},wu=function(t){var e=Aa(t),r=xa(pu,this,e);return!(this===ou&&Oa(vu,e)&&!Oa(du,e))&&(!(r||!Oa(this,e)||!Oa(vu,e)||Oa(this,Za)&&this[Za][e])||r)},Eu=function(t,e){var r=ja(t),n=Aa(e);if(r!==ou||!Oa(vu,n)||Oa(du,n)){var o=cu(r,n);return!o||!Oa(vu,n)||Oa(r,Za)&&r[Za][n]||(o.enumerable=!0),o}},Tu=function(t){var e=lu(ja(t)),r=[];return Qa(e,(function(t){Oa(vu,t)||Oa(Ga,t)||hu(r,t)})),r},Ou=function(t){var e=t===ou,r=lu(e?du:ja(t)),n=[];return Qa(r,(function(t){!Oa(vu,t)||e&&!Oa(ou,t)||hu(n,vu[t])})),n};Ea||(iu=function(){if(Sa(au,this))throw uu("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Pa(arguments[0]):void 0,e=Va(t),r=function(t){this===ou&&xa(r,du,t),Oa(this,Za)&&Oa(this[Za],e)&&(this[Za][e]=!1),mu(this,e,Ia(1,t))};return wa&&gu&&mu(ou,e,{configurable:!0,set:r}),bu(e,t)},Ua(au=iu[eu],"toString",(function(){return nu(this).tag})),Ua(iu,"withoutSetter",(function(t){return bu(Va(t),t)})),qa.f=wu,Fa.f=xu,za.f=_u,Na.f=Eu,La.f=Ra.f=Tu,Ma.f=Ou,Ba.f=function(t){return bu(Xa(t),t)},wa&&Ya(au,"description",{configurable:!0,get:function(){return nu(this).description}})),ma({global:!0,constructor:!0,wrap:!0,forced:!Ea,sham:!Ea},{Symbol:iu}),Qa(Ca(yu),(function(t){Ha(t)})),ma({target:tu,stat:!0,forced:!Ea},{useSetter:function(){gu=!0},useSimple:function(){gu=!1}}),ma({target:"Object",stat:!0,forced:!Ea,sham:!wa},{create:function(t,e){return void 0===e?Da(t):_u(Da(t),e)},defineProperty:xu,defineProperties:_u,getOwnPropertyDescriptor:Eu}),ma({target:"Object",stat:!0,forced:!Ea},{getOwnPropertyNames:Tu}),$a(),Ja(iu,tu),Ga[Za]=!0;var Su=Ot&&!!Symbol.for&&!!Symbol.keyFor,ku=Lr,ju=ht,Au=oe,Pu=fo,Iu=Vt,Du=Su,Cu=Iu("string-to-symbol-registry"),Lu=Iu("symbol-to-string-registry");ku({target:"Symbol",stat:!0,forced:!Du},{for:function(t){var e=Pu(t);if(Au(Cu,e))return Cu[e];var r=ju("Symbol")(e);return Cu[e]=r,Lu[r]=e,r}});var Ru=Lr,Mu=oe,Nu=It,Fu=Ct,zu=Su,qu=Vt("symbol-to-string-registry");Ru({target:"Symbol",stat:!0,forced:!zu},{keyFor:function(t){if(!Nu(t))throw TypeError(Fu(t)+" is not a symbol");if(Mu(qu,t))return qu[t]}});var Uu=E([].slice),Yu=Hr,Wu=L,Gu=k,Vu=fo,Xu=E([].push),Bu=Lr,Hu=ht,$u=m,Ju=z,Ku=E,Qu=p,Zu=L,ts=It,es=Uu,rs=function(t){if(Wu(t))return t;if(Yu(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?Xu(r,o):"number"!=typeof o&&"Number"!=Gu(o)&&"String"!=Gu(o)||Xu(r,Vu(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Yu(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},ns=Ot,os=String,is=Hu("JSON","stringify"),as=Ku(/./.exec),us=Ku("".charAt),ss=Ku("".charCodeAt),cs=Ku("".replace),fs=Ku(1..toString),ls=/[\uD800-\uDFFF]/g,ps=/^[\uD800-\uDBFF]$/,hs=/^[\uDC00-\uDFFF]$/,vs=!ns||Qu((function(){var t=Hu("Symbol")();return"[null]"!=is([t])||"{}"!=is({a:t})||"{}"!=is(Object(t))})),ds=Qu((function(){return'"\\udf06\\ud834"'!==is("\udf06\ud834")||'"\\udead"'!==is("\udead")})),ys=function(t,e){var r=es(arguments),n=rs(e);if(Zu(n)||void 0!==t&&!ts(t))return r[1]=function(t,e){if(Zu(n)&&(e=Ju(n,this,os(t),e)),!ts(e))return e},$u(is,null,r)},gs=function(t,e,r){var n=us(r,e-1),o=us(r,e+1);return as(ps,t)&&!as(hs,o)||as(hs,t)&&!as(ps,n)?"\\u"+fs(ss(t,0),16):t};is&&Bu({target:"JSON",stat:!0,arity:3,forced:vs||ds},{stringify:function(t,e,r){var n=es(arguments),o=$u(vs?ys:is,null,n);return ds&&"string"==typeof o?cs(o,ls,gs):o}});var ms=bi,bs=ee;Lr({target:"Object",stat:!0,forced:!Ot||p((function(){ms.f(1)}))},{getOwnPropertySymbols:function(t){var e=ms.f;return e?e(bs(t)):[]}}),Ci("asyncIterator"),Ci("hasInstance"),Ci("isConcatSpreadable"),Ci("iterator"),Ci("match"),Ci("matchAll"),Ci("replace"),Ci("search"),Ci("species"),Ci("split");var xs=Fi;Ci("toPrimitive"),xs();var _s=ht,ws=Bi;Ci("toStringTag"),ws(_s("Symbol"),"Symbol"),Ci("unscopables"),Bi(l.JSON,"JSON",!0);var Es,Ts,Os,Ss=st.Symbol,ks={},js=M,As=oe,Ps=Function.prototype,Is=js&&Object.getOwnPropertyDescriptor,Ds=As(Ps,"name"),Cs={EXISTS:Ds,PROPER:Ds&&"something"===function(){}.name,CONFIGURABLE:Ds&&(!js||js&&Is(Ps,"name").configurable)},Ls=!p((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Rs=oe,Ms=L,Ns=ee,Fs=Ls,zs=Wo("IE_PROTO"),qs=Object,Us=qs.prototype,Ys=Fs?qs.getPrototypeOf:function(t){var e=Ns(t);if(Rs(e,zs))return e[zs];var r=e.constructor;return Ms(r)&&e instanceof r?r.prototype:e instanceof qs?Us:null},Ws=p,Gs=L,Vs=ut,Xs=ni,Bs=Ys,Hs=_i,$s=me("iterator"),Js=!1;[].keys&&("next"in(Os=[].keys())?(Ts=Bs(Bs(Os)))!==Object.prototype&&(Es=Ts):Js=!0);var Ks=!Vs(Es)||Ws((function(){var t={};return Es[$s].call(t)!==t}));Gs((Es=Ks?{}:Xs(Es))[$s])||Hs(Es,$s,(function(){return this}));var Qs={IteratorPrototype:Es,BUGGY_SAFARI_ITERATORS:Js},Zs=Qs.IteratorPrototype,tc=ni,ec=X,rc=Bi,nc=ks,oc=function(){return this},ic=E,ac=Nt,uc=L,sc=String,cc=TypeError,fc=function(t,e,r){try{return ic(ac(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},lc=sr,pc=function(t){if("object"==typeof t||uc(t))return t;throw cc("Can't set "+sc(t)+" as a prototype")},hc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=fc(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return lc(r),pc(n),e?t(r,n):r.__proto__=n,r}}():void 0),vc=Lr,dc=z,yc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=tc(Zs,{next:ec(+!n,r)}),rc(t,o,!1,!0),nc[o]=oc,t},gc=Ys,mc=Bi,bc=_i,xc=ks,_c=Cs.PROPER,wc=Qs.BUGGY_SAFARI_ITERATORS,Ec=me("iterator"),Tc="keys",Oc="values",Sc="entries",kc=function(){return this},jc=function(t,e,r,n,o,i,a){yc(r,e,n);var u,s,c,f=function(t){if(t===o&&d)return d;if(!wc&&t in h)return h[t];switch(t){case Tc:case Oc:case Sc:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,h=t.prototype,v=h[Ec]||h["@@iterator"]||o&&h[o],d=!wc&&v||f(o),y="Array"==e&&h.entries||v;if(y&&(u=gc(y.call(new t)))!==Object.prototype&&u.next&&(mc(u,l,!0,!0),xc[l]=kc),_c&&o==Oc&&v&&v.name!==Oc&&(p=!0,d=function(){return dc(v,this)}),o)if(s={values:f(Oc),keys:i?d:f(Tc),entries:f(Sc)},a)for(c in s)(wc||p||!(c in h))&&bc(h,c,s[c]);else vc({target:e,proto:!0,forced:wc||p},s);return a&&h[Ec]!==d&&bc(h,Ec,d,{name:o}),xc[e]=d,s},Ac=function(t,e){return{value:t,done:e}},Pc=ot,Ic=ks,Dc=ca;nr.f;var Cc=jc,Lc=Ac,Rc="Array Iterator",Mc=Dc.set,Nc=Dc.getterFor(Rc);Cc(Array,"Array",(function(t,e){Mc(this,{type:Rc,target:Pc(t),index:0,kind:e})}),(function(){var t=Nc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Lc(void 0,!0)):Lc("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Ic.Arguments=Ic.Array;var Fc={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},zc=l,qc=mn,Uc=wr,Yc=ks,Wc=me("toStringTag");for(var Gc in Fc){var Vc=zc[Gc],Xc=Vc&&Vc.prototype;Xc&&qc(Xc)!==Wc&&Uc(Xc,Wc,Gc),Yc[Gc]=Yc.Array}var Bc=Ss;Ci("dispose");var Hc=Bc;Ci("asyncDispose");var $c=Lr,Jc=E,Kc=ht("Symbol"),Qc=Kc.keyFor,Zc=Jc(Kc.prototype.valueOf);$c({target:"Symbol",stat:!0},{isRegistered:function(t){try{return void 0!==Qc(Zc(t))}catch(t){return!1}}});for(var tf=Lr,ef=Vt,rf=ht,nf=E,of=It,af=me,uf=rf("Symbol"),sf=uf.isWellKnown,cf=rf("Object","getOwnPropertyNames"),ff=nf(uf.prototype.valueOf),lf=ef("wks"),pf=0,hf=cf(uf),vf=hf.length;pf<vf;pf++)try{var df=hf[pf];of(uf[df])&&af(df)}catch(t){}tf({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(t){if(sf&&sf(t))return!0;try{for(var e=ff(t),r=0,n=cf(lf),o=n.length;r<o;r++)if(lf[n[r]]==e)return!0}catch(t){}return!1}}),Ci("matcher"),Ci("metadataKey"),Ci("observable"),Ci("metadata"),Ci("patternMatch"),Ci("replaceAll");var yf=Hc;!function(t){t.exports=yf}(Xr),function(t){t.exports=Vr}(Gr);var gf=n(Wr),mf={},bf={get exports(){return mf},set exports(t){mf=t}},xf={},_f={get exports(){return xf},set exports(t){xf=t}},wf=E,Ef=Qr,Tf=fo,Of=et,Sf=wf("".charAt),kf=wf("".charCodeAt),jf=wf("".slice),Af=function(t){return function(e,r){var n,o,i=Tf(Of(e)),a=Ef(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=kf(i,a))<55296||n>56319||a+1===u||(o=kf(i,a+1))<56320||o>57343?t?Sf(i,a):n:t?jf(i,a,a+2):o-56320+(n-55296<<10)+65536}},Pf={codeAt:Af(!1),charAt:Af(!0)}.charAt,If=fo,Df=ca,Cf=jc,Lf=Ac,Rf="String Iterator",Mf=Df.set,Nf=Df.getterFor(Rf);Cf(String,"String",(function(t){Mf(this,{type:Rf,string:If(t),index:0})}),(function(){var t,e=Nf(this),r=e.string,n=e.index;return n>=r.length?Lf(void 0,!0):(t=Pf(r,n),e.index+=t.length,Lf(t,!1))}));var Ff=Ti.f("iterator"),zf=Ff;!function(t){t.exports=zf}(_f),function(t){t.exports=xf}(bf);var qf=n(mf);function Uf(t){return Uf="function"==typeof gf&&"symbol"==typeof qf?function(t){return typeof t}:function(t){return t&&"function"==typeof gf&&t.constructor===gf&&t!==gf.prototype?"symbol":typeof t},Uf(t)}var Yf={},Wf={get exports(){return Yf},set exports(t){Yf=t}},Gf={},Vf={get exports(){return Gf},set exports(t){Gf=t}},Xf=Ti.f("toPrimitive");!function(t){t.exports=Xf}(Vf),function(t){t.exports=Gf}(Wf);var Bf=n(Yf);function Hf(t){var e=function(t,e){if("object"!==Uf(t)||null===t)return t;var r=t[Bf];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Uf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Uf(e)?e:String(e)}function $f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Yr(t,Hf(n.key),n)}}function Jf(t,e,r){return e&&$f(t.prototype,e),r&&$f(t,r),Yr(t,"prototype",{writable:!1}),t}function Kf(t,e,r){return(e=Hf(e))in t?Yr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qf={},Zf={get exports(){return Qf},set exports(t){Qf=t}},tl=E,el=Nt,rl=ut,nl=oe,ol=Uu,il=h,al=Function,ul=tl([].concat),sl=tl([].join),cl={},fl=function(t,e,r){if(!nl(cl,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";cl[e]=al("C,a","return new C("+sl(n,",")+")")}return cl[e](t,r)},ll=il?al.bind:function(t){var e=el(this),r=e.prototype,n=ol(arguments,1),o=function(){var r=ul(n,ol(arguments));return this instanceof o?fl(e,r.length,r):e.apply(t,r)};return rl(r)&&(o.prototype=r),o},pl=ll;Lr({target:"Function",proto:!0,forced:Function.bind!==pl},{bind:pl});var hl=st,vl=function(t){return hl[t+"Prototype"]},dl=vl("Function").bind,yl=vt,gl=dl,ml=Function.prototype,bl=function(t){var e=t.bind;return t===ml||yl(ml,t)&&e===ml.bind?gl:e};!function(t){t.exports=bl}(Zf);var xl=n(Qf),_l={},wl={get exports(){return _l},set exports(t){_l=t}},El=Nt,Tl=ee,Ol=K,Sl=rn,kl=TypeError,jl=function(t){return function(e,r,n,o){El(r);var i=Tl(e),a=Ol(i),u=Sl(i),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){o=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw kl("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(o=r(o,a[s],s,i));return o}},Al={left:jl(!1),right:jl(!0)},Pl=p,Il=function(t,e){var r=[][t];return!!r&&Pl((function(){r.call(null,e||function(){return 1},1)}))},Dl="undefined"!=typeof process&&"process"==k(process),Cl=Al.left;Lr({target:"Array",proto:!0,forced:!Dl&&wt>79&&wt<83||!Il("reduce")},{reduce:function(t){var e=arguments.length;return Cl(this,t,e,e>1?arguments[1]:void 0)}});var Ll=vl("Array").reduce,Rl=vt,Ml=Ll,Nl=Array.prototype,Fl=function(t){var e=t.reduce;return t===Nl||Rl(Nl,t)&&e===Nl.reduce?Ml:e};!function(t){t.exports=Fl}(wl);var zl=n(_l),ql={},Ul={get exports(){return ql},set exports(t){ql=t}},Yl=ga.filter;Lr({target:"Array",proto:!0,forced:!Bn("filter")},{filter:function(t){return Yl(this,t,arguments.length>1?arguments[1]:void 0)}});var Wl=vl("Array").filter,Gl=vt,Vl=Wl,Xl=Array.prototype,Bl=function(t){var e=t.filter;return t===Xl||Gl(Xl,t)&&e===Xl.filter?Vl:e};!function(t){t.exports=Bl}(Ul);var Hl=n(ql),$l={},Jl={get exports(){return $l},set exports(t){$l=t}},Kl=ga.map;Lr({target:"Array",proto:!0,forced:!Bn("map")},{map:function(t){return Kl(this,t,arguments.length>1?arguments[1]:void 0)}});var Ql=vl("Array").map,Zl=vt,tp=Ql,ep=Array.prototype,rp=function(t){var e=t.map;return t===ep||Zl(ep,t)&&e===ep.map?tp:e};!function(t){t.exports=rp}(Jl);var np=n($l),op={},ip={get exports(){return op},set exports(t){op=t}},ap=Hr,up=rn,sp=on,cp=rr,fp=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,p=!!a&&cp(a,u);l<n;)l in r&&(s=p?p(r[l],l,e):r[l],i>0&&ap(s)?(c=up(s),f=fp(t,e,s,c,f,i-1)-1):(sp(f+1),t[f]=s),f++),l++;return f},lp=fp,pp=Nt,hp=ee,vp=rn,dp=Wn;Lr({target:"Array",proto:!0},{flatMap:function(t){var e,r=hp(this),n=vp(r);return pp(t),(e=dp(r,0)).length=lp(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var yp=vl("Array").flatMap,gp=vt,mp=yp,bp=Array.prototype,xp=function(t){var e=t.flatMap;return t===bp||gp(bp,t)&&e===bp.flatMap?mp:e};!function(t){t.exports=xp}(ip);var _p=n(op);var wp=function(){function t(r,n,o){var i,a,u;e(this,t),Kf(this,"_source",void 0),Kf(this,"_transformers",void 0),Kf(this,"_target",void 0),Kf(this,"_listeners",{add:xl(i=this._add).call(i,this),remove:xl(a=this._remove).call(a,this),update:xl(u=this._update).call(u,this)}),this._source=r,this._transformers=n,this._target=o}return Jf(t,[{key:"all",value:function(){return this._target.update(this._transformItems(this._source.get())),this}},{key:"start",value:function(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}},{key:"stop",value:function(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}},{key:"_transformItems",value:function(t){var e;return zl(e=this._transformers).call(e,(function(t,e){return e(t)}),t)}},{key:"_add",value:function(t,e){null!=e&&this._target.add(this._transformItems(this._source.get(e.items)))}},{key:"_update",value:function(t,e){null!=e&&this._target.update(this._transformItems(this._source.get(e.items)))}},{key:"_remove",value:function(t,e){null!=e&&this._target.remove(this._transformItems(e.oldData))}}]),t}(),Ep=function(){function t(r){e(this,t),Kf(this,"_source",void 0),Kf(this,"_transformers",[]),this._source=r}return Jf(t,[{key:"filter",value:function(t){return this._transformers.push((function(e){return Hl(e).call(e,t)})),this}},{key:"map",value:function(t){return this._transformers.push((function(e){return np(e).call(e,t)})),this}},{key:"flatMap",value:function(t){return this._transformers.push((function(e){return _p(e).call(e,t)})),this}},{key:"to",value:function(t){return new wp(this._source,this._transformers,t)}}]),t}(),Tp={},Op={get exports(){return Tp},set exports(t){Tp=t}},Sp=z,kp=sr,jp=qt,Ap=function(t,e,r){var n,o;kp(t);try{if(!(n=jp(t,"return"))){if("throw"===e)throw r;return r}n=Sp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return kp(n),r},Pp=sr,Ip=Ap,Dp=ks,Cp=me("iterator"),Lp=Array.prototype,Rp=function(t){return void 0!==t&&(Dp.Array===t||Lp[Cp]===t)},Mp=mn,Np=qt,Fp=Q,zp=ks,qp=me("iterator"),Up=function(t){if(!Fp(t))return Np(t,qp)||Np(t,"@@iterator")||zp[Mp(t)]},Yp=z,Wp=Nt,Gp=sr,Vp=Ct,Xp=Up,Bp=TypeError,Hp=function(t,e){var r=arguments.length<2?Xp(t):e;if(Wp(r))return Gp(Yp(r,t));throw Bp(Vp(t)+" is not iterable")},$p=rr,Jp=z,Kp=ee,Qp=function(t,e,r,n){try{return n?e(Pp(r)[0],r[1]):e(r)}catch(e){Ip(t,"throw",e)}},Zp=Rp,th=Mn,eh=rn,rh=cn,nh=Hp,oh=Up,ih=Array,ah=me("iterator"),uh=!1;try{var sh=0,ch={next:function(){return{done:!!sh++}},return:function(){uh=!0}};ch[ah]=function(){return this},Array.from(ch,(function(){throw 2}))}catch(t){}var fh=function(t,e){if(!e&&!uh)return!1;var r=!1;try{var n={};n[ah]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},lh=function(t){var e=Kp(t),r=th(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=$p(o,n>2?arguments[2]:void 0));var a,u,s,c,f,l,p=oh(e),h=0;if(!p||this===ih&&Zp(p))for(a=eh(e),u=r?new this(a):ih(a);a>h;h++)l=i?o(e[h],h):e[h],rh(u,h,l);else for(f=(c=nh(e,p)).next,u=r?new this:[];!(s=Jp(f,c)).done;h++)l=i?Qp(c,o,[s.value,h],!0):s.value,rh(u,h,l);return u.length=h,u};Lr({target:"Array",stat:!0,forced:!fh((function(t){Array.from(t)}))},{from:lh});var ph=st.Array.from;!function(t){t.exports=ph}(Op);var hh=n(Tp),vh={},dh={get exports(){return vh},set exports(t){vh=t}},yh={},gh=Up;!function(t){t.exports=gh}({get exports(){return yh},set exports(t){yh=t}}),function(t){t.exports=yh}(dh);var mh=n(vh),bh={},xh={get exports(){return bh},set exports(t){bh=t}},_h=st.Object.getOwnPropertySymbols;!function(t){t.exports=_h}(xh);var wh=n(bh),Eh={},Th={get exports(){return Eh},set exports(t){Eh=t}},Oh={},Sh={get exports(){return Oh},set exports(t){Oh=t}},kh=Lr,jh=p,Ah=ot,Ph=R.f,Ih=M;kh({target:"Object",stat:!0,forced:!Ih||jh((function(){Ph(1)})),sham:!Ih},{getOwnPropertyDescriptor:function(t,e){return Ph(Ah(t),e)}});var Dh=st.Object,Ch=Sh.exports=function(t,e){return Dh.getOwnPropertyDescriptor(t,e)};Dh.getOwnPropertyDescriptor.sham&&(Ch.sham=!0);var Lh=Oh;!function(t){t.exports=Lh}(Th);var Rh=n(Eh),Mh={},Nh={get exports(){return Mh},set exports(t){Mh=t}},Fh=ht,zh=oi,qh=bi,Uh=sr,Yh=E([].concat),Wh=Fh("Reflect","ownKeys")||function(t){var e=zh.f(Uh(t)),r=qh.f;return r?Yh(e,r(t)):e},Gh=Wh,Vh=ot,Xh=R,Bh=cn;Lr({target:"Object",stat:!0,sham:!M},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Vh(t),o=Xh.f,i=Gh(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Bh(a,e,r);return a}});var Hh=st.Object.getOwnPropertyDescriptors;!function(t){t.exports=Hh}(Nh);var $h=n(Mh),Jh={},Kh={get exports(){return Jh},set exports(t){Jh=t}},Qh={},Zh={get exports(){return Qh},set exports(t){Qh=t}},tv=Lr,ev=M,rv=lo.f;tv({target:"Object",stat:!0,forced:Object.defineProperties!==rv,sham:!ev},{defineProperties:rv});var nv=st.Object,ov=Zh.exports=function(t,e){return nv.defineProperties(t,e)};nv.defineProperties.sham&&(ov.sham=!0);var iv=Qh;!function(t){t.exports=iv}(Kh);var av=n(Jh),uv={};!function(t){t.exports=qr}({get exports(){return uv},set exports(t){uv=t}});var sv=n(uv),cv={},fv={get exports(){return cv},set exports(t){cv=t}},lv={},pv={get exports(){return lv},set exports(t){lv=t}};Lr({target:"Array",stat:!0},{isArray:Hr});var hv=st.Array.isArray,vv=hv;!function(t){t.exports=vv}(pv),function(t){t.exports=lv}(fv);var dv=n(cv);var yv={},gv={get exports(){return yv},set exports(t){yv=t}},mv={},bv={get exports(){return mv},set exports(t){mv=t}},xv=Lr,_v=Hr,wv=Mn,Ev=ut,Tv=yo,Ov=rn,Sv=ot,kv=cn,jv=me,Av=Uu,Pv=Bn("slice"),Iv=jv("species"),Dv=Array,Cv=Math.max;xv({target:"Array",proto:!0,forced:!Pv},{slice:function(t,e){var r,n,o,i=Sv(this),a=Ov(i),u=Tv(t,a),s=Tv(void 0===e?a:e,a);if(_v(i)&&(r=i.constructor,(wv(r)&&(r===Dv||_v(r.prototype))||Ev(r)&&null===(r=r[Iv]))&&(r=void 0),r===Dv||void 0===r))return Av(i,u,s);for(n=new(void 0===r?Dv:r)(Cv(s-u,0)),o=0;u<s;u++,o++)u in i&&kv(n,o,i[u]);return n.length=o,n}});var Lv=vl("Array").slice,Rv=vt,Mv=Lv,Nv=Array.prototype,Fv=function(t){var e=t.slice;return t===Nv||Rv(Nv,t)&&e===Nv.slice?Mv:e},zv=Fv;!function(t){t.exports=zv}(bv),function(t){t.exports=mv}(gv);var qv=n(yv),Uv={},Yv={get exports(){return Uv},set exports(t){Uv=t}},Wv={},Gv=ph;!function(t){t.exports=Gv}({get exports(){return Wv},set exports(t){Wv=t}}),function(t){t.exports=Wv}(Yv);var Vv=n(Uv);function Xv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bv(t,e){var r;if(t){if("string"==typeof t)return Xv(t,e);var n=qv(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Vv(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xv(t,e):void 0}}function Hv(t,e){return function(t){if(dv(t))return t}(t)||function(t,e){var r=null==t?null:void 0!==gf&&mh(t)||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||Bv(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 $v(t){return function(t){if(dv(t))return Xv(t)}(t)||function(t){if(void 0!==gf&&null!=mh(t)||null!=t["@@iterator"])return Vv(t)}(t)||Bv(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 Jv={};!function(t){t.exports=Bc}({get exports(){return Jv},set exports(t){Jv=t}});var Kv=n(Jv),Qv={},Zv={get exports(){return Qv},set exports(t){Qv=t}},td=vl("Array").concat,ed=vt,rd=td,nd=Array.prototype,od=function(t){var e=t.concat;return t===nd||ed(nd,t)&&e===nd.concat?rd:e};!function(t){t.exports=od}(Zv);var id=n(Qv),ad={};!function(t){t.exports=Fv}({get exports(){return ad},set exports(t){ad=t}});var ud=n(ad),sd={},cd={get exports(){return sd},set exports(t){sd=t}};Lr({target:"Reflect",stat:!0},{ownKeys:Wh});var fd=st.Reflect.ownKeys;!function(t){t.exports=fd}(cd);var ld=n(sd),pd={};!function(t){t.exports=hv}({get exports(){return pd},set exports(t){pd=t}});var hd=n(pd),vd={},dd={get exports(){return vd},set exports(t){vd=t}},yd=ee,gd=Do;Lr({target:"Object",stat:!0,forced:p((function(){gd(1)}))},{keys:function(t){return gd(yd(t))}});var md=st.Object.keys;!function(t){t.exports=md}(dd);var bd=n(vd),xd={},_d={get exports(){return xd},set exports(t){xd=t}},wd=Lr,Ed=Date,Td=E(Ed.prototype.getTime);wd({target:"Date",stat:!0},{now:function(){return Td(new Ed)}});var Od=st.Date.now;!function(t){t.exports=Od}(_d);var Sd={},kd={get exports(){return Sd},set exports(t){Sd=t}},jd=ga.forEach,Ad=Il("forEach")?[].forEach:function(t){return jd(this,t,arguments.length>1?arguments[1]:void 0)};Lr({target:"Array",proto:!0,forced:[].forEach!=Ad},{forEach:Ad});var Pd=vl("Array").forEach,Id=mn,Dd=oe,Cd=vt,Ld=Pd,Rd=Array.prototype,Md={DOMTokenList:!0,NodeList:!0},Nd=function(t){var e=t.forEach;return t===Rd||Cd(Rd,t)&&e===Rd.forEach||Dd(Md,Id(t))?Ld:e};!function(t){t.exports=Nd}(kd);var Fd=n(Sd),zd={},qd={get exports(){return zd},set exports(t){zd=t}},Ud=Lr,Yd=Hr,Wd=E([].reverse),Gd=[1,2];Ud({target:"Array",proto:!0,forced:String(Gd)===String(Gd.reverse())},{reverse:function(){return Yd(this)&&(this.length=this.length),Wd(this)}});var Vd=vl("Array").reverse,Xd=vt,Bd=Vd,Hd=Array.prototype,$d=function(t){var e=t.reverse;return t===Hd||Xd(Hd,t)&&e===Hd.reverse?Bd:e};!function(t){t.exports=$d}(qd);var Jd=n(zd),Kd={},Qd={get exports(){return Kd},set exports(t){Kd=t}},Zd=M,ty=Hr,ey=TypeError,ry=Object.getOwnPropertyDescriptor,ny=Zd&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),oy=Ct,iy=TypeError,ay=function(t,e){if(!delete t[e])throw iy("Cannot delete property "+oy(e)+" of "+oy(t))},uy=Lr,sy=ee,cy=yo,fy=Qr,ly=rn,py=ny?function(t,e){if(ty(t)&&!ry(t,"length").writable)throw ey("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},hy=on,vy=Wn,dy=cn,yy=ay,gy=Bn("splice"),my=Math.max,by=Math.min;uy({target:"Array",proto:!0,forced:!gy},{splice:function(t,e){var r,n,o,i,a,u,s=sy(this),c=ly(s),f=cy(t,c),l=arguments.length;for(0===l?r=n=0:1===l?(r=0,n=c-f):(r=l-2,n=by(my(fy(e),0),c-f)),hy(c+r-n),o=vy(s,n),i=0;i<n;i++)(a=f+i)in s&&dy(o,i,s[a]);if(o.length=n,r<n){for(i=f;i<c-n;i++)u=i+r,(a=i+n)in s?s[u]=s[a]:yy(s,u);for(i=c;i>c-n+r;i--)yy(s,i-1)}else if(r>n)for(i=c-n;i>f;i--)u=i+r-1,(a=i+n-1)in s?s[u]=s[a]:yy(s,u);for(i=0;i<r;i++)s[i+f]=arguments[i+2];return py(s,c-n+r),o}});var xy=vl("Array").splice,_y=vt,wy=xy,Ey=Array.prototype,Ty=function(t){var e=t.splice;return t===Ey||_y(Ey,t)&&e===Ey.splice?wy:e};!function(t){t.exports=Ty}(Qd);var Oy=n(Kd),Sy={},ky={get exports(){return Sy},set exports(t){Sy=t}},jy=M,Ay=E,Py=z,Iy=p,Dy=Do,Cy=bi,Ly=q,Ry=ee,My=K,Ny=Object.assign,Fy=Object.defineProperty,zy=Ay([].concat),qy=!Ny||Iy((function(){if(jy&&1!==Ny({b:1},Ny(Fy({},"a",{enumerable:!0,get:function(){Fy(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Ny({},t)[r]||Dy(Ny({},e)).join("")!=n}))?function(t,e){for(var r=Ry(t),n=arguments.length,o=1,i=Cy.f,a=Ly.f;n>o;)for(var u,s=My(arguments[o++]),c=i?zy(Dy(s),i(s)):Dy(s),f=c.length,l=0;f>l;)u=c[l++],jy&&!Py(a,s,u)||(r[u]=s[u]);return r}:Ny,Uy=qy;Lr({target:"Object",stat:!0,arity:2,forced:Object.assign!==Uy},{assign:Uy});var Yy=st.Object.assign;!function(t){t.exports=Yy}(ky);var Wy=n(Sy),Gy={},Vy={get exports(){return Gy},set exports(t){Gy=t}},Xy=_o.includes;Lr({target:"Array",proto:!0,forced:p((function(){return!Array(1).includes()}))},{includes:function(t){return Xy(this,t,arguments.length>1?arguments[1]:void 0)}});var By=vl("Array").includes,Hy=ut,$y=k,Jy=me("match"),Ky=function(t){var e;return Hy(t)&&(void 0!==(e=t[Jy])?!!e:"RegExp"==$y(t))},Qy=TypeError,Zy=me("match"),tg=Lr,eg=function(t){if(Ky(t))throw Qy("The method doesn't accept regular expressions");return t},rg=et,ng=fo,og=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Zy]=!1,"/./"[t](e)}catch(t){}}return!1},ig=E("".indexOf);tg({target:"String",proto:!0,forced:!og("includes")},{includes:function(t){return!!~ig(ng(rg(this)),ng(eg(t)),arguments.length>1?arguments[1]:void 0)}});var ag=vl("String").includes,ug=vt,sg=By,cg=ag,fg=Array.prototype,lg=String.prototype,pg=function(t){var e=t.includes;return t===fg||ug(fg,t)&&e===fg.includes?sg:"string"==typeof t||t===lg||ug(lg,t)&&e===lg.includes?cg:e};!function(t){t.exports=pg}(Vy);var hg={},vg={get exports(){return hg},set exports(t){hg=t}},dg=ee,yg=Ys,gg=Ls;Lr({target:"Object",stat:!0,forced:p((function(){yg(1)})),sham:!gg},{getPrototypeOf:function(t){return yg(dg(t))}});var mg=st.Object.getPrototypeOf;!function(t){t.exports=mg}(vg);var bg={},xg={get exports(){return bg},set exports(t){bg=t}},_g=M,wg=E,Eg=Do,Tg=ot,Og=wg(q.f),Sg=wg([].push),kg=function(t){return function(e){for(var r,n=Tg(e),o=Eg(n),i=o.length,a=0,u=[];i>a;)r=o[a++],_g&&!Og(n,r)||Sg(u,t?[r,n[r]]:n[r]);return u}},jg={entries:kg(!0),values:kg(!1)}.values;Lr({target:"Object",stat:!0},{values:function(t){return jg(t)}});var Ag=st.Object.values;!function(t){t.exports=Ag}(xg);var Pg={},Ig={get exports(){return Pg},set exports(t){Pg=t}},Dg="\t\n\v\f\r \u2028\u2029\ufeff",Cg=et,Lg=fo,Rg=Dg,Mg=E("".replace),Ng=RegExp("^["+Rg+"]+"),Fg=RegExp("(^|[^"+Rg+"])["+Rg+"]+$"),zg=function(t){return function(e){var r=Lg(Cg(e));return 1&t&&(r=Mg(r,Ng,"")),2&t&&(r=Mg(r,Fg,"$1")),r}},qg={start:zg(1),end:zg(2),trim:zg(3)},Ug=l,Yg=p,Wg=E,Gg=fo,Vg=qg.trim,Xg=Dg,Bg=Ug.parseInt,Hg=Ug.Symbol,$g=Hg&&Hg.iterator,Jg=/^[+-]?0x/i,Kg=Wg(Jg.exec),Qg=8!==Bg(Xg+"08")||22!==Bg(Xg+"0x16")||$g&&!Yg((function(){Bg(Object($g))}))?function(t,e){var r=Vg(Gg(t));return Bg(r,e>>>0||(Kg(Jg,r)?16:10))}:Bg;Lr({global:!0,forced:parseInt!=Qg},{parseInt:Qg});var Zg=st.parseInt;!function(t){t.exports=Zg}(Ig);var tm={},em={get exports(){return tm},set exports(t){tm=t}},rm=Lr,nm=_o.indexOf,om=Il,im=P([].indexOf),am=!!im&&1/im([1],1,-0)<0;rm({target:"Array",proto:!0,forced:am||!om("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return am?im(this,t,e)||0:nm(this,t,e)}});var um=vl("Array").indexOf,sm=vt,cm=um,fm=Array.prototype,lm=function(t){var e=t.indexOf;return t===fm||sm(fm,t)&&e===fm.indexOf?cm:e};!function(t){t.exports=lm}(em);var pm={},hm={get exports(){return pm},set exports(t){pm=t}},vm=Cs.PROPER,dm=p,ym=Dg,gm=qg.trim;Lr({target:"String",proto:!0,forced:function(t){return dm((function(){return!!ym[t]()||"
"!=="
"[t]()||vm&&ym[t].name!==t}))}("trim")},{trim:function(){return gm(this)}});var mm=vl("String").trim,bm=vt,xm=mm,_m=String.prototype,wm=function(t){var e=t.trim;return"string"==typeof t||t===_m||bm(_m,t)&&e===_m.trim?xm:e};!function(t){t.exports=wm}(hm);var Em={},Tm={get exports(){return Em},set exports(t){Em=t}};Lr({target:"Object",stat:!0,sham:!M},{create:ni});var Om=st.Object,Sm=function(t,e){return Om.create(t,e)};!function(t){t.exports=Sm}(Tm);var km=n(Em),jm={},Am={get exports(){return jm},set exports(t){jm=t}},Pm=st,Im=m;Pm.JSON||(Pm.JSON={stringify:JSON.stringify});var Dm=function(t,e,r){return Im(Pm.JSON.stringify,null,arguments)},Cm=Dm;!function(t){t.exports=Cm}(Am);var Lm=n(jm),Rm={},Mm={get exports(){return Rm},set exports(t){Rm=t}},Nm="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Fm=TypeError,zm=function(t,e){if(t<e)throw Fm("Not enough arguments");return t},qm=l,Um=m,Ym=L,Wm=Nm,Gm=dt,Vm=Uu,Xm=zm,Bm=qm.Function,Hm=/MSIE .\./.test(Gm)||Wm&&function(){var t=qm.Bun.version.split(".");return t.length<3||0==t[0]&&(t[1]<3||3==t[1]&&0==t[2])}(),$m=function(t,e){var r=e?2:1;return Hm?function(n,o){var i=Xm(arguments.length,1)>r,a=Ym(n)?n:Bm(n),u=i?Vm(arguments,r):[],s=i?function(){Um(a,this,u)}:a;return e?t(s,o):t(s)}:t},Jm=Lr,Km=l,Qm=$m(Km.setInterval,!0);Jm({global:!0,bind:!0,forced:Km.setInterval!==Qm},{setInterval:Qm});var Zm=Lr,tb=l,eb=$m(tb.setTimeout,!0);Zm({global:!0,bind:!0,forced:tb.setTimeout!==eb},{setTimeout:eb});var rb=st.setTimeout;!function(t){t.exports=rb}(Mm);var nb=n(Rm),ob={},ib={get exports(){return ob},set exports(t){ob=t}},ab=ee,ub=yo,sb=rn,cb=function(t){for(var e=ab(this),r=sb(e),n=arguments.length,o=ub(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:ub(i,r);a>o;)e[o++]=t;return e};Lr({target:"Array",proto:!0},{fill:cb});var fb=vl("Array").fill,lb=vt,pb=fb,hb=Array.prototype,vb=function(t){var e=t.fill;return t===hb||lb(hb,t)&&e===hb.fill?pb:e};!function(t){t.exports=vb}(ib);var db={};!function(t){function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<n.length;o++)if((r=n[o])===e||r.fn===e){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(r){n=0;for(var o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}({get exports(){return db},set exports(t){db=t}});var yb,gb=db;
|
|
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
|
-
* Licensed under the MIT license */function of(){return(of=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function af(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function uf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var sf,cf="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}:Object.assign,lf=["","webkit","Moz","MS","ms","o"],ff="undefined"==typeof document?{style:{}}:document.createElement("div"),hf=Math.round,pf=Math.abs,vf=Date.now;function df(t,e){for(var r,n,i=e[0].toUpperCase()+e.slice(1),o=0;o<lf.length;){if((n=(r=lf[o])?r+i:e)in t)return n;o++}}sf="undefined"==typeof window?{}:window;var yf=df(ff.style,"touchAction"),gf=void 0!==yf;var mf="compute",bf="auto",_f="manipulation",wf="none",Ef="pan-x",Tf="pan-y",Of=function(){if(!gf)return!1;var t={},e=sf.CSS&&sf.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){return t[r]=!e||sf.CSS.supports("touch-action",r)})),t}(),xf="ontouchstart"in sf,kf=void 0!==df(sf,"PointerEvent"),Af=xf&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Sf="touch",jf="mouse",If=16,Pf=24,Df=["x","y"],Lf=["clientX","clientY"];function Cf(t,e,r){var n;if(t)if(t.forEach)t.forEach(e,r);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(r,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n,t)}function Mf(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function Nf(t,e){return t.indexOf(e)>-1}var Rf=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===mf&&(t=this.compute()),gf&&this.manager.element.style&&Of[t]&&(this.manager.element.style[yf]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return Cf(this.manager.recognizers,(function(e){Mf(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(Nf(t,wf))return wf;var e=Nf(t,Ef),r=Nf(t,Tf);return e&&r?wf:e||r?e?Ef:Tf:Nf(t,_f)?_f:bf}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,r=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,i=Nf(n,wf)&&!Of.none,o=Nf(n,Tf)&&!Of["pan-y"],a=Nf(n,Ef)&&!Of["pan-x"];if(i){var u=1===t.pointers.length,s=t.distance<2,c=t.deltaTime<250;if(u&&s&&c)return}if(!a||!o)return i||o&&6&r||a&&r&Pf?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function Ff(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function zf(t){var e=t.length;if(1===e)return{x:hf(t[0].clientX),y:hf(t[0].clientY)};for(var r=0,n=0,i=0;i<e;)r+=t[i].clientX,n+=t[i].clientY,i++;return{x:hf(r/e),y:hf(n/e)}}function qf(t){for(var e=[],r=0;r<t.pointers.length;)e[r]={clientX:hf(t.pointers[r].clientX),clientY:hf(t.pointers[r].clientY)},r++;return{timeStamp:vf(),pointers:e,center:zf(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Yf(t,e,r){r||(r=Df);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return Math.sqrt(n*n+i*i)}function Xf(t,e,r){r||(r=Df);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return 180*Math.atan2(i,n)/Math.PI}function Wf(t,e){return t===e?1:pf(t)>=pf(e)?t<0?2:4:e<0?8:If}function Uf(t,e,r){return{x:e/t||0,y:r/t||0}}function Vf(t,e){var r=t.session,n=e.pointers,i=n.length;r.firstInput||(r.firstInput=qf(e)),i>1&&!r.firstMultiple?r.firstMultiple=qf(e):1===i&&(r.firstMultiple=!1);var o=r.firstInput,a=r.firstMultiple,u=a?a.center:o.center,s=e.center=zf(n);e.timeStamp=vf(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=Xf(u,s),e.distance=Yf(u,s),function(t,e){var r=e.center,n=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};1!==e.eventType&&4!==o.eventType||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:r.x,y:r.y}),e.deltaX=i.x+(r.x-n.x),e.deltaY=i.y+(r.y-n.y)}(r,e),e.offsetDirection=Wf(e.deltaX,e.deltaY);var c,l,f=Uf(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x,e.overallVelocityY=f.y,e.overallVelocity=pf(f.x)>pf(f.y)?f.x:f.y,e.scale=a?(c=a.pointers,Yf((l=n)[0],l[1],Lf)/Yf(c[0],c[1],Lf)):1,e.rotation=a?function(t,e){return Xf(e[1],e[0],Lf)+Xf(t[1],t[0],Lf)}(a.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(t,e){var r,n,i,o,a=t.lastInterval||e,u=e.timeStamp-a.timeStamp;if(8!==e.eventType&&(u>25||void 0===a.velocity)){var s=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,l=Uf(u,s,c);n=l.x,i=l.y,r=pf(l.x)>pf(l.y)?l.x:l.y,o=Wf(s,c),t.lastInterval=e}else r=a.velocity,n=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=r,e.velocityX=n,e.velocityY=i,e.direction=o}(r,e);var h,p=t.element,v=e.srcEvent;Ff(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),e.target=p}function Gf(t,e,r){var n=r.pointers.length,i=r.changedPointers.length,o=1&e&&n-i==0,a=12&e&&n-i==0;r.isFirst=!!o,r.isFinal=!!a,o&&(t.session={}),r.eventType=e,Vf(t,r),t.emit("hammer.input",r),t.recognize(r),t.session.prevInput=r}function Hf(t){return t.trim().split(/\s+/g)}function $f(t,e,r){Cf(Hf(e),(function(e){t.addEventListener(e,r,!1)}))}function Bf(t,e,r){Cf(Hf(e),(function(e){t.removeEventListener(e,r,!1)}))}function Jf(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var Kf=function(){function t(t,e){var r=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){Mf(t.options.enable,[t])&&r.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&$f(this.element,this.evEl,this.domHandler),this.evTarget&&$f(this.target,this.evTarget,this.domHandler),this.evWin&&$f(Jf(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Bf(this.element,this.evEl,this.domHandler),this.evTarget&&Bf(this.target,this.evTarget,this.domHandler),this.evWin&&Bf(Jf(this.element),this.evWin,this.domHandler)},t}();function Qf(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;n<t.length;){if(r&&t[n][r]==e||!r&&t[n]===e)return n;n++}return-1}var Zf={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},th={2:Sf,3:"pen",4:jf,5:"kinect"},eh="pointerdown",rh="pointermove pointerup pointercancel";sf.MSPointerEvent&&!sf.PointerEvent&&(eh="MSPointerDown",rh="MSPointerMove MSPointerUp MSPointerCancel");var nh=function(t){function e(){var r,n=e.prototype;return n.evEl=eh,n.evWin=rh,(r=t.apply(this,arguments)||this).store=r.manager.session.pointerEvents=[],r}return af(e,t),e.prototype.handler=function(t){var e=this.store,r=!1,n=t.type.toLowerCase().replace("ms",""),i=Zf[n],o=th[t.pointerType]||t.pointerType,a=o===Sf,u=Qf(e,t.pointerId,"pointerId");1&i&&(0===t.button||a)?u<0&&(e.push(t),u=e.length-1):12&i&&(r=!0),u<0||(e[u]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),r&&e.splice(u,1))},e}(Kf);function ih(t){return Array.prototype.slice.call(t,0)}function oh(t,e,r){for(var n=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];Qf(i,a)<0&&n.push(t[o]),i[o]=a,o++}return r&&(n=e?n.sort((function(t,r){return t[e]>r[e]})):n.sort()),n}var ah={touchstart:1,touchmove:2,touchend:4,touchcancel:8},uh="touchstart touchmove touchend touchcancel",sh=function(t){function e(){var r;return e.prototype.evTarget=uh,(r=t.apply(this,arguments)||this).targetIds={},r}return af(e,t),e.prototype.handler=function(t){var e=ah[t.type],r=ch.call(this,t,e);r&&this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:Sf,srcEvent:t})},e}(Kf);function ch(t,e){var r,n,i=ih(t.touches),o=this.targetIds;if(3&e&&1===i.length)return o[i[0].identifier]=!0,[i,i];var a=ih(t.changedTouches),u=[],s=this.target;if(n=i.filter((function(t){return Ff(t.target,s)})),1===e)for(r=0;r<n.length;)o[n[r].identifier]=!0,r++;for(r=0;r<a.length;)o[a[r].identifier]&&u.push(a[r]),12&e&&delete o[a[r].identifier],r++;return u.length?[oh(n.concat(u),"identifier",!0),u]:void 0}var lh={mousedown:1,mousemove:2,mouseup:4},fh="mousedown",hh="mousemove mouseup",ph=function(t){function e(){var r,n=e.prototype;return n.evEl=fh,n.evWin=hh,(r=t.apply(this,arguments)||this).pressed=!1,r}return af(e,t),e.prototype.handler=function(t){var e=lh[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:jf,srcEvent:t}))},e}(Kf);function vh(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var r={x:e.clientX,y:e.clientY},n=this.lastTouches;this.lastTouches.push(r);setTimeout((function(){var t=n.indexOf(r);t>-1&&n.splice(t,1)}),2500)}}function dh(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,vh.call(this,e)):12&t&&vh.call(this,e)}function yh(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var i=this.lastTouches[n],o=Math.abs(e-i.x),a=Math.abs(r-i.y);if(o<=25&&a<=25)return!0}return!1}var gh=function(){return function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).handler=function(t,e,r){var i=r.pointerType===Sf,o=r.pointerType===jf;if(!(o&&r.sourceCapabilities&&r.sourceCapabilities.firesTouchEvents)){if(i)dh.call(uf(uf(n)),e,r);else if(o&&yh.call(uf(uf(n)),r))return;n.callback(t,e,r)}},n.touch=new sh(n.manager,n.handler),n.mouse=new ph(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return af(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(Kf)}();function mh(t,e,r){return!!Array.isArray(t)&&(Cf(t,r[e],r),!0)}var bh=32,_h=1;function wh(t,e){var r=e.manager;return r?r.get(t):t}function Eh(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Th=function(){function t(t){void 0===t&&(t={}),this.options=of({enable:!0},t),this.id=_h++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return cf(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if(mh(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=wh(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return mh(t,"dropRecognizeWith",this)||(t=wh(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if(mh(t,"requireFailure",this))return this;var e=this.requireFail;return-1===Qf(e,t=wh(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if(mh(t,"dropRequireFailure",this))return this;t=wh(t,this);var e=Qf(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,r=this.state;function n(r){e.manager.emit(r,t)}r<8&&n(e.options.event+Eh(r)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),r>=8&&n(e.options.event+Eh(r))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=bh},e.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},e.recognize=function(t){var e=cf({},t);if(!Mf(this.options.enable,[this,e]))return this.reset(),void(this.state=bh);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},e.process=function(t){},e.getTouchAction=function(){},e.reset=function(){},t}(),Oh=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,of({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},e))||this).pTime=!1,r.pCenter=!1,r._timer=null,r._input=null,r.count=0,r}af(e,t);var r=e.prototype;return r.getTouchAction=function(){return[_f]},r.process=function(t){var e=this,r=this.options,n=t.pointers.length===r.pointers,i=t.distance<r.threshold,o=t.deltaTime<r.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 a=!this.pTime||t.timeStamp-this.pTime<r.interval,u=!this.pCenter||Yf(this.pCenter,t.center)<r.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,u&&a?this.count+=1:this.count=1,this._input=t,0===this.count%r.taps)return this.hasRequireFailures()?(this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),r.interval),2):8}return bh},r.failTimeout=function(){var t=this;return this._timer=setTimeout((function(){t.state=bh}),this.options.interval),bh},r.reset=function(){clearTimeout(this._timer)},r.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(Th),xh=function(t){function e(e){return void 0===e&&(e={}),t.call(this,of({pointers:1},e))||this}af(e,t);var r=e.prototype;return r.attrTest=function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},r.process=function(t){var e=this.state,r=t.eventType,n=6&e,i=this.attrTest(t);return n&&(8&r||!i)?16|e:n||i?4&r?8|e:2&e?4|e:2:bh},e}(Th);function kh(t){return t===If?"down":8===t?"up":2===t?"left":4===t?"right":""}var Ah=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,of({event:"pan",threshold:10,pointers:1,direction:30},e))||this).pX=null,r.pY=null,r}af(e,t);var r=e.prototype;return r.getTouchAction=function(){var t=this.options.direction,e=[];return 6&t&&e.push(Tf),t&Pf&&e.push(Ef),e},r.directionTest=function(t){var e=this.options,r=!0,n=t.distance,i=t.direction,o=t.deltaX,a=t.deltaY;return i&e.direction||(6&e.direction?(i=0===o?1:o<0?2:4,r=o!==this.pX,n=Math.abs(t.deltaX)):(i=0===a?1:a<0?8:If,r=a!==this.pY,n=Math.abs(t.deltaY))),t.direction=i,r&&n>e.threshold&&i&e.direction},r.attrTest=function(t){return xh.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},r.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var r=kh(e.direction);r&&(e.additionalEvent=this.options.event+r),t.prototype.emit.call(this,e)},e}(xh),Sh=function(t){function e(e){return void 0===e&&(e={}),t.call(this,of({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},e))||this}af(e,t);var r=e.prototype;return r.getTouchAction=function(){return Ah.prototype.getTouchAction.call(this)},r.attrTest=function(e){var r,n=this.options.direction;return 30&n?r=e.overallVelocity:6&n?r=e.overallVelocityX:n&Pf&&(r=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&pf(r)>this.options.velocity&&4&e.eventType},r.emit=function(t){var e=kh(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(xh),jh=function(t){function e(e){return void 0===e&&(e={}),t.call(this,of({event:"pinch",threshold:0,pointers:2},e))||this}af(e,t);var r=e.prototype;return r.getTouchAction=function(){return[wf]},r.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},r.emit=function(e){if(1!==e.scale){var r=e.scale<1?"in":"out";e.additionalEvent=this.options.event+r}t.prototype.emit.call(this,e)},e}(xh),Ih=function(t){function e(e){return void 0===e&&(e={}),t.call(this,of({event:"rotate",threshold:0,pointers:2},e))||this}af(e,t);var r=e.prototype;return r.getTouchAction=function(){return[wf]},r.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)},e}(xh),Ph=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,of({event:"press",pointers:1,time:251,threshold:9},e))||this)._timer=null,r._input=null,r}af(e,t);var r=e.prototype;return r.getTouchAction=function(){return[bf]},r.process=function(t){var e=this,r=this.options,n=t.pointers.length===r.pointers,i=t.distance<r.threshold,o=t.deltaTime>r.time;if(this._input=t,!i||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),r.time);else if(4&t.eventType)return 8;return bh},r.reset=function(){clearTimeout(this._timer)},r.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=vf(),this.manager.emit(this.options.event,this._input)))},e}(Th),Dh={domEvents:!1,touchAction:mf,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Lh=[[Ih,{enable:!1}],[jh,{enable:!1},["rotate"]],[Sh,{direction:6}],[Ah,{direction:6},["swipe"]],[Oh],[Oh,{event:"doubletap",taps:2},["tap"]],[Ph]];function Ch(t,e){var r,n=t.element;n.style&&(Cf(t.options.cssProps,(function(i,o){r=df(n.style,o),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""})),e||(t.oldCssProps={}))}var Mh=function(){function t(t,e){var r,n=this;this.options=cf({},Dh,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((r=this).options.inputClass||(kf?nh:Af?sh:xf?gh:ph))(r,Gf),this.touchAction=new Rf(this,this.options.touchAction),Ch(this,!0),Cf(this.options.recognizers,(function(t){var e=n.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return cf(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?2:1},e.recognize=function(t){var e=this.session;if(!e.stopped){var r;this.touchAction.preventDefaults(t);var n=this.recognizers,i=e.curRecognizer;(!i||i&&8&i.state)&&(e.curRecognizer=null,i=null);for(var o=0;o<n.length;)r=n[o],2===e.stopped||i&&r!==i&&!r.canRecognizeWith(i)?r.reset():r.recognize(t),!i&&14&r.state&&(e.curRecognizer=r,i=r),o++}},e.get=function(t){if(t instanceof Th)return t;for(var e=this.recognizers,r=0;r<e.length;r++)if(e[r].options.event===t)return e[r];return null},e.add=function(t){if(mh(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},e.remove=function(t){if(mh(t,"remove",this))return this;var e=this.get(t);if(t){var r=this.recognizers,n=Qf(r,e);-1!==n&&(r.splice(n,1),this.touchAction.update())}return this},e.on=function(t,e){if(void 0===t||void 0===e)return this;var r=this.handlers;return Cf(Hf(t),(function(t){r[t]=r[t]||[],r[t].push(e)})),this},e.off=function(t,e){if(void 0===t)return this;var r=this.handlers;return Cf(Hf(t),(function(t){e?r[t]&&r[t].splice(Qf(r[t],e),1):delete r[t]})),this},e.emit=function(t,e){this.options.domEvents&&function(t,e){var r=document.createEvent("Event");r.initEvent(t,!0,!0),r.gesture=e,e.target.dispatchEvent(r)}(t,e);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<r.length;)r[n](e),n++}},e.destroy=function(){this.element&&Ch(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),Nh={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Rh="touchstart",Fh="touchstart touchmove touchend touchcancel",zh=function(t){function e(){var r,n=e.prototype;return n.evTarget=Rh,n.evWin=Fh,(r=t.apply(this,arguments)||this).started=!1,r}return af(e,t),e.prototype.handler=function(t){var e=Nh[t.type];if(1===e&&(this.started=!0),this.started){var r=qh.call(this,t,e);12&e&&r[0].length-r[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:Sf,srcEvent:t})}},e}(Kf);function qh(t,e){var r=ih(t.touches),n=ih(t.changedTouches);return 12&e&&(r=oh(r.concat(n),"identifier",!0)),[r,n]}function Yh(t,e,r){var n="DEPRECATED METHOD: "+e+"\n"+r+" AT \n";return function(){var e=new Error("get-stack-trace"),r=e&&e.stack?e.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,r),t.apply(this,arguments)}}var Xh=Yh((function(t,e,r){for(var n=Object.keys(e),i=0;i<n.length;)(!r||r&&void 0===t[n[i]])&&(t[n[i]]=e[n[i]]),i++;return t}),"extend","Use `assign`."),Wh=Yh((function(t,e){return Xh(t,e,!0)}),"merge","Use `assign`.");function Uh(t,e,r){var n,i=e.prototype;(n=t.prototype=Object.create(i)).constructor=t,n._super=i,r&&cf(n,r)}function Vh(t,e){return function(){return t.apply(e,arguments)}}var Gh=function(){var t=function(t,e){return void 0===e&&(e={}),new Mh(t,of({recognizers:Lh.concat()},e))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=If,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=Pf,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=If,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=bh,t.Manager=Mh,t.Input=Kf,t.TouchAction=Rf,t.TouchInput=sh,t.MouseInput=ph,t.PointerEventInput=nh,t.TouchMouseInput=gh,t.SingleTouchInput=zh,t.Recognizer=Th,t.AttrRecognizer=xh,t.Tap=Oh,t.Pan=Ah,t.Swipe=Sh,t.Pinch=jh,t.Rotate=Ih,t.Press=Ph,t.on=$f,t.off=Bf,t.each=Cf,t.merge=Wh,t.extend=Xh,t.bindFn=Vh,t.assign=cf,t.inherit=Uh,t.bindFn=Vh,t.prefixed=df,t.toArray=ih,t.inArray=Qf,t.uniqueArray=oh,t.splitStr=Hf,t.boolOrFn=Mf,t.hasParent=Ff,t.addEventListeners=$f,t.removeEventListeners=Bf,t.defaults=cf({},Dh,{preset:Lh}),t}();function Hh(t,e){var r=void 0!==Zs&&ha(t)||t["@@iterator"];if(!r){if(oc(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return $h(t,e);var n=nc(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return $o(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $h(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function $h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Bh=Zs("DELETE");function Jh(){var t=Kh.apply(void 0,arguments);return Zh(t),t}function Kh(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e.length<2)return e[0];var n;if(e.length>2)return Kh.apply(void 0,rc(n=[Jh(e[0],e[1])]).call(n,Qs(nc(e).call(e,2))));var i,o=e[0],a=e[1],u=Hh(ic(a));try{for(u.s();!(i=u.n()).done;){var s=i.value;Object.prototype.propertyIsEnumerable.call(a,s)&&(a[s]===Bh?delete o[s]:null===o[s]||null===a[s]||"object"!==Ks(o[s])||"object"!==Ks(a[s])||oc(o[s])||oc(a[s])?o[s]=Qh(a[s]):o[s]=Kh(o[s],a[s]))}}catch(t){u.e(t)}finally{u.f()}return o}function Qh(t){return oc(t)?Or(t).call(t,(function(t){return Qh(t)})):"object"===Ks(t)&&null!==t?Kh({},t):t}function Zh(t){for(var e=0,r=sc(t);e<r.length;e++){var n=r[e];t[n]===Bh?delete t[n]:"object"===Ks(t[n])&&null!==t[n]&&Zh(t[n])}}var tp="undefined"!=typeof window?window.Hammer||Gh:function(){return{on:t=function(){},off:t,destroy:t,emit:t,get:function(){return{set:t}}};var t};function ep(t){var e,r=this;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((function(){r._dom.overlay.parentNode.removeChild(r._dom.overlay)}));var n=tp(this._dom.overlay);n.on("tap",Ie(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push((function(){n.destroy()}));var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];dc(i).call(i,(function(t){n.on(t,(function(t){t.srcEvent.stopPropagation()}))})),document&&document.body&&(this._onClick=function(e){(function(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1})(e.target,t)||r.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push((function(){document.body.removeEventListener("click",r._onClick)}))),this._escListener=function(t){("key"in t?"Escape"===t.key:27===t.keyCode)&&r.deactivate()}}nf(ep.prototype),ep.current=null,ep.prototype.destroy=function(){var t,e;this.deactivate();var r,n=Hh(wc(t=Nc(e=this._cleanupQueue).call(e,0)).call(t));try{for(n.s();!(r=n.n()).done;){(0,r.value)()}}catch(t){n.e(t)}finally{n.f()}},ep.prototype.activate=function(){ep.current&&ep.current.deactivate(),ep.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)},ep.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")},ep.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var rp=pe,np=Vt,ip=Jt,op=x,ap=_i,up=xe,sp=u,cp=I("Reflect","construct"),lp=sp((function(){function t(){}return!(cp((function(){}),[],t)instanceof t)})),fp=!sp((function(){cp((function(){}))})),hp=lp||fp;rp({target:"Reflect",stat:!0,forced:hp,sham:hp},{construct:function(t,e){np(t),ip(e);var r=arguments.length<3?t:np(arguments[2]);if(fp&&!lp)return cp(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(up.apply(t,n))}var i=r.prototype,o=ap(op(i)?i:Object.prototype),a=Function.apply.call(t,o,e);return op(a)?a:o}});var pp=k.Reflect.construct,vp=Rl;pe({target:"Object",stat:!0},{setPrototypeOf:Hi});var dp=k.Object.setPrototypeOf;function yp(t,e){return(yp=dp||function(t,e){return t.__proto__=e,t})(t,e)}function gp(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=vp(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yp(t,e)}function mp(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bp(t,e){if(e&&("object"===Ks(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return mp(t)}var _p=al;function wp(t){return(wp=dp?_p:function(t){return t.__proto__||_p(t)})(t)}var Ep={exports:{}};!function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,o=Object.create(i.prototype),a=new S(n||[]);return o._invoke=function(t,e,r){var n=f;return function(i,o){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===i)throw o;return I()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=x(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?v:h,s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=v,r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",d={};function y(){}function g(){}function m(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(j([])));w&&w!==r&&n.call(w,o)&&(b=w);var E=m.prototype=y.prototype=Object.create(b);function T(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function x(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,x(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=l(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:I}}function I(){return{value:e,done:!0}}return g.prototype=E.constructor=m,m.constructor=g,g.displayName=s(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},T(O.prototype),O.prototype[a]=function(){return this},t.AsyncIterator=O,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new O(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(E),s(E,u,"Generator"),E[o]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=j,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return u.type="throw",u.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}(Ep);var Tp=Ep.exports,Op={exports:{}},xp=!u((function(){return Object.isExtensible(Object.preventExtensions({}))})),kp=pe,Ap=on,Sp=x,jp=rt,Ip=$t.f,Pp=pa,Dp=ya,Lp=xp,Cp=!1,Mp=ot("meta"),Np=0,Rp=Object.isExtensible||function(){return!0},Fp=function(t){Ip(t,Mp,{value:{objectID:"O"+Np++,weakData:{}}})},zp=Op.exports={enable:function(){zp.enable=function(){},Cp=!0;var t=Pp.f,e=[].splice,r={};r[Mp]=1,t(r).length&&(Pp.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===Mp){e.call(n,i,1);break}return n},kp({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Dp.f}))},fastKey:function(t,e){if(!Sp(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!jp(t,Mp)){if(!Rp(t))return"F";if(!e)return"E";Fp(t)}return t[Mp].objectID},getWeakData:function(t,e){if(!jp(t,Mp)){if(!Rp(t))return!0;if(!e)return!1;Fp(t)}return t[Mp].weakData},onFreeze:function(t){return Lp&&Cp&&Rp(t)&&!jp(t,Mp)&&Fp(t),t}};Ap[Mp]=!0;var qp=Jt,Yp=ko,Xp=Ne,Wp=Ht,Up=Co,Vp=_o,Gp=function(t,e){this.stopped=t,this.result=e},Hp=function(t,e,r){var n,i,o,a,u,s,c,l=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),v=Wp(e,l,1+f+p),d=function(t){return n&&Vp(n),new Gp(!0,t)},y=function(t){return f?(qp(t),p?v(t[0],t[1],d):v(t[0],t[1])):p?v(t,d):v(t)};if(h)n=t;else{if("function"!=typeof(i=Up(t)))throw TypeError("Target is not iterable");if(Yp(i)){for(o=0,a=Xp(t.length);a>o;o++)if((u=y(t[o]))&&u instanceof Gp)return u;return new Gp(!1)}n=i.call(t)}for(s=n.next;!(c=s.call(n)).done;){try{u=y(c.value)}catch(t){throw Vp(n),t}if("object"==typeof u&&u&&u instanceof Gp)return u}return new Gp(!1)},$p=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Bp=pe,Jp=o,Kp=Op.exports,Qp=u,Zp=ie,tv=Hp,ev=$p,rv=x,nv=Ni,iv=$t.f,ov=hr.forEach,av=s,uv=Tn.set,sv=Tn.getterFor,cv=function(t,e,r){var n,i=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),a=i?"set":"add",u=Jp[t],s=u&&u.prototype,c={};if(av&&"function"==typeof u&&(o||s.forEach&&!Qp((function(){(new u).entries().next()})))){n=e((function(e,r){uv(ev(e,n,t),{type:t,collection:new u}),null!=r&&tv(r,e[a],{that:e,AS_ENTRIES:i})}));var l=sv(t);ov(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in s)||o&&"clear"==t||Zp(n.prototype,t,(function(r,n){var i=l(this).collection;if(!e&&o&&!rv(r))return"get"==t&&void 0;var a=i[t](0===r?0:r,n);return e?this:a}))})),o||iv(n.prototype,"size",{configurable:!0,get:function(){return l(this).collection.size}})}else n=r.getConstructor(e,t,i,a),Kp.enable();return nv(n,t,!1,!0),c[t]=n,Bp({global:!0,forced:!0},c),o||r.setStrong(n,t,i),n},lv=Bi,fv=I,hv=$t,pv=s,vv=dt("species"),dv=$t.f,yv=_i,gv=function(t,e,r){for(var n in e)r&&r.unsafe&&t[n]?t[n]=e[n]:lv(t,n,e[n],r);return t},mv=Ht,bv=$p,_v=Hp,wv=lo,Ev=function(t){var e=fv(t),r=hv.f;pv&&e&&!e[vv]&&r(e,vv,{configurable:!0,get:function(){return this}})},Tv=s,Ov=Op.exports.fastKey,xv=Tn.set,kv=Tn.getterFor,Av={getConstructor:function(t,e,r,n){var i=t((function(t,o){bv(t,i,e),xv(t,{type:e,index:yv(null),first:void 0,last:void 0,size:0}),Tv||(t.size=0),null!=o&&_v(o,t[n],{that:t,AS_ENTRIES:r})})),o=kv(e),a=function(t,e,r){var n,i,a=o(t),s=u(t,e);return s?s.value=r:(a.last=s={index:i=Ov(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=s),n&&(n.next=s),Tv?a.size++:t.size++,"F"!==i&&(a.index[i]=s)),t},u=function(t,e){var r,n=o(t),i=Ov(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return gv(i.prototype,{clear:function(){for(var t=o(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,Tv?t.size=0:this.size=0},delete:function(t){var e=this,r=o(e),n=u(e,t);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first==n&&(r.first=i),r.last==n&&(r.last=a),Tv?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=o(this),n=mv(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),gv(i.prototype,r?{get:function(t){var e=u(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),Tv&&dv(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(t,e,r){var n=e+" Iterator",i=kv(e),o=kv(n);wv(t,e,(function(t,e){xv(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),Ev(e)}};cv("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Av);var Sv=k.Map,jv=hr.some;pe({target:"Array",proto:!0,forced:!Ue("some")},{some:function(t){return jv(this,t,arguments.length>1?arguments[1]:void 0)}});var Iv=Ae("Array").some,Pv=Array.prototype,Dv=function(t){var e=t.some;return t===Pv||t instanceof Array&&e===Pv.some?Iv:e},Lv=Ae("Array").keys,Cv=Ai,Mv=Array.prototype,Nv={DOMTokenList:!0,NodeList:!0},Rv=function(t){var e=t.keys;return t===Mv||t instanceof Array&&e===Mv.keys||Nv.hasOwnProperty(Cv(t))?Lv:e},Fv=Math.floor,zv=function(t,e){var r=t.length,n=Fv(r/2);return r<8?qv(t,e):Yv(zv(t.slice(0,n),e),zv(t.slice(n),e),e)},qv=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},Yv=function(t,e,r){for(var n=t.length,i=e.length,o=0,a=0,u=[];o<n||a<i;)o<n&&a<i?u.push(r(t[o],e[a])<=0?t[o++]:e[a++]):u.push(o<n?t[o++]:e[a++]);return u},Xv=zv,Wv=P.match(/firefox\/(\d+)/i),Uv=!!Wv&&+Wv[1],Vv=/MSIE|Trident/.test(P),Gv=P.match(/AppleWebKit\/(\d+)\./),Hv=!!Gv&&+Gv[1],$v=pe,Bv=Vt,Jv=Z,Kv=Ne,Qv=qr,Zv=u,td=Xv,ed=Ue,rd=Uv,nd=Vv,id=F,od=Hv,ad=[],ud=ad.sort,sd=Zv((function(){ad.sort(void 0)})),cd=Zv((function(){ad.sort(null)})),ld=ed("sort"),fd=!Zv((function(){if(id)return id<70;if(!(rd&&rd>3)){if(nd)return!0;if(od)return od<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)ad.push({k:e+n,v:r})}for(ad.sort((function(t,e){return e.v-t.v})),n=0;n<ad.length;n++)e=ad[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));$v({target:"Array",proto:!0,forced:sd||!cd||!ld||!fd},{sort:function(t){void 0!==t&&Bv(t);var e=Jv(this);if(fd)return void 0===t?ud.call(e):ud.call(e,t);var r,n,i=[],o=Kv(e.length);for(n=0;n<o;n++)n in e&&i.push(e[n]);for(r=(i=td(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:Qv(e)>Qv(r)?1:-1}}(t))).length,n=0;n<r;)e[n]=i[n++];for(;n<o;)delete e[n++];return e}});var hd,pd=Ae("Array").sort,vd=Array.prototype,dd=function(t){var e=t.sort;return t===vd||t instanceof Array&&e===vd.sort?pd:e},yd=Ae("Array").values,gd=Ai,md=Array.prototype,bd={DOMTokenList:!0,NodeList:!0},_d=function(t){var e=t.values;return t===md||t instanceof Array&&e===md.values||bd.hasOwnProperty(gd(t))?yd:e},wd=Bs,Ed=Ae("Array").entries,Td=Ai,Od=Array.prototype,xd={DOMTokenList:!0,NodeList:!0},kd=function(t){var e=t.entries;return t===Od||t instanceof Array&&e===Od.entries||xd.hasOwnProperty(Td(t))?Ed:e},Ad=new Uint8Array(16);function Sd(){if(!hd&&!(hd="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return hd(Ad)}var jd=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Id(t){return"string"==typeof t&&jd.test(t)}for(var Pd=[],Dd=0;Dd<256;++Dd)Pd.push((Dd+256).toString(16).substr(1));function Ld(t,e,r){var n=(t=t||{}).random||(t.rng||Sd)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(var i=0;i<16;++i)e[r+i]=n[i];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(Pd[t[e+0]]+Pd[t[e+1]]+Pd[t[e+2]]+Pd[t[e+3]]+"-"+Pd[t[e+4]]+Pd[t[e+5]]+"-"+Pd[t[e+6]]+Pd[t[e+7]]+"-"+Pd[t[e+8]]+Pd[t[e+9]]+"-"+Pd[t[e+10]]+Pd[t[e+11]]+Pd[t[e+12]]+Pd[t[e+13]]+Pd[t[e+14]]+Pd[t[e+15]]).toLowerCase();if(!Id(r))throw TypeError("Stringified UUID is invalid");return r}(n)}function Cd(t){return"string"==typeof t||"number"==typeof t}var Md=function(){function t(r){e(this,t),this._queue=[],this._timeout=null,this._extended=null,this.delay=null,this.max=1/0,this.setOptions(r)}return be(t,[{key:"setOptions",value:function(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var t=this._extended.object,e=this._extended.methods,r=0;r<e.length;r++){var n=e[r];n.original?t[n.name]=n.original:delete t[n.name]}this._extended=null}}},{key:"replace",value:function(t,e){var r=this,n=t[e];if(!n)throw new Error("Method "+e+" undefined");t[e]=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];r.queue({args:e,fn:n,context:this})}}},{key:"queue",value:function(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var t=this;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=Ql((function(){t.flush()}),this.delay))}},{key:"flush",value:function(){var t,e;dc(t=Nc(e=this._queue).call(e,0)).call(t,(function(t){t.fn.apply(t.context||t.fn,t.args||[])}))}}],[{key:"extend",value:function(e,r){var n=new t(r);if(void 0!==e.flush)throw new Error("Target object already has a property flush");e.flush=function(){n.flush()};var i=[{name:"flush",original:void 0}];if(r&&r.replace)for(var o=0;o<r.replace.length;o++){var a=r.replace[o];i.push({name:a,original:e[a]}),n.replace(e,a)}return n._extended={object:e,methods:i},n}}]),t}(),Nd=function(){function t(){e(this,t),this._subscribers={"*":[],add:[],remove:[],update:[]},this.subscribe=t.prototype.on,this.unsubscribe=t.prototype.off}return be(t,[{key:"_trigger",value:function(t,e,r){var n,i;if("*"===t)throw new Error("Cannot trigger event *");dc(n=rc(i=[]).call(i,Qs(this._subscribers[t]),Qs(this._subscribers["*"]))).call(n,(function(n){n(t,e,null!=r?r:null)}))}},{key:"on",value:function(t,e){"function"==typeof e&&this._subscribers[t].push(e)}},{key:"off",value:function(t,e){var r;this._subscribers[t]=_r(r=this._subscribers[t]).call(r,(function(t){return t!==e}))}}]),t}();cv("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Av);var Rd=k.Set,Fd=Jt,zd=Co,qd=function(t){var e=zd(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return Fd(e.call(t))};function Yd(t,e){var r=void 0!==Zs&&ha(t)||t["@@iterator"];if(!r){if(oc(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return Xd(t,e);var n=nc(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return $o(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xd(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function Xd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Wd=function(t){function r(t){e(this,r),this._pairs=t}return be(r,[{key:t,value:Tp.mark((function t(){var e,r,n,i,o;return Tp.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Yd(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=$s(r.value,2),i=n[0],o=n[1],t.next=7,[i,o];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"entries",value:Tp.mark((function t(){var e,r,n,i,o;return Tp.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Yd(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=$s(r.value,2),i=n[0],o=n[1],t.next=7,[i,o];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"keys",value:Tp.mark((function t(){var e,r,n,i;return Tp.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Yd(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=$s(r.value,1),i=n[0],t.next=7,i;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"values",value:Tp.mark((function t(){var e,r,n,i;return Tp.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Yd(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=$s(r.value,2),i=n[1],t.next=7,i;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"toIdArray",value:function(){var t;return Or(t=Qs(this._pairs)).call(t,(function(t){return t[0]}))}},{key:"toItemArray",value:function(){var t;return Or(t=Qs(this._pairs)).call(t,(function(t){return t[1]}))}},{key:"toEntryArray",value:function(){return Qs(this._pairs)}},{key:"toObjectMap",value:function(){var t,e=Fl(null),r=Yd(this._pairs);try{for(r.s();!(t=r.n()).done;){var n=$s(t.value,2),i=n[0],o=n[1];e[i]=o}}catch(t){r.e(t)}finally{r.f()}return e}},{key:"toMap",value:function(){return new Sv(this._pairs)}},{key:"toIdSet",value:function(){return new Rd(this.toIdArray())}},{key:"toItemSet",value:function(){return new Rd(this.toItemArray())}},{key:"cache",value:function(){return new r(Qs(this._pairs))}},{key:"distinct",value:function(t){var e,r=new Rd,n=Yd(this._pairs);try{for(n.s();!(e=n.n()).done;){var i=$s(e.value,2),o=i[0],a=i[1];r.add(t(a,o))}}catch(t){n.e(t)}finally{n.f()}return r}},{key:"filter",value:function(t){var e=this._pairs;return new r(ss({},wd,Tp.mark((function r(){var n,i,o,a,u;return Tp.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=Yd(e),r.prev=1,n.s();case 3:if((i=n.n()).done){r.next=10;break}if(o=$s(i.value,2),a=o[0],u=o[1],!t(u,a)){r.next=8;break}return r.next=8,[a,u];case 8:r.next=3;break;case 10:r.next=15;break;case 12:r.prev=12,r.t0=r.catch(1),n.e(r.t0);case 15:return r.prev=15,n.f(),r.finish(15);case 18:case"end":return r.stop()}}),r,null,[[1,12,15,18]])}))))}},{key:"forEach",value:function(t){var e,r=Yd(this._pairs);try{for(r.s();!(e=r.n()).done;){var n=$s(e.value,2),i=n[0];t(n[1],i)}}catch(t){r.e(t)}finally{r.f()}}},{key:"map",value:function(t){var e=this._pairs;return new r(ss({},wd,Tp.mark((function r(){var n,i,o,a,u;return Tp.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=Yd(e),r.prev=1,n.s();case 3:if((i=n.n()).done){r.next=9;break}return o=$s(i.value,2),a=o[0],u=o[1],r.next=7,[a,t(u,a)];case 7:r.next=3;break;case 9:r.next=14;break;case 11:r.prev=11,r.t0=r.catch(1),n.e(r.t0);case 14:return r.prev=14,n.f(),r.finish(14);case 17:case"end":return r.stop()}}),r,null,[[1,11,14,17]])}))))}},{key:"max",value:function(t){var e=qd(this._pairs),r=e.next();if(r.done)return null;for(var n=r.value[1],i=t(r.value[1],r.value[0]);!(r=e.next()).done;){var o=$s(r.value,2),a=o[0],u=o[1],s=t(u,a);s>i&&(i=s,n=u)}return n}},{key:"min",value:function(t){var e=qd(this._pairs),r=e.next();if(r.done)return null;for(var n=r.value[1],i=t(r.value[1],r.value[0]);!(r=e.next()).done;){var o=$s(r.value,2),a=o[0],u=o[1],s=t(u,a);s<i&&(i=s,n=u)}return n}},{key:"reduce",value:function(t,e){var r,n=Yd(this._pairs);try{for(n.s();!(r=n.n()).done;){var i=$s(r.value,2),o=i[0];e=t(e,i[1],o)}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"sort",value:function(t){var e=this;return new r(ss({},wd,(function(){var r;return qd(dd(r=Qs(e._pairs)).call(r,(function(e,r){var n=$s(e,2),i=n[0],o=n[1],a=$s(r,2),u=a[0],s=a[1];return t(o,s,i,u)})))})))}}]),r}(wd);function Ud(t,e){var r=sc(t);if(Ru){var n=Ru(t);e&&(n=_r(n).call(n,(function(e){return Hu(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vd(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)dc(r=Ud(Object(n),!0)).call(r,(function(e){ss(t,e,n[e])}));else if(rs)as(t,rs(n));else{var i;dc(i=Ud(Object(n))).call(i,(function(e){us(t,e,Hu(n,e))}))}}return t}function Gd(t,e){var r=void 0!==Zs&&ha(t)||t["@@iterator"];if(!r){if(oc(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return Hd(t,e);var n=nc(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return $o(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hd(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function Hd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $d(t){var e=function(){if("undefined"==typeof Reflect||!pp)return!1;if(pp.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(pp(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=wp(t);if(e){var i=wp(this).constructor;r=pp(n,arguments,i)}else r=n.apply(this,arguments);return bp(this,r)}}var Bd=function(t){gp(n,t);var r=$d(n);function n(t,i){var o;return e(this,n),(o=r.call(this))._queue=null,t&&!oc(t)&&(i=t,t=[]),o._options=i||{},o._data=new Sv,o.length=0,o._idProp=o._options.fieldId||"id",t&&t.length&&o.add(t),o.setOptions(i),o}return be(n,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Md.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"===Ks(t.queue)&&this._queue.setOptions(t.queue)))}},{key:"add",value:function(t,e){var r,n=this,i=[];if(oc(t)){var o=Or(t).call(t,(function(t){return t[n._idProp]}));if(Dv(o).call(o,(function(t){return n._data.has(t)})))throw new Error("A duplicate id was found in the parameter array.");for(var a=0,u=t.length;a<u;a++)r=this._addItem(t[a]),i.push(r)}else{if(!t||"object"!==Ks(t))throw new Error("Unknown dataType");r=this._addItem(t),i.push(r)}return i.length&&this._trigger("add",{items:i},e),i}},{key:"update",value:function(t,e){var r=this,n=[],i=[],o=[],a=[],u=this._idProp,s=function(t){var e=t[u];if(null!=e&&r._data.has(e)){var s=t,c=Hc({},r._data.get(e)),l=r._updateItem(s);i.push(l),a.push(s),o.push(c)}else{var f=r._addItem(t);n.push(f)}};if(oc(t))for(var c=0,l=t.length;c<l;c++)t[c]&&"object"===Ks(t[c])?s(t[c]):console.warn("Ignoring input item, which is not an object at index "+c);else{if(!t||"object"!==Ks(t))throw new Error("Unknown dataType");s(t)}if(n.length&&this._trigger("add",{items:n},e),i.length){var f={items:i,oldData:o,data:a};this._trigger("update",f,e)}return rc(n).call(n,i)}},{key:"updateOnly",value:function(t,e){var r,n=this;oc(t)||(t=[t]);var i=Or(r=Or(t).call(t,(function(t){var e=n._data.get(t[n._idProp]);if(null==e)throw new Error("Updating non-existent items is not allowed.");return{oldData:e,update:t}}))).call(r,(function(t){var e=t.oldData,r=t.update,i=e[n._idProp],o=function(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Jh.apply(void 0,rc(e=[{},t]).call(e,n))}(e,r);return n._data.set(i,o),{id:i,oldData:e,updatedData:o}}));if(i.length){var o={items:Or(i).call(i,(function(t){return t.id})),oldData:Or(i).call(i,(function(t){return t.oldData})),data:Or(i).call(i,(function(t){return t.updatedData}))};return this._trigger("update",o,e),o.items}return[]}},{key:"get",value:function(t,e){var r=void 0,n=void 0,i=void 0;Cd(t)?(r=t,i=e):oc(t)?(n=t,i=e):i=t;var o,a=i&&"Object"===i.returnType?"Object":"Array",u=i&&_r(i),s=[],c=void 0,l=void 0,f=void 0;if(null!=r)(c=this._data.get(r))&&u&&!u(c)&&(c=void 0);else if(null!=n)for(var h=0,p=n.length;h<p;h++)null==(c=this._data.get(n[h]))||u&&!u(c)||s.push(c);else for(var v,d=0,y=(l=Qs(Rv(v=this._data).call(v))).length;d<y;d++)f=l[d],null==(c=this._data.get(f))||u&&!u(c)||s.push(c);if(i&&i.order&&null==r&&this._sort(s,i.order),i&&i.fields){var g=i.fields;if(null!=r&&null!=c)c=this._filterFields(c,g);else for(var m=0,b=s.length;m<b;m++)s[m]=this._filterFields(s[m],g)}if("Object"==a){for(var _={},w=0,E=s.length;w<E;w++){var T=s[w];_[T[this._idProp]]=T}return _}return null!=r?null!==(o=c)&&void 0!==o?o:null:s}},{key:"getIds",value:function(t){var e=this._data,r=t&&_r(t),n=t&&t.order,i=Qs(Rv(e).call(e)),o=[];if(r)if(n){for(var a=[],u=0,s=i.length;u<s;u++){var c=i[u],l=this._data.get(c);null!=l&&r(l)&&a.push(l)}this._sort(a,n);for(var f=0,h=a.length;f<h;f++)o.push(a[f][this._idProp])}else for(var p=0,v=i.length;p<v;p++){var d=i[p],y=this._data.get(d);null!=y&&r(y)&&o.push(y[this._idProp])}else if(n){for(var g=[],m=0,b=i.length;m<b;m++){var _=i[m];g.push(e.get(_))}this._sort(g,n);for(var w=0,E=g.length;w<E;w++)o.push(g[w][this._idProp])}else for(var T=0,O=i.length;T<O;T++){var x=i[T],k=e.get(x);null!=k&&o.push(k[this._idProp])}return o}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(t,e){var r=e&&_r(e),n=this._data,i=Qs(Rv(n).call(n));if(e&&e.order)for(var o=this.get(e),a=0,u=o.length;a<u;a++){var s=o[a];t(s,s[this._idProp])}else for(var c=0,l=i.length;c<l;c++){var f=i[c],h=this._data.get(f);null==h||r&&!r(h)||t(h,f)}}},{key:"map",value:function(t,e){for(var r=e&&_r(e),n=[],i=this._data,o=Qs(Rv(i).call(i)),a=0,u=o.length;a<u;a++){var s=o[a],c=this._data.get(s);null==c||r&&!r(c)||n.push(t(c,s))}return e&&e.order&&this._sort(n,e.order),n}},{key:"_filterFields",value:function(t,e){var r;return t?Ke(r=oc(e)?e:sc(e)).call(r,(function(e,r){return e[r]=t[r],e}),{}):t}},{key:"_sort",value:function(t,e){if("string"==typeof e){var r=e;dd(t).call(t,(function(t,e){var n=t[r],i=e[r];return n>i?1:n<i?-1:0}))}else{if("function"!=typeof e)throw new TypeError("Order must be a function or a string");dd(t).call(t,e)}}},{key:"remove",value:function(t,e){for(var r=[],n=[],i=oc(t)?t:[t],o=0,a=i.length;o<a;o++){var u=this._remove(i[o]);if(u){var s=u[this._idProp];null!=s&&(r.push(s),n.push(u))}}return r.length&&this._trigger("remove",{items:r,oldData:n},e),r}},{key:"_remove",value:function(t){var e;if(Cd(t)?e=t:t&&"object"===Ks(t)&&(e=t[this._idProp]),null!=e&&this._data.has(e)){var r=this._data.get(e)||null;return this._data.delete(e),--this.length,r}return null}},{key:"clear",value:function(t){for(var e,r=Qs(Rv(e=this._data).call(e)),n=[],i=0,o=r.length;i<o;i++)n.push(this._data.get(r[i]));return this._data.clear(),this.length=0,this._trigger("remove",{items:r,oldData:n},t),r}},{key:"max",value:function(t){var e,r,n=null,i=null,o=Gd(_d(e=this._data).call(e));try{for(o.s();!(r=o.n()).done;){var a=r.value,u=a[t];"number"==typeof u&&(null==i||u>i)&&(n=a,i=u)}}catch(t){o.e(t)}finally{o.f()}return n||null}},{key:"min",value:function(t){var e,r,n=null,i=null,o=Gd(_d(e=this._data).call(e));try{for(o.s();!(r=o.n()).done;){var a=r.value,u=a[t];"number"==typeof u&&(null==i||u<i)&&(n=a,i=u)}}catch(t){o.e(t)}finally{o.f()}return n||null}},{key:"distinct",value:function(t){for(var e=this._data,r=Qs(Rv(e).call(e)),n=[],i=0,o=0,a=r.length;o<a;o++){for(var u=r[o],s=e.get(u)[t],c=!1,l=0;l<i;l++)if(n[l]==s){c=!0;break}c||void 0===s||(n[i]=s,i++)}return n}},{key:"_addItem",value:function(t){var e=function(t,e){return null==t[e]&&(t[e]=Ld()),t}(t,this._idProp),r=e[this._idProp];if(this._data.has(r))throw new Error("Cannot add item: item with id "+r+" already exists");return this._data.set(r,e),++this.length,r}},{key:"_updateItem",value:function(t){var e=t[this._idProp];if(null==e)throw new Error("Cannot update item: item has no id (item: "+$l(t)+")");var r=this._data.get(e);if(!r)throw new Error("Cannot update item: no item with id "+e+" found");return this._data.set(e,Vd(Vd({},r),t)),e}},{key:"stream",value:function(t){if(t){var e=this._data;return new Wd(ss({},wd,Tp.mark((function r(){var n,i,o,a;return Tp.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=Gd(t),r.prev=1,n.s();case 3:if((i=n.n()).done){r.next=11;break}if(o=i.value,null==(a=e.get(o))){r.next=9;break}return r.next=9,[o,a];case 9:r.next=3;break;case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),n.e(r.t0);case 16:return r.prev=16,n.f(),r.finish(16);case 19:case"end":return r.stop()}}),r,null,[[1,13,16,19]])}))))}var r;return new Wd(ss({},wd,Ie(r=kd(this._data)).call(r,this._data)))}}]),n}(Nd);function Jd(t,e){var r=void 0!==Zs&&ha(t)||t["@@iterator"];if(!r){if(oc(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return Kd(t,e);var n=nc(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return $o(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kd(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function Kd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Qd(t){var e=function(){if("undefined"==typeof Reflect||!pp)return!1;if(pp.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(pp(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=wp(t);if(e){var i=wp(this).constructor;r=pp(n,arguments,i)}else r=n.apply(this,arguments);return bp(this,r)}}var Zd=function(t){gp(n,t);var r=Qd(n);function n(t,i){var o,a;return e(this,n),(a=r.call(this)).length=0,a._ids=new Rd,a._options=i||{},a._listener=Ie(o=a._onEvent).call(o,mp(a)),a.setData(t),a}return be(n,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(t){if(this._data){this._data.off&&this._data.off("*",this._listener);var e=this._data.getIds({filter:_r(this._options)}),r=this._data.get(e);this._ids.clear(),this.length=0,this._trigger("remove",{items:e,oldData:r})}if(null!=t){this._data=t;for(var n=this._data.getIds({filter:_r(this._options)}),i=0,o=n.length;i<o;i++){var a=n[i];this._ids.add(a)}this.length=n.length,this._trigger("add",{items:n})}else this._data=new Bd;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var t=this._data.getIds({filter:_r(this._options)}),e=Qs(this._ids),r={},n=[],i=[],o=[],a=0,u=t.length;a<u;a++){var s=t[a];r[s]=!0,this._ids.has(s)||(n.push(s),this._ids.add(s))}for(var c=0,l=e.length;c<l;c++){var f=e[c],h=this._data.get(f);null==h?console.error("If you see this, report it please."):r[f]||(i.push(f),o.push(h),this._ids.delete(f))}this.length+=n.length-i.length,n.length&&this._trigger("add",{items:n}),i.length&&this._trigger("remove",{items:i,oldData:o})}},{key:"get",value:function(t,e){if(null==this._data)return null;var r,n=null;Cd(t)||oc(t)?(n=t,r=e):r=t;var i=Hc({},this._options,r),o=_r(this._options),a=r&&_r(r);return o&&a&&(i.filter=function(t){return o(t)&&a(t)}),null==n?this._data.get(i):this._data.get(n,i)}},{key:"getIds",value:function(t){if(this._data.length){var e,r=_r(this._options),n=null!=t?_r(t):null;return e=n?r?function(t){return r(t)&&n(t)}:n:r,this._data.getIds({filter:e,order:t&&t.order})}return[]}},{key:"forEach",value:function(t,e){if(this._data){var r,n,i=_r(this._options),o=e&&_r(e);n=o?i?function(t){return i(t)&&o(t)}:o:i,dc(r=this._data).call(r,t,{filter:n,order:e&&e.order})}}},{key:"map",value:function(t,e){if(this._data){var r,n,i=_r(this._options),o=e&&_r(e);return n=o?i?function(t){return i(t)&&o(t)}:o:i,Or(r=this._data).call(r,t,{filter:n,order:e&&e.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(t){var e;return this._data.stream(t||ss({},wd,Ie(e=Rv(this._ids)).call(e,this._ids)))}},{key:"dispose",value:function(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);var e,r="This data view has already been disposed of.",i={get:function(){throw new Error(r)},set:function(){throw new Error(r)},configurable:!1},o=Jd(ic(n.prototype));try{for(o.s();!(e=o.n()).done;){var a=e.value;us(this,a,i)}}catch(t){o.e(t)}finally{o.f()}}},{key:"_onEvent",value:function(t,e,r){if(e&&e.items&&this._data){var n=e.items,i=[],o=[],a=[],u=[],s=[],c=[];switch(t){case"add":for(var l=0,f=n.length;l<f;l++){var h=n[l];this.get(h)&&(this._ids.add(h),i.push(h))}break;case"update":for(var p=0,v=n.length;p<v;p++){var d=n[p];this.get(d)?this._ids.has(d)?(o.push(d),s.push(e.data[p]),u.push(e.oldData[p])):(this._ids.add(d),i.push(d)):this._ids.has(d)&&(this._ids.delete(d),a.push(d),c.push(e.oldData[p]))}break;case"remove":for(var y=0,g=n.length;y<g;y++){var m=n[y];this._ids.has(m)&&(this._ids.delete(m),a.push(m),c.push(e.oldData[y]))}}this.length+=i.length-a.length,i.length&&this._trigger("add",{items:i},r),o.length&&this._trigger("update",{items:o,oldData:u,data:s},r),a.length&&this._trigger("remove",{items:a,oldData:c},r)}}}]),n}(Nd);function ty(t,e){return"object"===Ks(e)&&null!==e&&t===e.idProp&&"function"==typeof e.add&&"function"==typeof e.clear&&"function"==typeof e.distinct&&"function"==typeof dc(e)&&"function"==typeof e.get&&"function"==typeof e.getDataSet&&"function"==typeof e.getIds&&"number"==typeof e.length&&"function"==typeof Or(e)&&"function"==typeof e.max&&"function"==typeof e.min&&"function"==typeof e.off&&"function"==typeof e.on&&"function"==typeof e.remove&&"function"==typeof e.setOptions&&"function"==typeof e.stream&&"function"==typeof e.update&&"function"==typeof e.updateOnly}t.DELETE=Bh,t.DataSet=Bd,t.DataStream=Wd,t.DataView=Zd,t.Queue=Md,t.createNewDataPipeFrom=function(t){return new Fr(t)},t.isDataSetLike=ty,t.isDataViewLike=function(t,e){return"object"===Ks(e)&&null!==e&&t===e.idProp&&"function"==typeof dc(e)&&"function"==typeof e.get&&"function"==typeof e.getDataSet&&"function"==typeof e.getIds&&"number"==typeof e.length&&"function"==typeof Or(e)&&"function"==typeof e.off&&"function"==typeof e.on&&"function"==typeof e.stream&&ty(t,e.getDataSet())},Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
32
|
+
* Licensed under the MIT license */function mb(){return mb=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},mb.apply(this,arguments)}function bb(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function xb(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}yb="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign;var _b,wb=yb,Eb=["","webkit","Moz","MS","ms","o"],Tb="undefined"==typeof document?{style:{}}:document.createElement("div"),Ob="function",Sb=Math.round,kb=Math.abs,jb=Date.now;function Ab(t,e){for(var r,n,o=e[0].toUpperCase()+e.slice(1),i=0;i<Eb.length;){if((n=(r=Eb[i])?r+o:e)in t)return n;i++}}_b="undefined"==typeof window?{}:window;var Pb=Ab(Tb.style,"touchAction"),Ib=void 0!==Pb;var Db="compute",Cb="auto",Lb="manipulation",Rb="none",Mb="pan-x",Nb="pan-y",Fb=function(){if(!Ib)return!1;var t={},e=_b.CSS&&_b.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){return t[r]=!e||_b.CSS.supports("touch-action",r)})),t}(),zb="ontouchstart"in _b,qb=void 0!==Ab(_b,"PointerEvent"),Ub=zb&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Yb="touch",Wb="mouse",Gb=25,Vb=1,Xb=2,Bb=4,Hb=8,$b=1,Jb=2,Kb=4,Qb=8,Zb=16,tx=Jb|Kb,ex=Qb|Zb,rx=tx|ex,nx=["x","y"],ox=["clientX","clientY"];function ix(t,e,r){var n;if(t)if(t.forEach)t.forEach(e,r);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(r,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n,t)}function ax(t,e){return typeof t===Ob?t.apply(e&&e[0]||void 0,e):t}function ux(t,e){return t.indexOf(e)>-1}var sx=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===Db&&(t=this.compute()),Ib&&this.manager.element.style&&Fb[t]&&(this.manager.element.style[Pb]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return ix(this.manager.recognizers,(function(e){ax(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(ux(t,Rb))return Rb;var e=ux(t,Mb),r=ux(t,Nb);return e&&r?Rb:e||r?e?Mb:Nb:ux(t,Lb)?Lb:Cb}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,r=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,o=ux(n,Rb)&&!Fb[Rb],i=ux(n,Nb)&&!Fb[Nb],a=ux(n,Mb)&&!Fb[Mb];if(o){var u=1===t.pointers.length,s=t.distance<2,c=t.deltaTime<250;if(u&&s&&c)return}if(!a||!i)return o||i&&r&tx||a&&r&ex?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function cx(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function fx(t){var e=t.length;if(1===e)return{x:Sb(t[0].clientX),y:Sb(t[0].clientY)};for(var r=0,n=0,o=0;o<e;)r+=t[o].clientX,n+=t[o].clientY,o++;return{x:Sb(r/e),y:Sb(n/e)}}function lx(t){for(var e=[],r=0;r<t.pointers.length;)e[r]={clientX:Sb(t.pointers[r].clientX),clientY:Sb(t.pointers[r].clientY)},r++;return{timeStamp:jb(),pointers:e,center:fx(e),deltaX:t.deltaX,deltaY:t.deltaY}}function px(t,e,r){r||(r=nx);var n=e[r[0]]-t[r[0]],o=e[r[1]]-t[r[1]];return Math.sqrt(n*n+o*o)}function hx(t,e,r){r||(r=nx);var n=e[r[0]]-t[r[0]],o=e[r[1]]-t[r[1]];return 180*Math.atan2(o,n)/Math.PI}function vx(t,e){return t===e?$b:kb(t)>=kb(e)?t<0?Jb:Kb:e<0?Qb:Zb}function dx(t,e,r){return{x:e/t||0,y:r/t||0}}function yx(t,e){var r=t.session,n=e.pointers,o=n.length;r.firstInput||(r.firstInput=lx(e)),o>1&&!r.firstMultiple?r.firstMultiple=lx(e):1===o&&(r.firstMultiple=!1);var i=r.firstInput,a=r.firstMultiple,u=a?a.center:i.center,s=e.center=fx(n);e.timeStamp=jb(),e.deltaTime=e.timeStamp-i.timeStamp,e.angle=hx(u,s),e.distance=px(u,s),function(t,e){var r=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},i=t.prevInput||{};e.eventType!==Vb&&i.eventType!==Bb||(o=t.prevDelta={x:i.deltaX||0,y:i.deltaY||0},n=t.offsetDelta={x:r.x,y:r.y}),e.deltaX=o.x+(r.x-n.x),e.deltaY=o.y+(r.y-n.y)}(r,e),e.offsetDirection=vx(e.deltaX,e.deltaY);var c,f,l=dx(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=kb(l.x)>kb(l.y)?l.x:l.y,e.scale=a?(c=a.pointers,px((f=n)[0],f[1],ox)/px(c[0],c[1],ox)):1,e.rotation=a?function(t,e){return hx(e[1],e[0],ox)+hx(t[1],t[0],ox)}(a.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(t,e){var r,n,o,i,a=t.lastInterval||e,u=e.timeStamp-a.timeStamp;if(e.eventType!==Hb&&(u>Gb||void 0===a.velocity)){var s=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,f=dx(u,s,c);n=f.x,o=f.y,r=kb(f.x)>kb(f.y)?f.x:f.y,i=vx(s,c),t.lastInterval=e}else r=a.velocity,n=a.velocityX,o=a.velocityY,i=a.direction;e.velocity=r,e.velocityX=n,e.velocityY=o,e.direction=i}(r,e);var p,h=t.element,v=e.srcEvent;cx(p=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,h)&&(h=p),e.target=h}function gx(t,e,r){var n=r.pointers.length,o=r.changedPointers.length,i=e&Vb&&n-o==0,a=e&(Bb|Hb)&&n-o==0;r.isFirst=!!i,r.isFinal=!!a,i&&(t.session={}),r.eventType=e,yx(t,r),t.emit("hammer.input",r),t.recognize(r),t.session.prevInput=r}function mx(t){return t.trim().split(/\s+/g)}function bx(t,e,r){ix(mx(e),(function(e){t.addEventListener(e,r,!1)}))}function xx(t,e,r){ix(mx(e),(function(e){t.removeEventListener(e,r,!1)}))}function _x(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var wx=function(){function t(t,e){var r=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){ax(t.options.enable,[t])&&r.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&bx(this.element,this.evEl,this.domHandler),this.evTarget&&bx(this.target,this.evTarget,this.domHandler),this.evWin&&bx(_x(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&xx(this.element,this.evEl,this.domHandler),this.evTarget&&xx(this.target,this.evTarget,this.domHandler),this.evWin&&xx(_x(this.element),this.evWin,this.domHandler)},t}();function Ex(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;n<t.length;){if(r&&t[n][r]==e||!r&&t[n]===e)return n;n++}return-1}var Tx={pointerdown:Vb,pointermove:Xb,pointerup:Bb,pointercancel:Hb,pointerout:Hb},Ox={2:Yb,3:"pen",4:Wb,5:"kinect"},Sx="pointerdown",kx="pointermove pointerup pointercancel";_b.MSPointerEvent&&!_b.PointerEvent&&(Sx="MSPointerDown",kx="MSPointerMove MSPointerUp MSPointerCancel");var jx=function(t){function e(){var r,n=e.prototype;return n.evEl=Sx,n.evWin=kx,(r=t.apply(this,arguments)||this).store=r.manager.session.pointerEvents=[],r}return bb(e,t),e.prototype.handler=function(t){var e=this.store,r=!1,n=t.type.toLowerCase().replace("ms",""),o=Tx[n],i=Ox[t.pointerType]||t.pointerType,a=i===Yb,u=Ex(e,t.pointerId,"pointerId");o&Vb&&(0===t.button||a)?u<0&&(e.push(t),u=e.length-1):o&(Bb|Hb)&&(r=!0),u<0||(e[u]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:i,srcEvent:t}),r&&e.splice(u,1))},e}(wx);function Ax(t){return Array.prototype.slice.call(t,0)}function Px(t,e,r){for(var n=[],o=[],i=0;i<t.length;){var a=e?t[i][e]:t[i];Ex(o,a)<0&&n.push(t[i]),o[i]=a,i++}return r&&(n=e?n.sort((function(t,r){return t[e]>r[e]})):n.sort()),n}var Ix={touchstart:Vb,touchmove:Xb,touchend:Bb,touchcancel:Hb},Dx="touchstart touchmove touchend touchcancel",Cx=function(t){function e(){var r;return e.prototype.evTarget=Dx,(r=t.apply(this,arguments)||this).targetIds={},r}return bb(e,t),e.prototype.handler=function(t){var e=Ix[t.type],r=Lx.call(this,t,e);r&&this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:Yb,srcEvent:t})},e}(wx);function Lx(t,e){var r,n,o=Ax(t.touches),i=this.targetIds;if(e&(Vb|Xb)&&1===o.length)return i[o[0].identifier]=!0,[o,o];var a=Ax(t.changedTouches),u=[],s=this.target;if(n=o.filter((function(t){return cx(t.target,s)})),e===Vb)for(r=0;r<n.length;)i[n[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&u.push(a[r]),e&(Bb|Hb)&&delete i[a[r].identifier],r++;return u.length?[Px(n.concat(u),"identifier",!0),u]:void 0}var Rx={mousedown:Vb,mousemove:Xb,mouseup:Bb},Mx="mousedown",Nx="mousemove mouseup",Fx=function(t){function e(){var r,n=e.prototype;return n.evEl=Mx,n.evWin=Nx,(r=t.apply(this,arguments)||this).pressed=!1,r}return bb(e,t),e.prototype.handler=function(t){var e=Rx[t.type];e&Vb&&0===t.button&&(this.pressed=!0),e&Xb&&1!==t.which&&(e=Bb),this.pressed&&(e&Bb&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:Wb,srcEvent:t}))},e}(wx),zx=2500,qx=25;function Ux(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var r={x:e.clientX,y:e.clientY},n=this.lastTouches;this.lastTouches.push(r);setTimeout((function(){var t=n.indexOf(r);t>-1&&n.splice(t,1)}),zx)}}function Yx(t,e){t&Vb?(this.primaryTouch=e.changedPointers[0].identifier,Ux.call(this,e)):t&(Bb|Hb)&&Ux.call(this,e)}function Wx(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var o=this.lastTouches[n],i=Math.abs(e-o.x),a=Math.abs(r-o.y);if(i<=qx&&a<=qx)return!0}return!1}var Gx=function(){return function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).handler=function(t,e,r){var o=r.pointerType===Yb,i=r.pointerType===Wb;if(!(i&&r.sourceCapabilities&&r.sourceCapabilities.firesTouchEvents)){if(o)Yx.call(xb(xb(n)),e,r);else if(i&&Wx.call(xb(xb(n)),r))return;n.callback(t,e,r)}},n.touch=new Cx(n.manager,n.handler),n.mouse=new Fx(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return bb(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(wx)}();function Vx(t,e,r){return!!Array.isArray(t)&&(ix(t,r[e],r),!0)}var Xx=1,Bx=2,Hx=4,$x=8,Jx=$x,Kx=16,Qx=32,Zx=1;function t_(t,e){var r=e.manager;return r?r.get(t):t}function e_(t){return t&Kx?"cancel":t&$x?"end":t&Hx?"move":t&Bx?"start":""}var r_=function(){function t(t){void 0===t&&(t={}),this.options=mb({enable:!0},t),this.id=Zx++,this.manager=null,this.state=Xx,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return wb(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if(Vx(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=t_(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return Vx(t,"dropRecognizeWith",this)||(t=t_(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if(Vx(t,"requireFailure",this))return this;var e=this.requireFail;return-1===Ex(e,t=t_(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if(Vx(t,"dropRequireFailure",this))return this;t=t_(t,this);var e=Ex(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,r=this.state;function n(r){e.manager.emit(r,t)}r<$x&&n(e.options.event+e_(r)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),r>=$x&&n(e.options.event+e_(r))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Qx},e.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(Qx|Xx)))return!1;t++}return!0},e.recognize=function(t){var e=wb({},t);if(!ax(this.options.enable,[this,e]))return this.reset(),void(this.state=Qx);this.state&(Jx|Kx|Qx)&&(this.state=Xx),this.state=this.process(e),this.state&(Bx|Hx|$x|Kx)&&this.tryEmit(e)},e.process=function(t){},e.getTouchAction=function(){},e.reset=function(){},t}(),n_=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,mb({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},e))||this).pTime=!1,r.pCenter=!1,r._timer=null,r._input=null,r.count=0,r}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){return[Lb]},r.process=function(t){var e=this,r=this.options,n=t.pointers.length===r.pointers,o=t.distance<r.threshold,i=t.deltaTime<r.time;if(this.reset(),t.eventType&Vb&&0===this.count)return this.failTimeout();if(o&&i&&n){if(t.eventType!==Bb)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<r.interval,u=!this.pCenter||px(this.pCenter,t.center)<r.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,u&&a?this.count+=1:this.count=1,this._input=t,0===this.count%r.taps)return this.hasRequireFailures()?(this._timer=setTimeout((function(){e.state=Jx,e.tryEmit()}),r.interval),Bx):Jx}return Qx},r.failTimeout=function(){var t=this;return this._timer=setTimeout((function(){t.state=Qx}),this.options.interval),Qx},r.reset=function(){clearTimeout(this._timer)},r.emit=function(){this.state===Jx&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(r_),o_=function(t){function e(e){return void 0===e&&(e={}),t.call(this,mb({pointers:1},e))||this}bb(e,t);var r=e.prototype;return r.attrTest=function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},r.process=function(t){var e=this.state,r=t.eventType,n=e&(Bx|Hx),o=this.attrTest(t);return n&&(r&Hb||!o)?e|Kx:n||o?r&Bb?e|$x:e&Bx?e|Hx:Bx:Qx},e}(r_);function i_(t){return t===Zb?"down":t===Qb?"up":t===Jb?"left":t===Kb?"right":""}var a_=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,mb({event:"pan",threshold:10,pointers:1,direction:rx},e))||this).pX=null,r.pY=null,r}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){var t=this.options.direction,e=[];return t&tx&&e.push(Nb),t&ex&&e.push(Mb),e},r.directionTest=function(t){var e=this.options,r=!0,n=t.distance,o=t.direction,i=t.deltaX,a=t.deltaY;return o&e.direction||(e.direction&tx?(o=0===i?$b:i<0?Jb:Kb,r=i!==this.pX,n=Math.abs(t.deltaX)):(o=0===a?$b:a<0?Qb:Zb,r=a!==this.pY,n=Math.abs(t.deltaY))),t.direction=o,r&&n>e.threshold&&o&e.direction},r.attrTest=function(t){return o_.prototype.attrTest.call(this,t)&&(this.state&Bx||!(this.state&Bx)&&this.directionTest(t))},r.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var r=i_(e.direction);r&&(e.additionalEvent=this.options.event+r),t.prototype.emit.call(this,e)},e}(o_),u_=function(t){function e(e){return void 0===e&&(e={}),t.call(this,mb({event:"swipe",threshold:10,velocity:.3,direction:tx|ex,pointers:1},e))||this}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){return a_.prototype.getTouchAction.call(this)},r.attrTest=function(e){var r,n=this.options.direction;return n&(tx|ex)?r=e.overallVelocity:n&tx?r=e.overallVelocityX:n&ex&&(r=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&kb(r)>this.options.velocity&&e.eventType&Bb},r.emit=function(t){var e=i_(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(o_),s_=function(t){function e(e){return void 0===e&&(e={}),t.call(this,mb({event:"pinch",threshold:0,pointers:2},e))||this}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){return[Rb]},r.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Bx)},r.emit=function(e){if(1!==e.scale){var r=e.scale<1?"in":"out";e.additionalEvent=this.options.event+r}t.prototype.emit.call(this,e)},e}(o_),c_=function(t){function e(e){return void 0===e&&(e={}),t.call(this,mb({event:"rotate",threshold:0,pointers:2},e))||this}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){return[Rb]},r.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Bx)},e}(o_),f_=function(t){function e(e){var r;return void 0===e&&(e={}),(r=t.call(this,mb({event:"press",pointers:1,time:251,threshold:9},e))||this)._timer=null,r._input=null,r}bb(e,t);var r=e.prototype;return r.getTouchAction=function(){return[Cb]},r.process=function(t){var e=this,r=this.options,n=t.pointers.length===r.pointers,o=t.distance<r.threshold,i=t.deltaTime>r.time;if(this._input=t,!o||!n||t.eventType&(Bb|Hb)&&!i)this.reset();else if(t.eventType&Vb)this.reset(),this._timer=setTimeout((function(){e.state=Jx,e.tryEmit()}),r.time);else if(t.eventType&Bb)return Jx;return Qx},r.reset=function(){clearTimeout(this._timer)},r.emit=function(t){this.state===Jx&&(t&&t.eventType&Bb?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=jb(),this.manager.emit(this.options.event,this._input)))},e}(r_),l_={domEvents:!1,touchAction:Db,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},p_=[[c_,{enable:!1}],[s_,{enable:!1},["rotate"]],[u_,{direction:tx}],[a_,{direction:tx},["swipe"]],[n_],[n_,{event:"doubletap",taps:2},["tap"]],[f_]];function h_(t,e){var r,n=t.element;n.style&&(ix(t.options.cssProps,(function(o,i){r=Ab(n.style,i),e?(t.oldCssProps[r]=n.style[r],n.style[r]=o):n.style[r]=t.oldCssProps[r]||""})),e||(t.oldCssProps={}))}var v_=function(){function t(t,e){var r,n=this;this.options=wb({},l_,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((r=this).options.inputClass||(qb?jx:Ub?Cx:zb?Gx:Fx))(r,gx),this.touchAction=new sx(this,this.options.touchAction),h_(this,!0),ix(this.options.recognizers,(function(t){var e=n.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return wb(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?2:1},e.recognize=function(t){var e=this.session;if(!e.stopped){var r;this.touchAction.preventDefaults(t);var n=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Jx)&&(e.curRecognizer=null,o=null);for(var i=0;i<n.length;)r=n[i],2===e.stopped||o&&r!==o&&!r.canRecognizeWith(o)?r.reset():r.recognize(t),!o&&r.state&(Bx|Hx|$x)&&(e.curRecognizer=r,o=r),i++}},e.get=function(t){if(t instanceof r_)return t;for(var e=this.recognizers,r=0;r<e.length;r++)if(e[r].options.event===t)return e[r];return null},e.add=function(t){if(Vx(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},e.remove=function(t){if(Vx(t,"remove",this))return this;var e=this.get(t);if(t){var r=this.recognizers,n=Ex(r,e);-1!==n&&(r.splice(n,1),this.touchAction.update())}return this},e.on=function(t,e){if(void 0===t||void 0===e)return this;var r=this.handlers;return ix(mx(t),(function(t){r[t]=r[t]||[],r[t].push(e)})),this},e.off=function(t,e){if(void 0===t)return this;var r=this.handlers;return ix(mx(t),(function(t){e?r[t]&&r[t].splice(Ex(r[t],e),1):delete r[t]})),this},e.emit=function(t,e){this.options.domEvents&&function(t,e){var r=document.createEvent("Event");r.initEvent(t,!0,!0),r.gesture=e,e.target.dispatchEvent(r)}(t,e);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<r.length;)r[n](e),n++}},e.destroy=function(){this.element&&h_(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),d_={touchstart:Vb,touchmove:Xb,touchend:Bb,touchcancel:Hb},y_="touchstart",g_="touchstart touchmove touchend touchcancel",m_=function(t){function e(){var r,n=e.prototype;return n.evTarget=y_,n.evWin=g_,(r=t.apply(this,arguments)||this).started=!1,r}return bb(e,t),e.prototype.handler=function(t){var e=d_[t.type];if(e===Vb&&(this.started=!0),this.started){var r=b_.call(this,t,e);e&(Bb|Hb)&&r[0].length-r[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:Yb,srcEvent:t})}},e}(wx);function b_(t,e){var r=Ax(t.touches),n=Ax(t.changedTouches);return e&(Bb|Hb)&&(r=Px(r.concat(n),"identifier",!0)),[r,n]}function x_(t,e,r){var n="DEPRECATED METHOD: "+e+"\n"+r+" AT \n";return function(){var e=new Error("get-stack-trace"),r=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,n,r),t.apply(this,arguments)}}var __=x_((function(t,e,r){for(var n=Object.keys(e),o=0;o<n.length;)(!r||r&&void 0===t[n[o]])&&(t[n[o]]=e[n[o]]),o++;return t}),"extend","Use `assign`."),w_=x_((function(t,e){return __(t,e,!0)}),"merge","Use `assign`.");function E_(t,e,r){var n,o=e.prototype;(n=t.prototype=Object.create(o)).constructor=t,n._super=o,r&&wb(n,r)}function T_(t,e){return function(){return t.apply(e,arguments)}}var O_=function(){var t=function(t,e){return void 0===e&&(e={}),new v_(t,mb({recognizers:p_.concat()},e))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=rx,t.DIRECTION_DOWN=Zb,t.DIRECTION_LEFT=Jb,t.DIRECTION_RIGHT=Kb,t.DIRECTION_UP=Qb,t.DIRECTION_HORIZONTAL=tx,t.DIRECTION_VERTICAL=ex,t.DIRECTION_NONE=$b,t.DIRECTION_DOWN=Zb,t.INPUT_START=Vb,t.INPUT_MOVE=Xb,t.INPUT_END=Bb,t.INPUT_CANCEL=Hb,t.STATE_POSSIBLE=Xx,t.STATE_BEGAN=Bx,t.STATE_CHANGED=Hx,t.STATE_ENDED=$x,t.STATE_RECOGNIZED=Jx,t.STATE_CANCELLED=Kx,t.STATE_FAILED=Qx,t.Manager=v_,t.Input=wx,t.TouchAction=sx,t.TouchInput=Cx,t.MouseInput=Fx,t.PointerEventInput=jx,t.TouchMouseInput=Gx,t.SingleTouchInput=m_,t.Recognizer=r_,t.AttrRecognizer=o_,t.Tap=n_,t.Pan=a_,t.Swipe=u_,t.Pinch=s_,t.Rotate=c_,t.Press=f_,t.on=bx,t.off=xx,t.each=ix,t.merge=w_,t.extend=__,t.bindFn=T_,t.assign=wb,t.inherit=E_,t.bindFn=T_,t.prefixed=Ab,t.toArray=Ax,t.inArray=Ex,t.uniqueArray=Px,t.splitStr=mx,t.boolOrFn=ax,t.hasParent=cx,t.addEventListeners=bx,t.removeEventListeners=xx,t.defaults=wb({},l_,{preset:p_}),t}();function S_(t,e){var r=void 0!==Kv&&mh(t)||t["@@iterator"];if(!r){if(hd(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return k_(t,e);var n=ud(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return hh(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k_(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function k_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var j_=Kv("DELETE");function A_(){var t=P_.apply(void 0,arguments);return D_(t),t}function P_(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e.length<2)return e[0];var n;if(e.length>2)return P_.apply(void 0,id(n=[A_(e[0],e[1])]).call(n,$v(ud(e).call(e,2))));var o,i=e[0],a=e[1],u=S_(ld(a));try{for(u.s();!(o=u.n()).done;){var s=o.value;Object.prototype.propertyIsEnumerable.call(a,s)&&(a[s]===j_?delete i[s]:null===i[s]||null===a[s]||"object"!==Uf(i[s])||"object"!==Uf(a[s])||hd(i[s])||hd(a[s])?i[s]=I_(a[s]):i[s]=P_(i[s],a[s]))}}catch(t){u.e(t)}finally{u.f()}return i}function I_(t){return hd(t)?np(t).call(t,(function(t){return I_(t)})):"object"===Uf(t)&&null!==t?P_({},t):t}function D_(t){for(var e=0,r=bd(t);e<r.length;e++){var n=r[e];t[n]===j_?delete t[n]:"object"===Uf(t[n])&&null!==t[n]&&D_(t[n])}}var C_="undefined"!=typeof window?window.Hammer||O_:function(){return function(){var t=function(){};return{on:t,off:t,destroy:t,emit:t,get:function(){return{set:t}}}}()};function L_(t){var e,r=this;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((function(){r._dom.overlay.parentNode.removeChild(r._dom.overlay)}));var n=C_(this._dom.overlay);n.on("tap",xl(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push((function(){n.destroy()}));var o=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Fd(o).call(o,(function(t){n.on(t,(function(t){t.srcEvent.stopPropagation()}))})),document&&document.body&&(this._onClick=function(e){(function(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1})(e.target,t)||r.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push((function(){document.body.removeEventListener("click",r._onClick)}))),this._escListener=function(t){("key"in t?"Escape"===t.key:27===t.keyCode)&&r.deactivate()}}gb(L_.prototype),L_.current=null,L_.prototype.destroy=function(){var t,e;this.deactivate();var r,n=S_(Jd(t=Oy(e=this._cleanupQueue).call(e,0)).call(t));try{for(n.s();!(r=n.n()).done;){(0,r.value)()}}catch(t){n.e(t)}finally{n.f()}},L_.prototype.activate=function(){L_.current&&L_.current.deactivate(),L_.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)},L_.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")},L_.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var R_={},M_={get exports(){return R_},set exports(t){R_=t}},N_=Mn,F_=Ct,z_=TypeError,q_=function(t){if(N_(t))return t;throw z_(F_(t)+" is not a constructor")},U_=Lr,Y_=m,W_=ll,G_=q_,V_=sr,X_=ut,B_=ni,H_=p,$_=ht("Reflect","construct"),J_=Object.prototype,K_=[].push,Q_=H_((function(){function t(){}return!($_((function(){}),[],t)instanceof t)})),Z_=!H_((function(){$_((function(){}))})),tw=Q_||Z_;U_({target:"Reflect",stat:!0,forced:tw,sham:tw},{construct:function(t,e){G_(t),V_(e);var r=arguments.length<3?t:G_(arguments[2]);if(Z_&&!Q_)return $_(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Y_(K_,n,e),new(Y_(W_,t,n))}var o=r.prototype,i=B_(X_(o)?o:J_),a=Y_(t,i,e);return X_(a)?a:i}});var ew=st.Reflect.construct;!function(t){t.exports=ew}(M_);var rw=n(R_);function nw(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var ow={},iw={get exports(){return ow},set exports(t){ow=t}},aw={},uw=Sm;!function(t){t.exports=uw}({get exports(){return aw},set exports(t){aw=t}}),function(t){t.exports=aw}(iw);var sw=n(ow),cw={},fw={get exports(){return cw},set exports(t){cw=t}},lw={},pw={get exports(){return lw},set exports(t){lw=t}};Lr({target:"Object",stat:!0},{setPrototypeOf:hc});var hw=st.Object.setPrototypeOf;!function(t){t.exports=hw}(pw),function(t){t.exports=lw}(fw);var vw=n(cw),dw={},yw={get exports(){return dw},set exports(t){dw=t}},gw={},mw=bl;!function(t){t.exports=mw}({get exports(){return gw},set exports(t){gw=t}}),function(t){t.exports=gw}(yw);var bw=n(dw);function xw(t,e){var r;return xw=vw?bw(r=vw).call(r):function(t,e){return t.__proto__=e,t},xw(t,e)}function _w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=sw(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Yr(t,"prototype",{writable:!1}),e&&xw(t,e)}function ww(t,e){if(e&&("object"===Uf(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return nw(t)}var Ew={},Tw={get exports(){return Ew},set exports(t){Ew=t}},Ow={},Sw=mg;!function(t){t.exports=Sw}({get exports(){return Ow},set exports(t){Ow=t}}),function(t){t.exports=Ow}(Tw);var kw=n(Ew);function jw(t){var e;return jw=vw?bw(e=kw).call(e):function(t){return t.__proto__||kw(t)},jw(t)}var Aw={},Pw={get exports(){return Aw},set exports(t){Aw=t}},Iw={};!function(t){var e=Wr,r=mf;function n(o){return t.exports=n="function"==typeof e&&"symbol"==typeof r?function(t){return typeof t}:function(t){return t&&"function"==typeof e&&t.constructor===e&&t!==e.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(o)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}({get exports(){return Iw},set exports(t){Iw=t}});var Dw={},Cw={get exports(){return Dw},set exports(t){Dw=t}},Lw={},Rw=Nd;!function(t){t.exports=Rw}({get exports(){return Lw},set exports(t){Lw=t}}),function(t){t.exports=Lw}(Cw);var Mw={},Nw={get exports(){return Mw},set exports(t){Mw=t}},Fw={},zw={get exports(){return Fw},set exports(t){Fw=t}},qw=oe,Uw=Wh,Yw=R,Ww=nr,Gw=ut,Vw=wr,Xw=Error,Bw=E("".replace),Hw=String(Xw("zxcasd").stack),$w=/\n\s*at [^:]*:[^\n]*/,Jw=$w.test(Hw),Kw=X,Qw=!p((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Kw(1,7)),7!==t.stack)})),Zw=wr,tE=function(t,e){if(Jw&&"string"==typeof t&&!Xw.prepareStackTrace)for(;e--;)t=Bw(t,$w,"");return t},eE=Qw,rE=Error.captureStackTrace,nE=rr,oE=z,iE=sr,aE=Ct,uE=Rp,sE=rn,cE=vt,fE=Hp,lE=Up,pE=Ap,hE=TypeError,vE=function(t,e){this.stopped=t,this.result=e},dE=vE.prototype,yE=function(t,e,r){var n,o,i,a,u,s,c,f=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),h=!(!r||!r.IS_ITERATOR),v=!(!r||!r.INTERRUPTED),d=nE(e,f),y=function(t){return n&&pE(n,"normal",t),new vE(!0,t)},g=function(t){return l?(iE(t),v?d(t[0],t[1],y):d(t[0],t[1])):v?d(t,y):d(t)};if(p)n=t.iterator;else if(h)n=t;else{if(!(o=lE(t)))throw hE(aE(t)+" is not iterable");if(uE(o)){for(i=0,a=sE(t);a>i;i++)if((u=g(t[i]))&&cE(dE,u))return u;return new vE(!1)}n=fE(t,o)}for(s=p?t.next:n.next;!(c=oE(s,n)).done;){try{u=g(c.value)}catch(t){pE(n,"throw",t)}if("object"==typeof u&&u&&cE(dE,u))return u}return new vE(!1)},gE=fo,mE=Lr,bE=vt,xE=Ys,_E=hc,wE=function(t,e,r){for(var n=Uw(e),o=Ww.f,i=Yw.f,a=0;a<n.length;a++){var u=n[a];qw(t,u)||r&&qw(r,u)||o(t,u,i(e,u))}},EE=ni,TE=wr,OE=X,SE=function(t,e){Gw(e)&&"cause"in e&&Vw(t,"cause",e.cause)},kE=function(t,e,r,n){eE&&(rE?rE(t,e):Zw(t,"stack",tE(r,n)))},jE=yE,AE=function(t,e){return void 0===t?arguments.length<2?"":e:gE(t)},PE=me("toStringTag"),IE=Error,DE=[].push,CE=function(t,e){var r,n=bE(LE,this);_E?r=_E(IE(),n?xE(this):LE):(r=n?this:EE(LE),TE(r,PE,"Error")),void 0!==e&&TE(r,"message",AE(e)),kE(r,CE,r.stack,1),arguments.length>2&&SE(r,arguments[2]);var o=[];return jE(t,DE,{that:o}),TE(r,"errors",o),r};_E?_E(CE,IE):wE(CE,IE,{name:!0});var LE=CE.prototype=EE(IE.prototype,{constructor:OE(1,CE),message:OE(1,""),name:OE(1,"AggregateError")});mE({global:!0,constructor:!0,arity:2},{AggregateError:CE});var RE,ME,NE,FE,zE=ht,qE=Ei,UE=M,YE=me("species"),WE=function(t){var e=zE(t);UE&&e&&!e[YE]&&qE(e,YE,{configurable:!0,get:function(){return this}})},GE=vt,VE=TypeError,XE=function(t,e){if(GE(e,t))return t;throw VE("Incorrect invocation")},BE=sr,HE=q_,$E=Q,JE=me("species"),KE=function(t,e){var r,n=BE(t).constructor;return void 0===n||$E(r=BE(n)[JE])?e:HE(r)},QE=/(?:ipad|iphone|ipod).*applewebkit/i.test(dt),ZE=l,tT=m,eT=rr,rT=L,nT=oe,oT=p,iT=qo,aT=Uu,uT=De,sT=zm,cT=QE,fT=Dl,lT=ZE.setImmediate,pT=ZE.clearImmediate,hT=ZE.process,vT=ZE.Dispatch,dT=ZE.Function,yT=ZE.MessageChannel,gT=ZE.String,mT=0,bT={},xT="onreadystatechange";oT((function(){RE=ZE.location}));var _T=function(t){if(nT(bT,t)){var e=bT[t];delete bT[t],e()}},wT=function(t){return function(){_T(t)}},ET=function(t){_T(t.data)},TT=function(t){ZE.postMessage(gT(t),RE.protocol+"//"+RE.host)};lT&&pT||(lT=function(t){sT(arguments.length,1);var e=rT(t)?t:dT(t),r=aT(arguments,1);return bT[++mT]=function(){tT(e,void 0,r)},ME(mT),mT},pT=function(t){delete bT[t]},fT?ME=function(t){hT.nextTick(wT(t))}:vT&&vT.now?ME=function(t){vT.now(wT(t))}:yT&&!cT?(FE=(NE=new yT).port2,NE.port1.onmessage=ET,ME=eT(FE.postMessage,FE)):ZE.addEventListener&&rT(ZE.postMessage)&&!ZE.importScripts&&RE&&"file:"!==RE.protocol&&!oT(TT)?(ME=TT,ZE.addEventListener("message",ET,!1)):ME=xT in uT("script")?function(t){iT.appendChild(uT("script"))[xT]=function(){iT.removeChild(this),_T(t)}}:function(t){setTimeout(wT(t),0)});var OT={set:lT,clear:pT},ST=function(){this.head=null,this.tail=null};ST.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var kT,jT,AT,PT,IT,DT=ST,CT=/ipad|iphone|ipod/i.test(dt)&&"undefined"!=typeof Pebble,LT=/web0s(?!.*chrome)/i.test(dt),RT=l,MT=rr,NT=R.f,FT=OT.set,zT=DT,qT=QE,UT=CT,YT=LT,WT=Dl,GT=RT.MutationObserver||RT.WebKitMutationObserver,VT=RT.document,XT=RT.process,BT=RT.Promise,HT=NT(RT,"queueMicrotask"),$T=HT&&HT.value;if(!$T){var JT=new zT,KT=function(){var t,e;for(WT&&(t=XT.domain)&&t.exit();e=JT.get();)try{e()}catch(t){throw JT.head&&kT(),t}t&&t.enter()};qT||WT||YT||!GT||!VT?!UT&&BT&&BT.resolve?((PT=BT.resolve(void 0)).constructor=BT,IT=MT(PT.then,PT),kT=function(){IT(KT)}):WT?kT=function(){XT.nextTick(KT)}:(FT=MT(FT,RT),kT=function(){FT(KT)}):(jT=!0,AT=VT.createTextNode(""),new GT(KT).observe(AT,{characterData:!0}),kT=function(){AT.data=jT=!jT}),$T=function(t){JT.head||kT(),JT.add(t)}}var QT=$T,ZT=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},tO=l.Promise,eO="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,rO=!eO&&!Dl&&"object"==typeof window&&"object"==typeof document,nO=l,oO=tO,iO=L,aO=Qe,uO=wn,sO=me,cO=rO,fO=eO,lO=wt,pO=oO&&oO.prototype,hO=sO("species"),vO=!1,dO=iO(nO.PromiseRejectionEvent),yO=aO("Promise",(function(){var t=uO(oO),e=t!==String(oO);if(!e&&66===lO)return!0;if(!pO.catch||!pO.finally)return!0;if(!lO||lO<51||!/native code/.test(t)){var r=new oO((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[hO]=n,!(vO=r.then((function(){}))instanceof n))return!0}return!e&&(cO||fO)&&!dO})),gO={CONSTRUCTOR:yO,REJECTION_EVENT:dO,SUBCLASSING:vO},mO={},bO=Nt,xO=TypeError,_O=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw xO("Bad Promise constructor");e=t,r=n})),this.resolve=bO(e),this.reject=bO(r)};mO.f=function(t){return new _O(t)};var wO,EO,TO=Lr,OO=Dl,SO=l,kO=z,jO=_i,AO=Bi,PO=WE,IO=Nt,DO=L,CO=ut,LO=XE,RO=KE,MO=OT.set,NO=QT,FO=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}},zO=ZT,qO=DT,UO=ca,YO=tO,WO=mO,GO="Promise",VO=gO.CONSTRUCTOR,XO=gO.REJECTION_EVENT,BO=UO.getterFor(GO),HO=UO.set,$O=YO&&YO.prototype,JO=YO,KO=$O,QO=SO.TypeError,ZO=SO.document,tS=SO.process,eS=WO.f,rS=eS,nS=!!(ZO&&ZO.createEvent&&SO.dispatchEvent),oS="unhandledrejection",iS=function(t){var e;return!(!CO(t)||!DO(e=t.then))&&e},aS=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&lS(e),e.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===t.promise?c(QO("Promise-chain cycle")):(n=iS(r))?kO(n,r,s,c):s(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},uS=function(t,e){t.notified||(t.notified=!0,NO((function(){for(var r,n=t.reactions;r=n.get();)aS(r,t);t.notified=!1,e&&!t.rejection&&cS(t)})))},sS=function(t,e,r){var n,o;nS?((n=ZO.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),SO.dispatchEvent(n)):n={promise:e,reason:r},!XO&&(o=SO["on"+t])?o(n):t===oS&&FO("Unhandled promise rejection",r)},cS=function(t){kO(MO,SO,(function(){var e,r=t.facade,n=t.value;if(fS(t)&&(e=zO((function(){OO?tS.emit("unhandledRejection",n,r):sS(oS,r,n)})),t.rejection=OO||fS(t)?2:1,e.error))throw e.value}))},fS=function(t){return 1!==t.rejection&&!t.parent},lS=function(t){kO(MO,SO,(function(){var e=t.facade;OO?tS.emit("rejectionHandled",e):sS("rejectionhandled",e,t.value)}))},pS=function(t,e,r){return function(n){t(e,n,r)}},hS=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,uS(t,!0))},vS=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw QO("Promise can't be resolved itself");var n=iS(e);n?NO((function(){var r={done:!1};try{kO(n,e,pS(vS,r,t),pS(hS,r,t))}catch(e){hS(r,e,t)}})):(t.value=e,t.state=1,uS(t,!1))}catch(e){hS({done:!1},e,t)}}};VO&&(KO=(JO=function(t){LO(this,KO),IO(t),kO(wO,this);var e=BO(this);try{t(pS(vS,e),pS(hS,e))}catch(t){hS(e,t)}}).prototype,(wO=function(t){HO(this,{type:GO,done:!1,notified:!1,parent:!1,reactions:new qO,rejection:!1,state:0,value:void 0})}).prototype=jO(KO,"then",(function(t,e){var r=BO(this),n=eS(RO(this,JO));return r.parent=!0,n.ok=!DO(t)||t,n.fail=DO(e)&&e,n.domain=OO?tS.domain:void 0,0==r.state?r.reactions.add(n):NO((function(){aS(n,r)})),n.promise})),EO=function(){var t=new wO,e=BO(t);this.promise=t,this.resolve=pS(vS,e),this.reject=pS(hS,e)},WO.f=eS=function(t){return t===JO||undefined===t?new EO(t):rS(t)}),TO({global:!0,constructor:!0,wrap:!0,forced:VO},{Promise:JO}),AO(JO,GO,!1,!0),PO(GO);var dS=tO,yS=gO.CONSTRUCTOR||!fh((function(t){dS.all(t).then(void 0,(function(){}))})),gS=z,mS=Nt,bS=mO,xS=ZT,_S=yE;Lr({target:"Promise",stat:!0,forced:yS},{all:function(t){var e=this,r=bS.f(e),n=r.resolve,o=r.reject,i=xS((function(){var r=mS(e.resolve),i=[],a=0,u=1;_S(t,(function(t){var s=a++,c=!1;u++,gS(r,e,t).then((function(t){c||(c=!0,i[s]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var wS=Lr,ES=gO.CONSTRUCTOR;tO&&tO.prototype,wS({target:"Promise",proto:!0,forced:ES,real:!0},{catch:function(t){return this.then(void 0,t)}});var TS=z,OS=Nt,SS=mO,kS=ZT,jS=yE;Lr({target:"Promise",stat:!0,forced:yS},{race:function(t){var e=this,r=SS.f(e),n=r.reject,o=kS((function(){var o=OS(e.resolve);jS(t,(function(t){TS(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var AS=z,PS=mO;Lr({target:"Promise",stat:!0,forced:gO.CONSTRUCTOR},{reject:function(t){var e=PS.f(this);return AS(e.reject,void 0,t),e.promise}});var IS=sr,DS=ut,CS=mO,LS=function(t,e){if(IS(t),DS(e)&&e.constructor===t)return e;var r=CS.f(t);return(0,r.resolve)(e),r.promise},RS=Lr,MS=tO,NS=gO.CONSTRUCTOR,FS=LS,zS=ht("Promise"),qS=!NS;RS({target:"Promise",stat:!0,forced:true},{resolve:function(t){return FS(qS&&this===zS?MS:this,t)}});var US=z,YS=Nt,WS=mO,GS=ZT,VS=yE;Lr({target:"Promise",stat:!0,forced:yS},{allSettled:function(t){var e=this,r=WS.f(e),n=r.resolve,o=r.reject,i=GS((function(){var r=YS(e.resolve),o=[],i=0,a=1;VS(t,(function(t){var u=i++,s=!1;a++,US(r,e,t).then((function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var XS=z,BS=Nt,HS=ht,$S=mO,JS=ZT,KS=yE,QS="No one promise resolved";Lr({target:"Promise",stat:!0,forced:yS},{any:function(t){var e=this,r=HS("AggregateError"),n=$S.f(e),o=n.resolve,i=n.reject,a=JS((function(){var n=BS(e.resolve),a=[],u=0,s=1,c=!1;KS(t,(function(t){var f=u++,l=!1;s++,XS(n,e,t).then((function(t){l||c||(c=!0,o(t))}),(function(t){l||c||(l=!0,a[f]=t,--s||i(new r(a,QS)))}))})),--s||i(new r(a,QS))}));return a.error&&i(a.value),n.promise}});var ZS=Lr,tk=tO,ek=p,rk=ht,nk=L,ok=KE,ik=LS,ak=tk&&tk.prototype;ZS({target:"Promise",proto:!0,real:!0,forced:!!tk&&ek((function(){ak.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=ok(this,rk("Promise")),r=nk(t);return this.then(r?function(r){return ik(e,t()).then((function(){return r}))}:t,r?function(r){return ik(e,t()).then((function(){throw r}))}:t)}});var uk=st.Promise,sk=mO,ck=ZT;Lr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=sk.f(this),r=ck(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var fk=uk;!function(t){t.exports=fk}(zw),function(t){t.exports=Fw}(Nw);var lk={},pk={get exports(){return lk},set exports(t){lk=t}},hk={},vk=$d;!function(t){t.exports=vk}({get exports(){return hk},set exports(t){hk=t}}),function(t){t.exports=hk}(pk),function(t){var e=Iw.default,r=o,n=Wr,i=ow,a=Ew,u=Dw,s=cw,c=Mw,f=lk,l=yv;function p(){t.exports=p=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var o={},h=Object.prototype,v=h.hasOwnProperty,d=r||function(t,e,r){t[e]=r.value},y="function"==typeof n?n:{},g=y.iterator||"@@iterator",m=y.asyncIterator||"@@asyncIterator",b=y.toStringTag||"@@toStringTag";function x(t,e,n){return r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{x({},"")}catch(t){x=function(t,e,r){return t[e]=r}}function _(t,e,r,n){var o=e&&e.prototype instanceof T?e:T,a=i(o.prototype),u=new M(n||[]);return d(a,"_invoke",{value:D(t,r,u)}),a}function w(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=_;var E={};function T(){}function O(){}function S(){}var k={};x(k,g,(function(){return this}));var j=a&&a(a(N([])));j&&j!==h&&v.call(j,g)&&(k=j);var A=S.prototype=T.prototype=i(k);function P(t){var e;u(e=["next","throw","return"]).call(e,(function(e){x(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,r){function n(o,i,a,u){var s=w(t[o],t,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==e(f)&&v.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):r.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}var o;d(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function D(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return F()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===E)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=w(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===E)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function C(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),E;var o=w(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,E;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,E):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,E)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],u(t).call(t,L,this),this.reset(!0)}function N(t){if(t){var e=t[g];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(v.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:F}}function F(){return{value:void 0,done:!0}}return O.prototype=S,d(A,"constructor",{value:S,configurable:!0}),d(S,"constructor",{value:O,configurable:!0}),O.displayName=x(S,b,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return s?s(t,S):(t.__proto__=S,x(t,b,"GeneratorFunction")),t.prototype=i(A),t},o.awrap=function(t){return{__await:t}},P(I.prototype),x(I.prototype,m,(function(){return this})),o.AsyncIterator=I,o.async=function(t,e,r,n,i){void 0===i&&(i=c);var a=new I(_(t,e,r,n),i);return o.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},P(A),x(A,b,"Generator"),x(A,g,(function(){return this})),x(A,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return f(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=N,M.prototype={constructor:M,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,u(e=this.tryEntries).call(e,R),!t)for(var r in this)"t"===r.charAt(0)&&v.call(this,r)&&!isNaN(+l(r).call(r,1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=v.call(o,"catchLoc"),u=v.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&v.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,E):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),E},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),E}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),E}},o}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports}(Pw);var dk=Aw(),yk=dk;try{regeneratorRuntime=dk}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=dk:Function("r","regeneratorRuntime = r")(dk)}var gk={},mk={get exports(){return gk},set exports(t){gk=t}},bk={},xk={get exports(){return bk},set exports(t){bk=t}},_k=p((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),wk=p,Ek=ut,Tk=k,Ok=_k,Sk=Object.isExtensible,kk=wk((function(){Sk(1)}))||Ok?function(t){return!!Ek(t)&&((!Ok||"ArrayBuffer"!=Tk(t))&&(!Sk||Sk(t)))}:Sk,jk=!p((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ak=Lr,Pk=E,Ik=wo,Dk=ut,Ck=oe,Lk=nr.f,Rk=oi,Mk=ui,Nk=kk,Fk=jk,zk=!1,qk=ce("meta"),Uk=0,Yk=function(t){Lk(t,qk,{value:{objectID:"O"+Uk++,weakData:{}}})},Wk=xk.exports={enable:function(){Wk.enable=function(){},zk=!0;var t=Rk.f,e=Pk([].splice),r={};r[qk]=1,t(r).length&&(Rk.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===qk){e(n,o,1);break}return n},Ak({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Mk.f}))},fastKey:function(t,e){if(!Dk(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Ck(t,qk)){if(!Nk(t))return"F";if(!e)return"E";Yk(t)}return t[qk].objectID},getWeakData:function(t,e){if(!Ck(t,qk)){if(!Nk(t))return!0;if(!e)return!1;Yk(t)}return t[qk].weakData},onFreeze:function(t){return Fk&&zk&&Nk(t)&&!Ck(t,qk)&&Yk(t),t}};Ik[qk]=!0;var Gk=Lr,Vk=l,Xk=bk,Bk=p,Hk=wr,$k=yE,Jk=XE,Kk=L,Qk=ut,Zk=Bi,tj=nr.f,ej=ga.forEach,rj=M,nj=ca.set,oj=ca.getterFor,ij=function(t,e,r){var n,o=-1!==t.indexOf("Map"),i=-1!==t.indexOf("Weak"),a=o?"set":"add",u=Vk[t],s=u&&u.prototype,c={};if(rj&&Kk(u)&&(i||s.forEach&&!Bk((function(){(new u).entries().next()})))){var f=(n=e((function(e,r){nj(Jk(e,f),{type:t,collection:new u}),null!=r&&$k(r,e[a],{that:e,AS_ENTRIES:o})}))).prototype,l=oj(t);ej(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in s)||i&&"clear"==t||Hk(f,t,(function(r,n){var o=l(this).collection;if(!e&&i&&!Qk(r))return"get"==t&&void 0;var a=o[t](0===r?0:r,n);return e?this:a}))})),i||tj(f,"size",{configurable:!0,get:function(){return l(this).collection.size}})}else n=r.getConstructor(e,t,o,a),Xk.enable();return Zk(n,t,!1,!0),c[t]=n,Gk({global:!0,forced:!0},c),i||r.setStrong(n,t,o),n},aj=_i,uj=ni,sj=Ei,cj=function(t,e,r){for(var n in e)r&&r.unsafe&&t[n]?t[n]=e[n]:aj(t,n,e[n],r);return t},fj=rr,lj=XE,pj=Q,hj=yE,vj=jc,dj=Ac,yj=WE,gj=M,mj=bk.fastKey,bj=ca.set,xj=ca.getterFor,_j={getConstructor:function(t,e,r,n){var o=t((function(t,o){lj(t,i),bj(t,{type:e,index:uj(null),first:void 0,last:void 0,size:0}),gj||(t.size=0),pj(o)||hj(o,t[n],{that:t,AS_ENTRIES:r})})),i=o.prototype,a=xj(e),u=function(t,e,r){var n,o,i=a(t),u=s(t,e);return u?u.value=r:(i.last=u={index:o=mj(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),gj?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},s=function(t,e){var r,n=a(t),o=mj(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return cj(i,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,gj?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=s(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),gj?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=fj(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),cj(i,r?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),gj&&sj(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=xj(e),i=xj(n);vj(t,e,(function(t,e){bj(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?dj("keys"==e?r.key:"values"==e?r.value:[r.key,r.value],!1):(t.target=void 0,dj(void 0,!0))}),r?"entries":"values",!r,!0),yj(e)}};ij("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),_j);var wj=st.Map;!function(t){t.exports=wj}(mk);var Ej=n(gk),Tj={},Oj={get exports(){return Tj},set exports(t){Tj=t}},Sj=ga.some;Lr({target:"Array",proto:!0,forced:!Il("some")},{some:function(t){return Sj(this,t,arguments.length>1?arguments[1]:void 0)}});var kj=vl("Array").some,jj=vt,Aj=kj,Pj=Array.prototype,Ij=function(t){var e=t.some;return t===Pj||jj(Pj,t)&&e===Pj.some?Aj:e};!function(t){t.exports=Ij}(Oj);var Dj=n(Tj),Cj={},Lj={get exports(){return Cj},set exports(t){Cj=t}},Rj=vl("Array").keys,Mj=mn,Nj=oe,Fj=vt,zj=Rj,qj=Array.prototype,Uj={DOMTokenList:!0,NodeList:!0},Yj=function(t){var e=t.keys;return t===qj||Fj(qj,t)&&e===qj.keys||Nj(Uj,Mj(t))?zj:e};!function(t){t.exports=Yj}(Lj);var Wj=n(Cj),Gj={},Vj={get exports(){return Gj},set exports(t){Gj=t}},Xj=hi,Bj=Math.floor,Hj=function(t,e){var r=t.length,n=Bj(r/2);return r<8?$j(t,e):Jj(t,Hj(Xj(t,0,n),e),Hj(Xj(t,n),e),e)},$j=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},Jj=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Kj=Hj,Qj=dt.match(/firefox\/(\d+)/i),Zj=!!Qj&&+Qj[1],tA=/MSIE|Trident/.test(dt),eA=dt.match(/AppleWebKit\/(\d+)\./),rA=!!eA&&+eA[1],nA=Lr,oA=E,iA=Nt,aA=ee,uA=rn,sA=ay,cA=fo,fA=p,lA=Kj,pA=Il,hA=Zj,vA=tA,dA=wt,yA=rA,gA=[],mA=oA(gA.sort),bA=oA(gA.push),xA=fA((function(){gA.sort(void 0)})),_A=fA((function(){gA.sort(null)})),wA=pA("sort"),EA=!fA((function(){if(dA)return dA<70;if(!(hA&&hA>3)){if(vA)return!0;if(yA)return yA<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)gA.push({k:e+n,v:r})}for(gA.sort((function(t,e){return e.v-t.v})),n=0;n<gA.length;n++)e=gA[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));nA({target:"Array",proto:!0,forced:xA||!_A||!wA||!EA},{sort:function(t){void 0!==t&&iA(t);var e=aA(this);if(EA)return void 0===t?mA(e):mA(e,t);var r,n,o=[],i=uA(e);for(n=0;n<i;n++)n in e&&bA(o,e[n]);for(lA(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:cA(e)>cA(r)?1:-1}}(t)),r=uA(o),n=0;n<r;)e[n]=o[n++];for(;n<i;)sA(e,n++);return e}});var TA=vl("Array").sort,OA=vt,SA=TA,kA=Array.prototype,jA=function(t){var e=t.sort;return t===kA||OA(kA,t)&&e===kA.sort?SA:e};!function(t){t.exports=jA}(Vj);var AA=n(Gj),PA={},IA={get exports(){return PA},set exports(t){PA=t}},DA=vl("Array").values,CA=mn,LA=oe,RA=vt,MA=DA,NA=Array.prototype,FA={DOMTokenList:!0,NodeList:!0},zA=function(t){var e=t.values;return t===NA||RA(NA,t)&&e===NA.values||LA(FA,CA(t))?MA:e};!function(t){t.exports=zA}(IA);var qA=n(PA),UA={};!function(t){t.exports=Ff}({get exports(){return UA},set exports(t){UA=t}});var YA=n(UA),WA={},GA={get exports(){return WA},set exports(t){WA=t}},VA=vl("Array").entries,XA=mn,BA=oe,HA=vt,$A=VA,JA=Array.prototype,KA={DOMTokenList:!0,NodeList:!0},QA=function(t){var e=t.entries;return t===JA||HA(JA,t)&&e===JA.entries||BA(KA,XA(t))?$A:e};!function(t){t.exports=QA}(GA);var ZA,tP=n(WA),eP=new Uint8Array(16);function rP(){if(!ZA&&!(ZA="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ZA(eP)}var nP=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var oP=[],iP=0;iP<256;++iP)oP.push((iP+256).toString(16).substr(1));function aP(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(oP[t[e+0]]+oP[t[e+1]]+oP[t[e+2]]+oP[t[e+3]]+"-"+oP[t[e+4]]+oP[t[e+5]]+"-"+oP[t[e+6]]+oP[t[e+7]]+"-"+oP[t[e+8]]+oP[t[e+9]]+"-"+oP[t[e+10]]+oP[t[e+11]]+oP[t[e+12]]+oP[t[e+13]]+oP[t[e+14]]+oP[t[e+15]]).toLowerCase();if(!function(t){return"string"==typeof t&&nP.test(t)}(r))throw TypeError("Stringified UUID is invalid");return r}function uP(t,e,r){var n=(t=t||{}).random||(t.rng||rP)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(var o=0;o<16;++o)e[r+o]=n[o];return e}return aP(n)}function sP(t){return"string"==typeof t||"number"==typeof t}var cP=function(){function t(r){e(this,t),Kf(this,"delay",void 0),Kf(this,"max",void 0),Kf(this,"_queue",[]),Kf(this,"_timeout",null),Kf(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(r)}return Jf(t,[{key:"setOptions",value:function(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var t=this._extended.object,e=this._extended.methods,r=0;r<e.length;r++){var n=e[r];n.original?t[n.name]=n.original:delete t[n.name]}this._extended=null}}},{key:"replace",value:function(t,e){var r=this,n=t[e];if(!n)throw new Error("Method "+e+" undefined");t[e]=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];r.queue({args:e,fn:n,context:this})}}},{key:"queue",value:function(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var t=this;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=nb((function(){t.flush()}),this.delay))}},{key:"flush",value:function(){var t,e;Fd(t=Oy(e=this._queue).call(e,0)).call(t,(function(t){t.fn.apply(t.context||t.fn,t.args||[])}))}}],[{key:"extend",value:function(e,r){var n=new t(r);if(void 0!==e.flush)throw new Error("Target object already has a property flush");e.flush=function(){n.flush()};var o=[{name:"flush",original:void 0}];if(r&&r.replace)for(var i=0;i<r.replace.length;i++){var a=r.replace[i];o.push({name:a,original:e[a]}),n.replace(e,a)}return n._extended={object:e,methods:o},n}}]),t}(),fP=function(){function t(){e(this,t),Kf(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),Kf(this,"subscribe",t.prototype.on),Kf(this,"unsubscribe",t.prototype.off)}return Jf(t,[{key:"_trigger",value:function(t,e,r){var n,o;if("*"===t)throw new Error("Cannot trigger event *");Fd(n=id(o=[]).call(o,$v(this._subscribers[t]),$v(this._subscribers["*"]))).call(n,(function(n){n(t,e,null!=r?r:null)}))}},{key:"on",value:function(t,e){"function"==typeof e&&this._subscribers[t].push(e)}},{key:"off",value:function(t,e){var r;this._subscribers[t]=Hl(r=this._subscribers[t]).call(r,(function(t){return t!==e}))}}]),t}(),lP={},pP={get exports(){return lP},set exports(t){lP=t}};ij("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),_j);var hP=st.Set;!function(t){t.exports=hP}(pP);var vP=n(lP),dP={},yP={get exports(){return dP},set exports(t){dP=t}},gP={},mP=Hp;!function(t){t.exports=mP}({get exports(){return gP},set exports(t){gP=t}}),function(t){t.exports=gP}(yP);var bP,xP=n(dP);function _P(t,e){var r=void 0!==Kv&&mh(t)||t["@@iterator"];if(!r){if(hd(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return wP(t,e);var n=ud(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return hh(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wP(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function wP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}bP=YA;var EP=function(){function t(r){e(this,t),Kf(this,"_pairs",void 0),this._pairs=r}return Jf(t,[{key:bP,value:yk.mark((function t(){var e,r,n,o,i;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=_P(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=Hv(r.value,2),o=n[0],i=n[1],t.next=7,[o,i];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"entries",value:yk.mark((function t(){var e,r,n,o,i;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=_P(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=Hv(r.value,2),o=n[0],i=n[1],t.next=7,[o,i];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"keys",value:yk.mark((function t(){var e,r,n,o;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=_P(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=Hv(r.value,1),o=n[0],t.next=7,o;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"values",value:yk.mark((function t(){var e,r,n,o;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=_P(this._pairs),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return n=Hv(r.value,2),o=n[1],t.next=7,o;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"toIdArray",value:function(){var t;return np(t=$v(this._pairs)).call(t,(function(t){return t[0]}))}},{key:"toItemArray",value:function(){var t;return np(t=$v(this._pairs)).call(t,(function(t){return t[1]}))}},{key:"toEntryArray",value:function(){return $v(this._pairs)}},{key:"toObjectMap",value:function(){var t,e=km(null),r=_P(this._pairs);try{for(r.s();!(t=r.n()).done;){var n=Hv(t.value,2),o=n[0],i=n[1];e[o]=i}}catch(t){r.e(t)}finally{r.f()}return e}},{key:"toMap",value:function(){return new Ej(this._pairs)}},{key:"toIdSet",value:function(){return new vP(this.toIdArray())}},{key:"toItemSet",value:function(){return new vP(this.toItemArray())}},{key:"cache",value:function(){return new t($v(this._pairs))}},{key:"distinct",value:function(t){var e,r=new vP,n=_P(this._pairs);try{for(n.s();!(e=n.n()).done;){var o=Hv(e.value,2),i=o[0],a=o[1];r.add(t(a,i))}}catch(t){n.e(t)}finally{n.f()}return r}},{key:"filter",value:function(e){var r=this._pairs;return new t(Kf({},YA,yk.mark((function t(){var n,o,i,a,u;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=_P(r),t.prev=1,n.s();case 3:if((o=n.n()).done){t.next=10;break}if(i=Hv(o.value,2),a=i[0],u=i[1],!e(u,a)){t.next=8;break}return t.next=8,[a,u];case 8:t.next=3;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),n.e(t.t0);case 15:return t.prev=15,n.f(),t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[1,12,15,18]])}))))}},{key:"forEach",value:function(t){var e,r=_P(this._pairs);try{for(r.s();!(e=r.n()).done;){var n=Hv(e.value,2),o=n[0];t(n[1],o)}}catch(t){r.e(t)}finally{r.f()}}},{key:"map",value:function(e){var r=this._pairs;return new t(Kf({},YA,yk.mark((function t(){var n,o,i,a,u;return yk.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=_P(r),t.prev=1,n.s();case 3:if((o=n.n()).done){t.next=9;break}return i=Hv(o.value,2),a=i[0],u=i[1],t.next=7,[a,e(u,a)];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),n.e(t.t0);case 14:return t.prev=14,n.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])}))))}},{key:"max",value:function(t){var e=xP(this._pairs),r=e.next();if(r.done)return null;for(var n=r.value[1],o=t(r.value[1],r.value[0]);!(r=e.next()).done;){var i=Hv(r.value,2),a=i[0],u=i[1],s=t(u,a);s>o&&(o=s,n=u)}return n}},{key:"min",value:function(t){var e=xP(this._pairs),r=e.next();if(r.done)return null;for(var n=r.value[1],o=t(r.value[1],r.value[0]);!(r=e.next()).done;){var i=Hv(r.value,2),a=i[0],u=i[1],s=t(u,a);s<o&&(o=s,n=u)}return n}},{key:"reduce",value:function(t,e){var r,n=_P(this._pairs);try{for(n.s();!(r=n.n()).done;){var o=Hv(r.value,2),i=o[0];e=t(e,o[1],i)}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"sort",value:function(e){var r=this;return new t(Kf({},YA,(function(){var t;return xP(AA(t=$v(r._pairs)).call(t,(function(t,r){var n=Hv(t,2),o=n[0],i=n[1],a=Hv(r,2),u=a[0],s=a[1];return e(i,s,o,u)})))})))}}]),t}();function TP(t,e){var r=bd(t);if(wh){var n=wh(t);e&&(n=Hl(n).call(n,(function(e){return Rh(t,e).enumerable}))),r.push.apply(r,n)}return r}function OP(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Fd(r=TP(Object(o),!0)).call(r,(function(e){Kf(t,e,o[e])})):$h?av(t,$h(o)):Fd(n=TP(Object(o))).call(n,(function(e){sv(t,e,Rh(o,e))}))}return t}function SP(t,e){var r=void 0!==Kv&&mh(t)||t["@@iterator"];if(!r){if(hd(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return kP(t,e);var n=ud(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return hh(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kP(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function kP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function jP(t){var e=function(){if("undefined"==typeof Reflect||!rw)return!1;if(rw.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(rw(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=jw(t);if(e){var o=jw(this).constructor;r=rw(n,arguments,o)}else r=n.apply(this,arguments);return ww(this,r)}}var AP=function(t){_w(n,t);var r=jP(n);function n(t,o){var i;return e(this,n),Kf(nw(i=r.call(this)),"flush",void 0),Kf(nw(i),"length",void 0),Kf(nw(i),"_options",void 0),Kf(nw(i),"_data",void 0),Kf(nw(i),"_idProp",void 0),Kf(nw(i),"_queue",null),t&&!hd(t)&&(o=t,t=[]),i._options=o||{},i._data=new Ej,i.length=0,i._idProp=i._options.fieldId||"id",t&&t.length&&i.add(t),i.setOptions(o),i}return Jf(n,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=cP.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"===Uf(t.queue)&&this._queue.setOptions(t.queue)))}},{key:"add",value:function(t,e){var r,n=this,o=[];if(hd(t)){var i=np(t).call(t,(function(t){return t[n._idProp]}));if(Dj(i).call(i,(function(t){return n._data.has(t)})))throw new Error("A duplicate id was found in the parameter array.");for(var a=0,u=t.length;a<u;a++)r=this._addItem(t[a]),o.push(r)}else{if(!t||"object"!==Uf(t))throw new Error("Unknown dataType");r=this._addItem(t),o.push(r)}return o.length&&this._trigger("add",{items:o},e),o}},{key:"update",value:function(t,e){var r=this,n=[],o=[],i=[],a=[],u=this._idProp,s=function(t){var e=t[u];if(null!=e&&r._data.has(e)){var s=t,c=Wy({},r._data.get(e)),f=r._updateItem(s);o.push(f),a.push(s),i.push(c)}else{var l=r._addItem(t);n.push(l)}};if(hd(t))for(var c=0,f=t.length;c<f;c++)t[c]&&"object"===Uf(t[c])?s(t[c]):console.warn("Ignoring input item, which is not an object at index "+c);else{if(!t||"object"!==Uf(t))throw new Error("Unknown dataType");s(t)}if(n.length&&this._trigger("add",{items:n},e),o.length){var l={items:o,oldData:i,data:a};this._trigger("update",l,e)}return id(n).call(n,o)}},{key:"updateOnly",value:function(t,e){var r,n=this;hd(t)||(t=[t]);var o=np(r=np(t).call(t,(function(t){var e=n._data.get(t[n._idProp]);if(null==e)throw new Error("Updating non-existent items is not allowed.");return{oldData:e,update:t}}))).call(r,(function(t){var e=t.oldData,r=t.update,o=e[n._idProp],i=function(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return A_.apply(void 0,id(e=[{},t]).call(e,n))}(e,r);return n._data.set(o,i),{id:o,oldData:e,updatedData:i}}));if(o.length){var i={items:np(o).call(o,(function(t){return t.id})),oldData:np(o).call(o,(function(t){return t.oldData})),data:np(o).call(o,(function(t){return t.updatedData}))};return this._trigger("update",i,e),i.items}return[]}},{key:"get",value:function(t,e){var r=void 0,n=void 0,o=void 0;sP(t)?(r=t,o=e):hd(t)?(n=t,o=e):o=t;var i,a=o&&"Object"===o.returnType?"Object":"Array",u=o&&Hl(o),s=[],c=void 0,f=void 0,l=void 0;if(null!=r)(c=this._data.get(r))&&u&&!u(c)&&(c=void 0);else if(null!=n)for(var p=0,h=n.length;p<h;p++)null==(c=this._data.get(n[p]))||u&&!u(c)||s.push(c);else for(var v,d=0,y=(f=$v(Wj(v=this._data).call(v))).length;d<y;d++)l=f[d],null==(c=this._data.get(l))||u&&!u(c)||s.push(c);if(o&&o.order&&null==r&&this._sort(s,o.order),o&&o.fields){var g=o.fields;if(null!=r&&null!=c)c=this._filterFields(c,g);else for(var m=0,b=s.length;m<b;m++)s[m]=this._filterFields(s[m],g)}if("Object"==a){for(var x={},_=0,w=s.length;_<w;_++){var E=s[_];x[E[this._idProp]]=E}return x}return null!=r?null!==(i=c)&&void 0!==i?i:null:s}},{key:"getIds",value:function(t){var e=this._data,r=t&&Hl(t),n=t&&t.order,o=$v(Wj(e).call(e)),i=[];if(r)if(n){for(var a=[],u=0,s=o.length;u<s;u++){var c=o[u],f=this._data.get(c);null!=f&&r(f)&&a.push(f)}this._sort(a,n);for(var l=0,p=a.length;l<p;l++)i.push(a[l][this._idProp])}else for(var h=0,v=o.length;h<v;h++){var d=o[h],y=this._data.get(d);null!=y&&r(y)&&i.push(y[this._idProp])}else if(n){for(var g=[],m=0,b=o.length;m<b;m++){var x=o[m];g.push(e.get(x))}this._sort(g,n);for(var _=0,w=g.length;_<w;_++)i.push(g[_][this._idProp])}else for(var E=0,T=o.length;E<T;E++){var O=o[E],S=e.get(O);null!=S&&i.push(S[this._idProp])}return i}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(t,e){var r=e&&Hl(e),n=this._data,o=$v(Wj(n).call(n));if(e&&e.order)for(var i=this.get(e),a=0,u=i.length;a<u;a++){var s=i[a];t(s,s[this._idProp])}else for(var c=0,f=o.length;c<f;c++){var l=o[c],p=this._data.get(l);null==p||r&&!r(p)||t(p,l)}}},{key:"map",value:function(t,e){for(var r=e&&Hl(e),n=[],o=this._data,i=$v(Wj(o).call(o)),a=0,u=i.length;a<u;a++){var s=i[a],c=this._data.get(s);null==c||r&&!r(c)||n.push(t(c,s))}return e&&e.order&&this._sort(n,e.order),n}},{key:"_filterFields",value:function(t,e){var r;return t?zl(r=hd(e)?e:bd(e)).call(r,(function(e,r){return e[r]=t[r],e}),{}):t}},{key:"_sort",value:function(t,e){if("string"==typeof e){var r=e;AA(t).call(t,(function(t,e){var n=t[r],o=e[r];return n>o?1:n<o?-1:0}))}else{if("function"!=typeof e)throw new TypeError("Order must be a function or a string");AA(t).call(t,e)}}},{key:"remove",value:function(t,e){for(var r=[],n=[],o=hd(t)?t:[t],i=0,a=o.length;i<a;i++){var u=this._remove(o[i]);if(u){var s=u[this._idProp];null!=s&&(r.push(s),n.push(u))}}return r.length&&this._trigger("remove",{items:r,oldData:n},e),r}},{key:"_remove",value:function(t){var e;if(sP(t)?e=t:t&&"object"===Uf(t)&&(e=t[this._idProp]),null!=e&&this._data.has(e)){var r=this._data.get(e)||null;return this._data.delete(e),--this.length,r}return null}},{key:"clear",value:function(t){for(var e,r=$v(Wj(e=this._data).call(e)),n=[],o=0,i=r.length;o<i;o++)n.push(this._data.get(r[o]));return this._data.clear(),this.length=0,this._trigger("remove",{items:r,oldData:n},t),r}},{key:"max",value:function(t){var e,r,n=null,o=null,i=SP(qA(e=this._data).call(e));try{for(i.s();!(r=i.n()).done;){var a=r.value,u=a[t];"number"==typeof u&&(null==o||u>o)&&(n=a,o=u)}}catch(t){i.e(t)}finally{i.f()}return n||null}},{key:"min",value:function(t){var e,r,n=null,o=null,i=SP(qA(e=this._data).call(e));try{for(i.s();!(r=i.n()).done;){var a=r.value,u=a[t];"number"==typeof u&&(null==o||u<o)&&(n=a,o=u)}}catch(t){i.e(t)}finally{i.f()}return n||null}},{key:"distinct",value:function(t){for(var e=this._data,r=$v(Wj(e).call(e)),n=[],o=0,i=0,a=r.length;i<a;i++){for(var u=r[i],s=e.get(u)[t],c=!1,f=0;f<o;f++)if(n[f]==s){c=!0;break}c||void 0===s||(n[o]=s,o++)}return n}},{key:"_addItem",value:function(t){var e=function(t,e){return null==t[e]&&(t[e]=uP()),t}(t,this._idProp),r=e[this._idProp];if(this._data.has(r))throw new Error("Cannot add item: item with id "+r+" already exists");return this._data.set(r,e),++this.length,r}},{key:"_updateItem",value:function(t){var e=t[this._idProp];if(null==e)throw new Error("Cannot update item: item has no id (item: "+Lm(t)+")");var r=this._data.get(e);if(!r)throw new Error("Cannot update item: no item with id "+e+" found");return this._data.set(e,OP(OP({},r),t)),e}},{key:"stream",value:function(t){if(t){var e=this._data;return new EP(Kf({},YA,yk.mark((function r(){var n,o,i,a;return yk.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=SP(t),r.prev=1,n.s();case 3:if((o=n.n()).done){r.next=11;break}if(i=o.value,null==(a=e.get(i))){r.next=9;break}return r.next=9,[i,a];case 9:r.next=3;break;case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(1),n.e(r.t0);case 16:return r.prev=16,n.f(),r.finish(16);case 19:case"end":return r.stop()}}),r,null,[[1,13,16,19]])}))))}var r;return new EP(Kf({},YA,xl(r=tP(this._data)).call(r,this._data)))}}]),n}(fP);function PP(t,e){var r=void 0!==Kv&&mh(t)||t["@@iterator"];if(!r){if(hd(t)||(r=function(t,e){var r;if(!t)return;if("string"==typeof t)return IP(t,e);var n=ud(r=Object.prototype.toString.call(t)).call(r,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return hh(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IP(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function IP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function DP(t){var e=function(){if("undefined"==typeof Reflect||!rw)return!1;if(rw.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(rw(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=jw(t);if(e){var o=jw(this).constructor;r=rw(n,arguments,o)}else r=n.apply(this,arguments);return ww(this,r)}}var CP=function(t){_w(n,t);var r=DP(n);function n(t,o){var i,a;return e(this,n),Kf(nw(a=r.call(this)),"length",0),Kf(nw(a),"_listener",void 0),Kf(nw(a),"_data",void 0),Kf(nw(a),"_ids",new vP),Kf(nw(a),"_options",void 0),a._options=o||{},a._listener=xl(i=a._onEvent).call(i,nw(a)),a.setData(t),a}return Jf(n,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(t){if(this._data){this._data.off&&this._data.off("*",this._listener);var e=this._data.getIds({filter:Hl(this._options)}),r=this._data.get(e);this._ids.clear(),this.length=0,this._trigger("remove",{items:e,oldData:r})}if(null!=t){this._data=t;for(var n=this._data.getIds({filter:Hl(this._options)}),o=0,i=n.length;o<i;o++){var a=n[o];this._ids.add(a)}this.length=n.length,this._trigger("add",{items:n})}else this._data=new AP;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var t=this._data.getIds({filter:Hl(this._options)}),e=$v(this._ids),r={},n=[],o=[],i=[],a=0,u=t.length;a<u;a++){var s=t[a];r[s]=!0,this._ids.has(s)||(n.push(s),this._ids.add(s))}for(var c=0,f=e.length;c<f;c++){var l=e[c],p=this._data.get(l);null==p?console.error("If you see this, report it please."):r[l]||(o.push(l),i.push(p),this._ids.delete(l))}this.length+=n.length-o.length,n.length&&this._trigger("add",{items:n}),o.length&&this._trigger("remove",{items:o,oldData:i})}},{key:"get",value:function(t,e){if(null==this._data)return null;var r,n=null;sP(t)||hd(t)?(n=t,r=e):r=t;var o=Wy({},this._options,r),i=Hl(this._options),a=r&&Hl(r);return i&&a&&(o.filter=function(t){return i(t)&&a(t)}),null==n?this._data.get(o):this._data.get(n,o)}},{key:"getIds",value:function(t){if(this._data.length){var e,r=Hl(this._options),n=null!=t?Hl(t):null;return e=n?r?function(t){return r(t)&&n(t)}:n:r,this._data.getIds({filter:e,order:t&&t.order})}return[]}},{key:"forEach",value:function(t,e){if(this._data){var r,n,o=Hl(this._options),i=e&&Hl(e);n=i?o?function(t){return o(t)&&i(t)}:i:o,Fd(r=this._data).call(r,t,{filter:n,order:e&&e.order})}}},{key:"map",value:function(t,e){if(this._data){var r,n,o=Hl(this._options),i=e&&Hl(e);return n=i?o?function(t){return o(t)&&i(t)}:i:o,np(r=this._data).call(r,t,{filter:n,order:e&&e.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(t){var e;return this._data.stream(t||Kf({},YA,xl(e=Wj(this._ids)).call(e,this._ids)))}},{key:"dispose",value:function(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);var e,r="This data view has already been disposed of.",o={get:function(){throw new Error(r)},set:function(){throw new Error(r)},configurable:!1},i=PP(ld(n.prototype));try{for(i.s();!(e=i.n()).done;){var a=e.value;sv(this,a,o)}}catch(t){i.e(t)}finally{i.f()}}},{key:"_onEvent",value:function(t,e,r){if(e&&e.items&&this._data){var n=e.items,o=[],i=[],a=[],u=[],s=[],c=[];switch(t){case"add":for(var f=0,l=n.length;f<l;f++){var p=n[f];this.get(p)&&(this._ids.add(p),o.push(p))}break;case"update":for(var h=0,v=n.length;h<v;h++){var d=n[h];this.get(d)?this._ids.has(d)?(i.push(d),s.push(e.data[h]),u.push(e.oldData[h])):(this._ids.add(d),o.push(d)):this._ids.has(d)&&(this._ids.delete(d),a.push(d),c.push(e.oldData[h]))}break;case"remove":for(var y=0,g=n.length;y<g;y++){var m=n[y];this._ids.has(m)&&(this._ids.delete(m),a.push(m),c.push(e.oldData[y]))}}this.length+=o.length-a.length,o.length&&this._trigger("add",{items:o},r),i.length&&this._trigger("update",{items:i,oldData:u,data:s},r),a.length&&this._trigger("remove",{items:a,oldData:c},r)}}}]),n}(fP);function LP(t,e){return"object"===Uf(e)&&null!==e&&t===e.idProp&&"function"==typeof e.add&&"function"==typeof e.clear&&"function"==typeof e.distinct&&"function"==typeof Fd(e)&&"function"==typeof e.get&&"function"==typeof e.getDataSet&&"function"==typeof e.getIds&&"number"==typeof e.length&&"function"==typeof np(e)&&"function"==typeof e.max&&"function"==typeof e.min&&"function"==typeof e.off&&"function"==typeof e.on&&"function"==typeof e.remove&&"function"==typeof e.setOptions&&"function"==typeof e.stream&&"function"==typeof e.update&&"function"==typeof e.updateOnly}t.DELETE=j_,t.DataSet=AP,t.DataStream=EP,t.DataView=CP,t.Queue=cP,t.createNewDataPipeFrom=function(t){return new Ep(t)},t.isDataSetLike=LP,t.isDataViewLike=function(t,e){return"object"===Uf(e)&&null!==e&&t===e.idProp&&"function"==typeof Fd(e)&&"function"==typeof e.get&&"function"==typeof e.getDataSet&&"function"==typeof e.getIds&&"number"==typeof e.length&&"function"==typeof np(e)&&"function"==typeof e.off&&"function"==typeof e.on&&"function"==typeof e.stream&&LP(t,e.getDataSet())}}));
|
|
33
33
|
//# sourceMappingURL=vis-data.min.js.map
|