UNPKG

vis-timeline

Version:

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

51 lines 362 kB
/** * vis-timeline and vis-graph2d * https://visjs.github.io/vis-timeline/ * * Create a fully customizable, interactive timeline with items and ranges. * * @version 7.3.7 * @date 2020-06-20T13:17:46.663Z * * @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{DataSet as e,createNewDataPipeFrom as i,DataView as n}from"vis-data/peer/esm/vis-data.js";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}function s(t){return t&&t.default||t}var a,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 o&&o)||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},d=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,m={f:p&&!c.call({1:2},1)?function(t){var e=p(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g={}.toString,v=function(t){return g.call(t).slice(8,-1)},y="".split,b=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?y.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},_=function(t){return b(w(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,e){if(!k(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!k(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!k(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!k(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},S={}.hasOwnProperty,D=function(t,e){return S.call(t,e)},C=h.document,T=k(C)&&k(C.createElement),O=function(t){return T?C.createElement(t):{}},E=!d&&!u((function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a})),I=Object.getOwnPropertyDescriptor,M={f:d?I:function(t,e){if(t=_(t),e=x(e,!0),E)try{return I(t,e)}catch(t){}if(D(t,e))return f(!m.f.call(t,e),t[e])}},A=/#|\.prototype\./,P=function(t,e){var i=R[N(t)];return i==j||i!=L&&("function"==typeof e?u(e):!!e)},N=P.normalize=function(t){return String(t).replace(A,".").toLowerCase()},R=P.data={},L=P.NATIVE="N",j=P.POLYFILL="P",F=P,z={},G=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},H=function(t,e,i){if(G(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}},B=function(t){if(!k(t))throw TypeError(String(t)+" is not an object");return t},Y=Object.defineProperty,W={f:d?Y:function(t,e,i){if(B(t),e=x(e,!0),B(i),E)try{return Y(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},V=d?function(t,e,i){return W.f(t,e,f(1,i))}:function(t,e,i){return t[e]=i,t},U=M.f,X=function(t){var e=function(e,i,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,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},q=function(t,e){var i,n,o,r,s,a,l,u,d=t.target,c=t.global,p=t.stat,m=t.proto,f=c?h:p?h[d]:(h[d]||{}).prototype,g=c?z:z[d]||(z[d]={}),v=g.prototype;for(o in e)i=!F(c?o:d+(p?".":"#")+o,t.forced)&&f&&D(f,o),s=g[o],i&&(a=t.noTargetGet?(u=U(f,o))&&u.value:f[o]),r=i&&a?a:e[o],i&&typeof s==typeof r||(l=t.bind&&i?H(r,h):t.wrap&&i?X(r):m&&"function"==typeof r?H(Function.call,r):r,(t.sham||r&&r.sham||s&&s.sham)&&V(l,"sham",!0),g[o]=l,m&&(D(z,n=d+"Prototype")||V(z,n,{}),z[n][o]=r,t.real&&v&&!v[o]&&V(v,o,r)))},K=function(t){return"function"==typeof t?t:void 0},$=function(t,e){return arguments.length<2?K(z[t])||K(h[t]):z[t]&&z[t][e]||h[t]&&h[t][e]},Z=Math.ceil,Q=Math.floor,J=function(t){return isNaN(t=+t)?0:(t>0?Q:Z)(t)},tt=Math.min,et=function(t){return t>0?tt(J(t),9007199254740991):0},it=Math.max,nt=Math.min,ot=function(t,e){var i=J(t);return i<0?it(i+e,0):nt(i,e)},rt=function(t){return function(e,i,n){var o,r=_(e),s=et(r.length),a=ot(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}},st={includes:rt(!0),indexOf:rt(!1)},at={},lt=st.indexOf,ht=function(t,e){var i,n=_(t),o=0,r=[];for(i in n)!D(at,i)&&D(n,i)&&r.push(i);for(;e.length>o;)D(n,i=e[o++])&&(~lt(r,i)||r.push(i));return r},ut=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dt=Object.keys||function(t){return ht(t,ut)},ct=d?Object.defineProperties:function(t,e){B(t);for(var i,n=dt(e),o=n.length,r=0;o>r;)W.f(t,i=n[r++],e[i]);return t},pt=$("document","documentElement"),mt=h["__core-js_shared__"]||function(t,e){try{V(h,t,e)}catch(i){h[t]=e}return e}("__core-js_shared__",{}),ft=r((function(t){(t.exports=function(t,e){return mt[t]||(mt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),gt=0,vt=Math.random(),yt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++gt+vt).toString(36)},bt=ft("keys"),wt=function(t){return bt[t]||(bt[t]=yt(t))},_t=wt("IE_PROTO"),kt=function(){},xt=function(t){return"<script>"+t+"<\/script>"},St=function(){try{a=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;St=a?function(t){t.write(xt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(a):((e=O("iframe")).style.display="none",pt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(xt("document.F=Object")),t.close(),t.F);for(var i=ut.length;i--;)delete St.prototype[ut[i]];return St()};at[_t]=!0;var Dt=Object.create||function(t,e){var i;return null!==t?(kt.prototype=B(t),i=new kt,kt.prototype=null,i[_t]=t):i=St(),void 0===e?i:ct(i,e)},Ct=[].slice,Tt={},Ot=function(t,e,i){if(!(e in Tt)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Tt[e]=Function("C,a","return new C("+n.join(",")+")")}return Tt[e](t,i)},Et=Function.bind||function(t){var e=G(this),i=Ct.call(arguments,1),n=function(){var o=i.concat(Ct.call(arguments));return this instanceof n?Ot(e,o.length,o):e.apply(t,o)};return k(e.prototype)&&(n.prototype=e.prototype),n},It=$("Reflect","construct"),Mt=u((function(){function t(){}return!(It((function(){}),[],t)instanceof t)})),At=!u((function(){It((function(){}))})),Pt=Mt||At;q({target:"Reflect",stat:!0,forced:Pt,sham:Pt},{construct:function(t,e){G(t),B(e);var i=arguments.length<3?t:G(arguments[2]);if(At&&!Mt)return It(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 n.push.apply(n,e),new(Et.apply(t,n))}var o=i.prototype,r=Dt(k(o)?o:Object.prototype),s=Function.apply.call(t,r,e);return k(s)?s:r}});var Nt=z.Reflect.construct,Rt={},Lt=Function.toString;"function"!=typeof mt.inspectSource&&(mt.inspectSource=function(t){return Lt.call(t)});var jt,Ft,zt,Gt=mt.inspectSource,Ht=h.WeakMap,Bt="function"==typeof Ht&&/native code/.test(Gt(Ht)),Yt=h.WeakMap;if(Bt){var Wt=new Yt,Vt=Wt.get,Ut=Wt.has,Xt=Wt.set;jt=function(t,e){return Xt.call(Wt,t,e),e},Ft=function(t){return Vt.call(Wt,t)||{}},zt=function(t){return Ut.call(Wt,t)}}else{var qt=wt("state");at[qt]=!0,jt=function(t,e){return V(t,qt,e),e},Ft=function(t){return D(t,qt)?t[qt]:{}},zt=function(t){return D(t,qt)}}var Kt,$t,Zt,Qt={set:jt,get:Ft,has:zt,enforce:function(t){return zt(t)?Ft(t):jt(t,{})},getterFor:function(t){return function(e){var i;if(!k(e)||(i=Ft(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},Jt=function(t){return Object(w(t))},te=!u((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ee=wt("IE_PROTO"),ie=Object.prototype,ne=te?Object.getPrototypeOf:function(t){return t=Jt(t),D(t,ee)?t[ee]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ie:null},oe=!!Object.getOwnPropertySymbols&&!u((function(){return!String(Symbol())})),re=oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=ft("wks"),ae=h.Symbol,le=re?ae:ae&&ae.withoutSetter||yt,he=function(t){return D(se,t)||(oe&&D(ae,t)?se[t]=ae[t]:se[t]=le("Symbol."+t)),se[t]},ue=(he("iterator"),!1);[].keys&&("next"in(Zt=[].keys())?($t=ne(ne(Zt)))!==Object.prototype&&(Kt=$t):ue=!0),null==Kt&&(Kt={});var de={IteratorPrototype:Kt,BUGGY_SAFARI_ITERATORS:ue},ce={};ce[he("toStringTag")]="z";var pe="[object z]"===String(ce),me=he("toStringTag"),fe="Arguments"==v(function(){return arguments}()),ge=pe?v: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=Object(t),me))?i:fe?v(e):"Object"==(n=v(e))&&"function"==typeof e.callee?"Arguments":n},ve=pe?{}.toString:function(){return"[object "+ge(this)+"]"},ye=W.f,be=he("toStringTag"),we=function(t,e,i,n){if(t){var o=i?t:t.prototype;D(o,be)||ye(o,be,{configurable:!0,value:e}),n&&!pe&&V(o,"toString",ve)}},_e=de.IteratorPrototype,ke=function(){return this},xe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,n){return B(i),function(t){if(!k(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(i,n):i.__proto__=n,i}}():void 0),Se=function(t,e,i,n){n&&n.enumerable?t[e]=i:V(t,e,i)},De=de.IteratorPrototype,Ce=de.BUGGY_SAFARI_ITERATORS,Te=he("iterator"),Oe=function(){return this},Ee=function(t,e,i,n,o,r,s){!function(t,e,i){var n=e+" Iterator";t.prototype=Dt(_e,{next:f(1,i)}),we(t,n,!1,!0),Rt[n]=ke}(i,e,n);var a,l,h,u=function(t){if(t===o&&g)return g;if(!Ce&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},d=e+" Iterator",c=!1,p=t.prototype,m=p[Te]||p["@@iterator"]||o&&p[o],g=!Ce&&m||u(o),v="Array"==e&&p.entries||m;if(v&&(a=ne(v.call(new t)),De!==Object.prototype&&a.next&&(we(a,d,!0,!0),Rt[d]=Oe)),"values"==o&&m&&"values"!==m.name&&(c=!0,g=function(){return m.call(this)}),s&&p[Te]!==g&&V(p,Te,g),Rt[e]=g,o)if(l={values:u("values"),keys:r?g:u("keys"),entries:u("entries")},s)for(h in l)!Ce&&!c&&h in p||Se(p,h,l[h]);else q({target:e,proto:!0,forced:Ce||c},l);return l},Ie=Qt.set,Me=Qt.getterFor("Array Iterator");Ee(Array,"Array",(function(t,e){Ie(this,{type:"Array Iterator",target:_(t),index:0,kind:e})}),(function(){var t=Me(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");Rt.Arguments=Rt.Array;var Ae=he("toStringTag");for(var Pe in{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}){var Ne=h[Pe],Re=Ne&&Ne.prototype;Re&&ge(Re)!==Ae&&V(Re,Ae,Pe),Rt[Pe]=Rt.Array}var Le=Array.isArray||function(t){return"Array"==v(t)},je=he("species"),Fe=function(t,e){var i;return Le(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!Le(i.prototype)?k(i)&&null===(i=i[je])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)},ze=[].push,Ge=function(t){var e=1==t,i=2==t,n=3==t,o=4==t,r=6==t,s=5==t||r;return function(a,l,h,u){for(var d,c,p=Jt(a),m=b(p),f=H(l,h,3),g=et(m.length),v=0,y=u||Fe,w=e?y(a,g):i?y(a,0):void 0;g>v;v++)if((s||v in m)&&(c=f(d=m[v],v,p),t))if(e)w[v]=c;else if(c)switch(t){case 3:return!0;case 5:return d;case 6:return v;case 2:ze.call(w,d)}else if(o)return!1;return r?-1:n||o?o:w}},He={forEach:Ge(0),map:Ge(1),filter:Ge(2),some:Ge(3),every:Ge(4),find:Ge(5),findIndex:Ge(6)},Be=function(t,e){var i=[][t];return!!i&&u((function(){i.call(null,e||function(){throw 1},1)}))},Ye=Object.defineProperty,We={},Ve=function(t){throw t},Ue=function(t,e){if(D(We,t))return We[t];e||(e={});var i=[][t],n=!!D(e,"ACCESSORS")&&e.ACCESSORS,o=D(e,0)?e[0]:Ve,r=D(e,1)?e[1]:void 0;return We[t]=!!i&&!u((function(){if(n&&!d)return!0;var t={length:-1};n?Ye(t,1,{enumerable:!0,get:Ve}):t[1]=1,i.call(t,o,r)}))},Xe=He.forEach,qe=Be("forEach"),Ke=Ue("forEach"),$e=qe&&Ke?[].forEach:function(t){return Xe(this,t,arguments.length>1?arguments[1]:void 0)};q({target:"Array",proto:!0,forced:[].forEach!=$e},{forEach:$e});var Ze,Qe,Je=function(t){return z[t+"Prototype"]},ti=Je("Array").forEach,ei=Array.prototype,ii={DOMTokenList:!0,NodeList:!0},ni=function(t){var e=t.forEach;return t===ei||t instanceof Array&&e===ei.forEach||ii.hasOwnProperty(ge(t))?ti:e},oi=$("navigator","userAgent")||"",ri=h.process,si=ri&&ri.versions,ai=si&&si.v8;ai?Qe=(Ze=ai.split("."))[0]+Ze[1]:oi&&(!(Ze=oi.match(/Edge\/(\d+)/))||Ze[1]>=74)&&(Ze=oi.match(/Chrome\/(\d+)/))&&(Qe=Ze[1]);var li=Qe&&+Qe,hi=he("species"),ui=function(t){return li>=51||!u((function(){var e=[];return(e.constructor={})[hi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},di=He.filter,ci=ui("filter"),pi=Ue("filter");q({target:"Array",proto:!0,forced:!ci||!pi},{filter:function(t){return di(this,t,arguments.length>1?arguments[1]:void 0)}});var mi=Je("Array").filter,fi=Array.prototype,gi=function(t){var e=t.filter;return t===fi||t instanceof Array&&e===fi.filter?mi:e},vi=[].slice,yi=/MSIE .\./.test(oi),bi=function(t){return function(e,i){var n=arguments.length>2,o=n?vi.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,i)}};q({global:!0,bind:!0,forced:yi},{setTimeout:bi(h.setTimeout),setInterval:bi(h.setInterval)});var wi=z.setTimeout;q({target:"Function",proto:!0},{bind:Et});var _i=Je("Function").bind,ki=Function.prototype,xi=function(t){var e=t.bind;return t===ki||t instanceof Function&&e===ki.bind?_i:e};q({target:"Array",stat:!0},{isArray:Le});var Si=z.Array.isArray,Di=Si;var Ci=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};q({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperty:W.f});var Ti=r((function(t){var e=z.Object,i=t.exports=function(t,i,n){return e.defineProperty(t,i,n)};e.defineProperty.sham&&(i.sham=!0)})),Oi=Ti;function Ei(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),Oi(t,n.key,n)}}var Ii=function(t,e,i){return e&&Ei(t.prototype,e),i&&Ei(t,i),t};var Mi=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};q({target:"Object",stat:!0,sham:!d},{create:Dt});var Ai=z.Object,Pi=function(t,e){return Ai.create(t,e)},Ni=Pi;q({target:"Object",stat:!0},{setPrototypeOf:xe});var Ri=z.Object.setPrototypeOf,Li=r((function(t){function e(i,n){return t.exports=e=Ri||function(t,e){return t.__proto__=e,t},e(i,n)}t.exports=e}));var ji=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Ni(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Li(t,e)},Fi={f:he},zi=W.f,Gi=function(t){var e=z.Symbol||(z.Symbol={});D(e,t)||zi(e,t,{value:Fi.f(t)})};Gi("iterator");var Hi=function(t){return function(e,i){var n,o,r=String(w(e)),s=J(i),a=r.length;return s<0||s>=a?t?"":void 0:(n=r.charCodeAt(s))<55296||n>56319||s+1===a||(o=r.charCodeAt(s+1))<56320||o>57343?t?r.charAt(s):n:t?r.slice(s,s+2):o-56320+(n-55296<<10)+65536}},Bi={codeAt:Hi(!1),charAt:Hi(!0)}.charAt,Yi=Qt.set,Wi=Qt.getterFor("String Iterator");Ee(String,"String",(function(t){Yi(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Wi(this),i=e.string,n=e.index;return n>=i.length?{value:void 0,done:!0}:(t=Bi(i,n),e.index+=t.length,{value:t,done:!1})}));var Vi=Fi.f("iterator"),Ui=function(t,e,i){var n=x(e);n in t?W.f(t,n,f(0,i)):t[n]=i},Xi=he("isConcatSpreadable"),qi=li>=51||!u((function(){var t=[];return t[Xi]=!1,t.concat()[0]!==t})),Ki=ui("concat"),$i=function(t){if(!k(t))return!1;var e=t[Xi];return void 0!==e?!!e:Le(t)};q({target:"Array",proto:!0,forced:!qi||!Ki},{concat:function(t){var e,i,n,o,r,s=Jt(this),a=Fe(s,0),l=0;for(e=-1,n=arguments.length;e<n;e++)if(r=-1===e?s:arguments[e],$i(r)){if(l+(o=et(r.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(i=0;i<o;i++,l++)i in r&&Ui(a,l,r[i])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ui(a,l++,r)}return a.length=l,a}});var Zi=Object.freeze({__proto__:null}),Qi=ut.concat("length","prototype"),Ji={f:Object.getOwnPropertyNames||function(t){return ht(t,Qi)}},tn=Ji.f,en={}.toString,nn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],on={f:function(t){return nn&&"[object Window]"==en.call(t)?function(t){try{return tn(t)}catch(t){return nn.slice()}}(t):tn(_(t))}},rn={f:Object.getOwnPropertySymbols},sn=He.forEach,an=wt("hidden"),ln=he("toPrimitive"),hn=Qt.set,un=Qt.getterFor("Symbol"),dn=Object.prototype,cn=h.Symbol,pn=$("JSON","stringify"),mn=M.f,fn=W.f,gn=on.f,vn=m.f,yn=ft("symbols"),bn=ft("op-symbols"),wn=ft("string-to-symbol-registry"),_n=ft("symbol-to-string-registry"),kn=ft("wks"),xn=h.QObject,Sn=!xn||!xn.prototype||!xn.prototype.findChild,Dn=d&&u((function(){return 7!=Dt(fn({},"a",{get:function(){return fn(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=mn(dn,e);n&&delete dn[e],fn(t,e,i),n&&t!==dn&&fn(dn,e,n)}:fn,Cn=function(t,e){var i=yn[t]=Dt(cn.prototype);return hn(i,{type:"Symbol",tag:t,description:e}),d||(i.description=e),i},Tn=re?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof cn},On=function(t,e,i){t===dn&&On(bn,e,i),B(t);var n=x(e,!0);return B(i),D(yn,n)?(i.enumerable?(D(t,an)&&t[an][n]&&(t[an][n]=!1),i=Dt(i,{enumerable:f(0,!1)})):(D(t,an)||fn(t,an,f(1,{})),t[an][n]=!0),Dn(t,n,i)):fn(t,n,i)},En=function(t,e){B(t);var i=_(e),n=dt(i).concat(Pn(i));return sn(n,(function(e){d&&!In.call(i,e)||On(t,e,i[e])})),t},In=function(t){var e=x(t,!0),i=vn.call(this,e);return!(this===dn&&D(yn,e)&&!D(bn,e))&&(!(i||!D(this,e)||!D(yn,e)||D(this,an)&&this[an][e])||i)},Mn=function(t,e){var i=_(t),n=x(e,!0);if(i!==dn||!D(yn,n)||D(bn,n)){var o=mn(i,n);return!o||!D(yn,n)||D(i,an)&&i[an][n]||(o.enumerable=!0),o}},An=function(t){var e=gn(_(t)),i=[];return sn(e,(function(t){D(yn,t)||D(at,t)||i.push(t)})),i},Pn=function(t){var e=t===dn,i=gn(e?bn:_(t)),n=[];return sn(i,(function(t){!D(yn,t)||e&&!D(dn,t)||n.push(yn[t])})),n};if(oe||(Se((cn=function(){if(this instanceof cn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=yt(t),i=function(t){this===dn&&i.call(bn,t),D(this,an)&&D(this[an],e)&&(this[an][e]=!1),Dn(this,e,f(1,t))};return d&&Sn&&Dn(dn,e,{configurable:!0,set:i}),Cn(e,t)}).prototype,"toString",(function(){return un(this).tag})),Se(cn,"withoutSetter",(function(t){return Cn(yt(t),t)})),m.f=In,W.f=On,M.f=Mn,Ji.f=on.f=An,rn.f=Pn,Fi.f=function(t){return Cn(he(t),t)},d&&fn(cn.prototype,"description",{configurable:!0,get:function(){return un(this).description}})),q({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:cn}),sn(dt(kn),(function(t){Gi(t)})),q({target:"Symbol",stat:!0,forced:!oe},{for:function(t){var e=String(t);if(D(wn,e))return wn[e];var i=cn(e);return wn[e]=i,_n[i]=e,i},keyFor:function(t){if(!Tn(t))throw TypeError(t+" is not a symbol");if(D(_n,t))return _n[t]},useSetter:function(){Sn=!0},useSimple:function(){Sn=!1}}),q({target:"Object",stat:!0,forced:!oe,sham:!d},{create:function(t,e){return void 0===e?Dt(t):En(Dt(t),e)},defineProperty:On,defineProperties:En,getOwnPropertyDescriptor:Mn}),q({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:An,getOwnPropertySymbols:Pn}),q({target:"Object",stat:!0,forced:u((function(){rn.f(1)}))},{getOwnPropertySymbols:function(t){return rn.f(Jt(t))}}),pn){var Nn=!oe||u((function(){var t=cn();return"[null]"!=pn([t])||"{}"!=pn({a:t})||"{}"!=pn(Object(t))}));q({target:"JSON",stat:!0,forced:Nn},{stringify:function(t,e,i){for(var n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e,(k(e)||void 0!==t)&&!Tn(t))return Le(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Tn(e))return e}),o[1]=e,pn.apply(null,o)}})}cn.prototype[ln]||V(cn.prototype,ln,cn.prototype.valueOf),we(cn,"Symbol"),at[an]=!0,Gi("asyncIterator");var Rn=Object.freeze({__proto__:null});Gi("hasInstance"),Gi("isConcatSpreadable"),Gi("match"),Gi("matchAll"),Gi("replace"),Gi("search"),Gi("species"),Gi("split"),Gi("toPrimitive"),Gi("toStringTag"),Gi("unscopables"),we(Math,"Math",!0),we(h.JSON,"JSON",!0),s(Zi),s(Rn);var Ln=z.Symbol;Gi("asyncDispose"),Gi("dispose"),Gi("observable"),Gi("patternMatch"),Gi("replaceAll");var jn=Ln,Fn=r((function(t){function e(i){return t.exports=e="function"==typeof jn&&"symbol"==typeof Vi?function(t){return typeof t}:function(t){return t&&"function"==typeof jn&&t.constructor===jn&&t!==jn.prototype?"symbol":typeof t},e(i)}t.exports=e}));var zn=function(t,e){return!e||"object"!==Fn(e)&&"function"!=typeof e?Mi(t):e},Gn=u((function(){ne(1)}));q({target:"Object",stat:!0,forced:Gn,sham:!te},{getPrototypeOf:function(t){return ne(Jt(t))}});var Hn=z.Object.getPrototypeOf,Bn=Hn,Yn=r((function(t){function e(i){return t.exports=e=Ri?Bn:function(t){return t.__proto__||Bn(t)},e(i)}t.exports=e})),Wn="undefined"!=typeof window&&window.moment||t,Vn=Ti;q({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperties:ct});var Un=r((function(t){var e=z.Object,i=t.exports=function(t,i){return e.defineProperties(t,i)};e.defineProperties.sham&&(i.sham=!0)})),Xn=$("Reflect","ownKeys")||function(t){var e=Ji.f(B(t)),i=rn.f;return i?e.concat(i(t)):e};q({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function(t){for(var e,i,n=_(t),o=M.f,r=Xn(n),s={},a=0;r.length>a;)void 0!==(i=o(n,e=r[a++]))&&Ui(s,e,i);return s}});var qn=z.Object.getOwnPropertyDescriptors,Kn=M.f,$n=u((function(){Kn(1)}));q({target:"Object",stat:!0,forced:!d||$n,sham:!d},{getOwnPropertyDescriptor:function(t,e){return Kn(_(t),e)}});var Zn=r((function(t){var e=z.Object,i=t.exports=function(t,i){return e.getOwnPropertyDescriptor(t,i)};e.getOwnPropertyDescriptor.sham&&(i.sham=!0)})),Qn=z.Object.getOwnPropertySymbols;var Jn=function(t,e,i){return e in t?Oi(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},to=u((function(){dt(1)}));q({target:"Object",stat:!0,forced:to},{keys:function(t){return dt(Jt(t))}});var eo=z.Object.keys,io=function(t){return function(e,i,n,o){G(i);var r=Jt(e),s=b(r),a=et(r.length),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 TypeError("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}},no={left:io(!1),right:io(!0)}.left,oo=Be("reduce"),ro=Ue("reduce",{1:0});q({target:"Array",proto:!0,forced:!oo||!ro},{reduce:function(t){return no(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var so=Je("Array").reduce,ao=Array.prototype,lo=function(t){var e=t.reduce;return t===ao||t instanceof Array&&e===ao.reduce?so:e},ho=He.map,uo=ui("map"),co=Ue("map");q({target:"Array",proto:!0,forced:!uo||!co},{map:function(t){return ho(this,t,arguments.length>1?arguments[1]:void 0)}});var po=Je("Array").map,mo=Array.prototype,fo=function(t){var e=t.map;return t===mo||t instanceof Array&&e===mo.map?po:e},go=he("iterator"),vo=function(t){if(null!=t)return t[go]||t["@@iterator"]||Rt[ge(t)]},yo=function(t){var e=vo(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return B(e.call(t))},bo=vo,wo=function(t,e,i,n){try{return n?e(B(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&B(o.call(t)),e}},_o=he("iterator"),ko=Array.prototype,xo=function(t){return void 0!==t&&(Rt.Array===t||ko[_o]===t)},So=he("iterator"),Do=!1;try{var Co=0,To={next:function(){return{done:!!Co++}},return:function(){Do=!0}};To[So]=function(){return this},Array.from(To,(function(){throw 2}))}catch(t){}var Oo=!function(t,e){if(!e&&!Do)return!1;var i=!1;try{var n={};n[So]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(t){}return i}((function(t){Array.from(t)}));q({target:"Array",stat:!0,forced:Oo},{from:function(t){var e,i,n,o,r,s,a=Jt(t),l="function"==typeof this?this:Array,h=arguments.length,u=h>1?arguments[1]:void 0,d=void 0!==u,c=vo(a),p=0;if(d&&(u=H(u,h>2?arguments[2]:void 0,2)),null==c||l==Array&&xo(c))for(i=new l(e=et(a.length));e>p;p++)s=d?u(a[p],p):a[p],Ui(i,p,s);else for(r=(o=c.call(a)).next,i=new l;!(n=r.call(o)).done;p++)s=d?wo(o,u,[n.value,p],!0):n.value,Ui(i,p,s);return i.length=p,i}});var Eo,Io=z.Array.from,Mo=Io,Ao=Pi,Po="\t\n\v\f\r                 \u2028\u2029\ufeff",No="["+Po+"]",Ro=RegExp("^"+No+No+"*"),Lo=RegExp(No+No+"*$"),jo=function(t){return function(e){var i=String(w(e));return 1&t&&(i=i.replace(Ro,"")),2&t&&(i=i.replace(Lo,"")),i}},Fo={start:jo(1),end:jo(2),trim:jo(3)},zo=Fo.trim;q({target:"String",proto:!0,forced:(Eo="trim",u((function(){return!!Po[Eo]()||"​…᠎"!="​…᠎"[Eo]()||Po[Eo].name!==Eo})))},{trim:function(){return zo(this)}});var Go=Je("String").trim,Ho=String.prototype,Bo=function(t){var e=t.trim;return"string"==typeof t||t===Ho||t instanceof String&&e===Ho.trim?Go:e},Yo=Fo.trim,Wo=h.parseInt,Vo=/^[+-]?0[Xx]/,Uo=8!==Wo(Po+"08")||22!==Wo(Po+"0x16")?function(t,e){var i=Yo(String(t));return Wo(i,e>>>0||(Vo.test(i)?16:10))}:Wo;q({global:!0,forced:parseInt!=Uo},{parseInt:Uo});var Xo=z.parseInt,qo=m.f,Ko=function(t){return function(e){for(var i,n=_(e),o=dt(n),r=o.length,s=0,a=[];r>s;)i=o[s++],d&&!qo.call(n,i)||a.push(t?[i,n[i]]:n[i]);return a}},$o={entries:Ko(!0),values:Ko(!1)}.values;q({target:"Object",stat:!0},{values:function(t){return $o(t)}});var Zo=z.Object.values,Qo=Hn,Jo=st.indexOf,tr=[].indexOf,er=!!tr&&1/[1].indexOf(1,-0)<0,ir=Be("indexOf"),nr=Ue("indexOf",{ACCESSORS:!0,1:0});q({target:"Array",proto:!0,forced:er||!ir||!nr},{indexOf:function(t){return er?tr.apply(this,arguments)||0:Jo(this,t,arguments.length>1?arguments[1]:void 0)}});var or=Je("Array").indexOf,rr=Array.prototype,sr=function(t){var e=t.indexOf;return t===rr||t instanceof Array&&e===rr.indexOf?or:e},ar=Object.assign,lr=Object.defineProperty,hr=!ar||u((function(){if(d&&1!==ar({b:1},ar(lr({},"a",{enumerable:!0,get:function(){lr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=ar({},t)[i]||"abcdefghijklmnopqrst"!=dt(ar({},e)).join("")}))?function(t,e){for(var i=Jt(t),n=arguments.length,o=1,r=rn.f,s=m.f;n>o;)for(var a,l=b(arguments[o++]),h=r?dt(l).concat(r(l)):dt(l),u=h.length,c=0;u>c;)a=h[c++],d&&!s.call(l,a)||(i[a]=l[a]);return i}:ar;q({target:"Object",stat:!0,forced:Object.assign!==hr},{assign:hr});var ur=z.Object.assign,dr=Si;var cr=function(t){if(dr(t))return t},pr=he("iterator"),mr=function(t){var e=Object(t);return void 0!==e[pr]||"@@iterator"in e||Rt.hasOwnProperty(ge(e))};var fr=function(t,e){if(void 0!==jn&&mr(Object(t))){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=yo(t);!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}},gr=Io,vr=ui("slice"),yr=Ue("slice",{ACCESSORS:!0,0:0,1:2}),br=he("species"),wr=[].slice,_r=Math.max;q({target:"Array",proto:!0,forced:!vr||!yr},{slice:function(t,e){var i,n,o,r=_(this),s=et(r.length),a=ot(t,s),l=ot(void 0===e?s:e,s);if(Le(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!Le(i.prototype)?k(i)&&null===(i=i[br])&&(i=void 0):i=void 0,i===Array||void 0===i))return wr.call(r,a,l);for(n=new(void 0===i?Array:i)(_r(l-a,0)),o=0;a<l;a++,o++)a in r&&Ui(n,o,r[a]);return n.length=o,n}});var kr=Je("Array").slice,xr=Array.prototype,Sr=function(t){var e=t.slice;return t===xr||t instanceof Array&&e===xr.slice?kr:e},Dr=Sr;var Cr=function(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};var Tr=function(t,e){var i;if(t){if("string"==typeof t)return Cr(t,e);var n=Dr(i=Object.prototype.toString.call(t)).call(i,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?gr(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cr(t,e):void 0}};var Or=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 Er=function(t,e){return cr(t)||fr(t,e)||Tr(t,e)||Or()};q({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Ir=z.Date.now;q({target:"Reflect",stat:!0},{ownKeys:Xn});var Mr=z.Reflect.ownKeys,Ar=Sr;var Pr=function(t){if(dr(t))return Cr(t)};var Nr=function(t){if(void 0!==jn&&mr(Object(t)))return gr(t)};var Rr=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 Lr=function(t){return Pr(t)||Nr(t)||Tr(t)||Rr()},jr=Je("Array").concat,Fr=Array.prototype,zr=function(t){var e=t.concat;return t===Fr||t instanceof Array&&e===Fr.concat?jr:e},Gr=Ln;function Hr(t,e){var i=eo(t);if(Qn){var n=Qn(t);e&&(n=gi(n).call(n,(function(e){return Zn(t,e).enumerable}))),i.push.apply(i,n)}return i}function Br(t){for(var e=1;e<arguments.length;e++){var i,n=null!=arguments[e]?arguments[e]:{};if(e%2)ni(i=Hr(Object(n),!0)).call(i,(function(e){Jn(t,e,n[e])}));else if(qn)Un(t,qn(n));else{var o;ni(o=Hr(Object(n))).call(o,(function(e){Vn(t,e,Zn(n,e))}))}}return t}function Yr(t,e){var i;if(void 0===Gr||null==bo(t)){if(Di(t)||(i=function(t,e){var i;if(!t)return;if("string"==typeof t)return Wr(t,e);var n=Ar(i=Object.prototype.toString.call(t)).call(i,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Mo(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wr(t,e)}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);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 r,s=!0,a=!1;return{s:function(){i=yo(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,r=t},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw r}}}}function Wr(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} /** * vis-util * https://github.com/visjs/vis-util * * utilitie collection for visjs * * @version 4.3.2 * @date 2020-06-15T14:15:22.151Z * * @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. */var Vr=Gr("DELETE");function Ur(){var t=Xr.apply(void 0,arguments);return Kr(t),console.log(t),t}function Xr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length<2)return e[0];var n;if(e.length>2)return Xr.apply(void 0,zr(n=[Ur(e[0],e[1])]).call(n,Lr(Ar(e).call(e,2))));var o,r=e[0],s=e[1],a=Yr(Mr(s));try{for(a.s();!(o=a.n()).done;){var l=o.value;Object.prototype.propertyIsEnumerable.call(s,s[l])||(s[l]===Vr?delete r[l]:null===r[l]||null===s[l]||"object"!==Fn(r[l])||"object"!==Fn(s[l])||Di(r[l])||Di(s[l])?r[l]=qr(s[l]):r[l]=Xr(r[l],s[l]))}}catch(t){a.e(t)}finally{a.f()}return r}function qr(t){return Di(t)?fo(t).call(t,(function(t){return qr(t)})):"object"===Fn(t)&&null!==t?Xr({},t):t}function Kr(t){for(var e=0,i=eo(t);e<i.length;e++){var n=i[e];t[n]===Vr?delete t[n]:"object"===Fn(t[n])&&null!==t[n]&&Kr(t[n])}}function $r(t){var e=function(){for(var t=Zr(),e=t(" "),i=t(" "),n=t(" "),o=0;o<arguments.length;o++)(e-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(e+=1),(i-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(i+=1),(n-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(n+=1);return[e,i,n]}(t),i=Er(e,3),n=i[0],o=i[1],r=i[2],s=1,a=function(){var t=2091639*n+2.3283064365386963e-10*s;return n=o,o=r,r=t-(s=0|t)};return a.uint32=function(){return 4294967296*a()},a.fract53=function(){return a()+11102230246251565e-32*(2097152*a()|0)},a.algorithm="Alea",a.seed=t,a.version="0.9",a}function Zr(){var t=4022871197;return function(e){for(var i=e.toString(),n=0;n<i.length;n++){var o=.02519603282416938*(t+=i.charCodeAt(n));o-=t=o>>>0,t=(o*=t)>>>0,t+=4294967296*(o-=t)}return 2.3283064365386963e-10*(t>>>0)}}var Qr=/^\/?Date\((-?\d+)/i,Jr=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,ts=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,es=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,is=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function ns(t){return t instanceof Number||"number"==typeof t}function os(t){return t instanceof String||"string"==typeof t}function rs(t){return"object"===Fn(t)&&null!==t}function ss(t,e,i,n){var o=!1;!0===n&&(o=null===e[i]&&void 0!==t[i]),o?delete t[i]:t[i]=e[i]}var as=ur;function ls(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)||!0===i)if("object"===Fn(e[o])&&null!==e[o]&&Qo(e[o])===Object.prototype)void 0===t[o]?t[o]=ls({},e[o],i):"object"===Fn(t[o])&&null!==t[o]&&Qo(t[o])===Object.prototype?ls(t[o],e[o],i):ss(t,e,o,n);else if(Di(e[o])){var r;t[o]=Ar(r=e[o]).call(r)}else ss(t,e,o,n);return t}function hs(t){var e=Fn(t);return"object"===e?null===t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":Di(t)?"Array":t instanceof Date?"Date":"Object":"number"===e?"Number":"boolean"===e?"Boolean":"string"===e?"String":void 0===e?"undefined":e}var us=Zo;var ds={asBoolean:function(t,e){return"function"==typeof t&&(t=t()),null!=t?0!=t:e||null},asNumber:function(t,e){return"function"==typeof t&&(t=t()),null!=t?Number(t)||e||null:e||null},asString:function(t,e){return"function"==typeof t&&(t=t()),null!=t?String(t):e||null},asSize:function(t,e){return"function"==typeof t&&(t=t()),os(t)?t:ns(t)?t+"px":e||null},asElement:function(t,e){return"function"==typeof t&&(t=t()),t||e||null}};function cs(t){var e;switch(t.length){case 3:case 4:return(e=ts.exec(t))?{r:Xo(e[1]+e[1],16),g:Xo(e[2]+e[2],16),b:Xo(e[3]+e[3],16)}:null;case 6:case 7:return(e=Jr.exec(t))?{r:Xo(e[1],16),g:Xo(e[2],16),b:Xo(e[3],16)}:null;default:return null}}function ps(t,e,i){var n;return"#"+Ar(n=((1<<24)+(t<<16)+(e<<8)+i).toString(16)).call(n,1)}function ms(t,e,i){t/=255,e/=255,i/=255;var n=Math.min(t,Math.min(e,i)),o=Math.max(t,Math.max(e,i));return n===o?{h:0,s:0,v:n}:{h:60*((t===n?3:i===n?1:5)-(t===n?e-i:i===n?t-e:i-t)/(o-n))/360,s:(o-n)/o,v:o}}var fs=function(t){var e,i={};return ni(e=t.split(";")).call(e,(function(t){if(""!=Bo(t).call(t)){var e,n,o=t.split(":"),r=Bo(e=o[0]).call(e),s=Bo(n=o[1]).call(n);i[r]=s}})),i},gs=function(t){var e;return fo(e=eo(t)).call(e,(function(e){return e+": "+t[e]})).join("; ")};function vs(t,e,i){var n,o,r,s=Math.floor(6*t),a=6*t-s,l=i*(1-e),h=i*(1-a*e),u=i*(1-(1-a)*e);switch(s%6){case 0:n=i,o=u,r=l;break;case 1:n=h,o=i,r=l;break;case 2:n=l,o=i,r=u;break;case 3:n=l,o=h,r=i;break;case 4:n=u,o=l,r=i;break;case 5:n=i,o=l,r=h}return{r:Math.floor(255*n),g:Math.floor(255*o),b:Math.floor(255*r)}}function ys(t,e,i){var n=vs(t,e,i);return ps(n.r,n.g,n.b)}function bs(t){var e=cs(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return ms(e.r,e.g,e.b)}function ws(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}function _s(t){return es.test(t)}function ks(t){if(null===t||"object"!==Fn(t))return null;if(t instanceof Element)return t;var e=Ao(t);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&"object"==Fn(t[i])&&(e[i]=ks(t[i]));return e}function xs(t,e){var i=eo(t);if(Qn){var n=Qn(t);e&&(n=gi(n).call(n,(function(e){return Zn(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ss(t){for(var e=1;e<arguments.length;e++){var i,n=null!=arguments[e]?arguments[e]:{};if(e%2)ni(i=xs(Object(n),!0)).call(i,(function(e){Jn(t,e,n[e])}));else if(qn)Un(t,qn(n));else{var o;ni(o=xs(Object(n))).call(o,(function(e){Vn(t,e,Zn(n,e))}))}}return t}var Ds=/^\/?Date\((-?\d+)/i;function Cs(e,i){var n;if(void 0!==e){if(null===e)return null;if(!i)return e;if("string"!=typeof i&&!(i instanceof String))throw new Error("Type must be a string");switch(i){case"boolean":case"Boolean":return Boolean(e);case"number":case"Number":return os(e)&&!isNaN(Date.parse(e))?t(e).valueOf():Number(e.valueOf());case"string":case"String":return String(e);case"Date":if(ns(e))return new Date(e);if(e instanceof Date)return new Date(e.valueOf());if(t.isMoment(e))return new Date(e.valueOf());if(os(e))return(n=Ds.exec(e))?new Date(Number(n[1])):t(new Date(e)).toDate();throw new Error("Cannot convert object of type "+hs(e)+" to type Date");case"Moment":if(ns(e))return t(e);if(e instanceof Date)return t(e.valueOf());if(t.isMoment(e))return t(e);if(os(e))return n=Ds.exec(e),t(n?Number(n[1]):e);throw new Error("Cannot convert object of type "+hs(e)+" to type Date");case"ISODate":if(ns(e))return new Date(e);if(e instanceof Date)return e.toISOString();if(t.isMoment(e))return e.toDate().toISOString();if(os(e))return(n=Ds.exec(e))?new Date(Number(n[1])).toISOString():t(e).format();throw new Error("Cannot convert object of type "+hs(e)+" to type ISODate");case"ASPDate":if(ns(e))return"/Date("+e+")/";if(e instanceof Date||t.isMoment(e))return"/Date("+e.valueOf()+")/";if(os(e))return"/Date("+((n=Ds.exec(e))?new Date(Number(n[1])).valueOf():new Date(e).valueOf())+")/";throw new Error("Cannot convert object of type "+hs(e)+" to type ASPDate");default:throw new Error("Unknown type ".concat(i))}}}function Ts(t){var n,o,r,s,a,l,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{start:"Date",end:"Date"},u=t._idProp,d=new e({fieldId:u}),c=fo(n=i(t)).call(n,(function(t){var e;return lo(e=eo(t)).call(e,(function(e,i){return e[i]=Cs(t[i],h[i]),e}),{})})).to(d);return c.all().start(),{add:function(){var e;return(e=t.getDataSet()).add.apply(e,arguments)},remove:function(){var e;return(e=t.getDataSet()).remove.apply(e,arguments)},update:function(){var e;return(e=t.getDataSet()).update.apply(e,arguments)},updateOnly:function(){var e;return(e=t.getDataSet()).updateOnly.apply(e,arguments)},forEach:xi(o=ni(d)).call(o,d),get:xi(r=d.get).call(r,d),getIds:xi(s=d.getIds).call(s,d),off:xi(a=d.off).call(a,d),on:xi(l=d.on).call(l,d),get length(){return d.length},idProp:u,type:h,rawDS:t,coercedDS:d,dispose:function(){return c.stop()}}}var Os=Ss(Ss({},Object.freeze({__proto__:null,Alea:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return $r(e.length?e:[Ir()])},DELETE:Vr,HSVToHex:ys,HSVToRGB:vs,RGBToHSV:ms,RGBToHex:ps,addClassName:function(t,e){var i=t.className.split(" "),n=e.split(" ");i=zr(i).call(i,gi(n).call(n,(function(t){return sr(i).call(i,t)<0}))),t.className=i.join(" ")},addCssText:function(t,e){var i=fs(t.style.cssText),n=fs(e),o=Br(Br({},i),n);t.style.cssText=gs(o)},addEventListener:function(t,e,i,n){var o;t.addEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&sr(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.addEventListener(e,i,n)):t.attachEvent("on"+e,i)},binarySearchCustom:function(t,e,i,n){for(var o=0,r=0,s=t.length-1;r<=s&&o<1e4;){var a=Math.floor((r+s)/2),l=t[a],h=e(void 0===n?l[i]:l[i][n]);if(0==h)return a;-1==h?r=a+1:s=a-1,o++}return-1},binarySearchValue:function(t,e,i,n,o){var r,s,a,l,h=0,u=0,d=t.length-1;for(o=null!=o?o:function(t,e){return t==e?0:t<e?-1:1};u<=d&&h<1e4;){if(l=Math.floor(.5*(d+u)),r=t[Math.max(0,l-1)][i],s=t[l][i],a=t[Math.min(t.length-1,l+1)][i],0==o(s,e))return l;if(o(r,e)<0&&o(s,e)>0)return"before"==n?Math.max(0,l-1):l;if(o(s,e)<0&&o(a,e)>0)return"before"==n?l:Math.min(t.length-1,l+1);o(s,e)<0?u=l+1:d=l-1,h++}return-1},bridgeObject:ks,copyAndExtendArray:function(t,e){var i;return zr(i=[]).call(i,Lr(t),[e])},copyArray:function(t){return Ar(t).call(t)},deepExtend:ls,deepObjectAssign:Ur,easingFunctions:{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},equalArray:function(t,e){if(t.length!==e.length)return!1;for(var i=0,n=t.length;i<n;i++)if(t[i]!=e[i])return!1;return!0},extend:as,fillIfDefined:function t(e,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var o in e)if(void 0!==i[o])if(null===i[o]||"object"!==Fn(i[o]))ss(e,i,o,n);else{var r=e[o],s=i[o];rs(r)&&rs(s)&&t(r,s,n)}},forEach:function(t,e){if(Di(t))for(var i=t.length,n=0;n<i;n++)e(t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e(t[o],o,t)},getAbsoluteLeft:function(t){return t.getBoundingClientRect().left},getAbsoluteRight:function(t){return t.getBoundingClientRect().right},getAbsoluteTop:function(t){return t.getBoundingClientRect().top},getScrollBarWidth:function(){var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;return i==n&&(n=e.clientWidth),document.body.removeChild(e),i-n},getTarget:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event,e=null;return t&&(t.target?e=t.target:t.srcElement&&(e=t.srcElement)),e instanceof Element&&(null==e.nodeType||3!=e.nodeType||(e=e.parentNode)instanceof Element)?e:null},getType:hs,hasParent:function(t,e){for(var i=t;i;){if(i===e)return!0;if(!i.parentNode)return!1;i=i.parentNode}return!1},hexToHSV:bs,hexToRGB:cs,insertSort:function(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=void 0;for(o=i;o>0&&e(n,t[o-1])<0;o--)t[o]=t[o-1];t[o]=n}return t},isDate:function(t){if(t instanceof Date)return!0;if(os(t)){if(Qr.exec(t))return!0;if(!isNaN(Date.parse(t)))return!0}return!1},isNumber:ns,isObject:rs,isString:os,isValidHex:ws,isValidRGB:_s,isValidRGBA:function(t){return is.test(t)},mergeOptions:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return null!=t},r=function(t){return null!==t&&"object"===Fn(t)},s=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};if(!r(t))throw new Error("Parameter mergeTarget must be an object");if(!r(e))throw new Error("Parameter options must be an object");if(!o(i))throw new Error("Parameter option must have a value");if(!r(n))throw new Error("Parameter globalOptions must be an object");var a=function(t,e,i){r(t[i])||(t[i]={});var n=e[i],o=t[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(o[s]=n[s])},l=e[i],h=r(n)&&!s(n),u=h?n[i]:void 0,d=u?u.enabled:void 0;if(void 0!==l){if("boolean"==typeof l)return r(t[i])||(t[i]={}),void(t[i].enabled=l);if(null===l&&!r(t[i])){if(!o(u))return;t[i]=Ao(u)}if(r(l)){var c=!0;void 0!==l.enabled?c=l.enabled:void 0!==d&&(c=u.enabled),a(t,e,i),t[i].enabled=c}}},option:ds,overrideOpacity:function(t,e){if(-1!==sr(t).call(t,"rgba"))return t;if(-1!==sr(t).call(t,"rgb")){var i=t.substr(sr(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+i[0]+","+i[1]+","+i[2]+","+e+")"}var n=cs(t);return null==n?t:"rgba("+n.r+","+n.g+","+n.b+","+e+")"},parseColor:function(t,e){if(os(t)){var i=t;if(_s(i)){var n,o=fo(n=i.substr(4).substr(0,i.length-5).split(",")).call(n,(function(t){return Xo(t)}));i=ps(o[0],o[1],o[2])}if(!0===ws(i)){var r=bs(i),s={h:r.h,s:.8*r.s,v:Math.min(1,1.02*r.v)},a={h:r.h,s:Math.min(1,1.25*r.s),v:.8*r.v},l=ys(a.h,a.s,a.v),h=ys(s.h,s.s,s.v);return{background:i,border:l,highlight:{background:h,border:l},hover:{background:h,border:l}}}return{background:i,border:i,highlight:{background:i,border:i},hover:{background:i,border:i}}}return e?{background:t.background||e.background,border:t.border||e.border,highlight:os(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||e.highlight.background,border:t.highlight&&t.highlight.border||e.highlight.border},hover:os(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||e.hover.border,background:t.hover&&t.hover.background||e.hover.background}}:{background:t.background||void 0,border:t.border||void 0,highlight:os(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||void 0,border:t.highlight&&t.highlight.border||void 0},hover:os(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}}},preventDefault:function(t){t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},pureDeepObjectAssign:function(t){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return Ur.apply(void 0,zr(e=[{},t]).call(e,n))},recursiveDOMDelete:function t(e){if(e)for(;!0===e.hasChildNodes();){var i=e.firstChild;i&&(t(i),e.removeChild(i))}},removeClassName:function(t,e){var i=t.className.split(" "),n=e.split(" ");i=gi(i).call(i,(function(t){return sr(n).call(n,t)<0})),t.className=i.join(" ")},removeCssText:function(t,e){var i=fs(t.style.cssText),n=fs(e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&delete i[o];t.style.cssText=gs(i)},removeEventListener:function(t,e,i,n){var o;t.removeEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&sr(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.removeEventListener(e,i,n)):t.detachEvent("on"+e,i)},selectiveBridgeObject:function(t,e){if(null!==e&&"object"===Fn(e)){for(var i=Ao(e),n=0;n<t.length;n++)Object.prototype.hasOwnProperty.call(e,t[n])&&"object"==Fn(e[t[n]])&&(i[t[n]]=ks(e[t[n]]));return i}return null},selectiveDeepExtend:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Di(i))throw new TypeError("Arrays are not supported by deepExtend");for(var o=0;o<t.length;o++){var r=t[o];if(Object.prototype.hasOwnProperty.call(i,r))if(i[r]&&i[r].constructor===Object)void 0===e[r]&&(e[r]={}),e[r].constructor===Object?ls(e[r],i[r],!1,n):ss(e,i,r,n);else{if(Di(i[r]))throw new TypeError("Arrays are not supported by deepExtend");ss(e,i,r,n)}}return e},selectiveExtend:function(t,e){if(!Di(t))throw new Error("Array with property names expected as first argument");for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];for(var r=0,s=n;r<s.length;r++)for(var a=s[r],l=0;l<t.length;l++){var h=t[l];a&&Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h])}return e},selectiveNotDeepExtend:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Di(i))throw new TypeError("Arrays are not supported by deepExtend");for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&-1===sr(t).call(t,o))if(i[o]&&i[o].constructor===Object)void 0===e[o]&&(e[o]={}),e[o].constructor===Object?ls(e[o],i[o]):ss(e,i,o,n);else if(Di(i[o])){e[o]=[];for(var r=0;r<i[o].length;r++)e[o].push(i[o][r])}else ss(e,i,o,n);return e},throttle:function(t){var e=!1;return function(){e||(e=!0,requestAnimationFrame((function(){e=!1,t()})))}},toArray:us,topMost:function(t,e){var i;Di(e)||(e=[e]);var n,o=Yr(t);try{for(o.s();!(n=o.n()).done;){var r=n.value;if(r){i=r[e[0]];for(var s=1;s<e.length;s++)i&&(i=i[e[s]]);if(void 0!==i)break}}}catch(t){o.e(t)}finally{o.f()}return i},updateProperty:function(t,e,i){return t[e]!==i&&(t[e]=i,!0)}})),{},{convert:Cs}),Es=Fo.trim,Is=h.parseFloat,Ms=1/Is(Po+"-0")!=-1/0?function(t){var e=Es(String(t)),i=Is(e);return 0===i&&"-"==e.charAt(0)?-0:i}:Is;q({global:!0,forced:parseFloat!=Ms},{parseFloat:Ms});var As=z.parseFloat,Ps=$("JSON","stringify"),Ns=/[\uD800-\uDFFF]/g,Rs=/^[\uD800-\uDBFF]$/,Ls=/^[\uDC00-\uDFFF]$/,js=function(t,e,i){var n=i.charAt(e-1),o=i.charAt(e+1);return Rs.test(t)&&!Ls.test(o)||Ls.test(t)&&!Rs.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},Fs=u((function(){return'"\\udf06\\ud834"'!==Ps("\udf06\ud834")||'"\\udead"'!==Ps("\udead")}));Ps&&q({target:"JSON",stat:!0,forced:Fs