22 lines
1.7 MiB
22 lines
1.7 MiB
/*!
|
|
* DevExtreme (dx.viz.js)
|
|
* Version: 25.1.3
|
|
* Build date: Wed Jun 25 2025
|
|
*
|
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
|
*/
|
|
"use strict";!function(){var e={12887:function(e,t,n){n.r(t),n.d(t,{createElement:function(){return s}});var i=n(76231);function o(e){return null==e}function r(e){return void 0===e}var a={onComponentDidAppear:1,onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillDisappear:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function s(e,t,n){var s,l,c,u=null,d=null,h=null,f=arguments.length-2;if(1===f)s=n;else if(f>1)for(s=[];f-- >0;)s[f]=arguments[f+2];if("string"!=typeof e){if(l=2,r(s)||(t||(t={}),t.children=s),!o(t))for(var p in c={},t)"key"===p?d=t.key:"ref"===p?u=t.ref:1===a[p]?(u||(u={}),u[p]=t[p]):c[p]=t[p];return(0,i.createComponentVNode)(l,e,c,d,u)}if(l=(0,i.getFlagsForElementVnode)(e),!o(t))for(var g in c={},t)"className"===g||"class"===g?h=t[g]:"key"===g?d=t.key:"children"===g&&r(s)?s=t.children:"ref"===g?u=t.ref:("contenteditable"===g&&(l|=4096),c[g]=t[g]);return 8192&l?(0,i.createFragment)(1===f?[s]:s,0,d):(0,i.createVNode)(l,e,h,s,0,c,d,u)}},76231:function(e,t,n){n.r(t),n.d(t,{AnimationQueues:function(){return g},Component:function(){return dt},EMPTY_OBJ:function(){return f},Fragment:function(){return p},_CI:function(){return je},_HI:function(){return Y},_M:function(){return Ze},_MCCC:function(){return Ke},_ME:function(){return Ue},_MFCC:function(){return qe},_MP:function(){return Ne},_MR:function(){return Le},_RFC:function(){return Ge},__render:function(){return tt},createComponentVNode:function(){return F},createFragment:function(){return N},createPortal:function(){return Z},createRef:function(){return Oe},createRenderer:function(){return it},createTextVNode:function(){return H},createVNode:function(){return V},directClone:function(){return j},findDOMFromVNode:function(){return C},forwardRef:function(){return ke},getFlagsForElementVnode:function(){return U},linkEvent:function(){return d},normalizeProps:function(){return z},options:function(){return D},render:function(){return nt},rerender:function(){return ct},version:function(){return ht}});var i=Array.isArray;function o(e){var t=typeof e;return"string"===t||"number"===t}function r(e){return null==e}function a(e){return null===e||!1===e||!0===e||void 0===e}function s(e){return"function"==typeof e}function l(e){return"string"==typeof e}function c(e){return null===e}function u(e,t){var n={};if(e)for(var i in e)n[i]=e[i];if(t)for(var o in t)n[o]=t[o];return n}function d(e,t){return s(t)?{data:e,event:t}:null}function h(e){return!c(e)&&"object"==typeof e}var f={},p="$F",g=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function _(e){return e.substring(2).toLowerCase()}function m(e,t){e.appendChild(t)}function v(e,t,n){c(n)?m(e,t):e.insertBefore(t,n)}function b(e,t){e.removeChild(t)}function y(e){for(var t=0;t<e.length;t++)e[t]()}function x(e,t,n){var i=e.children;return 4&n?i.$LI:8192&n?2===e.childFlags?i:i[t?0:i.length-1]:i}function C(e,t){for(var n;e;){if(1521&(n=e.flags))return e.dom;e=x(e,t,n)}return null}function S(e,t){for(var n,i=e.length;void 0!==(n=e.pop());)n((function(){--i<=0&&s(t)&&t()}))}function w(e,t,n){do{var i=e.flags;if(1521&i)return void(n&&e.dom.parentNode!==t||b(t,e.dom));var o=e.children;if(4&i&&(e=o.$LI),8&i&&(e=o),8192&i){if(2!==e.childFlags){for(var r=0,a=o.length;r<a;++r)w(o[r],t,!1);return}e=o}}while(e)}function E(e,t,n){n.componentWillDisappear.length>0?S(n.componentWillDisappear,function(e,t){return function(){w(e,t,!0)}}(e,t)):w(e,t,!1)}function T(e,t,n,i,o,r,a,s){e.componentWillMove.push({dom:i,fn:function(){4&a?n.componentWillMove(t,o,i):8&a&&n.onComponentWillMove(t,o,i,s)},next:r,parent:o})}function A(e,t,n,i,o){var a,l,c=t.flags;do{var u=t.flags;if(1521&u)return void(r(a)||!s(a.componentWillMove)&&!s(a.onComponentWillMove)?v(n,t.dom,i):T(o,e,a,t.dom,n,i,c,l));var d=t.children;if(4&u)a=t.children,l=t.props,t=d.$LI;else if(8&u)a=t.ref,l=t.props,t=d;else if(8192&u){if(2!==t.childFlags){for(var h=0,f=d.length;h<f;++h)A(e,d[h],n,i,o);return}t=d}}while(t)}function O(e,t,n){return e.constructor.getDerivedStateFromProps?u(n,e.constructor.getDerivedStateFromProps(t,n)):n}var k={v:!1},D={componentComparator:null,createVNode:null,renderComplete:null};function L(e,t){e.textContent=t}function P(e,t){return h(e)&&e.event===t.event&&e.data===t.data}function M(e,t){for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}function R(e,t){return!!s(e)&&(e(t),!0)}var I="$";function B(e,t,n,i,o,r,a,s){this.childFlags=e,this.children=t,this.className=n,this.dom=null,this.flags=i,this.key=void 0===o?null:o,this.props=void 0===r?null:r,this.ref=void 0===a?null:a,this.type=s}function V(e,t,n,i,o,r,a,s){var l=void 0===o?1:o,c=new B(l,i,n,e,a,r,s,t);return D.createVNode&&D.createVNode(c),0===l&&$(c,c.children),c}function F(e,t,n,i,o){e=function(e,t){return 12&e?e:t.prototype&&t.prototype.render?4:t.render?32776:8}(e,t);var a=new B(1,null,null,e,i,function(e,t,n){var i=(32768&e?t.render:t).defaultProps;return r(i)?n:r(n)?u(i,null):M(n,i)}(e,t,n),function(e,t,n){if(4&e)return n;var i=(32768&e?t.render:t).defaultHooks;return r(i)?n:r(n)?i:M(n,i)}(e,t,o),t);return D.createVNode&&D.createVNode(a),a}function H(e,t){return new B(1,r(e)||!0===e||!1===e?"":e,null,16,t,null,null,null)}function N(e,t,n){var i=V(8192,8192,null,e,t,null,n,null);switch(i.childFlags){case 1:i.children=G(),i.childFlags=2;break;case 16:i.children=[H(e)],i.childFlags=4}return i}function z(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&r(e.children)&&$(e,t.children),void 0!==t.className&&(r(e.className)&&(e.className=t.className||null),t.className=void 0)),void 0!==t.key&&(e.key=t.key,t.key=void 0),void 0!==t.ref&&(e.ref=8&n?u(e.ref,t.ref):t.ref,t.ref=void 0)}return e}function j(e){var t=-16385&e.flags,n=e.props;if(14&t&&!c(n)){var i=n;for(var o in n={},i)n[o]=i[o]}return 8192&t?function(e){var t=e.children,n=e.childFlags;return N(2===n?j(t):t.map(j),n,e.key)}(e):new B(e.childFlags,e.children,e.className,t,e.key,n,e.ref,e.type)}function G(){return H("",null)}function Z(e,t){var n=Y(e);return V(1024,1024,null,n,0,null,n.key,t)}function W(e,t,n,r){for(var s=e.length;n<s;n++){var u=e[n];if(!a(u)){var d=r+I+n;if(i(u))W(u,t,0,d);else{if(o(u))u=H(u,d);else{var h=u.key,f=l(h)&&h[0]===I;(81920&u.flags||f)&&(u=j(u)),u.flags|=65536,f?h.substring(0,r.length)!==r&&(u.key=r+h):c(h)?u.key=d:u.key=r+h}t.push(u)}}}}function U(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case p:return 8192;default:return 1}}function $(e,t){var n,r=1;if(a(t))n=t;else if(o(t))r=16,n=t;else if(i(t)){for(var s=t.length,u=0;u<s;++u){var d=t[u];if(a(d)||i(d)){n=n||t.slice(0,u),W(t,n,u,"");break}if(o(d))(n=n||t.slice(0,u)).push(H(d,I+u));else{var h=d.key,f=(81920&d.flags)>0,p=c(h),g=l(h)&&h[0]===I;f||p||g?(n=n||t.slice(0,u),(f||g)&&(d=j(d)),(p||g)&&(d.key=I+u),n.push(d)):n&&n.push(d),d.flags|=65536}}r=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=j(t)),r=2;return e.children=n,e.childFlags=r,e}function Y(e){return a(e)||o(e)?H(e,null):i(e)?N(e,0,null):16384&e.flags?j(e):e}var K="http://www.w3.org/1999/xlink",q="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":K,"xlink:arcrole":K,"xlink:href":K,"xlink:role":K,"xlink:show":K,"xlink:title":K,"xlink:type":K,"xml:base":q,"xml:lang":q,"xml:space":q};function J(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var Q=J(0),ee=J(null),te=J(!0);function ne(e,t){var n=t.$EV;return n||(n=t.$EV=J(null)),n[e]||1==++Q[e]&&(ee[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?oe(t,!0,e,le(t)):t.stopPropagation()}}(e):function(e){return function(t){oe(t,!1,e,le(t))}}(e);return document.addEventListener(_(e),t),t}(e)),n}function ie(e,t){var n=t.$EV;n&&n[e]&&(0==--Q[e]&&(document.removeEventListener(_(e),ee[e]),ee[e]=null),n[e]=null)}function oe(e,t,n,i){var o=function(e){return s(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&o.disabled)return;var r=o.$EV;if(r){var a=r[n];if(a&&(i.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!c(o))}function re(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ae(){return this.defaultPrevented}function se(){return this.cancelBubble}function le(e){var t={dom:document};return e.isDefaultPrevented=ae,e.isPropagationStopped=se,e.stopPropagation=re,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function ce(e,t,n){if(e[t]){var i=e[t];i.event?i.event(i.data,n):i(n)}else{var o=t.toLowerCase();e[o]&&e[o](n)}}function ue(e,t){var n=function(n){var i=this.$V;if(i){var o=i.props||f,r=i.dom;if(l(e))ce(o,e,n);else for(var a=0;a<e.length;++a)ce(o,e[a],n);if(s(t)){var c=this.$V,u=c.props||f;t(u,r,!1,c)}}};return Object.defineProperty(n,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),n}function de(e,t,n){var i="$"+t,o=e[i];if(o){if(o[1].wrapped)return;e.removeEventListener(o[0],o[1]),e[i]=null}s(n)&&(e.addEventListener(t,n),e[i]=[t,n])}function he(e){return"checkbox"===e||"radio"===e}var fe=ue("onInput",_e),pe=ue(["onClick","onChange"],_e);function ge(e){e.stopPropagation()}function _e(e,t){var n=e.type,i=e.value,o=e.checked,a=e.multiple,s=e.defaultValue,l=!r(i);n&&n!==t.type&&t.setAttribute("type",n),r(a)||a===t.multiple||(t.multiple=a),r(s)||l||(t.defaultValue=s+""),he(n)?(l&&(t.value=i),r(o)||(t.checked=o)):l&&t.value!==i?(t.defaultValue=i,t.value=i):r(o)||(t.checked=o)}function me(e,t){if("option"===e.type)!function(e,t){var n=e.props||f,o=e.dom;o.value=n.value,n.value===t||i(t)&&-1!==t.indexOf(n.value)?o.selected=!0:r(t)&&r(n.selected)||(o.selected=n.selected||!1)}(e,t);else{var n=e.children,o=e.flags;if(4&o)me(n.$LI,t);else if(8&o)me(n,t);else if(2===e.childFlags)me(n,t);else if(12&e.childFlags)for(var a=0,s=n.length;a<s;++a)me(n[a],t)}}ge.wrapped=!0;var ve=ue("onChange",be);function be(e,t,n,i){var o=Boolean(e.multiple);r(e.multiple)||o===t.multiple||(t.multiple=o);var a=e.selectedIndex;if(-1===a&&(t.selectedIndex=-1),1!==i.childFlags){var s=e.value;"number"==typeof a&&a>-1&&t.options[a]&&(s=t.options[a].value),n&&r(s)&&(s=e.defaultValue),me(i,s)}}var ye,xe,Ce=ue("onInput",we),Se=ue("onChange");function we(e,t,n){var i=e.value,o=t.value;if(r(i)){if(n){var a=e.defaultValue;r(a)||a===o||(t.defaultValue=a,t.value=a)}}else o!==i&&(t.defaultValue=i,t.value=i)}function Ee(e,t,n,i,o,r){64&e?_e(i,n):256&e?be(i,n,o,t):128&e&&we(i,n,o),r&&(n.$V=t)}function Te(e,t,n){64&e?function(e,t){he(t.type)?(de(e,"change",pe),de(e,"click",ge)):de(e,"input",fe)}(t,n):256&e?function(e){de(e,"change",ve)}(t):128&e&&function(e,t){de(e,"input",Ce),t.onChange&&de(e,"change",Se)}(t,n)}function Ae(e){return e.type&&he(e.type)?!r(e.checked):!r(e.value)}function Oe(){return{current:null}}function ke(e){return{render:e}}function De(e){e&&!R(e,null)&&e.current&&(e.current=null)}function Le(e,t,n){e&&(s(e)||void 0!==e.current)&&n.push((function(){R(e,t)||void 0===e.current||(e.current=t)}))}function Pe(e,t,n){Me(e,n),E(e,t,n)}function Me(e,t){var n,i=e.flags,o=e.children;if(481&i){n=e.ref;var a=e.props;De(n);var l=e.childFlags;if(!c(a))for(var u=Object.keys(a),d=0,h=u.length;d<h;d++){var p=u[d];te[p]&&ie(p,e.dom)}12&l?Re(o,t):2===l&&Me(o,t)}else if(o)if(4&i){s(o.componentWillUnmount)&&o.componentWillUnmount();var _=t;s(o.componentWillDisappear)&&(_=new g,Ve(t,o,o.$LI.dom,i,void 0)),De(e.ref),o.$UN=!0,Me(o.$LI,_)}else if(8&i){var m=t;if(!r(n=e.ref)){var v=null;s(n.onComponentWillUnmount)&&(v=C(e,!0),n.onComponentWillUnmount(v,e.props||f)),s(n.onComponentWillDisappear)&&(m=new g,Ve(t,n,v=v||C(e,!0),i,e.props))}Me(o,m)}else 1024&i?Pe(o,e.ref,t):8192&i&&12&e.childFlags&&Re(o,t)}function Re(e,t){for(var n=0,i=e.length;n<i;++n)Me(e[n],t)}function Ie(e,t,n){n.componentWillDisappear.length>0?S(n.componentWillDisappear,function(e,t){return function(){if(t)for(var n=0;n<e.length;n++)w(e[n],t,!1)}}(t,e)):e.textContent=""}function Be(e,t,n,i){Re(n,i),8192&t.flags?E(t,e,i):Ie(e,n,i)}function Ve(e,t,n,i,o){e.componentWillDisappear.push((function(e){4&i?t.componentWillDisappear(n,e):8&i&&t.onComponentWillDisappear(n,o,e)}))}function Fe(e,t,n,i,o){var a=e&&e.__html||"",s=t&&t.__html||"";a!==s&&(r(s)||function(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(i,s)||(c(n)||(12&n.childFlags?Re(n.children,o):2===n.childFlags&&Me(n.children,o),n.children=null,n.childFlags=1),i.innerHTML=s))}function He(e,t,n,i,o,a,c,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":i.autofocus=!!n;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":i[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var d=r(n)?"":n;i[e]!==d&&(i[e]=d);break;case"style":!function(e,t,n){if(r(t))n.removeAttribute("style");else{var i,o,a=n.style;if(l(t))a.cssText=t;else if(r(e)||l(e))for(i in t)o=t[i],a.setProperty(i,o);else{for(i in t)(o=t[i])!==e[i]&&a.setProperty(i,o);for(i in e)r(t[i])&&a.removeProperty(i)}}}(t,n,i);break;case"dangerouslySetInnerHTML":Fe(t,n,c,i,u);break;default:te[e]?function(e,t,n,i){if(s(n))ne(e,i)[e]=n;else if(h(n)){if(P(t,n))return;ne(e,i)[e]=n}else ie(e,i)}(e,t,n,i):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?function(e,t,n,i){if(h(n)){if(P(t,n))return;n=function(e){var t=e.event;return function(n){t(e.data,n)}}(n)}de(i,_(e),n)}(e,t,n,i):r(n)?i.removeAttribute(e):o&&X[e]?i.setAttributeNS(X[e],e,n):i.setAttribute(e,n)}}function Ne(e,t,n,i,o,r){var a=!1,s=(448&t)>0;for(var l in s&&(a=Ae(n))&&Te(t,i,n),n)He(l,null,n[l],i,o,a,null,r);s&&Ee(t,e,i,n,!0,a)}function ze(e,t,n){var i=Y(e.render(t,e.state,n)),o=n;return s(e.getChildContext)&&(o=u(n,e.getChildContext())),e.$CX=o,i}function je(e,t,n,i,o,r){var a=new t(n,i),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=r,e.children=a,a.$BS=!1,a.context=i,a.props===f&&(a.props=n),l)a.state=O(a,n,a.state);else if(s(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!c(u)){var d=a.state;if(c(d))a.state=u;else for(var h in u)d[h]=u[h];a.$PS=null}a.$BR=!1}return a.$LI=ze(a,n,i),a}function Ge(e,t){var n=e.props||f;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function Ze(e,t,n,i,o,a,l){var c=e.flags|=16384;481&c?Ue(e,t,n,i,o,a,l):4&c?function(e,t,n,i,o,r,a){var l=je(e,e.type,e.props||f,n,i,r),c=a;s(l.componentDidAppear)&&(c=new g);Ze(l.$LI,t,l.$CX,i,o,r,c),Ke(e.ref,l,r,a)}(e,t,n,i,o,a,l):8&c?function(e,t,n,i,o,a,l){var c=e.ref,u=l;!r(c)&&s(c.onComponentDidAppear)&&(u=new g);Ze(e.children=Y(Ge(e,n)),t,n,i,o,a,u),qe(e,a,l)}(e,t,n,i,o,a,l):16&c?We(e,t,o):8192&c?function(e,t,n,i,o,r,a){var s=e.children,l=e.childFlags;12&l&&0===s.length&&(l=e.childFlags=2,s=e.children=G());2===l?Ze(s,n,t,i,o,r,a):$e(s,n,t,i,o,r,a)}(e,n,t,i,o,a,l):1024&c&&function(e,t,n,i,o,r){Ze(e.children,e.ref,t,!1,null,o,r);var a=G();We(a,n,i),e.dom=a.dom}(e,n,t,o,a,l)}function We(e,t,n){var i=e.dom=document.createTextNode(e.children);c(t)||v(t,i,n)}function Ue(e,t,n,i,o,a,s){var l=e.flags,u=e.props,d=e.className,h=e.childFlags,f=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,i=i||(32&l)>0),p=e.children;if(r(d)||""===d||(i?f.setAttribute("class",d):f.className=d),16===h)L(f,p);else if(1!==h){var g=i&&"foreignObject"!==e.type;2===h?(16384&p.flags&&(e.children=p=j(p)),Ze(p,f,n,g,null,a,s)):8!==h&&4!==h||$e(p,f,n,g,null,a,s)}c(t)||v(t,f,o),c(u)||Ne(e,l,u,f,i,s),Le(e.ref,f,a)}function $e(e,t,n,i,o,r,a){for(var s=0;s<e.length;++s){var l=e[s];16384&l.flags&&(e[s]=l=j(l)),Ze(l,t,n,i,o,r,a)}}function Ye(e,t,n,i,o){e.componentDidAppear.push((function(){4&i?t.componentDidAppear(n):8&i&&t.onComponentDidAppear(n,o)}))}function Ke(e,t,n,i){Le(e,t,n),s(t.componentDidMount)&&n.push(function(e){return function(){e.componentDidMount()}}(t)),s(t.componentDidAppear)&&Ye(i,t,t.$LI.dom,4,void 0)}function qe(e,t,n){var i=e.ref;r(i)||(R(i.onComponentWillMount,e.props||f),s(i.onComponentDidMount)&&t.push(function(e,t){return function(){e.onComponentDidMount(C(t,!0),t.props||f)}}(i,e)),s(i.onComponentDidAppear)&&Ye(n,i,C(e,!0),8,e.props))}function Xe(e,t,n,i,o,l,d,h){var p=t.flags|=16384;e.flags!==p||e.type!==t.type||e.key!==t.key||2048&p?16384&e.flags?function(e,t,n,i,o,r,a){Me(e,a),t.flags&e.flags&1521?(Ze(t,null,i,o,null,r,a),function(e,t,n){e.replaceChild(t,n)}(n,t.dom,e.dom)):(Ze(t,n,i,o,C(e,!0),r,a),E(e,n,a))}(e,t,n,i,o,d,h):Ze(t,n,i,o,l,d,h):481&p?function(e,t,n,i,o,a,s){var l,c=t.dom=e.dom,u=e.props,d=t.props,h=!1,p=!1;if(i=i||(32&o)>0,u!==d){var g=u||f;if((l=d||f)!==f)for(var _ in(h=(448&o)>0)&&(p=Ae(l)),l){var m=g[_],v=l[_];m!==v&&He(_,m,v,c,i,p,e,s)}if(g!==f)for(var b in g)r(l[b])&&!r(g[b])&&He(b,g[b],null,c,i,p,e,s)}var y=t.children,x=t.className;e.className!==x&&(r(x)?c.removeAttribute("class"):i?c.setAttribute("class",x):c.className=x);4096&o?function(e,t){e.textContent!==t&&(e.textContent=t)}(c,y):Je(e.childFlags,t.childFlags,e.children,y,c,n,i&&"foreignObject"!==t.type,null,e,a,s);h&&Ee(o,t,c,l,!1,p);var C=t.ref,S=e.ref;S!==C&&(De(S),Le(C,c,a))}(e,t,i,o,p,d,h):4&p?function(e,t,n,i,o,r,a,l){var d=t.children=e.children;if(c(d))return;d.$L=a;var h=t.props||f,p=t.ref,g=e.ref,_=d.state;if(!d.$N){if(s(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(h,i),d.$UN)return;d.$BR=!1}c(d.$PS)||(_=u(_,d.$PS),d.$PS=null)}Qe(d,_,h,n,i,o,!1,r,a,l),g!==p&&(De(g),Le(p,d,a))}(e,t,n,i,o,l,d,h):8&p?function(e,t,n,i,o,a,l,c){var u=!0,d=t.props||f,h=t.ref,p=e.props,g=!r(h),_=e.children;g&&s(h.onComponentShouldUpdate)&&(u=h.onComponentShouldUpdate(p,d));if(!1!==u){g&&s(h.onComponentWillUpdate)&&h.onComponentWillUpdate(p,d);var m=Y(Ge(t,i));Xe(_,m,n,i,o,a,l,c),t.children=m,g&&s(h.onComponentDidUpdate)&&h.onComponentDidUpdate(p,d)}else t.children=_}(e,t,n,i,o,l,d,h):16&p?function(e,t){var n=t.children,i=t.dom=e.dom;n!==e.children&&(i.nodeValue=n)}(e,t):8192&p?function(e,t,n,i,o,r,a){var s=e.children,l=t.children,c=e.childFlags,u=t.childFlags,d=null;12&u&&0===l.length&&(u=t.childFlags=2,l=t.children=G());var h=!!(2&u);if(12&c){var f=s.length;(8&c&&8&u||h||!h&&l.length>f)&&(d=C(s[f-1],!1).nextSibling)}Je(c,u,s,l,n,i,o,d,e,r,a)}(e,t,n,i,o,d,h):function(e,t,n,i,o){var r=e.ref,s=t.ref,l=t.children;if(Je(e.childFlags,t.childFlags,e.children,l,r,n,!1,null,e,i,o),t.dom=e.dom,r!==s&&!a(l)){var c=l.dom;b(r,c),m(s,c)}}(e,t,i,d,h)}function Je(e,t,n,i,o,r,a,s,l,c,u){switch(e){case 2:switch(t){case 2:Xe(n,i,o,r,a,s,c,u);break;case 1:Pe(n,o,u);break;case 16:Me(n,u),L(o,i);break;default:!function(e,t,n,i,o,r,a){Me(e,a),$e(t,n,i,o,C(e,!0),r,a),E(e,n,a)}(n,i,o,r,a,c,u)}break;case 1:switch(t){case 2:Ze(i,o,r,a,s,c,u);break;case 1:break;case 16:L(o,i);break;default:$e(i,o,r,a,s,c,u)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:L(n,t))}(n,i,o);break;case 2:Ie(o,n,u),Ze(i,o,r,a,s,c,u);break;case 1:Ie(o,n,u);break;default:Ie(o,n,u),$e(i,o,r,a,s,c,u)}break;default:switch(t){case 16:Re(n,u),L(o,i);break;case 2:Be(o,l,n,u),Ze(i,o,r,a,s,c,u);break;case 1:Be(o,l,n,u);break;default:var d=0|n.length,h=0|i.length;0===d?h>0&&$e(i,o,r,a,s,c,u):0===h?Be(o,l,n,u):8===t&&8===e?function(e,t,n,i,o,r,a,s,l,c,u){var d,h,f=r-1,p=a-1,g=0,_=e[g],m=t[g];e:{for(;_.key===m.key;){if(16384&m.flags&&(t[g]=m=j(m)),Xe(_,m,n,i,o,s,c,u),e[g]=m,++g>f||g>p)break e;_=e[g],m=t[g]}for(_=e[f],m=t[p];_.key===m.key;){if(16384&m.flags&&(t[p]=m=j(m)),Xe(_,m,n,i,o,s,c,u),e[f]=m,p--,g>--f||g>p)break e;_=e[f],m=t[p]}}if(g>f){if(g<=p)for(h=(d=p+1)<a?C(t[d],!0):s;g<=p;)16384&(m=t[g]).flags&&(t[g]=m=j(m)),++g,Ze(m,n,i,o,h,c,u)}else if(g>p)for(;g<=f;)Pe(e[g++],n,u);else!function(e,t,n,i,o,r,a,s,l,c,u,d,h,f){var p,g,_=0,m=0,b=s,y=s,x=r-s+1,S=a-s+1,w=new Int32Array(S+1),E=x===i,T=!1,O=0,k=0;if(o<4||(x|S)<32)for(m=b;m<=r;++m)if(p=e[m],k<S){for(s=y;s<=a;s++)if(g=t[s],p.key===g.key){if(w[s-y]=m+1,E)for(E=!1;b<m;)Pe(e[b++],l,f);O>s?T=!0:O=s,16384&g.flags&&(t[s]=g=j(g)),Xe(p,g,l,n,c,u,h,f),++k;break}!E&&s>a&&Pe(p,l,f)}else E||Pe(p,l,f);else{var D={};for(m=y;m<=a;++m)D[t[m].key]=m;for(m=b;m<=r;++m)if(p=e[m],k<S)if(void 0!==(s=D[p.key])){if(E)for(E=!1;m>b;)Pe(e[b++],l,f);w[s-y]=m+1,O>s?T=!0:O=s,16384&(g=t[s]).flags&&(t[s]=g=j(g)),Xe(p,g,l,n,c,u,h,f),++k}else E||Pe(p,l,f);else E||Pe(p,l,f)}if(E)Be(l,d,e,f),$e(t,l,n,c,u,h,f);else if(T){var L=function(e){var t=0,n=0,i=0,o=0,r=0,a=0,s=0,l=e.length;l>et&&(et=l,ye=new Int32Array(l),xe=new Int32Array(l));for(;n<l;++n)if(0!==(t=e[n])){if(e[i=ye[o]]<t){xe[n]=i,ye[++o]=n;continue}for(r=0,a=o;r<a;)e[ye[s=r+a>>1]]<t?r=s+1:a=s;t<e[ye[r]]&&(r>0&&(xe[n]=ye[r-1]),ye[r]=n)}r=o+1;var c=new Int32Array(r);a=ye[r-1];for(;r-- >0;)c[r]=a,a=xe[a],ye[r]=0;return c}(w);for(s=L.length-1,m=S-1;m>=0;m--)0===w[m]?(16384&(g=t[O=m+y]).flags&&(t[O]=g=j(g)),Ze(g,l,n,c,(_=O+1)<o?C(t[_],!0):u,h,f)):s<0||m!==L[s]?A(d,g=t[O=m+y],l,(_=O+1)<o?C(t[_],!0):u,f):s--;f.componentWillMove.length>0&&function(e){for(var t=0;t<e.length;t++)e[t].fn();for(var n=0;n<e.length;n++){var i=e[n];v(i.parent,i.dom,i.next)}e.splice(0,e.length)}(f.componentWillMove)}else if(k!==S)for(m=S-1;m>=0;m--)0===w[m]&&(16384&(g=t[O=m+y]).flags&&(t[O]=g=j(g)),Ze(g,l,n,c,(_=O+1)<o?C(t[_],!0):u,h,f))}(e,t,i,r,a,f,p,g,n,o,s,l,c,u)}(n,i,o,r,a,d,h,s,l,c,u):function(e,t,n,i,o,r,a,s,l,c){for(var u,d,h=r>a?a:r,f=0;f<h;++f)u=t[f],d=e[f],16384&u.flags&&(u=t[f]=j(u)),Xe(d,u,n,i,o,s,l,c),e[f]=u;if(r<a)for(f=h;f<a;++f)16384&(u=t[f]).flags&&(u=t[f]=j(u)),Ze(u,n,i,o,s,l,c);else if(r>a)for(f=h;f<r;++f)Pe(e[f],n,c)}(n,i,o,r,a,d,h,s,c,u)}}}function Qe(e,t,n,i,o,r,a,l,c,d){var h=e.state,f=e.props,p=Boolean(e.$N),g=s(e.shouldComponentUpdate);if(p&&(t=O(e,n,t!==h?u(h,t):t)),a||!g||g&&e.shouldComponentUpdate(n,t,o)){!p&&s(e.componentWillUpdate)&&e.componentWillUpdate(n,t,o),e.props=n,e.state=t,e.context=o;var _=null,m=ze(e,n,o);p&&s(e.getSnapshotBeforeUpdate)&&(_=e.getSnapshotBeforeUpdate(f,h)),Xe(e.$LI,m,i,e.$CX,r,l,c,d),e.$LI=m,s(e.componentDidUpdate)&&function(e,t,n,i,o){o.push((function(){e.componentDidUpdate(t,n,i)}))}(e,f,h,_,c)}else e.props=n,e.state=t,e.context=o}var et=0;function tt(e,t,n,i){var o=[],a=new g,l=t.$V;k.v=!0,r(l)?r(e)||(16384&e.flags&&(e=j(e)),Ze(e,t,i,!1,null,o,a),t.$V=e,l=e):r(e)?(Pe(l,t,a),t.$V=null):(16384&e.flags&&(e=j(e)),Xe(l,e,t,i,!1,null,o,a),l=t.$V=e),y(o),S(a.componentDidAppear),k.v=!1,s(n)&&n(),s(D.renderComplete)&&D.renderComplete(l,t)}function nt(e,t,n,i){void 0===n&&(n=null),void 0===i&&(i=f),tt(e,t,n,i)}function it(e){return function(t,n,i,o){e||(e=t),nt(n,e,i,o)}}"undefined"!=typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var ot=[],rt="undefined"!=typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},at=!1;function st(e,t,n,i){var o=e.$PS;if(s(t)&&(t=t(o?u(e.state,o):e.state,e.props,e.context)),r(o))e.$PS=t;else for(var a in t)o[a]=t[a];if(e.$BR)s(n)&&e.$L.push(n.bind(e));else{if(!k.v&&0===ot.length)return ut(e,i),void(s(n)&&n.call(e));if(-1===ot.indexOf(e)&&ot.push(e),i&&(e.$F=!0),at||(at=!0,rt(ct)),s(n)){var l=e.$QU;l||(l=e.$QU=[]),l.push(n)}}}function lt(e){for(var t=e.$QU,n=0;n<t.length;++n)t[n].call(e);e.$QU=null}function ct(){var e;for(at=!1;e=ot.shift();)if(!e.$UN){var t=e.$F;e.$F=!1,ut(e,t),e.$QU&<(e)}}function ut(e,t){if(t||!e.$BR){var n=e.$PS;e.$PS=null;var i=[],o=new g;k.v=!0,Qe(e,u(e.state,n),e.props,C(e.$LI,!0).parentNode,e.context,e.$SVG,t,null,i,o),y(i),S(o.componentDidAppear),k.v=!1}else e.state=e.$PS,e.$PS=null}var dt=function(){function e(e,t){this.state=null,this.props=void 0,this.context=void 0,this.displayName=void 0,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$SSR=void 0,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=e||f,this.context=t||f}var t=e.prototype;return t.forceUpdate=function(e){this.$UN||st(this,{},e,!0)},t.setState=function(e,t){this.$UN||this.$BS||st(this,e,t,!1)},t.render=function(e,t,n){return null},e}();dt.defaultProps=null;var ht="8.2.3"},55351:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.registerPattern=t.registerGradient=t.default=void 0;var i=n(28779);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o.apply(null,arguments)}const r={};t.registerPattern=e=>{const t=(0,i.getNextDefsSvgId)();return r[t]=o({type:"pattern"},e),t};t.registerGradient=(e,t)=>{const n=(0,i.getNextDefsSvgId)();return r[n]=o({type:e},t),n};t.default={getGraphicObjects:()=>r}},22692:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.base64ToBytes=function(e){return new Uint8Array(atob(e).split("").map((e=>e.charCodeAt(0))))},t.bytesToHex=function(e){return[...e].map((e=>e.toString(16).padStart(2,"0"))).join("")},t.bytesToWords=function(e){const t=new Uint32Array(1+(e.length-1>>2));for(let n=0;n<e.length;n+=1)t[n>>2]|=e[n]<<8*(3-n%4);return t},t.concatBytes=function(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e,0),n.set(t,e.length),n},t.hexToBytes=function(e){var t;return new Uint8Array((null===(t=e.match(/.{1,2}/g))||void 0===t?void 0:t.map((e=>parseInt(e,16))))??[])},t.leftRotate=function(e,t){return(e<<t|e>>>32-t)>>>0},t.stringToBytes=function(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n+=1)t[n]=255&e.charCodeAt(n);return t},t.wordsToBytes=function(e){const t=new Uint8Array(4*e.length);for(let n=0;n<t.length;n+=1)t[n]=e[n>>2]>>>8*(3-n%4);return t},t.wordsToHex=function(e){return[...e].map((e=>e.toString(16).padStart(8,"0"))).join("")}},78157:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PUBLIC_KEY=t.INTERNAL_USAGE_ID=void 0;t.PUBLIC_KEY={e:65537,n:new Uint8Array([200,219,153,203,140,7,228,253,193,243,62,137,139,60,68,242,48,142,113,88,185,235,253,105,80,74,32,170,96,74,111,250,7,205,154,3,146,115,153,53,45,132,123,56,61,208,184,201,63,24,109,223,0,179,169,102,139,224,73,233,45,173,138,66,98,88,69,76,177,111,113,218,192,33,101,152,25,134,34,173,32,82,230,44,247,200,253,170,192,246,30,12,96,205,100,249,181,93,0,231])},t.INTERNAL_USAGE_ID="V2QpQmJVXWy6Nexkq9Xk9o"},93391:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.parseLicenseKey=k,t.peekValidationPerformed=function(){return O},t.setLicenseCheckSkipCondition=function(){},t.validateLicense=L;var i=g(n(66636)),o=g(n(87129)),r=n(1956),a=n(20258),s=n(22692),l=n(78157),c=n(1012),u=n(42752),d=n(94281),h=n(99671),f=n(13407);const p=["customerId","maxVersionAllowed","format","internalUsageId"];function g(e){return e&&e.__esModule?e:{default:e}}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_.apply(null,arguments)}const m=1,v=3,b=".",y="https://go.devexpress.com/Licensing_Installer_Watermark_DevExtremeJQuery.aspx",x="https://go.devexpress.com/Licensing_Documentation_DevExtremeJQuery.aspx",C={kind:f.TokenKind.corrupted,error:"general"},S={kind:f.TokenKind.corrupted,error:"verification"},w={kind:f.TokenKind.corrupted,error:"decoding"},E={kind:f.TokenKind.corrupted,error:"deserialization"},T={kind:f.TokenKind.corrupted,error:"payload"},A={kind:f.TokenKind.corrupted,error:"version"};let O=!1;function k(e){if(void 0===e)return C;const t=e.split(b);if(2!==t.length||0===t[0].length||0===t[1].length)return C;if(!function(e){let{text:t,signature:n}=e;return(0,u.compareSignatures)({key:l.PUBLIC_KEY,signature:(0,s.base64ToBytes)(n),actual:(0,c.pad)((0,d.sha1)(t))})}({text:t[0],signature:t[1]}))return S;let n="";try{n=atob(t[0])}catch{return w}let i={};try{i=JSON.parse(n)}catch{return E}const{customerId:o,maxVersionAllowed:r,format:a,internalUsageId:h}=i,g=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(i,p);return void 0!==h?{kind:f.TokenKind.internal,internalUsageId:h}:void 0===o||void 0===r||void 0===a?T:a!==m?A:{kind:f.TokenKind.verified,payload:_({customerId:o,maxVersionAllowed:r},g)}}function D(e){return isNaN(e)||e<v}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.fullVersion;if(O)return;O=!0;const n=(0,a.parseVersion)(t),s=(0,a.assertedVersionsCompatible)(n),{internal:c,error:u}=function(e){let{licenseKey:t,version:n}=e,i=!1;try{i=D(n.patch);const{major:e,minor:o}=i?(0,a.getPreviousMajorVersion)(n):n;if(!t)return{preview:i,error:"W0019"};const r=k(t);return r.kind===f.TokenKind.corrupted?{preview:i,error:"W0021"}:r.kind===f.TokenKind.internal?{preview:i,internal:!0,error:r.internalUsageId===l.INTERNAL_USAGE_ID?void 0:"W0020"}:e&&o?10*e+o>r.payload.maxVersionAllowed?{preview:i,error:"W0020"}:{preview:i,error:void 0}:{preview:i,error:"W0021"}}catch{return{preview:i,error:"W0021"}}}({licenseKey:e,version:n});if(!s&&c)return;if(u&&!c){const e=(0,i.default)().buyNowLink??y,t=(0,i.default)().licensingDocLink??x;(0,h.showTrialPanel)(e,t,r.fullVersion)}const d=D(n.patch);u?o.default.log(d?"W0022":u):d&&!c&&o.default.log("W0022")}t.default={validateLicense:L}},1012:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.pad=function(e){const t=(8*o.PUBLIC_KEY.n.length+6)/8,n=(0,i.concatBytes)((0,i.hexToBytes)(r),e);if(n.length+10>t)throw Error("Key is too short for SHA1 signing algorithm");const a=new Uint8Array(t-n.length);return a.fill(255,0,a.length-1),a[0]=0,a[1]=1,a[a.length-1]=0,(0,i.concatBytes)(a,n)};var i=n(22692),o=n(78157);const r="3021300906052b0e03021a05000414"},42752:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareSignatures=function(e){try{const t=BigInt(0),n=BigInt(1),i=BigInt(8),o=(e,t,i)=>{let o=n,r=e,a=t;for(;a;)a&n&&(o=o*r%i),r=r*r%i,a>>=n;return o},r=e=>e.reduce(((e,t)=>(e<<i)+BigInt(t)),t),a=r(e.actual),s=r(e.signature),l=BigInt(e.key.e),c=r(e.key.n);return o(s,l,c)===a}catch{return!0}}},94281:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.preprocess=o,t.sha1=function(e){const t=o(e),n=new Uint32Array([1732584193,4023233417,2562383102,271733878,3285377520]);for(let e=0;e<t.length;e+=16){const o=new Uint32Array(80);for(let n=0;n<16;n+=1)o[n]=t[e+n];for(let e=16;e<80;e+=1){const t=o[e-3]^o[e-8]^o[e-14]^o[e-16];o[e]=t<<1|t>>>31}let r=n[0],a=n[1],s=n[2],l=n[3],c=n[4];for(let e=0;e<80;e+=1){const[t,n]=e<20?[a&s|~a&l,1518500249]:e<40?[a^s^l,1859775393]:e<60?[a&s|a&l|s&l,2400959708]:[a^s^l,3395469782],u=(0,i.leftRotate)(r,5)+t+c+n+o[e];c=l,l=s,s=(0,i.leftRotate)(a,30),a=r,r=u}n[0]+=r,n[1]+=a,n[2]+=s,n[3]+=l,n[4]+=c}return(0,i.wordsToBytes)(n)};var i=n(22692);function o(e){const t=new Uint8Array(e.length+1);t.set((0,i.stringToBytes)(e)),t[t.length-1]=128;const n=(0,i.bytesToWords)(new Uint8Array(t)),o=new Uint32Array(16*Math.ceil((n.length+2)/16));return o.set(n,0),o[o.length-1]=8*(t.length-1),o}},42570:function(e,t){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n.apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.isClient=t.BASE_Z_INDEX=void 0,t.registerCustomComponents=_,t.renderTrialPanel=function(e,t,n,i){_(i);const o=document.createElement(a.trigger);o.setAttribute(s.buyNow,e),o.setAttribute(s.licensingDoc,t),o.setAttribute(s.version,n),document.body.appendChild(o)};const i=t.BASE_Z_INDEX=1500,o=()=>"undefined"!=typeof HTMLElement&&"undefined"!=typeof customElements;t.isClient=o;const r=o()?HTMLElement:class{},a={trigger:"dx-license-trigger",panel:"dx-license"},s={buyNow:"buy-now",licensingDoc:"licensing-doc",version:"version"},l={opacity:"1",visibility:"visible","clip-path":"none",filter:"none"},c=n({},l,{width:"100%",height:"auto","line-height":"normal",display:"block","z-index":`${i}`,position:"static",transform:"translate(0px, 0px)","background-color":"#FF7200",border:"none",margin:"auto","box-sizing":"border-box","text-align":"center"}),u=n({},c,{display:"flex","align-items":"center","flex-direction":"row",position:"relative",top:"0px",left:"0px",padding:"0.5rem"}),d={width:"1rem",cursor:"pointer",height:"1rem"},h=n({},l,{display:"inline",position:"static",padding:"0px",margin:"0px",color:"white","font-family":"'Segoe UI','Open Sans Condensed',-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,Cantarell,Ubuntu,roboto,noto,arial,sans-serif","font-size":"0.875rem","font-wight":"600"});function f(e,t){const i=t?n({},e,t):e;return Object.keys(i).reduce(((e,t)=>`${e}${[t,`${i[t]} !important;`].join(": ")}`),"")}class p extends r{constructor(){var e,t,n,i,o;super(),this._observer=null,this._inReassign=!1,this._spanStyles=f(h,null===(e=p.customStyles)||void 0===e?void 0:e.textStyles),this._linkStyles=f(h,null===(t=p.customStyles)||void 0===t?void 0:t.linkStyles),this._containerStyles=f(u,null===(n=p.customStyles)||void 0===n?void 0:n.containerStyles),this._contentStyles=f(c,null===(i=p.customStyles)||void 0===i?void 0:i.contentStyles),this._buttonStyles=f(d,null===(o=p.customStyles)||void 0===o?void 0:o.contentStyles)}_createSpan(e){const t=document.createElement("span");return t.innerText=e,t.style.cssText=this._spanStyles,t}_createLink(e,t){const n=document.createElement("a");return n.innerText=e,n.style.cssText=this._linkStyles,n.href=t,n.target="_blank",n}_createButton(){const e=document.createElement("div");e.style.cssText=this._buttonStyles;const t=document.createElementNS("http://www.w3.org/2000/svg","polygon"),n=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("points","13.4 12.7 8.7 8 13.4 3.4 12.6 2.6 8 7.3 3.4 2.6 2.6 3.4 7.3 8 2.6 12.6 3.4 13.4 8 8.7 12.7 13.4 13.4 12.7"),t.style.cssText=f({fill:"#fff",opacity:".5","stroke-width":"0px"}),n.setAttribute("id","Layer_1"),n.setAttribute("data-name","Layer 1"),n.setAttribute("version","1.1"),n.setAttribute("viewBox","0 0 16 16"),n.style.cssText=f({"vertical-align":"baseline"}),n.appendChild(t),e.appendChild(n),e.onclick=()=>{p.closed=!0,this.style.cssText=f({display:"none"})},e}_createContentContainer(){const e=document.createElement("div");return e.style.cssText=this._contentStyles,e.append(this._createSpan("For evaluation purposes only. Redistribution prohibited. Please "),this._createLink("register",this.getAttribute(s.licensingDoc)),this._createSpan(" an existing license or "),this._createLink("purchase a new license",this.getAttribute(s.buyNow)),this._createSpan(` to continue use of DevExpress product libraries (v${this.getAttribute(s.version)}).`)),e}_reassignComponent(){this.innerHTML="",this.style.cssText=this._containerStyles,this.append(this._createContentContainer(),this._createButton())}connectedCallback(){this._reassignComponent(),this._observer||(this._observer=new MutationObserver((()=>{var e;p.closed?null===(e=this._observer)||void 0===e||e.disconnect():this._inReassign?this._inReassign=!1:(this._inReassign=!0,this._reassignComponent())})),this._observer.observe(this,{childList:!0,attributes:!0,subtree:!0}))}disconnectedCallback(){p.closed||Promise.resolve().then((()=>{if(!document)return;document.getElementsByTagName(a.panel).length||document.body.prepend(this)}))}}p.customStyles=void 0,p.closed=!1;class g extends r{connectedCallback(){this.style.cssText=f({display:"none"});if(!document.getElementsByTagName(a.panel).length&&!p.closed){const e=document.createElement(a.panel);e.setAttribute(s.version,this.getAttribute(s.version)),e.setAttribute(s.buyNow,this.getAttribute(s.buyNow)),e.setAttribute(s.licensingDoc,this.getAttribute(s.licensingDoc)),e.setAttribute("data-permanent",""),document.body.prepend(e)}}}function _(e){customElements.get(a.trigger)||(p.customStyles=e,customElements.define(a.trigger,g),customElements.define(a.panel,p))}},99671:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.registerTrialPanelComponents=function(e){(0,i.isClient)()&&(0,i.registerCustomComponents)(e)},t.showTrialPanel=function(e,t,n,o){(0,i.isClient)()&&(0,i.renderTrialPanel)(e,t,n,o)};var i=n(42570)},13407:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenKind=void 0,function(e){e.corrupted="corrupted",e.verified="verified",e.internal="internal"}(n||(t.TokenKind=n={}))},3226:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Action=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(21274),a=n(11528),s=n(3104);class l{constructor(e,t){t=t||{},this._action=e,this._context=t.context||(0,s.getWindow)(),this._beforeExecute=t.beforeExecute,this._afterExecute=t.afterExecute,this._component=t.component,this._validatingTargetName=t.validatingTargetName;const n=this._excludeValidators={};if(t.excludeValidators)for(let e=0;e<t.excludeValidators.length;e++)n[t.excludeValidators[e]]=!0}execute(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const i={action:this._action,args:Array.prototype.slice.call(t),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},o=this._beforeExecute,r=this._afterExecute,a=i.args[0]||{};if(!this._validateAction(i))return;if(null==o||o.call(this._context,i),i.cancel)return;const s=this._executeAction(i);return a.cancel?void 0:(null==r||r.call(this._context,i),s)}_validateAction(e){const t=this._excludeValidators,{executors:n}=l;for(const o in n)if(!t[o]){var i;const t=n[o];if(null===(i=t.validate)||void 0===i||i.call(t,e),e.cancel)return!1}return!0}_executeAction(e){let t;const{executors:n}=l;for(const o in n){var i;const r=n[o];if(null===(i=r.execute)||void 0===i||i.call(r,e),e.handled){t=e.result;break}}return t}static registerExecutor(e,t){(0,a.isPlainObject)(e)?(0,r.each)(e,l.registerExecutor):l.executors[e]=t}static unregisterExecutor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,r.each)(t,(function(){delete l.executors[this]}))}}t.Action=l,l.executors={};const c=e=>t=>{if(!t.args.length)return;const n=t.args[0],i=n[t.validatingTargetName]||n.element;i&&e((0,o.default)(i))&&(t.cancel=!0)};l.registerExecutor({disabled:{validate:c((e=>e.is(".dx-state-disabled, .dx-state-disabled *")))},readOnly:{validate:c((e=>e.is(".dx-state-readonly, .dx-state-readonly *:not(.dx-state-independent)")))},undefined:{execute:e=>{e.action||(e.result=void 0,e.handled=!0)}},func:{execute:e=>{(0,a.isFunction)(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});t.default=l},40958:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i},r=n(11528);const a=function(e,t,n){return function(){const i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},s=function(e){const t=this;let n,i,o;if(!e)return t;for(i in e)o=e[i],n="function"==typeof t.prototype[i]&&"function"==typeof o,t.prototype[i]=n?a(t.parent.prototype,i,o):o;return t},l=function(){const e=this;let t,n,i;const o=Object.prototype.hasOwnProperty.bind(e);!o("_includedCtors")&&!o("_includedPostCtors")&&(e._includedCtors=e._includedCtors.slice(0),e._includedPostCtors=e._includedPostCtors.slice(0));for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];for(i=0;i<a.length;i++)for(n in t=a[i],t.ctor&&e._includedCtors.push(t.ctor),t.postCtor&&e._includedPostCtors.push(t.postCtor),t)"ctor"!==n&&"postCtor"!==n&&"default"!==n&&(e.prototype[n]=t[n]);return e},c=function(e){if(!Object.prototype.hasOwnProperty.bind(this)("parent")&&this.parent){const t=Object.getPrototypeOf(this);return t===e||t.subclassOf(e)}return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},u=function(){throw o.default.Error("E0001")},d=function(){};d.inherit=function(e){const t=function(){if(!this||(0,r.isWindow)(this)||"function"!=typeof this.constructor)throw o.default.Error("E0003");const e=this,{ctor:t}=e,n=e.constructor._includedCtors,i=e.constructor._includedPostCtors;let a;for(a=0;a<n.length;a++)n[a].call(e);if(t){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];t.apply(e,l)}for(a=0;a<i.length;a++)i[a].call(e)};return t.prototype=function(e){const t=function(){};return t.prototype=e.prototype,new t}(this),Object.setPrototypeOf(t,this),t.inherit=this.inherit,t.abstract=u,t.redefine=s,t.include=l,t.subclassOf=c,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},d.abstract=u;t.default=d},10718:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.registerComponent=void 0;var i=s(n(55771)),o=s(n(87129)),r=s(n(64553)),a=n(85521);function s(e){return e&&e.__esModule?e:{default:e}}t.registerComponent=function(e,t,n){n?t[e]=n:n=t,(0,a.name)(n,e),i.default.fire(e,n)};i.default.add((function(e,t){r.default.fn[e]=function(n){let i;if("string"==typeof n){const r=n,a=[].slice.call(arguments).slice(1);this.each((function(){const n=t.getInstance(this);if(!n)throw o.default.Error("E0009",e);const s=n[r].apply(n,a);void 0===i&&(i=s)}))}else this.each((function(){const e=t.getInstance(this);e?e.option(n):new t(this,n)})),i=this;return i}}))},21233:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.componentRegistratorCallbacks=void 0;var i,o=(i=n(35329))&&i.__esModule?i:{default:i};t.componentRegistratorCallbacks=new o.default},34338:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i},r=n(52576);const a={rtlEnabled:!1,defaultCurrency:"USD",defaultUseCurrencyAccountingStyle:!0,oDataFilterToLower:!0,serverDecimalSeparator:".",decimalSeparator:".",thousandsSeparator:",",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!0,useLegacyStoreResult:!1,useJQuery:void 0,editorStylingMode:void 0,useLegacyVisibleIndex:!1,floatingActionButtonConfig:{icon:"add",closeIcon:"close",label:"",position:{at:"right bottom",my:"right bottom",offset:{x:-16,y:-16}},maxSpeedDialActionCount:5,shading:!1,direction:"auto"},optionsParser:e=>{"{"!==e.trim().charAt(0)&&(e=`{${e}}`);try{return JSON.parse(e)}catch(t){try{return JSON.parse(s(e))}catch(n){throw o.default.Error("E3018",t,e)}}}},s=e=>e.replace(/'/g,'"').replace(/,\s*([\]}])/g,"$1").replace(/([{,])\s*([^":\s]+)\s*:/g,'$1"$2":'),l=["decimalSeparator","thousandsSeparator"],c=function(){if(!arguments.length)return a;const e=arguments.length<=0?void 0:arguments[0];l.forEach((t=>{if(e[t]){const e=`Now, the ${t} is selected based on the specified locale.`;o.default.log("W0003","config",t,"19.2",e)}})),(0,r.extend)(a,e)};"undefined"!=typeof DevExpress&&DevExpress.config&&c(DevExpress.config);t.default=c},98905:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=v(n(66636)),o=v(n(87129)),r=n(2607),a=v(n(64553)),s=v(n(84718)),l=n(87739),c=n(52576),u=v(n(3122)),d=v(n(63283)),h=n(57653),f=n(98479),p=n(11528),g=n(55355),_=n(3104),m=n(39315);function v(e){return e&&e.__esModule?e:{default:e}}const b=(0,_.getWindow)(),y={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",msSurface:"Windows ARM Tablet PC",desktop:"desktop"},x={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,generic:!0,grade:"A",mac:!1},C={generic(e){const t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/Windows(.*)arm(.*)Tablet PC/i.test(e),i=!t&&!n&&/msapphost/i.test(e),o=/((intel|ppc) mac os x)/.test(e.toLowerCase());return t||n||i||o?{deviceType:t?"phone":n?"tablet":"desktop",platform:"generic",version:[],grade:"A",mac:o}:null},appleTouchDevice(e){const t=(0,_.getNavigator)(),n=/Macintosh/i.test(e)&&(null==t?void 0:t.maxTouchPoints)>2;if(!/ip(hone|od|ad)/i.test(e)&&!n)return null;const i=/ip(hone|od)/i.test(e),o=e.match(/os\s{0,}X? (\d+)_(\d+)_?(\d+)?/i);return{deviceType:i?"phone":"tablet",platform:"ios",version:o?[parseInt(o[1],10),parseInt(o[2],10),parseInt(o[3]||0,10)]:[],grade:480===b.screen.height?"B":"A"}},android(e){const t=/android|htc_|silk/i.test(e),n=/windows phone/i.test(e);if(!t||n)return null;const i=/mobile/i.test(e),o=e.match(/android (\d+)\.?(\d+)?\.?(\d+)?/i),r=o?[parseInt(o[1],10),parseInt(o[2]||0,10),parseInt(o[3]||0,10)]:[];return{deviceType:i?"phone":"tablet",platform:"android",version:r,grade:r.length>1&&(r[0]<4||4===r[0]&&r[1]<4)?"B":"A"}}},S=[C.appleTouchDevice,C.android,C.generic];const w=new class{constructor(e){this._window=(null==e?void 0:e.window)??b,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this._eventsStrategy=new r.EventsStrategy(this),this.changed=(0,s.default)(),(0,_.hasWindow)()&&(u.default.add(this._recalculateOrientation.bind(this)),d.default.add(this._recalculateOrientation.bind(this)))}current(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,void this.changed.fire();if(!this._currentDevice){e=void 0;try{e=this._getDeviceOrNameFromWindowScope()}catch(t){e=this._getDeviceNameFromSessionStorage()}finally{e||(e=this._getDeviceNameFromSessionStorage()),e&&(this._forced=!0)}this._currentDevice=this._getDevice(e)}return this._currentDevice}real(e){return(0,c.extend)({},this._realDevice)}orientation(){return this._currentOrientation}isForced(){return this._forced}isRippleEmulator(){return!!this._window.tinyHippos}_getCssClasses(e){const t=[],n=this._realDevice;return(e=e||this.current()).deviceType&&(t.push(`dx-device-${e.deviceType}`),"desktop"!==e.deviceType&&t.push("dx-device-mobile")),t.push(`dx-device-${n.platform}`),n.version&&n.version.length&&t.push(`dx-device-${n.platform}-${n.version[0]}`),this.isSimulator()&&t.push("dx-simulator"),(0,i.default)().rtlEnabled&&t.push("dx-rtl"),t}attachCssClasses(e,t){this._deviceClasses=this._getCssClasses(t).join(" "),(0,a.default)(e).addClass(this._deviceClasses)}detachCssClasses(e){(0,a.default)(e).removeClass(this._deviceClasses)}isSimulator(){try{var e;return this._isSimulator||(0,_.hasWindow)()&&this._window.top!==this._window.self&&(null===(e=this._window.top)||void 0===e?void 0:e["dx-force-device"])||this.isRippleEmulator()}catch(e){return!1}}forceSimulator(){this._isSimulator=!0}_getDevice(e){if("genericPhone"===e&&(e={deviceType:"phone",platform:"generic",generic:!0}),(0,p.isPlainObject)(e))return this._fromConfig(e);let t;if(e){if(t=y[e],!t)throw o.default.Error("E0005")}else{t=(0,_.getNavigator)().userAgent}return this._fromUA(t)}_getDeviceOrNameFromWindowScope(){var e,t;let n;var i,o;(0,_.hasWindow)()&&(null!==(e=this._window.top)&&void 0!==e&&e["dx-force-device-object"]||null!==(t=this._window.top)&&void 0!==t&&t["dx-force-device"])&&(n=(null===(i=this._window.top)||void 0===i?void 0:i["dx-force-device-object"])||(null===(o=this._window.top)||void 0===o?void 0:o["dx-force-device"]));return n}_getDeviceNameFromSessionStorage(){const e=(0,f.sessionStorage)();if(!e)return;const t=e.getItem("dx-force-device");try{return JSON.parse(t)}catch(e){return t}}_fromConfig(e){const t=(0,c.extend)({},x,this._currentDevice,e),n={phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,generic:"generic"===t.platform};return(0,c.extend)(t,n)}_fromUA(e){for(let t=0;t<S.length;t+=1){const n=(0,S[t])(e);if(n)return this._fromConfig(n)}return x}_changeOrientation(){const e=(0,a.default)(this._window),t=(0,h.getHeight)(e)>(0,h.getWidth)(e)?"portrait":"landscape";this._currentOrientation!==t&&(this._currentOrientation=t,this._eventsStrategy.fireEvent("orientationChanged",[{orientation:t}]))}_recalculateOrientation(){const e=(0,h.getWidth)(this._window);this._currentWidth!==e&&(this._currentWidth=e,this._changeOrientation())}on(e,t){return this._eventsStrategy.on(e,t),this}off(e,t){return this._eventsStrategy.off(e,t),this}};(0,l.when)(m.uiLayerInitialized).done((()=>{const e=(0,g.value)();e&&w.attachCssClasses(e),g.changeCallback.add(((e,t)=>{w.detachCssClasses(t),w.attachCssClasses(e)}))}));t.default=w},62018:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.domAdapter=t.default=void 0;var i,o=n(17781),r=(i=n(89656))&&i.__esModule?i:{default:i},a=n(93631);const s={querySelectorAll:(e,t)=>e.querySelectorAll(t),elementMatches(e,t){const n=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||(t=>{const n=e.document||e.ownerDocument;if(!n)return!1;const i=this.querySelectorAll(n,t);for(let t=0;t<i.length;t++)if(i[t]===e)return!0});return n.call(e,t)},createElement(e,t){return(t=t??this._document).createElement(e)},createElementNS(e,t,n){return(n=n||this._document).createElementNS(e,t)},createTextNode(e,t){return(t=t||this._document).createTextNode(e)},createAttribute(e,t){return(t=t||this._document).createAttribute(e)},isNode:e=>!!e&&"object"==typeof e&&"nodeType"in e&&"nodeName"in e,isElementNode:e=>!!e&&1===e.nodeType,isTextNode:e=>e&&3===e.nodeType,isDocument:e=>e&&9===e.nodeType,isDocumentFragment:e=>e&&11===e.nodeType,removeElement(e){const t=e&&e.parentNode;t&&t.removeChild(e)},insertElement(e,t,n){e&&t&&e!==t&&(n?e.insertBefore(t,n):e.appendChild(t))},getAttribute:(e,t)=>e.getAttribute(t),setAttribute(e,t,n){"style"===t?e.style.cssText=n:e.setAttribute(t,n)},removeAttribute(e,t){e.removeAttribute(t)},setProperty(e,t,n){e[t]=n},setText(e,t){e&&(e.textContent=t)},setClass(e,t,n){1===e.nodeType&&t&&(n?e.classList.add(t):e.classList.remove(t))},setStyle(e,t,n){e.style[t]=n||""},_document:"undefined"==typeof document?void 0:document,getDocument(){return this._document},getActiveElement(e){return this.getRootNode(e).activeElement},getRootNode(e){var t;return(null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e))??this._document},getBody(){return this._document.body},createDocumentFragment(){return this._document.createDocumentFragment()},getDocumentElement(){return this._document.documentElement},getLocation(){return this._document.location},getSelection(){return this._document.selection},getReadyState(){return this._document.readyState},getHead(){return this._document.head},hasDocumentProperty(e){return e in this._document},listen:(e,t,n,i)=>e&&"addEventListener"in e?(e.addEventListener(t,n,i),()=>{e.removeEventListener(t,n)}):o.noop,elementsFromPoint(e,t,n){const i=this.getRootNode(n);return i.host?(0,a.getShadowElementsFromPoint)(e,t,i):i.elementsFromPoint(e,t)}},l=t.domAdapter=(0,r.default)(s);t.default=l},93630:function(e,t){function n(e){return e&&e.get?e.get(0):e}Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicElement=function(e){return i(e)},t.getPublicElementNonJquery=n,t.setPublicElementWrapper=function(e){i=e};let i=n},29489:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.afterCleanData=function(e){d=e},t.beforeCleanData=function(e){u=e},t.cleanData=function(e){return l.cleanData.call(this,e)},t.cleanDataRecursive=function(e,t){if(!o.default.isElementNode(e))return;const n=e.getElementsByTagName("*");l.cleanData(n),t&&l.cleanData([e])},t.data=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.data.apply(this,t)},t.getDataStrategy=function(){return l},t.removeData=function(e,t){return l.removeData.call(this,e,t)},t.strategyChanging=t.setDataStrategy=void 0;var i=a(n(92774)),o=a(n(64960)),r=a(n(35329));function a(e){return e&&e.__esModule?e:{default:e}}const s=new WeakMap;let l;const c=t.strategyChanging=new r.default;let u=function(){},d=function(){};const h=function(e){c.fire(e),l=e;const{cleanData:t}=l;l.cleanData=function(e){u(e);const n=t.call(this,e);return d(e),n}};t.setDataStrategy=h,h({data:function(){const e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2];if(!e)return;let i=s.get(e);return i||(i={},s.set(e,i)),void 0===t?i:2===arguments.length?i[t]:(i[t]=n,n)},removeData:function(e,t){if(e)if(void 0===t)s.delete(e);else{const n=s.get(e);n&&delete n[t]}},cleanData:function(e){for(let t=0;t<e.length;t++)i.default.off(e[t]),s.delete(e[t])}})},5583:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(67264))&&i.__esModule?i:{default:i};t.default=(0,o.default)({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",E0025:"Unexpected argument type",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0103:"validationCallback of an asynchronous rule should return a jQuery or a native promise",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The 'customItem' parameter of the 'onCustomItemCreating' function is empty or contains invalid data. Assign a custom object or a Promise that is resolved after the item is created.",E0122:"AIIntegration: The sendRequest method is missing.",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0007:"'{0}' Globalize culture is not defined",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined",W0013:"'{0}' file is deprecated in {1}. {2}",W0014:"{0} - '{1}' type is deprecated in {2}. {3}",W0015:"Instead of returning a value from the '{0}' function, write it into the '{1}' field of the function's parameter.",W0016:'The "{0}" option does not accept the "{1}" value since v{2}. {3}.',W0017:'Setting the "{0}" property with a function is deprecated since v21.2',W0018:'Setting the "position" property with a function is deprecated since v21.2',W0019:"DevExtreme: Unable to Locate a Valid License Key.\n\nDetailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\nIf you are using a 30-day trial version of DevExtreme, you must uninstall all copies of DevExtreme once your 30-day trial period expires. For terms and conditions that govern use of DevExtreme UI components/libraries, please refer to the DevExtreme End User License Agreement: https://js.devexpress.com/EULAs/DevExtremeComplete.\n\nTo use DevExtreme in a commercial project, you must purchase a license. For pricing/licensing options, please visit: https://js.devexpress.com/Buy.\n\nIf you have licensing-related questions or need help with a purchase, please email clientservices@devexpress.com.\n\n",W0020:"DevExtreme: License Key Has Expired.\n\nDetailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\nA mismatch exists between the license key used and the DevExtreme version referenced in this project.\n\nTo proceed, you can:\n\u2022 use a version of DevExtreme linked to your license key: https://www.devexpress.com/ClientCenter/DownloadManager\n\u2022 renew your DevExpress Subscription: https://www.devexpress.com/buy/renew (once you renew your subscription, you will be entitled to product updates and support service as defined in the DevExtreme End User License Agreement)\n\nIf you have licensing-related questions or need help with a renewal, please email clientservices@devexpress.com.\n\n",W0021:"DevExtreme: License Key Verification Has Failed.\n\nDetailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\nTo verify your DevExtreme license, make certain to specify a correct key in the GlobalConfig. If you continue to encounter this error, please visit https://www.devexpress.com/ClientCenter/DownloadManager to obtain a valid license key.\n\nIf you have a valid license and this problem persists, please submit a support ticket via the DevExpress Support Center. We will be happy to follow-up: https://supportcenter.devexpress.com/ticket/create.\n\n",W0022:"DevExtreme: Pre-release software. Not suitable for commercial use.\n\nDetailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\nPre-release software may contain deficiencies and as such, should not be considered for use or integrated in any mission critical application.\n\n",W0023:"DevExtreme: the following 'devextreme' package version does not match versions of other DevExpress products used in this application:\n\n{0}\n\nInteroperability between different versions of the products listed herein cannot be guaranteed.\n\n"})},14201:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventsStrategy=void 0;var i,o=(i=n(84718))&&i.__esModule?i:{default:i},r=n(21274),a=n(11528);class s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._events={},this._owner=e,this._options=t}static create(e,t){return t?(0,a.isFunction)(t)?t(e):t:new s(e)}hasEvent(e){const t=this._events[e];return!!t&&t.has()}fireEvent(e,t){const n=this._events[e];return n&&n.fireWith(this._owner,t),this._owner}on(e,t){if((0,a.isPlainObject)(e))(0,r.each)(e,((e,t)=>{this.on(e,t)}));else{let n=this._events[e];n||(n=(0,o.default)({syncStrategy:this._options.syncStrategy}),this._events[e]=n);(n.originalAdd||n.add).call(n,t)}}off(e,t){const n=this._events[e];n&&((0,a.isFunction)(t)?n.remove(t):n.empty())}dispose(){(0,r.each)(this._events,((e,t)=>{t.empty()}))}}t.EventsStrategy=s},7201:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Guid=void 0;var i,o=(i=n(55620))&&i.__esModule?i:{default:i};t.Guid=o.default.inherit({ctor:function(e){e&&(e=String(e)),this._value=this._normalize(e||this._generate())},_normalize:function(e){for(e=e.replace(/[^a-f0-9]/gi,"").toLowerCase();e.length<32;)e+="0";return[e.substr(0,8),e.substr(8,4),e.substr(12,4),e.substr(16,4),e.substr(20,12)].join("-")},_generate:function(){let e="";for(let t=0;t<32;t++)e+=Math.round(15*Math.random()).toString(16);return e},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}})},58670:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.httpRequest=void 0;var i,o=(i=n(89656))&&i.__esModule?i:{default:i};const r=(0,n(3104).getWindow)(),a={getXhr:()=>new r.XMLHttpRequest};t.httpRequest=(0,o.default)(a)},21327:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.infernoRenderer=void 0;var i=c(n(64960)),o=n(74663),r=c(n(89656)),a=n(6257),s=n(76231),l=n(12887);function c(e){return e&&e.__esModule?e:{default:e}}const u=e=>{const{parentNode:t}=e;if(t){const{nextSibling:n}=e;(0,o.cleanDataRecursive)(e),t.$V=e.$V,(0,s.render)(null,t),t.insertBefore(e,n),e.innerHTML="",delete t.$V}delete e.$V};t.infernoRenderer=(0,r.default)({createElement:(e,t)=>(0,l.createElement)(e,t),remove:u,onAfterRender:()=>{a.InfernoEffectHost.callEffects()},onPreRender:()=>{a.InfernoEffectHost.lock()},render:(e,t,n,o)=>{if(o)(0,s.render)((0,l.createElement)(e,t),n);else{const{parentNode:o}=n,r=null==n?void 0:n.nextSibling,s=i.default.createElement("div");s.appendChild(n);const c=i.default.createDocumentFragment().appendChild(s);!!n.$V&&u(n),(0,a.hydrate)((0,l.createElement)(e,t),c),n.$V=c.$V,o&&o.insertBefore(n,r)}},renderIntoContainer:(e,t,n)=>{n?(0,s.render)(e,t):(0,a.hydrate)(e,t)}})},87107:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MemorizedCallbacks=void 0;var i,o=(i=n(84718))&&i.__esModule?i:{default:i},r=n(21274);t.MemorizedCallbacks=class{constructor(){this.memory=[],this.callbacks=(0,o.default)()}add(e){(0,r.each)(this.memory,((t,n)=>e.apply(e,n))),this.callbacks.add(e)}remove(e){this.callbacks.remove(e)}fire(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.memory.push(t),this.callbacks.fire.apply(this.callbacks,t)}}},45693:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PostponedOperations=void 0;var i=n(87739),o=n(11528);t.PostponedOperations=class{constructor(){this._postponedOperations={}}add(e,t,n){if(e in this._postponedOperations)n&&this._postponedOperations[e].promises.push(n);else{const o=new i.Deferred;this._postponedOperations[e]={fn:t,completePromise:o,promises:n?[n]:[]}}return this._postponedOperations[e].completePromise.promise()}callPostponedOperations(){for(const e in this._postponedOperations){const t=this._postponedOperations[e];(0,o.isDefined)(t)&&(t.promises&&t.promises.length?(0,i.when)(...t.promises).done(t.fn).then(t.completePromise.resolve):t.fn().done(t.completePromise.resolve))}this._postponedOperations={}}}},95539:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.renderer=t.default=void 0;var i,o=(i=n(21681))&&i.__esModule?i:{default:i};const r=t.renderer=o.default.get();t.default=r},1811:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i},r=n(74663),a=n(23563),s=n(57653),l=n(58515),c=n(11528);const u=(0,n(3104).getWindow)();let d;const h=function(e,t){return e?"string"==typeof e?"body"===e?(this[0]=t?t.body:o.default.getBody(),this.length=1,this):(t=t||o.default.getDocument(),e.startsWith("<")?(this[0]=o.default.createElement(e.slice(1,-1),t),this.length=1,this):([].push.apply(this,o.default.querySelectorAll(t,e)),this)):o.default.isNode(e)||(0,c.isWindow)(e)?(this[0]=e,this.length=1,this):Array.isArray(e)?([].push.apply(this,e),this):d(e.toArray?e.toArray():[e]):(this.length=0,this)};d=function(e,t){return new h(e,t)},d.fn={dxRenderer:!0},h.prototype=d.fn;const f=function(e,t){for(let n=0;n<this.length;n++){const i=d(this[n]);i[e].apply(i,t)}return this},p=function(e,t,n){null!=n&&!1!==n?o.default.setAttribute(e,t,n):o.default.removeAttribute(e,t)};h.prototype.show=function(){return this.toggle(!0)},h.prototype.hide=function(){return this.toggle(!1)},h.prototype.toggle=function(e){return this[0]&&this.toggleClass("dx-state-invisible",!e),this},h.prototype.attr=function(e,t){if(this.length>1&&arguments.length>1)return f.call(this,"attr",arguments);if(!this[0])return(0,c.isObject)(e)||void 0!==t?this:void 0;if(!this[0].getAttribute)return this.prop(e,t);if("string"==typeof e&&1===arguments.length){const t=this[0].getAttribute(e);return null==t?void 0:t}if((0,c.isPlainObject)(e))for(const t in e)this.attr(t,e[t]);else p(this[0],e,t);return this},h.prototype.removeAttr=function(e){return this.each((function(t,n){o.default.removeAttribute(n,e)})),this},h.prototype.prop=function(e,t){if(!this[0])return this;if("string"==typeof e&&1===arguments.length)return this[0][e];if((0,c.isPlainObject)(e))for(const t in e)this.prop(t,e[t]);else o.default.setProperty(this[0],e,t);return this},h.prototype.addClass=function(e){return this.toggleClass(e,!0)},h.prototype.removeClass=function(e){return this.toggleClass(e,!1)},h.prototype.hasClass=function(e){if(!this[0]||void 0===this[0].className)return!1;const t=e.split(" ");for(let e=0;e<t.length;e++)if(this[0].classList){if(this[0].classList.contains(t[e]))return!0}else{if((((0,c.isString)(this[0].className)?this[0].className:o.default.getAttribute(this[0],"class"))||"").split(" ").indexOf(t[e])>=0)return!0}return!1},h.prototype.toggleClass=function(e,t){if(this.length>1)return f.call(this,"toggleClass",arguments);if(!this[0]||!e)return this;t=void 0===t?!this.hasClass(e):t;const n=e.split(" ");for(let e=0;e<n.length;e++)o.default.setClass(this[0],n[e],t);return this},h.prototype.html=function(e){return arguments.length?(this.empty(),"string"==typeof e&&!(0,a.isTablePart)(e)||"number"==typeof e?(this[0].innerHTML=e,this):this.append((0,a.parseHTML)(e))):this[0].innerHTML};const g=function(e,t){if(this[0]&&e){"string"==typeof e?e=(0,a.parseHTML)(e):e.nodeType?e=[e]:(0,c.isNumeric)(e)&&(e=[o.default.createTextNode(e)]);for(let n=0;n<e.length;n++){const i=e[n];let r=this[0];"TABLE"===r.tagName&&"TR"===i.tagName&&r.tBodies&&r.tBodies.length&&(r=r.tBodies[0]),o.default.insertElement(r,i.nodeType?i:i[0],t)}}},_=function(e,t){if(this[0]&&this[0].style&&!(null===t||"number"==typeof t&&isNaN(t))){e=(0,l.styleProp)(e);for(let n=0;n<this.length;n++)this[n].style[e]=(0,l.normalizeStyleProp)(e,t)}};h.prototype.css=function(e,t){if((0,c.isString)(e)){if(2!==arguments.length){if(!this[0])return;e=(0,l.styleProp)(e);const t=u.getComputedStyle(this[0])[e]||this[0].style[e];return(0,c.isNumeric)(t)?t.toString():t}_.call(this,e,t)}else if((0,c.isPlainObject)(e))for(const t in e)_.call(this,t,e[t]);return this},h.prototype.prepend=function(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.prepend(arguments[e]);return this}return g.apply(this,[e,this[0].firstChild]),this},h.prototype.append=function(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.append(arguments[e]);return this}return g.apply(this,[e]),this},h.prototype.prependTo=function(e){if(this.length>1){for(let t=this.length-1;t>=0;t--)d(this[t]).prependTo(e);return this}return(e=d(e))[0]&&o.default.insertElement(e[0],this[0],e[0].firstChild),this},h.prototype.appendTo=function(e){return this.length>1?f.call(this,"appendTo",arguments):(o.default.insertElement(d(e)[0],this[0]),this)},h.prototype.insertBefore=function(e){return e&&e[0]&&o.default.insertElement(e[0].parentNode,this[0],e[0]),this},h.prototype.insertAfter=function(e){return e&&e[0]&&o.default.insertElement(e[0].parentNode,this[0],e[0].nextSibling),this},h.prototype.before=function(e){return this[0]&&o.default.insertElement(this[0].parentNode,e[0],this[0]),this},h.prototype.after=function(e){return this[0]&&o.default.insertElement(this[0].parentNode,e[0],this[0].nextSibling),this},h.prototype.wrap=function(e){if(this[0]){const t=d(e);t.insertBefore(this),t.append(this)}return this},h.prototype.wrapInner=function(e){const t=this.contents();return t.length?t.wrap(e):this.append(e),this},h.prototype.replaceWith=function(e){if(e&&e[0])return e.is(this)?this:(e.insertBefore(this),this.remove(),e)},h.prototype.remove=function(){return this.length>1?f.call(this,"remove",arguments):((0,r.cleanDataRecursive)(this[0],!0),o.default.removeElement(this[0]),this)},h.prototype.detach=function(){return this.length>1?f.call(this,"detach",arguments):(o.default.removeElement(this[0]),this)},h.prototype.empty=function(){return this.length>1?f.call(this,"empty",arguments):((0,r.cleanDataRecursive)(this[0]),o.default.setText(this[0],""),this)},h.prototype.clone=function(){const e=[];for(let t=0;t<this.length;t++)e.push(this[t].cloneNode(!0));return d(e)},h.prototype.text=function(e){if(!arguments.length){let e="";for(let t=0;t<this.length;t++)e+=this[t]&&this[t].textContent||"";return e}const t=(0,c.isFunction)(e)?e():e;return(0,r.cleanDataRecursive)(this[0],!1),o.default.setText(this[0],(0,c.isDefined)(t)?t:""),this},h.prototype.val=function(e){return 1===arguments.length?this.prop("value",(0,c.isDefined)(e)?e:""):this.prop("value")},h.prototype.contents=function(){if(!this[0])return d();const e=[];return e.push.apply(e,this[0].childNodes),d(e)},h.prototype.find=function(e){const t=d();if(!e)return t;const n=[];let i;if("string"==typeof e)for(e=e.trim(),i=0;i<this.length;i++){const t=this[i];if(o.default.isElementNode(t)){const i=t.getAttribute("id");let r=i||"dx-query-children";i||p(t,"id",r),r=`[id='${r}'] `;const a=r+e.replace(/([^\\])(,)/g,`$1, ${r}`);n.push.apply(n,o.default.querySelectorAll(t,a)),p(t,"id",i)}else(o.default.isDocument(t)||o.default.isDocumentFragment(t))&&n.push.apply(n,o.default.querySelectorAll(t,e))}else for(i=0;i<this.length;i++)e=o.default.isNode(e)?e:e[0],this[i]!==e&&this[i].contains(e)&&n.push(e);return t.add(n)};const m=function(e,t){var n,i;return!(t=t.host??t).nodeType||!!(t.offsetWidth||t.offsetHeight||null!==(n=(i=t).getClientRects)&&void 0!==n&&n.call(i).length)};h.prototype.filter=function(e){if(!e)return d();if(":visible"===e)return this.filter(m);if(":hidden"===e)return this.filter((function(e,t){return!m(0,t)}));const t=[];for(let n=0;n<this.length;n++){const i=this[n];if(o.default.isElementNode(i)&&"string"===(0,c.type)(e))o.default.elementMatches(i,e)&&t.push(i);else if(o.default.isNode(e)||(0,c.isWindow)(e))e===i&&t.push(i);else if((0,c.isFunction)(e))e.call(i,n,i)&&t.push(i);else for(let n=0;n<e.length;n++)e[n]===i&&t.push(i)}return d(t)},h.prototype.not=function(e){const t=[],n=this.filter(e).toArray();for(let e=0;e<this.length;e++)-1===n.indexOf(this[e])&&t.push(this[e]);return d(t)},h.prototype.is=function(e){return!!this.filter(e).length},h.prototype.children=function(e){let t=[];for(let e=0;e<this.length;e++){const n=this[e]?this[e].childNodes:[];for(let e=0;e<n.length;e++)o.default.isElementNode(n[e])&&t.push(n[e])}return t=d(t),e?t.filter(e):t},h.prototype.siblings=function(){const e=this[0];if(!e||!e.parentNode)return d();const t=[],n=e.parentNode.childNodes||[];for(let i=0;i<n.length;i++){const r=n[i];o.default.isElementNode(r)&&r!==e&&t.push(r)}return d(t)},h.prototype.each=function(e){for(let t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);},h.prototype.index=function(e){return e?(e=d(e),this.toArray().indexOf(e[0])):this.parent().children().index(this)},h.prototype.get=function(e){return this[e<0?this.length+e:e]},h.prototype.eq=function(e){return e=e<0?this.length+e:e,d(this[e])},h.prototype.first=function(){return this.eq(0)},h.prototype.last=function(){return this.eq(-1)},h.prototype.select=function(){for(let e=0;e<this.length;e+=1)this[e].select&&this[e].select();return this},h.prototype.parent=function(e){if(!this[0])return d();const t=d(this[0].parentNode);return!e||t.is(e)?t:d()},h.prototype.parents=function(e){const t=[];let n=this.parent();for(;n&&n[0]&&!o.default.isDocument(n[0]);)o.default.isElementNode(n[0])&&(e&&!n.is(e)||t.push(n.get(0))),n=n.parent();return d(t)},h.prototype.closest=function(e){if(this.is(e))return this;let t=this.parent();for(;t&&t.length;){if(t.is(e))return t;t=t.parent()}return d()},h.prototype.next=function(e){if(!this[0])return d();let t=d(this[0].nextSibling);if(!arguments.length)return t;for(;t&&t.length;){if(t.is(e))return t;t=t.next()}return d()},h.prototype.prev=function(){return this[0]?d(this[0].previousSibling):d()},h.prototype.add=function(e){const t=d(e),n=this.toArray();for(let e=0;e<t.length;e++){const i=t[e];-1===n.indexOf(i)&&n.push(i)}return d(n)};const v=[];h.prototype.splice=function(){return d(v.splice.apply(this,arguments))},h.prototype.slice=function(){return d(v.slice.apply(this,arguments))},h.prototype.toArray=function(){return v.slice.call(this)},h.prototype.offset=function(){if(this[0])return(0,s.getOffset)(this[0])},h.prototype.offsetParent=function(){if(!this[0])return d();let e=d(this[0].offsetParent);for(;e[0]&&"static"===e.css("position");)e=d(e[0].offsetParent);return e=e[0]?e:d(o.default.getDocumentElement()),e},h.prototype.position=function(){if(!this[0])return;let e;const t=parseFloat(this.css("marginTop")),n=parseFloat(this.css("marginLeft"));if("fixed"===this.css("position"))return e=this[0].getBoundingClientRect(),{top:e.top-t,left:e.left-n};e=this.offset();const i=this.offsetParent();let o={top:0,left:0};return"HTML"!==i[0].nodeName&&(o=i.offset()),o={top:o.top+parseFloat(i.css("borderTopWidth")),left:o.left+parseFloat(i.css("borderLeftWidth"))},{top:e.top-o.top-t,left:e.left-o.left-n}},[{name:"scrollLeft",offsetProp:"pageXOffset",scrollWindow:function(e,t){e.scrollTo(t,e.pageYOffset)}},{name:"scrollTop",offsetProp:"pageYOffset",scrollWindow:function(e,t){e.scrollTo(e.pageXOffset,t)}}].forEach((function(e){const t=e.name;h.prototype[t]=function(n){if(!this[0])return;const i=(0,s.getWindowByElement)(this[0]);return void 0===n?i?i[e.offsetProp]:this[0][t]:(i?e.scrollWindow(i,n):this[0][t]=n,this)}})),h.prototype.data=function(e,t){if(this[0])return arguments.length<2?r.data.call(d,this[0],e):(r.data.call(d,this[0],e,t),this)},h.prototype.removeData=function(e){return this[0]&&(0,r.removeData)(this[0],e),this};const b=function(){return d.apply(this,arguments)};Object.defineProperty(b,"fn",{enumerable:!0,configurable:!0,get:function(){return d.fn},set:function(e){d.fn=e}});t.default={set:function(e){d=e},get:function(){return b}}},57785:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resizeObserverSingleton=void 0;var i,o=n(17781),r=(i=n(14470))&&i.__esModule?i:{default:i};const a=r.default.getWindow(),s={observe:o.noop,unobserve:o.noop,disconnect:o.noop};t.resizeObserverSingleton=new class{constructor(){if(!r.default.hasWindow()||!a.ResizeObserver)return s;this._callbacksMap=new Map,this._observer=new a.ResizeObserver((e=>{e.forEach((e=>{var t;null===(t=this._callbacksMap.get(e.target))||void 0===t||t(e)}))}))}observe(e,t){this._callbacksMap.set(e,t),this._observer.observe(e)}unobserve(e){this._callbacksMap.delete(e),this._observer.unobserve(e)}disconnect(){this._callbacksMap.clear(),this._observer.disconnect()}}},61644:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setTemplateEngine",{enumerable:!0,get:function(){return i.setTemplateEngine}});var i=n(35155)},66298:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TemplateManager=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(48650),a=n(38699),s=n(17781),l=n(52576),c=n(49194),u=n(11528);const d=new a.FunctionTemplate((e=>{let{model:t,parent:n}=e;const i=t.widget;if(!i)return(0,o.default)();const r=(0,o.default)("<div>"),a=t.options||{};return n?n._createComponent(r,i,a):r[i](a),r}));class h{constructor(e,t){this._tempTemplates=[],this._defaultTemplates={},this._anonymousTemplateName=t||"template",this._createElement=e||c.defaultCreateElement,this._createTemplateIfNeeded=this._createTemplateIfNeeded.bind(this)}static createDefaultOptions(){return{integrationOptions:{watchMethod:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipImmediate||t(e()),s.noop},templates:{"dx-polymorph-widget":d},useDeferUpdateForTemplates:!0}}}get anonymousTemplateName(){return this._anonymousTemplateName}addDefaultTemplates(e){this._defaultTemplates=(0,l.extend)({},this._defaultTemplates,e)}dispose(){this._tempTemplates.forEach((e=>{e.template.dispose&&e.template.dispose()})),this._tempTemplates=[]}extractTemplates(e){return{templates:this._extractTemplates(e),anonymousTemplateMeta:this._extractAnonymousTemplate(e)}}_extractTemplates(e){const t=(0,c.findTemplates)(e,"dxTemplate"),n=(0,c.suitableTemplatesByName)(t);return t.forEach((e=>{let{element:t,options:{name:i}}=e;t===n[i]?(0,o.default)(t).addClass("dx-template-wrapper").detach():(0,o.default)(t).remove()})),Object.keys(n).map((e=>({name:e,template:this._createTemplate(n[e])})))}_extractAnonymousTemplate(e){const t=e.contents().detach();return t.filter(((e,t)=>{const n=3===t.nodeType,i=(0,o.default)(t).text().trim().length<1;return!(n&&i)})).length>0?{template:this._createTemplate(t),name:this._anonymousTemplateName}:{}}_createTemplateIfNeeded(e){const t=this._tempTemplates.filter((t=>t.source===(0,c.templateKey)(e)))[0];if(t)return t.template;const n=this._createTemplate(e);return this._tempTemplates.push({template:n,source:(0,c.templateKey)(e)}),n}_createTemplate(e){return this._createElement((0,c.validateTemplateSource)(e))}getTemplate(e,t,n,i){let{isAsyncTemplate:s,skipTemplates:l}=n;return(0,u.isFunction)(e)?new a.FunctionTemplate((n=>{const d=e.apply(i,(0,c.getNormalizedTemplateArgs)(n));if(!(0,u.isDefined)(d))return new r.EmptyTemplate;let h=!1;const f=(0,c.acquireTemplate)(d,(e=>e.nodeType||(0,u.isRenderer)(e)&&!(0,o.default)(e).is("script")?new a.FunctionTemplate((()=>e)):(h=!0,this._createTemplate(e))),t,s,l,this._defaultTemplates),p=f.render(n);return h&&f.dispose&&f.dispose(),p})):(0,c.acquireTemplate)(e,this._createTemplateIfNeeded,t,s,l,this._defaultTemplates)}}t.TemplateManager=h;t.default={TemplateManager:h}},43399:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Options=void 0;var i=n(1896),o=n(53904),r=n(17781),a=n(31e3),s=n(52576),l=n(11528);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},c.apply(null,arguments)}t.Options=class{constructor(e,t,n,o){this._deprecatedCallback,this._startChangeCallback,this._endChangeCallback,this._validateOptionsCallback,this._default=t,this._deprecated=o,this._deprecatedNames=[],this._initDeprecatedNames(),this._optionManager=new i.OptionManager(e,n),this._optionManager.onRelevantNamesPrepared(((e,t,n,i)=>this._setRelevantNames(e,t,n,i))),this._cachedOptions={},this._rules=[]}set _initial(e){this._initialOptions=e}get _initial(){if(!this._initialOptions){const e=this._getByRules(this.silent("defaultOptionsRules"));this._initialOptions=this._default,this._optionManager._setByReference(this._initialOptions,e)}return this._initialOptions}_initDeprecatedNames(){for(const e in this._deprecated)this._deprecatedNames.push(e)}_getByRules(e){return e=Array.isArray(e)?this._rules.concat(e):this._rules,(0,o.convertRulesToOptions)(e)}_notifyDeprecated(e){const t=this._deprecated[e];t&&this._deprecatedCallback(e,t)}_setRelevantNames(e,t,n,i){if(t){const o=this._normalizeName(t,i);o&&o!==t&&(this._setField(e,o,n),this._clearField(e,t))}}_setField(e,t,n){let i="",r=null;do{i=i?`.${i}`:"",i=(0,o.getFieldName)(t)+i,r=(t=(0,o.getParentName)(t))?this._optionManager.get(e,t,!1):e}while(!r);r[i]=n}_clearField(e,t){delete e[t];const n=(0,o.getParentName)(t),i=n?this._optionManager.get(e,n,!1):e;i&&delete i[(0,o.getFieldName)(t)]}_normalizeName(e,t){if(this._deprecatedNames.length&&e)for(let n=0;n<this._deprecatedNames.length;n++)if(this._deprecatedNames[n]===e){const n=this._deprecated[e];if(n)return!t&&this._notifyDeprecated(e),n.alias||e}return e}addRules(e){this._rules=e.concat(this._rules)}applyRules(e){const t=this._getByRules(e);this.silent(t)}dispose(){this._deprecatedCallback=r.noop,this._startChangeCallback=r.noop,this._endChangeCallback=r.noop,this._optionManager.dispose()}onChanging(e){this._optionManager.onChanging(e)}onChanged(e){this._optionManager.onChanged(e)}validateOptions(e){this._optionManager.onValidateOptions(e)}onDeprecated(e){this._deprecatedCallback=e}onStartChange(e){this._startChangeCallback=e}onEndChange(e){this._endChangeCallback=e}isInitial(e){const t=this.silent(e),n=this.initial(e);return(0,l.isFunction)(t)&&(0,l.isFunction)(n)?t.toString()===n.toString():(0,r.equalByValue)(t,n)}initial(e){return(0,o.getNestedOptionValue)(this._initial,e)}option(e,t){if(arguments.length<2&&"object"!==(0,l.type)(e))return this._optionManager.get(void 0,this._normalizeName(e));this._startChangeCallback();try{this._optionManager.set(e,t)}finally{this._endChangeCallback()}}silent(e,t){if(arguments.length<2&&"object"!==(0,l.type)(e))return this._optionManager.get(void 0,e,void 0,!0);this._optionManager.set(e,t,void 0,!0)}reset(e){if(e){const t=(0,a.getPathParts)(e).reduce(((e,t)=>e?e[t]:this.initial(t)),null),n=(0,l.isObject)(t)?c({},t):t;this._optionManager.set(e,n,!1)}}getAliasesByName(e){return Object.keys(this._deprecated).filter((t=>e===this._deprecated[t].alias))}isDeprecated(e){return Object.prototype.hasOwnProperty.call(this._deprecated,e)}cache(e,t){if(arguments.length<2)return this._cachedOptions[e];this._cachedOptions[e]=(0,s.extend)(this._cachedOptions[e],t)}}},59830:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.OptionManager=void 0;var i=n(53904),o=n(17781),r=n(60648),a=n(31e3),s=n(52576),l=n(11528);const c={},u={};t.OptionManager=class{constructor(e,t){this._options=e,this._optionsByReference=t,this._changingCallback,this._changedCallback,this._namePreparedCallbacks,this._validateOptionsCallback}_setByReference(e,t){(0,s.extend)(!0,e,t);for(const n in this._optionsByReference)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}_setPreparedValue(e,t,n,i){const o=this.get(this._options,e,!1);if(!(0,r.equals)(o,t)){const r=(0,a.getPathParts)(e);!i&&this._changingCallback(e,o,t),u[e]=u[e]||(0,a.compileSetter)(e),u[e](this._options,t,{functionsAsIs:!0,merge:(0,l.isDefined)(n)?n:!this._optionsByReference[e],unwrapObservables:r.length>1&&!!this._optionsByReference[r[0]]}),!i&&this._changedCallback(e,t,o)}}_prepareRelevantNames(e,t,n,i){if((0,l.isPlainObject)(n))for(const i in n)this._prepareRelevantNames(e,`${t}.${i}`,n[i]);this._namePreparedCallbacks(e,t,n,i)}get(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._options,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return c[t]=c[t]||(0,a.compileGetter)(t),c[t](e,{functionsAsIs:!0,unwrapObservables:n})}set(e,t,n,o){e=(0,i.normalizeOptions)(e,t);for(const t in e)this._prepareRelevantNames(e,t,e[t],o);this._validateOptionsCallback&&(e=this._validateOptionsCallback(e));for(const t in e)this._setPreparedValue(t,e[t],n,o)}onRelevantNamesPrepared(e){this._namePreparedCallbacks=e}onChanging(e){this._changingCallback=e}onChanged(e){this._changedCallback=e}onValidateOptions(e){this._validateOptionsCallback=e}dispose(){this._changingCallback=o.noop,this._changedCallback=o.noop}}},33810:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeOptions=t.getParentName=t.getNestedOptionValue=t.getFieldName=t.deviceMatch=t.createDefaultOptionRules=t.convertRulesToOptions=void 0;var i,o=(i=n(65951))&&i.__esModule?i:{default:i},r=n(17781),a=n(31e3),s=n(52576),l=n(11528);const c={};t.convertRulesToOptions=e=>{const t=o.default.current();return e.reduce(((e,n)=>{let{device:i,options:o}=n;const r=i||{};return((0,l.isFunction)(r)?r(t):u(t,r))&&(0,s.extend)(!0,e,o),e}),{})};t.normalizeOptions=(e,t)=>"string"!=typeof e?e:{[e]:t};const u=(e,t)=>(0,l.isEmptyObject)(t)||(0,r.findBestMatches)(e,[t]).length>0;t.deviceMatch=u;t.getFieldName=e=>e.substr(e.lastIndexOf(".")+1);t.getParentName=e=>e.substr(0,e.lastIndexOf("."));t.getNestedOptionValue=function(e,t){return c[t]=c[t]||(0,a.compileGetter)(t),c[t](e,{functionsAsIs:!0})};t.createDefaultOptionRules=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}},34993:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentWrapper=void 0,n(64044),n(69331),n(638);var i=p(n(64960)),o=p(n(97832)),r=n(61404),a=p(n(64553)),s=n(52576),l=n(11528),c=n(76231),u=p(n(52818)),d=p(n(16965)),h=n(34554),f=n(10632);function p(e){return e&&e.__esModule?e:{default:e}}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g.apply(null,arguments)}const _=(e,t)=>n=>{Object.prototype.hasOwnProperty.call(e,n)&&void 0===e[n]&&(e[n]=t(n))};class m extends o.default{get _propsInfo(){return{allowNull:[],twoWay:[],elements:[],templates:[],props:[]}}constructor(e,t){super(e,t),this._shouldRaiseContentReady=!1,this.validateKeyDownHandler()}validateKeyDownHandler(){const e=this.getSupportedKeyNames().length>0,t="function"==typeof this._viewComponent.prototype.keyDown;if(e&&!t)throw Error("Component's declaration must have 'keyDown' method.")}get viewRef(){var e;return null===(e=this._viewRef)||void 0===e?void 0:e.current}_checkContentReadyOption(e){const t=this._getContentReadyOptions().reduce(((e,t)=>(e[t]=!0,e)),{});return this._checkContentReadyOption=e=>!!t[e],this._checkContentReadyOption(e)}_getContentReadyOptions(){return["rtlEnabled"]}_fireContentReady(){this._actionsMap.onContentReady({})}_getDefaultOptions(){const e=this._getViewComponentDefaultProps();return(0,s.extend)(!0,super._getDefaultOptions(),e,this._propsInfo.twoWay.reduce(((t,n)=>{let[i,o,r]=n;return g({},t,{[i]:e[o],[r]:e=>this.option(i,e)})}),{}),this._propsInfo.templates.reduce(((e,t)=>g({},e,{[t]:null})),{}))}_getUnwrappedOption(){const e={};return Object.keys(this.option()).forEach((t=>{e[t]=this.option(t)})),e}_initializeComponent(){var e;super._initializeComponent(),null===(e=this._templateManager)||void 0===e||e.addDefaultTemplates(this.getDefaultTemplates());const t=this._getUnwrappedOption();this._props=this._optionsWithDefaultTemplates(t),this._propsInfo.templates.forEach((e=>{this._componentTemplates[e]=this._createTemplateComponent(this._props[e])})),Object.keys(this._getActionConfigsFull()).forEach((e=>this._addAction(e))),this._viewRef=(0,c.createRef)(),this.defaultKeyHandlers=this._createDefaultKeyHandlers()}_initMarkup(){const e=this.getProps();this._renderWrapper(e)}_renderWrapper(e){const t=this.$element()[0];this._isNodeReplaced||d.default.onPreRender(),d.default.render(this._viewComponent,e,t,this._isNodeReplaced),this._isNodeReplaced||(this._isNodeReplaced=!0,d.default.onAfterRender(),this._shouldRaiseContentReady=!0),this._shouldRaiseContentReady&&(this._fireContentReady(),this._shouldRaiseContentReady=!1)}_silent(e,t){this._options.silent(e,t)}_render(){}_removeWidget(){d.default.remove(this.$element()[0])}_dispose(){this._removeWidget(),super._dispose()}get elementAttr(){const e=this.$element()[0];if(!this._elementAttr){const{attributes:t}=e,n=Array.from(t).filter((e=>{var n;return!this._propsInfo.templates.includes(e.name)&&(null===(n=t[e.name])||void 0===n?void 0:n.specified)})).reduce(((t,n)=>{let{name:i,value:o}=n;const r=t,a=i in e;return r[i]=""===o&&a?e[i]:o,r}),{});this._elementAttr=n,this._storedClasses=e.getAttribute("class")||""}const t=e.style,n={};for(let e=0;e<t.length;e+=1)n[t[e]]=t.getPropertyValue(t[e]);return this._elementAttr.style=n,this._elementAttr.class=this._storedClasses,this._elementAttr}_getAdditionalActionConfigs(){return{onContentReady:{excludeValidators:["disabled","readOnly"]}}}_getAdditionalProps(){return[]}_patchOptionValues(e){const{allowNull:t,twoWay:n,elements:i,props:o}=this._propsInfo,r=this._getViewComponentDefaultProps(),a=Object.keys(r),s=this._getDefaultOptions(),{ref:c,children:u,onKeyboardHandled:d}=e,h={ref:c,children:u,onKeyDown:d?(e,t)=>{d(t)}:void 0};return[...o,...this._getAdditionalProps()].forEach((t=>{Object.prototype.hasOwnProperty.call(e,t)&&(h[t]=e[t])})),t.forEach(_(h,(()=>null))),a.forEach(_(h,(e=>s[e]))),n.forEach((e=>{let[t,n]=e;_(h,(()=>s[n]))(t)})),i.forEach((e=>{if(e in h){const t=h[e];(0,l.isRenderer)(t)&&(h[e]=this._patchElementParam(t))}})),h}getSupportedKeyNames(){return[]}prepareStyleProp(e){return"string"==typeof e.style?g({},e,{style:{},cssText:e.style}):e}getProps(){const{elementAttr:e}=this.option(),t=this._patchOptionValues(g({},this._props,{ref:this._viewRef,children:this._extractDefaultSlot(),aria:this._aria}));return this._propsInfo.templates.forEach((e=>{t[e]=this._componentTemplates[e]})),this.prepareStyleProp(g({},t,this.elementAttr,e,{className:[...(this.elementAttr.class??"").split(" "),...((null==e?void 0:e.class)??"").split(" ")].filter(((e,t,n)=>e&&n.indexOf(e)===t)).join(" ").trim(),class:""},this._actionsMap))}_getActionConfigs(){return{}}_getActionConfigsFull(){return g({},this._getActionConfigs(),this._getAdditionalActionConfigs())}getDefaultTemplates(){const e=Object.values(this._templatesInfo),t={};return e.forEach((e=>{t[e]="dx-renovation-template-mock"})),t}get _templatesInfo(){return{}}_optionsWithDefaultTemplates(e){const t=Object.entries(this._templatesInfo).reduce(((t,n)=>{let[i,o]=n;return g({},t,{[i]:e[i]??o})}),{});return g({},e,t)}_init(){super._init(),this.customKeyHandlers={},this._actionsMap={},this._aria={},this._componentTemplates={}}_createDefaultKeyHandlers(){const e={};return this.getSupportedKeyNames().forEach((t=>{e[t]=e=>this.viewRef.keyDown(u.default.createKeyDownOptions(e))})),e}_addAction(e,t){let n=t;if(!n){const t=this._createActionByOption(e,this._getActionConfigsFull()[e]);n=e=>(Object.keys(e).forEach((t=>{(0,l.isDefined)(e[t])&&i.default.isNode(e[t])&&(e[t]=(0,r.getPublicElement)((0,a.default)(e[t])))})),t(e))}this._actionsMap[e]=n}_optionChanged(e){const{name:t,fullName:n,value:i,previousValue:o}=e;(0,f.updatePropsImmutable)(this._props,this.option(),t,n),this._propsInfo.templates.includes(t)&&i!==o&&(this._componentTemplates[t]=this._createTemplateComponent(i)),t&&this._getActionConfigsFull()[t]&&this._addAction(t),this._shouldRaiseContentReady=this._shouldRaiseContentReady||this._checkContentReadyOption(n),super._optionChanged(e),this._invalidate()}_validateOptions(e){return super._validateOptions(e)}_extractDefaultSlot(){return this.option("_hasAnonymousTemplateContent")?d.default.createElement(h.TemplateWrapper,{template:this._getTemplate(this._templateManager.anonymousTemplateName),transclude:!0,renovated:!0}):null}_createTemplateComponent(e){if(!e)return;const t=this._getTemplate(e);if((0,l.isString)(t)&&"dx-renovation-template-mock"===t)return;return e=>d.default.createElement(h.TemplateWrapper,(0,h.buildTemplateArgs)(e,t))}_wrapKeyDownHandler(e){return t=>{const{originalEvent:n,keyName:i,which:o}=t,r=this.customKeyHandlers,a=r[i]||r[o];if(void 0!==a){if(!a.bind(this)(n,t))return n.cancel=!0,n}return null==e?void 0:e(n,t)}}_toPublicElement(e){return(0,r.getPublicElement)((0,a.default)(e))}_patchElementParam(e){try{const t=(0,a.default)(e),n=null==t?void 0:t.get(0);return null!=n&&n.nodeType?n:e}catch(t){return e}}focus(){const e=this.$element();if(!(e.is(":focus")||e.find(":focus").length>0))if(this.option("focusStateEnabled"))e.focus();else{var t;null===(t=e.find("[tabindex]")[0])||void 0===t||t.focus()}}repaint(){this._isNodeReplaced=!1,this._shouldRaiseContentReady=!0,this._removeWidget(),this._refresh()}_supportedKeys(){return g({},this.defaultKeyHandlers,this.customKeyHandlers)}registerKeyHandler(e,t){this.customKeyHandlers[e]=t}setAria(e,t){this._aria[e]=t,this._initMarkup()}_getViewComponentDefaultProps(){return this._viewComponent.defaultProps||{}}}t.ComponentWrapper=m,m.IS_RENOVATED_WIDGET=!1,m.IS_RENOVATED_WIDGET=!0},5428:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.InfernoWrapperComponent=t.InfernoComponent=t.BaseInfernoComponent=void 0;var i=n(76231),o=n(23405);const r=(e,t)=>{if(!(e instanceof Object&&t instanceof Object))return e===t;const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;return!n.some((n=>e[n]!==t[n]))};class a extends i.Component{constructor(){super(...arguments),this._pendingContext=this.context}componentWillReceiveProps(e,t){this._pendingContext=t??{}}shouldComponentUpdate(e,t){return!r(this.props,e)||!r(this.state,t)||!r(this.context,this._pendingContext)}}t.BaseInfernoComponent=a;class s extends a{constructor(){super(...arguments),this._effects=[]}createEffects(){return[]}updateEffects(){}componentWillMount(){o.InfernoEffectHost.lock()}componentWillUpdate(e,t,n){o.InfernoEffectHost.lock()}componentDidMount(){o.InfernoEffectHost.callbacks.push((()=>{this._effects=this.createEffects()})),o.InfernoEffectHost.callEffects()}componentDidUpdate(){o.InfernoEffectHost.callbacks.push((()=>this.updateEffects())),o.InfernoEffectHost.callEffects()}destroyEffects(){this._effects.forEach((e=>e.dispose()))}componentWillUnmount(){this.destroyEffects()}}t.InfernoComponent=s;t.InfernoWrapperComponent=class extends s{constructor(){super(...arguments),this.vDomElement=null}vDomUpdateClasses(){var e;const t=this.vDomElement,n=null!==(e=t.className)&&void 0!==e&&e.length?t.className.split(" "):[],i=n.filter((e=>!t.dxClasses.previous.includes(e))),o=t.dxClasses.previous.filter((e=>!n.includes(e)));i.forEach((e=>{const n=t.dxClasses.removed.indexOf(e);n>-1?t.dxClasses.removed.splice(n,1):t.dxClasses.added.includes(e)||t.dxClasses.added.push(e)})),o.forEach((e=>{const n=t.dxClasses.added.indexOf(e);n>-1?t.dxClasses.added.splice(n,1):t.dxClasses.removed.includes(e)||t.dxClasses.removed.push(e)}))}componentDidMount(){var e;const t=(0,i.findDOMFromVNode)(this.$LI,!0);this.vDomElement=t,super.componentDidMount(),t.dxClasses=t.dxClasses||{removed:[],added:[],previous:[]},t.dxClasses.previous=null!=t&&null!==(e=t.className)&&void 0!==e&&e.length?t.className.split(" "):[]}componentDidUpdate(){super.componentDidUpdate();const e=this.vDomElement;var t;null!==e&&(e.dxClasses.added.forEach((t=>e.classList.add(t))),e.dxClasses.removed.forEach((t=>e.classList.remove(t))),e.dxClasses.previous=null!==(t=e.className)&&void 0!==t&&t.length?e.className.split(" "):[])}shouldComponentUpdate(e,t){const n=super.shouldComponentUpdate(e,t);return n&&this.vDomUpdateClasses(),n}}},34781:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createContext=void 0;var i=n(76231);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o.apply(null,arguments)}let r=0;t.createContext=function(e){const t=r++;return{id:t,defaultValue:e,Provider:class extends i.Component{getChildContext(){return o({},this.context,{[t]:this.props.value||e})}render(){return this.props.children}}}}},2836:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.InfernoEffect=void 0;t.InfernoEffect=class{constructor(e,t){this.dependency=t,this.effect=e,this.destroy=e()}update(e){const t=this.dependency;e&&(this.dependency=e),e&&!e.some(((e,n)=>t[n]!==e))||(this.dispose(),this.destroy=this.effect())}dispose(){this.destroy&&this.destroy()}}},23405:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.InfernoEffectHost=void 0;t.InfernoEffectHost={lockCount:0,lock(){this.lockCount++},callbacks:[],callEffects(){if(this.lockCount--,this.lockCount<0)throw new Error("Unexpected Effect Call");if(0===this.lockCount){const e=this.callbacks;this.callbacks=[],e.forEach((e=>e()))}}}},6257:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(5428);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var o=n(34781);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var r=n(2836);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var a=n(23405);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(11934);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(75467);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(37695);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(31603);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=n(90626);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},11934:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.hydrate=function(e,t,n){let r=t.firstChild;if((0,o.isNull)(r))(0,i.render)(e,t,n);else{const n=[],a=new i.AnimationQueues;for((0,o.isInvalid)(e)||(r=u(e,t,r,{},!1,n,a));r&&(r=r.nextSibling);)t.removeChild(r);if(n.length>0){let e;for(;void 0!==(e=n.shift());)e()}}t.$V=e,(0,o.isFunction)(n)&&n()};var i=n(76231),o=n(54640),r=n(55869);function a(e,t){return Boolean(t&&t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html&&function(e,t){const n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(e,t.dangerouslySetInnerHTML.__html))}function s(e,t,n,s,l,c,d){const h=e.childFlags,f=e.children,p=e.props,g=e.flags;if(h!==r.ChildFlags.HasInvalidChildren){if(h===r.ChildFlags.HasVNodeChildren)(0,o.isNull)(n)?(0,i._M)(f,t,s,l,null,c,d):n=(n=u(f,t,n,s,l,c,d))?n.nextSibling:null;else if(h===r.ChildFlags.HasTextChildren)(0,o.isNull)(n)?t.appendChild(document.createTextNode(f)):1!==t.childNodes.length||3!==n.nodeType?t.textContent=f:n.nodeValue!==f&&(n.nodeValue=f),n=null;else if(h&r.ChildFlags.MultipleChildren){let e=!1;for(let a=0,h=f.length;a<h;++a){const h=f[a];(0,o.isNull)(n)||e&&(h.flags&r.VNodeFlags.Text)>0?(0,i._M)(h,t,s,l,n,c,d):n=(n=u(h,t,n,s,l,c,d))?n.nextSibling:null,e=(h.flags&r.VNodeFlags.Text)>0}}if(!(g&r.VNodeFlags.Fragment)){let e=null;for(;n;)e=n.nextSibling,t.removeChild(n),n=e}}else(0,o.isNull)(t.firstChild)||a(t,p)||(t.textContent="",g&r.VNodeFlags.FormElement&&(t.defaultValue=""))}function l(e,t,n){if(3!==n.nodeType)t.replaceChild(e.dom=document.createTextNode(e.children),n);else{const t=e.children;n.nodeValue!==t&&(n.nodeValue=t),e.dom=n}return e.dom}function c(e,t,n,i,o,a,c){const u=e.children;return e.childFlags===r.ChildFlags.HasVNodeChildren?(l(u,t,n),u.dom):(s(e,t,n,i,o,a,c),function(e){let t,n;for(;e;){if(t=e.flags,t&r.VNodeFlags.DOMRef)return e.dom;n=e.children,e=t&r.VNodeFlags.Fragment?e.childFlags===r.ChildFlags.HasVNodeChildren?n:n[n.length-1]:t&r.VNodeFlags.ComponentClass?n.$LI:n}return null}(u[u.length-1]))}function u(e,t,n,a,d,h,f){const p=e.flags|=r.VNodeFlags.InUse;return p&r.VNodeFlags.Component?function(e,t,n,o,r,a,s,l){const c=e.type,d=e.ref,h=e.props||i.EMPTY_OBJ;let f;if(a){const a=(0,i._CI)(e,c,h,o,r,s);f=u(a.$LI,t,n,a.$CX,r,s,l),(0,i._MCCC)(d,a,s,l)}else{const a=(0,i._HI)((0,i._RFC)(e,o));f=u(a,t,n,o,r,s,l),e.children=a,(0,i._MFCC)(e,s,l)}return f}(e,t,n,a,d,(p&r.VNodeFlags.ComponentClass)>0,h,f):p&r.VNodeFlags.Element?function(e,t,n,a,l,c,u){const d=e.props,h=e.className,f=e.flags,p=e.ref;return l=l||(f&r.VNodeFlags.SvgElement)>0,1!==n.nodeType?((0,i._ME)(e,null,a,l,null,c,u),t.replaceChild(e.dom,n)):(e.dom=n,s(e,n,n.firstChild,a,l,c,u),(0,o.isNull)(d)||(0,i._MP)(e,f,d,n,l,u),(0,o.isNullOrUndef)(h)?""!==n.className&&n.removeAttribute("class"):l?n.setAttribute("class",h):n.className=h,(0,i._MR)(p,n,c)),e.dom}(e,t,n,a,d,h,f):p&r.VNodeFlags.Text?l(e,t,n):p&r.VNodeFlags.Void?e.dom=n:p&r.VNodeFlags.Fragment?c(e,t,n,a,d,h,f):((0,o.throwError)(),null)}},54640:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_MSG=void 0,t.isFunction=function(e){return"function"==typeof e},t.isInvalid=function(e){return null===e||!1===e||!0===e||void 0===e},t.isNull=function(e){return null===e},t.isNullOrUndef=function(e){return null==e},t.throwError=function(e){e||(e=n);throw new Error(`Inferno Error: ${e}`)};const n=t.ERROR_MSG="a runtime error occured! Use Inferno in development environment to find the error."},55869:function(e,t){var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.VNodeFlags=t.ChildFlags=void 0,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(n||(t.VNodeFlags=n={})),function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(i||(t.ChildFlags=i={}))},75467:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeStyles=function(e){if(!(e instanceof Object))return;return Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return e[a(n)]=i(r)?o(n,r):r,e}),{})};const n=new Set(["animationIterationCount","borderImageOutset","borderImageSlice","border-imageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexNegative","flexOrder","flexPositive","flexShrink","floodOpacity","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","zIndex","zoom"]),i=e=>"number"==typeof e||!Number.isNaN(Number(e)),o=(e,t)=>n.has(e)?t:`${t}px`,r=/[A-Z]/g,a=e=>e.replace(r,"-$&").toLowerCase()},37695:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var i=n(76231);t.Portal=e=>{let{container:t,children:n}=e;return t?(0,i.createPortal)(n,t):null}},31603:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createReRenderEffect=void 0;var i=n(76231),o=n(2836);t.createReRenderEffect=()=>new o.InfernoEffect((()=>{(0,i.rerender)()}),[])},90626:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.hasTemplate=void 0,t.renderTemplate=function(e,t,n){setTimeout((()=>{(0,i.render)((0,o.createElement)(e,t),r(t))}),0)};var i=n(76231),o=n(12887);const r=e=>{var t,n;return(null===(t=e.container)||void 0===t?void 0:t.get(0))||(null===(n=e.item)||void 0===n?void 0:n.get(0))};t.hasTemplate=(e,t,n)=>{const i=t[e];return!!i&&"string"!=typeof i}},34554:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildTemplateArgs=t.TemplateWrapper=void 0;var i=h(n(64960)),o=n(61404),r=h(n(64553)),a=n(86858),s=n(11528),l=n(6257),c=n(76231),u=n(1270);const d=["isEqual"];function h(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f.apply(null,arguments)}t.buildTemplateArgs=(e,t)=>{const n={template:t,model:f({},e)},i=e.data??{},{isEqual:o}=i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(i,d);return o&&(n.model.data=r,n.isEqual=o),n};class p extends l.InfernoComponent{constructor(e){super(e),this.renderTemplate=this.renderTemplate.bind(this)}renderTemplate(){const e=(0,c.findDOMFromVNode)(this.$LI,!0);if(null==e||!e.parentNode)return()=>{};const t=e.parentNode,n=(0,r.default)(t),s=n.contents().toArray(),l=((e,t)=>{const{data:n,index:a}=e.model??{data:{}};n&&Object.keys(n).forEach((e=>{n[e]&&i.default.isNode(n[e])&&(n[e]=(0,o.getPublicElement)((0,r.default)(n[e])))}));const s=e.template.render(f({container:t,transclude:e.transclude},{renovated:e.renovated},e.transclude?{}:{model:n},!e.transclude&&Number.isFinite(a)?{index:a}:{}));return void 0===s?[]:s.toArray?s.toArray():[(0,r.default)(s).get(0)]})(this.props,(0,o.getPublicElement)(n));return(0,a.replaceWith)((0,r.default)(e),(0,r.default)(l)),()=>{const n=(0,r.default)(t).contents().toArray();var i;i=s,n.forEach((e=>{!i.find((t=>e===t))&&e.parentNode&&(0,r.default)(e).remove()})),t.appendChild(e)}}shouldComponentUpdate(e){const{template:t,model:n}=this.props,{template:i,model:o,isEqual:r}=e,a=r??u.shallowEquals;if(t!==i)return!0;if(!(0,s.isDefined)(n)||!(0,s.isDefined)(o))return n!==o;const{data:l,index:c}=n,{data:d,index:h}=o;return c!==h||((0,s.isDefined)(l)&&(0,s.isDefined)(d)?!a(l,d):n!==o)}createEffects(){return[new l.InfernoEffect(this.renderTemplate,[this.props.template,this.props.model])]}updateEffects(){this._effects[0].update([this.props.template,this.props.model])}componentWillUnmount(){}render(){return null}}t.TemplateWrapper=p},6909:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplate=void 0;var i=n(76231);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o.apply(null,arguments)}t.getTemplate=e=>e&&(e.defaultProps?t=>(0,i.normalizeProps)((0,i.createComponentVNode)(2,e,o({},t))):e)},10632:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return i.getTemplate}}),Object.defineProperty(t,"shallowEquals",{enumerable:!0,get:function(){return o.shallowEquals}}),Object.defineProperty(t,"updatePropsImmutable",{enumerable:!0,get:function(){return r.updatePropsImmutable}});var i=n(6909),o=n(1270),r=n(73725)},1270:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.shallowEquals=void 0;t.shallowEquals=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every((e=>{let[n,i]=e;const o=t[n];return i instanceof Date&&o instanceof Date?i.getTime()===o.getTime():i===o}))},73725:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.updatePropsImmutable=void 0;var i=n(31e3),o=n(11528);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(null,arguments)}const a=e=>Array.isArray(e)?[...e]:r({},e),s=(e,t,n)=>{const i=n.length>0&&t&&e!==t?a(t):a(e),r=n[0];return n.length>1?i[r]=s(e[r],null==t?void 0:t[r],n.slice(1)):r&&((0,o.isPlainObject)(e[r])?i[r]=a(e[r]):i[r]=e[r]),i};t.updatePropsImmutable=(e,t,n,r)=>{const a=t[n],l=e[n],c=e;(0,o.isPlainObject)(a)||n!==r&&Array.isArray(a)?c[n]=s(a,l,(0,i.getPathParts)(r).slice(1)):c[n]=a}},93971:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ChildDefaultTemplate=void 0;var i=n(42186);class o extends i.TemplateBase{constructor(e){super(),this.name=e}}t.ChildDefaultTemplate=o},11768:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyTemplate=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(42186);class a extends r.TemplateBase{_renderCore(){return(0,o.default)()}}t.EmptyTemplate=a},88969:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionTemplate=void 0;var i=n(42186),o=n(86858);class r extends i.TemplateBase{constructor(e){super(),this._render=e}_renderCore(e){return(0,o.normalizeTemplateElement)(this._render(e))}}t.FunctionTemplate=r},52538:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Template=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(42186),a=n(35155),s=n(86858);(0,a.registerTemplateEngine)("default",{compile:e=>(0,s.normalizeTemplateElement)(e),render:(e,t,n)=>e.clone()}),(0,a.setTemplateEngine)("default");class l extends r.TemplateBase{constructor(e){super(),this._element=e}_renderCore(e){const{transclude:t}=e;return t||this._compiledTemplate||(this._compiledTemplate=(0,a.getCurrentTemplateEngine)().compile(this._element)),(0,o.default)("<div>").append(t?this._element:(0,a.getCurrentTemplateEngine)().render(this._compiledTemplate,e.model,e.index)).contents()}source(){return(0,o.default)(this._element).clone()}}t.Template=l},31292:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.renderedCallbacks=t.TemplateBase=void 0;var i=n(18029),o=c(n(64960)),r=c(n(87129)),a=c(n(64553)),s=c(n(84718)),l=n(86858);function c(e){return e&&e.__esModule?e:{default:e}}const u=t.renderedCallbacks=(0,s.default)({syncStrategy:!0});t.TemplateBase=class{render(e){e=e||{};const{onRendered:t}=e;let n;return delete e.onRendered,n=e.renovated&&e.transclude&&this._element?(0,a.default)("<div>").append(this._element).contents():this._renderCore(e),this._ensureResultInContainer(n,e.container),u.fire(n,e.container),t&&t(),n}_ensureResultInContainer(e,t){if(!t)return;const n=(0,a.default)(t),r=(0,l.contains)(n.get(0),e.get(0));if(n.append(e),r)return;(0,l.contains)(o.default.getBody(),n.get(0))&&(0,i.triggerShownEvent)(e)}_renderCore(){throw r.default.Error("E0001")}}},70785:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentTemplateEngine=function(){return s},t.registerTemplateEngine=function(e,t){a[e]=t},t.setTemplateEngine=function(e){if((0,r.isString)(e)){if(s=a[e],!s)throw o.default.Error("E0020",e)}else s=e};var i,o=(i=n(87129))&&i.__esModule?i:{default:i},r=n(11528);const a={};let s},55594:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.dateUtilsTs=void 0;t.dateUtilsTs={addOffsets:(e,t)=>{const n=t.reduce(((e,t)=>e+t),e.getTime());return new Date(n)},isValidDate:e=>Boolean(e&&!isNaN(new Date(e).valueOf()))}},14136:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Ajax=void 0;var i=l(n(35688)),o=n(28248),r=n(87739),a=l(n(89656)),s=n(11528);function l(e){return e&&e.__esModule?e:{default:e}}const c=(0,n(3104).getWindow)(),u="success",d="error";t.Ajax=(0,a.default)({sendRequest:function(e){const t=i.default.getXhr(),n=new r.Deferred,a=n.promise(),l=!(0,s.isDefined)(e.async)||e.async,{dataType:h}=e,f=e.timeout||0;let p;e.crossDomain=(0,o.isCrossDomain)(e.url);const g="jsonp"===h||"script"===h;void 0===e.cache&&(e.cache=!g);const _=(0,o.getJsonpCallbackName)(e),m=(0,o.getRequestHeaders)(e),v=(0,o.getRequestOptions)(e,m),{url:b}=v,{parameters:y}=v;if(_&&(c[_]=function(e){n.resolve(e,u,t)}),e.crossDomain&&g){const e=function(){n.reject(t,d)},i=function(){"jsonp"!==h&&n.resolve(null,u,t)};return(0,o.evalCrossDomainScript)(b).then(i,e),a}if(e.crossDomain&&!("withCredentials"in t))return n.reject(t,d),a;if(t.open((0,o.getMethod)(e),b,l,e.username,e.password),l&&(t.timeout=f,p=function(e,t){return e&&setTimeout((function(){t.customStatus="timeout",t.abort()}),e)}(f,t)),t.onreadystatechange=function(e){var i;4===t.readyState&&(clearTimeout(p),(i=t.status)>=200&&i<300?function(e){return 204!==e}(t.status)?function(e,t,n){const i=function(e){return e.responseType&&"text"!==e.responseType||"string"!=typeof e.responseText?e.response:e.responseText}(t);switch(n){case"jsonp":(0,o.evalScript)(i);break;case"script":(0,o.evalScript)(i),e.resolve(i,u,t);break;case"json":try{e.resolve(JSON.parse(i),u,t)}catch(n){e.reject(t,"parsererror",n)}break;default:e.resolve(i,u,t)}}(n,t,h):n.resolve(null,"nocontent",t):n.reject(t,t.customStatus||d))},e.upload&&(t.upload.onprogress=e.upload.onprogress,t.upload.onloadstart=e.upload.onloadstart,t.upload.onabort=e.upload.onabort),e.xhrFields)for(const n in e.xhrFields)t[n]=e.xhrFields[n];"arraybuffer"===e.responseType&&(t.responseType=e.responseType);for(const e in m)Object.prototype.hasOwnProperty.call(m,e)&&(0,s.isDefined)(m[e])&&t.setRequestHeader(e,m[e]);return e.beforeSend&&e.beforeSend(t),t.send(y),a.abort=function(){t.abort()},a}})},42202:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getJsonpCallbackName=t.getAcceptHeader=t.evalScript=t.evalCrossDomainScript=void 0,t.getMethod=d,t.isCrossDomain=t.getRequestOptions=t.getRequestHeaders=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i},r=n(52576),a=n(3104);const s=(0,a.getWindow)(),l=function(e){const t=o.default.createElement("script");for(const n in e)t[n]=e[n];return t},c=function(e){return o.default.getHead().appendChild(e)},u=function(e){e.parentNode.removeChild(e)};t.evalScript=function(e){const t=l({text:e});c(t),u(t)};function d(e){return(e.method||"GET").toUpperCase()}t.evalCrossDomainScript=function(e){const t=l({src:e});return new Promise(((e,n)=>{const i={load:e,error:n},r=function(e){i[e.type](),u(t)};for(const e in i)o.default.listen(t,e,r);c(t)}))};const h=function(e){const t=e.dataType||"*",n="text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",i={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",jsonp:n,script:n};return(0,r.extendFromObject)(i,e.accepts,!0),i[t]?i[t]+("*"!==t?", */*; q=0.01":""):i["*"]};t.getAcceptHeader=h;t.getRequestHeaders=function(e){const t=e.headers||{};return t["Content-Type"]=t["Content-Type"]||function(e){let t;return e.data&&!e.upload&&"GET"!==d(e)&&(t="application/x-www-form-urlencoded;charset=utf-8"),e.contentType||t}(e),t.Accept=t.Accept||h(e),e.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t};t.getJsonpCallbackName=function(e){if("jsonp"===e.dataType){const t=Math.random().toString().replace(/\D/g,""),n=e.jsonpCallback||`dxCallback${Date.now()}_${t}`,i=e.jsonp||"callback";return e.data=e.data||{},e.data[i]=n,n}};t.getRequestOptions=function(e,t){let n=e.data;const i="string"==typeof n;let o=e.url||s.location.href;return i||e.cache||(n=n||{},n._=Date.now()),n&&!e.upload&&(i||(n=function(e){const t=[];for(const n in e){let i=e[n];void 0!==i&&(null===i&&(i=""),"function"==typeof i&&(i=i()),t.push(`${encodeURIComponent(n)}=${encodeURIComponent(i)}`))}return t.join("&")}(n)),"GET"===d(e)?(""!==n&&(o+=(o.indexOf("?")>-1?"&":"?")+n),n=null):t["Content-Type"]&&t["Content-Type"].indexOf("application/x-www-form-urlencoded")>-1&&(n=n.replace(/%20/g,"+"))),{url:o,parameters:n}};t.isCrossDomain=function(e){if(!(0,a.hasWindow)())return!0;let t=!1;const n=o.default.createElement("a"),i=o.default.createElement("a");n.href=s.location.href;try{i.href=e,i.href=i.href,t=`${n.protocol}//${n.host}`!=`${i.protocol}//${i.host}`}catch(e){t=!0}return t}},28601:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.wrapToArray=t.removeDuplicates=t.normalizeIndexes=t.groupBy=t.getUniqueValues=t.getIntersection=void 0;var i,o=(i=n(66636))&&i.__esModule?i:{default:i},r=n(22263),a=n(11528);function s(e){return e.reduce(((e,t)=>{const n=(e.get(t)??0)+1;return e.set(t,n),e}),new Map)}t.wrapToArray=function(e){return Array.isArray(e)?e:[e]};t.getUniqueValues=function(e){return[...new Set(e)]};t.getIntersection=function(e,t){const n=s(t);return e.filter((e=>{const t=n.get(e);return t&&n.set(e,t-1),t}))};t.removeDuplicates=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=s(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return e.filter((e=>{const n=t.get(e);return n&&t.set(e,n-1),!n}))};t.normalizeIndexes=function(e,t,n,i){const s={},{useLegacyVisibleIndex:l}=(0,o.default)();let c=0;const u=e=>!(0,a.isDefined)(e[t])&&(!i||i(e));e.forEach((e=>{const i=e[t];i>=0?(s[i]=s[i]||[],e===n?s[i].unshift(e):s[i].push(e)):e[t]=void 0})),l||e.forEach((e=>{if(u(e)){for(;s[c];)c++;s[c]=[e],c++}})),c=0,(0,r.orderEach)(s,(function(e,n){n.forEach((n=>{e>=0&&(n[t]=c++)}))})),l&&e.forEach((e=>{u(e)&&(e[t]=c++)}))};t.groupBy=(e,t)=>e.reduce(((e,n)=>{const i=t(n);return e[i]=e[i]??[],e[i].push(n),e}),{})},33436:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0;var i=n(52576);const o=(0,n(3104).getNavigator)(),r=/(webkit)[ /]([\w.]+)/,a=/(mozilla)(?:.*? rv:([\w.]+))/,s=e=>{e=e.toLowerCase();const t={},n=r.exec(e)||e.indexOf("compatible")<0&&a.exec(e)||[];let i=n[1],o=n[2];return"webkit"===i&&(t.webkit=!0,e.indexOf("chrome")>=0||e.indexOf("crios")>=0?(i="chrome",o=/(?:chrome|crios)\/(\d+\.\d+)/.exec(e),o=o&&o[1]):e.indexOf("fxios")>=0?(i="mozilla",o=/fxios\/(\d+\.\d+)/.exec(e),o=o&&o[1]):e.indexOf("safari")>=0&&/version|phantomjs/.test(e)?(i="safari",o=/(?:version|phantomjs)\/([0-9.]+)/.exec(e),o=o&&o[1]):(i="unknown",o=/applewebkit\/([0-9.]+)/.exec(e),o=o&&o[1])),i&&(t[i]=!0,t.version=o),t};t.browser=(0,i.extend)({_fromUA:s},s(o.userAgent))},58060:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.callOnce=void 0;t.callOnce=function(e){let t,n=function(){return t=e.apply(this,arguments),n=function(){return t},t};return function(){return n.apply(this,arguments)}}},63172:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Callbacks=void 0;const n=function(e){this._options=e||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};n.prototype._fireCore=function(e,t){const n=this._firingIndexes,i=this._list,{stopOnFalse:o}=this._options,r=n.length;for(n[r]=0;n[r]<i.length;n[r]++){if(!1===i[n[r]].apply(e,t)&&o)break}n.pop()},n.prototype.add=function(e){return"function"!=typeof e||this._options.unique&&this.has(e)||this._list.push(e),this},n.prototype.remove=function(e){const t=this._list,n=this._firingIndexes,i=t.indexOf(e);if(i>-1&&(t.splice(i,1),this._firing&&n.length))for(let e=0;e<n.length;e++)i<=n[e]&&n[e]--;return this},n.prototype.has=function(e){const t=this._list;return e?t.indexOf(e)>-1:!!t.length},n.prototype.empty=function(e){return this._list=[],this},n.prototype.fireWith=function(e,t){const n=this._queue;if(t=(t=t||[]).slice?t.slice():t,this._options.syncStrategy)this._firing=!0,this._fireCore(e,t);else{if(n.push([e,t]),this._firing)return;for(this._firing=!0;n.length;){const e=n.shift();this._fireCore(e[0],e[1])}}return this._firing=!1,this._fired=!0,this},n.prototype.fire=function(){this.fireWith(this,arguments)},n.prototype.fired=function(){return this._fired};const i=function(e){return new n(e)};t.Callbacks=i;t.default=i},39315:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.uiLayerInitialized=t.splitPair=t.pairToObject=t.normalizeKey=t.noop=t.grep=t.getKeyHash=t.findBestMatches=t.executeAsync=t.escapeRegExp=t.equalByValue=t.ensureDefined=t.denormalizeKey=t.deferUpdater=t.deferUpdate=t.deferRenderer=t.deferRender=t.default=t.asyncNoop=t.applyServerDecimalSeparator=void 0;var i=c(n(66636)),o=c(n(19427)),r=n(31e3),a=n(87739),s=n(21274),l=n(11528);function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},u.apply(null,arguments)}t.uiLayerInitialized=new a.Deferred;const d=function(e,t){return(0,l.isDefined)(e)?e:t};t.ensureDefined=d;const h=function(e,t){const n=new a.Deferred,i=t||this,o={promise:n.promise(),abort(){clearTimeout(r),n.rejectWith(i)}},r=(arguments[2]||setTimeout)((function(){const t=e.call(i);t&&t.done&&(0,l.isFunction)(t.done)?t.done((function(){n.resolveWith(i)})):n.resolveWith(i)}),"number"==typeof t?t:0);return o};t.executeAsync=h;const f=[],p=[],g=[];let _;const m=function(e,t,n){if(_&&_!==e)return f.push(t),p.push(e),n=n||new a.Deferred,g.push(n),n;const i=_,o=g.length;_=e;let r=t();return r||(g.length>o?r=a.when.apply(this,g.slice(o)):n&&n.resolve()),_=i,n&&r&&r.done&&r.done(n.resolve).fail(n.reject),!_&&f.length&&("render"===p.shift()?v:b)(f.shift(),g.shift()),r||(0,a.when)()},v=function(e,t){return m("render",e,t)};t.deferRender=v;const b=function(e,t){return m("update",e,t)};t.deferUpdate=b;const y=function(e){return function(){const t=this;return m("render",(function(){return e.call(t)}))}};t.deferRenderer=y;const x=function(e){return function(){const t=this;return m("update",(function(){return e.call(t)}))}};t.deferUpdater=x;const C=(e,t,n)=>{const i=[];let o=0;return(0,s.each)(t,((t,r)=>{let a=0;const l=n?n(r):r;(0,s.each)(e,((e,t)=>{const n=l[e];if(void 0!==n){if(!S(n,t))return a=-1,!1;a++}})),a<o||(a>o&&(i.length=0,o=a),i.push(r))})),i};t.findBestMatches=C;const S=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){let n=!1;return(0,s.each)(e,((e,i)=>{if(i!==t[e])return n=!0,!1})),!n}return e===t},w=function(e){switch((0,l.type)(e)){case"string":return e.split(/\s+/,2);case"object":return[e.x??e.h,e.y??e.v];case"number":return[e];case"array":return e;default:return null}};t.splitPair=w;const E=function(e){let t=(0,l.isString)(e)?e:e.toString();const n=t.match(/[^a-zA-Z0-9_]/g);return n&&(0,s.each)(n,((e,n)=>{t=t.replace(n,`__${n.charCodeAt()}__`)})),t};t.normalizeKey=E;const T=function(e){const t=e.match(/__\d+__/g);return t&&t.forEach((t=>{const n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))})),e};t.denormalizeKey=T;const A=function(e,t){const n=w(e);let i=t?parseFloat(n&&n[0]):parseInt(n&&n[0],10),o=t?parseFloat(n&&n[1]):parseInt(n&&n[1],10);return isFinite(i)||(i=0),isFinite(o)||(o=i),{h:i,v:o}};t.pairToObject=A;const O=function(e){if(e instanceof o.default)return e.toString();if((0,l.isObject)(e)||Array.isArray(e))try{const t=JSON.stringify(e);return"{}"===t?e:t}catch(t){return e}return e};t.getKeyHash=O;const k=function(e){return e.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")};t.escapeRegExp=k;const D=function(e){const t=(0,i.default)().serverDecimalSeparator;return(0,l.isDefined)(e)&&(e=e.toString().replace(".",t)),e};t.applyServerDecimalSeparator=D;const L=function(){};t.noop=L;const P=function(){return(new a.Deferred).resolve().promise()};t.asyncNoop=P;const M=function(e,t,n){const i=[];let o;const r=!n;for(let n=0;n<e.length;n++)o=!!t(e[n],n),o===r&&i.push(e[n]);return i};t.grep=M;const R={maxDepth:3,strict:!0},I=(e,t,n,i)=>{const{strict:o,maxDepth:a}=i,s=(0,r.toComparable)(e,!0),c=(0,r.toComparable)(t,!0);switch(!0){case o?s===c:s==c:case n>=a:return!0;case(0,l.isObject)(s)&&(0,l.isObject)(c):return((e,t,n,i)=>{const o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;const a=new Set(r);return!o.some((o=>!a.has(o)||!I(e[o],t[o],n+1,i)))})(s,c,n,i);case Array.isArray(s)&&Array.isArray(c):return((e,t,n,i)=>e.length===t.length&&!e.some(((e,o)=>!I(e,t[o],n+1,u({},i,{strict:!0})))))(s,c,n,i);default:return!1}},B=function(e,t){const n=u({},R,arguments.length>2&&void 0!==arguments[2]?arguments[2]:R);return I(e,t,0,n)};t.equalByValue=B;t.default={ensureDefined:d,executeAsync:h,deferRender:v,deferUpdate:b,deferRenderer:y,deferUpdater:x,findBestMatches:C,splitPair:w,normalizeKey:E,denormalizeKey:T,pairToObject:A,getKeyHash:O,escapeRegExp:k,applyServerDecimalSeparator:D,noop:L,asyncNoop:P,grep:M,equalByValue:B}},90834:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.equals=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i},r=n(31e3),a=n(11528);t.equals=function(e,t){if(e=(0,r.toComparable)(e,!0),t=(0,r.toComparable)(t,!0),e&&t&&(0,a.isRenderer)(e)&&(0,a.isRenderer)(t))return t.is(e);return!(e==e||t==t)||(0===e&&0===t?function(e,t){return 1/e==1/t}(e,t):!(null!==e&&"object"==typeof e&&!o.default.isElementNode(e))&&e===t)}},35005:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.default=t.debug=void 0;var i=n(11528);const o=function(){},r=function(e){return"undefined"!=typeof console&&(0,i.isFunction)(console[e])?console[e].bind(console):o},a=t.logger={log:r("log"),info:r("info"),warn:r("warn"),error:r("error")},s=t.debug=function(){function e(e,t){if(!e)throw new Error(t)}return{assert:e,assertParam:function(t,n){e(null!=t,n)}}}();t.default={logger:a,debug:s}},93142:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.toComparable=t.getPathParts=t.compileSetter=t.compileGetter=void 0;var i=c(n(55620)),o=c(n(87129)),r=n(21274),a=n(22263),s=n(11528),l=c(n(40216));function c(e){return e&&e.__esModule?e:{default:e}}const u=l.default.unwrap,{isWrapped:d}=l.default,{assign:h}=l.default,f=function(e){return(t=e,t.replace(/\[/g,".").replace(/\]/g,"")).split(".");var t};t.getPathParts=f;const p=function(e,t,n,i){if("this"===t)throw new o.default.Error("E4016");const r=e[t];i.unwrapObservables&&d(r)?h(r,n):e[t]=n},g=function(e){return(e=e||{}).unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e};function _(e,t){return t.unwrapObservables?u(e):e}const m=function(e){if(arguments.length>1&&(e=[].slice.call(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){const t=f(e);return function(e,n){const i=(n=g(n)).functionsAsIs,o="defaultValue"in n;let r=_(e,n);for(let e=0;e<t.length;e++){if(!r){if(null==r&&o)return n.defaultValue;break}const a=t[e];if(o&&(0,s.isObject)(r)&&!(a in r))return n.defaultValue;let l=_(r[a],n);!i&&(0,s.isFunction)(l)&&(l=l.call(r)),r=l}return r}}return Array.isArray(e)?function(e){const t={};for(let n=0,i=e.length;n<i;n++){const i=e[n];t[i]=m(i)}return function(e,n){let i;return(0,r.each)(t,(function(t){const o=this(e,n);if(void 0===o)return;let r=i||(i={});const a=t.split("."),s=a.length-1;for(let e=0;e<s;e++){const t=a[e];t in r||(r[t]={}),r=r[t]}r[a[s]]=o})),i}}(e):(0,s.isFunction)(e)?e:void 0};function v(e,t){return null!=t&&t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()}function b(e,t){return null!=t&&t.locale?e.toLocaleUpperCase(t.locale):e.toUpperCase()}t.compileGetter=m;const y=function(e,t,n,i){if((0,s.isDefined)(n))return n;const o={};return p(e,t,o,i),o};t.compileSetter=function(e){const t=(e=f(e||"this")).length-1;return function(n,i,o){let r=_(n,o=g(o));e.forEach((function(e,n){let l=function(e,t,n){return n=n||{},_("this"===t?e:e[t],n)}(r,e,o);const c=!o.functionsAsIs&&(0,s.isFunction)(l)&&!d(l);n===t?o.merge&&(0,s.isPlainObject)(i)&&(!(0,s.isDefined)(l)||(0,s.isPlainObject)(l))?(l=y(r,e,l,o),(0,a.deepExtendArraySafe)(l,i,!1,!0)):c?r[e](i):p(r,e,i,o):(l=y(r,e,l,o),c&&(l=l.call(r)),r=l)}))}};t.toComparable=function(e,t){var n;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Date)return e.getTime();const r=null==o||null===(n=o.collatorOptions)||void 0===n?void 0:n.sensitivity;if(e&&e instanceof i.default&&e.valueOf)e=e.valueOf();else if("string"==typeof e&&("base"===r||"case"===r)){const t=/[\u0300-\u036f]/g;"base"===r&&(e=v(e,o)),e=e.normalize("NFD").replace(t,"")}if("string"==typeof e&&!(t||"case"===r||"variant"===r)){var a;const t=null==o||null===(a=o.locale)||void 0===a?void 0:a.toLowerCase();return(t&&!!["hy","el"].find((e=>t===e||t.startsWith(`${e}-`)))?b:v)(e,o)}return e}},66570:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.dateUtils=void 0;var i,o=(i=n(71051))&&i.__esModule?i:{default:i},r=n(53124),a=n(21274),s=n(50254),l=n(11528),c=n(24491);const u=["millisecond","second","minute","hour","day","week","month","quarter","year"],d=function(e){let t,n,i;const o=["millisecond","second","minute","hour","day","month","year"],r={};for(t=o.length-1;t>=0;t--)i=o[t],n=Math.floor(e/(0,c.toMilliseconds)(i)),n>0&&(r[`${i}s`]=n,e-=h(i,n));return r};function h(e,t){return(0,c.toMilliseconds)(e)*t}function f(e){let t,n=-1;return(0,l.isString)(e)?e:(0,l.isObject)(e)?((0,a.each)(e,(function(e,i){for(t=0;t<u.length;t++)i&&(e===`${u[t]}s`||e===u[t])&&n<t&&(n=t)})),u[n]):""}const p={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"};const g=function(e){return Math.floor(e/3)},_=function(e){return 3*g(e)};function m(e,t,n,i){e=new Date(e.getTime());const o=new Date(e.getTime());let r,a;const s=f(t);switch(s){case"second":e=new Date(1e3*Math.floor(o.getTime()/1e3));break;case"minute":e=new Date(6e4*Math.floor(o.getTime()/6e4));break;case"hour":e=new Date(36e5*Math.floor(o.getTime()/36e5));break;case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0,0,0,0);break;case"week":(e=O(e,i||0)).setHours(0,0,0,0);break;case"quarter":r=_(e.getMonth()),a=e.getMonth(),e.setDate(1),e.setHours(0,0,0,0),a!==r&&e.setMonth(r)}return n&&"hour"!==s&&"minute"!==s&&"second"!==s&&R(o,e),e}function v(e){return m(e,"day")}function b(e,t,n){const i=new Date(e.getTime()),o=(0,l.isString)(t)?C(t.toLowerCase()):(0,l.isNumeric)(t)?d(t):t;return o.years&&i.setFullYear(i.getFullYear()+o.years*n),o.quarters&&i.setMonth(i.getMonth()+3*o.quarters*n),o.months&&i.setMonth(i.getMonth()+o.months*n),o.weeks&&i.setDate(i.getDate()+7*o.weeks*n),o.days&&i.setDate(i.getDate()+o.days*n),o.hours&&i.setTime(i.getTime()+36e5*o.hours*n),o.minutes&&i.setTime(i.getTime()+6e4*o.minutes*n),o.seconds&&i.setTime(i.getTime()+1e3*o.seconds*n),o.milliseconds&&i.setTime(i.getTime()+o.milliseconds*n),i}const y=function(e,t,n){const i=n?-1:1;return(0,l.isDate)(e)?b(e,t,i):(0,s.adjust)(e+t*i,t)};function x(e){return B(e.getFullYear(),e.getMonth()+1,0).getDate()}function C(e){const t={};switch(e){case"year":t.years=1;break;case"month":t.months=1;break;case"quarter":t.months=3;break;case"week":t.weeks=1;break;case"day":t.days=1;break;case"hour":t.hours=1;break;case"minute":t.minutes=1;break;case"second":t.seconds=1;break;case"millisecond":t.milliseconds=1}return t}function S(e,t){return w(e,t)&&e.getDate()===t.getDate()}function w(e,t){return E(e,t)&&e.getMonth()===t.getMonth()}function E(e,t){return e&&t&&e.getFullYear()===t.getFullYear()}function T(e){return e&&e.getFullYear()-e.getFullYear()%100}function A(e){return e&&e.getFullYear()-e.getFullYear()%10}function O(e,t){const n=(e.getDay()-t+7)%7,i=new Date(e);return i.setDate(e.getDate()-n),i}function k(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())}function D(e){return new Date(e,0,1)}function L(e){return new Date(e,11,31)}function P(e,t){let n=e.getDay()-t+1;return n<=0&&(n+=7),n}function M(e,t,n){let i=e;return(0,l.isDefined)(e)?((0,l.isDefined)(t)&&e<t&&(i=t),(0,l.isDefined)(n)&&e>n&&(i=n),i):e}function R(e,t){if(!(0,l.isDefined)(e))return;const n=t.getHours()-e.getHours();if(0===n)return;const i=1===n||-23===n?-1:1,o=new Date(t.getTime()+36e5*i);(i>0||o.getDate()===t.getDate())&&t.setTime(o.getTime())}function I(e,t){return 60*(t.getTimezoneOffset()-e.getTimezoneOffset())*1e3}const B=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];const o=new Date(e,...n);return o.setFullYear(e),o},V=t.dateUtils={dateUnitIntervals:u,convertMillisecondsToDateUnits:d,dateToMilliseconds:function(e){let t=0;return(0,l.isObject)(e)&&(0,a.each)(e,(function(e,n){t+=h(e.substr(0,e.length-1),n)})),(0,l.isString)(e)&&(t=h(e,1)),t},getNextDateUnit:function(e,t){switch(f(e)){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return t?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":case"year":return"year";default:return 0}},convertDateUnitToMilliseconds:h,getDateUnitInterval:f,getDateFormatByTickInterval:function(e){return p[f(e)]||""},getDatesDifferences:function(e,t){let n=0;const i={year:e.getFullYear()!==t.getFullYear(),month:e.getMonth()!==t.getMonth(),day:e.getDate()!==t.getDate(),hour:e.getHours()!==t.getHours(),minute:e.getMinutes()!==t.getMinutes(),second:e.getSeconds()!==t.getSeconds(),millisecond:e.getMilliseconds()!==t.getMilliseconds()};return(0,a.each)(i,(function(e,t){t&&n++})),0===n&&0!==I(e,t)&&(i.hour=!0,n++),i.count=n,i},correctDateWithUnitBeginning:m,trimTime:v,setToDayEnd:function(e){const t=v(e);return t.setDate(t.getDate()+1),new Date(t.getTime()-1)},roundDateByStartDayHour:function(e,t){const n=this.dateTimeFromDecimal(t),i=new Date(e);return(e.getHours()===n.hours&&e.getMinutes()<n.minutes||e.getHours()<n.hours)&&i.setHours(n.hours,n.minutes,0,0),i},dateTimeFromDecimal:function(e){return{hours:Math.floor(e),minutes:e%1*60}},addDateInterval:b,addInterval:y,getSequenceByInterval:function(e,t,n){const i=[];let o;for(i.push((0,l.isDate)(e)?new Date(e.getTime()):e),o=e;o<t;)o=y(o,n),i.push(o);return i},getDateIntervalByString:C,sameHoursAndMinutes:function(e,t){return e&&t&&e.getHours()===t.getHours()&&e.getMinutes()===t.getMinutes()},sameDate:S,sameMonthAndYear:w,sameMonth:w,sameYear:E,sameDecade:function(e,t){if(!(0,l.isDefined)(e)||!(0,l.isDefined)(t))return;const n=e.getFullYear()-e.getFullYear()%10,i=t.getFullYear()-t.getFullYear()%10;return e&&t&&n===i},sameCentury:function(e,t){if(!(0,l.isDefined)(e)||!(0,l.isDefined)(t))return;const n=e.getFullYear()-e.getFullYear()%100,i=t.getFullYear()-t.getFullYear()%100;return e&&t&&n===i},sameView:function(e,t,n){return V[(0,r.camelize)(`same ${e}`)](t,n)},sameDatesArrays:(e,t)=>!(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)&&e.every(((e,n)=>{const i=t[n];return![e,i].some((e=>null!==e&&!(e instanceof Date)))&&(e instanceof Date&&i instanceof Date?S(e,i):e===i)})),getDifferenceInMonth:function(e){let t=1;return"year"===e&&(t=12),"decade"===e&&(t=120),"century"===e&&(t=1200),t},getDifferenceInMonthForCells:function(e){let t=1;return"decade"===e&&(t=12),"century"===e&&(t=120),t},getFirstYearInDecade:A,getFirstDecadeInCentury:T,getShortDateFormat:function(){return"yyyy/MM/dd"},getViewFirstCellDate:function(e,t){return"month"===e?B(t.getFullYear(),t.getMonth(),1):"year"===e?B(t.getFullYear(),0,t.getDate()):"decade"===e?B(A(t),t.getMonth(),t.getDate()):"century"===e?B(T(t),t.getMonth(),t.getDate()):void 0},getViewLastCellDate:function(e,t){return"month"===e?B(t.getFullYear(),t.getMonth(),x(t)):"year"===e?B(t.getFullYear(),11,t.getDate()):"decade"===e?B(A(t)+9,t.getMonth(),t.getDate()):"century"===e?B(T(t)+90,t.getMonth(),t.getDate()):void 0},getViewDown:function(e){switch(e){case"century":return"decade";case"decade":return"year";case"year":return"month"}},getViewUp:function(e){switch(e){case"month":return"year";case"year":return"decade";case"decade":return"century"}},getLastMonthDay:x,getLastMonthDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(0,l.isDefined)(e))return;const n=new Date(e.getTime()),i=n.getMonth()+t;return n.setMonth(i),B(n.getFullYear(),i+1,0)},getFirstMonthDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(0,l.isDefined)(e))return;const n=new Date(e.getTime()),i=n.getMonth()+t;return n.setMonth(i),B(n.getFullYear(),i,1)},getFirstWeekDate:O,getWeekNumber:function e(t,n,i){const o=P(D(t.getFullYear()),n),r=P(L(t.getFullYear()),n),a=7-o+1;let s=Math.ceil((function(e){const t=k(e)-k(D(e.getFullYear()));return 1+Math.floor(t/(0,c.toMilliseconds)("day"))}(t)-a)/7);switch(i){case"fullWeek":if(7===a&&s++,0===s){return e(L(t.getFullYear()-1),n,i)}return s;case"firstDay":a>0&&s++;return(s>52&&!(7===o||7===r)||54===s)&&(s=1),s;case"firstFourDays":a>3&&s++;if(s>52&&!(4===o||4===r)&&(s=1),0===s){return e(L(t.getFullYear()-1),n,i)}return s}},normalizeDateByWeek:function(e,t){const n=V.getDatesInterval(e,t,"day");let i=new Date(e);return n>=6&&(i=new Date(i.setDate(i.getDate()+7))),i},getQuarter:g,getFirstQuarterMonth:_,dateInRange:function(e,t,n,i){return"date"===i&&(t=t&&V.correctDateWithUnitBeginning(t,"day"),n=n&&V.correctDateWithUnitBeginning(n,"day"),e=e&&V.correctDateWithUnitBeginning(e,"day")),M(e,t,n)===e},intervalsOverlap:function(e){const{firstMin:t,firstMax:n,secondMin:i,secondMax:o}=e;return t<=i&&i<=n||t>i&&t<o||t<o&&n>o},roundToHour:function(e){const t=new Date(e.getTime());return t.setHours(t.getHours()+1),t.setMinutes(0),t},normalizeDate:M,getViewMinBoundaryDate:function(e,t){const n=B(t.getFullYear(),t.getMonth(),1);return"month"===e?n:(n.setMonth(0),"year"===e||("decade"===e&&n.setFullYear(A(t)),"century"===e&&n.setFullYear(T(t))),n)},getViewMaxBoundaryDate:function(e,t){const n=new Date(t);return n.setDate(x(t)),"month"===e?n:(n.setMonth(11),n.setDate(x(n)),"year"===e||("decade"===e&&n.setFullYear(A(t)+9),"century"===e&&n.setFullYear(T(t)+99)),n)},fixTimezoneGap:R,getTimezonesDifference:I,makeDate:function(e){return new Date(e)},getDatesInterval:function(e,t,n){const i=t.getTime()-e.getTime(),o=(0,c.toMilliseconds)(n)||1;return Math.floor(i/o)},getDatesOfInterval:function(e,t,n){const i=[];let o=new Date(e.getTime());for(;o<t;)i.push(new Date(o.getTime())),o=this.addInterval(o,n);return i},createDateWithFullYear:B,getMachineTimezoneName:()=>"undefined"!=typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,getRangesByDates:e=>{const t=e.map((e=>m(e,"day").getTime())).sort(((e,t)=>e-t)),n=(0,c.toMilliseconds)("day"),i=[];let r=t[0];for(let e=1;e<=t.length;++e){const a=t[e];if(a-t[e-1]>n||e===t.length){const n=(r===t[e-1]?[r]:[r,t[e-1]]).map((e=>o.default.deserializeDate(e)));i.push(n),r=a}}return i}}},62897:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.dateSerialization=void 0;var i=s(n(81179)),o=n(86670),r=s(n(66636)),a=n(11528);function s(e){return e&&e.__esModule?e:{default:e}}const l="number",c="yyyy/MM/dd",u=/^(\d{4,})(-)?(\d{2})(-)?(\d{2})(?:T(\d{2})(:)?(\d{2})?(:)?(\d{2}(?:\.(\d{1,3})\d*)?)?)?(Z|([+-])(\d{2})(:)?(\d{2})?)?$/,d=/^(\d{2}):(\d{2})(:(\d{2}))?$/,h=["","yyyy","","MM","","dd","THH","","mm","","ss",".SSS"],f=/^(\d{4})\/(\d{2})\/(\d{2})$/,p=function(e,t){let n;return(0,a.isString)(e)&&!t&&(n=function(e){let t=e.match(u);if(!t)return t=e.match(d),t?new Date(0,0,0,g(t[1]),g(t[2]),g(t[4])):void 0;const n=g(t[1]),i=--t[3],o=t[5];let r=0,a=0;const s=e=>(n<100&&e.setFullYear(n),e);r=g(t[14]),a=g(t[16]),"-"===t[13]&&(r=-r,a=-a);const l=g(t[6])-r,c=g(t[8])-a,h=g(t[10]),f=(p=t[11],g(p=p||"")*10**(3-p.length));var p;if(t[12])return s(new Date(Date.UTC(n,i,o,l,c,h,f)));return s(new Date(n,i,o,l,c,h,f))}(e)),n||function(e){const t=_(e)===c,n=!(0,a.isDate)(e)&&Date.parse(e);if(!n&&t){const t=e.match(f);if(t){const e=new Date(g(t[1]),g(t[2]),g(t[3]));return e.setFullYear(g(t[1])),e.setMonth(g(t[2])-1),e.setDate(g(t[3])),e}}return(0,a.isNumeric)(n)?new Date(n):e}(e)};function g(e){return+e||0}const _=function(e){if("number"==typeof e)return l;if((0,a.isString)(e)){let t;return(0,r.default)().forceIsoDateParsing&&(t=function(e){let t=e.match(u),n="";if(!t)return t=e.match(d),t?t[3]?"HH:mm:ss":"HH:mm":void 0;for(let e=1;e<h.length;e++)t[e]&&(n+=h[e]||t[e]);return"Z"===t[12]&&(n+="'Z'"),t[14]&&(t[15]?n+="xxx":t[16]?n+="xx":n+="x"),n}(e)),t||(e.includes(":")?"yyyy/MM/dd HH:mm:ss":c)}return e?null:void 0};t.dateSerialization={dateParser:p,deserializeDate:function(e){return"number"==typeof e?new Date(e):p(e,!(0,r.default)().forceIsoDateParsing)},serializeDate:function(e,t){return t?(0,a.isDate)(e)?t===l?e&&e.valueOf?e.valueOf():null:(0,o.getFormatter)(t,i.default)(e):null:e},getDateSerializationFormat:_}},77117:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=function(){return new l},t.fromPromise=c,t.setStrategy=function(e){l=e.Deferred,u=e.when},t.when=function(){return u.apply(this,arguments)};var i,o=(i=n(84718))&&i.__esModule?i:{default:i},r=n(52576),a=n(11528);const s=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}];let l=function(){const e=this;this._state="pending",this._promise={},s.forEach(function(t){const n=t.method;this[`${n}Callbacks`]=(0,o.default)(),this[n]=function(){return this[`${n}With`](this._promise,arguments)}.bind(this),this._promise[t.handler]=function(t){if(!t)return this;const i=e[`${n}Callbacks`];return i.fired()?t.apply(e[`${n}Context`],e[`${n}Args`]):i.add((function(e,n){t.apply(e,n)})),this}}.bind(this)),this._promise.always=function(e){return this.done(e).fail(e)},this._promise.catch=function(e){return this.then(null,e)},this._promise.then=function(e,t){const n=new l;return["done","fail"].forEach(function(i){const o="done"===i?e:t;this[i]((function(){if(!o)return void n["done"===i?"resolve":"reject"].apply(this,arguments);const e=o&&o.apply(this,arguments);(0,a.isDeferred)(e)?e.done(n.resolve).fail(n.reject):(0,a.isPromise)(e)?e.then(n.resolve,n.reject):n.resolve.apply(this,(0,a.isDefined)(e)?[e]:arguments)}))}.bind(this)),n.promise()},this._promise.state=function(){return e._state},this._promise.promise=function(t){return t?(0,r.extend)(t,e._promise):e._promise},this._promise.promise(this)};function c(e,t){if((0,a.isDeferred)(e))return e;if((0,a.isPromise)(e)){const n=new l;return e.then((function(){n.resolveWith.apply(n,[t].concat([[].slice.call(arguments)]))}),(function(){n.rejectWith.apply(n,[t].concat([[].slice.call(arguments)]))})),n}return(new l).resolveWith(t,[e])}s.forEach((function(e){const t=e.method,{state:n}=e;l.prototype[`${t}With`]=function(e,i){const o=this[`${t}Callbacks`];return"pending"===this.state()&&(this[`${t}Args`]=i,this[`${t}Context`]=e,n&&(this._state=n),o.fire(e,i),"pending"!==n&&(this.resolveCallbacks.empty(),this.rejectCallbacks.empty())),this}}));let u=function(){if(1===arguments.length)return c(arguments[0]);const e=[].slice.call(arguments),t=[];let n=0;const i=new l,o=function(o){return function(r){t[o]=this,e[o]=arguments.length>1?[].slice.call(arguments):r,n++,n===e.length&&i.resolveWith(t,e)}};for(let t=0;t<e.length;t++)(0,a.isDeferred)(e[t])?e[t].promise().done(o(t)).fail(i.reject):n++;return n===e.length&&i.resolveWith(t,e),i.promise()}},62142:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.injector=function(e){const t=o.default.inherit(e);let n=t,i=new n(e);const l={},c=function(t,n){(0,a.each)(t,(function(t){(0,s.isFunction)(i[t])?!n&&e[t]||(e[t]=function(){return i[t].apply(e,arguments)}):(n&&(l[t]=e[t]),e[t]=i[t])}))};return c(e,!0),e.inject=function(e){n=n.inherit(e),i=new n,c(e)},e.resetInjection=function(){(0,r.extend)(e,l),n=t,i=new t},e};var i,o=(i=n(55620))&&i.__esModule?i:{default:i},r=n(52576),a=n(21274),s=n(11528)},76400:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resetActiveElement=t.replaceWith=t.normalizeTemplateElement=t.isElementInDom=t.insertBefore=t.extractTemplateMarkup=t.default=t.createTextElementHiddenCopy=t.contains=t.closestCommonParent=t.clipboardText=t.clearSelection=void 0;var i=l(n(64960)),o=l(n(64553)),r=n(21274),a=n(11528),s=n(3104);function l(e){return e&&e.__esModule?e:{default:e}}const c=(0,s.getWindow)(),u=()=>{const e=i.default.getActiveElement();var t;e&&e!==i.default.getBody()&&(null===(t=e.blur)||void 0===t||t.call(e))};t.resetActiveElement=u;const d=()=>{const e=c.getSelection();if(e&&"Caret"!==e.type)if(e.empty)e.empty();else if(e.removeAllRanges)try{e.removeAllRanges()}catch(e){}};t.clearSelection=d;const h=(e,t)=>{const n=(0,o.default)(e),i=(0,o.default)(t);if(n[0]===i[0])return n[0];const r=n.parents(),a=i.parents();for(let e=-Math.min(r.length,a.length);e<0;e++)if(r.get(e)===a.get(e))return r.get(e)};t.closestCommonParent=h;const f=e=>{const t=(e=(0,o.default)(e)).length&&e.filter((function(){const e=(0,o.default)(this);return e.is("script[type]")&&!e.attr("type").includes("script")}));return t.length?t.eq(0).html():(e=(0,o.default)("<div>").append(e)).html()};t.extractTemplateMarkup=f;const p=e=>{let t=(0,o.default)();return(0,a.isDefined)(e)&&(e.nodeType||(0,a.isRenderer)(e))?t=(0,o.default)(e):"object"!=typeof e&&(t=(0,o.default)("<div>").html(e).contents()),1===t.length&&(t.is("script")?t=p(t.html().trim()):t.is("table")&&(t=t.children("tbody").contents())),t};t.normalizeTemplateElement=p;const g=(e,t)=>{const n=e.originalEvent&&e.originalEvent.clipboardData||c.clipboardData;if(!t)return n&&n.getData("Text");n&&n.setData("Text",t)};t.clipboardText=g;const _=(e,t)=>!!t&&((0,a.isWindow)(e)?_(e.document,t):e.contains(t)||_(e,(e=>{if(!e.getRootNode)return;const{host:t}=e.getRootNode();return(0,a.isString)(t)?void 0:t})(t)));t.contains=_;const m=(e,t,n)=>{const i=c.getComputedStyle((0,o.default)(e).get(0)),r=n&&n.includePaddings;return(0,o.default)("<div>").text(t).css({fontStyle:i.fontStyle,fontVariant:i.fontVariant,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFamily:i.fontFamily,letterSpacing:i.letterSpacing,border:i.border,paddingTop:r?i.paddingTop:"",paddingRight:r?i.paddingRight:"",paddingBottom:r?i.paddingBottom:"",paddingLeft:r?i.paddingLeft:"",visibility:"hidden",whiteSpace:"pre",position:"absolute",float:"left"})};t.createTextElementHiddenCopy=m;const v=(e,t)=>(t&&i.default.insertElement(e.parentNode,t,e),e);t.insertBefore=v;const b=(e,t)=>{if(t&&t[0])return t.is(e)?e:((0,r.each)(t,((t,n)=>{v(e[0],n)})),e.remove(),t)};t.replaceWith=b;const y=e=>{const t=null==e?void 0:e.get(0),n=null==t?void 0:t.getRootNode().host;return!!(0,o.default)(n||t).closest((0,s.getWindow)().document).length};t.isElementInDom=y;t.default={resetActiveElement:u,clearSelection:d,closestCommonParent:h,extractTemplateMarkup:f,normalizeTemplateElement:p,clipboardText:g,contains:_,createTextElementHiddenCopy:m,insertBefore:v,replaceWith:b,isElementInDom:y}},40818:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.error=c;var i,o=n(52576),r=n(54497),a=n(1956),s=(i=n(35005))&&i.__esModule?i:{default:i};const l=`https://js.devexpress.com/error/${a.version.split(".").slice(0,2).join("_")}/`;function c(e,t){const n={ERROR_MESSAGES:(0,o.extend)(t,e),Error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){const t=e[0];e=e.slice(1);const n=i(t,e),r=c(t),s=a(t,n);return(0,o.extend)(new Error(s),{__id:t,__details:n,url:r})}(t)},log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=t[0];let r="log";/^E\d+$/.test(o)?r="error":/^W\d+$/.test(o)&&(r="warn"),s.default.logger[r]("log"===r?o:function(e){const t=e[0];return e=e.slice(1),a(t,i(t,e))}(t))}};function i(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),r.format.apply(this,t).replace(/\.*\s*?$/,"")}function a(e,t){const n=null!=e&&e.startsWith("W")?"warning":"error";return r.format.apply(this,["{0} - {1}.\n\nFor additional information on this {2} message, see: {3}",e,t,n,c(e)])}function c(e){return l+e}return n}t.default=c},96298:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.extendFromObject=t.extend=void 0;var i=n(11528);t.extendFromObject=function(e,t,n){e=e||{};for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const o=t[i];i in e&&!n||(e[i]=o)}return e};const o=function(e){let t=1,n=!1;for("boolean"==typeof(e=e||{})&&(n=e,e=arguments[1]||{},t++);t<arguments.length;t++){const r=arguments[t];if(null!=r)for(const t in r){const a=e[t],s=r[t];let l,c=!1;"__proto__"!==t&&"constructor"!==t&&e!==s&&(n&&s&&((0,i.isPlainObject)(s)||(c=Array.isArray(s)))?(l=c?a&&Array.isArray(a)?a:[]:a&&(0,i.isPlainObject)(a)?a:{},e[t]=o(n,l,s)):void 0!==s&&(e[t]=s))}}return e};t.extend=o},25317:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseHTML=t.isTablePart=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i};const r=/<([a-z][^/\0>\x20\t\r\n\f]+)/i,a={default:{tagsCount:0,startTags:"",endTags:""},thead:{tagsCount:1,startTags:"<table>",endTags:"</table>"},td:{tagsCount:3,startTags:"<table><tbody><tr>",endTags:"</tr></tbody></table>"},col:{tagsCount:2,startTags:"<table><colgroup>",endTags:"</colgroup></table>"},tr:{tagsCount:2,startTags:"<table><tbody>",endTags:"</tbody></table>"}};a.tbody=a.colgroup=a.caption=a.tfoot=a.thead,a.th=a.td;t.parseHTML=function(e){if("string"!=typeof e)return null;let t=o.default.createDocumentFragment().appendChild(o.default.createElement("div"));const n=r.exec(e),i=null==n?void 0:n[1].toLowerCase(),s=a[i]||a.default;t.innerHTML=s.startTags+e+s.endTags;for(let e=0;e<s.tagsCount;e++)t=t.lastChild;return[...t.childNodes]};t.isTablePart=function(e){const t=r.exec(e);return t&&t[1]in a}},42463:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getImageSourceType=t.getImageContainer=t.ICON_CLASS=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i};const r=t.ICON_CLASS="dx-icon",a=e=>!(!e||"string"!=typeof e)&&(/^\s*<svg[^>]*>(.|\r?\n)*?<\/svg>\s*$/i.test(e)?"svg":/data:.*base64|\.|[^<\s]\/{1,1}/.test(e)?"image":/^[\w-_]+$/.test(e)?"dxIcon":!!/^\s?([\w-_:]\s?)+$/.test(e)&&"fontIcon");t.getImageSourceType=a;t.getImageContainer=e=>{switch(a(e)){case"image":return(0,o.default)("<img>").attr("src",e).addClass(r);case"fontIcon":return(0,o.default)("<i>").addClass(`${r} ${e}`);case"dxIcon":return(0,o.default)("<i>").addClass(`${r} ${r}-${e}`);case"svg":return(0,o.default)("<i>").addClass(`${r} dx-svg-icon`).append(e);default:return null}}},66122:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.underscore=t.titleize=t.humanize=t.default=t.dasherize=t.captionize=t.camelize=void 0;var i=n(21274);const o=function(e){return null==e?"":String(e)},r=function(e){return o(e).charAt(0).toUpperCase()+e.substr(1)},a=function(e){return o(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},s=function(e){return(0,i.map)(a(e),(function(e){return e.toLowerCase()})).join("-")};t.dasherize=s;const l=function(e){return s(e).replace(/-/g,"_")};t.underscore=l;const c=function(e,t){return(0,i.map)(a(e),(function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=r(e)),e})).join("")};t.camelize=c;const u=function(e){return r(s(e).replace(/-/g," "))};t.humanize=u;const d=function(e){return(0,i.map)(a(e),(function(e){return r(e.toLowerCase())})).join(" ")};t.titleize=d;const h=["0","1","2","3","4","5","6","7","8","9"],f=function(e){const t=[];let n,i,o=!1,r=!1;for(n=0;n<e.length;n++)i=e.charAt(n),r=i===i.toUpperCase()&&"-"!==i&&")"!==i&&"/"!==i||i in h,"_"===i||"."===i?(i=" ",r=!0):0===n?(i=i.toUpperCase(),r=!0):!o&&r&&t.length>0&&t.push(" "),t.push(i),o=r;return t.join("")};t.captionize=f;t.default={dasherize:s,underscore:l,camelize:c,humanize:u,titleize:d,captionize:f}},26044:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.reverseEach=t.map=t.each=void 0;t.map=(e,t)=>{if(Array.isArray(e))return e.map(t);const n=[];for(const i in e)n.push(t(e[i],i));return n};t.each=(e,t)=>{if(e){if("length"in e)for(let n=0;n<e.length&&!1!==t.call(e[n],n,e[n]);n++);else for(const n in e)if(!1===t.call(e[n],n,e[n]))break;return e}};t.reverseEach=(e,t)=>{if(e&&"length"in e&&0!==e.length)for(let n=e.length-1;n>=0&&!1!==t.call(e[n],n,e[n]);n--);}},24574:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Locker=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i};t.Locker=function(){const e={},t=function(t){return e[t]||0};return{obtain(n){e[n]=t(n)+1},release(n){const i=t(n);if(i<1)throw o.default.Error("E0014");1===i?delete e[n]:e[n]=i-1},locked:e=>t(e)>0}}},80764:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.adjust=function(e,t){let n=r(t||0)+2;const a=e.toString().split("."),s=e,l=Math.abs(e);let c;const u=(0,i.isExponential)(e),d=l>1?10:0;if(1===a.length)return e;u||((0,i.isExponential)(t)&&(n=a[0].length+o(t)),e=(e=l)-Math.floor(e)+d);if(n=function(){return"0.000300"!==3e-4.toPrecision(3)}()&&o(e)>6||n>7?15:7,!u&&(c=parseFloat(e.toPrecision(n)).toString().split("."),c[0]===d.toString()))return parseFloat(`${a[0]}.${c[1]}`);return parseFloat(s.toPrecision(n))},t.fitIntoRange=void 0,t.getExponent=o,t.getExponentLength=function(e){var t;const n=e.toString();return(null===(t=n.split(".")[1])||void 0===t?void 0:t.length)||parseInt(n.split("e-")[1],10)||0},t.getPrecision=r,t.getRemainderByDivision=function(e,t,n){if(t===parseInt(t,10))return e%t;const i=s(e/t,n);return(i-parseInt(i,10))*t},t.getRoot=a,t.inRange=void 0,t.multiplyInExponentialForm=function(e,t){const n=function(e){const t=e.toExponential().split("e"),n=parseFloat(t[0]);return{exponent:parseInt(t[1],10),mantissa:n}}(e);return parseFloat(`${n.mantissa}e${n.exponent+t}`)},t.roundFloatPart=s,t.sign=void 0,t.solveCubicEquation=function(e,t,n,i){const o=1e-8;if(Math.abs(e)<o){if(e=t,t=n,n=i,Math.abs(e)<o)return e=t,t=n,Math.abs(e)<o?[]:[-t/e];const r=t*t-4*e*n;return Math.abs(r)<o?[-t/(2*e)]:r>0?[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]:[]}const r=(3*e*n-t*t)/(3*e*e),s=(2*t*t*t-9*e*t*n+27*e*e*i)/(27*e*e*e);let l,c;if(Math.abs(r)<o)l=[a(-s,3)];else if(Math.abs(s)<o)l=[0].concat(r<0?[Math.sqrt(-r),-Math.sqrt(-r)]:[]);else{const e=s*s/4+r*r*r/27;if(Math.abs(e)<o)l=[-1.5*s/r,3*s/r];else if(e>0)c=a(-s/2-Math.sqrt(e),3),l=[c-r/(3*c)];else{c=2*Math.sqrt(-r/3);const e=Math.acos(3*s/r/c)/3,t=2*Math.PI/3;l=[c*Math.cos(e),c*Math.cos(e-t),c*Math.cos(e-2*t)]}}for(let n=0;n<l.length;n++)l[n]-=t/(3*e);return l},t.trunc=function(e){return Math.trunc?Math.trunc(e):e>0?Math.floor(e):Math.ceil(e)};var i=n(11528);t.sign=function(e){return 0===e?0:e/Math.abs(e)};t.fitIntoRange=function(e,t,n){const i=!t&&0!==t,o=!n&&0!==n;return i&&(t=o?e:Math.min(e,n)),o&&(n=i?e:Math.max(e,t)),Math.min(Math.max(e,t),n)};function o(e){return Math.abs(parseInt(e.toExponential().split("e")[1],10))}function r(e){const t=e.toString();if(t.indexOf(".")<0)return 0;const n=t.split("."),i=n[1].indexOf("e");return i>=0?i:n[1].length}function a(e,t){if(e<0&&t%2!=1)return NaN;const n=Math.abs(e)**(1/t);return t%2==1&&e<0?-n:n}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat(e.toFixed(t))}t.inRange=function(e,t,n){return e>=t&&e<=n}},86005:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.orderEach=t.newAssign=t.legacyAssign=t.deepExtendArraySafe=t.clone=void 0;var i,o=n(11528),r=(i=n(40216))&&i.__esModule?i:{default:i};t.clone=function(){function e(){}return function(t){return e.prototype=t,new e}}();t.orderEach=function(e,t){const n=[];let i,r;for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.push(i);for(n.sort((function(e,t){const n=(0,o.isNumeric)(e),i=(0,o.isNumeric)(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:e<t?-1:e>t?1:0})),r=0;r<n.length;r++)i=n[r],t(i,e[i])};const a=e=>(0,o.isObject)(e)?Array.isArray(e)?[]:{}:e,s=function(e,t,n,i,o,a){!o&&r.default.isWrapped(e[t])?r.default.assign(e[t],n):e[t]=n};t.legacyAssign=s;const l=function(e,t,n,i,s,u){const d=i?(0,o.isObject)(e):(0,o.isPlainObject)(e);!s&&r.default.isWrapped(e[t])?r.default.assign(e[t],n):!s&&Array.isArray(n)?e[t]=n.map((e=>c(a(e),e,i,s,u))):e[t]=!s&&d?c(a(n),n,i,s,u,l):n};t.newAssign=l;const c=function(e,t,n,i,r,a){let u,d;const h=a?l:s;for(const a in t){if(u=e[a],d=t[a],"__proto__"===a||"constructor"===a||e===d)continue;if((0,o.isPlainObject)(d)){const e=n?(0,o.isObject)(u):(0,o.isPlainObject)(u);d=c(e?u:{},d,n,i,r)}(Array.isArray(d)&&!i||((r||void 0!==d)&&u!==d||r&&void 0===u))&&h(e,a,d,n,i,r)}return e};t.deepExtendArraySafe=c},80125:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultAlignment=t.getBoundingRect=void 0;var i,o=(i=n(66636))&&i.__esModule?i:{default:i},r=n(11528);t.getDefaultAlignment=e=>e??(0,o.default)().rtlEnabled?"right":"left";t.getBoundingRect=e=>{var t;return(0,r.isWindow)(e)?{width:e.outerWidth,height:e.outerHeight}:null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e)}},871:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.attachInstanceToElement=function(e,t,n){const i=(0,a.data)(e.get(0)),s=d(t.constructor);i[s]=t,n&&o.default.one(e,r.removeEvent,(function(){n.call(t)}));i[l]||(i[l]=[]);i[l].push(s)},t.default=void 0,t.getInstanceByElement=function(e,t){const n=d(t);return(0,a.data)(e.get(0),n)},t.name=void 0;var i,o=(i=n(92774))&&i.__esModule?i:{default:i},r=n(28630),a=n(74663),s=n(11528);const l="dxComponents",c=new WeakMap;let u=0;const d=function(e,t){if(!(0,s.isDefined)(t)){if(!c.has(e)){const t="dxPrivateComponent"+u++;return c.set(e,t),t}return c.get(e)}c.set(e,t)};t.name=d;t.default={name:d}},52799:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.create=a,t.enqueue=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i},r=n(87739);function a(e){let t=[],n=!1;function i(){for(;t.length;){n=!0;const e=t.shift()();if(void 0!==e){if(e.then)return void(0,r.when)(e).always(i);throw o.default.Error("E0015")}}n=!1}return{add:function(o,r){e?(t[0]&&r&&r(t[0]),t=[o]):t.push(o),n||i()},busy:function(){return n}}}t.enqueue=a().add},18344:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.readyCallbacksModule=t.default=void 0;var i=s(n(64960)),o=s(n(13630)),r=s(n(89656)),a=n(3104);function s(e){return e&&e.__esModule?e:{default:e}}let l=[];const c=(0,o.default)((()=>{const e=i.default.listen(i.default.getDocument(),"DOMContentLoaded",(()=>{u.fire(),e()}))})),u={add:e=>{const t=(0,a.hasWindow)();t&&"loading"!==i.default.getReadyState()?e():(l.push(e),t&&c())},fire:()=>{l.forEach((e=>e())),l=[]}},d=t.readyCallbacksModule=(0,r.default)(u);t.default=d},33717:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCallbacks=t.default=void 0;var i=l(n(64960)),o=l(n(13630)),r=l(n(63172)),a=l(n(18344)),s=l(n(14470));function l(e){return e&&e.__esModule?e:{default:e}}const c=t.resizeCallbacks=function(){let e;const t=(0,r.default)(),n=t.add,l=t.remove;if(!s.default.hasWindow())return t;const c=function(){const e=s.default.getWindow();return{width:e.innerWidth,height:e.innerHeight}},u=function(){const n=c();if(n.width===e.width&&n.height===e.height)return;let i;n.width===e.width&&(i="height"),n.height===e.height&&(i="width"),e=n,t.fire(i)},d=(0,o.default)((function(){e=c()}));let h;return t.add=function(){const e=n.apply(t,arguments);return d(),a.default.add((function(){!h&&t.has()&&(h=i.default.listen(s.default.getWindow(),"resize",u))})),e},t.remove=function(){const e=l.apply(t,arguments);return!t.has()&&h&&(h(),h=void 0),e},t}();t.default=c},17113:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.addShadowDomStyles=function(e){var t;const n=e.get(0),a=null===(t=n.getRootNode)||void 0===t?void 0:t.call(n);if(null==a||!a.host)return;i||(i=o(a),r(i,n.ownerDocument.styleSheets,!1));const s=o(a);r(s,a.styleSheets,!0),a.adoptedStyleSheets=[i,s]},t.getShadowElementsFromPoint=function(e,t,n){const i=function(){let e=0;const t=[];return{push(e){return t.push(e),this},shift:()=>(e++,t[e-1]),get length(){return t.length-e},get items(){return t}}}().push(n);for(;i.length;){const n=i.shift();for(let o=0;o<n.childNodes.length;o++){const r=n.childNodes[o];r.nodeType===Node.ELEMENT_NODE&&s(r,e,t)&&"none"!==getComputedStyle(r).pointerEvents&&i.push(r)}}const o=i.items.reverse();return o.pop(),o};const n="dx-";let i=null;function o(e){try{return new CSSStyleSheet}catch(t){const n=e.ownerDocument.createElement("style");return e.appendChild(n),n.sheet}}function r(e,t,n){for(let i=0;i<t.length;i++){const o=t[i];try{for(let t=0;t<o.cssRules.length;t++)a(e,o.cssRules[t],n)}catch(e){}}}function a(e,t,i){var o,r,a,s;(i||(null===(o=t.selectorText)||void 0===o?void 0:o.includes(n))||(null===(r=t.cssRules)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.selectorText)||void 0===r?void 0:r.includes(n))||(null===(a=t.name)||void 0===a?void 0:a.startsWith(n))||"DXIcons"===(null===(s=t.style)||void 0===s?void 0:s.fontFamily))&&e.insertRule(t.cssText,e.cssRules.length)}function s(e,t,n){var i;const o=null===(i=e.getBoundingClientRect)||void 0===i?void 0:i.call(e);return o&&t>=o.left&&t<o.right&&n>=o.top&&n<o.bottom}},64587:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setWidth=t.setOuterWidth=t.setOuterHeight=t.setInnerWidth=t.setInnerHeight=t.setHeight=t.parseHeight=t.implementationsMap=t.getWindowByElement=t.getWidth=t.getVisibleHeight=t.getVerticalOffsets=t.getSize=t.getOuterWidth=t.getOuterHeight=t.getOffset=t.getInnerWidth=t.getInnerHeight=t.getHeight=t.getElementBoxParams=t.addOffsetToMinHeight=t.addOffsetToMaxHeight=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i},r=n(11528);const a=(0,n(3104).getWindow)(),s=["auto","none","inherit","initial"],l=function(e,t){let n=0;return t.forEach((function(t){n+=parseFloat(e[t])||0})),n},c=function(e,t){const n="width"===e?"Left":"Top",i="width"===e?"Right":"Bottom";return{padding:l(t,[`padding${n}`,`padding${i}`]),border:l(t,[`border${n}Width`,`border${i}Width`]),margin:l(t,[`margin${n}`,`margin${i}`])}};t.getElementBoxParams=c;const u=function(e){var t;const n=(null==e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||a;return n.getComputedStyle&&n.getComputedStyle(e)},d=function(e,t,n,i){var o;return(null==t?void 0:t[n])||(null===(o=e.style)||void 0===o?void 0:o[n])||i},h={content:0,padding:1,border:2,margin:3,"content-box":0,"border-box":2},f={width:["left","right"],height:["top","bottom"]};function p(e,t,n,i){const o=(e,t,n)=>parseFloat(d(e,t,n,"0"))||0,r="border"===n?"-width":"";return o(e,i,`${n}-${f[t][0]}${r}`)+o(e,i,`${n}-${f[t][1]}${r}`)}const g=function(e,t,n){const i="width"===t?"offsetWidth":"offsetHeight",o=u(e);let r=d(e,o,t);""!==r&&"auto"!==r||(r=e[i]),r=parseFloat(r)||0;const a=d(e,o,"boxSizing","content-box");let s=h[n||a],l=h[a];if(void 0===s||void 0===l)throw new Error;if(l===s)return r;const c=Math.sign(s-l);let f=!1,g=!1,_=!1,m=!1;1===c&&(s+=1,l+=1);for(let n=l;n!==s;n+=c)switch(n){case h.content:break;case h.padding:f=c*p(e,t,"padding",o);break;case h.border:g=c*p(e,t,"border",o);break;case h.margin:_=c*p(e,t,"margin",o)}if(f||g){const n=(!1===f?c*p(e,t,"padding",o):f)+(!1===g?c*p(e,t,"border",o):g);m=c*Math.max(0,Math.floor(e[i]-r-c*n))||0}return r+_+f+g+m};t.getSize=g;const _=function(e,t,n){return e.indexOf("px")>0?e=parseInt(e.replace("px","")):e.indexOf("%")>0?e=parseInt(e.replace("%",""))*function(e){return(0,r.isWindow)(e)?e.innerHeight:e.offsetHeight}(t)/100:isNaN(e)?e.indexOf("vh")>0?e=a.innerHeight/100*parseInt(e.replace("vh","")):n&&e.indexOf("em")>0&&(e=parseFloat(e.replace("em",""))*parseFloat(a.getComputedStyle(n).fontSize)):e=parseInt(e),e};t.parseHeight=_;const m=function(e,t,n){if(!e)return null;if(s.includes(e))return t?null:e;if((0,r.isString)(e)&&(e=_(e,n)),(0,r.isNumeric)(e))return Math.max(0,e+t);return`calc(${e}${t<0?" - ":" "}${Math.abs(t)}px)`};t.addOffsetToMaxHeight=function(e,t,n){const i=m(e,t,n);return null!==i?i:"none"};t.addOffsetToMinHeight=function(e,t,n){const i=m(e,t,n);return null!==i?i:0};t.getVerticalOffsets=function(e,t){if(!e)return 0;const n=c("height",a.getComputedStyle(e));return n.padding+n.border+(t?n.margin:0)};t.getVisibleHeight=function(e){if(e){var t;const n=null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e);if(null!=n&&n.height)return n.height}return 0};const v=t.implementationsMap={getWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("width",...t)},setWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("width",...t)},getHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("height",...t)},setHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("height",...t)},getOuterWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("outerWidth",...t)},setOuterWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("outerWidth",...t)},getOuterHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("outerHeight",...t)},setOuterHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("outerHeight",...t)},getInnerWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("innerWidth",...t)},setInnerWidth:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("innerWidth",...t)},getInnerHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("innerHeight",...t)},setInnerHeight:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b("innerHeight",...t)}};function b(e,t,n){return 2===arguments.length?y(t,e):y(t,e,n)}t.getWidth=e=>v.getWidth(e);t.setWidth=(e,t)=>v.setWidth(e,t);t.getHeight=e=>v.getHeight(e);t.setHeight=(e,t)=>v.setHeight(e,t);t.getOuterWidth=(e,t)=>v.getOuterWidth(e,t||!1);t.setOuterWidth=(e,t)=>v.setOuterWidth(e,t);t.getOuterHeight=(e,t)=>v.getOuterHeight(e,t||!1);t.setOuterHeight=(e,t)=>v.setOuterHeight(e,t);t.getInnerWidth=e=>v.getInnerWidth(e);t.setInnerWidth=(e,t)=>v.setInnerWidth(e,t);t.getInnerHeight=e=>v.getInnerHeight(e);t.setInnerHeight=(e,t)=>v.setInnerHeight(e,t);const y=function(e,t,n){const i=t.toLowerCase().indexOf("width")>=0?"Width":"Height",a=i.toLowerCase(),s=0===t.indexOf("outer"),l=0===t.indexOf("inner"),d=2===arguments.length||"boolean"==typeof n;if((0,r.isRenderer)(e)){if(e.length>1&&!d){for(let i=0;i<e.length;i++)y(e[i],t,n);return}e=e[0]}if(e){if((0,r.isWindow)(e))return s?e[`inner${i}`]:o.default.getDocumentElement()[`client${i}`];if(o.default.isDocument(e)){const e=o.default.getDocumentElement(),t=o.default.getBody();return Math.max(t[`scroll${i}`],t[`offset${i}`],e[`scroll${i}`],e[`offset${i}`],e[`client${i}`])}if(d){let t="content";return s&&(t=n?"margin":"border"),l&&(t="padding"),g(e,a,t)}if((0,r.isNumeric)(n)){const t=u(e),i=c(a,t),o="border-box"===t.boxSizing;n=Number(n),s?n-=o?0:i.border+i.padding:l?n+=o?i.border:-i.padding:o&&(n+=i.border+i.padding)}return n+=(0,r.isNumeric)(n)?"px":"",o.default.setStyle(e,a,n),null}},x=e=>(0,r.isWindow)(e)?e:e.defaultView;t.getWindowByElement=x;t.getOffset=e=>{if(!e.getClientRects().length)return{top:0,left:0};const t=e.getBoundingClientRect(),n=x(e.ownerDocument),i=e.ownerDocument.documentElement;return{top:t.top+n.pageYOffset-i.clientTop,left:t.left+n.pageXOffset-i.clientLeft}}},47865:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sessionStorage=void 0;const i=(0,n(3104).getWindow)();t.sessionStorage=function(){let e;try{e=i.sessionStorage}catch(e){}return e}},32527:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.encodeHtml=void 0,t.format=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if((0,i.isFunction)(e))return e(...n);return n.forEach(((t,n)=>{(0,i.isString)(t)&&(t=t.replace(/\$/g,"$$$$"));const o=new RegExp(`\\{${n}\\}`,"gm");e=e.replace(o,t)})),e},t.quadToObject=t.isEmpty=void 0;var i=n(11528);t.encodeHtml=function(){const e=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")];return function(t){return String(t).replace(e[0],"&").replace(e[1],""").replace(e[2],"'").replace(e[3],"<").replace(e[4],">")}}();t.quadToObject=function(e){const t=function(e){switch(typeof e){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}}(e);let n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),o=parseInt(t&&t[2],10),r=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(o)||(o=n),isFinite(r)||(r=i),{top:i,right:o,bottom:r,left:n}};t.isEmpty=function(){const e=/\s/g;return function(t){return!t||!t.replace(e,"")}}()},11953:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.stylePropPrefix=t.styleProp=t.setWidth=t.setStyle=t.setHeight=t.parsePixelValue=t.normalizeStyleProp=void 0;var i=s(n(64960)),o=s(n(13630)),r=n(53124),a=n(11528);function s(e){return e&&e.__esModule?e:{default:e}}const l=["","Webkit","Moz","O","Ms"],c={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},u=(0,o.default)((function(){return i.default.createElement("dx").style}));t.styleProp=function(e){if(e in u())return e;const t=e;e=e.charAt(0).toUpperCase()+e.substr(1);for(let t=1;t<l.length;t++){const n=l[t].toLowerCase()+e;if(n in u())return n}return t};t.stylePropPrefix=function(e){return function(e,t){let n;e=(0,r.camelize)(e,!0);for(let i=0,o=l.length;i<o;i++){const o=l[i],a=o+e;if(n=t((0,r.camelize)(a),o),void 0===n&&(n=t(a,o)),void 0!==n)break}return n||""}(e,(function(e,t){if(e in u())return c[t]}))};const d=["fillOpacity","columnCount","flexGrow","flexShrink","fontWeight","lineHeight","opacity","zIndex","zoom"];t.parsePixelValue=function(e){return(0,a.isNumeric)(e)?e:(0,a.isString)(e)?Number(e.replace("px","")):NaN};t.normalizeStyleProp=function(e,t){return(0,a.isNumeric)(t)&&!d.includes(e)&&(t+="px"),t};const h=function(e,t,n){if(e){n=(0,a.isNumeric)(n)?n+="px":n;for(let i=0;i<e.length;++i)e[i].style[t]=n}};t.setWidth=function(e,t){h(e,"width",t)};t.setHeight=function(e,t){h(e,"height",t)};t.setStyle=function(e,t){if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]){[].slice.call(e.style).forEach((t=>{e.style.removeProperty(t)}))}t.split(";").forEach((t=>{const n=t.split(":").map((e=>e.trim()));if(2===n.length){const[t,i]=n;e.style[t]=i}}))}},85991:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.pointerEvents=t.nativeScrolling=t.inputType=t.default=t.animation=void 0,Object.defineProperty(t,"styleProp",{enumerable:!0,get:function(){return a.styleProp}}),Object.defineProperty(t,"stylePropPrefix",{enumerable:!0,get:function(){return a.stylePropPrefix}}),t.transitionEndEventName=t.transition=t.touchEvents=t.touch=t.supportProp=void 0;var i=l(n(44257)),o=l(n(64960)),r=l(n(13630)),a=n(58515),s=n(3104);function l(e){return e&&e.__esModule?e:{default:e}}const{maxTouchPoints:c}=(0,s.getNavigator)(),u={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},d=function(e){return!!(0,a.styleProp)(e)};t.supportProp=d;const h=function(e){if("text"===e)return!0;const t=o.default.createElement("input");try{return t.setAttribute("type",e),t.value="wrongValue",!t.value}catch(e){return!1}};t.inputType=h;const f=t.touchEvents=function(e,t){return(e("ontouchstart")||!!t)&&!e("callPhantom")}(s.hasProperty,c),p=t.pointerEvents=(0,s.hasProperty)("PointerEvent");const g=!!c,_=t.touch=f||p&&g,m=t.transition=(0,r.default)((function(){return d("transition")})),v=t.transitionEndEventName=(0,r.default)((function(){return u[(0,a.styleProp)("transition")]})),b=t.animation=(0,r.default)((function(){return d("animation")})),y=t.nativeScrolling=function(){const{platform:e,mac:t}=i.default.real();return"ios"===e||"android"===e||t}();t.default={animation:b,inputType:h,nativeScrolling:y,pointerEvents:p,styleProp:a.styleProp,stylePropPrefix:a.stylePropPrefix,supportProp:d,touch:_,touchEvents:f,transition:m,transitionEndEventName:v}},89650:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HIDDEN_FOR_EXPORT=void 0,t.getSvgElement=u,t.getSvgMarkup=c;var i=a(n(64960)),o=a(n(64553)),r=n(11528);function a(e){return e&&e.__esModule?e:{default:e}}const s=(0,n(3104).getWindow)();const l=t.HIDDEN_FOR_EXPORT="hidden-for-export";function c(e,t){return function(e){return-1===e.indexOf("xmlns:xlink")&&(e=e.replace("<svg",'<svg xmlns:xlink="http://www.w3.org/1999/xlink"')),e.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}((n=function(e,t){const n=i.default.createElement("div"),r=e.cloneNode(!0);return t&&(0,o.default)(r).css("backgroundColor",t),n.appendChild(r),n.innerHTML}(e,t),n.replace(/"/gi,""").replace(/&/gi,"&").replace(/'/gi,"'").replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(/­/gi,"­")));var n}function u(e){if((0,r.isString)(e)){return(new s.DOMParser).parseFromString(e,"image/svg+xml").childNodes[0]}return i.default.isNode(e)?e:(0,r.isRenderer)(e)?e.get(0):void 0}t.default={getSvgElement:u,getSvgMarkup:c,HIDDEN_FOR_EXPORT:l}},91008:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateSource=t.templateKey=t.suitableTemplatesByName=t.getNormalizedTemplateArgs=t.findTemplates=t.defaultCreateElement=t.default=t.addPublicElementNormalization=t.addOneRenderedCall=t.acquireTemplate=t.acquireIntegrationTemplate=void 0;var i=m(n(66636)),o=m(n(65951)),r=n(61404),a=m(n(87129)),s=m(n(64553)),l=n(91585),c=n(48650),u=n(67872),d=n(42186),h=n(94487),f=n(17781),p=n(52576),g=m(n(76400)),_=m(n(39918));function m(e){return e&&e.__esModule?e:{default:e}}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v.apply(null,arguments)}const b=(e,t)=>{const n="data-options",o=(0,s.default)(e).contents().filter(`[${n}*="${t}"]`);return[].slice.call(o).map((e=>{const o=(0,s.default)(e).attr(n)||"";return{element:e,options:(0,i.default)().optionsParser(o)[t]}})).filter((e=>!!e.options))};t.findTemplates=b;const y=e=>{const t=(0,h.groupBy)(e,(e=>e.options.name));if(t.undefined)throw a.default.Error("E0023");const n={};return Object.keys(t).forEach((e=>{var i;const r=null===(i=(0,f.findBestMatches)(o.default.current(),t[e],(e=>e.options))[0])||void 0===i?void 0:i.element;r&&(n[e]=r)})),n};t.suitableTemplatesByName=y;const x=e=>{const t=e.render.bind(e);return(0,p.extend)({},e,{render(e){const n=t(e);return e&&e.onRendered&&e.onRendered(),n}})};t.addOneRenderedCall=x;const C=e=>{const t=e.render.bind(e);return(0,p.extend)({},e,{render(e){const n=(0,s.default)(e.container);return t(v({},e,{container:(0,r.getPublicElement)(n)}))}})};t.addPublicElementNormalization=C;const S=e=>{const t=[];return"model"in e&&t.push(e.model),"index"in e&&t.push(e.index),t.push(e.container),t};t.getNormalizedTemplateArgs=S;const w=e=>"string"==typeof e?g.default.normalizeTemplateElement(e):e;t.validateTemplateSource=w;const E=e=>_.default.isRenderer(e)&&e[0]||e;t.templateKey=E;const T=e=>new u.Template(e);t.defaultCreateElement=T;const A=(e,t,n,i)=>{let o=null;return i&&-1!==i.indexOf(e)||(o=t[e],!o||o instanceof d.TemplateBase||(_.default.isFunction(o.render)&&(o=C(o)),n||(o=x(o)))),o};t.acquireIntegrationTemplate=A;const O=(e,t,n,i,o,r)=>null==e?new c.EmptyTemplate:e instanceof l.ChildDefaultTemplate?r[e.name]:e instanceof d.TemplateBase?e:_.default.isFunction(e.render)&&!_.default.isRenderer(e)?i?e:x(e):e.nodeType||_.default.isRenderer(e)?t((0,s.default)(e)):A(e,n,i,o)||r[e]||t(e);t.acquireTemplate=O;t.default={findTemplates:b,suitableTemplatesByName:y,addOneRenderedCall:x,addPublicElementNormalization:C,getNormalizedTemplateArgs:S,validateTemplateSource:w,templateKey:E,defaultCreateElement:T,acquireIntegrationTemplate:A,acquireTemplate:O}},39918:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.type=t.isWindow=t.isString=t.isRenderer=t.isPromise=t.isPrimitive=t.isPlainObject=t.isObject=t.isNumeric=t.isFunction=t.isExponential=t.isEvent=t.isEmptyObject=t.isDefined=t.isDeferred=t.isDate=t.isBoolean=t.default=void 0;const n={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string"},i=function(e){if(null===e)return"null";const t=Object.prototype.toString.call(e);return"object"==typeof e?n[t]||"object":typeof e};t.type=i;const o=function(e){return"boolean"==typeof e};t.isBoolean=o;const r=function(e){return u(e)&&-1!==e.toString().indexOf("e")};t.isExponential=r;const a=function(e){return"date"===i(e)};t.isDate=a;const s=function(e){return null!=e};t.isDefined=s;const l=function(e){return"function"==typeof e};t.isFunction=l;const c=function(e){return"string"==typeof e};t.isString=c;const u=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))};t.isNumeric=u;const d=function(e){return"object"===i(e)};t.isObject=d;const h=function(e){let t;for(t in e)return!1;return!0};t.isEmptyObject=h;const f=function(e){if(!e||"object"!==i(e))return!1;const t=Object.getPrototypeOf(e);if(!t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Object.toString.call(n)===Object.toString.call(Object)};t.isPlainObject=f;const p=function(e){return!["object","array","function"].includes(i(e))};t.isPrimitive=p;const g=function(e){return null!=e&&e===e.window};t.isWindow=g;const _=function(e){return!(!e||!e.jquery&&!e.dxRenderer)};t.isRenderer=_;const m=function(e){return!!e&&l(e.then)};t.isPromise=m;const v=function(e){return!!e&&l(e.done)&&l(e.fail)};t.isDeferred=v;const b=function(e){return!(!e||!e.preventDefault)};t.isEvent=b;t.default={isBoolean:o,isDate:a,isDeferred:v,isDefined:s,isEmptyObject:h,isEvent:b,isExponential:r,isFunction:l,isNumeric:u,isObject:d,isPlainObject:f,isPrimitive:p,isPromise:m,isRenderer:_,isString:c,isWindow:g,type:i}},66082:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.variableWrapper=void 0;var i,o=n(31951),r=(i=n(89656))&&i.__esModule?i:{default:i};t.variableWrapper=(0,r.default)({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(){o.logger.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},5388:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.compare=function(e,t,n){function i(e){return"string"==typeof e?e.split("."):"number"==typeof e?[e]:e}e=i(e),t=i(t);let o=Math.max(e.length,t.length);isFinite(n)&&(o=Math.min(o,n));for(let n=0;n<o;n++){const i=parseInt(e[n]||0,10),o=parseInt(t[n]||0,10);if(i<o)return-1;if(i>o)return 1}return 0}},65913:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.changeCallback=void 0,t.originalViewPort=function(){return l},t.value=void 0;var i=r(n(64553)),o=r(n(84718));function r(e){return e&&e.__esModule?e:{default:e}}const a=r(n(3122)).default.add,s=t.changeCallback=(0,o.default)();let l=(0,i.default)();const c=t.value=function(){let e;return function(t){if(!arguments.length)return e;const n=(0,i.default)(t);l=n;const o=!!n.length,r=c();e=o?n:(0,i.default)("body"),s.fire(o?c():(0,i.default)(),r)}}();a((function(){c(".dx-viewport")}))},14470:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setWindow=t.hasWindow=t.hasProperty=t.getWindow=t.getNavigator=t.getCurrentScreenFactor=t.defaultScreenFactorFunc=t.default=void 0;var i,o=(i=n(64960))&&i.__esModule?i:{default:i};let r="undefined"!=typeof window;const a=()=>r;t.hasWindow=a;let s=a()?window:void 0;s||(s={},s.window=s);const l=()=>s;t.getWindow=l;const c=(e,t)=>{r=void 0===t?"undefined"!=typeof window&&window===e:t,s=e};t.setWindow=c;const u=e=>a()&&e in s;t.hasProperty=u;const d=e=>e<768?"xs":e<992?"sm":e<1200?"md":"lg";t.defaultScreenFactorFunc=d;const h=e=>(e||d)(o.default.getDocumentElement().clientWidth);t.getCurrentScreenFactor=h;const f=()=>{var e;return a()?null===(e=s)||void 0===e?void 0:e.navigator:{userAgent:""}};t.getNavigator=f;t.default={defaultScreenFactorFunc:d,getCurrentScreenFactor:h,getNavigator:f,getWindow:l,hasProperty:u,hasWindow:a,setWindow:c}},65020:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var i=m(n(88412)),o=m(n(55620)),r=m(n(66636)),a=m(n(87129)),s=n(2607),l=n(74453),c=n(53904),u=n(21971),d=m(n(84718)),h=n(17781),f=n(31e3),p=n(52576),g=n(85521),_=n(11528);function m(e){return e&&e.__esModule?e:{default:e}}const v=e=>e.charAt(2).toLowerCase()+e.substr(3);class b extends(o.default.inherit({})){_setDeprecatedOptions(){this._deprecatedOptions={}}_getDeprecatedOptions(){return this._deprecatedOptions}_getDefaultOptions(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}}_defaultOptionsRules(){return[]}_setOptionsByDevice(e){this._options.applyRules(e)}_convertRulesToOptions(e){return(0,c.convertRulesToOptions)(e)}_isInitialOptionValue(e){return this._options.isInitial(e)}_setOptionsByReference(){this._optionsByReference={}}_getOptionsByReference(){return this._optionsByReference}ctor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{_optionChangedCallbacks:t,_disposingCallbacks:n}=e;this.NAME=(0,g.name)(this.constructor),this._eventsStrategy=s.EventsStrategy.create(this,e.eventsStrategy),this._updateLockCount=0,this._optionChangedCallbacks=t||(0,d.default)(),this._disposingCallbacks=n||(0,d.default)(),this.postponedOperations=new u.PostponedOperations,this._createOptions(e)}_createOptions(e){this.beginUpdate();try{this._setOptionsByReference(),this._setDeprecatedOptions(),this._options=new l.Options(this._getDefaultOptions(),this._getDefaultOptions(),this._getOptionsByReference(),this._getDeprecatedOptions()),this._options.onChanging(((e,t,n)=>this._initialized&&this._optionChanging(e,t,n))),this._options.onDeprecated(((e,t)=>this._logDeprecatedOptionWarning(e,t))),this._options.onChanged(((e,t,n)=>this._notifyOptionChanged(e,t,n))),this._options.onStartChange((()=>this.beginUpdate())),this._options.onEndChange((()=>this.endUpdate())),this._options.addRules(this._defaultOptionsRules()),this._options.validateOptions((e=>this._validateOptions(e))),e&&e.onInitializing&&e.onInitializing.apply(this,[e]),this._setOptionsByDevice(e.defaultOptionsRules),this._initOptions(e)}finally{this.endUpdate()}}_initOptions(e){this.option(e)}_init(){this._createOptionChangedAction(),this.on("disposing",(e=>{this._disposingCallbacks.fireWith(this,[e])}))}_logDeprecatedOptionWarning(e,t){const n=t.message||`Use the '${t.alias}' option instead`;a.default.log("W0001",this.NAME,e,t.since,n)}_logDeprecatedComponentWarning(e,t){a.default.log("W0000",this.NAME,e,`Use the '${t}' widget instead`)}_createOptionChangedAction(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly"]})}_createDisposingAction(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly"]})}_optionChanged(e){const{name:t}=e;switch(t){case"onDisposing":case"onInitialized":case"defaultOptionsRules":default:break;case"onOptionChanged":this._createOptionChangedAction()}}_dispose(){var e;this._optionChangedCallbacks.empty(),this._createDisposingAction(),null===(e=this._disposingAction)||void 0===e||e.call(this),this._eventsStrategy.dispose(),this._options.dispose(),this._disposed=!0}_lockUpdate(){this._updateLockCount++}_unlockUpdate(){this._updateLockCount=Math.max(this._updateLockCount-1,0)}_isUpdateAllowed(){return 0===this._updateLockCount}_isInitializingRequired(){return!this._initializing&&!this._initialized}isInitialized(){return this._initialized}_commitUpdate(){this.postponedOperations.callPostponedOperations(),this._isInitializingRequired()&&this._initializeComponent()}_initializeComponent(){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._lockUpdate(),this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly"]})(),this._unlockUpdate(),this._initialized=!0}}instance(){return this}beginUpdate(){this._lockUpdate()}endUpdate(){this._unlockUpdate(),this._isUpdateAllowed()&&this._commitUpdate()}_optionChanging(){}_notifyOptionChanged(e,t,n){if(this._initialized){const o=[e].concat(this._options.getAliasesByName(e));for(let e=0;e<o.length;e++){const r=o[e],a={name:(0,f.getPathParts)(r)[0],fullName:r,value:t,previousValue:n};var i;if(0!==r.indexOf("_",0))this._optionChangedCallbacks.fireWith(this,[(0,p.extend)(this._defaultActionArgs(),a)]),null===(i=this._optionChangedAction)||void 0===i||i.call(this,(0,p.extend)({},a));this._disposed||this._cancelOptionChange===r||this._optionChanged(a)}}}initialOption(e){return this._options.initial(e)}_defaultActionConfig(){return{context:this,component:this}}_defaultActionArgs(){return{component:this}}_createAction(e,t){let n;return o=>((0,_.isDefined)(o)||(o={}),(0,_.isPlainObject)(o)||(o={actionValue:o}),n=n||new i.default(e,(0,p.extend)({},t,this._defaultActionConfig())),n.execute.call(n,(0,p.extend)(o,this._defaultActionArgs())))}_createActionByOption(e,t){var n=this;let i,o,s;t=(0,p.extend)({},t);const l=function(){var l,c;if(!o){if(t=t||{},"string"!=typeof e)throw a.default.Error("E0008");e.startsWith("on")&&(o=v(e)),s=n.option(e)}if(i||s||null!==(l=t)&&void 0!==l&&l.beforeExecute||null!==(c=t)&&void 0!==c&&c.afterExecute||n._eventsStrategy.hasEvent(o)){if(!i){const{beforeExecute:e}=t;t.beforeExecute=function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];e&&e.apply(n,i),n._eventsStrategy.fireEvent(o,i[0].args)},i=n._createAction(s,t)}for(var u=arguments.length,d=new Array(u),f=0;f<u;f++)d[f]=arguments[f];if((0,r.default)().wrapActionsBeforeExecute){return((n.option("beforeActionExecute")||h.noop)(n,i,t)||i).apply(n,d)}return i.apply(n,d)}};if((0,r.default)().wrapActionsBeforeExecute)return l;return(this.option("onActionCreated")||h.noop)(this,l,t)||l}on(e,t){return this._eventsStrategy.on(e,t),this}off(e,t){return this._eventsStrategy.off(e,t),this}hasActionSubscription(e){return!!this._options.silent(e)||this._eventsStrategy.hasEvent(v(e))}isOptionDeprecated(e){return this._options.isDeprecated(e)}_setOptionWithoutOptionChange(e,t){this._cancelOptionChange=e,this.option(e,t),this._cancelOptionChange=!1}_getOptionValue(e,t){const n=this.option(e);return(0,_.isFunction)(n)?n.bind(t)():n}option(){return this._options.option(...arguments)}resetOption(e){this.beginUpdate(),this._options.reset(e),this.endUpdate()}_validateOptions(e){return e}}t.Component=b},22331:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(42222),o=C(n(66636)),r=n(61404),a=n(74663),s=C(n(87129)),l=C(n(64553)),c=n(17781),u=n(52576),d=n(21274),h=n(85521),f=C(n(63283)),p=n(93631),g=n(11528),_=n(3104),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(93391)),v=C(n(66298)),b=n(39315),y=n(65020);function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function C(e){return e&&e.__esModule?e:{default:e}}class S extends y.Component{static getInstance(e){return(0,h.getInstanceByElement)((0,l.default)(e),this)}static defaultOptions(e){this._classCustomRules=Object.hasOwnProperty.bind(this)("_classCustomRules")&&this._classCustomRules?this._classCustomRules:[],this._classCustomRules.push(e)}_getDefaultOptions(){return(0,u.extend)(super._getDefaultOptions(),{width:void 0,height:void 0,rtlEnabled:(0,o.default)().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}},this._useTemplates()?v.default.TemplateManager.createDefaultOptions():{})}ctor(e,t){this._customClass=null,this._createElement(e),(0,h.attachInstanceToElement)(this._$element,this,this._dispose),super.ctor(t);const n=(0,m.peekValidationPerformed)();m.default.validateLicense((0,o.default)().licenseKey),!n&&(0,m.peekValidationPerformed)()&&(0,o.default)({licenseKey:""}),b.uiLayerInitialized.resolve()}_createElement(e){this._$element=(0,l.default)(e)}_getSynchronizableOptionsForCreateComponent(){return["rtlEnabled","disabled","templatesRenderAsynchronously"]}_checkFunctionValueDeprecation(e){this.option("_ignoreFunctionValueDeprecation")||e.forEach((e=>{(0,g.isFunction)(this.option(e))&&s.default.log("W0017",e)}))}_visibilityChanged(e){}_dimensionChanged(){}_init(){super._init(),this._checkFunctionValueDeprecation(["width","height","maxHeight","maxWidth","minHeight","minWidth","popupHeight","popupWidth"]),this._attachWindowResizeCallback(),this._initTemplateManager()}_setOptionsByDevice(e){const t=this.constructor,n=Object.prototype.hasOwnProperty.call(t,"_classCustomRules"),i=Object.prototype.hasOwnProperty.call(t,"defaultOptions"),o=n||i?t._classCustomRules:[];super._setOptionsByDevice([].concat(o||[],e||[]))}_isInitialOptionValue(e){return!(this.constructor._classCustomRules&&Object.prototype.hasOwnProperty.call(this._convertRulesToOptions(this.constructor._classCustomRules),e))&&super._isInitialOptionValue(e)}_attachWindowResizeCallback(){if(this._isDimensionChangeSupported()){const e=this._windowResizeCallBack=this._dimensionChanged.bind(this);f.default.add(e)}}_isDimensionChangeSupported(){return this._dimensionChanged!==S.prototype._dimensionChanged}_renderComponent(){(0,p.addShadowDomStyles)(this.$element()),this._initMarkup(),(0,_.hasWindow)()&&this._render()}_initMarkup(){const{rtlEnabled:e}=this.option()||{};this._renderElementAttributes(),this._toggleRTLDirection(e),this._renderVisibilityChange(),this._renderDimensions()}_render(){this._attachVisibilityChangeHandlers()}_renderElementAttributes(){const{elementAttr:e}=this.option()||{},t=(0,u.extend)({},e),n=t.class;delete t.class,this.$element().attr(t).removeClass(this._customClass).addClass(n),this._customClass=n}_renderVisibilityChange(){if(this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()){this.$element().addClass("dx-visibility-change-handler")}}_renderDimensions(){const e=this.$element(),t=e.get(0),n=this._getOptionValue("width",t),i=this._getOptionValue("height",t);this._isCssUpdateRequired(t,i,n)&&e.css({width:null===n?"":n,height:null===i?"":i})}_isCssUpdateRequired(e,t,n){return!!((0,g.isDefined)(n)||(0,g.isDefined)(t)||e.style.width||e.style.height)}_attachDimensionChangeHandlers(){const e=this.$element(),t=`${this.NAME}VisibilityChange`;i.resize.off(e,{namespace:t}),i.resize.on(e,(()=>this._dimensionChanged()),{namespace:t})}_attachVisibilityChangeHandlers(){if(this._isVisibilityChangeSupported()){const e=this.$element(),t=`${this.NAME}VisibilityChange`;this._isHidden=!this._isVisible(),i.visibility.off(e,{namespace:t}),i.visibility.on(e,(()=>this._checkVisibilityChanged("shown")),(()=>this._checkVisibilityChanged("hiding")),{namespace:t})}}_isVisible(){return this.$element().is(":visible")}_checkVisibilityChanged(e){this._isVisible()&&("hiding"!==e||this._isHidden?"shown"===e&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0)):(this._visibilityChanged(!1),this._isHidden=!0))}_isVisibilityChangeSupported(){return this._visibilityChanged!==S.prototype._visibilityChanged&&(0,_.hasWindow)()}_clean(){}_modelByElement(e){const{modelByElement:t}=this.option(),n=this.$element();return t?t(n):void 0}_invalidate(){if(this._isUpdateAllowed())throw s.default.Error("E0007");this._requireRefresh=!0}_refresh(){this._clean(),this._renderComponent()}_dispose(){this._templateManager&&this._templateManager.dispose(),super._dispose(),this._clean(),this._detachWindowResizeCallback()}_detachWindowResizeCallback(){this._isDimensionChangeSupported()&&f.default.remove(this._windowResizeCallBack)}_toggleRTLDirection(e){this.$element().toggleClass("dx-rtl",e)}_createComponent(e,t,n){const i=n??{},o=(0,c.grep)(this._getSynchronizableOptionsForCreateComponent(),(e=>!(e in i))),{integrationOptions:r}=this.option();let{nestedComponentOptions:a}=this.option();a=a??c.noop;const s=(0,u.extend)({integrationOptions:r},a(this));let d;if(o.forEach((e=>s[e]=this.option(e))),this._extendConfig(i,s),(0,g.isString)(t)){const n=(0,l.default)(e)[t](i);d=n[t]("instance")}else e&&(d=t.getInstance(e),d?d.option(i):d=new t(e,i));if(d){const e=e=>{let{name:t,value:n}=e;o.includes(t)&&d.option(t,n)};this.on("optionChanged",e),d.on("disposing",(()=>this.off("optionChanged",e)))}return d}_extendConfig(e,t){(0,d.each)(t,((t,n)=>{!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=n)}))}_defaultActionConfig(){const e=this.$element(),t=this._modelByElement(e);return(0,u.extend)(super._defaultActionConfig(),{context:t})}_defaultActionArgs(){const e=this.$element(),t=this._modelByElement(e),n=this.element();return(0,u.extend)(super._defaultActionArgs(),{element:n,model:t})}_optionChanged(e){const{name:t}=e;switch(t){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":this._invalidate();break;case"elementAttr":this._renderElementAttributes();break;case"disabled":case"integrationOptions":break;default:super._optionChanged(e)}}_removeAttributes(e){const t=e.attributes;for(let n=t.length-1;n>=0;n--){const i=t[n];if(i){const{name:t}=i;t.indexOf("aria-")&&-1===t.indexOf("dx-")&&"role"!==t&&"style"!==t&&"tabindex"!==t||e.removeAttribute(t)}}}_removeClasses(e){e.className=e.className.split(" ").filter((e=>0!==e.lastIndexOf("dx-",0))).join(" ")}_updateDOMComponent(e){e?this._renderComponent():this._requireRefresh&&(this._requireRefresh=!1,this._refresh())}endUpdate(){const e=this._isInitializingRequired();super.endUpdate(),this._isUpdateAllowed()&&this._updateDOMComponent(e)}$element(){return this._$element}element(){const e=this.$element();return(0,r.getPublicElement)(e)}dispose(){const e=this.$element().get(0);(0,a.cleanDataRecursive)(e,!0),e.textContent="",this._removeAttributes(e),this._removeClasses(e)}resetOption(e){if(super.resetOption(e),"width"===e||"height"===e){const t=this.initialOption(e);!(0,g.isDefined)(t)&&this.$element().css(e,"")}}_getAnonymousTemplateName(){}_initTemplateManager(){if(this._templateManager||!this._useTemplates())return;const{integrationOptions:e={}}=this.option(),{createTemplate:t}=e;this._templateManager=new v.default.TemplateManager(t,this._getAnonymousTemplateName()),this._initTemplates()}_initTemplates(){const{templates:e,anonymousTemplateMeta:t}=this._templateManager.extractTemplates(this.$element()),n=this.option(`integrationOptions.templates.${t.name}`);e.forEach((e=>{let{name:t,template:n}=e;this._options.silent(`integrationOptions.templates.${t}`,n)})),t.name&&!n&&(this._options.silent(`integrationOptions.templates.${t.name}`,t.template),this._options.silent("_hasAnonymousTemplateContent",!0))}_getTemplateByOption(e){return this._getTemplate(this.option(e))}_getTemplate(e){const t=this.option("integrationOptions.templates"),n=this.option("templatesRenderAsynchronously"),i=this.option("integrationOptions.skipTemplates");return this._templateManager.getTemplate(e,t,{isAsyncTemplate:n,skipTemplates:i},this)}_saveTemplate(e,t){this._setOptionWithoutOptionChange(`integrationOptions.templates.${e}`,this._templateManager._createTemplate(t))}_useTemplates(){return!0}}t.default=S},89275:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.WIDGET_CLASS=t.HOVER_STATE_CLASS=t.FOCUSED_STATE_CLASS=void 0,n(64044),n(69331),n(638);var i=n(42222),o=p(n(88412)),r=p(n(65951)),a=p(n(64553)),s=n(17781),l=n(52576),c=n(21274),u=n(11528),d=n(20142),h=n(35944),f=p(n(22331));function p(e){return e&&e.__esModule?e:{default:e}}const g=t.WIDGET_CLASS="dx-widget",_="dx-state-disabled",m=t.FOCUSED_STATE_CLASS="dx-state-focused",v=t.HOVER_STATE_CLASS="dx-state-hover";function b(e,t,n){e="role"===e||"id"===e?e:`aria-${e}`,t=(0,u.isDefined)(t)?t.toString():null,n.attr(e,t)}class y extends f.default{constructor(){super(...arguments),this._feedbackHideTimeout=400,this._feedbackShowTimeout=30}static getOptionsFromContainer(e){let{name:t,fullName:n,value:i}=e,o={};if(t===n)o=i;else{o[n.split(".").pop()]=i}return o}_supportedKeys(){return{}}_getDefaultOptions(){return(0,l.extend)(super._getDefaultOptions(),{hoveredElement:null,isActive:!1,disabled:!1,visible:!0,hint:void 0,activeStateEnabled:!1,onContentReady:null,hoverStateEnabled:!1,focusStateEnabled:!1,tabIndex:0,accessKey:void 0,onFocusIn:null,onFocusOut:null,onKeyboardHandled:null,ignoreParentReadOnly:!1,useResizeObserver:!0})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device(){const e=r.default.real(),{platform:t}=e,{version:n}=e;return"ios"===t&&(0,d.compare)(n,"13.3")<=0},options:{useResizeObserver:!1}}])}_init(){super._init(),this._initContentReadyAction()}_innerWidgetOptionChanged(e,t){const n=y.getOptionsFromContainer(t);e&&e.option(n),this._options.cache(t.name,n)}_bindInnerWidgetOptions(e,t){const n=()=>this._options.silent(t,(0,l.extend)({},e.option()));n(),e.on("optionChanged",n)}_getAriaTarget(){return this._focusTarget()}_initContentReadyAction(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]})}_initMarkup(){const{disabled:e,visible:t}=this.option();this.$element().addClass(g),this._toggleDisabledState(e),this._toggleVisibility(t),this._renderHint(),this._isFocusable()&&this._renderFocusTarget(),super._initMarkup()}_render(){super._render(),this._renderContent(),this._renderFocusState(),this._attachFeedbackEvents(),this._attachHoverEvents(),this._toggleIndependentState()}_renderHint(){const{hint:e}=this.option();this.$element().attr("title",e||null)}_renderContent(){(0,s.deferRender)((()=>this._disposed?void 0:this._renderContentImpl())).done((()=>this._disposed?void 0:this._fireContentReadyAction()))}_renderContentImpl(){}_fireContentReadyAction(){return(0,s.deferRender)((()=>{var e;return null===(e=this._contentReadyAction)||void 0===e?void 0:e.call(this)}))}_dispose(){this._contentReadyAction=null,this._detachKeyboardEvents(),super._dispose()}_resetActiveState(){this._toggleActiveState(this._eventBindingTarget(),!1)}_clean(){this._cleanFocusState(),this._resetActiveState(),super._clean(),this.$element().empty()}_toggleVisibility(e){this.$element().toggleClass("dx-state-invisible",!e)}_renderFocusState(){this._attachKeyboardEvents(),this._isFocusable()&&(this._renderFocusTarget(),this._attachFocusEvents(),this._renderAccessKey())}_renderAccessKey(){const e=this._focusTarget(),{accessKey:t}=this.option();e.attr("accesskey",t)}_isFocusable(){const{focusStateEnabled:e,disabled:t}=this.option();return e&&!t}_eventBindingTarget(){return this.$element()}_focusTarget(){return this._getActiveElement()}_isFocusTarget(e){return(0,a.default)(this._focusTarget()).toArray().includes(e)}_findActiveTarget(e){return e.find(this._activeStateUnit).not(`.${_}`)}_getActiveElement(){const e=this._eventBindingTarget();return this._activeStateUnit?this._findActiveTarget(e):e}_renderFocusTarget(){const{tabIndex:e}=this.option();this._focusTarget().attr("tabIndex",e)}_keyboardEventBindingTarget(){return this._eventBindingTarget()}_refreshFocusEvent(){this._detachFocusEvents(),this._attachFocusEvents()}_focusEventTarget(){return this._focusTarget()}_focusInHandler(e){e.isDefaultPrevented()||this._createActionByOption("onFocusIn",{beforeExecute:()=>this._updateFocusState(e,!0),excludeValidators:["readOnly"]})({event:e})}_focusOutHandler(e){e.isDefaultPrevented()||this._createActionByOption("onFocusOut",{beforeExecute:()=>this._updateFocusState(e,!1),excludeValidators:["readOnly","disabled"]})({event:e})}_updateFocusState(e,t){let{target:n}=e;this._isFocusTarget(n)&&this._toggleFocusClass(t,(0,a.default)(n))}_toggleFocusClass(e,t){(t&&t.length?t:this._focusTarget()).toggleClass(m,e)}_hasFocusClass(e){return(0,a.default)(e??this._focusTarget()).hasClass(m)}_isFocused(){return this._hasFocusClass()}_getKeyboardListeners(){return[]}_attachKeyboardEvents(){this._detachKeyboardEvents();const{focusStateEnabled:e,onKeyboardHandled:t}=this.option(),n=this._getKeyboardListeners().length;(e||n||!!t)&&(this._keyboardListenerId=i.keyboard.on(this._keyboardEventBindingTarget(),this._focusTarget(),(e=>this._keyboardHandler(e))))}_keyboardHandler(e,t){if(!t){const{originalEvent:t,keyName:n,which:i}=e,o=this._supportedKeys(t),r=o[n]||o[i];if(void 0!==r){if(!r.bind(this)(t,e))return!1}}const n=this._getKeyboardListeners(),{onKeyboardHandled:i}=this.option();return n.forEach((t=>t&&t._keyboardHandler(e))),i&&i(e),!0}_refreshFocusState(){this._cleanFocusState(),this._renderFocusState()}_cleanFocusState(){this._focusTarget().removeAttr("tabIndex"),this._toggleFocusClass(!1),this._detachFocusEvents(),this._detachKeyboardEvents()}_detachKeyboardEvents(){i.keyboard.off(this._keyboardListenerId),this._keyboardListenerId=null}_attachHoverEvents(){const{hoverStateEnabled:e}=this.option(),t=this._activeStateUnit,n="UIFeedback",r=this._eventBindingTarget();i.hover.off(r,{selector:t,namespace:n}),e&&i.hover.on(r,new o.default((e=>{let{event:t,element:n}=e;this._hoverStartHandler(t),this.option("hoveredElement",(0,a.default)(n))}),{excludeValidators:["readOnly"]}),(e=>{this.option("hoveredElement",null),this._hoverEndHandler(e)}),{selector:t,namespace:n})}_attachFeedbackEvents(){const{activeStateEnabled:e}=this.option(),t=this._activeStateUnit,n="UIFeedback",r=this._eventBindingTarget();i.active.off(r,{namespace:n,selector:t}),e&&i.active.on(r,new o.default((e=>{let{event:t,element:n}=e;return this._toggleActiveState((0,a.default)(n),!0,t)})),new o.default((e=>{let{event:t,element:n}=e;return this._toggleActiveState((0,a.default)(n),!1,t)}),{excludeValidators:["disabled","readOnly"]}),{showTimeout:this._feedbackShowTimeout,hideTimeout:this._feedbackHideTimeout,selector:t,namespace:n})}_detachFocusEvents(){const e=this._focusEventTarget();i.focus.off(e,{namespace:`${this.NAME}Focus`})}_attachFocusEvents(){const e=this._focusEventTarget();i.focus.on(e,(e=>this._focusInHandler(e)),(e=>this._focusOutHandler(e)),{namespace:`${this.NAME}Focus`,isFocusable:(e,t)=>(0,a.default)(t).is(h.focusable)})}_hoverStartHandler(e){}_hoverEndHandler(e){}_toggleActiveState(e,t,n){this.option("isActive",t),e.toggleClass("dx-state-active",t)}_updatedHover(){const e=this._options.silent("hoveredElement");this._hover(e,e)}_findHoverTarget(e){return e&&e.closest(this._activeStateUnit||this._eventBindingTarget())}_hover(e,t){const{hoverStateEnabled:n,disabled:i,isActive:o}=this.option();if((t=this._findHoverTarget(t))&&t.toggleClass(v,!1),e&&n&&!i&&!o){const t=this._findHoverTarget(e);t&&t.toggleClass(v,!0)}}_toggleDisabledState(e){this.$element().toggleClass(_,Boolean(e)),this.setAria("disabled",e||void 0)}_toggleIndependentState(){const{ignoreParentReadOnly:e}=this.option();this.$element().toggleClass("dx-state-independent",e)}_setWidgetOption(e,t){if(!this[e])return;if((0,u.isPlainObject)(t[0]))return void(0,c.each)(t[0],((t,n)=>this._setWidgetOption(e,[t,n])));const n=t[0];let i=t[1];1===t.length&&(i=this.option(n));const o=this[`${e}OptionMap`];this[e].option(o?o(n):n,i)}_optionChanged(e){const{name:t,value:n,previousValue:i}=e;switch(t){case"disabled":this._toggleDisabledState(n),this._updatedHover(),this._refreshFocusState();break;case"hint":this._renderHint();break;case"ignoreParentReadOnly":this._toggleIndependentState();break;case"activeStateEnabled":this._attachFeedbackEvents();break;case"hoverStateEnabled":this._attachHoverEvents(),this._updatedHover();break;case"tabIndex":case"focusStateEnabled":this._refreshFocusState();break;case"onFocusIn":case"onFocusOut":case"useResizeObserver":break;case"accessKey":this._renderAccessKey();break;case"hoveredElement":this._hover(n,i);break;case"isActive":this._updatedHover();break;case"visible":this._toggleVisibility(n),this._isVisibilityChangeSupported()&&this._checkVisibilityChanged(n?"shown":"hiding");break;case"onKeyboardHandled":this._attachKeyboardEvents();break;case"onContentReady":this._initContentReadyAction();break;default:super._optionChanged(e)}}_isVisible(){const{visible:e}=this.option();return super._isVisible()&&e}beginUpdate(){this._ready(!1),super.beginUpdate()}endUpdate(){super.endUpdate(),this._initialized&&this._ready(!0)}_ready(e){return 0===arguments.length?!!this._isReady:(this._isReady=!!e,this._isReady)}setAria(){if((0,u.isPlainObject)(arguments.length<=0?void 0:arguments[0])){const e=(arguments.length<=1?void 0:arguments[1])||this._getAriaTarget();(0,c.each)(arguments.length<=0?void 0:arguments[0],((t,n)=>b(t,n,e)))}else b(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],(arguments.length<=2?void 0:arguments[2])||this._getAriaTarget())}isReady(){return this._ready()}repaint(){this._refresh()}focus(){i.focus.trigger(this._focusTarget())}registerKeyHandler(e,t){const n=this._supportedKeys();this._supportedKeys=()=>(0,l.extend)(n,{[e]:t})}}t.default=y},79562:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DataSource=void 0;var i=n(43792),o=n(63326),r=m(n(95853)),a=n(97169),s=n(82812),l=n(89358),c=m(n(55620)),u=n(2607),d=n(87739),h=n(52576),f=n(21274),p=n(65221),g=n(11528),_=m(n(39315));function m(e){return e&&e.__esModule?e:{default:e}}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v.apply(null,arguments)}t.DataSource=c.default.inherit({ctor(e){e=(0,a.normalizeDataSourceOptions)(e),this._eventsStrategy=new u.EventsStrategy(this,{syncStrategy:!0}),this._store=e.store,this._changedTime=0;if(0!==e.pushAggregationTimeout){const t=void 0===e.pushAggregationTimeout?()=>5*this._changedTime:e.pushAggregationTimeout;let n,i;const o=(0,l.throttleChanges)((e=>{n.resolve();(0,d.when)(...i).done((()=>this._onPush(e))),i=void 0,n=void 0}),t);this._onPushHandler=e=>{this._aggregationTimeoutId=o(e.changes),n||(n=new d.Deferred),i=e.waitFor,e.waitFor.push(n.promise())},this._store.on("beforePushAggregation",this._onPushHandler)}else this._onPushHandler=e=>this._onPush(e),this._store.on("push",this._onPushHandler);this._storeLoadOptions=this._extractLoadOptions(e),this._mapFunc=e.map,this._postProcessFunc=e.postProcess,this._pageIndex=void 0!==e.pageIndex?e.pageIndex:0,this._pageSize=void 0!==e.pageSize?e.pageSize:20,this._loadingCount=0,this._loadQueue=this._createLoadQueue(),this._searchValue="searchValue"in e?e.searchValue:null,this._searchOperation=e.searchOperation||"contains",this._searchExpr=e.searchExpr,this._paginate=e.paginate,this._reshapeOnPush=e.reshapeOnPush??!1,(0,f.each)(["onChanged","onLoadError","onLoadingChanged","onCustomizeLoadResult","onCustomizeStoreLoadOptions"],((t,n)=>{n in e&&this.on(n.substr(2,1).toLowerCase()+n.substr(3),e[n])})),this._operationManager=new r.default,this._init()},_init(){this._items=[],this._userData={},this._totalCount=-1,this._isLoaded=!1,(0,g.isDefined)(this._paginate)||(this._paginate=!this.group()),this._isLastPage=!this._paginate},dispose(){var e;this._store.off("beforePushAggregation",this._onPushHandler),this._store.off("push",this._onPushHandler),this._eventsStrategy.dispose(),clearTimeout(this._aggregationTimeoutId),null===(e=this._delayedLoadTask)||void 0===e||e.abort(),this._operationManager.cancelAll(),delete this._store,delete this._items,delete this._delayedLoadTask,this._disposed=!0},_extractLoadOptions(e){const t={};let n=["sort","filter","langParams","select","group","requireTotalCount"];const i=this._store._customLoadOptions();return i&&(n=n.concat(i)),(0,f.each)(n,(function(){t[this]=e[this]})),t},loadOptions(){return this._storeLoadOptions},items(){return this._items},pageIndex(e){if(!(0,g.isNumeric)(e))return this._pageIndex;this._pageIndex=e,this._isLastPage=!this._paginate},paginate(e){if(!(0,g.isBoolean)(e))return this._paginate;this._paginate!==e&&(this._paginate=e,this.pageIndex(0))},pageSize(e){if(!(0,g.isNumeric)(e))return this._pageSize;this._pageSize=e},isLastPage(){return this._isLastPage},generateStoreLoadOptionAccessor(e){return t=>{const n=(0,a.normalizeStoreLoadOptionAccessorArguments)(t);if(void 0===n)return this._storeLoadOptions[e];this._storeLoadOptions[e]=n}},sort(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.generateStoreLoadOptionAccessor("sort")(t)},filter(){const e=(0,a.normalizeStoreLoadOptionAccessorArguments)(arguments);if(void 0===e)return this._storeLoadOptions.filter;this._storeLoadOptions.filter=e,this.pageIndex(0)},group(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.generateStoreLoadOptionAccessor("group")(t)},select(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.generateStoreLoadOptionAccessor("select")(t)},requireTotalCount(e){if(!(0,g.isBoolean)(e))return this._storeLoadOptions.requireTotalCount;this._storeLoadOptions.requireTotalCount=e},searchValue(e){if(arguments.length<1)return this._searchValue;this._searchValue=e,this.pageIndex(0)},searchOperation(e){if(!(0,g.isString)(e))return this._searchOperation;this._searchOperation=e,this.pageIndex(0)},searchExpr(e){const t=arguments.length;if(0===t)return this._searchExpr;t>1&&(e=[].slice.call(arguments)),this._searchExpr=e,this.pageIndex(0)},store(){return this._store},key(){var e;return null===(e=this._store)||void 0===e?void 0:e.key()},totalCount(){return this._totalCount},isLoaded(){return this._isLoaded},isLoading(){return this._loadingCount>0},beginLoading(){this._changeLoadingCount(1)},endLoading(){this._changeLoadingCount(-1)},_createLoadQueue:()=>(0,p.create)(),_changeLoadingCount(e){const t=this.isLoading();this._loadingCount+=e;const n=this.isLoading();t^n&&this._eventsStrategy.fireEvent("loadingChanged",[n])},_scheduleLoadCallbacks(e){this.beginLoading(),e.always((()=>{this.endLoading()}))},_scheduleFailCallbacks(e){var t=this;e.fail((function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];n[0]!==a.CANCELED_TOKEN&&t._eventsStrategy.fireEvent("loadError",n)}))},_fireChanged(e){const t=new Date;this._eventsStrategy.fireEvent("changed",e),this._changedTime=new Date-t},_scheduleChangedCallbacks(e){e.done((()=>this._fireChanged()))},loadSingle(e,t){const n=new d.Deferred,i=this.key(),r=this._store,a=this._createStoreLoadOptions();this._scheduleFailCallbacks(n),arguments.length<2&&(t=e,e=i),delete a.skip,delete a.group,delete a.refresh,delete a.pageIndex,delete a.searchString;return(e===i||r instanceof o.CustomStore&&!r._byKeyViaLoad()?r.byKey(t,a):(a.take=1,a.filter=a.filter?[a.filter,[e,t]]:[e,t],r.load(a))).fail(n.reject).done((e=>{const t=Array.isArray(e)&&!e.length;!(0,g.isDefined)(e)||t?n.reject(s.errors.Error("E4009")):(Array.isArray(e)||(e=[e]),n.resolve(this._applyMapFunction(e)[0]))})),n.promise()},load(){const e=new d.Deferred,t=()=>{if(!this._disposed&&(0,a.isPending)(e))return this._loadFromStore(n,e)};this._scheduleLoadCallbacks(e),this._scheduleFailCallbacks(e),this._scheduleChangedCallbacks(e);const n=this._createLoadOperation(e);return this._eventsStrategy.fireEvent("customizeStoreLoadOptions",[n]),this._loadQueue.add((()=>("number"==typeof n.delay?this._delayedLoadTask=_.default.executeAsync(t,n.delay):t(),e.promise()))),e.promise({operationId:n.operationId})},_onPush(e){if(this._reshapeOnPush)this.load();else{const t={changes:e};this._eventsStrategy.fireEvent("changing",[t]);const n=this.group(),o=this.items();let r=0,a=this.paginate()||n?e.filter((e=>"update"===e.type)):e;n&&(r=Array.isArray(n)?n.length:1),this._mapFunc&&a.forEach((e=>{"insert"===e.type&&(e.data=this._mapFunc(e.data))})),t.postProcessChanges&&(a=t.postProcessChanges(a)),(0,i.applyBatch)({keyInfo:this.store(),data:o,changes:a,groupCount:r,useInsertIndex:!0}),this._fireChanged([{changes:e}])}},_createLoadOperation(e){const t=this._operationManager.add(e),n=this._createStoreLoadOptions();return this._store&&!(0,g.isEmptyObject)(null==n?void 0:n.langParams)&&(this._store._langParams=v({},this._store._langParams,n.langParams)),e.always((()=>this._operationManager.remove(t))),{operationId:t,storeLoadOptions:n}},reload(){return this.store()._clearCache(),this._init(),this.load()},cancel(e){return this._operationManager.cancel(e)},cancelAll(){return this._operationManager.cancelAll()},_addSearchOptions(e){this._disposed||(this.store()._useDefaultSearch?this._addSearchFilter(e):(e.searchOperation=this._searchOperation,e.searchValue=this._searchValue,e.searchExpr=this._searchExpr))},_createStoreLoadOptions(){const e=(0,h.extend)({},this._storeLoadOptions);return this._addSearchOptions(e),this._paginate&&this._pageSize&&(e.skip=this._pageIndex*this._pageSize,e.take=this._pageSize),e.userData=this._userData,e},_addSearchFilter(e){const t=this._searchValue,n=this._searchOperation;let i=this._searchExpr;const o=[];t&&(i||(i="this"),Array.isArray(i)||(i=[i]),(0,f.each)(i,((e,i)=>{o.length&&o.push("or"),o.push([i,n,t])})),e.filter?e.filter=[o,e.filter]:e.filter=o)},_loadFromStore(e,t){const n=(n,i)=>{if(this._disposed)return;if(!(0,a.isPending)(t))return;const o=(0,h.extend)((0,a.normalizeLoadResult)(n,i),e);this._eventsStrategy.fireEvent("customizeLoadResult",[o]),(0,d.when)(o.data).done((e=>{o.data=e,this._processStoreLoadResult(o,t)})).fail(t.reject)};return e.data?(new d.Deferred).resolve(e.data).done(n):this.store().load(e.storeLoadOptions).done(n).fail(t.reject)},_processStoreLoadResult(e,t){let{data:n}=e,{extra:i}=e;const{storeLoadOptions:o}=e,r=()=>(this._isLoaded=!0,this._totalCount=isFinite(i.totalCount)?i.totalCount:-1,t.resolve(n,i)),a=()=>{this.store().totalCount(o).done((e=>{i.totalCount=e,r()})).fail(t.reject)};this._disposed||(n=this._applyPostProcessFunction(this._applyMapFunction(n)),(0,g.isObject)(i)||(i={}),this._items=n,(!n.length||!this._paginate||this._pageSize&&n.length<this._pageSize)&&(this._isLastPage=!0),o.requireTotalCount&&!isFinite(i.totalCount)?a():r())},_applyMapFunction(e){return this._mapFunc?(0,a.mapDataRespectingGrouping)(e,this._mapFunc,this.group()):e},_applyPostProcessFunction(e){return this._postProcessFunc?this._postProcessFunc(e):e},on(e,t){return this._eventsStrategy.on(e,t),this},off(e,t){return this._eventsStrategy.off(e,t),this}})},9427:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(97169);t.default=class{constructor(){this._counter=-1,this._deferreds={}}add(e){return this._counter++,this._deferreds[this._counter]=e,this._counter}remove(e){return delete this._deferreds[e]}cancel(e){return e in this._deferreds&&(this._deferreds[e].reject(i.CANCELED_TOKEN),!0)}cancelAll(){for(;this._counter>-1;)this.cancel(this._counter),this._counter--}}},23923:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeStoreLoadOptionAccessorArguments=t.normalizeLoadResult=t.normalizeDataSourceOptions=t.mapDataRespectingGrouping=t.isPending=t.CANCELED_TOKEN=void 0;var i=h(n(80556)),o=n(63326),r=n(89358),a=h(n(78670)),s=n(52576),l=n(21274),c=n(11528),u=h(n(77735));const d=["items"];function h(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f.apply(null,arguments)}t.CANCELED_TOKEN="canceled";t.isPending=e=>"pending"===e.state();t.normalizeStoreLoadOptionAccessorArguments=e=>{switch(e.length){case 0:return;case 1:return e[0]}return[].slice.call(e)};const p=(e,t,n)=>Array.isArray(e)?t?((e,t,n)=>(0,l.map)(e,(e=>f({},function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,d),{items:p(e.items,t-1,n)}))))(e,t,n):(0,l.map)(e,n):e;t.mapDataRespectingGrouping=(e,t,n)=>{const i=n?(0,r.normalizeSortingInfo)(n).length:0;return p(e,i,t)};t.normalizeLoadResult=(e,t)=>{var n;return null!==(n=e)&&void 0!==n&&n.data&&(t=e,e=e.data),Array.isArray(e)||(e=[e]),{data:e,extra:t}};const g=e=>{const t={};return(0,l.each)(["useDefaultSearch","key","load","loadMode","cacheRawData","byKey","lookup","totalCount","insert","update","remove"],(function(){t[this]=e[this],delete e[this]})),new o.CustomStore(t)},_=(e,t)=>new o.CustomStore({load:()=>a.default.sendRequest({url:e,dataType:"json"}),loadMode:null==t?void 0:t.fromUrlLoadMode});t.normalizeDataSourceOptions=(e,t)=>{let n;return"string"==typeof e&&(e={paginate:!1,store:_(e,t)}),void 0===e&&(e=[]),void 0===(e=Array.isArray(e)||e instanceof u.default?{store:e}:(0,s.extend)({},e)).store&&(e.store=[]),n=e.store,"load"in e?n=g(e):Array.isArray(n)?n=new i.default(n):(0,c.isPlainObject)(n)&&(n=(e=>{const t=e.type;return delete e.type,u.default.create(t,e)})((0,s.extend)({},n))),e.store=n,e}},1773:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(82812),o=f(n(66177)),r=n(89358),a=f(n(55620)),s=n(2607),l=n(17781),c=n(31e3),u=n(87739),d=n(21274),h=n(11528);function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},p.apply(null,arguments)}const{abstract:g}=a.default,{queryByOptions:_}=o.default,m={},v=a.default.inherit({_langParams:{},ctor(e){const t=this;e=e||{},this._eventsStrategy=new s.EventsStrategy(this),(0,d.each)(["onLoaded","onLoading","onInserted","onInserting","onUpdated","onUpdating","onPush","onRemoved","onRemoving","onModified","onModifying"],((n,i)=>{i in e&&t.on(i.slice(2).toLowerCase(),e[i])})),this._key=e.key,this._errorHandler=e.errorHandler,this._useDefaultSearch=!0},_clearCache:l.noop,_customLoadOptions:()=>null,key(){return this._key},keyOf(e){return this._keyGetter||(this._keyGetter=(0,c.compileGetter)(this.key())),this._keyGetter(e)},_requireKey(){if(!this.key())throw i.errors.Error("E4005")},load(e){const t=this;return e=e||{},this._eventsStrategy.fireEvent("loading",[e]),this._withLock(this._loadImpl(e)).done((n=>{t._eventsStrategy.fireEvent("loaded",[n,e])}))},_loadImpl(e){return(0,h.isEmptyObject)(this._langParams)||((e=e||{})._langParams=p({},this._langParams,e._langParams)),_(this.createQuery(e),e).enumerate()},_withLock(e){const t=new u.Deferred;return e.done((function(){const e=this,n=arguments;r.processRequestResultLock.promise().done((()=>{t.resolveWith(e,n)}))})).fail((function(){t.rejectWith(this,arguments)})),t},createQuery:g,totalCount(e){return this._totalCountImpl(e)},_totalCountImpl(e){return _(this.createQuery(e),e,!0).count()},byKey(e,t){return this._addFailHandlers(this._withLock(this._byKeyImpl(e,t)))},_byKeyImpl:g,insert(e){const t=this;return t._eventsStrategy.fireEvent("modifying"),t._eventsStrategy.fireEvent("inserting",[e]),t._addFailHandlers(t._insertImpl(e).done(((e,n)=>{t._eventsStrategy.fireEvent("inserted",[e,n]),t._eventsStrategy.fireEvent("modified")})))},_insertImpl:g,update(e,t){const n=this;return n._eventsStrategy.fireEvent("modifying"),n._eventsStrategy.fireEvent("updating",[e,t]),n._addFailHandlers(n._updateImpl(e,t).done((()=>{n._eventsStrategy.fireEvent("updated",[e,t]),n._eventsStrategy.fireEvent("modified")})))},_updateImpl:g,push(e){const t={changes:e,waitFor:[]};this._eventsStrategy.fireEvent("beforePushAggregation",[t]),(0,u.when)(...t.waitFor).done((()=>{this._pushImpl(e),this._eventsStrategy.fireEvent("beforePush",[{changes:e}]),this._eventsStrategy.fireEvent("push",[e])}))},_pushImpl:l.noop,remove(e){const t=this;return t._eventsStrategy.fireEvent("modifying"),t._eventsStrategy.fireEvent("removing",[e]),t._addFailHandlers(t._removeImpl(e).done((e=>{t._eventsStrategy.fireEvent("removed",[e]),t._eventsStrategy.fireEvent("modified")})))},_removeImpl:g,_addFailHandlers(e){return e.fail(this._errorHandler).fail(i.handleError)},on(e,t){return this._eventsStrategy.on(e,t),this},off(e,t){return this._eventsStrategy.off(e,t),this}});var b;v.create=function(e,t){if(!(e in m))throw i.errors.Error("E4020",e);return new m[e](t)},v.registerClass=function(e,t){return t&&(m[t]=e),e},v.inherit=(b=v.inherit,function(e,t){const n=b.apply(this,[e]);return v.registerClass(n,t),n});t.default=v},79587:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=n(82812),r=n(89358),a=(i=n(55620))&&i.__esModule?i:{default:i},s=n(31e3),l=n(87739),c=n(21274),u=n(11528);const d=a.default.inherit({toArray(){const e=[];for(this.reset();this.next();)e.push(this.current());return e},countable:()=>!1}),h=d.inherit({ctor(e){this.array=e,this.index=-1},next(){return this.index+1<this.array.length&&(this.index++,!0)},current(){return this.array[this.index]},reset(){this.index=-1},toArray(){return this.array.slice(0)},countable:()=>!0,count(){return this.array.length}}),f=d.inherit({ctor(e){this.iter=e},next(){return this.iter.next()},current(){return this.iter.current()},reset(){return this.iter.reset()}}),p=f.inherit({ctor(e,t){this.callBase(e),this.index=-1,this.mapper=t},current(){return this.mapper(this.callBase(),this.index)},next(){const e=this.callBase();return e&&this.index++,e}}),g=d.inherit({ctor(e,t,n,i){this.langParams=e.langParams,e instanceof p||((e=new p(e,this._wrap)).langParams=this.langParams),this.iter=e,this.rules=[{getter:t,desc:n,compare:i,langParams:this.langParams}]},thenBy(e,t,n){const i=new g(this.sortedIter||this.iter,e,t,n);return this.sortedIter||(i.rules=this.rules.concat(i.rules)),i},next(){return this._ensureSorted(),this.sortedIter.next()},current(){return this._ensureSorted(),this.sortedIter.current()},reset(){delete this.sortedIter},countable(){return this.sortedIter||this.iter.countable()},count(){return this.sortedIter?this.sortedIter.count():this.iter.count()},_ensureSorted(){const e=this;e.sortedIter||((0,c.each)(e.rules,(function(){this.getter=(0,s.compileGetter)(this.getter)})),e.sortedIter=new p(new h(this.iter.toArray().sort(((t,n)=>e._compare(t,n)))),e._unwrap))},_wrap:(e,t)=>({index:t,value:e}),_unwrap:e=>e.value,_getDefaultCompare:e=>(t,n)=>function(e,t,n){return(0,u.isString)(e)&&(0,u.isString)(t)&&(null!=n&&n.locale||null!=n&&n.collatorOptions)?new Intl.Collator((null==n?void 0:n.locale)||void 0,(null==n?void 0:n.collatorOptions)||void 0).compare(e,t):(e=(0,s.toComparable)(e,!1,n),t=(0,s.toComparable)(t,!1,n),null===e&&null!==t?-1:null!==e&&null===t||void 0===e&&void 0!==t?1:void 0!==e&&void 0===t||e<t?-1:e>t?1:0)}(t,n,e),_compare(e,t){const n=e.index,i=t.index;if((e=e.value)===(t=t.value))return n-i;for(let n=0,i=this.rules.length;n<i;n++){const i=this.rules[n],o=i.getter(e),r=i.getter(t),a=(i.compare||this._getDefaultCompare(i.langParams))(o,r);if(a)return i.desc?-a:a}return n-i}}),_=function(){let e={};const t=t=>(0,s.toComparable)(t,!1,e),n=function(n){if((0,r.isUniformEqualsByOr)(n))return(e=>{const n=(0,s.compileGetter)(e[0][0]),i=e.reduce(((e,n,i)=>(i%2==0&&e.push(t(n[2])),e)),[]);return e=>{const o=t(n(e));return i.some((e=>l(e)?o===e:o==e))}})(n);const i=[];let a=!1,d=!1;return(0,c.each)(n,(function(){if(Array.isArray(this)||(0,u.isFunction)(this)){if(i.length>1&&a!==d)throw o.errors.Error("E4019");i.push(_(this,e)),a=d,d=!0}else d=(0,r.isConjunctiveOperator)(this)})),function(e){let t=a;for(let n=0;n<i.length;n++)if(i[n](e)!==a){t=!a;break}return t}},i=function(t){var n;return(0,u.isDefined)(t)?null!==(n=e)&&void 0!==n&&n.locale?t.toLocaleString(e.locale):t.toString():""};function a(e,n,i){return function(o){o=t(e(o));let r=l(n)?o===n:o==n;return i&&(r=!r),r}}function l(e){return""===e||0===e||!1===e}return function(l,c){return e=c||{},(0,u.isFunction)(l)?l:(0,r.isGroupCriterion)(l)?n(l):(0,r.isUnaryOperation)(l)?function(t){const n=t[0],i=_(t[1],e);if("!"===n)return function(e){return!i(e)};throw o.errors.Error("E4003",n)}(l):function(e){e=(0,r.normalizeBinaryCriterion)(e);const n=(0,s.compileGetter)(e[0]),l=e[1];let c=e[2];c=t(c);const u=(e,i)=>(e=t(n(e)),(null!=c&&null!=e||c===e)&&i(e,c));switch(l.toLowerCase()){case"=":return a(n,c);case"<>":return a(n,c,!0);case">":return e=>u(e,((e,t)=>e>t));case"<":return e=>u(e,((e,t)=>e<t));case">=":return e=>u(e,((e,t)=>e>=t));case"<=":return e=>u(e,((e,t)=>e<=t));case"startswith":return e=>t(i(n(e))).startsWith(c);case"endswith":return e=>t(i(n(e))).endsWith(c);case"contains":return e=>t(i(n(e))).includes(c);case"notcontains":return e=>!t(i(n(e))).includes(c)}throw o.errors.Error("E4003",l)}(l)}}(),m=f.inherit({ctor(e,t){this.callBase(e),this.langParams=e.langParams,this.criteria=_(t,this.langParams)},next(){for(;this.iter.next();)if(this.criteria(this.current()))return!0;return!1}}),v=d.inherit({ctor(e,t){this.iter=e,this.getter=t},next(){return this._ensureGrouped(),this.groupedIter.next()},current(){return this._ensureGrouped(),this.groupedIter.current()},reset(){delete this.groupedIter},countable(){return!!this.groupedIter},count(){return this.groupedIter.count()},_ensureGrouped(){if(this.groupedIter)return;const e={},t=[],{iter:n}=this,i=(0,s.compileGetter)(this.getter);for(n.reset();n.next();){const o=n.current(),r=i(o);r in e?e[r].push(o):(e[r]=[o],t.push(r))}this.groupedIter=new h((0,c.map)(t,(t=>({key:t,items:e[t]}))))}}),b=f.inherit({ctor(e,t){this.callBase(e),this.getter=(0,s.compileGetter)(t)},current(){return this.getter(this.callBase())},countable(){return this.iter.countable()},count(){return this.iter.count()}}),y=f.inherit({ctor(e,t,n){this.callBase(e),this.skip=Math.max(0,t),this.take=Math.max(0,n),this.pos=0},next(){if(this.pos>=this.skip+this.take)return!1;for(;this.pos<this.skip&&this.iter.next();)this.pos++;return this.pos++,this.iter.next()},reset(){this.callBase(),this.pos=0},countable(){return this.iter.countable()},count(){return Math.min(this.iter.count()-this.skip,this.take)}}),x=function(e,t){t=t||{},e instanceof d||(e=new h(e)),t.langParams&&(e.langParams=t.langParams);const n=function(e){const n=t.errorHandler;n&&n(e),(0,o.handleError)(e)},i=function(t){const i=(new l.Deferred).fail(n);let o;const{step:r}=t,{finalize:a}=t;try{e.reset(),o="seed"in t?t.seed:e.next()?e.current():NaN;let n=o;for(;e.next();)n=r(n,e.current());i.resolve(a?a(n):n)}catch(e){i.reject(e)}return i.promise()},a=function(e){return i(r.aggregators[e])},c=function(t){return(0,u.isFunction)(t)||Array.isArray(t)||(t=[].slice.call(arguments)),p(new b(e,t))},f=function(e){return c((0,s.compileGetter)(e))};function p(e){return x(e,t)}return{toArray:()=>e.toArray(),enumerate(){const t=(new l.Deferred).fail(n);try{t.resolve(e.toArray())}catch(e){t.reject(e)}return t.promise()},setLangParams(t){e.langParams=t},sortBy:(t,n,i)=>p(new g(e,t,n,i)),thenBy(t,n,i){if(e instanceof g)return p(e.thenBy(t,n,i));throw o.errors.Error("E4004")},filter(t){return Array.isArray(t)||(t=[].slice.call(arguments)),p(new m(e,t))},slice:(t,n)=>(void 0===n&&(n=Number.MAX_VALUE),p(new y(e,t,n))),select:c,groupBy:t=>p(new v(e,t)),aggregate:function(e,t,n){return i(arguments.length<2?{step:arguments[0]}:{seed:e,step:t,finalize:n})},count(){if(e.countable()){const t=(new l.Deferred).fail(n);try{t.resolve(e.count())}catch(e){t.reject(e)}return t.promise()}return a("count")},sum:e=>e?f(e).sum():a("sum"),min:e=>e?f(e).min():a("min"),max:e=>e?f(e).max():a("max"),avg:e=>e?f(e).avg():a("avg")}};t.default=x},11338:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(43792),o=n(82812),r=s(n(30771)),a=n(89358);function s(e){return e&&e.__esModule?e:{default:e}}const l=s(n(77735)).default.inherit({ctor(e){e=Array.isArray(e)?{data:e}:e||{},this.callBase(e);const t=e.data;if(t&&!Array.isArray(t))throw o.errors.Error("E4006");this._array=t||[]},createQuery(){return(0,r.default)(this._array,{errorHandler:this._errorHandler})},_byKeyImpl(e){const t=(0,i.indexByKey)(this,this._array,e);return-1===t?(0,a.rejectedPromise)(o.errors.Error("E4009")):(0,a.trivialPromise)(this._array[t])},_insertImpl(e){return(0,i.insert)(this,this._array,e)},_pushImpl(e){(0,i.applyBatch)({keyInfo:this,data:this._array,changes:e})},_updateImpl(e,t){return(0,i.update)(this,this._array,e,t)},_removeImpl(e){return(0,i.remove)(this,this._array,e)},clear(){this._eventsStrategy.fireEvent("modifying"),this._array=[],this._eventsStrategy.fireEvent("modified")}},"array");t.default=l},3198:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.applyBatch=v,t.applyChanges=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{keyExpr:i="id",immutable:o=!0}=n,r=(0,s.compileGetter)(i);return v({keyInfo:{key:()=>i,keyOf:e=>r(e)},data:e,changes:t,immutable:o,disableCache:!0,logError:!0})},t.createObjectWithChanges=m,t.indexByKey=S,t.insert=x,t.remove=C,t.update=y;var i=n(82812),o=n(89358),r=d(n(66636)),a=d(n(19427)),s=n(31e3),l=n(52576),c=n(22263),u=n(11528);function d(e){return e&&e.__esModule?e:{default:e}}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h.apply(null,arguments)}function f(e,t,n,i){let o,r;if(i){for(let a=0;a<t.length;a++)if(o=t[a].items||t[a].collapsedItems||[],r=f(e,o||[],n,i-1),r)return r}else if(S(e,t,n)>=0)return t}function p(e,t,n,i){return i?f(e,t,n,i)||[]:t}function g(e,t,n){e._dataByKeyMap&&(e._dataByKeyMap[JSON.stringify(t)]=n,e._dataByKeyMapLength+=n?1:-1)}function _(e,t,n){n=n||new WeakMap;const i=e?Object.create(Object.getPrototypeOf(e)):{};e&&n.set(e,i);const o=h({},e);(0,c.deepExtendArraySafe)(i,o,!0,!0,!0);for(const e in o){const r=o[e],a=null==t?void 0:t[e];(0,u.isObject)(r)&&!(0,u.isPlainObject)(r)&&(0,u.isObject)(a)&&!n.has(r)&&(i[e]=_(r,a,n))}for(const e in i){const t=i[e];(0,u.isObject)(t)&&n.has(t)&&(i[e]=n.get(t))}return i}function m(e,t){const n=_(e,t);return(0,c.deepExtendArraySafe)(n,t,!0,!0,!0)}function v(e){let{keyInfo:t,data:n,changes:i,groupCount:o,useInsertIndex:r,immutable:a,disableCache:s,logError:l,skipCopying:c}=e;const d=!0===a?[...n]:n;return i.forEach((e=>{const n="insert"===e.type?d:p(t,d,e.key,o);switch(!s&&function(e,t){if(e.key()&&(!t._dataByKeyMap||t._dataByKeyMapLength!==t.length)){const n={},i=t.length;for(let o=0;o<i;o++)n[JSON.stringify(e.keyOf(t[o]))]=t[o];t._dataByKeyMap=n,t._dataByKeyMapLength=i}}(t,n),e.type){case"update":y(t,n,e.key,e.data,!0,a,l);break;case"insert":x(t,n,e.data,r&&(0,u.isDefined)(e.index)?e.index:-1,!0,l,c);break;case"remove":C(t,n,e.key,!0,l)}})),d}function b(e,t,n){return e?t&&i.errors.log(n):(0,o.rejectedPromise)(i.errors.Error(n))}function y(e,t,n,i,a,s,l){let d;const h=e.key();if(h){if(function(e,t){let n;const i="string"==typeof t?t.split():t.slice();for(;i.length;)if(n=i.shift(),n in e)return!0;return!1}(i,h)&&!(0,o.keysEqual)(h,n,e.keyOf(i)))return b(a,l,"E4017");if(d=function(e,t){if(e._dataByKeyMap)return e._dataByKeyMap[JSON.stringify(t)]}(t,n),!d){const r=S(e,t,n);if(r<0)return b(a,l,"E4009");if(d=t[r],!0===s&&(0,u.isDefined)(d)){const e=m(d,i);return t[r]=e,!a&&(0,o.trivialPromise)(e,n)}}}else d=n;if((0,c.deepExtendArraySafe)(d,i,!0,!1,!0,!0),!a)return(0,r.default)().useLegacyStoreResult?(0,o.trivialPromise)(n,i):(0,o.trivialPromise)(d,n)}function x(e,t,n,s,c,d,h){let f;const p=e.key(),_=(0,u.isPlainObject)(n)&&!h?(0,l.extend)({},n):n;if(p){if(f=e.keyOf(_),void 0===f||"object"==typeof f&&(0,u.isEmptyObject)(f)){if(Array.isArray(p))throw i.errors.Error("E4007");f=_[p]=String(new a.default)}else if(void 0!==t[S(e,t,f)])return b(c,d,"E4008")}else f=_;if(s>=0?t.splice(s,0,_):t.push(_),g(t,f,_),!c)return(0,o.trivialPromise)((0,r.default)().useLegacyStoreResult?n:_,f)}function C(e,t,n,i,r){const a=S(e,t,n);return a>-1&&(t.splice(a,1),g(t,n,null)),i?a<0?b(i,r,"E4009"):void 0:(0,o.trivialPromise)(n)}function S(e,t,n){const i=e.key();if(!function(e,t){return!e._dataByKeyMap||e._dataByKeyMap[JSON.stringify(t)]}(t,n))return-1;for(let r=0,a=t.length;r<a;r++)if((0,o.keysEqual)(i,e.keyOf(t[r]),n))return r;return-1}},12764:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(n(65517)),o=n(43792),r=n(82812),a=f(n(66177)),s=n(89358),l=f(n(66636)),c=f(n(64553)),u=n(87739),d=n(11528),h=f(n(77735));function f(e){return e&&e.__esModule?e:{default:e}}const p="totalCount",g="load",_="byKey",m="insert",v="update",b="remove";function y(e){return e&&(0,d.isFunction)(e.then)}function x(e){return(new u.Deferred).resolve(e).promise()}function C(e,t){if(!(0,d.isFunction)(t))throw r.errors.Error("E4011",e)}function S(e){throw r.errors.Error("E4012",e)}function w(e){return function(t){let n;n=t instanceof Error?t:new Error(function(e){const t=e[0],n=e[1];return t&&t.getResponseHeader?(0,s.errorMessageFromXhr)(t,n):null}(arguments)||t&&String(t)||"Unknown error"),n.message!==s.XHR_ERROR_UNLOAD&&e.reject(n)}}function E(e,t){const n=e._loadFunc;let i;return C(g,n),i=n.apply(e,[t]),Array.isArray(i)?i=x(i):null==i?i=x([]):y(i)||S(g),(0,u.fromPromise)(i)}function T(e,t,n,i){if(t.__rawData)i(t.__rawData);else{const o=t.__rawDataPromise||E(t,n);t._cacheRawData&&(t.__rawDataPromise=o),o.always((()=>{delete t.__rawDataPromise})).done((e=>{t._cacheRawData&&(t.__rawData=e),i(e)})).fail((n=>{var i;const o=w(e);null===(i=t._errorHandler)||void 0===i||i.call(t,n),o(n)}))}}function A(e,t,n,o){const r={};"userData"in(n=n||{})&&(r.userData=n.userData),T(e,t,r,(r=>{const s=(0,i.default)(r,{errorHandler:t._errorHandler});let l,d;const h=[];let f,p;o||(l=a.default.queryByOptions(s,n),l===s?f=r.slice(0):h.push(l.enumerate().done((e=>{f=e})))),(n.requireTotalCount||o)&&(d=a.default.queryByOptions(s,n,!0),d===s?p=r.length:h.push(d.count().done((e=>{p=e})))),u.when.apply(c.default,h).done((()=>{o?e.resolve(p):n.requireTotalCount?e.resolve(f,{totalCount:p}):e.resolve(f)})).fail((t=>{e.reject(t)}))}))}const O=h.default.inherit({ctor(e){e=e||{},this.callBase(e),this._useDefaultSearch=!!e.useDefaultSearch||"raw"===e.loadMode,this._loadMode=e.loadMode,this._cacheRawData=!1!==e.cacheRawData,this._loadFunc=e[g],this._totalCountFunc=e[p],this._byKeyFunc=e[_],this._insertFunc=e[m],this._updateFunc=e[v],this._removeFunc=e[b]},_clearCache(){delete this.__rawData},createQuery(){throw r.errors.Error("E4010")},clearRawDataCache(){this._clearCache()},_totalCountImpl(e){let t=new u.Deferred;return"raw"!==this._loadMode||this._totalCountFunc?(function(e,t){const n=e._totalCountFunc;let i;if(!(0,d.isFunction)(n))throw r.errors.Error("E4021");return i=n.apply(e,[t]),y(i)||(i=Number(i),isFinite(i)||S(p),i=x(i)),(0,u.fromPromise)(i)}(this,e).done((e=>{t.resolve(Number(e))})).fail(w(t)),t=this._addFailHandlers(t)):A(t,this,e,!0),t.promise()},_pushImpl(e){this.__rawData&&(0,o.applyBatch)({keyInfo:this,data:this.__rawData,changes:e})},_loadImpl(e){let t=new u.Deferred;return"raw"===this._loadMode?A(t,this,e,!1):(E(this,e).done(((e,n)=>{t.resolve(e,n)})).fail(w(t)),t=this._addFailHandlers(t)),t.promise()},_byKeyImpl(e,t){const n=new u.Deferred;return this._byKeyViaLoad()?(this._requireKey(),function(e,t,n){T(e,t,{},(i=>{const o=t.key();let a;for(let r=0,l=i.length;r<l;r++)if(a=i[r],(0,s.keysEqual)(o,t.keyOf(i[r]),n))return void e.resolve(a);e.reject(r.errors.Error("E4009"))}))}(n,this,e)):function(e,t,n){const i=e._byKeyFunc;let o;return C(_,i),o=i.apply(e,[t,n]),y(o)||(o=x(o)),(0,u.fromPromise)(o)}(this,e,t).done((e=>{n.resolve(e)})).fail(w(n)),n.promise()},_byKeyViaLoad(){return"raw"===this._loadMode&&!this._byKeyFunc},_insertImpl(e){const t=this,n=t._insertFunc;let i;const o=new u.Deferred;return C(m,n),i=n.apply(t,[e]),y(i)||(i=x(i)),(0,u.fromPromise)(i).done((n=>{(0,l.default)().useLegacyStoreResult?o.resolve(e,n):o.resolve(n||e,t.keyOf(n))})).fail(w(o)),o.promise()},_updateImpl(e,t){const n=this._updateFunc;let i;const o=new u.Deferred;return C(v,n),i=n.apply(this,[e,t]),y(i)||(i=x(i)),(0,u.fromPromise)(i).done((n=>{(0,l.default)().useLegacyStoreResult?o.resolve(e,t):o.resolve(n||t,e)})).fail(w(o)),o.promise()},_removeImpl(e){const t=this._removeFunc;let n;const i=new u.Deferred;return C(b,t),n=t.apply(this,[e]),y(n)||(n=x()),(0,u.fromPromise)(n).done((()=>{i.resolve(e)})).fail(w(i)),i.promise()}});t.default=O},16780:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DataHelperMixin=void 0;var i,o=n(68216),r=n(97169),a=n(52576),s=(i=n(5285))&&i.__esModule?i:{default:i};const l="_dataSourceOptions",c="_dataSourceChangedHandler",u="_dataSourceLoadErrorHandler",d="_dataSourceLoadingChangedHandler",h="_dataSourceFromUrlLoadMode",f="_getSpecificDataSourceOption",p="_normalizeDataSource",g=t.DataHelperMixin={postCtor(){this.on("disposing",(()=>{this._disposeDataSource()}))},_refreshDataSource(){this._initDataSource(),this._loadDataSource()},_initDataSource(){let e,t,n=f in this?this[f]():this.option("dataSource");this._disposeDataSource(),n&&(n instanceof o.DataSource?(this._isSharedDataSource=!0,this._dataSource=n):(e=l in this?this[l]():{},t=this._dataSourceType?this._dataSourceType():o.DataSource,n=(0,r.normalizeDataSourceOptions)(n,{fromUrlLoadMode:h in this&&this[h]()}),this._dataSource=new t((0,a.extend)(!0,{},e,n))),p in this&&(this._dataSource=this[p](this._dataSource)),this._addDataSourceHandlers(),this._initDataController())},_initDataController(){var e;const t=null===(e=this.option)||void 0===e?void 0:e.call(this,"_dataController"),n=this._dataSource;this._dataController=t||new s.default(n)},_addDataSourceHandlers(){c in this&&this._addDataSourceChangeHandler(),u in this&&this._addDataSourceLoadErrorHandler(),d in this&&this._addDataSourceLoadingChangedHandler(),this._addReadyWatcher()},_addReadyWatcher(){this.readyWatcher=function(e){this._ready&&this._ready(!e)}.bind(this),this._dataSource.on("loadingChanged",this.readyWatcher)},_addDataSourceChangeHandler(){const e=this._dataSource;this._proxiedDataSourceChangedHandler=function(t){this[c](e.items(),t)}.bind(this),e.on("changed",this._proxiedDataSourceChangedHandler)},_addDataSourceLoadErrorHandler(){this._proxiedDataSourceLoadErrorHandler=this[u].bind(this),this._dataSource.on("loadError",this._proxiedDataSourceLoadErrorHandler)},_addDataSourceLoadingChangedHandler(){this._proxiedDataSourceLoadingChangedHandler=this[d].bind(this),this._dataSource.on("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)},_loadDataSource(){const e=this._dataSource;e&&(e.isLoaded()?this._proxiedDataSourceChangedHandler&&this._proxiedDataSourceChangedHandler():e.load())},_loadSingle(e,t){return e="this"===e?this._dataSource.key()||"this":e,this._dataSource.loadSingle(e,t)},_isLastPage(){return!this._dataSource||this._dataSource.isLastPage()||!this._dataSource._pageSize},_isDataSourceLoading(){return this._dataSource&&this._dataSource.isLoading()},_disposeDataSource(){this._dataSource&&(this._isSharedDataSource?(delete this._isSharedDataSource,this._proxiedDataSourceChangedHandler&&this._dataSource.off("changed",this._proxiedDataSourceChangedHandler),this._proxiedDataSourceLoadErrorHandler&&this._dataSource.off("loadError",this._proxiedDataSourceLoadErrorHandler),this._proxiedDataSourceLoadingChangedHandler&&this._dataSource.off("loadingChanged",this._proxiedDataSourceLoadingChangedHandler),this._dataSource._eventsStrategy&&this._dataSource._eventsStrategy.off("loadingChanged",this.readyWatcher)):this._dataSource.dispose(),delete this._dataSource,delete this._proxiedDataSourceChangedHandler,delete this._proxiedDataSourceLoadErrorHandler,delete this._proxiedDataSourceLoadingChangedHandler)},getDataSource(){return this._dataSource||null}};t.default=g},17410:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i};const r=(0,n(3104).getWindow)();let a,s;const l=function(e){var t;this.config=e,a="ms-appx:"===r.location.protocol,t=r.location.hostname,s=/^(localhost$|127\.)/i.test(t)};l.prototype={urlFor(e){const t=this.config[e];if(!t)throw o.default.Error("E0006");return t.production&&(a&&!Debug.debuggerEnabled||!a&&!s)?t.production:t.local}};t.default=l},5930:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setErrorHandler=t.handleError=t.errors=t.errorHandler=void 0;var i=r(n(87129)),o=r(n(67264));function r(e){return e&&e.__esModule?e:{default:e}}t.errors=(0,o.default)(i.default.ERROR_MESSAGES,{E4000:"[DevExpress.data]: {0}",E4001:"Unknown aggregating function is detected: '{0}'",E4002:"Unsupported OData protocol version is used",E4003:"Unknown filter operation is used: {0}",E4004:"The thenby() method is called before the sortby() method",E4005:"Store requires a key expression for this operation",E4006:"ArrayStore 'data' option must be an array",E4007:"Compound keys cannot be auto-generated",E4008:"Attempt to insert an item with a duplicated key",E4009:"Data item cannot be found",E4010:"CustomStore does not support creating queries",E4011:"Custom Store method is not implemented or is not a function: {0}",E4012:"Custom Store method returns an invalid value: {0}",E4013:"Local Store requires the 'name' configuration option is specified",E4014:"Unknown data type is specified for ODataStore: {0}",E4015:"Unknown entity name or alias is used: {0}",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",E4017:"Keys cannot be modified",E4018:"The server has returned a non-numeric value in a response to an item count request",E4019:"Mixing of group operators inside a single group of filter expression is not allowed",E4020:"Unknown store type is detected: {0}",E4021:"The server response does not provide the totalCount value",E4022:"The server response does not provide the groupCount value",E4023:"Could not parse the following XML: {0}",E4024:"String function {0} cannot be used with the data field {1} of type {2}.",W4000:"Data returned from the server has an incorrect structure",W4001:'The {0} field is listed in both "keyType" and "fieldTypes". The value of "fieldTypes" is used.',W4002:"Data loading has failed for some cells due to the following error: {0}"});let a=t.errorHandler=null;t.handleError=function(e){var t;null===(t=a)||void 0===t||t(e)};t.setErrorHandler=e=>t.errorHandler=a=e},33260:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n(92774)),o=l(n(80556)),r=n(82812),a=l(n(55620)),s=l(n(64960));function l(e){return e&&e.__esModule?e:{default:e}}const c=(0,n(3104).getWindow)(),{abstract:u}=a.default,d={dom:a.default.inherit({ctor(e,t){this._store=e,this._dirty=!!t.data,this.save();const n=this._immediate=t.immediate,o=Math.max(100,t.flushInterval||1e4);if(!n){const e=this.save.bind(this);setInterval(e,o),i.default.on(c,"beforeunload",e),c.cordova&&s.default.listen(s.default.getDocument(),"pause",e,!1)}},notifyChanged(){this._dirty=!0,this._immediate&&this.save()},load(){this._store._array=this._loadImpl(),this._dirty=!1},save(){this._dirty&&(this._saveImpl(this._store._array),this._dirty=!1)},_loadImpl:u,_saveImpl:u}).inherit({ctor(e,t){const{name:n}=t;if(!n)throw r.errors.Error("E4013");this._key=`dx-data-localStore-${n}`,this.callBase(e,t)},_loadImpl(){const e=c.localStorage.getItem(this._key);return e?JSON.parse(e):[]},_saveImpl(e){e.length?c.localStorage.setItem(this._key,JSON.stringify(e)):c.localStorage.removeItem(this._key)}})},h=o.default.inherit({ctor(e){e="string"==typeof e?{name:e}:e||{},this.callBase(e),this._backend=new d[e.backend||"dom"](this,e),this._backend.load()},_clearCache(){this._backend.load()},clear(){this.callBase(),this._backend.notifyChanged()},_insertImpl(e){const t=this._backend;return this.callBase(e).done(t.notifyChanged.bind(t))},_updateImpl(e,t){const n=this._backend;return this.callBase(e,t).done(n.notifyChanged.bind(n))},_removeImpl(e){const t=this._backend;return this.callBase(e).done(t.notifyChanged.bind(t))}},"local");t.default=h},45149:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(84816);t.default=function(){const e=Array.isArray(arguments[0])?"array":"remote";return i.queryImpl[e].apply(this,arguments)}},51324:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n(65517)),o=n(82812),r=c(n(5842)),a=n(87739),s=n(21274),l=n(11528);function c(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t,n){n=n||[],t=t||{};const c=function(e,t){return{name:e,args:t}},d=function(u){const d=new a.Deferred;let h,f,p,g,_;const m=function(e){const n=t.errorHandler;n&&n(e),(0,o.handleError)(e),d.reject(e)};function v(e){switch(e.name){case"sortBy":return _=[e.args],!0;case"thenBy":if(!_)throw o.errors.Error("E4004");return _.push(e.args),!0}return!1}try{h=t.adapter,(0,l.isFunction)(h)||(h=r.default[h]),f=h(t),p=[].concat(n).concat(u);const{optimize:o}=f;for(o&&o(p);p.length;){if(g=p[0],!v(g)){if(_){p.unshift(c("multiSort",[_])),_=null;continue}if("enumerate"!==String(g.name)&&(!f[g.name]||!1===f[g.name].apply(f,g.args)))break}p.shift()}!function(){const e=p[0],t=[];e&&"multiSort"===e.name&&(p.shift(),(0,s.each)(e.args[0],(function(){t.push(c(t.length?"thenBy":"sortBy",this))}))),p=t.concat(p)}(),f.exec(e).done(((e,n)=>{if(p.length){let n=(0,i.default)(e,{errorHandler:t.errorHandler});(0,s.each)(p,(function(){n=n[this.name].apply(n,this.args)})),n.done(d.resolve).fail(d.reject)}else d.resolve(e,n)})).fail(m)}catch(e){m(e)}return d.promise()},h={};return(0,s.each)(["sortBy","thenBy","filter","slice","select","groupBy"],(function(){const i=String(this);h[i]=function(){return u(e,t,n.concat(c(i,arguments)))}})),(0,s.each)(["count","min","max","sum","avg","aggregate","enumerate"],(function(){const e=String(this);h[e]=function(){return d.call(this,c(e,arguments))}})),h};t.default=u},41943:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(65517))&&i.__esModule?i:{default:i},r=n(89358),a=n(17781),s=n(52576),l=n(21274);function c(e,t){return e=e.groupBy(t[0].selector),t.length>1&&(e=e.select((e=>(0,s.extend)({},e,{items:c((0,o.default)(e.items),t.slice(1)).toArray()})))),e}function u(e,t){const n=[];return(0,l.each)(e,((e,i)=>{(0,a.grep)(t,(e=>i.selector===e.selector)).length<1&&n.push(i)})),n.concat(t)}t.default={multiLevelGroup:c,arrangeSortingInfo:u,queryByOptions:function(e,t,n){var i;t=t||{};const{filter:o}=t;var a,s;if(null!==(i=t)&&void 0!==i&&i.langParams&&(null===(a=(s=e).setLangParams)||void 0===a||a.call(s,t.langParams)),o&&(e=e.filter(o)),n)return e;let{sort:d}=t;const{select:h}=t;let{group:f}=t;const{skip:p}=t,{take:g}=t;return f&&(f=(0,r.normalizeSortingInfo)(f),f.keepInitialKeyOrder=!!t.group.keepInitialKeyOrder),(d||f)&&(d=(0,r.normalizeSortingInfo)(d||[]),f&&!f.keepInitialKeyOrder&&(d=u(f,d)),(0,l.each)(d,(function(t){e=e[t?"thenBy":"sortBy"](this.selector,this.desc,this.compare)}))),h&&(e=e.select(h)),f&&(e=c(e,f)),(g||p)&&(e=e.slice(p||0,g)),e}}},30912:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.errorMessageFromXhr=t.base64_encode=t.aggregators=t.XHR_ERROR_UNLOAD=void 0,t.isConjunctiveOperator=function(e){return/^(and|&&|&)$/i.test(e)},t.isDisjunctiveOperator=function(e){return/^(or|\|\||\|)$/i.test(e)},t.rejectedPromise=t.processRequestResultLock=t.normalizeSortingInfo=t.normalizeBinaryCriterion=t.keysEqual=t.isUniformEqualsByOr=t.isUnaryOperation=t.isGroupCriterion=void 0,t.throttleChanges=function(e,t){let n=[];const i=function(e,t){let n;return function(){return n||(n=setTimeout((()=>{n=void 0,e.call(this)}),(0,l.isFunction)(t)?t():t)),n}}((function(){e.call(this,n),n=[]}),t);return function(e){return Array.isArray(e)&&n.push(...e),i.call(this,n)}},t.trivialPromise=void 0;var i=u(n(64960)),o=n(17781),r=n(87739),a=n(21274),s=u(n(3122)),l=n(11528),c=n(3104);function u(e){return e&&e.__esModule?e:{default:e}}const d=s.default.add,h=t.XHR_ERROR_UNLOAD="DEVEXTREME_XHR_ERROR_UNLOAD";t.normalizeBinaryCriterion=function(e){return[e[0],e.length<3?"=":String(e[1]).toLowerCase(),e.length<2||e[e.length-1]]};t.normalizeSortingInfo=function(e){return Array.isArray(e)||(e=[e]),(0,a.map)(e,(e=>{const t={selector:(0,l.isFunction)(e)||"string"==typeof e?e:e.getter||e.field||e.selector,desc:!(!e.desc&&"d"!==String(e.dir).charAt(0).toLowerCase())};return e.compare&&(t.compare=e.compare),t}))};t.errorMessageFromXhr=function(){const e={timeout:"Network connection timeout",error:"Unspecified network error",parsererror:"Unexpected server response"};let t;return d((()=>{const e=(0,c.getWindow)();i.default.listen(e,"beforeunload",(()=>{t=!0}))})),function(n,i){return t?h:n.status<400?function(t){let n=e[t];return n||t}(i):n.statusText}}(),t.aggregators={count:{seed:0,step:e=>1+e},sum:{seed:0,step:(e,t)=>e+t},min:{step:(e,t)=>t<e?t:e},max:{step:(e,t)=>t>e?t:e},avg:{seed:[0,0],step:(e,t)=>[e[0]+t,e[1]+1],finalize:e=>e[1]?e[0]/e[1]:NaN}},t.processRequestResultLock=function(){let e,t=0;return{obtain:function(){0===t&&(e=new r.Deferred),t++},release:function(){t--,t<1&&e.resolve()},promise:function(){return(0===t?(new r.Deferred).resolve():e).promise()},reset:function(){t=0,e&&e.resolve()}}}();t.keysEqual=function(e,t,n){if(Array.isArray(e)){const e=(0,a.map)(t,((e,t)=>t));let i;for(let r=0;r<e.length;r++)if(i=e[r],!(0,o.equalByValue)(t[i],n[i],{strict:!1}))return!1;return!0}return(0,o.equalByValue)(t,n,{strict:!1})};t.base64_encode=function(e){Array.isArray(e)||(e=function(e){const t=[];let n,i;for(i=0;i<e.length;i++)n=e.charCodeAt(i),n<128?t.push(n):n<2048?t.push(192+(n>>6),128+(63&n)):n<65536?t.push(224+(n>>12),128+(n>>6&63),128+(63&n)):n<2097152&&t.push(240+(n>>18),128+(n>>12&63),128+(n>>6&63),128+(63&n));return t}(String(e)));let t="";function n(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)}for(let i=0;i<e.length;i+=3){const o=e[i],r=e[i+1],s=e[i+2];t+=(0,a.map)([o>>2,(3&o)<<4|r>>4,isNaN(r)?64:(15&r)<<2|s>>6,isNaN(s)?64:63&s],n).join("")}return t};t.isUnaryOperation=function(e){return"!"===e[0]&&Array.isArray(e[1])};t.isUniformEqualsByOr=function(e){if(e.length>2&&Array.isArray(e[0])&&"or"===e[1]&&"string"==typeof e[0][0]&&"="===e[0][1]){const[t]=e[0];return!e.find(((e,n)=>n%2!=0?"or"!==e:!Array.isArray(e)||3!==e.length||e[0]!==t||"="!==e[1]))}return!1};t.isGroupCriterion=function(e){const t=e[0],n=e[1];return!!Array.isArray(t)||!(!(0,l.isFunction)(t)||!Array.isArray(n)&&!(0,l.isFunction)(n)&&"and"!==(i=n)&&"or"!==i);var i};t.trivialPromise=function(){const e=new r.Deferred;return e.resolve.apply(e,arguments).promise()};t.rejectedPromise=function(){const e=new r.Deferred;return e.reject.apply(e,arguments).promise()}},58824:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(65001);var i=h(n(26098)),o=h(n(29284)),r=h(n(55620)),a=n(87739),s=n(52576),l=n(21274),c=n(11528),u=n(5930),d=n(14606);function h(e){return e&&e.__esModule?e:{default:e}}const f=r.default.inherit({ctor(e){this._requestDispatcher=new i.default(e),this._errorHandler=e.errorHandler,(0,l.each)(e.entities||[],((t,n)=>{this[t]=new o.default((0,s.extend)({},e,{url:`${this._requestDispatcher.url}/${encodeURIComponent(n.name||t)}`},n))}))},get(e,t){return this.invoke(e,t,"GET")},invoke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST";n=n.toLowerCase();const i=new a.Deferred;let o,r=`${this._requestDispatcher.url}/${encodeURIComponent(e)}`;return 4===this.version()&&("get"===n?(r=(0,d.formatFunctionInvocationUrl)(r,(0,d.escapeServiceOperationParams)(t,this.version())),t=null):"post"===n&&(o=t,t=null)),(0,a.when)(this._requestDispatcher.sendRequest(r,n,(0,d.escapeServiceOperationParams)(t,this.version()),o)).done((t=>{(0,c.isPlainObject)(t)&&e in t&&(t=t[e]),i.resolve(t)})).fail(this._errorHandler).fail(u.handleError).fail(i.reject),i.promise()},objectLink(e,t){const n=this[e];if(!n)throw u.errors.Error("E4015",e);return(0,c.isDefined)(t)?{__metadata:{uri:n._byKeyUrl(t)}}:null},version(){return this._requestDispatcher.version}});t.default=f},61575:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.odata=void 0;var i=d(n(5842)),o=d(n(66636)),r=n(52576),a=n(21274),s=n(11528),l=n(5930),c=n(30912),u=n(14606);function d(e){return e&&e.__esModule?e:{default:e}}const h=["contains","notcontains","startswith","endswith"],f=(()=>{let e,t,n;const i=e=>(t,n)=>`${t} ${e} ${n}`,s=(e,n)=>(i,o)=>{const r=[e,"("];return t&&(i=-1===i.indexOf("tolower(")?`tolower(${i})`:i,o=o.toLowerCase()),n?r.push(o,",",i):r.push(i,",",o),r.push(")"),r.join("")},d={"=":i("eq"),"<>":i("ne"),">":i("gt"),">=":i("ge"),"<":i("lt"),"<=":i("le"),startswith:s("startswith"),endswith:s("endswith")},f=(0,r.extend)({},d,{contains:s("substringof",!0),notcontains:s("not substringof",!0)}),p=(0,r.extend)({},d,{contains:s("contains"),notcontains:s("not contains")}),g=t=>{var i;const o=(t=(0,c.normalizeBinaryCriterion)(t))[1],r=t[0],a=n&&n[r];if(a&&(s=o,h.some((e=>e===s)))&&"String"!==a)throw new l.errors.Error("E4024",o,r,a);var s;const d=(4===e?p:f)[o.toLowerCase()];if(!d)throw l.errors.Error("E4003",o);let g=t[2];return null!==(i=n)&&void 0!==i&&i[r]&&(g=(0,u.convertPrimitiveValue)(n[r],g)),d((0,u.serializePropName)(r),(0,u.serializeValue)(g,e))},_=e=>{const t=[];let n,i;return(0,a.each)(e,(function(e,o){if(Array.isArray(o)){if(t.length>1&&n!==i)throw new l.errors.Error("E4019");t.push(`(${m(o)})`),n=i,i="and"}else i=(0,c.isConjunctiveOperator)(this)?"and":"or"})),t.join(` ${n} `)},m=e=>Array.isArray(e[0])?_(e):(0,c.isUnaryOperation)(e)?(e=>{const t=e[0],n=m(e[1]);if("!"===t)return`not (${n})`;throw l.errors.Error("E4003",t)})(e):g(e);return(i,r,a,s)=>(n=a,t=s??(0,o.default)().oDataFilterToLower,e=r,m(i))})(),p=e=>{let t=[];const n=[],i=e.expand;let o,a,l,c;const d=e.version||4,h=()=>a||void 0!==l,p=e=>{for(let t=0;t<e.length;t++){if((0,s.isFunction)(e[t]))return!0;if(Array.isArray(e[t])&&p(e[t]))return!0}return!1},g=()=>{const r={};if(c||(t.length&&(r.$orderby=t.join(",")),a&&(r.$skip=a),void 0!==l&&(r.$top=l),r.$select=(0,u.generateSelect)(d,o)||void 0,r.$expand=(0,u.generateExpand)(d,i,o)||void 0),n.length){const t=n.length<2?n[0]:n,i=null==e?void 0:e.fieldTypes,o=null==e?void 0:e.filterToLower;r.$filter=f(t,d,i,o)}return c&&(r.$top=0),(e.requireTotalCount||c)&&(4!==d?r.$inlinecount="allpages":r.$count="true"),r};return{optimize:e=>{let t=-1;for(let n=0;n<e.length;n++)if("select"===e[n].name){t=n;break}if(t<0||!(0,s.isFunction)(e[t].args[0]))return;const n=e[1+t];n&&"slice"===n.name&&(e[1+t]=e[t],e[t]=n)},exec:t=>(0,u.sendRequest)(d,{url:t,params:(0,r.extend)(g(),null==e?void 0:e.params)},{beforeSend:e.beforeSend,jsonp:e.jsonp,withCredentials:e.withCredentials,countOnly:c,deserializeDates:e.deserializeDates,fieldTypes:e.fieldTypes,isPaged:isFinite(l)}),multiSort(e){let n;if(h())return!1;for(let t=0;t<e.length;t++){const i=e[t][0],o=!!e[t][1];let r;if("string"!=typeof i)return!1;r=(0,u.serializePropName)(i),o&&(r+=" desc"),n=n||[],n.push(r)}t=n},slice(e,t){if(h())return!1;a=e,l=t},filter(e){return!h()&&(Array.isArray(e)||(e=[].slice.call(arguments)),!p(e)&&(n.length&&n.push("and"),void n.push(e)))},select(e){if(o||(0,s.isFunction)(e))return!1;Array.isArray(e)||(e=[].slice.call(arguments)),o=e},count:()=>c=!0}};i.default.odata=p;t.odata=p},8920:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(65001);var i=n(8056);t.default=class{constructor(e){e=e||{},this._url=String(e.url).replace(/\/+$/,""),this._beforeSend=e.beforeSend,this._jsonp=e.jsonp,this._version=e.version||4,this._withCredentials=e.withCredentials,this._deserializeDates=e.deserializeDates,this._filterToLower=e.filterToLower}sendRequest(e,t,n,o){return(0,i.sendRequest)(this.version,{url:e,method:t,params:n||{},payload:o},{beforeSend:this._beforeSend,jsonp:this._jsonp,withCredentials:this._withCredentials,deserializeDates:this._deserializeDates})}get version(){return this._version}get beforeSend(){return this._beforeSend}get url(){return this._url}get jsonp(){return this._jsonp}get filterToLower(){return this._filterToLower}}},17594:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(65001);var i=n(82812),o=d(n(26098)),r=d(n(30771)),a=d(n(66636)),s=n(87739),l=n(11528),c=d(n(77735)),u=n(14606);function d(e){return e&&e.__esModule?e:{default:e}}const h=c.default.inherit({ctor(e){this.callBase(e),this._requestDispatcher=new o.default(e);let t=this.key(),{fieldTypes:n}=e,{keyType:r}=e;if(r){const e="string"==typeof r;t||(t=e?"5d46402c-7899-4ea9-bd81-8b73c47c7683":Object.keys(r),this._legacyAnonymousKey=t),e&&(r=((e,t)=>({[e]:t}))(t,r)),n=((e,t)=>{const n={};for(const t in e)n[t]=e[t];for(const e in t)e in n?n[e]!==t[e]&&i.errors.log("W4001",e):n[e]=t[e];return n})(n,r)}this._fieldTypes=n||{},2===this.version()?this._updateMethod="MERGE":this._updateMethod="PATCH"},_customLoadOptions:()=>["expand","customQueryParams"],_byKeyImpl(e,t){const n={};return t&&(n.$expand=(0,u.generateExpand)(this.version(),t.expand,t.select)||void 0,n.$select=(0,u.generateSelect)(this.version(),t.select)||void 0),this._requestDispatcher.sendRequest(this._byKeyUrl(e),"GET",n)},createQuery(e){let t;const n={adapter:"odata",beforeSend:this._requestDispatcher.beforeSend,errorHandler:this._errorHandler,jsonp:this._requestDispatcher.jsonp,version:this._requestDispatcher.version,withCredentials:this._requestDispatcher._withCredentials,expand:null==e?void 0:e.expand,requireTotalCount:null==e?void 0:e.requireTotalCount,deserializeDates:this._requestDispatcher._deserializeDates,fieldTypes:this._fieldTypes};if(t=(null==e?void 0:e.urlOverride)??this._requestDispatcher.url,(0,l.isDefined)(this._requestDispatcher.filterToLower)&&(n.filterToLower=this._requestDispatcher.filterToLower),null!=e&&e.customQueryParams){const i=(0,u.escapeServiceOperationParams)(null==e?void 0:e.customQueryParams,this.version());4===this.version()?t=(0,u.formatFunctionInvocationUrl)(t,i):n.params=i}return(0,r.default)(t,n)},_insertImpl(e){this._requireKey();const t=new s.Deferred;return(0,s.when)(this._requestDispatcher.sendRequest(this._requestDispatcher.url,"POST",null,e)).done((n=>t.resolve(n&&!(0,a.default)().useLegacyStoreResult?n:e,this.keyOf(n)))).fail(t.reject),t.promise()},_updateImpl(e,t){const n=new s.Deferred;return(0,s.when)(this._requestDispatcher.sendRequest(this._byKeyUrl(e),this._updateMethod,null,t)).done((i=>(0,a.default)().useLegacyStoreResult?n.resolve(e,t):n.resolve(i||t,e))).fail(n.reject),n.promise()},_removeImpl(e){const t=new s.Deferred;return(0,s.when)(this._requestDispatcher.sendRequest(this._byKeyUrl(e),"DELETE")).done((()=>t.resolve(e))).fail(t.reject),t.promise()},_convertKey(e){let t=e;const n=this._fieldTypes,i=this.key()||this._legacyAnonymousKey;if(Array.isArray(i)){t={};for(let o=0;o<i.length;o++){const r=i[o];t[r]=(0,u.convertPrimitiveValue)(n[r],e[r])}}else n[i]&&(t=(0,u.convertPrimitiveValue)(n[i],e));return t},_byKeyUrl(e){const t=this._requestDispatcher.url,n=this._convertKey(e);return`${t}(${encodeURIComponent((0,u.serializeKey)(n,this.version()))})`},version(){return this._requestDispatcher.version}},"odata");t.default=h},14606:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.serializeValue=t.serializePropName=t.serializeKey=t.sendRequest=t.keyConverters=t.generateSelect=t.generateExpand=t.formatFunctionInvocationUrl=t.escapeServiceOperationParams=t.convertPrimitiveValue=t.EdmLiteral=void 0;var i=n(82812),o=n(89358),r=p(n(55620)),a=p(n(19427)),s=p(n(78670)),l=n(17781),c=n(87739),u=n(52576),d=n(21274),h=n(54497),f=n(11528);function p(e){return e&&e.__esModule?e:{default:e}}const g=/^(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})$/,_=/^\/Date\((-?\d+)((\+|-)?(\d+)?)\)\/$/,m=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[-+]{1}\d{2}(:?)(\d{2})?)?$/,v="application/json;odata=verbose",b=e=>"string"===(0,f.type)(e)?e.split():e,y=e=>/\./.test(e),x=(e,t,n)=>{for(e=String(e);e.length<t;)e=n?`${e}0`:`0${e}`;return e},C=(e,t,n)=>{const i=[],o=e=>x(e,2);return i.push(e.getFullYear()),i.push("-"),i.push(o(e.getMonth()+1)),i.push("-"),i.push(o(e.getDate())),t&&e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()<1||(i.push("T"),i.push(o(e.getHours())),i.push(":"),i.push(o(e.getMinutes())),i.push(":"),i.push(o(e.getSeconds())),e.getMilliseconds()&&(i.push("."),i.push(x(e.getMilliseconds(),3))),n||i.push("Z")),i.join("")},S=(e,t,n)=>{const{deserializeDates:r,fieldTypes:a,countOnly:l,isPaged:d}=n,h=new c.Deferred,f=function(e,t){var n;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,u.extend)({async:!0,method:"get",url:"",params:{},payload:null,headers:{},timeout:3e4},t),null===(n=o.beforeSend)||void 0===n||n.call(o,t);const{async:r,timeout:a,headers:s}=t;let{url:l,method:c}=t;const{jsonp:d,withCredentials:h}=o;c=(c||"get").toLowerCase();const f="get"===c,p=f&&d,g=(0,u.extend)({},t.params),_=f?g:(m=t.payload,JSON.stringify(m,(function(t,n){if(!(this[t]instanceof Date))return n;switch(n=C(this[t]),e){case 2:return n.substr(0,n.length-1);case 3:case 4:return n;default:throw i.errors.Error("E4002")}})));var m;const b=!f&&(e=>{const t=[];for(const n in e)t.push(`${n}=${e[n]}`);return t.join("&")})(g),y=!f&&v;return b&&(l+=(l.indexOf("?")>-1?"&":"?")+b),p&&(_.$format="json"),{url:l,data:_,dataType:p?"jsonp":"json",jsonp:p&&"$callback",method:c,async:r,timeout:a,headers:s,contentType:y,accepts:{json:[v,"text/plain"].join()},xhrFields:{withCredentials:h}}}(e,t,n);return s.default.sendRequest(f).always(((t,s)=>{const c=w(t,s,{deserializeDates:r,fieldTypes:a},f),{error:u,data:p,count:g}=c;let{nextUrl:_}=c;if(u)u.message!==o.XHR_ERROR_UNLOAD&&h.reject(u);else if(l)isFinite(g)?h.resolve(g):h.reject(i.errors.Error("E4018"));else if(_&&!d)/^(?:[a-z]+:)?\/{2,2}/i.test(_)||(_=((e,t)=>{let n;const i=(e=>{const t=e.indexOf("?");return t>-1?e.substr(0,t):e})(e).split("/"),o=t.split("/");for(i.pop();o.length;)n=o.shift(),".."===n?i.pop():i.push(n);return i.join("/")})(f.url,_)),S(e,{url:_},n).fail(h.reject).done((e=>h.resolve(p.concat(e))));else{const e=isFinite(g)?{totalCount:g}:void 0;h.resolve(p,e)}})),h.promise()};t.sendRequest=S;const w=(e,t,n,i)=>{const r=((e,t,n)=>{var i,r,a,s;if("nocontent"===t)return null;let l="Unknown error",c=e,d=200;const h={requestOptions:n};if("success"!==t){const{status:n,responseText:i}=e;d=n,l=(0,o.errorMessageFromXhr)(e,t);try{c=JSON.parse(i)}catch(e){}}const f=(null===(i=c)||void 0===i?void 0:i.then)||(null===(r=c)||void 0===r?void 0:r.error)||(null===(a=c)||void 0===a?void 0:a["odata.error"])||(null===(s=c)||void 0===s?void 0:s["@odata.error"]);if(f){l=(e=>{let t,n,i=e;var o;"message"in e&&(t=(null===(o=e.message)||void 0===o?void 0:o.value)||e.message);for(;(i=i.innererror||i.internalexception)&&(n=i.message,t=n??t,!i.internalexception||-1!==t.indexOf("inner exception")););return t})(f)||l,h.errorDetails=f,200===d&&(d=500);const e=Number(f.code);isFinite(e)&&e>=400&&(d=e)}return d>=400||0===d?(h.httpStatus=d,(0,u.extend)(Error(l),h)):null})(e,t,i);if(r)return{error:r};if(!(0,f.isPlainObject)(e))return{data:e};const a="d"in e&&(Array.isArray(e.d)||(0,f.isObject)(e.d))?E(e):T(e);return O(a,n),a},E=e=>{let{d:t}=e;return(0,f.isDefined)(t)?{data:t.results??t,nextUrl:t.__next,count:parseInt(t.__count,10)}:{error:Error("Malformed or unsupported JSON response received")}},T=e=>({data:e.value??e,nextUrl:e["@odata.nextLink"],count:parseInt(e["@odata.count"],10)}),A=t.EdmLiteral=r.default.inherit({ctor(e){this._value=e},valueOf(){return this._value}}),O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,d.each)(e,((n,i)=>{if(null!==i&&"object"==typeof i)"results"in i&&(e[n]=i.results),O(e[n],t);else if("string"==typeof i){const{fieldTypes:o,deserializeDates:r}=t;if((!o||"String"!==o[n])&&g.test(i)&&(e[n]=new a.default(i)),!1!==r)if(_.exec(i)){const t=new Date(Number(RegExp.$1)+60*RegExp.$2*1e3);e[n]=new Date(t.valueOf()+60*t.getTimezoneOffset()*1e3)}else m.test(i)&&(e[n]=new Date((e=>{const t=new Date(60*new Date(0).getTimezoneOffset()*1e3),n=e.replace("Z","").split("T"),i=/(\d{4})-(\d{2})-(\d{2})/.exec(n[0]),o=/(\d{2}):(\d{2}):(\d{2})\.?(\d{0,7})?/.exec(n[1]);if(t.setFullYear(Number(i[1])),t.setMonth(Number(i[2])-1),t.setDate(Number(i[3])),Array.isArray(o)&&o.length){t.setHours(Number(o[1])),t.setMinutes(Number(o[2])),t.setSeconds(Number(o[3]));let e=(o[4]||"").slice(0,3);e=x(e,3,!0),t.setMilliseconds(Number(e))}return t})(e[n]).valueOf()))}}))},k=e=>e instanceof A?e.valueOf():e.replace(/\./g,"/");t.serializePropName=k;const D=e=>e instanceof Date?C(e,!1,!1):e instanceof a.default?e.valueOf():Array.isArray(e)?`[${e.map((e=>D(e))).join(",")}]`:L(e),L=e=>e instanceof Date?`datetime'${C(e,!0,!0)}'`:e instanceof a.default?`guid'${e}'`:e instanceof A?e.valueOf():"string"==typeof e?(e=>`'${e.replace(/'/g,"''")}'`)(e):String(e),P=(e,t)=>{switch(t){case 2:case 3:return L(e);case 4:return D(e);default:throw i.errors.Error("E4002")}};t.serializeValue=P;t.serializeKey=(e,t)=>{if((0,f.isPlainObject)(e)){const n=[];return(0,d.each)(e,((e,i)=>n.push(`${k(e)}=${P(i,t)}`))),n.join()}return P(e,t)};const M=t.keyConverters={String:e=>`${e}`,Int32:e=>Math.floor(e),Int64:e=>e instanceof A?e:new A(`${e}L`),Guid:e=>e instanceof a.default?e:new a.default(e),Boolean:e=>!!e,Single:e=>e instanceof A?e:new A(`${e}f`),Decimal:e=>e instanceof A?e:new A(`${e}m`)};t.convertPrimitiveValue=(e,t)=>{if(null===t)return null;const n=M[e];if(!n)throw i.errors.Error("E4014",e);return n(t)};t.generateSelect=(e,t)=>{if(t)return e<4?k(t.join()):(0,l.grep)(t,y,!0).join()};const R=e=>{let t="";const n=[],i=[];return(0,d.each)(e,((e,t)=>{Array.isArray(t)&&[].push.apply(n,t),(0,f.isPlainObject)(t)&&i.push(`${e}${R(t)}`)})),(n.length||i.length)&&(t+="(",n.length&&(t+=`$select=${(0,d.map)(n,k).join()}`),i.length&&(n.length&&(t+=";"),t+=`$expand=${(0,d.map)(i,k).join()}`),t+=")"),t},I=(e,t,n)=>{const i=n(t,e.shift(),e);!1!==i&&I(e,i,n)},B=(e,t,n)=>(0,d.each)(e,((e,i)=>I(i.split("."),t,n))),V=(e,t)=>{const n={};return e&&(0,d.each)(b(e),(function(){n[k(this)]=1})),t&&(0,d.each)(b(t),(function(){const e=this.split(".");e.length<2||(e.pop(),n[k(e.join("."))]=1)})),(0,d.map)(n,((e,t)=>t)).join()},F=(e,t)=>{const n={};if(e||t)return e&&B(b(e),n,((e,t,n)=>(e[t]=e[t]||{},!!n.length&&e[t]))),t&&B((0,l.grep)(b(t),y),n,((e,t,n)=>n.length?e[t]=e[t]||{}:(e[t]=e[t]||[],e[t].push(t),!1))),(e=>{const t=[];return(0,d.each)(e,((e,n)=>t.push(`${e}${R(n)}`))),t.join()})(n)};t.generateExpand=(e,t,n)=>e<4?V(t,n):F(t,n);t.formatFunctionInvocationUrl=(e,t)=>(0,h.format)("{0}({1})",e,(0,d.map)(t||{},((e,t)=>(0,h.format)("{0}={1}",t,e))).join(","));t.escapeServiceOperationParams=(e,t)=>{if(!e)return e;const n={};return(0,d.each)(e,((e,i)=>{n[e]=P(i,t)})),n}},14911:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.lock=t.inactive=t.active=void 0;var i=d(n(59e3)),o=d(n(81411)),r=d(n(89797)),a=n(98834),s=d(n(55620)),l=n(17781),c=n(86858),u=d(n(98905));function d(e){return e&&e.__esModule?e:{default:e}}const h=t.active="dxactive",f=t.inactive="dxinactive",p=s.default.inherit({ctor(e,t){this._timeout=e,this._fire=t},start(){const e=this;this._schedule((()=>{e.force()}))},_schedule(e){this.stop(),this._timer=setTimeout(e,this._timeout)},stop(){clearTimeout(this._timer)},force(){this._fired||(this.stop(),this._fire(),this._fired=!0)},fired(){return this._fired}});let g;const _=i.default.inherit({ctor(){this.callBase.apply(this,arguments),this._active=new p(0,l.noop),this._inactive=new p(0,l.noop)},configure(e,t){switch(t){case h:e.activeTimeout=e.timeout;break;case f:e.inactiveTimeout=e.timeout}this.callBase(e)},start(e){if(g){const e=(0,c.contains)(this.getElement().get(0),g.getElement().get(0)),t=!g._active.fired();if(e&&t)return void this._cancel();g._inactive.force()}g=this,this._initEvents(e),this._active.start()},_initEvents(e){const t=this,n=this._getEmitterTarget(e),i=(0,a.isMouseEvent)(e),o=u.default.isSimulator()||!i,r=(0,l.ensureDefined)(this.activeTimeout,30),s=(0,l.ensureDefined)(this.inactiveTimeout,400);this._active=new p(o?r:0,(()=>{t._fireEvent(h,e,{target:n})})),this._inactive=new p(o?s:0,(()=>{t._fireEvent(f,e,{target:n}),g=null}))},cancel(e){this.end(e)},end(e){const t=e.type!==r.default.up;t?this._active.stop():this._active.force(),this._inactive.start(),t&&this._inactive.force()},dispose(){this._active.stop(),this._inactive.stop(),g===this&&(g=null),this.callBase()},lockInactive(){return this._active.force(),this._inactive.stop(),g=null,this._cancel(),this._inactive.force.bind(this._inactive)}});_.lock=function(e){const t=g?g.lockInactive():l.noop;e.done(t)},(0,o.default)({emitter:_,events:[h,f]});const{lock:m}=_;t.lock=m},96292:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(98834),o=c(n(55620)),r=c(n(64553)),a=c(n(84718)),s=n(17781),l=n(52576);function c(e){return e&&e.__esModule?e:{default:e}}const u=o.default.inherit({ctor(e){this._$element=(0,r.default)(e),this._cancelCallback=(0,a.default)(),this._acceptCallback=(0,a.default)()},getElement(){return this._$element},validate:e=>!(0,i.isDxMouseWheelEvent)(e),validatePointers:e=>1===(0,i.hasTouches)(e),allowInterruptionByMouseWheel:()=>!0,configure(e){(0,l.extend)(this,e)},addCancelCallback(e){this._cancelCallback.add(e)},removeCancelCallback(){this._cancelCallback.empty()},_cancel(e){this._cancelCallback.fire(this,e)},addAcceptCallback(e){this._acceptCallback.add(e)},removeAcceptCallback(){this._acceptCallback.empty()},_accept(e){this._acceptCallback.fire(this,e)},_requestAccept(e){this._acceptRequestEvent=e},_forgetAccept(){this._accept(this._acceptRequestEvent),this._acceptRequestEvent=null},start:s.noop,move:s.noop,end:s.noop,cancel:s.noop,reset(){this._acceptRequestEvent&&this._accept(this._acceptRequestEvent)},_fireEvent(e,t,n){const o=(0,l.extend)({type:e,originalEvent:t,target:this._getEmitterTarget(t),delegateTarget:this.getElement().get(0)},n);return(t=(0,i.fireEvent)(o)).cancel&&this._cancel(t),t},_getEmitterTarget(e){return(this.delegateSelector?(0,r.default)(e.target).closest(this.delegateSelector):this.getElement()).get(0)},dispose:s.noop});t.default=u},58063:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=g(n(15273)),o=g(n(92774)),r=n(37373),a=g(n(89797)),s=n(98834),l=g(n(55620)),c=g(n(64960)),u=n(74663),d=g(n(64553)),h=n(52576),f=n(21274),p=g(n(3122));function g(e){return e&&e.__esModule?e:{default:e}}const _="dxEventManager",m="dxEmitter",v=new(l.default.inherit({ctor(){this._attachHandlers(),this.reset(),this._proxiedCancelHandler=this._cancelHandler.bind(this),this._proxiedAcceptHandler=this._acceptHandler.bind(this)},_attachHandlers(){p.default.add((()=>{const e=c.default.getDocument();o.default.subscribeGlobal(e,(0,s.addNamespace)(a.default.down,_),this._pointerDownHandler.bind(this)),o.default.subscribeGlobal(e,(0,s.addNamespace)(a.default.move,_),this._pointerMoveHandler.bind(this)),o.default.subscribeGlobal(e,(0,s.addNamespace)([a.default.up,a.default.cancel].join(" "),_),this._pointerUpHandler.bind(this)),o.default.subscribeGlobal(e,(0,s.addNamespace)(r.name,_),this._mouseWheelHandler.bind(this))}))},_eachEmitter(e){const t=this._activeEmitters||[];let n=0;for(;t.length>n;){const i=t[n];if(!1===e(i))break;t[n]===i&&n++}},_applyToEmitters(e,t){this._eachEmitter((n=>{n[e].call(n,t)}))},reset(){this._eachEmitter(this._proxiedCancelHandler),this._activeEmitters=[]},resetEmitter(e){this._proxiedCancelHandler(e)},_pointerDownHandler(e){(0,s.isMouseEvent)(e)&&e.which>1||this._updateEmitters(e)},_updateEmitters(e){this._isSetChanged(e)&&(this._cleanEmitters(e),this._fetchEmitters(e))},_isSetChanged(e){const t=this._closestEmitter(e),n=this._emittersSet||[];let i=t.length!==n.length;return(0,f.each)(t,((e,t)=>(i=i||n[e]!==t,!i))),this._emittersSet=t,i},_closestEmitter(e){const t=this,n=[];let i=(0,d.default)(e.target);function o(i,o){o&&o.validatePointers(e)&&o.validate(e)&&(o.addCancelCallback(t._proxiedCancelHandler),o.addAcceptCallback(t._proxiedAcceptHandler),n.push(o))}for(;i.length;){const e=(0,u.data)(i.get(0),m)||[];(0,f.each)(e,o),i=i.parent()}return n},_acceptHandler(e,t){this._eachEmitter((n=>{n!==e&&this._cancelEmitter(n,t)}))},_cancelHandler(e,t){this._cancelEmitter(e,t)},_cancelEmitter(e,t){const n=this._activeEmitters;t?e.cancel(t):e.reset(),e.removeCancelCallback(),e.removeAcceptCallback();const i=n.indexOf(e);i>-1&&n.splice(i,1)},_cleanEmitters(e){this._applyToEmitters("end",e),this.reset(e)},_fetchEmitters(e){this._activeEmitters=this._emittersSet.slice(),this._applyToEmitters("start",e)},_pointerMoveHandler(e){this._applyToEmitters("move",e)},_pointerUpHandler(e){this._updateEmitters(e)},_mouseWheelHandler(e){this._allowInterruptionByMouseWheel()&&(e.pointers=[null],this._pointerDownHandler(e),this._adjustWheelEvent(e),this._pointerMoveHandler(e),e.pointers=[],this._pointerUpHandler(e))},_allowInterruptionByMouseWheel(){let e=!0;return this._eachEmitter((t=>(e=t.allowInterruptionByMouseWheel()&&e,e))),e},_adjustWheelEvent(e){let t=null;if(this._eachEmitter((n=>{if(!n.gesture)return;const i=n.getDirection(e);return"horizontal"!==i&&!e.shiftKey||"vertical"!==i&&e.shiftKey?(t=n,!1):void 0})),!t)return;const n=t.getDirection(e),i="both"===n&&!e.shiftKey||"vertical"===n;e[i?"pageY":"pageX"]+=e.delta},isActive(e){let t=!1;return this._eachEmitter((n=>{t=t||n.getElement().is(e)})),t}})),b="dxEmitterSubscription";t.default=function(e){const t=e.emitter,n=e.events[0],o=e.events;(0,f.each)(o,((r,a)=>{(0,i.default)(a,{noBubble:!e.bubble,setup(e){const i=(0,u.data)(e,b)||{},o=(0,u.data)(e,m)||{},r=o[n]||new t(e);i[a]=!0,o[n]=r,(0,u.data)(e,m,o),(0,u.data)(e,b,i)},add(e,t){(0,u.data)(e,m)[n].configure((0,h.extend)({delegateSelector:t.selector},t.data),t.type)},teardown(e){const t=(0,u.data)(e,b),i=(0,u.data)(e,m),r=i[n];delete t[a];let s=!0;(0,f.each)(o,((e,n)=>(s=s&&!t[n],s))),s&&(v.isActive(e)&&v.resetEmitter(r),r&&r.dispose(),delete i[n])}})}))}},65381:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(85030))&&i.__esModule?i:{default:i},r=n(21274);const a=function(e,t){const n={};"noBubble"in t&&(n.noBubble=t.noBubble),"bindType"in t&&(n.bindType=t.bindType),"delegateType"in t&&(n.delegateType=t.delegateType),(0,r.each)(["setup","teardown","add","remove","trigger","handle","_default","dispose"],((e,i)=>{t[i]&&(n[i]=function(){const e=[].slice.call(arguments);return e.unshift(this),t[i].apply(t,e)})})),o.default.fire(e,n)};a.callbacks=o.default;t.default=a},36306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(n(85030)),o=p(n(65462)),r=n(45280),a=p(n(64960)),s=p(n(87129)),l=p(n(13630)),c=p(n(84718)),u=p(n(89656)),d=n(52576),h=n(11528),f=n(3104);function p(e){return e&&e.__esModule?e:{default:e}}const g=(0,f.getWindow)(),_="dxEmptyEventType",m={mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},v={focusin:"focus",focusout:"blur"},b=["blur","focus","load"],y=["touchmove","wheel","mousewheel","touchstart"];function x(e,t){return!(0,h.isWindow)(e)&&"#document"!==e.nodeName&&a.default.elementMatches(e,t)}const C=new WeakMap;let S,w=0;const E=function(){const e={};return i.default.add(((t,n)=>{e[t]=n})),{getField:(t,n)=>e[t]&&e[t][n],callMethod:(t,n,i,o)=>e[t]&&e[t][n]&&e[t][n].apply(i,o)}}(),T=(0,u.default)({on:k(R(B(((e,t,n,i,o)=>{P(e,t).addHandler(o,n,i)})))),one:k(R(((e,t,n,i,o)=>{const r=function(){T.off(e,t,n,r),o.apply(this,arguments)};T.on(e,t,n,i,r)}))),off:k((A=B(((e,t,n,i)=>{P(e,t).removeHandler(i,n)})),function(e,t,n,i){"function"==typeof n&&(i=n,n=void 0),A(e,t,n,i)})),trigger:k(I(((e,t,n)=>{const i=t.type,o=P(e,t.type);E.callMethod(i,"trigger",e,[t,n]),o.callHandlers(t,n);if(!(E.getField(i,"noBubble")||t.isPropagationStopped()||b.includes(i))){const i=[],o=function(e){const t=e.parentNode??((0,h.isObject)(e.host)?e.host:null);t&&(i.push(t),o(t))};o(e),i.push(g);let r=0;for(;i[r]&&!t.isPropagationStopped();){P(i[r],t.type).callHandlers((0,d.extend)(t,{currentTarget:i[r]}),n),r++}}(e.nodeType||(0,h.isWindow)(e))&&(E.callMethod(i,"_default",e,[t,n]),function(e,t){const n=v[e]||e,i=function(e,t){return"click"===e&&"a"===t.localName};if(i(e,t))return;(0,h.isFunction)(t[n])&&(S=e,t[n](),S=void 0)}(i,e))}))),triggerHandler:k(I(((e,t,n)=>{P(e,t.type).callHandlers(t,n)})))});var A;function O(e,t){const n=e[0];if(n)if(a.default.isNode(n)||(0,h.isWindow)(n))t.apply(T,e);else{if((0,h.isString)(n)||!("length"in n))throw s.default.Error("E0025");{const i=Array.prototype.slice.call(e,0);Array.prototype.forEach.call(n,(e=>{i[0]=e,O(i,t)}))}}}function k(e){return function(){O(arguments,e)}}const D=(0,l.default)((function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,!0)});g.addEventListener("test",null,t)}catch(e){}return e})),L=(e,t)=>(0,h.isWindow)(e)?L(e.document,t):e.contains?e.contains(t):!!(t.compareDocumentPosition(e)&t.DOCUMENT_POSITION_CONTAINS);function P(e,t){let n=C.get(e);const i=(t=t||"").split("."),o=i.slice(1),s=!!i[0];t=i[0]||_,n||(n={},C.set(e,n)),n[t]||(n[t]={handleObjects:[],nativeHandler:null});const l=n[t];return{addHandler(n,i,c){const u=function(i,o){const r=[i],a=i.currentTarget,{relatedTarget:s}=i;let l,u;t in m&&(l=s&&a&&(s===a||L(a,s))),void 0!==o&&r.push(o),E.callMethod(t,"handle",e,[i,c]),l||(u=n.apply(a,r)),!1===u&&(i.preventDefault(),i.stopPropagation())},d={handler:n,wrappedHandler:function(t,n){if(!S||t.type!==S)if(t.data=c,t.delegateTarget=e,i){let o=t.target;for(;o&&o!==e;)x(o,i)&&(t.currentTarget=o,u(t,n)),o=o.parentNode}else{var o;t.currentTarget=t.delegateTarget||t.target;if(Boolean(null===(o=t.target)||void 0===o?void 0:o.shadowRoot)){const e=(0,r.getEventTarget)(t);t.target=e}u(t,n)}},selector:i,type:t,data:c,namespace:o.join("."),namespaces:o,guid:++w};l.handleObjects.push(d);let h,f=1===l.handleObjects.length&&s;var p;f&&(f=!E.callMethod(t,"setup",e,[c,o,n])),f&&(l.nativeHandler=(p=t,function(e,t){const n=P(this,p);e=T.Event(e),n.callHandlers(e,t)}),D()&&y.includes(t)&&(h={passive:!1}),l.removeListener=a.default.listen(e,m[t]||t,l.nativeHandler,h)),E.callMethod(t,"add",e,[d])},removeHandler(i,r){const a=function(t){const a=n[t];if(!a.handleObjects.length)return void delete n[t];let s;a.handleObjects=a.handleObjects.filter((n=>{const a=o.length&&!M(n.namespaces,o)||i&&n.handler!==i||r&&n.selector!==r;return a||(s=n.handler,E.callMethod(t,"remove",e,[n])),a}));!a.handleObjects.length&&t!==_&&(E.callMethod(t,"teardown",e,[o,s]),a.nativeHandler&&a.removeListener(),delete n[t])};if(s)a(t);else for(const e in n)a(e);0===Object.keys(n).length&&C.delete(e)},callHandlers(e,t){let i=!1;const r=function(n){i||o.length&&!M(n.namespaces,o)||(n.wrappedHandler(e,t),i=e.isImmediatePropagationStopped())};l.handleObjects.forEach(r),o.length&&n[_]&&n[_].handleObjects.forEach(r)}}}function M(e,t){for(let n=0;n<t.length;n++)if(e.indexOf(t[n])<0)return!1;return!0}function R(e){return function(t,n,i,o,r){r||(r=o,o=void 0),"string"!=typeof i&&(o=i,i=void 0),r||"string"!=typeof n||(r=o||i,i=void 0,o=void 0),e(t,n,i,o,r)}}function I(e){return function(t,n,i){"string"==typeof n&&(n={type:n}),n.target||(n.target=t),n.currentTarget=t,n.delegateTarget||(n.delegateTarget=t),!n.type&&n.originalEvent&&(n.type=n.originalEvent.type),e(t,n instanceof T.Event?n:T.Event(n),i)}}function B(e){const t=function(t,n){if(n&&n.indexOf(" ")>-1){const t=Array.prototype.slice.call(arguments,0);n.split(" ").forEach((function(n){t[1]=n,e.apply(this,t)}))}else e.apply(this,arguments)};return function(e,n){if("object"==typeof n){const e=Array.prototype.slice.call(arguments,0);for(const i in n)e[1]=i,e[e.length-1]=n[i],t.apply(this,e)}else t.apply(this,arguments)}}function V(e){if(function(e){return null==e.which&&0===e.type.indexOf("key")}(e))return null!=e.charCode?e.charCode:e.keyCode;if(function(e){return!e.which&&void 0!==e.button&&/^(?:mouse|pointer|contextmenu|drag|drop)|click/.test(e.type)}(e)){return{1:1,2:3,3:1,4:2}[e.button]}return e.which}function F(e){e&&(T.Event=e,T.Event.prototype=e.prototype)}function H(e,t,n){Object.defineProperty(n||T.Event.prototype,e,{enumerable:!0,configurable:!0,get(){return this.originalEvent&&t(this.originalEvent)},set(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})}F(function(e){return T.Event=function(t,n){if(!(this instanceof T.Event))return new T.Event(t,n);t||(t={}),"string"==typeof t&&(t={type:t}),n||(n={}),e.call(this,t,n)},Object.assign(T.Event.prototype,{_propagationStopped:!1,_immediatePropagationStopped:!1,_defaultPrevented:!1,isPropagationStopped(){return!!(this._propagationStopped||this.originalEvent&&this.originalEvent.propagationStopped)},stopPropagation(){this._propagationStopped=!0,this.originalEvent&&this.originalEvent.stopPropagation()},isImmediatePropagationStopped(){return this._immediatePropagationStopped},stopImmediatePropagation(){this.stopPropagation(),this._immediatePropagationStopped=!0,this.originalEvent&&this.originalEvent.stopImmediatePropagation()},isDefaultPrevented(){return!!(this._defaultPrevented||this.originalEvent&&this.originalEvent.defaultPrevented)},preventDefault(){this._defaultPrevented=!0,this.originalEvent&&this.originalEvent.preventDefault()}}),T.Event}((function(e,t){var n;e instanceof T.Event||(0,f.hasWindow)()&&e instanceof g.Event||(null===(n=e.view)||void 0===n?void 0:n.Event)&&e instanceof e.view.Event?(this.originalEvent=e,this.type=e.type,this.currentTarget=void 0,Object.prototype.hasOwnProperty.call(e,"isTrusted")&&(this.isTrusted=e.isTrusted),this.timeStamp=e.timeStamp||Date.now()):Object.assign(this,e),H("which",V,this),0===e.type.indexOf("touch")&&(delete t.pageX,delete t.pageY),Object.assign(this,t),this.guid=++w}))),["target","relatedTarget","delegateTarget","altKey","bubbles","cancelable","changedTouches","ctrlKey","detail","eventPhase","metaKey","shiftKey","view","char","code","charCode","key","keyCode","button","buttons","offsetX","offsetY","pointerId","pointerType","targetTouches","toElement","touches"].forEach((e=>H(e,(t=>t[e])))),(0,o.default)(H);const N=(0,c.default)(),z=(0,c.default)();T.set=function(e){N.fire(),T.inject(e),F(e.Event),z.fire()},T.subscribeGlobal=function(){O(arguments,R((function(){const e=arguments;T.on.apply(this,e),N.add((function(){const t=Array.prototype.slice.call(e,0);t.splice(3,1),T.off.apply(this,t)})),z.add((function(){T.on.apply(this,e)}))})))},T.forcePassiveFalseEventNames=y,T.passiveEventHandlersSupported=D;t.default=T},40866:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n.forEach((t=>{e(t,(e=>i(t,e)))}),this)};const n=["pageX","pageY","screenX","screenY","clientX","clientY"],i=function(e,t){if(t[e]&&!t.touches||!t.touches)return t[e];const n=t.touches.length?t.touches:t.changedTouches;return n.length?n[0][e]:void 0}},34422:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(92774)),o=n(98834),r=s(n(55620)),a=s(n(64553));function s(e){return e&&e.__esModule?e:{default:e}}const l="compositionstart",c="KeyboardProcessor",u=e=>({keyName:(0,o.normalizeKeyName)(e),key:e.key,code:e.code,ctrl:e.ctrlKey,location:e.location,metaKey:e.metaKey,shift:e.shiftKey,alt:e.altKey,which:e.which,originalEvent:e}),d=r.default.inherit({_keydown:(0,o.addNamespace)("keydown",c),_compositionStart:(0,o.addNamespace)(l,c),_compositionEnd:(0,o.addNamespace)("compositionend",c),ctor(e){(e=e||{}).element&&(this._element=(0,a.default)(e.element)),e.focusTarget&&(this._focusTarget=e.focusTarget),this._handler=e.handler,this._element&&(this._processFunction=e=>{const t=(0,a.default)(this._focusTarget).toArray(),n=this._focusTarget&&this._focusTarget!==e.target&&!t.includes(e.target),i=this._isComposingJustFinished&&229===e.which||this._isComposing||n;this._isComposingJustFinished=!1,i||this.process(e)},this._toggleProcessingWithContext=this.toggleProcessing.bind(this),i.default.on(this._element,this._keydown,this._processFunction),i.default.on(this._element,this._compositionStart,this._toggleProcessingWithContext),i.default.on(this._element,this._compositionEnd,this._toggleProcessingWithContext))},dispose(){this._element&&(i.default.off(this._element,this._keydown,this._processFunction),i.default.off(this._element,this._compositionStart,this._toggleProcessingWithContext),i.default.off(this._element,this._compositionEnd,this._toggleProcessingWithContext)),this._element=void 0,this._handler=void 0},process(e){this._handler(u(e))},toggleProcessing(e){let{type:t}=e;this._isComposing=t===l,this._isComposingJustFinished=!this._isComposing}});d.createKeyDownOptions=u;t.default=d},58065:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.name=void 0;var i=s(n(15273)),o=s(n(92774)),r=n(98834),a=s(n(64553));function s(e){return e&&e.__esModule?e:{default:e}}const l=t.name="dxmousewheel",c="dxWheel",u={setup(e){const t=(0,a.default)(e);o.default.on(t,(0,r.addNamespace)("wheel",c),u._wheelHandler.bind(u))},teardown(e){o.default.off(e,`.${c}`)},_wheelHandler(e){const{deltaMode:t,deltaY:n,deltaX:i,deltaZ:o}=e.originalEvent;(0,r.fireEvent)({type:l,originalEvent:e,delta:this._normalizeDelta(n,t),deltaX:i,deltaY:n,deltaZ:o,deltaMode:t,pointerType:"mouse"}),e.stopPropagation()},_normalizeDelta(e){return 0===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)?-e:-30*e}};(0,i.default)(l,u)},77859:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=g(n(59e3)),o=g(n(92774)),r=n(98834),a=g(n(64553)),s=g(n(13630)),l=n(17781),c=n(50254),u=g(n(3122)),d=n(58515),h=n(11528),f=g(n(98905)),p=g(n(76400));function g(e){return e&&e.__esModule?e:{default:e}}const _=u.default.add,{abs:m}=Math;let v=10;const b=(0,s.default)((()=>{const e="desktop"===f.default.real().deviceType;if(!(0,d.styleProp)("pointer-events")||!e)return l.noop;const t=(0,a.default)("<div>").addClass("dx-gesture-cover").css("pointerEvents","none");return o.default.subscribeGlobal(t,"dxmousewheel",(e=>{e.preventDefault()})),_((()=>{t.appendTo("body")})),function(e,n){t.css("pointerEvents",e?"all":"none"),e&&t.css("cursor",n)}})),y=i.default.inherit({gesture:!0,configure(e){this.getElement().css("msTouchAction",e.immediate?"pinch-zoom":""),this.callBase(e)},allowInterruptionByMouseWheel(){return 2!==this._stage},getDirection(){return this.direction},_cancel(){this.callBase.apply(this,arguments),this._toggleGestureCover(!1),this._stage=0},start(e){e._needSkipEvent||(0,r.needSkipEvent)(e)?this._cancel(e):(this._startEvent=(0,r.createEvent)(e),this._startEventData=(0,r.eventData)(e),this._stage=1,this._init(e),this._setupImmediateTimer())},_setupImmediateTimer(){clearTimeout(this._immediateTimer),this._immediateAccepted=!1,this.immediate&&(0!==this.immediateTimeout?this._immediateTimer=setTimeout((()=>{this._immediateAccepted=!0}),this.immediateTimeout??180):this._immediateAccepted=!0)},move(e){if(1===this._stage&&this._directionConfirmed(e)){if(this._stage=2,this._resetActiveElement(),this._toggleGestureCover(!0),this._clearSelection(e),this._adjustStartEvent(e),this._start(this._startEvent),0===this._stage)return;this._requestAccept(e),this._move(e),this._forgetAccept()}else 2===this._stage&&(this._clearSelection(e),this._move(e))},_directionConfirmed(e){const t=this._getTouchBoundary(e),n=(0,r.eventDelta)(this._startEventData,(0,r.eventData)(e)),i=m(n.x),o=m(n.y),a=this._validateMove(t,i,o),s=this._validateMove(t,o,i),l=this.getDirection(e);return"both"===l&&(a||s)||"horizontal"===l&&a||"vertical"===l&&s||this._immediateAccepted},_validateMove(e,t,n){return t&&t>=e&&(!this.immediate||t>=n)},_getTouchBoundary(e){return this.immediate||(0,r.isDxMouseWheelEvent)(e)?0:v},_adjustStartEvent(e){const t=this._getTouchBoundary(e),n=(0,r.eventDelta)(this._startEventData,(0,r.eventData)(e));this._startEvent.pageX+=(0,c.sign)(n.x)*t,this._startEvent.pageY+=(0,c.sign)(n.y)*t},_resetActiveElement(){"ios"===f.default.real().platform&&this.getElement().find(":focus").length&&p.default.resetActiveElement()},_toggleGestureCover(e){this._toggleGestureCoverImpl(e)},_toggleGestureCoverImpl(e){2===this._stage&&function(e,t){b()(e,t)}(e,this.getElement().css("cursor"))},_clearSelection(e){(0,r.isDxMouseWheelEvent)(e)||(0,r.isTouchEvent)(e)||p.default.clearSelection()},end(e){this._toggleGestureCover(!1),2===this._stage?this._end(e):1===this._stage&&this._stop(e),this._stage=0},dispose(){clearTimeout(this._immediateTimer),this.callBase.apply(this,arguments),this._toggleGestureCover(!1)},_init:l.noop,_start:l.noop,_move:l.noop,_stop:l.noop,_end:l.noop});y.initialTouchBoundary=v,y.touchBoundary=function(e){if(!(0,h.isDefined)(e))return v;v=e};t.default=y},18572:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(84096),o=u(n(81411)),r=u(n(92774)),a=u(n(85915)),s=n(98834),l=u(n(55620)),c=u(n(98905));function u(e){return e&&e.__esModule?e:{default:e}}const{abstract:d}=l.default,h=c.default.real(),f="scroll",p="dxscrollinit",g="dxscrollstart",_="dxscroll",m="dxscrollend",v="dxscrollstop",b="dxscrollcancel",y=l.default.inherit(function(){const e=(0,s.addNamespace)(f,"dxScrollEmitter");return{ctor(t){this._element=t,this._locked=!1,this._proxiedScroll=e=>{this._disposed||this._scroll(e)},r.default.on(this._element,e,this._proxiedScroll)},_scroll:d,check(e,t){this._locked&&t()},dispose(){this._disposed=!0,r.default.off(this._element,e,this._proxiedScroll)}}}()),x=y.inherit({ctor(e,t){this.callBase(e),this._timeout=t},_scroll(){this._prepare(),this._forget()},_prepare(){this._timer&&this._clearTimer(),this._locked=!0},_clearTimer(){clearTimeout(this._timer),this._locked=!1,this._timer=null},_forget(){const e=this;this._timer=setTimeout((()=>{e._clearTimer()}),this._timeout)},dispose(){this.callBase(),this._clearTimer()}}),C=x.inherit({ctor(e){this.callBase(e,400),this._lastWheelDirection=null},check(e,t){this._checkDirectionChanged(e),this.callBase(e,t)},_checkDirectionChanged(e){if(!(0,s.isDxMouseWheelEvent)(e))return void(this._lastWheelDirection=null);const t=e.shiftKey||!1,n=null!==this._lastWheelDirection&&t!==this._lastWheelDirection;this._lastWheelDirection=t,this._locked=this._locked&&!n}});let S=x.inherit({ctor(e){this.callBase(e,400)}});!function(){const{ios:e,android:t}=h;(e||t)&&(S=y.inherit({_scroll(){this._locked=!0;const e=this;(0,i.cancelAnimationFrame)(this._scrollFrame),this._scrollFrame=(0,i.requestAnimationFrame)((()=>{e._locked=!1}))},check(e,t){(0,i.cancelAnimationFrame)(this._scrollFrame),(0,i.cancelAnimationFrame)(this._checkFrame);const n=this,{callBase:o}=this;this._checkFrame=(0,i.requestAnimationFrame)((()=>{o.call(n,e,t),n._locked=!1}))},dispose(){this.callBase(),(0,i.cancelAnimationFrame)(this._scrollFrame),(0,i.cancelAnimationFrame)(this._checkFrame)}}))}();const w=a.default.inherit(function(){const e=Math.round(1e3/60);return{ctor(e){this.callBase.apply(this,arguments),this.direction="both",this._pointerLocker=new S(e),this._wheelLocker=new C(e)},validate:()=>!0,configure(e){e.scrollTarget&&(this._pointerLocker.dispose(),this._wheelLocker.dispose(),this._pointerLocker=new S(e.scrollTarget),this._wheelLocker=new C(e.scrollTarget)),this.callBase(e)},_init(e){this._wheelLocker.check(e,(()=>{(0,s.isDxMouseWheelEvent)(e)&&this._accept(e)})),this._pointerLocker.check(e,(()=>{const t=this.isNative&&(0,s.isMouseEvent)(e);(0,s.isDxMouseWheelEvent)(e)||t||this._accept(e)})),this._fireEvent(p,e),this._prevEventData=(0,s.eventData)(e)},move(e){this.callBase.apply(this,arguments),e.isScrollingEvent=this.isNative||e.isScrollingEvent},_start(e){this._savedEventData=(0,s.eventData)(e),this._fireEvent(g,e),this._prevEventData=(0,s.eventData)(e)},_move(e){const t=(0,s.eventData)(e);this._fireEvent(_,e,{delta:(0,s.eventDelta)(this._prevEventData,t)});(0,s.eventDelta)(this._savedEventData,t).time>200&&(this._savedEventData=this._prevEventData),this._prevEventData=(0,s.eventData)(e)},_end(t){const n=(0,s.eventDelta)(this._prevEventData,(0,s.eventData)(t));let i={x:0,y:0};if(!(0,s.isDxMouseWheelEvent)(t)&&n.time<100){const t=(0,s.eventDelta)(this._savedEventData,this._prevEventData),n=e/t.time;i={x:t.x*n,y:t.y*n}}this._fireEvent(m,t,{velocity:i})},_stop(e){this._fireEvent(v,e)},cancel(e){this.callBase.apply(this,arguments),this._fireEvent(b,e)},dispose(){this.callBase.apply(this,arguments),this._pointerLocker.dispose(),this._wheelLocker.dispose()},_clearSelection(){if(!this.isNative)return this.callBase.apply(this,arguments)},_toggleGestureCover(){if(!this.isNative)return this.callBase.apply(this,arguments)}}}());(0,o.default)({emitter:w,events:[p,g,_,m,v,b]});t.default={init:p,start:g,move:_,end:m,stop:v,cancel:b,scroll:f}},28356:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.name=void 0;var i=n(81578),o=g(n(59e3)),r=g(n(81411)),a=g(n(92774)),s=g(n(89797)),l=n(47413),c=n(45280),u=n(98834),d=g(n(64960)),h=g(n(64553)),f=g(n(98905)),p=g(n(76400));function g(e){return e&&e.__esModule?e:{default:e}}const _=t.name="dxclick";i.requestAnimationFrame,i.cancelAnimationFrame;let m=null,v=null;const b=()=>{v=null},y=function(e){const{originalEvent:t}=e,n=v===t||t&&t.DXCLICK_FIRED;!(!e.which||1===e.which)||m||n||(t&&(t.DXCLICK_FIRED=!0),(0,l.unsubscribeNodesDisposing)(v,b),v=t,(0,l.subscribeNodesDisposing)(v,b),(0,u.fireEvent)({type:_,originalEvent:e}))},x=o.default.inherit({ctor(e){this.callBase(e),a.default.on(this.getElement(),"click",y)},start(){m=null},cancel(){m=!0},dispose(){a.default.off(this.getElement(),"click",y)}});!function(){if(!f.default.real().generic){let e=null,t=!1;const n=function(e){return(0,h.default)(e).is("input, textarea, select, button ,:focus, :focus *")},i=function(n){e=n.target,t=n.isDefaultPrevented()},o=function(e){const t=(0,c.getEventTarget)(e);return(0,h.default)(t)},r=function(i){const r=o(i);t||!e||r.is(e)||(0,h.default)(e).is("label")||!n(r)||p.default.resetActiveElement(),e=null,t=!1},l="NATIVE_CLICK_FIXER",f=d.default.getDocument();a.default.subscribeGlobal(f,(0,u.addNamespace)(s.default.down,l),i),a.default.subscribeGlobal(f,(0,u.addNamespace)("click",l),r)}}(),(0,r.default)({emitter:x,bubble:!0,events:[_]})},90096:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.name=void 0;var i=d(n(15273)),o=d(n(92774)),r=d(n(68095)),a=n(98834),s=d(n(55620)),l=d(n(64553)),c=d(n(98905)),u=d(n(85991));function d(e){return e&&e.__esModule?e:{default:e}}const h="dxContexMenu",f=(0,a.addNamespace)("contextmenu",h),p=(0,a.addNamespace)(r.default.name,h),g="dxcontextmenu",_=s.default.inherit({setup(e){const t=(0,l.default)(e);o.default.on(t,f,this._contextMenuHandler.bind(this)),(u.default.touch||c.default.isSimulator())&&o.default.on(t,p,this._holdHandler.bind(this))},_holdHandler(e){(0,a.isMouseEvent)(e)&&!c.default.isSimulator()||this._fireContextMenu(e)},_contextMenuHandler(e){this._fireContextMenu(e)},_fireContextMenu:e=>(0,a.fireEvent)({type:g,originalEvent:e}),teardown(e){o.default.off(e,`.${h}`)}});(0,i.default)(g,new _);t.name=g},36212:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.name=t.dblClick=void 0;var i=n(64044),o=c(n(92774)),r=n(98834),a=c(n(55620)),s=c(n(64960)),l=n(86858);function c(e){return e&&e.__esModule?e:{default:e}}const u=t.name="dxdblclick",d=(0,r.addNamespace)(i.name,"dxDblClick"),h=a.default.inherit({ctor(){this._handlerCount=0,this._forgetLastClick()},_forgetLastClick(){this._firstClickTarget=null,this._lastClickTimeStamp=-300},add(){this._handlerCount<=0&&o.default.on(s.default.getDocument(),d,this._clickHandler.bind(this)),this._handlerCount+=1},_clickHandler(e){const t=e.timeStamp||Date.now(),n=t-this._lastClickTimeStamp;!(n<0)&&n<300?((0,r.fireEvent)({type:u,target:(0,l.closestCommonParent)(this._firstClickTarget,e.target),originalEvent:e}),this._forgetLastClick()):(this._firstClickTarget=e.target,this._lastClickTimeStamp=t,clearTimeout(this._lastClickClearTimeout),this._lastClickClearTimeout=setTimeout((()=>{this._forgetLastClick()}),600))},remove(){this._handlerCount-=1,this._handlerCount<=0&&(this._forgetLastClick(),o.default.off(s.default.getDocument(),d,void 0),clearTimeout(this._lastClickClearTimeout),this._handlerCount=0)}});t.dblClick=new h},88480:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.start=t.move=t.leave=t.enter=t.end=t.drop=void 0;var i=f(n(81411)),o=f(n(15273)),r=f(n(85915)),a=n(98834),s=n(74663),l=f(n(64553)),c=n(94487),u=n(86858),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(21274));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const p=t.start="dxdragstart",g=t.move="dxdrag",_=t.end="dxdragend",m=t.enter="dxdragenter",v=t.leave="dxdragleave",b=t.drop="dxdrop",y="dxDragEventsCount",x=[],C=[],S=[],w={setup(e,t){x.includes(e)||(x.push(e),C.push([]),S.push(t||{}))},add(e,t){const n=x.indexOf(e);this.updateEventsCounter(e,t.type,1);const{selector:i}=t;C[n].includes(i)||C[n].push(i)},updateEventsCounter(e,t,n){if([m,v,b].includes(t)){const t=(0,s.data)(e,y)||0;(0,s.data)(e,y,Math.max(0,t+n))}},remove(e,t){this.updateEventsCounter(e,t.type,-1)},teardown(e){if(!(0,s.data)(e,y)){const t=x.indexOf(e);x.splice(t,1),C.splice(t,1),S.splice(t,1),(0,s.removeData)(e,y)}}};(0,o.default)(m,w),(0,o.default)(v,w),(0,o.default)(b,w);const E=r.default.inherit({ctor(e){this.callBase(e),this.direction="both"},_init(e){this._initEvent=e},_start(e){if(e=this._fireEvent(p,this._initEvent),this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset,e.targetElements||null===e.targetElements){const t=(0,c.wrapToArray)(e.targetElements||[]);this._dropTargets=d.map(t,(e=>(0,l.default)(e).get(0)))}else this._dropTargets=x},_move(e){const t=(0,a.eventData)(e),n=this._calculateOffset(t);e=this._fireEvent(g,e,{offset:n}),this._processDropTargets(e),e._cancelPreventDefault||e.preventDefault()},_calculateOffset(e){return{x:this._calculateXOffset(e),y:this._calculateYOffset(e)}},_calculateXOffset(e){if("vertical"!==this.direction){const t=e.x-this._startEventData.x;return this._fitOffset(t,this._maxLeftOffset,this._maxRightOffset)}return 0},_calculateYOffset(e){if("horizontal"!==this.direction){const t=e.y-this._startEventData.y;return this._fitOffset(t,this._maxTopOffset,this._maxBottomOffset)}return 0},_fitOffset:(e,t,n)=>(null!=t&&(e=Math.max(e,-t)),null!=n&&(e=Math.min(e,n)),e),_processDropTargets(e){const t=this._findDropTarget(e);t===this._currentDropTarget||(this._fireDropTargetEvent(e,v),this._currentDropTarget=t,this._fireDropTargetEvent(e,m))},_fireDropTargetEvent(e,t){if(!this._currentDropTarget)return;const n={type:t,originalEvent:e,draggingElement:this._$element.get(0),target:this._currentDropTarget};(0,a.fireEvent)(n)},_findDropTarget(e){const t=this;let n;return d.each(x,((i,o)=>{if(!t._checkDropTargetActive(o))return;const r=(0,l.default)(o);d.each(function(e){const t=x.indexOf(e.get(0)),n=C[t].filter((e=>e));let i=e.find(n.join(", "));return C[t].includes(void 0)&&(i=i.add(e)),i}(r),((i,o)=>{const a=(0,l.default)(o);t._checkDropTarget(function(e){const t=x.indexOf(e.get(0));return S[t]}(r),a,(0,l.default)(n),e)&&(n=o)}))})),n},_checkDropTargetActive(e){let t=!1;return d.each(this._dropTargets,((n,i)=>(t=t||i===e||(0,u.contains)(i,e),!t))),t},_checkDropTarget(e,t,n,i){if(t.get(0)===(0,l.default)(i.target).get(0))return!1;const o=(a=t,(r=e).itemPositionFunc?r.itemPositionFunc(a):a.offset());var r,a;if(i.pageX<o.left)return!1;if(i.pageY<o.top)return!1;const s=function(e,t){return e.itemSizeFunc?e.itemSizeFunc(t):{width:t.get(0).getBoundingClientRect().width,height:t.get(0).getBoundingClientRect().height}}(e,t);return!(i.pageX>o.left+s.width)&&(!(i.pageY>o.top+s.height)&&((!n.length||!n.closest(t).length)&&(!(e.checkDropTarget&&!e.checkDropTarget(t,i))&&t)))},_end(e){const t=(0,a.eventData)(e);this._fireEvent(_,e,{offset:this._calculateOffset(t)}),this._fireDropTargetEvent(e,b),delete this._currentDropTarget}});(0,i.default)({emitter:E,events:[p,g,_]})},3111:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(59e3)),o=a(n(81411)),r=n(98834);function a(e){return e&&e.__esModule?e:{default:e}}const{abs:s}=Math,l="dxhold",c=i.default.inherit({start(e){this._startEventData=(0,r.eventData)(e),this._startTimer(e)},_startTimer(e){const t="timeout"in this?this.timeout:750;this._holdTimer=setTimeout((()=>{this._requestAccept(e),this._fireEvent(l,e,{target:e.target}),this._forgetAccept()}),t)},move(e){this._touchWasMoved(e)&&this._cancel(e)},_touchWasMoved(e){const t=(0,r.eventDelta)(this._startEventData,(0,r.eventData)(e));return s(t.x)>5||s(t.y)>5},end(){this._stopTimer()},_stopTimer(){clearTimeout(this._holdTimer)},cancel(){this._stopTimer()},dispose(){this._stopTimer()}});(0,o.default)({emitter:c,bubble:!0,events:[l]});t.default={name:l}},57798:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.start=t.end=void 0;var i=u(n(15273)),o=u(n(92774)),r=u(n(89797)),a=n(98834),s=u(n(55620)),l=n(74663),c=u(n(98905));function u(e){return e&&e.__esModule?e:{default:e}}const d="dxHoverStart",h=t.start="dxhoverstart",f=(0,a.addNamespace)(r.default.enter,d),p="dxHoverEnd",g=t.end="dxhoverend",_=(0,a.addNamespace)(r.default.leave,p),m=s.default.inherit({noBubble:!0,ctor(){this._handlerArrayKeyPath=`${this._eventNamespace}_HandlerStore`},setup(e){(0,l.data)(e,this._handlerArrayKeyPath,{})},add(e,t){const n=this,i=function(e){n._handler(e)};o.default.on(e,this._originalEventName,t.selector,i),(0,l.data)(e,this._handlerArrayKeyPath)[t.guid]=i},_handler(e){(0,a.isTouchEvent)(e)||c.default.isSimulator()||(0,a.fireEvent)({type:this._eventName,originalEvent:e,delegateTarget:e.delegateTarget})},remove(e,t){const n=(0,l.data)(e,this._handlerArrayKeyPath)[t.guid];o.default.off(e,this._originalEventName,t.selector,n)},teardown(e){(0,l.removeData)(e,this._handlerArrayKeyPath)}}),v=m.inherit({ctor(){this._eventNamespace=d,this._eventName=h,this._originalEventName=f,this.callBase()},_handler(e){(e.pointers||[]).length||this.callBase(e)}}),b=m.inherit({ctor(){this._eventNamespace=p,this._eventName=g,this._originalEventName=_,this.callBase()}});(0,i.default)(h,new v),(0,i.default)(g,new b)},24381:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n(15273)),o=u(n(5949)),r=u(n(71887)),a=u(n(71017)),s=u(n(66636)),l=n(21274),c=u(n(98905));function u(e){return e&&e.__esModule?e:{default:e}}const d=((e,t)=>{let{tablet:n,phone:i}=t;const l=function(){const e=(0,s.default)().pointerEventStrategy;return{"mouse-and-touch":r.default,touch:a.default,mouse:o.default}[e]}();return l||(!e.touch||n||i?e.touch?a.default:o.default:r.default)})(u(n(85991)).default,c.default.real());(0,l.each)(d.map,((e,t)=>{(0,i.default)(e,new d(e,t))}));t.default={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}},92686:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.removeEvent=void 0;var i=s(n(15273)),o=s(n(92774)),r=n(74663),a=s(n(64553));function s(e){return e&&e.__esModule?e:{default:e}}const l=t.removeEvent="dxremove",c="dxRemoveEvent";(0,r.beforeCleanData)((e=>{e=[].slice.call(e);for(let t=0;t<e.length;t++){const n=(0,a.default)(e[t]);n.prop(c)&&(n[0][c]=null,o.default.triggerHandler(n,l))}})),(0,i.default)(l,{noBubble:!0,setup(e){(0,a.default)(e).prop(c,!0)}})},43926:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.visibility=t.resize=t.keyboard=t.hover=t.focus=t.dxClick=t.click=t.active=void 0;var i=a(n(92774)),o=a(n(52818)),r=n(98834);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return t?(0,r.addNamespace)(e,t):e}function l(e,t){return"function"==typeof e?e(t):e.execute(t)}t.active={on:(e,t,n,o)=>{const{selector:r,showTimeout:a,hideTimeout:c,namespace:u}=o;i.default.on(e,s("dxactive",u),r,{timeout:a},(e=>l(t,{event:e,element:e.currentTarget}))),i.default.on(e,s("dxinactive",u),r,{timeout:c},(e=>l(n,{event:e,element:e.currentTarget})))},off:(e,t)=>{let{namespace:n,selector:o}=t;i.default.off(e,s("dxactive",n),o),i.default.off(e,s("dxinactive",n),o)}},t.resize={on:function(e,t){let{namespace:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i.default.on(e,s("dxresize",n),t)},off:function(e){let{namespace:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i.default.off(e,s("dxresize",t))}},t.hover={on:(e,t,n,o)=>{let{selector:r,namespace:a}=o;i.default.on(e,s("dxhoverend",a),r,(e=>n(e))),i.default.on(e,s("dxhoverstart",a),r,(e=>l(t,{element:e.target,event:e})))},off:(e,t)=>{let{selector:n,namespace:o}=t;i.default.off(e,s("dxhoverstart",o),n),i.default.off(e,s("dxhoverend",o),n)}},t.visibility={on:(e,t,n,o)=>{let{namespace:r}=o;i.default.on(e,s("dxhiding",r),n),i.default.on(e,s("dxshown",r),t)},off:(e,t)=>{let{namespace:n}=t;i.default.off(e,s("dxhiding",n)),i.default.off(e,s("dxshown",n))}},t.focus={on:(e,t,n,o)=>{let{namespace:r}=o;i.default.on(e,s("focusin",r),t),i.default.on(e,s("focusout",r),n)},off:(e,t)=>{let{namespace:n}=t;i.default.off(e,s("focusin",n)),i.default.off(e,s("focusout",n))},trigger:e=>i.default.trigger(e,"focus")},t.dxClick={on:function(e,t){let{namespace:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i.default.on(e,s("dxclick",n),t)},off:function(e){let{namespace:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i.default.off(e,s("dxclick",t))}},t.click={on:function(e,t){let{namespace:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i.default.on(e,s("click",n),t)},off:function(e){let{namespace:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i.default.off(e,s("click",t))}};let c=0;const u={};t.keyboard={on:(e,t,n)=>{const i="keyboardProcessorId"+c++;return u[i]=new o.default({element:e,focusTarget:t,handler:n}),i},off:e=>{e&&u[e]&&(u[e].dispose(),delete u[e])},_getProcessor:e=>u[e]}},6066:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.swipe=t.start=t.end=void 0;var i=s(n(81411)),o=s(n(85915)),r=n(98834),a=n(57653);function s(e){return e&&e.__esModule?e:{default:e}}const l=t.start="dxswipestart",c=t.swipe="dxswipe",u=t.end="dxswipeend",d={horizontal:{defaultItemSizeFunc(){return(0,a.getWidth)(this.getElement())},getBounds(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio(e){return((0,r.eventData)(e).x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,e)},isFastSwipe(e){const t=(0,r.eventData)(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.x-this._tickData.x)>=t.time-this._tickData.time}},vertical:{defaultItemSizeFunc(){return(0,a.getHeight)(this.getElement())},getBounds(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio(e){return((0,r.eventData)(e).y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,e)},isFastSwipe(e){const t=(0,r.eventData)(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.y-this._tickData.y)>=t.time-this._tickData.time}}},h=o.default.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor(e){this.callBase(e),this.direction="horizontal",this.elastic=!0},_getStrategy(){return d[this.direction]},_defaultItemSizeFunc(){return this._getStrategy().defaultItemSizeFunc.call(this)},_itemSizeFunc(){return this.itemSizeFunc||this._defaultItemSizeFunc},_init(e){this._tickData=(0,r.eventData)(e)},_start(e){this._savedEventData=(0,r.eventData)(e),(e=this._fireEvent(l,e)).cancel||(this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset)},_move(e){const t=this._getStrategy(),n=(0,r.eventData)(e);let i=t.calcOffsetRatio.call(this,e);i=this._fitOffset(i,this.elastic),n.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=n),this._fireEvent(c,e,{offset:i}),!1!==e.cancelable&&e.preventDefault()},_end(e){const t=this._getStrategy(),n=t.calcOffsetRatio.call(this,e),i=t.isFastSwipe.call(this,e);let o=n,r=this._calcTargetOffset(n,i);o=this._fitOffset(o,this.elastic),r=this._fitOffset(r,!1),this._fireEvent(u,e,{offset:o,targetOffset:r})},_fitOffset(e,t){const n=this._getStrategy().getBounds.call(this);return e<-n[0]?t?(-2*n[0]+e)/3:-n[0]:e>n[1]?t?(2*n[1]+e)/3:n[1]:e},_calcTargetOffset(e,t){let n;return t?(n=Math.ceil(Math.abs(e)),e<0&&(n=-n)):n=Math.round(e),n}});(0,i.default)({emitter:h,events:[l,c,u]})},68264:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.exportNames=void 0;var i=c(n(59e3)),o=c(n(81411)),r=n(98834),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(21274)),s=n(50254);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}const u="dx",d="start",h="",f="end",p=[],g=function(e,t){p.push({name:e,args:t})};g("transform",{scale:!0,deltaScale:!0,rotation:!0,deltaRotation:!0,translation:!0,deltaTranslation:!0}),g("translate",{translation:!0,deltaTranslation:!0}),g("pinch",{scale:!0,deltaScale:!0}),g("rotate",{rotation:!0,deltaRotation:!0});const _=function(e){const{pointers:t}=e;return n=t[0],{x:(i=t[1]).pageX-n.pageX,y:-i.pageY+n.pageY,centerX:.5*(i.pageX+n.pageX),centerY:.5*(i.pageY+n.pageY)};var n,i},m=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},v=function(e,t){return m(e)/m(t)},b=function(e,t){const n=e.x*t.x+e.y*t.y,i=m(e)*m(t);if(0===i)return 0;return(0,s.sign)(e.x*t.y-t.x*e.y)*Math.acos((0,s.fitIntoRange)(n/i,-1,1))},y=function(e,t){return{x:e.centerX-t.centerX,y:e.centerY-t.centerY}},x=i.default.inherit({validatePointers:e=>(0,r.hasTouches)(e)>1,start(e){this._accept(e);const t=_(e);this._startVector=t,this._prevVector=t,this._fireEventAliases(d,e)},move(e){const t=_(e),n=this._getEventArgs(t);this._fireEventAliases(h,e,n),this._prevVector=t},end(e){const t=this._getEventArgs(this._prevVector);this._fireEventAliases(f,e,t)},_getEventArgs(e){return{scale:v(e,this._startVector),deltaScale:v(e,this._prevVector),rotation:b(e,this._startVector),deltaRotation:b(e,this._prevVector),translation:y(e,this._startVector),deltaTranslation:y(e,this._prevVector)}},_fireEventAliases(e,t,n){n=n||{},a.each(p,((i,o)=>{const r={};a.each(o.args,(e=>{e in n&&(r[e]=n[e])})),this._fireEvent(u+o.name+e,t,r)}))}}),C=p.reduce(((e,t)=>([d,h,f].forEach((n=>{e.push(u+t.name+n)})),e)),[]);(0,o.default)({emitter:x,events:C});const S=t.exportNames={};a.each(C,((e,t)=>{S[t.substring(2)]=t}))},52997:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.triggerShownEvent=t.triggerResizeEvent=t.triggerHidingEvent=t.default=void 0;var i=r(n(92774)),o=r(n(64553));function r(e){return e&&e.__esModule?e:{default:e}}const a=function(e){const t=".dx-visibility-change-handler";return function(n){const r=(0,o.default)(n||"body"),a=r.filter(t).add(r.find(t));for(let t=0;t<a.length;t++)i.default.triggerHandler(a[t],e)}},s=t.triggerShownEvent=a("dxshown"),l=t.triggerHidingEvent=a("dxhiding"),c=t.triggerResizeEvent=a("dxresize");t.default={triggerHidingEvent:l,triggerResizeEvent:c,triggerShownEvent:s}},37321:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n(92774)),o=n(45280),r=n(98834),a=c(n(55620)),s=c(n(64960)),l=c(n(48314));function c(e){return e&&e.__esModule?e:{default:e}}const u="dxPointerEvents",d=a.default.inherit({ctor(e,t){this._eventName=e,this._originalEvents=(0,r.addNamespace)(t,u),this._handlerCount=0,this.noBubble=this._isNoBubble()},_isNoBubble(){const e=this._eventName;return"dxpointerenter"===e||"dxpointerleave"===e},_handler(e){const t=this._getDelegateTarget(e),n={type:this._eventName,pointerType:e.pointerType||(0,r.eventSource)(e),originalEvent:e,delegateTarget:t,timeStamp:l.default.mozilla?(new Date).getTime():e.timeStamp},i=(0,o.getEventTarget)(e);return n.target=i,this._fireEvent(n)},_getDelegateTarget(e){let t;return this.noBubble&&(t=e.delegateTarget),t},_fireEvent:e=>(0,r.fireEvent)(e),_setSelector(e){this._selector=this.noBubble&&e?e.selector:null},_getSelector(){return this._selector},setup:()=>!0,add(e,t){if(this._handlerCount<=0||this.noBubble){e=this.noBubble?e:s.default.getDocument(),this._setSelector(t);const n=this;i.default.on(e,this._originalEvents,this._getSelector(),(e=>{n._handler(e)}))}this.noBubble||this._handlerCount++},remove(e){this._setSelector(e),this.noBubble||this._handlerCount--},teardown(e){this._handlerCount&&!this.noBubble||(e=this.noBubble?e:s.default.getDocument(),this._originalEvents!==`.${u}`&&i.default.off(e,this._originalEvents,this._getSelector()))},dispose(e){e=this.noBubble?e:s.default.getDocument(),i.default.off(e,this._originalEvents)}});t.default=d},45841:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(725)),o=s(n(38242)),r=s(n(48314)),a=n(52576);function s(e){return e&&e.__esModule?e:{default:e}}const l={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"pointercancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"};r.default.safari&&(l.dxpointercancel+=" dragstart");const c=function(e){return e.pointerId=1,{pointers:u.pointers(),pointerId:1}};let u,d=!1;const h=function(){d||(u=new o.default(l,(()=>!0)),d=!0)},f=i.default.inherit({ctor(){this.callBase.apply(this,arguments),h()},_fireEvent(e){return this.callBase((0,a.extend)(c(e.originalEvent),e))}});f.map=l,f.normalize=c,f.activate=h,f.resetObserver=function(){u.reset()};t.default=f},60699:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n(725)),o=l(n(5949)),r=l(n(71017)),a=n(98834),s=n(52576);function l(e){return e&&e.__esModule?e:{default:e}}let c=!1;const u=i.default.inherit({EVENT_LOCK_TIMEOUT:100,ctor(){this.callBase.apply(this,arguments),c||(o.default.activate(),c=!0)},_handler(e){const t=(0,a.isMouseEvent)(e);if(t||(this._skipNextEvents=!0),!t||!this._mouseLocked){if(!t||!this._skipNextEvents)return this.callBase(e);{this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);const e=this;this._unlockMouseTimer=setTimeout((()=>{e._mouseLocked=!1}),this.EVENT_LOCK_TIMEOUT)}}},_fireEvent(e){const t=(0,a.isMouseEvent)(e.originalEvent)?o.default.normalize:r.default.normalize;return this.callBase((0,s.extend)(t(e.originalEvent),e))},dispose(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});u.map={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},u.resetObserver=o.default.resetObserver;t.default=u},62814:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(64960)),o=n(21274),r=a(n(3122));function a(e){return e&&e.__esModule?e:{default:e}}const s=function(e,t){r.default.add((()=>{e.split(" ").forEach((e=>{i.default.listen(i.default.getDocument(),e,t,!0)}))}))};t.default=function(e,t,n){n=n||function(){};let i=[];const r=function(e){let n=-1;return(0,o.each)(i,((i,o)=>!t(e,o)||(n=i,!1))),n},a=function(e){const t=r(e);t>-1&&i.splice(t,1)};s(e.dxpointerdown,(function(e){-1===r(e)&&(n(e),i.push(e))})),s(e.dxpointermove,(function(e){i[r(e)]=e})),s(e.dxpointerup,a),s(e.dxpointercancel,a),this.pointers=function(){return i},this.reset=function(){i=[]}}},95253:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(725)),o=n(52576),r=n(21274),a=s(n(98905));function s(e){return e&&e.__esModule?e:{default:e}}const l=function(e){const t=[];return(0,r.each)(e.touches,((e,n)=>{t.push((0,o.extend)({pointerId:n.identifier},n))})),{pointers:t,pointerId:e.changedTouches[0].identifier}},c=i.default.inherit({ctor(){this.callBase.apply(this,arguments),this._pointerId=0},_handler(e){if(t=this._eventName,"ios"===a.default.real().platform&&("dxpointerdown"===t||"dxpointerup"===t)){const t=e.changedTouches[0];if(this._pointerId===t.identifier&&0!==this._pointerId)return;this._pointerId=t.identifier}var t;return this.callBase.apply(this,arguments)},_fireEvent(e){return this.callBase((0,o.extend)(l(e.originalEvent),e))}});c.map={dxpointerdown:"touchstart",dxpointermove:"touchmove",dxpointerup:"touchend",dxpointercancel:"touchcancel",dxpointerover:"",dxpointerout:"",dxpointerenter:"",dxpointerleave:""},c.normalize=l;t.default=c},61210:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.stopEventsSkipping=t.setEventFixMethod=t.normalizeKeyName=t.needSkipEvent=t.isTouchEvent=t.isPointerEvent=t.isMouseEvent=t.isKeyboardEvent=t.isFakeClickEvent=t.isDxMouseWheelEvent=t.isCommandKeyPressed=t.hasTouches=t.getChar=t.forceSkipEvents=t.fireEvent=t.eventSource=t.eventDelta=t.eventData=t.createEvent=t.addNamespace=void 0;var i=c(n(92774)),o=c(n(64553)),r=n(52576),a=n(21274),s=n(35944),l=c(n(91293));function c(e){return e&&e.__esModule?e:{default:e}}const u={backspace:"backspace",tab:"tab",enter:"enter",escape:"escape",pageup:"pageUp",pagedown:"pageDown",end:"end",home:"home",arrowleft:"leftArrow",arrowup:"upArrow",arrowright:"rightArrow",arrowdown:"downArrow",delete:"del"," ":"space",f:"F",a:"A","*":"asterisk","-":"minus",alt:"alt",control:"control",shift:"shift"},d={8:"backspace",9:"tab",13:"enter",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow",46:"del",32:"space",70:"F",65:"A",106:"asterisk",109:"minus",189:"minus",173:"minus",16:"shift",17:"control",18:"alt"},h={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i},f=e=>{let{type:t}=e,n="other";return(0,a.each)(h,(function(e){if(this.test(t))return n=e,!1})),n};t.eventSource=f;let p=e=>e;const g=e=>p((e=>i.default.Event(e,e))(e),e),_=e=>"dx"===f(e),m=e=>"touch"===f(e),v=e=>"pointer"===f(e);t.isPointerEvent=v;const b=e=>(e=>"mouse"===f(e))(e)||(v(e)||_(e))&&"mouse"===e.pointerType;t.isMouseEvent=b;const y=e=>e&&"dxmousewheel"===e.type;t.isDxMouseWheelEvent=y;const x=e=>m(e)||(v(e)||_(e))&&"touch"===e.pointerType;t.isTouchEvent=x;t.isKeyboardEvent=e=>"keyboard"===f(e);t.isFakeClickEvent=e=>{let{screenX:t,offsetX:n,pageX:i}=e;return 0===t&&!n&&0===i};t.eventData=e=>{let{pageX:t,pageY:n,timeStamp:i}=e;return{x:t,y:n,time:i}};t.eventDelta=(e,t)=>({x:t.x-e.x,y:t.y-e.y,time:t.time-e.time||1});t.hasTouches=e=>{const{originalEvent:t,pointers:n}=e;return m(e)?(t.touches||[]).length:_(e)?(n||[]).length:0};let C=!1;t.forceSkipEvents=()=>{C=!0};t.stopEventsSkipping=()=>{C=!1};t.needSkipEvent=e=>{if(C)return!0;const{target:t}=e,n=(0,o.default)(t),i=(null==t?void 0:t.isContentEditable)||(null==t?void 0:t.hasAttribute("contenteditable")),r=n.is("input, textarea, select")||i;if(y(e)){if(n.is("textarea")&&n.hasClass("dx-texteditor-input")||i)return!1;return n.is("input[type='number'], textarea, select")&&n.is(":focus")}return b(e)?r||e.which>1:x(e)?r&&(0,s.focused)(n):void 0};t.setEventFixMethod=e=>{p=e};const S=(e,t)=>{const n=g(e);return t&&(0,r.extend)(n,t),n};t.createEvent=S;t.fireEvent=e=>{const{originalEvent:t,delegateTarget:n}=e,o=S(t,e);return i.default.trigger(n||o.target,o),o};t.normalizeKeyName=e=>{let{key:t,which:n}=e;const i=u[null==t?void 0:t.toLowerCase()]||t,o=d[n];return o&&i===t?o:!i&&n?String.fromCharCode(n):i};t.getChar=e=>{let{key:t,which:n}=e;return t||String.fromCharCode(n)};t.addNamespace=l.default;t.isCommandKeyPressed=e=>{let{ctrlKey:t,metaKey:n}=e;return t||n}},91293:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(87129))&&i.__esModule?i:{default:i};const r=(e,t)=>{if(!t)throw o.default.Error("E0017");return Array.isArray(e)?e.map((e=>r(e,t))).join(" "):-1!==e.indexOf(" ")?r(e.split(/\s+/g),t):`${e}.${t}`};t.default=r},68337:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unsubscribeNodesDisposing=t.subscribeNodesDisposing=void 0;var i,o=(i=n(92774))&&i.__esModule?i:{default:i},r=n(28630);function a(e){return e&&[e.target,e.delegateTarget,e.relatedTarget,e.currentTarget].filter((e=>!!e))}t.subscribeNodesDisposing=(e,t)=>{o.default.one(a(e),r.removeEvent,t)};t.unsubscribeNodesDisposing=(e,t)=>{o.default.off(a(e),r.removeEvent,t)}},86940:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getEventTarget=void 0;t.getEventTarget=e=>{var t,n;const{originalEvent:i}=e;if(!i)return e.target;if(!Boolean(null===(t=i.target)||void 0===t?void 0:t.shadowRoot))return i.target;const o=i.path??(null===(n=i.composedPath)||void 0===n?void 0:n.call(i));return(null==o?void 0:o[0])??e.target}},53226:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=C(n(92774)),o=C(n(14479)),r=n(97169),a=n(89358),s=C(n(64553)),l=n(17781),c=n(31e3),u=n(87739),d=n(52576),h=n(21274),f=n(41639),p=n(57653),g=n(54497),_=n(11528),m=C(n(40216)),v=n(3104),b=C(n(2082)),y=C(n(31876)),x=C(n(56417));function C(e){return e&&e.__esModule?e:{default:e}}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S.apply(null,arguments)}const w="virtual",E="scrolling.mode",T={year:e=>e&&e.getFullYear(),month:e=>e&&e.getMonth()+1,day:e=>e&&e.getDate(),quarter:e=>e&&Math.floor(e.getMonth()/3)+1,hour:e=>e&&e.getHours(),minute:e=>e&&e.getMinutes(),second:e=>e&&e.getSeconds()},A=function(){const e=arguments[1],t=this.calculateCellValue(e);if(!(0,_.isDefined)(t))return null;if(O(this.dataType)){return T[arguments[0]](t)}if("number"===this.dataType){const e=arguments[0];return Math.floor(Number(t)/e)*e}};function O(e){return"date"===e||"datetime"===e}const k=function(e){e.get(0).textContent="\xa0"},D=function(e){e=e||[];const t=(0,a.normalizeSortingInfo)(e);for(let n=0;n<e.length;n++)e&&e[n]&&void 0!==e[n].isExpanded&&(t[n].isExpanded=e[n].isExpanded),e&&e[n]&&void 0!==e[n].groupInterval&&(t[n].groupInterval=e[n].groupInterval);return t},L=function(e,t){const n=b.default.format(e,t.format)||e&&e.toString()||"",i={value:e,valueText:t.getDisplayFormat?t.getDisplayFormat(n):n,target:t.target||"row",groupInterval:t.groupInterval};return t.customizeText?t.customizeText.call(t,i):i.valueText},P=function(e,t){const n=e.displayFormat||e.columnCaption&&t[`${e.summaryType}OtherColumn`]||t[e.summaryType];return L(e.value,{format:e.valueFormat,getDisplayFormat:t=>n?(0,g.format)(n,t,e.columnCaption):t,customizeText:e.customizeText})},M=function(e){const t=e.data&&e.data(),n=t&&t.dxComponents,i=n&&n[0];return i&&t[i]},R=function(e,t,n){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!R(e[i],t[i],n))return!1;return!0}return(0,_.isFunction)(e)&&e.columnIndex>=0&&(0,_.isFunction)(t)&&t.columnIndex>=0?e.columnIndex===t.columnIndex&&(0,c.toComparable)(e.filterValue,void 0,n)===(0,c.toComparable)(t.filterValue,void 0,n)&&(0,c.toComparable)(e.selectedFilterOperation,void 0,n)===(0,c.toComparable)(t.selectedFilterOperation,void 0,n):(0,c.toComparable)(e,void 0,n)==(0,c.toComparable)(t,void 0,n)},I=(e,t,n)=>{let i=!1;if(n&&(i=n(t)),!i){const n={index:(o=t).index,columnIndex:o.columnIndex,x:o.x,y:o.y};e.push(n)}var o};t.default={renderNoDataText(e){const t=this;if(!(e=e||this.element()))return;const n=t.addWidgetPrefix("nodata");let i=e.find(`.${n}`).last();const o=this._dataController.isEmpty(),r=this._dataController.isLoading();i.length||(i=(0,s.default)("<span>").addClass(n)),i.parent().is(e)||i.appendTo(e),o&&!r?i.removeClass("dx-hidden").text(t._getNoDataText()):i.addClass("dx-hidden")},renderLoadPanel(e,t,n){const i=this;let o;i._loadPanel&&i._loadPanel.$element().remove(),o=i.option("loadPanel"),o&&("auto"===o.enabled?!n:o.enabled)?(o=(0,d.extend)({shading:!1,message:o.text,container:t},o),i._loadPanel=i._createComponent((0,s.default)("<div>").appendTo(t),y.default,o)):i._loadPanel=null},calculateLoadPanelPosition(e){const t=(0,s.default)((0,v.getWindow)());return(0,p.getHeight)(e)>(0,p.getHeight)(t)?{of:t,boundary:e,collision:"fit"}:{of:e}},getIndexByKey(e,t,n){let i=-1;if(void 0!==e&&Array.isArray(t)){n=arguments.length<=2?"key":n;for(let o=0;o<t.length;o++){const r=(0,_.isDefined)(n)?t[o][n]:t[o];if((0,l.equalByValue)(e,r)){i=o;break}}}return i},combineFilters(e,t){let n=[];t=t||"and";for(let o=0;o<e.length;o++){var i;if(e[o]){if(1===(null===(i=e[o])||void 0===i?void 0:i.length)&&"!"===e[o][0]){if("and"===t)return["!"];if("or"===t)continue}n.length&&n.push(t),n.push(e[o])}}if(1===n.length&&(n=n[0]),n.length)return n},checkChanges(e,t){let n=0;for(let i=0;i<t.length;i++)e[t[i]]&&n++;return e.length&&e.length===n},equalFilterParameters:R,proxyMethod(e,t,n){e[t]||(e[t]=function(){const e=this._dataSource;return e?e[t].apply(e,arguments):n})},formatValue:L,getFormatOptionsByColumn:(e,t)=>({format:e.format,getDisplayFormat:e.getDisplayFormat,customizeText:e.customizeText,target:t,trueText:e.trueText,falseText:e.falseText}),getDisplayValue:(e,t,n,i)=>e.displayValueMap&&void 0!==e.displayValueMap[t]?e.displayValueMap[t]:e.calculateDisplayValue&&n&&"group"!==i?e.calculateDisplayValue(n):!e.lookup||"group"===i&&(e.calculateGroupValue||e.calculateDisplayValue)?t:e.lookup.calculateCellValue(t),getGroupRowSummaryText(e,t){let n="(";for(let i=0;i<e.length;i++){const o=e[i];n+=(i>0?", ":"")+P(o,t)}return n+")"},getSummaryText:P,normalizeSortingInfo:D,getFormatByDataType(e){switch(e){case"date":return"shortDate";case"datetime":return"shortDateShortTime";default:return}},getHeaderFilterGroupParameters(e,t){let n=[];const i=e.dataField||e.name,o=x.default.getGroupInterval(e);return o?((0,h.each)(o,((r,a)=>{n.push(t?{selector:i,groupInterval:a,isExpanded:r<o.length-1}:A.bind(e,a))})),n):(t?n=[{selector:i,isExpanded:!1}]:(n=function(t){let n=e.calculateCellValue(t);return void 0!==n&&""!==n||(n=null),n},e.sortingMethod&&(n=[{selector:n,compare:e.sortingMethod.bind(e)}])),n)},equalSortParameters(e,t,n){if(e=D(e),t=D(t),Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(i=e[r].selector,o=t[r].selector,!((0,_.isFunction)(i)&&(0,_.isFunction)(o)&&i.originalCallback&&o.originalCallback?i.originalCallback===o.originalCallback&&i.columnIndex===o.columnIndex:i===o)||e[r].desc!==t[r].desc||e[r].groupInterval!==t[r].groupInterval||!n&&Boolean(e[r].isExpanded)!==Boolean(t[r].isExpanded))return!1;return!0}var i,o;return(!e||!e.length)==(!t||!t.length)},getPointsByColumns(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const r=[],a=e.length;let s,l,c={left:0,top:0},u={width:0,height:0},d=i;for(let i=0;i<=a;i++){var h;i<a&&(s=e.eq(i),c=s.offset(),u=(0,f.getBoundingRect)(s.get(0)),l="rtl"===s.css("direction"));const p=c.left+u.width,g=c.top+u.height,_={index:d,columnIndex:d,item:null===(h=s)||void 0===h?void 0:h.get(0),x:n||l===(i===a)?c.left:p,y:n&&i===a?g:c.top};if(!n&&i>0){const n=e.eq(i-1).offset(),{width:a}=(0,f.getBoundingRect)(e[i-1]),s=l?n.left:n.left+a;if(n.top<_.y&&(_.y=n.top),o&&Math.round(s)!==Math.round(_.x)){const n=S({},_,{item:e[i-1],x:s});l?(_.isRightBoundary=!0,n.isLeftBoundary=!0):(_.isLeftBoundary=!0,n.isRightBoundary=!0),I(r,n,t)}}I(r,_,t),d++}return r},getExpandCellTemplate:()=>({allowRenderToDetachedContainer:!0,render(e,t){const n=(0,s.default)(e);if(!(0,_.isDefined)(t.value)||t.data&&t.data.isContinuation||t.row.isNewRow)k(n);else{const e=t.component.getView("rowsView");n.addClass("dx-datagrid-expand").addClass("dx-selection-disabled"),(0,s.default)("<div>").addClass(t.value?"dx-datagrid-group-opened":"dx-datagrid-group-closed").appendTo(n),e.setAria("label",t.value?e.localize("dxDataGrid-ariaCollapse"):e.localize("dxDataGrid-ariaExpand"),n)}}}),setEmptyText:k,isDateType:O,getSelectionRange(e){try{if(e)return{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}catch(e){}return{}},setSelectionRange(e,t){try{e&&e.setSelectionRange&&e.setSelectionRange(t.selectionStart,t.selectionEnd)}catch(e){}},focusAndSelectElement(e,t){const n=t.is(":focus");i.default.trigger(t,"focus");const o=e.option("editing.selectTextOnEditStart"),r=t.get(0);if(!n&&o&&t.is(".dx-texteditor-input")&&!t.is("[readonly]")){const e=M(t.closest(".dx-texteditor"));(0,u.when)(e&&e._loadItemDeferred).done((()=>{r.select()}))}},getWidgetInstance:M,getLastResizableColumnIndex(e,t){const n=e.some((e=>e&&!e.command&&!e.fixed&&!1!==e.allowResizing));let i;for(i=e.length-1;e[i];i--){const o=e[i],r=t&&t[i],a=!n||!1!==o.allowResizing;if(!o.command&&!o.fixed&&"adaptiveHidden"!==r&&a)break}return i},isElementInCurrentGrid(e,t){if(t&&t.length){return t.closest(`.${e.getWidgetContainerClass()}`).parent().is(e.component.$element())}return!1},isVirtualRowRendering(e){const t=e.option("scrolling.rowRenderingMode"),n=e.option(E)===w,i="infinite"===e.option(E);return!(!1!==e.option("scrolling.legacyMode")||!n&&!i)||t===w},getPixelRatio:e=>e.devicePixelRatio||1,getContentHeightLimit(e){return e.mozilla?8e6:15e6/this.getPixelRatio((0,v.getWindow)())},normalizeLookupDataSource(e){let t;return e.items?t=e.items:(t=e.dataSource,(0,_.isFunction)(t)&&!m.default.isWrapped(t)&&(t=t({}))),(0,r.normalizeDataSourceOptions)(t)},getWrappedLookupDataSource(e,t,n){if(!t)return[];const i=this.normalizeLookupDataSource(e.lookup);if(e.calculateCellValue!==e.defaultCalculateCellValue)return i;const r=t.remoteOperations().groupPaging,a=e.displayField&&(0,_.isString)(e.displayField);let s,l,c;const d=(e,t)=>{const n=t.skip??0,i=t.take?n+t.take:e.length;return e.slice(n,i)},h=i=>{const o=function(e){return Array.isArray(e)||(e=[e]),e.map(((t,n)=>(0,_.isString)(t)?{selector:t,isExpanded:n<e.length-1}:t))}(a?[e.dataField,e.displayField]:e.dataField),h=new u.Deferred;return s&&(!r||i.skip===c&&i.take===l)?h.resolve(d(s,i)):(c=i.skip,l=i.take,t.load({filter:n,group:o,take:r?i.take:void 0,skip:r?i.skip:void 0}).done((e=>{s=e,h.resolve(r?e:d(e,i))})).fail(h.fail)),h},f=S({},i,{__dataGridSourceFilter:n,load:t=>{const n=new u.Deferred;return h(t).done((r=>{if(0===r.length)return void n.resolve([]);const a=this.combineFilters(r.flatMap((e=>e.key)).map((t=>[e.lookup.valueExpr,t])),"or");new o.default(S({},i,t,{filter:this.combineFilters([a,t.filter],"and"),paginate:!1})).load().done(n.resolve).fail(n.fail)})).fail(n.fail),n},key:e.lookup.valueExpr,byKey(t){const n=(0,u.Deferred)();return this.load({filter:[e.lookup.valueExpr,"=",t]}).done((e=>{n.resolve(e[0])})),n.promise()}});return f},logHeaderFilterDeprecatedWarningIfNeed(e){const t="23.1",n=e._logDeprecatedOptionWarning.bind(e);(0,_.isDefined)(e.option("headerFilter.allowSearch"))&&n("headerFilter.allowSearch",{since:t,alias:"headerFilter.search.enabled"}),(0,_.isDefined)(e.option("headerFilter.searchTimeout"))&&n("headerFilter.searchTimeout",{since:t,alias:"headerFilter.search.timeout"});const i="dxPivotGrid"===e.NAME?"dataSource.fields":"columns",o=e.option(i);if(!Array.isArray(o))return;const r=e=>{e.forEach((e=>{var o;const a=e.headerFilter||{};(0,_.isDefined)(a.allowSearch)&&n(`${i}[].headerFilter.allowSearch`,{since:t,alias:`${i}[].headerFilter.search.enabled`}),(0,_.isDefined)(a.searchMode)&&n(`${i}[].headerFilter.searchMode`,{since:t,alias:`${i}[].headerFilter.search.mode`}),null!==(o=e.columns)&&void 0!==o&&o.length&&r(e.columns)}))};r(o)},getComponentBorderWidth:(e,t)=>e.option("showBorders")?Math.ceil((0,p.getOuterWidth)(t)-(0,p.getInnerWidth)(t)):0,isCustomCommandColumn:(e,t)=>!!e.filter((e=>e.type===t.type)).length}},89983:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=T(n(3030)),o=n(88603),r=T(n(92774)),a=n(59144),s=T(n(89797)),l=n(98834),c=T(n(92848)),u=T(n(64960)),d=n(61404),h=T(n(64553)),f=n(48650),p=n(17781),g=n(87739),_=n(52576),m=n(53124),v=n(41639),b=n(57653),y=n(54497),x=n(11528),C=n(55355),S=n(3104),w=T(n(22331)),E=T(n(99762));function T(e){return e&&e.__esModule?e:{default:e}}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},A.apply(null,arguments)}const O=(0,S.getWindow)(),k="dxDraggable",D=(0,l.addNamespace)(a.start,k),L=(0,l.addNamespace)(a.move,k),P=(0,l.addNamespace)(a.end,k),M=(0,l.addNamespace)(a.enter,k),R=(0,l.addNamespace)(a.leave,k),I=(0,l.addNamespace)(s.default.down,k),B=(0,l.addNamespace)("keydown",k),V="clone";let F,H;const N=e=>({x:e.pageX-(0,h.default)(O).scrollLeft(),y:e.pageY-(0,h.default)(O).scrollTop()});class z{constructor(e,t){this._$scrollableAtPointer=null,this._preventScroll=!0,this._component=t,"vertical"===e?(this._scrollValue="scrollTop",this._overFlowAttr="overflowY",this._sizeAttr="height",this._scrollSizeProp="scrollHeight",this._clientSizeProp="clientHeight",this._limitProps={start:"top",end:"bottom"}):(this._scrollValue="scrollLeft",this._overFlowAttr="overflowX",this._sizeAttr="width",this._scrollSizeProp="scrollWidth",this._clientSizeProp="clientWidth",this._limitProps={start:"left",end:"right"})}updateScrollable(e,t){let n=!1;e.some((e=>{const i=(0,h.default)(e),o=i.hasClass("dx-overlay-wrapper"),r=i.hasClass("dx-overlay-content");return!(!o&&!r)||(n=this._trySetScrollable(e,t),n)})),n||(this._$scrollableAtPointer=null,this._scrollSpeed=0)}isScrolling(){return!!this._scrollSpeed}isScrollable(e){return("auto"===e.css(this._overFlowAttr)||e.hasClass("dx-scrollable-container"))&&e.prop(this._scrollSizeProp)>Math.ceil("width"===this._sizeAttr?(0,b.getWidth)(e):(0,b.getHeight)(e))}_trySetScrollable(e,t){const n=this,i=(0,h.default)(e);let o;const r=n._component.option("scrollSensitivity");let a=n.isScrollable(i);return a&&(o=n._calculateDistanceToBorders(i,t),r>o[n._limitProps.start]?n._preventScroll||(n._scrollSpeed=-n._calculateScrollSpeed(o[n._limitProps.start]),n._$scrollableAtPointer=i):r>o[n._limitProps.end]?n._preventScroll||(n._scrollSpeed=n._calculateScrollSpeed(o[n._limitProps.end]),n._$scrollableAtPointer=i):(a=!1,n._preventScroll=!1)),a}_calculateDistanceToBorders(e,t){const n=e.get(0);let i;return n?(i=(0,v.getBoundingRect)(n),{left:t.x-i.left,top:t.y-i.top,right:i.right-t.x,bottom:i.bottom-t.y}):{}}_calculateScrollSpeed(e){const t=this._component,n=t.option("scrollSensitivity"),i=t.option("scrollSpeed");return Math.ceil(((n-e)/n)**2*i)}scrollByStep(){const e=this;if(e._$scrollableAtPointer&&e._scrollSpeed){if(e._$scrollableAtPointer.hasClass("dx-scrollable-container")){const t=e._$scrollableAtPointer.closest(".dx-scrollable"),n=t.data("dxScrollable")||t.data("dxScrollView");if(n){const t=n.scrollOffset()[e._limitProps.start]+e._scrollSpeed;n.scrollTo({[e._limitProps.start]:t})}}else{const t=e._$scrollableAtPointer[e._scrollValue]()+e._scrollSpeed;e._$scrollableAtPointer[e._scrollValue](t)}const t=e._component._dragMoveArgs;t&&e._component._dragMoveHandler(t)}}reset(){this._$scrollableAtPointer=null,this._scrollSpeed=0,this._preventScroll=!0}isOutsideScrollable(e,t){if(!e)return!1;const n=(0,v.getBoundingRect)(e.get(0)),i=n[this._limitProps.start],o=n[this._sizeAttr],r=N(t),a="width"===this._sizeAttr?r.x:r.y;return a<i||a>i+o}}class j extends E.default{ctor(e){super.ctor(),this._strategy=e}_step(){const e=this._strategy._horizontalScrollHelper,t=this._strategy._verticalScrollHelper;null==e||e.scrollByStep(),null==t||t.scrollByStep()}}class G extends w.default{reset(){}dragMove(e){}dragEnter(){}dragLeave(){}dragEnd(e){return this._getSourceDraggable()._fireRemoveEvent(e),(0,g.Deferred)().resolve()}_fireRemoveEvent(e){}_getDefaultOptions(){return A({},super._getDefaultOptions(),{onDragStart:null,onDragMove:null,onDragEnd:null,onDragEnter:null,onDragLeave:null,onDragCancel:null,onCancelByEsc:!1,onDrop:null,immediate:!0,dragDirection:"both",boundOffset:0,allowMoveByClick:!1,itemData:null,contentTemplate:"content",handle:"",filter:"",clone:!1,autoScroll:!0,scrollSpeed:30,scrollSensitivity:60})}_setOptionsByReference(){super._setOptionsByReference.apply(this,arguments),(0,_.extend)(this._optionsByReference,{component:!0,group:!0,itemData:!0,data:!0})}_init(){super._init(),this._attachEventHandlers(),this._scrollAnimator=new j(this),this._horizontalScrollHelper=new z("horizontal",this),this._verticalScrollHelper=new z("vertical",this),this._initScrollTop=0,this._initScrollLeft=0}_normalizeCursorOffset(e){return(0,x.isObject)(e)&&(e={h:e.x,v:e.y}),{left:(e=(0,p.splitPair)(e).map((e=>parseFloat(e))))[0],top:1===e.length?e[0]:e[1]}}_getNormalizedCursorOffset(e,t){return(0,x.isFunction)(e)&&(e=e.call(this,t)),this._normalizeCursorOffset(e)}_calculateElementOffset(e){let t,n;const{event:i}=e,r=(0,h.default)(e.itemElement),a=(0,h.default)(e.dragElement),s=this._dragElementIsCloned(),l=this.option("cursorOffset");let c={left:0,top:0};const u=this._initialLocate=(0,o.locate)(a);return(s||e.initialOffset||l)&&(t=e.initialOffset||r.offset(),l&&(c=this._getNormalizedCursorOffset(l,e),isFinite(c.left)&&(t.left=i.pageX),isFinite(c.top)&&(t.top=i.pageY)),n=a.offset(),t.top-=n.top+(c.top||0)-u.top,t.left-=n.left+(c.left||0)-u.left),t}_initPosition(e){const t=(0,h.default)(e.dragElement),n=this._calculateElementOffset(e);n&&this._move(n,t),this._startPosition=(0,o.locate)(t)}_startAnimator(){this._scrollAnimator.inProgress()||this._scrollAnimator.start()}_stopAnimator(){this._scrollAnimator.stop()}_addWidgetPrefix(e){const t=this.NAME;return(0,m.dasherize)(t)+(e?`-${e}`:"")}_getItemsSelector(){return this.option("filter")||""}_$content(){const e=this.$element(),t=e.children(".dx-template-wrapper");return t.length?t:e}_attachEventHandlers(){if(this.option("disabled"))return;let e=this._$content(),t=this._getItemsSelector();const n=this.option("allowMoveByClick"),i={direction:this.option("dragDirection"),immediate:this.option("immediate"),checkDropTarget:(e,t)=>{const n=this.option("group"),i=this._getSourceDraggable().option("group"),o=this._getScrollable(e);return!this._verticalScrollHelper.isOutsideScrollable(o,t)&&!this._horizontalScrollHelper.isOutsideScrollable(o,t)&&(i&&i===n)}};n&&(e=this._getArea(),r.default.on(e,I,i,this._pointerDownHandler.bind(this))),">"===t[0]&&(t=t.slice(1)),r.default.on(e,D,t,i,this._dragStartHandler.bind(this)),r.default.on(e,L,i,this._dragMoveHandler.bind(this)),r.default.on(e,P,i,this._dragEndHandler.bind(this)),r.default.on(e,M,i,this._dragEnterHandler.bind(this)),r.default.on(e,R,i,this._dragLeaveHandler.bind(this)),this.option("onCancelByEsc")&&r.default.on(e,B,this._keydownHandler.bind(this))}_dragElementIsCloned(){var e;return null===(e=this._$dragElement)||void 0===e?void 0:e.hasClass(this._addWidgetPrefix(V))}_getDragTemplateArgs(e,t){return{container:(0,d.getPublicElement)(t),model:{itemData:this.option("itemData"),itemElement:(0,d.getPublicElement)(e)}}}_createDragElement(e){let t=e;const n=this.option("clone"),i=this._getContainer();let o=this.option("dragTemplate");return o?(o=this._getTemplate(o),t=(0,h.default)("<div>").appendTo(i),o.render(this._getDragTemplateArgs(e,t))):n&&(t=(0,h.default)("<div>").appendTo(i),e.clone().css({width:e.css("width"),height:e.css("height")}).appendTo(t)),t.toggleClass(this._addWidgetPrefix(V),t.get(0)!==e.get(0)).toggleClass("dx-rtl",this.option("rtlEnabled"))}_resetDragElement(){var e;this._dragElementIsCloned()?null===(e=this._$dragElement)||void 0===e||e.remove():this._toggleDraggingClass(!1);this._$dragElement=null}_resetSourceElement(){this._toggleDragSourceClass(!1),this._$sourceElement=null}_detachEventHandlers(){r.default.off(this._$content(),`.${k}`),r.default.off(this._getArea(),`.${k}`)}_move(e,t){(0,o.move)(t||this._$dragElement,e)}_getDraggableElement(e){const t=this._getSourceElement();if(t)return t;if(this.option("allowMoveByClick"))return this.$element();let n=(0,h.default)(null==e?void 0:e.target);const i=this._getItemsSelector();if(">"===i[0]){const e=this._$content().find(i);e.is(n)||(n=n.closest(e))}return n}_getSourceElement(){return this._getSourceDraggable()._$sourceElement}_pointerDownHandler(e){if((0,l.needSkipEvent)(e))return;const t={},n=this.$element(),{dragDirection:i}=this.option();"horizontal"!==i&&"both"!==i||(t.left=e.pageX-n.offset().left+(0,o.locate)(n).left-(0,b.getWidth)(n)/2),"vertical"!==i&&"both"!==i||(t.top=e.pageY-n.offset().top+(0,o.locate)(n).top-(0,b.getHeight)(n)/2),this._move(t,n),this._getAction("onDragMove")(this._getEventArgs(e))}_isValidElement(e,t){var n;const{handle:i}=this.option(),o=(0,h.default)(null===(n=e.originalEvent)||void 0===n?void 0:n.target);return!(i&&!o.closest(i).length)&&(!!t.length&&!t.is(".dx-state-disabled, .dx-state-disabled *"))}_dragStartHandler(e){const t=this._getDraggableElement(e);if(this.dragInProgress=!0,!this._isValidElement(e,t))return void(e.cancel=!0);if(this._$sourceElement)return;const n=this._getDragStartArgs(e,t);if(this._getAction("onDragStart")(n),n.cancel)return void(e.cancel=!0);this.option("itemData",n.itemData),this._setSourceDraggable(),this._$sourceElement=t;let i=t.offset();!this._hasClonedDraggable()&&this.option("autoScroll")&&(this._initScrollTop=this._getScrollableScrollTop(),this._initScrollLeft=this._getScrollableScrollLeft(),i=this._getDraggableElementOffset(i.left,i.top));const o=this._$dragElement=this._createDragElement(t);this._toggleDraggingClass(!0),this._toggleDragSourceClass(!0),this._setGestureCoverCursor(o.children());const r="fixed"===o.css("position");this._initPosition((0,_.extend)({},n,{dragElement:o.get(0),initialOffset:r&&i})),this._getAction("onDraggableElementShown")(A({},n,{dragElement:o}));const a=this._getArea(),s=this._getAreaOffset(a),l=this._getBoundOffset(),c=(0,b.getOuterWidth)(a),u=(0,b.getOuterHeight)(a),d=(0,b.getWidth)(o),h=(0,b.getHeight)(o),f=o.offset().left-s.left,p=o.offset().top-s.top;a.length&&(e.maxLeftOffset=f-l.left,e.maxRightOffset=c-f-d-l.right,e.maxTopOffset=p-l.top,e.maxBottomOffset=u-p-h-l.bottom),this.option("autoScroll")&&this._startAnimator()}_getAreaOffset(e){return e&&i.default.offset(e)||{left:0,top:0}}_toggleDraggingClass(e){var t;null===(t=this._$dragElement)||void 0===t||t.toggleClass(this._addWidgetPrefix("dragging"),e)}_toggleDragSourceClass(e,t){const n=t||this._$sourceElement;null==n||n.toggleClass(this._addWidgetPrefix("source"),e)}_setGestureCoverCursor(e){(0,h.default)(".dx-gesture-cover").css("cursor",e.css("cursor"))}_getBoundOffset(){let e=this.option("boundOffset");return(0,x.isFunction)(e)&&(e=e.call(this)),(0,y.quadToObject)(e)}_getArea(){let e=this.option("boundary");return(0,x.isFunction)(e)&&(e=e.call(this)),(0,h.default)(e)}_getContainer(){let{container:e}=this.option();return void 0===e&&(e=(0,C.value)()),(0,h.default)(e)}_getDraggableElementOffset(e,t){var n,i;const o=this._initScrollTop,r=this._initScrollLeft,a=this._getScrollableScrollTop(),s=this._getScrollableScrollLeft(),l="fixed"===(0,h.default)(this.element()).css("position"),c={left:((null===(n=this._startPosition)||void 0===n?void 0:n.left)??0)+e,top:((null===(i=this._startPosition)||void 0===i?void 0:i.top)??0)+t};return l||this._hasClonedDraggable()?c:{left:(0,x.isNumeric)(s)?c.left+s-r:c.left,top:(0,x.isNumeric)(a)?c.top+a-o:c.top}}_hasClonedDraggable(){return this.option("clone")||this.option("dragTemplate")}_dragMoveHandler(e){if(this._dragMoveArgs=e,!this._$dragElement)return void(e.cancel=!0);const t=this._getDraggableElementOffset(e.offset.x,e.offset.y);this._move(t),this._updateScrollable(e);const n=this._getEventArgs(e);if(this._getAction("onDragMove")(n),!0===n.cancel)return;this._getTargetDraggable().dragMove(e,scrollBy)}_updateScrollable(e){const t=this;if(t.option("autoScroll")){const n=N(e),i=u.default.elementsFromPoint(n.x,n.y,this.$element().get(0));t._verticalScrollHelper.updateScrollable(i,n),t._horizontalScrollHelper.updateScrollable(i,n)}}_getScrollable(e){let t;return e.parents().toArray().some((e=>{const n=(0,h.default)(e);return!(!this._horizontalScrollHelper.isScrollable(n)&&!this._verticalScrollHelper.isScrollable(n))&&(t=n,!0)})),t}_getScrollableScrollTop(){var e;return(null===(e=this._getScrollable((0,h.default)(this.element())))||void 0===e?void 0:e.scrollTop())??0}_getScrollableScrollLeft(){var e;return(null===(e=this._getScrollable((0,h.default)(this.element())))||void 0===e?void 0:e.scrollLeft())??0}_defaultActionArgs(){const e=super._defaultActionArgs.apply(this,arguments),t=this.option("component");return t&&(e.component=t,e.element=t.element()),e}_getEventArgs(e){const t=this._getSourceDraggable(),n=this._getTargetDraggable();return{event:e,itemData:t.option("itemData"),itemElement:(0,d.getPublicElement)(t._$sourceElement),fromComponent:t.option("component")||t,toComponent:n.option("component")||n,fromData:t.option("data"),toData:n.option("data")}}_getDragStartArgs(e,t){const n=this._getEventArgs(e);return{event:n.event,itemData:n.itemData,itemElement:t,fromData:n.fromData}}_revertItemToInitialPosition(){!this._dragElementIsCloned()&&this._move(this._initialLocate,this._$sourceElement)}_dragEndHandler(e){const t=(0,g.Deferred)(),n=this._getEventArgs(e),i=this._getEventArgs(e),o=this._getTargetDraggable();let r=!0;this.dragInProgress=!1;try{this._getAction("onDragEnd")(n)}finally{(0,g.when)((0,g.fromPromise)(n.cancel)).done((e=>{if(!e&&(o!==this&&o._getAction("onDrop")(i),!i.cancel))return r=!1,void(0,g.when)((0,g.fromPromise)(o.dragEnd(n))).always(t.resolve);t.resolve()})).fail(t.resolve),t.done((()=>{r&&this._revertItemToInitialPosition(),this._resetDragOptions(o)}))}}_isTargetOverAnotherDraggable(e){const t=this._getSourceDraggable();if(this===t)return!1;const n=t._$dragElement,i=t.$element(),o=this.$element(),r=N(e),a=u.default.elementsFromPoint(r.x,r.y,this.element()).filter((e=>{const t=(0,h.default)(e);return!!t.hasClass(this._addWidgetPrefix())&&!t.closest(n).length}))[0],s=this._getSourceElement(),l=a===i.get(0),c=(0,h.default)(a).closest(s).length;return!a||a===o.get(0)&&!l&&!c}_dragEnterHandler(e){this._fireDragEnterEvent(e),this._isTargetOverAnotherDraggable(e)&&this._setTargetDraggable();this._getSourceDraggable().dragEnter(e)}_dragLeaveHandler(e){this._fireDragLeaveEvent(e),this._resetTargetDraggable(),this!==this._getSourceDraggable()&&this.reset();this._getSourceDraggable().dragLeave(e)}_keydownHandler(e){this.dragInProgress&&"Escape"===e.key&&this._keydownEscapeHandler(e)}_keydownEscapeHandler(e){var t;if(!this._getSourceElement())return;const n=this._getEventArgs(e);if(this._getAction("onDragCancel")(n),n.cancel)return;this.dragInProgress=!1,null===(t=H)||void 0===t||t._toggleDraggingClass(!1),this._detachEventHandlers(),this._revertItemToInitialPosition();const i=this._getTargetDraggable();this._resetDragOptions(i),this._attachEventHandlers()}_getAction(e){return this[`_${e}Action`]||this._createActionByOption(e)}_getAnonymousTemplateName(){return"content"}_initTemplates(){this.option("contentTemplate")&&(this._templateManager.addDefaultTemplates({content:new f.EmptyTemplate}),super._initTemplates.apply(this,arguments))}_render(){super._render(),this.$element().addClass(this._addWidgetPrefix());const e=this._templateManager.anonymousTemplateName===this.option("contentTemplate"),t=this._getTemplateByOption("contentTemplate");t&&(0,h.default)(t.render({container:this.element(),transclude:e}))}_optionChanged(e){const{name:t}=e;switch(t){case"onDragStart":case"onDragMove":case"onDragEnd":case"onDrop":case"onDragEnter":case"onDragLeave":case"onDragCancel":case"onDraggableElementShown":this[`_${t}Action`]=this._createActionByOption(t);break;case"dragTemplate":case"contentTemplate":case"container":case"clone":case"scrollSensitivity":case"scrollSpeed":case"boundOffset":case"handle":case"group":case"data":case"itemData":break;case"allowMoveByClick":case"dragDirection":case"disabled":case"boundary":case"filter":case"immediate":this._resetDragElement(),this._detachEventHandlers(),this._attachEventHandlers();break;case"onCancelByEsc":this._keydownHandler();break;case"autoScroll":this._verticalScrollHelper.reset(),this._horizontalScrollHelper.reset();break;default:super._optionChanged(e)}}_getTargetDraggable(){return F||this}_getSourceDraggable(){return H||this}_setTargetDraggable(){const e=this.option("group"),t=this._getSourceDraggable();e&&e===t.option("group")&&(F=this)}_setSourceDraggable(){H=this}_resetSourceDraggable(){H=null}_resetTargetDraggable(){F=null}_resetDragOptions(e){this.reset(),e.reset(),this._stopAnimator(),this._horizontalScrollHelper.reset(),this._verticalScrollHelper.reset(),this._resetDragElement(),this._resetSourceElement(),this._resetTargetDraggable(),this._resetSourceDraggable()}_dispose(){super._dispose(),this._detachEventHandlers(),this._resetDragElement(),this._resetTargetDraggable(),this._resetSourceDraggable(),this._$sourceElement=null,this._stopAnimator()}_fireDragEnterEvent(e){const t=this._getEventArgs(e);this._getAction("onDragEnter")(t)}_fireDragLeaveEvent(e){const t=this._getEventArgs(e);this._getAction("onDragLeave")(t)}}(0,c.default)(k,G);t.default=G},19576:function(e,t,n){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const o=((i=n(41380))&&i.__esModule?i:{default:i}).default.dateToMilliseconds;class r{constructor(e){this._source=new Date(e.getTime?e.getTime():e)}get source(){return this._source}result(){return this._source}getTimezoneOffset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;const t=this._source.getTimezoneOffset();return"minute"===e?t*o("minute"):t}getTime(){return this._source.getTime()}setTime(e){return this._source.setTime(e),this}addTime(e){return this._source.setTime(this._source.getTime()+e),this}setMinutes(e){return this._source.setMinutes(e),this}addMinutes(e){return this._source.setMinutes(this._source.getMinutes()+e),this}subtractMinutes(e){return this._source.setMinutes(this._source.getMinutes()-e),this}}t.default=e=>new r(e)},18648:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n(87129)),o=n(55594),r=n(80356),a=u(n(41380)),s=u(n(19576)),l=u(n(73862)),c=u(n(95053));function u(e){return e&&e.__esModule?e:{default:e}}const d=a.default.dateToMilliseconds,h="GMT",f=/^GMT(?:[+-]\d{2}:\d{2})?$/,p=e=>new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes())),g=(e,t,n,i)=>_(n,i)-_(e,t),_=(e,t)=>new Date(e).getTimezoneOffset()-new Date(t).getTimezoneOffset(),m=(e,t)=>_(e,t)*d("minute"),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if(!e)return;if(!c.default.value.includes(e))return void i.default.log("W0009",e);if(!o.dateUtilsTs.isValidDate(t))return;let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if(0===l.default.getTimeZonesOld().length)return;const n=p(t);return l.default.getTimeZoneOffsetById(e,n.getTime())}(e,t);return void 0===n&&(n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const n=b(e,t);if(void 0===n)return;if(n===h)return 0;const i="-"===n.substring(3,4),o=n.substring(4,6),r=n.substring(7,9),a=parseInt(o,10)+parseInt(r,10)/60;return i?-a:a}(e,t)),n},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n="";try{var o;n=(null===(o=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).formatToParts(t).find((e=>{let{type:t}=e;return"timeZoneName"===t})))||void 0===o?void 0:o.value)??""}catch(t){return void i.default.log("W0009",e)}if(f.test(n))return n;i.default.log("W0009",e)},y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if(!o.dateUtilsTs.isValidDate(t))return"";const n=e.replace(/\//g," - ").replace(/_/g," "),i=b(e,t);if(void 0===i)return;const r=(e=>e===h?`${e} +00:00`:e.replace(h,`${h} `))(i);return`(${r}) ${n}`},x=(e,t,n)=>{const i=v(n,e),o=v(n,t);return void 0===i||void 0===o?0:i-o},C=e=>{const t=new Date(new Date(e).setHours(0,0,0,0)),n=new Date(new Date(e).setHours(23,59,59,0));return t.getTimezoneOffset()-n.getTimezoneOffset()!=0},S=function(){return 6e4*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date).getTimezoneOffset()},w=()=>{const[e,t]=O();return e.getTimezoneOffset()!==t.getTimezoneOffset()},E=e=>-e.getTimezoneOffset()/60,T=e=>new Date(e-d("hour")),A=(e,t)=>1===l.default.getTimeZonesOld().filter((t=>t.id===e)).length&&((e,t)=>{const n=t.getFullYear(),i=l.default.getTimeZoneDeclarationTuple(e,n),[o,r]=i;if(i.length<2)return l.default.getTimeZoneOffsetById(e,t)===E(t)&&!w();const a=E(new Date(o.date)),s=E(new Date(r.date));return a===o.offset&&a!==E(T(o.date))&&s===r.offset&&s!==E(T(r.date))})(e,t),O=()=>{const e=new Date(Date.now()),t=new Date,n=new Date;return t.setFullYear(e.getFullYear(),0,1),n.setFullYear(e.getFullYear(),6,1),[t,n]};let k,D=[];const L={getDaylightOffset:_,getDaylightOffsetInMs:m,getTimezoneOffsetChangeInMinutes:g,getTimezoneOffsetChangeInMs:(e,t,n,i)=>g(e,t,n,i)*d("minute"),calculateTimezoneByValue:v,getCorrectedDateByDaylightOffsets:(e,t,n,i,o)=>{const r=x(e,t,i)-x(e,t,o);return new Date(n.getTime()-r*d("hour"))},isSameAppointmentDates:(e,t)=>(t=new Date(t.getTime()-1),a.default.sameDate(e,t)),correctRecurrenceExceptionByTimezone:function(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=(e.getTimezoneOffset()-t.getTimezoneOffset())/60;return i?r=x(t,e,i):n&&(r=x(t,e,n)),new Date(e.getTime()+(o?-1:1)*r*d("hour"))},getClientTimezoneOffset:S,getDiffBetweenClientTimezoneOffsets:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return S(e)-S(t)},createUTCDateWithLocalOffset:e=>e?new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())):null,createDateFromUTCWithLocalOffset:e=>{const t=(0,s.default)(e),n=t.getTimezoneOffset();return t.addTime(t.getTimezoneOffset("minute")),t.subtractMinutes(n-t.getTimezoneOffset()),t.source},createUTCDate:p,isTimezoneChangeInDate:C,getDateWithoutTimezoneChange:e=>{const t=new Date(e);if(C(t)){const e=new Date(t);return new Date(e.setDate(e.getDate()+1))}return t},hasDSTInLocalTimeZone:w,isEqualLocalTimeZone:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if(Intl){if(Intl.DateTimeFormat().resolvedOptions().timeZone===e)return!0}return A(e,t)},isEqualLocalTimeZoneByDeclaration:A,setOffsetsToDate:(e,t)=>{const n=t.reduce(((e,t)=>e+t),e.getTime());return new Date(n)},addOffsetsWithoutDST:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];const r=o.dateUtilsTs.addOffsets(e,n),a=m(e,r);if(!a)return r;const s=o.dateUtilsTs.addOffsets(r,[-a]);return m(r,s)?r:s},getTimeZones:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.value).map((t=>({id:t,title:y(t,e),offset:v(t,e)})))},getTimeZonesCache:()=>D,cacheTimeZones:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return k||(k=r.macroTaskArray.map(c.default.value,(t=>({id:t,title:y(t,e)})),10),D=await k,D)}};t.default=L},73862:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=n(50254),r=(i=n(66636))&&i.__esModule?i:{default:i};const a=e=>{const{offsets:t}=e,{offsetIndices:n}=e,{untils:i}=e,o=t.split("|").map((e=>parseInt(e))),r=n.split("").map((e=>parseInt(e)));var a,s;return{offsetList:o,offsetIndexList:r,dateList:(s=i,s.split("|").map((e=>"Infinity"===e?null:1e3*parseInt(e,36)))).map((a=0,e=>a+=e))}};const s=new class{constructor(){this.map=new Map}tryGet(e){if(!this.map.get(e)){const t=l.getTimezoneById(e);if(!t)return!1;const n=a(t);this.map.set(e,n)}return this.map.get(e)}},l={_tzCache:s,getTimeZonesOld:()=>(0,r.default)().timezones??[],formatOffset(e){const t=Math.floor(e),n=e-t;return((0,o.sign)(e)>=0?"+":"-")+`0${Math.abs(t)}`.slice(-2)+(n>0?":"+60*n:":00")},formatId:e=>e.split("/").join(" - ").split("_").join(" "),getTimezoneById(e){if(!e)return;const t=this.getTimeZonesOld();for(let n=0;n<t.length;n++){if(t[n].id===e)return t[n]}},getTimeZoneOffsetById(e,t){const n=s.tryGet(e);return n?this.getUtcOffset(n,t):void 0},getTimeZoneDeclarationTuple(e,t){const n=s.tryGet(e);return n?this.getTimeZoneDeclarationTupleCore(n,t):[]},getTimeZoneDeclarationTupleCore(e,t){const{offsetList:n}=e,{offsetIndexList:i}=e,{dateList:o}=e,r=[];for(let e=0;e<o.length;e++){const a=o[e],s=new Date(a).getFullYear();if(s===t){const t=n[i[e+1]];r.push({date:a,offset:-t/60})}if(s>t)break}return r},getUtcOffset(e,t){const{offsetList:n}=e,{offsetIndexList:i}=e,{dateList:o}=e;let r=o.length-1-1;for(;r>=0&&t<o[r];)r--;const a=n[i[r+1]];return-a/60||a}};t.default=l},95053:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={value:["Etc/GMT+12","Etc/GMT+11","Pacific/Midway","Pacific/Niue","Pacific/Pago_Pago","Pacific/Samoa","US/Samoa","Etc/GMT+10","HST","Pacific/Honolulu","Pacific/Johnston","Pacific/Rarotonga","Pacific/Tahiti","US/Hawaii","Pacific/Marquesas","America/Adak","America/Atka","Etc/GMT+9","Pacific/Gambier","US/Aleutian","America/Anchorage","America/Juneau","America/Metlakatla","America/Nome","America/Sitka","America/Yakutat","Etc/GMT+8","Pacific/Pitcairn","US/Alaska","America/Creston","America/Dawson_Creek","America/Dawson","America/Ensenada","America/Fort_Nelson","America/Hermosillo","America/Los_Angeles","America/Phoenix","America/Santa_Isabel","America/Tijuana","America/Vancouver","America/Whitehorse","Canada/Pacific","Canada/Yukon","Etc/GMT+7","Mexico/BajaNorte","MST","PST8PDT","US/Arizona","US/Pacific","America/Belize","America/Boise","America/Cambridge_Bay","America/Chihuahua","America/Costa_Rica","America/Denver","America/Edmonton","America/El_Salvador","America/Guatemala","America/Inuvik","America/Managua","America/Mazatlan","America/Monterrey","America/Ojinaga","America/Regina","America/Shiprock","America/Swift_Current","America/Tegucigalpa","America/Yellowknife","Canada/Mountain","Canada/Saskatchewan","Chile/EasterIsland","Etc/GMT+6","Mexico/BajaSur","MST7MDT","Navajo","Pacific/Easter","Pacific/Galapagos","US/Mountain","America/Atikokan","America/Bahia_Banderas","America/Bogota","America/Cancun","America/Cayman","America/Chicago","America/Coral_Harbour","America/Eirunepe","America/Guayaquil","America/Indiana/Knox","America/Indiana/Tell_City","America/Jamaica","America/Knox_IN","America/Lima","America/Matamoros","America/Menominee","America/Merida","America/Mexico_City","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Panama","America/Porto_Acre","America/Rainy_River","America/Rankin_Inlet","America/Resolute","America/Rio_Branco","America/Winnipeg","Brazil/Acre","Canada/Central","CST6CDT","EST","Etc/GMT+5","Jamaica","Mexico/General","US/Central","US/Indiana-Starke","America/Anguilla","America/Antigua","America/Aruba","America/Asuncion","America/Barbados","America/Blanc-Sablon","America/Boa_Vista","America/Campo_Grande","America/Caracas","America/Cuiaba","America/Curacao","America/Detroit","America/Dominica","America/Fort_Wayne","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guyana","America/Havana","America/Indiana/Indianapolis","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Iqaluit","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Louisville","America/Lower_Princes","America/Manaus","America/Marigot","America/Martinique","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Pangnirtung","America/Port_of_Spain","America/Port-au-Prince","America/Porto_Velho","America/Puerto_Rico","America/Santiago","America/Santo_Domingo","America/St_Barthelemy","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Thunder_Bay","America/Toronto","America/Tortola","America/Virgin","Brazil/West","Canada/Eastern","Chile/Continental","Cuba","EST5EDT","Etc/GMT+4","US/East-Indiana","US/Eastern","US/Michigan","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Bahia","America/Belem","America/Buenos_Aires","America/Catamarca","America/Cayenne","America/Cordoba","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Jujuy","America/Maceio","America/Mendoza","America/Moncton","America/Montevideo","America/Paramaribo","America/Punta_Arenas","America/Recife","America/Rosario","America/Santarem","America/Sao_Paulo","America/Thule","Antarctica/Palmer","Antarctica/Rothera","Atlantic/Bermuda","Atlantic/Stanley","Brazil/East","Canada/Atlantic","Etc/GMT+3","America/St_Johns","Canada/Newfoundland","America/Godthab","America/Miquelon","America/Noronha","America/Nuuk","Atlantic/South_Georgia","Brazil/DeNoronha","Etc/GMT+2","Atlantic/Cape_Verde","Etc/GMT+1","Africa/Abidjan","Africa/Accra","Africa/Bamako","Africa/Banjul","Africa/Bissau","Africa/Conakry","Africa/Dakar","Africa/Freetown","Africa/Lome","Africa/Monrovia","Africa/Nouakchott","Africa/Ouagadougou","Africa/Sao_Tome","Africa/Timbuktu","America/Danmarkshavn","America/Scoresbysund","Atlantic/Azores","Atlantic/Reykjavik","Atlantic/St_Helena","Etc/GMT-0","Etc/GMT","Etc/GMT+0","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/Universal","Etc/UTC","Etc/Zulu","GMT-0","GMT","GMT+0","GMT0","Greenwich","Iceland","UCT","Universal","UTC","Zulu","Africa/Algiers","Africa/Bangui","Africa/Brazzaville","Africa/Casablanca","Africa/Douala","Africa/El_Aaiun","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Luanda","Africa/Malabo","Africa/Ndjamena","Africa/Niamey","Africa/Porto-Novo","Africa/Tunis","Atlantic/Canary","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Madeira","Eire","Etc/GMT-1","Europe/Belfast","Europe/Dublin","Europe/Guernsey","Europe/Isle_of_Man","Europe/Jersey","Europe/Lisbon","Europe/London","GB-Eire","GB","Portugal","WET","Africa/Blantyre","Africa/Bujumbura","Africa/Cairo","Africa/Ceuta","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Khartoum","Africa/Kigali","Africa/Lubumbashi","Africa/Lusaka","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Tripoli","Africa/Windhoek","Antarctica/Troll","Arctic/Longyearbyen","Atlantic/Jan_Mayen","CET","Egypt","Etc/GMT-2","Europe/Amsterdam","Europe/Andorra","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Budapest","Europe/Busingen","Europe/Copenhagen","Europe/Gibraltar","Europe/Kaliningrad","Europe/Ljubljana","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Monaco","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Rome","Europe/San_Marino","Europe/Sarajevo","Europe/Skopje","Europe/Stockholm","Europe/Tirane","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Libya","MET","Poland","Africa/Addis_Ababa","Africa/Asmara","Africa/Asmera","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Juba","Africa/Kampala","Africa/Mogadishu","Africa/Nairobi","Antarctica/Syowa","Asia/Aden","Asia/Amman","Asia/Baghdad","Asia/Bahrain","Asia/Beirut","Asia/Damascus","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Istanbul","Asia/Jerusalem","Asia/Kuwait","Asia/Nicosia","Asia/Qatar","Asia/Riyadh","Asia/Tel_Aviv","EET","Etc/GMT-3","Europe/Athens","Europe/Bucharest","Europe/Chisinau","Europe/Helsinki","Europe/Istanbul","Europe/Kiev","Europe/Kirov","Europe/Mariehamn","Europe/Minsk","Europe/Moscow","Europe/Nicosia","Europe/Riga","Europe/Simferopol","Europe/Sofia","Europe/Tallinn","Europe/Tiraspol","Europe/Uzhgorod","Europe/Vilnius","Europe/Zaporozhye","Indian/Antananarivo","Indian/Comoro","Indian/Mayotte","Israel","Turkey","W-SU","Asia/Baku","Asia/Dubai","Asia/Muscat","Asia/Tbilisi","Asia/Yerevan","Etc/GMT-4","Europe/Astrakhan","Europe/Samara","Europe/Saratov","Europe/Ulyanovsk","Europe/Volgograd","Indian/Mahe","Indian/Mauritius","Indian/Reunion","Asia/Kabul","Asia/Tehran","Iran","Antarctica/Mawson","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Dushanbe","Asia/Karachi","Asia/Oral","Asia/Qyzylorda","Asia/Samarkand","Asia/Tashkent","Asia/Yekaterinburg","Etc/GMT-5","Indian/Kerguelen","Indian/Maldives","Asia/Calcutta","Asia/Colombo","Asia/Kolkata","Asia/Kathmandu","Asia/Katmandu","Antarctica/Vostok","Asia/Almaty","Asia/Bishkek","Asia/Dacca","Asia/Dhaka","Asia/Kashgar","Asia/Omsk","Asia/Qostanay","Asia/Thimbu","Asia/Thimphu","Asia/Urumqi","Etc/GMT-6","Indian/Chagos","Asia/Rangoon","Asia/Yangon","Indian/Cocos","Antarctica/Davis","Asia/Bangkok","Asia/Barnaul","Asia/Ho_Chi_Minh","Asia/Hovd","Asia/Jakarta","Asia/Krasnoyarsk","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Phnom_Penh","Asia/Pontianak","Asia/Saigon","Asia/Tomsk","Asia/Vientiane","Etc/GMT-7","Indian/Christmas","Antarctica/Casey","Asia/Brunei","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Harbin","Asia/Hong_Kong","Asia/Irkutsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macao","Asia/Macau","Asia/Makassar","Asia/Manila","Asia/Shanghai","Asia/Singapore","Asia/Taipei","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Australia/Perth","Australia/West","Etc/GMT-8","Hongkong","PRC","ROC","Singapore","Australia/Eucla","Asia/Chita","Asia/Dili","Asia/Jayapura","Asia/Khandyga","Asia/Pyongyang","Asia/Seoul","Asia/Tokyo","Asia/Yakutsk","Etc/GMT-9","Japan","Pacific/Palau","ROK","Australia/Adelaide","Australia/Broken_Hill","Australia/Darwin","Australia/North","Australia/South","Australia/Yancowinna","Antarctica/DumontDUrville","Asia/Ust-Nera","Asia/Vladivostok","Australia/ACT","Australia/Brisbane","Australia/Canberra","Australia/Currie","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/NSW","Australia/Queensland","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Etc/GMT-10","Pacific/Chuuk","Pacific/Guam","Pacific/Port_Moresby","Pacific/Saipan","Pacific/Truk","Pacific/Yap","Australia/LHI","Australia/Lord_Howe","Antarctica/Macquarie","Asia/Magadan","Asia/Sakhalin","Asia/Srednekolymsk","Etc/GMT-11","Pacific/Bougainville","Pacific/Efate","Pacific/Guadalcanal","Pacific/Kosrae","Pacific/Norfolk","Pacific/Noumea","Pacific/Pohnpei","Pacific/Ponape","Antarctica/McMurdo","Antarctica/South_Pole","Asia/Anadyr","Asia/Kamchatka","Etc/GMT-12","Kwajalein","NZ","Pacific/Auckland","Pacific/Fiji","Pacific/Funafuti","Pacific/Kwajalein","Pacific/Majuro","Pacific/Nauru","Pacific/Tarawa","Pacific/Wake","Pacific/Wallis","NZ-CHAT","Pacific/Chatham","Etc/GMT-13","Pacific/Apia","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Tongatapu","Etc/GMT-14","Pacific/Kiritimati"]}},80356:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"macroTaskArray",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(4203))&&i.__esModule?i:{default:i}},8710:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.macroTaskIdSet=t.default=void 0;const n=t.macroTaskIdSet=new Set;t.default={schedule:async(e,t)=>new Promise((i=>{const o=setTimeout((()=>{e(),n.delete(o),i()}),t);n.add(o)})),dispose:()=>{Array.from(n).forEach((e=>{clearTimeout(e),n.delete(e)}))}}},4203:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(8710))&&i.__esModule?i:{default:i},r=n(57);t.default={forEach:r.macroTaskArrayForEach,map:r.macroTaskArrayMap,dispose:o.default.dispose}},57:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.macroTaskArrayMap=t.macroTaskArrayForEach=t.DEFAULT_STEPS_VALUE=t.DEFAULT_MACRO_TASK_TIMEOUT=void 0;var i,o=(i=n(8710))&&i.__esModule?i:{default:i};const r=t.DEFAULT_STEPS_VALUE=100,a=t.DEFAULT_MACRO_TASK_TIMEOUT=0,s=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;const s=[],l=Math.ceil(e.length/n);for(let r=0;r<l;r+=1){const a=o.default.schedule((()=>{const i=r*n,o=i+n;for(let n=i;n<o&&void 0!==e[n];n+=1)t(e[n])}),i);s.push(a)}await Promise.all(s)};t.macroTaskArrayForEach=s;t.macroTaskArrayMap=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;const o=[];return await s(e,(e=>{o.push(t(e))}),n,i),o}},5285:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(17781),o=n(87739);const r={load:()=>(0,o.Deferred)().reject(),loadSingle:()=>(0,o.Deferred)().reject(),loadFromStore:()=>(0,o.Deferred)().reject(),loadNextPage:()=>(0,o.Deferred)().reject(),loadOptions:i.noop,userData:i.noop,cancel:i.noop,cancelAll:i.noop,filter:i.noop,addSearchFilter:i.noop,group:i.noop,paginate:i.noop,pageSize:i.noop,pageIndex:i.noop,resetDataSourcePageIndex:i.noop,totalCount:i.noop,isLastPage:i.noop,isLoading:i.noop,isLoaded:i.noop,searchValue:i.noop,searchOperation:i.noop,searchExpr:i.noop,select:i.noop,key:i.noop,keyOf:i.noop,store:i.noop,items:i.noop,applyMapFunction:i.noop,getDataSource:i.noop,reload:i.noop,on:i.noop,off:i.noop};t.default=class{constructor(e){if(!e)return r;this._dataSource=e}load(){return this._dataSource.load()}loadSingle(e,t){return arguments.length<2&&(t=e,e=this.key()),this._dataSource.loadSingle(e,t)}loadFromStore(e){return this.store().load(e)}loadNextPage(){return this.pageIndex(1+this.pageIndex()),this.load()}loadOptions(){return this._dataSource.loadOptions()}userData(){return this._dataSource._userData}cancel(e){this._dataSource.cancel(e)}cancelAll(){this._dataSource.cancelAll()}filter(e){return this._dataSource.filter(e)}addSearchFilter(e){this._dataSource._addSearchFilter(e)}group(e){return this._dataSource.group(e)}paginate(){return this._dataSource.paginate()}pageSize(){return this._dataSource._pageSize}pageIndex(e){return this._dataSource.pageIndex(e)}resetDataSourcePageIndex(){this.pageIndex()&&(this.pageIndex(0),this.load())}totalCount(){return this._dataSource.totalCount()}isLastPage(){return this._dataSource.isLastPage()||!this._dataSource._pageSize}isLoading(){return this._dataSource.isLoading()}isLoaded(){return this._dataSource.isLoaded()}searchValue(e){return arguments.length?this._dataSource.searchValue(e):this._dataSource.searchValue()}searchOperation(e){return this._dataSource.searchOperation(e)}searchExpr(e){return arguments.length?this._dataSource.searchExpr(e):this._dataSource.searchExpr()}select(){return this._dataSource.select(...arguments)}key(){return this._dataSource.key()}keyOf(e){return this.store().keyOf(e)}store(){return this._dataSource.store()}items(){return this._dataSource.items()}applyMapFunction(e){return this._dataSource._applyMapFunction(e)}getDataSource(){return this._dataSource||null}reload(){return this._dataSource.reload()}on(e,t){this._dataSource.on(e,t)}off(e,t){this._dataSource.off(e,t)}}},24768:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=g(n(92774)),o=n(98834),r=n(74663),a=g(n(19427)),s=g(n(64553)),l=g(n(84718)),c=n(52576),u=n(3104),d=g(n(19391)),h=g(n(59098)),f=g(n(89275)),p=g(n(76400));function g(e){return e&&e.__esModule?e:{default:e}}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_.apply(null,arguments)}const m="dx-invalid-message-auto",v="dx-validation-target",b="invalid",y=["outlined","filled","underlined"],x={validationMessageMode:"mode",validationMessagePosition:"positionSide",validationMessageOffset:"offset",validationBoundary:"boundary"};class C extends f.default{ctor(e,t){this.showValidationMessageTimeout=void 0,this.validationRequest=(0,l.default)(),super.ctor(e,t)}_createElement(e){super._createElement(e);const t=this.$element();t&&(0,r.data)(t[0],v,this)}_initOptions(e){super._initOptions(e),this.option(d.default.initValidationOptions(e))}_init(){this._initialValue=this.option("value"),super._init();const{validationTooltipOptions:e}=this.option();this._options.cache("validationTooltipOptions",e);this.$element().addClass("dx-show-invalid-badge")}_getDefaultOptions(){return _({},super._getDefaultOptions(),{value:null,name:"",onValueChanged:null,readOnly:!1,isValid:!0,validationError:null,validationErrors:null,validationStatus:"valid",validationMessageMode:"auto",validationMessagePosition:"bottom",validationBoundary:void 0,validationMessageOffset:{h:0,v:0},validationTooltipOptions:{},_showValidationMessage:!0,isDirty:!1})}_shouldAttachKeyboardEvents(){const{readOnly:e}=this.option();return!e}_attachKeyboardEvents(){this._shouldAttachKeyboardEvents()&&super._attachKeyboardEvents()}_setOptionsByReference(){super._setOptionsByReference(),(0,c.extend)(this._optionsByReference,{validationError:!0})}_createValueChangeAction(){this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})}_suppressValueChangeAction(){this._valueChangeActionSuppressed=!0}_resumeValueChangeAction(){this._valueChangeActionSuppressed=!1}_initMarkup(){this._toggleReadOnlyState();const{name:e,_onMarkupRendered:t}=this.option();this._setSubmitElementName(e),super._initMarkup(),this._renderValidationState(),null==t||t()}_raiseValueChangeAction(e,t){this._valueChangeAction||this._createValueChangeAction(),this._valueChangeAction(this._valueChangeArgs(e,t))}_valueChangeArgs(e,t){return{value:e,previousValue:t,event:this._valueChangeEventInstance}}_saveValueChangeEvent(e){this._valueChangeEventInstance=e}_focusInHandler(e){const{validationMessageMode:t}=this.option(),n="auto"===t;if(this._canValueBeChangedByClick()&&n){var i;const e=null===(i=this._validationMessage)||void 0===i?void 0:i.$wrapper();null==e||e.removeClass(m),clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout((()=>null==e?void 0:e.addClass(m)),150)}super._focusInHandler(e)}_canValueBeChangedByClick(){return!1}_getStylingModePrefix(){return"dx-editor-"}_renderStylingMode(){const{stylingMode:e}=this.option(),t=this._getStylingModePrefix(),n=y.map((e=>t+e));n.forEach((e=>this.$element().removeClass(e)));let i=t+String(e);if(!n.includes(i)){const e="stylingMode",n=this._getDefaultOptions()[e],o=this._convertRulesToOptions(this._defaultOptionsRules())[e];i=t+(o??n)}this.$element().addClass(i)}_getValidationErrors(){let{validationErrors:e}=this.option();const{validationError:t}=this.option();return!e&&t&&(e=[t]),e}_disposeValidationMessage(){this._$validationMessage&&(this._$validationMessage.remove(),this.setAria("describedby",null),this._$validationMessage=void 0,this._validationMessage=void 0)}_toggleValidationClasses(e){this.$element().toggleClass("dx-invalid",e),this.setAria(b,e||void 0)}_renderValidationState(){const{validationStatus:e,_showValidationMessage:t}=this.option(),n=this.option("isValid")&&e!==b,i=this._getValidationErrors(),o=this.$element();if(this._toggleValidationClasses(!n),(0,u.hasWindow)()&&t&&(this._disposeValidationMessage(),!n&&i)){const{validationMessageMode:e,validationMessageOffset:t,validationBoundary:n,rtlEnabled:r}=this.option();this._$validationMessage=(0,s.default)("<div>").appendTo(o);const l=`dx-${new a.default}`;this.setAria("describedby",l),this._validationMessage=new h.default(this._$validationMessage,(0,c.extend)({validationErrors:i,rtlEnabled:r,target:this._getValidationMessageTarget(),visualContainer:o,mode:e,positionSide:this._getValidationMessagePosition(),offset:t,boundary:n,contentId:l},this._options.cache("validationTooltipOptions"))),this._bindInnerWidgetOptions(this._validationMessage,"validationTooltipOptions")}}_getValidationMessagePosition(){const{validationMessagePosition:e}=this.option();return e}_getValidationMessageTarget(){return this.$element()}_toggleReadOnlyState(){const{readOnly:e}=this.option();this._toggleBackspaceHandler(e),this.$element().toggleClass("dx-state-readonly",!!e),this._setAriaReadonly(e)}_setAriaReadonly(e){this.setAria("readonly",e||void 0)}_toggleBackspaceHandler(e){const t=this._keyboardEventBindingTarget(),n=(0,o.addNamespace)("keydown","editorReadOnly");i.default.off(t,n),e&&i.default.on(t,n,(e=>{"backspace"===(0,o.normalizeKeyName)(e)&&e.preventDefault()}))}_dispose(){const e=this.$element()[0];(0,r.data)(e,v,null),clearTimeout(this.showValidationMessageTimeout),this._disposeValidationMessage(),super._dispose()}_setSubmitElementName(e){const t=this._getSubmitElement();t&&(e&&e.length>0?t.attr("name",e):t.removeAttr("name"))}_getSubmitElement(){return null}_setValidationMessageOption(e){var t;let{name:n,value:i}=e;const o=x[String(n)]?x[String(n)]:n;null===(t=this._validationMessage)||void 0===t||t.option(o,i)}_hasActiveElement(){return!1}_optionChanged(e){var t;const{name:n,value:i,previousValue:o}=e;switch(n){case"onValueChanged":this._createValueChangeAction();break;case"readOnly":this._toggleReadOnlyState(),this._refreshFocusState();break;case"value":i!=o&&(this.option("isDirty",this._initialValue!==i),this.validationRequest.fire({value:i,editor:this})),this._valueChangeActionSuppressed||(this._raiseValueChangeAction(i,o),this._saveValueChangeEvent(void 0));break;case"width":super._optionChanged(e),null===(t=this._validationMessage)||void 0===t||t.updateMaxWidth();break;case"name":this._setSubmitElementName(i);break;case"isValid":case"validationError":case"validationErrors":case"validationStatus":this.option(d.default.synchronizeValidationOptions(e,this.option())),this._renderValidationState();break;case"validationBoundary":case"validationMessageMode":case"validationMessagePosition":case"validationMessageOffset":this._setValidationMessageOption(e);break;case"rtlEnabled":this._setValidationMessageOption(e),super._optionChanged(e);break;case"validationTooltipOptions":this._innerWidgetOptionChanged(this._validationMessage,e);break;case"_showValidationMessage":case"isDirty":break;default:super._optionChanged(e)}}_resetToInitialValue(){this.option("value",this._initialValue)}blur(){this._hasActiveElement()&&p.default.resetActiveElement()}clear(){const e=this._getDefaultOptions();this.option("value",e.value)}reset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;arguments.length&&(this._initialValue=e),this._resetToInitialValue(),this.option("isDirty",!1),this.option("isValid",!0)}}C.isEditor=e=>e instanceof C;t.default=C},52621:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LOADINDICATOR_WRAPPER_CLASS=t.LOADINDICATOR_SEGMENT_INNER_CLASS=t.LOADINDICATOR_SEGMENT_CLASS=t.LOADINDICATOR_IMAGE_CLASS=t.LOADINDICATOR_ICON_CLASS=t.LOADINDICATOR_CONTENT_CLASS=t.LOADINDICATOR_CLASS=t.AnimationType=t.ANIMATION_TYPE_CLASSES=void 0;var i=u(n(4671)),o=u(n(92848)),r=u(n(64553)),a=n(57653),s=n(52071),l=u(n(89275)),c=u(n(85991));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},d.apply(null,arguments)}const h=t.LOADINDICATOR_CLASS="dx-loadindicator",f=t.LOADINDICATOR_WRAPPER_CLASS="dx-loadindicator-wrapper",p=t.LOADINDICATOR_CONTENT_CLASS="dx-loadindicator-content",g=t.LOADINDICATOR_ICON_CLASS="dx-loadindicator-icon",_=t.LOADINDICATOR_SEGMENT_CLASS="dx-loadindicator-segment",m=t.LOADINDICATOR_SEGMENT_INNER_CLASS="dx-loadindicator-segment-inner",v=t.LOADINDICATOR_IMAGE_CLASS="dx-loadindicator-image";var b;!function(e){e.Circle="circle",e.Sparkle="sparkle"}(b||(t.AnimationType=b={}));const y=t.ANIMATION_TYPE_CLASSES={[b.Circle]:"dx-loadindicator-content-circle",[b.Sparkle]:"dx-loadindicator-content-sparkle"};class x extends l.default{_getDefaultOptions(){return d({},super._getDefaultOptions(),{_animatingSegmentCount:1,_animatingSegmentInner:!1,_animationType:b.Circle,activeStateEnabled:!1,hoverStateEnabled:!1,indicatorSrc:""})}_defaultOptionsRules(){const e=(0,s.current)();return super._defaultOptionsRules().concat([{device:()=>(0,s.isMaterialBased)(e),options:{_animatingSegmentCount:2,_animatingSegmentInner:!0}},{device:()=>(0,s.isGeneric)(e),options:{_animatingSegmentCount:7}}])}_useTemplates(){return!1}_init(){super._init(),this.$element().addClass(h);const e={role:"alert",label:i.default.format("Loading")};this.setAria(e)}_initMarkup(){super._initMarkup(),this._renderWrapper(),this._renderIndicatorContent(),this._renderMarkup()}_renderWrapper(){this._$wrapper=(0,r.default)("<div>").addClass(f),this.$element().append(this._$wrapper)}_getAnimationTypeContentClass(){const{_animationType:e}=this.option();return y[e]}_renderIndicatorContent(){const e=this._getAnimationTypeContentClass()??"",t=[p,e].join(" ");this._$content=(0,r.default)("<div>").addClass(t),this._$wrapper.append(this._$content)}_renderMarkup(){const{indicatorSrc:e}=this.option(),t=c.default.animation();e?this._renderImageMarkup():t&&this._renderAnimationMarkup()}_getSegmentParams(){const{_animationType:e,_animatingSegmentCount:t,_animatingSegmentInner:n}=this.option();switch(e){case b.Sparkle:return{segmentCount:2,segmentInner:!1};case b.Circle:default:return{segmentCount:t??0,segmentInner:Boolean(n)}}}_renderAnimationMarkup(){this._$indicator=(0,r.default)("<div>").addClass(g),this._$content.append(this._$indicator);const e=this._getSegmentParams();this._renderSegments(e)}_renderSegments(e){const{segmentCount:t,segmentInner:n}=e;for(let e=t;e>=0;e-=1){var i;const t=(0,r.default)("<div>").addClass(_).addClass(`${_}${e}`);if(n){const e=(0,r.default)("<div>").addClass(m);t.append(e)}null===(i=this._$indicator)||void 0===i||i.append(t)}}_renderImageMarkup(){const{indicatorSrc:e}=this.option();this._$wrapper.addClass(v),this._$wrapper.css("backgroundImage",`url(${e})`)}_renderDimensions(){super._renderDimensions(),this._updateContentSizeForAnimation()}_updateContentSizeForAnimation(){if(!this._$indicator)return;let{width:e,height:t}=this.option();if(e||t){e=(0,a.getWidth)(this.$element()),t=(0,a.getHeight)(this.$element());const n=Math.min(t,e);this._$wrapper.css({height:n,width:n,fontSize:n})}}_clean(){super._clean(),this._removeMarkupForAnimation(),this._removeMarkupForImage()}_removeMarkupForAnimation(){this._$indicator&&(this._$indicator.remove(),delete this._$indicator)}_removeMarkupForImage(){this._$wrapper.css("backgroundImage","none")}_optionChanged(e){switch(e.name){case"_animatingSegmentCount":case"_animatingSegmentInner":case"_animationType":case"indicatorSrc":this._invalidate();break;default:super._optionChanged(e)}}}(0,o.default)("dxLoadIndicator",x);t.default=x},14474:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(n(4671)),o=d(n(92848)),r=d(n(64553)),a=n(17781),s=n(87739),l=d(n(11979)),c=n(52071),u=d(n(68632));function d(e){return e&&e.__esModule?e:{default:e}}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h.apply(null,arguments)}const f="dx-loadpanel-indicator",p="dx-loadpanel-message";class g extends u.default{_supportedKeys(){return h({},super._supportedKeys(),{escape:a.noop})}_getDefaultOptions(){return h({},super._getDefaultOptions(),{message:i.default.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,templatesRenderAsynchronously:!1,hideTopOverlayHandler:null,focusStateEnabled:!1,propagateOutsideClick:!0,preventScrollEvents:!1})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}},{device:()=>(0,c.isMaterial)(),options:{message:"",width:60,height:60,maxHeight:60,maxWidth:60}},{device:()=>(0,c.isFluent)(),options:{width:"auto",height:"auto"}}])}_init(){super._init.apply(this,arguments)}_render(){super._render(),this.$element().addClass("dx-loadpanel"),this.$wrapper().addClass("dx-loadpanel-wrapper"),this._updateWrapperAria()}_updateWrapperAria(){this.$wrapper().removeAttr("aria-label").removeAttr("role");if(!this.option("showIndicator")){const e=this._getAriaAttributes();this.$wrapper().attr(e)}}_getAriaAttributes(){const{message:e}=this.option();return{role:"alert","aria-label":e||i.default.format("Loading")}}_renderContentImpl(){super._renderContentImpl(),this.$content().addClass("dx-loadpanel-content"),this._$loadPanelContentWrapper=(0,r.default)("<div>").addClass("dx-loadpanel-content-wrapper"),this._$loadPanelContentWrapper.appendTo(this.$content()),this._togglePaneVisible(),this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage()}_show(){const{delay:e}=this.option();if(!e)return super._show();const t=(0,s.Deferred)(),n=super._show.bind(this);return this._clearShowTimeout(),this._showTimeout=setTimeout((()=>{n().done((()=>{t.resolve()}))}),e),t.promise()}_hide(){return this._clearShowTimeout(),super._hide()}_clearShowTimeout(){clearTimeout(this._showTimeout)}_renderMessage(){if(!this._$loadPanelContentWrapper)return;const{message:e}=this.option();if(!e)return;const t=(0,r.default)("<div>").addClass(p).text(e);this._$loadPanelContentWrapper.append(t)}_renderLoadIndicator(){this._$loadPanelContentWrapper&&this.option("showIndicator")&&(this._$indicator||(this._$indicator=(0,r.default)("<div>").addClass(f).appendTo(this._$loadPanelContentWrapper)),this._createComponent(this._$indicator,l.default,{elementAttr:this._getAriaAttributes(),indicatorSrc:this.option("indicatorSrc")}))}_cleanPreviousContent(){this.$content().find(`.${p}`).remove(),this.$content().find(`.${f}`).remove(),delete this._$indicator}_togglePaneVisible(){this.$content().toggleClass("dx-loadpanel-pane-hidden",!this.option("showPane"))}_optionChanged(e){switch(e.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage(),this._updateWrapperAria();break;case"showPane":this._togglePaneVisible();break;case"indicatorSrc":this._renderLoadIndicator();break;default:super._optionChanged(e)}}_dispose(){this._clearShowTimeout(),super._dispose()}}(0,o.default)("dxLoadPanel",g);t.default=g},79697:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(n(4671)),o=f(n(52771)),r=f(n(55620)),a=f(n(87129)),s=n(2607),l=n(17781),c=n(87739),u=n(52576),d=n(21274),h=n(11528);function f(e){return e&&e.__esModule?e:{default:e}}const p=/^[\d\w.+_-]+@[\d\w._-]+\.[\w]+$/i,g="valid",_="invalid",m="pending";class v{constructor(){this.NAME="base"}defaultMessage(e){return i.default.getFormatter(`validation-${this.NAME}`)(e)}defaultFormattedMessage(e){return i.default.getFormatter(`validation-${this.NAME}-formatted`)(e)}_isValueEmpty(e){return!y.required.validate(e,{})}validate(e,t){const n=Array.isArray(e)?e:[e];let i=!0;return n.length?n.every((e=>(i=this._validate(e,t),i))):i=this._validate(null,t),i}}class b extends v{constructor(){super(),this.NAME="custom"}validate(e,t){if(t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;const{validator:n}=t,i=n&&(0,h.isFunction)(n.option)&&n.option("dataGetter"),o=(0,h.isFunction)(i)&&i(),r={value:e,validator:n,rule:t};return o&&(0,u.extend)(r,o),t.validationCallback(r)}}const y={required:new class extends v{constructor(){super(),this.NAME="required"}_validate(e,t){return!!(0,h.isDefined)(e)&&(!1!==e&&(e=String(e),!t.trim&&(0,h.isDefined)(t.trim)||(e=e.trim()),""!==e))}},numeric:new class extends v{constructor(){super(),this.NAME="numeric"}_validate(e,t){return!(!1===t.ignoreEmptyValue||!this._isValueEmpty(e))||(t.useCultureSettings&&(0,h.isString)(e)?!isNaN(o.default.parse(e)):(0,h.isNumeric)(e))}},range:new class extends v{constructor(){super(),this.NAME="range"}_validate(e,t){if(!1!==t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;const n=y.numeric.validate(e,t),i=(0,h.isDefined)(e)&&""!==e,o=n?parseFloat(e):i&&e.valueOf(),{min:r}=t,{max:s}=t;if(!n&&!(0,h.isDate)(e)&&!i)return!1;if((0,h.isDefined)(r))return(0,h.isDefined)(s)?o>=r&&o<=s:o>=r;if((0,h.isDefined)(s))return o<=s;throw a.default.Error("E0101")}},stringLength:new class extends v{constructor(){super(),this.NAME="stringLength"}_validate(e,t){return e=String(e??""),!t.trim&&(0,h.isDefined)(t.trim)||(e=e.trim()),!(!t.ignoreEmptyValue||!this._isValueEmpty(e))||y.range.validate(e.length,(0,u.extend)({},t))}},custom:new b,async:new class extends b{constructor(){super(),this.NAME="async"}validate(e,t){if((0,h.isDefined)(t.reevaluate)||(0,u.extend)(t,{reevaluate:!0}),t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;const{validator:n}=t,i=n&&(0,h.isFunction)(n.option)&&n.option("dataGetter"),o=(0,h.isFunction)(i)&&i(),r={value:e,validator:n,rule:t};o&&(0,u.extend)(r,o);const s=t.validationCallback(r);if(!(0,h.isPromise)(s))throw a.default.Error("E0103");return this._getWrappedPromise((0,c.fromPromise)(s).promise())}_getWrappedPromise(e){const t=(0,c.Deferred)();return e.then((e=>{t.resolve(e)}),(e=>{const n={isValid:!1};(0,h.isDefined)(e)&&((0,h.isString)(e)?n.message=e:(0,h.isObject)(e)&&(0,h.isDefined)(e.message)&&(0,h.isString)(e.message)&&(n.message=e.message)),t.resolve(n)})),t.promise()}},compare:new class extends v{constructor(){super(),this.NAME="compare"}_validate(e,t){if(!t.comparisonTarget)throw a.default.Error("E0102");if(t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;(0,u.extend)(t,{reevaluate:!0});const n=t.comparisonTarget();switch(t.comparisonType||"=="){case"==":return e==n;case"!=":return e!=n;case"===":return e===n;case"!==":return e!==n;case">":return e>n;case">=":return e>=n;case"<":return e<n;case"<=":return e<=n}}},pattern:new class extends v{constructor(){super(),this.NAME="pattern"}_validate(e,t){if(!1!==t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;let{pattern:n}=t;return(0,h.isString)(n)&&(n=new RegExp(n)),n.test(e)}},email:new class extends v{constructor(){super(),this.NAME="email"}_validate(e,t){return!(!1===t.ignoreEmptyValue||!this._isValueEmpty(e))||y.pattern.validate(e,(0,u.extend)({},t,{pattern:p}))}}};class x extends(r.default.inherit({})){ctor(e,t){this.group=e,this.validators=[],this._isRemovable=t,this._pendingValidators=[],this._onValidatorStatusChanged=this._onValidatorStatusChanged.bind(this),this._resetValidationInfo(),this._eventsStrategy=new s.EventsStrategy(this)}validate(){const e={isValid:!0,brokenRules:[],validators:[],status:g,complete:null};return this._unsubscribeFromAllChangeEvents(),this._pendingValidators=[],this._resetValidationInfo(),(0,d.each)(this.validators,((t,n)=>{const i=n.validate();e.isValid=e.isValid&&i.isValid,i.brokenRules&&(e.brokenRules=e.brokenRules.concat(i.brokenRules)),e.validators.push(n),i.status===m&&this._addPendingValidator(n),this._subscribeToChangeEvents(n)})),this._pendingValidators.length?e.status=m:(e.status=e.isValid?g:_,this._unsubscribeFromAllChangeEvents(),this._raiseValidatedEvent(e)),this._updateValidationInfo(e),(0,u.extend)({},this._validationInfo.result)}_subscribeToChangeEvents(e){e.on("validating",this._onValidatorStatusChanged),e.on("validated",this._onValidatorStatusChanged)}_unsubscribeFromChangeEvents(e){e.off("validating",this._onValidatorStatusChanged),e.off("validated",this._onValidatorStatusChanged)}_unsubscribeFromAllChangeEvents(){(0,d.each)(this.validators,((e,t)=>{this._unsubscribeFromChangeEvents(t)}))}_updateValidationInfo(e){this._validationInfo.result=e,e.status===m&&(this._validationInfo.deferred||(this._validationInfo.deferred=(0,c.Deferred)(),this._validationInfo.result.complete=this._validationInfo.deferred.promise()))}_addPendingValidator(e){(0,l.grep)(this._pendingValidators,(t=>t===e))[0]||this._pendingValidators.push(e)}_removePendingValidator(e){const t=this._pendingValidators.indexOf(e);t>=0&&this._pendingValidators.splice(t,1)}_orderBrokenRules(e){let t=[];return(0,d.each)(this.validators,((n,i)=>{const o=(0,l.grep)(e,(e=>e.validator===i));o.length&&(t=t.concat(o))})),t}_updateBrokenRules(e){if(!this._validationInfo.result)return;let{brokenRules:t}=this._validationInfo.result;const n=(0,l.grep)(t,(t=>t.validator!==e.validator));e.brokenRules&&(t=n.concat(e.brokenRules)),this._validationInfo.result.brokenRules=this._orderBrokenRules(t)}_onValidatorStatusChanged(e){e.status!==m?this._resolveIfComplete(e):this._addPendingValidator(e.validator)}_resolveIfComplete(e){if(this._removePendingValidator(e.validator),this._updateBrokenRules(e),!this._pendingValidators.length){if(this._unsubscribeFromAllChangeEvents(),!this._validationInfo.result)return;this._validationInfo.result.status=0===this._validationInfo.result.brokenRules.length?g:_,this._validationInfo.result.isValid=this._validationInfo.result.status===g;const e=(0,u.extend)({},this._validationInfo.result,{complete:null}),{deferred:t}=this._validationInfo;this._validationInfo.deferred=null,this._raiseValidatedEvent(e),t&&setTimeout((()=>{t.resolve(e)}))}}_raiseValidatedEvent(e){this._eventsStrategy.fireEvent("validated",[e])}_resetValidationInfo(){this._validationInfo={result:null,deferred:null}}_synchronizeValidationInfo(){this._validationInfo.result&&(this._validationInfo.result.validators=this.validators)}removeRegisteredValidator(e){const t=this.validators.indexOf(e);t>-1&&(this.validators.splice(t,1),this._synchronizeValidationInfo(),this._resolveIfComplete({validator:e}))}registerValidator(e){this.validators.includes(e)||(this.validators.push(e),this._synchronizeValidationInfo())}reset(){(0,d.each)(this.validators,((e,t)=>{t.reset()})),this._pendingValidators=[],this._resetValidationInfo()}on(e,t){return this._eventsStrategy.on(e,t),this}off(e,t){return this._eventsStrategy.off(e,t),this}}const C={groups:[],getGroupConfig(e){const t=(0,l.grep)(this.groups,(t=>t.group===e));if(t.length)return t[0]},findGroup(e,t){var n;const i=(null===(n=e.data())||void 0===n||null===(n=n.dxComponents)||void 0===n?void 0:n.includes("dxValidationGroup"))&&e.dxValidationGroup("instance");if(i)return i;const o=e.parents(".dx-validationgroup").first();return o.length?o.dxValidationGroup("instance"):t},initGroups(){this.groups=[],this.addGroup(void 0,!1)},addGroup(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getGroupConfig(e);return n||(n=new x(e,t),this.groups.push(n)),n},removeGroup(e){const t=this.getGroupConfig(e),n=this.groups.indexOf(t);return n>-1&&this.groups.splice(n,1),t},_setDefaultMessage(e){const{rule:t,validator:n,name:i}=e;(0,h.isDefined)(t.message)||(n.defaultFormattedMessage&&(0,h.isDefined)(i)?t.message=n.defaultFormattedMessage(i):t.message=n.defaultMessage())},_addBrokenRule(e){const{result:t,rule:n}=e;t.brokenRule||(t.brokenRule=n),t.brokenRules||(t.brokenRules=[]),t.brokenRules.push(n)},validate(e,t,n){var i;let o={name:n,value:e,brokenRule:null,brokenRules:null,isValid:!0,validationRules:t,pendingRules:null,status:g,complete:null};const r=null==t||null===(i=t[0])||void 0===i?void 0:i.validator,s=[];return(0,d.each)(t||[],((t,i)=>{const r=y[i.type];let l;if(!r)throw a.default.Error("E0100");return(0,h.isDefined)(i.isValid)&&i.value===e&&!i.reevaluate?!!i.isValid||(o.isValid=!1,this._addBrokenRule({result:o,rule:i}),!1):(i.value=e,"async"===i.type?(s.push({rule:i,ruleValidator:r}),!0):(l=r.validate(e,i),i.isValid=l,l||(o.isValid=!1,this._setDefaultMessage({rule:i,validator:r,name:n}),this._addBrokenRule({result:o,rule:i})),!!i.isValid&&void 0))})),o.isValid&&!o.brokenRules&&s.length&&(o=this._validateAsyncRules({value:e,items:s,result:o,name:n})),this._synchronizeGroupValidationInfo(r,o),o.status=o.pendingRules?m:o.isValid?g:_,o},_synchronizeGroupValidationInfo(e,t){if(!e)return;const n=C.getGroupConfig(e._validationGroup);n._updateBrokenRules.call(n,{validator:e,brokenRules:t.brokenRules??[]})},_validateAsyncRules(e){let{result:t,value:n,items:i,name:o}=e;const r=[];return(0,d.each)(i,((e,i)=>{const a=i.ruleValidator.validate(n,i.rule);if((0,h.isPromise)(a)){t.pendingRules||(t.pendingRules=[]),t.pendingRules.push(i.rule);const e=a.then((e=>{const t=this._getPatchedRuleResult(e);return this._updateRuleConfig({rule:i.rule,ruleResult:t,validator:i.ruleValidator,name:o}),t}));r.push(e)}else this._updateRuleConfig({rule:i.rule,ruleResult:this._getPatchedRuleResult(a),validator:i.ruleValidator,name:o})})),r.length&&(t.complete=Promise.all(r).then((e=>this._getAsyncRulesResult({result:t,values:e})))),t},_updateRuleConfig(e){let{rule:t,ruleResult:n,validator:i,name:o}=e;t.isValid=n.isValid,n.isValid||((0,h.isDefined)(n.message)&&(0,h.isString)(n.message)&&n.message.length?t.message=n.message:this._setDefaultMessage({rule:t,validator:i,name:o}))},_getPatchedRuleResult(e){let t;const n=!0;return(0,h.isObject)(e)?(t=(0,u.extend)({},e),(0,h.isDefined)(t.isValid)||(t.isValid=n)):t={isValid:(0,h.isBoolean)(e)?e:n},t},_getAsyncRulesResult(e){let{values:t,result:n}=e;return(0,d.each)(t,((e,t)=>{if(!1===t.isValid){n.isValid=t.isValid;const i=n.pendingRules[e];this._addBrokenRule({result:n,rule:i})}})),n.pendingRules=null,n.complete=null,n.status=n.isValid?g:_,n},registerValidatorInGroup(e,t){const n=C.addGroup(e);n.registerValidator.call(n,t)},removeRegisteredValidator(e,t){const n=C.getGroupConfig(e);if(n){n.removeRegisteredValidator.call(n,t);const i=n.validators,o=n._isRemovable;0===i.length&&o&&this.removeGroup(e)}},initValidationOptions(e){const t={};if(e){["isValid","validationStatus","validationError","validationErrors"].forEach((n=>{n in e&&(0,u.extend)(t,this.synchronizeValidationOptions({name:n,value:e[n]},e))}))}return t},synchronizeValidationOptions(e,t){let{name:n,value:i}=e;switch(n){case"validationStatus":{const e=i===g||i===m;return t.isValid!==e?{isValid:e}:{}}case"isValid":{const{validationStatus:e}=t;let n=e;return i&&e===_?n=g:i||e===_||(n=_),n!==e?{validationStatus:n}:{}}case"validationErrors":{const e=null!=i&&i.length?i[0]:null;return t.validationError!==e?{validationError:e}:{}}case"validationError":{const{validationErrors:e}=t;if(!i&&e)return{validationErrors:null};if(i&&!e)return{validationErrors:[i]};if(i&&e&&i!==e[0])return e[0]=i,{validationErrors:e.slice()}}}return{}},validateGroup(e){const t=C.getGroupConfig(e);if(!t)throw a.default.Error("E0110");return t.validate()},resetGroup(e){const t=C.getGroupConfig(e);if(!t)throw a.default.Error("E0110");return t.reset()}};C.initGroups();t.default=C},22864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n(92848)),o=c(n(64553)),r=n(41639),a=n(57653),s=n(54497),l=c(n(68632));function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},u.apply(null,arguments)}const d="dx-invalid-message";class h extends l.default{_getDefaultOptions(){return u({},super._getDefaultOptions(),{integrationOptions:{},templatesRenderAsynchronously:!1,shading:!1,width:"auto",height:"auto",hideOnOutsideClick:!1,animation:null,visible:!0,propagateOutsideClick:!0,_checkParentVisibility:!1,rtlEnabled:!1,contentTemplate:this._renderInnerHtml,maxWidth:"100%",container:this.$element(),mode:"auto",preventScrollEvents:!1,positionSide:"top",offset:{h:0,v:0}})}_init(){super._init(),this.updateMaxWidth(),this._updatePosition()}_initMarkup(){super._initMarkup(),this._ensureMessageNotEmpty(),this._updatePositionByTarget(),this._toggleModeClass(),this._updateContentId()}_updatePositionByTarget(){const{target:e}=this.option();this.option("position.of",e)}_ensureMessageNotEmpty(){this._textMarkup=this._getTextMarkup();const e=this.option("visible")&&this._textMarkup;this._toggleVisibilityClasses(e)}_toggleVisibilityClasses(e){e?(this.$element().addClass(d),this.$wrapper().addClass(d)):(this.$element().removeClass(d),this.$wrapper().removeClass(d))}_updateContentId(){const{container:e,contentId:t}=this.option(),n=t??(0,o.default)(e).attr("aria-describedby");this.$content().addClass("dx-invalid-message-content").attr("id",n)}_renderInnerHtml(e){const t=e&&(0,o.default)(e);null==t||t.html(this._textMarkup)}_getTextMarkup(){const e=this.option("validationErrors")??[];let t="";return e.forEach((e=>{t+=(t?"<br />":"")+(0,s.encodeHtml)((null==e?void 0:e.message)??"")})),t}_toggleModeClass(){const{mode:e}=this.option();this.$wrapper().toggleClass("dx-invalid-message-auto","auto"===e).toggleClass("dx-invalid-message-always","always"===e)}updateMaxWidth(){const e=this.option("target"),t=(0,a.getOuterWidth)(e);let n="100%";t&&(n=Math.max(t,100)),this.option({maxWidth:n})}_getPositionsArray(e,t){switch(e){case"top":return[`${t} bottom`,`${t} top`];case"left":return["right","left"];case"right":return["left","right"];default:return[`${t} top`,`${t} bottom`]}}_updatePosition(){const{positionSide:e,rtlEnabled:t,offset:n,boundary:i}=this.option(),o=(0,r.getDefaultAlignment)(t),a=this._getPositionsArray(e,o),s=u({},n);this.$element().addClass(`dx-invalid-message-${e}`),t&&"left"!==e&&"right"!==e&&(s.h=-s.h),"top"===e&&(s.v=-s.v),"left"===e&&(s.h=-s.h),this.option("position",{offset:s,boundary:i,my:a[0],at:a[1],collision:"none flip"})}_optionChanged(e){const{name:t,value:n,previousValue:i}=e;switch(t){case"target":this._updatePositionByTarget(),this.updateMaxWidth(),super._optionChanged(e);break;case"boundary":this.option("position.boundary",n);break;case"mode":this._toggleModeClass();break;case"rtlEnabled":case"offset":case"positionSide":this.$element().removeClass(`dx-invalid-message-${i}`),this._updatePosition();break;case"container":this._updateContentId(),super._optionChanged(e);break;case"contentId":this._updateContentId();break;case"validationErrors":this._ensureMessageNotEmpty(),this._renderInnerHtml(this.$content());break;default:super._optionChanged(e)}}}(0,i.default)("dxValidationMessage",h);t.default=h},68632:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.OVERLAY_CONTENT_CLASS=void 0;var i=n(16826),o=n(83916),r=I(n(92774)),a=n(59144),s=I(n(89797)),l=n(42222),c=n(98834),u=n(18029),d=I(n(92848)),h=I(n(65951)),f=I(n(64960)),p=n(61404),g=I(n(87129)),_=I(n(64553)),m=n(48650),v=I(n(48314)),b=n(17781),y=n(87739),x=n(52576),C=n(21274),S=I(n(3122)),w=n(57653),E=n(11528),T=n(55355),A=n(35944),O=I(n(35185)),k=I(n(76400)),D=I(n(89275)),L=I(n(14470)),P=n(4983),M=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=R(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(84893));function R(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(R=function(e){return e?n:t})(e)}function I(e){return e&&e.__esModule?e:{default:e}}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},B.apply(null,arguments)}const V=S.default.add,F=L.default.getWindow(),H=T.changeCallback,N=t.OVERLAY_CONTENT_CLASS="dx-overlay-content",z="dx-inner-overlay",j="dx-state-invisible",G=[],Z="dx-prevent-safari-scrolling";V((()=>{r.default.subscribeGlobal(f.default.getDocument(),s.default.down,(e=>{for(let t=G.length-1;t>=0;t--)if(!G[t]._proxiedDocumentDownHandler(e))return}))}));class W extends D.default{_supportedKeys(){return B({},super._supportedKeys(),{escape(){this.hide()}})}_getDefaultOptions(){return B({},super._getDefaultOptions(),{activeStateEnabled:!1,visible:!1,deferRendering:!0,shading:!0,shadingColor:"",wrapperAttr:{},position:(0,x.extend)({},P.OVERLAY_POSITION_ALIASES.center),width:"80vw",minWidth:null,maxWidth:null,height:"80vh",minHeight:null,maxHeight:null,animation:{show:{type:"pop",duration:300,from:{scale:.55}},hide:{type:"pop",duration:300,from:{opacity:1,scale:1},to:{opacity:0,scale:.55}}},hideOnOutsideClick:!1,_ignorePreventScrollEventsDeprecation:!1,onShowing:null,onShown:null,onHiding:null,onHidden:null,contentTemplate:"content",innerOverlay:!1,restorePosition:!0,hideTopOverlayHandler:()=>{this.hide()},hideOnParentScroll:!1,preventScrollEvents:!0,onPositioned:null,propagateOutsideClick:!1,ignoreChildEvents:!0,_checkParentVisibility:!0,_fixWrapperPosition:!1,_loopFocus:!1})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:()=>!L.default.hasWindow(),options:{width:null,height:null,animation:null,_checkParentVisibility:!1}}])}_setOptionsByReference(){super._setOptionsByReference(),(0,x.extend)(this._optionsByReference,{animation:!0})}$wrapper(){return this._$wrapper}_eventBindingTarget(){return this._$content}ctor(e,t){super.ctor(e,t),t&&"preventScrollEvents"in t&&!t._ignorePreventScrollEventsDeprecation&&this._logDeprecatedPreventScrollEventsInfo()}_logDeprecatedPreventScrollEventsInfo(){this._logDeprecatedOptionWarning("preventScrollEvents",{since:"23.1",message:"If you enable this option, end-users may experience scrolling issues."})}_init(){super._init(),this._initActions(),this._initHideOnOutsideClickHandler(),this._initTabTerminatorHandler(),this._customWrapperClass=null,this._$wrapper=(0,_.default)("<div>").addClass("dx-overlay-wrapper"),this._$content=(0,_.default)("<div>").addClass(N),this._initInnerOverlayClass();this.$element().addClass("dx-overlay"),this._$wrapper.attr("data-bind","dxControlsDescendantBindings: true"),this._toggleViewPortSubscription(!0);const{hideTopOverlayHandler:e}=this.option();this._initHideTopOverlayHandler(e),this._parentsScrollSubscriptionInfo={handler:e=>{this._hideOnParentsScrollHandler(e)}},this.warnPositionAsFunction()}warnPositionAsFunction(){(0,E.isFunction)(this.option("position"))&&g.default.log("W0018")}_initInnerOverlayClass(){const{innerOverlay:e}=this.option();this._$content.toggleClass(z,e)}_initHideTopOverlayHandler(e){this._hideTopOverlayHandler=e}_getActionsList(){return["onShowing","onShown","onHiding","onHidden","onPositioned","onVisualPositionChanged"]}_initActions(){this._actions={};const e=this._getActionsList();(0,C.each)(e,((e,t)=>{this._actions[t]=this._createActionByOption(t,{excludeValidators:["disabled","readOnly"]})||b.noop}))}_initHideOnOutsideClickHandler(){var e=this;this._proxiedDocumentDownHandler=function(){return e._documentDownHandler(...arguments)}}_initMarkup(){super._initMarkup(),this._renderWrapperAttributes(),this._initPositionController()}_documentDownHandler(e){this._showAnimationProcessing&&this._stopAnimation();const t=(0,_.default)(F.document).is(e.target)||k.default.contains(F.document,e.target),n=(0,_.default)(e.target).closest(`.${z}`).length;t&&!n&&!(this._$content.is(e.target)||k.default.contains(this._$content.get(0),e.target))&&this._shouldHideOnOutsideClick(e)&&this._outsideClickHandler(e);const{propagateOutsideClick:i}=this.option();return i}_shouldHideOnOutsideClick(e){const{hideOnOutsideClick:t}=this.option();return(0,E.isFunction)(t)?t(e):t}_outsideClickHandler(e){this.option("shading")&&e.preventDefault(),this.hide()}_getAnonymousTemplateName(){return"content"}_initTemplates(){this._templateManager.addDefaultTemplates({content:new m.EmptyTemplate}),super._initTemplates()}_isTopOverlay(){const e=this._overlayStack();for(let t=e.length-1;t>=0;t--){const n=e[t]._findTabbableBounds();if(n.first||n.last)return e[t]===this}return!1}_overlayStack(){return G}_zIndexInitValue(){return W.baseZIndex()}_toggleViewPortSubscription(e){var t=this;H.remove(this._viewPortChangeHandle),e&&(this._viewPortChangeHandle=function(){t._viewPortChangeHandler(...arguments)},H.add(this._viewPortChangeHandle))}_viewPortChangeHandler(){this._positionController.updateContainer(this.option("container")),this._refresh()}_renderWrapperAttributes(){const{wrapperAttr:e}=this.option(),t=(0,x.extend)({},e),n=t.class;delete t.class,this.$wrapper().attr(t).removeClass(this._customWrapperClass).addClass(n),this._customWrapperClass=n}_renderVisibilityAnimate(e){return this._stopAnimation(),e?this._show():this._hide()}_getAnimationConfig(){return this._getOptionValue("animation",this)}_toggleBodyScroll(e){}_animateShowing(){var e=this;const t=this._getAnimationConfig()??{},n=this._normalizeAnimation(t.show,"to"),i=(null==n?void 0:n.start)??b.noop,o=(null==n?void 0:n.complete)??b.noop;this._animate(n,(function(){if(!e._isAnimationPaused){e.option("focusStateEnabled")&&r.default.trigger(e._focusTarget(),"focus");for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];o.call(e,...n),e._showAnimationProcessing=!1,e._isHidden=!1,e._actions.onShown(),e._toggleSafariScrolling(),e._showingDeferred.resolve()}}),(function(){if(!e._isAnimationPaused){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];i.call(e,...n),e._showAnimationProcessing=!0}}))}_processShowingHidingCancel(e,t,n){(0,E.isPromise)(e)?e.then((e=>{e?n():t()})).catch((()=>t())):e?n():t()}_show(){if(this._showingDeferred=(0,y.Deferred)(),this._parentHidden=this._isParentHidden(),this._showingDeferred.done((()=>{delete this._parentHidden})),this._parentHidden)return this._isHidden=!0,this._showingDeferred.resolve();if(this._currentVisible)return(0,y.Deferred)().resolve().promise();if(this._currentVisible=!0,this._isHidingActionCanceled)delete this._isHidingActionCanceled,this._showingDeferred.reject();else{const e=()=>{this._stopAnimation();const{enableBodyScroll:e}=this.option();this._toggleBodyScroll(e),this._toggleVisibility(!0),this._$content.css("visibility","hidden"),this._$content.toggleClass(j,!1),this._updateZIndexStackPosition(!0),this._positionController.openingHandled(),this._renderContent();const t={cancel:!1};this._actions.onShowing(t);this._processShowingHidingCancel(t.cancel,(()=>{this._$content.css("visibility",""),this._renderVisibility(!0),this._animateShowing()}),(()=>{this._toggleVisibility(!1),this._$content.css("visibility",""),this._$content.toggleClass(j,!0),this._isShowingActionCanceled=!0,this._moveFromContainer(),this._toggleBodyScroll(!0),this.option("visible",!1),this._showingDeferred.resolve()}))};this.option("templatesRenderAsynchronously")?(this._stopShowTimer(),this._asyncShowTimeout=setTimeout(e)):e()}return this._showingDeferred.promise()}_normalizeAnimation(e,t){return e&&(e=(0,x.extend)({type:"slide",skipElementInitialStyles:!0},e),(0,E.isObject)(e[t])&&(0,x.extend)(e[t],{position:this._positionController.position})),e}_animateHiding(){var e=this;const t=this._getAnimationConfig()??{},n=this._normalizeAnimation(t.hide,"from"),i=(null==n?void 0:n.start)??b.noop,o=(null==n?void 0:n.complete)??b.noop;this._animate(n,(function(){var t;e._$content.css("pointerEvents",""),e._renderVisibility(!1);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];o.call(e,...i),e._hideAnimationProcessing=!1,null===(t=e._actions)||void 0===t||t.onHidden(),e._hidingDeferred.resolve()}),(function(){e._$content.css("pointerEvents","none");for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];i.call(e,...n),e._hideAnimationProcessing=!0}))}_hide(){if(!this._currentVisible)return(0,y.Deferred)().resolve().promise();this._currentVisible=!1,this._hidingDeferred=(0,y.Deferred)();const e={cancel:!1};if(this._isShowingActionCanceled)delete this._isShowingActionCanceled,this._hidingDeferred.reject();else{this._actions.onHiding(e),this._toggleSafariScrolling(),this._toggleBodyScroll(!0);const t=()=>{this._isHidingActionCanceled=!0;const{enableBodyScroll:e}=this.option();this._toggleBodyScroll(e),this.option("visible",!0),this._hidingDeferred.resolve()},n=()=>{this._forceFocusLost(),this._toggleShading(!1),this._toggleSubscriptions(!1),this._stopShowTimer(),this._animateHiding()};this._processShowingHidingCancel(e.cancel,n,t)}return this._hidingDeferred.promise()}_forceFocusLost(){const e=f.default.getActiveElement();!!this._$content.find(e).length&&k.default.resetActiveElement()}_animate(e,t,n){e?(n=n||e.start||b.noop,i.fx.animate(this._$content,(0,x.extend)({},e,{start:n,complete:t}))):t()}_stopAnimation(){i.fx.stop(this._$content,!0)}_renderVisibility(e){e&&this._isParentHidden()||(this._currentVisible=e,this._stopAnimation(),e||(0,u.triggerHidingEvent)(this._$content),e?(this._checkContainerExists(),this._moveToContainer(),this._renderGeometry(),(0,u.triggerShownEvent)(this._$content),(0,u.triggerResizeEvent)(this._$content)):(this._toggleVisibility(e),this._$content.toggleClass(j,!e),this._updateZIndexStackPosition(e),this._moveFromContainer()),this._toggleShading(e),this._toggleSubscriptions(e))}_updateZIndexStackPosition(e){const t=this._overlayStack(),n=t.indexOf(this);e?(-1===n&&(this._zIndex=M.create(this._zIndexInitValue()),t.push(this)),this._$wrapper.css("zIndex",this._zIndex),this._$content.css("zIndex",this._zIndex)):-1!==n&&(t.splice(n,1),M.remove(this._zIndex))}_toggleShading(e){const{shading:t,shadingColor:n}=this.option();this._$wrapper.toggleClass("dx-overlay-shader",e&&t),this._$wrapper.css("backgroundColor",t?n:""),this._toggleTabTerminator(e&&t)}_initTabTerminatorHandler(){var e=this;this._proxiedTabTerminatorHandler=function(){e._tabKeyHandler(...arguments)}}_toggleTabTerminator(e){const{_loopFocus:t}=this.option(),n=(0,c.addNamespace)("keydown",this.NAME);t||e?r.default.on(f.default.getDocument(),n,this._proxiedTabTerminatorHandler):this._destroyTabTerminator()}_destroyTabTerminator(){const e=(0,c.addNamespace)("keydown",this.NAME);r.default.off(f.default.getDocument(),e,this._proxiedTabTerminatorHandler)}_findTabbableBounds(){const e=this._$wrapper.find("*"),t=e.length-1;let n=null,i=null;for(let o=0;o<=t&&(!n&&e.eq(o).is(A.tabbable)&&(n=e.eq(o)),!i&&e.eq(t-o).is(A.tabbable)&&(i=e.eq(t-o)),!n||!i);o+=1);return{first:n,last:i}}_tabKeyHandler(e){if("tab"!==(0,c.normalizeKeyName)(e)||!this._isTopOverlay())return;const t=this._$wrapper.get(0),n=f.default.getActiveElement(t),{first:i,last:o}=this._findTabbableBounds(),a=!e.shiftKey&&n===(null==o?void 0:o.get(0)),s=e.shiftKey&&n===(null==i?void 0:i.get(0)),l=!k.default.contains(t,n);if(a||s||l){e.preventDefault();const t=e.shiftKey?o:i;r.default.trigger(t,"focusin"),r.default.trigger(t,"focus")}}_toggleSubscriptions(e){L.default.hasWindow()&&(this._toggleHideTopOverlayCallback(e),this._toggleHideOnParentsScrollSubscription(e))}_toggleHideTopOverlayCallback(e){this._hideTopOverlayHandler&&(e?o.hideCallback.add(this._hideTopOverlayHandler):o.hideCallback.remove(this._hideTopOverlayHandler))}_toggleHideOnParentsScrollSubscription(e){const t=(0,c.addNamespace)("scroll",this.NAME),{prevTargets:n,handler:i}=this._parentsScrollSubscriptionInfo??{};r.default.off(n,t,i);const o=this.option("hideOnParentScroll");if(e&&o){let e=this._getHideOnParentScrollTarget().parents();"desktop"===h.default.real().deviceType&&(e=e.add(F)),r.default.on(e,t,i),this._parentsScrollSubscriptionInfo.prevTargets=e}}_hideOnParentsScrollHandler(e){let t=!1;const n=this.option("hideOnParentScroll");(0,E.isFunction)(n)&&(t=n(e)),t||this._showAnimationProcessing||this.hide()}_getHideOnParentScrollTarget(){const{_hideOnParentScrollTarget:e}=this.option(),t=(0,_.default)(e);return t.length?t:this._$wrapper}_render(){super._render(),this._appendContentToElement(),this._renderVisibilityAnimate(this.option("visible"))}_appendContentToElement(){this._$content.parent().is(this.$element())||this._$content.appendTo(this.$element())}_renderContent(){const e=!this._currentVisible&&this.option("deferRendering");this.option("visible")&&this._isParentHidden()?this._isHidden=!0:this._contentAlreadyRendered||e||(this._contentAlreadyRendered=!0,this._appendContentToElement(),super._renderContent())}_isParentHidden(){if(!this.option("_checkParentVisibility"))return!1;if(void 0!==this._parentHidden)return this._parentHidden;const e=this.$element().parent();if(e.is(":visible"))return!1;let t=!1;return e.add(e.parents()).each(((e,n)=>{if("none"===(0,_.default)(n).css("display"))return t=!0,!1})),t||!f.default.getBody().contains(e.get(0))}_renderContentImpl(){const e=(0,y.Deferred)(),t=this.option("contentTemplate"),n=this._getTemplate(t),i=this._templateManager.anonymousTemplateName===t;null==n||n.render({container:(0,p.getPublicElement)(this.$content()),noModel:!0,transclude:i,onRendered:()=>{e.resolve(),this.option("templatesRenderAsynchronously")&&this._dimensionChanged()}});const{preventScrollEvents:o}=this.option();return this._toggleWrapperScrollEventsSubscription(o),e.done((()=>{this.option("visible")&&this._moveToContainer()})),e.promise()}_getPositionControllerConfig(){const{container:e,visualContainer:t,_fixWrapperPosition:n,restorePosition:i,_skipContentPositioning:o}=this.option();return{container:e,visualContainer:t,$root:this.$element(),$content:this._$content,$wrapper:this._$wrapper,onPositioned:this._actions.onPositioned,onVisualPositionChanged:this._actions.onVisualPositionChanged,restorePosition:i,_fixWrapperPosition:n,_skipContentPositioning:o}}_initPositionController(){this._positionController=new P.OverlayPositionController(this._getPositionControllerConfig())}_toggleWrapperScrollEventsSubscription(e){const t=(0,c.addNamespace)(a.move,this.NAME);r.default.off(this._$wrapper,t),e&&r.default.on(this._$wrapper,t,{validate:()=>!0,getDirection:()=>"both",_toggleGestureCover(e){e||this._toggleGestureCoverImpl(e)},_clearSelection:b.noop,isNative:!0},(e=>{const{originalEvent:t}=e.originalEvent,{type:n}=t||{},i="wheel"===n,o="mousemove"===n,r=i&&!(0,c.isCommandKeyPressed)(e);e._cancelPreventDefault=!0,t&&!1!==e.cancelable&&(!o&&!i||r)&&e.preventDefault()}))}_moveFromContainer(){this._$content.appendTo(this.$element()),this._$wrapper.detach()}_checkContainerExists(){const e=this._positionController.$container;if(void 0===e)return;e.length>0||O.default.log("W1021",this.NAME)}_moveToContainer(){const e=this._positionController.$container;this._$wrapper.appendTo(e),this._$content.appendTo(this._$wrapper)}_renderGeometry(e){const{visible:t}=this.option();t&&L.default.hasWindow()&&(this._stopAnimation(),this._renderGeometryImpl())}_renderGeometryImpl(){this._positionController.updatePosition(this._getOptionValue("position")),this._renderWrapper(),this._renderDimensions(),this._renderPosition()}_renderPosition(e){this._positionController.positionContent()}_isAllWindowCovered(){const{shading:e}=this.option();return(0,E.isWindow)(this._positionController.$visualContainer.get(0))&&e}_toggleSafariScrolling(){const e=this.option("visible"),t=(0,_.default)(f.default.getBody()),n="ios"===h.default.real().platform&&v.default.safari,i=this._isAllWindowCovered(),o=t.hasClass(Z),r=!o&&e&&i,a=o&&(!e||!i||this._disposed);n&&(a?(t.removeClass(Z),F.scrollTo(0,this._cachedBodyScrollTop),this._cachedBodyScrollTop=void 0):r&&(this._cachedBodyScrollTop=F.pageYOffset,t.addClass(Z)))}_renderWrapper(){this._positionController.styleWrapperPosition(),this._renderWrapperDimensions(),this._positionController.positionWrapper()}_renderWrapperDimensions(){const{$visualContainer:e}=this._positionController,t=f.default.getDocumentElement(),n=(0,E.isWindow)(e.get(0)),i=n?t.clientWidth:(0,w.getOuterWidth)(e),o=n?F.innerHeight:(0,w.getOuterHeight)(e);this._$wrapper.css({width:i,height:o})}_renderDimensions(){const e=this._$content.get(0);this._$content.css({minWidth:this._getOptionValue("minWidth",e),maxWidth:this._getOptionValue("maxWidth",e),minHeight:this._getOptionValue("minHeight",e),maxHeight:this._getOptionValue("maxHeight",e),width:this._getOptionValue("width",e),height:this._getOptionValue("height",e)})}_focusTarget(){return this._$content}_attachKeyboardEvents(){this._keyboardListenerId=l.keyboard.on(this._$content,null,(e=>this._keyboardHandler(e)))}_keyboardHandler(e){const t=e.originalEvent;!(0,_.default)(t.target).is(this._$content)&&this.option("ignoreChildEvents")||super._keyboardHandler(...arguments)}_isVisible(){const{visible:e}=this.option();return e}_visibilityChanged(e){e?this.option("visible")&&this._renderVisibilityAnimate(e):this._renderVisibilityAnimate(e)}_dimensionChanged(){this._renderGeometry()}_clean(){const{isRenovated:e}=this.option();this._contentAlreadyRendered||e||this.$content().empty(),this._renderVisibility(!1),this._stopShowTimer(),this._cleanFocusState()}_stopShowTimer(){this._asyncShowTimeout&&clearTimeout(this._asyncShowTimeout),this._asyncShowTimeout=null}_dispose(){i.fx.stop(this._$content,!1),this._toggleViewPortSubscription(!1),this._toggleSubscriptions(!1),this._updateZIndexStackPosition(!1),this._actions=null,this._parentsScrollSubscriptionInfo=null,super._dispose(),this._toggleSafariScrolling(),this.option("visible")&&M.remove(this._zIndex),this._$wrapper.remove(),this._$content.remove(),this._destroyTabTerminator()}_toggleRTLDirection(e){this._$content.toggleClass("dx-rtl",e)}_optionChanged(e){const{value:t,name:n}=e;if(this._getActionsList().includes(n))this._initActions();else switch(n){case"animation":case"hideOnOutsideClick":case"propagateOutsideClick":break;case"_loopFocus":case"shading":{const{visible:e}=this.option();this._toggleShading(e),this._toggleSafariScrolling();break}case"shadingColor":{const{visible:e}=this.option();this._toggleShading(e);break}case"width":case"height":case"minWidth":case"maxWidth":case"minHeight":case"maxHeight":this._renderGeometry();break;case"position":this._positionController.updatePosition(this.option("position")),this._positionController.restorePositionOnNextRender(!0),this._renderGeometry(),this._toggleSafariScrolling();break;case"visible":this._renderVisibilityAnimate(t).done((()=>{var e;return null===(e=this._animateDeferred)||void 0===e?void 0:e.resolveWith(this)})).fail((()=>{var e;return null===(e=this._animateDeferred)||void 0===e?void 0:e.reject()}));break;case"container":this._positionController.updateContainer(t),this._invalidate(),this._toggleSafariScrolling();break;case"visualContainer":this._positionController.updateVisualContainer(t),this._renderWrapper(),this._toggleSafariScrolling();break;case"innerOverlay":this._initInnerOverlayClass();break;case"deferRendering":case"contentTemplate":this._contentAlreadyRendered=!1,this._clean(),this._invalidate();break;case"hideTopOverlayHandler":this._toggleHideTopOverlayCallback(!1),this._initHideTopOverlayHandler(t),this._toggleHideTopOverlayCallback(this.option("visible"));break;case"hideOnParentScroll":case"_hideOnParentScrollTarget":{const{visible:e}=this.option();this._toggleHideOnParentsScrollSubscription(e);break}case"rtlEnabled":this._contentAlreadyRendered=!1,super._optionChanged(e);break;case"_fixWrapperPosition":this._positionController.fixWrapperPosition=t;break;case"wrapperAttr":this._renderWrapperAttributes();break;case"restorePosition":this._positionController.restorePosition=t;break;case"preventScrollEvents":this._logDeprecatedPreventScrollEventsInfo(),this._toggleWrapperScrollEventsSubscription(t);break;default:super._optionChanged(e)}}toggle(e){e=void 0===e?!this.option("visible"):e;const t=(0,y.Deferred)();if(e===this.option("visible"))return t.resolveWith(this,[e]).promise();const n=(0,y.Deferred)();return this._animateDeferred=n,this.option("visible",e),n.promise().done((()=>{delete this._animateDeferred,t.resolveWith(this,[this.option("visible")])})).fail((()=>{delete this._animateDeferred,t.reject()})),t.promise()}$content(){return this._$content}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}content(){return(0,p.getPublicElement)(this._$content)}repaint(){this._contentAlreadyRendered?(this._positionController.restorePositionOnNextRender(!0),this._renderGeometry({forceStopAnimation:!0}),(0,u.triggerResizeEvent)(this._$content)):super.repaint()}}W.baseZIndex=e=>M.base(e),(0,d.default)("dxOverlay",W);t.default=W},4983:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayPositionController=t.OVERLAY_POSITION_ALIASES=void 0;var i=c(n(3030)),o=n(88603),r=c(n(64553)),a=n(52576),s=n(11528),l=c(n(5080));function c(e){return e&&e.__esModule?e:{default:e}}const u=c(n(14470)).default.getWindow(),d=t.OVERLAY_POSITION_ALIASES={top:{my:"top center",at:"top center"},bottom:{my:"bottom center",at:"bottom center"},right:{my:"right center",at:"right center"},left:{my:"left center",at:"left center"},center:{my:"center",at:"center"},"right bottom":{my:"right bottom",at:"right bottom"},"right top":{my:"right top",at:"right top"},"left bottom":{my:"left bottom",at:"left bottom"},"left top":{my:"left top",at:"left top"}},h={h:0,v:0};t.OverlayPositionController=class{constructor(e){let{position:t,container:n,visualContainer:i,$root:o,$content:r,$wrapper:a,onPositioned:s,onVisualPositionChanged:l,restorePosition:c,_fixWrapperPosition:u,_skipContentPositioning:d}=e;this._props={position:t,container:n,visualContainer:i,restorePosition:c,onPositioned:s,onVisualPositionChanged:l,_fixWrapperPosition:u,_skipContentPositioning:d},this._$root=o,this._$content=r,this._$wrapper=a,this._$markupContainer=void 0,this._$visualContainer=void 0,this._shouldRenderContentInitialPosition=!0,this._visualPosition=void 0,this._initialPosition=void 0,this._previousVisualPosition=void 0,this.updateContainer(n),this.updatePosition(t),this.updateVisualContainer(i)}get $container(){return this.updateContainer(),this._$markupContainer}get $visualContainer(){return this._$visualContainer}get position(){return this._position}set fixWrapperPosition(e){this._props._fixWrapperPosition=e,this.styleWrapperPosition()}set restorePosition(e){this._props.restorePosition=e}restorePositionOnNextRender(e){this._shouldRenderContentInitialPosition=e||!this._visualPosition}openingHandled(){const e=this._props.restorePosition;this.restorePositionOnNextRender(e)}updatePosition(e){this._props.position=e,this._position=this._normalizePosition(e),this.updateVisualContainer()}updateContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._props.container;this._props.container=e,this._$markupContainer=e?(0,r.default)(e):l.default.getSwatchContainer(this._$root),this.updateVisualContainer(this._props.visualContainer)}updateVisualContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._props.visualContainer;this._props.visualContainer=e,this._$visualContainer=this._getVisualContainer()}detectVisualPositionChange(e){this._updateVisualPositionValue(),this._raisePositionedEvents(e)}positionContent(){this._shouldRenderContentInitialPosition?this._renderContentInitialPosition():((0,o.move)(this._$content,this._visualPosition),this.detectVisualPositionChange())}positionWrapper(){this._$visualContainer&&i.default.setup(this._$wrapper,{my:"top left",at:"top left",of:this._$visualContainer})}styleWrapperPosition(){const e=(0,s.isWindow)(this.$visualContainer.get(0))||this._props._fixWrapperPosition?"fixed":"absolute";this._$wrapper.css("position",e)}_updateVisualPositionValue(){this._previousVisualPosition=this._visualPosition,this._visualPosition=(0,o.locate)(this._$content)}_renderContentInitialPosition(){this._renderBoundaryOffset(),(0,o.resetPosition)(this._$content);const e=this._$wrapper.css("overflow");if(this._$wrapper.css("overflow","hidden"),!this._props._skipContentPositioning){const e=i.default.setup(this._$content,this._position);this._initialPosition=e}this._$wrapper.css("overflow",e),this.detectVisualPositionChange()}_raisePositionedEvents(e){const t=this._previousVisualPosition,n=this._visualPosition;((null==t?void 0:t.top)!==n.top||(null==t?void 0:t.left)!==n.left)&&this._props.onVisualPositionChanged({previousPosition:t,position:n,event:e}),this._props.onPositioned({position:this._initialPosition})}_renderBoundaryOffset(){const e=this._position??{boundaryOffset:h};this._$content.css("margin",`${e.v}px ${e.h}px`)}_getVisualContainer(){var e,t;const n=this._props.container,i=this._props.visualContainer,o=(0,s.isEvent)(null===(e=this._props.position)||void 0===e?void 0:e.of)?this._props.position.of.target:null===(t=this._props.position)||void 0===t?void 0:t.of;return i?(0,r.default)(i):n?(0,r.default)(n):o?(0,r.default)(o):(0,r.default)(u)}_normalizePosition(e){const t={boundaryOffset:h};return(0,s.isDefined)(e)?(0,a.extend)(!0,{},t,this._positionToObject(e)):t}_positionToObject(e){return(0,s.isString)(e)?(0,a.extend)({},d[e]):e}}},84893:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.remove=t.isLastZIndexInStack=t.create=t.clearStack=t.base=void 0;var i=n(17781);let o=1500,r=[];t.base=e=>(o=(0,i.ensureDefined)(e,o),o);t.create=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;const{length:t}=r,n=(t?r[t-1]:e)+1;return r.push(n),n};t.remove=e=>{const t=r.indexOf(e);t>=0&&r.splice(t,1)};t.isLastZIndexInStack=e=>r.length&&r[r.length-1]===e;t.clearStack=()=>{r=[]}},21363:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.VALIDATE_WHEEL_TIMEOUT=t.TopPocketState=t.ShowScrollbarMode=t.SCROLL_LINE_HEIGHT=t.SCROLLVIEW_TOP_POCKET_CLASS=t.SCROLLVIEW_REACHBOTTOM_TEXT_CLASS=t.SCROLLVIEW_REACHBOTTOM_INDICATOR_CLASS=t.SCROLLVIEW_REACHBOTTOM_CLASS=t.SCROLLVIEW_PULLDOWN_VISIBLE_TEXT_CLASS=t.SCROLLVIEW_PULLDOWN_TEXT_CLASS=t.SCROLLVIEW_PULLDOWN_READY_CLASS=t.SCROLLVIEW_PULLDOWN_LOADING_CLASS=t.SCROLLVIEW_PULLDOWN_INDICATOR_CLASS=t.SCROLLVIEW_PULLDOWN_IMAGE_CLASS=t.SCROLLVIEW_PULLDOWN=t.SCROLLVIEW_CONTENT_CLASS=t.SCROLLVIEW_BOTTOM_POCKET_CLASS=t.SCROLLABLE_WRAPPER_CLASS=t.SCROLLABLE_SIMULATED_CLASS=t.SCROLLABLE_SCROLL_CONTENT_CLASS=t.SCROLLABLE_SCROLL_CLASS=t.SCROLLABLE_SCROLLBAR_SIMULATED=t.SCROLLABLE_SCROLLBAR_CLASS=t.SCROLLABLE_SCROLLBAR_ACTIVE_CLASS=t.SCROLLABLE_SCROLLBARS_HIDDEN=t.SCROLLABLE_SCROLLBARS_ALWAYSVISIBLE=t.SCROLLABLE_DISABLED_CLASS=t.SCROLLABLE_CONTENT_CLASS=t.SCROLLABLE_CONTAINER_CLASS=t.PULLDOWN_ICON_CLASS=t.KEY_CODES=t.HOVER_ENABLED_STATE=t.HIDE_SCROLLBAR_TIMEOUT=t.DIRECTION_VERTICAL=t.DIRECTION_HORIZONTAL=t.DIRECTION_BOTH=void 0;t.SCROLL_LINE_HEIGHT=40,t.DIRECTION_VERTICAL="vertical",t.DIRECTION_HORIZONTAL="horizontal",t.DIRECTION_BOTH="both",t.SCROLLABLE_SIMULATED_CLASS="dx-scrollable-simulated",t.SCROLLABLE_CONTENT_CLASS="dx-scrollable-content",t.SCROLLABLE_WRAPPER_CLASS="dx-scrollable-wrapper",t.SCROLLABLE_CONTAINER_CLASS="dx-scrollable-container",t.SCROLLABLE_DISABLED_CLASS="dx-scrollable-disabled",t.SCROLLABLE_SCROLLBAR_SIMULATED="dx-scrollable-scrollbar-simulated",t.SCROLLABLE_SCROLLBARS_HIDDEN="dx-scrollable-scrollbars-hidden",t.SCROLLABLE_SCROLLBARS_ALWAYSVISIBLE="dx-scrollable-scrollbars-alwaysvisible",t.SCROLLABLE_SCROLLBAR_CLASS="dx-scrollable-scrollbar",t.SCROLLABLE_SCROLLBAR_ACTIVE_CLASS="dx-scrollable-scrollbar-active",t.SCROLLABLE_SCROLL_CLASS="dx-scrollable-scroll",t.SCROLLABLE_SCROLL_CONTENT_CLASS="dx-scrollable-scroll-content",t.HOVER_ENABLED_STATE="dx-scrollbar-hoverable",t.SCROLLVIEW_CONTENT_CLASS="dx-scrollview-content",t.SCROLLVIEW_TOP_POCKET_CLASS="dx-scrollview-top-pocket",t.SCROLLVIEW_PULLDOWN="dx-scrollview-pull-down",t.SCROLLVIEW_PULLDOWN_LOADING_CLASS="dx-scrollview-pull-down-loading",t.SCROLLVIEW_PULLDOWN_READY_CLASS="dx-scrollview-pull-down-ready",t.SCROLLVIEW_PULLDOWN_IMAGE_CLASS="dx-scrollview-pull-down-image",t.SCROLLVIEW_PULLDOWN_INDICATOR_CLASS="dx-scrollview-pull-down-indicator",t.SCROLLVIEW_PULLDOWN_TEXT_CLASS="dx-scrollview-pull-down-text",t.SCROLLVIEW_PULLDOWN_VISIBLE_TEXT_CLASS="dx-scrollview-pull-down-text-visible",t.PULLDOWN_ICON_CLASS="dx-icon-pulldown",t.SCROLLVIEW_BOTTOM_POCKET_CLASS="dx-scrollview-bottom-pocket",t.SCROLLVIEW_REACHBOTTOM_CLASS="dx-scrollview-scrollbottom",t.SCROLLVIEW_REACHBOTTOM_INDICATOR_CLASS="dx-scrollview-scrollbottom-indicator",t.SCROLLVIEW_REACHBOTTOM_TEXT_CLASS="dx-scrollview-scrollbottom-text",t.TopPocketState={STATE_RELEASED:0,STATE_READY:1,STATE_REFRESHING:2,STATE_LOADING:3,STATE_TOUCHED:4,STATE_PULLED:5},t.ShowScrollbarMode={HOVER:"onHover",ALWAYS:"always",NEVER:"never",SCROLL:"onScroll"},t.KEY_CODES={PAGE_UP:"pageUp",PAGE_DOWN:"pageDown",END:"end",HOME:"home",LEFT:"leftArrow",UP:"upArrow",RIGHT:"rightArrow",DOWN:"downArrow"},t.VALIDATE_WHEEL_TIMEOUT=500,t.HIDE_SCROLLBAR_TIMEOUT=500},99762:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=n(84096),r=(i=n(55620))&&i.__esModule?i:{default:i};class a extends(r.default.inherit({})){ctor(e){this._finished=!0,this._stopped=!1,this._proxiedStepCore=this._stepCore.bind(this)}start(){this._stopped=!1,this._finished=!1,this._stepCore()}stop(){this._stopped=!0,(0,o.cancelAnimationFrame)(this._stepAnimationFrame)}_stepCore(){if(this._isStopped())this._stop();else{if(this._isFinished())return this._finished=!0,void this._complete();this._step(),this._stepAnimationFrame=(0,o.requestAnimationFrame)(this._proxiedStepCore)}}_step(){r.default.abstract()}_isFinished(){}_stop(){}_complete(){}_isStopped(){return this._stopped}inProgress(){return!(this._stopped||this._finished)}}t.default=a},97972:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ScrollViewServerSide=t.ScrollView=void 0;var i=_(n(4671)),o=_(n(92848)),r=_(n(65951)),a=n(61404),s=_(n(64553)),l=n(3104),c=_(n(11979)),u=n(52071),d=_(n(14474)),h=_(n(83493)),f=_(n(14286)),p=_(n(94492)),g=_(n(94790));function _(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m.apply(null,arguments)}const v="dx-scrollview",b=`${v}-content`,y=`${v}-top-pocket`,x=`${v}-bottom-pocket`,C=`${v}-pull-down`,S=`${v}-scrollbottom`,w=`${S}-indicator`,E=`${S}-text`,T=`${v}-loadpanel`,A={pullDown:h.default,swipeDown:f.default,simulated:p.default},O=!(0,l.hasWindow)();class k extends g.default{finishLoading(){}release(){}refresh(){}scrollOffset(){return{top:0,left:0}}isBottomReached(){return!1}_optionChanged(e){const{name:t}=e;if("onUpdated"!==t)return super._optionChanged.apply(this,arguments)}}t.ScrollViewServerSide=k;class D extends g.default{_getDefaultOptions(){return m({},super._getDefaultOptions(),{pullingDownText:i.default.format("dxScrollView-pullingDownText"),pulledDownText:i.default.format("dxScrollView-pulledDownText"),refreshingText:i.default.format("dxScrollView-refreshingText"),reachBottomText:i.default.format("dxScrollView-reachBottomText"),onPullDown:null,onReachBottom:null,refreshStrategy:"pullDown"})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:()=>"android"===r.default.real().platform,options:{refreshStrategy:"swipeDown"}},{device:()=>(0,u.isMaterialBased)(),options:{pullingDownText:"",pulledDownText:"",refreshingText:"",reachBottomText:""}}])}_init(){super._init(),this._loadingIndicatorEnabled=!0}_initScrollableMarkup(){super._initScrollableMarkup(),this.$element().addClass(v),this._initContent(),this._initTopPocket(),this._initBottomPocket(),this._initLoadPanel()}_initContent(){const e=(0,s.default)("<div>").addClass(b);this._$content.wrapInner(e)}_initTopPocket(){this._$topPocket=(0,s.default)("<div>").addClass(y),this._$pullDown=(0,s.default)("<div>").addClass(C),this._$topPocket.append(this._$pullDown),this._$content.prepend(this._$topPocket)}_initBottomPocket(){this._$bottomPocket=(0,s.default)("<div>").addClass(x),this._$reachBottom=(0,s.default)("<div>").addClass(S);const e=(0,s.default)("<div>").addClass(w),t=new c.default((0,s.default)("<div>")).$element();this._$reachBottomText=(0,s.default)("<div>").addClass(E),this._updateReachBottomText(),this._$reachBottom.append(e.append(t)).append(this._$reachBottomText),this._$bottomPocket.append(this._$reachBottom),this._$content.append(this._$bottomPocket)}_initLoadPanel(){const e=(0,s.default)("<div>").addClass(T).appendTo(this.$element()),{refreshingText:t}=this.option();this._loadPanel=this._createComponent(e,d.default,{shading:!1,delay:400,message:t,position:{of:this.$element()}})}_updateReachBottomText(){const{reachBottomText:e}=this.option();this._$reachBottomText.text(e)}_createStrategy(){const{useNative:e,refreshStrategy:t}=this.option(),n=A[e?t:"simulated"];this._strategy=new n(this),this._strategy.pullDownCallbacks.add(this._pullDownHandler.bind(this)),this._strategy.releaseCallbacks.add(this._releaseHandler.bind(this)),this._strategy.reachBottomCallbacks.add(this._reachBottomHandler.bind(this))}_createActions(){super._createActions(),this._pullDownAction=this._createActionByOption("onPullDown"),this._reachBottomAction=this._createActionByOption("onReachBottom"),this._tryRefreshPocketState()}_tryRefreshPocketState(){this._pullDownEnable(this.hasActionSubscription("onPullDown")),this._reachBottomEnable(this.hasActionSubscription("onReachBottom"))}on(e){const t=super.on.apply(this,arguments);return"pullDown"!==e&&"reachBottom"!==e||this._tryRefreshPocketState(),t}_pullDownEnable(e){if(0===arguments.length)return this._pullDownEnabled;this._$pullDown&&this._strategy&&(this._$pullDown.toggle(e),this._strategy.pullDownEnable(e),this._pullDownEnabled=e)}_reachBottomEnable(e){if(0===arguments.length)return this._reachBottomEnabled;this._$reachBottom&&this._strategy&&(this._$reachBottom.toggle(e),this._strategy.reachBottomEnable(e),this._reachBottomEnabled=e)}_pullDownHandler(){this._loadingIndicator(!1),this._pullDownLoading()}_loadingIndicator(e){if(arguments.length<1)return this._loadingIndicatorEnabled;this._loadingIndicatorEnabled=e}_pullDownLoading(){var e;this.startLoading(),null===(e=this._pullDownAction)||void 0===e||e.call(this)}_reachBottomHandler(){this._loadingIndicator(!1),this._reachBottomLoading()}_reachBottomLoading(){var e;this.startLoading(),null===(e=this._reachBottomAction)||void 0===e||e.call(this)}_releaseHandler(){this.finishLoading(),this._loadingIndicator(!0)}_optionChanged(e){switch(e.name){case"onPullDown":case"onReachBottom":this._createActions();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"refreshStrategy":this._invalidate();break;case"reachBottomText":this._updateReachBottomText();break;default:super._optionChanged(e)}}content(){return(0,a.getPublicElement)(this._$content.children().eq(1))}release(e){return void 0!==e&&this.toggleLoading(!e),this._strategy.release()}toggleLoading(e){this._reachBottomEnable(e)}refresh(){this.hasActionSubscription("onPullDown")&&(this._strategy.pendingRelease(),this._pullDownLoading())}startLoading(){this._loadingIndicator()&&this.$element().is(":visible")&&this._loadPanel.show(),this._lock()}finishLoading(){this._loadPanel.hide(),this._unlock()}isBottomReached(){return this._strategy.isBottomReached()}_dispose(){this._strategy.dispose(),super._dispose(),this._loadPanel&&this._loadPanel.$element().remove()}}t.ScrollView=D,(0,o.default)("dxScrollView",O?k:D);t.default=O?k:D},83493:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(88603),o=u(n(64553)),r=u(n(84718)),a=n(87739),s=n(21274),l=u(n(11979)),c=u(n(97265));function u(e){return e&&e.__esModule?e:{default:e}}const d="dx-scrollview-pull-down-loading",h="dx-scrollview-pull-down-ready";class f extends c.default{_init(e){super._init(e),this._$topPocket=e._$topPocket,this._$pullDown=e._$pullDown,this._$refreshingText=e._$refreshingText,this._$scrollViewContent=(0,o.default)(e.content()),this._$container=(0,o.default)(e.container()),this._initCallbacks()}_initCallbacks(){this.pullDownCallbacks=(0,r.default)(),this.releaseCallbacks=(0,r.default)(),this.reachBottomCallbacks=(0,r.default)()}render(){super.render(),this._renderPullDown(),this._releaseState()}_renderPullDown(){const e=(0,o.default)("<div>").addClass("dx-scrollview-pull-down-image"),t=(0,o.default)("<div>").addClass("dx-scrollview-pull-down-indicator"),n=new l.default((0,o.default)("<div>")).$element(),i=this._$pullDownText=(0,o.default)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,o.default)("<div>").text(this.option("pullingDownText")).appendTo(i),this._$pulledDownText=(0,o.default)("<div>").text(this.option("pulledDownText")).appendTo(i),this._$refreshingText=(0,o.default)("<div>").text(this.option("refreshingText")).appendTo(i),this._$pullDown.empty().append(e).append(t.append(n)).append(i)}_releaseState(){this._state=0,this._refreshPullDownText()}_refreshPullDownText(){const e=this,t=[{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}];(0,s.each)(t,((t,n)=>{const i=e._state===n.visibleState?"addClass":"removeClass";n.element[i]("dx-scrollview-pull-down-text-visible")}))}update(){super.update(),this._setTopPocketOffset()}_updateDimensions(){super._updateDimensions(),this._topPocketSize=this._$topPocket.get(0).clientHeight;const e=this._$scrollViewContent.get(0),t=this._$container.get(0);this._bottomBoundary=Math.max(e.clientHeight-t.clientHeight,0)}_allowedDirections(){const e=super._allowedDirections();return e.vertical=e.vertical||this._pullDownEnabled,e}_setTopPocketOffset(){this._$topPocket.css({top:-this._topPocketSize})}handleEnd(){super.handleEnd(),this._complete()}handleStop(){super.handleStop(),this._complete()}_complete(){1===this._state&&(this._setPullDownOffset(this._topPocketSize),clearTimeout(this._pullDownRefreshTimeout),this._pullDownRefreshTimeout=setTimeout((()=>{this._pullDownRefreshing()}),400))}_setPullDownOffset(e){(0,i.move)(this._$topPocket,{top:e}),(0,i.move)(this._$scrollViewContent,{top:e})}handleScroll(e){if(super.handleScroll(e),2===this._state)return;const t=this.location().top,n=(this._location||0)-t;this._location=t,this._isPullDown()?this._pullDownReady():n>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}_isPullDown(){return this._pullDownEnabled&&this._location>=this._topPocketSize}_isReachBottom(){return this._reachBottomEnabled&&this.isBottomReached()}isBottomReached(){return Math.round(this._bottomBoundary+Math.floor(this._location))<=1}_reachBottom(){3!==this._state&&(this._state=3,this.reachBottomCallbacks.fire())}_pullDownReady(){1!==this._state&&(this._state=1,this._$pullDown.addClass(h),this._refreshPullDownText())}_stateReleased(){0!==this._state&&(this._$pullDown.removeClass(d).removeClass(h),this._releaseState())}_pullDownRefreshing(){2!==this._state&&(this._state=2,this._$pullDown.addClass(d).removeClass(h),this._refreshPullDownText(),this.pullDownCallbacks.fire())}pullDownEnable(e){e&&(this._updateDimensions(),this._setTopPocketOffset()),this._pullDownEnabled=e}reachBottomEnable(e){this._reachBottomEnabled=e}pendingRelease(){this._state=1}release(){const e=(0,a.Deferred)();return this._updateDimensions(),clearTimeout(this._releaseTimeout),3===this._state&&(this._state=0),this._releaseTimeout=setTimeout((()=>{this._setPullDownOffset(0),this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()}),400),e.promise()}dispose(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),super.dispose()}}t.default=f},14286:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(88603),o=n(98834),r=d(n(64553)),a=d(n(84718)),s=n(87739),l=n(57653),c=d(n(11979)),u=d(n(97265));function d(e){return e&&e.__esModule?e:{default:e}}const h="dx-scrollview-pull-down-loading";class f extends u.default{_init(e){super._init(e),this._$topPocket=e._$topPocket,this._$pullDown=e._$pullDown,this._$scrollViewContent=(0,r.default)(e.content()),this._$container=(0,r.default)(e.container()),this._initCallbacks(),this._location=0}_initCallbacks(){this.pullDownCallbacks=(0,a.default)(),this.releaseCallbacks=(0,a.default)(),this.reachBottomCallbacks=(0,a.default)()}render(){super.render(),this._renderPullDown(),this._releaseState()}_renderPullDown(){const e=(0,r.default)("<div>").addClass("dx-scrollview-pull-down-indicator"),t=new c.default((0,r.default)("<div>")).$element();this._$icon=(0,r.default)("<div>").addClass("dx-icon-pulldown"),this._$pullDown.empty().append(this._$icon).append(e.append(t))}_releaseState(){this._state=0,this._releasePullDown(),this._updateDimensions()}_releasePullDown(){this._$pullDown.css({opacity:0})}_updateDimensions(){super._updateDimensions(),this._topPocketSize=this._$topPocket.get(0).clientHeight;const e=this._$scrollViewContent.get(0),t=this._$container.get(0);this._bottomBoundary=Math.max(e.clientHeight-t.clientHeight,0)}_allowedDirections(){const e=super._allowedDirections();return e.vertical=e.vertical||this._pullDownEnabled,e}handleInit(e){super.handleInit(e),0===this._state&&0===this._location&&(this._startClientY=(0,o.eventData)(e.originalEvent).y,this._state=4)}handleMove(e){super.handleMove(e),this._deltaY=(0,o.eventData)(e.originalEvent).y-this._startClientY,4===this._state&&(this._pullDownEnabled&&this._deltaY>0?this._state=5:this._complete()),5===this._state&&(e.preventDefault(),this._movePullDown())}_movePullDown(){const e=this._getPullDownHeight(),t=Math.min(3*e,this._deltaY+this._getPullDownStartPosition()),n=180*t/e/3;this._$pullDown.css({opacity:1}).toggleClass("dx-scrollview-pull-down-refreshing",t<e),(0,i.move)(this._$pullDown,{top:t}),this._$icon.css({transform:`rotate(${n}deg)`})}_isPullDown(){return this._pullDownEnabled&&5===this._state&&this._deltaY>=this._getPullDownHeight()-this._getPullDownStartPosition()}_getPullDownHeight(){return Math.round(.05*(0,l.getOuterHeight)(this._$element))}_getPullDownStartPosition(){return-Math.round(1.5*(0,l.getOuterHeight)(this._$pullDown))}handleEnd(){this._isPullDown()&&this._pullDownRefreshing(),this._complete()}handleStop(){this._complete()}_complete(){4!==this._state&&5!==this._state||this._releaseState()}handleScroll(e){if(super.handleScroll(e),2===this._state)return;const t=this.location().top,n=this._location-t;this._location=t,n>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}_isReachBottom(){return this._reachBottomEnabled&&this.isBottomReached()}isBottomReached(){return Math.round(this._bottomBoundary+Math.floor(this._location))<=1}_reachBottom(){this.reachBottomCallbacks.fire()}_stateReleased(){0!==this._state&&(this._$pullDown.removeClass(h),this._releaseState())}_pullDownRefreshing(){this._state=2,this._pullDownRefreshHandler()}_pullDownRefreshHandler(){this._refreshPullDown(),this.pullDownCallbacks.fire()}_refreshPullDown(){this._$pullDown.addClass(h),(0,i.move)(this._$pullDown,{top:this._getPullDownHeight()})}pullDownEnable(e){this._$topPocket.toggle(e),this._pullDownEnabled=e}reachBottomEnable(e){this._reachBottomEnabled=e}pendingRelease(){this._state=1}release(){const e=(0,s.Deferred)();return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout((()=>{this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()}),800),e.promise()}dispose(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),super.dispose()}}t.default=f},94492:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ScrollViewScroller=void 0;var i=u(n(64553)),o=u(n(84718)),r=n(17781),a=n(21274),s=n(57653),l=u(n(11979)),c=n(74638);function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},d.apply(null,arguments)}const h="dx-scrollview-pull-down-loading",f="dx-scrollview-pull-down-ready";class p extends c.Scroller{ctor(){this._topPocketSize=0,this._bottomPocketSize=0,super.ctor.apply(this,arguments),this._initCallbacks(),this._releaseState()}_releaseState(){this._state=0,this._refreshPullDownText()}_refreshPullDownText(){const e=this,t=[{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}];(0,a.each)(t,((t,n)=>{const i=e._state===n.visibleState?"addClass":"removeClass";n.element[i]("dx-scrollview-pull-down-text-visible")}))}_initCallbacks(){this.pullDownCallbacks=(0,o.default)(),this.releaseCallbacks=(0,o.default)(),this.reachBottomCallbacks=(0,o.default)()}_updateBounds(){if("horizontal"!==this._direction){this._topPocketSize=this._$topPocket.get(0).clientHeight,this._bottomPocketSize=this._$bottomPocket.get(0).clientHeight;const e=this._$container.get(0),t=this._$content.get(0);this._bottomBoundary=Math.max(t.clientHeight-this._bottomPocketSize-e.clientHeight,0)}super._updateBounds()}_updateScrollbar(){this._scrollbar.option({containerSize:this._containerSize(),contentSize:this._contentSize()-this._topPocketSize-this._bottomPocketSize,scaleRatio:this._getScaleRatio()})}_moveContent(){super._moveContent(),this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottomReady():0!==this._state&&this._stateReleased()}_moveScrollbar(){this._scrollbar.moveTo(this._topPocketSize+this._location)}_isPullDown(){return this._pullDownEnabled&&this._location>=0}_isReachBottom(){return this._reachBottomEnabled&&this.isBottomReached()}isBottomReached(){const e=this._$container.get(0);return Math.round(this._bottomBoundary-Math.ceil(e.scrollTop))<=1}_scrollComplete(){this._inBounds()&&1===this._state?this._pullDownRefreshing():this._inBounds()&&3===this._state?this._reachBottomLoading():super._scrollComplete()}_reachBottomReady(){3!==this._state&&(this._state=3,this._minOffset=this._getMinOffset())}_getMaxOffset(){return-this._topPocketSize}_getMinOffset(){return Math.min(super._getMinOffset(),-this._topPocketSize)}_reachBottomLoading(){this.reachBottomCallbacks.fire()}_pullDownReady(){1!==this._state&&(this._state=1,this._maxOffset=0,this._$pullDown.addClass(f),this._refreshPullDownText())}_stateReleased(){0!==this._state&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass(h).removeClass(f),this.releaseCallbacks.fire())}_pullDownRefreshing(){2!==this._state&&(this._state=2,this._$pullDown.addClass(h).removeClass(f),this._refreshPullDownText(),this.pullDownCallbacks.fire())}_releaseHandler(){var e;return 0===this._state&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=(0,r.executeAsync)(this._release.bind(this)),null===(e=this._releaseTask)||void 0===e?void 0:e.promise}_release(){this._stateReleased(),this._scrollComplete()}_reachBottomEnablingHandler(e){this._reachBottomEnabled!==e&&(this._reachBottomEnabled=e,this._updateBounds())}_pullDownEnablingHandler(e){this._pullDownEnabled!==e&&(this._pullDownEnabled=e,this._considerTopPocketChange(),this._updateHandler())}_considerTopPocketChange(){this._location-=(0,s.getHeight)(this._$topPocket)||-this._topPocketSize,this._maxOffset=0,this._move()}_pendingReleaseHandler(){this._state=1}dispose(){this._releaseTask&&this._releaseTask.abort(),super.dispose()}}t.ScrollViewScroller=p;class g extends c.SimulatedStrategy{_init(e){super._init(e),this._$pullDown=e._$pullDown,this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._initCallbacks()}_initCallbacks(){this.pullDownCallbacks=(0,o.default)(),this.releaseCallbacks=(0,o.default)(),this.reachBottomCallbacks=(0,o.default)()}render(){this._renderPullDown(),super.render()}_renderPullDown(){const e=(0,i.default)("<div>").addClass("dx-scrollview-pull-down-image"),t=(0,i.default)("<div>").addClass("dx-scrollview-pull-down-indicator"),n=new l.default((0,i.default)("<div>")).$element(),o=this._$pullDownText=(0,i.default)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,i.default)("<div>").text(this.option("pullingDownText")).appendTo(o),this._$pulledDownText=(0,i.default)("<div>").text(this.option("pulledDownText")).appendTo(o),this._$refreshingText=(0,i.default)("<div>").text(this.option("refreshingText")).appendTo(o),this._$pullDown.empty().append(e).append(t.append(n)).append(o)}pullDownEnable(e){this._eventHandler("pullDownEnabling",e)}reachBottomEnable(e){this._eventHandler("reachBottomEnabling",e)}_createScroller(e){const t=this,n=t._scrollers[e]=new p(t._scrollerOptions(e));n.pullDownCallbacks.add((()=>{t.pullDownCallbacks.fire()})),n.releaseCallbacks.add((()=>{t.releaseCallbacks.fire()})),n.reachBottomCallbacks.add((()=>{t.reachBottomCallbacks.fire()}))}_scrollerOptions(e){return d({},super._scrollerOptions(e),{$topPocket:this._$topPocket,$bottomPocket:this._$bottomPocket,$pullDown:this._$pullDown,$pullDownText:this._$pullDownText,$pullingDownText:this._$pullingDownText,$pulledDownText:this._$pulledDownText,$refreshingText:this._$refreshingText})}pendingRelease(){this._eventHandler("pendingRelease")}release(){return this._eventHandler("release").done(this._updateAction)}location(){const e=super.location();return e.top+=(0,s.getHeight)(this._$topPocket),e}isBottomReached(){return this._scrollers.vertical.isBottomReached()}dispose(){(0,a.each)(this._scrollers,(function(){this.dispose()})),super.dispose()}}t.default=g},65180:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.deviceDependentOptions=void 0;var i=r(n(65951)),o=r(n(85991));function r(e){return e&&e.__esModule?e:{default:e}}t.deviceDependentOptions=function(){return[{device:()=>!o.default.nativeScrolling,options:{useNative:!1}},{device:e=>!i.default.isSimulator()&&"desktop"===i.default.real().deviceType&&"generic"===e.platform,options:{bounceEnabled:!1,scrollByThumb:!0,scrollByContent:o.default.touch,showScrollbar:"onHover"}}]}},94790:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=C(n(92774)),o=C(n(86548)),r=n(98834),a=C(n(92848)),s=C(n(65951)),l=n(61404),c=C(n(64553)),u=C(n(48314)),d=n(17781),h=n(87739),f=n(57653),p=n(11528),g=n(3104),_=C(n(22331)),m=n(62504),v=C(n(85991)),b=n(65180),y=C(n(97265)),x=n(74638);function C(e){return e&&e.__esModule?e:{default:e}}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S.apply(null,arguments)}const w="dxScrollable",E="dx-scrollable",T="dx-scrollable-content",A="vertical",O="horizontal",k="both";class D extends _.default{_getDefaultOptions(){return S({},super._getDefaultOptions(),{disabled:!1,onScroll:null,direction:A,showScrollbar:"onScroll",useNative:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,onUpdated:null,onStart:null,onEnd:null,onBounce:null,useSimulatedScrollbar:!1,useKeyboard:!0,inertiaEnabled:!0,updateManually:!1,_onVisibilityChanged:d.noop})}_defaultOptionsRules(){return super._defaultOptionsRules().concat((0,b.deviceDependentOptions)(),[{device:()=>v.default.nativeScrolling&&"android"===s.default.real().platform&&!u.default.mozilla,options:{useSimulatedScrollbar:!0}}])}_initOptions(e){super._initOptions(e),"useSimulatedScrollbar"in e||this._setUseSimulatedScrollbar()}_setUseSimulatedScrollbar(){this.initialOption("useSimulatedScrollbar")||this.option("useSimulatedScrollbar",!this.option("useNative"))}_init(){super._init(),this._initScrollableMarkup(),this._locked=!1}_visibilityChanged(e){if(e){this.update(),this._updateRtlPosition(),this._savedScrollOffset&&this.scrollTo(this._savedScrollOffset),delete this._savedScrollOffset;const{_onVisibilityChanged:e}=this.option();null==e||e(this)}else this._savedScrollOffset=this.scrollOffset()}_initScrollableMarkup(){const e=this.$element().addClass(E),t=(0,c.default)("<div>").addClass("dx-scrollable-container"),n=(0,c.default)("<div>").addClass("dx-scrollable-wrapper"),i=(0,c.default)("<div>").addClass(T);this._$container=t,this._$wrapper=n,this._$content=i,i.append(e.contents()).appendTo(t),t.appendTo(n),n.appendTo(e)}_dimensionChanged(){this.update(),this._updateRtlPosition()}_initMarkup(){super._initMarkup(),this._renderDirection()}_render(){this._renderStrategy(),this._attachEventHandlers(),this._renderDisabledState(),this._createActions(),this.update(),super._render(),this._updateRtlPosition(!0)}_updateRtlPosition(e){this._strategy.updateRtlPosition(e)}_getMaxOffset(){const{scrollWidth:e,clientWidth:t,scrollHeight:n,clientHeight:i}=(0,c.default)(this.container()).get(0);return{left:e-t,top:n-i}}_attachEventHandlers(){const e=this._strategy,t={getDirection:e.getDirection.bind(e),validate:this._validate.bind(this),isNative:this.option("useNative"),scrollTarget:this._$container};i.default.off(this._$wrapper,`.${w}`),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.init,w),t,this._initHandler.bind(this)),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.start,w),e.handleStart.bind(e)),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.move,w),e.handleMove.bind(e)),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.end,w),e.handleEnd.bind(e)),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.cancel,w),e.handleCancel.bind(e)),i.default.on(this._$wrapper,(0,r.addNamespace)(o.default.stop,w),e.handleStop.bind(e)),i.default.off(this._$container,`.${w}`),i.default.on(this._$container,(0,r.addNamespace)("scroll",w),e.handleScroll.bind(e))}_validate(e){return!this._isLocked()&&(this._updateIfNeed(),this._moveIsAllowed(e))}_moveIsAllowed(e){return this._strategy.validate(e)}handleMove(e){this._strategy.handleMove(e)}_prepareDirections(e){this._strategy._prepareDirections(e)}_initHandler(){const e=this._strategy;e.handleInit.apply(e,arguments)}_renderDisabledState(){const{disabled:e}=this.option();this.$element().toggleClass("dx-scrollable-disabled",e),this.option("disabled")?this._lock():this._unlock()}_renderDirection(){const{direction:e}=this.option();this.$element().removeClass(`dx-scrollable-${O}`).removeClass(`dx-scrollable-${A}`).removeClass(`dx-scrollable-${k}`).addClass(`dx-scrollable-${e}`)}_renderStrategy(){this._createStrategy(),this._strategy.render(),this.$element().data("dxScrollableStrategy",this._strategy)}_createStrategy(){this._strategy=this.option("useNative")?new y.default(this):new x.SimulatedStrategy(this)}_createActions(){var e;null===(e=this._strategy)||void 0===e||e.createActions()}_clean(){var e;null===(e=this._strategy)||void 0===e||e.dispose()}_optionChanged(e){var t;switch(e.name){case"onStart":case"onEnd":case"onUpdated":case"onScroll":case"onBounce":this._createActions();break;case"direction":this._resetInactiveDirection(),this._invalidate();break;case"useNative":this._setUseSimulatedScrollbar(),this._invalidate();break;case"inertiaEnabled":case"scrollByThumb":case"bounceEnabled":case"useKeyboard":case"showScrollbar":case"useSimulatedScrollbar":this._invalidate();break;case"disabled":this._renderDisabledState(),null===(t=this._strategy)||void 0===t||t.disabledChanged();break;case"updateManually":case"scrollByContent":case"_onVisibilityChanged":break;case"width":super._optionChanged(e),this._updateRtlPosition();break;default:super._optionChanged(e)}}_resetInactiveDirection(){const e=this._getInactiveProp();if(!e||!(0,g.hasWindow)())return;const t=this.scrollOffset();t[e]=0,this.scrollTo(t)}_getInactiveProp(){const{direction:e}=this.option();return e===A?"left":e===O?"top":void 0}_location(){return this._strategy.location()}_normalizeLocation(e){if((0,p.isPlainObject)(e)){const t=(0,d.ensureDefined)(e.left,e.x),n=(0,d.ensureDefined)(e.top,e.y);return{left:(0,p.isDefined)(t)?-t:void 0,top:(0,p.isDefined)(n)?-n:void 0}}const{direction:t}=this.option();return{left:t!==A?-e:void 0,top:t!==O?-e:void 0}}_isLocked(){return this._locked}_lock(){this._locked=!0}_unlock(){this.option("disabled")||(this._locked=!1)}_isDirection(e){const{direction:t}=this.option();return e===A?t!==O:e===O?t!==A:t===e}_updateAllowedDirection(){const e=this._strategy._allowedDirections();this._isDirection(k)&&e.vertical&&e.horizontal?this._allowedDirectionValue=k:this._isDirection(O)&&e.horizontal?this._allowedDirectionValue=O:this._isDirection(A)&&e.vertical?this._allowedDirectionValue=A:this._allowedDirectionValue=null}_allowedDirection(){return this._allowedDirectionValue}$content(){return this._$content}content(){return(0,l.getPublicElement)(this._$content)}container(){return(0,l.getPublicElement)(this._$container)}scrollOffset(){return this._strategy._getScrollOffset()}_isRtlNativeStrategy(){const{useNative:e,rtlEnabled:t}=this.option();return e&&t}scrollTop(){return this.scrollOffset().top}scrollLeft(){return this.scrollOffset().left}clientHeight(){return(0,f.getHeight)(this._$container)}scrollHeight(){return(0,f.getOuterHeight)(this.$content())}clientWidth(){return(0,f.getWidth)(this._$container)}scrollWidth(){return(0,f.getOuterWidth)(this.$content())}update(){if(this._strategy)return(0,h.when)(this._strategy.update()).done((()=>{this._updateAllowedDirection()}))}scrollBy(e){((e=this._normalizeLocation(e)).top||e.left)&&(this._updateIfNeed(),this._strategy.scrollBy(e))}scrollTo(e){if(!(0,g.hasWindow)())return;e=this._normalizeLocation(e),this._updateIfNeed();let t=this._location();const{useNative:n}=this.option();if(!n){const n=this._strategy;e=n._applyScaleRatio(e),t=n._applyScaleRatio(t)}this._isRtlNativeStrategy()&&(t.left-=this._getMaxOffset().left);const i=this._normalizeLocation({left:t.left-(0,d.ensureDefined)(e.left,t.left),top:t.top-(0,d.ensureDefined)(e.top,t.top)});(i.top||i.left)&&this._strategy.scrollBy(i)}scrollToElement(e,t){const n=(0,c.default)(e),i=this.$content().find(e).length,o=n.parents(`.${E}`).length-n.parents(`.${T}`).length==0;if(!i||!o)return;const r={top:0,left:0},{direction:a}=this.option();a!==A&&(r.left=this.getScrollElementPosition(n,O,t)),a!==O&&(r.top=this.getScrollElementPosition(n,A,t)),this.scrollTo(r)}getScrollElementPosition(e,t,n){const i=this.scrollOffset();return(0,m.getElementLocationInternal)(e.get(0),t,(0,c.default)(this.container()).get(0),i,n)}_updateIfNeed(){this.option("updateManually")||this.update()}_useTemplates(){return!1}isRenovated(){return!!D.IS_RENOVATED_WIDGET}}(0,a.default)(w,D);t.default=D},97265:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(n(92774)),o=n(98834),r=d(n(55620)),a=d(n(65951)),s=d(n(64553)),l=n(21274),c=n(57653),u=d(n(86853));function d(e){return e&&e.__esModule?e:{default:e}}const h="dxNativeScrollable",f="dx-scrollable-native",p="vertical",g="horizontal";class _ extends(r.default.inherit({})){ctor(e){this._init(e)}_init(e){this._component=e,this._$element=e.$element(),this._$container=(0,s.default)(e.container()),this._$content=e.$content();const{direction:t,useSimulatedScrollbar:n}=e.option();this._direction=t,this._useSimulatedScrollbar=n,this.option=e.option.bind(e),this._createActionByOption=e._createActionByOption.bind(e),this._isLocked=e._isLocked.bind(e),this._isDirection=e._isDirection.bind(e),this._allowedDirection=e._allowedDirection.bind(e),this._getMaxOffset=e._getMaxOffset.bind(e),this._isRtlNativeStrategy=e._isRtlNativeStrategy.bind(e)}render(){const e=a.default.real().platform;this._$element.addClass(f).addClass(`${f}-${e}`).toggleClass("dx-scrollable-scrollbars-hidden",!this._isScrollbarVisible()),this._isScrollbarVisible()&&this._useSimulatedScrollbar&&this._renderScrollbars()}updateRtlPosition(e){e&&this.option("rtlEnabled")&&this._isScrollbarVisible()&&this._useSimulatedScrollbar&&this._moveScrollbars()}_renderScrollbars(){this._scrollbars={},this._hideScrollbarTimeout=0,this._$element.addClass("dx-scrollable-scrollbar-simulated"),this._renderScrollbar(p),this._renderScrollbar(g)}_renderScrollbar(e){this._isDirection(e)&&(this._scrollbars[e]=new u.default((0,s.default)("<div>").appendTo(this._$element),{direction:e,expandable:this._component.option("scrollByThumb")}))}handleInit(e){}handleStart(){}handleMove(e){this._isLocked()?e.cancel=!0:this._allowedDirection()&&(e.originalEvent.isScrollingEvent=!0)}handleEnd(){}handleCancel(){}handleStop(){}_eachScrollbar(e){e=e.bind(this),(0,l.each)(this._scrollbars||{},((t,n)=>{e(n,t)}))}createActions(){this._scrollAction=this._createActionByOption("onScroll"),this._updateAction=this._createActionByOption("onUpdated")}_createActionArgs(){const{left:e,top:t}=this.location();return{event:this._eventForUserAction,scrollOffset:this._getScrollOffset(),reachedLeft:this._isRtlNativeStrategy()?this._isReachedRight(-e):this._isReachedLeft(e),reachedRight:this._isRtlNativeStrategy()?this._isReachedLeft(-Math.abs(e)):this._isReachedRight(e),reachedTop:this._isDirection(p)?Math.round(t)>=0:void 0,reachedBottom:this._isDirection(p)?Math.round(Math.abs(t)-this._getMaxOffset().top)>=0:void 0}}_getScrollOffset(){const{top:e,left:t}=this.location();return{top:-e,left:this._normalizeOffsetLeft(-t)}}_normalizeOffsetLeft(e){return this._isRtlNativeStrategy()?this._getMaxOffset().left+e:e}_isReachedLeft(e){return this._isDirection(g)?Math.round(e)>=0:void 0}_isReachedRight(e){return this._isDirection(g)?Math.round(Math.abs(e)-this._getMaxOffset().left)>=0:void 0}_isScrollbarVisible(){const{showScrollbar:e}=this.option();return"never"!==e&&!1!==e}handleScroll(e){var t;this._eventForUserAction=e,this._moveScrollbars(),null===(t=this._scrollAction)||void 0===t||t.call(this,this._createActionArgs())}_moveScrollbars(){const{top:e,left:t}=this._getScrollOffset();this._eachScrollbar((n=>{n.moveTo({top:-e,left:-t}),n.option("visible",!0)})),this._hideScrollbars()}_hideScrollbars(){clearTimeout(this._hideScrollbarTimeout),this._hideScrollbarTimeout=setTimeout((()=>{this._eachScrollbar((e=>{e.option("visible",!1)}))}),500)}location(){return{left:-this._$container.scrollLeft(),top:-this._$container.scrollTop()}}disabledChanged(){}update(){this._update(),this._updateAction(this._createActionArgs())}_update(){this._updateDimensions(),this._updateScrollbars()}_updateDimensions(){this._containerSize={height:(0,c.getHeight)(this._$container),width:(0,c.getWidth)(this._$container)},this._componentContentSize={height:(0,c.getHeight)(this._component.$content()),width:(0,c.getWidth)(this._component.$content())},this._contentSize={height:(0,c.getHeight)(this._$content),width:(0,c.getWidth)(this._$content)}}_updateScrollbars(){this._eachScrollbar((function(e,t){const n=t===p?"height":"width";e.option({containerSize:this._containerSize[n],contentSize:this._componentContentSize[n]}),e.update()}))}_allowedDirections(){return{vertical:this._isDirection(p)&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection(g)&&this._contentSize.width>this._containerSize.width}}dispose(){const{className:e}=this._$element.get(0),t=new RegExp(`${f}\\S*`,"g");t.test(e)&&this._$element.removeClass(e.match(t).join(" ")),i.default.off(this._$element,`.${h}`),i.default.off(this._$container,`.${h}`),this._removeScrollbars(),clearTimeout(this._hideScrollbarTimeout)}_removeScrollbars(){this._eachScrollbar((e=>{e.$element().remove()}))}scrollBy(e){const t=this.location();this._$container.scrollTop(Math.round(-t.top-e.top)),this._$container.scrollLeft(Math.round(-t.left-e.left))}validate(e){const{disabled:t}=this.option();return!t&&((!(0,o.isDxMouseWheelEvent)(e)||!this._isScrolledInMaxDirection(e))&&!!this._allowedDirection())}_isScrolledInMaxDirection(e){const t=this._$container.get(0);let n;return n=e.delta>0?e.shiftKey?!t.scrollLeft:!t.scrollTop:e.shiftKey?t.scrollLeft>=this._getMaxOffset().left:t.scrollTop>=this._getMaxOffset().top,n}getDirection(){return this._allowedDirection()}}t.default=_},74638:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SimulatedStrategy=t.Scroller=void 0;var i=n(88603),o=y(n(92774)),r=n(98834),a=y(n(55620)),s=y(n(64960)),l=y(n(64553)),c=n(17781),u=n(87739),d=n(52576),h=n(53124),f=n(21274),p=n(41639),g=n(57653),_=n(11528),m=n(3104),v=y(n(99762)),b=y(n(86853));function y(e){return e&&e.__esModule?e:{default:e}}const x="dxSimulatedScrollable",C=`${x}Cursor`,S=`${x}Keyboard`,w="dx-scrollable-simulated",E="vertical",T="horizontal",A=.92,O=Math.round(1e3/60),k=(1-A**(400/O))/(1-A),D="pageUp",L="pageDown",P="end",M="home",R="leftArrow",I="upArrow",B="rightArrow",V="downArrow",F="tab";class H extends v.default{constructor(){super(...arguments),this.VELOCITY_LIMIT=1}ctor(e){super.ctor(),this.scroller=e}_isFinished(){return Math.abs(this.scroller._velocity)<=this.VELOCITY_LIMIT}_step(){this.scroller._scrollStep(this.scroller._velocity),this.scroller._velocity*=this._acceleration()}_acceleration(){return this.scroller._inBounds()?A:.5}_complete(){this.scroller._scrollComplete()}}class N extends H{constructor(){super(...arguments),this.VELOCITY_LIMIT=.2}_isFinished(){return this.scroller._crossBoundOnNextStep()||super._isFinished()}_acceleration(){return A}_complete(){this.scroller._move(this.scroller._bounceLocation),super._complete()}}class z extends(a.default.inherit({})){ctor(e){this._initOptions(e),this._initAnimators(),this._initScrollbar()}_initOptions(e){this._location=0,this._topReached=!1,this._bottomReached=!1,this._axis=e.direction===T?"x":"y",this._prop=e.direction===T?"left":"top",this._dimension=e.direction===T?"width":"height",this._scrollProp=e.direction===T?"scrollLeft":"scrollTop",(0,f.each)(e,((e,t)=>{this[`_${e}`]=t}))}_initAnimators(){this._inertiaAnimator=new H(this),this._bounceAnimator=new N(this)}_initScrollbar(){this._scrollbar=new b.default((0,l.default)("<div>").appendTo(this._$container),{direction:this._direction,visible:this._scrollByThumb,visibilityMode:this._visibilityModeNormalize(this._scrollbarVisible),expandable:this._scrollByThumb}),this._$scrollbar=this._scrollbar.$element()}_visibilityModeNormalize(e){return!0===e?"onScroll":!1===e?"never":e}_scrollStep(e){const t=this._location;this._location+=e,this._suppressBounce(),this._move(),Math.abs(t-this._location)<1||o.default.triggerHandler(this._$container,{type:"scroll"})}_suppressBounce(){this._bounceEnabled||this._inBounds(this._location)||(this._velocity=0,this._location=this._boundLocation())}_boundLocation(e){return e=void 0!==e?e:this._location,Math.max(Math.min(e,this._maxOffset),this._minOffset)}_move(e){this._location=void 0!==e?e*this._getScaleRatio():this._location,this._moveContent(),this._moveScrollbar()}_moveContent(){const e=this._location;this._$container[this._scrollProp](-e/this._getScaleRatio()),this._moveContentByTranslator(e)}_getScaleRatio(){if((0,m.hasWindow)()&&!this._scaleRatio){const e=this._$element.get(0),t=this._getRealDimension(e,this._dimension),n=this._getBaseDimension(e,this._dimension);this._scaleRatio=Math.round(t/n*100)/100}return this._scaleRatio||1}_getRealDimension(e,t){return Math.round((0,p.getBoundingRect)(e)[t])}_getBaseDimension(e,t){return e[`offset${(0,h.titleize)(t)}`]}_moveContentByTranslator(e){let t;const n=-this._maxScrollPropValue;if(e>0&&(t=e),e<=n&&(t=e-n),this._translateOffset===t)return;const o={};o[this._prop]=t,this._translateOffset=t,t?(0,i.move)(this._$content,o):(0,i.resetPosition)(this._$content)}_moveScrollbar(){this._scrollbar.moveTo(this._location)}_scrollComplete(){this._inBounds()&&(this._hideScrollbar(),this._completeDeferred&&this._completeDeferred.resolve()),this._scrollToBounds()}_scrollToBounds(){var e;this._inBounds()||(null===(e=this._bounceAction)||void 0===e||e.call(this),this._setupBounce(),this._bounceAnimator.start())}_setupBounce(){const e=(this._bounceLocation=this._boundLocation())-this._location;this._velocity=e/k}_inBounds(e){return e=void 0!==e?e:this._location,this._boundLocation(e)===e}_crossBoundOnNextStep(){const e=this._location,t=e+this._velocity;return e<this._minOffset&&t>=this._minOffset||e>this._maxOffset&&t<=this._maxOffset}_initHandler(e){this._stopScrolling(),this._prepareThumbScrolling(e)}_stopScrolling(){(0,c.deferRenderer)((()=>{this._hideScrollbar(),this._inertiaAnimator.stop(),this._bounceAnimator.stop()}))()}_prepareThumbScrolling(e){if((0,r.isDxMouseWheelEvent)(e.originalEvent))return;const t=(0,l.default)(e.originalEvent.target),n=this._isScrollbar(t);n&&this._moveToMouseLocation(e),this._thumbScrolling=n||this._isThumb(t),this._crossThumbScrolling=!this._thumbScrolling&&this._isAnyThumbScrolling(t),this._thumbScrolling&&this._scrollbar.feedbackOn()}_isThumbScrollingHandler(e){return this._isThumb(e)}_moveToMouseLocation(e){const t=e[`page${this._axis.toUpperCase()}`]-this._$element.offset()[this._prop],n=this._location+t/this._containerToContentRatio()-(0,g.getHeight)(this._$container)/2;this._scrollStep(-Math.round(n))}_startHandler(){this._showScrollbar()}_moveHandler(e){this._crossThumbScrolling||(this._thumbScrolling&&(e[this._axis]=-Math.round(e[this._axis]/this._containerToContentRatio())),this._scrollBy(e))}_scrollBy(e){e=e[this._axis],this._inBounds()||(e*=.5),this._scrollStep(e)}_scrollByHandler(e){(e.x||e.y)&&(this._scrollBy(e),this._scrollComplete())}_containerToContentRatio(){return this._scrollbar.containerToContentRatio()}_endHandler(e){return this._completeDeferred=(0,u.Deferred)(),this._velocity=e[this._axis],this._inertiaHandler(),this._resetThumbScrolling(),this._completeDeferred.promise()}_inertiaHandler(){this._suppressInertia(),this._inertiaAnimator.start()}_suppressInertia(){this._inertiaEnabled&&!this._thumbScrolling||(this._velocity=0)}_resetThumbScrolling(){this._thumbScrolling=!1,this._crossThumbScrolling=!1}_stopHandler(){this._thumbScrolling&&this._scrollComplete(),this._resetThumbScrolling(),this._scrollToBounds()}_disposeHandler(){this._stopScrolling(),this._$scrollbar.remove()}_updateHandler(){this._update(),this._moveToBounds()}_update(){return this._stopScrolling(),(0,c.deferUpdate)((()=>{this._resetScaleRatio(),this._updateLocation(),this._updateBounds(),this._updateScrollbar(),(0,c.deferRender)((()=>{this._moveScrollbar(),this._scrollbar.update()}))}))}_resetScaleRatio(){this._scaleRatio=null}_updateLocation(){this._location=((0,i.locate)(this._$content)[this._prop]-this._$container[this._scrollProp]())*this._getScaleRatio()}_updateBounds(){this._maxOffset=this._getMaxOffset(),this._minOffset=this._getMinOffset()}_getMaxOffset(){return 0}_getMinOffset(){return this._maxScrollPropValue=Math.max(this._contentSize()-this._containerSize(),0),-this._maxScrollPropValue}_updateScrollbar(){(0,c.deferUpdater)((()=>{const e=this._containerSize(),t=this._contentSize(),n=this._getBaseDimension(this._$container.get(0),this._dimension),i=this._getBaseDimension(this._$content.get(0),this._dimension);(0,c.deferRender)((()=>{this._scrollbar.option({containerSize:e,contentSize:t,baseContainerSize:n,baseContentSize:i,scaleRatio:this._getScaleRatio()})}))}))()}_moveToBounds(){(0,c.deferRenderer)((0,c.deferUpdater)((0,c.deferRenderer)((()=>{const e=this._boundLocation(),t=e!==this._location;var n;(this._location=e,this._move(),t)&&(null===(n=this._scrollAction)||void 0===n||n.call(this))}))))()}_createActionsHandler(e){this._scrollAction=e.scroll,this._bounceAction=e.bounce}_showScrollbar(){this._scrollbar.option("visible",!0)}_hideScrollbar(){this._scrollbar.option("visible",!1)}_containerSize(){return this._getRealDimension(this._$container.get(0),this._dimension)}_contentSize(){const e="hidden"===this._$content.css(`overflow${this._axis.toUpperCase()}`);let t=this._getRealDimension(this._$content.get(0),this._dimension);if(!e){const e=this._$content[0][`scroll${(0,h.titleize)(this._dimension)}`]*this._getScaleRatio();t=Math.max(e,t)}return t}_validateEvent(e){const t=(0,l.default)(e.originalEvent.target);return this._isThumb(t)||this._isScrollbar(t)}_isThumb(e){return this._scrollByThumb&&this._scrollbar.isThumb(e)}_isScrollbar(e){return this._scrollByThumb&&(null==e?void 0:e.is(this._$scrollbar))}_reachedMin(){return Math.round(this._location-this._minOffset)<=0}_reachedMax(){return Math.round(this._location-this._maxOffset)>=0}_cursorEnterHandler(){this._resetScaleRatio(),this._updateScrollbar(),this._scrollbar.cursorEnter()}_cursorLeaveHandler(){this._scrollbar.cursorLeave()}dispose(){}}let j,G;t.Scroller=z;class Z extends(a.default.inherit({})){ctor(e){this._init(e)}_init(e){this._component=e,this._$element=e.$element(),this._$container=(0,l.default)(e.container()),this._$wrapper=e._$wrapper,this._$content=e.$content(),this.option=e.option.bind(e),this._createActionByOption=e._createActionByOption.bind(e),this._isLocked=e._isLocked.bind(e),this._isDirection=e._isDirection.bind(e),this._allowedDirection=e._allowedDirection.bind(e),this._getMaxOffset=e._getMaxOffset.bind(e)}render(){this._$element.addClass(w),this._createScrollers(),this.option("useKeyboard")&&this._$container.prop("tabIndex",0),this._attachKeyboardHandler(),this._attachCursorHandlers()}_createScrollers(){this._scrollers={},this._isDirection(T)&&this._createScroller(T),this._isDirection(E)&&this._createScroller(E),this._$element.toggleClass("dx-scrollable-scrollbars-alwaysvisible","always"===this.option("showScrollbar"))}_createScroller(e){this._scrollers[e]=new z(this._scrollerOptions(e))}_scrollerOptions(e){return{direction:e,$content:this._$content,$container:this._$container,$wrapper:this._$wrapper,$element:this._$element,scrollByThumb:this.option("scrollByThumb"),scrollbarVisible:this.option("showScrollbar"),bounceEnabled:this.option("bounceEnabled"),inertiaEnabled:this.option("inertiaEnabled"),isAnyThumbScrolling:this._isAnyThumbScrolling.bind(this)}}_applyScaleRatio(e){for(const t in this._scrollers){const n=this._getPropByDirection(t);if((0,_.isDefined)(e[n])){const i=this._scrollers[t];e[n]*=i._getScaleRatio()}}return e}_isAnyThumbScrolling(e){let t=!1;return this._eventHandler("isThumbScrolling",e).done(((e,n)=>{t=e||n})),t}handleInit(e){this._suppressDirections(e),this._eventForUserAction=e,this._eventHandler("init",e)}_suppressDirections(e){(0,r.isDxMouseWheelEvent)(e.originalEvent)?this._prepareDirections(!0):(this._prepareDirections(),this._eachScroller((function(t,n){const i=(0,l.default)(e.originalEvent.target),o=t._validateEvent(e)||this.option("scrollByContent")&&this._isContent(i);this._validDirections[n]=o})))}_isContent(e){return!!e.closest(this._$element).length}_prepareDirections(e){e=e||!1,this._validDirections={},this._validDirections[T]=e,this._validDirections[E]=e}_eachScroller(e){e=e.bind(this),(0,f.each)(this._scrollers,((t,n)=>{e(n,t)}))}handleStart(e){this._eventForUserAction=e,this._eventHandler("start").done(this._startAction)}_saveActive(){G=this}_resetActive(){G===this&&(G=null)}handleMove(e){var t;if(this._isLocked())return e.cancel=!0,void this._resetActive();this._saveActive(),null===(t=e.preventDefault)||void 0===t||t.call(e),this._adjustDistance(e,e.delta),this._eventForUserAction=e,this._eventHandler("move",e.delta)}_adjustDistance(e,t){t.x*=this._validDirections[T],t.y*=this._validDirections[E];const n=this._tryGetDevicePixelRatio();n&&(0,r.isDxMouseWheelEvent)(e.originalEvent)&&(t.x=Math.round(t.x/n*100)/100,t.y=Math.round(t.y/n*100)/100)}_tryGetDevicePixelRatio(){if((0,m.hasWindow)())return(0,m.getWindow)().devicePixelRatio}handleEnd(e){var t;return this._resetActive(),this._refreshCursorState(null===(t=e.originalEvent)||void 0===t?void 0:t.target),this._adjustDistance(e,e.velocity),this._eventForUserAction=e,this._eventHandler("end",e.velocity).done(this._endAction)}handleCancel(e){return this._resetActive(),this._eventForUserAction=e,this._eventHandler("end",{x:0,y:0})}handleStop(){this._resetActive(),this._eventHandler("stop")}handleScroll(){var e;this._updateRtlConfig(),null===(e=this._scrollAction)||void 0===e||e.call(this)}_attachKeyboardHandler(){o.default.off(this._$element,`.${S}`),!this.option("disabled")&&this.option("useKeyboard")&&o.default.on(this._$element,(0,r.addNamespace)("keydown",S),this._keyDownHandler.bind(this))}_keyDownHandler(e){if(clearTimeout(this._updateHandlerTimeout),this._updateHandlerTimeout=setTimeout((()=>{(0,r.normalizeKeyName)(e)===F&&this._eachScroller((e=>{e._updateHandler()}))})),!this._$container.is(s.default.getActiveElement(this._$container.get(0))))return;let t=!0;switch((0,r.normalizeKeyName)(e)){case V:this._scrollByLine({y:1});break;case I:this._scrollByLine({y:-1});break;case B:this._scrollByLine({x:1});break;case R:this._scrollByLine({x:-1});break;case L:this._scrollByPage(1);break;case D:this._scrollByPage(-1);break;case M:this._scrollToHome();break;case P:this._scrollToEnd();break;default:t=!1}t&&(e.stopPropagation(),e.preventDefault())}_scrollByLine(e){const t=this._tryGetDevicePixelRatio();let n=40;t&&(n=Math.abs(n/t*100)/100),this.scrollBy({top:(e.y||0)*-n,left:(e.x||0)*-n})}_scrollByPage(e){const t=this._wheelProp(),n={},i="width"===this._dimensionByProp(t)?g.getWidth:g.getHeight;n[t]=e*-i(this._$container),this.scrollBy(n)}_dimensionByProp(e){return"left"===e?"width":"height"}_getPropByDirection(e){return e===T?"left":"top"}_scrollToHome(){const e={};e[this._wheelProp()]=0,this._component.scrollTo(e)}_scrollToEnd(){const e=this._wheelProp(),t={},n="width"===this._dimensionByProp(e)?g.getWidth:g.getHeight;t[e]=n(this._$content)-n(this._$container),this._component.scrollTo(t)}createActions(){this._startAction=this._createActionHandler("onStart"),this._endAction=this._createActionHandler("onEnd"),this._updateAction=this._createActionHandler("onUpdated"),this._createScrollerActions()}_createScrollerActions(){this._scrollAction=this._createActionHandler("onScroll"),this._bounceAction=this._createActionHandler("onBounce"),this._eventHandler("createActions",{scroll:this._scrollAction,bounce:this._bounceAction})}_createActionHandler(e){const t=this._createActionByOption(e);return()=>{t((0,d.extend)(this._createActionArgs(),arguments))}}_createActionArgs(){const{horizontal:e,vertical:t}=this._scrollers,n=this._getScrollOffset();return this._scrollOffset={top:t&&n.top,left:e&&n.left},{event:this._eventForUserAction,scrollOffset:this._scrollOffset,reachedLeft:null==e?void 0:e._reachedMax(),reachedRight:null==e?void 0:e._reachedMin(),reachedTop:null==t?void 0:t._reachedMax(),reachedBottom:null==t?void 0:t._reachedMin()}}_getScrollOffset(){return{top:-this.location().top,left:-this.location().left}}_eventHandler(e,t){const n=[].slice.call(arguments).slice(1),i=(0,f.map)(this._scrollers,(t=>t[`_${e}Handler`].apply(t,n)));return u.when.apply(l.default,i).promise()}location(){const e=(0,i.locate)(this._$content);return e.top-=this._$container.scrollTop(),e.left-=this._$container.scrollLeft(),e}disabledChanged(){this._attachCursorHandlers()}_attachCursorHandlers(){o.default.off(this._$element,`.${C}`),!this.option("disabled")&&this._isHoverMode()&&(o.default.on(this._$element,(0,r.addNamespace)("mouseenter",C),this._cursorEnterHandler.bind(this)),o.default.on(this._$element,(0,r.addNamespace)("mouseleave",C),this._cursorLeaveHandler.bind(this)))}_isHoverMode(){return"onHover"===this.option("showScrollbar")}_cursorEnterHandler(e){(e=e||{}).originalEvent=e.originalEvent||{},G||e.originalEvent._hoverHandled||(j&&j._cursorLeaveHandler(),j=this,this._eventHandler("cursorEnter"),e.originalEvent._hoverHandled=!0)}_cursorLeaveHandler(e){j===this&&G!==j&&(this._eventHandler("cursorLeave"),j=null,this._refreshCursorState(null==e?void 0:e.relatedTarget))}_refreshCursorState(e){if(!this._isHoverMode()&&(!e||G))return;const t=(0,l.default)(e).closest(`.${w}:not(.dx-state-disabled)`),n=t.length&&t.data("dxScrollableStrategy");j&&j!==n&&j._cursorLeaveHandler(),n&&n._cursorEnterHandler()}update(){const e=this._eventHandler("update").done(this._updateAction);return(0,u.when)(e,(0,c.deferUpdate)((()=>{const e=this._allowedDirections();return(0,c.deferRender)((()=>{let t=e.vertical?"pan-x":"";t=e.horizontal?"pan-y":t,t=e.vertical&&e.horizontal?"none":t,this._$container.css("touchAction",t)})),(0,u.when)().promise()})))}_allowedDirections(){const e=this.option("bounceEnabled"),t=this._scrollers[E],n=this._scrollers[T];return{vertical:t&&(t._minOffset<0||e),horizontal:n&&(n._minOffset<0||e)}}_updateBounds(){var e;null===(e=this._scrollers[T])||void 0===e||e._updateBounds()}_isHorizontalAndRtlEnabled(){return this.option("rtlEnabled")&&this.option("direction")!==E}updateRtlPosition(e){if(e&&(this._rtlConfig={scrollRight:0,clientWidth:this._$container.get(0).clientWidth,windowPixelRatio:this._getWindowDevicePixelRatio()}),this._updateBounds(),this._isHorizontalAndRtlEnabled()){let e=this._getMaxOffset().left-this._rtlConfig.scrollRight;e<=0&&(e=0,this._rtlConfig.scrollRight=this._getMaxOffset().left),this._getScrollOffset().left!==e&&(this._rtlConfig.skipUpdating=!0,this._component.scrollTo({left:e}),this._rtlConfig.skipUpdating=!1)}}_updateRtlConfig(){if(this._isHorizontalAndRtlEnabled()&&!this._rtlConfig.skipUpdating){const{clientWidth:e,scrollLeft:t}=this._$container.get(0),n=this._getWindowDevicePixelRatio();this._rtlConfig.windowPixelRatio===n&&this._rtlConfig.clientWidth===e&&(this._rtlConfig.scrollRight=this._getMaxOffset().left-t),this._rtlConfig.clientWidth=e,this._rtlConfig.windowPixelRatio=n}}_getWindowDevicePixelRatio(){return(0,m.hasWindow)()?(0,m.getWindow)().devicePixelRatio:1}scrollBy(e){var t,n;const i=this._scrollers[E],o=this._scrollers[T];i&&(e.top=i._boundLocation(e.top+i._location)-i._location),o&&(e.left=o._boundLocation(e.left+o._location)-o._location),this._prepareDirections(!0),null===(t=this._startAction)||void 0===t||t.call(this),this._eventHandler("scrollBy",{x:e.left,y:e.top}),null===(n=this._endAction)||void 0===n||n.call(this),this._updateRtlConfig()}validate(e){return(!(0,r.isDxMouseWheelEvent)(e)||!(0,r.isCommandKeyPressed)(e))&&(!this.option("disabled")&&(!!this.option("bounceEnabled")||((0,r.isDxMouseWheelEvent)(e)?this._validateWheel(e):this._validateMove(e))))}_validateWheel(e){const t=this._scrollers[this._wheelDirection(e)],n=t._reachedMin(),i=t._reachedMax(),o=!n||!i,r=!n&&!i,a=n&&e.delta>0,s=i&&e.delta<0;let l=o&&(r||a||s);return l=l||void 0!==this._validateWheelTimer,l&&(clearTimeout(this._validateWheelTimer),this._validateWheelTimer=setTimeout((()=>{this._validateWheelTimer=void 0}),500)),l}_validateMove(e){return!(!this.option("scrollByContent")&&!(0,l.default)(e.target).closest(".dx-scrollable-scrollbar").length)&&this._allowedDirection()}getDirection(e){return(0,r.isDxMouseWheelEvent)(e)?this._wheelDirection(e):this._allowedDirection()}_wheelProp(){return this._wheelDirection()===T?"left":"top"}_wheelDirection(e){switch(this.option("direction")){case T:return T;case E:return E;default:return null!=e&&e.shiftKey?T:E}}dispose(){this._resetActive(),j===this&&(j=null),this._eventHandler("dispose"),this._detachEventHandlers(),this._$element.removeClass(w),this._eventForUserAction=null,clearTimeout(this._validateWheelTimer),clearTimeout(this._updateHandlerTimeout)}_detachEventHandlers(){o.default.off(this._$element,`.${C}`),o.default.off(this._$container,`.${S}`)}}t.SimulatedStrategy=Z},86853:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(88603),o=f(n(92774)),r=f(n(89797)),a=n(98834),s=f(n(64960)),l=f(n(64553)),c=n(17781),u=f(n(3122)),d=n(11528),h=f(n(89275));function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},p.apply(null,arguments)}const g="dxScrollbar",_="dx-scrollable-scrollbar",m=`${_}-active`,v="horizontal",b="onScroll",y="onHover",x="always",C="never";let S=null;class w extends h.default{_getDefaultOptions(){return p({},super._getDefaultOptions(),{direction:null,visible:!1,activeStateEnabled:!1,visibilityMode:b,containerSize:0,contentSize:0,expandable:!0,scaleRatio:1})}_init(){super._init(),this._isHovered=!1}_initMarkup(){this._renderThumb(),super._initMarkup()}_render(){super._render(),this._renderDirection(),this._update(),this._attachPointerDownHandler(),this.option("hoverStateEnabled",this._isHoverMode());const{hoverStateEnabled:e}=this.option();this.$element().toggleClass("dx-scrollbar-hoverable",e)}_renderThumb(){this._$thumb=(0,l.default)("<div>").addClass("dx-scrollable-scroll"),(0,l.default)("<div>").addClass("dx-scrollable-scroll-content").appendTo(this._$thumb),this.$element().addClass(_).append(this._$thumb)}isThumb(e){return!!this.$element().find(e).length}_isHoverMode(){const{visibilityMode:e,expandable:t}=this.option();return(e===y||e===x)&&t}_renderDirection(){const{direction:e}=this.option();this.$element().addClass(`dx-scrollbar-${e}`),this._dimension=e===v?"width":"height",this._prop=e===v?"left":"top"}_attachPointerDownHandler(){o.default.on(this._$thumb,(0,a.addNamespace)(r.default.down,g),this.feedbackOn.bind(this))}feedbackOn(e){null==e||e.preventDefault(),this.$element().addClass(m),S=this}feedbackOff(){this.$element().removeClass(m),S=null}cursorEnter(){this._isHovered=!0,this._needScrollbar()&&this.option("visible",!0)}cursorLeave(){this._isHovered=!1,this.option("visible",!1)}_renderDimensions(){this._$thumb.css({width:this.option("width"),height:this.option("height")})}_toggleVisibility(e){const{visibilityMode:t}=this.option();t===b&&this._$thumb.css("opacity"),e=this._adjustVisibility(e),this.option().visible=e,this._$thumb.toggleClass("dx-state-invisible",!e)}_adjustVisibility(e){if(this._baseContainerToContentRatio&&!this._needScrollbar())return!1;const{visibilityMode:t}=this.option();switch(t){case b:break;case y:e=e||!!this._isHovered;break;case C:e=!1;break;case x:e=!0}return e}moveTo(e){if(this._isHidden())return;(0,d.isPlainObject)(e)&&(e=e[this._prop]||0);const t={};t[this._prop]=this._calculateScrollBarPosition(e),(0,i.move)(this._$thumb,t)}_calculateScrollBarPosition(e){return-e*this._thumbRatio}_update(){const e=Math.round(this.option("containerSize")),t=Math.round(this.option("contentSize"));let n=Math.round(this.option("baseContainerSize")),i=Math.round(this.option("baseContentSize"));isNaN(n)&&(n=e,i=t);const{scaleRatio:o}=this.option();this._baseContainerToContentRatio=i?n/i:n,this._realContainerToContentRatio=t?e/t:e;const r=Math.round(Math.max(Math.round(e*this._realContainerToContentRatio),15));this._thumbRatio=(e-r)/(o*(t-e)),this.option(this._dimension,r/o),this.$element().css("display",this._needScrollbar()?"":"none")}_isHidden(){const{visibilityMode:e}=this.option();return e===C}_needScrollbar(){return!this._isHidden()&&this._baseContainerToContentRatio<1}containerToContentRatio(){return this._realContainerToContentRatio}_normalizeSize(e){return(0,d.isPlainObject)(e)?e[this._dimension]||0:e}_clean(){super._clean(),this===S&&(S=null),o.default.off(this._$thumb,`.${g}`)}_optionChanged(e){if(!this._isHidden())switch(e.name){case"containerSize":case"contentSize":this.option()[e.name]=this._normalizeSize(e.value),this._update();break;case"baseContentSize":case"baseContainerSize":case"scaleRatio":this._update();break;case"visibilityMode":case"direction":this._invalidate();break;default:super._optionChanged.apply(this,arguments)}}update(){(0,c.deferRenderer)((()=>{this._adjustVisibility()&&this.option("visible",!0)}))()}}u.default.add((()=>{o.default.subscribeGlobal(s.default.getDocument(),(0,a.addNamespace)(r.default.up,g),(()=>{S&&S.feedbackOff()}))}));t.default=w},62504:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getElementLocationInternal=function(e,t,n,s,l){let c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:o.SCROLLABLE_CONTENT_CLASS;const u=a({top:0,left:0,right:0,bottom:0},l),d=t===o.DIRECTION_VERTICAL,h=d?"top":"left",f=d?"bottom":"right",p=d?"height":"width",g=n[`offset${(0,i.titleize)(p)}`],_=n[`client${(0,i.titleize)(p)}`],m=n.getBoundingClientRect()[p],v=e.getBoundingClientRect()[p];let b=1;Math.abs(m-g)>1&&(b=m/g);const y=(0,r.getRelativeOffset)(c,e)[h]/b,x=s[h],C=x-y+u[h],S=x-y-v/b+_-u[f];if(C<=0&&S>=0)return x;return x-(Math.abs(C)>Math.abs(S)?S:C)};var i=n(53124),o=n(21363),r=n(91524);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}},91524:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getRelativeOffset=function(e,t){const n={left:0,top:0};let i=t;for(;null!==(o=i)&&void 0!==o&&o.offsetParent&&!i.classList.contains(e);){var o;const e=i.offsetParent,t=i.getBoundingClientRect(),r=e.getBoundingClientRect();n.left+=t.left-r.left,n.top+=t.top-r.top,i=i.offsetParent}return n}},24491:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.toMilliseconds=function(e){return n[e]};const n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,quarter:7776e6,year:31536e6}},20258:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.assertDevExtremeVersion=function(e,t){s.push({packageName:e,version:t})},t.assertedVersionsCompatible=function(e){const t=s.filter((t=>{return n=u(t.version),i=e,!(n.major===i.major&&n.minor===i.minor&&n.patch===i.patch);var n,i}));if(t.length)return o.default.log("W0023",[{packageName:"devextreme",version:c(e)},...t].map((e=>`${e.packageName}: ${e.version}`)).join("\n")),!1;return!0},t.clearAssertedVersions=function(){},t.getPreviousMajorVersion=function(e){let{major:t,minor:n,patch:i}=e;return n===a?{major:t-1,minor:r,patch:i}:{major:t,minor:n-1,patch:i}},t.parseVersion=u,t.stringifyVersion=c;var i,o=(i=n(87129))&&i.__esModule?i:{default:i};const r=2,a=1,s=[],l=".";function c(e){const{major:t,minor:n,patch:i}=e;return[t,n,i].join(l)}function u(e){const[t,n,i]=e.split(".").map(Number);return{major:t,minor:n,patch:i}}},78609:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AdvancedChart=void 0;var i,o=n(17781),r=n(52576),a=n(21274),s=n(11528),l=n(99091),c=n(11348),u=n(28779),d=(i=n(34685))&&i.__esModule?i:{default:i},h=n(99857),f=n(2225),p=n(9410);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g.apply(null,arguments)}const{isArray:_}=Array,m="font",v="commonAxisSettings",b="default",y="VISUAL_RANGE";function x(e){return _(e)?0===e.length?[{}]:e:[e]}function C(e,t,n,i){let o,r;if(n){r=e.value,o={skipEventRising:!0};const t=S(e.fullName,r);t&&(o={allowPartialUpdate:!0},r=t)}else r=((0,s.isDefined)(i)?e.value[i]:e.value).visualRange;t.visualRange(r,o)}function S(e,t){const n=e.split(".").at(-1);if("endValue"===n||"startValue"===n)return{[n]:t}}t.AdvancedChart=p.BaseChart.inherit({_fontFields:[`${v}.label.${m}`,`${v}.title.${m}`],_partialOptionChangesMap:{visualRange:y,_customVisualRange:y,strips:"REFRESH_AXES",constantLines:"REFRESH_AXES"},_partialOptionChangesPath:{argumentAxis:["strips","constantLines","visualRange","_customVisualRange"],valueAxis:["strips","constantLines","visualRange","_customVisualRange"]},_initCore(){this._panesClipRects={},this.callBase()},_disposeCore(){const e=this._disposeObjectsInArray,t=this._panesClipRects;this.callBase(),e.call(t,"fixed"),e.call(t,"base"),e.call(t,"wide"),this._panesClipRects=null,this._labelsAxesGroup.linkOff(),this._labelsAxesGroup.dispose(),this._labelsAxesGroup=null},_dispose(){const e=this._disposeObjectsInArray;this.callBase(),this.panes=null,this._legend&&(this._legend.dispose(),this._legend=null),e.call(this,"panesBackground"),e.call(this,"seriesFamilies"),this._disposeAxes()},_createPanes(){this._cleanPanesClipRects("fixed"),this._cleanPanesClipRects("base"),this._cleanPanesClipRects("wide")},_cleanPanesClipRects(e){(this._panesClipRects[e]||[]).forEach((e=>{null==e||e.dispose()})),this._panesClipRects[e]=[]},_getElementsClipRectID(e){const t=this._panesClipRects.fixed[this._getPaneIndex(e)];return null==t?void 0:t.id},_getPaneIndex(e){const t=e||b;return this.panes.findIndex((e=>e.name===t))},_updateSize(e){this.callBase(),e&&(0,f.areCanvasesDifferent)(this.__currentCanvas,this._canvas)&&(this.__currentCanvas=(0,f.floorCanvasDimensions)(this._canvas)),(0,u.setCanvasValues)(this._canvas)},_reinitAxes(){this.panes=this._createPanes(),this._populateAxes(),this._axesReinitialized=!0},_populateAxes(){const{panes:e}=this,t=this._isRotated(),n=x(this.option("argumentAxis")||{})[0],i=this.option("valueAxis"),o=x(i||{});let r=[];const a=[],s=[];let l,c=0;const d=this._getCrosshairMargins();function h(){const e="defaultAxisName"+String(c);return c+=1,e}l=t?"right"===n.position?e[e.length-1].name:e[0].name:"top"===n.position?e[0].name:e[e.length-1].name,r=(0,u.map)(e,(e=>{const i=e.name!==l;return this._populateAxesOptions("argumentAxis",n,{pane:e.name,name:null,optionPath:"argumentAxis",crosshairMargin:t?d.x:d.y},t,i)})),o.forEach(((e,n)=>{var o;let r=[];const{name:l}=e;l&&s.includes(l)?this._incidentOccurred("E2102"):(l&&s.push(l),e.pane&&r.push(e.pane),null!==(o=e.panes)&&void 0!==o&&o.length&&(r=r.concat(e.panes.slice(0))),r=(0,u.unique)(r),r.length||r.push(void 0),r.forEach((o=>{const r=_(i)?`valueAxis[${String(n)}]`:"valueAxis";a.push(this._populateAxesOptions("valueAxis",e,{name:l||h(),pane:o,priority:n,optionPath:r,crosshairMargin:t?d.y:d.x},t))})))})),this._redesignAxes(r,!0,l),this._redesignAxes(a,!1)},_redesignAxes(e,t,n){const i=[];let o=t?this._argumentAxes:this._valueAxes;e.forEach((e=>{var n;const r=null===(n=o)||void 0===n?void 0:n.filter((t=>t.name===e.name&&(!(0,s.isDefined)(e.pane)&&this.panes.some((e=>e.name===t.pane))||t.pane===e.pane)));null!=r&&r.length?r.forEach((n=>{const o=function(e,t,n){if(n)return{argumentAxisType:e.argumentAxisType,argumentType:e.argumentType};const{valueAxisType:i,valueType:o}=e.groups.find((e=>e.valueAxis===t));return{valueAxisType:i,valueType:o}}(this._groupsData,n,t);n.updateOptions(e),t?n.setTypes(o.argumentAxisType,o.argumentType,"argumentType"):n.setTypes(o.valueAxisType,o.valueType,"valueType"),n.validate(),i.push({axis:n})})):i.push({options:e})})),o?(0,a.reverseEach)(o,((e,n)=>{i.some((e=>e.axis&&e.axis===n))||this._disposeAxis(e,t)})):o=t?this._argumentAxes=[]:this._valueAxes=[],i.forEach((e=>{let{axis:i}=e;e.axis&&t?e.axis.isVirtual=e.axis.pane!==n:e.options&&(i=this._createAxis(t,e.options,t?e.options.pane!==n:void 0),o.push(i)),i.applyVisualRangeSetter(this._getVisualRangeSetter())}))},_disposeAxis(e,t){const n=t?this._argumentAxes:this._valueAxes,i=n[e];i&&(i.dispose(),n.splice(e,1))},_disposeAxes(){const e=this._disposeObjectsInArray;e.call(this,"_argumentAxes"),e.call(this,"_valueAxes")},_appendAdditionalSeriesGroups(){this._crosshairCursorGroup.linkAppend(),this._scrollBar&&this._scrollBarGroup.linkAppend()},_getLegendTargets(){return(this.series||[]).map((e=>{const t=this._getLegendOptions(e);return t.legendData.series=e,e.getOptions().showInLegend||(t.legendData.visible=!1),t}))},_legendItemTextField:"name",_seriesPopulatedHandlerCore(){this._processSeriesFamilies(),this._processValueAxisFormat()},_renderTrackers(){for(let e=0;e<this.series.length;e+=1)this.series[e].drawTrackers()},_specialProcessSeries(){this._processSeriesFamilies()},_processSeriesFamilies(){var e;const t=[],n=[];let i;const o=this._themeManager,r=o.getOptions("negativesAsZeroes"),a=o.getOptions("negativesAsZeros"),l={minBubbleSize:o.getOptions("minBubbleSize"),maxBubbleSize:o.getOptions("maxBubbleSize"),barGroupPadding:o.getOptions("barGroupPadding"),barGroupWidth:o.getOptions("barGroupWidth"),negativesAsZeroes:(0,s.isDefined)(r)?r:a};null!==(e=this.seriesFamilies)&&void 0!==e&&e.length?this.seriesFamilies.forEach((e=>{e.updateOptions(l),e.adjustSeriesValues()})):(this.series.forEach((e=>{t.includes(e.type)||t.push(e.type)})),this._getLayoutTargets().forEach((e=>{i=this._getSeriesForPane(e.name),t.forEach((t=>{const o=new c.SeriesFamily({type:t,pane:e.name,minBubbleSize:l.minBubbleSize,maxBubbleSize:l.maxBubbleSize,barGroupPadding:l.barGroupPadding,barGroupWidth:l.barGroupWidth,negativesAsZeroes:l.negativesAsZeroes,rotated:this._isRotated()});o.add(i),o.adjustSeriesValues(),n.push(o)}))})),this.seriesFamilies=n)},_updateSeriesDimensions(){const e=this.seriesFamilies||[];for(let t=0;t<e.length;t+=1){const n=e[t];n.updateSeriesValues(),n.adjustSeriesDimensions()}},_getLegendCallBack(e){var t;return null===(t=this._legend)||void 0===t?void 0:t.getActionCallback(e)},_appendAxesGroups(){this._stripsGroup.linkAppend(),this._gridGroup.linkAppend(),this._axesGroup.linkAppend(),this._labelsAxesGroup.linkAppend(),this._constantLinesGroup.linkAppend(),this._stripLabelAxesGroup.linkAppend(),this._scaleBreaksGroup.linkAppend()},_populateMarginOptions(){const e=function(e,t,n,i){const o=i?e.width/t:e.width,r=i?e.height:e.height/t;return Math.min(o,r)*n}(this.getSize(),this.panes.length,this._themeManager.getOptions("maxBubbleSize"),this._isRotated());let t={};this._valueAxes.forEach((n=>{const i=this.series.filter((e=>e.getValueAxis()===n));let o={};i.forEach((n=>{if(n.isVisible()){const i=function(e,t){return e.processBubbleSize&&(e.size=t),e}(n.getMarginOptions(),e);o=(0,u.mergeMarginOptions)(o,i),t=(0,u.mergeMarginOptions)(t,i)}})),n.setMarginOptions(o)})),this._argumentAxes.forEach((e=>e.setMarginOptions(t)))},_populateBusinessRange(e,t){const n=this._isRotated(),i=this._getVisibleSeries(),o={},r=new h.Range({rotated:!!n}),a=e=>e.pane||b;if(this.panes.forEach((e=>{o[e.name]=new h.Range({rotated:!!n})})),this._valueAxes.forEach((r=>{const s=new h.Range({rotated:!!n,pane:r.pane,axis:r.name}),l=i.filter((e=>e.getValueAxis()===r));l.forEach((e=>{const t=e.getRangeData();s.addRange(t.val),o[a(r)].addRange(t.arg)})),(!e||e&&l.length&&r===e)&&(r.setGroupSeries(l),r.setBusinessRange(s,this._axesReinitialized||t,this._argumentAxes[0]._lastVisualRangeUpdateMode))})),!e||e&&i.length){Object.keys(o).forEach((e=>r.addRange(o[e])));const e=r.interval;this._argumentAxes.forEach((t=>{const n=o[a(t)].interval??e;t.setBusinessRange(new h.Range(g({},r,{interval:n})),this._axesReinitialized,void 0,this._groupsData.categories)}))}this._populateMarginOptions()},getArgumentAxis(){return(this._argumentAxes||[]).find((e=>!e.isVirtual))},getValueAxis(e){return(this._valueAxes||[]).find((0,s.isDefined)(e)?t=>t.name===e:e=>e.pane===this.defaultPane)},_getGroupsData(){const e=[];return this._valueAxes.forEach((t=>{e.push({series:this.series.filter((e=>e.getValueAxis()===t)),valueAxis:t,valueOptions:t.getOptions()})})),{groups:e,argumentAxes:this._argumentAxes,argumentOptions:this._argumentAxes[0].getOptions()}},_groupSeries(){this._correctValueAxes(!1),this._groupsData=this._getGroupsData()},_processValueAxisFormat(){const e=[];this.series.forEach((t=>{const n=t.getValueAxis();t.isFullStackedSeries()&&(n.setPercentLabelFormat(),e.push(n))})),this._valueAxes.forEach((t=>{e.includes(t)||t.resetAutoLabelFormat()}))},_populateAxesOptions(e,t,n,i,o){const a=this._prepareStripsAndConstantLines(e,t,i),s=(0,r.extend)(!0,{},a,n,this._prepareAxisOptions(e,a,i));return o&&(s.visible=!1,s.tick.visible=!1,s.minorTick.visible=!1,s.label.visible=!1,s.title={}),s},_getValFilter:e=>d.default.getViewPortFilter(e.getValueAxis().visualRange()||{}),_createAxis(e,t,n){const i=e?"argumentAxis":"valueAxis",o=(0,r.extend)({renderer:this._renderer,incidentOccurred:this._incidentOccurred,eventTrigger:this._eventTrigger,axisClass:e?"arg":"val",widgetClass:"dxc",stripsGroup:this._stripsGroup,stripLabelAxesGroup:this._stripLabelAxesGroup,constantLinesGroup:this._constantLinesGroup,scaleBreaksGroup:this._scaleBreaksGroup,axesContainerGroup:this._axesGroup,labelsAxesGroup:this._labelsAxesGroup,gridGroup:this._gridGroup,isArgumentAxis:e,getTemplate:e=>this._getTemplate(e)},this._getAxisRenderingOptions(i)),a=new l.Axis(o);return a.updateOptions(t),a.isVirtual=n,a},_applyVisualRangeByVirtualAxes:()=>!1,_applyCustomVisualRangeOption(e,t){e.getOptions().optionPath&&this._parseVisualRangeOption(`${e.getOptions().optionPath}.visualRange`,t)},_getVisualRangeSetter(){return(e,t)=>{let{skipEventRising:n,range:i}=t;this._applyCustomVisualRangeOption(e,i),e.setCustomVisualRange(i),e.skipEventRising=n,this._applyVisualRangeByVirtualAxes(e,i)||(this._applyingChanges?this._change_VISUAL_RANGE():this._requestChange([y]))}},_getTrackerSettings(){return(0,r.extend)(this.callBase(),{argumentAxis:this.getArgumentAxis()})},_prepareStripsAndConstantLines(e,t,n){return(t=this._themeManager.getOptions(e,t,n)).strips&&t.strips.forEach(((e,n)=>{t.strips[n]=(0,r.extend)(!0,{},t.stripStyle,e)})),t.constantLines&&t.constantLines.forEach(((e,n)=>{t.constantLines[n]=(0,r.extend)(!0,{},t.constantLineStyle,e)})),t},refresh(){this._disposeAxes(),this.callBase()},_layoutAxes(e){e();const t=this.checkForMoreSpaceForPanesCanvas();if(t){const n=this._rect.slice(),i=this._layout.backward(n,n,[t.width,t.height]);t.width=Math.max(0,i[0]),t.height=Math.max(0,i[1]),this._canvas=this._createCanvasFromRect(n),e(t)}},checkForMoreSpaceForPanesCanvas(){return this.layoutManager.needMoreSpaceForPanesCanvas(this._getLayoutTargets(),this._isRotated())},_parseVisualRangeOption(e,t){const n=e.split(/[.[]/)[0];let i=e.match(/\d+/g);i=(0,s.isDefined)(i)?parseInt(i[0],10):i,e.indexOf("visualRange")>0?("object"!==(0,s.type)(t)&&(t=S(e,t)??t),this._setCustomVisualRange(n,i,t)):("object"===(0,s.type)(t)||_(t))&&n.indexOf("Axis")>0&&JSON.stringify(t).indexOf("visualRange")>0&&((0,s.isDefined)(t.visualRange)?this._setCustomVisualRange(n,i,t.visualRange):_(t)&&t.forEach(((e,t)=>{(0,s.isDefined)(e.visualRange)&&this._setCustomVisualRange(n,t,e.visualRange)})))},_setCustomVisualRange(e,t,n){const i=this._options.silent(e);i&&((0,s.isDefined)(t)?i[t]._customVisualRange=n:i._customVisualRange=n,this._axesReinitialized=!0)},_raiseZoomEndHandlers(){this._valueAxes.forEach((e=>e.handleZoomEnd()))},_setOptionsByReference(){this.callBase(),(0,r.extend)(this._optionsByReference,{"valueAxis.visualRange":!0})},_notifyOptionChanged(e,t){this.callBase.apply(this,arguments),this._optionChangedLocker||this._parseVisualRangeOption(e,t)},_notifyVisualRange(){this._valueAxes.forEach((e=>{const t=e.getOptions().optionPath;if(t){const n=`${t}.visualRange`,i=(0,u.convertVisualRangeObject)(e.visualRange(),!_(this.option(n)));e.skipEventRising&&(0,u.rangesAreEqual)(i,this.option(n))?e.skipEventRising=null:this.option(t)||"valueAxis"===t?this.option(n,i):this.option(t,{name:e.name,visualRange:i})}}))},_notify(){this.callBase(),this._axesReinitialized=!1,!0!==this.option("disableTwoWayBinding")&&(this.skipOptionsRollBack=!0,this._notifyVisualRange(),this.skipOptionsRollBack=!1)},_getAxesForScaling(){return this._valueAxes},_getAxesByOptionPath(e,t,n){const i=this._getAxesForScaling();let o=[];if(t){let t;e.fullName&&(t=e.fullName.slice(0,e.fullName.indexOf("."))),o=i.filter((e=>e.getOptions().optionPath===t))}else"object"===(0,s.type)(e.value)?o=i.filter((t=>t.getOptions().optionPath===e.name)):_(e.value)&&e.value.forEach(((t,r)=>{const a=i.filter((t=>t.getOptions().optionPath===`${e.name}[${r}]`))[0];(0,s.isDefined)(t[n])&&(0,s.isDefined)(a)&&(o[r]=a)}));return o},_optionChanged(e){if(!this._optionChangedLocker){const t="visualRange";let n;const i=e.fullName.indexOf(t)>0||!(this.getPartialChangeOptionsName(e).indexOf(t)>-1)&&void 0;(0,s.isDefined)(i)&&(n=this._getAxesByOptionPath(e,i,t),n&&(n.length>1||_(e.value)?n.forEach(((t,n)=>C(e,t,i,n))):1===n.length&&C(e,n[0],i)))}this.callBase(e)},_change_VISUAL_RANGE(){if(this._recreateSizeDependentObjects(!1),!this._changes.has("FULL_RENDER")){const e=this.option("resizePanesOnZoom");this._doRender({force:!0,drawTitle:!1,drawLegend:!1,adjustAxes:e??(this.option("adjustAxesOnZoom")||!1),animate:!1}),this._raiseZoomEndHandlers()}},resetVisualRange(){this._valueAxes.forEach((e=>{e.resetVisualRange(!1),this._applyCustomVisualRangeOption(e)})),this._requestChange([y])},_getCrosshairMargins:()=>({x:0,y:0}),_legendDataField:"series",_adjustSeriesLabels:o.noop,_correctValueAxes:o.noop})},9410:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.overlapping=t.BaseChart=void 0;var i=w(n(92774)),o=n(98834),r=n(17781),a=n(52576),s=n(21274),l=n(11528),c=n(14580),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(45912)),d=n(45647),h=n(39104),f=n(67056),p=n(25058),g=n(74754),_=n(92528),m=n(16216),v=n(23277),b=n(28779),y=n(66151),x=w(n(34506)),C=n(59282);function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function w(e){return e&&e.__esModule?e:{default:e}}const{isArray:E}=Array,T="_reinit",A="_forceRender",O="_resize",k=[T,"_updateDataSource","_dataInit",A,O],D="font";function L(e){const t=e.reduce(((e,t,n)=>{if(!t)return e;const i=t.value();return i<e.value?{value:i,rollingStock:t,index:n}:e}),{rollingStock:void 0,value:1/0,index:void 0});t.rollingStock.getLabels()[0].draw(!1);const{width:n}=t.rollingStock.getBoundingRect();return e[t.index]=null,n}function P(e,t,n){if(!e||!t)return;const i=e.getBoundingRect(),o=t.getBoundingRect(),r=!n||(i.oppositeStart<=o.oppositeStart&&i.oppositeEnd>o.oppositeStart||o.oppositeStart<=i.oppositeStart&&o.oppositeEnd>i.oppositeStart);return i.end>o.start&&r}function M(e,t){return e.getBoundingRect().end>t.end}t.overlapping={resolveLabelOverlappingInOneDirection:function(e,t,n,i,o){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>0;const a=[],s={start:n?t.left:t.top,end:n?t.width-t.right:t.height-t.bottom};let l,c=!1;if(e.forEach((e=>{e&&(c=c||e.series.isStackedSeries()||e.series.isFullStackedSeries(),e.getLabels().forEach((e=>{e.isVisible()&&a.push(new C.RollingStock(e,n,o))})))})),c)Number(!n)^Number(i)&&a.reverse(),l=i?a:function(e){const t=[],n=[];return e.forEach((e=>{e.value()>0?t.push(e):n.unshift(e)})),t.concat(n)}(a);else{const e=a.slice();l=a.sort(((t,n)=>r(t,n)||t.getInitialPosition()-n.getInitialPosition()||e.indexOf(t)-e.indexOf(n)))}return!!function(e){let t,n,i,o,r=!1;for(t=0,i=e.length-1;t<i;t++){for(n=t+1,o=e.length;n<o;n++)if(t!==n&&P(e[t],e[n],!0)){r=!0;break}if(r)break}return r}(l)&&(function(e,t){const n=t.end-t.start;let i=0;for(e.forEach((e=>{i+=e.getBoundingRect().width}));n<i;)i-=L(e)}(l,s),function(e){let t;for(let n=0;n<e.length-1;n+=1){const i=t||e[n];P(i,e[n+1])?(i.toChain(e[n+1]),e[n+1]=null,t=i):t=e[n+1]||i}}(l),l.reverse(),function(e,t){for(let n=0;n<e.length;n+=1){const i=e[n];let o=!0;if(null!==i&&M(i,t)){const r=i.getBoundingRect();for(let a=n+1;a<e.length;a+=1){const n=e[a];if(n){if(n.getBoundingRect().end>r.start-(r.end-t.end)){n.toChain(i),o=!1;break}}}}o&&(null==i||i.setRollingStockInCanvas(t))}}(l,s),!0)}};const R=t.BaseChart=x.default.inherit({_eventsMap:{onSeriesClick:{name:"seriesClick"},onPointClick:{name:"pointClick"},onArgumentAxisClick:{name:"argumentAxisClick"},onLegendClick:{name:"legendClick"},onSeriesSelectionChanged:{name:"seriesSelectionChanged"},onPointSelectionChanged:{name:"pointSelectionChanged"},onSeriesHoverChanged:{name:"seriesHoverChanged"},onPointHoverChanged:{name:"pointHoverChanged"},onDone:{name:"done",actionSettings:{excludeValidators:["disabled"]}},onZoomStart:{name:"zoomStart"},onZoomEnd:{name:"zoomEnd"}},_fontFields:[`legend.${D}`,`legend.title.${D}`,`legend.title.subtitle.${D}`,`commonSeriesSettings.label.${D}`],_rootClassPrefix:"dxc",_rootClass:"dxc-chart",_initialChanges:["INIT"],_themeDependentChanges:["REFRESH_SERIES_REINIT"],_getThemeManagerOptions(){const e=this.callBase.apply(this,arguments);return e.options=this.option(),e},_createThemeManager(){const e=this.option(),t=new d.ThemeManager(this._getThemeManagerOptions());return t.setTheme(e.theme,e.rtlEnabled),t},_initCore(){this._canvasClipRect=this._renderer.clipRect(),this._createHtmlStructure(),this._createLegend(),this._createTracker(),this._needHandleRenderComplete=!0,this.layoutManager=new c.LayoutManager,this._createScrollBar(),i.default.on(this._$element,"contextmenu",(e=>{((0,o.isTouchEvent)(e)||(0,o.isPointerEvent)(e))&&e.preventDefault()})),i.default.on(this._$element,"MSHoldVisual",(e=>{e.preventDefault()}))},_getLayoutItems:r.noop,_layoutManagerOptions(){return this._themeManager.getOptions("adaptiveLayout")},_reinit(){(0,b.setCanvasValues)(this._canvas),this._reinitAxes(),this._requestChange(["DATA_SOURCE","DATA_INIT","CORRECT_AXIS","FULL_RENDER"])},_correctAxes:r.noop,_createHtmlStructure(){const e=this._renderer,{root:t}=e,n=function(){return e.g().attr({class:"dxc-constant-lines-group"}).linkOn(t,"constant-lines")};this._constantLinesGroup={dispose(){this.under.dispose(),this.above.dispose()},linkOff(){this.under.linkOff(),this.above.linkOff()},clear(){this.under.linkRemove().clear(),this.above.linkRemove().clear()},linkAppend(){this.under.linkAppend(),this.above.linkAppend()}},this._labelsAxesGroup=e.g().attr({class:"dxc-elements-axes-group"});const i=()=>{this._labelsAxesGroup.linkOn(t,"elements")};this._backgroundRect=e.rect().attr({fill:"gray",opacity:1e-4}).append(t),this._panesBackgroundGroup=e.g().attr({class:"dxc-background"}).append(t),this._stripsGroup=e.g().attr({class:"dxc-strips-group"}).linkOn(t,"strips"),this._gridGroup=e.g().attr({class:"dxc-grids-group"}).linkOn(t,"grids"),this._panesBorderGroup=e.g().attr({class:"dxc-border"}).linkOn(t,"border"),this._axesGroup=e.g().attr({class:"dxc-axes-group"}).linkOn(t,"axes"),this._executeAppendBeforeSeries(i),this._stripLabelAxesGroup=e.g().attr({class:"dxc-strips-labels-group"}).linkOn(t,"strips-labels"),this._constantLinesGroup.under=n(),this._seriesGroup=e.g().attr({class:"dxc-series-group"}).linkOn(t,"series"),this._executeAppendAfterSeries(i),this._constantLinesGroup.above=n(),this._scaleBreaksGroup=e.g().attr({class:"dxc-scale-breaks"}).linkOn(t,"scale-breaks"),this._labelsGroup=e.g().attr({class:"dxc-labels-group"}).linkOn(t,"labels"),this._crosshairCursorGroup=e.g().attr({class:"dxc-crosshair-cursor"}).linkOn(t,"crosshair"),this._legendGroup=e.g().attr({class:"dxc-legend","clip-path":this._getCanvasClipRectID()}).linkOn(t,"legend").linkAppend(t).enableLinks(),this._scrollBarGroup=e.g().attr({class:"dxc-scroll-bar"}).linkOn(t,"scroll-bar")},_executeAppendBeforeSeries(){},_executeAppendAfterSeries(){},_disposeObjectsInArray(e,t){(this[e]||[]).forEach((e=>{t&&e?t.forEach((t=>{var n;null===(n=e[t])||void 0===n||n.dispose()})):null==e||e.dispose()})),this[e]=null},_disposeCore(){const e=e=>{this[e]&&(this[e].dispose(),this[e]=null)},t=e=>{this[e].linkOff()},n=this._disposeObjectsInArray;this._renderer.stopAllAnimations(),n.call(this,"series"),e("_tracker"),e("_crosshair"),this.layoutManager=this._userOptions=this._canvas=this._groupsData=null,t("_stripsGroup"),t("_gridGroup"),t("_axesGroup"),t("_constantLinesGroup"),t("_stripLabelAxesGroup"),t("_panesBorderGroup"),t("_seriesGroup"),t("_labelsGroup"),t("_crosshairCursorGroup"),t("_legendGroup"),t("_scrollBarGroup"),t("_scaleBreaksGroup"),e("_canvasClipRect"),e("_panesBackgroundGroup"),e("_backgroundRect"),e("_stripsGroup"),e("_gridGroup"),e("_axesGroup"),e("_constantLinesGroup"),e("_stripLabelAxesGroup"),e("_panesBorderGroup"),e("_seriesGroup"),e("_labelsGroup"),e("_crosshairCursorGroup"),e("_legendGroup"),e("_scrollBarGroup"),e("_scaleBreaksGroup")},_getAnimationOptions(){return this._themeManager.getOptions("animation")},_getDefaultSize:()=>({width:400,height:400}),_getOption(e){return this._themeManager.getOptions(e)},_applySize(e){this._rect=e.slice(),this._changes.has("FULL_RENDER")||this._processRefreshData(O)},_resize(){this._doRender(this.__renderOptions||{animate:!1,isResize:!0})},_trackerType:"ChartTracker",_createTracker(){this._tracker=new u[this._trackerType]({seriesGroup:this._seriesGroup,renderer:this._renderer,tooltip:this._tooltip,legend:this._legend,eventTrigger:this._eventTrigger})},_getTrackerSettings(){return(0,a.extend)({chart:this},this._getSelectionModes())},_getSelectionModes(){const e=this._themeManager;return{seriesSelectionMode:e.getOptions("seriesSelectionMode"),pointSelectionMode:e.getOptions("pointSelectionMode")}},_updateTracker(e){this._tracker.update(this._getTrackerSettings()),this._tracker.setCanvases({left:0,right:this._canvas.width,top:0,bottom:this._canvas.height},e)},_createCanvasFromRect(e){const t=this._canvas;return(0,b.setCanvasValues)({left:e[0],top:e[1],right:t.width-e[2],bottom:t.height-e[3],width:t.width,height:t.height})},_doRender(e){if(0===this._canvas.width&&0===this._canvas.height)return;this._resetIsReady();const t=this._prepareDrawOptions(e),{recreateCanvas:n}=t;this._preserveOriginalCanvas(),n?this.__currentCanvas=this._canvas:this._canvas=this.__currentCanvas,n&&this._updateCanvasClipRect(this._canvas),this._canvas=this._createCanvasFromRect(this._rect),this._renderer.stopAllAnimations(!0),this._cleanGroups();const i=new Date;this._renderElements(t),this._lastRenderingTime=Number(new Date)-Number(i)},_preserveOriginalCanvas(){this.__originalCanvas=this._canvas,this._canvas=(0,a.extend)({},this._canvas)},_layoutAxes:r.noop,_renderElements(e){const t=this._prepareToRender(e),n=this._isRotated(),i=this._isLegendInside(),o=[];(0,a.extend)({},this._canvas);let r,s,l;this._renderer.lock(),e.drawLegend&&this._legend&&this._legendGroup.linkAppend(),this.layoutManager.setOptions(this._layoutManagerOptions());const c=this._getLayoutTargets();this._layoutAxes((n=>{const i=n?(0,a.extend)({},e,{animate:!1,recreateCanvas:!0}):e,o=this._renderAxes(i,t);this._shrinkAxes(n,o)})),this._applyClipRects(t),this._appendSeriesGroups(),this._createCrosshairCursor(),c.forEach((e=>{let{canvas:t}=e;o.push({left:t.left,right:t.width-t.right,top:t.top,bottom:t.height-t.bottom})})),this._scrollBar&&(r=this._argumentAxes[0].getTranslator().getBusinessRange(),"discrete"===r.axisType&&r.categories&&r.categories.length<=1||"discrete"!==r.axisType&&r.min===r.max?s=l=void 0:(s=r.minVisible,l=r.maxVisible),this._scrollBar.init(r,!this._argumentAxes[0].getOptions().valueMarginsEnabled).setPosition(s,l)),this._updateTracker(o),this._updateLegendPosition(e,i),this._applyPointMarkersAutoHiding(),this._renderSeries(e,n,i),this._renderGraphicObjects(),this._renderer.unlock()},_updateLegendPosition:r.noop,_createCrosshairCursor:r.noop,_appendSeriesGroups(){this._seriesGroup.linkAppend(),this._labelsGroup.linkAppend(),this._appendAdditionalSeriesGroups()},_renderSeries(e,t,n){this._calculateSeriesLayout(e,t),this._renderSeriesElements(e,n)},_calculateSeriesLayout(e,t){e.hideLayoutLabels=this.layoutManager.needMoreSpaceForPanesCanvas(this._getLayoutTargets(),t)&&!this._themeManager.getOptions("adaptiveLayout").keepLabels,this._updateSeriesDimensions(e)},_getArgFilter:()=>()=>!0,_getValFilter:()=>()=>!0,_getPointsToAnimation(e){const t=this._getArgFilter();return e.map((e=>{const n=this._getValFilter(e);return e.getPoints().filter((e=>e.getOptions().visible&&t(e.argument)&&(n(e.getMinValue(!0))||n(e.getMaxValue(!0))))).length}))},_renderSeriesElements(e,t){const{series:n}=this,i=this._themeManager.getOptions("resolveLabelOverlapping"),o=this._getPointsToAnimation(n);n.forEach(((t,n)=>{this._applyExtraSettings(t,e);const i=e.animate&&o[n]<=e.animationPointsLimit&&this._renderer.animationEnabled();t.draw(i,e.hideLayoutLabels,this._getLegendCallBack(t))})),"none"===i?this._adjustSeriesLabels(!1):this._locateLabels(i),this._renderTrackers(t),this._tracker.repairTooltip(),this._renderExtraElements(),this._clearCanvas(),this._seriesElementsDrawn=!0},_changesApplied(){this._seriesElementsDrawn&&(this._seriesElementsDrawn=!1,this._drawn(),this._renderCompleteHandler())},_locateLabels(e){this._resolveLabelOverlapping(e)},_renderExtraElements(){},_clearCanvas(){this._canvas=this.__originalCanvas},_resolveLabelOverlapping(e){let t;switch(e){case"stack":t=this._resolveLabelOverlappingStack;break;case"hide":t=this._resolveLabelOverlappingHide;break;case"shift":t=this._resolveLabelOverlappingShift}return(0,l.isFunction)(t)&&t.call(this)},_getVisibleSeries(){return(0,r.grep)(this.getAllSeries(),(e=>e.isVisible()))},_resolveLabelOverlappingHide(){const e=[];let t,n,i,o,r,a,s;const l=this._getVisibleSeries();for(r=0;r<l.length;r++)for(s=l[r].getVisiblePoints(),a=0;a<s.length;a++)e.push.apply(e,s[a].getLabels());for(r=0;r<e.length;r++)if(t=e[r],t.isVisible())for(i=t.getBoundingRect(),a=r+1;a<e.length;a++)n=e[a],o=n.getBoundingRect(),u=o,((c=i).x<=u.x&&u.x<=c.x+c.width||c.x>=u.x&&c.x<=u.x+u.width)&&(c.y<=u.y&&u.y<=c.y+c.height||c.y>=u.y&&c.y<=u.y+u.height)&&n.draw(!1);var c,u},_cleanGroups(){this._stripsGroup.linkRemove().clear(),this._gridGroup.linkRemove().clear(),this._axesGroup.linkRemove().clear(),this._constantLinesGroup.clear(),this._stripLabelAxesGroup.linkRemove().clear(),this._labelsGroup.linkRemove().clear(),this._crosshairCursorGroup.linkRemove().clear(),this._scaleBreaksGroup.linkRemove().clear()},_allowLegendInsidePosition:()=>!1,_createLegend(){const e=function(e){const t={nameField:`${n=e}Name`,colorField:`${n}Color`,indexField:`${n}Index`};var n;return{getFormatObject(e){const n={};return n[t.indexField]=e.id,n[t.colorField]=e.states.normal.fill,n[t.nameField]=e.text,n},textField:t.nameField}}(this._legendDataField);this._legend=new f.Legend({renderer:this._renderer,widget:this,group:this._legendGroup,backgroundClass:"dxc-border",itemGroupClass:"dxc-item",titleGroupClass:"dxc-title",textField:e.textField,getFormatObject:e.getFormatObject,allowInsidePosition:this._allowLegendInsidePosition()}),this._updateLegend(),this._layout.add(this._legend)},_updateLegend(){const e=this._themeManager,t=e.getOptions("legend"),n=this._getLegendData();t.containerBackgroundColor=e.getOptions("containerBackgroundColor"),t._incidentOccurred=this._incidentOccurred,this._legend.update(n,t,e.theme("legend").title),this._change(["LAYOUT"])},_prepareDrawOptions(e){const t=this._getAnimationOptions(),n=(0,a.extend)({},{force:!1,adjustAxes:!0,drawLegend:!0,drawTitle:!0,animate:t.enabled,animationPointsLimit:t.maxPointCountSupported},e,this.__renderOptions);return(0,l.isDefined)(n.recreateCanvas)||(n.recreateCanvas=n.adjustAxes&&n.drawLegend&&n.drawTitle),n},_processRefreshData(e){const t=k.indexOf(this._currentRefreshData),n=k.indexOf(e);(!this._currentRefreshData||t>=0&&n<t)&&(this._currentRefreshData=e),this._requestChange(["REFRESH"])},_getLegendData(){return(0,b.map)(this._getLegendTargets(),(e=>{const{legendData:t}=e,n=e.getLegendStyles;let{opacity:i}=n.normal;e.visible||((!(0,l.isDefined)(i)||i>.3)&&(i=.3),t.textOpacity=.3);const o={opacity:i};return t.states={hover:(0,a.extend)({},n.hover,o),selection:(0,a.extend)({},n.selection,o),normal:(0,a.extend)({},n.normal,o)},t}))},_getLegendOptions(e){return{legendData:{text:e[this._legendItemTextField],id:e.index,visible:!0},getLegendStyles:e.getLegendStyles(),visible:e.isVisible()}},_disposeSeries(e){var t;this.series&&((0,l.isDefined)(e)?(this.series[e].dispose(),this.series.splice(e,1)):(this.series.forEach((e=>e.dispose())),this.series.length=0)),null!==(t=this.series)&&void 0!==t&&t.length||(this.series=[])},_disposeSeriesFamilies(){(this.seriesFamilies||[]).forEach((e=>{e.dispose()})),this.seriesFamilies=null,this._needHandleRenderComplete=!0},_optionChanged(e){this._themeManager.resetOptions(e.name),this.callBase.apply(this,arguments)},_applyChanges(){this._themeManager.update(this._options.silent()),this.callBase(...arguments)},_optionChangesMap:{animation:"ANIMATION",dataSource:"DATA_SOURCE",palette:"PALETTE",paletteExtensionMode:"PALETTE",legend:"FORCE_DATA_INIT",seriesTemplate:"FORCE_DATA_INIT",export:"FORCE_RENDER",valueAxis:"AXES_AND_PANES",argumentAxis:"AXES_AND_PANES",commonAxisSettings:"AXES_AND_PANES",panes:"AXES_AND_PANES",commonPaneSettings:"AXES_AND_PANES",defaultPane:"AXES_AND_PANES",containerBackgroundColor:"AXES_AND_PANES",rotated:"ROTATED",autoHidePointMarkers:"REFRESH_SERIES_REINIT",customizePoint:"REFRESH_SERIES_REINIT",customizeLabel:"REFRESH_SERIES_REINIT",scrollBar:"SCROLL_BAR"},_optionChangesOrder:["ROTATED","PALETTE","REFRESH_SERIES_REINIT","USE_SPIDER_WEB","AXES_AND_PANES","INIT","REINIT","DATA_SOURCE","REFRESH_SERIES_DATA_INIT","DATA_INIT","FORCE_DATA_INIT","REFRESH_AXES","CORRECT_AXIS"],_customChangesOrder:["ANIMATION","REFRESH_SERIES_FAMILIES","FORCE_FIRST_DRAWING","FORCE_DRAWING","FORCE_RENDER","VISUAL_RANGE","SCROLL_BAR","REINIT","REFRESH","FULL_RENDER"],_change_ANIMATION(){this._renderer.updateAnimationOptions(this._getAnimationOptions())},_change_DATA_SOURCE(){this._needHandleRenderComplete=!0,this._updateDataSource()},_change_PALETTE(){this._themeManager.updatePalette(),this._refreshSeries("DATA_INIT")},_change_REFRESH_SERIES_DATA_INIT(){this._refreshSeries("DATA_INIT")},_change_DATA_INIT(){this.series&&!this.needToPopulateSeries||this._changes.has("FORCE_DATA_INIT")||this._dataInit()},_change_FORCE_DATA_INIT(){this._dataInit()},_change_REFRESH_SERIES_FAMILIES(){this._processSeriesFamilies(),this._populateBusinessRange(),this._processRefreshData(A)},_change_FORCE_RENDER(){this._processRefreshData(A)},_change_AXES_AND_PANES(){this._refreshSeries("INIT")},_change_ROTATED(){this._createScrollBar(),this._refreshSeries("INIT")},_change_REFRESH_SERIES_REINIT(){this._refreshSeries("INIT")},_change_REFRESH_AXES(){(0,b.setCanvasValues)(this._canvas),this._reinitAxes(),this._requestChange(["CORRECT_AXIS","FULL_RENDER"])},_change_SCROLL_BAR(){this._createScrollBar(),this._processRefreshData(A)},_change_REINIT(){this._processRefreshData(T)},_change_FORCE_DRAWING(){this._resetComponentsAnimation()},_change_FORCE_FIRST_DRAWING(){this._resetComponentsAnimation(!0)},_resetComponentsAnimation(e){this.series.forEach((t=>{t.resetApplyingAnimation(e)})),this._resetAxesAnimation(e)},_resetAxesAnimation:r.noop,_refreshSeries(e){this.needToPopulateSeries=!0,this._requestChange([e])},_change_CORRECT_AXIS(){this._correctAxes()},_doRefresh(){const e=this._currentRefreshData;e&&(this._currentRefreshData=null,this._renderer.stopAllAnimations(!0),this[e]())},_updateCanvasClipRect(e){const t=Math.max(e.width-e.left-e.right,0),n=Math.max(e.height-e.top-e.bottom,0);this._canvasClipRect.attr({x:e.left,y:e.top,width:t,height:n}),this._backgroundRect.attr({x:e.left,y:e.top,width:t,height:n})},_getCanvasClipRectID(){return this._canvasClipRect.id},_dataSourceChangedHandler(){this._changes.has("INIT")?this._requestChange(["DATA_INIT"]):this._requestChange(["FORCE_DATA_INIT"])},_dataInit(){this._dataSpecificInit(!0)},_processSingleSeries(e){e.createPoints(!1)},_handleSeriesDataUpdated(){this._getVisibleSeries().some((e=>e.useAggregation()))&&this._populateMarginOptions(),this.series.forEach((e=>this._processSingleSeries(e)),this)},_dataSpecificInit(e){this.series&&!this.needToPopulateSeries||(this.series=this._populateSeries()),this._repopulateSeries(),this._seriesPopulatedHandlerCore(),this._populateBusinessRange(),this._tracker.updateSeries(this.series,this._changes.has("INIT")),this._updateLegend(),e&&this._requestChange(["FULL_RENDER"])},_forceRender(){this._doRender({force:!0})},_repopulateSeries(){const e=this._themeManager,t=this._dataSourceItems(),n=e.getOptions("dataPrepareSettings");e.getOptions("seriesTemplate")&&this._populateSeries(t),this._groupSeries();const i=(0,h.validateData)(t,this._groupsData,this._incidentOccurred,n);e.resetPalette(),this.series.forEach((e=>{e.updateData(i[e.getArgumentField()])})),this._handleSeriesDataUpdated()},_renderCompleteHandler(){let e=!0;this._needHandleRenderComplete&&(this.series.forEach((t=>{e=e&&t.canRenderCompleteHandle()})),e&&(this._needHandleRenderComplete=!1,this._eventTrigger("done",{target:this})))},_dataIsReady(){return(0,l.isDefined)(this.option("dataSource"))&&this._dataIsLoaded()},_populateSeriesOptions(e){const t=this._themeManager,n=t.getOptions("seriesTemplate"),i=n?(0,b.processSeriesTemplate)(n,e||[]):this.option("series"),o=E(i)?i:i?[i]:[],r=this._getExtraOptions();let s,c;const u=[],d=e=>{this._specialProcessSeries(),this._populateBusinessRange(e&&e.getValueAxis(),!0),this._renderer.stopAllAnimations(!0),this._updateLegend(),this._requestChange(["FULL_RENDER"])};for(let e=0;e<o.length;e++)s=(0,a.extend)(!0,{},o[e],r),(0,l.isDefined)(s.name)&&""!==s.name||(s.name=`Series ${(e+1).toString()}`),s.rotated=this._isRotated(),s.customizePoint=t.getOptions("customizePoint"),s.customizeLabel=t.getOptions("customizeLabel"),s.visibilityChanged=d,s.incidentOccurred=this._incidentOccurred,c=t.getOptions("series",s,o.length),this._checkPaneName(c)&&u.push(c);return u},_populateSeries(e){var t;const n=[],i=this._incidentOccurred,o=this._populateSeriesOptions(e);let r,l=!1;this.needToPopulateSeries=!1,o.forEach((e=>{var t;const i=null===(t=this.series)||void 0===t?void 0:t.find((t=>t.name===e.name&&!n.map((e=>e.series)).includes(t)));i&&i.type===e.type?n.push({series:i,options:e}):(n.push({options:e}),l=!0)})),0!==(null===(t=this.series)||void 0===t?void 0:t.length)&&this._tracker.clearHover(),(0,s.reverseEach)(this.series,((e,t)=>{n.some((e=>t===e.series))||(this._disposeSeries(e),l=!0)})),!l&&(l=n.some((e=>e.series.name!==o[e.series.index].name))),this.series=[],l&&this._disposeSeriesFamilies(),this._themeManager.resetPalette();const c=e=>{this.series.forEach((t=>{t.notify(e)}))};return n.forEach((e=>{var t;const n=e.options,o=(null===(t=this._argumentAxes)||void 0===t?void 0:t.filter((e=>e.pane===n.pane))[0])??this.getArgumentAxis(),s={commonSeriesModes:this._getSelectionModes(),argumentAxis:o,valueAxis:this._getValueAxis(n.pane,n.axis)};e.series?(r=e.series,r.updateOptions(n,s)):r=new y.Series((0,a.extend)({renderer:this._renderer,seriesGroup:this._seriesGroup,labelsGroup:this._labelsGroup,eventTrigger:this._eventTrigger,eventPipe:c,incidentOccurred:i},s),n),r.isUpdated?(r.index=this.series.length,this.series.push(r)):i("E2101",[n.type])})),this.series},getStackedPoints(e){const t=e.series.getStackName();return this._getVisibleSeries().reduce(((n,i)=>((0,l.isDefined)(i.getStackName())&&(0,l.isDefined)(t)&&t!==i.getStackName()||(n=n.concat(i.getPointsByArg(e.argument))),n)),[])},getAllSeries:function(){return(this.series||[]).slice()},getSeriesByName:function(e){return(this.series||[]).find((t=>t.name===e))||null},getSeriesByPos:function(e){return(this.series||[])[e]},clearSelection:function(){this._tracker.clearSelection()},hideTooltip(){this._tracker._hideTooltip()},clearHover(){this._tracker.clearHover()},render(e){return this.__renderOptions=e,this.__forceRender=e&&e.force,this.callBase.apply(this,arguments),this.__renderOptions=this.__forceRender=null,this},refresh(){this._disposeSeries(),this._disposeSeriesFamilies(),this._requestChange(["CONTAINER_SIZE","REFRESH_SERIES_REINIT"])},_getMinSize(){const e=this._layoutManagerOptions();return[e.width,e.height]},_change_REFRESH(){this._changes.has("INIT")?this._currentRefreshData=null:this._doRefresh()},_change_FULL_RENDER(){this._forceRender()},_change_INIT(){this._reinit()},_stopCurrentHandling(){this._disposed||this._tracker.stopCurrentHandling()}});["series","commonSeriesSettings","dataPrepareSettings","seriesSelectionMode","pointSelectionMode","synchronizeMultiAxes","resolveLabelsOverlapping"].forEach((e=>{R.prototype._optionChangesMap[e]="REFRESH_SERIES_DATA_INIT"})),["adaptiveLayout","crosshair","resolveLabelOverlapping","adjustOnZoom","stickyHovering"].forEach((e=>{R.prototype._optionChangesMap[e]="FORCE_RENDER"})),["minBubbleSize","maxBubbleSize","barGroupPadding","barGroupWidth","negativesAsZeroes","negativesAsZeros"].forEach((e=>{R.prototype._optionChangesMap[e]="REFRESH_SERIES_FAMILIES"})),R.addPlugin(g.plugin),R.addPlugin(m.plugin),R.addPlugin(p.plugin),R.addPlugin(v.plugin),R.addPlugin(_.plugin);const{_change_TITLE:I}=R.prototype;R.prototype._change_TITLE=function(){I.apply(this,arguments),this._change(["FORCE_RENDER"])}},59282:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.RollingStock=void 0;t.RollingStock=class{constructor(e,t,n){const i=e.getBoundingRect(),{x:o}=i,{y:r}=i,a=i.x+i.width,s=i.y+i.height;this.labels=[e],this.shiftFunction=n,this.bBox={start:t?o:r,width:t?i.width:i.height,end:t?a:s,oppositeStart:t?r:o,oppositeEnd:t?s:a},this.initialPosition=t?i.x:i.y}toChain(e){const t=e.getBoundingRect();e.shift(t.start-this.bBox.end),this.changeBoxWidth(t.width),this.labels=this.labels.concat(e.labels)}getBoundingRect(){return this.bBox}shift(e){this.labels.forEach((t=>{const n=t.getBoundingRect(),i=this.shiftFunction(n,e);t.hideInsideLabel(i)||t.shift(i.x,i.y)})),this.bBox.end-=e,this.bBox.start-=e}setRollingStockInCanvas(e){this.bBox.end>e.end&&this.shift(this.bBox.end-e.end)}getLabels(){return this.labels}value(){return this.labels[0].getData().value}getInitialPosition(){return this.initialPosition}changeBoxWidth(e){this.bBox.end+=e,this.bBox.width+=e}}},34506:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=w(n(92774)),o=w(n(65951)),r=w(n(64960)),a=w(n(97832)),s=w(n(64553)),l=n(17781),c=n(87739),u=n(52576),d=n(21274),h=n(57653),f=n(11528),p=n(3104),g=n(71671),_=n(95943),m=w(n(38355)),v=n(71115),b=w(n(48874)),y=n(63022),x=n(28779),C=n(2225),S=w(n(55351));function w(e){return e&&e.__esModule?e:{default:e}}const{log:E}=m.default,T="rtlEnabled",A="dx-sized-element",O=a.default.prototype.option;function k(){return!0}function D(){return!1}function L(e){e.component._eventsStrategy.hasEvent("incidentOccurred")||E.apply(null,[e.target.id].concat(e.target.args||[]))}function P(e){return e.reduce(((e,t)=>t>0&&!e?t:e),0)}function M(e){e.forEach((e=>e()))}const R=!(0,p.hasWindow)()?function(){const e={_initTemplates(){},ctor(e,t){this.callBase(e,t);const n=r.default.createElement("div"),i=t&&(0,f.isNumeric)(t.width)?`${t.width}px`:"100%",o=t&&(0,f.isNumeric)(t.height)?`${t.height}px`:`${this._getDefaultSize().height}px`;r.default.setStyle(n,"width",i),r.default.setStyle(n,"height",o),r.default.setClass(n,A,!1),r.default.insertElement(e,n)}},t=a.default.inherit(e),n=t.inherit;return t.inherit=function(e){return Object.keys(e).forEach((t=>{((0,f.isFunction)(e[t])&&"_"!==t.substr(0,1)&&"option"!==t||"_dispose"===t||"_optionChanged"===t)&&(e[t]=l.noop)})),n.call(this,e)},t}():a.default.inherit({_eventsMap:{onIncidentOccurred:{name:"incidentOccurred",actionSettings:{excludeValidators:["disabled"]}},onDrawn:{name:"drawn",actionSettings:{excludeValidators:["disabled"]}}},_getDefaultOptions(){return(0,u.extend)(this.callBase(),{onIncidentOccurred:L})},_useLinks:!0,_init(){this._$element.children(`.${A}`).remove(),this._graphicObjects={},this.callBase(...arguments),this._changesLocker=0,this._optionChangedLocker=0,this._asyncFirstDrawing=!0,this._changes=(0,v.changes)(),this._suspendChanges(),this._themeManager=this._createThemeManager(),this._themeManager.setCallback((()=>{this._requestChange(this._themeDependentChanges)})),this._renderElementAttributes(),this._initRenderer();const e=this._useLinks;e&&this._renderer.root.enableLinks().virtualLink("core").virtualLink("peripheral"),this._renderVisibilityChange(),this._attachVisibilityChangeHandlers(),this._toggleParentsScrollSubscription(this._isVisible()),this._initEventTrigger(),this._incidentOccurred=(0,_.createIncidentOccurred)(this.NAME,this._eventTrigger),this._layout=new b.default,e&&this._renderer.root.linkAfter("core"),this._initPlugins(),this._initCore(),e&&this._renderer.root.linkAfter(),this._change(this._initialChanges)},_createThemeManager(){return new g.BaseThemeManager(this._getThemeManagerOptions())},_getThemeManagerOptions(){return{themeSection:this._themeSection,fontFields:this._fontFields}},_initialChanges:["LAYOUT","RESIZE_HANDLER","THEME","DISABLED"],_initPlugins(){(0,d.each)(this._plugins,((e,t)=>{t.init.call(this)}))},_disposePlugins(){(0,d.each)(this._plugins.slice().reverse(),((e,t)=>{t.dispose.call(this)}))},_change(e){this._changes.add(e)},_suspendChanges(){this._changesLocker+=1},_resumeChanges(){0==--this._changesLocker&&this._changes.count()>0&&!this._applyingChanges&&(this._renderer.lock(),this._applyingChanges=!0,this._applyChanges(),this._changes.reset(),this._applyingChanges=!1,this._changesApplied(),this._renderer.unlock(),this._optionsQueue&&this._applyQueuedOptions(),this.resolveItemsDeferred(this._legend?[this._legend]:[]),this._optionChangedLocker+=1,this._notify(),this._optionChangedLocker-=1)},resolveItemsDeferred(e){this._resolveDeferred(this._getTemplatesItems(e))},_collectTemplatesFromItems:e=>e.reduce(((e,t)=>({items:e.items.concat(t.getTemplatesDef()),groups:e.groups.concat(t.getTemplatesGroups())})),{items:[],groups:[]}),_getTemplatesItems(e){const t=this._collectTemplatesFromItems(e),n=this._getExtraTemplatesItems();return{items:n.items.concat(t.items),groups:n.groups.concat(t.groups),launchRequest:[n.launchRequest],doneRequest:[n.doneRequest]}},_getExtraTemplatesItems:()=>({items:[],groups:[],launchRequest:()=>{},doneRequest:()=>{}}),_resolveDeferred(e){let{items:t,launchRequest:n,doneRequest:i,groups:o}=e;if(this._setGroupsVisibility(o,"hidden"),this._changesApplying)return this._changesApplying=!1,void M(i);let r=!0;c.when.apply(this,t).done((()=>{var e;if(!!(null!==(e=o[0])&&void 0!==e&&e.element&&!(0,s.default)(o[0].element.closest("svg")).length))return;if(r)return void this._setGroupsVisibility(o,"visible");M(n),this._changesApplying=!0;const t=["LAYOUT","FULL_RENDER"];this._asyncFirstDrawing?(t.push("FORCE_FIRST_DRAWING"),this._asyncFirstDrawing=!1):t.push("FORCE_DRAWING"),this._requestChange(t),this._setGroupsVisibility(o,"visible")})),r=!1},_setGroupsVisibility(e,t){e.forEach((e=>e.attr({visibility:t})))},_applyQueuedOptions(){const e=this._optionsQueue;this._optionsQueue=null,this.beginUpdate(),(0,d.each)(e,((e,t)=>{t()})),this.endUpdate()},_requestChange(e){this._suspendChanges(),this._change(e),this._resumeChanges()},_applyChanges(){const e=this._changes,t=this._totalChangesOrder,n=t.length;for(let i=0;i<n;i+=1)e.has(t[i])&&this[`_change_${t[i]}`]()},_optionChangesOrder:["EVENTS","THEME","RENDERER","RESIZE_HANDLER"],_layoutChangesOrder:["ELEMENT_ATTR","CONTAINER_SIZE","LAYOUT"],_customChangesOrder:["DISABLED"],_change_EVENTS(){this._eventTrigger.applyChanges()},_change_THEME(){this._setThemeAndRtl()},_change_RENDERER(){this._setRendererOptions()},_change_RESIZE_HANDLER(){this._setupResizeHandler()},_change_ELEMENT_ATTR(){this._renderElementAttributes(),this._change(["CONTAINER_SIZE"])},_change_CONTAINER_SIZE(){this._updateSize()},_change_LAYOUT(){this._setContentSize()},_change_DISABLED(){const e=this._renderer,{root:t}=e;this.option("disabled")?(this._initDisabledState=t.attr("pointer-events"),t.attr({"pointer-events":"none",filter:e.getGrayScaleFilter().id})):"none"===t.attr("pointer-events")&&t.attr({"pointer-events":(0,f.isDefined)(this._initDisabledState)?this._initDisabledState:null,filter:null})},_themeDependentChanges:["RENDERER"],_initRenderer(){const e=this._calculateRawCanvas();this._canvas=(0,C.floorCanvasDimensions)(e),this._renderer=new y.Renderer({cssClass:`${this._rootClassPrefix} ${this._rootClass}`,pathModified:this.option("pathModified"),container:this._$element[0]}),this._renderer.resize(this._canvas.width,this._canvas.height)},_disposeRenderer(){this._renderer.dispose()},_disposeGraphicObjects(){Object.keys(this._graphicObjects).forEach((e=>{this._graphicObjects[e].dispose()})),this._graphicObjects=null},_getAnimationOptions:l.noop,render(){this._requestChange(["CONTAINER_SIZE"]);const e=this._isVisible();this._toggleParentsScrollSubscription(e),!e&&this._stopCurrentHandling()},_toggleParentsScrollSubscription(e){let t=(0,s.default)(this._renderer.root.element).parents();const n="scroll.viz_widgets";"generic"===o.default.real().platform&&(t=t.add((0,p.getWindow)())),this._proxiedTargetParentsScrollHandler=this._proxiedTargetParentsScrollHandler||function(){this._stopCurrentHandling()}.bind(this),i.default.off((0,s.default)("").add(this._$prevRootParents),n,this._proxiedTargetParentsScrollHandler),e&&(i.default.on(t,n,this._proxiedTargetParentsScrollHandler),this._$prevRootParents=t)},_stopCurrentHandling:l.noop,_dispose(){this._disposed||(this.callBase(...arguments),this._toggleParentsScrollSubscription(!1),this._removeResizeHandler(),this._layout.dispose(),this._eventTrigger.dispose(),this._disposeCore(),this._disposePlugins(),this._disposeGraphicObjects(),this._disposeRenderer(),this._themeManager.dispose(),this._themeManager=null,this._renderer=null,this._eventTrigger=null)},_initEventTrigger(){this._eventTrigger=(0,_.createEventTrigger)(this._eventsMap,((e,t)=>this._createActionByOption(e,t)))},_calculateRawCanvas(){const e=this.option("size")||{},t=this.option("margin")||{},n=this._getDefaultSize()||{},i=(e,t,n)=>{if(i=e[t],(0,f.isDefined)(i)&&i>0||!(0,p.hasWindow)())return 0;var i;const o=n(this._$element);return o<=1?0:o},o=i(e,"width",(e=>(0,h.getWidth)(e))),r=i(e,"height",(e=>(0,h.getHeight)(e)));let a={width:e.width<=0?0:P([e.width,o,n.width]),height:e.height<=0?0:P([e.height,r,n.height]),left:P([t.left,n.left]),top:P([t.top,n.top]),right:P([t.right,n.right]),bottom:P([t.bottom,n.bottom])};return(a.width-a.left-a.right<=0||a.height-a.top-a.bottom<=0)&&(a={width:0,height:0}),a},_updateSize(){const e=this._calculateRawCanvas();((0,C.areCanvasesDifferent)(this._canvas,e)||this.__forceRender)&&(this._canvas=(0,C.floorCanvasDimensions)(e),this._recreateSizeDependentObjects(!0),this._renderer.resize(this._canvas.width,this._canvas.height),this._change(["LAYOUT"]))},_recreateSizeDependentObjects:l.noop,_getMinSize:()=>[0,0],_getAlignmentRect:l.noop,_setContentSize(){const e=this._canvas,t=this._layout;let n=e.width>0&&e.height>0?[e.left,e.top,e.width-e.right,e.height-e.bottom]:[0,0,0,0];n=t.forward(n,this._getMinSize());const i=this._applySize(n)||n;t.backward(i,this._getAlignmentRect()||i)},_getOption(e,t){const n=this._themeManager.theme(e),i=this.option(e);return t?void 0!==i?i:n:(0,u.extend)(!0,{},n,i)},_setupResizeHandler(){const e=(0,x.parseScalar)(this._getOption("redrawOnResize",!0),!0);this._disposeResizeHandler&&this._removeResizeHandler(),this._disposeResizeHandler=(0,_.createResizeHandler)(this._$element[0],e,(()=>this._requestChange(["CONTAINER_SIZE"])))},_removeResizeHandler(){this._disposeResizeHandler&&(this._disposeResizeHandler(),this._disposeResizeHandler=null)},_onBeginUpdate:l.noop,beginUpdate(){return this._initialized&&this._isUpdateAllowed()&&(this._onBeginUpdate(),this._suspendChanges()),this.callBase(...arguments),this},endUpdate(){return this.callBase(),this._isUpdateAllowed()&&this._resumeChanges(),this},option(e){if(!(this._initialized&&this._applyingChanges&&(arguments.length>1||(0,f.isObject)(e))))return O.apply(this,arguments);this._optionsQueue=this._optionsQueue||[],this._optionsQueue.push(this._getActionForUpdating(arguments))},_getActionForUpdating(e){return()=>{O.apply(this,e)}},_clean:l.noop,_render:l.noop,_optionChanged(e){if(this._optionChangedLocker)return;const t=this.getPartialChangeOptionsName(e);let n=[];t.length>0?t.forEach((e=>n.push(this._partialOptionChangesMap[e]))):n.push(this._optionChangesMap[e.name]),n=n.filter((e=>!!e)),this._eventTrigger.change(e.name)?this._change(["EVENTS"]):n.length>0?this._change(n):this.callBase.apply(this,arguments)},_notify:l.noop,_changesApplied:l.noop,_optionChangesMap:{size:"CONTAINER_SIZE",margin:"CONTAINER_SIZE",redrawOnResize:"RESIZE_HANDLER",theme:"THEME",rtlEnabled:"THEME",encodeHtml:"THEME",elementAttr:"ELEMENT_ATTR",disabled:"DISABLED"},_partialOptionChangesMap:{},_partialOptionChangesPath:{},getPartialChangeOptionsName(e){const{fullName:t}=e,n=t.split(/[.]/),{name:i}=e,{value:o}=e,r=this._partialOptionChangesPath[i],a=[];return r&&(!0===r?a.push(i):(r.forEach((e=>{t.indexOf(e)>=0&&a.push(e)})),1===n.length&&("object"===(0,f.type)(o)?this._addOptionsNameForPartialUpdate(o,r,a):"array"===(0,f.type)(o)&&o.length>0&&o.every((e=>this._checkOptionsForPartialUpdate(e,r)))&&o.forEach((e=>{this._addOptionsNameForPartialUpdate(e,r,a)}))))),a.filter(((e,t,n)=>n.indexOf(e)===t))},_checkOptionsForPartialUpdate:(e,t)=>!Object.keys(e).some((e=>-1===t.indexOf(e))),_addOptionsNameForPartialUpdate(e,t,n){const i=Object.keys(e);this._checkOptionsForPartialUpdate(e,t)&&i.forEach((e=>t.indexOf(e)>-1&&n.push(e)))},_visibilityChanged(){this.render()},_setThemeAndRtl(){this._themeManager.setTheme(this.option("theme"),this.option(T))},_getRendererOptions(){return{rtl:this.option(T),encodeHtml:this.option("encodeHtml"),animation:this._getAnimationOptions()}},_setRendererOptions(){this._renderer.setOptions(this._getRendererOptions())},svg(){return this._renderer.svg()},getSize(){const e=this._canvas||{};return{width:e.width,height:e.height}},isReady:D,_dataIsReady:k,_resetIsReady(){this.isReady=D},_renderGraphicObjects(){const e=this._renderer,t=S.default.getGraphicObjects();Object.keys(t).forEach((n=>{if(!this._graphicObjects[n]){const{type:i,colors:o,rotationAngle:r,template:a,width:s,height:l}=t[n];switch(i){case"linear":this._graphicObjects[n]=e.linearGradient(o,n,r);break;case"radial":this._graphicObjects[n]=e.radialGradient(o,n);break;case"pattern":this._graphicObjects[n]=e.customPattern(n,this._getTemplate(a),s,l)}}}))},_drawn(){this.isReady=D,this._dataIsReady()&&this._renderer.onEndAnimation((()=>{this.isReady=k})),this._eventTrigger("drawn",{})}});t.default=R;(0,v.replaceInherit)(R)},12638:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{baseThemeName:"material.blue.light",theme:{name:"fluent.blue.light"}},{baseThemeName:"fluent.blue.light",theme:{name:"fluent.blue.light.compact"}},{baseThemeName:"fluent.blue.light",theme:{name:"fluent.saas.light"}},{baseThemeName:"fluent.saas.light",theme:{name:"fluent.saas.light.compact"}},{baseThemeName:"material.blue.dark",theme:{name:"fluent.blue.dark"}},{baseThemeName:"fluent.blue.dark",theme:{name:"fluent.blue.dark.compact"}},{baseThemeName:"fluent.blue.dark",theme:{name:"fluent.saas.dark"}},{baseThemeName:"fluent.saas.dark",theme:{name:"fluent.saas.dark.compact"}}]},58208:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#f05b41",i="#fff",o="#333",r="#8899a8",a="#707070",s="#dee1e3";t.default=[{baseThemeName:"generic.light",theme:{name:"generic.carmine",defaultPalette:"Carmine",backgroundColor:i,primaryTitleColor:o,secondaryTitleColor:r,gridColor:s,axisColor:a,export:{backgroundColor:i,font:{color:o},button:{default:{color:o,borderColor:"#b1b7bd",backgroundColor:i},hover:{color:o,borderColor:"#b1b7bd",backgroundColor:"#faf2f0"},focus:{color:o,borderColor:"#6d7781",backgroundColor:"#faf2f0"},active:{color:o,borderColor:"#6d7781",backgroundColor:"#f5e7e4"}}},legend:{font:{color:a}},tooltip:{color:i,border:{color:s},font:{color:o}},"chart:common":{commonSeriesSettings:{label:{border:{color:s}}}},"chart:common:annotation":{font:{color:o},border:{color:s},color:i},chart:{commonPaneSettings:{border:{color:s}},commonAxisSettings:{breakStyle:{color:"#c1c5c7"}}},rangeSelector:{scale:{breakStyle:{color:"#c1c5c7"},tick:{opacity:.12}},selectedRangeColor:n,sliderMarker:{color:n},sliderHandle:{color:n,opacity:.5}},sparkline:{pointColor:i,minColor:"#f0ad4e",maxColor:"#f74d61"},treeMap:{group:{color:s,label:{font:{color:r}}}},bullet:{color:n},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n}}}}},{baseThemeName:"generic.carmine",theme:{name:"generic.carmine.compact"}}]},2611:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#ffffff",i="#000000",o="#cf00da",r="#f8ca00";t.default=[{baseThemeName:"generic.light",theme:{name:"generic.contrast",defaultPalette:"Bright",font:{color:n},backgroundColor:i,primaryTitleColor:n,secondaryTitleColor:n,gridColor:n,axisColor:n,export:{backgroundColor:i,font:{color:n},button:{default:{color:n,borderColor:n,backgroundColor:i},hover:{color:n,borderColor:n,backgroundColor:"#cf00d7"},focus:{color:n,borderColor:"#cf00d7",backgroundColor:i},active:{color:i,borderColor:n,backgroundColor:n}},borderColor:n,menuButtonColor:i,activeBackgroundColor:n,activeColor:i,selectedBorderColor:o,selectedColor:o,shadowColor:"none"},tooltip:{border:{color:n},font:{color:n},color:i},"chart:common":{commonSeriesSettings:{valueErrorBar:{color:n},hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}},label:{font:{color:n},border:{color:n}}}},"chart:common:axis":{constantLineStyle:{color:n}},"chart:common:annotation":{font:{color:n},border:{color:n},color:i},chart:{commonSeriesSettings:{},crosshair:{color:"#cf00d7"},commonPaneSettings:{backgroundColor:i,border:{color:n}},scrollBar:{color:n},commonAxisSettings:{breakStyle:{color:"#cf00d7"}},zoomAndPan:{dragBoxStyle:{color:n,opacity:.7}}},pie:{commonSeriesSettings:{pie:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},doughnut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},donut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}}}},gauge:{rangeContainer:{backgroundColor:n},valueIndicators:{_default:{color:n},rangebar:{color:n,backgroundColor:i},twocolorneedle:{secondColor:n},trianglemarker:{color:n},textcloud:{color:n,text:{font:{color:i}}}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:n,opacity:.4},minorTick:{color:n,opacity:.12},breakStyle:{color:"#cf00d7"}},selectedRangeColor:o,sliderMarker:{color:o},sliderHandle:{color:o,opacity:1},shutter:{opacity:.75},background:{color:i}},map:{background:{borderColor:n},layer:{label:{stroke:i,font:{color:n}}},"layer:area":{borderColor:i,color:"#686868",hoveredBorderColor:n,selectedBorderColor:n,label:{font:{opacity:1}}},"layer:line":{color:"#267cff",hoveredColor:"#f613ff",selectedColor:n},"layer:marker:dot":{borderColor:i,color:r,backColor:i,backOpacity:.32},"layer:marker:bubble":{color:r,hoveredBorderColor:n,selectedBorderColor:n},"layer:marker:pie":{hoveredBorderColor:n,selectedBorderColor:n},controlBar:{borderColor:n,color:i,opacity:.3}},treeMap:{tile:{color:"#70c92f"},group:{color:"#797979",label:{font:{color:n}}}},sparkline:{pointColor:i},bullet:{},polar:{commonSeriesSettings:{}},funnel:{label:{connector:{opacity:1}}},sankey:{label:{font:{color:n},shadow:{opacity:0}},node:{border:{visible:!0,width:1,color:n}},link:{opacity:.5,border:{visible:!0,width:1,color:n},hoverStyle:{opacity:.9}}}}},{baseThemeName:"generic.contrast",theme:{name:"generic.contrast.compact"}}]},52541:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#ffffff",i="#2b2b2b",o="#b5b5b5",r="#303030",a="#c7c7c7",s="#8e8e8e",l="#b8b8b8",c="#494949";t.default=[{baseThemeName:"generic.light",theme:{name:"generic.dark",font:{color:"#808080"},backgroundColor:"#2a2a2a",primaryTitleColor:"#dedede",secondaryTitleColor:"#a3a3a3",gridColor:"#555555",axisColor:"#a3a3a3",export:{backgroundColor:"#2a2a2a",font:{color:"#dbdbdb"},button:{default:{color:"#dedede",borderColor:"#4d4d4d",backgroundColor:"#2e2e2e"},hover:{color:"#dedede",borderColor:"#6c6c6c",backgroundColor:"#444"},focus:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#444444"},active:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#555555"}},shadowColor:"#292929"},tooltip:{color:i,border:{color:c},font:{color:"#929292"}},"chart:common":{commonSeriesSettings:{label:{border:{color:c}},valueErrorBar:{color:n}}},"chart:common:axis":{constantLineStyle:{color:n}},"chart:common:annotation":{font:{color:"#929292"},border:{color:c},color:i,shadow:{opacity:.008,offsetY:4,blur:8}},chart:{commonPaneSettings:{border:{color:c}},commonAxisSettings:{breakStyle:{color:"#818181"}},zoomAndPan:{dragBoxStyle:{color:n}}},gauge:{rangeContainer:{backgroundColor:o},valueIndicators:{_default:{color:o},rangebar:{color:"#84788b"},twocolorneedle:{secondColor:"#ba544d"},trianglemarker:{color:"#b7918f"},textcloud:{color:"#ba544d"}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:n,opacity:.32},minorTick:{color:n,opacity:.1},breakStyle:{color:"#818181"}},selectedRangeColor:o,sliderMarker:{color:o,font:{color:r}},sliderHandle:{color:n,opacity:.2},shutter:{color:i,opacity:.9}},map:{background:{borderColor:"#3f3f3f"},layer:{label:{stroke:"#000000",font:{color:n}}},"layer:area":{borderColor:r,color:"#686868",hoveredBorderColor:n,selectedBorderColor:n},"layer:line":{color:"#c77244",hoveredColor:"#ff5d04",selectedColor:"#ff784f"},"layer:marker:bubble":{hoveredBorderColor:n,selectedBorderColor:n},"layer:marker:pie":{hoveredBorderColor:n,selectedBorderColor:n},legend:{border:{color:"#3f3f3f"},font:{color:n}},controlBar:{borderColor:a,color:r}},treeMap:{group:{color:"#4c4c4c",label:{font:{color:"#a3a3a3"}}}},sparkline:{lineColor:a,firstLastColor:a,barPositiveColor:l,barNegativeColor:s,winColor:l,lossColor:s,pointColor:r},bullet:{targetColor:s},funnel:{item:{border:{color:"#2a2a2a"}}},sankey:{label:{font:{color:n},shadow:{opacity:0}},node:{border:{color:"#2a2a2a"}},link:{color:"#888888",border:{color:"#2a2a2a"},hoverStyle:{color:"#bbbbbb"}}}}},{baseThemeName:"generic.dark",theme:{name:"generic.dark.compact"}}]},9940:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#3debd3",i="#465672",o="#fff",r="#c7ccd4",a="#596980";t.default=[{baseThemeName:"generic.dark",theme:{name:"generic.darkmoon",defaultPalette:"Dark Moon",backgroundColor:i,primaryTitleColor:o,secondaryTitleColor:"#919bac",gridColor:a,axisColor:r,export:{backgroundColor:i,font:{color:o},button:{default:{color:o,borderColor:"#7a889e",backgroundColor:i},hover:{color:o,borderColor:"#9da8b8",backgroundColor:"#596e92"},focus:{color:o,borderColor:"#c4cad4",backgroundColor:"#596e92"},active:{color:o,borderColor:"#c4cad4",backgroundColor:"#6b80a4"}}},legend:{font:{color:r}},tooltip:{color:"#62789e",border:{color:a},font:{color:o}},"chart:common":{commonSeriesSettings:{label:{border:{color:a}}}},"chart:common:annotation":{font:{color:o},border:{color:a},color:"#62789e"},chart:{commonPaneSettings:{border:{color:a}},commonAxisSettings:{breakStyle:{color:"#73869e"}}},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n,text:{font:{color:i}}}}},barGauge:{backgroundColor:"#526280"},funnel:{item:{border:{color:i}}},sparkline:{pointColor:i,minColor:"#f0ad4e",maxColor:"#f9517e"},treeMap:{group:{color:a,label:{font:{color:o}}}},map:{background:{borderColor:a},"layer:area":{color:"#97a3b6",borderColor:i}},rangeSelector:{shutter:{color:i},scale:{breakStyle:{color:"#73869e"},tick:{opacity:.2}},selectedRangeColor:n,sliderMarker:{color:n,font:{color:"#000"}},sliderHandle:{color:n,opacity:.5}},bullet:{color:n},sankey:{link:{border:{color:i}},node:{border:{color:i}}}}},{baseThemeName:"generic.darkmoon",theme:{name:"generic.darkmoon.compact"}}]},26374:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#9c63ff",i="#17171f",o="#f5f6f7",r="#fff",a="#b2b2b6",s="#343840";t.default=[{baseThemeName:"generic.dark",theme:{name:"generic.darkviolet",defaultPalette:"Dark Violet",backgroundColor:i,primaryTitleColor:o,secondaryTitleColor:r,gridColor:s,axisColor:a,export:{backgroundColor:i,font:{color:o},button:{default:{color:o,borderColor:"#414152",backgroundColor:i},hover:{color:o,borderColor:"#5c5c74",backgroundColor:"#2d2d3c"},focus:{color:o,borderColor:"#7c7c97",backgroundColor:"#2d2d3c"},active:{color:o,borderColor:"#7c7c97",backgroundColor:"#3c3c51"}}},legend:{font:{color:a}},tooltip:{color:i,border:{color:"#414152"},font:{color:o}},"chart:common":{commonSeriesSettings:{label:{border:{color:s}}}},"chart:common:annotation":{font:{color:o},border:{color:"#414152"},color:i},chart:{commonPaneSettings:{border:{color:s}},commonAxisSettings:{breakStyle:{color:"#575e6b"}}},funnel:{item:{border:{color:i}}},sparkline:{pointColor:i,minColor:"#f0ad4e",maxColor:"#d9534f"},treeMap:{group:{color:s,label:{font:{color:r}}}},rangeSelector:{shutter:{color:i},scale:{breakStyle:{color:"#575e6b"},tick:{opacity:.2}},selectedRangeColor:n,sliderMarker:{color:n,font:{color:"#fff"}},sliderHandle:{color:n,opacity:.5}},bullet:{color:n},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n}}},sankey:{link:{border:{color:i}},node:{border:{color:i}}}}},{baseThemeName:"generic.darkviolet",theme:{name:"generic.darkviolet.compact"}}]},29431:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#3cbab2",i="#f5f5f5",o="#28484f",r="#7eb2be",a="#657c80",s="#dedede";t.default=[{baseThemeName:"generic.light",theme:{name:"generic.greenmist",defaultPalette:"Green Mist",backgroundColor:i,primaryTitleColor:o,secondaryTitleColor:r,gridColor:s,axisColor:a,export:{backgroundColor:i,font:{color:o},button:{default:{color:o,borderColor:"#a2b4b8",backgroundColor:i},hover:{color:o,borderColor:"#7f989e",backgroundColor:"rgba(222, 222, 222, 0.4)"},focus:{color:o,borderColor:"#5f777c",backgroundColor:"rgba(222, 222, 222, 0.4)"},active:{color:o,borderColor:"#5f777c",backgroundColor:"rgba(222, 222, 222, 0.8)"}}},legend:{font:{color:a}},tooltip:{color:"#fff",border:{color:s},font:{color:o}},"chart:common":{commonSeriesSettings:{label:{border:{color:s}}}},"chart:common:annotation":{color:"#fff",border:{color:s},font:{color:o}},chart:{commonPaneSettings:{border:{color:s}},commonAxisSettings:{breakStyle:{color:"#c1c1c1"}}},funnel:{item:{border:{color:i}}},sparkline:{pointColor:i,minColor:"#ffc852",maxColor:"#f74a5e"},treeMap:{group:{color:s,label:{font:{color:r}}}},rangeSelector:{shutter:{color:i},scale:{breakStyle:{color:"#c1c1c1"},tick:{opacity:.12}},selectedRangeColor:n,sliderMarker:{color:n},sliderHandle:{color:n,opacity:.5}},bullet:{color:n},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n}}}}},{baseThemeName:"generic.greenmist",theme:{name:"generic.greenmist.compact"}}]},39599:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={barGauge:{backgroundColor:"#e0e0e0",relativeInnerRadius:.3,barSpacing:4,resolveLabelOverlapping:"hide",label:{indent:20,connectorWidth:2,font:{size:16}},legend:{visible:!1},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:i.CENTER,verticalAlignment:i.BOTTOM},text:{font:{size:18}}}}}},5828:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={bullet:{color:"#e8c267",targetColor:"#666666",targetWidth:4,showTarget:!0,showZeroLevel:!0,tooltip:{enabled:!0}}}},67322:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={"chart:common":{animation:{enabled:!0,duration:1e3,easing:"easeOutCubic",maxPointCountSupported:300},commonSeriesSettings:{border:{visible:!1,width:2},showInLegend:!0,visible:!0,hoverMode:"nearestPoint",selectionMode:"includePoints",hoverStyle:{hatching:{direction:i.RIGHT,width:2,step:6,opacity:.75},highlight:!0,border:{visible:!1,width:3}},selectionStyle:{hatching:{direction:i.RIGHT,width:2,step:6,opacity:.5},highlight:!0,border:{visible:!1,width:3}},valueErrorBar:{displayMode:"auto",value:1,color:i.BLACK,lineWidth:2,edgeLength:8},label:{visible:!1,alignment:i.CENTER,rotationAngle:0,horizontalOffset:0,verticalOffset:0,radialOffset:0,showForZeroValues:!0,customizeText:void 0,maxLabelCount:void 0,position:i.OUTSIDE,font:{color:i.WHITE},border:{visible:!1,width:1,color:i.LIGHT_GREY,dashStyle:i.SOLID},connector:{visible:!1,width:1}}},seriesSelectionMode:"single",pointSelectionMode:"single",equalRowHeight:!0,dataPrepareSettings:{checkTypeForAllData:!1,convertToAxisDataType:!0,sortingMethod:!0},title:{margin:10},adaptiveLayout:{width:80,height:80,keepLabels:!0},_rtl:{legend:{itemTextPosition:i.LEFT}},resolveLabelOverlapping:i.NONE},"chart:common:axis":{visible:!0,valueMarginsEnabled:!0,placeholderSize:null,logarithmBase:10,discreteAxisDivisionMode:"betweenLabels",aggregatedPointsPosition:"betweenTicks",width:1,label:{visible:!0},grid:{visible:!1,width:1},minorGrid:{visible:!1,width:1,opacity:.3},tick:{visible:!0,width:1,length:7,shift:3},minorTick:{visible:!1,width:1,opacity:.3,length:7,shift:3},stripStyle:{paddingLeftRight:10,paddingTopBottom:5},constantLineStyle:{width:1,color:i.BLACK,dashStyle:i.SOLID,label:{visible:!0,position:i.INSIDE}},marker:{label:{}}},"chart:common:annotation":{font:{color:"#333333"},tooltipEnabled:!0,border:{width:1,color:"#dddddd",dashStyle:i.SOLID,visible:!0},color:i.WHITE,opacity:.9,arrowLength:14,arrowWidth:14,paddingLeftRight:10,paddingTopBottom:10,shadow:{opacity:.15,offsetX:0,offsetY:1,blur:4,color:i.BLACK},image:{width:30,height:30},wordWrap:"normal",textOverflow:"ellipsis",allowDragging:!1},chart:{commonSeriesSettings:{type:"line",stack:"default",aggregation:{enabled:void 0},point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4}},selectionStyle:{border:{visible:!0,width:4}}},scatter:{},line:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},stackedline:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},stackedspline:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},fullstackedline:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},fullstackedspline:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},stepline:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedarea:{point:{visible:!1},opacity:.5},fullstackedarea:{point:{visible:!1},opacity:.5},fullstackedsplinearea:{point:{visible:!1},opacity:.5},steparea:{border:{visible:!0,width:2},point:{visible:!1},hoverStyle:{border:{visible:!0,width:3}},selectionStyle:{border:{visible:!0,width:3}},opacity:.5},spline:{width:2,hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3}},splinearea:{point:{visible:!1},opacity:.5},stackedsplinearea:{point:{visible:!1},opacity:.5},bar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},stackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:i.INSIDE}},fullstackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:i.INSIDE}},rangebar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},rangearea:{point:{visible:!1},opacity:.5},rangesplinearea:{point:{visible:!1},opacity:.5},bubble:{opacity:.5,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},candlestick:{width:1,reduction:{color:i.RED},hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3,highlight:!1},point:{border:{visible:!0}}},stock:{width:1,reduction:{color:i.RED},hoverStyle:{width:3,hatching:{direction:i.NONE},highlight:!1},selectionStyle:{width:3,highlight:!1},point:{border:{visible:!0}}}},crosshair:{enabled:!1,color:"#f05b41",width:1,dashStyle:i.SOLID,label:{visible:!1,font:{color:i.WHITE,size:12}},verticalLine:{visible:!0},horizontalLine:{visible:!0}},commonAxisSettings:{multipleAxesSpacing:5,forceUserTickInterval:!1,breakStyle:{width:5,color:"#ababab",line:"waved"},label:{displayMode:"standard",overlappingBehavior:"hide",indentFromAxis:10,wordWrap:"normal",textOverflow:"none"},title:{font:{size:16},margin:6,alignment:i.CENTER},constantLineStyle:{paddingLeftRight:10,paddingTopBottom:10}},horizontalAxis:{position:i.BOTTOM,axisDivisionFactor:70,label:{rotationAngle:90,staggeringSpacing:5,alignment:i.CENTER},stripStyle:{label:{horizontalAlignment:i.CENTER,verticalAlignment:i.TOP}},constantLineStyle:{label:{horizontalAlignment:i.RIGHT,verticalAlignment:i.TOP}},constantLines:[]},verticalAxis:{position:i.LEFT,axisDivisionFactor:40,label:{alignment:i.RIGHT},stripStyle:{label:{horizontalAlignment:i.LEFT,verticalAlignment:i.CENTER}},constantLineStyle:{label:{horizontalAlignment:i.LEFT,verticalAlignment:i.TOP}},constantLines:[]},argumentAxis:{endOnTick:!1,workWeek:[1,2,3,4,5]},valueAxis:{grid:{visible:!0},autoBreaksEnabled:!1,maxAutoBreakCount:4},commonPaneSettings:{backgroundColor:i.NONE,border:{color:i.LIGHT_GREY,width:1,visible:!1,top:!0,bottom:!0,left:!0,right:!0,dashStyle:i.SOLID}},scrollBar:{visible:!1,offset:5,color:"gray",width:10},adjustOnZoom:!0,autoHidePointMarkers:!0,rotated:!1,synchronizeMultiAxes:!0,stickyHovering:!0,barGroupPadding:.3,minBubbleSize:12,maxBubbleSize:.2,zoomAndPan:{dragBoxStyle:{color:"#2a2a2a",opacity:.2},panKey:"shift",allowMouseWheel:!0,allowTouchGestures:!0}}}},12462:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.WHITE=t.TOP=t.SOME_GREY=t.SOLID=t.SECONDARY_TITLE_COLOR=t.RIGHT=t.RED=t.PRIMARY_TITLE_COLOR=t.OUTSIDE=t.NONE=t.LIGHT_GREY=t.LEFT=t.INSIDE=t.GREY_GREEN=t.CENTER=t.BOTTOM=t.BLACK=void 0;t.WHITE="#ffffff",t.BLACK="#000000",t.LIGHT_GREY="#d3d3d3",t.GREY_GREEN="#303030",t.SOME_GREY="#2b2b2b",t.RED="#ff0000",t.PRIMARY_TITLE_COLOR="#232323",t.SECONDARY_TITLE_COLOR="#767676",t.NONE="none",t.SOLID="solid",t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t.CENTER="center",t.INSIDE="inside",t.OUTSIDE="outside"},60980:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={funnel:{sortData:!0,valueField:"val",colorField:"color",argumentField:"arg",hoverEnabled:!0,selectionMode:"single",item:{border:{visible:!1,width:2,color:i.WHITE},hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:i.RIGHT},border:{}},selectionStyle:{hatching:{opacity:.5,step:6,width:2,direction:i.RIGHT},border:{}}},title:{margin:10},adaptiveLayout:{width:80,height:80,keepLabels:!0},legend:{visible:!1},_rtl:{legend:{itemTextPosition:i.LEFT}},tooltip:{customizeTooltip:e=>({text:`${e.item.argument} ${e.valueText}`})},inverted:!1,algorithm:"dynamicSlope",neckWidth:0,neckHeight:0,resolveLabelOverlapping:"shift",label:{textOverflow:"ellipsis",wordWrap:"normal",visible:!0,horizontalAlignment:i.RIGHT,horizontalOffset:0,verticalOffset:0,showForZeroValues:!1,customizeText:e=>`${e.item.argument} ${e.valueText}`,position:"columns",font:{color:i.WHITE},border:{visible:!1,width:1,color:i.LIGHT_GREY,dashStyle:i.SOLID},connector:{visible:!0,width:1,opacity:.5}}}}},77393:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={gauge:{scale:{tick:{visible:!0,length:5,width:2,opacity:1},minorTick:{visible:!1,length:3,width:1,opacity:1},label:{visible:!0,alignment:i.CENTER,hideFirstOrLast:"last",overlappingBehavior:"hide"},position:i.TOP,endOnTick:!1},rangeContainer:{offset:0,width:5,backgroundColor:"#808080"},valueIndicators:{_default:{color:"#c2c2c2"},rangebar:{space:2,size:10,color:"#cbc5cf",backgroundColor:i.NONE,text:{indent:0,font:{size:14,color:null}}},twocolorneedle:{secondColor:"#e18e92"},trianglemarker:{space:2,length:14,width:13,color:"#8798a5"},textcloud:{arrowLength:5,horizontalOffset:6,verticalOffset:3,color:"#679ec5",text:{font:{color:i.WHITE,size:18}}}},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:i.CENTER,verticalAlignment:i.BOTTOM},text:{font:{size:18}}},_circular:{scale:{scaleDivisionFactor:17,orientation:i.OUTSIDE,label:{indentFromTick:10}},rangeContainer:{orientation:i.OUTSIDE},valueIndicatorType:"rectangleneedle",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangleneedle",_default:{offset:20,indentFromCenter:0,width:2,spindleSize:14,spindleGapSize:10,beginAdaptingAtRadius:50},triangleneedle:{width:4},twocolorneedle:{space:2,secondFraction:.4},rangebar:{offset:30},trianglemarker:{offset:6},textcloud:{offset:-6}}},_linear:{scale:{scaleDivisionFactor:25,horizontalOrientation:i.RIGHT,verticalOrientation:i.BOTTOM,label:{indentFromTick:-10}},rangeContainer:{horizontalOrientation:i.RIGHT,verticalOrientation:i.BOTTOM},valueIndicatorType:"rangebar",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangle",_default:{offset:2.5,length:15,width:15},rectangle:{width:10},rangebar:{offset:10,horizontalOrientation:i.RIGHT,verticalOrientation:i.BOTTOM},trianglemarker:{offset:10,horizontalOrientation:i.LEFT,verticalOrientation:i.TOP},textcloud:{offset:-1,horizontalOrientation:i.LEFT,verticalOrientation:i.TOP}}}}}},4702:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=_(n(39599)),o=_(n(5828)),r=_(n(67322)),a=n(12462),s=_(n(60980)),l=_(n(77393)),c=_(n(82611)),u=_(n(53949)),d=_(n(11055)),h=_(n(4517)),f=_(n(72513)),p=_(n(47661)),g=_(n(44062));function _(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m.apply(null,arguments)}t.default=[{baseThemeName:void 0,theme:m({name:"generic.light",isDefault:!0,font:{color:a.SECONDARY_TITLE_COLOR,family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana, sans-serif",weight:400,size:12,cursor:"default"},redrawOnResize:!0,backgroundColor:a.WHITE,primaryTitleColor:a.PRIMARY_TITLE_COLOR,secondaryTitleColor:a.SECONDARY_TITLE_COLOR,gridColor:a.LIGHT_GREY,axisColor:a.SECONDARY_TITLE_COLOR,title:{backgroundColor:a.WHITE,font:{size:28,family:"'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana, sans-serif",weight:200},subtitle:{font:{size:16},offset:0,wordWrap:"normal",textOverflow:"ellipsis"},wordWrap:"normal",textOverflow:"ellipsis"},loadingIndicator:{text:"Loading..."},export:{backgroundColor:a.WHITE,margin:10,font:{size:14,color:a.PRIMARY_TITLE_COLOR,weight:400},button:{margin:{top:8,left:10,right:10,bottom:8},default:{color:"#333",borderColor:"#ddd",backgroundColor:a.WHITE},hover:{color:"#333",borderColor:"#bebebe",backgroundColor:"#e6e6e6"},focus:{color:a.BLACK,borderColor:"#9d9d9d",backgroundColor:"#e6e6e6"},active:{color:"#333",borderColor:"#9d9d9d",backgroundColor:"#d4d4d4"}},shadowColor:a.LIGHT_GREY},tooltip:{enabled:!1,border:{width:1,color:a.LIGHT_GREY,dashStyle:a.SOLID,visible:!0},font:{color:a.PRIMARY_TITLE_COLOR},color:a.WHITE,arrowLength:10,paddingLeftRight:18,paddingTopBottom:15,textAlignment:"center",shared:!1,location:a.CENTER,shadow:{opacity:.4,offsetX:0,offsetY:4,blur:2,color:a.BLACK},interactive:!1},legend:{hoverMode:"includePoints",verticalAlignment:a.TOP,horizontalAlignment:a.RIGHT,position:a.OUTSIDE,visible:!0,margin:10,markerSize:12,border:{visible:!1,width:1,cornerRadius:0,dashStyle:a.SOLID},paddingLeftRight:20,paddingTopBottom:15,columnCount:0,rowCount:0,columnItemSpacing:20,rowItemSpacing:8,title:{backgroundColor:a.WHITE,margin:{left:0,bottom:9,right:0,top:0},font:{size:18,weight:200},subtitle:{offset:0,font:{size:14},wordWrap:"none",textOverflow:"ellipsis"},wordWrap:"none",textOverflow:"ellipsis"}}},r.default,s.default,l.default,i.default,g.default,c.default,u.default,d.default,h.default,f.default,o.default,p.default)},{baseThemeName:"generic.light",theme:{name:"generic.light.compact"}}]},82611:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={pie:{innerRadius:.5,minDiameter:.5,type:"pie",dataPrepareSettings:{_skipArgumentSorting:!0},commonSeriesSettings:{pie:{border:{visible:!1,width:2,color:i.WHITE},hoverStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.75},highlight:!0,border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.5},highlight:!0,border:{visible:!1,width:2}}},doughnut:{border:{visible:!1,width:2,color:i.WHITE},hoverStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.75},highlight:!0,border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.5},highlight:!0,border:{visible:!1,width:2}}},donut:{border:{visible:!1,width:2,color:i.WHITE},hoverStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.75},highlight:!0,border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:i.RIGHT,width:4,step:10,opacity:.5},highlight:!0,border:{visible:!1,width:2}}},label:{textOverflow:"ellipsis",wordWrap:"normal"}},legend:{hoverMode:"allArgumentPoints",backgroundColor:i.NONE},adaptiveLayout:{keepLabels:!1}}}},53949:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={polar:{commonSeriesSettings:{type:"scatter",closed:!0,point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4},size:12},selectionStyle:{border:{visible:!0,width:4},size:12}},scatter:{},line:{width:2,dashStyle:i.SOLID,hoverStyle:{width:3,hatching:{direction:i.NONE}},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedline:{width:2},bar:{opacity:.8},stackedbar:{opacity:.8}},adaptiveLayout:{width:80,height:80,keepLabels:!0},barGroupPadding:.3,commonAxisSettings:{visible:!0,forceUserTickInterval:!1,label:{overlappingBehavior:"hide",indentFromAxis:5},grid:{visible:!0},minorGrid:{visible:!0},tick:{visible:!0},title:{font:{size:16},margin:10}},argumentAxis:{startAngle:0,firstPointOnStartAngle:!1,period:void 0},valueAxis:{endOnTick:!1,tick:{visible:!1}},horizontalAxis:{position:i.TOP,axisDivisionFactor:50,label:{alignment:i.CENTER}},verticalAxis:{position:i.TOP,axisDivisionFactor:30,label:{alignment:i.RIGHT}}}}},11055:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={rangeSelector:{scale:{valueMarginsEnabled:!0,width:1,color:i.BLACK,opacity:.1,showCustomBoundaryTicks:!0,label:{overlappingBehavior:"hide",alignment:i.CENTER,visible:!0,topIndent:7,font:{size:11}},tick:{width:1,color:i.BLACK,opacity:.17,visible:!0,length:12},minorTick:{width:1,color:i.BLACK,opacity:.05,visible:!0,length:12},marker:{width:1,color:"#000000",opacity:.1,visible:!0,separatorHeight:33,topIndent:10,textLeftIndent:7,textTopIndent:11,label:{}},logarithmBase:10,workWeek:[1,2,3,4,5],breakStyle:{width:5,color:"#ababab",line:"waved"},endOnTick:!1},selectedRangeColor:"#606060",sliderMarker:{visible:!0,paddingTopBottom:2,paddingLeftRight:4,color:"#606060",invalidRangeColor:i.RED,font:{color:i.WHITE,size:11}},sliderHandle:{width:1,color:i.BLACK,opacity:.2},shutter:{opacity:.75},background:{color:"#c0bae1",visible:!0,image:{location:"full"}},behavior:{snapToTicks:!0,animationEnabled:!0,moveSelectedRangeByClick:!0,manualRangeSelectionEnabled:!0,allowSlidersSwap:!0,valueChangeMode:"onHandleRelease"},redrawOnResize:!0,chart:{barGroupPadding:.3,minBubbleSize:12,maxBubbleSize:.2,topIndent:.1,bottomIndent:0,valueAxis:{inverted:!1,logarithmBase:10},commonSeriesSettings:{type:"area",aggregation:{enabled:void 0},point:{visible:!1},scatter:{point:{visible:!0}}}}}}},4517:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={sankey:{sourceField:"source",targetField:"target",weightField:"weight",hoverEnabled:!0,alignment:i.CENTER,adaptiveLayout:{width:80,height:80,keepLabels:!0},label:{visible:!0,horizontalOffset:8,verticalOffset:0,overlappingBehavior:"ellipsis",useNodeColors:!1,font:{color:i.BLACK,weight:500},border:{visible:!1,width:2,color:i.WHITE},customizeText:e=>e.label,shadow:{opacity:.2,offsetX:0,offsetY:1,blur:1,color:i.WHITE}},title:{margin:10,font:{size:28,weight:200},subtitle:{font:{size:16}}},tooltip:{enabled:!0},node:{padding:30,width:8,opacity:1,border:{color:i.WHITE,width:1,visible:!1},hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:i.RIGHT},border:{}}},link:{color:"#888888",colorMode:"none",opacity:.3,border:{color:i.WHITE,width:1,visible:!1},hoverStyle:{opacity:.5,hatching:{opacity:.75,step:6,width:2,direction:i.RIGHT},border:{}}}}}},72513:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={sparkline:{lineColor:"#666666",lineWidth:2,areaOpacity:.2,minColor:"#e8c267",maxColor:"#e55253",barPositiveColor:"#a9a9a9",barNegativeColor:"#d7d7d7",winColor:"#a9a9a9",lossColor:"#d7d7d7",firstLastColor:"#666666",pointSymbol:"circle",pointColor:i.WHITE,pointSize:4,type:"line",argumentField:"arg",valueField:"val",winlossThreshold:0,showFirstLast:!0,showMinMax:!1,tooltip:{enabled:!0}}}},47661:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={treeMap:{tile:{border:{width:1,opacity:.2,color:"#000000"},color:"#5f8b95",hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:.5,step:6,width:2,direction:"right"},border:{opacity:1}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,font:{color:"#ffffff",weight:600},shadow:{opacity:.6,offsetX:0,offsetY:1,blur:2,color:"#000000"},wordWrap:"normal",textOverflow:"ellipsis"}},group:{padding:4,border:{width:1},color:"#eeeeee",hoverStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,font:{color:i.SECONDARY_TITLE_COLOR,weight:600},textOverflow:"ellipsis"}},title:{subtitle:{}},tooltip:{},loadingIndicator:{}}}},44062:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(12462);t.default={map:{title:{margin:10},background:{borderWidth:1,borderColor:"#cacaca"},layer:{label:{enabled:!1,stroke:i.WHITE,"stroke-width":1,"stroke-opacity":.7,font:{color:i.SOME_GREY,size:12}}},"layer:area":{borderWidth:1,borderColor:i.WHITE,color:"#d2d2d2",hoveredBorderColor:i.GREY_GREEN,selectedBorderWidth:2,selectedBorderColor:i.GREY_GREEN,label:{"stroke-width":2,font:{size:16}}},"layer:line":{borderWidth:2,color:"#ba8365",hoveredColor:"#a94813",selectedBorderWidth:3,selectedColor:"#e55100",label:{"stroke-width":2,font:{size:16}}},"layer:marker":{label:{enabled:!0,"stroke-width":1,font:{size:12}}},"layer:marker:dot":{borderWidth:2,borderColor:i.WHITE,size:8,selectedStep:2,backStep:18,backColor:i.WHITE,backOpacity:.32,shadow:!0},"layer:marker:bubble":{minSize:20,maxSize:50,hoveredBorderWidth:1,hoveredBorderColor:i.GREY_GREEN,selectedBorderWidth:2,selectedBorderColor:i.GREY_GREEN},"layer:marker:pie":{size:50,hoveredBorderWidth:1,hoveredBorderColor:i.GREY_GREEN,selectedBorderWidth:2,selectedBorderColor:i.GREY_GREEN},"layer:marker:image":{size:20},legend:{verticalAlignment:i.BOTTOM,horizontalAlignment:i.RIGHT,position:i.INSIDE,backgroundOpacity:.65,border:{visible:!0},paddingLeftRight:16,paddingTopBottom:12},controlBar:{borderColor:"#5d5d5d",borderWidth:3,color:i.WHITE,margin:20,opacity:.3},_rtl:{legend:{itemTextPosition:i.LEFT}}}}},56829:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="#7ab8eb",i="#fff",o="#333",r="#99a1a8",a="#707070",s="#e8eaeb";t.default=[{baseThemeName:"generic.light",theme:{name:"generic.softblue",defaultPalette:"Soft Blue",backgroundColor:i,primaryTitleColor:o,secondaryTitleColor:r,gridColor:s,axisColor:a,export:{backgroundColor:i,font:{color:o},button:{default:{color:o,borderColor:"#c9d0d4",backgroundColor:i},hover:{color:o,borderColor:"#a7b2b9",backgroundColor:"#e6e6e6"},focus:{color:o,borderColor:"#82929b",backgroundColor:"#e6e6e6"},active:{color:o,borderColor:"#82929b",backgroundColor:"#d4d4d4"}}},legend:{font:{color:a}},tooltip:{color:i,border:{color:s},font:{color:o}},"chart:common":{commonSeriesSettings:{label:{border:{color:s}}}},"chart:common:annotation":{color:i,border:{color:s},font:{color:o}},chart:{commonPaneSettings:{border:{color:s}},commonAxisSettings:{breakStyle:{color:"#cfd2d3"}}},rangeSelector:{scale:{breakStyle:{color:"#cfd2d3"},tick:{opacity:.12}},selectedRangeColor:n,sliderMarker:{color:n},sliderHandle:{color:n,opacity:.5}},sparkline:{pointColor:i,minColor:"#f0ad4e",maxColor:"#d9534f"},treeMap:{group:{color:s,label:{font:{color:r}}}},bullet:{color:n},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n}}}}},{baseThemeName:"generic.softblue",theme:{name:"generic.softblue.compact"}}]},55073:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="'Roboto', 'RobotoFallback', 'Helvetica', 'Arial', sans-serif",i="rgba(0,0,0,0.54)",o="rgba(255,255,255,0.87)",r="rgba(255,255,255,0.54)",a="#363640",s="#ffffff",l="#b5b5b5",c="#c7c7c7",u="#8e8e8e",d="#b8b8b8",h="#494949",f="#818181",p=[{baseThemeName:"generic.light",theme:{name:"material",defaultPalette:"Material",font:{family:n},title:{margin:{top:20,bottom:20,left:0,right:0},font:{size:20,family:n,weight:500},horizontalAlignment:"left",subtitle:{font:{size:14},horizontalAlignment:"left"}},tooltip:{shadow:{opacity:0},border:{visible:!1},paddingLeftRight:8,paddingTopBottom:6,arrowLength:0,location:"edge",color:"#616161",font:{color:s},cornerRadius:4},chart:{commonAxisSettings:{minorTick:{opacity:.5},label:{font:{size:11}}},commonAnnotationSettings:{font:{color:s},border:{color:"#616161"},color:"#616161",arrowLength:14,arrowWidth:0,shadow:{opacity:.08,offsetY:4,blur:8},cornerRadius:4}},pie:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},polar:{commonAxisSettings:{minorTick:{opacity:.5}},title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},funnel:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},gauge:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},barGauge:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},rangeSelector:{sliderHandle:{opacity:.5}},treeMap:{group:{label:{font:{weight:500}}}}}},{baseThemeName:"material",theme:{name:"material.light",gridColor:"#e0e0e0",axisColor:i,primaryTitleColor:"rgba(0,0,0,0.87)",legend:{font:{color:i}},chart:{scrollBar:{color:"#bfbfbf",opacity:.7}},gauge:{rangeContainer:{backgroundColor:"rgba(0,0,0,0.2)"}},barGauge:{backgroundColor:"#efefef"}}},{baseThemeName:"material",theme:{name:"material.dark",gridColor:"#515159",backgroundColor:a,axisColor:r,font:{color:r},primaryTitleColor:o,secondaryTitleColor:o,tooltip:{color:"#000"},export:{backgroundColor:a,font:{color:"#dbdbdb"},button:{default:{color:"#dedede",borderColor:"#4d4d4d",backgroundColor:a},hover:{color:"#dedede",borderColor:"#6c6c6c",backgroundColor:"#3f3f4b"},focus:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#494956"},active:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#494956"}},shadowColor:"#292929"},"chart:common":{commonSeriesSettings:{label:{border:{color:h}},valueErrorBar:{color:s}}},"chart:common:axis":{constantLineStyle:{color:s}},"chart:common:annotation":{border:{color:"#000"},color:"#000"},chart:{commonPaneSettings:{border:{color:h}},commonAxisSettings:{breakStyle:{color:f}},zoomAndPan:{dragBoxStyle:{color:s}}},gauge:{rangeContainer:{backgroundColor:l},valueIndicators:{_default:{color:l},rangebar:{color:"#84788b"},twocolorneedle:{secondColor:"#ba544d"},trianglemarker:{color:"#b7918f"},textcloud:{color:"#ba544d"}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:s,opacity:.32},minorTick:{color:s,opacity:.1},breakStyle:{color:f}},selectedRangeColor:l,sliderMarker:{color:l,font:{color:a}},sliderHandle:{color:s,opacity:.2},shutter:{color:s,opacity:.1}},map:{background:{borderColor:"#3f3f3f"},layer:{label:{stroke:"#000000",font:{color:s}}},"layer:area":{borderColor:a,color:"#686868",hoveredBorderColor:s,selectedBorderColor:s},"layer:line":{color:"#c77244",hoveredColor:"#ff5d04",selectedColor:"#ff784f"},"layer:marker:bubble":{hoveredBorderColor:s,selectedBorderColor:s},"layer:marker:pie":{hoveredBorderColor:s,selectedBorderColor:s},legend:{border:{color:"#3f3f3f"},font:{color:s}},controlBar:{borderColor:c,color:a}},treeMap:{group:{color:"#4c4c4c",label:{font:{color:"#a3a3a3"}}}},sparkline:{lineColor:c,firstLastColor:c,barPositiveColor:d,barNegativeColor:u,winColor:d,lossColor:u,pointColor:a},bullet:{targetColor:u},funnel:{item:{border:{color:a}}},sankey:{label:{font:{color:s}}}}}];function g(e,t,n){return{theme:{name:`material.${e}.${t}`,rangeSelector:{selectedRangeColor:n,sliderMarker:{color:n},sliderHandle:{color:n}},map:{"layer:marker:dot":{color:n},"layer:marker:bubble":{color:n},legend:{markerColor:n}},bullet:{color:n},gauge:{valueIndicators:{rangebar:{color:n},textcloud:{color:n}}}},baseThemeName:`material.${t}`}}const _={blue:"#03a9f4",lime:"#cddc39",orange:"#ff5722",purple:"#9c27b0",teal:"#009688"};Object.keys(_).forEach((e=>{const t=_[e];p.push(g(e,"light",t),g(e,"dark",t),{theme:{name:`material.${e}.light.compact`},baseThemeName:`material.${e}.light`},{theme:{name:`material.${e}.dark.compact`},baseThemeName:`material.${e}.dark`})}));t.default=p},3830:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=w(n(92848)),o=n(17781),r=n(52576),a=n(21274),s=n(50254),l=n(57653),c=n(11528),u=n(3104),d=n(63512),h=n(14580),f=w(n(57568)),p=n(68817),g=w(n(3023)),_=w(n(37195)),m=n(97808),v=n(28779),b=w(n(34685)),y=n(99857),x=n(2225),C=n(78609),S=n(9410);function w(e){return e&&e.__esModule?e:{default:e}}const E="default",T=[{name:E,border:{}}],A="discrete",{isArray:O}=Array;function k(e,t,n){const i=e.getOptions().grid,o=e.getOptions().minorGrid;i.visible=t,o&&(o.visible=n)}function D(e,t,n){const i=n.find((n=>n.name===t&&n.pane===e));return i||(e?D(void 0,t,n):void 0)}function L(e,t){return e.priority-t.priority}function P(e,t){let n=!1;return(0,a.each)(e,((e,i)=>{if(i.name===t)return n=!0,!1})),n}function M(e,t,n,i){const o=t[e]||0,r=n[e]||0;return o+r+(o&&r?i:0)}function R(e,t,n){return I(t[e],n[e])}function I(e,t){return Math.max(e||0,t||0)}function B(e){return e.getMargins()}function V(e,t){return e.reduce(((e,n)=>{var i;const o=t(n),r=e.panes[n.pane]=e.panes[n.pane]||{},a=n.getMultipleAxesSpacing();r.top=M("top",r,o,a),r.bottom=M("bottom",r,o,a),r.left=R("left",r,o),r.right=R("right",r,o),e.top=R("top",r,e),e.bottom=R("bottom",r,e),e.left=R("left",r,e),e.right=R("right",r,e);const s=null===(i=n.getOrthogonalAxis)||void 0===i?void 0:i.call(n);return(null==s?void 0:s.customPositionIsAvailable())&&(!n.customPositionIsBoundaryOrthogonalAxis()||!s.customPositionEqualsToPredefined())&&(e[s.getResolvedBoundaryPosition()]=0),e}),{panes:{}})}function F(e){return e.reduce(((e,t)=>{const n=t.getMargins(),i=e.panes[t.pane]=e.panes[t.pane]||{},o=t.getMultipleAxesSpacing();return i.top=R("top",i,n),i.bottom=R("bottom",i,n),i.left=M("left",i,n,o),i.right=M("right",i,n,o),e.top=R("top",i,e),e.bottom=R("bottom",i,e),e.left=R("left",i,e),e.right=R("right",i,e),e}),{panes:{}})}function H(e,t,n,i,o){e.forEach((e=>{e[t](null==n?void 0:n[e.pane],(null==i?void 0:i[e.pane])||i,o)}))}function N(e,t,n,i,o){function r(t,n,i){return((e?["left","right"]:["top","bottom"]).includes(t)?n.panes[i]||{}:n)[t]}function a(e,t,n,i){return I(r(e,t,i),r(e,n,i))}const s=e=>`original${e[0].toUpperCase()}${e.slice(1)}`;function l(e,t,r,l,c,u){(t=t.sort(((t,n)=>e[n][l]-e[t][l]))).forEach((t=>{const n=e[t];u.forEach((e=>{n[e]=n[s(e)]+a(e,i,o,t)}))}));const d=e[t[0]],h=d[r]-d[s(c)]-e[t.at(-1)][s(l)];let f=t.reduce(((e,t)=>e-a(l,i,o,t)-a(c,i,o,t)),h)-v.PANE_PADDING*(t.length-1);f-=Object.keys(n).reduce(((e,t)=>e+((0,v.isRelativeHeightPane)(n[t])?0:n[t].height)),0);const p=d[r]-d[s(c)]-(f<0?f:0);t.reduce(((t,s)=>{const u=e[s],h=n[s];return t-=a(c,i,o,s),u[c]=d[r]-t,t-=(0,v.isRelativeHeightPane)(h)?Math.floor(f*h.height):h.height,u[l]=t,t-=a(l,i,o,s)+v.PANE_PADDING}),p)}const c=Object.keys(t);return e?l(t,c,"width","left","right",["top","bottom"]):l(t,c,"height","top","bottom",["left","right"]),t}function z(e,t,n,i){t&&(H(e,"createTicks",n),f.default.synchronize(e)),H(e,"draw",!t&&n,i)}function j(e,t){const n={};return function(i){if(!i.customPositionIsAvailable()||i.customPositionEqualsToPredefined()){const o=n[i.pane]=n[i.pane]||{top:0,left:0,bottom:0,right:0},r=i.getMultipleAxesSpacing(),a=i.getMargins();i.shift(o),o[e]=M(e,o,a,r),o[t]=M(t,o,a,r)}else i.shift({top:0,left:0,bottom:0,right:0})}}function G(e,t){let n,i=0;return Object.keys(t.panes).forEach((o=>{n=t.panes[o],i+="height"===e?n.top+n.bottom:n.left+n.right})),i}function Z(e,t,n,i){let o=0;e[t]>0&&(o=G(t,i(n,B)),H(n,"hideTitle"),e[t]-=o-G(t,i(n,B))),e[t]>0&&H(n,"hideOuterElements")}const W=(e,t,n)=>{const i=t.x-n<=e.x,o=t.x+n>=e.x,r=t.y-n<=e.y,a=t.y+n>=e.y;return i&&o&&(r&&a)},U=(e,t,n)=>{const i=e.getOptions().size/2;for(let o=0;o<t.length;o+=1){if(!n){const n=t[o].x===e.x,i=t[o].y===e.y;if(n&&i)continue}if(W(e,t[o],i))return!0}return!1};const $=C.AdvancedChart.inherit({_themeSection:"chart",_fontFields:["crosshair.label.font"],_initCore(){this.paneAxis={},this.callBase()},_init(){this._containerInitialHeight=(0,u.hasWindow)()?(0,l.getHeight)(this._$element):0,this.callBase()},_correctAxes(){this._correctValueAxes(!0)},_getExtraOptions:o.noop,_createPanes(){let e,t=this.option("panes"),n=0;return(!t||O(t)&&!t.length)&&(t=T),this.callBase(),e=this.option("defaultPane"),t=(0,r.extend)(!0,[],O(t)?t:[t]),(0,a.each)(t,((e,t)=>{t.name=(0,c.isDefined)(t.name)?t.name:E+n++})),(0,c.isDefined)(e)?P(t,e)||(this._incidentOccurred("W2101",[e]),e=t[t.length-1].name):e=t[t.length-1].name,this.defaultPane=e,t=this._isRotated()?t.reverse():t,t},_getAxisRenderingOptions:()=>({axisType:"xyAxes",drawingType:"linear"}),_prepareAxisOptions(e,t,n){return{isHorizontal:"argumentAxis"===e!==n,containerColor:this._themeManager.getOptions("containerBackgroundColor")}},_checkPaneName(e){const t=(0,v.map)(this.panes,(e=>e.name));return e.pane=e.pane||this.defaultPane,t.includes(e.pane)},_initCustomPositioningAxes(){const e=this.getArgumentAxis(),t=e.getOptions().customPositionAxis,n=this._valueAxes.find((n=>n.pane===e.pane&&(!t||t===n.name)));this._valueAxes.forEach((t=>{e!==t.getOrthogonalAxis()&&(t.getOrthogonalAxis=()=>e,t.customPositionIsBoundaryOrthogonalAxis=()=>e.customPositionIsBoundary())})),(0,c.isDefined)(n)&&n!==e.getOrthogonalAxis()?(e.getOrthogonalAxis=()=>n,e.customPositionIsBoundaryOrthogonalAxis=()=>this._valueAxes.some((e=>e.customPositionIsBoundary()))):(0,c.isDefined)(e.getOrthogonalAxis())&&!(0,c.isDefined)(n)&&(e.getOrthogonalAxis=o.noop)},_getAllAxes(){return this._argumentAxes.concat(this._valueAxes)},_resetAxesAnimation(e,t){let n;n=(0,c.isDefined)(t)?t^this._isRotated()?this._argumentAxes:this._valueAxes:this._getAllAxes(),n.forEach((t=>{t.resetApplyingAnimation(e)}))},_axesBoundaryPositioning(){const e=this._getAllAxes();let t=!1;return e.forEach((e=>{if(!e.customPositionIsAvailable())return;const n=e.customPositionIsBoundary();e._customBoundaryPosition=e.getCustomBoundaryPosition(),t=t||n!==e.customPositionIsBoundary()})),t},_getCrosshairMargins(){const e=this._getCrosshairOptions()||{},t=e.enabled,n=(0,d.getMargins)(),i=(0,r.extend)(!0,{},e.label,e.horizontalLine.label),o=(0,r.extend)(!0,{},e.label,e.verticalLine.label);return{x:t&&e.horizontalLine.visible&&i.visible?n.x:0,y:t&&e.verticalLine.visible&&o.visible?n.y:0}},_getValueAxis(e,t){const n=this._valueAxes,i=this.option("valueAxis")||{},o=O(i)?i:[i],r=this._isRotated(),a=this._getCrosshairMargins();let s,l;return t=t||function(e,t,n){let i;for(let o=0;o<e.length;o+=1)if(e[o].pane===t||void 0===e[o].pane&&t===n){i=e[o].name;break}return i||(i=e[0].name),i}(n,e,this.defaultPane),l=D(e,t,n),l||(s=function(e,t,n){let i,o;for(o=0;o<t.length;o+=1)if(t[o].name===n){i=t[o],i.priority=o;break}if(!i)for(o=0;o<e.length;o+=1)if(e[o].name===n){i=e[o].getOptions(),i.priority=e[o].priority;break}return i}(n,o,t),s||(this._incidentOccurred("W2102",[t]),s={name:t,priority:n.length}),l=this._createAxis(!1,this._populateAxesOptions("valueAxis",s,{pane:e,name:t,optionPath:O(i)?`valueAxis[${s.priority}]`:"valueAxis",crosshairMargin:r?a.y:a.x},r)),l.applyVisualRangeSetter(this._getVisualRangeSetter()),n.push(l)),l.setPane(e),l},_correctValueAxes(e){const t=this._themeManager.getOptions("synchronizeMultiAxes"),n=this._valueAxes,i={};this.series.forEach((e=>{const t=e.getValueAxis();i[t.pane]=!0})),this.panes.forEach((o=>{const r=o.name;i[r]||this._getValueAxis(r),e&&t&&function(e){let t=!1;const n=[],i=e.some((e=>{const t=e.getOptions().minorGrid;return null==t?void 0:t.visible})),o=e.some((e=>{const t=e.getOptions().grid;return null==t?void 0:t.visible}));e.length>1&&(e.forEach((e=>{const r=e.getOptions().grid;t?k(e,!1,!1):null!=r&&r.visible&&(e.getTranslator().getBusinessRange().isEmpty()?(k(e,!1,!1),n.push(e)):(t=!0,k(e,o,i)))})),!t&&n.length&&k(n[0],o,i))}(n.filter((e=>e.pane===r)))})),this._valueAxes=n.filter((e=>{e.pane||e.setPane(this.defaultPane);const t=P(this.panes,e.pane);return t||(e.dispose(),e=null),t})).sort(L);const o=this.getValueAxis();this._valueAxes.forEach((e=>{const{optionPath:t}=e.getOptions();if(t){const e=this._valueAxes.filter((e=>e.getOptions().optionPath===t));e.length>1&&(e.some((e=>e===o))?e.forEach((e=>{e!==o&&(e.getOptions().optionPath=null)})):e.forEach(((e,t)=>{0!==t&&(e.getOptions().optionPath=null)})))}}))},_getSeriesForPane(e){const t=[];return(0,a.each)(this.series,((n,i)=>{i.pane===e&&t.push(i)})),t},_createPanesBorderOptions(){const e=this._themeManager.getOptions("commonPaneSettings").border,t={};return this.panes.forEach((n=>{t[n.name]=(0,r.extend)(!0,{},e,n.border)})),t},_createScrollBar(){const e=this._themeManager.getOptions("scrollBar")||{},t=this._scrollBarGroup;var n;e.visible?(e.rotated=this._isRotated(),this._scrollBar=(this._scrollBar||new p.ScrollBar(this._renderer,t)).update(e)):(t.linkRemove(),null===(n=this._scrollBar)||void 0===n||n.dispose(),this._scrollBar=null)},_executeAppendAfterSeries(e){e()},_prepareToRender(){const e=this._createPanesBorderOptions();return this._createPanesBackground(),this._appendAxesGroups(),this._adjustViewport(),e},_adjustViewport(){this._themeManager.getOptions("adjustOnZoom")&&this._valueAxes.forEach((e=>e.adjust()))},_recreateSizeDependentObjects(e){const t=this._getVisibleSeries(),n=t.some((e=>e.useAggregation())),i=this._isZooming();n&&(this._argumentAxes.forEach((e=>{e.updateCanvas(this._canvas,!0)})),t.forEach((t=>{t.useAggregation()&&(e||i||!t._useAllAggregatedPoints)&&t.createPoints()})),this._processSeriesFamilies())},_isZooming(){const e=this.getArgumentAxis();if(null==e||!e.getTranslator())return!1;const t=e.getTranslator().getBusinessRange(),n=e.getViewport();let i=n?n.min:0,o=n?n.max:0;"logarithmic"===t.axisType&&(i=(0,v.getLog)(i,t.base),o=(0,v.getLog)(o,t.base));const r=t.axisType===A?(0,v.getCategoriesInfo)(t.categories,i,o).categories.length:Math.abs(o-i);let a=(0,s.getPrecision)(r);a=a>1?10**(a-2):1;const l=Math.round((this._zoomLength-r)*a)/a!=0;return this._zoomLength=r,l},_handleSeriesDataUpdated(){const e=new y.Range;this.series.forEach((t=>{e.addRange(t.getArgumentRange())})),this._argumentAxes.forEach((t=>{t.updateCanvas(this._canvas,!0),t.setBusinessRange(e,this._axesReinitialized)})),this.callBase()},_isLegendInside(){return this._legend&&"inside"===this._legend.getPosition()},_isRotated(){return this._themeManager.getOptions("rotated")},_getLayoutTargets(){return this.panes},_applyClipRects(e){this._drawPanesBorders(e),this._createClipRectsForPanes(),this._applyClipRectsForAxes(),this._fillPanesBackground()},_updateLegendPosition(e,t){if(e.drawLegend&&this._legend&&t){const{panes:e}=this,t=(0,r.extend)({},e[0].canvas),n=new h.LayoutManager;t.right=e[e.length-1].canvas.right,t.bottom=e[e.length-1].canvas.bottom,n.layoutInsideLegend(this._legend,t)}},_allowLegendInsidePosition:()=>!0,_applyExtraSettings(e){const t=this._getPaneIndex(e.pane),n=this._panesClipRects,i=n.wide[t];e.setClippingParams(n.base[t].id,null==i?void 0:i.id,this._getPaneBorderVisibility(t))},_updatePanesCanvases(e){e.recreateCanvas&&(0,v.updatePanesCanvases)(this.panes,this._canvas,this._isRotated())},_normalizePanesHeight(){(0,v.normalizePanesHeight)(this.panes)},_renderScaleBreaks(){this._valueAxes.concat(this._argumentAxes).forEach((e=>{e.drawScaleBreaks()}))},_getArgFilter(){return b.default.getViewPortFilter(this.getArgumentAxis().visualRange()||{})},_hidePointsForSingleSeriesIfNeeded(e){const t=e.getPoints();let n=0;for(let i=0;i<t.length;i+=1){const o=t[i],r=t.slice(i+1);if(n+=Number(U(o,r)),n>t.length/2){e.autoHidePointMarkers=!0;break}}},_applyAutoHidePointMarkers(e){let t=[];const n=(e,n)=>e+U(n,t,!0);for(let i=e.length-1;i>=0;i-=1){const o=e[i];if(o.autoHidePointMarkersEnabled()&&(o.autoHidePointMarkers=!1,this._hidePointsForSingleSeriesIfNeeded(o),!o.autoHidePointMarkers)){const e=o.getPoints();e.reduce(n,0)<e.length?t=t.concat(e):o.autoHidePointMarkers=!0}}},_applyPointMarkersAutoHiding(){const e=this.series;this._themeManager.getOptions("autoHidePointMarkers")?this.panes.forEach((t=>{let{borderCoords:n,name:i}=t;const o=e.filter((e=>e.pane===i&&e.usePointsToDefineAutoHiding()));o.forEach((e=>{e.prepareCoordinatesForPoints()}));const a=this.getArgumentAxis(),s=function(e,t,n){const i=[],o={},a=n.visualRange(),s=n.getTranslator(),l=b.default.getViewPortFilter(a||{});return t.forEach((n=>{const a=n.getValueAxis(),c=a.getCanvasRange(),u=a.getTranslator(),d=e.indexOf(n),h=b.default.getViewPortFilter(c||{});o[d]={},t.forEach((t=>{o[d][e.indexOf(t)]=0}));const f=[];n.getPoints().filter((e=>e.getOptions().visible&&l(e.argument)&&(h(e.getMinValue(!0))||h(e.getMaxValue(!0))))).forEach((e=>{const t={seriesIndex:d,argument:e.argument,value:e.getMaxValue(!0),size:e.bubbleSize||e.getOptions().size,x:void 0,y:void 0};if(e.getMinValue(!0)!==e.getMaxValue(!0)){const n=(0,r.extend)({},t);n.value=e.getMinValue(!0),n.x=s.to(n.argument,1),n.y=u.to(n.value,1),f.push(n)}t.x=s.to(t.argument,1),t.y=u.to(t.value,1),f.push(t)})),o[d].pointsCount=f.length,o[d].total=0,o[d].continuousSeries=0,i.push({name:n.name,index:d,points:f})})),{series:i,overloadedSeries:o}}(e,o,a);if(function(e,t,n){const i=e.width*e.height,o=t.series;for(let e=o.length-1;e>=0;e-=1){const r=n.filter((t=>t.name===o[e].name))[0],{points:a}=o[e],s=a.length?a[0].size:0,l=s*s*a.length;if(r.autoHidePointMarkersEnabled()&&l>=i/o.length){const{index:i}=o[e];r.autoHidePointMarkers=!0,o.splice(e,1),n.splice(n.indexOf(r),1),t.overloadedSeries[i]=null}}}(n,s,o),s.series.length){const e=a.visualRange(),t=a.getOptions().type===A?(t,n)=>e.categories.indexOf(t.argument)-e.categories.indexOf(n.argument):(e,t)=>e.argument-t.argument;let n=[];s.series.forEach((e=>{n=n.concat(e.points)})),n.sort(t),function(e,t){let n=!1;for(let i=0;i<e.length-1;i+=1){const o=e[i],{size:r}=o;if((0,c.isDefined)(o.x)&&(0,c.isDefined)(o.y))for(let a=i+1;a<e.length;a+=1){const s=e[a],l=null==s?void 0:s.x,u=null==s?void 0:s.y;if(!(0,c.isDefined)(l)||Math.abs(o.x-l)>=r){n=n&&a!==i+1;break}{const e=(0,c.isDefined)(l)&&(0,c.isDefined)(u)&&Math.sqrt((o.x-l)**2+(o.y-u)**2);e&&e<r&&(t[o.seriesIndex][s.seriesIndex]+=1,t[o.seriesIndex].total+=1,n||(t[o.seriesIndex].continuousSeries+=1,n=!0))}}}}(n,s.overloadedSeries),this._applyAutoHidePointMarkers(o)}})):e.forEach((e=>{e.autoHidePointMarkers=!1}))},_renderAxes(e,t){function n(e){return e.map((e=>{if(!e.getTitle)return 0;const t=e.getTitle();return t?t.bBox.width:0}))}const i=this._isRotated(),o=this._themeManager.getOptions("synchronizeMultiAxes"),a=this._scrollBar?[this._scrollBar]:[],s=this._isArgumentAxisBeforeScrollBar()?this._argumentAxes.concat(a):a.concat(this._argumentAxes),l=i?this._argumentAxes:this._valueAxes,c=i?s:this._valueAxes,u=i?this._valueAxes:this._argumentAxes,d=i?this._valueAxes:s,h=l.concat(u),f=h.concat(a),p=l.some((e=>e.isFirstDrawing()));this._normalizePanesHeight(),this._updatePanesCanvases(e);let g=this.panes.reduce(((e,t)=>(e[t.name]=(0,r.extend)({},t.canvas),e)),{});const _=this.panes.reduce(((e,t)=>(e[t.name]={height:t.height,unit:t.unit},e)),{}),m=(0,r.extend)(!0,{},g);this._initCustomPositioningAxes();const v=this._axesBoundaryPositioning();if(!e.adjustAxes&&!v)return z(l,!i&&o,g,t),z(u,i&&o,g,t),H(h,"prepareAnimation"),this._renderScaleBreaks(),u.forEach((e=>e.resolveOverlappingForCustomPositioning(l))),l.forEach((e=>e.resolveOverlappingForCustomPositioning(u))),!1;v&&h.forEach((e=>e.customPositionIsAvailable()&&e.shift({top:0,left:0,bottom:0,right:0}))),this._scrollBar&&this._scrollBar.setPane(this.panes);let b={panes:{},left:0,right:0},y=V(d,(e=>e.estimateMargins(g[e.pane])));g=N(i,g,_,b,y);const x=e=>{z(e?u:l,(e?i:!i)&&o,g,t),e?y=V(d,B):b=F(c),g=N(i,g,_,b,y)};x(!1),x(!0),!this._changesApplying&&this._estimateTickIntervals(l,g)&&x(!1);let C=n(l);const S=this._getVisibleSeries(),w=function(e,t){const n=t.reduce(((e,t)=>e+t),0)/t.length;return e.animate&&n<=e.animationPointsLimit}(e,this._getPointsToAnimation(S));return H(f,"updateSize",g,w),d.forEach(j("top","bottom")),c.forEach(j("left","right")),this._renderScaleBreaks(),this.panes.forEach((e=>{(0,r.extend)(e.canvas,g[e.name])})),this._valueAxes.forEach((e=>{e.setInitRange()})),l.forEach(((e,t)=>{var o;if(null!==(o=e.hasWrap)&&void 0!==o&&o.call(e)){const o=e.getTitle(),r=(o?o.bBox.width:0)-C[t];"right"===e.getOptions().position?b.right+=r:(b.left+=r,this.panes.forEach((e=>{let{name:t}=e;b.panes[t].left+=r}))),g=N(i,g,_,b,y),H(f,"updateSize",g,!1,!1),C=n(l)}})),l.some((e=>e.customPositionIsAvailable()&&e.getCustomPosition()!==e._axisPosition))&&(w&&this._resetAxesAnimation(p,!1),H(l,"updateSize",g,w)),u.forEach((e=>e.resolveOverlappingForCustomPositioning(l))),l.forEach((e=>e.resolveOverlappingForCustomPositioning(u))),m},_getExtraTemplatesItems(){const e=(this._argumentAxes||[]).concat(this._valueAxes||[]),t=this._collectTemplatesFromItems(e);return{items:t.items,groups:t.groups,launchRequest(){e.forEach((e=>{e.setRenderedState(!0)}))},doneRequest(){e.forEach((e=>{e.setRenderedState(!1)}))}}},_estimateTickIntervals:(e,t)=>e.some((e=>e.estimateTickInterval(t[e.pane]))),checkForMoreSpaceForPanesCanvas(){const e=this._isRotated();let t=!1;if(this.panes.filter((e=>e.unit)).length===this.panes.length){let n=0,i=0;if(e){const e=this.getArgumentAxis().getMargins().right,t=Math.min(...this.panes.map((e=>e.canvas.right)));n=this._canvas.right+e-t}else{const e=this.getArgumentAxis().getMargins().bottom,t=Math.min(...this.panes.map((e=>e.canvas.bottom)));i=this._canvas.bottom+e-t}if(t=(n>0||i>0)&&{width:n,height:i},0!==i){const n=this.getSize(),o=this.option("size"),r=this._$element[0],a=!!parseInt(r.style.height,10)||0!==this._containerInitialHeight;e||null!=o&&o.height||a||(this._forceResize(n.width,n.height+i),t=!1)}}else t=this.layoutManager.needMoreSpaceForPanesCanvas(this._getLayoutTargets(),e,(t=>({width:e&&!!t.unit,height:!e&&!!t.unit})));return t},_forceResize(e,t){this._renderer.resize(e,t),this._updateSize(!0),this._setContentSize(),this._preserveOriginalCanvas(),this._updateCanvasClipRect(this._canvas)},_shrinkAxes(e,t){if(!e||!t)return;this._renderer.stopAllAnimations(!0);const n=this._isRotated(),i=this._scrollBar?[this._scrollBar]:[],o=this._isArgumentAxisBeforeScrollBar()?this._argumentAxes.concat(i):i.concat(this._argumentAxes),a=n?o:this._valueAxes,s=n?this._valueAxes:o,l=a.concat(s);if(e.width||e.height){Z(e,"height",s,V),Z(e,"width",a,F),H(l,"updateSize",t);const i=this.panes.reduce(((e,t)=>(e[t.name]={height:t.height,unit:t.unit},e)),{});H(l,"updateSize",t=N(n,t,i,F(a),V(s,B))),s.forEach(j("top","bottom")),a.forEach(j("left","right")),this.panes.forEach((e=>(0,r.extend)(e.canvas,t[e.name])))}},_isArgumentAxisBeforeScrollBar(){const e=this.getArgumentAxis();if(this._scrollBar){var t;const n=e.getResolvedBoundaryPosition(),i=null===(t=e.getOptions().label)||void 0===t?void 0:t.position,o=this._scrollBar.getOptions().position;return e.hasNonBoundaryPosition()||o===n&&i!==o}return!1},_getPanesParameters(){const{panes:e}=this,t=[];for(let n=0;n<e.length;n+=1)this._getPaneBorderVisibility(n)&&t.push({coords:e[n].borderCoords,clipRect:this._panesClipRects.fixed[n]});return t},_createCrosshairCursor(){const e=this._themeManager.getOptions("crosshair")||{},t=this.getArgumentAxis(),n=this._isRotated()?[this._valueAxes,[t]]:[[t],this._valueAxes],i={canvas:this._getCommonCanvas(),panes:this._getPanesParameters(),axes:n};null!=e&&e.enabled&&(this._crosshair?this._crosshair.update(e,i):this._crosshair=new d.Crosshair(this._renderer,e,i,this._crosshairCursorGroup),this._crosshair.render())},_getCommonCanvas(){let e;const{panes:t}=this;for(let n=0;n<t.length;n+=1){const{canvas:i}=t[n];e?(e.right=i.right,e.bottom=i.bottom):e=(0,r.extend)({},i)}return e},_createPanesBackground(){const e=this._themeManager.getOptions("commonPaneSettings").backgroundColor,t=this._renderer,n=[];this._panesBackgroundGroup.clear();for(let i=0;i<this.panes.length;i+=1){const o=this.panes[i].backgroundColor||e;if(!o||"none"===o){n.push(null);continue}const r=t.rect(0,0,0,0).attr({fill:(0,v.extractColor)(o),"stroke-width":0}).append(this._panesBackgroundGroup);n.push(r)}this.panesBackground=n},_fillPanesBackground(){(0,a.each)(this.panes,((e,t)=>{const n=t.borderCoords;null!==this.panesBackground[e]&&this.panesBackground[e].attr({x:n.left,y:n.top,width:n.width,height:n.height})}))},_calcPaneBorderCoords(e){const{canvas:t}=e,n=e.borderCoords=e.borderCoords||{};n.left=t.left,n.top=t.top,n.right=t.width-t.right,n.bottom=t.height-t.bottom,n.width=Math.max(n.right-n.left,0),n.height=Math.max(n.bottom-n.top,0)},_drawPanesBorders(e){const t=this._isRotated();this._panesBorderGroup.linkRemove().clear(),(0,a.each)(this.panes,((n,i)=>{const o=e[i.name],r={fill:"none",stroke:o.color,"stroke-opacity":o.opacity,"stroke-width":o.width,dashStyle:o.dashStyle,"stroke-linecap":"square"};if(this._calcPaneBorderCoords(i,t),!o.visible)return;const a=i.borderCoords,s=(0,x.prepareSegmentRectPoints)(a.left,a.top,a.width,a.height,o);this._renderer.path(s.points,s.pathType).attr(r).append(this._panesBorderGroup)})),this._panesBorderGroup.linkAppend()},_createClipRect(e,t,n,i,o,r){let a=e[t];a?a.attr({x:n,y:i,width:o,height:r}):(a=this._renderer.clipRect(n,i,o,r),e[t]=a)},_createClipRectsForPanes(){const e=this._canvas;(0,a.each)(this.panes,((t,n)=>{let i=!1;const o=n.borderCoords;let{left:r}=o,{top:s}=o,{width:l}=o,{height:c}=o;const u=this._panesClipRects;this._createClipRect(u.fixed,t,r,s,l,c),this._createClipRect(u.base,t,r,s,l,c),(0,a.each)(this.series,((e,t)=>{t.pane===n.name&&(t.isFinancialSeries()||t.areErrorBarsVisible())&&(i=!0)})),i?(this._isRotated()?(s=0,c=e.height):(r=0,l=e.width),this._createClipRect(u.wide,t,r,s,l,c)):u.wide[t]=null}))},_applyClipRectsForAxes(){const e=this._getAllAxes(),t=this._getCanvasClipRectID();for(let n=0;n<e.length;n+=1){const i=this._getElementsClipRectID(e[n].pane);e[n].applyClipRects(i,t)}},_getPaneBorderVisibility(e){var t;const n=this._themeManager.getOptions("commonPaneSettings").border.visible,i=this.panes[e],o=null==i||null===(t=i.border)||void 0===t?void 0:t.visible;return void 0===o?n:o},_getCanvasForPane(e){var t;return null===(t=this.panes.find((t=>t.name===e)))||void 0===t?void 0:t.canvas},_getTrackerSettings(){return(0,r.extend)(this.callBase(),{chart:this,rotated:this._isRotated(),crosshair:this._getCrosshairOptions().enabled?this._crosshair:null,stickyHovering:this._themeManager.getOptions("stickyHovering")})},_resolveLabelOverlappingStack(){const e=this._isRotated(),t=e?(e,t)=>({x:e.x-t,y:e.y}):(e,t)=>({x:e.x,y:e.y-t}),n=(t,n)=>{const i=e?1:0;if(t.labels[0].getFigureCenter()[i]-n.labels[0].getFigureCenter()[i]==0){const e=t.labels[0].getPoint().series.getValueAxis().getTranslator().isInverted()?-1:1;return(t.value()-n.value())*e}return 0};(0,a.each)(this._getStackPoints(),((i,o)=>{(0,a.each)(o,((i,o)=>{const r=o[0].series.getValueAxis().getOptions().inverted;S.overlapping.resolveLabelOverlappingInOneDirection(o,this._getCommonCanvas(),e,r,t,n)}))}))},_getStackPoints(){const e={},t=this._getVisibleSeries();return(0,a.each)(t,((t,n)=>{const i=n.getPoints(),o=n.getStackName()||null;(0,a.each)(i,((t,n)=>{const{argument:i}=n;e[i]||(e[i]={}),e[i][o]||(e[i][o]=[]),e[i][o].push(n)}))})),e},_getCrosshairOptions(){return this._getOption("crosshair")},zoomArgument(e,t){this._initialized&&((0,c.isDefined)(e)||(0,c.isDefined)(t))&&this.getArgumentAxis().visualRange([e,t])},resetVisualRange(){const e=this._argumentAxes,t=this.getArgumentAxis();e.forEach((e=>{e.resetVisualRange(t!==e),this._applyCustomVisualRangeOption(e)})),this.callBase()},getVisibleArgumentBounds(){const e=this._argumentAxes[0].getTranslator().getBusinessRange(),t=e.axisType===A,{categories:n}=e;return{minVisible:t?e.minVisible||n[0]:e.minVisible,maxVisible:t?e.maxVisible||n[n.length-1]:e.maxVisible}},_change_FULL_RENDER(){this.callBase(),this._changes.has("VISUAL_RANGE")&&this._raiseZoomEndHandlers()},_getAxesForScaling(){return[this.getArgumentAxis()].concat(this._valueAxes)},_applyVisualRangeByVirtualAxes(e,t){if(e.isArgumentAxis){if(e!==this.getArgumentAxis())return!0;this._argumentAxes.filter((t=>t!==e)).forEach((e=>e.visualRange(t,{start:!0,end:!0})))}return!1},_raiseZoomEndHandlers(){this._argumentAxes.forEach((e=>e.handleZoomEnd())),this.callBase()},_setOptionsByReference(){this.callBase(),(0,r.extend)(this._optionsByReference,{"argumentAxis.visualRange":!0})},option(){const e=this.callBase(...arguments),t=this._options.silent("valueAxis");if("array"===(0,c.type)(t))for(let e=0;e<t.length;e+=1){const t=`valueAxis[${e}].visualRange`;this._optionsByReference[t]=!0}return e},_notifyVisualRange(){const e=this._argumentAxes[0],t=(0,v.convertVisualRangeObject)(e.visualRange(),!O(this.option("argumentAxis.visualRange")));e.skipEventRising&&(0,v.rangesAreEqual)(t,this.option("argumentAxis.visualRange"))?e.skipEventRising=null:this.option("argumentAxis.visualRange",t),this.callBase()}});$.addPlugin(g.default),$.addPlugin(_.default),$.addPlugin(m.plugins.core),$.addPlugin(m.plugins.chart),(0,i.default)("dxChart",$);t.default=$},98895:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=g(n(92848)),o=n(17781),r=n(52576),a=n(21274),s=n(11528),l=g(n(7377)),c=n(97808),u=n(94618),d=n(28779),h=n(99857),f=n(14393),p=n(9410);function g(e){return e&&e.__esModule?e:{default:e}}const{states:_}=l.default,m=l.default.pieSeriesSpacing,v=_.normalMark,b=_.hoverMark,y=_.selectedMark,x=[_.resetItem,_.applyHover,_.applySelected,_.applySelected];function C(e,t){return{x:e.x,y:e.y-t}}function S(e,t){return e.getVisiblePoints().reduce(((e,t)=>{const n=(0,d.normalizeAngle)(t.middleAngle);return(n<=90||n>=270?e.right:e.left).push(t),e}),t||{left:[],right:[]})}function w(e,t,n,i){let o=!1;return n&&(e.left.reverse(),e.right.reverse()),o=p.overlapping.resolveLabelOverlappingInOneDirection(e.left,i,!1,!1,t),p.overlapping.resolveLabelOverlappingInOneDirection(e.right,i,!1,!1,t)||o}function E(e){return(0,s.isNumeric)(e)?e>1?e=1:e<0&&(e=0):e=void 0,e}const T=function(){function e(e,t){return e.filter((e=>e!==t))}let t=[],n={};return{queue(i){const o=i.getSizeGroup();var r;t=e(t,r=i).concat(r),clearTimeout(n[o]),n[o]=setTimeout((()=>{!function(e,t){const n=t.filter((t=>t._isVisible()&&t.getSizeGroup()===e)),i=Math.min.apply(null,n.map((e=>e.getSizeGroupLayout().radius))),o=n.filter((e=>e.getSizeGroupLayout().radius===i));n.forEach((e=>e.render({force:!0,sizeGroupLayout:o.length?o[0].getSizeGroupLayout():{}})))}(o,t)}))},remove(i){t=e(t,i),t.length||(n={})}}}(),A=p.BaseChart.inherit({_themeSection:"pie",_layoutManagerOptions(){return(0,r.extend)(!0,{},this.callBase(),{piePercentage:E(this._themeManager.getOptions("diameter")),minPiePercentage:E(this._themeManager.getOptions("minDiameter"))})},_optionChangesMap:{diameter:"REINIT",minDiameter:"REINIT",sizeGroup:"REINIT"},_disposeCore(){T.remove(this),this.callBase()},_groupSeries(){var e;const{series:t}=this;this._groupsData={groups:[{series:t,valueOptions:{valueType:"numeric"}}],argumentOptions:null===(e=t[0])||void 0===e?void 0:e.getOptions()}},getArgumentAxis:()=>null,_getValueAxis(){const e=(new f.Translator1D).setCodomain(360,0);return{getTranslator:()=>e,setBusinessRange(t){e.setDomain(t.min,t.max)}}},_populateBusinessRange(){this.series.map((e=>{const t=new h.Range;return t.addRange(e.getRangeData().val),e.getValueAxis().setBusinessRange(t),t}))},_specialProcessSeries(){(0,a.each)(this.series,((e,t)=>{t.arrangePoints()}))},_checkPaneName:()=>!0,_processSingleSeries(e){this.callBase(e),e.arrangePoints()},_handleSeriesDataUpdated(){let e=0;this.series.forEach((t=>{e=Math.max(t.getPointsCount(),e)})),this.series.forEach((t=>{t.setMaxPointsCount(e)})),this.callBase()},_getLegendOptions(e){const t=this.callBase(e),{legendData:n}=t;return n.argument=e.argument,n.argumentIndex=e.argumentIndex,n.points=[e],t},_getLegendTargets(){const e={};(this.series||[]).forEach((t=>{t.getPoints().forEach((n=>{const i=n.argument.valueOf(),o=t.getPointsByArg(i).indexOf(n),r=i.valueOf().toString()+o;e[r]=e[r]||[];const a=e[r].push(n);n.index=e[r][a-2]?e[r][a-2].index:Object.keys(e).length-1,n.argumentIndex=o}))}));const t=[];return(0,a.each)(e,((e,n)=>{n.forEach(((e,n)=>{if(0===n)return void t.push(this._getLegendOptions(e));const i=t[t.length-1];i.legendData.points.push(e),i.visible||(i.visible=e.isVisible())}))})),t},_getLayoutTargets(){return[{canvas:this._canvas}]},_getLayoutSeries(e,t){let n;const i=this._canvas;let o=!1;return n=this.layoutManager.applyPieChartSeriesLayout(i,e,!0),e.forEach((e=>{e.correctPosition(n,i),o=e.drawLabelsWOPoints()||o})),o&&(n=this.layoutManager.applyPieChartSeriesLayout(i,e,t.hideLayoutLabels)),e.forEach((e=>{e.hideLabels()})),this._sizeGroupLayout={x:n.centerX,y:n.centerY,radius:n.radiusOuter,drawOptions:t},n},_getLayoutSeriesForEqualPies(e,t){const n=this._canvas,i=this.layoutManager.applyEqualPieChartLayout(e,t);return e.forEach((e=>{e.correctPosition(i,n),e.drawLabelsWOPoints()})),this.layoutManager.correctPieLabelRadius(e,i,n),i},_updateSeriesDimensions(e){const t=this._getVisibleSeries(),n=t.length;let i,o,r;const{sizeGroupLayout:a}=e;n&&(r=a?this._getLayoutSeriesForEqualPies(t,a):this._getLayoutSeries(t,e),o=(r.radiusOuter-r.radiusInner-m*(n-1))/n,i=r.radiusInner,this._setGeometry(r),t.forEach((e=>{e.correctRadius({radiusInner:i,radiusOuter:i+o}),i+=o+m})))},_renderSeries(e,t,n){if(this._calculateSeriesLayout(e,t),!e.sizeGroupLayout&&this.getSizeGroup())return T.queue(this),void this._clearCanvas();this._renderSeriesElements(e,n)},_getCenter(){return this._center},getInnerRadius(){return this._innerRadius},_getLegendCallBack(){const e=this._legend,t=this._getLegendTargets().map((e=>e.legendData));return n=>{t.forEach((t=>{const i=[],o=e.getActionCallback({index:t.id});this.series.forEach((e=>{const n=e.getPointsByKeys(t.argument,t.argumentIndex);i.push.apply(i,n)})),n&&n.argument===t.argument&&n.argumentIndex===t.argumentIndex&&i.push(n),o(function(e){let t=v;return e.forEach((e=>{var n;const i=null===(n=e.series)||void 0===n?void 0:n.getOptions();let o=e.fullState;"none"===(null==i?void 0:i.hoverMode)&&(o&=~b),"none"===(null==i?void 0:i.selectionMode)&&(o&=~y),t|=o})),x[t]}(i))}))}},_locateLabels(e){let t,n,i=0;do{n=this._adjustSeriesLabels("shift"===e),t=this._resolveLabelOverlapping(e)}while((t||n)&&++i<5)},_adjustSeriesLabels(e){return this.series.reduce(((t,n)=>n.adjustLabels(e)||t),!1)},_applyExtraSettings:o.noop,_resolveLabelOverlappingShift(){const e="anticlockwise"===this.option("segmentsDirection"),t=this.series.reduce(((e,t)=>((e[t.getOptions().label.position]||e.outside).push(t),e)),{inside:[],columns:[],outside:[]});let n=!1;const i=(e,t)=>(0,d.getVerticallyShiftedAngularCoords)(e,-t,this._center);if(t.inside.length>0){n=w(t.inside.reduce(((e,t)=>t.getVisiblePoints().reduce(((e,t)=>(e.left.push(t),e)),e)),{left:[],right:[]}),C,e,this._canvas)||n}return n=t.columns.reduce(((t,n)=>w(S(n),C,e,this._canvas)||t),n),t.outside.length>0&&(n=w(t.outside.reduce(((e,t)=>S(t,e)),null),i,e,this._canvas)||n),n},_setGeometry(e){let{centerX:t,centerY:n,radiusInner:i}=e;this._center={x:t,y:n},this._innerRadius=i},_disposeSeries(){this.callBase.apply(this,arguments),this._abstractSeries=null},_legendDataField:"point",_legendItemTextField:"argument",_applyPointMarkersAutoHiding:o.noop,_renderTrackers:o.noop,_trackerType:"PieTracker",_createScrollBar:o.noop,_updateAxesLayout:o.noop,_applyClipRects:o.noop,_appendAdditionalSeriesGroups:o.noop,_prepareToRender:o.noop,_isLegendInside:o.noop,_renderAxes:o.noop,_shrinkAxes:o.noop,_isRotated:o.noop,_seriesPopulatedHandlerCore:o.noop,_reinitAxes:o.noop,_correctAxes:o.noop,_getExtraOptions(){return{startAngle:this.option("startAngle"),innerRadius:this.option("innerRadius"),segmentsDirection:this.option("segmentsDirection"),type:this.option("type")}},getSizeGroup(){return this._themeManager.getOptions("sizeGroup")},getSizeGroupLayout(){return this._sizeGroupLayout||{}}});(0,a.each)(["startAngle","innerRadius","segmentsDirection","type"],((e,t)=>{A.prototype._optionChangesMap[t]="REFRESH_SERIES_DATA_INIT"})),A.addPlugin(u.plugins.pieChart),A.addPlugin(c.plugins.core),A.addPlugin(c.plugins.pieChart),(0,i.default)("dxPieChart",A);t.default=A},52769:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(92848))&&i.__esModule?i:{default:i},r=n(17781),a=n(52576),s=n(11528),l=n(97808),c=n(28779),u=n(78609);const d=u.AdvancedChart.inherit({_themeSection:"polar",_createPanes(){return this.callBase(),[{name:"default"}]},_checkPaneName:()=>!0,_getAxisRenderingOptions(e){let t="argumentAxis"===e?"circular":"linear";return this.option("useSpiderWeb")&&(t+="Spider"),{axisType:"polarAxes",drawingType:t}},_executeAppendBeforeSeries(e){e()},_prepareAxisOptions(e,t){const n="argumentAxis"===e,i=this._themeManager,o=this.option("argumentAxis"),r=i.getOptions("argumentAxis",o)||{},a=isFinite(r.startAngle)?(0,c.normalizeAngle)(r.startAngle):0;return{type:this.option("useSpiderWeb")&&n?"discrete":t.type,isHorizontal:!0,showCustomBoundaryTicks:n,startAngle:a,endAngle:a+360}},_optionChangesMap:{useSpiderWeb:"USE_SPIDER_WEB"},_change_USE_SPIDER_WEB(){this._disposeAxes(),this._requestChange(["AXES_AND_PANES"])},_getExtraOptions(){return{spiderWidget:this.option("useSpiderWeb")}},_prepareToRender(){return this._appendAxesGroups(),{}},_calcCanvas(){const e=(0,a.extend)({},this._canvas),t=this.getArgumentAxis().getMargins();return Object.keys(t).forEach((n=>{e[n]=e[`original${n[0].toUpperCase()}${n.slice(1)}`]+t[n]})),e},_renderAxes(){const e=this._getValueAxis(),t=this.getArgumentAxis();t.draw(this._canvas),e.setSpiderTicks(t.getSpiderTicks());const n=this._calcCanvas();return t.updateSize(n),e.draw(n),n},_getValueAxis(){return this._valueAxes[0]},_shrinkAxes(e){const t=this._getValueAxis(),n=this.getArgumentAxis();if(e&&(e.width||e.height)){n.hideOuterElements();const e=this._calcCanvas();n.updateSize(e),t.updateSize(e)}},checkForMoreSpaceForPanesCanvas(){return this.layoutManager.needMoreSpaceForPanesCanvas([{canvas:this.getArgumentAxis().getCanvas()}],this._isRotated())},_getLayoutTargets(){return[{canvas:this._canvas}]},_getSeriesForPane(){return this.series},_applyClipRects(){const e=this._getCanvasClipRectID();this._createClipPathForPane(),this.getArgumentAxis().applyClipRects(this._getElementsClipRectID(),e),this._getValueAxis().applyClipRects(this._getElementsClipRectID(),e)},_createClipPathForPane(){const e=this._getValueAxis();let t=e.getCenter();const n=e.getRadius(),i=this._panesClipRects;t={x:Math.round(t.x),y:Math.round(t.y)},this._createClipCircle(i.fixed,t.x,t.y,n),this._createClipCircle(i.base,t.x,t.y,n),this.series.some((e=>e.areErrorBarsVisible()))?this._createClipCircle(i.wide,t.x,t.y,n):i.wide[0]=null},_createClipCircle(e,t,n,i){let o=e[0];o?o.attr({cx:t,cy:n,r:i}):(o=this._renderer.clipCircle(t,n,i),e[0]=o)},_applyExtraSettings(e){const t=this._panesClipRects.wide[0];e.setClippingParams(this._panesClipRects.base[0].id,t&&t.id,!1,!1)},getActualAngle(e){return this.getArgumentAxis().getOptions().inverted?360-e:e},getXYFromPolar(e,t,n,i){const o={angle:void 0,radius:void 0,x:void 0,y:void 0};if(!((0,s.isDefined)(e)||(0,s.isDefined)(t)||(0,s.isDefined)(n)||(0,s.isDefined)(i)))return o;const r=this.getArgumentAxis(),l=r.getAngles()[0];let u,d;if((0,s.isDefined)(n)?u=r.getTranslator().translate(n):isFinite(e)?u=this.getActualAngle(e):(0,s.isDefined)(e)||(u=0),(0,s.isDefined)(i)?d=this.getValueAxis().getTranslator().translate(i):isFinite(t)?d=t:(0,s.isDefined)(t)||(d=r.getRadius()),(0,s.isDefined)(u)&&(0,s.isDefined)(d)){const e=(0,c.convertPolarToXY)(r.getCenter(),l,u,d);(0,a.extend)(o,e,{angle:r.getTranslatedAngle(u),radius:d})}return o},_applyPointMarkersAutoHiding:r.noop,_createScrollBar:r.noop,_isRotated:r.noop,_getCrosshairOptions:r.noop,_isLegendInside:r.noop});d.addPlugin(l.plugins.core),d.addPlugin(l.plugins.polarChart),(0,o.default)("dxPolarChart",d);t.default=d},81578:function(e,t,n){Object.defineProperty(t,"cancelAnimationFrame",{enumerable:!0,get:function(){return i.cancelAnimationFrame}}),Object.defineProperty(t,"requestAnimationFrame",{enumerable:!0,get:function(){return i.requestAnimationFrame}});var i=n(16826)},44229:function(e,t,n){t.default=void 0;var i=n(16826);t.default=i.fx;e.exports=t.default,e.exports.default=t.default},27287:function(e,t,n){t.default=void 0;var i=n(16826);t.default=i.animationPresets;e.exports=t.default,e.exports.default=t.default},54830:function(e,t,n){t.default=void 0;var i=n(16826);t.default=i.TransitionExecutor;e.exports=t.default,e.exports.default=t.default},27114:function(e,t,n){const i=n(92307);i.common=i.common||{},i.common.charts=n(20153),e.exports=i.common.charts},92307:function(e,t,n){const i=n(3104).getWindow(),o=i.DevExpress=i.DevExpress||{},r=o.errors=n(87129);if(o._DEVEXTREME_BUNDLE_INITIALIZED)throw r.Error("E0024");o._DEVEXTREME_BUNDLE_INITIALIZED=!0,o.clientExporter=n(73549),o.excelExporter=n(54594),o.pdfExporter=n(92731),o.VERSION=n(1956).version,o.assertDevExtremeVersion=n(48367).c,o.Class=n(55620),o.DOMComponent=n(97832),o.Component=n(17863).Component,o.registerComponent=n(92848),o.devices=n(63705).devices,o.trial=n(71669),o.Color=n(43101);const a=n(84096);o.utils={},o.utils.requestAnimationFrame=a.requestAnimationFrame,o.utils.cancelAnimationFrame=a.cancelAnimationFrame,o.utils.initMobileViewport=n(63705).initMobileViewport,o.utils.getTimeZones=n(63705).getTimeZones,o.utils.extendFromObject=n(52576).extendFromObject,o.utils.triggerShownEvent=n(18029).triggerShownEvent,o.utils.triggerHidingEvent=n(18029).triggerHidingEvent,o.utils.resetActiveElement=n(86858).resetActiveElement,o.utils.findBestMatches=n(17781).findBestMatches,o.createQueue=n(65221).create,o.utils.dom=n(86858),o.utils.common=n(17781),o.utils.date=n(41380),o.utils.browser=n(48314),o.utils.inflector=n(53124),o.utils.iterator=n(21274),o.utils.readyCallbacks=n(3122),o.utils.resizeCallbacks=n(63283),o.utils.console=n(31951),o.utils.string=n(54497),o.utils.support=n(4785),o.utils.ajax=n(78670),o.viewPort=n(55355).value,o.hideTopOverlay=n(63705).hideTopOverlay,o.formatHelper=n(2082),o.config=n(83077).config,o.animationPresets=n(61310).presets,o.fx=n(16826).fx,o.TransitionExecutor=n(33054).TransitionExecutor,o.AnimationPresetCollection=n(61310).PresetCollection,o.events=n(52391),o.events.click=n(64044),o.events.utils=n(98834),o.events.GestureEmitter=n(85915),o.localization=n(46795),o.templateRendered=n(42186).renderedCallbacks,o.setTemplateEngine=n(35155).setTemplateEngine,e.exports=o},11166:function(e,t,n){n(6285),n(72134),n(90270),n(21113),n(85096),n(46327),n(53093),n(76856),n(65266),n(80175),n(69786),n(53200),n(66636),n(65951),n(91366),n(67872),n(81578),n(44229),n(27287),n(54830),n(16615),n(30725),n(36069),n(94348),n(89207)},54844:function(e,t,n){const i=n(92307),o=n(87129);e.exports=i.data=i.data||{},Object.defineProperty(i.data,"errorHandler",{get:function(){return n(11036).errorHandler},set:function(e){o.log("W0003","DevExpress.data","errorHandler","21.1","Use the 'setErrorHandler' method instead"),n(82812).setErrorHandler(e)}}),Object.defineProperty(i.data,"_errorHandler",{get:function(){return n(82812).handleError},set:function(e){o.log("W0003","DevExpress.data","_errorHandler","21.1","Use the 'setErrorHandler' method instead"),n(82812).setErrorHandler(e)}}),i.data.setErrorHandler=n(82812).setErrorHandler,i.data.DataSource=n(14479),i.data.query=n(30771),i.data.Store=n(77735),i.data.ArrayStore=n(80556),i.data.CustomStore=n(63326).CustomStore,i.data.LocalStore=n(71790),i.data.base64_encode=n(89358).base64_encode,i.data.applyChanges=n(99745),i.data.Guid=n(19427),i.data.utils={},i.data.utils.compileGetter=n(31e3).compileGetter,i.data.utils.compileSetter=n(31e3).compileSetter,i.EndpointSelector=n(44180),i.data.queryImpl=n(84816).queryImpl,i.data.queryAdapters=n(5842);const r=n(89358);i.data.utils.normalizeBinaryCriterion=r.normalizeBinaryCriterion,i.data.utils.normalizeSortingInfo=r.normalizeSortingInfo,i.data.utils.errorMessageFromXhr=r.errorMessageFromXhr,i.data.utils.aggregators=r.aggregators,i.data.utils.keysEqual=r.keysEqual,i.data.utils.isDisjunctiveOperator=r.isDisjunctiveOperator,i.data.utils.isConjunctiveOperator=r.isConjunctiveOperator,i.data.utils.processRequestResultLock=r.processRequestResultLock,i.data.utils.toComparable=n(31e3).toComparable,i.data.utils.multiLevelGroup=n(66177).multiLevelGroup,i.data.utils.arrangeSortingInfo=n(66177).arrangeSortingInfo,i.data.utils.normalizeDataSourceOptions=n(97169).normalizeDataSourceOptions},23555:function(e,t,n){n(74760),n(47283),n(22567),n(77735),n(67664),n(37754),n(1242),n(99354),n(50797),n(19427),n(31e3),n(73192),n(99354)},71043:function(e,t,n){n(54844),DevExpress.data.ODataStore=n(29284),DevExpress.data.ODataContext=n(34170),DevExpress.data.utils=DevExpress.data.utils||{},DevExpress.data.utils.odata={},DevExpress.data.utils.odata.keyConverters=n(8056).keyConverters,DevExpress.data.EdmLiteral=n(8056).EdmLiteral;const i=n(8056);DevExpress.data.utils.odata.serializePropName=i.serializePropName,DevExpress.data.utils.odata.serializeValue=i.serializeValue,DevExpress.data.utils.odata.serializeKey=i.serializeKey,DevExpress.data.utils.odata.sendRequest=i.sendRequest,DevExpress.data.queryAdapters=DevExpress.data.queryAdapters||{},DevExpress.data.queryAdapters.odata=n(65001).odata},42190:function(e,t,n){n(54844),n(25184),n(87062),n(57076)},67712:function(e,t,n){const i=n(92307);n(11166),n(21001),n(34563),n(23805),n(84207),n(13203),n(99862),n(869),n(64044),n(80248),n(5636),n(59144),n(68095),n(638),n(89797),n(80250),n(37008),e.exports=i},51323:function(e,t,n){const i=n(67712).data=n(54844);n(23555),i.odata=n(71043),n(42190),e.exports=i},90750:function(e,t,n){const i=n(67712);n(51323),n(27114);const o=i.viz=n(2211);o.currentTheme=n(84560).currentTheme,o.registerTheme=n(84560).registerTheme,o.exportFromMarkup=n(88168).exportFromMarkup,o.getMarkup=n(88168).getMarkup,o.exportWidgets=n(88168).exportWidgets,o.currentPalette=n(9735).currentPalette,o.getPalette=n(9735).getPalette,o.generateColors=n(9735).generateColors,o.registerPalette=n(9735).registerPalette,o.refreshTheme=n(84560).refreshTheme,o.dxChart=n(26408),o.dxPieChart=n(4381),o.dxPolarChart=n(11247),o.dxLinearGauge=n(4655),o.dxCircularGauge=n(89463),o.dxBarGauge=n(84601),o.dxRangeSelector=n(30185),o.dxVectorMap=n(85148),o.map={},o.map.sources={},o.map.projection=n(99094).projection,o.dxSparkline=n(71871),o.dxBullet=n(75954),o.dxTreeMap=n(61015),o.dxFunnel=n(61434),o.dxSankey=n(37755),o.getTheme=n(84560).getTheme,o.findTheme=n(84560).getTheme,o.refreshAll=n(84560).refreshTheme,o.refreshPaths=n(2225).refreshPaths,o.gauges={__internals:{}},o._dashboard={},o._dashboard.Renderer=n(63022).Renderer,o._dashboard.SvgElement=n(63022).SvgElement,o._dashboard.patchFontOptions=n(28779).patchFontOptions,e.exports=o},2211:function(e,t,n){n(92307),e.exports=DevExpress.viz=DevExpress.viz||{}},43101:function(e,t){t.default=void 0;const n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},i=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}},{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),Number((parseInt(e[4],16)/255).toFixed(2))]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),Number((parseInt(e[4]+e[4],16)/255).toFixed(2))]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){const t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=s(t,n,i);return[o[0],o[1],o[2],1,[t,n,i]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){const t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=u(t,n,i);return[o[0],o[1],o[2],1,null,[t,n,i]]}}],o=Math.round;function r(e){let t;this.baseColor=e,e&&(t=String(e).toLowerCase().replace(/ /g,""),t=n[t]?"#"+n[t]:t,t=function(e){if("transparent"===e)return[0,0,0,0];let t=0;const n=i.length;let o;for(;t<n;++t)if(o=i[t].re.exec(e),o)return i[t].process(o);return null}(t)),t||(this.colorIsInvalid=!0),t=t||{},this.r=a(t[0]),this.g=a(t[1]),this.b=a(t[2]),this.a=a(t[3],1,1),t[4]?this.hsv={h:t[4][0],s:t[4][1],v:t[4][2]}:this.hsv=function(e,t,n){const i=Math.max(e,t,n),o=Math.min(e,t,n),r=i-o;let a,s,l=i;if(s=0===i?0:1-o/i,i===o)a=0;else switch(i){case e:a=(t-n)/r*60,t<n&&(a+=360);break;case t:a=(n-e)/r*60+120;break;case n:a=(e-t)/r*60+240}return s*=100,l*=100/255,{h:Math.round(a),s:Math.round(s),v:Math.round(l)}}(this.r,this.g,this.b),t[5]?this.hsl={h:t[5][0],s:t[5][1],l:t[5][2]}:this.hsl=function(e,t,n){e=d(e,255),t=d(t,255),n=d(n,255);const i=Math.max(e,t,n),r=Math.min(e,t,n),a=i+r;let s,l;const c=a/2;if(i===r)s=l=0;else{const o=i-r;l=c>.5?o/(2-a):o/a,s=function(e,t,n,i){switch(Math.max(e,t,n)){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}(e,t,n,o),s/=6}return{h:o(360*s),s:o(100*l),l:o(100*c)}}(this.r,this.g,this.b)}function a(e,t,n){return t=t||0,n=n||255,e<0||isNaN(e)?t:e>n?n:e}function s(e,t,n){const i=(100-t)*n/100,o=e%60/60*(n-i),r=i+o,a=n-o;let s,l,c;switch(Math.floor(e%360/60)){case 0:s=n,l=r,c=i;break;case 1:s=a,l=n,c=i;break;case 2:s=i,l=n,c=r;break;case 3:s=i,l=a,c=n;break;case 4:s=r,l=i,c=n;break;case 5:s=n,l=i,c=a}return[Math.round(2.55*s),Math.round(2.55*l),Math.round(2.55*c)]}function l(e,t){let n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function c(e,t,n){return(n=function(e){return e<0&&(e+=1),e>1&&(e-=1),e}(n))<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function u(e,t,n){let i,r,a;if(e=d(e,360),t=d(t,100),n=d(n,100),0===t)i=r=a=n;else{const o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;i=c(s,o,l("r",e)),r=c(s,o,l("g",e)),a=c(s,o,l("b",e))}return[o(255*i),o(255*r),o(255*a)]}function d(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function h(e,t,n){return t=t||0,n=n||255,!(e%1!=0||e<t||e>n||"number"!=typeof e||isNaN(e))}r.prototype={constructor:r,highlight:function(e){return e=e||10,this.alter(e).toHex()},darken:function(e){return e=e||10,this.alter(-e).toHex()},alter:function(e){const t=new r;return t.r=a(this.r+e),t.g=a(this.g+e),t.b=a(this.b+e),t},blend:function(e,t){const n=e instanceof r?e:new r(e),i=new r;return i.r=a(o(this.r*(1-t)+n.r*t)),i.g=a(o(this.g*(1-t)+n.g*t)),i.b=a(o(this.b*(1-t)+n.b*t)),i},toHex:function(){return e=this.r,t=this.g,n=this.b,"#"+(16777216|e<<16|t<<8|n).toString(16).slice(1);var e,t,n},getPureColor:function(){return new r("rgb("+s(this.hsv.h,100,100).join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(h(e)&&h(t)&&h(n))},isValidAlpha:function(e){return!(isNaN(e)||e<0||e>1||"number"!=typeof e)},colorIsInvalid:!1,fromHSL:function(e){const t=new r,n=u(e.h,e.s,e.l);return t.r=n[0],t.g=n[1],t.b=n[2],t}};t.default=r;e.exports=t.default,e.exports.default=t.default},83077:function(e,t,n){Object.defineProperty(t,"Guid",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"config",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"setTemplateEngine",{enumerable:!0,get:function(){return r.default}});var i=a(n(66518)),o=a(n(71037)),r=a(n(32480));function a(e){return e&&e.__esModule?e:{default:e}}},20153:function(e,t,n){Object.defineProperty(t,"registerGradient",{enumerable:!0,get:function(){return i.registerGradient}}),Object.defineProperty(t,"registerPattern",{enumerable:!0,get:function(){return i.registerPattern}});var i=n(55351)},66518:function(e,t,n){t.default=void 0;var i,o=(i=n(34338))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},16826:function(e,t,n){Object.defineProperty(t,"TransitionExecutor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"animationPresets",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"cancelAnimationFrame",{enumerable:!0,get:function(){return i.cancelAnimationFrame}}),Object.defineProperty(t,"fx",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"requestAnimationFrame",{enumerable:!0,get:function(){return i.requestAnimationFrame}});var i=n(84096),o=s(n(27075)),r=s(n(58049)),a=s(n(94680));function s(e){return e&&e.__esModule?e:{default:e}}},88424:function(e,t,n){t.convertTransitionTimingFuncToEasing=void 0,t.getEasing=function(e){return s[e]},t.setEasing=function(e){s=e};var i=n(11528);const o=/cubic-bezier\((\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\)/,r={linear:"cubic-bezier(0, 0, 1, 1)",swing:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)"},a=function(e,t,n,i){const o=3*e,r=3*(n-e)-o,a=1-o-r,s=3*t,l=3*(i-t)-s,c=1-s-l,u=function(e){return e*(o+e*(r+e*a))},d=function(e){return o+e*(2*r+3*e*a)};return function(e){return function(e){return e*(s+e*(l+e*c))}(function(e){let t,n=e,i=0;for(;i<14&&(t=u(n)-e,!(Math.abs(t)<.001));)n-=t/d(n),i++;return n}(e))}};let s={};t.convertTransitionTimingFuncToEasing=function(e){let t,n=(e=r[e]||e).match(o);n||(t="linear",n=r[t].match(o)),n=n.slice(1,5);for(let e=0;e<n.length;e++)n[e]=parseFloat(n[e]);const l=t||"cubicbezier_"+n.join("_").replace(/\./g,"p");return(0,i.isFunction)(s[l])||(s[l]=function(e,t,i,o,r){return o*a(n[0],n[1],n[2],n[3])(t/r)+i}),l}},84096:function(e,t,n){t.cancelAnimationFrame=function(){u(),c.apply(a,arguments)},t.requestAnimationFrame=function(){return u(),l.apply(a,arguments)};var i,o=n(3104),r=(i=n(13630))&&i.__esModule?i:{default:i};const a=(0,o.hasWindow)()?(0,o.getWindow)():{},s=1e3/60;let l=function(e){return setTimeout(e,s)},c=function(e){clearTimeout(e)};const u=(0,r.default)((function(){const e=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame,t=a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame;e&&t&&(l=e,c=t)}))},27075:function(e,t,n){t.default=void 0;var i=y(n(64553)),o=n(3104),r=y(n(92774)),a=y(n(87129)),s=n(61404),l=n(52576),c=n(11528),u=n(21274),d=n(88603),h=n(88424),f=n(84096),p=y(n(85991)),g=y(n(3030)),_=n(28630),m=n(98834),v=n(87739),b=n(17781);function y(e){return e&&e.__esModule?e:{default:e}}const x=(0,o.getWindow)(),C=(0,m.addNamespace)(_.removeEvent,"dxFX"),S=/^([+-])=(.*)/i,w="dxAnimData",E="dxAnimQueue",T="transform",A={initAnimation:function(e,t){e.css({transitionProperty:"none"}),"string"==typeof t.from?e.addClass(t.from):Y(e,t.from);const n=this,i=new v.Deferred,o=t.cleanupWhen;t.transitionAnimation={deferred:i,finish:function(){n._finishTransition(e),o?(0,v.when)(i,o).always((function(){n._cleanup(e,t)})):n._cleanup(e,t),i.resolveWith(e,[t,e])}},this._completeAnimationCallback(e,t).done((function(){t.transitionAnimation.finish()})).fail((function(){i.rejectWith(e,[t,e])})),t.duration||t.transitionAnimation.finish(),e.css("transform")},animate:function(e,t){return this._startAnimation(e,t),t.transitionAnimation.deferred.promise()},_completeAnimationCallback:function(e,t){const n=this,i=Date.now()+t.delay,o=new v.Deferred,a=new v.Deferred,s=new v.Deferred;let l;const c=p.default.transitionEndEventName()+".dxFX";t.transitionAnimation.cleanup=function(){clearTimeout(l),clearTimeout(u),r.default.off(e,c),r.default.off(e,C)},r.default.one(e,c,(function(){Date.now()-i>=t.duration&&a.reject()})),r.default.off(e,C),r.default.on(e,C,(function(){n.stop(e,t),o.reject()}));const u=setTimeout((function(){l=setTimeout((function(){s.reject()}),t.duration+t.delay+K._simulatedTransitionEndDelay),(0,v.when)(a,s).fail(function(){o.resolve()}.bind(this))}));return o.promise()},_startAnimation:function(e,t){e.css({transitionProperty:"all",transitionDelay:t.delay+"ms",transitionDuration:t.duration+"ms",transitionTimingFunction:t.easing}),"string"==typeof t.to?e[0].className+=" "+t.to:t.to&&Y(e,t.to)},_finishTransition:function(e){e.css("transition","none")},_cleanup:function(e,t){t.transitionAnimation.cleanup(),"string"==typeof t.from&&(e.removeClass(t.from),e.removeClass(t.to))},stop:function(e,t,n){t&&(n?t.transitionAnimation.finish():((0,c.isPlainObject)(t.to)&&(0,u.each)(t.to,(function(t){e.css(t,e.css(t))})),this._finishTransition(e),this._cleanup(e,t)))}},O={initAnimation:function(e,t){Y(e,t.from)},animate:function(e,t){const n=new v.Deferred,i=this;return t?((0,u.each)(t.to,(function(n){void 0===t.from[n]&&(t.from[n]=i._normalizeValue(e.css(n)))})),t.to[T]&&(t.from[T]=i._parseTransform(t.from[T]),t.to[T]=i._parseTransform(t.to[T])),t.frameAnimation={to:t.to,from:t.from,currentValue:t.from,easing:(0,h.convertTransitionTimingFuncToEasing)(t.easing),duration:t.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),(0,f.cancelAnimationFrame)(t.frameAnimation.animationFrameId),n.resolve()},draw:function(){if(t.draw)return void t.draw(this.currentValue);const n=(0,l.extend)({},this.currentValue);n[T]&&(n[T]=(0,u.map)(n[T],(function(e,t){return"translate"===t?(0,d.getTranslateCss)(e):"scale"===t?"scale("+e+")":"rotate"===t.substr(0,t.length-1)?t+"("+e+"deg)":void 0})).join(" ")),e.css(n)}},t.delay?(t.frameAnimation.startTime+=t.delay,t.frameAnimation.delayTimeout=setTimeout((function(){i._startAnimation(e,t)}),t.delay)):i._startAnimation(e,t),n.promise()):n.reject().promise()},_startAnimation:function(e,t){r.default.off(e,C),r.default.on(e,C,(function(){t.frameAnimation&&(0,f.cancelAnimationFrame)(t.frameAnimation.animationFrameId)})),this._animationStep(e,t)},_parseTransform:function(e){const t={};return(0,u.each)(e.match(/\w+\d*\w*\([^)]*\)\s*/g),(function(e,n){const i=(0,d.parseTranslate)(n),o=n.match(/scale\((.+?)\)/),r=n.match(/(rotate.)\((.+)deg\)/);i&&(t.translate=i),o&&o[1]&&(t.scale=parseFloat(o[1])),r&&r[1]&&(t[r[1]]=parseFloat(r[2]))})),t},stop:function(e,t,n){const i=t&&t.frameAnimation;i&&((0,f.cancelAnimationFrame)(i.animationFrameId),clearTimeout(i.delayTimeout),n&&i.finish(),delete t.frameAnimation)},_animationStep:function(e,t){const n=t&&t.frameAnimation;if(!n)return;const i=(new Date).valueOf();if(i>=n.startTime+n.duration)return void n.finish();n.currentValue=this._calcStepValue(n,i-n.startTime),n.draw();const o=this;n.animationFrameId=(0,f.requestAnimationFrame)((function(){o._animationStep(e,t)}))},_calcStepValue:function(e,t){const n=function(i,o){const r=Array.isArray(o)?[]:{};return(0,u.each)(o,(function(a,s){if("string"==typeof s&&!1===parseFloat(s))return!0;r[a]="object"==typeof s?n(i[a],s):function(n){const r=t/e.duration,a=t,s=1*i[n],l=o[n]-i[n],c=e.duration;return(0,h.getEasing)(e.easing)(r,a,s,l,c)}(a)})),r};return n(e.from,e.to)},_normalizeValue:function(e){const t=parseFloat(e);return!1===t?e:t}},k={initAnimation:function(){},animate:function(){return(new v.Deferred).resolve().promise()},stop:b.noop,isSynchronous:!0},D=function(e,t,n,i){(0,u.each)(["from","to"],(function(){if(!n(e[this]))throw a.default.Error("E0010",t,this,i)}))},L=function(e,t){return D(e,t,(function(e){return(0,c.isPlainObject)(e)}),"a plain object")},P={top:{my:"bottom center",at:"top center"},bottom:{my:"top center",at:"bottom center"},right:{my:"left center",at:"right center"},left:{my:"right center",at:"left center"}},M={validateConfig:function(e){L(e,"slide")},setup:function(e,t){const n=(0,d.locate)(e);if("slide"!==t.type){const n="slideIn"===t.type?t.from:t.to;n.position=(0,l.extend)({of:x},P[t.direction]),$(e,n)}this._setUpConfig(n,t.from),this._setUpConfig(n,t.to),(0,d.clearCache)(e)},_setUpConfig:function(e,t){t.left="left"in t?t.left:"+=0",t.top="top"in t?t.top:"+=0",this._initNewPosition(e,t)},_initNewPosition:function(e,t){const n={left:t.left,top:t.top};delete t.left,delete t.top;let i=this._getRelativeValue(n.left);void 0!==i?n.left=i+e.left:t.left=0,i=this._getRelativeValue(n.top),void 0!==i?n.top=i+e.top:t.top=0,t[T]=(0,d.getTranslateCss)({x:n.left,y:n.top})},_getRelativeValue:function(e){let t;if("string"==typeof e&&(t=S.exec(e)))return parseInt(t[1]+"1")*t[2]}},R={setup:function(e,t){const n=t.from,i=t.to,o="fadeOut"===t.type?1:0,r="fadeOut"===t.type?0:1;let a=(0,c.isPlainObject)(n)?String(n.opacity??o):String(n),s=(0,c.isPlainObject)(i)?String(i.opacity??r):String(i);switch(t.skipElementInitialStyles||(a=e.css("opacity")),t.type){case"fadeIn":s=1;break;case"fadeOut":s=0}t.from={visibility:"visible",opacity:a},t.to={opacity:s}}},I={custom:{setup:function(){}},slide:M,slideIn:M,slideOut:M,fade:R,fadeIn:R,fadeOut:R,pop:{validateConfig:function(e){L(e,"pop")},setup:function(e,t){const n=t.from,i=t.to,o="opacity"in n?n.opacity:e.css("opacity"),r="opacity"in i?i.opacity:1,a="scale"in n?n.scale:0,s="scale"in i?i.scale:1;t.from={opacity:o};const l=(0,d.getTranslate)(e);t.from[T]=this._getCssTransform(l,a),t.to={opacity:r},t.to[T]=this._getCssTransform(l,s)},_getCssTransform:function(e,t){return(0,d.getTranslateCss)(e)+"scale("+t+")"}},css:{validateConfig:function(e){!function(e,t){D(e,t,(function(e){return"string"==typeof e}),"a string")}(e,"css")},setup:function(){}}},B={type:"custom",from:{},to:{},duration:400,start:b.noop,complete:b.noop,easing:"ease",delay:0},V={duration:400,easing:"ease",delay:0};function F(){const e=this,t=e.element,n=e.config;if($(t,n.from),$(t,n.to),e.configurator.setup(t,n),t.data(w,e),K.off&&(n.duration=0,n.delay=0),e.strategy.initAnimation(t,n),n.start){const e=(0,s.getPublicElement)(t);n.start.apply(this,[e,n])}}const H=function(){const e=this,t=e.element,n=e.config;return e.isStarted=!0,e.strategy.animate(t,n).done((function(){!function(e){const t=e.element,n=e.config;if(t.removeData(w),n.complete){const e=(0,s.getPublicElement)(t);n.complete.apply(this,[e,n])}e.deferred.resolveWith(this,[t,n])}(e)})).fail((function(){e.deferred.rejectWith(this,[t,n])}))},N=function(e){const t=this,n=t.element,i=t.config;clearTimeout(t.startTimeout),t.isStarted||t.start(),t.strategy.stop(n,i,e)},z=(0,m.addNamespace)(_.removeEvent,"dxFXStartAnimation"),j=function(e,t){const n="css"===t.type?V:B,o=(0,l.extend)(!0,{},n,t),s=function(e){const t=I[e.type];if(!t)throw a.default.Error("E0011",e.type);return t}(o),u=function(e){e=e||{};const t={transition:p.default.transition()?A:O,frame:O,noAnimation:k};let n=e.strategy||"transition";return"css"!==e.type||p.default.transition()||(n="noAnimation"),t[n]}(o),d={element:(0,i.default)(e),config:o,configurator:s,strategy:u,isSynchronous:u.isSynchronous,setup:F,start:H,stop:N,deferred:new v.Deferred};return(0,c.isFunction)(s.validateConfig)&&s.validateConfig(o),function(e){r.default.off(e.element,z),r.default.on(e.element,z,(function(){K.stop(e.element)})),e.deferred.always((function(){r.default.off(e.element,z)}))}(d),d};function G(e){return e.data(E)||[]}const Z=function(e){e.removeData(E)};function W(e){return!!e.data(w)}function U(e,t){if(!(t=G(e)).length)return;const n=t.shift();0===t.length&&Z(e),function(e){e.setup(),K.off||e.isSynchronous?e.start():e.startTimeout=setTimeout((function(){e.start()}));return e.deferred.promise()}(n).done((function(){W(e)||U(e)}))}function $(e,t){if(!t||!t.position)return;const n=(0,i.default)(x);let o=0,r=0;const a=g.default.calculate(e,t.position),s=e.offset(),c=e.position();c.top>s.top&&(r=n.scrollTop()),c.left>s.left&&(o=n.scrollLeft()),(0,l.extend)(t,{left:a.h.location-s.left+c.left-o,top:a.v.location-s.top+c.top-r}),delete t.position}function Y(e,t){(0,u.each)(t,(function(t,n){try{e.css(t,(0,c.isFunction)(n)?n():n)}catch(e){}}))}const K={off:!1,animationTypes:I,animate:function(e,t){const n=(0,i.default)(e);if(!n.length)return(new v.Deferred).resolve().promise();const o=j(n,t);return function(e,t){const n=G(e);(function(e,t){e.data(E,t)})(e,n),n.push(t),W(e)||U(e,n)}(n,o),o.deferred.promise()},createAnimation:j,isAnimating:W,stop:function(e,t){const n=(0,i.default)(e),o=G(n);(0,u.each)(o,(function(e,t){t.config.delay=0,t.config.duration=0,t.isSynchronous=!0})),W(n)||U(n,o);const r=n.data(w);r&&r.stop(t),n.removeData(w),Z(n)},_simulatedTransitionEndDelay:100};t.default=K;e.exports=t.default,e.exports.default=t.default},3030:function(e,t,n){t.default=void 0;var i=n(57653),o=m(n(64553)),r=n(17781),a=n(21274),s=n(3104),l=m(n(64960)),c=n(11528),u=n(52576),d=n(41639),h=m(n(48314)),f=n(88603),p=n(4785),g=m(n(65951)),_=n(58515);function m(e){return e&&e.__esModule?e:{default:e}}const v=(0,s.getWindow)(),b=/left|right/,y=/top|bottom/,x=/fit|flip|none/,C=/scale\(.+?\)/,S=h.default.safari,w=function(e){const t={h:"center",v:"center"},n=(0,r.splitPair)(e);return n&&(0,a.each)(n,(function(){const e=String(this).toLowerCase();b.test(e)?t.h=e:y.test(e)&&(t.v=e)})),t},E=function(e,t){return(0,r.pairToObject)(e,t)},T=function(e){switch(e){case"center":return.5;case"right":case"bottom":return 1;default:return 0}},A=function(e){switch(e){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return e}},O=function(e,t){let n=0;return e.myLocation<t.min&&(n+=t.min-e.myLocation),e.myLocation>t.max&&(n+=e.myLocation-t.max),n},k=function(e,t,n){return t.myLocation<n.min?"h"===e?"left":"top":t.myLocation>n.max?"h"===e?"right":"bottom":"none"},D=function(e){e.myLocation=e.atLocation+T(e.atAlign)*e.atSize-T(e.myAlign)*e.mySize+e.offset},L={fit:function(e,t){let n=!1;e.myLocation>t.max&&(e.myLocation=t.max,n=!0),e.myLocation<t.min&&(e.myLocation=t.min,n=!0),e.fit=n},flip:function(e,t){if(e.flip=!1,("center"!==e.myAlign||"center"!==e.atAlign)&&(e.myLocation<t.min||e.myLocation>t.max)){const n=(0,u.extend)({},e,{myAlign:A(e.myAlign),atAlign:A(e.atAlign),offset:-e.offset});D(n),n.oversize=O(n,t),(n.myLocation>=t.min&&n.myLocation<=t.max||e.oversize>n.oversize)&&(e.myLocation=n.myLocation,e.oversize=n.oversize,e.flip=!0)}},flipfit:function(e,t){this.flip(e,t),this.fit(e,t)},none:function(e){e.oversize=0}};let P;const M=function(){const e=(0,o.default)("<div>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).appendTo((0,o.default)("body")),t=e.get(0).offsetWidth-e.get(0).clientWidth;e.remove(),P=t},R={h:{location:0,flip:!1,fit:!1,oversize:0},v:{location:0,flip:!1,fit:!1,oversize:0}},I=function(e,t){const n=(0,o.default)(e),a=n.offset(),s=(0,u.extend)(!0,{},R,{h:{location:a.left},v:{location:a.top}});if(!t)return s;const h=w(t.my),f=w(t.at);let _=(0,o.default)(t.of).length&&t.of||v;const m=E(t.offset,t.precise),b=function(e){const t=(0,r.splitPair)(e);let n=String(t&&t[0]).toLowerCase(),i=String(t&&t[1]).toLowerCase();return x.test(n)||(n="none"),x.test(i)||(i=n),{h:n,v:i}}(t.collision),y=t.boundary,C=E(t.boundaryOffset,t.precise),T={mySize:(0,i.getOuterWidth)(n),myAlign:h.h,atAlign:f.h,offset:m.h,collision:b.h,boundaryOffset:C.h},A={mySize:(0,i.getOuterHeight)(n),myAlign:h.v,atAlign:f.v,offset:m.v,collision:b.v,boundaryOffset:C.v};if(_.preventDefault)T.atLocation=_.pageX,A.atLocation=_.pageY,T.atSize=0,A.atSize=0;else if(_=(0,o.default)(_),(0,c.isWindow)(_[0]))T.atLocation=_.scrollLeft(),A.atLocation=_.scrollTop(),"phone"===g.default.real().deviceType&&_[0].visualViewport?(T.atLocation=Math.max(T.atLocation,_[0].visualViewport.offsetLeft),A.atLocation=Math.max(A.atLocation,_[0].visualViewport.offsetTop),T.atSize=_[0].visualViewport.width,A.atSize=_[0].visualViewport.height):(T.atSize=_[0].innerWidth>_[0].outerWidth?_[0].innerWidth:(0,i.getWidth)(_),A.atSize=_[0].innerHeight>_[0].outerHeight||S?_[0].innerHeight:(0,i.getHeight)(_));else if(9===_[0].nodeType)T.atLocation=0,A.atLocation=0,T.atSize=(0,i.getWidth)(_),A.atSize=(0,i.getHeight)(_);else{const e=(0,d.getBoundingRect)(_.get(0)),t=V(_);T.atLocation=t.left,A.atLocation=t.top,T.atSize=Math.max(e.width,(0,i.getOuterWidth)(_)),A.atSize=Math.max(e.height,(0,i.getOuterHeight)(_))}D(T),D(A);const I=function(){const e=(0,o.default)(v),t=(0,i.getWidth)(e),n=(0,i.getHeight)(e);let r=e.scrollLeft(),a=e.scrollTop();const s=l.default.getDocumentElement(),u=p.touch?s.clientWidth/t:1,d=p.touch?s.clientHeight/n:1;void 0===P&&M();let h=t,f=n;if(y&&!(0,c.isWindow)(y)){const e=(0,o.default)(y),t=e.offset();r=t.left,a=t.top,h=(0,i.getWidth)(e),f=(0,i.getHeight)(e)}return{h:{min:r+T.boundaryOffset,max:r+h/u-T.mySize-T.boundaryOffset},v:{min:a+A.boundaryOffset,max:a+f/d-A.mySize-A.boundaryOffset}}}();T.oversize=O(T,I.h),A.oversize=O(A,I.v),T.collisionSide=k("h",T,I.h),A.collisionSide=k("v",A,I.v),L[T.collision]&&L[T.collision](T,I.h),L[A.collision]&&L[A.collision](A,I.v);const B=function(e){return t.precise?e:Math.round(e)};return(0,u.extend)(!0,s,{h:{location:B(T.myLocation),oversize:B(T.oversize),fit:T.fit,flip:T.flip,collisionSide:T.collisionSide},v:{location:B(A.myLocation),oversize:B(A.oversize),fit:A.fit,flip:A.flip,collisionSide:A.collisionSide},precise:t.precise}),s},B=function(e,t,n,i){const o=(0,c.isDefined)(e.style)&&!l.default.isNode(e.style),r=i?n.replace(t,""):n;if(o)(0,_.setStyle)(e,r,!1);else{const t=l.default.createAttribute("style");t.value=r,e.setAttributeNode(t)}},V=function(e){var t,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const o=i.get(0);if(!o)return e.offset();const r=(null===(t=o.getAttribute)||void 0===t?void 0:t.call(o,"style"))||"",a=null===(n=r.match(C))||void 0===n?void 0:n[0];let s;return a?(B(o,a,r,!0),s=V(e,i.parent()),B(o,a,r,!1)):s=V(e,i.parent()),s},F=function(e,t){const n=(0,o.default)(e);if(!t)return n.offset();(0,f.resetPosition)(n,!0);const i=V(n),r=t.h&&t.v?t:I(n,t),a=function(e){return t.precise?e:Math.round(e)};return(0,f.move)(n,{left:r.h.location-a(i.left),top:r.v.location-a(i.top)}),r};F.inverseAlign||(F.inverseAlign=A),F.normalizeAlign||(F.normalizeAlign=w);t.default={calculateScrollbarWidth:M,calculate:I,setup:F,offset:function(e){return e=(0,o.default)(e).get(0),(0,c.isWindow)(e)?null:e&&"pageY"in e&&"pageX"in e?{top:e.pageY,left:e.pageX}:(0,o.default)(e).offset()}};e.exports=t.default,e.exports.default=t.default},58049:function(e,t,n){t.default=void 0;var i=n(61310);t.default=i.presets;e.exports=t.default,e.exports.default=t.default},61310:function(e,t,n){t.presets=t.PresetCollection=void 0;var i=n(57653),o=n(17863),r=n(21274),a=n(52576),s=c(n(44257)),l=c(n(27075));function c(e){return e&&e.__esModule?e:{default:e}}const u={forward:" dx-forward",backward:" dx-backward",none:" dx-no-direction",undefined:" dx-no-direction"},d=t.PresetCollection=o.Component.inherit({ctor:function(){this.callBase.apply(this,arguments),this._registeredPresets=[],this.resetToDefaults()},_getDefaultOptions:function(){return(0,a.extend)(this.callBase(),{defaultAnimationDuration:400,defaultAnimationDelay:0,defaultStaggerAnimationDuration:300,defaultStaggerAnimationDelay:40,defaultStaggerAnimationStartDelay:500})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return e.phone},options:{defaultStaggerAnimationDuration:350,defaultStaggerAnimationDelay:50,defaultStaggerAnimationStartDelay:0}},{device:function(){return s.default.current().android||s.default.real.android},options:{defaultAnimationDelay:100}}])},_getPresetOptionName:function(e){return"preset_"+e},_createAndroidSlideAnimationConfig:function(e,t){const n=this,o=function(e){return{type:"slide",delay:void 0===e.delay?n.option("defaultAnimationDelay"):e.delay,duration:void 0===e.duration?n.option("defaultAnimationDuration"):e.duration}};return{enter:function(n,r){const a=(0,i.getWidth)(n.parent())*t,s=r.direction,c=o(r);return c.to={left:0,opacity:1},c.from="forward"===s?{left:a,opacity:e}:"backward"===s?{left:-a,opacity:e}:{left:0,opacity:0},l.default.createAnimation(n,c)},leave:function(n,r){const a=(0,i.getWidth)(n.parent())*t,s=r.direction,c=o(r);return c.from={left:0,opacity:1},c.to="forward"===s?{left:-a,opacity:e}:"backward"===s?{left:a,opacity:e}:{left:0,opacity:0},l.default.createAnimation(n,c)}}},_createOpenDoorConfig:function(){const e=this,t=function(t){return{type:"css",extraCssClasses:"dx-opendoor-animation",delay:void 0===t.delay?e.option("defaultAnimationDelay"):t.delay,duration:void 0===t.duration?e.option("defaultAnimationDuration"):t.duration}};return{enter:function(e,n){const i=n.direction,o=t(n);return o.delay="none"===i?o.delay:o.duration,o.from="dx-enter dx-opendoor-animation"+u[i],o.to="dx-enter-active",l.default.createAnimation(e,o)},leave:function(e,n){const i=n.direction,o=t(n);return o.from="dx-leave dx-opendoor-animation"+u[i],o.to="dx-leave-active",l.default.createAnimation(e,o)}}},_createWinPopConfig:function(){const e=this,t={type:"css",extraCssClasses:"dx-win-pop-animation",duration:e.option("defaultAnimationDuration")};return{enter:function(n,i){const o=t,r=i.direction;return o.delay="none"===r?e.option("defaultAnimationDelay"):e.option("defaultAnimationDuration")/2,o.from="dx-enter dx-win-pop-animation"+u[r],o.to="dx-enter-active",l.default.createAnimation(n,o)},leave:function(n,i){const o=t,r=i.direction;return o.delay=e.option("defaultAnimationDelay"),o.from="dx-leave dx-win-pop-animation"+u[r],o.to="dx-leave-active",l.default.createAnimation(n,o)}}},resetToDefaults:function(){this.clear(),this.registerDefaultPresets(),this.applyChanges()},clear:function(e){const t=this,n=[];(0,r.each)(this._registeredPresets,(function(i,o){e&&e!==o.name?n.push(o):t.option(t._getPresetOptionName(o.name),void 0)})),this._registeredPresets=n,this.applyChanges()},registerPreset:function(e,t){this._registeredPresets.push({name:e,config:t})},applyChanges:function(){const e=this,t=[];(0,r.each)(this._registeredPresets,(function(n,i){const o={device:i.config.device,options:{}};o.options[e._getPresetOptionName(i.name)]=i.config.animation,t.push(o)})),this._setOptionsByDevice(t)},getPreset:function(e){let t=e;for(;"string"==typeof t;)t=this.option(this._getPresetOptionName(t));return t},registerDefaultPresets:function(){this.registerPreset("pop",{animation:{extraCssClasses:"dx-android-pop-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("openDoor",{animation:this._createOpenDoorConfig()}),this.registerPreset("win-pop",{animation:this._createWinPopConfig()}),this.registerPreset("fade",{animation:{extraCssClasses:"dx-fade-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("slide",{device:function(){return s.default.current().android||s.default.real.android},animation:this._createAndroidSlideAnimationConfig(1,1)}),this.registerPreset("slide",{device:function(){return!s.default.current().android&&!s.default.real.android},animation:{extraCssClasses:"dx-slide-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-slide",{animation:{extraCssClasses:"dx-ios7-slide-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("overflow",{animation:{extraCssClasses:"dx-overflow-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-toolbar",{device:function(){return!s.default.current().android&&!s.default.real.android},animation:{extraCssClasses:"dx-ios7-toolbar-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-toolbar",{device:function(){return s.default.current().android||s.default.real.android},animation:this._createAndroidSlideAnimationConfig(0,.4)}),this.registerPreset("stagger-fade",{animation:{extraCssClasses:"dx-fade-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-slide",{animation:{extraCssClasses:"dx-slide-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-slide",{animation:{extraCssClasses:"dx-fade-slide-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-drop",{animation:{extraCssClasses:"dx-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-drop",{animation:{extraCssClasses:"dx-fade-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-rise",{animation:{extraCssClasses:"dx-fade-rise-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-3d-drop",{animation:{extraCssClasses:"dx-3d-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-zoom",{animation:{extraCssClasses:"dx-fade-zoom-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}})}});t.presets=new d},94680:function(e,t,n){t.default=void 0;var i=n(33054);t.default=i.TransitionExecutor;e.exports=t.default,e.exports.default=t.default},33054:function(e,t,n){t.TransitionExecutor=void 0;var i=h(n(64553)),o=h(n(55620)),r=n(52576),a=h(n(39315)),s=n(11528),l=n(21274),c=h(n(27075)),u=n(61310),d=n(87739);function h(e){return e&&e.__esModule?e:{default:e}}const f={forward:" dx-forward",backward:" dx-backward",none:" dx-no-direction",undefined:" dx-no-direction"},p="dx-animating";t.TransitionExecutor=o.default.inherit({ctor:function(){this._accumulatedDelays={enter:0,leave:0},this._animations=[],this.reset()},_createAnimations:function(e,t,n,o){e=(0,i.default)(e);const r=this,a=[];n=n||{};const s=this._prepareElementAnimationConfig(t,n,o);return s&&e.each((function(){const e=r._createAnimation((0,i.default)(this),s,n);e&&(e.element.addClass(p),e.setup(),a.push(e))})),a},_prepareElementAnimationConfig:function(e,t,n){let i;if("string"==typeof e){const t=e;e=u.presets.getPreset(t)}if(e)if((0,s.isFunction)(e[n]))i=e[n];else{if(i=(0,r.extend)({skipElementInitialStyles:!0,cleanupWhen:this._completePromise},e,t),!i.type||"css"===i.type){const e="dx-"+n,t=(i.extraCssClasses?" "+i.extraCssClasses:"")+f[i.direction];i.type="css",i.from=(i.from||e)+t,i.to=i.to||e+"-active"}i.staggerDelay=i.staggerDelay||0,i.delay=i.delay||0,i.staggerDelay&&(i.delay+=this._accumulatedDelays[n],this._accumulatedDelays[n]+=i.staggerDelay)}else i=void 0;return i},_createAnimation:function(e,t,n){let i;return(0,s.isPlainObject)(t)?i=c.default.createAnimation(e,t):(0,s.isFunction)(t)&&(i=t(e,n)),i},_startAnimations:function(){const e=this._animations;for(let t=0;t<e.length;t++)e[t].start()},_stopAnimations:function(e){const t=this._animations;for(let n=0;n<t.length;n++)t[n].stop(e)},_clearAnimations:function(){const e=this._animations;for(let t=0;t<e.length;t++)e[t].element.removeClass(p);this._animations.length=0},reset:function(){this._accumulatedDelays.enter=0,this._accumulatedDelays.leave=0,this._clearAnimations(),this._completeDeferred=new d.Deferred,this._completePromise=this._completeDeferred.promise()},enter:function(e,t,n){const i=this._createAnimations(e,t,n,"enter");this._animations.push.apply(this._animations,i)},leave:function(e,t,n){const i=this._createAnimations(e,t,n,"leave");this._animations.push.apply(this._animations,i)},start:function(){const e=this;let t;if(this._animations.length){const n=(0,l.map)(this._animations,(function(e){const t=new d.Deferred;return e.deferred.always((function(){t.resolve()})),t.promise()}));t=d.when.apply(i.default,n).always((function(){e._completeDeferred.resolve(),e.reset()})),a.default.executeAsync((function(){e._startAnimations()}))}else e.reset(),t=(new d.Deferred).resolve().promise();return t},stop:function(e){this._stopAnimations(e)}})},88603:function(e,t,n){t.resetPosition=t.parseTranslate=t.move=t.locate=t.getTranslateCss=t.getTranslate=t.clearCache=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(74663),a=n(11528);const s="dxTranslator",l=/matrix(3d)?\((.+?)\)/,c=/translate(?:3d)?\((.+?)\)/;function u(e){return"string"===(0,a.type)(e)&&"%"===e[e.length-1]}function d(e,t){e.length&&(0,r.data)(e.get(0),s,t)}t.locate=function(e){e=(0,o.default)(e);const t=p(e);return{left:t.x,top:t.y}};const h=function(e){e.length&&(0,r.removeData)(e.get(0),s)};t.clearCache=h;const f=function(e){e.x=e.x||0,e.y=e.y||0;return"translate("+(u(e.x)?e.x:e.x+"px")+", "+(u(e.y)?e.y:e.y+"px")+")"};t.getTranslateCss=f;const p=function(e){let t=e.length?(0,r.data)(e.get(0),s):null;if(!t){let n=(e.css("transform")||f({x:0,y:0})).match(l);const i=n&&n[1];n?(n=n[2].split(","),"3d"===i?n=n.slice(12,15):(n.push(0),n=n.slice(4,7))):n=[0,0,0],t={x:parseFloat(n[0]),y:parseFloat(n[1]),z:parseFloat(n[2])},d(e,t)}return t};t.getTranslate=p;t.move=function(e,t){e=(0,o.default)(e);const n=t.left,i=t.top;let r;void 0===n?(r=p(e),r.y=i||0):void 0===i?(r=p(e),r.x=n||0):(r={x:n||0,y:i||0,z:0},d(e,r)),e.css({transform:f(r)}),(u(n)||u(i))&&h(e)};t.resetPosition=function(e,t){let n;e=(0,o.default)(e);const i={left:0,top:0,transform:"none"};t&&(n=e.css("transition"),i.transition="none"),e.css(i),h(e),t&&(e.get(0).offsetHeight,e.css("transition",n))};t.parseTranslate=function(e){let t=e.match(c);if(t&&t[1])return t=t[1].split(","),t={x:parseFloat(t[0]),y:parseFloat(t[1]),z:parseFloat(t[2])},t}},63705:function(e,t,n){Object.defineProperty(t,"devices",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getTimeZones",{enumerable:!0,get:function(){return a.getTimeZones}}),Object.defineProperty(t,"hideTopOverlay",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"initMobileViewport",{enumerable:!0,get:function(){return r.default}});var i=s(n(44257)),o=s(n(45527)),r=s(n(64256)),a=n(95256);function s(e){return e&&e.__esModule?e:{default:e}}},44257:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(98905))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},83916:function(e,t){t.hideCallback=void 0;t.hideCallback=function(){let e=[];return{add:function(t){e.includes(t)||e.push(t)},remove:function(t){const n=e.indexOf(t);-1!==n&&e.splice(n,1)},fire:function(){const t=e.pop(),n=!!t;return n&&t(),n},hasCallback:function(){return e.length>0}}}()},45527:function(e,t,n){t.default=function(){return i.hideCallback.fire()};var i=n(83916);e.exports=t.default,e.exports.default=t.default},64256:function(e,t,n){t.default=void 0;var i=n(79279);t.default=i.initMobileViewport;e.exports=t.default,e.exports.default=t.default},79279:function(e,t,n){t.initMobileViewport=void 0;var i=n(57653),o=f(n(64553)),r=n(3104),a=f(n(92774)),s=n(52576),l=f(n(63283)),c=n(58515),u=f(n(98905)),d=f(n(62018)),h=f(n(85991));function f(e){return e&&e.__esModule?e:{default:e}}const p=(0,r.getWindow)();t.initMobileViewport=function(e){e=(0,s.extend)({},e);let t=u.default.real();const n=e.allowZoom,r=e.allowPan,f="allowSelection"in e?e.allowSelection:"generic"===t.platform,g="meta[name=viewport]";(0,o.default)(g).length||(0,o.default)("<meta>").attr("name","viewport").appendTo("head");const _=["width=device-width"],m=[];if(n?m.push("pinch-zoom"):_.push("initial-scale=1.0","maximum-scale=1.0, user-scalable=no"),r&&m.push("pan-x","pan-y"),r||n?(0,o.default)("html").css("msOverflowStyle","-ms-autohiding-scrollbar"):(0,o.default)("html, body").css({msContentZooming:"none",msUserSelect:"none",overflow:"hidden"}),!f&&h.default.supportProp("userSelect")&&(0,o.default)(".dx-viewport").css((0,c.styleProp)("userSelect"),"none"),(0,o.default)(g).attr("content",_.join()),(0,o.default)("html").css("msTouchAction",m.join(" ")||"none"),t=u.default.real(),h.default.touch&&(a.default.off(d.default.getDocument(),".dxInitMobileViewport"),a.default.on(d.default.getDocument(),"dxpointermove.dxInitMobileViewport",(function(e){const t=e.pointers.length,i="touch"===e.pointerType,o=!n&&t>1,a=!r&&1===t&&!e.isScrollingEvent;i&&(o||a)&&e.preventDefault()}))),t.ios){"file:"===d.default.getLocation().protocol||l.default.add((function(){const e=(0,i.getWidth)(p);(0,i.setWidth)((0,o.default)("body"),e)}))}t.android&&l.default.add((function(){setTimeout((function(){const e=d.default.getActiveElement();e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded():e.scrollIntoView(!1)}))}))}},95256:function(e,t,n){t.getTimeZones=void 0;var i,o=(i=n(18648))&&i.__esModule?i:{default:i};t.getTimeZones=o.default.getTimeZones},52391:function(e,t,n){t.trigger=t.one=t.on=t.off=t.Event=void 0;var i,o=(i=n(92774))&&i.__esModule?i:{default:i};t.on=o.default.on,t.one=o.default.one,t.off=o.default.off,t.trigger=o.default.trigger,t.Event=o.default.Event},64044:function(e,t,n){var i=n(28356);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},80248:function(e,t,n){var i=n(90096);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},69331:function(e,t,n){var i=n(14911);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},59e3:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(96292))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},81411:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(58063))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},15273:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(65381))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},85030:function(e,t,n){t.default=void 0;var i,o=(i=n(35329))&&i.__esModule?i:{default:i};t.default=new o.default;e.exports=t.default,e.exports.default=t.default},92774:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(36306))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},65462:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(40866))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},52818:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(34422))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},37373:function(e,t,n){var i=n(58065);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},5636:function(e,t,n){Object.defineProperty(t,"name",{enumerable:!0,get:function(){return o.name}});var i,o=n(36212);(0,((i=n(15273))&&i.__esModule?i:{default:i}).default)(o.name,o.dblClick)},59144:function(e,t,n){var i=n(88480);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},85915:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(77859))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},86548:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(18572))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},68095:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(3111))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},638:function(e,t,n){var i=n(57798);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},89797:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(24381))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},725:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(37321))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},5949:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(45841))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},71887:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(60699))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},38242:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(62814))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},71017:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(95253))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},28630:function(e,t,n){var i=n(92686);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},42222:function(e,t,n){var i=n(43926);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},80250:function(e,t,n){var i=n(6066);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},37008:function(e,t,n){t.zoomstart=t.zoomend=t.zoom=t.translatestart=t.translateend=t.translate=t.transformstart=t.transformend=t.transform=t.rotatestart=t.rotateend=t.rotate=t.pinchstart=t.pinchend=t.pinch=void 0;var i=n(68264);const{transformstart:o,transform:r,transformend:a,translatestart:s,translate:l,translateend:c,zoomstart:u,zoom:d,zoomend:h,pinchstart:f,pinch:p,pinchend:g,rotatestart:_,rotate:m,rotateend:v}=i.exportNames;t.rotateend=v,t.rotate=m,t.rotatestart=_,t.pinchend=g,t.pinch=p,t.pinchstart=f,t.zoomend=h,t.zoom=d,t.zoomstart=u,t.translateend=c,t.translate=l,t.translatestart=s,t.transformend=a,t.transform=r,t.transformstart=o},47413:function(e,t,n){var i=n(68337);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},45280:function(e,t,n){var i=n(86940);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},98834:function(e,t,n){var i=n(61210);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},18029:function(e,t,n){t.triggerShownEvent=t.triggerResizeEvent=t.triggerHidingEvent=t.default=void 0;var i,o=(i=n(52997))&&i.__esModule?i:{default:i};t.triggerShownEvent=o.default.triggerShownEvent,t.triggerHidingEvent=o.default.triggerHidingEvent,t.triggerResizeEvent=o.default.triggerResizeEvent;t.default=o.default},46795:function(e,t,n){Object.defineProperty(t,"date",{enumerable:!0,get:function(){return a.default}}),t.disableIntl=function(){"intl"===r.default.engine()&&r.default.resetInjection();"intl"===a.default.engine()&&a.default.resetInjection()},t.locale=t.loadMessages=t.formatNumber=t.formatMessage=t.formatDate=void 0,Object.defineProperty(t,"message",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"number",{enumerable:!0,get:function(){return r.default}}),t.parseNumber=t.parseDate=void 0;var i=s(n(84109)),o=s(n(4671)),r=s(n(52771)),a=s(n(38662));function s(e){return e&&e.__esModule?e:{default:e}}n(17333);t.locale=i.default.locale.bind(i.default),t.loadMessages=o.default.load.bind(o.default),t.formatMessage=o.default.format.bind(o.default),t.formatNumber=r.default.format.bind(r.default),t.parseNumber=r.default.parse.bind(r.default),t.formatDate=a.default.format.bind(a.default),t.parseDate=a.default.parse.bind(a.default)},55581:function(e,t){t.default=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.default={af:"\xa4#,##0.00;(\xa4#,##0.00)","af-NA":"\xa4#,##0.00;(\xa4#,##0.00)",agq:"#,##0.00\xa4",ak:"\xa4#,##0.00",am:"\xa4#,##0.00;(\xa4#,##0.00)",ar:"\xa4#,##0.00;(\xa4#,##0.00)","ar-AE":"\xa4#,##0.00;(\xa4#,##0.00)","ar-BH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DZ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EG":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-ER":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IL":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IQ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-JO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KW":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LB":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MR":"\xa4#,##0.00;(\xa4#,##0.00)","ar-OM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-PS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-QA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TN":"\xa4#,##0.00;(\xa4#,##0.00)","ar-YE":"\xa4#,##0.00;(\xa4#,##0.00)",as:"\xa4\xa0#,##,##0.00",asa:"#,##0.00\xa0\xa4",ast:"#,##0.00\xa0\xa4",az:"#,##0.00\xa0\xa4","az-Cyrl":"#,##0.00\xa0\xa4","az-Latn":"#,##0.00\xa0\xa4",bas:"#,##0.00\xa0\xa4",be:"#,##0.00\xa0\xa4","be-tarask":"#,##0.00\xa0\xa4",bem:"\xa4#,##0.00;(\xa4#,##0.00)",bez:"#,##0.00\xa4",bg:"0.00\xa0\xa4;(0.00\xa0\xa4)",bm:"\xa4#,##0.00;(\xa4#,##0.00)",bn:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","bn-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",bo:"\xa4\xa0#,##0.00","bo-IN":"\xa4\xa0#,##0.00",br:"#,##0.00\xa0\xa4",brx:"\xa4\xa0#,##,##0.00",bs:"#,##0.00\xa0\xa4","bs-Cyrl":"#,##0.00\xa0\xa4","bs-Latn":"#,##0.00\xa0\xa4",ca:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-AD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-ES-valencia":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-FR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-IT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ccp:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","ccp-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",ce:"#,##0.00\xa0\xa4",ceb:"\xa4#,##0.00;(\xa4#,##0.00)",cgg:"\xa4#,##0.00",chr:"\xa4#,##0.00;(\xa4#,##0.00)",ckb:"\xa4\xa0#,##0.00","ckb-IR":"\xa4\xa0#,##0.00",cs:"#,##0.00\xa0\xa4",cy:"\xa4#,##0.00;(\xa4#,##0.00)",da:"#,##0.00\xa0\xa4","da-GL":"#,##0.00\xa0\xa4",dav:"\xa4#,##0.00;(\xa4#,##0.00)",de:"#,##0.00\xa0\xa4","de-AT":"#,##0.00\xa0\xa4","de-BE":"#,##0.00\xa0\xa4","de-CH":"#,##0.00\xa0\xa4","de-IT":"#,##0.00\xa0\xa4","de-LI":"#,##0.00\xa0\xa4","de-LU":"#,##0.00\xa0\xa4",dje:"#,##0.00\xa4",doi:"\xa4#,##0.00",dsb:"#,##0.00\xa0\xa4",dua:"#,##0.00\xa0\xa4",dyo:"#,##0.00\xa0\xa4",dz:"\xa4#,##,##0.00",ebu:"\xa4#,##0.00;(\xa4#,##0.00)",ee:"\xa4#,##0.00;(\xa4#,##0.00)","ee-TG":"\xa4#,##0.00;(\xa4#,##0.00)",el:"#,##0.00\xa0\xa4","el-CY":"#,##0.00\xa0\xa4",en:"\xa4#,##0.00;(\xa4#,##0.00)","en-001":"\xa4#,##0.00;(\xa4#,##0.00)","en-150":"#,##0.00\xa0\xa4","en-AE":"\xa4#,##0.00;(\xa4#,##0.00)","en-AG":"\xa4#,##0.00;(\xa4#,##0.00)","en-AI":"\xa4#,##0.00;(\xa4#,##0.00)","en-AS":"\xa4#,##0.00;(\xa4#,##0.00)","en-AT":"\xa4\xa0#,##0.00","en-AU":"\xa4#,##0.00;(\xa4#,##0.00)","en-BB":"\xa4#,##0.00;(\xa4#,##0.00)","en-BE":"#,##0.00\xa0\xa4","en-BI":"\xa4#,##0.00;(\xa4#,##0.00)","en-BM":"\xa4#,##0.00;(\xa4#,##0.00)","en-BS":"\xa4#,##0.00;(\xa4#,##0.00)","en-BW":"\xa4#,##0.00;(\xa4#,##0.00)","en-BZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-CA":"\xa4#,##0.00;(\xa4#,##0.00)","en-CC":"\xa4#,##0.00;(\xa4#,##0.00)","en-CH":"\xa4\xa0#,##0.00;\xa4-#,##0.00","en-CK":"\xa4#,##0.00;(\xa4#,##0.00)","en-CM":"\xa4#,##0.00;(\xa4#,##0.00)","en-CX":"\xa4#,##0.00;(\xa4#,##0.00)","en-CY":"\xa4#,##0.00;(\xa4#,##0.00)","en-DE":"#,##0.00\xa0\xa4","en-DG":"\xa4#,##0.00;(\xa4#,##0.00)","en-DK":"#,##0.00\xa0\xa4","en-DM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ER":"\xa4#,##0.00;(\xa4#,##0.00)","en-FI":"#,##0.00\xa0\xa4","en-FJ":"\xa4#,##0.00;(\xa4#,##0.00)","en-FK":"\xa4#,##0.00;(\xa4#,##0.00)","en-FM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GB":"\xa4#,##0.00;(\xa4#,##0.00)","en-GD":"\xa4#,##0.00;(\xa4#,##0.00)","en-GG":"\xa4#,##0.00;(\xa4#,##0.00)","en-GH":"\xa4#,##0.00;(\xa4#,##0.00)","en-GI":"\xa4#,##0.00;(\xa4#,##0.00)","en-GM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GU":"\xa4#,##0.00;(\xa4#,##0.00)","en-GY":"\xa4#,##0.00;(\xa4#,##0.00)","en-HK":"\xa4#,##0.00;(\xa4#,##0.00)","en-IE":"\xa4#,##0.00;(\xa4#,##0.00)","en-IL":"\xa4#,##0.00;(\xa4#,##0.00)","en-IM":"\xa4#,##0.00;(\xa4#,##0.00)","en-IN":"\xa4#,##0.00;(\xa4#,##0.00)","en-IO":"\xa4#,##0.00;(\xa4#,##0.00)","en-JE":"\xa4#,##0.00;(\xa4#,##0.00)","en-JM":"\xa4#,##0.00;(\xa4#,##0.00)","en-KE":"\xa4#,##0.00;(\xa4#,##0.00)","en-KI":"\xa4#,##0.00;(\xa4#,##0.00)","en-KN":"\xa4#,##0.00;(\xa4#,##0.00)","en-KY":"\xa4#,##0.00;(\xa4#,##0.00)","en-LC":"\xa4#,##0.00;(\xa4#,##0.00)","en-LR":"\xa4#,##0.00;(\xa4#,##0.00)","en-LS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MG":"\xa4#,##0.00;(\xa4#,##0.00)","en-MH":"\xa4#,##0.00;(\xa4#,##0.00)","en-MO":"\xa4#,##0.00;(\xa4#,##0.00)","en-MP":"\xa4#,##0.00;(\xa4#,##0.00)","en-MS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MT":"\xa4#,##0.00;(\xa4#,##0.00)","en-MU":"\xa4#,##0.00;(\xa4#,##0.00)","en-MV":"\xa4\xa0#,##0.00","en-MW":"\xa4#,##0.00;(\xa4#,##0.00)","en-MY":"\xa4#,##0.00;(\xa4#,##0.00)","en-NA":"\xa4#,##0.00;(\xa4#,##0.00)","en-NF":"\xa4#,##0.00;(\xa4#,##0.00)","en-NG":"\xa4#,##0.00;(\xa4#,##0.00)","en-NL":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","en-NR":"\xa4#,##0.00;(\xa4#,##0.00)","en-NU":"\xa4#,##0.00;(\xa4#,##0.00)","en-NZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-PG":"\xa4#,##0.00;(\xa4#,##0.00)","en-PH":"\xa4#,##0.00;(\xa4#,##0.00)","en-PK":"\xa4#,##0.00;(\xa4#,##0.00)","en-PN":"\xa4#,##0.00;(\xa4#,##0.00)","en-PR":"\xa4#,##0.00;(\xa4#,##0.00)","en-PW":"\xa4#,##0.00;(\xa4#,##0.00)","en-RW":"\xa4#,##0.00;(\xa4#,##0.00)","en-SB":"\xa4#,##0.00;(\xa4#,##0.00)","en-SC":"\xa4#,##0.00;(\xa4#,##0.00)","en-SD":"\xa4#,##0.00;(\xa4#,##0.00)","en-SE":"#,##0.00\xa0\xa4","en-SG":"\xa4#,##0.00;(\xa4#,##0.00)","en-SH":"\xa4#,##0.00;(\xa4#,##0.00)","en-SI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","en-SL":"\xa4#,##0.00;(\xa4#,##0.00)","en-SS":"\xa4#,##0.00;(\xa4#,##0.00)","en-SX":"\xa4#,##0.00;(\xa4#,##0.00)","en-SZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-TC":"\xa4#,##0.00;(\xa4#,##0.00)","en-TK":"\xa4#,##0.00;(\xa4#,##0.00)","en-TO":"\xa4#,##0.00;(\xa4#,##0.00)","en-TT":"\xa4#,##0.00;(\xa4#,##0.00)","en-TV":"\xa4#,##0.00;(\xa4#,##0.00)","en-TZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-UG":"\xa4#,##0.00;(\xa4#,##0.00)","en-UM":"\xa4#,##0.00;(\xa4#,##0.00)","en-VC":"\xa4#,##0.00;(\xa4#,##0.00)","en-VG":"\xa4#,##0.00;(\xa4#,##0.00)","en-VI":"\xa4#,##0.00;(\xa4#,##0.00)","en-VU":"\xa4#,##0.00;(\xa4#,##0.00)","en-WS":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZA":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZW":"\xa4#,##0.00;(\xa4#,##0.00)",eo:"\xa4\xa0#,##0.00",es:"#,##0.00\xa0\xa4","es-419":"\xa4#,##0.00","es-AR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-BO":"\xa4#,##0.00","es-BR":"\xa4#,##0.00","es-BZ":"\xa4#,##0.00","es-CL":"\xa4#,##0.00","es-CO":"\xa4#,##0.00","es-CR":"\xa4#,##0.00","es-CU":"\xa4#,##0.00","es-DO":"\xa4#,##0.00;(\xa4#,##0.00)","es-EA":"#,##0.00\xa0\xa4","es-EC":"\xa4#,##0.00","es-GQ":"#,##0.00\xa0\xa4","es-GT":"\xa4#,##0.00","es-HN":"\xa4#,##0.00","es-IC":"#,##0.00\xa0\xa4","es-MX":"\xa4#,##0.00","es-NI":"\xa4#,##0.00","es-PA":"\xa4#,##0.00","es-PE":"\xa4#,##0.00","es-PH":"#,##0.00\xa0\xa4","es-PR":"\xa4#,##0.00","es-PY":"\xa4#,##0.00","es-SV":"\xa4#,##0.00","es-US":"\xa4#,##0.00","es-UY":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-VE":"\xa4#,##0.00",et:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",eu:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ewo:"#,##0.00\xa0\xa4",fa:"\u200e\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)","fa-AF":"\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)",ff:"#,##0.00\xa0\xa4","ff-Adlm":"\xa4\xa0#,##0.00","ff-Adlm-BF":"\xa4\xa0#,##0.00","ff-Adlm-CM":"\xa4\xa0#,##0.00","ff-Adlm-GH":"\xa4\xa0#,##0.00","ff-Adlm-GM":"\xa4\xa0#,##0.00","ff-Adlm-GW":"\xa4\xa0#,##0.00","ff-Adlm-LR":"\xa4\xa0#,##0.00","ff-Adlm-MR":"\xa4\xa0#,##0.00","ff-Adlm-NE":"\xa4\xa0#,##0.00","ff-Adlm-NG":"\xa4\xa0#,##0.00","ff-Adlm-SL":"\xa4\xa0#,##0.00","ff-Adlm-SN":"\xa4\xa0#,##0.00","ff-Latn":"#,##0.00\xa0\xa4","ff-Latn-BF":"#,##0.00\xa0\xa4","ff-Latn-CM":"#,##0.00\xa0\xa4","ff-Latn-GH":"#,##0.00\xa0\xa4","ff-Latn-GM":"#,##0.00\xa0\xa4","ff-Latn-GN":"#,##0.00\xa0\xa4","ff-Latn-GW":"#,##0.00\xa0\xa4","ff-Latn-LR":"#,##0.00\xa0\xa4","ff-Latn-MR":"#,##0.00\xa0\xa4","ff-Latn-NE":"#,##0.00\xa0\xa4","ff-Latn-NG":"#,##0.00\xa0\xa4","ff-Latn-SL":"#,##0.00\xa0\xa4",fi:"#,##0.00\xa0\xa4",fil:"\xa4#,##0.00;(\xa4#,##0.00)",fo:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fo-DK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GP":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-HT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-KM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-ML":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SY":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-VU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-WF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-YT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fur:"\xa4\xa0#,##0.00",fy:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",ga:"\xa4#,##0.00;(\xa4#,##0.00)","ga-GB":"\xa4#,##0.00;(\xa4#,##0.00)",gd:"\xa4#,##0.00;(\xa4#,##0.00)",gl:"#,##0.00\xa0\xa4",gsw:"#,##0.00\xa0\xa4","gsw-FR":"#,##0.00\xa0\xa4","gsw-LI":"#,##0.00\xa0\xa4",gu:"\xa4#,##,##0.00;(\xa4#,##,##0.00)",guz:"\xa4#,##0.00;(\xa4#,##0.00)",gv:"\xa4#,##0.00",ha:"\xa4\xa0#,##0.00","ha-GH":"\xa4\xa0#,##0.00","ha-NE":"\xa4\xa0#,##0.00",haw:"\xa4#,##0.00;(\xa4#,##0.00)",he:"#,##0.00\xa0\xa4",hi:"\xa4#,##,##0.00","hi-Latn":"\xa4#,##,##0.00",hr:"#,##0.00\xa0\xa4","hr-BA":"#,##0.00\xa0\xa4",hsb:"#,##0.00\xa0\xa4",hu:"#,##0.00\xa0\xa4",hy:"#,##0.00\xa0\xa4",ia:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",id:"\xa4#,##0.00",ig:"\xa4#,##0.00;(\xa4#,##0.00)",ii:"\xa4\xa0#,##0.00",is:"#,##0.00\xa0\xa4",it:"#,##0.00\xa0\xa4","it-CH":"#,##0.00\xa0\xa4","it-SM":"#,##0.00\xa0\xa4","it-VA":"#,##0.00\xa0\xa4",ja:"\xa4#,##0.00;(\xa4#,##0.00)",jgo:"\xa4\xa0#,##0.00",jmc:"\xa4#,##0.00",jv:"\xa4\xa0#,##0.00",ka:"#,##0.00\xa0\xa4",kab:"#,##0.00\xa4",kam:"\xa4#,##0.00;(\xa4#,##0.00)",kde:"\xa4#,##0.00;(\xa4#,##0.00)",kea:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kgp:"\xa4\xa0#,##0.00",khq:"#,##0.00\xa4",ki:"\xa4#,##0.00;(\xa4#,##0.00)",kk:"#,##0.00\xa0\xa4",kkj:"\xa4\xa0#,##0.00",kl:"\xa4#,##0.00;\xa4-#,##0.00",kln:"\xa4#,##0.00;(\xa4#,##0.00)",km:"#,##0.00\xa4;(#,##0.00\xa4)",kn:"\xa4#,##0.00;(\xa4#,##0.00)",ko:"\xa4#,##0.00;(\xa4#,##0.00)","ko-KP":"\xa4#,##0.00;(\xa4#,##0.00)",kok:"\xa4#,##0.00;(\xa4#,##0.00)",ks:"\xa4#,##0.00","ks-Arab":"\xa4#,##0.00","ks-Deva":"\xa4\xa0#,##0.00",ksb:"#,##0.00\xa4",ksf:"#,##0.00\xa0\xa4",ksh:"#,##0.00\xa0\xa4",ku:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kw:"\xa4#,##0.00",ky:"#,##0.00\xa0\xa4",lag:"\xa4\xa0#,##0.00",lb:"#,##0.00\xa0\xa4",lg:"#,##0.00\xa4",lkt:"\xa4\xa0#,##0.00",ln:"#,##0.00\xa0\xa4","ln-AO":"#,##0.00\xa0\xa4","ln-CF":"#,##0.00\xa0\xa4","ln-CG":"#,##0.00\xa0\xa4",lo:"\xa4#,##0.00;\xa4-#,##0.00",lrc:"\xa4\xa0#,##0.00","lrc-IQ":"\xa4\xa0#,##0.00",lt:"#,##0.00\xa0\xa4",lu:"#,##0.00\xa4",luo:"#,##0.00\xa4",luy:"\xa4#,##0.00;\xa4-\xa0#,##0.00",lv:"#,##0.00\xa0\xa4",mai:"\xa4\xa0#,##0.00",mas:"\xa4#,##0.00;(\xa4#,##0.00)","mas-TZ":"\xa4#,##0.00;(\xa4#,##0.00)",mer:"\xa4#,##0.00;(\xa4#,##0.00)",mfe:"\xa4\xa0#,##0.00",mg:"\xa4#,##0.00",mgh:"\xa4\xa0#,##0.00",mgo:"\xa4\xa0#,##0.00",mi:"\xa4\xa0#,##0.00",mk:"#,##0.00\xa0\xa4",ml:"\xa4#,##0.00;(\xa4#,##0.00)",mn:"\xa4\xa0#,##0.00",mni:"\xa4\xa0#,##0.00","mni-Beng":"\xa4\xa0#,##0.00",mr:"\xa4#,##0.00;(\xa4#,##0.00)",ms:"\xa4#,##0.00;(\xa4#,##0.00)","ms-BN":"\xa4#,##0.00;(\xa4#,##0.00)","ms-ID":"\xa4#,##0.00","ms-SG":"\xa4#,##0.00;(\xa4#,##0.00)",mt:"\xa4#,##0.00",mua:"\xa4#,##0.00;(\xa4#,##0.00)",my:"\xa4\xa0#,##0.00",mzn:"\xa4\xa0#,##0.00",naq:"\xa4#,##0.00",nb:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nb-SJ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nd:"\xa4#,##0.00;(\xa4#,##0.00)",nds:"\xa4\xa0#,##0.00","nds-NL":"\xa4\xa0#,##0.00",ne:"\xa4\xa0#,##,##0.00","ne-IN":"\xa4\xa0#,##,##0.00",nl:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-AW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BE":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BQ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-CW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SX":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nmg:"#,##0.00\xa0\xa4",nn:"#,##0.00\xa0\xa4",nnh:"\xa4\xa0#,##0.00",no:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nus:"\xa4#,##0.00;(\xa4#,##0.00)",nyn:"\xa4#,##0.00",om:"\xa4#,##0.00","om-KE":"\xa4#,##0.00",or:"\xa4#,##0.00;(\xa4#,##0.00)",os:"\xa4\xa0#,##0.00","os-RU":"\xa4\xa0#,##0.00",pa:"\xa4\xa0#,##0.00","pa-Arab":"\xa4\xa0#,##0.00","pa-Guru":"\xa4\xa0#,##0.00",pcm:"\xa4#,##0.00",pl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ps:"\xa4#,##0.00;(\xa4#,##0.00)","ps-PK":"\xa4#,##0.00;(\xa4#,##0.00)",pt:"\xa4\xa0#,##0.00","pt-AO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CV":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-PT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-ST":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-TL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",qu:"\xa4\xa0#,##0.00","qu-BO":"\xa4\xa0#,##0.00","qu-EC":"\xa4\xa0#,##0.00",rm:"#,##0.00\xa0\xa4",rn:"#,##0.00\xa4",ro:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ro-MD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",rof:"\xa4#,##0.00",ru:"#,##0.00\xa0\xa4","ru-BY":"#,##0.00\xa0\xa4","ru-KG":"#,##0.00\xa0\xa4","ru-KZ":"#,##0.00\xa0\xa4","ru-MD":"#,##0.00\xa0\xa4","ru-UA":"#,##0.00\xa0\xa4",rw:"\xa4\xa0#,##0.00",rwk:"#,##0.00\xa4",sa:"\xa4\xa0#,##0.00",sah:"#,##0.00\xa0\xa4",saq:"\xa4#,##0.00;(\xa4#,##0.00)",sat:"\xa4\xa0#,##0.00","sat-Olck":"\xa4\xa0#,##0.00",sbp:"#,##0.00\xa4",sc:"#,##0.00\xa0\xa4",sd:"\xa4\xa0#,##0.00","sd-Arab":"\xa4\xa0#,##0.00","sd-Deva":"\xa4\xa0#,##0.00",se:"#,##0.00\xa0\xa4","se-FI":"#,##0.00\xa0\xa4","se-SE":"#,##0.00\xa0\xa4",seh:"#,##0.00\xa4",ses:"#,##0.00\xa4",sg:"\xa4#,##0.00;\xa4-#,##0.00",shi:"#,##0.00\xa4","shi-Latn":"#,##0.00\xa4","shi-Tfng":"#,##0.00\xa4",si:"\xa4#,##0.00;(\xa4#,##0.00)",sk:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",smn:"#,##0.00\xa0\xa4",sn:"\xa4#,##0.00;(\xa4#,##0.00)",so:"\xa4#,##0.00;(\xa4#,##0.00)","so-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","so-ET":"\xa4#,##0.00;(\xa4#,##0.00)","so-KE":"\xa4#,##0.00;(\xa4#,##0.00)",sq:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-MK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",su:"\xa4#,##0.00","su-Latn":"\xa4#,##0.00",sv:"#,##0.00\xa0\xa4","sv-AX":"#,##0.00\xa0\xa4","sv-FI":"#,##0.00\xa0\xa4",sw:"\xa4\xa0#,##0.00","sw-CD":"\xa4\xa0#,##0.00","sw-KE":"\xa4\xa0#,##0.00","sw-UG":"\xa4\xa0#,##0.00",ta:"\xa4#,##0.00;(\xa4#,##0.00)","ta-LK":"\xa4#,##0.00;(\xa4#,##0.00)","ta-MY":"\xa4#,##0.00;(\xa4#,##0.00)","ta-SG":"\xa4#,##0.00;(\xa4#,##0.00)",te:"\xa4#,##0.00;(\xa4#,##0.00)",teo:"\xa4#,##0.00;(\xa4#,##0.00)","teo-KE":"\xa4#,##0.00;(\xa4#,##0.00)",tg:"#,##0.00\xa0\xa4",th:"\xa4#,##0.00;(\xa4#,##0.00)",ti:"\xa4#,##0.00","ti-ER":"\xa4#,##0.00",tk:"#,##0.00\xa0\xa4",to:"\xa4\xa0#,##0.00",tr:"\xa4#,##0.00;(\xa4#,##0.00)","tr-CY":"\xa4#,##0.00;(\xa4#,##0.00)",tt:"#,##0.00\xa0\xa4",twq:"#,##0.00\xa4",tzm:"#,##0.00\xa0\xa4",ug:"\xa4#,##0.00;(\xa4#,##0.00)",uk:"#,##0.00\xa0\xa4",und:"\xa4\xa0#,##0.00",ur:"\xa4#,##0.00;(\xa4#,##0.00)","ur-IN":"\xa4#,##0.00;(\xa4#,##0.00)",uz:"#,##0.00\xa0\xa4","uz-Arab":"\xa4\xa0#,##0.00","uz-Cyrl":"#,##0.00\xa0\xa4","uz-Latn":"#,##0.00\xa0\xa4",vai:"\xa4#,##0.00;(\xa4#,##0.00)","vai-Latn":"\xa4#,##0.00;(\xa4#,##0.00)","vai-Vaii":"\xa4#,##0.00;(\xa4#,##0.00)",vi:"#,##0.00\xa0\xa4",vun:"\xa4#,##0.00",wae:"\xa4\xa0#,##0.00",wo:"\xa4\xa0#,##0.00",xh:"\xa4#,##0.00",xog:"#,##0.00\xa0\xa4",yav:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",yi:"\xa4\xa0#,##0.00",yo:"\xa4#,##0.00;(\xa4#,##0.00)","yo-BJ":"\xa4#,##0.00;(\xa4#,##0.00)",yrl:"\xa4\xa0#,##0.00","yrl-CO":"\xa4\xa0#,##0.00","yrl-VE":"\xa4\xa0#,##0.00",yue:"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hant":"\xa4#,##0.00;(\xa4#,##0.00)",zgh:"#,##0.00\xa4",zh:"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-MO":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-SG":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-MO":"\xa4#,##0.00;(\xa4#,##0.00)",zu:"\xa4#,##0.00;(\xa4#,##0.00)"};e.exports=t.default,e.exports.default=t.default},61316:function(e,t){t.enCldr=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.enCldr={main:{en:{identity:{version:{_cldrVersion:"36"}},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},days:{format:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},quarters:{format:{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}},"stand-alone":{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{eraNames:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},eraAbbr:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},eraNarrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}}}}},numbers:{defaultNumberingSystem:"latn",otherNumberingSystems:{native:"latn"},minimumGroupingDigits:"1","symbols-numberSystem-latn":{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"\xd7",perMille:"\u2030",infinity:"\u221e",nan:"NaN",timeSeparator:":"},"decimalFormats-numberSystem-latn":{standard:"#,##0.###"},"scientificFormats-numberSystem-latn":{standard:"#E0"},"percentFormats-numberSystem-latn":{standard:"#,##0%"},"currencyFormats-numberSystem-latn":{currencySpacing:{beforeCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:"\xa0"},afterCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:"\xa0"}},standard:"\xa4#,##0.00",accounting:"\xa4#,##0.00;(\xa4#,##0.00)"},currencies:{ADP:{symbol:"ADP"},AED:{symbol:"AED"},AFA:{symbol:"AFA"},AFN:{symbol:"AFN"},ALK:{symbol:"ALK"},ALL:{symbol:"ALL"},AMD:{symbol:"AMD"},ANG:{symbol:"ANG"},AOA:{symbol:"AOA","symbol-alt-narrow":"Kz"},AOK:{symbol:"AOK"},AON:{symbol:"AON"},AOR:{symbol:"AOR"},ARA:{symbol:"ARA"},ARL:{symbol:"ARL"},ARM:{symbol:"ARM"},ARP:{symbol:"ARP"},ARS:{symbol:"ARS","symbol-alt-narrow":"$"},ATS:{symbol:"ATS"},AUD:{symbol:"A$","symbol-alt-narrow":"$"},AWG:{symbol:"AWG"},AZM:{symbol:"AZM"},AZN:{symbol:"AZN"},BAD:{symbol:"BAD"},BAM:{symbol:"BAM","symbol-alt-narrow":"KM"},BAN:{symbol:"BAN"},BBD:{symbol:"BBD","symbol-alt-narrow":"$"},BDT:{symbol:"BDT","symbol-alt-narrow":"\u09f3"},BEC:{symbol:"BEC"},BEF:{symbol:"BEF"},BEL:{symbol:"BEL"},BGL:{symbol:"BGL"},BGM:{symbol:"BGM"},BGN:{symbol:"BGN"},BGO:{symbol:"BGO"},BHD:{symbol:"BHD"},BIF:{symbol:"BIF"},BMD:{symbol:"BMD","symbol-alt-narrow":"$"},BND:{symbol:"BND","symbol-alt-narrow":"$"},BOB:{symbol:"BOB","symbol-alt-narrow":"Bs"},BOL:{symbol:"BOL"},BOP:{symbol:"BOP"},BOV:{symbol:"BOV"},BRB:{symbol:"BRB"},BRC:{symbol:"BRC"},BRE:{symbol:"BRE"},BRL:{symbol:"R$","symbol-alt-narrow":"R$"},BRN:{symbol:"BRN"},BRR:{symbol:"BRR"},BRZ:{symbol:"BRZ"},BSD:{symbol:"BSD","symbol-alt-narrow":"$"},BTN:{symbol:"BTN"},BUK:{symbol:"BUK"},BWP:{symbol:"BWP","symbol-alt-narrow":"P"},BYB:{symbol:"BYB"},BYN:{symbol:"BYN","symbol-alt-narrow":"\u0440."},BYR:{symbol:"BYR"},BZD:{symbol:"BZD","symbol-alt-narrow":"$"},CAD:{symbol:"CA$","symbol-alt-narrow":"$"},CDF:{symbol:"CDF"},CHE:{symbol:"CHE"},CHF:{symbol:"CHF"},CHW:{symbol:"CHW"},CLE:{symbol:"CLE"},CLF:{symbol:"CLF"},CLP:{symbol:"CLP","symbol-alt-narrow":"$"},CNH:{symbol:"CNH"},CNX:{symbol:"CNX"},CNY:{symbol:"CN\xa5","symbol-alt-narrow":"\xa5"},COP:{symbol:"COP","symbol-alt-narrow":"$"},COU:{symbol:"COU"},CRC:{symbol:"CRC","symbol-alt-narrow":"\u20a1"},CSD:{symbol:"CSD"},CSK:{symbol:"CSK"},CUC:{symbol:"CUC","symbol-alt-narrow":"$"},CUP:{symbol:"CUP","symbol-alt-narrow":"$"},CVE:{symbol:"CVE"},CYP:{symbol:"CYP"},CZK:{symbol:"CZK","symbol-alt-narrow":"K\u010d"},DDM:{symbol:"DDM"},DEM:{symbol:"DEM"},DJF:{symbol:"DJF"},DKK:{symbol:"DKK","symbol-alt-narrow":"kr"},DOP:{symbol:"DOP","symbol-alt-narrow":"$"},DZD:{symbol:"DZD"},ECS:{symbol:"ECS"},ECV:{symbol:"ECV"},EEK:{symbol:"EEK"},EGP:{symbol:"EGP","symbol-alt-narrow":"E\xa3"},ERN:{symbol:"ERN"},ESA:{symbol:"ESA"},ESB:{symbol:"ESB"},ESP:{symbol:"ESP","symbol-alt-narrow":"\u20a7"},ETB:{symbol:"ETB"},EUR:{symbol:"\u20ac","symbol-alt-narrow":"\u20ac"},FIM:{symbol:"FIM"},FJD:{symbol:"FJD","symbol-alt-narrow":"$"},FKP:{symbol:"FKP","symbol-alt-narrow":"\xa3"},FRF:{symbol:"FRF"},GBP:{symbol:"\xa3","symbol-alt-narrow":"\xa3"},GEK:{symbol:"GEK"},GEL:{symbol:"GEL","symbol-alt-narrow":"\u20be"},GHC:{symbol:"GHC"},GHS:{symbol:"GHS"},GIP:{symbol:"GIP","symbol-alt-narrow":"\xa3"},GMD:{symbol:"GMD"},GNF:{symbol:"GNF","symbol-alt-narrow":"FG"},GNS:{symbol:"GNS"},GQE:{symbol:"GQE"},GRD:{symbol:"GRD"},GTQ:{symbol:"GTQ","symbol-alt-narrow":"Q"},GWE:{symbol:"GWE"},GWP:{symbol:"GWP"},GYD:{symbol:"GYD","symbol-alt-narrow":"$"},HKD:{symbol:"HK$","symbol-alt-narrow":"$"},HNL:{symbol:"HNL","symbol-alt-narrow":"L"},HRD:{symbol:"HRD"},HRK:{symbol:"HRK","symbol-alt-narrow":"kn"},HTG:{symbol:"HTG"},HUF:{symbol:"HUF","symbol-alt-narrow":"Ft"},IDR:{symbol:"IDR","symbol-alt-narrow":"Rp"},IEP:{symbol:"IEP"},ILP:{symbol:"ILP"},ILR:{symbol:"ILR"},ILS:{symbol:"\u20aa","symbol-alt-narrow":"\u20aa"},INR:{symbol:"\u20b9","symbol-alt-narrow":"\u20b9"},IQD:{symbol:"IQD"},IRR:{symbol:"IRR"},ISJ:{symbol:"ISJ"},ISK:{symbol:"ISK","symbol-alt-narrow":"kr"},ITL:{symbol:"ITL"},JMD:{symbol:"JMD","symbol-alt-narrow":"$"},JOD:{symbol:"JOD"},JPY:{symbol:"\xa5","symbol-alt-narrow":"\xa5"},KES:{symbol:"KES"},KGS:{symbol:"KGS"},KHR:{symbol:"KHR","symbol-alt-narrow":"\u17db"},KMF:{symbol:"KMF","symbol-alt-narrow":"CF"},KPW:{symbol:"KPW","symbol-alt-narrow":"\u20a9"},KRH:{symbol:"KRH"},KRO:{symbol:"KRO"},KRW:{symbol:"\u20a9","symbol-alt-narrow":"\u20a9"},KWD:{symbol:"KWD"},KYD:{symbol:"KYD","symbol-alt-narrow":"$"},KZT:{symbol:"KZT","symbol-alt-narrow":"\u20b8"},LAK:{symbol:"LAK","symbol-alt-narrow":"\u20ad"},LBP:{symbol:"LBP","symbol-alt-narrow":"L\xa3"},LKR:{symbol:"LKR","symbol-alt-narrow":"Rs"},LRD:{symbol:"LRD","symbol-alt-narrow":"$"},LSL:{symbol:"LSL"},LTL:{symbol:"LTL","symbol-alt-narrow":"Lt"},LTT:{symbol:"LTT"},LUC:{symbol:"LUC"},LUF:{symbol:"LUF"},LUL:{symbol:"LUL"},LVL:{symbol:"LVL","symbol-alt-narrow":"Ls"},LVR:{symbol:"LVR"},LYD:{symbol:"LYD"},MAD:{symbol:"MAD"},MAF:{symbol:"MAF"},MCF:{symbol:"MCF"},MDC:{symbol:"MDC"},MDL:{symbol:"MDL"},MGA:{symbol:"MGA","symbol-alt-narrow":"Ar"},MGF:{symbol:"MGF"},MKD:{symbol:"MKD"},MKN:{symbol:"MKN"},MLF:{symbol:"MLF"},MMK:{symbol:"MMK","symbol-alt-narrow":"K"},MNT:{symbol:"MNT","symbol-alt-narrow":"\u20ae"},MOP:{symbol:"MOP"},MRO:{symbol:"MRO"},MRU:{symbol:"MRU"},MTL:{symbol:"MTL"},MTP:{symbol:"MTP"},MUR:{symbol:"MUR","symbol-alt-narrow":"Rs"},MVP:{symbol:"MVP"},MVR:{symbol:"MVR"},MWK:{symbol:"MWK"},MXN:{symbol:"MX$","symbol-alt-narrow":"$"},MXP:{symbol:"MXP"},MXV:{symbol:"MXV"},MYR:{symbol:"MYR","symbol-alt-narrow":"RM"},MZE:{symbol:"MZE"},MZM:{symbol:"MZM"},MZN:{symbol:"MZN"},NAD:{symbol:"NAD","symbol-alt-narrow":"$"},NGN:{symbol:"NGN","symbol-alt-narrow":"\u20a6"},NIC:{symbol:"NIC"},NIO:{symbol:"NIO","symbol-alt-narrow":"C$"},NLG:{symbol:"NLG"},NOK:{symbol:"NOK","symbol-alt-narrow":"kr"},NPR:{symbol:"NPR","symbol-alt-narrow":"Rs"},NZD:{symbol:"NZ$","symbol-alt-narrow":"$"},OMR:{symbol:"OMR"},PAB:{symbol:"PAB"},PEI:{symbol:"PEI"},PEN:{symbol:"PEN"},PES:{symbol:"PES"},PGK:{symbol:"PGK"},PHP:{symbol:"PHP","symbol-alt-narrow":"\u20b1"},PKR:{symbol:"PKR","symbol-alt-narrow":"Rs"},PLN:{symbol:"PLN","symbol-alt-narrow":"z\u0142"},PLZ:{symbol:"PLZ"},PTE:{symbol:"PTE"},PYG:{symbol:"PYG","symbol-alt-narrow":"\u20b2"},QAR:{symbol:"QAR"},RHD:{symbol:"RHD"},ROL:{symbol:"ROL"},RON:{symbol:"RON","symbol-alt-narrow":"lei"},RSD:{symbol:"RSD"},RUB:{symbol:"RUB","symbol-alt-narrow":"\u20bd"},RUR:{symbol:"RUR","symbol-alt-narrow":"\u0440."},RWF:{symbol:"RWF","symbol-alt-narrow":"RF"},SAR:{symbol:"SAR"},SBD:{symbol:"SBD","symbol-alt-narrow":"$"},SCR:{symbol:"SCR"},SDD:{symbol:"SDD"},SDG:{symbol:"SDG"},SDP:{symbol:"SDP"},SEK:{symbol:"SEK","symbol-alt-narrow":"kr"},SGD:{symbol:"SGD","symbol-alt-narrow":"$"},SHP:{symbol:"SHP","symbol-alt-narrow":"\xa3"},SIT:{symbol:"SIT"},SKK:{symbol:"SKK"},SLL:{symbol:"SLL"},SOS:{symbol:"SOS"},SRD:{symbol:"SRD","symbol-alt-narrow":"$"},SRG:{symbol:"SRG"},SSP:{symbol:"SSP","symbol-alt-narrow":"\xa3"},STD:{symbol:"STD"},STN:{symbol:"STN","symbol-alt-narrow":"Db"},SUR:{symbol:"SUR"},SVC:{symbol:"SVC"},SYP:{symbol:"SYP","symbol-alt-narrow":"\xa3"},SZL:{symbol:"SZL"},THB:{symbol:"THB","symbol-alt-narrow":"\u0e3f"},TJR:{symbol:"TJR"},TJS:{symbol:"TJS"},TMM:{symbol:"TMM"},TMT:{symbol:"TMT"},TND:{symbol:"TND"},TOP:{symbol:"TOP","symbol-alt-narrow":"T$"},TPE:{symbol:"TPE"},TRL:{symbol:"TRL"},TRY:{symbol:"TRY","symbol-alt-narrow":"\u20ba"},TTD:{symbol:"TTD","symbol-alt-narrow":"$"},TWD:{symbol:"NT$","symbol-alt-narrow":"$"},TZS:{symbol:"TZS"},UAH:{symbol:"UAH","symbol-alt-narrow":"\u20b4"},UAK:{symbol:"UAK"},UGS:{symbol:"UGS"},UGX:{symbol:"UGX"},USD:{symbol:"$","symbol-alt-narrow":"$"},USN:{symbol:"USN"},USS:{symbol:"USS"},UYI:{symbol:"UYI"},UYP:{symbol:"UYP"},UYU:{symbol:"UYU","symbol-alt-narrow":"$"},UYW:{symbol:"UYW"},UZS:{symbol:"UZS"},VEB:{symbol:"VEB"},VEF:{symbol:"VEF","symbol-alt-narrow":"Bs"},VES:{symbol:"VES"},VND:{symbol:"\u20ab","symbol-alt-narrow":"\u20ab"},VNN:{symbol:"VNN"},VUV:{symbol:"VUV"},WST:{symbol:"WST"},XAF:{symbol:"FCFA"},XAG:{symbol:"XAG"},XAU:{symbol:"XAU"},XBA:{symbol:"XBA"},XBB:{symbol:"XBB"},XBC:{symbol:"XBC"},XBD:{symbol:"XBD"},XCD:{symbol:"EC$","symbol-alt-narrow":"$"},XDR:{symbol:"XDR"},XEU:{symbol:"XEU"},XFO:{symbol:"XFO"},XFU:{symbol:"XFU"},XOF:{symbol:"CFA"},XPD:{symbol:"XPD"},XPF:{symbol:"CFPF"},XPT:{symbol:"XPT"},XRE:{symbol:"XRE"},XSU:{symbol:"XSU"},XTS:{symbol:"XTS"},XUA:{symbol:"XUA"},XXX:{symbol:"\xa4"},YDD:{symbol:"YDD"},YER:{symbol:"YER"},YUD:{symbol:"YUD"},YUM:{symbol:"YUM"},YUN:{symbol:"YUN"},YUR:{symbol:"YUR"},ZAL:{symbol:"ZAL"},ZAR:{symbol:"ZAR","symbol-alt-narrow":"R"},ZMK:{symbol:"ZMK"},ZMW:{symbol:"ZMW","symbol-alt-narrow":"ZK"},ZRN:{symbol:"ZRN"},ZRZ:{symbol:"ZRZ"},ZWD:{symbol:"ZWD"},ZWL:{symbol:"ZWL"},ZWR:{symbol:"ZWR"}}}}}}},29908:function(e,t){t.default=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.default={"af-NA":1,agq:1,ak:1,ar:6,"ar-EH":1,"ar-ER":1,"ar-KM":1,"ar-LB":1,"ar-MA":1,"ar-MR":1,"ar-PS":1,"ar-SO":1,"ar-SS":1,"ar-TD":1,"ar-TN":1,asa:1,ast:1,az:1,"az-Cyrl":1,bas:1,be:1,bem:1,bez:1,bg:1,bm:1,br:1,bs:1,"bs-Cyrl":1,ca:1,ce:1,cgg:1,ckb:6,cs:1,cy:1,da:1,de:1,dje:1,dsb:1,dua:1,dyo:1,ee:1,el:1,"en-001":1,"en-AE":6,"en-BI":1,"en-MP":1,"en-MV":5,"en-SD":6,eo:1,es:1,et:1,eu:1,ewo:1,fa:6,ff:1,"ff-Adlm":1,fi:1,fo:1,fr:1,"fr-DJ":6,"fr-DZ":6,"fr-SY":6,fur:1,fy:1,ga:1,gd:1,gl:1,gsw:1,gv:1,ha:1,hr:1,hsb:1,hu:1,hy:1,ia:1,ig:1,is:1,it:1,jgo:1,jmc:1,ka:1,kab:6,kde:1,kea:1,khq:1,kk:1,kkj:1,kl:1,"ko-KP":1,ksb:1,ksf:1,ksh:1,ku:1,kw:1,ky:1,lag:1,lb:1,lg:1,ln:1,lrc:6,lt:1,lu:1,lv:1,"mas-TZ":1,mfe:1,mg:1,mgo:1,mi:1,mk:1,mn:1,ms:1,mua:1,mzn:6,naq:1,nds:1,nl:1,nmg:1,nnh:1,no:1,nus:1,nyn:1,os:1,pcm:1,pl:1,ps:6,"pt-AO":1,"pt-CH":1,"pt-CV":1,"pt-GQ":1,"pt-GW":1,"pt-LU":1,"pt-ST":1,"pt-TL":1,"qu-BO":1,"qu-EC":1,rm:1,rn:1,ro:1,rof:1,ru:1,rw:1,rwk:1,sah:1,sbp:1,sc:1,se:1,ses:1,sg:1,shi:1,"shi-Latn":1,si:1,sk:1,sl:1,smn:1,so:1,"so-DJ":6,sq:1,sr:1,"sr-Latn":1,sv:1,sw:1,"ta-LK":1,"ta-MY":1,teo:1,tg:1,"ti-ER":1,tk:1,to:1,tr:1,tt:1,twq:1,tzm:1,uk:1,uz:1,"uz-Arab":6,"uz-Cyrl":1,vai:1,"vai-Latn":1,vi:1,vun:1,wae:1,wo:1,xog:1,yav:1,yi:1,yo:1,zgh:1};e.exports=t.default,e.exports.default=t.default},85703:function(e,t){t.default=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.default={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MV":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","hi-Latn":"en-IN","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419",nb:"no",nn:"no","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","az-Arab":"und","az-Cyrl":"und","bal-Latn":"und","blt-Latn":"und","bm-Nkoo":"und","bs-Cyrl":"und","byn-Latn":"und","cu-Glag":"und","dje-Arab":"und","dyo-Arab":"und","en-Dsrt":"und","en-Shaw":"und","ff-Adlm":"und","ff-Arab":"und","ha-Arab":"und","iu-Latn":"und","kk-Arab":"und","ks-Deva":"und","ku-Arab":"und","ky-Arab":"und","ky-Latn":"und","ml-Arab":"und","mn-Mong":"und","mni-Mtei":"und","ms-Arab":"und","pa-Arab":"und","sat-Deva":"und","sd-Deva":"und","sd-Khoj":"und","sd-Sind":"und","shi-Latn":"und","so-Arab":"und","sr-Latn":"und","sw-Arab":"und","tg-Arab":"und","ug-Cyrl":"und","uz-Arab":"und","uz-Cyrl":"und","vai-Latn":"und","wo-Arab":"und","yo-Arab":"und","yue-Hans":"und","zh-Hant":"und","zh-Hant-MO":"zh-Hant-HK"};e.exports=t.default,e.exports.default=t.default},99645:function(e,t){t.supplementalCldr=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.supplementalCldr={supplemental:{version:{_unicodeVersion:"12.1.0",_cldrVersion:"36"},likelySubtags:{aa:"aa-Latn-ET",aai:"aai-Latn-ZZ",aak:"aak-Latn-ZZ",aau:"aau-Latn-ZZ",ab:"ab-Cyrl-GE",abi:"abi-Latn-ZZ",abq:"abq-Cyrl-ZZ",abr:"abr-Latn-GH",abt:"abt-Latn-ZZ",aby:"aby-Latn-ZZ",acd:"acd-Latn-ZZ",ace:"ace-Latn-ID",ach:"ach-Latn-UG",ada:"ada-Latn-GH",ade:"ade-Latn-ZZ",adj:"adj-Latn-ZZ",adp:"adp-Tibt-BT",ady:"ady-Cyrl-RU",adz:"adz-Latn-ZZ",ae:"ae-Avst-IR",aeb:"aeb-Arab-TN",aey:"aey-Latn-ZZ",af:"af-Latn-ZA",agc:"agc-Latn-ZZ",agd:"agd-Latn-ZZ",agg:"agg-Latn-ZZ",agm:"agm-Latn-ZZ",ago:"ago-Latn-ZZ",agq:"agq-Latn-CM",aha:"aha-Latn-ZZ",ahl:"ahl-Latn-ZZ",aho:"aho-Ahom-IN",ajg:"ajg-Latn-ZZ",ak:"ak-Latn-GH",akk:"akk-Xsux-IQ",ala:"ala-Latn-ZZ",ali:"ali-Latn-ZZ",aln:"aln-Latn-XK",alt:"alt-Cyrl-RU",am:"am-Ethi-ET",amm:"amm-Latn-ZZ",amn:"amn-Latn-ZZ",amo:"amo-Latn-NG",amp:"amp-Latn-ZZ",an:"an-Latn-ES",anc:"anc-Latn-ZZ",ank:"ank-Latn-ZZ",ann:"ann-Latn-ZZ",any:"any-Latn-ZZ",aoj:"aoj-Latn-ZZ",aom:"aom-Latn-ZZ",aoz:"aoz-Latn-ID",apc:"apc-Arab-ZZ",apd:"apd-Arab-TG",ape:"ape-Latn-ZZ",apr:"apr-Latn-ZZ",aps:"aps-Latn-ZZ",apz:"apz-Latn-ZZ",ar:"ar-Arab-EG",arc:"arc-Armi-IR","arc-Nbat":"arc-Nbat-JO","arc-Palm":"arc-Palm-SY",arh:"arh-Latn-ZZ",arn:"arn-Latn-CL",aro:"aro-Latn-BO",arq:"arq-Arab-DZ",ars:"ars-Arab-SA",ary:"ary-Arab-MA",arz:"arz-Arab-EG",as:"as-Beng-IN",asa:"asa-Latn-TZ",ase:"ase-Sgnw-US",asg:"asg-Latn-ZZ",aso:"aso-Latn-ZZ",ast:"ast-Latn-ES",ata:"ata-Latn-ZZ",atg:"atg-Latn-ZZ",atj:"atj-Latn-CA",auy:"auy-Latn-ZZ",av:"av-Cyrl-RU",avl:"avl-Arab-ZZ",avn:"avn-Latn-ZZ",avt:"avt-Latn-ZZ",avu:"avu-Latn-ZZ",awa:"awa-Deva-IN",awb:"awb-Latn-ZZ",awo:"awo-Latn-ZZ",awx:"awx-Latn-ZZ",ay:"ay-Latn-BO",ayb:"ayb-Latn-ZZ",az:"az-Latn-AZ","az-Arab":"az-Arab-IR","az-IQ":"az-Arab-IQ","az-IR":"az-Arab-IR","az-RU":"az-Cyrl-RU",ba:"ba-Cyrl-RU",bal:"bal-Arab-PK",ban:"ban-Latn-ID",bap:"bap-Deva-NP",bar:"bar-Latn-AT",bas:"bas-Latn-CM",bav:"bav-Latn-ZZ",bax:"bax-Bamu-CM",bba:"bba-Latn-ZZ",bbb:"bbb-Latn-ZZ",bbc:"bbc-Latn-ID",bbd:"bbd-Latn-ZZ",bbj:"bbj-Latn-CM",bbp:"bbp-Latn-ZZ",bbr:"bbr-Latn-ZZ",bcf:"bcf-Latn-ZZ",bch:"bch-Latn-ZZ",bci:"bci-Latn-CI",bcm:"bcm-Latn-ZZ",bcn:"bcn-Latn-ZZ",bco:"bco-Latn-ZZ",bcq:"bcq-Ethi-ZZ",bcu:"bcu-Latn-ZZ",bdd:"bdd-Latn-ZZ",be:"be-Cyrl-BY",bef:"bef-Latn-ZZ",beh:"beh-Latn-ZZ",bej:"bej-Arab-SD",bem:"bem-Latn-ZM",bet:"bet-Latn-ZZ",bew:"bew-Latn-ID",bex:"bex-Latn-ZZ",bez:"bez-Latn-TZ",bfd:"bfd-Latn-CM",bfq:"bfq-Taml-IN",bft:"bft-Arab-PK",bfy:"bfy-Deva-IN",bg:"bg-Cyrl-BG",bgc:"bgc-Deva-IN",bgn:"bgn-Arab-PK",bgx:"bgx-Grek-TR",bhb:"bhb-Deva-IN",bhg:"bhg-Latn-ZZ",bhi:"bhi-Deva-IN",bhl:"bhl-Latn-ZZ",bho:"bho-Deva-IN",bhy:"bhy-Latn-ZZ",bi:"bi-Latn-VU",bib:"bib-Latn-ZZ",big:"big-Latn-ZZ",bik:"bik-Latn-PH",bim:"bim-Latn-ZZ",bin:"bin-Latn-NG",bio:"bio-Latn-ZZ",biq:"biq-Latn-ZZ",bjh:"bjh-Latn-ZZ",bji:"bji-Ethi-ZZ",bjj:"bjj-Deva-IN",bjn:"bjn-Latn-ID",bjo:"bjo-Latn-ZZ",bjr:"bjr-Latn-ZZ",bjt:"bjt-Latn-SN",bjz:"bjz-Latn-ZZ",bkc:"bkc-Latn-ZZ",bkm:"bkm-Latn-CM",bkq:"bkq-Latn-ZZ",bku:"bku-Latn-PH",bkv:"bkv-Latn-ZZ",blt:"blt-Tavt-VN",bm:"bm-Latn-ML",bmh:"bmh-Latn-ZZ",bmk:"bmk-Latn-ZZ",bmq:"bmq-Latn-ML",bmu:"bmu-Latn-ZZ",bn:"bn-Beng-BD",bng:"bng-Latn-ZZ",bnm:"bnm-Latn-ZZ",bnp:"bnp-Latn-ZZ",bo:"bo-Tibt-CN",boj:"boj-Latn-ZZ",bom:"bom-Latn-ZZ",bon:"bon-Latn-ZZ",bpy:"bpy-Beng-IN",bqc:"bqc-Latn-ZZ",bqi:"bqi-Arab-IR",bqp:"bqp-Latn-ZZ",bqv:"bqv-Latn-CI",br:"br-Latn-FR",bra:"bra-Deva-IN",brh:"brh-Arab-PK",brx:"brx-Deva-IN",brz:"brz-Latn-ZZ",bs:"bs-Latn-BA",bsj:"bsj-Latn-ZZ",bsq:"bsq-Bass-LR",bss:"bss-Latn-CM",bst:"bst-Ethi-ZZ",bto:"bto-Latn-PH",btt:"btt-Latn-ZZ",btv:"btv-Deva-PK",bua:"bua-Cyrl-RU",buc:"buc-Latn-YT",bud:"bud-Latn-ZZ",bug:"bug-Latn-ID",buk:"buk-Latn-ZZ",bum:"bum-Latn-CM",buo:"buo-Latn-ZZ",bus:"bus-Latn-ZZ",buu:"buu-Latn-ZZ",bvb:"bvb-Latn-GQ",bwd:"bwd-Latn-ZZ",bwr:"bwr-Latn-ZZ",bxh:"bxh-Latn-ZZ",bye:"bye-Latn-ZZ",byn:"byn-Ethi-ER",byr:"byr-Latn-ZZ",bys:"bys-Latn-ZZ",byv:"byv-Latn-CM",byx:"byx-Latn-ZZ",bza:"bza-Latn-ZZ",bze:"bze-Latn-ML",bzf:"bzf-Latn-ZZ",bzh:"bzh-Latn-ZZ",bzw:"bzw-Latn-ZZ",ca:"ca-Latn-ES",can:"can-Latn-ZZ",cbj:"cbj-Latn-ZZ",cch:"cch-Latn-NG",ccp:"ccp-Cakm-BD",ce:"ce-Cyrl-RU",ceb:"ceb-Latn-PH",cfa:"cfa-Latn-ZZ",cgg:"cgg-Latn-UG",ch:"ch-Latn-GU",chk:"chk-Latn-FM",chm:"chm-Cyrl-RU",cho:"cho-Latn-US",chp:"chp-Latn-CA",chr:"chr-Cher-US",cic:"cic-Latn-US",cja:"cja-Arab-KH",cjm:"cjm-Cham-VN",cjv:"cjv-Latn-ZZ",ckb:"ckb-Arab-IQ",ckl:"ckl-Latn-ZZ",cko:"cko-Latn-ZZ",cky:"cky-Latn-ZZ",cla:"cla-Latn-ZZ",cme:"cme-Latn-ZZ",cmg:"cmg-Soyo-MN",co:"co-Latn-FR",cop:"cop-Copt-EG",cps:"cps-Latn-PH",cr:"cr-Cans-CA",crh:"crh-Cyrl-UA",crj:"crj-Cans-CA",crk:"crk-Cans-CA",crl:"crl-Cans-CA",crm:"crm-Cans-CA",crs:"crs-Latn-SC",cs:"cs-Latn-CZ",csb:"csb-Latn-PL",csw:"csw-Cans-CA",ctd:"ctd-Pauc-MM",cu:"cu-Cyrl-RU","cu-Glag":"cu-Glag-BG",cv:"cv-Cyrl-RU",cy:"cy-Latn-GB",da:"da-Latn-DK",dad:"dad-Latn-ZZ",daf:"daf-Latn-ZZ",dag:"dag-Latn-ZZ",dah:"dah-Latn-ZZ",dak:"dak-Latn-US",dar:"dar-Cyrl-RU",dav:"dav-Latn-KE",dbd:"dbd-Latn-ZZ",dbq:"dbq-Latn-ZZ",dcc:"dcc-Arab-IN",ddn:"ddn-Latn-ZZ",de:"de-Latn-DE",ded:"ded-Latn-ZZ",den:"den-Latn-CA",dga:"dga-Latn-ZZ",dgh:"dgh-Latn-ZZ",dgi:"dgi-Latn-ZZ",dgl:"dgl-Arab-ZZ",dgr:"dgr-Latn-CA",dgz:"dgz-Latn-ZZ",dia:"dia-Latn-ZZ",dje:"dje-Latn-NE",dnj:"dnj-Latn-CI",dob:"dob-Latn-ZZ",doi:"doi-Arab-IN",dop:"dop-Latn-ZZ",dow:"dow-Latn-ZZ",drh:"drh-Mong-CN",dri:"dri-Latn-ZZ",drs:"drs-Ethi-ZZ",dsb:"dsb-Latn-DE",dtm:"dtm-Latn-ML",dtp:"dtp-Latn-MY",dts:"dts-Latn-ZZ",dty:"dty-Deva-NP",dua:"dua-Latn-CM",duc:"duc-Latn-ZZ",dud:"dud-Latn-ZZ",dug:"dug-Latn-ZZ",dv:"dv-Thaa-MV",dva:"dva-Latn-ZZ",dww:"dww-Latn-ZZ",dyo:"dyo-Latn-SN",dyu:"dyu-Latn-BF",dz:"dz-Tibt-BT",dzg:"dzg-Latn-ZZ",ebu:"ebu-Latn-KE",ee:"ee-Latn-GH",efi:"efi-Latn-NG",egl:"egl-Latn-IT",egy:"egy-Egyp-EG",eka:"eka-Latn-ZZ",eky:"eky-Kali-MM",el:"el-Grek-GR",ema:"ema-Latn-ZZ",emi:"emi-Latn-ZZ",en:"en-Latn-US","en-Shaw":"en-Shaw-GB",enn:"enn-Latn-ZZ",enq:"enq-Latn-ZZ",eo:"eo-Latn-001",eri:"eri-Latn-ZZ",es:"es-Latn-ES",esg:"esg-Gonm-IN",esu:"esu-Latn-US",et:"et-Latn-EE",etr:"etr-Latn-ZZ",ett:"ett-Ital-IT",etu:"etu-Latn-ZZ",etx:"etx-Latn-ZZ",eu:"eu-Latn-ES",ewo:"ewo-Latn-CM",ext:"ext-Latn-ES",fa:"fa-Arab-IR",faa:"faa-Latn-ZZ",fab:"fab-Latn-ZZ",fag:"fag-Latn-ZZ",fai:"fai-Latn-ZZ",fan:"fan-Latn-GQ",ff:"ff-Latn-SN","ff-Adlm":"ff-Adlm-GN",ffi:"ffi-Latn-ZZ",ffm:"ffm-Latn-ML",fi:"fi-Latn-FI",fia:"fia-Arab-SD",fil:"fil-Latn-PH",fit:"fit-Latn-SE",fj:"fj-Latn-FJ",flr:"flr-Latn-ZZ",fmp:"fmp-Latn-ZZ",fo:"fo-Latn-FO",fod:"fod-Latn-ZZ",fon:"fon-Latn-BJ",for:"for-Latn-ZZ",fpe:"fpe-Latn-ZZ",fqs:"fqs-Latn-ZZ",fr:"fr-Latn-FR",frc:"frc-Latn-US",frp:"frp-Latn-FR",frr:"frr-Latn-DE",frs:"frs-Latn-DE",fub:"fub-Arab-CM",fud:"fud-Latn-WF",fue:"fue-Latn-ZZ",fuf:"fuf-Latn-GN",fuh:"fuh-Latn-ZZ",fuq:"fuq-Latn-NE",fur:"fur-Latn-IT",fuv:"fuv-Latn-NG",fuy:"fuy-Latn-ZZ",fvr:"fvr-Latn-SD",fy:"fy-Latn-NL",ga:"ga-Latn-IE",gaa:"gaa-Latn-GH",gaf:"gaf-Latn-ZZ",gag:"gag-Latn-MD",gah:"gah-Latn-ZZ",gaj:"gaj-Latn-ZZ",gam:"gam-Latn-ZZ",gan:"gan-Hans-CN",gaw:"gaw-Latn-ZZ",gay:"gay-Latn-ID",gba:"gba-Latn-ZZ",gbf:"gbf-Latn-ZZ",gbm:"gbm-Deva-IN",gby:"gby-Latn-ZZ",gbz:"gbz-Arab-IR",gcr:"gcr-Latn-GF",gd:"gd-Latn-GB",gde:"gde-Latn-ZZ",gdn:"gdn-Latn-ZZ",gdr:"gdr-Latn-ZZ",geb:"geb-Latn-ZZ",gej:"gej-Latn-ZZ",gel:"gel-Latn-ZZ",gez:"gez-Ethi-ET",gfk:"gfk-Latn-ZZ",ggn:"ggn-Deva-NP",ghs:"ghs-Latn-ZZ",gil:"gil-Latn-KI",gim:"gim-Latn-ZZ",gjk:"gjk-Arab-PK",gjn:"gjn-Latn-ZZ",gju:"gju-Arab-PK",gkn:"gkn-Latn-ZZ",gkp:"gkp-Latn-ZZ",gl:"gl-Latn-ES",glk:"glk-Arab-IR",gmm:"gmm-Latn-ZZ",gmv:"gmv-Ethi-ZZ",gn:"gn-Latn-PY",gnd:"gnd-Latn-ZZ",gng:"gng-Latn-ZZ",god:"god-Latn-ZZ",gof:"gof-Ethi-ZZ",goi:"goi-Latn-ZZ",gom:"gom-Deva-IN",gon:"gon-Telu-IN",gor:"gor-Latn-ID",gos:"gos-Latn-NL",got:"got-Goth-UA",grb:"grb-Latn-ZZ",grc:"grc-Cprt-CY","grc-Linb":"grc-Linb-GR",grt:"grt-Beng-IN",grw:"grw-Latn-ZZ",gsw:"gsw-Latn-CH",gu:"gu-Gujr-IN",gub:"gub-Latn-BR",guc:"guc-Latn-CO",gud:"gud-Latn-ZZ",gur:"gur-Latn-GH",guw:"guw-Latn-ZZ",gux:"gux-Latn-ZZ",guz:"guz-Latn-KE",gv:"gv-Latn-IM",gvf:"gvf-Latn-ZZ",gvr:"gvr-Deva-NP",gvs:"gvs-Latn-ZZ",gwc:"gwc-Arab-ZZ",gwi:"gwi-Latn-CA",gwt:"gwt-Arab-ZZ",gyi:"gyi-Latn-ZZ",ha:"ha-Latn-NG","ha-CM":"ha-Arab-CM","ha-SD":"ha-Arab-SD",hag:"hag-Latn-ZZ",hak:"hak-Hans-CN",ham:"ham-Latn-ZZ",haw:"haw-Latn-US",haz:"haz-Arab-AF",hbb:"hbb-Latn-ZZ",hdy:"hdy-Ethi-ZZ",he:"he-Hebr-IL",hhy:"hhy-Latn-ZZ",hi:"hi-Deva-IN",hia:"hia-Latn-ZZ",hif:"hif-Latn-FJ",hig:"hig-Latn-ZZ",hih:"hih-Latn-ZZ",hil:"hil-Latn-PH",hla:"hla-Latn-ZZ",hlu:"hlu-Hluw-TR",hmd:"hmd-Plrd-CN",hmt:"hmt-Latn-ZZ",hnd:"hnd-Arab-PK",hne:"hne-Deva-IN",hnj:"hnj-Hmng-LA",hnn:"hnn-Latn-PH",hno:"hno-Arab-PK",ho:"ho-Latn-PG",hoc:"hoc-Deva-IN",hoj:"hoj-Deva-IN",hot:"hot-Latn-ZZ",hr:"hr-Latn-HR",hsb:"hsb-Latn-DE",hsn:"hsn-Hans-CN",ht:"ht-Latn-HT",hu:"hu-Latn-HU",hui:"hui-Latn-ZZ",hy:"hy-Armn-AM",hz:"hz-Latn-NA",ia:"ia-Latn-001",ian:"ian-Latn-ZZ",iar:"iar-Latn-ZZ",iba:"iba-Latn-MY",ibb:"ibb-Latn-NG",iby:"iby-Latn-ZZ",ica:"ica-Latn-ZZ",ich:"ich-Latn-ZZ",id:"id-Latn-ID",idd:"idd-Latn-ZZ",idi:"idi-Latn-ZZ",idu:"idu-Latn-ZZ",ife:"ife-Latn-TG",ig:"ig-Latn-NG",igb:"igb-Latn-ZZ",ige:"ige-Latn-ZZ",ii:"ii-Yiii-CN",ijj:"ijj-Latn-ZZ",ik:"ik-Latn-US",ikk:"ikk-Latn-ZZ",ikt:"ikt-Latn-CA",ikw:"ikw-Latn-ZZ",ikx:"ikx-Latn-ZZ",ilo:"ilo-Latn-PH",imo:"imo-Latn-ZZ",in:"in-Latn-ID",inh:"inh-Cyrl-RU",io:"io-Latn-001",iou:"iou-Latn-ZZ",iri:"iri-Latn-ZZ",is:"is-Latn-IS",it:"it-Latn-IT",iu:"iu-Cans-CA",iw:"iw-Hebr-IL",iwm:"iwm-Latn-ZZ",iws:"iws-Latn-ZZ",izh:"izh-Latn-RU",izi:"izi-Latn-ZZ",ja:"ja-Jpan-JP",jab:"jab-Latn-ZZ",jam:"jam-Latn-JM",jbo:"jbo-Latn-001",jbu:"jbu-Latn-ZZ",jen:"jen-Latn-ZZ",jgk:"jgk-Latn-ZZ",jgo:"jgo-Latn-CM",ji:"ji-Hebr-UA",jib:"jib-Latn-ZZ",jmc:"jmc-Latn-TZ",jml:"jml-Deva-NP",jra:"jra-Latn-ZZ",jut:"jut-Latn-DK",jv:"jv-Latn-ID",jw:"jw-Latn-ID",ka:"ka-Geor-GE",kaa:"kaa-Cyrl-UZ",kab:"kab-Latn-DZ",kac:"kac-Latn-MM",kad:"kad-Latn-ZZ",kai:"kai-Latn-ZZ",kaj:"kaj-Latn-NG",kam:"kam-Latn-KE",kao:"kao-Latn-ML",kbd:"kbd-Cyrl-RU",kbm:"kbm-Latn-ZZ",kbp:"kbp-Latn-ZZ",kbq:"kbq-Latn-ZZ",kbx:"kbx-Latn-ZZ",kby:"kby-Arab-NE",kcg:"kcg-Latn-NG",kck:"kck-Latn-ZW",kcl:"kcl-Latn-ZZ",kct:"kct-Latn-ZZ",kde:"kde-Latn-TZ",kdh:"kdh-Arab-TG",kdl:"kdl-Latn-ZZ",kdt:"kdt-Thai-TH",kea:"kea-Latn-CV",ken:"ken-Latn-CM",kez:"kez-Latn-ZZ",kfo:"kfo-Latn-CI",kfr:"kfr-Deva-IN",kfy:"kfy-Deva-IN",kg:"kg-Latn-CD",kge:"kge-Latn-ID",kgf:"kgf-Latn-ZZ",kgp:"kgp-Latn-BR",kha:"kha-Latn-IN",khb:"khb-Talu-CN",khn:"khn-Deva-IN",khq:"khq-Latn-ML",khs:"khs-Latn-ZZ",kht:"kht-Mymr-IN",khw:"khw-Arab-PK",khz:"khz-Latn-ZZ",ki:"ki-Latn-KE",kij:"kij-Latn-ZZ",kiu:"kiu-Latn-TR",kiw:"kiw-Latn-ZZ",kj:"kj-Latn-NA",kjd:"kjd-Latn-ZZ",kjg:"kjg-Laoo-LA",kjs:"kjs-Latn-ZZ",kjy:"kjy-Latn-ZZ",kk:"kk-Cyrl-KZ","kk-AF":"kk-Arab-AF","kk-Arab":"kk-Arab-CN","kk-CN":"kk-Arab-CN","kk-IR":"kk-Arab-IR","kk-MN":"kk-Arab-MN",kkc:"kkc-Latn-ZZ",kkj:"kkj-Latn-CM",kl:"kl-Latn-GL",kln:"kln-Latn-KE",klq:"klq-Latn-ZZ",klt:"klt-Latn-ZZ",klx:"klx-Latn-ZZ",km:"km-Khmr-KH",kmb:"kmb-Latn-AO",kmh:"kmh-Latn-ZZ",kmo:"kmo-Latn-ZZ",kms:"kms-Latn-ZZ",kmu:"kmu-Latn-ZZ",kmw:"kmw-Latn-ZZ",kn:"kn-Knda-IN",knf:"knf-Latn-GW",knp:"knp-Latn-ZZ",ko:"ko-Kore-KR",koi:"koi-Cyrl-RU",kok:"kok-Deva-IN",kol:"kol-Latn-ZZ",kos:"kos-Latn-FM",koz:"koz-Latn-ZZ",kpe:"kpe-Latn-LR",kpf:"kpf-Latn-ZZ",kpo:"kpo-Latn-ZZ",kpr:"kpr-Latn-ZZ",kpx:"kpx-Latn-ZZ",kqb:"kqb-Latn-ZZ",kqf:"kqf-Latn-ZZ",kqs:"kqs-Latn-ZZ",kqy:"kqy-Ethi-ZZ",kr:"kr-Latn-ZZ",krc:"krc-Cyrl-RU",kri:"kri-Latn-SL",krj:"krj-Latn-PH",krl:"krl-Latn-RU",krs:"krs-Latn-ZZ",kru:"kru-Deva-IN",ks:"ks-Arab-IN",ksb:"ksb-Latn-TZ",ksd:"ksd-Latn-ZZ",ksf:"ksf-Latn-CM",ksh:"ksh-Latn-DE",ksj:"ksj-Latn-ZZ",ksr:"ksr-Latn-ZZ",ktb:"ktb-Ethi-ZZ",ktm:"ktm-Latn-ZZ",kto:"kto-Latn-ZZ",ktr:"ktr-Latn-MY",ku:"ku-Latn-TR","ku-Arab":"ku-Arab-IQ","ku-LB":"ku-Arab-LB",kub:"kub-Latn-ZZ",kud:"kud-Latn-ZZ",kue:"kue-Latn-ZZ",kuj:"kuj-Latn-ZZ",kum:"kum-Cyrl-RU",kun:"kun-Latn-ZZ",kup:"kup-Latn-ZZ",kus:"kus-Latn-ZZ",kv:"kv-Cyrl-RU",kvg:"kvg-Latn-ZZ",kvr:"kvr-Latn-ID",kvx:"kvx-Arab-PK",kw:"kw-Latn-GB",kwj:"kwj-Latn-ZZ",kwo:"kwo-Latn-ZZ",kwq:"kwq-Latn-ZZ",kxa:"kxa-Latn-ZZ",kxc:"kxc-Ethi-ZZ",kxe:"kxe-Latn-ZZ",kxm:"kxm-Thai-TH",kxp:"kxp-Arab-PK",kxw:"kxw-Latn-ZZ",kxz:"kxz-Latn-ZZ",ky:"ky-Cyrl-KG","ky-Arab":"ky-Arab-CN","ky-CN":"ky-Arab-CN","ky-Latn":"ky-Latn-TR","ky-TR":"ky-Latn-TR",kye:"kye-Latn-ZZ",kyx:"kyx-Latn-ZZ",kzj:"kzj-Latn-MY",kzr:"kzr-Latn-ZZ",kzt:"kzt-Latn-MY",la:"la-Latn-VA",lab:"lab-Lina-GR",lad:"lad-Hebr-IL",lag:"lag-Latn-TZ",lah:"lah-Arab-PK",laj:"laj-Latn-UG",las:"las-Latn-ZZ",lb:"lb-Latn-LU",lbe:"lbe-Cyrl-RU",lbu:"lbu-Latn-ZZ",lbw:"lbw-Latn-ID",lcm:"lcm-Latn-ZZ",lcp:"lcp-Thai-CN",ldb:"ldb-Latn-ZZ",led:"led-Latn-ZZ",lee:"lee-Latn-ZZ",lem:"lem-Latn-ZZ",lep:"lep-Lepc-IN",leq:"leq-Latn-ZZ",leu:"leu-Latn-ZZ",lez:"lez-Cyrl-RU",lg:"lg-Latn-UG",lgg:"lgg-Latn-ZZ",li:"li-Latn-NL",lia:"lia-Latn-ZZ",lid:"lid-Latn-ZZ",lif:"lif-Deva-NP","lif-Limb":"lif-Limb-IN",lig:"lig-Latn-ZZ",lih:"lih-Latn-ZZ",lij:"lij-Latn-IT",lis:"lis-Lisu-CN",ljp:"ljp-Latn-ID",lki:"lki-Arab-IR",lkt:"lkt-Latn-US",lle:"lle-Latn-ZZ",lln:"lln-Latn-ZZ",lmn:"lmn-Telu-IN",lmo:"lmo-Latn-IT",lmp:"lmp-Latn-ZZ",ln:"ln-Latn-CD",lns:"lns-Latn-ZZ",lnu:"lnu-Latn-ZZ",lo:"lo-Laoo-LA",loj:"loj-Latn-ZZ",lok:"lok-Latn-ZZ",lol:"lol-Latn-CD",lor:"lor-Latn-ZZ",los:"los-Latn-ZZ",loz:"loz-Latn-ZM",lrc:"lrc-Arab-IR",lt:"lt-Latn-LT",ltg:"ltg-Latn-LV",lu:"lu-Latn-CD",lua:"lua-Latn-CD",luo:"luo-Latn-KE",luy:"luy-Latn-KE",luz:"luz-Arab-IR",lv:"lv-Latn-LV",lwl:"lwl-Thai-TH",lzh:"lzh-Hans-CN",lzz:"lzz-Latn-TR",mad:"mad-Latn-ID",maf:"maf-Latn-CM",mag:"mag-Deva-IN",mai:"mai-Deva-IN",mak:"mak-Latn-ID",man:"man-Latn-GM","man-GN":"man-Nkoo-GN","man-Nkoo":"man-Nkoo-GN",mas:"mas-Latn-KE",maw:"maw-Latn-ZZ",maz:"maz-Latn-MX",mbh:"mbh-Latn-ZZ",mbo:"mbo-Latn-ZZ",mbq:"mbq-Latn-ZZ",mbu:"mbu-Latn-ZZ",mbw:"mbw-Latn-ZZ",mci:"mci-Latn-ZZ",mcp:"mcp-Latn-ZZ",mcq:"mcq-Latn-ZZ",mcr:"mcr-Latn-ZZ",mcu:"mcu-Latn-ZZ",mda:"mda-Latn-ZZ",mde:"mde-Arab-ZZ",mdf:"mdf-Cyrl-RU",mdh:"mdh-Latn-PH",mdj:"mdj-Latn-ZZ",mdr:"mdr-Latn-ID",mdx:"mdx-Ethi-ZZ",med:"med-Latn-ZZ",mee:"mee-Latn-ZZ",mek:"mek-Latn-ZZ",men:"men-Latn-SL",mer:"mer-Latn-KE",met:"met-Latn-ZZ",meu:"meu-Latn-ZZ",mfa:"mfa-Arab-TH",mfe:"mfe-Latn-MU",mfn:"mfn-Latn-ZZ",mfo:"mfo-Latn-ZZ",mfq:"mfq-Latn-ZZ",mg:"mg-Latn-MG",mgh:"mgh-Latn-MZ",mgl:"mgl-Latn-ZZ",mgo:"mgo-Latn-CM",mgp:"mgp-Deva-NP",mgy:"mgy-Latn-TZ",mh:"mh-Latn-MH",mhi:"mhi-Latn-ZZ",mhl:"mhl-Latn-ZZ",mi:"mi-Latn-NZ",mif:"mif-Latn-ZZ",min:"min-Latn-ID",mis:"mis-Hatr-IQ","mis-Medf":"mis-Medf-NG",miw:"miw-Latn-ZZ",mk:"mk-Cyrl-MK",mki:"mki-Arab-ZZ",mkl:"mkl-Latn-ZZ",mkp:"mkp-Latn-ZZ",mkw:"mkw-Latn-ZZ",ml:"ml-Mlym-IN",mle:"mle-Latn-ZZ",mlp:"mlp-Latn-ZZ",mls:"mls-Latn-SD",mmo:"mmo-Latn-ZZ",mmu:"mmu-Latn-ZZ",mmx:"mmx-Latn-ZZ",mn:"mn-Cyrl-MN","mn-CN":"mn-Mong-CN","mn-Mong":"mn-Mong-CN",mna:"mna-Latn-ZZ",mnf:"mnf-Latn-ZZ",mni:"mni-Beng-IN",mnw:"mnw-Mymr-MM",mo:"mo-Latn-RO",moa:"moa-Latn-ZZ",moe:"moe-Latn-CA",moh:"moh-Latn-CA",mos:"mos-Latn-BF",mox:"mox-Latn-ZZ",mpp:"mpp-Latn-ZZ",mps:"mps-Latn-ZZ",mpt:"mpt-Latn-ZZ",mpx:"mpx-Latn-ZZ",mql:"mql-Latn-ZZ",mr:"mr-Deva-IN",mrd:"mrd-Deva-NP",mrj:"mrj-Cyrl-RU",mro:"mro-Mroo-BD",ms:"ms-Latn-MY","ms-CC":"ms-Arab-CC","ms-ID":"ms-Arab-ID",mt:"mt-Latn-MT",mtc:"mtc-Latn-ZZ",mtf:"mtf-Latn-ZZ",mti:"mti-Latn-ZZ",mtr:"mtr-Deva-IN",mua:"mua-Latn-CM",mur:"mur-Latn-ZZ",mus:"mus-Latn-US",mva:"mva-Latn-ZZ",mvn:"mvn-Latn-ZZ",mvy:"mvy-Arab-PK",mwk:"mwk-Latn-ML",mwr:"mwr-Deva-IN",mwv:"mwv-Latn-ID",mww:"mww-Hmnp-US",mxc:"mxc-Latn-ZW",mxm:"mxm-Latn-ZZ",my:"my-Mymr-MM",myk:"myk-Latn-ZZ",mym:"mym-Ethi-ZZ",myv:"myv-Cyrl-RU",myw:"myw-Latn-ZZ",myx:"myx-Latn-UG",myz:"myz-Mand-IR",mzk:"mzk-Latn-ZZ",mzm:"mzm-Latn-ZZ",mzn:"mzn-Arab-IR",mzp:"mzp-Latn-ZZ",mzw:"mzw-Latn-ZZ",mzz:"mzz-Latn-ZZ",na:"na-Latn-NR",nac:"nac-Latn-ZZ",naf:"naf-Latn-ZZ",nak:"nak-Latn-ZZ",nan:"nan-Hans-CN",nap:"nap-Latn-IT",naq:"naq-Latn-NA",nas:"nas-Latn-ZZ",nb:"nb-Latn-NO",nca:"nca-Latn-ZZ",nce:"nce-Latn-ZZ",ncf:"ncf-Latn-ZZ",nch:"nch-Latn-MX",nco:"nco-Latn-ZZ",ncu:"ncu-Latn-ZZ",nd:"nd-Latn-ZW",ndc:"ndc-Latn-MZ",nds:"nds-Latn-DE",ne:"ne-Deva-NP",neb:"neb-Latn-ZZ",new:"new-Deva-NP",nex:"nex-Latn-ZZ",nfr:"nfr-Latn-ZZ",ng:"ng-Latn-NA",nga:"nga-Latn-ZZ",ngb:"ngb-Latn-ZZ",ngl:"ngl-Latn-MZ",nhb:"nhb-Latn-ZZ",nhe:"nhe-Latn-MX",nhw:"nhw-Latn-MX",nif:"nif-Latn-ZZ",nii:"nii-Latn-ZZ",nij:"nij-Latn-ID",nin:"nin-Latn-ZZ",niu:"niu-Latn-NU",niy:"niy-Latn-ZZ",niz:"niz-Latn-ZZ",njo:"njo-Latn-IN",nkg:"nkg-Latn-ZZ",nko:"nko-Latn-ZZ",nl:"nl-Latn-NL",nmg:"nmg-Latn-CM",nmz:"nmz-Latn-ZZ",nn:"nn-Latn-NO",nnf:"nnf-Latn-ZZ",nnh:"nnh-Latn-CM",nnk:"nnk-Latn-ZZ",nnm:"nnm-Latn-ZZ",nnp:"nnp-Wcho-IN",no:"no-Latn-NO",nod:"nod-Lana-TH",noe:"noe-Deva-IN",non:"non-Runr-SE",nop:"nop-Latn-ZZ",nou:"nou-Latn-ZZ",nqo:"nqo-Nkoo-GN",nr:"nr-Latn-ZA",nrb:"nrb-Latn-ZZ",nsk:"nsk-Cans-CA",nsn:"nsn-Latn-ZZ",nso:"nso-Latn-ZA",nss:"nss-Latn-ZZ",ntm:"ntm-Latn-ZZ",ntr:"ntr-Latn-ZZ",nui:"nui-Latn-ZZ",nup:"nup-Latn-ZZ",nus:"nus-Latn-SS",nuv:"nuv-Latn-ZZ",nux:"nux-Latn-ZZ",nv:"nv-Latn-US",nwb:"nwb-Latn-ZZ",nxq:"nxq-Latn-CN",nxr:"nxr-Latn-ZZ",ny:"ny-Latn-MW",nym:"nym-Latn-TZ",nyn:"nyn-Latn-UG",nzi:"nzi-Latn-GH",oc:"oc-Latn-FR",ogc:"ogc-Latn-ZZ",okr:"okr-Latn-ZZ",okv:"okv-Latn-ZZ",om:"om-Latn-ET",ong:"ong-Latn-ZZ",onn:"onn-Latn-ZZ",ons:"ons-Latn-ZZ",opm:"opm-Latn-ZZ",or:"or-Orya-IN",oro:"oro-Latn-ZZ",oru:"oru-Arab-ZZ",os:"os-Cyrl-GE",osa:"osa-Osge-US",ota:"ota-Arab-ZZ",otk:"otk-Orkh-MN",ozm:"ozm-Latn-ZZ",pa:"pa-Guru-IN","pa-Arab":"pa-Arab-PK","pa-PK":"pa-Arab-PK",pag:"pag-Latn-PH",pal:"pal-Phli-IR","pal-Phlp":"pal-Phlp-CN",pam:"pam-Latn-PH",pap:"pap-Latn-AW",pau:"pau-Latn-PW",pbi:"pbi-Latn-ZZ",pcd:"pcd-Latn-FR",pcm:"pcm-Latn-NG",pdc:"pdc-Latn-US",pdt:"pdt-Latn-CA",ped:"ped-Latn-ZZ",peo:"peo-Xpeo-IR",pex:"pex-Latn-ZZ",pfl:"pfl-Latn-DE",phl:"phl-Arab-ZZ",phn:"phn-Phnx-LB",pil:"pil-Latn-ZZ",pip:"pip-Latn-ZZ",pka:"pka-Brah-IN",pko:"pko-Latn-KE",pl:"pl-Latn-PL",pla:"pla-Latn-ZZ",pms:"pms-Latn-IT",png:"png-Latn-ZZ",pnn:"pnn-Latn-ZZ",pnt:"pnt-Grek-GR",pon:"pon-Latn-FM",ppa:"ppa-Deva-IN",ppo:"ppo-Latn-ZZ",pra:"pra-Khar-PK",prd:"prd-Arab-IR",prg:"prg-Latn-001",ps:"ps-Arab-AF",pss:"pss-Latn-ZZ",pt:"pt-Latn-BR",ptp:"ptp-Latn-ZZ",puu:"puu-Latn-GA",pwa:"pwa-Latn-ZZ",qu:"qu-Latn-PE",quc:"quc-Latn-GT",qug:"qug-Latn-EC",rai:"rai-Latn-ZZ",raj:"raj-Deva-IN",rao:"rao-Latn-ZZ",rcf:"rcf-Latn-RE",rej:"rej-Latn-ID",rel:"rel-Latn-ZZ",res:"res-Latn-ZZ",rgn:"rgn-Latn-IT",rhg:"rhg-Arab-MM",ria:"ria-Latn-IN",rif:"rif-Tfng-MA","rif-NL":"rif-Latn-NL",rjs:"rjs-Deva-NP",rkt:"rkt-Beng-BD",rm:"rm-Latn-CH",rmf:"rmf-Latn-FI",rmo:"rmo-Latn-CH",rmt:"rmt-Arab-IR",rmu:"rmu-Latn-SE",rn:"rn-Latn-BI",rna:"rna-Latn-ZZ",rng:"rng-Latn-MZ",ro:"ro-Latn-RO",rob:"rob-Latn-ID",rof:"rof-Latn-TZ",roo:"roo-Latn-ZZ",rro:"rro-Latn-ZZ",rtm:"rtm-Latn-FJ",ru:"ru-Cyrl-RU",rue:"rue-Cyrl-UA",rug:"rug-Latn-SB",rw:"rw-Latn-RW",rwk:"rwk-Latn-TZ",rwo:"rwo-Latn-ZZ",ryu:"ryu-Kana-JP",sa:"sa-Deva-IN",saf:"saf-Latn-GH",sah:"sah-Cyrl-RU",saq:"saq-Latn-KE",sas:"sas-Latn-ID",sat:"sat-Latn-IN",sav:"sav-Latn-SN",saz:"saz-Saur-IN",sba:"sba-Latn-ZZ",sbe:"sbe-Latn-ZZ",sbp:"sbp-Latn-TZ",sc:"sc-Latn-IT",sck:"sck-Deva-IN",scl:"scl-Arab-ZZ",scn:"scn-Latn-IT",sco:"sco-Latn-GB",scs:"scs-Latn-CA",sd:"sd-Arab-PK","sd-Deva":"sd-Deva-IN","sd-Khoj":"sd-Khoj-IN","sd-Sind":"sd-Sind-IN",sdc:"sdc-Latn-IT",sdh:"sdh-Arab-IR",se:"se-Latn-NO",sef:"sef-Latn-CI",seh:"seh-Latn-MZ",sei:"sei-Latn-MX",ses:"ses-Latn-ML",sg:"sg-Latn-CF",sga:"sga-Ogam-IE",sgs:"sgs-Latn-LT",sgw:"sgw-Ethi-ZZ",sgz:"sgz-Latn-ZZ",shi:"shi-Tfng-MA",shk:"shk-Latn-ZZ",shn:"shn-Mymr-MM",shu:"shu-Arab-ZZ",si:"si-Sinh-LK",sid:"sid-Latn-ET",sig:"sig-Latn-ZZ",sil:"sil-Latn-ZZ",sim:"sim-Latn-ZZ",sjr:"sjr-Latn-ZZ",sk:"sk-Latn-SK",skc:"skc-Latn-ZZ",skr:"skr-Arab-PK",sks:"sks-Latn-ZZ",sl:"sl-Latn-SI",sld:"sld-Latn-ZZ",sli:"sli-Latn-PL",sll:"sll-Latn-ZZ",sly:"sly-Latn-ID",sm:"sm-Latn-WS",sma:"sma-Latn-SE",smj:"smj-Latn-SE",smn:"smn-Latn-FI",smp:"smp-Samr-IL",smq:"smq-Latn-ZZ",sms:"sms-Latn-FI",sn:"sn-Latn-ZW",snc:"snc-Latn-ZZ",snk:"snk-Latn-ML",snp:"snp-Latn-ZZ",snx:"snx-Latn-ZZ",sny:"sny-Latn-ZZ",so:"so-Latn-SO",sog:"sog-Sogd-UZ",sok:"sok-Latn-ZZ",soq:"soq-Latn-ZZ",sou:"sou-Thai-TH",soy:"soy-Latn-ZZ",spd:"spd-Latn-ZZ",spl:"spl-Latn-ZZ",sps:"sps-Latn-ZZ",sq:"sq-Latn-AL",sr:"sr-Cyrl-RS","sr-ME":"sr-Latn-ME","sr-RO":"sr-Latn-RO","sr-RU":"sr-Latn-RU","sr-TR":"sr-Latn-TR",srb:"srb-Sora-IN",srn:"srn-Latn-SR",srr:"srr-Latn-SN",srx:"srx-Deva-IN",ss:"ss-Latn-ZA",ssd:"ssd-Latn-ZZ",ssg:"ssg-Latn-ZZ",ssy:"ssy-Latn-ER",st:"st-Latn-ZA",stk:"stk-Latn-ZZ",stq:"stq-Latn-DE",su:"su-Latn-ID",sua:"sua-Latn-ZZ",sue:"sue-Latn-ZZ",suk:"suk-Latn-TZ",sur:"sur-Latn-ZZ",sus:"sus-Latn-GN",sv:"sv-Latn-SE",sw:"sw-Latn-TZ",swb:"swb-Arab-YT",swc:"swc-Latn-CD",swg:"swg-Latn-DE",swp:"swp-Latn-ZZ",swv:"swv-Deva-IN",sxn:"sxn-Latn-ID",sxw:"sxw-Latn-ZZ",syl:"syl-Beng-BD",syr:"syr-Syrc-IQ",szl:"szl-Latn-PL",ta:"ta-Taml-IN",taj:"taj-Deva-NP",tal:"tal-Latn-ZZ",tan:"tan-Latn-ZZ",taq:"taq-Latn-ZZ",tbc:"tbc-Latn-ZZ",tbd:"tbd-Latn-ZZ",tbf:"tbf-Latn-ZZ",tbg:"tbg-Latn-ZZ",tbo:"tbo-Latn-ZZ",tbw:"tbw-Latn-PH",tbz:"tbz-Latn-ZZ",tci:"tci-Latn-ZZ",tcy:"tcy-Knda-IN",tdd:"tdd-Tale-CN",tdg:"tdg-Deva-NP",tdh:"tdh-Deva-NP",tdu:"tdu-Latn-MY",te:"te-Telu-IN",ted:"ted-Latn-ZZ",tem:"tem-Latn-SL",teo:"teo-Latn-UG",tet:"tet-Latn-TL",tfi:"tfi-Latn-ZZ",tg:"tg-Cyrl-TJ","tg-Arab":"tg-Arab-PK","tg-PK":"tg-Arab-PK",tgc:"tgc-Latn-ZZ",tgo:"tgo-Latn-ZZ",tgu:"tgu-Latn-ZZ",th:"th-Thai-TH",thl:"thl-Deva-NP",thq:"thq-Deva-NP",thr:"thr-Deva-NP",ti:"ti-Ethi-ET",tif:"tif-Latn-ZZ",tig:"tig-Ethi-ER",tik:"tik-Latn-ZZ",tim:"tim-Latn-ZZ",tio:"tio-Latn-ZZ",tiv:"tiv-Latn-NG",tk:"tk-Latn-TM",tkl:"tkl-Latn-TK",tkr:"tkr-Latn-AZ",tkt:"tkt-Deva-NP",tl:"tl-Latn-PH",tlf:"tlf-Latn-ZZ",tlx:"tlx-Latn-ZZ",tly:"tly-Latn-AZ",tmh:"tmh-Latn-NE",tmy:"tmy-Latn-ZZ",tn:"tn-Latn-ZA",tnh:"tnh-Latn-ZZ",to:"to-Latn-TO",tof:"tof-Latn-ZZ",tog:"tog-Latn-MW",toq:"toq-Latn-ZZ",tpi:"tpi-Latn-PG",tpm:"tpm-Latn-ZZ",tpz:"tpz-Latn-ZZ",tqo:"tqo-Latn-ZZ",tr:"tr-Latn-TR",tru:"tru-Latn-TR",trv:"trv-Latn-TW",trw:"trw-Arab-ZZ",ts:"ts-Latn-ZA",tsd:"tsd-Grek-GR",tsf:"tsf-Deva-NP",tsg:"tsg-Latn-PH",tsj:"tsj-Tibt-BT",tsw:"tsw-Latn-ZZ",tt:"tt-Cyrl-RU",ttd:"ttd-Latn-ZZ",tte:"tte-Latn-ZZ",ttj:"ttj-Latn-UG",ttr:"ttr-Latn-ZZ",tts:"tts-Thai-TH",ttt:"ttt-Latn-AZ",tuh:"tuh-Latn-ZZ",tul:"tul-Latn-ZZ",tum:"tum-Latn-MW",tuq:"tuq-Latn-ZZ",tvd:"tvd-Latn-ZZ",tvl:"tvl-Latn-TV",tvu:"tvu-Latn-ZZ",twh:"twh-Latn-ZZ",twq:"twq-Latn-NE",txg:"txg-Tang-CN",ty:"ty-Latn-PF",tya:"tya-Latn-ZZ",tyv:"tyv-Cyrl-RU",tzm:"tzm-Latn-MA",ubu:"ubu-Latn-ZZ",udm:"udm-Cyrl-RU",ug:"ug-Arab-CN","ug-Cyrl":"ug-Cyrl-KZ","ug-KZ":"ug-Cyrl-KZ","ug-MN":"ug-Cyrl-MN",uga:"uga-Ugar-SY",uk:"uk-Cyrl-UA",uli:"uli-Latn-FM",umb:"umb-Latn-AO",und:"en-Latn-US","und-002":"en-Latn-NG","und-003":"en-Latn-US","und-005":"pt-Latn-BR","und-009":"en-Latn-AU","und-011":"en-Latn-NG","und-013":"es-Latn-MX","und-014":"sw-Latn-TZ","und-015":"ar-Arab-EG","und-017":"sw-Latn-CD","und-018":"en-Latn-ZA","und-019":"en-Latn-US","und-021":"en-Latn-US","und-029":"es-Latn-CU","und-030":"zh-Hans-CN","und-034":"hi-Deva-IN","und-035":"id-Latn-ID","und-039":"it-Latn-IT","und-053":"en-Latn-AU","und-054":"en-Latn-PG","und-057":"en-Latn-GU","und-061":"sm-Latn-WS","und-142":"zh-Hans-CN","und-143":"uz-Latn-UZ","und-145":"ar-Arab-SA","und-150":"ru-Cyrl-RU","und-151":"ru-Cyrl-RU","und-154":"en-Latn-GB","und-155":"de-Latn-DE","und-202":"en-Latn-NG","und-419":"es-Latn-419","und-AD":"ca-Latn-AD","und-Adlm":"ff-Adlm-GN","und-AE":"ar-Arab-AE","und-AF":"fa-Arab-AF","und-Aghb":"lez-Aghb-RU","und-Ahom":"aho-Ahom-IN","und-AL":"sq-Latn-AL","und-AM":"hy-Armn-AM","und-AO":"pt-Latn-AO","und-AQ":"und-Latn-AQ","und-AR":"es-Latn-AR","und-Arab":"ar-Arab-EG","und-Arab-CC":"ms-Arab-CC","und-Arab-CN":"ug-Arab-CN","und-Arab-GB":"ks-Arab-GB","und-Arab-ID":"ms-Arab-ID","und-Arab-IN":"ur-Arab-IN","und-Arab-KH":"cja-Arab-KH","und-Arab-MM":"rhg-Arab-MM","und-Arab-MN":"kk-Arab-MN","und-Arab-MU":"ur-Arab-MU","und-Arab-NG":"ha-Arab-NG","und-Arab-PK":"ur-Arab-PK","und-Arab-TG":"apd-Arab-TG","und-Arab-TH":"mfa-Arab-TH","und-Arab-TJ":"fa-Arab-TJ","und-Arab-TR":"az-Arab-TR","und-Arab-YT":"swb-Arab-YT","und-Armi":"arc-Armi-IR","und-Armn":"hy-Armn-AM","und-AS":"sm-Latn-AS","und-AT":"de-Latn-AT","und-Avst":"ae-Avst-IR","und-AW":"nl-Latn-AW","und-AX":"sv-Latn-AX","und-AZ":"az-Latn-AZ","und-BA":"bs-Latn-BA","und-Bali":"ban-Bali-ID","und-Bamu":"bax-Bamu-CM","und-Bass":"bsq-Bass-LR","und-Batk":"bbc-Batk-ID","und-BD":"bn-Beng-BD","und-BE":"nl-Latn-BE","und-Beng":"bn-Beng-BD","und-BF":"fr-Latn-BF","und-BG":"bg-Cyrl-BG","und-BH":"ar-Arab-BH","und-Bhks":"sa-Bhks-IN","und-BI":"rn-Latn-BI","und-BJ":"fr-Latn-BJ","und-BL":"fr-Latn-BL","und-BN":"ms-Latn-BN","und-BO":"es-Latn-BO","und-Bopo":"zh-Bopo-TW","und-BQ":"pap-Latn-BQ","und-BR":"pt-Latn-BR","und-Brah":"pka-Brah-IN","und-Brai":"fr-Brai-FR","und-BT":"dz-Tibt-BT","und-Bugi":"bug-Bugi-ID","und-Buhd":"bku-Buhd-PH","und-BV":"und-Latn-BV","und-BY":"be-Cyrl-BY","und-Cakm":"ccp-Cakm-BD","und-Cans":"cr-Cans-CA","und-Cari":"xcr-Cari-TR","und-CD":"sw-Latn-CD","und-CF":"fr-Latn-CF","und-CG":"fr-Latn-CG","und-CH":"de-Latn-CH","und-Cham":"cjm-Cham-VN","und-Cher":"chr-Cher-US","und-CI":"fr-Latn-CI","und-CL":"es-Latn-CL","und-CM":"fr-Latn-CM","und-CN":"zh-Hans-CN","und-CO":"es-Latn-CO","und-Copt":"cop-Copt-EG","und-CP":"und-Latn-CP","und-Cprt":"grc-Cprt-CY","und-CR":"es-Latn-CR","und-CU":"es-Latn-CU","und-CV":"pt-Latn-CV","und-CW":"pap-Latn-CW","und-CY":"el-Grek-CY","und-Cyrl":"ru-Cyrl-RU","und-Cyrl-AL":"mk-Cyrl-AL","und-Cyrl-BA":"sr-Cyrl-BA","und-Cyrl-GE":"ab-Cyrl-GE","und-Cyrl-GR":"mk-Cyrl-GR","und-Cyrl-MD":"uk-Cyrl-MD","und-Cyrl-RO":"bg-Cyrl-RO","und-Cyrl-SK":"uk-Cyrl-SK","und-Cyrl-TR":"kbd-Cyrl-TR","und-Cyrl-XK":"sr-Cyrl-XK","und-CZ":"cs-Latn-CZ","und-DE":"de-Latn-DE","und-Deva":"hi-Deva-IN","und-Deva-BT":"ne-Deva-BT","und-Deva-FJ":"hif-Deva-FJ","und-Deva-MU":"bho-Deva-MU","und-Deva-PK":"btv-Deva-PK","und-DJ":"aa-Latn-DJ","und-DK":"da-Latn-DK","und-DO":"es-Latn-DO","und-Dogr":"doi-Dogr-IN","und-Dupl":"fr-Dupl-FR","und-DZ":"ar-Arab-DZ","und-EA":"es-Latn-EA","und-EC":"es-Latn-EC","und-EE":"et-Latn-EE","und-EG":"ar-Arab-EG","und-Egyp":"egy-Egyp-EG","und-EH":"ar-Arab-EH","und-Elba":"sq-Elba-AL","und-Elym":"arc-Elym-IR","und-ER":"ti-Ethi-ER","und-ES":"es-Latn-ES","und-ET":"am-Ethi-ET","und-Ethi":"am-Ethi-ET","und-EU":"en-Latn-GB","und-EZ":"de-Latn-EZ","und-FI":"fi-Latn-FI","und-FO":"fo-Latn-FO","und-FR":"fr-Latn-FR","und-GA":"fr-Latn-GA","und-GE":"ka-Geor-GE","und-Geor":"ka-Geor-GE","und-GF":"fr-Latn-GF","und-GH":"ak-Latn-GH","und-GL":"kl-Latn-GL","und-Glag":"cu-Glag-BG","und-GN":"fr-Latn-GN","und-Gong":"wsg-Gong-IN","und-Gonm":"esg-Gonm-IN","und-Goth":"got-Goth-UA","und-GP":"fr-Latn-GP","und-GQ":"es-Latn-GQ","und-GR":"el-Grek-GR","und-Gran":"sa-Gran-IN","und-Grek":"el-Grek-GR","und-Grek-TR":"bgx-Grek-TR","und-GS":"und-Latn-GS","und-GT":"es-Latn-GT","und-Gujr":"gu-Gujr-IN","und-Guru":"pa-Guru-IN","und-GW":"pt-Latn-GW","und-Hanb":"zh-Hanb-TW","und-Hang":"ko-Hang-KR","und-Hani":"zh-Hani-CN","und-Hano":"hnn-Hano-PH","und-Hans":"zh-Hans-CN","und-Hant":"zh-Hant-TW","und-Hatr":"mis-Hatr-IQ","und-Hebr":"he-Hebr-IL","und-Hebr-CA":"yi-Hebr-CA","und-Hebr-GB":"yi-Hebr-GB","und-Hebr-SE":"yi-Hebr-SE","und-Hebr-UA":"yi-Hebr-UA","und-Hebr-US":"yi-Hebr-US","und-Hira":"ja-Hira-JP","und-HK":"zh-Hant-HK","und-Hluw":"hlu-Hluw-TR","und-HM":"und-Latn-HM","und-Hmng":"hnj-Hmng-LA","und-Hmnp":"mww-Hmnp-US","und-HN":"es-Latn-HN","und-HR":"hr-Latn-HR","und-HT":"ht-Latn-HT","und-HU":"hu-Latn-HU","und-Hung":"hu-Hung-HU","und-IC":"es-Latn-IC","und-ID":"id-Latn-ID","und-IL":"he-Hebr-IL","und-IN":"hi-Deva-IN","und-IQ":"ar-Arab-IQ","und-IR":"fa-Arab-IR","und-IS":"is-Latn-IS","und-IT":"it-Latn-IT","und-Ital":"ett-Ital-IT","und-Jamo":"ko-Jamo-KR","und-Java":"jv-Java-ID","und-JO":"ar-Arab-JO","und-JP":"ja-Jpan-JP","und-Jpan":"ja-Jpan-JP","und-Kali":"eky-Kali-MM","und-Kana":"ja-Kana-JP","und-KE":"sw-Latn-KE","und-KG":"ky-Cyrl-KG","und-KH":"km-Khmr-KH","und-Khar":"pra-Khar-PK","und-Khmr":"km-Khmr-KH","und-Khoj":"sd-Khoj-IN","und-KM":"ar-Arab-KM","und-Knda":"kn-Knda-IN","und-Kore":"ko-Kore-KR","und-KP":"ko-Kore-KP","und-KR":"ko-Kore-KR","und-Kthi":"bho-Kthi-IN","und-KW":"ar-Arab-KW","und-KZ":"ru-Cyrl-KZ","und-LA":"lo-Laoo-LA","und-Lana":"nod-Lana-TH","und-Laoo":"lo-Laoo-LA","und-Latn-AF":"tk-Latn-AF","und-Latn-AM":"ku-Latn-AM","und-Latn-CN":"za-Latn-CN","und-Latn-CY":"tr-Latn-CY","und-Latn-DZ":"fr-Latn-DZ","und-Latn-ET":"en-Latn-ET","und-Latn-GE":"ku-Latn-GE","und-Latn-IR":"tk-Latn-IR","und-Latn-KM":"fr-Latn-KM","und-Latn-MA":"fr-Latn-MA","und-Latn-MK":"sq-Latn-MK","und-Latn-MM":"kac-Latn-MM","und-Latn-MO":"pt-Latn-MO","und-Latn-MR":"fr-Latn-MR","und-Latn-RU":"krl-Latn-RU","und-Latn-SY":"fr-Latn-SY","und-Latn-TN":"fr-Latn-TN","und-Latn-TW":"trv-Latn-TW","und-Latn-UA":"pl-Latn-UA","und-LB":"ar-Arab-LB","und-Lepc":"lep-Lepc-IN","und-LI":"de-Latn-LI","und-Limb":"lif-Limb-IN","und-Lina":"lab-Lina-GR","und-Linb":"grc-Linb-GR","und-Lisu":"lis-Lisu-CN","und-LK":"si-Sinh-LK","und-LS":"st-Latn-LS","und-LT":"lt-Latn-LT","und-LU":"fr-Latn-LU","und-LV":"lv-Latn-LV","und-LY":"ar-Arab-LY","und-Lyci":"xlc-Lyci-TR","und-Lydi":"xld-Lydi-TR","und-MA":"ar-Arab-MA","und-Mahj":"hi-Mahj-IN","und-Maka":"mak-Maka-ID","und-Mand":"myz-Mand-IR","und-Mani":"xmn-Mani-CN","und-Marc":"bo-Marc-CN","und-MC":"fr-Latn-MC","und-MD":"ro-Latn-MD","und-ME":"sr-Latn-ME","und-Medf":"mis-Medf-NG","und-Mend":"men-Mend-SL","und-Merc":"xmr-Merc-SD","und-Mero":"xmr-Mero-SD","und-MF":"fr-Latn-MF","und-MG":"mg-Latn-MG","und-MK":"mk-Cyrl-MK","und-ML":"bm-Latn-ML","und-Mlym":"ml-Mlym-IN","und-MM":"my-Mymr-MM","und-MN":"mn-Cyrl-MN","und-MO":"zh-Hant-MO","und-Modi":"mr-Modi-IN","und-Mong":"mn-Mong-CN","und-MQ":"fr-Latn-MQ","und-MR":"ar-Arab-MR","und-Mroo":"mro-Mroo-BD","und-MT":"mt-Latn-MT","und-Mtei":"mni-Mtei-IN","und-MU":"mfe-Latn-MU","und-Mult":"skr-Mult-PK","und-MV":"dv-Thaa-MV","und-MX":"es-Latn-MX","und-MY":"ms-Latn-MY","und-Mymr":"my-Mymr-MM","und-Mymr-IN":"kht-Mymr-IN","und-Mymr-TH":"mnw-Mymr-TH","und-MZ":"pt-Latn-MZ","und-NA":"af-Latn-NA","und-Nand":"sa-Nand-IN","und-Narb":"xna-Narb-SA","und-Nbat":"arc-Nbat-JO","und-NC":"fr-Latn-NC","und-NE":"ha-Latn-NE","und-Newa":"new-Newa-NP","und-NI":"es-Latn-NI","und-Nkoo":"man-Nkoo-GN","und-NL":"nl-Latn-NL","und-NO":"nb-Latn-NO","und-NP":"ne-Deva-NP","und-Nshu":"zhx-Nshu-CN","und-Ogam":"sga-Ogam-IE","und-Olck":"sat-Olck-IN","und-OM":"ar-Arab-OM","und-Orkh":"otk-Orkh-MN","und-Orya":"or-Orya-IN","und-Osge":"osa-Osge-US","und-Osma":"so-Osma-SO","und-PA":"es-Latn-PA","und-Palm":"arc-Palm-SY","und-Pauc":"ctd-Pauc-MM","und-PE":"es-Latn-PE","und-Perm":"kv-Perm-RU","und-PF":"fr-Latn-PF","und-PG":"tpi-Latn-PG","und-PH":"fil-Latn-PH","und-Phag":"lzh-Phag-CN","und-Phli":"pal-Phli-IR","und-Phlp":"pal-Phlp-CN","und-Phnx":"phn-Phnx-LB","und-PK":"ur-Arab-PK","und-PL":"pl-Latn-PL","und-Plrd":"hmd-Plrd-CN","und-PM":"fr-Latn-PM","und-PR":"es-Latn-PR","und-Prti":"xpr-Prti-IR","und-PS":"ar-Arab-PS","und-PT":"pt-Latn-PT","und-PW":"pau-Latn-PW","und-PY":"gn-Latn-PY","und-QA":"ar-Arab-QA","und-QO":"en-Latn-DG","und-RE":"fr-Latn-RE","und-Rjng":"rej-Rjng-ID","und-RO":"ro-Latn-RO","und-Rohg":"rhg-Rohg-MM","und-RS":"sr-Cyrl-RS","und-RU":"ru-Cyrl-RU","und-Runr":"non-Runr-SE","und-RW":"rw-Latn-RW","und-SA":"ar-Arab-SA","und-Samr":"smp-Samr-IL","und-Sarb":"xsa-Sarb-YE","und-Saur":"saz-Saur-IN","und-SC":"fr-Latn-SC","und-SD":"ar-Arab-SD","und-SE":"sv-Latn-SE","und-Sgnw":"ase-Sgnw-US","und-Shaw":"en-Shaw-GB","und-Shrd":"sa-Shrd-IN","und-SI":"sl-Latn-SI","und-Sidd":"sa-Sidd-IN","und-Sind":"sd-Sind-IN","und-Sinh":"si-Sinh-LK","und-SJ":"nb-Latn-SJ","und-SK":"sk-Latn-SK","und-SM":"it-Latn-SM","und-SN":"fr-Latn-SN","und-SO":"so-Latn-SO","und-Sogd":"sog-Sogd-UZ","und-Sogo":"sog-Sogo-UZ","und-Sora":"srb-Sora-IN","und-Soyo":"cmg-Soyo-MN","und-SR":"nl-Latn-SR","und-ST":"pt-Latn-ST","und-Sund":"su-Sund-ID","und-SV":"es-Latn-SV","und-SY":"ar-Arab-SY","und-Sylo":"syl-Sylo-BD","und-Syrc":"syr-Syrc-IQ","und-Tagb":"tbw-Tagb-PH","und-Takr":"doi-Takr-IN","und-Tale":"tdd-Tale-CN","und-Talu":"khb-Talu-CN","und-Taml":"ta-Taml-IN","und-Tang":"txg-Tang-CN","und-Tavt":"blt-Tavt-VN","und-TD":"fr-Latn-TD","und-Telu":"te-Telu-IN","und-TF":"fr-Latn-TF","und-Tfng":"zgh-Tfng-MA","und-TG":"fr-Latn-TG","und-Tglg":"fil-Tglg-PH","und-TH":"th-Thai-TH","und-Thaa":"dv-Thaa-MV","und-Thai":"th-Thai-TH","und-Thai-CN":"lcp-Thai-CN","und-Thai-KH":"kdt-Thai-KH","und-Thai-LA":"kdt-Thai-LA","und-Tibt":"bo-Tibt-CN","und-Tirh":"mai-Tirh-IN","und-TJ":"tg-Cyrl-TJ","und-TK":"tkl-Latn-TK","und-TL":"pt-Latn-TL","und-TM":"tk-Latn-TM","und-TN":"ar-Arab-TN","und-TO":"to-Latn-TO","und-TR":"tr-Latn-TR","und-TV":"tvl-Latn-TV","und-TW":"zh-Hant-TW","und-TZ":"sw-Latn-TZ","und-UA":"uk-Cyrl-UA","und-UG":"sw-Latn-UG","und-Ugar":"uga-Ugar-SY","und-UY":"es-Latn-UY","und-UZ":"uz-Latn-UZ","und-VA":"it-Latn-VA","und-Vaii":"vai-Vaii-LR","und-VE":"es-Latn-VE","und-VN":"vi-Latn-VN","und-VU":"bi-Latn-VU","und-Wara":"hoc-Wara-IN","und-Wcho":"nnp-Wcho-IN","und-WF":"fr-Latn-WF","und-WS":"sm-Latn-WS","und-XK":"sq-Latn-XK","und-Xpeo":"peo-Xpeo-IR","und-Xsux":"akk-Xsux-IQ","und-YE":"ar-Arab-YE","und-Yiii":"ii-Yiii-CN","und-YT":"fr-Latn-YT","und-Zanb":"cmg-Zanb-MN","und-ZW":"sn-Latn-ZW",unr:"unr-Beng-IN","unr-Deva":"unr-Deva-NP","unr-NP":"unr-Deva-NP",unx:"unx-Beng-IN",uok:"uok-Latn-ZZ",ur:"ur-Arab-PK",uri:"uri-Latn-ZZ",urt:"urt-Latn-ZZ",urw:"urw-Latn-ZZ",usa:"usa-Latn-ZZ",utr:"utr-Latn-ZZ",uvh:"uvh-Latn-ZZ",uvl:"uvl-Latn-ZZ",uz:"uz-Latn-UZ","uz-AF":"uz-Arab-AF","uz-Arab":"uz-Arab-AF","uz-CN":"uz-Cyrl-CN",vag:"vag-Latn-ZZ",vai:"vai-Vaii-LR",van:"van-Latn-ZZ",ve:"ve-Latn-ZA",vec:"vec-Latn-IT",vep:"vep-Latn-RU",vi:"vi-Latn-VN",vic:"vic-Latn-SX",viv:"viv-Latn-ZZ",vls:"vls-Latn-BE",vmf:"vmf-Latn-DE",vmw:"vmw-Latn-MZ",vo:"vo-Latn-001",vot:"vot-Latn-RU",vro:"vro-Latn-EE",vun:"vun-Latn-TZ",vut:"vut-Latn-ZZ",wa:"wa-Latn-BE",wae:"wae-Latn-CH",waj:"waj-Latn-ZZ",wal:"wal-Ethi-ET",wan:"wan-Latn-ZZ",war:"war-Latn-PH",wbp:"wbp-Latn-AU",wbq:"wbq-Telu-IN",wbr:"wbr-Deva-IN",wci:"wci-Latn-ZZ",wer:"wer-Latn-ZZ",wgi:"wgi-Latn-ZZ",whg:"whg-Latn-ZZ",wib:"wib-Latn-ZZ",wiu:"wiu-Latn-ZZ",wiv:"wiv-Latn-ZZ",wja:"wja-Latn-ZZ",wji:"wji-Latn-ZZ",wls:"wls-Latn-WF",wmo:"wmo-Latn-ZZ",wnc:"wnc-Latn-ZZ",wni:"wni-Arab-KM",wnu:"wnu-Latn-ZZ",wo:"wo-Latn-SN",wob:"wob-Latn-ZZ",wos:"wos-Latn-ZZ",wrs:"wrs-Latn-ZZ",wsg:"wsg-Gong-IN",wsk:"wsk-Latn-ZZ",wtm:"wtm-Deva-IN",wuu:"wuu-Hans-CN",wuv:"wuv-Latn-ZZ",wwa:"wwa-Latn-ZZ",xav:"xav-Latn-BR",xbi:"xbi-Latn-ZZ",xcr:"xcr-Cari-TR",xes:"xes-Latn-ZZ",xh:"xh-Latn-ZA",xla:"xla-Latn-ZZ",xlc:"xlc-Lyci-TR",xld:"xld-Lydi-TR",xmf:"xmf-Geor-GE",xmn:"xmn-Mani-CN",xmr:"xmr-Merc-SD",xna:"xna-Narb-SA",xnr:"xnr-Deva-IN",xog:"xog-Latn-UG",xon:"xon-Latn-ZZ",xpr:"xpr-Prti-IR",xrb:"xrb-Latn-ZZ",xsa:"xsa-Sarb-YE",xsi:"xsi-Latn-ZZ",xsm:"xsm-Latn-ZZ",xsr:"xsr-Deva-NP",xwe:"xwe-Latn-ZZ",yam:"yam-Latn-ZZ",yao:"yao-Latn-MZ",yap:"yap-Latn-FM",yas:"yas-Latn-ZZ",yat:"yat-Latn-ZZ",yav:"yav-Latn-CM",yay:"yay-Latn-ZZ",yaz:"yaz-Latn-ZZ",yba:"yba-Latn-ZZ",ybb:"ybb-Latn-CM",yby:"yby-Latn-ZZ",yer:"yer-Latn-ZZ",ygr:"ygr-Latn-ZZ",ygw:"ygw-Latn-ZZ",yi:"yi-Hebr-001",yko:"yko-Latn-ZZ",yle:"yle-Latn-ZZ",ylg:"ylg-Latn-ZZ",yll:"yll-Latn-ZZ",yml:"yml-Latn-ZZ",yo:"yo-Latn-NG",yon:"yon-Latn-ZZ",yrb:"yrb-Latn-ZZ",yre:"yre-Latn-ZZ",yrl:"yrl-Latn-BR",yss:"yss-Latn-ZZ",yua:"yua-Latn-MX",yue:"yue-Hant-HK","yue-CN":"yue-Hans-CN","yue-Hans":"yue-Hans-CN",yuj:"yuj-Latn-ZZ",yut:"yut-Latn-ZZ",yuw:"yuw-Latn-ZZ",za:"za-Latn-CN",zag:"zag-Latn-SD",zdj:"zdj-Arab-KM",zea:"zea-Latn-NL",zgh:"zgh-Tfng-MA",zh:"zh-Hans-CN","zh-AU":"zh-Hant-AU","zh-BN":"zh-Hant-BN","zh-Bopo":"zh-Bopo-TW","zh-GB":"zh-Hant-GB","zh-GF":"zh-Hant-GF","zh-Hanb":"zh-Hanb-TW","zh-Hant":"zh-Hant-TW","zh-HK":"zh-Hant-HK","zh-ID":"zh-Hant-ID","zh-MO":"zh-Hant-MO","zh-MY":"zh-Hant-MY","zh-PA":"zh-Hant-PA","zh-PF":"zh-Hant-PF","zh-PH":"zh-Hant-PH","zh-SR":"zh-Hant-SR","zh-TH":"zh-Hant-TH","zh-TW":"zh-Hant-TW","zh-US":"zh-Hant-US","zh-VN":"zh-Hant-VN",zhx:"zhx-Nshu-CN",zia:"zia-Latn-ZZ",zlm:"zlm-Latn-TG",zmi:"zmi-Latn-MY",zne:"zne-Latn-ZZ",zu:"zu-Latn-ZA",zza:"zza-Latn-TR"},timeData:{AX:{_allowed:"H",_preferred:"H"},BQ:{_allowed:"H",_preferred:"H"},CP:{_allowed:"H",_preferred:"H"},CZ:{_allowed:"H",_preferred:"H"},DK:{_allowed:"H",_preferred:"H"},FI:{_allowed:"H",_preferred:"H"},ID:{_allowed:"H",_preferred:"H"},IS:{_allowed:"H",_preferred:"H"},ML:{_allowed:"H",_preferred:"H"},NE:{_allowed:"H",_preferred:"H"},RU:{_allowed:"H",_preferred:"H"},SE:{_allowed:"H",_preferred:"H"},SJ:{_allowed:"H",_preferred:"H"},SK:{_allowed:"H",_preferred:"H"},AS:{_allowed:"h H",_preferred:"h"},BT:{_allowed:"h H",_preferred:"h"},DJ:{_allowed:"h H",_preferred:"h"},ER:{_allowed:"h H",_preferred:"h"},GH:{_allowed:"h H",_preferred:"h"},IN:{_allowed:"h H",_preferred:"h"},LS:{_allowed:"h H",_preferred:"h"},PG:{_allowed:"h H",_preferred:"h"},PW:{_allowed:"h H",_preferred:"h"},SO:{_allowed:"h H",_preferred:"h"},TO:{_allowed:"h H",_preferred:"h"},VU:{_allowed:"h H",_preferred:"h"},WS:{_allowed:"h H",_preferred:"h"},"001":{_allowed:"H h",_preferred:"H"},AL:{_allowed:"h H hB",_preferred:"h"},TD:{_allowed:"h H hB",_preferred:"h"},ca_ES:{_allowed:"H h hB",_preferred:"H"},CF:{_allowed:"H h hB",_preferred:"H"},CM:{_allowed:"H h hB",_preferred:"H"},fr_CA:{_allowed:"H h hB",_preferred:"H"},gl_ES:{_allowed:"H h hB",_preferred:"H"},it_CH:{_allowed:"H h hB",_preferred:"H"},it_IT:{_allowed:"H h hB",_preferred:"H"},LU:{_allowed:"H h hB",_preferred:"H"},NP:{_allowed:"H h hB",_preferred:"H"},PF:{_allowed:"H h hB",_preferred:"H"},SC:{_allowed:"H h hB",_preferred:"H"},SM:{_allowed:"H h hB",_preferred:"H"},SN:{_allowed:"H h hB",_preferred:"H"},TF:{_allowed:"H h hB",_preferred:"H"},VA:{_allowed:"H h hB",_preferred:"H"},CY:{_allowed:"h H hb hB",_preferred:"h"},GR:{_allowed:"h H hb hB",_preferred:"h"},CO:{_allowed:"h H hB hb",_preferred:"h"},DO:{_allowed:"h H hB hb",_preferred:"h"},KP:{_allowed:"h H hB hb",_preferred:"h"},KR:{_allowed:"h H hB hb",_preferred:"h"},NA:{_allowed:"h H hB hb",_preferred:"h"},PA:{_allowed:"h H hB hb",_preferred:"h"},PR:{_allowed:"h H hB hb",_preferred:"h"},VE:{_allowed:"h H hB hb",_preferred:"h"},AC:{_allowed:"H h hb hB",_preferred:"H"},AI:{_allowed:"H h hb hB",_preferred:"H"},BW:{_allowed:"H h hb hB",_preferred:"H"},BZ:{_allowed:"H h hb hB",_preferred:"H"},CC:{_allowed:"H h hb hB",_preferred:"H"},CK:{_allowed:"H h hb hB",_preferred:"H"},CX:{_allowed:"H h hb hB",_preferred:"H"},DG:{_allowed:"H h hb hB",_preferred:"H"},FK:{_allowed:"H h hb hB",_preferred:"H"},GB:{_allowed:"H h hb hB",_preferred:"H"},GG:{_allowed:"H h hb hB",_preferred:"H"},GI:{_allowed:"H h hb hB",_preferred:"H"},IE:{_allowed:"H h hb hB",_preferred:"H"},IM:{_allowed:"H h hb hB",_preferred:"H"},IO:{_allowed:"H h hb hB",_preferred:"H"},JE:{_allowed:"H h hb hB",_preferred:"H"},LT:{_allowed:"H h hb hB",_preferred:"H"},MK:{_allowed:"H h hb hB",_preferred:"H"},MN:{_allowed:"H h hb hB",_preferred:"H"},MS:{_allowed:"H h hb hB",_preferred:"H"},NF:{_allowed:"H h hb hB",_preferred:"H"},NG:{_allowed:"H h hb hB",_preferred:"H"},NR:{_allowed:"H h hb hB",_preferred:"H"},NU:{_allowed:"H h hb hB",_preferred:"H"},PN:{_allowed:"H h hb hB",_preferred:"H"},SH:{_allowed:"H h hb hB",_preferred:"H"},SX:{_allowed:"H h hb hB",_preferred:"H"},TA:{_allowed:"H h hb hB",_preferred:"H"},ZA:{_allowed:"H h hb hB",_preferred:"H"},af_ZA:{_allowed:"H h hB hb",_preferred:"H"},AR:{_allowed:"H h hB hb",_preferred:"H"},CL:{_allowed:"H h hB hb",_preferred:"H"},CR:{_allowed:"H h hB hb",_preferred:"H"},CU:{_allowed:"H h hB hb",_preferred:"H"},EA:{_allowed:"H h hB hb",_preferred:"H"},es_BO:{_allowed:"H h hB hb",_preferred:"H"},es_BR:{_allowed:"H h hB hb",_preferred:"H"},es_EC:{_allowed:"H h hB hb",_preferred:"H"},es_ES:{_allowed:"H h hB hb",_preferred:"H"},es_GQ:{_allowed:"H h hB hb",_preferred:"H"},es_PE:{_allowed:"H h hB hb",_preferred:"H"},GT:{_allowed:"H h hB hb",_preferred:"H"},HN:{_allowed:"H h hB hb",_preferred:"H"},IC:{_allowed:"H h hB hb",_preferred:"H"},KG:{_allowed:"H h hB hb",_preferred:"H"},KM:{_allowed:"H h hB hb",_preferred:"H"},LK:{_allowed:"H h hB hb",_preferred:"H"},MA:{_allowed:"H h hB hb",_preferred:"H"},MX:{_allowed:"H h hB hb",_preferred:"H"},NI:{_allowed:"H h hB hb",_preferred:"H"},PY:{_allowed:"H h hB hb",_preferred:"H"},SV:{_allowed:"H h hB hb",_preferred:"H"},UY:{_allowed:"H h hB hb",_preferred:"H"},JP:{_allowed:"H h K",_preferred:"H"},AD:{_allowed:"H hB",_preferred:"H"},AM:{_allowed:"H hB",_preferred:"H"},AO:{_allowed:"H hB",_preferred:"H"},AT:{_allowed:"H hB",_preferred:"H"},AW:{_allowed:"H hB",_preferred:"H"},BE:{_allowed:"H hB",_preferred:"H"},BF:{_allowed:"H hB",_preferred:"H"},BJ:{_allowed:"H hB",_preferred:"H"},BL:{_allowed:"H hB",_preferred:"H"},BR:{_allowed:"H hB",_preferred:"H"},CG:{_allowed:"H hB",_preferred:"H"},CI:{_allowed:"H hB",_preferred:"H"},CV:{_allowed:"H hB",_preferred:"H"},DE:{_allowed:"H hB",_preferred:"H"},EE:{_allowed:"H hB",_preferred:"H"},FR:{_allowed:"H hB",_preferred:"H"},GA:{_allowed:"H hB",_preferred:"H"},GF:{_allowed:"H hB",_preferred:"H"},GN:{_allowed:"H hB",_preferred:"H"},GP:{_allowed:"H hB",_preferred:"H"},GW:{_allowed:"H hB",_preferred:"H"},HR:{_allowed:"H hB",_preferred:"H"},IL:{_allowed:"H hB",_preferred:"H"},IT:{_allowed:"H hB",_preferred:"H"},KZ:{_allowed:"H hB",_preferred:"H"},MC:{_allowed:"H hB",_preferred:"H"},MD:{_allowed:"H hB",_preferred:"H"},MF:{_allowed:"H hB",_preferred:"H"},MQ:{_allowed:"H hB",_preferred:"H"},MZ:{_allowed:"H hB",_preferred:"H"},NC:{_allowed:"H hB",_preferred:"H"},NL:{_allowed:"H hB",_preferred:"H"},PM:{_allowed:"H hB",_preferred:"H"},PT:{_allowed:"H hB",_preferred:"H"},RE:{_allowed:"H hB",_preferred:"H"},RO:{_allowed:"H hB",_preferred:"H"},SI:{_allowed:"H hB",_preferred:"H"},SR:{_allowed:"H hB",_preferred:"H"},ST:{_allowed:"H hB",_preferred:"H"},TG:{_allowed:"H hB",_preferred:"H"},TR:{_allowed:"H hB",_preferred:"H"},WF:{_allowed:"H hB",_preferred:"H"},YT:{_allowed:"H hB",_preferred:"H"},BD:{_allowed:"h hB H",_preferred:"h"},PK:{_allowed:"h hB H",_preferred:"h"},AZ:{_allowed:"H hB h",_preferred:"H"},BA:{_allowed:"H hB h",_preferred:"H"},BG:{_allowed:"H hB h",_preferred:"H"},CH:{_allowed:"H hB h",_preferred:"H"},GE:{_allowed:"H hB h",_preferred:"H"},LI:{_allowed:"H hB h",_preferred:"H"},ME:{_allowed:"H hB h",_preferred:"H"},RS:{_allowed:"H hB h",_preferred:"H"},UA:{_allowed:"H hB h",_preferred:"H"},UZ:{_allowed:"H hB h",_preferred:"H"},XK:{_allowed:"H hB h",_preferred:"H"},AG:{_allowed:"h hb H hB",_preferred:"h"},AU:{_allowed:"h hb H hB",_preferred:"h"},BB:{_allowed:"h hb H hB",_preferred:"h"},BM:{_allowed:"h hb H hB",_preferred:"h"},BS:{_allowed:"h hb H hB",_preferred:"h"},CA:{_allowed:"h hb H hB",_preferred:"h"},DM:{_allowed:"h hb H hB",_preferred:"h"},en_001:{_allowed:"h hb H hB",_preferred:"h"},FJ:{_allowed:"h hb H hB",_preferred:"h"},FM:{_allowed:"h hb H hB",_preferred:"h"},GD:{_allowed:"h hb H hB",_preferred:"h"},GM:{_allowed:"h hb H hB",_preferred:"h"},GU:{_allowed:"h hb H hB",_preferred:"h"},GY:{_allowed:"h hb H hB",_preferred:"h"},JM:{_allowed:"h hb H hB",_preferred:"h"},KI:{_allowed:"h hb H hB",_preferred:"h"},KN:{_allowed:"h hb H hB",_preferred:"h"},KY:{_allowed:"h hb H hB",_preferred:"h"},LC:{_allowed:"h hb H hB",_preferred:"h"},LR:{_allowed:"h hb H hB",_preferred:"h"},MH:{_allowed:"h hb H hB",_preferred:"h"},MP:{_allowed:"h hb H hB",_preferred:"h"},MW:{_allowed:"h hb H hB",_preferred:"h"},NZ:{_allowed:"h hb H hB",_preferred:"h"},SB:{_allowed:"h hb H hB",_preferred:"h"},SG:{_allowed:"h hb H hB",_preferred:"h"},SL:{_allowed:"h hb H hB",_preferred:"h"},SS:{_allowed:"h hb H hB",_preferred:"h"},SZ:{_allowed:"h hb H hB",_preferred:"h"},TC:{_allowed:"h hb H hB",_preferred:"h"},TT:{_allowed:"h hb H hB",_preferred:"h"},UM:{_allowed:"h hb H hB",_preferred:"h"},US:{_allowed:"h hb H hB",_preferred:"h"},VC:{_allowed:"h hb H hB",_preferred:"h"},VG:{_allowed:"h hb H hB",_preferred:"h"},VI:{_allowed:"h hb H hB",_preferred:"h"},ZM:{_allowed:"h hb H hB",_preferred:"h"},BO:{_allowed:"H hB h hb",_preferred:"H"},EC:{_allowed:"H hB h hb",_preferred:"H"},ES:{_allowed:"H hB h hb",_preferred:"H"},GQ:{_allowed:"H hB h hb",_preferred:"H"},PE:{_allowed:"H hB h hb",_preferred:"H"},AE:{_allowed:"h hB hb H",_preferred:"h"},ar_001:{_allowed:"h hB hb H",_preferred:"h"},BH:{_allowed:"h hB hb H",_preferred:"h"},DZ:{_allowed:"h hB hb H",_preferred:"h"},EG:{_allowed:"h hB hb H",_preferred:"h"},EH:{_allowed:"h hB hb H",_preferred:"h"},IQ:{_allowed:"h hB hb H",_preferred:"h"},JO:{_allowed:"h hB hb H",_preferred:"h"},KW:{_allowed:"h hB hb H",_preferred:"h"},LB:{_allowed:"h hB hb H",_preferred:"h"},LY:{_allowed:"h hB hb H",_preferred:"h"},MR:{_allowed:"h hB hb H",_preferred:"h"},OM:{_allowed:"h hB hb H",_preferred:"h"},PH:{_allowed:"h hB hb H",_preferred:"h"},PS:{_allowed:"h hB hb H",_preferred:"h"},QA:{_allowed:"h hB hb H",_preferred:"h"},SA:{_allowed:"h hB hb H",_preferred:"h"},SD:{_allowed:"h hB hb H",_preferred:"h"},SY:{_allowed:"h hB hb H",_preferred:"h"},TN:{_allowed:"h hB hb H",_preferred:"h"},YE:{_allowed:"h hB hb H",_preferred:"h"},AF:{_allowed:"H hb hB h",_preferred:"H"},LA:{_allowed:"H hb hB h",_preferred:"H"},LV:{_allowed:"H hB hb h",_preferred:"H"},TL:{_allowed:"H hB hb h",_preferred:"H"},zu_ZA:{_allowed:"H hB hb h",_preferred:"H"},CD:{_allowed:"hB H",_preferred:"H"},IR:{_allowed:"hB H",_preferred:"H"},hi_IN:{_allowed:"hB h H",_preferred:"h"},kn_IN:{_allowed:"hB h H",_preferred:"h"},ml_IN:{_allowed:"hB h H",_preferred:"h"},te_IN:{_allowed:"hB h H",_preferred:"h"},KH:{_allowed:"hB h H hb",_preferred:"h"},ta_IN:{_allowed:"hB h hb H",_preferred:"h"},BN:{_allowed:"hb hB h H",_preferred:"h"},MY:{_allowed:"hb hB h H",_preferred:"h"},CN:{_allowed:"hB hb h H",_preferred:"h"},ET:{_allowed:"hB hb h H",_preferred:"h"},gu_IN:{_allowed:"hB hb h H",_preferred:"h"},HK:{_allowed:"hB hb h H",_preferred:"h"},MO:{_allowed:"hB hb h H",_preferred:"h"},mr_IN:{_allowed:"hB hb h H",_preferred:"h"},pa_IN:{_allowed:"hB hb h H",_preferred:"h"},TW:{_allowed:"hB hb h H",_preferred:"h"},KE:{_allowed:"hB hb H h",_preferred:"H"},MM:{_allowed:"hB hb H h",_preferred:"H"},TZ:{_allowed:"hB hb H h",_preferred:"H"},UG:{_allowed:"hB hb H h",_preferred:"H"}},weekData:{minDays:{"001":"1",AD:"4",AN:"4",AT:"4",AX:"4",BE:"4",BG:"4",CH:"4",CZ:"4",DE:"4",DK:"4",EE:"4",ES:"4",FI:"4",FJ:"4",FO:"4",FR:"4",GB:"4",GF:"4",GG:"4",GI:"4",GP:"4",GR:"4",GU:"1",HU:"4",IE:"4",IM:"4",IS:"4",IT:"4",JE:"4",LI:"4",LT:"4",LU:"4",MC:"4",MQ:"4",NL:"4",NO:"4",PL:"4",PT:"4",RE:"4",RU:"4",SE:"4",SJ:"4",SK:"4",SM:"4",UM:"1",US:"1",VA:"4",VI:"1"},firstDay:{"001":"mon",AD:"mon",AE:"sat",AF:"sat",AG:"sun",AI:"mon",AL:"mon",AM:"mon",AN:"mon",AR:"mon",AS:"sun",AT:"mon",AU:"sun",AX:"mon",AZ:"mon",BA:"mon",BD:"sun",BE:"mon",BG:"mon",BH:"sat",BM:"mon",BN:"mon",BR:"sun",BS:"sun",BT:"sun",BW:"sun",BY:"mon",BZ:"sun",CA:"sun",CH:"mon",CL:"mon",CM:"mon",CN:"sun",CO:"sun",CR:"mon",CY:"mon",CZ:"mon",DE:"mon",DJ:"sat",DK:"mon",DM:"sun",DO:"sun",DZ:"sat",EC:"mon",EE:"mon",EG:"sat",ES:"mon",ET:"sun",FI:"mon",FJ:"mon",FO:"mon",FR:"mon",GB:"mon","GB-alt-variant":"sun",GE:"mon",GF:"mon",GP:"mon",GR:"mon",GT:"sun",GU:"sun",HK:"sun",HN:"sun",HR:"mon",HU:"mon",ID:"sun",IE:"mon",IL:"sun",IN:"sun",IQ:"sat",IR:"sat",IS:"mon",IT:"mon",JM:"sun",JO:"sat",JP:"sun",KE:"sun",KG:"mon",KH:"sun",KR:"sun",KW:"sat",KZ:"mon",LA:"sun",LB:"mon",LI:"mon",LK:"mon",LT:"mon",LU:"mon",LV:"mon",LY:"sat",MC:"mon",MD:"mon",ME:"mon",MH:"sun",MK:"mon",MM:"sun",MN:"mon",MO:"sun",MQ:"mon",MT:"sun",MV:"fri",MX:"sun",MY:"mon",MZ:"sun",NI:"sun",NL:"mon",NO:"mon",NP:"sun",NZ:"mon",OM:"sat",PA:"sun",PE:"sun",PH:"sun",PK:"sun",PL:"mon",PR:"sun",PT:"sun",PY:"sun",QA:"sat",RE:"mon",RO:"mon",RS:"mon",RU:"mon",SA:"sun",SD:"sat",SE:"mon",SG:"sun",SI:"mon",SK:"mon",SM:"mon",SV:"sun",SY:"sat",TH:"sun",TJ:"mon",TM:"mon",TR:"mon",TT:"sun",TW:"sun",UA:"mon",UM:"sun",US:"sun",UY:"mon",UZ:"mon",VA:"mon",VE:"sun",VI:"sun",VN:"mon",WS:"sun",XK:"mon",YE:"sun",ZA:"sun",ZW:"sun"},weekendStart:{"001":"sat",AE:"fri",AF:"thu",BH:"fri",DZ:"fri",EG:"fri",IL:"fri",IN:"sun",IQ:"fri",IR:"fri",JO:"fri",KW:"fri",LY:"fri",OM:"fri",QA:"fri",SA:"fri",SD:"fri",SY:"fri",UG:"sun",YE:"fri"},weekendEnd:{"001":"sun",AE:"sat",AF:"fri",BH:"sat",DZ:"sat",EG:"sat",IL:"sat",IQ:"sat",IR:"fri",JO:"sat",KW:"sat",LY:"sat",OM:"sat",QA:"sat",SA:"sat",SD:"sat",SY:"sat",YE:"sat"},af:{_ordering:"weekOfDate weekOfInterval weekOfMonth"},"am az bs cs cy da el et hi ky lt mk sk ta th":{_ordering:"weekOfYear weekOfMonth"},"ar fil gu hu hy id kk ko":{_ordering:"weekOfMonth"},"be ro ru":{_ordering:"weekOfInterval weekOfMonth"},"bg de iw pt ur zh":{_ordering:"weekOfDate weekOfMonth weekOfInterval"},"ca es fr gl":{_ordering:"weekOfDate"},"en bn ja ka":{_ordering:"weekOfDate weekOfMonth"},eu:{_ordering:"weekOfMonth weekOfDate"},"fa hr it lv pl si sr uk uz":{_ordering:"weekOfMonth weekOfInterval"},"fi zh-TW":{_ordering:"weekOfYear weekOfDate weekOfMonth"},"is mn no sv vi":{_ordering:"weekOfYear weekOfMonth weekOfInterval"},"km mr":{_ordering:"weekOfMonth weekOfYear"},"kn ml pa":{_ordering:"weekOfMonth weekOfDate weekOfYear"},"lo sq":{_ordering:"weekOfMonth weekOfInterval weekOfDate weekOfYear"},"ms tr":{_ordering:"weekOfMonth weekOfYear weekOfInterval weekOfDate"},nl:{_ordering:"weekOfDate weekOfYear weekOfMonth"},sl:{_ordering:"weekOfInterval"},"sw te":{_ordering:"weekOfMonth weekOfInterval weekOfYear"},und:{_ordering:"weekOfYear"},zu:{_ordering:"weekOfYear weekOfInterval"}},currencyData:{fractions:{ADP:{_rounding:"0",_digits:"0"},AFN:{_rounding:"0",_digits:"0"},ALL:{_rounding:"0",_digits:"0"},AMD:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},BHD:{_rounding:"0",_digits:"3"},BIF:{_rounding:"0",_digits:"0"},BYN:{_rounding:"0",_digits:"2"},BYR:{_rounding:"0",_digits:"0"},CAD:{_rounding:"0",_digits:"2",_cashRounding:"5"},CHF:{_rounding:"0",_digits:"2",_cashRounding:"5"},CLF:{_rounding:"0",_digits:"4"},CLP:{_rounding:"0",_digits:"0"},COP:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},CRC:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},CZK:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},DEFAULT:{_rounding:"0",_digits:"2"},DJF:{_rounding:"0",_digits:"0"},DKK:{_rounding:"0",_digits:"2",_cashRounding:"50"},ESP:{_rounding:"0",_digits:"0"},GNF:{_rounding:"0",_digits:"0"},GYD:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},HUF:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},IDR:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},IQD:{_rounding:"0",_digits:"0"},IRR:{_rounding:"0",_digits:"0"},ISK:{_rounding:"0",_digits:"0"},ITL:{_rounding:"0",_digits:"0"},JOD:{_rounding:"0",_digits:"3"},JPY:{_rounding:"0",_digits:"0"},KMF:{_rounding:"0",_digits:"0"},KPW:{_rounding:"0",_digits:"0"},KRW:{_rounding:"0",_digits:"0"},KWD:{_rounding:"0",_digits:"3"},LAK:{_rounding:"0",_digits:"0"},LBP:{_rounding:"0",_digits:"0"},LUF:{_rounding:"0",_digits:"0"},LYD:{_rounding:"0",_digits:"3"},MGA:{_rounding:"0",_digits:"0"},MGF:{_rounding:"0",_digits:"0"},MMK:{_rounding:"0",_digits:"0"},MNT:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},MRO:{_rounding:"0",_digits:"0"},MUR:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},NOK:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},OMR:{_rounding:"0",_digits:"3"},PKR:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},PYG:{_rounding:"0",_digits:"0"},RSD:{_rounding:"0",_digits:"0"},RWF:{_rounding:"0",_digits:"0"},SEK:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},SLL:{_rounding:"0",_digits:"0"},SOS:{_rounding:"0",_digits:"0"},STD:{_rounding:"0",_digits:"0"},SYP:{_rounding:"0",_digits:"0"},TMM:{_rounding:"0",_digits:"0"},TND:{_rounding:"0",_digits:"3"},TRL:{_rounding:"0",_digits:"0"},TWD:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},TZS:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},UGX:{_rounding:"0",_digits:"0"},UYI:{_rounding:"0",_digits:"0"},UYW:{_rounding:"0",_digits:"4"},UZS:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},VEF:{_rounding:"0",_digits:"2",_cashRounding:"0",_cashDigits:"0"},VND:{_rounding:"0",_digits:"0"},VUV:{_rounding:"0",_digits:"0"},XAF:{_rounding:"0",_digits:"0"},XOF:{_rounding:"0",_digits:"0"},XPF:{_rounding:"0",_digits:"0"},YER:{_rounding:"0",_digits:"0"},ZMK:{_rounding:"0",_digits:"0"},ZWD:{_rounding:"0",_digits:"0"}},region:{AC:[{SHP:{_from:"1976-01-01"}}],AD:[{ESP:{_from:"1873-01-01",_to:"2002-02-28"}},{ADP:{_from:"1936-01-01",_to:"2001-12-31"}},{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],AE:[{AED:{_from:"1973-05-19"}}],AF:[{AFA:{_from:"1927-03-14",_to:"2002-12-31"}},{AFN:{_from:"2002-10-07"}}],AG:[{XCD:{_from:"1965-10-06"}}],AI:[{XCD:{_from:"1965-10-06"}}],AL:[{ALK:{_from:"1946-11-01",_to:"1965-08-16"}},{ALL:{_from:"1965-08-16"}}],AM:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1993-11-22"}},{AMD:{_from:"1993-11-22"}}],AO:[{AOK:{_from:"1977-01-08",_to:"1991-03-01"}},{AON:{_from:"1990-09-25",_to:"2000-02-01"}},{AOR:{_from:"1995-07-01",_to:"2000-02-01"}},{AOA:{_from:"1999-12-13"}}],AQ:[{XXX:{_tender:"false"}}],AR:[{ARM:{_from:"1881-11-05",_to:"1970-01-01"}},{ARL:{_from:"1970-01-01",_to:"1983-06-01"}},{ARP:{_from:"1983-06-01",_to:"1985-06-14"}},{ARA:{_from:"1985-06-14",_to:"1992-01-01"}},{ARS:{_from:"1992-01-01"}}],AS:[{USD:{_from:"1904-07-16"}}],AT:[{ATS:{_from:"1947-12-04",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],AU:[{AUD:{_from:"1966-02-14"}}],AW:[{ANG:{_from:"1940-05-10",_to:"1986-01-01"}},{AWG:{_from:"1986-01-01"}}],AX:[{EUR:{_from:"1999-01-01"}}],AZ:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1994-01-01"}},{AZM:{_from:"1993-11-22",_to:"2006-12-31"}},{AZN:{_from:"2006-01-01"}}],BA:[{YUD:{_from:"1966-01-01",_to:"1990-01-01"}},{YUN:{_from:"1990-01-01",_to:"1992-07-01"}},{YUR:{_from:"1992-07-01",_to:"1993-10-01"}},{BAD:{_from:"1992-07-01",_to:"1994-08-15"}},{BAN:{_from:"1994-08-15",_to:"1997-07-01"}},{BAM:{_from:"1995-01-01"}}],BB:[{XCD:{_from:"1965-10-06",_to:"1973-12-03"}},{BBD:{_from:"1973-12-03"}}],BD:[{INR:{_from:"1835-08-17",_to:"1948-04-01"}},{PKR:{_from:"1948-04-01",_to:"1972-01-01"}},{BDT:{_from:"1972-01-01"}}],BE:[{NLG:{_from:"1816-12-15",_to:"1831-02-07"}},{BEF:{_from:"1831-02-07",_to:"2002-02-28"}},{BEC:{_tender:"false",_from:"1970-01-01",_to:"1990-03-05"}},{BEL:{_tender:"false",_from:"1970-01-01",_to:"1990-03-05"}},{EUR:{_from:"1999-01-01"}}],BF:[{XOF:{_from:"1984-08-04"}}],BG:[{BGO:{_from:"1879-07-08",_to:"1952-05-12"}},{BGM:{_from:"1952-05-12",_to:"1962-01-01"}},{BGL:{_from:"1962-01-01",_to:"1999-07-05"}},{BGN:{_from:"1999-07-05"}}],BH:[{BHD:{_from:"1965-10-16"}}],BI:[{BIF:{_from:"1964-05-19"}}],BJ:[{XOF:{_from:"1975-11-30"}}],BL:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],BM:[{BMD:{_from:"1970-02-06"}}],BN:[{MYR:{_from:"1963-09-16",_to:"1967-06-12"}},{BND:{_from:"1967-06-12"}}],BO:[{BOV:{_tender:"false"}},{BOL:{_from:"1863-06-23",_to:"1963-01-01"}},{BOP:{_from:"1963-01-01",_to:"1986-12-31"}},{BOB:{_from:"1987-01-01"}}],BQ:[{ANG:{_from:"2010-10-10",_to:"2011-01-01"}},{USD:{_from:"2011-01-01"}}],BR:[{BRZ:{_from:"1942-11-01",_to:"1967-02-13"}},{BRB:{_from:"1967-02-13",_to:"1986-02-28"}},{BRC:{_from:"1986-02-28",_to:"1989-01-15"}},{BRN:{_from:"1989-01-15",_to:"1990-03-16"}},{BRE:{_from:"1990-03-16",_to:"1993-08-01"}},{BRR:{_from:"1993-08-01",_to:"1994-07-01"}},{BRL:{_from:"1994-07-01"}}],BS:[{BSD:{_from:"1966-05-25"}}],BT:[{INR:{_from:"1907-01-01"}},{BTN:{_from:"1974-04-16"}}],BU:[{BUK:{_from:"1952-07-01",_to:"1989-06-18"}}],BV:[{NOK:{_from:"1905-06-07"}}],BW:[{ZAR:{_from:"1961-02-14",_to:"1976-08-23"}},{BWP:{_from:"1976-08-23"}}],BY:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1994-11-08"}},{BYB:{_from:"1994-08-01",_to:"2000-12-31"}},{BYR:{_from:"2000-01-01",_to:"2017-01-01"}},{BYN:{_from:"2016-07-01"}}],BZ:[{BZD:{_from:"1974-01-01"}}],CA:[{CAD:{_from:"1858-01-01"}}],CC:[{AUD:{_from:"1966-02-14"}}],CD:[{ZRZ:{_from:"1971-10-27",_to:"1993-11-01"}},{ZRN:{_from:"1993-11-01",_to:"1998-07-01"}},{CDF:{_from:"1998-07-01"}}],CF:[{XAF:{_from:"1993-01-01"}}],CG:[{XAF:{_from:"1993-01-01"}}],CH:[{CHE:{_tender:"false"}},{CHW:{_tender:"false"}},{CHF:{_from:"1799-03-17"}}],CI:[{XOF:{_from:"1958-12-04"}}],CK:[{NZD:{_from:"1967-07-10"}}],CL:[{CLF:{_tender:"false"}},{CLE:{_from:"1960-01-01",_to:"1975-09-29"}},{CLP:{_from:"1975-09-29"}}],CM:[{XAF:{_from:"1973-04-01"}}],CN:[{CNY:{_from:"1953-03-01"}},{CNX:{_tender:"false",_from:"1979-01-01",_to:"1998-12-31"}},{CNH:{_tender:"false",_from:"2010-07-19"}}],CO:[{COU:{_tender:"false"}},{COP:{_from:"1905-01-01"}}],CP:[{XXX:{_tender:"false"}}],CR:[{CRC:{_from:"1896-10-26"}}],CS:[{YUM:{_from:"1994-01-24",_to:"2002-05-15"}},{CSD:{_from:"2002-05-15",_to:"2006-06-03"}},{EUR:{_from:"2003-02-04",_to:"2006-06-03"}}],CU:[{CUP:{_from:"1859-01-01"}},{USD:{_from:"1899-01-01",_to:"1959-01-01"}},{CUC:{_from:"1994-01-01"}}],CV:[{PTE:{_from:"1911-05-22",_to:"1975-07-05"}},{CVE:{_from:"1914-01-01"}}],CW:[{ANG:{_from:"2010-10-10"}}],CX:[{AUD:{_from:"1966-02-14"}}],CY:[{CYP:{_from:"1914-09-10",_to:"2008-01-31"}},{EUR:{_from:"2008-01-01"}}],CZ:[{CSK:{_from:"1953-06-01",_to:"1993-03-01"}},{CZK:{_from:"1993-01-01"}}],DD:[{DDM:{_from:"1948-07-20",_to:"1990-10-02"}}],DE:[{DEM:{_from:"1948-06-20",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],DG:[{USD:{_from:"1965-11-08"}}],DJ:[{DJF:{_from:"1977-06-27"}}],DK:[{DKK:{_from:"1873-05-27"}}],DM:[{XCD:{_from:"1965-10-06"}}],DO:[{USD:{_from:"1905-06-21",_to:"1947-10-01"}},{DOP:{_from:"1947-10-01"}}],DZ:[{DZD:{_from:"1964-04-01"}}],EA:[{EUR:{_from:"1999-01-01"}}],EC:[{ECS:{_from:"1884-04-01",_to:"2000-10-02"}},{ECV:{_tender:"false",_from:"1993-05-23",_to:"2000-01-09"}},{USD:{_from:"2000-10-02"}}],EE:[{SUR:{_from:"1961-01-01",_to:"1992-06-20"}},{EEK:{_from:"1992-06-21",_to:"2010-12-31"}},{EUR:{_from:"2011-01-01"}}],EG:[{EGP:{_from:"1885-11-14"}}],EH:[{MAD:{_from:"1976-02-26"}}],ER:[{ETB:{_from:"1993-05-24",_to:"1997-11-08"}},{ERN:{_from:"1997-11-08"}}],ES:[{ESP:{_from:"1868-10-19",_to:"2002-02-28"}},{ESB:{_tender:"false",_from:"1975-01-01",_to:"1994-12-31"}},{ESA:{_tender:"false",_from:"1978-01-01",_to:"1981-12-31"}},{EUR:{_from:"1999-01-01"}}],ET:[{ETB:{_from:"1976-09-15"}}],EU:[{XEU:{_tender:"false",_from:"1979-01-01",_to:"1998-12-31"}},{EUR:{_from:"1999-01-01"}}],FI:[{FIM:{_from:"1963-01-01",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],FJ:[{FJD:{_from:"1969-01-13"}}],FK:[{FKP:{_from:"1901-01-01"}}],FM:[{JPY:{_from:"1914-10-03",_to:"1944-01-01"}},{USD:{_from:"1944-01-01"}}],FO:[{DKK:{_from:"1948-01-01"}}],FR:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],GA:[{XAF:{_from:"1993-01-01"}}],GB:[{GBP:{_from:"1694-07-27"}}],GD:[{XCD:{_from:"1967-02-27"}}],GE:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1993-06-11"}},{GEK:{_from:"1993-04-05",_to:"1995-09-25"}},{GEL:{_from:"1995-09-23"}}],GF:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],GG:[{GBP:{_from:"1830-01-01"}}],GH:[{GHC:{_from:"1979-03-09",_to:"2007-12-31"}},{GHS:{_from:"2007-07-03"}}],GI:[{GIP:{_from:"1713-01-01"}}],GL:[{DKK:{_from:"1873-05-27"}}],GM:[{GMD:{_from:"1971-07-01"}}],GN:[{GNS:{_from:"1972-10-02",_to:"1986-01-06"}},{GNF:{_from:"1986-01-06"}}],GP:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],GQ:[{GQE:{_from:"1975-07-07",_to:"1986-06-01"}},{XAF:{_from:"1993-01-01"}}],GR:[{GRD:{_from:"1954-05-01",_to:"2002-02-28"}},{EUR:{_from:"2001-01-01"}}],GS:[{GBP:{_from:"1908-01-01"}}],GT:[{GTQ:{_from:"1925-05-27"}}],GU:[{USD:{_from:"1944-08-21"}}],GW:[{GWE:{_from:"1914-01-01",_to:"1976-02-28"}},{GWP:{_from:"1976-02-28",_to:"1997-03-31"}},{XOF:{_from:"1997-03-31"}}],GY:[{GYD:{_from:"1966-05-26"}}],HK:[{HKD:{_from:"1895-02-02"}}],HM:[{AUD:{_from:"1967-02-16"}}],HN:[{HNL:{_from:"1926-04-03"}}],HR:[{YUD:{_from:"1966-01-01",_to:"1990-01-01"}},{YUN:{_from:"1990-01-01",_to:"1991-12-23"}},{HRD:{_from:"1991-12-23",_to:"1995-01-01"}},{HRK:{_from:"1994-05-30"}}],HT:[{HTG:{_from:"1872-08-26"}},{USD:{_from:"1915-01-01"}}],HU:[{HUF:{_from:"1946-07-23"}}],IC:[{EUR:{_from:"1999-01-01"}}],ID:[{IDR:{_from:"1965-12-13"}}],IE:[{GBP:{_from:"1800-01-01",_to:"1922-01-01"}},{IEP:{_from:"1922-01-01",_to:"2002-02-09"}},{EUR:{_from:"1999-01-01"}}],IL:[{ILP:{_from:"1948-08-16",_to:"1980-02-22"}},{ILR:{_from:"1980-02-22",_to:"1985-09-04"}},{ILS:{_from:"1985-09-04"}}],IM:[{GBP:{_from:"1840-01-03"}}],IN:[{INR:{_from:"1835-08-17"}}],IO:[{USD:{_from:"1965-11-08"}}],IQ:[{EGP:{_from:"1920-11-11",_to:"1931-04-19"}},{INR:{_from:"1920-11-11",_to:"1931-04-19"}},{IQD:{_from:"1931-04-19"}}],IR:[{IRR:{_from:"1932-05-13"}}],IS:[{DKK:{_from:"1873-05-27",_to:"1918-12-01"}},{ISJ:{_from:"1918-12-01",_to:"1981-01-01"}},{ISK:{_from:"1981-01-01"}}],IT:[{ITL:{_from:"1862-08-24",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],JE:[{GBP:{_from:"1837-01-01"}}],JM:[{JMD:{_from:"1969-09-08"}}],JO:[{JOD:{_from:"1950-07-01"}}],JP:[{JPY:{_from:"1871-06-01"}}],KE:[{KES:{_from:"1966-09-14"}}],KG:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1993-05-10"}},{KGS:{_from:"1993-05-10"}}],KH:[{KHR:{_from:"1980-03-20"}}],KI:[{AUD:{_from:"1966-02-14"}}],KM:[{KMF:{_from:"1975-07-06"}}],KN:[{XCD:{_from:"1965-10-06"}}],KP:[{KPW:{_from:"1959-04-17"}}],KR:[{KRO:{_from:"1945-08-15",_to:"1953-02-15"}},{KRH:{_from:"1953-02-15",_to:"1962-06-10"}},{KRW:{_from:"1962-06-10"}}],KW:[{KWD:{_from:"1961-04-01"}}],KY:[{JMD:{_from:"1969-09-08",_to:"1971-01-01"}},{KYD:{_from:"1971-01-01"}}],KZ:[{KZT:{_from:"1993-11-05"}}],LA:[{LAK:{_from:"1979-12-10"}}],LB:[{LBP:{_from:"1948-02-02"}}],LC:[{XCD:{_from:"1965-10-06"}}],LI:[{CHF:{_from:"1921-02-01"}}],LK:[{LKR:{_from:"1978-05-22"}}],LR:[{LRD:{_from:"1944-01-01"}}],LS:[{ZAR:{_from:"1961-02-14"}},{LSL:{_from:"1980-01-22"}}],LT:[{SUR:{_from:"1961-01-01",_to:"1992-10-01"}},{LTT:{_from:"1992-10-01",_to:"1993-06-25"}},{LTL:{_from:"1993-06-25",_to:"2014-12-31"}},{EUR:{_from:"2015-01-01"}}],LU:[{LUF:{_from:"1944-09-04",_to:"2002-02-28"}},{LUC:{_tender:"false",_from:"1970-01-01",_to:"1990-03-05"}},{LUL:{_tender:"false",_from:"1970-01-01",_to:"1990-03-05"}},{EUR:{_from:"1999-01-01"}}],LV:[{SUR:{_from:"1961-01-01",_to:"1992-07-20"}},{LVR:{_from:"1992-05-07",_to:"1993-10-17"}},{LVL:{_from:"1993-06-28",_to:"2013-12-31"}},{EUR:{_from:"2014-01-01"}}],LY:[{LYD:{_from:"1971-09-01"}}],MA:[{MAF:{_from:"1881-01-01",_to:"1959-10-17"}},{MAD:{_from:"1959-10-17"}}],MC:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{MCF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],MD:[{MDC:{_from:"1992-06-01",_to:"1993-11-29"}},{MDL:{_from:"1993-11-29"}}],ME:[{YUM:{_from:"1994-01-24",_to:"2002-05-15"}},{DEM:{_from:"1999-10-02",_to:"2002-05-15"}},{EUR:{_from:"2002-01-01"}}],MF:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],MG:[{MGF:{_from:"1963-07-01",_to:"2004-12-31"}},{MGA:{_from:"1983-11-01"}}],MH:[{USD:{_from:"1944-01-01"}}],MK:[{MKN:{_from:"1992-04-26",_to:"1993-05-20"}},{MKD:{_from:"1993-05-20"}}],ML:[{XOF:{_from:"1958-11-24",_to:"1962-07-02"}},{MLF:{_from:"1962-07-02",_to:"1984-08-31"}},{XOF:{_from:"1984-06-01"}}],MM:[{BUK:{_from:"1952-07-01",_to:"1989-06-18"}},{MMK:{_from:"1989-06-18"}}],MN:[{MNT:{_from:"1915-03-01"}}],MO:[{MOP:{_from:"1901-01-01"}}],MP:[{USD:{_from:"1944-01-01"}}],MQ:[{FRF:{_from:"1960-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],MR:[{XOF:{_from:"1958-11-28",_to:"1973-06-29"}},{MRO:{_from:"1973-06-29",_to:"2018-06-30"}},{MRU:{_from:"2018-01-01"}}],MS:[{XCD:{_from:"1967-02-27"}}],MT:[{MTP:{_from:"1914-08-13",_to:"1968-06-07"}},{MTL:{_from:"1968-06-07",_to:"2008-01-31"}},{EUR:{_from:"2008-01-01"}}],MU:[{MUR:{_from:"1934-04-01"}}],MV:[{MVP:{_from:"1947-01-01",_to:"1981-07-01"}},{MVR:{_from:"1981-07-01"}}],MW:[{MWK:{_from:"1971-02-15"}}],MX:[{MXV:{_tender:"false"}},{MXP:{_from:"1822-01-01",_to:"1992-12-31"}},{MXN:{_from:"1993-01-01"}}],MY:[{MYR:{_from:"1963-09-16"}}],MZ:[{MZE:{_from:"1975-06-25",_to:"1980-06-16"}},{MZM:{_from:"1980-06-16",_to:"2006-12-31"}},{MZN:{_from:"2006-07-01"}}],NA:[{ZAR:{_from:"1961-02-14"}},{NAD:{_from:"1993-01-01"}}],NC:[{XPF:{_from:"1985-01-01"}}],NE:[{XOF:{_from:"1958-12-19"}}],NF:[{AUD:{_from:"1966-02-14"}}],NG:[{NGN:{_from:"1973-01-01"}}],NI:[{NIC:{_from:"1988-02-15",_to:"1991-04-30"}},{NIO:{_from:"1991-04-30"}}],NL:[{NLG:{_from:"1813-01-01",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],NO:[{SEK:{_from:"1873-05-27",_to:"1905-06-07"}},{NOK:{_from:"1905-06-07"}}],NP:[{INR:{_from:"1870-01-01",_to:"1966-10-17"}},{NPR:{_from:"1933-01-01"}}],NR:[{AUD:{_from:"1966-02-14"}}],NU:[{NZD:{_from:"1967-07-10"}}],NZ:[{NZD:{_from:"1967-07-10"}}],OM:[{OMR:{_from:"1972-11-11"}}],PA:[{PAB:{_from:"1903-11-04"}},{USD:{_from:"1903-11-18"}}],PE:[{PES:{_from:"1863-02-14",_to:"1985-02-01"}},{PEI:{_from:"1985-02-01",_to:"1991-07-01"}},{PEN:{_from:"1991-07-01"}}],PF:[{XPF:{_from:"1945-12-26"}}],PG:[{AUD:{_from:"1966-02-14",_to:"1975-09-16"}},{PGK:{_from:"1975-09-16"}}],PH:[{PHP:{_from:"1946-07-04"}}],PK:[{INR:{_from:"1835-08-17",_to:"1947-08-15"}},{PKR:{_from:"1948-04-01"}}],PL:[{PLZ:{_from:"1950-10-28",_to:"1994-12-31"}},{PLN:{_from:"1995-01-01"}}],PM:[{FRF:{_from:"1972-12-21",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],PN:[{NZD:{_from:"1969-01-13"}}],PR:[{ESP:{_from:"1800-01-01",_to:"1898-12-10"}},{USD:{_from:"1898-12-10"}}],PS:[{JOD:{_from:"1950-07-01",_to:"1967-06-01"}},{ILP:{_from:"1967-06-01",_to:"1980-02-22"}},{ILS:{_from:"1985-09-04"}},{JOD:{_from:"1996-02-12"}}],PT:[{PTE:{_from:"1911-05-22",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],PW:[{USD:{_from:"1944-01-01"}}],PY:[{PYG:{_from:"1943-11-01"}}],QA:[{QAR:{_from:"1973-05-19"}}],RE:[{FRF:{_from:"1975-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],RO:[{ROL:{_from:"1952-01-28",_to:"2006-12-31"}},{RON:{_from:"2005-07-01"}}],RS:[{YUM:{_from:"1994-01-24",_to:"2002-05-15"}},{CSD:{_from:"2002-05-15",_to:"2006-10-25"}},{RSD:{_from:"2006-10-25"}}],RU:[{RUR:{_from:"1991-12-25",_to:"1998-12-31"}},{RUB:{_from:"1999-01-01"}}],RW:[{RWF:{_from:"1964-05-19"}}],SA:[{SAR:{_from:"1952-10-22"}}],SB:[{AUD:{_from:"1966-02-14",_to:"1978-06-30"}},{SBD:{_from:"1977-10-24"}}],SC:[{SCR:{_from:"1903-11-01"}}],SD:[{EGP:{_from:"1889-01-19",_to:"1958-01-01"}},{GBP:{_from:"1889-01-19",_to:"1958-01-01"}},{SDP:{_from:"1957-04-08",_to:"1998-06-01"}},{SDD:{_from:"1992-06-08",_to:"2007-06-30"}},{SDG:{_from:"2007-01-10"}}],SE:[{SEK:{_from:"1873-05-27"}}],SG:[{MYR:{_from:"1963-09-16",_to:"1967-06-12"}},{SGD:{_from:"1967-06-12"}}],SH:[{SHP:{_from:"1917-02-15"}}],SI:[{SIT:{_from:"1992-10-07",_to:"2007-01-14"}},{EUR:{_from:"2007-01-01"}}],SJ:[{NOK:{_from:"1905-06-07"}}],SK:[{CSK:{_from:"1953-06-01",_to:"1992-12-31"}},{SKK:{_from:"1992-12-31",_to:"2009-01-01"}},{EUR:{_from:"2009-01-01"}}],SL:[{GBP:{_from:"1808-11-30",_to:"1966-02-04"}},{SLL:{_from:"1964-08-04"}}],SM:[{ITL:{_from:"1865-12-23",_to:"2001-02-28"}},{EUR:{_from:"1999-01-01"}}],SN:[{XOF:{_from:"1959-04-04"}}],SO:[{SOS:{_from:"1960-07-01"}}],SR:[{NLG:{_from:"1815-11-20",_to:"1940-05-10"}},{SRG:{_from:"1940-05-10",_to:"2003-12-31"}},{SRD:{_from:"2004-01-01"}}],SS:[{SDG:{_from:"2007-01-10",_to:"2011-09-01"}},{SSP:{_from:"2011-07-18"}}],ST:[{STD:{_from:"1977-09-08",_to:"2017-12-31"}},{STN:{_from:"2018-01-01"}}],SU:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}}],SV:[{SVC:{_from:"1919-11-11",_to:"2001-01-01"}},{USD:{_from:"2001-01-01"}}],SX:[{ANG:{_from:"2010-10-10"}}],SY:[{SYP:{_from:"1948-01-01"}}],SZ:[{SZL:{_from:"1974-09-06"}}],TA:[{GBP:{_from:"1938-01-12"}}],TC:[{USD:{_from:"1969-09-08"}}],TD:[{XAF:{_from:"1993-01-01"}}],TF:[{FRF:{_from:"1959-01-01",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],TG:[{XOF:{_from:"1958-11-28"}}],TH:[{THB:{_from:"1928-04-15"}}],TJ:[{RUR:{_from:"1991-12-25",_to:"1995-05-10"}},{TJR:{_from:"1995-05-10",_to:"2000-10-25"}},{TJS:{_from:"2000-10-26"}}],TK:[{NZD:{_from:"1967-07-10"}}],TL:[{TPE:{_from:"1959-01-02",_to:"2002-05-20"}},{IDR:{_from:"1975-12-07",_to:"2002-05-20"}},{USD:{_from:"1999-10-20"}}],TM:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1993-11-01"}},{TMM:{_from:"1993-11-01",_to:"2009-01-01"}},{TMT:{_from:"2009-01-01"}}],TN:[{TND:{_from:"1958-11-01"}}],TO:[{TOP:{_from:"1966-02-14"}}],TP:[{TPE:{_from:"1959-01-02",_to:"2002-05-20"}},{IDR:{_from:"1975-12-07",_to:"2002-05-20"}}],TR:[{TRL:{_from:"1922-11-01",_to:"2005-12-31"}},{TRY:{_from:"2005-01-01"}}],TT:[{TTD:{_from:"1964-01-01"}}],TV:[{AUD:{_from:"1966-02-14"}}],TW:[{TWD:{_from:"1949-06-15"}}],TZ:[{TZS:{_from:"1966-06-14"}}],UA:[{SUR:{_from:"1961-01-01",_to:"1991-12-25"}},{RUR:{_from:"1991-12-25",_to:"1992-11-13"}},{UAK:{_from:"1992-11-13",_to:"1993-10-17"}},{UAH:{_from:"1996-09-02"}}],UG:[{UGS:{_from:"1966-08-15",_to:"1987-05-15"}},{UGX:{_from:"1987-05-15"}}],UM:[{USD:{_from:"1944-01-01"}}],US:[{USN:{_tender:"false"}},{USS:{_tender:"false",_to:"2014-03-01"}},{USD:{_from:"1792-01-01"}}],UY:[{UYI:{_tender:"false"}},{UYW:{_tender:"false"}},{UYP:{_from:"1975-07-01",_to:"1993-03-01"}},{UYU:{_from:"1993-03-01"}}],UZ:[{UZS:{_from:"1994-07-01"}}],VA:[{ITL:{_from:"1870-10-19",_to:"2002-02-28"}},{EUR:{_from:"1999-01-01"}}],VC:[{XCD:{_from:"1965-10-06"}}],VE:[{VEB:{_from:"1871-05-11",_to:"2008-06-30"}},{VEF:{_from:"2008-01-01",_to:"2018-08-20"}},{VES:{_from:"2018-08-20"}}],VG:[{USD:{_from:"1833-01-01"}},{GBP:{_from:"1833-01-01",_to:"1959-01-01"}}],VI:[{USD:{_from:"1837-01-01"}}],VN:[{VNN:{_from:"1978-05-03",_to:"1985-09-14"}},{VND:{_from:"1985-09-14"}}],VU:[{VUV:{_from:"1981-01-01"}}],WF:[{XPF:{_from:"1961-07-30"}}],WS:[{WST:{_from:"1967-07-10"}}],XK:[{YUM:{_from:"1994-01-24",_to:"1999-09-30"}},{DEM:{_from:"1999-09-01",_to:"2002-03-09"}},{EUR:{_from:"2002-01-01"}}],YD:[{YDD:{_from:"1965-04-01",_to:"1996-01-01"}}],YE:[{YER:{_from:"1990-05-22"}}],YT:[{KMF:{_from:"1975-01-01",_to:"1976-02-23"}},{FRF:{_from:"1976-02-23",_to:"2002-02-17"}},{EUR:{_from:"1999-01-01"}}],YU:[{YUD:{_from:"1966-01-01",_to:"1990-01-01"}},{YUN:{_from:"1990-01-01",_to:"1992-07-24"}},{YUM:{_from:"1994-01-24",_to:"2002-05-15"}}],ZA:[{ZAR:{_from:"1961-02-14"}},{ZAL:{_tender:"false",_from:"1985-09-01",_to:"1995-03-13"}}],ZM:[{ZMK:{_from:"1968-01-16",_to:"2013-01-01"}},{ZMW:{_from:"2013-01-01"}}],ZR:[{ZRZ:{_from:"1971-10-27",_to:"1993-11-01"}},{ZRN:{_from:"1993-11-01",_to:"1998-07-31"}}],ZW:[{RHD:{_from:"1970-02-17",_to:"1980-04-18"}},{ZWD:{_from:"1980-04-18",_to:"2008-08-01"}},{ZWR:{_from:"2008-08-01",_to:"2009-02-02"}},{ZWL:{_from:"2009-02-02",_to:"2009-04-12"}},{USD:{_from:"2009-04-12"}}],ZZ:[{XAG:{_tender:"false"}},{XAU:{_tender:"false"}},{XBA:{_tender:"false"}},{XBB:{_tender:"false"}},{XBC:{_tender:"false"}},{XBD:{_tender:"false"}},{XDR:{_tender:"false"}},{XPD:{_tender:"false"}},{XPT:{_tender:"false"}},{XSU:{_tender:"false"}},{XTS:{_tender:"false"}},{XUA:{_tender:"false"}},{XXX:{_tender:"false"}},{XRE:{_tender:"false",_to:"1999-11-30"}},{XFU:{_tender:"false",_to:"2013-11-30"}},{XFO:{_tender:"false",_from:"1930-01-01",_to:"2003-04-01"}}]}},numberingSystems:{adlm:{_digits:"\ud83a\udd50\ud83a\udd51\ud83a\udd52\ud83a\udd53\ud83a\udd54\ud83a\udd55\ud83a\udd56\ud83a\udd57\ud83a\udd58\ud83a\udd59",_type:"numeric"},ahom:{_digits:"\ud805\udf30\ud805\udf31\ud805\udf32\ud805\udf33\ud805\udf34\ud805\udf35\ud805\udf36\ud805\udf37\ud805\udf38\ud805\udf39",_type:"numeric"},arab:{_digits:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669",_type:"numeric"},arabext:{_digits:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9",_type:"numeric"},armn:{_rules:"armenian-upper",_type:"algorithmic"},armnlow:{_rules:"armenian-lower",_type:"algorithmic"},bali:{_digits:"\u1b50\u1b51\u1b52\u1b53\u1b54\u1b55\u1b56\u1b57\u1b58\u1b59",_type:"numeric"},beng:{_digits:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef",_type:"numeric"},bhks:{_digits:"\ud807\udc50\ud807\udc51\ud807\udc52\ud807\udc53\ud807\udc54\ud807\udc55\ud807\udc56\ud807\udc57\ud807\udc58\ud807\udc59",_type:"numeric"},brah:{_digits:"\ud804\udc66\ud804\udc67\ud804\udc68\ud804\udc69\ud804\udc6a\ud804\udc6b\ud804\udc6c\ud804\udc6d\ud804\udc6e\ud804\udc6f",_type:"numeric"},cakm:{_digits:"\ud804\udd36\ud804\udd37\ud804\udd38\ud804\udd39\ud804\udd3a\ud804\udd3b\ud804\udd3c\ud804\udd3d\ud804\udd3e\ud804\udd3f",_type:"numeric"},cham:{_digits:"\uaa50\uaa51\uaa52\uaa53\uaa54\uaa55\uaa56\uaa57\uaa58\uaa59",_type:"numeric"},cyrl:{_rules:"cyrillic-lower",_type:"algorithmic"},deva:{_digits:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f",_type:"numeric"},ethi:{_rules:"ethiopic",_type:"algorithmic"},fullwide:{_digits:"\uff10\uff11\uff12\uff13\uff14\uff15\uff16\uff17\uff18\uff19",_type:"numeric"},geor:{_rules:"georgian",_type:"algorithmic"},gong:{_digits:"\ud807\udda0\ud807\udda1\ud807\udda2\ud807\udda3\ud807\udda4\ud807\udda5\ud807\udda6\ud807\udda7\ud807\udda8\ud807\udda9",_type:"numeric"},gonm:{_digits:"\ud807\udd50\ud807\udd51\ud807\udd52\ud807\udd53\ud807\udd54\ud807\udd55\ud807\udd56\ud807\udd57\ud807\udd58\ud807\udd59",_type:"numeric"},grek:{_rules:"greek-upper",_type:"algorithmic"},greklow:{_rules:"greek-lower",_type:"algorithmic"},gujr:{_digits:"\u0ae6\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef",_type:"numeric"},guru:{_digits:"\u0a66\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f",_type:"numeric"},hanidays:{_rules:"zh/SpelloutRules/spellout-numbering-days",_type:"algorithmic"},hanidec:{_digits:"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",_type:"numeric"},hans:{_rules:"zh/SpelloutRules/spellout-cardinal",_type:"algorithmic"},hansfin:{_rules:"zh/SpelloutRules/spellout-cardinal-financial",_type:"algorithmic"},hant:{_rules:"zh_Hant/SpelloutRules/spellout-cardinal",_type:"algorithmic"},hantfin:{_rules:"zh_Hant/SpelloutRules/spellout-cardinal-financial",_type:"algorithmic"},hebr:{_rules:"hebrew",_type:"algorithmic"},hmng:{_digits:"\ud81a\udf50\ud81a\udf51\ud81a\udf52\ud81a\udf53\ud81a\udf54\ud81a\udf55\ud81a\udf56\ud81a\udf57\ud81a\udf58\ud81a\udf59",_type:"numeric"},hmnp:{_digits:"\ud838\udd40\ud838\udd41\ud838\udd42\ud838\udd43\ud838\udd44\ud838\udd45\ud838\udd46\ud838\udd47\ud838\udd48\ud838\udd49",_type:"numeric"},java:{_digits:"\ua9d0\ua9d1\ua9d2\ua9d3\ua9d4\ua9d5\ua9d6\ua9d7\ua9d8\ua9d9",_type:"numeric"},jpan:{_rules:"ja/SpelloutRules/spellout-cardinal",_type:"algorithmic"},jpanfin:{_rules:"ja/SpelloutRules/spellout-cardinal-financial",_type:"algorithmic"},jpanyear:{_rules:"ja/SpelloutRules/spellout-numbering-year-latn",_type:"algorithmic"},kali:{_digits:"\ua900\ua901\ua902\ua903\ua904\ua905\ua906\ua907\ua908\ua909",_type:"numeric"},khmr:{_digits:"\u17e0\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9",_type:"numeric"},knda:{_digits:"\u0ce6\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef",_type:"numeric"},lana:{_digits:"\u1a80\u1a81\u1a82\u1a83\u1a84\u1a85\u1a86\u1a87\u1a88\u1a89",_type:"numeric"},lanatham:{_digits:"\u1a90\u1a91\u1a92\u1a93\u1a94\u1a95\u1a96\u1a97\u1a98\u1a99",_type:"numeric"},laoo:{_digits:"\u0ed0\u0ed1\u0ed2\u0ed3\u0ed4\u0ed5\u0ed6\u0ed7\u0ed8\u0ed9",_type:"numeric"},latn:{_digits:"0123456789",_type:"numeric"},lepc:{_digits:"\u1c40\u1c41\u1c42\u1c43\u1c44\u1c45\u1c46\u1c47\u1c48\u1c49",_type:"numeric"},limb:{_digits:"\u1946\u1947\u1948\u1949\u194a\u194b\u194c\u194d\u194e\u194f",_type:"numeric"},mathbold:{_digits:"\ud835\udfce\ud835\udfcf\ud835\udfd0\ud835\udfd1\ud835\udfd2\ud835\udfd3\ud835\udfd4\ud835\udfd5\ud835\udfd6\ud835\udfd7",_type:"numeric"},mathdbl:{_digits:"\ud835\udfd8\ud835\udfd9\ud835\udfda\ud835\udfdb\ud835\udfdc\ud835\udfdd\ud835\udfde\ud835\udfdf\ud835\udfe0\ud835\udfe1",_type:"numeric"},mathmono:{_digits:"\ud835\udff6\ud835\udff7\ud835\udff8\ud835\udff9\ud835\udffa\ud835\udffb\ud835\udffc\ud835\udffd\ud835\udffe\ud835\udfff",_type:"numeric"},mathsanb:{_digits:"\ud835\udfec\ud835\udfed\ud835\udfee\ud835\udfef\ud835\udff0\ud835\udff1\ud835\udff2\ud835\udff3\ud835\udff4\ud835\udff5",_type:"numeric"},mathsans:{_digits:"\ud835\udfe2\ud835\udfe3\ud835\udfe4\ud835\udfe5\ud835\udfe6\ud835\udfe7\ud835\udfe8\ud835\udfe9\ud835\udfea\ud835\udfeb",_type:"numeric"},mlym:{_digits:"\u0d66\u0d67\u0d68\u0d69\u0d6a\u0d6b\u0d6c\u0d6d\u0d6e\u0d6f",_type:"numeric"},modi:{_digits:"\ud805\ude50\ud805\ude51\ud805\ude52\ud805\ude53\ud805\ude54\ud805\ude55\ud805\ude56\ud805\ude57\ud805\ude58\ud805\ude59",_type:"numeric"},mong:{_digits:"\u1810\u1811\u1812\u1813\u1814\u1815\u1816\u1817\u1818\u1819",_type:"numeric"},mroo:{_digits:"\ud81a\ude60\ud81a\ude61\ud81a\ude62\ud81a\ude63\ud81a\ude64\ud81a\ude65\ud81a\ude66\ud81a\ude67\ud81a\ude68\ud81a\ude69",_type:"numeric"},mtei:{_digits:"\uabf0\uabf1\uabf2\uabf3\uabf4\uabf5\uabf6\uabf7\uabf8\uabf9",_type:"numeric"},mymr:{_digits:"\u1040\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049",_type:"numeric"},mymrshan:{_digits:"\u1090\u1091\u1092\u1093\u1094\u1095\u1096\u1097\u1098\u1099",_type:"numeric"},mymrtlng:{_digits:"\ua9f0\ua9f1\ua9f2\ua9f3\ua9f4\ua9f5\ua9f6\ua9f7\ua9f8\ua9f9",_type:"numeric"},newa:{_digits:"\ud805\udc50\ud805\udc51\ud805\udc52\ud805\udc53\ud805\udc54\ud805\udc55\ud805\udc56\ud805\udc57\ud805\udc58\ud805\udc59",_type:"numeric"},nkoo:{_digits:"\u07c0\u07c1\u07c2\u07c3\u07c4\u07c5\u07c6\u07c7\u07c8\u07c9",_type:"numeric"},olck:{_digits:"\u1c50\u1c51\u1c52\u1c53\u1c54\u1c55\u1c56\u1c57\u1c58\u1c59",_type:"numeric"},orya:{_digits:"\u0b66\u0b67\u0b68\u0b69\u0b6a\u0b6b\u0b6c\u0b6d\u0b6e\u0b6f",_type:"numeric"},osma:{_digits:"\ud801\udca0\ud801\udca1\ud801\udca2\ud801\udca3\ud801\udca4\ud801\udca5\ud801\udca6\ud801\udca7\ud801\udca8\ud801\udca9",_type:"numeric"},rohg:{_digits:"\ud803\udd30\ud803\udd31\ud803\udd32\ud803\udd33\ud803\udd34\ud803\udd35\ud803\udd36\ud803\udd37\ud803\udd38\ud803\udd39",_type:"numeric"},roman:{_rules:"roman-upper",_type:"algorithmic"},romanlow:{_rules:"roman-lower",_type:"algorithmic"},saur:{_digits:"\ua8d0\ua8d1\ua8d2\ua8d3\ua8d4\ua8d5\ua8d6\ua8d7\ua8d8\ua8d9",_type:"numeric"},shrd:{_digits:"\ud804\uddd0\ud804\uddd1\ud804\uddd2\ud804\uddd3\ud804\uddd4\ud804\uddd5\ud804\uddd6\ud804\uddd7\ud804\uddd8\ud804\uddd9",_type:"numeric"},sind:{_digits:"\ud804\udef0\ud804\udef1\ud804\udef2\ud804\udef3\ud804\udef4\ud804\udef5\ud804\udef6\ud804\udef7\ud804\udef8\ud804\udef9",_type:"numeric"},sinh:{_digits:"\u0de6\u0de7\u0de8\u0de9\u0dea\u0deb\u0dec\u0ded\u0dee\u0def",_type:"numeric"},sora:{_digits:"\ud804\udcf0\ud804\udcf1\ud804\udcf2\ud804\udcf3\ud804\udcf4\ud804\udcf5\ud804\udcf6\ud804\udcf7\ud804\udcf8\ud804\udcf9",_type:"numeric"},sund:{_digits:"\u1bb0\u1bb1\u1bb2\u1bb3\u1bb4\u1bb5\u1bb6\u1bb7\u1bb8\u1bb9",_type:"numeric"},takr:{_digits:"\ud805\udec0\ud805\udec1\ud805\udec2\ud805\udec3\ud805\udec4\ud805\udec5\ud805\udec6\ud805\udec7\ud805\udec8\ud805\udec9",_type:"numeric"},talu:{_digits:"\u19d0\u19d1\u19d2\u19d3\u19d4\u19d5\u19d6\u19d7\u19d8\u19d9",_type:"numeric"},taml:{_rules:"tamil",_type:"algorithmic"},tamldec:{_digits:"\u0be6\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef",_type:"numeric"},telu:{_digits:"\u0c66\u0c67\u0c68\u0c69\u0c6a\u0c6b\u0c6c\u0c6d\u0c6e\u0c6f",_type:"numeric"},thai:{_digits:"\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59",_type:"numeric"},tibt:{_digits:"\u0f20\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29",_type:"numeric"},tirh:{_digits:"\ud805\udcd0\ud805\udcd1\ud805\udcd2\ud805\udcd3\ud805\udcd4\ud805\udcd5\ud805\udcd6\ud805\udcd7\ud805\udcd8\ud805\udcd9",_type:"numeric"},vaii:{_digits:"\ua620\ua621\ua622\ua623\ua624\ua625\ua626\ua627\ua628\ua629",_type:"numeric"},wara:{_digits:"\ud806\udce0\ud806\udce1\ud806\udce2\ud806\udce3\ud806\udce4\ud806\udce5\ud806\udce6\ud806\udce7\ud806\udce8\ud806\udce9",_type:"numeric"},wcho:{_digits:"\ud838\udef0\ud838\udef1\ud838\udef2\ud838\udef3\ud838\udef4\ud838\udef5\ud838\udef6\ud838\udef7\ud838\udef8\ud838\udef9",_type:"numeric"}}}}},84109:function(e,t,n){t.default=void 0;var i=a(n(89656)),o=a(n(85703)),r=a(n(55088));function a(e){return e&&e.__esModule?e:{default:e}}const s="en";t.default=(0,i.default)({locale:(()=>{let e=s;return t=>{if(!t)return e;e=t}})(),getValueByClosestLocale:function(e){let t,n=this.locale(),i=e(n);for(;!i&&!t;)n=(0,r.default)(o.default,n),n?i=e(n):t=!0;return void 0===i&&n!==s?e(s):i}});e.exports=t.default,e.exports.default=t.default},17333:function(e,t,n){t.default=void 0;var i=n(52576);t.default={_formatNumberCore:function(e,t,n){if("currency"===t){n.precision=n.precision||0;let t=this.format(e,(0,i.extend)({},n,{type:"fixedpoint"}));const o=this.getCurrencySymbol().symbol.replace(/\$/g,"$$$$");return t=t.replace(/^(\D*)(\d.*)/,"$1"+o+"$2"),t}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}};e.exports=t.default,e.exports.default=t.default},38662:function(e,t,n){t.default=void 0;var i=g(n(89656)),o=n(11528),r=n(21274),a=g(n(87129)),s=n(86670),l=n(83445),c=n(46981),u=g(n(81179)),d=g(n(29908)),h=g(n(84109)),f=g(n(52771)),p=g(n(21840));function g(e){return e&&e.__esModule?e:{default:e}}const _="undefined"!=typeof Intl,m={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},v={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},b=(0,i.default)({engine:function(){return"base"},_getPatternByFormat:function(e){return m[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return-1!==this._expandPattern(e).indexOf("MMMM")},formatUsesDayName:function(e){return-1!==this._expandPattern(e).indexOf("EEEE")},getFormatParts:function(e){const t=this._getPatternByFormat(e)||e,n=[];return(0,r.each)(t.split(/\W+/),((e,t)=>{(0,r.each)(v,((e,i)=>{i.includes(t)&&n.push(e)}))})),n},getMonthNames:function(e){return u.default.getMonthNames(e)},getDayNames:function(e){return u.default.getDayNames(e)},getQuarterNames:function(e){return u.default.getQuarterNames(e)},getPeriodNames:function(e){return u.default.getPeriodNames(e)},getTimeSeparator:function(){return":"},is24HourFormat:function(e){const t=new Date(2017,0,20,11,0,0,0),n=new Date(2017,0,20,23,0,0,0),i=this.format(t,e),o=this.format(n,e);for(let e=0;e<i.length;e++)if(i[e]!==o[e])return!isNaN(parseInt(i[e]))},format:function(e,t){if(!e)return;if(!t)return e;let n;if("function"==typeof t)n=t;else if(t.formatter)n=t.formatter;else if(t=t.type||t,(0,o.isString)(t))return t=m[t.toLowerCase()]||t,f.default.convertDigits((0,s.getFormatter)(t,this)(e));return n?n(e):void 0},parse:function(e,t){const n=this;let i,o;if(!e)return;if(!t)return this.parse(e,"shortdate");if(t.parser)return t.parser(e);if("string"!=typeof t||m[t.toLowerCase()]){o=e=>{const i=n.format(e,t);return f.default.convertDigits(i,!0)};try{i=(0,l.getFormat)(o)}catch(e){}}else i=t;if(i)return e=f.default.convertDigits(e,!0),(0,c.getParser)(i,this)(e);a.default.log("W0012");const r=new Date(e);return r&&!isNaN(r.getTime())?r:void 0},firstDayOfWeekIndex:function(){const e=h.default.getValueByClosestLocale((e=>d.default[e]));return void 0===e?0:e}});_&&b.inject(p.default);t.default=b;e.exports=t.default,e.exports.default=t.default},81179:function(e,t,n){t.default=void 0;var i=n(21274);const o=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["Q1","Q2","Q3","Q4"],l=(e,t)=>{const n={abbreviated:3,short:2,narrow:1};return(0,i.map)(e,(e=>e.substr(0,n[t])))};t.default={getMonthNames:function(e){return l(o,e)},getDayNames:function(e){return l(r,e)},getQuarterNames:function(e){return s},getPeriodNames:function(e){return a}};e.exports=t.default,e.exports.default=t.default},62788:function(e,t){t.defaultMessages=void 0;
|
|
// !!! AUTO-GENERATED FILE, DO NOT EDIT
|
|
t.defaultMessages={en:{Yes:"Yes",No:"No",Cancel:"Cancel",CheckState:"Check state",Close:"Close",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK",Today:"Today",Yesterday:"Yesterday","dxCollectionWidget-noDataText":"No data to display","dxDropDownEditor-selectLabel":"Select","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0} is invalid","validation-async":"Value is invalid","validation-async-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid","dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxList-listAriaLabel":"Items","dxList-listAriaLabel-deletable":"Deletable items","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxList-selectAll-indeterminate":"Half-checked","dxList-selectAll-checked":"Checked","dxList-selectAll-notChecked":"Not checked","dxList-ariaRoleDescription":"List","dxList-listAriaLabel-itemContent":"List item content","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxDateRangeBox-invalidStartDateMessage":"Start value must be a date","dxDateRangeBox-invalidEndDateMessage":"End value must be a date","dxDateRangeBox-startDateOutOfRangeMessage":"Start date is out of range","dxDateRangeBox-endDateOutOfRangeMessage":"End date is out of range","dxDateRangeBox-startDateLabel":"Start Date","dxDateRangeBox-endDateLabel":"End Date","dxFileUploader-selectFile":"Select a file","dxFileUploader-dropFile":"or Drop a file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"KB","dxFileUploader-Mb":"MB","dxFileUploader-Gb":"GB","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadAbortedMessage":"Upload cancelled","dxFileUploader-uploadFailedMessage":"Upload failed","dxFileUploader-invalidFileExtension":"File type is not allowed","dxFileUploader-invalidMaxFileSize":"File is too large","dxFileUploader-invalidMinFileSize":"File is too small","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number","dxNumberBox-noDataText":"No data","dxDataGrid-emptyHeaderWithColumnChooserText":"Use {0} to display columns","dxDataGrid-emptyHeaderWithGroupPanelText":"Drag a column from the group panel here","dxDataGrid-emptyHeaderWithColumnChooserAndGroupPanelText":"Use {0} or drag a column from the group panel","dxDataGrid-emptyHeaderColumnChooserText":"column chooser","dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-ariaSearchBox":"Search box","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-ariaNotSortedColumn":"Not sorted column","dxDataGrid-ariaSortedAscendingColumn":"Column sorted in ascending order","dxDataGrid-ariaSortedDescendingColumn":"Column sorted in descending order","dxDataGrid-ariaSortIndex":"Sort index {0}","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Set Fixed Position","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"Left","dxDataGrid-columnFixingRightPosition":"Right","dxDataGrid-columnFixingStickyPosition":"Sticky","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-exporting":"Exporting...","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows to {0}","dxDataGrid-exportAll":"Export all data to {0}","dxDataGrid-headerFilterLabel":"Filter options","dxDataGrid-headerFilterIndicatorLabel":"Show filter options for column '{0}'","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaAdaptiveCollapse":"Hide additional data","dxDataGrid-ariaAdaptiveExpand":"Display additional data","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaColumnHeader":"Column header","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaError":"Error","dxDataGrid-ariaRevertButton":"Press Escape to discard the changes","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaModifiedCell":"Modified","dxDataGrid-ariaDeletedCell":"Deleted","dxDataGrid-ariaEditableCell":"Editable","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaCollapsedRow":"Collapsed row","dxDataGrid-ariaExpandedRow":"Expanded row","dxDataGrid-ariaDataGrid":"Data grid with {0} rows and {1} columns","dxDataGrid-ariaSearchInGrid":"Search in the data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxDataGrid-ariaToolbar":"Data grid toolbar","dxDataGrid-ariaEditForm":"Edit form","dxDataGrid-filterBuilderPopupTitle":"Filter Builder","dxDataGrid-filterPanelCreateFilter":"Create Filter","dxDataGrid-filterPanelClearFilter":"Clear","dxDataGrid-filterPanelFilterEnabledHint":"Enable the filter","dxDataGrid-masterDetail":"Cell with details","dxDataGrid-moveColumnToTheRight":"Move to the right","dxDataGrid-moveColumnToTheLeft":"Move to the left","dxTreeList-ariaTreeList":"Tree list with {0} rows and {1} columns","dxTreeList-ariaExpandableInstruction":"Press Ctrl + right arrow to expand the focused node and Ctrl + left arrow to collapse it","dxTreeList-ariaSearchInGrid":"Search in the tree list","dxTreeList-ariaToolbar":"Tree list toolbar","dxTreeList-editingAddRowToNode":"Add","dxPager-infoText":"Page {0} of {1} ({2} items)","dxPager-pagesCountText":"of","dxPager-pageSize":"Items per page: {0}","dxPager-pageSizesAllText":"All","dxPager-page":"Page {0}","dxPager-prevPage":"Previous page","dxPager-nextPage":"Next page","dxPager-ariaLabel":"Page navigation","dxPager-ariaPageSize":"Page size","dxPager-ariaPageNumber":"Page number","dxPagination-infoText":"Page {0} of {1} ({2} items)","dxPagination-pagesCountText":"of","dxPagination-pageSize":"Items per page: {0}","dxPagination-pageSizesAllText":"All","dxPagination-page":"Page {0}","dxPagination-prevPage":"Previous page","dxPagination-nextPage":"Next page","dxPagination-ariaLabel":"Page navigation","dxPagination-ariaPageSize":"Page size","dxPagination-ariaPageNumber":"Page number","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-dateRange":"from {0} to {1}","dxScheduler-ariaLabel":"Scheduler. {0} view: {1} with {2} appointments","dxScheduler-ariaLabel-currentIndicator-present":"The current time indicator is visible in the view","dxScheduler-ariaLabel-currentIndicator-not-present":"The current time indicator is not visible on the screen","dxScheduler-appointmentAriaLabel-group":"Group: {0}","dxScheduler-appointmentAriaLabel-recurring":"Recurring appointment","dxScheduler-appointmentListAriaLabel":"Appointment list","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-navigationToday":"Today","dxScheduler-navigationPrevious":"Previous page","dxScheduler-navigationNext":"Next page","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceMinutely":"Every minute","dxScheduler-recurrenceHourly":"Hourly","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceRepeatEvery":"Repeat Every","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceUntilDateLabel":"Date when repeat ends","dxScheduler-recurrenceOccurrenceLabel":"Number of occurrences","dxScheduler-recurrenceRepeatMinutely":"minute(s)","dxScheduler-recurrenceRepeatHourly":"hour(s)","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work Week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-ariaEditForm":"Edit form","dxScheduler-confirmRecurrenceEditTitle":"Edit Recurring Appointment","dxScheduler-confirmRecurrenceDeleteTitle":"Delete Recurring Appointment","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxScheduler-moreAppointments":"{0} more","dxCalendar-currentDay":"Today","dxCalendar-currentMonth":"Current month","dxCalendar-currentYear":"Current year","dxCalendar-currentYearRange":"Current year range","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxCalendar-previousMonthButtonLabel":"Previous month","dxCalendar-previousYearButtonLabel":"Previous year","dxCalendar-previousDecadeButtonLabel":"Previous decade","dxCalendar-previousCenturyButtonLabel":"Previous century","dxCalendar-nextMonthButtonLabel":"Next month","dxCalendar-nextYearButtonLabel":"Next year","dxCalendar-nextDecadeButtonLabel":"Next decade","dxCalendar-nextCenturyButtonLabel":"Next century","dxCalendar-captionMonthLabel":"Month selection","dxCalendar-captionYearLabel":"Year selection","dxCalendar-captionDecadeLabel":"Decade selection","dxCalendar-captionCenturyLabel":"Century selection","dxCalendar-selectedDate":"The selected date is {0}","dxCalendar-selectedDates":"The selected dates","dxCalendar-selectedDateRange":"The selected date range is from {0} to {1}","dxCalendar-selectedMultipleDateRange":"from {0} to {1}","dxCalendar-selectedDateRangeCount":"There are {0} selected date ranges","dxCalendar-readOnlyLabel":"Read-only calendar","dxCardView-ariaSearchInGrid":"Search in the card view","dxCardView-ariaHeaderItemLabel":"Field name {0}","dxCardView-ariaHeaderItemSortingAscendingLabel":"Sorted in ascending order","dxCardView-ariaHeaderItemSortingDescendingLabel":"Sorted in descending order","dxCardView-ariaHeaderItemSortingIndexLabel":"Sort index {0}","dxCardView-ariaHeaderHasHeaderFilterLabel":"Header filter applied","dxCardView-ariaSelectCard":"Select card","dxCardView-ariaCardView":"Card view with {0} cards. Each card has {1} fields","dxCardView-ariaCard":"Card","dxCardView-ariaEditableCard":"Editable card","dxCardView-ariaCardPosition":"Row {0}, column {1}","dxCardView-ariaSelectedCardState":"Selected","dxCardView-ariaNotSelectedCardState":"Not selected","dxCardView-selectAll":"Select all","dxCardView-clearSelection":"Clear selection","dxCardView-cardNoImageAriaLabel":"No image","dxCardView-headerItemDropZoneText":"Drop the header item here","dxCardView-emptyHeaderPanelText":"Use {0} to display columns","dxCardView-emptyHeaderPanelColumnChooserText":"column chooser","dxAvatar-defaultImageAlt":"Avatar","dxChat-elementAriaLabel":"Chat","dxChat-textareaPlaceholder":"Type a message","dxChat-sendButtonAriaLabel":"Send","dxChat-cancelEditingButtonAriaLabel":"Cancel","dxChat-editingMessageCaption":"Edit Message","dxChat-defaultUserName":"Unknown User","dxChat-messageListAriaLabel":"Message list","dxChat-alertListAriaLabel":"Error list","dxChat-emptyListMessage":"There are no messages in this chat","dxChat-emptyListPrompt":"Write your first message","dxChat-typingMessageSingleUser":"{0} is typing...","dxChat-typingMessageTwoUsers":"{0} and {1} are typing...","dxChat-typingMessageThreeUsers":"{0}, {1} and {2} are typing...","dxChat-typingMessageMultipleUsers":"{0} and others are typing...","dxChat-editedMessageText":"Edited","dxChat-editingEditMessage":"Edit","dxChat-editingDeleteMessage":"Delete","dxChat-editingDeleteConfirmText":"Are you sure you want to delete this message?","dxChat-deletedMessageText":"This message was deleted","dxChat-defaultImageAlt":"Image shared in chat","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Transparency","dxColorView-ariaHex":"Color code","dxTagBox-selected":"{0} selected","dxTagBox-allSelected":"All selected ({0})","dxTagBox-moreSelected":"{0} more","dxTagBox-tagRoleDescription":"Tag. Press the delete button to remove this tag","dxTagBox-ariaRoleDescription":"Tag box","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"And","dxFilterBuilder-or":"Or","dxFilterBuilder-notAnd":"Not And","dxFilterBuilder-notOr":"Not Or","dxFilterBuilder-addCondition":"Add Condition","dxFilterBuilder-addGroup":"Add Group","dxFilterBuilder-enterValueText":"<enter a value>","dxFilterBuilder-filterOperationEquals":"Equals","dxFilterBuilder-filterOperationNotEquals":"Does not equal","dxFilterBuilder-filterOperationLess":"Is less than","dxFilterBuilder-filterOperationLessOrEquals":"Is less than or equal to","dxFilterBuilder-filterOperationGreater":"Is greater than","dxFilterBuilder-filterOperationGreaterOrEquals":"Is greater than or equal to","dxFilterBuilder-filterOperationStartsWith":"Starts with","dxFilterBuilder-filterOperationContains":"Contains","dxFilterBuilder-filterOperationNotContains":"Does not contain","dxFilterBuilder-filterOperationEndsWith":"Ends with","dxFilterBuilder-filterOperationIsBlank":"Is blank","dxFilterBuilder-filterOperationIsNotBlank":"Is not blank","dxFilterBuilder-filterOperationBetween":"Is between","dxFilterBuilder-filterOperationAnyOf":"Is any of","dxFilterBuilder-filterOperationNoneOf":"Is none of","dxFilterBuilder-filterAriaRootElement":"Filter builder","dxFilterBuilder-filterAriaGroupLevel":"Level {0}","dxFilterBuilder-filterAriaGroupItem":"Group item","dxFilterBuilder-filterAriaOperationButton":"Operation","dxFilterBuilder-filterAriaAddButton":"Add","dxFilterBuilder-filterAriaRemoveButton":"Remove {0}","dxFilterBuilder-filterAriaItemField":"Item field","dxFilterBuilder-filterAriaItemOperation":"Item operation","dxFilterBuilder-filterAriaItemValue":"Item value","dxHtmlEditor-dialogColorCaption":"Change Font Color","dxHtmlEditor-dialogBackgroundCaption":"Change Background Color","dxHtmlEditor-dialogLinkCaption":"Add Link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Open link in new window","dxHtmlEditor-dialogImageCaption":"Add Image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternate text","dxHtmlEditor-dialogImageWidthField":"Width (px)","dxHtmlEditor-dialogImageHeightField":"Height (px)","dxHtmlEditor-dialogInsertTableRowsField":"Rows","dxHtmlEditor-dialogInsertTableColumnsField":"Columns","dxHtmlEditor-dialogInsertTableCaption":"Insert Table","dxHtmlEditor-dialogUpdateImageCaption":"Update Image","dxHtmlEditor-dialogImageUpdateButton":"Update","dxHtmlEditor-dialogImageAddButton":"Add","dxHtmlEditor-dialogImageSpecifyUrl":"From the Web","dxHtmlEditor-dialogImageSelectFile":"From This Device","dxHtmlEditor-dialogImageKeepAspectRatio":"Keep Aspect Ratio","dxHtmlEditor-dialogImageEncodeToBase64":"Encode to Base64","dxHtmlEditor-heading":"Heading","dxHtmlEditor-normalText":"Normal text","dxHtmlEditor-background":"Background Color","dxHtmlEditor-bold":"Bold","dxHtmlEditor-color":"Font Color","dxHtmlEditor-font":"Font","dxHtmlEditor-italic":"Italic","dxHtmlEditor-link":"Add Link","dxHtmlEditor-image":"Add Image","dxHtmlEditor-size":"Size","dxHtmlEditor-strike":"Strikethrough","dxHtmlEditor-subscript":"Subscript","dxHtmlEditor-superscript":"Superscript","dxHtmlEditor-underline":"Underline","dxHtmlEditor-blockquote":"Blockquote","dxHtmlEditor-header":"Header","dxHtmlEditor-increaseIndent":"Increase Indent","dxHtmlEditor-decreaseIndent":"Decrease Indent","dxHtmlEditor-orderedList":"Ordered List","dxHtmlEditor-bulletList":"Bullet List","dxHtmlEditor-alignLeft":"Align Left","dxHtmlEditor-alignCenter":"Align Center","dxHtmlEditor-alignRight":"Align Right","dxHtmlEditor-alignJustify":"Align Justify","dxHtmlEditor-codeBlock":"Code Block","dxHtmlEditor-variable":"Add Variable","dxHtmlEditor-undo":"Undo","dxHtmlEditor-redo":"Redo","dxHtmlEditor-clear":"Clear Formatting","dxHtmlEditor-insertTable":"Insert Table","dxHtmlEditor-insertHeaderRow":"Insert Header Row","dxHtmlEditor-insertRowAbove":"Insert Row Above","dxHtmlEditor-insertRowBelow":"Insert Row Below","dxHtmlEditor-insertColumnLeft":"Insert Column Left","dxHtmlEditor-insertColumnRight":"Insert Column Right","dxHtmlEditor-deleteColumn":"Delete Column","dxHtmlEditor-deleteRow":"Delete Row","dxHtmlEditor-deleteTable":"Delete Table","dxHtmlEditor-cellProperties":"Cell Properties","dxHtmlEditor-tableProperties":"Table Properties","dxHtmlEditor-insert":"Insert","dxHtmlEditor-delete":"Delete","dxHtmlEditor-border":"Border","dxHtmlEditor-style":"Style","dxHtmlEditor-width":"Width","dxHtmlEditor-height":"Height","dxHtmlEditor-borderColor":"Color","dxHtmlEditor-borderWidth":"Border Width","dxHtmlEditor-tableBackground":"Background","dxHtmlEditor-dimensions":"Dimensions","dxHtmlEditor-alignment":"Alignment","dxHtmlEditor-horizontal":"Horizontal","dxHtmlEditor-vertical":"Vertical","dxHtmlEditor-paddingVertical":"Vertical Padding","dxHtmlEditor-paddingHorizontal":"Horizontal Padding","dxHtmlEditor-pixels":"Pixels","dxHtmlEditor-list":"List","dxHtmlEditor-ordered":"Ordered","dxHtmlEditor-bullet":"Bullet","dxHtmlEditor-align":"Align","dxHtmlEditor-center":"Center","dxHtmlEditor-left":"Left","dxHtmlEditor-right":"Right","dxHtmlEditor-indent":"Indent","dxHtmlEditor-justify":"Justify","dxHtmlEditor-borderStyleNone":"none","dxHtmlEditor-borderStyleHidden":"hidden","dxHtmlEditor-borderStyleDotted":"dotted","dxHtmlEditor-borderStyleDashed":"dashed","dxHtmlEditor-borderStyleSolid":"solid","dxHtmlEditor-borderStyleDouble":"double","dxHtmlEditor-borderStyleGroove":"groove","dxHtmlEditor-borderStyleRidge":"ridge","dxHtmlEditor-borderStyleInset":"inset","dxHtmlEditor-borderStyleOutset":"outset","dxHtmlEditor-aiDialogTitle":"AI Assistant","dxHtmlEditor-aiDialogError":"Something went wrong. Please try again.","dxHtmlEditor-aiDialogCanceled":"Generation canceled","dxHtmlEditor-aiReplace":"Replace","dxHtmlEditor-aiInsertAbove":"Insert above","dxHtmlEditor-aiInsertBelow":"Insert below","dxHtmlEditor-aiCopy":"Copy","dxHtmlEditor-aiRegenerate":"Regenerate","dxHtmlEditor-aiGenerate":"Generate","dxHtmlEditor-aiCancel":"Cancel","dxHtmlEditor-aiToolbarItemAriaLabel":"AI Assistant toolbar item","dxHtmlEditor-aiResultTextAreaAriaLabel":"AI Assistant result","dxHtmlEditor-aiAskPlaceholder":"Ask AI to modify text","dxFileManager-newDirectoryName":"Untitled directory","dxFileManager-rootDirectoryName":"Files","dxFileManager-errorNoAccess":"Access Denied. Operation could not be completed.","dxFileManager-errorDirectoryExistsFormat":"Directory '{0}' already exists.","dxFileManager-errorFileExistsFormat":"File '{0}' already exists.","dxFileManager-errorFileNotFoundFormat":"File '{0}' not found.","dxFileManager-errorDirectoryNotFoundFormat":"Directory '{0}' not found.","dxFileManager-errorWrongFileExtension":"File extension is not allowed.","dxFileManager-errorMaxFileSizeExceeded":"File size exceeds the maximum allowed size.","dxFileManager-errorInvalidSymbols":"This name contains invalid characters.","dxFileManager-errorDefault":"Unspecified error.","dxFileManager-errorDirectoryOpenFailed":"The directory cannot be opened","dxFileManager-commandCreate":"New directory","dxFileManager-commandRename":"Rename","dxFileManager-commandMove":"Move to","dxFileManager-commandCopy":"Copy to","dxFileManager-commandDelete":"Delete","dxFileManager-commandDownload":"Download","dxFileManager-commandUpload":"Upload files","dxFileManager-commandRefresh":"Refresh","dxFileManager-commandThumbnails":"Thumbnails View","dxFileManager-commandDetails":"Details View","dxFileManager-commandClearSelection":"Clear selection","dxFileManager-commandShowNavPane":"Toggle navigation pane","dxFileManager-dialogDirectoryChooserMoveTitle":"Move to","dxFileManager-dialogDirectoryChooserMoveButtonText":"Move","dxFileManager-dialogDirectoryChooserCopyTitle":"Copy to","dxFileManager-dialogDirectoryChooserCopyButtonText":"Copy","dxFileManager-dialogRenameItemTitle":"Rename","dxFileManager-dialogRenameItemButtonText":"Save","dxFileManager-dialogCreateDirectoryTitle":"New directory","dxFileManager-dialogCreateDirectoryButtonText":"Create","dxFileManager-dialogDeleteItemTitle":"Delete","dxFileManager-dialogDeleteItemButtonText":"Delete","dxFileManager-dialogDeleteItemSingleItemConfirmation":"Are you sure you want to delete {0}?","dxFileManager-dialogDeleteItemMultipleItemsConfirmation":"Are you sure you want to delete {0} items?","dxFileManager-dialogButtonCancel":"Cancel","dxFileManager-editingCreateSingleItemProcessingMessage":"Creating a directory inside {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"Created a directory inside {0}","dxFileManager-editingCreateSingleItemErrorMessage":"Directory was not created","dxFileManager-editingCreateCommonErrorMessage":"Directory was not created","dxFileManager-editingRenameSingleItemProcessingMessage":"Renaming an item inside {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Renamed an item inside {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item was not renamed","dxFileManager-editingRenameCommonErrorMessage":"Item was not renamed","dxFileManager-editingDeleteSingleItemProcessingMessage":"Deleting an item from {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Deleting {0} items from {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Deleted an item from {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"Deleted {0} items from {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item was not deleted","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items were not deleted","dxFileManager-editingDeleteCommonErrorMessage":"Some items were not deleted","dxFileManager-editingMoveSingleItemProcessingMessage":"Moving an item to {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"Moving {0} items to {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Moved an item to {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"Moved {0} items to {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item was not moved","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items were not moved","dxFileManager-editingMoveCommonErrorMessage":"Some items were not moved","dxFileManager-editingCopySingleItemProcessingMessage":"Copying an item to {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"Copying {0} items to {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Copied an item to {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"Copied {0} items to {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item was not copied","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items were not copied","dxFileManager-editingCopyCommonErrorMessage":"Some items were not copied","dxFileManager-editingUploadSingleItemProcessingMessage":"Uploading an item to {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"Uploading {0} items to {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Uploaded an item to {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"Uploaded {0} items to {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item was not uploaded","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items were not uploaded","dxFileManager-editingUploadCanceledMessage":"Canceled","dxFileManager-editingDownloadSingleItemErrorMessage":"Item was not downloaded","dxFileManager-editingDownloadMultipleItemsErrorMessage":"{0} items were not downloaded","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Date Modified","dxFileManager-listDetailsColumnCaptionFileSize":"File Size","dxFileManager-listThumbnailsTooltipTextSize":"Size","dxFileManager-listThumbnailsTooltipTextDateModified":"Date Modified","dxFileManager-notificationProgressPanelTitle":"Progress","dxFileManager-notificationProgressPanelEmptyListText":"No operations","dxFileManager-notificationProgressPanelOperationCanceled":"Canceled","dxDiagram-categoryGeneral":"General","dxDiagram-categoryFlowchart":"Flowchart","dxDiagram-categoryOrgChart":"Org Chart","dxDiagram-categoryContainers":"Containers","dxDiagram-categoryCustom":"Custom","dxDiagram-commandExportToSvg":"Export to SVG","dxDiagram-commandExportToPng":"Export to PNG","dxDiagram-commandExportToJpg":"Export to JPEG","dxDiagram-commandUndo":"Undo","dxDiagram-commandRedo":"Redo","dxDiagram-commandFontName":"Font Name","dxDiagram-commandFontSize":"Font Size","dxDiagram-commandBold":"Bold","dxDiagram-commandItalic":"Italic","dxDiagram-commandUnderline":"Underline","dxDiagram-commandTextColor":"Font Color","dxDiagram-commandLineColor":"Line Color","dxDiagram-commandLineWidth":"Line Width","dxDiagram-commandLineStyle":"Line Style","dxDiagram-commandLineStyleSolid":"Solid","dxDiagram-commandLineStyleDotted":"Dotted","dxDiagram-commandLineStyleDashed":"Dashed","dxDiagram-commandFillColor":"Fill Color","dxDiagram-commandAlignLeft":"Align Left","dxDiagram-commandAlignCenter":"Align Center","dxDiagram-commandAlignRight":"Align Right","dxDiagram-commandConnectorLineType":"Connector Line Type","dxDiagram-commandConnectorLineStraight":"Straight","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"Connector Line Start","dxDiagram-commandConnectorLineEnd":"Connector Line End","dxDiagram-commandConnectorLineNone":"None","dxDiagram-commandConnectorLineArrow":"Arrow","dxDiagram-commandFullscreen":"Full Screen","dxDiagram-commandUnits":"Units","dxDiagram-commandPageSize":"Page Size","dxDiagram-commandPageOrientation":"Page Orientation","dxDiagram-commandPageOrientationLandscape":"Landscape","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Page Color","dxDiagram-commandShowGrid":"Show Grid","dxDiagram-commandSnapToGrid":"Snap to Grid","dxDiagram-commandGridSize":"Grid Size","dxDiagram-commandZoomLevel":"Zoom Level","dxDiagram-commandAutoZoom":"Auto Zoom","dxDiagram-commandFitToContent":"Fit to Content","dxDiagram-commandFitToWidth":"Fit to Width","dxDiagram-commandAutoZoomByContent":"Auto Zoom by Content","dxDiagram-commandAutoZoomByWidth":"Auto Zoom by Width","dxDiagram-commandSimpleView":"Simple View","dxDiagram-commandCut":"Cut","dxDiagram-commandCopy":"Copy","dxDiagram-commandPaste":"Paste","dxDiagram-commandSelectAll":"Select All","dxDiagram-commandDelete":"Delete","dxDiagram-commandBringToFront":"Bring to Front","dxDiagram-commandSendToBack":"Send to Back","dxDiagram-commandLock":"Lock","dxDiagram-commandUnlock":"Unlock","dxDiagram-commandInsertShapeImage":"Insert Image...","dxDiagram-commandEditShapeImage":"Change Image...","dxDiagram-commandDeleteShapeImage":"Delete Image","dxDiagram-commandLayoutLeftToRight":"Left-to-right","dxDiagram-commandLayoutRightToLeft":"Right-to-left","dxDiagram-commandLayoutTopToBottom":"Top-to-bottom","dxDiagram-commandLayoutBottomToTop":"Bottom-to-top","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Cancel","dxDiagram-dialogInsertShapeImageTitle":"Insert Image","dxDiagram-dialogEditShapeImageTitle":"Change Image","dxDiagram-dialogEditShapeImageSelectButton":"Select image","dxDiagram-dialogEditShapeImageLabelText":"or drop a file here","dxDiagram-uiExport":"Export","dxDiagram-uiProperties":"Properties","dxDiagram-uiSettings":"Settings","dxDiagram-uiShowToolbox":"Show Toolbox","dxDiagram-uiSearch":"Search","dxDiagram-uiStyle":"Style","dxDiagram-uiLayout":"Layout","dxDiagram-uiLayoutTree":"Tree","dxDiagram-uiLayoutLayered":"Layered","dxDiagram-uiDiagram":"Diagram","dxDiagram-uiText":"Text","dxDiagram-uiObject":"Object","dxDiagram-uiConnector":"Connector","dxDiagram-uiPage":"Page","dxDiagram-shapeText":"Text","dxDiagram-shapeRectangle":"Rectangle","dxDiagram-shapeEllipse":"Ellipse","dxDiagram-shapeCross":"Cross","dxDiagram-shapeTriangle":"Triangle","dxDiagram-shapeDiamond":"Diamond","dxDiagram-shapeHeart":"Heart","dxDiagram-shapePentagon":"Pentagon","dxDiagram-shapeHexagon":"Hexagon","dxDiagram-shapeOctagon":"Octagon","dxDiagram-shapeStar":"Star","dxDiagram-shapeArrowLeft":"Left Arrow","dxDiagram-shapeArrowUp":"Up Arrow","dxDiagram-shapeArrowRight":"Right Arrow","dxDiagram-shapeArrowDown":"Down Arrow","dxDiagram-shapeArrowUpDown":"Up Down Arrow","dxDiagram-shapeArrowLeftRight":"Left Right Arrow","dxDiagram-shapeProcess":"Process","dxDiagram-shapeDecision":"Decision","dxDiagram-shapeTerminator":"Terminator","dxDiagram-shapePredefinedProcess":"Predefined Process","dxDiagram-shapeDocument":"Document","dxDiagram-shapeMultipleDocuments":"Multiple Documents","dxDiagram-shapeManualInput":"Manual Input","dxDiagram-shapePreparation":"Preparation","dxDiagram-shapeData":"Data","dxDiagram-shapeDatabase":"Database","dxDiagram-shapeHardDisk":"Hard Disk","dxDiagram-shapeInternalStorage":"Internal Storage","dxDiagram-shapePaperTape":"Paper Tape","dxDiagram-shapeManualOperation":"Manual Operation","dxDiagram-shapeDelay":"Delay","dxDiagram-shapeStoredData":"Stored Data","dxDiagram-shapeDisplay":"Display","dxDiagram-shapeMerge":"Merge","dxDiagram-shapeConnector":"Connector","dxDiagram-shapeOr":"Or","dxDiagram-shapeSummingJunction":"Summing Junction","dxDiagram-shapeContainerDefaultText":"Container","dxDiagram-shapeVerticalContainer":"Vertical Container","dxDiagram-shapeHorizontalContainer":"Horizontal Container","dxDiagram-shapeCardDefaultText":"Person's Name","dxDiagram-shapeCardWithImageOnLeft":"Card with Image on the Left","dxDiagram-shapeCardWithImageOnTop":"Card with Image on the Top","dxDiagram-shapeCardWithImageOnRight":"Card with Image on the Right","dxGantt-dialogTitle":"Title","dxGantt-dialogStartTitle":"Start","dxGantt-dialogEndTitle":"End","dxGantt-dialogProgressTitle":"Progress","dxGantt-dialogResourcesTitle":"Resources","dxGantt-dialogResourceManagerTitle":"Resource Manager","dxGantt-dialogTaskDetailsTitle":"Task Details","dxGantt-dialogEditResourceListHint":"Edit Resource List","dxGantt-dialogEditNoResources":"No resources","dxGantt-dialogButtonAdd":"Add","dxGantt-contextMenuNewTask":"New Task","dxGantt-contextMenuNewSubtask":"New Subtask","dxGantt-contextMenuDeleteTask":"Delete Task","dxGantt-contextMenuDeleteDependency":"Delete Dependency","dxGantt-dialogTaskDeleteConfirmation":"Deleting a task also deletes all its dependencies and subtasks. Are you sure you want to delete this task?","dxGantt-dialogDependencyDeleteConfirmation":"Are you sure you want to delete the dependency from the task?","dxGantt-dialogResourcesDeleteConfirmation":"Deleting a resource also deletes it from tasks to which this resource is assigned. Are you sure you want to delete these resources? Resources: {0}","dxGantt-dialogConstraintCriticalViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. How would you like to proceed?","dxGantt-dialogCancelOperationMessage":"Cancel the operation","dxGantt-dialogDeleteDependencyMessage":"Delete the dependency","dxGantt-dialogMoveTaskAndKeepDependencyMessage":"Move the task and keep the dependency","dxGantt-dialogConstraintCriticalViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by dependency relations. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by dependency relations. How would you like to proceed?","dxGantt-dialogDeleteDependenciesMessage":"Delete the dependency relations","dxGantt-dialogMoveTaskAndKeepDependenciesMessage":"Move the task and keep the dependencies","dxGantt-undo":"Undo","dxGantt-redo":"Redo","dxGantt-expandAll":"Expand All","dxGantt-collapseAll":"Collapse All","dxGantt-addNewTask":"Add New Task","dxGantt-deleteSelectedTask":"Delete Selected Task","dxGantt-zoomIn":"Zoom In","dxGantt-zoomOut":"Zoom Out","dxGantt-fullScreen":"Full Screen","dxGantt-quarter":"Q{0}","dxGantt-sortingAscendingText":"Sort Ascending","dxGantt-sortingDescendingText":"Sort Descending","dxGantt-sortingClearText":"Clear Sorting","dxGantt-showResources":"Show Resources","dxGantt-showDependencies":"Show Dependencies","dxGantt-dialogStartDateValidation":"Start date must be after {0}","dxGantt-dialogEndDateValidation":"End date must be after {0}","dxGallery-itemName":"Gallery item","dxMultiView-elementAriaRoleDescription":"MultiView","dxMultiView-elementAriaLabel":"Use the arrow keys or swipe to navigate between views","dxMultiView-itemAriaRoleDescription":"View","dxMultiView-itemAriaLabel":"{0} of {1}","dxSplitter-resizeHandleAriaLabel":"Split bar","dxSplitter-resizeHandleAriaRoleDescription":"Separator","dxStepper-optionalMark":"(Optional)"}}},23805:function(e,t,n){var i=s(n(87626)),o=s(n(84109)),r=n(61316),a=n(99645);function s(e){return e&&e.__esModule?e:{default:e}}i.default&&i.default.load&&(i.default.locale()||(i.default.load(r.enCldr,a.supplementalCldr),i.default.locale("en")),o.default.inject({locale:function(e){if(!e)return i.default.locale().locale;i.default.locale(e)}}))},869:function(e,t,n){var i=s(n(70832));n(23805),n(13203),n(17333),n(87626);var o=s(n(87626)),r=n(83077),a=s(n(52771));function s(e){return e&&e.__esModule?e:{default:e}}const l=["symbol","accounting"];if(o.default&&o.default.formatCurrency){"en"===o.default.locale().locale&&o.default.locale("en");const e={},t=(t,n)=>{let i,r;return r="object"==typeof n?o.default.locale().locale+":"+t+":"+JSON.stringify(n):o.default.locale().locale+":"+t+":"+n,i=e[r],i||(i=e[r]=o.default.currencyFormatter(t,n)),i},n={_formatNumberCore:function(e,n,i){if("currency"===n){const o=i&&i.currency||(0,r.config)().defaultCurrency;return t(o,this._normalizeFormatConfig(n,i,e))(e)}return this.callBase.apply(this,arguments)},_normalizeFormatConfig:function(e,t,n){const i=this.callBase(e,t,n);if("currency"===e){const e=t.useCurrencyAccountingStyle??(0,r.config)().defaultUseCurrencyAccountingStyle;i.style=l[+e]}return i},format:function(e,n){if("number"!=typeof e)return e;if(n=this._normalizeFormat(n)){if("default"===n.currency&&(n.currency=(0,r.config)().defaultCurrency),"currency"===n.type)return this._formatNumber(e,this._parseNumberFormatString("currency"),n);if(!n.type&&n.currency)return t(n.currency,n)(e)}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(e){return e||(e=(0,r.config)().defaultCurrency),o.default.cldr.main("numbers/currencies/"+e)},getOpenXmlCurrencyFormat:function(e){const t=this.getCurrencySymbol(e).symbol,n=o.default.cldr.main("numbers/currencyFormats-numberSystem-latn").accounting;return(0,i.default)(t,n)}};a.default.inject(n)}},99862:function(e,t,n){n(23805),n(13203),n(87626);var i=l(n(87626)),o=l(n(38662)),r=n(11528),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(21274));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}const c=["skeleton","date","time","datetime","raw"],u=/[\u200E\u200F]/g;if(i.default&&i.default.formatDate){"en"===i.default.locale().locale&&i.default.locale("en");const e={},t={shortdate:{path:"dateTimeFormats/availableFormats/yMd"},shorttime:{path:"timeFormats/short"},longdate:{path:"dateFormats/full"},longtime:{path:"timeFormats/medium"},monthandday:{path:"dateTimeFormats/availableFormats/MMMMd"},monthandyear:{path:"dateTimeFormats/availableFormats/yMMMM"},quarterandyear:{path:"dateTimeFormats/availableFormats/yQQQ"},day:{path:"dateTimeFormats/availableFormats/d"},year:{path:"dateTimeFormats/availableFormats/y"},shortdateshorttime:{path:"dateTimeFormats/short",parts:["shorttime","shortdate"]},longdatelongtime:{path:"dateTimeFormats/medium",parts:["longtime","longdate"]},month:{pattern:"LLLL"},shortyear:{pattern:"yy"},dayofweek:{pattern:"EEEE"},quarter:{pattern:"QQQ"},millisecond:{pattern:"SSS"},hour:{pattern:"HH"},minute:{pattern:"mm"},second:{pattern:"ss"}},n={engine:function(){return"globalize"},_getPatternByFormat:function(e){const n=this,i=e.toLowerCase(),o=t[i];if("datetime-local"===i)return"yyyy-MM-ddTHH':'mm':'ss";if(!o)return;let r=o.path&&n._getFormatStringByPath(o.path)||o.pattern;return o.parts&&a.each(o.parts,((e,t)=>{r=r.replace("{"+e+"}",n._getPatternByFormat(t))})),r},_getFormatStringByPath:function(e){return i.default.locale().main("dates/calendars/gregorian/"+e)},getPeriodNames:function(e,t){e=e||"wide",t="format"===t?t:"stand-alone";const n=i.default.locale().main(`dates/calendars/gregorian/dayPeriods/${t}/${e}`);return[n.am,n.pm]},getMonthNames:function(e,t){const n=i.default.locale().main("dates/calendars/gregorian/months/"+("format"===t?t:"stand-alone")+"/"+(e||"wide"));return a.map(n,(e=>e))},getDayNames:function(e){const t=i.default.locale().main("dates/calendars/gregorian/days/stand-alone/"+(e||"wide"));return a.map(t,(e=>e))},getTimeSeparator:function(){return i.default.locale().main("numbers/symbols-numberSystem-latn/timeSeparator")},removeRtlMarks:e=>e.replace(u,""),format:function(t,n){if(!t)return;if(!n)return t;let o,r;if("function"==typeof n)return n(t);if(n.formatter)return n.formatter(t);if("string"==typeof(n=n.type||n))r=i.default.locale().locale+":"+n,o=e[r],o||(n={raw:this._getPatternByFormat(n)||n},o=e[r]=i.default.dateFormatter(n));else{if(!this._isAcceptableFormat(n))return;o=i.default.dateFormatter(n)}return this.removeRtlMarks(o(t))},parse:function(e,t){if(!e)return;if(!t||"function"==typeof t||(0,r.isObject)(t)&&!this._isAcceptableFormat(t)){if(t){const n=this.callBase(e,t);if(n)return n}return i.default.parseDate(e)}if(t.parser)return t.parser(e);"string"==typeof t&&(t={raw:this._getPatternByFormat(t)||t});const n=i.default.parseDate(e,t);return n||this.callBase(e,t)},_isAcceptableFormat:function(e){if(e.parser)return!0;for(let t=0;t<c.length;t++)if(Object.prototype.hasOwnProperty.call(e,c[t]))return!0},firstDayOfWeekIndex:function(){const e=i.default.locale().supplemental.weekData.firstDay();return this._getDayKeys().indexOf(e)},_getDayKeys:function(){const e=i.default.locale().main("dates/calendars/gregorian/days/format/short");return a.map(e,((e,t)=>t))}};o.default.resetInjection(),o.default.inject(n)}},84207:function(e,t,n){n(23805);var i=a(n(87626)),o=a(n(4671)),r=a(n(84109));function a(e){return e&&e.__esModule?e:{default:e}}if(n(87626),i.default&&i.default.formatMessage){const e="en",t=i.default.loadMessages;i.default.loadMessages=e=>{o.default.load(e)};const n={engine:function(){return"globalize"},ctor:function(){this.load(this._dictionary)},load:function(e){this.callBase(e),t(e)},getMessagesByLocales:function(){return i.default.cldr.get("globalize-messages")},getFormatter:function(t,n){const i=n||r.default.locale();let o=this._getFormatterBase(t,n);return o||(o=this._formatterByGlobalize(t,n)),o||i===e||(o=this.getFormatter(t,e)),o},_formatterByGlobalize:function(e,t){const n=t&&t!==r.default.locale()?new i.default(t):i.default;let o;return this._messageLoaded(e,t)&&(o=n.messageFormatter(e)),o},_messageLoaded:function(e,t){return!!(t?new i.default(t).cldr:i.default.locale()).get(["globalize-messages/{bundle}",e])},_loadSingle:function(e,t,n){const i={};i[n]={},i[n][e]=t,this.load(i)}};o.default.inject(n)}},13203:function(e,t,n){n(23805);var i=a(n(87626)),o=a(n(52771)),r=a(n(87129));function a(e){return e&&e.__esModule?e:{default:e}}n(87626);if(i.default&&i.default.formatNumber){"en"===i.default.locale().locale&&i.default.locale("en");const e={},t=t=>{let n,o;return o="object"==typeof t?i.default.locale().locale+":"+JSON.stringify(t):i.default.locale().locale+":"+t,n=e[o],n||(n=e[o]=i.default.numberFormatter(t)),n},n={engine:function(){return"globalize"},_formatNumberCore:function(e,n,i){return"exponential"===n?this.callBase.apply(this,arguments):t(this._normalizeFormatConfig(n,i,e))(e)},_normalizeFormatConfig:function(e,t,n){let i;return i="decimal"===e?{minimumIntegerDigits:t.precision||1,useGrouping:!1,minimumFractionDigits:0,maximumFractionDigits:20,round:n<0?"ceil":"floor"}:this._getPrecisionConfig(t.precision),"percent"===e&&(i.style="percent"),i},_getPrecisionConfig:function(e){let t;return t=null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0},t},format:function(e,n){return"number"!=typeof e?e:(n=this._normalizeFormat(n))&&("function"==typeof n||n.type||n.formatter)?this.callBase.apply(this,arguments):t(n)(e)},parse:function(e,t){if(!e)return;if(t&&(t.parser||"string"==typeof t))return this.callBase.apply(this,arguments);t&&r.default.log("W0011");let n=i.default.parseNumber(e);return isNaN(n)&&(n=this.callBase.apply(this,arguments)),n}};o.default.resetInjection(),o.default.inject(n)}},21840:function(e,t,n){t.default=void 0;var i,o=n(52576),r=(i=n(84109))&&i.__esModule?i:{default:i};const a=/[\u200E\u200F]/g,s=/[\u202F]/g,l=e=>t=>{if(!e.timeZoneName){const n=t.getFullYear(),i=String(n).length<3,r=i?n+400:n,a=new Date(Date.UTC(r,t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));i&&a.setFullYear(n);return d(a,(0,o.extend)({timeZone:"UTC"},e))}return d(t,e)},c={},u=e=>{const t=r.default.locale()+"/"+JSON.stringify(e);return c[t]||(c[t]=new Intl.DateTimeFormat(r.default.locale(),e).format),c[t]};function d(e,t){return u(t)(e).replace(a,"").replace(s," ")}const h=e=>new Intl.NumberFormat(r.default.locale()).format(e),f=(()=>{const e={};return t=>{if(!(t in e)){if("0"===h(0))return e[t]=!1,!1;e[t]={};for(let n=0;n<10;++n)e[t][h(n)]=n}return e[t]}})(),p=e=>{const t=f(r.default.locale());return t?e.split("").map((e=>e in t?String(t[e]):e)).join(""):e},g=e=>e.replace(/(\D)0+(\d)/g,"$1$2"),_=e=>e.replace("d\u2019","de "),m={day:{day:"numeric"},date:{year:"numeric",month:"long",day:"numeric"},dayofweek:{weekday:"long"},longdate:{weekday:"long",year:"numeric",month:"long",day:"numeric"},longdatelongtime:{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},longtime:{hour:"numeric",minute:"numeric",second:"numeric"},month:{month:"long"},monthandday:{month:"long",day:"numeric"},monthandyear:{year:"numeric",month:"long"},shortdate:{},shorttime:{hour:"numeric",minute:"numeric"},shortyear:{year:"2-digit"},year:{year:"numeric"}};Object.defineProperty(m,"shortdateshorttime",{get:function(){const e=Intl.DateTimeFormat(r.default.locale()).resolvedOptions();return{year:e.year,month:e.month,day:e.day,hour:"numeric",minute:"numeric"}}});const v={standalone:function(e,t){const n=new Date(1999,e,13,1);return l({month:t})(n)},format:function(e,t){const n=new Date(0,e,13,1),i=_(l({day:"numeric",month:t})(n)).split(" ").filter((e=>e.indexOf("13")<0));return 1===i.length?i[0]:2===i.length?i[0].length>i[1].length?i[0]:i[1]:v.standalone(e,t)}};t.default={engine:function(){return"intl"},getMonthNames:function(e,t){const n={wide:"long",abbreviated:"short",narrow:"narrow"}[e||"wide"];return t="format"===t?t:"standalone",Array.apply(null,new Array(12)).map(((e,i)=>v[t](i,n)))},getDayNames:function(e){const t=(e=>Array.apply(null,new Array(7)).map(((t,n)=>l({weekday:e})(new Date(0,0,n)))))({wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[e||"wide"]);return t},getPeriodNames:function(){const e=l({hour:"numeric",hour12:!0});return[1,13].map((t=>{const n=h(1),i=e(new Date(0,0,1,t)).split(n);if(2!==i.length)return"";return(i[0].length>i[1].length?i[0]:i[1]).trim()}))},format:function(e,t){if(!e)return;if(!t)return e;"function"==typeof t||t.formatter||(t=t.type||t);const n=(e=>"string"==typeof e&&m[e.toLowerCase()])(t);if(n)return l(n)(e);const i=typeof t;return t.formatter||"function"===i||"string"===i?this.callBase.apply(this,arguments):l(t)(e)},parse:function(e,t){let n;return t&&!t.parser&&"string"==typeof e&&(e=_(e),n=e=>_(this.format(e,t))),this.callBase(e,n||t)},_parseDateBySimpleFormat:function(e,t){e=p(e);const n=this.getFormatParts(t),i=e.split(/\D+/).filter((e=>e.length>0));if(n.length!==i.length)return;const o=this._generateDateArgs(n,i),r=n=>{const i=((e,t)=>{const n=t?12:0;return new Date(e.year,e.month,e.day,(e.hours+n)%24,e.minutes,e.seconds)})(o,n);if(r=p(this.format(i,t)),a=e,g(r)===g(a))return i;var r,a};return r(!1)||r(!0)},_generateDateArgs:function(e,t){const n=new Date,i={year:n.getFullYear(),month:n.getMonth(),day:n.getDate(),hours:0,minutes:0,seconds:0};return e.forEach(((e,n)=>{const o=t[n];let r=parseInt(o,10);"month"===e&&(r-=1),i[e]=r})),i},formatUsesMonthName:function(e){return"object"!=typeof e||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.month},formatUsesDayName:function(e){return"object"!=typeof e||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.weekday},getTimeSeparator:function(){return p(d(new Date(2001,1,1,11,11),{hour:"numeric",minute:"numeric",hour12:!1})).replace(/\d/g,"")},getFormatParts:function(e){if("string"==typeof e)return this.callBase(e);const t=(0,o.extend)({},m[e.toLowerCase()]),n=new Date(2001,2,4,5,6,7);let i=l(t)(n);i=p(i);return[{name:"year",value:1},{name:"month",value:3},{name:"day",value:4},{name:"hours",value:5},{name:"minutes",value:6},{name:"seconds",value:7}].map((e=>({name:e.name,index:i.indexOf(e.value)}))).filter((e=>e.index>-1)).sort(((e,t)=>e.index-t.index)).map((e=>e.name))}};e.exports=t.default,e.exports.default=t.default},63265:function(e,t,n){t.default=void 0;var i=n(83077),o=s(n(84109)),r=s(n(70832)),a=s(n(55581));function s(e){return e&&e.__esModule?e:{default:e}}const l=["standard","accounting"],c=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,u={},d=e=>{const t=o.default.locale()+"/"+JSON.stringify(e);return u[t]||(u[t]=new Intl.NumberFormat(o.default.locale(),e).format),u[t]};t.default={engine:function(){return"intl"},_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):d(this._normalizeFormatConfig(t,n,e))(e)},_normalizeFormatConfig:function(e,t,n){let o;if("decimal"===e){const e=String(n).split(".")[1];o={minimumIntegerDigits:t.precision||void 0,useGrouping:!1,maximumFractionDigits:e&&e.length,round:n<0?"ceil":"floor"}}else o=this._getPrecisionConfig(t.precision);if("percent"===e)o.style="percent";else if("currency"===e){const e=t.useCurrencyAccountingStyle??(0,i.config)().defaultUseCurrencyAccountingStyle;o.style="currency",o.currency=t.currency||(0,i.config)().defaultCurrency,o.currencySign=l[+e]}return o},_getPrecisionConfig:function(e){let t;return t=null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0},t},format:function(e,t){if("number"!=typeof e)return e;if("default"===(t=this._normalizeFormat(t)).currency&&(t.currency=(0,i.config)().defaultCurrency),!t||"function"!=typeof t&&!t.type&&!t.formatter)return d(t)(e);return this.callBase.apply(this,arguments)},_getCurrencySymbolInfo:function(e){const t=(e=>new Intl.NumberFormat(o.default.locale(),{style:"currency",currency:e}))(e);return this._extractCurrencySymbolInfo(t.format(0))},_extractCurrencySymbolInfo:function(e){const t=c.exec(e)||[];return{position:t[1]?"before":"after",symbol:t[1]||t[4]||"",delimiter:t[2]||t[3]||""}},getCurrencySymbol:function(e){e||(e=(0,i.config)().defaultCurrency);return{symbol:this._getCurrencySymbolInfo(e).symbol}},getOpenXmlCurrencyFormat:function(e){const t=e||(0,i.config)().defaultCurrency,n=this._getCurrencySymbolInfo(t).symbol,s=o.default.getValueByClosestLocale((e=>a.default[e]));return(0,r.default)(n,s)}};e.exports=t.default,e.exports.default=t.default},64333:function(e,t,n){t.getLanguageId=function(){return r[o.default.locale()]};var i,o=(i=n(84109))&&i.__esModule?i:{default:i};const r={ar:1,bg:2,ca:3,"zh-Hans":4,cs:5,da:6,de:7,el:8,en:9,es:10,fi:11,fr:12,he:13,hu:14,is:15,it:16,ja:17,ko:18,nl:19,no:20,pl:21,pt:22,rm:23,ro:24,ru:25,hr:26,sk:27,sq:28,sv:29,th:30,tr:31,ur:32,id:33,uk:34,be:35,sl:36,et:37,lv:38,lt:39,tg:40,fa:41,vi:42,hy:43,az:44,eu:45,hsb:46,mk:47,tn:50,xh:52,zu:53,af:54,ka:55,fo:56,hi:57,mt:58,se:59,ga:60,ms:62,kk:63,ky:64,sw:65,tk:66,uz:67,tt:68,bn:69,pa:70,gu:71,or:72,ta:73,te:74,kn:75,ml:76,as:77,mr:78,sa:79,mn:80,bo:81,cy:82,km:83,lo:84,gl:86,kok:87,syr:90,si:91,iu:93,am:94,tzm:95,ne:97,fy:98,ps:99,fil:100,dv:101,ha:104,yo:106,quz:107,nso:108,ba:109,lb:110,kl:111,ig:112,ii:120,arn:122,moh:124,br:126,ug:128,mi:129,oc:130,co:131,gsw:132,sah:133,qut:134,rw:135,wo:136,prs:140,gd:145,"ar-SA":1025,"bg-BG":1026,"ca-ES":1027,"zh-TW":1028,"cs-CZ":1029,"da-DK":1030,"de-DE":1031,"el-GR":1032,"en-US":1033,"fi-FI":1035,"fr-FR":1036,"he-IL":1037,"hu-HU":1038,"is-IS":1039,"it-IT":1040,"ja-JP":1041,"ko-KR":1042,"nl-NL":1043,"nb-NO":1044,"pl-PL":1045,"pt-BR":1046,"rm-CH":1047,"ro-RO":1048,"ru-RU":1049,"hr-HR":1050,"sk-SK":1051,"sq-AL":1052,"sv-SE":1053,"th-TH":1054,"tr-TR":1055,"ur-PK":1056,"id-ID":1057,"uk-UA":1058,"be-BY":1059,"sl-SI":1060,"et-EE":1061,"lv-LV":1062,"lt-LT":1063,"tg-Cyrl-TJ":1064,"fa-IR":1065,"vi-VN":1066,"hy-AM":1067,"az-Latn-AZ":1068,"eu-ES":1069,"hsb-DE":1070,"mk-MK":1071,"tn-ZA":1074,"xh-ZA":1076,"zu-ZA":1077,"af-ZA":1078,"ka-GE":1079,"fo-FO":1080,"hi-IN":1081,"mt-MT":1082,"se-NO":1083,"ms-MY":1086,"kk-KZ":1087,"ky-KG":1088,"sw-KE":1089,"tk-TM":1090,"uz-Latn-UZ":1091,"tt-RU":1092,"bn-IN":1093,"pa-IN":1094,"gu-IN":1095,"or-IN":1096,"ta-IN":1097,"te-IN":1098,"kn-IN":1099,"ml-IN":1100,"as-IN":1101,"mr-IN":1102,"sa-IN":1103,"mn-MN":1104,"bo-CN":1105,"cy-GB":1106,"km-KH":1107,"lo-LA":1108,"gl-ES":1110,"kok-IN":1111,"syr-SY":1114,"si-LK":1115,"iu-Cans-CA":1117,"am-ET":1118,"ne-NP":1121,"fy-NL":1122,"ps-AF":1123,"fil-PH":1124,"dv-MV":1125,"ha-Latn-NG":1128,"yo-NG":1130,"quz-BO":1131,"nso-ZA":1132,"ba-RU":1133,"lb-LU":1134,"kl-GL":1135,"ig-NG":1136,"ii-CN":1144,"arn-CL":1146,"moh-CA":1148,"br-FR":1150,"ug-CN":1152,"mi-NZ":1153,"oc-FR":1154,"co-FR":1155,"gsw-FR":1156,"sah-RU":1157,"qut-GT":1158,"rw-RW":1159,"wo-SN":1160,"prs-AF":1164,"gd-GB":1169,"ar-IQ":2049,"zh-CN":2052,"de-CH":2055,"en-GB":2057,"es-MX":2058,"fr-BE":2060,"it-CH":2064,"nl-BE":2067,"nn-NO":2068,"pt-PT":2070,"sr-Latn-CS":2074,"sv-FI":2077,"az-Cyrl-AZ":2092,"dsb-DE":2094,"se-SE":2107,"ga-IE":2108,"ms-BN":2110,"uz-Cyrl-UZ":2115,"bn-BD":2117,"mn-Mong-CN":2128,"iu-Latn-CA":2141,"tzm-Latn-DZ":2143,"quz-EC":2155,"ar-EG":3073,"zh-HK":3076,"de-AT":3079,"en-AU":3081,"es-ES":3082,"fr-CA":3084,"sr-Cyrl-CS":3098,"se-FI":3131,"quz-PE":3179,"ar-LY":4097,"zh-SG":4100,"de-LU":4103,"en-CA":4105,"es-GT":4106,"fr-CH":4108,"hr-BA":4122,"smj-NO":4155,"ar-DZ":5121,"zh-MO":5124,"de-LI":5127,"en-NZ":5129,"es-CR":5130,"fr-LU":5132,"bs-Latn-BA":5146,"smj-SE":5179,"ar-MA":6145,"en-IE":6153,"es-PA":6154,"fr-MC":6156,"sr-Latn-BA":6170,"sma-NO":6203,"ar-TN":7169,"en-ZA":7177,"es-DO":7178,"sr-Cyrl-BA":7194,"sma-SE":7227,"ar-OM":8193,"en-JM":8201,"es-VE":8202,"bs-Cyrl-BA":8218,"sms-FI":8251,"ar-YE":9217,"en-029":9225,"es-CO":9226,"sr-Latn-RS":9242,"smn-FI":9275,"ar-SY":10241,"en-BZ":10249,"es-PE":10250,"sr-Cyrl-RS":10266,"ar-JO":11265,"en-TT":11273,"es-AR":11274,"sr-Latn-ME":11290,"ar-LB":12289,"en-ZW":12297,"es-EC":12298,"sr-Cyrl-ME":12314,"ar-KW":13313,"en-PH":13321,"es-CL":13322,"ar-AE":14337,"es-UY":14346,"ar-BH":15361,"es-PY":15370,"ar-QA":16385,"en-IN":16393,"es-BO":16394,"en-MY":17417,"es-SV":17418,"en-SG":18441,"es-HN":18442,"es-NI":19466,"es-PR":20490,"es-US":21514,"bs-Cyrl":25626,"bs-Latn":26650,"sr-Cyrl":27674,"sr-Latn":28698,smn:28731,"az-Cyrl":29740,sms:29755,zh:30724,nn:30740,bs:30746,"az-Latn":30764,sma:30779,"uz-Cyrl":30787,"mn-Cyrl":30800,"iu-Cans":30813,"zh-Hant":31748,nb:31764,sr:31770,"tg-Cyrl":31784,dsb:31790,smj:31803,"uz-Latn":31811,"mn-Mong":31824,"iu-Latn":31837,"tzm-Latn":31839,"ha-Latn":31848}},83445:function(e,t,n){t.getFormat=void 0;var i,o=(i=n(52771))&&i.__esModule?i:{default:i};const r=" .,:;/\\<>()-[]\u060c",a=function(e){const t=e&&o.default.convertDigits(e,!1).charCodeAt(0),n=o.default.convertDigits("0",!1).charCodeAt(0);return n<=t&&t<n+10},s=function(e,t,n,i){const o=e[n],s=e[n+1];if(!i){if("."===o||" "===o&&". m."===e.slice(n-1,n+3))return!0;if("-"===o&&!a(s))return!0}const l=i&&t.some((t=>e[n]!==t[n]));return r.indexOf(o)<0&&i===a(o)&&(!i||l)},l=function(e,t){if(!a(e[t]))for(;t>0&&!a(e[t-1])&&("."===e[t-1]||r.indexOf(e[t-1])<0);)t--;return t},c=function(e,t){return Array.isArray(e)?e.map((function(e){return(t(e)||"").toString()})):(t(e)||"").toString()},u=/[a-zA-Z]/g;t.getFormat=function(e){const t=[],n=c(new Date(2009,8,8,6,5,4),e),i=n.split("").map((function(e,t){return t}));let o=n;const r={},d=[{date:new Date(2009,8,8,6,5,4,111),pattern:"S"},{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,18,5,4),pattern:"H",isDigit:!0},{date:new Date(2009,8,8,2,5,4),pattern:"h",isDigit:!0},{date:new Date(2009,8,8,18,5,4),pattern:"a",isDigit:!1},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"E"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(o)return d.forEach((function(u){const d=function(e,t,n,i){let o=0;const r=[],c=function(t){return e[o]!==t[o]&&(void 0===i||a(e[o])===i)};for(Array.isArray(t)||(t=[t]),o=0;o<e.length;o++)if(n.indexOf(o)<0&&t.filter(c).length){o=l(e,o);do{if(i=a(e[o]),!r.length&&!i&&a(t[0][o]))break;r.push(o),n.unshift(o),o++}while(e[o]&&s(e,t,o,i));break}return 1!==r.length||"0"!==e[n[0]-1]&&"\u0660"!==e[n[0]-1]||n.unshift(n[0]-1),r}(n,c(u.date,e),t,u.isDigit),h="M"!==u.pattern||r.d?u.pattern:"L";o=function(e,t,n,i){let o,r,s;if(!a(e[t[0]]||"0")){const a=Math.max(t.length<=3?3:4,n.length);for(;t.length>a;){for(r=t.pop(),s=i[r],i[r]=-1,o=r+1;o<i.length;o++)i[o]--;e=e.substr(0,s)+e.substr(s+1)}for(r=t[t.length-1]+1,s=r<i.length?i[r]:r;t.length<a;){for(t.push(t[t.length-1]+1),o=r;o<i.length;o++)i[o]++;e=e.substr(0,s)+" "+e.substr(s)}}return e=function(e,t,n,i){const o=t[0],r=o<i.length?i[o]:o;return t.forEach((function(t,i){e=e.substr(0,r+i)+(n.length>1?n[i]:n)+e.substr(r+i+1)})),1===t.length&&(e=(e=e.replace("0"+n,n+n)).replace("\u0660"+n,n+n)),e}(e,t,n,i),e}(o,d,h,i),r[h]=d.length})),o=function(e,t,n,i){const o=t.split("").map((function(e,t){return n.indexOf(t)<0&&(e.match(u)||"'"===e)?i[t]:-1}));return e.split("").map((function(e,t){let n=e;const i=o.indexOf(t)>=0,r=t>0&&o.indexOf(t-1)>=0,a=o.indexOf(t+1)>=0;return i&&(r||(n="'"+n),a||(n+="'")),n})).join("")}(o,n,t,i),t.length?o:void 0}},86670:function(e,t){function n(e,t){for(;e.length<t;)e="0"+e;return e}t.getFormatter=void 0;const i={3:"abbreviated",4:"wide",5:"narrow"},o={y:function(e,t,i){let o=e[i?"getUTCFullYear":"getFullYear"]();return 2===t&&(o%=100),n(o.toString(),t)},M:function(e,t,o,r){const a=e[o?"getUTCMonth":"getMonth"](),s=i[t];return s?r.getMonthNames(s,"format")[a]:n((a+1).toString(),Math.min(t,2))},L:function(e,t,o,r){const a=e[o?"getUTCMonth":"getMonth"](),s=i[t];return s?r.getMonthNames(s,"standalone")[a]:n((a+1).toString(),Math.min(t,2))},Q:function(e,t,o,r){const a=e[o?"getUTCMonth":"getMonth"](),s=Math.floor(a/3),l=i[t];return l?r.getQuarterNames(l)[s]:n((s+1).toString(),Math.min(t,2))},E:function(e,t,n,o){const r=e[n?"getUTCDay":"getDay"](),a=i[t<3?3:t];return o.getDayNames(a)[r]},a:function(e,t,n,o){const r=e[n?"getUTCHours":"getHours"]()<12?0:1,a=i[t];return o.getPeriodNames(a)[r]},d:function(e,t,i){return n(e[i?"getUTCDate":"getDate"]().toString(),Math.min(t,2))},H:function(e,t,i){return n(e[i?"getUTCHours":"getHours"]().toString(),Math.min(t,2))},h:function(e,t,i){return n((e[i?"getUTCHours":"getHours"]()%12||12).toString(),Math.min(t,2))},m:function(e,t,i){return n(e[i?"getUTCMinutes":"getMinutes"]().toString(),Math.min(t,2))},s:function(e,t,i){return n(e[i?"getUTCSeconds":"getSeconds"]().toString(),Math.min(t,2))},S:function(e,t,i){return n(e[i?"getUTCMilliseconds":"getMilliseconds"]().toString(),3).substr(0,t)},x:function(e,t,i){const o=i?0:e.getTimezoneOffset(),r=o>0?"-":"+",a=Math.abs(o),s=a%60,l=n(Math.floor(a/60).toString(),2),c=n(s.toString(),2);return r+l+(t>=3?":":"")+(t>1||s?c:"")},X:function(e,t,n){return n||!e.getTimezoneOffset()?"Z":o.x(e,t,n)},Z:function(e,t,n){return o.X(e,t>=5?3:2,n)}};t.getFormatter=function(e,t){return function(n){let i,r,a,s=0;let l,c=!1,u="";if(!n)return null;if(!e)return n;const d="Z"===e[e.length-1]||"'Z'"===e.slice(-3);for(i=0;i<e.length;i++)a=e[i],r=o[a],l=a===e[i+1],s++,l||(r&&!c&&(u+=r(n,s,d,t)),s=0),"'"!==a||l?!c&&r||(u+=a):c=!c,"'"===a&&l&&i++;return u}}},46981:function(e,t,n){t.isPossibleForParsingFormat=t.getRegExpInfo=t.getPatternSetters=t.getParser=void 0;var i=n(17781),o=n(31951);const r={3:"abbreviated",4:"wide",5:"narrow"},a=function(e,t){return e>2?Object.keys(r).map((function(e){return["format","standalone"].map((function(n){return t.getMonthNames(r[e],n).join("|")})).join("|")})).join("|"):2===e?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},s={":":function(e,t){const n=e>1?`{${e}}`:"";let o=(0,i.escapeRegExp)(t.getTimeSeparator());return":"!==o&&(o=`${o}|:`),`${o}${n}`},y:function(e){return 2===e?`[0-9]{${e}}`:"[0-9]+?"},M:a,L:a,Q:function(e,t){return e>2?t.getQuarterNames(r[e],"format").join("|"):"0?[1-4]"},E:function(e,t){return"\\D*"},a:function(e,t){return t.getPeriodNames(r[e<3?3:e],"format").join("|")},d:function(e){return 2===e?"3[01]|[12][0-9]|0?[1-9]":"0??[1-9]|[12][0-9]|3[01]"},H:function(e){return 2===e?"2[0-3]|1[0-9]|0?[0-9]":"0??[0-9]|1[0-9]|2[0-3]"},h:function(e){return 2===e?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},m:function(e){return 2===e?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},s:function(e){return 2===e?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},S:function(e){return`[0-9]{1,${e}}`},w:function(e){return 2===e?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},x:function(e){return 3===e?"[+-](?:2[0-3]|[01][0-9]):(?:[0-5][0-9])|Z":"[+-](?:2[0-3]|[01][0-9])(?:[0-5][0-9])|Z"}},l=Number,c=function(e,t){return e.map((e=>e.toLowerCase())).indexOf(t.toLowerCase())},u=function(e,t,n){return t>2?["format","standalone"].map((function(t){return Object.keys(r).map((function(i){const o=n.getMonthNames(r[i],t);return c(o,e)}))})).reduce((function(e,t){return e.concat(t)})).filter((function(e){return e>=0}))[0]:l(e)-1},d={y:function(e,t){const n=l(e);return 2===t?n<30?2e3+n:1900+n:n},M:u,L:u,Q:function(e,t,n){return t>2?n.getQuarterNames(r[t],"format").indexOf(e):l(e)-1},E:function(e,t,n){const i=n.getDayNames(r[t<3?3:t],"format");return c(i,e)},a:function(e,t,n){const i=n.getPeriodNames(r[t<3?3:t],"format");return c(i,e)},d:l,H:l,h:l,m:l,s:l,S:function(e,t){for(t=Math.max(t,3),e=e.slice(0,3);t<3;)e+="0",t++;return l(e)}},h=["y","M","d","h","m","s","S"],f={y:"setFullYear",M:"setMonth",L:"setMonth",a:function(e,t,n){let i=e.getHours();const o=n.h;void 0!==o&&o!==i&&i--,t||12!==i?t&&12!==i&&(i+=12):i=0,e.setHours(i)},d:"setDate",H:"setHours",h:"setHours",m:"setMinutes",s:"setSeconds",S:"setMilliseconds"},p=function(e,t){const n=e[t];if(!n)return 0;let i=0;do{t++,i++}while(e[t]===n);return i},g=function(e,t){let n="";for(let i=0;i<t;i++)n+=e;return n},_=function(e,t){let n,r="",a="";const l=[],c=function(){a&&(l.push(`'${a}'`),r+=`${(0,i.escapeRegExp)(a)})`,a="")};for(let i=0;i<e.length;i++){const o=e[i],u=s[o];if(!("'"===o)||(n=!n,"'"===e[i-1]))if(u&&!n){const n=p(e,i),a=g(o,n);c(),l.push(a),r+=`(${u(n,t)})`,i+=n-1}else a||(r+="("),a+=o}return c(),v(l)||o.logger.warn(`The following format may be parsed incorrectly: ${e}.`),{patterns:l,regexp:new RegExp(`^${r}$`,"i")}};t.getRegExpInfo=_;const m=["d","H","h","m","s","w","M","L","Q"],v=function(e){const t=e=>{if(!e)return!1;const t=e[0];return["y","S"].includes(t)||m.includes(t)&&e.length<3};let n=!0,i=0;return e.every(((e,o,r)=>(t(e)&&((e=>"S"!==e[0]&&2!==e.length)(e)&&(n=++i<2),t(r[o+1])||(i=0)),n)))};t.isPossibleForParsingFormat=v;t.getPatternSetters=function(){return f};t.getParser=function(e,t){const n=_(e,t);return function(e){const i=n.regexp.exec(e);if(i){const e=new Date,o=new Date(e.getFullYear(),0,1),r=n.patterns.map((function(e){return"'"===e[0]?"":"H"===e[0]?"h":e[0]})),a=function(e){const t=e.map((function(e){return h.indexOf(e)}));return Math.max.apply(Math,t)}(r),s=function(e){const t=e.filter((function(e){return h.indexOf(e)<0}));return h.concat(t)}(r),l={};return s.forEach((function(s,c){if(!s||c<h.length&&c>a)return;const u=r.indexOf(s);if(u>=0){const e=n.patterns[u],r=i[u+1];!function(e,t,n,i,o){const r=t[0],a=f[r],s=d[r];if(a&&s){const r=s(n,t.length,i);o[t]=r,e[a]?e[a](r):a(e,r,o)}}(o,e,r,t,l)}else!function(e,t,n){const i=f[t],o=n["g"+i.substr(1)]();e[i](o)}(o,s,e)})),o}return null}}},33687:function(e,t,n){t.getFormat=function(e){let t=".";const n=e(1).indexOf("100")>=0;t=_(t,e,n,!0),t=_(t,e,n,!1);const i=m(t,e,n,!1),o=m(t,e,n,!0);return o==="-"+i?i:i+";"+o},t.getFormatter=function(e,t){return t=t||r,function(n){if("number"!=typeof n||isNaN(n))return"";const r=function(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const i=[];let o="",r="searchingSeparator";for(let a=0;a<e.length;a++){const s=e[a];"searchingSeparator"===r&&s===n?r="skippingSeparationInsideEscaping":"skippingSeparationInsideEscaping"===r&&s===n?r="searchingSeparator":"searchingSeparator"===r&&s===t&&(r="separating",i.push(o),o=""),"separating"!==r?o+=s:r="searchingSeparator"}return i.push(o),i}(e);1===t.length&&t.push("-"+t[0]);return t}(e),u=n>0||1/n==1/0,g=r[u?0:1],_=function(e){let t=!1;for(let n=0;n<e.length;n++)if("'"===e[n]&&(t=!t),"."===e[n]&&!t)return n;return e.length}(g),m=[g.substr(0,_),g.substr(_+1)],v=h(m[1]),b=v+d(m[1]);(function(e){return-1!==e.indexOf("%")&&!e.match(/'[^']*%[^']*'/g)})(g)&&(n=(0,i.multiplyInExponentialForm)(n,l)),u||(n=-n);const y=h(m[0]),x=d(m[0])||t.unlimitedIntegerDigits?void 0:y,C=Math.floor(n).toString().length,S=(0,i.fitIntoRange)(b,0,s-C),w=(E=m[0],E.split(",").slice(1).map((function(e){let t=0;return e.split("").filter((function(e,n){return t+="'"===e,!("#"!==e&&"0"!==e||t%2)})).length}))).reverse();var E;const T=(0,o.toFixed)(n,S<0?0:S).split(".");let A=f(c(T[0]),y,x);const O=f(T[1],v,b);A=function(e,t,n){if(!t.length)return e;const i=[];let o=0;for(;e;){const n=t[o];if(!n)break;i.push(e.slice(0,n)),e=e.slice(n),o<t.length-1&&o++}return i.join(n)}(A,w,t.thousandsSeparator);const k=c(p(c(m[0]),A)),D=b?p(m[1],O):"";return k+(D.match(/\d/)?t.decimalSeparator:"")+D}};var i=n(50254),o=n(57181);const r={thousandsSeparator:",",decimalSeparator:"."},a="'",s=15,l=2;function c(e){return e.toString().split("").reverse().join("")}function u(e){return e.replace(/'[^']*'/g,"")}function d(e){if(!e)return 0;const t=u(e);return t.length-t.replace(/[#]/g,"").length}function h(e){if(!e)return 0;const t=u(e);return t.length-t.replace(/[0]/g,"").length}function f(e,t,n){if(!e)return"";for(e.length>n&&(e=e.substr(0,n));e.length>t&&"0"===e.slice(-1);)e=e.substr(0,e.length-1);for(;e.length<t;)e+="0";return e}function p(e,t){return e.split(a).map((function(e,n){const i=n%2;return!e&&i?a:i?e:e.replace(/[,#0]+/,t)})).join("")}function g(e,t,n){const i=(t?.01:1)*parseFloat(e)||0;return n?-i:i}function _(e,t,n,i){let o,r,a,s=e;do{a&&(o=r.length===a.length?"0":"1",e=i?o+e:e+o),r=a||t(g(s,n)),s=i?"1"+s:s+"1",a=t(g(s,n))}while(r!==a&&(i?r.length===a.length:r.length<=a.length));if(i&&a.length>r.length){const i=-1===t(12345).indexOf("12345");do{e="1"+e}while(i&&g(e,n)<1e5)}return e}function m(e,t,n,i){let o=t(g(e,n,i));const r=e.split("."),a=t(g(r[0]+".3"+r[1].slice(1),n,i)).indexOf("3")-1;return o=o.replace(/(\d)\D(\d)/g,"$1,$2"),a>=0&&(o=o.slice(0,a)+"."+o.slice(a+1)),o=o.replace(/1+/,"1").replace(/1/g,"#"),n||(o=o.replace(/%/g,"'%'")),o}},4671:function(e,t,n){t.default=void 0;var i=c(n(89656)),o=n(52576),r=n(54497),a=n(53124),s=c(n(84109)),l=n(62788);function c(e){return e&&e.__esModule?e:{default:e}}const u=(0,o.extend)(!0,{},l.defaultMessages),d={},h=(0,i.default)({engine:function(){return"base"},_dictionary:u,load:function(e){(0,o.extend)(!0,this._dictionary,e)},_localizablePrefix:"@",setup:function(e){this._localizablePrefix=e},localizeString:function(e){const t=this,n=new RegExp("(^|[^a-zA-Z_0-9"+t._localizablePrefix+"-]+)("+t._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),i=t._localizablePrefix+t._localizablePrefix;return e.replace(n,((e,n,o,r)=>{const s=t._localizablePrefix+r;let l;return o!==i&&(l=t.format(r)),l||(d[r]=(0,a.humanize)(r)),n+(l||s)}))},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?d:(0,o.extend)({},d,this.getMessagesByLocales()[s.default.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en")},_getFormatterBase:function(e,t){const n=s.default.getValueByClosestLocale((t=>((e,t)=>{var n;return e[t]||(null==t?void 0:t.toLowerCase)&&(null===(n=Object.entries(e).find((e=>{let[n]=e;return n.toLowerCase()===t.toLowerCase()})))||void 0===n?void 0:n[1])||{}})(this._dictionary,t)[e]));if(n)return function(){const e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(n),r.format.apply(this,e)}},format:function(e){const t=this.getFormatter(e),n=Array.prototype.slice.call(arguments,1);return t&&t.apply(this,n)||""}});t.default=h;e.exports=t.default,e.exports.default=t.default},52771:function(e,t,n){t.default=void 0;var i=f(n(89656)),o=n(17781),r=n(21274),a=n(11528),s=n(33687),l=f(n(66636)),c=f(n(87129)),u=n(57181),d=f(n(17333)),h=f(n(63265));function f(e){return e&&e.__esModule?e:{default:e}}const p="undefined"!=typeof Intl,g=["currency","fixedpoint","exponential","percent","decimal"],_={1:"K",2:"M",3:"B",4:"T"},m={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},v=(0,i.default)({engine:function(){return"base"},numericFormats:g,defaultLargeNumberFormatPostfixes:_,_parseNumberFormatString:function(e){const t={};if(!e||"string"!=typeof e)return;const n=e.toLowerCase().split(" ");return(0,r.each)(n,((e,n)=>{g.includes(n)?t.formatType=n:n in m&&(t.power=m[n])})),t.power&&!t.formatType&&(t.formatType="fixedpoint"),t.formatType?t:void 0},_calculateNumberPower:function(e,t,n,i){let o=Math.abs(e),r=0;if(o>1)for(;o&&o>=t&&(void 0===i||r<i);)r++,o/=t;else if(o>0&&o<1)for(;o<1&&(void 0===n||r>n);)r--,o*=t;return r},_getNumberByPower:function(e,t,n){let i=e;for(;t>0;)i/=n,t--;for(;t<0;)i*=n,t++;return i},_formatNumber:function(e,t,n){"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,4)),t.power&&(e=this._getNumberByPower(e,t.power,1e3));const i=this.defaultLargeNumberFormatPostfixes[t.power]||"";let o=this._formatNumberCore(e,t.formatType,n);return o=o.replace(/(\d|.$)(\D*)$/,"$1"+i+"$2"),o},_formatNumberExponential:function(e,t){let n=this._calculateNumberPower(e,10),i=this._getNumberByPower(e,n,10);void 0===t.precision&&(t.precision=1),i.toFixed(t.precision||0)>=10&&(n++,i/=10);const o=(n>=0?"+":"")+n.toString();return this._formatNumberCore(i,"fixedpoint",t)+"E"+o},_addZeroes:function(e,t){const n=Math.pow(10,t),i=e<0?"-":"";let o=(e=(Math.abs(e)*n>>>0)/n).toString();for(;o.length<t;)o="0"+o;return i+o},_addGroupSeparators:function(e){const t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,(0,l.default)().thousandsSeparator)+(t[1]?(0,l.default)().decimalSeparator+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("decimal"!==t&&null!==n.precision&&(n.precision=n.precision||0),"percent"===t&&(e*=100),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():(0,u.toFixed)(e,n.precision)),e="decimal"!==t?this._addGroupSeparators(e):e.toString().replace(".",(0,l.default)().decimalSeparator),"percent"===t&&(e+="%"),e)},_normalizeFormat:function(e){return e?("function"==typeof e||(0,a.isPlainObject)(e)||(e={type:e}),e):{}},_getSeparators:function(){return{decimalSeparator:this.getDecimalSeparator(),thousandsSeparator:this.getThousandsSeparator()}},getThousandsSeparator:function(){return this.format(1e4,"fixedPoint")[2]},getDecimalSeparator:function(){return this.format(1.2,{type:"fixedPoint",precision:1})[1]},convertDigits:function(e,t){const n=this.format(90,"decimal");if("string"!=typeof e||"0"===n[1])return e;const i=t?n[1]:"0",o=t?"0":n[1],r=t?n[0]:"9",a=new RegExp("["+i+"-"+r+"]","g");return e.replace(a,(e=>String.fromCharCode(e.charCodeAt(0)+(o.charCodeAt(0)-i.charCodeAt(0)))))},getNegativeEtalonRegExp:function(e){const t=this._getSeparators(),n=new RegExp("[0-9"+(0,o.escapeRegExp)(t.decimalSeparator+t.thousandsSeparator)+"]+","g");let i=this.format(-1,e).replace(n,"1");return["\\","(",")","[","]","*","+","$","^","?","|","{","}"].forEach((e=>{i=i.replace(new RegExp(`\\${e}`,"g"),`\\${e}`)})),i=i.replace(/ /g,"\\s"),i=i.replace(/1/g,".*"),new RegExp(i,"g")},getSign:function(e,t){if(!t)return"-"===e.replace(/[^0-9-]/g,"").charAt(0)?-1:1;const n=this.getNegativeEtalonRegExp(t);return e.match(n)?-1:1},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if("function"==typeof(t=t&&t.formatter||t))return t(e);(t=this._normalizeFormat(t)).type||(t.type="decimal");const n=this._parseNumberFormatString(t.type);if(!n){const n=this._getSeparators();n.unlimitedIntegerDigits=t.unlimitedIntegerDigits;const i=(0,s.getFormatter)(t.type,n)(e);return this.convertDigits(i)}return this._formatNumber(e,n,t)},parse:function(e,t){if(!e)return;if(t&&t.parser)return t.parser(e);e=this.convertDigits(e,!0),t&&"string"!=typeof t&&c.default.log("W0011");const n=this.getDecimalSeparator(),i=new RegExp("[^0-9"+(0,o.escapeRegExp)(n)+"]","g"),r=e.replace(i,"").replace(n,".").replace(/\.$/g,"");if("."===r||""===r)return null;if(this._calcSignificantDigits(r)>15)return NaN;let a=+r*this.getSign(e,t);t=this._normalizeFormat(t);const s=this._parseNumberFormatString(t.type);let l=null==s?void 0:s.power;if(l){if("auto"===l){const t=e.match(/\d(K|M|B|T)/);t&&(l=Object.keys(_).find((e=>_[e]===t[1])))}a*=Math.pow(10,3*l)}return"percent"===(null==s?void 0:s.formatType)&&(a/=100),a},_calcSignificantDigits:function(e){const[t,n]=e.split("."),i=e=>{let t=-1;for(let n=0;n<e.length;n++)if("0"!==e[n]){t=n;break}return t>-1?e.length-t:0};let o=0;return t&&(o+=i(t.split(""))),n&&(o+=i(n.split("").reverse())),o}});v.inject(d.default),p&&v.inject(h.default);t.default=v;e.exports=t.default,e.exports.default=t.default},70832:function(e,t){t.default=void 0;t.default=(e,t)=>{if(!t)return;let n=e;if("string"==typeof e){n="";for(let t=0;t<e.length;t++)"$"!==e[t]&&(n+="\\"),n+=e[t]}const i={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':""","\\\xa4":n},o=t.split(";");for(let e=0;e<o.length;e++)for(const t in i)Object.prototype.hasOwnProperty.call(i,t)&&(o[e]=o[e].replace(new RegExp(t,"g"),i[t]));return 2===o.length?o[0]+"_);"+o[1]:o[0]},e.exports=t.default,e.exports.default=t.default},55088:function(e,t){t.default=void 0;t.default=(e,t)=>{const n=e[t];return n?"root"!==n&&n:t.substr(0,t.lastIndexOf("-"))},e.exports=t.default,e.exports.default=t.default},57181:function(e,t,n){t.toFixed=function(e,t){const n=t||0,r=n>0?function(e,t){const n=Math.pow(o,t),r=(0,i.multiplyInExponentialForm)(e,t);return function(e){const t=(0,i.sign)(e);return t*Math.round(Math.abs(e))}(r)/n}(...arguments):e;return r.toFixed(n)};var i=n(50254);const o=10},11036:function(e,t,n){Object.defineProperty(t,"ArrayStore",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"CustomStore",{enumerable:!0,get:function(){return r.CustomStore}}),Object.defineProperty(t,"DataHelperMixin",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"DataSource",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"EdmLiteral",{enumerable:!0,get:function(){return g.EdmLiteral}}),Object.defineProperty(t,"EndpointSelector",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"LocalStore",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"ODataContext",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"ODataStore",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"applyChanges",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"base64_encode",{enumerable:!0,get:function(){return d.base64_encode}}),Object.defineProperty(t,"compileGetter",{enumerable:!0,get:function(){return d.compileGetter}}),Object.defineProperty(t,"compileSetter",{enumerable:!0,get:function(){return d.compileSetter}}),Object.defineProperty(t,"errorHandler",{enumerable:!0,get:function(){return l.errorHandler}}),Object.defineProperty(t,"isGroupItemsArray",{enumerable:!0,get:function(){return r.isGroupItemsArray}}),Object.defineProperty(t,"isItemsArray",{enumerable:!0,get:function(){return r.isItemsArray}}),Object.defineProperty(t,"isLoadResultObject",{enumerable:!0,get:function(){return r.isLoadResultObject}}),Object.defineProperty(t,"keyConverters",{enumerable:!0,get:function(){return g.keyConverters}}),Object.defineProperty(t,"query",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"setErrorHandler",{enumerable:!0,get:function(){return l.setErrorHandler}});var i=_(n(99745)),o=_(n(80556)),r=n(63326),a=_(n(14479)),s=_(n(44180)),l=n(82812),c=_(n(71790)),u=_(n(30771)),d=n(89358),h=_(n(16780)),f=_(n(34170)),p=_(n(29284)),g=n(8056);function _(e){return e&&e.__esModule?e:{default:e}}},5995:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(1773))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},99745:function(e,t,n){t.default=void 0;var i=n(43792);t.default=i.applyChanges;e.exports=t.default,e.exports.default=t.default},65517:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(79587))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},80556:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(11338))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},43792:function(e,t,n){var i=n(3198);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},63326:function(e,t,n){Object.defineProperty(t,"CustomStore",{enumerable:!0,get:function(){return o.default}}),t.isGroupItemsArray=function(e){return Array.isArray(e)&&!!e.length&&r(e[0])},t.isItemsArray=function(e){return Array.isArray(e)&&!r(e[0])},t.isLoadResultObject=function(e){return!Array.isArray(e)&&"data"in e};var i,o=(i=n(12764))&&i.__esModule?i:{default:i};function r(e){return null!=e&&"object"==typeof e&&("key"in e&&"items"in e)}},14479:function(e,t,n){t.default=void 0;var i=n(68216);t.default=i.DataSource;e.exports=t.default,e.exports.default=t.default},68216:function(e,t,n){var i=n(79562);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},95853:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(9427))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},97169:function(e,t,n){var i=n(23923);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},44180:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(17410))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},82812:function(e,t,n){var i=n(5930);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},71790:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(33260))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},34170:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(58824))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},65001:function(e,t,n){var i=n(61575);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},26098:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(8920))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},29284:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(17594))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},8056:function(e,t,n){var i=n(14606);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},30771:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(45149))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},5842:function(e,t){t.default=void 0;t.default={};e.exports=t.default,e.exports.default=t.default},84816:function(e,t,n){t.queryImpl=void 0;var i=r(n(65517)),o=r(n(80882));function r(e){return e&&e.__esModule?e:{default:e}}t.queryImpl={array:i.default,remote:o.default}},80882:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(51324))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},66177:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(41943))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},89358:function(e,t,n){var i={compileGetter:!0,compileSetter:!0};Object.defineProperty(t,"compileGetter",{enumerable:!0,get:function(){return o.compileGetter}}),Object.defineProperty(t,"compileSetter",{enumerable:!0,get:function(){return o.compileSetter}});var o=n(31e3),r=n(30912);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},54594:function(e,t,n){Object.defineProperty(t,"exportDataGrid",{enumerable:!0,get:function(){return i.exportDataGrid}}),Object.defineProperty(t,"exportPivotGrid",{enumerable:!0,get:function(){return o.exportPivotGrid}});var i=n(55921),o=n(44295)},92731:function(e,t,n){Object.defineProperty(t,"exportDataGrid",{enumerable:!0,get:function(){return i.exportDataGrid}}),Object.defineProperty(t,"exportDataGridWithAutoTable",{enumerable:!0,get:function(){return o.exportDataGrid}}),Object.defineProperty(t,"exportGantt",{enumerable:!0,get:function(){return r.exportGantt}});var i=n(93932),o=n(89222),r=n(81863)},71037:function(e,t,n){t.default=void 0;var i=n(7201);t.default=i.Guid;e.exports=t.default,e.exports.default=t.default},32480:function(e,t,n){t.default=void 0;var i=n(61644);t.default=i.setTemplateEngine;e.exports=t.default,e.exports.default=t.default},88412:function(e,t,n){t.default=void 0;var i=n(3226);t.default=i.Action;e.exports=t.default,e.exports.default=t.default},55620:function(e,t,n){t.default=void 0;var i,o=(i=n(40958))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},17863:function(e,t,n){var i=n(65020);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},92848:function(e,t,n){t.default=void 0;var i=n(10718);t.default=i.registerComponent;e.exports=t.default,e.exports.default=t.default},55771:function(e,t,n){t.default=void 0;var i=n(21233);t.default=i.componentRegistratorCallbacks;e.exports=t.default,e.exports.default=t.default},66636:function(e,t,n){t.default=void 0;var i=n(83077);t.default=i.config;e.exports=t.default,e.exports.default=t.default},65951:function(e,t,n){t.default=void 0;var i=n(63705);t.default=i.devices;e.exports=t.default,e.exports.default=t.default},64960:function(e,t,n){t.default=void 0;var i=n(62018);t.default=i.domAdapter;e.exports=t.default,e.exports.default=t.default},97832:function(e,t,n){t.default=void 0;var i,o=(i=n(22331))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},61404:function(e,t,n){Object.defineProperty(t,"getPublicElement",{enumerable:!0,get:function(){return i.getPublicElement}}),Object.defineProperty(t,"getPublicElementNonJquery",{enumerable:!0,get:function(){return i.getPublicElementNonJquery}}),Object.defineProperty(t,"setPublicElementWrapper",{enumerable:!0,get:function(){return i.setPublicElementWrapper}});var i=n(93630)},74663:function(e,t,n){Object.defineProperty(t,"afterCleanData",{enumerable:!0,get:function(){return i.afterCleanData}}),Object.defineProperty(t,"beforeCleanData",{enumerable:!0,get:function(){return i.beforeCleanData}}),Object.defineProperty(t,"cleanData",{enumerable:!0,get:function(){return i.cleanData}}),Object.defineProperty(t,"cleanDataRecursive",{enumerable:!0,get:function(){return i.cleanDataRecursive}}),Object.defineProperty(t,"data",{enumerable:!0,get:function(){return i.data}}),Object.defineProperty(t,"getDataStrategy",{enumerable:!0,get:function(){return i.getDataStrategy}}),Object.defineProperty(t,"removeData",{enumerable:!0,get:function(){return i.removeData}}),Object.defineProperty(t,"setDataStrategy",{enumerable:!0,get:function(){return i.setDataStrategy}}),Object.defineProperty(t,"strategyChanging",{enumerable:!0,get:function(){return i.strategyChanging}});var i=n(29489)},87129:function(e,t,n){t.default=void 0;var i,o=(i=n(5583))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},2607:function(e,t,n){Object.defineProperty(t,"EventsStrategy",{enumerable:!0,get:function(){return i.EventsStrategy}});var i=n(14201)},19427:function(e,t,n){t.default=void 0;var i=n(83077);t.default=i.Guid;e.exports=t.default,e.exports.default=t.default},35688:function(e,t,n){t.default=void 0;var i=n(58670);t.default=i.httpRequest;e.exports=t.default,e.exports.default=t.default},16965:function(e,t,n){t.default=void 0;var i=n(21327);t.default=i.infernoRenderer;e.exports=t.default,e.exports.default=t.default},35329:function(e,t,n){t.default=void 0;var i=n(87107);t.default=i.MemorizedCallbacks;e.exports=t.default,e.exports.default=t.default},74453:function(e,t,n){Object.defineProperty(t,"Options",{enumerable:!0,get:function(){return i.Options}});var i=n(43399)},1896:function(e,t,n){Object.defineProperty(t,"OptionManager",{enumerable:!0,get:function(){return i.OptionManager}});var i=n(59830)},53904:function(e,t,n){Object.defineProperty(t,"convertRulesToOptions",{enumerable:!0,get:function(){return i.convertRulesToOptions}}),Object.defineProperty(t,"createDefaultOptionRules",{enumerable:!0,get:function(){return i.createDefaultOptionRules}}),Object.defineProperty(t,"deviceMatch",{enumerable:!0,get:function(){return i.deviceMatch}}),Object.defineProperty(t,"getFieldName",{enumerable:!0,get:function(){return i.getFieldName}}),Object.defineProperty(t,"getNestedOptionValue",{enumerable:!0,get:function(){return i.getNestedOptionValue}}),Object.defineProperty(t,"getParentName",{enumerable:!0,get:function(){return i.getParentName}}),Object.defineProperty(t,"normalizeOptions",{enumerable:!0,get:function(){return i.normalizeOptions}});var i=n(33810)},21971:function(e,t,n){Object.defineProperty(t,"PostponedOperations",{enumerable:!0,get:function(){return i.PostponedOperations}});var i=n(45693)},64553:function(e,t,n){t.default=void 0;var i=n(95539);t.default=i.renderer;e.exports=t.default,e.exports.default=t.default},21681:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(1811))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},11787:function(e,t,n){t.default=void 0;var i=n(57785);t.default=i.resizeObserverSingleton;e.exports=t.default,e.exports.default=t.default},91366:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.setTemplateEngine}});var i=n(83077);e.exports=t.default,e.exports.default=t.default},91585:function(e,t,n){Object.defineProperty(t,"ChildDefaultTemplate",{enumerable:!0,get:function(){return i.ChildDefaultTemplate}});var i=n(93971)},48650:function(e,t,n){Object.defineProperty(t,"EmptyTemplate",{enumerable:!0,get:function(){return i.EmptyTemplate}});var i=n(11768)},38699:function(e,t,n){Object.defineProperty(t,"FunctionTemplate",{enumerable:!0,get:function(){return i.FunctionTemplate}});var i=n(88969)},67872:function(e,t,n){Object.defineProperty(t,"Template",{enumerable:!0,get:function(){return i.Template}});var i=n(52538)},42186:function(e,t,n){Object.defineProperty(t,"TemplateBase",{enumerable:!0,get:function(){return i.TemplateBase}}),Object.defineProperty(t,"renderedCallbacks",{enumerable:!0,get:function(){return i.renderedCallbacks}});var i=n(31292)},35155:function(e,t,n){Object.defineProperty(t,"getCurrentTemplateEngine",{enumerable:!0,get:function(){return i.getCurrentTemplateEngine}}),Object.defineProperty(t,"registerTemplateEngine",{enumerable:!0,get:function(){return i.registerTemplateEngine}}),Object.defineProperty(t,"setTemplateEngine",{enumerable:!0,get:function(){return i.setTemplateEngine}});var i=n(70785)},71669:function(e,t,n){t.default=void 0;var i=n(99671);t.default={registerTrialPanelComponents:i.registerTrialPanelComponents,showTrialPanel:i.showTrialPanel};e.exports=t.default,e.exports.default=t.default},78670:function(e,t,n){t.default=void 0;var i=n(14136);t.default=i.Ajax;e.exports=t.default,e.exports.default=t.default},28248:function(e,t,n){Object.defineProperty(t,"evalCrossDomainScript",{enumerable:!0,get:function(){return i.evalCrossDomainScript}}),Object.defineProperty(t,"evalScript",{enumerable:!0,get:function(){return i.evalScript}}),Object.defineProperty(t,"getAcceptHeader",{enumerable:!0,get:function(){return i.getAcceptHeader}}),Object.defineProperty(t,"getJsonpCallbackName",{enumerable:!0,get:function(){return i.getJsonpCallbackName}}),Object.defineProperty(t,"getMethod",{enumerable:!0,get:function(){return i.getMethod}}),Object.defineProperty(t,"getRequestHeaders",{enumerable:!0,get:function(){return i.getRequestHeaders}}),Object.defineProperty(t,"getRequestOptions",{enumerable:!0,get:function(){return i.getRequestOptions}}),Object.defineProperty(t,"isCrossDomain",{enumerable:!0,get:function(){return i.isCrossDomain}});var i=n(42202)},94487:function(e,t,n){Object.defineProperty(t,"getIntersection",{enumerable:!0,get:function(){return i.getIntersection}}),Object.defineProperty(t,"getUniqueValues",{enumerable:!0,get:function(){return i.getUniqueValues}}),Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return i.groupBy}}),Object.defineProperty(t,"normalizeIndexes",{enumerable:!0,get:function(){return i.normalizeIndexes}}),Object.defineProperty(t,"removeDuplicates",{enumerable:!0,get:function(){return i.removeDuplicates}}),Object.defineProperty(t,"wrapToArray",{enumerable:!0,get:function(){return i.wrapToArray}});var i=n(28601)},48314:function(e,t,n){t.default=void 0;var i=n(33436);t.default=i.browser;e.exports=t.default,e.exports.default=t.default},13630:function(e,t,n){t.default=void 0;var i=n(58060);t.default=i.callOnce;e.exports=t.default,e.exports.default=t.default},84718:function(e,t,n){t.default=void 0;var i=n(63172);t.default=i.Callbacks;e.exports=t.default,e.exports.default=t.default},17781:function(e,t,n){Object.defineProperty(t,"applyServerDecimalSeparator",{enumerable:!0,get:function(){return i.applyServerDecimalSeparator}}),Object.defineProperty(t,"asyncNoop",{enumerable:!0,get:function(){return i.asyncNoop}}),Object.defineProperty(t,"deferRender",{enumerable:!0,get:function(){return i.deferRender}}),Object.defineProperty(t,"deferRenderer",{enumerable:!0,get:function(){return i.deferRenderer}}),Object.defineProperty(t,"deferUpdate",{enumerable:!0,get:function(){return i.deferUpdate}}),Object.defineProperty(t,"deferUpdater",{enumerable:!0,get:function(){return i.deferUpdater}}),Object.defineProperty(t,"denormalizeKey",{enumerable:!0,get:function(){return i.denormalizeKey}}),Object.defineProperty(t,"ensureDefined",{enumerable:!0,get:function(){return i.ensureDefined}}),Object.defineProperty(t,"equalByValue",{enumerable:!0,get:function(){return i.equalByValue}}),Object.defineProperty(t,"escapeRegExp",{enumerable:!0,get:function(){return i.escapeRegExp}}),Object.defineProperty(t,"executeAsync",{enumerable:!0,get:function(){return i.executeAsync}}),Object.defineProperty(t,"findBestMatches",{enumerable:!0,get:function(){return i.findBestMatches}}),Object.defineProperty(t,"getKeyHash",{enumerable:!0,get:function(){return i.getKeyHash}}),Object.defineProperty(t,"grep",{enumerable:!0,get:function(){return i.grep}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return i.noop}}),Object.defineProperty(t,"normalizeKey",{enumerable:!0,get:function(){return i.normalizeKey}}),Object.defineProperty(t,"pairToObject",{enumerable:!0,get:function(){return i.pairToObject}}),Object.defineProperty(t,"splitPair",{enumerable:!0,get:function(){return i.splitPair}});var i=n(39315)},60648:function(e,t,n){Object.defineProperty(t,"equals",{enumerable:!0,get:function(){return i.equals}});var i=n(90834)},31951:function(e,t,n){Object.defineProperty(t,"debug",{enumerable:!0,get:function(){return i.debug}}),Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return i.logger}});var i=n(35005)},31e3:function(e,t,n){Object.defineProperty(t,"compileGetter",{enumerable:!0,get:function(){return i.compileGetter}}),Object.defineProperty(t,"compileSetter",{enumerable:!0,get:function(){return i.compileSetter}}),Object.defineProperty(t,"getPathParts",{enumerable:!0,get:function(){return i.getPathParts}}),Object.defineProperty(t,"toComparable",{enumerable:!0,get:function(){return i.toComparable}});var i=n(93142)},41380:function(e,t,n){t.default=void 0;var i=n(66570);t.default=i.dateUtils;e.exports=t.default,e.exports.default=t.default},71051:function(e,t,n){t.default=void 0;var i=n(62897);t.default=i.dateSerialization;e.exports=t.default,e.exports.default=t.default},87739:function(e,t,n){Object.defineProperty(t,"Deferred",{enumerable:!0,get:function(){return i.Deferred}}),Object.defineProperty(t,"fromPromise",{enumerable:!0,get:function(){return i.fromPromise}}),Object.defineProperty(t,"setStrategy",{enumerable:!0,get:function(){return i.setStrategy}}),Object.defineProperty(t,"when",{enumerable:!0,get:function(){return i.when}});var i=n(77117)},89656:function(e,t,n){t.default=void 0;var i=n(62142);t.default=i.injector;e.exports=t.default,e.exports.default=t.default},86858:function(e,t,n){Object.defineProperty(t,"clearSelection",{enumerable:!0,get:function(){return i.clearSelection}}),Object.defineProperty(t,"clipboardText",{enumerable:!0,get:function(){return i.clipboardText}}),Object.defineProperty(t,"closestCommonParent",{enumerable:!0,get:function(){return i.closestCommonParent}}),Object.defineProperty(t,"contains",{enumerable:!0,get:function(){return i.contains}}),Object.defineProperty(t,"createTextElementHiddenCopy",{enumerable:!0,get:function(){return i.createTextElementHiddenCopy}}),Object.defineProperty(t,"extractTemplateMarkup",{enumerable:!0,get:function(){return i.extractTemplateMarkup}}),Object.defineProperty(t,"insertBefore",{enumerable:!0,get:function(){return i.insertBefore}}),Object.defineProperty(t,"isElementInDom",{enumerable:!0,get:function(){return i.isElementInDom}}),Object.defineProperty(t,"normalizeTemplateElement",{enumerable:!0,get:function(){return i.normalizeTemplateElement}}),Object.defineProperty(t,"replaceWith",{enumerable:!0,get:function(){return i.replaceWith}}),Object.defineProperty(t,"resetActiveElement",{enumerable:!0,get:function(){return i.resetActiveElement}});var i=n(76400)},67264:function(e,t,n){t.default=void 0;var i=n(40818);t.default=i.error;e.exports=t.default,e.exports.default=t.default},52576:function(e,t,n){Object.defineProperty(t,"extend",{enumerable:!0,get:function(){return i.extend}}),Object.defineProperty(t,"extendFromObject",{enumerable:!0,get:function(){return i.extendFromObject}});var i=n(96298)},23563:function(e,t,n){Object.defineProperty(t,"isTablePart",{enumerable:!0,get:function(){return i.isTablePart}}),Object.defineProperty(t,"parseHTML",{enumerable:!0,get:function(){return i.parseHTML}});var i=n(25317)},69629:function(e,t,n){Object.defineProperty(t,"getImageContainer",{enumerable:!0,get:function(){return i.getImageContainer}}),Object.defineProperty(t,"getImageSourceType",{enumerable:!0,get:function(){return i.getImageSourceType}});var i=n(42463)},53124:function(e,t,n){Object.defineProperty(t,"camelize",{enumerable:!0,get:function(){return i.camelize}}),Object.defineProperty(t,"captionize",{enumerable:!0,get:function(){return i.captionize}}),Object.defineProperty(t,"dasherize",{enumerable:!0,get:function(){return i.dasherize}}),Object.defineProperty(t,"humanize",{enumerable:!0,get:function(){return i.humanize}}),Object.defineProperty(t,"titleize",{enumerable:!0,get:function(){return i.titleize}}),Object.defineProperty(t,"underscore",{enumerable:!0,get:function(){return i.underscore}});var i=n(66122)},21274:function(e,t,n){Object.defineProperty(t,"each",{enumerable:!0,get:function(){return i.each}}),Object.defineProperty(t,"map",{enumerable:!0,get:function(){return i.map}}),Object.defineProperty(t,"reverseEach",{enumerable:!0,get:function(){return i.reverseEach}});var i=n(26044)},50512:function(e,t,n){t.default=void 0;var i=n(24574);t.default=i.Locker;e.exports=t.default,e.exports.default=t.default},50254:function(e,t,n){Object.defineProperty(t,"adjust",{enumerable:!0,get:function(){return i.adjust}}),Object.defineProperty(t,"fitIntoRange",{enumerable:!0,get:function(){return i.fitIntoRange}}),Object.defineProperty(t,"getExponent",{enumerable:!0,get:function(){return i.getExponent}}),Object.defineProperty(t,"getExponentLength",{enumerable:!0,get:function(){return i.getExponentLength}}),Object.defineProperty(t,"getPrecision",{enumerable:!0,get:function(){return i.getPrecision}}),Object.defineProperty(t,"getRemainderByDivision",{enumerable:!0,get:function(){return i.getRemainderByDivision}}),Object.defineProperty(t,"getRoot",{enumerable:!0,get:function(){return i.getRoot}}),Object.defineProperty(t,"inRange",{enumerable:!0,get:function(){return i.inRange}}),Object.defineProperty(t,"multiplyInExponentialForm",{enumerable:!0,get:function(){return i.multiplyInExponentialForm}}),Object.defineProperty(t,"roundFloatPart",{enumerable:!0,get:function(){return i.roundFloatPart}}),Object.defineProperty(t,"sign",{enumerable:!0,get:function(){return i.sign}}),Object.defineProperty(t,"solveCubicEquation",{enumerable:!0,get:function(){return i.solveCubicEquation}}),Object.defineProperty(t,"trunc",{enumerable:!0,get:function(){return i.trunc}});var i=n(80764)},22263:function(e,t,n){Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return i.clone}}),Object.defineProperty(t,"deepExtendArraySafe",{enumerable:!0,get:function(){return i.deepExtendArraySafe}}),Object.defineProperty(t,"legacyAssign",{enumerable:!0,get:function(){return i.legacyAssign}}),Object.defineProperty(t,"newAssign",{enumerable:!0,get:function(){return i.newAssign}}),Object.defineProperty(t,"orderEach",{enumerable:!0,get:function(){return i.orderEach}});var i=n(86005)},41639:function(e,t,n){Object.defineProperty(t,"getBoundingRect",{enumerable:!0,get:function(){return i.getBoundingRect}}),Object.defineProperty(t,"getDefaultAlignment",{enumerable:!0,get:function(){return i.getDefaultAlignment}});var i=n(80125)},85521:function(e,t,n){Object.defineProperty(t,"attachInstanceToElement",{enumerable:!0,get:function(){return i.attachInstanceToElement}}),Object.defineProperty(t,"getInstanceByElement",{enumerable:!0,get:function(){return i.getInstanceByElement}}),Object.defineProperty(t,"name",{enumerable:!0,get:function(){return i.name}});var i=n(871)},65221:function(e,t,n){Object.defineProperty(t,"create",{enumerable:!0,get:function(){return i.create}}),Object.defineProperty(t,"enqueue",{enumerable:!0,get:function(){return i.enqueue}});var i=n(52799)},3122:function(e,t,n){t.default=void 0;var i=n(18344);t.default=i.readyCallbacksModule;e.exports=t.default,e.exports.default=t.default},63283:function(e,t,n){t.default=void 0;var i=n(33717);t.default=i.resizeCallbacks;e.exports=t.default,e.exports.default=t.default},93631:function(e,t,n){Object.defineProperty(t,"addShadowDomStyles",{enumerable:!0,get:function(){return i.addShadowDomStyles}}),Object.defineProperty(t,"getShadowElementsFromPoint",{enumerable:!0,get:function(){return i.getShadowElementsFromPoint}});var i=n(17113)},57653:function(e,t,n){Object.defineProperty(t,"addOffsetToMaxHeight",{enumerable:!0,get:function(){return i.addOffsetToMaxHeight}}),Object.defineProperty(t,"addOffsetToMinHeight",{enumerable:!0,get:function(){return i.addOffsetToMinHeight}}),Object.defineProperty(t,"getElementBoxParams",{enumerable:!0,get:function(){return i.getElementBoxParams}}),Object.defineProperty(t,"getHeight",{enumerable:!0,get:function(){return i.getHeight}}),Object.defineProperty(t,"getInnerHeight",{enumerable:!0,get:function(){return i.getInnerHeight}}),Object.defineProperty(t,"getInnerWidth",{enumerable:!0,get:function(){return i.getInnerWidth}}),Object.defineProperty(t,"getOffset",{enumerable:!0,get:function(){return i.getOffset}}),Object.defineProperty(t,"getOuterHeight",{enumerable:!0,get:function(){return i.getOuterHeight}}),Object.defineProperty(t,"getOuterWidth",{enumerable:!0,get:function(){return i.getOuterWidth}}),Object.defineProperty(t,"getSize",{enumerable:!0,get:function(){return i.getSize}}),Object.defineProperty(t,"getVerticalOffsets",{enumerable:!0,get:function(){return i.getVerticalOffsets}}),Object.defineProperty(t,"getVisibleHeight",{enumerable:!0,get:function(){return i.getVisibleHeight}}),Object.defineProperty(t,"getWidth",{enumerable:!0,get:function(){return i.getWidth}}),Object.defineProperty(t,"getWindowByElement",{enumerable:!0,get:function(){return i.getWindowByElement}}),Object.defineProperty(t,"implementationsMap",{enumerable:!0,get:function(){return i.implementationsMap}}),Object.defineProperty(t,"parseHeight",{enumerable:!0,get:function(){return i.parseHeight}}),Object.defineProperty(t,"setHeight",{enumerable:!0,get:function(){return i.setHeight}}),Object.defineProperty(t,"setInnerHeight",{enumerable:!0,get:function(){return i.setInnerHeight}}),Object.defineProperty(t,"setInnerWidth",{enumerable:!0,get:function(){return i.setInnerWidth}}),Object.defineProperty(t,"setOuterHeight",{enumerable:!0,get:function(){return i.setOuterHeight}}),Object.defineProperty(t,"setOuterWidth",{enumerable:!0,get:function(){return i.setOuterWidth}}),Object.defineProperty(t,"setWidth",{enumerable:!0,get:function(){return i.setWidth}});var i=n(64587)},98479:function(e,t,n){Object.defineProperty(t,"sessionStorage",{enumerable:!0,get:function(){return i.sessionStorage}});var i=n(47865)},54497:function(e,t,n){Object.defineProperty(t,"encodeHtml",{enumerable:!0,get:function(){return i.encodeHtml}}),Object.defineProperty(t,"format",{enumerable:!0,get:function(){return i.format}}),Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return i.isEmpty}}),Object.defineProperty(t,"quadToObject",{enumerable:!0,get:function(){return i.quadToObject}});var i=n(32527)},58515:function(e,t,n){Object.defineProperty(t,"normalizeStyleProp",{enumerable:!0,get:function(){return i.normalizeStyleProp}}),Object.defineProperty(t,"parsePixelValue",{enumerable:!0,get:function(){return i.parsePixelValue}}),Object.defineProperty(t,"setHeight",{enumerable:!0,get:function(){return i.setHeight}}),Object.defineProperty(t,"setStyle",{enumerable:!0,get:function(){return i.setStyle}}),Object.defineProperty(t,"setWidth",{enumerable:!0,get:function(){return i.setWidth}}),Object.defineProperty(t,"styleProp",{enumerable:!0,get:function(){return i.styleProp}}),Object.defineProperty(t,"stylePropPrefix",{enumerable:!0,get:function(){return i.stylePropPrefix}});var i=n(11953)},4785:function(e,t,n){Object.defineProperty(t,"animation",{enumerable:!0,get:function(){return i.animation}}),Object.defineProperty(t,"inputType",{enumerable:!0,get:function(){return i.inputType}}),Object.defineProperty(t,"nativeScrolling",{enumerable:!0,get:function(){return i.nativeScrolling}}),Object.defineProperty(t,"pointerEvents",{enumerable:!0,get:function(){return i.pointerEvents}}),Object.defineProperty(t,"styleProp",{enumerable:!0,get:function(){return i.styleProp}}),Object.defineProperty(t,"stylePropPrefix",{enumerable:!0,get:function(){return i.stylePropPrefix}}),Object.defineProperty(t,"supportProp",{enumerable:!0,get:function(){return i.supportProp}}),Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return i.touch}}),Object.defineProperty(t,"touchEvents",{enumerable:!0,get:function(){return i.touchEvents}}),Object.defineProperty(t,"transition",{enumerable:!0,get:function(){return i.transition}}),Object.defineProperty(t,"transitionEndEventName",{enumerable:!0,get:function(){return i.transitionEndEventName}});var i=n(85991)},47420:function(e,t,n){Object.defineProperty(t,"HIDDEN_FOR_EXPORT",{enumerable:!0,get:function(){return i.HIDDEN_FOR_EXPORT}}),Object.defineProperty(t,"getSvgElement",{enumerable:!0,get:function(){return i.getSvgElement}}),Object.defineProperty(t,"getSvgMarkup",{enumerable:!0,get:function(){return i.getSvgMarkup}});var i=n(89650)},49194:function(e,t,n){Object.defineProperty(t,"acquireIntegrationTemplate",{enumerable:!0,get:function(){return i.acquireIntegrationTemplate}}),Object.defineProperty(t,"acquireTemplate",{enumerable:!0,get:function(){return i.acquireTemplate}}),Object.defineProperty(t,"addOneRenderedCall",{enumerable:!0,get:function(){return i.addOneRenderedCall}}),Object.defineProperty(t,"addPublicElementNormalization",{enumerable:!0,get:function(){return i.addPublicElementNormalization}}),Object.defineProperty(t,"defaultCreateElement",{enumerable:!0,get:function(){return i.defaultCreateElement}}),Object.defineProperty(t,"findTemplates",{enumerable:!0,get:function(){return i.findTemplates}}),Object.defineProperty(t,"getNormalizedTemplateArgs",{enumerable:!0,get:function(){return i.getNormalizedTemplateArgs}}),Object.defineProperty(t,"suitableTemplatesByName",{enumerable:!0,get:function(){return i.suitableTemplatesByName}}),Object.defineProperty(t,"templateKey",{enumerable:!0,get:function(){return i.templateKey}}),Object.defineProperty(t,"validateTemplateSource",{enumerable:!0,get:function(){return i.validateTemplateSource}});var i=n(91008)},11528:function(e,t,n){Object.defineProperty(t,"isBoolean",{enumerable:!0,get:function(){return i.isBoolean}}),Object.defineProperty(t,"isDate",{enumerable:!0,get:function(){return i.isDate}}),Object.defineProperty(t,"isDeferred",{enumerable:!0,get:function(){return i.isDeferred}}),Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return i.isDefined}}),Object.defineProperty(t,"isEmptyObject",{enumerable:!0,get:function(){return i.isEmptyObject}}),Object.defineProperty(t,"isEvent",{enumerable:!0,get:function(){return i.isEvent}}),Object.defineProperty(t,"isExponential",{enumerable:!0,get:function(){return i.isExponential}}),Object.defineProperty(t,"isFunction",{enumerable:!0,get:function(){return i.isFunction}}),Object.defineProperty(t,"isNumeric",{enumerable:!0,get:function(){return i.isNumeric}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return i.isObject}}),Object.defineProperty(t,"isPlainObject",{enumerable:!0,get:function(){return i.isPlainObject}}),Object.defineProperty(t,"isPrimitive",{enumerable:!0,get:function(){return i.isPrimitive}}),Object.defineProperty(t,"isPromise",{enumerable:!0,get:function(){return i.isPromise}}),Object.defineProperty(t,"isRenderer",{enumerable:!0,get:function(){return i.isRenderer}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return i.isString}}),Object.defineProperty(t,"isWindow",{enumerable:!0,get:function(){return i.isWindow}}),Object.defineProperty(t,"type",{enumerable:!0,get:function(){return i.type}});var i=n(39918)},40216:function(e,t,n){t.default=void 0;var i=n(66082);t.default=i.variableWrapper;e.exports=t.default,e.exports.default=t.default},20142:function(e,t,n){Object.defineProperty(t,"compare",{enumerable:!0,get:function(){return i.compare}});var i=n(5388)},55355:function(e,t,n){Object.defineProperty(t,"changeCallback",{enumerable:!0,get:function(){return i.changeCallback}}),Object.defineProperty(t,"originalViewPort",{enumerable:!0,get:function(){return i.originalViewPort}}),Object.defineProperty(t,"value",{enumerable:!0,get:function(){return i.value}});var i=n(65913)},3104:function(e,t,n){Object.defineProperty(t,"defaultScreenFactorFunc",{enumerable:!0,get:function(){return i.defaultScreenFactorFunc}}),Object.defineProperty(t,"getCurrentScreenFactor",{enumerable:!0,get:function(){return i.getCurrentScreenFactor}}),Object.defineProperty(t,"getNavigator",{enumerable:!0,get:function(){return i.getNavigator}}),Object.defineProperty(t,"getWindow",{enumerable:!0,get:function(){return i.getWindow}}),Object.defineProperty(t,"hasProperty",{enumerable:!0,get:function(){return i.hasProperty}}),Object.defineProperty(t,"hasWindow",{enumerable:!0,get:function(){return i.hasWindow}}),Object.defineProperty(t,"setWindow",{enumerable:!0,get:function(){return i.setWindow}});var i=n(14470)},1956:function(e,t){t.version=t.fullVersion=void 0;t.version="25.1.3",t.fullVersion="25.1.3"},48367:function(e,t,n){Object.defineProperty(t,"c",{enumerable:!0,get:function(){return i.assertDevExtremeVersion}});var i=n(20258)},77735:function(e,t,n){Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var i,o=(i=n(5995))&&i.__esModule?i:{default:i};e.exports=t.default,e.exports.default=t.default},50797:function(e,t,n){t.default=void 0;var i=n(11036);t.default=i.applyChanges;e.exports=t.default,e.exports.default=t.default},67664:function(e,t,n){t.default=void 0;var i,o=(i=n(80556))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},37754:function(e,t,n){t.default=void 0;var i=n(63326);t.default=i.CustomStore;e.exports=t.default,e.exports.default=t.default},47283:function(e,t,n){t.default=void 0;var i,o=(i=n(14479))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},73192:function(e,t,n){t.default=void 0;var i,o=(i=n(44180))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},74760:function(e,t,n){Object.defineProperty(t,"errorHandler",{enumerable:!0,get:function(){return o.errorHandler}}),Object.defineProperty(t,"setErrorHandler",{enumerable:!0,get:function(){return i.setErrorHandler}});var i=n(11036),o=n(82812)},1242:function(e,t,n){t.default=void 0;var i,o=(i=n(71790))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},87062:function(e,t,n){t.default=void 0;var i,o=(i=n(34170))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},25184:function(e,t,n){t.default=void 0;var i,o=(i=n(29284))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},57076:function(e,t,n){var i=n(8056);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},22567:function(e,t,n){t.default=void 0;var i=n(11036);t.default=i.query;e.exports=t.default,e.exports.default=t.default},99354:function(e,t,n){var i=n(89358);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},87755:function(e,t,n){t.default=void 0;var i=n(16780);t.default=i.DataHelperMixin;e.exports=t.default,e.exports.default=t.default},10714:function(e,t,n){t.triggerHandler=void 0;var i,o=(i=n(92774))&&i.__esModule?i:{default:i};t.triggerHandler=o.default.triggerHandler},69786:function(e,t,n){Object.defineProperty(t,"off",{enumerable:!0,get:function(){return i.off}}),Object.defineProperty(t,"on",{enumerable:!0,get:function(){return i.on}}),Object.defineProperty(t,"one",{enumerable:!0,get:function(){return i.one}}),Object.defineProperty(t,"trigger",{enumerable:!0,get:function(){return i.trigger}}),Object.defineProperty(t,"triggerHandler",{enumerable:!0,get:function(){return o.triggerHandler}});var i=n(52391),o=n(10714)},6285:function(e,t,n){Object.defineProperty(t,"exportDataGrid",{enumerable:!0,get:function(){return i.exportDataGrid}}),Object.defineProperty(t,"exportPivotGrid",{enumerable:!0,get:function(){return i.exportPivotGrid}});var i=n(54594)},73549:function(e,t,n){t.export=function(e,t,n){if(!e)return(new s.Deferred).resolve();const o=t.exportingAction,r=t.exportedAction,l=t.fileSavingAction,c={fileName:t.fileName,format:t.format,cancel:!1};(0,a.isBoolean)(t.selectedRowsOnly)&&(c.selectedRowsOnly=t.selectedRowsOnly);if((0,a.isFunction)(o)&&o(c),!c.cancel)return n(e,t).then((e=>{if((0,a.isFunction)(r)&&r(),(0,a.isFunction)(l)&&(c.data=e,l(c)),!c.cancel){const n="xlsx"===t.format?"EXCEL":t.format;i.fileSaver.saveAs(c.fileName,n,e)}}));return(new s.Deferred).resolve()},Object.defineProperty(t,"fileSaver",{enumerable:!0,get:function(){return i.fileSaver}}),t.svg=t.pdf=t.image=void 0;var i=n(34924),o=n(28456),r=n(86195),a=n(11528),s=n(87739),l=n(49343);t.image={creator:o.imageCreator,getData:o.getData,testFormats:o.testFormats},t.pdf={getData:l.getData},t.svg={creator:r.svgCreator,getData:r.getData}},55972:function(e,t,n){t.ExportLoadPanel=void 0;var i=c(n(64553)),o=n(52576),r=c(n(4671)),a=n(11528),s=c(n(31876)),l=c(n(53226));function c(e){return e&&e.__esModule?e:{default:e}}t.ExportLoadPanel=class{constructor(e,t,n,o){this._$targetElement=t,this._$container=n,this._loadPanel=e._createComponent((0,i.default)("<div>").addClass("dx-export-loadpanel").appendTo(this._$container),s.default,this.getOptions(o))}getDefaultOptions(){return{animation:null,shading:!1,height:90,width:200,container:this._$container}}getOptions(e){return(0,a.isDefined)(e.text)?e.message=e.text:e.message=r.default.format("dxDataGrid-exporting"),(0,o.extend)(this.getDefaultOptions(),e)}show(){this._loadPanel.option("position",l.default.calculateLoadPanelPosition(this._$targetElement)),this._loadPanel.show()}dispose(){(0,i.default)(this._loadPanel.element()).remove(),delete this._loadPanel}}},60199:function(e,t,n){t.Export=void 0;var i=n(11528),o=n(18053),r=n(52576),a=n(55972),s=n(3104);t.Export={getFullOptions(e){const t=(0,r.extend)({},e);if(!(0,i.isDefined)(t.worksheet)||!(0,i.isObject)(t.worksheet))throw Error('The "worksheet" field must contain an object.');if((0,i.isDefined)(t.topLeftCell)){if((0,i.isString)(t.topLeftCell)){const{row:e,col:n}=t.worksheet.getCell(t.topLeftCell);t.topLeftCell={row:e,column:n}}}else t.topLeftCell={row:1,column:1};return(0,i.isDefined)(t.keepColumnWidths)||(t.keepColumnWidths=!0),(0,i.isDefined)(t.loadPanel)||(t.loadPanel={}),(0,i.isDefined)(t.loadPanel.enabled)||(t.loadPanel.enabled=!0),(0,i.isDefined)(t.encodeExecutableContent)||(t.encodeExecutableContent=!1),t},convertDateForExcelJS:e=>new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())),setNumberFormat(e,t){e.numFmt=t},getCellStyles(e){const t=e.getStyles();return t.forEach((e=>{let t=this.tryConvertToExcelNumberFormat(e.format,e.dataType);(0,i.isDefined)(t)&&(t=t.replace(/"/g,'"')),e.numberFormat=t})),t},tryConvertToExcelNumberFormat(e,t){const n=o.ExportFormat.formatObjectConverter(e,t),i=n.currency;return e=n.format,t=n.dataType,o.ExportFormat.convertFormat(e,n.precision,t,i)},setAlignment(e,t,n){e.alignment=e.alignment??{},(0,i.isDefined)(t)&&(e.alignment.wrapText=t),(0,i.isDefined)(n)&&(e.alignment.horizontal=n),e.alignment.vertical="top"},setColumnsWidth(e,t,n){if((0,i.isDefined)(t))for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o&&isFinite(o)&&(e.getColumn(n+i).width=Math.min(255,Math.floor(o/7*100)/100))}},export(e,t,n,i){var o;const{component:l,worksheet:c,topLeftCell:u,keepColumnWidths:d,selectedRowsOnly:h,loadPanel:f,encodeExecutableContent:p}=e,g=l.getDataProvider(h),_=(null===(o=l._getInternalInstance)||void 0===o?void 0:o.call(l))||l,m=_.option("loadPanel")&&_.option("loadPanel").enabled;let v;if(m&&l.option("loadPanel.enabled",!1),f.enabled&&(0,s.hasWindow)()){const e=n(l),t=i(l);v=new a.ExportLoadPanel(l,e,t,f),v.show()}const b=!!l.option("wordWrapEnabled");c.properties.outlineProperties={summaryBelow:!1,summaryRight:!1};const y={from:{row:u.row,column:u.column},to:{row:u.row,column:u.column}};return new Promise((n=>{g.ready().done((()=>{const i=g.getColumns(),o=g.getRowsCount(),a=new t(l,g,c,e);d&&this.setColumnsWidth(c,g.getColumnsWidths(),y.from.column),a._exportAllFieldHeaders(i,this.setAlignment);const s=a._getFieldHeaderRowsCount();y.to.row=y.from.row+s;const u=this.getCellStyles(g);for(let e=0;e<o;e++){const t=y.from.row+s+e,n=c.getRow(t);let o=0;a._isRowFieldHeadersRow(e)&&(o=g.getRowAreaColCount(),a._exportFieldHeaders("row",t,0,o,this.setAlignment)),a._trySetOutlineLevel(n,e),this.exportRow(g,a,n,e,o,i.length,b,u,p),y.to.row=t}a.mergedRangesManager.applyMergedRages(),y.to.column+=i.length>0?i.length-1:0;const h=c.views[0]||{};l.option("rtlEnabled")&&(h.rightToLeft=!0),a._isFrozenZone(g)&&(-1===Object.keys(h).indexOf("state")&&(0,r.extend)(h,a._getWorksheetFrozenState(y)),a._trySetAutoFilter(y)),Object.keys(h).length>0&&(c.views=[h]),n(y)})).always((()=>{m&&l.option("loadPanel.enabled",m),f.enabled&&(0,s.hasWindow)()&&v.dispose()}))}))},exportRow(e,t,n,r,a,s,l,c,u){for(let d=a;d<s;d++){const a=e.getCellData(r,d,!0),s=n.getCell(t._getFirstColumnIndex()+d);t.mergedRangesManager.updateMergedRanges(s,r,d,t);const h=t.mergedRangesManager.findMergedCellInfo(r,d,t._isHeaderCell(r,d));if((0,i.isDefined)(h)&&s!==h.masterCell)s.style=h.masterCell.style,s.value=h.masterCell.value;else if((0,i.isDate)(a.value)?s.value=this.convertDateForExcelJS(a.value):s.value=a.value,(0,i.isDefined)(s.value)){const{bold:n,alignment:o,numberFormat:a}=c[e.getStyleId(r,d)];(0,i.isDefined)(a)?this.setNumberFormat(s,a):(0,i.isString)(s.value)&&/^[@=+-]/.test(s.value)&&this.setNumberFormat(s,"@"),t._trySetFont(s,n),this.setAlignment(s,l,o)}t._customizeCell(s,a.cellSourceData),u&&(s.value=o.ExportFormat.encode(s.value))}}}},55921:function(e,t,n){t.exportDataGrid=function(e){return o.Export.export(function(e){if(!(0,i.isDefined)(e)||!(0,i.isObject)(e))throw Error('The "exportDataGrid" method requires a configuration object.');if(!(0,i.isDefined)(e.component)||!(0,i.isObject)(e.component)||"dxDataGrid"!==e.component.NAME)throw Error('The "component" field must contain a DataGrid instance.');(0,i.isDefined)(e.selectedRowsOnly)||(e.selectedRowsOnly=!1);(0,i.isDefined)(e.autoFilterEnabled)||(e.autoFilterEnabled=!1);return o.Export.getFullOptions(e)}(e),a,s,l)};var i=n(11528),o=n(60199),r=n(6103);class a{constructor(e,t,n,i){this.component=e,this.dataProvider=t,this.worksheet=n,this.mergedRangesManager=new r.MergedRangesManager(t,n),this.topLeftCell=i.topLeftCell,this.customizeCell=i.customizeCell,this.autoFilterEnabled=i.autoFilterEnabled}_getFirstColumnIndex(){return this.topLeftCell.column}_getFieldHeaderRowsCount(){return 0}_trySetAutoFilter(e){if(this.autoFilterEnabled&&!(0,i.isDefined)(this.worksheet.autoFilter)&&this.dataProvider.getRowsCount()>0){const t={from:{row:e.from.row+this.dataProvider.getHeaderRowCount()-1,column:e.from.column},to:e.to};this.worksheet.autoFilter=t}}_trySetFont(e,t){(0,i.isDefined)(t)&&(e.font=e.font||{},e.font.bold=t)}_getWorksheetFrozenState(e){return{state:"frozen",ySplit:e.from.row+this.dataProvider.getFrozenArea().y-1}}_trySetOutlineLevel(e,t){t>=this.dataProvider.getHeaderRowCount()&&(e.outlineLevel=this.dataProvider.getGroupLevel(t))}_isFrozenZone(e){return e.getHeaderRowCount()>0}_isHeaderCell(e){return e<this.dataProvider.getHeaderRowCount()}_isInfoCell(){return!1}_allowToMergeRange(){return!0}_getAllFieldHeaders(){return[]}_customizeCell(e,t){(0,i.isFunction)(this.customizeCell)&&this.customizeCell({excelCell:e,gridCell:t})}_exportFieldHeaders(){}_exportAllFieldHeaders(){}_isRowFieldHeadersRow(){}}function s(e){return e.getView("rowsView").element()}function l(e){return e.getView("rowsView").element().parent()}},18053:function(e,t,n){t.ExportFormat=void 0;var i=n(54497),o=u(n(52771)),r=u(n(38662)),a=n(11528),s=n(83445),l=n(64333),c=n(52576);function u(e){return e&&e.__esModule?e:{default:e}}n(17333);const d={thousands:"#,##0{0},"K"",millions:"#,##0{0},,"M"",billions:"#,##0{0},,,"B"",trillions:"#,##0{0},,,,"T"",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "},h=/a+/g,f=/E/g,p=/dE+/g,g=/L/g,_=/h/g,m=/./g;function v(e){const t=(r.default.format(new Date(2009,8,8,6,5,4),e)||"").toString();let n=(0,s.getFormat)((t=>r.default.format(t,e)));return n&&(n=function(e){return e.split("/").join("\\/").split("'").map((function(e,t){return t%2==0?e.replace(h,"AM/PM").replace(p,"d").replace(f,"d").replace(g,"M").replace(_,"H").split("[").join("\\[").split("]").join("\\]"):e?e.replace(m,"\\$&"):"'"})).join("")}(n),n=function(e){const t=(0,l.getLanguageId)();let n=t?t.toString(16):"",i="";if(function(e){let t;for(let n=0;n<e.length;n++)if(t=e.charCodeAt(n),t>=1632&&t<1642)return!0;return!1}(e)){for(;n.length<3;)n="0"+n;i="[$-2010"+n+"]"}else n&&(i="[$-"+n+"]");return i}(t)+n),n}function b(e){return!!e&&(!!/^[@=\t\r]/.test(e)||!!/^[+-]/.test(e)&&!(0,a.isNumeric)(e))}t.ExportFormat={formatObjectConverter(e,t){const n={format:e,precision:e&&e.precision,dataType:t};return(0,a.isObject)(e)?(0,c.extend)(n,e,{format:e.formatter||e.type,currency:e.currency}):n},convertFormat(e,t,n,r){if((0,a.isDefined)(e)){if("date"===n)return v(e);if((0,a.isString)(e)&&d[e.toLowerCase()])return function(e,t,n){let r,a;return a="currency"===e?o.default.getOpenXmlCurrencyFormat(n):d[e.toLowerCase()],a&&(r=(0,i.format)(a,function(e,t){let n,i;if(t>0){for(n="decimal"!==e?".":"",i=0;i<t;i++)n+="0";return n}return""}(e,t))),r}(e,t,r)}},encode(e){const t='"';let n=!1;if(!function(e){return!(!e||e.length<2)&&b(e)}(e)?function(e,t){return!(!e||e.length<4||e[0]!==t)&&b(e.substring(1,e.length-1))}(e,t)&&(e=e.substring(1,e.length-1),n=!0):n=!0,n){const n=t,i=`${t}${t}`;return"\"'"+e.replaceAll(n,i)+t}return e}}},6103:function(e,t){t.MergedRangesManager=void 0;t.MergedRangesManager=class{constructor(e,t){this.dataProvider=e,this.worksheet=t,this.mergedCells=[],this.mergedRanges=[]}updateMergedRanges(e,t,n,i){if(i._isHeaderCell(t,n)&&!this.isCellInMergedRanges(t,n)){const{rowspan:o,colspan:r}=this.dataProvider.getCellMerging(t,n);if(r||o){const a=i._allowToMergeRange(t,n,o,r);if(this.updateMergedCells(e,t,n,o,r),a){const a=i._isInfoCell(t,n)&&i._allowExportRowFieldHeaders();this.mergedRanges.push({masterCell:e,rowspan:o-(a&&o>0),colspan:r})}}}}isCellInMergedRanges(e,t){return this.mergedCells[e]&&this.mergedCells[e][t]}findMergedCellInfo(e,t,n){if(n&&this.isCellInMergedRanges(e,t))return this.mergedCells[e][t]}updateMergedCells(e,t,n,i,o){for(let r=t;r<=t+i;r++)for(let t=n;t<=n+o;t++)this.mergedCells[r]||(this.mergedCells[r]=[]),this.mergedCells[r][t]={masterCell:e}}addMergedRange(e,t,n){this.mergedRanges.push({masterCell:e,rowspan:t,colspan:n})}applyMergedRages(){this.mergedRanges.forEach((e=>{const t=e.masterCell.fullAddress.row,n=e.masterCell.fullAddress.col,i=t+e.rowspan,o=n+e.colspan;this.worksheet.mergeCells(t,n,i,o)}))}}},44295:function(e,t,n){t.exportPivotGrid=function(e){return o.Export.export(function(e){if(!(0,i.isDefined)(e)||!(0,i.isObject)(e))throw Error('The "exportPivotGrid" method requires a configuration object.');if(!(0,i.isDefined)(e.component)||!(0,i.isObject)(e.component)||"dxPivotGrid"!==e.component.NAME)throw Error('The "component" field must contain a PivotGrid instance.');(0,i.isDefined)(e.mergeRowFieldValues)||(e.mergeRowFieldValues=!0);(0,i.isDefined)(e.mergeColumnFieldValues)||(e.mergeColumnFieldValues=!0);(0,i.isDefined)(e.exportDataFieldHeaders)||(e.exportDataFieldHeaders=!1);(0,i.isDefined)(e.exportRowFieldHeaders)||(e.exportRowFieldHeaders=!1);(0,i.isDefined)(e.exportColumnFieldHeaders)||(e.exportColumnFieldHeaders=!1);(0,i.isDefined)(e.exportFilterFieldHeaders)||(e.exportFilterFieldHeaders=!1);return o.Export.getFullOptions(e)}(e),c,u,d)};var i=n(11528),o=n(60199),r=n(41639),a=n(53124),s=n(6103);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}class c{constructor(e,t,n,i){this.component=e,this.dataProvider=t,this.worksheet=n,this.mergedRangesManager=new s.MergedRangesManager(t,n),this.topLeftCell=i.topLeftCell,this.customizeCell=i.customizeCell,this.mergeColumnFieldValues=i.mergeColumnFieldValues,this.mergeRowFieldValues=i.mergeRowFieldValues,this.exportFilterFieldHeaders=i.exportFilterFieldHeaders,this.exportDataFieldHeaders=i.exportDataFieldHeaders,this.exportColumnFieldHeaders=i.exportColumnFieldHeaders,this.exportRowFieldHeaders=i.exportRowFieldHeaders,this.rtlEnabled=e.option("rtlEnabled"),this.rowHeaderLayout=e.option("rowHeaderLayout"),this.wrapText=!!e.option("wordWrapEnabled"),this.filterFieldHeaders=this._tryGetFieldHeaders("filter"),this.dataFieldHeaders=this._tryGetFieldHeaders("data"),this.columnFieldHeaders=this._tryGetFieldHeaders("column"),this.rowFieldHeaders=this._tryGetFieldHeaders("row")}_getFirstColumnIndex(){return this.topLeftCell.column}_getWorksheetFrozenState(e){const{x:t,y:n}=this.dataProvider.getFrozenArea();return{state:"frozen",xSplit:e.from.column+t-1,ySplit:e.from.row+n+this._getFieldHeaderRowsCount()-1}}_getFieldHeaderRowsCount(){return 0+this._allowExportFilterFieldHeaders()+(this._allowExportDataFieldHeaders()||this._allowExportColumnFieldHeaders())}_isFrozenZone(){return!0}_isHeaderCell(e,t){return e<this.dataProvider.getColumnAreaRowCount()||t<this.dataProvider.getRowAreaColCount()}_getDefaultFieldHeaderCellsData(e){return{text:e,value:e}}_isInfoCell(e,t){return e<this.dataProvider.getColumnAreaRowCount()&&t<this.dataProvider.getRowAreaColCount()}_allowToMergeRange(e,t,n,i){return!(this.dataProvider.isColumnAreaCell(e,t)&&!this.mergeColumnFieldValues&&i||this.dataProvider.isRowAreaCell(e,t)&&!this.mergeRowFieldValues&&n)}_trySetAutoFilter(){}_trySetFont(e,t){(0,i.isDefined)(t)&&(e.font=e.font||{},e.font.bold=t)}_getFieldHeaderStyles(){const e={style:"thin",color:{argb:"FF7E7E7E"}};return{alignment:(0,r.getDefaultAlignment)(this.rtlEnabled),bold:!0,border:{bottom:e,left:e,right:e,top:e}}}_trySetOutlineLevel(){}_getAllFieldHeaders(){return this.dataProvider._exportController.getDataSource()._descriptions}_tryGetFieldHeaders(e){if(!this[`export${(0,a.camelize)(e,!0)}FieldHeaders`])return[];const t=this._getAllFieldHeaders()["data"===e?"values":`${e}s`].filter((t=>t.area===e));return"right"===(0,r.getDefaultAlignment)(this.rtlEnabled)&&t.sort(((e,t)=>t.areaIndex-e.areaIndex)),t.map((e=>e.caption))}_customizeCell(e,t,n){(0,i.isFunction)(this.customizeCell)&&!n&&this.customizeCell({excelCell:e,pivotCell:t})}_isRowFieldHeadersRow(e){const t=this._isInfoCell(e,0)&&"row"===this.dataProvider.getCellData(e+1,0,!0).cellSourceData.area;return this._allowExportRowFieldHeaders()&&t}_exportAllFieldHeaders(e,t){const n=e.length,i=this.dataProvider.getRowAreaColCount();let o=this.topLeftCell.row;this._allowExportFilterFieldHeaders()&&(this._exportFieldHeaders("filter",o,0,n,t),o++),this._allowExportDataFieldHeaders()&&(this._exportFieldHeaders("data",o,0,i,t),this._allowExportColumnFieldHeaders()||this._exportFieldHeaders("column",o,i,n-i,t)),this._allowExportColumnFieldHeaders()&&(this._allowExportDataFieldHeaders()||this._exportFieldHeaders("data",o,0,i,t),this._exportFieldHeaders("column",o,i,n-i,t))}_exportFieldHeaders(e,t,n,i,o){const r=this[`${e}FieldHeaders`],a=this.worksheet.getRow(t),s="row"!==e||"row"===e&&"tree"===this.rowHeaderLayout;s&&this.mergedRangesManager.addMergedRange(a.getCell(this.topLeftCell.column+n),0,i-1);for(let t=0;t<i;t++){const c=a.getCell(this.topLeftCell.column+n+t),u=r;let d=[];const h=u.length>i||s?u.join(", "):u[t];d=l({},this._getDefaultFieldHeaderCellsData(h),{headerType:e}),c.value=h,this._applyHeaderStyles(c,o),this._customizeCell(c,d)}}_applyHeaderStyles(e,t){const{bold:n,alignment:i,border:o}=this._getFieldHeaderStyles();this._trySetFont(e,n),t(e,this.wrapText,i),e.border=o}_allowExportRowFieldHeaders(){return this.rowFieldHeaders.length>0}_allowExportFilterFieldHeaders(){return this.filterFieldHeaders.length>0}_allowExportDataFieldHeaders(){return this.dataFieldHeaders.length>0}_allowExportColumnFieldHeaders(){return this.columnFieldHeaders.length>0}}function u(e){return e._dataArea.groupElement()}function d(e){return e.$element()}},34924:function(e,t,n){t.fileSaver=t.MIME_TYPES=void 0;var i=l(n(64960)),o=n(3104),r=l(n(35185)),a=n(11528),s=n(31951);function l(e){return e&&e.__esModule?e:{default:e}}const c=(0,o.getWindow)(),u=(0,o.getNavigator)(),d={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},h=t.MIME_TYPES={CSS:"text/css",EXCEL:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PNG:"image/png",JPEG:"image/jpeg",GIF:"image/gif",SVG:"image/svg+xml",PDF:"application/pdf"};t.fileSaver={_revokeObjectURLTimeout:3e4,_getDataUri:function(e,t){return`data:${this._getMimeType(e)};base64,${t}`},_getMimeType:function(e){return h[e]||"application/octet-stream"},_linkDownloader:function(e,t){const n=i.default.createElement("a");return n.download=e,n.href=t,n.target="_blank",n},_winJSBlobSave:function(e,t,n){const i=new Windows.Storage.Pickers.FileSavePicker;i.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary;const o=d[n];if(o){const e=this._getMimeType(n);i.fileTypeChoices.insert(e,["."+o])}i.suggestedFileName=t,i.pickSaveFileAsync().then((function(t){t&&t.openAsync(Windows.Storage.FileAccessMode.readWrite).then((function(t){const n=e.msDetachStream();Windows.Storage.Streams.RandomAccessStream.copyAsync(n,t).then((function(){t.flushAsync().done((function(){n.close(),t.close()}))}))}))}))},_click:function(e){try{e.dispatchEvent(new MouseEvent("click",{cancelable:!0}))}catch(t){const n=i.default.getDocument().createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,c,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}},_saveBlobAs:function(e,t,n){if(this._blobSaved=!1,(0,a.isDefined)(u.msSaveOrOpenBlob))u.msSaveOrOpenBlob(n,e),this._blobSaved=!0;else if((0,a.isDefined)(c.WinJS))this._winJSBlobSave(n,e,t),this._blobSaved=!0;else{const t=c.URL||c.webkitURL||c.mozURL||c.msURL||c.oURL;if((0,a.isDefined)(t)){const i=t.createObjectURL(n),o=this._linkDownloader(e,i);setTimeout((()=>{t.revokeObjectURL(i),this._objectUrlRevoked=!0}),this._revokeObjectURLTimeout),this._click(o)}else s.logger.warn("window.URL || window.webkitURL || window.mozURL || window.msURL || window.oURL is not defined")}},saveAs:function(e,t,n){const i=d[t];if(i&&(e+="."+i),(0,a.isFunction)(c.Blob))this._saveBlobAs(e,t,n);else{(0,a.isDefined)(u.userAgent.match(/iPad/i))||r.default.log("E1034");const i=this._linkDownloader(e,this._getDataUri(t,n));this._click(i)}}}},28456:function(e,t,n){t.calcScaledInfo=K,t.getData=function(e,t){return Y.getData(e,t)},t.imageCreator=void 0,t.testFormats=function(e){const t=Y._createCanvas(100,100,0);return e.reduce((function(e,n){const i=("image/"+n).toLowerCase();return-1!==t.toDataURL(i).indexOf(i)?e.supported.push(n):e.unsupported.push(n),e}),{supported:[],unsupported:[]})};var i=p(n(64553)),o=p(n(43101)),r=n(11528),a=p(n(89650)),s=n(21274),l=n(52576),c=p(n(64960)),u=n(86858),d=n(3104),h=n(53124),f=n(87739);function p(e){return e&&e.__esModule?e:{default:e}}const g=(0,d.getWindow)(),_=Math,m=_.PI,v=_.min,b=_.abs,y=_.sqrt,x=_.pow,C=_.atan2,S=_.cos,w=_.sin,E=Number,T=.05;let A;function O(e,t,n,i,o,r,a,s){const l=(e+n)/2,c=(t+i)/2;let u=C(t-i,e-n);const d=r?1:-1;u+=m/180*90*(a?1:-1);const h=y(x(n-e,2)+x(i-t,2))/2,f=y(b(x(o,2)-x(h,2))),p=l+d*(f*S(u)),g=c+d*(f*w(u)),_=C(t-g,e-p),v=C(i-g,n-p);s.arc(p,g,o,_,v,!a)}function k(e,t){const n=A(e.attributes||{}),i=(0,l.extend)({},n,{text:e.textContent.replace(/\s+/g," "),textAlign:"middle"===n["text-anchor"]?"center":n["text-anchor"]}),o=n.transform;let a;return o&&(a=o.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),a&&(a=a[0].match(/-*\d+([.]\d+)*/g),i.translateX=E(a[0]),i.translateY=a[1]?E(a[1]):0),a=o.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),a&&(a=a[0].match(/-*\d+([.]\d+)*/g),i.rotationAngle=E(a[0]),i.rotationX=a[1]&&E(a[1]),i.rotationY=a[2]&&E(a[2])),a=o.match(/scale\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),a&&(a=a[0].match(/-*\d+([.]\d+)*/g),i.scaleX=E(a[0]),a.length>1?i.scaleY=E(a[1]):i.scaleY=i.scaleX)),function(e,t,n){let i,o=e.style||{};for(i in o)""!==o[i]&&(t[(0,h.camelize)(i)]=o[i]);n&&c.default.isElementNode(e)&&(o=g.getComputedStyle(e),["fill","stroke","stroke-width","font-family","font-size","font-style","font-weight"].forEach((function(e){e in o&&""!==o[e]&&(t[(0,h.camelize)(e)]=o[e])})),["opacity","fill-opacity","stroke-opacity"].forEach((function(e){e in o&&""!==o[e]&&"1"!==o[e]&&(t[e]=E(o[e]))})));t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=(0,r.isDefined)(t.opacity)?t.opacity:t.globalAlpha}(e,i,t),i}function D(e){const t=e&&e.match(/url\(.*#(.*?)["']?\)/i);return t&&t[1]}function L(e,t){const n=[];t.fontSize=t.fontSize||"10px",t.fontFamily=t.fontFamily||"sans-serif",t.fill=t.fill||"#000",t.fontStyle&&n.push(t.fontStyle),t.fontWeight&&n.push(t.fontWeight),n.push(t.fontSize),n.push(t.fontFamily),e.font=n.join(" "),e.textAlign=t.textAlign,e.fillStyle=t.fill,e.globalAlpha=t.globalAlpha}function P(e,t,n){L(e,t),V(e,t,n),t.text&&e.fillText(t.text,t.x||0,t.y||0),Z(e,t,!0),function(e,t,n){if(!t.textDecoration||"none"===t.textDecoration)return;const i=t.x,o=e.measureText(t.text).width,r=parseInt(t.fontSize,10),a=r*T<1?1:r*T;let s=t.y;switch(t.textDecoration){case"line-through":s-=r/3+a/2;break;case"overline":s-=r-a;break;case"underline":s+=a}e.rect(i,s,o,a),W(e,t,n),Z(e,t)}(e,t,n)}function M(e){const t=e.childNodes;for(let e=0;e<t.length;e++)if("tspan"===t[e].tagName)return!0;return!1}function R(e,t,n,i){const o=[];let r,a=0;for(let s=0;s<e.length;s++){const c=e[s];if(void 0===c.tagName)I(c,t,n,i);else if("tspan"===c.tagName||"text"===c.tagName){const e=k(c,i.rootAppended),s=(0,l.extend)({},n,e);if("tspan"===c.tagName&&M(c)){R(c.childNodes,t,s,i);continue}s.textAlign="start",r&&void 0===e.x||(r={elements:[],options:[],widths:[],offsets:[]},o.push(r)),void 0!==e.y&&(a=0),void 0!==e.dy&&(a+=parseFloat(e.dy)),r.elements.push(c),r.options.push(s),r.offsets.push(a),L(t,s),r.widths.push(t.measureText(s.text).width)}}o.forEach((function(e){const o=e.widths.reduce((function(e,t){return e+t}),0);let r=0,a=0;"center"===n.textAlign&&(r=o/2),"end"===n.textAlign&&(r=o),e.options.forEach((function(t,n){const i=e.widths[n];t.x=t.x-r+a,t.y+=e.offsets[n],a+=i})),e.elements.forEach((function(n,o){R(n.childNodes,t,e.options[o],i)}))}))}function I(e,t,n,i){const o=e.tagName,r="text"===o||"tspan"===o||void 0===o,s="image"===o,c=8===e.nodeType,u=(0,l.extend)({},n,k(e,i.rootAppended));if("hidden"===u.visibility||u[a.default.HIDDEN_FOR_EXPORT]||c)return;let d;switch(t.save(),!s&&F(t,u),H(t,u,i),function(e){e.strokeOpacity=void 0!==e["stroke-opacity"]?e["stroke-opacity"]:1,e.fillOpacity=void 0!==e["fill-opacity"]?e["fill-opacity"]:1,void 0!==e.opacity&&(e.strokeOpacity*=e.opacity,e.fillOpacity*=e.opacity)}(u),t.beginPath(),e.tagName){case void 0:P(t,u,i);break;case"text":case"tspan":R(e.childNodes,t,u,i);break;case"image":d=function(e,t,n){const i=new f.Deferred,o=new g.Image;return o.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,F(e,t),H(e,t,n),e.drawImage(o,t.x||0,t.y||0,t.width,t.height),e.restore(),i.resolve()},o.onerror=function(){i.resolve()},o.setAttribute("crossOrigin","anonymous"),o.src=t.href||t["xlink:href"],i}(t,u,i);break;case"path":!function(e,t){const n=t.replace(/,/g," ").split(/([A-Z])/i).filter((e=>""!==e.trim()));let i,o,r,a=0;do{switch(i=(n[a+1]||"").trim().split(" "),n[a]){case"M":e.moveTo(E(i[0]),E(i[1])),a+=2;break;case"L":for(let t=0;t<i.length/2;t++)e.lineTo(E(i[2*t]),E(i[2*t+1]));a+=2;break;case"C":e.bezierCurveTo(E(i[0]),E(i[1]),E(i[2]),E(i[3]),E(i[4]),E(i[5])),a+=2;break;case"a":o=n[a-1].trim().split(" "),r=o.length-1,O(E(o[r-1]),E(o[r]),E(o[r-1])+E(i[5]),E(o[r])+E(i[6]),E(i[0]),E(i[3]),E(i[4]),e),a+=2;break;case"A":o=n[a-1].trim().split(" "),r=o.length-1,O(E(o[r-1]),E(o[r]),E(i[5]),E(i[6]),E(i[0]),E(i[3]),E(i[4]),e),a+=2;break;case"Z":e.closePath(),a+=1;break;default:a++}}while(a<n.length)}(t,u.d);break;case"rect":!function(e,t){const n=t.x,i=t.y,o=t.width,r=t.height;let a=t.rx;a?(a=v(a,o/2,r/2),e.save(),e.translate(n,i),e.moveTo(o/2,0),e.arcTo(o,0,o,r,a),e.arcTo(o,r,0,r,a),e.arcTo(0,r,0,0,a),e.arcTo(0,0,a,0,a),e.lineTo(o/2,0),e.restore()):e.rect(n,i,o,r)}(t,u),t.closePath();break;case"circle":t.arc(u.cx,u.cy,u.r,0,2*m,1)}return r||(V(t,u,i),s||(d=W(t,u,i)),Z(t,u)),B(t,u,i,e,"linear"),B(t,u,i,e,"radial"),t.restore(),d}function B(e,t,n,i,o){let{linearGradients:r,radialGradients:a}=n;const s="linear"===o?r:a;if(0===Object.keys(s).length)return;const l=D(t.fill);if(l&&s[l]){const n=i.getBBox(),r=n.x+n.width/2,a=n.y+n.height/2,u=Math.max(n.height/2,n.width/2),d="linear"===o?e.createLinearGradient(n.x,0,n.x+n.width,0):e.createRadialGradient(r,a,0,r,a,u);if(s[l].colors.forEach((e=>{const t=parseInt(e.offset.replace(/%/,""));d.addColorStop(t/100,e.stopColor)})),"linear"===o){var c;const t=((null===(c=s[l].transform)||void 0===c?void 0:c.replace(/\D/g,""))||0)*Math.PI/180;e.translate(r,a),e.rotate(t),e.translate(-r,-a)}e.globalAlpha=t.opacity,e.fillStyle=d,e.fill()}}function V(e,t,n){let i;const o=D(t.filter);o&&(i=n.filters[o],i||(i={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=i.offsetX,e.shadowOffsetY=i.offsetY,e.shadowColor=i.color,e.shadowBlur=i.blur)}function F(e,t){e.translate(t.translateX||0,t.translateY||0),t.translateX=void 0,t.translateY=void 0,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*m/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),t.rotationAngle=void 0,t.rotationX=void 0,t.rotationY=void 0),isFinite(t.scaleX)&&(e.scale(t.scaleX,t.scaleY),t.scaleX=void 0,t.scaleY=void 0)}function H(e,t,n){t["clip-path"]&&(I(n.clipPaths[D(t["clip-path"])],e,{},n),e.clip(),t["clip-path"]=void 0)}function N(e){var t;const n={colors:[],transform:null===(t=e.attributes.gradientTransform)||void 0===t?void 0:t.textContent};return(0,s.each)(e.childNodes,((e,t)=>{let{attributes:i}=t;n.colors.push({offset:i.offset.value,stopColor:i["stop-color"].value})})),n}function z(e){let t,n;const i={};return(0,s.each)(e.childNodes,(function(e,r){const a=r.attributes;if(a.result)switch(a.result.value){case"gaussianBlurResult":i.blur=E(a.stdDeviation.value);break;case"offsetResult":i.offsetX=E(a.dx.value),i.offsetY=E(a.dy.value);break;case"floodResult":t=a["flood-color"]?a["flood-color"].value:"#000",n=a["flood-opacity"]?a["flood-opacity"].value:1,i.color=function(e,t){const n=new o.default(e);return"rgba("+n.r+","+n.g+","+n.b+","+t+")"}(t,n)}})),i}function j(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new f.Deferred,i=0;for(;i<e.length;i++){const o=t(e[i]);if((0,r.isPromise)(o)){o.then((()=>{j(Array.prototype.slice.call(e,i+1),t,n)}));break}}return i===e.length&&n.resolve(),n}function G(e,t,n,i){return j(e,(function(e){switch(e.tagName&&e.tagName.toLowerCase()){case"g":case"svg":{const o=(0,l.extend)({},n,k(e,i.rootAppended));t.save(),F(t,o),H(t,o,i);const a=()=>{t.restore()},s=G(e.childNodes,t,o,i);return(0,r.isPromise)(s)?s.then(a):a(),s}case"defs":return G(e.childNodes,t,{},i);case"clippath":i.clipPaths[e.attributes.id.textContent]=e.childNodes[0];break;case"pattern":i.patterns[e.attributes.id.textContent]=e;break;case"filter":i.filters[e.id]=z(e);break;case"lineargradient":i.linearGradients[e.attributes.id.textContent]=N(e);break;case"radialgradient":i.radialGradients[e.attributes.id.textContent]=N(e);break;default:return I(e,t,n,i)}}))}function Z(e,t,n){const i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(!function(e,t){let n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&(n=(0,s.map)(n,(function(e){return E(e)})),e.setLineDash(n))}(e,t),e.lineJoin=t["stroke-linejoin"],e.lineWidth=t["stroke-width"],e.globalAlpha=t.strokeOpacity,e.strokeStyle=i,n?e.strokeText(t.text,t.x,t.y):e.stroke(),e.globalAlpha=1)}function W(e,t,n){const i=t.fill;let o;if(i&&"none"!==i)if(-1===i.search(/url/))e.fillStyle=i,e.globalAlpha=t.fillOpacity,e.fill(),e.globalAlpha=1;else{const a=n.patterns[D(i)];if(!a)return;o=function(e,t,n,i){const o=k(t,n.rootAppended),a=Y._createCanvas(o.width,o.height,0),s=a.getContext("2d"),l=G(t.childNodes,s,o,n),c=()=>{e.fillStyle=e.createPattern(a,"repeat"),e.globalAlpha=i.fillOpacity,e.fill(),e.globalAlpha=1};return(0,r.isPromise)(l)?l.then(c):c(),l}(e,a,n,t)}return o}function U(e,t,n){return G(e.childNodes,t.getContext("2d"),{},{clipPaths:{},patterns:{},filters:{},linearGradients:{},radialGradients:{},rootAppended:n})}function $(e,t){let{width:n,height:o,backgroundColor:s,margin:l,svgToCanvas:d=U}=t;const h=K(n,o),p=Y._createCanvas(h.width,h.height,l),g=p.getContext("2d");g.setTransform(h.pixelRatio,0,0,h.pixelRatio,0,0);const _=a.default.getSvgElement(e);let m;const v=c.default.isElementNode(e)||(0,r.isRenderer)(e);return g.translate(l,l),c.default.getBody().appendChild(p),v||(m=function(){const e=c.default.createElement("div");return e.style.left="-9999px",e.style.position="absolute",e}(),m.appendChild(_),c.default.getBody().appendChild(m)),_.attributes.direction&&(p.dir=_.attributes.direction.textContent),function(e,t,n,i,o){e.fillStyle=i||"#ffffff",e.fillRect(-o,-o,t+2*o,n+2*o)}(g,n,o,s,l),(0,f.fromPromise)(d(_,p,v&&(0,u.contains)(c.default.getBody(),(0,i.default)(e).get(0)))).then((()=>p)).always((()=>{m&&c.default.getBody().removeChild(m),c.default.getBody().removeChild(p)}))}A=function(e){const t={};let n;return(0,s.each)(e,(function(e,i){n=i.textContent,isFinite(n)&&(n=E(n)),t[i.name.toLowerCase()]=n})),t};const Y=t.imageCreator={getImageData:function(e,t){const n="image/"+t.format;return(0,r.isFunction)(t.__parseAttributesFn)&&(A=t.__parseAttributesFn),$(e,t).then((e=>function(e,t){const n=e.toDataURL(t,1);return g.atob(n.substring(("data:"+t+";base64,").length))}(e,n)))},getData:function(e,t){const n=this;return Y.getImageData(e,t).then((e=>{const i="image/"+t.format;return(0,r.isFunction)(g.Blob)&&!t.useBase64?n._getBlob(e,i):n._getBase64(e)}))},_getBlob:function(e,t){let n;const i=new Uint8Array(e.length);for(n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return new g.Blob([i.buffer],{type:t})},_getBase64:function(e){return g.btoa(e)},_createCanvas(e,t,n){const o=(0,i.default)("<canvas>")[0];return o.width=e+2*n,o.height=t+2*n,o.hidden=!0,o}};function K(e,t){const n=g.devicePixelRatio||1;return{pixelRatio:n,width:e*n,height:t*n}}},39368:function(e,t,n){t.Export=void 0;var i=n(11528),o=n(52576),r=u(n(38662)),a=u(n(52771)),s=u(n(4671)),l=n(55972),c=n(3104);function u(e){return e&&e.__esModule?e:{default:e}}t.Export={getFullOptions:function(e){const t=(0,o.extend)({},e);if(!(0,i.isDefined)(t.jsPDFDocument)||!(0,i.isObject)(t.jsPDFDocument))throw Error('The "jsPDFDocument" field must contain a jsPDF instance.');if(!(0,i.isDefined)(t.jsPDFDocument.autoTable)||!(0,i.isFunction)(t.jsPDFDocument.autoTable))throw Error('The "exportDataGrid" method requires a autoTable plugin for jsPDF object.');if((0,i.isDefined)(t.keepColumnWidths)||(t.keepColumnWidths=!0),(0,i.isDefined)(t.autoTableOptions)){if(!(0,i.isObject)(t.autoTableOptions))throw Error('The "autoTableOptions" option must be of object type.');t.autoTableOptions=(0,o.extend)(!0,{},this._getDefaultAutoTableOptions(),t.autoTableOptions)}else t.autoTableOptions=this._getDefaultAutoTableOptions();return(0,i.isDefined)(t.loadPanel)||(t.loadPanel={}),(0,i.isDefined)(t.loadPanel.enabled)||(t.loadPanel.enabled=!0),(0,i.isDefined)(t.loadPanel.text)||(t.loadPanel.text=s.default.format("dxDataGrid-exporting")),t},_getDefaultAutoTableOptions:function(){return{theme:"plain",tableLineColor:149,tableLineWidth:.1,styles:{textColor:51,lineColor:149,lineWidth:0},columnStyles:{},headStyles:{fontStyle:"normal",textColor:149,lineWidth:.1},bodyStyles:{lineWidth:.1},head:[],body:[]}},export:function(e){var t;const{jsPDFDocument:n,autoTableOptions:o,component:r,customizeCell:a,keepColumnWidths:s,selectedRowsOnly:u,loadPanel:d}=e,h=(null===(t=r._getInternalInstance)||void 0===t?void 0:t.call(r))||r,f=h.option("loadPanel")&&h.option("loadPanel").enabled;let p;if(f&&r.option("loadPanel.enabled",!1),d.enabled&&(0,c.hasWindow)()){const e=r.getView("rowsView");p=new l.ExportLoadPanel(r,e.element(),e.element().parent(),d),p.show()}const g=r.getDataProvider(u),_=!!r.option("wordWrapEnabled");return new Promise((e=>{g.ready().done((()=>{const t=g.getColumns(),r=g.getStyles(),l=g.getRowsCount(),c=g.getHeaderRowCount(),u=[];if(s){const e=this._tryGetPdfColumnWidths(o.tableWidth,g.getColumnsWidths());(0,i.isDefined)(e)&&(0,i.isDefined)(o.columnStyles)&&this._setColumnWidths(o.columnStyles,e)}for(let e=0;e<l;e++){const n=[];for(let o=0;o<t.length;o++){const{value:s,cellSourceData:l}=g.getCellData(e,o,!0),c=r[g.getStyleId(e,o)],d={content:this._getFormattedValue(s,c.format),styles:this._getPDFCellStyles(l.rowType,t[o].alignment,c,_)};if("header"===l.rowType){const t=this._tryGetMergeRange(e,o,u,g);t&&t.rowSpan>0&&(d.rowSpan=t.rowSpan+1),t&&t.colSpan>0&&(d.colSpan=t.colSpan+1);(!(u[e]&&u[e][o])||d.rowSpan>1||d.colSpan>1)&&((0,i.isFunction)(a)&&a({gridCell:l,pdfCell:d}),n.push(d))}else"group"!==l.rowType||(0,i.isDefined)(d.content)||1!==n.length?(d.content=d.content??"",(0,i.isFunction)(a)&&a({gridCell:l,pdfCell:d}),n.push(d)):(n[0].colSpan=n[0].colSpan??1,n[0].colSpan++)}e<c?o.head.push(n):o.body.push(n)}n.autoTable(o),e()})).always((()=>{f&&r.option("loadPanel.enabled",f),d.enabled&&(0,c.hasWindow)()&&p.dispose()}))}))},_getFormattedValue:function(e,t){if((0,i.isDefined)(t)){if((0,i.isDate)(e))return r.default.format(e,t);if((0,i.isNumeric)(e))return a.default.format(e,t)}return e},_getPDFCellStyles:function(e,t,n,i){const{alignment:o,bold:r}=n,a="header"===e?t:o,s={};return a&&(s.halign=a),r&&"header"!==e&&(s.fontStyle="bold"),i&&(s.cellWidth="wrap"),s},_tryGetMergeRange:function(e,t,n,i){if(!n[e]||!n[e][t]){const{colspan:o,rowspan:r}=i.getCellMerging(e,t);if(o||r){for(let i=e;i<=e+r;i++)for(let e=t;e<=t+o;e++)n[i]||(n[i]=[]),n[i][e]=!0;return{rowSpan:r,colSpan:o}}}},_tryGetPdfColumnWidths(e,t){if((0,i.isNumeric)(e)&&(0,i.isDefined)(t)){const n=t.reduce(((e,t)=>e+t),0);return t.map((t=>e*t/n))}},_setColumnWidths:function(e,t){t.forEach(((t,n)=>{e[n]=e[n]||{},e[n].cellWidth=t}))}}},89222:function(e,t,n){t.exportDataGrid=function(e){return o.Export.export(function(e){if(!(0,i.isDefined)(e)||!(0,i.isObject)(e))throw Error('The "exportDataGrid" method requires a configuration object.');if(!(0,i.isDefined)(e.component)||!(0,i.isObject)(e.component)||"dxDataGrid"!==e.component.NAME)throw Error('The "component" field must contain a DataGrid instance.');(0,i.isDefined)(e.selectedRowsOnly)||(e.selectedRowsOnly=!1);return o.Export.getFullOptions(e)}(e))};var i=n(11528),o=n(39368)},9916:function(e,t,n){t.addNewPage=function(e){e.addPage(),function(e){(0,i.isDefined)(e.getLineWidth)||(e.__borderWidth=null)}(e)},t.drawCellsContent=function(e,t,n,r){n.forEach((n=>{const{_rect:s,gridCell:c}=n,h=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(n,a),{x:f,y:g,w:_,h:m}=s,v={doc:e,rect:{x:f,y:g,w:_,h:m},pdfCell:h,gridCell:c,cancel:!1};null==t||t(v),v.cancel||(function(e,t){(0,i.isDefined)(t.backgroundColor)&&(p(e,"fill",t.backgroundColor),u(e,t._rect.x,t._rect.y,t._rect.w,t._rect.h,"F"))}(e,n),function(e,t,n){if((0,i.isDefined)(t.text)&&""!==t.text){const{textColor:r,font:a,_rect:s,padding:c}=t;!function(e,t,n){let{textColor:r,font:a}=t;p(e,"text",(0,i.isDefined)(r)?r:n.textColor);const s=(0,i.isDefined)(a)?(0,o.extend)({},n.font,a):n.font,l=e.getFont();(s.name!==l.fontName||s.style!==l.fontStyle||(0,i.isDefined)(s.weight))&&e.setFont(s.name,s.style,s.weight);s.size!==e.getFontSize()&&e.setFontSize(s.size)}(e,{textColor:r,font:a},n);const u={x:s.x+c.left,y:s.y+c.top,w:s.w-(c.left+c.right),h:s.h-(c.top+c.bottom)};((0,i.isDefined)(t._textLeftOffset)||(0,i.isDefined)(t._textTopOffset))&&(u.x=u.x+(t._textLeftOffset??0),u.y=u.y+(t._textTopOffset??0),e.saveGraphicsState(),function(e,t,n,i,o){e.moveTo(l(t),l(n)),e.lineTo(l(t+i),l(n)),e.lineTo(l(t+i),l(n+o)),e.lineTo(l(t),l(n+o)),e.clip(),e.discardPath()}(e,t._rect.x,t._rect.y,t._rect.w,t._rect.h)),d(e,t.text,u,t.verticalAlign,t.horizontalAlign,t._internalTextOptions),((0,i.isDefined)(t._textLeftOffset)||(0,i.isDefined)(t._textTopOffset))&&e.restoreGraphicsState()}}(e,n,r))}))},t.drawCellsLines=function(e,t,n){t.filter((e=>!(0,i.isDefined)(e.borderColor))).forEach((t=>{h(e,t._rect,t,n)})),t.filter((e=>(0,i.isDefined)(e.borderColor))).forEach((t=>{h(e,t._rect,t,n)}))},t.drawGridLines=function(e,t,n,i){h(e,t,n,i)},t.drawLine=c,t.drawRect=u,t.drawTextInRect=d,t.getDocumentStyles=function(e){const t=e.getFont();return{borderWidth:g(e),borderColor:e.getDrawColor(),font:{name:t.fontName,style:t.fontStyle,size:e.getFontSize()},textColor:e.getTextColor()}},t.roundToThreeDecimals=l,t.setDocumentStyles=function(e,t){const{borderWidth:n,borderColor:i,font:o,textColor:r}=t,a=e.getFont();a.fontName===o.name&&a.fontStyle===o.style||e.setFont(o.name,o.style,void 0);e.getFontSize()!==o.size&&e.setFontSize(o.size);g(e)!==n&&_(e,n);e.getDrawColor()!==i&&e.setDrawColor(i);e.getTextColor()!==r&&e.setTextColor(r)};var i=n(11528),o=n(52576),r=n(31162);const a=["_rect","gridCell"];function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e){return Math.round(1e3*e)/1e3}function c(e,t,n,i,o){e.line(l(t),l(n),l(i),l(o))}function u(e,t,n,o,r,a){(0,i.isDefined)(a)?e.rect(l(t),l(n),l(o),l(r),a):e.rect(l(t),l(n),l(o),l(r))}function d(e,t,n,i,a,s){const c=t.split("\n"),u=c.length,d=(0,r.calculateTextHeight)(e,c[0],e.getFont(),{wordWrapEnabled:!1,targetRectWidth:1e9}),h=i??"middle",f=a??"left",p={top:0,middle:.5,bottom:1},g=n.y+n.h*p[h]-d*(u-1)*p[h]+function(e){return(e.getLineHeightFactor()-1.15)*e.getFontSize()}(e),_=n.x+n.w*{left:0,center:.5,right:1}[f],m=(0,o.extend)({baseline:h,align:f},s);e.text(c.join("\n"),l(_),l(g),m)}function h(e,t,n,o){let{borderWidth:r,borderColor:a,drawLeftBorder:s=!0,drawRightBorder:l=!0,drawTopBorder:d=!0,drawBottomBorder:h=!0}=n;if(!(0,i.isDefined)(t))throw"rect is required";(s||l||d||h)&&(s&&l&&d&&h?(f(e,{borderWidth:r,borderColor:a},o),u(e,t.x,t.y,t.w,t.h)):(f(e,{borderWidth:r,borderColor:a},o),d&&c(e,t.x,t.y,t.x+t.w,t.y),s&&c(e,t.x,t.y,t.x,t.y+t.h),l&&c(e,t.x+t.w,t.y,t.x+t.w,t.y+t.h),h&&c(e,t.x,t.y+t.h,t.x+t.w,t.y+t.h)))}function f(e,t,n){let{borderWidth:o,borderColor:a}=t;const s=(0,i.isDefined)(o)?o:n.borderWidth;s!==g(e)&&_(e,(0,r.toPdfUnit)(e,s)),p(e,"draw",(0,i.isDefined)(a)?a:n.borderColor)}function p(e,t,n){const i=`get${s(t)}Color`,o=`set${s(t)}Color`,{ch1:r=n,ch2:a,ch3:l,ch4:c}=n;e.__private__.decodeColorString(e.__private__.encodeColorString({ch1:r,ch2:a,ch3:l,ch4:c,precision:"text"===t?3:2}))===e[i]()&&"fill"!==t||e[o].apply(e,[r,a,l,c].filter((e=>void 0!==e)))}function g(e){return(0,i.isDefined)(e.getLineWidth)?e.getLineWidth():e.__borderWidth??.200025}function _(e,t){e.setLineWidth(t),(0,i.isDefined)(e.getLineWidth)||(e.__borderWidth=t)}},5650:function(e,t,n){t.Export=void 0;var i,o=n(11528),r=n(52576),a=n(33487),s=n(20652),l=n(99153),c=n(44151),u=n(26002),d=n(9916),h=n(31162),f=(i=n(4671))&&i.__esModule?i:{default:i},p=n(55972),g=n(3104);t.Export={getFullOptions:function(e){const{jsPDFDocument:t}=e,n=(0,r.extend)({},e);return(0,o.isDefined)(n.topLeft)||(n.topLeft={x:0,y:0}),(0,o.isDefined)(n.indent)||(n.indent=0),(0,o.isDefined)(n.repeatHeaders)||(n.repeatHeaders=!0),(0,o.isDefined)(n.margin)||(n.margin=(0,h.toPdfUnit)(t,40)),n.margin=(0,a.normalizeBoundaryValue)(n.margin),Array.isArray(n.columnWidths)||(n.columnWidths=[]),(0,o.isDefined)(n.loadPanel)||(n.loadPanel={}),(0,o.isDefined)(n.loadPanel.enabled)||(n.loadPanel.enabled=!0),(0,o.isDefined)(n.loadPanel.text)||(n.loadPanel.text=f.default.format("dxDataGrid-exporting")),n},export:function(e){var t;const{jsPDFDocument:n,component:i,selectedRowsOnly:r,loadPanel:f}=e,_=(null===(t=i._getInternalInstance)||void 0===t?void 0:t.call(i))||i,m=_.option("loadPanel")&&_.option("loadPanel").enabled;let v;if(m&&i.option("loadPanel.enabled",!1),f.enabled&&(0,g.hasWindow)()){const e=i.getView("rowsView");v=new p.ExportLoadPanel(i,e.element(),e.element().parent(),f),v.show()}const b=i.getDataProvider(r);return new Promise((t=>{b.ready().done((()=>{var r;const f=(0,c.generateRowsInfo)(n,b,i,null===(r=e.rowOptions)||void 0===r||null===(r=r.headerStyles)||void 0===r?void 0:r.backgroundColor);e.customizeCell&&f.forEach((t=>t.cells.forEach((t=>e.customizeCell(t))))),(0,a.normalizeRowsInfo)(f),(0,s.initializeCellsWidth)(n,b,f,e),(0,s.resizeFirstColumnByIndentLevel)(f,e),(0,s.applyColSpans)(f),(0,s.calculateHeights)(n,f,e),(0,s.applyRowSpans)(f),(0,l.updateRowsAndCellsHeights)(n,f),(0,s.calculateCoordinates)(n,f,e),(0,s.applyBordersConfig)(f),(0,h.applyWordWrap)(n,f);const p=(0,d.getDocumentStyles)(n),g=!!i.option("rtlEnabled"),_=(0,u.splitByPages)(n,f,e,(e=>{var t;let{sourceRect:i,leftRect:r,rightRect:a}=e,s={},l={};if((null===(t=i.sourceCellInfo.text)||void 0===t?void 0:t.length)>0)if(g){const e=n.getTextWidth(i.sourceCellInfo.text)>r.w,t=!(0,o.isDefined)(i.sourceCellInfo.horizontalAlign)||"right"===i.sourceCellInfo.horizontalAlign;if(e||!t){var c,u,d;let e,t;"right"===(null===(c=i.sourceCellInfo)||void 0===c?void 0:c.horizontalAlign)?(e=i.sourceCellInfo._textLeftOffset??0,t=e+r.w):"center"===(null===(u=i.sourceCellInfo)||void 0===u?void 0:u.horizontalAlign)?(t=i.x+i.w-(a.x+a.w)+i.sourceCellInfo._rect.w/2-r.w/2,e=t-a.w):"left"===(null===(d=i.sourceCellInfo)||void 0===d?void 0:d.horizontalAlign)&&(t=i.x+i.w-(a.x+a.w),e=t-a.w),s=Object.assign({},{_textLeftOffset:e}),l=Object.assign({},{_textLeftOffset:t})}else l=Object.assign({},{text:""})}else{const e=n.getTextWidth(i.sourceCellInfo.text)>r.w,t=!(0,o.isDefined)(i.sourceCellInfo.horizontalAlign)||"left"===i.sourceCellInfo.horizontalAlign;if(e||!t){var h,f,p;let e,t;if("left"===(null===(h=i.sourceCellInfo)||void 0===h?void 0:h.horizontalAlign))e=i.sourceCellInfo._textLeftOffset??0,t=e-r.w;else if("center"===(null===(f=i.sourceCellInfo)||void 0===f?void 0:f.horizontalAlign)){const n=i.sourceCellInfo._textLeftOffset??0;e=n+(i.x+i.w/2)-(r.x+r.w/2),t=n+(i.x+i.w/2)-(a.x+a.w/2)}else"right"===(null===(p=i.sourceCellInfo)||void 0===p?void 0:p.horizontalAlign)&&(e=i.x+i.w-(r.x+r.w),t=i.x+i.w-(a.x+a.w));s=Object.assign({},{_textLeftOffset:e}),l=Object.assign({},{_textLeftOffset:t})}else l=Object.assign({},{text:""})}r.sourceCellInfo=Object.assign({},i.sourceCellInfo,{debugSourceCellInfo:i.sourceCellInfo},s),a.sourceCellInfo=Object.assign({},i.sourceCellInfo,{debugSourceCellInfo:i.sourceCellInfo},l)}),(e=>{var t;let{sourceRect:i,topRect:o,bottomRect:r}=e,a={},s={};if((null===(t=i.sourceCellInfo.text)||void 0===t?void 0:t.length)>0){var l;const e=n.getTextDimensions(i.sourceCellInfo.text).h>o.h,t="top"===(null===(l=i.sourceCellInfo)||void 0===l?void 0:l.verticalAlign);if(e||!t){var c,u,d;let e,t;if("top"===(null===(c=i.sourceCellInfo)||void 0===c?void 0:c.verticalAlign))e=i.sourceCellInfo._textTopOffset??0,t=e-o.h;else if("middle"===(null===(u=i.sourceCellInfo)||void 0===u?void 0:u.verticalAlign)){const n=i.sourceCellInfo._textTopOffset??0;e=n+(i.y+i.h/2)-(o.y+o.h/2),t=n+(i.y+i.h/2)-(r.y+r.h/2)}else"bottom"===(null===(d=i.sourceCellInfo)||void 0===d?void 0:d.verticalAlign)&&(e=i.y+i.h-(o.y+o.h),t=i.y+i.h-(r.y+r.h));a=Object.assign({},{_textTopOffset:e}),s=Object.assign({},{_textTopOffset:t})}else s=Object.assign({},{text:""})}o.sourceCellInfo=Object.assign({},i.sourceCellInfo,{debugSourceCellInfo:i.sourceCellInfo},a),r.sourceCellInfo=Object.assign({},i.sourceCellInfo,{debugSourceCellInfo:i.sourceCellInfo},s)}));g&&(0,h.applyRtl)(n,_,e),_.forEach(((t,i)=>{i>0&&(0,d.addNewPage)(n),(0,d.drawCellsContent)(n,e.customDrawCell,t,p),(0,d.drawCellsLines)(n,t,p);if((0,o.isDefined)(t)&&0===t.length){const i=(0,s.calculateTableSize)(n,t,e),o=(0,c.getBaseTableStyle)();(0,d.drawGridLines)(n,i,o,p)}})),(0,d.setDocumentStyles)(n,p),t()})).always((()=>{m&&i.option("loadPanel.enabled",m),f.enabled&&(0,g.hasWindow)()&&v.dispose()}))}))}}},99153:function(e,t,n){t.updateRowsAndCellsHeights=function(e,t){const n=function(e,t){const n=Array.from({length:t.length},(()=>0)),r=function(e){const t=e=>{const t=e.cells.map((e=>e.rowSpan??0));return Math.max(...t)};return[...e].sort(((e,n)=>{const i=t(e),o=t(n);return i>o?1:o>i?-1:0}))}(t);return r.forEach((r=>{r.cells.filter((e=>(0,i.isDefined)(e.rowSpan))).forEach((i=>{const a=(0,o.calculateTargetRectWidth)(i.pdfCell._rect.w,i.pdfCell.padding),s=(0,o.calculateTextHeight)(e,i.pdfCell.text,i.pdfCell.font,{wordWrapEnabled:i.pdfCell.wordWrapEnabled,targetRectWidth:a})+i.pdfCell.padding.top+i.pdfCell.padding.bottom,l=i.rowSpan+1,c=t.slice(r.rowIndex,r.rowIndex+l).reduce(((e,t)=>e+t.height+n[t.rowIndex]),0);if(s>c){const e=(s-c)/l;for(let t=r.rowIndex;t<r.rowIndex+l;t++)n[t]+=e}}))})),n}(e,t);t.forEach((e=>{e.height+=n[e.rowIndex]})),t.forEach((e=>{e.cells.forEach((n=>{const i=(n.rowSpan??0)+1;n.pdfCell._rect.h=t.slice(e.rowIndex,e.rowIndex+i).reduce(((e,t)=>e+t.height),0)}))}))};var i=n(11528),o=n(31162)},33487:function(e,t,n){t.normalizeBoundaryValue=o,t.normalizeRowsInfo=function(e){e.forEach((e=>{e.cells.forEach((e=>{let{pdfCell:t}=e;t.padding=o(t.padding)}))}))};var i=n(11528);function o(e){return(0,i.isNumeric)(e)?{top:e,right:e,bottom:e,left:e}:{top:(null==e?void 0:e.top)??0,right:(null==e?void 0:e.right)??0,bottom:(null==e?void 0:e.bottom)??0,left:(null==e?void 0:e.left)??0}}},31162:function(e,t,n){t.applyRtl=function(e,t,n){t.forEach((t=>{t.forEach((t=>{const i=r(e)-(t._rect.x+t._rect.w),o=n.margin.left-n.margin.right;t._rect.x=i+o}))}))},t.applyWordWrap=function(e,t){t.forEach((t=>{t.cells.forEach((t=>{let{pdfCell:n}=t;if((0,i.isDefined)(n.text)){const t=a(e,n.text,n.font,{wordWrapEnabled:n.wordWrapEnabled,targetRectWidth:s(n._rect.w,n.padding)});n.text=t.join("\n")}}))}))},t.calculateRowHeight=function(e,t,n){if(t.length!==n.length)throw"the cells count must be equal to the count of the columns";let o=0;for(let r=0;r<t.length;r++){if((0,i.isDefined)(t[r].rowSpan))continue;const a=t[r].pdfCell.text,l=t[r].pdfCell.padding,u=t[r].pdfCell.font,d=t[r].pdfCell.wordWrapEnabled,h=s(n[r],l);if((0,i.isDefined)(a)){const t=(""!==a?c(e,a,u,{wordWrapEnabled:d,targetRectWidth:h}):0)+l.top+l.bottom;o<t&&(o=t)}}return o},t.calculateTargetRectWidth=s,t.calculateTextHeight=c,t.getPageHeight=function(e){return e.internal.pageSize.getHeight()},t.getPageWidth=r,t.getTextDimensions=l,t.getTextLines=a,t.toPdfUnit=function(e,t){const n=1/e.internal.scaleFactor;return t*n};var i=n(11528);const o="...";function r(e){return e.internal.pageSize.getWidth()}function a(e,t,n,i){let{wordWrapEnabled:r,targetRectWidth:a}=i;if(r){const i=e.getFont(null==n?void 0:n.name,null==n?void 0:n.style);return e.splitTextToSize(t,a,{fontSize:(null==n?void 0:n.size)||e.getFontSize(),fontName:i.fontName,fontStyle:i.fontStyle})}let s=t.split("\n").filter((e=>""!==e)).join(" ");if(l(e,s,n).w<=a)return[s];let c=l(e,s+o,n).w;for(;s.length>0&&c>a;){let t=0;c>=2*a&&(t=s.length/2),t<1&&(t=1),s=s.substring(0,s.length-t),c=l(e,s+o,n).w}return[s+o]}function s(e,t){const n=e-(t.left+t.right);return n>=0?n:0}function l(e,t,n){return e.getTextDimensions(t,{font:e.getFont(null==n?void 0:n.name,null==n?void 0:n.style),fontSize:(null==n?void 0:n.size)||e.getFontSize()})}function c(e,t,n,i){let{wordWrapEnabled:o,targetRectWidth:r}=i;return l(e,t,n).h*a(e,t,n,{wordWrapEnabled:o,targetRectWidth:r}).length*e.getLineHeightFactor()}},20652:function(e,t,n){t.applyBordersConfig=function(e){for(let t=0;t<e.length;t++){const n=e[t].cells;for(let o=0;o<n.length;o++){const r=n[o].pdfCell,a=o>=1?n[o-1].pdfCell:null,s=t>=1?e[t-1].cells[o].pdfCell:null;!1!==r.drawLeftBorder||(0,i.isDefined)(n[o].colSpan)?(0,i.isDefined)(r.drawLeftBorder)||(0,i.isDefined)(a)&&!1===a.drawRightBorder&&(r.drawLeftBorder=!1):(0,i.isDefined)(a)&&(a.drawRightBorder=!1),!1===r.drawTopBorder?(0,i.isDefined)(s)&&(s.drawBottomBorder=!1):(0,i.isDefined)(r.drawTopBorder)||(0,i.isDefined)(s)&&!1===s.drawBottomBorder&&(r.drawTopBorder=!1)}}},t.applyColSpans=function(e){for(let t=0;t<e.length;t++){const n=e[t];for(let o=0;o<n.cells.length;o++){const r=n.cells[o];if((0,i.isDefined)(r.colSpan)&&!(0,i.isDefined)(r.pdfCell.isMerged))for(let n=1;n<=r.colSpan;n++){const i=e[t].cells[o+n];r.pdfCell._rect.w+=i.pdfCell._rect.w,i.pdfCell._rect.w=0,i.pdfCell.isMerged=!0}}}},t.applyRowSpans=function(e){for(let t=0;t<e.length;t++){const n=e[t];for(let o=0;o<n.cells.length;o++){const r=n.cells[o];if((0,i.isDefined)(r.rowSpan)&&!(0,i.isDefined)(r.pdfCell.isMerged))for(let n=1;n<=r.rowSpan;n++){const i=e[t+n].cells[o];r.pdfCell._rect.h+=i.pdfCell._rect.h,i.pdfCell._rect.h=0,i.pdfCell.isMerged=!0}}}},t.calculateCoordinates=function(e,t,n){const i=null==n?void 0:n.topLeft,o=null==n?void 0:n.margin;let r=((null==i?void 0:i.y)??0)+o.top;t.forEach((e=>{let t=((null==i?void 0:i.x)??0)+o.left;const a=e.indentLevel*n.indent;e.cells.forEach((e=>{e.pdfCell._rect.x=t+a,e.pdfCell._rect.y=r,t+=e.pdfCell._rect.w})),r+=e.height}))},t.calculateHeights=function(e,t,n){t.forEach((t=>{const r=t.cells.map((e=>e.pdfCell));let a;if(n.onRowExporting){const e={rowCells:r};n.onRowExporting(e),(0,i.isDefined)(e.rowHeight)&&(a=e.rowHeight)}t.height=(0,i.isDefined)(a)?a:(0,o.calculateRowHeight)(e,t.cells,r.map((e=>e._rect.w))),r.forEach((e=>{e._rect.h=t.height}))}))},t.calculateTableSize=function(e,t,n){var o,r;let a,s,l,c;t.forEach((e=>{(!(0,i.isDefined)(a)||a>e._rect.x)&&(a=e._rect.x),(!(0,i.isDefined)(s)||s>e._rect.y)&&(s=e._rect.y),(!(0,i.isDefined)(l)||l<e._rect.x+e._rect.w)&&(l=e._rect.x+e._rect.w),(!(0,i.isDefined)(c)||c<e._rect.y+e._rect.h)&&(c=e._rect.y+e._rect.h)}));const u=a??(null==n||null===(o=n.topLeft)||void 0===o?void 0:o.x)??0,d=s??(null==n||null===(r=n.topLeft)||void 0===r?void 0:r.y)??0,h=(0,i.isDefined)(l)?l-u:0,f=(0,i.isDefined)(c)?c-d:0;return{x:u,y:d,w:h,h:f}},t.initializeCellsWidth=function(e,t,n,a){const s=function(e,t,n,a,s){const l=150,c=t.getColumnsWidths().map((t=>(0,o.toPdfUnit)(e,t??l))),u=c.filter(((e,t)=>!(0,i.isDefined)(s[t]))).reduce(r,0),d=s.filter((e=>(0,i.isNumeric)(e))).reduce(r,0),h=function(e,t,n){return(0,o.getPageWidth)(e)-t-n.left-n.right}(e,n,a),f=d<h?(h-d)/u:1;return c.map(((e,t)=>s[t]??e*f))}(e,t,a.topLeft.x,a.margin,a.columnWidths);n.forEach((e=>{e.cells.forEach(((e,t)=>{let{gridCell:n,pdfCell:i}=e;i._rect.w=s[t]}))}))},t.resizeFirstColumnByIndentLevel=function(e,t){e.forEach((e=>{e.cells[0].pdfCell._rect.w-=e.indentLevel*t.indent}))};var i=n(11528),o=n(31162);const r=(e,t)=>e+t},44151:function(e,t,n){t.generateRowsInfo=function(e,t,n,i){const o=[],r=t.getRowsCount(),a=!!n.option("wordWrapEnabled"),s=!!n.option("rtlEnabled"),l=t.getColumns(),u=t.getStyles();for(let n=0;n<r;n++){const r=t.getCellData(n,0,!0).cellSourceData.rowType;let d="header"!==r?t.getGroupLevel(n):0;const h=o[n-1];"groupFooter"===r&&"groupFooter"===(null==h?void 0:h.rowType)&&(d=h.indentLevel-1),o.push({rowType:r,indentLevel:d,cells:c({doc:e,dataProvider:t,rowIndex:n,wordWrapEnabled:a,columns:l,styles:u,rowType:r,backgroundColor:"header"===r?i:void 0,rtlEnabled:s}),rowIndex:n})}return o},t.getBaseTableStyle=function(){return l.base};var i=n(11528),o=s(n(38662)),r=s(n(52771)),a=n(31162);function s(e){return e&&e.__esModule?e:{default:e}}const l={base:{font:{size:10},borderWidth:.5,borderColor:"#979797"},header:{textColor:"#979797"},group:{},data:{},groupFooter:{},totalFooter:{}};function c(e){let{doc:t,dataProvider:n,rowIndex:o,wordWrapEnabled:r,columns:s,styles:l,rowType:c,backgroundColor:h,rtlEnabled:f}=e;const p=[];for(let e=0;e<s.length;e++){const g=n.getCellData(o,e,!0),_=l[n.getStyleId(o,e)],m=u(s[e],c,_),v=f?"right":"left",b=(0,a.toPdfUnit)(t,5),y={text:d(g.value,_.format),verticalAlign:"middle",horizontalAlign:m.alignment??v,wordWrapEnabled:r,backgroundColor:h,padding:{top:b,right:b,bottom:b,left:b},_rect:{},_internalTextOptions:{}};f&&(y._internalTextOptions.isInputVisual=!1,y._internalTextOptions.isOutputVisual=!0,y._internalTextOptions.isInputRtl=!0,y._internalTextOptions.isOutputRtl=!1);const x={gridCell:g.cellSourceData,pdfCell:Object.assign({},y,m)};if("header"===c){const t=n.getCellMerging(o,e);t&&t.rowspan>0&&(x.rowSpan=t.rowspan),t&&t.colspan>0&&(x.colSpan=t.colspan)}else if("group"===c){const t=f?"drawRightBorder":"drawLeftBorder",n=f?"drawLeftBorder":"drawRightBorder";if(x.pdfCell[t]=0===e,x.pdfCell[n]=e===s.length-1,e>0){const e=p.slice(1).reduce(((e,t)=>e&&!(0,i.isDefined)(t.pdfCell.text)),!0);if(!(0,i.isDefined)(x.pdfCell.text)&&e){p[0].pdfCell[n]=!0;for(let e=0;e<p.length;e++)p[e].colSpan=p.length;x.colSpan=p.length}}}p.push(x)}return p}function u(e,t,n){const i=Object.assign({},l.base,l[t]),o="header"===t?e.alignment:n.alignment;return o&&(i.alignment=o),n.bold&&"header"!==t&&(i.font=Object.assign({},i.font,{style:"bold"})),i}function d(e,t){if((0,i.isDefined)(t)){if((0,i.isDate)(e))return o.default.format(e,t);if((0,i.isNumeric)(e))return r.default.format(e,t)}return null==e?void 0:e.toString()}},13252:function(e,t,n){t.createOnSplitMultiPageRow=void 0;var i=n(31162);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o.apply(null,arguments)}function r(e,t,n){return o({},e,{sourceCellInfo:o({},e.sourceCellInfo,{text:t}),y:n})}t.createOnSplitMultiPageRow=(e,t,n,o)=>(a,s)=>{const l=[],c=[];let u=0,d=0;return s.forEach((s=>{const{w:h,sourceCellInfo:f}=s,p=!a&&t.repeatHeaders?n:n+t.topLeft.y,g=(0,i.getTextDimensions)(e,f.text,f.font).h,_=f.padding.top+f.padding.bottom,m=o.y-p-_-t.margin.top,v=Math.floor(m/(g*e.getLineHeightFactor())),b=(0,i.getTextLines)(e,f.text,f.font,{wordWrapEnabled:f.wordWrapEnabled,targetRectWidth:h});if(v<b.length){const n=b.slice(0,v).join("\n"),o=(0,i.calculateTextHeight)(e,n,f.font,{wordWrapEnabled:f.wordWrapEnabled,targetRectWidth:h});u=Math.max(u,o+_),d=s.h-o,l.push(r(s,n,t.margin.top)),c.push(r(s,b.slice(v).join("\n"),t.margin.top))}else{const n=(0,i.calculateTextHeight)(e,f.text,f.font,{wordWrapEnabled:f.wordWrapEnabled,targetRectWidth:h});u=Math.max(u,n+_),d=Math.max(d,n+_),l.push(r(s,f.text,t.margin.top)),c.push(r(s,"",t.margin.top))}})),l.forEach((e=>e.h=u)),c.forEach((e=>e.h=d)),[l,c]}},83860:function(e,t){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n.apply(null,arguments)}t.getMultiPageRowPages=t.checkPageContainsOnlyHeader=void 0;const i=e=>"header"===(null==e?void 0:e.sourceCellInfo.gridCell.rowType);t.checkPageContainsOnlyHeader=(e,t)=>t&&i(e[e.length-1]);t.getMultiPageRowPages=(e,t,o,r,a)=>{if(!r)return[];const s=e[e.length-1],l=t[e.length];if(!l||i(l))return[];if(a(o,l.h)&&!o)return[];const c=t.filter((e=>{let{y:t}=e;return t===l.y})),u=s.y+s.h,[d,h]=((e,t,i,o,r)=>{let[a,s]=o(t,e);const l=[t?a.map((e=>n({},e,{y:i}))):a];for(;!r(!1,s[0].h);)[a,s]=o(!1,s),l.push(a);return[l,s]})(c,o,u,r,a);return((e,t,n)=>{t.forEach(((e,t)=>{e.sourceCellInfo.text=n[t].sourceCellInfo.text,e.h=n[t].h}));const i=e.indexOf(t[t.length-1])+1;if(i>=e.length)return;const o=e[i].y-(t[0].y+n[0].h);for(let t=i;t<e.length;t++)e[t].y=e[t].y-o})(t,c,h),d}},26002:function(e,t,n){t.splitByPages=function(e,t,n,i,a){if(0===t.length)return[[]];const l={x:(0,o.getPageWidth)(e)-n.margin.right,y:(0,o.getPageHeight)(e)-n.margin.bottom},c=t.filter((e=>"header"===e.rowType)),h=c.reduce(((e,t)=>e+t.height),0),f=d(u(t),n.margin.top,"y","h",((e,t)=>{const i=!e&&n.repeatHeaders?h:0;return(0,r.roundToThreeDecimals)(t+i)<=(0,r.roundToThreeDecimals)(l.y)}),((e,t,n,i)=>{const o={sourceRect:e,topRect:{x:e.x,y:e.y,w:e.w,h:t-e.y},bottomRect:{x:e.x,y:t,w:e.w,h:e.h-(t-e.y)}};a(o),n.push(o.topRect),i.push(o.bottomRect)}),(0,s.createOnSplitMultiPageRow)(e,n,h,l));if(n.repeatHeaders)for(let e=1;e<f.length;e++){f[e].forEach((e=>e.y+=h));const t=u(c);t.forEach((e=>{e.y-=n.topLeft.y})),f[e]=[...t,...f[e]]}let p=0;for(;p<f.length;){const e=d(f[p],n.margin.left,"x","w",((e,t)=>(0,r.roundToThreeDecimals)(t)<=(0,r.roundToThreeDecimals)(l.x)),((e,t,n,o)=>{const r={sourceRect:e,leftRect:{x:e.x,y:e.y,w:t-e.x,h:e.h},rightRect:{x:t,y:e.y,w:e.w-(t-e.x),h:e.h}};i(r),n.push(r.leftRect),o.push(r.rightRect)}));e.length>1?(f.splice(p,1,...e),p+=e.length):p+=1}return f.map((e=>e.map((e=>Object.assign({},e.sourceCellInfo,{_rect:e})))))};var i=n(11528),o=n(31162),r=n(9916),a=n(83860),s=n(13252);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}const c=.001;function u(e){return[].concat.apply([],e.map((e=>e.cells.filter((e=>!(0,i.isDefined)(e.pdfCell.isMerged))).map((e=>Object.assign({},e.pdfCell._rect,{sourceCellInfo:l({},e.pdfCell,{gridCell:e.gridCell})}))))))}function d(e,t,n,o,r,s,l){const u=[],d=[...e],h=(e,n)=>r(e,n+t);for(;d.length>0;){let e=0;const f=d.filter((t=>{const i=t[n]+t[o];return!!r(0===u.length,i)&&(e<=i&&(e=i),!0)})),p=(0,a.checkPageContainsOnlyHeader)(f,0===u.length),g=(0,a.getMultiPageRowPages)(f,d,p,l,h);d.filter((t=>{const i=t[n],r=t[n]+t[o];return e-i>c&&r-e>c})).forEach((t=>{s(t,e,f,d);const n=d.indexOf(t);-1!==n&&d.splice(n,1)})),f.forEach((e=>{const t=d.indexOf(e);-1!==t&&d.splice(t,1)})),d.forEach((o=>{o[n]=(0,i.isDefined)(e)?o[n]-e+t:o[n]}));if(p&&g.length>0){const[e,...t]=g;u.push([...f,...e]),u.push(...t)}else if(f.length>0)u.push(f),u.push(...g);else{if(!(g.length>0)){u.push(d);break}u.push(...g),u.push(d)}}return u}},93932:function(e,t,n){t.exportDataGrid=function(e){return a.Export.export(function(e){if(!(0,o.isDefined)(e)||!(0,o.isObject)(e))throw Error('The "exportDataGrid" method requires a configuration object.');if(!(0,o.isDefined)(e.component)||!(0,o.isObject)(e.component)||"dxDataGrid"!==e.component.NAME)throw Error('The "component" field must contain a DataGrid instance.');if(!(0,o.isDefined)(e.jsPDFDocument)||!(0,o.isObject)(e.jsPDFDocument))throw Error('The "jsPDFDocument" field must contain a jsPDF instance.');(0,o.isDefined)(e.autoTableOptions)&&r.default.log("W0001","Export","autoTableOptions","22.1",`You can migrate from exporting to PDF with the AutoTable plugin to a new export system. See the following topic for more information: ${s}`);return a.Export.getFullOptions(e)}(e))};var i,o=n(11528),r=(i=n(87129))&&i.__esModule?i:{default:i},a=n(5650);const s="https://supportcenter.devexpress.com/ticket/details/t1077554"},81863:function(e,t){t.exportGantt=function(e){const t=e.component;return null==t?void 0:t.exportToPdf(e)}},49343:function(e,t,n){t.getData=function(e,t){return r.imageCreator.getImageData(e,(0,s.extend)({},t,{format:"JPEG"})).then((e=>{const n=d(e,t,`(D:${[(i=h()).getUTCFullYear(),g(i.getUTCMonth()),g(i.getUTCDate()),g(i.getUTCHours()),g(i.getUTCMinutes()),g(i.getUTCSeconds())].join("")}Z00'00')`);var i;return(0,a.isFunction)(l.Blob)?f(n):p(n)}))};var i=n(1956),o=n(3104),r=n(28456),a=n(11528),s=n(52576);const l=(0,o.getWindow)(),c="xref\r\n0 8\r\n0000000000 65535 f\r\n0000000241 00000 n\r\n0000000010 00000 n\r\n_main_ 00000 n\r\n0000000089 00000 n\r\n_image_ 00000 n\r\n_info_ 00000 n\r\n0000000143 00000 n\r\n",u=function(e,t){return e.length<t?u("0"+e,t):e};let d=function(e,t,n){const o=2*(t.margin||0);let{width:a,height:s}=(0,r.calcScaledInfo)(t.width,t.height);a+=o,s+=o;const l=(.75*a).toFixed(2),d=(.75*s).toFixed(2),h=Math.floor(a),f=Math.floor(s),p="%PDF-1.3\r\n2 0 obj\r\n<</ProcSet[/PDF/ImageB/ImageC/ImageI]/XObject<</I0 5 0 R>>>>\r\nendobj\r\n4 0 obj\r\n<</Type/Pages/Kids[1 0 R]/Count 1>>\r\nendobj\r\n7 0 obj\r\n<</OpenAction[1 0 R /FitH null]/Type/Catalog/Pages 4 0 R/PageLayout/OneColumn>>\r\nendobj\r\n1 0 obj\r\n<</Type/Page/Resources 2 0 R/MediaBox[0 0 _width_ _height_]/Contents 3 0 R/Parent 4 0 R>>\r\nendobj\r\n".replace("_width_",l).replace("_height_",d),g="3 0 obj\r\n<</Length 52>>stream\r\n0.20 w\n0 G\nq _width_ 0 0 _height_ 0.00 0.00 cm /I0 Do Q\r\nendstream\r\nendobj\r\n".replace("_width_",l).replace("_height_",d),_="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n".replace("_date_",n).replace("_version_",i.version);var m,v,b;const y=p+g+_+("5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n".replace("_width_",h).replace("_height_",f).replace("_length_",e.length)+e+"\r\nendstream\r\nendobj\r\n");return y+(m=p.length,v=g.length,b=_.length,c.replace("_main_",u(m+"",10)).replace("_info_",u(m+v+"",10)).replace("_image_",u(m+v+b+"",10)))+"trailer\r\n<<\r\n/Size 8\r\n/Root 7 0 R\r\n/Info 6 0 R\r\n>>\r\nstartxref\r\n_length_\r\n%%EOF".replace("_length_",y.length)};let h=function(){return new Date},f=function(e){let t=0;const n=new Uint8Array(e.length);for(;t<e.length;t++)n[t]=e.charCodeAt(t);return new l.Blob([n.buffer],{type:"application/pdf"})},p=function(e){return l.btoa(e)};function g(e){return 1===e.toString().length?`0${e}`:e}},86195:function(e,t,n){t.getData=function(e,t){return h.getData(e,t)},t.svgCreator=void 0;var i=u(n(64553)),o=u(n(78670)),r=n(3104),a=n(11528),s=n(21274),l=u(n(89650)),c=n(87739);function u(e){return e&&e.__esModule?e:{default:e}}const d=(0,r.getWindow)(),h=t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){o.default.sendRequest({url:e,method:"GET",responseType:"arraybuffer"}).done(t).fail((function(){t(!1)}))},_loadImages:function(){const e=this;(0,s.each)(e._imageArray,(function(t){const n=new c.Deferred;e._imageDeferreds.push(n),e._getBinaryFile(t,(function(i){if(!i)return delete e._imageArray[t],void n.resolve();let o,r="";const a=new Uint8Array(i),s=a.byteLength;for(o=0;o<s;o++)r+=String.fromCharCode(a[o]);e._imageArray[t]="data:image/png;base64,"+d.btoa(r),n.resolve()}))}))},_parseImages:function(e){let t;const n=this;"image"===e.tagName&&(t=(0,i.default)(e).attr("href")||(0,i.default)(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),(0,s.each)(e.childNodes,(function(e,t){n._parseImages(t)}))},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),c.when.apply(i.default,this._imageDeferreds)},getData:function(e,t){let n;const o=this,r=l.default.getSvgElement(e),c=(0,i.default)(r);return c.find(`[${l.default.HIDDEN_FOR_EXPORT}]`).remove(),n='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'+l.default.getSvgMarkup(c.get(0),t.backgroundColor),o._prepareImages(r).then((()=>((0,s.each)(o._imageArray,(function(e,t){const i=`href=['|"]${e}['|"]`;n=n.replace(new RegExp(i,"gi"),`href="${t}"`)})),(0,a.isFunction)(d.Blob)?o._getBlob(n):o._getBase64(n))))},_getBlob:function(e){return new d.Blob([e],{type:"image/svg+xml"})},_getBase64:function(e){return d.btoa(e)}}},85096:function(e,t,n){t.default=void 0;var i,o=n(17781),r=n(11528),a=n(31e3),s=(i=n(65266))&&i.__esModule?i:{default:i};class l extends s.default{constructor(e){super(e=(0,o.ensureDefined)(e,{})),this._hasSubDirsGetter=(0,a.compileGetter)(e.hasSubDirectoriesExpr||"hasSubDirectories"),this._getItemsFunction=this._ensureFunction(e.getItems,(()=>[])),this._renameItemFunction=this._ensureFunction(e.renameItem),this._createDirectoryFunction=this._ensureFunction(e.createDirectory),this._deleteItemFunction=this._ensureFunction(e.deleteItem),this._moveItemFunction=this._ensureFunction(e.moveItem),this._copyItemFunction=this._ensureFunction(e.copyItem),this._uploadFileChunkFunction=this._ensureFunction(e.uploadFileChunk),this._abortFileUploadFunction=this._ensureFunction(e.abortFileUpload),this._downloadItemsFunction=this._ensureFunction(e.downloadItems),this._getItemsContentFunction=this._ensureFunction(e.getItemsContent)}getItems(e){const t=e.getFullPathInfo();return this._executeActionAsDeferred((()=>this._getItemsFunction(e)),!0).then((e=>this._convertDataObjectsToFileItems(e,t)))}renameItem(e,t){return this._executeActionAsDeferred((()=>this._renameItemFunction(e,t)))}createDirectory(e,t){return this._executeActionAsDeferred((()=>this._createDirectoryFunction(e,t)))}deleteItems(e){return e.map((e=>this._executeActionAsDeferred((()=>this._deleteItemFunction(e)))))}moveItems(e,t){return e.map((e=>this._executeActionAsDeferred((()=>this._moveItemFunction(e,t)))))}copyItems(e,t){return e.map((e=>this._executeActionAsDeferred((()=>this._copyItemFunction(e,t)))))}uploadFileChunk(e,t,n){return this._executeActionAsDeferred((()=>this._uploadFileChunkFunction(e,t,n)))}abortFileUpload(e,t,n){return this._executeActionAsDeferred((()=>this._abortFileUploadFunction(e,t,n)))}downloadItems(e){return this._executeActionAsDeferred((()=>this._downloadItemsFunction(e)))}getItemsContent(e){return this._executeActionAsDeferred((()=>this._getItemsContentFunction(e)))}_hasSubDirs(e){const t=this._hasSubDirsGetter(e);return"boolean"!=typeof t||t}_getKeyExpr(e){return e.keyExpr||"key"}_ensureFunction(e,t){return t=t||o.noop,(0,r.isFunction)(e)?e:t}}t.default=l;e.exports=t.default,e.exports.default=t.default},46327:function(e,t){t.default=void 0;t.default=class{constructor(e,t,n){this.errorCode=e,this.fileSystemItem=t,this.errorText=n}};e.exports=t.default,e.exports.default=t.default},54950:function(e,t){t.default=void 0;t.default={NoAccess:0,FileExists:1,FileNotFound:2,DirectoryExists:3,DirectoryNotFound:4,WrongFileExtension:5,MaxFileSizeExceeded:6,InvalidSymbols:7,Other:32767};e.exports=t.default,e.exports.default=t.default},53093:function(e,t,n){t.default=void 0;var i=n(11528),o=n(56536);class r{constructor(){((0,i.isString)(arguments[0])?this._publicCtor:this._internalCtor).apply(this,arguments)}_internalCtor(e,t,n,i){this.name=t||"",this.pathInfo=e&&[...e]||[],this.parentPath=this._getPathByPathInfo(this.pathInfo),this.relativeName=(0,o.pathCombine)(this.parentPath,t),this.key=i||this._getPathByPathInfo(this.getFullPathInfo(),!0),this.path=(0,o.pathCombine)(this.parentPath,t),this.pathKeys=this.pathInfo.map((e=>{let{key:t}=e;return t})),this.isRoot()||this.pathKeys.push(this.key),this._initialize(n)}_publicCtor(e,t,n){this.path=e||"",this.pathKeys=n||[];const i=[],r=(0,o.getPathParts)(e,!0);for(let e=0;e<r.length-1;e++){const t=r[e],n={key:this.pathKeys[e]||t,name:(0,o.getName)(t)};i.push(n)}this.pathInfo=i,this.relativeName=e,this.name=(0,o.getName)(e),this.key=this.pathKeys.length?this.pathKeys[this.pathKeys.length-1]:e,this.parentPath=r.length>1?r[r.length-2]:"",this._initialize(t)}_initialize(e){this.isDirectory=!!e,this.size=0,this.dateModified=new Date,this.thumbnail="",this.tooltipText=""}getFullPathInfo(){const e=[...this.pathInfo];return this.isRoot()||e.push({key:this.key,name:this.name}),e}isRoot(){return""===this.path}getFileExtension(){return this.isDirectory?"":(0,o.getFileExtension)(this.name)}equals(e){return e&&this.key===e.key}createClone(){const e=new r(this.pathInfo,this.name,this.isDirectory,this.key);return e.key=this.key,e.size=this.size,e.dateModified=this.dateModified,e.thumbnail=this.thumbnail,e.tooltipText=this.tooltipText,e.hasSubDirectories=this.hasSubDirectories,e.dataItem=this.dataItem,e}_getPathByPathInfo(e,t){return e.map((e=>t?(0,o.getEscapedFileName)(e.name):e.name)).join(o.PATH_SEPARATOR)}}t.default=r;e.exports=t.default,e.exports.default=t.default},76856:function(e,t,n){t.default=void 0;var i=n(17781),o=n(31e3),r=n(83077),a=n(11528),s=n(82812),l=n(87739),c=n(3104),u=n(34924),d=m(n(35185)),h=m(n(87531)),f=m(n(65266)),p=m(n(46327)),g=m(n(54950)),_=n(56536);function m(e){return e&&e.__esModule?e:{default:e}}const v=(0,c.getWindow)();class b extends f.default{constructor(e){super(e=(0,i.ensureDefined)(e,{}));const t=e.data;if(t&&!Array.isArray(t))throw s.errors.Error("E4006");const n=e.itemsExpr||"items";this._subFileItemsGetter=(0,o.compileGetter)(n),this._subFileItemsSetter=this._getSetter(n);const r=e.contentExpr||"content";this._contentGetter=(0,o.compileGetter)(r),this._contentSetter=this._getSetter(r);const a=this._getNameExpr(e);this._nameSetter=this._getSetter(a);const l=this._getIsDirExpr(e);this._getIsDirSetter=this._getSetter(l);const c=this._getKeyExpr(e);this._keySetter=this._getSetter(c);const u=this._getSizeExpr(e);this._sizeSetter=this._getSetter(u);const d=this._getDateModifiedExpr(e);this._dateModifiedSetter=this._getSetter(d),this._data=t||[]}getItems(e){return this._executeActionAsDeferred((()=>this._getItems(e)),!0)}renameItem(e,t){return this._executeActionAsDeferred((()=>this._renameItemCore(e,t)))}_renameItemCore(e,t){if(!e)return;const n=this._findDataObject(e);this._nameSetter(n,t),e.name=t,e.key=this._ensureDataObjectKey(n)}createDirectory(e,t){return this._executeActionAsDeferred((()=>{this._validateDirectoryExists(e),this._createDataObject(e,t,!0)}))}deleteItems(e){return e.map((e=>this._executeActionAsDeferred((()=>this._deleteItem(e)))))}moveItems(e,t){const n=this._findDataObject(t),i=this._getDirectoryDataItems(n);return e.map((e=>this._executeActionAsDeferred((()=>{this._checkAbilityToMoveOrCopyItem(e,t);const n=this._findDataObject(e);this._deleteItem(e),i.push(n)}))))}copyItems(e,t){const n=this._findDataObject(t),i=this._getDirectoryDataItems(n);return e.map((e=>this._executeActionAsDeferred((()=>{this._checkAbilityToMoveOrCopyItem(e,t);const n=this._findDataObject(e),o=this._createCopy(n);i.push(o)}))))}uploadFileChunk(e,t,n){if(t.chunkIndex>0)return t.customData.deferred;this._validateDirectoryExists(n);const i=t.customData.deferred=new l.Deferred,o=this._createFileReader();return o.readAsDataURL(e),o.onload=()=>{const t=o.result.split(",")[1],r=this._createDataObject(n,e.name,!1);this._sizeSetter(r,e.size),this._dateModifiedSetter(r,e.lastModifiedDate),this._contentSetter(r,t),i.resolve()},o.onerror=e=>i.reject(e),i}downloadItems(e){1===e.length?this._downloadSingleFile(e[0]):this._downloadMultipleFiles(e)}_downloadSingleFile(e){const t=this._getFileContent(e),n=v.atob(t),i=new ArrayBuffer(n.length),o=new Uint8Array(i);for(let e=0;e<n.length;e++)o[e]=n.charCodeAt(e);const r=new v.Blob([i],{type:"application/octet-stream"});u.fileSaver.saveAs(e.name,null,r)}_downloadMultipleFiles(e){const t=new(function(){if(!h.default)throw d.default.Error("E1041","JSZip");return h.default}());e.forEach((e=>t.file(e.name,this._getFileContent(e),{base64:!0})));const n={type:"blob",compression:"DEFLATE",mimeType:"application/zip"},i=new l.Deferred;t.generateAsync?t.generateAsync(n).then(i.resolve):i.resolve(t.generate(n)),i.done((e=>u.fileSaver.saveAs("files.zip",null,e)))}_getFileContent(e){const t=this._findDataObject(e);return this._contentGetter(t)||""}_validateDirectoryExists(e){if(!this._isFileItemExists(e)||this._isDirGetter(e.fileItem))throw new p.default(g.default.DirectoryNotFound,e)}_checkAbilityToMoveOrCopyItem(e,t){const n=this._findDataObject(e),i=this._getKeyFromDataObject(n,e.parentPath),o=t.getFullPathInfo();let r="";o.forEach((t=>{r=(0,_.pathCombine)(r,t.name);if(this._getDataObjectKey(t.key,r)===i)throw new p.default(g.default.Other,e)}))}_createDataObject(e,t,n){const i={};this._nameSetter(i,t),this._getIsDirSetter(i,n),this._keySetter(i,String(new r.Guid));const o=this._findDataObject(e);return this._getDirectoryDataItems(o).push(i),i}_createCopy(e){const t={};this._nameSetter(t,this._nameGetter(e)),this._getIsDirSetter(t,this._isDirGetter(e));const n=this._subFileItemsGetter(e);if(Array.isArray(n)){const e=[];n.forEach((t=>{const n=this._createCopy(t);e.push(n)})),this._subFileItemsSetter(t,e)}return t}_deleteItem(e){const t=this._findDataObject(e),n=this._findFileItemObj(e.pathInfo),i=this._getDirectoryDataItems(n),o=i.indexOf(t);i.splice(o,1)}_getDirectoryDataItems(e){if(!e)return this._data;let t=this._subFileItemsGetter(e);return Array.isArray(t)||(t=[],this._subFileItemsSetter(e,t)),t}_getItems(e){this._validateDirectoryExists(e);const t=e.getFullPathInfo(),n=t&&t.length>0?t[t.length-1].key:null;let i=this._data;if(n){const e=this._findFileItemObj(t);i=e&&this._subFileItemsGetter(e)||[]}return this._ensureKeysForDuplicateNameItems(i),this._convertDataObjectsToFileItems(i,t)}_ensureKeysForDuplicateNameItems(e){const t={};e.forEach((e=>{const n=this._nameGetter(e);t[n]?this._ensureDataObjectKey(e):t[n]=!0}))}_findDataObject(e){if(e.isRoot())return null;const t=this._findFileItemObj(e.getFullPathInfo());if(!t){const t=e.isDirectory?g.default.DirectoryNotFound:g.default.FileNotFound;throw new p.default(t,e)}return t}_findFileItemObj(e){Array.isArray(e)||(e=[]);let t="",n=null,i=this._data;for(let o=0;o<e.length&&(0===o||n);o++)n=i.find((n=>{const i=this._isDirGetter(n)||o===e.length-1;return this._getKeyFromDataObject(n,t)===e[o].key&&this._nameGetter(n)===e[o].name&&i})),n&&(t=(0,_.pathCombine)(t,this._nameGetter(n)),i=this._subFileItemsGetter(n));return n}_getKeyFromDataObject(e,t){const n=this._keyGetter(e),i=(0,_.pathCombine)(t,this._nameGetter(e));return this._getDataObjectKey(n,i)}_getDataObjectKey(e,t){return e||t}_ensureDataObjectKey(e){let t=this._keyGetter(e);return t||(t=String(new r.Guid),this._keySetter(e,t)),t}_hasSubDirs(e){const t=(0,i.ensureDefined)(this._subFileItemsGetter(e),[]);if(!Array.isArray(t))return!0;for(let e=0;e<t.length;e++)if(!0===this._isDirGetter(t[e]))return!0;return!1}_getSetter(e){return(0,a.isFunction)(e)?e:(0,o.compileSetter)(e)}_isFileItemExists(e){return e.isDirectory&&e.isRoot()||!!this._findFileItemObj(e.getFullPathInfo())}_createFileReader(){return new v.FileReader}}t.default=b;e.exports=t.default,e.exports.default=t.default},65266:function(e,t,n){t.default=void 0;var i=n(31e3),o=n(17781),r=u(n(71051)),a=n(21274),s=n(11528),l=n(87739),c=u(n(53093));function u(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){e=(0,o.ensureDefined)(e,{}),this._keyGetter=(0,i.compileGetter)(this._getKeyExpr(e)),this._nameGetter=(0,i.compileGetter)(this._getNameExpr(e)),this._isDirGetter=(0,i.compileGetter)(this._getIsDirExpr(e)),this._sizeGetter=(0,i.compileGetter)(this._getSizeExpr(e)),this._dateModifiedGetter=(0,i.compileGetter)(this._getDateModifiedExpr(e)),this._thumbnailGetter=(0,i.compileGetter)(e.thumbnailExpr||"thumbnail")}getItems(e){return[]}renameItem(e,t){}createDirectory(e,t){}deleteItems(e){}moveItems(e,t){}copyItems(e,t){}uploadFileChunk(e,t,n){}abortFileUpload(e,t,n){}downloadItems(e){}getItemsContent(e){}getFileUploadChunkSize(){return 2e5}_convertDataObjectsToFileItems(e,t){const n=[];return(0,a.each)(e,((e,i)=>{const o=this._createFileItem(i,t);n.push(o)})),n}_createFileItem(e,t){const n=this._keyGetter(e),i=new c.default(t,this._nameGetter(e),!!this._isDirGetter(e),n);return i.size=this._sizeGetter(e),void 0===i.size&&(i.size=0),i.dateModified=r.default.deserializeDate(this._dateModifiedGetter(e)),void 0===i.dateModified&&(i.dateModified=new Date),i.isDirectory&&(i.hasSubDirectories=this._hasSubDirs(e)),n||(i.key=i.relativeName),i.thumbnail=this._thumbnailGetter(e)||"",i.dataItem=e,i}_hasSubDirs(e){return!0}_getKeyExpr(e){return e.keyExpr||this._defaultKeyExpr}_defaultKeyExpr(e){if(2!==arguments.length)return Object.prototype.hasOwnProperty.call(e,"__KEY__")?e.__KEY__:null;e.__KEY__=arguments[1]}_getNameExpr(e){return e.nameExpr||"name"}_getIsDirExpr(e){return e.isDirectoryExpr||"isDirectory"}_getSizeExpr(e){return e.sizeExpr||"size"}_getDateModifiedExpr(e){return e.dateModifiedExpr||"dateModified"}_executeActionAsDeferred(e,t){const n=new l.Deferred;try{const i=e();(0,s.isPromise)(i)?(0,l.fromPromise)(i).done((e=>n.resolve(t&&e||void 0))).fail((e=>n.reject(e))):n.resolve(t&&i||void 0)}catch(e){return n.reject(e)}return n.promise()}};e.exports=t.default,e.exports.default=t.default},80175:function(e,t,n){t.default=void 0;var i=p(n(64553)),o=p(n(78670)),r=n(17781),a=n(83077),s=n(3104),l=n(21274),c=n(87739),u=p(n(92774)),d=p(n(65266)),h=n(31e3),f=n(11528);function p(e){return e&&e.__esModule?e:{default:e}}const g=(0,s.getWindow)(),_="chunk",m="GetDirContents",v="CreateDir",b="Rename",y="Move",x="Copy",C="Remove",S="UploadChunk",w="AbortUpload",E="Download",T="GET",A="POST";class O extends d.default{constructor(e){super(e=(0,r.ensureDefined)(e,{})),this._endpointUrl=e.endpointUrl,this._beforeAjaxSend=e.beforeAjaxSend,this._beforeSubmit=e.beforeSubmit,this._requestHeaders=e.requestHeaders,this._hasSubDirsGetter=(0,h.compileGetter)(e.hasSubDirectoriesExpr||"hasSubDirectories")}getItems(e){const t=e.getFullPathInfo();return this._executeRequest(m,{pathInfo:t}).then((e=>this._convertDataObjectsToFileItems(e.result,t)))}renameItem(e,t){return this._executeRequest(b,{pathInfo:e.getFullPathInfo(),isDirectory:e.isDirectory,name:t})}createDirectory(e,t){return this._executeRequest(v,{pathInfo:e.getFullPathInfo(),name:t})}deleteItems(e){return e.map((e=>this._executeRequest(C,{pathInfo:e.getFullPathInfo(),isDirectory:e.isDirectory})))}moveItems(e,t){return e.map((e=>this._executeRequest(y,{sourcePathInfo:e.getFullPathInfo(),sourceIsDirectory:e.isDirectory,destinationPathInfo:t.getFullPathInfo()})))}copyItems(e,t){return e.map((e=>this._executeRequest(x,{sourcePathInfo:e.getFullPathInfo(),sourceIsDirectory:e.isDirectory,destinationPathInfo:t.getFullPathInfo()})))}uploadFileChunk(e,t,n){0===t.chunkIndex&&(t.customData.uploadId=new a.Guid);const i={destinationPathInfo:n.getFullPathInfo(),chunkMetadata:JSON.stringify({UploadId:t.customData.uploadId,FileName:e.name,Index:t.chunkIndex,TotalCount:t.chunkCount,FileSize:e.size})},s={url:this._endpointUrl,headers:this._requestHeaders||{},method:A,dataType:"json",data:{[_]:t.chunkBlob,arguments:JSON.stringify(i),command:S},upload:{onprogress:r.noop,onloadstart:r.noop,onabort:r.noop},xhrFields:{},cache:!1},l=new c.Deferred;return this._beforeSendInternal(s),o.default.sendRequest(s).done((e=>{!e.success&&l.reject(e)||l.resolve()})).fail(l.reject),l.promise()}abortFileUpload(e,t,n){return this._executeRequest(w,{uploadId:t.customData.uploadId})}downloadItems(e){const t=this._getDownloadArgs(e),n=(0,i.default)("<form>").css({display:"none"}).attr({method:A,action:t.url}),o={command:t.command,arguments:t.arguments};this._beforeSubmitInternal(o),this._appendFormDataInputsToForm(o,n),n.appendTo("body"),u.default.trigger(n,"submit"),setTimeout((()=>n.remove()))}getItemsContent(e){const t=this._getDownloadArgs(e),n={url:t.url,headers:this._requestHeaders||{},method:A,responseType:"arraybuffer",data:{command:t.command,arguments:t.arguments},upload:{onprogress:r.noop,onloadstart:r.noop,onabort:r.noop},xhrFields:{},cache:!1};return this._beforeSendInternal(n),o.default.sendRequest(n)}_getDownloadArgs(e){const t={pathInfoList:e.map((e=>e.getFullPathInfo()))},n=JSON.stringify(t);return{url:this._endpointUrl,arguments:n,command:E}}_getItemsIds(e){return e.map((e=>e.relativeName))}_executeRequest(e,t){const n=e===m?T:A,i=new c.Deferred,r={url:this._getEndpointUrl(e,t),headers:this._requestHeaders||{},method:n,dataType:"json",data:{},xhrFields:{},cache:!1};return this._beforeSendInternal(r),o.default.sendRequest(r).then((e=>{!e.success&&i.reject(e)||i.resolve(e)}),(e=>i.reject(e))),i.promise()}_beforeSubmitInternal(e){(0,f.isFunction)(this._beforeSubmit)&&this._beforeSubmit({formData:e})}_beforeSendInternal(e){if((0,f.isFunction)(this._beforeAjaxSend)){const t={headers:e.headers,formData:e.data,xhrFields:e.xhrFields};this._beforeAjaxSend(t),e.headers=t.headers,e.data=t.formData,e.xhrFields=t.xhrFields}(0,f.isEmptyObject)(e.data)?delete e.data:(e.responseType||e.upload)&&(e.data=this._createFormData(e.data))}_createFormData(e){const t=new g.FormData;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(0,f.isDefined)(e[n])&&t.append(n,e[n]);return t}_appendFormDataInputsToForm(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(0,f.isDefined)(e[n])&&(0,i.default)("<input>").attr({type:"hidden",name:n,value:e[n]}).appendTo(t)}_getEndpointUrl(e,t){const n=this._getQueryString({command:e,arguments:JSON.stringify(t)}),i=this._endpointUrl&&this._endpointUrl.indexOf("?")>0?"&":"?";return this._endpointUrl+i+n}_getQueryString(e){const t=[],n=Object.keys(e);for(let i=0;i<n.length;i++){const o=n[i];let r=e[o];if(void 0!==r)if(null===r&&(r=""),Array.isArray(r))this._processQueryStringArrayParam(o,r,t);else{const e=this._getQueryStringPair(o,r);t.push(e)}}return t.join("&")}_processQueryStringArrayParam(e,t,n){(0,l.each)(t,((t,i)=>{const o=this._getQueryStringPair(e,i);n.push(o)}))}_getQueryStringPair(e,t){return encodeURIComponent(e)+"="+encodeURIComponent(t)}_hasSubDirs(e){const t=this._hasSubDirsGetter(e);return"boolean"!=typeof t||t}_getKeyExpr(e){return e.keyExpr||"key"}}t.default=O;e.exports=t.default,e.exports.default=t.default},56536:function(e,t,n){t.pathCombine=t.getPathParts=t.getParentPath=t.getName=t.getFileExtension=t.getEscapedFileName=t.PATH_SEPARATOR=void 0;var i=n(21274);const o=t.PATH_SEPARATOR="/";t.getFileExtension=e=>{const t=e.lastIndexOf(".");return-1!==t?e.substr(t):""};t.getName=e=>{const t=e.lastIndexOf(o);return-1!==t?e.substr(t+o.length):e};t.getParentPath=e=>{const t=e.lastIndexOf(o);return-1!==t?e.substr(0,t):""};t.getPathParts=(e,t)=>{if(!e||"/"===e)return[];const n=[];let i="";for(let t=0;t<e.length;t++){let r=e.charAt(t);if(r===o){const a=e.charAt(t+1);a!==o&&(i&&(n.push(i),i=""),r=a),t++}i+=r}if(i&&n.push(i),t)for(let e=0;e<n.length;e++)n[e]=a(0===e?"":n[e-1],r(n[e]));return n};const r=function(e){return e.replace(/\/{1,1}/g,"//")};t.getEscapedFileName=r;const a=function(){let e="";return(0,i.each)(arguments,((t,n)=>{n&&(e&&(e+=o),e+=n)})),e};t.pathCombine=a},2082:function(e,t,n){t.default=void 0;var i=n(11528),o=l(n(41380)),r=l(n(52771)),a=l(n(38662)),s=l(n(89656));function l(e){return e&&e.__esModule?e:{default:e}}n(17333);t.default=(0,s.default)({format:function(e,t){const n=(0,i.isString)(t)&&""!==t||(0,i.isPlainObject)(t)||(0,i.isFunction)(t),o=(0,i.isNumeric)(e)||(0,i.isDate)(e);return n&&o?(0,i.isFunction)(t)?t(e):((0,i.isString)(t)&&(t={type:t}),(0,i.isNumeric)(e)?r.default.format(e,t):(0,i.isDate)(e)?a.default.format(e,t):void 0):(0,i.isDefined)(e)?e.toString():""},getTimeFormat:function(e){return e?"longtime":"shorttime"},_normalizeFormat:function(e){return Array.isArray(e)?1===e.length?e[0]:function(t){return e.map((function(e){return a.default.format(t,e)})).join(" ")}:e},getDateFormatByDifferences:function(e,t){const n=[],i=t&&e.millisecond&&!(e.year||e.month||e.day);if(i){const e=function(e){return e.getSeconds()+e.getMilliseconds()/1e3+"s"};n.push(e)}else e.millisecond&&n.push("millisecond");if((e.hour||e.minute||!i&&e.second)&&n.unshift(this.getTimeFormat(e.second)),e.year&&e.month&&e.day)return t&&"month"===t?"monthandyear":(n.unshift("shortdate"),this._normalizeFormat(n));if(e.year&&e.month)return"monthandyear";if(e.year&&e.quarter)return"quarterandyear";if(e.year)return"year";if(e.quarter)return"quarter";if(e.month&&e.day){if(t){const e=function(e){return a.default.getMonthNames("abbreviated")[e.getMonth()]+" "+a.default.format(e,"day")};n.unshift(e)}else n.unshift("monthandday");return this._normalizeFormat(n)}if(e.month)return"month";if(e.day){if(t)n.unshift("day");else{const e=function(e){return a.default.format(e,"dayofweek")+", "+a.default.format(e,"day")};n.unshift(e)}return this._normalizeFormat(n)}return this._normalizeFormat(n)},getDateFormatByTicks:function(e){let t,n,i;if(e.length>1)for(t=o.default.getDatesDifferences(e[0],e[1]),i=1;i<e.length-1;i++)n=o.default.getDatesDifferences(e[i],e[i+1]),t.count<n.count&&(t=n);else t={year:!0,month:!0,day:!0,hour:e[0].getHours()>0,minute:e[0].getMinutes()>0,second:e[0].getSeconds()>0,millisecond:e[0].getMilliseconds()>0};return this.getDateFormatByDifferences(t)},getDateFormatByTickInterval:function(e,t,n){let r;const a=function(e,t,n){switch(t){case"year":case"quarter":e.month=n;case"month":e.day=n;case"week":case"day":e.hour=n;case"hour":e.minute=n;case"minute":e.second=n;case"second":e.millisecond=n}};n=(0,i.isString)(n)?n.toLowerCase():n;const s=o.default.getDatesDifferences(e,t);var l,c,u;e!==t&&(l=s,c=e>t?t:e,!(u=e>t?e:t).getMilliseconds()&&u.getSeconds()?u.getSeconds()-c.getSeconds()==1&&(l.millisecond=!0,l.second=!1):!u.getSeconds()&&u.getMinutes()?u.getMinutes()-c.getMinutes()==1&&(l.second=!0,l.minute=!1):!u.getMinutes()&&u.getHours()?u.getHours()-c.getHours()==1&&(l.minute=!0,l.hour=!1):!u.getHours()&&u.getDate()>1?u.getDate()-c.getDate()==1&&(l.hour=!0,l.day=!1):1===u.getDate()&&u.getMonth()?u.getMonth()-c.getMonth()==1&&(l.day=!0,l.month=!1):!u.getMonth()&&u.getFullYear()&&u.getFullYear()-c.getFullYear()==1&&(l.month=!0,l.year=!1)),r=o.default.getDateUnitInterval(s),a(s,r,!0),r=o.default.getDateUnitInterval(n||"second"),a(s,r,!1),s[{week:"day"}[r]||r]=!0;return this.getDateFormatByDifferences(s)}});e.exports=t.default,e.exports.default=t.default},21001:function(e,t,n){var i=s(n(10561)),o=n(20142),r=s(n(67264)),a=s(n(97718));function s(e){return e&&e.__esModule?e:{default:e}}n(44603),n(76054),n(5667),n(29953),n(27465),n(24317),n(52425),n(79382),n(52134),n(2646);if((0,a.default)()&&(0,o.compare)(i.default.fn.jquery,[1,10])<0)throw r.default.Error("E0012")},2646:function(e,t,n){var i=r(n(10561)),o=r(n(78670));function r(e){return e&&e.__esModule?e:{default:e}}(0,r(n(97718)).default)()&&o.default.inject({sendRequest:function(e){return e.responseType||e.upload?this.callBase.apply(this,[e]):i.default.ajax(e)}})},52134:function(e,t,n){var i=a(n(10561)),o=a(n(55771)),r=a(n(87129));function a(e){return e&&e.__esModule?e:{default:e}}if(i.default){const e=function(e,t){i.default.fn[e]=function(n){let i;if("string"==typeof n){const o=n,a=[].slice.call(arguments).slice(1);this.each((function(){const n=t.getInstance(this);if(!n)throw r.default.Error("E0009",e);const s=n[o].apply(n,a);void 0===i&&(i=s)}))}else this.each((function(){const e=t.getInstance(this);e?e.option(n):new t(this,n)})),i=this;return i}};o.default.add(e)}},5667:function(e,t,n){var i=a(n(10561)),o=n(87739),r=n(20142);function a(e){return e&&e.__esModule?e:{default:e}}if((0,a(n(97718)).default)()){const e=i.default.Deferred,t={Deferred:e};t.when=(0,r.compare)(i.default.fn.jquery,[3])<0?i.default.when:function(t){return 0===arguments.length?(new e).resolve():1===arguments.length?t&&t.then?t:(new e).resolve(t):i.default.when.apply(i.default,arguments)},(0,o.setStrategy)(t)}},24317:function(e,t,n){var i,o=(i=n(10561))&&i.__esModule?i:{default:i},r=n(88424);o.default&&(0,r.setEasing)(o.default.easing)},79382:function(e,t,n){t.getPublicElementJQuery=r;var i,o=n(61404);function r(e){return e}(0,((i=n(97718))&&i.__esModule?i:{default:i}).default)()&&(0,o.setPublicElementWrapper)(r)},52425:function(e,t,n){var i=r(n(10561)),o=n(74663);function r(e){return e&&e.__esModule?e:{default:e}}(0,r(n(97718)).default)()&&(0,o.setDataStrategy)(i.default)},27465:function(e,t,n){var i=l(n(10561)),o=l(n(92774)),r=l(n(97718)),a=l(n(85030)),s=l(n(64960));function l(e){return e&&e.__esModule?e:{default:e}}(0,r.default)()&&(a.default.add((function(e,t){i.default.event.special[e]=t})),o.default.passiveEventHandlersSupported()&&o.default.forcePassiveFalseEventNames.forEach((function(e){i.default.event.special[e]={setup:function(t,n,i){s.default.listen(this,e,i,{passive:!1})}}})),o.default.set({on:function(e){(0,i.default)(e).on.apply((0,i.default)(e),Array.prototype.slice.call(arguments,1))},one:function(e){(0,i.default)(e).one.apply((0,i.default)(e),Array.prototype.slice.call(arguments,1))},off:function(e){(0,i.default)(e).off.apply((0,i.default)(e),Array.prototype.slice.call(arguments,1))},trigger:function(e){(0,i.default)(e).trigger.apply((0,i.default)(e),Array.prototype.slice.call(arguments,1))},triggerHandler:function(e){(0,i.default)(e).triggerHandler.apply((0,i.default)(e),Array.prototype.slice.call(arguments,1))},Event:i.default.Event}))},29953:function(e,t,n){var i=a(n(10561)),o=n(88737),r=a(n(3122));function a(e){return e&&e.__esModule?e:{default:e}}if(i.default&&!o.themeReadyCallback.fired()){const e=i.default.holdReady||i.default.fn.holdReady;e(!0),o.themeReadyCallback.add((function(){r.default.add((function(){e(!1)}))}))}},76054:function(e,t,n){var i=d(n(10561)),o=d(n(97718)),r=n(20142),a=n(21274),s=n(11528),l=n(98834),c=d(n(15273)),u=d(n(65462));function d(e){return e&&e.__esModule?e:{default:e}}if((0,o.default)())if((0,r.compare)(i.default.fn.jquery,[3])<0){const e={2:"touch",3:"pen",4:"mouse"};(0,a.each)(["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel","MSPointerOver","MSPointerOut","mouseenter","mouseleave","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","pointerenter","pointerleave"],(function(){i.default.event.fixHooks[this]={filter:function(t,n){const i=n.pointerType;return(0,s.isNumeric)(i)&&(t.pointerType=e[i]),t},props:i.default.event.mouseHooks.props.concat(["pointerId","pointerType","originalTarget","width","height","pressure","result","tiltX","charCode","tiltY","detail","isPrimary","prevValue"])}})),(0,a.each)(["touchstart","touchmove","touchend","touchcancel"],(function(){i.default.event.fixHooks[this]={filter:function(e,t){return(0,u.default)((function(n,i){e[n]=i(t)})),e},props:i.default.event.mouseHooks.props.concat(["touches","changedTouches","targetTouches","detail","result","originalTarget","charCode","prevValue"])}})),i.default.event.fixHooks.wheel=i.default.event.mouseHooks;const t={props:i.default.event.mouseHooks.props.concat(["pointerType","pointerId","pointers"])};c.default.callbacks.add((function(e){i.default.event.fixHooks[e]=t}));const n=function(e,t){const n=i.default.event.fixHooks[t.type]||i.default.event.mouseHooks,o=n.props?i.default.event.props.concat(n.props):i.default.event.props;let r=o.length;for(;r--;){const n=o[r];e[n]=t[n]}return n.filter?n.filter(e,t):e};(0,l.setEventFixMethod)(n)}else(0,u.default)((function(e,t){i.default.event.addProp(e,t)}))},44603:function(e,t,n){var i=r(n(10561)),o=r(n(21681));function r(e){return e&&e.__esModule?e:{default:e}}(0,r(n(97718)).default)()&&o.default.set(i.default)},97718:function(e,t,n){t.default=function(){return i.default&&(0,o.default)().useJQuery};var i=r(n(10561)),o=r(n(66636));function r(e){return e&&e.__esModule?e:{default:e}}const a=(0,o.default)().useJQuery;i.default&&!1!==a&&(0,o.default)({useJQuery:!0}),e.exports=t.default,e.exports.default=t.default},34563:function(e,t,n){var i=a(n(78117)),o=a(n(87129)),r=n(20142);function a(e){return e&&e.__esModule?e:{default:e}}if(n(90340),n(74899),n(38382),n(86281),n(71592),n(12420),n(41262),i.default&&(0,r.compare)(i.default.version,[2,3])<0)throw o.default.Error("E0013")},12420:function(e,t,n){var i,o=n(74663),r=(i=n(78117))&&i.__esModule?i:{default:i},a=n(20142),s=n(43941);if(r.default){const e=r.default.utils.domNodeDisposal.cleanExternalData,t=function(){(0,o.afterCleanData)((function(){})),r.default.utils.domNodeDisposal.cleanExternalData=e};(function(){(0,o.afterCleanData)((function(e){let t;for(t=0;t<e.length;t++)e[t].cleanedByJquery=!0;for(t=0;t<e.length;t++)e[t].cleanedByKo||r.default.cleanNode(e[t]),delete e[t].cleanedByKo;for(t=0;t<e.length;t++)delete e[t].cleanedByJquery})),r.default.utils.domNodeDisposal.cleanExternalData=function(e){e.cleanedByKo=!0,(0,s.getClosestNodeWithKoCreation)(e)&&(e.cleanedByJquery||(0,o.cleanData)([e]))}})(),o.strategyChanging.add((function(e){!!e.fn&&(0,a.compare)(e.fn.jquery,[2,0])<0&&t()}))}},41262:function(e,t,n){var i,o=(i=n(78117))&&i.__esModule?i:{default:i},r=n(20142),a=n(74663);if(o.default){const e=function(e){const t=function(e,t){const n=function(){o.default.cleanNode(this)};t?e.each(n):e.find("*").each(n)},n=e.fn.empty;e.fn.empty=function(){return t(this,!1),n.apply(this,arguments)};const i=e.fn.remove;e.fn.remove=function(e,n){if(!n){let n=this;e&&(n=n.filter(e)),t(n,!0)}return i.call(this,e,n)};const r=e.fn.html;e.fn.html=function(e){return"string"==typeof e&&t(this,!1),r.apply(this,arguments)};const a=e.fn.replaceWith;e.fn.replaceWith=function(){const e=a.apply(this,arguments);return this.parent().length||t(this,!0),e}};a.strategyChanging.add((function(t){!!t.fn&&(0,r.compare)(t.fn.jquery,[2,0])<0&&e(t)}))}},90340:function(e,t,n){var i=v(n(64553)),o=v(n(78117)),r=v(n(84718)),a=n(11528),s=v(n(55771)),l=v(n(11118)),c=v(n(34506)),u=n(34993),d=v(n(5298)),h=v(n(91374)),f=n(36332),p=v(n(78694)),g=v(n(50512)),_=n(43941),m=v(n(66636));function v(e){return e&&e.__esModule?e:{default:e}}if(o.default){const e="dxKoLocks",t="dxKoCreation",n=[],v=function(s,v){p.default.isEditor(v.prototype)&&n.push(s),o.default.bindingHandlers[s]={init:function(n,s){const p=(0,i.default)(n),b=(0,r.default)();let y,x={};const C=(0,m.default)().knockout,S=C&&C.isBindingPropertyPredicateName;let w,E={onInitializing:function(e){x=this._getOptionsByReference(),o.default.computed((()=>{const t=o.default.unwrap(s());var n;(y&&y.beginUpdate(),w=S&&t&&t[S],D(t),y)?y.endUpdate():null==t||null===(n=t.onInitializing)||void 0===n||n.call(this,e)}),null,{disposeWhenNodeIsRemoved:n}),y=this},modelByElement:function(e){if(e.length){const t=(0,_.getClosestNodeWithContext)(e.get(0));return o.default.dataFor(t)}},nestedComponentOptions:function(e){return{modelByElement:e.option("modelByElement"),nestedComponentOptions:e.option("nestedComponentOptions")}},_optionChangedCallbacks:b,integrationOptions:{watchMethod:function(e,t,n){let i=(n=n||{}).skipImmediate;const r=o.default.computed((function(){const n=o.default.unwrap(e());i||t(n),i=!1}));return function(){r.dispose()}},templates:{"dx-polymorph-widget":{render:function(e){const t=o.default.utils.unwrapObservable(e.model.widget);if(!t)return;const n=(0,i.default)("<div>").attr("data-bind",t+": options").get(0);(0,i.default)(e.container).append(n),o.default.applyBindings(e.model,n)}}},createTemplate:function(e){return new f.KoTemplate(e)}}};const T={},A=function(t,n,i){const r=p.data(e),a=i?o.default.unwrap(n):n;if(o.default.isWriteableObservable(n)&&(T[t]=n),y){if(r.locked(t))return;r.obtain(t);try{o.default.ignoreDependencies?o.default.ignoreDependencies(y.option,y,[t,a]):y.option(t,a)}finally{r.release(t)}}else E[t]=a},O=function(t){const n=t.fullName,i=t.value;if(!(n in T))return;const o=this._$element.data(e);if(!o.locked(n)){o.obtain(n);try{T[n](i)}finally{o.release(n)}}},k=function(e,t,i){if(i!==S)if(!w||w(i,t,e)){let r;o.default.computed((function(){const n=e[t];A(i,n,!0),r=o.default.unwrap(n)}),null,{disposeWhenNodeIsRemoved:n}),(0,a.isPlainObject)(r)&&(x[i]||D(r,i))}else A(i,e[t],!1)};function D(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&k(e,n,t?[t,n].join("."):n)}return b.add(O),p.data(t,!0).data(e,new g.default),new v(p,E),E=null,{controlsDescendantBindings:v.subclassOf(l.default)||v.subclassOf(c.default)||v.subclassOf(u.ComponentWrapper)&&!(y instanceof h.default)||y instanceof d.default}}},"dxValidator"===s&&(o.default.bindingHandlers.dxValidator.after=n)};s.default.add((function(e,t){v(e,t)}))}},38382:function(e,t,n){var i,o=(i=n(78117))&&i.__esModule?i:{default:i},r=n(69629);o.default&&(o.default.bindingHandlers.dxControlsDescendantBindings={init:function(e,t){return{controlsDescendantBindings:o.default.unwrap(t())}}},o.default.bindingHandlers.dxIcon={init:function(e,t){const n=o.default.utils.unwrapObservable(t())||{},i=(0,r.getImageContainer)(n);o.default.virtualElements.emptyNode(e),i&&o.default.virtualElements.prepend(e,i.get(0))},update:function(e,t){const n=o.default.utils.unwrapObservable(t())||{},i=(0,r.getImageContainer)(n);o.default.virtualElements.emptyNode(e),i&&o.default.virtualElements.prepend(e,i.get(0))}},o.default.virtualElements.allowedBindings.dxIcon=!0)},74899:function(e,t,n){var i=c(n(64553)),o=c(n(92774)),r=c(n(78117)),a=n(11528),s=c(n(85030)),l=n(98834);function c(e){return e&&e.__esModule?e:{default:e}}r.default&&s.default.add((function(e){const t=(0,l.addNamespace)(e,e+"Binding");r.default.bindingHandlers[e]={update:function(e,n,s,l){const c=(0,i.default)(e),u=r.default.utils.unwrapObservable(n()),d=u.execute?u.execute:u;o.default.off(c,t),o.default.on(c,t,(0,a.isPlainObject)(u)?u:{},(function(e){d.call(l,l,e)}))}}}))},36332:function(e,t,n){t.KoTemplate=void 0;var i=u(n(64553)),o=u(n(64960)),r=u(n(78117)),a=n(11528),s=n(42186),l=n(86858),c=n(43941);function u(e){return e&&e.__esModule?e:{default:e}}const d=class extends s.TemplateBase{constructor(e){super(),this._element=e,this._template=(0,i.default)("<div>").append((0,l.normalizeTemplateElement)(e)),this._registerKoTemplate()}_registerKoTemplate(){const e=this._template.get(0);new r.default.templateSources.anonymousTemplate(e).nodes(e)}_prepareDataForContainer(e,t){if(t&&t.length){const n=(0,c.getClosestNodeWithContext)(t.get(0)),i=r.default.contextFor(n);if(e=void 0!==e?e:r.default.dataFor(n)||{},i)return e===i.$data?i:i.createChildContext(e)}return function(e){const t=o.default.createElement("div");r.default.applyBindingsToNode(t,null,e);const n=r.default.contextFor(t);return r.default.cleanNode(t),n}(e).createChildContext(e)}_renderCore(e){const t=this._prepareDataForContainer(e.model,(0,i.default)(e.container));(0,a.isDefined)(e.index)&&(t.$index=e.index);const n=(0,i.default)("<div>").appendTo(e.container);let o;return r.default.renderTemplate(this._template.get(0),t,{afterRender:function(e){o=(0,i.default)(e)}},n.get(0),"replaceNode"),o}source(){return(0,i.default)(this._element).clone()}dispose(){this._template.remove()}};t.KoTemplate=d},43941:function(e,t,n){t.getClosestNodeWithKoCreation=t.getClosestNodeWithContext=void 0;var i=r(n(78117)),o=r(n(64553));function r(e){return e&&e.__esModule?e:{default:e}}const a=e=>!i.default.contextFor(e)&&e.parentNode?a(e.parentNode):e;t.getClosestNodeWithContext=a;const s=e=>{const t=(0,o.default)(e).data();return t&&t.dxKoCreation?e:e.parentNode?s(e.parentNode):null};t.getClosestNodeWithKoCreation=s},86281:function(e,t,n){var i=n(21274),o=n(52576),r=d(n(55620)),a=n(2607),s=d(n(19391)),l=n(87739),c=d(n(19427)),u=d(n(78117));function d(e){return e&&e.__esModule?e:{default:e}}if(u.default){const e="valid",t="pending",n=r.default.inherit({ctor(t,n){let{name:r,validationRules:s}=n;this.target=t,this.name=r,this.isValid=u.default.observable(!0),this.validationError=u.default.observable(),this.validationErrors=u.default.observable(),this.validationStatus=u.default.observable(e),this._eventsStrategy=new a.EventsStrategy(this),this.validationRules=(0,i.map)(s,((e,t)=>(0,o.extend)({},e,{validator:this,index:t}))),this._validationInfo={result:null,deferred:null}},_updateValidationResult(e){if(this._validationInfo.result&&this._validationInfo.result.id===e.id)for(const t in e)"id"!==t&&"complete"!==t&&(this._validationInfo.result[t]=e[t]);else{const t=this._validationInfo.deferred&&this._validationInfo.result.complete;this._validationInfo.result=(0,o.extend)({},e,{complete:t})}},validate(){const e=this._validationInfo&&this._validationInfo.result,n=this.target();if(e&&e.status===t&&e.value===n)return(0,o.extend)({},e);const i=s.default.validate(n,this.validationRules,this.name);return i.id=(new c.default).toString(),this._applyValidationResult(i),i.complete&&i.complete.then((e=>{e.id===this._validationInfo.result.id&&this._applyValidationResult(e)})),(0,o.extend)({},this._validationInfo.result)},reset(){this.target(null);const t={id:null,isValid:!0,brokenRule:null,pendingRules:null,status:e,complete:null};return this._applyValidationResult(t),t},_applyValidationResult(e){if(e.validator=this,this._updateValidationResult(e),this.target.dxValidator.isValid(this._validationInfo.result.isValid),this.target.dxValidator.validationError(this._validationInfo.result.brokenRule),this.target.dxValidator.validationErrors(this._validationInfo.result.brokenRules),this.target.dxValidator.validationStatus(this._validationInfo.result.status),e.status===t)return this._validationInfo.deferred||(this._validationInfo.deferred=new l.Deferred,this._validationInfo.result.complete=this._validationInfo.deferred.promise()),void this._eventsStrategy.fireEvent("validating",[this._validationInfo.result]);e.status!==t&&(this._eventsStrategy.fireEvent("validated",[e]),this._validationInfo.deferred&&(this._validationInfo.deferred.resolve(e),this._validationInfo.deferred=null))},on(e,t){return this._eventsStrategy.on(e,t),this},off(e,t){return this._eventsStrategy.off(e,t),this}});u.default.extenders.dxValidator=function(e,t){return e.dxValidator=new n(e,t),e.subscribe(e.dxValidator.validate.bind(e.dxValidator)),e},s.default.registerModelForValidation=function(e){(0,i.each)(e,(function(t,n){u.default.isObservable(n)&&n.dxValidator&&s.default.registerValidatorInGroup(e,n.dxValidator)}))},s.default.unregisterModelForValidation=function(e){(0,i.each)(e,(function(t,n){u.default.isObservable(n)&&n.dxValidator&&s.default.removeRegisteredValidator(e,n.dxValidator)}))},s.default.validateModel=s.default.validateGroup}},71592:function(e,t,n){var i=r(n(78117)),o=r(n(40216));function r(e){return e&&e.__esModule?e:{default:e}}i.default&&o.default.inject({isWrapped:i.default.isObservable,isWritableWrapped:i.default.isWritableObservable,wrap:i.default.observable,unwrap:function(e){return i.default.isObservable(e)?i.default.utils.unwrapObservable(e):this.callBase(e)},assign:function(e,t){i.default.isObservable(e)?e(t):this.callBase(e,t)}})},49077:function(e,t,n){Object.defineProperty(t,"formatDate",{enumerable:!0,get:function(){return i.formatDate}}),Object.defineProperty(t,"formatMessage",{enumerable:!0,get:function(){return i.formatMessage}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return i.formatNumber}}),Object.defineProperty(t,"loadMessages",{enumerable:!0,get:function(){return i.loadMessages}}),Object.defineProperty(t,"locale",{enumerable:!0,get:function(){return i.locale}}),Object.defineProperty(t,"parseDate",{enumerable:!0,get:function(){return i.parseDate}}),Object.defineProperty(t,"parseNumber",{enumerable:!0,get:function(){return i.parseNumber}});var i=n(46795)},16615:function(e,t,n){n(23805)},89207:function(e,t,n){n(869)},94348:function(e,t,n){n(99862)},30725:function(e,t,n){n(84207)},36069:function(e,t,n){n(13203)},90270:function(e,t,n){t.default=void 0;var i=n(63705);t.default=i.hideTopOverlay;e.exports=t.default,e.exports.default=t.default},21113:function(e,t,n){t.default=void 0;var i=n(63705);t.default=i.initMobileViewport;e.exports=t.default,e.exports.default=t.default},72134:function(e,t,n){Object.defineProperty(t,"exportDataGrid",{enumerable:!0,get:function(){return i.exportDataGrid}}),Object.defineProperty(t,"exportDataGridWithAutoTable",{enumerable:!0,get:function(){return o.exportDataGrid}}),Object.defineProperty(t,"exportGantt",{enumerable:!0,get:function(){return i.exportGantt}});var i=n(92731),o=n(89222)},53200:function(e,t,n){Object.defineProperty(t,"getTimeZones",{enumerable:!0,get:function(){return i.getTimeZones}});var i=n(63705)},5298:function(e,t,n){t.default=void 0;var i,o=(i=n(89983))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},78694:function(e,t,n){t.default=void 0;var i,o=(i=n(24768))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},11979:function(e,t,n){t.default=void 0;var i,o=(i=n(52621))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},31876:function(e,t,n){t.default=void 0;var i,o=(i=n(14474))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},91374:function(e,t,n){t.default=void 0;var i,o=(i=n(97972))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},56417:function(e,t,n){t.default=void 0;var i=n(11528),o=n(21274);const r=["year","month","day"],a=["year","month","day","hour","minute"],s=function(e){return"date"===e||"datetime"===e},l=function(e){let t,n=[];const o=["year","month","day","hour","minute","second"],l=e.headerFilter&&e.headerFilter.groupInterval,c="quarter"===l?"month":l;return s(e.dataType)&&null!==l?(n="datetime"===e.dataType?a:r,t=o.indexOf(c),t>=0?(n=o.slice(0,t),n.push(l),n):n):(0,i.isDefined)(l)?Array.isArray(l)?l:[l]:void 0};t.default=function(){const e=function(e,t){let n=e.dataField||e.selector;return"search"===t&&(n=e.displayField||function(e){var t;return null!==(t=e.calculateDisplayValue)&&void 0!==t&&t.context?e.calculateDisplayValue:null}(e)||n),n},t=function(t,n){const o=this;let r,a,l;const c=e(o,n);if(Array.isArray(t)&&(0,i.isDefined)(t[0])&&(0,i.isDefined)(t[1]))return a=[c,">=",t[0]],l=[c,"<=",t[1]],s(o.dataType)&&(u=t[1]).getHours()+u.getMinutes()+u.getSeconds()+u.getMilliseconds()<1&&(r=new Date(t[1].getTime()),"date"===o.dataType&&r.setDate(t[1].getDate()+1),l=[c,"<",r]),[a,"and",l];var u},n=function(t,n,r){const a=this;let s,c,u;const d=(h=t,(0,i.isDate)(h)?[h.getFullYear(),h.getMonth(),h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds()]:(0,o.map)((""+h).split("/"),(function(e,t){return 1===t?Number(e)-1:Number(e)})));var h;const f=e(a,r);switch("headerFilter"===r?u=l(a)[d.length-1]:"datetime"===a.dataType&&(u="minute"),u){case"year":s=new Date(d[0],0,1),c=new Date(d[0]+1,0,1);break;case"month":s=new Date(d[0],d[1],1),c=new Date(d[0],d[1]+1,1);break;case"quarter":s=new Date(d[0],3*d[1],1),c=new Date(d[0],3*d[1]+3,1);break;case"hour":s=new Date(d[0],d[1],d[2],d[3]),c=new Date(d[0],d[1],d[2],d[3]+1);break;case"minute":s=new Date(d[0],d[1],d[2],d[3],d[4]),c=new Date(d[0],d[1],d[2],d[3],d[4]+1);break;case"second":s=new Date(d[0],d[1],d[2],d[3],d[4],d[5]),c=new Date(d[0],d[1],d[2],d[3],d[4],d[5]+1);break;default:s=new Date(d[0],d[1],d[2]),c=new Date(d[0],d[1],d[2]+1)}switch(n){case"<":return[f,"<",s];case"<=":return[f,"<",c];case">":return[f,">=",c];case">=":return[f,">=",s];case"<>":return[[f,"<",s],"or",[f,">=",c]];default:return[[f,">=",s],"and",[f,"<",c]]}},r=function(t,n,o){const r=e(this,o),a=l(this);if("headerFilter"===o&&a&&(0,i.isDefined)(t)){const e=(""+t).split("/"),n=Number(e[e.length-1]);return[[r,">=",n],"and",[r,"<",n+a[e.length-1]]]}return[r,n||"=",t]};return{defaultCalculateFilterExpression:function(o,a,l){const c=this,u=e(c,l),d=c.calculateDisplayValue&&"search"===l,h=d&&c.lookup&&c.lookup.dataType||c.dataType;let f=null;if("headerFilter"!==l&&"filterBuilder"!==l||null!==o)if("string"!==h||c.lookup&&!d){if("between"===a)return t.apply(c,[o,l]);if(s(h)&&(0,i.isDefined)(o))return n.apply(c,arguments);if("number"===h)return r.apply(c,arguments);f=[u,a||"=",o]}else f=[u,a||"contains",o];else f=[u,a||"=",null],"string"===h&&(f=[f,"="===a?"or":"and",[u,a||"=",""]]);return f},getGroupInterval:l}}();e.exports=t.default,e.exports.default=t.default},52071:function(e,t,n){t.attachCssClasses=z,t.current=F,t.default=void 0,t.detachCssClasses=j,t.init=V,t.initialized=te,t.isCompact=q,t.isDark=K,t.isFluent=$,t.isGeneric=Y,t.isMaterial=U,t.isMaterialBased=W,t.isPendingThemeLoaded=B,t.isWebFontLoaded=X,t.ready=G,t.resetTheme=ee,t.setDefaultTimeout=ne,t.waitForThemeLoad=I,t.waitWebFont=J;var i=n(57653),o=_(n(65951)),r=_(n(64960)),a=_(n(64553)),s=n(87739),l=n(23563),c=n(21274),u=_(n(3122)),d=n(55355),h=n(3104),f=n(88737),p=n(39315),g=_(n(35185));function _(e){return e&&e.__esModule?e:{default:e}}const m=(0,h.getWindow)(),v=u.default.add,b=d.value,y=d.changeCallback;let x=new s.Deferred;const C="link[rel=dx-theme]",S="data-theme",w="data-active",E="dx-hairlines",T="any";let A,O,k,D,L,P=15e3;const M="dx.";function R(){if(!(0,h.hasWindow)())return null;const e=(0,a.default)("<div>",A).addClass("dx-theme-marker").appendTo(A.documentElement);let t;try{return t=m.getComputedStyle(e.get(0)).fontFamily,t?(t=t.replace(/["']/g,""),t.substr(0,M.length)!==M?null:t.substr(M.length)):null}finally{e.remove()}}function I(e){let t,n,i=!0;function o(){L=null,clearInterval(n),i=!0,f.themeReadyCallback.fire(),f.themeReadyCallback.empty(),x.resolve()}if(L=e,B()||!P)o();else{if(!i)return void(L&&(L=e));t=Date.now(),i=!1,n=setInterval((function(){const e=B(),n=!e&&Date.now()-t>P;n&&g.default.log("W0004",L),(e||n)&&o()}),10)}}function B(){if(!L)return!0;const e=L===T;if("resolved"===x.state()&&e)return!0;const t=R();return!(!t||!e)||t===L}function V(e){(function(e){try{e!==A&&(k=null)}catch(e){k=null}A=e})((e=e||{}).context||r.default.getDocument()),A&&(!function(){const e=(0,a.default)(C,A);e.length&&(k={},O=(0,a.default)((0,l.parseHTML)("<link rel=stylesheet>"),A),e.each((function(){const e=(0,a.default)(this,A),t=e.attr(S),n=e.attr("href"),i="true"===e.attr(w);k[t]={url:n,isActive:i}})),e.last().after(O),e.remove())}(),D=void 0,F(e))}function F(e){if(!arguments.length)return D=D||R(),D;j(b()),"string"==typeof(e=e||{})&&(e={theme:e});const t=e._autoInit,n=e.loadCallback;let i;if(D=function(e){const t=e?e.split("."):[];let n=null;if(k){if(e in k)return e;(0,c.each)(k,(function(e,i){const o=e.split(".");if(!(t[0]&&o[0]!==t[0]||t[1]&&t[1]!==o[1]||t[2]&&t[2]!==o[2]))return n&&!i.isActive||(n=e),!i.isActive&&void 0}))}return n}(e.theme||D),D&&(i=k[D]),n&&f.themeReadyCallback.add(n),i)O.attr("href",k[D].url),(f.themeReadyCallback.has()||"resolved"!==x.state()||e._forceTimeout)&&I(D);else{if(!t)throw g.default.Error("E0021",D);(0,h.hasWindow)()&&I(T),f.themeReadyCallback.fire(),f.themeReadyCallback.empty()}x.done((()=>z((0,d.originalViewPort)(),D)))}let H;function N(e,t){H=function(e){const t=[],n=(e=e||F())&&e.split(".");return n&&(t.push("dx-theme-"+n[0],"dx-theme-"+n[0]+"-typography"),n.length>1&&t.push("dx-color-scheme-"+n[1]+(W(e)?"-"+n[2]:""))),t}(t).join(" "),(0,a.default)(e).addClass(H);!function(){const t=(0,h.hasWindow)()&&m.devicePixelRatio;if(!t||t<2)return;const n=(0,a.default)("<div>");n.css("border",".5px solid transparent"),(0,a.default)("body").append(n),1===(0,i.getOuterHeight)(n)&&((0,a.default)(e).addClass(E),H+=" "+E),n.remove()}()}function z(e,t){(0,s.when)(p.uiLayerInitialized).done((()=>{N(e,t)}))}function j(e){(0,s.when)(p.uiLayerInitialized).done((()=>{(0,a.default)(e).removeClass(H)}))}function G(e){f.themeReadyCallback.add(e)}function Z(e,t){return t||(t=D||R()),new RegExp(e).test(t)}function W(e){return U(e)||$(e)}function U(e){return Z("material",e)}function $(e){return Z("fluent",e)}function Y(e){return Z("generic",e)}function K(e){return Z("dark",e)}function q(e){return Z("compact",e)}function X(e,t){const n=r.default.getDocument(),i=n.createElement("span");i.style.position="absolute",i.style.top="-9999px",i.style.left="-9999px",i.style.visibility="hidden",i.style.fontFamily="Arial",i.style.fontSize="250px",i.style.fontWeight=t,i.innerHTML=e,n.body.appendChild(i);const o=i.offsetWidth;i.style.fontFamily="Roboto, RobotoFallback, Arial";const a=i.offsetWidth;return i.parentNode.removeChild(i),o!==a}function J(e,t){return new Promise((n=>{const i=()=>{clearInterval(o),clearTimeout(r),n()},o=setInterval((()=>{X(e,t)&&i()}),15),r=setTimeout(i,2e3)}))}function Q(){if(V({_autoInit:!0,_forceTimeout:!0}),(0,a.default)(C,A).length)throw g.default.Error("E0022")}function ee(){O&&O.attr("href","about:blank"),D=null,L=null,x=new s.Deferred}function te(e){x.done(e)}function ne(e){P=e}(0,h.hasWindow)()?Q():v(Q),y.add((function(e,t){x.done((function(){j(t),z(e)}))})),o.default.changed.add((function(){V({_autoInit:!0})}));t.default={setDefaultTimeout:ne,initialized:te,resetTheme:ee,ready:G,waitWebFont:J,isWebFontLoaded:X,isCompact:q,isDark:K,isGeneric:Y,isMaterial:U,isFluent:$,isMaterialBased:W,detachCssClasses:j,attachCssClasses:z,current:F,waitForThemeLoad:I,isPendingThemeLoaded:B}},88737:function(e,t,n){t.themeReadyCallback=void 0;var i,o=(i=n(84718))&&i.__esModule?i:{default:i};t.themeReadyCallback=(0,o.default)()},19391:function(e,t,n){t.default=void 0;var i,o=(i=n(79697))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},59098:function(e,t,n){t.default=void 0;var i,o=(i=n(22864))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},35944:function(e,t,n){t.tabbable=t.focused=t.focusable=void 0;var i=r(n(64553)),o=r(n(64960));function r(e){return e&&e.__esModule?e:{default:e}}const a=function(e,t){if(!function(e){const t=(0,i.default)(e);return t.is(":visible")&&"hidden"!==t.css("visibility")&&"hidden"!==t.parents().css("visibility")}(e))return!1;const n=e.nodeName.toLowerCase(),o=!isNaN(t),r=e.disabled,a=/^(input|select|textarea|button|object|iframe)$/.test(n),s="a"===n;let l;const c=e.isContentEditable;return l=a||c?!r:s&&e.href||o,l};t.focusable=function(e,t){return a(t,(0,i.default)(t).attr("tabIndex"))};t.tabbable=function(e,t){const n=(0,i.default)(t).attr("tabIndex");return(isNaN(n)||n>=0)&&a(t,n)};t.focused=function(e){const t=(0,i.default)(e).get(0);return o.default.getActiveElement(t)===t}},5080:function(e,t,n){t.default=void 0;var i,o=(i=n(64553))&&i.__esModule?i:{default:i},r=n(55355);const a="dx-swatch-";t.default={getSwatchContainer:e=>{const t=(0,o.default)(e).closest(`[class^="${a}"], [class*=" ${a}"]`),n=(0,r.value)();if(!t.length)return n;const i=new RegExp(`(\\s|^)(${a}.*?)(\\s|$)`),s=t[0].className.match(i)[2];let l=n.children("."+s);return l.length||(l=(0,o.default)("<div>").addClass(s).appendTo(n)),l}};e.exports=t.default,e.exports.default=t.default},35185:function(e,t,n){t.default=void 0;var i=r(n(67264)),o=r(n(87129));function r(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)(o.default.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' does not inherit from DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' does not exist",E1007:"State storing cannot be provided due to the restrictions of the browser",E1010:"The template does not contain the TextBox widget",E1011:'Items cannot be deleted from the List. Implement the "remove" function in the data store',E1012:"Editing type '{0}' with the name '{1}' is unsupported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called if you use a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"The type cannot be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:'The "markers" option is given an invalid value. Assign an array instead',E1023:'The "routes" option is given an invalid value. Assign an array instead',E1025:"This layout is too complex to render",E1026:'The "calculateCustomSummary" function is missing from a field whose "summaryType" option is set to "custom"',E1031:"Unknown subscription in the Scheduler widget: '{0}'",E1032:"Unknown start date in an appointment: '{0}'",E1033:"Unknown step in the date navigator: '{0}'",E1034:"The browser does not implement an API for saving files",E1035:"The editor cannot be created: {0}",E1037:"Invalid structure of grouped data",E1038:"The browser does not support local storages for local web pages",E1039:"A cell's position cannot be calculated",E1040:"The '{0}' key value is not unique within the data array",E1041:"The '{0}' script is referenced after the DevExtreme scripts or not referenced at all",E1042:"{0} requires the key field to be specified",E1043:"Changes cannot be processed due to the incorrectly set key",E1044:"The key field specified by the keyExpr option does not match the key field specified in the data store",E1045:"Editing requires the key field to be specified in the data store",E1046:"The '{0}' key field is not found in data objects",E1047:'The "{0}" field is not found in the fields array',E1048:'The "{0}" operation is not found in the filterOperations array',E1049:"Column '{0}': filtering is allowed but the 'dataField' or 'name' option is not specified",E1050:"The validationRules option does not apply to third-party editors defined in the editCellTemplate",E1052:'{0} should have the "dataSource" option specified',E1053:'The "buttons" option accepts an array that contains only objects or string values',E1054:"All text editor buttons must have names",E1055:'One or several text editor buttons have invalid or non-unique "name" values',E1056:'The {0} widget does not support buttons of the "{1}" type',E1058:'The "startDayHour" and "endDayHour" options must be integers in the [0, 24] range, with "endDayHour" being greater than "startDayHour".',E1059:"The following column names are not unique: {0}",E1060:"All editable columns must have names",E1061:'The "offset" option must be an integer in the [-1440, 1440] range, divisible by 5 without a remainder.',E1062:'The "cellDuration" must be a positive integer, evenly dividing the ("endDayHour" - "startDayHour") interval into minutes.',W1001:'The "key" option cannot be modified after initialization',W1002:"An item with the key '{0}' does not exist",W1003:"A group with the key '{0}' in which you are trying to select items does not exist",W1004:"The item '{0}' you are trying to select in the group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns.",W1006:"The map service returned the following error: '{0}'",W1007:"No item with key {0} was found in the data source, but this key was used as the parent key for item {1}",W1008:"Cannot scroll to the '{0}' date because it does not exist on the current view",W1009:"Searching works only if data is specified using the dataSource option",W1010:"The capability to select all items works with source data of plain structure only",W1011:'The "keyExpr" option is not applied when dataSource is not an array',W1012:"The '{0}' key field is not found in data objects",W1013:'The "message" field in the dialog component was renamed to "messageHtml". Change your code correspondingly. In addition, if you used HTML code in the message, make sure that it is secure',W1014:"The Floating Action Button exceeds the recommended speed dial action count. If you need to display more speed dial actions, increase the maxSpeedDialActionCount option value in the global config.",W1017:"The 'key' property is not specified for a lookup data source. Please specify it to prevent requests for the entire dataset when users filter data.",W1018:"Infinite scrolling may not work properly with multiple selection. To use these features together, set 'selection.deferred' to true or set 'selection.selectAllMode' to 'page'.",W1019:"Filter query string exceeds maximum length limit of {0} characters.",W1020:"hideEvent is ignored when the shading property is true",W1021:"The '{0}' is not rendered because none of the DOM elements match the value of the \"container\" property.",W1022:"{0} JSON parsing error: '{1}'",W1023:"Appointments require unique keys. Otherwise, the agenda view may not work correctly.",W1024:"The client-side export is enabled. Implement the 'onExporting' function.",W1025:"'scrolling.mode' is set to 'virtual' or 'infinite'. Specify the height of the component.",W1026:"The 'ai' toolbar item is defined, but aiIntegration is missing.",W1027:"A prompt should be specified for a custom command."});e.exports=t.default,e.exports.default=t.default},11118:function(e,t,n){t.default=void 0;var i,o=(i=n(89275))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},63885:function(e,t,n){t.default=void 0;var i=n(28779);t.default={logarithmic:"logarithmic",discrete:"discrete",numeric:"numeric",left:"left",right:"right",top:"top",bottom:"bottom",center:"center",horizontal:"horizontal",vertical:"vertical",convertTicksToValues:function(e){return(0,i.map)(e||[],(function(e){return e.value}))},validateOverlappingMode:function(e){return"ignore"===e||"none"===e?e:"hide"},getTicksCountInRange:function(e,t,n){let i=1;if(e.length>1)for(;i<e.length&&!(Math.abs(e[i].coords[t]-e[0].coords[t])>=n);i++);return i},areLabelsOverlap:function(e,t,n,i){const o=e.x>t.x,r=e.y>t.y;let a=e.x,s=t.x;const l=e.width,c=t.width;"left"===i?(a+=l/2,s+=c/2):"right"===i&&(a-=l/2,s-=c/2);const u=o?s+c+n>a:a+l+n>s,d=r?t.y+t.height>e.y:e.y+e.height>t.y;return u&&d}};e.exports=t.default,e.exports.default=t.default},86017:function(e,t){t.measureLabels=t.calculateCanvasMargins=void 0;const n=Math.max;t.calculateCanvasMargins=function(e,t){const i=t.left,o=t.top,r=t.width-t.right,a=t.height-t.bottom;return e.reduce((function(e,t){return!t||t.isEmpty?e:{left:n(e.left,i-t.x),top:n(e.top,o-t.y),right:n(e.right,t.x+t.width-r),bottom:n(e.bottom,t.y+t.height-a)}}),{left:0,right:0,top:0,bottom:0})};t.measureLabels=function(e){e.forEach((function(e){const t=e.getContentContainer();e.labelBBox=t?t.getBBox():{x:0,y:0,width:0,height:0}}))}},99091:function(e,t,n){t.Axis=void 0;var i=n(38528),o=n(28779),r=n(11528),a=w(n(63885)),s=n(52576),l=w(n(2082)),c=n(60976),u=n(64449),d=n(64174),h=n(99857),f=n(99043),p=n(50254),g=w(n(41380)),_=n(17781),m=w(n(9441)),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(75014)),b=w(n(21259)),y=w(n(38922)),x=n(87739),C=n(86017);function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function w(e){return e&&e.__esModule?e:{default:e}}const E=a.default.convertTicksToValues,T=Math,A=T.abs,O=T.max,k=T.min,D=Array.isArray,L=a.default.top,P=a.default.bottom,M=a.default.left,R=a.default.right,I=a.default.center,B="keep",V="shift",F="reset",H="rotate",N=864e5,z=6048e5;function j(e,t,n,i,o,r){var a;let{allowNegatives:s,linearThreshold:l}=r;return(0,u.tickGenerator)({axisType:e.type,dataType:e.dataType,logBase:e.logarithmBase,allowNegatives:s,linearThreshold:l,axisDivisionFactor:o(e.axisDivisionFactor||50),minorAxisDivisionFactor:o(e.minorAxisDivisionFactor||15),numberMultipliers:e.numberMultipliers,calculateMinors:e.minorTick.visible||e.minorGrid.visible||e.calculateMinors,allowDecimals:e.allowDecimals,endOnTick:e.endOnTick,incidentOccurred:t,firstDayOfWeek:null===(a=e.workWeek)||void 0===a?void 0:a[0],skipTickGeneration:n,skipCalculationLimits:e.skipCalculationLimits,generateExtraTick:e.generateExtraTick,minTickInterval:e.minTickInterval,rangeIsEmpty:i})}function G(e,t,n){const i=e.getOptions();return(0,f.tick)(e,t,i.tick,i.grid,n,!1)}function Z(e,t){const n=e.getOptions();return(0,f.tick)(e,t,n.minorTick,n.minorGrid)}function W(e,t,n){const i=e.getOptions();return(0,f.tick)(e,t,(0,s.extend)({},i.tick,{visible:i.showCustomBoundaryTicks}),i.grid,void 0,!1,n?-1:1)}function U(e,t,n,i){(e||[]).forEach((e=>e[t](n,i)))}function $(e){U(e,"initCoords")}function Y(e,t){U(e,"drawMark",t)}function K(e,t){U(e,"drawGrid",t)}function q(e,t,n){U(e,"updateTickPosition",t,n)}function X(e,t){U(e,"updateGridPosition",t)}function J(e){let t=e.length-1;for(;t>=0&&Q(e,t);t--);for(t=0;t<e.length&&Q(e,t);t++)t--}function Q(e,t){return(null===e[t].coords.x||null===e[t].coords.y)&&(e.splice(t,1),!0)}function ee(e,t){return 180*T.asin((e[0].height+t.minSpacing)/(e[1].x-e[0].x))/T.PI<45?-45:-90}function te(e,t,n){e.forEach((function(e,i){e.getContentContainer()&&(i%t!=0?e.removeLabel():n&&n(e,i))}))}function ne(e,t){return void 0===e?t:null===e?void 0:e}const ie=function(e){const t=this;t._renderer=e.renderer,t._incidentOccurred=e.incidentOccurred,t._eventTrigger=e.eventTrigger,t._stripsGroup=e.stripsGroup,t._stripLabelAxesGroup=e.stripLabelAxesGroup,t._labelsAxesGroup=e.labelsAxesGroup,t._constantLinesGroup=e.constantLinesGroup,t._scaleBreaksGroup=e.scaleBreaksGroup,t._axesContainerGroup=e.axesContainerGroup,t._gridContainerGroup=e.gridGroup,t._axisCssPrefix=e.widgetClass+"-"+(e.axisClass?e.axisClass+"-":""),t._setType(e.axisType,e.drawingType),t._createAxisGroups(),t._translator=t._createTranslator(),t.isArgumentAxis=e.isArgumentAxis,t._viewport={},t._prevDataInfo={},t._firstDrawing=!0,t._initRange={},t._getTemplate=e.getTemplate};t.Axis=ie,ie.prototype={constructor:ie,_drawAxis(){const e=this._options;e.visible&&(this._axisElement=this._createAxisElement(),this._updateAxisElementPosition(),this._axisElement.attr({"stroke-width":e.width,stroke:e.color,"stroke-opacity":e.opacity}).sharp(this._getSharpParam(!0),this.getAxisSharpDirection()).append(this._axisLineGroup))},_createPathElement(e,t,n){return this.sharp(this._renderer.path(e,"line").attr(t),n)},sharp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.sharp(this._getSharpParam(),t)},customPositionIsAvailable:()=>!1,getOrthogonalAxis:_.noop,getCustomPosition:_.noop,getCustomBoundaryPosition:_.noop,resolveOverlappingForCustomPositioning:_.noop,hasNonBoundaryPosition:()=>!1,customPositionIsBoundaryOrthogonalAxis:()=>!1,getResolvedBoundaryPosition(){return this.getOptions().position},getAxisSharpDirection(){const e=this.getResolvedBoundaryPosition();return this.hasNonBoundaryPosition()||e!==P&&e!==R?1:-1},getSharpDirectionByCoords(e){const t=this._getCanvasStartEnd(),n=Math.max(t.start,t.end);return this.getRadius?0:n!==e[this._isHorizontal?"x":"y"]?1:-1},_getGridLineDrawer:function(){const e=this;return function(t,n){const i=e._getGridPoints(t.coords);return i.points?e._createPathElement(i.points,n,e.getSharpDirectionByCoords(t.coords)):null}},_getGridPoints:function(e){const t=this,n=this._isHorizontal,i=n?"x":"y",o=this._orthogonalPositions,r=o.start,a=o.end,s=t.borderOptions,l=n?M:L,c=n?R:P,u=t.getCanvas(),d={left:u.left,right:u.width-u.right,top:u.top,bottom:u.height-u.bottom},h=4+(s.visible&&s[l]?d[l]:void 0),f=(s.visible&&s[c]?d[c]:void 0)-4;return t.areCoordsOutsideAxis(e)||void 0===e[i]||e[i]<h||e[i]>f?{points:null}:{points:n?null!==e[i]?[e[i],r,e[i],a]:null:null!==e[i]?[r,e[i],a,e[i]]:null}},_getConstantLinePos:function(e,t,n){const i=this._getTranslatedCoord(e);if(!(!(0,r.isDefined)(i)||i<k(t,n)||i>O(t,n)))return i},_getConstantLineGraphicAttributes:function(e){const t=this._orthogonalPositions.start,n=this._orthogonalPositions.end;return{points:this._isHorizontal?[e,t,e,n]:[t,e,n,e]}},_createConstantLine:function(e,t){return this._createPathElement(this._getConstantLineGraphicAttributes(e).points,t,(n=e,i=this._getCanvasStartEnd(),Math.max(i.start,i.end)!==n?1:-1));var n,i},_drawConstantLineLabelText:function(e,t,n,i,r){let{font:a,cssClass:l}=i;return this._renderer.text(e,t,n).css((0,o.patchFontOptions)((0,s.extend)({},this._options.label.font,a))).attr({align:"center",class:l}).append(r)},_drawConstantLineLabels:function(e,t,n,i){const o=this;let r=t.text;const a=o._options.label;o._checkAlignmentConstantLineLabels(t),r=r??o.formatLabel(e,a);const s=o._getConstantLineLabelsCoords(n,t);return o._drawConstantLineLabelText(r,s.x,s.y,t,i)},_getStripPos:function(e,t,n,i,o){const a=!(!o.minVisible&&!o.maxVisible),s=(o.categories||[]).reduce((function(e,t){return e.push(t.valueOf()),e}),[]);let l,c,u,d,h;if(!a&&(0,r.isDefined)(e)&&(0,r.isDefined)(t)){const n=this.parser(e),i=this.parser(t);if(d=s.indexOf((null==n?void 0:n.valueOf())??void 0),h=s.indexOf((null==i?void 0:i.valueOf())??void 0),-1===d||-1===h)return{from:0,to:0,outOfCanvas:!0};d>h&&(u=t,t=e,e=u)}(0,r.isDefined)(e)?(e=this.validateUnit(e,"E2105","strip"),l=this._getTranslatedCoord(e,-1)):l=n,(0,r.isDefined)(t)?(t=this.validateUnit(t,"E2105","strip"),c=this._getTranslatedCoord(t,1)):c=i;const f=l<c?{from:l,to:c}:{from:c,to:l},p=this.getVisibleArea();return(f.from<=p[0]&&f.to<=p[0]||f.from>=p[1]&&f.to>=p[1])&&(f.outOfCanvas=!0),f},_getStripGraphicAttributes:function(e,t){let n,i,o,r;const a=this._orthogonalPositions,s=a.start,l=a.end;return this._isHorizontal?(n=e,i=k(s,l),o=t-e,r=A(s-l)):(n=k(s,l),i=e,o=A(s-l),r=A(e-t)),{x:n,y:i,width:o,height:r}},_createStrip:function(e){return this._renderer.rect(e.x,e.y,e.width,e.height)},_adjustStripLabels:function(){const e=this;this._strips.forEach((function(t){t.label&&t.label.attr(e._getAdjustedStripLabelCoords(t))}))},_adjustLabelsCoord(e,t,n){const i=i=>this._getLabelAdjustedCoord(i,e+(i.labelOffset||0),t,n);this._majorTicks.forEach((function(e){e.label?(e.updateMultilineTextAlignment(),e.label.attr(i(e))):e.templateContainer&&e.templateContainer.attr(i(e))}))},_adjustLabels:function(e){const t=this,n=t.getOptions(),i=n.position===n.label.position,r=t._majorTicks.reduce((function(e,t){if(!t.getContentContainer())return e;const n=t.labelRotationAngle?(0,o.rotateBBox)(t.labelBBox,[t.labelCoords.x,t.labelCoords.y],-t.labelRotationAngle):t.labelBBox;return{width:O(e.width||0,n.width),height:O(e.height||0,n.height),offset:O(e.offset||0,t.labelOffset||0)}}),{}),a=i?t._isHorizontal?r.height:r.width:0;return t._adjustLabelsCoord(e,r.width),e+a+(a&&t._options.label.indentFromAxis)+(i?r.offset:0)},_getLabelAdjustedCoord:function(e,t,n){t=t||0;const i=this,r=i._options,a=e.templateContainer&&e.templateContainer.getBBox()||(0,o.rotateBBox)(e.labelBBox,[e.labelCoords.x,e.labelCoords.y],-e.labelRotationAngle||0),s=e.labelAlignment||r.label.alignment,l="discrete"===i._options.type,c=e.labelRotationAngle%90==0,u=r.label.indentFromAxis,d=r.label.position,h=i._axisPosition,f=e.labelCoords,p=f.x;let g,_;return i._isHorizontal?(_=d===P?h+u-a.y+t:h-u-(a.y+a.height)-t,g=s===R?l&&c?e.coords.x-(a.x+a.width):p-a.x-a.width:s===M?l&&c?p-a.x-(e.coords.x-p):p-a.x:p-a.x-a.width/2):(_=f.y-a.y-a.height/2,d===M?(g=s===M?h-u-n-a.x:s===I?h-u-n/2-a.x-a.width/2:h-u-a.x-a.width,g-=t):(g=s===R?h+u+n-a.x-a.width:s===I?h+u+n/2-a.x-a.width/2:h+u-a.x,g+=t)),{translateX:g,translateY:_}},_createAxisConstantLineGroups:function(){const e=this._renderer,t=this._axisCssPrefix+"constant-lines",n=e.g().attr({class:t}),i=e.g().attr({class:t}),o=e.g().attr({class:t});return{inside:n,outside1:i,left:i,top:i,outside2:o,right:o,bottom:o,remove:function(){this.inside.remove(),this.outside1.remove(),this.outside2.remove()},clear:function(){this.inside.clear(),this.outside1.clear(),this.outside2.clear()}}},_createAxisGroups:function(){const e=this,t=e._renderer,n=e._axisCssPrefix;e._axisGroup=t.g().attr({class:n+"axis"}).enableLinks(),e._axisStripGroup=t.g().attr({class:n+"strips"}),e._axisGridGroup=t.g().attr({class:n+"grid"}),e._axisElementsGroup=t.g().attr({class:n+"elements"}),e._axisLineGroup=t.g().attr({class:n+"line"}).linkOn(e._axisGroup,"axisLine").linkAppend(),e._axisTitleGroup=t.g().attr({class:n+"title"}).append(e._axisGroup),e._axisConstantLineGroups={above:e._createAxisConstantLineGroups(),under:e._createAxisConstantLineGroups()},e._axisStripLabelGroup=t.g().attr({class:n+"axis-labels"})},_clearAxisGroups:function(){const e=this;e._axisGroup.remove(),e._axisStripGroup.remove(),e._axisStripLabelGroup.remove(),e._axisConstantLineGroups.above.remove(),e._axisConstantLineGroups.under.remove(),e._axisGridGroup.remove(),e._axisTitleGroup.clear(),e._options.label.template&&e.isRendered()||(e._axisElementsGroup.remove(),e._axisElementsGroup.clear()),e._axisLineGroup&&e._axisLineGroup.clear(),e._axisStripGroup&&e._axisStripGroup.clear(),e._axisGridGroup&&e._axisGridGroup.clear(),e._axisConstantLineGroups.above.clear(),e._axisConstantLineGroups.under.clear(),e._axisStripLabelGroup&&e._axisStripLabelGroup.clear()},_getLabelFormatObject:function(e,t,n,o,r,a){n=n||this._getViewportRange();const s={value:e,valueText:(0,i.smartFormatter)(e,{labelOptions:t,ticks:a||E(this._majorTicks),tickInterval:r??this._tickInterval,dataType:this._options.dataType,logarithmBase:this._options.logarithmBase,type:this._options.type,showTransition:!this._options.marker.visible,point:o})||"",min:n.minVisible,max:n.maxVisible};return o&&(s.point=o),s},formatLabel:function(e,t,n,i,o,a){const s=this._getLabelFormatObject(e,t,n,i,o,a);return(0,r.isFunction)(t.customizeText)?t.customizeText.call(s,s):s.valueText},formatHint:function(e,t,n){const i=this._getLabelFormatObject(e,t,n);return(0,r.isFunction)(t.customizeHint)?t.customizeHint.call(i,i):void 0},formatRange(e,t,n,o){return(0,i.formatRange)({startValue:e,endValue:t,tickInterval:n,argumentFormat:o,axisOptions:this.getOptions()})},_setTickOffset:function(){const e=this._options.discreteAxisDivisionMode;this._tickOffset=+("crossLabels"!==e||!e)},aggregatedPointBetweenTicks(){return"crossTicks"===this._options.aggregatedPointsPosition},resetApplyingAnimation:function(e){this._resetApplyingAnimation=!0,e&&(this._firstDrawing=!0)},isFirstDrawing(){return this._firstDrawing},getMargins:function(){const e=this,{position:t,offset:n,customPosition:i,placeholderSize:o,grid:a,tick:s,crosshairMargin:l}=e._options,c=(0,r.isDefined)(i),u=e.getResolvedBoundaryPosition(),d=e.getCanvas(),h=d.left,f=d.top,p=d.width-d.right,g=d.height-d.bottom,_=O(a.visible&&a.width||0,s.visible&&s.width||0),m=e._axisConstantLineGroups.above,v=e._axisConstantLineGroups.under,b=[e._axisElementsGroup,m.outside1,m.outside2,v.outside1,v.outside2,e._axisLineGroup].map((e=>e&&e.getBBox())).concat(function(t){const n=t&&t.getBBox();return!n||n.isEmpty||(e._isHorizontal?(n.x=h,n.width=p-h):(n.y=f,n.height=g-f)),n}(e._axisTitleGroup)),y=(0,C.calculateCanvasMargins)(b,d);if(y[t]+=l,e.hasNonBoundaryPosition()&&c&&(y[u]=0),o&&(y[t]=o),_&&(e._isHorizontal&&d.right<_&&y.right<_&&(y.right=_),!e._isHorizontal&&d.bottom<_&&y.bottom<_&&(y.bottom=_)),!c&&(0,r.isDefined)(n)){const t=e.customPositionIsBoundary()&&(n>0&&(u===M||u===L)||n<0&&(u===R||u===P));y[u]-=t?n:0}return y},validateUnit:function(e,t,n){const i=this;return void 0===(e=i.parser(e))&&t&&i._incidentOccurred(t,[n]),e},_setType:function(e,t){let n;switch(e){case"xyAxes":n=m.default;break;case"polarAxes":n=v}(0,s.extend)(this,n[t])},_getSharpParam:function(){return!0},_disposeBreaksGroup:_.noop,dispose:function(){const e=this;[e._axisElementsGroup,e._axisStripGroup,e._axisGroup].forEach((function(e){e.dispose()})),e._strips=e._title=null,e._axisStripGroup=e._axisConstantLineGroups=e._axisStripLabelGroup=e._axisBreaksGroup=null,e._axisLineGroup=e._axisElementsGroup=e._axisGridGroup=null,e._axisGroup=e._axisTitleGroup=null,e._axesContainerGroup=e._stripsGroup=e._constantLinesGroup=e._labelsAxesGroup=null,e._renderer=e._options=e._textOptions=e._textFontStyles=null,e._translator=null,e._majorTicks=e._minorTicks=null,e._disposeBreaksGroup(),e._templatesRendered&&e._templatesRendered.reject()},getOptions:function(){return this._options},setPane:function(e){this.pane=e,this._options.pane=e},setTypes:function(e,t,n){this._options.type=e||this._options.type,this._options[n]=t||this._options[n],this._updateTranslator()},resetTypes:function(e){this._options.type=this._initTypes.type,this._options[e]=this._initTypes[e]},getTranslator:function(){return this._translator},updateOptions:function(e){const t=this,n=e.label;!function(e){const t=e.label;let n=e.position;const i=e.isHorizontal?P:M,o=e.isHorizontal?L:R;let r=t.position;n!==i&&n!==o&&(n=i),r&&"outside"!==r?"inside"===r&&(r={[L]:P,[P]:L,[M]:R,[R]:M}[n]):r=n,r!==i&&r!==o&&(r=n),t.alignment===I||t.userAlignment||(t.alignment={[L]:I,[P]:I,[M]:R,[R]:M}[r]),e.position=n,t.position=r,e.hoverMode=e.hoverMode?e.hoverMode.toLowerCase():"none",t.minSpacing=t.minSpacing??5,e.type&&(e.type=e.type.toLowerCase()),e.argumentType&&(e.argumentType=e.argumentType.toLowerCase()),e.valueType&&(e.valueType=e.valueType.toLowerCase())}(e),t._options=e,e.tick=e.tick||{},e.minorTick=e.minorTick||{},e.grid=e.grid||{},e.minorGrid=e.minorGrid||{},e.title=e.title||{},e.marker=e.marker||{},t._initTypes={type:e.type,argumentType:e.argumentType,valueType:e.valueType},t._setTickOffset(),t._isHorizontal=e.isHorizontal,t.pane=e.pane,t.name=e.name,t.priority=e.priority,t._hasLabelFormat=""!==n.format&&(0,r.isDefined)(n.format),t._textOptions={opacity:n.opacity,align:"center",class:n.cssClass},t._textFontStyles=(0,o.patchFontOptions)(n.font),e.type===a.default.logarithmic&&e.logarithmBaseError&&(t._incidentOccurred("E2104"),delete e.logarithmBaseError),t._updateTranslator(),t._createConstantLines(),t._strips=(e.strips||[]).map((e=>(0,y.default)(t,e))),t._majorTicks=t._minorTicks=null,t._firstDrawing=!0},calculateInterval:function(e,t){const n=this._options;if(!n||n.type!==a.default.logarithmic)return A(e-t);const{allowNegatives:i,linearThreshold:r}=new h.Range(this.getTranslator().getBusinessRange());return A((0,o.getLogExt)(e,n.logarithmBase,i,r)-(0,o.getLogExt)(t,n.logarithmBase,i,r))},getCanvasRange(){const e=this._translator;return{startValue:e.from(e.translate("canvas_position_start")),endValue:e.from(e.translate("canvas_position_end"))}},_processCanvas:function(e){return e},updateCanvas:function(e,t){if(t)this._orthogonalPositions=null;else{const t=this._orthogonalPositions={start:this._isHorizontal?e.top:e.left,end:this._isHorizontal?e.height-e.bottom:e.width-e.right};t.center=t.start+(t.end-t.start)/2}this._canvas=e,this._translator.updateCanvas(this._processCanvas(e)),this._initAxisPositions()},getCanvas:function(){return this._canvas},getAxisShift(){return this._axisShift||0},hideTitle:function(){const e=this;e._options.title.text&&(e._incidentOccurred("W2105",[e._isHorizontal?"horizontal":"vertical"]),e._axisTitleGroup.clear())},getTitle:function(){return this._title},hideOuterElements:function(){const e=this;!e._options.label.visible&&!e._outsideConstantLines.length||e._translator.getBusinessRange().isEmpty()||(e._incidentOccurred("W2106",[e._isHorizontal?"horizontal":"vertical"]),e._axisElementsGroup.clear(),U(e._outsideConstantLines,"removeLabel"))},_resolveLogarithmicOptionsForRange(e){const t=this._options;t.type===a.default.logarithmic&&(e.addRange({allowNegatives:void 0!==t.allowNegatives?t.allowNegatives:e.min<=0}),isNaN(t.linearThreshold)||(e.linearThreshold=t.linearThreshold))},adjustViewport(e){const t=this,n=t._options,i=n.type===a.default.discrete;let s=t._seriesData&&t._seriesData.categories||[];const l=t.adjustRange((0,o.getVizRangeObject)(n.wholeRange)),c=t.getViewport()||{},u=new h.Range(e);t._addConstantLinesToRange(u);let d=(0,r.isDefined)(c.startValue),f=(0,r.isDefined)(c.endValue);i||(d=d&&(!(0,r.isDefined)(l.endValue)||c.startValue<l.endValue),f=f&&(!(0,r.isDefined)(l.startValue)||c.endValue>l.startValue));const p=d?c.startValue:u.minVisible,g=f?c.endValue:u.maxVisible;if(i){s=(0,o.getCategoriesInfo)(s,l.startValue,l.endValue).categories,u.categories=s}else u.min=l.startValue??u.min,u.max=l.endValue??u.max;const _=(0,o.adjustVisualRange)({axisType:n.type,dataType:n.dataType,base:n.logarithmBase},{startValue:d?c.startValue:void 0,endValue:f?c.endValue:void 0,length:c.length},{categories:s,min:l.startValue,max:l.endValue},{categories:s,min:p,max:g});return u.minVisible=_.startValue,u.maxVisible=_.endValue,!(0,r.isDefined)(u.min)&&(u.min=u.minVisible),!(0,r.isDefined)(u.max)&&(u.max=u.maxVisible),u.addRange({}),t._resolveLogarithmicOptionsForRange(u),u},adjustRange(e){e=e||{};const t=this._options.type===a.default.discrete,n=this._options.type===a.default.logarithmic,i=!1===this._options.allowNegatives;if(n&&(e.startValue=i&&e.startValue<=0?null:e.startValue,e.endValue=i&&e.endValue<=0?null:e.endValue),!t&&(0,r.isDefined)(e.startValue)&&(0,r.isDefined)(e.endValue)&&e.startValue>e.endValue){const t=e.endValue;e.endValue=e.startValue,e.startValue=t}return e},_getVisualRangeUpdateMode(e,t,n){let i=this._options.visualRangeUpdateMode;const o=this._translator,s=this._seriesData,l=this._prevDataInfo;if(l.isEmpty&&!l.containsConstantLine)return B;if(!this.isArgumentAxis){const e=this.getViewport();if(!(0,r.isDefined)(e.startValue)&&!(0,r.isDefined)(e.endValue)&&!(0,r.isDefined)(e.length)){const e=this.visualRange();if(!(0,r.isDefined)(e.startValue)&&!(0,r.isDefined)(e.endValue))return F}}if(this.isArgumentAxis){if(-1===[V,B,F].indexOf(i)){if(s.axisType===a.default.discrete){const e=s.categories,n=t.categories,o=this.visualRange();i=e&&n&&e.length&&-1!==n.map((e=>e.valueOf())).join(",").indexOf(e.map((e=>e.valueOf())).join(","))&&(o.startValue.valueOf()!==e[0].valueOf()||o.endValue.valueOf()!==e[e.length-1].valueOf())?B:F}else{const t=o.translate(s.min),n=o.translate(e.startValue),r=o.translate(s.max),a=o.translate(e.endValue);i=t===n&&r===a?F:t!==n&&r===a?V:B}i===B&&l.isEmpty&&l.containsConstantLine&&(i=F)}}else-1===[B,F].indexOf(i)&&(i=n===B?B:F);return i},_handleBusinessRangeChanged(e,t,n){const i=this,o=this.visualRange();if(t||i._translator.getBusinessRange().isEmpty())return;const r=i._lastVisualRangeUpdateMode=i._getVisualRangeUpdateMode(o,n,e);r===B?i._setVisualRange([o.startValue,o.endValue]):r===F?i._setVisualRange([null,null]):r===V&&i._setVisualRange({length:i.getVisualRangeLength()})},getVisualRangeLength(e){const t=e||this._translator.getBusinessRange(),{type:n}=this._options;let i;if(n===a.default.logarithmic)i=(0,p.adjust)(this.calculateInterval(t.maxVisible,t.minVisible));else if(n===a.default.discrete){i=(0,o.getCategoriesInfo)(t.categories,t.minVisible,t.maxVisible).categories.length}else i=t.maxVisible-t.minVisible;return i},getVisualRangeCenter(e,t){const n=this.getTranslator(),i=n.getBusinessRange(),l=t?(0,s.extend)(!0,{},i,e||{}):e||i,{type:c,logarithmBase:u}=this._options;let d;if((0,r.isDefined)(l.minVisible)&&(0,r.isDefined)(l.maxVisible)){if(c===a.default.logarithmic){const{allowNegatives:e,linearThreshold:t,minVisible:n,maxVisible:i}=l;d=(0,o.raiseToExt)((0,p.adjust)((0,o.getLogExt)(i,u,e,t)+(0,o.getLogExt)(n,u,e,t))/2,u,e,t)}else if(c===a.default.discrete){const e=(0,o.getCategoriesInfo)(l.categories,l.minVisible,l.maxVisible),t=Math.ceil(e.categories.length/2)-1;d=i.categories.indexOf(e.categories[t])}else d=n.toValue((l.maxVisible.valueOf()+l.minVisible.valueOf())/2);return d}},setBusinessRange(e,t,n,i){const o=this,s=o._options,l=s.type===a.default.discrete;o._handleBusinessRangeChanged(n,t,e),o._seriesData=new h.Range(e);const c=o._seriesData.isEmpty(),u=new h.Range(o._seriesData);if(o._addConstantLinesToRange(u),o._prevDataInfo={isEmpty:c,containsConstantLine:u.containsConstantLine},o._seriesData.addRange({categories:s.categories,dataType:s.dataType,axisType:s.type,base:s.logarithmBase,invert:s.inverted}),o._resolveLogarithmicOptionsForRange(o._seriesData),!l){if(!(0,r.isDefined)(o._seriesData.min)&&!(0,r.isDefined)(o._seriesData.max)){const e=o.getViewport();e&&o._seriesData.addRange({min:e.startValue,max:e.endValue})}const e=s.synchronizedValue;(0,r.isDefined)(e)&&o._seriesData.addRange({min:e,max:e})}o._seriesData.minVisible=o._seriesData.minVisible??o._seriesData.min,o._seriesData.maxVisible=o._seriesData.maxVisible??o._seriesData.max,!o.isArgumentAxis&&s.showZero&&o._seriesData.correctValueZeroLevel(),o._seriesData.sortCategories(o.getCategoriesSorter(i)),o._seriesData.userBreaks=o._seriesData.isEmpty()?[]:o._getScaleBreaks(s,o._seriesData,o._series,o.isArgumentAxis),o._translator.updateBusinessRange(o._getViewportRange())},_addConstantLinesToRange(e){this._outsideConstantLines.concat(this._insideConstantLines||[]).forEach((t=>{if(t.options.extendAxis){const n=t.getParsedValue();e.addRange({containsConstantLine:!0,minVisible:n,maxVisible:n,min:(0,r.isDefined)(e.min)?e.min:n,max:(0,r.isDefined)(e.max)?e.max:n})}}))},setGroupSeries:function(e){this._series=e},getLabelsPosition:function(){const e=this,t=e._options,n=t.position,i=t.label.indentFromAxis+(e._axisShift||0)+e._constantLabelOffset,o=e._axisPosition;return n===L||n===M?o-i:o+i},getFormattedValue:function(e,t,n){const i=this._options.label;return(0,r.isDefined)(e)?this.formatLabel(e,(0,s.extend)(!0,{},i,t),void 0,n):null},_getBoundaryTicks:function(e,t){const n=this,i=e.length,o=n._options,s=o.customBoundTicks,l=t.minVisible,c=t.maxVisible,u=o.showCustomBoundaryTicks?n._boundaryTicksVisibility:{};let d=[];return o.type===a.default.discrete?n._tickOffset&&0!==e.length&&(d=[e[0],e[e.length-1]]):s?(u.min&&(0,r.isDefined)(s[0])&&d.push(s[0]),u.max&&(0,r.isDefined)(s[1])&&d.push(s[1])):(u.min&&(0===i||e[0]>l)&&d.push(l),u.max&&(0===i||e[i-1]<c)&&d.push(c)),d},setPercentLabelFormat:function(){this._hasLabelFormat||(this._options.label.format="percent")},resetAutoLabelFormat:function(){this._hasLabelFormat||delete this._options.label.format},getMultipleAxesSpacing:function(){return this._options.multipleAxesSpacing||0},getTicksValues:function(){return{majorTicksValues:E(this._majorTicks),minorTicksValues:E(this._minorTicks)}},estimateTickInterval:function(e){const t=this;return t.updateCanvas(e),t._tickInterval!==t._getTicks(t._getViewportRange(),_.noop,!0).tickInterval},setTicks:function(e){const t=e.majorTicks||[];this._majorTicks=t.map(G(this,this._renderer,this._getSkippedCategory(t))),this._minorTicks=(e.minorTicks||[]).map(Z(this,this._renderer)),this._isSynchronized=!0},_adjustDivisionFactor:function(e){return e},_getTicks:function(e,t,n){const i=this,o=i._options,r=o.customTicks,a=o.customMinorTicks;return j(o,t||i._incidentOccurred,n,i._translator.getBusinessRange().isEmpty(),i._adjustDivisionFactor.bind(i),e)({min:e.minVisible,max:e.maxVisible,categories:e.categories,isSpacedMargin:e.isSpacedMargin},i._getScreenDelta(),o.tickInterval,"ignore"===o.label.overlappingBehavior||o.forceUserTickInterval,{majors:r,minors:a},o.minorTickInterval,o.minorTickCount,i._initialBreaks)},_createTicksAndLabelFormat:function(e,t){const n=this._options,i=this._getTicks(e,t,!1);return e.isEmpty()||n.type!==a.default.discrete||"datetime"!==n.dataType||this._hasLabelFormat||!i.ticks.length||(n.label.format=l.default.getDateFormatByTicks(i.ticks)),i},getAggregationInfo(e,t){var n;const i=this,o=i._options,a=new h.Range(i.getTranslator().getBusinessRange()).addRange(t),l=i.getViewport(),c=(null==l?void 0:l.startValue)??a.minVisible,u=(null==l?void 0:l.endValue)??a.maxVisible,d=o.aggregationInterval,f=i._getAggregationGroupWidth(),p=!o.aggregationGroupWidth&&!d&&t.interval,g=function(e,t,n,i,o){const a=(0,s.extend)({},e,{endOnTick:!0,axisDivisionFactor:t,skipCalculationLimits:!0,generateExtraTick:!0,minTickInterval:o});return function(e,t,o,s,l){return j(a,_.noop,t,n.isEmpty(),(e=>e),n)({min:o,max:s,categories:n.categories,isSpacedMargin:n.isSpacedMargin},i,e,(0,r.isDefined)(e),void 0,void 0,void 0,l)}}(o,f,a,i._getScreenDelta(),p),m=g(d,!0,c,u,null===(n=i._seriesData)||void 0===n?void 0:n.breaks).tickInterval,v=i._generateTick(e,a,c,u,m,g);return i._aggregationInterval=m,{interval:m,ticks:v}},_getAggregationGroupWidth(){const{checkInterval:e,sizePointNormalState:t}=this._marginOptions||{},{aggregationGroupWidth:n,axisDivisionFactor:i}=this._options;return n||(t?Math.min(t,i):e?i:n)},_generateTick(e,t,n,i,a,s){const l=e?t.min:n,c=e?t.max:i;if(!(0,r.isDefined)(l)||!(0,r.isDefined)(c))return[];const u=this,d=u._options,h=(0,o.getAddFunction)({base:d.logarithmBase,axisType:d.type,dataType:d.dataType},!1);let f=l,p=c;if(!e&&(0,r.isDefined)(a)){const e=Math.max(u.calculateInterval(c,l),"datetime"===d.dataType?g.default.dateToMilliseconds(a):a);f=h(l,e,-1),p=h(c,e)}f=f<t.min?t.min:f,p=p>t.max?t.max:p;const _=u._getScaleBreaks(d,{minVisible:f,maxVisible:p},u._series,u.isArgumentAxis);return s(a,!1,f,p,u._filterBreaks(_,{minVisible:f,maxVisible:p},d.breakStyle)).ticks},getTickInterval(){return this._tickInterval},getAggregationInterval(){return this._aggregationInterval},createTicks:function(e){const t=this,n=t._renderer,i=t._options;if(!e)return;t._isSynchronized=!1,t.updateCanvas(e);const a=t._getViewportRange();t._initialBreaks=a.breaks=this._seriesData.breaks=t._filterBreaks(this._seriesData.userBreaks,a,i.breakStyle),t._estimatedTickInterval=t._getTicks(t.adjustViewport(this._seriesData),_.noop,!0).tickInterval;const s=this._calculateValueMargins();a.addRange({minVisible:s.minValue,maxVisible:s.maxValue,isSpacedMargin:s.isSpacedMargin});const l=t._createTicksAndLabelFormat(a),c=t._getBoundaryTicks(l.ticks,t._getViewportRange());i.showCustomBoundaryTicks&&c.length?(t._boundaryTicks=[c[0]].map(W(t,n,!0)),c.length>1&&(t._boundaryTicks=t._boundaryTicks.concat([c[1]].map(W(t,n,!1))))):t._boundaryTicks=[];const u=(l.minorTicks||[]).filter((function(e){return!c.some((function(t){return(0,o.valueOf)(t)===(0,o.valueOf)(e)}))}));t._tickInterval=l.tickInterval,t._minorTickInterval=l.minorTickInterval;const d=t._majorTicks||[],h=d.reduce(((e,t)=>(e[t.value.valueOf()]=t,e)),{}),f=(0,r.type)(l.ticks[0])===(0,r.type)(d[0]&&d[0].value),p=t._getSkippedCategory(l.ticks),g=l.ticks.map((e=>{const i=h[e.valueOf()];return i&&f?(delete h[e.valueOf()],i.setSkippedCategory(p),i):G(t,n,p)(e)}));t._majorTicks=g;const m=t._minorTicks||[];t._minorTicks=u.map(((e,i)=>{const o=m[i];return o?(o.updateValue(e),o):Z(t,n)(e)})),t._ticksToRemove=Object.keys(h).map((e=>h[e])).concat(m.slice(t._minorTicks.length,m.length)),t._ticksToRemove.forEach((e=>{var t;return null===(t=e.label)||void 0===t?void 0:t.removeTitle()})),l.breaks&&(t._seriesData.breaks=l.breaks),t._reinitTranslator(t._getViewportRange())},_reinitTranslator:function(e){const t=this._translator;this._isSynchronized||t.updateBusinessRange(e)},_getViewportRange(){return this.adjustViewport(this._seriesData)},setMarginOptions:function(e){this._marginOptions=e},getMarginOptions(){return this._marginOptions??{}},_calculateRangeInterval:function(e){const t="datetime"===this._options.dataType,n=[],i=function(e){(0,r.isDefined)(e)&&n.push(t?g.default.dateToMilliseconds(e):e)};return i(this._tickInterval),i(this._estimatedTickInterval),(0,r.isDefined)(e)&&n.push(e),i(this._aggregationInterval),this._calculateWorkWeekInterval(k.apply(this,n))},_calculateWorkWeekInterval(e){const t=this._options;if("datetime"===t.dataType&&t.workdaysOnly&&e){const n=t.workWeek.length*N,i=z-n;if(n!==e&&i<e){e-=i*Math.ceil(e/z)}else i>=e&&e>N&&(e=N)}return e},_getConvertIntervalCoefficient(e,t){const n=this._translator.ratioOfCanvasRange();return n/(n*t/(e+t))},_calculateValueMargins(e){this._resetMargins();const t=this,n=t.getMarginOptions(),i=(n.size||0)/2,s=t._options,l=t._getViewportRange(),c=t.getViewport(),u=t._getScreenDelta(),d=-1!==(s.type||"").indexOf(a.default.discrete),h=s.valueMarginsEnabled&&!d&&!t.customPositionIsBoundaryOrthogonalAxis(),f=t._translator,p=s.minValueMargin,g=s.maxValueMargin;let _,m,v,b=0,y=0,x=0;if(l.stubData||!u)return{startPadding:0,endPadding:0};if(t.isArgumentAxis&&n.checkInterval){_=t._calculateRangeInterval(l.interval);const e=f.getInterval(_);isFinite(e)?x=Math.ceil(e/(2*t._getConvertIntervalCoefficient(e,u))):_=0}const C=.8*u/2;h&&((0,r.isDefined)(p)?m=isFinite(p)?p:0:!t.isArgumentAxis&&n.checkInterval&&(0,o.valueOf)(l.minVisible)>0&&(0,o.valueOf)(l.minVisible)===(0,o.valueOf)(l.min)?b=5:(b=Math.max(i,x),b=Math.min(C,b)),(0,r.isDefined)(g)?v=isFinite(g)?g:0:!t.isArgumentAxis&&n.checkInterval&&(0,o.valueOf)(l.maxVisible)<0&&(0,o.valueOf)(l.maxVisible)===(0,o.valueOf)(l.max)?y=5:(y=Math.max(i,x),y=Math.min(C,y)));n.percentStick&&!this.isArgumentAxis&&(1===A(l.max)&&(y=0),1===A(l.min)&&(b=0));const S=t._getCanvasStartEnd(),w=(u-b-y)/(1+(m||0)+(v||0))||u;let E,T;if(void 0===m&&void 0===v||(void 0!==m&&(b=w*m),void 0!==v&&(y=w*v)),s.type!==a.default.discrete&&e&&e.length>1&&!s.skipViewportExtending&&!c.action&&!1!==s.endOnTick){const n=e.length,i=f.translate(e[0].value),o=f.translate(e[n-1].value),r=i>o?-1:1,a=O(r*(S.start-i),0),s=O(r*(o-S.end),0);if(a>b||s>y){const i=s+a,o=t._getConvertIntervalCoefficient(i,u);a>=b&&(E=e[0].value),s>=y&&(T=e[n-1].value),b=O(a,b)/o,y=O(s,y)/o}}m=void 0===m?b/w:m,v=void 0===v?y/w:v,d||(this._translator.isInverted()?(E=E??f.from(S.start+u*m,-1),T=T??f.from(S.end-u*v,1)):(E=E??f.from(S.start-u*m,-1),T=T??f.from(S.end+u*v,1)));const{correctedMin:k,correctedMax:D,start:L,end:P}=t.getCorrectedValuesToZero(E,T);return b=L??b,y=P??y,{startPadding:f.isInverted()?y:b,endPadding:f.isInverted()?b:y,minValue:k??E,maxValue:D??T,interval:_,isSpacedMargin:b===y&&0!==b}},getCorrectedValuesToZero(e,t){const n=this,i=n._translator,o=n._getCanvasStartEnd(),r=n._getViewportRange(),a=n._getScreenDelta(),s=n._options;let l,c,u,d;const h=(e,t)=>{const i=A(o.start-e),r=A(o.end-t),s=n._getConvertIntervalCoefficient(i+r,a);l=i/s,c=r/s};return n.isArgumentAxis||"datetime"===s.dataType||(e*r.min<=0&&e*r.minVisible<=0&&(h(i.translate(0),i.translate(t)),u=0),t*r.max<=0&&t*r.maxVisible<=0&&(h(i.translate(e),i.translate(0)),d=0)),{start:isFinite(l)?l:null,end:isFinite(c)?c:null,correctedMin:u,correctedMax:d}},applyMargins(){if(this._isSynchronized)return;const e=this._calculateValueMargins(this._majorTicks),t=(0,s.extend)({},this._canvas,{startPadding:e.startPadding,endPadding:e.endPadding});if(this._translator.updateCanvas(this._processCanvas(t)),isFinite(e.interval)){const t=this._translator.getBusinessRange();t.addRange({interval:e.interval}),this._translator.updateBusinessRange(t)}},_resetMargins:function(){this._reinitTranslator(this._getViewportRange()),this._canvas&&this._translator.updateCanvas(this._processCanvas(this._canvas))},_createConstantLines(){const e=(this._options.constantLines||[]).map((e=>(0,b.default)(this,e)));this._outsideConstantLines=e.filter((e=>"outside"===e.labelPosition)),this._insideConstantLines=e.filter((e=>"inside"===e.labelPosition))},draw:function(e,t){const n=this,i=this._options;n.borderOptions=t||{visible:!1},n._resetMargins(),n.createTicks(e),n.applyMargins(),n._clearAxisGroups(),$(n._majorTicks),$(n._minorTicks),$(n._boundaryTicks),n._axisGroup.append(n._axesContainerGroup),n._drawAxis(),n._drawTitle(),Y(n._majorTicks,i.tick),Y(n._minorTicks,i.minorTick),Y(n._boundaryTicks,i.tick);const o=n._getGridLineDrawer();K(n._majorTicks,o),K(n._minorTicks,o),U(n._majorTicks,"drawLabel",n._getViewportRange(),n._getTemplate(i.label.template)),n._templatesRendered&&n._templatesRendered.reject(),n._templatesRendered=new x.Deferred,n._majorTicks.forEach((function(e){e.labelRotationAngle=0,e.labelAlignment=void 0,e.labelOffset=0})),U(n._outsideConstantLines.concat(n._insideConstantLines),"draw"),U(n._strips,"draw"),n._dateMarkers=n._drawDateMarkers()||[],n._stripLabelAxesGroup&&n._axisStripLabelGroup.append(n._stripLabelAxesGroup),n._gridContainerGroup&&n._axisGridGroup.append(n._gridContainerGroup),n._stripsGroup&&n._axisStripGroup.append(n._stripsGroup),n._labelsAxesGroup&&n._axisElementsGroup.append(n._labelsAxesGroup),n._constantLinesGroup&&(n._axisConstantLineGroups.above.inside.append(n._constantLinesGroup.above),n._axisConstantLineGroups.above.outside1.append(n._constantLinesGroup.above),n._axisConstantLineGroups.above.outside2.append(n._constantLinesGroup.above),n._axisConstantLineGroups.under.inside.append(n._constantLinesGroup.under),n._axisConstantLineGroups.under.outside1.append(n._constantLinesGroup.under),n._axisConstantLineGroups.under.outside2.append(n._constantLinesGroup.under)),n._measureTitle(),(0,C.measureLabels)(n._majorTicks),!i.label.template&&n._applyWordWrap(),(0,C.measureLabels)(n._outsideConstantLines),(0,C.measureLabels)(n._insideConstantLines),(0,C.measureLabels)(n._strips),(0,C.measureLabels)(n._dateMarkers),n._adjustConstantLineLabels(n._insideConstantLines),n._adjustStripLabels();let r=n._constantLabelOffset=n._adjustConstantLineLabels(n._outsideConstantLines);n._translator.getBusinessRange().isEmpty()||(n._setLabelsPlacement(),r=n._adjustLabels(r)),x.when.apply(this,n._majorTicks.map((e=>e.getTemplateDeferred()))).done((()=>{n._templatesRendered.resolve()})),r=n._adjustDateMarkers(r),n._adjustTitle(r)},getTemplatesDef(){return this._templatesRendered},setRenderedState(e){this._drawn=e},isRendered(){return this._drawn},_applyWordWrap(){const e=this;let t,n,i;const o=this._options,a=e._tickInterval;(0,r.isDefined)(a)&&(t=e.getTranslator().getInterval("datetime"===o.dataType?g.default.dateToMilliseconds(a):a));const s=e._validateDisplayMode(o.label.displayMode),l=e._validateOverlappingMode(o.label.overlappingBehavior,s),c=o.label.wordWrap||"none",u=o.label.textOverflow||"none";if(("none"!==c||"none"!==u)&&s!==H&&l!==H&&"auto"!==l){const a=(0,r.isDefined)(o.placeholderSize)?o.placeholderSize-o.label.indentFromAxis:void 0;e._isHorizontal?(n=t,i=a):(n=a,i=t);let s=!1,l=!1;n&&e._majorTicks.some((e=>e.labelBBox.width>n))&&(s=!0),i&&e._majorTicks.some((e=>e.labelBBox.height>i))&&(l=!0),(s||l)&&(e._majorTicks.forEach((e=>{e.label&&e.label.setMaxSize(n,i,o.label)})),(0,C.measureLabels)(e._majorTicks))}},_measureTitle:_.noop,animate(){U(this._majorTicks,"animateLabels")},updateSize(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=this;i.updateCanvas(e),n&&(i._checkTitleOverflow(),i._measureTitle(),i._updateTitleCoords()),i._reinitTranslator(i._getViewportRange()),i.applyMargins();const o=!i._firstDrawing&&t,r=i._options;$(i._majorTicks),$(i._minorTicks),$(i._boundaryTicks),i._resetApplyingAnimation&&!i._firstDrawing&&i._resetStartCoordinates(),J(i._majorTicks),J(i._minorTicks),J(i._boundaryTicks),i._axisElement&&i._updateAxisElementPosition(),q(i._majorTicks,r.tick,o),q(i._minorTicks,r.minorTick,o),q(i._boundaryTicks,r.tick),U(i._majorTicks,"updateLabelPosition",o),i._outsideConstantLines.concat(i._insideConstantLines||[]).forEach((e=>e.updatePosition(o))),U(i._strips,"updatePosition",o),X(i._majorTicks,o),X(i._minorTicks,o),o&&U(i._ticksToRemove||[],"fadeOutElements"),i.prepareAnimation(),i._ticksToRemove=null,i._translator.getBusinessRange().isEmpty()||(i._firstDrawing=!1),i._resetApplyingAnimation=!1,i._updateLabelsPosition()},_updateLabelsPosition:_.noop,prepareAnimation(){const e=this,t="saveCoords";U(e._majorTicks,t),U(e._minorTicks,t),U(e._insideConstantLines,t),U(e._outsideConstantLines,t),U(e._strips,t)},_resetStartCoordinates(){const e=this,t="resetCoordinates";U(e._majorTicks,t),U(e._minorTicks,t),U(e._insideConstantLines,t),U(e._outsideConstantLines,t),U(e._strips,t)},applyClipRects:function(e,t){this._axisGroup.attr({"clip-path":t}),this._axisStripGroup.attr({"clip-path":e}),this._axisElementsGroup.attr({"clip-path":t})},_validateVisualRange(e){const t=(0,o.getVizRangeObject)(e);return void 0!==t.startValue&&(t.startValue=this.validateUnit(t.startValue)),void 0!==t.endValue&&(t.endValue=this.validateUnit(t.endValue)),(0,o.convertVisualRangeObject)(t,!D(e))},_validateOptions(e){e.wholeRange=this._validateVisualRange(e.wholeRange),e.visualRange=e._customVisualRange=this._validateVisualRange(e._customVisualRange),this._setVisualRange(e._customVisualRange)},validate(){const e=this,t=e._options,n=e.isArgumentAxis?t.argumentType:t.valueType,i=n?(0,c.getParser)(n):function(e){return e};e.parser=i,t.dataType=n,e._validateOptions(t)},resetVisualRange(e){this._seriesData.minVisible=this._seriesData.min,this._seriesData.maxVisible=this._seriesData.max,this.handleZooming([null,null],{start:!!e,end:!!e})},_setVisualRange(e,t){const n=this.adjustRange((0,o.getVizRangeObject)(e));t?((0,r.isDefined)(n.startValue)&&(this._viewport.startValue=n.startValue),(0,r.isDefined)(n.endValue)&&(this._viewport.endValue=n.endValue)):this._viewport=n},_applyZooming(e,t){const n=this;n._resetVisualRangeOption(),n._setVisualRange(e,t);const i=n.getViewport();n._seriesData.userBreaks=n._getScaleBreaks(n._options,{minVisible:i.startValue,maxVisible:i.endValue},n._series,n.isArgumentAxis),n._translator.updateBusinessRange(n._getViewportRange())},getZoomStartEventArg(e,t){return{axis:this,range:this.visualRange(),cancel:!1,event:e,actionType:t}},_getZoomEndEventArg(e,t,n,i,o){const r=this.visualRange();return{axis:this,previousRange:e,range:r,cancel:!1,event:t,actionType:n,zoomFactor:i,shift:o,rangeStart:r.startValue,rangeEnd:r.endValue}},getZoomBounds(){const e=(0,o.getVizRangeObject)(this._options.wholeRange),t=this.getTranslator().getBusinessRange(),n={startValue:ne(this._initRange.startValue,t.min),endValue:ne(this._initRange.endValue,t.max)};return{startValue:ne(e.startValue,n.startValue),endValue:ne(e.endValue,n.endValue)}},setInitRange(){this._initRange={},0===Object.keys(this._options.wholeRange||{}).length&&(this._initRange=this.getZoomBounds())},_resetVisualRangeOption(){this._options._customVisualRange={}},getTemplatesGroups(){return this._majorTicks?this._majorTicks.map((e=>e.templateContainer)).filter((e=>(0,r.isDefined)(e))):[]},setCustomVisualRange(e){this._options._customVisualRange=e},visualRange(){const e=this,t=arguments;let n;if(0===t.length){const t=e._getAdjustedBusinessRange();let n=t.minVisible,i=t.maxVisible;return e._options.type===a.default.discrete?(n=n??t.categories[0],i=i??t.categories[t.categories.length-1],{startValue:n,endValue:i,categories:(0,o.getCategoriesInfo)(t.categories,n,i).categories}):{startValue:n,endValue:i}}n=D(t[0])?t[0]:(0,r.isPlainObject)(t[0])?(0,s.extend)({},t[0]):[t[0],t[1]];const i=e.handleZooming(n,t[1]);i.isPrevented||e._visualRange(e,i)},handleZooming(e,t,n,i){const o=this;t=t||{},(0,r.isDefined)(e)&&((e=o._validateVisualRange(e)).action=i);const a=o.getZoomStartEventArg(n,i),s=a.range;!t.start&&o._eventTrigger("zoomStart",a);const l={isPrevented:a.cancel,skipEventRising:t.skipEventRising,range:e||a.range};return a.cancel||((0,r.isDefined)(e)&&o._applyZooming(e,t.allowPartialUpdate),(0,r.isDefined)(o._storedZoomEndParams)||(o._storedZoomEndParams={startRange:s,type:this.getOptions().type}),o._storedZoomEndParams.event=n,o._storedZoomEndParams.action=i,o._storedZoomEndParams.prevent=!!t.end),l},handleZoomEnd(){const e=this;if((0,r.isDefined)(e._storedZoomEndParams)&&!e._storedZoomEndParams.prevent){const t=e._storedZoomEndParams.startRange,n=e._storedZoomEndParams.event,i=e._storedZoomEndParams.action,o={minVisible:t.startValue,maxVisible:t.endValue,categories:t.categories},r=e.getOptions().type===e._storedZoomEndParams.type,a=r?(0,p.adjust)(e.getVisualRangeCenter()-e.getVisualRangeCenter(o,!1)):NaN,s=r?+(Math.round(e.getVisualRangeLength(o)/(e.getVisualRangeLength()||1)+"e+2")+"e-2"):NaN,l=e._getZoomEndEventArg(t,n,i,s,a);l.cancel=e.checkZoomingLowerLimitOvercome(1===s?"pan":"zoom",s).stopInteraction,e._eventTrigger("zoomEnd",l),l.cancel&&e._restorePreviousVisualRange(t),e._storedZoomEndParams=null}},_restorePreviousVisualRange(e){const t=this;t._storedZoomEndParams=null,t._applyZooming(e),t._visualRange(t,e)},checkZoomingLowerLimitOvercome(e,t,n){const i=this,a=i._options,s=i._translator;let l,c=a.minVisualRangeLength,u=n,d="zoom"===e&&t>=1;const h=s.getBusinessRange();n&&(l=i.adjustRange((0,o.getVizRangeObject)(n)),l={minVisible:l.startValue,maxVisible:l.endValue,categories:h.categories});const f=i.getVisualRangeLength(h),p=i.getVisualRangeLength(l);if((0,r.isDefined)(c)||"discrete"===a.type)c=s.convert(c),l&&c<f&&c>=p?(u=(0,o.getVizRangeObject)(s.getRangeByMinZoomValue(c,l)),d=!1):d&=c>p;else{const e=i._translator.canvasLength,t={minVisible:h.min,maxVisible:h.max,categories:h.categories};d&=i.getVisualRangeLength(t)/e>=p}return{stopInteraction:!!d,correctedRange:u}},isExtremePosition(e){let t,n;"discrete"===this._options.type?(n=this._translator.getBusinessRange(),t=e?n.categories[n.categories.length-1]:n.categories[0]):(n=this.getZoomBounds(),t=e?n.endValue:n.startValue);const i=this.getTranslator(),o=i.translate(t),r=this.visualRange(),a=e?i.translate(r.endValue):i.translate(r.startValue);return A(a-o)<5},getViewport(){return this._viewport},getFullTicks:function(){const e=this._majorTicks||[];return this._options.type===a.default.discrete?E(e):E(e.concat(this._minorTicks,this._boundaryTicks)).sort((function(e,t){return(0,o.valueOf)(e)-(0,o.valueOf)(t)}))},measureLabels:function(e,t){const n=this,i=n._options,o=i.visible?i.width:0;let r;const a=t?i.label.indentFromAxis+.5*i.tick.length:0;let s;const l=n._getViewportRange();if(l.isEmpty()||!i.label.visible||!n._axisElementsGroup)return{height:o,width:o,x:0,y:0};n._majorTicks?r=E(n._majorTicks):(n.updateCanvas(e),r=n._createTicksAndLabelFormat(l,_.noop),s=r.tickInterval,r=r.ticks);const c=r.reduce((function(e,t,o){const a=n.formatLabel(t,i.label,l,void 0,s,r);return e.length<a.length?a:e}),n.formatLabel(r[0],i.label,l,void 0,s,r)),u=n._renderer.text(c,0,0).css(n._textFontStyles).attr(n._textOptions).append(n._renderer.root),d=u.getBBox();return u.remove(),{x:d.x,y:d.y,width:d.width+a,height:d.height+a}},_setLabelsPlacement:function(){if(!this._options.label.visible)return;const e=this,t=e._options.label,n=e._validateDisplayMode(t.displayMode),i=e._validateOverlappingMode(t.overlappingBehavior,n),o="none"===i||"ignore"===i,r={rotationAngle:t.rotationAngle,staggeringSpacing:t.staggeringSpacing};let a;const s=e._majorTicks.map((function(e){return e.labelBBox}));let l=e._getStep(s);switch(n){case H:o&&(a=!0,l=1),e._applyLabelMode(n,l,s,t,a);break;case"stagger":o&&(l=2),e._applyLabelMode(n,O(l,2),s,t);break;default:e._applyLabelOverlapping(s,i,l,r)}},_applyLabelOverlapping:function(e,t,n,i){const o=this,r=o._options.label,s=o._majorTicks;if("none"===t||"ignore"===t)return;n>1&&e.some((function(e,t,n){return 0!==t&&a.default.areLabelsOverlap(e,n[t-1],r.minSpacing,r.alignment)}))&&o._applyLabelMode(t,n,e,i),o._checkBoundedLabelsOverlapping(s,e,t),o._checkShiftedLabels(s,e,r.minSpacing,r.alignment)},_applyLabelMode:function(e,t,n,i,o){const r=this,a=r._majorTicks,s=r._options.label,l=i.rotationAngle;let c,u,d;switch(e){case H:s.userAlignment||(u=l<0?R:M,l%90==0&&(u=I)),d=function(e){const t=e.getContentContainer();t&&(t.rotate(l),e.labelRotationAngle=l,u&&(e.labelAlignment=u))},te(a,t=o?t:r._getStep(n,l),d);break;case"stagger":c=r._getMaxLabelHeight(n,i.staggeringSpacing),d=function(e,n){n/(t-1)%2!=0&&(e.labelOffset=c)},te(a,t-1,d);break;case"auto":case"_auto":2===t?r._applyLabelMode("stagger",t,n,i):r._applyLabelMode(H,t,n,{rotationAngle:ee(n,s)});break;default:te(a,t)}},getMarkerTrackers:_.noop,_drawDateMarkers:_.noop,_adjustDateMarkers:_.noop,coordsIn:_.noop,areCoordsOutsideAxis:_.noop,_getSkippedCategory:_.noop,_initAxisPositions:_.noop,_drawTitle:_.noop,_updateTitleCoords:_.noop,_adjustConstantLineLabels:_.noop,_createTranslator:function(){return new d.Translator2D({},{},{})},_updateTranslator:function(){const e=this._translator;e.update(e.getBusinessRange(),this._canvas||{},this._getTranslatorOptions())},_getTranslatorOptions:function(){var e,t;const n=this._options;return{isHorizontal:this._isHorizontal,shiftZeroValue:!this.isArgumentAxis,interval:n.semiDiscreteInterval,firstDayOfWeek:null===(e=n.workWeek)||void 0===e?void 0:e[0],stick:this._getStick(),breaksSize:(null===(t=n.breakStyle)||void 0===t?void 0:t.width)??0}},getVisibleArea(){const e=this._getCanvasStartEnd();return[e.start,e.end].sort(((e,t)=>e-t))},_getCanvasStartEnd:function(){const e=this._isHorizontal,t=this._canvas||{},n=this._translator.getBusinessRange().invert,i=e?[t.left,t.width-t.right]:[t.height-t.bottom,t.top];return n&&i.reverse(),{start:i[0],end:i[1]}},_getScreenDelta:function(){const e=this,t=e._getCanvasStartEnd(),n=e._seriesData&&e._seriesData.breaks||[],i=n.length;return A(t.start-t.end)-(i?n[i-1].cumulativeWidth:0)},_getScaleBreaks:function(){return[]},_filterBreaks:function(){return[]},_adjustTitle:_.noop,_checkTitleOverflow:_.noop,getSpiderTicks:_.noop,setSpiderTicks:_.noop,_checkBoundedLabelsOverlapping:_.noop,_checkShiftedLabels:_.noop,drawScaleBreaks:_.noop,_visualRange:_.noop,_rotateConstantLine:_.noop,applyVisualRangeSetter(e){this._visualRange=e},getCategoriesSorter(e){let t;if(this.isArgumentAxis)t=e;else{t=this._options.categoriesSortingMethod??this._options.categories}return t},_getAdjustedBusinessRange(){return this.adjustViewport(this._translator.getBusinessRange())}}},21259:function(e,t,n){t.default=function(e,t){const n=t.label||{},o=n.position||"inside";let r,a,s,l=!1;return e._checkAlignmentConstantLineLabels(n),{options:t,labelOptions:n,labelPosition:o,label:null,line:null,getParsedValue:()=>(l||(r=e.validateUnit(t.value,"E2105","constantLine"),l=!0),r),draw(){if(!(0,i.isDefined)(t.value)||e._translator.getBusinessRange().isEmpty())return this;const r=e._getCanvasStartEnd(),a=this.getParsedValue();this.coord=e._getConstantLinePos(a,r.start,r.end);const s=t.displayBehindSeries?e._axisConstantLineGroups.under:e._axisConstantLineGroups.above;let l=s[o];if(!l){l=s[e._isHorizontal?n.verticalAlignment:n.horizontalAlignment]}if(!(0,i.isDefined)(this.coord))return this;const c=e._createConstantLine(this.coord,{stroke:t.color,"stroke-width":t.width,dashStyle:t.dashStyle});return this.line=c.append(s.inside),this.label=n.visible?e._drawConstantLineLabels(a,n,this.coord,l):null,this.updatePosition(),this},getContentContainer(){return this.label},removeLabel(){this.label&&this.label.remove()},updatePosition(t){const n=e._getCanvasStartEnd(),o=e._getConstantLinePos(this.getParsedValue(),n.start,n.end);(0,i.isDefined)(o)&&(this.coord=o,t&&s?(this.label&&this.label.attr(e._getConstantLineLabelsCoords(s,this.labelOptions)),this.line&&this.line.attr(e._getConstantLineGraphicAttributes(s)),this.label&&this.label.animate(e._getConstantLineLabelsCoords(this.coord,this.labelOptions)),this.line&&this.line.animate(e._getConstantLineGraphicAttributes(this.coord))):(this.label&&this.label.attr(e._getConstantLineLabelsCoords(this.coord,this.labelOptions)),this.line&&this.line.attr(e._getConstantLineGraphicAttributes(this.coord)),e._rotateConstantLine(this.line,this.coord)))},saveCoords(){a=s,s=this.coord},resetCoordinates(){s=a}}};var i=n(11528);e.exports=t.default,e.exports.default=t.default},61914:function(e,t,n){t.generateDateBreaks=function(e,t,n,i,c){const u=function(e){const t=(n=e,r.filter((function(e){return!n.some((function(t){return t===e}))})));var n;if(t.length<7)for(;a(t[t.length-1])===t[0];)t.unshift(t.pop());return t}(n),d=function(e,t,n){let i=e.getDate();const r=[],c=n.reduce((function(e,t){let n=e[1];return void 0===n.start?(n={start:t,end:a(t)},e[0].push(n),[e[0],n]):n.end===t?(n.end=a(t),e):(n={start:t,end:a(t)},e[0].push(n),[e[0],n])}),[[],{}]);return c[0].forEach((function(n){let a=new Date(e);for(a=o.default.trimTime(a);a<t;){i=a.getDay();const e=a.getDate();if(s(n,i)){const t=new Date(a);a.setDate(e+l(i,n.end));const o=new Date(a);r.push({from:t,to:o})}a.setDate(a.getDate()+1)}})),r}(e,t,u);return d.push.apply(d,function(e,t,n,i){let r;const a=function(e){return e===r},s=o.default.trimTime(e),l=o.default.trimTime(t);return l.setDate(t.getDate()+1),n.reduce((function(e,t){let n,c;return t=new Date(t),r=t.getDay(),!i.some(a)&&t>=s&&t<=l&&(n=o.default.trimTime(t),c=new Date(n),c.setDate(n.getDate()+1),e.push({from:n,to:c})),e}),[])}(e,t,c||[],u)),function(e){return e.map((function(e){return{from:e.from,to:e.to,gapSize:o.default.convertMillisecondsToDateUnits(e.to-e.from)}}))}(function(e,t){const n=e.slice();let i;const r=function(e){if(e=o.default.trimTime(new Date(e)),n[i].from<=e&&n[i].to>e){const t=function(e,t){const n=[],i=new Date(t);i.setDate(t.getDate()+1),t>e.from&&n.push({from:e.from,to:t});i<e.to&&n.push({from:i,to:e.to});return n}(n[i],e);2===t.length?n.splice(i,1,t[0],t[1]):1===t.length?n.splice(i,1,t[0]):n.splice(i,1)}};for(i=0;i<n.length;i++)t.forEach(r);return n}(d,i||[]))};var i,o=(i=n(41380))&&i.__esModule?i:{default:i};const r=[0,1,2,3,4,5,6];function a(e){return(e+1)%7}function s(e,t){let n=e.start;const i=e.end;for(;n!==i;){if(n===t)return!0;n=a(n)}return!1}function l(e,t){let n=0;for(;e!==t;)e=a(e),n++;return n}},75014:function(e,t,n){t.linearSpider=t.linear=t.circularSpider=t.circular=void 0;var i=n(28779),o=n(11528),r=n(52576),a=d(n(63885)),s=d(n(9441)),l=n(99043),c=n(86017),u=n(17781);function d(e){return e&&e.__esModule?e:{default:e}}const{PI:h,abs:f,atan:p,round:g}=Math,_=Math.min,m=Math.max,v=s.default.linear,b=90;function y(e){let t;return(e=(0,i.normalizeAngle)(e))>=315&&e<=360||e<45&&e>=0?t=1:e>=45&&e<135?t=2:e>=135&&e<225?t=3:e>=225&&e<315&&(t=4),t}const x={_calculateValueMargins(e){let{minVisible:t,maxVisible:n}=this._getViewportRange();return e&&e.length>1&&(t=t<e[0].value?t:e[0].value,n=t>e[e.length-1].value?n:e[e.length-1].value),{minValue:t,maxValue:n}},applyMargins(){const e=this._calculateValueMargins(this._majorTicks),t=this._translator.getBusinessRange();t.addRange({minVisible:e.minValue,maxVisible:e.maxValue,interval:this._calculateRangeInterval(t.interval)}),this._translator.updateBusinessRange(t)},_getTranslatorOptions:function(){return{isHorizontal:!0,conversionValue:!0,addSpiderCategory:this._getSpiderCategoryOption(),stick:this._getStick()}},getCenter:function(){return this._center},getRadius:function(){return this._radius},getAngles:function(){const e=this._options;return[e.startAngle,e.endAngle]},_updateRadius(e){const t=_(e.width-e.left-e.right,e.height-e.top-e.bottom)/2;this._radius=t<0?0:t},_updateCenter:function(e){this._center={x:e.left+(e.width-e.right-e.left)/2,y:e.top+(e.height-e.top-e.bottom)/2}},_processCanvas:function(e){return this._updateRadius(e),this._updateCenter(e),{left:0,right:0,width:this._getScreenDelta()}},_createAxisElement:function(){return this._renderer.circle()},_updateAxisElementPosition:function(){const e=this.getCenter();this._axisElement.attr({cx:e.x,cy:e.y,r:this.getRadius()})},_boundaryTicksVisibility:{min:!0},_getSpiderCategoryOption:function(){return this._options.firstPointOnStartAngle},_validateOptions(e){const t=this;let n=e.originValue;const r=e.wholeRange={},s=e.period;(0,o.isDefined)(n)&&(n=t.validateUnit(n)),s>0&&e.argumentType===a.default.numeric&&(n=n||0,r.endValue=n+s,t._viewport=(0,i.getVizRangeObject)([n,r.endValue])),(0,o.isDefined)(n)&&(r.startValue=n)},getMargins(){const e=this._options.tick,t=m(e.visible?e.length/2+e.shift:0,0),n=this.getRadius(),{x:i,y:o}=this._center,a=this._majorTicks.map((e=>e.label&&e.label.getBBox())).filter((e=>e)),s=(0,r.extend)({},this._canvas,{left:i-n,top:o-n,right:this._canvas.width-(i+n),bottom:this._canvas.height-(o+n)}),l=(0,c.calculateCanvasMargins)(a,s);return Object.keys(l).forEach((e=>l[e]=l[e]<t?t:l[e])),l},_updateLabelsPosition(){const e=this;(0,c.measureLabels)(e._majorTicks),e._adjustLabelsCoord(0,0,!0),e._checkBoundedLabelsOverlapping(this._majorTicks,this._majorTicks.map((e=>e.labelBBox)))},_setVisualRange:u.noop,applyVisualRangeSetter:u.noop,_getStick:function(){return this._options.firstPointOnStartAngle||this._options.type!==a.default.discrete},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)-b},_getCanvasStartEnd:function(){return{start:-90,end:270}},_getStripGraphicAttributes:function(e,t){const n=this.getCenter(),i=this.getAngles()[0],o=this.getRadius();return{x:n.x,y:n.y,innerRadius:0,outerRadius:o,startAngle:-t-i,endAngle:-e-i}},_createStrip:function(e){return this._renderer.arc(e.x,e.y,e.innerRadius,e.outerRadius,e.startAngle,e.endAngle)},_getStripLabelCoords:function(e,t){const n=this,o=n._getStripGraphicAttributes(e,t),r=o.startAngle+(o.endAngle-o.startAngle)/2,s=(0,i.getCosAndSin)(r),l=n.getRadius()/2,c=n.getCenter();return{x:g(c.x+l*s.cos),y:g(c.y-l*s.sin),align:a.default.center}},_getConstantLineGraphicAttributes:function(e){const t=this.getCenter(),n=this.getRadius();return{points:[t.x,t.y,t.x+n,t.y]}},_createConstantLine:function(e,t){return this._createPathElement(this._getConstantLineGraphicAttributes(e).points,t)},_rotateConstantLine(e,t){const{x:n,y:i}=this.getCenter();e.rotate(t+this.getAngles()[0],n,i)},_getConstantLineLabelsCoords:function(e){const t=this,n=(0,i.getCosAndSin)(-e-t.getAngles()[0]),o=t.getRadius()/2,r=t.getCenter();return{x:g(r.x+o*n.cos),y:g(r.y-o*n.sin)}},_checkAlignmentConstantLineLabels:u.noop,_adjustDivisionFactor:function(e){return 180*e/(this.getRadius()*h)},_getScreenDelta:function(){const e=this.getAngles();return f(e[0]-e[1])},_getTickMarkPoints:function(e,t,n){let{shift:i=0}=n;const o=this.getCenter(),r=this.getRadius()+t*{inside:-1,center:-.5,outside:0}[this._options.tickOrientation||"center"];return[o.x+r+i,o.y,o.x+r+t+i,o.y]},_getLabelAdjustedCoord:function(e,t,n,o){const r=this,a=e.labelCoords,s=a.y,l=a.angle,c=(0,i.getCosAndSin)(l),u=c.cos,d=c.sin,h=e.labelBBox,f=h.width/2,p=h.height/2,g=r._options.label.indentFromAxis||0,_=a.x+g*u,m=s+(s-h.y-p)+g*d;let v=0,b=0;switch(y(l)){case 1:v=f,b=p*d;break;case 2:v=f*u,b=p;break;case 3:v=-f,b=p*d;break;case 4:v=f*u,b=-p}if(o){const e=r._canvas,t=_-a.x+v,n=m-a.y+b;h.x+t<e.originalLeft&&(v-=h.x+t-e.originalLeft),h.x+h.width+t>e.width-e.originalRight&&(v-=h.x+h.width+t-(e.width-e.originalRight)),h.y+n<e.originalTop&&(b-=h.y+n-e.originalTop),h.y+h.height+n>e.height-e.originalBottom&&(b-=h.y+h.height+n-(e.height-e.originalBottom))}return{x:_+v,y:m+b}},_getGridLineDrawer:function(){const e=this;return function(t,n){const i=e.getCenter();return e._createPathElement(e._getGridPoints().points,n).rotate(t.coords.angle,i.x,i.y)}},_getGridPoints:function(){const e=this.getRadius(),t=this.getCenter();return{points:[t.x,t.y,t.x+e,t.y]}},_getTranslatedValue:function(e,t){const n=this.getAngles()[0],o=this._translator.translate(e,-t),r=(0,i.convertPolarToXY)(this.getCenter(),n,o,this.getRadius());return{x:r.x,y:r.y,angle:this.getTranslatedAngle(o)}},_getAdjustedStripLabelCoords:function(e){const t=e.labelBBox;return{translateY:e.label.attr("y")-t.y-t.height/2}},coordsIn:function(e,t){return(0,i.convertXYToPolar)(this.getCenter(),e,t).r>this.getRadius()},_rotateTick:function(e,t){const n=this.getCenter();e.rotate(t.angle,n.x,n.y)},_validateOverlappingMode:function(e){return a.default.validateOverlappingMode(e)},_validateDisplayMode:function(){return"standard"},_getStep:function(e){const t=this,n=t.getRadius()+(t._options.label.indentFromAxis||0),i=e.reduce((function(e,t){const n=e;return e.width<t.width&&(n.width=t.width),e.height<t.height&&(n.height=t.height),n}),{width:0,height:0}),o=f(2*p(i.height/(2*n-i.width))*180/h),r=f(2*p(i.width/(2*n-i.height))*180/h);return a.default.getTicksCountInRange(t._majorTicks,"angle",m(o,r))},_checkBoundedLabelsOverlapping:function(e,t,n){const i=this._options.label;if("hide"!==(n=n||this._validateOverlappingMode(i.overlappingBehavior)))return;const o=e.reduce(((e,t,n)=>t.label?n:e),null);o&&a.default.areLabelsOverlap(t[0],t[o],i.minSpacing,a.default.center)&&("first"===i.hideFirstOrLast?e[0].removeLabel():e[o].removeLabel())},shift:function(e){this._axisGroup.attr({translateX:e.right,translateY:e.bottom}),this._axisElementsGroup.attr({translateX:e.right,translateY:e.bottom})},getTranslatedAngle(e){return e+this.getAngles()[0]-b}},C=(t.circular=x,t.circularSpider=(0,r.extend)({},x,{_createAxisElement:function(){return this._renderer.path([],"area")},_updateAxisElementPosition:function(){this._axisElement.attr({points:(0,i.map)(this.getSpiderTicks(),(function(e){return{x:e.coords.x,y:e.coords.y}}))})},_getStick:function(){return!0},_getSpiderCategoryOption:function(){return!0},getSpiderTicks:function(){const e=this,t=e.getFullTicks();return e._spiderTicks=t.map((0,l.tick)(e,e.renderer,{},{},e._getSkippedCategory(t),!0)),e._spiderTicks.forEach((function(e){e.initCoords()})),e._spiderTicks},_getStripGraphicAttributes:function(e,t){const n=this.getCenter(),i=this.getSpiderTicks();let o,r,a,s;const l=[];let c=0;const u=i.length;for(;c<u;)s=i[c].coords,s.angle>=e&&s.angle<=t&&(o||(o=(i[c-1]||i[i.length-1]).coords,l.push((s.x+o.x)/2,(s.y+o.y)/2)),l.push(s.x,s.y),a=(i[c+1]||i[0]).coords,r={x:(s.x+a.x)/2,y:(s.y+a.y)/2}),c++;return l.push(r.x,r.y),l.push(n.x,n.y),{points:l}},_createStrip:function(e){let{points:t}=e;return this._renderer.path(t,"area")},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)-b},_setTickOffset:function(){this._tickOffset=!1}})),S=t.linear={_resetMargins(){this._reinitTranslator(this._getViewportRange())},_getStick:v._getStick,_getSpiderCategoryOption:u.noop,_getTranslatorOptions:function(){return{isHorizontal:!0,stick:this._getStick()}},getRadius:x.getRadius,getCenter:x.getCenter,getAngles:x.getAngles,_updateRadius:x._updateRadius,_updateCenter:x._updateCenter,_processCanvas(e){return this._updateRadius(e),this._updateCenter(e),{left:0,right:0,startPadding:e.startPadding,endPadding:e.endPadding,width:this.getRadius()}},_createAxisElement:v._createAxisElement,_updateAxisElementPosition:function(){const e=this.getCenter();this._axisElement.attr({points:[e.x,e.y,e.x+this.getRadius(),e.y]}).rotate(this.getAngles()[0]-b,e.x,e.y)},_getScreenDelta:function(){return this.getRadius()},_getTickMarkPoints:function(e,t){return[e.x-t/2,e.y,e.x+t/2,e.y]},_getLabelAdjustedCoord:function(e){const t=e.labelCoords,n=t.y,o=(0,i.getCosAndSin)(t.angle),r=this._options.label.indentFromAxis||0,a=e.labelBBox;return{x:t.x-f(r*o.sin)+f(a.width/2*o.cos)-a.width/2,y:n+(n-a.y)-f(a.height/2*o.sin)+f(r*o.cos)}},_getGridLineDrawer:function(){const e=this;return function(t,n){const i=e._getGridPoints(t.coords);return e._renderer.circle(i.cx,i.cy,i.r).attr(n).sharp()}},_getGridPoints:function(e){const t=this.getCenter(),n=(0,i.getDistance)(t.x,t.y,e.x,e.y);return n>this.getRadius()?{cx:null,cy:null,r:null}:{cx:t.x,cy:t.y,r:n}},_getTranslatedValue:function(e,t){const n=this.getAngles()[0],o=(0,i.convertPolarToXY)(this.getCenter(),n,0,this._translator.translate(e,t));return{x:o.x,y:o.y,angle:n-b}},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)},_getCanvasStartEnd(){const e=this.getTranslator().getBusinessRange().invert,t=[0,this.getRadius()];return e&&t.reverse(),{start:t[0],end:t[1]}},_getStripGraphicAttributes:function(e,t){const n=this.getCenter();return{x:n.x,y:n.y,innerRadius:e,outerRadius:t}},_createStrip:function(e){return this._renderer.arc(e.x,e.y,e.innerRadius,e.outerRadius,0,360)},_getAdjustedStripLabelCoords:x._getAdjustedStripLabelCoords,_getStripLabelCoords:function(e,t){const n=e+(t-e)/2,i=this.getCenter(),o=g(i.y-n);return{x:i.x,y:o,align:a.default.center}},_getConstantLineGraphicAttributes:function(e){const t=this.getCenter();return{cx:t.x,cy:t.y,r:e}},_createConstantLine:function(e,t){const n=this._getConstantLineGraphicAttributes(e);return this._renderer.circle(n.cx,n.cy,n.r).attr(t).sharp()},_getConstantLineLabelsCoords:function(e){const t=this.getCenter(),n=g(t.y-e);return{x:t.x,y:n}},_checkAlignmentConstantLineLabels:u.noop,_rotateTick:function(e,t,n){!n&&e.rotate(t.angle+b,t.x,t.y)},_validateOverlappingMode:x._validateOverlappingMode,_validateDisplayMode:x._validateDisplayMode,_getStep:function(e){const t=y(this.getAngles()[0]),n=this._options.label.minSpacing,i=2===t||4===t?function(e){return e.width+n}:function(e){return e.height},o=e.reduce(((e,t)=>m(e,i(t))),0);return a.default.getTicksCountInRange(this._majorTicks,2===t||4===t?"x":"y",o)}};t.linearSpider=(0,r.extend)({},S,{_createPathElement:function(e,t){return this._renderer.path(e,"area").attr(t).sharp()},setSpiderTicks:function(e){this._spiderTicks=e},_getGridLineDrawer:function(){const e=this;return function(t,n){return e._createPathElement(e._getGridPoints(t.coords).points,n)}},_getGridPoints:function(e){const t=this.getCenter(),n=(0,i.getDistance)(t.x,t.y,e.x,e.y);return this._getGridPointsByRadius(n)},_getGridPointsByRadius:function(e){const t=this.getCenter();return e>this.getRadius()?{points:null}:{points:(0,i.map)(this._spiderTicks,(function(n){const o=(0,i.getCosAndSin)(n.coords.angle);return{x:g(t.x+e*o.cos),y:g(t.y+e*o.sin)}}))}},_getStripGraphicAttributes:function(e,t){const n=this._getGridPointsByRadius(t).points;return{points:[this._getGridPointsByRadius(e).points,n.reverse()]}},_createStrip:C._createStrip,_getConstantLineGraphicAttributes:function(e){return this._getGridPointsByRadius(e)},_createConstantLine:function(e,t){return this._createPathElement(this._getConstantLineGraphicAttributes(e).points,t)}})},38528:function(e,t,n){t.formatRange=function(e){let{startValue:t,endValue:n,tickInterval:a,argumentFormat:s,axisOptions:{dataType:l,type:u,logarithmBase:d}}=e;if("discrete"===u)return"";if("datetime"===l)return function(e,t,n){const o=_(e,t),a=r.default.getDateFormatByTickInterval(n),s=x(i.default.getDateFormatByDifferences(o,a)),l=[];if(n in o){const o=function(e,t){let n=!1;for(const i in e)n?e[i]=!1:i===t?n=!0:e[i]=!0;return x(i.default.getDateFormatByDifferences(e))}(_(e,t),n),r=c(e,o);r&&l.push(r)}else{const n=function(e){let t=!1;for(const n in e)!0===e[n]||"hour"===n||t?(e[n]=!1,t=!0):!1===e[n]&&(e[n]=!0);return x(i.default.getDateFormatByDifferences(e))}(_(e,t)),o=c(e,n);o&&l.push(o),l.push(`${c(e,s)} - ${c(t,s)}`)}return l.join(", ")}(t,n,function(e){if((0,o.isObject)(e)){const t=Object.keys(e);if(1===t.reduce(((t,n)=>e[n]+t),0)){const n=t.filter((t=>1===e[t]))[0];return n.slice(0,n.length-1)}}return e}(a));const h={ticks:[],type:u,dataType:l,tickInterval:a,logarithmBase:d,labelOptions:{format:s}};return`${S(t,h)} - ${S(n,h)}`},t.smartFormatter=S;var i=l(n(2082)),o=n(11528),r=l(n(41380)),a=n(50254),s=n(28779);function l(e){return e&&e.__esModule?e:{default:e}}const c=i.default.format,{abs:u,floor:d}=Math,h="exponential",f=["fixedPoint","thousands","millions","billions","trillions",h],p=["millisecond","second","minute","hour","day","month","year"],g={week:"day",quarter:"month",shorttime:"hour",longtime:"second"};function _(e,t,n,i){i=g[i]||i;const o=p.indexOf(i);if(n){const e=r.default.getDatesDifferences(t,n);return e[i]&&function(e,t){for(let n=t;n<p.length-1;n++){const i=p[n];if(n===t){v(e,t+(e.millisecond?2:1));break}if(e[i]&&e.count>1){m(e,n);break}}}(e,o),e}{const n=r.default.getDatesDifferences(e,t),i=function(e,t){let n=!1;for(let i=p.length-1;i>=t;i--)if(e[p[i]]&&i-t>1){for(let i=0;i<=t;i++)m(e,i),n=!0;break}return n}(n,o);return i||1!==n.count||v(n,o),n}}function m(e,t){const n=p[t];e[n]&&(e[n]=!1,e.count--)}function v(e,t){const n=p[t];!1===e[n]&&(e[n]=!0,e.count++)}function b(e,t){let n,i,o,r=0;for(o=u(t-e[0]),n=1;n<e.length;n++)i=u(t-e[n]),i<o&&(o=i,r=n);return r}function y(e){return e.toString().split(".")}function x(e){let t;return(0,o.isFunction)(e)&&(t=e,e=null),{type:e,formatter:t}}function C(e,t){const n=u(e).toString();return(0,o.isExponential)(e)?Math.max(u((0,a.getExponent)(e)-(0,a.getExponent)(t)),u((0,a.getPrecision)(e)-(0,a.getPrecision)(t))):u((i=n.split(".")[1]).length-parseInt(i).toString().length-(0,a.getExponent)(t)+1);var i}function S(e,t){let n=t.tickInterval;const l=u(e).toString();let p=t.labelOptions.format;const g=t.ticks,m="logarithmic"===t.type;if(1!==g.length||0!==g.indexOf(e)||(0,o.isDefined)(n)||(n=u(e)>=1?1:(0,a.adjust)(1-u(e),e)),Object.is(e,-0)&&(e=0),!(0,o.isDefined)(p)&&"discrete"!==t.type&&e&&(10===t.logarithmBase||!m))if("datetime"!==t.dataType&&(0,o.isDefined)(n)){if(g.length&&-1===g.indexOf(e)){const t=b(g,e);n=(0,a.adjust)(u(e-g[t]),e)}if(m)return function(e){const t=(0,s.getAdjustedLog10)(u(e));let n;if(t>0)n=f[d(t/3)]||h;else{if(!(t<-4))return c((0,a.adjust)(e));n=h}return c(e,{type:n,precision:0})}(e);{let t=y(n);t<2&&(t=y(e)),p=t.length>1&&!(0,o.isExponential)(n)?{type:f[0],precision:t[1].length}:(0,o.isExponential)(n)&&(-1!==l.indexOf(".")||(0,o.isExponential)(e))?{type:h,precision:C(e,n)}:function(e,t){const n=d((0,s.getAdjustedLog10)(t));let i,o=0,r=i=d((0,s.getAdjustedLog10)(u(e)));i-n>=2&&(r=n);let a=d(r/3);const l=3*a;a<0&&(a=0);const c=f[a]||f[f.length-1];if(l>0){const e=y(t/Math.pow(10,l));e[1]&&(o=e[1].length)}return{precision:o,type:c}}(e,n)}}else"datetime"===t.dataType&&(p=function(e,t){let n,o,{showTransition:a,ticks:s,tickInterval:l}=t,c=r.default.getDateFormatByTickInterval(l);if(a&&s.length){const t=s.map(Number).indexOf(+e);if(1===s.length&&0===t)c=i.default.getDateFormatByTicks(s);else{-1===t?n=b(s,e):(n=0===t?s.length-1:t-1,o=0===t?1:-1);const r=_(s[n],e,s[o],c);c=i.default.getDateFormatByDifferences(r,c)}}return x(c)}(e,t));return c(e,p)}},38922:function(e,t,n){t.default=function(e,t){let n,a;const s=t.label||{};return{options:t,label:null,rect:null,_getCoord(){const n=e._getCanvasStartEnd(),i=e._translator.getBusinessRange();return e._getStripPos(t.startValue,t.endValue,n.start,n.end,i)},_drawLabel:t=>e._renderer.text(s.text,t.x,t.y).css((0,o.patchFontOptions)((0,r.extend)({},e.getOptions().label.font,s.font))).attr({align:"center",class:s.cssClass}).append(e._axisStripLabelGroup),draw(){if(!e._translator.getBusinessRange().isEmpty()&&((0,i.isDefined)(t.startValue)||(0,i.isDefined)(t.endValue))&&(0,i.isDefined)(t.color)){const n=this._getCoord();if(this.labelCoords=s.text?e._getStripLabelCoords(n.from,n.to,s):null,n.outOfCanvas||!(0,i.isDefined)(n.to)||!(0,i.isDefined)(n.from))return;this.rect=e._createStrip(e._getStripGraphicAttributes(n.from,n.to)).attr({fill:t.color}).append(e._axisStripGroup),this.label=s.text?this._drawLabel(this.labelCoords):null}},getContentContainer(){return this.label},removeLabel(){},updatePosition(i){const o=this._getCoord();i&&n?(this.label&&this.label.attr(e._getStripLabelCoords(n.from,n.to,t.label)),this.rect&&this.rect.attr(e._getStripGraphicAttributes(n.from,n.to)),this.label&&this.label.animate(e._getStripLabelCoords(o.from,o.to,t.label)),this.rect&&this.rect.animate(e._getStripGraphicAttributes(o.from,o.to))):(this.label&&this.label.attr(e._getStripLabelCoords(o.from,o.to,t.label)),this.rect&&this.rect.attr(e._getStripGraphicAttributes(o.from,o.to)))},saveCoords(){a=n,n=this._getCoord()},resetCoordinates(){n=a}}};var i=n(11528),o=n(28779),r=n(52576);e.exports=t.default,e.exports.default=t.default},99043:function(e,t,n){t.tick=function(e,t,n,s,l,c,u){const d=u||e._tickOffset,h=e._axisLineGroup,f=e._axisElementsGroup,p=a(n),g=a(s),_=/^\s+$/,m=e.getOptions().label,v=e._textOptions;function b(t){let n=e._textFontStyles;const i=m.customizeColor;return i&&i.call&&(n=(0,o.extend)({},e._textFontStyles,{fill:i.call(t,t)})),n}function y(t,n){const o=e.formatHint(t.value,m,n);(0,i.isDefined)(o)&&""!==o&&t.getContentContainer().setTitle(o)}return function(o){const a={value:o,updateValue(e){this.value=o=e},initCoords:function(){this.coords=e._getTranslatedValue(o,d),this.labelCoords=e._getTranslatedValue(o)},saveCoords(){(0,r.when)(this._templateDef).done((()=>{this._lastStoredCoordinates={coords:this._storedCoords,labelCoords:this._storedLabelsCoords},this._storedCoords=this.coords,this._storedLabelsCoords=this.templateContainer?this._getTemplateCoords():this.labelCoords}))},resetCoordinates(){this._lastStoredCoordinates&&(this._storedCoords=this._lastStoredCoordinates.coords,this._storedLabelsCoords=this._lastStoredCoordinates.labelCoords)},drawMark(t){n.visible&&l!==o&&(e.areCoordsOutsideAxis(this.coords)||(this.mark?(this.mark.append(h),e.sharp(this.mark,e.getSharpDirectionByCoords(this.coords)),this.updateTickPosition(t)):(this.mark=e._createPathElement([],p,e.getSharpDirectionByCoords(this.coords)).append(h),this.updateTickPosition(t))))},setSkippedCategory(e){l=e},_updateLine(t,n,i,o,r){t&&(null!==n.points&&null!==n.r?(o&&i&&null!==i.points?(n.opacity=1,t.attr(i),t.animate(n)):(n.opacity=o?0:1,t.attr(n),o&&t.animate({opacity:1},{delay:.5,partitionDuration:.5})),this.coords.angle&&e._rotateTick(t,this.coords,r)):t.remove())},updateTickPosition:function(t,i){this._updateLine(this.mark,{points:e._getTickMarkPoints(a.coords,n.length,t)},this._storedCoords&&{points:e._getTickMarkPoints(a._storedCoords,n.length,t)},i,!1)},drawLabel:function(n,a){if(this.templateContainer&&e.isRendered())return void this.updateLabelPosition();if(!(m.visible&&!c&&!e.getTranslator().getBusinessRange().isEmpty()&&!e.areCoordsOutsideAxis(this.labelCoords)))return void(this.label&&this.removeLabel());const s=m.template,l=e.formatLabel(o,m,n);if(this.label)return this.label.attr({text:l,rotate:0}).append(f),y(this,n),void this.updateLabelPosition();s?(this.templateContainer=t.g().append(f),this._templateDef&&this._templateDef.reject(),this._templateDef=new r.Deferred,a.render({model:{valueText:l,value:this.value,labelFontStyle:b(this),labelStyle:v},container:this.templateContainer.element,onRendered:()=>{this.updateLabelPosition(),this._templateDef&&this._templateDef.resolve()}})):(0,i.isDefined)(l)&&""!==l&&!_.test(l)&&(this.label=t.text(l).css(b(this)).attr(v).append(f),this.updateLabelPosition(),y(this,n));const u=this.getContentContainer();u&&u.data("chart-data-argument",this.value),this.templateContainer&&y(this,n)},getTemplateDeferred(){return this._templateDef},getContentContainer(){return this.templateContainer||this.label},fadeOutElements(){const t={opacity:1},n={opacity:0},i={partitionDuration:.5};this.getContentContainer()&&this._fadeOutLabel(),this.grid&&this.grid.append(e._axisGridGroup).attr(t).animate(n,i),this.mark&&this.mark.append(e._axisLineGroup).attr(t).animate(n,i)},_fadeInLabel(){const t=e._renderer.g().attr({opacity:0}).append(e._axisElementsGroup).animate({opacity:1},{delay:.5,partitionDuration:.5});this.getContentContainer().append(t)},_fadeOutLabel(){const t=e._renderer.g().attr({opacity:1}).animate({opacity:0},{partitionDuration:.5}).append(e._axisElementsGroup).toBackground();this.getContentContainer().append(t)},_getTemplateCoords(){return e._getLabelAdjustedCoord(this,(e._constantLabelOffset||0)+(a.labelOffset||0))},updateLabelPosition:function(e){const t=this.templateContainer;if(this.getContentContainer())if(e&&this._storedLabelsCoords)if(t){t.attr(this._storedLabelsCoords);const e=this._getTemplateCoords();t.animate(e)}else this.label.attr({x:this._storedLabelsCoords.x,y:this._storedLabelsCoords.y}),this.label.animate({x:this.labelCoords.x,y:this.labelCoords.y});else{if(t){const e=this._getTemplateCoords();t.attr(e)}else this.label.attr({x:this.labelCoords.x,y:this.labelCoords.y});e&&this._fadeInLabel()}},updateMultilineTextAlignment(){!m.template&&this.label&&this.label.attr({textsAlignment:this.labelAlignment||e.getOptions().label.alignment})},drawGrid:function(t){s.visible&&l!==this.value&&(this.grid?(this.grid.append(e._axisGridGroup),e.sharp(this.grid,e.getSharpDirectionByCoords(this.coords)),this.updateGridPosition()):(this.grid=t(this,g),this.grid&&this.grid.append(e._axisGridGroup)))},updateGridPosition:function(t){this._updateLine(this.grid,e._getGridPoints(a.coords),this._storedCoords&&e._getGridPoints(this._storedCoords),t,!0)},removeLabel(){const e=this.getContentContainer();e&&e.remove(),this._templateDef&&this._templateDef.reject(),this._templateDef=this.templateContainer=this.label=null}};return a}};var i=n(11528),o=n(52576),r=n(87739);function a(e){return{stroke:e.color,"stroke-width":e.width,"stroke-opacity":e.opacity,opacity:1}}},64449:function(e,t,n){t.tickGenerator=void 0;var i,o=n(28779),r=(i=n(41380))&&i.__esModule?i:{default:i},a=n(11528),s=n(50254),l=n(52576);const c=r.default.convertDateUnitToMilliseconds,u=r.default.dateToMilliseconds,d=Math,h=d.abs,f=d.floor,p=d.ceil,g=d.pow,_=[1,2,2.5,5],m=[1,2,3,5],v={millisecond:[1,2,5,10,25,50,100,250,500],second:[1,2,3,5,10,15,20,30],minute:[1,2,3,5,10,15,20,30],hour:[1,2,3,4,6,8,12],day:[1,2],week:[1,2],month:[1,2,3,6]},b=(0,l.extend)({},v,{day:[1]}),y={millisecond:[1,2,5,10,25,50,100,250,500],second:[1,2,3,5,10,15,20,30],minute:[1,2,3,5,10,15,20,30],hour:[1,2,3,4,6,8,12],day:[1,2,3,7,14],month:[1,2,3,6]},x=[2,4,5,8,10];const C=e=>e,S=(e,t,n)=>i=>(0,o.getLogExt)(i,e,t,n),w=(e,t,n)=>(i,o)=>(0,s.adjust)(e(t((0,s.adjust)(n(i)/o))*o));function E(e,t,n,i){return(0,a.isDefined)(i)?i?e:t:function(i,o,r,s){const l=e(i,o);return i-l==0||!(0,a.isDefined)(r)||n(i,l,o,r)||s?l:t(i,o)}}function T(e,t,n,i){const r=n-h(t-e),a=d.max(p(i.businessDelta/n),2),s=i.screenDelta/(a*n),l=d.round(s*r),c=(0,o.getLogExt)(s*n/i.axisDivisionFactor,2)+1,u=(i.isSpacedMargin?2:1)*c,f=d.round(3*u);return i.businessDelta>i.interval&&l>=f}function A(e){return function(t,n,i,r){return T((0,o.getLogExt)(t,e),(0,o.getLogExt)(n,e),i,r)}}function O(e,t,n,i){return T(e.valueOf(),t.valueOf(),u(n),i)}function k(e,t){let n=0;return t&&(n=t.reduce(((e,t)=>e+(t.to-t.from)),0)),h(e.max-e.min-n)}function D(e,t,n,i){let o=t/n-(i||0);return o=o<1?1:o,e/o}function L(e,t){return g(10,f((0,o.getLogExt)(e,10))+(t||0))}function P(e,t,n,i,o,r,a,s,l,c){const u=D(e,t,o,s);let d=1;const h=!1===a;return i&&n||((u>=1||!h&&u>0)&&(d=M(u,r,h)),(!n||!i&&n<d)&&(n=d)),!i&&c&&(c=M(c,r,h))>n&&(n=c),n}function M(e,t,n){const i=L(e,-1);let o=1;return t=t||_,e>0&&(e/=i,o=t.concat(10*t[0]).map((e=>10*e)).reduce(((t,o)=>.1===i&&n&&25===o?t:t<e?o:t),0),o=(0,s.adjust)(o*i,i)),o}function R(e,t,n,i){const o=D(e,t,i);return n||x.reduce(((t,n)=>{const i=e/n;return i>=o?i:t}),0)}function I(e){return function(t,n){let i=L(t);return!e&&i<1&&(i=1),(n=n||m).concat(10*n[0]).reduce(((e,n)=>e<t?n*i:e),0)}}function B(e,t){return function(n,i){return!n&&e<=c(t,i)&&((n={})[t+"s"]=i),n}}function V(e,t){return function(n,i){const o=t*i;return!n&&e<=c("year",o)&&2.5!==o&&(n={years:o}),n}}function F(e,t,n,i,o,r,a,s,l,c){if(!i||!n){const a=H(D(e,t,o),r,null,l);(!n||!i&&u(n)<=u(a))&&(n=a)}return!i&&c&&(c=H(c,r,null,l),u(c)>u(n)&&(n=c)),n}function H(e,t,n,i){let o;t=t||function(e){return e&&e>2?b:v}(i);for(const n in t)if(o=t[n].reduce(B(e,n),o),o)break;if(!o)for(let t=1;o=_.reduce(V(e,t),o),!o;t*=10);return o}function N(e,t,n,i){return F(e,t,n,!0,i,y)}function z(e,t){return n=>n&&t(h((0,s.adjust)(e(n[1])-e(n[0]))))||void 0}function j(e,t,n){return r.default.addInterval(e,t,n)}function G(e,t,n){return j(e,t,n)}function Z(e,t,n){return t=t.filter((e=>!e.gapSize)),function(i,o,r){let a;return i=e(i,o,r),t.every((t=>(i>=e(t.from,o)&&e(i,o)<t.to&&(a=t.to-t.from-2*(e(t.from,o)-t.from)),!a)))||(i=n(e(i,a),o)),i}}function W(e,t,n,i){return function(o,r,s,l,c,u,d,h,f){const p=function(e,t){return function(n){let i;return t.every((e=>(n>=e.from&&n<e.to&&(i=e.gapSize),!i)))||(n=e(n,i)),n}}(e,l),g=o.min,_=o.max,m={screenDelta:d,businessDelta:u,axisDivisionFactor:h,isSpacedMargin:o.isSpacedMargin,interval:r};let v=t(g,r,m);const b=[];let y;for(null!=c&&c.length&&(e=Z(e,c,t)),v>_&&(v=t(g,n(u/2),m),v>_&&(v=t(g,r,m,s=!0))),v=p(v);v<_&&v!==y||f&&v<=_;)b.push(v),y=v,v=p(e(v,r));return(s||v-_==0||!(0,a.isDefined)(s)&&i(_,v,r,m))&&b.push(v),b}}function U(e,t,n,i,o){return function(r,a,s,l,c,u,d){const h=c/l,f=s[s.length-1],p=s[0];let g=d-1;if(null!=u&&u.length&&(t=Z(t,u,n)),0===(l=e(l,p,p,h)))return[];let _=i(n(r,c,r),l);l=e(l,p,_,h);let m=[];for(;_<p&&(!g||g>0);)_>=r&&m.push(_),g--,_=t(_,l);const v=s.reduce(((n,o)=>{if(g=d-1,null===n.prevTick)return n.prevTick=o,n;l=e(l,o,n.prevTick,h);let r=i(n.prevTick,l);for(;r<o&&(!g||g>0);)r!==n.prevTick&&n.minors.push(r),g--,r=t(r,l);return n.prevTick=o,n}),{prevTick:null,minors:[]});m=m.concat(v.minors);const b=o(a,c,r);let y;for(l=e(l,b,b,h),_=i(f,l);_<a&&_!==y;)m.push(_),y=_,_=t(_,l);return f-a!=0&&_-a==0&&m.push(_),m}}function $(e,t){if(t.length){const n=t.reduce(((t,n)=>{const i=[];let o;for(o=t[1];o<e.length;o++){const t=e[o];if(t<n.from&&i.push(t),t>=n.to)break}return[t[0].concat(i),o]}),[[],0]);return n[0].concat(e.slice(n[1]))}return e}function Y(e,t,n,i,o,r,a,s,l,c){function u(t,n,i){return t&&n/a(t)>=i+1&&(e.incidentOccurred("W2003"),t=void 0),t}return function(d,h,f,p,g,_,m,v){g=g||{};const b=t(d,v);let y=function(e){return{tickInterval:o(e.majors),ticks:e.majors||[],minorTickInterval:r(e.minors),minorTicks:e.minors||[]}}(g);return isNaN(b)||(0!==b||g.majors?(y=function(t,i,o,r,a,l,d,h){if(d.majors)return t.breaks=h,t;const f=h.filter((e=>e.gapSize));let p;return a=e.skipCalculationLimits?a:u(a,o,r),a=n(o,r,a,l,e.axisDivisionFactor,e.numberMultipliers,e.allowDecimals,h.length,f[0]&&f[0].gapSize.days,e.minTickInterval),e.skipTickGeneration||(p=s(i,a,e.endOnTick,f,h,o,r,e.axisDivisionFactor,e.generateExtraTick),p=$(p,h=c(h,p,a)),t.breaks=h,t.ticks=t.ticks.concat(p)),t.tickInterval=a,t}(y,d,b,h,f,p,g,v||[]),!e.skipTickGeneration&&b>0&&(y=function(t,n,o,s,c,d,h){if(!e.calculateMinors)return t;if(h.minors)return t;const f=a(t.tickInterval),p=s*f/o,g=t.breaks;return!c&&d?c=r([f/(d+1),f/(d+1)*2]):d=void 0,c=u(c,f,p),c=i(f,p,c,e.minorAxisDivisionFactor),t.minorTicks=$(t.minorTicks.concat(l(n.min,n.max,t.ticks,c,t.tickInterval,g,d)),g),t.minorTickInterval=c,t}(y,d,b,h,_,m,g))):y.ticks=[d.min]),y}}function K(e,t,n,i){let[o,r]=t;return(!(0,a.isDefined)(o)||h(i(e)-i(o))/n>.25)&&((0,a.isDefined)(r)&&h(i(r)-i(o))/n<2?o=r:(0,a.isDefined)(o)||(o=e)),o}function q(e,t,n){return function(i,o,r){const a=e(r),s=.5*a;return i.reduce(((e,i)=>{let r=o.filter((e=>e<=i.from));const l=n(K(i.from,[].concat(r[r.length-1],o[r.length]),a,t),s);r=o.filter((e=>e>=i.to));const c=n(K(i.to,[].concat(r[0],o[o.length-r.length-1]),a,t),-s);return t(c)-t(l)<a&&!i.gapSize?e:i.gapSize?e.concat([i]):e.concat([{from:l,to:c,cumulativeWidth:i.cumulativeWidth}])}),[])}}const X=(e,t,n)=>(i,o)=>(0,s.sign)(i)*(0,s.adjust)(e(t(i)((0,s.adjust)(n(i)/o))*o));function J(e){const t=e.logBase,n=((e,t,n)=>i=>(0,o.raiseToExt)(i,e,t,n))(t,e.allowNegatives,e.linearThreshold),i=S(t,e.allowNegatives,e.linearThreshold),r=(e=>t=>0===t?0:(0,o.getLog)(h(t),e))(t),a=(e=>t=>(0,o.raiseTo)(t,e))(t),s=X(a,(e=>e<0?p:f),r),l=X(a,(e=>e<0?f:p),r),c=w(C,p,C);return Y(e,function(e,t,n){const i=S(e,t,n);return function(e,t){let n=0;return t&&(n=t.reduce(((e,t)=>e+h(i(t.to/t.from))),0)),p(h(i(e.max)-i(e.min))-n)}}(t,e.allowNegatives,e.linearThreshold),(u=e.skipCalculationLimits,function(e,t,n,i,o,r,a,s,l,c){const d=D(e,t,o);let h=0;const f=I(u);return i&&n||(d>0&&(h=f(d,r)),(!n||!i&&n<h)&&(n=h)),!i&&c&&(c=f(c,r))>n&&(n=c),n}),R,z(i,C),z(C,C),C,W(function(e,t){return(n,i,o)=>t(j(e(n),i,o))}(i,n),E(s,l,A(t),e.endOnTick),I(e.skipCalculationLimits),A(t)),U(((e,t,n,i)=>Math.max(Math.abs(t),Math.abs(n))/i),j,s,c,l),q(C,i,((e,t)=>n(i(e)+t))));var u}t.tickGenerator=function(e){let t;return t=e.rangeIsEmpty?function(e){return function(t,n,i,o){let r=f(n/e.axisDivisionFactor);r=r<1?1:r;const a=n/r;return{ticks:a>0?Array.apply(null,new Array(r+1)).map(((e,t)=>a*t)):[],tickInterval:a}}}(e):"discrete"===e.axisType?function(e){return function(t,n,i,r){const a=(0,o.getCategoriesInfo)(t.categories,t.min,t.max).categories;return{ticks:a,tickInterval:p(a.length*e.axisDivisionFactor/n)}}}(e):"logarithmic"===e.axisType?J(e):"datetime"===e.dataType?function(e){function t(t,n){const i=w(C,f,C);let o=(0,a.isString)(n)?r.default.getDateIntervalByString(n.toLowerCase()):n;const s=u(n);(o.days%7==0||n.quarters)&&(o=H(s));const l=t=>r.default.correctDateWithUnitBeginning(t,o,null,e.firstDayOfWeek),c=e=>new Date(f((e.getTime()-6e4*e.getTimezoneOffset())/s)*s+6e4*e.getTimezoneOffset());return t=l(t),"years"in o?t.setFullYear(i(t.getFullYear(),o.years)):"quarters"in o?t=l(c(t)):"months"in o?t.setMonth(i(t.getMonth(),o.months)):"weeks"in o||"days"in o?t=l(c(t)):"hours"in o?t.setHours(i(t.getHours(),o.hours)):"minutes"in o?t.setMinutes(i(t.getMinutes(),o.minutes)):"seconds"in o?t.setSeconds(i(t.getSeconds(),o.seconds)):"milliseconds"in o&&(t=c(t)),t}const n=z(C,r.default.convertMillisecondsToDateUnits);return Y(e,k,F,N,n,n,u,W(G,E(t,(function(e,n){let i=t(e,n);for(;e-i>0;)i=G(i,n);return i}),O,e.endOnTick),H,O),U(C,G,t,G,C),q(u,C,((e,t)=>new Date(e.getTime()+t))))}(e):function(e){const t=w(C,f,C),n=w(C,p,C),i=z(C,C);return Y(e,k,P,R,i,i,C,W(j,E(t,n,T,e.endOnTick),M,T),U(C,j,t,j,C),q(C,C,((e,t)=>e+t)))}(e),t}},9441:function(e,t,n){t.default=void 0;var i=n(99857),o=h(n(2082)),r=h(n(41380)),a=n(52576),s=n(61914),l=n(17781),c=n(28779),u=n(11528),d=h(n(63885));function h(e){return e&&e.__esModule?e:{default:e}}const f=r.default.getNextDateUnit,p=r.default.correctDateWithUnitBeginning,g=Math,_=g.max,m=d.default.top,v=d.default.bottom,b=d.default.left,y=d.default.right,x=d.default.center,C={left:-1,top:-1,right:0,bottom:0,center:-.5};function S(e){return e.sort((function(e,t){return e.from-t.from}))}function w(e,t,n,i){let a=i;const s=t&&r.default.getDatesDifferences(t,e);return t&&"year"!==n&&(!function(e,t){let n,i;if("week"===t&&(t="day"),"quarter"===t&&(t="month"),e[t])for(i=0;i<r.default.dateUnitIntervals.length&&(n=r.default.dateUnitIntervals[i],e[n]&&(e[n]=!1,e.count--),n!==t);i++);}(s,n),a=o.default.getDateFormatByDifferences(s)),a}function E(e,t){return t.reduce((function(t,n){return _(t,e(n))}),0)}function T(e,t,n){return e.some((function(e){return e.label.verticalAlignment===t}))&&n||0}function A(e){return g.abs(e.x)||0}function O(e){return g.abs(e.width-g.abs(e.x))||0}t.default={linear:{_getStep:function(e,t){const n=this._options.label.minSpacing;let i=E(this._isHorizontal?function(e){return e.width+n}:function(e){return e.height},e);return t&&(i=function(e,t){const n=(t=(t=g.abs(t))%180>=90?90-t%90:t%90)*(g.PI/180);return n>=g.atan(e.height/e.width)?e.height/g.abs(g.sin(n)):e.width}({width:i,height:this._getMaxLabelHeight(e,0)},t)),d.default.getTicksCountInRange(this._majorTicks,this._isHorizontal?"x":"y",i)},_getMaxLabelHeight:function(e,t){return E((function(e){return e.height}),e)+t},_validateOverlappingMode:function(e,t){return this._isHorizontal&&("rotate"===t||"stagger"===t)||!this._isHorizontal?d.default.validateOverlappingMode(e):e},_validateDisplayMode:function(e){return this._isHorizontal?e:"standard"},getMarkerTrackers:function(){return this._markerTrackers},_getSharpParam:function(e){return this._isHorizontal^e?"h":"v"},_createAxisElement:function(){return this._renderer.path([],"line")},_updateAxisElementPosition:function(){const e=this._axisPosition,t=this._getCanvasStartEnd();this._axisElement.attr({points:this._isHorizontal?[t.start,e,t.end,e]:[e,t.start,e,t.end]})},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)},_initAxisPositions(){const e=this;e.customPositionIsAvailable()&&(e._customBoundaryPosition=e.getCustomBoundaryPosition()),!e.customPositionIsAvailable()||e.customPositionIsBoundary()?e._axisPosition=e.getPredefinedPosition(e.getResolvedBoundaryPosition()):e._axisPosition=e.getCustomPosition()},_getTickMarkPoints(e,t,n){const i=this._isHorizontal,o=this._options.tickOrientation,r=this._options.label.position;let a;if((0,u.isDefined)(o))a=C[o]*t;else{let e=n.shift||0;(!i&&r===b||i&&r!==v)&&(e=-e),a=e+this.getTickStartPositionShift(t)}return[e.x+(i?0:a),e.y+(i?a:0),e.x+(i?0:a+t),e.y+(i?a+t:0)]},getTickStartPositionShift(e){const t=this._options.width,n=this.getResolvedBoundaryPosition();return e%2==1?(t%2!=0||n!==b&&n!==m)&&(t%2!=1||n!==y&&n!==v||this.hasNonBoundaryPosition())?-Math.floor(e/2):Math.floor(-e/2):-e/2+(t%2==0?0:n===v||n===y?-1:1)},_getTitleCoords:function(){const e=this,t=e._isHorizontal;let n=e._axisPosition,i=e._axisPosition;const o=e._options.title.alignment,r=e._getCanvasStartEnd(),a=t||e._options.position===b,s=a?r.start:r.end,l=a?r.end:r.start,c=o===b?s:o===y?l:r.start+(r.end-r.start)/2;return t?n=c:i=c,{x:n,y:i}},_drawTitleText:function(e,t){const n=this._options,i=n.title,o={opacity:i.opacity,align:i.alignment,class:i.cssClass};if(!i.text||!e)return;t=t||this._getTitleCoords(),this._isHorizontal||(o.rotate=n.position===b?270:90);const r=this._renderer.text(i.text,t.x,t.y).css((0,c.patchFontOptions)(i.font)).attr(o).append(e);return this._checkTitleOverflow(r),r},_updateTitleCoords:function(){this._title&&this._title.element.attr(this._getTitleCoords())},_drawTitle:function(){const e=this._drawTitleText(this._axisTitleGroup);e&&(this._title={element:e})},_measureTitle:function(){this._title&&(this._title.bBox&&!this._title.originalSize&&(this._title.originalSize=this._title.bBox),this._title.bBox=this._title.element.getBBox())},_drawDateMarker:function(e,t,n){const i=this,o=i._options.marker,r=i._translator.getBusinessRange().invert,a=o.width+o.textLeftIndent;let s;if(null===t.x)return;t.withoutStick||(s=i._renderer.path([t.x,t.y,t.x,t.y+o.separatorHeight],"line").attr({"stroke-width":o.width,stroke:o.color,"stroke-opacity":o.opacity,sharp:"h"}).append(i._axisElementsGroup));const l=String(i.formatLabel(e,t.labelOptions,n));return{date:e,x:t.x,y:t.y,cropped:t.withoutStick,label:i._renderer.text(l,t.x,t.y).css((0,c.patchFontOptions)(o.label.font)).append(i._axisElementsGroup),line:s,getContentContainer(){return this.label},getEnd:function(){return this.x+(r?-1:1)*(a+this.labelBBox.width)},setTitle:function(){this.title=l},hideLabel:function(){this.label.dispose(),this.label=null,this.title=l},hide:function(){s&&(s.dispose(),s=null),this.label.dispose(),this.label=null,this.hidden=!0}}},_drawDateMarkers:function(){const e=this,t=e._options,n=e._translator,i=e._getViewportRange(),o=i.minVisible;let a,s=[];function l(t,o,r){return e._drawDateMarker(t,{x:n.translate(t),y:c,labelOptions:e._getLabelFormatOptions(o),withoutStick:r},i)}if(i.isEmpty()||!t.marker.visible||"datetime"!==t.argumentType||"discrete"===t.type||e._majorTicks.length<=1)return[];const c=e._axisPosition+t.marker.topIndent,u=r.default.getDateUnitInterval(this._tickInterval),d=function(e){let t=f(e);return"quarter"===t&&(t=f(t)),t}(u),h=function(e,t,n){const i=e;let o;return e=p(e,n),t=p(t,n),o=r.default.getSequenceByInterval(e,t,n),o.length&&i>o[0]&&(o=o.slice(1)),o}(o,i.maxVisible,d);return(h.length>1||1===h.length&&o<h[0])&&(s=h.reduce((function(e,t,n,i){const r=l(t,w(t,i[n-1]||o<t&&o,u,d));return r&&e.push(r),e}),[]),o<h[0]&&(a=l(o,w(o,h[0],u,d),!0),a&&s.unshift(a))),s},_adjustDateMarkers:function(e){e=e||0;const t=this,n=this._options.marker,i=n.width+n.textLeftIndent,o=this._translator.getBusinessRange().invert,r=t._getCanvasStartEnd(),a=this._dateMarkers;if(!a.length)return e;let s;return a[0].cropped&&(this._checkMarkersPosition(o,a[1],a[0])||a[0].hideLabel()),a.forEach((function(e,n,i){e.cropped||((o?e.getEnd()<r.end:e.getEnd()>r.end)?e.hideLabel():t._checkMarkersPosition(o,e,s)?s=e:e.hide())})),this._dateMarkers.forEach((function(t){if(t.label){const r=t.labelBBox,a=t.y+n.textTopIndent-r.y;t.label.attr({translateX:o?t.x-i-r.x-r.width:t.x+i-r.x,translateY:a+e})}t.line&&t.line.attr({translateY:e})})),t._initializeMarkersTrackers(e),e+n.topIndent+n.separatorHeight},_checkMarkersPosition:function(e,t,n){return void 0===n||(e?t.x<n.getEnd():t.x>n.getEnd())},_initializeMarkersTrackers:function(e){const t=this,n=t._options.marker.separatorHeight,i=t._renderer,o=this._translator.getBusinessRange(),r=t._getCanvasStartEnd(),a=t._axisElementsGroup;t._markerTrackers=this._dateMarkers.filter((function(e){return!e.hidden})).map((function(t,s,l){const c=l[s+1]||{x:r.end,date:o.max},u=t.x,d=t.y+e,h=i.path([u,d,u,d+n,c.x,d+n,c.x,d,u,d],"area").attr({"stroke-width":1,stroke:"grey",fill:"grey",opacity:1e-4}).append(a);return h.data("range",{startValue:t.date,endValue:c.date}),t.title&&h.setTitle(t.title),h}))},_getLabelFormatOptions:function(e){const t=this;let n=t._markerLabelOptions;return n||(t._markerLabelOptions=n=(0,a.extend)(!0,{},t._options.marker.label)),(0,u.isDefined)(t._options.marker.label.format)||(n.format=e),n},_adjustConstantLineLabels:function(e){const t=this,n=t._options.position,i=t.getCanvas(),o=i.left,r=i.width-i.right,a=i.top,s=i.height-i.bottom,l=a+(s-a)/2,c=o+(r-o)/2;let u=0;return e.forEach((function(e){const i=t._isHorizontal,d=e.options,h=d.paddingTopBottom,f=d.paddingLeftRight,p=d.label,g=p.verticalAlignment,m=p.horizontalAlignment,C="inside"===p.position,S=e.label,w=e.labelBBox;let E,T;if(null!==S&&!w.isEmpty){if(i)if(C)switch(E=m===b?e.coord-f-w.x-w.width:e.coord+f-w.x,g){case x:T=l-w.y-w.height/2;break;case v:T=s-h-w.y-w.height;break;default:T=a+h-w.y}else n===g&&(u=_(u,w.height+h)),E=e.coord-w.x-w.width/2,T=g===v?s+h-w.y:a-h-w.y-w.height;else if(C)switch(T=g===v?e.coord+h-w.y:e.coord-h-w.y-w.height,m){case x:E=c-w.x-w.width/2;break;case y:E=r-f-w.x-w.width;break;default:E=o+f-w.x}else n===m&&(u=_(u,w.width+f)),T=e.coord-w.y-w.height/2,E=m===y?r+f-w.x:o-f-w.x-w.width;S.attr({translateX:E,translateY:T})}})),u},_drawConstantLinesForEstimating:function(e){const t=this,n=this._renderer,i=n.g();return e.forEach((function(e){t._drawConstantLineLabelText(e.label.text,0,0,e.label,i).attr({align:"center"})})),i.append(n.root)},_estimateLabelHeight:function(e,t){let n=e.height;const i=t.drawingType;if("stagger"!==this._validateDisplayMode(i)&&"stagger"!==this._validateOverlappingMode(t.overlappingBehavior,i)||(n=2*n+t.staggeringSpacing),"rotate"===this._validateDisplayMode(i)||"rotate"===this._validateOverlappingMode(t.overlappingBehavior,i)){const i=(0,c.getCosAndSin)(t.rotationAngle);n=n*i.cos+e.width*i.sin}return n&&(n+t.indentFromAxis||0)||0},estimateMargins:function(e){this.updateCanvas(e);const{position:t,placeholderSize:n}=this._options,i=this,o=i._getViewportRange(),r=this._createTicksAndLabelFormat(o),a=r.ticks,s=r.tickInterval,l=this._options,c=i._outsideConstantLines.filter((e=>e.labelOptions.visible)).map((e=>e.options)),u=i._renderer.root,d=l.label.visible&&!o.isEmpty()&&a.length,h=d&&i.formatLabel(a[a.length-1],l.label,void 0,void 0,s,a),f=d&&i._renderer.text(h,0,0).css(i._textFontStyles).attr(i._textOptions).append(u),p=i._drawTitleText(u,{x:0,y:0}),g=i._drawConstantLinesForEstimating(c),m=!l.label.template&&f&&f.getBBox()||{x:0,y:0,width:0,height:0},v=p&&p.getBBox()||{x:0,y:0,width:0,height:0},b=g.getBBox(),y=v.height?v.height+l.title.margin:0,x=i._estimateLabelHeight(m,l.label),C=b.height?b.height+c.reduce((function(e,t){return _(e,t.paddingTopBottom)}),0):0;const S=x+y,w={left:_(A(m),A(b)),right:_(O(m),O(b)),top:("top"===l.position?S:0)+T(c,"top",C),bottom:("top"!==l.position?S:0)+T(c,"bottom",C)};return n&&(w[t]=n),f&&f.remove(),p&&p.remove(),g&&g.remove(),w},_checkAlignmentConstantLineLabels:function(e){const t=e.position;let n=(e.verticalAlignment||"").toLowerCase(),i=(e.horizontalAlignment||"").toLowerCase();this._isHorizontal?"outside"===t?(n=n===v?v:m,i=x):(n=n===x?x:n===v?v:m,i=i===b?b:y):"outside"===t?(n=x,i=i===b?b:y):(n=n===v?v:m,i=i===y?y:i===x?x:b),e.verticalAlignment=n,e.horizontalAlignment=i},_getConstantLineLabelsCoords:function(e,t){const n=this;let i=e,o=e;return n._isHorizontal?o=n._orthogonalPositions["top"===t.verticalAlignment?"start":"end"]:i=n._orthogonalPositions["right"===t.horizontalAlignment?"end":"start"],{x:i,y:o}},_getAdjustedStripLabelCoords:function(e){const t=e.options,n=t.paddingTopBottom,i=t.paddingLeftRight,o=t.label.horizontalAlignment,r=t.label.verticalAlignment,a=e.labelBBox,s=a.height,l=a.width,c=e.labelCoords;let u=c.y-a.y,d=c.x-a.x;return r===m?u+=n:r===x?u-=s/2:r===v&&(u-=n+s),o===b?d+=i:o===x?d-=l/2:o===y&&(d-=i+l),{translateX:d,translateY:u}},_adjustTitle:function(e){if(e=e||0,!this._title)return;const t=this,n=t._options,i=n.position,o=n.title.margin,r=t._title,a=r.bBox,s=a.x,l=a.y,c=a.width,u=a.height,d=t._axisPosition,h=d-o-e,f=d+o+e,p={};t._isHorizontal?p.translateY=i===m?h-(l+u):f-l:p.translateX=i===b?h-(s+c):f-s,r.element.attr(p)},_checkTitleOverflow:function(e){if(!this._title&&!e)return;const t=this._getScreenDelta(),n=e?{bBox:e.getBBox(),element:e}:this._title,i=this._options.title,o=n.bBox;if((this._isHorizontal?o.width:o.height)>t)n.element.setMaxSize(t,void 0,{wordWrap:i.wordWrap||"none",textOverflow:i.textOverflow||"ellipsis"}),this._wrapped=i.wordWrap&&"none"!==i.wordWrap;else{const e=n.originalSize&&t>(this._isHorizontal?n.originalSize.width:n.originalSize.height);!this._wrapped&&e&&n.element.restoreText()}},coordsIn:function(e,t){const n=this.getCanvas(),i=this._options.isHorizontal,o=this._options.position,r=i?t:e;return!(i&&(e<n.left||e>n.width-n.right)||!i&&(t<n.top||t>n.height-n.bottom))&&(i&&o===d.default.top||!i&&o===d.default.left?r<n[o]:r>n[i?"height":"width"]-n[o])},_boundaryTicksVisibility:{min:!0,max:!0},adjust(){const e=this,t=e._seriesData,n=e._series.filter((e=>e.isVisible())).reduce(((e,t)=>{const n=t.getViewport();return e.min=(0,u.isDefined)(n.min)?e.min<n.min?e.min:n.min:e.min,e.max=(0,u.isDefined)(n.max)?e.max>n.max?e.max:n.max:e.max,t.showZero&&(e=new i.Range(e)).correctValueZeroLevel(),e}),{});(0,u.isDefined)(n.min)&&(0,u.isDefined)(n.max)&&(t.minVisible=n.min,t.maxVisible=n.max),t.userBreaks=e._getScaleBreaks(e._options,{minVisible:t.minVisible,maxVisible:t.maxVisible},e._series,e.isArgumentAxis),e._translator.updateBusinessRange(e._getViewportRange())},hasWrap(){return this._wrapped},getAxisPosition(){return this._axisPosition},_getStick:function(){return!this._options.valueMarginsEnabled},_getStripLabelCoords:function(e,t,n){const i=this._orthogonalPositions,o=this._isHorizontal,r=n.horizontalAlignment,a=n.verticalAlignment;let s,l;return o?(r===x?s=e+(t-e)/2:r===b?s=e:r===y&&(s=t),l=i[function(e){let t="start";return"center"===e&&(t="center"),"bottom"===e&&(t="end"),t}(a)]):(s=i[function(e){let t="start";return"center"===e&&(t="center"),"right"===e&&(t="end"),t}(r)],a===m?l=e:a===x?l=t+(e-t)/2:a===v&&(l=t)),{x:s,y:l}},_getTranslatedValue:function(e,t){let n;"semidiscrete"===this._options.type&&(n=this._options.tickInterval);const i=this._translator.translate(e,t,!1,n),o=this._axisPosition,r=this._isHorizontal;return{x:r?i:o,y:r?o:i}},areCoordsOutsideAxis:function(e){const t=this._isHorizontal?e.x:e.y,n=this.getVisibleArea();return t<n[0]||t>n[1]},_getSkippedCategory:function(e){let t;return this._options.type===d.default.discrete&&this._tickOffset&&0!==e.length&&(t=e[e.length-1]),t},_filterBreaks:function(e,t,n){const i=t.minVisible,o=t.maxVisible,a=n?n.width:0;return e.reduce((function(e,t){let n=t.from,s=t.to;const l=e[e.length-1];let c;return(0,u.isDefined)(n)&&(0,u.isDefined)(s)?(n>s&&(s=[n,n=s][0]),e.length&&n<l.to?s>l.to&&(l.to=s>o?o:s,l.gapSize&&(l.gapSize=void 0,l.cumulativeWidth+=a)):(n>=i&&n<o||s<=o&&s>i)&&(n=n>=i?n:i,s=s<=o?s:o,s-n<o-i&&(c={from:n,to:s,cumulativeWidth:((null==l?void 0:l.cumulativeWidth)??0)+a},t.gapSize&&(c.gapSize=r.default.convertMillisecondsToDateUnits(s-n),c.cumulativeWidth=(null==l?void 0:l.cumulativeWidth)??0),e.push(c))),e):e}),[])},_getScaleBreaks:function(e,t,n,i){const o=this;let r=(e.breaks||[]).map((function(e){return{from:o.parser(e.startValue),to:o.parser(e.endValue)}}));return"discrete"!==e.type&&"datetime"===e.dataType&&e.workdaysOnly&&(r=r.concat((0,s.generateDateBreaks)(t.minVisible,t.maxVisible,e.workWeek,e.singleWorkdays,e.holidays))),!i&&"discrete"!==e.type&&"datetime"!==e.dataType&&e.autoBreaksEnabled&&0!==e.maxAutoBreakCount&&(r=r.concat(function(e,t,n){let{logarithmBase:i,type:o,maxAutoBreakCount:r}=e,{minVisible:a,maxVisible:s}=n;const l=[],d="logarithmic"===o?(e,t)=>(0,c.getLog)(t/e,i):(e,t)=>t-e;let h=d(a,s);const f=t.reduce(((e,t)=>{const n=t.getPointsInViewPort();return e[0]=e[0].concat(n[0]),e[1]=e[1].concat(n[1]),e}),[[],[]]);let p=.3*h;const _=function(e,t,n){let i,o,r=null;const a=[];let s,l,c;for(i=1,o=e.length;i<o;i++)s=e[i],l=e[i-1],c=n(s,l),t.indexOf(s)>=0?(!r||c>r.length)&&(r={start:s,end:l,length:c}):(r&&c<r.length?a.push(r):a.push({start:s,end:l,length:c}),r=null);return r&&a.push(r),a}(f[0].concat(f[1]).sort(((e,t)=>t-e)),f[1].filter((e=>f[0].indexOf(e)<0)),d).filter((e=>{let{length:t}=e;return!!t})).sort(((e,t)=>t.length-e.length)),m=g.min.apply(null,_.map((e=>e.length)))/1e3,v=(0,u.isDefined)(r)?g.min(r,_.length):_.length;for(let e=0;e<v&&_[e].length>=p&&!(h<=_[e].length);e++)h-=_[e].length,(h>m||h<-m)&&(l.push({from:_[e].start,to:_[e].end}),p=.3*h);return S(l),l}(e,n,t))),S(r)},_drawBreak:function(e,t,n,i,o,r){const a=this,s=e-(a._translator.isInverted()?0:i+1),l={"stroke-width":1,stroke:o.borderColor,sharp:o.isWaved?void 0:o.isHorizontal?"h":"v"},c={stroke:o.color,"stroke-width":i},u=a._isHorizontal?D:function(e){return e},d=k(a._renderer,r,u,t,s,n,o.isWaved);d(i/2,c),d(0,l),d(i,l)},_createBreakClipRect:function(e,t){const n=this,i=n._canvas,o=t-e;let r;return r=n._isHorizontal?n._renderer.clipRect(i.left,e,i.width,o):n._renderer.clipRect(e,i.top,o,i.height),n._breaksElements=n._breaksElements||[],n._breaksElements.push(r),r.id},_createBreaksGroup:function(e,t){const n=this,i=n._renderer.g().attr({class:n._axisCssPrefix+"breaks","clip-path":n._createBreakClipRect(e,t)}).append(n._scaleBreaksGroup);return n._breaksElements=n._breaksElements||[],n._breaksElements.push(i),i},_disposeBreaksGroup:function(){(this._breaksElements||[]).forEach((function(e){e.dispose()})),this._breaksElements=null},drawScaleBreaks:function(e){const t=this,n=t._options,i=n.breakStyle,o=n.position;let r,a;const s=t._translator.getBusinessRange().breaks||[];let l,c,u;if(t._disposeBreaksGroup(),!s||!s.length)return;const d={color:t._options.containerColor,borderColor:i.color,isHorizontal:t._isHorizontal,isWaved:"straight"!==i.line.toLowerCase()};e?(r=e.start,a=e.end):(r=t._orthogonalPositions.start-(!n.visible||t._axisShift||o!==b&&o!==m?0:3),a=t._orthogonalPositions.end+(!n.visible||o!==y&&o!==v?0:3));const h=t._createBreaksGroup(r,a);t._axisShift&&n.visible&&(c=t._axisPosition-t._axisShift-3,u=c+6,l=t._createBreaksGroup(c,u)),s.forEach((function(e){if(!e.gapSize){const o=t._getTranslatedCoord(e.to);t._drawBreak(o,r,a,i.width,d,h),t._axisShift&&n.visible&&t._drawBreak(o,c,u,i.width,d,l)}}))},_getSpiderCategoryOption:l.noop,shift:function(e){const t=this,n=t._options,i=n.isHorizontal,o=t.getMultipleAxesSpacing(),r=t._axisConstantLineGroups;function a(t,n){const r={translateX:0,translateY:0},a=e[t]?e[t]+o:0;return r[i?"translateY":"translateX"]=(t===b||t===m?-1:1)*a,(n[t]||n).attr(r),a}t._axisShift=a(n.position,t._axisGroup),a(n.position,t._axisElementsGroup),(i?[m,v]:[b,y]).forEach((e=>{a(e,r.above),a(e,r.under)}))},getCustomPosition(e){const t=this,n=t.getOrthogonalAxis(),i=e??t.getResolvedPositionOption(),o=t.getOptions().offset,r=n.getTranslator(),a=n.getOptions().type;let s,l=n.validateUnit(i);return"discrete"===a&&(!r._categories||r._categories.indexOf(l)<0)&&(l=void 0),s=t.positionIsBoundary(i)?t.getPredefinedPosition(i):(0,u.isDefined)(l)?r.to(l,-1):t.getPredefinedPosition(t.getOptions().position),isFinite(s)&&isFinite(o)&&(s+=o),s},getCustomBoundaryPosition(e){const t=this,{customPosition:n,offset:i}=t.getOptions(),o=e??t.getResolvedPositionOption(),r=t.getOrthogonalAxis(),a=r.getTranslator(),s=a.getCanvasVisibleArea();if(!(0,u.isDefined)(r._orthogonalPositions)||0===a.canvasLength)return;const l=t.getCustomPosition(o);if(!(0,u.isDefined)(l))return t.getResolvedBoundaryPosition();if((0,u.isDefined)(n)){if(l<=s.min)return t._isHorizontal?m:b;if(l>=s.max)return t._isHorizontal?v:y}else if((0,u.isDefined)(i)){if(l<=t._orthogonalPositions.start)return t._isHorizontal?m:b;if(l>=t._orthogonalPositions.end)return t._isHorizontal?v:y}return l},getResolvedPositionOption(){const e=this.getOptions();return e.customPosition??e.position},customPositionIsAvailable(){const e=this.getOptions();return(0,u.isDefined)(this.getOrthogonalAxis())&&((0,u.isDefined)(e.customPosition)||isFinite(e.offset))},hasNonBoundaryPosition(){return this.customPositionIsAvailable()&&!this.customPositionIsBoundary()},getResolvedBoundaryPosition(){return this.customPositionIsBoundary()?this._customBoundaryPosition:this.getOptions().position},customPositionEqualsToPredefined(){return this.customPositionIsBoundary()&&this._customBoundaryPosition===this.getOptions().position},customPositionIsBoundary(){return this.positionIsBoundary(this._customBoundaryPosition)},positionIsBoundary:e=>[m,b,v,y].indexOf(e)>=0,getPredefinedPosition(e){var t;return null===(t=this._orthogonalPositions)||void 0===t?void 0:t[e===m||e===b?"start":"end"]},resolveOverlappingForCustomPositioning(e){const t=this;if(!t.hasNonBoundaryPosition()&&!t.customPositionIsBoundary()&&!e.some((e=>e.hasNonBoundaryPosition())))return;const n={axes:[],ticks:[]};e.filter((e=>e.pane===t.pane)).forEach((e=>{for(let i=0;i<t._majorTicks.length;i++){const o=t._majorTicks[i],r=o.label;if(r){n.axes.indexOf(e)<0&&t._detectElementsOverlapping(r,e._axisElement)&&(n.axes.push(e),t._shiftThroughOrthogonalAxisOverlappedTick(r,e));for(let a=0;a<e._majorTicks.length;a++){const s=e._majorTicks[a].label;if(s&&t._detectElementsOverlapping(r,s)){n.ticks.push(o),t._shiftThroughAxisOverlappedTick(o),i=t._majorTicks.length;break}}}o.mark&&n.ticks.indexOf(o)<0&&(t._isHorizontal&&o.mark.attr("translateY")?o.mark.attr({translateY:0}):!t._isHorizontal&&o.mark.attr("translateX")&&o.mark.attr({translateX:0}))}}))},_shiftThroughOrthogonalAxisOverlappedTick(e,t){const n=this,i=e.getBBox(),o=t.getAxisPosition(),r=t.getOptions().label,a=r.position,s=r.indentFromAxis/2,l=n._isHorizontal?"translateX":"translateY",c=n._isHorizontal?b:m,u=e.attr(l),d=(n._isHorizontal?i.x:i.y)+u,h=o-d,f=d+(n._isHorizontal?i.width:i.height)-o,p={};p[l]=u,h>0&&f>0&&(f-h>1?p[l]+=h+s:h-f>1?p[l]-=f+s:p[l]+=a===c?h+s:-(f+s),e.attr(p))},_shiftThroughAxisOverlappedTick(e){var t;const n=this,i=e.label;if(!i)return;const o=i.getBBox(),r=null===(t=e.mark)||void 0===t?void 0:t.getBBox(),a=n.getAxisPosition(),s=n.getOptions().label,l=s.indentFromAxis,c=s.position,u=n._isHorizontal?m:b,d=n._isHorizontal?"translateY":"translateX",h=i.attr(d),f=(n._isHorizontal?o.y:o.x)+h,p=n._isHorizontal?o.height:o.width,g={};if(g[d]=h+(c===u?a-f+l:-(f-a+p+l)),i.attr(g),e.mark){const t=n._isHorizontal?r.height:r.width,i=c===u?1:-1;g[d]=i*(t-1),e.mark.attr(g)}},_detectElementsOverlapping(e,t){if(!e||!t)return!1;const n=e.getBBox(),i=n.x+e.attr("translateX"),o=n.y+e.attr("translateY"),r=t.getBBox(),a=r.x+t.attr("translateX"),s=r.y+t.attr("translateY");return(a>=i&&a<=i+n.width||i>=a&&i<=a+r.width)&&(s>=o&&s<=o+n.height||o>=s&&o<=s+r.height)}}};function k(e,t,n,i,o,r,a){const s=a?"bezier":"line",l=e.g().append(t);return function(t,c){e.path(n(function(e,t,n,i,o){if(!o)return[e,t+i,n,t+i];let r;t+=i;const a=t+0,s=t+2,l=t+4,c=[[e,s]];for(r=e;r<n+24;r+=24)c.push([r+6,a,r+6,a,r+12,s,r+18,l,r+18,l,r+24,s]);return[].concat.apply([],c)}(i,o,r,t,a)),s).attr(c).append(l)}}function D(e){const t=[];let n;for(n=0;n<e.length;n+=2)t.push(e[n+1]),t.push(e[n]);return t}e.exports=t.default,e.exports.default=t.default},84601:function(e,t,n){t.default=void 0;var i=n(15060);t.default=i.dxBarGauge;e.exports=t.default,e.exports.default=t.default},75954:function(e,t,n){t.default=void 0;var i,o=(i=n(92633))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},26408:function(e,t,n){t.default=void 0;var i,o=(i=n(3830))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},63512:function(e,t,n){t.Crosshair=_,t.getMargins=function(){return{x:u,y:d}};var i=n(28779),o=n(52576);const r=Math,a=r.abs,s=r.min,l=r.max,c=r.floor,u=8,d=4,h="right",f="bottom";function p(e){return{x:e.x-u,y:e.y-d,width:e.width+2*u,height:e.height+2*d}}function g(e,t,n,i){const o=n?["x","width","y","height",t,0]:["y","height","x","width",e,1];return function(e,t,r){const a={x:r.x,y:r.y},s=p(e),l=n?r.y-e.y-e.height/2:r.y-e.y;return a.y=n||!n&&t===f?r.y+l:r.y,s[o[0]]<0?a[o[0]]-=s[o[0]]:s[o[0]]+s[o[1]]+l*o[5]>i[o[1]]&&(a[o[0]]-=s[o[0]]+s[o[1]]+l*o[5]-i[o[1]]),o[4]-s[o[3]]/2<0?a[o[2]]-=o[4]-s[o[3]]/2:o[4]+s[o[3]]/2>i[o[3]]&&(a[o[2]]-=o[4]+s[o[3]]/2-i[o[3]]),a}}function _(e,t,n,i){const o=this;o._renderer=e,o._crosshairGroup=i,o._options={},o.update(t,n)}_.prototype={constructor:_,update:function(e,t){const n=this,i=t.canvas;n._canvas={top:i.top,bottom:i.height-i.bottom,left:i.left,right:i.width-i.right,width:i.width,height:i.height},n._axes=t.axes,n._panes=t.panes,n._prepareOptions(e,"horizontal"),n._prepareOptions(e,"vertical")},dispose:function(){const e=this;e._renderer=e._crosshairGroup=e._options=e._axes=e._canvas=e._horizontalGroup=e._verticalGroup=e._horizontal=e._vertical=e._circle=e._panes=null},_prepareOptions:function(e,t){const n=e[t+"Line"];this._options[t]={visible:n.visible,line:{stroke:n.color||e.color,"stroke-width":n.width||e.width,dashStyle:n.dashStyle||e.dashStyle,opacity:n.opacity||e.opacity,"stroke-linecap":"butt"},label:(0,o.extend)(!0,{},e.label,n.label)}},_createLines:function(e,t,n){const i=[],o=this._canvas,r=[o.left,o.top,o.left,o.top];for(let o=0;o<2;o++)i.push(this._renderer.path(r,"line").attr(e).sharp(t).append(n));return i},render:function(){const e=this,t=e._renderer,n=e._options,i=n.vertical,o=n.horizontal,r=o.visible?o.line:i.line,a={stroke:r.stroke,"stroke-width":r["stroke-width"],dashStyle:r.dashStyle,opacity:r.opacity},s=e._canvas;e._horizontal={},e._vertical={},e._circle=t.circle(s.left,s.top,0).attr(a).append(e._crosshairGroup),e._horizontalGroup=t.g().append(e._crosshairGroup),e._verticalGroup=t.g().append(e._crosshairGroup),i.visible&&(e._vertical.lines=e._createLines(i.line,"h",e._verticalGroup),e._vertical.labels=e._createLabels(e._axes[0],i,!1,e._verticalGroup)),o.visible&&(e._horizontal.lines=e._createLines(o.line,"v",e._horizontalGroup),e._horizontal.labels=e._createLabels(e._axes[1],o,!0,e._horizontalGroup)),e.hide()},_createLabels:function(e,t,n,o){const r=this._canvas,a=this._renderer;let s,l,c;const u=[];let d,p;const g=t.label;return g.visible&&e.forEach((function(e){const _=e.getOptions().position;if(e.getTranslator().getBusinessRange().isEmpty())return;p=e.getLabelsPosition(),n?(l=r.top,s=p):(s=r.left,l=p);const m="top"===_||_===f?"center":_===h?"left":h;d=a.rect(0,0,0,0).attr({fill:g.backgroundColor||t.line.stroke}).append(o),c=a.text("0",0,0).css((0,i.patchFontOptions)(t.label.font)).attr({align:m,class:g.cssClass}).append(o),u.push({text:c,background:d,axis:e,options:g,pos:{coord:p,side:_},startXY:{x:s,y:l}})})),u},_updateText:function(e,t,n,i,o){const r=this;n.forEach((function(n){const a=n.axis,s=n.startXY,l=n.text,c=n.background;let u="";a.name&&a.name!==t||(u=a.getFormattedValue(e,n.options,i)),u?(l.attr({text:u,x:s.x,y:s.y}),l.attr(o(l.getBBox(),n.pos.side,s)),r._updateLinesCanvas(n),c.attr(p(l.getBBox()))):(l.attr({text:""}),c.attr({x:0,y:0,width:0,height:0}))}))},hide:function(){this._crosshairGroup.attr({visibility:"hidden"})},_updateLinesCanvas:function(e){const t=e.pos.side,n=e.pos.coord,i=this._linesCanvas,o=this._canvas;i[t]=i[t]!==o[t]&&a(i[t]-o[t])<a(n-o[t])?i[t]:n},_updateLines:function(e,t,n,i,o){const r=this._linesCanvas,a=this._canvas,c=o?[[s(t-i,r.left),a.top,t-i,a.top],[t+i,a.top,l(r.right,t+i),a.top]]:[[a.left,s(r.top,n-i),a.left,n-i],[a.left,n+i,a.left,l(r.bottom,n+i)]];for(let i=0;i<2;i++)e[i].attr({points:c[i]}).sharp(o?"v":"h",o?n===a.bottom?-1:1:t===a.right?-1:1)},_resetLinesCanvas:function(){const e=this._canvas;this._linesCanvas={left:e.left,right:e.right,top:e.top,bottom:e.bottom}},_getClipRectForPane:function(e,t){const n=this._panes;let i,o;for(i=0;i<n.length;i++)if(o=n[i].coords,o.left<=e&&o.right>=e&&o.top<=t&&o.bottom>=t)return n[i].clipRect;return{id:null}},show:function(e){const t=this,n=e.point,i=n.getCrosshairData(e.x,e.y),o=n.getPointRadius(),r=t._horizontal,a=t._vertical,s=o?o+3:0,l=t._canvas,u=c(i.x),d=c(i.y);u>=l.left&&u<=l.right&&d>=l.top&&d<=l.bottom?(t._crosshairGroup.attr({visibility:"visible"}),t._resetLinesCanvas(),t._circle.attr({cx:u,cy:d,r:s,"clip-path":t._getClipRectForPane(u,d).id}),r.lines&&(t._updateText(i.yValue,i.axis,r.labels,n,g(u,d,!0,l)),t._updateLines(r.lines,u,d,s,!0),t._horizontalGroup.attr({translateY:d-l.top})),a.lines&&(t._updateText(i.xValue,i.axis,a.labels,n,g(u,d,!1,l)),t._updateLines(a.lines,u,d,s,!1),t._verticalGroup.attr({translateX:u-l.left}))):t.hide()}}},14580:function(e,t,n){t.LayoutManager=v;var i,o=n(11528),r=(i=n(7377))&&i.__esModule?i:{default:i},a=n(77461);const{floor:s,sqrt:l}=Math,c=Math.min,u=Math.max,d=r.default.radialLabelIndent;function h(e,t,n){let i;return i=n<e?e:t<n?t:n,i}function f(e){if(e._label.isVisible()&&"inside"!==e._label.getLayoutOptions().position)return e._label.getBoundingRect()}function p(e,t,n,i,o){return e.some((function(e){return e.getVisiblePoints().reduce((function(e,r){const a=f(r);if(a){const r=h(a.x,a.x+a.width,t),s=h(a.y,a.y+a.height,n);i=c(u(function(e,t,n,i){return l((e-n)*(e-n)+(t-i)*(t-i))}(r,s,t,n)-d,o),i),e=!0}return e}),!1)})),i}function g(e){return e.reduce((function(e,t){let n=t.getVisiblePoints().reduce((function(e,t){const n=f(t);return n&&n.width>e&&(e=n.width),e}),0),i=n;return n&&(e.outerLabelsCount++,e.outerLabelsCount>1&&(n+=r.default.pieLabelSpacing),i+=r.default.pieLabelSpacing),e.sizes.push(n),e.rSizes.push(i),e.common+=n,e}),{sizes:[],rSizes:[],common:0,outerLabelsCount:0})}function _(e,t,n,i,o,r){let a,l,c=0;const u=e.sizes,d=e.rSizes;for(l=0;l<n.length;l++)0!==u[l]?(a=s(a?a+d[l-1]:t),n[l].correctLabelRadius(a),c+=o||u[l],d[l]=o||d[l],n[l].setVisibleArea({left:s(r-t-c),right:s(i.width-(r+t+c)),top:i.top,bottom:i.bottom,width:i.width,height:i.height})):a&&(a+=d[l-1])}function m(e){let{type:t,innerRadius:n}=e;return"pie"===t?0:(0,o.isNumeric)(n)?Number(n):.5}function v(){}function b(e,t,n,i){return(e-t-d-n.left)/i.outerLabelsCount}function y(e,t,n,i,o,r){const a=g(n);let s;const l=function(e,t,n){return e-t.left-(n.outerLabelsCount>0?n.common+d:0)}(o,t,a);return l<i?s=b(o,e=i,t,a):e=c(p(n,o,r,e,i),l),_(a,e+d,n,t,s,o),e}function x(e){return new a.WrapperLayoutElement(null,{x:e.left,y:e.top,width:e.width-e.left-e.right,height:e.height-e.top-e.bottom})}v.prototype={constructor:v,setOptions:function(e){this._options=e},applyPieChartSeriesLayout:function(e,t,n){const i=e.height-e.top-e.bottom,r=e.width-e.left-e.right,a=r/2+e.left,l=i/2+e.top,u=this._options.piePercentage;let d,h;return(0,o.isNumeric)(u)?d=h=u*c(e.height,e.width)/2:(d=c(r,i)/2,h=this._options.minPiePercentage*d),n||(d=y(d,e,t,h,a,l)),{centerX:s(a),centerY:s(l),radiusInner:s(d*m(t[0])),radiusOuter:s(d)}},applyEqualPieChartLayout:function(e,t){const n=t.radius;return{centerX:s(t.x),centerY:s(t.y),radiusInner:s(n*m(e[0])),radiusOuter:s(n)}},correctPieLabelRadius:function(e,t,n){const i=g(e);let o;const r=t.radiusOuter+d,a=t.centerX-n.left-r;i.common+d>a&&(o=b(t.centerX,t.radiusOuter,n,i)),_(i,r,e,n,o,t.centerX)},needMoreSpaceForPanesCanvas(e,t,n){const i=this._options,r=i.width,a=i.height,s=i.piePercentage,l=(0,o.isNumeric)(s);let d=0,h=0;return e.forEach((e=>{const i=e.canvas,o=l?c(i.width,i.height)*s:void 0,f=n?n(e):{width:!1,height:!1},p=f.width?0:(l?o:r)-(i.width-i.left-i.right),g=f.height?0:(l?o:a)-(i.height-i.top-i.bottom);t?(d+=p>0?p:0,h=u(g>0?g:0,h)):(d=u(p>0?p:0,d),h+=g>0?g:0)})),(d>0||h>0)&&{width:d,height:h}},layoutInsideLegend:function(e,t){const n=e.getLayoutOptions();if(!n)return;const i=n.position,o=n.cutSide,r={horizontal:i.horizontal,vertical:i.vertical};t[n.cutLayoutSide]+="horizontal"===n.cutSide?n.width:n.height,r[o]={left:"right",right:"left",top:"bottom",bottom:"top",center:"center"}[r[o]],e.position({of:x(t),my:r,at:i})}}},57568:function(e,t,n){t.default=void 0;n(31951);var i=n(11528),o=n(21274),r=n(28779),a=n(50254);const s=Math,l=s.floor,c=s.max,u=s.abs;const d=e=>({transform:function(t,n){return(0,a.adjust)((0,r.getLogExt)(t,n,e.allowNegatives,e.linearThreshold))},getTicks:function(e,t,n){const i=[];let o=this.transform(t[0],n);for(;i.length<t.length;)i.push(o),o=(0,a.adjust)(o+e);return i}}),h=e=>({transform:function(t,n){return(0,a.adjust)((0,r.raiseToExt)(t,n,e.allowNegatives,e.linearThreshold))},getTicks:function(e,t,n){const i=[];let o;for(let e=0;e<t.length;e+=1)o=this.transform(t[e],n),i.push(o);return i}});function f(e,t){if(!e.isLogarithmic)return;const n=e.logarithmicBase,i=e.tickValues;e.minValue=t.transform(e.minValue,n),e.oldMinValue=t.transform(e.oldMinValue,n),e.maxValue=t.transform(e.maxValue,n),e.oldMaxValue=t.transform(e.oldMaxValue,n),e.tickInterval=s.round(e.tickInterval),e.tickInterval<1&&(e.tickInterval=1);const o=t.getTicks(e.tickInterval,i,n);o.tickInterval=e.tickInterval,e.tickValues=o}function p(e){return e.maxValue-e.minValue||1}function g(e){for(let t=0;t<e.length;t++)if(!e[t].stubData)return e[t];return null}const _={synchronize:function(e){(0,o.each)(function(e){const t={};return e.forEach((e=>{const n=e.pane;t[n]||(t[n]=[]),t[n].push(e)})),t}(e),(function(e,t){let n,o;if(t.length>1){if(n=function(e){return e.reduce((function(e,t){const n=t.getTicksValues(),o=n.majorTicksValues,r=t.getOptions(),a=t.getTranslator().getBusinessRange(),s=t.getVisibleArea();let l,c=t._tickInterval;const h=r.synchronizedValue,p=t.getViewport().action;if(o&&o.length>0&&(0,i.isNumeric)(o[0])&&"discrete"!==r.type&&!a.isEmpty()&&(!a.breaks||!a.breaks.length)&&"zoom"!==p&&"pan"!==p){t.applyMargins();const p=t.getTranslator().from(s[0]),g=t.getTranslator().from(s[1]);let _=p<g?p:g,m=p<g?g:p;_===m&&(0,i.isDefined)(h)&&(c=u(o[0]-h)||1,_=o[0]-c,m=o[0]+c),l={axis:t,isLogarithmic:"logarithmic"===r.type,logarithmicBase:a.base,tickValues:o,minorValues:n.minorTicksValues,minorTickInterval:t._minorTickInterval,minValue:_,oldMinValue:_,maxValue:m,oldMaxValue:m,inverted:a.invert,tickInterval:c,synchronizedValue:h},f(l,d(t.getTranslator().getBusinessRange())),e.push(l)}return e}),[])}(t),n.length<2||!g(n))return;!function(e){const t=e.reduce(((e,t)=>c(e,t.tickValues.length)),0);e.forEach((e=>{let n,o,r=0;const s=e.synchronizedValue,c=e.tickValues,u=e.tickInterval;if((0,i.isDefined)(s))e.baseTickValue=e.invertedBaseTickValue=s,e.tickValues=[e.baseTickValue];else{if(c.length>1&&u){for(n=l((t+1)/c.length),o=n>1?l((t+1)/n):t,r=l((o-c.length)/2);r>0&&0!==c[0];)c.unshift((0,a.adjust)(c[0]-u)),r--;for(;c.length<o;)c.push((0,a.adjust)(c[c.length-1]+u));e.tickInterval=u/n}e.baseTickValue=c[0],e.invertedBaseTickValue=c[c.length-1]}}))}(n),function(e){const t=g(e),n=t.tickInterval;e.forEach((e=>{let o,r,a,s;e!==t&&(n&&e.tickInterval&&(e.stubData&&(0,i.isDefined)(e.synchronizedValue)&&(e.oldMinValue=e.minValue=e.baseTickValue-(t.baseTickValue-t.minValue)/n*e.tickInterval,e.oldMaxValue=e.maxValue=e.baseTickValue-(t.baseTickValue-t.maxValue)/n*e.tickInterval),o=n/p(t)/e.tickInterval*p(e),e.maxValue=e.minValue+p(e)/o),a=t.inverted&&!e.inverted||!t.inverted&&e.inverted?t.maxValue-t.invertedBaseTickValue:t.baseTickValue-t.minValue,s=p(e),r=(a/p(t)-(e.baseTickValue-e.minValue)/s)*s,e.minValue-=r,e.maxValue-=r)}))}(n),o=function(e){let t,n,i=0,o=0;return e.forEach((e=>{const r=e.inverted;t=e.minValue>e.oldMinValue?(e.minValue-e.oldMinValue)/p(e):0,n=e.maxValue<e.oldMaxValue?(e.oldMaxValue-e.maxValue)/p(e):0,i=c(i,r?n:t),o=c(o,r?t:n)})),{start:i,end:o}}(n),o=function(e,t){return function(e){let t=!0,n=!0;return e.forEach((e=>{(e.oldMinValue>0||e.oldMaxValue>0)&&(n=!1),(e.oldMinValue<0||e.oldMaxValue<0)&&(t=!1)})),t||n}(e)?e.reduce(((e,t)=>{const n=t.inverted,{start:o,end:r}=t.axis.getCorrectedValuesToZero(t.minValue,t.maxValue);return(0,i.isDefined)(o)||(0,i.isDefined)(r)?n?{start:e.start,end:Math.min(e.end,r)}:{start:Math.min(e.start,o),end:e.end}:e}),t):t}(n,o),function(e,t){e.forEach((e=>{const n=p(e),i=e.inverted;e.minValue=(0,a.adjust)(e.minValue-t[i?"end":"start"]*n),e.maxValue=(0,a.adjust)(e.maxValue+t[i?"start":"end"]*n)}))}(n,o),function(e){const t=[];let n;e.forEach((e=>{e.oldMaxValue-e.oldMinValue==0?t.push(e):(0,i.isDefined)(n)||(0,i.isDefined)(e.synchronizedValue)||(n=u((e.maxValue-e.minValue)/(e.tickValues[l(e.tickValues.length/2)]-e.minValue||e.maxValue)))})),(0,i.isDefined)(n)&&t.forEach((e=>{const t=e.tickValues[0],i=t*n;t>0?(e.maxValue=i,e.minValue=0):t<0&&(e.minValue=i,e.maxValue=0)}))}(n),function(e){let t=!1;e.forEach((e=>{t=t||(0,i.isDefined)(e.synchronizedValue)})),e.forEach((e=>{const n=e.tickInterval,i=e.tickValues,o=e.maxValue,r=e.minValue;let s;if(t&&n){for(;(s=(0,a.adjust)(i[0]-n))>=r;)i.unshift(s);for(s=i[i.length-1];(s=(0,a.adjust)(s+n))<=o;)i.push(s)}for(;i[0]+n/10<r;)i.shift();for(;i[i.length-1]-n/10>o;)i.pop()}))}(n),function(e){e.forEach((function(e){if(!e.minorTickInterval)return;const t=[],n=e.minorTickInterval,i=e.tickInterval/n-1;for(let o=1;o<e.tickValues.length;o++){let r=e.tickValues[o-1];for(let e=0;e<i;e++)r+=n,t.push(r)}e.minorValues=t}))}(n),n.forEach((e=>{f(e,h(e.axis.getTranslator().getBusinessRange()))})),function(e){e.forEach((e=>{const t=e.axis,n=t.getTranslator().getBusinessRange();n.min===n.minVisible&&(n.min=e.minValue),n.max===n.maxVisible&&(n.max=e.maxValue),n.minVisible=e.minValue,n.maxVisible=e.maxValue,n.min>n.minVisible&&(n.min=n.minVisible),n.max<n.maxVisible&&(n.max=n.maxVisible),t.getTranslator().updateBusinessRange(n),t.setTicks({majorTicks:e.tickValues,minorTicks:e.minorValues})}))}(n)}}))}};t.default=_;e.exports=t.default,e.exports.default=t.default},68817:function(e,t,n){t.ScrollBar=void 0;var i,o=(i=n(92774))&&i.__esModule?i:{default:i},r=n(98834),a=n(52576),s=n(64174),l=n(11528),c=n(17781),u=n(59144);const d=Math.min,h=Math.max,f=function(e,t){this._translator=new s.Translator2D({},{},{}),this._scroll=e.rect().append(t),this._addEvents()};function p(e,t,n,i){let o=0;return"right"===t?o=e.width-e.right+n:"left"===t&&(o=e.left-n-i),o}function g(e,t,n,i){let o=0;return"top"===t?o=e.top-n:"bottom"===t&&(o=e.height-e.bottom+i+n),o}t.ScrollBar=f,f.prototype={_addEvents:function(){const e=this._scroll.element;o.default.on(e,u.start,(t=>{(0,r.fireEvent)({type:"dxc-scroll-start",originalEvent:t,target:e})})),o.default.on(e,u.move,(t=>{const n=-t.offset.x*this._scale,i=-t.offset.y*this._scale,o=this._offset-(this._layoutOptions.vertical?i:n)/this._scale;this._applyPosition(o,o+this._translator.canvasLength/this._scale),(0,r.fireEvent)({type:"dxc-scroll-move",originalEvent:t,target:e,offset:{x:n,y:i}})})),o.default.on(e,u.end,(t=>{(0,r.fireEvent)({type:"dxc-scroll-end",originalEvent:t,target:e,offset:{x:-t.offset.x*this._scale,y:-t.offset.y*this._scale}})}))},update:function(e){const t=this;let n=e.position;const i=e.rotated,o=i?"right":"top";return n!==o&&n!==(i?"left":"bottom")&&(n=o),t._scroll.attr({rotate:e.rotated?0:-90,rotateX:0,rotateY:0,fill:e.color,width:e.width,opacity:e.opacity}),t._layoutOptions={width:e.width,offset:e.offset,vertical:i,position:n},t},init:function(e,t){const n=this,i="discrete"===e.axisType;return n._translateWithOffset=i&&!t?1:0,n._translator.update((0,a.extend)({},e,{minVisible:null,maxVisible:null,visibleCategories:null},i&&{min:null,max:null}||{}),n._canvas,{isHorizontal:!n._layoutOptions.vertical,stick:t}),n},getOptions:function(){return this._layoutOptions},setPane:function(e){const t=this._layoutOptions.position;let n;return n="left"===t||"top"===t?e[0]:e[e.length-1],this.pane=n.name,this},updateSize:function(e){this._canvas=(0,a.extend)({},e);const t=this._layoutOptions,n=t.position,i=t.offset,o=t.width;this._scroll.attr({translateX:p(e,n,i,o),translateY:g(e,n,i,o)})},getMultipleAxesSpacing:function(){return 0},estimateMargins:function(){return this.getMargins()},getMargins:function(){const e=this._layoutOptions,t={left:0,top:0,right:0,bottom:0};return t[e.position]=e.width+e.offset,t},shift:function(e){const t=this,n=t._layoutOptions,i=n.position,o=n.vertical,r={translateX:t._scroll.attr("translateX")??0,translateY:t._scroll.attr("translateY")??0},a=e[i];r[o?"translateX":"translateY"]+=("left"===i||"top"===i?-1:1)*a,t._scroll.attr(r)},hideTitle:c.noop,hideOuterElements:c.noop,setPosition:function(e,t){const n=this,i=n._translator,o=(0,l.isDefined)(e)?i.translate(e,-n._translateWithOffset):i.translate("canvas_position_start"),r=(0,l.isDefined)(t)?i.translate(t,n._translateWithOffset):i.translate("canvas_position_end");n._offset=d(o,r),n._scale=i.getScale(e,t),n._applyPosition(d(o,r),h(o,r))},customPositionIsAvailable:()=>!1,dispose:function(){this._scroll.dispose(),this._scroll=this._translator=null},_applyPosition:function(e,t){const n=this._translator.getCanvasVisibleArea();e=h(e,n.min),e=d(e,n.max),t=d(t,n.max),t=h(t,n.min);const i=Math.abs(t-e);this._scroll.attr({y:e,height:i<2?2:i})}}},3023:function(e,t,n){t.default=void 0;var i=n(59144);const o=".shutter-zoom",r=i.start+o,a=i.move+o,s=i.end+o;function l(e,t,n,i){let o=Math.floor(n?i.pageY-e.top:i.pageX-e.left);const r=n?t.y1:t.x1,a=n?t.y2:t.x2;return o<r?o=r:o>a&&(o=a),o}function c(e){const t=e.chart,n=e.renderer,i=e.rotated,c=n.rect(0,0,0,0).attr(e.shutterOptions),u={rect:c,root:n.root,rotated:i,triggerStart:function(){t._eventTrigger("zoomStart")},triggerEnd:function(){const e=t._argumentAxes[0].getTranslator(),n=Math.min(this.startCoord,this.curCoord),i=Math.max(this.startCoord,this.curCoord);t._eventTrigger("zoomEnd",{rangeStart:e.from(n),rangeEnd:e.from(i)})},dispose:function(){n.root.off(o),c.dispose()},getRootOffset:function(){return n.getRootOffset()},getCanvas:function(){const e=t._canvas,n=t.panes,i=n[0].canvas,o=n[n.length-1].canvas;return{x1:i.left,y1:i.top,x2:e.width-o.right,y2:e.height-o.bottom,width:e.width-i.left-o.right,height:e.height-i.top-o.bottom}}};var d;return n.root.off(o).on(r,{direction:i?"vertical":"horizontal",immediate:!0},(d=u,function(e){const t=d.getRootOffset(),n=d.getCanvas();!function(e,t,n){const i=n.pageX-e.left,o=n.pageY-e.top;return i>=t.x1&&i<=t.x2&&o>=t.y1&&o<=t.y2}(t,n,e)?e.cancel=!0:(d.rootOffset=t,d.canvas=n,d.startCoord=l(t,n,d.rotated,e),d.triggerStart(),d.rect.attr({x:n.x1,y:n.y1,width:n.width,height:n.height}).append(d.root))})).on(a,function(e){return function(t){const n=l(e.rootOffset,e.canvas,e.rotated,t),i={};e.curCoord=n,i[e.rotated?"y":"x"]=Math.min(e.startCoord,n),i[e.rotated?"height":"width"]=Math.abs(e.startCoord-n),e.rect.attr(i)}}(u)).on(s,function(e){return function(t){e.triggerEnd(),e.rect.remove()}}(u)),u}t.default={name:"shutter_zoom",init:function(){const e=this.option("shutterZoom")||{};e.enabled&&(this._shutterZoom=c({chart:this,renderer:this._renderer,rotated:this.option("rotated"),shutterOptions:e}))},dispose:function(){this._shutterZoom&&this._shutterZoom.dispose()}};e.exports=t.default,e.exports.default=t.default},45912:function(e,t,n){t.PieTracker=t.ChartTracker=void 0;var i=p(n(64960)),o=p(n(92774)),r=n(64044),a=n(52576),s=n(21274),l=p(n(7377)),c=n(28779),u=p(n(89797)),d=n(98834),h=n(11528),f=n(17781);function p(e){return e&&e.__esModule?e:{default:e}}const g=Math.floor,_=l.default.events,m=l.default.states,v=m.hoverMark,b=m.normalMark,y="dxChartTracker",x="."+y,C=(0,d.addNamespace)([u.default.down,u.default.move],y),S="legendClick",w="seriesClick",E="pointClick",T="chart-data-point",A="chart-data-series",O="chart-data-argument",k="none",D="allargumentpoints",L="includepoints",P=[L,"excludepoints",k];function M(e,t,n){const i=e.target;if("tspan"===i.tagName)return i.parentNode[t];const o=i[t];if(n&&!(0,h.isDefined)(o)){const e=function(n){if(n.parentNode)return(0,h.isDefined)(n.parentNode[t])?n.parentNode[t]:e(n.parentNode)};return e(i)}return o}function R(e,t){let{cancel:n}=e;return n||!t.getOptions()}function I(e){const t=e.getOptions().hoverMode;return t===k?t:D}const B={ctor:function(e){const t=this,n={tracker:t};t._renderer=e.renderer,t._legend=e.legend,t._tooltip=e.tooltip,t._eventTrigger=e.eventTrigger,t._seriesGroup=e.seriesGroup,e.seriesGroup.off(x).on((0,d.addNamespace)(_.showPointTooltip,y),n,t._showPointTooltip).on((0,d.addNamespace)(_.hidePointTooltip,y),n,t._hidePointTooltip),t._renderer.root.off(x).on(C,n,t._pointerHandler).on((0,d.addNamespace)(u.default.up,y),(()=>clearTimeout(t._holdTimer))).on((0,d.addNamespace)(r.name,y),n,t._clickHandler)},update:function(e){this._chart=e.chart},updateSeries(e,t){const n=this,i=!(null!=e&&e.some((e=>e===n.hoveredSeries))||n._hoveredPoint&&n._hoveredPoint.series);n._storedSeries!==e&&(n._storedSeries=e||[]),i&&(n._clean(),n._renderer.initDefsElements()),t&&(n.clearSelection(),i||(n._hideTooltip(n.pointAtShownTooltip),n.clearHover()))},setCanvases:function(e,t){this._mainCanvas=e,this._canvases=t},repairTooltip:function(){const e=this.pointAtShownTooltip;e&&e.series&&e.isVisible()?this._showTooltip(e):this._hideTooltip(e,!0)},_setHoveredPoint:function(e){e!==this._hoveredPoint&&(this._releaseHoveredPoint(),e.hover(),this._hoveredPoint=e)},_releaseHoveredPoint:function(e){this._hoveredPoint&&this._hoveredPoint.getOptions()&&(this._hoveredPoint.clearHover(),this._hoveredPoint=null,this._tooltip.isEnabled()&&this._hideTooltip(this._hoveredPoint,!1,e))},_setHoveredSeries:function(e,t){this._releaseHoveredSeries(),this._releaseHoveredPoint(),e.hover(t),this.hoveredSeries=e},_releaseHoveredSeries(){this.hoveredSeries&&(this.hoveredSeries.clearHover(),this.hoveredSeries=null)},clearSelection(){this._storedSeries.forEach((e=>{e&&(e.clearSelection(),e.getPoints().forEach((e=>e.clearSelection())))}))},_clean:function(){const e=this;e.hoveredPoint=e.hoveredSeries=e._hoveredArgumentPoints=null,e._hideTooltip(e.pointAtShownTooltip)},clearHover:function(e){this._resetHoveredArgument(),this._releaseHoveredSeries(),this._releaseHoveredPoint(e)},_hideTooltip:function(e,t,n){const i=this;!i._tooltip||e&&i.pointAtShownTooltip!==e||(!t&&i.pointAtShownTooltip&&(i.pointAtShownTooltip=null),i._tooltip.hide(!!n))},_showTooltip:function(e){const t=this;let n;const i={target:e};if(null!=e&&e.getOptions()){if(n=e.getTooltipFormatObject(t._tooltip,t._tooltip.isShared()&&t._chart.getStackedPoints(e)),!(0,h.isDefined)(n.valueText)&&!n.points||!e.isVisible())return;const o=e.getTooltipParams(t._tooltip.getLocation()),r=t._renderer.getRootOffset();o.x+=r.left,o.y+=r.top;const a=n=>{n&&(t.pointAtShownTooltip=e)};a(t._tooltip.show(n,o,i,void 0,a))}},_showPointTooltip:function(e,t){const n=e.data.tracker,i=n.pointAtShownTooltip;i&&i!==t&&n._hideTooltip(i),n._showTooltip(t)},_hidePointTooltip:function(e,t){e.data.tracker._hideTooltip(t,!1,!0)},_enableOutHandler:function(){if(this._outHandler)return;const e=this,t=function(t){const n=e._renderer.getRootOffset(),i=g(t.pageX-n.left),o=g(t.pageY-n.top);(0,c.pointInCanvas)(e._mainCanvas,i,o)||e._isCursorOnTooltip(t)||(e._pointerOut(),e._disableOutHandler())};o.default.on(i.default.getDocument(),C,t),this._outHandler=t},_isCursorOnTooltip:function(e){return this._tooltip.isEnabled()&&this._tooltip.isCursorOnTooltip(e.pageX,e.pageY)},_disableOutHandler:function(){this._outHandler&&o.default.off(i.default.getDocument(),C,this._outHandler),this._outHandler=null},stopCurrentHandling:function(){this._pointerOut(!0)},_pointerOut:function(e){this.clearHover(!0),(e||this._tooltip.isEnabled())&&this._hideTooltip(this.pointAtShownTooltip,!1,!0)},_triggerLegendClick:function(e,t){const n=this._eventTrigger;n(S,e,(function(){!R(e,e.target)&&n(t,e)}))},_hoverLegendItem:function(e,t){const n=this,i=n._legend.getItemByCoord(e,t);let o;const r=(a=n._legend.getOptions().hoverMode,P.indexOf(a)>-1?a:L);var a;i?(o=n._storedSeries[i.id],o.isHovered()&&o.lastHoverMode===r||n._setHoveredSeries(o,r),n._tooltip.isEnabled()&&n._hideTooltip(n.pointAtShownTooltip)):n.clearHover()},_hoverArgument:function(e,t){const n=this,i=n._getArgumentHoverMode();(0,h.isDefined)(e)&&(n._releaseHoveredPoint(),n._hoveredArgument=e,n._argumentIndex=t,n._notifySeries({action:"pointHover",notifyLegend:n._notifyLegendOnHoverArgument,target:{argument:e,fullState:v,argumentIndex:t,getOptions:function(){return{hoverMode:i}}}}))},_resetHoveredArgument:function(){const e=this;let t;(0,h.isDefined)(e._hoveredArgument)&&(t=e._getArgumentHoverMode(),e._notifySeries({action:"clearPointHover",notifyLegend:e._notifyLegendOnHoverArgument,target:{fullState:b,argumentIndex:e._argumentIndex,argument:e._hoveredArgument,getOptions:function(){return{hoverMode:t}}}}),e._hoveredArgument=null)},_notifySeries:function(e){this._storedSeries.forEach((function(t){t.notify(e)}))},_pointerHandler:function(e){var t;const n=e.data.tracker,i=n._renderer.getRootOffset(),o=g(e.pageX-i.left),r=g(e.pageY-i.top),a=n._getCanvas(o,r);let s=M(e,A),l=M(e,T)||(null===(t=s)||void 0===t?void 0:t.getPointByCoord(o,r));if(n._isHolding=!1,clearTimeout(n._holdTimer),e.type===u.default.down&&(n._holdTimer=setTimeout((()=>n._isHolding=!0),300)),l&&!l.getMarkerVisibility()&&(l=void 0),n._enableOutHandler(),n._legend.coordsIn(o,r))n._hoverLegendItem(o,r);else if(n.hoveredSeries&&n.hoveredSeries!==n._stuckSeries&&n._releaseHoveredSeries(),!n._hoverArgumentAxis(o,r,e)&&(n._isPointerOut(a,l)&&n._pointerOut(),a||l)){if(s&&!l){if(l=s.getNeighborPoint(o,r),n._stickyHovering||!l||l.coordsIn(o,r)||(l=null),s!==n.hoveredSeries)return void n._setTimeout((function(){n._setHoveredSeries(s),n._setStuckSeries(e,s,o,r),n._pointerComplete(l,o,r)}),s)}else{if(l){if(e.type!==u.default.move&&"touch"!==e.pointerType)return;return void(n.hoveredSeries?n._setTimeout((()=>n._pointerOnPoint(l,o,r,e)),l):n._pointerOnPoint(l,o,r,e))}var c;n._setStuckSeries(e,void 0,o,r)&&n._stickyHovering?(s=n._stuckSeries,l=s.getNeighborPoint(o,r),n._releaseHoveredSeries(),(null===(c=l)||void 0===c?void 0:c.getMarkerVisibility())&&n._setHoveredPoint(l)):n._stickyHovering||n._pointerOut()}n._pointerComplete(l,o,r)}},_pointerOnPoint:function(e,t,n){this._resetHoveredArgument(),this._setHoveredPoint(e),this._pointerComplete(e,t,n)},_pointerComplete:function(e){this.pointAtShownTooltip!==e&&this._tooltip.isEnabled()&&this._showTooltip(e)},_clickHandler:function(e){var t;const n=e.data.tracker;if(n._isHolding)return;const i=n._renderer.getRootOffset(),o=g(e.pageX-i.left),r=g(e.pageY-i.top);let a=M(e,T);const s=n._stuckSeries||M(e,A)||(null===(t=a)||void 0===t?void 0:t.series),l=n._argumentAxis;if(n._legend.coordsIn(o,r)){const t=n._legend.getItemByCoord(o,r);t&&n._legendClick(t,e)}else if(null!=l&&l.coordsIn(o,r)){const t=M(e,O,!0);(0,h.isDefined)(t)&&n._eventTrigger("argumentAxisClick",{argument:t,event:e})}else if(s){var c;a=a||s.getPointByCoord(o,r),null!==(c=a)&&void 0!==c&&c.getMarkerVisibility()?n._pointClick(a,e):M(e,A)&&n._eventTrigger(w,{target:s,event:e})}},dispose:function(){const e=this;e._disableOutHandler(),e._renderer.root.off(x),e._seriesGroup.off(x)}},V=function(e){this.ctor(e)};t.ChartTracker=V,(0,a.extend)(V.prototype,B,{_pointClick:function(e,t){const n=this._eventTrigger,i=e.series,o={target:e,event:t};n(E,o,(function(){!R(o,i)&&n(w,{target:i,event:t})}))},update:function(e){const t=this;B.update.call(this,e),t._argumentAxis=e.argumentAxis||{},t._axisHoverEnabled=t._argumentAxis&&(0,c.normalizeEnum)(t._argumentAxis.getOptions().hoverMode)===D,t._rotated=e.rotated,t._crosshair=e.crosshair,t._stickyHovering=e.stickyHovering},_getCanvas:function(e,t){const n=this._canvases||[];for(let i=0;i<n.length;i++){const o=n[i];if((0,c.pointInCanvas)(o,e,t))return o}return null},_isPointerOut:function(e,t){return!e&&this._stuckSeries&&(null==t?void 0:t.series)!==this._stuckSeries},_hideCrosshair:function(){var e;null===(e=this._crosshair)||void 0===e||e.hide()},_moveCrosshair:function(e,t,n){this._crosshair&&null!=e&&e.isVisible()&&this._crosshair.show({point:e,x:t,y:n})},_clean:function(){const e=this;B._clean.call(e),e._resetTimer(),e._stuckSeries=null},_getSeriesForShared:function(e,t){var n;const i=this,o=[];let r=null,a=1/0;return i._tooltip.isShared()&&!i.hoveredSeries&&((0,s.each)(i._storedSeries,(function(n,i){const r=i.getNeighborPoint(e,t);r&&o.push(r)})),(0,s.each)(o,(function(n,i){const o=i.getCrosshairData(e,t),s=(0,c.getDistance)(e,t,o.x,o.y);s<a&&(r=i,a=s)}))),null===(n=r)||void 0===n?void 0:n.series},_setTimeout:function(e,t){const n=this;n._timeoutKeeper!==t&&(n._resetTimer(),n._hoverTimeout=setTimeout((function(){e(),n._timeoutKeeper=null}),100),n._timeoutKeeper=t)},_resetTimer:function(){clearTimeout(this._hoverTimeout),this._timeoutKeeper=this._hoverTimeout=null},_stopEvent:function(e){(0,h.isDefined)(e.cancelable)&&!e.cancelable||(e.preventDefault(),e.stopPropagation())},_setStuckSeries:function(e,t,n,i){return"mouse"!==e.pointerType?this._stuckSeries=null:this._stuckSeries=t||this._stuckSeries||this._getSeriesForShared(n,i),!!this._stuckSeries},_pointerOut:function(){const e=this;e._stuckSeries=null,e._hideCrosshair(),e._resetTimer(),B._pointerOut.apply(e,arguments)},_hoverArgumentAxis:function(e,t,n){const i=this;if(i._resetHoveredArgument(),i._axisHoverEnabled&&i._argumentAxis.coordsIn(e,t))return i._hoverArgument(M(n,O,!0)),!0},_pointerComplete:function(e,t,n){const i=this;i.hoveredSeries&&i.hoveredSeries.updateHover(t,n),i._resetTimer(),i._moveCrosshair(e,t,n),B._pointerComplete.call(i,e)},_legendClick:function(e,t){const n=this._storedSeries[e.id];this._triggerLegendClick({target:n,event:t},w)},_hoverLegendItem:function(e,t){this._stuckSeries=null,this._hideCrosshair(),B._hoverLegendItem.call(this,e,t)},_pointerOnPoint:function(e,t,n,i){this._setStuckSeries(i,e.series,t,n),this._releaseHoveredSeries(),B._pointerOnPoint.call(this,e,t,n,i)},_notifyLegendOnHoverArgument:!1,_getArgumentHoverMode:function(){return I(this._argumentAxis)},dispose:function(){this._resetTimer(),B.dispose.call(this)}});const F=function(e){this.ctor(e)};t.PieTracker=F,(0,a.extend)(F.prototype,B,{_isPointerOut:function(e,t){return!t},_legendClick:function(e,t){const n=[];this._storedSeries.forEach((t=>n.push.apply(n,t.getPointsByKeys(e.argument,e.argumentIndex)))),this._eventTrigger(S,{target:e.argument,points:n,event:t})},_pointClick:function(e,t){this._eventTrigger(E,{target:e,event:t})},_hoverLegendItem:function(e,t){const n=this,i=n._legend.getItemByCoord(e,t);i&&n._hoveredArgument!==i.argument?(n._resetHoveredArgument(),n._hoverArgument(i.argument,i.argumentIndex)):i||n.clearHover()},_getArgumentHoverMode:function(){return I(this._legend)},_hoverArgumentAxis:f.noop,_setStuckSeries:f.noop,_getCanvas:f.noop,_notifyLegendOnHoverArgument:!0})},37195:function(e,t,n){t.default=void 0;var i=n(11528),o=n(52576),r=n(28779),a=n(37373),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(37008)),l=n(59144);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},u.apply(null,arguments)}const d=".zoomAndPanNS",h=l.start+d,f=l.move+d,p=l.end+d,g=s.pinchstart+d,_=s.pinch+d,m=s.pinchend+d,v="dxc-scroll-start"+d,b="dxc-scroll-move"+d,y="dxc-scroll-end"+d,x=Math.min,C=Math.max,S=Math.abs;function w(e){return{x:e.left,y:e.top,width:e.width-e.left-e.right,height:e.height-e.top-e.bottom}}function E(e,t){const n=t.x,i=t.y;return n>=e.x&&n<=e.width+e.x&&i>=e.y&&i<=e.height+e.y}function T(e){return e.filter((e=>!e.getTranslator().getBusinessRange().isEmpty()))}function A(e){return e.some((e=>!e.isExtremePosition(!1)||!e.isExtremePosition(!0)))}function O(e,t,n,i,o,r,a){const s=t&&e!==t,l=n(e),{stopInteraction:c,correctedRange:u}=e.checkZoomingLowerLimitOvercome(o,r,l),d=e.handleZooming(c?null:u,i(s),a,o);return c&&e.handleZoomEnd(),{stopInteraction:c,result:d}}function k(e,t,n,i,o,r){t=function(e,t){return t&&(e=e.sort(((e,n)=>e===t?-1:n===t?1:0))),e}(t,r);let a=!1;const s=e=>({start:!!e,end:!!e});return T(t).some((t=>{const l=t.getTranslator(),c=l.getMinScale(i),{stopInteraction:d,result:h}=O(t,r,n(u({scale:c,translator:l,axis:t},o)),s,"zoom",c,e);return a=!d,r&&h.isPrevented})),a}function D(e){e.originalEvent&&D(e.originalEvent),!1!==e.cancelable&&(e.cancel=!0)}t.default={name:"zoom_and_pan",init:function(){const e=this,t=this._renderer;function n(t,n){let i=[];const o=t.options,r=t.actionData;return o.argumentAxis[n]&&i.push(e.getArgumentAxis()),o.valueAxis[n]&&(i=i.concat(r.valueAxes)),i}function s(e,t,i){T(n(e,t)).some((e=>e.handleZooming(null,{end:!0},i,t).isPrevented))&&D(i)}function l(t,n,a,s,l){function c(e,t,a,l,c){let u={zoomed:!1};return t&&T(e).forEach((e=>{const t=e.getOptions(),d=e.visualRange(),h=e.getTranslator().getEventScale(l),f=-s(l,c,a,h);u=(0,o.extend)(!0,u,e.getTranslator().zoom(f,h,e.getZoomBounds()));const p=e.adjustRange((0,r.getVizRangeObject)([u.min,u.max])),{stopInteraction:g,correctedRange:_}=e.checkZoomingLowerLimitOvercome(n,h,p);if((0,i.isDefined)(d)&&d.startValue.valueOf()===_.startValue.valueOf()&&d.endValue.valueOf()===_.endValue.valueOf()){if("touch"===l.pointerType&&"discrete"===t.type){const n=e.isExtremePosition(!1),i=e.isExtremePosition(!0),o=h>1&&!g,r=h<1&&(!n||!i),a=1===h&&!(n&&(f<0&&!t.inverted||f>0&&t.inverted)||i&&(f>0&&!t.inverted||f<0&&t.inverted));u.enabled=o||r||a}}else e.handleZooming(g?null:_,{start:!0,end:!0},l,n),g||(u.zoomed=!0,u.deltaTranslate=f-u.translate)})),u}function u(e,t,n,i){n.zoomed&&(t.offset[i]=(e.offset?e.offset[i]:t.offset[i])+n.deltaTranslate)}function d(e,t,n,i){n.zoomed&&(t.center[i]=e[i]+n.deltaTranslate)}const h=e.option("rotated"),f=t.actionData,p=t.options;let g={},_={};f.fallback||(g=c(e._argumentAxes,p.argumentAxis[n],h?"y":"x",a,f),_=c(f.valueAxes,p.valueAxis[n],h?"x":"y",a,f),e._requestChange(["VISUAL_RANGE"]),u(a,f,g,h?"y":"x"),u(a,f,_,h?"x":"y"));const m=l(a);return d(m,f,g,h?"y":"x"),d(m,f,_,h?"x":"y"),g.zoomed||_.zoomed||(f.center=m),g.zoomed||_.zoomed||f.fallback||g.enabled||_.enabled}function c(t,i,o,r){function a(e,t,n,a){let s=!1;const l=o.scale||1,c=e=>{const i=e.getTranslator().zoom(-r(o,n,t,l),l,e.getZoomBounds());return{startValue:i.min,endValue:i.max}},u=e=>({start:!0,end:e});return T(e).forEach((e=>{s=!O(e,a,c,u,i,l,o).stopInteraction})),s}const s=e.option("rotated"),l=t.actionData,c=t.options;let u=!0;if(l.fallback)u&=c.argumentAxis[i]&&a(e._argumentAxes,s?"y":"x",l,e.getArgumentAxis()),u|=c.valueAxis[i]&&a(l.valueAxes,s?"x":"y",l);else{const e=n(t,i);T(e).forEach((e=>{e.handleZooming(null,{start:!0},o,i)})),u=e.length}u&&e._requestChange(["VISUAL_RANGE"])}function u(t,n){const o=e._argumentAxes.filter((e=>E(w(e.getCanvas()),t)));return{fallback:e._lastRenderingTime>300,cancel:!o.length||!(0,i.isDefined)(n),action:n,curAxisRect:o.length&&w(o[0].getCanvas()),valueAxes:o.length&&e._valueAxes.filter((e=>E(w(e.getCanvas()),t))),offset:{x:0,y:0},center:t,startCenter:t}}function L(e,n){const i=t.getRootOffset();return{x:x(C(n.pageX-i.left,e.x),e.width+e.x),y:x(C(n.pageY-i.top,e.y),e.height+e.y)}}function P(e){const n=t.getRootOffset(),i=e.pointers[0].pageX,o=e.pointers[1].pageX,r=e.pointers[0].pageY,a=e.pointers[1].pageY;return{x:x(i,o)+S(o-i)/2-n.left,y:x(r,a)+S(a-r)/2-n.top}}function M(e){const n=t.getRootOffset();return{x:e.pageX-n.left,y:e.pageY-n.top}}function R(e,t,n){return e.offset[n]-t.offset[n]}function I(t){!1!==t.cancelable&&(t.preventDefault(),t.stopPropagation()),e._stopCurrentHandling()}const B={dragStartHandler:function(e){const n=B.options,o="touch"===e.pointerType,a=n.argumentAxis.pan||n.valueAxis.pan,l=n.argumentAxis.zoom||n.valueAxis.zoom,c=(0,i.isDefined)(n.panKey)&&e[(0,r.normalizeEnum)(n.panKey)+"Key"],d=n.dragToZoom;let h;if(e._cancelPreventDefault=!0,o){if(n.allowTouchGestures&&a){h=!B.panningVisualRangeEnabled()||B.skipEvent?null:"pan"}}else d&&a&&c||!d&&a?h="pan":d&&l&&(h="zoom");const f=u(M(e),h);if(f.cancel)return B.skipEvent=!1,void(!1!==e.cancelable&&(e.cancel=!0));B.actionData=f,"zoom"===h?(f.startCoords=L(f.curAxisRect,e),f.rect=t.rect(0,0,0,0).attr(n.dragBoxStyle).append(t.root)):s(B,"pan",e)},dragHandler:function(t){const n=e.option("rotated"),i=B.options,o=B.actionData,r="touch"===t.pointerType;if(t._cancelPreventDefault=!0,o&&(!r||B.panningVisualRangeEnabled()))if("zoom"===o.action){I(t);const e=o.curAxisRect,r=o.startCoords,a=L(e,t),s=i.argumentAxis.zoom,l=i.valueAxis.zoom,c={x:x(r.x,a.x),y:x(r.y,a.y),width:S(r.x-a.x),height:S(r.y-a.y)};s&&l||(!s&&!n||!l&&n?(c.x=e.x,c.width=e.width):(c.y=e.y,c.height=e.height)),o.rect.attr(c)}else if("pan"===o.action){l(B,"pan",t,R,(e=>e.offset));const e=Math.abs(t.offset.y-o.offset.y),n=Math.abs(t.offset.x-o.offset.x);if(r&&(e>5&&e>Math.abs(o.offset.x)||n>5&&n>Math.abs(o.offset.y)))return;I(t)}},dragEndHandler:function(t){const n=e.option("rotated"),i=B.options,o=B.actionData,r="touch"===t.pointerType,a=e=>{let{translator:t,startCoord:n,curCoord:i}=e;return()=>[t.from(n),t.from(i)]},s=(e,t,n)=>({curCoord:e[n],startCoord:t[n]}),l=(e,t)=>e.zoom&&S(t.curCoord-t.startCoord)>5,u=o&&"pan"===o.action&&!o.fallback&&0===o.offset.x&&0===o.offset.y;if(o&&(!r||B.panningVisualRangeEnabled())&&!u){if(!r&&I(t),"zoom"===o.action){const r=L(o.curAxisRect,t),c=s(r,o.startCoords,n?"y":"x"),u=s(r,o.startCoords,n?"x":"y"),d=l(i.argumentAxis,c)&&k(t,e._argumentAxes,a,!0,c,e.getArgumentAxis());(l(i.valueAxis,u)&&k(t,o.valueAxes,a,!0,u)||d)&&e._requestChange(["VISUAL_RANGE"]),o.rect.dispose()}else"pan"===o.action&&c(B,"pan",t,R);B.actionData=null}},pinchStartHandler:function(e){const t=u(P(e),"zoom");t.cancel?D(e):(B.actionData=t,s(B,"zoom",e))},pinchHandler:function(e){B.actionData&&(l(B,"zoom",e,((e,t,n,i)=>P(e)[n]-t.center[n]+(t.center[n]-t.center[n]*i)),P),I(e))},pinchEndHandler:function(e){B.actionData&&(c(B,"zoom",e,((e,t,n,i)=>t.center[n]-t.startCenter[n]+(t.startCenter[n]-t.startCenter[n]*i))),B.actionData=null)},mouseWheelHandler:function(t){const n=B.options,i=e.option("rotated"),o=e=>{let{translator:t,coord:n,scale:i,axis:o}=e;return()=>{const e=t.zoom(-(n-n*i),i,o.getZoomBounds());return{startValue:e.min,endValue:e.max}}},r=M(t);let a,s=!1;if(n.valueAxis.zoom){if(a=e._valueAxes.filter((e=>E(w(e.getCanvas()),r))),0===a.length){const t=e._valueAxes.reduce(((e,t)=>(!e&&t.coordsIn(r.x,r.y)&&(e=t.getCanvas()),e)),null);t&&(a=e._valueAxes.filter((e=>E(w(e.getCanvas()),{x:t.left,y:t.top}))))}s|=k(t,a,o,t.delta>0,{coord:i?r.x:r.y})}if(n.argumentAxis.zoom){s|=e._argumentAxes.some((e=>!(!E(w(e.getCanvas()),r)&&!e.coordsIn(r.x,r.y))))&&k(t,e._argumentAxes,o,t.delta>0,{coord:i?r.y:r.x},e.getArgumentAxis())}s&&(e._requestChange(["VISUAL_RANGE"]),(a&&A(a)||!a&&B.panningVisualRangeEnabled())&&I(t))},cleanup:function(){t.root.off(d),B.actionData&&B.actionData.rect&&B.actionData.rect.dispose(),B.actionData=null,t.root.css({"touch-action":""})},setup:function(e){B.cleanup(),e.argumentAxis.pan||t.root.on(v,D),e.argumentAxis.none&&e.valueAxis.none||(B.options=e,(e.argumentAxis.zoom||e.valueAxis.zoom)&&e.allowMouseWheel&&t.root.on(a.name+d,B.mouseWheelHandler),(e.argumentAxis.zoom||e.valueAxis.zoom)&&e.allowTouchGestures&&t.root.on(g,{passive:!1},B.pinchStartHandler).on(_,{passive:!1},B.pinchHandler).on(m,B.pinchEndHandler),t.root.on(h,{immediate:!0,passive:!1},B.dragStartHandler).on(f,{immediate:!0,passive:!1},B.dragHandler).on(p,B.dragEndHandler),t.root.on(v,(function(e){B.actionData={valueAxes:[],offset:{x:0,y:0},center:{x:0,y:0}},I(e),s(B,"pan",e)})).on(b,(function(e){I(e),l(B,"pan",e,R,(e=>e.offset))})).on(y,(function(e){I(e),c(B,"pan",e,R),B.actionData=null})))},panningVisualRangeEnabled:function(){return A(e._valueAxes)||A(e._argumentAxes)}};this._zoomAndPan=B},members:{_setupZoomAndPan:function(){this._zoomAndPan.setup(this._themeManager.getOptions("zoomAndPan"))}},dispose:function(){this._zoomAndPan.cleanup()},customize:function(e){e.addChange({code:"ZOOM_AND_PAN",handler:function(){this._setupZoomAndPan()},isThemeDependent:!0,isOptionChange:!0,option:"zoomAndPan"})}};e.exports=t.default,e.exports.default=t.default},89463:function(e,t,n){t.default=void 0;var i,o=(i=n(59248))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},45647:function(e,t,n){t.ThemeManager=void 0;var i=n(17781),o=n(11528),r=n(52576),a=n(71671),s=n(28779);t.ThemeManager=a.BaseThemeManager.inherit(function(){const e=function(e){return e?((e=(0,r.extend)(!0,{},e)).title=(t=e.title,(0,o.isString)(t)?{text:t}:t),("logarithmic"===e.type&&e.logarithmBase<=0||e.logarithmBase&&!(0,o.isNumeric)(e.logarithmBase))&&(e.logarithmBase=void 0,e.logarithmBaseError=!0),e.label&&e.label.alignment&&(e.label.userAlignment=!0),e):{};var t},t=function(t,n,i){const a=this._theme,s=i^"valueAxis"===t?"verticalAxis":"horizontalAxis",l=e(n),c=e(this._userOptions.commonAxisSettings),u=(0,r.extend)(!0,{},a.commonAxisSettings,a[s],a[t],c,l);return u.workWeek=l.workWeek||a[t].workWeek,u.forceUserTickInterval|=(0,o.isDefined)(l.tickInterval)&&!(0,o.isDefined)(l.axisDivisionFactor),u},n=function(e,t){t=t||this._userOptions[e];const n=this._theme[e];let i=this._mergedSettings[e];return i||(i=(0,o.isPlainObject)(n)&&(0,o.isPlainObject)(t)?(0,r.extend)(!0,{},n,t):(0,o.isDefined)(t)?t:n,this._mergedSettings[e]=i,i)},a={base:n,argumentAxis:t,valueAxisRangeSelector:function(){return n.call(this,"valueAxis")},valueAxis:t,series:function(e,t,n){const i=this,o=i._theme;let l=i._userOptions.commonSeriesSettings||{};const c=o.commonSeriesSettings,u=i._themeSection.split(".").slice(-1)[0],d=(0,s.normalizeEnum)(t.type||l.type||c.type||"pie"===u&&o.type),h=i.palette,f=~d.indexOf("bar"),p=~d.indexOf("line"),g=~d.indexOf("area"),_="bubble"===d;let m;const v=i.getOptions("resolveLabelsOverlapping"),b=i.getOptions("containerBackgroundColor"),y=a.seriesTemplate.call(this);let x;(f||_)&&(x=(t=(0,r.extend)(!0,{},l,l[d],t)).visible,l={type:{}},(0,r.extend)(!0,t,t.point),t.visible=x);const C=(0,r.extend)(!0,{aggregation:{}},c,c[d],l,l[d],t);return C.aggregation.enabled="chart"===u&&!!C.aggregation.enabled,C.type=d,C.widgetType=u,C.containerBackgroundColor=b,m="pie"!==u?(0,s.extractColor)(C.color,!0)||h.getNextColor(n):function(e,t,n){const o=`${e}-${t}`;return i._multiPieColors[o]||(i._multiPieColors[o]=h.getNextColor(n)),i._multiPieColors[o]},C.mainSeriesColor=m,C.resolveLabelsOverlapping=v,C.label&&(p||g&&"rangearea"!==d||"scatter"===d)&&(C.label.position="outside"),y&&(C.nameField=y.nameField),C},animation:function(e){let t=this._userOptions[e];return t=(0,o.isPlainObject)(t)?t:(0,o.isDefined)(t)?{enabled:!!t}:{},n.call(this,e,t)},seriesTemplate(){const e=n.call(this,"seriesTemplate");return e&&(e.nameField=e.nameField||"series"),e},zoomAndPan(){function e(e){const t="pan"===(e=(0,s.normalizeEnum)(e))||"both"===e,n="zoom"===e||"both"===e;return{pan:t,zoom:n,none:!t&&!n}}const t=n.call(this,"zoomAndPan");return{valueAxis:e(t.valueAxis),argumentAxis:e(t.argumentAxis),dragToZoom:!!t.dragToZoom,dragBoxStyle:{class:"dxc-shutter",fill:t.dragBoxStyle.color,opacity:t.dragBoxStyle.opacity},panKey:t.panKey,allowMouseWheel:!!t.allowMouseWheel,allowTouchGestures:!!t.allowTouchGestures}}};return{_themeSection:"chart",ctor:function(e){const t=this;t.callBase.apply(t,arguments);const n=e.options||{};t._userOptions=n,t._mergeAxisTitleOptions=[],t._multiPieColors={},t._callback=i.noop},dispose:function(){const e=this;return e.palette&&e.palette.dispose(),e.palette=e._userOptions=e._mergedSettings=e._multiPieColors=null,e.callBase.apply(e,arguments)},resetPalette:function(){this.palette.reset(),this._multiPieColors={}},getOptions:function(e){return(a[e]||a.base).apply(this,arguments)},refresh:function(){return this._mergedSettings={},this.callBase.apply(this,arguments)},_initializeTheme:function(){const e=this;e.callBase.apply(e,arguments),e.updatePalette()},resetOptions:function(e){this._mergedSettings[e]=null},update:function(e){this._userOptions=e},updatePalette:function(){const e=this;e.palette=e.createPalette(e.getOptions("palette"),{useHighlight:!0,extensionMode:e.getOptions("paletteExtensionMode")})}}}())},7377:function(e,t){t.default=void 0;t.default={events:{mouseover:"mouseover",mouseout:"mouseout",mousemove:"mousemove",touchstart:"touchstart",touchmove:"touchmove",touchend:"touchend",mousedown:"mousedown",mouseup:"mouseup",click:"click",selectSeries:"selectseries",deselectSeries:"deselectseries",selectPoint:"selectpoint",deselectPoint:"deselectpoint",showPointTooltip:"showpointtooltip",hidePointTooltip:"hidepointtooltip"},states:{hover:"hover",normal:"normal",selection:"selection",normalMark:0,hoverMark:1,selectedMark:2,applyHover:"applyHover",applySelected:"applySelected",resetItem:"resetItem"},radialLabelIndent:30,pieLabelSpacing:10,pieSeriesSpacing:4};e.exports=t.default,e.exports.default=t.default},39104:function(e,t,n){t.validateData=function(e,t,n,o){e=function(e,t){const n=[],o=(0,i.isDefined)(e);let r,a,s,l,c=o&&!m(e);if(o&&!c)for(r=0,a=e.length,s=0;r<a;++r)l=e[r],(0,i.isObject)(l)?n[s++]=l:l&&(c=!0);c&&t("E2001");return n}(e,n),t.argumentType=t.argumentAxisType=null,a=t.groups,void a.forEach((function(e){e.valueType=e.valueAxisType=null,e.series.forEach((function(e){e.updateDataType({})})),e.valueAxis&&e.valueAxis.resetTypes(p)})),r=t.argumentAxes,void(r&&r.forEach((function(e){e.resetTypes(g)}))),function(e,t,n){const i=[],o=[],r=t.argumentOptions&&_(t.argumentOptions.argumentType);let a;t.groups.forEach((function(e){if(!e.series.length)return;const n=e.valueOptions&&_(e.valueOptions.valueType);e.valueType=n,t.argumentType=r,!n&&i.push(e),!r&&o.push(e)})),(i.length||o.length)&&(a=i.map((function(e,t){return t})),e.some((function(e){let r;if(i.forEach((function(t,n){(function(e,t){return e.series.forEach((function(n){n.getValueFields().forEach((function(n){e.valueType=x(t[n],e.valueType)}))})),e.valueType})(t,e)&&a.indexOf(n)>=0&&a.splice(n,1)})),r||o.forEach((function(n){r=function(e,t,n){return e.forEach((function(e){n.argumentType=x(t[e.getArgumentField()],n.argumentType)})),n.argumentType}(n.series,e,t)})),!n&&r&&0===a.length)return!0})))}(e,t,o.checkTypeForAllData),function(e,t){const n=e.argumentOptions||{},i=n&&n.categories||[],o=C(e.argumentType,n.type,!!i.length,t);e.groups.forEach((function(n){const i=n.valueOptions||{},r=i.categories||[],a=C(n.valueType,i.type,!!r.length,t);n.series.forEach((function(t){const r={};r.argumentAxisType=o,r.valueAxisType=a,e.argumentAxisType=e.argumentAxisType||r.argumentAxisType,n.valueAxisType=n.valueAxisType||r.valueAxisType,r.argumentType=e.argumentType,r.valueType=n.valueType,r.showZero=i.showZero,t.updateDataType(r)})),n.valueAxisType=n.valueAxisType||a,n.valueAxis&&(n.valueAxis.setTypes(n.valueAxisType,n.valueType,p),n.valueAxis.validate())})),e.argumentAxisType=e.argumentAxisType||o,e.argumentAxes&&e.argumentAxes.forEach((function(t){t.setTypes(e.argumentAxisType,e.argumentType,g),t.validate()}))}(t,n),o.convertToAxisDataType&&(e=function(e,t){const n=[];let i;const o=e.length;for(n.length=o,i=0;i<o;++i)n[i]=w(e[i],t);return n}(e,function(e,t){const n=S(e.argumentType,e.argumentAxisType,t);let i,o;const r=[n],a={},s=[];e.groups.forEach((function(e,s){e.series.forEach((function(c){o=S(e.valueType,e.valueAxisType,t),i=S(l,h,t),a[c.getArgumentField()]=n,c.getValueFields().forEach((function(e){r[s+1]=o,a[e]=o})),c.getSizeField()&&(a[c.getSizeField()]=i)}))}));for(const e in a)s.push([e,a[e]]);return s.length&&function(e,t){const n=e.argumentOptions&&e.argumentOptions.categories;e.groups.forEach((function(e,n){const i=e.valueOptions&&e.valueOptions.categories;i&&(e.valueOptions.categories=b(i,t[n+1]))})),n&&(e.argumentOptions.categories=b(n,t[0]))}(e,r),s}(t,n)));var r;var a;!function(e,t){const n=t.groups[0]&&t.groups[0].series[0];if(!n||"pie"!==n.type&&"doughnut"!==n.type&&"donut"!==n.type)return;t.groups.forEach((function(t){t.series.forEach((function(t){!function(e,t,n,o){const r=(o=o||{}).mode,a={};if(!r||"none"===r)return;a[t]=String(o.groupName||"others"),a[n]=0;const s=v(e.slice(),!1,(function(e){return e[n]}));(function(e,t,n,o){o>=0&&e.slice(o).forEach((function(e){(0,i.isDefined)(e[n])&&(t[n]+=e[n],e[n]=void 0)}))})(s,a,n,"smallValueThreshold"===r?function(e,t,n){let o;const r=e.length;let a;for(o=0;o<r&&(a=e[o][t],!((0,i.isDefined)(a)&&n>a));++o);return o}(s,n,o.threshold):o.topCount),a[n]&&e.push(a)}(e,t.getArgumentField(),t.getValueFields()[0],t.getOptions().smallValuesGrouping)}))}))}(e,t);return function(e,t,n,o){const r={},a=t.argumentAxisType===u,l=a&&t.argumentOptions&&t.argumentOptions.categories;let c=function(e){return e};const d=n.sortingMethod;let h;!l&&(0,i.isFunction)(d)&&(e=function(e,t){return e.slice().sort(t)}(e,d));a&&(t.categories=function(e,t,n){const o=n?n.slice():[],r=new Set(o.map((e=>e.valueOf())));return t.forEach((function(t){e.forEach((function(e){const n=e[t];if(!(0,i.isDefined)(n))return;const a=n.valueOf();r.has(a)||(o.push(n),r.add(a))}))})),o}(e,o,l));l||!(0,i.isFunction)(d)&&t.argumentType===s&&!n._skipArgumentSorting?c=function(e){const t={};return e.forEach((function(e,n){t[e]=n})),function(e,n){return v(e.slice(),!0,(function(e){return t[e[n]]}))}}(t.categories):!0===d&&t.argumentType!==s&&(c=T,h=a);o.forEach((function(t){r[t]=c(e,t)})),h&&(t.categories=t.categories.sort(E));return r}(e,t,o,function(e){const t=[],n={};return e.groups.forEach((function(e){e.series.forEach((function(e){var i,o,r;i=e.getArgumentField(),o=t,(r=n)[i]||(o.push(i),r[i]=!0)}))})),t}(t))};var i=n(11528),o=n(52576),r=n(28779),a=n(60976);const s="string",l="numeric",c="datetime",u="discrete",d="semidiscrete",h="continuous",f="logarithmic",p="valueType",g="argumentType",_=(0,r.enumParser)([s,l,c]),m=Array.isArray;function v(e,t,n){const o=t?function(e,t){return e-t}:function(e,t){return t-e};return e.sort((function(e,t){const r=n(e),a=n(t),s=(0,i.isDefined)(r)?1:0,l=(0,i.isDefined)(a)?1:0;return s&&l?o(r,a):o(s,l)})),e}function b(e,t){const n=[];return e.forEach((function(e){const i=t(e);void 0!==i&&n.push(i)})),n}function y(e){return e}function x(e,t){let n=t;return t===s||(0,i.isString)(e)?n=s:t===c||(0,i.isDate)(e)?n=c:(0,i.isNumeric)(e)&&(n=l),n}function C(e,t,n,i){return e!==s||t!==h&&t!==f&&t!==d||i("E2002"),t===f?f:n||t===u||e===s?u:t===d?d:h}function S(e,t,n){const o=e?(0,a.getParser)(e):y,r=t!==u?function(e){return isFinite(e)||void 0===e?e:null}:y;return function(e,t){const a=r(o(e));return void 0===a&&function(e,t,n){e&&n((0,i.isNumeric)(e)||(0,i.isDate)(e)||(0,i.isString)(e)?"E2004":"E2003",[t])}(e,t,n),a}}function w(e,t){let n;const i=t.length,r=(0,o.extend)({},e);let a,s;for(n=0;n<i;++n)a=t[n][0],s=e[a],r[a]=t[n][1](s,a);return r}function E(e,t){const n=e-t;return isNaN(n)?(0,i.isDefined)(e)?(0,i.isDefined)(t)?0:-1:1:n}function T(e,t){return e.slice().sort((function(e,n){return E(e[t],n[t])}))}},67056:function(e,t,n){t.plugin=t.Legend=void 0;var i=n(28779),o=n(52576),r=n(77461),a=n(11528),s=n(16216),l=n(22263),c=n(17781),u=n(63022),d=n(87739);const h=Number,f=Math,p=f.round,g=f.max,_=f.min,m=f.ceil,v=a.isDefined,b=a.isFunction,y=i.enumParser,x=i.normalizeEnum,C=o.extend,S="center",w="right",E="left",T="top",A="bottom",O="horizontal",k="vertical",D="inside",L="outside",P="none",M="height",R="width",I=y([E,S,w]),B=y([T,A]),V=y([k,O]),F=y([E,w,T,A]),H=y([L,D]),N=y([E,S,w]);function z(e,t,n){if(!e)return;const i=e.fill;return(0,o.extend)({},{state:n,fill:i===P?t:i,opacity:e.opacity,filter:e.filter,hatching:C({},e.hatching,{step:5,width:2})})}function j(e,t,n){const i=(0,u.processHatchingAttrs)(e,t);return i.fill&&0===i.fill.indexOf("DevExpress")&&(i.fill=(0,u.getFuncIri)(i.fill)),i.opacity=i.opacity>=0?i.opacity:1,(0,o.extend)({},i,{size:n})}function G(e,t,n,i){const o=t&&n[t[e]];o&&o.renderMarker(o.states[i])}function Z(e,t,n){return e?(function(e){let t=e.margin;t>=0?(t=h(e.margin),t={top:t,bottom:t,left:t,right:t}):t={top:t.top>=0?h(t.top):10,bottom:t.bottom>=0?h(t.bottom):10,left:t.left>=0?h(t.left):10,right:t.right>=0?h(t.right):10},e.margin=t}(e),e.horizontalAlignment=I(e.horizontalAlignment,w),e.verticalAlignment=B(e.verticalAlignment,e.horizontalAlignment===S?A:T),e.orientation=V(e.orientation,e.horizontalAlignment===S?O:k),e.itemTextPosition=F(e.itemTextPosition,e.orientation===O?A:w),e.position=n?H(e.position,L):L,e.itemsAlignment=N(e.itemsAlignment,null),e.hoverMode=x(e.hoverMode),e.customizeText=b(e.customizeText)?e.customizeText:function(){return this[t]},e.customizeHint=b(e.customizeHint)?e.customizeHint:c.noop,e._incidentOccurred=e._incidentOccurred||c.noop,e):null}function W(e,t){return e.rect(0,0,t,t)}function U(e,t){return e.circle(t/2,t/2,t/2)}function $(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}function Y(e,t,n,i){const o={x:0,y:0};let r=0,a=0,s=0;if(s="y"===t.direction?i.top+i.bottom:i.left+i.right,e.forEach((function(e,n){const i=e[0],s=e.length;e.forEach((function(e,n){const i=e.offset||t.spacing;o[t.direction]+=e[t.measure]+(n!==s-1?i:0),r=g(r,o[t.direction])})),o[t.direction]=0,o[t.altDirection]+=i[t.altMeasure]+i.altOffset||t.altSpacing,a=g(a,o[t.altDirection])})),r+s>t.length)return t.countItem=function(e,t){return e.altCountItem++,m(t/e.altCountItem)}(t,n),!0}function K(e,t){return e.reduce(((e,n)=>{const i=n.offset||t.spacing;return e+n[t.measure]+i}),0)}function q(e){switch(e.itemTextPosition){case A:return{horizontal:S,vertical:T};case T:return{horizontal:S,vertical:A};case E:return{horizontal:w,vertical:S};case w:return{horizontal:E,vertical:S}}}function X(e,t){const n=e.reduce(((e,n)=>{const i=n?n[t]:e;return g(e,i)}),0);e.forEach((e=>{e&&(e[t]=n)}))}function J(e){const t=e.length,n=e[0].length;let i,o;const r=[];for(i=0;i<n;i++)for(r[i]=[],o=0;o<t;o++)r[i][o]=e[o][i];return r}let Q=function(e){return function(e){return"circle"===x(e)}(e)?U:W};let ee=function(e){const t=this;t._renderer=e.renderer,t._legendGroup=e.group,t._backgroundClass=e.backgroundClass,t._itemGroupClass=e.itemGroupClass,t._textField=e.textField,t._getCustomizeObject=e.getFormatObject,t._titleGroupClass=e.titleGroupClass,t._allowInsidePosition=e.allowInsidePosition,t._widget=e.widget,t._updated=!1};t.Legend=ee;const te=ee,ne=te.prototype=(0,l.clone)(r.LayoutElement.prototype);(0,o.extend)(ne,{constructor:te,getOptions:function(){return this._options},update:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this;t=i._options=Z(t,i._textField,i._allowInsidePosition)||{};const o=t.markerSize;var r;(this._updated=!0,this._data=e.map((e=>(e.size=h(e.size>0?e.size:o),e.marker=j(e,e.states.normal),Object.defineProperty(e.marker,"size",{get:()=>e.size,set(t){e.size=t}}),Object.defineProperty(e.marker,"opacity",{get:()=>e.states.normal.opacity,set(t){e.states.normal.opacity=e.states.hover.opacity=e.states.selection.opacity=t}}),e))),t.customizeItems&&(i._data=t.customizeItems(e.slice())||e),i._boundingRect={width:0,height:0,x:0,y:0},i.isVisible())&&(null===(r=i._title)||void 0===r||r.dispose(),i._title=new s.Title({renderer:i._renderer,cssClass:i._titleGroupClass,root:i._legendGroup}));if(i._title){const e=t.title;n.horizontalAlignment=function(e){return e.horizontalAlignment===S?S:e.itemTextPosition===w?E:e.itemTextPosition===E?w:S}(t),i._title.update(n,e)}return this.erase(),i},isVisible:function(){return this._options&&this._options.visible},draw:function(e,t){const n=this,i=n._getItemData();if(n.erase(),!(n.isVisible()&&i&&i.length))return n;if(n._insideLegendGroup=n._renderer.g().enableLinks().append(n._legendGroup),n._title.changeLink(n._insideLegendGroup),n._createBackground(),n._title.hasText()){const i=n._background?2*n._options.paddingLeftRight:0;n._title.draw(e-i,t)}return n._markersGroup=n._renderer.g().attr({class:n._itemGroupClass}).append(n._insideLegendGroup),n._createItems(i),n._updateElementsPosition(e,t),n},_measureElements:function(){const e=this._options;let t=0;this._items.forEach((n=>{const i=n.label.getBBox(),o=n.marker.getBBox();n.markerBBox=o,n.markerSize=Math.max(o.width,o.height);const r=function(e,t,n){let i,o;switch(e.itemTextPosition){case E:case w:i=t.width+7+n.width,o=g(t.height,n.height);break;case T:case A:i=g(t.width,n.width),o=t.height+4+n.height}return{width:i,height:o}}(e,o,i);n.labelBBox=i,n.bBox=r,t=g(t,r.height)})),e.equalRowHeight&&this._items.forEach((e=>e.bBox.height=t))},_updateElementsPosition:function(e,t){const n=this,i=n._options;this._size={width:e,height:t},n._measureElements(),n._locateElements(i),n._finalUpdate(i);const o=n.getLayoutOptions();(o.width>e||o.height>t)&&n.freeSpace()},_createItems:function(e){const t=this,n=t._options,r=t._renderer,a=Q(n.markerShape);t._markersId={};const s=n.markerTemplate?n.markerTemplate:(e,t)=>{const n=e.marker;a(r,n.size).attr({fill:n.fill,opacity:n.opacity,filter:n.filter}).append({element:t})},l=t._widget._getTemplate(s),c=t._markersGroup;c.css((0,i.patchFontOptions)(n.font)),t._deferredItems=[],t._templatesGroups=[],t._items=(e||[]).map(((e,i)=>{const a=e.states,s=a.normal,u=s.fill;e.size=e.marker.size;const h={normal:(0,o.extend)(s,{fill:u||n.markerColor||n.defaultColor,state:"normal"}),hover:z(a.hover,u,"hovered"),selection:z(a.selection,u,"selected")};e.states=h;const f=r.g().append(c),p=r.g().attr({class:"dxl-marker"}).append(f);t._deferredItems[i]=new d.Deferred,t._templatesGroups.push(p);const g={label:t._createLabel(e,f),marker:p,renderer:r,group:f,tracker:{id:e.id,argument:e.argument,argumentIndex:e.argumentIndex},states:h,itemTextPosition:n.itemTextPosition,markerOffset:0,bBoxes:[],renderMarker(n){e.marker=j(g,n,e.size),p.clear(),l.render({model:e,container:p.element,onRendered:t._deferredItems[i].resolve})}};return g.renderMarker(h.normal),t._createHint(e,f),void 0!==e.id&&(t._markersId[e.id]=i),g}))},getTemplatesGroups:function(){return this._templatesGroups||[]},getTemplatesDef:function(){return this._deferredItems||[]},_getItemData:function(){let e=this._data||[];return(this._options||{}).inverted&&(e=e.slice().reverse()),e.filter((e=>e.visible))},_finalUpdate:function(e){this._adjustBackgroundSettings(e),this._setBoundingRect(e.margin)},erase:function(){const e=this,t=e._insideLegendGroup;return t&&t.dispose(),e._insideLegendGroup=e._markersGroup=e._x1=e._x2=e._y2=e._y2=null,e},_locateElements:function(e){this._moveInInitialValues(),this._locateRowsColumns(e)},_moveInInitialValues:function(){const e=this;e._title.hasText()&&e._title.move([0,0]),e._legendGroup&&e._legendGroup.move(0,0),e._background&&e._background.attr({x:0,y:0,width:0,height:0})},applySelected:function(e){return G(e,this._markersId,this._items,"selection"),this},applyHover:function(e){return G(e,this._markersId,this._items,"hover"),this},resetItem:function(e){return G(e,this._markersId,this._items,"normal"),this},_createLabel:function(e,t){const n=this._getCustomizeObject(e),o=this._options,r=function(e){switch(e){case T:case A:return S;case E:return w;case w:return E}}(o.itemTextPosition),a=o.customizeText.call(n,n),s=v(e.textOpacity)?{color:o.font.color,opacity:e.textOpacity}:{};return this._renderer.text(a,0,0).css((0,i.patchFontOptions)(s)).attr({align:r,class:o.cssClass}).append(t)},_createHint:function(e,t){const n=this._getCustomizeObject(e),i=this._options.customizeHint.call(n,n);v(i)&&""!==i&&t.setTitle(i)},_createBackground:function(){const e=this,t=e._options.position===D,n=e._options.backgroundColor,i=n||(t?e._options.containerBackgroundColor:P);(e._options.border.visible||(t||n)&&n!==P)&&(e._background=e._renderer.rect(0,0,0,0).attr({fill:i,class:e._backgroundClass}).append(e._insideLegendGroup))},_locateRowsColumns:function(e){const t=this;let n=0;const i=t._getItemsLayoutOptions(),o=t._items.length;let r;do{r=[],t._createLines(r,i),t._alignLines(r,i),n++}while(Y(r,i,o,e.margin)&&n<o);t._applyItemPosition(r,i)},_createLines:function(e,t){this._items.forEach(((n,i)=>{const o=function(e,t,n){const i={};return n%t.countItem==0&&(t.markerOffset?e.push([],[]):e.push([])),t.markerOffset?(i.firstLine=e[e.length-1],i.secondLine=e[e.length-2]):i.firstLine=i.secondLine=e[e.length-1],i}(e,t,i),r={width:n.labelBBox.width,height:n.labelBBox.height,element:n.label,bBox:n.labelBBox,pos:q(t),itemIndex:i},a={width:n.markerBBox.width,height:n.markerBBox.height,element:n.marker,pos:{horizontal:S,vertical:S},bBox:{width:n.markerBBox.width,height:n.markerBBox.height,x:n.markerBBox.x,y:n.markerBBox.y},itemIndex:i};let s,l;const c=t.markerOffset?"altOffset":"offset";t.inverseLabelPosition?(s=r,l=a):(s=a,l=r),s[c]=t.labelOffset,o.secondLine.push(s),o.firstLine.push(l)}))},_alignLines:function(e,t){let n,i=t.altMeasure;if(e.forEach((e=>X(e,i))),i=t.measure,t.itemsAlignment){if(t.markerOffset)for(n=0;n<e.length;)J([e[n++],e[n++]]).forEach(o)}else J(e).forEach(o);function o(e){X(e,i)}},_applyItemPosition:function(e,t){const n=this,i={x:0,y:0},o=function(e,t){return e.reduce(((e,n)=>g(e,K(n,t))),0)}(e,t);e.forEach((e=>{const a=e[0],s=a.altOffset||t.altSpacing;i[t.direction]=function(e,t,n){const i=K(e,t);let o;switch(t.itemsAlignment){case w:o=n-i;break;case S:o=(n-i)/2;break;default:o=0}return o}(e,t,o),e.forEach((e=>{const o=e.offset||t.spacing,a=new r.WrapperLayoutElement(e.element,e.bBox),s={x:i.x,y:i.y,width:e.width,height:e.height},l=new r.WrapperLayoutElement(null,s),c=n._items[e.itemIndex];a.position({of:l,my:e.pos,at:e.pos}),c.bBoxes.push(l),i[t.direction]+=e[t.measure]+o})),i[t.altDirection]+=a[t.altMeasure]+s})),this._items.forEach((e=>{const t=function(e,t){const n={};return n.left=_(e.x,t.x),n.top=_(e.y,t.y),n.right=g(e.x+e.width,t.x+t.width),n.bottom=g(e.y+e.height,t.y+t.height),n}(e.bBoxes[0].getLayoutOptions(),e.bBoxes[1].getLayoutOptions()),i=n._options.columnItemSpacing/2,o=n._options.rowItemSpacing/2;e.tracker.left=t.left-i,e.tracker.right=t.right+i,e.tracker.top=t.top-o,e.tracker.bottom=t.bottom+o}))},_getItemsLayoutOptions:function(){const e=this,t=e._options,n=t.orientation,i={itemsAlignment:t.itemsAlignment,orientation:t.orientation},o=e._size.width-(e._background?2*t.paddingLeftRight:0),r=e._size.height-(e._background?2*t.paddingTopBottom:0);return n===O?(i.length=o,i.spacing=t.columnItemSpacing,i.direction="x",i.measure=R,i.altMeasure=M,i.altDirection="y",i.altSpacing=t.rowItemSpacing,i.countItem=t.columnCount,i.altCountItem=t.rowCount,i.marginTextLabel=4,i.labelOffset=7,t.itemTextPosition!==A&&t.itemTextPosition!==T||(i.labelOffset=4,i.markerOffset=!0)):(i.length=r,i.spacing=t.rowItemSpacing,i.direction="y",i.measure=M,i.altMeasure=R,i.altDirection="x",i.altSpacing=t.columnItemSpacing,i.countItem=t.rowCount,i.altCountItem=t.columnCount,i.marginTextLabel=7,i.labelOffset=4,t.itemTextPosition!==w&&t.itemTextPosition!==E||(i.labelOffset=7,i.markerOffset=!0)),i.countItem||(i.altCountItem?i.countItem=m(e._items.length/i.altCountItem):i.countItem=e._items.length),t.itemTextPosition!==T&&t.itemTextPosition!==E||(i.inverseLabelPosition=!0),i.itemTextPosition=t.itemTextPosition,i.altCountItem=i.altCountItem||m(e._items.length/i.countItem),i},_adjustBackgroundSettings:function(e){if(!this._background)return;const t=e.border,n=this._calculateTotalBox(),i={x:p(n.x-e.paddingLeftRight),y:p(n.y-e.paddingTopBottom),width:p(n.width)+2*e.paddingLeftRight,height:p(n.height),opacity:e.backgroundOpacity};t.visible&&t.width&&t.color&&t.color!==P&&(i["stroke-width"]=t.width,i.stroke=t.color,i["stroke-opacity"]=t.opacity,i.dashStyle=t.dashStyle,i.rx=t.cornerRadius||0,i.ry=t.cornerRadius||0),this._background.attr(i)},_setBoundingRect:function(e){if(!this._insideLegendGroup)return;const t=this._calculateTotalBox();t.height+=e.top+e.bottom,t.widthWithoutMargins=t.width,t.width+=e.left+e.right,t.x-=e.left,t.y-=e.top,this._boundingRect=t},_calculateTotalBox:function(){const e=this._markersGroup.getBBox(),t=this._title.getCorrectedLayoutOptions(),n=this._insideLegendGroup.getBBox(),i=this._background?2*this._options.paddingTopBottom:0;return n.height=e.height+t.height+i,t.width>n.width&&(n.width=t.width),n},getActionCallback:function(e){const t=this;return t._options.visible?function(n){t[n](e.index)}:c.noop},getLayoutOptions:function(){const e=this._options,t=this._insideLegendGroup?this._boundingRect:{width:0,height:0,x:0,y:0};return e?(t.verticalAlignment=e.verticalAlignment,t.horizontalAlignment=e.horizontalAlignment,e.orientation===O||e.horizontalAlignment===S?(t.cutLayoutSide=e.verticalAlignment,t.cutSide="vertical"):(t.cutLayoutSide=e.horizontalAlignment,t.cutSide="horizontal"),t.position={horizontal:e.horizontalAlignment,vertical:e.verticalAlignment},t):null},shift:function(e,t){const n=this;let i={};return n._insideLegendGroup&&n._insideLegendGroup.attr({translateX:e-n._boundingRect.x,translateY:t-n._boundingRect.y}),n._title&&n._shiftTitle(n._boundingRect.widthWithoutMargins),n._markersGroup&&n._shiftMarkers(),n._insideLegendGroup&&(i=n._legendGroup.getBBox()),n._x1=i.x,n._y1=i.y,n._x2=i.x+i.width,n._y2=i.y+i.height,n},_shiftTitle:function(e){const t=this,n=t._title,i=n.getCorrectedLayoutOptions();if(!i||!n.hasText())return;const o=e-(t._background?2*t._options.paddingLeftRight:0),r=n.getOptions();let a=i.y+r.margin.top,s=0;r.verticalAlignment===A&&t._markersGroup&&(a+=t._markersGroup.getBBox().height),r.horizontalAlignment===w?s=o-i.width:r.horizontalAlignment===S&&(s=(o-i.width)/2),n.shift(s,a)},_shiftMarkers:function(){const e=this._title.getLayoutOptions(),t=this._markersGroup.getBBox(),n=this._title.getOptions()||{};let i=0,o=0;e.width>t.width&&this._options.horizontalAlignment===S&&(i=e.width/2-t.width/2),n.verticalAlignment===T&&(o=e.height),0===i&&0===o||(this._markersGroup.attr({translateX:i,translateY:o}),this._items.forEach((e=>{e.tracker.left+=i,e.tracker.right+=i,e.tracker.top+=o,e.tracker.bottom+=o})))},getPosition:function(){return this._options.position},coordsIn:function(e,t){return e>=this._x1&&e<=this._x2&&t>=this._y1&&t<=this._y2},getItemByCoord:function(e,t){const n=this._items,i=this._insideLegendGroup;e-=i.attr("translateX"),t-=i.attr("translateY");for(let i=0;i<n.length;i++)if($(n[i].tracker,e,t))return n[i].tracker;return null},dispose:function(){const e=this;return e._title&&e._title.dispose(),e._legendGroup=e._insideLegendGroup=e._title=e._renderer=e._options=e._data=e._items=null,e},layoutOptions:function(){if(!this.isVisible())return null;const e=this.getLayoutOptions();return{horizontalAlignment:this._options.horizontalAlignment,verticalAlignment:this._options.verticalAlignment,side:e.cutSide,priority:1,position:this.getPosition()}},measure:function(e){this._updated||!this._insideLegendGroup?(this.draw(e[0],e[1]),this._updated=!1):(this._items.forEach((e=>{e.bBoxes=[]})),this._updateElementsPosition(e[0],e[1]));const t=this.getLayoutOptions();return[t.width,t.height]},move:function(e){this.shift(e[0],e[1])},freeSpace:function(){this._options._incidentOccurred("W2104"),this.erase()}});t.plugin={name:"legend",init:function(){const e=this,t=this._renderer.g().attr({class:this._rootClassPrefix+"-legend"}).enableLinks().append(e._renderer.root);e._legend=new ee({renderer:e._renderer,group:t,widget:this,itemGroupClass:this._rootClassPrefix+"-item",titleGroupClass:this._rootClassPrefix+"-title",textField:"text",getFormatObject:function(e){return{item:e.item,text:e.text}}}),e._layout.add(e._legend)},extenders:{_applyTilesAppearance:function(){const e=this;this._items.forEach((function(t){e._applyLegendItemStyle(t.id,t.getState())}))},_buildNodes:function(){this._createLegendItems()}},members:{_applyLegendItemStyle:function(e,t){const n=this._legend;switch(t){case"hover":n.applyHover(e);break;case"selection":n.applySelected(e);break;default:n.resetItem(e)}},_createLegendItems:function(){this._legend.update(this._getLegendData(),this._getOption("legend"),this._themeManager.theme("legend").title)&&this._requestChange(["LAYOUT"])}},dispose:function(){this._legend.dispose()},customize:function(e){e.prototype._proxyData.push((function(e,t){if(this._legend.coordsIn(e,t)){const n=this._legend.getItemByCoord(e,t);if(n)return{id:n.id,type:"legend"}}})),e.addChange({code:"LEGEND",handler:function(){this._createLegendItems()},isThemeDependent:!0,option:"legend",isOptionChange:!0})}}},60976:function(e,t,n){t.correctValueType=l,t.getParser=void 0;var i,o=n(17781),r=(i=n(71051))&&i.__esModule?i:{default:i},a=n(11528);const s={string:function(e){return(0,a.isDefined)(e)?""+e:e},numeric:function(e){if(!(0,a.isDefined)(e))return e;let t=Number(e);return isNaN(t)&&(t=void 0),t},datetime:function(e){if(!(0,a.isDefined)(e))return e;let t;const n=Number(e);return t=isNaN(n)?r.default.deserializeDate(e):new Date(n),isNaN(Number(t))&&(t=void 0),t}};function l(e){return"numeric"===e||"datetime"===e||"string"===e?e:""}t.getParser=function(e){return s[l(e)]||o.noop}},16197:function(e,t,n){t.Tracker=d;var i=n(98834),o=l(n(64960)),r=n(64044),a=l(n(89797)),s=l(n(92774));function l(e){return e&&e.__esModule?e:{default:e}}const c=a.default.down,u=a.default.move;function d(e){this._initHandlers(e)}d.prototype={constructor:d,_initHandlers:function(e){const t=o.default.getDocument();function n(t){!function(e,t){const n=t.getData(e);n>=0&&t.click({node:t.getNode(n),coords:t.getCoords(e),event:e})}(t,e)}e.getCoords=function(t){const n=(0,i.eventData)(t),o=e.widget._renderer.getRootOffset();return[n.x-o.left,n.y-o.top]},e.root.on(r.name,n),e.root.on(c,l),s.default.on(t,c,l),s.default.on(t,u,d),this._disposeHandlers=function(){e.root.off(r.name,n),e.root.off(c,l),s.default.off(t,c,l),s.default.off(t,u,d)};let a=!1;function l(t){a?a=!1:(void 0!==e.getData(t)&&(a=!0),d(t))}function d(t){!function(e,t){const n=t.getData(e);n>=0?t.getNode(n).setHover():t.widget.clearHover()}(t,e),e.widget._getOption("tooltip").enabled&&function(e,t){const n=t.getData(e,!0);let o;n>=0?(o=(0,i.eventData)(e),t.getNode(n).showTooltip([o.x,o.y])):t.widget.hideTooltip()}(t,e)}},dispose:function(){this._disposeHandlers()}}},97808:function(e,t,n){t.plugins=t.createAnnotations=void 0;var i=f(n(64960)),o=n(11528),r=n(23277),a=n(52576),s=n(28779),l=n(87040),c=f(n(89797)),u=n(59144),d=n(98834),h=f(n(92774));function f(e){return e&&e.__esModule?e:{default:e}}const p=i.default.getDocument,g="annotations",_="."+g,m=(0,d.addNamespace)([c.default.down,c.default.move],g),v=(0,d.addNamespace)(c.default.up,g),b=u.start+_,y=u.move+_,x=u.end+_;function C(e){return"string"==typeof e?{url:e}:e}let S=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;const c=C(n.image);return t.reduce(((t,u)=>{const d=C(u.image),h=(0,o.isFunction)(i)?i(u):{};h&&(h.image=C(h.image));const f=(0,a.extend)(!0,{},n,u,{image:c},{image:d},h),p=function(e,t){let n;return"text"===e.type?n=function(e,n){const i=t._renderer.text(e.text).attr({class:e.cssClass}).append({element:n});(e.width>0||e.height>0)&&i.setMaxSize(e.width,e.height,{wordWrap:e.wordWrap,textOverflow:e.textOverflow})}:"image"===e.type?n=function(e,n){const{width:i,height:o,url:r,location:a}=e.image||{},{width:s,height:l}=e,c=s>0?Math.min(i,s):i,u=l>0?Math.min(o,l):o;t._renderer.image(0,0,c,u,r,a||"center").append({element:n})}:"custom"===e.type&&(n=e.template),n}(f,e),g=p&&(0,a.extend)(!0,r(f),function(e,t){return{draw:function(n,i){const o=n._renderer.g().append(i).css((0,s.patchFontOptions)(e.font));this.plaque&&this.plaque.clear(),this.plaque=new l.Plaque((0,a.extend)(!0,{},e,{cornerRadius:(e.border||{}).cornerRadius}),n,o,t,n._isAnnotationBounded(e)),this.plaque.draw(n._getAnnotationCoords(this)),e.allowDragging&&o.on(b,{immediate:!0},(e=>{this._dragOffsetX=this.plaque.x-e.pageX,this._dragOffsetY=this.plaque.y-e.pageY})).on(y,(e=>{this.plaque.move(e.pageX+this._dragOffsetX,e.pageY+this._dragOffsetY)})).on(x,(e=>{this.offsetX=(this.offsetX||0)+e.offset.x,this.offsetY=(this.offsetY||0)+e.offset.y}))},hitTest(e,t){return this.plaque.hitTest(e,t)},showTooltip(e,t){let{x:n,y:i}=t;const o=this,r=o.options;if(e.annotation!==o){e.setTemplate(r.tooltipTemplate);const t=t=>{t&&(e.annotation=o)};t(e.show(r,{x:n,y:i},{target:r},r.customizeTooltip,t))}else e.isCursorOnTooltip(n,i)||e.move(n,i)}}}(f,e._getTemplate(p)));return g&&t.push(g),t}),[])};t.createAnnotations=S;const w={name:"annotations_chart",init(){},dispose(){},members:{_getAnnotationCoords(e){var t,n;const i={offsetX:e.offsetX,offsetY:e.offsetY},r=this._options.silent("rotated")?"y":"x",a=this._options.silent("rotated")?"x":"y",s=this.getArgumentAxis(),l=s.validateUnit(e.argument);let c,u=this.getValueAxis(e.axis),d=null===(t=u)||void 0===t?void 0:t.pane;var h;e.series&&(c=this.series.filter((t=>t.name===e.series))[0],u=null===(h=c)||void 0===h?void 0:h.getValueAxis(),(0,o.isDefined)(u)&&(d=u.pane));if((0,o.isDefined)(l)){if(c){const e=c.getPointCenterByArg(l);e&&(i[r]=e[r])}else i[r]=s.getTranslator().translate(l);!(0,o.isDefined)(d)&&(d=s.pane)}const f=null===(n=u)||void 0===n?void 0:n.validateUnit(e.value);var p,g;(0,o.isDefined)(f)&&(i[a]=null===(p=u)||void 0===p?void 0:p.getTranslator().translate(f),!(0,o.isDefined)(d)&&(0,o.isDefined)(u)&&(d=u.pane));(i.canvas=this._getCanvasForPane(d),(0,o.isDefined)(i[r])&&!(0,o.isDefined)(f))&&((0,o.isDefined)(u)||(0,o.isDefined)(c)?(0,o.isDefined)(u)&&!(0,o.isDefined)(c)?i[a]=this._argumentAxes.filter((e=>e.pane===u.pane))[0].getAxisPosition():null!==(g=c)&&void 0!==g&&g.checkSeriesViewportCoord(s,i[r])&&(i[a]=c.getSeriesPairCoord(i[r],!0)):i[a]=s.getAxisPosition());return!(0,o.isDefined)(l)&&(0,o.isDefined)(i[a])&&((0,o.isDefined)(u)&&!(0,o.isDefined)(c)?i[r]=u.getAxisPosition():(0,o.isDefined)(c)&&c.checkSeriesViewportCoord(u,i[a])&&(i[r]=c.getSeriesPairCoord(i[a],!1))),i},_annotationsPointerEventHandler(e){if(this._disposed)return;const t=e.originalEvent||{},n=t.touches&&t.touches[0]||{},i=this._renderer.getRootOffset(),o={x:n.pageX||t.pageX||e.pageX,y:n.pageY||t.pageY||e.pageY},r=this._annotations.items.filter((e=>e.hitTest(o.x-i.left,o.y-i.top)))[0];r&&r.options.tooltipEnabled?(this._clear(),r.options.allowDragging&&e.type===c.default.down&&(this._annotations._hideToolTipForDrag=!0),this._annotations._hideToolTipForDrag||(r.showTooltip(this._annotations.tooltip,o),e.stopPropagation())):this._annotations.hideTooltip()},_isAnnotationBounded:e=>(0,o.isDefined)(e.value)||(0,o.isDefined)(e.argument),_pullOptions:e=>({type:e.type,name:e.name,x:e.x,y:e.y,value:e.value,argument:e.argument,axis:e.axis,series:e.series,options:e,offsetX:e.offsetX,offsetY:e.offsetY}),_forceAnnotationRender(){this._change(["FORCE_RENDER"])},_clear(){this.hideTooltip(),this.clearHover()}}},E={name:"annotations_polar_chart",init(){},dispose(){},members:{_getAnnotationCoords(e){const t={offsetX:e.offsetX,offsetY:e.offsetY,canvas:this._calcCanvas()},n=this.getArgumentAxis();let i=n.validateUnit(e.argument);const r=this.getValueAxis().validateUnit(e.value),s=e.radius,l=e.angle;let c,u;return e.series&&(u=this.series.filter((t=>t.name===e.series))[0]),(0,a.extend)(!0,t,this.getXYFromPolar(l,s,i,r)),(0,o.isDefined)(u)&&(!(0,o.isDefined)(t.angle)||(0,o.isDefined)(r)||(0,o.isDefined)(s)?!(0,o.isDefined)(t.radius)||(0,o.isDefined)(i)||(0,o.isDefined)(l)||(c=u.getSeriesPairCoord({radius:t.radius},!1)):((0,o.isDefined)(i)||(i=n.getTranslator().from(isFinite(l)?this.getActualAngle(l):t.angle)),c=u.getSeriesPairCoord({argument:i,angle:-t.angle},!0)),(0,o.isDefined)(c)&&(t.x=c.x,t.y=c.y)),e.series&&!(0,o.isDefined)(c)&&(t.x=t.y=void 0),t},_annotationsPointerEventHandler:w.members._annotationsPointerEventHandler,_isAnnotationBounded:w.members._isAnnotationBounded,_pullOptions(e){const t=(0,a.extend)({},{radius:e.radius,angle:e.angle},w.members._pullOptions(e));return delete t.axis,t},_forceAnnotationRender:w.members._forceAnnotationRender,_clear:w.members._clear}},T={name:"annotations_vector_map",init(){},dispose(){this._annotations._offTracker(),this._annotations._offTracker=null},members:{_getAnnotationCoords(e){const t={offsetX:e.offsetX,offsetY:e.offsetY};if(t.canvas=this._projection.getCanvas(),e.coordinates){const n=this._projection.toScreenPoint(e.coordinates);t.x=n[0],t.y=n[1]}return t},_annotationsPointerEventHandler:w.members._annotationsPointerEventHandler,_isAnnotationBounded:e=>(0,o.isDefined)(e.coordinates),_pullOptions(e){const t=(0,a.extend)({},{coordinates:e.coordinates},w.members._pullOptions(e));return delete t.axis,delete t.series,delete t.argument,delete t.value,t},_forceAnnotationRender(){this._change(["EXTRA_ELEMENTS"])},_getAnnotationStyles:()=>({"text-anchor":"start"}),_clear(){}},extenders:{_prepareExtraElements(){const e=this,t=()=>{e._renderExtraElements()};e._annotations._offTracker=e._tracker.on({move:t,zoom:t,end:t})}}},A={name:"annotations_pie_chart",init(){},dispose(){},members:{_getAnnotationCoords(e){let t;const n={offsetX:e.offsetX,offsetY:e.offsetY,canvas:this._canvas};if(e.argument){t=e.series?this.getSeriesByName(e.series):this.series[0];const i=t.getPointsByArg(e.argument)[0],{x:o,y:r}=i.getAnnotationCoords(e.location);n.x=o,n.y=r}return n},_isAnnotationBounded:e=>e.argument,_annotationsPointerEventHandler:w.members._annotationsPointerEventHandler,_pullOptions(e){const t=(0,a.extend)({},{location:e.location},w.members._pullOptions(e));return delete t.axis,t},_clear:w.members._clear,_forceAnnotationRender:w.members._forceAnnotationRender}},O={name:"annotations_core",init(){this._annotations={items:[],_hideToolTipForDrag:!1,tooltip:new r.Tooltip({cssClass:`${this._rootClassPrefix}-annotation-tooltip`,eventTrigger:this._eventTrigger,widgetRoot:this.element(),widget:this}),hideTooltip(){this.tooltip.annotation=null,this.tooltip.hide()},clearItems(){this.items.forEach((e=>e.plaque.clear())),this.items=[]}},this._annotations.tooltip.setRendererOptions(this._getRendererOptions())},dispose(){this._annotationsGroup.linkRemove().linkOff(),h.default.off(p(),_),this._annotationsGroup.off(_),this._annotations.tooltip&&this._annotations.tooltip.dispose()},extenders:{_createHtmlStructure(){this._annotationsGroup=this._renderer.g().attr({class:`${this._rootClassPrefix}-annotations`}).css(this._getAnnotationStyles()).linkOn(this._renderer.root,"annotations").linkAppend(),h.default.on(p(),m,(e=>{this._disposed||this._annotations.tooltip.isCursorOnTooltip(e.pageX,e.pageY)||this._annotations.hideTooltip()})),h.default.on(p(),v,(e=>{this._annotations._hideToolTipForDrag=!1,this._annotationsPointerEventHandler(e)})),this._annotationsGroup.on(m,this._annotationsPointerEventHandler.bind(this))},_renderExtraElements(){this._annotationsGroup.clear(),this._annotations.items.forEach((e=>e.draw(this,this._annotationsGroup)))},_stopCurrentHandling(){this._annotations.hideTooltip()}},members:{_buildAnnotations(){this._annotations.clearItems();const e=this._getOption("annotations",!0);null!=e&&e.length&&(this._annotations.items=S(this,e,this._getOption("commonAnnotationSettings"),this._getOption("customizeAnnotation",!0),this._pullOptions))},_setAnnotationTooltipOptions(){const e=(0,a.extend)({},this._getOption("tooltip"));e.contentTemplate=e.customizeTooltip=void 0,this._annotations.tooltip.update(e)},_getAnnotationCoords:()=>({}),_pullOptions:()=>({}),_getAnnotationStyles:()=>({})},customize(e){e.addChange({code:"ANNOTATIONITEMS",handler(){this._requestChange(["ANNOTATIONS"])},isOptionChange:!0,option:"annotations"}),e.addChange({code:"ANNOTATIONSSETTINGS",handler(){this._requestChange(["ANNOTATIONS"])},isOptionChange:!0,option:"commonAnnotationSettings"}),e.addChange({code:"ANNOTATIONS",handler(){this._buildAnnotations(),this._setAnnotationTooltipOptions(),this._forceAnnotationRender()},isThemeDependent:!0,isOptionChange:!0})},fontFields:["commonAnnotationSettings.font"]};t.plugins={core:O,chart:w,polarChart:E,vectorMap:T,pieChart:A}},71671:function(e,t,n){t.BaseThemeManager=void 0;var i,o=(i=n(55620))&&i.__esModule?i:{default:i},r=n(52576),a=n(11528),s=n(21274),l=n(9735),c=n(28779),u=n(84560);const d=u.getTheme,h=u.addCacheItem,f=u.removeCacheItem,p=r.extend,g=s.each;function _(e,t){let n=e;return t&&g(t.split("."),(function(e,t){return n=n[t]})),n}t.BaseThemeManager=o.default.inherit({ctor:function(e){this._themeSection=e.themeSection,this._fontFields=e.fontFields||[],h(this)},dispose:function(){const e=this;return f(e),e._callback=e._theme=e._font=null,e},setCallback:function(e){return this._callback=e,this},setTheme:function(e,t){return this._current=e,this._rtl=t,this.refresh()},refresh:function(){const e=this,t=e._current||{};let n=d(t.name||t);return e._themeName=n.name,e._defaultPalette=n.defaultPalette,e._font=p({},n.font,t.font),e._themeSection&&g(e._themeSection.split("."),(function(e,t){n=p(!0,{},n[t])})),e._theme=p(!0,{},n,(0,a.isString)(t)?{}:t),e._initializeTheme(),(0,c.parseScalar)(e._rtl,e._theme.rtlEnabled)&&p(!0,e._theme,e._theme._rtl),e._callback(),e},theme:function(e){return _(this._theme,e)},themeName:function(){return this._themeName},createPalette:function(e,t){return(0,l.createPalette)(e,t,this._defaultPalette)},createDiscretePalette:function(e,t){return(0,l.getDiscretePalette)(e,t,this._defaultPalette)},createGradientPalette:function(e){return(0,l.getGradientPalette)(e,this._defaultPalette)},getAccentColor:function(e){return(0,l.getAccentColor)(e,this._defaultPalette)},_initializeTheme:function(){const e=this;g(e._fontFields||[],(function(t,n){e._initializeFont(_(e._theme,n))}))},_initializeFont:function(e){p(e,this._font,p({},e))}})},95943:function(e,t,n){t.createEventTrigger=function(e,t){let n,i={};return(0,a.each)(e,(function(e,t){t.name&&o(e)})),r.change=function(t){const i=e[t];return i&&((n=n||{})[t]=i),!!i},r.applyChanges=function(){n&&((0,a.each)(n,(function(e,t){o(t.newName||e)})),n=null)},r.dispose=function(){e=t=i=null},r;function o(n){const o=e[n];i[o.name]=t(n,o.actionSettings)}function r(e,t,n){i[e](t),n&&n()}},t.createIncidentOccurred=void 0,t.createResizeHandler=function(e,t,n){let i;const o=(r=n,(e,t)=>{const{handler:n,dispose:i}=function(e,t){let n;const i=function(){clearTimeout(n),n=setTimeout(e,100)};return{handler:i,dispose(){clearTimeout(n),t(i)}}}(r,t);return e(n),i});var r;"windowonly"===(0,c.normalizeEnum)(t)?i=o((e=>s.default.add(e)),(e=>s.default.remove(e))):!0===t&&(i=o((t=>l.default.observe(e,t)),(()=>l.default.unobserve(e))));return i};var i=n(1956),o=n(54497),r=u(n(38355)),a=n(21274),s=u(n(63283)),l=u(n(11787)),c=n(28779);function u(e){return e&&e.__esModule?e:{default:e}}const d=r.default.ERROR_MESSAGES;t.createIncidentOccurred=function(e,t){return function(n,r){t("incidentOccurred",{target:{id:n,type:"E"===n[0]?"error":"warning",args:r,text:o.format.apply(null,[d[n]].concat(r||[])),widget:e,version:i.version}})}}},94618:function(e,t,n){t.plugins=void 0;var i=n(28779),o=n(17781);const r={name:"center_template_pie_chart",init:o.noop,dispose:function(){this._centerTemplateGroup.linkOff().dispose()},extenders:{_createHtmlStructure(){const e=(0,i.patchFontOptions)(this._themeManager._font);this._centerTemplateGroup=this._renderer.g().attr({class:"dxc-hole-template"}).linkOn(this._renderer.root,"center-template").css(e).linkAppend()},_renderExtraElements(){this._requestChange(["CENTER_TEMPLATE"])}},members:{_renderCenterTemplate(){const e=this.option("centerTemplate"),t=this._centerTemplateGroup.clear();if(!e)return;t.attr({visibility:"hidden"});const n=this._getCenter();this._getTemplate(e).render({model:this,container:t.element,onRendered:()=>{const e=t,i=e.getBBox(),o=i.x+i.width/2,r=i.y+i.height/2;e.move(n.x-o,n.y-r),e.attr({visibility:"visible"})}})}},customize(e){e.addChange({code:"CENTER_TEMPLATE",handler:function(){this._renderCenterTemplate()},option:"centerTemplate"})}},a={name:"center_template_gauge",init:o.noop,dispose:r.dispose,extenders:{_initCore(){this._createCenterTemplateGroup()},_renderContent(){const e=(0,i.patchFontOptions)(this._themeManager._font);this._centerTemplateGroup.css(e),this._requestChange(["CENTER_TEMPLATE"])},_updateExtraElements(){this._requestChange(["CENTER_TEMPLATE"])}},members:{_renderCenterTemplate:r.members._renderCenterTemplate,_createCenterTemplateGroup(){this._centerTemplateGroup=this._renderer.g().attr({class:"dxg-hole-template"}).linkOn(this._renderer.root,"center-template").linkAppend()}},customize:r.customize};t.plugins={pieChart:r,gauge:a}},25058:function(e,t,n){t.plugin=void 0;var i,o=n(17781),r=(i=n(87755))&&i.__esModule?i:{default:i};const a=r.default.postCtor;let s;const l={_dataSourceLoadErrorHandler:function(){this._dataSourceChangedHandler()},_dataSourceOptions:function(){return{paginate:!1}},_updateDataSource:function(){this._refreshDataSource(),this.option("dataSource")||this._dataSourceChangedHandler()},_dataIsLoaded:function(){return!this._dataSource||this._dataSource.isLoaded()},_dataSourceItems:function(){return this._dataSource&&this._dataSource.items()}};for(s in r.default)"postCtor"!==s&&(l[s]=r.default[s]);t.plugin={name:"data_source",init:function(){a.call(this)},dispose:o.noop,members:l}},38355:function(e,t,n){t.default=void 0;var i=r(n(67264)),o=r(n(87129));function r(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)(o.default.ERROR_MESSAGES,{E2001:"Invalid data source",E2002:"Axis type and data type are incompatible",E2003:'The "{0}" data source field contains data of unsupported type',E2004:'The "{0}" data source field is inconsistent',E2005:'The value field "{0}" is absent in the data source or all its values are negative',E2006:"A cycle is detected in provided data",E2007:'The value field "{0}" is absent in the data source',E2008:'The value field "{0}" must be a string',E2009:'The value field "{0}" must be a positive numeric value',E2101:"Unknown series type: {0}",E2102:"Ambiguity occurred between two value axes with the same name",E2103:'The "{0}" option is given an invalid value. Assign a function instead',E2104:"Invalid logarithm base",E2105:'Invalid value of a "{0}"',E2202:"Invalid {0} scale value",E2203:"The range you are trying to set is invalid",W2002:"The {0} series cannot be drawn because the {1} data field is missing",W2003:"Tick interval is too small",W2101:'The "{0}" pane does not exist; the last pane is used by default',W2102:'A value axis with the "{0}" name was created automatically',W2103:"The chart title was hidden due to the container size",W2104:"The legend was hidden due to the container size",W2105:'The title of the "{0}" axis was hidden due to the container size',W2106:'The labels of the "{0}" axis were hidden due to the container size',W2107:"The export menu was hidden due to the container size",W2108:"The browser does not support exporting images to {0} format.",W2301:"Invalid value range"});e.exports=t.default,e.exports.default=t.default},74754:function(e,t,n){t.plugin=t.getMarkup=t.exportWidgets=t.exportFromMarkup=t.combineMarkups=t.ExportMenu=void 0;var i=n(52576),o=n(3104),r=n(28779),a=n(47420),s=n(73549),l=m(n(4671)),c=n(11528),u=n(84560),d=n(638),h=m(n(89797)),f=n(31951),p=n(57653),g=n(63022),_=m(n(64553));function m(e){return e&&e.__esModule?e:{default:e}}const v=[h.default.down,h.default.move].join(" "),b=35,y=[[9,12,26,12,26,14,9,14],[9,17,26,17,26,19,9,19],[9,22,26,22,26,24,9,24]],x=120,C=30,S="PNG",w=[S,"JPEG","GIF"],E=["PDF","SVG"],T="dx-export-menu",A="21cm",O="export-element-type",k="export-element-format",D=/data-backgroundcolor="([^"]*)"/;function L(){const e=s.image.testFormats(w);return{unsupported:e.unsupported,supported:e.supported.concat(E)}}function P(e,t,n){if(n=n||L(),e=String(e).toUpperCase(),-1!==n.supported.indexOf(e))return e;-1!==n.unsupported.indexOf(e)&&t&&t("W2108",[e])}function M(e){return"SVG"===e?s.svg.getData:"PDF"===e?s.pdf.getData:s.image.getData}function R(e,t){const n=(0,o.getWindow)().document,i=n.createElement("iframe");i.onload=function(e,t){return function(){let n=this.contentWindow;const i=n.document.createElement("img");n.document.body.appendChild(i);const o=function(e){e.style.width=A;const t=(0,p.getWidth)(e);return e.style.width="",t}(n.document.body)/t.width;o<1&&(n.document.body.style.transform=`scale(${o})`,n.document.body.style["transform-origin"]="0 0");const r=()=>{this.parentElement.removeChild(this)};i.addEventListener("load",(()=>{n.focus(),n.print()})),i.addEventListener("error",r),n.addEventListener("afterprint",(()=>{setTimeout(r,0)})),i.src=e}}(e,t),i.style.position="fixed",i.style.width="0",i.style.height="0",i.style.right="0",i.style.bottom="0",n.body.appendChild(i)}function I(e,t,n){const i={},o=n.type,a=n.format,s=function(e,t,n){const i=40+n*C,o={rect:{width:118,height:C,x:-84,y:i},text:{x:(e.rtl?105:15)-85,y:i+C-8}};return"printing"===t&&(o.separator={stroke:e.button.default.borderColor,"stroke-width":1,cursor:"pointer",sharp:"v",d:"M -85 "+(i+C-1)+" L 35 "+(i+C-1)}),o}(t,o,n.itemIndex),l=(0,r.patchFontOptions)(t.font);l["pointer-events"]="none";const c=e.g().attr({class:T+"-list-item"});i[O]=o,a&&(i[k]=a);const u=e.rect();u.attr(s.rect).css({cursor:"pointer","pointer-events":"all"}).data(i),u.on(d.start+".export",(()=>u.attr({fill:t.button.hover.backgroundColor}))).on(d.end+".export",(()=>u.attr({fill:null}))),u.append(c);const h=e.text(n.text).css(l).attr(s.text).append(c);return"printing"===o&&e.path(null,"line").attr(s.separator).append(c),{g:c,rect:u,resetState:()=>u.attr({fill:null}),fixPosition:()=>{const e=h.getBBox();h.move(s.text.x-e.x-(t.rtl?e.width:0))}}}const B=function(e,t){t.format=P(t.format)||S,t.fileName=t.fileName||"file",t.exportingAction=t.onExporting,t.exportedAction=t.onExported,t.fileSavingAction=t.onFileSaving,t.margin=(0,c.isDefined)(t.margin)?t.margin:10,t.backgroundColor=(0,c.isDefined)(t.backgroundColor)?t.backgroundColor:function(e){const t=D.exec(e);return null==t?void 0:t[1]}(e)||(0,u.getTheme)().backgroundColor,(0,s.export)(e,t,M(t.format))};t.exportFromMarkup=B;t.getMarkup=e=>V(e).root.outerHTML;t.exportWidgets=function(e,t){const n=V(e,{gridLayout:(t=t||{}).gridLayout,verticalAlignment:t.verticalAlignment,horizontalAlignment:t.horizontalAlignment});t.width=n.width,t.height=n.height,B(n.root,t)};let V=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(e)?Array.isArray(e[0])||(e=e.map((e=>[e]))):e=[[e]];const n=!t.gridLayout,i=e.reduce(((e,t,i)=>{const o=t.reduce(((e,t,n)=>{const o=t.getSize(),r=t.option("backgroundColor")||(0,u.getTheme)(t.option("theme")).backgroundColor,a=(0,_.default)(t.element()).find("svg").get(0).cloneNode(!0);return r&&-1===e.backgroundColors.indexOf(r)&&e.backgroundColors.push(r),e.hOffset=e.width,e.width+=o.width,e.height=Math.max(e.height,o.height),e.itemWidth=Math.max(e.itemWidth,o.width),e.items.push({node:a,width:o.width,height:o.height,c:n,r:i,hOffset:e.hOffset}),e}),{items:[],height:0,itemWidth:0,hOffset:0,width:0,backgroundColors:e.backgroundColors});return e.rowOffsets.push(e.totalHeight),e.rowHeights.push(o.height),e.totalHeight+=o.height,e.items=e.items.concat(o.items),e.itemWidth=Math.max(e.itemWidth,o.itemWidth),e.maxItemLen=Math.max(e.maxItemLen,o.items.length),e.totalWidth=n?Math.max(e.totalWidth,o.width):e.maxItemLen*e.itemWidth,e}),{items:[],rowOffsets:[],rowHeights:[],itemWidth:0,totalHeight:0,maxItemLen:0,totalWidth:0,backgroundColors:[]}),o=`${1===i.backgroundColors.length?i.backgroundColors[0]:""}`,{totalWidth:r,totalHeight:a}=i,s=function(e,t,n,i){let{exportItems:o,options:r,compactView:a}=i;const s=function(e,t,n){const i=(0,_.default)("<div>").get(0),o=new g.Renderer({container:i});return o.resize(e,t),o.root.element.setAttribute("data-backgroundcolor",n),{createGroup:()=>o.g(),getRootContent:()=>o.root.element.cloneNode(!0),dispose(){o.dispose(),i.remove()}}}(e,t,n),l=e=>{const t=r.verticalAlignment,n=o.rowHeights[e.r]-e.height;return o.rowOffsets[e.r]+("bottom"===t?n:"center"===t?n/2:0)},c=e=>{if(a)return e.hOffset;const t=r.horizontalAlignment,n=o.itemWidth,i=n-e.width;return e.c*n+("right"===t?i:"center"===t?i/2:0)};o.items.forEach((e=>{const t=s.createGroup();t.attr({translateX:c(e),translateY:l(e)}),t.element.appendChild(e.node),t.append()}));const u=s.getRootContent();return s.dispose(),u}(r,a,o,{options:t,exportItems:i,compactView:n});return{root:s,width:r,height:a}};t.combineMarkups=V;let F=function(e){const t=this._renderer=e.renderer;this._incidentOccurred=e.incidentOccurred,this._exportTo=e.exportTo,this._print=e.print,this._shadow=t.shadowFilter("-50%","-50%","200%","200%",2,6,3),this._shadow.attr({opacity:.8}),this._group=t.g().attr({class:T,[a.HIDDEN_FOR_EXPORT]:!0}).linkOn(t.root,{name:"export-menu",after:"peripheral"}),this._buttonGroup=t.g().attr({class:T+"-button"}).append(this._group),this._listGroup=t.g().attr({class:T+"-list"}).append(this._group),this._overlay=t.rect(-85,39,x,0),this._overlay.attr({"stroke-width":1,cursor:"pointer",rx:4,ry:4,filter:this._shadow.id}),this._overlay.data({"export-element-type":"list"}),this.validFormats=L(),this._subscribeEvents()};function H(e,t,n,i){(i||t.format)&&(i=P(i||t.format,e._incidentOccurred));const{width:o,height:r}=e.getSize();return{format:i||S,fileName:n||t.fileName||"file",backgroundColor:t.backgroundColor,width:o,height:r,margin:t.margin,svgToCanvas:t.svgToCanvas,exportingAction:e._createActionByOption("onExporting",{excludeValidators:["disabled"]}),exportedAction:e._createActionByOption("onExported",{excludeValidators:["disabled"]}),fileSavingAction:e._createActionByOption("onFileSaving",{excludeValidators:["disabled"]})}}t.ExportMenu=F,(0,i.extend)(F.prototype,{getLayoutOptions(){if(this._hiddenDueToLayout)return{width:0,height:0,cutSide:"vertical",cutLayoutSide:"top"};const e=this._buttonGroup.getBBox();return e.cutSide="vertical",e.cutLayoutSide="top",e.height+=10,e.position={vertical:"top",horizontal:"right"},e.verticalAlignment="top",e.horizontalAlignment="right",e},shift(e,t){this._group.attr({translateY:this._group.attr("translateY")+t})},draw(e,t,n){this._group.move(e-b-2-3+n.left,Math.floor(t/2-17.5));const i=this.getLayoutOptions();return(i.width>e||i.height>t)&&this.freeSpace(),this},show(){this._group.linkAppend()},hide(){this._group.linkRemove()},setOptions(e){this._options=e,e.formats?e.formats=e.formats.reduce(((e,t)=>((t=P(t,this._incidentOccurred,this.validFormats))&&e.push(t),e)),[]):e.formats=this.validFormats.supported.slice(),e.printingEnabled=void 0===e.printingEnabled||e.printingEnabled,e.enabled&&(e.formats.length||e.printingEnabled)?(this.show(),this._updateButton(),this._updateList(),this._hideList()):this.hide()},dispose(){this._unsubscribeEvents(),this._group.linkRemove().linkOff(),this._group.dispose(),this._shadow.dispose()},layoutOptions(){return this._options.enabled&&{horizontalAlignment:"right",verticalAlignment:"top",weak:!0}},measure(){this._fillSpace();const e=this._options.button.margin;return[b+e.left+e.right,b+e.top+e.bottom]},move(e){const t=this._options.button.margin;this._group.attr({translateX:Math.round(e[0])+t.left,translateY:Math.round(e[1])+t.top})},_fillSpace(){this._hiddenDueToLayout=!1,this.show()},freeSpace(){this._incidentOccurred("W2107"),this._hiddenDueToLayout=!0,this.hide()},_hideList(){this._listGroup.remove(),this._listShown=!1,this._setButtonState("default"),this._menuItems.forEach((e=>e.resetState()))},_showList(){this._listGroup.append(this._group),this._listShown=!0,this._menuItems.forEach((e=>e.fixPosition()))},_setButtonState(e){const t=this._options.button[e];this._button.attr({stroke:t.borderColor,fill:t.backgroundColor}),this._icon.attr({fill:t.color})},_subscribeEvents(){this._renderer.root.on(h.default.up+".export",(e=>{const t=e.target[O];t?"button"===t?this._listShown?(this._setButtonState("default"),this._hideList()):(this._setButtonState("focus"),this._showList()):"printing"===t?(this._print(),this._hideList()):"exporting"===t&&(this._exportTo(e.target[k]),this._hideList()):this._button&&this._hideList()})),this._listGroup.on(v,(e=>e.stopPropagation())),this._buttonGroup.on(h.default.enter,(()=>this._setButtonState("hover"))),this._buttonGroup.on(h.default.leave,(()=>this._setButtonState(this._listShown?"focus":"default"))),this._buttonGroup.on(h.default.down+".export",(()=>this._setButtonState("active")))},_unsubscribeEvents(){this._renderer.root.off(".export"),this._listGroup.off(),this._buttonGroup.off()},_updateButton(){const e=this._renderer,t=this._options,n={"export-element-type":"button"};this._button||(this._button=e.rect(0,0,b,b).append(this._buttonGroup),this._button.attr({rx:4,ry:4,fill:t.button.default.backgroundColor,stroke:t.button.default.borderColor,"stroke-width":1,cursor:"pointer"}),this._button.data(n),this._icon=e.path(y).append(this._buttonGroup),this._icon.attr({fill:t.button.default.color,cursor:"pointer"}),this._icon.data(n),this._buttonGroup.setTitle(l.default.format("vizExport-titleMenuText")))},_updateList(){const e=this._options,t=e.button.default,n=this._listGroup,i=function(e,t){let n=[];return t.printingEnabled&&n.push(I(e,t,{type:"printing",text:l.default.format("vizExport-printingButtonText"),itemIndex:n.length})),n=t.formats.reduce(((n,i)=>(n.push(I(e,t,{type:"exporting",text:l.default.getFormatter("vizExport-exportButtonText")(i),format:i,itemIndex:n.length})),n)),n),n}(this._renderer,e);this._shadow.attr({color:e.shadowColor}),this._overlay.attr({height:i.length*C+2,fill:t.backgroundColor,stroke:t.borderColor}),n.clear(),this._overlay.append(n),i.forEach((e=>e.g.append(n))),this._menuItems=i}});t.plugin={name:"export",init(){this._exportMenu=new F({renderer:this._renderer,incidentOccurred:this._incidentOccurred,print:()=>this.print(),exportTo:e=>this.exportTo(void 0,e)}),this._layout.add(this._exportMenu)},dispose(){this._exportMenu.dispose()},members:{_getExportMenuOptions(){return(0,i.extend)({},this._getOption("export"),{rtl:this._getOption("rtlEnabled",!0)})},_disablePointerEvents(){const e=this._renderer.root.attr("pointer-events");return this._renderer.root.attr({"pointer-events":"none"}),e},exportTo(e,t){const n=this._exportMenu,i=H(this,this._getOption("export")||{},e,t);n&&n.hide();const o=this._disablePointerEvents(),r=(0,s.export)(this._renderer.root.element,i,M(i.format)).fail(f.logger.error).always((()=>{this._renderer.root.attr({"pointer-events":o})}));return n&&n.show(),r},print(){const e=this._exportMenu,t=H(this,this._getOption("export")||{});t.exportingAction=null,t.exportedAction=null,t.margin=0,t.format="PNG",t.useBase64=!0,t.fileSavingAction=e=>{R(`data:image/png;base64,${e.data}`,{width:t.width,__test:t.__test}),e.cancel=!0};const n=this._disablePointerEvents();e&&e.hide();const i=(0,s.export)(this._renderer.root.element,t,M(t.format)).fail(f.logger.error).always((()=>{this._renderer.root.attr({"pointer-events":n})}));return e&&e.show(),i}},customize(e){const t=e.prototype;e.addChange({code:"EXPORT",handler(){this._exportMenu.setOptions(this._getExportMenuOptions()),this._change(["LAYOUT"])},isThemeDependent:!0,isOptionChange:!0,option:"export"}),t._optionChangesMap.onExporting="EXPORT",t._optionChangesMap.onExported="EXPORT",t._optionChangesMap.onFileSaving="EXPORT"},fontFields:["export.font"]}},71115:function(e,t,n){t.changes=function(){return new s},t.expand=f,t.replaceInherit=void 0;var i=n(52576),o=n(3104),r=n(17781);const a=!(0,o.hasWindow)();function s(){this.reset()}function l(e,t){return e!==t?(0,i.extend)({},e,t):(0,i.extend)({},e)}function c(e,t){return e!==t?e.concat(t):e.slice()}function u(e){e._totalChangesOrder=e._optionChangesOrder.concat(e._layoutChangesOrder,e._customChangesOrder)}function d(e){const t=this.prototype,n=e.code;t["_change_"+n]=e.handler,e.isThemeDependent&&t._themeDependentChanges.push(n),e.option&&(t._optionChangesMap[e.option]=n),(e.isOptionChange?t._optionChangesOrder:t._customChangesOrder).push(n),u(t)}function h(){const e=function(){let t;const n=e._chain.length;let i;for(t=0;t<n;++t)i=e._chain[t].apply(this,arguments);return i};return e._chain=[],e.add=function(t){e._chain.push(t)},e.copy=function(t){e._chain=t._chain.slice()},e}function f(e,t,n){let i=e[t];i?i.add?(!1===Object.prototype.hasOwnProperty.call(e,t)&&(i=h(),i.copy(e[t])),i.add(n)):(i=h(),i.add(e[t]),i.add(n)):i=n,e[t]=i}function p(e){const t=this.prototype;t._plugins.push(e),e.fontFields&&t._fontFields.push.apply(t._fontFields,e.fontFields),e.members&&(0,i.extend)(this.prototype,e.members),e.customize&&e.customize(this),e.extenders&&Object.keys(e.extenders).forEach((function(n){const i=e.extenders[n];f(t,n,i)}),this)}s.prototype={constructor:s,add:function(e){let t;const n=e.length,i=this._flags;for(t=0;t<n;++t)i[e[t]]=1},has:function(e){return this._flags[e]>0},count:function(){return Object.keys(this._flags).length},reset:function(){this._flags={}}};t.replaceInherit=a?function(e){const t=e.inherit;e.inherit=function(){const e=t.apply(this,arguments),n=e.prototype;return["_plugins","_eventsMap","_initialChanges","_themeDependentChanges","_optionChangesMap","_optionChangesOrder","_layoutChangesOrder","_customChangesOrder","_totalChangesOrder"].forEach((function(e){n[e]={}})),e.addPlugin=r.noop,e},e.addChange=r.noop,e.addPlugin=r.noop}:function(e){const t=e.inherit;e.inherit=function(){let e=this.prototype;const n=e._plugins,i=e._fontFields,o=e._eventsMap,r=e._initialChanges,a=e._themeDependentChanges,s=e._optionChangesMap,d=e._partialOptionChangesMap,h=e._partialOptionChangesPath,f=e._optionChangesOrder,g=e._layoutChangesOrder,_=e._customChangesOrder,m=t.apply(this,arguments);return e=m.prototype,e._plugins=c(n,e._plugins),e._fontFields=c(i,e._fontFields),e._eventsMap=l(o,e._eventsMap),e._initialChanges=c(r,e._initialChanges),e._themeDependentChanges=c(a,e._themeDependentChanges),e._optionChangesMap=l(s,e._optionChangesMap),e._partialOptionChangesMap=l(d,e._partialOptionChangesMap),e._partialOptionChangesPath=l(h,e._partialOptionChangesPath),e._optionChangesOrder=c(f,e._optionChangesOrder),e._layoutChangesOrder=c(g,e._layoutChangesOrder),e._customChangesOrder=c(_,e._customChangesOrder),u(e),m.addPlugin=p,m},e.prototype._plugins=[],e.prototype._fontFields=[],e.addChange=d,e.addPlugin=p}},48874:function(e,t,n){t.default=void 0;var i=n(28779);const o=Math.min,r=Math.max,a=Math.round,s={left:0,center:1,right:2},l={top:0,center:1,bottom:2},c={horizontal:0,vertical:1},u={};function d(e,t,n){const o=(0,i.normalizeEnum)(e);return o in t?t[o]:n}function h(e){const t=d(e.side,c,1),n=[d(e.horizontalAlignment,s,1),d(e.verticalAlignment,l,0)];return{side:t,primary:(i=n[t],i<2?0:2),secondary:n[1-t],weak:e.weak,priority:e.priority||0,header:e.header,position:e.position};var i}function f(e,t){return(e>0?-1:1)*t}function p(e,t,n){const i=e.side,o=e.element.measure([t[2]-t[0],t[3]-t[1]]),r="indside"===e.position?0:n[i],a=o[i]<t[2+i]-t[i]-r;return a&&("inside"!==e.position&&(t[e.primary+i]+=f(e.primary,o[i])),e.size=o),a}function g(e,t,n){const i=e.side,o=1-i;const r=[],s=(l=e.secondary,c=n[o],d=n[2+o],h=e.size[o],u[l](c,d,h));var l,c,d,h;return r[i]=a(r[2+i]=t[e.primary+i]+("inside"===e.position?f(e.primary,e.size[i]):0)),r[e.primary+i]=a(t[e.primary+i]-f(e.primary,e.size[i])),"inside"!==e.position&&(t[e.primary+i]=r[e.primary+i]),r[o]=a(s[0]),r[2+o]=a(s[1]),r}function _(e,t,n,i,o,r){const a=g(e,t,n),s=g(e,i,i);o[e.side]>0?(o[e.side]-=e.size[e.side],r[e.primary+e.side]=a[e.primary+e.side],e.element.freeSpace()):e.element.move(a,s)}function m(){this._targets=[]}function v(e,t){const n=t.slice(),i=g(e,n,n);return i[e.side]=t[e.side],i[2+e.side]=t[2+e.side],i}function b(e,t){const n=e.side,i=e.primary,o=e.secondary;return{side:n,primary:i,secondary:o,priority:0,element:{measure:function(o){const r=o.slice(),a=t.element.measure(o.slice());o[i]-=a[i];const s=e.element.measure(o.slice());return r[n]=a[n]=s[n]=Math.max(s[n],a[n]),t.size=a,e.size=s,r},move:function(n,i){if(i[2]-i[0]<e.size[0]+t.size[0]-2)return void this.freeSpace();const o=v(t,i);i[2+t.primary]=o[t.primary];const r=v(e,i);i[2+t.primary]<n[2+t.primary]&&e.size[e.primary]>n[2+e.primary]-n[e.primary]&&(n[2+t.primary]=i[2+t.primary]);let a=v(e,n);a[2+t.primary]>i[2+t.primary]&&(n[2+t.primary]=i[2+t.primary],a=v(e,n)),t.element.move(o),e.element.move(a,r)},freeSpace:function(){e.element.freeSpace(),t.element.freeSpace()}}}}u[0]=function(e,t,n){return[e,o(t,e+n)]},u[1]=function(e,t,n){return[r(e,(e+t-n)/2),o(t,(e+t+n)/2)]},u[2]=function(e,t,n){return[r(e,t-n),t]},m.prototype={constructor:m,dispose:function(){this._targets=null},add:function(e){this._targets.push(e)},forward:function(e,t){const n=e.slice(),i=function(e){let t;const n=e.length;let i,o=[];for(t=0;t<n;++t)i=e[t].layoutOptions(),i&&(i=h(i),i.element=e[t],o.push(i));return o.sort((function(e,t){return t.side-e.side||e.priority-t.priority})),o=function(e){const t=e.filter((function(e){return!0===e.weak}))[0];let n;t&&(n=e.filter((function(e){return t.primary===e.primary&&e.side===t.side&&e!==t}))[0]);if(t&&n)return[b(n,t)].concat(e.filter((function(e){return!(e===n||e===t)})));return e}(o),o}(this._targets);let o;const r=i.length,a=[];for(o=0;o<r;++o)p(i[o],n,t)?a.push(i[o]):i[o].element.freeSpace();return this._cache=a.reverse(),n},backward:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0],i=e.slice();const o=e.slice(),r=this._cache;let a,s,l=0;const c=r.length;for(s=0;s<c;++s)a=r[s],a.side!==l&&(i=e.slice()),_(a,i,t,o,n,e),l=a.side;return n}};t.default=m;e.exports=t.default,e.exports.default=t.default},77461:function(e,t,n){t.LayoutElement=l,t.WrapperLayoutElement=c;var i=n(17781),o=n(22263);const r=Math.round,a={horizontal:0,vertical:0},s={center:.5,right:1,bottom:1,left:0,top:0};function l(e){this._options=e}function c(e,t){this._renderElement=e,this._cacheBBox=t}l.prototype={constructor:l,position:function(e){const t=e.of.getLayoutOptions(),n=this.getLayoutOptions(),i=e.at,o=e.my,l=e.offset||a,c=-s[o.horizontal]*n.width+t.x+s[i.horizontal]*t.width+parseInt(l.horizontal),u=-s[o.vertical]*n.height+t.y+s[i.vertical]*t.height+parseInt(l.vertical);this.shift(r(c),r(u))},getLayoutOptions:i.noop};const u=c.prototype=(0,o.clone)(l.prototype);u.constructor=c,u.getLayoutOptions=function(){return this._cacheBBox||this._renderElement.getBBox()},u.shift=function(e,t){const n=this.getLayoutOptions();this._renderElement.move(r(e-n.x),r(t-n.y))}},92528:function(e,t,n){t.plugin=t.LoadingIndicator=void 0;var i=n(28779);const o="loadingIndicatorReady";let r=function(e){const t=this,n=e.renderer;t._group=n.g().attr({class:"dx-loading-indicator"}).linkOn(n.root,{name:"loading-indicator",after:"peripheral"}),t._rect=n.rect().attr({opacity:0}).append(t._group),t._text=n.text().attr({align:"center"}).append(t._group),t._createStates(e.eventTrigger,t._group,n.root,e.notify)};t.LoadingIndicator=r,r.prototype={constructor:r,_createStates:function(e,t,n,i){this._states=[{opacity:0,start:function(){i(!1)},complete:function(){t.linkRemove(),n.css({"pointer-events":""}),e(o)}},{opacity:.85,start:function(){t.linkAppend(),n.css({"pointer-events":"none"}),i(!0)},complete:function(){e(o)}}],this._state=0},setSize:function(e){const t=e.width,n=e.height;this._rect.attr({width:t,height:n}),this._text.attr({x:t/2,y:n/2})},setOptions:function(e){this._rect.attr({fill:e.backgroundColor}),this._text.css((0,i.patchFontOptions)(e.font)).attr({text:e.text,class:e.cssClass}),this[e.show?"show":"hide"]()},dispose:function(){const e=this;e._group.linkRemove().linkOff(),e._group=e._rect=e._text=e._states=null},_transit:function(e){const t=this;let n;t._state!==e&&(t._state=e,t._isHiding=!1,n=t._states[e],t._rect.stopAnimation().animate({opacity:n.opacity},{complete:n.complete,easing:"linear",duration:400,unstoppable:!0}),t._noHiding=!0,n.start(),t._noHiding=!1)},show:function(){this._transit(1)},hide:function(){this._transit(0)},scheduleHiding:function(){this._noHiding||(this._isHiding=!0)},fulfillHiding:function(){this._isHiding&&this.hide()}};t.plugin={name:"loading_indicator",init:function(){const e=this;e._loadingIndicator=new r({eventTrigger:e._eventTrigger,renderer:e._renderer,notify:function(t){e._skipLoadingIndicatorOptions=!0,e.option("loadingIndicator",{show:t}),e._skipLoadingIndicatorOptions=!1,t&&e._stopCurrentHandling()}}),e._scheduleLoadingIndicatorHiding()},dispose:function(){this._loadingIndicator.dispose(),this._loadingIndicator=null},members:{_scheduleLoadingIndicatorHiding:function(){this._loadingIndicator.scheduleHiding()},_fulfillLoadingIndicatorHiding:function(){this._loadingIndicator.fulfillHiding()},showLoadingIndicator:function(){this._loadingIndicator.show()},hideLoadingIndicator:function(){this._loadingIndicator.hide()},_onBeginUpdate:function(){this._optionChangedLocker||this._scheduleLoadingIndicatorHiding()}},extenders:{_dataSourceLoadingChangedHandler(e){e&&(this._options.silent("loadingIndicator")||{}).enabled&&this._loadingIndicator.show()},_setContentSize(){this._loadingIndicator.setSize(this._canvas)},endUpdate(){this._initialized&&this._dataIsReady()&&this._fulfillLoadingIndicatorHiding()}},customize:function(e){const t=e.prototype;if(t._dataSourceChangedHandler){const e=t._dataSourceChangedHandler;t._dataSourceChangedHandler=function(){this._scheduleLoadingIndicatorHiding(),e.apply(this,arguments)}}e.addChange({code:"LOADING_INDICATOR",handler:function(){this._skipLoadingIndicatorOptions||this._loadingIndicator.setOptions(this._getOption("loadingIndicator")),this._scheduleLoadingIndicatorHiding()},isThemeDependent:!0,option:"loadingIndicator",isOptionChange:!0}),t._eventsMap.onLoadingIndicatorReady={name:"loadingIndicatorReady"};const n=t._drawn;t._drawn=function(){n.apply(this,arguments),this._dataIsReady()&&this._fulfillLoadingIndicatorHiding()}},fontFields:["loadingIndicator.font"]}},87040:function(e,t,n){t.Plaque=void 0;var i=n(52576),o=n(11528);const r=["x","y","canvas","offsetX","offsetY","offset"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}const s=Math,l=s.round,c=s.max,u=s.min,d=s.sin,h=s.cos,f=s.asin,p=s.PI,g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.join("")};function _(e,t,n){return`a ${e} ${e} 0 0 1 ${t*e} ${n*e}`}function m(e,t,n){return`A ${e} ${e} 0 0 1 ${t} ${n}`}function v(e,t,n,i,o){return(e-i)*l(h(n))+(t-o)*l(d(n))+i}function b(e,t,n,i,o){return-(e-i)*l(d(n))+(t-o)*l(h(n))+o}function y(e,t,n,i,o){let{width:r,height:a}=e;const s=r/2,l=a/2,c=Math.ceil(t+s),u=Math.floor(t-s),d=Math.floor(n-l),h=Math.ceil(n+l);return i<u&&o<d||i>=u&&i<=c&&o<d?270:i>c&&o>h||i>=u&&i<=c&&o>h?90:i<u&&o>h||i<u&&o>=d&&o<=h?180:0}function x(e,t,n,i,o,r,a){let{width:s,height:l}=e,{arrowWidth:v,cornerRadius:b=0}=r;const y=v/2,x=s/2,C=l/2,S=Math.ceil(t+x),w=Math.floor(t-x),E=Math.floor(n-C),T=Math.ceil(n+C),A=[w,E],O=[S,E],k=[S,T],D=[w,T],L=i<=w?w:S<=i?S:i,P=o<=E?E:T<=o?T:o,M=u(P+y,T),R=c(P-y,E),I=c(L-y,w);let B;if(b=Math.min(s/2,l/2,b),A[1]+=b,O[0]-=b,k[1]-=b,D[0]+=b,!a||w<=i&&i<=S&&E<=o&&o<=T)B=g(A,_(b,1,-1),"L",O,_(b,1,1),"L",k,_(b,-1,1),"L",D,_(b,-1,-1));else if(i>S&&o<E){const e=v/b||0,t=p/4+e/2,n=p/4-e/2,r=O[0]+h(n)*b,a=O[1]+(1-d(n))*b;let s=g("L",O,_(b,h(t),1-d(t)),"L",[i,o,r,a],m(b,O[0]+b,O[1]+b));Math.abs(t)>p/2&&(s=g("L",[I,E,i,o,S,M])),B=g(A,_(b,1,-1),s,"L",k,_(b,-1,1),"L",D,_(b,-1,-1))}else if(i>S&&o>=E&&o<=T){let e;if(R>=O[1]+b&&M<=k[1])e=g(_(b,1,1),"L",[S,R,i,o,S,M],"L",k,_(b,-1,1));else if(R<O[1]+b&&M>=O[1]+b&&M<=k[1]){const t=(O[1]+b-R)/b,n=O[0]+h(t)*b,r=O[1]+(1-d(t))*b;e=g(_(b,h(t),1-d(t)),"L",[n,r,i,o,S,M],"L",k,_(b,-1,1))}else if(R<O[1]+b&&M<O[1]+b){const t=(O[1]+b-R)/b,n=O[0]+h(t)*b,r=O[1]+(1-d(t))*b,a=Math.sin((O[1]+b-M)/b),s=O[0]+b*h(a),l=O[1]+b*(1-d(a));e=g(_(b,h(t),1-d(t)),"L",[n,r,i,o,s,l],m(b,O[0]+b,O[1]+b),"L",k,_(b,-1,1))}else if(R<=O[1]+b&&M>=k[1]){const t=f((O[1]+b-R)/b),n=O[0]+b*h(t),r=O[1]+b*(1-d(t)),a=f((M-k[1])/b),s=k[0]+b*(h(a)-1),l=k[1]+b*d(a);e=g(_(b,h(t),1-d(t)),"L",[n,r,i,o,s,l],m(b,k[0]-b,k[1]+b))}else if(R>O[1]+b&&R<=k[1]&&M>k[1]){const t=f((M-k[1])/b),n=k[0]+b*(h(t)-1),r=k[1]+b*d(t);e=g(_(b,1,1),"L",[S,R,i,o,n,r],m(b,k[0]-b,k[1]+b))}else if(R>O[1]+b&&M>k[1]){const t=f((M-k[1])/b),n=k[0]+b*(h(t)-1),r=k[1]+b*d(t),a=f((R-k[1])/b),s=k[0]+b*(h(a)-1),l=k[1]+b*d(a);e=g(_(b,1,1),"L",k,_(b,h(a)-1,d(a)),"L",[s,l,i,o,n,r],m(b,k[0]-b,k[1]+b))}B=g(A,_(b,1,-1),"L",O,e,"L",D,_(b,-1,-1))}return g("M",B,"Z")}t.Plaque=class{constructor(e,t,n,i){let o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:(e,t)=>t.getBBox(),a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:(e,t,n,i)=>t.move(n,i);this.widget=t,this.options=e,this.root=n,this.contentTemplate=i,this.bonded=o,this.measureContent=r,this.moveContentGroup=a}draw(e){let{x:t,y:n,canvas:s={},offsetX:d,offsetY:h,offset:f=0}=e,p=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,r);const g=this.options;let{x:_,y:m}=g;const v=s.left,b=s.width-s.right,y=s.width-s.right-s.left,x=s.top,C=s.height-s.bottom,S=s.height-s.bottom-s.top;if(!((0,o.isDefined)(t)&&(0,o.isDefined)(n)||(0,o.isDefined)(_)&&(0,o.isDefined)(m)))return!1;if((0,o.isDefined)(t)&&(t<v||b<t||n<x||C<n))return!1;this._root||this._draw();const w=(0,i.extend)({x:"-50%",y:"-50%",width:"200%",height:"200%"},g.shadow),E=g.width>0?g.width:null,T=g.height>0?g.height:null,A=()=>{var e;const i=this._contentBBox=this.measureContent(this.widget,this._contentGroup),r=this._size={width:c(E,i.width)+2*g.paddingLeftRight,height:c(T,i.height)+2*g.paddingTopBottom,offset:f},a=w.offsetX,s=w.offsetY,p=2*w.blur+1,A=c(p-a,0),O=c(p+a,0),k=c(p-s,0),D=c(p+s,0);if(this.margins={lm:A,rm:O,tm:k,bm:D},(0,o.isDefined)(_)?(_+=d||0,(0,o.isDefined)(t)||(t=_)):_=(0,o.isDefined)(d)?t+d:y<r.width?l(v+y/2):u(c(t,Math.ceil(v+r.width/2+A)),Math.floor(b-r.width/2-O)),(0,o.isDefined)(m))m+=h||0,(0,o.isDefined)(n)||(n=m+r.height/2);else if((0,o.isDefined)(h))m=n+h;else{const e=n-g.arrowLength-r.height/2-f,t=n+g.arrowLength+r.height/2+f;S<r.height+g.arrowLength?m=l(x+r.height/2):e-r.height/2-k<x?t+r.height/2+D<C?(m=t,n+=f):m=l(x+r.height/2):(m=e,n-=f)}this.anchorX=t,this.anchorY=n,this.move(_,m),null===(e=this._root)||void 0===e||e.append(this.root)};return this.contentTemplate.render?this.contentTemplate.render({model:g,container:this._contentGroup.element,onRendered:A}):this.contentTemplate(a({group:this._contentGroup,onRender:A},p)),!0}_draw(){const e=this.widget._renderer,t=this.options,n=(0,i.extend)({x:"-50%",y:"-50%",width:"200%",height:"200%"},t.shadow),o=this._shadow=e.shadowFilter().attr(n),r={opacity:t.opacity,"stroke-width":0,fill:t.color},a=t.border||{};a.visible&&(0,i.extend)(r,{"stroke-width":a.width,stroke:a.color,"stroke-opacity":a.opacity,dashStyle:a.dashStyle});const s=this._root=e.g().append(this.root);t.type&&s.attr({class:`dxc-${t.type}-annotation`});const l=e.g().attr({filter:o.id}).append(s);this._cloud=e.path([],"area").attr(r).sharp().append(l),this._contentGroup=e.g().append(s)}getBBox(){const e=this._size||{},t=this.margins||{},n=y(e,this.x,this.y,this.anchorX,this.anchorY);return{x:Math.floor(this.x-e.width/2-t.lm),y:Math.floor(this.y-e.height/2-t.tm-(270===n?this.options.arrowLength:0)),width:e.width+t.lm+t.rm,height:e.height+t.tm+t.bm+(90===n||270===n?this.options.arrowLength:0)}}clear(){return this._root&&(this._root.remove(),this._shadow.remove(),this._root=null),this}customizeCloud(e){this._cloud&&this._cloud.attr(e)}moveRoot(e,t){this._root&&this._root.move(e,t)}move(e,t){e=l(e),t=l(t),this.x=e,this.y=t;const n=y(this._size,e,t,this.anchorX,this.anchorY),i=n*p/180;var o,r;this._cloud.attr({d:x((o=this._size,r=n,r%90==0&&r%180!=0?{width:o.height,height:o.width}:o),e,t,v(this.anchorX,this.anchorY,i,e,t),b(this.anchorX,this.anchorY,i,e,t),this.options,this.bonded)}).rotate(n,e,t),this.moveContentGroup(this.widget,this._contentGroup,e-this._contentBBox.x-this._contentBBox.width/2,t-this._contentBBox.y-this._contentBBox.height/2)}hitTest(e,t){const{width:n,height:i}=this._size||{};return Math.abs(e-this.x)<=n/2&&Math.abs(t-this.y)<=i/2}}},35523:function(e,t,n){t.AnimationController=d,t.easingFunctions=t.animationSvgStep=void 0;var i=n(84096);const o=function(){},r=t.easingFunctions={easeOutCubic:function(e,t,n){return 1===e?n:(1-Math.pow(1-e,3))*(n-t)+ +t},linear:function(e,t,n){return 1===e?n:e*(n-t)+ +t}},a=t.animationSvgStep={segments:function(e,t,n,i,o){const r=t.from,a=t.to;let s,l,c,u;const d=[];for(c=0;c<r.length;c++){if(s=r[c],l=[s[0]],s.length>1)for(u=1;u<s.length;u++)l.push(i(n,s[u],a[c][u]));d.push(l)}o.segments=t.end&&1===n?t.end:d,e.attr({segments:d})},arc:function(e,t,n,i){const o=t.from,r=t.to,a={};for(const e in o)a[e]=i(n,o[e],r[e]);e.attr(a)},transform:function(e,t,n,i,o){const r=t.from,a=t.to,s={};for(const e in r)s[e]=o[e]=i(n,r[e],a[e]);e.attr(s)},base:function(e,t,n,i,o,r){const a={};a[r]=o[r]=i(n,t.from,t.to),e.attr(a)},_:o,complete:function(e,t){e.attr(t)}};function s(e){const t=this,n=t._animateStep;let i;for(i in t._progress=t._calcProgress(e),t.params){(n[i]||n.base)(t.element,t.params[i],t._progress,t._easing,t._currentParams,i)}return t.options.step&&t.options.step(t._easing(t._progress,0,1),t._progress),1!==t._progress||t.stop()}function l(e){return e-this._startTime>=this.delay&&(this.tick=s),!0}function c(e){return this._startTime=e,this.tick=this.delay?l:s,!0}function u(e,t,n){const i=this;i._progress=0,i.element=e,i.params=t,i.options=n,i.duration=n.partitionDuration?n.duration*n.partitionDuration:n.duration,i.delay=n.delay&&n.duration*n.delay||0,i._animateStep=n.animateStep||a,i._easing=r[n.easing]||r.easeOutCubic,i._currentParams={},i.tick=c}function d(e){const t=this;t._animationCount=0,t._timerId=null,t._animations={},t.element=e}u.prototype={_calcProgress:function(e){return Math.min(1,(e-this.delay-this._startTime)/this.duration)},stop:function(e){const t=this,n=t.options,i=t._animateStep;t.stop=t.tick=o,i.complete&&i.complete(t.element,t._currentParams),n.complete&&!e&&n.complete()}},d.prototype={_loop:function(){const e=this,t=e._animations;let n=0;const o=(new Date).getTime();let r;const a=e._endAnimation;for(r in t)t[r].tick(o)||delete t[r],n++;if(0===n)return e.stop(),void(e._endAnimationTimer=a&&setTimeout((function(){0===e._animationCount&&(a(),e._endAnimation=null)})));e._timerId=i.requestAnimationFrame.call(null,(function(){e._loop()}),e.element)},addAnimation:function(e){const t=this;t._animations[t._animationCount++]=e,clearTimeout(t._endAnimationTimer),t._timerId||(clearTimeout(t._startDelay),t._startDelay=setTimeout((function(){t._timerId=1,t._loop()}),0))},animateElement:function(e,t,n){e&&t&&n&&(e.animation&&e.animation.stop(),this.addAnimation(e.animation=new u(e,t,n)))},onEndAnimation:function(e){this._animationCount?this._endAnimation=e:e()},dispose:function(){this.stop(),this.element=null},stop:function(){const e=this;e._animations={},e._animationCount=0,(0,i.cancelAnimationFrame)(e._timerId),clearTimeout(e._startDelay),clearTimeout(e._endAnimationTimer),e._timerId=null},lock:function(){let e;const t=this._animations;let n,i;for(e in t)n=t[e].options.unstoppable,i=i||n,n||(t[e].stop(!0),delete t[e]);!i&&this.stop()}}},63022:function(e,t,n){t.RectSvgElement=t.PathSvgElement=t.ArcSvgElement=void 0,t.Renderer=Ce,t.TextSvgElement=t.SvgElement=void 0,t.getFuncIri=M,t.processHatchingAttrs=B,t.refreshPaths=void 0;var i=h(n(64553)),o=h(n(64960)),r=n(3104),a=h(n(13630)),s=h(n(92774)),l=n(47420),c=n(35523),u=n(28779),d=n(11528);function h(e){return e&&e.__esModule?e:{default:e}}const f=(0,r.getWindow)(),{max:p,round:g}=Math,_={"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0},m="text",v="stroke",b="stroke-width",y="stroke-opacity",x="font-size",C="font-style",S="font-weight",w="text-decoration",E="textsAlignment",T="none",A="...",O=Object.create?function(e){return Object.create(e)}:function(e){const t=function(){};return t.prototype=e,new t},k={scaleX:1,scaleY:1,"pointer-events":null},D=(0,a.default)((function(){const e=o.default.createElement("div");return e.style.left="-9999px",e.style.position="absolute",{backupContainer:e,backupCounter:0}}));function L(e){return e&&"string"!=typeof e}function P(e){return o.default.createElementNS("http://www.w3.org/2000/svg",e)}function M(e,t){return null!==e?"url("+(t?f.location.href.split("#")[0]:"")+"#"+e+")":e}function R(e,t){let n;for(n in t)e[n]=t[n];return e}const I={full:T,lefttop:"xMinYMin",leftcenter:"xMinYMid",leftbottom:"xMinYMax",centertop:"xMidYMin",center:"xMidYMid",centerbottom:"xMidYMax",righttop:"xMaxYMin",rightcenter:"xMaxYMid",rightbottom:"xMaxYMax"};function B(e,t){return t.hatching&&"none"!==(0,u.normalizeEnum)(t.hatching.direction)?((t=R({},t)).fill=e._hatching=e.renderer.lockDefsElements({color:t.fill,hatching:t.hatching},e._hatching,"pattern"),delete t.filter):e._hatching?(e.renderer.releaseDefsElements(e._hatching),e._hatching=null,delete t.filter):t.filter?(t=R({},t)).filter=e._filter=e.renderer.lockDefsElements({},e._filter,"filter"):e._filter&&(e.renderer.releaseDefsElements(e._filter),e._filter=null),delete t.hatching,t}const V=function(e,t,n,i,o,r,a,s,l,c){return["M",(e+i*o).toFixed(5),(t-i*r).toFixed(5),"A",i.toFixed(5),i.toFixed(5),0,c,0,(e+i*a).toFixed(5),(t-i*s).toFixed(5),l?"M":"L",(e+n*a).toFixed(5),(t-n*s).toFixed(5),"A",n.toFixed(5),n.toFixed(5),0,c,1,(e+n*o).toFixed(5),(t-n*r).toFixed(5),"Z"].join(" ")};function F(e,t){let n=[["M",0,0]];switch(t){case"line":n=H(e);break;case"area":n=H(e,!0);break;case"bezier":n=N(e);break;case"bezierarea":n=N(e,!0)}return n}function H(e,t){return z(e,j,t)}function N(e,t){return z(e,G,t)}function z(e,t,n){var i;let o,r;const a=[];if(null!==(i=e[0])&&void 0!==i&&i.length)for(o=0,r=e.length;o<r;++o)t(e[o],n,a);else t(e,n,a);return a}function j(e,t,n){let i=0;const o=n.length;let r=o;const a=(e||[]).length;if(a){if(void 0!==e[0].x)for(;i<a;)n[r++]=["L",e[i].x,e[i++].y];else for(;i<a;)n[r++]=["L",e[i++],e[i++]];n[o][0]="M"}else n[r]=["M",0,0];return t&&n.push(["Z"]),n}function G(e,t,n){let i,o=n.length;const r=(e||[]).length;if(r)if(void 0!==e[0].x)for(n[o++]=["M",e[0].x,e[0].y],i=1;i<r;)n[o++]=["C",e[i].x,e[i++].y,e[i].x,e[i++].y,e[i].x,e[i++].y];else for(n[o++]=["M",e[0],e[1]],i=2;i<r;)n[o++]=["C",e[i++],e[i++],e[i++],e[i++],e[i++],e[i++]];else n[o]=["M",0,0];return t&&n.push(["Z"]),n}function Z(e,t){const n=e[e.length-2],i=e[e.length-1];switch(t){case"line":case"area":e[0]="L";break;case"bezier":case"bezierarea":e[0]="C",e[1]=e[3]=e[5]=n,e[2]=e[4]=e[6]=i}}function W(e,t,n){const i=e[e.length-1].slice();let o=e.length;for(Z(i,n);o<t.length;o++)e[o]=i.slice(0)}function U(e,t,n){let i,o;const r=e.length,a=t.length;let s,l;if((r-1)%2==0&&(a-1)%2==0){i=(r-1)/2-1,o=e.slice(0,i+1),s=o[o.length-1].slice(0),l=e.slice(i+1)[0].slice(0),Z(s,n),Z(l,n);for(let t=i;t<(a-1)/2-1;t++)e.splice(t+1,0,s),e.splice(t+3,0,l)}}function $(e,t){const n=e._styles;let i,o;for(i in t=t||{})o=t[i],(0,d.isDefined)(o)&&(o+="number"!=typeof o||_[i]?"":"px",n[i]=""!==o?o:null);for(i in n)o=n[i],o?e.element.style[i]=o:null===o&&(e.element.style[i]="");return e}function Y(e,t){const n=e.element,i=e.attr(t);i&&-1!==i.indexOf("DevExpress")&&(n.removeAttribute(t),n.setAttribute(t,M(i,e.renderer.pathModified)))}function K(e,t){t=t||{};const n=e._settings,i={};let o,r;const a=e.element,s=e.renderer,l=s.rtl;let c,d,h,f;if(!L(t))return t in n?n[t]:t in k?k[t]:0;for(o in R(i,t),i)if(r=i[o],void 0!==r){if(n[o]=r,"align"===o)o="text-anchor",r={left:l?"end":"start",center:"middle",right:l?"start":"end"}[r]||null;else{if("dashStyle"===o){d=!0;continue}if(o===b)d=!0;else if(!r||"fill"!==o&&"clip-path"!==o&&"filter"!==o||0!==r.indexOf("DevExpress")){if(/^(translate(X|Y)|rotate[XY]?|scale(X|Y)|sharp|sharpDirection)$/i.test(o)){c=!0;continue}/^(x|y|d)$/i.test(o)&&(c=!0)}else e._addFixIRICallback(),r=M(r,s.pathModified)}null===r?a.removeAttribute(o):a.setAttribute(o,r)}if(d&&"dashStyle"in n)if(r=n.dashStyle,h=("_originalSW"in e?e._originalSW:n[b])||1,o="stroke-dasharray",r=null===r?"":(0,u.normalizeEnum)(r),""===r||"solid"===r||r===T)e.element.removeAttribute(o);else{for(r=r.replace(/longdash/g,"8,3,").replace(/dash/g,"4,3,").replace(/dot/g,"1,3,").replace(/,$/,"").split(","),f=r.length;f--;)r[f]=parseInt(r[f])*h;e.element.setAttribute(o,r.join(","))}return c&&e._applyTransformation(),e}function q(e,t,n,i,r){let a,s,l,c,u;if(void 0!==n.wholeText)e.push({value:n.wholeText,style:i,className:r,line:t,height:i[x]||0});else if("BR"===n.tagName)++t;else if(o.default.isElementNode(n)){switch(R(a={},i),n.tagName){case"B":case"STRONG":a[S]="bold";break;case"I":case"EM":a[C]="italic";break;case"U":a[w]="underline"}for(s=n.style,s.color&&(a.fill=s.color),s.fontSize&&(a[x]=s.fontSize),s.fontStyle&&(a[C]=s.fontStyle),s.fontWeight&&(a[S]=s.fontWeight),s.textDecoration&&(a[w]=s.textDecoration),l=0,u=n.childNodes,c=u.length;l<c;++l)t=q(e,t,u[l],a,n.className||r)}return t}function X(e,t,n){let i,r,a;for(i=0,r=e.length;i<r;++i)a=e[i],a[n]=P("tspan"),a[n].appendChild(o.default.createTextNode(a.value)),a.style&&$({element:a[n],_styles:{}},a.style),a.className&&a[n].setAttribute("class",a.className),t.appendChild(a[n])}function J(){this._hasEllipsis&&this.attr({text:this._settings.text})}function Q(e){let t;return e&&(t=e.cloneNode(),t.removeAttribute("y"),t.removeAttribute("x")),t||e}function ee(e){const t=o.default.querySelectorAll(e,"title");for(let n=0;n<t.length;n++)e.removeChild(t[n]);return t}function te(e,t,n,i){let o,r;if(n<=t&&i>t)for(o=1,r=e.value.length;o<=r;++o)if(n+e.tspan.getSubStringLength(0,o)>t)return o-1}function ne(e){return e.value.length?e.tspan.getSubStringLength(0,e.value.length):0}function ie(e,t){let{hideOverflowEllipsis:n}=t;return n&&0===e?"":A}function oe(e,t,n){const i=ie(t,n);if(e.value.length&&e.tspan.parentNode)for(let n=e.value.length-1;n>=1;n--){if(e.startBox+e.tspan.getSubStringLength(0,n)<t){ae(e,n,i);break}1===n&&ae(e,0,i)}}function re(e,t,n,i,o){const r=e.value;let a;"none"!==i.wordWrap&&(a="normal"===i.wordWrap?function(e,t){const n=e.startBox>0?[0]:[],i=e.value.split("").reduce(((e,t,n)=>(" "===t&&e.push(n),e)),n);let o=0;for(;void 0!==i[o+1]&&e.startBox+e.tspan.getSubStringLength(0,i[o+1])<t;)o++;return i[o]}(e,t):function(e,t){for(let n=0;n<e.value.length-1;n++)if(e.startBox+e.tspan.getSubStringLength(0,n+1)>t)return n}(e,t));let s,l=[];if(isFinite(a)&&(0!==o||0!==a)){ae(e,a,"");const o=" "===r[a]?1:0,c=r.slice(a+o);if(c.length){const o=Q(e.tspan);if(o.textContent=c,e.tspan.parentNode.appendChild(o),s=R(R({},e),{value:c,startBox:0,height:0,tspan:o,stroke:Q(e.stroke),endBox:o.getSubStringLength(0,c.length)}),s.stroke&&(s.stroke.textContent=c),s.endBox>t&&(l=re(s,t,n,i,a),!l.length))return[]}}if(e.value.length){if("ellipsis"===i.textOverflow&&e.tspan.getSubStringLength(0,e.value.length)>t&&oe(e,n,i),"hide"===i.textOverflow&&e.tspan.getSubStringLength(0,e.value.length)>t)return[]}else e.tspan.parentNode.removeChild(e.tspan);const c=[];return s&&c.push(s),[{commonLength:r.length,parts:c}].concat(l)}function ae(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;const i=e.value.substr(0,t)+n;e.value=e.tspan.textContent=i,e.stroke&&(e.stroke.textContent=i),n===A&&(e.hasEllipsis=!0)}function se(e){e.tspan.parentNode&&e.tspan.parentNode.removeChild(e.tspan),e.stroke&&e.stroke.parentNode&&e.stroke.parentNode.removeChild(e.stroke)}function le(e,t,n){e.tspan.setAttribute(t,n),e.stroke&&e.stroke.setAttribute(t,n)}function ce(e,t){return e.inherits?de(e.height,t):e.height||t}function ue(e){if(!e._texts)return;const t=e._texts,n=e._settings.x,i=e._getLineHeight();let o,r,a=t[0];for(le(a,"x",n),le(a,"y",e._settings.y),o=1,r=t.length;o<r;++o)if(a=t[o],parseFloat(a.height)>=0){le(a,"x",n);le(a,"dy",ce(a,i))}}function de(e,t){const n=parseFloat(e),i=parseFloat(t),o=n||12,r=i||12;return o>r?isNaN(n)?o:e:isNaN(i)?r:t}function he(e,t,n,i){let o,r;n=n||{};const a=e.renderer,s=e._settings,l={},c={translateX:0,translateY:0,scaleX:1,scaleY:1,rotate:0,rotateX:0,rotateY:0};if(i&&(n.complete=i),a.animationEnabled()){for(o in t)r=t[o],/^(translate(X|Y)|rotate[XY]?|scale(X|Y))$/i.test(o)?(l.transform=l.transform||{from:{},to:{}},l.transform.from[o]=o in s?Number(s[o].toFixed(3)):c[o],l.transform.to[o]=r):l[o]="arc"===o||"segments"===o?r:{from:o in s?s[o]:parseFloat(e.element.getAttribute(o)||0),to:r};a.animateElement(e,l,R(R({},a._animation),n))}else n.step&&n.step.call(e,1,1),n.complete&&n.complete.call(e),e.attr(t);return e}function fe(e,t){const n={is:!1,name:t.name||t,after:t.after};return e?n.to=e:n.virtual=!0,n}let pe=function(e,t,n){const i=this;i.renderer=e,i.element=P(t),i._settings={},i._styles={},"path"===t&&(i.type=n||"line")};function ge(e){Se.remove(e)}t.SvgElement=pe,pe.prototype={constructor:pe,_getJQElement:function(){return this._$element||(this._$element=(0,i.default)(this.element))},_addFixIRICallback:function(){const e=this,t=function(){Y(e,"fill"),Y(e,"clip-path"),Y(e,"filter")};e.element._fixFuncIri=t,t.renderer=e.renderer,Se.add(t),e._addFixIRICallback=function(){}},_clearChildrenFuncIri:function(){const e=function(t){let n;for(n=0;n<t.childNodes.length;n++)ge(t.childNodes[n]._fixFuncIri),e(t.childNodes[n])};e(this.element)},dispose:function(){return ge(this.element._fixFuncIri),this._clearChildrenFuncIri(),this._getJQElement().remove(),this},append:function(e){return(e||this.renderer.root).element.appendChild(this.element),this},remove:function(){const e=this.element;return e.parentNode&&e.parentNode.removeChild(e),this},enableLinks:function(){return this._links=[],this},virtualLink:function(e){return xe({_link:fe(null,e)},this),this},linkAfter:function(e){return this._linkAfter=e,this},linkOn:function(e,t){return this._link=fe(e,t),xe(this,e),this},linkOff:function(){return function(e){let t;const n=e._link.to._links;for(t=0;n[t]!==e;++t);n.splice(t,1),ye(n,t)}(this),this._link=null,this},linkAppend:function(){const e=this._link,t=e.to._links;let n,i;for(n=e.i+1;(i=t[n])&&!i._link.is;++n);return this._insert(e.to,i),e.is=!0,this},_insert:function(e,t){e.element.insertBefore(this.element,t?t.element:null)},linkRemove:function(){return this.remove(),this._link.is=!1,this},clear:function(){return this._clearChildrenFuncIri(),this._getJQElement().empty(),this},toBackground:function(){const e=this.element,t=e.parentNode;return t&&t.insertBefore(e,t.firstChild),this},toForeground:function(){const e=this.element,t=e.parentNode;return t&&t.appendChild(e),this},attr:function(e){return K(this,e)},smartAttr:function(e){return this.attr(B(this,e))},css:function(e){return $(this,e)},animate:function(e,t,n){return he(this,e,t,n)},sharp(e,t){return this.attr({sharp:e||!0,sharpDirection:t})},_applyTransformation(){const e=this._settings;let t,n;const i=[],o=e.sharp,r=e.sharpDirection||1,a=e[b]%2,s=!a||"h"!==o&&!0!==o?0:.5*r,l=!a||"v"!==o&&!0!==o?0:.5*r;i.push("translate("+((e.translateX||0)+s)+","+((e.translateY||0)+l)+")"),e.rotate&&(t="rotateX"in e?e.rotateX:e.x,n="rotateY"in e?e.rotateY:e.y,i.push("rotate("+e.rotate+","+(t||0)+","+(n||0)+")"));const c=(0,d.isDefined)(e.scaleX),u=(0,d.isDefined)(e.scaleY);(c||u)&&i.push("scale("+(c?e.scaleX:1)+","+(u?e.scaleY:1)+")"),i.length&&this.element.setAttribute("transform",i.join(" "))},move:function(e,t,n,i){const o={};return(0,d.isDefined)(e)&&(o.translateX=e),(0,d.isDefined)(t)&&(o.translateY=t),n?this.animate(o,i):this.attr(o),this},rotate:function(e,t,n,i,o){const r={rotate:e||0};return(0,d.isDefined)(t)&&(r.rotateX=t),(0,d.isDefined)(n)&&(r.rotateY=n),i?this.animate(r,o):this.attr(r),this},_getElementBBox:function(){const e=this.element;let t;try{t=e.getBBox&&e.getBBox()}catch(e){}return t||{x:0,y:0,width:e.offsetWidth||0,height:e.offsetHeight||0}},getBBox:function(){const e=this._settings;let t=this._getElementBBox();return t=e.rotate?(0,u.rotateBBox)(t,[("rotateX"in e?e.rotateX:e.x)||0,("rotateY"in e?e.rotateY:e.y)||0],-e.rotate):(0,u.normalizeBBox)(t),t},markup:function(){return(0,l.getSvgMarkup)(this.element)},getOffset:function(){return this._getJQElement().offset()},stopAnimation:function(e){const t=this.animation;return t&&t.stop(e),this},setTitle:function(e){const t=P("title");t.textContent=e||"",this.element.appendChild(t)},removeTitle(){ee(this.element)},data:function(e,t){const n=this.element;let i;if(void 0!==t)n[e]=t;else for(i in e)n[i]=e[i];return this},on:function(){const e=[this._getJQElement()];return e.push.apply(e,arguments),s.default.on.apply(s.default,e),this},off:function(){const e=[this._getJQElement()];return e.push.apply(e,arguments),s.default.off.apply(s.default,e),this},trigger:function(){const e=[this._getJQElement()];return e.push.apply(e,arguments),s.default.trigger.apply(s.default,e),this}};let _e=function(e,t){pe.call(this,e,"path",t)};t.PathSvgElement=_e,R(_e.prototype=O(pe.prototype),{constructor:_e,attr:function(e){const t=this;let n;return L(e)&&(n=(e=R({},e)).segments,"points"in e&&(n=F(e.points,t.type),delete e.points),n&&(e.d=function(e){const t=[];let n,i=0;const o=e.length;let r,a,s;for(n=0;n<o;++n)for(r=e[n],a=0,s=r.length;a<s;++a)t[i++]=r[a];return t.join(" ")}(n),t.segments=n,delete e.segments)),K(t,e)},animate:function(e,t,n){const i=this,o=i.segments||[];let r,a;return i.renderer.animationEnabled()&&"points"in e&&(r=F(e.points,i.type),a=function(e,t,n){const i=e.length,o=t.length;let r,a;const s=-1!==n.indexOf("area")?U:W;if(0===i)for(r=0;r<o;r++)e.push(t[r].slice(0));else i<o?s(e,t,n):i>o&&(a=t.slice(0),s(t,e,n));return a}(o,r,i.type),e.segments={from:o,to:r,end:a},delete e.points),he(i,e,t,n)}});let me=function(e){pe.call(this,e,"path","arc")};t.ArcSvgElement=me,R(me.prototype=O(pe.prototype),{constructor:me,attr:function(e){const t=this._settings;let n,i,o,r,a,s;return L(e)&&("x"in(e=R({},e))||"y"in e||"innerRadius"in e||"outerRadius"in e||"startAngle"in e||"endAngle"in e)&&(t.x=n="x"in e?e.x:t.x,delete e.x,t.y=i="y"in e?e.y:t.y,delete e.y,t.innerRadius=o="innerRadius"in e?e.innerRadius:t.innerRadius,delete e.innerRadius,t.outerRadius=r="outerRadius"in e?e.outerRadius:t.outerRadius,delete e.outerRadius,t.startAngle=a="startAngle"in e?e.startAngle:t.startAngle,delete e.startAngle,t.endAngle=s="endAngle"in e?e.endAngle:t.endAngle,delete e.endAngle,e.d=V.apply(null,(0,u.normalizeArcParams)(n,i,o,r,a,s))),K(this,e)},animate:function(e,t,n){const i=this,o=i._settings,r={from:{},to:{}};return i.renderer.animationEnabled()&&("x"in e||"y"in e||"innerRadius"in e||"outerRadius"in e||"startAngle"in e||"endAngle"in e)&&(r.from.x=o.x||0,r.from.y=o.y||0,r.from.innerRadius=o.innerRadius||0,r.from.outerRadius=o.outerRadius||0,r.from.startAngle=o.startAngle||0,r.from.endAngle=o.endAngle||0,r.to.x="x"in e?e.x:o.x,delete e.x,r.to.y="y"in e?e.y:o.y,delete e.y,r.to.innerRadius="innerRadius"in e?e.innerRadius:o.innerRadius,delete e.innerRadius,r.to.outerRadius="outerRadius"in e?e.outerRadius:o.outerRadius,delete e.outerRadius,r.to.startAngle="startAngle"in e?e.startAngle:o.startAngle,delete e.startAngle,r.to.endAngle="endAngle"in e?e.endAngle:o.endAngle,delete e.endAngle,e.arc=r),he(i,e,t,n)}});let ve=function(e){pe.call(this,e,"rect")};t.RectSvgElement=ve,R(ve.prototype=O(pe.prototype),{constructor:ve,attr:function(e){const t=this;let n,i,o,r,a,s,l;return L(e)&&(void 0===(e=R({},e)).x&&void 0===e.y&&void 0===e.width&&void 0===e.height&&void 0===e[b]||(n=void 0!==e.x?t._originalX=e.x:t._originalX||0,i=void 0!==e.y?t._originalY=e.y:t._originalY||0,o=void 0!==e.width?t._originalWidth=e.width:t._originalWidth||0,r=void 0!==e.height?t._originalHeight=e.height:t._originalHeight||0,a=void 0!==e[b]?t._originalSW=e[b]:t._originalSW,s=~~((o<r?o:r)/2),l=(a||0)<s?a||0:s,e.x=n+l/2,e.y=i+l/2,e.width=o-l,e.height=r-l,((a||0)!==l||0!==l||void 0!==a)&&(e[b]=l)),"sharp"in e&&delete e.sharp),K(t,e)}});let be=function(e){pe.call(this,e,"text"),this.css({"white-space":"pre"})};function ye(e,t){let n,i;for(n=t;i=e[n];++n)i._link.i=n}function xe(e,t){const n=t._links,i=e._link.after=e._link.after||t._linkAfter;let o,r;if(i){for(o=0;(r=n[o])&&r._link.name!==i;++o);if(r)for(++o;(r=n[o])&&r._link.after===i;++o);}else o=n.length;n.splice(o,0,e),ye(n,o)}function Ce(e){const t=this;t.root=t._createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",fill:T,stroke:T,"stroke-width":0}).attr({class:e.cssClass}).css({"line-height":"normal","-moz-user-select":T,"-webkit-user-select":T,"-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)",display:"block",overflow:"hidden"}),t._init(),t.pathModified=!!e.pathModified,t._$container=(0,i.default)(e.container),t.root.append({element:e.container}),t._locker=0,t._backed=!1}t.TextSvgElement=be,R(be.prototype=O(pe.prototype),{constructor:be,attr:function(e){const t=this;let n;if(!L(e))return K(t,e);e=R({},e);const i=t._settings,r=(0,d.isDefined)(i[v])&&(0,d.isDefined)(i[b]);void 0!==e[m]&&(i[m]=e[m],delete e[m],n=!0),void 0!==e[v]&&(i[v]=e[v],delete e[v]),void 0!==e[b]&&(i[b]=e[b],delete e[b]),void 0!==e[y]&&(i[y]=e[y],delete e[y]),void 0!==e[E]&&(!function(e,t){if(!e._texts||"center"===t)return;const n=e._texts,i="left"===t?-1:1,o=Math.max.apply(Math,n.map((e=>ne(e))));for(let e=0;e<n.length;e++){const t=n[e],r=ne(t);0!==o&&o!==r&&le(t,"dx",i*g((o-r)/2*10)/10)}}(t,e[E]),delete e[E]);const a=(0,d.isDefined)(i[v])&&(0,d.isDefined)(i[b]);return K(t,e),n=n||a!==r&&i[m],n&&(!function(e,t,n){let i,r;if(e._texts=null,e.clear(),null===t)return;t=""+t,e.renderer.encodeHtml||!/<[a-z][\s\S]*>/i.test(t)&&-1===t.indexOf("&")?/\n/g.test(t)?i=function(e){const t=e.replace(/\r/g,"").split(/\n/g);let n=0;const i=[];for(;n<t.length;n++)i.push({value:t[n].trim(),height:0,line:n});return i}(t):n&&(i=[{value:t.trim(),height:0}]):(r=function(e){const t=/(?:(<[a-z0-9]+\s*))([\s\S]*?)(>|\/>)/gi,n=/(style|class)\s*=\s*(["'])(?:(?!\2).)*\2\s?/gi;return e.replace(t,(function(e,t,i,o){return t+(i=(i&&i.match(n)||[]).map((function(e){return e})).join(" "))+o}))}(t),i=function(e){const t=[],n=o.default.createElement("div");return n.innerHTML=e.replace(/\r/g,"").replace(/\n/g,"<br/>").replace(/style=/g,"data-style="),n.querySelectorAll("[data-style]").forEach((e=>{e.style=e.getAttribute("data-style"),e.removeAttribute("data-style")})),q(t,0,n,{},""),function(e){let t,n,i,o=e[0];for(t=1,n=e.length;t<n;++t)i=e[t],i.line===o.line?(o.height=de(o.height,i.height),o.inherits=o.inherits||0===parseFloat(i.height),i.height=NaN):o=i}(t),t}(r));i?i.length&&(e._texts=i,n&&X(i,e.element,v),X(i,e.element,"tspan")):e.element.appendChild(o.default.createTextNode(t))}(t,i.text,a),t._hasEllipsis=!1),(n||void 0!==e.x||void 0!==e.y)&&ue(t),a&&function(e){if(!e._texts)return;const t=e._texts,n=e._settings[v],i=e._settings[b],o=e._settings[y]||1;let r,a,s;for(a=0,s=t.length;a<s;++a)r=t[a].stroke,r.setAttribute(v,n),r.setAttribute(b,i),r.setAttribute(y,o),r.setAttribute("stroke-linejoin","round")}(t),t},css:function(e){return $(this,e=e||{}),x in e&&ue(this),this},applyEllipsis:function(e){const t=this;let n,i,o,r,a,s,l,c=!1;J.call(t);const u=t.renderer.text(A).attr(t._styles).append(t.renderer.root),h=u.getBBox().width;if(t._getElementBBox().width>e)for(e-h<0?e=0:e-=h,n=function(e,t,n){let i,o,r,a,s,l=[];if(t)for(i=0,o=t.length;i<o;++i)r=t[i],l[r.line]?(r.startBox=a,l[r.line].parts.push(r),l[r.line].commonLength+=r.value.length):(r.startBox=a=0,l.push({commonLength:r.value.length,parts:[r]})),s=a+r.tspan.getSubStringLength(0,r.value.length),r.endIndex=te(r,n,a,s),a=s;else r={value:e.textContent,tspan:e},r.startBox=a=0,s=a+ne(r),r.endIndex=te(r,n,a,s),l=[{commonLength:e.textContent.length,parts:[r]}];return l}(t.element,t._texts,e),i=0,o=n.length;i<o;++i)if(r=n[i].parts,1!==n[i].commonLength)for(a=0,s=r.length;a<s;++a)l=r[a],(0,d.isDefined)(l.endIndex)?(ae(l,l.endIndex),c=!0):l.startBox>e&&se(l);return u.remove(),t._hasEllipsis=c,c},setMaxSize:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this;let o=[],r=!1,a=!1,s=e;J.call(i);const l=function(e){const t=ee(e);return()=>{for(let n=0;n<t.length;n++)e.appendChild(t[n])}}(this.element),c=i.renderer.text(A).attr(i._styles).append(i.renderer.root),u=c.getBBox().width,{width:h,height:f}=i._getElementBBox();return(h||f)&&(h>e||t&&f>t)&&(e-u<0?s=0:s-=u,o=function(e,t,n,i,o){if(!t){const n={value:e.textContent,height:0,line:0};e.textContent="",X([n],e,"tspan"),t=[n]}return t.reduce(((e,t)=>{let[r,a,s,l,c]=e;const u=r[r.length-1];if(l)return[r,a,s,l];if(u&&t.line===c){if(t.startBox=a,a>i&&"none"===o.wordWrap&&"ellipsis"===o.textOverflow)return se(t),[r,a,s,l,c];u.parts.push(t),u.commonLength+=t.value.length}else t.startBox=a=0,r.push({commonLength:t.value.length,parts:[t]});if(t.endBox=s=a+ne(t),a=s,(0,d.isDefined)(n)&&s>n){const e=re(t,n,i,o);e.length?r=r.concat(e.filter((e=>e.parts.length>0))):(r=[],l=!0)}return[r,a,s,l,t.line]}),[[],0,0,!1,0])[0]}(i.element,i._texts,e,s,n),o=function(e,t,n,i,o){const r=n.textOverflow;if(!isFinite(i)||0===Number(i)||"none"===r)return e;const a=e.reduce(((e,a,s,l)=>{let[c,u]=e;const d=function(e,t){return e.parts.reduce(((e,n)=>p(e,ce(n,t))),0)}(a,o);if(u+=d,u<i)c.push(a);else if(a.parts.forEach((e=>{se(e)})),"ellipsis"===r){const e=l[s-1];if(e){const i=e.parts[e.parts.length-1];i.hasEllipsis||(0===t||i.endBox<t?ae(i,i.value.length,ie(t,n)):oe(i,t,n))}}return[c,u]}),[[],0]);if("hide"===r&&a[1]>i)return a[0].forEach((e=>{e.parts.forEach((e=>{se(e)}))})),[];return a[0]}(o,s,n,t,parseFloat(this._getLineHeight())),this._texts=o.reduce(((e,t)=>e.concat(t.parts)),[]).filter((e=>""!==e.value)).map((e=>(e.stroke&&e.tspan.parentNode.appendChild(e.stroke),e))).map((e=>(e.tspan.parentNode.appendChild(e.tspan),e))),!this._texts.length&&(this._texts=null),r=!0,this._texts?ue(this):(this.element.textContent="",a=!0)),c.remove(),i._hasEllipsis=r,l(),{rowCount:o.length,textChanged:r,textIsEmpty:a}},restoreText:J,_getLineHeight(){return isNaN(parseFloat(this._styles[x]))?12:this._styles[x]}}),Ce.prototype={constructor:Ce,_init:function(){const e=this;e._defs=e._createElement("defs").append(e.root),e._animationController=new c.AnimationController(e.root.element),e._animation={enabled:!0,duration:1e3,easing:"easeOutCubic"}},setOptions:function(e){const t=this;return t.rtl=!!e.rtl,t.encodeHtml=!!e.encodeHtml,t.updateAnimationOptions(e.animation||{}),t.root.attr({direction:t.rtl?"rtl":"ltr"}),t},_createElement:function(e,t,n){const i=new pe(this,e,n);return t&&i.attr(t),i},lock:function(){const e=this;var t;return 0===e._locker&&(e._backed=!e._$container.is(":visible"),e._backed&&(t=e.root,0===D().backupCounter&&o.default.getBody().appendChild(D().backupContainer),++D().backupCounter,t.append({element:D().backupContainer}))),++e._locker,e},unlock:function(){const e=this;var t,n;return--e._locker,0===e._locker&&(e._backed&&(t=e.root,n=e._$container[0],t.append({element:n}),--D().backupCounter,0===D().backupCounter&&o.default.getBody().removeChild(D().backupContainer)),e._backed=!1),e},resize:function(e,t){return e>=0&&t>=0&&this.root.attr({width:e,height:t}),this},dispose:function(){const e=this;let t;for(t in e.root.dispose(),e._defs.dispose(),e._animationController.dispose(),Se.removeByRenderer(e),e)e[t]=null;return e},animationEnabled:function(){return!!this._animation.enabled},updateAnimationOptions:function(e){return R(this._animation,e),this},stopAllAnimations:function(e){return this._animationController[e?"lock":"stop"](),this},animateElement:function(e,t,n){return this._animationController.animateElement(e,t,n),this},svg:function(){return this.root.markup()},getRootOffset:function(){return this.root.getOffset()},onEndAnimation:function(e){this._animationController.onEndAnimation(e)},rect:function(e,t,n,i){return new ve(this).attr({x:e||0,y:t||0,width:n||0,height:i||0})},simpleRect:function(){return this._createElement("rect")},circle:function(e,t,n){return this._createElement("circle",{cx:e||0,cy:t||0,r:n||0})},g:function(){return this._createElement("g")},image:function(e,t,n,i,o,r){const a=this._createElement("image",{x:e||0,y:t||0,width:n||0,height:i||0,preserveAspectRatio:I[(0,u.normalizeEnum)(r)]||T});return a.element.setAttributeNS("http://www.w3.org/1999/xlink","href",o||""),a},path:function(e,t){return new _e(this,t).attr({points:e||[]})},arc:function(e,t,n,i,o,r){return new me(this).attr({x:e||0,y:t||0,innerRadius:n||0,outerRadius:i||0,startAngle:o||0,endAngle:r||0})},text:function(e,t,n){return new be(this).attr({text:e,x:t||0,y:n||0})},linearGradient:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.getNextDefsSvgId)(),n=arguments.length>2?arguments[2]:void 0;const i=this._createElement("linearGradient",{id:t,gradientTransform:`rotate(${n||0})`}).append(this._defs);return i.id=t,this._createGradientStops(e,i),i},radialGradient:function(e,t){const n=this._createElement("radialGradient",{id:t}).append(this._defs);return this._createGradientStops(e,n),n},_createGradientStops:function(e,t){e.forEach((e=>{this._createElement("stop",{offset:e.offset,"stop-color":e["stop-color"]??e.color,"stop-opacity":e.opacity}).append(t)}))},pattern:function(e,t,n){const i=this,o=(t=t||{}).step||6,r=o/2,a=1.5*o,s=n||(0,u.getNextDefsSvgId)(),l="right"===(0,u.normalizeEnum)(t.direction)?"M "+r+" "+-r+" L "+-r+" "+r+" M 0 "+o+" L "+o+" 0 M "+a+" "+r+" L "+r+" "+a:"M 0 0 L "+o+" "+o+" M "+-r+" "+r+" L "+r+" "+a+" M "+r+" "+-r+" L "+a+" "+r,c=i._createElement("pattern",{id:s,width:o,height:o,patternUnits:"userSpaceOnUse"}).append(i._defs);c.id=s;i.rect(0,0,o,o).attr({fill:e,opacity:t.opacity}).append(c),new _e(this).attr({d:l,"stroke-width":t.width||1,stroke:e}).append(c);return c},customPattern:function(e,t,n,i){const o={id:e,width:n,height:i,patternContentUnits:"userSpaceOnUse",patternUnits:this._getPatternUnits(n,i)},r=this._createElement("pattern",o).append(this._defs);return t.render({container:r.element}),r},_getPatternUnits:function(e,t){if(Number(e)&&Number(t))return"userSpaceOnUse"},_getPointsWithYOffset:function(e,t){return e.map((function(e,n){return n%2!=0?e+t:e}))},clipShape:function(e,t){const n=this,i=(0,u.getNextDefsSvgId)();let o=n._createElement("clipPath",{id:i}).append(n._defs);const r=e.apply(n,t).append(o);return r.id=i,r.remove=function(){throw"Not implemented"},r.dispose=function(){return o.dispose(),o=null,this},r},clipRect(e,t,n,i){return this.clipShape(this.rect,arguments)},clipCircle(e,t,n){return this.clipShape(this.circle,arguments)},shadowFilter:function(e,t,n,i,o,r,a,s,l){const c=this,d=(0,u.getNextDefsSvgId)(),h=c._createElement("filter",{id:d,x:e||0,y:t||0,width:n||0,height:i||0}).append(c._defs),f=c._createElement("feGaussianBlur",{in:"SourceGraphic",result:"gaussianBlurResult",stdDeviation:a||0}).append(h),p=c._createElement("feOffset",{in:"gaussianBlurResult",result:"offsetResult",dx:o||0,dy:r||0}).append(h),g=c._createElement("feFlood",{result:"floodResult","flood-color":s||"","flood-opacity":l}).append(h),_=c._createElement("feComposite",{in:"floodResult",in2:"offsetResult",operator:"in",result:"compositeResult"}).append(h),m=c._createElement("feComposite",{in:"SourceGraphic",in2:"compositeResult",operator:"over"}).append(h);return h.id=d,h.gaussianBlur=f,h.offset=p,h.flood=g,h.composite=_,h.finalComposite=m,h.attr=function(e){const t=this,n={},i={},o={};return"x"in e&&(n.x=e.x),"y"in e&&(n.y=e.y),"width"in e&&(n.width=e.width),"height"in e&&(n.height=e.height),K(t,n),"blur"in e&&t.gaussianBlur.attr({stdDeviation:e.blur}),"offsetX"in e&&(i.dx=e.offsetX),"offsetY"in e&&(i.dy=e.offsetY),t.offset.attr(i),"color"in e&&(o["flood-color"]=e.color),"opacity"in e&&(o["flood-opacity"]=e.opacity),t.flood.attr(o),t},h},brightFilter:function(e,t){const n=this,i=(0,u.getNextDefsSvgId)(),o=n._createElement("filter",{id:i}).append(n._defs),r=n._createElement("feComponentTransfer").append(o),a={type:e,slope:t};return o.id=i,n._createElement("feFuncR",a).append(r),n._createElement("feFuncG",a).append(r),n._createElement("feFuncB",a).append(r),o},getGrayScaleFilter:function(){if(this._grayScaleFilter)return this._grayScaleFilter;const e=this,t=(0,u.getNextDefsSvgId)(),n=e._createElement("filter",{id:t}).append(e._defs);return e._createElement("feColorMatrix").attr({type:"matrix",values:"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 0.6 0"}).append(n),n.id=t,e._grayScaleFilter=n,n},lightenFilter:function(e){const t=this._createElement("filter",{id:e}).append(this._defs);return this._createElement("feColorMatrix",{type:"matrix",values:"1.3 0 0 0 0 0 1.3 0 0 0 0 0 1.3 0 0 0 0 0 1 0"}).append(t),t.id=e,t},initDefsElements:function(){const e=this._defsElementsStorage=this._defsElementsStorage||{byHash:{},baseId:(0,u.getNextDefsSvgId)()},t=e.byHash;let n;for(n in t)t[n].pattern.dispose();e.byHash={},e.refToHash={},e.nextId=0},drawPattern:function(e,t,n){let{color:i,hatching:o}=e;return this.pattern(i,o,`${t}-hatching-${n++}`)},drawFilter:function(e,t,n){return this.lightenFilter(`${t}-lightening-${n++}`)},lockDefsElements:function(e,t,n){const i=this._defsElementsStorage;let o;const r="pattern"===n?function(e){let{color:t,hatching:n}=e;return"@"+t+"::"+n.step+":"+n.width+":"+n.opacity+":"+n.direction}(e):"@filter::lightening",a="pattern"===n?this.drawPattern:this.drawFilter;let s;return i.refToHash[t]!==r&&(t&&this.releaseDefsElements(t),o=i.byHash[r],o||(s=a.call(this,e,i.baseId,i.nextId++),o=i.byHash[r]={pattern:s,count:0},i.refToHash[s.id]=r),++o.count,t=o.pattern.id),t},releaseDefsElements:function(e){const t=this._defsElementsStorage,n=t.refToHash[e],i=t.byHash[n];i&&0==--i.count&&(i.pattern.dispose(),delete t.byHash[n],delete t.refToHash[e])}};const Se=function(){let e=[];return{add:function(t){e.push(t)},remove:function(t){e=e.filter((function(e){return e!==t}))},removeByRenderer:function(t){e=e.filter((function(e){return e.renderer!==t}))},fire:function(){e.forEach((function(e){e()}))}}}();t.refreshPaths=function(){Se.fire()}},11348:function(e,t,n){t.SeriesFamily=M;var i,o=n(11528),r=n(52576),a=n(21274),s=n(50254),l=n(17781),c=n(28779),u=(i=n(41380))&&i.__esModule?i:{default:i};const{round:d,abs:h,pow:f,sqrt:p}=Math,g=Math.min,_=.3;function m(e,t,n,i,r,s,l){e.forEach((function(e){const c=l(t.indexOf(i),t.length),u=e.getPointsByArg(n,!0),d=function(e){return e<0||e>1?void 0:e}(e.getOptions().barPadding),h=e.getOptions().barWidth;let f,p=x(c,r),g=r.width;-1!==c&&(((0,o.isDefined)(d)||(0,o.isDefined)(h))&&(f=y(s,t.length,1-d,h),g=f.width,e.getBarOverlapGroup()||(p=x(c,f))),function(e,t,n){(0,a.each)(e,(function(e,i){i.correctCoordinates({width:t,offset:n})}))}(u,g,p))}))}function v(e){return e.getStackName()||e.getBarOverlapGroup()}function b(e,t,n){var i,o;const r=[],a=[],s={},l=t.barGroupWidth,c=null===(i=e[0])||void 0===i?void 0:i.getArgumentAxis();let d;if(null!==(o=e[0])&&void 0!==o&&o.useAggregation()){var h;const t="datetime"===(null===(h=e[0])||void 0===h?void 0:h.argumentType);let n=c.getTickInterval(),i=c.getAggregationInterval();n=t?u.default.dateToMilliseconds(n):n,i=t?u.default.dateToMilliseconds(i):i,d=i<n?i:n}d=null==c?void 0:c.getTranslator().getInterval(d);const f=l?d>l?l:d:d*(1-((p=t.barGroupPadding)<0||p>1?_:p));var p;e.forEach((function(e,t){const n=v(e)||t.toString();let i;for(i in e.pointsByArgument)-1===a.indexOf(i.valueOf())&&a.push(i.valueOf());-1===r.indexOf(n)&&(r.push(n),s[n]=[]),s[n].push(e)})),a.forEach((function(e){const t=r.reduce(((t,n)=>(function(e,t){return e.some((function(e){return!e.getOptions().ignoreEmptyPoints||e.getPointsByArg(t,!0).some((function(e){return e.hasValue()}))}))}(s[n],e)&&t.push(n),t)),[]),i=y(f,t.length);r.forEach((o=>{m(s[o],t,e,o,i,f,n)}))}))}function y(e,t,n,i){let r,a;return i?(a=g(i,e/t),r=t>1?d((e-d(a)*t)/(t-1)):0):(0,o.isDefined)(n)?(a=e*n/t,r=t>1?d((e-e*n)/(t-1)):0):(r=d(e/t*.2),a=(e-r*(t-1))/t),{width:a>1?d(a):1,spacing:r,middleIndex:t/2,rawWidth:a}}function x(e,t){const n=t.rawWidth<1?t.rawWidth:t.width;return(e-t.middleIndex+.5)*n-(t.middleIndex-e-.5)*t.spacing}function C(e){return e.series.filter((function(e){return e.isVisible()}))}function S(e,t,n){return((e.positive[t]||{})[n]||0)+(-(e.negative[t]||{})[n]||0)}function w(e){return e?function(e,t){return t-e-1}:function(e){return e}}function E(e){return e[0]&&e[0].getArgumentAxis().getTranslator().isInverted()}function T(){const e=C(this);b(e,this._options,w(E(e)))}function A(){const e=this,t=e._options.negativesAsZeroes,n=C(e),i={positive:{},negative:{}},o={left:{},right:{}},a={},l={};n.forEach((function(e){const n=v(e);let c=!1;const u=function(e){const t=e.getPoints();let n;for(let e=0;e<t.length;e++){const i=t[e];if(n=i.initialValue&&i.initialValue.valueOf(),h(n)>0)break}return(0,s.sign)(n)}(e)<0?l:a;e._prevSeries=u[n],u[n]=e,e.holes=(0,r.extend)(!0,{},o),e.getPoints().forEach((function(r,a,s){let l=r.initialValue&&r.initialValue.valueOf(),u=r.argument.valueOf(),d=l>=0?i.positive:i.negative;const h="bar"!==e.type;t&&l<0&&(d=i.positive,l=0,r.resetValue()),d[n]=d[n]||{};const f=d[n];if(f[u]?(h&&r.correctValue(f[u]),f[u]+=l):(f[u]=l,h&&r.resetCorrection()),r.hasValue())c&&(c=!1,o.left[u]=(o.left[u]||0)+(r.value.valueOf()-(isFinite(r.minValue)?r.minValue.valueOf():0)),r._skipSetLeftHole=!0);else{const e=s[a-1];!c&&e&&e.hasValue()&&(u=e.argument.valueOf(),e._skipSetRightHole=!0,o.right[u]=(o.right[u]||0)+(e.value.valueOf()-(isFinite(e.minValue)?e.minValue.valueOf():0))),c=!0}}))})),n.forEach((function(e){const t=e.holes;e.getPoints().forEach((function(e){const n=e.argument.valueOf();e.resetHoles(),!e._skipSetLeftHole&&e.setHole(t.left[n]||o.left[n]&&0,"left"),!e._skipSetRightHole&&e.setHole(t.right[n]||o.right[n]&&0,"right"),e._skipSetLeftHole=null,e._skipSetRightHole=null}))})),e._stackKeepers=i,n.forEach((function(e){e.getPoints().forEach((function(t){const n=t.argument.valueOf(),r=v(e),a=S(i,r,n),s=function(e,t,n){return((e.positive[t]||{})[n]||0)+((e.negative[t]||{})[n]||0)}(i,r,n);t.setPercentValue(a,s,o.left[n],o.right[n])}))}))}function O(){const e=this,t=C(e),n=e._stackKeepers,i={positive:{},negative:{}};(0,a.each)(t,(function(t,o){const r=o.getOptions().minBarSize,s=o.getValueAxis().getTranslator(),l=r&&s.getMinBarSize(r),c=o.getStackName();(0,a.each)(o.getPoints(),(function(t,o){if(!o.hasValue())return;let r=o.initialValue&&o.initialValue.valueOf();const a=o.argument.valueOf();e.fullStacked&&(r=r/S(n,c,a)||0);const u=s.checkMinBarSize(r,l,o.value),d=function(e){return e>=0?"positive":"negative"}(u),h=i[d][c]=i[d][c]||{};h[a]?(o.minValue=h[a],h[a]+=u):h[a]=u,o.value=h[a]}))})),e.fullStacked&&function(e,t){(0,a.each)(e,(function(e,n){const i=n.getStackName?n.getStackName():"default";(0,a.each)(n.getPoints(),(function(e,n){const r=S(t,i,n.argument.valueOf());0!==r&&(n.value=n.value/r,(0,o.isNumeric)(n.minValue)&&(n.minValue=n.minValue/r))}))}))}(t,i)}function k(){const e=C(this);(0,a.each)(e,(function(e,t){const n=t.getOptions().minBarSize,i=t.getValueAxis().getTranslator(),o=n&&i.getMinBarSize(n);o&&(0,a.each)(t.getPoints(),(function(e,t){t.hasValue()&&t.value.valueOf()-t.minValue.valueOf()<o&&(t.value=i.toValue(t.value.valueOf()+o/2),t.minValue=i.toValue(t.minValue.valueOf()-o/2))}))}))}function D(){(0,a.each)(this.series,(function(e,t){const n=t.getOptions().minBarSize,i=t.getValueAxis().getTranslator(),o=n&&i.getMinBarSize(n);o&&(0,a.each)(t.getPoints(),(function(e,t){t.hasValue()&&(t.value=i.checkMinBarSize(t.initialValue,o))}))}))}function L(){const e=C(this);b(e,{barGroupPadding:.3},w(E(e)))}function P(){const e=C(this);if(!e.length)return;const t=this._options,n=e[0].getArgumentAxis().getVisibleArea(),i=e[0].getValueAxis().getVisibleArea(),o=g(n[1]-n[0],i[1]-i[0]),r=f(t.minBubbleSize,2),s=f(o*t.maxBubbleSize,2),l=(o*t.maxBubbleSize+t.minBubbleSize)/2;let c,u,_,m=1/0,v=-1/0;(0,a.each)(e,(function(e,t){(0,a.each)(t.getPoints(),(function(e,t){v=v>t.size?v:t.size,m=m<t.size?m:t.size}))}));const b=v-m,y=h(s-r);(0,a.each)(e,(function(e,t){(0,a.each)(t.getPoints(),(function(e,t){v===m?c=d(l):(_=h(t.size-m)/b,u=y*_+r,c=d(p(u))),t.correctCoordinates(c)}))}))}function M(e){const t=this;switch(t.type=(0,c.normalizeEnum)(e.type),t.pane=e.pane,t.series=[],t.updateOptions(e),t.type){case"bar":t.adjustSeriesDimensions=T,t.updateSeriesValues=D,t.adjustSeriesValues=A;break;case"rangebar":t.adjustSeriesDimensions=T,t.updateSeriesValues=k;break;case"fullstackedbar":t.fullStacked=!0,t.adjustSeriesDimensions=T,t.adjustSeriesValues=A,t.updateSeriesValues=O;break;case"stackedbar":t.adjustSeriesDimensions=T,t.adjustSeriesValues=A,t.updateSeriesValues=O;break;case"fullstackedarea":case"fullstackedline":case"fullstackedspline":case"fullstackedsplinearea":t.fullStacked=!0,t.adjustSeriesValues=A;break;case"stackedarea":case"stackedsplinearea":case"stackedline":case"stackedspline":t.adjustSeriesValues=A;break;case"candlestick":case"stock":t.adjustSeriesDimensions=L;break;case"bubble":t.adjustSeriesDimensions=P}}M.prototype={constructor:M,adjustSeriesDimensions:l.noop,adjustSeriesValues:l.noop,updateSeriesValues:l.noop,updateOptions:function(e){this._options=e},dispose:function(){this.series=null},add:function(e){const t=this.type;this.series=(0,c.map)(e,(e=>e.type===t?e:null))}}},16216:function(e,t,n){t.plugin=t.Title=void 0;var i=n(11528),o=n(52576),r=n(28779),a=n(77461);const s=Number,l=(0,r.enumParser)(["left","center","right"]),c=(0,r.enumParser)(["top","bottom"]);function u(e){return!!(e&&String(e).length>0)}function d(e,t,n,i,o){e.attr({text:t}).setMaxSize(n,o,i).textChanged&&e.setTitle(t)}function h(e){return e>=0?s(e):10}let f=function(e){this._params=e,this._group=e.renderer.g().attr({class:e.cssClass}).linkOn(e.root||e.renderer.root,"title"),this._hasText=!1};t.Title=f,(0,o.extend)(f.prototype,a.LayoutElement.prototype,{dispose:function(){const e=this;e._group.linkRemove(),e._group.linkOff(),e._titleElement&&(e._clipRect.dispose(),e._titleElement=e._subtitleElement=e._clipRect=null),e._params=e._group=e._options=null},_updateOptions:function(e){this._options=e,this._options.horizontalAlignment=l(e.horizontalAlignment,"center"),this._options.verticalAlignment=c(e.verticalAlignment,"top"),this._options.margin=function(e){let t;return t=e>=0?{left:s(e),top:s(e),right:s(e),bottom:s(e)}:{left:h((e=e||{}).left),top:h(e.top),right:h(e.right),bottom:h(e.bottom)},t}(e.margin)},_updateStructure:function(){const e=this,t=e._params.renderer,n=e._group,i=e._options,o=i.horizontalAlignment;e._titleElement||(e._titleElement=t.text().append(n),e._subtitleElement=t.text(),e._clipRect=t.clipRect(),n.attr({"clip-path":e._clipRect.id})),e._titleElement.attr({align:o,class:i.cssClass}),e._subtitleElement.attr({align:o,class:i.subtitle.cssClass}),n.linkAppend(),u(i.subtitle.text)?e._subtitleElement.append(n):e._subtitleElement.remove()},_updateTexts:function(){const e=this,t=e._options,n=t.subtitle,i=e._titleElement,o=e._subtitleElement;let a;i.attr({text:"A",y:0}).css((0,r.patchFontOptions)(t.font)),a=i.getBBox(),e._baseLineCorrection=a.height+a.y,i.attr({text:t.text}),a=i.getBBox();const s=-a.y;i.attr({y:s}),u(n.text)&&o.attr({text:n.text,y:0}).css((0,r.patchFontOptions)(n.font))},_shiftSubtitle(){const e=this,t=e._titleElement.getBBox(),n=e._subtitleElement,i=e._options.subtitle.offset;n.move(0,t.y+t.height-n.getBBox().y-i)},_updateBoundingRectAlignment:function(){const e=this._boundingRect,t=this._options;e.verticalAlignment=t.verticalAlignment,e.horizontalAlignment=t.horizontalAlignment,e.cutLayoutSide=t.verticalAlignment,e.cutSide="vertical",e.position={horizontal:t.horizontalAlignment,vertical:t.verticalAlignment}},hasText:function(){return this._hasText},update:function(e,t){const n=this,r=(0,o.extend)(!0,{},e,function(e){const t=(0,i.isString)(e)?{text:e}:e||{};return t.subtitle=(0,i.isString)(t.subtitle)?{text:t.subtitle}:t.subtitle||{},t}(t)),a=u(r.text),s=a||a!==n._hasText;return n._baseLineCorrection=0,n._updateOptions(r),n._boundingRect={},a?(n._updateStructure(),n._updateTexts()):n._group.linkRemove(),n._updateBoundingRect(),n._updateBoundingRectAlignment(),n._hasText=a,s},draw:function(e,t){const n=this;return n._hasText&&(n._group.linkAppend(),n._correctTitleLength(e),n._group.getBBox().height>t&&this.freeSpace()),n},_correctTitleLength:function(e){const t=this,n=t._options,i=n.margin,o=e-i.left-i.right;let r=n.placeholderSize;d(t._titleElement,n.text,o,n,r),t._subtitleElement&&(s(r)>0&&(r-=t._titleElement.getBBox().height),d(t._subtitleElement,n.subtitle.text,o,n.subtitle,r),t._shiftSubtitle()),t._updateBoundingRect();const{x:a,y:l,height:c}=this.getCorrectedLayoutOptions();this._clipRect.attr({x:a,y:l,width:e,height:c})},getLayoutOptions:function(){return this._boundingRect||null},shift:function(e,t){const n=this,i=n.getLayoutOptions();return n._group.move(e-i.x,t-i.y),n},_updateBoundingRect:function(){const e=this,t=e._options,n=t.margin,i=e._boundingRect,o=e._hasText?e._group.getBBox():{width:0,height:0,x:0,y:0,isEmpty:!0};o.isEmpty||(o.height+=n.top+n.bottom-e._baseLineCorrection,o.width+=n.left+n.right,o.x-=n.left,o.y+=e._baseLineCorrection-n.top),t.placeholderSize>0&&(o.height=t.placeholderSize),i.height=o.height,i.width=o.width,i.x=o.x,i.y=o.y},getCorrectedLayoutOptions(){const e=this.getLayoutOptions(),t=this._baseLineCorrection;return(0,o.extend)({},e,{y:e.y-t,height:e.height+t})},layoutOptions:function(){return this._hasText?{horizontalAlignment:this._boundingRect.horizontalAlignment,verticalAlignment:this._boundingRect.verticalAlignment,priority:0}:null},measure:function(e){return this.draw(e[0],e[1]),[this._boundingRect.width,this._boundingRect.height]},move:function(e,t){!function(e,t){return e[2]-e[0]<t.width||e[3]-e[1]<t.height}(e,this._boundingRect)?this.shift(Math.round(e[0]),Math.round(e[1])):this.shift(t[0],t[1])},freeSpace:function(){const e=this;e._params.incidentOccurred("W2103"),e._group.linkRemove(),e._boundingRect.width=e._boundingRect.height=0},getOptions:function(){return this._options},changeLink:function(e){this._group.linkRemove(),this._group.linkOn(e,"title")}});t.plugin={name:"title",init:function(){const e=this;e._title=new f({renderer:e._renderer,cssClass:e._rootClassPrefix+"-title",incidentOccurred:e._incidentOccurred}),e._layout.add(e._title)},dispose:function(){this._title.dispose(),this._title=null},customize:function(e){e.addChange({code:"TITLE",handler:function(){this._title.update(this._themeManager.theme("title"),this.option("title"))&&this._change(["LAYOUT"])},isThemeDependent:!0,option:"title",isOptionChange:!0})},fontFields:["title.font","title.subtitle.font"]}},23277:function(e,t,n){t.plugin=t.Tooltip=void 0;var i=n(57653),o=n(58515),r=_(n(64960)),a=n(3104),s=n(86858),l=n(53124),c=_(n(64553)),u=n(63022),d=n(11528),h=n(52576),f=n(28779),p=_(n(2082)),g=n(87040);function _(e){return e&&e.__esModule?e:{default:e}}const m=p.default.format,v=Math.ceil,b=Math.max,y=Math.min,x=(0,a.getWindow)();function C(e){e.css({left:"-9999px"}).detach()}function S(){return(0,c.default)("<div>").css({position:"relative",display:"inline-block",padding:0,margin:0,border:"0px solid transparent"})}let w=function(e){const t=this;t._eventTrigger=e.eventTrigger,t._widgetRoot=e.widgetRoot,t._widget=e.widget,t._textHtmlContainers=[],t._wrapper=(0,c.default)("<div>").css({position:"absolute",overflow:"hidden",pointerEvents:"none"}).addClass(e.cssClass);const n=t._renderer=new u.Renderer({pathModified:e.pathModified,container:t._wrapper[0]});n.root.attr({"pointer-events":"none"}),t._text=n.text(void 0,0,0),t._textGroupHtml=(0,c.default)("<div>").css({position:"absolute",padding:0,margin:0,border:"0px solid transparent"}).appendTo(t._wrapper),t._textHtml=S().appendTo(t._textGroupHtml)};t.Tooltip=w,w.prototype={constructor:w,dispose:function(){this._wrapper.remove(),this._renderer.dispose(),this._options=this._widgetRoot=null},_getContainer:function(){const e=this._options;let t=(0,c.default)(this._widgetRoot).closest(e.container);return 0===t.length&&(t=(0,c.default)(e.container)),(t.length?t:(0,c.default)("body")).get(0)},setTemplate(e){this._template=e?this._widget._getTemplate(e):null},setOptions:function(e){e=e||{};const t=this;t._options=e,t._textFontStyles=(0,f.patchFontOptions)(e.font),t._textFontStyles.color=t._textFontStyles.fill,t._wrapper.css({zIndex:e.zIndex}),t._customizeTooltip=e.customizeTooltip;const n=t._textGroupHtml;this.plaque&&this.plaque.clear(),this.setTemplate(e.contentTemplate);const o=e.interactive?"auto":"none";e.interactive&&this._renderer.root.css({"-moz-user-select":"auto","-webkit-user-select":"auto"});return this.plaque=new g.Plaque({opacity:t._options.opacity,color:t._options.color,border:t._options.border,paddingLeftRight:t._options.paddingLeftRight,paddingTopBottom:t._options.paddingTopBottom,arrowLength:t._options.arrowLength,arrowWidth:20,shadow:t._options.shadow,cornerRadius:t._options.cornerRadius},t,t._renderer.root,(r=>{let{group:a,onRender:l,eventData:c,isMoving:u,templateCallback:d=()=>{}}=r;const h=t._state;if(!u){const r=t._template,u=r&&!h.formatObject.skipTemplate;if(h.html||u){if(n.css({color:h.textColor,width:3e3,pointerEvents:o}),u){const e=t._textHtmlContainers,n=S().appendTo(t._textGroupHtml);return e.push(n),void r.render({model:h.formatObject,container:n,onRendered:()=>{if(e.splice(0,e.length-1).forEach((e=>e.remove())),t._textHtml=(0,s.replaceWith)(t._textHtml,n),h.html=t._textHtml.html(),0===(0,i.getWidth)(t._textHtml)&&0===(0,i.getHeight)(t._textHtml))return this.plaque.clear(),void d(!1);l(),t._riseEvents(c),t._moveWrapper(),t.plaque.customizeCloud({fill:h.color,stroke:h.borderColor,"pointer-events":o}),d(!0),t._textHtmlContainers=[]}})}t._text.attr({text:""}),t._textHtml.html(h.html)}else t._text.css({fill:h.textColor}).attr({text:h.text,class:e.cssClass,"pointer-events":o}).append(a.attr({align:e.textAlignment}));t._riseEvents(c),t.plaque.customizeCloud({fill:h.color,stroke:h.borderColor,"pointer-events":o})}return l(),t._moveWrapper(),!0}),!0,((e,n)=>{if(e._state.html){let e=x.getComputedStyle(t._textHtml.get(0));return e={x:0,y:0,width:v(parseFloat(e.width)),height:v(parseFloat(e.height))},e}return n.getBBox()}),((e,n,i,o)=>{e._state.html?t._textGroupHtml.css({left:i,top:o}):n.move(i,o)})),t},_riseEvents:function(e){const t=this;t._eventData&&t._eventTrigger("tooltipHidden",t._eventData),t._eventData=e,t._eventTrigger("tooltipShown",t._eventData)},setRendererOptions:function(e){return this._renderer.setOptions(e),this._textGroupHtml.css({direction:e.rtl?"rtl":"ltr"}),this},update:function(e){const t=this;t.setOptions(e),C(t._wrapper);const n={};for(const e in t._textFontStyles){const i=(0,l.camelize)(e);n[i]=(0,o.normalizeStyleProp)(i,t._textFontStyles[e])}return t._textGroupHtml.css(n),t._text.css(t._textFontStyles),t._eventData=null,t},_prepare:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._customizeTooltip;const i=this._options;let o={};return(0,d.isFunction)(n)&&(o=n.call(e,e),o=(0,d.isPlainObject)(o)?o:{},"text"in o&&(t.text=(0,d.isDefined)(o.text)?String(o.text):""),"html"in o&&(t.html=(0,d.isDefined)(o.html)?String(o.html):"")),"text"in t||"html"in t||(t.text=e.valueText||e.description||""),t.color=o.color||i.color,t.borderColor=o.borderColor||(i.border||{}).color,t.textColor=o.fontColor||(this._textFontStyles||{}).color,!!t.text||!!t.html||!!this._template},show:function(e,t,n,i,o){const r=this;if(r._options.forceEvents)return n.x=t.x,n.y=t.y-t.offset,r._riseEvents(n),!0;const a={formatObject:e,eventData:n,templateCallback:o};if(!r._prepare(e,a,i))return!1;r._state=a,r._wrapper.appendTo(r._getContainer()),r._clear();const s=(0,h.extend)({},r._options,{canvas:r._getCanvas()},a,{x:t.x,y:t.y,offset:t.offset});return this.plaque.clear().draw(s)},isCursorOnTooltip:function(e,t){if(this._options.interactive){const n=this.plaque.getBBox();return e>n.x&&e<n.x+n.width&&t>n.y&&t<n.y+n.height}return!1},hide:function(e){const t=this;C(t._wrapper),t._eventData&&(t._eventTrigger("tooltipHidden",t._options.forceEvents?(0,h.extend)({isPointerOut:e},t._eventData):t._eventData),t._clear(),t._eventData=null)},_clear(){this._textHtml.empty()},move:function(e,t,n){this.plaque.draw({x:e,y:t,offset:n,canvas:this._getCanvas(),isMoving:!0})},_moveWrapper:function(){const e=this,t=this.plaque.getBBox();e._renderer.resize(t.width,t.height);const n=e._wrapper.css({left:0,top:0}).offset(),o=t.x,r=t.y;e._wrapper.css({left:o-n.left,top:r-n.top}),this.plaque.moveRoot(-o,-r),this._state.html&&(e._textHtml.css({left:-o,top:-r}),e._textGroupHtml.css({width:v((0,i.getWidth)(e._textHtml))}))},formatValue:function(e,t){const n=t?function(e,t){let n=e;switch(t){case"argument":n={format:e.argumentFormat};break;case"percent":n={format:{type:"percent",precision:e.format&&e.format.percentPrecision}}}return n}(this._options,t):this._options;return m(e,n.format)},getOptions(){return this._options},getLocation:function(){return(0,f.normalizeEnum)(this._options.location)},isEnabled:function(){return!!this._options.enabled||!!this._options.forceEvents},isShared:function(){return!!this._options.shared},_getCanvas:function(){const e=this._getContainer(),t=e.getBoundingClientRect(),n=r.default.getDocumentElement(),i=r.default.getDocument();let o=x.pageXOffset||n.scrollLeft||0,a=x.pageYOffset||n.scrollTop||0;const s={left:o,top:a,width:b(n.clientWidth,i.body.clientWidth)+o,height:b(i.body.scrollHeight,n.scrollHeight,i.body.offsetHeight,n.offsetHeight,i.body.clientHeight,n.clientHeight),right:0,bottom:0};return e!==r.default.getBody()&&(o=b(s.left,s.left+t.left),a=b(s.top,s.top+t.top),s.width=y(t.width,s.width)+o+s.left,s.height=y(t.height,s.height)+a+s.top,s.left=o,s.top=a),s}};t.plugin={name:"tooltip",init:function(){this._initTooltip()},dispose:function(){this._disposeTooltip()},members:{_initTooltip:function(){this._tooltip=new w({cssClass:this._rootClassPrefix+"-tooltip",eventTrigger:this._eventTrigger,pathModified:this.option("pathModified"),widgetRoot:this.element(),widget:this})},_disposeTooltip:function(){this._tooltip.dispose(),this._tooltip=null},_setTooltipRendererOptions:function(){this._tooltip.setRendererOptions(this._getRendererOptions())},_setTooltipOptions:function(){this._tooltip.update(this._getOption("tooltip"))}},extenders:{_stopCurrentHandling(){this._tooltip&&this._tooltip.hide()}},customize:function(e){const t=e.prototype;t._eventsMap.onTooltipShown={name:"tooltipShown"},t._eventsMap.onTooltipHidden={name:"tooltipHidden"},e.addChange({code:"TOOLTIP_RENDERER",handler:function(){this._setTooltipRendererOptions()},isThemeDependent:!0,isOptionChange:!0}),e.addChange({code:"TOOLTIP",handler:function(){this._setTooltipOptions()},isThemeDependent:!0,isOptionChange:!0,option:"tooltip"})},fontFields:["tooltip.font"]}},28779:function(e,t,n){t.PANE_PADDING=void 0,t.adjustVisualRange=function(e,t,n,i){const r=(0,o.isDefined)(t.startValue),a=(0,o.isDefined)(t.endValue),s="discrete"!==e.axisType;i=i||n;const l=K(e,!1);let c=r?t.startValue:i.min,u=a?t.endValue:i.max,d=t.length;const h=i.categories;if(s&&!(0,o.isDefined)(c)&&!(0,o.isDefined)(u))return{startValue:c,endValue:u};if((0,o.isDefined)(d))if(s)"datetime"!==e.dataType||(0,o.isNumeric)(d)||(d=E(d)),a&&!r||!a&&!r?((0,o.isDefined)(n.max)&&(u=u>n.max?n.max:u),c=l(u,d,-1)):r&&!a&&((0,o.isDefined)(n.min)&&(c=c<n.min?n.min:c),u=l(c,d));else if(d=parseInt(d),!isNaN(d)&&isFinite(d))if(d--,a||r){if(r&&!a){u=$(h,c,void 0).categories[d]}else if(!r&&a){const e=$(h,void 0,u);c=e.categories[e.categories.length-1-d]}}else u=h[h.length-1],c=h[h.length-1-d];s&&((0,o.isDefined)(n.max)&&u>n.max&&(u=n.max),(0,o.isDefined)(n.min)&&c<n.min&&(c=n.min));return{startValue:c,endValue:u}},t.convertAngleToRendererSpace=void 0,t.convertPolarToXY=function(e,t,n,i){const r=i>0?i:0;n=(0,o.isDefined)(n)?n+t-90:0;const a=B(n);return{x:w(e.x+r*a.cos),y:w(e.y+r*a.sin)}},t.convertVisualRangeObject=function(e,t){if(t)return e;return[e.startValue,e.endValue]},t.enumParser=t.degreesToRadians=t.decreaseGaps=t.convertXYToPolar=void 0,t.extractColor=function(e,t){return(0,o.isString)(e)||!e?e:t?e.base:e.fillId||e.base},t.getAddFunction=K,t.getLog=t.getDistance=t.getDecimalOrder=t.getCosAndSin=t.getCategoriesInfo=t.getAppropriateFormat=t.getAdjustedLog10=void 0,t.getLogExt=q,t.getVerticallyShiftedAngularCoords=t.getPower=t.getNextDefsSvgId=void 0,t.getVizRangeObject=function(e){return Array.isArray(e)?{startValue:e[0],endValue:e[1]}:e||{}},t.isRelativeHeightPane=Y,t.map=N,t.mergeMarginOptions=function(e,t){return{checkInterval:e.checkInterval||t.checkInterval,size:x(e.size||0,t.size||0),percentStick:e.percentStick||t.percentStick,sizePointNormalState:x(e.sizePointNormalState||0,t.sizePointNormalState||0)}},t.normalizeAngle=void 0,t.normalizeArcParams=function(e,t,n,i,o,r){let a,s=!0;const l=H(r,3)-H(o,3);l&&(f(l)%360==0&&(o=0,r=360,a=!0,r-=.01),o>360&&(o%=360),r>360&&(r%=360),o>r&&(o-=360),s=!1);return o*=A,r*=A,[e,t,Math.min(i,n),Math.max(i,n),Math.cos(o),Math.sin(o),Math.cos(r),Math.sin(r),a,g(f(r-o)/d)%2?"1":"0",s]},t.normalizeBBox=U,t.normalizeEnum=G,t.normalizePanesHeight=function(e){e.forEach((e=>{const t=e.height;let n=0,i=parseFloat(t)||void 0;((0,o.isString)(t)&&t.indexOf("px")>-1||(0,o.isNumeric)(t)&&t>1)&&(i=w(i),n=1),!n&&i&&((0,o.isString)(t)&&t.indexOf("%")>-1?(i/=100,n=2):i<0&&(i=i<-1?1:f(i))),e.height=i,e.unit=n}));const t=e.filter(Y),n=t.reduce(((e,t)=>e+(t.height||0)),0),i=t.length,r=t.filter((e=>!e.height)),a=r.length;if(n<1&&a)r.forEach((e=>e.height=(1-n)/a));else if(n>1||n<1&&!a||1===n&&a){if(a){const e=n/i,o=a*e;t.filter((e=>e.height)).forEach((e=>e.height*=(n-o)/n)),r.forEach((t=>t.height=e))}t.forEach((e=>e.height*=1/n))}},t.patchFontOptions=t.parseScalar=void 0,t.pointInCanvas=function(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom},t.raiseTo=t.processSeriesTemplate=void 0,t.raiseToExt=X,t.rangesAreEqual=function(e,t){return Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>J(e)===J(t[n]))):J(e.startValue)===J(t.startValue)&&J(e.endValue)===J(t.endValue)},t.rotateBBox=function(e,t,n){const i=k(C(n*A).toFixed(3)),o=k(S(n*A).toFixed(3)),r=e.width/2,a=e.height/2,s=e.x+r,l=e.y+a,c=f(r*i)+f(a*o),u=f(r*o)+f(a*i),d=t[0]+(s-t[0])*i+(l-t[1])*o,h=t[1]-(s-t[0])*o+(l-t[1])*i;return U({x:d-c,y:h-u,width:2*c,height:2*u})},t.roundValue=void 0,t.setCanvasValues=Z,t.unique=void 0,t.updatePanesCanvases=function(e,t,n){let i=0;const o=L,a=n?t.width-t.left-t.right:t.height-t.top-t.bottom,s=e.reduce(((e,t)=>e+(Y(t)?0:t.height)),0),l=a-o*(e.length-1)-s,c=n?"left":"top",u=n?"right":"bottom";e.forEach((e=>{const n=Y(e)?w(e.height*l):e.height;e.canvas=e.canvas||{},(0,r.extend)(e.canvas,t),e.canvas[c]=t[c]+i,e.canvas[u]=t[u]+(a-n-i),i=i+n+o,Z(e.canvas)}))},t.valueOf=J;var i=n(17781),o=n(11528),r=n(52576),a=n(21274),s=n(50254),l=u(n(41380)),c=u(n(43101));function u(e){return e&&e.__esModule?e:{default:e}}const{PI:d,LN10:h,abs:f,log:p,floor:g,ceil:_,pow:m,sqrt:v,atan2:b}=Math,y=Math.min,x=Math.max,C=Math.cos,S=Math.sin,w=Math.round,E=l.default.dateToMilliseconds,T=1e10,A=d/180,O=isNaN,k=Number;let D=1;const L=t.PANE_PADDING=10,P=function(e,t){return e?p(e)/p(t):NaN};t.getLog=P;t.getAdjustedLog10=function(e){return(0,s.adjust)(P(e,10))};const M=function(e,t){return m(t,e)};t.raiseTo=M;const R=function(e){return(e%360+360)%360};t.normalizeAngle=R;t.convertAngleToRendererSpace=function(e){return 90-e};const I=function(e){return d*e/180};t.degreesToRadians=I;const B=function(e){const t=I(e);return{cos:C(t),sin:S(t)}};t.getCosAndSin=B;const V=function(e,t,n,i){const o=n-e,r=i-t;return v(r*r+o*o)};t.getDistance=V;const F=function(e){let t,n=f(e);return O(n)?NaN:n>0?(n=p(n)/h,t=_(n),t-n<1e-14?t:g(n)):0};t.getDecimalOrder=F;t.getAppropriateFormat=function(e,t,n){const i=x(F(e),F(t));let o,r=-F(f(t-e)/n);return O(i)||O(r)?null:(f(i)<=4?(o="fixedPoint",r<0&&(r=0),r>4&&(r=4)):(o="exponential",r+=i-1,r>3&&(r=3)),{type:o,precision:r})};const H=function(e,t){if(t>20&&(t=20),(0,o.isNumeric)(e))return(0,o.isExponential)(e)?k(e.toExponential(t)):k(e.toFixed(t))};t.roundValue=H;function N(e,t){let n=0;const i=e.length,o=[];let r;for(;n<i;)r=t(e[n],n),null!==r&&o.push(r),n++;return o}function z(e,t){return N(t,(t=>e[t]?e[t]:null))}function j(e,t,n,i){let o=i;return(0,a.each)(t,((t,i)=>{e[i]&&(e[i]-=n,o-=n)})),o}function G(e){return String(e).toLowerCase()}function Z(e){return e&&(e.originalTop=e.top,e.originalBottom=e.bottom,e.originalLeft=e.left,e.originalRight=e.right),e}function W(e){return-T<e&&e<+T?e:0}function U(e){const t=W(g(e.x)),n=W(g(e.y)),i={x:t,y:n,width:W(_(e.width+e.x))-t,height:W(_(e.height+e.y))-n};return i.isEmpty=!(i.x||i.y||i.width||i.height),i}t.getPower=function(e){return e.toExponential().split("e")[1]};t.decreaseGaps=function(e,t,n){let i;do{i=z(e,t),i.push(_(n/i.length)),n=j(e,t,y.apply(null,i),n)}while(n>0&&i.length>1);return n};t.parseScalar=function(e,t){return void 0!==e?e:t};t.enumParser=function(e){const t={};let n,i;for(n=0,i=e.length;n<i;++n)t[G(e[n])]=1;return function(e,n){const i=G(e);return t[i]?i:n}};t.patchFontOptions=function(e){const t={};return(0,a.each)(e||{},(function(n,i){if(/^(cursor)$/i.test(n));else if("opacity"===n)i=null;else if("color"===n){if(n="fill","opacity"in e){const t=new c.default(i);i=`rgba(${t.r},${t.g},${t.b},${e.opacity})`}}else n="font-"+n;t[n]=i})),t};t.convertXYToPolar=function(e,t,n){const i=V(e.x,e.y,t,n),o=b(n-e.y,t-e.x);return{phi:w(R(180*o/d)),r:w(i)}};t.processSeriesTemplate=function(e,t){const n=(0,o.isFunction)(e.customizeSeries)?e.customizeSeries:i.noop,a=e.nameField,s={},l=[];let c,u,d,h=0;for(u=(t=t||[]).length;h<u;h++)d=t[h],a in d&&(c=s[d[a]],c||(c=s[d[a]]={name:d[a],nameFieldValue:d[a]},l.push(c.name)));return N(l,(function(e){const t=s[e];return(0,r.extend)(t,n.call(null,t.name))}))};const $=function(e,t,n){if(0===e.length)return{categories:[]};t=(0,o.isDefined)(t)?t:e[0],n=(0,o.isDefined)(n)?n:e[e.length-1];const i=N(e,(e=>null==e?void 0:e.valueOf()));let r,a=i.indexOf(t.valueOf()),s=i.indexOf(n.valueOf()),l=!1;a<0&&(a=0),s<0&&(s=e.length-1),s<a&&(r=s,s=a,a=r,l=!0);const c=e.slice(a,s+1),u=c.length-1;return{categories:c,start:c[l?u:0],end:c[l?0:u],inverted:l}};function Y(e){return!(e.unit%2)}t.getCategoriesInfo=$;t.unique=function(e){const t={};return N(e,(function(e){const n=t[e]?null:e;return t[e]=!0,n}))};function K(e,t){return"datetime"===e.dataType?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return new Date(e.getTime()+n*t)}:"logarithmic"===e.axisType?function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return X(q(t,e.base)+i*n,e.base)}:function(e,n){const i=e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)*n;return t&&i*e<=0?0:i}}function q(e,t){let n=arguments.length>3?arguments[3]:void 0;if(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2]))return P(e,t);if(0===e)return 0;const i=P(f(e),t)-(n-1);return i<0?0:(0,s.adjust)((0,s.sign)(e)*i,Number(m(t,n-1).toFixed(f(n))))}function X(e,t){let n=arguments.length>3?arguments[3]:void 0;if(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2]))return M(e,t);if(0===e)return 0;const i=M(f(e)+(n-1),t);return i<0?0:(0,s.adjust)((0,s.sign)(e)*i,Number(m(t,n).toFixed(f(n))))}function J(e){return e&&e.valueOf()}t.getVerticallyShiftedAngularCoords=function(e,t,n){const i=e.x+e.width/2>=n.x,o=(i?e.x:e.x+e.width)-n.x,r=e.y-n.y,a=r+t,s=w(v(o*o+r*r-a*a)),l=(i?+s:-s)||o;return{x:n.x+(i?l:l-e.width),y:e.y+t}};t.getNextDefsSvgId=()=>"DevExpress_"+D++},88168:function(e,t,n){var i=n(74754);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},61434:function(e,t,n){t.default=void 0;var i,o=(i=n(52725))&&i.__esModule?i:{default:i},r=n(18943),a=n(74754),s=n(16216),l=n(67056),c=n(11805),u=n(13853),d=n(92528);o.default.addPlugin(r.plugin),o.default.addPlugin(a.plugin),o.default.addPlugin(s.plugin),o.default.addPlugin(l.plugin),o.default.addPlugin(c.plugin),o.default.addPlugin(u.plugin),o.default.addPlugin(d.plugin);t.default=o.default;e.exports=t.default,e.exports.default=t.default},52725:function(e,t,n){t.default=void 0;var i=n(43858),o=d(n(66194)),r=d(n(59327)),a=n(17781),s=d(n(34506)),l=d(n(92848)),c=d(n(5810)),u=n(25058);function d(e){return e&&e.__esModule?e:{default:e}}const h="NODES_CREATE";function f(e){return{fill:e.fill,hatching:e.hatching}}(0,i.addAlgorithm)("dynamicslope",o.default,!0),(0,i.addAlgorithm)("dynamicheight",r.default);const p=s.default.inherit({_rootClass:"dxf-funnel",_rootClassPrefix:"dxf",_proxyData:[],_optionChangesMap:{dataSource:"DATA_SOURCE",neckWidth:h,neckHeight:h,inverted:h,algorithm:h,item:h,valueField:h,argumentField:h,colorField:h,palette:h,paletteExtensionMode:h,sortData:h},_themeDependentChanges:[h],_getDefaultSize:function(){return{width:400,height:400}},_themeSection:"funnel",_fontFields:["legend.title.font","legend.title.subtitle.font","legend.font"],_optionChangesOrder:["DATA_SOURCE"],_initialChanges:["DATA_SOURCE"],_initCore:function(){this._group=this._renderer.g().append(this._renderer.root),this._items=[]},_eventsMap:{onHoverChanged:{name:"hoverChanged"},onSelectionChanged:{name:"selectionChanged"}},_disposeCore:a.noop,_applySize:function(e){return this._rect=e.slice(),this._change(["TILING"]),this._rect},_getAlignmentRect:function(){return this._rect},_change_TILING:function(){const e=this,t=e._items,n=e._rect,i=function(e,t){const i=t%2;return n[0+i]+(n[2+i]-n[0+i])*e};this._group.clear(),t.forEach((function(t,n){const o=t.figure.map(i),r=e._renderer.path([],"area").attr({points:o}).append(e._group);t.coords=o,t.element=r})),this._requestChange(["TILES"])},_customChangesOrder:[h,"LAYOUT","TILING","TILES","DRAWN"],_dataSourceChangedHandler:function(){this._requestChange([h])},_change_DRAWN:function(){this._drawn()},_change_DATA_SOURCE:function(){this._change(["DRAWN"]),this._updateDataSource()},_change_NODES_CREATE:function(){this._buildNodes()},_change_TILES:function(){this._applyTilesAppearance()},_suspend:function(){this._applyingChanges||this._suspendChanges()},_resume:function(){this._applyingChanges||this._resumeChanges()},_applyTilesAppearance:function(){this._items.forEach((function(e){const t=e.getState();e.element.smartAttr(e.states[t])}))},_hitTestTargets:function(e,t){const n=this;let i;return this._proxyData.some((function(o){if(i=o.call(n,e,t),i)return!0})),i},clearHover:function(){this._suspend(),this._items.forEach((function(e){e.isHovered()&&e.hover(!1)})),this._resume()},clearSelection:function(){this._suspend(),this._items.forEach((function(e){e.isSelected()&&e.select(!1)})),this._resume()},_getData:function(){const e=this,t=e._dataSourceItems()||[],n=e._getOption("valueField",!0),i=e._getOption("argumentField",!0),o=e._getOption("colorField",!0),r=t.reduce((function(e,t){const r=Number(t[n]);return r>=0&&(e[0].push({value:r,color:t[o],argument:t[i],dataItem:t}),e[1]+=r),e}),[[],0]),a=r[0];return t.length>0&&0===a.length&&e._incidentOccurred("E2005",n),r[1]?(e._getOption("sortData",!0)&&a.sort((function(e,t){return t.value-e.value})),a):[]},_buildNodes:function(){const e=this,t=e._getData(),n=(0,i.getAlgorithm)(e._getOption("algorithm",!0)),o=n.normalizeValues(t),r=e._getOption("item"),a=n.getFigures(o,e._getOption("neckWidth",!0),e._getOption("neckHeight",!0)),s=e._themeManager.createPalette(e._getOption("palette",!0),{useHighlight:!0,extensionMode:e._getOption("paletteExtensionMode",!0),count:a.length});e._items=a.map((function(n,i){const a=t[i];return new c.default(e,{figure:n,data:a,percent:o[i],id:i,color:a.color||s.getNextColor(),itemOptions:r})})),e._getOption("inverted",!0)&&e._items.forEach((function(e){e.figure=e.figure.map((function(e,t){return t%2?1-e:e}))})),e._renderer.initDefsElements(),e._change(["TILING","DRAWN"])},_showTooltip:a.noop,hideTooltip:a.noop,getAllItems:function(){return this._items.slice()},_getLegendData(){return this._items.map((e=>{const t=e.states;return{id:e.id,visible:!0,text:e.argument,item:e,states:{normal:f(t.normal),hover:f(t.hover),selection:f(t.selection)}}}))},_getMinSize:function(){const e=this._getOption("adaptiveLayout");return[e.width,e.height]}});(0,l.default)("dxFunnel",p);t.default=p;p.addPlugin(u.plugin),e.exports=t.default,e.exports.default=t.default},5810:function(e,t,n){t.default=void 0;var i=n(11528);const o=["normal","hover","selection","selection"];function r(e,t,n){const o=t.border,r=n.border,a=(0,i.isDefined)(o.visible)?o.visible:r.visible,s=(0,i.isDefined)(o.width)?o.width:r.width;return{fill:e,hatching:t.hatching,stroke:o.color||r.color,"stroke-width":a?s:0}}function a(e,t){const n=this,i=t.data;n.code=0,n.widget=e,n.figure=t.figure,n.argument=i.argument,n.value=i.value,n.data=i.dataItem,n.percent=t.percent,n.id=t.id,n.color=t.color,n.states={normal:r(t.color,t.itemOptions,t.itemOptions),hover:r(t.color,t.itemOptions.hoverStyle,t.itemOptions),selection:r(t.color,t.itemOptions.selectionStyle,t.itemOptions)}}a.prototype={getState:function(){return o[this.code]},getNormalStyle:function(){return this.states.normal},setHover:function(){this.hover(!0)},hover:function(e){this.widget._getOption("hoverEnabled",!0)&&e!==this.isHovered()&&(this.widget._suspend(),e&&this.widget.clearHover(),this.setState(1,e),this.widget._eventTrigger("hoverChanged",{item:this}),this.widget._resume())},setState:function(e,t){t?this.code|=e:this.code&=~e,this.widget._applyTilesAppearance()},select:function(e){const t=this.widget._getOption("selectionMode",!0);"none"!==t&&e!==this.isSelected()&&(this.widget._suspend(),e&&"multiple"!==t&&this.widget.clearSelection(),this.setState(2,e),this.widget._eventTrigger("selectionChanged",{item:this}),this.widget._resume())},showTooltip:function(e){this.widget._showTooltip(this.id,e)},getColor:function(){return this.color},isHovered:function(){return!!(1&this.code)},isSelected:function(){return!!(2&this.code)}};t.default=a;e.exports=t.default,e.exports.default=t.default},18943:function(e,t,n){t.plugin=void 0;var i=n(70576),o=n(28779),r=n(52576),a=n(17781);const s="outside",l="inside";function c(e){return(e=(0,o.normalizeEnum)(e))===s||e!==l}function u(e,t,n){return n?e-t.height:e}function d(e,t,n,i){return{x:e[2]+n.horizontalOffset+5,y:u(e[3]+n.verticalOffset,t,i)}}function h(e,t,n,i){return{x:e[0]-t.width-n.horizontalOffset-5,y:u(e[1]+n.verticalOffset,t,i)}}function f(e,t,n){const i=e[2]-e[0],o=e[7]-e[1];return{x:e[0]+i/2+n.horizontalOffset-t.width/2,y:e[1]+n.verticalOffset+o/2-t.height/2}}t.plugin={name:"lables",init:a.noop,dispose:a.noop,extenders:{_initCore:function(){this._labelsGroup=this._renderer.g().attr({class:this._rootClassPrefix+"-labels"}).append(this._renderer.root),this._labels=[]},_applySize:function(){const e=this._getOption("label"),t=this._getOption("adaptiveLayout"),n=this._rect;let i=0;const r=n[2]-n[0];if(this._labelRect=n.slice(),!this._labels.length||!c(e.position))return void((0,o.normalizeEnum)("none"!==this._getOption("resolveLabelOverlapping",!0))&&this._labels.forEach((e=>!e.isVisible()&&e.draw(!0))));const a=this._labels.map((function(e){return e.resetEllipsis(),e.getBoundingRect().width})).reduce((function(e,t){return Math.max(e,t)}),0);var u;i=a+e.horizontalOffset+(u=e.position,(u=(0,o.normalizeEnum)(u))===s?5:u===l?0:20),!t.keepLabels&&r-i<t.width?this._labels.forEach((function(e){e.draw(!1)})):(r-i<t.width&&(i=r-t.width,i=i>0?i:0),this._labels.forEach((function(e){e.draw(!0)})),"left"===e.horizontalAlignment?n[0]+=i:n[2]-=i)},_buildNodes:function(){this._createLabels()},_change_TILING:function(){const e=this,t=e._getOption("label");let n=f;const i=e._getOption("inverted",!0);let r;c(t.position)&&((0,o.normalizeEnum)(t.position)===s?n="left"===t.horizontalAlignment?h:d:(r=this._defaultLabelTextAlignment(),n="left"===t.horizontalAlignment?function(e,t,n){return function(i,o,r,a){return{x:"left"===n?e[0]:t[0]-o.width-r.horizontalOffset-20,y:u(i[3]+r.verticalOffset,o,a)}}}(this._labelRect,this._rect,r):function(e,t,n){return function(i,o,r,a){return{x:"left"===n?t[2]+r.horizontalOffset+20:e[2]-o.width,y:u(i[3]+r.verticalOffset,o,a)}}}(this._labelRect,this._rect,r))),e._labels.forEach((function(o,r){const a=e._items[r],s=a.getNormalStyle()["stroke-width"],l=i?s/2:-s/2,u=l?a.coords.map((function(e,t){return 1===t||3===t?e-l:2===t?e-s:0===t?e+s:e})):a.coords;if(!t.showForZeroValues&&0===a.value)return void o.draw(!1);c(t.position)&&e._correctLabelWidth(o,a.coords,t);const d=o.getBoundingRect(),h=function(e,t,n){return e.x<n[0]&&(e.x=n[0]),e.x+t.width>n[2]&&(e.x=n[2]-t.width),e.y<n[1]&&(e.y=n[1]),e.y+t.height>n[3]&&(e.y=n[3]-t.height),e}(n(u,d,t,i),d,e._labelRect);o.setFigureToDrawConnector(u),o.shift(h.x,h.y)})),e._resolveLabelOverlapping()}},members:{_resolveLabelOverlapping(){const e=this,t=(0,o.normalizeEnum)(e._getOption("resolveLabelOverlapping",!0)),n=this._getOption("inverted",!0)?e._labels.slice().reverse():e._labels;if("hide"===t)n.reduce(((e,t)=>(t.getBoundingRect().y<e?t.hide():e=t.getBoundingRect().y+t.getBoundingRect().height,e)),0);else if("shift"===t){const t=this._labelRect[3];n.filter((e=>e.isVisible())).reduce(((n,i,o,r)=>{let[a,s]=n;const l=i.getBoundingRect();let c=l.y;return l.y<a&&(i.shift(l.x,a),c=a),c-a>0&&(s+=c-a),c+l.height>t?s&&s>c+l.height-t?(!function(e,t,n){e.reduce(((e,t,i,o)=>{const r=o[i+1];if(e>0){const a=t.getBoundingRect(),s=r?r.getBoundingRect().y+r.getBoundingRect().height:n,l=a.y-s,c=Math.min(l,e);o.slice(0,i+1).forEach((e=>{const t=e.getBoundingRect();e.shift(t.x,t.y-c)})),e-=c}return e}),t)}(r.slice(0,o).reverse(),c+l.height-t,e._labelRect[1]),s-=c+l.height-t,i.shift(l.x,c-(c+l.height-t)),a=c-(c+l.height-t)+l.height):i.hide():a=c+l.height,[a,s]}),[this._labelRect[1],0])}},_defaultLabelTextAlignment:function(){return this._getOption("rtlEnabled",!0)?"right":"left"},_correctLabelWidth:function(e,t,n){const i="left"===n.horizontalAlignment,o=i?this._labelRect[0]:t[2],r=(i?t[0]:this._labelRect[2])-o;e.getBoundingRect().width>r&&e.fit(r)},_createLabels:function(){const e=this,t=e._getOption("label"),n=function(e,t){const n="left"===e.horizontalAlignment,i=n?4:-4,o=t?-1:0;function r(e){return n?[e[0]+1,e[1]+o]:[e[2]-1,e[3]+o]}return{isLabelInside:function(){return!c(e.position)},getFigureCenter:r,prepareLabelPoints:function(e){const t=e.x+i,n=e.y,o=t+e.width;return[...Array(e.height+1)].map(((e,i)=>[t,n+i])).concat([...Array(e.height+1)].map(((e,t)=>[o,n+t])))},isHorizontal:function(){return!0},findFigurePoint:function(e){return r(e)},adjustPoints:function(e){return e.map(Math.round)}}}(t,e._getOption("inverted",!0));this._labelsGroup.clear(),t.visible&&(this._labels=e._items.map((function(a){const s=new i.Label({renderer:e._renderer,labelsGroup:e._labelsGroup,strategy:n});return s.setOptions(function(e,t,n){const i=e||{},a=(0,r.extend)({},i.font)||{},s=i.border||{},l=i.connector||{},u={fill:i.backgroundColor||t,"stroke-width":s.visible&&s.width||0,stroke:s.visible&&s.width?s.color:"none",dashStyle:s.dashStyle},d={stroke:l.visible&&l.width?l.color||t:"none","stroke-width":l.visible&&l.width||0,opacity:l.opacity};return a.color="none"===i.backgroundColor&&"#ffffff"===(0,o.normalizeEnum)(a.color)&&"inside"!==i.position?t:a.color,{format:i.format,textAlignment:i.textAlignment||(c(i.position)?n:"center"),customizeText:i.customizeText,attributes:{font:a},visible:0!==a.size&&i.visible,showForZeroValues:i.showForZeroValues,horizontalOffset:i.horizontalOffset,verticalOffset:i.verticalOffset,background:u,connector:d,wordWrap:e.wordWrap,textOverflow:e.textOverflow}}(t,a.color,e._defaultLabelTextAlignment())),s.setData({item:a,value:a.value,percent:a.percent}),s.draw(!0),s})),this._labels.length&&c(t.position)&&this._requestChange(["LAYOUT"]))}},customize:function(e){e.prototype._proxyData.push((function(e,t){const n=this;let i;return n._labels.forEach((function(o,r){const a=o.getBoundingRect();if(e>=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height){const e=c(n._getOption("label").position)?"outside":"inside";return i={id:r,type:e+"-label"},!0}})),i})),["label","resolveLabelOverlapping"].forEach((t=>{e.addChange({code:t.toUpperCase(),handler:function(){this._createLabels(),this._requestChange(["LAYOUT"])},isThemeDependent:!0,isOptionChange:!0,option:t})}))},fontFields:["label.font"]}},66194:function(e,t){t.default=void 0;const n=.5;t.default={getFigures:function(e){const t=1/e.length;return e.map((function(e,i,o){const r=o[i+1]?o[i+1]:o[i];return[n-e/2,t*i,n+e/2,t*i,n+r/2,t*(i+1),n-r/2,t*(i+1)]}))},normalizeValues:function(e){const t=e.reduce((function(e,t){return Math.max(t.value,e)}),e[0]&&e[0].value||0);return e.map((function(e){return e.value/t}))}};e.exports=t.default,e.exports.default=t.default},43858:function(e,t,n){t.addAlgorithm=function(e,t,n){o[e]=t,n&&(r=o[e])},t.getAlgorithm=function(e){return o[(0,i.normalizeEnum)(e)]||r};var i=n(28779);const o={};let r},59327:function(e,t){t.default=void 0;t.default={getFigures:function(e,t,n){let i=0,o=0,r=0,a=0;const s=t/2,l=.5-s,c=1-n,u=.5-s,d=.5+s;return e.map((function(e){return r=a,o=i,i+=e,a=l*i/c,o<=c&&i<=c?[r,o,1-r,o,1-a,i,0+a,i]:o<=c&&i>c?[r,o,1-r,o,d,c,d,i,u,i,u,c]:[u,o,d,o,d,i,u,i]}))},normalizeValues:function(e){const t=e.reduce((function(e,t){return e+t.value}),0);return e.map((function(e){return e.value/t}))}};e.exports=t.default,e.exports.default=t.default},13853:function(e,t,n){t.plugin=void 0;var i=n(17781),o=n(23277);function r(e,t,n){const i=n.getRootOffset();return e||t&&[(t[0]+t[2])/2+i.left,(t[1]+t[5])/2+i.top]||[-1e3,-1e3]}t.plugin={name:"funnel-tooltip",init:i.noop,dispose:i.noop,extenders:{_buildNodes:function(){this.hideTooltip()},_change_TILING:function(){this._tooltipIndex>=0&&this._moveTooltip(this._items[this._tooltipIndex])}},members:{hideTooltip:function(){this._tooltipIndex>=0&&(this._tooltipIndex=-1,this._tooltip.hide())},_moveTooltip:function(e,t){const n=r(t,e.coords,this._renderer);this._tooltip.move(n[0],n[1],0)},_showTooltip:function(e,t){const n=this,i=n._tooltip,o=n._items[e];if(n._tooltipIndex===e)return void n._moveTooltip(o,t);const a=t=>{void 0!==t&&(t||i.hide(),n._tooltipIndex=t?e:-1)},s=r(t,o.coords,this._renderer);a(i.show({value:o.value,valueText:i.formatValue(o.value),percentText:i.formatValue(o.percent,"percent"),percent:o.percent,item:o},{x:s[0],y:s[1],offset:0},{item:o},void 0,a))}},customize:function(e){e.addPlugin(o.plugin)}}},11805:function(e,t,n){t.plugin=void 0;var i,o=(i=n(52725))&&i.__esModule?i:{default:i},r=n(16197),a=n(11528);let s=0;const l=o.default.prototype;l._eventsMap.onItemClick={name:"itemClick"},l._eventsMap.onLegendClick={name:"legendClick"};t.plugin={name:"tracker",init:function(){const e=this,t="__funnel_data_"+s++,n=function(t){const n=e._renderer.getRootOffset(),i=Math.floor(t.pageX-n.left),o=Math.floor(t.pageY-n.top);return e._hitTestTargets(i,o)};e._tracker=new r.Tracker({widget:e,root:e._renderer.root,getData:function(e,i){const o=e.target[t];if((0,a.isDefined)(o))return o;const r=n(e);return i&&r&&"inside-label"!==r.type?void 0:r&&r.id},getNode:function(t){return e._items[t]},click:function(t){const i=n(t.event),o="legend"===(i&&i.type)?"legendClick":"itemClick";e._eventTrigger(o,{item:t.node,event:t.event})}}),this._dataKey=t},dispose:function(){this._tracker.dispose()},extenders:{_change_TILING:function(){const e=this._dataKey;this._items.forEach((function(t,n){t.element.data(e,n)}))}}}},15060:function(e,t,n){t.dxBarGauge=void 0;var i=p(n(92848)),o=n(22263),r=n(17781),a=n(9410),s=n(52576),l=n(28779),c=n(5600),u=p(n(59248)),d=n(67056),h=n(94618),f=n(50254);function p(e){return e&&e.__esModule?e:{default:e}}const g=Math.PI/180,_=Math.abs,m=Math.round,v=Math.floor,b=Math.min,y=Math.max,x=c.getSampleText,C=c.formatValue,S=c.compareArrays,w=Array.isArray,E=l.convertAngleToRendererSpace,T=l.getCosAndSin,A=l.patchFontOptions,O=Number,k=isFinite,D=r.noop,L=s.extend,P="values";let M;const R=t.dxBarGauge=c.BaseGauge.inherit({_rootClass:"dxbg-bar-gauge",_themeSection:"barGauge",_fontFields:["label.font","legend.font","legend.title.font","legend.title.subtitle.font"],_initCore:function(){const e=this;e.callBase.apply(e,arguments),e._barsGroup=e._renderer.g().attr({class:"dxbg-bars"}).linkOn(e._renderer.root,"bars"),e._values=[],e._context={renderer:e._renderer,translator:e._translator,tracker:e._tracker,group:e._barsGroup},e._animateStep=function(t){const n=e._bars;let i,o;for(i=0,o=n.length;i<o;++i)n[i].animate(t)},e._animateComplete=function(){e._bars.forEach((e=>e.endAnimation())),e._checkOverlap()}},_disposeCore:function(){const e=this;e._barsGroup.linkOff(),e._barsGroup=e._values=e._context=e._animateStep=e._animateComplete=null,e.callBase.apply(e,arguments)},_setupDomainCore:function(){const e=this;let t=e.option("startValue"),n=e.option("endValue");k(t)||(t=0),k(n)||(n=100),e._translator.setDomain(t,n),e._baseValue=e._translator.adjust(e.option("baseValue")),k(e._baseValue)||(e._baseValue=t<n?t:n)},_getDefaultSize:function(){return{width:300,height:300}},_setupCodomain:u.default.prototype._setupCodomain,_getApproximateScreenRange:function(){const e=this,t=e._area.sides,n=e._canvas.width/(t.right-t.left),i=e._canvas.height/(t.down-t.up),o=n<i?n:i;return-e._translator.getCodomainRange()*o*g},_setupAnimationSettings:function(){const e=this;e.callBase.apply(e,arguments),e._animationSettings&&(e._animationSettings.step=e._animateStep,e._animationSettings.complete=e._animateComplete)},_cleanContent:function(){const e=this;e._barsGroup.linkRemove(),e._animationSettings&&e._barsGroup.stopAnimation(),e._barsGroup.clear()},_renderContent:function(){const e=this;let t=e.option("label");const n=e._context;if(e._barsGroup.linkAppend(),n.textEnabled=void 0===t||t&&(!("visible"in t)||t.visible),n.textEnabled){var i,o;n.fontStyles=A(L({},e._themeManager.theme().label.font,null===(i=t)||void 0===i?void 0:i.font,{color:(null===(o=t)||void 0===o||null===(o=o.font)||void 0===o?void 0:o.color)||null})),t=L(!0,{},e._themeManager.theme().label,t),n.formatOptions={format:void 0!==t.format?t.format:e._defaultFormatOptions,customizeText:t.customizeText},n.textOptions={align:"center"},e._textIndent=t.indent>0?O(t.indent):0,n.lineWidth=t.connectorWidth>0?O(t.connectorWidth):0,n.lineColor=t.connectorColor||null;const r=e._renderer.text(x(e._translator,n.formatOptions),0,0).attr(n.textOptions).css(n.fontStyles).append(e._barsGroup),a=r.getBBox();r.remove(),n.textY=a.y,n.textWidth=a.width,n.textHeight=a.height}u.default.prototype._applyMainLayout.call(e),e._renderBars()},_measureMainElements:function(){const e={maxRadius:this._area.radius};return this._context.textEnabled&&(e.horizontalMargin=this._context.textWidth,e.verticalMargin=this._context.textHeight,e.inverseHorizontalMargin=this._context.textWidth/2,e.inverseVerticalMargin=this._context.textHeight/2),e},_renderBars:function(){const e=this,t=L({},e._themeManager.theme(),e.option());let n;const i=e._area,o=t.relativeInnerRadius>0&&t.relativeInnerRadius<1?O(t.relativeInnerRadius):.1;n=i.radius,e._context.textEnabled&&(e._textIndent=m(b(e._textIndent,n/2)),n-=e._textIndent),e._outerRadius=v(n),e._innerRadius=v(n*o),e._barSpacing=t.barSpacing>0?O(t.barSpacing):0,L(e._context,{backgroundColor:t.backgroundColor,x:i.x,y:i.y,startAngle:i.startCoord,endAngle:i.endCoord,baseAngle:e._translator.translate(e._baseValue)}),e._arrangeBars()},_arrangeBars:function(){const e=this;let t=e._outerRadius-e._innerRadius;const n=e._context;let i;const o=e._bars.length;e._beginValueChanging(),n.barSize=o>0?y((t-(o-1)*e._barSpacing)/o,1):0;const r=o>1?y(b((t-o*n.barSize)/(o-1),e._barSpacing),0):0,a=b(v((t+r)/n.barSize),o);e._setBarsCount(o),t=e._outerRadius,n.textRadius=t,n.textIndent=e._textIndent,e._palette.reset();const s=n.barSize+r,l=e._palette.generateColors(a);for(i=0;i<a;++i,t-=s)e._bars[i].arrange({radius:t,color:l[i]});for(let t=a;t<o;t++)e._bars[t].hide();e._animationSettings&&!e._noAnimation?e._animateBars():e._updateBars(),e._endValueChanging()},_setBarsCount:function(){const e=this;e._bars.length>0?e._dummyBackground&&(e._dummyBackground.dispose(),e._dummyBackground=null):(e._dummyBackground||(e._dummyBackground=e._renderer.arc().attr({"stroke-linejoin":"round"})),e._dummyBackground.attr({x:e._context.x,y:e._context.y,outerRadius:e._outerRadius,innerRadius:e._innerRadius,startAngle:e._context.endAngle,endAngle:e._context.startAngle,fill:e._context.backgroundColor}).append(e._barsGroup))},_getCenter:function(){return{x:this._context.x,y:this._context.y}},_updateBars:function(){this._bars.forEach((e=>e.applyValue())),this._checkOverlap()},_checkOverlap:function(){const e=this,t=(0,l.normalizeEnum)(e._getOption("resolveLabelOverlapping",!0));function n(t,n){return(0,l.getVerticallyShiftedAngularCoords)(t,-n,e._context)}if("none"!==t)if("shift"===t){const t=e._dividePoints();a.overlapping.resolveLabelOverlappingInOneDirection(t.left,e._canvas,!1,!1,n),a.overlapping.resolveLabelOverlappingInOneDirection(t.right,e._canvas,!1,!1,n),e._clearLabelsCrossTitle(),e._drawConnector()}else e._clearOverlappingLabels()},_drawConnector(){const e=this,t=e._bars,{connectorWidth:n}=e._getOption("label");t.forEach((t=>{if(!t._isLabelShifted)return;const i=t._bar.attr("x"),o=t._bar.attr("y"),r=t._bar.attr("innerRadius"),a=t._bar.attr("outerRadius"),s=t._bar.attr("startAngle"),c=t._bar.attr("endAngle"),u=V.apply(null,(0,l.normalizeArcParams)(i,o,r,a,s,c)),{cos:d,sin:h}=T(t._angle),p=u.x-h*n/2-d,g=u.y-d*n/2+h,_=t._text.getBBox(),m=t._text._lastCoords,v=e._context.textWidth/2,b=[p,g,_.x+_.width/2+m.x,_.y+m.y];if(t._angle>90?b[2]+=v:b[2]-=v,t._angle<=180&&t._angle>0&&(b[3]+=_.height),n%2){const e=-h/2,n=-d/2;t._angle>180?(b[0]-=e,b[1]-=n):t._angle>0&&t._angle<=90&&(b[0]+=e,b[1]+=n)}const y=b.map((e=>(0,f.roundFloatPart)(e,4)));t._line.attr({points:y}),t._line.rotate(0),t._isLabelShifted=!1}))},_dividePoints(){return this._bars.reduce((function(e,t){const n=(0,l.normalizeAngle)(t._angle),i=n<=90||n>=270;t._text._lastCoords={x:0,y:0};return(i?e.right:e.left).push({series:{isStackedSeries:()=>!1,isFullStackedSeries:()=>!1},getLabels:()=>[{isVisible:()=>!0,getBoundingRect:()=>{const{height:e,width:n,x:i,y:o}=t._text.getBBox(),r=t._text._lastCoords;return{x:i+r.x,y:o+r.y,width:n,height:e}},shift:(e,n)=>{const i=t._text.getBBox();t._text._lastCoords={x:e-i.x,y:n-i.y},t._text.attr({translateX:e-i.x,translateY:n-i.y}),t._isLabelShifted=!0},draw:()=>t.hideLabel(),getData:()=>({value:t.getValue()}),hideInsideLabel:()=>!1}]}),e}),{left:[],right:[]})},_clearOverlappingLabels(){let e=0,t=1;const n=this._bars.concat().sort(((e,t)=>e.getValue()-t.getValue()));for(;e<n.length&&t<n.length;){const i=n[e],o=n[t];i.checkIntersect(o)?(o.hideLabel(),t++):(e=t,t=e+1)}},_clearLabelsCrossTitle(){const e=this._bars,t=this._title.getLayoutOptions()||{x:0,y:0,height:0,width:0},n=t.y+t.height;e.forEach((e=>{const t=e._text.getBBox(),i=e._text._lastCoords;n>t.y+i.y&&e.hideLabel()}))},_animateBars:function(){const e=this;let t;const n=e._bars.length;if(n>0){for(t=0;t<n;++t)e._bars[t].beginAnimation();e._barsGroup.animate({_:0},e._animationSettings)}},_buildNodes(){const e=this,t=e._options.silent();e._palette=e._themeManager.createPalette(t.palette,{useHighlight:!0,extensionMode:t.paletteExtensionMode}),e._palette.reset(),e._bars=e._bars||[],e._animationSettings&&e._barsGroup.stopAnimation();const n=e._values.filter(k),i=n.length;if(e._bars.length>i){const t=e._bars.length;for(let n=i;n<t;++n)e._bars[n].dispose();e._bars.splice(i,t-i)}else if(e._bars.length<i)for(let t=e._bars.length;t<i;++t)e._bars.push(new M(t,e._context));e._bars.forEach(((t,o)=>{t.update({color:e._palette.getNextColor(i),value:n[o]})}))},_updateValues:function(e){const t=this,n=w(e)&&e||k(e)&&[e]||[];let i;const o=n.length;let r;for(t._values.length=o,i=0;i<o;++i)r=n[i],t._values[i]=O(k(r)?r:t._values[i]);t._resizing||S(t._values,t.option(P))||t.option(P,t._values.slice()),this._change(["NODES"])},values:function(e){return void 0!==e?(this._updateValues(e),this):this._values.slice(0)},_optionChangesMap:{backgroundColor:"MOSTLY_TOTAL",relativeInnerRadius:"MOSTLY_TOTAL",barSpacing:"MOSTLY_TOTAL",label:"MOSTLY_TOTAL",resolveLabelOverlapping:"MOSTLY_TOTAL",palette:"MOSTLY_TOTAL",paletteExtensionMode:"MOSTLY_TOTAL",values:"VALUES"},_change_VALUES:function(){this._updateValues(this.option(P))},_factory:(0,o.clone)(c.BaseGauge.prototype._factory),_optionChangesOrder:["VALUES","NODES"],_initialChanges:["VALUES"],_getChangesRequireCoreUpdate:function(){return[...this.callBase(),"LEGEND"]},_change_NODES(){this._buildNodes()},_change_MOSTLY_TOTAL:function(){this._change(["NODES"]),this.callBase()},_proxyData:[],_getLegendData(){const e=this,t={},n=e._options.silent(),i=(n.label||{}).format,o=(n.legend||{}).itemTextFormat;return t.format=o||(i||e._defaultFormatOptions),(this._bars||[]).map((e=>({id:e.index,item:{value:e.getValue(),color:e.getColor(),index:e.index},text:C(e.getValue(),t),visible:!0,states:{normal:{fill:e.getColor()}}})))}});function I(e,t,n){e.startAngle=t<n?t:n,e.endAngle=t<n?n:t}function B(e,t){return _(e-t)<1e-4}function V(e,t,n,i,o,r){return{x:(e+i*o).toFixed(5),y:(t-i*r).toFixed(5)}}M=function(e,t){const n=this;n._context=t,n._tracker=t.renderer.arc().attr({"stroke-linejoin":"round"}),n.index=e},L(M.prototype,{dispose:function(){const e=this;return e._background.dispose(),e._bar.dispose(),e._context.textEnabled&&(e._line.dispose(),e._text.dispose()),e._context.tracker.detach(e._tracker),e._context=e._settings=e._background=e._bar=e._line=e._text=e._tracker=null,e},arrange:function(e){const t=this,n=t._context;return this._visible=!0,n.tracker.attach(t._tracker,t,{index:t.index}),t._background=n.renderer.arc().attr({"stroke-linejoin":"round",fill:n.backgroundColor}).append(n.group),t._settings=t._settings||{x:n.x,y:n.y,startAngle:n.baseAngle,endAngle:n.baseAngle},t._bar=n.renderer.arc().attr(L({"stroke-linejoin":"round"},t._settings)).append(n.group),n.textEnabled&&(t._line=n.renderer.path([],"line").attr({"stroke-width":n.lineWidth}).append(n.group),t._text=n.renderer.text().css(n.fontStyles).attr(n.textOptions).append(n.group)),t._angle=isFinite(t._angle)?t._angle:n.baseAngle,t._settings.outerRadius=e.radius,t._settings.innerRadius=e.radius-n.barSize,t._settings.x=n.x,t._settings.y=n.y,t._background.attr(L({},t._settings,{startAngle:n.endAngle,endAngle:n.startAngle,fill:t._context.backgroundColor})),t._bar.attr({x:n.x,y:n.y,outerRadius:t._settings.outerRadius,innerRadius:t._settings.innerRadius,fill:t._color}),t._tracker.attr(t._settings),n.textEnabled&&(t._line.attr({points:[n.x,n.y-t._settings.innerRadius,n.x,n.y-n.textRadius-n.textIndent],stroke:n.lineColor||t._color}).sharp(),t._text.css({fill:n.fontStyles.fill||t._color})),t},getTooltipParameters:function(){const e=this,t=T((e._angle+e._context.baseAngle)/2);return{x:m(e._context.x+(e._settings.outerRadius+e._settings.innerRadius)/2*t.cos),y:m(e._context.y-(e._settings.outerRadius+e._settings.innerRadius)/2*t.sin),offset:0,color:e._color,value:e._value}},setAngle:function(e){const t=this,n=t._context,i=t._settings;let o;if(t._angle=e,I(i,n.baseAngle,e),t._bar.attr(i),t._tracker.attr(i),n.textEnabled){o=T(e);const i=n.textIndent,r=n.textRadius+i;let a=n.x+r*o.cos,s=n.y-r*o.sin;const l=.5*n.textWidth,c=n.textHeight,u=n.textY;_(a-n.x)>i&&(a+=a<n.x?-l:l),_(s-n.y)<=i?s-=u+.5*c:s-=s<n.y?u+c:u;const d=C(t._value,n.formatOptions,{index:t.index}),h=""===d?"hidden":null;t._text.attr({text:d,x:a,y:s,visibility:h}),t._line.attr({visibility:h}),t._line.rotate(E(e),n.x,n.y)}return t},hideLabel:function(){this._text.attr({visibility:"hidden"}),this._line.attr({visibility:"hidden"})},checkIntersect:function(e){const t=this.calculateLabelCoords(),n=e.calculateLabelCoords();if(!t||!n)return!1;return Math.max(0,Math.min(t.bottomRight.x,n.bottomRight.x)-Math.max(t.topLeft.x,n.topLeft.x))*Math.max(0,Math.min(t.bottomRight.y,n.bottomRight.y)-Math.max(t.topLeft.y,n.topLeft.y))!=0},calculateLabelCoords:function(){if(!this._text)return;const e=this._text.getBBox();return{topLeft:{x:e.x,y:e.y},bottomRight:{x:e.x+e.width,y:e.y+e.height}}},_processValue:function(e){return this._context.translator.translate(this._context.translator.adjust(e))},applyValue(){return this._visible?this.setAngle(this._processValue(this.getValue())):this},update(e){let{color:t,value:n}=e;this._color=t,this._value=n},hide(){this._visible=!1},getColor(){return this._color},getValue(){return this._value},beginAnimation:function(){if(!this._visible)return this;const e=this,t=this._processValue(this.getValue());B(e._angle,t)?(e.animate=D,e.setAngle(e._angle)):(e._start=e._angle,e._delta=t-e._angle,e._tracker.attr({visibility:"hidden"}),e._context.textEnabled&&(e._line.attr({visibility:"hidden"}),e._text.attr({visibility:"hidden"})))},animate:function(e){if(!this._visible)return this;const t=this;t._angle=t._start+t._delta*e,I(t._settings,t._context.baseAngle,t._angle),t._bar.attr(t._settings)},endAnimation:function(){const e=this;void 0!==e._delta?B(e._angle,e._start+e._delta)&&(e._tracker.attr({visibility:null}),e.setAngle(e._angle)):delete e.animate,delete e._start,delete e._delta}}),(0,i.default)("dxBarGauge",R),R.addPlugin(d.plugin),R.addPlugin(h.plugins.gauge)},5600:function(e,t,n){t.BaseGauge=void 0,t.compareArrays=function(e,t){return e&&t&&e.length===t.length&&function(e,t){let n;const i=e.length;let o,r;for(n=0;n<i;++n)if(o=e[n]!=e[n],r=t[n]!=t[n],!(o&&r||e[n]===t[n]))return!1;return!0}(e,t)},t.getSampleText=t.formatValue=void 0;var i=n(28779),o=n(52576),r=n(14393),a=g(n(34506)),s=g(n(20056)),l=g(n(72973)),c=g(n(2082)),u=n(74754),d=n(16216),h=n(23277),f=n(92528),p=n(17781);function g(e){return e&&e.__esModule?e:{default:e}}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_.apply(null,arguments)}const m=Number,v=o.extend,b=c.default.format,y=t.BaseGauge=a.default.inherit({_rootClassPrefix:"dxg",_themeSection:"gauge",_titleBBoxCache:null,_createThemeManager:function(){return new s.default.ThemeManager(this._getThemeManagerOptions())},_initCore:function(){const e=this,t=e._renderer.root;e._valueChangingLocker=0,e._translator=e._factory.createTranslator(),e._tracker=e._factory.createTracker({renderer:e._renderer,container:t}),e._setTrackerCallbacks()},_beginValueChanging:function(){this._resetIsReady(),this._onBeginUpdate(),++this._valueChangingLocker},_endValueChanging:function(){0==--this._valueChangingLocker&&this._drawn()},_setTrackerCallbacks:function(){const e=this,t=e._renderer,n=e._tooltip;e._tracker.setCallbacks({"tooltip-show":function(e,i,o){const r=e.getTooltipParameters(),a=t.getRootOffset(),s=v({value:r.value,valueText:n.formatValue(r.value),color:r.color},i);return n.show(s,{x:r.x+a.left,y:r.y+a.top,offset:r.offset},{target:i},void 0,o)},"tooltip-hide":function(){return n.hide()}})},_dispose:function(){this._cleanCore(),this.callBase.apply(this,arguments)},_disposeCore:function(){const e=this;e._themeManager.dispose(),e._tracker.dispose(),e._translator=e._tracker=null},_cleanCore:function(){this._tracker.deactivate(),this._noAnimation=!1,this._cleanContent()},_renderCore:function(){const e=this;e._isValidDomain&&(e._renderContent(),e._renderGraphicObjects(),e._tracker.setTooltipState(e._tooltip.isEnabled()),e._tracker.activate(),e._noAnimation=!1)},_applyChanges:function(){this.callBase.apply(this,arguments),this._resizing=this._noAnimation=!1},_setContentSize:function(){const e=this;e._resizing=e._noAnimation=2===e._changes.count(),e.callBase.apply(e,arguments)},_getChangesRequireCoreUpdate:function(){return["DOMAIN","MOSTLY_TOTAL","EXPORT"]},_isTitleBBoxChanged:function(){var e,t,n;const i=this._title.getLayoutOptions(),o=i.height!==(null===(e=this._titleBBoxCache)||void 0===e?void 0:e.height),r=i.y!==(null===(t=this._titleBBoxCache)||void 0===t?void 0:t.y),a=i.verticalAlignment!==(null===(n=this._titleBBoxCache)||void 0===n?void 0:n.verticalAlignment);return this._titleBBoxCache=null,o||r||a},_forceCoreUpdate:function(){return!(this._changes.has("TITLE")&&!this._getChangesRequireCoreUpdate().some((e=>this._changes.has(e))))||this._isTitleBBoxChanged()},_applySize:function(e){const t=this;t._innerRect={left:e[0],top:e[1],right:e[2],bottom:e[3]};const n=t._layout._cache;return t._forceCoreUpdate()&&(t._cleanCore(),t._renderCore()),t._layout._cache=t._layout._cache||n,[e[0],t._innerRect.top,e[2],t._innerRect.bottom]},_initialChanges:["DOMAIN"],_themeDependentChanges:["DOMAIN"],_optionChangesMap:{subtitle:"MOSTLY_TOTAL",indicator:"MOSTLY_TOTAL",geometry:"MOSTLY_TOTAL",animation:"MOSTLY_TOTAL",startValue:"DOMAIN",endValue:"DOMAIN"},_optionChangesOrder:["DOMAIN","MOSTLY_TOTAL"],_change_DOMAIN:function(){this._setupDomain()},_change_MOSTLY_TOTAL:function(){this._applyMostlyTotalChange()},_updateExtraElements:p.noop,_setupDomain:function(){const e=this;e._setupDomainCore(),e._isValidDomain=isFinite(1/(e._translator.getDomain()[1]-e._translator.getDomain()[0])),e._isValidDomain||e._incidentOccurred("W2301"),e._change(["MOSTLY_TOTAL"])},_applyMostlyTotalChange:function(){const e=this;e._setupCodomain(),e._setupAnimationSettings(),e._setupDefaultFormat(),e._change(["LAYOUT"])},_setupAnimationSettings:function(){const e=this;let t=e.option("animation");e._animationSettings=null,(void 0===t||t)&&(t=v({enabled:!0,duration:1e3,easing:"easeOutCubic"},t),t.enabled&&t.duration>0&&(e._animationSettings={duration:m(t.duration),easing:t.easing})),e._containerBackgroundColor=e.option("containerBackgroundColor")||e._themeManager.theme().containerBackgroundColor},_setupDefaultFormat:function(){const e=this._translator.getDomain();this._defaultFormatOptions=(0,i.getAppropriateFormat)(e[0],e[1],this._getApproximateScreenRange())},_setupDomainCore:null,_calculateSize:null,_cleanContent:null,_renderContent:null,_setupCodomain:null,_getApproximateScreenRange:null,_factory:{createTranslator:function(){return new r.Translator1D},createTracker:function(e){return new l.default(e)}}}),x=function(e,t,n){Object.is(e,-0)&&(e=0);const i=b(e,(t=t||{}).format);let o;return"function"==typeof t.customizeText?(o=v({value:e,valueText:i},n),String(t.customizeText.call(o,o))):i};t.formatValue=x;t.getSampleText=function(e,t){const n=x(e.getDomainStart(),t),i=x(e.getDomainEnd(),t);return n.length>=i.length?n:i},y.addPlugin(u.plugin),y.addPlugin(d.plugin),y.addPlugin(h.plugin),y.addPlugin(f.plugin);const C=y.prototype._setTooltipOptions;y.prototype._setTooltipOptions=function(){C.apply(this,arguments),this._tracker&&this._tracker.setTooltipState(this._tooltip.isEnabled())};const{_change_TITLE:S}=y.prototype;y.prototype._change_TITLE=function(){this._titleBBoxCache=_({},this._title.getLayoutOptions()),S.apply(this,arguments)}},93473:function(e,t,n){t.BaseTextCloudMarker=t.BaseRangeBar=t.BaseIndicator=t.BaseElement=void 0;var i,o=n(17781),r=n(21274),a=n(5600),s=n(28779),l=n(52576),c=(i=n(55620))&&i.__esModule?i:{default:i};const u=isFinite,d=Number,h=Math.round,f=a.formatValue,p=a.getSampleText,g=t.BaseElement=c.default.inherit({ctor:function(e){const t=this;(0,r.each)(e,(function(e,n){t["_"+e]=n})),t._init()},dispose:function(){const e=this;return e._dispose(),(0,r.each)(e,(function(t){e[t]=null})),e},getOffset:function(){return d(this._options.offset)||0}}),_=t.BaseIndicator=g.inherit({_init:function(){const e=this;e._rootElement=e._createRoot().linkOn(e._owner,{name:"value-indicator",after:"core"}),e._trackerElement=e._createTracker()},_dispose:function(){this._rootElement.linkOff()},_setupAnimation:function(){const e=this;e._options.animation&&(e._animation={step:function(t){e._actualValue=e._animation.start+e._animation.delta*t,e._actualPosition=e._translator.translate(e._actualValue),e._move()},duration:e._options.animation.duration>0?d(e._options.animation.duration):0,easing:e._options.animation.easing})},_runAnimation:function(e){const t=this,n=t._animation;n.start=t._actualValue,n.delta=e-t._actualValue,t._rootElement.animate({_:0},{step:n.step,duration:n.duration,easing:n.easing})},_createRoot:function(){return this._renderer.g().attr({class:this._className})},_createTracker:function(){return this._renderer.path([],"area")},_getTrackerSettings:o.noop,clean:function(){const e=this;return e._animation&&e._rootElement.stopAnimation(),e._rootElement.linkRemove().clear(),e._clear(),e._tracker.detach(e._trackerElement),e._options=e.enabled=e._animation=null,e},render:function(e){const t=this;return t.type=e.type,t._options=e,t._actualValue=t._currentValue=t._translator.adjust(t._options.currentValue),t.enabled=t._isEnabled(),t.enabled&&(t._setupAnimation(),t._rootElement.attr({fill:(0,s.extractColor)(t._options.color)}).linkAppend(),t._tracker.attach(t._trackerElement,t,t._trackerInfo)),t},resize:function(e){const t=this;return t._rootElement.clear(),t._clear(),t.visible=t._isVisible(e),t.visible&&((0,l.extend)(t._options,e),t._actualPosition=t._translator.translate(t._actualValue),t._render(),t._trackerElement.attr(t._getTrackerSettings()),t._move()),t},value:function(e,t){const n=this;let i;const o=this._rootElement;let r=null;return void 0===e?n._currentValue:(null===e?(r="hidden",n._currentValue=e):(i=n._translator.adjust(e),n._currentValue!==i&&u(i)&&(n._currentValue=i,n.visible&&(n._animation&&!t?n._runAnimation(i):(n._actualValue=i,n._actualPosition=n._translator.translate(i),n._move())))),o.attr({visibility:r}),n)},_isEnabled:null,_isVisible:null,_render:null,_clear:null,_move:null}),m={};m["right-bottom"]=m.rb=[0,-1,-1,0,0,1,1,0],m["bottom-right"]=m.br=[-1,0,0,-1,1,0,0,1],m["left-bottom"]=m.lb=[0,-1,1,0,0,1,-1,0],m["bottom-left"]=m.bl=[1,0,0,-1,-1,0,0,1],m["left-top"]=m.lt=[0,1,1,0,0,-1,-1,0],m["top-left"]=m.tl=[1,0,0,1,-1,0,0,-1],m["right-top"]=m.rt=[0,1,-1,0,0,-1,1,0],m["top-right"]=m.tr=[-1,0,0,1,1,0,0,-1];t.BaseTextCloudMarker=_.inherit({_move:function(){const e=this,t=e._options,n=e._getTextCloudOptions(),i=f(e._actualValue,t.text);e._text.attr({text:i});const o=e._text.getBBox(),r=n.x,a=n.y,s=(o.width||i.length*e._textUnitWidth)+2*t.horizontalOffset,l=(o.height||e._textHeight)+2*t.verticalOffset,c=function(e){let t=e.x,n=e.y;const i=m[e.type],o=e.cloudWidth,r=e.cloudHeight;let a,s;const l=t,c=n;return a=s=e.tailLength,1&i[0]?s=Math.min(s,r/3):a=Math.min(a,o/3),{cx:h(l+i[0]*a+(i[0]+i[2])*o/2),cy:h(c+i[1]*s+(i[1]+i[3])*r/2),points:[h(t),h(n),h(t+=i[0]*(o+a)),h(n+=i[1]*(r+s)),h(t+=i[2]*o),h(n+=i[3]*r),h(t+=i[4]*o),h(n+=i[5]*r),h(t+=i[6]*(o-a)),h(n+=i[7]*(r-s))]}}({x:r,y:a,cloudWidth:s,cloudHeight:l,tailLength:t.arrowLength,type:e._correctCloudType(n.type,{x:r,y:a},{width:s,height:l})});e._text.attr({x:c.cx,y:c.cy+e._textVerticalOffset}),e._cloud.attr({points:c.points}),e._trackerElement&&e._trackerElement.attr({points:c.points})},_measureText:function(){const e=this;let t,n,i,o;e._textVerticalOffset||(t=e._createRoot().append(e._owner),o=p(e._translator,e._options.text),n=e._renderer.text(o,0,0).attr({align:"center"}).css((0,s.patchFontOptions)(e._options.text.font)).append(t),i=n.getBBox(),t.remove(),e._textVerticalOffset=-i.y-i.height/2,e._textWidth=i.width,e._textHeight=i.height,e._textUnitWidth=e._textWidth/o.length,e._textFullWidth=e._textWidth+2*e._options.horizontalOffset,e._textFullHeight=e._textHeight+2*e._options.verticalOffset)},_render:function(){const e=this;e._measureText(),e._cloud=e._cloud||e._renderer.path([],"area").append(e._rootElement),e._text=e._text||e._renderer.text().append(e._rootElement),e._text.attr({align:"center"}).css((0,s.patchFontOptions)(e._options.text.font))},_clear:function(){delete this._cloud,delete this._text},getTooltipParameters:function(){const e=this._getTextCloudOptions();return{x:e.x,y:e.y,value:this._currentValue,color:this._options.color}},_correctCloudType:e=>e}),t.BaseRangeBar=_.inherit({_measureText:function(){const e=this;let t,n,i;e._hasText=e._isTextVisible(),e._hasText&&!e._textVerticalOffset&&(t=e._createRoot().append(e._owner),n=e._renderer.text(p(e._translator,e._options.text),0,0).attr({class:"dxg-text",align:"center"}).css((0,s.patchFontOptions)(e._options.text.font)).append(t),i=n.getBBox(),t.remove(),e._textVerticalOffset=-i.y-i.height/2,e._textWidth=i.width,e._textHeight=i.height)},_move:function(){const e=this;e._updateBarItemsPositions(),e._hasText&&(e._text.attr({text:f(e._actualValue,e._options.text)}),e._updateTextPosition(),e._updateLinePosition())},_updateBarItems:function(){const e=this,t=e._options;let n;const i=e._translator;e._setBarSides(),e._startPosition=i.translate(i.getDomainStart()),e._endPosition=i.translate(i.getDomainEnd()),e._basePosition=i.translate(t.baseValue),e._space=e._getSpace();const o=t.backgroundColor||"none";"none"!==o&&e._space>0?n=t.containerBackgroundColor||"none":(e._space=0,n="none"),e._backItem1.attr({fill:o}),e._backItem2.attr({fill:o}),e._spaceItem1.attr({fill:n}),e._spaceItem2.attr({fill:n})},_getSpace:function(){return 0},_updateTextItems:function(){const e=this;e._hasText?(e._line=e._line||e._renderer.path([],"line").attr({class:"dxg-main-bar","stroke-linecap":"square"}).append(e._rootElement),e._text=e._text||e._renderer.text("",0,0).attr({class:"dxg-text"}).append(e._rootElement),e._text.attr({align:e._getTextAlign()}).css(e._getFontOptions()),e._setTextItemsSides()):(e._line&&(e._line.remove(),delete e._line),e._text&&(e._text.remove(),delete e._text))},_isTextVisible:function(){return!1},_getTextAlign:function(){return"center"},_getFontOptions:function(){const e=this._options;let t=e.text.font;return t&&t.color||(t=(0,l.extend)({},t,{color:e.color})),(0,s.patchFontOptions)(t)},_updateBarItemsPositions:function(){const e=this,t=e._getPositions();e._backItem1.attr(e._buildItemSettings(t.start,t.back1)),e._backItem2.attr(e._buildItemSettings(t.back2,t.end)),e._spaceItem1.attr(e._buildItemSettings(t.back1,t.main1)),e._spaceItem2.attr(e._buildItemSettings(t.main2,t.back2)),e._mainItem.attr(e._buildItemSettings(t.main1,t.main2)),e._trackerElement&&e._trackerElement.attr(e._buildItemSettings(t.main1,t.main2))},_render:function(){const e=this;e._measureText(),e._backItem1||(e._backItem1=e._createBarItem(),e._backItem1.attr({class:"dxg-back-bar"})),e._backItem2||(e._backItem2=e._createBarItem(),e._backItem2.attr({class:"dxg-back-bar"})),e._spaceItem1||(e._spaceItem1=e._createBarItem(),e._spaceItem1.attr({class:"dxg-space-bar"})),e._spaceItem2||(e._spaceItem2=e._createBarItem(),e._spaceItem2.attr({class:"dxg-space-bar"})),e._mainItem||(e._mainItem=e._createBarItem(),e._mainItem.attr({class:"dxg-main-bar"})),e._updateBarItems(),e._updateTextItems()},_clear:function(){const e=this;delete e._backItem1,delete e._backItem2,delete e._spaceItem1,delete e._spaceItem2,delete e._mainItem,delete e._hasText,delete e._line,delete e._text},getTooltipParameters:function(){const e=this._getTooltipPosition();return{x:e.x,y:e.y,value:this._currentValue,color:this._options.color,offset:0}}})},24286:function(e,t,n){t.default=void 0;var i=n(21274),o=n(93473),r=n(11528),a=n(28779);const s=Number,l=Array.isArray,c=isFinite,u=o.BaseElement.inherit({_init:function(){this._root=this._renderer.g().attr({class:"dxg-range-container"}).linkOn(this._container,"range-container")},_dispose:function(){this._root.linkOff()},clean:function(){return this._root.linkRemove().clear(),this._options=this.enabled=null,this},_getRanges:function(){const e=this,t=e._options,n=e._translator,o=n.getDomain()[0],u=n.getDomain()[1],f=u-o,_=f>=0?p:g,m=f>=0?d:h;let v=[],b=[],y=[{start:o,end:u}];const x=(0,a.extractColor)(t.backgroundColor)||"none",C=t.width||{},S=s(C>0?C:C.start),w=s(C>0?C:C.end),E=w-S;if(void 0!==t.ranges&&!l(t.ranges))return null;if(!(S>=0&&w>=0&&S+w>0))return null;v=(l(t.ranges)?t.ranges:[]).reduce(((e,t,i)=>{t=t||{};const o=n.adjust(t.startValue),r=n.adjust(t.endValue);return c(o)&&c(r)&&_(o,r,t)&&e.push({start:o,end:r,color:(0,a.extractColor)(t.color),classIndex:i}),e}),[]);const T=e._themeManager.createPalette(t.palette,{type:"indicatingSet",extensionMode:t.paletteExtensionMode,keepLastColorInEnd:!0,count:v.length});return(0,i.each)(v,(function(e,t){const n=T.getNextColor();t.color=(0,r.isString)(t.color)&&t.color||n||"none",t.className="dxg-range dxg-range-"+t.classIndex,delete t.classIndex})),(0,i.each)(v,(function(e,t){let n,i,o,r,a;const s=[],l=[];for(n=0,i=b.length;n<i;++n)a=b[n],r=m(a.start,a.end,t.start,t.end),(o=r[0])&&(o.color=a.color)&&(o.className=a.className)&&s.push(o),(o=r[1])&&(o.color=a.color)&&(o.className=a.className)&&s.push(o);for(s.push(t),b=s,n=0,i=y.length;n<i;++n)a=y[n],r=m(a.start,a.end,t.start,t.end),(o=r[0])&&l.push(o),(o=r[1])&&l.push(o);y=l})),(0,i.each)(y,(function(e,t){t.color=x,t.className="dxg-range dxg-background-range",b.push(t)})),(0,i.each)(b,(function(e,t){t.startWidth=(t.start-o)/f*E+S,t.endWidth=(t.end-o)/f*E+S})),b},render:function(e){const t=this;return t._options=e,t._processOptions(),t._ranges=t._getRanges(),t._ranges&&(t.enabled=!0,t._root.linkAppend()),t},resize:function(e){const t=this;return t._root.clear(),t._isVisible(e)&&(0,i.each)(t._ranges,(function(n,i){t._createRange(i,e).attr({fill:i.color,class:i.className}).append(t._root)})),t},_processOptions:null,_isVisible:null,_createRange:null,getColorForValue:function(e){let t=null;return(0,i.each)(this._ranges,(function(n,i){if(i.start<=e&&e<=i.end||i.start>=e&&e>=i.end)return t=i.color,!1})),t}});function d(e,t,n,i){let o;return n>e&&i<t?o=[{start:e,end:n},{start:i,end:t}]:n>=t||i<=e?o=[{start:e,end:t}]:n<=e&&i>=t?o=[]:n>e?o=[{start:e,end:n}]:i<t&&(o=[{start:i,end:t}]),o}function h(e,t,n,i){let o;return n<e&&i>t?o=[{start:e,end:n},{start:i,end:t}]:n<=t||i>=e?o=[{start:e,end:t}]:n>=e&&i<=t?o=[]:n<e?o=[{start:e,end:n}]:i>t&&(o=[{start:i,end:t}]),o}function f(e,t,n){let{startValue:i,endValue:o}=n;return o===i&&i===e&&t===e}function p(e,t,n){return t-e>0||f(e,t,n)}function g(e,t,n){return e-t>0||f(e,t,n)}t.default=u;e.exports=t.default,e.exports.default=t.default},59248:function(e,t,n){t.default=void 0;var i=p(n(92848)),o=n(22263),r=n(52576),a=n(21274),s=n(5600),l=n(73488),c=n(28779),u=n(94618),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(26737)),h=p(n(1678));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}const g=isFinite,_=c.normalizeAngle,m=c.getCosAndSin,v=Math.abs,b=Math.max,y=Math.min,x=Math.round,C=a.each,S=Math.PI;const w=l.dxGauge.inherit({_rootClass:"dxg-circular-gauge",_factoryMethods:{rangeContainer:"createCircularRangeContainer",indicator:"createCircularIndicator"},_gridSpacingFactor:17,_scaleTypes:{type:"polarAxes",drawingType:"circular"},_getThemeManagerOptions(){const e=this.callBase.apply(this,arguments);return e.subTheme="_circular",e},_updateScaleTickIndent:function(e){const t=e.label.indentFromTick,n=e.tick.visible?e.tick.length:0,i=this._scale.measureLabels((0,r.extend)({},this._canvas)),o=e.orientation,a=n;let s=t;if(t>=0)"outside"===o?s+=a:"center"===o&&(s+=a/2);else{s-=b(i.width,i.height),"inside"===o?s-=a:"center"===o&&(s-=a/2)}e.label.indentFromAxis=s,this._scale.updateOptions(e)},_setupCodomain:function(){const e=this,t=e.option("geometry")||{};let n,i=t.startAngle,o=t.endAngle;i=g(i)?_(i):225,o=g(o)?_(o):-45,v(i-o)<1?(o-=360,n={left:-1,up:-1,right:1,down:1}):(i<o&&(o-=360),n=function(e,t){const n=m(e),i=m(t),o=n.cos,r=n.sin,a=i.cos,s=i.sin;return{left:r<=0&&s>=0||r<=0&&s<=0&&o<=a||r>=0&&s>=0&&o>=a?-1:y(o,a,0),right:r>=0&&s<=0||r>=0&&s>=0&&o>=a||r<=0&&s<=0&&o<=a?1:b(o,a,0),up:o<=0&&a>=0||o<=0&&a<=0&&r>=s||o>=0&&a>=0&&r<=s?-1:-b(r,s,0),down:o>=0&&a<=0||o>=0&&a>=0&&r<=s||o<=0&&a<=0&&r>=s?1:-y(r,s,0)}}(i,o)),e._area={x:0,y:0,radius:100,startCoord:i,endCoord:o,sides:n},e._translator.setCodomain(i,o)},_getCenter:function(){return this._getElementLayout()},_shiftScale:function(e){const t=this._scale,n=t.getCanvas();n.width=n.height=2*e.radius,t.draw(n);const i=t.getCenter();t.shift({right:e.x-i.x,bottom:e.y-i.y})},_getScaleLayoutValue:function(){return this._area.radius},_getTicksOrientation:function(e){return e.orientation},_getTicksCoefficients:function(e){const t={inner:0,outer:1};return"inside"===e.orientation?(t.inner=1,t.outer=0):"center"===e.orientation&&(t.inner=t.outer=.5),t},_correctScaleIndents:function(e,t,n){t>=0?(e.horizontalOffset=t+n.width,e.verticalOffset=t+n.height):(e.horizontalOffset=e.verticalOffset=0,e.min-=-t+b(n.width,n.height)),e.inverseHorizontalOffset=n.width/2,e.inverseVerticalOffset=n.height/2},_measureMainElements:function(e,t){const n=this._area.radius;let i=0,o=1/0,r=0,a=0,s=0,l=0;const c=this._scale;return C(e.concat(c),(function(e,c){const u=c.measure?c.measure({radius:n-c.getOffset()}):t;u.min>0&&(o=y(o,u.min)),u.max>0&&(i=b(i,u.max)),u.horizontalOffset>0&&(r=b(r,u.max+u.horizontalOffset)),u.verticalOffset>0&&(a=b(a,u.max+u.verticalOffset)),u.inverseHorizontalOffset>0&&(s=b(s,u.inverseHorizontalOffset)),u.inverseVerticalOffset>0&&(l=b(l,u.inverseVerticalOffset))})),r=b(r-i,0),a=b(a-i,0),{minRadius:o,maxRadius:i,horizontalMargin:r,verticalMargin:a,inverseHorizontalMargin:s,inverseVerticalMargin:l}},_applyMainLayout:function(e,t){const n=this._measureMainElements(e,t),i=this._area,o=i.sides,a={left:(o.left<-.1?n.horizontalMargin:n.inverseHorizontalMargin)||0,right:(o.right>.1?n.horizontalMargin:n.inverseHorizontalMargin)||0,top:(o.up<-.1?n.verticalMargin:n.inverseVerticalMargin)||0,bottom:(o.down>.1?n.verticalMargin:n.inverseVerticalMargin)||0},s=function(e,t,n){const i=(0,r.extend)({},e);let o,a=0,s=0;n=n||{},t>0&&(i.left+=n.left||0,i.right-=n.right||0,i.top+=n.top||0,i.bottom-=n.bottom||0,E(i)>0&&T(i)>0?(o=T(i)/E(i),o>1?t<o?a=E(i):s=T(i):t>o?s=T(i):a=E(i),a>0||(a=s/t),s>0||(s=a*t),a=(E(i)-a)/2,s=(T(i)-s)/2,i.left+=a,i.right-=a,i.top+=s,i.bottom-=s):(i.left=i.right=(i.left+i.right)/2,i.top=i.bottom=(i.top+i.bottom)/2));return i}(this._innerRect,(o.down-o.up)/(o.right-o.left),a);let l=y(E(s)/(o.right-o.left),T(s)/(o.down-o.up));l=l-n.maxRadius+i.radius;const c=s.left-E(s)*o.left/(o.right-o.left),u=s.top-T(s)*o.up/(o.down-o.up);i.x=x(c),i.y=x(u),i.radius=l,s.left-=a.left,s.right+=a.right,s.top-=a.top,s.bottom+=a.bottom,this._innerRect=s},_getElementLayout:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return{x:this._area.x,y:this._area.y,radius:x(this._area.radius-e)}},_getApproximateScreenRange:function(){const e=this,t=e._area;let n=y(e._canvas.width/(t.sides.right-t.sides.left),e._canvas.height/(t.sides.down-t.sides.up));return n>t.totalRadius&&(n=t.totalRadius),n*=.8,-e._translator.getCodomainRange()*n*S/180},_getDefaultSize:function(){return{width:300,height:300}},_factory:(0,o.clone)(s.BaseGauge.prototype._factory)});function E(e){return e.right-e.left}function T(e){return e.bottom-e.top}const A=w.prototype._factory.indicators={};w.prototype._factory.createIndicator=(0,l.createIndicatorCreator)(A),A._default=d._default,A.rectangleneedle=d.rectangleneedle,A.triangleneedle=d.triangleneedle,A.twocolorneedle=d.twocolorneedle,A.trianglemarker=d.trianglemarker,A.textcloud=d.textcloud,A.rangebar=d.rangebar,w.prototype._factory.RangeContainer=h.default,(0,i.default)("dxCircularGauge",w),w.addPlugin(u.plugins.gauge);t.default=w;e.exports=t.default,e.exports.default=t.default},26737:function(e,t,n){t.twocolorneedle=t.triangleneedle=t.trianglemarker=t.textcloud=t.rectangleneedle=t.rangebar=t._default=void 0;var i=n(93473),o=n(28779);const r=Number,a=o.getCosAndSin,s=o.convertAngleToRendererSpace;function l(e,t){return e&&e.radius-t<=0&&(e.radius=t+1),e}const c=i.BaseIndicator.inherit({_move:function(){const e=this,t=e._options,n=s(e._actualPosition);e._rootElement.rotate(n,t.x,t.y),e._trackerElement&&e._trackerElement.rotate(n,t.x,t.y)},_isEnabled:function(){return this._options.width>0},_isVisible:function(e){return e.radius-r(this._options.indentFromCenter)>0},_getTrackerSettings:function(){const e=this._options,t=this._getRadius(),n=this._getIndentFromCenter(),i=e.x,o=e.y-(t+n)/2;let r=e.width/2,a=(t-n)/2;return r>10||(r=10),a>10||(a=10),{points:[i-r,o-a,i-r,o+a,i+r,o+a,i+r,o-a]}},_render:function(){this._renderPointer()},_clearPointer:function(){delete this._element},_clear:function(){this._clearPointer()},_getIndentFromCenter:function(e){return Number(this._options.indentFromCenter)||0},_getRadius:function(){return 0},measure:function(e){const t={max:e.radius};return this._options.indentFromCenter<0&&(t.inverseHorizontalOffset=t.inverseVerticalOffset=-r(this._options.indentFromCenter)),t},getTooltipParameters:function(){const e=this._options,t=a(this._actualPosition),n=(this._getRadius()+this._getIndentFromCenter())/2;return{x:e.x+t.cos*n,y:e.y-t.sin*n,value:this._currentValue,color:e.color,offset:e.width/2}}}),u=c.inherit({_isVisible:function(e){const t=this._adjustOffset(Number(this._options.indentFromCenter),e.radius),n=this._adjustOffset(Number(this._options.offset),e.radius);return e.radius-t-n>0},getOffset:function(){return 0},_adjustOffset:function(e,t){const n=t/Number(this._options.beginAdaptingAtRadius);return n<1&&(e=Math.floor(e*n)),e||0},_getIndentFromCenter:function(e){return this._adjustOffset(Number(this._options.indentFromCenter),this._options.radius)},_getRadius:function(){const e=this._options;return e.radius-this._adjustOffset(Number(e.offset),e.radius)},_renderSpindle:function(){const e=this,t=e._options,n=t.radius,i=2*this._adjustOffset(r(t.spindleSize)/2,n);let o=2*this._adjustOffset(r(t.spindleGapSize)/2,n)||0;o>0&&(o=o<=i?o:i),i>0&&(e._spindleOuter=e._spindleOuter||e._renderer.circle().append(e._rootElement),e._spindleInner=e._spindleInner||e._renderer.circle().append(e._rootElement),e._spindleOuter.attr({class:"dxg-spindle-border",cx:t.x,cy:t.y,r:i/2}),e._spindleInner.attr({class:"dxg-spindle-hole",cx:t.x,cy:t.y,r:o/2,fill:t.containerBackgroundColor}))},_render:function(){this.callBase(),this._renderSpindle()},_clear:function(){this.callBase(),delete this._spindleOuter,delete this._spindleInner}});t.rectangleneedle=t._default=u.inherit({_renderPointer:function(){const e=this,t=e._options,n=t.y-this._getRadius(),i=t.y-this._getIndentFromCenter(),o=t.x-t.width/2,a=o+r(t.width);e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[o,i,o,n,a,n,a,i]})}}),t.triangleneedle=u.inherit({_renderPointer:function(){const e=this,t=e._options,n=t.y-this._getRadius(),i=t.y-this._getIndentFromCenter(),o=t.x-t.width/2,r=t.x+t.width/2;e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[o,i,t.x,n,r,i]})}}),t.twocolorneedle=u.inherit({_renderPointer:function(){const e=this,t=e._options,n=t.x-t.width/2,i=t.x+t.width/2,o=t.y-this._getRadius(),a=t.y-this._getIndentFromCenter(),s=r(t.secondFraction)||0;let l,c;s>=1?l=c=a:s<=0?l=c=o:(c=o+(a-o)*s,l=c+r(t.space)),e._firstElement=e._firstElement||e._renderer.path([],"area").append(e._rootElement),e._spaceElement=e._spaceElement||e._renderer.path([],"area").append(e._rootElement),e._secondElement=e._secondElement||e._renderer.path([],"area").append(e._rootElement),e._firstElement.attr({points:[n,a,n,l,i,l,i,a]}),e._spaceElement.attr({points:[n,l,n,c,i,c,i,l],class:"dxg-hole",fill:t.containerBackgroundColor}),e._secondElement.attr({points:[n,c,n,o,i,o,i,c],class:"dxg-part",fill:t.secondColor})},_clearPointer:function(){delete this._firstElement,delete this._secondElement,delete this._spaceElement}}),t.trianglemarker=c.inherit({_isEnabled:function(){return this._options.length>0&&this._options.width>0},_isVisible:e=>!0,resize(e){return this.callBase(l(e,0))},_render:function(){const e=this,t=e._options,n=t.x,i=t.y-t.radius,o=t.width/2||0,a=i-r(t.length);e._element=e._element||e._renderer.path([],"area").append(e._rootElement);const s={points:[n,i,n-o,a,n+o,a],stroke:"none","stroke-width":0,"stroke-linecap":"square"};t.space>0&&(s["stroke-width"]=Math.min(t.space,t.width/4)||0,s.stroke=s["stroke-width"]>0&&t.containerBackgroundColor||"none"),e._element.attr(s).sharp()},_clear:function(){delete this._element},_getTrackerSettings:function(){const e=this._options,t=e.x,n=e.y-e.radius-e.length/2;let i=e.width/2,o=e.length/2;return i>10||(i=10),o>10||(o=10),{points:[t-i,n-o,t-i,n+o,t+i,n+o,t+i,n-o]}},measure:function(e){return{min:e.radius,max:e.radius+r(this._options.length)}},getTooltipParameters:function(){const e=this._options,t=a(this._actualPosition),n=e.radius+e.length/2,i=this.callBase();return i.x=e.x+t.cos*n,i.y=e.y-t.sin*n,i.offset=e.length/2,i}}),t.textcloud=i.BaseTextCloudMarker.inherit({_isEnabled:function(){return!0},_isVisible:e=>!0,resize(e){return this.callBase(l(e,0))},_getTextCloudOptions:function(){const e=this,t=a(e._actualPosition),n=(0,o.normalizeAngle)(e._actualPosition);return{x:e._options.x+t.cos*e._options.radius,y:e._options.y-t.sin*e._options.radius,type:n>270?"left-top":n>180?"top-right":n>90?"right-bottom":"bottom-left"}},measure:function(e){const t=this,n=r(t._options.arrowLength)||0;t._measureText();const i=t._textFullHeight+n,o=t._textFullWidth+n;return{min:e.radius,max:e.radius,horizontalOffset:o,verticalOffset:i,inverseHorizontalOffset:o,inverseVerticalOffset:i}}}),t.rangebar=i.BaseRangeBar.inherit({_isEnabled:function(){return this._options.size>0},_isVisible:e=>!0,resize(e){return this.callBase(l(e,r(this._options.size)))},_createBarItem:function(){return this._renderer.arc().attr({"stroke-linejoin":"round"}).append(this._rootElement)},_createTracker:function(){return this._renderer.arc().attr({"stroke-linejoin":"round"})},_setBarSides:function(){const e=this;e._maxSide=e._options.radius,e._minSide=e._maxSide-r(e._options.size)},_getSpace:function(){const e=this._options;return e.space>0?180*e.space/e.radius/Math.PI:0},_isTextVisible:function(){return(this._options.text||{}).indent>0},_setTextItemsSides:function(){const e=this,t=e._options,n=r(t.text.indent);e._lineFrom=t.y-t.radius,e._lineTo=e._lineFrom-n,e._textRadius=t.radius+n},_getPositions:function(){const e=this,t=e._basePosition,n=e._actualPosition;let i,o;return t>=n?(i=t,o=n):(i=n,o=t),{start:e._startPosition,end:e._endPosition,main1:i,main2:o,back1:Math.min(i+e._space,e._startPosition),back2:Math.max(o-e._space,e._endPosition)}},_buildItemSettings:function(e,t){const n=this;return{x:n._options.x,y:n._options.y,innerRadius:n._minSide,outerRadius:n._maxSide,startAngle:t,endAngle:e}},_updateTextPosition:function(){const e=this,t=a(e._actualPosition);let n=e._options.x+e._textRadius*t.cos,i=e._options.y-e._textRadius*t.sin;n+=t.cos*e._textWidth*.6,i-=t.sin*e._textHeight*.6,e._text.attr({x:n,y:i+e._textVerticalOffset})},_updateLinePosition:function(){const e=this,t=e._options.x;let n,i;e._basePosition>e._actualPosition?(n=t-2,i=t):e._basePosition<e._actualPosition?(n=t,i=t+2):(n=t-1,i=t+1),e._line.attr({points:[n,e._lineFrom,n,e._lineTo,i,e._lineTo,i,e._lineFrom]}).rotate(s(e._actualPosition),t,e._options.y).sharp()},_getTooltipPosition:function(){const e=this,t=a((e._basePosition+e._actualPosition)/2),n=(e._minSide+e._maxSide)/2;return{x:e._options.x+t.cos*n,y:e._options.y-t.sin*n}},measure:function(e){const t=this,n={min:e.radius-r(t._options.size),max:e.radius};return t._measureText(),t._hasText&&(n.max+=r(t._options.text.indent),n.horizontalOffset=t._textWidth,n.verticalOffset=t._textHeight),n}})},1678:function(e,t,n){t.default=void 0;var i,o=(i=n(24286))&&i.__esModule?i:{default:i},r=n(28779);const a=Number,s=Math.max,l=o.default.inherit({_processOptions:function(){const e=this;switch(e._inner=e._outer=0,(0,r.normalizeEnum)(e._options.orientation)){case"inside":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}},_isVisible:function(e){let t=this._options.width;return t=a(t)||s(a(t.start),a(t.end)),e.radius-this._inner*t>0},_createRange:function(e,t){const n=this,i=(e.startWidth+e.endWidth)/2;return n._renderer.arc(t.x,t.y,t.radius-n._inner*i,t.radius+n._outer*i,n._translator.translate(e.end),n._translator.translate(e.start)).attr({"stroke-linejoin":"round"})},measure:function(e){let t=this._options.width;return t=a(t)||s(a(t.start),a(t.end)),{min:e.radius-this._inner*t,max:e.radius+this._outer*t}}});t.default=l;e.exports=t.default,e.exports.default=t.default},73488:function(e,t,n){t.createIndicatorCreator=function(e){return function(t,n,i){const o=e[(0,s.normalizeEnum)(n)]||!i&&e._default;return o?new o(t):null}},t.dxGauge=void 0;var i=n(5600),o=n(11528),r=n(52576),a=n(99091),s=n(28779),l=n(17781);const c=Array.isArray,u=isFinite,d=Number,h=Math.min,f=Math.max,p=r.extend,g="value",_="subvalues",m=[1,2,5];function v(e,t){return null===e?e:u(e)?d(e):t}function b(e){return c(e)?e:(0,o.isNumeric)(e)?[e]:null}t.dxGauge=i.BaseGauge.inherit({_initCore:function(){const e=this,t=e._renderer;var n;e._setupValue(e.option(g)),e.__subvalues=b(e.option(_)),e._setupSubvalues(e.__subvalues),void 0===(n=e).option(g)&&void 0===n.option(_)&&void 0!==n.option("valueIndicators")&&(function(e){e.value=e.subvalues=l.noop,e._setupValue=e._setupSubvalues=e._updateValueIndicator=e._updateSubvalueIndicators=null}(n),function(e){e._indicatorValues=[],x(e,"_indicatorValues",e.option("valueIndicators")),e._valueIndicators=[];const t=e._applyMostlyTotalChange;e._applyMostlyTotalChange=function(){x(this,"_indicatorValues",this.option("valueIndicators")),t.call(this)},e._updateActiveElements=C,e._prepareValueIndicators=S,e._disposeValueIndicators=w,e._cleanValueIndicators=E,e.indicatorValue=T}(n)),e.callBase.apply(e,arguments),e._rangeContainer=new e._factory.RangeContainer({renderer:t,container:t.root,translator:e._translator,themeManager:e._themeManager}),e._initScale(),e._subvalueIndicatorContainer=e._renderer.g().attr({class:"dxg-subvalue-indicators"}).linkOn(e._renderer.root,"valueIndicator").enableLinks()},_fontFields:["scale.label.font","valueIndicators.rangebar.text.font","valueIndicators.textcloud.text.font","indicator.text.font"],_initScale:function(){const e=this;e._scaleGroup=e._renderer.g().attr({class:"dxg-scale"}).linkOn(e._renderer.root,"scale"),e._labelsAxesGroup=e._renderer.g().attr({class:"dxg-scale-elements"}).linkOn(e._renderer.root,"scale-elements"),e._scale=new a.Axis({incidentOccurred:e._incidentOccurred,renderer:e._renderer,axesContainerGroup:e._scaleGroup,labelsAxesGroup:e._labelsAxesGroup,axisType:e._scaleTypes.type,drawingType:e._scaleTypes.drawingType,widgetClass:"dxg",getTemplate(){}})},_disposeCore:function(){const e=this;e.callBase.apply(e,arguments),e._scale.dispose(),e._scaleGroup.linkOff(),e._labelsAxesGroup.linkOff(),e._rangeContainer.dispose(),e._disposeValueIndicators(),e._subvalueIndicatorContainer.linkOff(),e._scale=e._scaleGroup=e._labelsAxesGroup=e._rangeContainer=null},_disposeValueIndicators:function(){const e=this;e._valueIndicator&&e._valueIndicator.dispose(),e._subvalueIndicatorsSet&&e._subvalueIndicatorsSet.dispose(),e._valueIndicator=e._subvalueIndicatorsSet=null},_setupDomainCore:function(){const e=this,t=e.option("scale")||{};let n=e.option("startValue"),i=e.option("endValue");n=(0,o.isNumeric)(n)?d(n):(0,o.isNumeric)(t.startValue)?d(t.startValue):0,i=(0,o.isNumeric)(i)?d(i):(0,o.isNumeric)(t.endValue)?d(t.endValue):100,e._baseValue=n<i?n:i,e._translator.setDomain(n,i)},_cleanContent:function(){this._rangeContainer.clean(),this._cleanValueIndicators()},_measureScale:function(e){const t=this,n=e.tick,i=n.visible&&n.length>0&&n.width>0,o=e.minorTick,a=o.visible&&o.length>0&&o.width>0,s=e.label,l=Number(s.indentFromTick);if(!i&&!a&&!s.visible)return{};const c=t._scale.measureLabels((0,r.extend)({},t._canvas)),u=t._getScaleLayoutValue(),d={min:u,max:u},p=t._getTicksCoefficients(e),g=p.inner,_=p.outer;return i&&(d.min=h(d.min,u-g*n.length),d.max=f(d.max,u+_*n.length)),a&&(d.min=h(d.min,u-g*o.length),d.max=f(d.max,u+_*o.length)),s.visible&&t._correctScaleIndents(d,l,c),d},_renderContent:function(){const e=this,t=e._prepareScaleSettings();e._rangeContainer.render(p(e._getOption("rangeContainer"),{vertical:e._area.vertical})),e._renderScale(t),e._subvalueIndicatorContainer.linkAppend();const n=(0,s.map)([e._rangeContainer].concat(e._prepareValueIndicators()),(function(e){return e&&e.enabled?e:null}));e._applyMainLayout(n,e._measureScale(t)),n.forEach((t=>t.resize(e._getElementLayout(t.getOffset())))),e._shiftScale(e._getElementLayout(0),t),e._beginValueChanging(),e._updateActiveElements(),e._endValueChanging()},_prepareScaleSettings:function(){const e=this,t=e.option("scale"),n=(0,r.extend)(!0,{},e._themeManager.theme("scale"),t);return n.label.indentFromAxis=0,n.isHorizontal=!e._area.vertical,n.forceUserTickInterval|=(0,o.isDefined)(t)&&(0,o.isDefined)(t.tickInterval)&&!(0,o.isDefined)(t.scaleDivisionFactor),n.axisDivisionFactor=n.scaleDivisionFactor||e._gridSpacingFactor,n.minorAxisDivisionFactor=n.minorScaleDivisionFactor||5,n.numberMultipliers=m,n.tickOrientation=e._getTicksOrientation(n),n.label.useRangeColors&&(n.label.customizeColor=function(){return e._rangeContainer.getColorForValue(this.value)}),n},_renderScale:function(e){const t=this,n=t._translator.getDomain(),i=n[0],o=n[1],a=t._translator.getCodomain(),s=!!(i>o^e.inverted),l=h(i,o),c=f(i,o);e.min=l,e.max=c,e.startAngle=90-a[0],e.endAngle=90-a[1],e.skipViewportExtending=!0,e.inverted=s,t._scale.updateOptions(e),t._scale.setBusinessRange({axisType:"continuous",dataType:"numeric",min:l,max:c,invert:s}),t._updateScaleTickIndent(e),t._scaleGroup.linkAppend(),t._labelsAxesGroup.linkAppend(),t._scale.draw((0,r.extend)({},t._canvas))},_updateIndicatorSettings:function(e){const t=this;e.currentValue=e.baseValue=u(t._translator.translate(e.baseValue))?d(e.baseValue):t._baseValue,e.vertical=t._area.vertical,e.text&&!e.text.format&&(e.text.format=t._defaultFormatOptions)},_prepareIndicatorSettings:function(e,t){const n=this,i=n._themeManager.theme("valueIndicators"),o=(0,s.normalizeEnum)(e.type||n._themeManager.theme(t)),r=p(!0,{},i._default,i[o],e);return r.type=o,r.animation=n._animationSettings,r.containerBackgroundColor=n._containerBackgroundColor,n._updateIndicatorSettings(r),r},_cleanValueIndicators:function(){this._valueIndicator&&this._valueIndicator.clean(),this._subvalueIndicatorsSet&&this._subvalueIndicatorsSet.clean()},_prepareValueIndicators:function(){const e=this;return e._prepareValueIndicator(),null!==e.__subvalues&&e._prepareSubvalueIndicators(),[e._valueIndicator,e._subvalueIndicatorsSet]},_updateActiveElements:function(){this._updateValueIndicator(),this._updateSubvalueIndicators()},_prepareValueIndicator:function(){const e=this;let t=e._valueIndicator;const n=e._prepareIndicatorSettings(e.option("valueIndicator")||{},"valueIndicatorType");t&&t.type!==n.type&&(t.dispose(),t=null),t||(t=e._valueIndicator=e._createIndicator(n.type,e._renderer.root,"dxg-value-indicator","value-indicator")),t.render(n)},_createSubvalueIndicatorsSet:function(){const e=this,t=e._subvalueIndicatorContainer;return new A({createIndicator:function(n,i){return e._createIndicator(n,t,"dxg-subvalue-indicator","subvalue-indicator",i)},createPalette:function(t){return e._themeManager.createPalette(t)}})},_prepareSubvalueIndicators:function(){const e=this;let t=e._subvalueIndicatorsSet;const n=e._prepareIndicatorSettings(e.option("subvalueIndicator")||{},"subvalueIndicatorType");t||(t=e._subvalueIndicatorsSet=e._createSubvalueIndicatorsSet());const i=n.type!==t.type;t.type=n.type;const o=e._createIndicator(n.type,e._renderer.root);o&&(o.dispose(),t.render(n,i))},_setupValue:function(e){this.__value=v(e,this.__value)},_setupSubvalues:function(e){const t=void 0===e?this.__subvalues:b(e);let n,i,o;if(null!==t){for(n=0,i=t.length,o=[];n<i;++n)o.push(v(t[n],this.__subvalues[n]));this.__subvalues=o}},_updateValueIndicator:function(){const e=this;e._valueIndicator&&e._valueIndicator.value(e.__value,e._noAnimation)},_updateSubvalueIndicators:function(){const e=this;e._subvalueIndicatorsSet&&e._subvalueIndicatorsSet.values(e.__subvalues,e._noAnimation)},value:function(e){return void 0!==e?(this._changeValue(e),this):this.__value},subvalues:function(e){return void 0!==e?(this._changeSubvalues(e),this):null!==this.__subvalues?this.__subvalues.slice():void 0},_changeValue:function(e){this._setupValue(e),this._beginValueChanging(),this._updateValueIndicator(),this._updateExtraElements(),this.__value!==this.option(g)&&this.option(g,this.__value),this._endValueChanging()},_changeSubvalues:function(e){null!==this.__subvalues?(this._setupSubvalues(e),this._beginValueChanging(),this._updateSubvalueIndicators(),this._updateExtraElements(),this._endValueChanging()):(this.__subvalues=b(e),this._setContentSize(),this._renderContent()),(0,i.compareArrays)(this.__subvalues,this.option(_))||this.option(_,this.__subvalues)},_optionChangesMap:{scale:"DOMAIN",rangeContainer:"MOSTLY_TOTAL",valueIndicator:"MOSTLY_TOTAL",subvalueIndicator:"MOSTLY_TOTAL",containerBackgroundColor:"MOSTLY_TOTAL",value:"VALUE",subvalues:"SUBVALUES",valueIndicators:"MOSTLY_TOTAL"},_customChangesOrder:["VALUE","SUBVALUES"],_change_VALUE:function(){this._changeValue(this.option(g))},_change_SUBVALUES:function(){this._changeSubvalues(this.option(_))},_applyMainLayout:null,_getElementLayout:null,_createIndicator:function(e,t,n,i,o,r){const a=this,s=a._factory.createIndicator({renderer:a._renderer,translator:a._translator,owner:t,tracker:a._tracker,className:n},e,r);return s&&(s.type=e,s._trackerInfo={type:i,index:o}),s},_getApproximateScreenRange:null});function y(e){return e?e.value:null}function x(e,t,n){const i=e[t],o=c(n)?(0,s.map)(n,y):[];let r=0;const a=o.length,l=[];for(;r<a;++r)l.push(v(o[r],i[r]));e[t]=l}function C(){const e=this;e._valueIndicators.forEach((t=>{t.value(e._indicatorValues[t.index],e._noAnimation)}))}function S(){const e=this,t=e._valueIndicators||[],n=e.option("valueIndicators"),i=[];let o,r=0;for(o=c(n)?n.length:0;r<o;++r)i.push(n[r]);for(o=t.length;r<o;++r)i.push(null);const a=[];return i.forEach(((n,i)=>{let o=t[i];if(!n)return void(o&&o.dispose());const r=e._prepareIndicatorSettings(n,"valueIndicatorType");o&&o.type!==r.type&&(o.dispose(),o=null),o||(o=e._createIndicator(r.type,e._renderer.root,"dxg-value-indicator","value-indicator",i,!0)),o&&(o.index=i,o.render(r),a.push(o))})),e._valueIndicators=a,e._valueIndicators}function w(){this._valueIndicators.forEach((e=>e.dispose())),this._valueIndicators=null}function E(){this._valueIndicators.forEach((e=>e.clean()))}function T(e,t){return function(e,t,n,i,o){return void 0!==o?(void 0!==n[i]&&(n[i]=v(o,n[i]),t[i]&&t[i].value(n[i])),e):n[i]}(this,this._valueIndicators,this._indicatorValues,e,t)}function A(e){this._parameters=e,this._indicators=[]}A.prototype={constructor:A,dispose:function(){const e=this;return e._indicators.forEach((e=>e.dispose())),e._parameters=e._options=e._indicators=e._colorPalette=e._palette=null,e},clean:function(){const e=this;return e._sample&&e._sample.clean().dispose(),e._indicators.forEach((e=>e.clean())),e._sample=e._options=e._palette=null,e},render:function(e,t){const n=this;return n._options=e,n._sample=n._parameters.createIndicator(n.type),n._sample.render(e),n.enabled=n._sample.enabled,n._palette=(0,o.isDefined)(e.palette)?n._parameters.createPalette(e.palette):null,n.enabled&&(n._generatePalette(n._indicators.length),n._indicators=(0,s.map)(n._indicators,(function(e,i){return t&&(e.dispose(),e=n._parameters.createIndicator(n.type,i)),e.render(n._getIndicatorOptions(i)),e}))),n},getOffset:function(){return this._sample.getOffset()},resize:function(e){const t=this;return t._layout=e,t._indicators.forEach((t=>t.resize(e))),t},measure:function(e){return this._sample.measure(e)},_getIndicatorOptions:function(e){let t=this._options;return this._colorPalette&&(t=p({},t,{color:this._colorPalette[e]})),t},_generatePalette:function(e){const t=this;let n=null;t._palette&&(t._palette.reset(),n=t._palette.generateColors(e,{repeat:!0})),t._colorPalette=n},_adjustIndicatorsCount:function(e){const t=this,n=t._indicators;let i,o,r;const a=n.length;if(a>e){for(i=e,o=a;i<o;++i)n[i].clean().dispose();t._indicators=n.slice(0,e),t._generatePalette(n.length)}else if(a<e)for(t._generatePalette(e),i=a,o=e;i<o;++i)r=t._parameters.createIndicator(t.type,i),r.render(t._getIndicatorOptions(i)).resize(t._layout),n.push(r)},values:function(e,t){const n=this;if(n.enabled)return void 0!==e?(c(e)||(e=u(e)?[Number(e)]:null),e&&(n._adjustIndicatorsCount(e.length),n._indicators.forEach(((n,i)=>n.value(e[i],t)))),n):(0,s.map)(n._indicators,(function(e){return e.value()}))}}},38452:function(e,t,n){t.default=void 0;var i=n(21274),o=f(n(92848)),r=n(52576),a=n(22263),s=n(5600),l=n(73488),c=n(28779),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(30621)),d=f(n(95946));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const p=Math.max,g=Math.min,_=Math.round,m=l.dxGauge.inherit({_rootClass:"dxg-linear-gauge",_factoryMethods:{rangeContainer:"createLinearRangeContainer",indicator:"createLinearIndicator"},_gridSpacingFactor:25,_scaleTypes:{type:"xyAxes",drawingType:"linear"},_getTicksOrientation:function(e){return e.isHorizontal?e.verticalOrientation:e.horizontalOrientation},_getThemeManagerOptions(){const e=this.callBase.apply(this,arguments);return e.subTheme="_linear",e},_getInvertedState(){return!this._area.vertical&&this.option("rtlEnabled")},_prepareScaleSettings:function(){const e=this.callBase();return e.inverted=this._getInvertedState(),e},_updateScaleTickIndent:function(e){const t=e.label.indentFromTick,n=e.tick.length,i=this._scale.measureLabels((0,r.extend)({},this._canvas)),o=e.isHorizontal?i.height+i.y:0,a=t>0;let s,l,c;e.isHorizontal?(s=a?{center:.5,top:0,bottom:1}:{center:.5,top:1,bottom:0},c=n*s[e.verticalOrientation],l=i.y):(s=a?{center:.5,left:0,right:1}:{center:.5,left:1,right:0},c=n*s[e.horizontalOrientation],l=-i.width),e.label.indentFromAxis=-t+(a?-c+l:c-o),this._scale.updateOptions(e)},_shiftScale:function(e,t){const n=this,i=(0,r.extend)({},n._canvas),o=t.isHorizontal,a=n._scale;i[o?"left":"top"]=n._area[o?"startCoord":"endCoord"],i[o?"right":"bottom"]=i[o?"width":"height"]-n._area[o?"endCoord":"startCoord"],a.draw(i),a.shift({left:-e.x,top:-e.y})},_setupCodomain:function(){const e=this,t=e.option("geometry")||{},n="vertical"===(0,c.normalizeEnum)(t.orientation);e._area={vertical:n,x:0,y:0,startCoord:-100,endCoord:100},e._rangeContainer.vertical=n,e._translator.setInverted(e._getInvertedState()),e._translator.setCodomain(-100,100)},_getScaleLayoutValue:function(){return this._area[this._area.vertical?"x":"y"]},_getTicksCoefficients:function(e){const t={inner:0,outer:1};return this._area.vertical?"left"===e.horizontalOrientation?(t.inner=1,t.outer=0):"center"===e.horizontalOrientation&&(t.inner=t.outer=.5):"top"===e.verticalOrientation?(t.inner=1,t.outer=0):"center"===e.verticalOrientation&&(t.inner=t.outer=.5),t},_correctScaleIndents:function(e,t,n){const i=this._area.vertical;t>=0?e.max+=t+n[i?"width":"height"]:e.min-=-t+n[i?"width":"height"],e.indent=n[i?"height":"width"]/2},_measureMainElements:function(e,t){const n=this,o=n._area.x,r=n._area.y;let a=1e3,s=0,l=0;const c=n._scale;return(0,i.each)(e.concat(c),(function(e,n){const i=n.measure?n.measure({x:o+n.getOffset(),y:r+n.getOffset()}):t;void 0!==i.max&&(s=p(s,i.max)),void 0!==i.min&&(a=g(a,i.min)),i.indent>0&&(l=p(l,i.indent))})),{minBound:a,maxBound:s,indent:l}},_applyMainLayout:function(e,t){const n=this,i=n._measureMainElements(e,t),o=n._area;let r,a;o.vertical?(r=v(n._innerRect,{width:i.maxBound-i.minBound}),a=(r.left+r.right)/2-(i.minBound+i.maxBound)/2,o.startCoord=r.bottom-i.indent,o.endCoord=r.top+i.indent,o.x=_(o.x+a)):(r=v(n._innerRect,{height:i.maxBound-i.minBound}),a=(r.top+r.bottom)/2-(i.minBound+i.maxBound)/2,o.startCoord=r.left+i.indent,o.endCoord=r.right-i.indent,o.y=_(o.y+a)),n._translator.setCodomain(o.startCoord,o.endCoord),n._innerRect=r},_getElementLayout:function(e){return{x:_(this._area.x+e),y:_(this._area.y+e)}},_getApproximateScreenRange:function(){const e=this,t=e._area;let n=t.vertical?e._canvas.height:e._canvas.width;return n>t.totalSize&&(n=t.totalSize),n*=.8,n},_getDefaultSize:function(){return"vertical"===(this.option("geometry")||{}).orientation?{width:100,height:300}:{width:300,height:100}},_factory:(0,a.clone)(s.BaseGauge.prototype._factory)});function v(e,t,n){const i=(0,r.extend)({},e);let o;return n=n||{},t&&(i.left+=n.left||0,i.right-=n.right||0,i.top+=n.top||0,i.bottom-=n.bottom||0,t.width>0&&(o=(i.right-i.left-t.width)/2,o>0&&(i.left+=o,i.right-=o)),t.height>0&&(o=(i.bottom-i.top-t.height)/2,o>0&&(i.top+=o,i.bottom-=o))),i}const b=m.prototype._factory.indicators={};m.prototype._factory.createIndicator=(0,l.createIndicatorCreator)(b),b._default=u._default,b.rectangle=u.rectangle,b.rhombus=u.rhombus,b.circle=u.circle,b.trianglemarker=u.trianglemarker,b.textcloud=u.textcloud,b.rangebar=u.rangebar,m.prototype._factory.RangeContainer=d.default,(0,o.default)("dxLinearGauge",m);t.default=m;e.exports=t.default,e.exports.default=t.default},30621:function(e,t,n){t.trianglemarker=t.textcloud=t.rhombus=t.rectangle=t.rangebar=t.circle=t._default=void 0;var i=n(93473),o=n(28779);const r=Number,a=i.BaseIndicator.inherit({_move:function(){const e=this,t=e._actualPosition-e._zeroPosition;e._rootElement.move(e.vertical?0:t,e.vertical?t:0),e._trackerElement&&e._trackerElement.move(e.vertical?0:t,e.vertical?t:0)},_isEnabled:function(){return this.vertical=this._options.vertical,this._options.length>0&&this._options.width>0},_isVisible:function(){return!0},_getTrackerSettings:function(){const e=this._options;let t,n,i,o,r=e.width/2,a=e.length/2;const s=this._zeroPosition;return r>10||(r=10),a>10||(a=10),this.vertical?(t=e.x-a,n=e.x+a,i=s+r,o=s-r):(t=s-r,n=s+r,i=e.y+a,o=e.y-a),{points:[t,i,t,o,n,o,n,i]}},_render:function(){this._zeroPosition=this._translator.getCodomainStart()},_clear:function(){delete this._element},measure:function(e){const t=this.vertical?e.x:e.y;return{min:t-this._options.length/2,max:t+this._options.length/2}},getTooltipParameters:function(){const e=this,t=e._options,n=e._actualPosition,i={x:n,y:n,value:e._currentValue,color:t.color,offset:t.width/2};return e.vertical?i.x=t.x:i.y=t.y,i}});t.rectangle=a.inherit({_render:function(){const e=this,t=e._options;let n,i,o,r;e.callBase();const a=e._zeroPosition;e.vertical?(n=t.x-t.length/2,i=t.x+t.length/2,o=a+t.width/2,r=a-t.width/2):(n=a-t.width/2,i=a+t.width/2,o=t.y+t.length/2,r=t.y-t.length/2),e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[n,o,n,r,i,r,i,o]})}}),t.rhombus=a.inherit({_render:function(){const e=this,t=e._options;let n,i,o,r;e.callBase(),e.vertical?(n=t.x,i=e._zeroPosition,o=t.length/2||0,r=t.width/2||0):(n=e._zeroPosition,i=t.y,o=t.width/2||0,r=t.length/2||0),e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[n-o,i,n,i-r,n+o,i,n,i+r]})}}),t.circle=a.inherit({_render:function(){const e=this,t=e._options;let n,i;e.callBase(),e.vertical?(n=t.x,i=e._zeroPosition):(n=e._zeroPosition,i=t.y);const o=t.length/2||0;e._element=e._element||e._renderer.circle().append(e._rootElement),e._element.attr({cx:n,cy:i,r:o})}}),t.trianglemarker=a.inherit({_isEnabled:function(){const e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===(0,o.normalizeEnum)(e._options.horizontalOrientation):"bottom"===(0,o.normalizeEnum)(e._options.verticalOrientation),e._options.length>0&&e._options.width>0},_isVisible:function(){return!0},_render:function(){const e=this,t=e._options;let n,i,o,a;const s={stroke:"none","stroke-width":0,"stroke-linecap":"square"};e.callBase(),e.vertical?(n=t.x,o=e._zeroPosition,i=n+r(e._inverted?t.length:-t.length),s.points=[n,o,i,o-t.width/2,i,o+t.width/2]):(o=t.y,n=e._zeroPosition,a=o+r(e._inverted?t.length:-t.length),s.points=[n,o,n-t.width/2,a,n+t.width/2,a]),t.space>0&&(s["stroke-width"]=Math.min(t.space,t.width/4)||0,s.stroke=s["stroke-width"]>0&&t.containerBackgroundColor||"none"),e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr(s).sharp()},_getTrackerSettings:function(){const e=this,t=e._options;let n,i,o,a,s,l=t.width/2,c=r(t.length);return l>10||(l=10),c>20||(c=20),e.vertical?(n=t.x,i=n+(e._inverted?c:-c),o=e._zeroPosition+l,a=e._zeroPosition-l,s=[n,o,i,o,i,a,n,a]):(o=t.y,a=o+(e._inverted?c:-c),n=e._zeroPosition-l,i=e._zeroPosition+l,s=[n,o,n,a,i,a,i,o]),{points:s}},measure:function(e){const t=this,n=r(t._options.length);let i,o;return t.vertical?(i=o=e.x,t._inverted?o=i+n:i=o-n):(i=o=e.y,t._inverted?o=i+n:i=o-n),{min:i,max:o}},getTooltipParameters:function(){const e=this,t=e._options,n=(e._inverted?t.length:-t.length)/2,i=e.callBase();return e.vertical?i.x+=n:i.y+=n,i.offset=t.length/2,i}}),t.textcloud=i.BaseTextCloudMarker.inherit({_isEnabled:function(){const e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===(0,o.normalizeEnum)(e._options.horizontalOrientation):"bottom"===(0,o.normalizeEnum)(e._options.verticalOrientation),!0},_isVisible:function(){return!0},_getTextCloudOptions:function(){const e=this;let t,n=e._actualPosition,i=e._actualPosition;return e.vertical?(n=e._options.x,t=e._inverted?"top-left":"top-right"):(i=e._options.y,t=e._inverted?"right-top":"right-bottom"),{x:n,y:i,type:t}},measure:function(e){const t=this;let n,i;const o=r(t._options.arrowLength)||0;return t._measureText(),t.vertical?t._inverted?(n=e.x,i=e.x+o+t._textFullWidth):(n=e.x-o-t._textFullWidth,i=e.x):t._inverted?(n=e.y,i=e.y+o+t._textFullHeight):(n=e.y-o-t._textFullHeight,i=e.y),{min:n,max:i,indent:0}},_correctCloudType(e,t,n){let{x:i,y:o}=t,{width:r,height:a}=n;return"right-top"===e||"right-bottom"===e?i-r<this._translator.getCodomainStart()&&(e=`left-${e.split("-")[1]}`):"top-left"!==e&&"top-right"!==e||o+a>this._translator.getCodomainStart()&&(e=`bottom-${e.split("-")[1]}`),e}}),t.rangebar=t._default=i.BaseRangeBar.inherit({_isEnabled:function(){const e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===(0,o.normalizeEnum)(e._options.horizontalOrientation):"bottom"===(0,o.normalizeEnum)(e._options.verticalOrientation),e._options.size>0},_isVisible:function(){return!0},_createBarItem:function(){return this._renderer.path([],"area").append(this._rootElement)},_createTracker:function(){return this._renderer.path([],"area")},_setBarSides:function(){const e=this,t=e._options,n=r(t.size);let i,o;e.vertical?e._inverted?(i=t.x,o=t.x+n):(i=t.x-n,o=t.x):e._inverted?(i=t.y,o=t.y+n):(i=t.y-n,o=t.y),e._minSide=i,e._maxSide=o,e._minBound=i,e._maxBound=o},_getSpace:function(){const e=this._options;return e.space>0?r(e.space):0},_isTextVisible:function(){const e=this._options.text||{};return e.indent>0||e.indent<0},_getTextAlign:function(){return this.vertical?this._options.text.indent>0?"left":"right":"center"},_setTextItemsSides:function(){const e=this,t=r(e._options.text.indent);t>0?(e._lineStart=e._maxSide,e._lineEnd=e._maxSide+t,e._textPosition=e._lineEnd+(e.vertical?2:e._textHeight/2),e._maxBound=e._textPosition+(e.vertical?e._textWidth:e._textHeight/2)):t<0&&(e._lineStart=e._minSide,e._lineEnd=e._minSide+t,e._textPosition=e._lineEnd-(e.vertical?2:e._textHeight/2),e._minBound=e._textPosition-(e.vertical?e._textWidth:e._textHeight/2))},_getPositions:function(){const e=this,t=e._startPosition,n=e._endPosition,i=e._space,o=e._basePosition,r=e._actualPosition;let a,s,l,c;return t<n?(o<r?(a=o,s=r):(a=r,s=o),l=a-i,c=s+i):(o>r?(a=o,s=r):(a=r,s=o),l=a+i,c=s-i),{start:t,end:n,main1:a,main2:s,back1:l,back2:c}},_buildItemSettings:function(e,t){const n=this,i=n._minSide,o=n._maxSide;return{points:n.vertical?[i,e,i,t,o,t,o,e]:[e,i,e,o,t,o,t,i]}},_updateTextPosition:function(){const e=this;e._text.attr(e.vertical?{x:e._textPosition,y:e._actualPosition+e._textVerticalOffset}:{x:e._actualPosition,y:e._textPosition+e._textVerticalOffset})},_updateLinePosition:function(){const e=this,t=e._actualPosition;let n,i,o;e.vertical?(e._basePosition>=t?(n=t,i=t+2):(n=t-2,i=t),o=[e._lineStart,n,e._lineStart,i,e._lineEnd,i,e._lineEnd,n]):(e._basePosition<=t?(n=t-2,i=t):(n=t,i=t+2),o=[n,e._lineStart,n,e._lineEnd,i,e._lineEnd,i,e._lineStart]),e._line.attr({points:o}).sharp()},_getTooltipPosition:function(){const e=this,t=(e._minSide+e._maxSide)/2,n=(e._basePosition+e._actualPosition)/2;return e.vertical?{x:t,y:n}:{x:n,y:t}},measure:function(e){const t=this,n=r(t._options.size),i=r(t._options.text.indent);let o,a,s;return t._measureText(),t.vertical?(o=a=e.x,t._inverted?a+=n:o-=n,t._hasText&&(s=t._textHeight/2,i>0&&(a+=i+t._textWidth),i<0&&(o+=i-t._textWidth))):(o=a=e.y,t._inverted?a+=n:o-=n,t._hasText&&(s=t._textWidth/2,i>0&&(a+=i+t._textHeight),i<0&&(o+=i-t._textHeight))),{min:o,max:a,indent:s}}})},95946:function(e,t,n){t.default=void 0;var i,o=(i=n(24286))&&i.__esModule?i:{default:i},r=n(28779);const a=Number,s=Math.max,l=o.default.inherit({_processOptions:function(){const e=this;if(e.vertical=e._options.vertical,e._inner=e._outer=0,e.vertical)switch((0,r.normalizeEnum)(e._options.horizontalOrientation)){case"left":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}else switch((0,r.normalizeEnum)(e._options.verticalOrientation)){case"top":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}},_isVisible:function(){return!0},_createRange:function(e,t){const n=this,i=n._inner,o=n._outer,r=n._translator.translate(e.start),a=n._translator.translate(e.end);let s;const l=t.x,c=t.y,u=e.startWidth,d=e.endWidth;return s=n.vertical?[l-u*i,r,l-d*i,a,l+d*o,a,l+u*o,r]:[r,c+u*o,r,c-u*i,a,c-d*i,a,c+d*o],n._renderer.path(s,"area")},measure:function(e){const t={};let n;return t.min=t.max=e[this.vertical?"x":"y"],n=this._options.width,n=a(n)||s(a(n.start),a(n.end)),t.min-=this._inner*n,t.max+=this._outer*n,t}});t.default=l;e.exports=t.default,e.exports.default=t.default},20056:function(e,t,n){t.default=void 0;var i=n(52576),o=n(71671);const r=i.extend,a=o.BaseThemeManager.inherit({ctor(e){this.callBase.apply(this,arguments),this._subTheme=e.subTheme},_initializeTheme:function(){const e=this;let t;e._subTheme&&(t=r(!0,{},e._theme[e._subTheme],e._theme),r(!0,e._theme,t)),e.callBase.apply(e,arguments)}});t.default={ThemeManager:a};e.exports=t.default,e.exports.default=t.default},72973:function(e,t,n){t.default=void 0;var i=u(n(92774)),o=u(n(55620)),r=u(n(64960)),a=n(37373),s=u(n(3122)),l=n(98834),c=u(n(89797));function u(e){return e&&e.__esModule?e:{default:e}}const d="gauge-tooltip",h=s.default.add,f=o.default.inherit({ctor:function(e){const t=this;t._element=e.renderer.g().attr({class:"dxg-tracker",stroke:"none","stroke-width":0,fill:"#000000",opacity:1e-4}).linkOn(e.container,{name:"tracker",after:"peripheral"}),t._showTooltipCallback=function(){const e=t._tooltipEvent.target,n=e["gauge-data-target"],i=e["gauge-data-info"];if(t._targetEvent=null,t._tooltipTarget!==e){const o=n=>{n&&(t._tooltipTarget=e)};o(t._callbacks["tooltip-show"](n,i,o))}},t._hideTooltipCallback=function(){t._hideTooltipTimeout=null,t._targetEvent=null,t._tooltipTarget&&(t._callbacks["tooltip-hide"](),t._tooltipTarget=null)},t._dispose=function(){clearTimeout(t._hideTooltipTimeout),t._showTooltipCallback=t._hideTooltipCallback=t._dispose=null}},dispose:function(){const e=this;return e._dispose(),e.deactivate(),e._element.off("."+d),e._element.linkOff(),e._element=e._context=e._callbacks=null,e},activate:function(){return this._element.linkAppend(),this},deactivate:function(){return this._element.linkRemove().clear(),this},attach:function(e,t,n){return e.data({"gauge-data-target":t,"gauge-data-info":n}).append(this._element),this},detach:function(e){return e.remove(),this},setTooltipState:function(e){const t=this;if(t._element.off("."+d),e){const e={tracker:t};t._element.on((0,l.addNamespace)([c.default.move],d),e,g).on((0,l.addNamespace)([c.default.out],d),e,_).on((0,l.addNamespace)([c.default.down],d),e,v).on((0,l.addNamespace)([c.default.up],d),e,b).on((0,l.addNamespace)([a.name],d),e,m)}return t},setCallbacks:function(e){return this._callbacks=e,this},_showTooltip:function(e){const t=this;clearTimeout(t._hideTooltipTimeout),t._hideTooltipTimeout=null,t._tooltipTarget!==e.target&&(t._tooltipEvent=e,t._showTooltipCallback())},_hideTooltip:function(e){const t=this;clearTimeout(t._hideTooltipTimeout),e?t._hideTooltipTimeout=setTimeout(t._hideTooltipCallback,e):t._hideTooltipCallback()}});let p=null;function g(e){const t=e.data.tracker;t._x=e.pageX,t._y=e.pageY,t._showTooltip(e)}function _(e){e.data.tracker._hideTooltip(100)}function m(e){e.data.tracker._hideTooltip()}function v(e){(p=e.data.tracker)._touch=!0,g(e)}function b(){p._touch=!1}function y(e){const t=p;t&&!t._touch&&(t._hideTooltip(100),p=null)}h((function(){i.default.subscribeGlobal(r.default.getDocument(),(0,l.addNamespace)([c.default.down],d),y)}));t.default=f;e.exports=t.default,e.exports.default=t.default},4655:function(e,t,n){t.default=void 0;var i,o=(i=n(38452))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},9735:function(e,t,n){t.createPalette=x,t.currentPalette=g,t.generateColors=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{keepLastColorInEnd:!1};return n.type=n.baseColorSet,n.extensionMode=n.paletteExtensionMode,x(e,n).generateColors(t)},t.getAccentColor=function(e,t){return(e=_(e,{themeDefault:t})).accentColor||e[0]},t.getDiscretePalette=function(e,t,n){const i=t>0?function(e,t){const n=t-1,i=e.length-1,o=[],r=[];let s;function u(e){const t=i*e,n=l(t),a=c(t);r.push(o[n].blend(o[a],t-n).toHex())}for(s=0;s<=i;++s)o.push(new a.default(e[s]));if(n>0)for(s=0;s<=n;++s)u(s/n);else u(.5);return r}(_(e,{type:"gradientSet",themeDefault:n}),t):[];return{getColor:function(e){return i[e]||null}}},t.getGradientPalette=function(e,t){const n=_(e,{type:"gradientSet",themeDefault:t}),i=new a.default(n[0]),o=new a.default(n[1]);return{getColor:function(e){return 0<=e&&e<=1?i.blend(o,e).toHex():null}}},t.getPalette=_,t.registerPalette=function(e,t){const n={};let i;u(t)?n.simpleSet=t.slice(0):t&&(n.simpleSet=u(t.simpleSet)?t.simpleSet.slice(0):void 0,n.indicatingSet=u(t.indicatingSet)?t.indicatingSet.slice(0):void 0,n.gradientSet=u(t.gradientSet)?t.gradientSet.slice(0):void 0,n.accentColor=t.accentColor);n.accentColor||(n.accentColor=n.simpleSet&&n.simpleSet[0]);(n.simpleSet||n.indicatingSet||n.gradientSet)&&(i=(0,o.normalizeEnum)(e),(0,r.extend)(f[i]=f[i]||{},n))};var i,o=n(28779),r=n(52576),a=(i=n(43101))&&i.__esModule?i:{default:i},s=n(11528);const l=Math.floor,c=Math.ceil,u=Array.isArray,d=50,h="material",f={[h]:{simpleSet:["#1db2f5","#f5564a","#97c95c","#ffc720","#eb3573","#a63db8"],indicatingSet:["#97c95c","#ffc720","#f5564a"],gradientSet:["#1db2f5","#97c95c"],accentColor:"#1db2f5"},office:{simpleSet:["#5f8b95","#ba4d51","#af8a53","#955f71","#859666","#7e688c"],indicatingSet:["#a3b97c","#e1b676","#ec7f83"],gradientSet:["#5f8b95","#ba4d51"],accentColor:"#ba4d51"},"harmony light":{simpleSet:["#fcb65e","#679ec5","#ad79ce","#7abd5c","#e18e92","#b6d623","#b7abea","#85dbd5"],indicatingSet:["#b6d623","#fcb65e","#e18e92"],gradientSet:["#7abd5c","#fcb65e"],accentColor:"#679ec5"},"soft pastel":{simpleSet:["#60a69f","#78b6d9","#6682bb","#a37182","#eeba69","#90ba58","#456c68","#7565a4"],indicatingSet:["#90ba58","#eeba69","#a37182"],gradientSet:["#78b6d9","#eeba69"],accentColor:"#60a69f"},pastel:{simpleSet:["#bb7862","#70b3a1","#bb626a","#057d85","#ab394b","#dac599","#153459","#b1d2c6"],indicatingSet:["#70b3a1","#dac599","#bb626a"],gradientSet:["#bb7862","#70b3a1"],accentColor:"#bb7862"},bright:{simpleSet:["#70c92f","#f8ca00","#bd1550","#e97f02","#9d419c","#7e4452","#9ab57e","#36a3a6"],indicatingSet:["#70c92f","#f8ca00","#bd1550"],gradientSet:["#e97f02","#f8ca00"],accentColor:"#e97f02"},soft:{simpleSet:["#cbc87b","#9ab57e","#e55253","#7e4452","#e8c267","#565077","#6babac","#ad6082"],indicatingSet:["#9ab57e","#e8c267","#e55253"],gradientSet:["#9ab57e","#e8c267"],accentColor:"#565077"},ocean:{simpleSet:["#75c099","#acc371","#378a8a","#5fa26a","#064970","#38c5d2","#00a7c6","#6f84bb"],indicatingSet:["#c8e394","#7bc59d","#397c8b"],gradientSet:["#acc371","#38c5d2"],accentColor:"#378a8a"},vintage:{simpleSet:["#dea484","#efc59c","#cb715e","#eb9692","#a85c4c","#f2c0b5","#c96374","#dd956c"],indicatingSet:["#ffe5c6","#f4bb9d","#e57660"],gradientSet:["#efc59c","#cb715e"],accentColor:"#cb715e"},violet:{simpleSet:["#d1a1d1","#eeacc5","#7b5685","#7e7cad","#a13d73","#5b41ab","#e287e2","#689cc1"],indicatingSet:["#d8e2f6","#d0b2da","#d56a8a"],gradientSet:["#eeacc5","#7b5685"],accentColor:"#7b5685"},carmine:{simpleSet:["#fb7764","#73d47f","#fed85e","#d47683","#dde392","#757ab2"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#fb7764","#73d47f"],accentColor:"#f05b41"},"dark moon":{simpleSet:["#4ddac1","#f4c99a","#80dd9b","#f998b3","#4aaaa0","#a5aef1"],indicatingSet:["#59d8a4","#f0ad4e","#f9517e"],gradientSet:["#4ddac1","#f4c99a"],accentColor:"#3debd3"},"soft blue":{simpleSet:["#7ab8eb","#97da97","#facb86","#e78683","#839bda","#4db7be"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#7ab8eb","#97da97"],accentColor:"#7ab8eb"},"dark violet":{simpleSet:["#9c63ff","#64c064","#eead51","#d2504b","#4b6bbf","#2da7b0"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#9c63ff","#64c064"],accentColor:"#9c63ff"},"green mist":{simpleSet:["#3cbab2","#8ed962","#5b9d95","#efcc7c","#f1929f","#4d8dab"],indicatingSet:["#72d63c","#ffc852","#f74a5e"],gradientSet:["#3cbab2","#8ed962"],accentColor:"#3cbab2"}};let p;function g(e){if(void 0===e)return p||h;e=(0,o.normalizeEnum)(e),p=e in f?e:void 0}function _(e,t){let n;t=t||{},e=e||(void 0===p?t.themeDefault:g());const i=t.type;return u(e)?e.slice(0):((0,s.isString)(e)&&(n=f[(0,o.normalizeEnum)(e)]),n||(n=f[g()]),i?n[i].slice(0):n)}function m(e){let t=0;this.next=function(){const n=e[t++];return t===e.length&&this.reset(),n},this.reset=function(){t=0}}function v(e,t){const n=t.useHighlight?d:0,i=new m([0,n,-n]);let o=[];function r(){const t=i.next();o=t?function(e,t){const n=[];let i;const o=e.length;for(i=0;i<o;++i)n.push(C(e[i],t));return n}(e,t):e.slice(0)}return{getColor:function(t){const n=o[t%e.length];return t%e.length==e.length-1&&r(),n},generateColors:function(e){const n=[];e=e||t.count;for(let t=0;t<e;t++)n.push(this.getColor(t));return n},reset:function(){i.reset(),r()}}}function b(e,t){return{getColor:function(t,n){const i=e.length,o=l((n-1)/i+1),r=e[t%i];return o>1?function(e,t,n){const i=new a.default(e).hsl;let o=i.l/100;const r=n-1/n;let s=o-.5*r,l=o+.5*r;const c=(n-1)/2,u=t-c;return s<Math.min(.5,.9*o)&&(s=Math.min(.5,.9*o)),l>Math.max(.8,o+.15*(1-o))&&(l=Math.max(.8,o+.15*(1-o))),u<0?o-=(s-o)*u/c:o+=u/c*(l-o),i.l=100*o,a.default.prototype.fromHSL(i).toHex()}(r,l(t/i),o):r},generateColors:function(e){const n=[];e=e||t.count;for(let t=0;t<e;t++)n.push(this.getColor(t,e));return n},reset:function(){}}}function y(e,t){const n=e.length;let i=[];function o(e,t,n,i){const o=Math.floor(e/t);let r,a,s=e-t*o,l=n;for(;l<n+e;)a=o,s>0&&(a+=1,s--),r=a>2?Math.floor(a/2):0,i.push(l+r),l+=a;return i.sort((function(e,t){return e-t}))}function r(e,t,n){let i=0;for(let o=t=(n+t)%n;o<2*n;o+=1){const t=(n+o)%n;if(e[t])return[e[t],i];i++}}function s(i){if(i<=n)return e;let s=[];const l=n-2;let c=0,u=[];u=t.keepLastColorInEnd?o(i-2,l,1,[0,i-1]):o(i-1,n-1,1,[0]);for(let t=0;t<i;t++)u.indexOf(t)>-1&&(s[t]=e[c++]);return s=function(e,t){for(let n=0;n<t;n++)if(!e[n]){let i=e[n-1];if(!i)continue;{const o=r(e,n,t),s=new a.default(o[0]);i=new a.default(i);for(let t=0;t<o[1];t++,n++)e[n]=i.blend(s,(t+1)/(o[1]+1)).toHex()}}return e}(s,i),s}return{getColor:function(e,o){return o=o||t.count||n,i.length!==o&&(i=s(o)),i[e%o]},generateColors:function(e,i){if(e=e||t.count||n,i&&e>n){const t=s(n);for(let i=0;i<e-n;i++)t.push(t[i]);return t}return n>0?s(e).slice(0,e):[]},reset:function(){}}}function x(e,t,n){const i={dispose(){this._extensionStrategy=null},getNextColor(e){return this._extensionStrategy.getColor(this._currentColor++,e)},generateColors(e,t){return this._extensionStrategy.generateColors(e,(t||{}).repeat)},reset(){return this._currentColor=0,this._extensionStrategy.reset(),this}},o=((t=t||{}).extensionMode||"").toLowerCase(),r=_(e,{type:t.type||"simpleSet",themeDefault:n});return i._extensionStrategy="alternate"===o?v(r,t):"extrapolate"===o?b(r,t):y(r,t),i.reset(),i}function C(e,t){let n=new a.default(e).alter(t);const i=.3*(o=n).r+.59*o.g+.11*o.b;var o;return(i>200||i<55)&&(n=new a.default(e).alter(-t/2)),n.toHex()}},4381:function(e,t,n){t.default=void 0;var i,o=(i=n(98895))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},11247:function(e,t,n){t.default=void 0;var i,o=(i=n(52769))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},30185:function(e,t,n){t.default=void 0;var i,o=(i=n(61080))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},62381:function(e,t,n){t.utils=t.formatValue=t.consts=t.HEIGHT_COMPACT_MODE=void 0;var i=n(38528),o=n(11528);t.HEIGHT_COMPACT_MODE=24,t.utils={trackerSettings:{fill:"grey",stroke:"grey",opacity:1e-4},animationSettings:{duration:250}},t.consts={emptySliderMarkerText:". . .",pointerSize:4};t.formatValue=function(e,t,n,r,a,s){const l={value:e,valueText:(0,i.smartFormatter)(e,{labelOptions:t,ticks:n?n.ticks:[],tickInterval:n?n.tickInterval:void 0,dataType:r,type:a,logarithmBase:s})};return String((0,o.isFunction)(t.customizeText)?t.customizeText.call(l,l):l.valueText)}},61080:function(e,t,n){t.default=void 0;var i=T(n(92848)),o=n(11528),r=n(52576),a=n(21274),s=n(28779),l=T(n(41380)),c=n(50254),u=n(99857),d=n(99091),h=n(60976),f=T(n(2082)),p=n(62381),g=n(9331),_=n(9358),m=n(34735),v=n(68006),b=n(64449),y=T(n(63885)),x=T(n(34506)),C=n(74754),S=n(16216),w=n(92528),E=n(25058);function T(e){return e&&e.__esModule?e:{default:e}}const A=Math.max,O=Math.ceil,k=Math.floor,D="startValue",L="datetime",P="value",M="discrete",R="semidiscrete",I="string",B=P+"Changed",V="containerBackgroundColor",F="logarithmic",H="keep",N="shift",z="reset";function j(e,t,n){const i=X(e,void 0===t?p.consts.emptySliderMarkerText:(0,p.formatValue)(t,n),n.font);return O(i.height)+2*n.paddingTopBottom+p.consts.pointerSize}function G(e,t,n,i){const o=X(e,(0,p.formatValue)(t,n.label,i,n.valueType,n.type,n.logarithmBase),n.label.font);return O(o.width/2)}function Z(e,t){const n=(0,o.type)(e),i=(0,o.type)(t),r=function(e){return n===e||i===e};return r("date")?L:r("number")?"numeric":r(I)?I:""}function W(e){return e.valueType===L&&e.marker.visible}function U(e,t,n){if(!e)return;const i=e.logarithmBase;e.type===F&&i<=0||i&&!(0,o.isNumeric)(i)?(e.logarithmBase=t,n("E2104")):e.type!==F&&(e.logarithmBase=void 0)}function $(e,t,n,i){const o=t.label,r=t.marker,a=t.placeholderHeight,s="semidiscrete"===t.type?t.customTicks:i.ticks,l=(0,p.formatValue)(s[0],o);return a||(o.visible?o.topIndent+X(e,l,o.font).height:0)+(n?r.topIndent+r.separatorHeight:0)}function Y(e,t,n){return e?n?e=l.default.getNextDateUnit(e):e+=t:e=t,e}function K(e,t,n,i){let r;const a=(0,o.isDefined)(i.minVisible)?i.minVisible:i.min,s=(0,o.isDefined)(i.maxVisible)?i.maxVisible:i.max,c=e._categoriesInfo;let u,d;const h={};return e.type===R?r=function(e,t,n,i){const o=e.minorTickInterval;let r,a=e.tickInterval;const s="datetime"===e.valueType,c=e.axisDivisionFactor||{};let u,d;if(!a)do{if(r=Y(a,o,s),a===r)break;a=r,s&&(r=l.default.dateToMilliseconds(a)),u=O((n-t)/r),d=k(i/(c[a]||50))||1}while(r&&u>d);return{tickInterval:a,minorTickInterval:o,bounds:{minVisible:t,maxVisible:n},ticks:[]}}(e,a,s,t):(u=(0,b.tickGenerator)({axisType:e.type,dataType:e.valueType,logBase:e.logarithmBase,allowNegatives:!0,linearThreshold:Math.abs(e.linearThreshold||0),axisDivisionFactor:e.axisDivisionFactor,minorAxisDivisionFactor:e.minorAxisDivisionFactor,calculateMinors:!0,allowDecimals:e.allowDecimals,endOnTick:e.endOnTick,incidentOccurred:n,rangeIsEmpty:i.isEmpty()})({min:a,max:s,categories:(0,o.isDefined)(c)?c.categories:[]},t,e.tickInterval,e.forceUserTickInterval,void 0,e.minorTickInterval,e.minorTickCount),d=u.ticks.length,h.minVisible=u.ticks[0]<a?u.ticks[0]:a,h.maxVisible=u.ticks[d-1]>s?u.ticks[d-1]:s,r={tickInterval:u.tickInterval,minorTickInterval:0===e.minorTickInterval?0:u.minorTickInterval,bounds:h,ticks:u.ticks}),r}function q(e){var t;return null===(t=e.workWeek)||void 0===t?void 0:t[0]}function X(e,t,n){const i=e.text(t,-1e3,-1e3).css((0,s.patchFontOptions)(n)).append(e.root),o=i.getBBox();return i.remove(),o}function J(e,t,n,i,r){let a,s;const c=e._categoriesInfo;let u;const d=e.valueType===L;var h,p;!t||t.isEmpty()||n.isEmpty()||(a=i.bounds,n.addRange(a),e.startValue=n.invert?a.maxVisible:a.minVisible,e.endValue=n.invert?a.minVisible:a.maxVisible),e.marker.visible=r(d&&-1===e.type.indexOf(M),e.marker.visible,e.startValue,e.endValue,i.tickInterval),c&&(e.startValue=c.start,e.endValue=c.end),-1===e.type.indexOf(M)&&(s=(0,o.isDate)(e.startValue)&&(0,o.isDate)(e.endValue)&&e.startValue.getTime()===e.endValue.getTime()||e.startValue===e.endValue),e.isEmpty=(h=e.startValue,p=e.endValue,!(0,o.isDefined)(h)||!(0,o.isDefined)(p)||s),e.isEmpty?e.startValue=e.endValue=void 0:(e.minorTickInterval=i.minorTickInterval,e.tickInterval=i.tickInterval,d&&(!(0,o.isDefined)(e.label.format)||e.type===R&&e.minorTickInterval!==e.tickInterval)&&(e.type===M?e.label.format=f.default.getDateFormatByTicks(i.ticks):e.marker.visible?e.label.format=l.default.getDateFormatByTickInterval(e.tickInterval):e.label.format=f.default.getDateFormatByTickInterval(e.startValue,e.endValue,e.tickInterval))),e.type===R&&(u=function(e){let t=e.startValue,n=e.endValue;const i="datetime"===e.valueType,r=q(e),a=e.tickInterval,s={intervals:[]};if(!(0,o.isDefined)(t)||!(0,o.isDefined)(n))return s;s.intervals=l.default.getSequenceByInterval(t,n,e.minorTickInterval),a!==e.minorTickInterval&&(s.altIntervals=s.intervals,t=Q(t,i,a,r),n=Q(n,i,a,r),s.intervals=l.default.getSequenceByInterval(t,n,a),s.intervals[0]=s.altIntervals[0]);return s}(e),e.customMinorTicks=u.altIntervals,e.customTicks=u.intervals,e.customBoundTicks=[e.customTicks[0]])}function Q(e,t,n,i){return(0,o.isDefined)(e)&&(e=t?l.default.correctDateWithUnitBeginning(new Date(e),n,null,i):(0,c.adjust)(k((0,c.adjust)(e/n))*n)),e}function ee(e,t,n){const i=Math.abs(t-e)/n,o=i-k(i);return o>0?O(Math.abs((0,c.adjust)((0,s.getLog)(o,10)))):0}const te=x.default.inherit({_toggleParentsScrollSubscription(){},_eventsMap:{onValueChanged:{name:B}},_rootClassPrefix:"dxrs",_rootClass:"dxrs-range-selector",_dataIsReady:function(){return this._dataIsLoaded()},_initialChanges:["DATA_SOURCE","VALUE"],_themeDependentChanges:["MOSTLY_TOTAL"],_themeSection:"rangeSelector",_fontFields:["scale.label.font","sliderMarker.font"],_initCore:function(){const e=this,t=e._renderer,n=t.root;n.css({"touch-action":"pan-y"}),e._clipRect=t.clipRect();const i=t.g().attr({class:"dxrs-view"}).append(n),r=t.g().attr({class:"dxrs-slidersContainer","clip-path":e._clipRect.id}).append(n),a=t.g().attr({class:"dxrs-scale","clip-path":e._clipRect.id}).append(n),l=t.g().attr({class:"dxrs-scale-elements","clip-path":e._clipRect.id}).append(n),c=t.g().attr({class:"dxrs-scale-breaks"}).append(n),u=t.g().attr({class:"dxrs-trackers"}).append(n);e._axis=new re({renderer:t,root:a,scaleBreaksGroup:c,labelsAxesGroup:l,updateSelectedRange:function(t,n){e.setValue((0,s.convertVisualRangeObject)(t),n)},incidentOccurred:e._incidentOccurred}),e._rangeView=new m.RangeView({renderer:t,root:i,translator:e._axis.getTranslator()}),e._slidersController=new g.SlidersController({renderer:t,root:r,trackersGroup:u,updateSelectedRange:function(t,n,i){e._rangeOption||e.option(P,(0,s.convertVisualRangeObject)(t,(0,o.isPlainObject)(e._options.silent(P)))),e._eventTrigger(B,{value:(0,s.convertVisualRangeObject)(t),previousValue:(0,s.convertVisualRangeObject)(n),event:i})},axis:e._axis,translator:e._axis.getTranslator()}),e._tracker=new _.Tracker({renderer:t,controller:e._slidersController})},_getDefaultSize:function(){return{width:400,height:160}},_disposeCore:function(){this._axis.dispose(),this._slidersController.dispose(),this._tracker.dispose()},_applySize:function(e){this._clientRect=e.slice(),this._change(["MOSTLY_TOTAL"])},_optionChangesMap:{scale:"SCALE",value:"VALUE",dataSource:"DATA_SOURCE"},_optionChangesOrder:["SCALE","DATA_SOURCE"],_change_SCALE:function(){this._change(["MOSTLY_TOTAL"])},_setValueByDataSource(){const e=this,t=e._options.silent(),n=e._axis;if(t.dataSource){let i=e.option("selectedRangeUpdateMode");const r=e.getValue(),a=(0,o.isDefined)(r[0])&&(0,o.isDefined)(r[1]);if((0,o.isDefined)(i)?(i=(0,s.normalizeEnum)(i),e.__skipAnimation=!0):a&&!e._dataSourceIsAsync&&(i=z),"auto"===i&&a){const e=n.allScaleSelected(r);i=e.startValue&&e.endValue?z:e.endValue?N:H}if(i===z)t[P]=null;else if(i===N&&a){const i=e.getValue();e.__skipAnimation=!0,t[P]={length:n.getVisualRangeLength({minVisible:i[0],maxVisible:i[1]})}}else i===H&&(e.__skipAnimation=!0)}e._dataSourceIsAsync=void 0},_change_DATA_SOURCE:function(){this._options.silent("dataSource")&&this._updateDataSource()},_customChangesOrder:["MOSTLY_TOTAL","VALUE","SLIDER_SELECTION"],_change_MOSTLY_TOTAL:function(){this._applyMostlyTotalChange()},_change_SLIDER_SELECTION:function(){const e=this._options.silent(P);this._slidersController.setSelectedRange(e&&(0,s.getVizRangeObject)(e))},_change_VALUE:function(){const e=this,t=e._rangeOption;e._dataSourceIsAsync=!e._dataIsReady(),t&&(e._options.silent(P,t),e.setValue(t))},_validateRange:function(e,t){const n=e=>(0,o.isDefined)(e)&&!this._axis.getTranslator().isValid(e);this._dataIsReady()&&(n(e)||n(t))&&this._incidentOccurred("E2203")},_applyChanges:function(){const e=this,t=e._options.silent(P);e._changes.has("VALUE")&&t&&(e._rangeOption=t),e.callBase.apply(e,arguments),e._rangeOption=null,e.__isResizing=e.__skipAnimation=!1},_applyMostlyTotalChange:function(){const e=this,t=e._renderer,n=e._clientRect;let i;const o={left:n[0],top:n[1],width:n[2]-n[0],height:n[3]-n[1]};(e.__isResizing||e.__skipAnimation)&&(i=t.animationEnabled(),t.updateAnimationOptions({enabled:!1})),e._clipRect.attr({x:n[0],y:n[1],width:n[2]-n[0],height:n[3]-n[1]}),e._axis.getTranslator().update(new u.Range,o,{isHorizontal:!0}),e._updateContent({left:n[0],top:n[1],width:n[2]-n[0],height:n[3]-n[1]}),(e.__isResizing||e.__skipAnimation)&&t.updateAnimationOptions({enabled:i}),e._drawn()},_dataSourceChangedHandler:function(){this._setValueByDataSource(),this._requestChange(["MOSTLY_TOTAL"])},_completeSeriesDataSourceCreation(e,t){const n=this._clientRect,i={left:n[0],top:n[1],width:n[2]-n[0],height:n[3]-n[1]};this._axis.updateOptions((0,r.extend)({},e,{isHorizontal:!0,label:{}})),t.isShowChart()&&this._axis.setMarginOptions(t.getMarginOptions(i)),this._axis.updateCanvas(i),t.createPoints()},_updateContent:function(e){const t=this,n=t.option("chart"),i=t._createSeriesDataSource(n),r=!(i&&i.isShowChart()||t.option("background.image.url")),a=function(e,t,n,i){let r=0,a=(0,h.correctValueType)((0,s.normalizeEnum)(e.valueType));const l=function(t,i){const a=t===D?"start":"end";(0,o.isDefined)(e[t])&&(r=i(e[t]),(0,o.isDefined)(r)?e[t]=r:(e[t]=void 0,n("E2202",[a])))};a=t||a,a||(a=Z(e.startValue,e.endValue)||"numeric"),(a===I||e.categories)&&(e.type=M,a=I),e.containerColor=i,e.valueType=a,e.dataType=a;const c=(0,h.getParser)(a);return l(D,c),l("endValue",c),U(e,10,n),e.type||(e.type="continuous"),e.parser=c,e.type===R&&(e.minorTick.visible=!1,e.minorTickInterval=e.minRange,e.marker.visible=!1,e.maxRange=void 0),e.forceUserTickInterval|=(0,o.isDefined)(e.tickInterval)&&!(0,o.isDefined)(e.axisDivisionFactor),e.axisDivisionFactor=(0,o.isDefined)(e.axisDivisionFactor)?e.axisDivisionFactor:30,e.minorAxisDivisionFactor=(0,o.isDefined)(e.minorAxisDivisionFactor)?e.minorAxisDivisionFactor:15,e}(t._getOption("scale"),i&&i.getCalculatedValueType(),t._incidentOccurred,this._getOption("containerBackgroundColor",!0));i&&t._completeSeriesDataSourceCreation(a,i);const c=function(e,t){let n,i,r,a,l,c=!1,d=t.startValue,h=t.endValue,f=e?e.getBoundRange().arg:new u.Range;const p="datetime"===t.valueType,g=q(t),_=t.minRange;return t.type===M&&(l=new u.Range({minVisible:d,maxVisible:h}),l.addRange(f),f=l,r=e?e.argCategories:t.categories||d&&h&&[d,h],r=r||[],t._categoriesInfo=a=(0,s.getCategoriesInfo)(r,d,h)),t.type===R&&(d=t.startValue=Q(t.startValue,p,_,g),h=t.endValue=Q(t.endValue,p,_,g),f.minVisible=Q(f.minVisible,p,_,g),f.maxVisible=Q(f.maxVisible,p,_,g),f.min=Q(f.min,p,_,g),f.max=Q(f.max,p,_,g)),(0,o.isDefined)(d)&&(0,o.isDefined)(h)?(c=a?a.inverted:d>h,n=a?a.start:c?h:d,i=a?a.end:c?d:h):(0,o.isDefined)(d)||(0,o.isDefined)(h)?(n=d,i=h):a&&(n=a.start,i=a.end),f.addRange({invert:c,min:n,max:i,minVisible:n,maxVisible:i,dataType:t.valueType}),f.addRange({categories:e?void 0:r,base:t.logarithmBase,axisType:t.type,dataType:t.valueType}),e&&f.sortCategories(r),f}(i,a),d=K(a,e.width,t._incidentOccurred,c),f=i&&i.isShowChart()&&i.getThemeManager();var g;f&&U(n&&n.valueAxis,f.getOptions("valueAxis").logarithmBase,t._incidentOccurred),J(a,i,c,d,(g=e.width,function(e,t,n,i,r){return t&&e&&(!(0,o.isDefined)(r)||r.years||r.months>=6||g/50<O((i-n)/l.default.dateToMilliseconds("year"))+1)&&(t=!1),t})),function(e,t){let n=t.minorTickInterval||t.tickInterval;"datetime"===t.valueType&&(n=l.default.dateToMilliseconds(n)),e.addRange({interval:n})}(c,a);const _=t._prepareSliderMarkersOptions(a,e.width,d,c),m=function(e,t,n,i,r){let a,s,l,c,u,d=0,h=0;const f="semidiscrete"===t.type?t.customTicks:r.ticks;let p,g;return l=(i=i||{}).left,c=i.right,u=n.placeholderHeight,n.visible&&(a=j(e,t.startValue,n),s=j(e,t.endValue,n),void 0===u&&(u=A(a,s))),t.label.visible&&(p=(0,o.isDefined)(t.startValue)?f[0]:void 0,g=(0,o.isDefined)(t.endValue)?f[f.length-1]:void 0,d=G(e,p,t,r),h=G(e,g,t,r)),l=void 0!==l?l:d,c=(void 0!==c?c:h)||1,{left:l,right:c,top:u||0,bottom:0}}(t._renderer,a,_,t.option("indent"),d),v={left:e.left+m.left,top:e.top+m.top,width:e.left+m.left+A(e.width-m.left-m.right,1),height:A(r?p.HEIGHT_COMPACT_MODE:e.height-m.top-m.bottom-$(t._renderer,a,W(a),d),0),right:0,bottom:0};t._axis.update(a,r,v,c,i),a.minorTickInterval=a.isEmpty?0:a.minorTickInterval,t._updateElements(a,_,r,v,i),f&&f.dispose()},_updateElements:function(e,t,n,i,o){const r=this,a=r._getOption("behavior"),s=r._getOption("shutter"),l=e.type!==R;s.color=s.color||r._getOption(V,!0),r._rangeView.update(r.option("background"),r._themeManager.theme("background"),i,n,a.animationEnabled&&r._renderer.animationEnabled(),o),r._isUpdating=!0,r._slidersController.update([i.top,i.top+i.height],a,n,r._getOption("sliderHandle"),t,s,{minRange:l?r.option("scale.minRange"):void 0,maxRange:l?r.option("scale.maxRange"):void 0},r._axis.getFullTicks(),r._getOption("selectedRangeColor",!0)),r._requestChange(["SLIDER_SELECTION"]),r._isUpdating=!1,r._tracker.update(!r._axis.getTranslator().getBusinessRange().isEmpty(),a)},_createSeriesDataSource:function(e){const t=this;let n;const i=t._dataSourceItems(),o=t._getOption("scale"),a=o.valueType||Z(o.startValue,o.endValue),l=new d.Axis({renderer:t._renderer,axisType:"xyAxes",drawingType:"linear"});return l.updateOptions({isHorizontal:!1,label:{},categoriesSortingMethod:t._getOption("chart").valueAxis.categoriesSortingMethod}),(i||e&&e.series)&&(e=(0,r.extend)({},e,{theme:t.option("theme")}),n=new v.SeriesDataSource({renderer:t._renderer,dataSource:i,valueType:(0,s.normalizeEnum)(a),axisType:o.type,chart:e,dataSourceField:t.option("dataSourceField"),incidentOccurred:t._incidentOccurred,categories:o.categories,argumentAxis:t._axis,valueAxis:l})),n},_prepareSliderMarkersOptions:function(e,t,n,i){const r=this,a=n.minorTickInterval,s=n.tickInterval;let c=s;const u=e.endValue,d=e.startValue,h=r._getOption("sliderMarker"),p=!r._getOption("behavior").snapToTicks,g=e.type===M,_=e.valueType===L;return h.borderColor=r._getOption(V,!0),h.format||i.isEmpty()||(p&&(0,o.isNumeric)(e.startValue)&&(h.format={type:"fixedPoint",precision:ee(d,u,t)}),_&&!g&&((0,o.isDefined)(a)&&0!==a&&(c=function(e,t,n){let i=l.default.getDateUnitInterval(t);const o=l.default.getDateUnitInterval(e),r=l.default.dateUnitIntervals.indexOf(i);return n&&i===o&&r>0&&(i=l.default.dateUnitIntervals[r-1]),i}(s,a,p)),e.marker.visible?h.format=l.default.getDateFormatByTickInterval(c):(0,o.isDefined)(d)&&(0,o.isDefined)(u)&&(h.format=f.default.getDateFormatByTickInterval(d,u,c))),_&&g&&n.ticks.length&&(h.format=f.default.getDateFormatByTicks(n.ticks))),h},getValue:function(){return(0,s.convertVisualRangeObject)(this._slidersController.getSelectedRange())},setValue:function(e,t){const n=(0,s.getVizRangeObject)(e);!this._isUpdating&&e&&(this._validateRange(n.startValue,n.endValue),!(0,s.rangesAreEqual)(n,this._slidersController.getSelectedRange())&&this._slidersController.setSelectedRange(n,t))},_setContentSize:function(){this.__isResizing=2===this._changes.count(),this.callBase.apply(this,arguments)}});function ne(){return 1}function ie(e){return e%2==1?-k(e/2):-e/2}function oe(e,t,n,i){function o(o){2===o.length&&y.default.areLabelsOverlap(t[o[0]],t[o[1]],n,i)&&e[o[0]].removeLabel()}function r(t){const n=[];for(let i=t;n.length<2&&i<e.length;i++)e[i].label&&n.push(i);return n}e.length<3||(o(r(0)),o(r(e.length-2).reverse()))}function re(e){const t=this;t._axis=new d.Axis({renderer:e.renderer,axesContainerGroup:e.root,scaleBreaksGroup:e.scaleBreaksGroup,labelsAxesGroup:e.labelsAxesGroup,incidentOccurred:e.incidentOccurred,axisType:"xyAxes",drawingType:"linear",widgetClass:"dxrs",axisClass:"range-selector",isArgumentAxis:!0,getTemplate(){}}),t._updateSelectedRangeCallback=e.updateSelectedRange,t._axis.getAxisSharpDirection=t._axis.getSharpDirectionByCoords=ne,t._axis.getTickStartPositionShift=ie,t._axis._checkShiftedLabels=oe}(0,a.each)(["selectedRangeColor","containerBackgroundColor","sliderMarker","sliderHandle","shutter","background","behavior","chart","indent"],(function(e,t){te.prototype._optionChangesMap[t]="MOSTLY_TOTAL"})),re.prototype={constructor:re,update:function(e,t,n,i,o){const r=this._axis;r.updateOptions(function(e,t,n,i){return e.marker.label.font=e.label.font,e.color=e.marker.color=e.tick.color,e.opacity=e.marker.opacity=e.tick.opacity,e.width=e.marker.width=e.tick.width,e.placeholderSize=(e.placeholderHeight||0)+i,e.argumentType=e.valueType,e.visible=t,e.isHorizontal=!0,e.calculateMinors=!0,e.semiDiscreteInterval=e.minRange,t||(e.minorTick.length=e.tick.length=n),e.label.indentFromAxis=e.label.topIndent+i,e}(e,t,n.height,n.height/2-O(e.width/2))),r.validate(),r.setBusinessRange(i,!0),void 0!==o&&o.isShowChart()&&r.setMarginOptions(o.getMarginOptions(n)),r.draw(n),r.shift({left:0,bottom:-n.height/2+n.top}),r.getMarkerTrackers()&&function(e,t,n){function i(t){const i=t.target.range,o=e.minRange?l.default.addInterval(i.startValue,e.minRange):void 0,r=e.maxRange?l.default.addInterval(i.startValue,e.maxRange):void 0;o&&o>i.endValue||r&&r<i.endValue||n(i,t)}(0,a.each)(t,(function(e,t){t.on("dxpointerdown",i)}))}(e,r.getMarkerTrackers(),this._updateSelectedRangeCallback),r.drawScaleBreaks({start:n.top,end:n.top+n.height})},visualRange:function(){},getViewport:function(){return{}},allScaleSelected(e){const{startValue:t,endValue:n}=this._axis.visualRange();return{startValue:e[0].valueOf()===t.valueOf(),endValue:e[1].valueOf()===n.valueOf()}},getOptions(){return this._axis.getOptions()||{}}},(0,a.each)(d.Axis.prototype,(e=>{"constructor"!==e&&"_"!==e[0]&&(0,o.isFunction)(d.Axis.prototype[e])&&!(e in re.prototype)&&(re.prototype[e]=function(){const t=this._axis;return t[e].apply(t,arguments)})})),(0,i.default)("dxRangeSelector",te);t.default=te;te.addPlugin(C.plugin),te.addPlugin(S.plugin),te.addPlugin(w.plugin),te.addPlugin(E.plugin),e.exports=t.default,e.exports.default=t.default},34735:function(e,t){function n(e,t){return void 0!==e?e:t}function i(e){this._params=e,this._clipRect=e.renderer.clipRect(),e.root.attr({"clip-path":this._clipRect.id})}t.RangeView=i,i.prototype={constructor:i,update:function(e,t,i,o,r,a){const s=this._params.renderer,l=this._params.root,c=i.width-i.left;let u;e=e||{},l.clear(),this._clipRect.attr({x:i.left,y:i.top,width:c,height:i.height}),o||(n(e.visible,t.visible)&&(e.color&&s.rect(i.left,i.top,c+1,i.height).attr({fill:n(e.color,t.color),class:"dx-range-selector-background"}).append(l),e.image&&e.image.url&&s.image(i.left,i.top,c+1,i.height,e.image.url,n(e.image.location,t.image.location)).append(l)),a&&a.isShowChart()&&(u=s.g().attr({class:"dxrs-series-group"}).append(l),function(e,t,n,i){const o=t.getSeries();if(!o.length)return;const r=o[0].getValueAxis();r.updateCanvas({top:n.top,bottom:0,height:n.height+n.top}),t.adjustSeriesDimensions();const a=t.getBoundRange().val;a.sortCategories(r.getCategoriesSorter()),r.setBusinessRange(a),o.forEach((t=>{t._extGroups.seriesGroup=t._extGroups.labelsGroup=e,t.draw(i)}))}(u,a,i,r)))}}},68006:function(e,t,n){t.SeriesDataSource=void 0;var i=n(66151),o=n(11348),r=n(11528),a=n(52576),s=n(21274),l=n(28779),c=n(99857),u=n(39104),d=n(45647);const h=function(e){const t=this,n=t._themeManager=(i=e.chart,new d.ThemeManager({options:i,themeSection:"rangeSelector.chart",fontFields:["commonSeriesSettings.label.font"]}));var i;n.setTheme(e.chart.theme);const o=n.getOptions("topIndent"),r=n.getOptions("bottomIndent");t._indent={top:o>=0&&o<1?o:0,bottom:r>=0&&r<1?r:0},t._valueAxis=n.getOptions("valueAxisRangeSelector")||{},t._hideChart=!1,t._series=t._calculateSeries(e),t._seriesFamilies=[]};t.SeriesDataSource=h,h.prototype={constructor:h,_calculateSeries:function(e){const t=this,n=[];let o,r;const s=e.dataSource||[];let c;const d=t._themeManager,h=d.getOptions("seriesTemplate");let f,p=h?(0,l.processSeriesTemplate)(h,s):e.chart.series;const g=t._valueAxis;let _,m,v;for(e.dataSource&&!p&&(f=e.dataSourceField||"arg",p={argumentField:f,valueField:f},t._hideChart=!0),p=Array.isArray(p)?p:p?[p]:[],_=0;_<p.length;_++)o=(0,a.extend)(!0,{},p[_]),o.rotated=!1,r=d.getOptions("series",o,p.length),r.argumentField=r.argumentField||e.dataSourceField,r.name||(r.name="Series "+(_+1).toString()),s&&s.length>0&&(m=new i.Series({renderer:e.renderer,argumentAxis:e.argumentAxis,valueAxis:e.valueAxis,incidentOccurred:e.incidentOccurred},r),n.push(m));if(n.length)for(v={groups:[{series:n,valueAxis:e.valueAxis,valueOptions:{type:g.type,valueType:f?e.valueType:g.valueType}}],argumentOptions:{categories:e.categories,argumentType:e.valueType,type:e.axisType}},c=(0,u.validateData)(s,v,e.incidentOccurred,d.getOptions("dataPrepareSettings")),t.argCategories=v.categories,_=0;_<n.length;_++)n[_].updateData(c[n[_].getArgumentField()]);return n},createPoints(){if(0===this._series.length)return;const e=this._series,t=new c.Range,n=e[0].getArgumentAxis(),i=this._themeManager,a=i.getOptions("negativesAsZeroes"),l=i.getOptions("negativesAsZeros");e.forEach((function(e){t.addRange(e.getArgumentRange())})),n.getTranslator().updateBusinessRange(t),e.forEach((function(e){e.createPoints()})),this._seriesFamilies=function(e,t,n,i,r){const a=[],l=[];return(0,s.each)(e,(function(e,t){l.includes(t.type)||l.push(t.type)})),(0,s.each)(l,(function(s,l){const c=new o.SeriesFamily({type:l,minBubbleSize:t,maxBubbleSize:n,barGroupPadding:i.barGroupPadding,barGroupWidth:i.barGroupWidth,negativesAsZeroes:r});c.add(e),c.adjustSeriesValues(),a.push(c)})),a}(e,i.getOptions("minBubbleSize"),i.getOptions("maxBubbleSize"),{barGroupPadding:i.getOptions("barGroupPadding"),barGroupWidth:i.getOptions("barGroupWidth")},(0,r.isDefined)(a)?a:l)},adjustSeriesDimensions:function(){(0,s.each)(this._seriesFamilies,(function(e,t){t.adjustSeriesDimensions()}))},getBoundRange:function(){const e=this;let t;const n=e._valueAxis,i=new c.Range({min:n.min,minVisible:n.min,max:n.max,maxVisible:n.max,axisType:n.type,base:n.logarithmBase}),o=new c.Range({});let a,l,u,d;return(0,s.each)(e._series,(function(e,n){t=n.getRangeData(),i.addRange(t.val),o.addRange(t.arg)})),i.isEmpty()||o.isEmpty()||(u=n.inverted?e._indent.top:e._indent.bottom,d=n.inverted?e._indent.bottom:e._indent.top,a=i.max-i.min,l=((0,r.isNumeric)(i.maxVisible)?i.maxVisible:i.max)-((0,r.isNumeric)(i.minVisible)?i.minVisible:i.min),(0,r.isDate)(i.min)?i.min=new Date(i.min.valueOf()-a*u):i.min-=a*u,(0,r.isDate)(i.max)?i.max=new Date(i.max.valueOf()+a*d):i.max+=a*d,(0,r.isNumeric)(l)&&(i.maxVisible=(0,r.isDefined)(i.maxVisible)?i.maxVisible+l*d:void 0,i.minVisible=(0,r.isDefined)(i.minVisible)?i.minVisible-l*u:void 0),i.invert=n.inverted),{arg:o,val:i}},getMarginOptions:function(e){const t=Math.min(e.width,e.height)*this._themeManager.getOptions("maxBubbleSize");return this._series.reduce((function(e,n){const i=n.getMarginOptions();return!0===i.processBubbleSize&&(i.size=t),(0,l.mergeMarginOptions)(e,i)}),{})},getSeries:function(){return this._series},isEmpty:function(){return 0===this.getSeries().length},isShowChart:function(){return!this._hideChart},getCalculatedValueType:function(){const e=this._series[0];return null==e?void 0:e.argumentType},getThemeManager:function(){return this._themeManager}}},79421:function(e,t,n){t.default=void 0;var i=n(62381),o=a(n(67518)),r=a(n(85991));function a(e){return e&&e.__esModule?e:{default:e}}const s=i.utils.animationSettings;function l(e,t){const n=this;n._translator=e.translator,n._sliderGroup=e.renderer.g().attr({class:"slider"}).append(e.root),n._line=e.renderer.path(null,"line").append(n._sliderGroup),n._marker=new o.default(e.renderer,n._sliderGroup,1===t),n._tracker=e.renderer.rect().attr({class:"slider-tracker",fill:"#000000",opacity:1e-4}).css({cursor:"w-resize"}).append(e.trackersGroup)}l.prototype={constructor:l,cancelAnimation:function(){this._sliderGroup.stopAnimation(),this._tracker.stopAnimation()},applyPosition:function(e){const t=this,n=t._sliderGroup,i=t._tracker,o={translateX:t._position};t._marker.setPosition(t._position),e?(n.animate(o,s),i.animate(o,s)):(n.attr(o),i.attr(o))},_setValid:function(e){this._marker.setValid(e),this._line.attr({stroke:this._colors[Number(e)]})},_setText:function(e){this._marker.setText(e)},update:function(e,t,n){const i=this;i._formatOptions={format:n.format,customizeText:n.customizeText},i._marker.applyOptions(n,i._translator.getScreenRange()),i._colors=[n.invalidRangeColor,t.color],i._sliderGroup.attr({translateY:e[0]}),i._line.attr({"stroke-width":t.width,stroke:t.color,"stroke-opacity":t.opacity,sharp:"h",points:[0,0,0,e[1]-e[0]]});const o=(a=t.width,r.default.touchEvents||r.default.pointerEvents?20:8<a?a:8);var a;i._tracker.attr({x:-o/2,y:0,width:o,height:e[1]-e[0],translateY:e[0]})},toForeground:function(){this._sliderGroup.toForeground()},getSliderTracker:function(){return this._tracker},getPosition:function(){return this._position},setDisplayValue:function(e){this._value=e,this._setText((0,i.formatValue)(e,this._formatOptions))},setOverlapped:function(e){this._marker.setOverlapped(e)},getValue:function(){return this._value},on:function(e,t){this._tracker.on(e,t),this._marker.getTracker().on(e,t)},getCloudBorder:function(){return this._marker.getBorderPosition()},dispose:function(){this._marker.dispose()}};t.default=l;e.exports=t.default,e.exports.default=t.default},67518:function(e,t,n){t.default=void 0;var i=n(28779);const o=n(62381).consts.pointerSize;function r(e,t,n){const i=this;i._isLeftPointer=n,i._isOverlapped=!1,i._group=e.g().attr({class:"slider-marker"}).append(t),i._area=e.path(null,"area").append(i._group),i._label=e.text().attr({align:"left"}).append(i._group),i._tracker=e.rect().attr({class:"slider-marker-tracker",fill:"#000000",opacity:1e-4}).css({cursor:"pointer"}).append(i._group),i._border=e.rect(0,0,1,0)}r.prototype={constructor:r,_getRectSize:function(e){return{width:Math.round(2*this._paddingLeftRight+e.width),height:Math.round(2*this._paddingTopBottom+e.height)}},_getTextSize:function(){const e=this._label.getBBox();return!this._textHeight&&isFinite(e.height)&&(this._textHeight=e.height),{width:e.width,height:this._textHeight,y:e.y}},_getAreaPointsInfo:function(e){const t=this,n=t._getRectSize(e),i=n.width,r=n.height;let a=-i,s=0,l=o,c=0,u=-o;const d=t._position,h=t._isLeftPointer,f=function(){a++,s++,l++,c++,u++},p=function(){l>s?l=s:u<a&&(u=a),h&&f()};let g=d;return h?d>t._range[1]-i?(s=-d+t._range[1],a=s-i,p(),g+=a):(a=u=0,s=i):d-t._range[0]<i?(a=-(d-t._range[0]),s=a+i,p(),g+=s):(l=0,f()),t._borderPosition=g,{offset:a,isCut:(!h||c!==u)&&(h||c!==l),points:[a,0,s,0,s,r,l,r,c,r+o,u,r,a,r]}},_update:function(){const e=this;let t;clearTimeout(e._timeout),e._label.attr({text:e._text||""});const n=e._getTextSize(),i=e._getRectSize(n);function r(t,n){n=n||e._getRectSize(t),e._group.attr({translateY:-(n.height+o)});const i=e._getAreaPointsInfo(t),r=i.points,a=i.offset;e._area.attr({points:r}),e._border.attr({x:e._isLeftPointer?r[0]-1:r[2],height:i.isCut?n.height:n.height+o}),e._tracker.attr({translateX:a,width:n.width,height:n.height+o}),e._label.attr({translateX:e._paddingLeftRight+a,translateY:n.height/2-(t.y+t.height/2)})}t=e._textSize||n,t=e._textSize=n.width>t.width||n.height>t.height?n:t,e._timeout=setTimeout((function(){r(n,i),e._textSize=n}),75),r(t)},setText:function(e){this._text=e},setPosition:function(e){this._position=e,this._update()},applyOptions:function(e,t){const n=this;n._range=t,n._paddingLeftRight=e.paddingLeftRight,n._paddingTopBottom=e.paddingTopBottom,n._textHeight=null,n._colors=[e.invalidRangeColor,e.color],n._area.attr({fill:e.color}),n._border.attr({fill:e.borderColor}),n._label.css((0,i.patchFontOptions)(e.font)),n._update()},getTracker:function(){return this._tracker},setValid:function(e){this._area.attr({fill:this._colors[Number(e)]})},setColor:function(e){this._area.attr({fill:e})},dispose:function(){clearTimeout(this._timeout)},setOverlapped:function(e){const t=this;t._isOverlapped!==e&&(e?t._border.append(t._group):t._isOverlapped&&t._border.remove(),t._isOverlapped=e)},getBorderPosition:function(){return this._borderPosition}};t.default=r;e.exports=t.default,e.exports.default=t.default},9331:function(e,t,n){t.SlidersController=m;var i,o=n(17781),r=n(62381),a=(i=n(79421))&&i.__esModule?i:{default:i},s=n(28779),l=n(11528),c=n(50254);const u=r.utils.animationSettings,d=r.consts.emptySliderMarkerText;function h(e,t,n,i){return[e,t,n,t,n,i,e,i]}function f(e,t){return e<t}function p(e,t){return e>t}function g(e,t){let n,i=0,o=t?t.length-1:0,r=e;for(;o-i>1;){if(n=i+o>>1,r=t[n],r===e)return e;e<r?o=n:i=n}return t&&(r=t[e-t[i]<=t[o]-e?i:o]),r}function _(){this._lastSelectedRange=this.getSelectedRange(),delete this._processSelectionChanged}function m(e){const t=this,n={renderer:e.renderer,root:e.root,trackersGroup:e.trackersGroup,translator:e.translator};t._params=e,t._areaTracker=e.renderer.path(null,"area").attr({class:"area-tracker",fill:"#000000",opacity:1e-4}).append(e.trackersGroup),t._selectedAreaTracker=e.renderer.path(null,"area").attr({class:"selected-area-tracker",fill:"#000000",opacity:1e-4}).append(e.trackersGroup),t._shutter=e.renderer.path(null,"area").append(e.root),t._sliders=[new a.default(n,0),new a.default(n,1)],t._processSelectionChanged=_}m.prototype={constructor:m,dispose:function(){this._sliders[0].dispose(),this._sliders[1].dispose()},getTrackerTargets:function(){return{area:this._areaTracker,selectedArea:this._selectedAreaTracker,sliders:this._sliders}},_processSelectionChanged:function(e){const t=this,n=t.getSelectedRange();(0,s.rangesAreEqual)(n,t._lastSelectedRange)||(t._params.updateSelectedRange(n,t._lastSelectedRange,e),t._lastSelectedRange=n)},update:function(e,t,n,i,o,r,a,l,c){const u=this,d=u._params.translator.getScreenRange();u._verticalRange=e,u._minRange=a.minRange,u._maxRange=a.maxRange,u._animationEnabled=t.animationEnabled&&u._params.renderer.animationEnabled(),u._allowSlidersSwap=t.allowSlidersSwap,u._sliders[0].update(e,i,o),u._sliders[1].update(e,i,o),u._sliders[0]._position=u._sliders[1]._position=d[0],u._values=!u._params.translator.isValueProlonged&&t.snapToTicks?l:null,u._areaTracker.attr({points:h(d[0],e[0],d[1],e[1])}),u._isCompactMode=n,u._shutterOffset=i.width/2,u._updateSelectedView(r,c),u._isOnMoving="onhandlemove"===(0,s.normalizeEnum)(t.valueChangeMode),u._updateSelectedRange(),u._applyTotalPosition(!1)},_updateSelectedView:function(e,t){const n={fill:null,"fill-opacity":null,stroke:null,"stroke-width":null};this._isCompactMode?(n.stroke=t,n["stroke-width"]=3,n.sharp="v"):(n.fill=e.color,n["fill-opacity"]=e.opacity),this._shutter.attr(n)},_updateSelectedRange:function(){const e=this,t=e._sliders;var n;t[0].cancelAnimation(),t[1].cancelAnimation(),e._shutter.stopAnimation(),e._params.translator.getBusinessRange().isEmpty()?(t[0]._setText(d),t[1]._setText(d),t[0]._value=t[1]._value=void 0,t[0]._position=e._params.translator.getScreenRange()[0],t[1]._position=e._params.translator.getScreenRange()[1],e._applyTotalPosition(!1),(n=e).setSelectedRange=o.noop,n._processSelectionChanged===_&&n._processSelectionChanged()):function(e){delete e.setSelectedRange}(e)},_applyTotalPosition:function(e){const t=this._sliders;e=this._animationEnabled&&e,t[0].applyPosition(e),t[1].applyPosition(e);const n=t[0].getCloudBorder()>t[1].getCloudBorder();t[0].setOverlapped(n),t[1].setOverlapped(n),this._applyAreaTrackersPosition(),this._applySelectedRangePosition(e)},_applyAreaTrackersPosition:function(){const e=this,t=e._sliders[0].getPosition(),n=e._sliders[1].getPosition();e._selectedAreaTracker.attr({points:h(t,e._verticalRange[0],n,e._verticalRange[1])}).css({cursor:Math.abs(e._params.translator.getScreenRange()[1]-e._params.translator.getScreenRange()[0]-n+t)<.001?"default":"pointer"})},_applySelectedRangePosition:function(e){const t=this,n=t._verticalRange,i=t._sliders[0].getPosition(),o=t._sliders[1].getPosition();let r,a;t._isCompactMode?a=[i+Math.ceil(t._shutterOffset),(n[0]+n[1])/2,o-Math.floor(t._shutterOffset),(n[0]+n[1])/2]:(r=t._params.axis.getVisibleArea(),a=[h(r[0],n[0],Math.max(i-Math.floor(t._shutterOffset),r[0]),n[1]),h(r[1],n[0],Math.min(o+Math.ceil(t._shutterOffset),r[1]),n[1])]),e?t._shutter.animate({points:a},u):t._shutter.attr({points:a})},getSelectedRange:function(){return{startValue:this._sliders[0].getValue(),endValue:this._sliders[1].getValue()}},setSelectedRange:function(e,t){e=e||{};const n=this,i=n._params.translator,o=i.getBusinessRange(),r="discrete"===o.axisType?function(e,t){return e<t}:function(e,t){return e<=t};let{startValue:a,endValue:u}=(0,s.adjustVisualRange)({dataType:o.dataType,axisType:o.axisType,base:o.base},{startValue:i.isValid(e.startValue)?i.getCorrectValue(e.startValue,1):void 0,endValue:i.isValid(e.endValue)?i.getCorrectValue(e.endValue,-1):void 0,length:e.length},{min:o.minVisible,max:o.maxVisible,categories:o.categories});a=(0,l.isNumeric)(a)?(0,c.adjust)(a):a,u=(0,l.isNumeric)(u)?(0,c.adjust)(u):u;const d=r(i.to(a,-1),i.to(u,1))?[a,u]:[u,a];n._sliders[0].setDisplayValue(d[0]),n._sliders[1].setDisplayValue(d[1]),n._sliders[0]._position=i.to(d[0],-1),n._sliders[1]._position=i.to(d[1],1),n._applyTotalPosition(!0),n._processSelectionChanged(t)},beginSelectedAreaMoving:function(e){const t=this,n=t._sliders,i=(n[0].getPosition()+n[1].getPosition())/2-e;let o=e;return r.complete=function(e){t._dockSelectedArea(e)},r;function r(e,r){e!==o&&e>o==e>(n[0].getPosition()+n[1].getPosition())/2-i&&t._moveSelectedArea(e+i,!1,r),o=e}},_dockSelectedArea:function(e){const t=this._params.translator,n=this._sliders;n[0]._position=t.to(n[0].getValue(),-1),n[1]._position=t.to(n[1].getValue(),1),this._applyTotalPosition(!0),this._processSelectionChanged(e)},moveSelectedArea:function(e,t){this._moveSelectedArea(e,!0,t),this._dockSelectedArea(t)},_moveSelectedArea:function(e,t,n){const i=this,o=i._params.translator,r=i._sliders,a=r[1].getPosition()-r[0].getPosition();let s=e-a/2,l=e+a/2;s<o.getScreenRange()[0]&&(s=o.getScreenRange()[0],l=s+a),l>o.getScreenRange()[1]&&(l=o.getScreenRange()[1],s=l-a);const c=g(o.from(s,-1),i._values);r[0].setDisplayValue(c),r[1].setDisplayValue(g(o.from(o.to(c,-1)+a,1),i._values)),r[0]._position=s,r[1]._position=l,i._applyTotalPosition(t),i._isOnMoving&&i._processSelectionChanged(n)},placeSliderAndBeginMoving:function(e,t,n){const i=this,o=i._params.translator,r=i._sliders,a=e<t?0:1,s=a>0?1:-1,l=a>0?p:f,c=a>0?f:p;let u;const d=[],h=[];h[a]=o.from(e,s),h[1-a]=o.from(t,-s),d[1-a]=t,o.isValueProlonged&&(l(e,o.to(h[a],s))&&(h[a]=o.from(e,-s)),l(t,o.to(h[a],-s))&&(h[1-a]=h[a])),i._minRange&&(u=o.to(o.add(g(h[a],i._values),i._minRange,-s),-s),l(t,u)&&(h[1-a]=o.add(h[a],i._minRange,-s)),u=o.to(o.add(o.getRange()[1-a],i._minRange,s),-s),c(e,u)&&(h[1-a]=o.getRange()[1-a],h[a]=o.add(h[1-a],i._minRange,s),d[1-a]=e)),h[0]=g(h[0],i._values),h[1]=g(h[1],i._values),d[a]=o.to(h[a],s),r[0].setDisplayValue(h[0]),r[1].setDisplayValue(h[1]),r[0]._position=d[0],r[1]._position=d[1],i._applyTotalPosition(!0),i._isOnMoving&&i._processSelectionChanged(n);const _=i.beginSliderMoving(1-a,t);return r[1-a]._sliderGroup.stopAnimation(),i._shutter.stopAnimation(),_(t),_},beginSliderMoving:function(e,t){const n=this,i=n._params.translator,o=n._sliders,r=i.getScreenRange()[0],a=i.getScreenRange()[1];let s=e;const c=o[1-s].getPosition();let u=t,d=s>0?1:-1,h=s>0?f:p,_=s>0?p:f,m=o[s].getPosition()-t,v=h(o[s].getPosition(),t)?-m:m;return b.complete=function(e){o[s]._setValid(!0),n._dockSelectedArea(e)},b;function b(e,t){let f,p,b,y,x;if(e!==u&&(h(e+v,c)&&(f=n._allowSlidersSwap,f&&!i.isValueProlonged&&n._minRange&&(f=i.isValid(i.add(o[1-s].getValue(),n._minRange,-d))),f&&(n._changeMovingSlider(s),s=1-s,d=-d,p=h,h=_,_=p,m=-d*Math.abs(m),v=-m)),_(e+m,c))){let c;y=o[s],x=o[1-s].getValue(),b=Math.max(Math.min(e+m,a),r),f=!i.isValueProlonged||!h(b,i.to(x,d)),f&&n._minRange&&(f=!h(b,i.to(i.add(x,n._minRange,d),d)),f||(c=i.add(x,n._minRange,d))),f&&n._maxRange&&(f=!_(b,i.to(i.add(x,n._maxRange,d),d)),f||(c=i.add(x,n._maxRange,d))),y._setValid(f),y.setDisplayValue(f?g(i.from(b,d),n._values):(0,l.isDefined)(c)?c:y.getValue()),y._position=b,n._applyTotalPosition(!1),y.toForeground(),n._isOnMoving&&n._processSelectionChanged(t)}u=e}},_changeMovingSlider:function(e){const t=this,n=t._params.translator,i=t._sliders,o=i[1-e].getPosition(),r=e>0?1:-1;let a;i[e].setDisplayValue(g(n.from(o,r),t._values)),a=n.from(o,-r),n.isValueProlonged?a=n.from(o,r):t._minRange&&(a=n.add(a,t._minRange,-r)),i[1-e].setDisplayValue(g(a,t._values)),i[e]._setValid(!0),i[e]._marker._update(),i[0]._position=i[1]._position=o},foregroundSlider:function(e){this._sliders[e].toForeground()}}},9358:function(e,t,n){t.Tracker=x;var i=c(n(92774)),o=c(n(89797)),r=n(3104),a=c(n(64960)),s=n(21274),l=n(4785);function c(e){return e&&e.__esModule?e:{default:e}}const u=10,d=(0,r.getWindow)();function h(e){const t=e||d.event,n=t.originalEvent,i=t.touches,o=!!n&&n.pointerType,r=!!n&&n.touches,a=n&&void 0!==o&&(o===(n.MSPOINTER_TYPE_TOUCH||"touch")||o===(n.MSPOINTER_TYPE_MOUSE||"mouse")&&1===n.buttons),s=i&&i.length>0||r&&r.length>0;return 1===t.which||a||s}function f(e){const t=e.originalEvent,n=e.touches,i=t&&t.touches;return n&&n.length>1||i&&i.length>1||null}function p(e){f(e)||e.preventDefault()}function g(e){f(e)||(e.stopPropagation(),e.preventDefault())}function _(e){return e&&e.type&&0===e.type.indexOf("touch")}function m(e){const t=e.originalEvent;let n=0;return e.pageX?n=e.pageX:t&&t.pageX&&(n=t.pageX),t&&t.touches&&(t.touches.length>0?n=t.touches[0].pageX:t.changedTouches.length>0&&(n=t.changedTouches[0].pageX)),n}function v(e,t,n,i){let r,a,s=!1,l=null;const c={[o.default.move](t){let o,c;r===_(t)&&(h(t)||d(t),s&&(o=m(t),c=i(),l?l(o-c,t):n.manualRangeSelectionEnabled&&Math.abs(a-o)>=u&&(l=e.placeSliderAndBeginMoving(a-c,o-c,t))))},[o.default.up](t){let o;s&&(o=m(t),!l&&n.moveSelectedRangeByClick&&Math.abs(a-o)<u&&e.moveSelectedArea(o-i(),t),d(t))}};function d(e){s&&(s=!1,l&&(l.complete(e),l=null))}return t.on(o.default.down,(function(e){n.enabled&&h(e)&&!s&&(s=!0,r=_(e),a=m(e))})),c}function b(e,t,n,i){let r,a=!1,s=null;const l={[o.default.move](e){r===_(e)&&(h(e)||c(e),a&&(p(e),s(m(e)-i(),e)))},[o.default.up]:c};function c(e){a&&(a=!1,s.complete(e),s=null)}return t.on(o.default.down,(function(t){n.enabled&&h(t)&&!a&&(a=!0,r=_(t),s=e.beginSelectedAreaMoving(m(t)-i()),g(t))})),l}function y(e,t,n,i){let r,a=!1,l=null;const c={[o.default.move](e){r===_(e)&&(h(e)||u(e),a&&(p(e),l(m(e)-i(),e)))},[o.default.up]:u};function u(e){a&&(a=!1,l.complete(e),l=null)}return(0,s.each)(t,(function(t,s){s.on({[o.default.down](o){n.enabled&&h(o)&&!a&&(a=!0,r=_(o),l=e.beginSliderMoving(t,m(o)-i()),g(o))},[o.default.move](){l||e.foregroundSlider(t)}})})),c}function x(e){const t=this._state={},n=e.controller.getTrackerTargets();function o(){return e.renderer.getRootOffset().left}l.pointerEvents&&e.renderer.root.css({msTouchAction:"pinch-zoom"}),this._docEvents=[b(e.controller,n.selectedArea,t,o),v(e.controller,n.area,t,o),y(e.controller,n.sliders,t,o)],(0,s.each)(this._docEvents,(function(e,t){i.default.on(a.default.getDocument(),t)}))}x.prototype={constructor:x,dispose:function(){(0,s.each)(this._docEvents,(function(e,t){i.default.off(a.default.getDocument(),t)}))},update:function(e,t){const n=this._state;n.enabled=e,n.moveSelectedRangeByClick=t.moveSelectedRangeByClick,n.manualRangeSelectionEnabled=t.manualRangeSelectionEnabled}}},37755:function(e,t,n){t.default=void 0;var i,o=(i=n(78839))&&i.__esModule?i:{default:i},r=n(24339),a=n(74754),s=n(16216),l=n(85476),c=n(23277),u=n(92528);o.default.addPlugin(a.plugin),o.default.addPlugin(s.plugin),o.default.addPlugin(l.plugin),o.default.addPlugin(u.plugin),o.default.addPlugin(c.plugin),(0,r.setTooltipCustomOptions)(o.default);t.default=o.default;e.exports=t.default,e.exports.default=t.default},92585:function(e,t){t.COLOR_MODE_TARGET=t.COLOR_MODE_SOURCE=t.COLOR_MODE_NONE=t.COLOR_MODE_GRADIENT=void 0;t.COLOR_MODE_GRADIENT="gradient",t.COLOR_MODE_SOURCE="source",t.COLOR_MODE_TARGET="target",t.COLOR_MODE_NONE="none"},69359:function(e,t,n){t.default=void 0;var i,o=(i=n(2792))&&i.__esModule?i:{default:i};const r={validate:function(e,t){let n=null;return this._hasCycle(e)&&(n="E2006",t("E2006")),n},_hasCycle:function(e){return o.default.struct.hasCycle(e)}};t.default=r;e.exports=t.default,e.exports.default=t.default},2792:function(e,t){t.default=void 0;const n="white",i="gray",o={maxOfArray:function(e,t){let n=0,i=e=>e;t&&(i=t);for(let t=0;t<e.length;t++)i(e[t])>n&&(n=i(e[t]));return n}},r=function(e){const t=[];return e.forEach((e=>{-1===t.indexOf(e[0])&&t.push(e[0]),-1===t.indexOf(e[1])&&t.push(e[1])})),t},a=function(e,t){const n=[];return e.forEach((e=>{e[0]===t&&-1===n.indexOf(e[1])&&n.push(e[1])})),n},s=function(e,t){const n=[];return e.forEach((e=>{e[1]===t&&-1===n.indexOf(e[0])&&n.push(e[0])})),n},l={_hasCycle:!1,_sortedList:[],hasCycle:function(e){this._hasCycle=!1,this._sortedList=[];const t={},i=r(e);return i.forEach((e=>{t[e]={color:n}})),i.forEach((i=>{t[i].color===n&&this._depthFirstSearch(e,t,i)})),this._sortedList.reverse(),this._hasCycle},_depthFirstSearch:function(e,t,o){t[o].color=i;const r=a(e,o);for(let o=0;o<r.length;o++)t[r[o]].color===n?this._depthFirstSearch(e,t,r[o]):t[r[o]].color===i&&(this._hasCycle=!0);this._sortedList.push({name:o,lp:null,incoming:s(e,o),outgoing:a(e,o)}),t[o].color="black"},computeLongestPaths(e){const t=this._sortedList;return t.forEach((n=>{const i=s(e,n.name);if(0===i.length)n.lp=0;else{const e=[];i.forEach((n=>{e.push(t.filter((e=>e.name===n))[0].lp)})),n.lp=o.maxOfArray(e)+1}})),this._sortedList}};t.default={struct:l,routines:o,getVertices:r,getAdjacentVertices:a,getReverseAdjacentVertices:s};e.exports=t.default,e.exports.default=t.default},58864:function(e,t,n){t.layout=void 0;var i=r(n(2792)),o=r(n(69359));function r(e){return e&&e.__esModule?e:{default:e}}const a="center",s=a;t.layout={_weightPerPixel:null,_getCascadeIdx:function(e,t){const n=t.filter((t=>t.name===e))[0];return n.outgoing.length>0?n.lp:i.default.routines.maxOfArray(t.map((e=>e.lp)))},_getInWeightForNode:function(e,t){let n=0;return t.forEach((t=>{t[1]===e&&(n+=t[2])})),n},_getOutWeightForNode:function(e,t){let n=0;return t.forEach((t=>{t[0]===e&&(n+=t[2])})),n},_computeCascades:function(e){const t=i.default.struct.computeLongestPaths(e),n=i.default.routines.maxOfArray(t.map((e=>e.lp))),o=[];for(let e=0;e<n+1;e++)o.push({});return e.forEach((e=>{let n=o[this._getCascadeIdx(e[0],t)];n[e[0]]||(n[e[0]]={nodeTitle:e[0]}),n=o[this._getCascadeIdx(e[1],t)],n[e[1]]||(n[e[1]]={nodeTitle:e[1]})})),o.forEach((t=>{Object.keys(t).forEach((n=>{const i=t[n];i.inWeight=this._getInWeightForNode(i.nodeTitle,e),i.outWeight=this._getOutWeightForNode(i.nodeTitle,e),i.maxWeight=Math.max(i.inWeight,i.outWeight)}))})),o},_getWeightForCascade:function(e,t){let n=0;const i=e[t];return Object.keys(i).forEach((e=>{n+=Math.max(i[e].inWeight,i[e].outWeight)})),n},_getMaxWeightThroughCascades:function(e){const t=[];return e.forEach((e=>{let n=0;Object.keys(e).forEach((t=>{const i=e[t];n+=Math.max(i.inWeight,i.outWeight)})),t.push(n)})),i.default.routines.maxOfArray(t)},_computeNodes:function(e,t){const n=[],o=this._getMaxWeightThroughCascades(e),r=i.default.routines.maxOfArray(e.map((e=>Object.keys(e).length)));let l=t.nodePadding,c=t.height-l*(r-1);c<0&&(l=0,c=t.height-l*(r-1)),this._weightPerPixel=o/c;let u=0;return e.forEach((i=>{const r=[];let d=0;const h=Object.keys(i).length,f=this._getWeightForCascade(e,u)/this._weightPerPixel+l*(h-1);let p;p=Array.isArray(t.nodeAlign)?u<t.nodeAlign.length?t.nodeAlign[u]:s:t.nodeAlign,"bottom"===p?d=t.height-f:p===a&&(d=.5*(t.height-f)),d=Math.round(d),Object.keys(i).forEach((e=>{i[e].sort=this._sort&&Object.prototype.hasOwnProperty.call(this._sort,e)?this._sort[e]:1})),Object.keys(i).sort(((e,t)=>i[e].sort-i[t].sort)).forEach((n=>{const a=i[n],s=Math.floor(c*a.maxWeight/o),h=Math.round(u*t.width/(e.length-1))-(0===u?0:t.nodeWidth),f={};f._name=n,f.width=t.nodeWidth,f.height=s,f.x=h+t.x,f.y=d+t.y,d+=s+l,r.push(f)})),u++,n.push(r)})),n},_findRectByName:function(e,t){for(let n=0;n<e.length;n++)for(let i=0;i<e[n].length;i++)if(t===e[n][i]._name)return e[n][i];return null},_findIndexByName:function(e,t){let n=0;for(let i=0;i<e.length;i++)for(let o=0;o<e[i].length;o++){if(t===e[i][o]._name)return n;n++}return null},_computeLinks:function(e,t,n){const i={},o=[],r=[];return n.forEach((e=>{Object.keys(e).forEach((e=>{i[e]={in:0,out:0}}))})),t.forEach((n=>{n.forEach((n=>{const r=n._name,a=this._findRectByName(t,r),s=e.filter((e=>e[0]===r));s.forEach((e=>{e.sort=this._findIndexByName(t,e[1])})),s.sort(((e,t)=>e.sort-t.sort)).forEach((e=>{const n=this._findRectByName(t,e[1]),r=Math.round(e[2]/this._weightPerPixel),s=i[e[0]].out,l=i[e[1]].in,c=i[e[0]].out+r>a.height?a.height-i[e[0]].out:r,u=i[e[1]].in+r>n.height?n.height-i[e[1]].in:r;o.push({from:{x:a.x,y:a.y+s,width:a.width,height:c,node:a,weight:e[2]},to:{x:n.x,y:n.y+l,width:n.width,height:u,node:n}}),i[e[0]].out+=r,i[e[1]].in+=r}))}))})),o.forEach((e=>{const t={d:this._spline(e.from,e.to),_boundingRect:{x:e.from.x+e.from.width,y:Math.min(e.from.y,e.to.y),width:e.to.x-(e.from.x+e.from.width),height:Math.max(e.from.x+e.from.height,e.to.y+e.to.height)-Math.min(e.from.y,e.to.y)},_weight:e.from.weight,_from:e.from.node,_to:e.to.node};r.push(t)})),this._fitAllNodesHeight(t,o),r},_fitNodeHeight:function(e,t,n){const i=this._findRectByName(t,e);let o=0,r=0;n.forEach((function(t){t.from.node._name===e&&(r+=t.from.height),t.to.node._name===e&&(o+=t.to.height)})),i.height=Math.max(o,r)},_fitAllNodesHeight:function(e,t){for(let n=0;n<e.length;n++)for(let i=0;i<e[n].length;i++)this._fitNodeHeight(e[n][i]._name,e,t)},_spline:function(e,t){const n=e.x+e.width,i=e.y,o=e.x+e.width,r=e.y+e.height,a=t.x,s=t.y,l=t.x,c=t.y+t.height,u=.3*(a-n);return`M ${n} ${i} C ${n+u} ${i} ${a-u} ${s} ${a} ${s} L ${l} ${c} C ${l-u} ${c} ${o+u} ${r} ${o} ${r} Z`},computeLayout:function(e,t,n,i){this._sort=t;const r={},a=o.default.validate(e,i);return a?r.error=a:(r.cascades=this._computeCascades(e),r.nodes=this._computeNodes(r.cascades,{width:n.availableRect.width,height:n.availableRect.height,x:n.availableRect.x,y:n.availableRect.y,nodePadding:n.nodePadding,nodeWidth:n.nodeWidth,nodeAlign:n.nodeAlign}),r.links=this._computeLinks(e,r.nodes,r.cascades)),r},overlap:function(e,t){return!(t.x>e.x+e.width||t.x+t.width<e.x||t.y>=e.y+e.height||t.y+t.height<=e.y)}}},32150:function(e,t,n){t.default=void 0;var i=n(92585),o=n(11528);const r=["normal","adjacentNodeHover","hover"];function a(e,t,n,r){const a=t.border,s=n.border,l=(0,o.isDefined)(a.visible)?a.visible:s.visible,c=(0,o.isDefined)(a.width)?a.width:s.width,u=(0,o.isDefined)(a.opacity)?a.opacity:(0,o.isDefined)(s.opacity)?s.opacity:1,d=(0,o.isDefined)(t.opacity)?t.opacity:(0,o.isDefined)(n.opacity)?n.opacity:1;let h=t.color||e;return n.colorMode===i.COLOR_MODE_TARGET||n.colorMode===i.COLOR_MODE_SOURCE?h=e:n.colorMode===i.COLOR_MODE_GRADIENT&&r&&(0,o.isDefined)(r.id)&&(h=r.id),{fill:h,"stroke-width":l?c:0,stroke:t.border.color||n.border.color,"stroke-opacity":u,opacity:d,hatching:t.hatching}}function s(e,t){const n=this,i=e._renderer.getRootOffset();n.code=0,n.widget=e,n.color=t.color,n.connection=t.connection,n.d=t.d,n.options=t.options,n.boundingRect=t.boundingRect,n.coords={x:t.boundingRect.x+t.boundingRect.width/2+i.left,y:t.boundingRect.y+t.boundingRect.height/2+i.top},n.states={normal:a(n.color,n.options,n.options,t.gradient),adjacentNodeHover:a(n.color,{opacity:0,border:{}},n.options,t.gradient),hover:a(n.color,{opacity:0,border:{}},n.options,t.gradient)},n.overlayStates={normal:a(n.color,{opacity:0,border:{}},n.options),adjacentNodeHover:a(n.color,n.options.hoverStyle,n.options),hover:a(n.color,n.options.hoverStyle,n.options)}}s.prototype={getState:function(){return r[this.code]},isHovered:function(){return 2===this.code},isAdjacentNodeHovered:function(){return 1===this.code},setState:function(e,t){t?this.code=e:(this.code=0,this.hideTooltip()),this.widget._applyLinksAppearance()},setHover:function(){this.hover(!0)},hover:function(e){this.widget._getOption("hoverEnabled",!0)&&e!==this.isHovered()&&(this.widget._suspend(),e&&this.widget.clearHover(),this.setState(2,e),this.widget._eventTrigger("linkHoverChanged",{target:this}),this.widget._resume())},adjacentNodeHover:function(e){this.widget._getOption("hoverEnabled",!0)&&e!==this.isAdjacentNodeHovered()&&(this.widget._suspend(),this.setState(1,e),this.widget._resume())},setAdjacentNodeHover:function(){this.adjacentNodeHover(!0)},showTooltip:function(e){this.widget._getOption("hoverEnabled",!0)&&this.widget._tooltip&&this.widget._tooltip.show({type:"link",info:{source:this.connection.source,target:this.connection.target,weight:this.connection.weight}},void 0!==e?{x:e[0],y:e[1]}:this.coords)},hideTooltip:function(){this.widget._tooltip&&this.widget._tooltip.hide()}};t.default=s;e.exports=t.default,e.exports.default=t.default},4442:function(e,t,n){t.default=void 0;var i=n(11528),o=n(28779);const r=["normal","hover"];function a(e,t,n){const o=t.border,r=n.border,a=(0,i.isDefined)(o.visible)?o.visible:r.visible,s=(0,i.isDefined)(o.width)?o.width:r.width,l=(0,i.isDefined)(o.opacity)?o.opacity:(0,i.isDefined)(r.opacity)?r.opacity:1,c=(0,i.isDefined)(t.opacity)?t.opacity:(0,i.isDefined)(n.opacity)?n.opacity:1;return{fill:t.color||e,"stroke-width":a?s:0,stroke:t.border.color||n.border.color,"stroke-opacity":l,opacity:c,hatching:t.hatching}}function s(e,t){const n=this,i=e._renderer.getRootOffset();n.code=0,n.widget=e,n.color=t.color,n.options=t.options,n.rect=t.rect,n.label=t.rect._name,n.coords={x:t.rect.x+t.rect.width/2+i.left,y:t.rect.y+t.rect.height/2+i.top},n.id=t.id,n.linksIn=t.linksIn,n.linksOut=t.linksOut,this.states={normal:a(this.color,n.options,n.options),hover:a(this.color,n.options.hoverStyle,n.options)}}s.prototype={compileAttrs:function(){return a(this.color,this.options)},getState:function(){return r[this.code]},isHovered:function(){return!!(1&this.code)},setState:function(e,t){t?this.code|=e:this.code&=~e,t?this.linksIn.concat(this.linksOut).forEach((e=>{this.widget._links[e.index].setAdjacentNodeHover(!0)})):(this.widget._links.forEach((function(e){e.isAdjacentNodeHovered()&&e.adjacentNodeHover(!1)})),this.hideTooltip()),this.widget._applyNodesAppearance(),this.widget._applyLinksAppearance()},hover:function(e){this.widget._getOption("hoverEnabled",!0)&&e!==this.isHovered()&&(this.widget._suspend(),e&&this.widget.clearHover(),this.setState(1,e),this.widget._eventTrigger("nodeHoverChanged",{target:this}),this.widget._resume())},setHover:function(){this.hover(!0)},showTooltip:function(e){this.widget._getOption("hoverEnabled",!0)&&this.widget._tooltip&&this.widget._tooltip.show({type:"node",info:{label:this.label,title:this.label,weightIn:this.linksIn.reduce((function(e,t){return e+t.weight}),0),weightOut:this.linksOut.reduce((function(e,t){return e+t.weight}),0)}},void 0!==e?{x:e[0],y:e[1]}:this.coords)},hideTooltip:function(){this.widget._tooltip&&this.widget._tooltip.hide()},getLabelAttributes:function(e,t){return function(e,t,n){const r=o.patchFontOptions;e.useNodeColors&&(e.font.color=n.color);const a=!!(0,i.isDefined)(e.border.visible)&&e.border.visible,s=(0,i.isDefined)(e.border.width)?e.border.width:0,l=(0,i.isDefined)(e.border.color)?e.border.color:e.font.color,c=(0,i.isDefined)(e.border.opacity)?e.border.opacity:1,u={filter:t};return a&&s&&(u.stroke=l,u["stroke-width"]=a?s:0,u["stroke-opacity"]=c),{attr:u,css:r(e.font)}}(e,t,this)}};t.default=s;e.exports=t.default,e.exports.default=t.default},78839:function(e,t,n){t.default=void 0;var i=n(92585),o=n(17781),r=h(n(4442)),a=h(n(32150)),s=n(58864),l=n(11528),c=h(n(34506)),u=h(n(92848)),d=n(25058);function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){const i=[],o="in"===n?"_to":"_from",r="in"===n?"_from":"_to";return e.links.map((e=>e[o]._name===t)).forEach(((t,n)=>{t&&i.push({index:n,weight:e.links[n]._weight,node:e.links[n][r]._name})})),i}const p=c.default.inherit({_rootClass:"dxs-sankey",_rootClassPrefix:"dxs",_proxyData:[],_optionChangesMap:{dataSource:"DATA_SOURCE",sortData:"DATA_SOURCE",alignment:"DATA_SOURCE",node:"BUILD_LAYOUT",label:"LABELS",link:"BUILD_LAYOUT",palette:"BUILD_LAYOUT",paletteExtensionMode:"BUILD_LAYOUT"},_themeDependentChanges:["BUILD_LAYOUT"],_getDefaultSize:function(){return{width:400,height:400}},_themeSection:"sankey",_fontFields:["label.font"],_optionChangesOrder:["DATA_SOURCE"],_initialChanges:["DATA_SOURCE"],_initCore:function(){this._groupLinks=this._renderer.g().append(this._renderer.root),this._groupNodes=this._renderer.g().append(this._renderer.root),this._groupLabels=this._renderer.g().attr({class:this._rootClassPrefix+"-labels"}).append(this._renderer.root),this._drawLabels=!0,this._nodes=[],this._links=[],this._gradients=[]},_disposeCore:o.noop,_applySize:function(e){this._rect=e.slice();const t=this._getOption("adaptiveLayout");return t.keepLabels||this._rect[2]-this._rect[0]>t.width?this._drawLabels=!0:this._drawLabels=!1,this._change(["BUILD_LAYOUT"]),this._rect},_eventsMap:{onNodeHoverChanged:{name:"nodeHoverChanged"},onLinkHoverChanged:{name:"linkHoverChanged"}},_customChangesOrder:["BUILD_LAYOUT","NODES_DRAW","LINKS_DRAW","LABELS","DRAWN"],_dataSourceChangedHandler:function(){this._requestChange(["BUILD_LAYOUT"])},_change_DRAWN:function(){this._drawn()},_change_DATA_SOURCE:function(){this._change(["DRAWN"]),this._updateDataSource()},_change_LABELS:function(){this._applyLabelsAppearance()},_change_BUILD_LAYOUT:function(){this._groupNodes.clear(),this._groupLinks.clear(),this._groupLabels.clear(),this._buildLayout()},_change_NODES_DRAW:function(){const e=this;e._nodes.forEach((function(t,n){const i=e._renderer.rect().attr(t.rect).append(e._groupNodes);t.element=i})),this._applyNodesAppearance()},_change_LINKS_DRAW:function(){const e=this;e._links.forEach((function(t,n){const i=e._renderer.g().attr({class:"link","data-link-idx":n}).append(e._groupLinks);t.overlayElement=e._renderer.path([],"area").attr({d:t.d}).append(i),t.element=e._renderer.path([],"area").attr({d:t.d}).append(i)})),this._applyLinksAppearance()},_suspend:function(){this._applyingChanges||this._suspendChanges()},_resume:function(){this._applyingChanges||this._resumeChanges()},_showTooltip:o.noop,hideTooltip:o.noop,clearHover:function(){this._suspend(),this._nodes.forEach((function(e){e.isHovered()&&e.hover(!1)})),this._links.forEach((function(e){e.isHovered()&&e.hover(!1),e.isAdjacentNodeHovered()&&e.adjacentNodeHover(!1)})),this._resume()},_applyNodesAppearance:function(){this._nodes.forEach((function(e){const t=e.getState();e.element.smartAttr(e.states[t])}))},_applyLinksAppearance:function(){this._links.forEach((function(e){const t=e.getState();e.element.smartAttr(e.states[t]),e.overlayElement.smartAttr(e.overlayStates[t])}))},_hitTestTargets:function(e,t){const n=this;let i;return this._proxyData.some((function(o){if(i=o.call(n,e,t),i)return!0})),i},_getData:function(){const e=this,t=e._dataSourceItems()||[],n=e._getOption("sourceField",!0),i=e._getOption("targetField",!0),o=e._getOption("weightField",!0),r=[];return t.forEach((function(t){const a=Object.prototype.hasOwnProperty.bind(t);a(n)?a(i)?a(o)?(0,l.isString)(t[n])?(0,l.isString)(t[i])?!(0,l.isNumeric)(t[o])||t[o]<=0?e._incidentOccurred("E2009",o):r.push([t[n],t[i],t[o]]):e._incidentOccurred("E2008",i):e._incidentOccurred("E2008",n):e._incidentOccurred("E2007",o):e._incidentOccurred("E2007",i):e._incidentOccurred("E2007",n)})),r},_buildLayout:function(){const e=this,t=e._getData(),n=this._rect,o=e._getOption("node"),l=e._getOption("sortData"),c=e._getOption("layoutBuilder",!0)||s.layout,u={x:n[0],y:n[1],width:n[2]-n[0],height:n[3]-n[1]},d=c.computeLayout(t,l,{availableRect:u,nodePadding:o.padding,nodeWidth:o.width,nodeAlign:e._getOption("alignment",!0)},e._incidentOccurred);if(e._layoutMap=d,!Object.prototype.hasOwnProperty.call(d,"error")){const t={};let n=0;const s=e._getOption("link"),l=d.nodes.map((e=>e.length)).reduce(((e,t)=>e+t),0),c=e._themeManager.createPalette(e._getOption("palette",!0),{useHighlight:!0,extensionMode:e._getOption("paletteExtensionMode",!0),count:l});e._nodes=[],e._links=[],e._gradients.forEach((e=>{e.dispose()})),e._gradients=[],e._shadowFilter&&e._shadowFilter.dispose(),d.nodes.forEach((i=>{i.forEach((i=>{const a=o.color||c.getNextColor(),s=new r.default(e,{id:n,color:a,rect:i,options:o,linksIn:f(d,i._name,"in"),linksOut:f(d,i._name,"out")});e._nodes.push(s),n++,t[i._name]=a}))})),d.links.forEach((n=>{let o=null;s.colorMode===i.COLOR_MODE_GRADIENT&&(o=e._renderer.linearGradient([{offset:"0%","stop-color":t[n._from._name]},{offset:"100%","stop-color":t[n._to._name]}]),this._gradients.push(o));let r=s.color;s.colorMode===i.COLOR_MODE_SOURCE?r=t[n._from._name]:s.colorMode===i.COLOR_MODE_TARGET&&(r=t[n._to._name]);const l=new a.default(e,{d:n.d,boundingRect:n._boundingRect,color:r,options:s,connection:{source:n._from._name,target:n._to._name,weight:n._weight},gradient:o});e._links.push(l)})),e._renderer.initDefsElements(),e._change(["NODES_DRAW","LINKS_DRAW","LABELS"])}e._change(["DRAWN"])},_applyLabelsAppearance:function(){const e=this,t=e._getOption("label"),n=e._rect[2]-e._rect[0],i=e._getOption("node");if(e._shadowFilter=e._renderer.shadowFilter("-50%","-50%","200%","200%").attr(t.shadow),e._groupLabels.clear(),e._drawLabels&&t.visible){const o=(n-(i.width+t.horizontalOffset)-e._layoutMap.cascades.length*i.width)/(e._layoutMap.cascades.length-1)-t.horizontalOffset;e._nodes.forEach((function(n){e._createLabel(n,t,e._shadowFilter.id),function(e,t,n,i){e._label.getBBox().width>n&&e.labelText.applyEllipsis(n);const o=e._label.getBBox(),r=t.verticalOffset,a=t.horizontalOffset;let s=Math.round(e.rect.y+e.rect.height/2-o.y-o.height/2)+r,l=e.rect.x+a+e.rect.width-o.x;l+o.width>=i[2]-i[0]&&(l=e.rect.x-a-o.x-o.width),s>=i[3]&&(s=i[3]),s-o.height<i[1]&&(s=e.rect.y-o.y+r),e.labelText.attr({translateX:l,translateY:s})}(n,t,o,e._rect)})),"none"!==t.overlappingBehavior&&e._nodes.forEach((function(n){const i=n._label.getBBox();e._nodes.forEach((function(e){const o=e._label.getBBox();n.id!==e.id&&s.layout.overlap(i,o)&&("ellipsis"===t.overlappingBehavior?n.labelText.applyEllipsis(o.x-i.x):"hide"===t.overlappingBehavior&&n.labelText.remove())}))}))}},_createLabel:function(e,t,n){const i=t.customizeText(e),o=e.getLabelAttributes(t,n);i&&(e._label=this._renderer.g().append(this._groupLabels),e.labelText=this._renderer.text(i).attr(o.attr).css(o.css),e.labelText.append(e._label))},_getMinSize:function(){const e=this._getOption("adaptiveLayout");return[e.width,e.height]},getAllNodes:function(){return this._nodes.slice()},getAllLinks:function(){return this._links.slice()}});(0,u.default)("dxSankey",p);t.default=p;p.addPlugin(d.plugin),e.exports=t.default,e.exports.default=t.default},24339:function(e,t,n){t.setTooltipCustomOptions=function(e){e.prototype._setTooltipOptions=function(){const e=this._tooltip,t=e&&this._getOption("tooltip");let n,o;t.linkTooltipTemplate&&(n=this._getTemplate(t.linkTooltipTemplate)),t.nodeTooltipTemplate&&(o=this._getTemplate(t.nodeTooltipTemplate)),e&&e.update((0,i.extend)({},t,{customizeTooltip:function(i){n&&"link"===i.type||o&&"node"===i.type||(i.skipTemplate=!0);const l=t=>e.formatValue(t);return"node"===i.type?s(t.customizeNodeTooltip,a(l))(i.info):"link"===i.type?s(t.customizeLinkTooltip,r(l))(i.info):{}},contentTemplate(e,t){const i={model:e.info,container:t};return n&&"link"===e.type?n.render(i):o&&"node"===e.type?o.render(i):void 0},enabled:t.enabled}))},e.prototype.hideTooltip=function(){this._tooltip&&this._tooltip.hide()}};var i=n(52576),o=n(11528);const r=e=>function(t){return{html:`<strong>${t.source} > ${t.target}</strong><br/>Weight: ${e(t.weight)}`}},a=e=>function(t){return{html:`<strong>${t.label}</strong><br/>Incoming weight: ${e(t.weightIn)}<br/>Outgoing weight: ${e(t.weightOut)}`}},s=function(e,t){return function(n){let r=(0,o.isFunction)(e)?e.call(n,n):{};const a=Object.prototype.hasOwnProperty.bind(r);return a("html")||a("text")||(r=(0,i.extend)(r,t.call(n,n))),r}}},85476:function(e,t,n){t.plugin=void 0;var i,o=(i=n(78839))&&i.__esModule?i:{default:i},r=n(16197);const a=o.default.prototype;let s=0;a._eventsMap.onNodeClick={name:"nodeClick"},a._eventsMap.onLinkClick={name:"linkClick"};t.plugin={name:"tracker",init:function(){const e=this,t="__sankey_data_"+s++;e._tracker=new r.Tracker({widget:e,root:e._renderer.root,getData:function(e){return e.target[t]},getNode:function(t){return t<e._nodes.length?e._nodes[t]:e._links[t-e._nodes.length]},click:function(t){const n=this.getData(t.event)<e._nodes.length?"nodeClick":"linkClick";e._eventTrigger(n,{target:t.node,event:t.event})}}),this._dataKey=t},dispose:function(){this._tracker.dispose()},extenders:{_change_LINKS_DRAW:function(){const e=this._dataKey;this._nodes.concat(this._links).forEach((function(t,n){t.element.data(e,n)}))}}}},46283:function(e,t,n){t.polar=t.chart=void 0;var i=n(22263),o=n(52576),r=n(24008),a=n(85854),s=n(28779);const l=a.chart.line,c=a.polar.line,u=o.extend,d=a.chart.spline._calculateBezierPoints,h=t.chart={},f=t.polar={},p={_createBorderElement:l._createMainElement,_createLegendState:function(e,t){return{fill:(0,s.extractColor)(e.color)||t,opacity:e.opacity,hatching:e.hatching,filter:e.highlight}},_getColorId:function(e){var t;return null===(t=e.color)||void 0===t?void 0:t.fillId},getValueRangeInitialValue:function(){return"logarithmic"!==this.valueAxisType&&"datetime"!==this.valueType&&!1!==this.showZero?0:r.chart.getValueRangeInitialValue.call(this)},_getDefaultSegment:function(e){const t=l._getDefaultSegment(e);return t.area=t.line.concat(t.line.slice().reverse()),t},_updateElement:function(e,t,n,i){const o={points:t.line},r={points:t.area},a=e.line;n?(a&&a.animate(o),e.area.animate(r,{},i)):(a&&a.attr(o),e.area.attr(r))},_removeElement:function(e){e.line&&e.line.remove(),e.area.remove()},_drawElement:function(e){return{line:this._bordersGroup&&this._createBorderElement(e.line,{"stroke-width":this._styles.normal.border["stroke-width"]}).append(this._bordersGroup),area:this._createMainElement(e.area).append(this._elementsGroup)}},_applyStyle:function(e){const t=this;t._elementsGroup&&t._elementsGroup.smartAttr(e.elements),t._bordersGroup&&t._bordersGroup.attr(e.border),(t._graphics||[]).forEach((function(t){t.line&&t.line.attr({"stroke-width":e.border["stroke-width"]}).sharp()}))},_parseStyle:function(e,t,n){const i=e.border||{},o=l._parseLineOptions(i,n);return o.stroke=i.visible&&o["stroke-width"]?o.stroke:"none",o["stroke-width"]=o["stroke-width"]||1,{border:o,elements:{stroke:"none",fill:(0,s.extractColor)(e.color)||t,hatching:e.hatching,opacity:e.opacity,filter:e.highlight??null}}},_areBordersVisible:function(){const e=this._options;return e.border.visible||e.hoverStyle.border.visible||e.selectionStyle.border.visible},_createMainElement:function(e,t){return this._renderer.path(e,"area").attr(t)},_getTrackerSettings:function(e){return{"stroke-width":e.singlePointSegment?this._defaultTrackerWidth:0}},_getMainPointsFromSegment:function(e){return e.area}};const g=h.area=u({},l,p,{_prepareSegment(e,t){const n=this._processSinglePointsAreaSegment(e,t),i=function(e){return(0,s.map)(e,(function(e){return e.getCoords()})).concat((0,s.map)(e.slice().reverse(),(function(e){return e.getCoords(!0)})))}(n),o=this.getArgumentAxis();if(o.getAxisPosition){const n=o.getAxisPosition(),r=o.getOptions(),a=(t?1:-1)*Math.round(r.width/2);r.visible&&i.forEach(((r,s)=>{if(r){const l=1===e.length?0:s<e.length?s:i.length-1-s;t&&r.x===e[l].defaultX&&r.x===n-o.getAxisShift()&&(r.x+=a),!t&&r.y===e[l].defaultY&&r.y===n-o.getAxisShift()&&(r.y+=a)}}))}return{line:n,area:i,singlePointSegment:n!==e}},_processSinglePointsAreaSegment:function(e,t){if(e&&1===e.length){const n=e[0],o=(0,i.clone)(n);return o[t?"y":"x"]+=1,o.argument=null,[n,o]}return e}});f.area=u({},c,p,{_prepareSegment:function(e,t,n){return n&&c._closeSegment.call(this,e),g._prepareSegment.call(this,e)},_processSinglePointsAreaSegment:function(e){return a.polar.line._prepareSegment.call(this,e).line}}),h.steparea=u({},g,{_prepareSegment:function(e,t){const n=a.chart.stepline;return e=g._processSinglePointsAreaSegment(e,t),g._prepareSegment.call(this,n._calculateStepLinePoints.call(this,e),t)},getSeriesPairCoord:a.chart.stepline.getSeriesPairCoord}),h.splinearea=u({},g,{_areaPointsToSplineAreaPoints:function(e){const t=e[e.length/2-1],n=e[e.length/2];e.splice(e.length/2,0,{x:t.x,y:t.y},{x:n.x,y:n.y})},_prepareSegment:function(e,t){const n=g._processSinglePointsAreaSegment(e,t),i=g._prepareSegment.call(this,d(n,t));return this._areaPointsToSplineAreaPoints(i.area),i.singlePointSegment=n!==e,i},_getDefaultSegment:function(e){const t=g._getDefaultSegment(e);return this._areaPointsToSplineAreaPoints(t.area),t},_createMainElement:function(e,t){return this._renderer.path(e,"bezierarea").attr(t)},_createBorderElement:a.chart.spline._createMainElement,getSeriesPairCoord:a.chart.spline.getSeriesPairCoord,_getNearestPoints:a.chart.spline._getNearestPoints,_getBezierPoints:a.chart.spline._getBezierPoints,obtainCubicBezierTCoef:a.chart.spline.obtainCubicBezierTCoef})},91449:function(e,t,n){t.polar=t.chart=void 0;var i=n(52576),o=n(21274),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}(n(24008)),a=n(46283),s=n(28779),l=n(11528);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=a.chart.area,d=r.chart,h=r.polar,f=i.extend,p=o.each,g=t.chart={},_=t.polar={},m={_createLegendState:function(e,t){return{fill:(0,s.extractColor)(e.color)||t,hatching:e.hatching,filter:e.highlight}},_getColorId:u._getColorId,_parsePointStyle:function(e,t,n){const i=(0,s.extractColor)(e.color)||t,o=d._parsePointStyle.call(this,e,i,n);return o.fill=i,o.hatching=e.hatching,o.filter=e.highlight,o.dashStyle=e.border&&e.border.dashStyle||"solid",delete o.r,o},_applyMarkerClipRect:function(e){e["clip-path"]=null},_setGroupsSettings:function(e,t){let n={};d._setGroupsSettings.apply(this,arguments),e&&t?n=this._getAffineCoordOptions():e||(n={scaleX:1,scaleY:1,translateX:0,translateY:0}),this._markersGroup.attr(n)},_drawPoint:function(e){e.hasAnimation=e.hasAnimation&&!e.firstDrawing,e.firstDrawing=!1,d._drawPoint.call(this,e)},_getMainColor:function(){return this._options.mainSeriesColor},_createPointStyles:function(e){var t;const n=this,i=(0,s.extractColor)(e.color,!0)||n._getMainColor(),o=null===(t=e.color)||void 0===t?void 0:t.fillId,r=e.hoverStyle||{},a=e.selectionStyle||{};return o&&n._turnOffHatching(r,a),{labelColor:i,normal:n._parsePointStyle(e,i,i),hover:n._parsePointStyle(r,o||i,i),selection:n._parsePointStyle(a,o||i,i)}},_updatePointsVisibility:function(){const e=this._options.visible;(0,o.each)(this._points,(function(t,n){n._options.visible=e}))},_getOptionsForPoint:function(){return this._options},_animate:function(e){const t=this;t._animatePoints(e,(function(){t._animateComplete()}),(function(e,t){const n=e.length-1;p(e||[],(function(e,i){i.animate(e===n?t:void 0,i.getMarkerCoords())}))}))},getValueRangeInitialValue:u.getValueRangeInitialValue,_patchMarginOptions:function(e){var t;return e.checkInterval=!this.useAggregation()||(null===(t=this.getArgumentAxis())||void 0===t?void 0:t.aggregatedPointBetweenTicks()),e},_defaultAggregator:"sum",_defineDrawingState(){},usePointsToDefineAutoHiding:()=>!1};g.bar=f({},d,m,{_getAffineCoordOptions:function(){const e=this._options.rotated,t={scaleX:e?.001:1,scaleY:e?1:.001};return t["translate"+(e?"X":"Y")]=this.getValueAxis().getTranslator().translate("canvas_position_default"),t},_animatePoints:function(e,t,n){const i=this;i._markersGroup.animate({scaleX:1,scaleY:1,translateY:0,translateX:0},void 0,t),e||n(i._drawnPoints,t)},checkSeriesViewportCoord(e,t){if(!d.checkSeriesViewportCoord.call(this))return!1;if(e.isArgumentAxis)return!0;const n=e.getTranslator(),i=this.getViewport(),o=n.translate(i.categories?i.categories[0]:i.min),r=n.translate(i.categories?i.categories[i.categories.length-1]:i.max),a=this.getOptions().rotated,s=e.getOptions().inverted;return a&&!s||!a&&s?t>=o&&t<=r:t>=r&&t<=o},getSeriesPairCoord(e,t){let n=null;const{rotated:i}=this._options,o=!t&&!i||t&&i,r=o?"vy":"vx",a=o?"vx":"vy",s=this.getPoints();for(let i=0;i<s.length;i++){const o=s[i];let l;if(l=t?o.getCenterCoord()[r[1]]===e?o[a]:void 0:o[r]===e?o[a]:void 0,this._checkAxisVisibleAreaCoord(!t,l)){n=l;break}}return n}}),_.bar=f({},h,m,{_animatePoints:function(e,t,n){n(this._drawnPoints,t)},_setGroupsSettings:d._setGroupsSettings,_drawPoint:function(e,t,n){d._drawPoint.call(this,e,t,n)},_parsePointStyle:function(e){const t=m._parsePointStyle.apply(this,arguments);return t.opacity=e.opacity,t},_createGroups:d._createGroups,_setMarkerGroupSettings:function(){const e=this,t=e._createPointStyles(e._getMarkerGroupOptions()).normal;t.class="dxc-markers",e._applyMarkerClipRect(t);const n=f({},t);delete n.opacity,e._markersGroup.attr(n)},getSeriesPairCoord(e,t){let n=null;const i=t?"argument":"radius",o=this.getVisiblePoints(),r=this.getArgumentAxis(),a=r.getAngles()[0];for(let t=0;t<o.length;t++){const c=o[t],u=(0,l.isDefined)(c[i])&&(0,l.isDefined)(e[i])&&c[i].valueOf()===e[i].valueOf()?(0,s.convertPolarToXY)(r.getCenter(),a,-r.getTranslatedAngle(c.angle),c.radius):void 0;if((0,l.isDefined)(u)){n=u;break}}return n},_createLegendState:u._createLegendState})},66151:function(e,t,n){t.Series=K,t.mixins=void 0;var i=n(11528),o=n(52576),r=n(21274),a=n(31656),s=n(28779),l=n(17781),c=C(n(7377)),u=C(n(34685)),d=x(n(24008)),h=x(n(85854)),f=x(n(46283)),p=x(n(91449)),g=n(16665),_=n(85526),m=x(n(64708)),v=x(n(72259)),b=x(n(33277));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(i,r,a):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function C(e){return e&&e.__esModule?e:{default:e}}const S={},w=c.default.states,E="discrete",T=w.selectedMark,A=w.hoverMark,O=w.hover,k=w.normal,D=w.selection,L=w.applySelected,P=w.applyHover,M=w.resetItem,R="none",I="seriesSelectionChanged",B="pointSelectionChanged",V="seriesHoverChanged",F="pointHoverChanged",H="allseriespoints",N="allargumentpoints",z="pointHover",j="clearPointHover",G="seriesSelect",Z="pointSelect",W="pointDeselect";function U(e,t,n){e&&e.trigger(t,n)}function $(e){return"includepoints"===(e=(0,s.normalizeEnum)(e))||e===H}function Y(e,t){const n=(0,o.extend)({},e,t);return n.border=(0,o.extend)({},e&&e.border,t&&t.border),n}function K(e,t){const n=this;n.fullState=0,n._extGroups=e,n._renderer=e.renderer,n._group=e.renderer.g().attr({class:"dxc-series"}),n._eventTrigger=e.eventTrigger,n._eventPipe=e.eventPipe,n._incidentOccurred=e.incidentOccurred,n._legendCallback=l.noop,n.updateOptions(t,e)}function q(e){return e.data}function X(e,t){return t&&"logarithmic"===e&&!1===t.getOptions().allowNegatives?e=>e>0:()=>!0}S.mixins={chart:{},pie:{},polar:{}},S.mixins.chart.scatter=d.chart,S.mixins.polar.scatter=d.polar,(0,o.extend)(S.mixins.pie,m),(0,o.extend)(S.mixins.chart,h.chart,f.chart,p.chart,g.chart,_.chart,v,b.chart),(0,o.extend)(S.mixins.polar,h.polar,f.polar,p.polar,b.polar),K.prototype={constructor:K,_createLegendState:l.noop,getLegendStyles:function(){return this._styles.legendStyles},_createStyles:function(e){const t=this,n=e.mainSeriesColor,i=this._getColorId(e),o=e.hoverStyle||{},r=e.selectionStyle||{};i&&t._turnOffHatching(o,r),t._styles={labelColor:n,normal:t._parseStyle(e,n,n),hover:t._parseStyle(o,i||n,n),selection:t._parseStyle(r,i||n,n),legendStyles:{normal:t._createLegendState(e,i||n),hover:t._createLegendState(o,i||n),selection:t._createLegendState(r,i||n)}}},setClippingParams(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this._paneClipRectID=e,this._widePaneClipRectID=t,this._forceClipping=n,this._clipLabels=i},applyClip:function(){this._group.attr({"clip-path":this._paneClipRectID})},resetClip:function(){this._group.attr({"clip-path":null})},getTagField:function(){return this._options.tagField||"tag"},getValueFields:l.noop,getSizeField:l.noop,getArgumentField:l.noop,getPoints:function(){return this._points},getPointsInViewPort:function(){return u.default.getPointsInViewPort(this)},_createPoint:function(e,t,n){e.index=t;const i=this,o=i.pointsByArgument,r=i._getCreatingPointOptions(e),s=e.argument.valueOf();let l=n;l?l.update(e,r):(l=new a.Point(i,e,r),i.isSelected()&&$(i.lastSelectionMode)&&l.setView(D));const c=o[s];return c?c.push(l):o[s]=[l],l.hasValue()&&i.customizePoint(l,e),l},getRangeData:function(){return this._visible?this._getRangeData():{arg:{},val:{}}},getArgumentRange:function(){return this._visible?u.default.getArgumentRange(this):{arg:{},val:{}}},getViewport:function(){return u.default.getViewport(this)},_deleteGroup:function(e){const t=this[e];t&&(t.dispose(),this[e]=null)},updateOptions(e,t){const n=this,i=e.widgetType,o=n.type,r=e.type;if(n.type=r&&(0,s.normalizeEnum)(r.toString()),!n._checkType(i)||n._checkPolarBarType(i,e))return n.dispose(),void(n.isUpdated=!1);o!==n.type?(n._firstDrawing=!0,n._resetType(o,i),n._setType(n.type,i)):n._defineDrawingState(),n._options=e,n._pointOptions=null,n.name=e.name,n.pane=e.pane,n.tag=e.tag,t&&(n._seriesModes=t.commonSeriesModes||n._seriesModes,n._valueAxis=t.valueAxis||n._valueAxis,n.axis=n._valueAxis&&n._valueAxis.name,n._argumentAxis=t.argumentAxis||n._argumentAxis),n._createStyles(e),n._stackName=null,n._updateOptions(e),n._visible=e.visible,n.isUpdated=!0,n.stack=e.stack,n.barOverlapGroup=e.barOverlapGroup,n._createGroups(),n._processEmptyValue=e.ignoreEmptyPoints?e=>null===e?void 0:e:e=>e},_defineDrawingState(){this._firstDrawing=!0},_disposePoints:function(e){(0,r.each)(e||[],(function(e,t){t.dispose()}))},updateDataType:function(e){const t=this;return t.argumentType=e.argumentType,t.valueType=e.valueType,t.argumentAxisType=e.argumentAxisType,t.valueAxisType=e.valueAxisType,t.showZero=e.showZero,this._argumentChecker=X(e.argumentAxisType,t.getArgumentAxis()),this._valueChecker=X(e.valueAxisType,t.getValueAxis()),t},_argumentChecker:function(){return!0},_valueChecker:function(){return!0},getOptions:function(){return this._options},_getOldPoint:function(e,t,n){const i=e.argument&&e.argument.valueOf(),o=(t[i]||[])[0];return o&&t[i].splice(0,1),o},updateData:function(e){const t=this,n=t._options,o=n.nameField;(e=e||[]).length&&(t._canRenderCompleteHandle=!0);const r=this._getPointDataSelector();let a=0;t._data=e.reduce(((e,t,s)=>{const l=r(t);return(0,i.isDefined)(l.argument)?o&&t[o]!==n.nameFieldValue||(l.index=s,e.push(l)):a++,e}),[]),a&&a===e.length&&t._incidentOccurred("W2002",[t.name,t.getArgumentField()]),t._endUpdateData()},_getData(){let e=this._data||[];if(this.useAggregation()){const t=this.argumentAxisType===E,n=t?{}:this.getArgumentRange(),i=t?{}:this.getArgumentAxis().getAggregationInfo(this._useAllAggregatedPoints,n);e=this._resample(i,e)}return e},useAggregation:function(){const e=this.getOptions().aggregation;return e&&e.enabled},autoHidePointMarkersEnabled:l.noop,usePointsToDefineAutoHiding:l.noop,createPoints(e){this._normalizeUsingAllAggregatedPoints(e),this._createPoints()},_normalizeUsingAllAggregatedPoints:function(e){this._useAllAggregatedPoints=this.useAggregation()&&(this.argumentAxisType===E||(this._data||[]).length>1&&!!e)},_createPoints:function(){const e=this,t=e.pointsByArgument||{},n=e._getData();e.pointsByArgument={},e._calculateErrorBars(n);const i={},o=n.reduce(((n,o)=>{if(e._checkData(o,i)){const i=n.length,r=e._getOldPoint(o,t,i),a=e._createPoint(o,i,r);n.push(a)}return n}),[]);for(const t in i)i[t]===n.length&&e._incidentOccurred("W2002",[e.name,t]);Object.keys(t).forEach((n=>e._disposePoints(t[n]))),e._points=o},_removeOldSegments:function(){const e=this,t=e._segments.length;(0,r.each)(e._graphics.splice(t,e._graphics.length)||[],(function(t,n){e._removeElement(n)})),e._trackers&&(0,r.each)(e._trackers.splice(t,e._trackers.length)||[],(function(e,t){t.remove()}))},_prepareSegmentsPosition(){const e=this._points||[],t=e[0]&&e[0].hasValue()&&this._options.closed,n=e.reduce((function(e,t){const n=e.at(-1);return t.translated||t.setDefaultCoords(),t.hasValue()&&t.hasCoords()?n.push(t):!t.hasValue()&&n.length&&e.push([]),e}),[[]]);this._drawSegments(n,t,!1)},_drawElements(e,t){const n=this,i=n._points||[],o=i[0]&&i[0].hasValue()&&n._options.closed,r={markers:n._markersGroup,errorBars:n._errorBarGroup};n._drawnPoints=[],n._graphics=n._graphics||[],n._segments=[];const a=i.reduce((function(i,o){const a=i.at(-1);return o.hasValue()&&o.hasCoords()?(n._drawPoint({point:o,groups:r,hasAnimation:e,firstDrawing:t}),a.push(o)):o.hasValue()?o.setInvisibility():a.length&&i.push([]),i}),[[]]);n._drawSegments(a,o,e),n._firstDrawing=!i.length,n._removeOldSegments(),e&&n._animate(t)},_drawSegments(e,t,n){e.forEach(((i,o)=>{if(i.length){const r=t&&o===e.length-1;this._drawSegment(i,n,o,r)}}))},draw(e,t,n){const i=this,o=i._firstDrawing;i._legendCallback=n||i._legendCallback,i._visible?(i._appendInGroup(),i._isAllPointsTranslated||i.prepareCoordinatesForPoints(),i._setGroupsSettings(e,o),!o&&!i._resetApplyingAnimation&&i._prepareSegmentsPosition(),i._drawElements(e,o),t&&i.hideLabels(),i.isSelected()?i._changeStyle(i.lastSelectionMode,void 0,!0):i.isHovered()?i._changeStyle(i.lastHoverMode,void 0,!0):i._applyStyle(i._styles.normal),i._isAllPointsTranslated=!1,i._resetApplyingAnimation=!1):i._group.remove()},_translatePoints(){(this._points??[]).forEach((e=>{e.translate()}))},prepareCoordinatesForPoints(){this._applyVisibleArea(),this._translatePoints(),this._isAllPointsTranslated=!0},_setLabelGroupSettings:function(e){const t={class:"dxc-labels","pointer-events":"none"};this._clipLabels&&this._applyElementsClipRect(t),this._applyClearingSettings(t),e&&(t.opacity=.001),this._labelsGroup.attr(t).append(this._extGroups.labelsGroup)},_checkType:function(e){return!!S.mixins[e][this.type]},_checkPolarBarType:function(e,t){return"polar"===e&&t.spiderWidget&&-1!==this.type.indexOf("bar")},_resetType:function(e,t){let n,i;if(e)for(n in i=S.mixins[t][e],i)delete this[n]},_setType:function(e,t){let n;const i=S.mixins[t][e];for(n in i)this[n]=i[n]},_setPointsView:function(e,t){this.getPoints().forEach((function(n){t!==n&&n.setView(e)}))},_resetPointsView:function(e,t){this.getPoints().forEach((function(n){t!==n&&n.resetView(e)}))},_resetNearestPoint:function(){const e=this;e._nearestPoint&&null!==e._nearestPoint.series&&e._nearestPoint.resetView(O),e._nearestPoint=null},_setSelectedState:function(e){const t=this;t.lastSelectionMode=(0,s.normalizeEnum)(e||t._options.selectionMode),t.fullState=t.fullState|T,t._resetNearestPoint(),t._changeStyle(t.lastSelectionMode),t.lastSelectionMode!==R&&t.isHovered()&&$(t.lastHoverMode)&&t._resetPointsView(O)},_releaseSelectedState:function(){const e=this;e.fullState=e.fullState&~T,e._changeStyle(e.lastSelectionMode,D),e.lastSelectionMode!==R&&e.isHovered()&&$(e.lastHoverMode)&&e._setPointsView(O)},isFullStackedSeries:function(){return 0===this.type.indexOf("fullstacked")},isStackedSeries:function(){return 0===this.type.indexOf("stacked")},resetApplyingAnimation:function(e){this._resetApplyingAnimation=!0,e&&(this._firstDrawing=!0)},isFinancialSeries:function(){return"stock"===this.type||"candlestick"===this.type},_canChangeView:function(){return!this.isSelected()&&(0,s.normalizeEnum)(this._options.hoverMode)!==R},_changeStyle:function(e,t,n){const i=this;let o=i.fullState;const r=[k,O,D,D];"none"===i.lastHoverMode&&(o&=~A),"none"===i.lastSelectionMode&&(o&=~T),$(e)&&!n&&(t?i._resetPointsView(t):i._setPointsView(r[o])),i._legendCallback([M,P,L,L][o]),i._applyStyle(i._styles[r[o]])},updateHover:function(e,t){const n=this,i=n._nearestPoint,o=n.isHovered()&&"nearestpoint"===n.lastHoverMode&&n.getNeighborPoint(e,t);o===i||n.isSelected()&&n.lastSelectionMode!==R||(n._resetNearestPoint(),o&&(o.setView(O),n._nearestPoint=o))},_getMainAxisName:function(){return this._options.rotated?"X":"Y"},areLabelsVisible:function(){return!(0,i.isDefined)(this._options.maxLabelCount)||this._points.length<=this._options.maxLabelCount},getLabelVisibility:function(){return this.areLabelsVisible()&&this._options.label&&this._options.label.visible},customizePoint:function(e,t){const n=this,r=n._options,a=r.customizePoint;let s,l,c,u;const d=r.customizeLabel;let h,f;d&&d.call&&(s=(0,o.extend)({seriesName:n.name},t),s.series=n,c=d.call(s,s),h=c&&!(0,i.isEmptyObject)(c),c=h?(0,o.extend)(!0,{},r.label,c):null),a&&a.call&&(s=s||(0,o.extend)({seriesName:n.name},t),s.series=n,u=a.call(s,s),f=u&&!(0,i.isEmptyObject)(u)),(h||f)&&(l=n._parsePointOptions(n._preparePointOptions(u),c||r.label,t,e),l.styles.useLabelCustomOptions=h,l.styles.usePointCustomOptions=f,e.updateOptions(l))},show:function(){this._visible||this._changeVisibility(!0)},hide:function(){this._visible&&this._changeVisibility(!1)},_changeVisibility:function(e){const t=this;t._visible=t._options.visible=e,t._updatePointsVisibility(),t.hidePointTooltip(),t._options.visibilityChanged(t)},_updatePointsVisibility:l.noop,hideLabels:function(){(0,r.each)(this._points,(function(e,t){t._label.draw(!1)}))},_turnOffHatching(e,t){e.hatching&&(e.hatching.direction="none"),t.hatching&&(t.hatching.direction="none")},_parsePointOptions:function(e,t,n,r){const a=this,l=a._options,c=a._createPointStyles(e,n,r),u=(0,o.extend)({},e,{type:l.type,rotated:l.rotated,styles:c,widgetType:l.widgetType,visibilityChanged:l.visibilityChanged});return u.label=function(e,t){const n=e||{},r=(0,o.extend)({},n.font)||{},a=n.border||{},l=n.connector||{},c={fill:n.backgroundColor||t,"stroke-width":a.visible&&a.width||0,stroke:a.visible&&a.width?a.color:"none",dashStyle:a.dashStyle},u={stroke:l.visible&&l.width?l.color||t:"none","stroke-width":l.visible&&l.width||0};return r.color="none"===n.backgroundColor&&"#ffffff"===(0,s.normalizeEnum)(r.color)&&"inside"!==n.position?t:r.color,{alignment:n.alignment,format:n.format,argumentFormat:n.argumentFormat,customizeText:(0,i.isFunction)(n.customizeText)?n.customizeText:void 0,attributes:{font:r},visible:0!==r.size&&n.visible,showForZeroValues:n.showForZeroValues,horizontalOffset:n.horizontalOffset,verticalOffset:n.verticalOffset,radialOffset:n.radialOffset,background:c,position:n.position,connector:u,rotationAngle:n.rotationAngle,wordWrap:n.wordWrap,textOverflow:n.textOverflow,cssClass:n.cssClass,displayFormat:n.displayFormat}}(t,c.labelColor),a.areErrorBarsVisible()&&(u.errorBars=l.valueErrorBar),u},_preparePointOptions:function(e){const t=this._getOptionsForPoint();return e?function(e,t){const n=Y(e,t);return n.image=(0,o.extend)(!0,{},e.image,t.image),n.selectionStyle=Y(e.selectionStyle,t.selectionStyle),n.hoverStyle=Y(e.hoverStyle,t.hoverStyle),n}(t,e):t},_getMarkerGroupOptions:function(){return(0,o.extend)(!1,{},this._getOptionsForPoint(),{hoverStyle:{},selectionStyle:{}})},_getAggregationMethod:function(e){const t=this.getOptions().aggregation,n=(0,s.normalizeEnum)(t.method),i="custom"===n&&t.calculate;return i||(e?e=>{let{data:t}=e;return t[0]}:this._aggregators[n]||this._aggregators[this._defaultAggregator])},_resample(e,t){let{interval:n,ticks:i}=e;const o=this,r=o.getOptions(),a=this._getPointDataSelector(),s=(e,t,n)=>{if(!t)return;const i=t=>{const i=t&&a(t,r);i&&o._checkData(i)&&(i.aggregationInfo=n,e.push(i))};Array.isArray(t)?t.forEach(i):i(t)},l=o.valueAxisType===E,c=o.argumentAxisType===E,u=this._getAggregationMethod(l);if(c){const e=this.getArgumentAxis().getTranslator().getBusinessRange().categories,n=e.reduce(((e,t)=>(e[t.valueOf()]=[],e)),{});return t.forEach((e=>{n[e.argument.valueOf()].push(e)})),e.reduce(((e,t)=>(s(e,u({aggregationInterval:null,intervalStart:t,intervalEnd:t,data:n[t.valueOf()].map(q)},o)),e)),[])}if(l)return t.reduce(((e,t,i,r)=>{if(e[1].push(t),i===r.length-1||(i+1)%n==0){const t=e[1],i={aggregationInterval:n,data:t.map(q)};s(e[0],u(i,o)),e[1]=[]}return e}),[[],[]])[0];const d=[];if(1===i.length){const e={intervalStart:i[0],intervalEnd:i[0],aggregationInterval:null,data:t.map(q)};s(d,u(e,o),e)}else{let e=0;for(let r=1;r<i.length;r++){const a=i[r],l=i[r-1],c=[];for(;t[e]&&t[e].argument<a;)t[e].argument>=l&&c.push(t[e]),e++;const h={intervalStart:l,intervalEnd:a,aggregationInterval:n,data:c.map(q)};s(d,u(h,o),h)}}return o._endUpdateData(),d},canRenderCompleteHandle:function(){const e=this._canRenderCompleteHandle;return delete this._canRenderCompleteHandle,!!e},isHovered:function(){return!!(1&this.fullState)},isSelected:function(){return!!(2&this.fullState)},isVisible:function(){return this._visible},getAllPoints:function(){return this._createAllAggregatedPoints(),(this._points||[]).slice()},getPointByPos:function(e){return this._createAllAggregatedPoints(),(this._points||[])[e]},getVisiblePoints:function(){return(this._drawnPoints||[]).slice()},selectPoint:function(e){e.isSelected()||(!function(e,t){e.fullState|=T,e.applyView(t)}(e,this._legendCallback),this._eventPipe({action:Z,target:e}),this._eventTrigger(B,{target:e}))},deselectPoint:function(e){e.isSelected()&&(!function(e,t){e.fullState&=~T,e.applyView(t)}(e,this._legendCallback),this._eventPipe({action:W,target:e}),this._eventTrigger(B,{target:e}))},hover:function(e){const t=this,n=t._eventTrigger;t.isHovered()||(t.lastHoverMode=(0,s.normalizeEnum)(e||t._options.hoverMode),t.fullState=t.fullState|A,t._changeStyle(t.lastHoverMode,void 0,t.isSelected()&&t.lastSelectionMode!==R),n(V,{target:t}))},clearHover:function(){const e=this,t=e._eventTrigger;e.isHovered()&&(e._resetNearestPoint(),e.fullState=e.fullState&~A,e._changeStyle(e.lastHoverMode,O,e.isSelected()&&e.lastSelectionMode!==R),t(V,{target:e}))},hoverPoint:function(e){const t=this;e.isHovered()||(e.clearHover(),function(e,t){e.fullState|=A,e.applyView(t)}(e,t._legendCallback),t._canChangeView()&&t._applyStyle(t._styles.hover),t._eventPipe({action:z,target:e}),t._eventTrigger(F,{target:e}))},clearPointHover:function(){const e=this;e.getPoints().some((function(t){return!!t.isHovered()&&(n=t,i=e._legendCallback,n.fullState&=~A,n.applyView(i),n.releaseHoverState(),e._canChangeView()&&e._applyStyle(e._styles.normal),e._eventPipe({action:j,target:t}),e._eventTrigger(F,{target:t}),!0);var n,i}))},showPointTooltip:function(e){U(this._extGroups.seriesGroup,"showpointtooltip",e)},hidePointTooltip:function(e){U(this._extGroups.seriesGroup,"hidepointtooltip",e)},select:function(){const e=this;e.isSelected()||(e._setSelectedState(e._options.selectionMode),e._eventPipe({action:G,target:e}),e._group.toForeground(),e._eventTrigger(I,{target:e}))},clearSelection:function(){const e=this;e.isSelected()&&(e._releaseSelectedState(),e._eventTrigger(I,{target:e}))},getPointsByArg:function(e,t){const n=this,i=e.valueOf();let o=n.pointsByArgument[i];return o||t||!n._createAllAggregatedPoints()||(o=n.pointsByArgument[i]),o||[]},_createAllAggregatedPoints:function(){return!(!this.useAggregation()||this._useAllAggregatedPoints)&&(this.createPoints(!0),!0)},getPointsByKeys:function(e){return this.getPointsByArg(e)},notify:function(e){const t=this,n=e.action,i=t._seriesModes,o=e.target,r=o.getOptions(),a=(0,s.normalizeEnum)(r.hoverMode),l=(0,s.normalizeEnum)(r.selectionMode);n===z?t._hoverPointHandler(o,a,e.notifyLegend):n===j?t._clearPointHoverHandler(o,a,e.notifyLegend):n===G?o!==t&&"single"===i.seriesSelectionMode&&t.clearSelection():n===Z?("single"===i.pointSelectionMode&&t.getPoints().some((function(e){return!(e===o||!e.isSelected())&&(t.deselectPoint(e),!0)})),t._selectPointHandler(o,l)):n===W&&t._deselectPointHandler(o,l)},_selectPointHandler:function(e,t){const n=this;t===H?e.series===n&&n._setPointsView(D,e):t===N&&n.getPointsByKeys(e.argument,e.argumentIndex).forEach((function(t){t!==e&&t.setView(D)}))},_deselectPointHandler:function(e,t){t===H?e.series===this&&this._resetPointsView(D,e):t===N&&this.getPointsByKeys(e.argument,e.argumentIndex).forEach((function(t){t!==e&&t.resetView(D)}))},_hoverPointHandler:function(e,t,n){const i=this;e.series!==i&&t===N?(i.getPointsByKeys(e.argument,e.argumentIndex).forEach((function(e){e.setView(O)})),n&&i._legendCallback(e)):t===H&&e.series===i&&i._setPointsView(O,e)},_clearPointHoverHandler:function(e,t,n){const i=this;t===N?(e.series!==i&&i.getPointsByKeys(e.argument,e.argumentIndex).forEach((function(e){e.resetView(O)})),n&&i._legendCallback(e)):t===H&&e.series===i&&i._resetPointsView(O,e)},_deletePoints:function(){const e=this;e._disposePoints(e._points),e._points=e._drawnPoints=null},_deleteTrackers:function(){const e=this;(0,r.each)(e._trackers||[],(function(e,t){t.remove()})),e._trackersGroup&&e._trackersGroup.dispose(),e._trackers=e._trackersGroup=null},dispose:function(){const e=this;e._deletePoints(),e._group.dispose(),e._labelsGroup&&e._labelsGroup.dispose(),e._errorBarGroup&&e._errorBarGroup.dispose(),e._deleteTrackers(),e._group=e._extGroups=e._markersGroup=e._elementsGroup=e._bordersGroup=e._labelsGroup=e._errorBarGroup=e._graphics=e._rangeData=e._renderer=e._styles=e._options=e._pointOptions=e._drawnPoints=e.pointsByArgument=e._segments=e._prevSeries=null},correctPosition:l.noop,drawTrackers:l.noop,getNeighborPoint:l.noop,areErrorBarsVisible:l.noop,_getColorId:l.noop,getMarginOptions:function(){return this._patchMarginOptions({percentStick:this.isFullStackedSeries()})},getColor:function(){return this.getLegendStyles().normal.fill},getOpacity:function(){return this._options.opacity},getStackName:function(){return this._stackName},getBarOverlapGroup:function(){return this._options.barOverlapGroup},getPointByCoord:function(e,t){const n=this.getNeighborPoint(e,t);return null!=n&&n.coordsIn(e,t)?n:null},getValueAxis:function(){return this._valueAxis},getArgumentAxis:function(){return this._argumentAxis},getMarkersGroup(){return this._markersGroup},getRenderer(){return this._renderer},removePointElements(){this._markersGroup&&((0,r.each)(this._points,((e,t)=>t.deleteMarker())),this._markersGroup.dispose(),this._markersGroup=null)},removeGraphicElements(){const e=this;e._elementsGroup&&(e._elementsGroup.dispose(),e._elementsGroup=null),(0,r.each)(e._graphics||[],((t,n)=>{e._removeElement(n)})),e._graphics=null},removeBordersGroup(){this._bordersGroup&&(this._bordersGroup.dispose(),this._bordersGroup=null)}};t.mixins=S.mixins},85526:function(e,t,n){t.chart=void 0;var i=n(85854),o=n(24008),r=n(46283),a=n(91449),s=n(52576),l=n(21274),c=n(17781);const u=i.chart.line,d=r.chart.area,h=a.chart.bar,f=a.polar.bar,p=s.extend,g=l.each,_=c.noop;(t.chart={}).bubble=p({},o.chart,{_calculateErrorBars:_,_getMainColor:h._getMainColor,_createPointStyles:h._createPointStyles,_updatePointsVisibility:h._updatePointsVisibility,_getOptionsForPoint:h._getOptionsForPoint,_applyMarkerClipRect:u._applyElementsClipRect,_parsePointStyle:f._parsePointStyle,_createLegendState:d._createLegendState,_getColorId:d._getColorId,_setMarkerGroupSettings:f._setMarkerGroupSettings,areErrorBarsVisible:_,_createErrorBarGroup:_,_checkData:function(e,t){return o.chart._checkData.call(this,e,t,{value:this.getValueFields()[0],size:this.getSizeField()})},_getPointDataSelector:function(e,t){const n=this.getSizeField(),i=o.chart._getPointDataSelector.call(this);return e=>{const t=i(e);return t.size=e[n],t}},_aggregators:{avg(e,t){let{data:n,intervalStart:i,intervalEnd:o}=e;if(!n.length)return;const r=t.getValueFields()[0],a=t.getSizeField(),s=n.reduce(((e,t)=>(e[0]+=t[r],e[1]+=t[a],e[2]++,e)),[0,0,0]);return{[r]:s[0]/s[2],[a]:s[1]/s[2],[t.getArgumentField()]:t._getIntervalCenter(i,o)}}},getValueFields:function(){return[this._options.valueField||"val"]},getSizeField:function(){return this._options.sizeField||"size"},_animate:function(){const e=this,t=e._drawnPoints.length-1,n=e._labelsGroup,i=function(){n&&n.animate({opacity:1},{duration:e._defaultDuration})};g(e._drawnPoints||[],(function(e,n){n.animate(e===t?i:void 0,{r:n.bubbleSize,translateX:n.x,translateY:n.y})}))},_patchMarginOptions:function(e){return e.processBubbleSize=!0,e}})},72259:function(e,t,n){t.stock=t.candlestick=void 0;var i=n(24008),o=n(91449),r=n(52576),a=n(11528),s=n(28779),l=n(17781);const c=o.chart.bar,u=t.stock=(0,r.extend)({},i.chart,{_animate:l.noop,_applyMarkerClipRect:function(e){e["clip-path"]=this._forceClipping?this._paneClipRectID:this._widePaneClipRectID},_updatePointsVisibility:c._updatePointsVisibility,_getOptionsForPoint:c._getOptionsForPoint,_createErrorBarGroup:l.noop,areErrorBarsVisible:l.noop,_createGroups:i.chart._createGroups,_setMarkerGroupSettings:function(){const e=this,t=e._markersGroup,n=e._createPointStyles(e._getMarkerGroupOptions()),i=(0,r.extend)(n.normal,{class:"default-markers"}),o=(0,r.extend)(n.positive.normal,{class:"default-positive-markers"}),a=(0,r.extend)(n.reduction.normal,{class:"reduction-markers"}),s=(0,r.extend)(n.reductionPositive.normal,{class:"reduction-positive-markers"}),l={class:"dxc-markers"};e._applyMarkerClipRect(l),t.attr(l),e._createGroup("defaultMarkersGroup",t,t,i),e._createGroup("reductionMarkersGroup",t,t,a),e._createGroup("defaultPositiveMarkersGroup",t,t,o),e._createGroup("reductionPositiveMarkersGroup",t,t,s)},_setGroupsSettings:function(){i.chart._setGroupsSettings.call(this,!1)},_getCreatingPointOptions:function(){const e=this;let t,n=e._predefinedPointOptions;return n||(t=this._getPointOptions(),e._predefinedPointOptions=n=(0,r.extend)(!0,{styles:{}},t),n.styles.normal=n.styles.positive.normal=n.styles.reduction.normal=n.styles.reductionPositive.normal={"stroke-width":t.styles&&t.styles.normal&&t.styles.normal["stroke-width"]}),n},_checkData:function(e,t){const n=this.getValueFields();return i.chart._checkData.call(this,e,t,{openValue:n[0],highValue:n[1],lowValue:n[2],closeValue:n[3]})&&e.highValue==e.highValue&&e.lowValue==e.lowValue},_getPointDataSelector:function(e,t){const n=this;let i;const o=n.getValueFields(),r=n.getArgumentField(),l=o[0],c=o[1],u=o[2],d=o[3];switch(n.level=n._options.reduction.level,(0,s.normalizeEnum)(n.level)){case"open":i=l;break;case"high":i=c;break;case"low":i=u;break;default:i=d,n.level="close"}let h;return e=>{const t=e[i];let o=!1;return(0,a.isDefined)(t)&&((0,a.isDefined)(h)&&(o=t<h),h=t),{argument:e[r],highValue:this._processEmptyValue(e[c]),lowValue:this._processEmptyValue(e[u]),closeValue:this._processEmptyValue(e[d]),openValue:this._processEmptyValue(e[l]),reductionValue:t,tag:e[n.getTagField()],isReduction:o,data:e}}},_parsePointStyle:function(e,t,n){const i=(0,s.extractColor)(e.color,!0);return{stroke:i||t,"stroke-width":e.width,fill:i||n}},_getDefaultStyle:function(e){const t=this,n=(0,s.extractColor)(e.color,!0)||t._options.mainSeriesColor;return{normal:t._parsePointStyle(e,n,n),hover:t._parsePointStyle(e.hoverStyle,n,n),selection:t._parsePointStyle(e.selectionStyle,n,n)}},_getReductionStyle:function(e){const t=this,n=e.reduction.color;return{normal:t._parsePointStyle({color:n,width:e.width,hatching:e.hatching},n,n),hover:t._parsePointStyle(e.hoverStyle,n,n),selection:t._parsePointStyle(e.selectionStyle,n,n)}},_createPointStyles:function(e){const t=this,n=t._options.innerColor,i=t._getDefaultStyle(e),o=(0,r.extend)(!0,{},i),a=t._getReductionStyle(e),s=(0,r.extend)(!0,{},a);return o.normal.fill=o.hover.fill=o.selection.fill=n,s.normal.fill=s.hover.fill=s.selection.fill=n,i.positive=o,i.reduction=a,i.reductionPositive=s,i.labelColor=t._options.mainSeriesColor,i},_endUpdateData:function(){delete this._predefinedPointOptions},_defaultAggregator:"ohlc",_aggregators:{ohlc:(e,t)=>{let{intervalStart:n,intervalEnd:i,data:o}=e;if(!o.length)return;let r={};const a=t.getValueFields(),s=a[1],l=a[2];return r[s]=-1/0,r[l]=1/0,r=o.reduce((function(e,t){return null!==t[s]&&(e[s]=Math.max(e[s],t[s])),null!==t[l]&&(e[l]=Math.min(e[l],t[l])),e}),r),r[a[0]]=o[0][a[0]],r[a[3]]=o[o.length-1][a[3]],isFinite(r[s])||(r[s]=null),isFinite(r[l])||(r[l]=null),r[t.getArgumentField()]=t._getIntervalCenter(n,i),r}},getValueFields:function(){const e=this._options;return[e.openValueField||"open",e.highValueField||"high",e.lowValueField||"low",e.closeValueField||"close"]},getArgumentField:function(){return this._options.argumentField||"date"},_patchMarginOptions:function(e){const t=this._getCreatingPointOptions().styles,n=[t.normal,t.hover,t.selection].reduce((function(e,t){return Math.max(e,t["stroke-width"])}),0);return e.size=10+n,e.sizePointNormalState=10,e},getSeriesPairCoord(e,t){let n=null;const i=this.getVisiblePoints();for(let o=0;o<i.length;o++){const r=i[o];let a;if(t)a=r.vx===e?(r.openY+r.closeY)/2:void 0;else{const t=[Math.min(r.lowY,r.highY),Math.max(r.lowY,r.highY)];a=e>=t[0]&&e<=t[1]?r.vx:void 0}if(this._checkAxisVisibleAreaCoord(!t,a)){n=a;break}}return n},usePointsToDefineAutoHiding:()=>!1});t.candlestick=(0,r.extend)({},u,{_parsePointStyle:function(e,t,n){const i=(0,s.extractColor)(e.color,!0)||n,o=u._parsePointStyle.call(this,e,t,i);return o.fill=i,o.hatching=e.hatching,o}})},82e3:function(e,t,n){t.processDisplayFormat=function(e,t){let n=e,i=!0;for(;i;){const e=n.indexOf(o),a=n.indexOf(r);if(e>=0&&a>0){const i=s(n.substring(e+1,a),t);n=n.substr(0,e)+i+n.substr(a+1)}else i=!1}return n};var i=n(49077);const o="{",r="}",a=":";function s(e,t){let n="";const o=e.indexOf(a);return o>0&&(n=e.substr(o+1),e=e.substr(0,o)),function(e,t){if(t){if(e instanceof Date)return(0,i.formatDate)(e,t);if("number"==typeof e)return(0,i.formatNumber)(e,t)}return e}(t[e],n)}},34685:function(e,t,n){t.default=void 0;var i=n(28779),o=n(11528),r=n(17781);const a="discrete",{abs:s,floor:l,ceil:c,min:u}=Math;function d(e,t,n){e.min=e.min<t?e.min:t,e.max=e.max>n?e.max:n}function h(e,t){if("logarithmic"!==e)return null;const n=t.getOptions().logarithmBase;return e=>{const t=(0,i.getLog)(s(e),n);return(t<0?l:c)(t)}}function f(e,t,n){let i=d;return e===a?i=function(e,t,n){t!==n&&e.categories.push(n),e.categories.push(t)}:t&&(i=function(e,n){const i=t.calculateInterval(n,e.prevValue),o=e.interval;e.interval=(o<i?o:i)||o,e.prevValue=n,d(e,n,n)}),n?(e,t,o)=>{const r=[];i(e,t,o),0!==t&&r.push(n(t)),0!==o&&r.push(n(o));const a=u.apply(null,r);e.linearThreshold=e.linearThreshold<a?e.linearThreshold:a}:i}function p(e,t,n){const i={axisType:e,dataType:t};return e===a?i.categories=[]:(i.min=(0,o.isObject)(n)?n.min:n,i.max=(0,o.isObject)(n)?n.max:n),i}function g(e){return e.categories&&(e.categories=(0,i.unique)(e.categories)),e}function _(e,t,n,i,r){const a=function(e,t,n,i){if(t&&(0,o.isDefined)(t.value)){const o=e.value,r=t.value,a=e.argument,s=(n-a)*(r-o)/(t.argument-a)+o.valueOf();return"datetime"===i.dataType?new Date(s):s}return e.value}(n,i,r,t);e(t,a,a)}function m(e){return e.type.toLowerCase().indexOf("line")>=0||e.type.toLowerCase().indexOf("area")>=0}function v(e){const t=f(e.valueAxisType),n=e.getArgumentAxis(),a=n&&e.getArgumentAxis().visualRange()||{},s=m(e)?_:r.noop;if(n&&n.getMarginOptions().checkInterval){const t=e.getArgumentAxis().getTranslator().getBusinessRange(),n=(0,i.getAddFunction)(t,!1),r=t.interval;isFinite(r)&&(0,o.isDefined)(a.startValue)&&(0,o.isDefined)(a.endValue)&&(a.startValue=n(a.startValue,r,-1),a.endValue=n(a.endValue,r))}const l=b(a);return function(e,n,i,r){const c=n.argument;return n.hasValue()?(l(c)?(e.startCalc||(e.startCalc=!0,s(t,e,n,r[i-1],a.startValue)),t(e,n.getMinValue(),n.getMaxValue())):!a.categories&&(0,o.isDefined)(a.startValue)&&c>a.startValue&&(e.startCalc||s(t,e,n,r[i-1],a.startValue),e.endCalc=!0,s(t,e,n,r[i-1],a.endValue)),e):e}}function b(e){if(e.categories){const t=e.categories.reduce(((e,t)=>(e[t.valueOf()]=!0,e)),{});return e=>(0,o.isDefined)(e)&&t[e.valueOf()]}return(0,o.isDefined)(e.startValue)||(0,o.isDefined)(e.endValue)?(0,o.isDefined)(e.endValue)?(0,o.isDefined)(e.startValue)?t=>t>=e.startValue&&t<=e.endValue:t=>t<=e.endValue:t=>t>=e.startValue:()=>!0}t.default={getViewPortFilter:b,getArgumentRange:function(e){const t=e._data||[];let n={};if(t.length)if(e.argumentAxisType===a)n={categories:t.map((e=>e.argument))};else{let i;if(t.length>1){const n=e.getArgumentAxis().calculateInterval(t[0].argument,t[1].argument),o=e.getArgumentAxis().calculateInterval(t[t.length-1].argument,t[t.length-2].argument);i=u(n,o)}n={min:t[0].argument,max:t[t.length-1].argument,interval:i}}return g(n)},getRangeData:function(e){const t=e.getPoints(),n=e.useAggregation(),i=e.getArgumentAxis(),r=f(e.argumentAxisType,t.length>1&&i,h(e.argumentAxisType,i)),s=f(e.valueAxisType,null,h(e.valueAxisType,e.getValueAxis())),l=v(e),c=t.reduce((function(e,t,n,i){const o=t.argument;return t.isArgumentCorrect()?(r(e.arg,o,o),t.hasValue()&&(s(e.val,t.getMinValue(),t.getMaxValue()),l(e.viewport,t,n,i)),e):e}),{arg:p(e.argumentAxisType,e.argumentType,null!=i&&i.aggregatedPointBetweenTicks()?void 0:e.getArgumentRangeInitialValue()),val:p(e.valueAxisType,e.valueType,t.length?e.getValueRangeInitialValue():void 0),viewport:p(e.valueAxisType,e.valueType,t.length?e.getValueRangeInitialValue():void 0)});if(n){const t=this.getArgumentRange(e);if(e.argumentAxisType===a)c.arg=t;else{const e=i.getViewport();((0,o.isDefined)(e.startValue)||(0,o.isDefined)(e.length))&&r(c.arg,t.min,t.min),((0,o.isDefined)(e.endValue)||(0,o.isDefined)(e.length)&&(0,o.isDefined)(e.startValue))&&r(c.arg,t.max,t.max)}}return g(c.arg),g(c.val),c},getViewport:function(e){const t=e.getPoints();let n={};const i=v(e);return n=p(e.valueAxisType,e.valueType,t.length?e.getValueRangeInitialValue():void 0),t.some((function(e,o){return i(n,e,o,t),n.endCalc})),n},getPointsInViewPort:function(e){const t=b(e.getArgumentAxis().visualRange()||{}),n=e.getValueAxis().visualRange()||{},i=b(n),o=e.getPoints(),a=function(e,t,o){const r=t.getMinValue(),a=t.getMaxValue(),s=i(r),l=i(a);s&&e.push(r),a!==r&&l&&e.push(a),!o||s||l||(e.length?e.push(n.endValue):e.push(n.startValue))},s=m(e)?function(e,n,i){const o=n[i],r=n[i-1],s=n[i+1];s&&t(s.argument)&&a(e[1],o,!0),r&&t(r.argument)&&a(e[1],o,!0)}:r.noop;return o.reduce((function(e,n,i){return t(n.argument)?a(e[0],n):s(e,o,i),e}),[[],[]])}};e.exports=t.default,e.exports.default=t.default},85854:function(e,t,n){t.polar=t.chart=void 0;var i=n(24008),o=n(22263),r=n(52576),a=n(21274),s=n(28779),l=n(50254);const c="discrete",{round:u,sqrt:d,pow:h,min:f,max:p,abs:g}=Math,_=t.chart={},m=t.polar={};function v(e,t,n,i){const r=(0,o.clone)(e);return r.x=t,r.y=n,r.angle=i,r}function b(e,t,n,i,o){const r=e.angle+o,a=(0,s.getCosAndSin)(r);return v(t,n.x+(e.radius+i*o)*a.cos,n.y-(e.radius+i*o)*a.sin,r)}function y(e,t,n,i,o){const r=t-e,a=3*n-3*t,s=3*i-6*n+3*t,c=o-3*i+3*n-t;return(0,l.solveCubicEquation)(c,s,a,r)}const x={autoHidePointMarkersEnabled:()=>!0,_applyGroupSettings:function(e,t,n){t=(0,r.extend)(t,e),this._applyElementsClipRect(t),n.attr(t)},_setGroupsSettings:function(e){const t=this,n=t._styles.normal;t._applyGroupSettings(n.elements,{class:"dxc-elements"},t._elementsGroup),t._bordersGroup&&t._applyGroupSettings(n.border,{class:"dxc-borders"},t._bordersGroup),i.chart._setGroupsSettings.call(t,e),e&&t._markersGroup&&t._markersGroup.attr({opacity:.001})},_createGroups:function(){const e=this;e._createGroup("_elementsGroup",e,e._group),e._areBordersVisible()&&e._createGroup("_bordersGroup",e,e._group),i.chart._createGroups.call(e)},_areBordersVisible:function(){return!1},_getDefaultSegment:function(e){return{line:(0,s.map)(e.line||[],(function(e){return e.getDefaultCoords()}))}},_prepareSegment:function(e){return{line:e}},_parseLineOptions:function(e,t){return{stroke:(0,s.extractColor)(e.color,!0)||t,"stroke-width":e.width,dashStyle:e.dashStyle||"solid"}},_parseStyle:function(e,t){return{elements:this._parseLineOptions(e,t)}},_applyStyle:function(e){const t=this;t._elementsGroup&&t._elementsGroup.attr(e.elements),(0,a.each)(t._graphics||[],(function(t,n){n.line&&n.line.attr({"stroke-width":e.elements["stroke-width"]}).sharp()}))},_drawElement:function(e,t){return{line:this._createMainElement(e.line,{"stroke-width":this._styles.normal.elements["stroke-width"]}).append(t)}},_removeElement:function(e){e.line.remove()},_updateElement:function(e,t,n,i){const o={points:t.line},r=e.line;n?r.animate(o,{},i):r.attr(o)},_animateComplete:function(){const e=this;i.chart._animateComplete.call(e),e._markersGroup&&e._markersGroup.animate({opacity:1},{duration:e._defaultDuration})},_animate:function(){const e=this,t=e._graphics.length-1;(0,a.each)(e._graphics||[],(function(n,i){let o;n===t&&(o=function(){e._animateComplete()}),e._updateElement(i,e._segments[n],!0,o)}))},_drawPoint:function(e){i.chart._drawPoint.call(this,{point:e.point,groups:e.groups})},_createMainElement:function(e,t){return this._renderer.path(e,"line").attr(t)},_sortPoints:function(e,t){return t?e.sort((function(e,t){return t.y-e.y})):e.sort((function(e,t){return e.x-t.x}))},_drawSegment:function(e,t,n,i){const o=this,r=o._options.rotated,a=o._prepareSegment(e,r,i);o._segments.push(a),o._graphics[n]?t||o._updateElement(o._graphics[n],a):o._graphics[n]=o._drawElement(t?o._getDefaultSegment(a):a,o._elementsGroup)},_getTrackerSettings:function(){const e=this._defaultTrackerWidth,t=this._styles.normal.elements["stroke-width"];return{"stroke-width":t>e?t:e,fill:"none"}},_getMainPointsFromSegment:function(e){return e.line},_drawTrackerElement:function(e){return this._createMainElement(this._getMainPointsFromSegment(e),this._getTrackerSettings(e))},_updateTrackerElement:function(e,t){const n=this._getTrackerSettings(e);n.points=this._getMainPointsFromSegment(e),t.attr(n)},checkSeriesViewportCoord(e,t){if(!i.chart.checkSeriesViewportCoord.call(this))return!1;const n=e.isArgumentAxis?this.getArgumentRange():this.getViewport(),o=e.getTranslator().translate(n.categories?n.categories[0]:n.min),r=e.getTranslator().translate(n.categories?n.categories[n.categories.length-1]:n.max),a=this.getOptions().rotated,s=e.getOptions().inverted;return e.isArgumentAxis&&(!a&&!s||a&&s)||!e.isArgumentAxis&&(a&&!s||!a&&s)?t>=o&&t<=r:t>=r&&t<=o}},C=_.line=(0,r.extend)({},i.chart,x,{getPointCenterByArg(e){const t=this.getArgumentAxis().getTranslator().translate(e);return{x:t,y:t}},getSeriesPairCoord(e,t){let n=null;const i=this._getNearestPointsByCoord(e,t),o=t&&!this._options.rotated||!t&&this._options.rotated;for(let r=0;r<i.length;r++){const a=i[r],s=(a[1].vy-a[0].vy)/(a[1].vx-a[0].vx),l=a[0].vy-a[0].vx*s;let c;if(c=a[1].vx-a[0].vx==0?o?a[0].vy:a[0].vx:o?s*e+l:(e-l)/s,this._checkAxisVisibleAreaCoord(!t,c)){n=c;break}}return n}});_.stepline=(0,r.extend)({},C,{_calculateStepLinePoints(e){const t=[],n=this._options.rotated?"x":"y";return(0,a.each)(e,(function(e,i){let r;if(!e)return void t.push(i);const a=t[t.length-1][n];a!==i[n]&&(r=(0,o.clone)(i),r[n]=a,t.push(r)),t.push(i)})),t},_prepareSegment:function(e){return C._prepareSegment(this._calculateStepLinePoints(e))},getSeriesPairCoord(e,t){let n;const i=this._options.rotated,o=!t&&!i||t&&i,r=o?"vy":"vx",a=o?"vx":"vy",s=this._getNearestPointsByCoord(e,t);for(let i=0;i<s.length;i++){const o=s[i];let l;if(l=t?e!==o[1][r]?o[0][a]:o[1][a]:e===o[0][r]?o[0][a]:o[1][a],this._checkAxisVisibleAreaCoord(!t,l)){n=l;break}}return n}}),_.spline=(0,r.extend)({},C,{_calculateBezierPoints:function(e,t){const n=[],i=e,o=function(e,t,n){return e>t&&n>e||e<t&&n<e?e:n};return 1!==i.length?i.forEach((function(e,r){let a,s,l,c;const u=i[r-1],d=i[r+1];let h,f,p,g;const _=.5;let m,b,y,x,C,S;if(!r||r===i.length-1)return void n.push(e,e);const w=e.x,E=e.y;h=u.x,f=d.x,p=u.y,g=d.y;if(!!(!t&&(E<=u.y&&E<=d.y||E>=u.y&&E>=d.y)||t&&(w<=u.x&&w<=d.x||w>=u.x&&w>=d.x)))t?(l=a=w,c=(E+d.y)/2,s=(E+u.y)/2):(c=s=E,l=(w+d.x)/2,a=(w+u.x)/2);else{if(m=g-p,b=h-f,y=p*f-h*g,t){if(!m)return void n.push(e,e,e);C=E,x=-1*(b*C+y)/m,S=x-w,h-=S,f-=S}else{if(!b)return void n.push(e,e,e);x=w,C=-1*(m*x+y)/b,S=C-E,p-=S,g-=S}l=(w+_*f)/1.5,c=(E+_*g)/1.5,a=(w+_*h)/1.5,s=(E+_*p)/1.5}t?(a=o(u.x,w,a),l=o(d.x,w,l)):(s=o(u.y,E,s),c=o(d.y,E,c));const T=v(e,a,s),A=v(e,l,c);n.push(T,e,A)})):n.push(i[0]),n},_prepareSegment:function(e,t){return C._prepareSegment(this._calculateBezierPoints(e,t))},_createMainElement:function(e,t){return this._renderer.path(e,"bezier").attr(t)},getSeriesPairCoord(e,t){let n=null;const i=!t&&!this._options.rotated||t&&this._options.rotated,o=i?"vy":"vx",r=i?"y":"x",a=i?"vx":"vy",s=i?"x":"y",l=(t?this.getValueAxis():this.getArgumentAxis()).getVisibleArea(),c=this._getNearestPointsByCoord(e,t);for(let t=0;t<c.length;t++){const i=c[t];if(1===i.length)l[0]<=i[0][a]&&l[1]>=i[0][a]&&(n=i[0][a]);else{y(e,i[0][o],i[1][r],i[2][r],i[3][o]).forEach((e=>{if(e>=0&&e<=1){const t=Math.pow(1-e,3)*i[0][a]+3*Math.pow(1-e,2)*e*i[1][s]+3*(1-e)*e*e*i[2][s]+e*e*e*i[3][a];l[0]<=t&&l[1]>=t&&(n=t)}}))}if(null!==n)break}return n},_getNearestPoints(e,t,n){const i=n.indexOf(e);return[e,n[i+1],n[i+2],t]},_getBezierPoints(){return this._segments.length>0?this._segments.reduce(((e,t)=>e.concat(t.line)),[]):[]}}),m.line=(0,r.extend)({},i.polar,x,{_sortPoints:function(e){return e},_prepareSegment:function(e,t,n){let i=[];const o=this.getValueAxis().getCenter();let r;if(n&&this._closeSegment(e),this.argumentAxisType===c||this.valueAxisType===c)return C._prepareSegment.call(this,e);for(r=1;r<e.length;r++)i=i.concat(this._getTangentPoints(e[r],e[r-1],o,r===e.length-1));return i.length||(i=e),{line:i}},_getRemainingAngle:function(e){const t=(0,s.normalizeAngle)(e);return e>=0?360-t:-t},_closeSegment(e){const t=this._segments.length?this._segments[0].line[0]:e[0];let n=v(t,t.x,t.y,t.angle);n=this._modifyReflectedPoint(n,e.at(-1)),n&&e.push(n)},_modifyReflectedPoint(e,t){if(t.angle!==e.angle){if((0,s.normalizeAngle)(u(t.angle))===(0,s.normalizeAngle)(u(e.angle)))e.angle=t.angle;else{const n=t.angle-e.angle;e.angle=t.angle+this._getRemainingAngle(n)}return e}},_getTangentPoints:function(e,t,n,i){let o=[];const r=Math.round(t.angle-e.angle),a=(t.radius-e.radius)/r;let s;if(0===r)o=[t,e];else if(r>0){for(s=i?r:r-1;s>=0;s--)o.push(b(e,t,n,a,s))}else{const l=i?r:r+1;for(s=0;s>=l;s--)o.push(b(e,t,n,a,r-s))}return o},getSeriesPairCoord(e,t){const n=this,i=n.getArgumentAxis(),o=t?"angle":"radius",r=e[o],a=i.getCenter(),u=(e,t,n)=>{let{x:o,y:r}=n;return d(h((s={x:o,y:r}).x-(l=a).x,2)+h(s.y-l.y,2))<=i.getRadius()&&f(e.x,t.x)<=o&&p(e.x,t.x)>=o&&f(e.y,t.y)<=r&&p(e.y,t.y)>=r;var s,l};let _;const m=n.getNeighborPoints(r,o);if(1===m.length)_=m[0];else if(m.length>1){const e=m[0],i=m[1];if(n.argumentAxisType!==c&&n.valueAxisType!==c){let n,o;t?(n=(e.radius-i.radius)/(e.angle-i.angle),o=r-i.angle):(n=(e.radius-i.radius)/(e.angle-i.angle),o=(r-i.radius)/n),_=b(i,e,a,n,o)}else if(t){const t=(0,s.getCosAndSin)(-r),n=(i.y-e.y)/(i.x-e.x),o=e.y-e.x*n,c=t.sin/t.cos,d=(a.y-c*a.x-o)/(n-c),h=n*d+o;if(u(e,i,{x:d,y:h})){const e=g((0,l.trunc)((360+r)/90)%4);(0===e&&d>=a.x&&h<=a.y||1===e&&d<=a.x&&h<=a.y||2===e&&d<=a.x&&h>=a.y||3===e&&d>=a.x&&h>=a.y)&&(_={x:d,y:h})}}else{const t=(i.y-e.y)/(i.x-e.x),n=e.y-e.x*t,o=1+t*t,s=-2*a.x+2*t*n-2*t*a.y,l=s*s-4*o*(-h(r,2)+h(n-a.y,2)+h(a.x,2));if(l>=0){const r=(-s-d(l))/(2*o),a=(-s+d(l))/(2*o),c=t*r+n,h=t*a+n;_=u(e,i,{x:r,y:c})?{x:r,y:c}:u(e,i,{x:a,y:h})?{x:a,y:h}:void 0}}}return _},getNeighborPoints(e,t){let n=this.getPoints();const i=[];if(this.getOptions().closed){n=(0,r.extend)(!0,[],n);const e=n[n.length-1],t=v(n[0],n[0].x,n[0].y,n[0].angle),i=v(e,e.x,e.y,e.angle),o=this._modifyReflectedPoint(t,e),a=this._modifyReflectedPoint(i,n[0]);a&&n.unshift(a),o&&n.push(o)}for(let o=1;o<n.length&&(n[o-1][t]===e?i.push(n[o-1]):n[o][t]===e?i.push(n[o]):(n[o][t]>e&&n[o-1][t]<e||n[o-1][t]>e&&n[o][t]<e)&&(i.push(n[o-1]),i.push(n[o])),!(i.length>0));o++);return i}})},64708:function(e,t,n){t.pie=t.doughnut=t.donut=void 0;var i=n(17781),o=n(21274),r=n(24008),a=n(28779),s=n(52576),l=n(91449);const c=r.chart,u=l.chart.bar,d=s.extend,h=o.each,f=i.noop,p=a.map,g=isFinite,_=Math.max,m=t.pie=d({},u,{_setGroupsSettings:function(){c._setGroupsSettings.apply(this,arguments),this._labelsGroup.attr({"pointer-events":null})},_createErrorBarGroup:f,_drawPoint:function(e){const t=e.point,n=this._legendCallback;c._drawPoint.call(this,e),!t.isVisible()&&t.setInvisibility(),t.isSelected()&&n()},_getOldPoint:function(e,t,n){const i=(this._points||[])[n];return i&&(t[i.argument.valueOf()]=t[i.argument.valueOf()].filter((e=>e!==i))),i},adjustLabels:function(e){return(this._points||[]).reduce(((t,n)=>{if(n._label.isVisible())return n.setLabelTrackerData(),t=n.applyWordWrap(e)||t,n.updateLabelCoord(e),t}),!1)},_applyElementsClipRect:f,getColor:f,areErrorBarsVisible:f,drawLabelsWOPoints:function(){const e=this;return"inside"!==e._options.label.position&&(e._labelsGroup.append(e._extGroups.labelsGroup),(e._points||[]).forEach((function(e){e.drawLabel()})),!0)},getPointsCount:function(){return this._data.filter((e=>this._checkData(e))).length},setMaxPointsCount:function(e){this._pointsCount=e},_getCreatingPointOptions:function(e,t){return this._getPointOptions(e,t)},_updateOptions:function(e){this.labelSpace=0,this.innerRadius="pie"===this.type?0:e.innerRadius},_checkData:function(e,t){const n=u._checkData.call(this,e,t,{value:this.getValueFields()[0]});return this._options.paintNullPoints?n:n&&null!==e.value},_createGroups:c._createGroups,_setMarkerGroupSettings:function(){this._markersGroup.attr({class:"dxc-markers"})},_getMainColor(e,t){const n=this.getPointsByArg(e.argument),i=t?n.indexOf(t):n.length;return this._options.mainSeriesColor(e.argument,i,this._pointsCount)},_getPointOptions:function(e){return this._parsePointOptions(this._preparePointOptions(),this._options.label,e)},_getRangeData:function(){return this._rangeData},_createPointStyles:function(e,t,n){var i;const o=this,r=(0,a.extractColor)(e.color,!0)||o._getMainColor(t,n),s=null===(i=e.color)||void 0===i?void 0:i.fillId,l=e.hoverStyle||{},c=e.selectionStyle||{};return s&&o._turnOffHatching(l,c),{labelColor:r,normal:o._parsePointStyle(e,r,r),hover:o._parsePointStyle(l,s||r,r),selection:o._parsePointStyle(c,s||r,r),legendStyles:{normal:o._createLegendState(e,r),hover:o._createLegendState(l,s||r),selection:o._createLegendState(c,s||r)}}},_getArrangeMinShownValue:function(e,t){const n=this._options.minSegmentSize;let i=0,o=0;return t=t||e.length,h(e,(function(e,r){r.isVisible()&&(r.normalInitialValue<n*t/360?i+=n:o+=r.normalInitialValue)})),i<360?n*o/(360-i):0},_applyArrangeCorrection:function(e,t,n){const i=this._options,o="anticlockwise"!==i.segmentsDirection,r=g(i.startAngle)?(0,a.normalizeAngle)(i.startAngle):0,s=i.minSegmentSize;let l,c=0,u=0;0===n&&(n=e.filter((function(e){return e.isVisible()})).length,u=1),h(o?e:e.concat([]).reverse(),(function(e,i){const o=i.isVisible()?u||i.normalInitialValue:0;let a;s&&i.isVisible()&&o<t&&(a=t),l=o/n,i.correctValue(c,l,u+(a||0)),i.shiftedAngle=r,c+=a||o})),this._rangeData={val:{min:0,max:c}}},_removePoint:function(e){const t=this.getPointsByArg(e.argument);t.splice(t.indexOf(e),1),e.dispose()},arrangePoints:function(){const e=this,t=e._points||[],n=e._options.minSegmentSize;let i,o=!0,r=0;const a=t.length;for(;r<a&&o;)o=t[r].value<=0,r++;const s=e._points=p(t,(function(t){return null===t.value||!o&&t.value<0?(e._removePoint(t),null):t})),l=s.reduce((function(e,t){return _(e,Math.abs(t.initialValue))}),0);s.forEach((function(e){e.normalInitialValue=e.initialValue/(0!==l?l:1)}));const c=s.reduce((function(e,t){return e+(t.isVisible()?t.normalInitialValue:0)}),0);n&&(i=this._getArrangeMinShownValue(s,c)),e._applyArrangeCorrection(s,i,c)},correctPosition:function(e,t){h(this._points,(function(t,n){n.correctPosition(e)})),this.setVisibleArea(t)},correctRadius:function(e){this._points.forEach((function(t){t.correctRadius(e)}))},correctLabelRadius:function(e){this._points.forEach((function(t){t.correctLabelRadius(e)}))},setVisibleArea:function(e){this._visibleArea={minX:e.left,maxX:e.width-e.right,minY:e.top,maxY:e.height-e.bottom}},_applyVisibleArea:f,_animate:function(e){const t=this,n=t._points,i=n&&n.length,o=function(){t._animateComplete()};let r;r=e?function(e,t){e.animate(t===i-1?o:void 0,.7,(1-.7)*t/(i-1))}:function(e,t){e.animate(t===i-1?o:void 0)},n.forEach(r)},getVisiblePoints:function(){return p(this._points,(function(e){return e.isVisible()?e:null}))},getPointsByKeys:function(e,t){const n=this.getPointsByArg(e);return n[t]&&[n[t]]||[]}});t.doughnut=m,t.donut=m},39678:function(e,t,n){t.default=void 0;var i,o=n(52576),r=(i=n(27589))&&i.__esModule?i:{default:i};const a=o.extend,s=Math,l=s.floor,c=s.abs,u="right",d="top";function h(e){const t=e.initialValue,n=e._getValTranslator().getBusinessRange().invert,i="discrete"===e.series.valueAxisType,o=e.series.isFullStackedSeries();return!i&&(t>=0&&!n||t<0&&n)||i&&!n||o?d:"bottom"}t.default=a({},r.default,{correctCoordinates(e){const t=this,n=l(e.offset-e.width/2);t._options.rotated?(t.height=e.width,t.yCorrection=n,t.xCorrection=null):(t.width=e.width,t.xCorrection=n,t.yCorrection=null)},_calculateVisibility:function(e,t,n,i){const{minX:o,maxX:r,minY:a,maxY:s}=this._getVisibleArea();this.inVisibleArea=o<=e+n&&r>=e&&a<=t+i&&s>=t},_cacheVisibility:function(e,t,n,i){const o=Math.abs(t-n);t=Math.min(t,n),i?this._calculateVisibility(t,e,o,this.height):this._calculateVisibility(e,t,this.width,o)},_getGraphicBBox:function(e){const t={x:this.x,y:this.y,width:this.width,height:this.height};if(e){const n="top"===e;this._options.rotated?(t.x=n?t.x+t.width:t.x,t.width=0):(t.y=n?t.y:t.y+t.height,t.height=0)}return t},_getLabelConnector:function(e){return this._getGraphicBBox(e)},_getLabelPosition:function(){let e=h(this);return this._options.rotated&&(e=e===d?u:"left"),e},_getLabelCoords:function(e){const t=this;let n;return n=0===t.initialValue&&t.series.isFullStackedSeries()?this._options.rotated?t._getLabelCoordOfPosition(e,u):t._getLabelCoordOfPosition(e,d):"inside"===e.getLayoutOptions().position?t._getLabelCoordOfPosition(e,"inside"):r.default._getLabelCoords.call(this,e),n},_drawLabel:function(){this._label.pointPosition="inside"!==this._label.getLayoutOptions().position&&h(this),r.default._drawLabel.call(this)},hideInsideLabel:function(e,t){const n=this._getGraphicBBox(),i=e.getBoundingRect();return!(!this._options.resolveLabelsOverlapping||!(t.y<=n.y&&t.y+i.height>=n.y+n.height||t.x<=n.x&&t.x+i.width>=n.x+n.width)||t.y>n.y+n.height||t.y+i.height<n.y||t.x>n.x+n.width||t.x+i.width<n.x)&&(e.draw(!1),!0)},_showForZeroValues:function(){return this._options.label.showForZeroValues||this.initialValue},_drawMarker(e,t,n){const i=this,o=i._getStyle(),r=i._options.cornerRadius,a=i._options.rotated;let{x:s,y:l,width:c,height:u}=i.getMarkerCoords();n&&(a?(c=0,s=i.defaultX):(u=0,l=i.defaultY)),i.graphic=e.rect(s,l,c,u).attr({rx:r,ry:r}).smartAttr(o).data({"chart-data-point":i}).append(t)},_getSettingsForTracker:function(){const e=this;let t=e.y,n=e.height,i=e.x,o=e.width;return e._options.rotated?1===o&&(o=9,i-=4):1===n&&(n=9,t-=4),{x:i,y:t,width:o,height:n}},getGraphicSettings:function(){const e=this.graphic;return{x:e.attr("x"),y:e.attr("y"),height:e.attr("height"),width:e.attr("width")}},_getEdgeTooltipParams(){const e=this.value>=0;let t,n;const i=this._getValTranslator().getBusinessRange().invert,{x:o,y:r,width:a,height:s}=this;return this._options.rotated?(n=r+s/2,t=i?e?o:o+a:e?o+a:o):(t=o+a/2,n=i?e?r+s:r:e?r:r+s),{x:t,y:n,offset:0}},getTooltipParams:function(e){if("edge"===e)return this._getEdgeTooltipParams();const t=this.getCenterCoord();return t.offset=0,t},getCenterCoord(){const{width:e,height:t,x:n,y:i}=this;return{x:n+e/2,y:i+t/2}},_truncateCoord:function(e,t){return null===e?e:e<t[0]?t[0]:e>t[1]?t[1]:e},_getErrorBarBaseEdgeLength(){return this._options.rotated?this.height:this.width},_translateErrorBars:function(e){r.default._translateErrorBars.call(this),(this._errorBarPos<e[0]||this._errorBarPos>e[1])&&(this._errorBarPos=void 0)},_translate:function(){const e=this,t=e._options.rotated,n=t?"x":"y",i=t?"y":"x",o=t?"width":"height",r=t?"height":"width",a=e._getArgTranslator(),s=e._getValTranslator(),l=e.series.getArgumentAxis().getVisibleArea(),u=e.series.getValueAxis().getVisibleArea();let d=a.translate(e.argument),h=s.translate(e.value,1),f=s.translate(e.minValue,-1);e[i]=d=null===d?d:d+(e[i+"Correction"]||0),e["v"+n]=h,e["v"+i]=d+e[r]/2,this._cacheVisibility(d,h,f,t),h=e._truncateCoord(h,u),f=e._truncateCoord(f,u),e[o]=c(h-f),h=h<f?h:f,e[n]=null===h?h:h+(e[n+"Correction"]||0),e["min"+n.toUpperCase()]=null===f?f:f+(e[n+"Correction"]||0),e["default"+n.toUpperCase()]=s.translate("canvas_position_default"),e._translateErrorBars(l),e.inVisibleArea&&null!==e[i]&&(e[i]<l[0]&&(e[r]=e[r]-(l[0]-e[i]),e[i]=l[0]),e[i]+e[r]>l[1]&&(e[r]=l[1]-e[i]))},_updateMarker:function(e,t){this.graphic.smartAttr(a({},t,e?{}:this.getMarkerCoords()))},getMarkerCoords:function(){const e=this;let t=e.x;const n=e.y;let i=e.width,o=e.height;const r=e.series.getArgumentAxis(),a=e._options.rotated;if(r.getAxisPosition){const n=r.getOptions(),s=Math.round(n.width/2),l=r.getAxisPosition();if(n.visible)if(a){const n=e.minX===e.defaultX&&e.minX===l-r.getAxisShift();t+=n?s:0,i-=n?s:0,i<0&&(i=0)}else o-=e.minY===e.defaultY&&e.minY===l-r.getAxisShift()?s:0,o<0&&(o=0)}return{x:t,y:n,width:i,height:o}},coordsIn:function(e,t){const n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}});e.exports=t.default,e.exports.default=t.default},31656:function(e,t,n){t.Point=R;var i=m(n(7377)),o=m(n(27589)),r=m(n(39678)),a=m(n(49787)),s=m(n(78641)),l=m(n(66779)),c=m(n(81660)),u=m(n(95208)),d=m(n(14185)),h=n(9619),f=n(28779),p=n(52576),g=n(11528),_=n(17781);function m(e){return e&&e.__esModule?e:{default:e}}const v={},b=p.extend,y=i.default.states,x="symbolPoint",C="polarSymbolPoint",S="barPoint",w="polarBarPoint",E="piePoint",T=y.selectedMark,A=y.hoverMark,O=y.normalMark,k=y.hover,D=y.normal,L=y.selection,P={chart:{scatter:x,line:x,spline:x,stepline:x,stackedline:x,fullstackedline:x,stackedspline:x,fullstackedspline:x,stackedsplinearea:x,fullstackedsplinearea:x,area:x,splinearea:x,steparea:x,stackedarea:x,fullstackedarea:x,rangearea:"rangeSymbolPoint",bar:S,stackedbar:S,fullstackedbar:S,rangebar:"rangeBarPoint",bubble:"bubblePoint",stock:"stockPoint",candlestick:"candlestickPoint"},pie:{pie:E,doughnut:E,donut:E},polar:{scatter:C,line:C,area:C,bar:w,stackedbar:w}};function M(e){return"none"===(0,f.normalizeEnum)(e)}function R(e,t,n){this.fullState=O,this.series=e,this.update(t,n),this._viewCounters={hover:0,selection:0},this._emptySettings={fill:null,stroke:null,dashStyle:null,filter:null}}v.symbolPoint=o.default,v.barPoint=r.default,v.bubblePoint=a.default,v.piePoint=s.default,v.rangeSymbolPoint=l.default,v.rangeBarPoint=c.default,v.candlestickPoint=u.default,v.stockPoint=d.default,v.polarSymbolPoint=h.polarSymbolPoint,v.polarBarPoint=h.polarBarPoint,R.prototype={constructor:R,getColor:function(){return this.hasValue()||this._styles.usePointCustomOptions||this.series.customizePoint(this,this._dataItem),this._styles.normal.fill||this.series.getColor()},_getStyle:function(){return this._styles[this._currentStyle||"normal"]},update:function(e,t){this.updateOptions(t),this.updateData(e)},updateData:function(e){const t=this,n=t.argument!==e.argument;t.argument=t.initialArgument=t.originalArgument=e.argument,t.tag=e.tag,t.index=e.index,t._dataItem=e,t.data=e.data,t.lowError=e.lowError,t.highError=e.highError,t.aggregationInfo=e.aggregationInfo,t._updateData(e,n),!t.hasValue()&&t.setInvisibility(),t._fillStyle(),t._updateLabelData()},deleteMarker:function(){const e=this;e.graphic&&e.graphic.dispose(),e.graphic=null},draw:function(e,t,n,i){const o=this;return(o._needDeletingOnDraw||o.series.autoHidePointMarkers&&!o.isSelected())&&(o.deleteMarker(),o._needDeletingOnDraw=!1),o._needClearingOnDraw&&(o.clearMarker(),o._needClearingOnDraw=!1),o._hasGraphic()?o._updateMarker(n,this._getStyle(),t.markers):o.getMarkerVisibility()&&!o.series.autoHidePointMarkers&&o._drawMarker(e,t.markers,n,i),o._drawLabel(),o._drawErrorBar(e,t.errorBars,n),o},_getViewStyle:function(){let e=O,t=this.fullState;const n=[D,k,L,L];return this._viewCounters.hover&&(e|=A),this._viewCounters.selection&&(e|=T),M(this.getOptions().selectionMode)&&(t&=~T),M(this.getOptions().hoverMode)&&(t&=~A),e|=t,n[e]},applyView:function(e){const t=this,n=t._getViewStyle();t._currentStyle=n,t.graphic||!t.getMarkerVisibility()||!t.series.autoHidePointMarkers||n!==L&&n!==k||t._drawMarker(t.series.getRenderer(),t.series.getMarkersGroup()),t.graphic&&(t.series.autoHidePointMarkers&&n!==L&&n!==k?t.deleteMarker():("normal"===n?t.clearMarker():t.graphic.toForeground(),t._updateMarker(!0,t._styles[n],void 0,e)))},setView:function(e){this._viewCounters[e]++,this.applyView()},resetView:function(e){const t=this._viewCounters;--t[e],t[e]<0&&(t[e]=0),this.applyView()},releaseHoverState:function(){const e=this;e.graphic&&!e.isSelected()&&e.graphic.toBackground()},select:function(){this.series.selectPoint(this)},clearSelection:function(){this.series.deselectPoint(this)},hover:function(){this.series.hoverPoint(this)},clearHover:function(){this.series.clearPointHover()},showTooltip:function(){this.series.showPointTooltip(this)},hideTooltip:function(){this.series.hidePointTooltip(this)},_checkLabelsChanging:function(e,t){const n=~t.indexOf("range"),i=~e.indexOf("range");return i&&!n||!i&&n},updateOptions:function(e){if(!e)return;const t=this,n=t._options,i=e.widgetType,o=n&&n.type,r=e.type,a=P[i][r];o!==r?(t._needDeletingOnDraw=!0,t._needClearingOnDraw=!1,o&&(t._checkLabelsChanging(o,r)&&t.deleteLabel(),t._resetType(v[P[o]])),t._setType(v[a])):(t._needDeletingOnDraw=t._needDeletingOnDraw||t._checkSymbol(n,e),t._needClearingOnDraw=t._checkCustomize(n,e)),t._options=e,t._fillStyle(),t._updateLabelOptions(a)},translate:function(){this.hasValue()&&(this._translate(),this.translated=!0)},_checkCustomize:function(e,t){return e.styles.usePointCustomOptions&&!t.styles.usePointCustomOptions},_getCustomLabelVisibility:function(){return this._styles.useLabelCustomOptions?!!this._options.label.visible:null},getBoundingRect:function(){return this._getGraphicBBox()},_resetType:function(e){for(const t in e)delete this[t]},_setType:function(e){for(const t in e)this[t]=e[t]},isInVisibleArea:function(){return this.inVisibleArea},isSelected:function(){return!!(this.fullState&T)},isHovered:function(){return!!(this.fullState&A)},getOptions:function(){return this._options},animate:function(e,t,n){this.graphic?this.graphic.animate(t,{partitionDuration:n},e):e&&e()},getCoords:function(e){const t=this;return e?t._options.rotated?{x:t.minX-(t.x-t.minX?0:1),y:t.y}:{x:t.x,y:t.minY+(t.y-t.minY?0:1)}:{x:t.x,y:t.y}},getDefaultCoords:function(){const e=this;return e._options.rotated?{x:e.defaultX,y:e.y}:{x:e.x,y:e.defaultY}},setDefaultCoords(){const e=this.getDefaultCoords();this.x=e.x,this.y=e.y},_getVisibleArea:function(){return this.series.getVisibleArea()},_getArgTranslator:function(){return this.series.getArgumentAxis().getTranslator()},_getValTranslator:function(){return this.series.getValueAxis().getTranslator()},isArgumentCorrect(){return this.series._argumentChecker(this.argument)},isValueCorrect(){const e=this.series._valueChecker;return e(this.getMinValue())&&e(this.getMaxValue())},hasValue:function(){return null!==this.value&&null!==this.minValue&&this.isArgumentCorrect()&&this.isValueCorrect()},hasCoords:_.noop,correctPosition:_.noop,correctRadius:_.noop,correctLabelRadius:_.noop,getCrosshairData:_.noop,getPointRadius:_.noop,_populatePointShape:_.noop,_checkSymbol:_.noop,getMarkerCoords:_.noop,hide:_.noop,show:_.noop,hideMarker:_.noop,setInvisibility:_.noop,clearVisibility:_.noop,isVisible:_.noop,resetCorrection:_.noop,correctValue:_.noop,resetValue:_.noop,setPercentValue:_.noop,correctCoordinates:_.noop,coordsIn:_.noop,getTooltipParams:_.noop,applyWordWrap:_.noop,setLabelTrackerData:_.noop,updateLabelCoord:_.noop,drawLabel:_.noop,correctLabelPosition:_.noop,getMinValue:_.noop,getMaxValue:_.noop,_drawErrorBar:_.noop,getMarkerVisibility:_.noop,dispose:function(){const e=this;e.deleteMarker(),e.deleteLabel(),e._errorBar&&this._errorBar.dispose(),e._options=e._styles=e.series=e._errorBar=null},getTooltipFormatObject:function(e,t){const n=this,i=n._getFormatObject(e),o=[],r=[];t&&(t.forEach((t=>{if(!t.isVisible())return;const n=t._getFormatObject(e);r.push(n),o.push(n.seriesName+": "+n.valueText)})),b(i,{points:r,valueText:o.join("\n"),stackName:n.series.getStackName()||null}));const a=n.aggregationInfo;if(a){const t=n.series.getArgumentAxis().formatRange(a.intervalStart,a.intervalEnd,a.aggregationInterval,e.getOptions().argumentFormat);t&&(i.valueText+=`\n${t}`)}return i},setHole:function(e,t){const n=this,i=isFinite(n.minValue)?n.minValue:0;(0,g.isDefined)(e)&&("left"===t?(n.leftHole=n.value-e,n.minLeftHole=i-e):(n.rightHole=n.value-e,n.minRightHole=i-e))},resetHoles:function(){this.leftHole=null,this.minLeftHole=null,this.rightHole=null,this.minRightHole=null},getLabel:function(){return this._label},getLabels:function(){return[this._label]},getCenterCoord(){return{x:this.x,y:this.y}}}},49787:function(e,t,n){t.default=void 0;var i,o=n(52576),r=(i=n(27589))&&i.__esModule?i:{default:i};const a=o.extend;t.default=a({},r.default,{correctCoordinates:function(e){this.bubbleSize=e/2},_drawMarker:function(e,t,n){const i=this,o=a({translateX:i.x,translateY:i.y},i._getStyle());i.graphic=e.circle(0,0,n?0:i.bubbleSize).smartAttr(o).data({"chart-data-point":i}).append(t)},getTooltipParams:function(e){const t=this,n=t.graphic;if(!n)return;const i=n.getBBox().height;return{x:t.x,y:t.y,offset:i<20||"edge"===e?i/2:0}},_getLabelFormatObject:function(){const e=r.default._getLabelFormatObject.call(this);return e.size=this.initialSize,e},_updateData:function(e){r.default._updateData.call(this,e),this.size=this.initialSize=e.size},_getGraphicBBox:function(){const e=this;return e._getSymbolBBox(e.x,e.y,e.bubbleSize)},_updateMarker:function(e,t){const n=this;e||(t=a({r:n.bubbleSize,translateX:n.x,translateY:n.y},t)),n.graphic.smartAttr(t)},_getFormatObject:function(e){const t=r.default._getFormatObject.call(this,e);return t.sizeText=e.formatValue(this.initialSize),t},_storeTrackerR:function(){return this.bubbleSize},_getLabelCoords:function(e){let t;return t="inside"===e.getLayoutOptions().position?this._getLabelCoordOfPosition(e,"inside"):r.default._getLabelCoords.call(this,e),t}});e.exports=t.default,e.exports.default=t.default},95208:function(e,t,n){t.default=void 0;var i=n(52576),o=a(n(27589)),r=a(n(39678));function a(e){return e&&e.__esModule?e:{default:e}}const s=Math,l=s.abs,c=s.min,u=s.max,d=s.round;t.default=(0,i.extend)({},r.default,{_calculateVisibility:o.default._calculateVisibility,_getContinuousPoints:function(e,t){const n=this,i=n.x,o=n._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]},r=n.width,a=n.highY,s=l(a-e)<l(a-t)?e:t,c=s===t?e:t;let u;return u=c===s?[].concat(o(i,n.highY)).concat(o(i,n.lowY)).concat(o(i,n.closeY)).concat(o(i-r/2,n.closeY)).concat(o(i+r/2,n.closeY)).concat(o(i,n.closeY)):[].concat(o(i,n.highY)).concat(o(i,s)).concat(o(i+r/2,s)).concat(o(i+r/2,c)).concat(o(i,c)).concat(o(i,n.lowY)).concat(o(i,c)).concat(o(i-r/2,c)).concat(o(i-r/2,s)).concat(o(i,s)),u},_getCrockPoints:function(e){const t=this,n=t.x,i=t._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]};return[].concat(i(n,t.highY)).concat(i(n,t.lowY)).concat(i(n,e)).concat(i(n-t.width/2,e)).concat(i(n+t.width/2,e)).concat(i(n,e))},_getPoints:function(){const e=this;let t;const n=e.closeY,i=e.openY;return t=null!==n&&null!==i?e._getContinuousPoints(i,n):i===n?[e.x,e.highY,e.x,e.lowY]:e._getCrockPoints(null!==i?i:n),t},getColor:function(){const e=this;return e._isReduction?e._options.reduction.color:e._styles.normal.stroke||e.series.getColor()},_drawMarkerInGroup:function(e,t,n){const i=this;i.graphic=n.path(i._getPoints(),"area").attr({"stroke-linecap":"square"}).attr(t).data({"chart-data-point":i}).sharp().append(e)},_fillStyle:function(){const e=this,t=e._options.styles;e._isReduction&&e._isPositive?e._styles=t.reductionPositive:e._isReduction?e._styles=t.reduction:e._isPositive?e._styles=t.positive:e._styles=t},_getMinTrackerWidth:function(){return 2+2*this._styles.normal["stroke-width"]},correctCoordinates:function(e){const t=this._getMinTrackerWidth();let n=e.width;n=n<t?t:n>10?10:n,this.width=n+n%2,this.xCorrection=e.offset},_getMarkerGroup:function(e){const t=this;let n;return n=t._isReduction&&t._isPositive?e.reductionPositiveMarkersGroup:t._isReduction?e.reductionMarkersGroup:t._isPositive?e.defaultPositiveMarkersGroup:e.defaultMarkersGroup,n},_drawMarker:function(e,t){this._drawMarkerInGroup(this._getMarkerGroup(t),this._getStyle(),e)},_getSettingsForTracker:function(){const e=this;let t=e.highY,n=e.lowY;const i=e._options.rotated;let o,r,a,s;return t===n&&(t=i?t+2:t-2,n=i?n-2:n+2),i?(o=c(n,t),r=e.x-e.width/2,a=l(n-t),s=e.width):(o=e.x-e.width/2,r=c(n,t),a=e.width,s=l(n-t)),{x:o,y:r,width:a,height:s}},_getGraphicBBox:function(e){const t=this,n=t._options.rotated,i=t.x,o=t.width;let r=t.lowY,a=t.highY;if(e){const e=t.series.getValueAxis().getVisibleArea();a=t._truncateCoord(a,e),r=t._truncateCoord(r,e)}const s={x:n?r:i-d(o/2),y:n?i-d(o/2):a,width:n?a-r:o,height:n?o:r-a};if(e){const t="top"===e;this._options.rotated?(s.x=t?s.x+s.width:s.x,s.width=0):(s.y=t?s.y:s.y+s.height,s.height=0)}return s},getTooltipParams:function(e){const t=this;if(t.graphic){const n=c(t.lowY,t.highY),i=u(t.lowY,t.highY),o=t._getVisibleArea(),r=t._options.rotated,a=r?o.minX:o.minY,s=r?o.maxX:o.maxY,l=u(a,n),d=c(s,i),h=t.getCenterCoord();return"edge"===e&&(h[r?"x":"y"]=r?d:l),h.offset=0,h}},getCenterCoord(){if(this.graphic){const e=this;let t,n;const i=c(e.lowY,e.highY),o=u(e.lowY,e.highY),r=e._getVisibleArea(),a=e._options.rotated,s=a?r.minX:r.minY,l=a?r.maxX:r.maxY,d=u(s,i),h=d+(c(l,o)-d)/2;return a?(n=e.x,t=h):(t=e.x,n=h),{x:t,y:n}}},hasValue:function(){return null!==this.highValue&&null!==this.lowValue},hasCoords:function(){return null!==this.x&&null!==this.lowY&&null!==this.highY},_translate:function(){const e=this,t=e._options.rotated,n=e._getValTranslator(),i=e._getArgTranslator().translate(e.argument);e.vx=e.vy=e.x=null===i?i:i+(e.xCorrection||0),e.openY=null!==e.openValue?n.translate(e.openValue):null,e.highY=n.translate(e.highValue),e.lowY=n.translate(e.lowValue),e.closeY=null!==e.closeValue?n.translate(e.closeValue):null;const o=c(e.lowY,e.highY)+l(e.lowY-e.highY)/2;e._calculateVisibility(t?o:e.x,t?e.x:o)},getCrosshairData:function(e,t){const n=this,i=n._options.rotated,o=i?e:t;let r;const a=n.argument;let s,c="low";return l(n.lowY-o)<l(n.closeY-o)?r=n.lowY:(r=n.closeY,c="close"),l(r-o)>=l(n.openY-o)&&(r=n.openY,c="open"),l(r-o)>=l(n.highY-o)&&(r=n.highY,c="high"),s=i?{y:n.vy,x:r,xValue:n[c+"Value"],yValue:a}:{x:n.vx,y:r,xValue:a,yValue:n[c+"Value"]},s.axis=n.series.axis,s},_updateData:function(e){const t=this,n=t._label,i=this._options.reduction.color;t.value=t.initialValue=e.reductionValue,t.originalValue=e.value,t.lowValue=t.originalLowValue=e.lowValue,t.highValue=t.originalHighValue=e.highValue,t.openValue=t.originalOpenValue=e.openValue,t.closeValue=t.originalCloseValue=e.closeValue,t._isPositive=e.openValue<e.closeValue,t._isReduction=e.isReduction,t._isReduction&&n.setColor(i)},_updateMarker:function(e,t,n){const i=this,o=i.graphic;o.attr({points:i._getPoints()}).smartAttr(t).sharp(),n&&o.append(i._getMarkerGroup(n))},_getLabelFormatObject:function(){const e=this;return{openValue:e.openValue,highValue:e.highValue,lowValue:e.lowValue,closeValue:e.closeValue,reductionValue:e.initialValue,argument:e.initialArgument,value:e.initialValue,seriesName:e.series.name,originalOpenValue:e.originalOpenValue,originalCloseValue:e.originalCloseValue,originalLowValue:e.originalLowValue,originalHighValue:e.originalHighValue,originalArgument:e.originalArgument,point:e}},_getFormatObject:function(e){const t=this,n=e.formatValue(t.highValue),r=e.formatValue(t.openValue),a=e.formatValue(t.closeValue),s=e.formatValue(t.lowValue),l=o.default._getFormatObject.call(t,e);return(0,i.extend)({},l,{valueText:"h: "+n+(""!==r?" o: "+r:"")+(""!==a?" c: "+a:"")+" l: "+s,highValueText:n,openValueText:r,closeValueText:a,lowValueText:s})},getMaxValue:function(){return this.highValue},getMinValue:function(){return this.lowValue}});e.exports=t.default,e.exports.default=t.default},70576:function(e,t,n){t.Label=S;var i,o=(i=n(2082))&&i.__esModule?i:{default:i},r=n(28779),a=n(21274),s=n(52576),l=n(82e3);const c=o.default.format,u=Math,d=u.round,h=u.floor,f=u.abs;function p(e,t){let n,i=1/0;return(0,a.each)(t,(function(t,o){const r=e[0]-o[0],a=e[1]-o[1],s=r*r+a*a;s<i&&(i=s,n=o)})),[h(n[0]),h(n[1])]}function g(e,t,n){return(t-e[0+n])/(e[2+n]-e[0+n])*(e[3-n]-e[1-n])+e[1-n]}const _={isLabelInside:function(e,t){const n=e.x+e.width/2,i=e.y+e.height/2;return t.x<=n&&n<=t.x+t.width&&t.y<=i&&i<=t.y+t.height},prepareLabelPoints:function(e,t,n,i,o){const r=t.x,a=r+t.width/2,s=r+t.width-1,l=t.y,c=l+t.height/2,u=l+t.height-1;let d;const h=f(i)%90==0;return d=o[0]>r&&o[0]<s?h?[[o[0],f(o[1]-l)<f(o[1]-u)?l:u]]:[[o[0],g([r,l,s,u],o[0],0)]]:o[1]>l&&o[1]<u?h?[[f(o[0]-r)<f(o[0]-s)?r:s,o[1]]]:[[g([r,l,s,u],o[1],1),o[1]]]:h?[[r,l],[n?r:a,n?c:l],[s,l],[r,u],[n?s:a,n?c:u],[s,u]]:[[a,c]],d},isHorizontal:function(e,t){return e.x>t.x+t.width||e.x+e.width<t.x},getFigureCenter:function(e){return[h(e.x+e.width/2),h(e.y+e.height/2)]},findFigurePoint:function(e,t){const n=_.getFigureCenter(e);return p(t,[[e.x,n[1]],[n[0],e.y+e.height],[e.x+e.width,n[1]],[n[0],e.y]])},adjustPoints:function(e){const t=f(e[1]-e[3])<=1;return f(e[0]-e[2])<=1&&(e[0]=e[2]),t&&(e[1]=e[3]),e}},m={isLabelInside:function(){return!1},prepareLabelPoints:_.prepareLabelPoints,isHorizontal:function(e,t){return e.x>t.x+t.r||e.x+e.width<t.x-t.r},getFigureCenter:function(e){return[e.x,e.y]},findFigurePoint:function(e,t){const n=Math.atan2(e.y-t[1],t[0]-e.x);return[d(e.x+e.r*Math.cos(n)),d(e.y-e.r*Math.sin(n))]},adjustPoints:_.adjustPoints},v={isLabelInside:function(e,t,n){return!n},prepareLabelPoints:function(e,t,n,i){const o=e.x,a=o+e.width,s=o+d(e.width/2),l=e.y,c=l+e.height,u=l+d(e.height/2);let h=[[[o,l],[a,l]],[[a,l],[a,c]],[[a,c],[o,c]],[[o,c],[o,l]]];const f=(0,r.getCosAndSin)(i);return h=0===i?n?[[o,u],[a,u]]:[[s,l],[s,c]]:h.map((function(e){return e.map((function(e){return[d((e[0]-s)*f.cos+(e[1]-u)*f.sin+s),d(-(e[0]-s)*f.sin+(e[1]-u)*f.cos+u)]}))})).reduce((function(e,t){const i=t[0][0],o=t[0][1],r=t[1][0],a=t[1][1];return n?(o>=u&&u>=a||o<=u&&u<=a)&&e.push([(u-o)*(r-i)/(a-o)+i,u]):(i>=s&&s>=r||i<=s&&s<=r)&&e.push([s,(s-i)*(a-o)/(r-i)+o]),e}),[]),h},isHorizontal:function(e,t){return e.x>t.x||t.x>e.x+e.width},getFigureCenter:m.getFigureCenter,findFigurePoint:function(e,t,n){if(!n)return[e.x,e.y];const i=t[0],o=d(e.x+(e.y-t[1])/Math.tan((0,r.degreesToRadians)(e.angle)));let a=[e.x,e.y,o,t[1]];return e.x<=o&&o<=i||i<=o&&o<=e.x||(f(e.x-i)<12?a=[e.x,e.y]:e.x<=i?a[2]=e.x+12:a[2]=e.x-12),a},adjustPoints:function(e){return e}};function b(e){return void 0!==e.angle&&v||void 0!==e.r&&m||_}function y(e,t){e[t]&&e[t].dispose(),e[t]=null}function x(e){return e&&(e.fill&&"none"!==e.fill||e["stroke-width"]>0&&e.stroke&&"none"!==e.stroke)}function C(e){return e&&e["stroke-width"]>0&&e.stroke&&"none"!==e.stroke}function S(e){this._renderer=e.renderer,this._container=e.labelsGroup,this._point=e.point,this._strategy=e.strategy,this._rowCount=1}S.prototype={constructor:S,setColor:function(e){this._color=e},setOptions:function(e){this._options=e},setData:function(e){this._data=e},setDataField:function(e,t){this._data=this._data||{},this._data[e]=t},getData:function(){return this._data},setFigureToDrawConnector:function(e){this._figure=e},dispose:function(){const e=this;y(e,"_group"),e._data=e._options=e._textContent=e._visible=e._insideGroup=e._text=e._background=e._connector=e._figure=null},_setVisibility:function(e,t){this._group&&this._group.attr({visibility:e}),this._visible=t},isVisible:function(){return this._visible},hide:function(e){this._holdVisibility=!!e,this._hide()},_hide:function(){this._setVisibility("hidden",!1)},show:function(e){const t=!this._drawn;this._point.hasValue()&&(this._holdVisibility=!!e,this._show(),t&&this._point.correctLabelPosition(this))},_show:function(){const e=this,t=e._renderer,n=e._container,i=e._options||{},o=e._textContent=function(e,t){const n=t.format;return e.valueText=c(e.value,n),e.argumentText=c(e.argument,t.argumentFormat),void 0!==e.percent&&(e.percentText=c(e.percent,{type:"percent",precision:n&&n.percentPrecision})),void 0!==e.total&&(e.totalText=c(e.total,n)),void 0!==e.openValue&&(e.openValueText=c(e.openValue,n)),void 0!==e.closeValue&&(e.closeValueText=c(e.closeValue,n)),void 0!==e.lowValue&&(e.lowValueText=c(e.lowValue,n)),void 0!==e.highValue&&(e.highValueText=c(e.highValue,n)),void 0!==e.reductionValue&&(e.reductionValueText=c(e.reductionValue,n)),t.customizeText?t.customizeText.call(e,e):t.displayFormat?(0,l.processDisplayFormat)(t.displayFormat,e):e.valueText}(e._data,i)||null;o?(e._group||(e._group=t.g().append(n),e._insideGroup=t.g().append(e._group),e._text=t.text("",0,0).append(e._insideGroup)),e._text.css(i.attributes?(0,r.patchFontOptions)(i.attributes.font):{}),x(i.background)?(e._background=e._background||t.rect().append(e._insideGroup).toBackground(),e._background.attr(i.background),e._color&&e._background.attr({fill:e._color})):y(e,"_background"),C(i.connector)?(e._connector=e._connector||t.path([],"line").sharp().append(e._group).toBackground(),e._connector.attr(i.connector),e._color&&e._connector.attr({stroke:e._color})):y(e,"_connector"),e._text.attr({text:o,align:i.textAlignment,class:i.cssClass}),e._updateBackground(e._text.getBBox()),e._setVisibility("visible",!0),e._drawn=!0):e._hide()},_getLabelVisibility:function(e){return this._holdVisibility?this.isVisible():e},draw:function(e){return this._getLabelVisibility(e)?(this._show(),this._point&&this._point.correctLabelPosition(this)):(this._drawn=!1,this._hide()),this},_updateBackground:function(e){const t=this;t._background&&(e.x-=8,e.y-=4,e.width+=16,e.height+=8,t._background.attr(e)),t._bBoxWithoutRotation=(0,s.extend)({},e);const n=t._options.rotationAngle||0;t._insideGroup.rotate(n,e.x+e.width/2,e.y+e.height/2),e=(0,r.rotateBBox)(e,[e.x+e.width/2,e.y+e.height/2],-n),t._bBox=e},getFigureCenter(){const e=this._figure;return(this._strategy||b(e)).getFigureCenter(e)},_getConnectorPoints:function(){const e=this,t=e._figure,n=e._options,i=e._strategy||b(t),o=e._shiftBBox(e._bBoxWithoutRotation),r=e.getBoundingRect();let a,s,l=[];if(!i.isLabelInside(o,t,"inside"!==n.position)){s=i.isHorizontal(o,t);const c=e.getFigureCenter();l=i.prepareLabelPoints(o,r,s,-n.rotationAngle||0,c),a=p(c,l),l=i.findFigurePoint(t,a,s),l=l.concat(a)}return i.adjustPoints(l)},fit:function(e){const t=this._background?16:0;let n=!1;if(this._text){const i=this._text.setMaxSize(e-t,void 0,this._options);let o=i.rowCount;0===o&&(o=1),o!==this._rowCount&&(n=!0,this._rowCount=o),i.textIsEmpty&&y(this,"_background")}return this._updateBackground(this._text.getBBox()),n},resetEllipsis:function(){this._text&&this._text.restoreText(),this._updateBackground(this._text.getBBox())},setTrackerData:function(e){this._text.data({"chart-data-point":e}),this._background&&this._background.data({"chart-data-point":e})},hideInsideLabel:function(e){return this._point.hideInsideLabel(this,e)},getPoint(){return this._point},shift:function(e,t){const n=this;return n._textContent&&(n._insideGroup.attr({translateX:n._x=d(e-n._bBox.x),translateY:n._y=d(t-n._bBox.y)}),n._connector&&n._connector.attr({points:n._getConnectorPoints()})),n},getBoundingRect:function(){return this._shiftBBox(this._bBox)},_shiftBBox:function(e){return this._textContent?{x:e.x+this._x,y:e.y+this._y,width:e.width,height:e.height}:{}},getLayoutOptions:function(){const e=this._options;return{alignment:e.alignment,background:x(e.background),horizontalOffset:e.horizontalOffset,verticalOffset:e.verticalOffset,radialOffset:e.radialOffset,position:e.position,connectorOffset:(C(e.connector)?12:0)+(x(e.background)?8:0)}}}},78641:function(e,t,n){t.default=void 0;var i=n(52576),o=l(n(27589)),r=n(28779),a=n(11528),s=l(n(7377));function l(e){return e&&e.__esModule?e:{default:e}}const c=i.extend,u=Math.round,d=Math.sqrt,h=Math.acos,f=180/Math.PI,p=Math.abs,g=s.default.radialLabelIndent;t.default=c({},o.default,{_updateData:function(e,t){const n=this;o.default._updateData.call(this,e),!t&&(0,a.isDefined)(n._visible)||(n._visible=!0),n.minValue=n.initialMinValue=n.originalMinValue=(0,a.isDefined)(e.minValue)?e.minValue:0},animate:function(e,t,n){const i=this;i.graphic.animate({x:i.centerX,y:i.centerY,outerRadius:i.radiusOuter,innerRadius:i.radiusInner,startAngle:i.toAngle,endAngle:i.fromAngle},{delay:n,partitionDuration:t},e)},correctPosition:function(e){const t=this;t.correctRadius(e),t.correctLabelRadius(e.radiusOuter+g),t.centerX=e.centerX,t.centerY=e.centerY},correctRadius:function(e){this.radiusInner=e.radiusInner,this.radiusOuter=e.radiusOuter},correctLabelRadius:function(e){this.radiusLabels=e},correctValue:function(e,t,n){const i=this;i.value=(n||i.normalInitialValue)+e,i.minValue=e,i.percent=t,i._label.setDataField("percent",t)},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_getShiftLabelCoords:function(){const e=this,t=e._label.getBoundingRect(),n=e._getLabelCoords(e._label),i=e._getVisibleArea();return e._isLabelDrawingWithoutPoints?e._checkLabelPosition(n,t,i):e._getLabelExtraCoord(n,e._checkVerticalLabelPosition(n,t,i),t)},_getLabelPosition:function(e){return e.position},getAnnotationCoords:function(e){return this._getElementCoords("edge"!==e?"inside":"outside",this.radiusOuter,0)},_getElementCoords:function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{x:0,y:0,width:0,height:0};const o=this,a=(0,r.getCosAndSin)(o.middleAngle),s=o.radiusInner,l=o.radiusOuter,c="columns"===e;let d,h;return"inside"===e?(d=s+(l-s)/2+n,h=o.centerX+d*a.cos-i.width/2):(d=t+n,h=a.cos>.1||c&&a.cos>=0?o.centerX+d*a.cos:a.cos<-.1||c&&a.cos<0?o.centerX+d*a.cos-i.width:o.centerX+d*a.cos-i.width/2),{x:h,y:u(o.centerY-d*a.sin-i.height/2)}},_getLabelCoords:function(e){const t=this,n=e.getBoundingRect(),i=e.getLayoutOptions(),o=t._getLabelPosition(i);return t._getElementCoords(o,t.radiusLabels,i.radialOffset,n)},_correctLabelCoord:function(e,t){const n=this,i=n._label,o=i.getBoundingRect().width,a=i.getLayoutOptions(),s=n._getVisibleArea(),l=s.maxX-o,c=s.minX,u=(0,r.normalizeAngle)(n.middleAngle),d=n.centerX,h=a.connectorOffset;let f=e.x;return"columns"===a.position?(f=u<=90||u>=270?l:c,e.x=f):"inside"!==a.position&&t&&(u<=90||u>=270?f-h<d&&(f=d+h):f+o+h>d&&(f=d-o-h),e.x=f),e},drawLabel:function(){this.translate(),this._isLabelDrawingWithoutPoints=!0,this._drawLabel(),this._isLabelDrawingWithoutPoints=!1},updateLabelCoord:function(e){const t=this,n=t._label.getBoundingRect();let i=t._correctLabelCoord(n,e);i=t._checkHorizontalLabelPosition(i,n,t._getVisibleArea()),t._label.shift(u(i.x),u(n.y))},_checkVerticalLabelPosition:function(e,t,n){const i=e.x;let o=e.y;return e.y+t.height>n.maxY?o=n.maxY-t.height:e.y<n.minY&&(o=n.minY),{x:i,y:o}},_getLabelExtraCoord:function(e,t,n){return e.y!==t.y?(0,r.getVerticallyShiftedAngularCoords)({x:e.x,y:e.y,width:n.width,height:n.height},t.y-e.y,{x:this.centerX,y:this.centerY}):e},_checkHorizontalLabelPosition:function(e,t,n){let i=e.x;const o=e.y;return e.x+t.width>n.maxX?i=n.maxX-t.width:e.x<n.minX&&(i=n.minX),{x:i,y:o}},applyWordWrap:function(e){const t=this,n=t._label,i=n.getBoundingRect(),o=t._getVisibleArea(),r=n.getLayoutOptions().position;let a=i.width,s=!1;return"columns"===r&&t.series.index>0?a=o.maxX-t.centerX-t.radiusLabels:"inside"===r?a>o.maxX-o.minX&&(a=o.maxX-o.minX):e&&i.x<t.centerX&&i.width+i.x>t.centerX?a=Math.floor((o.maxX-o.minX)/2):i.x+a>o.maxX?a=o.maxX-i.x:i.x<o.minX&&(a=i.x+a-o.minX),a<i.width&&(s=n.fit(a)),s},setLabelTrackerData:function(){this._label.setTrackerData(this)},_checkLabelPosition:function(e,t,n){return e=this._checkHorizontalLabelPosition(e,t,n),this._checkVerticalLabelPosition(e,t,n)},_getLabelConnector:function(){const e=this,t=e.radiusOuter,n=e._options.styles.normal,i=n["stroke-width"]/2,o=e.series.getOptions().containerBackgroundColor===n.stroke?u(i):u(-i),a=(0,r.getCosAndSin)(u(e.middleAngle));return{x:u(e.centerX+(t-o)*a.cos),y:u(e.centerY-(t-o)*a.sin),angle:e.middleAngle}},_drawMarker:function(e,t,n,i){const o=this;let r=o.radiusOuter,a=o.radiusInner,s=o.fromAngle,l=o.toAngle;n&&(a=r=0,i||(s=l=o.shiftedAngle)),o.graphic=e.arc(o.centerX,o.centerY,a,r,l,s).attr({"stroke-linejoin":"round"}).smartAttr(o._getStyle()).data({"chart-data-point":o}).sharp().append(t)},getTooltipParams:function(){const e=this,t=(0,r.getCosAndSin)(e.middleAngle),n=e.radiusInner,i=e.radiusOuter;return{x:e.centerX+(n+(i-n)/2)*t.cos,y:e.centerY-(n+(i-n)/2)*t.sin,offset:0}},_translate:function(){const e=this,t=e.shiftedAngle||0,n=e.value,i=e.minValue,o=e._getValTranslator();e.fromAngle=o.translate(i)+t,e.toAngle=o.translate(n)+t,e.middleAngle=o.translate((n-i)/2+i)+t,e.isVisible()||(e.middleAngle=e.toAngle=e.fromAngle=e.fromAngle||t)},getMarkerVisibility:function(){return!0},_updateMarker:function(e,t,n,i){const o=this;e||(t=c({x:o.centerX,y:o.centerY,outerRadius:o.radiusOuter,innerRadius:o.radiusInner,startAngle:o.toAngle,endAngle:o.fromAngle},t)),o.graphic.smartAttr(t).sharp(),i&&i()},getLegendStyles:function(){return this._styles.legendStyles},isInVisibleArea:function(){return!0},hide:function(){const e=this;e._visible&&(e._visible=!1,e.hideTooltip(),e._options.visibilityChanged())},show:function(){const e=this;e._visible||(e._visible=!0,e._options.visibilityChanged())},setInvisibility:function(){this._label.draw(!1)},isVisible:function(){return this._visible},_getFormatObject:function(e){const t=o.default._getFormatObject.call(this,e),n=this.percent;return t.percent=n,t.percentText=e.formatValue(n,"percent"),t},getColor:function(){return this._styles.normal.fill},coordsIn:function(e,t){const n=this,i=e-n.centerX,o=t-n.centerY,r=d(i*i+o*o),a=n.fromAngle%360,s=n.toAngle%360;let l;return!(r<n.radiusInner||r>n.radiusOuter||0===r)&&(l=h(i/r)*f*(o>0?-1:1),l<0&&(l+=360),a===s&&p(n.toAngle-n.fromAngle)>1e-4||(a>=s?l<=a&&l>=s:!(l>=a&&l<=s)))}});e.exports=t.default,e.exports.default=t.default},9619:function(e,t,n){t.polarSymbolPoint=t.polarBarPoint=void 0;var i=n(52576),o=u(n(27589)),r=u(n(39678)),a=u(n(78641)),s=n(11528),l=n(28779),c=u(n(7377));function u(e){return e&&e.__esModule?e:{default:e}}const d=i.extend,h=Math,f=h.max,p=c.default.radialLabelIndent,g="canvas_position_start",_="canvas_position_end",m="canvas_position_default",v=t.polarSymbolPoint=d({},o.default,{_getLabelCoords:a.default._getLabelCoords,_getElementCoords:a.default._getElementCoords,_moveLabelOnCanvas:function(e,t,n){let i=e.x,o=e.y;return t.minX>i&&(i=t.minX),t.maxX<i+n.width&&(i=t.maxX-n.width),t.minY>o&&(o=t.minY),t.maxY<o+n.height&&(o=t.maxY-n.height),{x:i,y:o}},_getLabelPosition:function(){return"outside"},_getCoords:function(e,t){const n=this.series.getValueAxis(),i=n.getAngles()[0],o=this._getArgTranslator().translate(e),r=this._getValTranslator().translate(t),a=(0,l.convertPolarToXY)(n.getCenter(),n.getAngles()[0],o,r);return a.angle=o+i-90,a.radius=r,a},_translate(){const e=this,t=e.series.getValueAxis().getCenter(),n=e._getCoords(e.argument,e.value),i=e._getValTranslator(),o=i.isInverted()?i.translate(g):i.translate(_),r=(0,s.isDefined)(n.radius)&&n.radius>=0?n.radius:null;e.vx=(0,l.normalizeAngle)(n.angle),e.vy=e.radiusOuter=e.radiusLabels=r,e.radiusLabels+=p,e.radius=r,e.middleAngle=-n.angle,e.angle=-n.angle,e.x=n.x,e.y=n.y,e.defaultX=e.centerX=t.x,e.defaultY=e.centerY=t.y,e._translateErrorBars(),e.inVisibleArea=e._checkRadiusForVisibleArea(r,o)},_checkRadiusForVisibleArea:(e,t)=>(0,s.isDefined)(e)&&e<=t,_translateErrorBars:function(){const e=this,t=e._options.errorBars,n=e._getValTranslator();t&&((0,s.isDefined)(e.lowError)&&(e._lowErrorCoord=e.centerY-n.translate(e.lowError)),(0,s.isDefined)(e.highError)&&(e._highErrorCoord=e.centerY-n.translate(e.highError)),e._errorBarPos=e.centerX,e._baseErrorBarPos="stdDeviation"===t.type?e._lowErrorCoord+(e._highErrorCoord-e._lowErrorCoord)/2:e.centerY-e.radius)},_getTranslates:function(e){return e?this.getDefaultCoords():{x:this.x,y:this.y}},getDefaultCoords:function(){const e=(0,l.getCosAndSin)(-this.angle),t=this._getValTranslator().translate(m);return{x:this.defaultX+t*e.cos,y:this.defaultY+t*e.sin}},_addLabelAlignmentAndOffset:function(e,t){return t},_checkLabelPosition:function(e,t){const n=this,i=n._getVisibleArea(),o=n._getGraphicBBox();return n._isPointInVisibleArea(i,o)&&(t=n._moveLabelOnCanvas(t,i,e.getBoundingRect())),t},_getErrorBarSettings:function(e,t){const n=o.default._getErrorBarSettings.call(this,e,t);return n.rotate=90-this.angle,n.rotateX=this.centerX,n.rotateY=this.centerY,n},getCoords:function(e){return e?this.getDefaultCoords():{x:this.x,y:this.y}}});t.polarBarPoint=d({},r.default,{_translateErrorBars:v._translateErrorBars,_getErrorBarSettings:v._getErrorBarSettings,_moveLabelOnCanvas:v._moveLabelOnCanvas,_getLabelCoords:a.default._getLabelCoords,_getElementCoords:a.default._getElementCoords,_getLabelConnector:a.default._getLabelConnector,getTooltipParams:a.default.getTooltipParams,_getLabelPosition:a.default._getLabelPosition,_getCoords:v._getCoords,_translate(){const e=this,t=e._getValTranslator(),n=t.getBusinessRange(),i=t.isInverted()?t.translate(g):t.translate(_);e.radiusInner=t.translate(e.minValue),v._translate.call(e),null===e.radiusInner?e.radiusInner=e.radius=i:null===e.radius?e.radius=e.value>=n.minVisible?i:0:e.radius>i&&(e.radius=i),e.radiusOuter=e.radiusLabels=f(e.radiusInner,e.radius),e.radiusLabels+=p,e.radiusInner=e.defaultRadius=h.min(e.radiusInner,e.radius),e.middleAngle=e.angle=-(0,l.normalizeAngle)(e.middleAngleCorrection-e.angle)},_checkRadiusForVisibleArea(e){return(0,s.isDefined)(e)||this._getValTranslator().translate(this.minValue)>0},_getErrorBarBaseEdgeLength(){const e=this.getMarkerCoords();return h.PI*e.outerRadius*h.abs(e.startAngle-e.endAngle)/180},getMarkerCoords:function(){return{x:this.centerX,y:this.centerY,outerRadius:this.radiusOuter,innerRadius:this.defaultRadius,startAngle:this.middleAngle-this.interval/2,endAngle:this.middleAngle+this.interval/2}},_drawMarker:function(e,t,n){const i=this,o=i._getStyle(),r=i.getMarkerCoords();let a=r.innerRadius,s=r.outerRadius;const l=i._getCoords(i.argument,m);let c=r.x,u=r.y;n&&(a=0,s=0,c=l.x,u=l.y),i.graphic=e.arc(c,u,a,s,r.startAngle,r.endAngle).attr(o).data({"chart-data-point":i}).append(t)},_checkLabelPosition:function(e,t){const n=this,i=n._getVisibleArea(),o=(0,l.getCosAndSin)(n.middleAngle),r=n.centerX+n.defaultRadius*o.cos,a=n.centerY-n.defaultRadius*o.sin;return r>i.minX&&r<i.maxX&&a>i.minY&&a<i.maxY&&(t=n._moveLabelOnCanvas(t,i,e.getBoundingRect())),t},_addLabelAlignmentAndOffset:function(e,t){return t},correctCoordinates:function(e){this.middleAngleCorrection=e.offset,this.interval=e.width},coordsIn:function(e,t){const n=(0,l.convertXYToPolar)(this.series.getValueAxis().getCenter(),e,t),i=this.getMarkerCoords(),o=i.startAngle<i.endAngle?-n.phi>=i.startAngle&&-n.phi<=i.endAngle:-n.phi<=i.startAngle&&-n.phi>=i.endAngle;return n.r>=i.innerRadius&&n.r<=i.outerRadius&&o}})},81660:function(e,t,n){t.default=void 0;var i=n(17781),o=n(52576),r=s(n(39678)),a=s(n(66779));function s(e){return e&&e.__esModule?e:{default:e}}const l=o.extend;t.default=l({},r.default,{deleteLabel:a.default.deleteLabel,_getFormatObject:a.default._getFormatObject,clearVisibility:function(){const e=this.graphic;e&&e.attr("visibility")&&e.attr({visibility:null})},setInvisibility:function(){const e=this.graphic;e&&"hidden"!==e.attr("visibility")&&e.attr({visibility:"hidden"}),this._topLabel.draw(!1),this._bottomLabel.draw(!1)},getTooltipParams:function(e){const t=this,n="edge"===e;let i,o;return t._options.rotated?(i=n?t.x+t.width:t.x+t.width/2,o=t.y+t.height/2):(i=t.x+t.width/2,o=n?t.y:t.y+t.height/2),{x:i,y:o,offset:0}},_translate:function(){const e=this;r.default._translate.call(e),e._options.rotated?e.width=e.width||1:e.height=e.height||1},hasCoords:a.default.hasCoords,_updateData:a.default._updateData,_getLabelPosition:a.default._getLabelPosition,_getLabelMinFormatObject:a.default._getLabelMinFormatObject,_updateLabelData:a.default._updateLabelData,_updateLabelOptions:a.default._updateLabelOptions,getCrosshairData:a.default.getCrosshairData,_createLabel:a.default._createLabel,_checkOverlay:a.default._checkOverlay,_checkLabelsOverlay:a.default._checkLabelsOverlay,_getOverlayCorrections:a.default._getOverlayCorrections,_drawLabel:a.default._drawLabel,_getLabelCoords:a.default._getLabelCoords,getLabel:a.default.getLabel,getLabels:a.default.getLabels,getBoundingRect:i.noop,getMinValue:a.default.getMinValue,getMaxValue:a.default.getMaxValue});e.exports=t.default,e.exports.default=t.default},66779:function(e,t,n){t.default=void 0;var i,o=n(21274),r=n(52576),a=n(17781),s=n(70576),l=(i=n(27589))&&i.__esModule?i:{default:i},c=n(11528);const u=r.extend,d=Math,h=d.abs,f=d.min,p=d.max,g=d.round;t.default=u({},l.default,{deleteLabel:function(){const e=this;e._topLabel.dispose(),e._topLabel=null,e._bottomLabel.dispose(),e._bottomLabel=null},hideMarker:function(e){const t=this.graphic,n=t&&t[e+"Marker"],i=this["_"+e+"Label"];n&&"hidden"!==n.attr("visibility")&&n.attr({visibility:"hidden"}),i.draw(!1)},setInvisibility:function(){this.hideMarker("top"),this.hideMarker("bottom")},clearVisibility:function(){const e=this.graphic,t=e&&e.topMarker,n=e&&e.bottomMarker;t&&t.attr("visibility")&&t.attr({visibility:null}),n&&n.attr("visibility")&&n.attr({visibility:null})},clearMarker:function(){const e=this.graphic,t=e&&e.topMarker,n=e&&e.bottomMarker,i=this._emptySettings;t&&t.attr(i),n&&n.attr(i)},_getLabelPosition:function(e){let t;const n="inside"===this._options.label.position;return t=this._options.rotated?"top"===e^n?"right":"left":"top"===e^n?"top":"bottom",t},_getLabelMinFormatObject:function(){const e=this;return{index:0,argument:e.initialArgument,value:e.initialMinValue,seriesName:e.series.name,originalValue:e.originalMinValue,originalArgument:e.originalArgument,point:e}},_updateLabelData:function(){const e=this._getLabelFormatObject();e.index=1,this._topLabel.setData(e),this._bottomLabel.setData(this._getLabelMinFormatObject())},_updateLabelOptions:function(){const e=this,t=this._options.label;(!e._topLabel||!e._bottomLabel)&&e._createLabel(),e._topLabel.setOptions(t),e._bottomLabel.setOptions(t)},_createLabel:function(){const e={renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this};this._topLabel=new s.Label(e),this._bottomLabel=new s.Label(e)},_getGraphicBBox:function(e){const t=this._options,n=this._getImage(t.image),i="top"===e?this._checkImage(n.top):this._checkImage(n.bottom);let o;const r=this._getPositionFromLocation(e);return o=t.visible?i?this._getImageBBox(r.x,r.y):this._getSymbolBBox(r.x,r.y,t.styles.normal.r):{x:r.x,y:r.y,width:0,height:0},o},_getPositionFromLocation:function(e){let t,n;const i="top"===e;return this._options.rotated?(t=i?p(this.x,this.minX):f(this.x,this.minX),n=this.y):(t=this.x,n=i?f(this.y,this.minY):p(this.y,this.minY)),{x:t,y:n}},_checkOverlay:function(e,t,n){return e<t+n},_getOverlayCorrections:function(e,t){const n=this._options.rotated,i=n?"x":"y",o=n?"width":"height",r=this.series.getValueAxis().getVisibleArea(),a=r[0],s=r[1];let l=g((e[i]+e[o]-t[i])/2),c=e[i]-l,u=t[i]+l;return c<a?(l=a-c,c+=l,u+=l):u+t[o]>s&&(l=s-u-t[o],c+=l,u+=l),{coord1:c,coord2:u}},_checkLabelsOverlay:function(e){const t=this,n=t._topLabel.getBoundingRect(),i=t._bottomLabel.getBoundingRect();let o={};t._options.rotated?"top"===e?this._checkOverlay(n.x,i.x,i.width)&&(o=this._getOverlayCorrections(i,n),t._topLabel.shift(o.coord2,n.y),t._bottomLabel.shift(o.coord1,i.y)):this._checkOverlay(i.x,n.x,n.width)&&(o=this._getOverlayCorrections(n,i),t._topLabel.shift(o.coord1,n.y),t._bottomLabel.shift(o.coord2,i.y)):"top"===e?this._checkOverlay(i.y,n.y,n.height)&&(o=this._getOverlayCorrections(n,i),t._topLabel.shift(n.x,o.coord1),t._bottomLabel.shift(i.x,o.coord2)):this._checkOverlay(n.y,i.y,i.height)&&(o=this._getOverlayCorrections(i,n),t._topLabel.shift(n.x,o.coord2),t._bottomLabel.shift(i.x,o.coord1))},_drawLabel:function(){const e=this,t=[],n=e._options.rotated?e.x>=e.minX:e.y<e.minY,i=e._getCustomLabelVisibility(),r=e._topLabel,a=e._bottomLabel;r.pointPosition=n?"top":"bottom",a.pointPosition=n?"bottom":"top",(e.series.getLabelVisibility()||i)&&e.hasValue()&&!1!==i?(!1!==e.visibleTopMarker&&t.push(r),!1!==e.visibleBottomMarker&&t.push(a),(0,o.each)(t,(function(e,t){t.draw(!0)})),e._checkLabelsOverlay(e._topLabel.pointPosition)):(r.draw(!1),a.draw(!1))},_getImage:function(e){const t={};return(0,c.isDefined)(e)&&("string"==typeof e?t.top=t.bottom=e:(t.top={url:"string"==typeof e.url?e.url:e.url&&e.url.rangeMaxPoint,width:"number"==typeof e.width?e.width:e.width&&e.width.rangeMaxPoint,height:"number"==typeof e.height?e.height:e.height&&e.height.rangeMaxPoint},t.bottom={url:"string"==typeof e.url?e.url:e.url&&e.url.rangeMinPoint,width:"number"==typeof e.width?e.width:e.width&&e.width.rangeMinPoint,height:"number"==typeof e.height?e.height:e.height&&e.height.rangeMinPoint})),t},_checkSymbol:function(e,t){const n=this,i=e.symbol,o=t.symbol,r="circle"===i&&"circle"!==o||"circle"!==i&&"circle"===o,a=n._getImage(e.image),s=n._getImage(t.image),l=n._checkImage(a.top)!==n._checkImage(s.top),c=n._checkImage(a.bottom)!==n._checkImage(s.bottom);return r||l||c},_getSettingsForTwoMarkers:function(e){const t=this,n=t._options,i={},o=n.rotated?f(t.x,t.minX):t.x,r=n.rotated?t.y:f(t.y,t.minY),a=e.r,s=t._populatePointShape(n.symbol,a);return i.top=u({translateX:o+t.width,translateY:r,r:a},e),i.bottom=u({translateX:o,translateY:r+t.height,r:a},e),s&&(i.top.points=i.bottom.points=s),i},_hasGraphic:function(){return this.graphic&&this.graphic.topMarker&&this.graphic.bottomMarker},_drawOneMarker:function(e,t,n,i){const o=this,r=o.graphic;r[t]?o._updateOneMarker(t,i):r[t]=o._createMarker(e,r,n,i)},_drawMarker:function(e,t,n,i,o){const r=this,a=r._getSettingsForTwoMarkers(o||r._getStyle()),s=r._getImage(r._options.image);r._checkImage(s.top)&&(a.top=r._getImageSettings(a.top,s.top)),r._checkImage(s.bottom)&&(a.bottom=r._getImageSettings(a.bottom,s.bottom)),r.graphic=r.graphic||e.g().append(t),r.visibleTopMarker&&r._drawOneMarker(e,"topMarker",s.top,a.top),r.visibleBottomMarker&&r._drawOneMarker(e,"bottomMarker",s.bottom,a.bottom)},_getSettingsForTracker:function(e){const t=this,n=t._options.rotated;return{translateX:n?f(t.x,t.minX)-e:t.x-e,translateY:n?t.y-e:f(t.y,t.minY)-e,width:t.width+2*e,height:t.height+2*e}},isInVisibleArea:function(){const e=this,t=e._options.rotated,n=t?e.y:e.x,i=t?p(e.minX,e.x):p(e.minY,e.y),o=t?f(e.minX,e.x):f(e.minY,e.y);let r,a,s,l=!0;const c=e.series.getArgumentAxis().getVisibleArea(),u=e.series.getValueAxis().getVisibleArea(),d=c[1]<n||c[0]>n,h=u[0]>o&&u[0]>i||u[1]<o&&u[1]<i;return d||h?a=s=l=!1:(a=u[0]<=o&&u[1]>o,s=u[0]<i&&u[1]>=i,t&&(r=a,a=s,s=r)),e.visibleTopMarker=a,e.visibleBottomMarker=s,l},getTooltipParams:function(){const e=this;let t,n;const i=e._options.rotated,o=i?f(e.x,e.minX):f(e.y,e.minY),r=i?"width":"height",a=e._getVisibleArea(),s=i?a.minX:a.minY,l=i?a.maxX:a.maxY,c=p(s,o),u=f(l,o+e[r]);return i?(n=e.y,t=c+(u-c)/2):(t=e.x,n=c+(u-c)/2),{x:t,y:n,offset:0}},_translate:function(){const e=this,t=e._options.rotated;l.default._translate.call(e),e.height=t?0:h(e.minY-e.y),e.width=t?h(e.x-e.minX):0},hasCoords:function(){return l.default.hasCoords.call(this)&&!(null===this.minX||null===this.minY)},_updateData:function(e){const t=this;l.default._updateData.call(t,e),t.minValue=t.initialMinValue=t.originalMinValue=e.minValue},_getImageSettings:function(e,t){return{href:t.url||t.toString(),width:t.width||20,height:t.height||20,translateX:e.translateX,translateY:e.translateY}},getCrosshairData:function(e,t){const n=this,i=n._options.rotated,o=n.minX,r=n.minY,a=n.vx,s=n.vy,l=n.value,c=n.minValue,u=n.argument,d={axis:n.series.axis,x:a,y:s,yValue:l,xValue:u};return i?(d.yValue=u,h(a-e)<h(o-e)?d.xValue=l:(d.x=o,d.xValue=c)):h(s-t)>=h(r-t)&&(d.y=r,d.yValue=c),d},_updateOneMarker:function(e,t){this.graphic&&this.graphic[e]&&this.graphic[e].attr(t)},_updateMarker:function(e,t){this._drawMarker(void 0,void 0,!1,!1,t)},_getFormatObject:function(e){const t=this,n=t.initialMinValue,i=t.initialValue,o=t.initialArgument,r=e.formatValue(n),a=e.formatValue(i);return{argument:o,argumentText:e.formatValue(o,"argument"),valueText:r+" - "+a,rangeValue1Text:r,rangeValue2Text:a,rangeValue1:n,rangeValue2:i,seriesName:t.series.name,point:t,originalMinValue:t.originalMinValue,originalValue:t.originalValue,originalArgument:t.originalArgument}},getLabel:function(){return[this._topLabel,this._bottomLabel]},getLabels:function(){return[this._topLabel,this._bottomLabel]},getBoundingRect:a.noop,coordsIn:function(e,t){const n=this._storeTrackerR(),i=e>=this.x-n&&e<=this.x+n,o=t>=this.y-n&&t<=this.y+n;return this._options.rotated?o&&(i||e>=this.minX-n&&e<=this.minX+n):i&&(o||t>=this.minY-n&&t<=this.minY+n)},getMaxValue:function(){return"discrete"!==this.series.valueAxisType&&this.minValue>this.value?this.minValue:this.value},getMinValue:function(){return"discrete"!==this.series.valueAxisType?this.minValue<this.value?this.minValue:this.value:this.minValue}});e.exports=t.default,e.exports.default=t.default},14185:function(e,t,n){t.default=void 0;var i,o=n(52576),r=n(11528),a=(i=n(95208))&&i.__esModule?i:{default:i};const s=o.extend,l=r.isNumeric;t.default=s({},a.default,{_getPoints:function(){const e=this,t=e._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]},n=l(e.openY),i=l(e.closeY),o=e.x,r=e.width;let a=[].concat(t(o,e.highY));return n&&(a=a.concat(t(o,e.openY))),n&&(a=a.concat(t(o-r/2,e.openY))),n&&(a=a.concat(t(o,e.openY))),i&&(a=a.concat(t(o,e.closeY))),i&&(a=a.concat(t(o+r/2,e.closeY))),i&&(a=a.concat(t(o,e.closeY))),a=a.concat(t(o,e.lowY)),a},_drawMarkerInGroup:function(e,t,n){this.graphic=n.path(this._getPoints(),"line").attr({"stroke-linecap":"square"}).attr(t).data({"chart-data-point":this}).sharp().append(e)},_getMinTrackerWidth:function(){const e=2+this._styles.normal["stroke-width"];return e+e%2}});e.exports=t.default,e.exports.default=t.default},27589:function(e,t,n){t.default=void 0;var i=n(52576),o=n(21274),r=n(17781),a=n(3104),s=n(70576),l=n(11528),c=n(28779);const u=(0,a.getWindow)(),d=i.extend,h=Math,f=h.round,p=h.floor,g=h.ceil,_="canvas_position_default";t.default={deleteLabel:function(){this._label.dispose(),this._label=null},_hasGraphic:function(){return this.graphic},clearVisibility:function(){const e=this.graphic;e&&e.attr("visibility")&&e.attr({visibility:null})},isVisible:function(){return this.inVisibleArea&&this.series.isVisible()},setInvisibility:function(){const e=this,t=e.graphic;t&&"hidden"!==t.attr("visibility")&&t.attr({visibility:"hidden"}),e._errorBar&&e._errorBar.attr({visibility:"hidden"}),e._label.draw(!1)},clearMarker:function(){const e=this.graphic;e&&e.attr(this._emptySettings)},_createLabel:function(){this._label=new s.Label({renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this})},_calculateVisibility:function(e,t){const{minX:n,maxX:i,minY:o,maxY:r}=this._getVisibleArea();this.inVisibleArea=n<=e&&i>=e&&o<=t&&r>=t},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_updateLabelOptions:function(){!this._label&&this._createLabel(),this._label.setOptions(this._options.label)},_checkImage:function(e){return(0,l.isDefined)(e)&&("string"==typeof e||(0,l.isDefined)(e.url))},_fillStyle:function(){this._styles=this._options.styles},_checkSymbol:function(e,t){const n=e.symbol,i=t.symbol,o="circle"===n&&"circle"!==i||"circle"!==n&&"circle"===i,r=this._checkImage(e.image)!==this._checkImage(t.image);return!(!o&&!r)},_populatePointShape:function(e,t){switch(e){case"square":return function(e){return[-e,-e,e,-e,e,e,-e,e,-e,-e]}(t);case"polygon":return function(e){const t=g(e);return[-t,0,0,-t,t,0,0,t,-t,0]}(t);case"triangle":case"triangleDown":return function(e){return[-e,-e,e,-e,0,e,-e,-e]}(t);case"triangleUp":return function(e){return[-e,e,e,e,0,-e,-e,e]}(t);case"cross":return function(e){const t=g(e),n=p(t/2),i=g(t/2);return[-t,-n,-n,-t,0,-i,n,-t,t,-n,i,0,t,n,n,t,0,i,-n,t,-t,n,-i,0]}(t)}},hasCoords:function(){return null!==this.x&&null!==this.y},correctValue:function(e){const t=this,n=t.series.getValueAxis();t.hasValue()&&(t.value=t.properValue=n.validateUnit(t.initialValue.valueOf()+e.valueOf()),t.minValue=n.validateUnit(e))},resetCorrection:function(){this.value=this.properValue=this.initialValue,this.minValue=_},resetValue:function(){const e=this;e.hasValue()&&(e.value=e.properValue=e.initialValue=0,e.minValue=0,e._label.setDataField("value",e.value))},_getTranslates:function(e){let t=this.x,n=this.y;return e&&(this._options.rotated?t=this.defaultX:n=this.defaultY),{x:t,y:n}},_createImageMarker:function(e,t,n){const i=n.width||20,o=n.height||20;return e.image(-f(.5*i),-f(.5*o),i,o,n.url?n.url.toString():n.toString(),"center").attr({translateX:t.translateX,translateY:t.translateY,visibility:t.visibility})},_createSymbolMarker:function(e,t){let n;const i=this._options.symbol;return"circle"===i?(delete t.points,n=e.circle().attr(t)):"square"!==i&&"polygon"!==i&&"triangle"!==i&&"triangleDown"!==i&&"triangleUp"!==i&&"cross"!==i||(n=e.path([],"area").attr(t).sharp()),n},_createMarker:function(e,t,n,i){const o=this,r=o._checkImage(n)?o._createImageMarker(e,i,n):o._createSymbolMarker(e,i);return r&&r.data({"chart-data-point":o}).append(t),r},_getSymbolBBox:function(e,t,n){return{x:e-n,y:t-n,width:2*n,height:2*n}},_getImageBBox:function(e,t){const n=this._options.image,i=n.width||20,o=n.height||20;return{x:e-f(i/2),y:t-f(o/2),width:i,height:o}},_getGraphicBBox:function(){const e=this,t=e._options,n=e.x,i=e.y;let o;return o=t.visible?e._checkImage(t.image)?e._getImageBBox(n,i):e._getSymbolBBox(n,i,t.styles.normal.r):{x:n,y:i,width:0,height:0},o},hideInsideLabel:r.noop,_getShiftLabelCoords:function(e){const t=this._addLabelAlignmentAndOffset(e,this._getLabelCoords(e));return this._checkLabelPosition(e,t)},_drawLabel:function(){const e=this,t=e._getCustomLabelVisibility(),n=e._label,i=e._showForZeroValues()&&e.hasValue()&&!1!==t&&(e.series.getLabelVisibility()||t);n.draw(!!i)},correctLabelPosition:function(e){const t=this,n=t._getShiftLabelCoords(e);t.hideInsideLabel(e,n)||(e.setFigureToDrawConnector(t._getLabelConnector(e.pointPosition)),e.shift(f(n.x),f(n.y)))},_showForZeroValues:function(){return!0},_getLabelConnector:function(e){const t=this._getGraphicBBox(e),n=t.width/2,i=t.height/2;return{x:t.x+n,y:t.y+i,r:this._options.visible?Math.max(n,i):0}},_getPositionFromLocation:function(){return{x:this.x,y:this.y}},_isPointInVisibleArea:function(e,t){return e.minX<=t.x+t.width&&e.maxX>=t.x&&e.minY<=t.y+t.height&&e.maxY>=t.y},_checkLabelPosition:function(e,t){const n=this,i=n._getVisibleArea(),o=e.getBoundingRect(),r=n._getGraphicBBox(e.pointPosition),a=n._getGraphicBBox(),s="inside"===e.getLayoutOptions().position;return n._isPointInVisibleArea(i,a)&&(n._options.rotated?(i.minX>t.x&&(t.x=s?i.minX:r.x+r.width+10),i.maxX<t.x+o.width&&(t.x=s?i.maxX-o.width:r.x-10-o.width),i.minY>t.y&&(t.y=i.minY),i.maxY<t.y+o.height&&(t.y=i.maxY-o.height)):(i.minX>t.x&&(t.x=i.minX),i.maxX<t.x+o.width&&(t.x=i.maxX-o.width),i.minY>t.y&&(t.y=s?i.minY:r.y+r.height+10),i.maxY<t.y+o.height&&(t.y=s?i.maxY-o.height:r.y-o.height-10))),t},_addLabelAlignmentAndOffset:function(e,t){const n=e.getBoundingRect(),i=e.getLayoutOptions();return this._options.rotated||("left"===i.alignment?t.x+=n.width/2:"right"===i.alignment&&(t.x-=n.width/2)),t.x+=i.horizontalOffset,t.y+=i.verticalOffset,t},_getLabelCoords:function(e){return this._getLabelCoordOfPosition(e,this._getLabelPosition(e.pointPosition))},_getLabelCoordOfPosition:function(e,t){const n=e.getBoundingRect(),i=this._getGraphicBBox(e.pointPosition),o=i.height/2-n.height/2,r=i.width/2-n.width/2;let a=i.x,s=i.y;switch(t){case"left":a-=n.width+10,s+=o;break;case"right":a+=i.width+10,s+=o;break;case"top":a+=r,s-=n.height+10;break;case"bottom":a+=r,s+=i.height+10;break;case"inside":a+=r,s+=o}return{x:a,y:s}},_drawMarker:function(e,t,n){const i=this,o=i._options,r=i._getTranslates(n),a=i._getStyle();i.graphic=i._createMarker(e,t,o.image,d({translateX:r.x,translateY:r.y,points:i._populatePointShape(o.symbol,a.r)},a))},_getErrorBarSettings:function(){return{visibility:"visible"}},_getErrorBarBaseEdgeLength(){return 2*this.getPointRadius()},_drawErrorBar:function(e,t){if(!this._options.errorBars)return;const n=this,i=n._options,r=i.errorBars,a=[];let s;const u=n._errorBarPos;let d=n._highErrorCoord,h=n._lowErrorCoord;const f=(0,c.normalizeEnum)(r.displayMode),g="high"===f,_="low"===f,m=(g||!(0,l.isDefined)(h))&&(0,l.isDefined)(d)&&!_,v=(_||!(0,l.isDefined)(d))&&(0,l.isDefined)(h)&&!g;let b=r.edgeLength;b<=1&&b>0&&(b=this._getErrorBarBaseEdgeLength()*r.edgeLength),b=p(parseInt(b)/2),m&&(h=n._baseErrorBarPos),v&&(d=n._baseErrorBarPos),"none"!==f&&(0,l.isDefined)(d)&&(0,l.isDefined)(h)&&(0,l.isDefined)(u)?(!v&&a.push([u-b,d,u+b,d]),a.push([u,d,u,h]),!m&&a.push([u+b,h,u-b,h]),i.rotated&&(0,o.each)(a,(function(e,t){t.reverse()})),s=n._getErrorBarSettings(r),n._errorBar?(s.points=a,n._errorBar.attr(s)):n._errorBar=e.path(a,"line").attr(s).append(t)):n._errorBar&&n._errorBar.attr({visibility:"hidden"})},getTooltipParams:function(){const e=this,t=e.graphic;return{x:e.x,y:e.y,offset:t?t.getBBox().height/2:0}},setPercentValue:function(e,t,n,i){const o=this,r=o.value/e||0,a=o.minValue/e||0,s=r-a;o._label.setDataField("percent",s),o._label.setDataField("total",t),o.series.isFullStackedSeries()&&o.hasValue()&&(o.leftHole&&(o.leftHole/=e-n,o.minLeftHole/=e-n),o.rightHole&&(o.rightHole/=e-i,o.minRightHole/=e-i),o.value=o.properValue=r,o.minValue=a||o.minValue)},_storeTrackerR:function(){const e=this;let t=u.navigator;const n=e._options.styles.normal.r,i=(0,a.hasProperty)("ontouchstart")||t.msPointerEnabled&&t.msMaxTouchPoints||t.pointerEnabled&&t.maxTouchPoints?20:6;return e._options.trackerR=n<i?i:n,e._options.trackerR},_translateErrorBars:function(){const e=this,t=e._options,n=t.rotated,i=t.errorBars,o=e._getValTranslator();i&&((0,l.isDefined)(e.lowError)&&(e._lowErrorCoord=o.translate(e.lowError)),(0,l.isDefined)(e.highError)&&(e._highErrorCoord=o.translate(e.highError)),e._errorBarPos=p(n?e.vy:e.vx),e._baseErrorBarPos="stdDeviation"===i.type?e._lowErrorCoord+(e._highErrorCoord-e._lowErrorCoord)/2:n?e.vx:e.vy)},_translate:function(){const e=this,t=e._getValTranslator(),n=e._getArgTranslator();e._options.rotated?(e.vx=e.x=t.translate(e.value,void 0,!0),e.vy=e.y=n.translate(e.argument,void 0,!0),e.minX=t.translate(e.minValue,void 0,!0),e.defaultX=t.translate(_)):(e.vy=e.y=t.translate(e.value,void 0,!0),e.vx=e.x=n.translate(e.argument,void 0,!0),e.minY=t.translate(e.minValue,void 0,!0),e.defaultY=t.translate(_)),e._translateErrorBars(),e._calculateVisibility(e.x,e.y)},_updateData:function(e){const t=this;t.value=t.properValue=t.initialValue=t.originalValue=e.value,t.minValue=t.initialMinValue=t.originalMinValue=(0,l.isDefined)(e.minValue)?e.minValue:_},_getImageSettings:function(e){return{href:e.url||e.toString(),width:e.width||20,height:e.height||20}},getCrosshairData:function(){const e=this,t=e._options.rotated,n=e.properValue,i=e.argument;return{x:e.vx,y:e.vy,xValue:t?n:i,yValue:t?i:n,axis:e.series.axis}},getPointRadius:function(){const e=this._getStyle(),t=this._options,n=e.r;let i;const o=t.symbol,r="square"===o,a="triangle"===o||"triangleDown"===o||"triangleUp"===o;return t.visible&&!t.image&&n?(i=e["stroke-width"]/2,(r||a?1.4*n:n)+i):0},_updateMarker:function(e,t){const n=this,i=n._options;let o;const r=i.image,a=n.isVisible()?{}:{visibility:"hidden"};o=n._checkImage(r)?d({},{visibility:t.visibility},a,n._getImageSettings(r)):d({},t,a,{points:n._populatePointShape(i.symbol,t.r)}),e||(o.translateX=n.x,o.translateY=n.y),n.graphic.attr(o).sharp()},_getLabelFormatObject:function(){const e=this;return{argument:e.initialArgument,value:e.initialValue,originalArgument:e.originalArgument,originalValue:e.originalValue,seriesName:e.series.name,lowErrorValue:e.lowError,highErrorValue:e.highError,point:e}},_getLabelPosition:function(){const e=this._options.rotated;return this.initialValue>0?e?"right":"top":e?"left":"bottom"},_getFormatObject:function(e){const t=this,n=t._label.getData();return d({},n,{argumentText:e.formatValue(t.initialArgument,"argument"),valueText:e.formatValue(t.initialValue)},(0,l.isDefined)(n.percent)?{percentText:e.formatValue(n.percent,"percent")}:{},(0,l.isDefined)(n.total)?{totalText:e.formatValue(n.total)}:{})},getMarkerVisibility:function(){return this._options.visible},coordsIn:function(e,t){const n=this._storeTrackerR();return e>=this.x-n&&e<=this.x+n&&t>=this.y-n&&t<=this.y+n},getMinValue:function(e){const t=this._options.errorBars;if(t&&!e){const e=t.displayMode,n="high"!==e&&(0,l.isDefined)(this.lowError)?this.lowError:this.value,i="low"!==e&&(0,l.isDefined)(this.highError)?this.highError:this.value;return n<i?n:i}return this.value},getMaxValue:function(e){const t=this._options.errorBars;if(t&&!e){const e=t.displayMode,n="high"!==e&&(0,l.isDefined)(this.lowError)?this.lowError:this.value,i="low"!==e&&(0,l.isDefined)(this.highError)?this.highError:this.value;return n>i?n:i}return this.value}};e.exports=t.default,e.exports.default=t.default},16665:function(e,t,n){t.chart=void 0;var i=n(52576),o=n(11528),r=n(28779),a=n(17781),s=n(24008),l=n(91449),c=n(46283);const u=i.extend,d=l.chart.bar,h=c.chart.area,f=t.chart={},p={areErrorBarsVisible:a.noop,_createErrorBarGroup:a.noop,_checkData:function(e,t){const n=this.getValueFields();return s.chart._checkData.call(this,e,t,{minValue:n[0],value:n[1]})&&e.minValue==e.minValue},getValueRangeInitialValue:s.chart.getValueRangeInitialValue,_getPointDataSelector:function(e){const t=this.getValueFields(),n=t[0],i=t[1],o=this.getTagField(),r=this.getArgumentField();return e=>({tag:e[o],minValue:this._processEmptyValue(e[n]),value:this._processEmptyValue(e[i]),argument:e[r],data:e})},_defaultAggregator:"range",_aggregators:{range(e,t){let{intervalStart:n,intervalEnd:i,data:r}=e;if(!r.length)return;const a=t.getValueFields(),s=a[0],l=a[1],c=r.reduce(((e,t)=>{const n=t[s],i=t[l];return(0,o.isDefined)(n)&&(0,o.isDefined)(i)?(e[s]=Math.min(e[s],Math.min(n,i)),e[l]=Math.max(e[l],Math.max(n,i)),e):e}),{[s]:1/0,[l]:-1/0,[t.getArgumentField()]:t._getIntervalCenter(n,i)});if(!isFinite(c[s])||!isFinite(c[l])){if(r.filter((e=>null===e[s]&&null===e[l])).length!==r.length)return;c[s]=c[l]=null}return c}},getValueFields:function(){return[this._options.rangeValue1Field||"val1",this._options.rangeValue2Field||"val2"]},getSeriesPairCoord(e,t){let n=null;const{rotated:i}=this._options,o=!t&&!i||t&&i,r=o?"vy":"vx",a=i?"minX":"minY",s=o?"vx":"vy",l=this.getPoints();for(let i=0;i<l.length;i++){const o=l[i];let c;if(t)c=o.getCenterCoord()[r[1]]===e?o[s]:void 0;else{const t=[Math.min(o[r],o[a]),Math.max(o[r],o[a])];c=e>=t[0]&&e<=t[1]?o[s]:void 0}if(this._checkAxisVisibleAreaCoord(!t,c)){n=c;break}}return n}};f.rangebar=u({},d,p),f.rangearea=u({},h,{_drawPoint:function(e){const t=e.point;t.isInVisibleArea()?(t.clearVisibility(),t.draw(this._renderer,e.groups),this._drawnPoints.push(t),t.visibleTopMarker||t.hideMarker("top"),t.visibleBottomMarker||t.hideMarker("bottom")):t.setInvisibility()},_prepareSegment:function(e,t){const n=this._processSinglePointsAreaSegment(e,t),i=(0,r.map)(n,(function(e){return e.getCoords(!0)}));return{line:n,bottomLine:i,area:(0,r.map)(n,(function(e){return e.getCoords()})).concat(i.slice().reverse()),singlePointSegment:n!==e}},_getDefaultSegment:function(e){const t=h._getDefaultSegment.call(this,e);return t.bottomLine=t.line,t},_removeElement:function(e){h._removeElement.call(this,e),e.bottomLine&&e.bottomLine.remove()},_drawElement:function(e,t){const n=this,i=h._drawElement.call(n,e,t);return i.bottomLine=n._bordersGroup&&n._createBorderElement(e.bottomLine,{"stroke-width":n._styles.normal.border["stroke-width"]}).append(n._bordersGroup),i},_applyStyle:function(e){const t=this,n=t._elementsGroup,i=t._bordersGroup;n&&n.smartAttr(e.elements),i&&i.attr(e.border),(t._graphics||[]).forEach((function(t){t.line&&t.line.attr({"stroke-width":e.border["stroke-width"]}),t.bottomLine&&t.bottomLine.attr({"stroke-width":e.border["stroke-width"]})}))},_updateElement:function(e,t,n,i){const o={points:t.bottomLine},r=e.bottomLine;h._updateElement.apply(this,arguments),r&&(n?r.animate(o):r.attr(o))}},p)},24008:function(e,t,n){t.polar=t.chart=void 0;var i,o=n(52576),r=n(21274),a=(i=n(34685))&&i.__esModule?i:{default:i},s=n(11528),l=n(28779),c=n(17781);const u=Math,d=u.abs,h=u.sqrt,f=u.max,p="highError",g="lowError",_="variance",m="stddeviation",v="stderror",b="percent",y="fixed";let x=t.chart={},C=t.polar={};function S(e){let t=0;return(0,r.each)(e,(function(e,n){t+=n})),t}function w(e,t){return S((0,l.map)(e,(function(e){return(e-t)*(e-t)})))/e.length}function E(e){return(t,n)=>{let{intervalStart:i,intervalEnd:r,data:a}=t;const s=n.getValueFields()[0];let l=a[0];return l=a.reduce(((t,n)=>{const i=n[s];return null===t[s]&&(t=n),null!==i&&e(i,t[s])?n:t}),l),(0,o.extend)({},l,{[n.getArgumentField()]:n._getIntervalCenter(i,r)})}}const T={_defaultDuration:400,_defaultTrackerWidth:12,_applyStyle:c.noop,_updateOptions:c.noop,_parseStyle:c.noop,_prepareSegment:c.noop,_drawSegment:c.noop,_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup)},_createLegendState:function(e,t){return{fill:(0,l.extractColor)(e.color,!0)||t,hatching:e.hatching?(0,o.extend)({},e.hatching,{direction:"right"}):void 0}},_getColorId:c.noop,_applyElementsClipRect:function(e){e["clip-path"]=this._paneClipRectID},_applyMarkerClipRect:function(e){e["clip-path"]=this._forceClipping?this._paneClipRectID:null},_createGroup:function(e,t,n,i){const o=t[e]=t[e]||this._renderer.g();n&&o.append(n),i&&o.attr(i)},_applyClearingSettings:function(e){e.opacity=null,e.scale=null,this._options.rotated?e.translateX=null:e.translateY=null},_createGroups:function(){const e=this;e._createGroup("_markersGroup",e,e._group),e._createGroup("_labelsGroup",e)},_setMarkerGroupSettings:function(){const e=this,t=e._createPointStyles(e._getMarkerGroupOptions()).normal;t.class="dxc-markers",t.opacity=1,e._applyMarkerClipRect(t),e._markersGroup.attr(t)},getVisibleArea:function(){return this._visibleArea},areErrorBarsVisible:function(){const e=this._options.valueErrorBar;return e&&this._errorBarsEnabled()&&"none"!==e.displayMode&&(t=(0,l.normalizeEnum)(e.type),[y,b,_,m,v].includes(t)||(0,s.isDefined)(e.lowValueField)||(0,s.isDefined)(e.highValueField));var t},groupPointsByCoords(e){const t=[];return(0,r.each)(this.getVisiblePoints(),(function(n,i){const o=parseInt(e?i.vy:i.vx);t[o]?Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]:t[o]=i})),t},_createErrorBarGroup:function(e){const t=this,n=t._options.valueErrorBar;let i;t.areErrorBarsVisible()&&(i={class:"dxc-error-bars",stroke:n.color,"stroke-width":n.lineWidth,opacity:e?.001:n.opacity||1,"stroke-linecap":"square",sharp:!0,"clip-path":t._forceClipping?t._paneClipRectID:t._widePaneClipRectID},t._createGroup("_errorBarGroup",t,t._group,i))},_setGroupsSettings:function(e){const t=this;t._setMarkerGroupSettings(),t._setLabelGroupSettings(e),t._createErrorBarGroup(e)},_getCreatingPointOptions:function(){const e=this;let t,n,i=e._predefinedPointOptions;return i||(t=e._getPointOptions(),e._predefinedPointOptions=i=(0,o.extend)(!0,{styles:{}},t),n=t.styles&&t.styles.normal||{},i.styles=i.styles||{},i.styles.normal={"stroke-width":n["stroke-width"],r:n.r,opacity:n.opacity}),i},_getPointOptions:function(){return this._parsePointOptions(this._preparePointOptions(),this._options.label)},_getOptionsForPoint:function(){return this._options.point},_parsePointStyle:function(e,t,n,i){const o=e.border||{},r=void 0!==e.size?e.size:i;return{fill:(0,l.extractColor)(e.color,!0)||t,stroke:o.color||n,"stroke-width":o.visible?o.width:0,r:r/2+(o.visible&&0!==r&&~~(o.width/2)||0)}},_createPointStyles:function(e){const t=this,n=(0,l.extractColor)(e.color,!0)||t._options.mainSeriesColor,i=t._options.containerBackgroundColor,o=t._parsePointStyle(e,n,n);return o.visibility=e.visible?"visible":"hidden",{labelColor:n,normal:o,hover:t._parsePointStyle(e.hoverStyle,i,n,e.size),selection:t._parsePointStyle(e.selectionStyle,i,n,e.size)}},_checkData:function(e,t,n){return(n=n||{value:this.getValueFields()[0]}).argument=this.getArgumentField(),function(e,t,n){let i=!0;for(const o in t){const r="argument"===o;if(r||"size"===o?!(0,s.isDefined)(e[o]):void 0===e[o]){const e=t[o];r||(n[e]=(n[e]||0)+1),i=!1}}return i}(e,n,t||{})&&e.value==e.value},getArgumentRangeInitialValue(){const e=this.getPoints();var t,n;if(this.useAggregation()&&e.length)return{min:null===(t=e[0].aggregationInfo)||void 0===t?void 0:t.intervalStart,max:null===(n=e[e.length-1].aggregationInfo)||void 0===n?void 0:n.intervalEnd}},getValueRangeInitialValue:function(){},_getRangeData:function(){return a.default.getRangeData(this)},_getPointDataSelector:function(){const e=this.getValueFields()[0],t=this.getArgumentField(),n=this.getTagField(),i=this.areErrorBarsVisible();let o,r;if(i){const e=this._options.valueErrorBar;o=e.lowValueField||g,r=e.highValueField||p}return a=>{const s={value:this._processEmptyValue(a[e]),argument:a[t],tag:a[n],data:a};return i&&(s.lowError=a[o],s.highError=a[r]),s}},_errorBarsEnabled:function(){return"discrete"!==this.valueAxisType&&"logarithmic"!==this.valueAxisType&&"datetime"!==this.valueType},_drawPoint:function(e){const t=e.point;t.isInVisibleArea()?(t.clearVisibility(),t.draw(this._renderer,e.groups,e.hasAnimation,e.firstDrawing),this._drawnPoints.push(t)):t.setInvisibility()},_animateComplete:function(){const e=this,t={duration:e._defaultDuration};e._labelsGroup&&e._labelsGroup.animate({opacity:1},t),e._errorBarGroup&&e._errorBarGroup.animate({opacity:e._options.valueErrorBar.opacity||1},t)},_animate:function(){const e=this,t=e._drawnPoints.length-1;(0,r.each)(e._drawnPoints||[],(function(n,i){i.animate(n===t?function(){e._animateComplete()}:void 0,{translateX:i.x,translateY:i.y})}))},_getIntervalCenter(e,t){const n=this.getArgumentAxis(),i=n.getOptions();return n.aggregatedPointBetweenTicks()?e:"discrete"!==i.type?n.getVisualRangeCenter({minVisible:e,maxVisible:t},!0):e},_defaultAggregator:"avg",_aggregators:{avg(e,t){let{data:n,intervalStart:i,intervalEnd:o}=e;if(!n.length)return;const r=t.getValueFields()[0],a=n.reduce(((e,t)=>{const n=t[r];return(0,s.isDefined)(n)?(e[0]+=n,e[1]++):null===n&&e[2]++,e}),[0,0,0]);return function(e,t,n){const i=n.getOptions().valueErrorBar,o=n.getValueFields()[0],r=i.lowValueField||g,a=i.highValueField||p;if(n.areErrorBarsVisible()&&void 0===i.type){const n=t.reduce((function(e,t){return(0,s.isDefined)(t[r])&&(e[0]+=t[o]-t[r],e[1]++),(0,s.isDefined)(t[a])&&(e[2]+=t[a]-t[o],e[3]++),e}),[0,0,0,0]);n[1]&&(e[r]=e[o]-n[0]/n[1]),n[2]&&(e[a]=e[o]+n[2]/n[3])}return e}({[r]:a[2]===n.length?null:a[0]/a[1],[t.getArgumentField()]:t._getIntervalCenter(i,o)},n,t)},sum(e,t){let{intervalStart:n,intervalEnd:i,data:o}=e;if(!o.length)return;const r=t.getValueFields()[0],a=o.reduce(((e,t)=>{const n=t[r];return void 0!==n&&(e[0]+=n),null===n?e[1]++:void 0===n&&e[2]++,e}),[0,0,0]);let s=a[0];return a[1]===o.length&&(s=null),a[2]!==o.length?function(e,t,n){const i=n.getOptions().valueErrorBar,o=i.lowValueField||g,r=i.highValueField||p;return n.areErrorBarsVisible()&&void 0===i.type&&(e[o]=0,e[r]=0,e=t.reduce((function(e,t){return e[o]+=t[o],e[r]+=t[r],e}),e)),e}({[r]:s,[t.getArgumentField()]:t._getIntervalCenter(n,i)},o,t):void 0},count(e,t){let{data:n,intervalStart:i,intervalEnd:o}=e;const r=t.getValueFields()[0];return{[t.getArgumentField()]:t._getIntervalCenter(i,o),[r]:n.filter((e=>void 0!==e[r])).length}},min:E(((e,t)=>e<t)),max:E(((e,t)=>e>t))},_endUpdateData:function(){delete this._predefinedPointOptions},getArgumentField:function(){return this._options.argumentField||"arg"},getValueFields:function(){const e=this._options,t=e.valueErrorBar,n=[e.valueField||"val"];let i,o;return t&&(i=t.lowValueField,o=t.highValueField,(0,s.isString)(i)&&n.push(i),(0,s.isString)(o)&&n.push(o)),n},_calculateErrorBars:function(e){if(!this.areErrorBarsVisible())return;const t=this._options.valueErrorBar,n=(0,l.normalizeEnum)(t.type);let i=parseFloat(t.value);const o=this.getValueFields()[0];let a;const c=t.lowValueField||g,u=t.highValueField||p;let d,f,x,C;const E=function(e,t){a=t.value,t.lowError=a-i,t.highError=a+i};switch(n){case y:C=E;break;case b:C=function(e,t){a=t.value;const n=a*i/100;t.lowError=a-n,t.highError=a+n};break;case"undefined":C=function(e,t){t.lowError=t.data[c],t.highError=t.data[u]};break;default:switch(d=(0,l.map)(e,(function(e){return(0,s.isDefined)(e.data[o])?e.data[o]:null})),f=d.length,i=i||1,n){case _:i=w(d,S(d)/f)*i,C=E;break;case m:x=S(d)/f,i=h(w(d,x))*i,C=function(e,t){t.lowError=x-i,t.highError=x+i};break;case v:i=h(w(d,S(d)/f)/f)*i,C=E}}C&&(0,r.each)(e,C)},_patchMarginOptions:function(e){const t=this._getCreatingPointOptions(),n=t.styles,i=[n.normal,n.hover,n.selection].reduce((function(e,t){return f(e,2*t.r+t["stroke-width"])}),0);return e.size=t.visible?i:0,e.sizePointNormalState=t.visible?2*n.normal.r+n.normal["stroke-width"]:2,e},usePointsToDefineAutoHiding(){return!!this._getOptionsForPoint().visible}};t.chart=x=(0,o.extend)({},T,{drawTrackers:function(){const e=this;let t,n;const i=e._segments||[],o=e._options.rotated;e.isVisible()&&(i.length&&(t=e._trackers=e._trackers||[],n=e._trackersGroup=(e._trackersGroup||e._renderer.g().attr({fill:"gray",opacity:.001,stroke:"gray",class:"dxc-trackers"})).attr({"clip-path":this._paneClipRectID||null}).append(e._group),(0,r.each)(i,(function(i,o){t[i]?e._updateTrackerElement(o,t[i]):t[i]=e._drawTrackerElement(o).data({"chart-data-series":e}).append(n)}))),e._trackersTranslator=e.groupPointsByCoords(o))},_checkAxisVisibleAreaCoord(e,t){const n=(e?this.getArgumentAxis():this.getValueAxis()).getVisibleArea();return(0,s.isDefined)(t)&&n[0]<=t&&n[1]>=t},checkSeriesViewportCoord(e,t){return this.getPoints().length&&this.isVisible()},getSeriesPairCoord(e,t){let n=null;const i=!t&&!this._options.rotated||t&&this._options.rotated,o=i?"vy":"vx",r=i?"vx":"vy",a=this.getVisiblePoints();for(let i=0;i<a.length;i++){const s=a[i],l=s[o]===e?s[r]:void 0;if(this._checkAxisVisibleAreaCoord(!t,l)){n=l;break}}return n},_getNearestPoints:(e,t)=>[e,t],_getBezierPoints:()=>[],_getNearestPointsByCoord(e,t){const n=this,i=n.getOptions().rotated,o=!t&&!i||t&&i?"vy":"vx",r=n.getPoints(),a=n._getBezierPoints(),s=[];return r.length>1?r.forEach(((t,i)=>{const l=r[i+1];l&&(t[o]<=e&&l[o]>=e||t[o]>=e&&l[o]<=e)&&s.push(n._getNearestPoints(t,l,a))})):s.push([r[0],r[0]]),s},getNeighborPoint:function(e,t){let n=this._options.rotated?t:e,i=n;const o=this._trackersTranslator;let a,s=null;const l=this._options.rotated?e:t,c=this._options.rotated?"vx":"vy";if(this.isVisible()&&o){s=o[n];do{s=o[i]||o[n],n--,i++}while((n>=0||i<o.length)&&!s);Array.isArray(s)&&(a=d(s[0][c]-l),(0,r.each)(s,(function(e,t){const n=d(t[c]-l);a>=n&&(a=n,s=t)})))}return s},_applyVisibleArea:function(){const e=this,t=e._options.rotated,n=(t?e.getValueAxis():e.getArgumentAxis()).getVisibleArea(),i=(t?e.getArgumentAxis():e.getValueAxis()).getVisibleArea();e._visibleArea={minX:n[0],maxX:n[1],minY:i[0],maxY:i[1]}},getPointCenterByArg(e){const t=this.getPointsByArg(e)[0];return t?t.getCenterCoord():void 0}}),t.polar=C=(0,o.extend)({},T,{drawTrackers:function(){x.drawTrackers.call(this);const e=this._trackersTranslator;let t;this.isVisible()&&((0,r.each)(e,(function(e,n){if(n)return t=e,!1})),e[t+360]=e[t])},getNeighborPoint:function(e,t){const n=(0,l.convertXYToPolar)(this.getValueAxis().getCenter(),e,t);return x.getNeighborPoint.call(this,n.phi,n.r)},_applyVisibleArea:function(){const e=this.getValueAxis().getCanvas();this._visibleArea={minX:e.left,maxX:e.width-e.right,minY:e.top,maxY:e.height-e.bottom}},getSeriesPairCoord(e,t){let n=null;const i=t?"argument":"radius",o=this.getVisiblePoints();for(let t=0;t<o.length;t++){const r=o[t],a=(0,s.isDefined)(r[i])&&(0,s.isDefined)(e[i])&&r[i].valueOf()===e[i].valueOf()?{x:r.x,y:r.y}:void 0;if((0,s.isDefined)(a)){n=a;break}}return n}})},33277:function(e,t,n){t.polar=t.chart=void 0;var i=n(17781),o=n(52576),r=n(21274),a=n(46283),s=n(91449),l=n(85854),c=n(28779),u=n(22263);const d=a.chart.area,h=s.chart.bar,f={_calculateErrorBars:i.noop,_updateOptions:function(e){this._stackName="axis_"+(e.axis||"default")}},p=t.chart={},g=t.polar={};p.stackedline=(0,o.extend)({},l.chart.line,f,{}),p.stackedspline=(0,o.extend)({},l.chart.spline,f,{}),p.fullstackedline=(0,o.extend)({},l.chart.line,f,{getValueRangeInitialValue:a.chart.area.getValueRangeInitialValue}),p.fullstackedspline=(0,o.extend)({},l.chart.spline,f,{getValueRangeInitialValue:a.chart.area.getValueRangeInitialValue});const _=p.stackedbar=(0,o.extend)({},h,f,{_updateOptions:function(e){f._updateOptions.call(this,e),this._stackName=this._stackName+"_stack_"+(e.stack||"default")}});function m(e,t,n,i){return(e=(0,u.clone)(e)).value=t,e.minValue=n,e.translate(),e.argument=e.argument+i,e}function v(e){let t,n=0;const i=[];let o;const r=e.length;for(;n<r;)t=e[n],o=[t],t.leftHole&&(o=[m(t,t.leftHole,t.minLeftHole,"left"),t]),t.rightHole&&o.push(m(t,t.rightHole,t.minRightHole,"right")),i.push(o),n++;return[].concat.apply([],i)}p.fullstackedbar=(0,o.extend)({},h,f,{_updateOptions:_._updateOptions}),p.stackedarea=(0,o.extend)({},d,f,{_prepareSegment:function(e,t){return d._prepareSegment.call(this,v(e),t)},_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup).toBackground()}}),p.stackedsplinearea=(0,o.extend)({},a.chart.splinearea,f,{_prepareSegment:function(e,t){const n=this;let i;if(e=v(e),this._prevSeries&&1!==e.length){const o=l.chart.spline._calculateBezierPoints(e,t);let a=(0,c.map)(e,(function(e){const t=e.getCoords(!0);return t.argument=e.argument,t})),s=[];const u={};let d=0;const h=n._prevSeries._segments.length;for(;d<h;)s=s.concat(n._prevSeries._segments[d].line),d++;(0,r.each)(s,(function(e,t){if(null!==t.argument){const e=t.argument.valueOf();u[e]?u[e].push(t):u[e]=[t]}})),n._prevSeries._segmentByArg=u,a=l.chart.spline._calculateBezierPoints(a,t),(0,r.each)(a,(function(e,t){const i=t.argument.valueOf();let o;e%3==0&&(o=u[i]||function(e,t){let n;for(;!n&&e;)n=e._segmentByArg&&e._segmentByArg[t],e=e._prevSeries;return n}(n._prevSeries,i),o&&(a[e-1]&&o[0]&&(a[e-1]=o[0]),a[e+1]&&(a[e+1]=o[2]||t)))})),i={line:o,area:o.concat(a.reverse())},n._areaPointsToSplineAreaPoints(i.area)}else i=a.chart.splinearea._prepareSegment.call(this,e,t);return i},_appendInGroup:p.stackedarea._appendInGroup}),p.fullstackedarea=(0,o.extend)({},d,f,{_prepareSegment:p.stackedarea._prepareSegment,_appendInGroup:p.stackedarea._appendInGroup}),p.fullstackedsplinearea=(0,o.extend)({},a.chart.splinearea,f,{_prepareSegment:p.stackedsplinearea._prepareSegment,_appendInGroup:p.stackedarea._appendInGroup}),g.stackedbar=(0,o.extend)({},s.polar.bar,f,{_updateOptions:function(e){f._updateOptions.call(this,e),this._stackName=this._stackName+"_stack_"+(e.stack||"default")}})},71871:function(e,t,n){t.default=void 0;var i,o=(i=n(47206))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},55676:function(e,t,n){t.default=void 0;var i=_(n(92774)),o=_(n(64960)),r=n(11528),a=_(n(34506)),s=n(52576),l=n(98834),c=_(n(89797)),u=n(28779),d=_(n(64553)),h=n(64174),f=n(17781),p=n(23277),g=n(74754);function _(e){return e&&e.__esModule?e:{default:e}}const m="sparkline-tooltip",v=(0,l.addNamespace)([c.default.down,c.default.move],m),b=s.extend,y=Math.floor;function x(e){let{data:t}=e;const n=t.widget;n._enableOutHandler(),n._showTooltip()}function C(e){const t=new h.Translator2D({},{},{shiftZeroValue:!e,isHorizontal:!!e});return{getTranslator:function(){return t},update:function(e,n,i){t.update(e,n,i)},getVisibleArea(){const e=t.getCanvasVisibleArea();return[e.min,e.max]},visualRange:f.noop,calculateInterval:f.noop,getMarginOptions:()=>({}),aggregatedPointBetweenTicks:()=>!1}}let S;const w=a.default.inherit({_getLayoutItems:f.noop,_useLinks:!1,_themeDependentChanges:["OPTIONS"],_initCore:function(){const e=this;e._tooltipTracker=e._renderer.root,e._tooltipTracker.attr({"pointer-events":"visible"}),e._createHtmlElements(),e._initTooltipEvents(),e._argumentAxis=C(!0),e._valueAxis=C()},_getDefaultSize:function(){return this._defaultSize},_disposeCore:function(){this._disposeWidgetElements(),this._disposeTooltipEvents(),this._ranges=null},_optionChangesOrder:["OPTIONS"],_change_OPTIONS:function(){this._prepareOptions(),this._change(["UPDATE"])},_customChangesOrder:["UPDATE"],_change_UPDATE:function(){this._update()},_update:function(){const e=this;e._tooltipShown&&(e._tooltipShown=!1,e._tooltip.hide()),e._cleanWidgetElements(),e._updateWidgetElements(),e._drawWidgetElements()},_updateWidgetElements:function(){const e=this._getCorrectCanvas();this._updateRange(),this._argumentAxis.update(this._ranges.arg,e,this._getStick()),this._valueAxis.update(this._ranges.val,e)},_getStick:function(){},_applySize:function(e){this._allOptions.size={width:e[2]-e[0],height:e[3]-e[1]},this._change(["UPDATE"])},_setupResizeHandler:f.noop,_prepareOptions:function(){return b(!0,{},this._themeManager.theme(),this.option())},_getTooltipCoords:function(){const e=this._canvas,t=this._renderer.getRootOffset();return{x:e.width/2+t.left,y:e.height/2+t.top}},_initTooltipEvents(){const e={widget:this};this._renderer.root.off("."+m).on(v,e,x)},_showTooltip(){const e=this;let t;e._tooltipShown||(e._tooltipShown=!0,t=e._getTooltip(),t.isEnabled()&&e._tooltip.show(e._getTooltipData(),e._getTooltipCoords(),{}))},_hideTooltip(){this._tooltipShown&&(this._tooltipShown=!1,this._tooltip.hide())},_stopCurrentHandling(){this._hideTooltip()},_enableOutHandler(){const e=this;if(e._outHandler)return;const t=t=>{let{pageX:n,pageY:i}=t;const{left:o,top:r}=e._renderer.getRootOffset(),a=y(n-o),s=y(i-r);(function(e,t,n){let{width:i,height:o}=e;return(0,u.pointInCanvas)({left:0,top:0,right:i,bottom:o,width:i,height:o},t,n)})(e._canvas,a,s)||(e._hideTooltip(),e._disableOutHandler())};i.default.on(o.default.getDocument(),v,t),this._outHandler=t},_disableOutHandler(){this._outHandler&&i.default.off(o.default.getDocument(),v,this._outHandler),this._outHandler=null},_disposeTooltipEvents:function(){this._tooltipTracker.off(),this._disableOutHandler(),this._renderer.root.off("."+m)},_getTooltip:function(){const e=this;return e._tooltip||(S.apply(this,arguments),e._setTooltipRendererOptions(e._tooltipRendererOptions),e._tooltipRendererOptions=null,e._setTooltipOptions()),e._tooltip}});t.default=w;w.addPlugin(p.plugin),S=w.prototype._initTooltip,w.prototype._initTooltip=f.noop;const E=w.prototype._disposeTooltip;w.prototype._disposeTooltip=function(){this._tooltip&&E.apply(this,arguments)},w.prototype._setTooltipRendererOptions=function(){const e=this._getRendererOptions();this._tooltip?this._tooltip.setRendererOptions(e):this._tooltipRendererOptions=e},w.prototype._setTooltipOptions=function(){if(this._tooltip){const e=this._getOption("tooltip"),t=this._getDefaultTooltipTemplate(e),n=b(t?{contentTemplate:t}:{},e,{enabled:e.enabled&&this._isTooltipEnabled()});this._tooltip.update(n)}},w.prototype._getDefaultTooltipTemplate=function(e){let t=!0;const n=this.option("rtlEnabled")?"left":"right";if((0,r.isFunction)(e.customizeTooltip)){this._tooltip.update(e);const n=this._getTooltipData(),i=e.customizeTooltip.call(n,n)??{};t=!("html"in i)&&!("text"in i)}return t&&function(e,t){let{lineSpacing:n,size:i}=e;const o=`${(n??2)+i}px`;return function(e,n){let{valueText:i}=e;const r=(0,d.default)("<table>").css({borderSpacing:0,lineHeight:o});for(let e=0;e<i.length;e+=2){const n=(0,d.default)("<tr>");(0,d.default)("<td>").text(i[e]).appendTo(n),(0,d.default)("<td>").css({width:15}).appendTo(n),(0,d.default)("<td>").css({textAlign:t}).text(i[e+1]).appendTo(n),r.append(n)}n.append(r)}}(e.font,n)};const T=(0,s.extend)(!0,{},g.plugin,{init:f.noop,dispose:f.noop,customize:null,members:{_getExportMenuOptions:null}});w.addPlugin(T),e.exports=t.default,e.exports.default=t.default},92633:function(e,t,n){t.default=void 0;var i=n(21274),o=a(n(55676)),r=a(n(92848));function a(e){return e&&e.__esModule?e:{default:e}}const s=Number,l=isFinite,c=o.default.inherit({_rootClassPrefix:"dxb",_rootClass:"dxb-bullet",_themeSection:"bullet",_defaultSize:{width:300,height:30,left:1,right:1,top:2,bottom:2},_disposeWidgetElements:function(){delete this._zeroLevelPath,delete this._targetPath,delete this._barValuePath},_cleanWidgetElements:function(){this._zeroLevelPath.remove(),this._targetPath.remove(),this._barValuePath.remove()},_drawWidgetElements:function(){this._drawBullet(),this._drawn()},_createHtmlElements:function(){const e=this._renderer;this._zeroLevelPath=e.path(void 0,"line").attr({class:"dxb-zero-level","stroke-linecap":"square"}),this._targetPath=e.path(void 0,"line").attr({class:"dxb-target","stroke-linecap":"square"}),this._barValuePath=e.path(void 0,"line").attr({class:"dxb-bar-value","stroke-linecap":"square"})},_prepareOptions:function(){const e=this;let t,n,i,o,r,a;e._allOptions=t=e.callBase();const l=void 0===e._allOptions.value,c=void 0===e._allOptions.target;e._tooltipEnabled=!(l&&c),l&&(e._allOptions.value=0),c&&(e._allOptions.target=0),t.value=r=s(t.value),t.target=a=s(t.target),void 0===e._allOptions.startScaleValue&&(e._allOptions.startScaleValue=a<r?a:r,e._allOptions.startScaleValue=e._allOptions.startScaleValue<0?e._allOptions.startScaleValue:0),void 0===e._allOptions.endScaleValue&&(e._allOptions.endScaleValue=a>r?a:r),t.startScaleValue=n=s(t.startScaleValue),t.endScaleValue=i=s(t.endScaleValue),i<n&&(o=i,e._allOptions.endScaleValue=n,e._allOptions.startScaleValue=o,e._allOptions.inverted=!0)},_updateRange:function(){const e=this._allOptions;this._ranges={arg:{invert:e.rtlEnabled?!e.inverted:e.inverted,min:e.startScaleValue,max:e.endScaleValue,axisType:"continuous",dataType:"numeric"},val:{min:0,max:1,axisType:"continuous",dataType:"numeric"}}},_drawBullet:function(){const e=this._allOptions,t=e.startScaleValue!==e.endScaleValue,n=l(e.startScaleValue),i=l(e.endScaleValue),o=l(e.value),r=l(e.target);t&&i&&n&&r&&o&&(this._drawBarValue(),this._drawTarget(),this._drawZeroLevel())},_getTargetParams:function(){const e=this,t=e._allOptions,n=e._valueAxis.getTranslator(),i=e._argumentAxis.getTranslator().translate(t.target);return{points:[i,n.translate(.02),i,n.translate(.98)],stroke:t.targetColor,"stroke-width":t.targetWidth}},_getBarValueParams:function(){const e=this,t=e._allOptions,n=e._argumentAxis.getTranslator(),i=e._valueAxis.getTranslator(),o=t.startScaleValue,r=t.endScaleValue,a=t.value,s=i.translate(.1),l=i.translate(.9);let c,u;return a>0?(c=o<=0?0:o,u=a>=r?r:a<c?c:a):(c=r>=0?0:r,u=a<o?o:a>c?c:a),c=n.translate(c),u=n.translate(u),{points:[c,l,u,l,u,s,c,s],fill:t.color}},_getCorrectCanvas:function(){return this._canvas},_getZeroLevelParams:function(){const e=this,t=e._valueAxis.getTranslator(),n=e._argumentAxis.getTranslator().translate(0);return{points:[n,t.translate(.02),n,t.translate(.98)],stroke:e._allOptions.targetColor,"stroke-width":1}},_drawZeroLevel:function(){const e=this,t=e._allOptions;0>t.endScaleValue||0<t.startScaleValue||!t.showZeroLevel||e._zeroLevelPath.attr(e._getZeroLevelParams()).sharp().append(e._renderer.root)},_drawTarget:function(){const e=this,t=e._allOptions,n=t.target;n>t.endScaleValue||n<t.startScaleValue||!t.showTarget||e._targetPath.attr(e._getTargetParams()).sharp().append(e._renderer.root)},_drawBarValue:function(){this._barValuePath.attr(this._getBarValueParams()).append(this._renderer.root)},_getTooltipCoords:function(){const e=this._canvas,t=this._renderer.getRootOffset(),n=this._barValuePath.getBBox();return{x:n.x+n.width/2+t.left,y:e.height/2+t.top}},_getTooltipData:function(){const e=this._tooltip,t=this._allOptions,n=t.value,i=t.target,o=e.formatValue(n),r=e.formatValue(i);return{originalValue:n,originalTarget:i,value:o,target:r,valueText:["Actual Value:",o,"Target Value:",r]}},_isTooltipEnabled:function(){return this._tooltipEnabled}});(0,i.each)(["color","targetColor","targetWidth","showTarget","showZeroLevel","value","target","startScaleValue","endScaleValue"],(function(e,t){c.prototype._optionChangesMap[t]="OPTIONS"})),(0,r.default)("dxBullet",c);t.default=c;e.exports=t.default,e.exports.default=t.default},47206:function(e,t,n){t.default=void 0;var i=u(n(55676)),o=n(39104),r=n(66151),a=n(28779),s=n(11528),l=u(n(92848)),c=n(25058);function u(e){return e&&e.__esModule?e:{default:e}}const d={line:!0,spline:!0,stepline:!0,area:!0,steparea:!0,splinearea:!0,bar:!0,winloss:!0},h=Math,f=h.abs,p=h.round,g=h.max,_=h.min,m=isFinite,v=Number,b=String;function y(e,t,n,i){return n!==i.first&&n!==i.last||(e=t.firstLastColor),(i.min||[]).indexOf(n)>=0&&(e=t.minColor),(i.max||[]).indexOf(n)>=0&&(e=t.maxColor),e}const x=i.default.inherit({_rootClassPrefix:"dxsl",_rootClass:"dxsl-sparkline",_themeSection:"sparkline",_defaultSize:{width:250,height:30},_initCore:function(){this.callBase(),this._createSeries()},_initialChanges:["DATA_SOURCE"],_dataSourceChangedHandler:function(){this._requestChange(["UPDATE"])},_updateWidgetElements:function(){this._updateSeries(),this.callBase()},_disposeWidgetElements:function(){const e=this;e._series&&e._series.dispose(),e._series=e._seriesGroup=e._seriesLabelGroup=null},_cleanWidgetElements:function(){this._seriesGroup.remove(),this._seriesLabelGroup.remove(),this._seriesGroup.clear(),this._seriesLabelGroup.clear(),this._series.removeGraphicElements(),this._series.removePointElements(),this._series.removeBordersGroup()},_drawWidgetElements:function(){this._dataIsLoaded()&&(this._drawSeries(),this._drawn())},_getCorrectCanvas:function(){const e=this._allOptions,t=this._canvas,n=e.pointSize&&Math.ceil(e.pointSize/2)+2,i=e.type;return"bar"!==i&&"winloss"!==i&&(e.showFirstLast||e.showMinMax)?{width:t.width,height:t.height,left:t.left+n,right:t.right+n,top:t.top+n,bottom:t.bottom+n}:t},_prepareOptions:function(){const e=this;e._allOptions=e.callBase(),e._allOptions.type=(0,a.normalizeEnum)(e._allOptions.type),d[e._allOptions.type]||(e._allOptions.type="line")},_createHtmlElements:function(){this._seriesGroup=this._renderer.g().attr({class:"dxsl-series"}),this._seriesLabelGroup=this._renderer.g().attr({class:"dxsl-series-labels"})},_createSeries:function(){this._series=new r.Series({renderer:this._renderer,seriesGroup:this._seriesGroup,labelsGroup:this._seriesLabelGroup,argumentAxis:this._argumentAxis,valueAxis:this._valueAxis,incidentOccurred:this._incidentOccurred},{widgetType:"chart",type:"line"})},_updateSeries:function(){const e=this,t=e._series;e._prepareDataSource();const n=e._prepareSeriesOptions();t.updateOptions(n);const i={groups:[{series:[t]}]};i.argumentOptions={type:"bar"===n.type?"discrete":void 0},e._simpleDataSource=(0,o.validateData)(e._simpleDataSource,i,e._incidentOccurred,{checkTypeForAllData:!1,convertToAxisDataType:!0,sortingMethod:!0})[t.getArgumentField()],n.customizePoint=e._getCustomizeFunction(),t.updateData(e._simpleDataSource),t.createPoints(),e._groupsDataCategories=i.categories},_optionChangesMap:{dataSource:"DATA_SOURCE"},_optionChangesOrder:["DATA_SOURCE"],_change_DATA_SOURCE:function(){this._updateDataSource()},_prepareDataSource:function(){const e=this,t=e._allOptions,n=t.argumentField,i=t.valueField,o=function(e,t,n,i){return(0,a.map)(e,(function(e,o){let r,a,s=null;return void 0!==e&&(s={},r=m(e),s[t]=r?b(o):e[t],a=r?e:e[n],s[n]=null===a?i?void 0:a:v(a),s=void 0!==s[t]&&void 0!==s[n]?s:null),s}))}(e._dataSourceItems()||[],n,i,e.option("ignoreEmptyPoints"));"winloss"===t.type?(e._winlossDataSource=o,e._simpleDataSource=function(e,t,n,i){return(0,a.map)(e,(function(e){const o={};return o[t]=e[t],f(e[n]-i)<1e-4?o[n]=0:e[n]>i?o[n]=1:o[n]=-1,o}))}(o,n,i,t.winlossThreshold)):e._simpleDataSource=o},_prepareSeriesOptions:function(){const e=this._allOptions,t="winloss"===e.type?"bar":e.type;return{visible:!0,argumentField:e.argumentField,valueField:e.valueField,color:e.lineColor,width:e.lineWidth,widgetType:"chart",name:"",type:t,opacity:-1!==t.indexOf("area")?this._allOptions.areaOpacity:void 0,point:{size:e.pointSize,symbol:e.pointSymbol,border:{visible:!0,width:2},color:e.pointColor,visible:!1,hoverStyle:{border:{}},selectionStyle:{border:{}}},border:{color:e.lineColor,width:e.lineWidth,visible:"bar"!==t}}},_getCustomizeFunction:function(){const e=this,t=e._allOptions,n=e._winlossDataSource||e._simpleDataSource,i=e._getExtremumPointsIndexes(n);let o;return o="winloss"===t.type||"bar"===t.type?function(e,t,n){return function(){const i=this.index,o="winloss"===t.type,r=o?t.winlossThreshold:0,a=o?n[i][t.valueField]:this.value,s=o?t.winColor:t.barPositiveColor,l=o?t.lossColor:t.barNegativeColor;return{color:y(a>=r?s:l,t,i,e)}}}(i,t,e._winlossDataSource):function(e,t){return function(){const n=y(void 0,t,this.index,e);return n?{visible:!0,border:{color:n}}:{}}}(i,t),o},_getExtremumPointsIndexes:function(e){const t=this,n=t._allOptions,i=e.length-1,o={};return t._minMaxIndexes=function(e,t){const n=(e[0]||{})[t]||0;let i=n,o=n,r=[0],a=[0];const s=e.length;let l,c;for(c=1;c<s;c++)l=e[c][t],l<i?(i=l,r=[c]):l===i&&r.push(c),l>o?(o=l,a=[c]):l===o&&a.push(c);return o===i&&(r=a=[]),{minIndexes:r,maxIndexes:a}}(e,n.valueField),n.showFirstLast&&(o.first=0,o.last=i),n.showMinMax&&(o.min=t._minMaxIndexes.minIndexes,o.max=t._minMaxIndexes.maxIndexes),o},_getStick:function(){return{stick:"bar"!==this._series.type}},_updateRange:function(){const e=this,t=e._series,n=t.type,i="bar"===n,o="winloss"===n,r=t.getRangeData(),a=e._allOptions.minValue,l=(0,s.isDefined)(a)&&m(a),c=e._allOptions.maxValue,u=(0,s.isDefined)(c)&&m(c);let d;const h=.15*(r.val.max-r.val.min);i||o||"area"===n?(0!==r.val.min&&(r.val.min-=h),0!==r.val.max&&(r.val.max+=h)):(r.val.min-=h,r.val.max+=h),(l||u)&&(l&&u?(r.val.minVisible=_(a,c),r.val.maxVisible=g(a,c)):(r.val.minVisible=l?v(a):void 0,r.val.maxVisible=u?v(c):void 0),o&&(r.val.minVisible=l?g(r.val.minVisible,-1):void 0,r.val.maxVisible=u?_(r.val.maxVisible,1):void 0)),t.getPoints().length>1&&i&&(d=.1*(r.arg.max-r.arg.min),r.arg.min=r.arg.min-d,r.arg.max=r.arg.max+d),r.arg.categories=e._groupsDataCategories,e._ranges=r},_getBarWidth:function(e){const t=this._canvas,n=4*e,i=t.width-t.left-t.right-n;let o=p(i/e);return o<1&&(o=1),o>50&&(o=50),o},_correctPoints:function(){const e=this,t=e._allOptions.type,n=e._series.getPoints(),i=n.length;let o,r;if("bar"===t||"winloss"===t)for(o=e._getBarWidth(i),r=0;r<i;r++)n[r].correctCoordinates({width:o,offset:0})},_drawSeries:function(){const e=this;e._simpleDataSource.length>0&&(e._correctPoints(),e._series.draw(),e._seriesGroup.append(e._renderer.root))},_isTooltipEnabled:function(){return!!this._simpleDataSource.length},_getTooltipData:function(){const e=this,t=e._allOptions,n=e._winlossDataSource||e._simpleDataSource,i=e._tooltip;if(0===n.length)return{};const o=e._minMaxIndexes,r=t.valueField,a=n[0][r],l=n[n.length-1][r],c=(0,s.isDefined)(o.minIndexes[0])?n[o.minIndexes[0]][r]:a,u=(0,s.isDefined)(o.maxIndexes[0])?n[o.maxIndexes[0]][r]:a,d=i.formatValue(a),h=i.formatValue(l),f=i.formatValue(c),p=i.formatValue(u),g={firstValue:d,lastValue:h,minValue:f,maxValue:p,originalFirstValue:a,originalLastValue:l,originalMinValue:c,originalMaxValue:u,valueText:["Start:",d,"End:",h,"Min:",f,"Max:",p]};return"winloss"===t.type&&(g.originalThresholdValue=t.winlossThreshold,g.thresholdValue=i.formatValue(t.winlossThreshold)),g}});(0,a.map)(["lossColor","lineColor","lineWidth","areaOpacity","minColor","maxColor","barPositiveColor","barNegativeColor","winColor","lessColor","firstLastColor","pointSymbol","pointColor","pointSize","type","argumentField","valueField","winlossThreshold","showFirstLast","showMinMax","ignoreEmptyPoints","minValue","maxValue"],(function(e){x.prototype._optionChangesMap[e]="OPTIONS"})),(0,l.default)("dxSparkline",x);t.default=x;x.addPlugin(c.plugin),e.exports=t.default,e.exports.default=t.default},84560:function(e,t,n){t.addCacheItem=function(e){const t=++w;e._cache=t,E[t]=e},t.currentTheme=O,t.getTheme=T,t.refreshTheme=function(){return Object.keys(E).forEach((e=>{E[e].refresh()})),this},t.registerTheme=k,t.registerThemeSchemeAlias=function(e,t){y[e]=t},t.removeCacheItem=function(e){delete E[e._cache]};var i=n(52576),o=n(28779),r=n(52071),a=n(11528),s=m(n(4702)),l=m(n(58208)),c=m(n(52541)),u=m(n(2611)),d=m(n(9940)),h=m(n(26374)),f=m(n(29431)),p=m(n(56829)),g=m(n(55073)),_=m(n(12638));function m(e){return e&&e.__esModule?e:{default:e}}const v={},b={},y={},x=i.extend;let C,S=null,w=0;const E={};function T(e){const t=(0,o.normalizeEnum)(e);return v[t]||v[b[t]||O()]}function A(e,t){const n=`${e}.${t}`;return b[n]||y[n]||b[e]}function O(e,t){if(!arguments.length)return S||A((0,r.current)())||C;const n=(0,o.normalizeEnum)(t);return S=(null!=e&&e.platform?function(e,t,n){return A(e+t,n)||A(e,n)}((0,o.normalizeEnum)(e.platform),e.version,n):A((0,o.normalizeEnum)(e),n))||S,this}function k(e,t){const n=(0,o.normalizeEnum)(e&&e.name);n&&(e.isDefault&&(C=n),function(e,t){const n=function(e,t){const n=e.indexOf(t);return n>0?{name:e.substring(0,n),scheme:e.substring(n+1)}:null}(e,".")||{name:e},i=n.name,o=n.scheme;if(o){const e=`${i}.${o}`;b[i]=b[i]||t,b[e]=t}else b[i]=t}(n,n),v[n]=x(!0,{},T(t),function(e){return e=x(!0,{loadingIndicator:{font:{}},export:{font:{}},legend:{font:{},border:{}},title:{font:{}},tooltip:{font:{}},"chart:common":{},"chart:common:axis":{grid:{},minorGrid:{},tick:{},minorTick:{},title:{font:{}},label:{font:{}}},"chart:common:annotation":{font:{},border:{}},chart:{commonSeriesSettings:{candlestick:{}}},pie:{},polar:{},gauge:{scale:{tick:{},minorTick:{},label:{font:{}}}},barGauge:{},funnel:{},sankey:{},map:{background:{}},treeMap:{tile:{selectionStyle:{border:{}}},group:{border:{},selectionStyle:{border:{}},label:{font:{}}}},rangeSelector:{scale:{tick:{},minorTick:{},label:{font:{}}},chart:{}},sparkline:{},bullet:{}},e),D(e.loadingIndicator,"backgroundColor",e),D(e.chart.commonSeriesSettings.candlestick,"innerColor",null,e.backgroundColor),D(e.map.background,"color",null,e.backgroundColor),D(e.title.font,"color",null,e.primaryTitleColor),L(e.title,"subtitle",null,e.title),D(e.legend.font,"color",null,e.secondaryTitleColor),D(e.legend.border,"color",null,e.gridColor),function(e){const t=e["chart:common:axis"],n="color";[t.grid,t.minorGrid].forEach((t=>{D(t,n,null,e.gridColor)})),[t,t.tick,t.minorTick,t.label.font].forEach((t=>{D(t,n,null,e.axisColor)})),D(t.title.font,n,null,e.secondaryTitleColor),D(e.gauge.scale.label.font,n,null,e.axisColor),D(e.gauge.scale.tick,n,null,e.backgroundColor),D(e.gauge.scale.minorTick,n,null,e.backgroundColor),D(e.rangeSelector.scale.label.font,n,null,e.axisColor)}(e),["chart","pie","polar","gauge","barGauge","map","treeMap","funnel","rangeSelector","sparkline","bullet","sankey"].forEach((t=>{D(e[t],"redrawOnResize",e),D(e[t],"containerBackgroundColor",null,e.backgroundColor),L(e[t],"tooltip",e),L(e[t],"export",e)})),["chart","pie","polar","gauge","barGauge","map","treeMap","funnel","rangeSelector","sankey"].forEach((t=>{L(e[t],"loadingIndicator",e),L(e[t],"legend",e),L(e[t],"title",e)})),["chart","pie","polar"].forEach((t=>{L(e,t,null,e["chart:common"])})),["chart","polar"].forEach((t=>{e[t]=e[t]||{},L(e[t],"commonAxisSettings",null,e["chart:common:axis"])})),["chart","polar","map","pie"].forEach((t=>{e[t]=e[t]||{},L(e[t],"commonAnnotationSettings",null,e["chart:common:annotation"])})),L(e.rangeSelector.chart,"commonSeriesSettings",e.chart),L(e.rangeSelector.chart,"dataPrepareSettings",e.chart),D(e.treeMap.group.border,"color",null,e.gridColor),D(e.treeMap.tile.selectionStyle.border,"color",null,e.primaryTitleColor),D(e.treeMap.group.selectionStyle.border,"color",null,e.primaryTitleColor),D(e.map.legend,"backgroundColor",e),function(e){const t=e.map;["area","line","marker"].forEach((e=>{L(t,"layer:"+e,null,t.layer)})),["dot","bubble","pie","image"].forEach((e=>{L(t,"layer:marker:"+e,null,t["layer:marker"])}))}(e),e}(e)))}function D(e,t,n,i){const o=(null==n?void 0:n[t])??i;void 0!==o&&void 0===e[t]&&(e[t]=o)}function L(e,t,n,i){const o=(null==n?void 0:n[t])??i;void 0!==o&&(e[t]=x(!0,{},o,e[t]))}(0,a.isEmptyObject)(v)&&(0,a.isEmptyObject)(b)&&!C&&[].concat(s.default,l.default,c.default,u.default,d.default,h.default,f.default,p.default,g.default,_.default).forEach((e=>{k(e.theme,e.baseThemeName)}))},37279:function(e,t,n){t.default=void 0;var i=n(11528),o=n(50254);const r=Math.round;function a(e){return e}t.default={translate:function(e,t){const n=this,o=n._canvasOptions,a=n._categoriesToPoints[null==e?void 0:e.valueOf()],s=n.translateSpecialCase(e),l=o.startPointIndex||0,c=n._options.stick?0:.5;if((0,i.isDefined)(s))return r(s);if(!a&&0!==a)return null;const u=a+c-l+.5*(t=t||0);return r(n._calculateProjection(o.interval*u))},getInterval:function(){return this._canvasOptions.interval},getEventScale:function(e){return 1-(1-(e.deltaScale||1))/(.75+this.visibleCategories.length/this._categories.length)},zoom:function(e,t){const n=this,i=Math.abs(Math.abs(t)-1),r=t>1;1!==t&&i<.05&&(t=this.getMinScale(r));const a=n._categories,s=n._canvasOptions,l=n._options.stick,c=s.invert,u=s.interval*t,d=e/u,h=(n.visibleCategories||[]).length;let f=parseInt((s.startPointIndex||0)+d+.5);const p=parseInt((0,o.adjust)(s.canvasLength/u)+(l?1:0))||1;let g;c&&(f=parseInt((s.startPointIndex||0)+h-d+.5)-p),f<0&&(f=0),g=f+p,g>a.length&&(g=a.length,f=g-p,f<0&&(f=0));const _=a.slice(parseInt(f),parseInt(g)),m=n._getDiscreteInterval(_.length,s);return t=m/s.interval,e=n.translate(c?_[_.length-1]:_[0])*t-(s.startPoint+(l?0:m/2)),{min:_[0],max:_[_.length-1],translate:e,scale:t}},getMinScale:function(e){const t=this,n=t._canvasOptions;let i=(t.visibleCategories||t._categories).length;return i+=(parseInt(.1*i)||1)*(e?-2:2),n.canvasLength/(Math.max(i,1)*n.interval)},getScale:function(e,t){const n=this,o=n._canvasOptions,r=n.getCanvasVisibleArea(),a=!n._options.stick&&1;let s=(0,i.isDefined)(e)?n.translate(e,-a):null,l=(0,i.isDefined)(t)?n.translate(t,+a):null;return null===s&&(s=o.invert?r.max:r.min),null===l&&(l=o.invert?r.min:r.max),n.canvasLength/Math.abs(l-s)},isValid:function(e){return!!(0,i.isDefined)(e)&&this._categoriesToPoints[e.valueOf()]>=0},getCorrectValue:a,to:function(e,t){const n=this._canvasOptions,i=this._categoriesToPoints[null==e?void 0:e.valueOf()],o=n.startPointIndex||0,a=i+(this._options.stick?0:.5)-o+(this._businessRange.invert?-1:1)*t*.5;return r(this._calculateProjection(n.interval*a))},from:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this._canvasOptions,i=n.startPoint,o=this.visibleCategories||this._categories,a=o.length,s=this._options.stick?.5:0;let l=r((e-i)/n.interval+s-.5-.5*t);return l>=a&&(l=a-1),l<0&&(l=0),n.invert&&(l=a-l-1),o[l]},_add:function(){return NaN},toValue:a,isValueProlonged:!0,getRangeByMinZoomValue(e,t){const n=this._categories,i=n.indexOf(t.minVisible)+e-1,o=n.indexOf(t.maxVisible)-e+1;return n[i]?[t.minVisible,n[i]]:[n[o],t.maxVisible]}};e.exports=t.default,e.exports.default=t.default},77296:function(e,t,n){t.default=void 0;var i,o=(i=n(41380))&&i.__esModule?i:{default:i};function r(e){return null!==e?new Date(e):e}t.default={fromValue:r,toValue:r,_add:o.default.addDateInterval,convert:o.default.dateToMilliseconds};e.exports=t.default,e.exports.default=t.default},24136:function(e,t,n){t.default=void 0;var i,o=n(11528),r=(i=n(41380))&&i.__esModule?i:{default:i},a=n(50254);const s=Math.floor;t.default={_intervalize:function(e,t){if((0,o.isDefined)(e))return"datetime"===this._businessRange.dataType?(e=(0,o.isNumeric)(e)?new Date(e):new Date(e.getTime()),e=r.default.correctDateWithUnitBeginning(e,t,null,this._options.firstDayOfWeek)):e=(0,a.adjust)(s((0,a.adjust)(e/t))*t,t),e},translate:function(e,t,n,i){const r=this,a=r.translateSpecialCase(e);return(0,o.isDefined)(a)?Math.round(a):(i=i||r._options.interval,r.isValid(e,i)?r.to(e,t,n,i):null)},getInterval:function(){return Math.round(this._canvasOptions.ratioOfCanvasRange*(this._businessRange.interval||Math.abs(this._canvasOptions.rangeMax-this._canvasOptions.rangeMin)))},zoom:function(){},getMinScale:function(){},getScale:function(){},_parse:function(e){return"datetime"===this._businessRange.dataType?new Date(e):Number(e)},fromValue:function(e){return this._parse(e)},toValue:function(e){return this._parse(e)},isValid:function(e,t){const n=this,i=n._canvasOptions;let a=i.rangeMin,s=i.rangeMax;return t=t||n._options.interval,null!==e&&!isNaN(e)&&(e="datetime"===n._businessRange.dataType&&(0,o.isNumeric)(e)?new Date(e):e,t!==n._options.interval&&(a=n._intervalize(a,t),s=n._intervalize(s,t)),!(e.valueOf()<a||e.valueOf()>=r.default.addInterval(s,t)))},to:function(e,t,n,i){const o=this;i=i||o._options.interval;const a=o._intervalize(e,i),l=r.default.addInterval(a,i);let c=o._to(a,n);const u=o._to(l,n);return t?t>0&&(c=u):c=s((c+u)/2),c},_to:function(e,t){const n=this._canvasOptions,i=n.rangeMinVisible,o=n.rangeMaxVisible;let a=e-i;e<i?a=0:e>o&&(a=r.default.addInterval(o,this._options.interval)-i);const s=this._calculateProjection(a*this._canvasOptions.ratioOfCanvasRange);return this._conversionValue(s,t)},from:function(e,t){const n=this,i=n._options.interval;let o=i;const a=n._canvasOptions,s=a.rangeMinVisible,l=a.rangeMaxVisible;let c;return"datetime"===n._businessRange.dataType&&(o=r.default.dateToMilliseconds(i)),c=n._calculateUnProjection((e-n._canvasOptions.startPoint)/n._canvasOptions.ratioOfCanvasRange),c=n._intervalize(r.default.addInterval(c,o/2,t>0),i),c<s?c=s:c>l&&(c=l),c},_add:function(){return NaN},isValueProlonged:!0};e.exports=t.default,e.exports.default=t.default},19444:function(e,t,n){t.default=void 0;var i=n(28779),o=n(11528);t.default={fromValue:function(e){return null!==e?(0,i.getLogExt)(e,this._canvasOptions.base,this._businessRange.allowNegatives,this._businessRange.linearThreshold):e},toValue:function(e){return null!==e?(0,i.raiseToExt)(e,this._canvasOptions.base,this._businessRange.allowNegatives,this._businessRange.linearThreshold):e},getMinBarSize:function(e){const t=this.getCanvasVisibleArea(),n=this.from(t.min+e),i=this._canvasOptions,o=this.fromValue(this.from(t.min)),r=this.fromValue(n??this.from(t.max)),a=Math.abs(o-r);return Math.pow(i.base,a)},checkMinBarSize:function(e,t,n){const i=this._canvasOptions,r=n?n-e:0,a=this.constructor.prototype.checkMinBarSize;let s,l;return(0,o.isDefined)(t)&&r>0?(s=a(this.fromValue(n/r),this.fromValue(t)-i.rangeMinVisible),l=Math.pow(i.base,this.fromValue(r)+s)-r):l=a(e,t),l}};e.exports=t.default,e.exports.default=t.default},99857:function(e,t,n){t.Range=void 0;var i=n(11528),o=n(52576),r=n(28779);const a=i.isDefined,s=i.isDate,l=i.isFunction,c="min",u="max",d="minVisible",h="maxVisible",f="base",p="axisType";function g(e,t){return t<e}function _(e,t){return t>e}function m(e,t,n,i){const o=a(t);a(e)?o&&i(e,t)&&n(t):o&&n(t)}const v=function(e){e&&(0,o.extend)(this,e)};t.Range=v;const b=v;b.prototype={constructor:b,addRange:function(e){const t=this,n=t.categories,i=e.categories,o="discrete"===t[p],s=function(n,i){m(t[n],e[n],(function(e){t[n]=e}),i)},l=function(e,n,i){m(t[e],t[n],(function(n){a(t[e])&&(t[e]=n)}),i)},v=function(n){t[n]=t[n]||e[n]};return v("invert"),v("containsConstantLine"),v(p),v("dataType"),v("isSpacedMargin"),"logarithmic"===t[p]?v(f):t[f]=void 0,s(c,g),s(u,_),o?(v(d),v(h)):(s(d,g),s(h,_)),s("interval",g),o||(l(c,d,g),l(c,h,g),l(u,h,_),l(u,d,_)),t.categories=void 0===n?i:i?(0,r.unique)(n.concat(i)):n,"logarithmic"===t[p]&&(v("allowNegatives"),s("linearThreshold",g)),t},isEmpty:function(){return!(a(this[c])&&a(this[u])||this.categories&&0!==this.categories.length)},correctValueZeroLevel:function(){const e=this;if(s(e[u])||s(e[c]))return e;function t(t,n){e[t]<0&&e[n]<0&&(e[n]=0),e[t]>0&&e[n]>0&&(e[t]=0)}return t(c,u),t(d,h),e},sortCategories(e){if(!1!==e&&this.categories)if(Array.isArray(e)){const t=e.map((e=>e.valueOf())),n=this.categories.filter((e=>-1===t.indexOf(e.valueOf())));this.categories=e.concat(n)}else{const t=!l(e);t&&"string"!==this.dataType?e=(e,t)=>e.valueOf()-t.valueOf():t&&(e=!1),e&&this.categories.sort(e)}}}},14393:function(e,t){t.Translator1D=i;const n=Number;function i(){this.setDomain(arguments[0],arguments[1]).setCodomain(arguments[2],arguments[3]).setInverted(!1)}i.prototype={constructor:i,setDomain:function(e,t){const i=this;return i._domain1=n(e),i._domain2=n(t),i._domainDelta=i._domain2-i._domain1,i},setCodomain:function(e,t){const i=this;return i._codomain1=n(e),i._codomain2=n(t),i._codomainDelta=i._codomain2-i._codomain1,i},setInverted(e){this.inverted=e},getDomain:function(){return[this._domain1,this._domain2]},getCodomain:function(){return[this._codomain1,this._codomain2]},getDomainStart:function(){return this._domain1},getDomainEnd:function(){return this._domain2},getCodomainStart:function(){return this._codomain1},getCodomainEnd:function(){return this._codomain2},getDomainRange:function(){return this._domainDelta},getCodomainRange:function(){return this._codomainDelta},translate:function(e){let t=(n(e)-this._domain1)/this._domainDelta;return this.inverted&&(t=1-t),0<=t&&t<=1?this._codomain1+t*this._codomainDelta:NaN},adjust:function(e){const t=(n(e)-this._domain1)/this._domainDelta;let i=NaN;return t<0?i=this._domain1:t>1?i=this._domain2:0<=t&&t<=1&&(i=n(e)),i}}},64174:function(e,t,n){t.Translator2D=void 0;var i=n(52576),o=n(21274),r=n(99857),a=p(n(37279)),s=p(n(24136)),l=p(n(77296)),c=p(n(19444)),u=n(28779),d=n(11528),h=n(50254),f=p(n(41380));function p(e){return e&&e.__esModule?e:{default:e}}const g=Math.abs,_=["width","height","left","top","bottom","right"],m={to(e){const t=this._canvasOptions.startPoint+(this._options.conversionValue?e:Math.round(e));return t>this._canvasOptions.endPoint?this._canvasOptions.endPoint:t},from(e){return e-this._canvasOptions.startPoint}},v=function(e){return(0,o.each)(_,(function(t,n){e[n]=parseInt(e[n])||0})),e};function b(e){return{isStartSide:e?function(e,t,n,i){return e<=t[t.length-1][i]}:function(e,t,n,i){return e<t[0][n]},isEndSide:e?function(e,t,n,i){return e>t[0][n]}:function(e,t,n,i){return e>=t[t.length-1][i]},isInBreak:e?function(e,t,n,i){return e>t[i]&&e<=t[n]}:function(e,t,n,i){return e>=t[n]&&e<t[i]},isBetweenBreaks:e?function(e,t,n,i,o){return e>=t[o]&&e<n[i]}:function(e,t,n,i,o){return e<t[i]&&e>=n[o]},getLength:e?function(e,t){return t.length-e.length}:function(e){return e.length},getBreaksSize:e?function(e,t){return t.cumulativeWidth-e.cumulativeWidth}:function(e){return e.cumulativeWidth}}}const y=function(e,t,n){this.update(e,t,n)};t.Translator2D=y,y.prototype={constructor:y,reinit:function(){const e=this,t=e._options,n=e._businessRange,o=n.categories||[];let r={};const d=e._prepareCanvasOptions(),h=(0,u.getCategoriesInfo)(o,n.minVisible,n.maxVisible).categories,p=h.length;if(n.isEmpty())r=m;else switch(n.axisType){case"logarithmic":r=c.default;break;case"semidiscrete":r=s.default,d.ratioOfCanvasRange=d.canvasLength/(f.default.addInterval(d.rangeMaxVisible,t.interval)-d.rangeMinVisible);break;case"discrete":r=a.default,e._categories=o,d.interval=e._getDiscreteInterval(t.addSpiderCategory?p+1:p,d),e._categoriesToPoints=function(e){const t={};return e.forEach((function(e,n){t[e.valueOf()]=n})),t}(o),p&&(d.startPointIndex=e._categoriesToPoints[h[0].valueOf()],e.visibleCategories=h);break;default:"datetime"===n.dataType&&(r=l.default)}(e._oldMethods||[]).forEach((function(t){delete e[t]})),e._oldMethods=Object.keys(r),(0,i.extend)(e,r),e._conversionValue=t.conversionValue?e=>e:(e,t)=>t?e:Math.round(e),e.sc={},e._checkingMethodsAboutBreaks=[b(!1),b(e.isInverted())],e._translateBreaks(),e._calculateSpecialValues()},_translateBreaks:function(){const e=this._breaks,t=this._options.breaksSize;let n,i,o,r;if(void 0!==e)for(n=0,r=e.length;n<r;n++)i=e[n],o=this.translate(i.to),i.end=o,i.start=i.gapSize?o:this.isInverted()?o+t:o-t},_checkValueAboutBreaks:function(e,t,n,i,o){let r,a,s,l,c={length:0,breaksSize:void 0,inBreak:!1};const u=e[e.length-1];if(o.isStartSide(t,e,n,i))return c;if(o.isEndSide(t,e,n,i))return{length:u.length,breaksSize:u.cumulativeWidth,inBreak:!1};for(r=0,a=e.length;r<a;r++){if(s=e[r],l=e[r-1],o.isInBreak(t,s,n,i)){c.inBreak=!0,c.break=s;break}if(l&&o.isBetweenBreaks(t,s,l,n,i)){c={length:o.getLength(l,u),breaksSize:o.getBreaksSize(l,u),inBreak:!1};break}}return c},isInverted:function(){return!(this._options.isHorizontal^this._businessRange.invert)},_getDiscreteInterval:function(e,t){const n=e-(this._options.stick?1:0);return n>0?t.canvasLength/n:t.canvasLength},_prepareCanvasOptions(){const e=this,t=e._businessRange,n=e._canvasOptions=function(e){let t=e.min,n=e.max,i=e.minVisible,o=e.maxVisible;return"logarithmic"===e.axisType&&(o=(0,u.getLogExt)(o,e.base,e.allowNegatives,e.linearThreshold),i=(0,u.getLogExt)(i,e.base,e.allowNegatives,e.linearThreshold),t=(0,u.getLogExt)(t,e.base,e.allowNegatives,e.linearThreshold),n=(0,u.getLogExt)(n,e.base,e.allowNegatives,e.linearThreshold)),{base:e.base,rangeMin:t,rangeMax:n,rangeMinVisible:i,rangeMaxVisible:o}}(t),i=e._canvas,o=e._breaks;let r;if(n.startPadding=i.startPadding||0,n.endPadding=i.endPadding||0,e._options.isHorizontal?(n.startPoint=i.left+n.startPadding,r=i.width,n.endPoint=i.width-i.right-n.endPadding,n.invert=t.invert):(n.startPoint=i.top+n.startPadding,r=i.height,n.endPoint=i.height-i.bottom-n.endPadding,n.invert=!t.invert),e.canvasLength=n.canvasLength=n.endPoint-n.startPoint,n.rangeDoubleError=Math.pow(10,(0,u.getPower)(n.rangeMax-n.rangeMin)-(0,u.getPower)(r)-2),n.ratioOfCanvasRange=n.canvasLength/(n.rangeMaxVisible-n.rangeMinVisible),void 0!==o){const e=n.rangeMaxVisible-n.rangeMinVisible-o[o.length-1].length;0!==e&&(n.ratioOfCanvasRange=(n.canvasLength-o[o.length-1].cumulativeWidth)/e)}return n},updateCanvas:function(e){this._canvas=v(e),this.reinit()},updateBusinessRange:function(e){const t=this,n=e.breaks||[];t._userBreaks=e.userBreaks||[],t._businessRange=function(e){function t(t,n){!(0,d.isDefined)(e[t])&&(0,d.isDefined)(e[n])&&(e[t]=e[n])}return e instanceof r.Range||(e=new r.Range(e)),t("minVisible","min"),t("maxVisible","max"),e}(e),t._breaks=n.length?function(e,t){const n="logarithmic"===t.axisType?function(e){return(0,u.getLogExt)(e,t.base)}:function(e){return e},i=[];let o,r,a,s;const l=e.length;let c=0;for(s=0;s<l;s++)o=e[s],r=n(o.from),a=n(o.to),c+=a-r,i.push({trFrom:r,trTo:a,from:o.from,to:o.to,length:c,cumulativeWidth:o.cumulativeWidth});return i}(n,t._businessRange):void 0,t.reinit()},update:function(e,t,n){const o=this;o._options=(0,i.extend)(o._options||{},n),o._canvas=v(t),o.updateBusinessRange(e)},getBusinessRange:function(){return this._businessRange},getEventScale:function(e){return e.deltaScale||1},getCanvasVisibleArea:function(){return{min:this._canvasOptions.startPoint,max:this._canvasOptions.endPoint}},_calculateSpecialValues:function(){const e=this,t=e._canvasOptions,n=t.startPoint-t.startPadding,i=t.endPoint+t.endPadding,o=e._businessRange,r=o.minVisible,a=o.maxVisible,s=n+t.canvasLength/2;let l;if(r<0&&a>0&&r!==a&&(l=e.translate(0,1)),!(0,d.isDefined)(l)){const t=o.invert^(r<0&&a<=0);l=e._options.isHorizontal?t?i:n:t?n:i}e.sc={canvas_position_default:l,canvas_position_left:n,canvas_position_top:n,canvas_position_center:s,canvas_position_middle:s,canvas_position_right:i,canvas_position_bottom:i,canvas_position_start:t.invert?i:n,canvas_position_end:t.invert?n:i}},translateSpecialCase(e){return this.sc[e]},_calculateProjection:function(e){const t=this._canvasOptions;return t.invert?t.endPoint-e:t.startPoint+e},_calculateUnProjection:function(e){const t=this._canvasOptions;return"datetime"===this._businessRange.dataType&&(e=Math.round(e)),t.invert?t.rangeMaxVisible.valueOf()-e:t.rangeMinVisible.valueOf()+e},getMinBarSize:function(e){const t=this.getCanvasVisibleArea(),n=this.from(t.min+e);return g(this.from(t.min)-((0,d.isDefined)(n)?n:this.from(t.max)))},checkMinBarSize:function(e,t){return g(e)<t?e>=0?t:-t:e},translate(e,t,n){const i=this.translateSpecialCase(e);return(0,d.isDefined)(i)?Math.round(i):isNaN(e)?null:this.to(e,t,n)},getInterval:function(e){const t=this._canvasOptions;return(e=e??this._businessRange.interval)?Math.round(t.ratioOfCanvasRange*e):Math.round(t.endPoint-t.startPoint)},zoom(e,t,n){const i=this._canvasOptions;if(i.rangeMinVisible.valueOf()===i.rangeMaxVisible.valueOf()&&0!==e)return this.zoomZeroLengthRange(e,t);const o=i.startPoint,r=i.endPoint,a=this.isInverted();let s=(o+e)/t,l=(r+e)/t;n=n||{};const c=this.to(a?n.endValue:n.startValue),u=this.to(a?n.startValue:n.endValue);let f,p;return c>s&&(l-=s-c,s=c,f=a?n.endValue:n.startValue),u<l&&(s-=l-u,l=u,p=a?n.startValue:n.endValue),u-c<l-s&&(s=c,l=u),t=(o+(e=(r-o)*s/(l-s)-o))/s||1,f=(0,d.isDefined)(f)?f:(0,h.adjust)(this.from(s,1)),p=(0,d.isDefined)(p)?p:(0,h.adjust)(this.from(l,-1)),t<=1&&(f=this._correctValueAboutBreaks(f,1===t?e:-1),p=this._correctValueAboutBreaks(p,1===t?e:1)),f>p?(f=f>n.endValue?n.endValue:f,p=p<n.startValue?n.startValue:p):(f=f<n.startValue?n.startValue:f,p=p>n.endValue?n.endValue:p),{min:f,max:p,translate:(0,h.adjust)(e),scale:(0,h.adjust)(t)}},_correctValueAboutBreaks(e,t){const n=this._userBreaks.filter((t=>e>=t.from&&e<=t.to));return n.length?t>0?n[0].to:n[0].from:e},zoomZeroLengthRange(e,t){const n=this._canvasOptions,i=n.rangeMin,o=n.rangeMax,r=(o.valueOf()!==i.valueOf()?o.valueOf()-i.valueOf():g(n.rangeMinVisible.valueOf()-i.valueOf()))/n.canvasLength,a=(0,d.isDate)(o)||(0,d.isDate)(i),s="logarithmic"===this._businessRange.axisType;let l=n.rangeMinVisible.valueOf()-r,c=n.rangeMaxVisible.valueOf()+r;return l=s?(0,h.adjust)((0,u.raiseToExt)(l,n.base)):a?new Date(l):l,c=s?(0,h.adjust)((0,u.raiseToExt)(c,n.base)):a?new Date(c):c,{min:l,max:c,translate:e,scale:t}},getMinScale:function(e){const{dataType:t,interval:n}=this._businessRange;return"datetime"===t&&1===n?this.getDateTimeMinScale(e):e?1.1:.9},getDateTimeMinScale(e){const t=this._canvasOptions;let n=t.canvasLength/t.ratioOfCanvasRange;return n+=(parseInt(.1*n)||1)*(e?-2:2),t.canvasLength/(Math.max(n,1)*t.ratioOfCanvasRange)},getScale:function(e,t){const n=this._canvasOptions;return n.rangeMax===n.rangeMin?1:(e=(0,d.isDefined)(e)?this.fromValue(e):n.rangeMin,t=(0,d.isDefined)(t)?this.fromValue(t):n.rangeMax,(n.rangeMax-n.rangeMin)/Math.abs(e-t))},isValid:function(e){const t=this._canvasOptions;return null!==(e=this.fromValue(e))&&!isNaN(e)&&e.valueOf()+t.rangeDoubleError>=t.rangeMin&&e.valueOf()-t.rangeDoubleError<=t.rangeMax},getCorrectValue:function(e,t){const n=this,i=n._breaks;let o;return e=n.fromValue(e),n._breaks&&(o=n._checkValueAboutBreaks(i,e,"trFrom","trTo",n._checkingMethodsAboutBreaks[0]),!0===o.inBreak)?n.toValue(t>0?o.break.trTo:o.break.trFrom):n.toValue(e)},to:function(e,t,n){const i=this.getBusinessRange();if((0,d.isDefined)(i.maxVisible)&&(0,d.isDefined)(i.minVisible)&&i.maxVisible.valueOf()===i.minVisible.valueOf())return(0,d.isDefined)(e)&&i.maxVisible.valueOf()===e.valueOf()?this.translateSpecialCase(0===e&&this._options.shiftZeroValue?"canvas_position_default":"canvas_position_middle"):null;e=this.fromValue(e);const o=this,r=o._canvasOptions,a=o._breaks;let s={length:0},l=0;return void 0!==a&&(s=o._checkValueAboutBreaks(a,e,"trFrom","trTo",o._checkingMethodsAboutBreaks[0]),l=(0,d.isDefined)(s.breaksSize)?s.breaksSize:0),!0===s.inBreak?t>0?s.break.start:t<0?s.break.end:null:o._conversionValue(o._calculateProjection((e-r.rangeMinVisible-s.length)*r.ratioOfCanvasRange+l),n)},from:function(e,t){const n=this,i=n._breaks;let o={length:0};const r=n._canvasOptions,a=r.startPoint;let s=0;return void 0!==i&&(o=n._checkValueAboutBreaks(i,e,"start","end",n._checkingMethodsAboutBreaks[1]),s=(0,d.isDefined)(o.breaksSize)?o.breaksSize:0),!0===o.inBreak?t>0?n.toValue(o.break.trTo):t<0?n.toValue(o.break.trFrom):null:n.toValue(n._calculateUnProjection((e-a-s)/r.ratioOfCanvasRange+o.length))},isValueProlonged:!1,getRange:function(){return[this.toValue(this._canvasOptions.rangeMin),this.toValue(this._canvasOptions.rangeMax)]},getScreenRange:function(){return[this._canvasOptions.startPoint,this._canvasOptions.endPoint]},add:function(e,t,n){return this._add(e,t,(this._businessRange.invert?-1:1)*n)},_add:function(e,t,n){return this.toValue(this.fromValue(e)+t*n)},fromValue:function(e){return null!==e?Number(e):null},toValue:function(e){return null!==e?Number(e):null},ratioOfCanvasRange(){return this._canvasOptions.ratioOfCanvasRange},convert:e=>e,getRangeByMinZoomValue(e,t){return t.minVisible+e<=this._businessRange.max?[t.minVisible,t.minVisible+e]:[t.maxVisible-e,t.maxVisible]}}},61015:function(e,t,n){t.default=void 0;var i,o=(i=n(96191))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},81708:function(e,t,n){var i=s(n(91628)),o=s(n(14206)),r=n(52576),a=n(17781);function s(e){return e&&e.__esModule?e:{default:e}}const l=i.default.prototype,c=o.default.prototype;function u(e,t){const n=e.ctx;n.suspend(),n.change(t),n.resume()}function d(e,t){const n=e.nodes;let i;const o=n&&n.length;for(i=0;i<o;++i)t.push(n[i].proxy),d(n[i],t)}l._eventsMap.onNodesInitialized={name:"nodesInitialized"},l._eventsMap.onNodesRendering={name:"nodesRendering"},l._createProxyType=function(){const e=this;let t;function n(e){const t=this;e.proxy=t,t._id=e._id,t.level=e.level,t.index=e.index,t.data=e.data}n.prototype={constructor:n,getParent:function(){return t[this._id].parent.proxy||null},getChild:function(e){const n=t[this._id].nodes;return n?n[e].proxy:null},getChildrenCount:function(){const e=t[this._id].nodes;return e?e.length:0},getAllChildren:function(){const e=t[this._id].nodes;let n;const i=e&&e.length,o=[];for(n=0;n<i;++n)o.push(e[n].proxy);return o},getAllNodes:function(){const e=[];return d(t[this._id],e),e},isLeaf:function(){return!t[this._id].isNode()},isActive:function(){return t[this._id].isActive()},value:function(e){const n=t[this._id];let i;return void 0!==e?(!function(e,t){const n=t-e.value;for(;e;)e.value+=n,e=e.parent}(n,e>0?Number(e):0),u(n,["TILING"]),i=this):i=n.value,i},label:function(e){const n=t[this._id];let i;return void 0!==e?(n.customLabel=e?String(e):null,u(n,["LABELS"]),i=this):i=n.customLabel||n.label,i},customize:function(e){const n=t[this._id];return e&&(n._custom=n._custom||{},(0,r.extend)(!0,n._custom,e),n._partialState=n._partialLabelState=null),u(n,["TILES","LABELS"]),this},resetCustomization:function(){const e=t[this._id];return e._custom=e._partialState=e._partialLabelState=null,u(e,["TILES","LABELS"]),this}},e._extendProxyType(n.prototype),e._handlers.beginBuildNodes=function(){t=e._nodes,new n(e._root)},e._handlers.buildNode=function(e){new n(e)},e._handlers.endBuildNodes=function(){e._eventTrigger("nodesInitialized",{root:e._root.proxy})}},l._extendProxyType=a.noop;const h=l._resetNodes;l._resetNodes=function(){h.call(this),this._eventTrigger("nodesRendering",{node:this._topNode.proxy})};const f=c.updateStyles;c.updateStyles=function(){const e=this;f.call(e),e._custom&&(e._partialState=!e.ctx.forceReset&&e._partialState||e.ctx.calculateState(e._custom),(0,r.extend)(!0,e.state,e._partialState))};const p=c.updateLabelStyle;c.updateLabelStyle=function(){const e=this,t=e._custom;p.call(e),t&&t.label&&(e._partialLabelState=!e.ctx.forceReset&&e._partialLabelState||function(e,t){const n=e.ctx.calculateLabelState(t);"visible"in t&&(n.visible=!!t.visible);return n}(e,t.label),e.labelState=(0,r.extend)(!0,{},e.labelState,e._partialLabelState))},l.getRootNode=function(){return this._root.proxy},l.resetNodes=function(){const e=this._context;return e.suspend(),e.change(["NODES_CREATE"]),e.resume(),this}},53505:function(e,t,n){function i(e,t,n){const i=t.createPalette(e.palette,{useHighlight:!0,extensionMode:e.paletteExtensionMode,count:e.colorizeGroups?a(n):o(n)});return(e.colorizeGroups?s:r)(i,n)}function o(e){const t=e.nodes.slice();let n;const i=t.length;let r,a=0;for(n=0;n<i;++n)r=t[n],r.isNode()?a=Math.max(a,o(r)):a+=1;return a}function r(e){const t=e.generateColors();return function(e){return t[e.index]}}function a(e){const t=e.nodes.slice();let n;const i=t.length;let o,r=0;for(n=0;n<i;++n)o=t[n],o.isNode()&&(r+=a(o)+1);return r}function s(e,t){const n=function(e,t){const n={};let i,o,r=t.nodes.slice(),a=r.length;for(i=0;i<a;++i)o=r[i],o.isNode()?(r=r.concat(o.nodes),a=r.length):n[o.parent._id]||(n[o.parent._id]=e.getNextColor());return n}(e,t);return function(e){return n[e._id]}}t.default=void 0,(0,n(6134).addColorizer)("discrete",i);t.default=i;e.exports=t.default,e.exports.default=t.default},18202:function(e,t,n){t.default=void 0;var i=n(6134);const o=Math.min,r=Math.max;function a(e){return[Number(e[0])||0,e[1]-e[0]||1]}function s(e,t){const n={};return function(i){const s=i.parent;return e(i,n[s._id]||(n[s._id]=function(e,t){let n;const i=e.length,s=[];let l;for(n=0;n<i;++n)l=t(e[n]),isFinite(l)&&s.push(l);return a([o.apply(null,s),r.apply(null,s)])}(s.nodes,t)))}}function l(e,t){const n=t.createGradientPalette(e.palette),o=(0,i.createColorCodeGetter)(e);return"range"in e?function(e,t){return function(n){return e(n,t)}}(r,a(e.range||[])):s(r,o);function r(e,t){return n.getColor((o(e)-t[0])/t[1])}}(0,i.addColorizer)("gradient",l);t.default=l;e.exports=t.default,e.exports.default=t.default},6134:function(e,t,n){t.addColorizer=function(e,t){r[e]=t},t.createColorCodeGetter=function(e){return e.colorCodeField?(t=e.colorCodeField,function(e){return Number(e.data[t])}):c;var t},t.getColorizer=function(e,t,n){const c=(0,i.normalizeEnum)(e.type||a),u=r[c]&&r[c](e,t,n);return u?(e.colorizeGroups?l:s)(u):o.noop},t.setDefaultColorizer=function(e){a=e};var i=n(28779),o=n(17781);const r={};let a;function s(e){return function(t){return t.isNode()?void 0:e(t)}}function l(e){return function(t){const n=!t.isNode()&&t.parent;return n?n._groupColor=n._groupColor||e(n):void 0}}function c(e){return e.value}},70185:function(e,t,n){t.default=void 0;var i=n(6134);function o(e,t){const n=e.range||[],o=t.createDiscretePalette(e.palette,n.length-1),r=(0,i.createColorCodeGetter)(e);return function(e){return o.getColor(function(e,t){let n,i=0,o=t.length-1,r=-1;if(t[i]<=e&&e<=t[o])if(e===t[o])r=o-1;else{for(;o-i>1;)n=i+o>>1,e<t[n]?o=n:i=n;r=i}return r}(r(e),n))}}(0,i.addColorizer)("range",o);t.default=o;e.exports=t.default,e.exports.default=t.default},30211:function(e,t,n){t.buildRectAppearance=function(e){const t=e.border||{};return{fill:e.color,opacity:e.opacity,stroke:t.color,"stroke-width":t.width,"stroke-opacity":t.opacity,hatching:e.hatching}},t.buildTextAppearance=function(e,t){return{attr:{filter:t},css:(0,i.patchFontOptions)(e.font)}};var i=n(28779)},74721:function(e,t,n){var i,o=(i=n(91628))&&i.__esModule?i:{default:i},r=n(71115);n(81708);const a=o.default.prototype;a._eventsMap.onDrill={name:"drill"},(0,r.expand)(a,"_extendProxyType",(function(e){const t=this;e.drillDown=function(){t._drillToNode(this._id)}})),(0,r.expand)(a,"_onNodesCreated",(function(){this._drilldownIndex=-1})),a._drillToNode=function(e){const t=this;let n;t._drilldownIndex!==e&&(n=t._nodes[e]||t._root,n.nodes&&(t._drilldownIndex=e,t._topNode=n,t._context.suspend(),t._context.change(["MAX_DEPTH","NODES_RESET"]),t._context.resume(),t._eventTrigger("drill",{node:n.proxy})))},a.resetDrillDown=function(){return this._drillToNode(-1),this},a.drillUp=function(){return this._drillToNode(this._topNode.parent._id||-1),this},a.getCurrentNode=function(){return this._topNode.proxy}},49774:function(e,t,n){var i=l(n(91628)),o=l(n(14206)),r=n(71115),a=n(30211),s=n(28779);function l(e){return e&&e.__esModule?e:{default:e}}n(81708),n(11140);const c=i.default.prototype,u=o.default.prototype;function d(e,t,n){const i=e.isNode()&&e.nodes;let o;const r=i&&i.length;for(e.setState(t,n),o=0;o<r;++o)d(i[o],t,n)}c._eventsMap.onHoverChanged={name:"hoverChanged"},(0,r.expand)(c._handlers,"calculateAdditionalStates",(function(e,t){e[1]=t.hoverStyle?(0,a.buildRectAppearance)(t.hoverStyle):{}})),i.default.addChange({code:"HOVER_ENABLED",handler:function(){const e=(0,s.parseScalar)(this._getOption("hoverEnabled",!0),!0);e||this.clearHover(),this._hoverEnabled=e},isThemeDependent:!0,isOptionChange:!0,option:"hoverEnabled"}),u.statesMap[1]=1,u.additionalStates.push(1),(0,r.expand)(c,"_extendProxyType",(function(e){const t=this;e.setHover=function(){t._hoverNode(this._id)},e.isHovered=function(){return t._hoverIndex===this._id}})),(0,r.expand)(c,"_onNodesCreated",(function(){this._hoverIndex=-1})),(0,r.expand)(c,"_changeGroupSettings",(function(){const e=this;e._groupHoverEnabled=(0,s.parseScalar)(e._getOption("group").hoverEnabled,!0),e._groupHoverEnabled||e.clearHover()})),c._applyHoverState=function(e,t){d(this._nodes[e],1,t),this._eventTrigger("hoverChanged",{node:this._nodes[e].proxy})},c._hoverNode=function(e){const t=this,n=t._hoverIndex;if(t._hoverEnabled&&n!==e){if(!t._groupHoverEnabled&&e>=0&&t._nodes[e].isNode())return void t.clearHover();t._context.suspend(),t._hoverIndex=-1,n>=0&&t._applyHoverState(n,!1),t._hoverIndex=e,e>=0&&t._applyHoverState(e,!0),t._context.resume()}},c.clearHover=function(){this._hoverNode(-1)}},14206:function(e,t,n){t.default=void 0;var i=n(52576);function o(){}const r=[function(e,t){e.smartAttr(t)},function(e,t){e.outer.attr({stroke:t.stroke,"stroke-width":t["stroke-width"],"stroke-opacity":t["stroke-opacity"]}),e.inner.smartAttr({fill:t.fill,opacity:t.opacity,hatching:t.hatching})}];(0,i.extend)(o.prototype,{value:0,isNode:function(){return!!(this.nodes&&this.level<this.ctx.maxLevel)},isActive:function(){const e=this.ctx;return this.level>=e.minLevel&&this.level<=e.maxLevel},updateStyles:function(){const e=this,t=Number(e.isNode());e.state=e._buildState(e.ctx.settings[t].state,!t&&e.color&&{fill:e.color})},_buildState:function(e,t){const n=(0,i.extend)({},e);return t?(0,i.extend)(n,t):n},updateLabelStyle:function(){const e=this.ctx.settings[Number(this.isNode())];this.labelState=e.labelState,this.labelParams=e.labelParams},_getState:function(){return this.state},applyState:function(){r[Number(this.isNode())](this.tile,this._getState())}});t.default=o;e.exports=t.default,e.exports.default=t.default},34239:function(e,t,n){var i;const o=((i=n(91628))&&i.__esModule?i:{default:i}).default.prototype;function r(e,t){let n,i;const o=e.struct;let a;for(i=0;i<t.length;i++)n=t[i],a=n[e.idField],o[a]&&(n.items=o[a].items,o[a]=null,r(e,n.items))}o._optionChangesMap.idField=o._optionChangesMap.parentField="NODES_CREATE",o._processDataSourceItems=function(e){let t;const n={};let i;const o=this._getOption("idField",!0),a=this._getOption("parentField",!0);let s;const l=[];let c,u;if(!o||!a||0===e.length)return{items:e,isPlain:!1};for(t=0;t<e.length;t++)i=e[t],s=i[a],s?(n[s]=n[s]||{items:[]},c=n[s].items):c=l,c.push(i);for(u in r({struct:n,idField:o},l),n)n[u]&&l.push(n[u]);return{items:l,isPlain:!0}}},98350:function(e,t,n){var i=l(n(91628)),o=l(n(14206)),r=n(71115),a=n(30211),s=n(28779);function l(e){return e&&e.__esModule?e:{default:e}}n(81708),n(11140);const c=i.default.prototype,u=o.default.prototype;c._eventsMap.onSelectionChanged={name:"selectionChanged"},(0,r.expand)(c._handlers,"calculateAdditionalStates",(function(e,t){e[2]=t.selectionStyle?(0,a.buildRectAppearance)(t.selectionStyle):{}})),u.statesMap[2]=u.statesMap[3]=2,u.additionalStates.push(2),(0,r.expand)(c,"_onNodesCreated",(function(){this._selectionList.length=0})),(0,r.expand)(c,"_extendProxyType",(function(e){const t=this;e.select=function(e){t._selectNode(this._id,!!e)},e.isSelected=function(){return t._selectionList.includes(this._id)},t._selectionList=[]})),i.default.addChange({code:"SELECTION_MODE",handler:function(){const e=this,t=(0,s.normalizeEnum)(e._getOption("selectionMode",!0)),n=e._selectionList;let i;const o="none"===t?0:"multiple"===t?2:1;1===o&&n.length>1?(i=n.pop(),e.clearSelection(),n.push(i)):0===o&&e.clearSelection(),e._selectionMode=o},isThemeDependent:!0,isOptionChange:!0,option:"selectionMode"}),(0,r.expand)(c,"_applyTilesAppearance",(function(){this._selectionList.length&&function(e,t){let n;const i=t.length;let o;for(n=0;n<i;++n)o=e[t[n]],d[Number(o.isNode())](o.tile)}(this._nodes,this._selectionList)}));const d=[function(e){e.toForeground()},function(e){e.outer.toForeground(),e.inner.toForeground()}];c._applySelectionState=function(e,t){const n=this._nodes[e];n.setState(2,t),this._eventTrigger("selectionChanged",{node:n.proxy})},c._selectNode=function(e,t){const n=this;let i,o,r;0!==n._selectionMode&&(n._context.suspend(),i=n._selectionList,o=i.indexOf(e),t&&-1===o?(1===n._selectionMode&&i.length&&(r=i.pop(),n._applySelectionState(r,!1)),i.push(e),n._applySelectionState(e,!0)):!t&&o>=0&&(i.splice(o,1),n._applySelectionState(e,!1)),n._context.resume())},c.clearSelection=function(){const e=this,t=e._selectionList;let n;const i=t.length;if(0!==e._selectionMode){for(e._context.suspend(),n=0;n<i;++n)e._applySelectionState(t[n],!1);t.length=0,e._context.resume()}}},11140:function(e,t,n){var i=s(n(91628)),o=s(n(14206)),r=n(17781),a=n(52576);function s(e){return e&&e.__esModule?e:{default:e}}const l=i.default.prototype,c=o.default.prototype,u=l._handlers,d=u.calculateState,h=c._buildState;u.calculateState=function(e){const t={0:d(e)};return u.calculateAdditionalStates(t,e),t},u.calculateAdditionalStates=r.noop,c.code=0,c.statesMap={0:0},c.additionalStates=[],c._buildState=function(e,t){const n={0:h(e[0],t)};return this.additionalStates.length&&function(e,t,n,i){let o;const r=i.length;for(o=0;o<r;++o)e[i[o]]=(0,a.extend)({},t,n[i[o]])}(n,n[0],e,this.additionalStates),n},c._getState=function(){return this.state[this.statesMap[this.code]]},c.setState=function(e,t){t?this.code|=e:this.code&=~e,this.ctx.change(["TILES"])}},17485:function(e,t,n){t.addAlgorithm=function(e,t){a[e]=t},t.buildSidesData=function(e,t,n){const i=void 0!==n?n:c(e),o=1-i,r=t[i],a=t[o],s=l[r],u=l[a];return{staticSide:e[2+i]-e[i],variedSide:e[2+o]-e[o],static1:i+s[0],static2:i+s[1],varied1:o+u[0],varied2:o+u[1],staticDir:r,variedDir:a}},t.calculateRectangles=function(e,t,n,i,o){let a,s;const l=[0,0,0,0],c=i.static1,u=i.static2;let d=n[c];const h=i.staticDir;let f,p,g=i.staticSide,_=o.sum;for(l[i.varied1]=n[i.varied1],l[i.varied2]=n[i.varied1]+i.variedDir*o.side,a=t,s=t+o.count;a<s;++a)f=l.slice(),f[c]=d,p=r(g*e[a].value/_)||0,_-=e[a].value,g-=p,d+=h*p,f[u]=d,e[a].rect=f;n[i.varied1]=l[i.varied2]},t.getAlgorithm=function(e){return a[(0,o.normalizeEnum)(e)]||(0,i.isFunction)(e)&&e||s},t.getStaticSideIndex=void 0,t.setDefaultAlgorithm=function(e){s=a[e]};var i=n(11528),o=n(28779);const r=Math.round,a={};let s;const l={"-1":[2,0],1:[0,2]},c=function(e){return e[2]-e[0]<e[3]-e[1]?0:1};t.getStaticSideIndex=c},10115:function(e,t,n){var i=n(17485);const o=(0,i.getAlgorithm)("sliceanddice");(0,i.addAlgorithm)("rotatedsliceanddice",(function(e){return e.isRotated=!e.isRotated,o.call(this,e)}))},94813:function(e,t,n){t.default=void 0;var i=n(17485);function o(e){const t=e.items,n=(0,i.buildSidesData)(e.rect,e.directions,e.isRotated?1:0);(0,i.calculateRectangles)(t,0,e.rect,n,{sum:e.sum,count:t.length,side:n.variedSide})}(0,i.addAlgorithm)("sliceanddice",o);t.default=o;e.exports=t.default,e.exports.default=t.default},69657:function(e,t,n){t.default=function(e,t,n){const o=e.items,r=o.length;let l;const c={sum:e.sum,rect:e.rect,directions:e.directions,accumulate:t};n&&(c.staticSideIndex=(0,i.getStaticSideIndex)(c.rect));for(o.sort(a),l=0;l<r;)l=s(o,l,c)};var i=n(17485);const o=Math.max,r=Math.round;function a(e,t){return t.value-e.value}function s(e,t,n){const a=(0,i.buildSidesData)(n.rect,n.directions,n.staticSideIndex),s=((l=n.rect)[2]-l[0])*(l[3]-l[1]);var l;const c=s>0?function(e,t,n){let i,a,s,l,c=1/0,u=0;const d=e.length,h=n.areaToValue/n.staticSide;let f;for(s=t;s<d;){for(a=u+e[s].value,f=n.staticSide/h/a,i=0,l=t;l<=s;++l)i=n.accumulate(i,(p=f*e[l].value/a,o(p,1/p)),l-t+1);if(!(i<c))break;c=i,u=a,++s}var p;return{sum:u,count:s-t,side:r(h*u)}}(e,t,{areaToValue:s/n.sum,accumulate:n.accumulate,staticSide:a.staticSide}):{sum:1,side:a.variedSide,count:e.length-t};return(0,i.calculateRectangles)(e,t,n.rect,a,c),n.sum-=c.sum,t+c.count}e.exports=t.default,e.exports.default=t.default},93268:function(e,t,n){t.default=void 0;var i,o=(i=n(69657))&&i.__esModule?i:{default:i},r=n(17485);const a=Math.max;function s(e,t){return a(e,t)}function l(e){return(0,o.default)(e,s,!1)}(0,r.addAlgorithm)("squarified",l);t.default=l;e.exports=t.default,e.exports.default=t.default},2085:function(e,t,n){t.default=void 0;var i,o=(i=n(69657))&&i.__esModule?i:{default:i};function r(e,t,n){return((n-1)*e+t)/n}function a(e){return(0,o.default)(e,r,!0)}(0,n(17485).addAlgorithm)("strip",a);t.default=a;e.exports=t.default,e.exports.default=t.default},60207:function(e,t,n){var i,o=n(71115),r=(i=n(91628))&&i.__esModule?i:{default:i};n(81708);var a=n(23277);const s=r.default.prototype;function l(e,t,n){const i=n.getRootOffset();return e||t&&[(t[0]+t[2])/2+i.left,(t[1]+t[3])/2+i.top]||[-1e3,-1e3]}(0,o.expand)(s,"_extendProxyType",(function(e){const t=this;e.showTooltip=function(e){t._showTooltip(this._id,e)}})),(0,o.expand)(s,"_onNodesCreated",(function(){this._tooltipIndex>=0&&this._tooltip.hide(),this._tooltipIndex=-1})),(0,o.expand)(s,"_onTilingPerformed",(function(){this._tooltipIndex>=0&&this._moveTooltip(this._nodes[this._tooltipIndex])})),s._showTooltip=function(e,t){const n=this,i=n._tooltip,o=n._nodes[e];if(n._tooltipIndex===e)return void n._moveTooltip(o,t);const r=t=>{void 0!==t&&(t||i.hide(),n._tooltipIndex=t?e:-1)},a=l(t,o.rect,this._renderer);r(i.show({value:o.value,valueText:i.formatValue(o.value),node:o.proxy},{x:a[0],y:a[1],offset:0},{node:o.proxy},void 0,r))},s._moveTooltip=function(e,t){const n=l(t,e.rect,this._renderer);this._tooltip.move(n[0],n[1],0)},s.hideTooltip=function(){this._tooltipIndex>=0&&(this._tooltipIndex=-1,this._tooltip.hide())},r.default.addPlugin(a.plugin)},74408:function(e,t,n){var i,o=(i=n(91628))&&i.__esModule?i:{default:i},r=n(16197),a=n(71115),s=n(28779);n(81708),n(49774),n(60207);let l=0;const c=o.default.prototype;c._eventsMap.onClick={name:"click"};(0,a.expand)(c,"_initCore",(function(){const e=this,t="__treemap_data_"+l++,n=function(t){return e._nodes[t].proxy};e._tracker=new r.Tracker({widget:e,root:e._renderer.root,getNode:function(t){const i=n(t);return(0,s.parseScalar)(e._getOption("interactWithGroup",!0))&&i.isLeaf()&&i.getParent().isActive()?i.getParent():i},getData:function(e){const n=e.target;return("tspan"===n.tagName?n.parentNode:n)[t]},getProxy:n,click:function(t){e._eventTrigger("click",t)}}),e._handlers.setTrackerData=function(e,n){n.data(t,e._id)}})),(0,a.expand)(c,"_disposeCore",(function(){this._tracker.dispose()}))},91628:function(e,t,n){t.default=void 0;var i=n(30211),o=h(n(14206)),r=n(17485),a=n(6134),s=n(28779),l=n(17781),c=h(n(34506));n(93268),n(53505);var u=h(n(92848)),d=n(25058);function h(e){return e&&e.__esModule?e:{default:e}}const f=Math.max,p={lefttoprightbottom:[1,1],leftbottomrighttop:[1,-1],righttopleftbottom:[-1,1],rightbottomlefttop:[-1,-1]};function g(e){return e>0?Math.round(e):0}(0,r.setDefaultAlgorithm)("squarified"),(0,a.setDefaultColorizer)("discrete");const _=c.default.inherit({_handlers:{beginBuildNodes:l.noop,buildNode:l.noop,endBuildNodes:l.noop,setTrackerData:l.noop,calculateState:function(e){return(0,i.buildRectAppearance)(e)}},_rootClass:"dxtm-tree-map",_rootClassPrefix:"dxtm",_getDefaultSize:function(){return{width:400,height:400}},_themeSection:"treeMap",_fontFields:["tile.label.font","group.label.font"],_init:function(){const e=this;e._rectOffsets={},e._handlers=Object.create(e._handlers),e._context={suspend:function(){e._applyingChanges||e._suspendChanges()},resume:function(){e._applyingChanges||e._resumeChanges()},change:function(t){e._change(t)},settings:[{},{}],calculateState:e._handlers.calculateState,calculateLabelState:i.buildTextAppearance},e._root=e._topNode={nodes:[]},e.callBase.apply(e,arguments)},_initialChanges:["DATA_SOURCE"],_initCore:function(){const e=this,t=e._renderer;e._createProxyType(),e._tilesGroup=t.g().linkOn(t.root,"tiles").linkAppend(),e._labelsGroup=t.g().linkOn(t.root,"labels").linkAppend()},_createProxyType:l.noop,_disposeCore:function(){const e=this;e._filter&&e._filter.dispose(),e._labelsGroup.linkOff(),e._tilesGroup.linkOff()},_applySize:function(e){this._tilingRect=e.slice(),this._change(["TILING"])},_optionChangesMap:{dataSource:"DATA_SOURCE",valueField:"NODES_CREATE",childrenField:"NODES_CREATE",colorField:"TILES",colorizer:"TILES",labelField:"LABELS",tile:"TILE_SETTINGS",group:"GROUP_SETTINGS",maxDepth:"MAX_DEPTH",layoutAlgorithm:"TILING",layoutDirection:"TILING"},_themeDependentChanges:["TILE_SETTINGS","GROUP_SETTINGS","MAX_DEPTH"],_changeDataSource:function(){const e=this;e._isDataExpected=e._isSyncData=!0,e._updateDataSource(),e._isSyncData=!1,e._isDataExpected&&e._suspendChanges()},_dataSourceChangedHandler:function(){const e=this;e._isDataExpected?(e._isDataExpected=!1,e._change(["NODES_CREATE"]),e._isSyncData||e._resumeChanges()):e._requestChange(["NODES_CREATE"])},_optionChangesOrder:["DATA_SOURCE","TILE_SETTINGS","GROUP_SETTINGS","MAX_DEPTH"],_change_DATA_SOURCE:function(){this._changeDataSource()},_change_TILE_SETTINGS:function(){this._changeTileSettings()},_change_GROUP_SETTINGS:function(){this._changeGroupSettings()},_change_MAX_DEPTH:function(){this._changeMaxDepth()},_customChangesOrder:["NODES_CREATE","NODES_RESET","TILES","LABELS","TILING","LABELS_LAYOUT"],_change_NODES_CREATE:function(){this._buildNodes()},_change_NODES_RESET:function(){this._resetNodes()},_change_TILES:function(){this._applyTilesAppearance()},_change_LABELS:function(){this._applyLabelsAppearance()},_change_TILING:function(){this._performTiling()},_change_LABELS_LAYOUT:function(){this._performLabelsLayout()},_applyChanges:function(){const e=this;e.callBase.apply(e,arguments),e._isDataExpected||e._drawn(),e._context.forceReset=!1},_buildNodes:function(){const e=this,t=e._root=e._topNode=new o.default;t._id=0,t.parent={},t.data={},t.level=t.index=-1,t.ctx=e._context,t.label=null,e._nodes=[t],e._handlers.beginBuildNodes();const n=e._processDataSourceItems(e._dataSourceItems()||[]);m(t,n.items,0,{itemsField:!n.isPlain&&e._getOption("childrenField",!0)||"items",valueField:e._getOption("valueField",!0)||"value",buildNode:e._handlers.buildNode,ctx:e._context,nodes:e._nodes}),e._onNodesCreated(),e._handlers.endBuildNodes(),e._change(["NODES_RESET"])},_onNodesCreated:l.noop,_processDataSourceItems:function(e){return{items:e,isPlain:!1}},_changeTileSettings:function(){const e=this,t=e._getOption("tile"),n=e._rectOffsets,i=g(t.border.width),o=i/2,r=1&i?.5:0,a=t.label,s=e._context.settings[0];e._change(["TILES","LABELS"]),s.state=e._handlers.calculateState(t),e._filter=e._filter||e._renderer.shadowFilter("-50%","-50%","200%","200%"),e._filter.attr(a.shadow),e._calculateLabelSettings(s,a,e._filter.id),n.tileEdge===o&&n.tileInner===r||(n.tileEdge=o,n.tileInner=r,e._change(["TILING"]))},_changeGroupSettings:function(){const e=this,t=e._getOption("group"),n=t.label,i=e._rectOffsets,o=g(t.border.width),r=o/2,a=1&o?.5:0;let s=0;const l=g(t.padding),c=e._context.settings[1];e._change(["TILES","LABELS"]),c.state=e._handlers.calculateState(t),e._calculateLabelSettings(c,n),s=t.headerHeight>=0?g(t.headerHeight):c.labelParams.height+2*g(n.paddingTopBottom),e._headerHeight!==s&&(e._headerHeight=s,e._change(["TILING"])),e._groupPadding!==l&&(e._groupPadding=l,e._change(["TILING"])),i.headerEdge===r&&i.headerInner===a||(i.headerEdge=r,i.headerInner=a,e._change(["TILING"]))},_calculateLabelSettings:function(e,t,n){const o=this._getTextBBox(t.font),r=g(t.paddingLeftRight),a=g(t.paddingTopBottom),s=this._getOption("tile.label"),l=this._getOption("group.label");e.labelState=(0,i.buildTextAppearance)(t,n),e.labelState.visible=!("visible"in t)||!!t.visible,e.labelParams={height:o.height,rtlEnabled:this._getOption("rtlEnabled",!0),paddingTopBottom:a,paddingLeftRight:r,tileLabelWordWrap:s.wordWrap,tileLabelOverflow:s.textOverflow,groupLabelOverflow:l.textOverflow}},_changeMaxDepth:function(){let e=this._getOption("maxDepth",!0);e=e>=1?Math.round(e):1/0,this._maxDepth!==e&&(this._maxDepth=e,this._change(["NODES_RESET"]))},_resetNodes:function(){const e=this;e._tilesGroup.clear(),e._renderer.initDefsElements(),e._context.forceReset=!0,e._context.minLevel=e._topNode.level+1,e._context.maxLevel=e._context.minLevel+e._maxDepth-1,e._change(["TILES","LABELS","TILING"])},_processNodes:function(e,t){v(e,this._topNode,t)},_applyTilesAppearance:function(){const e=this,t=(0,a.getColorizer)(e._getOption("colorizer"),e._themeManager,e._topNode);e._processNodes({renderer:e._renderer,group:e._tilesGroup,setTrackerData:e._handlers.setTrackerData,colorField:e._getOption("colorField",!0)||"color",getColor:t},y)},_applyLabelsAppearance:function(){const e=this;e._labelsGroup.clear(),e._processNodes({renderer:e._renderer,group:e._labelsGroup,setTrackerData:e._handlers.setTrackerData,labelField:e._getOption("labelField",!0)||"name"},x),e._change(["LABELS_LAYOUT"])},_performTiling:function(){const e=this,t={algorithm:(0,r.getAlgorithm)(e._getOption("layoutAlgorithm",!0)),directions:p[String(e._getOption("layoutDirection",!0)).toLowerCase()]||p.lefttoprightbottom,headerHeight:e._headerHeight,groupPadding:e._groupPadding,rectOffsets:e._rectOffsets};e._topNode.innerRect=e._tilingRect,S(t,e._topNode),e._processNodes(t,w),e._change(["LABELS_LAYOUT"]),e._onTilingPerformed()},_onTilingPerformed:l.noop,_performLabelsLayout:function(){this._processNodes(null,O)},_getTextBBox:function(e){const t=this._renderer,n=this._textForCalculations||t.text("0",0,0);this._textForCalculations=n,n.css((0,s.patchFontOptions)(e)).append(t.root);const i=n.getBBox();return n.remove(),i}});function m(e,t,n,i){const r=[],a=i.nodes;let s,l;const c=t.length;let u,d,h=0;for(l=0;l<c;++l){var f;u=t[l],s=new o.default,s._id=a.length,s.ctx=i.ctx,s.parent=e,s.level=n,s.index=r.length,s.data=u,i.buildNode(s),a.push(s),r.push(s),d=u[i.itemsField],null!==(f=d)&&void 0!==f&&f.length&&m(s,d,n+1,i),u[i.valueField]>0&&(s.value=Number(u[i.valueField])),h+=s.value}e.nodes=r,e.value=h}function v(e,t,n){const i=t.nodes;let o,r;const a=i.length;for(r=0;r<a;++r)o=i[r],n(e,o),o.isNode()&&v(e,o,n)}const b=[function(e,t){const n=e.renderer.simpleRect().append(e.group);return e.setTrackerData(t,n),n},function(e,t){const n=e.renderer.simpleRect().append(e.group),i=e.renderer.simpleRect().append(e.group);return e.setTrackerData(t,i),{outer:n,inner:i}}];function y(e,t){t.color=t.data[e.colorField]||e.getColor(t)||t.parent.color,t.updateStyles(),t.tile=!t.ctx.forceReset&&t.tile||b[Number(t.isNode())](e,t),t.applyState()}function x(e,t){t.updateLabelStyle(),t.labelState.visible&&function(e,t,n){let i=t.data[e.labelField];t.label=i?String(i):null,i=t.customLabel||t.label,i&&(t.text=e.renderer.text(i).attr(n.attr).css(n.css).append(e.group),e.setTrackerData(t,t.text))}(e,t,t.labelState,t.labelParams)}const C=[0,0,0,0];function S(e,t){const n=t.nodes,i=[],o=[];let r,a=0;const s=i.length=o.length=n.length;for(r=0;r<s;++r)a+=n[r].value,i[r]={value:n[r].value,i:r};for(a>0&&e.algorithm({items:i.slice(),sum:a,rect:t.innerRect.slice(),isRotated:1&n[0].level,directions:e.directions}),r=0;r<s;++r)o[r]=i[r].rect||C;t.rects=o}function w(e,t){let n=t.parent.rects[t.index];const i=e.rectOffsets;let o;t.isNode()?(A(t.tile.outer,T(n,t.parent.innerRect,i.headerEdge,i.headerInner)),n=E(n,e.groupPadding),o=Math.min(e.headerHeight,n[3]-n[1]),t.rect=[n[0],n[1],n[2],n[1]+o],A(t.tile.inner,E(t.rect,i.headerEdge)),n[1]+=o,t.innerRect=n,S(e,t)):(t.rect=n,A(t.tile,T(n,t.parent.innerRect,i.tileEdge,i.tileInner)))}function E(e,t){return[e[0]+t,e[1]+t,e[2]-t,e[3]-t]}function T(e,t,n,i){return[e[0]+(e[0]===t[0]?n:+i),e[1]+(e[1]===t[1]?n:+i),e[2]-(e[2]===t[2]?n:-i),e[3]-(e[3]===t[3]?n:-i)]}function A(e,t){e.attr({x:t[0],y:t[1],width:f(t[2]-t[0],0),height:f(t[3]-t[1],0)})}function O(e,t){t.text&&t.labelState.visible&&function(e,t){const n=e.rect,i=e.text,o=i.getBBox(),r=t.paddingLeftRight,a=t.paddingTopBottom,s=n[2]-n[0]-2*r;i.setMaxSize(s,n[3]-n[1]-a,e.isNode()?{textOverflow:t.groupLabelOverflow,wordWrap:"none"}:{textOverflow:t.tileLabelOverflow,wordWrap:t.tileLabelWordWrap,hideOverflowEllipsis:!0}),i.move(t.rtlEnabled?n[2]-r-o.x-o.width:n[0]+r-o.x,n[1]+a-o.y)}(t,t.labelParams)}(0,u.default)("dxTreeMap",_);t.default=_;_.addPlugin(d.plugin),e.exports=t.default,e.exports.default=t.default},96191:function(e,t,n){t.default=void 0;var i,o=(i=n(91628))&&i.__esModule?i:{default:i};n(93268),n(2085),n(94813),n(10115),n(53505),n(18202),n(70185),n(81708),n(49774),n(98350),n(60207),n(74408),n(74721),n(34239);var r=n(74754),a=n(16216),s=n(92528);t.default=o.default;o.default.addPlugin(r.plugin),o.default.addPlugin(a.plugin),o.default.addPlugin(s.plugin),e.exports=t.default,e.exports.default=t.default},2225:function(e,t,n){t.prepareSegmentRectPoints=t.floorCanvasDimensions=t.areCanvasesDifferent=void 0,Object.defineProperty(t,"refreshPaths",{enumerable:!0,get:function(){return i.refreshPaths}});var i=n(63022),o=n(21274);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(null,arguments)}const{floor:a}=Math;t.prepareSegmentRectPoints=function(e,t,n,i,r){const a=~~((n<i?n:i)/2),s=r.width||0,l=s<a?s:a,c=(e+=l/2)+(n-=l),u=(t+=l/2)+(i-=l);let d,h=[],f=[],p=0,g=0;const _={top:[[e,t],[c,t]],right:[[c,t],[c,u]],bottom:[[c,u],[e,u]],left:[[e,u],[e,t]]};switch((0,o.each)(_,(function(e){const t=!!r[e];p=2*p+~~t})),p){case 13:case 9:d=["left","top","right","bottom"];break;case 11:d=["bottom","left","top","right"];break;default:d=["top","right","bottom","left"]}return(0,o.each)(d,(function(e,t){const n=!!r[t];!g&&f.length&&(h.push(f),f=[]),n&&(0,o.each)(_[t].slice(g),(function(e,t){f=f.concat(t)})),g=~~n})),f.length&&h.push(f),1===h.length&&(h=h[0]),{points:h,pathType:15===p?"area":"line"}};t.areCanvasesDifferent=function(e,t){const n=["width","height"].every((n=>Math.abs(e[n]-t[n])<1)),i=["left","right","top","bottom"].every((n=>e[n]===t[n]));return!(n&&i)};t.floorCanvasDimensions=function(e){return r({},e,{height:a(e.height),width:a(e.width)})}},85148:function(e,t,n){t.default=void 0;var i,o=(i=n(9713))&&i.__esModule?i:{default:i};t.default=o.default;e.exports=t.default,e.exports.default=t.default},77148:function(e,t,n){t.ControlBar=w;var i=n(28779),o=n(16750);const r=Math,a=r.min,s=r.max,l=r.round,c=r.floor,u=r.sqrt,d=(0,i.enumParser)(["left","center","right"]),h=(0,i.enumParser)(["top","bottom"]),f="command-reset",p="command-move-up",g="command-move-right",_="command-move-down",m="command-move-left",v="command-zoom-in",b="command-zoom-out",y="command-zoom-drag",x="control-bar",C={bigCircleSize:58,smallCircleSize:28,buttonSize:10,arrowButtonOffset:20,incDecButtonSize:11,incButtonOffset:66,decButtonOffset:227,sliderLineStartOffset:88.5,sliderLineEndOffset:205.5,sliderLength:20,sliderWidth:8,trackerGap:4};let S={};function w(e){const t=this;t._params=e,t._createElements(e.renderer,e.container,e.dataKey),e.layoutControl.addItem(t),t._subscribeToProjection(e.projection),t._subscribeToTracker(e.tracker),t._createCallbacks(e.projection)}function E(e){delete e._owner,e.update=function(){},e.finish=function(){}}function T(e,t){this._owner=e,this._command=t}function A(e,t,n){this._command=t;let i=null;let o=0,r=0;switch(this._command){case p:r=-10;break;case g:o=10;break;case _:r=10;break;case m:o=-10}this._stop=function(){return clearTimeout(i),e._callbacks.endMove(),this._stop=e=null,this},e._callbacks.beginMove(),function t(){e._callbacks.move([o,r]),i=setTimeout(t,100)}()}function O(e,t){this._owner=e,this._command=t;let n=null;const i=this._command===v?1:-1;this._stop=function(){return clearTimeout(n),this._stop=e=null,this},function t(){e._adjustZoom(e._zoomFactor+i),n=setTimeout(t,150)}()}function k(e,t,n){this._owner=e,this._zoomFactor=e._zoomFactor,this._pos=n.y}S[f]=T,S[p]=S[g]=S[_]=S[m]=A,S[v]=S[b]=O,S[y]=k,w.prototype={constructor:w,_flags:0,dispose:function(){const e=this;e._params.layoutControl.removeItem(e),e._root.linkRemove().linkOff(),e._offProjection(),e._offTracker(),e._params=e._root=e._offProjection=e._offTracker=e._callbacks=null},_subscribeToProjection:function(e){const t=this;function n(){t._adjustZoom(e.getScaledZoom())}t._offProjection=e.on({engine:function(){t._update()},zoom:n,"max-zoom":function(){t._zoomPartition=e.getZoomScalePartition(),t._sliderUnitLength=t._sliderLineLength/t._zoomPartition,n()}})},_subscribeToTracker:function(e){const t=this;let n=!1;t._offTracker=e.on({start:function(e){n=e.data.name===x,n&&t._processStart(e.data.index,e)},move:function(e){n&&t._processMove(e.data.index,e)},end:function(){n&&(t._processEnd(),n=!1)}})},_createCallbacks:function(e){this._callbacks={reset:function(t,n){t&&e.setCenter(null),n&&e.setZoom(null)},beginMove:function(){e.beginMoveCenter()},endMove:function(){e.endMoveCenter()},move:function(t){e.moveCenter(t)},zoom:function(t){e.setScaledZoom(t)}}},_createElements:function(e,t,n){const i=this;i._root=e.g().attr({class:"dxm-control-bar"}).linkOn(t,"control-bar");const r=i._panControl=(0,o.createVisibilityGroup)(e,i._root,"dxm-pan-control"),a=i._zoomBar=(0,o.createVisibilityGroup)(e,i._root,"dxm-zoom-bar"),s=i._trackersPan=(0,o.createTracker)(e,i._root),l=i._trackersZoom=(0,o.createTracker)(e,i._root);i._createTrackersPan(e,n,s),i._createTrackersZoom(e,n,l),i._createPanControl(e,n,r),i._createZoomBar(e,n,a)},_createPanControl:function(e,t,n){const i=C,o=i.buttonSize/2,r=i.arrowButtonOffset-o,a=i.arrowButtonOffset,s={"stroke-linecap":"square",fill:"none"},l="line";e.circle(0,0,i.bigCircleSize/2).append(n),e.circle(0,0,o).attr({fill:"none"}).append(n),e.path([-o,-r,0,-a,o,-r],l).attr(s).append(n),e.path([r,-o,a,0,r,o],l).attr(s).append(n),e.path([o,r,0,a,-o,r],l).attr(s).append(n),e.path([-r,o,-a,0,-r,-o],l).attr(s).append(n)},_createZoomBar:function(e,t,n){const i=this,o=C,r=o.incDecButtonSize/2;e.circle(0,o.incButtonOffset,o.smallCircleSize/2).append(n),e.path([[-r,o.incButtonOffset,r,o.incButtonOffset],[0,o.incButtonOffset-r,0,o.incButtonOffset+r]],"area").append(n),e.circle(0,o.decButtonOffset,o.smallCircleSize/2).append(n),e.path([-r,o.decButtonOffset,r,o.decButtonOffset],"area").append(n),i._zoomLine=e.path([],"line").append(n),i._zoomDrag=e.rect(c(-o.sliderLength/2),c(o.sliderLineEndOffset-o.sliderWidth/2),o.sliderLength,o.sliderWidth).append(n),i._sliderLineLength=o.sliderLineEndOffset-o.sliderLineStartOffset},_createTrackersPan:function(e,t,n){const i=C,o=l((i.arrowButtonOffset-i.trackerGap)/2),r=i.arrowButtonOffset-o,a=l(u(i.bigCircleSize*i.bigCircleSize/4-o*o)),s=a-r;e.rect(-o,-o,2*o,2*o).data(t,{index:f,name:x}).append(n),e.rect(-o,-a,2*o,s).data(t,{index:p,name:x}).append(n),e.rect(r,-o,s,2*o).data(t,{index:g,name:x}).append(n),e.rect(-o,r,2*o,s).data(t,{index:_,name:x}).append(n),e.rect(-a,-o,s,2*o).data(t,{index:m,name:x}).append(n)},_createTrackersZoom:function(e,t,n){const i=C;e.circle(0,i.incButtonOffset,i.smallCircleSize/2).data(t,{index:v,name:x}).append(n),e.circle(0,i.decButtonOffset,i.smallCircleSize/2).data(t,{index:b,name:x}).append(n),e.rect(-2,i.sliderLineStartOffset-2,4,i.sliderLineEndOffset-i.sliderLineStartOffset+4).css({cursor:"default"}).data(t,{index:"command-zoom-drag-line",name:x}).append(n),this._zoomDragTracker=e.rect(-i.sliderLength/2,i.sliderLineEndOffset-i.sliderWidth/2,i.sliderLength,i.sliderWidth).data(t,{index:y,name:x}).append(n)},resize:function(e){this._isActive&&this._root.attr({visibility:null!==e?null:"hidden"})},getLayoutOptions:function(){return this._isActive?this._layoutOptions:null},locate:function(e,t){this._root.attr({translateX:e+this._margin+30.5,translateY:t+this._margin+30.5})},_update:function(){const e=this;e._isActive=e._isEnabled&&e._flags&&e._params.projection.isInvertible();const t=[e._panControl,e._trackersPan],n=[e._zoomBar,e._trackersZoom];e._isActive?(e._root.linkAppend(),(0,o.toggleDisplay)(t,e._isPanVisible),(0,o.toggleDisplay)(n,e._isZoomVisible)):e._root.linkRemove(),e._processEnd(),e.updateLayout()},setInteraction:function(e){const t=this;(0,i.parseScalar)(e.centeringEnabled,!0)?t._flags|=1:t._flags&=-2,(0,i.parseScalar)(e.zoomingEnabled,!0)?t._flags|=2:t._flags&=-3,t._update()},setOptions:function(e){const t=this,n={"stroke-width":e.borderWidth,stroke:e.borderColor,fill:e.color,"fill-opacity":e.opacity};t._isEnabled=!!(0,i.parseScalar)(e.enabled,!0),t._margin=e.margin||0,t._layoutOptions={width:2*t._margin+61,height:2*t._margin+274,horizontalAlignment:d(e.horizontalAlignment,"left"),verticalAlignment:h(e.verticalAlignment,"top")},t._isPanVisible=!!(0,i.parseScalar)(e.panVisible,!0),t._isZoomVisible=!!(0,i.parseScalar)(e.zoomVisible,!0),t._panControl.attr(n),t._zoomBar.attr(n),t._update()},_adjustZoom:function(e){const t=this,n=C.sliderLineStartOffset,i=C.sliderLineEndOffset,o=C.sliderWidth;t._zoomFactor=s(a(l(e),t._zoomPartition),0);const r={translateY:-l(t._zoomFactor*t._sliderUnitLength)},c=i-o/2+r.translateY;t._zoomLine.attr({points:[[0,n,0,s(n,c)],[0,a(i,c+o),0,i]]}),t._zoomDrag.attr(r),t._zoomDragTracker.attr(r)},_applyZoom:function(){this._callbacks.zoom(this._zoomFactor)},_processStart:function(e,t){let n;this._isActive&&(n=S[e],this._command=n&&n.flags&this._flags?new n(this,e,t):null)},_processMove:function(e,t){this._command&&this._command.update(e,t)},_processEnd:function(){this._command&&this._command.finish(),this._command=null}},T.flags=3,T.prototype.update=function(e){e!==this._command&&E(this)},T.prototype.finish=function(){const e=this._owner._flags;this._owner._callbacks.reset(!!(1&e),!!(2&e)),E(this)},A.flags=1,A.prototype.update=function(e){this._command!==e&&this.finish()},A.prototype.finish=function(){E(this._stop())},O.flags=2,O.prototype.update=function(e){this._command!==e&&this.finish()},O.prototype.finish=function(){this._owner._applyZoom(),E(this._stop())},k.flags=2,k.prototype.update=function(e,t){const n=this._owner;n._adjustZoom(this._zoomFactor+n._zoomPartition*(this._pos-t.y)/n._sliderLineLength)},k.prototype.finish=function(){this._owner._applyZoom(),E(this)}},16750:function(e,t){t.toggleDisplay=t.createVisibilityGroup=t.createTracker=void 0;t.createTracker=(e,t)=>e.g().attr({stroke:"none","stroke-width":0,fill:"#000000",opacity:1e-4}).css({cursor:"pointer"}).append(t);t.createVisibilityGroup=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.g().attr({class:n}).append(t)};t.toggleDisplay=(e,t)=>{const n=t?{display:"block"}:{display:"none"};e.map((e=>e.css(n)))}},38409:function(e,t,n){t.DataExchanger=r;var i,o=(i=n(84718))&&i.__esModule?i:{default:i};function r(){this._store={}}r.prototype={constructor:r,dispose:function(){return this._store=null,this},_get:function(e,t){const n=this._store[e]||(this._store[e]={});return n[t]||(n[t]={callbacks:(0,o.default)()})},set:function(e,t,n){const i=this._get(e,t);return i.data=n,i.callbacks.fire(n),this},bind:function(e,t,n){const i=this._get(e,t);return i.callbacks.add(n),i.data&&n(i.data),this},unbind:function(e,t,n){return this._get(e,t).callbacks.remove(n),this}}},20366:function(e,t,n){t.makeEventEmitter=function(e){const t=e.prototype;let n;for(n in r)t[n]=r[n]};var i,o=(i=n(84718))&&i.__esModule?i:{default:i};const r={_initEvents:function(){const e=this._eventNames;let t;const n=e.length,i=this._events={};for(t=0;t<n;++t)i[e[t]]=(0,o.default)()},_disposeEvents:function(){const e=this._events;let t;for(t in e)e[t].empty();this._events=null},on:function(e){const t=this._events;let n;for(n in e)t[n].add(e[n]);return function(){for(n in e)t[n].remove(e[n])}},_fire:function(e,t){this._events[e].fire(t)}}},6695:function(e,t){t.GestureHandler=o;const n=Math.log,i=Math.LN2;function o(e){const t=this;t._projection=e.projection,t._renderer=e.renderer,t._x=t._y=0,t._subscribeToTracker(e.tracker)}o.prototype={constructor:o,dispose:function(){this._offTracker(),this._offTracker=null},_subscribeToTracker:function(e){const t=this;let n=!1;t._offTracker=e.on({start:function(e){n="control-bar"!==e.data.name,n&&t._processStart(e)},move:function(e){n&&t._processMove(e)},end:function(){n&&t._processEnd()},zoom:function(e){t._processZoom(e)}})},setInteraction:function(e){this._processEnd(),this._centeringEnabled=e.centeringEnabled,this._zoomingEnabled=e.zoomingEnabled},_processStart:function(e){this._centeringEnabled&&(this._x=e.x,this._y=e.y,this._projection.beginMoveCenter())},_processMove:function(e){const t=this;t._centeringEnabled&&(t._renderer.root.attr({cursor:"move"}),t._projection.moveCenter([t._x-e.x,t._y-e.y]),t._x=e.x,t._y=e.y)},_processEnd:function(){this._centeringEnabled&&(this._renderer.root.attr({cursor:"default"}),this._projection.endMoveCenter())},_processZoom:function(e){const t=this;let o,r,a;t._zoomingEnabled&&(e.delta?o=e.delta:e.ratio&&(o=n(e.ratio)/i),t._centeringEnabled&&(r=t._renderer.getRootOffset(),r=[e.x-r.left,e.y-r.top],a=t._projection.fromScreenPoint(r)),t._projection.changeScaledZoom(o),t._centeringEnabled&&t._projection.setCenterByPoint(a,r))}}},25217:function(e,t,n){t.LayoutControl=h;var i=n(21274);const o=Math.round,r=Math.min,a=Math.max,s=i.each,l={left:0,center:1,right:2},c={top:0,bottom:1};function u(e,t){const n=(e.right-e.left)/3,i=(e.bottom-e.top)/2,r=e.left,a=o(r+n),u=o(r+n+n),d=e.right,h=e.top,f=o(h+i),p=e.bottom,g=[{rect:[r,h,a,f]},{rect:[a,h,u,f],center:!0},{rect:[u,h,d,f],horInversion:!0},{rect:[r,f,a,p],verInversion:!0},{rect:[a,f,u,p],center:!0,verInversion:!0},{rect:[u,f,d,p],horInversion:!0,verInversion:!0}],_=[[],[],[],[],[],[]];return s(t,(function(e,t){const n=t.getLayoutOptions();n&&_[function(e){return 3*c[e.verticalAlignment]+l[e.horizontalAlignment]}(n)].push({item:t,width:n.width,height:n.height})})),s(g,(function(e,t){_[e].length?t.items=_[e]:(t.center?t.rect[0]=t.rect[2]=(t.rect[0]+t.rect[2])/2:t.rect[t.horInversion?0:2]=t.rect[t.horInversion?2:0],t.rect[t.verInversion?1:3]=t.rect[t.verInversion?3:1])})),g}function d(e,t){let n=!1;return function(e){s([0,1,2,3,4,5],(function(t,n){const i=e[n],o=e[(n+3)%6];i.items&&(o.items||(i.rect[1]=r(i.rect[1],o.rect[3]),i.rect[3]=a(i.rect[3],o.rect[1])))})),s([1,4],(function(t,n){const i=e[n],o=e[n-1],r=e[n+1];let a,s;i.items?o.items||r.items||(a=i.rect[0]-o.rect[2],s=r.rect[0]-i.rect[2],a>s?a/s>=2?(i.rect[0]-=a,i.right=!0):(i.rect[0]-=s,i.rect[2]+=s):s/a>=2?(i.rect[2]+=s,i.center=null):(i.rect[0]-=a,i.rect[2]+=a)):(o.items&&(o.rect[2]=(i.rect[0]+i.rect[2])/2),r.items&&(r.rect[0]=(i.rect[0]+i.rect[2])/2))}))}(e),s(e,(function(e,i){i.items&&(n=function(e,t){const n=e.rect,i=n[2]-n[0],l=n[3]-n[1];let c=0,u=0,d=0,h=n[2],f=n[3],p=n[0],g=n[1];const _=[];let m=!1;s(e.items,(function(o,s){if(s.width>i||s.height>l)return _.push(null),m=!0,t||!1;if(c+s.width>i&&(u+=d,c=d=0),u+s.height>l)return _.push(null),m=!0,t||!1;d=a(d,s.height);const v=e.horInversion?n[2]-s.width-c:n[0]+c,b=e.verInversion?n[3]-s.height-u:n[1]+u;c+=s.width,h=r(h,v),f=r(f,b),p=a(p,v+s.width),g=a(g,b+s.height),_.push([v,b])})),(t||!m)&&(c=0,e.right?c=n[2]-n[0]-p+h:e.center&&(c=o((n[2]-n[0]-p+h)/2)),s(e.items,(function(e,t){const n=_[e];n?t.item.locate(n[0]+c,n[1]):t.item.resize(null)})),e.rect=[h,f,p,g],e.items=null);return m}(i,t)||n)})),n}function h(e){const t=this;t._items=[],t._suspended=0,t._widget=e,t._updateLayout=function(){t._update()}}h.prototype={constructor:h,dispose:function(){this._items=this._updateLayout=null},setSize:function(e){this._canvas=e,this._update()},suspend:function(){++this._suspended},resume:function(){0==--this._suspended&&this._update()},addItem:function(e){this._items.push(e),e.updateLayout=this._updateLayout},removeItem:function(e){const t=this._items.indexOf(e);this._items.splice(t,1),e.updateLayout=null},_update:function(){let e;0===this._suspended&&(e=this._canvas,s(this._items,(function(t,n){n.resize(e)})),this._widget.resolveItemsDeferred(this._items.filter((e=>e.getTemplatesGroups&&e.getTemplatesDef))),function(e,t){const n=u(e,t);d(n)&&d(n,!0)}({left:e.left,top:e.top,right:e.width+e.left,bottom:e.height+e.top},this._items))}}},92746:function(e,t,n){t.LegendsControl=d;var i=n(52576),o=n(21274),r=n(22263),a=n(67056);const s=i.extend,l=o.each,c={category:"UNKNOWN",name:"UNKNOWN"};let u=function(e){const t=this;t._params=e,t._root=e.renderer.g().attr({class:"dxm-legend"}).linkOn(e.container,{name:"legend",after:"legend-base"}).enableLinks().linkAppend(),e.layoutControl.addItem(t),a.Legend.call(t,{renderer:e.renderer,widget:e.widget,group:t._root,backgroundClass:null,itemsGroupClass:null,textField:"text",getFormatObject:function(e){return e}}),t._onDataChanged=function(e){t._updateData(e)}};function d(e){this._params=e,this._items=[],e.container.virtualLink("legend-base")}u.prototype=s((0,r.clone)(a.Legend.prototype),{constructor:u,dispose:function(){const e=this;return e._params.layoutControl.removeItem(e),e._unbindData(),e._root.linkRemove().linkOff(),e._params=e._root=e._onDataChanged=null,a.Legend.prototype.dispose.apply(e,arguments)},resize:function(e){this._params.notifyDirty(),null===e?this.erase():this.draw(e.width,e.height),this._params.notifyReady()},locate:a.Legend.prototype.shift,_updateData:function(e){this._options.defaultColor=e&&e.defaultColor,this.update(e?function(e,t,n){let i;const o=t.length,r=[];let a;for(i=0;i<o;++i)r[i]=a={start:e[i],end:e[i+1],index:i},a[n]=t[i],a.states={normal:{fill:a.color}},a.visible=!0;return r}(e.partition,e.values,this._dataName):[],this._options,this._params.themeManager.theme("legend").title),this.updateLayout()},_unbindData:function(){this._dataCategory&&this._params.dataExchanger.unbind(this._dataCategory,this._dataName,this._onDataChanged)},_bindData:function(e){this._params.dataExchanger.bind(this._dataCategory=e.category,this._dataName=e.name,this._onDataChanged)},setOptions:function(e){const t=this;t.update(t._data,e,this._params.themeManager.theme("legend").title),t._unbindData();const n=e.source;return t._bindData(n?{category:n.layer,name:n.grouping}:c),t.updateLayout(),t}}),d.prototype={constructor:d,dispose:function(){l(this._items,(function(e,t){t.dispose()})),this._params=this._items=null},setOptions:function(e){const t=e&&e.length?e:[],n=this._items;let i;const o=t.length,r=this._params,a=r.themeManager.theme("legend");for(i=n.length;i<o;++i)n[i]=new u(r);for(i=n.length-1;i>=o;--i)n[i].dispose(),n.splice(i,1);for(r.layoutControl.suspend(),i=0;i<o;++i)n[i].setOptions(s(!0,{},a,t[i]));r.layoutControl.resume()}}},65379:function(e,t,n){t.MapLayerCollection=ue,t.getMaxBound=A;var i=n(17781),o=n(52576),r=n(21274),a=n(11036),s=n(11528),l=n(87739),c=n(28779);const u=i.noop,d=o.extend,h=r.each,f=Array.prototype.concat,p="area",g="line",_="marker",m=[0,1,2,2],v={none:null,single:-1,multiple:NaN},b=Array.isArray,y=Number,x=String,C=Math.abs,S=Math.round,w=Math.min,E=Math.max,T=Math.sqrt;function A(e){return e.reduce(((e,t)=>t?[w(e[0],t[0]),w(e[1],t[1]),E(e[2],t[2]),E(e[3],t[3])]:e),e[0])}function O(e,t){return(e[t]||{}).name}function k(){}function D(e){this.raw=e}function L(e){this.raw=e}function P(e){return b(e.features)}function M(e){e.text.attr({visibility:e.size[0]/e.spaceSize[0]<1&&e.size[1]/e.spaceSize[1]<1?null:"hidden"})}function R(e){e.text.attr({visibility:e.size[0]/e.spaceSize[0]<1||e.size[1]/e.spaceSize[1]<1?null:"hidden"})}function I(e,t){return e.attribute(t)}k.prototype.count=function(){return 0},D.prototype={constructor:D,count:function(){return this.raw.length},item:function(e){return this.raw[e]},geometry:function(e){return{coordinates:e.coordinates}},attributes:function(e){return e.attributes},getBBox:function(e){return 0===arguments.length?void 0:this.raw[e].bbox}},L.prototype={constructor:L,count:function(){return this.raw.features.length},item:function(e){return this.raw.features[e]},geometry:function(e){return e.geometry},attributes:function(e){return e.properties},getBBox:function(e){return 0===arguments.length?this.raw.bbox:this.raw.features[e].bbox}};const B={Point:_,MultiPoint:g,LineString:g,MultiLineString:g,Polygon:p,MultiPolygon:p};function V(e,t){return void 0!==e?e:t}const F={setup:u,reset:u,arrange:u,updateGrouping:u,getDefaultColor:u},H={},N={},z={};let j,G,Z=function(e,t){let n,i=(0,c.normalizeEnum)(e.type),o=(0,c.normalizeEnum)(e.elementType);const r=d({},F);return t.count()>0&&(n=t.geometry(t.item(0)),i=H[i]?i:function(e){let t=B[e.type];const n=e.coordinates;return t||(t="number"==typeof n[0]?_:"number"==typeof n[0][0]?g:p),t}(n),d(r,H[i]),r.fullType=r.type=i,N[i]&&d(r,N[i](n)),z[i]&&(o=z[i][o]?o:z[i]._default,d(r,z[i][o]),r.elementType=o,r.fullType+=":"+o)),r};function W(e,t,n,i){e[i].attr(t[i][n])}function U(e,t){const n=[];let i;const o=n.length=t.length;for(i=0;i<o;++i)n[i]=e.project(t[i]);return n}function $(e,t){return[U(e,t)]}function Y(e,t){const n=[];let i;const o=n.length=t.length;for(i=0;i<o;++i)n[i]=U(e,t[i]);return n}function K(e,t){const n=[];let i;const o=t.length;let r,a=0;for(n.length=2*o,i=0;i<o;++i)r=e.transform(t[i]),n[a++]=r[0],n[a++]=r[1];return n}function q(e,t,n){const i=[];let o;const r=i.length=n.length;for(o=0;o<r;++o)i[o]=K(t,n[o]);e.root.attr({points:i})}function X(e,t,n){const i=ee(e.settings,n);return function(e,t,n){h(e,(function(e,i){const o=J(i.callback(t,i.field),i.partition);o>=0&&(n[e]=i.values[o])}))}(e.grouping,t,i),void 0===n.color&&n.paletteIndex>=0&&(i.color=i._colors[n.paletteIndex]),i}function J(e,t){let n,i=0,o=t.length-1,r=-1;if(t[i]<=e&&e<=t[o])if(e===t[o])r=o-1;else{for(;o-i>1;)n=i+o>>1,e<t[n]?o=n:i=n;r=i}return r}function Q(e,t,n,i){e.params.eventTrigger(i,{target:t.proxy,state:n})}function ee(e,t){const n=d({},e,t);return n.label=d({},e.label,n.label),n.label.font=d({},e.label.font,n.label.font),n}function te(e,t){return e.attribute(t)}H[p]={projectLabel:function(e){let t;const n=e.length;let i,o,r=0;for(t=0;t<n;++t)i=le(e[t]),i.area>r&&(r=i.area,o=i);return o?[o.center,[T(o.area),T(o.area)]]:[[],[]]},transform:q,transformLabel:function(e,t,n){const i=t.transform(n[0]);e.spaceSize=t.getSquareSize(n[1]),e.text.attr({translateX:i[0],translateY:i[1]}),M(e)},draw:function(e,t,n){t.root=e.renderer.path([],"area").data(e.dataKey,n)},refresh:u,getLabelOffset:function(e){return M(e),[0,0]},getStyles:function(e){const t=e.color||null,n=e.borderColor||null,i=V(e.borderWidth,null),o=V(e.opacity,null);return{root:[{class:"dxm-area",stroke:n,"stroke-width":i,fill:t,opacity:o},{class:"dxm-area dxm-area-hovered",stroke:e.hoveredBorderColor||n,"stroke-width":V(e.hoveredBorderWidth,i),fill:e.hoveredColor||t,opacity:V(e.hoveredOpacity,o)},{class:"dxm-area dxm-area-selected",stroke:e.selectedBorderColor||n,"stroke-width":V(e.selectedBorderWidth,i),fill:e.selectedColor||t,opacity:V(e.selectedOpacity,o)}]}},setState:function(e,t,n){W(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){j(e)},getDefaultColor:u},H[g]={projectLabel:function(e){let t;const n=e.length;let i,o,r=0;for(t=0;t<n;++t)i=ce(e[t]),i[2]>r&&(r=i[2],o=i);return o||[[],[]]},transform:q,transformLabel:function(e,t,n){const i=t.transform(n[0]);e.spaceSize=t.getSquareSize(n[1]),e.text.attr({translateX:i[0],translateY:i[1]}),R(e)},draw:function(e,t,n){t.root=e.renderer.path([],"line").data(e.dataKey,n)},refresh:u,getLabelOffset:function(e){return R(e),[0,0]},getStyles:function(e){const t=e.color||e.borderColor||null,n=V(e.borderWidth,null),i=V(e.opacity,null);return{root:[{class:"dxm-line",stroke:t,"stroke-width":n,opacity:i},{class:"dxm-line dxm-line-hovered",stroke:e.hoveredColor||e.hoveredBorderColor||t,"stroke-width":V(e.hoveredBorderWidth,n),opacity:V(e.hoveredOpacity,i)},{class:"dxm-line dxm-line-selected",stroke:e.selectedColor||e.selectedBorderColor||t,"stroke-width":V(e.selectedBorderWidth,n),opacity:V(e.selectedOpacity,i)}]}},setState:function(e,t,n){W(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){j(e)},getDefaultColor:u},H[_]={project:function(e,t){return e.project(t)},transform:function(e,t,n){const i=t.transform(n);e.root.attr({translateX:i[0],translateY:i[1]})},draw:function(e,t,n){t.root=e.renderer.g(),this._draw(e,t,n)},refresh:u,hasLabelsGroup:!1,getLabelOffset:function(e,t){return[S((e.size[0]+E(t.size||0,0))/2)+2,0]},getStyles:function(e){const t={root:[{class:"dxm-marker"},{class:"dxm-marker dxm-marker-hovered"},{class:"dxm-marker dxm-marker-selected"}]};return this._getStyles(t,e),t},setState:function(e,t,n){W(e,t,n,"root"),this._setState(e,t,n)},updateGrouping:function(e){j(e),G(e)},getDefaultColor:function(e,t){return e.params.themeManager.getAccentColor(t)}},N[p]=function(e){return{project:(e,t)=>t[0]&&t[0][0]&&t[0][0][0]&&"number"==typeof t[0][0][0][0]?function(e,t){const n=[];let i;const o=n.length=t.length;for(i=0;i<o;++i)n[i]=Y(e,t[i]);return f.apply([],n)}(e,t):Y(e,t)}},N[g]=function(e){const t=e.coordinates;return{project:t[0]&&t[0][0]&&"number"==typeof t[0][0][0]?Y:$}},z[_]={_default:"dot",dot:{setup:function(e){e.filter=e.renderer.shadowFilter("-40%","-40%","180%","200%",0,1,1,"#000000",.2)},reset:function(e){e.filter.dispose(),e.filter=null},_draw:function(e,t,n){t.back=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root),t.dot=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){t.dot.attr({filter:o.shadow?e.filter.id:null})},_getStyles:function(e,t){const n=t.size>0?y(t.size):0,i=n,o=n+(t.selectedStep>0?y(t.selectedStep):0),r=i+(t.backStep>0?y(t.backStep):0),a=o+(t.backStep>0?y(t.backStep):0),s=t.color||null,l=t.borderColor||null,c=V(t.borderWidth,null),u=V(t.opacity,null),d=t.backColor||null,h=V(t.backOpacity,null);e.dot=[{r:n/2,stroke:l,"stroke-width":c,fill:s,opacity:u},{r:i/2,stroke:t.hoveredBorderColor||l,"stroke-width":V(t.hoveredBorderWidth,c),fill:t.hoveredColor||s,opacity:V(t.hoveredOpacity,u)},{r:o/2,stroke:t.selectedBorderColor||l,"stroke-width":V(t.selectedBorderWidth,c),fill:t.selectedColor||s,opacity:V(t.selectedOpacity,u)}],e.back=[{r:n/2,stroke:"none","stroke-width":0,fill:d,opacity:h},{r:r/2,stroke:"none","stroke-width":0,fill:d,opacity:h},{r:a/2,stroke:"none","stroke-width":0,fill:d,opacity:h}]},_setState:function(e,t,n){W(e,t,n,"dot"),W(e,t,n,"back")}},bubble:{_draw:function(e,t,n){t.bubble=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){t.bubble.attr({r:o.size/2})},_getStyles:function(e,t){const n=t.color||null,i=t.borderColor||null,o=V(t.borderWidth,null),r=V(t.opacity,null);e.bubble=[{stroke:i,"stroke-width":o,fill:n,opacity:r},{stroke:t.hoveredBorderColor||i,"stroke-width":V(t.hoveredBorderWidth,o),fill:t.hoveredColor||t.color,opacity:V(t.hoveredOpacity,r)},{stroke:t.selectedBorderColor||i,"stroke-width":V(t.selectedBorderWidth,o),fill:t.selectedColor||t.color,opacity:V(t.selectedOpacity,r)}]},_setState:function(e,t,n){W(e,t,n,"bubble")},arrange:function(e,t){const n=[];let i;const o=n.length=t.length,r=e.settings,a=r.dataField,s=r.minSize>0?y(r.minSize):0,l=r.maxSize>s?y(r.maxSize):s;if(r.sizeGroups)return;for(i=0;i<o;++i)n[i]=E(I(t[i].proxy,a)||0,0);const c=w.apply(null,n),u=E.apply(null,n)-c||1,d=l-s;for(i=0;i<o;++i)t[i]._settings.size=s+d*(n[i]-c)/u},updateGrouping:function(e){const t=e.settings.dataField;H[_].updateGrouping(e),G(e,(function(e){return I(e,t)}))}},pie:{_draw:function(e,t,n){t.pie=e.renderer.g().append(t.root),t.border=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){const r=I(i,e.settings.dataField)||[],a=o._colors;let s=0;const l=t.pie,c=e.renderer,u=e.dataKey,d=(o.size>0?y(o.size):0)/2;let h=90,f=h,p=!1;s=r.reduce((function(e,t){return e+(t||0)}),0),0===s&&(p=!0,s=360/r.length),r.forEach((function(e,t){h=f,f+=p?s:(e||0)/s*360,c.arc(0,0,0,d,h,f).attr({"stroke-linejoin":"round",fill:a[t]}).data(u,n).append(l)})),t.border.attr({r:d})},_getStyles:function(e,t){const n=V(t.opacity,null),i=t.borderColor||null,o=V(t.borderWidth,null);e.pie=[{opacity:n},{opacity:V(t.hoveredOpacity,n)},{opacity:V(t.selectedOpacity,n)}],e.border=[{stroke:i,"stroke-width":o},{stroke:t.hoveredBorderColor||i,"stroke-width":V(t.hoveredBorderWidth,o)},{stroke:t.selectedBorderColor||i,"stroke-width":V(t.selectedBorderWidth,o)}]},_setState:function(e,t,n){W(e,t,n,"pie"),W(e,t,n,"border")},arrange:function(e,t){let n;const i=t.length,o=e.settings.dataField;let r,a,s=0;for(n=0;n<i;++n)r=I(t[n].proxy,o),r&&r.length>s&&(s=r.length);s>0&&(a=e.params.themeManager.createPalette(e.settings.palette,{useHighlight:!0,extensionMode:"alternate"}),r=a.generateColors(s),e.settings._colors=r,e.grouping.color={callback:u,field:"",partition:[],values:[]},e.params.dataExchanger.set(e.name,"color",{partition:[],values:r}))}},image:{_draw:function(e,t,n){t.image=e.renderer.image(null,null,null,null,null,"center").attr({"pointer-events":"visible"}).data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i){t.image.attr({href:I(i,e.settings.dataField)})},_getStyles:function(e,t){const n=t.size>0?y(t.size):0,i=n+(t.hoveredStep>0?y(t.hoveredStep):0),o=n+(t.selectedStep>0?y(t.selectedStep):0),r=V(t.opacity,null);e.image=[{x:-n/2,y:-n/2,width:n,height:n,opacity:r},{x:-i/2,y:-i/2,width:i,height:i,opacity:V(t.hoveredOpacity,r)},{x:-o/2,y:-o/2,width:o,height:o,opacity:V(t.selectedOpacity,r)}]},_setState:function(e,t,n){W(e,t,n,"image")}}};let ne,ie=function(e,t,n,i,o){let r;i&&t&&t.length>1&&(r=o(t.length-1),e.grouping[n]={callback:(0,s.isFunction)(i)?i:te,field:i,partition:t,values:r},e.params.dataExchanger.set(e.name,n,{partition:t,values:r,defaultColor:e.settings.color}))};function oe(e){const t=e.name,n=e.params.dataExchanger;h(e.grouping,(function(e){n.set(t,e,null)})),e.grouping={}}function re(e,t,n){return n?e|=t:e&=~t,e}function ae(e,t){return!!(e&t)}j=function(e){ie(e,e.settings.colorGroups,"color",e.settings.colorGroupingField,(function(t){const n=e.params.themeManager.createDiscretePalette(e.settings.palette,t);let i;const o=[];for(i=0;i<t;++i)o.push(n.getColor(i));return o}))},G=function(e,t){const n=e.settings;ie(e,n.sizeGroups,"size",t||n.sizeGroupingField,(function(e){const t=n.minSize>0?y(n.minSize):0,i=n.maxSize>=t?y(n.maxSize):0;let o=0;const r=[];if(e>1)for(o=0;o<e;++o)r.push((t*(e-o-1)+i*o)/(e-1));else 1===e&&r.push((t+i)/2);return r}))};let se=function(e,t,n,i){const o=this;o._params=e,o._onProjection(),o.proxy=function(e,t,n){const i={index:n,name:t,getElements:function(){return e.getProxies()},clearSelection:function(t){return e.clearSelection(t),i},getDataSource:function(){return e.getDataSource()},getBounds:()=>e.getBounds()};return i}(o,n,i),o._context={name:n,layer:o.proxy,renderer:e.renderer,projection:e.projection,params:e,dataKey:e.dataKey,str:F,hover:!1,selection:null,grouping:{},root:e.renderer.g().attr({class:"dxm-layer"}).linkOn(t,n).linkAppend()},o._container=t,o._options={},o._handles=[],o._data=new k,o._dataSourceLoaded=null};function le(e){let t;const n=e.length;let i,o,r=e[n-1],a=0,s=0,l=0,c=1/0,u=-1/0,d=1/0,h=-1/0;for(t=0;t<n;++t)i=r,r=e[t],o=i[0]*r[1]-r[0]*i[1],l+=o,a+=(i[0]+r[0])*o,s+=(i[1]+r[1])*o,c=w(c,r[0]),u=E(u,r[0]),d=w(d,r[1]),h=E(h,r[1]);return{area:C(l)/2,center:[2*a/3/l-(c+u)/2,2*s/3/l-(d+h)/2]}}function ce(e){let t;const n=e.length;let i,o=e[0]||[],r=0;const a=[0];let s=o[0],l=o[0],c=o[1],u=o[1];for(t=1;t<n;++t)i=o,o=e[t],r+=T((i[0]-o[0])*(i[0]-o[0])+(i[1]-o[1])*(i[1]-o[1])),a[t]=r,s=w(s,o[0]),l=E(l,o[0]),c=w(c,o[1]),u=E(u,o[1]);t=J(r/2,a),i=e[t],o=e[t+1];const d=(r/2-a[t])/(a[t+1]-a[t]);return n?[[i[0]*(1-d)+o[0]*d,i[1]*(1-d)+o[1]*d],[l-s,u-c],r]:[]}function ue(e){const t=this,n=e.renderer;t._params=e,t._layers=[],t._layerByName={},t._rect=[0,0,0,0],t._clip=n.clipRect(),t._background=n.rect().attr({class:"dxm-background"}).data(e.dataKey,{name:"background"}).append(n.root),t._container=n.g().attr({class:"dxm-layers","clip-path":t._clip.id}).append(n.root).enableLinks(),t._subscribeToTracker(e.tracker,n,e.eventTrigger),t._dataReady=e.dataReady}se.prototype=d({constructor:se,getDataReadyCallback(){return this._dataSourceLoaded},_onProjection:function(){const e=this;e._removeHandlers=e._params.projection.on({engine:function(){e._project()},screen:function(){e._transform()},center:function(){e._transformCore()},zoom:function(){e._transform()}})},getData(){return this._data},_dataSourceLoadErrorHandler:function(){this._dataSourceChangedHandler()},_dataSourceChangedHandler:function(){const e=this;e._data=function(e){let t;return e&&(P(e)?t=L:1===e.length&&e[0]&&P(e[0])?(t=L,e=e[0]):b(e)&&(t=D)),t=t||k,new t(e)}(e._dataSource&&e._dataSource.items()),e._update(!0)},_dataSourceOptions:function(){return{paginate:!1}},_getSpecificDataSourceOption:function(){return this._specificDataSourceOption},_normalizeDataSource:function(e){const t=e.store();return"raw"===t._loadMode&&(t._loadMode=void 0),e},_offProjection:function(){this._removeHandlers(),this._removeHandlers=null},dispose:function(){const e=this;return e._disposeDataSource(),e._destroyHandles(),oe(e._context),e._context.root.linkRemove().linkOff(),e._context.labelRoot&&e._context.labelRoot.linkRemove().linkOff(),e._context.str.reset(e._context),e._offProjection(),e._params=e._container=e._context=e.proxy=null,e},setOptions:function(e){const t=this;var n;e=t._options=e||{},t._dataSourceLoaded=new l.Deferred,"dataSource"in e&&e.dataSource!==t._options_dataSource?(t._options_dataSource=e.dataSource,t._params.notifyDirty(),t._specificDataSourceOption=(n=e.dataSource)?P(n)?[n]:n:[],t._refreshDataSource()):t._data.count()>0&&(t._params.notifyDirty(),t._update(void 0!==e.type&&e.type!==t._context.str.type||void 0!==e.elementType&&e.elementType!==t._context.str.elementType)),t._transformCore()},_update:function(e){const t=this,n=t._context;e&&(n.str.reset(n),n.root.clear(),n.labelRoot&&n.labelRoot.clear(),t._params.tracker.reset(),t._destroyHandles(),n.str=Z(t._options,t._data),n.str.setup(n),t.proxy.type=n.str.type,t.proxy.elementType=n.str.elementType),n.settings=function(e,t){const n=e.params.themeManager,i=e.str,o=ee(d({label:{},color:i.getDefaultColor(e,t.palette)},n.theme("layer:"+i.fullType)),t);let r,a,s;if(o.paletteSize>0){for(s=n.createDiscretePalette(o.palette,o.paletteSize),a=0,r=[];a<o.paletteSize;++a)r.push(s.getColor(a));o._colors=r}return o}(n,t._options),n.hasSeparateLabel=!(!n.settings.label.enabled||!n.str.hasLabelsGroup),n.hover=!!(0,c.parseScalar)(n.settings.hoverEnabled,!0),n.selection&&h(n.selection.state,(function(e,t){t&&t.resetSelected()})),n.selection=function(e){let t=(0,c.normalizeEnum)(e);return t=t in v?v[t]:v.single,null!==t&&(t={state:{},single:t}),t}(n.settings.selectionMode),n.hasSeparateLabel?n.labelRoot||(n.labelRoot=n.renderer.g().attr({class:"dxm-layer-labels"}).linkOn(t._container,{name:n.name+"-labels",after:n.name}).linkAppend(),t._transformCore()):n.labelRoot&&(n.labelRoot.linkRemove().linkOff(),n.labelRoot=null),e&&t._createHandles(),oe(n),n.str.arrange(n,t._handles),n.str.updateGrouping(n),t._updateHandles(),t._params.notifyReady(),t._dataSourceLoaded?(t._dataSourceLoaded.resolve(),t._dataSourceLoaded=null):t._params.dataReady()},getBounds(){return A(this._handles.map((e=>{let{proxy:t}=e;return t.coordinates().map((e=>{if(!b(e))return;const t=b(e[0][0])?e.reduce(((e,t)=>e.concat(t)),[]):e,n=t[0];return t.reduce(((e,t)=>[w(e[0],t[0]),w(e[1],t[1]),E(e[2],t[0]),E(e[3],t[1])]),[n[0],n[1],n[0],n[1]])}))})).map(A))},_destroyHandles(){this._handles.forEach((e=>e.dispose())),this._context.selection&&(this._context.selection.state={}),this._handles=[]},_createHandles:function(){const e=this,t=e._handles=[],n=e._data;let i;const o=t.length=n.count(),r=e._context,a=n.geometry,l=n.attributes;let c,u;for(i=0;i<o;++i)u=n.item(i),t[i]=new ne(r,i,a(u),l(u));var d,f,p;for((0,s.isFunction)(e._options.customize)&&(d=e.getProxies(),f=e._options.customize,p=e._params.widget,f.call(p,d)),i=0;i<o;++i)c=t[i],c.project(),c.draw(),c.transform();r.selection&&h(r.selection.state,(function(e,t){t&&t.restoreSelected()}))},_updateHandles:function(){const e=this._handles;let t;const n=e.length;for(t=0;t<n;++t)e[t].refresh();if(this._context.settings.label.enabled){for(t=0;t<n;++t)e[t].measureLabel();for(t=0;t<n;++t)e[t].adjustLabel()}},_transformCore:function(){const e=this._params.projection.getTransform();this._context.root.attr(e),this._context.labelRoot&&this._context.labelRoot.attr(e)},_project:function(){const e=this._handles;let t;const n=e.length;for(t=0;t<n;++t)e[t].project()},_transform:function(){const e=this._handles;let t;const n=e.length;for(this._transformCore(),t=0;t<n;++t)e[t].transform()},getProxies(){return this._handles.map((e=>e.proxy))},getProxy:function(e){return this._handles[e].proxy},raiseClick:function(e,t){this._params.eventTrigger("click",{target:this._handles[e].proxy,event:t})},hoverItem:function(e,t){this._handles[e].setHovered(t)},selectItem:function(e,t,n){this._handles[e].setSelected(t,n)},clearSelection:function(){const e=this._context.selection;e&&(h(e.state,(function(e,t){t&&t.setSelected(!1)})),e.state={})}},a.DataHelperMixin),ne=function(e,t,n,i){const o=this,r=o.proxy=function(e,t,n){const i={coordinates:function(){return t},attribute:function(e,t){return arguments.length>1?(n[e]=t,i):arguments.length>0?n[e]:n},selected:function(t,n){return arguments.length>0?(e.setSelected(t,n),i):e.isSelected()},applySettings:function(t){return e.update(t),i}};return i}(o,n.coordinates,d({},i));o._ctx=e,o._index=t,o._fig=o._label=null,o._state=0,o._coordinates=n.coordinates,o._settings={label:{}},r.index=t,r.layer=e.layer,o._data={name:e.name,index:t}},ne.prototype={constructor:ne,dispose:function(){const e=this;return e._ctx=e.proxy=e._settings=e._fig=e._label=e.data=null,e},project:function(){const e=this._ctx;this._projection=e.str.project(e.projection,this._coordinates),e.hasSeparateLabel&&this._label&&this._projectLabel()},_projectLabel:function(){this._labelProjection=this._ctx.str.projectLabel(this._projection)},draw:function(){const e=this,t=this._ctx;t.str.draw(t,e._fig={},e._data),e._fig.root.append(t.root)},transform:function(){const e=this,t=e._ctx;t.str.transform(e._fig,t.projection,e._projection),t.hasSeparateLabel&&e._label&&e._transformLabel()},_transformLabel:function(){this._ctx.str.transformLabel(this._label,this._ctx.projection,this._labelProjection)},refresh:function(){const e=this,t=e._ctx.str,n=X(e._ctx,e.proxy,e._settings);e._styles=t.getStyles(n),t.refresh(e._ctx,e._fig,e._data,e.proxy,n),e._refreshLabel(n),e._setState()},_refreshLabel:function(e){const t=this,n=t._ctx,i=e.label;let o=t._label;n.settings.label.enabled?(o||(o=t._label={root:n.labelRoot||t._fig.root,text:n.renderer.text().attr({class:"dxm-label"}),size:[0,0]},n.hasSeparateLabel&&(t._projectLabel(),t._transformLabel())),o.value=x(t.proxy.text||t.proxy.attribute(i.dataField)||""),o.value&&(o.text.attr({text:o.value,x:0,y:0}).css((0,c.patchFontOptions)(i.font)).attr({align:"center",stroke:i.stroke,"stroke-width":i["stroke-width"],"stroke-opacity":i["stroke-opacity"]}).data(n.dataKey,t._data).append(o.root),o.settings=e)):o&&(o.text.remove(),t._label=null)},measureLabel:function(){const e=this._label;let t;e.value&&(t=e.text.getBBox(),e.size=[t.width,t.height,-t.y-t.height/2])},adjustLabel:function(){const e=this._label;let t;e.value&&(t=this._ctx.str.getLabelOffset(e,e.settings),e.settings=null,e.text.attr({x:t[0],y:t[1]+e.size[2]}))},update:function(e){const t=this;t._settings=ee(t._settings,e),t._fig&&(t.refresh(),t._label&&t._label.value&&(t.measureLabel(),t.adjustLabel()))},_setState:function(){this._ctx.str.setState(this._fig,this._styles,m[this._state])},_setForeground:function(){const e=this._fig.root;this._state?e.toForeground():e.toBackground()},setHovered:function(e){const t=this,n=ae(t._state,1),i=!!e;return t._ctx.hover&&n!==i&&(t._state=re(t._state,1,i),t._setState(),t._setForeground(),Q(t._ctx,t,i,"hoverChanged")),t},setSelected:function(e,t){const n=this,i=ae(n._state,2),o=!!e,r=n._ctx.selection;let a;r&&i!==o&&(n._state=re(n._state,2,o),a=r.state[r.single],r.state[r.single]=null,a&&a.setSelected(!1),r.state[r.single||n._index]=e?n:null,n._fig&&(n._setState(),n._setForeground(),t||Q(n._ctx,n,o,"selectionChanged")))},isSelected:function(){return ae(this._state,2)},resetSelected:function(){this._state=re(this._state,2,!1)},restoreSelected:function(){this._fig.root.toForeground()}},ue.prototype={constructor:ue,dispose:function(){const e=this;e._clip.dispose(),e._layers.forEach((e=>e.dispose())),e._offTracker(),e._params=e._offTracker=e._layers=e._layerByName=e._clip=e._background=e._container=null},_subscribeToTracker:function(e,t,n){const i=this;i._offTracker=e.on({click:function(e){const o=t.getRootOffset(),r=i.byName(e.data.name);e.$event.x=e.x-o.left,e.$event.y=e.y-o.top,r?r.raiseClick(e.data.index,e.$event):"background"===e.data.name&&n("click",{event:e.$event})},"hover-on":function(e){const t=i.byName(e.data.name);t&&t.hoverItem(e.data.index,!0)},"hover-off":function(e){const t=i.byName(e.data.name);t&&t.hoverItem(e.data.index,!1)}})},setOptions(e){const t=this,n=e?b(e)?e:[e]:[];let i=t._layers,o=[];if(n.length!==i.length||i.some(((e,t)=>{const i=O(n,t);return(0,s.isDefined)(i)&&i!==e.proxy.name}))){t._params.tracker.reset(),t._layers.forEach((e=>e.dispose()));const e=t._layerByName={};t._layers=i=[];for(let o=0,r=n.length;o<r;++o){const r=O(n,o)||"map-layer-"+o,a=i[o]=new se(t._params,t._container,r,o);e[r]=a}}i.forEach(((e,t)=>{e.setOptions(n[t])})),o=i.map((e=>e.getDataReadyCallback())),o.length&&l.when.apply(void 0,o).done(t._dataReady)},_updateClip:function(){const e=this._rect,t=this._borderWidth;this._clip.attr({x:e[0]+t,y:e[1]+t,width:E(e[2]-2*t,0),height:E(e[3]-2*t,0)})},setBackgroundOptions:function(e){this._background.attr({stroke:e.borderColor,"stroke-width":e.borderWidth,fill:e.color}),this._borderWidth=E(e.borderWidth,0),this._updateClip()},setRect:function(e){this._rect=e,this._background.attr({x:e[0],y:e[1],width:e[2],height:e[3]}),this._updateClip()},byIndex:function(e){return this._layers[e]},byName:function(e){return this._layerByName[e]},items:function(){return this._layers}}},99094:function(e,t,n){Object.defineProperty(t,"projection",{enumerable:!0,get:function(){return i.projection}});var i=n(2875);const o=Math.min,r=Math.max,a=Math.sin,s=Math.asin,l=Math.tan,c=Math.atan,u=Math.exp,d=Math.log,h=Math.PI,f=h/4,p=180,g=h/180,_=(2*c(u(h))-h/2)/g,m=(2.5*c(u(.8*h))-.625*h)/g;function v(e,t){return r(o(e,+t),-t)}i.projection.add("mercator",(0,i.projection)({aspectRatio:1,to:function(e){return[e[0]/p,d(l(f+v(e[1],_)*g/2))/h]},from:function(e){return[e[0]*p,(2*c(u(e[1]*h))-h/2)/g]}})),i.projection.add("equirectangular",(0,i.projection)({aspectRatio:2,to:function(e){return[e[0]/p,e[1]/90]},from:function(e){return[e[0]*p,90*e[1]]}})),i.projection.add("lambert",(0,i.projection)({aspectRatio:2,to:function(e){return[e[0]/p,a(v(e[1],90)*g)]},from:function(e){return[e[0]*p,s(v(e[1],1))/g]}})),i.projection.add("miller",(0,i.projection)({aspectRatio:1,to:function(e){return[e[0]/p,1.25*d(l(f+v(e[1],m)*g*.4))/h]},from:function(e){return[e[0]*p,(2.5*c(u(.8*e[1]*h))-.625*h)/g]}}))},2875:function(e,t,n){t.projection=t.Projection=void 0;var i=n(52576),o=n(20366);const r=Number,a=Math.min,s=Math.max,l=Math.abs,c=Math.round,u=Math.log,d=Math.pow,h=2/Math.LN2,f=1/3600/180/10,p=[NaN,NaN];function g(e,t){return l(e-t)<1e-8}function _(e,t){return g(e[0],t[0])&&g(e[1],t[1])}function m(e,t,n,i){const o=r(e);return isFinite(o)?a(s(o,t),n):i}function v(e,t,n,i){return[m(e[0],t[0],n[0],i[0]),m(e[1],t[1],n[1],i[1])]}function b(e){return e instanceof w&&e||k.get(e)||k(e)||k.get("mercator")}const y=function(e){const t=this;t._initEvents(),t._params=e,t._engine=b(),t._center=t._engine.center(),t._adjustCenter()};function x(e,t,n,i){const o=(n+i)/2;return l(e-o)>l(t-o)?e:t}function C(e,t,n,i){const o=(n+i)/2;return l(e-o)<l(t-o)?e:t}function S(e,t,n){const{min:i,max:o}=O(t,n);e.min=A(i),e.max=A(o)}t.Projection=y,y.prototype={constructor:y,_minZoom:1,_maxZoom:256,_zoom:1,_center:p,_canvas:{},_scale:[],dispose:function(){this._disposeEvents()},setEngine:function(e){const t=this,n=b(e);t._engine!==n&&(t._engine=n,t._fire("engine"),t._changeCenter(n.center())&&t._triggerCenterChanged(),t._changeZoom(t._minZoom)&&t._triggerZoomChanged(),t._adjustCenter(),t._setupScreen())},setBounds:function(e){void 0!==e&&this.setEngine(this._engine.original().bounds(e))},_setupScreen:function(){const e=this,t=e._canvas,n=t.width,i=t.height,o=e._engine,r=o.ar();e._x0=t.left+n/2,e._y0=t.top+i/2;const c=[e.project([o.min()[0],0])[0],e.project([0,o.min()[1]])[1]],u=[e.project([o.max()[0],0])[0],e.project([0,o.max()[1]])[1]],d=n/i,h=l(u[0]-c[0])/l(u[1]-c[1]);let f;f=isNaN(h)||0===h||a(d,r)<=r*h&&r*h<=s(d,r)?1:h>1?h:1/h,r*h>=d?(e._xRadius=n/2/f,e._yRadius=n/2/(r*f)):(e._xRadius=i/2*(r/f),e._yRadius=i/2/f),e._fire("screen")},setSize:function(e){this._canvas=e,this._setupScreen()},getCanvas:function(){return this._canvas},_toScreen:function(e){return[this._x0+this._xRadius*e[0],this._y0+this._yRadius*e[1]]},_fromScreen:function(e){return[(e[0]-this._x0)/this._xRadius,(e[1]-this._y0)/this._yRadius]},_toTransformed:function(e){return[e[0]*this._zoom+this._xCenter,e[1]*this._zoom+this._yCenter]},_toTransformedFast:function(e){return[e[0]*this._zoom,e[1]*this._zoom]},_fromTransformed:function(e){return[(e[0]-this._xCenter)/this._zoom,(e[1]-this._yCenter)/this._zoom]},_adjustCenter:function(){const e=this,t=e._engine.project(e._center);e._xCenter=-t[0]*e._zoom||0,e._yCenter=-t[1]*e._zoom||0},project:function(e){return this._engine.project(e)},transform:function(e){return this._toScreen(this._toTransformedFast(e))},isInvertible:function(){return this._engine.isInvertible()},getSquareSize:function(e){return[e[0]*this._zoom*this._xRadius,e[1]*this._zoom*this._yRadius]},getZoom:function(){return this._zoom},_changeZoom:function(e){const t=this,n=!g(t._zoom,t._zoom=m(e,t._minZoom,t._maxZoom,t._minZoom));return n&&(t._adjustCenter(),t._fire("zoom")),n},setZoom:function(e){this._engine.isInvertible()&&this._changeZoom(e)&&this._triggerZoomChanged()},getScaledZoom:function(){return c((this._scale.length-1)*u(this._zoom)/u(this._maxZoom))},setScaledZoom:function(e){this.setZoom(this._scale[c(e)])},changeScaledZoom:function(e){this.setZoom(this._scale[s(a(c(this.getScaledZoom()+e),this._scale.length-1),0)])},getZoomScalePartition:function(){return this._scale.length-1},_setupScaling:function(){const e=this,t=s(c(h*u(e._maxZoom)),4),n=d(e._maxZoom,1/t);let i=e._minZoom;e._scale=[i];for(let o=1;o<=t;++o)e._scale.push(i*=n)},setMaxZoom:function(e){const t=this;t._minZoom=1,t._maxZoom=m(e,t._minZoom,r.MAX_VALUE,256),t._setupScaling(),t._zoom>t._maxZoom&&t.setZoom(t._maxZoom),t._fire("max-zoom")},getCenter:function(){return this._center.slice()},setCenter:function(e){this._engine.isInvertible()&&this._changeCenter(e||[])&&this._triggerCenterChanged()},_changeCenter:function(e){const t=this,n=t._engine,i=!_(t._center,t._center=v(e,n.min(),n.max(),n.center()));return i&&(t._adjustCenter(),t._fire("center")),i},_triggerCenterChanged:function(){this._params.centerChanged(this.getCenter())},_triggerZoomChanged:function(){this._params.zoomChanged(this.getZoom())},setCenterByPoint:function(e,t){const n=this,i=n._engine.project(e),o=n._fromScreen(t);n.setCenter(n._engine.unproject([-o[0]/n._zoom+i[0],-o[1]/n._zoom+i[1]]))},beginMoveCenter:function(){this._engine.isInvertible()&&(this._moveCenter=this._center)},endMoveCenter:function(){const e=this;e._moveCenter&&(_(e._moveCenter,e._center)||e._triggerCenterChanged(),e._moveCenter=null)},moveCenter:function(e){const t=this;if(t._moveCenter){const n=t.toScreenPoint(t._center);t._changeCenter(t.fromScreenPoint([n[0]+e[0],n[1]+e[1]]))}},getViewport:function(){const e=this,t=e._engine.unproject,n=t(e._fromTransformed([-1,-1])),i=t(e._fromTransformed([-1,1])),o=t(e._fromTransformed([1,-1])),r=t(e._fromTransformed([1,1])),a=O([x(n[0],i[0],o[0],r[0]),x(n[1],o[1],i[1],r[1])],[x(o[0],r[0],n[0],i[0]),x(i[1],r[1],n[1],o[1])]);return[].concat(a.min[0],a.max[1],a.max[0],a.min[1])},setViewport:function(e){const t=this._engine,n=e?function(e,t,n){const i=e([n[0],n[3]]),o=e([n[0],n[1]]),r=e([n[2],n[3]]),a=e([n[2],n[1]]),c=C(i[0],o[0],r[0],a[0]),u=C(r[0],a[0],i[0],o[0]),d=C(i[1],r[1],o[1],a[1]),h=C(o[1],a[1],i[1],r[1]);return[2/s(l(c-u),l(d-h)),t([(c+u)/2,(d+h)/2])]}(t.project,t.unproject,e):[this._minZoom,t.center()];this.setZoom(n[0]),this.setCenter(n[1])},getTransform:function(){return{translateX:this._xCenter*this._xRadius,translateY:this._yCenter*this._yRadius}},fromScreenPoint:function(e){return this._engine.unproject(this._fromTransformed(this._fromScreen(e)))},toScreenPoint:function(e){return this._toScreen(this._toTransformed(this._engine.project(e)))},_eventNames:["engine","screen","center","zoom","max-zoom"]},(0,o.makeEventEmitter)(y);const w=class{constructor(e){const t=this,n=(o=e.to,e=>E(o(e)));var o;const a=e.from?function(e){return t=>e(E(t))}(e.from):T(p);t.project=n,t.unproject=a,t.original=T(t),t.source=function(){return(0,i.extend)({},e)},t.isInvertible=T(!!e.from),t.ar=T(e.aspectRatio>0?r(e.aspectRatio):1),t.center=A(a([0,0])),S(t,[a([-1,0])[0],a([0,1])[1]],[a([1,0])[0],a([0,-1])[1]])}aspectRatio(e){const t=new w((0,i.extend)(this.source(),{aspectRatio:e}));return t.original=this.original,t.min=this.min,t.max=this.max,t}bounds(e){e=e||[];const t=this.source(),n=this.min(),o=this.max(),r=v([e[0],e[1]],n,o,n),s=v([e[2],e[3]],n,o,o),c=t.to(r),u=t.to(s),d=a(l(u[0]-c[0])>f?l(u[0]-c[0]):2,l(u[1]-c[1])>f?l(u[1]-c[1]):2);d<2&&(0,i.extend)(t,function(e,t,n,i,o){const r=(n[0]+i[0])/2-o/2,a=(n[1]+i[1])/2-o/2,s=2/o;return{to:function(t){const[n,i]=e(t);return[(n-r)*s-1,(i-a)*s-1]},from:function(e){return t([r+(e[0]+1)/s,a+(e[1]+1)/s])}}}(t.to,t.from,c,u,d));const h=new w(t);return h.original=this.original,S(h,r,s),h}};function E(e){return[e[0],-e[1]]}function T(e){return()=>e}function A(e){return()=>e.slice()}function O(e,t){return{min:[a(e[0],t[0]),a(e[1],t[1])],max:[s(e[0],t[0]),s(e[1],t[1])]}}const k=function(e){return e&&e.to?new w(e):null};t.projection=k;const D={};k.get=function(e){return D[e]||null},k.add=function(e,t){return t=t instanceof w&&t||k(t),!D[e]&&t&&(D[e]=t),k}},44561:function(e,t){t.TooltipViewer=n;function n(e){this._subscribeToTracker(e.tracker,e.tooltip,e.layerCollection)}n.prototype={constructor:n,dispose:function(){this._offTracker(),this._offTracker=null},_subscribeToTracker:function(e,t,n){this._offTracker=e.on({"focus-on":function(e){let i,o;if(t.isEnabled()){i=n.byName(e.data.name),o=i&&i.getProxy(e.data.index);const r=t=>{t&&e.done(t)};o&&r(t.show(o,{x:e.x,y:e.y,offset:12},{target:o},void 0,r))}},"focus-move":function(e){t.move(e.x,e.y,12)},"focus-off":function(){t.hide()}})}}},61483:function(e,t,n){t.Tracker=k;var i=u(n(92774)),o=n(3104),r=u(n(64960)),a=n(20366),s=n(98834),l=n(37373),c=n(28779);function u(e){return e&&e.__esModule?e:{default:e}}const d=(0,o.getNavigator)(),h=Math,f=h.abs,p=h.sqrt,g=h.round,_=s.addNamespace,m="dxVectorMap",v="start",b="move",y="zoom",x="hover-on",C="hover-off",S="click",w="focus-on",E="focus-move",T="focus-off";let A,O;function k(e){const t=this;t._root=e.root,t._createEventHandlers(e.dataKey),t._createProjectionHandlers(e.projection),t._initEvents(),t._focus=new O((function(e,n){t._fire(e,n)})),t._attachHandlers()}function D(e,t,n,i){return p((e-n)*(e-n)+(t-i)*(t-i))}function L(e){const t=e.originalEvent.type,n=e.originalEvent.pointerType;return/^touch/.test(t)||/^MSPointer/.test(t)&&4!==n||/^pointer/.test(t)&&"mouse"!==n}function P(e,t){let n=0;const i=e.length;let o;for(;n<i;++n)if(e[n]){o=t[n];break}return _(o||t[n],m)}function M(e){const t=e.originalEvent,n=t.touches&&t.touches[0]||{};return{x:n.pageX||t.pageX||e.pageX,y:n.pageY||t.pageY||e.pageY}}function R(e){return e.originalEvent.pointerId}function I(e,t){let n=e.originalEvent;return n=void 0!==n.pointerId?n.pointerId===t?n:null:n.touches[t],n?{x:n.pageX||e.pageX,y:n.pageY||e.pageY}:null}!function(){let e=[d.pointerEnabled,d.msPointerEnabled,(0,o.hasProperty)("ontouchstart")];A={start:P(e,["pointerdown","MSPointerDown","touchstart mousedown","mousedown"]),move:P(e,["pointermove","MSPointerMove","touchmove mousemove","mousemove"]),end:P(e,["pointerup","MSPointerUp","touchend mouseup","mouseup"]),wheel:_(l.name,m)}}(),k.prototype={constructor:k,dispose:function(){const e=this;e._detachHandlers(),e._disposeEvents(),e._focus.dispose(),e._root=e._focus=e._docHandlers=e._rootHandlers=null},_eventNames:[v,b,"end",y,S,x,C,w,T,E],_startClick:function(e,t){if(!t)return;const n=M(e);this._clickState={x:n.x,y:n.y,threshold:L(e)?20:5,time:Date.now()}},_endClick:function(e,t){const n=this._clickState;let i,o;n&&(t&&Date.now()-n.time<=500&&(i=n.threshold,o=M(e),f(o.x-n.x)<=i&&f(o.y-n.y)<=i&&this._fire(S,{data:t,x:o.x,y:o.y,$event:e})),this._clickState=null)},_startDrag:function(e,t){if(!t)return;const n=M(e),i=this._dragState={x:n.x,y:n.y,data:t};this._fire(v,{x:i.x,y:i.y,data:i.data})},_moveDrag:function(e,t){const n=this._dragState;if(!n)return;const i=M(e),o=L(e)?10:5;(n.active||f(i.x-n.x)>o||f(i.y-n.y)>o)&&(n.x=i.x,n.y=i.y,n.active=!0,n.data=t||{},this._fire(b,{x:n.x,y:n.y,data:n.data}))},_endDrag:function(){const e=this._dragState;e&&(this._dragState=null,this._fire("end",{x:e.x,y:e.y,data:e.data}))},_wheelZoom:function(e,t){if(!t)return;const n=this._wheelLock,i=Date.now();if(i-n.time<=50)return;i-n.dirTime>300&&(n.dir=0);const o=function(e,t){if(0===e)return 0;let n=f(e);const i=g(e/n);if(t.dir&&i!==t.dir)return 0;t.dir=i,n=n<.1?0:n<1?1:n>4?4:g(n);return i*n}(e.delta/120||0,n);if(0===o)return;const r=M(e);this._fire(y,{delta:o,x:r.x,y:r.y}),n.time=n.dirTime=i},_startZoom:function(e,t){if(!L(e)||!t)return;const n=this._zoomState=this._zoomState||{};let i,o;n.pointer1&&n.pointer2||(void 0===n.pointer1&&(n.pointer1=R(e)||0,i=I(e,n.pointer1),n.x1=n.x1_0=i.x,n.y1=n.y1_0=i.y),void 0===n.pointer2&&(o=R(e)||1,o!==n.pointer1&&(i=I(e,o),i&&(n.x2=n.x2_0=i.x,n.y2=n.y2_0=i.y,n.pointer2=o,n.ready=!0,this._endDrag()))))},_moveZoom:function(e){const t=this._zoomState;let n;t&&L(e)&&(void 0!==t.pointer1&&(n=I(e,t.pointer1),n&&(t.x1=n.x,t.y1=n.y)),void 0!==t.pointer2&&(n=I(e,t.pointer2),n&&(t.x2=n.x,t.y2=n.y)))},_endZoom:function(e){const t=this._zoomState;let n,i;t&&L(e)&&(t.ready&&(n=D(t.x1_0,t.y1_0,t.x2_0,t.y2_0),i=D(t.x1,t.y1,t.x2,t.y2),this._fire(y,{ratio:i/n,x:(t.x1_0+t.x2_0)/2,y:(t.y1_0+t.y2_0)/2})),this._zoomState=null)},_startHover:function(e,t){this._doHover(e,t,!0)},_moveHover:function(e,t){this._doHover(e,t,!1)},_doHover:function(e,t,n){const i=this;i._dragState&&i._dragState.active||i._zoomState&&i._zoomState.ready?i._cancelHover():L(e)!==n||i._hoverTarget===e.target||i._hoverState&&i._hoverState.data===t||(i._cancelHover(),t&&(i._hoverState={data:t},i._fire(x,{data:t})),i._hoverTarget=e.target)},_cancelHover:function(){const e=this._hoverState;this._hoverState=this._hoverTarget=null,e&&this._fire(C,{data:e.data})},_startFocus:function(e,t){this._doFocus(e,t,!0)},_moveFocus:function(e,t){this._doFocus(e,t,!1)},_doFocus:function(e,t,n){const i=this;i._dragState&&i._dragState.active||i._zoomState&&i._zoomState.ready?i._cancelFocus():L(e)===n&&(i._focus.turnOff(),t&&i._focus.turnOn(t,M(e)))},_cancelFocus:function(){this._focus.cancel()},_createEventHandlers:function(e){const t=this;function n(t){const n=t.target;return("tspan"===n.tagName?n.parentNode:n)[e]}t._docHandlers={},t._rootHandlers={},t._docHandlers[A.start]=function(e){const i=L(e),o=n(e);i&&!t._isTouchEnabled||(o&&e.preventDefault(),t._startClick(e,o),t._startDrag(e,o),t._startZoom(e,o),t._startHover(e,o),t._startFocus(e,o))},t._docHandlers[A.move]=function(e){const i=L(e),o=n(e);i&&!t._isTouchEnabled||(t._moveDrag(e,o),t._moveZoom(e,o),t._moveHover(e,o),t._moveFocus(e,o))},t._docHandlers[A.end]=function(e){const i=L(e),o=n(e);i&&!t._isTouchEnabled||(t._endClick(e,o),t._endDrag(e,o),t._endZoom(e,o))},t._rootHandlers[A.wheel]=function(e){if(t._cancelFocus(),!t._isWheelEnabled)return;const i=n(e);i&&(e.preventDefault(),e.stopPropagation(),t._wheelZoom(e,i))},t._wheelLock={dir:0}},_createProjectionHandlers:function(e){const t=this;function n(){t._cancelFocus()}e.on({center:n,zoom:n})},reset:function(){const e=this;e._clickState=null,e._endDrag(),e._cancelHover(),e._cancelFocus()},setOptions:function(e){const t=this;t.reset(),t._detachHandlers(),t._isTouchEnabled=!!(0,c.parseScalar)(e.touchEnabled,!0),t._isWheelEnabled=!!(0,c.parseScalar)(e.wheelEnabled,!0),t._attachHandlers()},_detachHandlers:function(){const e=this;e._isTouchEnabled&&e._root.css({"touch-action":"","-webkit-user-select":""}).off(_("MSHoldVisual",m)).off(_("contextmenu",m)),i.default.off(r.default.getDocument(),e._docHandlers),e._root.off(e._rootHandlers)},_attachHandlers:function(){const e=this;e._isTouchEnabled&&e._root.css({"touch-action":"none","-webkit-user-select":"none"}).on(_("MSHoldVisual",m),(function(e){e.preventDefault()})).on(_("contextmenu",m),(function(e){L(e)&&e.preventDefault()})),i.default.on(r.default.getDocument(),e._docHandlers),e._root.on(e._rootHandlers)}},O=function(e){let t,n,i=this,o=null,r=null,a=!1;i.dispose=function(){i.turnOn=i.turnOff=i.cancel=i.dispose=i=e=o=r=null},i.turnOn=function(i,s){function l(e){a=!e,e&&(o=r)}i===r&&a||(a=!1,r=i,o?(t=s.x,n=s.y,r===o?(e(E,{data:r,x:t,y:n}),l(!0)):e(w,{data:r,x:t,y:n,done:l})):(t=s.x,n=s.y,e(w,{data:r,x:t,y:n,done:l})))},i.turnOff=function(){r=null,o&&!a&&(e(T,{data:o}),o=null)},i.cancel=function(){o&&e(T,{data:o}),o=r=null}},(0,a.makeEventEmitter)(k)},9713:function(e,t,n){t.default=void 0;var i=n(28779),o=n(2875),r=n(77148),a=n(6695),s=n(61483),l=n(38409),c=n(92746),u=n(25217),d=n(65379),h=n(44561),f=n(68198);n(99094);var p=x(n(34506)),g=x(n(92848)),_=n(74754),m=n(16216),v=n(23277),b=n(92528),y=n(97808);function x(e){return e&&e.__esModule?e:{default:e}}const C=/^layers/,S=/\.dataSource$/;function w(e,t){return t?[Math.min(t[0],t[2],e[0]),Math.min(t[1],t[3],e[3]),Math.max(t[0],t[2],e[2]),Math.max(t[1],t[3],e[1])]:e}const E=p.default.inherit({_eventsMap:{onClick:{name:"click"},onCenterChanged:{name:"centerChanged"},onZoomFactorChanged:{name:"zoomFactorChanged"},onHoverChanged:{name:"hoverChanged"},onSelectionChanged:{name:"selectionChanged"}},_rootClassPrefix:"dxm",_rootClass:"dxm-vector-map",_themeSection:"map",_fontFields:["layer:area.label.font","layer:marker:dot.label.font","layer:marker:bubble.label.font","layer:marker:pie.label.font","layer:marker:image.label.font","legend.font","legend.title.font","legend.title.subtitle.font"],_initLayerCollection:function(e){const t=this;t._layerCollection=new d.MapLayerCollection({renderer:t._renderer,projection:t._projection,themeManager:t._themeManager,tracker:t._tracker,dataKey:e,eventTrigger:t._eventTrigger,dataExchanger:t._dataExchanger,tooltip:t._tooltip,notifyDirty:t._notifyDirty,notifyReady:t._notifyReady,dataReady(){let e;if(t.option("getBoundsFromData")&&!t.option("bounds")&&(t._preventProjectionEvents(),e=t._getBoundsFromData(),t._projection.setBounds(e),t._allowProjectionEvents()),!t.option("projection")&&(e=e||t._getBoundsFromData(),Math.ceil(e[0])<-180||Math.ceil(e[3])<-90||Math.floor(e[2])>180||Math.floor(e[1])>90)){const n=e[2]-e[0],i=e[1]-e[3];t._projection.setEngine({to:t=>[2*(t[0]-e[0])/n-1,2*(t[1]-e[3])/i-1],from:t=>[(t[0]+1)*n/2+e[0],(t[1]+1)*i/2+e[3]]})}}})},_getBoundsFromData(){let e=this._getBoundingBoxFromDataSource();if(!e){const t=this.getLayers().map((e=>e.getBounds())).filter((e=>void 0!==e)),n=(0,d.getMaxBound)(t);n&&(e=n)}return e=e||[],e=[e[0],e[3],e[2],e[1]],e},_initLegendsControl:function(){const e=this;e._legendsControl=new c.LegendsControl({renderer:e._renderer,container:e._root,widget:e,layoutControl:e._layoutControl,themeManager:e._themeManager,dataExchanger:e._dataExchanger,notifyDirty:e._notifyDirty,notifyReady:e._notifyReady})},_initControlBar:function(e){const t=this;t._controlBar=new r.ControlBar({renderer:t._renderer,container:t._root,layoutControl:t._layoutControl,projection:t._projection,tracker:t._tracker,dataKey:e})},_initElements:function(){const e=this,t=(0,f.generateDataKey)();let n,i=0;e._preventProjectionEvents=function(){n=!0},e._allowProjectionEvents=function(){n=!1},e._notifyDirty=function(){e._resetIsReady(),++i},e._notifyReady=function(){e._allowProjectionEvents(),0==--i&&e._drawn()},e._preventProjectionEvents(),e._dataExchanger=new l.DataExchanger,e._projection=new o.Projection({centerChanged:function(t){n||e._eventTrigger("centerChanged",{center:t})},zoomChanged:function(t){n||e._eventTrigger("zoomFactorChanged",{zoomFactor:t})}}),e._tracker=new s.Tracker({root:e._root,projection:e._projection,dataKey:t}),e._gestureHandler=new a.GestureHandler({projection:e._projection,renderer:e._renderer,tracker:e._tracker}),e._layoutControl=new u.LayoutControl(e),e._layoutControl.suspend(),e._initLayerCollection(t),e._createHtmlStructure(),e._initControlBar(t),e._initLegendsControl(),e._prepareExtraElements(),e._tooltipViewer=new h.TooltipViewer({tracker:e._tracker,tooltip:e._tooltip,layerCollection:e._layerCollection})},_change_RESUME_LAYOUT:function(){this._layoutControl.resume()},_initialChanges:["PROJECTION","RESUME_LAYOUT","LAYOUT_INIT","BOUNDS","MAX_ZOOM_FACTOR","ZOOM_FACTOR","CENTER"],_layoutChangesOrder:["RESUME_LAYOUT","LAYERS"],_customChangesOrder:["EXTRA_ELEMENTS"],_initCore:function(){this._root=this._renderer.root.attr({align:"center",cursor:"default"}),this._initElements()},_disposeCore:function(){const e=this;e._controlBar.dispose(),e._gestureHandler.dispose(),e._tracker.dispose(),e._legendsControl.dispose(),e._layerCollection.dispose(),e._layoutControl.dispose(),e._tooltipViewer.dispose(),e._dataExchanger.dispose(),e._projection.dispose(),e._dataExchanger=e._gestureHandler=e._projection=e._tracker=e._layoutControl=e._root=e._layerCollection=e._controlBar=e._legendsControl=null},_setupInteraction:function(){const e={centeringEnabled:!!(0,i.parseScalar)(this._getOption("panningEnabled",!0),!0),zoomingEnabled:!!(0,i.parseScalar)(this._getOption("zoomingEnabled",!0),!0)};this._gestureHandler.setInteraction(e),this._controlBar.setInteraction(e)},_getDefaultSize:function(){return{width:800,height:400}},_applySize:function(e){const t={left:e[0],top:e[1],width:e[2]-e[0],height:e[3]-e[1],right:0,bottom:0};this._projection.setSize(t),this._layoutControl.setSize(t),this._layerCollection.setRect([t.left,t.top,t.width,t.height]),this._requestChange(["EXTRA_ELEMENTS"])},_optionChanging:function(e,t,n){t&&n&&C.test(e)&&(t.dataSource&&n.dataSource&&t!==n?t.dataSource=null:S.test(e)&&this.option(e,null))},_applyChanges:function(){this._notifyDirty(),this.callBase.apply(this,arguments),this._notifyReady()},_optionChangesMap:{background:"BACKGROUND",layers:"LAYERS",extraElements:"EXTRA_ELEMENTS",controlBar:"CONTROL_BAR",legends:"LEGENDS",touchEnabled:"TRACKER",wheelEnabled:"TRACKER",panningEnabled:"INTERACTION",zoomingEnabled:"INTERACTION",projection:"PROJECTION",bounds:"BOUNDS",maxZoomFactor:"MAX_ZOOM_FACTOR",zoomFactor:"ZOOM_FACTOR",center:"CENTER"},_optionChangesOrder:["PROJECTION","BOUNDS","MAX_ZOOM_FACTOR","ZOOM_FACTOR","CENTER","BACKGROUND","CONTROL_BAR","LEGENDS","TRACKER","INTERACTION"],_change_PROJECTION:function(){this._setProjection()},_change_BOUNDS:function(){this._setBounds()},_change_MAX_ZOOM_FACTOR:function(){this._setMaxZoom()},_change_ZOOM_FACTOR:function(){this._setZoom()},_change_CENTER:function(){this._setCenter()},_change_BACKGROUND:function(){this._setBackgroundOptions()},_change_LAYERS:function(){this._setLayerCollectionOptions()},_change_CONTROL_BAR:function(){this._setControlBarOptions()},_change_EXTRA_ELEMENTS:function(){this._renderExtraElements()},_change_LEGENDS:function(){this._setLegendsOptions()},_change_TRACKER:function(){this._setTrackerOptions()},_change_INTERACTION:function(){this._setupInteraction()},_themeDependentChanges:["BACKGROUND","LAYERS","CONTROL_BAR","LEGENDS","TRACKER","INTERACTION"],_setProjection:function(){this._projection.setEngine(this.option("projection"))},_setBounds:function(){this._projection.setBounds(this.option("bounds"))},_setMaxZoom:function(){this._projection.setMaxZoom(this.option("maxZoomFactor"))},_setZoom:function(){this._projection.setZoom(this.option("zoomFactor"))},_setCenter:function(){this._projection.setCenter(this.option("center"))},_setBackgroundOptions:function(){this._layerCollection.setBackgroundOptions(this._getOption("background"))},_setLayerCollectionOptions:function(){this._layerCollection.setOptions(this.option("layers"))},_getBoundingBoxFromDataSource(){const e=this._layerCollection.items(),t=[1/0,-1/0,-1/0,1/0],n=e&&e.length?e.reduce(((e,t)=>{const n=t.getData(),i=n.count();if(i>0){const t=n.getBBox();if(t)e=w(e,t);else for(let t=0;t<i;t++)e=w(e,n.getBBox(t))}return e}),t):void 0;return n===t?void 0:n},_setControlBarOptions:function(){this._controlBar.setOptions(this._getOption("controlBar"))},_setLegendsOptions:function(){this._legendsControl.setOptions(this.option("legends"))},_setTrackerOptions:function(){this._tracker.setOptions({touchEnabled:this._getOption("touchEnabled",!0),wheelEnabled:this._getOption("wheelEnabled",!0)})},getLayers(){return this._layerCollection.items().map((e=>e.proxy))},getLayerByIndex:function(e){const t=this._layerCollection.byIndex(e);return t?t.proxy:null},getLayerByName:function(e){const t=this._layerCollection.byName(e);return t?t.proxy:null},clearSelection:function(e){const t=this._layerCollection.items();let n;const i=t.length;for(n=0;n<i;++n)t[n].clearSelection(e);return this},center:function(e){const t=this;return void 0===e?t._projection.getCenter():(t._projection.setCenter(e),t)},zoomFactor:function(e){const t=this;return void 0===e?t._projection.getZoom():(t._projection.setZoom(e),t)},viewport:function(e){const t=this;return void 0===e?t._projection.getViewport():(t._projection.setViewport(e),t)},convertToGeo:function(e,t){return this._projection.fromScreenPoint([e,t])},convertToXY:function(e,t){return this._projection.toScreenPoint([e,t])}});(0,g.default)("dxVectorMap",E);t.default=E;E.addPlugin(_.plugin),E.addPlugin(m.plugin),E.addPlugin(v.plugin),E.addPlugin(b.plugin),E.addPlugin(y.plugins.core),E.addPlugin(y.plugins.vectorMap),e.exports=t.default,e.exports.default=t.default},68198:function(e,t){t.generateDataKey=function(){return"vectormap-data-"+n++};let n=1},87626:function(e){e.exports=window.Globalize},87531:function(e){e.exports=window.JSZip},10561:function(e){e.exports=window.jQuery},78117:function(e){e.exports=window.ko}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(90750)}();
|