UNPKG

vis-timeline

Version:

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

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