UNPKG

vis-timeline

Version:

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

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