UNPKG

vis-timeline

Version:

Create a fully customizable, interactive timeline with items and ranges.

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