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