var vendor_7c39cc8a2f40cbf50f41=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1437)}([function(e,t,n){"use strict";n.r(t),n.d(t,"guid",(function(){return m})),n.d(t,"logError",(function(){return g})),n.d(t,"clone",(function(){return v})),n.d(t,"merge",(function(){return _})),n.d(t,"mergeAll",(function(){return y})),n.d(t,"extend",(function(){return b})),n.d(t,"defaults",(function(){return S})),n.d(t,"createCanvas",(function(){return E})),n.d(t,"indexOf",(function(){return w})),n.d(t,"inherits",(function(){return T})),n.d(t,"mixin",(function(){return O})),n.d(t,"isArrayLike",(function(){return C})),n.d(t,"each",(function(){return x})),n.d(t,"map",(function(){return k})),n.d(t,"reduce",(function(){return M})),n.d(t,"filter",(function(){return A})),n.d(t,"find",(function(){return R})),n.d(t,"keys",(function(){return I})),n.d(t,"bind",(function(){return D})),n.d(t,"curry",(function(){return N})),n.d(t,"isArray",(function(){return L})),n.d(t,"isFunction",(function(){return P})),n.d(t,"isString",(function(){return j})),n.d(t,"isStringSafe",(function(){return F})),n.d(t,"isNumber",(function(){return B})),n.d(t,"isObject",(function(){return H})),n.d(t,"isBuiltInObject",(function(){return U})),n.d(t,"isTypedArray",(function(){return Y})),n.d(t,"isDom",(function(){return V})),n.d(t,"isGradientObject",(function(){return W})),n.d(t,"isImagePatternObject",(function(){return z})),n.d(t,"isRegExp",(function(){return G})),n.d(t,"eqNaN",(function(){return $})),n.d(t,"retrieve",(function(){return q})),n.d(t,"retrieve2",(function(){return K})),n.d(t,"retrieve3",(function(){return X})),n.d(t,"slice",(function(){return Q})),n.d(t,"normalizeCssArray",(function(){return Z})),n.d(t,"assert",(function(){return J})),n.d(t,"trim",(function(){return ee})),n.d(t,"setAsPrimitive",(function(){return te})),n.d(t,"isPrimitive",(function(){return ne})),n.d(t,"HashMap",(function(){return ae})),n.d(t,"createHashMap",(function(){return oe})),n.d(t,"concatArray",(function(){return se})),n.d(t,"createObject",(function(){return le})),n.d(t,"disableUserSelect",(function(){return ue})),n.d(t,"hasOwn",(function(){return ce})),n.d(t,"noop",(function(){return de})),n.d(t,"RADIAN_TO_DEGREE",(function(){return fe}));var r=n(93),i=M(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),a=M(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),o=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,f=function(){}.constructor,h=f?f.prototype:null,p=2311;function m(){return p++}function g(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=null,i=e;null!==i;){if(n===t){r=i;break}i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i=i.host:(n+=1,i=i.parentNode)}return r}function c(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function d(e){return c(e)&&e.parent}function f(e){return!!Object.getPrototypeOf(e.parent)}function h(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=Node,i=r.ELEMENT_NODE,a=r.DOCUMENT_FRAGMENT_NODE,o=e;null!=o&&o!==n;){var s=o,l=s.nodeType,u=s.nodeName;if(l===i&&(t.includes(u)||t.includes(o)))return o;var c=o,d=c.host;o=d&&l===a?d:o.parentNode}return null}function p(e,t,n){for(var r=[],i=e;i&&(i=h(i,t,n))&&(!n||n.contains(i));)r.push(i),i=i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode;var a=r.length;return a?r[a-1]:null}function m(e,t){var n=e.parentNode,r=[];for("string"==typeof t?r=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):r.push(t);null!==n;){if(r.indexOf(n)>-1)return!0;n=n.parentNode}return!1}function g(e){var t=!1,n=v(e);function r(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="hot-table".toUpperCase()}for(;null!==n;){if(r(n)){t=!0;break}if(n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(t=r(n.host))break;n=n.host}n=n.parentNode}return t}function v(e){return"undefined"!=typeof Polymer&&"function"==typeof wrap?wrap(e):e}function _(e){return"undefined"!=typeof Polymer&&"function"==typeof unwrap?unwrap(e):e}function y(e){var t=0,n=e;if(n.previousSibling)for(;n=n.previousSibling;)t+=1;return t}function b(e,t,n){var r=n.parentElement.querySelector(".ht_clone_".concat(e));return r?r.contains(t):null}function S(e){var t=[];if(!e||!e.length)return t;for(var n=0;e[n];)t.push(e[n]),n+=1;return t}if(Object(s.isClassListSupported)()){var E=function(e){var t=e.createElement("div");return t.classList.add("test","test2"),t.classList.contains("test2")};r=function(e,t){return void 0!==e.classList&&"string"==typeof t&&""!==t&&e.classList.contains(t)},i=function(e,t){var n,r=e.ownerDocument,i=t;if("string"==typeof i&&(i=i.split(" ")),(i=S(i)).length>0)if(E(r))(n=e.classList).add.apply(n,l(i));else for(var a=0;i&&i[a];)e.classList.add(i[a]),a+=1},a=function(e,t){var n,r=t;if("string"==typeof r&&(r=r.split(" ")),(r=S(r)).length>0)if(E)(n=e.classList).remove.apply(n,l(r));else for(var i=0;r&&r[i];)e.classList.remove(r[i]),i+=1}}else{var w=function(e){return new RegExp("(\\s|^)".concat(e,"(\\s|$)"))};r=function(e,t){return void 0!==e.className&&w(t).test(e.className)},i=function(e,t){var n=0,r=e.className,i=t;if("string"==typeof i&&(i=i.split(" ")),""===r)r=i.join(" ");else for(;i&&i[n];)w(i[n]).test(r)||(r+=" ".concat(i[n])),n+=1;e.className=r},a=function(e,t){var n=0,r=e.className,i=t;for("string"==typeof i&&(i=i.split(" "));i&&i[n];)r=r.replace(w(i[n])," ").trim(),n+=1;e.className!==r&&(e.className=r)}}function T(e,t){return r(e,t)}function O(e,t){return i(e,t)}function C(e,t){return a(e,t)}function x(e,t){if(3===e.nodeType)t.removeChild(e);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(e.nodeName)>-1)for(var n=e.childNodes,r=n.length-1;r>=0;r--)x(n[r],e)}function k(e){for(var t;t=e.lastChild;)e.removeChild(t)}var M,A=/(<(.*)>|&(.*);)/;function R(e,t){A.test(t)?e.innerHTML=t:I(e,t)}function I(e,t){var n=e.firstChild;n&&3===n.nodeType&&null===n.nextSibling?s.isTextContentSupported?n.textContent=t:n.data=t:(k(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function D(e){for(var t=e.ownerDocument.documentElement,n=e;_(n)!==t;){if(null===n)return!1;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(n.host){if(n.host.impl)return D(n.host.impl);if(n.host)return D(n.host);throw new Error("Lost in Web Components world")}return!1}if(n.style&&"none"===n.style.display)return!1;n=n.parentNode}return!0}function N(e){var t,n,r,i,a=e.ownerDocument,o=a.defaultView,l=a.documentElement,u=e;if(Object(s.hasCaptionProblem)()&&u.firstChild&&"CAPTION"===u.firstChild.nodeName)return{top:(i=u.getBoundingClientRect()).top+(o.pageYOffset||l.scrollTop)-(l.clientTop||0),left:i.left+(o.pageXOffset||l.scrollLeft)-(l.clientLeft||0)};for(t=u.offsetLeft,n=u.offsetTop,r=u;(u=u.offsetParent)&&u!==a.body;)t+=u.offsetLeft,n+=u.offsetTop,r=u;return r&&"fixed"===r.style.position&&(t+=o.pageXOffset||l.scrollLeft,n+=o.pageYOffset||l.scrollTop),{left:t,top:n}}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.scrollY;return void 0===t&&(t=e.document.documentElement.scrollTop),t}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.scrollX;return void 0===t&&(t=e.document.documentElement.scrollLeft),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?L(t):e.scrollTop}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?P(t):e.scrollLeft}function B(e){var t=e.ownerDocument,n=t?t.defaultView:void 0;t||(n=(t=e.document?e.document:e).defaultView);for(var r=["auto","scroll"],i=Object(s.isGetComputedStyleSupported)(),a=e.parentNode;a&&a.style&&t.body!==a;){var o=a.style,l=o.overflow,u=o.overflowX,c=o.overflowY;if([l,u,c].includes("scroll"))return a;if(i){var d=n.getComputedStyle(a);if(l=d.overflow,u=d.overflowX,c=d.overflowY,r.includes(l)||r.includes(u)||r.includes(c))return a}if(a.clientHeight<=a.scrollHeight+1&&(r.includes(c)||r.includes(l)))return a;if(a.clientWidth<=a.scrollWidth+1&&(r.includes(u)||r.includes(l)))return a;a=a.parentNode}return n}function H(e){for(var t=e.ownerDocument,n=t.defaultView,r=e.parentNode;r&&r.style&&t.body!==r;){if("visible"!==r.style.overflow&&""!==r.style.overflow)return r;var i=V(r,n),a=["scroll","hidden","auto"],o=i.getPropertyValue("overflow"),s=i.getPropertyValue("overflow-y"),l=i.getPropertyValue("overflow-x");if(a.includes(o)||a.includes(s)||a.includes(l))return r;r=r.parentNode}return n}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(e){if(e===n)return"width"===t?"".concat(n.innerWidth,"px"):"height"===t?"".concat(n.innerHeight,"px"):void 0;var r=e.style[t];if(""!==r&&void 0!==r)return r;var i=V(e,n);return""!==i[t]&&void 0!==i[t]?i[t]:void 0}}function Y(e,t){var n=t.selectorText,r=!1;return t.type===CSSRule.STYLE_RULE&&n&&(e.msMatchesSelector?r=e.msMatchesSelector(n):e.matches&&(r=e.matches(n))),r}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function W(e){return e.offsetWidth}function z(e){return Object(s.hasCaptionProblem)()&&e.firstChild&&"CAPTION"===e.firstChild.nodeName?e.offsetHeight+e.firstChild.offsetHeight:e.offsetHeight}function G(e){return e.clientHeight||e.innerHeight}function $(e){return e.clientWidth||e.innerWidth}function q(e,t,n){var r=e.defaultView;r||(r=e.document?e:e.ownerDocument.defaultView),r.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on".concat(t),n)}function K(e,t,n){var r=e.defaultView;r||(r=e.document?e:e.ownerDocument.defaultView),r.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on".concat(t),n)}function X(e){var t=e.ownerDocument;if(e.selectionStart)return e.selectionStart;if(t.selection){e.focus();var n=t.selection.createRange();if(null===n)return 0;var r=e.createTextRange(),i=r.duplicate();return r.moveToBookmark(n.getBookmark()),i.setEndPoint("EndToStart",r),i.text.length}return 0}function Q(e){var t=e.ownerDocument;if(e.selectionEnd)return e.selectionEnd;if(t.selection){var n=t.selection.createRange();return null===n?0:e.createTextRange().text.indexOf(n.text)+n.text.length}return 0}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document,n="";return e.getSelection?n=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(n=t.selection.createRange().text),n}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document;e.getSelection?e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges():t.selection&&t.selection.empty()}function ee(e,t,n){if(void 0===n&&(n=t),e.setSelectionRange){e.focus();try{e.setSelectionRange(t,n)}catch(a){var r=e.parentNode,i=r.style.display;r.style.display="block",e.setSelectionRange(t,n),r.style.display=i}}else if(e.createTextRange){var a=e.createTextRange();a.collapse(!0),a.moveEnd("character",n),a.moveStart("character",t),a.select()}}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.createElement("div");t.style.height="200px",t.style.width="100%";var n=e.createElement("div");n.style.boxSizing="content-box",n.style.height="150px",n.style.left="0px",n.style.overflow="hidden",n.style.position="absolute",n.style.top="0px",n.style.width="200px",n.style.visibility="hidden",n.appendChild(t),(e.body||e.documentElement).appendChild(n);var r=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;return r===i&&(i=n.clientWidth),(e.body||e.documentElement).removeChild(n),r-i}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return void 0===M&&(M=te(e)),M}function re(e){return e.offsetWidth!==e.clientWidth}function ie(e){return e.offsetHeight!==e.clientHeight}function ae(e,t,n){Object(o.isIE8)()||Object(o.isIE9)()?(e.style.top=n,e.style.left=t):Object(o.isSafari)()?(e.style["-webkit-transform"]="translate3d(".concat(t,",").concat(n,",0)"),e.style["-webkit-transform"]="translate3d(".concat(t,",").concat(n,",0)")):e.style.transform="translate3d(".concat(t,",").concat(n,",0)")}function oe(e){var t;return e.style.transform&&""!==(t=e.style.transform)?["transform",t]:e.style["-webkit-transform"]&&""!==(t=e.style["-webkit-transform"])?["-webkit-transform",t]:-1}function se(e){e.style.transform&&""!==e.style.transform?e.style.transform="":e.style["-webkit-transform"]&&""!==e.style["-webkit-transform"]&&(e.style["-webkit-transform"]="")}function le(e){return e&&(["INPUT","SELECT","TEXTAREA"].indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function ue(e){return le(e)&&-1===e.className.indexOf("handsontableInput")&&-1===e.className.indexOf("HandsontableCopyPaste")}function ce(e){ue(e.ownerDocument.activeElement)||e.select()}},function(e,t,n){"use strict";n.r(t),n.d(t,"to2dArray",(function(){return r})),n.d(t,"extendArray",(function(){return i})),n.d(t,"pivot",(function(){return a})),n.d(t,"arrayReduce",(function(){return o})),n.d(t,"arrayFilter",(function(){return s})),n.d(t,"arrayMap",(function(){return l})),n.d(t,"arrayEach",(function(){return u})),n.d(t,"arraySum",(function(){return c})),n.d(t,"arrayMax",(function(){return d})),n.d(t,"arrayMin",(function(){return f})),n.d(t,"arrayAvg",(function(){return h})),n.d(t,"arrayFlatten",(function(){return p})),n.d(t,"arrayUnique",(function(){return m}));n(75),n(88),n(56),n(16);function r(e){for(var t=e.length,n=0;nt?e:t}),Array.isArray(e)?e[0]:void 0)}function f(e){return o(e,(function(e,t){return e1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"value",r="_".concat(n),a=(i(t={_touched:!1},r,e),i(t,"isTouched",(function(){return this._touched})),t);return Object.defineProperty(a,n,{get:function(){return this[r]},set:function(e){this._touched=!0,this[r]=e},enumerable:!0,configurable:!0}),a}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return a})),n.d(t,"__rest",(function(){return o})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return l})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return h})),n.d(t,"__values",(function(){return p})),n.d(t,"__read",(function(){return m})),n.d(t,"__spread",(function(){return g})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__spreadArray",(function(){return _})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return b})),n.d(t,"__asyncDelegator",(function(){return S})),n.d(t,"__asyncValues",(function(){return E})),n.d(t,"__makeTemplateObject",(function(){return w})),n.d(t,"__importStar",(function(){return O})),n.d(t,"__importDefault",(function(){return C})),n.d(t,"__classPrivateFieldGet",(function(){return x})),n.d(t,"__classPrivateFieldSet",(function(){return k})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function g(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,u):c(a[0][2],n)}catch(e){c(a[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return T(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function x(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function k(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},function(e,t,n){"use strict";n.r(t),n.d(t,"linearMap",(function(){return i})),n.d(t,"parsePercent",(function(){return a})),n.d(t,"round",(function(){return o})),n.d(t,"asc",(function(){return s})),n.d(t,"getPrecision",(function(){return l})),n.d(t,"getPrecisionSafe",(function(){return u})),n.d(t,"getPixelPrecision",(function(){return c})),n.d(t,"getPercentWithPrecision",(function(){return d})),n.d(t,"getPercentSeats",(function(){return f})),n.d(t,"addSafe",(function(){return h})),n.d(t,"MAX_SAFE_INTEGER",(function(){return p})),n.d(t,"remRadian",(function(){return m})),n.d(t,"isRadianAroundZero",(function(){return g})),n.d(t,"parseDate",(function(){return _})),n.d(t,"quantity",(function(){return y})),n.d(t,"quantityExponent",(function(){return b})),n.d(t,"nice",(function(){return S})),n.d(t,"quantile",(function(){return E})),n.d(t,"reformIntervals",(function(){return w})),n.d(t,"numericToNumber",(function(){return T})),n.d(t,"isNumeric",(function(){return O})),n.d(t,"getRandomIdBase",(function(){return C})),n.d(t,"getGreatestCommonDividor",(function(){return x})),n.d(t,"getLeastCommonMultiple",(function(){return k}));var r=n(0);function i(e,t,n,r){var i=t[0],a=t[1],o=n[0],s=n[1],l=a-i,u=s-o;if(0===l)return 0===u?o:(o+s)/2;if(r)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function a(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return r.isString(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function o(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function s(e){return e.sort((function(e,t){return e-t})),e}function l(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return u(e)}function u(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-r)}function c(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),a=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function d(e,t,n){return e[t]&&f(e,n)[t]||0}function f(e,t){var n=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var i=Math.pow(10,t),a=r.map(e,(function(e){return(isNaN(e)?0:e)/n*i*100})),o=100*i,s=r.map(a,(function(e){return Math.floor(e)})),l=r.reduce(s,(function(e,t){return e+t}),0),u=r.map(a,(function(e,t){return e-s[t]}));lc&&(c=u[f],d=f);++s[d],u[d]=0,++l}return r.map(s,(function(e){return e/i}))}function h(e,t){var n=Math.max(l(e),l(t)),r=e+t;return n>20?r:o(r,n)}var p=9007199254740991;function m(e){var t=2*Math.PI;return(e%t+t)%t}function g(e){return e>-1e-4&&e<1e-4}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function _(e){if(e instanceof Date)return e;if(r.isString(e)){var t=v.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function y(e){return Math.pow(10,b(e))}function b(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function S(e,t){var n=b(e),r=Math.pow(10,n),i=e/r;return e=(t?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function E(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i}function w(e){e.sort((function(e,t){return function e(t,n,r){return t.interval[r]=0,l=!1;if(e instanceof s.default){var u=c(e),d=o&&u.selectFill||u.normalFill,f=o&&u.selectStroke||u.normalStroke;if(T(d)||T(f)){var h=(i=i||{}).style||{};"inherit"===h.fill?(l=!0,i=Object(r.extend)({},i),(h=Object(r.extend)({},h)).fill=d):!T(h.fill)&&T(d)?(l=!0,i=Object(r.extend)({},i),(h=Object(r.extend)({},h)).fill=Object(a.liftColor)(d)):!T(h.stroke)&&T(f)&&(l||(i=Object(r.extend)({},i),h=Object(r.extend)({},h)),h.stroke=Object(a.liftColor)(f)),i.style=h}}if(i&&null==i.z2){l||(i=Object(r.extend)({},i));var p=e.z2EmphasisLift;i.z2=e.z2+(null!=p?p:v)}return i}(this,0,t,n);if("blur"===e)return function(e,t,n){var i=Object(r.indexOf)(e.currentStates,t)>=0,a=e.style.opacity,o=i?null:function(e,t,n,r){for(var i=e.style,a={},o=0;o0){var a={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(a.dataType=r),t.push(a)}}))})),t}function re(e,t,n){ce(e,!0),D(e,j),oe(e,t,n)}function ie(e){ce(e,!1)}function ae(e,t,n,r){r?ie(e):re(e,t,n)}function oe(e,t,n){var r=Object(i.getECData)(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var se=["emphasis","blur","select"],le={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ue(e,t,n,r){n=n||"itemStyle";for(var i=0;i=t&&!1!==n(r););}function s(e,t){return t=parseInt(t.toString().replace("%",""),10),t=parseInt(e*t/100,10)}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n>>0,r=0;r0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,U=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},V={};function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(V[e]=i),t&&(V[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(V[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=G(t,e.localeData()),Y[t]=Y[t]||function(e){var t,n,r,i=e.match(H);for(t=0,n=i.length;t=0&&U.test(e);)e=e.replace(U,r),U.lastIndex=0,n-=1;return e}var $=/\d/,q=/\d\d/,K=/\d{3}/,X=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,ae=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ue={};function ce(e,t,n){ue[e]=A(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n68?1900:2e3)};var ye,be=Se("FullYear",!0);function Se(e,t){return function(n){return null!=n?(we(this,e,n),i.updateOffset(this,t),this):Ee(this,e)}}function Ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function we(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&_e(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?_e(e)?29:28:31-r%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Le(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Pe(e,t,n){var r=7+t-n;return-(7+Le(e,0,r).getUTCDay()-t)%7+r-1}function je(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Pe(e,r,i);return s<=0?o=ve(a=e-1)+s:s>ve(e)?(a=e+1,o=s-ve(e)):(a=e,o=s),{year:a,dayOfYear:o}}function Fe(e,t,n){var r,i,a=Pe(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+Be(i=e.year()-1,t,n):o>Be(e.year(),t,n)?(r=o-Be(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Be(e,t,n){var r=Pe(e,t,n),i=Pe(e+1,t,n);return(ve(e)-r+i)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),F("week",5),F("isoWeek",5),ce("w",Z),ce("ww",Z,q),ce("W",Z),ce("WW",Z,q),me(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=w(e)})),W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ce("d",Z),ce("e",Z),ce("E",Z),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),me(["d","e","E"],(function(e,t,n,r){t[r]=w(e)}));var Ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ve="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function We(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._shortWeekdaysParse,o))||-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,o))||-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,o))||-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._shortWeekdaysParse,o))?i:null}var ze=le,Ge=le,$e=le;function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),l[t]=fe(l[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Xe(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Ke),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+Ke.apply(this)+B(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Ke.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),N("hour","h"),F("hour",13),ce("a",Qe),ce("A",Qe),ce("H",Z),ce("h",Z),ce("k",Z),ce("HH",Z,q),ce("hh",Z,q),ce("kk",Z,q),ce("hmm",J),ce("hmmss",ee),ce("Hmm",J),ce("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=w(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=w(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(i)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(i))}));var Ze,Je=Se("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:xe,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Ve,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{r=Ze._abbr,n(1467)("./"+t),at(r)}catch(e){}return tt[t]}function at(e,t){var n;return e&&((n=s(t)?st(e):ot(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function ot(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new I(R(r,t)),nt[e]&&nt[e].forEach((function(e){ot(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!a(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a0;){if(r=it(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&T(i,n,!0)>=t-1)break;t--}a++}return Ze}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Te(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,r,a,o,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,a,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=ut(t.GG,e._a[0],Fe(Ot(),1,4).year),r=ut(t.W,1),((i=ut(t.E,1))<1||i>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=Fe(Ot(),a,o);n=ut(t.gg,e._a[0],u.year),r=ut(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a}r<1||r>Be(n,a,o)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=je(n,r,i,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=ut(e._a[0],r[0]),(e._dayOfYear>ve(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Le(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Le:Ne).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,r,i,a,o,s=e._i,l=dt.exec(s)||ft.exec(s);if(l){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),V[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),ge(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ct(e),lt(e)}else St(e);else vt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new b(lt(t)):(u(t)?e._d=t:a(n)?function(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()}));function kt(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function en(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tn(e,t){W(0,[e,e.length],0,t)}function nn(e,t,n,r,i){var a;return null==e?Fe(this,r,i).year:(t>(a=Be(e,r,i))&&(t=a),rn.call(this,e,t,n,r,i))}function rn(e,t,n,r,i){var a=je(e,t,n,r,i),o=Le(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ce("G",ae),ce("g",ae),ce("GG",Z,q),ce("gg",Z,q),ce("GGGG",ne,X),ce("gggg",ne,X),ce("GGGGG",re,Q),ce("ggggg",re,Q),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=w(e)})),me(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),N("quarter","Q"),F("quarter",7),ce("Q",$),pe("Q",(function(e,t){t[1]=3*(w(e)-1)})),W("D",["DD",2],"Do","date"),N("date","D"),F("date",9),ce("D",Z),ce("DD",Z,q),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=w(e.match(Z)[0])}));var an=Se("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),F("dayOfYear",4),ce("DDD",te),ce("DDDD",K),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),W("m",["mm",2],0,"minute"),N("minute","m"),F("minute",14),ce("m",Z),ce("mm",Z,q),pe(["m","mm"],4);var on=Se("Minutes",!1);W("s",["ss",2],0,"second"),N("second","s"),F("second",15),ce("s",Z),ce("ss",Z,q),pe(["s","ss"],5);var sn,ln=Se("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),F("millisecond",16),ce("S",te,$),ce("SS",te,q),ce("SSS",te,K),sn="SSSS";sn.length<=9;sn+="S")ce(sn,ie);function un(e,t){t[6]=w(1e3*("0."+e))}for(sn="S";sn.length<=9;sn+="S")pe(sn,un);var cn=Se("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var dn=b.prototype;function fn(e){return e}dn.add=Gt,dn.calendar=function(e,t){var n=e||Ot(),r=Pt(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",o=t&&(A(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Ot(n)))},dn.clone=function(){return new b(this)},dn.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t)){case"year":a=qt(this,r)/12;break;case"month":a=qt(this,r);break;case"quarter":a=qt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:E(a)},dn.endOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?en:Jt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},dn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},dn.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ot(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.fromNow=function(e){return this.from(Ot(),e)},dn.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ot(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.toNow=function(e){return this.to(Ot(),e)},dn.get=function(e){return A(this[e=L(e)])?this[e]():this},dn.invalidAt=function(){return p(this).overflow},dn.isAfter=function(e,t){var n=S(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=be,dn.isLeapYear=function(){return _e(this.year())},dn.weekYear=function(e){return nn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(e){return nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},dn.month=Ae,dn.daysInMonth=function(){return Te(this.year(),this.month())},dn.week=dn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},dn.isoWeek=dn.isoWeeks=function(e){var t=Fe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},dn.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},dn.isoWeeksInYear=function(){return Be(this.year(),1,4)},dn.date=an,dn.day=dn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},dn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},dn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},dn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},dn.hour=dn.hours=Je,dn.minute=dn.minutes=on,dn.second=dn.seconds=ln,dn.millisecond=dn.milliseconds=cn,dn.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Lt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?zt(this,Ut(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:jt(this)},dn.utc=function(e){return this.utcOffset(0,e)},dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Lt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Ft,dn.isUTC=Ft,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=C("dates accessor is deprecated. Use date instead.",an),dn.months=C("months accessor is deprecated. Use month instead",Ae),dn.years=C("years accessor is deprecated. Use year instead",be),dn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),dn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=wt(e))._a){var t=e._isUTC?h(e._a):Ot(e._a);this._isDSTShifted=this.isValid()&&T(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=I.prototype;function pn(e,t,n,r){var i=st(),a=h().set(r,t);return i[n](a,e)}function mn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,a=st(),o=e?a._week.dow:0;if(null!=n)return pn(t,(n+o)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=pn(t,(i+o)%7,r,"day");return s}hn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=fn,hn.postformat=fn,hn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)A(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return ke.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},hn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||De.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||De.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},hn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=C("moment.lang is deprecated. Use moment.locale instead.",at),i.langData=C("moment.langData is deprecated. Use moment.localeData instead.",st);var vn=Math.abs;function _n(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var wn=En("ms"),Tn=En("s"),On=En("m"),Cn=En("h"),xn=En("d"),kn=En("w"),Mn=En("M"),An=En("Q"),Rn=En("y");function In(e){return function(){return this.isValid()?this._data[e]:NaN}}var Dn=In("milliseconds"),Nn=In("seconds"),Ln=In("minutes"),Pn=In("hours"),jn=In("days"),Fn=In("months"),Bn=In("years"),Hn=Math.round,Un={ss:44,s:45,m:45,h:22,d:26,M:11};function Yn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Vn=Math.abs;function Wn(e){return(e>0)-(e<0)||+e}function zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Vn(this._milliseconds)/1e3,r=Vn(this._days),i=Vn(this._months);e=E(n/60),t=E(e/60),n%=60,e%=60;var a=E(i/12),o=i%=12,s=r,l=t,u=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Wn(this._months)!==Wn(d)?"-":"",p=Wn(this._days)!==Wn(d)?"-":"",m=Wn(this._milliseconds)!==Wn(d)?"-":"";return f+"P"+(a?h+a+"Y":"")+(o?h+o+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var Gn=At.prototype;return Gn.isValid=function(){return this._isValid},Gn.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},Gn.add=function(e,t){return _n(this,e,t,1)},Gn.subtract=function(e,t){return _n(this,e,t,-1)},Gn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Gn.asMilliseconds=wn,Gn.asSeconds=Tn,Gn.asMinutes=On,Gn.asHours=Cn,Gn.asDays=xn,Gn.asWeeks=kn,Gn.asMonths=Mn,Gn.asQuarters=An,Gn.asYears=Rn,Gn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Gn._bubble=function(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*yn(Sn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=E(a/1e3),l.seconds=e%60,t=E(e/60),l.minutes=t%60,n=E(t/60),l.hours=n%24,o+=E(n/24),i=E(bn(o)),s+=i,o-=yn(Sn(i)),r=E(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Gn.clone=function(){return Ut(this)},Gn.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Gn.milliseconds=Dn,Gn.seconds=Nn,Gn.minutes=Ln,Gn.hours=Pn,Gn.days=jn,Gn.weeks=function(){return E(this.days()/7)},Gn.months=Fn,Gn.years=Bn,Gn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ut(e).abs(),i=Hn(r.as("s")),a=Hn(r.as("m")),o=Hn(r.as("h")),s=Hn(r.as("d")),l=Hn(r.as("M")),u=Hn(r.as("y")),c=i<=Un.ss&&["s",i]||i0,c[4]=n,Yn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Gn.toISOString=zn,Gn.toString=zn,Gn.toJSON=zn,Gn.locale=Kt,Gn.localeData=Qt,Gn.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zn),Gn.lang=Xt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ce("x",ae),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(w(e))})),i.version="2.24.0",t=Ot,i.fn=dn,i.min=function(){var e=[].slice.call(arguments,0);return kt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return kt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return Ot(1e3*e)},i.months=function(e,t){return mn(e,t,"months")},i.isDate=u,i.locale=at,i.invalid=g,i.duration=Ut,i.isMoment=S,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return Ot.apply(null,arguments).parseZone()},i.localeData=st,i.isDuration=Rt,i.monthsShort=function(e,t){return mn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=ot,i.updateLocale=function(e,t){if(null!=t){var n,r,i=et;null!=(r=it(e))&&(i=r._config),t=R(i,t),(n=new I(t)).parentLocale=tt[e],tt[e]=n,at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return x(tt)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=L,i.relativeTimeRounding=function(e){return void 0===e?Hn:"function"==typeof e&&(Hn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Un[e]&&(void 0===t?Un[e]:(Un[e]=t,"s"===e&&(Un.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=dn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(788)(e))},function(e,t,n){"use strict";var r=n(667),i=n(233),a=n(1693);r||i(Object.prototype,"toString",a,{unsafe:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"extendShape",(function(){return L})),n.d(t,"extendPath",(function(){return j})),n.d(t,"registerShape",(function(){return F})),n.d(t,"getShapeClass",(function(){return B})),n.d(t,"makePath",(function(){return H})),n.d(t,"makeImage",(function(){return U})),n.d(t,"mergePath",(function(){return V})),n.d(t,"resizePath",(function(){return W})),n.d(t,"subPixelOptimizeLine",(function(){return z})),n.d(t,"subPixelOptimizeRect",(function(){return G})),n.d(t,"subPixelOptimize",(function(){return $})),n.d(t,"getTransform",(function(){return q})),n.d(t,"applyTransform",(function(){return K})),n.d(t,"transformDirection",(function(){return X})),n.d(t,"groupTransition",(function(){return Z})),n.d(t,"clipPointsByRect",(function(){return J})),n.d(t,"clipRectByRect",(function(){return ee})),n.d(t,"createIcon",(function(){return te})),n.d(t,"linePolygonIntersect",(function(){return ne})),n.d(t,"lineLineIntersect",(function(){return re})),n.d(t,"setTooltipConfig",(function(){return ae})),n.d(t,"traverseElements",(function(){return se}));var r=n(218),i=n(42),a=n(21),o=n(38);n.d(t,"Path",(function(){return o.default}));var s=n(117),l=n(102);n.d(t,"Image",(function(){return l.default}));var u=n(43);n.d(t,"Group",(function(){return u.default}));var c=n(70);n.d(t,"Text",(function(){return c.default}));var d=n(241);n.d(t,"Circle",(function(){return d.default}));var f=n(383);n.d(t,"Ellipse",(function(){return f.default}));var h=n(166);n.d(t,"Sector",(function(){return h.default}));var p=n(387);n.d(t,"Ring",(function(){return p.default}));var m=n(158);n.d(t,"Polygon",(function(){return m.default}));var g=n(167);n.d(t,"Polyline",(function(){return g.default}));var v=n(74);n.d(t,"Rect",(function(){return v.default}));var _=n(144);n.d(t,"Line",(function(){return _.default}));var y=n(388);n.d(t,"BezierCurve",(function(){return y.default}));var b=n(464);n.d(t,"Arc",(function(){return b.default}));var S=n(384);n.d(t,"CompoundPath",(function(){return S.default}));var E=n(284);n.d(t,"LinearGradient",(function(){return E.default}));var w=n(462);n.d(t,"RadialGradient",(function(){return w.default}));var T=n(36);n.d(t,"BoundingRect",(function(){return T.default}));var O=n(474);n.d(t,"OrientedBoundingRect",(function(){return O.default}));var C=n(55);n.d(t,"Point",(function(){return C.default}));var x=n(630);n.d(t,"IncrementalDisplayable",(function(){return x.default}));var k=n(316),M=n(0),A=n(27),R=n(24);n.d(t,"updateProps",(function(){return R.updateProps})),n.d(t,"initProps",(function(){return R.initProps})),n.d(t,"removeElement",(function(){return R.removeElement})),n.d(t,"removeElementWithFadeOut",(function(){return R.removeElementWithFadeOut})),n.d(t,"isElementRemoved",(function(){return R.isElementRemoved}));var I=Math.max,D=Math.min,N={};function L(e){return o.default.extend(e)}var P=r.extendFromString;function j(e,t){return P(e,t)}function F(e,t){N[e]=t}function B(e){if(N.hasOwnProperty(e))return N[e]}function H(e,t,n,i){var a=r.createFromString(e,t);return n&&("center"===i&&(n=Y(n,a.getBoundingRect())),W(a,n)),a}function U(e,t,n){var r=new l.default({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(Y(t,i))}}});return r}function Y(e,t){var n,r=t.width/t.height,i=e.height*r;return n=i<=e.width?e.height:(i=e.width)/r,{x:e.x+e.width/2-i/2,y:e.y+e.height/2-n/2,width:i,height:n}}var V=r.mergePath;function W(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function z(e,t){return k.subPixelOptimizeLine(e,e,{lineWidth:t}),e}function G(e){return k.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var $=k.subPixelOptimize;function q(e,t){for(var n=i.identity([]);e&&e!==t;)i.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function K(e,t,n){return t&&!Object(M.isArrayLike)(t)&&(t=s.default.getLocalTransform(t)),n&&(t=i.invert([],t)),a.applyTransform([],e,t)}function X(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),a=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return a=K(a,t,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Q(e){return!e.isGroup}function Z(e,t,n){if(e&&t){var r,i=(r={},e.traverse((function(e){Q(e)&&e.anid&&(r[e.anid]=e)})),r);t.traverse((function(e){if(Q(e)&&e.anid){var t=i[e.anid];if(t){var r=a(e);e.attr(a(t)),Object(R.updateProps)(e,r,n,Object(A.getECData)(e).dataIndex)}}}))}function a(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=Object(M.extend)({},e.shape)),t}}function J(e,t){return Object(M.map)(e,(function(e){var n=e[0];n=I(n,t.x),n=D(n,t.x+t.width);var r=e[1];return r=I(r,t.y),[n,r=D(r,t.y+t.height)]}))}function ee(e,t){var n=I(e.x,t.x),r=D(e.x+e.width,t.x+t.width),i=I(e.y,t.y),a=D(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function te(e,t,n){var r=Object(M.extend)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(M.defaults)(i,n),new l.default(r)):H(e.replace("path://",""),r,n,"center")}function ne(e,t,n,r,i){for(var a=0,o=i[i.length-1];a=-1e-6)return!1;var p=e-i,m=t-a,g=ie(p,m,u,c)/h;if(g<0||g>1)return!1;var v=ie(p,m,d,f)/h;return!(v<0||v>1)}function ie(e,t,n,r){return e*r-n*t}function ae(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(M.isString)(t)?{formatter:t}:t,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&Object(M.each)(Object(M.keys)(l),(function(e){Object(M.hasOwn)(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=Object(A.getECData)(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:r,option:Object(M.defaults)({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function oe(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function se(e,t){if(e)if(Object(M.isArray)(e))for(var n=0;n=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var p=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},function(e,t,n){"use strict";var r=n(668).charAt,i=n(139),a=n(279),o=n(664),s=n(666),l=a.set,u=a.getterFor("String Iterator");o(String,"String",(function(e){l(this,{type:"String Iterator",string:i(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},function(e,t,n){"use strict";var r=n(98),i=n(972),a=n(973),o=n(15),s=n(341),l=n(449),u=n(120)("iterator"),c=o.values,d=function(e,t){if(e){if(e[u]!==c)try{s(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),i[t])for(var n in o)if(e[n]!==o[n])try{s(e,n,o[n])}catch(t){e[n]=o[n]}}};for(var f in i)d(r[f]&&r[f].prototype,f);d(a,"DOMTokenList")},function(e,t,n){"use strict";n(1698),n(1700),n(1701),n(1702),n(1704)},function(e,t,n){"use strict";var r=n(62),i=n(134),a=n(98),o=n(79),s=n(135),l=n(122),u=n(303),c=n(139),d=n(452),f=n(960),h=a.Symbol,p=h&&h.prototype;if(i&&l(h)&&(!("description"in p)||void 0!==h().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=u(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(m[t]=!0),t};f(g,h),g.prototype=p,p.constructor=g;var v="Symbol(description detection)"===String(h("description detection")),_=o(p.valueOf),y=o(p.toString),b=/^Symbol\((.*)\)[^)]+$/,S=o("".replace),E=o("".slice);d(p,"description",{configurable:!0,get:function(){var e=_(this);if(s(m,e))return"";var t=y(e),n=v?E(t,7,-1):S(t,b,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},function(e,t,n){"use strict";n(975)("iterator")},function(e,t,n){"use strict";function r(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function i(e,t){return e[0]=t[0],e[1]=t[1],e}function a(e){return[e[0],e[1]]}function o(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function c(e){return Math.sqrt(f(e))}n.r(t),n.d(t,"create",(function(){return r})),n.d(t,"copy",(function(){return i})),n.d(t,"clone",(function(){return a})),n.d(t,"set",(function(){return o})),n.d(t,"add",(function(){return s})),n.d(t,"scaleAndAdd",(function(){return l})),n.d(t,"sub",(function(){return u})),n.d(t,"len",(function(){return c})),n.d(t,"length",(function(){return d})),n.d(t,"lenSquare",(function(){return f})),n.d(t,"lengthSquare",(function(){return h})),n.d(t,"mul",(function(){return p})),n.d(t,"div",(function(){return m})),n.d(t,"dot",(function(){return g})),n.d(t,"scale",(function(){return v})),n.d(t,"normalize",(function(){return _})),n.d(t,"distance",(function(){return y})),n.d(t,"dist",(function(){return b})),n.d(t,"distanceSquare",(function(){return S})),n.d(t,"distSquare",(function(){return E})),n.d(t,"negate",(function(){return w})),n.d(t,"lerp",(function(){return T})),n.d(t,"applyTransform",(function(){return O})),n.d(t,"min",(function(){return C})),n.d(t,"max",(function(){return x}));var d=c;function f(e){return e[0]*e[0]+e[1]*e[1]}var h=f;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function m(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function g(e,t){return e[0]*t[0]+e[1]*t[1]}function v(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function _(e,t){var n=c(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function y(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var b=y;function S(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var E=S;function w(e,t){return e[0]=-t[0],e[1]=-t[1],e}function T(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function O(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function C(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function x(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"countBits",(function(){return o})),n.d(t,"countBytes",(function(){return s})),n.d(t,"padStart",(function(){return l})),n.d(t,"isArrayBufferView",(function(){return u})),n.d(t,"isTypedArray",(function(){return c})),n.d(t,"toUint8",(function(){return d})),n.d(t,"toHexString",(function(){return f})),n.d(t,"toBinaryString",(function(){return h})),n.d(t,"ENDIANNESS",(function(){return g})),n.d(t,"IS_BIG_ENDIAN",(function(){return v})),n.d(t,"IS_LITTLE_ENDIAN",(function(){return _})),n.d(t,"bytesToNumber",(function(){return y})),n.d(t,"numberToBytes",(function(){return b})),n.d(t,"bytesToString",(function(){return S})),n.d(t,"stringToBytes",(function(){return E})),n.d(t,"concatTypedArrays",(function(){return w})),n.d(t,"bytesMatch",(function(){return T})),n.d(t,"sliceBytes",(function(){return O})),n.d(t,"reverseBytes",(function(){return C}));var r,i,a=n(7),o=function(e){return e.toString(2).length},s=function(e){return Math.ceil(o(e)/8)},l=function(e,t,n){return void 0===n&&(n=" "),(function(e,t){for(var n="";t--;)n+=e;return n}(n,t)+e.toString()).slice(-t)},u=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},c=function(e){return u(e)},d=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||c(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},f=function(e){e=d(e);for(var t="",n=0;nu&&(l-=u,l-=u,l-=p(2))}return Number(l)},b=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=p(e);for(var i=s(e),a=new Uint8Array(new ArrayBuffer(i)),o=0;o=t.length&&l.call(t,(function(t,n){return t===(s[n]?s[n]&e[a+n]:e[a+n])}))},O=function(e,t,n){return Uint8Array.prototype.slice?Uint8Array.prototype.slice.call(e,t,n):new Uint8Array(Array.prototype.slice.call(e,t,n))},C=function(e){return e.reverse?e.reverse():Array.prototype.reverse.call(e)}},function(e,t,n){var r=n(86),i=n(227),a=n(189),o=n(190),s=n(228),l=function(e,t,n){var u,c,d,f,h=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,_=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=p?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(u in p&&(n=t),n)d=((c=!h&&_&&void 0!==_[u])?_:n)[u],f=v&&c?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,_&&o(_,u,d,e&l.U),y[u]!=d&&a(y,u,f),g&&b[u]!=d&&(b[u]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";n.r(t),n.d(t,"transitionStore",(function(){return a})),n.d(t,"getAnimationConfig",(function(){return o})),n.d(t,"updateProps",(function(){return l})),n.d(t,"initProps",(function(){return u})),n.d(t,"isElementRemoved",(function(){return c})),n.d(t,"removeElement",(function(){return d})),n.d(t,"removeElementWithFadeOut",(function(){return h})),n.d(t,"saveOldStyle",(function(){return p})),n.d(t,"getOldStyle",(function(){return m}));var r=n(0),i=n(6),a=Object(i.makeInner)();function o(e,t,n,i,a){var o;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();o=s&&s.animation}var l="update"===e;if(t&&t.isAnimationEnabled()){var u=void 0,c=void 0,d=void 0;return i?(u=Object(r.retrieve2)(i.duration,200),c=Object(r.retrieve2)(i.easing,"cubicOut"),d=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),d=t.getShallow(l?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(u=o.duration),null!=o.easing&&(c=o.easing),null!=o.delay&&(d=o.delay)),Object(r.isFunction)(d)&&(d=d(n,a)),Object(r.isFunction)(u)&&(u=u(n)),{duration:u||0,delay:d,easing:c}}return null}function s(e,t,n,i,a,s,l){var u,c=!1;Object(r.isFunction)(a)?(l=s,s=a,a=null):Object(r.isObject)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var d="leave"===e;d||t.stopAnimation("leave");var f=o(e,i,a,d?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(t,a):null);if(f&&f.duration>0){var h={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!l,setToFinal:!d,scope:e,during:l};c?t.animateFrom(n,h):t.animateTo(n,h)}else t.stopAnimation(),!c&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,a){s("update",e,t,n,r,i,a)}function u(e,t,n,r,i,a){s("enter",e,t,n,r,i,a)}function c(e){if(!e.__zr)return!0;for(var t=0;tRead more about it in \n the documentation or contact us at support@handsontable.com.'],['\n The license key for Handsontable is missing. Use your purchased key to activate the product.\\x20\n Alternatively, you can activate Handsontable to use for non-commercial purposes by\\x20\n passing the key: \'non-commercial-and-evaluation\'.\\x20\n Read more about it in\\x20\n the documentation or contact us at support@handsontable.com.']);return o=function(){return e},e}function s(){var e=f(["\n The license key for Handsontable expired on ",", and is not valid for the installed \n version ",'. Renew your \n license key or downgrade to a version released prior to ','. If you need any \n help, contact us at sales@handsontable.com.'],["\n The license key for Handsontable expired on ",", and is not valid for the installed\\x20\n version ",'. Renew your\\x20\n license key or downgrade to a version released prior to ','. If you need any\\x20\n help, contact us at sales@handsontable.com.']);return s=function(){return e},e}function l(){var e=f(['\n The license key for Handsontable is invalid. \n Read more on how to \n install it properly or contact us at support@handsontable.com.'],['\n The license key for Handsontable is invalid.\\x20\n Read more on how to\\x20\n install it properly or contact us at support@handsontable.com.']);return l=function(){return e},e}function u(){var e=f(["\n The license key for Handsontable is missing. Use your purchased key to activate the product. \n Alternatively, you can activate Handsontable to use for non-commercial purposes by \n passing the key: 'non-commercial-and-evaluation'. If you need any help, contact \n us at support@handsontable.com."],["\n The license key for Handsontable is missing. Use your purchased key to activate the product.\\x20\n Alternatively, you can activate Handsontable to use for non-commercial purposes by\\x20\n passing the key: 'non-commercial-and-evaluation'. If you need any help, contact\\x20\n us at support@handsontable.com."]);return u=function(){return e},e}function c(){var e=f(["\n The license key for Handsontable expired on ",", and is not valid for the installed \n version ",". Renew your license key at handsontable.com or downgrade to a version released prior \n to ",". If you need any help, contact us at sales@handsontable.com."],["\n The license key for Handsontable expired on ",", and is not valid for the installed\\x20\n version ",". Renew your license key at handsontable.com or downgrade to a version released prior\\x20\n to ",". If you need any help, contact us at sales@handsontable.com."]);return c=function(){return e},e}function d(){var e=f(["\n The license key for Handsontable is invalid. \n If you need any help, contact us at support@handsontable.com."],["\n The license key for Handsontable is invalid.\\x20\n If you need any help, contact us at support@handsontable.com."]);return d=function(){return e},e}function f(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){var t;switch(h(e)){case"string":case"number":t="".concat(e);break;case"object":t=null===e?"":e.toString();break;case"undefined":t="";break;default:t=e.toString()}return t}function m(e){return void 0!==e}function g(e){return void 0===e}function v(e){return null===e||""===e||g(e)}function _(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y="length",b=function(e){return parseInt(e,16)},S=function(e){return parseInt(e,10)},E=function(e,t,n){return e.substr(t,n)},w=function(e){return e.codePointAt(0)-65},T=function(e){return"".concat(e).replace(/\-/g,"")},O=!1,C={invalid:function(){return Object(a.toSingleLine)(d())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return Object(a.toSingleLine)(c(),t,n,t)},missing:function(){return Object(a.toSingleLine)(u())},non_commercial:function(){return""}},x={invalid:function(){return Object(a.toSingleLine)(l())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return Object(a.toSingleLine)(s(),t,n,t)},missing:function(){return Object(a.toSingleLine)(o())},non_commercial:function(){return""}};function k(e,t){var n,r,a=!v(e),o="string"==typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),s="invalid",l="invalid",u=function(e){var t=[][y],n=t;if(e[y]!==w("Z"))return!1;for(var r="",i="B>1:r=E(e,a,a?1===i[y]?9:8:6);return n===t}(e=T(e||""));if(a||o||u)if(u){var c=i()("19/02/2020","DD/MM/YYYY"),d=Math.floor(c.toDate().getTime()/864e5),f=b(E(T(r=e),b("12"),w("F")))/(b(E(T(r),w("B"),~~![][y]))||9);if(n=i()(864e5*(f+1),"x").format("MMMM DD, YYYY"),d>f){var h=i()().diff(c,"days");s=h<=1?"valid":"expired",l=h<=15?"valid":"expired"}else s="valid",l="valid"}else o?(s="non_commercial",l="valid"):(s="invalid",l="invalid");else s="missing",l="missing";("undefined"!=typeof location&&/^([a-z0-9\-]+\.)?\x68\x61\x6E\x64\x73\x6F\x6E\x74\x61\x62\x6C\x65\x2E\x63\x6F\x6D$/i.test(location.host)&&(s="valid",l="valid"),O||"valid"===s)||(C[s]({keyValidityDate:n,hotVersion:"7.4.2"})&&console["non_commercial"===s?"info":"warn"](C[s]({keyValidityDate:n,hotVersion:"7.4.2"})),O=!0);if("valid"!==l&&t.parentNode&&x[l]({keyValidityDate:n,hotVersion:"7.4.2"})){var p=document.createElement("div");p.id="hot-display-license-info",p.innerHTML=x[l]({keyValidityDate:n,hotVersion:"7.4.2"}),t.parentNode.insertBefore(p,t.nextSibling)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"getECData",(function(){return i})),n.d(t,"setCommonECData",(function(){return a}));var r=n(6),i=Object(r.makeInner)(),a=function(e,t,n,r){if(r){var a=i(r);a.dataIndex=n,a.dataType=t,a.seriesIndex=e,a.ssrType="chart","group"===r.type&&r.traverse((function(r){var a=i(r);a.seriesIndex=e,a.dataIndex=n,a.dataType=t,a.ssrType="chart"}))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"stopImmediatePropagation",(function(){return i})),n.d(t,"isImmediatePropagationStopped",(function(){return a})),n.d(t,"stopPropagation",(function(){return o})),n.d(t,"pageX",(function(){return s})),n.d(t,"pageY",(function(){return l})),n.d(t,"isRightClick",(function(){return u})),n.d(t,"isLeftClick",(function(){return c}));var r=n(1);function i(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0}function a(e){return!1===e.isImmediatePropagationEnabled}function o(e){"function"==typeof e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function s(e){if(e.pageX)return e.pageX;var t=e.target.ownerDocument.defaultView;return e.clientX+Object(r.getWindowScrollLeft)(t)}function l(e){if(e.pageY)return e.pageY;var t=e.target.ownerDocument.defaultView,n=Object(r.getWindowScrollTop)(t);for(t=Object(r.getParentWindow)(t);t;)n-=Object(r.getWindowScrollTop)(t),t=Object(r.getParentWindow)(t);return e.clientY+n}function u(e){return 2===e.button}function c(e){return 0===e.button}},function(e,t,n){"use strict";n.r(t),n.d(t,"VISUAL_DIMENSIONS",(function(){return i})),n.d(t,"SOURCE_FORMAT_ORIGINAL",(function(){return a})),n.d(t,"SOURCE_FORMAT_ARRAY_ROWS",(function(){return o})),n.d(t,"SOURCE_FORMAT_OBJECT_ROWS",(function(){return s})),n.d(t,"SOURCE_FORMAT_KEYED_COLUMNS",(function(){return l})),n.d(t,"SOURCE_FORMAT_TYPED_ARRAY",(function(){return u})),n.d(t,"SOURCE_FORMAT_UNKNOWN",(function(){return c})),n.d(t,"SERIES_LAYOUT_BY_COLUMN",(function(){return d})),n.d(t,"SERIES_LAYOUT_BY_ROW",(function(){return f}));var r=n(0),i=Object(r.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),a="original",o="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",d="column",f="row"},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},a=n(1469);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=r}).call(this,n(188))},function(e,t,n){"use strict";var r=n(443).PROPER,i=n(233),a=n(147),o=n(139),s=n(76),l=n(980),u=RegExp.prototype,c=u.toString,d=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),f=r&&"toString"!==c.name;(d||f)&&i(u,"toString",(function(){var e=a(this);return"/"+o(e.source)+"/"+o(l(e))}),{unsafe:!0})},function(e,t,n){var r=n(496);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(62),i=n(76),a=n(177),o=n(448),s=n(966);r({target:"Object",stat:!0,forced:i((function(){o(1)})),sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},function(e,t,n){"use strict";n.r(t),n.d(t,"LOCATION_PARAMS",(function(){return l})),n.d(t,"HV_NAMES",(function(){return u})),n.d(t,"box",(function(){return d})),n.d(t,"vbox",(function(){return f})),n.d(t,"hbox",(function(){return h})),n.d(t,"getAvailableSize",(function(){return p})),n.d(t,"getLayoutRect",(function(){return m})),n.d(t,"positionElement",(function(){return g})),n.d(t,"sizeCalculable",(function(){return v})),n.d(t,"fetchLayoutMode",(function(){return _})),n.d(t,"mergeLayoutParam",(function(){return y})),n.d(t,"getLayoutParams",(function(){return b})),n.d(t,"copyLayoutParams",(function(){return S}));var r=n(0),i=n(36),a=n(5),o=n(69),s=r.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(e,t,n,r,i){var a=0,o=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,f=l.getBoundingRect(),h=t.childAt(u+1),p=h&&h.getBoundingRect();if("horizontal"===e){var m=f.width+(p?-p.x+f.x:0);(c=a+m)>r||l.newline?(a=0,c=m,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(p?-p.y+f.y:0);(d=o+g)>i||l.newline?(a+=s+n,o=0,d=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===e?a=c+n:o=d+n)}))}var d=c,f=r.curry(c,"vertical"),h=r.curry(c,"horizontal");function p(e,t,n){var r=t.width,i=t.height,s=Object(a.parsePercent)(e.left,r),l=Object(a.parsePercent)(e.top,i),u=Object(a.parsePercent)(e.right,r),c=Object(a.parsePercent)(e.bottom,i);return(isNaN(s)||isNaN(parseFloat(e.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(e.right)))&&(u=r),(isNaN(l)||isNaN(parseFloat(e.top)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.bottom)))&&(c=i),n=o.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function m(e,t,n){n=o.normalizeCssArray(n||0);var r=t.width,s=t.height,l=Object(a.parsePercent)(e.left,r),u=Object(a.parsePercent)(e.top,s),c=Object(a.parsePercent)(e.right,r),d=Object(a.parsePercent)(e.bottom,s),f=Object(a.parsePercent)(e.width,r),h=Object(a.parsePercent)(e.height,s),p=n[2]+n[0],m=n[1]+n[3],g=e.aspect;switch(isNaN(f)&&(f=r-c-m-l),isNaN(h)&&(h=s-d-p-u),null!=g&&(isNaN(f)&&isNaN(h)&&(g>r/s?f=.8*r:h=.8*s),isNaN(f)&&(f=g*h),isNaN(h)&&(h=f/g)),isNaN(l)&&(l=r-c-f-m),isNaN(u)&&(u=s-d-h-p),e.left||e.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-m}switch(e.top||e.bottom){case"middle":case"center":u=s/2-h/2-n[0];break;case"bottom":u=s-h-p}l=l||0,u=u||0,isNaN(f)&&(f=r-m-l-(c||0)),isNaN(h)&&(h=s-p-u-(d||0));var v=new i.default(l+n[3],u+n[0],f,h);return v.margin=n,v}function g(e,t,n,a,o,s){var l,u=!o||!o.hv||o.hv[0],c=!o||!o.hv||o.hv[1],d=o&&o.boundingMode||"all";if((s=s||e).x=e.x,s.y=e.y,!u&&!c)return!1;if("raw"===d)l="group"===e.type?new i.default(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();(l=l.clone()).applyTransform(f)}var h=m(r.defaults({width:l.width,height:l.height},t),n,a),p=u?h.x-l.x:0,g=c?h.y-l.y:0;return"raw"===d?(s.x=p,s.y=g):(s.x+=p,s.y+=g),s===e&&e.markRedraw(),!0}function v(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]}function _(e){var t=e.layoutMode||e.constructor.layoutMode;return r.isObject(t)?t:t?{type:t}:null}function y(e,t,n){var i=n&&n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var a=l(u[0],0),o=l(u[1],1);function l(n,r){var a={},o=0,l={},u=0;if(s(n,(function(t){l[t]=e[t]})),s(n,(function(e){c(t,e)&&(a[e]=l[e]=t[e]),d(a,e)&&o++,d(l,e)&&u++})),i[r])return d(t,n[1])?l[n[2]]=null:d(t,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return a;for(var f=0;fv&&(v=E,_v&&(v=w,b=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],d=r[3],f=r[4],h=r[5];return t.x=n.x*i+f,t.y=n.y*d+h,t.width=n.width*i,t.height=n.height*d,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}s.x=u.x=n.x,s.y=c.y=n.y,l.x=c.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(r),c.transform(r),l.transform(r),u.transform(r),t.x=a(s.x,l.x,u.x,c.x),t.y=a(s.y,l.y,u.y,c.y);var p=o(s.x,l.x,u.x,c.x),m=o(s.y,l.y,u.y,c.y);t.width=p-t.x,t.height=m-t.y}else t!==n&&e.copy(t,n)},e}();t.default=h},function(e,t,n){"use strict";n.r(t),n.d(t,"registerPlugin",(function(){return s})),n.d(t,"getPlugin",(function(){return l})),n.d(t,"getRegistredPluginNames",(function(){return u})),n.d(t,"getPluginName",(function(){return c}));n(15),n(235),n(12),n(16),n(91),n(17);var r=n(40),i=n(3),a=n(111),o=new WeakMap;function s(e,t){var n=Object(a.toUpperCaseFirst)(e);r.default.getSingleton().add("construct",(function(){o.has(this)||o.set(this,{});var e=o.get(this);e[n]||(e[n]=new t(this))})),r.default.getSingleton().add("afterDestroy",(function(){if(o.has(this)){var e=o.get(this);Object(i.objectEach)(e,(function(e){return e.destroy()})),o.delete(this)}}))}function l(e,t){if("string"!=typeof t)throw Error('Only strings can be passed as "plugin" parameter');var n=Object(a.toUpperCaseFirst)(t);if(o.has(e)&&o.get(e)[n])return o.get(e)[n]}function u(e){return o.has(e)?Object.keys(o.get(e)):[]}function c(e,t){var n=null;return o.has(e)&&Object(i.objectEach)(o.get(e),(function(e,r){e===t&&(n=r)})),n}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_PATH_STYLE",(function(){return f})),n.d(t,"DEFAULT_PATH_ANIMATION_PROPS",(function(){return h}));var r=n(66),i=n(90),a=n(132),o=n(726),s=n(0),l=n(72),u=n(152),c=n(96),d=n(117),f=Object(s.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.DEFAULT_COMMON_STYLE),h={style:Object(s.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.DEFAULT_COMMON_ANIMATION_PROPS.style)},p=d.TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),m=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.__extends)(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var a=i.style;for(var o in r)a[o]!==r[o]&&(a[o]=r[o]);a.fill=r.fill?r.decal:null,a.decal=null,a.shadowColor=null,r.strokeFirst&&(a.stroke=null);for(var s=0;s.5?u.DARK_LABEL_COLOR:t>.2?u.LIGHTER_LABEL_COLOR:u.LIGHT_LABEL_COLOR}if(e)return u.LIGHT_LABEL_COLOR}return u.DARK_LABEL_COLOR},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(s.isString)(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Object(l.lum)(e,0)0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&c.SHAPE_CHANGED_BIT)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){a.copy(e);var o=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var a=this.path;if(this.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,e,t)))return!0}if(this.hasFill())return o.contain(a,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=c.SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:Object(s.extend)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&c.SHAPE_CHANGED_BIT)},t.prototype.createStyle=function(e){return Object(s.createObject)(f,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(s.extend)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,a,o){e.prototype._applyStateObj.call(this,t,n,r,i,a,o);var l,u=!(n&&i);if(n&&n.shape?a?i?l=n.shape:(l=Object(s.extend)({},r.shape),Object(s.extend)(l,n.shape)):(l=Object(s.extend)({},i?this.shape:r.shape),Object(s.extend)(l,n.shape)):u&&(l=r.shape),l)if(a){this.shape=Object(s.extend)({},this.shape);for(var c={},d=Object(s.keys)(l),f=0;f0&&void 0!==arguments[0]?arguments[0]:null;return e?(e.pluginHookBucket||(e.pluginHookBucket=this.createEmptyBucket()),e.pluginHookBucket):this.globalBucket}},{key:"add",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Array.isArray(t))Object(r.arrayEach)(t,(function(t){return n.add(e,t,i)}));else{var a=this.getBucket(i);if(void 0===a[e]&&(this.register(e),a[e]=[]),t.skip=!1,-1===a[e].indexOf(t)){var o=!1;t.initialHook&&Object(r.arrayEach)(a[e],(function(n,r){if(n.initialHook)return a[e][r]=t,o=!0,!1})),o||a[e].push(t)}}return this}},{key:"once",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)?Object(r.arrayEach)(t,(function(t){return n.once(e,t,i)})):(t.runOnce=!0,this.add(e,t,i))}},{key:"remove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.getBucket(n);return void 0!==r[e]&&r[e].indexOf(t)>=0&&(t.skip=!0,!0)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getBucket(t);return!(void 0===n[e]||!n[e].length)}},{key:"run",value:function(e,t,n,r,i,a,o,s){var l=this.globalBucket[t],u=l?l.length:0,c=0;if(u)for(;c0&&void 0!==arguments[0]?arguments[0]:null;Object(i.objectEach)(this.getBucket(e),(function(e,t,n){return n[t].length=0}))}},{key:"register",value:function(e){this.isRegistered(e)||s.push(e)}},{key:"deregister",value:function(e){this.isRegistered(e)&&s.splice(s.indexOf(e),1)}},{key:"isRegistered",value:function(e){return s.indexOf(e)>=0}},{key:"getRegistered",value:function(){return s}}]),e}(),u=new l;t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY_CODES",(function(){return i})),n.d(t,"isPrintableChar",(function(){return a})),n.d(t,"isMetaKey",(function(){return o})),n.d(t,"isCtrlKey",(function(){return s})),n.d(t,"isCtrlMetaKey",(function(){return l})),n.d(t,"isKey",(function(){return u}));n(114),n(56),n(92),n(148),n(193);var r=n(2),i={MOUSE_LEFT:1,MOUSE_RIGHT:3,MOUSE_MIDDLE:2,BACKSPACE:8,COMMA:188,INSERT:45,DELETE:46,END:35,ENTER:13,ESCAPE:27,CONTROL:17,COMMAND_LEFT:91,COMMAND_RIGHT:93,COMMAND_FIREFOX:224,ALT:18,HOME:36,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,SPACE:32,SHIFT:16,CAPS_LOCK:20,TAB:9,ARROW_RIGHT:39,ARROW_LEFT:37,ARROW_UP:38,ARROW_DOWN:40,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,A:65,C:67,D:68,F:70,L:76,O:79,P:80,S:83,V:86,X:88};function a(e){return 32===e||e>=48&&e<=57||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||e>=226||e>=65&&e<=90}function o(e){return-1!==[i.ARROW_DOWN,i.ARROW_UP,i.ARROW_LEFT,i.ARROW_RIGHT,i.HOME,i.END,i.DELETE,i.BACKSPACE,i.F1,i.F2,i.F3,i.F4,i.F5,i.F6,i.F7,i.F8,i.F9,i.F10,i.F11,i.F12,i.TAB,i.PAGE_DOWN,i.PAGE_UP,i.ENTER,i.ESCAPE,i.SHIFT,i.CAPS_LOCK,i.ALT].indexOf(e)}function s(e){var t=[];return navigator.platform.includes("Mac")?t.push(i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX):t.push(i.CONTROL),t.includes(e)}function l(e){return[i.CONTROL,i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX].includes(e)}function u(e,t){var n=t.split("|"),a=!1;return Object(r.arrayEach)(n,(function(t){if(e===i[t])return a=!0,!1})),a}},function(e,t,n){"use strict";function r(){return[1,0,0,1,0,0]}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function o(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n,r){void 0===r&&(r=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=i*d+s*c,e[1]=-i*c+s*d,e[2]=a*d+l*c,e[3]=-a*c+d*l,e[4]=d*(o-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(o-r[0])+r[1],e}function u(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function c(e,t){var n=t[0],r=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=n*o-a*r;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-o*i)*l,e[5]=(a*i-n*s)*l,e):null}function d(e){var t=[1,0,0,1,0,0];return a(t,e),t}n.r(t),n.d(t,"create",(function(){return r})),n.d(t,"identity",(function(){return i})),n.d(t,"copy",(function(){return a})),n.d(t,"mul",(function(){return o})),n.d(t,"translate",(function(){return s})),n.d(t,"rotate",(function(){return l})),n.d(t,"scale",(function(){return u})),n.d(t,"invert",(function(){return c})),n.d(t,"clone",(function(){return d}))},function(e,t,n){"use strict";n.r(t);var r=n(66),i=n(0),a=n(555),o=n(36),s=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return Object(r.__extends)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=i.indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=i.indexOf(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n=0&&u.splice(u.indexOf(this.pluginName),1),u.length||this.hot.runHooks("afterPluginsInitialized"),this.initialized=!0}},{key:"enablePlugin",value:function(){this.enabled=!0}},{key:"disablePlugin",value:function(){this.eventManager&&this.eventManager.clear(),this.clearHooks(),this.enabled=!1}},{key:"addHook",value:function(e,t){l.get(this).hooks[e]=l.get(this).hooks[e]||[];var n=l.get(this).hooks[e];this.hot.addHook(e,t),n.push(t),l.get(this).hooks[e]=n}},{key:"removeHooks",value:function(e){var t=this;Object(i.arrayEach)(l.get(this).hooks[e]||[],(function(n){t.hot.removeHook(e,n)}))}},{key:"clearHooks",value:function(){var e=this,t=l.get(this).hooks;Object(r.objectEach)(t,(function(t,n){return e.removeHooks(n)})),t.length=0}},{key:"callOnPluginsReady",value:function(e){this.isPluginsReady?e():this.pluginsInitializedCallbacks.push(e)}},{key:"onAfterPluginsInitialized",value:function(){Object(i.arrayEach)(this.pluginsInitializedCallbacks,(function(e){return e()})),this.pluginsInitializedCallbacks.length=0,this.isPluginsReady=!0}},{key:"onUpdateSettings",value:function(){this.isEnabled&&(this.enabled&&!this.isEnabled()&&this.disablePlugin(),!this.enabled&&this.isEnabled()&&this.enablePlugin(),this.enabled&&this.isEnabled()&&this.updatePlugin())}},{key:"updatePlugin",value:function(){}},{key:"destroy",value:function(){var e=this;this.eventManager&&this.eventManager.destroy(),this.clearHooks(),Object(r.objectEach)(this,(function(t,n){"hot"!==n&&"t"!==n&&(e[n]=null)})),delete this.t,delete this.hot}}])&&s(t.prototype,n),c&&s(t,c),e}();t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(63),o=n(99),s=n(116),l=n(6),u=n(34),c=Object(l.makeInner)(),d=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=o.getUID("ec_cpt_model"),i}var n;return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=u.fetchLayoutMode(this),r=n?u.getLayoutParams(e):{},a=t.getTheme();i.merge(e,a.get(this.mainType)),i.merge(e,this.getDefaultOption()),n&&u.mergeLayoutParam(e,r,n)},t.prototype.mergeOption=function(e,t){i.merge(this.option,e,!0);var n=u.fetchLayoutMode(this);n&&u.mergeLayoutParam(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Object(s.isExtendedClass)(e))return e.defaultOption;var t=c(this);if(!t.defaultOption){for(var n=[],r=e;r;){var a=r.prototype.defaultOption;a&&n.push(a),r=r.superClass}for(var o={},l=n.length-1;l>=0;l--)o=i.merge(o,n[l],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Object(l.queryReferringComponents)(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=((n=t.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),t}(a.default);Object(s.mountExtend)(d,a.default),Object(s.enableClassManagement)(d),o.enableSubTypeDefaulter(d),o.enableTopologicalTravel(d,(function(e){var t=[];i.each(d.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=i.map(t,(function(e){return Object(s.parseClassType)(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset");return t})),t.default=d},function(e,t,n){"use strict";n.r(t),n.d(t,"normalizeSelection",(function(){return o})),n.d(t,"isSeparator",(function(){return s})),n.d(t,"hasSubMenu",(function(){return l})),n.d(t,"isDisabled",(function(){return u})),n.d(t,"isSelectionDisabled",(function(){return c})),n.d(t,"getValidSelection",(function(){return d})),n.d(t,"prepareVerticalAlignClass",(function(){return f})),n.d(t,"prepareHorizontalAlignClass",(function(){return h})),n.d(t,"getAlignmentClasses",(function(){return p})),n.d(t,"align",(function(){return m})),n.d(t,"checkSelectionConsistency",(function(){return v})),n.d(t,"markLabelAsSelected",(function(){return _})),n.d(t,"isItemHidden",(function(){return y})),n.d(t,"filterSeparators",(function(){return w}));n(75),n(56),n(528),n(108),n(195),n(92),n(157);var r=n(2),i=n(1),a=n(261);function o(e){return Object(r.arrayMap)(e,(function(e){return{start:e.getTopLeftCorner(),end:e.getBottomRightCorner()}}))}function s(e){return Object(i.hasClass)(e,"htSeparator")}function l(e){return Object(i.hasClass)(e,"htSubmenu")}function u(e){return Object(i.hasClass)(e,"htDisabled")}function c(e){return Object(i.hasClass)(e,"htSelectionDisabled")}function d(e){var t=e.getSelected();return t?t[0]<0?null:t:null}function f(e,t){if(-1!==e.indexOf(t))return e;var n=e.replace("htTop","").replace("htMiddle","").replace("htBottom","").replace(" ","");return"".concat(n," ").concat(t)}function h(e,t){if(-1!==e.indexOf(t))return e;var n=e.replace("htLeft","").replace("htCenter","").replace("htRight","").replace("htJustify","").replace(" ","");return"".concat(n," ").concat(t)}function p(e,t){var n={};return Object(r.arrayEach)(e,(function(e){for(var r=e.from,i=e.to,a=r.row;a<=i.row;a++)for(var o=r.col;o<=i.col;o++)n[a]||(n[a]=[]),n[a][o]=t(a,o)})),n}function m(e,t,n,i,a){Object(r.arrayEach)(e,(function(e){var r=e.from,o=e.to;if(r.row===o.row&&r.col===o.col)g(r.row,r.col,t,n,i,a);else for(var s=r.row;s<=o.row;s++)for(var l=r.col;l<=o.col;l++)g(s,l,t,n,i,a)}))}function g(e,t,n,r,i,a){var o=i(e,t),s=r;o.className&&(s="vertical"===n?f(o.className,r):h(o.className,r)),a(e,t,"className",s)}function v(e,t){var n=!1;return Array.isArray(e)&&Object(r.arrayEach)(e,(function(e){return e.forAll((function(e,r){if(t(e,r))return n=!0,!1})),n})),n}function _(e){return''.concat(String.fromCharCode(10003),"").concat(e)}function y(e,t){return!e.hidden||!("function"==typeof e.hidden&&e.hidden.call(t))}function b(e,t){for(var n=e.slice(0);00?t[t.length-1].name!==e.name&&t.push(e):t.push(e)})),t}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.KEY,n=e.slice(0);return n=E(n=S(n=b(n,t),t))}},function(e,t,n){"use strict";n.r(t),n.d(t,"ONE_SECOND",(function(){return s})),n.d(t,"ONE_MINUTE",(function(){return l})),n.d(t,"ONE_HOUR",(function(){return u})),n.d(t,"ONE_DAY",(function(){return c})),n.d(t,"ONE_YEAR",(function(){return d})),n.d(t,"defaultLeveledFormatter",(function(){return f})),n.d(t,"fullLeveledFormatter",(function(){return h})),n.d(t,"primaryTimeUnits",(function(){return p})),n.d(t,"timeUnits",(function(){return m})),n.d(t,"pad",(function(){return g})),n.d(t,"getPrimaryTimeUnit",(function(){return v})),n.d(t,"isPrimaryTimeUnit",(function(){return _})),n.d(t,"getDefaultFormatPrecisionOfInterval",(function(){return y})),n.d(t,"format",(function(){return b})),n.d(t,"leveledFormat",(function(){return S})),n.d(t,"getUnitFromValue",(function(){return E})),n.d(t,"getUnitValue",(function(){return w})),n.d(t,"fullYearGetterName",(function(){return T})),n.d(t,"monthGetterName",(function(){return O})),n.d(t,"dateGetterName",(function(){return C})),n.d(t,"hoursGetterName",(function(){return x})),n.d(t,"minutesGetterName",(function(){return k})),n.d(t,"secondsGetterName",(function(){return M})),n.d(t,"millisecondsGetterName",(function(){return A})),n.d(t,"fullYearSetterName",(function(){return R})),n.d(t,"monthSetterName",(function(){return I})),n.d(t,"dateSetterName",(function(){return D})),n.d(t,"hoursSetterName",(function(){return N})),n.d(t,"minutesSetterName",(function(){return L})),n.d(t,"secondsSetterName",(function(){return P})),n.d(t,"millisecondsSetterName",(function(){return j}));var r=n(0),i=n(5),a=n(217),o=n(63),s=1e3,l=60*s,u=60*l,c=24*u,d=365*c,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},h={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+f.hour,minute:"{yyyy}-{MM}-{dd} "+f.minute,second:"{yyyy}-{MM}-{dd} "+f.second,millisecond:f.none},p=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function g(e,t){return"0000".substr(0,t-(e+="").length)+e}function v(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function _(e){return e===v(e)}function y(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function b(e,t,n,r){var s=i.parseDate(e),l=s[T(n)](),u=s[O(n)]()+1,c=Math.floor((u-1)/3)+1,d=s[C(n)](),f=s["get"+(n?"UTC":"")+"Day"](),h=s[x(n)](),p=(h-1)%12+1,m=s[k(n)](),v=s[M(n)](),_=s[A(n)](),y=h>=12?"pm":"am",b=y.toUpperCase(),S=(r instanceof o.default?r:Object(a.getLocaleModel)(r||a.SYSTEM_LANG)||Object(a.getDefaultLocaleModel)()).getModel("time"),E=S.get("month"),w=S.get("monthAbbr"),R=S.get("dayOfWeek"),I=S.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,y+"").replace(/{A}/g,b+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,g(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,E[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,g(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,g(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,R[f]).replace(/{ee}/g,I[f]).replace(/{e}/g,f+"").replace(/{HH}/g,g(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,g(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,g(m,2)).replace(/{m}/g,m+"").replace(/{ss}/g,g(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,g(_,3)).replace(/{S}/g,_+"")}function S(e,t,n,i,a){var o=null;if(r.isString(n))o=n;else if(r.isFunction(n))o=n(e.value,t,{level:e.level});else{var s=r.extend({},f);if(e.level>0)for(var l=0;l=0;--l)if(u[c]){o=u[c];break}o=o||s.none}if(r.isArray(o)){var d=null==e.level?0:e.level>=0?e.level:o.length+e.level;o=o[d=Math.min(d,o.length-1)]}}return b(new Date(e.value),o,a,i)}function E(e,t){var n=i.parseDate(e),r=n[O(t)]()+1,a=n[C(t)](),o=n[x(t)](),s=n[k(t)](),l=n[M(t)](),u=0===n[A(t)](),c=u&&0===l,d=c&&0===s,f=d&&0===o,h=f&&1===a;return h&&1===r?"year":h?"month":f?"day":d?"hour":c?"minute":u?"second":"millisecond"}function w(e,t,n){var a=r.isNumber(e)?i.parseDate(e):e;switch(t=t||E(e,n)){case"year":return a[T(n)]();case"half-year":return a[O(n)]()>=6?1:0;case"quarter":return Math.floor((a[O(n)]()+1)/4);case"month":return a[O(n)]();case"day":return a[C(n)]();case"half-day":return a[x(n)]()/24;case"hour":return a[x(n)]();case"minute":return a[k(n)]();case"second":return a[M(n)]();case"millisecond":return a[A(n)]()}}function T(e){return e?"getUTCFullYear":"getFullYear"}function O(e){return e?"getUTCMonth":"getMonth"}function C(e){return e?"getUTCDate":"getDate"}function x(e){return e?"getUTCHours":"getHours"}function k(e){return e?"getUTCMinutes":"getMinutes"}function M(e){return e?"getUTCSeconds":"getSeconds"}function A(e){return e?"getUTCMilliseconds":"getMilliseconds"}function R(e){return e?"setUTCFullYear":"setFullYear"}function I(e){return e?"setUTCMonth":"setMonth"}function D(e){return e?"setUTCDate":"setDate"}function N(e){return e?"setUTCHours":"setHours"}function L(e){return e?"setUTCMinutes":"setMinutes"}function P(e){return e?"setUTCSeconds":"setSeconds"}function j(e){return e?"setUTCMilliseconds":"setMilliseconds"}},function(e,t,n){"use strict";n.r(t),n.d(t,"use",(function(){return h}));var r=n(125),i=n(68),a=n(57),o=n(45),s=n(58),l=n(0),u=n(475),c=n(253),d=[],f={registerPreprocessor:r.registerPreprocessor,registerProcessor:r.registerProcessor,registerPostInit:r.registerPostInit,registerPostUpdate:r.registerPostUpdate,registerUpdateLifecycle:r.registerUpdateLifecycle,registerAction:r.registerAction,registerCoordinateSystem:r.registerCoordinateSystem,registerLayout:r.registerLayout,registerVisual:r.registerVisual,registerTransform:r.registerTransform,registerLoading:r.registerLoading,registerMap:r.registerMap,registerImpl:u.registerImpl,PRIORITY:r.PRIORITY,ComponentModel:o.default,ComponentView:i.default,SeriesModel:s.default,ChartView:a.default,registerComponentModel:function(e){o.default.registerClass(e)},registerComponentView:function(e){i.default.registerClass(e)},registerSeriesModel:function(e){s.default.registerClass(e)},registerChartView:function(e){a.default.registerClass(e)},registerSubTypeDefaulter:function(e,t){o.default.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Object(c.registerPainter)(e,t)}};function h(e){Object(l.isArray)(e)?Object(l.each)(e,(function(e){h(e)})):Object(l.indexOf)(d,e)>=0||(d.push(e),Object(l.isFunction)(e)&&(e={install:e}),e.install(f))}},function(e,t,n){"use strict";n.r(t),n.d(t,"getListenersCounter",(function(){return f}));n(123);var r=n(1),i=n(3),a=n(105),o=n(28);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;s(this,e),this.context=t||this,this.context.eventListeners||(this.context.eventListeners=[])}var t,n,r;return t=e,(n=[{key:"addEventListener",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.context;function s(e){n.call(this,d(o,e))}return"boolean"==typeof i||Object(a.isPassiveEventSupported)()||(i=!1),this.context.eventListeners.push({element:e,event:t,callback:n,callbackProxy:s,options:i,eventManager:this}),e.addEventListener(t,s,i),u+=1,function(){r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.context.eventListeners.length;a;)if(a-=1,(r=this.context.eventListeners[a]).event===t&&r.element===e){if(n&&n!==r.callback)continue;if(i&&r.eventManager!==this)continue;this.context.eventListeners.splice(a,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),u-=1}}},{key:"clearEvents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.context)for(var t=this.context.eventListeners.length;t;){t-=1;var n=this.context.eventListeners[t];n&&this.removeEventListener(n.element,n.event,n.callback,e)}}},{key:"clear",value:function(){this.clearEvents()}},{key:"destroy",value:function(){this.clearEvents(),this.context=null}},{key:"destroyWithOwnEventsOnly",value:function(){this.clearEvents(!0),this.context=null}},{key:"fireEvent",value:function(e,t){var n=e.document,r=e;n||(r=(n=e.ownerDocument?e.ownerDocument:e).defaultView);var i,a={bubbles:!0,cancelable:"mousemove"!==t,view:r,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};n.createEvent?(i=n.createEvent("MouseEvents")).initMouseEvent(t,a.bubbles,a.cancelable,a.view,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,a.relatedTarget||n.body.parentNode):i=n.createEventObject(),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on".concat(t),i)}}])&&l(t.prototype,n),r&&l(t,r),e}();function d(e,t){var n,s,l,u,d;t.isTargetWebComponent=!1,t.realTarget=t.target;var f=t.stopImmediatePropagation;if(t.stopImmediatePropagation=function(){f.apply(this),Object(o.stopImmediatePropagation)(this)},!c.isHotTableEnv)return t;for(d=(t=Object(r.polymerWrap)(t)).path?t.path.length:0;d;){if(d-=1,"HOT-TABLE"===t.path[d].nodeName)n=!0;else if(n&&t.path[d].shadowRoot){u=t.path[d];break}0!==d||u||(u=t.path[d])}return u||(u=t.target),t.isTargetWebComponent=!0,Object(a.isWebComponentSupportedNatively)()?t.realTarget=t.srcElement||t.toElement:(Object(i.hasOwnProperty)(e,"hot")||e.isHotTableEnv||e.wtTable)&&(Object(i.hasOwnProperty)(e,"hot")?s=e.hot?e.hot.view.wt.wtTable.TABLE:null:e.isHotTableEnv?s=e.view.activeWt.wtTable.TABLE.parentNode.parentNode:e.wtTable&&(s=e.wtTable.TABLE.parentNode.parentNode),l=Object(r.closest)(t.target,["HOT-TABLE"],s),t.realTarget=l&&s.querySelector("HOT-TABLE")||t.target),Object.defineProperty(t,"target",{get:function(){return Object(r.polymerWrap)(u)},enumerable:!0,configurable:!0}),t}function f(){return u}t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"ITEMS",(function(){return y})),n.d(t,"predefinedItems",(function(){return S})),n.d(t,"addItem",(function(){return E}));n(56);var r,i=n(3),a=n(402),o=n(403),s=n(404),l=n(405),u=n(406),c=n(407),d=n(408),f=n(409),h=n(410),p=n(411),m=n(261),g=n(412),v=n(413);function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ALIGNMENT",(function(){return a.KEY})),n.d(t,"CLEAR_COLUMN",(function(){return o.KEY})),n.d(t,"COLUMN_LEFT",(function(){return s.KEY})),n.d(t,"COLUMN_RIGHT",(function(){return l.KEY})),n.d(t,"READ_ONLY",(function(){return u.KEY})),n.d(t,"REDO",(function(){return c.KEY})),n.d(t,"REMOVE_COLUMN",(function(){return d.KEY})),n.d(t,"REMOVE_ROW",(function(){return f.KEY})),n.d(t,"ROW_ABOVE",(function(){return h.KEY})),n.d(t,"ROW_BELOW",(function(){return p.KEY})),n.d(t,"SEPARATOR",(function(){return m.KEY})),n.d(t,"NO_ITEMS",(function(){return g.KEY})),n.d(t,"UNDO",(function(){return v.KEY}));var y=[h.KEY,p.KEY,s.KEY,l.KEY,o.KEY,f.KEY,d.KEY,v.KEY,c.KEY,u.KEY,a.KEY,m.KEY,g.KEY],b=(_(r={},m.KEY,m.default),_(r,g.KEY,g.default),_(r,h.KEY,h.default),_(r,p.KEY,p.default),_(r,s.KEY,s.default),_(r,l.KEY,l.default),_(r,o.KEY,o.default),_(r,f.KEY,f.default),_(r,d.KEY,d.default),_(r,v.KEY,v.default),_(r,c.KEY,c.default),_(r,u.KEY,u.default),_(r,a.KEY,a.default),r);function S(){var e={};return Object(i.objectEach)(b,(function(t,n){e[n]=t()})),e}function E(e,t){-1===y.indexOf(e)&&(b[e]=t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"conditions",(function(){return r})),n.d(t,"getCondition",(function(){return i})),n.d(t,"getConditionDescriptor",(function(){return a})),n.d(t,"registerCondition",(function(){return o}));n(75);var r={};function i(e,t){if(!r[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));var n=r[e],i=n.condition,a=n.descriptor,o=t;return a.inputValuesDecorator&&(o=a.inputValuesDecorator(o)),function(e){return i.apply(e.meta.instance,[].concat([e],[o]))}}function a(e){if(!r[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));return r[e].descriptor}function o(e,t,n){n.key=e,r[e]={condition:t,descriptor:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"cubicAt",(function(){return f})),n.d(t,"cubicDerivativeAt",(function(){return h})),n.d(t,"cubicRootAt",(function(){return p})),n.d(t,"cubicExtrema",(function(){return m})),n.d(t,"cubicSubdivide",(function(){return g})),n.d(t,"cubicProjectPoint",(function(){return v})),n.d(t,"cubicLength",(function(){return _})),n.d(t,"quadraticAt",(function(){return y})),n.d(t,"quadraticDerivativeAt",(function(){return b})),n.d(t,"quadraticRootAt",(function(){return S})),n.d(t,"quadraticExtremum",(function(){return E})),n.d(t,"quadraticSubdivide",(function(){return w})),n.d(t,"quadraticProjectPoint",(function(){return T})),n.d(t,"quadraticLength",(function(){return O}));var r=n(21),i=Math.pow,a=Math.sqrt,o=a(3),s=Object(r.create)(),l=Object(r.create)(),u=Object(r.create)();function c(e){return e>-1e-8&&e<1e-8}function d(e){return e>1e-8||e<-1e-8}function f(e,t,n,r,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*r+3*a*n)}function h(e,t,n,r,i){var a=1-i;return 3*(((t-e)*a+2*(n-t)*i)*a+(r-n)*i*i)}function p(e,t,n,r,s,l){var u=r+3*(t-n)-e,d=3*(n-2*t+e),f=3*(t-e),h=e-s,p=d*d-3*u*f,m=d*f-9*u*h,g=f*f-3*d*h,v=0;if(c(p)&&c(m)){if(c(d))l[0]=0;else(k=-f/d)>=0&&k<=1&&(l[v++]=k)}else{var _=m*m-4*p*g;if(c(_)){var y=m/p,b=-y/2;(k=-d/u+y)>=0&&k<=1&&(l[v++]=k),b>=0&&b<=1&&(l[v++]=b)}else if(_>0){var S=a(_),E=p*d+1.5*u*(-m+S),w=p*d+1.5*u*(-m-S);(k=(-d-((E=E<0?-i(-E,1/3):i(E,1/3))+(w=w<0?-i(-w,1/3):i(w,1/3))))/(3*u))>=0&&k<=1&&(l[v++]=k)}else{var T=(2*p*d-3*u*m)/(2*a(p*p*p)),O=Math.acos(T)/3,C=a(p),x=Math.cos(O),k=(-d-2*C*x)/(3*u),M=(b=(-d+C*(x+o*Math.sin(O)))/(3*u),(-d+C*(x-o*Math.sin(O)))/(3*u));k>=0&&k<=1&&(l[v++]=k),b>=0&&b<=1&&(l[v++]=b),M>=0&&M<=1&&(l[v++]=M)}}return v}function m(e,t,n,r,i){var o=6*n-12*t+6*e,s=9*t+3*r-3*e-9*n,l=3*t-3*e,u=0;if(c(s)){if(d(o))(h=-l/o)>=0&&h<=1&&(i[u++]=h)}else{var f=o*o-4*s*l;if(c(f))i[0]=-o/(2*s);else if(f>0){var h,p=a(f),m=(-o-p)/(2*s);(h=(-o+p)/(2*s))>=0&&h<=1&&(i[u++]=h),m>=0&&m<=1&&(i[u++]=m)}}return u}function g(e,t,n,r,i,a){var o=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-o)*i+o,c=(l-s)*i+s,d=(c-u)*i+u;a[0]=e,a[1]=o,a[2]=u,a[3]=d,a[4]=d,a[5]=c,a[6]=l,a[7]=r}function v(e,t,n,i,o,c,d,h,p,m,g){var v,_,y,b,S,E=.005,w=1/0;s[0]=p,s[1]=m;for(var T=0;T<1;T+=.05)l[0]=f(e,n,o,d,T),l[1]=f(t,i,c,h,T),(b=Object(r.distSquare)(s,l))=0&&b=0&&h<=1&&(i[u++]=h)}else{var f=s*s-4*o*l;if(c(f))(h=-s/(2*o))>=0&&h<=1&&(i[u++]=h);else if(f>0){var h,p=a(f),m=(-s-p)/(2*o);(h=(-s+p)/(2*o))>=0&&h<=1&&(i[u++]=h),m>=0&&m<=1&&(i[u++]=m)}}return u}function E(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function w(e,t,n,r,i){var a=(t-e)*r+e,o=(n-t)*r+t,s=(o-a)*r+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function T(e,t,n,i,o,c,d,f,h){var p,m=.005,g=1/0;s[0]=d,s[1]=f;for(var v=0;v<1;v+=.05){l[0]=y(e,n,o,v),l[1]=y(t,i,c,v),(E=Object(r.distSquare)(s,l))=0&&E18);o&&(n.weChat=!0);t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i),t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"warning",(function(){return l})),n.d(t,"format",(function(){return u})),n.d(t,"isEmptyValue",(function(){return c})),n.d(t,"isEmptyObject",(function(){return d})),n.d(t,"asyncMap",(function(){return h})),n.d(t,"complementError",(function(){return p})),n.d(t,"deepMerge",(function(){return m}));var r=n(358),i=n.n(r),a=n(223),o=n.n(a),s=/%[sdj%]/g,l=function(){};function u(){for(var e=arguments.length,t=Array(e),n=0;n=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),l=t[r];r1?arguments[1]:void 0;return l?s(this,e,t)||0:a(this,e,t)}})},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(43),a=n(99),o=n(116),s=n(6),l=n(9),u=n(317),c=n(211),d=n(13),f=s.makeInner(),h=Object(c.default)(),p=function(){function e(){this.group=new i.default,this.uid=a.getUID("viewChart"),this.renderTask=Object(u.createTask)({plan:v,reset:_}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){Object(d.traverseElements)(this.group,e)},e.markUpdateMethod=function(e,t){f(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function m(e,t,n){e&&Object(l.isHighDownDispatcher)(e)&&("emphasis"===t?l.enterEmphasis:l.leaveEmphasis)(e,n)}function g(e,t,n){var i=s.queryDataIndex(e,t),a=t&&null!=t.highlightKey?Object(l.getHighlightDigit)(t.highlightKey):null;null!=i?Object(r.each)(s.normalizeToArray(i),(function(t){m(e.getItemGraphicEl(t),n,a)})):e.eachItemGraphicEl((function(e){m(e,n,a)}))}function v(e){return h(e.model)}function _(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&f(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](t,n,r,i),y[l]}o.enableClassExtend(p,["dispose"]),o.enableClassManagement(p);var y={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};t.default=p},function(e,t,n){"use strict";n.r(t),n.d(t,"SERIES_UNIVERSAL_TRANSITION_PROP",(function(){return v}));var r=n(4),i=n(0),a=n(53),o=n(6),s=n(45),l=n(263),u=n(264),c=n(34),d=n(317),f=n(116),h=n(418),p=n(565),m=o.makeInner();function g(e,t){return e.getName(t)||e.getId(t)}var v="__universalTransitionEnabled",_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}var n;return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(d.createTask)({count:b,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(m(this).sourceManager=new h.SourceManager(this)).prepareSource();var r=this.getInitialData(e,n);w(r,this),this.dataTask.context.data=r,m(this).dataBeforeProcessed=r,y(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(c.fetchLayoutMode)(this),r=n?Object(c.getLayoutParams)(e):{},a=this.subType;s.default.hasClass(a)&&(a+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),o.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Object(c.mergeLayoutParam)(e,r,n)},t.prototype.mergeOption=function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=Object(c.fetchLayoutMode)(this);n&&Object(c.mergeLayoutParam)(this.option,e,n);var r=m(this).sourceManager;r.dirty(),r.prepareSource();var a=this.getInitialData(e,t);w(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,m(this).dataBeforeProcessed=a,y(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=l.PaletteMixin.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a=0&&n.push(a)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[g(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,a=this.option,o=a.selectedMode,s=t.length;if(o&&s)if("series"===o)a.selectedMap="all";else if("multiple"===o){i.isObject(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s.default.registerClass(e)},t.protoInitialize=((n=t.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),t}(s.default);function y(e){var t=e.name;o.isNameSpecified(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function b(e){return e.model.getRawData().count()}function S(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),E}function E(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function w(e,t){i.each(i.concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,i.curry(T,t))}))}function T(e,t){var n=O(e);return n&&n.setOutputEnd((t||this).count()),t}function O(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.mixin(_,u.DataFormatMixin),i.mixin(_,l.PaletteMixin),Object(f.mountExtend)(_,s.default),t.default=_},function(e,t,n){"use strict";n.r(t);var r=n(381);n.d(t,"registerRootComparator",(function(){return r.registerRootComparator})),n.d(t,"getRootComparator",(function(){return r.getRootComparator})),n.d(t,"getCompareFunctionFactory",(function(){return r.getCompareFunctionFactory}));var i=n(458);n.d(t,"FIRST_AFTER_SECOND",(function(){return i.FIRST_AFTER_SECOND})),n.d(t,"FIRST_BEFORE_SECOND",(function(){return i.FIRST_BEFORE_SECOND})),n.d(t,"DO_NOT_SWAP",(function(){return i.DO_NOT_SWAP})),n.d(t,"sort",(function(){return i.sort}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getWidth",(function(){return s})),n.d(t,"innerGetBoundingRect",(function(){return l})),n.d(t,"getBoundingRect",(function(){return u})),n.d(t,"adjustTextX",(function(){return c})),n.d(t,"adjustTextY",(function(){return d})),n.d(t,"getLineHeight",(function(){return f})),n.d(t,"measureText",(function(){return h})),n.d(t,"parsePercent",(function(){return p})),n.d(t,"calculateTextPosition",(function(){return m}));var r=n(36),i=n(285),a=n(93),o={};function s(e,t){t=t||a.DEFAULT_FONT;var n=o[t];n||(n=o[t]=new i.default(500));var r=n.get(e);return null==r&&(r=a.platformApi.measureText(e,t).width,n.put(e,r)),r}function l(e,t,n,i){var a=s(e,t),o=f(t),l=c(0,a,n),u=d(0,o,i);return new r.default(l,u,a,o)}function u(e,t,n,i){var a=((e||"")+"").split("\n");if(1===a.length)return l(a[0],t,n,i);for(var o=new r.default(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function m(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=p(r[0],n.width),u+=p(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+o,u+=s,d="middle";break;case"top":l+=o/2,u-=i,c="center",d="bottom";break;case"bottom":l+=o/2,u+=a+i,c="center";break;case"inside":l+=o/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=o-i,u+=s,c="right",d="middle";break;case"insideTop":l+=o/2,u+=i,c="center";break;case"insideBottom":l+=o/2,u+=a-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=a-i,d="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,c="right",d="bottom"}return(e=e||{}).x=l,e.y=u,e.align=c,e.verticalAlign=d,e}},function(e,t,n){"use strict";n.r(t);n(56);var r=n(1),i=n(3),a=n(2),o=n(94),s=n(49),l=n(463);function u(e,t){for(var n=0;n=this.wot.getSetting("totalRows")-this.wot.getSetting("fixedRowsBottom"),l={left:this.clone.wtTable.spreader.offsetLeft,top:this.clone.wtTable.spreader.offsetTop},u={left:e.offsetLeft,top:e.offsetTop};return r?this.getRelativeCellPositionWithinWindow(a,i,u,l):this.getRelativeCellPositionWithinHolder(a,s,i,u,l)}Object(o.warn)("The provided element is not a child of the ".concat(this.type," overlay"))}},{key:"getRelativeCellPositionWithinWindow",value:function(e,t,n,r){var i=this.wot.wtTable.wtRootElement.getBoundingClientRect(),a=0,o=0;(a=t?i.left<=0?-1*i.left:0:r.left,e)?o=this.clone.wtTable.TABLE.getBoundingClientRect().top-i.top:o=r.top;return{left:n.left+a,top:n.top+o}}},{key:"getRelativeCellPositionWithinHolder",value:function(e,t,n,r,i){var a=this.clone.cloneSource.wtOverlays.leftOverlay.getScrollPosition(),o=this.clone.cloneSource.wtOverlays.topOverlay.getScrollPosition(),s=0,l=0;if(n||(s=a-i.left),t){var u=this.wot.wtTable.wtRootElement.getBoundingClientRect();l=-1*this.clone.wtTable.TABLE.getBoundingClientRect().top+u.top}else e||(l=o-i.top);return{left:r.left-s,top:r.top-l}}},{key:"makeClone",value:function(t){if(-1===e.CLONE_TYPES.indexOf(t))throw new Error('Clone type "'.concat(t,'" is not supported.'));var n=this.wot,i=n.wtTable,a=n.rootDocument,o=n.rootWindow,s=a.createElement("DIV"),u=a.createElement("TABLE");s.className="ht_clone_".concat(t," handsontable"),s.style.position="absolute",s.style.top=0,s.style.left=0,s.style.overflow="hidden",u.className=i.TABLE.className,s.appendChild(u),this.type=t,i.wtRootElement.parentNode.appendChild(s);var c=this.wot.getSetting("preventOverflow");return!0===c||"horizontal"===c&&this.type===e.CLONE_TOP||"vertical"===c&&this.type===e.CLONE_LEFT?this.mainTableScrollableElement=o:"hidden"===o.getComputedStyle(i.wtRootElement.parentNode).getPropertyValue("overflow")?this.mainTableScrollableElement=i.holder:this.mainTableScrollableElement=Object(r.getScrollableElement)(i.TABLE),new l.default({cloneSource:this.wot,cloneOverlay:this,table:u})}},{key:"refresh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.shouldBeRendered();this.clone&&(this.needFullRender||t)&&this.clone.draw(e),this.needFullRender=t}},{key:"reset",value:function(){if(this.clone){var e=this.clone.wtTable.holder,t=this.clone.wtTable.hider,n=e.style,r=t.style,i=e.parentNode.style;Object(a.arrayEach)([n,r,i],(function(e){e.width="",e.height=""}))}}},{key:"destroy",value:function(){new s.default(this.clone).destroy()}}]),e}();t.default=f},function(e,t,n){"use strict";var r=n(98),i=n(277).f,a=n(341),o=n(233),s=n(660),l=n(960),u=n(518);e.exports=function(e,t){var n,c,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):r[p]&&r[p].prototype)for(c in t){if(f=t[c],d=e.dontCallGetSet?(h=i(n,c))&&h.value:n[c],!u(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&a(f,"sham",!0),o(n,c,f,e)}}},function(e,t,n){"use strict";n.r(t);var r=n(53),i=n(116),a=n(1085),o=n(1086),s=n(556),l=n(557),u=n(0),c=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function g(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,u):c(a[0][2],n)}catch(e){c(a[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return T(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function x(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function k(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},function(e,t,n){"use strict";var r=n(62),i=n(138),a=n(129),o=n(147),s=n(1724),l=n(277),u=n(448);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,d=arguments.length<3?t:arguments[2];return o(t)===d?t[n]:(r=l.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,d):a(c=u(t))?e(c,n,d):void 0}})},function(e,t,n){"use strict";n.r(t);var r=n(43),i=n(99),a=n(116),o=function(){function e(){this.group=new r.default,this.uid=i.getUID("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();a.enableClassExtend(o),a.enableClassManagement(o),t.default=o},function(e,t,n){"use strict";n.r(t),n.d(t,"addCommas",(function(){return u})),n.d(t,"toCamelCase",(function(){return c})),n.d(t,"normalizeCssArray",(function(){return d})),n.d(t,"makeValueReadable",(function(){return f})),n.d(t,"formatTpl",(function(){return m})),n.d(t,"formatTplSimple",(function(){return g})),n.d(t,"getTooltipMarker",(function(){return v})),n.d(t,"formatTime",(function(){return _})),n.d(t,"capitalFirst",(function(){return y})),n.d(t,"convertToColorString",(function(){return b})),n.d(t,"windowOpen",(function(){return S}));var r=n(0),i=n(127);n.d(t,"encodeHTML",(function(){return i.encodeHTML}));var a=n(5),o=n(47),s=n(382);n.d(t,"truncateText",(function(){return s.truncateText}));var l=n(629);function u(e){if(!Object(a.isNumeric)(e))return r.isString(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function c(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}n.d(t,"getTextRect",(function(){return l.getTextRect}));var d=r.normalizeCssArray;function f(e,t,n){function i(e){return e&&r.trim(e)?e:"-"}function s(e){return!(null==e||isNaN(e)||!isFinite(e))}var l="time"===t,c=e instanceof Date;if(l||c){var d=l?Object(a.parseDate)(e):e;if(!isNaN(+d))return Object(o.format)(d,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===t)return r.isStringSafe(e)?i(e):r.isNumber(e)&&s(e)?e+"":"-";var f=Object(a.numericToNumber)(e);return s(f)?u(f):r.isStringSafe(e)?i(e):"boolean"==typeof e?e+"":"-"}var h=["a","b","c","d","e","f","g"],p=function(e,t){return"{"+e+(null==t?"":t)+"}"};function m(e,t,n){r.isArray(t)||(t=[t]);var a=t.length;if(!a)return"";for(var o=t[0].$vars||[],s=0;s':'':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===o?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}:""}function _(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=Object(a.parseDate)(t),i=n?"getUTC":"get",s=r[i+"FullYear"](),l=r[i+"Month"]()+1,u=r[i+"Date"](),c=r[i+"Hours"](),d=r[i+"Minutes"](),f=r[i+"Seconds"](),h=r[i+"Milliseconds"]();return e=e.replace("MM",Object(o.pad)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",Object(o.pad)(s%100+"",2)).replace("dd",Object(o.pad)(u,2)).replace("d",u).replace("hh",Object(o.pad)(c,2)).replace("h",c).replace("mm",Object(o.pad)(d,2)).replace("m",d).replace("ss",Object(o.pad)(f,2)).replace("s",f).replace("SSS",Object(o.pad)(h,3))}function y(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function b(e,t){return t=t||"transparent",r.isString(e)?e:r.isObject(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function S(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_TEXT_ANIMATION_PROPS",(function(){return p})),n.d(t,"parseFontSize",(function(){return y})),n.d(t,"hasSeparateFont",(function(){return S})),n.d(t,"normalizeTextStyle",(function(){return E}));var r=n(66),i=n(382),a=n(286),o=n(0),s=n(60),l=n(102),u=n(74),c=n(36),d=n(90),f=n(93),h={fill:"#000"},p={style:Object(o.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},d.DEFAULT_COMMON_ANIMATION_PROPS.style)},m=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=h,n.attr(t),n}return Object(r.__extends)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,j=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),F=o.calculatedLineHeight,B=0;B=0&&"right"===(I=E[R]).align;)this._placeToken(I,e,T,v,A,"right",y),O-=I.width,A-=I.width,R--;for(M+=(r-(M-g)-(_-A)-O)/2;C<=R;)I=E[C],this._placeToken(I,e,T,v,M+I.width/2,"center",y),M+=I.width,C++;v+=T}},t.prototype._placeToken=function(e,t,n,r,i,l,u){var d=t.rich[e.styleName]||{};d.text=e.text;var h=e.verticalAlign,p=r+n/2;"top"===h?p=r+e.height/2:"bottom"===h&&(p=r+n-e.height/2),!e.isLineHolder&&k(d)&&this._renderBackground(d,t,"right"===l?i-e.width:"center"===l?i-e.width/2:i,p-e.height/2,e.width,e.height);var m=!!d.backgroundColor,g=e.textPadding;g&&(i=C(i,l,g),p-=e.height/2-g[0]-e.innerHeight/2);var v=this._getOrCreateChild(a.default),_=v.createStyle();v.useStyle(_);var y=this._defaultStyle,S=!1,E=0,w=O("fill"in d?d.fill:"fill"in t?t.fill:(S=!0,y.fill)),x=T("stroke"in d?d.stroke:"stroke"in t?t.stroke:m||u||y.autoStroke&&!S?null:(E=2,y.stroke)),M=d.textShadowBlur>0||t.textShadowBlur>0;_.text=e.text,_.x=i,_.y=p,M&&(_.shadowBlur=d.textShadowBlur||t.textShadowBlur||0,_.shadowColor=d.textShadowColor||t.textShadowColor||"transparent",_.shadowOffsetX=d.textShadowOffsetX||t.textShadowOffsetX||0,_.shadowOffsetY=d.textShadowOffsetY||t.textShadowOffsetY||0),_.textAlign=l,_.textBaseline="middle",_.font=e.font||f.DEFAULT_FONT,_.opacity=Object(o.retrieve3)(d.opacity,t.opacity,1),b(_,d),x&&(_.lineWidth=Object(o.retrieve3)(d.lineWidth,t.lineWidth,E),_.lineDash=Object(o.retrieve2)(d.lineDash,t.lineDash),_.lineDashOffset=t.lineDashOffset||0,_.stroke=x),w&&(_.fill=w);var A=e.contentWidth,R=e.contentHeight;v.setBoundingRect(new c.default(Object(s.adjustTextX)(_.x,A,_.textAlign),Object(s.adjustTextY)(_.y,R,_.textBaseline),A,R))},t.prototype._renderBackground=function(e,t,n,r,i,a){var s,c,d,f=e.backgroundColor,h=e.borderWidth,p=e.borderColor,m=f&&f.image,g=f&&!m,v=e.borderRadius,_=this;if(g||e.lineHeight||h&&p){(s=this._getOrCreateChild(u.default)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=r,y.width=i,y.height=a,y.r=v,s.dirtyShape()}if(g)(d=s.style).fill=f||null,d.fillOpacity=Object(o.retrieve2)(e.fillOpacity,1);else if(m){(c=this._getOrCreateChild(l.default)).onload=function(){_.dirtyStyle()};var b=c.style;b.image=f.image,b.x=n,b.y=r,b.width=i,b.height=a}h&&p&&((d=s.style).lineWidth=h,d.stroke=p,d.strokeOpacity=Object(o.retrieve2)(e.strokeOpacity,1),d.lineDash=e.borderDash,d.lineDashOffset=e.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(d.strokeFirst=!0,d.lineWidth*=2));var S=(s||c).style;S.shadowBlur=e.shadowBlur||0,S.shadowColor=e.shadowColor||"transparent",S.shadowOffsetX=e.shadowOffsetX||0,S.shadowOffsetY=e.shadowOffsetY||0,S.opacity=Object(o.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return S(e)&&(t=[e.fontStyle,e.fontWeight,y(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(o.trim)(t)||e.textFont||e.font},t}(d.default),g={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function y(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?f.DEFAULT_FONT_SIZE+"px":e+"px":e}function b(e,t){for(var n=0;n<_.length;n++){var r=_[n],i=t[r];null!=i&&(e[r]=i)}}function S(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function E(e){return w(e),Object(o.each)(e.rich,w),e}function w(e){if(e){e.font=m.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||g[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||v[n]?n:"top",e.padding&&(e.padding=Object(o.normalizeCssArray)(e.padding))}}function T(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function O(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function C(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function x(e){var t=e.text;return null!=t&&(t+=""),t}function k(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}t.default=m},function(e,t,n){"use strict";n.r(t);var r=n(609),i=n(1420),a=n(1421),o=n(1422),s=n(1423),l=n(1424);t.default={required:r.default,whitespace:i.default,type:a.default,range:o.default,enum:s.default,pattern:l.default}},function(e,t,n){"use strict";n.r(t),n.d(t,"parse",(function(){return v})),n.d(t,"lift",(function(){return y})),n.d(t,"toHex",(function(){return b})),n.d(t,"fastLerp",(function(){return S})),n.d(t,"fastMapToColor",(function(){return E})),n.d(t,"lerp",(function(){return w})),n.d(t,"mapToColor",(function(){return T})),n.d(t,"modifyHSL",(function(){return O})),n.d(t,"modifyAlpha",(function(){return C})),n.d(t,"stringify",(function(){return x})),n.d(t,"lum",(function(){return k})),n.d(t,"random",(function(){return M})),n.d(t,"liftColor",(function(){return R}));var r=n(285),i=n(0),a={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return(e=Math.round(e))<0?0:e>255?255:e}function s(e){return e<0?0:e>1?1:e}function l(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function u(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function f(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new r.default(20),m=null;function g(e,t){m&&h(m,t),m=p.put(e,m||t.slice())}function v(e,t){if(e){t=t||[];var n=p.get(e);if(n)return h(t,n);var r=(e+="").replace(/ /g,"").toLowerCase();if(r in a)return h(t,a[r]),g(e,t),t;var i,o=r.length;if("#"===r.charAt(0))return 4===o||5===o?(i=parseInt(r.slice(1,4),16))>=0&&i<=4095?(f(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===o?parseInt(r.slice(4),16)/15:1),g(e,t),t):void f(t,0,0,0,1):7===o||9===o?(i=parseInt(r.slice(1,7),16))>=0&&i<=16777215?(f(t,(16711680&i)>>16,(65280&i)>>8,255&i,9===o?parseInt(r.slice(7),16)/255:1),g(e,t),t):void f(t,0,0,0,1):void 0;var s=r.indexOf("("),c=r.indexOf(")");if(-1!==s&&c+1===o){var d=r.substr(0,s),m=r.substr(s+1,c-(s+1)).split(","),v=1;switch(d){case"rgba":if(4!==m.length)return 3===m.length?f(t,+m[0],+m[1],+m[2],1):f(t,0,0,0,1);v=u(m.pop());case"rgb":return m.length>=3?(f(t,l(m[0]),l(m[1]),l(m[2]),3===m.length?v:u(m[3])),g(e,t),t):void f(t,0,0,0,1);case"hsla":return 4!==m.length?void f(t,0,0,0,1):(m[3]=u(m[3]),_(m,t),g(e,t),t);case"hsl":return 3!==m.length?void f(t,0,0,0,1):(_(m,t),g(e,t),t);default:return}}f(t,0,0,0,1)}}function _(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=u(e[1]),i=u(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return f(t=t||[],o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e,t){var n=v(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return x(n,4===n.length?"rgba":"rgb")}}function b(e){var t=v(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function S(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=t[i],u=t[a],c=r-i;return n[0]=o(d(l[0],u[0],c)),n[1]=o(d(l[1],u[1],c)),n[2]=o(d(l[2],u[2],c)),n[3]=s(d(l[3],u[3],c)),n}}var E=S;function w(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=v(t[i]),u=v(t[a]),c=r-i,f=x([o(d(l[0],u[0],c)),o(d(l[1],u[1],c)),o(d(l[2],u[2],c)),s(d(l[3],u[3],c))],"rgba");return n?{color:f,leftIndex:i,rightIndex:a,value:r}:f}}var T=w;function O(e,t,n,r){var i,a=v(e);if(e)return a=function(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,f=((s-a)/6+l/2)/l;r===s?t=f-d:i===s?t=1/3+c-f:a===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var h=[360*t,n,u];return null!=e[3]&&h.push(e[3]),h}}(a),null!=t&&(a[0]=(i=t,(i=Math.round(i))<0?0:i>360?360:i)),null!=n&&(a[1]=u(n)),null!=r&&(a[2]=u(r)),x(_(a),"rgba")}function C(e,t){var n=v(e);if(n&&null!=t)return n[3]=s(t),x(n,"rgba")}function x(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function k(e,t){var n=v(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function M(){return x([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var A=new r.default(100);function R(e){if(Object(i.isString)(e)){var t=A.get(e);return t||(t=y(e,-.1),A.put(e,t)),t}if(Object(i.isGradientObject)(e)){var n=Object(i.extend)({},e);return n.colorStops=Object(i.map)(e.colorStops,(function(e){return{offset:e.offset,color:y(e.color,-.1)}})),n}return e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t),n.d(t,"RectShape",(function(){return s}));var r=n(66),i=n(38),a=n(1089),o=n(316),s=function(){this.x=0,this.y=0,this.width=0,this.height=0},l={},u=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,i,s;if(this.subPixelOptimize){var u=Object(o.subPixelOptimizeRect)(l,t,this.style);n=u.x,r=u.y,i=u.width,s=u.height,u.r=t.r,t=u}else n=t.x,r=t.y,i=t.width,s=t.height;t.r?a.buildPath(e,t):e.rect(n,r,i,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(i.default);u.prototype.type="rect",t.default=u},function(e,t,n){"use strict";var r=n(62),i=n(76),a=n(370),o=n(129),s=n(177),l=n(234),u=n(982),c=n(453),d=n(675),f=n(454),h=n(120),p=n(442),m=h("isConcatSpreadable"),g=p>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=function(e){if(!o(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!f("concat")},{concat:function(e){var t,n,r,i,a,o=s(this),f=d(o,0),h=0;for(t=-1,r=arguments.length;t-1){var n=Object(i.parse)(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}function l(e){return e<1e-4&&e>-1e-4}function u(e){return o(1e3*e)/1e3}function c(e){return o(1e4*e)/1e4}function d(e){return o(10*e)/10}function f(e){return"matrix("+u(e[0])+","+u(e[1])+","+u(e[2])+","+u(e[3])+","+c(e[4])+","+c(e[5])+")"}var h={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function m(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function g(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function v(e){var t=[];if(e)for(var n=0;n1||r>0&&!t.noHeader;return Object(a.each)(t.blocks,(function(t){var r=e(t);r>=n&&(n=r+ +(i&&(!r||f(t)&&!t.noHeader)))})),n}return 0}(t),{html:u[d],richText:c[d]}),g=[],y=t.blocks||[];Object(a.assert)(!y||Object(a.isArray)(y)),y=y||[];var b=e.orderMode;if(t.sortBlocks&&b){y=y.slice();var S={valueAsc:"asc",valueDesc:"desc"};if(Object(a.hasOwn)(S,b)){var E=new o.SortOrderComparator(S[b],null);y.sort((function(e,t){return E.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===b&&y.reverse()}Object(a.each)(y,(function(n,r){var i=t.valueFormatter,o=h(n)(i?Object(a.extend)(Object(a.extend)({},e),{valueFormatter:i}):e,n,r>0?m.html:0,s);null!=o&&g.push(o)}));var w="richText"===e.renderMode?g.join(m.richText):v(g.join(""),p?n:m.html);if(p)return w;var T=Object(i.makeValueReadable)(t.header,"ordinal",e.useUTC),O=l(s,e.renderMode).nameStyle;return"richText"===e.renderMode?_(e,T,O)+m.richText+w:v('
'+Object(r.encodeHTML)(T)+"
"+w,n)}function m(e,t,n,o){var s=e.renderMode,u=t.noName,c=t.noValue,d=!t.markerType,f=t.name,h=e.useUTC,p=t.valueFormatter||e.valueFormatter||function(e){return e=Object(a.isArray)(e)?e:[e],Object(a.map)(e,(function(e,t){return Object(i.makeValueReadable)(e,Object(a.isArray)(y)?y[t]:y,h)}))};if(!u||!c){var m=d?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",s),g=u?"":Object(i.makeValueReadable)(f,"ordinal",h),y=t.valueType,b=c?[]:p(t.value,t.dataIndex),S=!d||!u,E=!d&&u,w=l(o,s),T=w.nameStyle,O=w.valueStyle;return"richText"===s?(d?"":m)+(u?"":_(e,g,T))+(c?"":function(e,t,n,r,i){var o=[i],s=r?10:20;return n&&o.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(a.isArray)(t)?t.join(" "):t,o)}(e,b,S,E,O)):v((d?"":m)+(u?"":function(e,t,n){return''+Object(r.encodeHTML)(e)+""}(g,!d,T))+(c?"":function(e,t,n,i){var o=n?"10px":"20px",s=t?"float:right;margin-left:"+o:"";return e=Object(a.isArray)(e)?e:[e],''+Object(a.map)(e,(function(e){return Object(r.encodeHTML)(e)})).join("  ")+""}(b,S,E,O)),n)}}function g(e,t,n,r,i,a){if(e)return h(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,a)}function v(e,t){return'
'+e+'
'}function _(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function y(e,t){var n=e.getData().getItemVisual(t,"style")[e.visualDrawType];return Object(i.convertToColorString)(n)}function b(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var S=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Object(s.getRandomIdBase)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,o=Object(i.getTooltipMarker)({color:t,type:e,renderMode:n,markerId:r});return Object(a.isString)(o)?o:(this.richTextStyles[r]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(a.isArray)(t)?Object(a.each)(t,(function(e){return Object(a.extend)(n,e)})):Object(a.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"getScaleExtent",(function(){return h})),n.d(t,"niceScaleExtent",(function(){return p})),n.d(t,"createScaleByModel",(function(){return m})),n.d(t,"ifAxisCrossZero",(function(){return g})),n.d(t,"makeLabelFormatter",(function(){return v})),n.d(t,"getAxisRawValue",(function(){return _})),n.d(t,"estimateLabelUnionRect",(function(){return y})),n.d(t,"getOptionCategoryInterval",(function(){return b})),n.d(t,"shouldShowAllLabels",(function(){return S})),n.d(t,"getDataDimensionsOnAxis",(function(){return E})),n.d(t,"unionAxisExtentFromData",(function(){return w}));var r=n(0),i=n(477),a=n(180),o=n(181),s=n(221),l=n(36),u=n(567),c=n(1103),d=n(136),f=n(566);function h(e,t){var n=e.type,i=Object(f.ensureScaleRawExtentInfo)(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var a=i.min,o=i.max,l=t.ecModel;if(l&&"time"===n){var u=Object(s.prepareLayoutBarSeries)("bar",l),c=!1;if(r.each(u,(function(e){c=c||e.getBaseAxis()===t.axis})),c){var d=Object(s.makeColumnLayout)(u),h=function(e,t,n,i){var a=n.axis.getExtent(),o=a[1]-a[0],l=Object(s.retrieveColumnLayout)(i,n.axis);if(void 0===l)return{min:e,max:t};var u=1/0;r.each(l,(function(e){u=Math.min(e.offset,u)}));var c=-1/0;r.each(l,(function(e){c=Math.max(e.offset+e.width,c)})),u=Math.abs(u),c=Math.abs(c);var d=u+c,f=t-e,h=f/(1-(u+c)/o)-f;return{min:e-=h*(u/d),max:t+=h*(c/d)}}(a,o,t,d);a=h.min,o=h.max}}return{extent:[a,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function p(e,t){var n=t,r=h(e,n),i=r.extent,a=n.get("splitNumber");e instanceof c.default&&(e.base=n.get("logBase"));var o=e.type,s=n.get("interval"),l="interval"===o||"time"===o;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function m(e,t){if(t=t||e.get("type"))switch(t){case"category":return new i.default({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new u.default({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(o.default.getClass(t)||a.default)}}function g(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function v(e){var t,n,i=e.getLabelModel().get("formatter"),a="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(n=i,function(t,r){return e.scale.getFormattedLabel(t,r,n)}):r.isString(i)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(i):r.isFunction(i)?(t=i,function(n,r){return null!=a&&(r=n.value-a),t(_(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function _(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function y(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,a,o=n.getExtent();a=n instanceof i.default?n.count():(r=n.getTicks()).length;var s,u,c,d,f,h,p,m,g=e.getLabelModel(),_=v(e),y=1;a>40&&(y=Math.ceil(a/40));for(var b=0;be[1]&&(e[1]=r[1])}))}},function(e,t,n){var r=n(97);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";n.r(t),n.d(t,"registerRenderer",(function(){return f})),n.d(t,"getRenderer",(function(){return v})),n.d(t,"hasRenderer",(function(){return p})),n.d(t,"getRegisteredRendererNames",(function(){return m})),n.d(t,"getRegisteredRenderers",(function(){return g}));var r=n(163),i=n(1329),a=n(1330),o=n(1331),s=n(1332),l=n(1333),u=n(1334),c=n(1335),d=Object(r.default)("renderers"),f=d.register,h=d.getItem,p=d.hasItem,m=d.getNames,g=d.getValues;function v(e){if("function"==typeof e)return e;if(!p(e))throw Error('No registered renderer found under "'.concat(e,'" name'));return h(e)}f("base",i.default),f("autocomplete",a.default),f("checkbox",o.default),f("html",s.default),f("numeric",l.default),f("password",u.default),f("text",c.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"clientToLocal",(function(){return u})),n.d(t,"getNativeEvent",(function(){return d})),n.d(t,"normalizeEvent",(function(){return f})),n.d(t,"addEventListener",(function(){return h})),n.d(t,"removeEventListener",(function(){return p})),n.d(t,"stop",(function(){return m})),n.d(t,"isMiddleOrRightButtonOnMouseUpDown",(function(){return g}));var r=n(131);n.d(t,"Dispatcher",(function(){return r.default}));var i=n(53),a=n(127),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[],l=i.default.browser.firefox&&+i.default.browser.version.split(".")[0]<39;function u(e,t,n,r){return n=n||{},r?c(e,t,n):l&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):c(e,t,n),n}function c(e,t,n){if(i.default.domSupported&&e.getBoundingClientRect){var r=t.clientX,o=t.clientY;if(Object(a.isCanvasEl)(e)){var l=e.getBoundingClientRect();return n.zrX=r-l.left,void(n.zrY=o-l.top)}if(Object(a.transformCoordWithViewport)(s,e,r,o))return n.zrX=s[0],void(n.zrY=s[1])}n.zrX=n.zrY=0}function d(e){return e||window.event}function f(e,t,n){if(null!=(t=d(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];i&&u(e,i,t,n)}else{u(e,t,t,n);var a=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;return 3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&o.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function h(e,t,n,r){e.addEventListener(t,n,r)}function p(e,t,n,r){e.removeEventListener(t,n,r)}var m=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function g(e){return 2===e.which||3===e.which}},function(e,t,n){"use strict";n.r(t),n.d(t,"SVGNS",(function(){return a})),n.d(t,"XLINKNS",(function(){return o})),n.d(t,"XMLNS",(function(){return s})),n.d(t,"XML_NAMESPACE",(function(){return l})),n.d(t,"META_DATA_PREFIX",(function(){return u})),n.d(t,"createElement",(function(){return c})),n.d(t,"createVNode",(function(){return d})),n.d(t,"vNodeToString",(function(){return f})),n.d(t,"getCssString",(function(){return h})),n.d(t,"createBrushScope",(function(){return p})),n.d(t,"createSVGVNode",(function(){return m}));var r=n(0),i=n(127),a="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xlink",s="http://www.w3.org/2000/xmlns/",l="http://www.w3.org/XML/1998/namespace",u="ecmeta_";function c(e){return document.createElementNS(a,e)}function d(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function f(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var a=t.children,o=t.tag,s=t.attrs,l=t.text;return function(e,t){var n=[];if(t)for(var r in t){var i=t[r],a=r;!1!==i&&(!0!==i&&null!=i&&(a+='="'+i+'"'),n.push(a))}return"<"+e+" "+n.join(" ")+">"}(o,s)+("style"!==o?Object(i.encodeHTML)(l):l||"")+(a?""+n+Object(r.map)(a,(function(t){return e(t)})).join(n)+n:"")+function(e){return""}(o)}(e)}function h(e,t,n){var i=(n=n||{}).newline?"\n":"",a=" {"+i,o=i+"}",s=Object(r.map)(Object(r.keys)(e),(function(t){return t+a+Object(r.map)(Object(r.keys)(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(i)+o})).join(i),l=Object(r.map)(Object(r.keys)(t),(function(e){return"@keyframes "+e+a+Object(r.map)(Object(r.keys)(t[e]),(function(n){return n+a+Object(r.map)(Object(r.keys)(t[e][n]),(function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(i)+o})).join(i)+o})).join(i);return s||l?[""].join(i):""}function p(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function m(e,t,n,r){return d("svg","root",{width:e,height:t,xmlns:a,"xmlns:xlink":o,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";n.r(t),n.d(t,"isFunction",(function(){return i})),n.d(t,"throttle",(function(){return a})),n.d(t,"throttleAfterHits",(function(){return o})),n.d(t,"debounce",(function(){return s})),n.d(t,"pipe",(function(){return l})),n.d(t,"partial",(function(){return u})),n.d(t,"curry",(function(){return c})),n.d(t,"curryRight",(function(){return d}));n(75),n(528),n(108),n(130);var r=n(2);function i(e){return"function"==typeof e}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=0,r={lastCallThrottled:!0},i=null;function a(){for(var a=this,o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=a(e,t),i=n;function o(){i=n}function s(){for(var t=arguments.length,n=new Array(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:200,r=null;function i(){for(var i=this,a=arguments.length,o=new Array(a),s=0;s1?t-1:0),r=1;r=t?e.apply(this,s):n(s)}}([])}function d(e){var t=e.length;return function n(r){return function(){for(var i=arguments.length,a=new Array(i),o=0;o=t?e.apply(this,s):n(s)}}([])}},function(e,t,n){"use strict";var r=n(62),i=n(1705);r({target:"Array",stat:!0,forced:!n(970)((function(e){Array.from(e)}))},{from:i})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_COMMON_STYLE",(function(){return u})),n.d(t,"DEFAULT_COMMON_ANIMATION_PROPS",(function(){return c}));var r=n(66),i=n(555),a=n(36),o=n(0),s=n(96),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var d=["z","z2","invisible"],f=["invisible"],h=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.__extends)(t,e),t.prototype._init=function(t){for(var n=Object(o.keys)(t),r=0;r=0)d=c*e.length;else for(var f=0;f=2&&"="===e.charAt(0)}function i(e){return"string"==typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}function a(e){return i(e)?e.substr(1):e}function o(e){var t=/(\\"|"(?:\\"|[^"])*"|(\+))|(\\'|'(?:\\'|[^'])*'|(\+))/g,n=e.match(t)||[],r=-1;return e.toUpperCase().replace(t,(function(){return n[r+=1]}))}function s(e,t){return function(n){return{row:"row"===e?t:n.row,column:"column"===e?t:n.column}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"REDRAW_BIT",(function(){return r})),n.d(t,"STYLE_CHANGED_BIT",(function(){return i})),n.d(t,"SHAPE_CHANGED_BIT",(function(){return a}));var r=1,i=2,a=4},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";(function(t){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,n(188))},function(e,t,n){"use strict";n.r(t),n.d(t,"getUID",(function(){return o})),n.d(t,"enableSubTypeDefaulter",(function(){return s})),n.d(t,"enableTopologicalTravel",(function(){return l})),n.d(t,"inheritDefaultOption",(function(){return u}));var r=n(0),i=n(116),a=Math.round(10*Math.random());function o(e){return[e||"",a++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Object(i.parseClassType)(e);t[r.main]=n},e.determineSubType=function(n,r){var a=r.type;if(!a){var o=Object(i.parseClassType)(n).main;e.hasSubTypes(n)&&t[o]&&(a=t[o](r))}return a}}function l(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,i,a,o){if(e.length){var s=function(e){var i={},a=[];return r.each(e,(function(o){var s=n(i,o),l=function(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}(s.originalDeps=t(o),e);s.entryCount=l.length,0===s.entryCount&&a.push(o),r.each(l,(function(e){r.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var t=n(i,e);r.indexOf(t.successor,e)<0&&t.successor.push(o)}))})),{graph:i,noEntryList:a}}(i),l=s.graph,u=s.noEntryList,c={};for(r.each(e,(function(e){c[e]=!0}));u.length;){var d=u.pop(),f=l[d],h=!!c[d];h&&(a.call(o,d,f.originalDeps.slice()),delete c[d]),r.each(f.successor,h?m:p)}r.each(c,(function(){throw new Error("")}))}function p(e){l[e].entryCount--,0===l[e].entryCount&&u.push(e)}function m(e){c[e]=!0,p(e)}}}function u(e,t){return r.merge(r.merge({},e,!0),t,!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"ToolboxFeature",(function(){return r})),n.d(t,"registerFeature",(function(){return a})),n.d(t,"getFeature",(function(){return o}));var r=function(){},i={};function a(e,t){i[e]=t}function o(e){return i[e]}},function(e,t,n){"use strict";n.r(t),n.d(t,"TYPE_NUMERIC",(function(){return L})),n.d(t,"TYPE_TEXT",(function(){return P})),n.d(t,"TYPE_DATE",(function(){return j})),n.d(t,"TYPES",(function(){return F})),n.d(t,"default",(function(){return B}));var r=n(3),i=n(2),a=n(50),o=n(51),s=n(488);n.d(t,"CONDITION_NONE",(function(){return s.CONDITION_NAME}));var l=n(352);n.d(t,"CONDITION_EMPTY",(function(){return l.CONDITION_NAME}));var u=n(489);n.d(t,"CONDITION_NOT_EMPTY",(function(){return u.CONDITION_NAME}));var c=n(353);n.d(t,"CONDITION_EQUAL",(function(){return c.CONDITION_NAME}));var d=n(490);n.d(t,"CONDITION_NOT_EQUAL",(function(){return d.CONDITION_NAME}));var f=n(713);n.d(t,"CONDITION_GREATER_THAN",(function(){return f.CONDITION_NAME}));var h=n(714);n.d(t,"CONDITION_GREATER_THAN_OR_EQUAL",(function(){return h.CONDITION_NAME}));var p=n(715);n.d(t,"CONDITION_LESS_THAN",(function(){return p.CONDITION_NAME}));var m=n(716);n.d(t,"CONDITION_LESS_THAN_OR_EQUAL",(function(){return m.CONDITION_NAME}));var g=n(415);n.d(t,"CONDITION_BETWEEN",(function(){return g.CONDITION_NAME}));var v=n(717);n.d(t,"CONDITION_NOT_BETWEEN",(function(){return v.CONDITION_NAME}));var _=n(718);n.d(t,"CONDITION_BEGINS_WITH",(function(){return _.CONDITION_NAME}));var y=n(719);n.d(t,"CONDITION_ENDS_WITH",(function(){return y.CONDITION_NAME}));var b=n(471);n.d(t,"CONDITION_CONTAINS",(function(){return b.CONDITION_NAME}));var S=n(720);n.d(t,"CONDITION_NOT_CONTAINS",(function(){return S.CONDITION_NAME}));var E=n(470);n.d(t,"CONDITION_DATE_BEFORE",(function(){return E.CONDITION_NAME}));var w=n(469);n.d(t,"CONDITION_DATE_AFTER",(function(){return w.CONDITION_NAME}));var T=n(721);n.d(t,"CONDITION_TOMORROW",(function(){return T.CONDITION_NAME}));var O=n(722);n.d(t,"CONDITION_TODAY",(function(){return O.CONDITION_NAME}));var C=n(723);n.d(t,"CONDITION_YESTERDAY",(function(){return C.CONDITION_NAME}));var x=n(1045);n.d(t,"CONDITION_BY_VALUE",(function(){return x.CONDITION_NAME}));var k=n(1046);n.d(t,"CONDITION_TRUE",(function(){return k.CONDITION_NAME}));var M=n(1047);n.d(t,"CONDITION_FALSE",(function(){return M.CONDITION_NAME}));var A=n(293);n.d(t,"OPERATION_AND",(function(){return A.OPERATION_ID}));var R=n(472);n.d(t,"OPERATION_OR",(function(){return R.OPERATION_ID}));var I,D=n(553);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"OPERATION_OR_THEN_VARIABLE",(function(){return D.OPERATION_ID}));var L="numeric",P="text",j="date",F=(N(I={},L,[s.CONDITION_NAME,a.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,a.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,a.SEPARATOR,f.CONDITION_NAME,h.CONDITION_NAME,p.CONDITION_NAME,m.CONDITION_NAME,g.CONDITION_NAME,v.CONDITION_NAME]),N(I,P,[s.CONDITION_NAME,a.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,a.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,a.SEPARATOR,_.CONDITION_NAME,y.CONDITION_NAME,a.SEPARATOR,b.CONDITION_NAME,S.CONDITION_NAME]),N(I,j,[s.CONDITION_NAME,a.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,a.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,a.SEPARATOR,E.CONDITION_NAME,w.CONDITION_NAME,g.CONDITION_NAME,a.SEPARATOR,T.CONDITION_NAME,O.CONDITION_NAME,C.CONDITION_NAME]),I);function B(e){var t=[],n=e;return F[n]||(n=P),Object(i.arrayEach)(F[n],(function(e){var n;n=e===a.SEPARATOR?{name:a.SEPARATOR}:Object(r.clone)(Object(o.getConditionDescriptor)(e)),t.push(n)})),t}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_IMAGE_STYLE",(function(){return s})),n.d(t,"DEFAULT_IMAGE_ANIMATION_PROPS",(function(){return l}));var r=n(66),i=n(90),a=n(36),o=n(0),s=Object(o.defaults)({x:0,y:0},i.DEFAULT_COMMON_STYLE),l={style:Object(o.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.DEFAULT_COMMON_ANIMATION_PROPS.style)};var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.createStyle=function(e){return Object(o.createObject)(s,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,i=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!i)return 0;var a="width"===e?"height":"width",o=t[a];return null==o?i[e]:i[e]/i[a]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return l},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new a.default(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(i.default);u.prototype.type="image",t.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"RegisteredEditor",(function(){return E})),n.d(t,"_getEditorInstance",(function(){return w})),n.d(t,"registerEditor",(function(){return O})),n.d(t,"getEditor",(function(){return T})),n.d(t,"getEditorInstance",(function(){return w})),n.d(t,"hasEditor",(function(){return y})),n.d(t,"getRegisteredEditorNames",(function(){return b})),n.d(t,"getRegisteredEditors",(function(){return S}));n(15),n(12),n(16),n(91),n(17);var r=n(163),i=n(40),a=n(182),o=n(595),s=n(1323),l=n(1324),u=n(1325),c=n(596),d=n(1326),f=n(1327),h=n(1328),p=n(260),m=new WeakMap,g=Object(r.default)("editors"),v=g.register,_=g.getItem,y=g.hasItem,b=g.getNames,S=g.getValues;function E(e){var t={},n=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new n(e)),t[e.guid]},i.default.getSingleton().add("afterDestroy",(function(){t[this.guid]=null}))}function w(e,t){var n;if("function"==typeof e)m.get(e)||O(null,e),n=m.get(e);else{if("string"!=typeof e)throw Error('Only strings and functions can be passed as "editor" parameter');n=_(e)}if(!n)throw Error('No editor registered under name "'.concat(e,'"'));return n.getInstance(t)}function T(e){if(!y(e))throw Error('No registered editor found under "'.concat(e,'" name'));return _(e).getConstructor()}function O(e,t){var n=new E(t);"string"==typeof e&&v(e,n),m.set(t,n)}O("base",a.default),O("autocomplete",o.default),O("checkbox",s.default),O("date",l.default),O("dropdown",u.default),O("handsontable",c.default),O("numeric",d.default),O("password",f.default),O("select",h.default),O("text",p.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"toSingleLine",(function(){return i}));n(92),n(157),n(525);var r=n(2);function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;it
t";var n=document.createElement("CAPTION");n.innerHTML="c
c
c
c",n.style.padding="0",n.style.margin="0",e.insertBefore(n,t),document.body.appendChild(e),i=e.offsetHeight<2*e.lastChild.offsetHeight,document.body.removeChild(e)}(),i}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a||(a="object"===("undefined"==typeof Intl?"undefined":r(Intl))?new Intl.Collator(e,t).compare:"function"==typeof String.prototype.localeCompare?function(e,t){return"".concat(e).localeCompare(t)}:function(e,t){return e===t?0:e>t?-1:1})}function S(){if(void 0!==o)return o;try{var e={get passive(){o=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){o=!1}return o}u||(u=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-s)),r=window.setTimeout((function(){e(t+n)}),n);return s=t+n,r}),c||(c=function(e){clearTimeout(e)})},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=e.getSetting("totalRows")||this.col>=e.getSetting("totalColumns"))}},{key:"isEqual",value:function(e){return e===this||this.row===e.row&&this.col===e.col}},{key:"isSouthEastOf",value:function(e){return this.row>=e.row&&this.col>=e.col}},{key:"isNorthWestOf",value:function(e){return this.row<=e.row&&this.col<=e.col}},{key:"isSouthWestOf",value:function(e){return this.row>=e.row&&this.col<=e.col}},{key:"isNorthEastOf",value:function(e){return this.row<=e.row&&this.col>=e.col}},{key:"toObject",value:function(){return{row:this.row,col:this.col}}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"DEC_LENGTH",(function(){return r})),n.d(t,"WEEK_LENGTH",(function(){return i})),n.d(t,"getMixedMonthObject",(function(){return a})),n.d(t,"getMixedMonthName",(function(){return o})),n.d(t,"getShorthand",(function(){return s})),n.d(t,"getStartDate",(function(){return l})),n.d(t,"getEndDate",(function(){return u})),n.d(t,"getAdditionalData",(function(){return c})),n.d(t,"setStartDate",(function(){return d})),n.d(t,"setEndDate",(function(){return f})),n.d(t,"parseDate",(function(){return h})),n.d(t,"getDateYear",(function(){return p}));n(75),n(195),n(12),n(31);var r=31,i=7;function a(e,t){return{name:e,days:i,daysBeforeFullWeeks:0,daysAfterFullWeeks:0,fullWeeks:1,index:t}}function o(e,t){var n=s(t[e].name),r=e>0?s(t[e-1].name):null,i=s(t[0].name),a=s(t[t.length-1].name);return e>0?"".concat(r,"/").concat(n):e===t.length-1?"".concat(n,"/").concat(i):"".concat(a,"/").concat(n)}function s(e){return e.substring(0,3)}function l(e){return h(Array.isArray(e)?e[1]:e.startDate)}function u(e){return h(Array.isArray(e)?e[2]:e.endDate)}function c(e){return Array.isArray(e)?e[3]:e.additionalData}function d(e,t){Array.isArray(e)?e[1]=t:e.startDate=t}function f(e,t){Array.isArray(e)?e[2]=t:e.endDate=t}function h(e){var t=e;return null===t?null:t instanceof Date||"Invalid Date"!==(t=new Date(t)).toString()?t:null}function p(e){var t=h(e);return t?t.getFullYear():null}},function(e,t,n){"use strict";var r=n(62),i=n(370),a=n(522),o=n(129),s=n(516),l=n(234),u=n(192),c=n(453),d=n(120),f=n(454),h=n(343),p=f("slice"),m=d("species"),g=Array,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,f=u(this),p=l(f),_=s(e,p),y=s(void 0===t?p:t,p);if(i(f)&&(n=f.constructor,(a(n)&&(n===g||i(n.prototype))||o(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return h(f,_,y);for(r=new(void 0===n?g:n)(v(y-_,0)),d=0;_=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList;if(n.getSource().sourceFormat===g.SOURCE_FORMAT_ORIGINAL&&!n.pure)for(var o=[],s=e;s0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),c.isArray(i)?i=i.slice():E(i)&&(i=c.extend({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,E(t)?c.extend(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){E(e)?c.extend(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?c.extend(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Object(_.setCommonECData)(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){c.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(c.slice(arguments)))})},e.internalField=(r=function(e){var t=e._invertedIndicesMap;c.each(t,(function(n,r){var i=e._dimInfos[r],a=i.ordinalMeta,o=e._store;if(a){n=t[r]=new T(a.categories.length);for(var s=0;s1&&(l+="__ec__"+c),r[t]=l}})),e}();t.default=x},function(e,t,n){"use strict";n.r(t),n.d(t,"setBrowserMeta",(function(){return s})),n.d(t,"setPlatformMeta",(function(){return l})),n.d(t,"isChrome",(function(){return u})),n.d(t,"isEdge",(function(){return c})),n.d(t,"isIE",(function(){return d})),n.d(t,"isIE8",(function(){return f})),n.d(t,"isIE9",(function(){return h})),n.d(t,"isMSBrowser",(function(){return p})),n.d(t,"isMobileBrowser",(function(){return m})),n.d(t,"isSafari",(function(){return g})),n.d(t,"isFirefox",(function(){return v})),n.d(t,"isWindowsOS",(function(){return _})),n.d(t,"isMacOS",(function(){return y})),n.d(t,"isLinuxOS",(function(){return b}));var r=n(3),i=function(e){var t={value:!1,test:function(n,r){t.value=e(n,r)}};return t},a={chrome:i((function(e,t){return/Chrome/.test(e)&&/Google/.test(t)})),edge:i((function(e){return/Edge/.test(e)})),firefox:i((function(e){return/Firefox/.test(e)})),ie:i((function(e){return/Trident/.test(e)})),ie8:i((function(){return!document.createTextNode("test").textContent})),ie9:i((function(){return!!document.documentMode})),mobile:i((function(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)})),safari:i((function(e,t){return/Safari/.test(e)&&/Apple Computer/.test(t)}))},o={mac:i((function(e){return/^Mac/.test(e)})),win:i((function(e){return/^Win/.test(e)})),linux:i((function(e){return/^Linux/.test(e)}))};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.userAgent,n=void 0===t?navigator.userAgent:t,i=e.vendor,o=void 0===i?navigator.vendor:i;Object(r.objectEach)(a,(function(e){(0,e.test)(n,o)}))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.platform,n=void 0===t?navigator.platform:t;Object(r.objectEach)(o,(function(e){(0,e.test)(n)}))}function u(){return a.chrome.value}function c(){return a.edge.value}function d(){return a.ie.value}function f(){return a.ie8.value}function h(){return a.ie9.value}function p(){return a.ie.value||a.edge.value}function m(){return a.mobile.value}function g(){return a.safari.value}function v(){return a.firefox.value}function _(){return o.win.value}function y(){return o.mac.value}function b(){return o.linux.value}s(),l()},function(e,t,n){"use strict";n.r(t),n.d(t,"toUpperCaseFirst",(function(){return i})),n.d(t,"equalsIgnoreCase",(function(){return a})),n.d(t,"randomString",(function(){return o})),n.d(t,"isPercentValue",(function(){return s})),n.d(t,"substitute",(function(){return l})),n.d(t,"stripTags",(function(){return c}));n(56),n(12),n(92),n(31),n(157);var r=n(26);function i(e){return e[0].toUpperCase()+e.substr(1)}function a(){for(var e=[],t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return"".concat(e).replace(/(?:\\)?\[([^[\]]+)]/g,(function(e,n){return"\\"===e.charAt(0)?e.substr(1,e.length-1):void 0===t[n]?"":t[n]}))}var u=/<\/?\w+\/?>|<\w+[\s|/][^>]*>/gi;function c(e){return"".concat(e).replace(u,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"isValueNice",(function(){return i})),n.d(t,"isIntervalOrLogScale",(function(){return a})),n.d(t,"intervalScaleNiceTicks",(function(){return o})),n.d(t,"increaseInterval",(function(){return s})),n.d(t,"getIntervalPrecision",(function(){return l})),n.d(t,"fixExtent",(function(){return c})),n.d(t,"contain",(function(){return d})),n.d(t,"normalize",(function(){return f})),n.d(t,"scale",(function(){return h}));var r=n(5);function i(e){var t=Math.pow(10,Object(r.quantityExponent)(Math.abs(e))),n=Math.abs(e/t);return 0===n||1===n||2===n||3===n||5===n}function a(e){return"interval"===e.type||"log"===e.type}function o(e,t,n,i){var a={},o=e[1]-e[0],s=a.interval=Object(r.nice)(o/t,!0);null!=n&&si&&(s=a.interval=i);var u=a.intervalPrecision=l(s);return c(a.niceTickExtent=[Object(r.round)(Math.ceil(e[0]/s)*s,u),Object(r.round)(Math.floor(e[1]/s)*s,u)],e),a}function s(e){var t=Math.pow(10,Object(r.quantityExponent)(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Object(r.round)(n*t)}function l(e){return Object(r.getPrecision)(e)+2}function u(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function c(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),u(e,0,t),u(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function d(e,t){return e>=t[0]&&e<=t[1]}function f(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function h(e,t){return e*(t[1]-t[0])+t[0]}},function(e,t,n){"use strict";n.r(t),n.d(t,"translateLegacyCodec",(function(){return l})),n.d(t,"translateLegacyCodecs",(function(){return u})),n.d(t,"mapLegacyAvcCodecs",(function(){return c})),n.d(t,"parseCodecs",(function(){return d})),n.d(t,"codecsFromDefault",(function(){return f})),n.d(t,"isVideoCodec",(function(){return h})),n.d(t,"isAudioCodec",(function(){return p})),n.d(t,"isTextCodec",(function(){return m})),n.d(t,"getMimeForCodec",(function(){return g})),n.d(t,"browserSupportsCodec",(function(){return v})),n.d(t,"muxerSupportsCodec",(function(){return _})),n.d(t,"DEFAULT_AUDIO_CODEC",(function(){return y})),n.d(t,"DEFAULT_VIDEO_CODEC",(function(){return b}));var r=n(7),i=n.n(r),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],l=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},u=function(e){return e.map(l)},c=function(e){return e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e){return u([e])[0]}))},d=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),o.forEach((function(r){var i=a[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var o=e.substring(0,i[1].length),s=e.replace(o,"");n.push({type:o,details:s,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},f=function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return d(i.playlists[0].attributes.CODECS)}return null},h=function(e){return void 0===e&&(e=""),a.video.test(e.trim().toLowerCase())},p=function(e){return void 0===e&&(e=""),a.audio.test(e.trim().toLowerCase())},m=function(e){return void 0===e&&(e=""),a.text.test(e.trim().toLowerCase())},g=function(e){if(e&&"string"==typeof e){var t=e.toLowerCase().split(",").map((function(e){return l(e.trim())})),n="video";1===t.length&&p(t[0])?n="audio":1===t.length&&m(t[0])&&(n="application");var r="mp4";return t.every((function(e){return a.mp4.test(e)}))?r="mp4":t.every((function(e){return a.webm.test(e)}))?r="webm":t.every((function(e){return a.ogg.test(e)}))&&(r="ogg"),n+"/"+r+';codecs="'+e+'"'}},v=function(e){return void 0===e&&(e=""),i.a.MediaSource&&i.a.MediaSource.isTypeSupported&&i.a.MediaSource.isTypeSupported(g(e))||!1},_=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(3),a={_localHooks:Object.create(null),addLocalHook:function(e,t){return this._localHooks[e]||(this._localHooks[e]=[]),this._localHooks[e].push(t),this},runLocalHooks:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a5e-5||e<-5e-5}var s=[],l=[],u=r.create(),c=Math.abs,d=function(){function e(){}var t;return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return o(this.rotation)||o(this.x)||o(this.y)||o(this.scaleX-1)||o(this.scaleY-1)||o(this.skewX)||o(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||r.create(),t?this.getLocalTransform(n):a(n),e&&(t?r.mul(n,e,n):r.copy(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(a(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(s);var n=s[0]<0?-1:1,i=s[1]<0?-1:1,a=((s[0]-n)*t+n)/s[0]||0,o=((s[1]-i)*t+i)/s[1]||0;e[0]*=a,e[1]*=a,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||r.create(),r.mul(l,e.invTransform,t),t=l);var n=this.originX,i=this.originY;(n||i)&&(u[4]=n,u[5]=i,r.mul(l,t,u),l[4]-=n,l[5]-=i,t=l),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&c(e[0]-1)>1e-10&&c(e[3]-1)>1e-10?Math.sqrt(c(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){h(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,i=e.originY||0,a=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,c=e.x,d=e.y,f=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(n||i||s||l){var p=n+s,m=i+l;t[4]=-p*a-f*m*o,t[5]=-m*o-h*p*a}else t[4]=t[5]=0;return t[0]=a,t[3]=o,t[1]=h*a,t[2]=f*o,u&&r.rotate(t,t,u),t[4]+=n+c,t[5]+=i+d,t},e.initDefaultProps=((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,void(t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0)),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function h(e,t){for(var n=0;n'.concat(String.fromCharCode(10003),"").concat(e)}},function(e,t,n){var r=n(433)("wks"),i=n(329),a=n(86).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(98),i=n(368),a=n(135),o=n(513),s=n(366),l=n(954),u=r.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:d("Symbol."+e)),c[e]}},function(e,t,n){var r=n(230),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r="object"==typeof document&&document.all;e.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},function(e,t,n){"use strict";var r=n(62),i=n(177),a=n(516),o=n(306),s=n(234),l=n(1708),u=n(982),c=n(675),d=n(453),f=n(983),h=n(454)("splice"),p=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var n,r,h,g,v,_,y=i(this),b=s(y),S=a(e,b),E=arguments.length;for(0===E?n=r=0:1===E?(n=0,r=b-S):(n=E-2,r=m(p(o(t),0),b-S)),u(b+n-r),h=c(y,r),g=0;gb-r+n;g--)f(y,g-1)}else if(n>r)for(g=b-r;g>S;g--)_=g+n-1,(v=g+r-1)in y?y[_]=y[v]:f(y,_);for(g=0;g0}},{key:"hasPrecedent",value:function(e){return Object(i.arrayFilter)(this.precedents,(function(t){return t.isEqual(e)})).length>0}}]),t}(a.default);t.default=h},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return W})),n.d(t,"dependencies",(function(){return z})),n.d(t,"PRIORITY",(function(){return G})),n.d(t,"init",(function(){return Ne})),n.d(t,"connect",(function(){return Le})),n.d(t,"disconnect",(function(){return Pe})),n.d(t,"disConnect",(function(){return je})),n.d(t,"dispose",(function(){return Fe})),n.d(t,"getInstanceByDom",(function(){return Be})),n.d(t,"getInstanceById",(function(){return He})),n.d(t,"registerTheme",(function(){return Ue})),n.d(t,"registerPreprocessor",(function(){return Ye})),n.d(t,"registerProcessor",(function(){return Ve})),n.d(t,"registerPostInit",(function(){return We})),n.d(t,"registerPostUpdate",(function(){return ze})),n.d(t,"registerUpdateLifecycle",(function(){return Ge})),n.d(t,"registerAction",(function(){return $e})),n.d(t,"registerCoordinateSystem",(function(){return qe})),n.d(t,"getCoordinateSystemDimensions",(function(){return Ke})),n.d(t,"registerLayout",(function(){return Xe})),n.d(t,"registerVisual",(function(){return Qe})),n.d(t,"registerLoading",(function(){return et})),n.d(t,"setCanvasCreator",(function(){return tt})),n.d(t,"registerMap",(function(){return nt})),n.d(t,"getMap",(function(){return rt})),n.d(t,"registerTransform",(function(){return it})),n.d(t,"dataTool",(function(){return at}));var r=n(4),i=n(253),a=n(0),o=n(53),s=n(417),l=n(131),u=n(559),c=n(561),d=n(237),f=n(1093),h=n(725),p=n(1098),m=n(58),g=n(68),v=n(57),_=n(74),y=n(102),b=n(24),S=n(38),E=n(27),w=n(9),T=n(6),O=n(133),C=n(611),x=n(1099),k=n(727),M=n(1100),A=n(1101),R=n(116),I=n(1077),D=n(729),N=n(169),L=n(39),P=n(386),j=n(564),F=n(217),B=n(240),H=n(1096),U=n(225),Y=n(93),V=n(475);n.d(t,"registerLocale",(function(){return F.registerLocale}));var W="5.5.1",z={zrender:"5.6.0"},G={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},$="__pendingUpdate",q=/^[a-zA-Z0-9_]+$/;function K(e){return function(){for(var t=[],n=0;n0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this.__flagInMainProcess)if(this._disposed)Se(this.id);else{var r,i,o;if(Object(a.isObject)(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this.__flagInMainProcess=!0,!this._model||t){var s=new f.default(this._api),l=this._theme,c=this._model=new u.default;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:i},Oe);var d={seriesTransition:o,optionChanged:!0};if(n)this[$]={silent:r,updateParams:d},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{Z(this),te.update.call(this,null,d)}catch(e){throw this[$]=null,this.__flagInMainProcess=!1,e}this._ssr||this._zr.flush(),this[$]=null,this.__flagInMainProcess=!1,ae.call(this,r),oe.call(this,r)}}},t.prototype.setTheme=function(){Object(L.deprecateLog)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||o.default.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(o.default.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(a.each)(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],i=this;Object(a.each)(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(a.each)(r,(function(e){e.group.ignore=!1})),o}Se(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,o=Math.max;if(Ae[n]){var s=1/0,l=1/0,u=-1/0,c=-1/0,d=[],f=e&&e.pixelRatio||this.getDevicePixelRatio();Object(a.each)(Me,(function(i,f){if(i.group===n){var h=t?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(Object(a.clone)(e)),p=i.getDom().getBoundingClientRect();s=r(p.left,s),l=r(p.top,l),u=o(p.right,u),c=o(p.bottom,c),d.push({dom:h,left:p.left,top:p.top})}}));var h=(u*=f)-(s*=f),p=(c*=f)-(l*=f),m=Y.platformApi.createCanvas(),g=i.init(m,{renderer:t?"svg":"canvas"});if(g.resize({width:h,height:p}),t){var v="";return Object(a.each)(d,(function(e){var t=e.left-s,n=e.top-l;v+=''+e.dom+""})),g.painter.getSvgRoot().innerHTML=v,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return e.connectedBackgroundColor&&g.add(new _.default({shape:{x:0,y:0,width:h,height:p},style:{fill:e.connectedBackgroundColor}})),Object(a.each)(d,(function(e){var t=new y.default({style:{x:e.left*f-s,y:e.top*f-l,image:e.dom}});g.add(t)})),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Se(this.id)},t.prototype.convertToPixel=function(e,t){return ne(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return ne(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=T.parseFinder(r,e);return Object(a.each)(i,(function(e,r){r.indexOf("Models")>=0&&Object(a.each)(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(n=n||a.containPoint(t,e))}else 0}),this)}),this),!!n}Se(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=T.parseFinder(n,e,{defaultMainType:"series"});var i=r.seriesModel.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?i.indexOfRawIndex(r.dataIndex):null;return null!=a?Object(N.getItemVisualFromData)(i,a,t):Object(N.getVisualFromData)(i,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(a.each)(be,(function(t){var n=function(n){var r,i=e.getModel(),o=n.target;if("globalout"===t?r={}:o&&Object(B.findEventDispatcher)(o,(function(e){var t=Object(E.getECData)(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType,o)||{},!0}if(t.eventData)return r=Object(a.extend)({},t.eventData),!0}),!0),r){var s=r.componentType,l=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=r.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&e["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:u,view:c},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),Object(a.each)(we,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),Object(a.each)(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),Object(P.handleLegacySelectEvents)(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Se(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Se(this.id);else{this._disposed=!0,this.getDom()&&T.setAttribute(this.getDom(),De,"");var e=this._api,t=this._model;Object(a.each)(this._componentsViews,(function(n){n.dispose(t,e)})),Object(a.each)(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Me[this.id]}},t.prototype.resize=function(e){if(!this.__flagInMainProcess)if(this._disposed)Se(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[$]&&(null==r&&(r=this[$].silent),n=!0,this[$]=null),this.__flagInMainProcess=!0;try{n&&Z(this),te.update.call(this,{type:"resize",animation:Object(a.extend)({duration:0},e&&e.animation)})}catch(e){throw this.__flagInMainProcess=!1,e}this.__flagInMainProcess=!1,ae.call(this,r),oe.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Se(this.id);else if(Object(a.isObject)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),ke[e]){var n=ke[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Se(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(a.extend)({},e);return t.type=we[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Se(this.id);else if(Object(a.isObject)(t)||(t={silent:!!t}),Ee[e.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(e);else{var n=t.silent;ie.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&o.default.browser.weChat&&this._throttledZrFlush(),ae.call(this,n),oe.call(this,n)}},t.prototype.updateLabelLayout=function(){U.default.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Se(this.id);else{var t=e.seriesIndex;0,this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){for(var t=[],n=e.currentStates,r=0;r0?{duration:a,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(b.isElementRemoved(e))return;if(e instanceof S.default&&Object(w.savePathStates)(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=o;var r=e.getTextContent(),a=e.getTextGuideLine();r&&(r.stateTransition=o),a&&(a.stateTransition=o)}e.__dirty&&t(e)}}))}Z=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),J(e,!0),J(e,!1),t.plan()},J=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,a=t?e._componentsMap:e._chartsMap,o=e._zr,s=e._api,l=0;lt.get("hoverLayerThreshold")&&!o.default.node&&!o.default.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}(e,t),U.default.trigger("series:afterupdate",t,r,u)},pe=function(e){e.__needsUpdateStatus=!0,e.getZr().wakeUp()},me=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){b.isElementRemoved(e)||t(e)})),e.__needsUpdateStatus=!1)},fe=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){Object(w.enterEmphasis)(t,n),pe(e)},n.prototype.leaveEmphasis=function(t,n){Object(w.leaveEmphasis)(t,n),pe(e)},n.prototype.enterBlur=function(t){Object(w.enterBlur)(t),pe(e)},n.prototype.leaveBlur=function(t){Object(w.leaveBlur)(t),pe(e)},n.prototype.enterSelect=function(t){Object(w.enterSelect)(t),pe(e)},n.prototype.leaveSelect=function(t){Object(w.leaveSelect)(t),pe(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(c.default))(e)},he=function(e){function t(e,t){for(var n=0;n=0)){Ze.push(n);var o=k.default.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function et(e,t){ke[e]=t}function tt(e){Object(Y.setPlatformAPI)({createCanvas:e})}function nt(e,t,n){var r=Object(V.getImpl)("registerMap");r&&r(e,t,n)}function rt(e){var t=Object(V.getImpl)("getMap");return t&&t(e)}var it=j.registerExternalTransform;Qe(2e3,C.seriesStyleTask),Qe(4500,C.dataStyleTask),Qe(4500,C.dataColorPaletteTask),Qe(2e3,D.seriesSymbolTask),Qe(4500,D.dataSymbolTask),Qe(7e3,H.default),Ye(h.default),Ve(900,p.default),et("default",x.default),$e({type:w.HIGHLIGHT_ACTION_TYPE,event:w.HIGHLIGHT_ACTION_TYPE,update:w.HIGHLIGHT_ACTION_TYPE},a.noop),$e({type:w.DOWNPLAY_ACTION_TYPE,event:w.DOWNPLAY_ACTION_TYPE,update:w.DOWNPLAY_ACTION_TYPE},a.noop),$e({type:w.SELECT_ACTION_TYPE,event:w.SELECT_ACTION_TYPE,update:w.SELECT_ACTION_TYPE},a.noop),$e({type:w.UNSELECT_ACTION_TYPE,event:w.UNSELECT_ACTION_TYPE,update:w.UNSELECT_ACTION_TYPE},a.noop),$e({type:w.TOGGLE_SELECT_ACTION_TYPE,event:w.TOGGLE_SELECT_ACTION_TYPE,update:w.TOGGLE_SELECT_ACTION_TYPE},a.noop),Ue("light",M.default),Ue("dark",A.default);var at={}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(72),a=n(5),o=(n(39),r.each),s=r.isObject,l=function(){function e(t){var n=t.mappingMethod,i=t.type,a=this.option=r.clone(t);this.type=i,this.mappingMethod=n,this._normalizeData=_[n];var s=e.visualHandlers[i];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._normalizedToVisual=s._normalizedToVisual[n],"piecewise"===n?(u(a),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,r.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(a)):"category"===n?a.categories?function(e){var t=e.categories,n=e.categoryMap={},i=e.visual;if(o(t,(function(e,t){n[e]=t})),!r.isArray(i)){var a=[];r.isObject(i)?o(i,(function(e,t){var r=n[t];a[null!=r?r:-1]=e})):a[-1]=i,i=v(e,a)}for(var s=t.length-1;s>=0;s--)null==i[s]&&(delete n[t[s]],t.pop())}(a):u(a,!0):(r.assert("linear"!==n||a.dataExtent),u(a))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return r.bind(this._normalizeData,this)},e.listVisualTypes=function(){return r.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){r.isObject(e)?r.each(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,i){var a,o=r.isArray(t)?[]:r.isObject(t)?{}:(a=!0,null);return e.eachVisual(t,(function(e,t){var r=n.call(i,e,t);a?o=r:o[t]=r})),o},e.retrieveVisuals=function(t){var n,r={};return t&&o(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(r.isArray(e))e=e.slice();else{if(!s(e))return[];var t=[];o(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var i,a=1/0,o=0,s=t.length;o>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}(t,s),s,o);if(u)return u(e,n,a),!0}return!1}function l(e){return"CANVAS"===e.nodeName.toUpperCase()}var u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}},function(e,t,n){e.exports=!n(89)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(122);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},function(e,t,n){"use strict";n(1713),n(1714)},function(e,t,n){"use strict";n.r(t);var r=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),!n||!e)return this;var a=this._$eventProcessor;null!=t&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o=S?i=n+S:t&&n-i>=S?i=n-S:!t&&n>i?i=n+(S-T(n-i)):t&&n0&&(this._ux=y(n/a.devicePixelRatio/e)||0,this._uy=y(n/a.devicePixelRatio/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(l.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=y(e-this._xi),r=y(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(l.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=n*n+r*r;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,a){return this._drawPendingPt(),this.addData(l.C,e,t,n,r,i,a),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,a),this._xi=i,this._yi=a,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(l.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,a){this._drawPendingPt(),w[0]=r,w[1]=i,O(w,a),r=w[0];var o=(i=w[1])-r;return this.addData(l.A,e,t,n,n,r,o,0,a?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,a),this._xi=v(i)*n+e,this._yi=_(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(l.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!E||(this.data=new Float32Array(t));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){d[0]=d[1]=h[0]=h[1]=Number.MAX_VALUE,f[0]=f[1]=p[0]=p[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,a=0,s=0,u=0;for(e=0;en||y(T)>r||h===t-1)&&(E=Math.sqrt(j*j+T*T),i=w,a=x);break;case l.C:var O=e[h++],C=e[h++],x=(w=e[h++],e[h++]),k=e[h++],M=e[h++];E=Object(s.cubicLength)(i,a,O,C,w,x,k,M,10),i=k,a=M;break;case l.Q:O=e[h++],C=e[h++],w=e[h++],x=e[h++];E=Object(s.quadraticLength)(i,a,O,C,w,x,10),i=w,a=x;break;case l.A:var A=e[h++],R=e[h++],I=e[h++],D=e[h++],N=e[h++],L=e[h++],P=L+N;h+=1,b&&(o=v(N)*I+A,u=_(N)*D+R),E=g(I,D)*m(S,Math.abs(L)),i=v(P)*I+A,a=_(P)*D+R;break;case l.R:o=i=e[h++],u=a=e[h++],E=2*e[h++]+2*e[h++];break;case l.Z:var j=o-i;T=u-a;E=Math.sqrt(j*j+T*T),i=o,a=u}E>=0&&(c[f++]=E,d+=E)}return this._pathLen=d,d},e.prototype.rebuildPath=function(e,t){var n,r,i,a,o,d,f,h,p,b,S=this.data,E=this._ux,w=this._uy,T=this._len,O=t<1,C=0,x=0,k=0;if(!O||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,h=t*this._pathLen))e:for(var M=0;M0&&(e.lineTo(p,b),k=0),A){case l.M:n=i=S[M++],r=a=S[M++],e.moveTo(i,a);break;case l.L:o=S[M++],d=S[M++];var I=y(o-i),D=y(d-a);if(I>E||D>w){if(O){if(C+(re=f[x++])>h){var N=(h-C)/re;e.lineTo(i*(1-N)+o*N,a*(1-N)+d*N);break e}C+=re}e.lineTo(o,d),i=o,a=d,k=0}else{var L=I*I+D*D;L>k&&(p=o,b=d,k=L)}break;case l.C:var P=S[M++],j=S[M++],F=S[M++],B=S[M++],H=S[M++],U=S[M++];if(O){if(C+(re=f[x++])>h){N=(h-C)/re;Object(s.cubicSubdivide)(i,P,F,H,N,u),Object(s.cubicSubdivide)(a,j,B,U,N,c),e.bezierCurveTo(u[1],c[1],u[2],c[2],u[3],c[3]);break e}C+=re}e.bezierCurveTo(P,j,F,B,H,U),i=H,a=U;break;case l.Q:P=S[M++],j=S[M++],F=S[M++],B=S[M++];if(O){if(C+(re=f[x++])>h){N=(h-C)/re;Object(s.quadraticSubdivide)(i,P,F,N,u),Object(s.quadraticSubdivide)(a,j,B,N,c),e.quadraticCurveTo(u[1],c[1],u[2],c[2]);break e}C+=re}e.quadraticCurveTo(P,j,F,B),i=F,a=B;break;case l.A:var Y=S[M++],V=S[M++],W=S[M++],z=S[M++],G=S[M++],$=S[M++],q=S[M++],K=!S[M++],X=W>z?W:z,Q=y(W-z)>.001,Z=G+$,J=!1;if(O)C+(re=f[x++])>h&&(Z=G+$*(h-C)/re,J=!0),C+=re;if(Q&&e.ellipse?e.ellipse(Y,V,W,z,q,G,Z,K):e.arc(Y,V,X,G,Z,K),J)break e;R&&(n=v(G)*W+Y,r=_(G)*z+V),i=v(Z)*W+Y,a=_(Z)*z+V;break;case l.R:n=i=S[M],r=a=S[M+1],o=S[M++],d=S[M++];var ee=S[M++],te=S[M++];if(O){if(C+(re=f[x++])>h){var ne=h-C;e.moveTo(o,d),e.lineTo(o+m(ne,ee),d),(ne-=ee)>0&&e.lineTo(o+ee,d+m(ne,te)),(ne-=te)>0&&e.lineTo(o+g(ee-ne,0),d+te),(ne-=ee)>0&&e.lineTo(o,d+g(te-ne,0));break e}C+=re}e.rect(o,d,ee,te);break;case l.Z:if(O){var re;if(C+(re=f[x++])>h){N=(h-C)/re;e.lineTo(i*(1-N)+n*N,a*(1-N)+r*N);break e}C+=re}e.closePath(),i=n,a=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=l,e.initDefaultProps=((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),e}();t.default=C},function(e,t,n){"use strict";n.r(t),n.d(t,"throttle",(function(){return a})),n.d(t,"createOrUpdate",(function(){return o})),n.d(t,"clear",(function(){return s}));var r="\0__throttleOriginMethod",i="\0__throttleRate";function a(e,t,n){var r,i,a,o,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,e.apply(a,o||[])}t=t||0;var f=function(){for(var e=[],f=0;f=0?d():c=setTimeout(d,-i),l=r};return f.clear=function(){c&&(clearTimeout(c),c=null)},f.debounceNextCall=function(e){s=e},f}function o(e,t,n,o){var s=e[t];if(s){var l=s[r]||s,u=s["\0__throttleType"];if(s[i]!==n||u!==o){if(null==n||!o)return e[t]=l;(s=e[t]=a(l,n,"debounce"===o))[r]=l,s["\0__throttleType"]=o,s[i]=n}return s}}function s(e,t){var n=e[t];n&&n[r]&&(n.clear&&n.clear(),e[t]=n[r])}},function(e,t,n){"use strict";var r=n(76);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(79),i=n(177),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"enableDataStack",(function(){return a})),n.d(t,"isDimensionStacked",(function(){return o})),n.d(t,"getStackedDimension",(function(){return s}));var r=n(0),i=n(294);function a(e,t,n){var a,o,s,l=(n=n||{}).byIndex,u=n.stackedCoordDimension;!function(e){return!Object(i.isSeriesDataSchema)(e.schema)}(t)?(o=t.schema,a=o.dimensions,s=t.store):a=t;var c,d,f,h,p=!(!e||!e.get("stack"));if(Object(r.each)(a,(function(e,t){Object(r.isString)(e)&&(a[t]=e={name:e}),p&&!e.isExtraCoord&&(l||c||!e.ordinalMeta||(c=e),d||"ordinal"===e.type||"time"===e.type||u&&u!==e.coordDim||(d=e))})),!d||l||c||(l=!0),d){f="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,c&&(c.createInvertedIndices=!0);var m=d.coordDim,g=d.type,v=0;Object(r.each)(a,(function(e){e.coordDim===m&&v++}));var _={name:f,coordDim:m,coordDimIndex:v,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},y={name:h,coordDim:h,coordDimIndex:v+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(_.storeDimIndex=s.ensureCalculationDimension(h,g),y.storeDimIndex=s.ensureCalculationDimension(f,g)),o.appendCalculationDimension(_),o.appendCalculationDimension(y)):(a.push(_),a.push(y))}return{stackedDimension:d&&d.name,stackedByDimension:c&&c.name,isStackedByIndex:l,stackedOverDimension:h,stackResultDimension:f}}function o(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function s(e,t){return o(e,t)?e.getCalculationInfo("stackResultDimension"):t}},function(e,t,n){var r=n(82),i=n(917),a=n(246),o=Object.defineProperty;t.f=n(128)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(438),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(e,t,n){"use strict";var r=n(519),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"BE_ORDINAL",(function(){return o})),n.d(t,"resetSourceDefaulter",(function(){return l})),n.d(t,"makeSeriesEncodeForAxisCoordSys",(function(){return u})),n.d(t,"makeSeriesEncodeForNameBased",(function(){return c})),n.d(t,"querySeriesUpstreamDatasetModel",(function(){return d})),n.d(t,"queryDatasetUpstreamDatasetModels",(function(){return f})),n.d(t,"guessOrdinal",(function(){return h}));var r=n(6),i=n(0),a=n(29),o={Must:1,Might:2,Not:3},s=Object(r.makeInner)();function l(e){s(e).datasetMap=Object(i.createHashMap)()}function u(e,t,n){var r={},a=d(t);if(!a||!e)return r;var o,l,u=[],c=[],f=t.ecModel,h=s(f).datasetMap,p=a.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(i.each)(e,(function(t,n){var a=Object(i.isObject)(t)?t:e[n]={name:t};"ordinal"===a.type&&null==o&&(o=n,l=v(a)),r[a.name]=[]}));var m=h.get(p)||h.set(p,{categoryWayDim:l,valueWayDim:0});function g(e,t,n){for(var r=0;r=0){var i=n.getData().tree.root,a=e.targetNode;if(r.isString(a)&&(a=i.getNodeById(a)),a&&i.contains(a))return{node:a};var o=e.targetNodeId;if(null!=o&&(a=i.getNodeById(o)))return{node:a}}}function a(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function o(e,t){var n=a(e);return r.indexOf(n,t)>=0}function s(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}},function(e,t,n){var r;"undefined"!=typeof self&&self,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){t.nil=new Error("#NULL!"),t.div0=new Error("#DIV/0!"),t.value=new Error("#VALUE!"),t.ref=new Error("#REF!"),t.name=new Error("#NAME?"),t.num=new Error("#NUM!"),t.na=new Error("#N/A"),t.error=new Error("#ERROR!"),t.data=new Error("#GETTING_DATA")},function(e,t,n){var r=n(0);t.flattenShallow=function(e){return e&&e.reduce?e.reduce((function(e,t){var n=Array.isArray(e),r=Array.isArray(t);return n&&r?e.concat(t):n?(e.push(t),e):r?[e].concat(t):[e,t]})):e},t.isFlat=function(e){if(!e)return!1;for(var t=0;t-1?parseFloat(e):parseInt(e,10)),t}t.__esModule=!0,t.toNumber=r,t.invertNumber=function(e){return-1*r(e)}},function(e,t,n){var r=n(1),i=n(0),a=n(5),o=n(8),s=n(7);t.ABS=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.abs(e)},t.ACOS=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.acos(e);return isNaN(t)&&(t=i.num),t},t.ACOSH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.log(e+Math.sqrt(e*e-1));return isNaN(t)&&(t=i.num),t},t.ACOT=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.atan(1/e)},t.ACOTH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=.5*Math.log((e+1)/(e-1));return isNaN(t)&&(t=i.num),t},t.AGGREGATE=function(e,n,o,s){if(e=r.parseNumber(e),n=r.parseNumber(e),r.anyIsError(e,n))return i.value;switch(e){case 1:return a.AVERAGE(o);case 2:return a.COUNT(o);case 3:return a.COUNTA(o);case 4:return a.MAX(o);case 5:return a.MIN(o);case 6:return t.PRODUCT(o);case 7:return a.STDEV.S(o);case 8:return a.STDEV.P(o);case 9:return t.SUM(o);case 10:return a.VAR.S(o);case 11:return a.VAR.P(o);case 12:return a.MEDIAN(o);case 13:return a.MODE.SNGL(o);case 14:return a.LARGE(o,s);case 15:return a.SMALL(o,s);case 16:return a.PERCENTILE.INC(o,s);case 17:return a.QUARTILE.INC(o,s);case 18:return a.PERCENTILE.EXC(o,s);case 19:return a.QUARTILE.EXC(o,s)}},t.ARABIC=function(e){if(!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(e))return i.value;var t=0;return e.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,(function(e){t+={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1}[e]})),t},t.ASIN=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.asin(e);return isNaN(t)&&(t=i.num),t},t.ASINH=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e+Math.sqrt(e*e+1))},t.ATAN=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.atan(e)},t.ATAN2=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:Math.atan2(e,t)},t.ATANH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.log((1+e)/(1-e))/2;return isNaN(t)&&(t=i.num),t},t.BASE=function(e,t,n){if(n=n||0,e=r.parseNumber(e),t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(e,t,n))return i.value;n=void 0===n?0:n;var a=e.toString(t);return new Array(Math.max(n+1-a.length,0)).join("0")+a},t.CEILING=function(e,n,a){if(n=void 0===n?1:Math.abs(n),a=a||0,e=r.parseNumber(e),n=r.parseNumber(n),a=r.parseNumber(a),r.anyIsError(e,n,a))return i.value;if(0===n)return 0;var o=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.ceil(e/n)*n,o):0===a?-t.ROUND(Math.floor(Math.abs(e)/n)*n,o):-t.ROUND(Math.ceil(Math.abs(e)/n)*n,o)},t.CEILING.MATH=t.CEILING,t.CEILING.PRECISE=t.CEILING,t.COMBIN=function(e,n){return e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n)?i.value:t.FACT(e)/(t.FACT(n)*t.FACT(e-n))},t.COMBINA=function(e,n){return e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n)?i.value:0===e&&0===n?1:t.COMBIN(e+n-1,e-1)},t.COS=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.cos(e)},t.COSH=function(e){return(e=r.parseNumber(e))instanceof Error?e:(Math.exp(e)+Math.exp(-e))/2},t.COT=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.tan(e)},t.COTH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.exp(2*e);return(t+1)/(t-1)},t.CSC=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.sin(e)},t.CSCH=function(e){return(e=r.parseNumber(e))instanceof Error?e:2/(Math.exp(e)-Math.exp(-e))},t.DECIMAL=function(e,t){return arguments.length<1?i.value:parseInt(e,t)},t.DEGREES=function(e){return(e=r.parseNumber(e))instanceof Error?e:180*e/Math.PI},t.EVEN=function(e){return(e=r.parseNumber(e))instanceof Error?e:t.CEILING(e,-2,-1)},t.EXP=function(e){return arguments.length<1?i.na:"number"!=typeof e||arguments.length>1?i.error:e=Math.exp(e)};var l=[];t.FACT=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var n=Math.floor(e);return 0===n||1===n?1:(l[n]>0||(l[n]=t.FACT(n-1)*n),l[n])},t.FACTDOUBLE=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var n=Math.floor(e);return n<=0?1:n*t.FACTDOUBLE(n-2)},t.FLOOR=function(e,n){if(e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n))return i.value;if(0===n)return 0;if(!(e>0&&n>0||e<0&&n<0))return i.num;n=Math.abs(n);var a=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.floor(e/n)*n,a):-t.ROUND(Math.ceil(Math.abs(e)/n),a)},t.FLOOR.MATH=function(e,n,a){if(n=void 0===n?1:n,a=void 0===a?0:a,e=r.parseNumber(e),n=r.parseNumber(n),a=r.parseNumber(a),r.anyIsError(e,n,a))return i.value;if(0===n)return 0;n=n?Math.abs(n):1;var o=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.floor(e/n)*n,o):0===a||void 0===a?-t.ROUND(Math.ceil(Math.abs(e)/n)*n,o):-t.ROUND(Math.floor(Math.abs(e)/n)*n,o)},t.FLOOR.PRECISE=t.FLOOR.MATH,t.GCD=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t=e.length,n=e[0],i=n<0?-n:n,a=1;as?i%=s:s%=i;i+=s}return i},t.INT=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.floor(e)},t.ISO={CEILING:t.CEILING},t.LCM=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t,n,i,a,o=1;void 0!==(i=e.pop());)for(;i>1;){if(i%2){for(t=3,n=Math.floor(Math.sqrt(i));t<=n&&i%t;t+=2);a=t<=n?t:i}else a=2;for(i/=a,o*=a,t=e.length;t;e[--t]%a==0&&1==(e[t]/=a)&&e.splice(t,1));}return o},t.LN=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e)},t.LN10=function(){return Math.log(10)},t.LN2=function(){return Math.log(2)},t.LOG10E=function(){return Math.LOG10E},t.LOG2E=function(){return Math.LOG2E},t.LOG=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:(t=void 0===t?10:t,Math.log(e)/Math.log(t))},t.LOG10=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e)/Math.log(10)},t.MOD=function(e,t){if(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t))return i.value;if(0===t)return i.div0;var n=Math.abs(e%t);return t>0?n:-n},t.MROUND=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:e*t<0?i.num:Math.round(e/t)*t},t.MULTINOMIAL=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var n=0,i=1,a=0;a0?t:-t},t.PI=function(){return Math.PI},t.E=function(){return Math.E},t.POWER=function(e,t){if(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t))return i.value;var n=Math.pow(e,t);return isNaN(n)?i.num:n},t.PRODUCT=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t=1,n=0;n0?1:-1)*Math.floor(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)},t.ROUNDUP=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:(e>0?1:-1)*Math.ceil(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)},t.SEC=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.cos(e)},t.SECH=function(e){return(e=r.parseNumber(e))instanceof Error?e:2/(Math.exp(e)+Math.exp(-e))},t.SERIESSUM=function(e,t,n,a){if(e=r.parseNumber(e),t=r.parseNumber(t),n=r.parseNumber(n),a=r.parseNumberArray(a),r.anyIsError(e,t,n,a))return i.value;for(var o=a[0]*Math.pow(e,t),s=1;s=t)},t.LT=function(e,t){return 2!==arguments.length?i.na:(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.error:e0?1:-1)*Math.floor(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)}},function(e,t,n){var r=n(4),i=n(6),a=n(10),o=n(1),s=n(7),l=n(0),u=n(11);t.AVEDEV=function(){var e=o.parseNumberArray(o.flatten(arguments));return e instanceof Error?e:a.sum(a(e).subtract(a.mean(e)).abs()[0])/e.length},t.AVERAGE=function(){for(var e,t=o.numbers(o.flatten(arguments)),n=t.length,r=0,i=0,a=0;a=n)return r;r++}},t.CHISQ={},t.CHISQ.DIST=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?l.value:n?a.chisquare.cdf(e,t):a.chisquare.pdf(e,t)},t.CHISQ.DIST.RT=function(e,t){return!e|!t?l.na:e<1||t>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t?l.value:1-a.chisquare.cdf(e,t)},t.CHISQ.INV=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?l.value:a.chisquare.inv(e,t)},t.CHISQ.INV.RT=function(e,t){return!e|!t?l.na:e<0||e>1||t<1||t>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t?l.value:a.chisquare.inv(1-e,t)},t.CHISQ.TEST=function(e,t){if(2!==arguments.length)return l.na;if(!(e instanceof Array&&t instanceof Array))return l.value;if(e.length!==t.length)return l.value;if(e[0]&&t[0]&&e[0].length!==t[0].length)return l.value;var n,r,i,a=e.length;for(r=0;r=2;)n=n*e/r,r-=2;for(var i=n,a=t;i>1e-10*n;)n+=i=i*e/(a+=2);return 1-n}return Math.round(1e6*d(u,s))/1e6},t.COLUMN=function(e,t){return 2!==arguments.length?l.na:t<0?l.num:e instanceof Array&&"number"==typeof t?0!==e.length?a.col(e,t):void 0:l.value},t.COLUMNS=function(e){return 1!==arguments.length?l.na:e instanceof Array?0===e.length?0:a.cols(e):l.value},t.CONFIDENCE={},t.CONFIDENCE.NORM=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?l.value:a.normalci(1,e,t,n)[1]-1},t.CONFIDENCE.T=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?l.value:a.tci(1,e,t,n)[1]-1},t.CORREL=function(e,t){return e=o.parseNumberArray(o.flatten(e)),t=o.parseNumberArray(o.flatten(t)),o.anyIsError(e,t)?l.value:a.corrcoeff(e,t)},t.COUNT=function(){return o.numbers(o.flatten(arguments)).length},t.COUNTA=function(){var e=o.flatten(arguments);return e.length-t.COUNTBLANK(e)},t.COUNTIN=function(e,t){var n=0;e=o.flatten(e);for(var r=0;r1?l.num:a.centralF.inv(e,t,n)},t.F.INV.RT=function(e,t,n){return 3!==arguments.length?l.na:e<0||e>1||t<1||t>Math.pow(10,10)||n<1||n>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:a.centralF.inv(1-e,t,n)},t.F.TEST=function(e,t){if(!e||!t)return l.na;if(!(e instanceof Array&&t instanceof Array))return l.na;if(e.length<2||t.length<2)return l.div0;var n=function(e,t){for(var n=0,r=0;rt[a-1]&&e[s]<=t[a]&&(i[a]+=1):a===r&&e[s]>t[r-1]&&(i[r]+=1)}return i},t.GAMMA=function(e){return(e=o.parseNumber(e))instanceof Error?e:0===e||parseInt(e,10)===e&&e<0?l.num:a.gammafn(e)},t.GAMMA.DIST=function(e,t,n,r){return 4!==arguments.length?l.na:e<0||t<=0||n<=0||"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:r?a.gamma.cdf(e,t,n,!0):a.gamma.pdf(e,t,n,!1)},t.GAMMA.INV=function(e,t,n){return 3!==arguments.length?l.na:e<0||e>1||t<=0||n<=0?l.num:"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:a.gamma.inv(e,t,n)},t.GAMMALN=function(e){return(e=o.parseNumber(e))instanceof Error?e:a.gammaln(e)},t.GAMMALN.PRECISE=function(e){return 1!==arguments.length?l.na:e<=0?l.num:"number"!=typeof e?l.value:a.gammaln(e)},t.GAUSS=function(e){return(e=o.parseNumber(e))instanceof Error?e:a.normal.cdf(e,0,1)-.5},t.GEOMEAN=function(){var e=o.parseNumberArray(o.flatten(arguments));return e instanceof Error?e:a.geomean(e)},t.GROWTH=function(e,t,n,r){if((e=o.parseNumberArray(e))instanceof Error)return e;var i;if(void 0===t)for(t=[],i=1;i<=e.length;i++)t.push(i);if(void 0===n)for(n=[],i=1;i<=e.length;i++)n.push(i);if(t=o.parseNumberArray(t),n=o.parseNumberArray(n),o.anyIsError(t,n))return l.value;void 0===r&&(r=!0);var a,s,u=e.length,c=0,d=0,f=0,h=0;for(i=0;ia&&(a=r[t],i=[]),r[t]===a&&(i[i.length]=t);return i},t.MODE.SNGL=function(){var e=o.parseNumberArray(o.flatten(arguments));return e instanceof Error?e:t.MODE.MULT(e).sort((function(e,t){return e-t}))[0]},t.NEGBINOM={},t.NEGBINOM.DIST=function(e,t,n,r){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?l.value:r?a.negbin.cdf(e,t,n):a.negbin.pdf(e,t,n)},t.NORM={},t.NORM.DIST=function(e,t,n,r){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?l.value:n<=0?l.num:r?a.normal.cdf(e,t,n):a.normal.pdf(e,t,n)},t.NORM.INV=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?l.value:a.normal.inv(e,t,n)},t.NORM.S={},t.NORM.S.DIST=function(e,t){return(e=o.parseNumber(e))instanceof Error?l.value:t?a.normal.cdf(e,0,1):a.normal.pdf(e,0,1)},t.NORM.S.INV=function(e){return(e=o.parseNumber(e))instanceof Error?l.value:a.normal.inv(e,0,1)},t.PEARSON=function(e,t){if(t=o.parseNumberArray(o.flatten(t)),e=o.parseNumberArray(o.flatten(e)),o.anyIsError(t,e))return l.value;for(var n=a.mean(e),r=a.mean(t),i=e.length,s=0,u=0,c=0,d=0;d1-1/(n+1))return l.num;var r=t*(n+1)-1,i=Math.floor(r);return o.cleanFloat(r===i?e[r]:e[i]+(r-i)*(e[i+1]-e[i]))},t.PERCENTILE.INC=function(e,t){if(e=o.parseNumberArray(o.flatten(e)),t=o.parseNumber(t),o.anyIsError(e,t))return l.value;var n=t*((e=e.sort((function(e,t){return e-t}))).length-1),r=Math.floor(n);return o.cleanFloat(n===r?e[n]:e[r]+(n-r)*(e[r+1]-e[r]))},t.PERCENTRANK={},t.PERCENTRANK.EXC=function(e,t,n){if(n=void 0===n?3:n,e=o.parseNumberArray(o.flatten(e)),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n))return l.value;e=e.sort((function(e,t){return e-t}));for(var r=u.UNIQUE.apply(null,e),i=e.length,a=r.length,s=Math.pow(10,n),c=0,d=!1,f=0;!d&&f=r[f]&&(t=r[f]&&(t=0?t[e.indexOf(n)]:0;for(var i=e.sort((function(e,t){return e-t})),a=i.length,s=0,u=0;u=n&&i[u]<=r&&(s+=t[e.indexOf(i[u])]);return s},t.QUARTILE={},t.QUARTILE.EXC=function(e,n){if(e=o.parseNumberArray(o.flatten(e)),n=o.parseNumber(n),o.anyIsError(e,n))return l.value;switch(n){case 1:return t.PERCENTILE.EXC(e,.25);case 2:return t.PERCENTILE.EXC(e,.5);case 3:return t.PERCENTILE.EXC(e,.75);default:return l.num}},t.QUARTILE.INC=function(e,n){if(e=o.parseNumberArray(o.flatten(e)),n=o.parseNumber(n),o.anyIsError(e,n))return l.value;switch(n){case 1:return t.PERCENTILE.INC(e,.25);case 2:return t.PERCENTILE.INC(e,.5);case 3:return t.PERCENTILE.INC(e,.75);default:return l.num}},t.RANK={},t.RANK.AVG=function(e,t,n){if(e=o.parseNumber(e),t=o.parseNumberArray(o.flatten(t)),o.anyIsError(e,t))return l.value;for(var r=(n=n||!1)?function(e,t){return e-t}:function(e,t){return t-e},i=(t=(t=o.flatten(t)).sort(r)).length,a=0,s=0;s1?(2*t.indexOf(e)+a+1)/2:t.indexOf(e)+1},t.RANK.EQ=function(e,t,n){if(e=o.parseNumber(e),t=o.parseNumberArray(o.flatten(t)),o.anyIsError(e,t))return l.value;var r=(n=n||!1)?function(e,t){return e-t}:function(e,t){return t-e};return(t=t.sort(r)).indexOf(e)+1},t.ROW=function(e,t){return 2!==arguments.length?l.na:t<0?l.num:e instanceof Array&&"number"==typeof t?0!==e.length?a.row(e,t):void 0:l.value},t.ROWS=function(e){return 1!==arguments.length?l.na:e instanceof Array?0===e.length?0:a.rows(e):l.value},t.RSQ=function(e,n){return e=o.parseNumberArray(o.flatten(e)),n=o.parseNumberArray(o.flatten(n)),o.anyIsError(e,n)?l.value:Math.pow(t.PEARSON(e,n),2)},t.SKEW=function(){var e=o.parseNumberArray(o.flatten(arguments));if(e instanceof Error)return e;for(var t=a.mean(e),n=e.length,r=0,i=0;i1||t<1?l.num:o.anyIsError(e,t)?l.value:Math.abs(a.studentt.inv(e/2,t))},t.T.TEST=function(e,n){if(e=o.parseNumberArray(o.flatten(e)),n=o.parseNumberArray(o.flatten(n)),o.anyIsError(e,n))return l.value;var r,i=a.mean(e),s=a.mean(n),u=0,c=0;for(r=0;r-1;)e[t]="TRUE";for(var n=0;(n=e.indexOf(!1))>-1;)e[n]="FALSE";return e.join("")},t.DBCS=function(){throw new Error("DBCS is not implemented")},t.DOLLAR=function(){throw new Error("DOLLAR is not implemented")},t.EXACT=function(e,t){return 2!==arguments.length?i.na:e===t},t.FIND=function(e,t,n){return arguments.length<2?i.na:(n=void 0===n?0:n,t?t.indexOf(e,n-1)+1:null)},t.FIXED=function(){throw new Error("FIXED is not implemented")},t.HTML2TEXT=function(e){var t="";return e&&(e instanceof Array?e.forEach((function(e){""!==t&&(t+="\n"),t+=e.replace(/<(?:.|\n)*?>/gm,"")})):t=e.replace(/<(?:.|\n)*?>/gm,"")),t},t.LEFT=function(e,t){return t=void 0===t?1:t,(t=r.parseNumber(t))instanceof Error||"string"!=typeof e?i.value:e?e.substring(0,t):null},t.LEN=function(e){return 0===arguments.length?i.error:"string"==typeof e?e?e.length:0:e.length?e.length:i.value},t.LOWER=function(e){return"string"!=typeof e?i.value:e?e.toLowerCase():e},t.MID=function(e,t,n){if(t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(t,n)||"string"!=typeof e)return n;var i=t-1,a=i+n;return e.substring(i,a)},t.NUMBERVALUE=function(e,t,n){return t=void 0===t?".":t,n=void 0===n?",":n,Number(e.replace(t,".").replace(n,""))},t.PRONETIC=function(){throw new Error("PRONETIC is not implemented")},t.PROPER=function(e){return void 0===e||0===e.length?i.value:(!0===e&&(e="TRUE"),!1===e&&(e="FALSE"),isNaN(e)&&"number"==typeof e?i.value:("number"==typeof e&&(e=""+e),e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))))},t.REGEXEXTRACT=function(e,t){if(arguments.length<2)return i.na;var n=e.match(new RegExp(t));return n?n[n.length>1?n.length-1:0]:null},t.REGEXMATCH=function(e,t,n){if(arguments.length<2)return i.na;var r=e.match(new RegExp(t));return n?r:!!r},t.REGEXREPLACE=function(e,t,n){return arguments.length<3?i.na:e.replace(new RegExp(t),n)},t.REPLACE=function(e,t,n,a){return t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(t,n)||"string"!=typeof e||"string"!=typeof a?i.value:e.substr(0,t-1)+a+e.substr(t-1+n)},t.REPT=function(e,t){return(t=r.parseNumber(t))instanceof Error?t:new Array(t+1).join(e)},t.RIGHT=function(e,t){return t=void 0===t?1:t,(t=r.parseNumber(t))instanceof Error?t:e?e.substring(e.length-t):i.na},t.SEARCH=function(e,t,n){var r;return"string"!=typeof e||"string"!=typeof t?i.value:(n=void 0===n?0:n,0===(r=t.toLowerCase().indexOf(e.toLowerCase(),n-1)+1)?i.value:r)},t.SPLIT=function(e,t){return e.split(t)},t.SUBSTITUTE=function(e,t,n,r){if(arguments.length<2)return i.na;if(!(e&&t&&n))return e;if(void 0===r)return e.replace(new RegExp(t,"g"),n);for(var a=0,o=0;e.indexOf(t,a)>0;)if(a=e.indexOf(t,a+1),++o===r)return e.substring(0,a)+n+e.substring(a+t.length)},t.T=function(e){return"string"==typeof e?e:""},t.TEXT=function(){throw new Error("TEXT is not implemented")},t.TRIM=function(e){return"string"!=typeof e?i.value:e.replace(/ +/g," ").trim()},t.UNICHAR=t.CHAR,t.UNICODE=t.CODE,t.UPPER=function(e){return"string"!=typeof e?i.value:e.toUpperCase()},t.VALUE=function(){throw new Error("VALUE is not implemented")}},function(e,t){var n=[">",">=","<","<=","=","<>"],r=["operator","literal"];function i(e,t){if(-1===r.indexOf(t))throw new Error("Unsupported token type: "+t);return{value:e,type:t}}function a(e){for(var t,r="",a=[],o=0;o=0?a.push(i(s,"operator")):r+=s}return r.length>0&&a.push(i(("string"!=typeof(t=r)||/^\d+(\.\d+)?$/.test(t)&&(t=-1===t.indexOf(".")?parseInt(t,10):parseFloat(t)),t),"literal")),a.length>0&&"operator"!==a[0].type&&a.unshift(i("=","operator")),a}t.TOKEN_TYPE_OPERATOR="operator",t.TOKEN_TYPE_LITERAL="literal",t.parse=function(e){return a(function(e){for(var t=e.length,n=[],r=0,i="",a="";r":case"<":case"=":a+=o,i.length>0&&(n.push(i),i="");break;default:a.length>0&&(n.push(a),a=""),i+=o}r++}return i.length>0&&n.push(i),a.length>0&&n.push(a),n}(e))},t.createToken=i,t.compute=function(e){for(var t,n=[],r=0;r":n=e[0]>e[1];break;case">=":n=e[0]>=e[1];break;case"<":n=e[0]":n=e[0]!=e[1]}return n}(n,t)}},function(e,t,n){var r=n(0);t.CELL=function(){throw new Error("CELL is not implemented")},t.ERROR={},t.ERROR.TYPE=function(e){switch(e){case r.nil:return 1;case r.div0:return 2;case r.value:return 3;case r.ref:return 4;case r.name:return 5;case r.num:return 6;case r.na:return 7;case r.data:return 8}return r.na},t.INFO=function(){throw new Error("INFO is not implemented")},t.ISBLANK=function(e){return null===e},t.ISBINARY=function(e){return/^[01]{1,10}$/.test(e)},t.ISERR=function(e){return[r.value,r.ref,r.div0,r.num,r.name,r.nil].indexOf(e)>=0||"number"==typeof e&&(isNaN(e)||!isFinite(e))},t.ISERROR=function(e){return t.ISERR(e)||e===r.na},t.ISEVEN=function(e){return!(1&Math.floor(Math.abs(e)))},t.ISFORMULA=function(){throw new Error("ISFORMULA is not implemented")},t.ISLOGICAL=function(e){return!0===e||!1===e},t.ISNA=function(e){return e===r.na},t.ISNONTEXT=function(e){return"string"!=typeof e},t.ISNUMBER=function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)},t.ISODD=function(e){return!!(1&Math.floor(Math.abs(e)))},t.ISREF=function(){throw new Error("ISREF is not implemented")},t.ISTEXT=function(e){return"string"==typeof e},t.N=function(e){return this.ISNUMBER(e)?e:e instanceof Date?e.getTime():!0===e?1:!1===e?0:this.ISERROR(e)?e:0},t.NA=function(){return r.na},t.SHEET=function(){throw new Error("SHEET is not implemented")},t.SHEETS=function(){throw new Error("SHEETS is not implemented")},t.TYPE=function(e){return this.ISNUMBER(e)?1:this.ISTEXT(e)?2:this.ISLOGICAL(e)?4:this.ISERROR(e)?16:Array.isArray(e)?64:void 0}},function(e,t,n){var r=n(0),i=n(1),a=new Date(Date.UTC(1900,0,1)),o=[void 0,0,1,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,1,2,3,4,5,6,0],s=[[],[1,2,3,4,5,6,7],[7,1,2,3,4,5,6],[6,0,1,2,3,4,5],[],[],[],[],[],[],[],[7,1,2,3,4,5,6],[6,7,1,2,3,4,5],[5,6,7,1,2,3,4],[4,5,6,7,1,2,3],[3,4,5,6,7,1,2],[2,3,4,5,6,7,1],[1,2,3,4,5,6,7]],l=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]];function u(e){return 1===new Date(e,1,29).getMonth()}function c(e,t){return Math.ceil((t-e)/1e3/60/60/24)}function d(e){var t=e>-22038912e5?2:1;return Math.ceil((e-a)/864e5)+t}t.DATE=function(e,t,n){return e=i.parseNumber(e),t=i.parseNumber(t),n=i.parseNumber(n),i.anyIsError(e,t,n)?r.value:e<0||t<0||n<0?r.num:new Date(e,t-1,n)},t.DATEVALUE=function(e){var t,n=2;return"string"!=typeof e?r.value:(t=Date.parse(e),isNaN(t)?r.value:(t<=-22038912e5&&(n=1),Math.ceil((t-a)/864e5)+n))},t.DAY=function(e){var t=i.parseDate(e);return t instanceof Error?t:t.getDate()},t.DAYS=function(e,t){return e=i.parseDate(e),t=i.parseDate(t),e instanceof Error?e:t instanceof Error?t:d(e)-d(t)},t.DAYS360=function(e,t,n){if(n=i.parseBool(n),e=i.parseDate(e),t=i.parseDate(t),e instanceof Error)return e;if(t instanceof Error)return t;if(n instanceof Error)return n;var r,a,o=e.getMonth(),s=t.getMonth();if(n)r=31===e.getDate()?30:e.getDate(),a=31===t.getDate()?30:t.getDate();else{var l=new Date(e.getFullYear(),o+1,0).getDate(),u=new Date(t.getFullYear(),s+1,0).getDate();r=e.getDate()===l?30:e.getDate(),t.getDate()===u?r<30?(s++,a=1):a=30:a=t.getDate()}return 360*(t.getFullYear()-e.getFullYear())+30*(s-o)+(a-r)},t.EDATE=function(e,t){return(e=i.parseDate(e))instanceof Error?e:isNaN(t)?r.value:(t=parseInt(t,10),e.setMonth(e.getMonth()+t),d(e))},t.EOMONTH=function(e,t){return(e=i.parseDate(e))instanceof Error?e:isNaN(t)?r.value:(t=parseInt(t,10),d(new Date(e.getFullYear(),e.getMonth()+t+1,0)))},t.HOUR=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getHours()},t.INTERVAL=function(e){if("number"!=typeof e&&"string"!=typeof e)return r.value;e=parseInt(e,10);var t=Math.floor(e/94608e4);e%=94608e4;var n=Math.floor(e/2592e3);e%=2592e3;var i=Math.floor(e/86400);e%=86400;var a=Math.floor(e/3600);e%=3600;var o=Math.floor(e/60),s=e%=60;return"P"+(t=t>0?t+"Y":"")+(n=n>0?n+"M":"")+(i=i>0?i+"D":"")+"T"+(a=a>0?a+"H":"")+(o=o>0?o+"M":"")+(s=s>0?s+"S":"")},t.ISOWEEKNUM=function(e){if((e=i.parseDate(e))instanceof Error)return e;e.setHours(0,0,0),e.setDate(e.getDate()+4-(e.getDay()||7));var t=new Date(e.getFullYear(),0,1);return Math.ceil(((e-t)/864e5+1)/7)},t.MINUTE=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getMinutes()},t.MONTH=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getMonth()+1},t.NETWORKDAYS=function(e,t,n){return this.NETWORKDAYS.INTL(e,t,1,n)},t.NETWORKDAYS.INTL=function(e,t,n,a){if((e=i.parseDate(e))instanceof Error)return e;if((t=i.parseDate(t))instanceof Error)return t;if(!((n=void 0===n?l[1]:l[n])instanceof Array))return r.value;void 0===a?a=[]:a instanceof Array||(a=[a]);for(var o=0;o0?d.getUTCDay():d.getDay(),h=!1;f!==n[0]&&f!==n[1]||(h=!0);for(var p=0;pl||a===l&&r>=s))return(o===d&&u(o)||function(e,t){var n=e.getFullYear(),r=new Date(n,2,1);if(u(n)&&e=r)return!0;var i=t.getFullYear(),a=new Date(i,2,1);return u(i)&&t>=a&&e=0;)t+=e[n];return t},e.sumsqrd=function(e){for(var t=0,n=e.length;--n>=0;)t+=e[n]*e[n];return t},e.sumsqerr=function(t){for(var n,r=e.mean(t),i=0,a=t.length;--a>=0;)i+=(n=t[a]-r)*n;return i},e.sumrow=function(e){for(var t=0,n=e.length;--n>=0;)t+=e[n];return t},e.product=function(e){for(var t=1,n=e.length;--n>=0;)t*=e[n];return t},e.min=function(e){for(var t=e[0],n=0;++nt&&(t=e[n]);return t},e.unique=function(e){for(var t={},n=[],r=0;ro?(l=[i[t]],o=a,s=0):a===o&&(l.push(i[t]),s++),a=1);return 0===s?l[0]:l},e.range=function(t){return e.max(t)-e.min(t)},e.variance=function(t,n){return e.sumsqerr(t)/(t.length-(n?1:0))},e.pooledvariance=function(t){return t.reduce((function(t,n){return t+e.sumsqerr(n)}),0)/(t.reduce((function(e,t){return e+t.length}),0)-t.length)},e.deviation=function(t){for(var n=e.mean(t),r=t.length,i=new Array(r),a=0;a=0;a--)i.push(t.abs(n[a]-r));return e.mean(i)},e.meddev=function(n){for(var r=e.median(n),i=[],a=n.length-1;a>=0;a--)i.push(t.abs(n[a]-r));return e.median(i)},e.coeffvar=function(t){return e.stdev(t)/e.mean(t)},e.quartiles=function(e){var n=e.length,i=e.slice().sort(r);return[i[t.round(n/4)-1],i[t.round(n/2)-1],i[t.round(3*n/4)-1]]},e.quantiles=function(e,n,a,o){var s,l,u,c,d,f=e.slice().sort(r),h=[n.length],p=e.length;for(void 0===a&&(a=3/8),void 0===o&&(o=3/8),s=0;s1){for(l=!0===r?this:this.transpose();s1){for("sumrow"!==t&&(l=!0===r?this:this.transpose());s1){for(s=s.transpose();on?t:n;return e.pow(10,17-~~(e.log(r>0?r:-r)*e.LOG10E))}var o=Array.isArray||function(e){return"[object Array]"===i.call(e)};function s(e){return"[object Function]"===i.call(e)}function l(e){return"number"==typeof e&&e-e==0}function u(){return new u._init(arguments)}function c(){return 0}function d(){return 1}function f(e,t){return e===t?1:0}u.fn=u.prototype,u._init=function(e){if(o(e[0]))if(o(e[0][0])){s(e[1])&&(e[0]=u.map(e[0],e[1]));for(var t=0;t=0;t--,r++)n[r]=[e[r][t]];return n},u.transpose=function(e){var t,n,r,i,a,s=[];for(o(e[0])||(e=[e]),n=e.length,r=e[0].length,a=0;a0&&(s[r][0]=e[r][0]),l=1;lt&&n>0)return[];if(n>0)for(r=e;rt;r+=n)i.push(r);return i},u.slice=function(){function e(e,t,n,r){var i,a=[],o=e.length;if(void 0===t&&void 0===n&&void 0===r)return u.copy(e);if(r=r||1,(t=(t=t||0)>=0?t:o+t)===(n=(n=n||e.length)>=0?n:o+n)||0===r)return[];if(tn&&r>0)return[];if(r>0)for(i=t;in;i+=r)a.push(e[i]);return a}return function(t,n){var r,i;return l((n=n||{}).row)?l(n.col)?t[n.row][n.col]:e(u.rowa(t,n.row),(r=n.col||{}).start,r.end,r.step):l(n.col)?e(u.cola(t,n.col),(i=n.row||{}).start,i.end,i.step):(i=n.row||{},r=n.col||{},e(t,i.start,i.end,i.step).map((function(t){return e(t,r.start,r.end,r.step)})))}}(),u.sliceAssign=function(t,n,r){var i,a;if(l(n.row)){if(l(n.col))return t[n.row][n.col]=r;n.col=n.col||{},n.col.start=n.col.start||0,n.col.end=n.col.end||t[0].length,n.col.step=n.col.step||1,i=u.arange(n.col.start,e.min(t.length,n.col.end),n.col.step);var o=n.row;return i.forEach((function(e,n){t[o][e]=r[n]})),t}if(l(n.col)){n.row=n.row||{},n.row.start=n.row.start||0,n.row.end=n.row.end||t.length,n.row.step=n.row.step||1,a=u.arange(n.row.start,e.min(t[0].length,n.row.end),n.row.step);var s=n.col;return a.forEach((function(e,n){t[e][s]=r[n]})),t}return void 0===r[0].length&&(r=[r]),n.row.start=n.row.start||0,n.row.end=n.row.end||t.length,n.row.step=n.row.step||1,n.col.start=n.col.start||0,n.col.end=n.col.end||t[0].length,n.col.step=n.col.step||1,a=u.arange(n.row.start,e.min(t.length,n.row.end),n.row.step),i=u.arange(n.col.start,e.min(t[0].length,n.col.end),n.col.step),a.forEach((function(e,n){i.forEach((function(i,a){t[e][i]=r[n][a]}))})),t},u.diagonal=function(e){var t=u.zeros(e.length,e.length);return e.forEach((function(e,n){t[n][n]=e})),t},u.copy=function(e){return e.map((function(e){return l(e)?e:e.map((function(e){return e}))}))};var h=u.prototype;return h.length=0,h.push=Array.prototype.push,h.sort=Array.prototype.sort,h.splice=Array.prototype.splice,h.slice=Array.prototype.slice,h.toArray=function(){return this.length>1?r.call(this):r.call(this)[0]},h.map=function(e,t){return u(u.map(this,e,t))},h.cumreduce=function(e,t){return u(u.cumreduce(this,e,t))},h.alter=function(e){return u.alter(this,e),this},function(e){for(var t=0;t=0;s--)o*=r,o+=u[s];if(a=o/n+.5*t.log(i)+(n-.5)*t.log(n)-n,e<=7)for(s=1;s<=l;s++)a-=t.log(n-1),n-=1;return a},e.gammafn=function(e){var n,r,i,a,o=[-1.716185138865495,24.76565080557592,-379.80425647094563,629.3311553128184,866.9662027904133,-31451.272968848367,-36144.413418691176,66456.14382024054],s=[-30.8402300119739,315.35062697960416,-1015.1563674902192,-3107.771671572311,22538.11842098015,4755.846277527881,-134659.9598649693,-115132.2596755535],l=!1,u=0,c=0,d=0,f=e;if(f<=0){if(!(a=f%1+36e-17))return 1/0;l=(1&f?-1:1)*t.PI/t.sin(t.PI*a),f=1-f}for(i=f,r=f<1?f++:(f-=u=(0|f)-1)-1,n=0;n<8;++n)d=(d+o[n])*r,c=c*r+s[n];if(a=d/c+1,if)for(n=0;n=1?n:1/n)+.4*n+17);if(r<0||n<=0)return NaN;if(r170||r>170?t.exp(e.combinationln(n,r)):e.factorial(n)/e.factorial(r)/e.factorial(n-r)},e.combinationln=function(t,n){return e.factorialln(t)-e.factorialln(n)-e.factorialln(t-n)},e.permutation=function(t,n){return e.factorial(t)/e.factorial(t-n)},e.betafn=function(n,r){if(!(n<=0||r<=0))return n+r>170?t.exp(e.betaln(n,r)):e.gammafn(n)*e.gammafn(r)/e.gammafn(n+r)},e.betaln=function(t,n){return e.gammaln(t)+e.gammaln(n)-e.gammaln(t+n)},e.betacf=function(e,n,r){var i,a,o,s,l=1,u=n+r,c=n+1,d=n-1,f=1,h=1-u*e/c;for(t.abs(h)<1e-30&&(h=1e-30),s=h=1/h;l<=100&&(h=1+(a=l*(r-l)*e/((d+(i=2*l))*(n+i)))*h,t.abs(h)<1e-30&&(h=1e-30),f=1+a/f,t.abs(f)<1e-30&&(f=1e-30),s*=(h=1/h)*f,h=1+(a=-(n+l)*(u+l)*e/((n+i)*(c+i)))*h,t.abs(h)<1e-30&&(h=1e-30),f=1+a/f,t.abs(f)<1e-30&&(f=1e-30),s*=o=(h=1/h)*f,!(t.abs(o-1)<3e-7));l++);return s},e.gammapinv=function(n,r){var i,a,o,s,l,u,c=0,d=r-1,f=e.gammaln(r);if(n>=1)return t.max(100,r+100*t.sqrt(r));if(n<=0)return 0;for(r>1?(l=t.log(d),u=t.exp(d*(l-1)-f),s=n<.5?n:1-n,i=(2.30753+.27061*(a=t.sqrt(-2*t.log(s))))/(1+a*(.99229+.04481*a))-a,n<.5&&(i=-i),i=t.max(.001,r*t.pow(1-1/(9*r)-i/(3*t.sqrt(r)),3))):i=n<(a=1-r*(.253+.12*r))?t.pow(n/a,1/r):1-t.log(1-(n-a)/(1-a));c<12;c++){if(i<=0)return 0;if((i-=a=(o=(e.lowRegGamma(r,i)-n)/(a=r>1?u*t.exp(-(i-d)+d*(t.log(i)-l)):t.exp(-i+d*t.log(i)-f)))/(1-.5*t.min(1,o*((r-1)/i-1))))<=0&&(i=.5*(i+a)),t.abs(a)<1e-8*i)break}return i},e.erf=function(e){var n,r,i,a,o=[-1.3026537197817094,.6419697923564902,.019476473204185836,-.00956151478680863,-.000946595344482036,.000366839497852761,42523324806907e-18,-20278578112534e-18,-1624290004647e-18,130365583558e-17,1.5626441722e-8,-8.5238095915e-8,6.529054439e-9,5.059343495e-9,-9.91364156e-10,-2.27365122e-10,96467911e-18,2394038e-18,-6886027e-18,894487e-18,313092e-18,-112708e-18,381e-18,7106e-18,-1523e-18,-94e-18,121e-18,-28e-18],s=o.length-1,l=!1,u=0,c=0;for(e<0&&(e=-e,l=!0),r=4*(n=2/(2+e))-2;s>0;s--)i=u,u=r*u-c+o[s],c=i;return a=n*t.exp(-e*e+.5*(o[0]+r*u)-c),l?a-1:1-a},e.erfc=function(t){return 1-e.erf(t)},e.erfcinv=function(n){var r,i,a,o,s=0;if(n>=2)return-100;if(n<=0)return 100;for(o=n<1?n:2-n,r=-.70711*((2.30753+.27061*(a=t.sqrt(-2*t.log(o/2))))/(1+a*(.99229+.04481*a))-a);s<2;s++)r+=(i=e.erfc(r)-o)/(1.1283791670955126*t.exp(-r*r)-r*i);return n<1?r:-r},e.ibetainv=function(n,r,i){var a,o,s,l,u,c,d,f,h,p,m=r-1,g=i-1,v=0;if(n<=0)return 0;if(n>=1)return 1;for(r>=1&&i>=1?(s=n<.5?n:1-n,c=(2.30753+.27061*(l=t.sqrt(-2*t.log(s))))/(1+l*(.99229+.04481*l))-l,n<.5&&(c=-c),d=(c*c-3)/6,f=2/(1/(2*r-1)+1/(2*i-1)),h=c*t.sqrt(d+f)/f-(1/(2*i-1)-1/(2*r-1))*(d+5/6-2/(3*f)),c=r/(r+i*t.exp(2*h))):(a=t.log(r/(r+i)),o=t.log(i/(r+i)),c=n<(l=t.exp(r*a)/r)/(h=l+(u=t.exp(i*o)/i))?t.pow(r*h*n,1/r):1-t.pow(i*h*(1-n),1/i)),p=-e.gammaln(r)-e.gammaln(i)+e.gammaln(r+i);v<10;v++){if(0===c||1===c)return c;if((c-=l=(u=(e.ibeta(c,r,i)-n)/(l=t.exp(m*t.log(c)+g*t.log(1-c)+p)))/(1-.5*t.min(1,u*(m/c-g/(1-c)))))<=0&&(c=.5*(c+l)),c>=1&&(c=.5*(c+l+1)),t.abs(l)<1e-8*c&&v>0)break}return c},e.ibeta=function(n,r,i){var a=0===n||1===n?0:t.exp(e.gammaln(r+i)-e.gammaln(r)-e.gammaln(i)+r*t.log(n)+i*t.log(1-n));return!(n<0||n>1)&&(n<(r+1)/(r+i+2)?a*e.betacf(n,r,i)/r:1-a*e.betacf(1-n,i,r)/i)},e.randn=function(n,r){var i,a,o,s,l;if(r||(r=n),n)return e.create(n,r,(function(){return e.randn()}));do{i=e._random_fn(),a=1.7156*(e._random_fn()-.5),l=(o=i-.449871)*o+(s=t.abs(a)+.386595)*(.196*s-.25472*o)}while(l>.27597&&(l>.27846||a*a>-4*t.log(i)*i*i));return a/i},e.randg=function(n,r,i){var a,o,s,l,u,c,d=n;if(i||(i=r),n||(n=1),r)return(c=e.zeros(r,i)).alter((function(){return e.randg(n)})),c;n<1&&(n+=1),a=n-1/3,o=1/t.sqrt(9*a);do{do{l=1+o*(u=e.randn())}while(l<=0);l*=l*l,s=e._random_fn()}while(s>1-.331*t.pow(u,4)&&t.log(s)>.5*u*u+a*(1-l+t.log(l)));if(n==d)return a*l;do{s=e._random_fn()}while(0===s);return t.pow(s,1/d)*a*l},function(t){for(var n=0;ni;)d=l,s=u+(a=-(n+c)*(n+r+c)*e/(n+2*c)/(n+2*c+1))*s,l=(o=l+a*o)+(a=(c+=1)*(r-c)*e/(n+2*c-1)/(n+2*c))*l,o/=u=s+a*u,s/=u,l/=u,u=1;return l/n}function r(n,r,i){var a=[.9815606342467192,.9041172563704749,.7699026741943047,.5873179542866175,.3678314989981802,.1252334085114689],o=[.04717533638651183,.10693932599531843,.16007832854334622,.20316742672306592,.2334925365383548,.24914704581340277],s=.5*n;if(s>=8)return 1;var l,u=2*e.normal.cdf(s,0,1,1,0)-1;u=u>=t.exp(-50/i)?t.pow(u,i):0;for(var c=s,d=(8-s)/(l=n>3?2:3),f=c+d,h=0,p=i-1,m=1;m<=l;m++){for(var g=0,v=.5*(f+c),_=.5*(f-c),y=1;y<=12;y++){var b,S=v+_*(660)break;var w=2*e.normal.cdf(S,0,1,1,0)*.5-2*e.normal.cdf(S,n,1,1,0)*.5;w>=t.exp(-30/p)&&(g+=w=o[b-1]*t.exp(-.5*E)*t.pow(w,p))}h+=g*=2*_*i/t.sqrt(2*t.PI),c=f,f+=d}return(u+=h)<=t.exp(-30/r)?0:(u=t.pow(u,r))>=1?1:u}!function(t){for(var n=0;n1||n<0?0:1==r&&1==i?1:r<512&&i<512?t.pow(n,r-1)*t.pow(1-n,i-1)/e.betafn(r,i):t.exp((r-1)*t.log(n)+(i-1)*t.log(1-n)-e.betaln(r,i))},cdf:function(t,n,r){return t>1||t<0?1*(t>1):e.ibeta(t,n,r)},inv:function(t,n,r){return e.ibetainv(t,n,r)},mean:function(e,t){return e/(e+t)},median:function(t,n){return e.ibetainv(.5,t,n)},mode:function(e,t){return(e-1)/(e+t-2)},sample:function(t,n){var r=e.randg(t);return r/(r+e.randg(n))},variance:function(e,n){return e*n/(t.pow(e+n,2)*(e+n+1))}}),e.extend(e.centralF,{pdf:function(n,r,i){var a;return n<0?0:r<=2?0===n&&r<2?1/0:0===n&&2===r?1:1/e.betafn(r/2,i/2)*t.pow(r/i,r/2)*t.pow(n,r/2-1)*t.pow(1+r/i*n,-(r+i)/2):(a=r*n/(i+n*r),r*(i/(i+n*r))/2*e.binomial.pdf((r-2)/2,(r+i-2)/2,a))},cdf:function(t,n,r){return t<0?0:e.ibeta(n*t/(n*t+r),n/2,r/2)},inv:function(t,n,r){return r/(n*(1/e.ibetainv(t,n/2,r/2)-1))},mean:function(e,t){return t>2?t/(t-2):void 0},mode:function(e,t){return e>2?t*(e-2)/(e*(t+2)):void 0},sample:function(t,n){return 2*e.randg(t/2)/t/(2*e.randg(n/2)/n)},variance:function(e,t){if(!(t<=4))return 2*t*t*(e+t-2)/(e*(t-2)*(t-2)*(t-4))}}),e.extend(e.cauchy,{pdf:function(e,n,r){return r<0?0:r/(t.pow(e-n,2)+t.pow(r,2))/t.PI},cdf:function(e,n,r){return t.atan((e-n)/r)/t.PI+.5},inv:function(e,n,r){return n+r*t.tan(t.PI*(e-.5))},median:function(e){return e},mode:function(e){return e},sample:function(n,r){return e.randn()*t.sqrt(1/(2*e.randg(.5)))*r+n}}),e.extend(e.chisquare,{pdf:function(n,r){return n<0?0:0===n&&2===r?.5:t.exp((r/2-1)*t.log(n)-n/2-r/2*t.log(2)-e.gammaln(r/2))},cdf:function(t,n){return t<0?0:e.lowRegGamma(n/2,t/2)},inv:function(t,n){return 2*e.gammapinv(t,.5*n)},mean:function(e){return e},median:function(e){return e*t.pow(1-2/(9*e),3)},mode:function(e){return e-2>0?e-2:0},sample:function(t){return 2*e.randg(t/2)},variance:function(e){return 2*e}}),e.extend(e.exponential,{pdf:function(e,n){return e<0?0:n*t.exp(-n*e)},cdf:function(e,n){return e<0?0:1-t.exp(-n*e)},inv:function(e,n){return-t.log(1-e)/n},mean:function(e){return 1/e},median:function(e){return 1/e*t.log(2)},mode:function(){return 0},sample:function(n){return-1/n*t.log(e._random_fn())},variance:function(e){return t.pow(e,-2)}}),e.extend(e.gamma,{pdf:function(n,r,i){return n<0?0:0===n&&1===r?1/i:t.exp((r-1)*t.log(n)-n/i-e.gammaln(r)-r*t.log(i))},cdf:function(t,n,r){return t<0?0:e.lowRegGamma(n,t/r)},inv:function(t,n,r){return e.gammapinv(t,n)*r},mean:function(e,t){return e*t},mode:function(e,t){if(e>1)return(e-1)*t},sample:function(t,n){return e.randg(t)*n},variance:function(e,t){return e*t*t}}),e.extend(e.invgamma,{pdf:function(n,r,i){return n<=0?0:t.exp(-(r+1)*t.log(n)-i/n-e.gammaln(r)+r*t.log(i))},cdf:function(t,n,r){return t<=0?0:1-e.lowRegGamma(n,r/t)},inv:function(t,n,r){return r/e.gammapinv(1-t,n)},mean:function(e,t){return e>1?t/(e-1):void 0},mode:function(e,t){return t/(e+1)},sample:function(t,n){return n/e.randg(t)},variance:function(e,t){if(!(e<=2))return t*t/((e-1)*(e-1)*(e-2))}}),e.extend(e.kumaraswamy,{pdf:function(e,n,r){return 0===e&&1===n?r:1===e&&1===r?n:t.exp(t.log(n)+t.log(r)+(n-1)*t.log(e)+(r-1)*t.log(1-t.pow(e,n)))},cdf:function(e,n,r){return e<0?0:e>1?1:1-t.pow(1-t.pow(e,n),r)},inv:function(e,n,r){return t.pow(1-t.pow(1-e,1/r),1/n)},mean:function(t,n){return n*e.gammafn(1+1/t)*e.gammafn(n)/e.gammafn(1+1/t+n)},median:function(e,n){return t.pow(1-t.pow(2,-1/n),1/e)},mode:function(e,n){if(e>=1&&n>=1&&1!==e&&1!==n)return t.pow((e-1)/(e*n-1),1/e)},variance:function(){throw new Error("variance not yet implemented")}}),e.extend(e.lognormal,{pdf:function(e,n,r){return e<=0?0:t.exp(-t.log(e)-.5*t.log(2*t.PI)-t.log(r)-t.pow(t.log(e)-n,2)/(2*r*r))},cdf:function(n,r,i){return n<0?0:.5+.5*e.erf((t.log(n)-r)/t.sqrt(2*i*i))},inv:function(n,r,i){return t.exp(-1.4142135623730951*i*e.erfcinv(2*n)+r)},mean:function(e,n){return t.exp(e+n*n/2)},median:function(e){return t.exp(e)},mode:function(e,n){return t.exp(e-n*n)},sample:function(n,r){return t.exp(e.randn()*r+n)},variance:function(e,n){return(t.exp(n*n)-1)*t.exp(2*e+n*n)}}),e.extend(e.noncentralt,{pdf:function(n,r,i){return t.abs(i)<1e-14?e.studentt.pdf(n,r):t.abs(n)<1e-14?t.exp(e.gammaln((r+1)/2)-i*i/2-.5*t.log(t.PI*r)-e.gammaln(r/2)):r/n*(e.noncentralt.cdf(n*t.sqrt(1+2/r),r+2,i)-e.noncentralt.cdf(n,r,i))},cdf:function(n,r,i){if(t.abs(i)<1e-14)return e.studentt.cdf(n,r);var a=!1;n<0&&(a=!0,i=-i);for(var o=e.normal.cdf(-i,0,1),s=1e-14+1,l=s,u=n*n/(n*n+r),c=0,d=t.exp(-i*i/2),f=t.exp(-i*i/2-.5*t.log(2)-e.gammaln(1.5))*i;c<200||l>1e-14||s>1e-14;)l=s,c>0&&(d*=i*i/(2*c),f*=i*i/(2*(c+.5))),o+=.5*(s=d*e.beta.cdf(u,c+.5,r/2)+f*e.beta.cdf(u,c+1,r/2)),c++;return a?1-o:o}}),e.extend(e.normal,{pdf:function(e,n,r){return t.exp(-.5*t.log(2*t.PI)-t.log(r)-t.pow(e-n,2)/(2*r*r))},cdf:function(n,r,i){return.5*(1+e.erf((n-r)/t.sqrt(2*i*i)))},inv:function(t,n,r){return-1.4142135623730951*r*e.erfcinv(2*t)+n},mean:function(e){return e},median:function(e){return e},mode:function(e){return e},sample:function(t,n){return e.randn()*n+t},variance:function(e,t){return t*t}}),e.extend(e.pareto,{pdf:function(e,n,r){return e1e100?1e100:r,1/(t.sqrt(r)*e.betafn(.5,r/2))*t.pow(1+n*n/r,-(r+1)/2)},cdf:function(n,r){var i=r/2;return e.ibeta((n+t.sqrt(n*n+r))/(2*t.sqrt(n*n+r)),i,i)},inv:function(n,r){var i=e.ibetainv(2*t.min(n,1-n),.5*r,.5);return i=t.sqrt(r*(1-i)/i),n>.5?i:-i},mean:function(e){return e>1?0:void 0},median:function(){return 0},mode:function(){return 0},sample:function(n){return e.randn()*t.sqrt(n/(2*e.randg(n/2)))},variance:function(e){return e>2?e/(e-2):e>1?1/0:void 0}}),e.extend(e.weibull,{pdf:function(e,n,r){return e<0||n<0||r<0?0:r/n*t.pow(e/n,r-1)*t.exp(-t.pow(e/n,r))},cdf:function(e,n,r){return e<0?0:1-t.exp(-t.pow(e/n,r))},inv:function(e,n,r){return n*t.pow(-t.log(1-e),1/r)},mean:function(t,n){return t*e.gammafn(1+1/n)},median:function(e,n){return e*t.pow(t.log(2),1/n)},mode:function(e,n){return n<=1?0:e*t.pow((n-1)/n,1/n)},sample:function(n,r){return n*t.pow(-t.log(e._random_fn()),1/r)},variance:function(n,r){return n*n*e.gammafn(1+2/r)-t.pow(e.weibull.mean(n,r),2)}}),e.extend(e.uniform,{pdf:function(e,t,n){return en?0:1/(n-t)},cdf:function(e,t,n){return e=i)return 1;if(a<0||a>1||i<=0)return NaN;var s=a,l=(r=t.floor(r))+1,u=i-r,c=l+u,d=t.exp(e.gammaln(c)-e.gammaln(u)-e.gammaln(l)+l*t.log(s)+u*t.log(1-s));return o=s<(l+1)/(c+2)?d*n(s,l,u,1e-10):1-d*n(1-s,u,l,1e-10),t.round(1/1e-10*(1-o))/(1/1e-10)}}),e.extend(e.negbin,{pdf:function(n,r,i){return n===n>>>0&&(n<0?0:e.combination(n+r-1,r-1)*t.pow(1-i,n)*t.pow(i,r))},cdf:function(t,n,r){var i=0,a=0;if(t<0)return 0;for(;a<=t;a++)i+=e.negbin.pdf(a,n,r);return i}}),e.extend(e.hypgeom,{pdf:function(n,r,i,a){if(n!=n|0)return!1;if(n<0||na||n>i)return 0;if(2*i>r)return 2*a>r?e.hypgeom.pdf(r-i-a+n,r,r-i,r-a):e.hypgeom.pdf(a-n,r,r-i,a);if(2*a>r)return e.hypgeom.pdf(i-n,r,i,r-a);if(i1&&s=a||n>=i)return 1;if(2*i>r)return 2*a>r?e.hypgeom.cdf(r-i-a+n,r,r-i,r-a):1-e.hypgeom.cdf(a-n-1,r,r-i,a);if(2*a>r)return 1-e.hypgeom.cdf(i-n-1,r,i,r-a);if(i1&&la);return i-1},sampleLarge:function(n){var r,i,a,o,s,l,u,c,d,f,h=n;for(o=t.sqrt(h),s=t.log(h),l=.02483*(u=.931+2.53*o)-.059,c=1.1239+1.1328/(u-3.4),d=.9277-3.6224/(u-2);;){if(i=t.random()-.5,a=t.random(),f=.5-t.abs(i),r=t.floor((2*l/f+u)*i+h+.43),f>=.07&&a<=d)return r;if(!(r<0||f<.013&&a>f)&&t.log(a)+t.log(c)-t.log(l/(f*f)+u)<=r*s-h-e.loggam(r+1))return r}},sample:function(e){return e<10?this.sampleSmall(e):this.sampleLarge(e)}}),e.extend(e.triangular,{pdf:function(e,t,n,r){return n<=t||rn?NaN:en?0:er?NaN:e<=n?0:e>=r?1:e<=i?t.pow(e-n,2)/((r-n)*(i-n)):1-t.pow(r-e,2)/((r-n)*(r-i))},inv:function(e,n,r,i){return r<=n||ir?NaN:e<=(i-n)/(r-n)?n+(r-n)*t.sqrt(e*((i-n)/(r-n))):n+(r-n)*(1-t.sqrt((1-e)*(1-(i-n)/(r-n))))},mean:function(e,t,n){return(e+t+n)/3},median:function(e,n,r){return r<=(e+n)/2?n-t.sqrt((n-e)*(n-r))/t.sqrt(2):r>(e+n)/2?e+t.sqrt((n-e)*(r-e))/t.sqrt(2):void 0},mode:function(e,t,n){return n},sample:function(n,r,i){var a=e._random_fn();return a<(i-n)/(r-n)?n+t.sqrt(a*(r-n)*(i-n)):r-t.sqrt((1-a)*(r-n)*(r-i))},variance:function(e,t,n){return(e*e+t*t+n*n-e*t-e*n-t*n)/18}}),e.extend(e.arcsine,{pdf:function(e,n,r){return r<=n?NaN:e<=n||e>=r?0:2/t.PI*t.pow(t.pow(r-n,2)-t.pow(2*e-n-r,2),-.5)},cdf:function(e,n,r){return e25e3)return r(n,1,o);var u,c=.5*a,d=c*t.log(a)-a*t.log(2)-e.gammaln(c),f=c-1,h=.25*a;u=a<=100?1:a<=800?.5:a<=5e3?.25:.125,d+=t.log(u);for(var p=0,m=1;m<=50;m++){for(var g=0,v=(2*m-1)*u,_=1;_<=16;_++){var y,b;8<_?(y=_-8-1,b=d+f*t.log(v+s[y]*u)-(s[y]*u+v)*h):(y=_-1,b=d+f*t.log(v-s[y]*u)+(s[y]*u-v)*h),b>=-30&&(g+=r(8<_?n*t.sqrt(.5*(s[y]*u+v)):n*t.sqrt(.5*(-s[y]*u+v)),1,o)*l[y]*t.exp(b))}if(m*u>=1&&g<=1e-14)break;p+=g}if(g>1e-14)throw new Error("tukey.cdf failed to converge");return p>1&&(p=1),p},inv:function(n,r,i){if(i<2||r<2)return NaN;if(n<0||n>1)return NaN;if(0===n)return 0;if(1===n)return 1/0;var a,o=function(e,n,r){var i=.5-.5*e,a=t.sqrt(t.log(1/(i*i))),o=a+((((-453642210148e-16*a-.204231210125)*a-.342242088547)*a-1)*a+.322232421088)/((((.0038560700634*a+.10353775285)*a+.531103462366)*a+.588581570495)*a+.099348462606);r<120&&(o+=(o*o*o+o)/r/4);var s=.8832-.2368*o;return r<120&&(s+=-1.214/r+1.208*o/r),o*(s*t.log(n-1)+1.4142)}(n,r,i),s=e.tukey.cdf(o,r,i)-n;a=s>0?t.max(0,o-1):o+1;for(var l,u=e.tukey.cdf(a,r,i)-n,c=1;c<50;c++)if(l=a-u*(a-o)/(u-s),s=u,o=a,l<0&&(l=0,u=-n),u=e.tukey.cdf(l,r,i)-n,a=l,t.abs(a-o)<1e-4)return l;throw new Error("tukey.inv failed to converge")}})}(r,Math),function(e,t){var n,r,i=Array.prototype.push,a=e.utils.isArray;function o(t){return a(t)||t instanceof e}e.extend({add:function(t,n){return o(n)?(o(n[0])||(n=[n]),e.map(t,(function(e,t,r){return e+n[t][r]}))):e.map(t,(function(e){return e+n}))},subtract:function(t,n){return o(n)?(o(n[0])||(n=[n]),e.map(t,(function(e,t,r){return e-n[t][r]||0}))):e.map(t,(function(e){return e-n}))},divide:function(t,n){return o(n)?(o(n[0])||(n=[n]),e.multiply(t,e.inv(n))):e.map(t,(function(e){return e/n}))},multiply:function(t,n){var r,i,a,s,l,u,c,d;if(void 0===t.length&&void 0===n.length)return t*n;if(l=t.length,u=t[0].length,c=e.zeros(l,a=o(n)?n[0].length:u),d=0,o(n)){for(;d=0;l--){for(h=0,u=l+1;u<=c-1;u++)h+=p[u]*n[l][u];p[l]=(n[l][i-1]-h)/n[l][l]}return p},gauss_jordan:function(n,r){var i,a,o,s=e.aug(n,r),l=s.length,u=s[0].length,c=0;for(a=0;at.abs(s[d][a])&&(d=o);var f=s[a];for(s[a]=s[d],s[d]=f,o=a+1;o=0;a--){for(c=s[a][a],o=0;oa-1;i--)s[o][i]-=s[a][i]*s[o][a]/c;for(s[a][a]/=c,i=l;id?(h[c][d]=n[c][d],p[c][d]=m[c][d]=0):ca;)o=u,u=e.add(e.multiply(l,o),s),c++;return u},gauss_seidel:function(n,r,i,a){for(var o,s,l,u,c,d=0,f=n.length,h=[],p=[],m=[];do?(h[d][o]=n[d][o],p[d][o]=m[d][o]=0):da;)s=c,c=e.add(e.multiply(u,s),l),d+=1;return c},SOR:function(n,r,i,a,o){for(var s,l,u,c,d,f=0,h=n.length,p=[],m=[],g=[];fs?(p[f][s]=n[f][s],m[f][s]=g[f][s]=0):fa;)l=d,d=e.add(e.multiply(c,l),u),f++;return d},householder:function(n){for(var r,i,a,o,s=n.length,l=n[0].length,u=0,c=[],d=[];u0?-1:1)*t.sqrt(r),i=t.sqrt((r*r-n[u+1][u]*r)/2),(c=e.zeros(s,1))[u+1][0]=(n[u+1][u]-r)/(2*i),a=u+2;a0?t.PI/4:-t.PI/4:t.atan(2*n[a][o]/(n[a][a]-n[o][o]))/2,(u=e.identity(d,d))[a][a]=t.cos(l),u[a][o]=-t.sin(l),u[o][a]=t.sin(l),u[o][o]=t.cos(l),f=e.multiply(f,u),n=e.multiply(e.multiply(e.inv(u),n),u),c=0,r=1;r.001&&(c=1)}for(r=0;r=d;)o=a(e,r+i),s=a(e,r),h[f]=(n[o]-2*n[s]+n[2*s-o])/(i*i),i/=2,f++;for(u=h.length,l=1;1!=u;){for(c=0;cr);i++);return n[i-=1]+(r-t[i])*f[i]+e.sq(r-t[i])*a[i]+(r-t[i])*e.sq(r-t[i])*h[i]},gauss_quadrature:function(){throw new Error("gauss_quadrature not yet implemented")},PCA:function(t){var n,r,i,a,o,s=t.length,l=t[0].length,u=0,c=[],d=[],f=[],h=[],p=[],m=[],g=[];for(u=0;u1||r>1||e<=0||r<=0)throw new Error("Proportions should be greater than 0 and less than 1");var a=(e*n+r*i)/(n+i);return(e-r)/t.sqrt(a*(1-a)*(1/n+1/i))}e.extend({zscore:function(){var t=n.call(arguments);return r(t[1])?(t[0]-t[1])/t[2]:(t[0]-e.mean(t[1]))/e.stdev(t[1],t[2])},ztest:function(){var r,a=n.call(arguments);return i(a[1])?(r=e.zscore(a[0],a[1],a[3]),1===a[2]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1)):a.length>2?(r=e.zscore(a[0],a[1],a[2]),1===a[3]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1)):(r=a[0],1===a[1]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1))}}),e.extend(e.fn,{zscore:function(e,t){return(e-this.mean())/this.stdev(t)},ztest:function(n,r,i){var a=t.abs(this.zscore(n,i));return 1===r?e.normal.cdf(-a,0,1):2*e.normal.cdf(-a,0,1)}}),e.extend({tscore:function(){var r=n.call(arguments);return 4===r.length?(r[0]-r[1])/(r[2]/t.sqrt(r[3])):(r[0]-e.mean(r[1]))/(e.stdev(r[1],!0)/t.sqrt(r[1].length))},ttest:function(){var i,a=n.call(arguments);return 5===a.length?(i=t.abs(e.tscore(a[0],a[1],a[2],a[3])),1===a[4]?e.studentt.cdf(-i,a[3]-1):2*e.studentt.cdf(-i,a[3]-1)):r(a[1])?(i=t.abs(a[0]),1==a[2]?e.studentt.cdf(-i,a[1]-1):2*e.studentt.cdf(-i,a[1]-1)):(i=t.abs(e.tscore(a[0],a[1])),1==a[2]?e.studentt.cdf(-i,a[1].length-1):2*e.studentt.cdf(-i,a[1].length-1))}}),e.extend(e.fn,{tscore:function(e){return(e-this.mean())/(this.stdev(!0)/t.sqrt(this.cols()))},ttest:function(n,r){return 1===r?1-e.studentt.cdf(t.abs(this.tscore(n)),this.cols()-1):2*e.studentt.cdf(-t.abs(this.tscore(n)),this.cols()-1)}}),e.extend({anovafscore:function(){var r,i,a,o,s,l,u,c,d=n.call(arguments);if(1===d.length){for(s=new Array(d[0].length),u=0;u.5?1-n:n)})),c=r.studentt.inv(.975,t.df_resid),d=t.coef.map((function(e,t){var n=c*s[t];return[e-n,e+n]}));return{se:s,t:l,p:u,sigmaHat:o,interval95:d}}return{ols:function(n,i){var a=e(n,i),o=t(a),s=function(e){var t,n,i,a=e.R2/e.df_model/((1-e.R2)/e.df_resid);return{F_statistic:a,pvalue:1-(t=a,n=e.df_model,i=e.df_resid,r.beta.cdf(t/(i/n+t),n/2,i/2))}}(a),l=1-(1-a.R2)*((a.nobs-1)/a.df_resid);return a.t=o,a.f=s,a.adjust_R2=l,a}}}(),r.extend({buildxmatrix:function(){for(var e=new Array(arguments.length),t=0;t1){for(o=[],n=0;n=i.length?a.REPT("0",t-i.length)+i:r.num},t.BIN2OCT=function(e,t){if(!l(e))return r.num;var n=e.toString();if(10===n.length&&"1"===n.substring(0,1))return(1073741312+parseInt(n.substring(1),2)).toString(8);var i=parseInt(e,2).toString(8);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?a.REPT("0",t-i.length)+i:r.num},t.BITAND=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e&t},t.BITLSHIFT=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<0||Math.floor(e)!==e||e>0xffffffffffff||Math.abs(t)>53?r.num:t>=0?e<>-t},t.BITOR=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e|t},t.BITRSHIFT=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<0||Math.floor(e)!==e||e>0xffffffffffff||Math.abs(t)>53?r.num:t>=0?e>>t:e<<-t},t.BITXOR=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e^t},t.COMPLEX=function(e,t,n){if(e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t))return e;if("i"!==(n=void 0===n?"i":n)&&"j"!==n)return r.value;if(0===e&&0===t)return 0;if(0===e)return 1===t?n:t.toString()+n;if(0===t)return e.toString();var i=t>0?"+":"";return e.toString()+i+(1===t?n:t.toString()+n)},t.CONVERT=function(e,t,n){if((e=o.parseNumber(e))instanceof Error)return e;for(var i,a=[["a.u. of action","?",null,"action",!1,!1,105457168181818e-48],["a.u. of charge","e",null,"electric_charge",!1,!1,160217653141414e-33],["a.u. of energy","Eh",null,"energy",!1,!1,435974417757576e-32],["a.u. of length","a?",null,"length",!1,!1,529177210818182e-25],["a.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["a.u. of time","?/Eh",null,"time",!1,!1,241888432650516e-31],["admiralty knot","admkn",null,"speed",!1,!0,.514773333],["ampere","A",null,"electric_current",!0,!1,1],["ampere per meter","A/m",null,"magnetic_field_intensity",!0,!1,1],["ångström","Å",["ang"],"length",!1,!0,1e-10],["are","ar",null,"area",!1,!0,100],["astronomical unit","ua",null,"length",!1,!1,149597870691667e-25],["bar","bar",null,"pressure",!1,!1,1e5],["barn","b",null,"area",!1,!1,1e-28],["becquerel","Bq",null,"radioactivity",!0,!1,1],["bit","bit",["b"],"information",!1,!0,1],["btu","BTU",["btu"],"energy",!1,!0,1055.05585262],["byte","byte",null,"information",!1,!0,8],["candela","cd",null,"luminous_intensity",!0,!1,1],["candela per square metre","cd/m?",null,"luminance",!0,!1,1],["coulomb","C",null,"electric_charge",!0,!1,1],["cubic ångström","ang3",["ang^3"],"volume",!1,!0,1e-30],["cubic foot","ft3",["ft^3"],"volume",!1,!0,.028316846592],["cubic inch","in3",["in^3"],"volume",!1,!0,16387064e-12],["cubic light-year","ly3",["ly^3"],"volume",!1,!0,846786664623715e-61],["cubic metre","m?",null,"volume",!0,!0,1],["cubic mile","mi3",["mi^3"],"volume",!1,!0,4168181825.44058],["cubic nautical mile","Nmi3",["Nmi^3"],"volume",!1,!0,6352182208],["cubic Pica","Pica3",["Picapt3","Pica^3","Picapt^3"],"volume",!1,!0,7.58660370370369e-8],["cubic yard","yd3",["yd^3"],"volume",!1,!0,.764554857984],["cup","cup",null,"volume",!1,!0,.0002365882365],["dalton","Da",["u"],"mass",!1,!1,166053886282828e-41],["day","d",["day"],"time",!1,!0,86400],["degree","°",null,"angle",!1,!1,.0174532925199433],["degrees Rankine","Rank",null,"temperature",!1,!0,.555555555555556],["dyne","dyn",["dy"],"force",!1,!0,1e-5],["electronvolt","eV",["ev"],"energy",!1,!0,1.60217656514141],["ell","ell",null,"length",!1,!0,1.143],["erg","erg",["e"],"energy",!1,!0,1e-7],["farad","F",null,"electric_capacitance",!0,!1,1],["fluid ounce","oz",null,"volume",!1,!0,295735295625e-16],["foot","ft",null,"length",!1,!0,.3048],["foot-pound","flb",null,"energy",!1,!0,1.3558179483314],["gal","Gal",null,"acceleration",!1,!1,.01],["gallon","gal",null,"volume",!1,!0,.003785411784],["gauss","G",["ga"],"magnetic_flux_density",!1,!0,1],["grain","grain",null,"mass",!1,!0,647989e-10],["gram","g",null,"mass",!1,!0,.001],["gray","Gy",null,"absorbed_dose",!0,!1,1],["gross registered ton","GRT",["regton"],"volume",!1,!0,2.8316846592],["hectare","ha",null,"area",!1,!0,1e4],["henry","H",null,"inductance",!0,!1,1],["hertz","Hz",null,"frequency",!0,!1,1],["horsepower","HP",["h"],"power",!1,!0,745.69987158227],["horsepower-hour","HPh",["hh","hph"],"energy",!1,!0,2684519.538],["hour","h",["hr"],"time",!1,!0,3600],["imperial gallon (U.K.)","uk_gal",null,"volume",!1,!0,.00454609],["imperial hundredweight","lcwt",["uk_cwt","hweight"],"mass",!1,!0,50.802345],["imperial quart (U.K)","uk_qt",null,"volume",!1,!0,.0011365225],["imperial ton","brton",["uk_ton","LTON"],"mass",!1,!0,1016.046909],["inch","in",null,"length",!1,!0,.0254],["international acre","uk_acre",null,"area",!1,!0,4046.8564224],["IT calorie","cal",null,"energy",!1,!0,4.1868],["joule","J",null,"energy",!0,!0,1],["katal","kat",null,"catalytic_activity",!0,!1,1],["kelvin","K",["kel"],"temperature",!0,!0,1],["kilogram","kg",null,"mass",!0,!0,1],["knot","kn",null,"speed",!1,!0,.514444444444444],["light-year","ly",null,"length",!1,!0,9460730472580800],["litre","L",["l","lt"],"volume",!1,!0,.001],["lumen","lm",null,"luminous_flux",!0,!1,1],["lux","lx",null,"illuminance",!0,!1,1],["maxwell","Mx",null,"magnetic_flux",!1,!1,1e-18],["measurement ton","MTON",null,"volume",!1,!0,1.13267386368],["meter per hour","m/h",["m/hr"],"speed",!1,!0,.00027777777777778],["meter per second","m/s",["m/sec"],"speed",!0,!0,1],["meter per second squared","m?s??",null,"acceleration",!0,!1,1],["parsec","pc",["parsec"],"length",!1,!0,0x6da012f958ee1c],["meter squared per second","m?/s",null,"kinematic_viscosity",!0,!1,1],["metre","m",null,"length",!0,!0,1],["miles per hour","mph",null,"speed",!1,!0,.44704],["millimetre of mercury","mmHg",null,"pressure",!1,!1,133.322],["minute","?",null,"angle",!1,!1,.000290888208665722],["minute","min",["mn"],"time",!1,!0,60],["modern teaspoon","tspm",null,"volume",!1,!0,5e-6],["mole","mol",null,"amount_of_substance",!0,!1,1],["morgen","Morgen",null,"area",!1,!0,2500],["n.u. of action","?",null,"action",!1,!1,105457168181818e-48],["n.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["n.u. of speed","c?",null,"speed",!1,!1,299792458],["n.u. of time","?/(me?c??)",null,"time",!1,!1,128808866778687e-35],["nautical mile","M",["Nmi"],"length",!1,!0,1852],["newton","N",null,"force",!0,!0,1],["œrsted","Oe ",null,"magnetic_field_intensity",!1,!1,79.5774715459477],["ohm","Ω",null,"electric_resistance",!0,!1,1],["ounce mass","ozm",null,"mass",!1,!0,.028349523125],["pascal","Pa",null,"pressure",!0,!1,1],["pascal second","Pa?s",null,"dynamic_viscosity",!0,!1,1],["pferdestärke","PS",null,"power",!1,!0,735.49875],["phot","ph",null,"illuminance",!1,!1,1e-4],["pica (1/6 inch)","pica",null,"length",!1,!0,.00035277777777778],["pica (1/72 inch)","Pica",["Picapt"],"length",!1,!0,.00423333333333333],["poise","P",null,"dynamic_viscosity",!1,!1,.1],["pond","pond",null,"force",!1,!0,.00980665],["pound force","lbf",null,"force",!1,!0,4.4482216152605],["pound mass","lbm",null,"mass",!1,!0,.45359237],["quart","qt",null,"volume",!1,!0,.000946352946],["radian","rad",null,"angle",!0,!1,1],["second","?",null,"angle",!1,!1,484813681109536e-20],["second","s",["sec"],"time",!0,!0,1],["short hundredweight","cwt",["shweight"],"mass",!1,!0,45.359237],["siemens","S",null,"electrical_conductance",!0,!1,1],["sievert","Sv",null,"equivalent_dose",!0,!1,1],["slug","sg",null,"mass",!1,!0,14.59390294],["square ångström","ang2",["ang^2"],"area",!1,!0,1e-20],["square foot","ft2",["ft^2"],"area",!1,!0,.09290304],["square inch","in2",["in^2"],"area",!1,!0,64516e-8],["square light-year","ly2",["ly^2"],"area",!1,!0,895054210748189e17],["square meter","m?",null,"area",!0,!0,1],["square mile","mi2",["mi^2"],"area",!1,!0,2589988.110336],["square nautical mile","Nmi2",["Nmi^2"],"area",!1,!0,3429904],["square Pica","Pica2",["Picapt2","Pica^2","Picapt^2"],"area",!1,!0,1792111111111e-17],["square yard","yd2",["yd^2"],"area",!1,!0,.83612736],["statute mile","mi",null,"length",!1,!0,1609.344],["steradian","sr",null,"solid_angle",!0,!1,1],["stilb","sb",null,"luminance",!1,!1,1e-4],["stokes","St",null,"kinematic_viscosity",!1,!1,1e-4],["stone","stone",null,"mass",!1,!0,6.35029318],["tablespoon","tbs",null,"volume",!1,!0,147868e-10],["teaspoon","tsp",null,"volume",!1,!0,492892e-11],["tesla","T",null,"magnetic_flux_density",!0,!0,1],["thermodynamic calorie","c",null,"energy",!1,!0,4.184],["ton","ton",null,"mass",!1,!0,907.18474],["tonne","t",null,"mass",!1,!1,1e3],["U.K. pint","uk_pt",null,"volume",!1,!0,.00056826125],["U.S. bushel","bushel",null,"volume",!1,!0,.03523907],["U.S. oil barrel","barrel",null,"volume",!1,!0,.158987295],["U.S. pint","pt",["us_pt"],"volume",!1,!0,.000473176473],["U.S. survey mile","survey_mi",null,"length",!1,!0,1609.347219],["U.S. survey/statute acre","us_acre",null,"area",!1,!0,4046.87261],["volt","V",null,"voltage",!0,!1,1],["watt","W",null,"power",!0,!0,1],["watt-hour","Wh",["wh"],"energy",!1,!0,3600],["weber","Wb",null,"magnetic_flux",!0,!1,1],["yard","yd",null,"length",!1,!0,.9144],["year","yr",null,"time",!1,!0,31557600]],s={Yi:["yobi",80,12089258196146292e8,"Yi","yotta"],Zi:["zebi",70,11805916207174113e5,"Zi","zetta"],Ei:["exbi",60,0x1000000000000000,"Ei","exa"],Pi:["pebi",50,0x4000000000000,"Pi","peta"],Ti:["tebi",40,1099511627776,"Ti","tera"],Gi:["gibi",30,1073741824,"Gi","giga"],Mi:["mebi",20,1048576,"Mi","mega"],ki:["kibi",10,1024,"ki","kilo"]},l={Y:["yotta",1e24,"Y"],Z:["zetta",1e21,"Z"],E:["exa",1e18,"E"],P:["peta",1e15,"P"],T:["tera",1e12,"T"],G:["giga",1e9,"G"],M:["mega",1e6,"M"],k:["kilo",1e3,"k"],h:["hecto",100,"h"],e:["dekao",10,"e"],d:["deci",.1,"d"],c:["centi",.01,"c"],m:["milli",.001,"m"],u:["micro",1e-6,"u"],n:["nano",1e-9,"n"],p:["pico",1e-12,"p"],f:["femto",1e-15,"f"],a:["atto",1e-18,"a"],z:["zepto",1e-21,"z"],y:["yocto",1e-24,"y"]},u=null,c=null,d=t,f=n,h=1,p=1,m=0;m=0)&&(u=a[m]),(a[m][1]===f||i.indexOf(f)>=0)&&(c=a[m]);if(null===u){var g=s[t.substring(0,2)],v=l[t.substring(0,1)];"da"===t.substring(0,2)&&(v=["dekao",10,"da"]),g?(h=g[2],d=t.substring(2)):v&&(h=v[1],d=t.substring(v[2].length));for(var _=0;_=0)&&(u=a[_])}if(null===c){var y=s[n.substring(0,2)],b=l[n.substring(0,1)];"da"===n.substring(0,2)&&(b=["dekao",10,"da"]),y?(p=y[2],f=n.substring(2)):b&&(p=b[1],f=n.substring(b[2].length));for(var S=0;S=0)&&(c=a[S])}return null===u||null===c||u[3]!==c[3]?r.na:e*u[6]*h/(c[6]*p)},t.DEC2BIN=function(e,t){if((e=o.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,3}$/.test(e)||e<-512||e>511)return r.num;if(e<0)return"1"+a.REPT("0",9-(512+e).toString(2).length)+(512+e).toString(2);var n=parseInt(e,10).toString(2);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?a.REPT("0",t-n.length)+n:r.num},t.DEC2HEX=function(e,t){if((e=o.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,12}$/.test(e)||e<-549755813888||e>549755813887)return r.num;if(e<0)return(1099511627776+e).toString(16);var n=parseInt(e,10).toString(16);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?a.REPT("0",t-n.length)+n:r.num},t.DEC2OCT=function(e,t){if((e=o.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,9}$/.test(e)||e<-536870912||e>536870911)return r.num;if(e<0)return(1073741824+e).toString(8);var n=parseInt(e,10).toString(8);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?a.REPT("0",t-n.length)+n:r.num},t.DELTA=function(e,t){return t=void 0===t?0:t,e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e===t?1:0},t.ERF=function(e,t){return t=void 0===t?0:t,e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:i.erf(e)},t.ERF.PRECISE=function(){throw new Error("ERF.PRECISE is not implemented")},t.ERFC=function(e){return isNaN(e)?r.value:i.erfc(e)},t.ERFC.PRECISE=function(){throw new Error("ERFC.PRECISE is not implemented")},t.GESTEP=function(e,t){return t=t||0,e=o.parseNumber(e),o.anyIsError(t,e)?e:e>=t?1:0},t.HEX2BIN=function(e,t){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var n=10===e.length&&"f"===e.substring(0,1).toLowerCase(),i=n?parseInt(e,16)-1099511627776:parseInt(e,16);if(i<-512||i>511)return r.num;if(n)return"1"+a.REPT("0",9-(512+i).toString(2).length)+(512+i).toString(2);var o=i.toString(2);return void 0===t?o:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=o.length?a.REPT("0",t-o.length)+o:r.num},t.HEX2DEC=function(e){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var t=parseInt(e,16);return t>=549755813888?t-1099511627776:t},t.HEX2OCT=function(e,t){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var n=parseInt(e,16);if(n>536870911&&n<0xffe0000000)return r.num;if(n>=0xffe0000000)return(n-0xffc0000000).toString(8);var i=n.toString(8);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?a.REPT("0",t-i.length)+i:r.num},t.IMABS=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.value:Math.sqrt(Math.pow(n,2)+Math.pow(i,2))},t.IMAGINARY=function(e){if(void 0===e||!0===e||!1===e)return r.value;if(0===e||"0"===e)return 0;if(["i","j"].indexOf(e)>=0)return 1;var t=(e=e.replace("+i","+1i").replace("-i","-1i").replace("+j","+1j").replace("-j","-1j")).indexOf("+"),n=e.indexOf("-");0===t&&(t=e.indexOf("+",1)),0===n&&(n=e.indexOf("-",1));var i=e.substring(e.length-1,e.length),a="i"===i||"j"===i;return t>=0||n>=0?a?t>=0?isNaN(e.substring(0,t))||isNaN(e.substring(t+1,e.length-1))?r.num:Number(e.substring(t+1,e.length-1)):isNaN(e.substring(0,n))||isNaN(e.substring(n+1,e.length-1))?r.num:-Number(e.substring(n+1,e.length-1)):r.num:a?isNaN(e.substring(0,e.length-1))?r.num:e.substring(0,e.length-1):isNaN(e)?r.num:0},t.IMARGUMENT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.value:0===n&&0===i?r.div0:0===n&&i>0?Math.PI/2:0===n&&i<0?-Math.PI/2:0===i&&n>0?0:0===i&&n<0?-Math.PI:n>0?Math.atan(i/n):n<0&&i>=0?Math.atan(i/n)+Math.PI:Math.atan(i/n)-Math.PI},t.IMCONJUGATE=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",0!==i?t.COMPLEX(n,-i,a):e},t.IMCOS=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.cos(n)*(Math.exp(i)+Math.exp(-i))/2,-Math.sin(n)*(Math.exp(i)-Math.exp(-i))/2,a)},t.IMCOSH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.cos(i)*(Math.exp(n)+Math.exp(-n))/2,Math.sin(i)*(Math.exp(n)-Math.exp(-n))/2,a)},t.IMCOT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.value:t.IMDIV(t.IMCOS(e),t.IMSIN(e))},t.IMDIV=function(e,n){var i=t.IMREAL(e),a=t.IMAGINARY(e),s=t.IMREAL(n),l=t.IMAGINARY(n);if(o.anyIsError(i,a,s,l))return r.value;var u=e.substring(e.length-1),c=n.substring(n.length-1),d="i";if(("j"===u||"j"===c)&&(d="j"),0===s&&0===l)return r.num;var f=s*s+l*l;return t.COMPLEX((i*s+a*l)/f,(a*s-i*l)/f,d)},t.IMEXP=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);a="i"===a||"j"===a?a:"i";var s=Math.exp(n);return t.COMPLEX(s*Math.cos(i),s*Math.sin(i),a)},t.IMLN=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i)),Math.atan(i/n),a)},t.IMLOG10=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i))/Math.log(10),Math.atan(i/n)/Math.log(10),a)},t.IMLOG2=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i))/Math.log(2),Math.atan(i/n)/Math.log(2),a)},t.IMPOWER=function(e,n){n=o.parseNumber(n);var i=t.IMREAL(e),a=t.IMAGINARY(e);if(o.anyIsError(n,i,a))return r.value;var s=e.substring(e.length-1);s="i"===s||"j"===s?s:"i";var l=Math.pow(t.IMABS(e),n),u=t.IMARGUMENT(e);return t.COMPLEX(l*Math.cos(n*u),l*Math.sin(n*u),s)},t.IMPRODUCT=function(){var e=arguments[0];if(!arguments.length)return r.value;for(var n=1;n=0)return 0;var t=e.indexOf("+"),n=e.indexOf("-");0===t&&(t=e.indexOf("+",1)),0===n&&(n=e.indexOf("-",1));var i=e.substring(e.length-1,e.length),a="i"===i||"j"===i;return t>=0||n>=0?a?t>=0?isNaN(e.substring(0,t))||isNaN(e.substring(t+1,e.length-1))?r.num:Number(e.substring(0,t)):isNaN(e.substring(0,n))||isNaN(e.substring(n+1,e.length-1))?r.num:Number(e.substring(0,n)):r.num:a?isNaN(e.substring(0,e.length-1))?r.num:0:isNaN(e)?r.num:e},t.IMSEC=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.value:t.IMDIV("1",t.IMCOS(e))},t.IMSECH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.value:t.IMDIV("1",t.IMCOSH(e))},t.IMSIN=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.sin(n)*(Math.exp(i)+Math.exp(-i))/2,Math.cos(n)*(Math.exp(i)-Math.exp(-i))/2,a)},t.IMSINH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);return a="i"===a||"j"===a?a:"i",t.COMPLEX(Math.cos(i)*(Math.exp(n)-Math.exp(-n))/2,Math.sin(i)*(Math.exp(n)+Math.exp(-n))/2,a)},t.IMSQRT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(o.anyIsError(n,i))return r.value;var a=e.substring(e.length-1);a="i"===a||"j"===a?a:"i";var s=Math.sqrt(t.IMABS(e)),l=t.IMARGUMENT(e);return t.COMPLEX(s*Math.cos(l/2),s*Math.sin(l/2),a)},t.IMCSC=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.num:t.IMDIV("1",t.IMSIN(e))},t.IMCSCH=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return o.anyIsError(n,i)?r.num:t.IMDIV("1",t.IMSINH(e))},t.IMSUB=function(e,t){var n=this.IMREAL(e),i=this.IMAGINARY(e),a=this.IMREAL(t),s=this.IMAGINARY(t);if(o.anyIsError(n,i,a,s))return r.value;var l=e.substring(e.length-1),u=t.substring(t.length-1),c="i";return("j"===l||"j"===u)&&(c="j"),this.COMPLEX(n-a,i-s,c)},t.IMSUM=function(){if(!arguments.length)return r.value;for(var e=o.flatten(arguments),t=e[0],n=1;n511)return r.num;if(n)return"1"+a.REPT("0",9-(512+i).toString(2).length)+(512+i).toString(2);var o=i.toString(2);return void 0===t?o:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=o.length?a.REPT("0",t-o.length)+o:r.num},t.OCT2DEC=function(e){if(!/^[0-7]{1,10}$/.test(e))return r.num;var t=parseInt(e,8);return t>=536870912?t-1073741824:t},t.OCT2HEX=function(e,t){if(!/^[0-7]{1,10}$/.test(e))return r.num;var n=parseInt(e,8);if(n>=536870912)return"ff"+(n+3221225472).toString(16);var i=n.toString(16);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?a.REPT("0",t-i.length)+i:r.num}},function(e,t,n){"use strict";t.__esModule=!0,t.default=["ABS","ACCRINT","ACOS","ACOSH","ACOT","ACOTH","ADD","AGGREGATE","AND","ARABIC","ARGS2ARRAY","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETA.DIST","BETA.INV","BETADIST","BETAINV","BIN2DEC","BIN2HEX","BIN2OCT","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BINOMDIST","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CEILING","CEILINGMATH","CEILINGPRECISE","CHAR","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHOOSE","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUNTIN","COUNTUNIQUE","COVARIANCE.P","COVARIANCE.S","CSC","CSCH","CUMIPMT","CUMPRINC","DATE","DATEVALUE","DAY","DAYS","DAYS360","DB","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DIVIDE","DOLLARDE","DOLLARFR","E","EDATE","EFFECT","EOMONTH","EQ","ERF","ERFC","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","F.DIST","F.DIST.RT","F.INV","F.INV.RT","FACT","FACTDOUBLE","FALSE","FDIST","FDISTRT","FIND","FINV","FINVRT","FISHER","FISHERINV","FLATTEN","FLOOR","FORECAST","FREQUENCY","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMA.INV","GAMMADIST","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GROWTH","GTE","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HOUR","HTML2TEXT","HYPGEOM.DIST","HYPGEOMDIST","IF","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INT","INTERCEPT","INTERVAL","IPMT","IRR","ISBINARY","ISBLANK","ISEVEN","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISODD","ISOWEEKNUM","ISPMT","ISTEXT","JOIN","KURT","LARGE","LCM","LEFT","LEN","LINEST","LN","LOG","LOG10","LOGEST","LOGNORM.DIST","LOGNORM.INV","LOGNORMDIST","LOGNORMINV","LOWER","LT","LTE","MATCH","MAX","MAXA","MEDIAN","MID","MIN","MINA","MINUS","MINUTE","MIRR","MOD","MODE.MULT","MODE.SNGL","MODEMULT","MODESNGL","MONTH","MROUND","MULTINOMIAL","MULTIPLY","NE","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NOMINAL","NORM.DIST","NORM.INV","NORM.S.DIST","NORM.S.INV","NORMDIST","NORMINV","NORMSDIST","NORMSINV","NOT","NOW","NPER","NPV","NUMBERS","OCT2BIN","OCT2DEC","OCT2HEX","ODD","OR","PDURATION","PEARSON","PERCENTILEEXC","PERCENTILEINC","PERCENTRANKEXC","PERCENTRANKINC","PERMUT","PERMUTATIONA","PHI","PI","PMT","POISSON.DIST","POISSONDIST","POW","POWER","PPMT","PROB","PRODUCT","PROPER","PV","QUARTILE.EXC","QUARTILE.INC","QUARTILEEXC","QUARTILEINC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANKAVG","RANKEQ","RATE","REFERENCE","REGEXEXTRACT","REGEXMATCH","REGEXREPLACE","REPLACE","REPT","RIGHT","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","SEARCH","SEC","SECH","SECOND","SERIESSUM","SIGN","SIN","SINH","SKEW","SKEW.P","SKEWP","SLN","SLOPE","SMALL","SPLIT","SPLIT","SQRT","SQRTPI","STANDARDIZE","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STDEVS","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","T.DIST","T.DIST.2T","T.DIST.RT","T.INV","T.INV.2T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","TDIST","TDIST2T","TDISTRT","TIME","TIMEVALUE","TINV","TINV2T","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","UNICHAR","UNICODE","UNIQUE","UPPER","VAR.P","VAR.S","VARA","VARP","VARPA","VARS","WEEKDAY","WEEKNUM","WEIBULL.DIST","WEIBULLDIST","WORKDAY","XIRR","XNPV","XOR","YEAR","YEARFRAC"]},function(e,t,n){"use strict";function r(e){var t=parseInt(e,10);return t=isNaN(t)?-1:Math.max(t-1,-1)}function i(e){var t="";return e>=0&&(t=""+(e+1)),t}t.__esModule=!0,t.rowLabelToIndex=r,t.rowIndexToLabel=i,t.columnLabelToIndex=o,t.columnIndexToLabel=s,t.extractLabel=function(e){if("string"!=typeof e||!l.test(e))return[];var t=e.toUpperCase().match(l),n=t[1],i=t[2],a=t[3],s=t[4];return[{index:r(s),label:s,isAbsolute:"$"===a},{index:o(i),label:i,isAbsolute:"$"===n}]},t.toLabel=function(e,t){var n=(e.isAbsolute?"$":"")+i(e.index);return(t.isAbsolute?"$":"")+s(t.index)+n};var a="ABCDEFGHIJKLMNOPQRSTUVWXYZ".length;function o(e){var t=0;if("string"==typeof e)for(var n=0,r=(e=e.toUpperCase()).length-1;n=0;)t=String.fromCharCode(e%a+97)+t,e=Math.floor(e/a)-1;return t.toUpperCase()}var l=/^([$])?([A-Za-z]+)([$])?([0-9]+)$/},function(e,t,n){"use strict";t.__esModule=!0,t.rowLabelToIndex=t.rowIndexToLabel=t.columnLabelToIndex=t.columnIndexToLabel=t.toLabel=t.extractLabel=t.error=t.Parser=t.ERROR_VALUE=t.ERROR_REF=t.ERROR_NUM=t.ERROR_NULL=t.ERROR_NOT_AVAILABLE=t.ERROR_NAME=t.ERROR_DIV_ZERO=t.ERROR=t.SUPPORTED_FORMULAS=void 0;var r=l(n(16)),i=l(n(13)),a=n(2),o=l(a),s=n(14);function l(e){return e&&e.__esModule?e:{default:e}}t.SUPPORTED_FORMULAS=i.default,t.ERROR=a.ERROR,t.ERROR_DIV_ZERO=a.ERROR_DIV_ZERO,t.ERROR_NAME=a.ERROR_NAME,t.ERROR_NOT_AVAILABLE=a.ERROR_NOT_AVAILABLE,t.ERROR_NULL=a.ERROR_NULL,t.ERROR_NUM=a.ERROR_NUM,t.ERROR_REF=a.ERROR_REF,t.ERROR_VALUE=a.ERROR_VALUE,t.Parser=r.default,t.error=o.default,t.extractLabel=s.extractLabel,t.toLabel=s.toLabel,t.columnIndexToLabel=s.columnIndexToLabel,t.columnLabelToIndex=s.columnLabelToIndex,t.rowIndexToLabel=s.rowIndexToLabel,t.rowLabelToIndex=s.rowLabelToIndex},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(17)),i=d(n(18)),a=n(39),o=n(40),s=n(3),l=n(2),u=d(l),c=n(14);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return n.parser=new a.Parser,n.parser.yy={toNumber:s.toNumber,trimEdges:o.trimEdges,invertNumber:s.invertNumber,throwError:function(e){return n._throwError(e)},callVariable:function(e){return n._callVariable(e)},evaluateByOperator:i.default,callFunction:function(e,t){return n._callFunction(e,t)},cellValue:function(e){return n._callCellValue(e)},rangeValue:function(e,t){return n._callRangeValue(e,t)}},n.variables=Object.create(null),n.functions=Object.create(null),n.setVariable("TRUE",!0).setVariable("FALSE",!1).setVariable("NULL",null),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.parse=function(e){var t=null,n=null;try{t=""===e?"":this.parser.parse(e)}catch(e){var r=(0,u.default)(e.message);n=r||(0,u.default)(l.ERROR)}return t instanceof Error&&(n=(0,u.default)(t.message)||(0,u.default)(l.ERROR),t=null),{error:n,result:t}},t.prototype.setVariable=function(e,t){return this.variables[e]=t,this},t.prototype.getVariable=function(e){return this.variables[e]},t.prototype._callVariable=function(e){var t=this.getVariable(e);if(this.emit("callVariable",e,(function(e){void 0!==e&&(t=e)})),void 0===t)throw Error(l.ERROR_NAME);return t},t.prototype.setFunction=function(e,t){return this.functions[e]=t,this},t.prototype.getFunction=function(e){return this.functions[e]},t.prototype._callFunction=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.getFunction(e),r=void 0;return n&&(r=n(t)),this.emit("callFunction",e,t,(function(e){void 0!==e&&(r=e)})),void 0===r?(0,i.default)(e,t):r},t.prototype._callCellValue=function(e){e=e.toUpperCase();var t=(0,c.extractLabel)(e),n=t[0],r=t[1],i=void 0;return this.emit("callCellValue",{label:e,row:n,column:r},(function(e){i=e})),i},t.prototype._callRangeValue=function(e,t){e=e.toUpperCase(),t=t.toUpperCase();var n=(0,c.extractLabel)(e),r=n[0],i=n[1],a=(0,c.extractLabel)(t),o=a[0],s=a[1],l={},u={};r.index<=o.index?(l.row=r,u.row=o):(l.row=o,u.row=r),i.index<=s.index?(l.column=i,u.column=s):(l.column=s,u.column=i),l.label=(0,c.toLabel)(l.row,l.column),u.label=(0,c.toLabel)(u.row,u.column);var d=[];return this.emit("callRangeValue",l,u,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];d=e})),d},t.prototype._throwError=function(e){if((0,l.isValidStrict)(e))throw Error(e);throw Error(l.ERROR)},t}(r.default);t.default=f},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r1&&void 0!==arguments[1]?arguments[1]:[];if(e=e.toUpperCase(),!_[e])throw Error(g.ERROR_NAME);return _[e].apply(_,t)},t.registerOperation=y;var r=v(n(19)),i=v(n(20)),a=v(n(21)),o=v(n(22)),s=v(n(23)),l=v(n(31)),u=v(n(32)),c=v(n(33)),d=v(n(34)),f=v(n(35)),h=v(n(36)),p=v(n(37)),m=v(n(38)),g=n(2);function v(e){return e&&e.__esModule?e:{default:e}}var _=Object.create(null);function y(e,t){Array.isArray(e)||(e=[e.toUpperCase()]),e.forEach((function(e){t.isFactory?_[e]=t(e):_[e]=t}))}y(r.default.SYMBOL,r.default),y(i.default.SYMBOL,i.default),y(a.default.SYMBOL,a.default),y(o.default.SYMBOL,o.default),y(m.default.SYMBOL,m.default),y(s.default.SYMBOL,s.default),y(l.default.SYMBOL,l.default),y(u.default.SYMBOL,u.default),y(c.default.SYMBOL,c.default),y(d.default.SYMBOL,d.default),y(h.default.SYMBOL,h.default),y(p.default.SYMBOL,p.default),y(f.default.SYMBOL,f.default)},function(e,t,n){"use strict";t.__esModule=!0,t.SYMBOL=void 0,t.default=o;var r=n(3),i=n(2),a=t.SYMBOL="+";function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;ai)a=r(n,i,l(n),h(n),-1);else{for(var o=!1,s=0,u=0,c=1,d=0,f=2/n,p=2*t.floor((i+t.floor(t.sqrt(40*i)))/2);p>0;p--)d=p*f*c-s,s=c,c=d,t.abs(c)>1e10&&(c*=1e-10,s*=1e-10,a*=1e-10,u*=1e-10),o&&(u+=c),o=!o,p==i&&(a=s);a/=u=2*u-c}return a}}(),y=(a=.636619772,o=[-2957821389,7062834065,-512359803.6,10879881.29,-86327.92757,228.4622733].reverse(),s=[40076544269,745249964.8,7189466.438,47447.2647,226.1030244,1].reverse(),l=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),u=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34945152e-8].reverse(),c=[-4900604943e3,127527439e4,-51534381390,734926455.1,-4237922.726,8511.937935].reverse(),d=[249958057e5,424441966400,3733650367,22459040.02,102042.605,354.9632885,1].reverse(),f=[1,.00183105,-3516396496e-14,2457520174e-15,-2.40337019e-7].reverse(),h=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse(),i((function(e){var r=0,i=0,c=0,d=e*e,f=e-.785398164;return e<8?r=(i=n(o,d))/(c=n(s,d))+a*_(e,0)*t.log(e):(i=n(l,d=64/d),c=n(u,d),r=t.sqrt(a/e)*(t.sin(f)*i+t.cos(f)*c*8/e)),r}),(function(e){var r=0,i=0,o=0,s=e*e,l=e-2.356194491;return e<8?r=(i=e*n(c,s))/(o=n(d,s))+a*(_(e,1)*t.log(e)-1/e):(i=n(f,s=64/s),o=n(h,s),r=t.sqrt(a/e)*(t.sin(l)*i+t.cos(l)*o*8/e)),r}),0,1,-1)),b=(p=[1,3.5156229,3.0899424,1.2067492,.2659732,.0360768,.0045813].reverse(),m=[.39894228,.01328592,.00225319,-.00157565,.00916281,-.02057706,.02635537,-.01647633,.00392377].reverse(),g=[.5,.87890594,.51498869,.15084934,.02658733,.00301532,32411e-8].reverse(),v=[.39894228,-.03988024,-.00362018,.00163801,-.01031555,.02282967,-.02895312,.01787654,-.00420059].reverse(),function e(r,i){if(0===(i=Math.round(i)))return function(e){return e<=3.75?n(p,e*e/14.0625):t.exp(t.abs(e))/t.sqrt(t.abs(e))*n(m,3.75/t.abs(e))}(r);if(1===i)return function(e){return e<3.75?e*n(g,e*e/14.0625):(e<0?-1:1)*t.exp(t.abs(e))/t.sqrt(t.abs(e))*n(v,3.75/t.abs(e))}(r);if(i<0)return NaN;if(0===t.abs(r))return 0;if(r==1/0)return 1/0;var a,o=0,s=2/t.abs(r),l=0,u=1,c=0;for(a=2*t.round((i+t.round(t.sqrt(40*i)))/2);a>0;a--)c=a*s*u+l,l=u,u=c,t.abs(u)>1e10&&(u*=1e-10,l*=1e-10,o*=1e-10),a==i&&(o=l);return o*=e(r,0)/u,r<0&&i%2?-o:o}),S=function(){var e=[-.57721566,.4227842,.23069756,.0348859,.00262698,1075e-7,74e-7].reverse(),r=[1.25331414,-.07832358,.02189568,-.01062446,.00587872,-.0025154,53208e-8].reverse(),a=[1,.15443144,-.67278579,-.18156897,-.01919402,-.00110404,-4686e-8].reverse(),o=[1.25331414,.23498619,-.0365562,.01504268,-.00780353,.00325614,-68245e-8].reverse();return i((function(i){return i<=2?-t.log(i/2)*b(i,0)+n(e,i*i/4):t.exp(-i)/t.sqrt(i)*n(r,2/i)}),(function(e){return e<=2?t.log(e/2)*b(e,1)+1/e*n(a,e*e/4):t.exp(-e)/t.sqrt(e)*n(o,2/e)}),0,2,1)}();e.besselj=_,e.bessely=y,e.besseli=b,e.besselk=S},"undefined"==typeof DO_NOT_EXPORT_BESSEL?r(t):r({})},function(e,t,n){var r=n(0),i=n(5),a=n(4),o=n(1),s=n(7);function l(e){var t=[];return o.arrayEach(e,(function(e){e&&t.push(e)})),t}function u(e,t){for(var n={},r=1;ri&&(i=t[r].length);for(var a=1;a1?r.num:s[a[0]]},t.DMAX=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var a=u(e,i),s=[];if("string"==typeof n){var l=t.FINDFIELD(e,n);s=o.rest(e[l])}else s=o.rest(e[n]);var c=s[a[0]];return o.arrayEach(a,(function(e){cs[e]&&(c=s[e])})),c},t.DPRODUCT=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var a=u(e,i),s=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);s=o.rest(e[c])}else s=o.rest(e[n]);var d=[];o.arrayEach(a,(function(e){d.push(s[e])})),d=l(d);var f=1;return o.arrayEach(d,(function(e){f*=e})),f},t.DSTDEV=function(e,n,a){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,a),c=[];if("string"==typeof n){var d=t.FINDFIELD(e,n);c=o.rest(e[d])}else c=o.rest(e[n]);var f=[];return o.arrayEach(s,(function(e){f.push(c[e])})),f=l(f),i.STDEV.S(f)},t.DSTDEVP=function(e,n,a){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,a),c=[];if("string"==typeof n){var d=t.FINDFIELD(e,n);c=o.rest(e[d])}else c=o.rest(e[n]);var f=[];return o.arrayEach(s,(function(e){f.push(c[e])})),f=l(f),i.STDEV.P(f)},t.DSUM=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,i),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=o.rest(e[c])}else l=o.rest(e[n]);var d=[];return o.arrayEach(s,(function(e){d.push(l[e])})),a.SUM(d)},t.DVAR=function(e,n,a){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,a),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=o.rest(e[c])}else l=o.rest(e[n]);var d=[];return o.arrayEach(s,(function(e){d.push(l[e])})),i.VAR.S(d)},t.DVARP=function(e,n,a){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,a),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=o.rest(e[c])}else l=o.rest(e[n]);var d=[];return o.arrayEach(s,(function(e){d.push(l[e])})),i.VAR.P(d)}},function(e,t,n){var r=n(0),i=n(1),a=n(8);t.AND=function(){for(var e=i.flatten(arguments),t=!0,n=0;n254||arguments.length0){var t=arguments[0],n=arguments.length-1,i=Math.floor(n/2),a=!1,o=n%2!=0,s=n%2==0?null:arguments[arguments.length-1];if(i)for(var l=0;ls)return r.num;if(0!==l&&1!==l)return r.num;var u=t.PMT(e,n,i,0,l),c=0;1===o&&0===l&&(c=-i,o++);for(var d=o;d<=s;d++)c+=1===l?t.FV(e,d-2,u,i,1)-u:t.FV(e,d-1,u,i,0);return c*=e},t.CUMPRINC=function(e,n,i,o,s,l){if(e=a.parseNumber(e),n=a.parseNumber(n),i=a.parseNumber(i),a.anyIsError(e,n,i))return r.value;if(e<=0||n<=0||i<=0)return r.num;if(o<1||s<1||o>s)return r.num;if(0!==l&&1!==l)return r.num;var u=t.PMT(e,n,i,0,l),c=0;1===o&&(c=0===l?u+i*e:u,o++);for(var d=o;d<=s;d++)c+=l>0?u-(t.FV(e,d-2,u,i,1)-u)*e:u-t.FV(e,d-1,u,i,0)*e;return c},t.DB=function(e,t,n,i,o){if(o=void 0===o?12:o,e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),i=a.parseNumber(i),o=a.parseNumber(o),a.anyIsError(e,t,n,i,o))return r.value;if(e<0||t<0||n<0||i<0)return r.num;if(-1===[1,2,3,4,5,6,7,8,9,10,11,12].indexOf(o))return r.num;if(i>n)return r.num;if(t>=e)return 0;for(var s=(1-Math.pow(t/e,1/n)).toFixed(3),l=e*s*o/12,u=l,c=0,d=i===n?n-1:i,f=2;f<=d;f++)u+=c=(e-u)*s;return 1===i?l:i===n?(e-u)*s:c},t.DDB=function(e,t,n,i,o){if(o=void 0===o?2:o,e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),i=a.parseNumber(i),o=a.parseNumber(o),a.anyIsError(e,t,n,i,o))return r.value;if(e<0||t<0||n<0||i<0||o<=0)return r.num;if(i>n)return r.num;if(t>=e)return 0;for(var s=0,l=0,u=1;u<=i;u++)s+=l=Math.min(o/n*(e-s),e-t-s);return l},t.DISC=function(){throw new Error("DISC is not implemented")},t.DOLLARDE=function(e,t){if(e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t))return r.value;if(t<0)return r.num;if(t>=0&&t<1)return r.div0;t=parseInt(t,10);var n=parseInt(e,10);n+=e%1*Math.pow(10,Math.ceil(Math.log(t)/Math.LN10))/t;var i=Math.pow(10,Math.ceil(Math.log(t)/Math.LN2)+1);return n=Math.round(n*i)/i},t.DOLLARFR=function(e,t){if(e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t))return r.value;if(t<0)return r.num;if(t>=0&&t<1)return r.div0;t=parseInt(t,10);var n=parseInt(e,10);return n+=e%1*Math.pow(10,-Math.ceil(Math.log(t)/Math.LN10))*t},t.DURATION=function(){throw new Error("DURATION is not implemented")},t.EFFECT=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<=0||t<1?r.num:(t=parseInt(t,10),Math.pow(1+e/t,t)-1)},t.FV=function(e,t,n,i,o){if(i=i||0,o=o||0,e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),i=a.parseNumber(i),o=a.parseNumber(o),a.anyIsError(e,t,n,i,o))return r.value;var s;if(0===e)s=i+n*t;else{var l=Math.pow(1+e,t);s=1===o?i*l+n*(1+e)*(l-1)/e:i*l+n*(l-1)/e}return-s},t.FVSCHEDULE=function(e,t){if(e=a.parseNumber(e),t=a.parseNumberArray(a.flatten(t)),a.anyIsError(e,t))return r.value;for(var n=t.length,i=e,o=0;o0&&(s=!0),e[u]<0&&(l=!0);if(!s||!l)return r.num;var c,d,f,h=t=void 0===t?.1:t,p=!0;do{c=h-(f=n(e,o,h))/i(e,o,h),d=Math.abs(c-h),h=c,p=d>1e-10&&Math.abs(f)>1e-10}while(p);return h},t.ISPMT=function(e,t,n,i){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),i=a.parseNumber(i),a.anyIsError(e,t,n,i)?r.value:i*e*(t/n-1)},t.MDURATION=function(){throw new Error("MDURATION is not implemented")},t.MIRR=function(e,n,i){if(e=a.parseNumberArray(a.flatten(e)),n=a.parseNumber(n),i=a.parseNumber(i),a.anyIsError(e,n,i))return r.value;for(var o=e.length,s=[],l=[],u=0;u1e-10&&h<50;)p=(u*c-l*d)/(u-l),c=d,d=p,l=u,u=Math.abs(p)<1e-10?n*(1+e*p)+t*(1+p*o)*e+i:n*(f=Math.exp(e*Math.log(1+p)))+t*(1/p+o)*(f-1)+i,++h;return p},t.RECEIVED=function(){throw new Error("RECEIVED is not implemented")},t.RRI=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?r.value:0===e||0===t?r.num:Math.pow(n/t,1/e)-1},t.SLN=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?r.value:0===n?r.num:(e-t)/n},t.SYD=function(e,t,n,i){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),i=a.parseNumber(i),a.anyIsError(e,t,n,i)?r.value:0===n||i<1||i>n?r.num:(e-t)*(n-(i=parseInt(i,10))+1)*2/(n*(n+1))},t.TBILLEQ=function(e,t,n){return e=a.parseDate(e),t=a.parseDate(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:365*n/(360-n*i.DAYS360(e,t,!1))},t.TBILLPRICE=function(e,t,n){return e=a.parseDate(e),t=a.parseDate(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:100*(1-n*i.DAYS360(e,t,!1)/360)},t.TBILLYIELD=function(e,t,n){return e=a.parseDate(e),t=a.parseDate(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:360*(100-n)/(n*i.DAYS360(e,t,!1))},t.VDB=function(){throw new Error("VDB is not implemented")},t.XNPV=function(e,t,n){if(e=a.parseNumber(e),t=a.parseNumberArray(a.flatten(t)),n=a.parseDateArray(a.flatten(n)),a.anyIsError(e,t,n))return r.value;for(var o=0,s=0;sa&&(i=o+1,a=t[o]):(i=o+1,a=t[o]))}else if(0===n){if("string"==typeof e){if(e=e.replace(/\?/g,"."),t[o].toLowerCase().match(e.toLowerCase()))return o+1}else if(t[o]===e)return o+1}else if(-1===n){if(t[o]===e)return o+1;t[o]>e&&(a?t[o]";function i(e,t){return e>t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=i;var r=t.SYMBOL=">=";function i(e,t){return e>=t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=i;var r=t.SYMBOL="<";function i(e,t){return e1?t-1:0),a=1;a1?t-1:0),a=1;a";function i(e,t){return e!==t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.SYMBOL=void 0,t.default=o;var r=n(3),i=n(2),a=t.SYMBOL="^";function o(e,t){var n=Math.pow((0,r.toNumber)(e),(0,r.toNumber)(t));if(isNaN(n))throw Error(i.ERROR_VALUE);return n}o.SYMBOL=a},function(e,t,n){var r=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,5],n=[1,8],r=[1,6],i=[1,7],a=[1,9],o=[1,14],s=[1,15],l=[1,16],u=[1,12],c=[1,13],d=[1,17],f=[1,19],h=[1,20],p=[1,21],m=[1,22],g=[1,23],v=[1,24],_=[1,25],y=[1,26],b=[1,27],S=[1,28],E=[5,9,10,11,13,14,15,16,17,18,19,20,29,30],w=[5,9,10,11,13,14,15,16,17,18,19,20,29,30,32],T=[5,9,10,11,13,14,15,16,17,18,19,20,29,30,34],O=[5,10,11,13,14,15,16,17,29,30],C=[5,10,13,14,15,16,29,30],x=[5,10,11,13,14,15,16,17,18,19,29,30],k=[13,29,30],M={trace:function(){},yy:{},symbols_:{error:2,expressions:3,expression:4,EOF:5,variableSequence:6,number:7,STRING:8,"&":9,"=":10,"+":11,"(":12,")":13,"<":14,">":15,NOT:16,"-":17,"*":18,"/":19,"^":20,FUNCTION:21,expseq:22,cell:23,ABSOLUTE_CELL:24,RELATIVE_CELL:25,MIXED_CELL:26,":":27,ARRAY:28,";":29,",":30,VARIABLE:31,DECIMAL:32,NUMBER:33,"%":34,ERROR:35,$accept:0,$end:1},terminals_:{5:"EOF",8:"STRING",9:"&",10:"=",11:"+",12:"(",13:")",14:"<",15:">",16:"NOT",17:"-",18:"*",19:"/",20:"^",21:"FUNCTION",24:"ABSOLUTE_CELL",25:"RELATIVE_CELL",26:"MIXED_CELL",27:":",28:"ARRAY",29:";",30:",",31:"VARIABLE",32:"DECIMAL",33:"NUMBER",34:"%",35:"ERROR"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,4],[4,4],[4,4],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,3],[4,4],[4,1],[4,1],[4,2],[23,1],[23,1],[23,1],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[22,1],[22,1],[22,3],[22,3],[6,1],[6,3],[7,1],[7,3],[7,2],[2,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=r.callVariable(a[s][0]);break;case 3:this.$=r.toNumber(a[s]);break;case 4:this.$=r.trimEdges(a[s]);break;case 5:this.$=r.evaluateByOperator("&",[a[s-2],a[s]]);break;case 6:this.$=r.evaluateByOperator("=",[a[s-2],a[s]]);break;case 7:this.$=r.evaluateByOperator("+",[a[s-2],a[s]]);break;case 8:this.$=a[s-1];break;case 9:this.$=r.evaluateByOperator("<=",[a[s-3],a[s]]);break;case 10:this.$=r.evaluateByOperator(">=",[a[s-3],a[s]]);break;case 11:this.$=r.evaluateByOperator("<>",[a[s-3],a[s]]);break;case 12:this.$=r.evaluateByOperator("NOT",[a[s-2],a[s]]);break;case 13:this.$=r.evaluateByOperator(">",[a[s-2],a[s]]);break;case 14:this.$=r.evaluateByOperator("<",[a[s-2],a[s]]);break;case 15:this.$=r.evaluateByOperator("-",[a[s-2],a[s]]);break;case 16:this.$=r.evaluateByOperator("*",[a[s-2],a[s]]);break;case 17:this.$=r.evaluateByOperator("/",[a[s-2],a[s]]);break;case 18:this.$=r.evaluateByOperator("^",[a[s-2],a[s]]);break;case 19:var l=r.invertNumber(a[s]);this.$=l,isNaN(this.$)&&(this.$=0);break;case 20:l=r.toNumber(a[s]),this.$=l,isNaN(this.$)&&(this.$=0);break;case 21:this.$=r.callFunction(a[s-2]);break;case 22:this.$=r.callFunction(a[s-3],a[s-1]);break;case 26:case 27:case 28:this.$=r.cellValue(a[s]);break;case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:this.$=r.rangeValue(a[s-2],a[s]);break;case 38:case 42:this.$=[a[s]];break;case 39:this.$=r.trimEdges(e).split(",");break;case 40:case 41:a[s-2].push(a[s]),this.$=a[s-2];break;case 43:this.$=Array.isArray(a[s-2])?a[s-2]:[a[s-2]],this.$.push(a[s]);break;case 44:this.$=a[s];break;case 45:this.$=1*(a[s-2]+"."+a[s]);break;case 46:this.$=.01*a[s-1];break;case 47:this.$=r.throwError(a[s])}},table:[{2:11,3:1,4:2,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{1:[3]},{5:[1,18],9:f,10:h,11:p,14:m,15:g,16:v,17:_,18:y,19:b,20:S},e(E,[2,2],{32:[1,29]}),e(E,[2,3],{34:[1,30]}),e(E,[2,4]),{2:11,4:31,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:32,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:33,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{12:[1,34]},e(E,[2,23]),e(E,[2,24],{2:35,35:d}),e(w,[2,42]),e(T,[2,44],{32:[1,36]}),e(E,[2,26],{27:[1,37]}),e(E,[2,27],{27:[1,38]}),e(E,[2,28],{27:[1,39]}),e([5,9,10,11,13,14,15,16,17,18,19,20,29,30,35],[2,47]),{1:[2,1]},{2:11,4:40,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:41,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:42,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:45,6:3,7:4,8:t,10:[1,43],11:n,12:r,15:[1,44],17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:47,6:3,7:4,8:t,10:[1,46],11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:48,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:49,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:50,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:51,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:52,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{31:[1,53]},e(T,[2,46]),{9:f,10:h,11:p,13:[1,54],14:m,15:g,16:v,17:_,18:y,19:b,20:S},e(O,[2,19],{9:f,18:y,19:b,20:S}),e(O,[2,20],{9:f,18:y,19:b,20:S}),{2:11,4:57,6:3,7:4,8:t,11:n,12:r,13:[1,55],17:i,21:a,22:56,23:10,24:o,25:s,26:l,28:[1,58],31:u,33:c,35:d},e(E,[2,25]),{33:[1,59]},{24:[1,60],25:[1,61],26:[1,62]},{24:[1,63],25:[1,64],26:[1,65]},{24:[1,66],25:[1,67],26:[1,68]},e(E,[2,5]),e([5,10,13,29,30],[2,6],{9:f,11:p,14:m,15:g,16:v,17:_,18:y,19:b,20:S}),e(O,[2,7],{9:f,18:y,19:b,20:S}),{2:11,4:69,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:70,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},e(C,[2,14],{9:f,11:p,17:_,18:y,19:b,20:S}),{2:11,4:71,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},e(C,[2,13],{9:f,11:p,17:_,18:y,19:b,20:S}),e([5,10,13,16,29,30],[2,12],{9:f,11:p,14:m,15:g,17:_,18:y,19:b,20:S}),e(O,[2,15],{9:f,18:y,19:b,20:S}),e(x,[2,16],{9:f,20:S}),e(x,[2,17],{9:f,20:S}),e([5,10,11,13,14,15,16,17,18,19,20,29,30],[2,18],{9:f}),e(w,[2,43]),e(E,[2,8]),e(E,[2,21]),{13:[1,72],29:[1,73],30:[1,74]},e(k,[2,38],{9:f,10:h,11:p,14:m,15:g,16:v,17:_,18:y,19:b,20:S}),e(k,[2,39]),e(T,[2,45]),e(E,[2,29]),e(E,[2,30]),e(E,[2,31]),e(E,[2,32]),e(E,[2,33]),e(E,[2,34]),e(E,[2,35]),e(E,[2,36]),e(E,[2,37]),e(C,[2,9],{9:f,11:p,17:_,18:y,19:b,20:S}),e(C,[2,11],{9:f,11:p,17:_,18:y,19:b,20:S}),e(C,[2,10],{9:f,11:p,17:_,18:y,19:b,20:S}),e(E,[2,22]),{2:11,4:75,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},{2:11,4:76,6:3,7:4,8:t,11:n,12:r,17:i,21:a,23:10,24:o,25:s,26:l,31:u,33:c,35:d},e(k,[2,40],{9:f,10:h,11:p,14:m,15:g,16:v,17:_,18:y,19:b,20:S}),e(k,[2,41],{9:f,10:h,11:p,14:m,15:g,16:v,17:_,18:y,19:b,20:S})],defaultActions:{18:[2,1]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",s=0,l=0,u=0,c=2,d=1,f=i.slice.call(arguments,1),h=Object.create(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=this.yy[m]);h.setInput(e,p.yy),p.yy.lexer=h,p.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var g=h.yylloc;i.push(g);var v=h.options&&h.options.ranges;function _(e){n.length=n.length-2*e,r.length=r.length-e,i.length=i.length-e}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,b,S,E,w,T,O,C,x,k=function(){var e;return"number"!=typeof(e=h.lex()||d)&&(e=t.symbols_[e]||e),e},M={};;){if(S=n[n.length-1],this.defaultActions[S]?E=this.defaultActions[S]:(null==y&&(y=k()),E=a[S]&&a[S][y]),void 0===E||!E.length||!E[0]){var A,R="";function I(e){for(var t=n.length-1,r=0;;){if(c.toString()in a[e])return r;if(0===e||t<2)return!1;e=n[t-=2],++r}}if(u)b!==d&&(A=I(S));else{for(T in A=I(S),x=[],a[S])this.terminals_[T]&&T>c&&x.push("'"+this.terminals_[T]+"'");R=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(s+1)+": Unexpected "+(y==d?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(R,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:g,expected:x,recoverable:!1!==A})}if(3==u){if(y===d||b===d)throw new Error(R||"Parsing halted while starting to recover from another error.");l=h.yyleng,o=h.yytext,s=h.yylineno,g=h.yylloc,y=k()}if(!1===A)throw new Error(R||"Parsing halted. No suitable error recovery rule available.");_(A),b=y==c?null:y,y=c,S=n[n.length-1],E=a[S]&&a[S][c],u=3}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+y);switch(E[0]){case 1:n.push(y),r.push(h.yytext),i.push(h.yylloc),n.push(E[1]),y=null,b?(y=b,b=null):(l=h.yyleng,o=h.yytext,s=h.yylineno,g=h.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[E[1]][1],M.$=r[r.length-O],M._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},v&&(M._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),void 0!==(w=this.performAction.apply(M,[o,l,s,p.yy,E[1],r,i].concat(f))))return w;O&&(n=n.slice(0,-1*O*2),r=r.slice(0,-1*O),i=i.slice(0,-1*O)),n.push(this.productions_[E[1]][0]),r.push(M.$),i.push(M._$),C=a[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},A={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:case 2:return 8;case 3:return 21;case 4:return 35;case 5:return 24;case 6:case 7:return 26;case 8:return 25;case 9:return 21;case 10:case 11:return 31;case 12:return 33;case 13:return 28;case 14:return 9;case 15:return" ";case 16:return 32;case 17:return 27;case 18:return 29;case 19:return 30;case 20:return 18;case 21:return 19;case 22:return 17;case 23:return 11;case 24:return 20;case 25:return 12;case 26:return 13;case 27:return 15;case 28:return 14;case 29:return 16;case 30:return'"';case 31:return"'";case 32:return"!";case 33:return 10;case 34:return 34;case 35:return"#";case 36:return 5}},rules:[/^(?:\s+)/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:[A-Za-z]{1,}[A-Za-z_0-9\.]+(?=[(]))/,/^(?:#[A-Z0-9\/]+(!|\?)?)/,/^(?:\$[A-Za-z]+\$[0-9]+)/,/^(?:\$[A-Za-z]+[0-9]+)/,/^(?:[A-Za-z]+\$[0-9]+)/,/^(?:[A-Za-z]+[0-9]+)/,/^(?:[A-Za-z\.]+(?=[(]))/,/^(?:[A-Za-z]{1,}[A-Za-z_0-9]+)/,/^(?:[A-Za-z_]+)/,/^(?:[0-9]+)/,/^(?:\[(.*)?\])/,/^(?:&)/,/^(?: )/,/^(?:[.])/,/^(?::)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\/)/,/^(?:-)/,/^(?:\+)/,/^(?:\^)/,/^(?:\()/,/^(?:\))/,/^(?:>)/,/^(?:<)/,/^(?:NOT\b)/,/^(?:")/,/^(?:')/,/^(?:!)/,/^(?:=)/,/^(?:%)/,/^(?:[#])/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],inclusive:!0}}};function R(){this.yy={}}return M.lexer=A,R.prototype=M,M.Parser=R,new R}();t.parser=r,t.Parser=r.Parser,t.parse=function(){return r.parse.apply(r,arguments)}},function(e,t,n){"use strict";t.__esModule=!0,t.trimEdges=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e=e.substring(t,e.length-t)}}])},e.exports=r()},function(e,t,n){"use strict";n.r(t),n.d(t,"LineShape",(function(){return s}));var r=n(66),i=n(38),a=n(316),o={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,i,s;if(this.subPixelOptimize){var l=Object(a.subPixelOptimizeLine)(o,t,this.style);n=l.x1,r=l.y1,i=l.x2,s=l.y2}else n=t.x1,r=t.y1,i=t.x2,s=t.y2;var u=t.percent;0!==u&&(e.moveTo(n,r),u<1&&(i=n*(1-u)+i*u,s=r*(1-u)+s*u),e.lineTo(i,s))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(i.default);l.prototype.type="line",t.default=l},function(e,t,n){"use strict";function r(e){return document.createTextNode(e)}function i(e){return document.createComment(e)}function a(e,t,n){e.insertBefore(t,n)}function o(e,t){e.removeChild(t)}function s(e,t){e.appendChild(t)}function l(e){return e.parentNode}function u(e){return e.nextSibling}function c(e){return e.tagName}function d(e,t){e.textContent=t}function f(e){return e.textContent}function h(e){return 1===e.nodeType}function p(e){return 3===e.nodeType}function m(e){return 8===e.nodeType}n.r(t),n.d(t,"createTextNode",(function(){return r})),n.d(t,"createComment",(function(){return i})),n.d(t,"insertBefore",(function(){return a})),n.d(t,"removeChild",(function(){return o})),n.d(t,"appendChild",(function(){return s})),n.d(t,"parentNode",(function(){return l})),n.d(t,"nextSibling",(function(){return u})),n.d(t,"tagName",(function(){return c})),n.d(t,"setTextContent",(function(){return d})),n.d(t,"getTextContent",(function(){return f})),n.d(t,"isElement",(function(){return h})),n.d(t,"isText",(function(){return p})),n.d(t,"isComment",(function(){return m}))},function(e,t,n){var r=n(247);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(129),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+" is not an object")}},function(e,t,n){"use strict";var r=n(62),i=n(79),a=n(679),o=n(172),s=n(139),l=n(680),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(s(o(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(109),a=n(210),o=n(287),s=n(6),l=n(237),u=n(1102),c=n(141),d=n(136),f=n(140),h=n(29);t.default=function(e,t,n){n=n||{};var p,m=t.getSourceManager(),g=!1;e?(g=!0,p=Object(c.createSourceFromSeriesDataOption)(e)):g=(p=m.getSource()).sourceFormat===h.SOURCE_FORMAT_ORIGINAL;var v=Object(u.getCoordSysInfoBySeries)(t),_=function(e,t){var n,i=e.get("coordinateSystem"),a=l.default.get(i);return t&&t.coordSysDims&&(n=r.map(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=Object(o.getDimensionTypeByAxis)(i)}return n}))),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}(t,v),y=n.useEncodeDefaulter,b=r.isFunction(y)?y:y?r.curry(f.makeSeriesEncodeForAxisCoordSys,_,t):null,S={coordDimensions:_,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:b,canOmitUnusedDimensions:!g},E=Object(a.default)(p,S),w=function(e,t,n){var i,a;return n&&r.each(e,(function(e,r){var o=e.coordDim,s=n.categoryAxisMap.get(o);s&&(null==i&&(i=r),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(a=!0)})),a||null==i||(e[i].otherDims.itemName=0),i}(E.dimensions,n.createInvertedIndices,v),T=g?null:m.getSharedDataStore(E),O=Object(d.enableDataStack)(t,{schema:E,store:T}),C=new i.default(E,t);C.setCalculationInfo(O);var x=null!=w&&function(e){if(e.sourceFormat===h.SOURCE_FORMAT_ORIGINAL){var t=function(e){var t=0;for(;t=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Object(i.getPixelPrecision)(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&l(n=n.slice(),r.count()),Object(i.linearMap)(e,o,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&l(n=n.slice(),r.count());var a=Object(i.linearMap)(e,n,o,t);return this.scale.scale(a)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=Object(a.createAxisTicks)(this,t).ticks,o=Object(r.map)(n,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return function(e,t,n,a){var o=t.length;if(!e.onBand||n||!o)return;var s,l,u=e.getExtent();if(1===o)t[0].coord=u[0],s=t[1]={coord:u[1]};else{var c=t[o-1].tickValue-t[0].tickValue,d=(t[o-1].coord-t[0].coord)/c;Object(r.each)(t,(function(e){e.coord-=d/2}));var f=e.scale.getExtent();l=1+f[1]-t[o-1].tickValue,s={coord:t[o-1].coord+d*l},t.push(s)}var h=u[0]>u[1];p(t[0].coord,u[0])&&(a?t[0].coord=u[0]:t.shift());a&&p(u[0],t[0].coord)&&t.unshift({coord:u[0]});p(u[1],s.coord)&&(a?s.coord=u[1]:t.pop());a&&p(s.coord,u[1])&&t.push({coord:u[1]});function p(e,t){return e=Object(i.round)(e),t=Object(i.round)(t),h?e>t:e0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return Object(r.map)(t,(function(e){return Object(r.map)(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return Object(a.createAxisLabels)(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return Object(a.calculateCategoryInterval)(this)},e}();function l(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"parseDataValue",(function(){return o})),n.d(t,"getRawValueParser",(function(){return l})),n.d(t,"SortOrderComparator",(function(){return d})),n.d(t,"createFilterComparator",(function(){return h}));var r=n(5),i=n(0),a=n(39);function o(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(i.isNumber)(e)||null==e||"-"===e||(e=+Object(r.parseDate)(e)),null==e||""===e?NaN:Number(e))}var s=Object(i.createHashMap)({number:function(e){return parseFloat(e)},time:function(e){return+Object(r.parseDate)(e)},trim:function(e){return Object(i.isString)(e)?Object(i.trim)(e):e}});function l(e){return s.get(e)}var u={lt:function(e,t){return et},gte:function(e,t){return e>=t}},c=function(){function e(e,t){if(!Object(i.isNumber)(t)){0,Object(a.throwError)("")}this._opFn=u[e],this._rvalFloat=Object(r.numericToNumber)(t)}return e.prototype.evaluate=function(e){return Object(i.isNumber)(e)?this._opFn(e,this._rvalFloat):this._opFn(Object(r.numericToNumber)(e),this._rvalFloat)},e}(),d=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(i.isNumber)(e)?e:Object(r.numericToNumber)(e),a=Object(i.isNumber)(t)?t:Object(r.numericToNumber)(t),o=isNaN(n),s=isNaN(a);if(o&&(n=this._incomparable),s&&(a=this._incomparable),o&&s){var l=Object(i.isString)(e),u=Object(i.isString)(t);l&&(n=u?e:0),u&&(a=l?t:0)}return na?-this._resultLT:0},e}(),f=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=Object(r.numericToNumber)(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=Object(r.numericToNumber)(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function h(e,t){return"eq"===e||"ne"===e?new f("eq"===e,t):Object(i.hasOwn)(u,e)?new c(e,t):null}},function(e,t,n){"use strict";n.r(t),n.d(t,"debugMode",(function(){return i})),n.d(t,"devicePixelRatio",(function(){return a})),n.d(t,"DARK_MODE_THRESHOLD",(function(){return o})),n.d(t,"DARK_LABEL_COLOR",(function(){return s})),n.d(t,"LIGHT_LABEL_COLOR",(function(){return l})),n.d(t,"LIGHTER_LABEL_COLOR",(function(){return u}));var r=1;n(53).default.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var i=0,a=r,o=.4,s="#333",l="#ccc",u="#eee"},function(e,t,n){"use strict";n.r(t),n.d(t,"SELECTION_TYPE_UNRECOGNIZED",(function(){return l})),n.d(t,"SELECTION_TYPE_EMPTY",(function(){return u})),n.d(t,"SELECTION_TYPE_ARRAY",(function(){return c})),n.d(t,"SELECTION_TYPE_OBJECT",(function(){return d})),n.d(t,"SELECTION_TYPES",(function(){return f})),n.d(t,"detectSelectionType",(function(){return g})),n.d(t,"normalizeSelectionFactory",(function(){return v})),n.d(t,"transformSelectionToColumnDistance",(function(){return _})),n.d(t,"transformSelectionToRowDistance",(function(){return y})),n.d(t,"isValidCoord",(function(){return b}));n(18),n(19),n(20),n(88),n(114),n(15),n(374),n(281),n(12),n(31),n(311),n(148),n(16),n(17);var r=n(14),i=n(2),a=n(26);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=0,u=1,c=2,d=3,f=[d,c],h=[["number"],["number","string"],["number","undefined"],["number","string","undefined"]],p=Symbol("root"),m=Symbol("child");function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;if(t!==p&&t!==m)throw new Error("The second argument is used internally only and cannot be overwritten.");var n=Array.isArray(e),i=t===p,a=l;if(n){var o=e[0];if(0===e.length)a=u;else if(i&&o instanceof r.CellRange)a=d;else if(i&&Array.isArray(o))a=g(o,m);else if(e.length>=2&&e.length<=4){var f=!e.some((function(e,t){return!h[t].includes(s(e))}));f&&(a=c)}}return a}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.keepDirection,r=void 0!==n&&n,i=t.propToCol;if(!f.includes(e))throw new Error("Unsupported selection ranges schema type was provided.");return function(t){var n=e===d,o=n?t.from.row:t[0],s=n?t.from.col:t[1],l=n?t.to.row:t[2],u=n?t.to.col:t[3];if("function"==typeof i&&("string"==typeof s&&(s=i(s)),"string"==typeof u&&(u=i(u))),Object(a.isUndefined)(l)&&(l=o),Object(a.isUndefined)(u)&&(u=s),!r){var c=o,f=s,h=l,p=u;o=Math.min(c,h),s=Math.min(f,p),l=Math.max(c,h),u=Math.max(f,p)}return[o,s,l,u]}}function _(e){var t=g(e);if(t===l||t===u)return[];var n=v(t),r=new Set;Object(i.arrayEach)(e,(function(e){var t=o(n(e),4),a=t[1],s=t[3]-a+1;Object(i.arrayEach)(Array.from(new Array(s),(function(e,t){return a+t})),(function(e){r.has(e)||r.add(e)}))}));var a=Array.from(r).sort((function(e,t){return e-t}));return Object(i.arrayReduce)(a,(function(e,t,n,r){return 0!==n&&t===r[n-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e}),[])}function y(e){var t=g(e);if(t===l||t===u)return[];var n=v(t),r=new Set;Object(i.arrayEach)(e,(function(e){var t=o(n(e),3),a=t[0],s=t[2]-a+1;Object(i.arrayEach)(Array.from(new Array(s),(function(e,t){return a+t})),(function(e){r.has(e)||r.add(e)}))}));var a=Array.from(r).sort((function(e,t){return e-t}));return Object(i.arrayReduce)(a,(function(e,t,n,r){return 0!==n&&t===r[n-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e}),[])}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return"number"==typeof e&&e>=0&&e=0}function s(e){return e+"Axis"}function l(e){return e+"AxisIndex"}function u(e){return e+"AxisId"}function c(e,t){var n,i=Object(r.createHashMap)(),a=[],o=Object(r.createHashMap)();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||l(e)}));do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!o.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=i.get(e);r&&r[n]&&(t=!0)})),t}(e)&&(l(e),n=!0)}function l(e){o.set(e.uid,!0),a.push(e),e.eachTargetAxis((function(e,t){(i.get(e)||i.set(e,[]))[t]=!0}))}return a}function d(e){var t=e.ecModel,n={infoList:[],infoMap:Object(r.createHashMap)()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(s(e),r);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,l=n.infoMap.get(o);l||(l={model:a,axisModels:[]},n.infoList.push(l),n.infoMap.set(o,l)),l.axisModels.push(i)}}})),n}},function(e,t,n){"use strict";var r=n(371),i=n(138),a=n(79),o=n(523),s=n(76),l=n(147),u=n(122),c=n(232),d=n(306),f=n(342),h=n(139),p=n(172),m=n(678),g=n(339),v=n(1712),_=n(524),y=n(120)("replace"),b=Math.max,S=Math.min,E=a([].concat),w=a([].push),T=a("".indexOf),O=a("".slice),C="$0"==="a".replace(/./,"$0"),x=!!/./[y]&&""===/./[y]("a","$0");o("replace",(function(e,t,n){var a=x?"$":"$0";return[function(e,n){var r=p(this),a=c(e)?void 0:g(e,y);return a?i(a,e,r,n):i(t,h(r),e,n)},function(e,i){var o=l(this),s=h(e);if("string"==typeof i&&-1===T(i,a)&&-1===T(i,"$<")){var c=n(t,o,s,i);if(c.done)return c.value}var p=u(i);p||(i=h(i));var g,y=o.global;y&&(g=o.unicode,o.lastIndex=0);for(var C,x=[];null!==(C=_(o,s))&&(w(x,C),y);){""===h(C[0])&&(o.lastIndex=m(s,f(o.lastIndex),g))}for(var k,M="",A=0,R=0;R=A&&(M+=O(s,A,N)+I,A=N+D.length)}return M+O(s,A)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!C||x)},function(e,t,n){"use strict";n.r(t),n.d(t,"PolygonShape",(function(){return o}));var r=n(66),i=n(38),a=n(562),o=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){a.buildPath(e,t,!0)},t}(i.default);s.prototype.type="polygon",t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"dataTransform",(function(){return c})),n.d(t,"getAxisInfo",(function(){return d})),n.d(t,"dataFilter",(function(){return f})),n.d(t,"zoneFilter",(function(){return h})),n.d(t,"createMarkerDimValueGetter",(function(){return p})),n.d(t,"numCalculate",(function(){return m}));var r=n(5),i=n(136),a=n(0),o=n(151);function s(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function l(e,t,n,a,o,s){var l=[],u=Object(i.isDimensionStacked)(t,a)?t.getCalculationInfo("stackResultDimension"):a,c=m(t,u,e),d=t.indicesOfNearest(u,c)[0];l[o]=t.get(n,d),l[s]=t.get(u,d);var f=t.get(a,d),h=r.getPrecision(t.get(a,d));return(h=Math.min(h,20))>=0&&(l[s]=+l[s].toFixed(h)),[l,f]}var u={min:Object(a.curry)(l,"min"),max:Object(a.curry)(l,"max"),average:Object(a.curry)(l,"average"),median:Object(a.curry)(l,"median")};function c(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!Object(a.isArray)(t.coord)&&Object(a.isArray)(i)){var o=d(t,n,r,e);if((t=Object(a.clone)(t)).type&&u[t.type]&&o.baseAxis&&o.valueAxis){var s=Object(a.indexOf)(i,o.baseAxis.dim),l=Object(a.indexOf)(i,o.valueAxis.dim),c=u[t.type](n,o.baseDataDim,o.valueDataDim,s,l);t.coord=c[0],t.value=c[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(a.isArray)(i))for(var f=t.coord,h=0;h<2;h++)u[f[h]]&&(f[h]=m(n,n.mapDimension(i[h]),f[h]));else t.coord=[];return t}}function d(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function f(e,t){return!(e&&e.containData&&t.coord&&!s(t))||e.containData(t.coord)}function h(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!s(t)&&!s(n))||e.containZone(t.coord,n.coord)}function p(e,t){return e?function(e,n,r,i){var a=i<2?e.coord&&e.coord[i]:e.value;return Object(o.parseDataValue)(a,t[i])}:function(e,n,r,i){return Object(o.parseDataValue)(e.value,t[i])}}function m(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}},function(e,t,n){"use strict";n.r(t),function(e,n){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function i(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function S(e,t){return b.call(e,t)}function E(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,T=E((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),O=E((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,x=E((function(e){return e.replace(C,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function R(e){for(var t={},n=0;n0,J=X&&X.indexOf("edge/")>0,ee=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===K),te=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if($)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var ae=function(){return void 0===z&&(z=!$&&!q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),z},oe=$&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ue="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);le="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=I,de=0,fe=function(){this.id=de++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){y(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!S(i,"default"))o=!1;else if(""===o||o===x(e)){var l=Ve(String,i.type);(l<0||s0&&(ft((l=e(l,(n||"")+"_"+r))[0])&&ft(c)&&(d[u]=ye(c.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ft(c)?d[u]=ye(c.text+l):""!==l&&d.push(ye(l)):ft(l)&&ft(c)?d[u]=ye(c.text+l.text):(o(t._isVList)&&a(l.tag)&&i(l.key)&&a(n)&&(l.key="__vlist"+n+"_"+r+"__"),d.push(l)));return d}(e):void 0}function ft(e){return a(e)&&a(e.text)&&!1===e.isComment}function ht(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;i0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==r&&s===n.$key&&!a&&!n.$hasNormal)return n;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=vt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=_t(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",o),V(i,"$key",s),V(i,"$hasNormal",a),i}function vt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:dt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function _t(e,t){return function(){return e[t]}}function yt(e,t){var n,r,i,o,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(cn=function(){return dn.now()})}function fn(){var e,t;for(un=cn(),sn=!0,nn.sort((function(e,t){return e.id-t.id})),ln=0;lnln&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);on||(on=!0,rt(fn))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){We(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:I,set:I};function gn(e,t,n){mn.get=function(){return this[t][n]},mn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,mn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&Oe(!1);var a=function(a){i.push(a);var o=He(a,t,n,e);ke(r,a,o),a in e||gn(e,"_props",a)};for(var o in t)a(o);Oe(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?I:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return We(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var a=n[i];0,r&&S(r,a)||Y(a)||gn(e,"_data",a)}xe(t,!0)}(e):xe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ae();for(var i in t){var a=t[i],o="function"==typeof a?a:a.get;0,r||(n[i]=new pn(e,o||I,I,_n)),i in e||yn(e,i,a)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=xn(o.componentOptions);s&&!t(s)&&An(n,a,r,i)}}}function An(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=wn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Fe(Tn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Xt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=pt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return Ut(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ut(e,t,n,r,i,!0)};var a=n&&n.data;ke(e,"$attrs",a&&a.attrs||r,null,!0),ke(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=ht(e.$options.inject,e);t&&(Oe(!1),Object.keys(t).forEach((function(n){ke(e,n,t[n])})),Oe(!0))}(t),vn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(On),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Me,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(c(t))return En(this,e,t,n);(n=n||{}).user=!0;var r=new pn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){We(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(On),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;aparseInt(this.max)&&An(o,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:A,mergeOptions:Fe,defineReactive:ke},e.set=Me,e.delete=Ae,e.nextTick=rt,e.observable=function(e){return xe(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,A(e.options.components,In),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Fe(this.options,e),this}}(e),Cn(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(On),Object.defineProperty(On.prototype,"$isServer",{get:ae}),Object.defineProperty(On.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(On,"FunctionalRenderContext",{value:Nt}),On.version="2.6.11";var Dn=g("style,class"),Nn=g("input,textarea,option,select,progress"),Ln=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pn=g("contenteditable,draggable,spellcheck"),jn=g("events,caret,typing,plaintext-only"),Fn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Bn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Un=function(e){return Hn(e)?e.slice(6,e.length):""},Yn=function(e){return null==e||!1===e};function Vn(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Wn(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Wn(t,n.data));return function(e,t){if(a(e)||a(t))return zn(e,Gn(t));return""}(t.staticClass,t.class)}function Wn(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Gn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?vr(e,t,n):Fn(t)?Yn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Pn(t)?e.setAttribute(t,function(e,t){return Yn(t)||"false"===t?"false":"contenteditable"===e&&jn(t)?t:"true"}(t,n)):Hn(t)?Yn(n)?e.removeAttributeNS(Bn,Un(t)):e.setAttributeNS(Bn,t,n):vr(e,t,n)}function vr(e,t,n){if(Yn(n))e.removeAttribute(t);else{if(Q&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var _r={create:mr,update:mr};function yr(e,t){var n=t.elm,r=t.data,o=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Vn(t),l=n._transitionClasses;a(l)&&(s=zn(s,Gn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,Sr,Er,wr,Tr,Or,Cr={create:yr,update:yr},xr=/[\w).+\-_$\]]/;function kr(e){var t,n,r,i,a,o=!1,s=!1,l=!1,u=!1,c=0,d=0,f=0,h=0;for(r=0;r=0&&" "===(m=e.charAt(p));p--);m&&xr.test(m)||(u=!0)}}else void 0===i?(h=r+1,i=e.slice(0,r).trim()):g();function g(){(a||(a=[])).push(e.slice(h,r).trim()),h=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==h&&g(),a)for(r=0;r-1?{exp:e.slice(0,wr),key:'"'+e.slice(wr+1)+'"'}:{exp:e,key:null};Sr=e,wr=Tr=Or=0;for(;!zr();)Gr(Er=Wr())?qr(Er):91===Er&&$r(Er);return{exp:e.slice(0,Tr),key:e.slice(Tr+1,Or)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Wr(){return Sr.charCodeAt(++wr)}function zr(){return wr>=br}function Gr(e){return 34===e||39===e}function $r(e){var t=1;for(Tr=wr;!zr();)if(Gr(e=Wr()))qr(e);else if(91===e&&t++,93===e&&t--,0===t){Or=wr;break}}function qr(e){for(var t=e;!zr()&&(e=Wr())!==t;);}var Kr;function Xr(e,t,n){var r=Kr;return function i(){var a=t.apply(null,arguments);null!==a&&Jr(e,i,n,r)}}var Qr=Ke&&!(te&&Number(te[1])<=53);function Zr(e,t,n,r){if(Qr){var i=un,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Kr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Jr(e,t,n,r){(r||Kr).removeEventListener(e,t._wrapper||t,n)}function ei(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Kr=t.elm,function(e){if(a(e.__r)){var t=Q?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),lt(n,r,Zr,Jr,Xr,t.context),Kr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in a(l.__ob__)&&(l=t.data.domProps=A({},l)),s)n in l||(o[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var u=i(r)?"":String(r);ii(o,u)&&(o.value=u)}else if("innerHTML"===n&&Kn(o.tagName)&&i(o.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var c=ti.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(r!==s[n])try{o[n]=r}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ai={create:ri,update:ri},oi=E((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function si(e){var t=li(e.style);return e.staticStyle?A(e.staticStyle,t):t}function li(e){return Array.isArray(e)?R(e):"string"==typeof e?oi(e):e}var ui,ci=/^--/,di=/\s*!important$/,fi=function(e,t,n){if(ci.test(t))e.style.setProperty(t,n);else if(di.test(n))e.style.setProperty(x(t),n.replace(di,""),"important");else{var r=pi(t);if(Array.isArray(n))for(var i=0,a=n.length;i-1?t.split(vi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,Si(e.name||"v")),A(t,e),t}return"string"==typeof e?Si(e):void 0}}var Si=E((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ei=$&&!Z,wi="transition",Ti="transitionend",Oi="animation",Ci="animationend";Ei&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(wi="WebkitTransition",Ti="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Ci="webkitAnimationEnd"));var xi=$?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ki(e){xi((function(){xi(e)}))}function Mi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),_i(e,t))}function Ai(e,t){e._transitionClasses&&y(e._transitionClasses,t),yi(e,t)}function Ri(e,t,n){var r=Di(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s="transition"===i?Ti:Ci,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=o&&u()};setTimeout((function(){l0&&(n="transition",c=o,d=a.length):"animation"===t?u>0&&(n="animation",c=u,d=l.length):d=(n=(c=Math.max(o,u))>0?o>u?"transition":"animation":null)?"transition"===n?a.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:"transition"===n&&Ii.test(r[wi+"Property"])}}function Ni(e,t){for(;e.length1}function Hi(e,t){!0!==t.data.show&&Pi(t)}var Ui=function(e){var t,n,r={},l=e.modules,u=e.nodeOps;for(t=0;tp?y(e,i(n[v+1])?null:n[v+1].elm,n,h,v,r):h>v&&S(t,f,p)}(f,g,v,n,c):a(v)?(a(e.text)&&u.setTextContent(f,""),y(f,null,v,0,v.length-1,n)):a(g)?S(g,0,g.length-1):a(e.text)&&u.setTextContent(f,""):e.text!==t.text&&u.setTextContent(f,t.text),a(p)&&a(h=p.hook)&&a(h=h.postpatch)&&h(e,t)}}}function O(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,o.selected!==a&&(o.selected=a);else if(L(Gi(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function zi(e,t){return t.every((function(t){return!L(t,e)}))}function Gi(e){return"_value"in e?e._value:e.value}function $i(e){e.target.composing=!0}function qi(e){e.target.composing&&(e.target.composing=!1,Ki(e.target,"input"))}function Ki(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Xi(e){return!e.componentInstance||e.data&&e.data.transition?e:Xi(e.componentInstance._vnode)}var Qi={model:Yi,show:{bind:function(e,t,n){var r=t.value,i=(n=Xi(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Xi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,(function(){e.style.display=e.__vOriginalDisplay})):ji(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ji(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ji(Gt(t.children)):e}function ea(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[T(a)]=i[a];return t}function ta(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var na=function(e){return e.tag||zt(e)},ra=function(e){return"show"===e.name},ia={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(na)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var a=Ji(i);if(!a)return i;if(this._leaving)return ta(e,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=ea(this),u=this._vnode,c=Ji(u);if(a.data.directives&&a.data.directives.some(ra)&&(a.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,c)&&!zt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=A({},l);if("out-in"===r)return this._leaving=!0,ut(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ta(e,i);if("in-out"===r){if(zt(a))return u;var f,h=function(){f()};ut(l,"afterEnter",h),ut(l,"enterCancelled",h),ut(d,"delayLeave",(function(e){f=e}))}}return i}}},aa=A({tag:String,moveClass:String},Zi);function oa(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function sa(e){e.data.newPos=e.elm.getBoundingClientRect()}function la(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}delete aa.mode;var ua={Transition:ia,TransitionGroup:{props:aa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=ea(this),s=0;s-1?Zn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Zn[e]=/HTMLUnknownElement/.test(t.toString())},A(On.options.directives,Qi),A(On.options.components,ua),On.prototype.__patch__=$?Ui:I,On.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=_e),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new pn(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&$?er(e):void 0,t)},$&&setTimeout((function(){H.devtools&&oe&&oe.emit("init",On)}),0);var ca=/\{\{((?:.|\r?\n)+?)\}\}/g,da=/[-.*+?^${}()|[\]\/\\]/g,fa=E((function(e){var t=e[0].replace(da,"\\$&"),n=e[1].replace(da,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var ha={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Br(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Fr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var pa,ma={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Br(e,"style");n&&(e.staticStyle=JSON.stringify(oi(n)));var r=Fr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ga=function(e){return(pa=pa||document.createElement("div")).innerHTML=e,pa.textContent},va=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),_a=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ya=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ba=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Sa=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ea="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",wa="((?:"+Ea+"\\:)?"+Ea+")",Ta=new RegExp("^<"+wa),Oa=/^\s*(\/?)>/,Ca=new RegExp("^<\\/"+wa+"[^>]*>"),xa=/^]+>/i,ka=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Da=/&(?:lt|gt|quot|amp|#39);/g,Na=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,La=g("pre,textarea",!0),Pa=function(e,t){return e&&La(e)&&"\n"===t[0]};function ja(e,t){var n=t?Na:Da;return e.replace(n,(function(e){return Ia[e]}))}var Fa,Ba,Ha,Ua,Ya,Va,Wa,za,Ga=/^@|^v-on:/,$a=/^v-|^@|^:|^#/,qa=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ka=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xa=/^\(|\)$/g,Qa=/^\[.*\]$/,Za=/:(.*)$/,Ja=/^:|^\.|^v-bind:/,eo=/\.[^.\]]+(?=[^\]]*$)/g,to=/^v-slot(:|$)|^#/,no=/[\r\n]/,ro=/\s+/g,io=E(ga);function ao(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ho(t),rawAttrsMap:{},parent:n,children:[]}}function oo(e,t){Fa=t.warn||Ar,Va=t.isPreTag||D,Wa=t.mustUseProp||D,za=t.getTagNamespace||D;var n=t.isReservedTag||D;(function(e){return!!e.component||!n(e.tag)}),Ha=Rr(t.modules,"transformNode"),Ua=Rr(t.modules,"preTransformNode"),Ya=Rr(t.modules,"postTransformNode"),Ba=t.delimiters;var r,i,a=[],o=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,u=!1;function c(e){if(d(e),l||e.processed||(e=so(e,t)),a.length||e===r||r.if&&(e.elseif||e.else)&&uo(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)o=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&uo(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var o,s;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(l=!1),Va(e.tag)&&(u=!1);for(var c=0;c]*>)","i")),f=e.replace(d,(function(e,n,r){return u=r.length,Aa(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),Pa(c,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-f.length,e=f,C(c,l-u,l)}else{var h=e.indexOf("<");if(0===h){if(ka.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),w(p+3);continue}}if(Ma.test(e)){var m=e.indexOf("]>");if(m>=0){w(m+2);continue}}var g=e.match(xa);if(g){w(g[0].length);continue}var v=e.match(Ca);if(v){var _=l;w(v[0].length),C(v[1],_,l);continue}var y=T();if(y){O(y),Pa(y.tagName,e)&&w(1);continue}}var b=void 0,S=void 0,E=void 0;if(h>=0){for(S=e.slice(h);!(Ca.test(S)||Ta.test(S)||ka.test(S)||Ma.test(S)||(E=S.indexOf("<",1))<0);)h+=E,S=e.slice(h);b=e.substring(0,h)}h<0&&(b=e),b&&w(b.length),t.chars&&b&&t.chars(b,l-b.length,l)}if(e===n){t.chars&&t.chars(e);break}}function w(t){l+=t,e=e.substring(t)}function T(){var t=e.match(Ta);if(t){var n,r,i={tagName:t[1],attrs:[],start:l};for(w(t[0].length);!(n=e.match(Oa))&&(r=e.match(Sa)||e.match(ba));)r.start=l,w(r[0].length),r.end=l,i.attrs.push(r);if(n)return i.unarySlash=n[1],w(n[0].length),i.end=l,i}}function O(e){var n=e.tagName,l=e.unarySlash;a&&("p"===r&&ya(n)&&C(r),s(n)&&r===n&&C(n));for(var u=o(n)||!!l,c=e.attrs.length,d=new Array(c),f=0;f=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var u=i.length-1;u>=o;u--)t.end&&t.end(i[u].tag,n,a);i.length=o,r=o&&i[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,a):"p"===s&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}C()}(e,{warn:Fa,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,s,d){var f=i&&i.ns||za(e);Q&&"svg"===f&&(n=function(e){for(var t=[],n=0;nl&&(s.push(a=e.slice(l,i)),o.push(JSON.stringify(a)));var u=kr(r[1].trim());o.push("_s("+u+")"),s.push({"@binding":u}),l=i+r[0].length}return l-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),jr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Vr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Vr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Vr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===a&&"radio"===o)!function(e,t,n){var r=n&&n.number,i=Fr(e,"value")||"null";Ir(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),jr(e,"change",Vr(t,i),null,!0)}(e,r,i);else if("input"===a||"textarea"===a)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},a=i.lazy,o=i.number,s=i.trim,l=!a&&"range"!==r,u=a?"change":"range"===r?"__r":"input",c="$event.target.value";s&&(c="$event.target.value.trim()");o&&(c="_n("+c+")");var d=Vr(t,c);l&&(d="if($event.target.composing)return;"+d);Ir(e,"value","("+t+")"),jr(e,u,d,null,!0),(s||o)&&jr(e,"blur","$forceUpdate()")}(e,r,i);else{if(!H.isReservedTag(a))return Yr(e,r,i),!1}return!0},text:function(e,t){t.value&&Ir(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ir(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:va,mustUseProp:Ln,canBeLeftOpenTag:_a,isReservedTag:Xn,getTagNamespace:Qn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(vo)},So=E((function(e){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Eo(e,t){e&&(_o=So(t.staticKeys||""),yo=t.isReservedTag||D,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||v(e.tag)||!yo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(_o)))}(t),1===t.type){if(!yo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,To=/\([^)]*?\);*$/,Oo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Co={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xo={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ko=function(e){return"if("+e+")return null;"},Mo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ko("$event.target !== $event.currentTarget"),ctrl:ko("!$event.ctrlKey"),shift:ko("!$event.shiftKey"),alt:ko("!$event.altKey"),meta:ko("!$event.metaKey"),left:ko("'button' in $event && $event.button !== 0"),middle:ko("'button' in $event && $event.button !== 1"),right:ko("'button' in $event && $event.button !== 2")};function Ao(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var a in e){var o=Ro(e[a]);e[a]&&e[a].dynamic?i+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ro(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ro(e)})).join(",")+"]";var t=Oo.test(e.value),n=wo.test(e.value),r=Oo.test(e.value.replace(To,""));if(e.modifiers){var i="",a="",o=[];for(var s in e.modifiers)if(Mo[s])a+=Mo[s],Co[s]&&o.push(s);else if("exact"===s){var l=e.modifiers;a+=ko(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(s);return o.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Io).join("&&")+")return null;"}(o)),a&&(i+=a),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Io(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Co[e],r=xo[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Do={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:I},No=function(e){this.options=e,this.warn=e.warn||Ar,this.transforms=Rr(e.modules,"transformCode"),this.dataGenFns=Rr(e.modules,"genData"),this.directives=A(A({},Do),e.directives);var t=e.isReservedTag||D;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Lo(e,t){var n=new No(t);return{render:"with(this){return "+(e?Po(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Po(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return jo(e,t);if(e.once&&!e.onceProcessed)return Fo(e,t);if(e.for&&!e.forProcessed)return Ho(e,t);if(e.if&&!e.ifProcessed)return Bo(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Wo(e,t),i="_t("+n+(r?","+r:""),a=e.attrs||e.dynamicAttrs?$o((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:T(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!a&&!o||r||(i+=",null");a&&(i+=","+a);o&&(i+=(a?"":",null")+","+o);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Wo(t,n,!0);return"_c("+e+","+Uo(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Uo(e,t));var i=e.inlineTemplate?null:Wo(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var a=0;a>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Lo(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+$o(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Yo(e){return 1===e.type&&("slot"===e.tag||e.children.some(Yo))}function Vo(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Bo(e,t,Vo,"null");if(e.for&&!e.forProcessed)return Ho(e,t,Vo);var r="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Wo(e,t)||"undefined")+":undefined":Wo(e,t)||"undefined":Po(e,t))+"}",a=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+a+"}"}function Wo(e,t,n,r,i){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return""+(r||Po)(o,t)+s}var l=n?function(e,t){for(var n=0,r=0;r':'
',Zo.innerHTML.indexOf(" ")>0}var ns=!!$&&ts(!1),rs=!!$&&ts(!0),is=E((function(e){var t=er(e);return t&&t.innerHTML})),as=On.prototype.$mount;On.prototype.$mount=function(e,t){if((e=e&&er(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=is(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:ns,shouldDecodeNewlinesForHref:rs,delimiters:n.delimiters,comments:n.comments},this),a=i.render,o=i.staticRenderFns;n.render=a,n.staticRenderFns=o}}return as.call(this,e,t)},On.compile=es,t.default=On}.call(this,n(188),n(495).setImmediate)},function(e,t,n){"use strict";function r(e){return null==e?0:e.length||1}function i(e){return e}n.r(t);var a=function(){function e(e,t,n,r,a,o){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=a,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},i=new Array(e.length),a=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,o)}else 1===u?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},a=[],o=[];this._initIndexMap(e,n,a,"_oldKeyGetter"),this._initIndexMap(t,i,o,"_newKeyGetter");for(var s=0;s1&&1===f)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===d&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===d&&1===f)this._update&&this._update(c,u),i[l]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(d>1)for(var h=0;h1)for(var s=0;s0?"top":"bottom",r="center"):Object(d.isRadianAroundZero)(a-v)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=a>0&&a0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),y={axisLine:function(e,t,n,i){var s=t.get(["axisLine","show"]);if("auto"===s&&e.handleAutoShown&&(s=e.handleAutoShown("axisLine")),s){var l=t.axis.getExtent(),u=i.transform,c=[l[0],0],d=[l[1],0],h=c[0]>d[0];u&&(Object(p.applyTransform)(c,c,u),Object(p.applyTransform)(d,d,u));var m=Object(r.extend)({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),g=new a.default({shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:m,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});o.subPixelOptimizeLine(g.shape,g.style.lineWidth),g.anid="line",n.add(g);var v=t.get(["axisLine","symbol"]);if(null!=v){var _=t.get(["axisLine","symbolSize"]);Object(r.isString)(v)&&(v=[v,v]),(Object(r.isString)(_)||Object(r.isNumber)(_))&&(_=[_,_]);var y=Object(f.normalizeSymbolOffset)(t.get(["axisLine","symbolOffset"])||0,_),b=_[0],S=_[1];Object(r.each)([{rotate:e.rotation+Math.PI/2,offset:y[0],r:0},{rotate:e.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((c[0]-d[0])*(c[0]-d[0])+(c[1]-d[1])*(c[1]-d[1]))}],(function(t,r){if("none"!==v[r]&&null!=v[r]){var i=Object(f.createSymbol)(v[r],-b/2,-S/2,b,S,m.stroke,!0),a=t.r+t.offset,o=h?d:c;i.attr({rotation:t.rotate,x:o[0]+a*Math.cos(e.rotation),y:o[1]-a*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,i){var a=function(e,t,n,i){var a=n.axis,o=n.getModel("axisTick"),s=o.get("show");"auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick"));if(!s||a.scale.isBlank())return;for(var l=o.getModel("lineStyle"),u=i.tickDirection*o.get("length"),c=w(a.getTicksCoords(),t.transform,u,Object(r.defaults)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;dy[1]?-1:1,S=["start"===h?y[0]-b*g:"end"===h?y[1]+b*g:(y[0]+y[1])/2,E(h)?e.labelOffset+p*g:0],w=t.get("nameRotate");null!=w&&(w=w*v/180),E(h)?c=_.innerTextLayout(e.rotation,null!=w?w:e.rotation,p):(c=function(e,t,n,r){var i,a,o=Object(d.remRadian)(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;Object(d.isRadianAroundZero)(o-v/2)?(a=l?"bottom":"top",i="center"):Object(d.isRadianAroundZero)(o-1.5*v)?(a=l?"top":"bottom",i="center"):(a="middle",i=o<1.5*v&&o>v/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:i,textVerticalAlign:a}}(e.rotation,h,w||0,y),null!=(f=e.axisNameAvailableWidth)&&(f=Math.abs(f/Math.sin(c.rotation)),!isFinite(f)&&(f=null)));var T=m.getFont(),O=t.get("nameTruncate",!0)||{},C=O.ellipsis,x=Object(r.retrieve)(e.nameTruncateMaxWidth,O.maxWidth,f),k=new s.default({x:S[0],y:S[1],rotation:c.rotation,silent:_.isLabelSilent(t),style:Object(u.createTextStyle)(m,{text:a,font:T,overflow:"truncate",width:x,ellipsis:C,fill:m.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:m.get("align")||c.textAlign,verticalAlign:m.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(o.setTooltipConfig({el:k,componentModel:t,itemName:a}),k.__fullText=a,k.anid="name",t.get("triggerEvent")){var M=_.makeAxisEventDataBase(t);M.targetType="axisName",M.name=a,Object(l.getECData)(k).eventData=M}i.add(k),k.updateTransform(),n.add(k),k.decomposeTransform()}}};function b(e){e&&(e.ignore=!0)}function S(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=h.identity([]);return h.rotate(i,i,-e.rotation),n.applyTransform(h.mul([],i,e.getLocalTransform())),r.applyTransform(h.mul([],i,t.getLocalTransform())),n.intersect(r)}}function E(e){return"middle"===e||"center"===e}function w(e,t,n,r,i){for(var s=[],l=[],u=[],c=0;c0&&void 0!==arguments[0]?arguments[0]:"common";i.has(e)||i.set(e,new Map);var t=i.get(e);function n(e,n){t.set(e,n)}function a(e){return t.get(e)}function o(e){return t.has(e)}function s(){return r(t.keys())}function l(){return r(t.values())}return{register:n,getItem:a,hasItem:o,getNames:s,getValues:l}}},function(e,t,n){"use strict";n.r(t),n.d(t,"DefaultDataProvider",(function(){return f})),n.d(t,"getRawSourceItemGetter",(function(){return m})),n.d(t,"getRawSourceDataCounter",(function(){return _})),n.d(t,"getRawSourceValueGetter",(function(){return S})),n.d(t,"retrieveRawValue",(function(){return w})),n.d(t,"retrieveRawAttr",(function(){return T}));var r,i,a,o,s,l=n(0),u=n(6),c=n(141),d=n(29),f=function(){function e(e,t){var n=Object(c.isSourceInstance)(e)?e:Object(c.createSourceFromSeriesDataOption)(e);this._source=n;var r=this._data=n.data;n.sourceFormat===d.SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}var t;return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=((t=e.prototype).pure=!1,void(t.persistent=!0)),e.internalField=function(){var e;s=function(e,i,a){var s=a.sourceFormat,u=a.seriesLayoutBy,c=a.startIndex,f=a.dimensionsDefine,h=o[E(s,u)];if(Object(l.extend)(e,h),s===d.SOURCE_FORMAT_TYPED_ARRAY)e.getItem=t,e.count=r,e.fillStorage=n;else{var p=m(s,u);e.getItem=Object(l.bind)(p,null,i,c,f);var g=_(s,u);e.count=Object(l.bind)(g,null,i,c,f)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,a=0;au&&(u=h)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t1?arguments[1]:void 0)}})},function(e,t,n){"use strict";function r(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function i(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function a(e,t,n,r){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break;default:0}}n.r(t),n.d(t,"getItemVisualFromData",(function(){return r})),n.d(t,"getVisualFromData",(function(){return i})),n.d(t,"setItemVisualFromData",(function(){return a}))},function(e,t,n){"use strict";n.r(t),n.d(t,"sortComparison",(function(){return o})),n.d(t,"toVisualValue",(function(){return s})),n.d(t,"createArrayAssertion",(function(){return c})),n.d(t,"toEmptyString",(function(){return d})),n.d(t,"unifyColumnValues",(function(){return f})),n.d(t,"intersectValues",(function(){return h}));n(88),n(56),n(15),n(281),n(12),n(311),n(16),n(17);var r=n(105),i=n(2),a=Object(r.getComparisonFunction)();function o(e,t){return"number"==typeof e&&"number"==typeof t?e-t:a(e,t)}function s(e,t){var n=e;return""===n&&(n="(".concat(t,")")),n}var l=new Set([1]).has(1),u=l&&"function"==typeof Array.from;function c(e){var t=e;return l&&(t=new Set(t)),function(e){return l?t.has(e):!!~t.indexOf(e)}}function d(e){return null==e?"":e}function f(e){var t=e;return t=(t=u?Array.from(new Set(t)):Object(i.arrayUnique)(t)).sort((function(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e===t?0:e>t?1:-1}))}function h(e,t,n,r){var a,o=[],l=e===t;return l||(a=c(t)),Object(i.arrayEach)(e,(function(e){var t=!1;(l||a(e))&&(t=!0);var i={checked:t,value:e,visualValue:s(e,n)};r&&r(i),o.push(i)})),o}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(232),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(53),o=n(264),s=n(45),l=n(6),u=n(80);function c(e){Object(l.defaultEmphasis)(e,"label",["show"])}var d=Object(l.makeInner)(),f=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(a.default.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var a=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),o=d(e)[a];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&c(n),i.each(n.data,(function(e){e instanceof Array?(c(e[0]),c(e[1])):c(e)})),o=this.createMarkerModelFromSeries(n,this,t),i.extend(o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),d(e)[a]=o):d(e)[a]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),a=r.getName(e);return Object(u.createTooltipMarkup)("section",{header:this.name,blocks:[Object(u.createTooltipMarkup)("nameValue",{name:a,value:i,noName:!a,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=o.DataFormatMixin.prototype.getDataParams.call(this,e,t),r=this.__hostSeries;return r&&(n.seriesId=r.id,n.seriesName=r.name,n.seriesType=r.subType),n},t.getMarkerModelFromSeries=function(e,t){return d(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(s.default);i.mixin(f,o.DataFormatMixin.prototype),t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1135),a=n(1136),o=Object(r.createHashMap)();t.default={registerMap:function(e,t,n){if(t.svg){var r=new i.GeoSVGResource(e,t.svg);o.set(e,r)}else{var s=t.geoJson||t.geoJSON;s&&!t.features?n=t.specialAreas:s=t;r=new a.GeoJSONResource(e,s,n);o.set(e,r)}},getGeoResource:function(e){return o.get(e)},getMapForUser:function(e){var t=o.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var r=o.get(e);if(r)return r.load(t,n)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createFloat32Array",(function(){return o}));var r=n(0),i="undefined"!=typeof Float32Array,a=i?Float32Array:Array;function o(e){return Object(r.isArray)(e)?i?new Float32Array(e):e:new a(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"ASC_SORT_STATE",(function(){return o})),n.d(t,"DESC_SORT_STATE",(function(){return s})),n.d(t,"HEADER_SPAN_CLASS",(function(){return l})),n.d(t,"areValidSortStates",(function(){return c})),n.d(t,"getNextSortOrder",(function(){return d})),n.d(t,"getHeaderSpanElement",(function(){return f})),n.d(t,"isFirstLevelColumnHeader",(function(){return h})),n.d(t,"wasHeaderClickedProperly",(function(){return p}));n(375),n(88),n(114),n(56),n(15),n(530),n(309),n(310),n(12),n(311),n(16),n(17);var r=n(26),i=n(3),a=n(28),o="asc",s="desc",l="colHeader";function u(e){if(Object(r.isUndefined)(e))return!1;var t=e.column,n=e.sortOrder;return Number.isInteger(t)&&[o,s].includes(n)}function c(e){if(!1===Array.isArray(e)||!1===e.every((function(e){return Object(i.isObject)(e)})))return!1;var t=e.map((function(e){return e.column}));return new Set(t).size===t.length&&e.every(u)}function d(e){if(e!==s)return e===o?s:o}function f(e){return e.querySelector(".".concat(l))}function h(e,t){if(e<0||!t.parentNode)return!1;var n=t.parentNode.parentNode.childNodes;return-1===Array.from(n).indexOf(t.parentNode)-n.length}function p(e,t,n){return-1===e&&t>=0&&!1===Object(a.isRightClick)(n)}},function(e,t,n){"use strict";var r=n(172),i=Object;e.exports=function(e){return i(r(e))}},function(e,t,n){"use strict";var r=n(134),i=n(955),a=n(956),o=n(147),s=n(658),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;t.f=r?a?function(e,t,n){if(o(e),t=s(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=s(t),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(289),a=n(68),o={},s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.prototype.render=function(t,n,r,a){this.axisPointerClass&&i.fixValue(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var a=t.getAxisPointerClass(this.axisPointerClass);if(a){var o=i.getAxisPointerModel(e);o?(this._axisPointer||(this._axisPointer=new a)).render(e,o,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){o[e]=t},t.getAxisPointerClass=function(e){return e&&o[e]},t.type="axis",t}(a.default);t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(5),a=n(69),o=n(181),s=n(112),l=i.round,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return Object(r.__extends)(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return s.contain(e,this._extent)},t.prototype.normalize=function(e){return s.normalize(e,this._extent)},t.prototype.scale=function(e){return s.scale(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.getIntervalPrecision(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,a=[];if(!t)return a;n[0]1e4)return[];var s=a.length?a[a.length-1].value:r[1];return n[1]>s&&(e?a.push({value:l(s+t,i)}):a.push({value:n[1]})),a},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&dt[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r.enableClassManagement(i),t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"EditorState",(function(){return h}));n(18),n(19),n(20),n(15),n(33),n(35),n(12),n(16),n(525),n(17);var r=n(14),i=n(26),a=n(3),o=n(1321);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;nn[2]&&(r=n[0],n[0]=n[2],n[2]=r),n[1]>n[3]&&(r=n[1],n[1]=n[3],n[3]=r)):n=[this.row,this.col,null,null],this.hot.populateFromArray(n[0],n[1],e,n[2],n[3],"edit")}},{key:"beginEditing",value:function(e,t){if(this.state===h.VIRGIN){if(this.hot.view.scrollViewport(new r.CellCoords(this.row,this.col)),this.state=h.EDITING,this.isInFullEditMode()){var n="string"==typeof e?e:Object(i.stringify)(this.originalValue);this.setValue(n)}this.open(t),this._opened=!0,this.focus(),this.hot.view.render(),this.hot.runHooks("afterBeginEditing",this.row,this.col)}}},{key:"finishEditing",value:function(e,t,n){var r,i=this;if(n){var a=this._closeCallback;this._closeCallback=function(e){a&&a(e),n(e),i.hot.view.render()}}if(!this.isWaiting())if(this.state!==h.VIRGIN){if(this.state===h.EDITING){if(e)return this.cancelChanges(),void this.hot.view.render();var o=this.getValue();r=this.hot.getSettings().trimWhitespace?[["string"==typeof o?String.prototype.trim.call(o||""):o]]:[[o]],this.state=h.WAITING,this.saveValue(r,t),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",(function(e){i.state=h.FINISHED,i.discardEditor(e)})):(this.state=h.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout((function(){i._fireCallbacks(!0)}))}},{key:"cancelChanges",value:function(){this.state=h.FINISHED,this.discardEditor()}},{key:"discardEditor",value:function(e){this.state===h.FINISHED&&(!1===e&&!0!==this.cellProperties.allowInvalid?(this.hot.selectCell(this.row,this.col),this.focus(),this.state=h.EDITING,this._fireCallbacks(!1)):(this.close(),this._opened=!1,this._fullEditMode=!1,this.state=h.VIRGIN,this._fireCallbacks(!0)))}},{key:"enableFullEditMode",value:function(){this._fullEditMode=!0}},{key:"isInFullEditMode",value:function(){return this._fullEditMode}},{key:"isOpened",value:function(){return this._opened}},{key:"isWaiting",value:function(){return this.state===h.WAITING}},{key:"getEditedCellsLayerClass",value:function(){switch(this.checkEditorSection()){case"right":return"ht_clone_right";case"left":return"ht_clone_left";case"bottom":return"ht_clone_bottom";case"bottom-right-corner":return"ht_clone_bottom_right_corner";case"bottom-left-corner":return"ht_clone_bottom_left_corner";case"top":return"ht_clone_top";case"top-right-corner":return"ht_clone_top_right_corner";case"top-left-corner":return"ht_clone_top_left_corner";default:return"ht_clone_master"}}},{key:"getEditedCell",value:function(){return this.hot.getCell(this.row,this.col,!0)}},{key:"checkEditorSection",value:function(){var e=this.hot.countRows(),t="";return this.row=e-this.hot.getSettings().fixedRowsBottom?t=this.col=0&&r(u)?u:.5,e.createRadialGradient(s,l,0,s,l,u)}function o(e,t,n){for(var r="radial"===t.type?a(e,t,n):i(e,t,n),o=t.colorStops,s=0;si&&(i+=h);var m=Math.atan2(l,o);if(m<0&&(m+=h),m>=r&&m<=i||m+h>=r&&m+h<=i)return u[0]=d,u[1]=f,c-n;var g=n*Math.cos(r)+e,v=n*Math.sin(r)+t,_=n*Math.cos(i)+e,y=n*Math.sin(i)+t,b=(g-o)*(g-o)+(v-l)*(v-l),S=(_-o)*(_-o)+(y-l)*(y-l);return b0){t=t/180*Math.PI,w.fromArray(e[0]),T.fromArray(e[1]),O.fromArray(e[2]),r.default.sub(C,w,T),r.default.sub(x,O,T);var n=C.len(),i=x.len();if(!(n<.001||i<.001)){C.scale(1/n),x.scale(1/i);var a=C.dot(x);if(Math.cos(t)1&&r.default.copy(A,O),A.toArray(e[1])}}}}function I(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,w.fromArray(e[0]),T.fromArray(e[1]),O.fromArray(e[2]),r.default.sub(C,T,w),r.default.sub(x,O,T);var i=C.len(),a=x.len();if(!(i<.001||a<.001))if(C.scale(1/i),x.scale(1/a),C.dot(t)=s)r.default.copy(A,O);else{A.scaleAndAdd(x,o/Math.tan(Math.PI/2-l));var u=O.x!==T.x?(A.x-T.x)/(O.x-T.x):(A.y-T.y)/(O.y-T.y);if(isNaN(u))return;u<0?r.default.copy(A,T):u>1&&r.default.copy(A,O)}A.toArray(e[1])}}}function D(e,t,n,r){var i="normal"===n,a=i?e:e.ensureState(n);a.ignore=t;var o=r.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):a.style=s}function N(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=d.dist(r[0],r[1]),a=d.dist(r[1],r[2]);if(!i||!a)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var o=Math.min(i,a)*n,s=d.lerp([],r[1],r[0],o/i),l=d.lerp([],r[1],r[2],o/a),u=d.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&(l.during=u?Object(i.bind)(S,{el:t,userDuring:u}):null,l.setToFinal=!0,l.scope=e),Object(i.extend)(l,n[o]),l}function m(e,t,n,a){var s=(a=a||{}).dataIndex,m=a.isInit,v=a.clearStyle,y=n.isAnimationEnabled(),b=h(e),S=t.style;b.userDuring=t.during;var T={},O={};if(function(e,t,n){for(var r=0;r=0)){var p=e.getAnimationStyleProps(),m=p?p.style:null;if(m){!o&&(o=a.style={});var g=Object(i.keys)(n);for(d=0;d0&&e.animateFrom(C,x)}else!function(e,t,n,r,i){if(i){var a=p("update",e,t,r,n);a.duration>0&&e.animateFrom(i,a)}}(e,t,s||0,n,T);g(e,t),S?e.dirty():e.markRedraw()}function g(e,t){for(var n=h(e).leaveToProps,r=0;r=0){!s&&(s=a[e]={});var p=Object(i.keys)(l);for(f=0;f"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){"use strict";var r=n(440),i=n(172);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";var r=n(138),i=n(79),a=n(523),o=n(147),s=n(232),l=n(172),u=n(1709),c=n(678),d=n(342),f=n(139),h=n(339),p=n(524),m=n(677),g=n(76),v=m.UNSUPPORTED_Y,_=Math.min,y=i([].push),b=i("".slice),S=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),E="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;a("split",(function(e,t,n){var i="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t;return[function(t,n){var a=l(this),o=s(t)?void 0:h(t,e);return o?r(o,t,a,n):r(i,f(a),t,n)},function(e,r){var a=o(this),s=f(e);if(!E){var l=n(i,a,s,r,i!==t);if(l.done)return l.value}var h=u(a,RegExp),m=a.unicode,g=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(v?"g":"y"),S=new h(v?"^(?:"+a.source+")":a,g),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===s.length)return null===p(S,s)?[s]:[];for(var T=0,O=0,C=[];O=0||a&&r.indexOf(a,l)<0)){var u=n.getShallow(l,t);null!=u&&(o[e[s][0]]=u)}}return o}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createGridClipPath",(function(){return l})),n.d(t,"createPolarClipPath",(function(){return u})),n.d(t,"createClipPath",(function(){return c}));var r=n(74),i=n(24),a=n(166),o=n(5),s=n(0);function l(e,t,n,a,o){var l=e.getArea(),u=l.x,c=l.y,d=l.width,f=l.height,h=n.get(["lineStyle","width"])||2;u-=h/2,c-=h/2,d+=h,f+=h,d=Math.ceil(d),u!==Math.floor(u)&&(u=Math.floor(u),d++);var p=new r.default({shape:{x:u,y:c,width:d,height:f}});if(t){var m=e.getBaseAxis(),g=m.isHorizontal(),v=m.inverse;g?(v&&(p.shape.x+=d),p.shape.width=0):(v||(p.shape.y+=f),p.shape.height=0);var _=Object(s.isFunction)(o)?function(e){o(e,p)}:null;i.initProps(p,{shape:{width:d,height:f,x:u,y:c}},n,null,a,_)}return p}function u(e,t,n){var r=e.getArea(),s=Object(o.round)(r.r0,1),l=Object(o.round)(r.r,1),u=new a.default({shape:{cx:Object(o.round)(e.cx,1),cy:Object(o.round)(e.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});t&&("angle"===e.getBaseAxis().dim?u.shape.endAngle=r.startAngle:u.shape.r=s,i.initProps(u,{shape:{endAngle:r.endAngle,r:l}},n));return u}function c(e,t,n,r,i){return e?"polar"===e.type?u(e,t,n):"cartesian2d"===e.type?l(e,t,n,r,i):null:null}},function(e,t,n){"use strict";function r(e,t,n,r,o,s){e=e||0;var l=n[1]-n[0];if(null!=o&&(o=a(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===r){var u=Math.abs(t[1]-t[0]);u=a(u,[0,l]),o=s=a(u,[o,s]),r=0}t[0]=a(t[0],n),t[1]=a(t[1],n);var c=i(t,r);t[r]+=e;var d,f=o||0,h=n.slice();return c.sign<0?h[0]+=f:h[1]-=f,t[r]=a(t[r],h),d=i(t,r),null!=o&&(d.sign!==c.sign||d.spans&&(t[1-r]=t[r]+d.sign*s),t}function i(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function a(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getDefaultLabel",(function(){return a})),n.d(t,"getDefaultInterpolatedLabel",(function(){return o}));var r=n(164),i=n(0);function a(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var a=Object(r.retrieveRawValue)(e,t,n[0]);return null!=a?a+"":null}if(i){for(var o=[],s=0;s=0&&r.push(t[o])}return r.join(" ")}},function(e,t,n){"use strict";n.r(t);n(531);var r=n(3),i=n(115),a=n(49),o=n(1),s=n(2),l=n(8);function u(e,t){for(var n=0;n1e-4)return p[0]=e-n,p[1]=t-i,m[0]=e+n,void(m[1]=t+i);if(c[0]=l(a)*n+e,c[1]=s(a)*i+t,d[0]=l(o)*n+e,d[1]=s(o)*i+t,g(p,c,d),v(m,c,d),(a%=u)<0&&(a+=u),(o%=u)<0&&(o+=u),a>o&&!h?o+=u:aa&&(f[0]=l(b)*n+e,f[1]=s(b)*i+t,g(p,f,p),v(m,f,m))}},function(e,t,n){"use strict";function r(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX;return((t.getZoom()-1)*n+1)/r}function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}n.r(t),n.d(t,"getNodeGlobalScale",(function(){return r})),n.d(t,"getSymbolSize",(function(){return i}))},function(e,t,n){"use strict";n.r(t);n(108),n(252);var r=n(14),i=n(104);function a(){var e=u(["The merged cell declared at [",", ",'] has "rowspan" or "colspan" declared as \n "0", which is not supported. It cannot be added to the collection.']);return a=function(){return e},e}function o(){var e=u(["The merged cell declared at [",", ",'] has both "rowspan" \n and "colspan" declared as "1", which makes it a single cell. It cannot be added to the collection.']);return o=function(){return e},e}function s(){var e=u(["The merged cell declared at [",", ","] is positioned (or positioned partially) \n outside of the table range. It was not added to the table, please fix your setup."]);return s=function(){return e},e}function l(){var e=u(["The merged cell declared with {row: ",", col: ",", rowspan: \n ",", colspan: ","} contains negative values, which is not supported. It \n will not be added to the collection."]);return l=function(){return e},e}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){for(var n=0;n=t||e.row+e.rowspan-1>=t||e.col>=n||e.col+e.colspan-1>=n}}],(n=[{key:"normalize",value:function(e){var t=e.countRows(),n=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>n-1&&(this.col=n-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>n-1&&(this.colspan=n-this.col)}},{key:"includes",value:function(e,t){return this.row<=e&&this.col<=t&&this.row+this.rowspan-1>=e&&this.col+this.colspan-1>=t}},{key:"includesHorizontally",value:function(e){return this.col<=e&&this.col+this.colspan-1>=e}},{key:"includesVertically",value:function(e){return this.row<=e&&this.row+this.rowspan-1>=e}},{key:"shift",value:function(e,t){var n=e[0]||e[1],r=t+Math.abs(e[0]||e[1])-1,i=e[0]?"colspan":"rowspan",a=e[0]?"col":"row",o=Math.min(t,r),s=Math.max(t,r),l=this[a],u=this[a]+this[i]-1;if(l>=t&&(this[a]+=n),n>0)t<=u&&t>l&&(this[i]+=n);else if(n<0){if(o<=l&&s>=u)return this.removed=!0,!1;if(l>=o&&l<=s){var c=s-l+1,d=Math.abs(n)-c;this[a]-=d+n,this[i]-=c}else if(l<=o&&u>=s)this[i]+=n;else if(l<=o&&u>=o&&uthis.row:"right"===t?e.col+e.colspan-1this.col:null)}},{key:"getLastRow",value:function(){return this.row+this.rowspan-1}},{key:"getLastColumn",value:function(){return this.col+this.colspan-1}},{key:"getRange",value:function(){return new r.CellRange(new r.CellCoords(this.row,this.col),new r.CellCoords(this.row,this.col),new r.CellCoords(this.getLastRow(),this.getLastColumn()))}}])&&c(t.prototype,n),u&&c(t,u),e}();t.default=d},function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return i})),n.d(t,"firstWalk",(function(){return a})),n.d(t,"secondWalk",(function(){return o})),n.d(t,"separation",(function(){return s})),n.d(t,"radialCoordinate",(function(){return l})),n.d(t,"getViewRect",(function(){return u}));var r=n(34);function i(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[t];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var a=r.length-1;a>=0;a--){var o=r[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(o)}}function a(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,r=0,i=0;for(;--n>=0;){var a=t[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var i=e,a=e,o=a.parentNode.children[0],s=t,l=i.hierNode.modifier,u=a.hierNode.modifier,p=o.hierNode.modifier,m=s.hierNode.modifier;s=c(s),a=d(a),s&&a;){i=c(i),o=d(o),i.hierNode.ancestor=e;var g=s.hierNode.prelim+m-a.hierNode.prelim-u+r(s,a);g>0&&(h(f(s,e,n),e,g),u+=g,l+=g),m+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=i.hierNode.modifier,p+=o.hierNode.modifier}s&&!c(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=m-l),a&&!d(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-p,n=e)}return n}(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function o(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:p}function l(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function u(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function d(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function f(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function h(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function p(e,t){return e.parentNode===t.parentNode?1:2}},function(e,t,n){"use strict";var r=n(775),i=n(1443),a=Object.prototype.toString;function o(e){return"[object Array]"===a.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===a.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n0&&(r.name=i+(o-1)),o++,t.set(i,o)}}(p),new c.SeriesDataSchema({source:e,dimensions:p,fullDimensionCount:m,dimensionOmitted:g})}function h(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(6);function i(){var e=Object(r.makeInner)();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,a=!!n.progressiveRender,o=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===o&&a===s)&&"reset"}}},function(e,t,n){"use strict";n.r(t),n.d(t,"AxisModelCommonMixin",(function(){return r}));var r=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(210),i=n(109),a=n(0);function o(e,t,n){t=Object(a.isArray)(t)&&{coordDimensions:t}||Object(a.extend)({encodeDefine:e.getEncode()},t);var o=e.getSource(),s=Object(r.default)(o,t).dimensions,l=new i.default(s,e);return l.initData(o,n),l}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(88),n(114),n(15),n(12),n(31),n(16),n(17);var r=n(1),i=n(87),a=n(106),o=n(543),s=n(544),l=n(546),u=n(61),c=n(1314),d=n(1315);function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]&&arguments[0],t=this.wot,n=t.wtOverlays,i=t.wtViewport,a=t.getSetting("totalRows"),l=t.getSetting("totalColumns"),c=t.getSetting("rowHeaders"),d=c.length,f=t.getSetting("columnHeaders"),h=f.length,p=!1,m=e;if(this.isMaster&&(this.holderOffset=Object(r.offset)(this.holder),m=i.createRenderCalculators(m),d&&!t.getSetting("fixedColumnsLeft"))){var g=n.leftOverlay.getScrollPosition(),v=this.correctHeaderWidth;this.correctHeaderWidth=g>0,v!==this.correctHeaderWidth&&(m=!1)}if(this.isMaster&&(p=n.prepareOverlays()),m)this.isMaster&&i.createVisibleCalculators(),n&&n.refresh(!0);else{this.isMaster?this.tableOffset=Object(r.offset)(this.TABLE):this.tableOffset=this.wot.cloneSource.wtTable.tableOffset;var _=a>0?this.getFirstRenderedRow():0,y=l>0?this.getFirstRenderedColumn():0;this.rowFilter=new s.default(_,a,h),this.columnFilter=new o.default(y,l,d);var b,S=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();var E={};this.wot.getSetting("beforeDraw",!0,E),S=!0!==E.skipRender}if(S)if(this.tableRenderer.setHeaderContentRenderers(c,f),(this.is(u.default.CLONE_BOTTOM)||this.is(u.default.CLONE_BOTTOM_LEFT_CORNER))&&this.tableRenderer.setHeaderContentRenderers(c,[]),this.resetOversizedRows(),this.tableRenderer.setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&(b=this.wot.wtViewport.getWorkspaceWidth(),this.wot.wtViewport.containerWidth=null,this.markOversizedColumnHeaders()),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(u.default.CLONE_BOTTOM))&&this.markOversizedRows(),this.isMaster){this.wot.wtViewport.createVisibleCalculators(),this.wot.wtOverlays.refresh(!1),this.wot.wtOverlays.applyToDOM();var w=Object(r.outerWidth)(this.hider),T=Object(r.outerWidth)(this.TABLE);0!==w&&T!==w&&(this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),b!==this.wot.wtViewport.getWorkspaceWidth()&&(this.wot.wtViewport.containerWidth=null,this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),this.wot.getSetting("onDraw",!0)}else this.is(u.default.CLONE_BOTTOM)&&this.wot.cloneSource.wtOverlays.adjustElementsSize()}return this.refreshSelections(m),this.isMaster&&(n.topOverlay.resetFixedPosition(),n.bottomOverlay.clone&&n.bottomOverlay.resetFixedPosition(),n.leftOverlay.resetFixedPosition(),n.topLeftCornerOverlay&&n.topLeftCornerOverlay.resetFixedPosition(),n.bottomLeftCornerOverlay&&n.bottomLeftCornerOverlay.clone&&n.bottomLeftCornerOverlay.resetFixedPosition()),p&&n.syncScrollWithMaster(),t.drawn=!0,this}},{key:"markIfOversizedColumnHeader",value:function(e){for(var t,n,i,a=this.wot.wtTable.columnFilter.renderedToSource(e),o=this.wot.getSetting("columnHeaders").length,s=this.wot.wtSettings.settings.defaultRowHeight,l=this.wot.getSetting("columnHeaderHeight")||[];o;)o-=1,t=this.wot.wtTable.getColumnHeaderHeight(o),(n=this.wot.wtTable.getColumnHeader(a,o))&&(i=Object(r.innerHeight)(n),(!t&&s=0)throw new Error("TR was expected to be rendered but is not");var s=o.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(n)];if(!s&&n>=0)throw new Error("TD or TH was expected to be rendered but is not");return s}},{key:"getColumnHeader",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.THEAD.childNodes[t];if(n)return n.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}},{key:"getRowHeader",value:function(e){if(0===this.columnFilter.sourceColumnToVisibleRowHeadedColumn(0))return null;var t=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)];return t?t.childNodes[0]:void 0}},{key:"getCoords",value:function(e){var t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=Object(r.closest)(t,["TD","TH"])),null===t)return null;var n=t.parentNode,i=n.parentNode,o=Object(r.index)(n),s=t.cellIndex;return Object(r.overlayContainsElement)(u.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_TOP,t,this.wtRootElement)?"THEAD"===i.nodeName&&(o-=i.childNodes.length):o=Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM,t,this.wtRootElement)?this.wot.getSetting("totalRows")-i.childNodes.length+o:i===this.THEAD?this.rowFilter.visibleColHeadedRowToSourceRow(o):this.rowFilter.renderedToSource(o),s=Object(r.overlayContainsElement)(u.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_LEFT,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)?this.columnFilter.offsettedTH(s):this.columnFilter.visibleRowHeadedColumnToSourceColumn(s),new a.default(o,s)}},{key:"markOversizedRows",value:function(){if(!this.wot.getSetting("externalRowCalculator")){var e,t,n,i,a,o=this.TBODY.childNodes.length;if(o*this.wot.wtSettings.settings.defaultRowHeight!=Object(r.innerHeight)(this.TBODY)-1||this.wot.getSetting("fixedRowsBottom"))for(;o;)o-=1,n=this.rowFilter.renderedToSource(o),e=this.getRowHeight(n),t=(a=(i=this.getTrForRow(n)).querySelector("th"))?Object(r.innerHeight)(a):Object(r.innerHeight)(i)-1,(!e&&this.wot.wtSettings.settings.defaultRowHeightthis.wot.getSetting("columnHeaders").length-1}},{key:"isRowHeaderLevelRendered",value:function(e){return e>this.wot.getSetting("rowHeaders").length-1}},{key:"isRowBeforeRenderedRows",value:function(e){var t=this.getFirstRenderedRow();return e<0&&(e=0),-1===t||ethis.getLastVisibleRow()}},{key:"isRowAfterRenderedRows",value:function(e){if(e<0){var t=this.wot.getSetting("columnHeaders").length+e;return this.isColumnHeaderLevelRendered(t)}return e>this.getLastRenderedRow()}},{key:"isColumnBeforeViewport",value:function(e){return this.columnFilter&&this.columnFilter.sourceToRendered(e)<0&&e>=0}},{key:"isColumnBeforeRenderedColumns",value:function(e){var t=this.getFirstRenderedColumn();return e<0&&(e=0),-1===t||ethis.getLastVisibleColumn()}},{key:"isColumnAfterRenderedColumns",value:function(e){if(e<0){var t=this.wot.getSetting("rowHeaders").length+e;return this.isRowHeaderLevelRendered(t)}return this.columnFilter&&e>this.getLastRenderedColumn()}},{key:"isLastRowFullyVisible",value:function(){return this.getLastVisibleRow()===this.getLastRenderedRow()}},{key:"isLastColumnFullyVisible",value:function(){return this.getLastVisibleColumn()===this.getLastRenderedColumn()}},{key:"allRowsInViewport",value:function(){return this.wot.getSetting("totalRows")===this.getVisibleRowsCount()}},{key:"allColumnsInViewport",value:function(){return this.wot.getSetting("totalColumns")===this.getVisibleColumnsCount()}},{key:"getRowHeight",value:function(e){return this.rowUtils.getHeight(e)}},{key:"getColumnHeaderHeight",value:function(e){return this.columnUtils.getHeaderHeight(e)}},{key:"getColumnWidth",value:function(e){return this.columnUtils.getWidth(e)}},{key:"getStretchedColumnWidth",value:function(e){return this.columnUtils.getStretchedColumnWidth(e)}},{key:"hasDefinedSize",value:function(){return this.hasTableHeight&&this.hasTableWidth}},{key:"isVisible",value:function(){return Object(r.isVisible)(this.TABLE)}},{key:"_modifyRowHeaderWidth",value:function(e){var t=Object(i.isFunction)(e)?e():null;return Array.isArray(t)?(t=f(t))[t.length-1]=this._correctRowHeaderWidth(t[t.length-1]):t=this._correctRowHeaderWidth(t),t}},{key:"_correctRowHeaderWidth",value:function(e){var t=e;return"number"!=typeof e&&(t=this.wot.getSetting("defaultColumnWidth")),this.correctHeaderWidth&&(t+=1),t}}])&&p(t.prototype,n),m&&p(t,m),e}();t.default=m},function(e,t,n){"use strict";n.r(t),n.d(t,"RecordTranslator",(function(){return o})),n.d(t,"registerIdentity",(function(){return u})),n.d(t,"getTranslator",(function(){return c})),n.d(t,"getIdentity",(function(){return d}));n(15),n(12),n(16),n(91),n(17);var r=n(350),i=n(3);function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:1,i=Object(r.arrayMax)(this._arrayMap)+1,o=[];return Object(a.rangeEach)(n-1,(function(n){o.push(t._arrayMap.splice(e+n,0,i+n))})),o},removeItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[];if(Array.isArray(e)){var r=[].concat(this._arrayMap);e.sort((function(e,t){return t-e}));for(var i=0,a=e.length;i1&&void 0!==arguments[1]?arguments[1]:1,n=this.removeItems(e,t);function i(e){return Object(r.arrayReduce)(n,(function(t,n){var r=t;return e>n&&(r+=1),r}),0)}this._arrayMap=Object(r.arrayMap)(this._arrayMap,(function(e){var t=e,n=i(t);return n&&(t-=n),t}))},shiftItems:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._arrayMap=Object(r.arrayMap)(this._arrayMap,(function(t){var r=t;return r>=e&&(r+=n),r})),Object(a.rangeEach)(n-1,(function(n){t._arrayMap.splice(e+n,0,e+n)}))},swapIndexes:function(e,t){var n;(n=this._arrayMap).splice.apply(n,[t,0].concat(o(this._arrayMap.splice(e,1))))},clearMap:function(){this._arrayMap.length=0}};Object(i.defineGetter)(s,"MIXIN_NAME","arrayMapper",{writable:!1,enumerable:!1}),t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"SYSTEM_LANG",(function(){return c})),n.d(t,"registerLocale",(function(){return d})),n.d(t,"createLocaleObject",(function(){return f})),n.d(t,"getLocaleModel",(function(){return h})),n.d(t,"getDefaultLocaleModel",(function(){return p}));var r=n(63),i=n(53),a=n(1090),o=n(1091),s=n(0),l={},u={},c=i.default.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function d(e,t){e=e.toUpperCase(),u[e]=new r.default(t),l[e]=t}function f(e){if(Object(s.isString)(e)){var t=l[e.toUpperCase()]||{};return"ZH"===e||"EN"===e?Object(s.clone)(t):Object(s.merge)(Object(s.clone)(t),Object(s.clone)(l.EN),!1)}return Object(s.merge)(Object(s.clone)(e),Object(s.clone)(l.EN),!1)}function h(e){return u[e]}function p(){return u.EN}d("EN",a.default),d("ZH",o.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"createFromString",(function(){return S})),n.d(t,"extendFromString",(function(){return E})),n.d(t,"mergePath",(function(){return w})),n.d(t,"clonePath",(function(){return T}));var r=n(66),i=n(38),a=n(132),o=n(728),s=n(0),l=Math.sqrt,u=Math.sin,c=Math.cos,d=Math.PI;function f(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function h(e,t){return(e[0]*t[0]+e[1]*t[1])/(f(e)*f(t))}function p(e,t){return(e[0]*t[1]1&&(o*=l(b),s*=l(b));var S=(i===a?-1:1)*l((o*o*(s*s)-o*o*(y*y)-s*s*(_*_))/(o*o*(y*y)+s*s*(_*_)))||0,E=S*o*y/s,w=S*-s*_/o,T=(e+n)/2+c(v)*E-u(v)*w,O=(t+r)/2+u(v)*E+c(v)*w,C=p([1,0],[(_-E)/o,(y-w)/s]),x=[(_-E)/o,(y-w)/s],k=[(-1*_-E)/o,(-1*y-w)/s],M=p(x,k);if(h(x,k)<=-1&&(M=d),h(x,k)>=1&&(M=0),M<0){var A=Math.round(M/d*1e6)/1e6;M=2*d+A%2*d}g.addData(m,T,O,o,s,C,M,v,a)}var g=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,v=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.applyTransform=function(e){},t}(i.default);function y(e){return null!=e.setData}function b(e,t){var n=function(e){var t=new a.default;if(!e)return t;var n,r=0,i=0,o=r,s=i,l=a.default.CMD,u=e.match(g);if(!u)return t;for(var c=0;c0))}function g(e){return"string"==typeof e&&"none"!==e}function v(e){var t=e.fill;return null!=t&&"none"!==t}function _(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function y(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function b(e,t,n){var r=Object(a.createOrUpdateImage)(t.image,t.__image,n);if(Object(a.isImageReady)(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*c.RADIAN_TO_DEGREE),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],E=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function w(e,t,n,i,a){var o=!1;if(!i&&t===(n=n||{}))return!1;if(i||t.opacity!==n.opacity){C(e,a),o=!0;var s=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(s)?r.DEFAULT_COMMON_STYLE.opacity:s}(i||t.blend!==n.blend)&&(o||(C(e,a),o=!0),e.globalCompositeOperation=t.blend||r.DEFAULT_COMMON_STYLE.blend);for(var l=0;l0&&(o=null===o?l:Math.min(o,l))}n[i]=o}}return n}(e),n=[];return Object(r.each)(e,(function(e){var r,a=e.coordinateSystem.getBaseAxis(),o=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=a.dim+"_"+a.index,c=t[s],d=Math.abs(o[1]-o[0]),f=a.scale.getExtent(),h=Math.abs(f[1]-f[0]);r=c?d/h*c:d}else{var p=e.getData();r=Math.abs(o[1]-o[0])/p.count()}var m=Object(i.parsePercent)(e.get("barWidth"),r),g=Object(i.parsePercent)(e.get("barMaxWidth"),r),v=Object(i.parsePercent)(e.get("barMinWidth")||(_(e)?.5:1),r),y=e.get("barGap"),b=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:g,barMinWidth:v,barGap:y,barCategoryGap:b,axisKey:u(a),stackId:l(e)})})),h(n)}function h(e){var t={};Object(r.each)(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,a=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;t[r]=a;var s=e.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=e.barMaxWidth;u&&(o[s].maxWidth=u);var c=e.barMinWidth;c&&(o[s].minWidth=c);var d=e.barGap;null!=d&&(a.gap=d);var f=e.barCategoryGap;null!=f&&(a.categoryGap=f)}));var n={};return Object(r.each)(t,(function(e,t){n[t]={};var a=e.stacks,o=e.bandWidth,s=e.categoryGap;if(null==s){var l=Object(r.keys)(a).length;s=Math.max(35-4*l,15)+"%"}var u=Object(i.parsePercent)(s,o),c=Object(i.parsePercent)(e.gap,1),d=e.remainedWidth,f=e.autoWidthCount,h=(d-u)/(f+(f-1)*c);h=Math.max(h,0),Object(r.each)(a,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,d-=r+c*r,f--}else{var r=h;t&&tr&&(r=n),r!==h&&(e.width=r,d-=r+c*r,f--)}})),h=(d-u)/(f+(f-1)*c),h=Math.max(h,0);var p,m=0;Object(r.each)(a,(function(e,t){e.width||(e.width=h),p=e,m+=e.width*(1+c)})),p&&(m-=p.width*c);var g=-m/2;Object(r.each)(a,(function(e,r){n[t][r]=n[t][r]||{bandWidth:o,offset:g,width:e.width},g+=e.width*(1+c)}))})),n}function p(e,t,n){if(e&&t){var r=e[u(t)];return null!=r&&null!=n?r[l(n)]:r}}function m(e,t){var n=d(e,t),i=f(n);Object(r.each)(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),r=l(e),a=i[u(n)][r],o=a.offset,s=a.width;t.setLayout({bandWidth:a.bandWidth,offset:o,size:s})}))}function g(e){return{seriesType:e,plan:Object(o.default)(),reset:function(e){if(v(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(i.dim)),l=t.getDimensionIndex(t.mapDimension(r.dim)),u=e.get("showBackground",!0),c=t.mapDimension(i.dim),d=t.getCalculationInfo("stackResultDimension"),f=Object(a.isDimensionStacked)(t,c)&&!!t.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),p=function(e,t){var n=t.model.get("startValue");n||(n=0);return t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}(0,i),m=_(e),g=e.get("barMinHeight")||0,y=d&&t.getDimensionIndex(d),b=t.getLayout("size"),S=t.getLayout("offset");return{progress:function(e,t){for(var r,i=e.count,a=m&&Object(s.createFloat32Array)(3*i),c=m&&u&&Object(s.createFloat32Array)(3*i),d=m&&Object(s.createFloat32Array)(i),v=n.master.getRect(),_=h?v.width:v.height,E=t.getStore(),w=0;null!=(r=e.next());){var T=E.get(f?y:o,r),O=E.get(l,r),C=p,x=void 0;f&&(x=+T-E.get(o,r));var k=void 0,M=void 0,A=void 0,R=void 0;if(h){var I=n.dataToPoint([T,O]);if(f)C=n.dataToPoint([x,O])[0];k=C,M=I[1]+S,A=I[0]-C,R=b,Math.abs(A)0;)t=(n-1)%a,r=String.fromCharCode(65+t)+r,n=parseInt((n-t)/a,10);return r}function s(e){var t=0;if(e)for(var n=0,r=e.length-1;n0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,i=[];for(e=0;e0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,i=[];for(e=0;e0?r:n)(e)}},function(e,t,n){"use strict";var r=n(89);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";e.exports=function(e){return null==e}},function(e,t,n){"use strict";var r=n(122),i=n(178),a=n(957),o=n(660);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&a(n,u,s),s.global)l?e[t]=n:o(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},function(e,t,n){"use strict";var r=n(342);e.exports=function(e){return r(e.length)}},function(e,t,n){"use strict";var r=n(62),i=n(177),a=n(446);r({target:"Object",stat:!0,forced:n(76)((function(){a(1)}))},{keys:function(e){return a(i(e))}})},function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=function(){},t.hasOwn=function(e,t){return l.call(e,t)},t.toObject=function(e){for(var t={},n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var c=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},d=(t.arrayFind=function(e,t){var n=c(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":r(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=e[n];n&&r&&t.forEach((function(t){e[t+n]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),r=(0,s.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),f=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;nt&&a>r||ai?s:0}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"WORKING_SPACE_ALL",(function(){return r})),n.d(t,"WORKING_SPACE_TOP",(function(){return i})),n.d(t,"WORKING_SPACE_BOTTOM",(function(){return a}));var r=0,i=1,a=2},function(e,t,n){var r=n(97);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23),i=n(227),a=n(89);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},function(e,t,n){var r=n(228),i=n(434),a=n(146),o=n(121),s=n(649);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,f=5==e||d,h=t||s;return function(t,s,p){for(var m,g,v=a(t),_=i(v),y=r(s,p,3),b=o(_.length),S=0,E=n?h(t,b):l?h(t,0):void 0;b>S;S++)if((f||S in _)&&(g=y(m=_[S],S,v),e))if(n)E[S]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:E.push(m)}else if(c)return!1;return d?-1:u||c?c:E}}},function(e,t,n){"use strict";var r=n(79),i=r({}.toString),a=r("".slice);e.exports=function(e){return a(i(e),8,-1)}},function(e,t,n){"use strict";n(1707)},function(e,t,n){"use strict";var r=n(62),i=n(669),a=n(76),o=n(129),s=n(450).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:a((function(){l(1)})),sham:!i},{freeze:function(e){return l&&o(e)?l(s(e)):e}})},function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return g})),n.d(t,"dispose",(function(){return v})),n.d(t,"disposeAll",(function(){return _})),n.d(t,"getInstance",(function(){return y})),n.d(t,"registerPainter",(function(){return b})),n.d(t,"getElementSSRData",(function(){return S})),n.d(t,"registerSSRDataGetter",(function(){return E})),n.d(t,"version",(function(){return w}));var r=n(53),i=n(0),a=n(1080),o=n(1078),s=n(610),l=n(1079),u=n(72),c=n(152),d=n(43),f={},h={};var p,m=function(){function e(e,t,n){var u=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var c=new o.default,d=n.renderer||"canvas";f[d]||(d=i.keys(f)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var h=new f[d](t,c,n,e),p=n.ssr||h.ssrOnly;this.storage=c,this.painter=h;var m,g=r.default.node||r.default.worker||p?null:new l.default(h.getViewportRoot(),h.root),v=n.useCoarsePointer;(null==v||"auto"===v?r.default.touchEventsSupported:!!v)&&(m=i.retrieve2(n.pointerSize,44)),this.handler=new a.default(c,h,g,h.root,m),this.animation=new s.default({stage:{update:p?null:function(){return u._flush(!0)}}}),p||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(!e)return!1;if("string"==typeof e)return Object(u.lum)(e,1)0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}();t.default=r},function(e,t,n){"use strict";function r(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i3?1.4:i>1?1.2:1.1;u(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:a,originY:o,isAvailableBehavior:null})}if(n){var l=Math.abs(r);u(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:o,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){o.isTaken(this._zr,"globalPan")||u(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(i.default);function u(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(a.stop(r.event),c(e,t,n,r,i))}function c(e,t,n,r,i){i.isAvailableBehavior=Object(s.bind)(d,null,n,r),e.trigger(t,i)}function d(e,t,n){var r=n[e];return!e||r&&(!Object(s.isString)(r)||t.event[r+"Key"])}t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(1313);function i(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0];e?Object(r.selectElementIfAllowed)(this.TEXTAREA):(this.TEXTAREA.select(),Object(r.setCaretPosition)(this.TEXTAREA,this.TEXTAREA.value.length))}},{key:"createElements",value:function(){var e=this.hot.rootDocument;this.TEXTAREA=e.createElement("TEXTAREA"),this.TEXTAREA.tabIndex=-1,Object(r.addClass)(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=e.createElement("DIV"),Object(r.addClass)(this.TEXTAREA_PARENT,"handsontableInputHolder"),Object(r.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&Object(r.removeClass)(this.TEXTAREA_PARENT,this.layerClass),Object(r.addClass)(this.TEXTAREA_PARENT,"ht_editor_hidden"),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}},{key:"hideEditableElement",value:function(){(Object(s.isIE)()||Object(s.isEdge)())&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",Object(r.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&Object(r.removeClass)(this.TEXTAREA_PARENT,this.layerClass),Object(r.addClass)(this.TEXTAREA_PARENT,"ht_editor_hidden")}},{key:"showEditableElement",value:function(){this.textareaParentStyle.height="",this.textareaParentStyle.overflow="",this.textareaParentStyle.position="",this.textareaParentStyle.right="auto",this.textareaParentStyle.opacity="1",this.textareaStyle.textIndent="",this.textareaStyle.overflowY="hidden";var e=this.TEXTAREA_PARENT.childNodes,t=!1;Object(i.rangeEach)(e.length-1,(function(n){var i=e[n];if(Object(r.hasClass)(i,"handsontableEditor"))return t=!0,!1})),Object(r.hasClass)(this.TEXTAREA_PARENT,"ht_editor_hidden")&&Object(r.removeClass)(this.TEXTAREA_PARENT,"ht_editor_hidden"),t?(this.layerClass="ht_editor_visible",Object(r.addClass)(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),Object(r.addClass)(this.TEXTAREA_PARENT,this.layerClass))}},{key:"refreshValue",value:function(){var e=this.hot.toPhysicalRow(this.row),t=this.hot.getSourceDataAtCell(e,this.col);this.originalValue=t,this.setValue(t),this.refreshDimensions()}},{key:"refreshDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state===l.EditorState.EDITING||e)if(this.TD=this.getEditedCell(),this.TD){var t,n=this.hot.view.wt,i=n.wtOverlays,a=n.wtViewport,o=Object(r.offset)(this.TD),s=Object(r.offset)(this.hot.rootElement),u=i.topOverlay.holder,c=i.leftOverlay.holder,d=this.hot.countRows(),f=u!==this.hot.rootWindow?u.scrollTop:0,h=c!==this.hot.rootWindow?c.scrollLeft:0,p=this.checkEditorSection(),m=["","left"].includes(p)?f:0,g=["","top","bottom"].includes(p)?h:0,v=o.top===s.top?0:1,_=this.hot.getSettings(),y=this.hot.hasColHeaders(),b=this.TD.style.backgroundColor,S=o.top-s.top-v-m,E=o.left-s.left-1-g;switch(p){case"top":t=Object(r.getCssTransform)(i.topOverlay.clone.wtTable.holder.parentNode);break;case"left":t=Object(r.getCssTransform)(i.leftOverlay.clone.wtTable.holder.parentNode);break;case"top-left-corner":t=Object(r.getCssTransform)(i.topLeftCornerOverlay.clone.wtTable.holder.parentNode);break;case"bottom-left-corner":t=Object(r.getCssTransform)(i.bottomLeftCornerOverlay.clone.wtTable.holder.parentNode);break;case"bottom":t=Object(r.getCssTransform)(i.bottomOverlay.clone.wtTable.holder.parentNode)}(y&&0===this.hot.getSelectedLast()[0]||_.fixedRowsBottom&&this.hot.getSelectedLast()[0]===d-_.fixedRowsBottom)&&(S+=1),0===this.hot.getSelectedLast()[1]&&(E+=1),t&&-1!==t?this.textareaParentStyle[t[0]]=t[1]:Object(r.resetCssTransform)(this.TEXTAREA_PARENT),this.textareaParentStyle.top="".concat(S,"px"),this.textareaParentStyle.left="".concat(E,"px"),this.showEditableElement();var w=a.rowsRenderCalculator.startPosition,T=a.columnsRenderCalculator.startPosition,O=i.leftOverlay.getScrollPosition(),C=i.topOverlay.getScrollPosition(),x=Object(r.getScrollbarWidth)(this.hot.rootDocument),k=this.TD.offsetTop+w-C,M=this.TD.offsetLeft+T-O,A=Object(r.innerWidth)(this.TD)-8,R=Object(r.hasVerticalScrollbar)(u)?x:0,I=Object(r.hasHorizontalScrollbar)(c)?x:0,D=this.hot.view.maximumVisibleElementWidth(M)-9-R,N=this.TD.scrollHeight+1,L=Math.max(this.hot.view.maximumVisibleElementHeight(k)-I,23),P=Object(r.getComputedStyle)(this.TD,this.hot.rootWindow);this.TEXTAREA.style.fontSize=P.fontSize,this.TEXTAREA.style.fontFamily=P.fontFamily,this.TEXTAREA.style.backgroundColor=b,this.autoResize.init(this.TEXTAREA,{minHeight:Math.min(N,L),maxHeight:L,minWidth:Math.min(A,D),maxWidth:D},!0)}else e||this.close()}},{key:"bindEvents",value:function(){var e=this;this.eventManager.addEventListener(this.TEXTAREA,"cut",(function(e){return Object(d.stopPropagation)(e)})),this.eventManager.addEventListener(this.TEXTAREA,"paste",(function(e){return Object(d.stopPropagation)(e)})),this.addHook("afterScrollHorizontally",(function(){return e.refreshDimensions()})),this.addHook("afterScrollVertically",(function(){return e.refreshDimensions()})),this.addHook("afterColumnResize",(function(){e.refreshDimensions(),e.focus()})),this.addHook("afterRowResize",(function(){e.refreshDimensions(),e.focus()}))}},{key:"allowKeyEventPropagation",value:function(){}},{key:"destroy",value:function(){this.eventManager.destroy(),this.clearHooks()}},{key:"onBeforeKeyDown",value:function(e){var t=(e.ctrlKey||e.metaKey)&&!e.altKey;if(e.target===this.TEXTAREA&&!Object(d.isImmediatePropagationStopped)(e)){switch(e.keyCode){case c.KEY_CODES.ARROW_RIGHT:case c.KEY_CODES.ARROW_LEFT:this.isInFullEditMode()&&(this.isWaiting()||this.allowKeyEventPropagation(e.keyCode)||Object(d.stopImmediatePropagation)(e));break;case c.KEY_CODES.ARROW_UP:case c.KEY_CODES.ARROW_DOWN:this.isInFullEditMode()&&(this.isWaiting()||this.allowKeyEventPropagation(e.keyCode)||Object(d.stopImmediatePropagation)(e));break;case c.KEY_CODES.ENTER:var n=this.hot.selection.isMultiple();if(t&&!n||e.altKey){if(this.isOpened()){var i=Object(r.getCaretPosition)(this.TEXTAREA),a=this.getValue(),o="".concat(a.slice(0,i),"\n").concat(a.slice(i));this.setValue(o),Object(r.setCaretPosition)(this.TEXTAREA,i+1)}else this.beginEditing("".concat(this.originalValue,"\n"));Object(d.stopImmediatePropagation)(e)}e.preventDefault();break;case c.KEY_CODES.BACKSPACE:case c.KEY_CODES.DELETE:case c.KEY_CODES.HOME:case c.KEY_CODES.END:Object(d.stopImmediatePropagation)(e)}-1===[c.KEY_CODES.ARROW_UP,c.KEY_CODES.ARROW_RIGHT,c.KEY_CODES.ARROW_DOWN,c.KEY_CODES.ARROW_LEFT].indexOf(e.keyCode)&&this.autoResize.resize(String.fromCharCode(e.keyCode))}}}])&&h(n.prototype,a),_&&h(n,_),t}(l.default);t.default=_},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return r})),n.d(t,"default",(function(){return i}));var r="---------";function i(){return{name:r}}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(56),n(15),n(12),n(92),n(31),n(16),n(456),n(157),n(193),n(531),n(17);var r=n(143),i=n(2),a=n(3),o=n(115),s=n(95);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.arrayEach)(this.cells,(function(e){null!=n&&t._translateCell(e,"row",n,a.row),null!=r&&t._translateCell(e,"column",r,a.column)})),this}},{key:"toString",value:function(){var e=this,t=this.expression.replace(p,(function(t,n,i){var a=-1===t.indexOf(":"),o=t,s=t,l=null;a&&(s=c.test(n)?n:i);var u=e._searchCell(s);return u&&(l=u.refError?Object(r.error)(r.ERROR_REF):u.toLabel(),o=a?t.replace(s,l):l),o}));return t.startsWith("=")||(t="=".concat(t)),t}},{key:"_translateCell",value:function(e,t,n,r){var i=e.start,a=e.end,o=i[t].index,s=a[t].index,u=n,c=n,d=!1;if(this.customModifier){var f=l(this.customModifier(e,t,n,r),3);u=f[0],c=f[1],d=f[2]}else i[t].isAbsolute&&(u=0),a[t].isAbsolute&&(c=0);u&&!d&&(o+u<0&&(d=!0),i[t].index=Math.max(o+u,0)),c&&!d&&(s+c<0&&(d=!0),a[t].index=Math.max(s+c,0)),d&&(e.refError=!0)}},{key:"_extractCells",value:function(){var e=this,t=this.expression.match(f);t&&Object(i.arrayEach)(t,(function(t){var n=t.match(d);if(n){var i=l(Object(r.extractLabel)(n[0]),2),a=i[0],o=i[1];e.cells.push(e._createCell({row:a,column:o},{row:a,column:o},n[0]))}}))}},{key:"_extractCellsRange",value:function(){var e=this,t=this.expression.match(h);t&&Object(i.arrayEach)(t,(function(t){var n=l(t.split(":"),2),i=n[0],a=n[1],o=l(Object(r.extractLabel)(i),2),s=o[0],u=o[1],c=l(Object(r.extractLabel)(a),2),d={row:s,column:u},f={row:c[0],column:c[1]};e.cells.push(e._createCell(d,f,t))}))}},{key:"_searchCell",value:function(e){return l(Object(i.arrayFilter)(this.cells,(function(t){return t.origLabel===e})),1)[0]||null}},{key:"_createCell",value:function(e,t,n){return{start:e,end:t,origLabel:n,type:-1===n.indexOf(":")?"cell":"range",refError:!1,toLabel:function(){var e=Object(r.toLabel)(this.start.row,this.start.column);return"range"===this.type&&(e+=":".concat(Object(r.toLabel)(this.end.row,this.end.column))),e}}}}])&&u(t.prototype,n),a&&u(t,a),e}();Object(a.mixin)(m,o.default),t.default=m},function(e,t,n){"use strict";n.r(t),n.d(t,"getDecalFromPalette",(function(){return s})),n.d(t,"PaletteMixin",(function(){return o}));var r=n(6),i=Object(r.makeInner)(),a=Object(r.makeInner)(),o=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var a=Object(r.normalizeToArray)(this.get("color",!0)),o=this.get("colorLayer",!0);return l(this,i,a,o,e,t,n)},e.prototype.clearColorPalette=function(){var e,t;(t=i)(e=this).paletteIdx=0,t(e).paletteNameMap={}},e}();function s(e,t,n,i){var o=Object(r.normalizeToArray)(e.get(["aria","decal","decals"]));return l(e,a,o,null,t,n,i)}function l(e,t,n,r,i,a,o){var s=t(a=a||e),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=o&&r?function(e,t){for(var n=e.length,r=0;rt)return e[r];return e[n-1]}(r,o):n;if((c=c||n)&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}},function(e,t,n){"use strict";n.r(t),n.d(t,"DataFormatMixin",(function(){return s})),n.d(t,"normalizeTooltipFormatResult",(function(){return l}));var r=n(0),i=n(164),a=n(69),o=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),a=n.getName(e),o=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,f=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:a,dataIndex:i,data:o,dataType:t,value:r,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,u){t=t||"normal";var c=this.getData(n),d=this.getDataParams(e,n);(u&&(d.value=u.interpolatedValue),null!=s&&r.isArray(d.value)&&(d.value=d.value[s]),l)||(l=c.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]));return r.isFunction(l)?(d.status=t,d.dimensionIndex=s,l(d)):r.isString(l)?Object(a.formatTpl)(l,d).replace(o,(function(t,n){var a=n.length,o=n;"["===o.charAt(0)&&"]"===o.charAt(a-1)&&(o=+o.slice(1,a-1));var s=Object(i.retrieveRawValue)(c,e,o);if(u&&r.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(o);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""})):void 0},e.prototype.getRawValue=function(e,t){return Object(i.retrieveRawValue)(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r.isObject(e)?e.type&&(n=e):t=e,{text:t,frag:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var r=n(4),i=n(573),a=n(34),o=n(478),s=n(1122),l=n(0);function u(e,t,n,u){Object(l.each)(s.AXIS_TYPES,(function(s,d){var f=Object(l.merge)(Object(l.merge)({},i.default[d],!0),u,!0),h=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+d,n}return Object(r.__extends)(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(a.fetchLayoutMode)(this),r=n?Object(a.getLayoutParams)(e):{},i=t.getTheme();Object(l.merge)(e,i.get(d+"Axis")),Object(l.merge)(e,this.getDefaultOption()),e.type=c(e),n&&Object(a.mergeLayoutParam)(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=o.default.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+d,n.defaultOption=f,n}(n);e.registerComponentModel(h)})),e.registerSubTypeDefaulter(t+"Axis",c)}function c(e){return e.type||(e.data?"category":"value")}},function(e,t,n){"use strict";n.r(t),n.d(t,"_getRefCount",(function(){return h})),n.d(t,"_resetState",(function(){return c})),n.d(t,"isPressed",(function(){return d})),n.d(t,"isPressedCtrlKey",(function(){return f})),n.d(t,"startObserving",(function(){return l})),n.d(t,"stopObserving",(function(){return u}));n(88),n(15),n(374),n(12),n(311),n(16),n(17);var r=n(49),i=n(41),a=new r.default,o=new Set,s=0;function l(e){0===s&&(a.addEventListener(e,"keydown",(function(e){o.has(e.keyCode)||o.add(e.keyCode)})),a.addEventListener(e,"keyup",(function(e){o.has(e.keyCode)&&o.delete(e.keyCode)})),a.addEventListener(e,"visibilitychange",(function(){e.hidden&&o.clear()})),a.addEventListener(e.defaultView,"blur",(function(){o.clear()}))),s+=1}function u(){s>0&&(s-=1),0===s&&c()}function c(){a.clearEvents(),o.clear(),s=0}function d(e){return Array.from(o.values()).some((function(t){return Object(i.isKey)(t,e)}))}function f(){return Array.from(o.values()).some((function(e){return Object(i.isCtrlMetaKey)(e)}))}function h(){return s}},function(e,t,n){"use strict";n.r(t),n.d(t,"findExistImage",(function(){return o})),n.d(t,"createOrUpdateImage",(function(){return s})),n.d(t,"isImageReady",(function(){return u}));var r=n(285),i=n(93),a=new r.default(50);function o(e){if("string"==typeof e){var t=a.get(e);return t&&t.image}return e}function s(e,t,n,r,o){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var s=a.get(e),c={hostEl:n,cb:r,cbPayload:o};return s?!u(t=s.image)&&s.pending.push(c):((t=i.platformApi.loadImage(e,l,l)).__zrImageSrc=e,a.put(e,t.__cachedImgObj={image:t,pending:[c]})),t}return e}return t}function l(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;tn&&(e=i,n=o)}if(e)return function(e){for(var t=0,n=0,r=0,i=e.length,a=e[i-1][0],o=e[i-1][1],s=0;s0&&a&&E(-d/o,0,o);var g,v,_=e[0],y=e[o-1];return b(),g<0&&w(-g,.8),v<0&&w(v,.8),b(),S(g,v,1),S(v,g,-1),b(),g<0&&T(-g),v<0&&T(v),u}function b(){g=_.rect[t]-r,v=i-y.rect[t]-y.rect[n]}function S(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){E(r*n,0,o);var i=r+e;i<0&&w(-i*n,1)}else w(-e*n,1)}}function E(n,r,i){0!==n&&(u=!0);for(var a=r;a0)for(l=0;l0;l--){E(-(a[l-1]*d),l,o)}}}function T(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(o-1)),r=0;r0?E(n,0,r+1):E(-n,o-r-1,o),(e-=n)<=0)return}}function s(e,t,n,r){return o(e,"x","width",t,n,r)}function l(e,t,n,r){return o(e,"y","height",t,n,r)}function u(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new i.default(0,0,0,0);function a(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var o=0;ot+s&&o>r+s||oe+s&&a>n+s||a=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[i].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var c={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var h,p,m=i.getModel("universalTransition").get("delay"),g=Object.assign({setToFinal:!0},f);l(e)&&(h=e,p=t),l(t)&&(h=t,p=e);for(var v=h?h===e:e.length>t.length,_=h?u(p,h):u(v?t:e,[v?e:t]),y=0,b=0;b<_.length;b++)y+=_[b].many.length;var S=0;for(b=0;b<_.length;b++)E(_[b],v,S,y),S+=_[b].many.length}}function E(e,t,i,o,s){var l=e.many,u=e.one;if(1!==l.length||s)for(var f=Object(a.defaults)({dividePath:c[n],individualDelay:m&&function(e,t,n,r){return m(e+i,o)}},g),h=t?Object(r.combineMorph)(l,u,f):Object(r.separateMorph)(u,l,f),p=h.fromIndividuals,v=h.toIndividuals,_=p.length,y=0;y<_;y++){w=m?Object(a.defaults)({delay:m(y,_)},g):g;d(p[y],v[y],t?l[y]:e.one,t?e.one:l[y],w)}else{var b=t?l[0]:u,S=t?u:l[0];if(Object(r.isCombineMorphing)(b))E({many:[b],one:S},!0,i,o,!0);else{var w=m?Object(a.defaults)({delay:m(i,o)},g):g;Object(r.morphPath)(b,S,w),d(b,S,b,S,w)}}}}function f(e){if(!e)return[];if(Object(a.isArray)(e)){for(var t=[],n=0;nn;)i[n]=t[n++];return i},Me=function(e,t,n){U(e,t,{get:function(){return this._d[n]}})},Ae=function(e){var t,n,r,i,a,o,s=E(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,f=x(s);if(null!=f&&!w(f)){for(o=f.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),i=Ce(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Re=function(){for(var e=0,t=arguments.length,n=Ce(this,t);t>e;)n[e]=arguments[e++];return n},Ie=!!z&&a((function(){he.call(new z(1))})),De=function(){return he.apply(Ie?de.call(Oe(this)):Oe(this),arguments)},Ne={copyWithin:function(e,t){return F.call(Oe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Z(Oe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return j.apply(Oe(this),arguments)},filter:function(e){return xe(this,X(Oe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return J(Oe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Oe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){K(Oe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Oe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Oe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Oe(this),arguments)},lastIndexOf:function(e){return oe.apply(Oe(this),arguments)},map:function(e){return Se(Oe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Oe(this),arguments)},reduceRight:function(e){return le.apply(Oe(this),arguments)},reverse:function(){for(var e,t=Oe(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(Oe(this),e)},subarray:function(e,t){var n=Oe(this),r=n.length,i=v(e,r);return new(I(n,n[ve]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-i))}},Le=function(e,t){return xe(this,de.call(Oe(this),e,t))},Pe=function(e){Oe(this);var t=Te(arguments[1],1),n=this.length,r=E(e),i=m(r.length),a=0;if(i+t>n)throw V("Wrong length!");for(;a255?255:255&r),i.v[h](n*t+i.o,r,Ee)}(this,n,e)},enumerable:!0})};y?(p=n((function(e,n,r,i){c(e,p,u,"_d");var a,o,s,l,d=0,h=0;if(S(n)){if(!(n instanceof $||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return ye in n?ke(p,n):Ae.call(p,n);a=n,h=Te(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw V("Wrong length!");if((o=v-h)<0)throw V("Wrong length!")}else if((o=m(i)*t)+h>v)throw V("Wrong length!");s=o/t}else s=g(n),a=new $(o=s*t);for(f(e,"_d",{b:a,o:h,l:o,e:s,v:new q(a)});dT;T++)if((h||T in S)&&(y=w(_=S[T],T,b),e))if(t)C[T]=y;else if(y)switch(e){case 3:return!0;case 5:return _;case 6:return T;case 2:u(C,_)}else switch(e){case 4:return!1;case 7:u(C,_)}return d?-1:i||c?c:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},function(e,t,n){"use strict";var r=n(62),i=n(79),a=n(340),o=n(177),s=n(234),l=n(983),u=n(139),c=n(76),d=n(1720),f=n(308),h=n(1721),p=n(1722),m=n(442),g=n(1723),v=[],_=i(v.sort),y=i(v.push),b=c((function(){v.sort(void 0)})),S=c((function(){v.sort(null)})),E=f("sort"),w=!c((function(){if(m)return m<70;if(!(h&&h>3)){if(p)return!0;if(g)return g<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;ru(n)?1:-1}}(e)),n=s(i),r=0;r-1}var p=t.getStyle=u<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=c(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!o){if(!e||!t)return null;"float"===(t=c(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}};var m=t.isScroll=function(e,t){if(!o)return p(e,null!=t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};t.getScrollContainer=function(e,t){if(!o){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(o||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.topr.top&&n.right>r.left&&n.left=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return a},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t.default=a},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_TSPAN_STYLE",(function(){return u}));var r=n(66),i=n(90),a=n(60),o=n(38),s=n(0),l=n(93),u=Object(s.defaults)({strokeFirst:!0,font:l.DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.DEFAULT_PATH_STYLE),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return Object(s.createObject)(u,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=Object(a.getBoundingRect)(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(i.default);c.prototype.type="tspan",t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"summarizeDimensions",(function(){return o})),n.d(t,"getDimensionTypeByAxis",(function(){return l}));var r=n(0),i=n(29),a=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function o(e,t){var n={},o=n.encode={},l=Object(r.createHashMap)(),u=[],c=[],d={};Object(r.each)(e.dimensions,(function(t){var n,r=e.getDimensionInfo(t),a=r.coordDim;if(a){0;var f=r.coordDimIndex;s(o,a)[f]=t,r.isExtraCoord||(l.set(a,1),"ordinal"!==(n=r.type)&&"time"!==n&&(u[0]=t),s(d,a)[f]=e.getDimensionIndex(r.name)),r.defaultTooltip&&c.push(t)}i.VISUAL_DIMENSIONS.each((function(e,t){var n=s(o,t),i=r.otherDims[t];null!=i&&!1!==i&&(n[i]=r.name)}))}));var f=[],h={};l.each((function(e,t){var n=o[t];h[t]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=Object(r.map)(f,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=h;var p=o.label;p&&p.length&&(u=p.slice());var m=o.tooltip;return m&&m.length?c=m.slice():c.length||(c=u.slice()),o.defaultedLabel=u,o.defaultedTooltip=c,n.userOutput=new a(d,t),n}function s(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function l(e){return"category"===e?"ordinal":"time"===e?"time":"float"}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(64),a=n(24),o=n(43),s=n(27),l=n(9),u=n(199),c=n(0),d=n(25),f=n(102),h=function(e){function t(t,n,r,i){var a=e.call(this)||this;return a.updateData(t,n,r,i),a}return Object(r.__extends)(t,e),t.prototype._createSymbol=function(e,t,n,r,a){this.removeAll();var o=Object(i.createSymbol)(e,-1,-1,2,2,null,a);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=p,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Object(l.enterEmphasis)(this.childAt(0))},t.prototype.downplay=function(){Object(l.leaveEmphasis)(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=o!==this._symbolType,c=i&&i.disableAnimation;if(u){var d=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,l,d)}else{(h=this.childAt(0)).silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(f):a.updateProps(h,f,s,n),Object(a.saveOldStyle)(h)}if(this._updateCommon(e,n,l,r,i),u){var h=this.childAt(0);if(!c){f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,a.initProps(h,f,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,a){var o,s,h,p,m,g,v,_,y,b=this.childAt(0),S=e.hostModel;if(r&&(o=r.emphasisItemStyle,s=r.blurItemStyle,h=r.selectItemStyle,p=r.focus,m=r.blurScope,v=r.labelStatesModels,_=r.hoverScale,y=r.cursorStyle,g=r.emphasisDisabled),!r||e.hasItemOption){var E=r&&r.itemModel?r.itemModel:e.getItemModel(t),w=E.getModel("emphasis");o=w.getModel("itemStyle").getItemStyle(),h=E.getModel(["select","itemStyle"]).getItemStyle(),s=E.getModel(["blur","itemStyle"]).getItemStyle(),p=w.get("focus"),m=w.get("blurScope"),g=w.get("disabled"),v=Object(d.getLabelStatesModels)(E),_=w.getShallow("scale"),y=E.getShallow("cursor")}var T=e.getItemVisual(t,"symbolRotate");b.attr("rotation",(T||0)*Math.PI/180||0);var O=Object(i.normalizeSymbolOffset)(e.getItemVisual(t,"symbolOffset"),n);O&&(b.x=O[0],b.y=O[1]),y&&b.attr("cursor",y);var C=e.getItemVisual(t,"style"),x=C.fill;if(b instanceof f.default){var k=b.style;b.useStyle(Object(c.extend)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},C))}else b.__isEmptyBrush?b.useStyle(Object(c.extend)({},C)):b.useStyle(C),b.style.decal=null,b.setColor(x,a&&a.symbolInnerColor),b.style.strokeNoScale=!0;var M=e.getItemVisual(t,"liftZ"),A=this._z2;null!=M?null==A&&(this._z2=b.z2,b.z2+=M):null!=A&&(b.z2=A,this._z2=null);var R=a&&a.useNameLabel;Object(d.setLabelStyle)(b,v,{labelFetcher:S,labelDataIndex:t,defaultText:function(t){return R?e.getName(t):Object(u.getDefaultLabel)(e,t)},inheritColor:x,defaultOpacity:C.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var I=b.ensureState("emphasis");I.style=o,b.ensureState("select").style=h,b.ensureState("blur").style=s;var D=null==_||!0===_?Math.max(1.1,3/this._sizeY):isFinite(_)&&_>0?+_:1;I.scaleX=this._sizeX*D,I.scaleY=this._sizeY*D,this.setSymbolScale(1),Object(l.toggleHoverEmphasis)(this,p,m,g)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Object(s.getECData)(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var l=r.getTextContent();l&&a.removeElement(l,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();a.removeElement(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return Object(i.normalizeSymbolSize)(e.getItemVisual(t,"symbolSize"))},t}(o.default);function p(e,t){this.parent.drift(e,t)}t.default=h},function(e,t,n){"use strict";n.r(t),n.d(t,"collect",(function(){return a})),n.d(t,"fixValue",(function(){return s})),n.d(t,"getAxisInfo",(function(){return l})),n.d(t,"getAxisPointerModel",(function(){return u})),n.d(t,"makeKey",(function(){return d}));var r=n(63),i=n(0);function a(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var a=t.getComponent("tooltip"),s=t.getComponent("axisPointer"),l=s.get("link",!0)||[],u=[];Object(i.each)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var f=d(n.model),h=e.coordSysAxesInfo[f]={};e.coordSysMap[f]=n;var p=n.model.getModel("tooltip",a);if(Object(i.each)(n.getAxes(),Object(i.curry)(_,!1,null)),n.getTooltipAxes&&a&&p.get("show")){var m="axis"===p.get("trigger"),g="cross"===p.get(["axisPointer","type"]),v=n.getTooltipAxes(p.get(["axisPointer","axis"]));(m||g)&&Object(i.each)(v.baseAxes,Object(i.curry)(_,!g||"cross",m)),g&&Object(i.each)(v.otherAxes,Object(i.curry)(_,"cross",!1))}}function _(a,f,m){var g=m.model.getModel("axisPointer",s),v=g.get("show");if(v&&("auto"!==v||a||c(g))){null==f&&(f=g.get("triggerTooltip"));var _=(g=a?function(e,t,n,a,o,s){var l=t.getModel("axisPointer"),u={};Object(i.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){u[e]=Object(i.clone)(l.get(e))})),u.snap="category"!==e.type&&!!s,"cross"===l.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===o){var d=l.get(["label","show"]);if(c.show=null==d||d,!s){var f=u.lineStyle=l.get("crossStyle");f&&Object(i.defaults)(c,f.textStyle)}}return e.model.getModel("axisPointer",new r.default(u,n,a))}(m,p,s,t,a,f):g).get("snap"),y=g.get("triggerEmphasis"),b=d(m.model),S=f||_||"category"===m.type,E=e.axesInfo[b]={key:b,axis:m,coordSys:n,axisPointerModel:g,triggerTooltip:f,triggerEmphasis:y,involveSeries:S,snap:_,useHandle:c(g),seriesModels:[],linkGroup:null};h[b]=E,e.seriesInvolved=e.seriesInvolved||S;var w=function(e,t){for(var n=t.model,r=t.dim,i=0;i=0||e===t}function s(e){var t=l(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=r.parse(o));var s=c(n);null==a&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==o||o>u[1])&&(o=u[1]),oa&&(a=t);var s=a%2?a+2:a+3;o=[];for(var l=0;l30}},function(e,t,n){"use strict";function r(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function i(e,t,n,r){var i=e.target,a=e.zoomLimit,o=e.zoom=e.zoom||1;if(o*=t,a){var s=a.min||0,l=a.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/e.zoom;e.zoom=o,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}n.r(t),n.d(t,"updateViewOnPan",(function(){return r})),n.d(t,"updateViewOnZoom",(function(){return i}))},function(e,t,n){"use strict";n.r(t),n.d(t,"registerCellType",(function(){return w})),n.d(t,"getCellType",(function(){return E})),n.d(t,"hasCellType",(function(){return y})),n.d(t,"getRegisteredCellTypeNames",(function(){return b})),n.d(t,"getRegisteredCellTypes",(function(){return S}));var r=n(163),i=n(103),a=n(83),o=n(155),s=n(1340),l=n(1341),u=n(1342),c=n(1343),d=n(1344),f=n(1345),h=n(1346),p=n(1347),m=n(1348),g=Object(r.default)("cellTypes"),v=g.register,_=g.getItem,y=g.hasItem,b=g.getNames,S=g.getValues;function E(e){if(!y(e))throw Error('You declared cell type "'.concat(e,'" as a string that is not mapped to a known object.\n Cell type must be an object or a string mapped to an object registered by "Handsontable.cellTypes.registerCellType" method'));return _(e)}function w(e,t){var n=t.editor,r=t.renderer,s=t.validator;n&&Object(i.registerEditor)(e,n),r&&Object(a.registerRenderer)(e,r),s&&Object(o.registerValidator)(e,s),v(e,t)}w("autocomplete",s.default),w("checkbox",l.default),w("date",u.default),w("dropdown",c.default),w("handsontable",d.default),w("numeric",f.default),w("password",h.default),w("text",p.default),w("time",m.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"instanceToHTML",(function(){return u})),n.d(t,"_dataToHTML",(function(){return c})),n.d(t,"htmlToGridSettings",(function(){return d}));n(18),n(19),n(20),n(75),n(168),n(1731),n(88),n(114),n(15),n(194),n(1732),n(530),n(1007),n(123),n(235),n(12),n(455),n(92),n(31),n(148),n(16),n(456),n(157),n(17);var r=n(1),i=n(26);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"},s=new RegExp(Object.keys(o).map((function(e){return"(".concat(e,")")})).join("|"),"gi");function l(e){return"TABLE"===(e&&e.nodeName||"")}function u(e){for(var t=e.hasColHeaders(),n=e.hasRowHeaders(),r=[t?-1:0,n?-1:0,e.countRows()-1,e.countCols()-1],a=e.getData.apply(e,r),o=a.length,s=o>0?a[0].length:0,l=["","
"],u=t?["",""]:[],c=["",""],d=n?1:0,f=t?1:0,h=0;h".concat(e.getColHeader(g-d),"");else if(v)_="".concat(e.getRowHeader(h-f),"");else{var y=a[h][g],b=e.getCellMeta(h-d,g-f),S=b.hidden,E=b.rowspan,w=b.colspan;if(!S){var T=[];if(E&&T.push('rowspan="'.concat(E,'"')),w&&T.push('colspan="'.concat(w,'"')),Object(i.isEmpty)(y))_="");else{var O=y.toString().replace("<","<").replace(">",">").replace(/((\r\n|\n)?|\r\n|\n)/g,"
\r\n").replace(/\x20/gi," ").replace(/\t/gi," ");_="").concat(O,"")}}}m.push(_)}var C=[""].concat(m,[""]).join("");p?u.splice(1,0,C):c.splice(-1,0,C)}return l.splice(1,0,u.join(""),c.join("")),l.join("")}function c(e){for(var t=e.length,n=[""],r=0;r");for(var l=0;l/g,">").replace(/((\r\n|\n)?|\r\n|\n)/g,"
\r\n").replace(/\x20/gi," ").replace(/\t/gi," ");s.push("
"))}n.push.apply(n,[""].concat(s,[""])),r+1===t&&n.push("")}return n.push("
".concat(c,"
"),n.join("")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n={},i=t.createDocumentFragment(),u=t.createElement("div");i.appendChild(u);var c=e;if("string"==typeof c){var d=c.replace(/]*?>([\s\S]*?)<\/\s*td>/g,(function(e){var t=e.match(/]*?>/g)[0],n=e.substring(t.length,e.lastIndexOf("<")).replace(/(<(?!br)([^>]+)>)/gi,"");return"".concat(t).concat(n).concat("")}));u.insertAdjacentHTML("afterbegin","".concat(d)),c=u.querySelector("table")}if(c&&l(c)){var f=u.querySelector("style"),h=null,p=[];f&&(t.body.appendChild(f),f.disabled=!0,h=f.sheet,p=h?Array.from(h.cssRules):[],t.body.removeChild(f));var m=u.querySelector('meta[name$="enerator"]'),g=null!==c.querySelector("tbody th"),v=Array.from(c.querySelector("tr").cells).reduce((function(e,t){return e+t.colSpan}),0)-(g?1:0),_=c.tFoot&&Array.from(c.tFoot.rows)||[],y=[],b=!1,S=0,E=0;if(c.tHead){var w=Array.from(c.tHead.rows).filter((function(e){var t=null!==e.querySelector("td");return t&&y.push(e),!t}));b=(S=w.length)>0,S>1?n.nestedHeaders=Array.from(w).reduce((function(e,t){var n=Array.from(t.cells).reduce((function(e,t,n){if(g&&0===n)return e;var r=t.colSpan,i=t.innerHTML,a=r>1?{label:i,colspan:r}:i;return e.push(a),e}),[]);return e.push(n),e}),[]):b&&(n.colHeaders=Array.from(w[0].children).reduce((function(e,t,n){return g&&0===n||e.push(t.innerHTML),e}),[]))}y.length&&(n.fixedRowsTop=y.length),_.length&&(n.fixedRowsBottom=_.length);var T=[].concat(y,a(Array.from(c.tBodies).reduce((function(e,t){return e.push.apply(e,a(Array.from(t.rows))),e}),[])),a(_));E=T.length;for(var O=new Array(E),C=0;C1||l>1){for(var c=M;c/gim,"\r\n"):m&&/excel/gi.test(m.content)?i.replace(/[\r\n][\x20]{0,2}/g," ").replace(/[\r\n]?[\x20]{0,3}/gim,"\r\n"):i.replace(/[\r\n]?/gim,"\r\n"),O[M][u]=h.replace(s,(function(e){return o[e]}))}else k.push(i)},N=0;N"+e+"<\/script>"},p=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?p(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):p(r);for(var n=o.length;n--;)delete m.prototype[o[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=i(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:a.f(n,t)}},function(e,t,n){"use strict";var r=n(76);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},function(e,t,n){"use strict";var r=n(62),i=n(305),a=n(134),o=n(98),s=n(976),l=n(79),u=n(518),c=n(135),d=n(674),f=n(303),h=n(441),p=n(953),m=n(76),g=n(369).f,v=n(277).f,_=n(178).f,y=n(1004),b=n(987).trim,S=o.Number,E=s.Number,w=S.prototype,T=o.TypeError,O=l("".slice),C=l("".charCodeAt),x=function(e){var t=p(e,"number");return"bigint"==typeof t?t:k(t)},k=function(e){var t,n,r,i,a,o,s,l,u=p(e,"number");if(h(u))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=b(u),43===(t=C(u,0))||45===t){if(88===(n=C(u,2))||120===n)return NaN}else if(48===t){switch(C(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=(a=O(u,2)).length,s=0;si)return NaN;return parseInt(a,r)}return+u},M=u("Number",!S(" 0o1")||!S("0b1")||S("+0x1")),A=function(e){return f(w,e)&&m((function(){y(e)}))},R=function(e){var t=arguments.length<1?0:S(x(e));return A(this)?d(Object(t),this,R):t};R.prototype=w,M&&!i&&(w.constructor=R),r({global:!0,constructor:!0,wrap:!0,forced:M},{Number:R});var I=function(e,t){for(var n,r=a?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)c(t,n=r[i])&&!c(e,n)&&_(e,n,v(t,n))};i&&E&&I(s.Number,E),(M||i)&&I(s.Number,S)},function(e,t,n){"use strict";n(62)({target:"Number",stat:!0},{isInteger:n(1726)})},function(e,t,n){"use strict";n(1735)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";n.r(t),n.d(t,"onIrrelevantElement",(function(){return i}));var r={axisPointer:1,tooltip:1,brush:1};function i(e,t,n){var i=t.getComponentByElement(e.topTarget),a=i&&i.coordinateSystem;return i&&i!==n&&!r.hasOwnProperty(i.mainType)&&a&&a.model!==n}},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(3),a=n(115),o=n(1397);function s(e,t){for(var n=0;nr?t:e,a=Math.min(n,r),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so)r.length=o;else for(var s=a;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,u=r.length,c=!1,d=6,f=t;if(Object(a.isArrayLike)(t)){var h=function(e){return Object(a.isArrayLike)(e&&e[0])?2:1}(t);d=h,(1===h&&!Object(a.isNumber)(t[0])||2===h&&!Object(a.isNumber)(t[0][0]))&&(c=!0)}else if(Object(a.isNumber)(t)&&!Object(a.eqNaN)(t))d=0;else if(Object(a.isString)(t))if(isNaN(+t)){var p=i.parse(t);p&&(f=p,d=3)}else d=0;else if(Object(a.isGradientObject)(t)){var m=Object(a.extend)({},f);m.colorStops=Object(a.map)(t.colorStops,(function(e){return{offset:e.offset,color:i.parse(e.color)}})),Object(l.isLinearGradient)(t)?d=4:Object(l.isRadialGradient)(t)&&(d=5),f=m}0===u?this.valType=d:d===this.valType&&6!==d||(c=!0),this.discrete=this.discrete||c;var g={time:e,value:f,rawValue:t,percent:0};return n&&(g.easing=n,g.easingFunc=Object(a.isFunction)(n)?n:o.default[n]||Object(s.createCubicEasingFunc)(n)),r.push(g),g},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,a=n[i-1],o=this.discrete,s=y(r),l=_(r),u=0;u=0&&!(u[n].percent<=t);n--);n=g(n,f-2)}else{for(n=m;nt);n++);n=g(n-1,f-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var S=i.percent-r.percent,E=0===S?1:g((t-r.percent)/S,1);i.easingFunc&&(E=i.easingFunc(E));var w=o?this._additiveValue:p?b:e[h];if(!y(l)&&!p||w||(w=this._additiveValue=[]),this.discrete)e[h]=E<1?r.rawValue:i.rawValue;else if(y(l))1===l?d(w,r[s],i[s],E):function(e,t,n,r){for(var i=t.length,a=i&&t[0].length,o=0;o0&&s.addKeyframe(0,g(l),r),this._trackKeys.push(o)}s.addKeyframe(e,g(t[o]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n0)){this._started=1;for(var t=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();i.addKeyframe(s.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();t.default=E},function(e,t,n){"use strict";n.r(t),n.d(t,"subPixelOptimizeLine",(function(){return i})),n.d(t,"subPixelOptimizeRect",(function(){return a})),n.d(t,"subPixelOptimize",(function(){return o}));var r=Math.round;function i(e,t,n){if(t){var i=t.x1,a=t.x2,s=t.y1,l=t.y2;e.x1=i,e.x2=a,e.y1=s,e.y2=l;var u=n&&n.lineWidth;return u?(r(2*i)===r(2*a)&&(e.x1=e.x2=o(i,u,!0)),r(2*s)===r(2*l)&&(e.y1=e.y2=o(s,u,!0)),e):e}}function a(e,t,n){if(t){var r=t.x,i=t.y,a=t.width,s=t.height;e.x=r,e.y=i,e.width=a,e.height=s;var l=n&&n.lineWidth;return l?(e.x=o(r,l,!0),e.y=o(i,l,!0),e.width=Math.max(o(r+a,l,!1)-e.x,0===a?0:1),e.height=Math.max(o(i+s,l,!1)-e.y,0===s?0:1),e):e}}function o(e,t,n){if(!t)return e;var i=r(2*e);return(i+r(t))%2==0?i/2:(i+(n?1:-1))/2}},function(e,t,n){"use strict";n.r(t),n.d(t,"createTask",(function(){return i})),n.d(t,"Task",(function(){return a}));var r=n(0);function i(e){return new a(e)}var a=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var o,s=d(this._modBy),l=this._modDataCount||0,u=d(e&&e.modBy),c=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=u,this._modDataCount=c;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(o||h1&&r>0?s:o}};return a;function o(){return t=e?null:a0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(i.each)([["start","startValue"],["end","endValue"]],(function(r,i){var a=null!=e[r[0]],o=null!=e[r[1]];a&&!o?t[i]="percent":!a&&o?t[i]="value":n?t[i]=n[i]:a&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(Object(o.getAxisMainType)(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){Object(i.each)(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(Object(o.getAxisMainType)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(i.each)([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(i.each)(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r=0,o=e.fill||"#000";l(i,t);var s=null==i.textFill;return a?s&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(s&&(i.textFill=e.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=t.text,i.rich=t.rich,Object(r.each)(t.rich,(function(e){l(e,e)})),i}function l(e,t){t&&(Object(r.hasOwn)(t,"fill")&&(e.textFill=t.fill),Object(r.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),Object(r.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(r.hasOwn)(t,"font")&&(e.font=t.font),Object(r.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(r.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(r.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),Object(r.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(r.hasOwn)(t,"align")&&(e.textAlign=t.align),Object(r.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(r.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(r.hasOwn)(t,"width")&&(e.textWidth=t.width),Object(r.hasOwn)(t,"height")&&(e.textHeight=t.height),Object(r.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(r.hasOwn)(t,"padding")&&(e.textPadding=t.padding),Object(r.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(r.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(r.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(r.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(r.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(r.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(r.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(r.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(r.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(r.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(r.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}function u(e,t){}},function(e,t,n){"use strict";n.r(t),n.d(t,"getItemAlign",(function(){return o})),n.d(t,"makeHighDownBatch",(function(){return s}));var r=n(0),i=n(34),a=[["left","right","width"],["top","bottom","height"]];function o(e,t,n){var r=e.option,o=r.align;if(null!=o&&"auto"!==o)return o;for(var s={width:t.getWidth(),height:t.getHeight()},l="horizontal"===r.orient?1:0,u=a[l],c=[0,null,10],d={},f=0;f<3;f++)d[a[1-l][f]]=c[f],d[u[f]]=2===f?n[0]:r[u[f]];var h=[["x","width",3],["y","height",0]][l],p=Object(i.getLayoutRect)(d,s,r.padding);return u[(p.margin[h[2]]||0)+p[h[0]]+.5*p[h[1]]<.5*s[h[1]]?0:1]}function s(e,t){return r.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"getAv1Codec",(function(){return i})),n.d(t,"getAvcCodec",(function(){return a})),n.d(t,"getHvcCodec",(function(){return o}));var r=n(22),i=function(e){var t,n="",i=e[1]>>>3,a=31&e[1],o=e[2]>>>7,s=(64&e[2])>>6,l=(32&e[2])>>5,u=(16&e[2])>>4,c=(8&e[2])>>3,d=(4&e[2])>>2,f=3&e[2];return n+=i+"."+Object(r.padStart)(a,2,"0"),0===o?n+="M":1===o&&(n+="H"),t=2===i&&s?l?12:10:s?10:8,n+="."+Object(r.padStart)(t,2,"0"),n+="."+u,n+="."+c+d+f},a=function(e){return""+Object(r.toHexString)(e[1])+Object(r.toHexString)(252&e[2])+Object(r.toHexString)(e[3])},o=function(e){var t="",n=e[1]>>6,i=31&e[1],a=(32&e[1])>>5,o=e.subarray(2,6),s=e.subarray(6,12),l=e[12];1===n?t+="A":2===n?t+="B":3===n&&(t+="C"),t+=i+".";var u=parseInt(Object(r.toBinaryString)(o).split("").reverse().join(""),2);u>255&&(u=parseInt(Object(r.toBinaryString)(o),2)),t+=u.toString(16)+".",t+=0===a?"L":"H",t+=l;for(var c="",d=0;d1&&""===i[i.length-1]&&i.pop(),t=0,r=i.length;t0&&(o+="\t"),"string"==typeof(a=e[t][r])?a.indexOf("\n")>-1?o+='"'+a.replace(/"/g,'""')+'"':o+=a:o+=null==a?"":a;t!==n-1&&(o+="\n")}return o};t.parse=r,t.stringify=i}(window)},function(e,t,n){"use strict";n.r(t),n.d(t,"holder",(function(){return r})),n.d(t,"rootInstanceSymbol",(function(){return i})),n.d(t,"registerAsRootInstance",(function(){return a})),n.d(t,"hasValidParameter",(function(){return o})),n.d(t,"isRootInstance",(function(){return s}));n(18),n(19),n(15),n(12),n(16),n(91),n(17);var r=new WeakMap,i=Symbol("rootInstance");function a(e){r.set(e,!0)}function o(e){return e===i}function s(e){return r.has(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"VERSION",(function(){return le})),n.d(t,"addSidxSegmentsToPlaylist",(function(){return C})),n.d(t,"generateSidxKey",(function(){return I})),n.d(t,"inheritAttributes",(function(){return oe})),n.d(t,"parse",(function(){return ue})),n.d(t,"parseUTCTiming",(function(){return ce})),n.d(t,"stringToMpdXml",(function(){return se})),n.d(t,"toM3u8",(function(){return U})),n.d(t,"toPlaylists",(function(){return K}));var r=n(427),i=n(7),a=n.n(i),o=n(1306),s=n(591),l=n(1307),u=function(e){return!!e&&"object"==typeof e},c=function e(){for(var t=arguments.length,n=new Array(t),r=0;rt.timeline?1:-1}));var t,n},M=function(e){var t=[];return Object(o.forEachMediaGroup)(e,x,(function(e,n,r,i){t=t.concat(e.playlists||[])})),t},A=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},R=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat(M(t)),i=n.playlists.concat(M(n));return n.timelineStarts=k([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=p(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var n=0;nn.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),A({playlist:e,mediaSequence:n.segments[a].number})}}))}({oldPlaylists:r,newPlaylists:i,timelineStarts:n.timelineStarts}),n},I=function(e){return e&&e.uri+"-"+(t=e.byterange,n="bigint"==typeof t.offset||"bigint"==typeof t.length?a.a.BigInt(t.offset)+a.a.BigInt(t.length)-a.a.BigInt(1):t.offset+t.length-1,t.offset+"-"+n);var t,n},D=function(e){return d(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(e,t,r){return t[n]&&e.push(r),e}),[])),e}))},N=function(e,t){var n=I(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&C(e,r,e.sidx.resolvedUri),e},L=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e)e[n]=N(e[n],t);return e},P=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,a=e.discontinuityStarts,o={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:a,timelineStarts:n.timelineStarts,segments:r};return n.frameRate&&(o.attributes["FRAME-RATE"]=n.frameRate),n.contentProtection&&(o.contentProtection=n.contentProtection),i&&(o.sidx=i),o},j=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},F=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},B=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},H=function(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(r.playlists)}),[]):[]},U=function(e){var t,n=e.dashPlaylists,r=e.locations,i=e.sidxMapping,a=void 0===i?{}:i,o=e.previousManifest;if(!n.length)return{};var s=n[0].attributes,l=s.sourceDuration,u=s.type,c=s.suggestedPresentationDelay,d=s.minimumUpdatePeriod,f=D(n.filter(j)).map(P),h=D(n.filter(F)),m=D(n.filter(B)),g=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),v={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:l,playlists:L(f,a)};d>=0&&(v.minimumUpdatePeriod=1e3*d),r&&(v.locations=r),"dynamic"===u&&(v.suggestedPresentationDelay=c);var _,y,b=0===v.playlists.length,S=h.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var i=e.reduce((function(e,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var l=a?" ("+a+")":"";s=""+i.attributes.lang+l}e[s]||(e[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var u=N(function(e,t){var n,r=e.attributes,i=e.segments,a=e.sidx,o=e.mediaSequence,s=e.discontinuitySequence,l=e.discontinuityStarts,u={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:s,discontinuityStarts:l,timelineStarts:r.timelineStarts,mediaSequence:o,segments:i};return r.contentProtection&&(u.contentProtection=r.contentProtection),a&&(u.sidx=a),t&&(u.attributes.AUDIO="audio",u.attributes.SUBTITLES="subs"),u}(i,n),t);return e[s].playlists.push(u),void 0===r&&"main"===a&&((r=i).default=!0),e}),{});r||(i[Object.keys(i)[0]].default=!0);return i}(h,a,b):null,E=m.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r=n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(N(function(e){var t,n=e.attributes,r=e.segments,i=e.mediaSequence,a=e.discontinuityStarts,o=e.discontinuitySequence;void 0===r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var s=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(s.CODECS=n.codecs),{attributes:s,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:r}}(n),t)),e}),{})}(m,a):null,w=f.concat(H(S),H(E)),T=w.map((function(e){return e.timelineStarts}));return v.timelineStarts=k(T),_=w,y=v.timelineStarts,_.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=p(y,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),S&&(v.mediaGroups.AUDIO.audio=S),E&&(v.mediaGroups.SUBTITLES.subs=E),g.length&&(v.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),o?R({oldManifest:o,newManifest:v}):v},Y=function(e,t,n){var r=e.NOW,i=e.clientOffset,a=e.availabilityStartTime,o=e.timescale,s=void 0===o?1:o,l=e.periodStart,u=void 0===l?0:l,c=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===c?0:c)-(a+u);return Math.ceil((d*s-t)/n)},V=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,i=void 0===r?0:r,a=e.media,o=void 0===a?"":a,s=e.sourceDuration,l=e.timescale,u=void 0===l?1:l,c=e.startNumber,d=void 0===c?1:c,f=e.periodStart,h=[],p=-1,m=0;mp&&(p=y);var b=void 0;if(_<0){var S=m+1;b=S===t.length?"dynamic"===n&&i>0&&o.indexOf("$Number$")>0?Y(e,p,v):(s*u-p)/v:(t[S].t-p)/v}else b=_+1;for(var E=d+h.length+b,w=d+h.length;w=i?a:""+new Array(i-a.length+1).join("0")+a)}}(t))},G=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},i=e.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=S({baseUrl:e.baseUrl,source:z(a.sourceURL,n),range:a.range});return function(e,t){return e.duration||t?e.duration?T(e):V(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t).map((function(t){n.Number=t.number,n.Time=t.time;var i=z(e.media||"",n),a=e.timescale||1,s=e.presentationTimeOffset||0,l=e.periodStart+(t.time-s)/a;return{uri:i,timeline:t.timeline,duration:t.duration,resolvedUri:Object(r.default)(e.baseUrl||"",i),map:o,number:t.number,presentationTime:l}}))},$=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r,a=e.periodStart;if(!n&&!t||n&&t)throw new Error(y);var o,s=i.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,a=S({baseUrl:n,source:i.sourceURL,range:i.range}),o=S({baseUrl:n,source:t.media,range:t.mediaRange});return o.map=a,o}(e,t)}));return n&&(o=T(e)),t&&(o=V(e,t)),o.map((function(t,n){if(s[n]){var r=s[n],i=e.timescale||1,o=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=a+(t.time-o)/i,r}})).filter((function(e){return e}))},q=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=G,t=c(r,i.template)):i.base?(n=O,t=c(r,i.base)):i.list&&(n=$,t=c(r,i.list));var a={attributes:r};if(!n)return a;var o=n(t,i.segmentTimeline);if(t.duration){var s=t,l=s.duration,u=s.timescale,d=void 0===u?1:u;t.duration=l/d}else o.length?t.duration=o.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return a.attributes=t,a.segments=o,i.base&&t.indexRange&&(a.sidx=o[0],a.segments=[]),a},K=function(e){return e.map(q)},X=function(e,t){return h(e.childNodes).filter((function(e){return e.tagName===t}))},Q=function(e){return e.textContent.trim()},Z=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],l=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(l||0)},J={mediaPresentationDuration:function(e){return Z(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return Z(e)},suggestedPresentationDelay:function(e){return Z(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return Z(e)},start:function(e){return Z(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},frameRate:function(e){return function(e){return parseFloat(e.split("/").reduce((function(e,t){return e/t})))}(e)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?Z(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},ee=function(e){return e&&e.attributes?h(e.attributes).reduce((function(e,t){var n=J[t.name]||J.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},te={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},ne=function(e,t){return t.length?f(e.map((function(e){return t.map((function(t){return Object(r.default)(e,Q(t))}))}))):e},re=function(e){var t=X(e,"SegmentTemplate")[0],n=X(e,"SegmentList")[0],r=n&&X(n,"SegmentURL").map((function(e){return c({tag:"SegmentURL"},ee(e))})),i=X(e,"SegmentBase")[0],a=n||t,o=a&&X(a,"SegmentTimeline")[0],s=n||i||t,l=s&&X(s,"Initialization")[0],u=t&&ee(t);u&&l?u.initialization=l&&ee(l):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});var d={template:u,segmentTimeline:o&&X(o,"S").map((function(e){return ee(e)})),list:n&&c(ee(n),{segmentUrls:r,initialization:ee(l)}),base:i&&c(ee(i),{initialization:ee(l)})};return Object.keys(d).forEach((function(e){d[e]||delete d[e]})),d},ie=function(e,t,n){return function(r){var i,a=ee(r),o=ne(t,X(r,"BaseURL")),l=X(r,"Role")[0],u={role:ee(l)},d=c(e,a,u),h=X(r,"Accessibility")[0],p="urn:scte:dash:cc:cea-608:2015"===(i=ee(h)).schemeIdUri?("string"!=typeof i.value?[]:i.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!=typeof i.value?[]:i.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],i=n[1],a=void 0===i?"":i;t.channel=r,t.language=e,a.split(",").forEach((function(e){var n=e.split(":"),r=n[0],i=n[1];"lang"===r?t.language=i:"er"===r?t.easyReader=Number(i):"war"===r?t.aspectRatio=Number(i):"3D"===r&&(t["3D"]=Number(i))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;p&&(d=c(d,{captionServices:p}));var m=X(r,"Label")[0];if(m&&m.childNodes.length){var g=m.childNodes[0].nodeValue.trim();d=c(d,{label:g})}var v=X(r,"ContentProtection").reduce((function(e,t){var n=ee(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());var r=te[n.schemeIdUri];if(r){e[r]={attributes:n};var i=X(t,"cenc:pssh")[0];if(i){var a=Q(i);e[r].pssh=a&&Object(s.default)(a)}}return e}),{});Object.keys(v).length&&(d=c(d,{contentProtection:v}));var _=re(r),y=X(r,"Representation"),b=c(n,_);return f(y.map(function(e,t,n){return function(r){var i=X(r,"BaseURL"),a=ne(t,i),o=c(e,ee(r)),s=re(r);return a.map((function(e){return{segmentInfo:c(n,s),attributes:c(o,{baseUrl:e})}}))}}(d,o,b)))}},ae=function(e,t){return function(n,r){var i=ne(t,X(n.node,"BaseURL")),a=c(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(a.periodDuration=n.attributes.duration);var o=X(n.node,"AdaptationSet"),s=re(n.node);return f(o.map(ie(a,i,s)))}},oe=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,i=void 0===r?"":r,a=n.NOW,o=void 0===a?Date.now():a,s=n.clientOffset,l=void 0===s?0:s,u=X(e,"Period");if(!u.length)throw new Error(m);var c=X(e,"Location"),d=ee(e),h=ne([i],X(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=o,d.clientOffset=l,c.length&&(d.locations=c.map(Q));var p=[];return u.forEach((function(e,t){var n=ee(e),r=p[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:n&&"number"==typeof n.start&&"number"==typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),p.push({node:e,attributes:n})})),{locations:d.locations,representationInfo:f(p.map(ae(d,h)))}},se=function(e){if(""===e)throw new Error(g);var t,n,r=new l.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(v);return n},le="0.22.1",ue=function(e,t){void 0===t&&(t={});var n=oe(se(e),t),r=K(n.representationInfo);return U({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},ce=function(e){return function(e){var t=X(e,"UTCTiming")[0];if(!t)return null;var n=ee(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(b)}return n}(se(e))}},function(e,t,n){e.exports=function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[o]={exports:{}};t[o][0].call(u.exports,(function(e){return i(t[o][1][e]||e)}),u,u.exports,e,t,n,r)}return n[o].exports}for(var a=!1,o=0;oa[o]^n?1:-1;return l==u?0:u(r=e.length)){for(i=n,t-=r;--t;i+=n);e+=i}else tj?e.c=e.e=null:e.c=n=g.length){if(!r)break e;for(;g.length<=p;g.push(0));h=m=0,c=(s%=u)-u+(o=1)}else{for(h=f=g[p],o=1;10<=f;f/=10,o++);m=(c=(s%=u)-u+o)<0?0:h/v[o-c-1]%10|0}if(r=r||t<0||null!=g[p+1]||(c<0?h:h%v[o-c-1]),r=n<4?(m||r)&&(0==n||n==(e.s<0?3:2)):5j?e.c=e.e=null:e.e>>11))?(n=crypto.getRandomValues(new Uint32Array(2)),t[c]=n[0],t[c+1]=n[1]):(f.push(l%1e14),c+=2);c=s/2}else{if(!crypto.randomBytes)throw F=!1,Error(o+"crypto unavailable");for(t=crypto.randomBytes(s*=7);cn-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/n|0,o[i]%=n)}return o.reverse()}return function(r,i,a,o,s){var l,u,c,d,f,h,p,g,v=r.indexOf("."),_=I,y=D;for(0<=v&&(d=H,H=0,r=r.replace(".",""),h=(g=new V(i)).pow(r.length-v),H=d,g.c=t(b(m(h.c),h.e,"0"),10,a,e),g.e=g.c.length),c=d=(p=t(r,i,a,s?(l=Y,e):(l=e,Y))).length;0==p[--d];p.pop());if(!p[0])return l.charAt(0);if(v<0?--c:(h.c=p,h.e=c,h.s=o,p=(h=n(h,g,_,y,a)).c,f=h.r,c=h.e),v=p[u=c+_+1],d=a/2,f=f||u<0||null!=p[u+1],f=y<4?(null!=v||f)&&(0==y||y==(h.s<0?3:2)):da;)p[u]=0,u||(++c,p=[1].concat(p));for(d=p.length;!p[--d];);for(v=0,r="";v<=d;r+=l.charAt(p[v++]));r=b(r,c,l.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,i,a,o,s=0,l=e.length,u=t%f,c=t/f|0;for(e=e.slice();l--;)s=((i=u*(a=e[l]%f)+(r=c*a+(o=e[l]/f|0)*u)%f*f+s)/n|0)+(r/f|0)+c*o,e[l]=i%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,r){var i,a;if(n!=r)a=rt[i]?1:-1;break}return a}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n](A[h]||0)&&f--,M<0)b.push(1),m=!0;else{for(O=A.length,x=R.length,M+=2,1<(g=a(c/(R[h=0]+1)))&&(R=e(R,g,c),A=e(A,g,c),x=R.length,O=A.length),T=x,E=(S=A.slice(0,x)).length;E=c/2&&C++;do{if(g=0,(d=t(R,S,x,E))<0){if(w=S[0],x!=E&&(w=w*c+(S[1]||0)),1<(g=a(w/C)))for(c<=g&&(g=c-1),_=(v=e(R,g,c)).length,E=S.length;1==t(v,S,_,E);)g--,n(v,x<_?k:R,_,c),_=v.length,d=1;else 0==g&&(d=g=1),_=(v=R.slice()).length;if(_l&&(h.c.length=l):r&&(h=h.mod(t))}if(s){if(0===(s=a(s/2)))break;f=s%2}else if($(e=e.times(n),e.e+1,1),14l&&(p.c.length=l):r&&(p=p.mod(t))}return r?h:(d&&(h=R.div(h)),t?h.mod(t):l?$(h,H,D,void 0):h)},A.integerValue=function(e){var t=new V(this);return null==e?e=D:v(e,0,8),$(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===g(this,new V(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return 0this.c.length-2},A.isLessThan=A.lt=function(e,t){return g(this,new V(e,t))<0},A.isLessThanOrEqualTo=A.lte=function(e,t){return-1===(t=g(this,new V(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return 0r&&(r=this.e+1),r},A.shiftedBy=function(e){return v(e,-c,c),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,t,r,i,a,o=this,s=o.c,l=o.s,u=o.e,c=I+4,d=new V("0.5");if(1!==l||!s||!s[0])return new V(!l||l<0&&(!s||s[0])?NaN:s?o:1/0);if((r=0==(l=Math.sqrt(+q(o)))||l==1/0?(((t=m(s)).length+u)%2==0&&(t+="0"),l=Math.sqrt(+t),u=p((u+1)/2)-(u<0||u%2),new V(t=l==1/0?"1e"+u:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+u)):new V(l+"")).c[0])for((l=(u=r.e)+c)<3&&(l=0);;)if(a=r,r=d.times(a.plus(n(o,a,c,1))),m(a.c).slice(0,l)===(t=m(r.c)).slice(0,l)){if(r.e=Math.pow(10,12)&&!n||"trillion"===n?(l=r.trillion,t/=Math.pow(10,12)):u=Math.pow(10,9)&&!n||"billion"===n?(l=r.billion,t/=Math.pow(10,9)):u=Math.pow(10,6)&&!n||"million"===n?(l=r.million,t/=Math.pow(10,6)):(u=Math.pow(10,3)&&!n||"thousand"===n)&&(l=r.thousand,t/=Math.pow(10,3)),l&&(l=(a?" ":"")+l),s){var d=t.toString().split(".")[0];c=Math.max(s-d.length,0)}return{value:t,abbreviation:l,mantissaPrecision:c}}({value:d,forceAverage:O,abbreviations:o.currentAbbreviations(),spaceSeparated:R,totalLength:E});d=P.value,L+=P.abbreviation,E&&(x=P.mantissaPrecision)}if(N){var j=(p=(f={value:d,characteristicPrecision:w}).value,g=void 0===(m=f.characteristicPrecision)?0:m,_=(v=r(p.toExponential().split("e"),2))[0],y=v[1],b=+_,g&&1document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(919),i=n(634).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(86),i=n(137),a=n(128),o=n(119)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(228),i=n(932),a=n(646),o=n(82),s=n(121),l=n(648),u={},c={};(t=e.exports=function(e,t,n,d,f){var h,p,m,g,v=f?function(){return e}:l(e),_=r(n,d,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(a(v)){for(h=s(e.length);h>y;y++)if((g=t?_(o(p=e[y])[0],p[1]):_(e[y]))===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=i(m,_,p.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},function(e,t,n){var r=n(190);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(97);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";var r=n(340),i=n(232);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},function(e,t,n){"use strict";var r=n(122),i=n(367),a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+" is not a function")}},function(e,t,n){"use strict";var r=n(134),i=n(178),a=n(439);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(306),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},function(e,t,n){"use strict";var r=n(79);e.exports=r([].slice)},function(e,t,n){"use strict";function r(e,t,n){this.$children.forEach((function(i){i.$options.componentName===e?i.$emit.apply(i,[t].concat(n)):r.apply(i,[e,t].concat([n]))}))}t.__esModule=!0,t.default={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,i=r.$options.componentName;r&&(!i||i!==e);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,n){r.call(this,e,t,n)}}}},function(e,t,n){e.exports=!n(461)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"CtorUint32Array",(function(){return s})),n.d(t,"CtorUint16Array",(function(){return l})),n.d(t,"CtorInt32Array",(function(){return u})),n.d(t,"CtorFloat64Array",(function(){return c}));var r,i=n(0),a=n(151),o=n(141),s="undefined"==typeof Uint32Array?Array:Uint32Array,l="undefined"==typeof Uint16Array?Array:Uint16Array,u="undefined"==typeof Int32Array?Array:Int32Array,c="undefined"==typeof Float64Array?Array:Float64Array,d={float:c,int:u,ordinal:Array,number:Array,time:c};function f(e){return e>65535?s:l}function h(e,t,n,r,i){var a=d[n||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==r){for(var l=new a(r),u=0;uv[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=Object(i.map)(o,(function(e){return e.property})),c=0;c_[1]&&(_[1]=v)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return a;i=a-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(!r)return i;null==n&&(n=1/0);for(var a=1/0,o=-1,s=0,l=0,u=this.count();l=0&&o<0)&&(a=d,o=c,s=0),c===o&&(i[s++]=l))}return i.length=s,i},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=c&&S<=d||isNaN(S))&&(s[l++]=m),m++}p=!0}else if(2===a){g=h[r[0]];var _=h[r[1]],y=e[r[1]][0],b=e[r[1]][1];for(v=0;v=c&&S<=d||isNaN(S))&&(E>=y&&E<=b||isNaN(E))&&(s[l++]=m),m++}p=!0}}if(!p)if(1===a)for(v=0;v=c&&S<=d||isNaN(S))&&(s[l++]=w)}else for(v=0;ve[C][1])&&(T=!1)}T&&(s[l++]=t.getRawIndex(v))}return lg[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,a=this.clone([e],!0),o=a._chunks[e],s=this.count(),l=0,u=Math.floor(1/t),c=this.getRawIndex(0),d=new(f(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var h=1;hn&&(n=r,i=C)}O>0&&Ou-p&&(s=u-p,o.length=s);for(var m=0;mc[1]&&(c[1]=v),d[h++]=_}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,a=this.count();io&&(o=l)}return r=[a,o],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Object(a.parseDataValue)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(a.parseDataValue)(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Object(a.parseDataValue)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t.default=p},function(e,t,n){"use strict";n.r(t),n.d(t,"circularLayout",(function(){return u})),n.d(t,"rotateNodeLabel",(function(){return d}));var r=n(21),i=n(202),a=n(0),o=n(291),s=Math.PI,l=[];function u(e,t,n,i){var s=e.coordinateSystem;if(!s||"view"===s.type){var l=s.getBoundingRect(),u=e.getData(),f=u.graph,h=l.width/2+l.x,p=l.height/2+l.y,m=Math.min(l.width,l.height)/2,g=u.count();if(u.setLayout({cx:h,cy:p}),g){if(n){var v=s.pointToData(i),_=v[0],y=v[1],b=[_-h,y-p];r.normalize(b,b),r.scale(b,b,m),n.setLayout([h+b[0],p+b[1]],!0),d(n,e.get(["circular","rotateLabel"]),h,p)}c[t](e,f,u,m,h,p,g),f.eachEdge((function(t,n){var i,s=a.retrieve3(t.getModel().get(["lineStyle","curveness"]),Object(o.getCurvenessForEdge)(t,e,n),0),l=r.clone(t.node1.getLayout()),u=r.clone(t.node2.getLayout()),c=(l[0]+u[0])/2,d=(l[1]+u[1])/2;+s&&(i=[h*(s*=3)+c*(1-s),p*s+d*(1-s)]),t.setLayout([l,u,i])}))}}}var c={value:function(e,t,n,r,i,a,o){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||o);t.eachNode((function(e){var t=e.getValue("value"),n=u*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+a]),s+=n}))},symbolSize:function(e,t,n,r,a,o,u){var c=0;l.length=u;var d=Object(i.getNodeGlobalScale)(e);t.eachNode((function(e){var t=Object(i.getSymbolSize)(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=d;var n=Math.asin(t/2/r);isNaN(n)&&(n=s/2),l[e.dataIndex]=n,c+=2*n}));var f=(2*s-c)/u/2,h=0;t.eachNode((function(e){var t=f+l[e.dataIndex];h+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(h)+a,r*Math.sin(h)+o]),h+=t}))}};function d(e,t,n,r){var i=e.getGraphicEl();if(i){var o=e.getModel().get(["label","rotate"])||0,s=i.getSymbolPath();if(t){var l=e.getLayout(),u=Math.atan2(l[1]-r,l[0]-n);u<0&&(u=2*Math.PI+u);var c=l[0]2&&void 0!==arguments[2]&&arguments[2],G=!1,$=this,q=function(){},K=new f.default($);Object(h.extend)(q.prototype,k.default.prototype),Object(h.extend)(q.prototype,n),Object(h.extend)(q.prototype,ie(n)),Object(I.applyLanguageSetting)(q.prototype,n.language),Object(O.hasValidParameter)(z)&&Object(O.registerAsRootInstance)(this),this.rootElement=t,this.rootDocument=t.ownerDocument,this.rootWindow=this.rootDocument.defaultView,Object(D.startObserving)(this.rootDocument),this.isDestroyed=!1,this.isHotTableEnv=Object(i.isChildOfWebComponentTable)(this.rootElement),f.default.isHotTableEnv=this.isHotTableEnv,this.container=this.rootDocument.createElement("div"),this.renderCall=!1,t.insertBefore(this.container,t.firstChild),Object(O.isRootInstance)(this)&&Object(l._injectProductInfo)(n.licenseKey,t),this.guid="ht_".concat(Object(y.randomString)());var X=Object(T.getTranslator)($);U=new E.default($),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid),B={cellSettings:[],columnSettings:[],columnsSettingConflicts:["data","width","language"],settings:new q,selRange:null,isPopulated:null,scrollable:null,firstRun:!0};var Q=new N.Selection(B.settings,{countCols:function(){return $.countCols()},countRows:function(){return $.countRows()},propToCol:function(e){return H.propToCol(e)},isEditorOpened:function(){return!!$.getActiveEditor()&&$.getActiveEditor().isOpened()}});function Z(e){var t=Object(I.normalizeLanguageCode)(e);Object(R.hasLanguageDictionary)(t)?($.runHooks("beforeLanguageChange",t),q.prototype.language=t,$.runHooks("afterLanguageChange",t)):Object(I.warnUserAboutLanguageRegistration)(e)}function J(){var e=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue:function(){this.validatorsInQueue+=1,e=!1},removeValidatorFormQueue:function(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty:function(){},checkIfQueueIsEmpty:function(){0===this.validatorsInQueue&&!1===e&&(e=!0,this.onQueueEmpty(this.valid))}}}function ee(e){var t=e.replace(",",".");return!1===isNaN(parseFloat(t))?parseFloat(t):e}function te(e,t,n){if(e.length){var r=$.getActiveEditor(),a=$.runHooks("beforeChange",e,t||"edit"),l=!0;if(Object(o.isFunction)(a))Object(s.warn)("Your beforeChange callback returns a function. It's not supported since Handsontable 0.12.1 (and the returned function will not be executed).");else if(!1===a)return void(r&&r.cancelChanges());var u,c=new J;c.onQueueEmpty=function(e){r&&l&&r.cancelChanges(),n(e)};for(var d=e.length-1;d>=0;d--)if(null===e[d])e.splice(d,1);else{var f=P(e[d],4),h=f[0],p=f[1],m=f[3],g=H.propToCol(p),v=$.getCellMeta(h,g);"numeric"===v.type&&"string"==typeof m&&((u=m).length>0&&/^\s*[+-.]?\s*(?:(?:\d+(?:(\.|,)\d+)?(?:e[+-]?\d+)?)|(?:0x[a-f\d]+))\s*$/.test(u))&&(e[d][3]=ee(m)),$.getCellValidator(v)&&(c.addValidatorToQueue(),$.validateCell(e[d][3],v,function(t,n){return function(r){if("boolean"!=typeof r)throw new Error("Validation error: result is not boolean");if(!1===r&&!1===n.allowInvalid){l=!1,e.splice(t,1),n.valid=!0;var a=$.getCell(n.visualRow,n.visualCol);null!==a&&Object(i.removeClass)(a,$.getSettings().invalidCellClassName)}c.removeValidatorFormQueue()}}(d,v),t))}c.checkIfQueueIsEmpty()}}function ne(e,t){var n=e.length-1;if(!(n<0)){for(;n>=0;n--){var r=!1;if(null!==e[n]){if(null!==e[n][2]&&void 0!==e[n][2]||null!==e[n][3]&&void 0!==e[n][3]){if(B.settings.allowInsertRow)for(;e[n][0]>$.countRows()-1;){if(0===H.createRow(void 0,void 0,t)){r=!0;break}}if("array"===$.dataType&&(!B.settings.columns||0===B.settings.columns.length)&&B.settings.allowInsertColumn)for(;H.propToCol(e[n][1])>$.countCols()-1;){if(0===H.createCol(void 0,void 0,t)){r=!0;break}}r||H.set(e[n][0],e[n][1],e[n][3])}}else e.splice(n,1)}$.forceFullRender=!0,Y.adjustRowsAndCols(),$.runHooks("beforeChangeRender",e,t),V.lockEditor(),$._refreshBorders(null),V.unlockEditor(),$.view.wt.wtOverlays.adjustElementsSize(),$.runHooks("afterChange",e,t||"edit");var i=$.getActiveEditor();i&&Object(l.isDefined)(i.refreshValue)&&i.refreshValue()}}function re(e,t,n){return"object"===L(e)?e:[[e,t,n]]}function ie(e){if(Object(h.hasOwnProperty)(e,"type")){var t,n={};for(var r in"object"===L(e.type)?t=e.type:"string"==typeof e.type&&(t=Object(M.getCellType)(e.type)),t)Object(h.hasOwnProperty)(t,r)&&!Object(h.hasOwnProperty)(e,r)&&(n[r]=t[r]);return n}}this.selection=Q,this.selection.addLocalHook("beforeSetRangeStart",(function(e){W.runHooks("beforeSetRangeStart",e)})),this.selection.addLocalHook("beforeSetRangeStartOnly",(function(e){W.runHooks("beforeSetRangeStartOnly",e)})),this.selection.addLocalHook("beforeSetRangeEnd",(function(e){W.runHooks("beforeSetRangeEnd",e),e.row<0&&(e.row=W.view.wt.wtTable.getFirstVisibleRow()),e.col<0&&(e.col=W.view.wt.wtTable.getFirstVisibleColumn())})),this.selection.addLocalHook("afterSetRangeEnd",(function(e){var t=Object(h.createObjectPropListener)(!1),n=W.selection.getSelectedRange(),r=n.current(),a=r.from,o=r.to,s=n.size()-1;W.runHooks("afterSelection",a.row,a.col,o.row,o.col,t,s),W.runHooks("afterSelectionByProp",a.row,$.colToProp(a.col),o.row,$.colToProp(o.col),t,s);var l=W.selection.isSelectedByAnyHeader(),u=W.selection.selectedRange.current(),c=!0;G&&(c=!1),t.isTouched()&&(c=!t.value);var d=W.selection.isSelectedByRowHeader(),f=W.selection.isSelectedByColumnHeader();!1!==c&&(l?d?W.view.scrollViewportVertically(e.row):f&&W.view.scrollViewportHorizontally(e.col):u&&!W.selection.isMultiple()?W.view.scrollViewport(u.from):W.view.scrollViewport(e)),d&&f?Object(i.addClass)(W.rootElement,["ht__selection--rows","ht__selection--columns"]):d?(Object(i.removeClass)(W.rootElement,"ht__selection--columns"),Object(i.addClass)(W.rootElement,"ht__selection--rows")):f?(Object(i.removeClass)(W.rootElement,"ht__selection--rows"),Object(i.addClass)(W.rootElement,"ht__selection--columns")):Object(i.removeClass)(W.rootElement,["ht__selection--rows","ht__selection--columns"]),W._refreshBorders(null)})),this.selection.addLocalHook("afterSelectionFinished",(function(e){var t=e.length-1,n=e[t],r=n.from,i=n.to;W.runHooks("afterSelectionEnd",r.row,r.col,i.row,i.col,t),W.runHooks("afterSelectionEndByProp",r.row,$.colToProp(r.col),i.row,$.colToProp(i.col),t)})),this.selection.addLocalHook("afterIsMultipleSelection",(function(e){var t=W.runHooks("afterIsMultipleSelection",e.value);e.value&&(e.value=t)})),this.selection.addLocalHook("beforeModifyTransformStart",(function(e){W.runHooks("modifyTransformStart",e)})),this.selection.addLocalHook("afterModifyTransformStart",(function(e,t,n){W.runHooks("afterModifyTransformStart",e,t,n)})),this.selection.addLocalHook("beforeModifyTransformEnd",(function(e){W.runHooks("modifyTransformEnd",e)})),this.selection.addLocalHook("afterModifyTransformEnd",(function(e,t,n){W.runHooks("afterModifyTransformEnd",e,t,n)})),this.selection.addLocalHook("afterDeselect",(function(){V.destroyEditor(),W._refreshBorders(),Object(i.removeClass)(W.rootElement,["ht__selection--rows","ht__selection--columns"]),W.runHooks("afterDeselect")})),this.selection.addLocalHook("insertRowRequire",(function(e){W.alter("insert_row",e,1,"auto")})),this.selection.addLocalHook("insertColRequire",(function(e){W.alter("insert_col",e,1,"auto")})),Y={alter:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;function o(e,t,n,r){var i=Object(p.arrayMap)(new Array(n),(function(){return"array"===r?e=[]:"object"===r&&(e={}),e;var e}));i.unshift(t,0),e.splice.apply(e,j(i))}var s=function(e){if(0===e.length)return[];var t=j(e);return t.sort((function(e,t){var n=P(e,1)[0],r=P(t,1)[0];return n===r?0:n>r?1:-1})),Object(p.arrayReduce)(t,(function(e,t){var n=P(t,2),r=n[0],i=n[1],a=e[e.length-1],o=P(a,2),s=o[0]+o[1];if(r<=s){var l=Math.max(i-(s-r),0);a[1]+=l}else e.push([r,i]);return e}),[t[0]])};switch(e){case"insert_row":var u=$.countSourceRows();if($.getSettings().maxRows===u)return;t=Object(l.isDefined)(t)?t:u,n=H.createRow(t,r,i),o(B.cellSettings,t,r,"array"),n&&(Q.isSelected()&&Q.selectedRange.current().from.row>=t?(Q.selectedRange.current().from.row+=n,Q.transformEnd(n,0)):$._refreshBorders());break;case"insert_col":n=H.createCol(t,r,i);for(var c=0,d=$.countSourceRows();c=t?(Q.selectedRange.current().from.col+=n,Q.transformEnd(0,n)):$._refreshBorders()}break;case"remove_row":var h=function(e){var t=0;Object(p.arrayEach)(e,(function(e){var n=P(e,2),a=n[0],o=n[1],s=Object(l.isEmpty)(a)?$.countRows()-1:Math.max(a-t,0);Number.isInteger(a)&&(a=Math.max(a-t,0)),H.removeRow(a,o,i),B.cellSettings.splice(s,r);var u=$.countRows(),c=$.getSettings().fixedRowsTop;c>=s+1&&($.getSettings().fixedRowsTop-=Math.min(o,c-s));var d=$.getSettings().fixedRowsBottom;d&&s>=u-d&&($.getSettings().fixedRowsBottom-=Math.min(o,d)),t+=o}))};Array.isArray(t)?h(s(t)):h([[t,r]]),Y.adjustRowsAndCols(),$._refreshBorders();break;case"remove_col":var m=function(e){var t=0;Object(p.arrayEach)(e,(function(e){var n=P(e,2),r=n[0],a=n[1],o=Object(l.isEmpty)(r)?$.countCols()-1:Math.max(r-t,0),s=X.toPhysicalColumn(o);Number.isInteger(r)&&(r=Math.max(r-t,0)),H.removeCol(r,a,i);for(var u=0,c=$.countSourceRows();u=o+1&&($.getSettings().fixedColumnsLeft-=Math.min(a,d-o)),Array.isArray($.getSettings().colHeaders)&&(void 0===s&&(s=-1),$.getSettings().colHeaders.splice(s,a)),t+=a}))};Array.isArray(t)?m(s(t)):m([[t,r]]),Y.adjustRowsAndCols(),$._refreshBorders();break;default:throw new Error('There is no such action "'.concat(e,'"'))}a||Y.adjustRowsAndCols()},adjustRowsAndCols:function(){if(B.settings.minRows){var e=$.countRows();if(ea-1?(t=!0,i>(n=a-1)&&(i=n)):i>a-1&&(t=!0,n>(i=a-1)&&(n=i)),r>o-1?(t=!0,s>(r=o-1)&&(s=r)):s>o-1&&(t=!0,r>(s=o-1)&&(r=s)),t&&$.selectCell(n,r,i,s)})),$.view&&$.view.wt.wtOverlays.adjustElementsSize()},populateFromArray:function(e,t,n,r,i,a,o){var s,u,c,d,f,p,m,g,v=[],_={};if(0===(u=t.length))return!1;switch(i){case"shift_down":for(f=n?n.col-e.col+1:0,p=n?n.row-e.row+1:0,c=0,d=(t=Object(w.translateRowsToColumns)(t)).length,m=Math.max(d,f);c1&&void 0!==arguments[1]?arguments[1]:null,r=t[e%t.length];return null!==n?r[n%r.length]:r},A=t.length,R=n?n.row-e.row+1:0;for(u=n?R:Math.max(A,R),s=0;sn.row&&R>A||!B.settings.allowInsertRow&&_.row>$.countRows()-1||_.row>=B.settings.maxRows);s++){var I=s-C,D=M(I).length,N=n?n.col-e.col+1:0;if(d=n?N:Math.max(D,N),_.col=e.col,T=$.getCellMeta(_.row,_.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!T.skipRowOnPaste){for(x=0,c=0;cn.col&&N>D||!B.settings.allowInsertColumn&&_.col>$.countCols()-1||_.col>=B.settings.maxCols);c++)if(T=$.getCellMeta(_.row,_.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!T.skipColumnOnPaste)if(T.readOnly)_.col+=1;else{var P=c-x,F=M(I,P),H=$.getDataAtCell(_.row,_.col),U={row:I,col:P};if("Autofill.fill"===r){var Y=$.runHooks("beforeAutofillInsidePopulate",U,a,t,o,{},O);Y&&(F=Object(l.isUndefined)(Y.value)?F:Y.value)}if(null!==F&&"object"===L(F))if(Array.isArray(F)&&null===H&&(H=[]),null===H||"object"!==L(H))k=!1;else{var V=Object(h.duckSchema)(Array.isArray(H)?H:H[0]||H),W=Object(h.duckSchema)(Array.isArray(F)?F:F[0]||F);Object(h.isObjectEqual)(V,W)?F=Object(h.deepClone)(F):k=!1}else null!==H&&"object"===L(H)&&(k=!1);k&&v.push([_.row,_.col,F]),k=!0,_.col+=1}else x+=1,_.col+=1,d+=1;_.row+=1}else C+=1,_.row+=1,u+=1}$.setDataAtCell(v,null,null,r||"populateFromArray")}}},this.init=function(){U.setData(B.settings.data),$.runHooks("beforeInit"),Object(u.isMobileBrowser)()&&Object(i.addClass)($.rootElement,"mobile"),this.updateSettings(B.settings,!0),this.view=new S.default(this),V=d.default.getInstance($,B,Q,H),this.forceFullRender=!0,$.runHooks("init"),this.view.render(),"object"===L(B.firstRun)&&($.runHooks("afterChange",B.firstRun[0],B.firstRun[1]),B.firstRun=!1),$.runHooks("afterInit")},this.validateCell=function(e,t,n,r){var i,a=$.getCellValidator(t);function s(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(r&&!0!==t.hidden){var i=t.visualCol,a=t.visualRow,o=$.getCell(a,i,!0);o&&"TH"!==o.nodeName&&$.view.wt.wtSettings.settings.cellRenderer(a,i,o),n(e)}else n(e)}Object(l.isRegExp)(a)&&(i=a,a=function(e,t){t(i.test(e))}),Object(o.isFunction)(a)?(e=$.runHooks("beforeValidate",e,t.visualRow,t.prop,r),$._registerImmediate((function(){a.call(t,e,(function(n){$&&(n=$.runHooks("afterValidate",n,e,t.visualRow,t.prop,r),t.valid=n,s(n),$.runHooks("postAfterValidate",n,e,t.visualRow,t.prop,r))}))}))):$._registerImmediate((function(){t.valid=!0,s(t.valid,!1)}))},this.setDataAtCell=function(e,t,n,r){var i,a,o,s=re(e,t,n),l=[],u=r;for(i=0,a=s.length;i0&&void 0!==arguments[0])||arguments[0],t=$,n=t.rootDocument;if(e){var r=!n.activeElement||n.activeElement&&void 0===n.activeElement.nodeName;n.activeElement&&n.activeElement!==n.body&&!r?n.activeElement.blur():r&&n.body.focus()}$&&!$.isListening()&&(F=$.guid,$.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(F=null,$.runHooks("afterUnlisten"))},this.isListening=function(){return F===$.guid},this.destroyEditor=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];$._refreshBorders(e,t)},this.populateFromArray=function(e,t,n,r,i,a,o,s,l){if("object"!==L(n)||"object"!==L(n[0]))throw new Error("populateFromArray parameter `input` must be an array of arrays");var u="number"==typeof r?new C.CellCoords(r,i):null;return Y.populateFromArray(new C.CellCoords(e,t),n,u,a,o,s,l)},this.spliceCol=function(e,t,n){for(var r,i=arguments.length,a=new Array(i>3?i-3:0),o=3;o3?i-3:0),o=3;o0&&(e=t[t.length-1]),e},this.getSelectedRange=function(){if(Q.isSelected())return Array.from(Q.getSelectedRange())},this.getSelectedRangeLast=function(){var e,t=this.getSelectedRange();return t&&t.length>0&&(e=t[t.length-1]),e},this.emptySelectedCells=function(e){var t=this;if(Q.isSelected()){var n=[];Object(p.arrayEach)(Q.getSelectedRange(),(function(e){var r=e.getTopLeftCorner(),i=e.getBottomRightCorner();Object(b.rangeEach)(r.row,i.row,(function(e){Object(b.rangeEach)(r.col,i.col,(function(r){t.getCellMeta(e,r).readOnly||n.push([e,r,null])}))}))})),n.length>0&&this.setDataAtCell(n,e)}},this.render=function(){$.view&&($.renderCall=!0,$.forceFullRender=!0,V.lockEditor(),$._refreshBorders(null),V.unlockEditor())},this.refreshDimensions=function(){if($.view){var e=$.view.getLastSize(),t=e.width,n=e.height,r=$.rootElement.getBoundingClientRect(),i=r.width,a=r.height,o=i!==t||a!==n;!1===$.runHooks("beforeRefreshDimensions",{width:t,height:n},{width:i,height:a},o)||((o||$.view.wt.wtOverlays.scrollableElement===$.rootWindow)&&($.view.setLastSize(i,a),$.render()),$.runHooks("afterRefreshDimensions",{width:t,height:n},{width:i,height:a},o))}},this.loadData=function(e){if(Array.isArray(B.settings.dataSchema)?$.dataType="array":Object(o.isFunction)(B.settings.dataSchema)?$.dataType="function":$.dataType="object",H&&H.destroy(),H=new c.default($,B,q),"object"===L(e)&&null!==e)e.push&&e.splice||(e=[e]);else{if(null!==e)throw new Error("loadData only accepts array of objects or array of arrays (".concat(L(e)," given)"));var t,n=H.getSchema();e=[];var r,i=0;for(i=0,r=B.settings.startRows;i1&&void 0!==arguments[1]&&arguments[1],u=!1;if(Object(l.isDefined)(e.rows))throw new Error('"rows" setting is no longer supported. do you mean startRows, minRows or maxRows?');if(Object(l.isDefined)(e.cols))throw new Error('"cols" setting is no longer supported. do you mean startCols, minCols or maxCols?');for(t in e)"data"!==t&&("language"!==t?x.default.getSingleton().getRegistered().indexOf(t)>-1?(Object(o.isFunction)(e[t])||Array.isArray(e[t]))&&(e[t].initialHook=!0,$.addHook(t,e[t])):!s&&Object(h.hasOwnProperty)(e,t)&&(q.prototype[t]=e[t]):Z(e.language));void 0===e.data&&void 0===B.settings.data?$.loadData(null):void 0!==e.data?$.loadData(e.data):void 0!==e.columns&&H.createMap(),r=$.countCols();var c,d,f=e.columns||q.prototype.columns;if(f&&Object(o.isFunction)(f)&&(r=$.countSourceCols(),u=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||(B.cellSettings.length=0),r>0)for(t=0,n=0;t-1||v.indexOf("overflow")>-1)?$.rootElement.setAttribute("style",v):($.rootElement.style.height="",$.rootElement.style.overflow="")}else void 0!==m&&($.rootElement.style.height=isNaN(m)?"".concat(m):"".concat(m,"px"),$.rootElement.style.overflow="hidden");if(void 0!==e.width){var _=e.width;Object(o.isFunction)(_)&&(_=_()),$.rootElement.style.width=isNaN(_)?"".concat(_):"".concat(_,"px")}s||(H.clearLengthCache(),$.view&&$.view.wt.wtViewport.resetHasOversizedColumnHeadersMarked(),$.runHooks("afterUpdateSettings",e)),Y.adjustRowsAndCols(),$.view&&!B.firstRun&&($.forceFullRender=!0,V.lockEditor(),$._refreshBorders(null),V.unlockEditor()),s||!$.view||""!==p&&""!==m&&void 0!==m||p===m||$.view.wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){var e=$.getSelectedLast();if(q.prototype.getValue){if(Object(o.isFunction)(q.prototype.getValue))return q.prototype.getValue.call($);if(e)return $.getData()[e[0][0]][q.prototype.getValue]}else if(e)return $.getDataAtCell(e[0],e[1])},this.getSettings=function(){return B.settings},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,n,r,i){Y.alter(e,t,n,r,i)},this.getCell=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return $.view.getCellAtCoords(new C.CellCoords(e,t),n)},this.getCoords=function(e){return this.view.wt.wtTable.getCoords.call(this.view.wt.wtTable,e)},this.colToProp=function(e){return H.colToProp(e)},this.propToCol=function(e){return H.propToCol(e)},this.toVisualRow=function(e){return X.toVisualRow(e)},this.toVisualColumn=function(e){return X.toVisualColumn(e)},this.toPhysicalRow=function(e){return X.toPhysicalRow(e)},this.toPhysicalColumn=function(e){return X.toPhysicalColumn(e)},this.getDataAtCell=function(e,t){return H.get(e,H.colToProp(t))},this.getDataAtRowProp=function(e,t){return H.get(e,t)},this.getDataAtCol=function(e){var t;return(t=[]).concat.apply(t,j(H.getRange(new C.CellCoords(0,e),new C.CellCoords(B.settings.data.length-1,e),H.DESTINATION_RENDERER)))},this.getDataAtProp=function(e){var t,n=H.getRange(new C.CellCoords(0,H.propToCol(e)),new C.CellCoords(B.settings.data.length-1,H.propToCol(e)),H.DESTINATION_RENDERER);return(t=[]).concat.apply(t,j(n))},this.getSourceData=function(e,t,n,r){return void 0===e?U.getData():U.getByRange(new C.CellCoords(e,t),new C.CellCoords(n,r))},this.getSourceDataArray=function(e,t,n,r){return void 0===e?U.getData(!0):U.getByRange(new C.CellCoords(e,t),new C.CellCoords(n,r),!0)},this.getSourceDataAtCol=function(e){return U.getAtColumn(e)},this.getSourceDataAtRow=function(e){return U.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return U.getAtCell(e,t)},this.getDataAtRow=function(e){return H.getRange(new C.CellCoords(e,0),new C.CellCoords(e,this.countCols()-1),H.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(e,t,n,r){var i=this,a=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,n,r],o=a[0],s=a[1],l=a[2],u=a[3],c=null,d=null;void 0===l&&(l=o),void 0===u&&(u=s);var f="mixed";return Object(b.rangeEach)(Math.min(o,l),Math.max(o,l),(function(e){var t=!0;return Object(b.rangeEach)(Math.min(s,u),Math.max(s,u),(function(n){var r=i.getCellMeta(e,n);return d=r.type,c?t=c===d:c=d,t})),f=t?d:"mixed",t})),f},this.removeCellMeta=function(e,t,n){var r=P(X.toPhysical(e,t),2),i=r[0],a=r[1],o=B.cellSettings[i][a][n];!1!==$.runHooks("beforeRemoveCellMeta",e,t,n,o)&&(delete B.cellSettings[i][a][n],$.runHooks("afterRemoveCellMeta",e,t,n,o)),o=null},this.spliceCellsMeta=function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),a=2;a=0;)if(void 0===t||-1!==t.indexOf(i)){for(var a=$.countCols()-1;a>=0;)void 0===n||-1!==n.indexOf(a)?(r.addValidatorToQueue(),$.validateCell($.getDataAtCell(i,a),$.getCellMeta(i,a),(function(e){if("boolean"!=typeof e)throw new Error("Validation error: result is not boolean");!1===e&&(r.valid=!1),r.removeValidatorFormQueue()}),"validateCells"),a-=1):a-=1;i-=1}else i-=1;r.checkIfQueueIsEmpty()},this.getRowHeader=function(e){var t=B.settings.rowHeaders,n=e;return void 0!==n&&(n=$.runHooks("modifyRowHeader",n)),void 0===n?(t=[],Object(b.rangeEach)($.countRows()-1,(function(e){t.push($.getRowHeader(e))}))):Array.isArray(t)&&void 0!==t[n]?t=t[n]:Object(o.isFunction)(t)?t=t(n):t&&"string"!=typeof t&&"number"!=typeof t&&(t=n+1),t},this.hasRowHeaders=function(){return!!B.settings.rowHeaders},this.hasColHeaders=function(){if(void 0!==B.settings.colHeaders&&null!==B.settings.colHeaders)return!!B.settings.colHeaders;for(var e=0,t=$.countCols();e0&&void 0!==arguments[0]&&arguments[0],t=0;return Object(b.rangeEachReverse)($.countRows()-1,(function(n){if($.isEmptyRow(n))t+=1;else if(!0===e)return!1})),t},this.countEmptyCols=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if($.countRows()<1)return 0;var t=0;return Object(b.rangeEachReverse)($.countCols()-1,(function(n){if($.isEmptyCol(n))t+=1;else if(!0===e)return!1})),t},this.isEmptyRow=function(e){return B.settings.isEmptyRow.call($,e)},this.isEmptyCol=function(e){return B.settings.isEmptyCol.call($,e)},this.selectCell=function(e,t,n,r){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!Object(l.isUndefined)(e)&&!Object(l.isUndefined)(t)&&this.selectCells([[e,t,n,r]],i,a)},this.selectCells=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===t&&(G=!0);var r=Q.selectCells(e);return r&&n&&$.listen(),G=!1,r},this.selectColumns=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Q.selectColumns(e,t)},this.selectRows=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Q.selectRows(e,t)},this.deselectCell=function(){Q.deselect()},this.selectAll=function(){G=!0,Q.selectAll(),G=!1},this.scrollViewportTo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=!n,a=!r,o=!1;return void 0!==e&&void 0!==t&&(o=$.view.scrollViewport(new C.CellCoords(e,t),i,r,n,a)),"number"==typeof e&&"number"!=typeof t&&(o=$.view.scrollViewportVertically(e,i,n)),"number"==typeof t&&"number"!=typeof e&&(o=$.view.scrollViewportHorizontally(t,r,a)),o},this.destroy=function(){if($._clearTimeouts(),$._clearImmediates(),$.view&&$.view.destroy(),U&&U.destroy(),U=null,Object(D.stopObserving)(),Object(O.isRootInstance)($)){var e=this.rootDocument.querySelector("#hot-display-license-info");e&&e.parentNode.removeChild(e)}Object(i.empty)($.rootElement),K.destroy(),V&&V.destroy(),$.runHooks("afterDestroy"),x.default.getSingleton().destroy($),Object(h.objectEach)($,(function(e,t,n){Object(o.isFunction)(e)?n[t]=se(t):"guid"!==t&&(n[t]=null)})),$.isDestroyed=!0,H&&H.destroy(),H=null,B=null,Y=null,Q=null,V=null,$=null,q=null},this.getActiveEditor=function(){return V.getActiveEditor()},this.getPlugin=function(e){return Object(g.getPlugin)(this,e)},this.getInstance=function(){return $},this.addHook=function(e,t){x.default.getSingleton().add(e,t,$)},this.hasHook=function(e){return x.default.getSingleton().has(e,$)},this.addHookOnce=function(e,t){x.default.getSingleton().once(e,t,$)},this.removeHook=function(e,t){x.default.getSingleton().remove(e,t,$)},this.runHooks=function(e,t,n,r,i,a,o){return x.default.getSingleton().run($,e,t,n,r,i,a,o)},this.getTranslatedPhrase=function(e,t){return Object(A.getTranslatedPhrase)(B.settings.language,e,t)},this.toHTML=function(){return Object(m.instanceToHTML)(W)},this.toTableElement=function(){var e=W.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",Object(m.instanceToHTML)(W)),e.firstElementChild},this.timeouts=[],this._registerTimeout=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;"function"==typeof n&&(n=setTimeout(n,t)),this.timeouts.push(n)},this._clearTimeouts=function(){Object(p.arrayEach)(this.timeouts,(function(e){clearTimeout(e)}))},this.immediates=[],this._registerImmediate=function(t){this.immediates.push(e(t))},this._clearImmediates=function(){Object(p.arrayEach)(this.immediates,(function(e){r(e)}))},this._refreshBorders=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];V.destroyEditor(e),$.view.render(),t&&Q.isSelected()&&V.prepareEditor()},x.default.getSingleton().run($,"construct")}}.call(this,n(495).setImmediate,n(495).clearImmediate)},function(e,t,n){"use strict";n.r(t),n.d(t,"ACTIVE_HEADER_TYPE",(function(){return c})),n.d(t,"AREA_TYPE",(function(){return d})),n.d(t,"CELL_TYPE",(function(){return f})),n.d(t,"FILL_TYPE",(function(){return h})),n.d(t,"HEADER_TYPE",(function(){return p})),n.d(t,"CUSTOM_SELECTION",(function(){return m}));n(18),n(19),n(20),n(75),n(1736),n(168),n(372),n(88),n(114),n(15),n(251),n(65),n(1008),n(235),n(12),n(31),n(148),n(16),n(373),n(17);var r=n(361),i=n(2);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:0;return this.layerLevel=e,this}},{key:"getCell",value:function(){return this.cell}},{key:"getFill",value:function(){return this.fill}},{key:"createOrGetArea",value:function(){var e,t=this.layerLevel;return this.areas.has(t)?e=this.areas.get(t):(e=Object(r.createHighlight)(d,s({layerLevel:t},this.options)),this.areas.set(t,e)),e}},{key:"getAreas",value:function(){return a(this.areas.values())}},{key:"createOrGetHeader",value:function(){var e,t=this.layerLevel;return this.headers.has(t)?e=this.headers.get(t):(e=Object(r.createHighlight)(p,s({},this.options)),this.headers.set(t,e)),e}},{key:"getHeaders",value:function(){return a(this.headers.values())}},{key:"createOrGetActiveHeader",value:function(){var e,t=this.layerLevel;return this.activeHeaders.has(t)?e=this.activeHeaders.get(t):(e=Object(r.createHighlight)(c,s({},this.options)),this.activeHeaders.set(t,e)),e}},{key:"getActiveHeaders",value:function(){return a(this.activeHeaders.values())}},{key:"getCustomSelections",value:function(){return a(this.customSelections.values())}},{key:"addCustomSelection",value:function(e){this.customSelections.push(Object(r.createHighlight)(m,s({},e)))}},{key:"clear",value:function(){this.cell.clear(),this.fill.clear(),Object(i.arrayEach)(this.areas.values(),(function(e){e.clear()})),Object(i.arrayEach)(this.headers.values(),(function(e){e.clear()})),Object(i.arrayEach)(this.activeHeaders.values(),(function(e){e.clear()}))}},{key:Symbol.iterator,value:function(){return[this.cell,this.fill].concat(a(this.areas.values()),a(this.headers.values()),a(this.activeHeaders.values()),a(this.customSelections))[Symbol.iterator]()}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=g},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return a})),n.d(t,"condition",(function(){return o}));var r=n(8),i=n(51),a="empty";function o(e){return""===e.value||null===e.value||void 0===e.value}Object(i.registerCondition)(a,o,{name:r.FILTERS_CONDITIONS_EMPTY,inputsCount:0,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return s})),n.d(t,"condition",(function(){return l}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(8),i=n(26),a=n(51);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s="eq";function l(e,t){var n=o(t,1)[0];return Object(i.stringify)(e.value).toLowerCase()===Object(i.stringify)(n)}Object(a.registerCondition)(s,l,{name:r.FILTERS_CONDITIONS_EQUAL,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"stopPreviousKeyframeAnimationAndRestore",(function(){return u})),n.d(t,"applyKeyframeAnimation",(function(){return c}));var r=n(0),i=n(186),a=n(24),o=n(6),s=Object(o.makeInner)(),l=["percent","easing","shape","style","extra"];function u(e){e.stopAnimation("keyframe"),e.attr(s(e))}function c(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(r.isArray)(t))Object(r.each)(t,(function(t){c(e,t,n)}));else{var o=t.keyframes,u=t.duration;if(n&&null==u){var d=Object(a.getAnimationConfig)("enter",n,0);u=d&&d.duration}if(o&&u){var f=s(e);Object(r.each)(i.ELEMENT_ANIMATABLE_PROPS,(function(n){if(!n||e[n]){var i;o.sort((function(e,t){return e.percent-t.percent})),Object(r.each)(o,(function(a){var o=e.animators,s=n?a[n]:a;if(s){var c=Object(r.keys)(s);if(n||(c=Object(r.filter)(c,(function(e){return Object(r.indexOf)(l,e)<0}))),c.length){i||((i=e.animate(n,t.loop,!0)).scope="keyframe");for(var d=0;d>4?i+20:i+10},o=function e(t,n){return void 0===n&&(n=0),(t=Object(r.toUint8)(t)).length-n<10||!Object(r.bytesMatch)(t,i,{offset:n})?n:e(t,n+=a(t,n))}},function(e,t,n){"use strict";n.r(t);var r=n(351);n.d(t,"Highlight",(function(){return r.default}));var i=n(1009);n.d(t,"Selection",(function(){return i.default}));var a=n(468);n.d(t,"handleMouseEvent",(function(){return a.handleMouseEvent}));var o=n(153);n.d(t,"detectSelectionType",(function(){return o.detectSelectionType})),n.d(t,"normalizeSelectionFactory",(function(){return o.normalizeSelectionFactory}))},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(1773),a=(r=i)&&r.__esModule?r:{default:r};t.default=a.default||function(e){for(var t=1;t=0;a--)r.push(i[a])}}n.r(t),n.d(t,"eachAfter",(function(){return r})),n.d(t,"eachBefore",(function(){return i}))},function(e,t,n){"use strict";n.r(t),n.d(t,"EBML_TAGS",(function(){return a})),n.d(t,"findEbml",(function(){return c})),n.d(t,"decodeBlock",(function(){return d})),n.d(t,"parseTracks",(function(){return f})),n.d(t,"parseData",(function(){return h}));var r=n(22),i=n(323),a={EBML:Object(r.toUint8)([26,69,223,163]),DocType:Object(r.toUint8)([66,130]),Segment:Object(r.toUint8)([24,83,128,103]),SegmentInfo:Object(r.toUint8)([21,73,169,102]),Tracks:Object(r.toUint8)([22,84,174,107]),Track:Object(r.toUint8)([174]),TrackNumber:Object(r.toUint8)([215]),DefaultDuration:Object(r.toUint8)([35,227,131]),TrackEntry:Object(r.toUint8)([174]),TrackType:Object(r.toUint8)([131]),FlagDefault:Object(r.toUint8)([136]),CodecID:Object(r.toUint8)([134]),CodecPrivate:Object(r.toUint8)([99,162]),VideoTrack:Object(r.toUint8)([224]),AudioTrack:Object(r.toUint8)([225]),Cluster:Object(r.toUint8)([31,67,182,117]),Timestamp:Object(r.toUint8)([231]),TimestampScale:Object(r.toUint8)([42,215,177]),BlockGroup:Object(r.toUint8)([160]),BlockDuration:Object(r.toUint8)([155]),Block:Object(r.toUint8)([161]),SimpleBlock:Object(r.toUint8)([163])},o=[128,64,32,16,8,4,2,1],s=function(e,t,n,i){void 0===n&&(n=!0),void 0===i&&(i=!1);var a=function(e){for(var t=1,n=0;n=n.length)return n.length;var a=s(n,i,!1);if(Object(r.bytesMatch)(t.bytes,a.bytes))return i;var o=s(n,i+a.length);return e(t,n,i+o.length+o.value+a.length)},c=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return l(e)})):[l(e)]}(n),t=Object(r.toUint8)(t);var i=[];if(!n.length)return i;for(var a=0;at.length?t.length:d+c.value,h=t.subarray(d,f);Object(r.bytesMatch)(n[0],o.bytes)&&(1===n.length?i.push(h):i=i.concat(e(h,n.slice(1)))),a+=o.length+c.length+h.length}return i},d=function(e,t,n,i){var o;"group"===t&&((o=c(e,[a.BlockDuration])[0])&&(o=1/n*(o=Object(r.bytesToNumber)(o))*n/1e3),e=c(e,[a.Block])[0],t="block");var l=new DataView(e.buffer,e.byteOffset,e.byteLength),u=s(e,0),d=l.getInt16(u.length,!1),f=e[u.length+2],h=e.subarray(u.length+3),p=1/n*(i+d)*n/1e3,m={duration:o,trackNumber:u.value,keyframe:"simple"===t&&f>>7==1,invisible:(8&f)>>3==1,lacing:(6&f)>>1,discardable:"simple"===t&&1==(1&f),frames:[],pts:p,dts:p,timestamp:d};if(!m.lacing)return m.frames.push(h),m;var g=h[0]+1,v=[],_=1;if(2===m.lacing)for(var y=(h.length-_)/g,b=0;b>>3).toString():"mp4a.40.2":/^A_AC3/.test(o.rawCodec)?s="ac-3":/^A_PCM/.test(o.rawCodec)?s="pcm":/^A_MS\/ACM/.test(o.rawCodec)?s="speex":/^A_EAC3/.test(o.rawCodec)?s="ec-3":/^A_VORBIS/.test(o.rawCodec)?s="vorbis":/^A_FLAC/.test(o.rawCodec)?s="flac":/^A_OPUS/.test(o.rawCodec)&&(s="opus");o.codec=s,t.push(o)}})),t.sort((function(e,t){return e.number-t.number}))):t},h=function(e,t){var n=[],i=c(e,[a.Segment])[0],o=c(i,[a.SegmentInfo,a.TimestampScale])[0];o=o&&o.length?Object(r.bytesToNumber)(o):1e6;var s=c(i,[a.Cluster]);return t||(t=f(i)),s.forEach((function(e,t){var i=c(e,[a.SimpleBlock]).map((function(e){return{type:"simple",data:e}})),s=c(e,[a.BlockGroup]).map((function(e){return{type:"group",data:e}})),l=c(e,[a.Timestamp])[0]||0;l&&l.length&&(l=Object(r.bytesToNumber)(l)),i.concat(s).sort((function(e,t){return e.data.byteOffset-t.data.byteOffset})).forEach((function(e,t){var r=d(e.data,e.type,o,l);n.push(r)}))})),{tracks:t,blocks:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createHighlight",(function(){return h}));var r=n(163),i=n(1356),a=n(1357),o=n(1358),s=n(1359),l=n(1360),u=n(1361),c=Object(r.default)("highlight/types"),d=c.register,f=c.getItem;function h(e,t){return f(e)(t)}d("active-header",i.default),d("area",a.default),d("cell",o.default),d("custom-selection",s.default),d("fill",l.default),d("header",u.default)},function(e,t,n){var r=n(137).f,i=n(206),a=n(119)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(229),i=n(119)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){var r=n(23),i=n(247),a=n(89),o=n(637),s="["+o+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),c=function(e,t,n){var i={},s=a((function(){return!!o[e]()||"​…"!="​…"[e]()})),l=i[e]=s?t(d):o[e];n&&(i[n]=l),r(r.P+r.F*s,"String",i)},d=c.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=c},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(442),i=n(76),a=n(98).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},function(e,t,n){"use strict";var r=n(659);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},function(e,t,n){"use strict";var r=n(962),i=n(662).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(250);e.exports=Array.isArray||function(e){return"Array"===r(e)}},function(e,t,n){"use strict";var r=n(438),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},function(e,t,n){"use strict";var r=n(62),i=n(995);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},function(e,t,n){"use strict";var r=n(98),i=n(972),a=n(973),o=n(995),s=n(341),l=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var u in i)i[u]&&l(r[u]&&r[u].prototype);l(a)},function(e,t,n){"use strict";var r=n(62),i=n(280).some;r({target:"Array",proto:!0,forced:!n(308)("some")},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(62),i=n(280).every;r({target:"Array",proto:!0,forced:!n(308)("every")},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(377),i=n(537);e.exports=n(345)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(536),i=n(1067),a=n(693),o=Object.defineProperty;t.f=n(345)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(1070),i=n(694);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(697)("wks"),i=n(540),a=n(312).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(0),i=n(268);function a(e,t,n){for(var r=0;r>1^-(1&s),l=l>>1^-(1&l),i=s+=i,a=l+=a,r.push([s/n,l/n])}return r}function s(e,t){return e=function(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var i=t.features;return r.each(i,(function(e){var t=e.geometry,i=t.encodeOffsets,s=t.coordinates;if(i)switch(t.type){case"LineString":t.coordinates=o(s,i,n);break;case"Polygon":case"MultiLineString":a(s,i,n);break;case"MultiPolygon":r.each(s,(function(e,t){return a(e,i[t],n)}))}})),t.UTF8Encoding=!1,t}(e),r.map(r.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,a=e.geometry,o=[];switch(a.type){case"Polygon":var s=a.coordinates;o.push(new i.GeoJSONPolygonGeometry(s[0],s.slice(1)));break;case"MultiPolygon":r.each(a.coordinates,(function(e){e[0]&&o.push(new i.GeoJSONPolygonGeometry(e[0],e.slice(1)))}));break;case"LineString":o.push(new i.GeoJSONLineStringGeometry([a.coordinates]));break;case"MultiLineString":o.push(new i.GeoJSONLineStringGeometry(a.coordinates))}var l=new i.GeoJSONRegion(n[t||"name"],o,n.cp);return l.properties=n,l}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"getCompareFunctionFactory",(function(){return p})),n.d(t,"registerRootComparator",(function(){return f})),n.d(t,"getRootComparator",(function(){return h}));var r=n(621),i=n(758),a=n(759),o=n(163),s=Object(o.default)("sorting.compareFunctionFactory"),l=s.register,u=s.getItem,c=s.hasItem,d=Object(o.default)("sorting.mainSortComparator"),f=d.register,h=d.getItem;function p(e){return c(e)?u(e):u(r.COLUMN_DATA_TYPE)}l(i.COLUMN_DATA_TYPE,i.compareFunctionFactory),l(a.COLUMN_DATA_TYPE,a.compareFunctionFactory),l(r.COLUMN_DATA_TYPE,r.compareFunctionFactory)},function(e,t,n){"use strict";n.r(t),n.d(t,"truncateText",(function(){return s})),n.d(t,"parsePlainText",(function(){return d})),n.d(t,"RichTextContentBlock",(function(){return p})),n.d(t,"parseRichText",(function(){return m}));var r=n(267),i=n(0),a=n(60),o=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(e,t,n,r,i){if(!t)return"";var a=(e+"").split("\n");i=l(t,n,r,i);for(var o=0,s=a.length;o=l;c++)u-=l;var d=Object(a.getWidth)(n,t);return d>u&&(n="",d=0),u=e-d,o.ellipsis=n,o.ellipsisWidth=d,o.contentWidth=u,o.containerWidth=e,o}function u(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=Object(a.getWidth)(e,r);if(o<=n)return e;for(var s=0;;s++){if(o<=i||s>=t.maxIterations){e+=t.ellipsis;break}var l=0===s?c(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,l),o=Object(a.getWidth)(e,r)}return""===e&&(e=t.placeholder),e}function c(e,t,n,r){for(var i=0,a=0,o=e.length;av&&p){var _=Math.floor(v/f);n=n.slice(0,_)}if(e&&c&&null!=m)for(var b=l(m,s,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),S=0;Sh&&g(n,e.substring(h,m),t,f),g(n,l[2],t,f,l[1]),h=o.lastIndex}hc){k>0?(O.tokens=O.tokens.slice(0,k),w(O,x,C),n.lines=n.lines.slice(0,T+1)):n.lines=n.lines.slice(0,T);break e}var N=M.width,L=null==N||"auto"===N;if("string"==typeof N&&"%"===N.charAt(N.length-1))B.percentWidth=N,v.push(B),B.contentWidth=Object(a.getWidth)(B.text,I);else{if(L){var P=M.backgroundColor,j=P&&P.image;j&&(j=r.findExistImage(j),r.isImageReady(j)&&(B.width=Math.max(B.width,j.width*D/j.height)))}var F=S&&null!=u?u-x:null;null!=F&&F0&&v+r.accumWidth>r.width&&(o=t.split("\n"),p=!0),r.accumWidth=v}else{var _=y(t,d,r.width,r.breakAll,r.accumWidth);r.accumWidth=_.accumWidth+g,s=_.linesWidths,o=_.lines}}else o=t.split("\n");for(var b=0;b=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(e)||!!v[e]}function y(e,t,n,r,i){for(var o=[],s=[],l="",u="",c=0,d=0,f=0;fn:i+d+p>n)?d?(l||u)&&(m?(l||(l=u,u="",d=c=0),o.push(l),s.push(d-c),u+=h,l="",d=c+=p):(u&&(l+=u,u="",c=0),o.push(l),s.push(d),l=h,d=p)):m?(o.push(u),s.push(c),u=h,c=p):(o.push(h),s.push(p)):(d+=p,m?(u+=h,c+=p):(u&&(l+=u,u="",c=0),l+=h))}else u&&(l+=u,d+=c),o.push(l),s.push(d),l="",u="",c=0,d=0}return o.length||l||(l=e,u="",c=0),u&&(l+=u),l&&(o.push(l),s.push(d)),1===o.length&&(d+=i),{accumWidth:d,lines:o,linesWidths:s}}},function(e,t,n){"use strict";n.r(t),n.d(t,"EllipseShape",(function(){return a}));var r=n(66),i=n(38),a=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},o=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,a=t.rx,o=t.ry,s=a*n,l=o*n;e.moveTo(r-a,i),e.bezierCurveTo(r-a,i-l,r-s,i-o,r,i-o),e.bezierCurveTo(r+s,i-o,r+a,i-l,r+a,i),e.bezierCurveTo(r+a,i+l,r+s,i+o,r,i+o),e.bezierCurveTo(r-s,i+o,r-a,i+l,r-a,i),e.closePath()},t}(i.default);o.prototype.type="ellipse",t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(66),i=n(38),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return Object(r.__extends)(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n=1?1:Object(r.cubicRootAt)(0,o,l,1,e,c)&&Object(r.cubicAt)(0,s,u,1,c[0])}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createLegacyDataSelectAction",(function(){return a})),n.d(t,"handleLegacySelectEvents",(function(){return s}));var r=n(0),i=n(6);function a(e,t){function n(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){r.push(e.seriesIndex)})),r}Object(r.each)([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,i,a){t=Object(r.extend)({},t),a.dispatchAction(Object(r.extend)(t,{type:e[1],seriesIndex:n(i,t)}))}))}))}function o(e,t,n,a,o){var s=e+t;n.isSilent(s)||a.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,a=e.option.selectedMap,l=o.selected,u=0;ut&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t0}(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r0&&(_[0]=-_[0],_[1]=-_[1]);var b=v[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var S=-Math.atan2(v[1],v[0]);u[0].8?"left":c[0]<-.8?"right":"center",f=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*p+l[0],n.y=-c[1]*m+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",f=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=p*b+l[0],n.y=l[1]+E,d=v[0]<0?"right":"left",n.originX=-p*b,n.originY=-E;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=y[0],n.y=y[1]+E,d="center",n.originY=-E;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-p*b+u[0],n.y=u[1]+E,d=v[0]>=0?"right":"left",n.originX=p*b,n.originY=-E}n.scaleX=n.scaleY=r,n.setStyle({verticalAlign:n.__verticalAlign||f,align:n.__align||d})}}}function w(e,t){var n=e.__specifiedRotation;if(null==n){var r=o.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(u.default);t.default=_},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(131),o=n(43),s=n(74),l=n(13),u=n(167),c=n(158),d=n(424),f=n(161),h=Math.min,p=Math.max,m=Math.pow,g={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},v={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},y=0,b=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new o.default,n._uid="brushController_"+y++,Object(i.each)($,(function(e,t){this._handlers[t]=Object(i.bind)(e,this)}),n),n}return Object(r.__extends)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||d.take(t,"globalPan",this._uid),Object(i.each)(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=Object(i.merge)(Object(i.clone)(_),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;d.release(e,"globalPan",this._uid),Object(i.each)(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(i.each)(e,(function(e){t[e.panelId]=Object(i.clone)(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(i.map)(e,(function(e){return Object(i.merge)(Object(i.clone)(_),e,!0)}));var t=this._covers,n=this._covers=[],r=this,a=this._creatingCover;return new f.default(t,e,(function(e,t){return o(e.__brushOption,t)}),o).add(s).update(s).remove((function(e){t[e]!==a&&r.group.remove(t[e])})).execute(),this;function o(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function s(i,o){var s=e[i];if(null!=o&&t[o]===a)n[i]=t[o];else{var l=n[i]=null!=o?(t[o].__brushOption=s,t[o]):E(r,S(r,s));O(r,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),M(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(a.default);function S(e,t){var n=K[t.brushType].createCover(e,t);return n.__brushOption=t,T(n,t),e.group.add(n),n}function E(e,t){var n=C(t);return n.endCreating&&(n.endCreating(e,t),T(t,t.__brushOption)),t}function w(e,t){var n=t.__brushOption;C(t).updateCoverShape(e,t,n.range,n)}function T(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function O(e,t){C(t).updateCommon(e,t),w(e,t)}function C(e){return K[e.__brushOption.brushType]}function x(e,t,n){var r,a=e._panels;if(!a)return!0;var o=e._transform;return Object(i.each)(a,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function k(e,t){var n=e._panels;if(!n)return!0;var r=t.__brushOption.panelId;return null==r||n[r]}function M(e){var t=e._covers,n=t.length;return Object(i.each)(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function A(e,t){var n=Object(i.map)(e._covers,(function(e){var t=e.__brushOption,n=Object(i.clone)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function R(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function I(e,t,n,r){var a=new o.default;return a.add(new s.default({name:"main",style:P(n),silent:!0,draggable:!0,cursor:"move",drift:Object(i.curry)(B,e,t,a,["n","s","w","e"]),ondragend:Object(i.curry)(A,t,{isEnd:!0})})),Object(i.each)(r,(function(n){a.add(new s.default({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(i.curry)(B,e,t,a,n),ondragend:Object(i.curry)(A,t,{isEnd:!0})}))})),a}function D(e,t,n,r){var i=r.brushStyle.lineWidth||0,a=p(i,6),o=n[0][0],s=n[1][0],l=o-i/2,u=s-i/2,c=n[0][1],d=n[1][1],f=c-a+i/2,h=d-a+i/2,m=c-o,g=d-s,v=m+i,_=g+i;L(e,t,"main",o,s,m,g),r.transformable&&(L(e,t,"w",l,u,a,_),L(e,t,"e",f,u,a,_),L(e,t,"n",l,u,v,a),L(e,t,"s",l,h,v,a),L(e,t,"nw",l,u,a,a),L(e,t,"ne",f,u,a,a),L(e,t,"sw",l,h,a,a),L(e,t,"se",f,h,a,a))}function N(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(P(n)),a.attr({silent:!r,cursor:r?"move":"default"}),Object(i.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join("")),a=1===n.length?F(e,n[0]):function(e,t){var n=[F(e,t[0]),F(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?v[a]+"-resize":null})}))}function L(e,t,n,r,i,a,o){var s,l,u,c,d,f=t.childOfName(n);f&&f.setShape((s=Y(e,t,[[r,i],[r+a,i+o]]),l=h(s[0][0],s[1][0]),u=h(s[0][1],s[1][1]),c=p(s[0][0],s[1][0]),d=p(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:d-u}))}function P(e){return Object(i.defaults)({strokeNoScale:!0},e.brushStyle)}function j(e,t,n,r){var i=[h(e,n),h(t,r)],a=[p(e,n),p(t,r)];return[[i[0],a[0]],[i[1],a[1]]]}function F(e,t){return{left:"w",right:"e",top:"n",bottom:"s"}[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],function(e){return l.getTransform(e.group)}(e))]}function B(e,t,n,r,a,o){var s=n.__brushOption,l=e.toRectRange(s.range),u=U(t,a,o);Object(i.each)(r,(function(e){var t=g[e];l[t[0]][t[1]]+=u[t[0]]})),s.range=e.fromRectRange(j(l[0][0],l[1][0],l[0][1],l[1][1])),O(t,n),A(t,{isEnd:!1})}function H(e,t,n,r){var a=t.__brushOption.range,o=U(e,n,r);Object(i.each)(a,(function(e){e[0]+=o[0],e[1]+=o[1]})),O(e,t),A(e,{isEnd:!1})}function U(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),a=r.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function Y(e,t,n){var r=k(e,t);return r&&!0!==r?r.clipPath(n,e._transform):Object(i.clone)(n)}function V(e){var t=e.event;t.preventDefault&&t.preventDefault()}function W(e,t,n){return e.childOfName("main").contain(t,n)}function z(e,t,n,r){var a,o=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],a=n[1]-r[1];return m(i*i+a*a,.5)>6}(e)||o){if(s&&!o){"single"===l.brushMode&&M(e);var u=Object(i.clone)(l);u.brushType=G(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=e._creatingCover=S(e,u),e._covers.push(o)}if(o){var c=K[G(e._brushType,s)];o.__brushOption.range=c.getCreatingRange(Y(e,o,e._track)),r&&(E(e,o),c.updateCommon(e,o)),w(e,o),a={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&x(e,t,n)&&M(e)&&(a={isEnd:r,removeOnClick:!0});return a}function G(e,t){return"auto"===e?t.defaultBrushType:e}var $={mousedown:function(e){if(this._dragging)q(this,e);else if(!e.target||!e.target.draggable){V(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=x(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,a=x(e,t,n);if(!e._dragging)for(var o=0;oo)return!0;if(a){var s=l.getAxisInfo(e).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/s>o}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var o=f(e).pointerEl=new a[i.type](h(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=f(e).labelEl=new o.default(h(t.label));e.add(i),v(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=f(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=f(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),v(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),o=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l)return o&&i.remove(o),void(this._handle=null);this._handle||(t=!0,o=this._handle=a.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){u.stop(e.event)},onmousedown:p(this._onHandleDragMove,this,0,0),drift:p(this._onHandleDragMove,this),ondragend:p(this._onHandleDragEnd,this)}),i.add(o)),y(o,n,!1),o.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=s.get("size");r.isArray(d)||(d=[d,d]),o.scaleX=d[0]/2,o.scaleY=d[1]/2,c.createOrUpdate(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,_(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(_(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(_(r)),f(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),c.clear(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},e}();function g(e,t,n,i){(function e(t,n){if(r.isObject(t)&&r.isObject(n)){var i=!0;return r.each(n,(function(n,r){i=i&&e(t[r],n)})),!!i}return t===n})(f(n).lastProp,i)||(f(n).lastProp=i,t?s.updateProps(n,i,e):(n.stopAnimation(),n.attr(i)))}function v(e,t){e[t.get(["label","show"])?"show":"hide"]()}function _(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function y(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}t.default=m},function(e,t,n){"use strict";n.r(t);var r=n(4),i=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(n(68).default);t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(1258),i=n(1260),a=!1;function o(e){a||(a=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,r.default),Object(i.default)(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(68),a=n(0),o=n(173),s=n(6),l=n(9),u=Object(s.makeInner)(),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.prototype.init=function(){this.markerGroupMap=Object(a.createHashMap)()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){u(e).keep=!1})),t.eachSeries((function(e){var i=o.default.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){!u(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){u(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;Object(a.each)(e,(function(e){var r=o.default.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl((function(e){e&&(t?Object(l.enterBlur)(e):Object(l.leaveBlur)(e))}))}))},t.type="marker",t}(i.default);t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(0);function i(e,t){if(!e)return!1;for(var n=Object(r.isArray)(e)?e:[e],i=0;i0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}},{key:"removeTable",value:function(){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}},{key:"createColElement",value:function(e){var t=this.hot.rootDocument.createElement("col");return t.style.width="".concat(this.hot.view.wt.wtTable.getStretchedColumnWidth(e),"px"),t}},{key:"createTable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.hot.rootDocument,n=t.createDocumentFragment(),i=t.createElement("table"),a=t.createElement("thead"),o=t.createElement("tbody"),s=t.createElement("colgroup"),l=t.createElement("tr"),u=t.createElement("th");return this.isVertical()&&i.appendChild(s),this.isHorizontal()&&(l.appendChild(u),a.appendChild(l),i.style.tableLayout="auto",i.style.width="auto"),i.appendChild(a),this.isVertical()&&o.appendChild(l),i.appendChild(o),Object(r.addClass)(i,e),n.appendChild(i),{fragment:n,table:i,tHead:a,tBody:o,colGroup:s,tr:l,th:u}}},{key:"createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.hot.rootDocument,n=t.createDocumentFragment(),i=t.createElement("div"),a="htGhostTable htAutoSize ".concat(e.trim());return Object(r.addClass)(i,a),n.appendChild(i),{fragment:n,container:i}}},{key:"isVertical",value:function(){return!(!this.rows.length||this.columns.length)}},{key:"isHorizontal",value:function(){return!(!this.columns.length||this.rows.length)}}])&&a(t.prototype,n),o&&a(t,o),e}();t.default=o},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return o})),n.d(t,"default",(function(){return s}));n(56);var r=n(46),i=n(261),a=n(8),o="alignment";function s(){return{key:o,name:function(){return this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT)},disabled:function(){return!(this.getSelectedRange()&&!this.selection.isSelectedByCorner())},submenu:{items:[{key:"".concat(o,":left"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_LEFT);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htLeft"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"horizontal","htLeft"),Object(r.align)(t,"horizontal","htLeft",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{key:"".concat(o,":center"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_CENTER);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htCenter"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"horizontal","htCenter"),Object(r.align)(t,"horizontal","htCenter",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{key:"".concat(o,":right"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htRight"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"horizontal","htRight"),Object(r.align)(t,"horizontal","htRight",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{key:"".concat(o,":justify"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htJustify"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"horizontal","htJustify"),Object(r.align)(t,"horizontal","htJustify",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{name:i.KEY},{key:"".concat(o,":top"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_TOP);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htTop"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"vertical","htTop"),Object(r.align)(t,"vertical","htTop",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{key:"".concat(o,":middle"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htMiddle"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"vertical","htMiddle"),Object(r.align)(t,"vertical","htMiddle",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1},{key:"".concat(o,":bottom"),name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){var r=e.getCellMeta(t,n).className;if(r&&-1!==r.indexOf("htBottom"))return!0}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.getAlignmentClasses)(t,(function(t,n){return e.getCellMeta(t,n).className}));this.runHooks("beforeCellAlignment",n,t,"vertical","htBottom"),Object(r.align)(t,"vertical","htBottom",(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,r,i){return e.setCellMeta(t,n,r,i)})),this.render()},disabled:!1}]}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return o})),n.d(t,"default",(function(){return s}));n(18),n(19),n(20),n(15),n(194),n(12),n(31),n(16),n(17);var r=n(46),i=n(8);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o="clear_column";function s(){return{key:o,name:function(){return this.getTranslatedPhrase(i.CONTEXTMENU_ITEMS_CLEAR_COLUMN)},callback:function(e,t){var n=t[0].start.col;this.countRows()&&this.populateFromArray(0,n,[[null]],Math.max(t[0].start.row,t[0].end.row),n,"ContextMenu.clearColumn")},disabled:function(){var e=Object(r.getValidSelection)(this);if(!e)return!0;var t=a(e[0],3),n=t[0],i=t[1],o=[n,0,t[2],this.countCols()-1].join(",")===e.join(",");return i<0||this.countCols()>=this.getSettings().maxCols||o}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return o})),n.d(t,"default",(function(){return s}));n(18),n(19),n(20),n(15),n(194),n(12),n(31),n(16),n(17);var r=n(46),i=n(8);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o="col_left";function s(){return{key:o,name:function(){return this.getTranslatedPhrase(i.CONTEXTMENU_ITEMS_INSERT_LEFT)},callback:function(e,t){var n=t[Math.max(t.length-1,0)];this.alter("insert_col",n.start.col,1,"ContextMenu.columnLeft")},disabled:function(){var e=Object(r.getValidSelection)(this);if(!e)return!0;if(!this.isColumnModificationAllowed())return!0;var t=a(e[0],3),n=t[0],i=t[1],o=[n,0,t[2],this.countCols()-1].join(",")===e.join(","),s=1===this.countCols();return i<0||this.countCols()>=this.getSettings().maxCols||!s&&o},hidden:function(){return!this.getSettings().allowInsertColumn}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return o})),n.d(t,"default",(function(){return s}));n(18),n(19),n(20),n(15),n(194),n(12),n(31),n(16),n(17);var r=n(46),i=n(8);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o="col_right";function s(){return{key:o,name:function(){return this.getTranslatedPhrase(i.CONTEXTMENU_ITEMS_INSERT_RIGHT)},callback:function(e,t){var n=t[Math.max(t.length-1,0)];this.alter("insert_col",n.end.col+1,1,"ContextMenu.columnRight")},disabled:function(){var e=Object(r.getValidSelection)(this);if(!e)return!0;if(!this.isColumnModificationAllowed())return!0;var t=a(e[0],3),n=t[0],i=t[1],o=[n,0,t[2],this.countCols()-1].join(",")===e.join(","),s=1===this.countCols();return i<0||this.countCols()>=this.getSettings().maxCols||!s&&o},hidden:function(){return!this.getSettings().allowInsertColumn}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return o})),n.d(t,"default",(function(){return s}));var r=n(46),i=n(2),a=n(8),o="make_read_only";function s(){return{key:o,name:function(){var e=this,t=this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_READ_ONLY);return Object(r.checkSelectionConsistency)(this.getSelectedRange(),(function(t,n){return e.getCellMeta(t,n).readOnly}))&&(t=Object(r.markLabelAsSelected)(t)),t},callback:function(){var e=this,t=this.getSelectedRange(),n=Object(r.checkSelectionConsistency)(t,(function(t,n){return e.getCellMeta(t,n).readOnly}));Object(i.arrayEach)(t,(function(t){t.forAll((function(t,r){e.setCellMeta(t,r,"readOnly",!n)}))})),this.render()},disabled:function(){return!(this.getSelectedRange()&&!this.selection.isSelectedByCorner())}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return i})),n.d(t,"default",(function(){return a}));var r=n(8),i="redo";function a(){return{key:i,name:function(){return this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_REDO)},callback:function(){this.redo()},disabled:function(){return this.undoRedo&&!this.undoRedo.isRedoAvailable()}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return s})),n.d(t,"default",(function(){return l}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(46),i=n(153),a=n(8);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s="remove_col";function l(){return{key:s,name:function(){var e=this.getSelected(),t=0;if(e)if(e.length>1)t=1;else{var n=o(e[0],4);n[1]-n[3]!=0&&(t=1)}return this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_REMOVE_COLUMN,t)},callback:function(){this.alter("remove_col",Object(i.transformSelectionToColumnDistance)(this.getSelected()),null,"ContextMenu.removeColumn")},disabled:function(){var e=Object(r.getValidSelection)(this),t=this.countCols();return!e||(this.selection.isSelectedByRowHeader()||this.selection.isSelectedByCorner()||!this.isColumnModificationAllowed()||!t)},hidden:function(){return!this.getSettings().allowRemoveColumn}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return s})),n.d(t,"default",(function(){return l}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(46),i=n(153),a=n(8);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s="remove_row";function l(){return{key:s,name:function(){var e=this.getSelected(),t=0;if(e)if(e.length>1)t=1;else{var n=o(e[0],3);n[0]-n[2]!=0&&(t=1)}return this.getTranslatedPhrase(a.CONTEXTMENU_ITEMS_REMOVE_ROW,t)},callback:function(){this.alter("remove_row",Object(i.transformSelectionToRowDistance)(this.getSelected()),1,"ContextMenu.removeRow")},disabled:function(){var e=Object(r.getValidSelection)(this),t=this.countRows();return!e||(this.selection.isSelectedByColumnHeader()||this.selection.isSelectedByCorner()||!t)},hidden:function(){return!this.getSettings().allowRemoveRow}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return a})),n.d(t,"default",(function(){return o}));var r=n(46),i=n(8),a="row_above";function o(){return{key:a,name:function(){return this.getTranslatedPhrase(i.CONTEXTMENU_ITEMS_ROW_ABOVE)},callback:function(e,t){var n=t[Math.max(t.length-1,0)];this.alter("insert_row",n.start.row,1,"ContextMenu.rowAbove")},disabled:function(){return!Object(r.getValidSelection)(this)||(this.selection.isSelectedByColumnHeader()||this.countRows()>=this.getSettings().maxRows)},hidden:function(){return!this.getSettings().allowInsertRow}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return a})),n.d(t,"default",(function(){return o}));var r=n(46),i=n(8),a="row_below";function o(){return{key:a,name:function(){return this.getTranslatedPhrase(i.CONTEXTMENU_ITEMS_ROW_BELOW)},callback:function(e,t){var n=t[Math.max(t.length-1,0)];this.alter("insert_row",n.end.row+1,1,"ContextMenu.rowBelow")},disabled:function(){return!Object(r.getValidSelection)(this)||(this.selection.isSelectedByColumnHeader()||this.countRows()>=this.getSettings().maxRows)},hidden:function(){return!this.getSettings().allowInsertRow}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return i})),n.d(t,"default",(function(){return a}));var r=n(8),i="no_items";function a(){return{key:i,name:function(){return this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_NO_ITEMS)},disabled:!0,isCommand:!1}}},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return i})),n.d(t,"default",(function(){return a}));var r=n(8),i="undo";function a(){return{key:i,name:function(){return this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_UNDO)},callback:function(){this.undo()},disabled:function(){return this.undoRedo&&!this.undoRedo.isUndoAvailable()}}}},function(e,t,n){"use strict";n.r(t);n(75),n(195),n(235),n(12),n(455),n(92),n(31),n(157);var r=n(350),i=n(1),a=n(2),o=n(1372),s=n(49),l=n(3),u=n(26),c=n(87),d=n(46),f=n(41),h=n(115),p=n(50),m=n(28),g=n(110);function v(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;this.offset[e]=t}},{key:"isSubMenu",value:function(){return null!==this.parentMenu}},{key:"open",value:function(){var e=this;this.runLocalHooks("beforeOpen"),this.container.removeAttribute("style"),this.container.style.display="block";var t=Object(c.debounce)((function(t){return e.openSubMenu(t)}),300),n=this.options.minWidth||215,i=!1,o=Object(a.arrayFilter)(this.menuItems,(function(t){return t.key===p.NO_ITEMS&&(i=!0),Object(d.isItemHidden)(t,e.hot)}));if(o.length<1&&!i)o.push(Object(p.predefinedItems)()[p.NO_ITEMS]);else if(0===o.length)return;o=Object(d.filterSeparators)(o,p.SEPARATOR);var s=!1,l={data:o,colHeaders:!1,autoColumnSize:!0,autoWrapRow:!1,modifyColWidth:function(e){return Object(u.isDefined)(e)&&e0&&void 0!==arguments[0]&&arguments[0];this.isOpened()&&(e&&this.parentMenu?this.parentMenu.close():(this.closeAllSubMenus(),this.container.style.display="none",this.releaseMainTableCallbacks(),this.hotMenu.destroy(),this.hotMenu=null,this.hot.getSettings().outsideClickDeselects=this.origOutsideClickDeselects,this.runLocalHooks("afterClose"),this.parentMenu&&this.parentMenu.hotMenu.listen()))}},{key:"openSubMenu",value:function(t){if(!this.hotMenu)return!1;var n=this.hotMenu.getCell(t,0);if(this.closeAllSubMenus(),!n||!Object(d.hasSubMenu)(n))return!1;var r=this.hotMenu.getSourceDataAtRow(t),i=new e(this.hot,{parent:this,name:r.name,className:this.options.className,keepInViewport:!0,container:this.options.container});return i.setMenuItems(r.submenu.items),i.open(),i.setPosition(n.getBoundingClientRect()),this.hotSubMenus[r.key]=i,i}},{key:"closeSubMenu",value:function(e){var t=this.hotMenu.getSourceDataAtRow(e),n=this.hotSubMenus[t.key];n&&(n.destroy(),delete this.hotSubMenus[t.key])}},{key:"closeAllSubMenus",value:function(){var e=this;Object(a.arrayEach)(this.hotMenu.getData(),(function(t,n){return e.closeSubMenu(n)}))}},{key:"isAllSubMenusClosed",value:function(){return 0===Object.keys(this.hotSubMenus).length}},{key:"destroy",value:function(){var e=this.container.parentNode;this.clearLocalHooks(),this.close(),this.parentMenu=null,this.eventManager.destroy(),e&&e.removeChild(this.container)}},{key:"isOpened",value:function(){return null!==this.hotMenu}},{key:"executeCommand",value:function(e){if(this.isOpened()&&this.hasSelectedItem()){var t=this.getSelectedItem();if(this.runLocalHooks("select",t,e),!this.isCommandPassive(t)){var n=this.hot.getSelectedRange(),r=n?Object(d.normalizeSelection)(n):[];this.runLocalHooks("executeCommand",t.key,r,e),this.isSubMenu()&&this.parentMenu.runLocalHooks("executeCommand",t.key,r,e)}}}},{key:"isCommandPassive",value:function(e){var t=e.isCommand,n=e.name,r=e.disabled,i=e.submenu,a=!0===r||"function"==typeof r&&!0===r.call(this.hot);return!1===t||n===p.SEPARATOR||!0===a||i}},{key:"setPosition",value:function(e){var t=new o.default(e,this.container.ownerDocument.defaultView);this.options.keepInViewport?(t.fitsBelow(this.container)?this.setPositionBelowCursor(t):t.fitsAbove(this.container)?this.setPositionAboveCursor(t):this.setPositionBelowCursor(t),t.fitsOnRight(this.container)?this.setPositionOnRightOfCursor(t):this.setPositionOnLeftOfCursor(t)):(this.setPositionBelowCursor(t),this.setPositionOnRightOfCursor(t))}},{key:"setPositionAboveCursor",value:function(e){var t=this.offset.above+e.top-this.container.offsetHeight;this.isSubMenu()&&(t=e.top+e.cellHeight-this.container.offsetHeight+3),this.container.style.top="".concat(t,"px")}},{key:"setPositionBelowCursor",value:function(e){var t=this.offset.below+e.top;this.isSubMenu()&&(t=e.top-1),this.container.style.top="".concat(t,"px")}},{key:"setPositionOnRightOfCursor",value:function(e){var t;t=this.isSubMenu()?1+e.left+e.cellWidth:this.offset.right+1+e.left,this.container.style.left="".concat(t,"px")}},{key:"setPositionOnLeftOfCursor",value:function(e){var t=this.offset.left+e.left-this.container.offsetWidth+Object(i.getScrollbarWidth)(this.hot.rootDocument)+4;this.container.style.left="".concat(t,"px")}},{key:"selectFirstCell",value:function(){var e=this.hotMenu.getCell(0,0);Object(d.isSeparator)(e)||Object(d.isDisabled)(e)||Object(d.isSelectionDisabled)(e)?this.selectNextCell(0,0):this.hotMenu.selectCell(0,0)}},{key:"selectLastCell",value:function(){var e=this.hotMenu.countRows()-1,t=this.hotMenu.getCell(e,0);Object(d.isSeparator)(t)||Object(d.isDisabled)(t)||Object(d.isSelectionDisabled)(t)?this.selectPrevCell(e,0):this.hotMenu.selectCell(e,0)}},{key:"selectNextCell",value:function(e,t){var n=e+1,r=n=0?this.hotMenu.getCell(n,t):null;r&&(Object(d.isSeparator)(r)||Object(d.isDisabled)(r)||Object(d.isSelectionDisabled)(r)?this.selectPrevCell(n,t):this.hotMenu.selectCell(n,t))}},{key:"menuItemRenderer",value:function(e,t,n,r,a,o){var s,u=this,c=e.getSourceDataAtRow(n),d=this.hot.rootDocument.createElement("div"),f=function(e){return e.disableSelection},h=o;"function"==typeof h&&(h=h.call(this.hot)),Object(i.empty)(t),Object(i.addClass)(d,"htItemWrapper"),t.appendChild(d),s=c,new RegExp(p.SEPARATOR,"i").test(s.name)?Object(i.addClass)(t,"htSeparator"):"function"==typeof c.renderer?(Object(i.addClass)(t,"htCustomMenuRenderer"),t.appendChild(c.renderer(e,d,n,r,a,h))):Object(i.fastInnerHTML)(d,h),function(e){return!0===e.disabled||"function"==typeof e.disabled&&!0===e.disabled.call(u.hot)}(c)?(Object(i.addClass)(t,"htDisabled"),this.eventManager.addEventListener(t,"mouseenter",(function(){return e.deselectCell()}))):f(c)?(Object(i.addClass)(t,"htSelectionDisabled"),this.eventManager.addEventListener(t,"mouseenter",(function(){return e.deselectCell()}))):function(e){return Object(l.hasOwnProperty)(e,"submenu")}(c)?(Object(i.addClass)(t,"htSubmenu"),f(c)?this.eventManager.addEventListener(t,"mouseenter",(function(){return e.deselectCell()})):this.eventManager.addEventListener(t,"mouseenter",(function(){return e.selectCell(n,r,void 0,void 0,!1,!1)}))):(Object(i.removeClass)(t,["htSubmenu","htDisabled"]),f(c)?this.eventManager.addEventListener(t,"mouseenter",(function(){return e.deselectCell()})):this.eventManager.addEventListener(t,"mouseenter",(function(){return e.selectCell(n,r,void 0,void 0,!1,!1)})))}},{key:"createContainer",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this.options.container.ownerDocument,r=t;return r&&(Object(c.isFunction)(r)&&(r=null===(r=r.call(this.hot))||Object(u.isUndefined)(r)?"":r.toString()),r=r.replace(/[^A-z0-9]/g,"_"),r="".concat(this.options.className,"Sub_").concat(r),e=n.querySelector(".".concat(this.options.className,".").concat(r))),e||(e=n.createElement("div"),Object(i.addClass)(e,"htMenu ".concat(this.options.className)),r&&Object(i.addClass)(e,r),this.options.container.appendChild(e)),e}},{key:"blockMainTableCallbacks",value:function(){this._afterScrollCallback=function(){},this.hot.addHook("afterScrollVertically",this._afterScrollCallback),this.hot.addHook("afterScrollHorizontally",this._afterScrollCallback)}},{key:"releaseMainTableCallbacks",value:function(){this._afterScrollCallback&&(this.hot.removeHook("afterScrollVertically",this._afterScrollCallback),this.hot.removeHook("afterScrollHorizontally",this._afterScrollCallback),this._afterScrollCallback=null)}},{key:"onBeforeKeyDown",value:function(e){if(Object(i.isInput)(e.target)&&this.container.contains(e.target))Object(m.stopImmediatePropagation)(e);else{var t=this.hotMenu.getSelectedLast(),n=!1;switch(this.keyEvent=!0,e.keyCode){case f.KEY_CODES.ESCAPE:this.close(),n=!0;break;case f.KEY_CODES.ENTER:t&&(this.hotMenu.getSourceDataAtRow(t[0]).submenu?n=!0:(this.executeCommand(e),this.close(!0)));break;case f.KEY_CODES.ARROW_DOWN:t?this.selectNextCell(t[0],t[1]):this.selectFirstCell(),n=!0;break;case f.KEY_CODES.ARROW_UP:t?this.selectPrevCell(t[0],t[1]):this.selectLastCell(),n=!0;break;case f.KEY_CODES.ARROW_RIGHT:if(t){var r=this.openSubMenu(t[0]);r&&r.selectFirstCell()}n=!0;break;case f.KEY_CODES.ARROW_LEFT:t&&this.isSubMenu()&&(this.close(),this.parentMenu&&this.parentMenu.hotMenu.listen(),n=!0)}n&&(e.preventDefault(),Object(m.stopImmediatePropagation)(e)),this.keyEvent=!1}}},{key:"onAfterInit",value:function(){var e=this.hotMenu.view.wt.wtTable,t=this.hotMenu.getSettings().data,n=e.hider.style,r=e.holder.style,i=parseInt(n.width,10),o=Object(a.arrayReduce)(t,(function(e,t){return e+(t.name===p.SEPARATOR?1:26)}),0);r.width="".concat(i+22,"px"),r.height="".concat(o+4,"px"),n.height=r.height}},{key:"onAfterSelection",value:function(e,t,n,r,i){!1===this.keyEvent&&(i.value=!0)}},{key:"onDocumentMouseDown",value:function(e){this.isOpened()&&(this.options.standalone&&this.hotMenu&&!Object(i.isChildOf)(e.target,this.hotMenu.rootElement)?this.close(!0):!this.isAllSubMenusClosed()&&!this.isSubMenu()||Object(i.isChildOf)(e.target,".htMenu")||!Object(i.isChildOf)(e.target,this.container.ownerDocument)&&!Object(i.isChildOf)(e.target,this.hot.rootDocument)||this.close(!0))}}])&&v(t.prototype,n),h&&v(t,h),e}();Object(l.mixin)(_,h.default),t.default=_},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return l})),n.d(t,"condition",(function(){return u}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(8),i=n(51),a=n(469),o=n(470);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l="between";function u(e,t){var n=s(t,2),r=n[0],l=n[1];if("numeric"===e.meta.type){var u=parseFloat(r,10),c=parseFloat(l,10);r=Math.min(u,c),l=Math.max(u,c)}else if("date"===e.meta.type){var d=Object(i.getCondition)(o.CONDITION_NAME,[l]),f=Object(i.getCondition)(a.CONDITION_NAME,[r]);return d(e)&&f(e)}return e.value>=r&&e.value<=l}Object(i.registerCondition)(l,u,{name:r.FILTERS_CONDITIONS_BETWEEN,inputsCount:2,showOperators:!0})},function(e,t,n){"use strict";n.r(t);t.default=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hot=n,this.plugin=t}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return l}));function r(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function i(e,t,n,r,i){for(r===t&&r++;r>>1])<0?l=a:s=a+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=o}}function a(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])>0){for(s=r-i;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(e,t[n+c])>0?o=c+1:l=c}return l}function o(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=r-i;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(e,t[n+c])<0?l=c:o=c+1}return l}function s(e,t){var n,r,i=7,s=0,l=[];function u(u){var c=n[u],d=r[u],f=n[u+1],h=r[u+1];r[u]=d+h,u===s-3&&(n[u+1]=n[u+2],r[u+1]=r[u+2]),s--;var p=o(e[f],e,c,d,0,t);c+=p,0!==(d-=p)&&0!==(h=a(e[c+d-1],e,f,h,h-1,t))&&(d<=h?function(n,r,s,u){var c=0;for(c=0;c=7||m>=7);if(g)break;v<0&&(v=0),v+=2}if((i=v)<1&&(i=1),1===r){for(c=0;c=0;c--)e[m+c]=e[p+c];return void(e[h]=l[f])}var g=i;for(;;){var v=0,_=0,y=!1;do{if(t(l[f],e[d])<0){if(e[h--]=e[d--],v++,_=0,0==--r){y=!0;break}}else if(e[h--]=l[f--],_++,v=0,1==--u){y=!0;break}}while((v|_)=0;c--)e[m+c]=e[p+c];if(0===r){y=!0;break}}if(e[h--]=l[f--],1==--u){y=!0;break}if(0!==(_=u-a(e[d],l,0,u,u-1,t))){for(u-=_,m=(h-=_)+1,p=(f-=_)+1,c=0;c<_;c++)e[m+c]=l[p+c];if(u<=1){y=!0;break}}if(e[h--]=e[d--],0==--r){y=!0;break}g--}while(v>=7||_>=7);if(y)break;g<0&&(g=0),g+=2}(i=g)<1&&(i=1);if(1===u){for(m=(h-=r)+1,p=(d-=r)+1,c=r-1;c>=0;c--)e[m+c]=e[p+c];e[h]=l[f]}else{if(0===u)throw new Error;for(p=h-(u-1),c=0;c1;){var e=s-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]r[e+1])break;u(e)}},forceMergeRuns:function(){for(;s>1;){var e=s-2;e>0&&r[e-1]=32;)t|=1&e,e>>=1;return e+t}(o);do{if((l=r(e,n,a,t))c&&(d=c),i(e,n,n+d,n+l,t),l=d}u.pushRun(n,l),u.mergeRuns(),o-=l,n+=l}while(0!==o);u.forceMergeRuns()}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"SourceManager",(function(){return c})),n.d(t,"disableTransformOptionMerge",(function(){return d}));var r=n(0),i=n(141),a=n(29),o=n(140),s=n(564),l=n(347),u=n(164),c=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,o=this._getUpstreamSourceManagers(),s=!!o.length;if(f(n)){var l=n,u=void 0,c=void 0,d=void 0;if(s){var h=o[0];h.prepareSource(),u=(d=h.getSource()).data,c=d.sourceFormat,t=[h._getVersionSign()]}else u=l.get("data",!0),c=Object(r.isTypedArray)(u)?a.SOURCE_FORMAT_TYPED_ARRAY:a.SOURCE_FORMAT_ORIGINAL,t=[];var p=this._getSourceMetaRawOption()||{},m=d&&d.metaRawOption||{},g=Object(r.retrieve2)(p.seriesLayoutBy,m.seriesLayoutBy)||null,v=Object(r.retrieve2)(p.sourceHeader,m.sourceHeader),_=Object(r.retrieve2)(p.dimensions,m.dimensions);e=g!==m.seriesLayoutBy||!!v!=!!m.sourceHeader||_?[Object(i.createSource)(u,{seriesLayoutBy:g,sourceHeader:v,dimensions:_},c)]:[]}else{var y=n;if(s){var b=this._applyTransform(o);e=b.sourceList,t=b.upstreamSignList}else{var S=y.get("source",!0);e=[Object(i.createSource)(S,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,a=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){1!==e.length&&h("")}var l=[],u=[];return Object(r.each)(e,(function(e){e.prepareSource();var t=e.getSource(o||0);null==o||t||h(""),l.push(t),u.push(e._getVersionSign())})),a?t=Object(s.applyDataTransform)(a,l,{datasetIndex:n.componentIndex}):null!=o&&(t=[Object(i.cloneSourceShallow)(l[0])]),{sourceList:t,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t0?n=r[0]:r[1]<0&&(n=r[1]);return n}(o,n),l=a.dim,u=o.dim,c=t.mapDimension(u),d=t.mapDimension(l),f="x"===u||"radius"===u?1:0,h=Object(i.map)(e.dimensions,(function(e){return t.mapDimension(e)})),p=!1,m=t.getCalculationInfo("stackResultDimension");return Object(r.isDimensionStacked)(t,h[0])&&(p=!0,h[0]=m),Object(r.isDimensionStacked)(t,h[1])&&(p=!0,h[1]=m),{dataDimsForPoint:h,valueStart:s,valueAxisDim:u,baseAxisDim:l,stacked:!!p,valueDim:c,baseDim:d,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function o(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,r),o[1-a]=i,t.dataToPoint(o)}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(38),a=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},o=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),a=Math.max(t.r,0),o=.5*(a-i),s=i+o,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=2*Math.PI,f=c?u-ls){c=(h+u)/2;break}1===f&&(d=p-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),a[n]=e.toGlobalCoord(c)}}));else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=r.getBaseAxis().isHorizontal()?0:1;a[c]+=l+u/2}return a}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(i.default);i.default.registerClass(s),t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"rectCoordAxisBuildSplitArea",(function(){return s})),n.d(t,"rectCoordAxisHandleRemove",(function(){return l}));var r=n(0),i=n(74),a=n(6),o=Object(a.makeInner)();function s(e,t,n,a){var s=n.axis;if(!s.scale.isBlank()){var l=n.getModel("splitArea"),u=l.getModel("areaStyle"),c=u.get("color"),d=a.coordinateSystem.getRect(),f=s.getTicksCoords({tickModel:l,clamp:!0});if(f.length){var h=c.length,p=o(e).splitAreaColors,m=r.createHashMap(),g=0;if(p)for(var v=0;v=0;i--){if(n[i][r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var o=a.getPercentRange();n[0][r]={dataZoomId:r,start:o[0],end:o[1]}}}})),n.push(t)}function l(e){var t=d(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return a(n,(function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n]){r[n]=e;break}})),r}function u(e){o(e).snapshots=null}function c(e){return d(e).length}function d(e){var t=o(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(588),o=n(126),s=n(242),l=n(6),u=n(5),c=n(45),d=o.default.mapVisual,f=o.default.eachVisual,h=i.isArray,p=i.each,m=u.asc,g=u.linearMap,v=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&s.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=i.bind(e,this),this.controllerVisuals=s.createVisualMappings(this.option.controller,t,e),this.targetVisuals=s.createVisualMappings(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=l.normalizeToArray(e),t},t.prototype.eachTargetSeries=function(e,t){i.each(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,a=this.option,o=a.precision,s=this.dataBound,l=a.formatter;n=n||["<",">"],i.isArray(e)&&(e=e.slice(),r=!0);var u=t?e:r?[c(e[0]),c(e[1])]:c(e);return i.isString(l)?l.replace("{value}",r?u[0]:u).replace("{value2}",r?u[1]:u):i.isFunction(l)?r?l(e[0],e[1]):l(e):r?e[0]===s[0]?n[0]+" "+u[1]:e[1]===s[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(e){return e===s[0]?"min":e===s[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=m([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var i=n[r],a=e.getDimensionInfo(i);if(!a.isCalculationCoord)return a.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),s=t.controller||(t.controller={});i.merge(r,n),i.merge(s,n);var l=this.isCategory();function u(n){h(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}u.call(this,r),u.call(this,s),function(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},p(r,(function(e,t){if(o.default.isValidType(t)){var n=a.default.get(t,"inactive",l);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),a=this.getItemSymbol()||"roundRect";p(this.stateList,(function(o){var s=this.itemSize,u=e[o];u||(u=e[o]={color:l?r:[r]}),null==u.symbol&&(u.symbol=t&&i.clone(t)||(l?a:[a])),null==u.symbolSize&&(u.symbolSize=n&&i.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=d(u.symbol,(function(e){return"none"===e?a:e}));var c=u.symbolSize;if(null!=c){var h=-1/0;f(c,(function(e){e>h&&(h=e)})),u.symbolSize=d(c,(function(e){return g(e,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,s)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(c.default);t.default=v},function(e,t,n){"use strict";n.r(t);var r=n(751),i=n.n(r),a=n(7),o=n.n(a);t.default=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=o.a.location&&o.a.location.href||"");var n="function"==typeof o.a.URL,r=/^\/\//.test(e),a=!o.a.location&&!/\/\//i.test(e);if(n?e=new o.a.URL(e,o.a.location||"http://example.com"):/\/\//i.test(e)||(e=i.a.buildAbsoluteURL(o.a.location&&o.a.location.href||"",e)),n){var s=new URL(t,e);return a?s.href.slice("http://example.com".length):r?s.href.slice(s.protocol.length):s.href}return i.a.buildAbsoluteURL(e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"extendNotExistingKeys",(function(){return u})),n.d(t,"createCellHeadersRange",(function(){return c})),n.d(t,"normalizeLanguageCode",(function(){return d})),n.d(t,"applyLanguageSetting",(function(){return f})),n.d(t,"warnUserAboutLanguageRegistration",(function(){return h}));n(75),n(108),n(252),n(92);var r=n(26),i=n(3),a=n(94),o=n(104),s=n(243);function l(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['Language with code "','" was not found. You should register particular language \n before using it. Read more about this issue at: https://docs.handsontable.com/i18n/missing-language-code.']);return l=function(){return e},e}function u(e,t){return Object(i.objectEach)(t,(function(t,n){Object(r.isUndefined)(e[n])&&(e[n]=t)})),e}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=n,a=r;if(e>t){var o=[a,i];i=o[0],a=o[1]}return"".concat(i,"-").concat(a)}function d(e){var t=/^([a-zA-Z]{2})-([a-zA-Z]{2})$/.exec(e);return t?"".concat(t[1].toLowerCase(),"-").concat(t[2].toUpperCase()):e}function f(e,t){var n=d(t);Object(s.hasLanguageDictionary)(n)?e.language=n:(e.language=s.DEFAULT_LANGUAGE_CODE,h(t))}function h(e){Object(r.isDefined)(e)&&Object(a.error)(Object(o.toSingleLine)(l(),e))}},function(e,t,n){"use strict";n.r(t),n.d(t,"brushSVGPath",(function(){return A})),n.d(t,"brushSVGImage",(function(){return R})),n.d(t,"brushSVGTSpan",(function(){return I})),n.d(t,"brush",(function(){return D})),n.d(t,"setGradient",(function(){return N})),n.d(t,"setPattern",(function(){return L})),n.d(t,"setClipPath",(function(){return P}));var r=n(78),i=n(38),a=n(102),o=n(60),s=n(286),l=n(568),u=n(1107),c=n(85),d=n(0),f=n(267),h=n(614),p=n(70),m=n(93),g=n(1108),v=n(253),_=Math.round;function y(e){return e&&Object(d.isString)(e.src)}function b(e){return e&&Object(d.isFunction)(e.toDataURL)}function S(e,t,n,i){Object(u.default)((function(a,o){var s="fill"===a||"stroke"===a;s&&Object(r.isGradient)(o)?N(t,e,a,i):s&&Object(r.isPattern)(o)?L(n,e,a,i):e[a]=s&&"none"===o?"transparent":o}),t,n,!1),function(e,t,n){var i=e.style;if(Object(r.hasShadow)(i)){var a=Object(r.getShadowKey)(e),o=n.shadowCache,s=o[a];if(!s){var l=e.getGlobalScale(),u=l[0],d=l[1];if(!u||!d)return;var f=i.shadowOffsetX||0,h=i.shadowOffsetY||0,p=i.shadowBlur,m=Object(r.normalizeColor)(i.shadowColor),g=m.opacity,v=m.color,_=p/2/u+" "+p/2/d;s=n.zrId+"-s"+n.shadowIdx++,n.defs[s]=Object(c.createVNode)("filter",s,{id:s,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Object(c.createVNode)("feDropShadow","",{dx:f/u,dy:h/d,stdDeviation:_,"flood-color":v,"flood-opacity":g})]),o[a]=s}t.filter=Object(r.getIdURL)(s)}}(n,e,i)}function E(e,t){var n=Object(v.getElementSSRData)(t);n&&(n.each((function(t,n){null!=t&&(e[(c.META_DATA_PREFIX+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[c.META_DATA_PREFIX+"silent"]="true"))}function w(e){return Object(r.isAroundZero)(e[0]-1)&&Object(r.isAroundZero)(e[1])&&Object(r.isAroundZero)(e[2])&&Object(r.isAroundZero)(e[3]-1)}function T(e,t,n){if(t&&(!function(e){return Object(r.isAroundZero)(e[4])&&Object(r.isAroundZero)(e[5])}(t)||!w(t))){var i=n?10:1e4;e.transform=w(t)?"translate("+_(t[4]*i)/i+" "+_(t[5]*i)/i+")":Object(r.getMatrixStr)(t)}}function O(e,t,n){for(var r=e.points,i=[],a=0;ae[3]?(i="right",n=new a.CellCoords(t[0],e[3]+1),r=new a.CellCoords(t[2],t[3])):t[0]e[2]&&t[1]===e[1]&&(i="down",n=new a.CellCoords(e[2]+1,t[1]),r=new a.CellCoords(t[2],t[3])),{directionOfDrag:i,startOfDragCoords:n,endOfDragCoords:r}}function u(e){var t={};return!0===e?(t.directions=Object.keys(o),t.autoInsertRow=!0):Object(r.isObject)(e)?(Object(i.isDefined)(e.autoInsertRow)?e.direction===o.horizontal?t.autoInsertRow=!1:t.autoInsertRow=e.autoInsertRow:t.autoInsertRow=!1,Object(i.isDefined)(e.direction)?t.directions=[e.direction]:t.directions=Object.keys(o)):"string"==typeof e?(t.directions=[e],t.autoInsertRow=!0):(t.directions=[],t.autoInsertRow=!1),t}},function(e,t,n){"use strict";n.r(t);var r=n(1019);n.d(t,"bottom",(function(){return r.default}));var i=n(1020);n.d(t,"left",(function(){return i.default}));var a=n(1021);n.d(t,"noBorders",(function(){return a.default}));var o=n(1022);n.d(t,"right",(function(){return o.default}));var s=n(1023);n.d(t,"top",(function(){return s.default}))},function(e,t,n){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}n.r(t),n.d(t,"newMessages",(function(){return r})),n.d(t,"messages",(function(){return i}));var i=r()},function(e,t,n){var r=n(227),i=n(86),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(300)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(229);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(82);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(82),i=n(171),a=n(119)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[a])?t:i(n)}},function(e,t,n){"use strict";var r=n(76);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(79),i=n(76),a=n(250),o=Object,s=r("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?s(e,""):o(e)}:o},function(e,t,n){"use strict";var r=n(278),i=n(122),a=n(303),o=n(954),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,s(e))}},function(e,t,n){"use strict";var r,i,a=n(98),o=n(304),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},function(e,t,n){"use strict";var r=n(134),i=n(135),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=n(120),i=n(307),a=n(178).f,o=r("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},function(e,t,n){"use strict";var r=n(962),i=n(662);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=n(135),i=n(122),a=n(177),o=n(515),s=n(966),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=a(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},function(e,t,n){"use strict";var r=n(178).f,i=n(135),a=n(120)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(62),i=n(79),a=n(444),o=n(129),s=n(135),l=n(178).f,u=n(369),c=n(663),d=n(1695),f=n(513),h=n(669),p=!1,m=f("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},_=e.exports={enable:function(){_.enable=function(){},p=!0;var e=u.f,t=i([].splice),n={};n[m]=1,e(n).length&&(u.f=function(n){for(var r=e(n),i=0,a=r.length;i=51||!r((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";var r=n(134),i=n(98),a=n(79),o=n(518),s=n(674),l=n(341),u=n(307),c=n(369).f,d=n(303),f=n(989),h=n(139),p=n(980),m=n(677),g=n(1711),v=n(233),_=n(76),y=n(135),b=n(279).enforce,S=n(979),E=n(120),w=n(984),T=n(985),O=E("match"),C=i.RegExp,x=C.prototype,k=i.SyntaxError,M=a(x.exec),A=a("".charAt),R=a("".replace),I=a("".indexOf),D=a("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,P=/a/g,j=new C(L)!==L,F=m.MISSED_STICKY,B=m.UNSUPPORTED_Y,H=r&&(!j||F||w||T||_((function(){return P[O]=!1,C(L)!==L||C(P)===P||"/a/i"!==String(C(L,"i"))})));if(o("RegExp",H)){for(var U=function(e,t){var n,r,i,a,o,c,m=d(x,this),g=f(e),v=void 0===t,_=[],S=e;if(!m&&g&&v&&e.constructor===U)return e;if((g||d(x,e))&&(e=e.source,v&&(t=p(S))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),S=e,w&&"dotAll"in L&&(r=!!t&&I(t,"s")>-1)&&(t=R(t,/s/g,"")),n=t,F&&"sticky"in L&&(i=!!t&&I(t,"y")>-1)&&B&&(t=R(t,/y/g,"")),T&&(e=(a=function(e){for(var t,n=e.length,r=0,i="",a=[],o=u(null),s=!1,l=!1,c=0,d="";r<=n;r++){if("\\"===(t=A(e,r)))t+=A(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===D(e,r+1,r+3))continue;M(N,D(e,r+1))&&(r+=2,l=!0),c++;continue;case">"===t&&l:if(""===d||y(o,d))throw new k("Invalid capture group name");o[d]=!0,a[a.length]=[d,c],l=!1,d="";continue}l?d+=t:i+=t}return[i,a]}(e))[0],_=a[1]),o=s(C(e,t),m?this:x,U),(r||i||_.length)&&(c=b(o),r&&(c.dotAll=!0,c.raw=U(function(e){for(var t,n=e.length,r=0,i="",a=!1;r<=n;r++)"\\"!==(t=A(e,r))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+A(e,++r);return i}(e),n)),i&&(c.sticky=!0),_.length&&(c.groups=_)),e!==S)try{l(o,"source",""===S?"(?:)":S)}catch(e){}return o},Y=c(C),V=0;Y.length>V;)g(U,C,Y[V++]);x.constructor=U,U.prototype=x,v(i,"RegExp",U,{constructor:!0})}S("RegExp")},function(e,t,n){"use strict";var r=n(138),i=n(523),a=n(147),o=n(232),s=n(342),l=n(139),u=n(172),c=n(339),d=n(678),f=n(524);i("match",(function(e,t,n){return[function(t){var n=u(this),i=o(t)?void 0:c(t,e);return i?r(i,t,n):new RegExp(t)[e](l(n))},function(e){var r=a(this),i=l(e),o=n(t,r,i);if(o.done)return o.value;if(!r.global)return f(r,i);var u=r.unicode;r.lastIndex=0;for(var c,h=[],p=0;null!==(c=f(r,i));){var m=l(c[0]);h[p]=m,""===m&&(r.lastIndex=d(i,s(r.lastIndex),u)),p++}return 0===p?null:h}]}))},function(e,t,n){"use strict";var r=n(62),i=n(278),a=n(371),o=n(1718),s=n(986),l=n(147),u=n(129),c=n(307),d=n(76),f=i("Reflect","construct"),h=Object.prototype,p=[].push,m=d((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),g=!d((function(){f((function(){}))})),v=m||g;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){s(e),l(t);var n=arguments.length<3?e:s(arguments[2]);if(g&&!m)return f(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return a(p,r,t),new(a(o,e,r))}var i=n.prototype,d=c(u(i)?i:h),v=a(e,d,t);return u(v)?v:d}})},function(e,t,n){"use strict";n.r(t),n.d(t,"DO_NOT_SWAP",(function(){return a})),n.d(t,"FIRST_BEFORE_SECOND",(function(){return o})),n.d(t,"FIRST_AFTER_SECOND",(function(){return s})),n.d(t,"sort",(function(){return l}));var r=n(1369),i=n(381),a=0,o=-1,s=1;function l(e,t){for(var n=Object(i.getRootComparator)(t),a=arguments.length,o=new Array(a>2?a-2:0),s=2;s0&&void 0!==arguments[0]&&arguments[0];return this.drawInterrupted=!1,e||this.wtTable.isVisible()?this.wtTable.draw(e):this.drawInterrupted=!0,this}},{key:"getCell",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.wtTable.getCell(e);var n=this.wtSettings.getSetting("totalRows"),r=this.wtSettings.getSetting("fixedRowsTop"),i=this.wtSettings.getSetting("fixedRowsBottom"),a=this.wtSettings.getSetting("fixedColumnsLeft");if(e.row=n-i){if(this.wtOverlays.bottomLeftCornerOverlay&&this.wtOverlays.bottomLeftCornerOverlay.clone)return this.wtOverlays.bottomLeftCornerOverlay.clone.wtTable.getCell(e)}else{if(e.col=n-i&&this.wtOverlays.bottomOverlay&&this.wtOverlays.bottomOverlay.clone)return this.wtOverlays.bottomOverlay.clone.wtTable.getCell(e)}return this.wtTable.getCell(e)}},{key:"update",value:function(e,t){return this.wtSettings.update(e,t)}},{key:"scrollViewport",value:function(e,t,n,r,i){return!(e.col<0||e.row<0)&&this.wtScroll.scrollViewport(e,t,n,r,i)}},{key:"scrollViewportHorizontally",value:function(e,t,n){return!(e<0)&&this.wtScroll.scrollViewportHorizontally(e,t,n)}},{key:"scrollViewportVertically",value:function(e,t,n){return!(e<0)&&this.wtScroll.scrollViewportVertically(e,t,n)}},{key:"getViewport",value:function(){return[this.wtTable.getFirstVisibleRow(),this.wtTable.getFirstVisibleColumn(),this.wtTable.getLastVisibleRow(),this.wtTable.getLastVisibleColumn()]}},{key:"getOverlayName",value:function(){return this.cloneOverlay?this.cloneOverlay.type:"master"}},{key:"exportSettingsAsClassNames",value:function(){var e=this,t=[],n=[];Object(i.objectEach)({rowHeaders:["array"],columnHeaders:["array"]},(function(r,i){r.indexOf("array")>-1&&e.getSetting(i).length&&n.push("ht".concat(Object(a.toUpperCaseFirst)(i))),t.push("ht".concat(Object(a.toUpperCaseFirst)(i)))})),Object(r.removeClass)(this.wtTable.wtRootElement.parentNode,t),Object(r.addClass)(this.wtTable.wtRootElement.parentNode,n)}},{key:"getSetting",value:function(e,t,n,r,i){return this.wtSettings.getSetting(e,t,n,r,i)}},{key:"hasSetting",value:function(e){return this.wtSettings.has(e)}},{key:"destroy",value:function(){this.wtOverlays.destroy(),this.wtEvent.destroy()}}])&&f(t.prototype,n),h&&f(t,h),e}();t.default=h},function(e,t,n){"use strict";n.r(t),n.d(t,"ArcShape",(function(){return a}));var r=n(66),i=n(38),a=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},o=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),a=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(a),u=Math.sin(a);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,a,o,!s)},t}(i.default);o.prototype.type="arc",t.default=o},function(e,t,n){"use strict";n.r(t),n.d(t,"parseXML",(function(){return i}));var r=n(0);function i(e){Object(r.isString)(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));var t=e;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}},function(e,t,n){"use strict";n.r(t);n(114),n(15),n(12),n(16),n(91),n(17),n(130);var r=n(1),i=n(87),a=n(105),o=n(110),s=n(49);function l(e,t){for(var n=0;n=0&&e<=Math.max(o-1,0)){var l=this.getFirstVisibleColumn(),u=this.getLastVisibleColumn();e>=i&&l>-1&&(e-1&&(e>u||t))&&(s=a.scrollTo(e,!0))}return s}},{key:"scrollViewportVertically",value:function(e,t,n){if(!this.wot.drawn)return!1;var r=this._getVariables(),i=r.fixedRowsBottom,a=r.fixedRowsTop,o=r.topOverlay,s=r.totalRows,l=!1;if(e>=0&&e<=Math.max(s-1,0)){var u=this.getFirstVisibleRow(),c=this.getLastVisibleRow();e>=a&&u>-1&&(e-1&&(e>c&&e0;p--)if(h+=t.sumCellSizes(p-1,p),u.top+c-h<=f){l=p;break}}}return l}},{key:"getLastVisibleRow",value:function(){var e=this._getVariables(),t=e.topOverlay,n=e.wtTable,i=e.wtViewport,a=e.totalRows,o=this.wot.rootWindow,s=n.getLastVisibleRow();if(t.mainTableScrollableElement===o){var l=Object(r.offset)(n.wtRootElement),u=Object(r.getScrollTop)(o,o);if(l.top>u)for(var c=Object(r.innerHeight)(o),d=i.getColumnHeaderHeight(),f=1;f<=a;f++)if(d+=t.sumCellSizes(f-1,f),l.top+d-u>=c){s=f-2;break}}return s}},{key:"getFirstVisibleColumn",value:function(){var e=this._getVariables(),t=e.leftOverlay,n=e.wtTable,i=e.wtViewport,a=e.totalColumns,o=this.wot.rootWindow,s=n.getFirstVisibleColumn();if(t.mainTableScrollableElement===o){var l=Object(r.offset)(n.wtRootElement),u=Object(r.innerWidth)(n.hider),c=Object(r.innerWidth)(o),d=Object(r.getScrollLeft)(o,o);if(l.left+u-c<=d)for(var f=i.getRowHeaderWidth(),h=a;h>0;h--)if(f+=t.sumCellSizes(h-1,h),l.left+u-f<=d){s=h;break}}return s}},{key:"getLastVisibleColumn",value:function(){var e=this._getVariables(),t=e.leftOverlay,n=e.wtTable,i=e.wtViewport,a=e.totalColumns,o=this.wot.rootWindow,s=n.getLastVisibleColumn();if(t.mainTableScrollableElement===o){var l=Object(r.offset)(n.wtRootElement),u=Object(r.getScrollLeft)(o,o);if(l.left>u)for(var c=Object(r.innerWidth)(o),d=i.getRowHeaderWidth(),f=1;f<=a;f++)if(d+=t.sumCellSizes(f-1,f),l.left+d-u>=c){s=f-2;break}}return s}},{key:"_getVariables",value:function(){var e=this.wot;return{topOverlay:e.wtOverlays.topOverlay,leftOverlay:e.wtOverlays.leftOverlay,wtTable:e.wtTable,wtViewport:e.wtViewport,totalRows:e.getSetting("totalRows"),totalColumns:e.getSetting("totalColumns"),fixedRowsTop:e.getSetting("fixedRowsTop"),fixedRowsBottom:e.getSetting("fixedRowsBottom"),fixedColumnsLeft:e.getSetting("fixedColumnsLeft")}}}])&&i(t.prototype,n),a&&i(t,a),e}();t.default=a},function(e,t,n){"use strict";n.r(t),n.d(t,"mouseDown",(function(){return a})),n.d(t,"mouseOver",(function(){return o})),n.d(t,"handleMouseEvent",(function(){return l}));n(15),n(251),n(12),n(16),n(17);var r=n(28),i=n(14);function a(e){var t=e.isShiftKey,n=e.isLeftClick,r=e.isRightClick,a=e.coords,o=e.selection,s=e.controller,l=o.isSelected()?o.getSelectedRange().current():null,u=o.isSelectedByCorner(),c=o.isSelectedByRowHeader();if(t&&l)a.row>=0&&a.col>=0&&!s.cells?o.setRangeEnd(a):(u||c)&&a.row>=0&&a.col>=0&&!s.cells?o.setRangeEnd(new i.CellCoords(a.row,a.col)):u&&a.row<0&&!s.column?o.setRangeEnd(new i.CellCoords(l.to.row,a.col)):c&&a.col<0&&!s.row?o.setRangeEnd(new i.CellCoords(a.row,l.to.col)):(!u&&!c&&a.col<0||u&&a.col<0)&&!s.row?o.selectRows(l.from.row,a.row):(!u&&!c&&a.row<0||c&&a.row<0)&&!s.column&&o.selectColumns(l.from.col,a.col);else{var d=new i.CellCoords(a.row,a.col);d.row<0&&(d.row=0),d.col<0&&(d.col=0);var f=!o.inInSelection(d),h=n||r&&f;a.row<0&&a.col>=0&&!s.column?h&&o.selectColumns(a.col):a.col<0&&a.row>=0&&!s.row?h&&o.selectRows(a.row):a.col>=0&&a.row>=0&&!s.cells?h&&o.setRangeStart(a):a.col<0&&a.row<0&&o.setRangeStart(a)}}function o(e){var t=e.isLeftClick,n=e.coords,r=e.selection,a=e.controller;if(t){var o=r.isSelectedByRowHeader(),s=r.isSelectedByColumnHeader(),l=r.tableProps.countCols(),u=r.tableProps.countRows();s&&!a.column?r.setRangeEnd(new i.CellCoords(u-1,n.col)):o&&!a.row?r.setRangeEnd(new i.CellCoords(n.row,l-1)):a.cell||r.setRangeEnd(n)}}var s=new Map([["mousedown",a],["mouseover",o],["touchstart",a]]);function l(e,t){var n=t.coords,i=t.selection,a=t.controller;s.get(e.type)({coords:n,selection:i,controller:a,isShiftKey:e.shiftKey,isLeftClick:Object(r.isLeftClick)(e)||"touchstart"===e.type,isRightClick:Object(r.isRightClick)(e)})}},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return l})),n.d(t,"condition",(function(){return u}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(11),i=n.n(r),a=n(8),o=n(51);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l="date_after";function u(e,t){var n=s(t,1)[0],r=i()(e.value,e.meta.dateFormat),a=i()(n,e.meta.dateFormat);return!(!r.isValid()||!a.isValid())&&r.diff(a)>=0}Object(o.registerCondition)(l,u,{name:a.FILTERS_CONDITIONS_AFTER,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return l})),n.d(t,"condition",(function(){return u}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(11),i=n.n(r),a=n(8),o=n(51);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l="date_before";function u(e,t){var n=s(t,1)[0],r=i()(e.value,e.meta.dateFormat),a=i()(n,e.meta.dateFormat);return!(!r.isValid()||!a.isValid())&&r.diff(a)<=0}Object(o.registerCondition)(l,u,{name:a.FILTERS_CONDITIONS_BEFORE,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return s})),n.d(t,"condition",(function(){return l}));n(18),n(19),n(20),n(56),n(15),n(12),n(31),n(16),n(17);var r=n(8),i=n(26),a=n(51);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s="contains";function l(e,t){var n=o(t,1)[0];return Object(i.stringify)(e.value).toLowerCase().indexOf(Object(i.stringify)(n))>=0}Object(a.registerCondition)(s,l,{name:r.FILTERS_CONDITIONS_CONTAINS,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_ID",(function(){return a})),n.d(t,"SHORT_NAME_FOR_COMPONENT",(function(){return o})),n.d(t,"operationResult",(function(){return s}));n(374);var r=n(8),i=n(239),a="disjunction",o=r.FILTERS_LABELS_DISJUNCTION;function s(e,t){return e.some((function(e){return e.func(t)}))}Object(i.registerOperation)(a,o,s)},function(e,t,n){"use strict";var r;n.r(t),r=n(53).default.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)},t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(55),i=[0,0],a=[0,0],o=new r.default,s=new r.default,l=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.default;for(n=0;n<2;n++)this._axes[n]=new r.default;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,i=this._axes,a=e.x,o=e.y,s=a+e.width,l=o+e.height;if(n[0].set(a,o),n[1].set(s,o),n[2].set(s,l),n[3].set(a,l),t)for(var u=0;u<4;u++)n[u].transform(t);r.default.sub(i[0],n[1],n[0]),r.default.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(u=0;u<2;u++)this._origin[u]=i[u].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,i=!t;return o.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,e,o,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,o,s,i,-1)&&(n=!1,i)||i||r.default.copy(t,n?o:s),n},e.prototype._intersectCheckOneSide=function(e,t,n,o,s,l){for(var u=!0,c=0;c<2;c++){var d=this._axes[c];if(this._getProjMinMaxOnAxis(c,e._corners,i),this._getProjMinMaxOnAxis(c,t._corners,a),i[1]a[1]){if(u=!1,s)return u;var f=Math.abs(a[0]-i[1]),h=Math.abs(i[0]-a[1]);Math.min(f,h)>o.len()&&(f0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:Object(r.isNumber)(e)?[e]:Object(r.isArray)(e)?e:null:null}function a(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&i(t.lineDash,t.lineWidth),a=t.lineDashOffset;if(n){var o=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;o&&1!==o&&(n=Object(r.map)(n,(function(e){return e/o})),a/=o)}return[n,a]}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(181),a=n(478),o=n(112),s=n(0),l=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.default({})),Object(s.isArray)(r)&&(r=new a.default({categories:Object(s.map)(r,(function(e){return Object(s.isObject)(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return Object(r.__extends)(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(s.isString)(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),o.contain(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),o.normalize(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(o.scale(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,a=this._ordinalMeta.categories.length,o=Math.min(a,t.length);i=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(i.default);i.default.registerClass(l),t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(0),i=0,a=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++i}return e.createByAxisModel=function(t){var n=t.option,i=n.data,a=i&&Object(r.map)(i,o);return new e({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!Object(r.isString)(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=this._getOrCreateMap();return null==(t=i.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(r.createHashMap)(this.categories))},e}();function o(e){return Object(r.isObject)(e)&&null!=e.value?e.value:e+""}t.default=a},function(e,t,n){"use strict";n.r(t),n.d(t,"ECPolyline",(function(){return f})),n.d(t,"ECPolygon",(function(){return p}));var r=n(4),i=n(38),a=n(132),o=n(52),s=Math.min,l=Math.max;function u(e,t){return isNaN(e)||isNaN(t)}function c(e,t,n,r,i,a,o,c,d){for(var f,h,p,m,g,v,_=n,y=0;y=i||_<0)break;if(u(b,S)){if(d){_+=a;continue}break}if(_===n)e[a>0?"moveTo":"lineTo"](b,S),p=b,m=S;else{var E=b-f,w=S-h;if(E*E+w*w<.5){_+=a;continue}if(o>0){for(var T=_+a,O=t[2*T],C=t[2*T+1];O===b&&C===S&&y=r||u(O,C))g=b,v=S;else{M=O-f,A=C-h;var D=b-f,N=O-b,L=S-h,P=C-S,j=void 0,F=void 0;if("x"===c){var B=M>0?1:-1;g=b-B*(j=Math.abs(D))*o,v=S,R=b+B*(F=Math.abs(N))*o,I=S}else if("y"===c){var H=A>0?1:-1;g=b,v=S-H*(j=Math.abs(L))*o,R=b,I=S+H*(F=Math.abs(P))*o}else j=Math.sqrt(D*D+L*L),g=b-M*o*(1-(k=(F=Math.sqrt(N*N+P*P))/(F+j))),v=S-A*o*(1-k),I=S+A*o*k,R=s(R=b+M*o*k,l(O,b)),I=s(I,l(C,S)),R=l(R,s(O,b)),v=S-(A=(I=l(I,s(C,S)))-S)*j/F,g=s(g=b-(M=R-b)*j/F,l(f,b)),v=s(v,l(h,S)),R=b+(M=b-(g=l(g,s(f,b))))*F/j,I=S+(A=S-(v=l(v,s(h,S))))*F/j}e.bezierCurveTo(p,m,g,v,b,S),p=R,m=I}else e.lineTo(b,S)}f=b,h=S,_+=a}return y}var d=function(){this.smooth=0,this.smoothConstraint=!0},f=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return Object(r.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new d},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0&&u(n[2*i-2],n[2*i-1]);i--);for(;r=0){var _=l?(f-r)*v+r:(d-n)*v+n;return l?[e,_]:[_,e]}n=d,r=f;break;case s.C:d=i[c++],f=i[c++],h=i[c++],p=i[c++],m=i[c++],g=i[c++];var y=l?Object(o.cubicRootAt)(n,d,h,m,e,u):Object(o.cubicRootAt)(r,f,p,g,e,u);if(y>0)for(var b=0;b=0){_=l?Object(o.cubicAt)(r,f,p,g,S):Object(o.cubicAt)(n,d,h,m,S);return l?[e,_]:[_,e]}}n=m,r=g}}},t}(i.default),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(d),p=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new h},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,a=n.length/2,o=t.smoothMonotone;if(t.connectNulls){for(;a>0&&u(n[2*a-2],n[2*a-1]);a--);for(;ii?s=o=L+k*i/2:(o=L+A,s=a-A),t.setItemLayout(n,{angle:i,startAngle:o,endAngle:s,clockwise:T,cx:f,cy:p,r0:g,r:O?Object(r.linearMap)(e,x,[g,m]):m}),L=a}})),D=0)&&e(a,i._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=p[e.brushType](0,n,t);e.__rangeOffset={offset:g[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){Object(r.each)(e,(function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&Object(r.each)(i.coordSyses,(function(r){var i=p[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){Object(r.each)(e,(function(e){var n,r,i,a,o,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=p[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?g[e.brushType](l.values,u.offset,(n=l.xyMinMax,r=u.xyMinMax,i=_(n),a=_(r),o=[i[0]/a[0],i[1]/a[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):l.values}}),this)},e.prototype.makePanelOpts=function(e,t){return Object(r.map)(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:a.makeRectPanelClipPath(r),isTargetByCursor:a.makeRectIsTargetByCursor(r,e,n.coordSysModel),getLinearBrushOtherExtent:a.makeLinearBrushOtherExtent(r)}}))},e.prototype.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&Object(r.indexOf)(i.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=c(t,e),i=0;ie[1]&&e.reverse(),e}function c(e,t){return Object(o.parseFinder)(e,t,{includeMainTypes:s})}var d={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,a=e.gridModels,o=Object(r.createHashMap)(),s={},l={};(n||i||a)&&(Object(r.each)(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),Object(r.each)(i,(function(e){var t=e.axis.grid.model;o.set(t.id,t),l[t.id]=!0})),Object(r.each)(a,(function(e){o.set(e.id,e),s[e.id]=!0,l[e.id]=!0})),o.each((function(e){var a=e.coordinateSystem,o=[];Object(r.each)(a.getCartesians(),(function(e,t){(Object(r.indexOf)(n,e.getAxis("x").model)>=0||Object(r.indexOf)(i,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:h.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})})))},geo:function(e,t){Object(r.each)(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:h.geo})}))}},f=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],h={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(i.getTransform(e)),t}},p={lineX:Object(r.curry)(m,0),lineY:Object(r.curry)(m,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),a=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),o=[u([i[0],a[0]]),u([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,i){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:Object(r.map)(n,(function(n){var r=e?t.pointToData(n,i):t.dataToPoint(n,i);return a[0][0]=Math.min(a[0][0],r[0]),a[1][0]=Math.min(a[1][0],r[1]),a[0][1]=Math.max(a[0][1],r[0]),a[1][1]=Math.max(a[1][1],r[1]),r})),xyMinMax:a}}};function m(e,t,n,i){var a=n.getAxis(["x","y"][e]),o=u(Object(r.map)([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(i[e]),!0):a.toGlobalCoord(a.dataToCoord(i[e]))}))),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}var g={lineX:Object(r.curry)(v,0),lineY:Object(r.curry)(v,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(r.map)(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function v(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function _(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(63),o=n(6),s=n(45),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),i.isArray(t)&&i.each(t,(function(e,r){i.isString(e)&&(e={type:e}),t[r]=i.merge(e,function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(s.default);t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"setViewInfoToCoordSysRecord",(function(){return u})),n.d(t,"disposeCoordSysRecordIfNeeded",(function(){return c})),n.d(t,"installDataZoomRoamProcessor",(function(){return p}));var r=n(258),i=n(133),a=n(6),o=n(0),s=n(156),l=Object(a.makeInner)();function u(e,t,n){l(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}function c(e,t){for(var n=l(e).coordSysRecordMap,r=n.keys(),i=0;in["type_"+t]&&(t=a),r=r&&i.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(s.controlType,s.opt),n.setPointerChecker(e.containsPoint),i.createOrUpdate(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else d(a,e)}))}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"pathToBezierCurves",(function(){return o})),n.d(t,"pathToPolygons",(function(){return l}));var r=n(52),i=n(132).default.CMD;function a(e,t){return Math.abs(e-t)<1e-5}function o(e){var t,n,r,o,s,l=e.data,u=e.len(),c=[],d=0,f=0,h=0,p=0;function m(e,n){t&&t.length>2&&c.push(t),t=[e,n]}function g(e,n,r,i){a(e,r)&&a(n,i)||t.push(e,n,r,i,r,i)}function v(e,n,r,i,a,o){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=nC:M2&&c.push(t),c}function s(e,t,n,i,o,l,u,c,d,f){if(a(e,n)&&a(t,i)&&a(o,u)&&a(l,c))d.push(u,c);else{var h=2/f,p=h*h,m=u-e,g=c-t,v=Math.sqrt(m*m+g*g);m/=v,g/=v;var _=n-e,y=i-t,b=o-u,S=l-c,E=_*_+y*y,w=b*b+S*S;if(E=0&&w-O*O=0)d.push(u,c);else{var C=[],x=[];Object(r.cubicSubdivide)(e,n,o,u,.5,C),Object(r.cubicSubdivide)(t,i,l,c,.5,x),s(C[0],x[0],C[1],x[1],C[2],x[2],C[3],x[3],d,f),s(C[4],x[4],C[5],x[5],C[6],x[6],C[7],x[7],d,f)}}}}function l(e,t){var n=o(e),r=[];t=t||1;for(var i=0;i=0}function y(e,t,n){var r="__mOriginal_"+t,i=e[r]||e[t];e[r]||(e[r]=e[t]);var a=n.replace,o=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=a?a.apply(this,t):i.apply(this,t),o&&o.apply(this,t),e}}function b(e,t){var n="__mOriginal_"+t;e[n]&&(e[t]=e[n],e[n]=null)}function S(e,t){for(var n=0;n0)for(var T=r/n,O=-r/2;O<=r/2;O+=T){var C=Math.sin(O),x=Math.cos(O),k=0;for(E=0;E0;l/=2){var u=0,c=0;(e&l)>0&&(u=1),(t&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(e=l-1-e,t=l-1-t),o=e,e=t,t=o)}return s}function O(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(a.map)(e,(function(e){var a=e.getBoundingRect(),o=e.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),l=a.y+a.height/2+(o?o[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]}));return Object(a.map)(o,(function(a,o){return{cp:a,z:T(a[0],a[1],t,n,r,i),path:e[o]}})).sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function C(e){return Object(u.split)(e.path,e.count)}function x(e,t,n){var r=[];!function e(t){for(var n=0;n=1)return 71===e[0];for(var t=0;t+1880}},function(e,t){var n,r,i,a,o,s,l;n=function(e){return 9e4*e},r=function(e,t){return e*t},i=function(e){return e/9e4},a=function(e,t){return e/t},o=function(e,t){return n(a(e,t))},s=function(e,t){return r(i(e),t)},l=function(e,t,n){return i(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:n,secondsToAudioTs:r,videoTsToSeconds:i,audioTsToSeconds:a,audioTsToVideoTs:o,videoTsToAudioTs:s,metadataTsToSeconds:l}},function(e,t,n){"use strict";n.r(t);var r=n(1419),i=n(1425),a=n(1426),o=n(1427),s=n(1428),l=n(1429),u=n(1430),c=n(1431),d=n(1432),f=n(1433),h=n(1434),p=n(1435),m=n(1436),g=n(625);t.default={string:r.default,method:i.default,number:a.default,boolean:o.default,regexp:s.default,integer:l.default,float:u.default,array:c.default,object:d.default,enum:f.default,pattern:h.default,date:p.default,url:g.default,hex:g.default,email:g.default,required:m.default}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(1438),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(188))},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var i=r({HTML:"text/html",isHTML:function(e){return e===i.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;rc;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(229);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(230),i=n(247);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){var r=n(97),i=n(229),a=n(119)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(119)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(363),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(936);var r=n(190),i=n(189),a=n(89),o=n(247),s=n(119),l=n(652),u=s("species"),c=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$
")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=h?!a((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t})):void 0;if(!h||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[f],g=n(o,f,""[e],(function(e,t,n,r,i){return t.exec===l?h&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=g[0],_=g[1];r(String.prototype,e,v),i(RegExp.prototype,f,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}}},function(e,t,n){var r=n(86).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(86),i=n(23),a=n(190),o=n(337),s=n(301),l=n(336),u=n(335),c=n(97),d=n(89),f=n(503),h=n(362),p=n(638);e.exports=function(e,t,n,m,g,v){var _=r[e],y=_,b=g?"set":"add",S=y&&y.prototype,E={},w=function(e){var t=S[e];a(S,e,"delete"==e||"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(v||S.forEach&&!d((function(){(new y).entries().next()})))){var T=new y,O=T[b](v?{}:-0,1)!=T,C=d((function(){T.has(1)})),x=f((function(e){new y(e)})),k=!v&&d((function(){for(var e=new y,t=5;t--;)e[b](t,t);return!e.has(-0)}));x||((y=t((function(t,n){u(t,y,e);var r=p(new _,t,y);return null!=n&&l(n,g,r[b],r),r}))).prototype=S,S.constructor=y),(C||k)&&(w("delete"),w("has"),g&&w("get")),(k||O)&&w(b),v&&S.clear&&delete S.clear}else y=m.getConstructor(t,e,g,b),o(y.prototype,n),s.NEED=!0;return h(y,e),E[e]=y,i(i.G+i.W+i.F*(y!=_),E),v||m.setStrong(y,e,g),y}},function(e,t,n){for(var r,i=n(86),a=n(189),o=n(329),s=o("typed_array"),l=o("view"),u=!(!i.ArrayBuffer||!i.DataView),c=u,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(e,t,n){"use strict";e.exports=n(300)||!n(89)((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete n(86)[e]}))},function(e,t,n){"use strict";var r=n(23);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(23),i=n(171),a=n(228),o=n(336);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,l=arguments[1];return i(this),(t=void 0!==l)&&i(l),null==e?new this:(n=[],t?(r=0,s=a(l,arguments[2],2),o(e,!1,(function(e){n.push(s(e,r++))}))):o(e,!1,n.push,n),new this(n))}})}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){"use strict";var r=n(79),i=0,a=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},function(e,t,n){"use strict";var r=n(98),i=n(129),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){"use strict";var r=n(368),i=n(513),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},function(e,t,n){"use strict";var r=n(306),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(76),i=n(122),a=/#|\.prototype\./,o=function(e,t){var n=l[s(e)];return n===c||n!==u&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r=n(667),i=n(122),a=n(250),o=n(120)("toStringTag"),s=Object,l="Arguments"===a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),o))?n:l?a(t):"Object"===(r=a(t))&&i(t.callee)?"Arguments":r}},function(e,t,n){"use strict";var r=n(62),i=n(98),a=n(79),o=n(518),s=n(233),l=n(450),u=n(671),c=n(673),d=n(122),f=n(232),h=n(129),p=n(76),m=n(970),g=n(449),v=n(674);e.exports=function(e,t,n){var _=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),b=_?"set":"add",S=i[e],E=S&&S.prototype,w=S,T={},O=function(e){var t=a(E[e]);s(E,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(y&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return y&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(y&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(o(e,!d(S)||!(y||E.forEach&&!p((function(){(new S).entries().next()})))))w=n.getConstructor(t,e,_,b),l.enable();else if(o(e,!0)){var C=new w,x=C[b](y?{}:-0,1)!==C,k=p((function(){C.has(1)})),M=m((function(e){new S(e)})),A=!y&&p((function(){for(var e=new S,t=5;t--;)e[b](t,t);return!e.has(-0)}));M||((w=t((function(e,t){c(e,E);var n=v(new S,e,w);return f(t)||u(t,n[b],{that:n,AS_ENTRIES:_}),n}))).prototype=E,E.constructor=w),(k||A)&&(O("delete"),O("has"),_&&O("get")),(A||x)&&O(b),y&&E.clear&&delete E.clear}return T[e]=w,r({global:!0,constructor:!0,forced:w!==S},T),g(w,e),y||n.setStrong(w,e,_),w}},function(e,t,n){"use strict";var r=n(250),i=n(79);e.exports=function(e){if("Function"===r(e))return i(e)}},function(e,t,n){"use strict";var r=n(79),i=n(76),a=n(122),o=n(519),s=n(278),l=n(958),u=function(){},c=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.test(u),p=function(e){if(!a(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!c||i((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?m:p},function(e,t,n){"use strict";n(92);var r=n(138),i=n(233),a=n(676),o=n(76),s=n(120),l=n(341),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,d){var f=s(e),h=!o((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var m=/./[f],g=t(f,""[e],(function(e,t,n,i,o){var s=t.exec;return s===a||s===c.exec?h&&!o?{done:!0,value:r(m,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(c,f,g[1])}d&&l(c[f],"sham",!0)}},function(e,t,n){"use strict";var r=n(138),i=n(147),a=n(122),o=n(250),s=n(676),l=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var u=r(n,e,t);return null!==u&&i(u),u}if("RegExp"===o(e))return r(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},function(e,t,n){"use strict";var r=n(62),i=n(987).trim;r({target:"String",proto:!0,forced:n(1710)("trim")},{trim:function(){return i(this)}})},function(e,t,n){"use strict";n.r(t);n(15),n(12),n(16),n(91),n(17);var r=n(185);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.viewportSize,r=t.scrollOffset,a=t.totalItems,o=t.itemSizeFn,l=t.overrideFn,u=t.calculationType,c=t.stretchMode,d=t.stretchingItemWidthFn,f=void 0===d?function(e){return e}:d;i(this,e),s.set(this,{viewportWidth:n,scrollOffset:r,totalColumns:a,columnWidthFn:o,overrideFn:l,calculationType:u,stretchingColumnWidthFn:f}),this.count=0,this.startColumn=null,this.endColumn=null,this.startPosition=null,this.stretchAllRatio=0,this.stretchLastWidth=0,this.stretch=c,this.totalTargetWidth=0,this.needVerifyLastColumnWidth=!0,this.stretchAllColumnsWidth=[],this.calculate()}return o(e,null,[{key:"DEFAULT_WIDTH",get:function(){return 50}}]),o(e,[{key:"calculate",value:function(){for(var e,t=0,n=!0,i=[],a=s.get(this),o=a.calculationType,l=a.overrideFn,u=a.scrollOffset,c=a.totalColumns,d=a.viewportWidth,f=0;f0?d+1:d;if(t>=u&&t+(o===r.FULLY_VISIBLE_TYPE?e:0)<=u+h&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=f),this.endColumn=f),i.push(t),t+=e,o!==r.FULLY_VISIBLE_TYPE&&(this.endColumn=f),t>=u+d){n=!1;break}}if(this.endColumn===c-1&&n)for(this.startColumn=this.endColumn;this.startColumn>0;){var p=i[this.endColumn]+e-i[this.startColumn-1];if((p<=d||o!==r.FULLY_VISIBLE_TYPE)&&(this.startColumn-=1),p>d)break}o===r.RENDER_TYPE&&null!==this.startColumn&&l&&l(this),this.startPosition=i[this.startColumn],void 0===this.startPosition&&(this.startPosition=null),c0)this.stretchAllRatio=t/i,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===this.stretch&&t!==1/0){var c=this._getColumnWidth(r-1),d=u+c;this.stretchLastWidth=d>=0?d:c}}}},{key:"getStretchedColumnWidth",value:function(e,t){var n=null;return"all"===this.stretch&&0!==this.stretchAllRatio?n=this._getStretchedAllColumnWidth(e,t):"last"===this.stretch&&0!==this.stretchLastWidth&&(n=this._getStretchedLastColumnWidth(e)),n}},{key:"_getStretchedAllColumnWidth",value:function(e,t){var n=0,r=s.get(this),i=r.totalColumns;if(!this.stretchAllColumnsWidth[e]){var a=Math.round(t*this.stretchAllRatio),o=r.stretchingColumnWidthFn(a,e);this.stretchAllColumnsWidth[e]=void 0===o?a:isNaN(o)?this._getColumnWidth(e):o}if(this.stretchAllColumnsWidth.length===i&&this.needVerifyLastColumnWidth){this.needVerifyLastColumnWidth=!1;for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:{},n=t.viewportSize,r=t.scrollOffset,a=t.totalItems,o=t.itemSizeFn,l=t.overrideFn,u=t.calculationType,c=t.scrollbarHeight;i(this,e),s.set(this,{viewportHeight:n,scrollOffset:r,totalRows:a,rowHeightFn:o,overrideFn:l,calculationType:u,horizontalScrollbarHeight:c}),this.count=0,this.startRow=null,this.endRow=null,this.startPosition=null,this.calculate()}return o(e,null,[{key:"DEFAULT_HEIGHT",get:function(){return 23}}]),o(e,[{key:"calculate",value:function(){for(var t,n=0,i=!0,a=[],o=s.get(this),l=o.calculationType,u=o.overrideFn,c=o.rowHeightFn,d=o.scrollOffset,f=o.totalRows,h=o.viewportHeight,p=o.horizontalScrollbarHeight||0,m=0;m=d&&n+(l===r.FULLY_VISIBLE_TYPE?t:0)<=d+h-p&&(null===this.startRow&&(this.startRow=m),this.endRow=m),a.push(n),n+=t,l!==r.FULLY_VISIBLE_TYPE&&(this.endRow=m),n>=d+h-p){i=!1;break}if(this.endRow===f-1&&i)for(this.startRow=this.endRow;this.startRow>0;){var g=a[this.endRow]+t-a[this.startRow-1];if((g<=h-p||l!==r.FULLY_VISIBLE_TYPE)&&(this.startRow-=1),g>=h-p)break}l===r.RENDER_TYPE&&null!==this.startRow&&u&&u(this),this.startPosition=a[this.startRow],void 0===this.startPosition&&(this.startPosition=null),f1?arguments[1]:void 0)}}),a("find")},function(e,t,n){"use strict";var r=n(62),i=n(280).map;r({target:"Array",proto:!0,forced:!n(454)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r,i=n(62),a=n(521),o=n(277).f,s=n(342),l=n(139),u=n(679),c=n(172),d=n(680),f=n(305),h=a("".slice),p=Math.min,m=d("startsWith");i({target:"String",proto:!0,forced:!!(f||m||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!m},{startsWith:function(e){var t=l(c(this));u(e);var n=s(p(arguments.length>1?arguments[1]:void 0,t.length)),r=l(e);return h(t,n,n+r.length)===r}})},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(160),a=(r=i)&&r.__esModule?r:{default:r},o=n(1059);var s=a.default.prototype.$isServer?function(){}:n(1753),l=function(e){return e.stopPropagation()};t.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(e){this.showPopper=e,this.$emit("input",e)}},showPopper:function(e){this.disabled||(e?this.updatePopper():this.destroyPopper(),this.$emit("input",e))}},methods:{createPopper:function(){var e=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var t=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,r=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!r&&this.$slots.reference&&this.$slots.reference[0]&&(r=this.referenceElm=this.$slots.reference[0].elm),n&&r&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),t.placement=this.currentPlacement,t.offset=this.offset,t.arrowOffset=this.arrowOffset,this.popperJS=new s(r,n,t),this.popperJS.onCreate((function(t){e.$emit("created",e),e.resetTransformOrigin(),e.$nextTick(e.updatePopper)})),"function"==typeof t.onUpdate&&this.popperJS.onUpdate(t.onUpdate),this.popperJS._popper.style.zIndex=o.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=o.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(e){!this.popperJS||this.showPopper&&!e||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var e=this.popperJS._popper.getAttribute("x-placement").split("-")[0],t={top:"bottom",bottom:"top",left:"right",right:"left"}[e];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(e)>-1?"center "+t:t+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var r=document.createElement("div");t&&r.setAttribute(t,""),r.setAttribute("x-arrow",""),r.className="popper__arrow",e.appendChild(r)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;i(this,e),this.highlight=t,this.from=n,this.to=r}var t,n,o;return t=e,(n=[{key:"setHighlight",value:function(e){return this.highlight=e,this}},{key:"setFrom",value:function(e){return this.from=e,this}},{key:"setTo",value:function(e){return this.to=e,this}},{key:"isValid",value:function(e){return this.from.isValid(e)&&this.to.isValid(e)}},{key:"isSingle",value:function(){return this.from.row===this.to.row&&this.from.col===this.to.col}},{key:"getHeight",value:function(){return Math.max(this.from.row,this.to.row)-Math.min(this.from.row,this.to.row)+1}},{key:"getWidth",value:function(){return Math.max(this.from.col,this.to.col)-Math.min(this.from.col,this.to.col)+1}},{key:"includes",value:function(e){var t=e.row,n=e.col,r=this.getTopLeftCorner(),i=this.getBottomRightCorner();return r.row<=t&&i.row>=t&&r.col<=n&&i.col>=n}},{key:"includesRange",value:function(e){return this.includes(e.getTopLeftCorner())&&this.includes(e.getBottomRightCorner())}},{key:"isEqual",value:function(e){return Math.min(this.from.row,this.to.row)===Math.min(e.from.row,e.to.row)&&Math.max(this.from.row,this.to.row)===Math.max(e.from.row,e.to.row)&&Math.min(this.from.col,this.to.col)===Math.min(e.from.col,e.to.col)&&Math.max(this.from.col,this.to.col)===Math.max(e.from.col,e.to.col)}},{key:"overlaps",value:function(e){return e.isSouthEastOf(this.getTopLeftCorner())&&e.isNorthWestOf(this.getBottomRightCorner())}},{key:"isSouthEastOf",value:function(e){return this.getTopLeftCorner().isSouthEastOf(e)||this.getBottomRightCorner().isSouthEastOf(e)}},{key:"isNorthWestOf",value:function(e){return this.getTopLeftCorner().isNorthWestOf(e)||this.getBottomRightCorner().isNorthWestOf(e)}},{key:"isOverlappingHorizontally",value:function(e){return this.getTopRightCorner().col>=e.getTopLeftCorner().col&&this.getTopRightCorner().col<=e.getTopRightCorner().col||this.getTopLeftCorner().col<=e.getTopRightCorner().col&&this.getTopLeftCorner().col>=e.getTopLeftCorner().col}},{key:"isOverlappingVertically",value:function(e){return this.getBottomRightCorner().row>=e.getTopRightCorner().row&&this.getBottomRightCorner().row<=e.getBottomRightCorner().row||this.getTopRightCorner().row<=e.getBottomRightCorner().row&&this.getTopRightCorner().row>=e.getTopRightCorner().row}},{key:"expand",value:function(e){var t=this.getTopLeftCorner(),n=this.getBottomRightCorner();return(e.rown.row||e.col>n.col)&&(this.from=new r.default(Math.min(t.row,e.row),Math.min(t.col,e.col)),this.to=new r.default(Math.max(n.row,e.row),Math.max(n.col,e.col)),!0)}},{key:"expandByRange",value:function(e){if(this.includesRange(e)||!this.overlaps(e))return!1;var t=this.getTopLeftCorner(),n=this.getBottomRightCorner(),i=this.getDirection(),a=e.getTopLeftCorner(),o=e.getBottomRightCorner(),s=Math.min(t.row,a.row),l=Math.min(t.col,a.col),u=Math.max(n.row,o.row),c=Math.max(n.col,o.col),d=new r.default(s,l),f=new r.default(u,c);return this.from=d,this.to=f,this.setDirection(i),this.highlight.row===this.getBottomRightCorner().row&&"N-S"===this.getVerticalDirection()&&this.flipDirectionVertically(),this.highlight.col===this.getTopRightCorner().col&&"W-E"===this.getHorizontalDirection()&&this.flipDirectionHorizontally(),!0}},{key:"getDirection",value:function(){return this.from.isNorthWestOf(this.to)?"NW-SE":this.from.isNorthEastOf(this.to)?"NE-SW":this.from.isSouthEastOf(this.to)?"SE-NW":this.from.isSouthWestOf(this.to)?"SW-NE":void 0}},{key:"setDirection",value:function(e){switch(e){case"NW-SE":var t=[this.getTopLeftCorner(),this.getBottomRightCorner()];this.from=t[0],this.to=t[1];break;case"NE-SW":var n=[this.getTopRightCorner(),this.getBottomLeftCorner()];this.from=n[0],this.to=n[1];break;case"SE-NW":var r=[this.getBottomRightCorner(),this.getTopLeftCorner()];this.from=r[0],this.to=r[1];break;case"SW-NE":var i=[this.getBottomLeftCorner(),this.getTopRightCorner()];this.from=i[0],this.to=i[1]}}},{key:"getVerticalDirection",value:function(){return["NE-SW","NW-SE"].indexOf(this.getDirection())>-1?"N-S":"S-N"}},{key:"getHorizontalDirection",value:function(){return["NW-SE","SW-NE"].indexOf(this.getDirection())>-1?"W-E":"E-W"}},{key:"flipDirectionVertically",value:function(){switch(this.getDirection()){case"NW-SE":this.setDirection("SW-NE");break;case"NE-SW":this.setDirection("SE-NW");break;case"SE-NW":this.setDirection("NE-SW");break;case"SW-NE":this.setDirection("NW-SE")}}},{key:"flipDirectionHorizontally",value:function(){switch(this.getDirection()){case"NW-SE":this.setDirection("NE-SW");break;case"NE-SW":this.setDirection("NW-SE");break;case"SE-NW":this.setDirection("SW-NE");break;case"SW-NE":this.setDirection("SE-NW")}}},{key:"getTopLeftCorner",value:function(){return new r.default(Math.min(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}},{key:"getBottomRightCorner",value:function(){return new r.default(Math.max(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}},{key:"getTopRightCorner",value:function(){return new r.default(Math.min(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}},{key:"getBottomLeftCorner",value:function(){return new r.default(Math.max(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}},{key:"isCorner",value:function(e,t){return!!(t&&t.includes(e)&&(this.getTopLeftCorner().isEqual(new r.default(t.from.row,t.from.col))||this.getTopRightCorner().isEqual(new r.default(t.from.row,t.to.col))||this.getBottomLeftCorner().isEqual(new r.default(t.to.row,t.from.col))||this.getBottomRightCorner().isEqual(new r.default(t.to.row,t.to.col))))||e.isEqual(this.getTopLeftCorner())||e.isEqual(this.getTopRightCorner())||e.isEqual(this.getBottomLeftCorner())||e.isEqual(this.getBottomRightCorner())}},{key:"getOppositeCorner",value:function(e,t){if(!(e instanceof r.default))return!1;if(t&&t.includes(e)){if(this.getTopLeftCorner().isEqual(new r.default(t.from.row,t.from.col)))return this.getBottomRightCorner();if(this.getTopRightCorner().isEqual(new r.default(t.from.row,t.to.col)))return this.getBottomLeftCorner();if(this.getBottomLeftCorner().isEqual(new r.default(t.to.row,t.from.col)))return this.getTopRightCorner();if(this.getBottomRightCorner().isEqual(new r.default(t.to.row,t.to.col)))return this.getTopLeftCorner()}return e.isEqual(this.getBottomRightCorner())?this.getTopLeftCorner():e.isEqual(this.getTopLeftCorner())?this.getBottomRightCorner():e.isEqual(this.getTopRightCorner())?this.getBottomLeftCorner():e.isEqual(this.getBottomLeftCorner())?this.getTopRightCorner():void 0}},{key:"getBordersSharedWith",value:function(e){if(!this.includesRange(e))return[];var t=Math.min(this.from.row,this.to.row),n=Math.max(this.from.row,this.to.row),r=Math.min(this.from.col,this.to.col),i=Math.max(this.from.col,this.to.col),a=Math.min(e.from.row,e.to.row),o=Math.max(e.from.row,e.to.row),s=Math.min(e.from.col,e.to.col),l=Math.max(e.from.col,e.to.col),u=[];return t===a&&u.push("top"),i===l&&u.push("right"),n===o&&u.push("bottom"),r===s&&u.push("left"),u}},{key:"getInner",value:function(){for(var e=this.getTopLeftCorner(),t=this.getBottomRightCorner(),n=[],i=e.row;i<=t.row;i++)for(var a=e.col;a<=t.col;a++)this.from.row===i&&this.from.col===a||this.to.row===i&&this.to.col===a||n.push(new r.default(i,a));return n}},{key:"getAll",value:function(){for(var e=this.getTopLeftCorner(),t=this.getBottomRightCorner(),n=[],i=e.row;i<=t.row;i++)for(var a=e.col;a<=t.col;a++)e.row===i&&e.col===a?n.push(e):t.row===i&&t.col===a?n.push(t):n.push(new r.default(i,a));return n}},{key:"forAll",value:function(e){for(var t=this.getTopLeftCorner(),n=this.getBottomRightCorner(),r=t.row;r<=n.row;r++)for(var i=t.col;i<=n.col;i++)if(!1===e(r,i))return}},{key:"toObject",value:function(){return{from:this.from.toObject(),to:this.to.toObject()}}}])&&a(t.prototype,n),o&&a(t,o),e}();t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n0,this.hasTableWidth=c>0}this.isTableVisible=Object(r.isVisible)(this.TABLE)}},{key:"markOversizedColumnHeaders",value:function(){var e=this.wot,t=e.getOverlayName(),n=e.getSetting("columnHeaders").length;if(n&&!e.wtViewport.hasOversizedColumnHeadersMarked[t]){for(var r=e.getSetting("rowHeaders").length,i=this.getRenderedColumnsCount(),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=t.TABLE,c=t.THEAD,d=t.COLGROUP,f=t.TBODY,h=t.rowUtils,p=t.columnUtils,m=t.cellRenderer;u(this,e),this.renderer=new l.default(n,{cellRenderer:m}),this.renderer.setRenderers({rowHeaders:new r.default,columnHeaders:new i.default(c),colGroup:new a.default(d),rows:new o.default(f),cells:new s.default}),this.renderer.setAxisUtils(h,p)}var t,n,d;return t=e,(n=[{key:"setFilters",value:function(e,t){return this.renderer.setFilters(e,t),this}},{key:"setViewportSize",value:function(e,t){return this.renderer.setViewportSize(e,t),this}},{key:"setHeaderContentRenderers",value:function(e,t){return this.renderer.setHeaderContentRenderers(e,t),this}},{key:"adjust",value:function(){this.renderer.adjust()}},{key:"render",value:function(){this.renderer.render()}}])&&c(t.prototype,n),d&&c(t,d),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(245),i=n(1312);function a(e,t){for(var n=0;n0?this.collectedNodes[e-1]:null}},{key:"getRenderedChildCount",value:function(){var e=this.rootNode,t=this.sizeSet,n=0;if(this.isSharedViewSet())for(var i=e.firstElementChild;i;){if(i.tagName===this.childNodeType)n+=1;else if(t.isPlaceOn(r.WORKING_SPACE_TOP))break;i=i.nextElementSibling}else n=e.childElementCount;return n}},{key:"start",value:function(){this.collectedNodes.length=0,this.visualIndex=0;for(var e=this.rootNode,t=this.sizeSet,n=this.isSharedViewSet(),i=t.getViewSize().nextSize,a=this.getRenderedChildCount();ai;)e.removeChild(s?e.firstChild:e.lastChild),a-=1}},{key:"render",value:function(){var e=this.rootNode,t=this.sizeSet,n=this.visualIndex;this.isSharedViewSet()&&t.isPlaceOn(r.WORKING_SPACE_BOTTOM)&&(n+=t.sharedSize.nextSize);var i=e.childNodes[n];if(i.tagName!==this.childNodeType){var a=this.nodesPool();e.replaceChild(a,i),i=a}this.collectedNodes.push(i),this.visualIndex+=1}},{key:"end",value:function(){}}])&&a(t.prototype,n),o&&a(t,o),e}()},function(e,t,n){"use strict";n.r(t);n(372),n(373),n(130);var r=n(1),i=n(2),a=n(41),o=n(110),s=n(49),l=n(61);function u(e,t){for(var n=0;n1,u=this.scrollableElement===r,c=this.wot.wtSettings.getSetting("preventWheel"),d={passive:u};(c||l||!Object(o.isChrome)())&&this.eventManager.addEventListener(this.wot.wtTable.wtRootElement,"wheel",(function(t){return e.onCloneWheel(t,c)}),d),[this.topOverlay,this.bottomOverlay,this.leftOverlay,this.topLeftCornerOverlay,this.bottomLeftCornerOverlay].forEach((function(t){if(t&&t.needFullRender){var n=t.clone.wtTable.holder;e.eventManager.addEventListener(n,"wheel",(function(t){return e.onCloneWheel(t,c)}),d)}})),this.eventManager.addEventListener(r,"resize",(function(){clearTimeout(s),s=setTimeout((function(){e.wot.getSetting("onWindowResize")}),200)}))}},{key:"deregisterListeners",value:function(){this.eventManager.clearEvents(!0)}},{key:"onTableScroll",value:function(e){var t=this.wot.rootWindow,n=this.leftOverlay.mainTableScrollableElement,r=this.topOverlay.mainTableScrollableElement,i=e.target;this.keyPressed&&(r!==t&&i!==t&&!e.target.contains(r)||n!==t&&i!==t&&!e.target.contains(n))||this.syncScrollPositions(e)}},{key:"onCloneWheel",value:function(e,t){var n=this.wot.rootWindow,r=this.leftOverlay.mainTableScrollableElement,i=this.topOverlay.mainTableScrollableElement,a=e.target,o=i!==n&&a!==n&&!a.contains(i),s=r!==n&&a!==n&&!a.contains(r);if(!this.keyPressed||!o&&!s){var l=this.translateMouseWheelToScroll(e);(t||this.scrollableElement!==n&&l)&&e.preventDefault()}}},{key:"onKeyDown",value:function(e){this.keyPressed=Object(a.isKey)(e.keyCode,"ARROW_UP|ARROW_RIGHT|ARROW_DOWN|ARROW_LEFT")}},{key:"onKeyUp",value:function(){this.keyPressed=!1}},{key:"translateMouseWheelToScroll",value:function(e){var t=this.browserLineHeight,n=isNaN(e.deltaY)?-1*e.wheelDeltaY:e.deltaY,r=isNaN(e.deltaX)?-1*e.wheelDeltaX:e.deltaX;1===e.deltaMode&&(r+=r*t,n+=n*t);var i=this.scrollVertically(n),a=this.scrollHorizontally(r);return i||a}},{key:"scrollVertically",value:function(e){var t=this.scrollableElement.scrollTop;return this.scrollableElement.scrollTop+=e,t!==this.scrollableElement.scrollTop}},{key:"scrollHorizontally",value:function(e){var t=this.scrollableElement.scrollLeft;return this.scrollableElement.scrollLeft+=e,t!==this.scrollableElement.scrollLeft}},{key:"syncScrollPositions",value:function(){if(!this.destroyed){var e=this.wot.rootWindow,t=this.topOverlay.clone.wtTable.holder,n=this.leftOverlay.clone.wtTable.holder,r=[this.scrollableElement.scrollLeft,this.scrollableElement.scrollTop],i=r[0],a=r[1];if(this.horizontalScrolling=t.scrollLeft!==i||this.lastScrollX!==e.scrollX,this.verticalScrolling=n.scrollTop!==a||this.lastScrollY!==e.scrollY,this.lastScrollX=e.scrollX,this.lastScrollY=e.scrollY,this.horizontalScrolling){t.scrollLeft=i;var o=this.bottomOverlay.needFullRender?this.bottomOverlay.clone.wtTable.holder:null;o&&(o.scrollLeft=i)}this.verticalScrolling&&(n.scrollTop=a),this.refreshAll()}}},{key:"syncScrollWithMaster",value:function(){var e=this.topOverlay.mainTableScrollableElement,t=e.scrollLeft,n=e.scrollTop;this.topOverlay.needFullRender&&(this.topOverlay.clone.wtTable.holder.scrollLeft=t),this.bottomOverlay.needFullRender&&(this.bottomOverlay.clone.wtTable.holder.scrollLeft=t),this.leftOverlay.needFullRender&&(this.leftOverlay.clone.wtTable.holder.scrollTop=n)}},{key:"updateMainScrollableElements",value:function(){this.deregisterListeners(),this.leftOverlay.updateMainScrollableElement(),this.topOverlay.updateMainScrollableElement(),this.bottomOverlay.needFullRender&&this.bottomOverlay.updateMainScrollableElement();var e=this.wot,t=e.rootWindow,n=e.wtTable;"hidden"===t.getComputedStyle(n.wtRootElement.parentNode).getPropertyValue("overflow")?this.scrollableElement=n.holder:this.scrollableElement=Object(r.getScrollableElement)(n.TABLE),this.registerListeners()}},{key:"destroy",value:function(){this.eventManager.destroy(),this.topOverlay.destroy(),this.bottomOverlay.clone&&this.bottomOverlay.destroy(),this.leftOverlay.destroy(),this.topLeftCornerOverlay&&this.topLeftCornerOverlay.destroy(),this.bottomLeftCornerOverlay&&this.bottomLeftCornerOverlay.clone&&this.bottomLeftCornerOverlay.destroy(),this.debug&&this.debug.destroy(),this.destroyed=!0}},{key:"refresh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.topOverlay.areElementSizesAdjusted&&this.leftOverlay.areElementSizesAdjusted){var t=this.wot.wtTable.wtRootElement.parentNode||this.wot.wtTable.wtRootElement,n=t.clientWidth,r=t.clientHeight;n===this.spreaderLastSize.width&&r===this.spreaderLastSize.height||(this.spreaderLastSize.width=n,this.spreaderLastSize.height=r,this.adjustElementsSize())}this.bottomOverlay.clone&&this.bottomOverlay.refresh(e),this.leftOverlay.refresh(e),this.topOverlay.refresh(e),this.topLeftCornerOverlay&&this.topLeftCornerOverlay.refresh(e),this.bottomLeftCornerOverlay&&this.bottomLeftCornerOverlay.clone&&this.bottomLeftCornerOverlay.refresh(e),this.debug&&this.debug.refresh(e)}},{key:"adjustElementsSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.wot,n=t.wtViewport,r=t.wtTable,i=this.wot.getSetting("totalColumns"),a=this.wot.getSetting("totalRows"),o=n.getRowHeaderWidth(),s=n.getColumnHeaderHeight(),l=r.hider.style;if(l.width="".concat(o+this.leftOverlay.sumCellSizes(0,i),"px"),l.height="".concat(s+this.topOverlay.sumCellSizes(0,a)+1,"px"),this.scrollbarSize>0){var u=r.wtRootElement,c=u.scrollHeight,d=u.scrollWidth,f=r.holder,h=f.scrollHeight,p=f.scrollWidth;this.hasScrollbarRight=cd?this.hasScrollbarBottom=!0:this.hasScrollbarBottom&&r.hider.scrollHeight+this.scrollbarSize>c&&(this.hasScrollbarRight=!0)}this.topOverlay.adjustElementsSize(e),this.leftOverlay.adjustElementsSize(e),this.bottomOverlay.adjustElementsSize(e)}},{key:"applyToDOM",value:function(){this.wot.wtTable.isVisible()&&(this.topOverlay.areElementSizesAdjusted&&this.leftOverlay.areElementSizesAdjusted||this.adjustElementsSize(),this.topOverlay.applyToDOM(),this.bottomOverlay.clone&&this.bottomOverlay.applyToDOM(),this.leftOverlay.applyToDOM())}},{key:"getParentOverlay",value:function(e){if(!e)return null;var t=[this.topOverlay,this.leftOverlay,this.bottomOverlay,this.topLeftCornerOverlay,this.bottomLeftCornerOverlay],n=null;return Object(i.arrayEach)(t,(function(t){t&&t.clone&&t.clone.wtTable.TABLE.contains(e)&&(n=t.clone)})),n}}])&&u(t.prototype,n),c&&u(t,c),e}();t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(3);function a(e,t){for(var n=0;n0&&t.clientHeight>0?t.clientHeight:1/0}},{key:"getWorkspaceWidth",value:function(){var e,t,n=this.wot,i=n.rootDocument,a=n.rootWindow,o=this.instance.wtOverlays.leftOverlay.trimmingContainer,s=i.documentElement.offsetWidth,l=n.getSetting("totalColumns");if(n.getSetting("preventOverflow"))return Object(r.outerWidth)(this.instance.wtTable.wtRootElement);if(e=n.getSetting("freezeOverlays")?Math.min(s-this.getWorkspaceOffset().left,s):Math.min(this.getContainerFillWidth(),s-this.getWorkspaceOffset().left,s),o===a&&l>0&&this.sumColumnWidths(0,l-1)>e)return i.documentElement.clientWidth;if(o!==a&&("scroll"===(t=Object(r.getStyle)(this.instance.wtOverlays.leftOverlay.trimmingContainer,"overflow",a))||"hidden"===t||"auto"===t))return Math.max(e,o.clientWidth);var u=n.getSetting("stretchH");return"none"!==u&&u?e:Math.max(e,Object(r.outerWidth)(this.instance.wtTable.TABLE))}},{key:"hasVerticalScroll",value:function(){return this.getWorkspaceActualHeight()>this.getWorkspaceHeight()}},{key:"hasHorizontalScroll",value:function(){return this.getWorkspaceActualWidth()>this.getWorkspaceWidth()}},{key:"sumColumnWidths",value:function(e,t){for(var n=this.wot.wtTable,r=0,i=e;i0&&(e-=t),e}},{key:"getRowHeaderWidth",value:function(){var e=this.instance.getSetting("rowHeaderWidth"),t=this.instance.getSetting("rowHeaders");if(e){this.rowHeaderWidth=0;for(var n=0,i=t.length;n0?e-t:e}},{key:"createRowsCalculator",value:function(){var e,t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.RENDER_TYPE,a=this.wot,s=a.wtSettings,l=a.wtOverlays,u=a.wtTable,c=a.rootDocument;this.rowHeaderWidth=NaN,e=s.settings.renderAllRows&&i===o.RENDER_TYPE?1/0:this.getViewportHeight();var d=l.topOverlay.getScrollPosition()-l.topOverlay.getTableParentOffset();d<0&&(d=0);var f=a.getSetting("fixedRowsTop"),h=a.getSetting("fixedRowsBottom"),p=a.getSetting("totalRows");return f&&(d+=n=l.topOverlay.sumCellSizes(0,f),e-=n),h&&l.bottomOverlay.clone&&(e-=n=l.bottomOverlay.sumCellSizes(p-h,p)),t=u.holder.clientHeight===u.holder.offsetHeight?0:Object(r.getScrollbarWidth)(c),new o.ViewportRowsCalculator({viewportSize:e,scrollOffset:d,totalItems:a.getSetting("totalRows"),itemSizeFn:function(e){return u.getRowHeight(e)},overrideFn:s.settings.viewportRowCalculatorOverride,calculationType:i,scrollbarHeight:t})}},{key:"createColumnsCalculator",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.RENDER_TYPE,t=this.wot,n=t.wtSettings,i=t.wtOverlays,a=t.wtTable,s=t.rootDocument,l=this.getViewportWidth(),u=i.leftOverlay.getScrollPosition()-i.leftOverlay.getTableParentOffset();this.columnHeaderHeight=NaN,u<0&&(u=0);var c=t.getSetting("fixedColumnsLeft");if(c){var d=i.leftOverlay.sumCellSizes(0,c);u+=d,l-=d}return a.holder.clientWidth!==a.holder.offsetWidth&&(l-=Object(r.getScrollbarWidth)(s)),new o.ViewportColumnsCalculator({viewportSize:l,scrollOffset:u,totalItems:t.getSetting("totalColumns"),itemSizeFn:function(e){return t.wtTable.getColumnWidth(e)},overrideFn:n.settings.viewportColumnCalculatorOverride,calculationType:e,stretchMode:t.getSetting("stretchH"),stretchingItemWidthFn:function(e,n){return t.getSetting("onBeforeStretchingColumnWidth",e,n)}})}},{key:"createRenderCalculators",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e;if(t){var n=this.createRowsCalculator(o.FULLY_VISIBLE_TYPE),r=this.createColumnsCalculator(o.FULLY_VISIBLE_TYPE);this.areAllProposedVisibleRowsAlreadyRendered(n)&&this.areAllProposedVisibleColumnsAlreadyRendered(r)||(t=!1)}return t||(this.rowsRenderCalculator=this.createRowsCalculator(o.RENDER_TYPE),this.columnsRenderCalculator=this.createColumnsCalculator(o.RENDER_TYPE)),this.rowsVisibleCalculator=null,this.columnsVisibleCalculator=null,t}},{key:"createVisibleCalculators",value:function(){this.rowsVisibleCalculator=this.createRowsCalculator(o.FULLY_VISIBLE_TYPE),this.columnsVisibleCalculator=this.createColumnsCalculator(o.FULLY_VISIBLE_TYPE)}},{key:"areAllProposedVisibleRowsAlreadyRendered",value:function(e){if(!this.rowsVisibleCalculator)return!1;var t=e.startRow,n=e.endRow,r=this.rowsRenderCalculator,i=r.startRow,a=r.endRow;return!(t0||n>a||n===a&&n0||n>a||n===a&&nMath.ceil(a.top+a.height)||o.clientXMath.ceil(a.left+a.width))&&(n.eventManager.removeEventListener(r,"mousemove",e),t.style.display="block")}))}}},{key:"createBorders",value:function(e){var t=this.wot.rootDocument;this.main=t.createElement("div");var n=["top","left","bottom","right","corner"],r=this.main.style;r.position="absolute",r.top=0,r.left=0;for(var i=0;i<5;i++){var a=n[i],s=t.createElement("div");s.className="wtBorder ".concat(this.settings.className||""),this.settings[a]&&this.settings[a].hide&&(s.className+=" hidden"),(r=s.style).backgroundColor=this.settings[a]&&this.settings[a].color?this.settings[a].color:e.border.color,r.height=this.settings[a]&&this.settings[a].width?"".concat(this.settings[a].width,"px"):"".concat(e.border.width,"px"),r.width=this.settings[a]&&this.settings[a].width?"".concat(this.settings[a].width,"px"):"".concat(e.border.width,"px"),this.main.appendChild(s)}this.top=this.main.childNodes[0],this.left=this.main.childNodes[1],this.bottom=this.main.childNodes[2],this.right=this.main.childNodes[3],this.topStyle=this.top.style,this.leftStyle=this.left.style,this.bottomStyle=this.bottom.style,this.rightStyle=this.right.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.height=this.cornerDefaultStyle.height,this.cornerStyle.border=[this.cornerDefaultStyle.borderWidth,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),Object(o.isMobileBrowser)()&&this.createMultipleSelectorHandles(),this.disappear();var l=this.wot.wtTable,u=l.bordersHolder;u||((u=t.createElement("div")).className="htBorders",l.bordersHolder=u,l.spreader.appendChild(u)),u.appendChild(this.main)}},{key:"createMultipleSelectorHandles",value:function(){var e=this,t=this.wot.rootDocument;this.selectionHandles={topLeft:t.createElement("DIV"),topLeftHitArea:t.createElement("DIV"),bottomRight:t.createElement("DIV"),bottomRightHitArea:t.createElement("DIV")},this.selectionHandles.topLeft.className="topLeftSelectionHandle",this.selectionHandles.topLeftHitArea.className="topLeftSelectionHandle-HitArea",this.selectionHandles.bottomRight.className="bottomRightSelectionHandle",this.selectionHandles.bottomRightHitArea.className="bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={topLeft:this.selectionHandles.topLeft.style,topLeftHitArea:this.selectionHandles.topLeftHitArea.style,bottomRight:this.selectionHandles.bottomRight.style,bottomRightHitArea:this.selectionHandles.bottomRightHitArea.style};var n={position:"absolute",height:"".concat(40,"px"),width:"".concat(40,"px"),"border-radius":"".concat(parseInt(40/1.5,10),"px")};Object(a.objectEach)(n,(function(t,n){e.selectionHandles.styles.bottomRightHitArea[n]=t,e.selectionHandles.styles.topLeftHitArea[n]=t}));var r={position:"absolute",height:"".concat(10,"px"),width:"".concat(10,"px"),"border-radius":"".concat(parseInt(10/1.5,10),"px"),background:"#F5F5FF",border:"1px solid #4285c8"};Object(a.objectEach)(r,(function(t,n){e.selectionHandles.styles.bottomRight[n]=t,e.selectionHandles.styles.topLeft[n]=t})),this.main.appendChild(this.selectionHandles.topLeft),this.main.appendChild(this.selectionHandles.bottomRight),this.main.appendChild(this.selectionHandles.topLeftHitArea),this.main.appendChild(this.selectionHandles.bottomRightHitArea)}},{key:"isPartRange",value:function(e,t){var n=this.wot.selections.createOrGetArea();return!(!n.cellRange||e===n.cellRange.to.row&&t===n.cellRange.to.col)}},{key:"updateMultipleSelectionHandlesPosition",value:function(e,t,n,r,i,a){var o=parseInt(this.selectionHandles.styles.topLeft.width,10),s=parseInt(this.selectionHandles.styles.topLeftHitArea.width,10);this.selectionHandles.styles.topLeft.top="".concat(parseInt(n-o,10),"px"),this.selectionHandles.styles.topLeft.left="".concat(parseInt(r-o,10),"px"),this.selectionHandles.styles.topLeftHitArea.top="".concat(parseInt(n-s/4*3,10),"px"),this.selectionHandles.styles.topLeftHitArea.left="".concat(parseInt(r-s/4*3,10),"px"),this.selectionHandles.styles.bottomRight.top="".concat(parseInt(n+a,10),"px"),this.selectionHandles.styles.bottomRight.left="".concat(parseInt(r+i,10),"px"),this.selectionHandles.styles.bottomRightHitArea.top="".concat(parseInt(n+a-s/4,10),"px"),this.selectionHandles.styles.bottomRightHitArea.left="".concat(parseInt(r+i-s/4,10),"px"),this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(this.selectionHandles.styles.topLeft.display="block",this.selectionHandles.styles.topLeftHitArea.display="block",this.isPartRange(e,t)?(this.selectionHandles.styles.bottomRight.display="none",this.selectionHandles.styles.bottomRightHitArea.display="none"):(this.selectionHandles.styles.bottomRight.display="block",this.selectionHandles.styles.bottomRightHitArea.display="block")):(this.selectionHandles.styles.topLeft.display="none",this.selectionHandles.styles.bottomRight.display="none",this.selectionHandles.styles.topLeftHitArea.display="none",this.selectionHandles.styles.bottomRightHitArea.display="none"),e===this.wot.wtSettings.getSetting("fixedRowsTop")||t===this.wot.wtSettings.getSetting("fixedColumnsLeft")?(this.selectionHandles.styles.topLeft.zIndex="9999",this.selectionHandles.styles.topLeftHitArea.zIndex="9999"):(this.selectionHandles.styles.topLeft.zIndex="",this.selectionHandles.styles.topLeftHitArea.zIndex="")}},{key:"appear",value:function(e){if(!this.disabled){for(var t,n,i,a,s=this.wot,c=s.wtTable,d=s.rootDocument,f=s.rootWindow,h=c.getRenderedRowsCount(),p=0;p=e[0]&&m<=e[2]){t=m;break}}for(var g=h-1;g>=0;g-=1){var v=c.rowFilter.renderedToSource(g);if(v>=e[0]&&v<=e[2]){n=v;break}}for(var _=c.getRenderedColumnsCount(),y=0;y<_;y+=1){var b=c.columnFilter.renderedToSource(y);if(b>=e[1]&&b<=e[3]){i=b;break}}for(var S=_-1;S>=0;S-=1){var E=c.columnFilter.renderedToSource(S);if(E>=e[1]&&E<=e[3]){a=E;break}}if(void 0!==t&&void 0!==i){var w=c.getCell(new l.default(t,i)),T=t!==n||i!==a,O=T?c.getCell(new l.default(n,a)):w,C=Object(r.offset)(w),x=T?Object(r.offset)(O):C,k=Object(r.offset)(c.TABLE),M=C.top,A=C.left,R=A-k.left-1,I=x.left+Object(r.outerWidth)(O)-A;if(this.isEntireColumnSelected(t,n)){var D=this.getDimensionsFromHeader("columns",i,a,k),N=null;if(D){var L=u(D,3);N=L[0],R=L[1],I=L[2]}N&&(w=N)}var P=M-k.top-1,j=x.top+Object(r.outerHeight)(O)-M;if(this.isEntireRowSelected(i,a)){var F=this.getDimensionsFromHeader("rows",t,n,k),B=null;if(F){var H=u(F,3);B=H[0],P=H[1],j=H[2]}B&&(w=B)}var U=Object(r.getComputedStyle)(w,f);parseInt(U.borderTopWidth,10)>0&&(P+=1,j=j>0?j-1:0),parseInt(U.borderLeftWidth,10)>0&&(R+=1,I=I>0?I-1:0),this.topStyle.top="".concat(P,"px"),this.topStyle.left="".concat(R,"px"),this.topStyle.width="".concat(I,"px"),this.topStyle.display="block",this.leftStyle.top="".concat(P,"px"),this.leftStyle.left="".concat(R,"px"),this.leftStyle.height="".concat(j,"px"),this.leftStyle.display="block";var Y=Math.floor(this.settings.border.width/2);this.bottomStyle.top="".concat(P+j-Y,"px"),this.bottomStyle.left="".concat(R,"px"),this.bottomStyle.width="".concat(I,"px"),this.bottomStyle.display="block",this.rightStyle.top="".concat(P,"px"),this.rightStyle.left="".concat(R+I-Y,"px"),this.rightStyle.height="".concat(j+1,"px"),this.rightStyle.display="block";var V=this.settings.border.cornerVisible;V="function"==typeof V?V(this.settings.layerLevel):V;var W=this.wot.getSetting("onModifyGetCellCoords",n,a),z=n,G=a;if(W&&Array.isArray(W)){var $=u(W,4);z=$[2],G=$[3]}if(Object(o.isMobileBrowser)()||!V||this.isPartRange(z,G))this.cornerStyle.display="none";else{this.cornerStyle.top="".concat(P+j-4,"px"),this.cornerStyle.left="".concat(R+I-4,"px"),this.cornerStyle.borderRightWidth=this.cornerDefaultStyle.borderWidth,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.display="none";var q=Object(r.getTrimmingContainer)(c.TABLE),K=q===f;K&&(q=d.documentElement),a===this.wot.getSetting("totalColumns")-1&&(K?O.getBoundingClientRect().left:O.offsetLeft)+Object(r.outerWidth)(O)+parseInt(this.cornerDefaultStyle.width,10)/2>=Object(r.innerWidth)(q)&&(this.cornerStyle.left="".concat(Math.floor(R+I-3-parseInt(this.cornerDefaultStyle.width,10)/2),"px"),this.cornerStyle.borderRightWidth=0),n===this.wot.getSetting("totalRows")-1&&(K?O.getBoundingClientRect().top:O.offsetTop)+Object(r.outerHeight)(O)+parseInt(this.cornerDefaultStyle.height,10)/2>=Object(r.innerHeight)(q)&&(this.cornerStyle.top="".concat(Math.floor(P+j-3-parseInt(this.cornerDefaultStyle.height,10)/2),"px"),this.cornerStyle.borderBottomWidth=0),this.cornerStyle.display="block"}Object(o.isMobileBrowser)()&&this.updateMultipleSelectionHandlesPosition(n,a,P,R,I,j)}else this.disappear()}}},{key:"isEntireColumnSelected",value:function(e,t){return e===this.wot.wtTable.getFirstRenderedRow()&&t===this.wot.wtTable.getLastRenderedRow()}},{key:"isEntireRowSelected",value:function(e,t){return e===this.wot.wtTable.getFirstRenderedColumn()&&t===this.wot.wtTable.getLastRenderedColumn()}},{key:"getDimensionsFromHeader",value:function(e,t,n,i){var a=this.wot.wtTable,o=a.wtRootElement.parentNode,s=null,l=null,u=null,c=null,d=null,f=null,h=null,p=null;switch(e){case"rows":s=function(){return a.getRowHeader.apply(a,arguments)},l=function(){return r.outerHeight.apply(void 0,arguments)},u="ht__selection--rows",f="top";break;case"columns":s=function(){return a.getColumnHeader.apply(a,arguments)},l=function(){return r.outerWidth.apply(void 0,arguments)},u="ht__selection--columns",f="left"}if(o.className.includes(u)){var m=this.wot.getSetting("columnHeaders").length;if(h=s(t,m-1),p=s(n,m-1),!h||!p)return!1;var g=Object(r.offset)(h),v=Object(r.offset)(p);return h&&p&&(c=g[f]-i[f]-1,d=v[f]+l(p)-g[f]),[h,c,d]}return!1}},{key:"changeBorderStyle",value:function(e,t){var n=this[e].style,i=t[e];!i||i.hide?Object(r.addClass)(this[e],"hidden"):(Object(r.hasClass)(this[e],"hidden")&&Object(r.removeClass)(this[e],"hidden"),n.backgroundColor=i.color,"top"!==e&&"bottom"!==e||(n.height="".concat(i.width,"px")),"right"!==e&&"left"!==e||(n.width="".concat(i.width,"px")))}},{key:"changeBorderToDefaultStyle",value:function(e){var t=1,n="#000",r=this[e].style;r.backgroundColor=n,r.width="".concat(t,"px"),r.height="".concat(t,"px")}},{key:"toggleHiddenClass",value:function(e,t){this.changeBorderToDefaultStyle(e),t?Object(r.addClass)(this[e],"hidden"):Object(r.removeClass)(this[e],"hidden")}},{key:"disappear",value:function(){this.topStyle.display="none",this.leftStyle.display="none",this.bottomStyle.display="none",this.rightStyle.display="none",this.cornerStyle.display="none",Object(o.isMobileBrowser)()&&(this.selectionHandles.styles.topLeft.display="none",this.selectionHandles.styles.bottomRight.display="none")}},{key:"destroy",value:function(){this.eventManager.destroyWithOwnEventsOnly(),this.main.parentNode.removeChild(this.main)}}])&&c(t.prototype,n),d&&c(t,d),e}();t.default=d},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(375),n(168),n(372),n(88),n(56),n(15),n(530),n(108),n(281),n(251),n(309),n(310),n(1014),n(65),n(1008),n(33),n(235),n(35),n(12),n(67),n(31),n(16),n(373),n(17),n(130);var r=n(1),i=n(26),a=n(3),o=n(2),s=n(10),l=n(44),u=n(37),c=n(40),d=n(266),f=n(1366),h=n(176),p=n(757),m=n(1367),g=n(1368),v=n(59);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function T(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e.slice(0,1):[e].slice(0,1)}},{key:"areValidSortConfigs",value:function(e){if(!1===Array.isArray(e))return!1;var t=e.map((function(e){return e.column})),n=this.hot.countCols(),r=t.every((function(e){return e<=n&&e>=0}));return Object(h.areValidSortStates)(e)&&r}},{key:"saveAllSortSettings",value:function(){var e=this.columnStatesManager.getAllColumnsProperties();e.initialConfig=this.columnStatesManager.getSortStates(),this.hot.runHooks("persistentStateSave","columnSorting",e)}},{key:"getAllSavedSortSettings",value:function(){var e=this,t={};this.hot.runHooks("persistentStateLoad","columnSorting",t);var n=t.value;return Object(i.isDefined)(n)&&Array.isArray(n.initialConfig)&&(n.initialConfig=Object(o.arrayMap)(n.initialConfig,(function(t){var n=t.column,r=w(t,["column"]);return S({column:e.hot.toVisualColumn(n)},r)}))),n}},{key:"getColumnNextConfig",value:function(e){var t=this.hot.toPhysicalColumn(e);if(this.columnStatesManager.isColumnSorted(t)){var n=this.getSortConfig(e),r=Object(h.getNextSortOrder)(n.sortOrder);return Object(i.isDefined)(r)?(n.sortOrder=r,n):void 0}var a=this.hot.countCols();if(Number.isInteger(e)&&e>=0&&e1&&void 0!==arguments[1]?arguments[1]:"append",n=this.hot.toPhysicalColumn(e),r=this.columnStatesManager.getIndexOfColumnInSortQueue(n),a=this.columnStatesManager.isColumnSorted(n),o=this.getSortConfig(),s=this.getColumnNextConfig(e);if(a){if(Object(i.isUndefined)(s))return[].concat(y(o.slice(0,r)),y(o.slice(r+1)));if("append"===t)return[].concat(y(o.slice(0,r)),y(o.slice(r+1)),[s]);if("replace"===t)return[].concat(y(o.slice(0,r)),[s],y(o.slice(r+1)))}return Object(i.isDefined)(s)?o.concat(s):o}},{key:"setMergedPluginSettings",value:function(e){var t=this.hot.toPhysicalColumn(e),n=this.hot.getSettings()[this.pluginKey],r=this.columnStatesManager.getAllColumnsProperties(),i=this.hot.getCellMeta(0,e),a=Object.getPrototypeOf(i),o=Object.hasOwnProperty.call(a,this.pluginKey)?a[this.pluginKey]:{};this.columnMetaCache.set(t,Object.assign(r,n,o))}},{key:"getFirstCellSettings",value:function(e){var t=this.blockPluginTranslation;this.blockPluginTranslation=!0,(0===this.columnMetaCache.size||this.columnMetaCache.size1?t-1:0),i=1;i=0:n.inside,y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),b=void 0,S=void 0,E=void 0;_&&this.canBeInsideText()?(b=n.insideFill,S=n.insideStroke,null!=b&&"auto"!==b||(b=this.getInsideTextFill()),null!=S&&"auto"!==S||(S=this.getInsideTextStroke(b),E=!0)):(b=n.outsideFill,S=n.outsideStroke,null!=b&&"auto"!==b||(b=this.getOutsideFill()),null!=S&&"auto"!==S||(S=this.getOutsideStroke(b),E=!0)),(b=b||"#000")===y.fill&&S===y.stroke&&E===y.autoStroke&&a===y.align&&o===y.verticalAlign||(l=!0,y.fill=b,y.stroke=S,y.autoStroke=E,y.align=a,y.verticalAlign=o,t.setDefaultTextStyle(y)),t.__dirty|=d.REDRAW_BIT,l&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.LIGHT_LABEL_COLOR:u.DARK_LABEL_COLOR},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&Object(c.parse)(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*r+(i?0:255)*(1-r);return n[3]=1,Object(c.stringify)(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},Object(l.extend)(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(Object(l.isObject)(e))for(var n=e,r=Object(l.keys)(n),i=0;i0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(f,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===f;if(this.hasState()||!i){var a=this.currentStates,o=this.stateTransition;if(!(Object(l.indexOf)(a,e)>=0)||!t&&1!==a.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||i){i||this.saveCurrentToNormalState(s);var u=!!(s&&s.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,t,!n&&!this.__inHover&&o&&o.duration>0,o);var c=this._textContent,h=this._textGuide;return c&&c.useState(e,t,n,u),h&&h.useState(e,t,n,u),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.REDRAW_BIT),s}Object(l.logError)("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,a=e.length,o=a===i.length;if(o)for(var s=0;s0,p);var m=this._textContent,g=this._textGuide;m&&m.useStates(e,t,f),g&&g.useStates(e,t,f),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.REDRAW_BIT)}else this.clearStates()},e.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=Object(l.indexOf)(r,e),a=Object(l.indexOf)(r,t)>=0;i>=0?a?r.splice(i,1):r[i]=t:n&&!a&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],a=0;a0||o.force&&!u.length){var C,x=void 0,k=void 0,M=void 0;if(c){k={},m&&(x={});for(T=0;T0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var p=0;pt+c&&u>i+c&&u>o+c||ue+c&&l>n+c&&l>a+c||l=0;o--)r[o]&&!l.isComponentIdInternal(r[o])?a=!0:(r[o]=null,!a&&i--);r.length=i,e[n]=r}})),delete e["\0_ec_inner"],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i=2){if(i){var o=Object(r.default)(a,i,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var s=a.length,l=0;l<(n?s:s-1);l++){var u=o[2*l],c=o[2*l+1],d=a[(l+1)%s];e.bezierCurveTo(u[0],u[1],c[0],c[1],d[0],d[1])}}else{e.moveTo(a[0][0],a[0][1]);l=1;for(var f=a.length;l1||g&&!p){var _=function(e,t,n,o,s){var l=t.getData(),u=Object(r.reduce)(e,(function(e,t,n){var r=l.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),c=[],d=[],f=[];function h(e,t){var n=l.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(u?f.push(Object(i.createTooltipMarkup)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:e,valueType:n.type})):(c.push(e),d.push(n.type)))}return o.length?Object(r.each)(o,(function(e){h(Object(a.retrieveRawValue)(l,n,e),e)})):Object(r.each)(e,h),{inlineValues:c,inlineValueTypes:d,blocks:f}}(m,u,c,h,v);t=_.inlineValues,n=_.inlineValueTypes,s=_.blocks,l=_.inlineValues[0]}else if(p){var y=f.getDimensionInfo(h[0]);l=t=Object(a.retrieveRawValue)(f,c,h[0]),n=y.type}else l=t=g?m[0]:m;var b=Object(o.isNameSpecified)(u),S=b&&u.name||"",E=f.getName(c),w=d?S:E;return Object(i.createTooltipMarkup)("section",{header:S,noHeader:d||!b,sortParam:l,blocks:[Object(i.createTooltipMarkup)("nameValue",{markerType:"item",markerColor:v,name:w,noName:!Object(r.trim)(w),value:t,valueType:n,dataIndex:c})].concat(s||[])})}},function(e,t,n){"use strict";n.r(t),n.d(t,"ScaleRawExtentInfo",(function(){return a})),n.d(t,"ensureScaleRawExtentInfo",(function(){return l})),n.d(t,"parseAxisModelMinMax",(function(){return u}));var r=n(0),i=n(60),a=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var f=this._determinedMin,h=this._determinedMax;return null!=f&&(s=f,u=!0),null!=h&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(e,t){this[s[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){this[o[e]]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),o={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(e,t,n){var r=e.rawExtentInfo;return r||(r=new a(e,t,n),e.rawExtentInfo=r,r)}function u(e,t){return null==t?null:Object(r.eqNaN)(t)?NaN:e.parse(t)}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(5),a=n(47),o=n(112),s=n(180),l=n(181),u=n(0),c=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return Object(r.__extends)(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return Object(a.format)(e.value,a.fullLeveledFormatter[Object(a.getDefaultFormatPrecisionOfInterval)(Object(a.getPrimaryTimeUnit)(this._minLevelUnit))]||a.fullLeveledFormatter.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return Object(a.leveledFormat)(e,t,n,i,r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),o=function(e,t,n,r){var o=a.timeUnits,s=0;function l(e,t,n,i,a,o,s){for(var l=new Date(t),u=t,c=l[i]();u1&&0===d&&s.unshift({value:s[0].value-b})}}for(d=0;d=r[0]&&C<=r[1]&&y++)}var x=(r[1]-r[0])/t;if(y>1.5*x&&b>x/1.5)break;if(d.push(T),y>x||e===o[S])break}_=[]}}}0;var k=Object(u.filter)(Object(u.map)(d,(function(e){return Object(u.filter)(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),M=[],A=k.length-1;for(S=0;Sn&&(this._approxInterval=n);var a=d.length,o=Math.min(function(e,t,n,r){for(;n>>1;e[i][1]16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function h(e){return(e/=30*a.ONE_DAY)>6?6:e>3?3:e>2?2:1}function p(e){return(e/=a.ONE_HOUR)>12?12:e>6?6:e>3.5?4:e>2?2:1}function m(e,t){return(e/=t?a.ONE_MINUTE:a.ONE_SECOND)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function g(e){return i.nice(e,!0)}function v(e,t,n){var r=new Date(e);switch(Object(a.getPrimaryTimeUnit)(t)){case"year":case"month":r[Object(a.monthSetterName)(n)](0);case"day":r[Object(a.dateSetterName)(n)](1);case"hour":r[Object(a.hoursSetterName)(n)](0);case"minute":r[Object(a.minutesSetterName)(n)](0);case"second":r[Object(a.secondsSetterName)(n)](0),r[Object(a.millisecondsSetterName)(n)](0)}return r.getTime()}l.default.registerClass(c),t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(78),i=Math.sin,a=Math.cos,o=Math.PI,s=2*Math.PI,l=180/o,u=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,i,a){this._add("C",e,t,n,r,i,a)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,i,a){this.ellipse(e,t,n,n,0,r,i,a)},e.prototype.ellipse=function(e,t,n,u,c,d,f,h){var p=f-d,m=!h,g=Math.abs(p),v=Object(r.isAroundZero)(g-s)||(m?p>=s:-p>=s),_=p>0?p%s:p%s+s,y=!1;y=!!v||!Object(r.isAroundZero)(g)&&_>=o==!!m;var b=e+n*a(d),S=t+u*i(d);this._start&&this._add("M",b,S);var E=Math.round(c*l);if(v){var w=1/this._p,T=(m?1:-1)*(s-w);this._add("A",n,u,E,1,+m,e+n*a(d+T),t+u*i(d+T)),w>.01&&this._add("A",n,u,E,0,+m,b,S)}else{var O=e+n*a(f),C=t+u*i(f);this._add("A",n,u,E,+y,+m,O,C)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,i,a,o,s,l){for(var u=[],c=this._p,d=1;dt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;nt&&(t=a,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},a=function(e){return Math.round(e.length/2)};function o(e){return{seriesType:e,reset:function(e,t,n){var o=e.getData(),s=e.get("sampling"),l=e.coordinateSystem,u=o.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),d=l.getOtherAxis(c),f=c.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(f[1]-f[0])*(h||1),m=Math.round(u/p);if(isFinite(m)&&m>1){"lttb"===s&&e.setData(o.lttbDownSample(o.mapDimension(d.dim),1/m));var g=void 0;Object(r.isString)(s)?g=i[s]:Object(r.isFunction)(s)&&(g=s),g&&e.setData(o.downSample(o.mapDimension(d.dim),1/m,g,a))}}}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return p}));var r=n(4),i=n(68),a=n(1118),o=n(74),s=n(0),l=n(733),u=n(265),c=n(1119),d=n(734),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return Object(r.__extends)(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.default({shape:e.coordinateSystem.getRect(),style:Object(s.defaults)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(i.default),h={offset:0};function p(e){e.registerComponentView(f),e.registerComponentModel(a.default),e.registerCoordinateSystem("cartesian2d",c.default),Object(u.default)(e,"x",l.CartesianAxisModel,h),Object(u.default)(e,"y",l.CartesianAxisModel,h),e.registerComponentView(d.CartesianXAxisView),e.registerComponentView(d.CartesianYAxisView),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"alignScaleTicks",(function(){return l}));var r=n(5),i=n(180),a=n(81),o=n(112),s=Math.log;function l(e,t,n){var l=i.default.prototype,u=l.getTicks.call(n),c=l.getTicks.call(n,!0),d=u.length-1,f=l.getInterval.call(n),h=Object(a.getScaleExtent)(e,t),p=h.extent,m=h.fixMin,g=h.fixMax;if("log"===e.type){var v=s(e.base);p=[s(p[0])/v,s(p[1])/v]}e.setExtent(p[0],p[1]),e.calcNiceExtent({splitNumber:d,fixMin:m,fixMax:g});var _=l.getExtent.call(e);m&&(p[0]=_[0]),g&&(p[1]=_[1]);var y=l.getInterval.call(e),b=p[0],S=p[1];if(m&&g)y=(S-b)/d;else if(m)for(S=p[0]+y*d;Sp[0]&&isFinite(b)&&isFinite(p[0]);)y=Object(o.increaseInterval)(y),b=p[1]-y*d;else{e.getTicks().length-1>d&&(y=Object(o.increaseInterval)(y));var E=y*d;S=Math.ceil(p[1]/y)*y,(b=Object(r.round)(S-E))<0&&p[0]>=0?(b=0,S=Object(r.round)(E)):S>0&&p[1]<=0&&(S=0,b=-Object(r.round)(E))}var w=(u[0].value-c[0].value)/f,T=(u[d].value-c[d].value)/f;l.setExtent.call(e,b+y*w,S+y*T),l.setInterval.call(e,y),(w||T)&&l.setNiceExtent.call(e,b+y,S-y)}},function(e,t,n){"use strict";n.r(t);var r=n(0),i={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},a=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),o=r.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},i),s=r.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},o),l=r.defaults({logBase:10},o);t.default={category:a,value:o,time:s,log:l}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(616),a=n(34),o=n(5),s=n(174),l=n(21);function u(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var s=this.projection;if(s){var u=r[0],c=r[1],d=i[0],f=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var h=function(e,t,n,a){for(var o=n-e,u=a-t,c=0;c<=100;c++){var d=c/100,f=s.project([e+o*d,t+u*d]);l.min(r,r,f),l.max(i,i,f)}};h(u,c,d,c),h(d,c,d,f),h(d,f,u,f),h(u,f,d,c)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var p,m,g,v=this.getBoundingRect(),_=e.get("layoutCenter"),y=e.get("layoutSize"),b=t.getWidth(),S=t.getHeight(),E=v.width/v.height*this.aspectScale,w=!1;if(_&&y&&(p=[o.parsePercent(_[0],b),o.parsePercent(_[1],S)],m=o.parsePercent(y,Math.min(b,S)),isNaN(p[0])||isNaN(p[1])||isNaN(m)||(w=!0)),w)g={},E>1?(g.width=m,g.height=m/E):(g.height=m,g.width=m*E),g.y=p[1]-g.height/2,g.x=p[0]-g.width/2;else{var T=e.getBoxLayoutParams();T.aspect=E,g=a.getLayoutRect(T,{width:b,height:S})}this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}var c=new(function(){function e(){this.dimensions=i.geo2DDimensions}return e.prototype.create=function(e,t){var n=[];function a(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,o){var s=e.get("map"),l=new i.default(s+o,s,r.extend({nameMap:e.get("nameMap")},a(e)));l.zoomLimit=e.get("scaleLimit"),n.push(l),e.coordinateSystem=l,l.model=e,l.resize=u,l.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var o={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();o[t]=o[t]||[],o[t].push(e)}})),r.each(o,(function(e,o){var s=r.map(e,(function(e){return e.get("nameMap")})),l=new i.default(o,o,r.extend({nameMap:r.mergeAll(s)},a(e[0])));l.zoomLimit=r.retrieve.apply(null,r.map(e,(function(e){return e.get("scaleLimit")}))),n.push(l),l.resize=u,l.resize(e[0],t),r.each(e,(function(e){e.coordinateSystem=l,function(e,t){r.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}(l,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,i){for(var a=(e||[]).slice(),o=r.createHashMap(),l=0;l0,m={api:n,geo:s,mapOrGeoModel:e,data:o,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:f};"geoJSON"===s.resourceType?this._buildGeoJSON(m):"geoSVG"===s.resourceType&&this._buildSVG(m),this._updateController(e,t,n),this._updateMapSelectHandler(e,u,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=r.createHashMap(),n=r.createHashMap(),i=this._regionsGroup,a=e.transformInfoRaw,o=e.mapOrGeoModel,l=e.data,f=e.geo.projection,h=f&&f.stream;function p(e,t){return t&&(e=t(e)),e&&[e[0]*a.scaleX+a.x,e[1]*a.scaleY+a.y]}function m(e){for(var t=[],n=!h&&f&&f.project,r=0;r=0)&&(f=i);var h=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Object(g.setLabelStyle)(t,Object(g.getLabelStatesModels)(r),{labelFetcher:f,labelDataIndex:d,defaultText:n},h);var p=t.getTextContent();if(p&&(O(p).ignore=p.ignore,t.textConfig&&o)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(o[0]-m.x)/m.width*100+"%",(o[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function R(e,t,n,r,i,a){e.data?e.data.setItemGraphicEl(a,t):Object(v.getECData)(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function I(e,t,n,r,i){e.data||f.setTooltipConfig({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function D(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var a=r.getModel("emphasis"),o=a.get("focus");return Object(h.toggleHoverEmphasis)(t,o,a.get("blurScope"),a.get("disabled")),e.isGeo&&Object(h.enableComponentHighDownFeatures)(t,i,n),o}function N(e,t,n){var i,a=[];function o(){i=[]}function s(){i.length&&(a.push(i),i=[])}var l=t({polygonStart:o,polygonEnd:s,lineStart:o,lineEnd:s,point:function(e,t){isFinite(e)&&isFinite(t)&&i.push([e,t])},sphere:function(){}});return!n&&l.polygonStart(),r.each(e,(function(e){l.lineStart();for(var t=0;t1;)i=i.parentNode;var a=Object(r.getDecalFromPalette)(e.ecModel,i.name||i.dataIndex+"",n);t.setVisual("decal",a)}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return d}));var r=n(0),i=n(109),a=n(1161),o=n(576),s=n(210),l=n(237),u=n(149),c=n(6);function d(e,t,n,d,f){for(var h=new a.default(d),p=0;p "+b)),v++)}var S,E=n.get("coordinateSystem");if("cartesian2d"===E||"polar"===E)S=Object(u.default)(e,n);else{var w=l.default.get(E),T=w&&w.dimensions||[];r.indexOf(T,"value")<0&&T.concat(["value"]);var O=Object(s.default)(e,{coordDimensions:T,encodeDefine:n.getEncode()}).dimensions;(S=new i.default(O,n)).initData(e)}var C=new i.default(["value"],n);return C.initData(g,m),f&&f(S,C),Object(o.default)({mainData:S,struct:h,structAttr:"graph",datas:{node:S,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}},function(e,t,n){"use strict";n.r(t),n.d(t,"WhiskerBoxCommonMixin",(function(){return s}));var r=n(213),i=n(0),a=n(287),o=n(140),s=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,s,l=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=l.get("type"),d=u.get("type");"category"===c?(e.layout="horizontal",n=l.getOrdinalMeta(),s=!0):"category"===d?(e.layout="vertical",n=u.getOrdinalMeta(),s=!0):e.layout=e.layout||"horizontal";var f=["x","y"],h="horizontal"===e.layout?0:1,p=this._baseAxisDim=f[h],m=f[1-h],g=[l,u],v=g[h].get("type"),_=g[1-h].get("type"),y=e.data;if(y&&s){var b=[];i.each(y,(function(e,t){var n;i.isArray(e)?(n=e.slice(),e.unshift(t)):i.isArray(e.value)?((n=i.extend({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,b.push(n)})),e.data=b}var S=this.defaultValueDimensions,E=[{name:p,type:Object(a.getDimensionTypeByAxis)(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:m,type:Object(a.getDimensionTypeByAxis)(_),dimsDef:S.slice()}];return Object(r.default)(this,{coordDimensions:E,dimensionsCount:S.length+1,encodeDefaulter:i.curry(o.makeSeriesEncodeForAxisCoordSys,E,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}()},function(e,t,n){"use strict";n.r(t);var r=n(211),i={seriesType:"lines",plan:Object(r.default)(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,a){var o=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c0&&(a=this._getLineLength(r)/u*1e3),a!==this._period||s!==this._loop||l!==this._roundTrip){r.stopAnimation();var d=void 0;d=o.isFunction(c)?c(n):c,r.__t>0&&(d=-a*r.__t),this._animateSymbol(r,a,d,s,l)}this._period=a,this._loop=s,this._roundTrip=l}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var a=this,o=e.animate("",r).when(i?2*t:t,{__t:i?2:1}).delay(n).during((function(){a._updateSymbolPosition(e)}));r||o.done((function(){a.remove(e)})),o.start()}},t.prototype._getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<1?e.__t:2-e.__t,a=[e.x,e.y],o=a.slice(),s=u.quadraticAt,c=u.quadraticDerivativeAt;a[0]=s(t[0],r[0],n[0],i),a[1]=s(t[1],r[1],n[1],i);var d=e.__t<1?c(t[0],r[0],n[0],i):c(n[0],r[0],t[0],1-i),f=e.__t<1?c(t[1],r[1],n[1],i):c(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(f,d)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastTt[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&m(t)}};function m(e){return new i.default(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return s}));var r=n(484),i=n(587),a=n(1282),o=n(1283);function s(e){e.registerComponentModel(r.default),e.registerComponentView(i.default),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,a.default),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),Object(o.installLegendAction)(e)}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(0),a=n(72),o=n(43),s=n(70),l=n(74),u=n(13),c=n(9),d=n(25),f=n(482),h=n(34),p=n(68),m=n(64),g=n(238),v=n(27),_=i.curry,y=i.each,b=o.default,S=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return Object(r.__extends)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new b),this.group.add(this._selectorGroup=new b),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var a=e.get("align"),o=e.get("orient");a&&"auto"!==a||(a="right"===e.get("left")&&"vertical"===o?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===o?"end":"start"),this.renderInner(a,e,t,n,s,o,l);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},d=e.get("padding"),p=h.getLayoutRect(u,c,d),m=this.layoutInner(e,a,p,r,s,l),g=h.getLayoutRect(i.defaults({width:m.width,height:m.height},u),c,d);this.group.x=g.x-m.x,this.group.y=g.y-m.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Object(f.makeBackground)(m,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,o,s,l){var u=this.getContentGroup(),c=i.createHashMap(),d=t.get("selectedMode"),f=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&f.push(e.id)})),y(t.getData(),(function(o,s){var l=o.get("name");if(!this.newlineDisabled&&(""===l||"\n"===l)){var h=new b;return h.newline=!0,void u.add(h)}var p=n.getSeriesByName(l)[0];if(!c.get(l)){if(p){var m=p.getData(),g=m.getVisual("legendLineStyle")||{},y=m.getVisual("legendIcon"),S=m.getVisual("style"),w=this._createItem(p,l,s,o,t,e,g,S,y,d,r);w.on("click",_(E,l,null,r,f)).on("mouseover",_(T,p.name,null,r,f)).on("mouseout",_(O,p.name,null,r,f)),n.ssr&&w.eachChild((function(e){var t=Object(v.getECData)(e);t.seriesIndex=p.seriesIndex,t.dataIndex=s,t.ssrType="legend"})),c.set(l,!0)}else n.eachRawSeries((function(u){if(!c.get(l)&&u.legendVisualProvider){var h=u.legendVisualProvider;if(!h.containName(l))return;var p=h.indexOfName(l),m=h.getItemVisual(p,"style"),g=h.getItemVisual(p,"legendIcon"),y=Object(a.parse)(m.fill);y&&0===y[3]&&(y[3]=.2,m=i.extend(i.extend({},m),{fill:Object(a.stringify)(y,"rgba")}));var b=this._createItem(u,l,s,o,t,e,{},m,g,d,r);b.on("click",_(E,null,l,r,f)).on("mouseover",_(T,null,l,r,f)).on("mouseout",_(O,null,l,r,f)),n.ssr&&b.eachChild((function(e){var t=Object(v.getECData)(e);t.seriesIndex=u.seriesIndex,t.dataIndex=s,t.ssrType="legend"})),c.set(l,!0)}}),this);0}}),this),o&&this._createSelector(o,t,r,s,l)},t.prototype._createSelector=function(e,t,n,r,i){var a=this.getSelectorGroup();y(e,(function(e){var r=e.type,i=new s.default({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});a.add(i);var o=t.getModel("selectorLabel"),l=t.getModel(["emphasis","selectorLabel"]);Object(d.setLabelStyle)(i,{normal:o,emphasis:l},{defaultText:e.title}),Object(c.enableHoverEmphasis)(i)}))},t.prototype._createItem=function(e,t,n,r,a,o,f,h,p,v,_){var S=e.visualDrawType,E=a.get("itemWidth"),w=a.get("itemHeight"),T=a.isSelected(t),O=r.get("symbolRotate"),C=r.get("symbolKeepAspect"),x=r.get("icon"),k=function(e,t,n,r,i,a,o){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),y(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?Object(g.createOrUpdatePatternFromDecal)(d,o):r.decal,"inherit"===u.fill&&(u.fill=r[i]);"inherit"===u.stroke&&(u.stroke=r[c]);"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity);s(u,r);var f=t.getModel("lineStyle"),h=f.getLineStyle();if(s(h,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===h.stroke&&(h.stroke=r.fill),!a){var p=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=f.get("inactiveColor"),h.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}(p=x||p||"roundRect",r,f,h,S,T,_),M=new b,A=r.getModel("textStyle");if(!i.isFunction(e.getLegendIcon)||x&&"inherit"!==x){var R="inherit"===x&&e.getData().getVisual("symbol")?"inherit"===O?e.getData().getVisual("symbolRotate"):O:0;M.add(function(e){var t=e.icon||"roundRect",n=Object(m.createSymbol)(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:E,itemHeight:w,icon:p,iconRotate:R,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:C}))}else M.add(e.getLegendIcon({itemWidth:E,itemHeight:w,icon:p,iconRotate:O,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:C}));var I="left"===o?E+5:-5,D=o,N=a.get("formatter"),L=t;i.isString(N)&&N?L=N.replace("{name}",null!=t?t:""):i.isFunction(N)&&(L=N(t));var P=T?A.getTextColor():r.get("inactiveColor");M.add(new s.default({style:Object(d.createTextStyle)(A,{text:L,x:I,y:w/2,fill:P,align:D,verticalAlign:"middle"},{inheritColor:P})}));var j=new l.default({shape:M.getBoundingRect(),style:{fill:"transparent"}}),F=r.getModel("tooltip");return F.get("show")&&u.setTooltipConfig({el:j,componentModel:a,itemName:t,itemTooltipOption:F.option}),M.add(j),M.eachChild((function(e){e.silent=!0})),j.silent=!v,this.getContentGroup().add(M),Object(c.enableHoverEmphasis)(M),M.__legendDataIndex=n,M},t.prototype.layoutInner=function(e,t,n,r,i,a){var o=this.getContentGroup(),s=this.getSelectorGroup();h.box(e.get("orient"),o,e.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),o.markRedraw(),i){h.box("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,m=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===a?d[p]+=l[m]+f:u[p]+=c[m]+f,d[1-p]+=l[g]/2-c[g]/2,s.x=d[0],s.y=d[1],o.x=u[0],o.y=u[1];var _={x:0,y:0};return _[m]=l[m]+f+c[m],_[g]=Math.max(l[g],c[g]),_[v]=Math.min(0,c[v]+d[1-p]),_}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(p.default);function E(e,t,n,r){O(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),T(e,t,n,r)}function w(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;r0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(r.visualMapActionInfo,r.visualMapActionHander),Object(a.each)(i.visualMapEncodingHandlers,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(o.default))}},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"default",(function(){return a}));var r=n(7),i=n.n(r);function a(t){for(var n,r=(n=t,i.a.atob?i.a.atob(n):e.from(n,"base64").toString("binary")),a=new Uint8Array(r.length),o=0;o".concat(l,""))),t.innerHTML=h},autoColumnSize:!0,modifyColWidth:function(e,t){var n=this.getPlugin("autoColumnSize"),r=e;if(n){var i=n.widths;i[t]&&(r=i[t])}return a?r:r+15}}),this.htEditor.view.wt.wtTable.holder.parentNode.style["padding-right"]="".concat(o+2,"px"),n.skipOne&&(n.skipOne=!1),this.hot._registerTimeout((function(){e.queryChoices(e.TEXTAREA.value)}))}},{key:"close",value:function(){this.removeHooksByKey("beforeKeyDown"),f(h(t.prototype),"close",this).call(this)}},{key:"discardEditor",value:function(e){f(h(t.prototype),"discardEditor",this).call(this,e),this.hot.view.render()}},{key:"queryChoices",value:function(e){var t=this,n=this.cellProperties.source;this.query=e,"function"==typeof n?n.call(this.cellProperties,e,(function(e){t.rawChoices=e,t.updateChoicesList(t.stripValuesIfNeeded(e))})):Array.isArray(n)?(this.rawChoices=n,this.updateChoicesList(this.stripValuesIfNeeded(n))):this.updateChoicesList([])}},{key:"updateChoicesList",value:function(e){var n=Object(s.getCaretPosition)(this.TEXTAREA),r=Object(s.getSelectionEndPosition)(this.TEXTAREA),i=this.cellProperties.sortByRelevance,a=this.cellProperties.filter,l=null,u=null,c=e;i&&(l=t.sortByRelevance(this.stripValueIfNeeded(this.getValue()),c,this.cellProperties.filteringCaseSensitive));var d=Array.isArray(l)?l.length:0;if(!1===a)d&&(u=l[0]);else{for(var f=[],h=0,p=c.length;hu&&l>u;return c?this.flipDropdown(n):this.unflipDropdown(),this.limitDropdownIfNeeded(c?l:u,n),c}},{key:"limitDropdownIfNeeded",value:function(e,t){if(t>e){var n,r=0,i=0,a=0;do{r+=a=this.htEditor.getRowHeight(i)||this.htEditor.view.wt.wtSettings.settings.defaultRowHeight,i+=1}while(r=t?t*e:this.strippedChoices.length*e+8}},{key:"stripValueIfNeeded",value:function(e){return this.stripValuesIfNeeded([e])[0]}},{key:"stripValuesIfNeeded",value:function(e){var t=this.cellProperties.allowHtml,n=Object(o.arrayMap)(e,(function(e){return Object(i.stringify)(e)}));return Object(o.arrayMap)(n,(function(e){return t?e:Object(a.stripTags)(e)}))}},{key:"allowKeyEventPropagation",value:function(e){var t=this.htEditor.getSelectedRangeLast(),n=t?t.from.row:-1,i=!1;return e===r.KEY_CODES.ARROW_DOWN&&n>0&&n-1&&(i=!0),i}},{key:"onBeforeKeyDown",value:function(e){var n=this,i=m.get(this);if(i.skipOne=!1,Object(r.isPrintableChar)(e.keyCode)||e.keyCode===r.KEY_CODES.BACKSPACE||e.keyCode===r.KEY_CODES.DELETE||e.keyCode===r.KEY_CODES.INSERT){var a=0;if(e.keyCode===r.KEY_CODES.C&&(e.ctrlKey||e.metaKey))return;this.isOpened()||(a+=10),this.htEditor&&this.hot._registerTimeout((function(){n.queryChoices(n.TEXTAREA.value),i.skipOne=!0}),a)}f(h(t.prototype),"onBeforeKeyDown",this).call(this,e)}}])&&c(n.prototype,l),g&&c(n,g),t}(l.default);g.sortByRelevance=function(e,t,n){var r,o,s,l,u=[],c=e.length,d=[],f=t.length;if(0===c){for(l=0;lt.charsLeft)return 1}return 0})),l=0,f=u.length;la.countRows()-1?a.deselectCell():a.selectCell(n,0),a.getData().length&&(e.preventDefault(),Object(o.stopImmediatePropagation)(e),this.hot.listen(),this.TEXTAREA.focus())),d(f(t.prototype),"onBeforeKeyDown",this).call(this,e)}}}])&&u(n.prototype,s),p&&u(n,p),t}(n(260).default);t.default=p},function(e,t,n){"use strict";function r(e){var t=new Date(e);return isNaN(new Date("".concat(e,"T00:00")).getDate())?t:new Date(t.getTime()+6e4*t.getTimezoneOffset())}n.r(t),n.d(t,"getNormalizedDate",(function(){return r}))},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(12),n(16),n(17);var r=n(26),i=n(3);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){}o.prototype={licenseKey:void 0,data:void 0,dataSchema:void 0,width:void 0,height:void 0,startRows:5,startCols:5,rowHeaders:void 0,colHeaders:null,colWidths:void 0,rowHeights:void 0,columns:void 0,cells:void 0,cell:[],comments:!1,customBorders:!1,minRows:0,minCols:0,maxRows:1/0,maxCols:1/0,minSpareRows:0,minSpareCols:0,allowInsertRow:!0,allowInsertColumn:!0,allowRemoveRow:!0,allowRemoveColumn:!0,selectionMode:"multiple",fillHandle:{autoInsertRow:!1},fixedRowsTop:0,fixedRowsBottom:0,fixedColumnsLeft:0,outsideClickDeselects:!0,enterBeginsEditing:!0,enterMoves:{row:1,col:0},tabMoves:{row:0,col:1},autoWrapRow:!0,autoWrapCol:!0,persistentState:void 0,currentRowClassName:void 0,currentColClassName:void 0,currentHeaderClassName:"ht__highlight",activeHeaderClassName:"ht__active_highlight",className:void 0,tableClassName:void 0,stretchH:"none",isEmptyRow:function(e){var t,n,o,s;for(t=0,n=this.countCols();t0;i=Object(r.isObject)(d)?Object.keys(d).length:Array.isArray(d)?d.length:Object(a.stringify)(d).length,h&&(i+=f),s.has(i)||s.set(i,{needed:o.getSampleCount(),strings:[]});var p=s.get(i);p.needed&&((!(u.indexOf(d)>-1)||o.allowDuplicates||h)&&(p.strings.push(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({value:d},l,t)),u.push(d),p.needed-=1))})),s}}]),e}();t.default=l},function(e,t,n){"use strict";n.r(t);n(194),n(92),n(193);var r=n(2),i=n(3);function a(e,t){for(var n=0;n1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:null;o(this,e),this.hot=t,this.predefinedItems=Object(a.predefinedItems)(),this.defaultOrderPattern=n}var t,n,i;return t=e,(n=[{key:"setPredefinedItems",value:function(e){var t=this,n={};this.defaultOrderPattern.length=0,Object(r.objectEach)(e,(function(e,r){var i="";e.name===a.SEPARATOR?(n[a.SEPARATOR]=e,i=a.SEPARATOR):isNaN(parseInt(r,10))?(e.key=void 0===e.key?r:e.key,n[r]=e,i=e.key):(n[e.key]=e,i=e.key),t.defaultOrderPattern.push(i)})),this.predefinedItems=n}},{key:"getItems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return u(e,this.defaultOrderPattern,this.predefinedItems)}}])&&s(t.prototype,n),i&&s(t,i),e}();function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=e;return s&&s.items?s=s.items:Array.isArray(s)||(s=t),Object(r.isObject)(s)?Object(r.objectEach)(s,(function(e,t){var i=n["string"==typeof e?e:t];i||(i=e),Object(r.isObject)(e)?Object(r.extend)(i,e):"string"==typeof i&&(i={name:i}),void 0===i.key&&(i.key=t),o.push(i)})):Object(i.arrayEach)(s,(function(e,t){var i=n[e];!i&&a.ITEMS.indexOf(e)>=0||(i||(i={name:e,key:"".concat(t)}),Object(r.isObject)(e)&&Object(r.extend)(i,e),void 0===i.key&&(i.key=t),o.push(i))})),o}t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(10);function i(e,t){for(var n=0;n=1}},{key:"setPosition",value:function(e,t){Object(r.isNumeric)(e)&&(this._element.style.top=e+"px"),Object(r.isNumeric)(t)&&(this._element.style.left=t+"px")}},{key:"getPosition",value:function(){return{top:this._element.style.top?parseInt(this._element.style.top,10):0,left:this._element.style.left?parseInt(this._element.style.left,10):0}}},{key:"setSize",value:function(e,t){Object(r.isNumeric)(e)&&(this._element.style.width=e+"px"),Object(r.isNumeric)(t)&&(this._element.style.height=t+"px")}},{key:"getSize",value:function(){return{width:this._element.style.width?parseInt(this._element.style.width,10):0,height:this._element.style.height?parseInt(this._element.style.height,10):0}}},{key:"setOffset",value:function(e,t){Object(r.isNumeric)(e)&&(this._element.style.marginTop=e+"px"),Object(r.isNumeric)(t)&&(this._element.style.marginLeft=t+"px")}},{key:"getOffset",value:function(){return{top:this._element.style.marginTop?parseInt(this._element.style.marginTop,10):0,left:this._element.style.marginLeft?parseInt(this._element.style.marginLeft,10):0}}}])&&i(t.prototype,n),a&&i(t,a),e}();t.default=a},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=1}},{key:"setPosition",value:function(e,t){void 0!==e&&(this._element.style.top=e+"px"),void 0!==t&&(this._element.style.left=t+"px")}},{key:"getPosition",value:function(){return{top:this._element.style.top?parseInt(this._element.style.top,10):0,left:this._element.style.left?parseInt(this._element.style.left,10):0}}},{key:"setSize",value:function(e,t){e&&(this._element.style.width=e+"px"),t&&(this._element.style.height=t+"px")}},{key:"getSize",value:function(){return{width:this._element.style.width?parseInt(this._element.style.width,10):0,height:this._element.style.height?parseInt(this._element.style.height,10):0}}},{key:"setOffset",value:function(e,t){e&&(this._element.style.marginTop=e+"px"),t&&(this._element.style.marginLeft=t+"px")}},{key:"getOffset",value:function(){return{top:this._element.style.marginTop?parseInt(this._element.style.marginTop,10):0,left:this._element.style.marginLeft?parseInt(this._element.style.marginLeft,10):0}}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){"use strict";n.r(t);n(56),n(108),n(123),n(195),n(252);var r=n(2),i=n(3),a=n(104),o=n(115),s=n(51),l=n(293),u=n(239);function c(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["The column of index "," has been already applied with a `","`\n filter operation. Use `removeConditions` to clear the current conditions and then add new ones.\n Mind that you cannot mix different types of operations (for instance, if you use `conjunction`,\n use it consequently for a particular column)."],["The column of index "," has been already applied with a \\`","\\`\n filter operation. Use \\`removeConditions\\` to clear the current conditions and then add new ones.\n Mind that you cannot mix different types of operations (for instance, if you use \\`conjunction\\`,\n use it consequently for a particular column)."]);return c=function(){return e},e}function d(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:l.OPERATION_ID;return!e.length||Object(u.getOperationFunc)(n)(e,t)}},{key:"addCondition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.OPERATION_ID,i=Object(r.arrayMap)(t.args,(function(e){return"string"==typeof e?e.toLowerCase():e})),o=t.name||t.command.key;this.runLocalHooks("beforeAdd",e),-1===this.orderStack.indexOf(e)&&this.orderStack.push(e);var u=this.columnTypes[e];if(u){if(u!==n)throw Error(Object(a.toSingleLine)(c(),e,u))}else{if(!this.conditions[n])throw new Error("Unexpected operation named `".concat(n,"`. Possible ones are `disjunction` and `conjunction`."));this.columnTypes[e]=n}this.getConditions(e).push({name:o,args:i,func:Object(s.getCondition)(o,i)}),this.runLocalHooks("afterAdd",e)}},{key:"getConditions",value:function(e){var t=this.columnTypes[e];return t?(this.conditions[t][e]||(this.conditions[t][e]=[]),this.conditions[t][e]):[]}},{key:"exportAllConditions",value:function(){var e=this,t=[];return Object(r.arrayEach)(this.orderStack,(function(n){var i=Object(r.arrayMap)(e.getConditions(n),(function(e){return{name:e.name,args:e.args}})),a=e.columnTypes[n];t.push({column:n,operation:a,conditions:i})})),t}},{key:"importAllConditions",value:function(e){var t=this;this.clean(),Object(r.arrayEach)(e,(function(e){t.orderStack.push(e.column),Object(r.arrayEach)(e.conditions,(function(n){return t.addCondition(e.column,n)}))}))}},{key:"removeConditions",value:function(e){this.runLocalHooks("beforeRemove",e),this.orderStack.indexOf(e)>=0&&this.orderStack.splice(this.orderStack.indexOf(e),1),this.clearConditions(e),this.runLocalHooks("afterRemove",e)}},{key:"clearConditions",value:function(e){this.runLocalHooks("beforeClear",e),this.getConditions(e).length=0,delete this.columnTypes[e],this.runLocalHooks("afterClear",e)}},{key:"hasConditions",value:function(e,t){if(!this.columnTypes[e])return!1;var n=this.getConditions(e);return t?Object(r.arrayFilter)(n,(function(e){return e.name===t})).length>0:n.length>0}},{key:"clean",value:function(){this.runLocalHooks("beforeClean"),this.columnTypes=Object.create(null),this.orderStack.length=0,this.conditions=this.initConditionsCollection(),this.runLocalHooks("afterClean")}},{key:"destroy",value:function(){this.clearLocalHooks(),this.conditions=null,this.orderStack=null,this.columnTypes=null}},{key:"initConditionsCollection",value:function(){var e=Object.create(null);return Object(i.objectEach)(u.operations,(function(t,n){e[n]=Object.create(null)})),e}}])&&d(t.prototype,n),o&&d(t,o),e}();Object(i.mixin)(f,o.default),t.default=f},function(e,t,n){"use strict";n.r(t);var r=n(2);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:function(){return[]};i(this,e),this.conditionCollection=t,this.columnDataFactory=n}var t,n,o;return t=e,(n=[{key:"filter",value:function(){var e=this,t=[];return this.conditionCollection.isEmpty()||Object(r.arrayEach)(this.conditionCollection.orderStack,(function(n,r){var i=e.columnDataFactory(n);r&&(i=e._getIntersectData(i,t)),t=e.filterByColumn(n,i)})),t}},{key:"filterByColumn",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=[];return Object(r.arrayEach)(n,(function(n){void 0!==n&&t.conditionCollection.isMatch(n,e)&&i.push(n)})),i}},{key:"_getIntersectData",value:function(e,t){var n=[];return Object(r.arrayEach)(t,(function(t){var r=t.meta.visualRow;void 0!==e[r]&&(n[r]=e[r])})),n}}])&&a(t.prototype,n),o&&a(t,o),e}();t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(143),i=n(3);function a(e,t){for(var n=0;n0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function u(e){var t=e.getLabelModel().get("customValues");if(t){var n=Object(o.makeLabelFormatter)(e);return{labels:l(e,t).map((function(t){var r={value:t};return{formattedLabel:n(r),rawLabel:e.scale.getLabel(r),tickValue:t}}))}}return"category"===e.type?function(e){var t=e.getLabelModel(),n=d(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=Object(o.makeLabelFormatter)(e);return{labels:r.map(t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}(e)}function c(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:l(e,n)}:"category"===e.type?function(e,t){var n,i,a=f(e,"ticks"),s=Object(o.getOptionCategoryInterval)(t),l=h(a,s);if(l)return l;t.get("show")&&!e.scale.isBlank()||(n=[]);if(r.isFunction(s))n=v(e,s,!0);else if("auto"===s){var u=d(e,e.getLabelModel());i=u.labelCategoryInterval,n=r.map(u.labels,(function(e){return e.tickValue}))}else n=g(e,i=s,!0);return p(a,s,{ticks:n,tickCategoryInterval:i})}(e,t):{ticks:r.map(e.scale.getTicks(),(function(e){return e.value}))}}function d(e,t){var n,i,a=f(e,"labels"),l=Object(o.getOptionCategoryInterval)(t),u=h(a,l);return u||(r.isFunction(l)?n=v(e,l):(i="auto"===l?function(e){var t=s(e).autoInterval;return null!=t?t:s(e).autoInterval=e.calculateCategoryInterval()}(e):l,n=g(e,i)),p(a,l,{labels:n,labelCategoryInterval:i}))}function f(e,t){return s(e)[t]||(s(e)[t]=[])}function h(e,t){for(var n=0;n40&&(c=Math.max(1,Math.floor(u/40)));for(var d=l[0],f=e.dataToCoord(d+1)-e.dataToCoord(d),h=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),m=0,g=0;d<=l[1];d+=c){var v,_,y=i.getBoundingRect(n({value:d}),t.font,"center","top");v=1.3*y.width,_=1.3*y.height,m=Math.max(m,v,7),g=Math.max(g,_,7)}var b=m/h,S=g/p;isNaN(b)&&(b=1/0),isNaN(S)&&(S=1/0);var E=Math.max(0,Math.floor(Math.min(b,S))),w=s(e.model),T=e.getExtent(),O=w.lastAutoInterval,C=w.lastTickCount;return null!=O&&null!=C&&Math.abs(O-E)<=1&&Math.abs(C-u)<=1&&O>E&&w.axisExtent0===T[0]&&w.axisExtent1===T[1]?E=O:(w.lastTickCount=u,w.lastAutoInterval=E,w.axisExtent0=T[0],w.axisExtent1=T[1]),E}function g(e,t,n){var r=Object(o.makeLabelFormatter)(e),i=e.scale,a=i.getExtent(),s=e.getLabelModel(),l=[],u=Math.max((t||0)+1,1),c=a[0],d=i.count();0!==c&&u>1&&d/u>2&&(c=Math.round(Math.ceil(c/u)*u));var f=Object(o.shouldShowAllLabels)(e),h=s.get("showMinLabel")||f,p=s.get("showMaxLabel")||f;h&&c!==a[0]&&g(a[0]);for(var m=c;m<=a[1];m+=u)g(m);function g(e){var t={value:e};l.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return p&&m-u!==a[1]&&g(a[1]),l}function v(e,t,n){var i=e.scale,a=Object(o.makeLabelFormatter)(e),s=[];return r.each(i.getTicks(),(function(e){var r=i.getLabel(e),o=e.value;t(e.value,r)&&s.push(n?o:{formattedLabel:a(e),rawLabel:r,tickValue:o})})),s}},function(e,t,n){"use strict";n.r(t);var r=n(66),i=n(0),a=n(152),o=n(131),s=n(183),l=n(219),u=n(36),c=n(96),d=n(93);function f(e,t,n){var r=d.platformApi.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=a*n,r}var h=function(e){function t(t,n,r){var o,s=e.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,r=r||a.devicePixelRatio,"string"==typeof t?o=f(t,n,r):i.isObject(t)&&(t=(o=t).id),s.id=t,s.dom=o;var l=o.style;return l&&(i.disableUserSelect(o),o.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=r,s}return Object(r.__extends)(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=f("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,a=[],o=this.maxRepaintRectCount,s=!1,l=new u.default(0,0,0,0);function d(e){if(e.isFinite()&&!e.isZero())if(0===a.length){(t=new u.default(0,0,0,0)).copy(e),a.push(t)}else{for(var t,n=!1,r=1/0,i=0,c=0;c=o)}}for(var f=this.__startIndex;f=0&&(r=g)}}})),r){t.d=!1;var u=g(s,n);return r.replace(a,u)}}(e,t,n))y.push(M);else if(!f)return}else if(!f)return;for(var b={},S=0;S0})).length)return g(y,n)+" "+i[0]+" both"}for(var k in b){var M;(M=x(b[k]))&&y.push(M)}if(y.length){var A=n.zrId+"-cls-"+Object(d.getClassId)();n.cssNodes["."+A]={animation:y.join(",")},t.class=A}}},function(e,t,n){"use strict";n.r(t),n.d(t,"cartesian2DDimensions",(function(){return l}));var r=n(4),i=n(36),a=n(1120),o=n(42),s=n(21),l=["x","y"];function u(e){return"interval"===e.type||"time"===e.type}var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=l,t}return Object(r.__extends)(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(u(e)&&u(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),a=this.dataToPoint([n[1],r[1]]),s=n[1]-n[0],l=r[1]-r[0];if(s&&l){var c=(a[0]-i[0])/s,d=(a[1]-i[1])/l,f=i[0]-n[0]*c,h=i[1]-r[0]*d,p=this._transform=[c,0,0,d,f,h];this._invTransform=Object(o.invert)([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),a=this.getArea(),o=new i.default(n[0],n[1],r[0]-n[0],r[1]-n[1]);return a.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return Object(s.applyTransform)(n,e,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(r,t)),n[1]=o.toGlobalCoord(o.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),a=r.getExtent(),o=n.parse(e[0]),s=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return Object(s.applyTransform)(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,a=Math.min(n[0],n[1])-e,o=Math.max(t[0],t[1])-r+e,s=Math.max(n[0],n[1])-a+e;return new i.default(r,a,o,s)},t}(a.default);t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"geo2DDimensions",(function(){return c}));var r=n(4),i=n(0),a=n(36),o=n(290),s=n(174),l=n(6),u={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},c=["lng","lat"],d=function(e){function t(t,n,r){var a=e.call(this,t)||this;a.dimensions=c,a.type="geo",a._nameCoordMap=i.createHashMap(),a.map=n;var o,l=r.projection,d=s.default.load(n,r.nameMap,r.nameProperty),f=s.default.getGeoResource(n),h=(a.resourceType=f?f.type:null,a.regions=d.regions),p=u[f.type];if(a._regionsMap=d.regionsMap,a.regions=d.regions,a.projection=l,l)for(var m=0;m=0?r+=m:r-=m:b>=0?r-=m:r+=m}return r}function h(e,t){var n=[],o=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,r){var c=e.getLayout(),d=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");c.__original||(c.__original=[i.clone(c[0]),i.clone(c[1])],c[2]&&c.__original.push(i.clone(c[2])));var p=c.__original;if(null!=c[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),d&&"none"!==d){var m=Object(a.getSymbolSize)(e.node1),g=f(s,p[0],m*t);o(s[0][0],s[1][0],s[2][0],g,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],g,n),s[0][1]=n[3],s[1][1]=n[4]}if(h&&"none"!==h){m=Object(a.getSymbolSize)(e.node2),g=f(s,p[1],m*t);o(s[0][0],s[1][0],s[2][0],g,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],g,n),s[1][1]=n[1],s[2][1]=n[2]}i.copy(c[0],s[0]),i.copy(c[1],s[2]),i.copy(c[2],s[1])}else{if(i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(u,l[1],l[0]),i.normalize(u,u),d&&"none"!==d){m=Object(a.getSymbolSize)(e.node1);i.scaleAndAdd(l[0],l[0],u,m*t)}if(h&&"none"!==h){m=Object(a.getSymbolSize)(e.node2);i.scaleAndAdd(l[1],l[1],u,-m*t)}i.copy(c[0],l[0]),i.copy(c[1],l[1])}}))}},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(45),a=n(212),o=n(0),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(i.default);Object(o.mixin)(s,a.AxisModelCommonMixin.prototype),t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));var r=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;ra?"asc"===e?i.FIRST_AFTER_SECOND:i.FIRST_BEFORE_SECOND:i.DO_NOT_SWAP)}}var o="default"},function(e,t,n){"use strict";n.r(t),n.d(t,"createElement",(function(){return d})),n.d(t,"deactivateElement",(function(){return f})),n.d(t,"destroyElement",(function(){return g}));n(15),n(12),n(16),n(91),n(1739),n(17);var r=n(49),i=n(115),a=n(3),o=n(110),s=n(1);function l(e,t){for(var n=0;n0&&(t-=1),f(e),t<=0){t=0;var n=m.get(e.container);n&&n.parentNode&&(n.parentNode.removeChild(n),m.delete(e.container)),e.mainElement=null}c.set(e.container,t)}}},function(e,t,n){ /*! * https://github.com/Starcounter-Jack/JSON-Patch * json-patch-duplex.js version: 0.5.7 * (c) 2013 Joachim Wester * MIT license */ var r,i=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=Error;!function(e){var t=function(e){if(l(e)){for(var t=new Array(e.length),n=0;n0&&(e.patches=[],e.callback&&e.callback(i)),i}function p(e,n,r,i){for(var a=t(n),o=t(e),l=!1,u=o.length-1;u>=0;u--){var c=e[h=o[u]];if(n.hasOwnProperty(h)){var d=n[h];"object"==typeof c&&null!=c&&"object"==typeof d&&null!=d?p(c,d,r,i+"/"+s(h)):c!=d&&(!0,r.push({op:"replace",path:i+"/"+s(h),value:f(d)}))}else r.push({op:"remove",path:i+"/"+s(h)}),l=!0}if(l||a.length!=o.length)for(u=0;u=48&&t<=57))return!1;n++}return!0}function g(e,t,i){for(var a,s,u=!1,c=0,d=t.length;c=g){u=o[a.op].call(a,h,s,e);break}if(l(h)){if("-"===s)s=h.length;else{if(i&&!m(s))throw new v("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",c-1,a.path,a);s=parseInt(s,10)}if(p>=g){if(i&&"add"===a.op&&s>h.length)throw new v("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",c-1,a.path,a);u=r[a.op].call(a,h,s,e);break}}else if(s&&-1!=s.indexOf("~")&&(s=s.replace(/~1/g,"/").replace(/~0/g,"~")),p>=g){u=n[a.op].call(a,h,s,e);break}h=h[s]}}return u}e.unobserve=function(e,t){t.unobserve()},e.observe=function(e,t){var n,r=function(e){for(var t=0,n=u.length;tn.inputsCount-1)return!1;var i=t.getInputElement(r);i.setValue(e),i[n.inputsCount>r?"show":"hide"](),r||setTimeout((function(){return i.focus()}),10)}))}}},{key:"getState",value:function(){var e=this.getSelectElement().getValue()||Object(h.getConditionDescriptor)(c.CONDITION_NONE),t=[];return Object(a.arrayEach)(this.getInputElements(),(function(n,r){e.inputsCount>r&&t.push(n.getValue())})),{command:e,args:t}}},{key:"updateState",value:function(e,t){var n=e?Object(h.getConditionDescriptor)(e.name):Object(h.getConditionDescriptor)(c.CONDITION_NONE);this.setCachedState(t,{command:n,args:e?e.args:[]}),e||Object(a.arrayEach)(this.getInputElements(),(function(e){return e.setValue(null)}))}},{key:"getSelectElement",value:function(){return this.elements.filter((function(e){return e instanceof f.default}))[0]}},{key:"getInputElement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.getInputElements()[e]}},{key:"getInputElements",value:function(){return this.elements.filter((function(e){return e instanceof d.default}))}},{key:"getMenuItemDescriptor",value:function(){var e=this;return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:function(){return e.isHidden()},renderer:function(t,n,i,o,s,l){Object(r.addClass)(n.parentNode,"htFiltersMenuCondition"),e.addSeparator&&Object(r.addClass)(n.parentNode,"border");var u=e.hot.rootDocument.createElement("div");return Object(r.addClass)(u,"htFiltersMenuLabel"),u.textContent=l,n.appendChild(u),n.parentNode.hasAttribute("ghost-table")||Object(a.arrayEach)(e.elements,(function(e){return n.appendChild(e.element)})),n}}}},{key:"reset",value:function(){var e,n=this.hot.getPlugin("filters").getSelectedColumn(),r=n&&n.visualIndex,i=(e=this.hot).getDataType.apply(e,m(this.hot.getSelectedLast()||[0,r])),o=Object(c.default)(i);Object(a.arrayEach)(this.getInputElements(),(function(e){return e.hide()})),this.getSelectElement().setItems(o),_(y(t.prototype),"reset",this).call(this),this.getSelectElement().setValue(o[0])}},{key:"onConditionSelect",value:function(e){Object(a.arrayEach)(this.getInputElements(),(function(t,n){t[e.inputsCount>n?"show":"hide"](),n||setTimeout((function(){return t.focus()}),10)})),this.runLocalHooks("change",e)}},{key:"onSelectUIClosed",value:function(){this.runLocalHooks("afterClose")}},{key:"onInputKeyDown",value:function(e){Object(o.isKey)(e.keyCode,"ENTER")?(this.runLocalHooks("accept"),Object(i.stopImmediatePropagation)(e)):Object(o.isKey)(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(i.stopImmediatePropagation)(e))}}])&&g(n.prototype,u),p&&g(n,p),t}(u.default);t.default=S},function(e,t,n){"use strict";n.r(t);var r=n(71),i=n(54);t.default=function(e,t,n,a,o){var s=e.type,l=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(Object(i.isEmptyValue)(t,s)&&!e.required)return n();r.default.required(e,t,a,l,o,s),Object(i.isEmptyValue)(t,s)||r.default.type(e,t,a,l,o)}n(l)}},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d1)for(var n=1;n=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l}).call(this,n(626))},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n(1461),i=n(1462),a=n(1463);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var d=!0,f=0;fi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(r,i),c=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function D(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function L(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,a){return a||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,a){return a||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(188))},function(e,t,n){"use strict";n.r(t),n.d(t,"getTextRect",(function(){return i}));var r=n(70);function i(e,t,n,i,a,o,s,l){return new r.default({style:{text:e,font:t,align:n,verticalAlign:i,padding:a,rich:o,overflow:s?"truncate":null,lineHeight:l}}).getBoundingRect()}},function(e,t,n){"use strict";n.r(t);var r=n(66),i=n(90),a=n(36),o=[],s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return Object(r.__extends)(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){"use strict";var r=n(300),i=n(23),a=n(190),o=n(189),s=n(365),l=n(643),u=n(362),c=n(209),d=n(119)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var _,y,b,S=function(e){if(!f&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",w="values"==m,T=!1,O=e.prototype,C=O[d]||O["@@iterator"]||m&&O[m],x=C||S(m),k=m?w?S("entries"):x:void 0,M="Array"==t&&O.entries||C;if(M&&(b=c(M.call(new e)))!==Object.prototype&&b.next&&(u(b,E,!0),r||"function"==typeof b[d]||o(b,d,h)),w&&C&&"values"!==C.name&&(T=!0,x=function(){return C.call(this)}),r&&!v||!f&&!T&&O[d]||o(O,d,x),s[t]=x,s[E]=h,m)if(_={values:w?x:S("values"),keys:g?x:S("keys"),entries:k},v)for(y in _)y in O||a(O,y,_[y]);else i(i.P+i.F*(f||T),t,_);return _}},function(e,t,n){"use strict";var r=n(332),i=n(328),a=n(362),o={};n(189)(o,n(119)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(502),i=n(247);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(119)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(365),i=n(119)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(137),i=n(328);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(363),i=n(119)("iterator"),a=n(365);e.exports=n(227).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(1575);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(146),i=n(331),a=n(121);e.exports=function(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(302),i=n(935),a=n(365),o=n(207);e.exports=n(642)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,a=n(436),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,u=(r=/a/,i=/b*/g,o.call(r,"a"),o.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(u||c)&&(l=function(e){var t,n,r,i,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),u&&(t=l.lastIndex),r=o.call(l,e),u&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),c&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;in;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete v[e]},"process"==n(229)(d)?r=function(e){d.nextTick(o(_,e,1))}:m&&m.now?r=function(e){m.now(o(_,e,1))}:p?(a=(i=new p).port2,i.port1.onmessage=y,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),_.call(e)}}:function(e){setTimeout(o(_,e,1),0)}),e.exports={set:f,clear:h}},function(e,t,n){var r=n(86),i=n(654).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n(229)(o);e.exports=function(){var e,t,n,u=function(){var r,i;for(l&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new a(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t,n){"use strict";var r=n(171);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";var r=n(86),i=n(128),a=n(300),o=n(508),s=n(189),l=n(337),u=n(89),c=n(335),d=n(230),f=n(121),h=n(945),p=n(333).f,m=n(137).f,g=n(650),v=n(362),_=r.ArrayBuffer,y=r.DataView,b=r.Math,S=r.RangeError,E=r.Infinity,w=_,T=b.abs,O=b.pow,C=b.floor,x=b.log,k=b.LN2,M=i?"_b":"buffer",A=i?"_l":"byteLength",R=i?"_o":"byteOffset";function I(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,l=(1<>1,c=23===t?O(2,-24)-O(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for((e=T(e))!=e||e===E?(i=e!=e?1:0,r=l):(r=C(x(e)/k),e*(a=O(2,-r))<1&&(r--,a*=2),(e+=r+u>=1?c/a:c*O(2,1-u))*a>=2&&(r++,a/=2),r+u>=l?(i=0,r=l):r+u>=1?(i=(e*a-1)*O(2,t),r+=u):(i=e*O(2,u-1)*O(2,t),r=0));t>=8;o[d++]=255&i,i/=256,t-=8);for(r=r<0;o[d++]=255&r,r/=256,s-=8);return o[--d]|=128*f,o}function D(e,t,n){var r,i=8*n-t-1,a=(1<>1,s=i-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===c)c=1-o;else{if(c===a)return r?NaN:u?-E:E;r+=O(2,t),c-=o}return(u?-1:1)*r*O(2,c-t)}function N(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function L(e){return[255&e]}function P(e){return[255&e,e>>8&255]}function j(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function F(e){return I(e,52,8)}function B(e){return I(e,23,4)}function H(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function U(e,t,n,r){var i=h(+n);if(i+t>e[A])throw S("Wrong index!");var a=e[M]._b,o=i+e[R],s=a.slice(o,o+t);return r?s:s.reverse()}function Y(e,t,n,r,i,a){var o=h(+n);if(o+t>e[A])throw S("Wrong index!");for(var s=e[M]._b,l=o+e[R],u=r(+i),c=0;cG;)(V=z[G++])in _||s(_,V,w[V]);a||(W.constructor=_)}var $=new y(new _(2)),q=y.prototype.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(y.prototype,{setInt8:function(e,t){q.call(this,e,t<<24>>24)},setUint8:function(e,t){q.call(this,e,t<<24>>24)}},!0)}else _=function(e){c(this,_,"ArrayBuffer");var t=h(e);this._b=g.call(new Array(t),0),this[A]=t},y=function(e,t,n){c(this,y,"DataView"),c(e,_,"DataView");var r=e[A],i=d(t);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:f(n))>r)throw S("Wrong length!");this[M]=e,this[R]=i,this[A]=n},i&&(H(_,"byteLength","_l"),H(y,"buffer","_b"),H(y,"byteLength","_l"),H(y,"byteOffset","_o")),l(y.prototype,{getInt8:function(e){return U(this,1,e)[0]<<24>>24},getUint8:function(e){return U(this,1,e)[0]},getInt16:function(e){var t=U(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=U(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return N(U(this,4,e,arguments[1]))},getUint32:function(e){return N(U(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return D(U(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return D(U(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Y(this,1,e,L,t)},setUint8:function(e,t){Y(this,1,e,L,t)},setInt16:function(e,t){Y(this,2,e,P,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,P,t,arguments[2])},setInt32:function(e,t){Y(this,4,e,j,t,arguments[2])},setUint32:function(e,t){Y(this,4,e,j,t,arguments[2])},setFloat32:function(e,t){Y(this,4,e,B,t,arguments[2])},setFloat64:function(e,t){Y(this,8,e,F,t,arguments[2])}});v(_,"ArrayBuffer"),v(y,"DataView"),s(y.prototype,o.VIEW,!0),t.ArrayBuffer=_,t.DataView=y},function(e,t,n){"use strict";var r=n(953),i=n(441);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},function(e,t,n){"use strict";var r=n(305),i=n(98),a=n(660),o=e.exports=i["__core-js_shared__"]||a("__core-js_shared__",{});(o.versions||(o.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,n){"use strict";var r=n(98),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},function(e,t,n){"use strict";var r=n(192),i=n(516),a=n(234),o=function(e){return function(t,n,o){var s=r(t),l=a(s);if(0===l)return!e&&-1;var u,c=i(o,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var r=n(250),i=n(192),a=n(369).f,o=n(343),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return a(e)}catch(e){return o(s)}}(e):a(i(e))}},function(e,t,n){"use strict";var r=n(62),i=n(138),a=n(305),o=n(443),s=n(122),l=n(1689),u=n(448),c=n(665),d=n(449),f=n(341),h=n(233),p=n(120),m=n(447),g=n(965),v=o.PROPER,_=o.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,S=p("iterator"),E=function(){return this};e.exports=function(e,t,n,o,p,g,w){l(n,t,o);var T,O,C,x=function(e){if(e===p&&I)return I;if(!b&&e&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",M=!1,A=e.prototype,R=A[S]||A["@@iterator"]||p&&A[p],I=!b&&R||x(p),D="Array"===t&&A.entries||R;if(D&&(T=u(D.call(new e)))!==Object.prototype&&T.next&&(a||u(T)===y||(c?c(T,y):s(T[S])||h(T,S,E)),d(T,k,!0,!0),a&&(m[k]=E)),v&&"values"===p&&R&&"values"!==R.name&&(!a&&_?f(A,"name","values"):(M=!0,I=function(){return i(R,this)})),p)if(O={values:x("values"),keys:g?I:x("keys"),entries:x("entries")},w)for(C in O)(b||M||!(C in A))&&h(A,C,O[C]);else r({target:t,proto:!0,forced:b||M},O);return a&&!w||A[S]===I||h(A,S,I,{name:p}),m[t]=I,O}},function(e,t,n){"use strict";var r=n(1690),i=n(129),a=n(172),o=n(1691);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return a(n),o(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},function(e,t,n){"use strict";e.exports=function(e,t){return{value:e,done:t}}},function(e,t,n){"use strict";var r={};r[n(120)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(79),i=n(306),a=n(139),o=n(172),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,d=a(o(t)),f=i(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=l(d,f))<55296||r>56319||f+1===h||(c=l(d,f+1))<56320||c>57343?e?s(d,f):r:e?u(d,f,f+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},function(e,t,n){"use strict";var r=n(76);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var r=n(233);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(451),i=n(138),a=n(147),o=n(367),s=n(967),l=n(234),u=n(303),c=n(968),d=n(672),f=n(969),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,v,_,y,b,S,E,w=n&&n.that,T=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),k=r(t,w),M=function(e){return g&&f(g,"normal",e),new p(!0,e)},A=function(e){return T?(a(e),x?k(e[0],e[1],M):k(e[0],e[1])):x?k(e,M):k(e)};if(O)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw new h(o(e)+" is not iterable");if(s(v)){for(_=0,y=l(e);y>_;_++)if((b=A(e[_]))&&u(m,b))return b;return new p(!1)}g=c(e,v)}for(S=O?e.next:g.next;!(E=i(S,g)).done;){try{b=A(E.value)}catch(e){f(g,"throw",e)}if("object"==typeof b&&b&&u(m,b))return b}return new p(!1)}},function(e,t,n){"use strict";var r=n(519),i=n(339),a=n(232),o=n(447),s=n(120)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[r(e)]}},function(e,t,n){"use strict";var r=n(303),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},function(e,t,n){"use strict";var r=n(122),i=n(129),a=n(665);e.exports=function(e,t,n){var o,s;return a&&r(o=t.constructor)&&o!==n&&i(s=o.prototype)&&s!==n.prototype&&a(e,s),e}},function(e,t,n){"use strict";var r=n(1697);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},function(e,t,n){"use strict";var r,i,a=n(138),o=n(79),s=n(139),l=n(981),u=n(677),c=n(368),d=n(307),f=n(279).get,h=n(984),p=n(985),m=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,_=o("".charAt),y=o("".indexOf),b=o("".replace),S=o("".slice),E=(i=/b*/g,a(g,r=/a/,"a"),a(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),w=u.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(E||T||w||h||p)&&(v=function(e){var t,n,r,i,o,u,c,h=this,p=f(h),O=s(e),C=p.raw;if(C)return C.lastIndex=h.lastIndex,t=a(v,C,O),h.lastIndex=C.lastIndex,t;var x=p.groups,k=w&&h.sticky,M=a(l,h),A=h.source,R=0,I=O;if(k&&(M=b(M,"y",""),-1===y(M,"g")&&(M+="g"),I=S(O,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==_(O,h.lastIndex-1))&&(A="(?: "+A+")",I=" "+I,R++),n=new RegExp("^(?:"+A+")",M)),T&&(n=new RegExp("^"+A+"$(?!\\s)",M)),E&&(r=h.lastIndex),i=a(g,k?n:h,I),k?i?(i.input=S(i.input,R),i[0]=S(i[0],R),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:E&&i&&(h.lastIndex=h.global?i.index+i[0].length:r),T&&i&&i.length>1&&a(m,i[0],n,(function(){for(o=1;on,l=o(r)?r:d(r),f=s?u(arguments,n):[],h=s?function(){a(l,this,f)}:l;return t?e(h,i):e(h)}:e}},function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=o(n(1749)),i=o(n(160)),a=o(n(1750));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,o(n(1751)).default)(i.default),l=r.default,u=!1,c=function(){var e=Object.getPrototypeOf(this||i.default).$t;if("function"==typeof e&&i.default.locale)return u||(u=!0,i.default.locale(i.default.config.lang,(0,a.default)(l,i.default.locale(i.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},d=t.t=function(e,t){var n=c.apply(this,arguments);if(null!=n)return n;for(var r=e.split("."),i=l,a=0,o=r.length;a1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var r=d(e),i=r.paddingSize,a=r.borderSize,o=r.boxSizing,s=r.contextStyle;l.setAttribute("style",s+";"+u),l.value=e.value||e.placeholder||"";var c=l.scrollHeight,f={};"border-box"===o?c+=a:"content-box"===o&&(c-=i),l.value="";var h=l.scrollHeight-i;if(null!==t){var p=h*t;"border-box"===o&&(p=p+i+a),c=Math.max(p,c),f.minHeight=p+"px"}if(null!==n){var m=h*n;"border-box"===o&&(m=m+i+a),c=Math.min(m,c)}return f.height=c+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,f}var h=n(9),p=n.n(h),m=n(21),g={name:"ElInput",componentName:"ElInput",mixins:[a.a,s.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return p()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type)if(e){var t=e.minRows,n=e.maxRows;this.textareaCalcStyle=f(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:f(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(m.isKorean)(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var a=i.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new a.default((0,o.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},function(e,t){e.exports=function(e,t,n,r){var i,a=0;return"boolean"!=typeof t&&(r=n,n=t,t=void 0),function(){var o=this,s=Number(new Date)-a,l=arguments;function u(){a=Number(new Date),n.apply(o,l)}function c(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&s>e?u():!0!==t&&(i=setTimeout(r?c:u,void 0===r?e-s:e))}}},function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=133)}({133:function(e,t,n){"use strict";n.r(t);var r=n(16),i=n(39),a=n.n(i),o=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function u(e){var t=e.move,n=e.size,r=e.bar,i={},a="translate"+r.axis+"("+t+"%)";return i[r.size]=n,i.transform=a,i.msTransform=a,i.webkitTransform=a,i}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=100*(Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=t*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(s.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.$refs.thumb[this.bar.offset]-t))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s.off)(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=a()(),n=this.wrapStyle;if(t){var r="-"+t+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(o.toObject)(this.wrapStyle)).marginRight=n.marginBottom=r:"string"==typeof this.wrapStyle?n+=i:n=i}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),u=void 0;return u=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},u)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e,t,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(r.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r.removeResizeListener)(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t.default=d},16:function(e,t){e.exports=n(686)},2:function(e,t){e.exports=n(282)},3:function(e,t){e.exports=n(236)},39:function(e,t){e.exports=n(684)}})},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(a.default.prototype.$isServer)return;if(!t)return void(e.scrollTop=0);var n=[],r=t.offsetParent;for(;r&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;var i=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),o=i+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;il&&(e.scrollTop=o-e.clientHeight)};var r,i=n(160),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";t.__esModule=!0;var r=r||{};r.Utils=r.Utils||{},r.Utils.focusFirstDescendant=function(e){for(var t=0;t=0;t--){var n=e.childNodes[t];if(r.Utils.attemptFocus(n)||r.Utils.focusLastDescendant(n))return!0}return!1},r.Utils.attemptFocus=function(e){if(!r.Utils.isFocusable(e))return!1;r.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(e){}return r.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},r.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var r=document.createEvent(n),i=arguments.length,a=Array(i>2?i-2:0),o=2;o0?r:n)(e)}},function(e,t,n){var r=n(697)("keys"),i=n(540);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(459),i=n(312),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(539)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(694);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(377).f,i=n(346),a=n(379)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){t.f=n(379)},function(e,t,n){var r=n(312),i=n(459),a=n(539),o=n(703),s=n(377).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},function(e,t,n){"use strict";n.r(t),n.d(t,"clone",(function(){return b})),n.d(t,"split",(function(){return S}));var r=n(201),i=n(36),a=n(55),o=n(0),s=n(158),l=n(74),u=n(166),c=n(486),d=n(218);function f(e,t,n){var r=e[t],i=e[1-t],a=Math.abs(r/i),o=Math.ceil(Math.sqrt(a*n)),s=Math.floor(n/o);0===s&&(s=1,o=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),d=f([l,u],c?0:1,t),h=(c?s:u)/d.length,p=0;p1?null:new a.default(m*u+e,m*c+t)}function g(e,t,n){var r=new a.default;a.default.sub(r,n,t),r.normalize();var i=new a.default;return a.default.sub(i,e,t),i.dot(r)}function v(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function _(e){var t=e.points,n=[],o=[];Object(r.fromPoints)(t,n,o);var s=new i.default(n[0],n[1],o[0]-n[0],o[1]-n[1]),l=s.width,u=s.height,c=s.x,d=s.y,f=new a.default,h=new a.default;return l>u?(f.x=h.x=c+l/2,f.y=d,h.y=d+u):(f.y=h.y=d+u/2,f.x=c,h.x=c+l),function(e,t,n){for(var r=e.length,i=[],a=0;ai,o=f([r,i],a?0:1,t),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",d=e[s]/o.length,h=0;ha;)i.removeChild(i.lastChild),this.renderedNodes-=1}var l=this.rootNode.childNodes.length;if(l>t)for(var u=t;ut;)this.rootNode.removeChild(this.rootNode.lastChild),this.renderedNodes-=1}},{key:"render",value:function(){this.adjust();for(var e=this.table,t=e.columnsToRender,n=e.rowHeadersCount,r=0;r1e3&&(h=!0,Object(r.warn)(Object(i.toSingleLine)(l()))),this.orderView.setSize(e).setOffset(this.table.renderedRowToSource(0)).start();for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},i=n.cellRenderer;r(this,e),this.rootNode=t,this.rootDocument=this.rootNode.ownerDocument,this.rowHeaders=null,this.columnHeaders=null,this.colGroup=null,this.rows=null,this.cells=null,this.rowFilter=null,this.columnFilter=null,this.rowUtils=null,this.columnUtils=null,this.rowsToRender=0,this.columnsToRender=0,this.rowHeaderFunctions=[],this.rowHeadersCount=0,this.columnHeaderFunctions=[],this.columnHeadersCount=0,this.cellRenderer=i}var t,n,a;return t=e,(n=[{key:"setAxisUtils",value:function(e,t){this.rowUtils=e,this.columnUtils=t}},{key:"setViewportSize",value:function(e,t){this.rowsToRender=e,this.columnsToRender=t}},{key:"setFilters",value:function(e,t){this.rowFilter=e,this.columnFilter=t}},{key:"setHeaderContentRenderers",value:function(e,t){this.rowHeaderFunctions=e,this.rowHeadersCount=e.length,this.columnHeaderFunctions=t,this.columnHeadersCount=t.length}},{key:"setRenderers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rowHeaders,n=e.columnHeaders,r=e.colGroup,i=e.rows,a=e.cells;t.setTable(this),n.setTable(this),r.setTable(this),i.setTable(this),a.setTable(this),this.rowHeaders=t,this.columnHeaders=n,this.colGroup=r,this.rows=i,this.cells=a}},{key:"renderedRowToSource",value:function(e){return this.rowFilter.renderedToSource(e)}},{key:"renderedColumnToSource",value:function(e){return this.columnFilter.renderedToSource(e)}},{key:"render",value:function(){this.colGroup.adjust(),this.columnHeaders.adjust(),this.rows.adjust(),this.rowHeaders.adjust(),this.columnHeaders.render(),this.rows.render(),this.rowHeaders.render(),this.cells.render(),this.columnUtils.calculateWidths(),this.colGroup.render();for(var e=this.rowsToRender,t=this.rows,n=0;nn}Object(i.registerCondition)(o,s,{name:r.FILTERS_CONDITIONS_GREATER_THAN,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return o})),n.d(t,"condition",(function(){return s}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(8),i=n(51);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o="gte";function s(e,t){var n=a(t,1)[0];return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value>=n}Object(i.registerCondition)(o,s,{name:r.FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return o})),n.d(t,"condition",(function(){return s}));n(18),n(19),n(20),n(15),n(12),n(31),n(16),n(17);var r=n(8),i=n(51);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o="lt";function s(e,t){var n=a(t,1)[0];return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.valuet&&c>r&&c>a&&c>s||c1&&(d=void 0,d=h[0],h[0]=h[1],h[1]=d),v=l.cubicAt(t,r,a,s,h[0]),g>1&&(_=l.cubicAt(t,r,a,s,h[1]))),2===g?bt&&s>r&&s>a||s=0&&c<=1){for(var d=0,h=l.quadraticAt(t,r,a,c),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);f[0]=-l,f[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=d-1e-4){r=0,i=d;var c=a?1:-1;return o>=f[0]+e&&o<=f[1]+e?c:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=d,i+=d);for(var p=0,m=0;m<2;m++){var g=f[m];if(g+e>o){var v=Math.atan2(s,g);c=a?1:-1;v<0&&(v=d+v),(v>=r&&v<=i||v+d>=r&&v+d<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),p+=c)}}return p}function v(e,t,n,r,l){for(var d,f,h,v,_=e.data,y=e.len(),b=0,S=0,E=0,w=0,T=0,O=0;O1&&(n||(b+=Object(u.default)(S,E,w,T,r,l))),x&&(w=S=_[O],T=E=_[O+1]),C){case c.M:S=w=_[O++],E=T=_[O++];break;case c.L:if(n){if(i.containStroke(S,E,_[O],_[O+1],t,r,l))return!0}else b+=Object(u.default)(S,E,_[O],_[O+1],r,l)||0;S=_[O++],E=_[O++];break;case c.C:if(n){if(a.containStroke(S,E,_[O++],_[O++],_[O++],_[O++],_[O],_[O+1],t,r,l))return!0}else b+=p(S,E,_[O++],_[O++],_[O++],_[O++],_[O],_[O+1],r,l)||0;S=_[O++],E=_[O++];break;case c.Q:if(n){if(o.containStroke(S,E,_[O++],_[O++],_[O],_[O+1],t,r,l))return!0}else b+=m(S,E,_[O++],_[O++],_[O],_[O+1],r,l)||0;S=_[O++],E=_[O++];break;case c.A:var k=_[O++],M=_[O++],A=_[O++],R=_[O++],I=_[O++],D=_[O++];O+=1;var N=!!(1-_[O++]);d=Math.cos(I)*A+k,f=Math.sin(I)*R+M,x?(w=d,T=f):b+=Object(u.default)(S,E,d,f,r,l);var L=(r-k)*R/A+k;if(n){if(s.containStroke(k,M,R,I,I+D,N,t,L,l))return!0}else b+=g(k,M,R,I,I+D,N,L,l);S=Math.cos(I+D)*A+k,E=Math.sin(I+D)*R+M;break;case c.R:if(w=S=_[O++],T=E=_[O++],d=w+_[O++],f=T+_[O++],n){if(i.containStroke(w,T,d,T,t,r,l)||i.containStroke(d,T,d,f,t,r,l)||i.containStroke(d,f,w,f,t,r,l)||i.containStroke(w,f,w,T,t,r,l))return!0}else b+=Object(u.default)(d,T,d,f,r,l),b+=Object(u.default)(w,f,w,T,r,l);break;case c.Z:if(n){if(i.containStroke(S,E,w,T,t,r,l))return!0}else b+=Object(u.default)(S,E,w,T,r,l);S=w,E=T}}return n||(h=E,v=T,Math.abs(h-v)<1e-4)||(b+=Object(u.default)(S,E,w,T,r,l)||0),0!==b}function _(e,t,n){return v(e,0,!1,t,n)}function y(e,t,n,r){return v(e,t,!0,n,r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(317),a=n(99),o=n(559),s=n(561),l=n(6),u=function(){function e(e,t,n,i){this._stageTaskMap=Object(r.createHashMap)(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,a=r&&r.modDataCount;return{step:i,modBy:null!=a?Math.ceil(a/i):null,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),i=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,a=e.get("large")&&r>=e.get("largeThreshold"),o="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:i,modDataCount:o,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(r.createHashMap)();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(r.each)(this._allHandlers,(function(i){var a=e.get(i.uid)||e.set(i.uid,{});Object(r.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,a,t,n),i.overallReset&&this._createOverallStageTask(i,a,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=n,a.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,i){i=i||{};var a=!1,o=this;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(r.each)(e,(function(e,r){if(!i.visualType||i.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,f=c.agentStubMap;f.each((function(e){s(i,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,n);var h=o.getPerformArgs(c,i.block);f.each((function(e){e.perform(h)})),c.perform(h)&&(a=!0)}else u&&u.each((function(r,l){s(i,r)&&r.dirty();var u=o.getPerformArgs(r,i.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(r.context.model),o.updatePayload(r,n),r.perform(u)&&(a=!0)}))}})),this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,a){var o=this,s=t.seriesTaskMap,l=t.seriesTaskMap=Object(r.createHashMap)(),u=e.seriesType,c=e.getTargetSeries;function d(t){var r=t.uid,u=l.set(r,s&&s.get(r)||Object(i.createTask)({plan:p,reset:m,count:_}));u.context={model:t,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:o},o._pipe(t,u)}e.createOnAllSeries?n.eachRawSeries(d):u?n.eachRawSeriesByType(u,d):c&&c(n,a).each(d)},e.prototype._createOverallStageTask=function(e,t,n,a){var o=this,s=t.overallTask=t.overallTask||Object(i.createTask)({reset:c});s.context={ecModel:n,api:a,overallReset:e.overallReset,scheduler:o};var l=s.agentStubMap,u=s.agentStubMap=Object(r.createHashMap)(),f=e.seriesType,p=e.getTargetSeries,m=!0,g=!1;function v(e){var t=e.uid,n=u.set(t,l&&l.get(t)||(g=!0,Object(i.createTask)({reset:d,onDirty:h})));n.context={model:e,overallProgress:m},n.agent=s,n.__block=m,o._pipe(e,n)}Object(r.assert)(!e.createOnAllSeries,""),f?n.eachRawSeriesByType(f,v):p?p(n,a).each(v):(m=!1,Object(r.each)(n.getSeries(),v)),g&&s.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(r.isFunction)(e)&&(e={overallReset:e,seriesType:y(e)}),e.uid=Object(a.getUID)("stageHandler"),t&&(e.visualType=t),e},e}();function c(e){e.overallReset(e.ecModel,e.api,e.payload)}function d(e){return e.overallProgress&&f}function f(){this.agent.dirty(),this.getDownstream().dirty()}function h(){this.agent&&this.agent.dirty()}function p(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function m(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Object(l.normalizeToArray)(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(r.map)(t,(function(e,t){return v(t)})):g}var g=v(0);function v(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;ag?f(e,null==n[y+1]?null:n[y+1].elm,n,p,y):h(e,t,l,g))}(n,r,i):l(i)?(l(e.text)&&a.setTextContent(n,""),f(n,null,i,0,i.length-1)):l(r)?h(n,r,0,r.length-1):l(e.text)&&a.setTextContent(n,""):e.text!==t.text&&(l(r)&&h(n,r,0,r.length-1),a.setTextContent(n,t.text)))}function g(e,t){if(c(e,t))m(e,t);else{var n=e.elm,r=a.parentNode(n);d(t),null!==r&&(a.insertBefore(r,t.elm,a.nextSibling(n)),h(r,[e],0,0))}return t}},function(e,t,n){"use strict";n.r(t),n.d(t,"createSectorCalculateTextPosition",(function(){return a})),n.d(t,"setSectorTextRotation",(function(){return o}));var r=n(60),i=n(0);function a(e,t){var n=(t=t||{}).isRoundCap;return function(t,i,a){var o=i.position;if(!o||o instanceof Array)return Object(r.calculateTextPosition)(t,i,a);var u=e(o),c=null!=i.distance?i.distance:5,d=this.shape,f=d.cx,h=d.cy,p=d.r,m=d.r0,g=(p+m)/2,v=d.startAngle,_=d.endAngle,y=(v+_)/2,b=n?Math.abs(p-m)/2:0,S=Math.cos,E=Math.sin,w=f+p*S(v),T=h+p*E(v),O="left",C="top";switch(u){case"startArc":w=f+(m-c)*S(y),T=h+(m-c)*E(y),O="center",C="top";break;case"insideStartArc":w=f+(m+c)*S(y),T=h+(m+c)*E(y),O="center",C="bottom";break;case"startAngle":w=f+g*S(v)+s(v,c+b,!1),T=h+g*E(v)+l(v,c+b,!1),O="right",C="middle";break;case"insideStartAngle":w=f+g*S(v)+s(v,-c+b,!1),T=h+g*E(v)+l(v,-c+b,!1),O="left",C="middle";break;case"middle":w=f+g*S(y),T=h+g*E(y),O="center",C="middle";break;case"endArc":w=f+(p+c)*S(y),T=h+(p+c)*E(y),O="center",C="bottom";break;case"insideEndArc":w=f+(p-c)*S(y),T=h+(p-c)*E(y),O="center",C="top";break;case"endAngle":w=f+g*S(_)+s(_,c+b,!0),T=h+g*E(_)+l(_,c+b,!0),O="left",C="middle";break;case"insideEndAngle":w=f+g*S(_)+s(_,-c+b,!0),T=h+g*E(_)+l(_,-c+b,!0),O="right",C="middle";break;default:return Object(r.calculateTextPosition)(t,i,a)}return(t=t||{}).x=w,t.y=T,t.align=O,t.verticalAlign=C,t}}function o(e,t,n,r){if(Object(i.isNumber)(r))e.setTextConfig({rotation:r});else if(Object(i.isArray)(t))e.setTextConfig({rotation:0});else{var a,o=e.shape,s=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,u=(s+l)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":a=u;break;case"startAngle":case"insideStartAngle":a=s;break;case"endAngle":case"insideEndAngle":a=l;break;default:return void e.setTextConfig({rotation:0})}var d=1.5*Math.PI-a;"middle"===c&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),e.setTextConfig({rotation:d})}}function s(e,t,n){return t*Math.sin(e)*(n?-1:1)}function l(e,t,n){return t*Math.cos(e)*(n?1:-1)}},function(e,t,n){"use strict";n.r(t),n.d(t,"CartesianAxisModel",(function(){return l}));var r=n(4),i=n(0),a=n(45),o=n(212),s=n(6),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",s.SINGLE_REFERRING).models[0]},t.type="cartesian2dAxis",t}(a.default);i.mixin(l,o.AxisModelCommonMixin),t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"CartesianXAxisView",(function(){return v})),n.d(t,"CartesianYAxisView",(function(){return _}));var r=n(4),i=n(0),a=n(43),o=n(13),s=n(144),l=n(162),u=n(179),c=n(271),d=n(423),f=n(112),h=["axisLine","axisTickLabel","axisName"],p=["splitArea","splitLine","minorSplitLine"],m=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return Object(r.__extends)(t,e),t.prototype.render=function(t,n,r,s){this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new a.default,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),m=c.layout(d,t),v=new l.default(t,i.extend({handleAutoShown:function(e){for(var n=d.coordinateSystem.getCartesians(),r=0;r=4&&(c={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(c&&null!=l&&null!=u&&(d=F(c,{x:0,y:0,width:l,height:u}),!t.ignoreViewBox)){var p=r;(r=new i.default).add(p),p.scaleX=p.scaleY=d.scale,p.x=d.x,p.y=d.y}return t.ignoreRootClip||null==l||null==u||r.setClipPath(new s.default({shape:{x:0,y:0,width:l,height:u}})),{root:r,width:l,height:u,viewBoxRect:c,viewBoxTransform:d,named:a}},e.prototype._parseNode=function(e,t,n,i,a,o){var s,l=e.nodeName.toLowerCase(),u=i;if("defs"===l&&(a=!0),"text"===l&&(o=!0),"defs"===l||"switch"===l)s=t;else{if(!a){var c=r[l];if(c&&Object(p.hasOwn)(r,l)){s=c.call(this,e,t);var d=e.getAttribute("name");if(d){var f={name:d,namedFrom:null,svgNodeTagLower:l,el:s};n.push(f),"g"===l&&(u=f)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:s});t.add(s)}}var h=T[l];if(h&&Object(p.hasOwn)(T,l)){var m=h.call(this,e),g=e.getAttribute("id");g&&(this._defs[g]=m)}}if(s&&s.isGroup)for(var v=e.firstChild;v;)1===v.nodeType?this._parseNode(v,s,n,u,a,o):3===v.nodeType&&o&&this._parseText(v,s),v=v.nextSibling},e.prototype._parseText=function(e,t){var n=new v.default({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});x(t,n),M(e,n,this._defsUsePending,!1,!1),function(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",e.style.textBaseline=i}var a=t.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),e.style.textAlign=s)}}(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var a=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=a;var o=n.getBoundingRect();return this._textX+=o.width,t.add(n),n},e.internalField=void(r={g:function(e,t){var n=new i.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new s.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new o.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new u.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new l.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=k(r));var i=new c.default({shape:{points:n||[]},silent:!0});return x(t,i),M(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=k(r));var i=new d.default({shape:{points:n||[]},silent:!0});return x(t,i),M(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new a.default;return x(t,n),M(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new i.default;return x(t,s),M(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",s=new i.default;return x(t,s),M(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(o),s},path:function(e,t){var n=e.getAttribute("d")||"",r=Object(h.createFromString)(n);return x(t,r),M(e,r,this._defsUsePending,!1,!1),r.silent=!0,r}}),e}(),T={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),a=new m.default(t,n,r,i);return O(e,a),C(e,a),a},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new g.default(t,n,r);return O(e,i),C(e,i),i}};function O(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function C(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};j(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function x(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(p.defaults)(t.__inheritedStyle,e.__inheritedStyle))}function k(e){for(var t=D(e),n=[],r=0;r0;a-=2){var o=r[a],s=r[a-1],l=D(o);switch(i=i||f.create(),s){case"translate":f.translate(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":f.scale(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":f.rotate(i,i,-parseFloat(l[0])*L,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*L);f.mul(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(l[0])*L);f.mul(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5])}}t.setLocalTransform(i)}}(e,t),j(e,o,s),r||function(e,t,n){for(var r=0;r=0;n--)s.asc(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;rM&&!Object(p.isRadianAroundZero)(R-M)&&Ro;)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r-1e-4,a=this.r,o=this.r0;return i<=a*a&&i>=o*o}}},e.prototype.convertToPixel=function(e,t,n){return s(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return s(t)===this?this.pointToData(n):null},e}();function s(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}t.default=o},function(e,t,n){"use strict";n.r(t),n.d(t,"PolarAxisModel",(function(){return l})),n.d(t,"AngleAxisModel",(function(){return u})),n.d(t,"RadiusAxisModel",(function(){return c}));var r=n(4),i=n(0),a=n(45),o=n(212),s=n(6),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",s.SINGLE_REFERRING).models[0]},t.type="polarAxis",t}(a.default);i.mixin(l,o.AxisModelCommonMixin);var u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.type="angleAxis",t}(l),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.type="radiusAxis",t}(l)},function(e,t,n){"use strict";n.r(t),n.d(t,"singleDimensions",(function(){return s}));var r=n(1242),i=n(81),a=n(34),o=n(0),s=["single"],l=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=s,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var a=this.dimension,o=new r.default(a,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===o.type;o.onBand=s&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();Object(o.each)(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),i.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=Object(a.getLayoutRect)({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){return u(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return u(t)===this?this.pointToData(n):null},e}();function u(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}t.default=l},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n(45),a=n(109),o=n(0),s=n(6),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,i=this._names=[];"category"===r?(e=[],Object(o.each)(n,(function(t,n){var r,a=Object(s.convertOptionIdName)(Object(s.getDataItemValue)(t),"");Object(o.isObject)(t)?(r=Object(o.clone)(t)).value=n:r=n,e.push(r),i.push(a)}))):e=n;var l={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new a.default([{name:"value",type:l}],this)).initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(i.default);t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return s}));var r=n(1288),i=n(1289),a=n(485),o=n(396);function s(e){Object(o.default)(e),e.registerComponentModel(r.default),e.registerComponentView(i.default),Object(a.installDataZoomRoamProcessor)(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return o}));var r=n(1290),i=n(1291),a=n(396);function o(e){e.registerComponentModel(r.default),e.registerComponentView(i.default),Object(a.default)(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return o}));var r=n(1292),i=n(1293),a=n(590);function o(e){e.registerComponentModel(r.default),e.registerComponentView(i.default),Object(a.default)(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"visualMapActionInfo",(function(){return r})),n.d(t,"visualMapActionHander",(function(){return i}));var r={type:"selectDataRange",event:"dataRangeSelected",update:"update"},i=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"install",(function(){return o}));var r=n(1296),i=n(1297),a=n(590);function o(e){e.registerComponentModel(r.default),e.registerComponentView(i.default),Object(a.default)(e)}},function(e,t,n){"use strict";var r=n(7),i=n(224),a=n(1470);s.httpHandler=n(1471);function o(e,t,n){var r=e;return a(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return l(t=o(e,t,n))}function l(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=u.response?u.response:u.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(u),g)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(c),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,v)}function a(){if(!l){var t;clearTimeout(c),t=e.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var i=v,a=null;return 0!==t?(i={body:r(),statusCode:t,method:f,headers:{},url:d,rawRequest:u},u.getAllResponseHeaders&&(i.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}(u.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,i,i.body)}}var o,l,u=e.xhr||null;u||(u=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var c,d=u.url=e.uri||e.url,f=u.method=e.method||"GET",h=e.body||e.data,p=u.headers=e.headers||{},m=!!e.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:f,url:d,rawRequest:u};if("json"in e&&!1!==e.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==f&&"HEAD"!==f&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),h=JSON.stringify(!0===e.json?h:e.json))),u.onreadystatechange=function(){4===u.readyState&&setTimeout(a,0)},u.onload=a,u.onerror=i,u.onprogress=function(){},u.onabort=function(){l=!0},u.ontimeout=i,u.open(f,d,!m,e.username,e.password),m||(u.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(c=setTimeout((function(){if(!l){l=!0,u.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),u.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&u.setRequestHeader(o,p[o]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(u.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(u),u.send(h||null),u}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n>1&63),-1!==n.indexOf(f)&&(l=u+d),u+=d+("h264"===t?1:2)}else u++}return e.subarray(0,0)},u=function(e,t,n){return l(e,"h264",t,n)},c=function(e,t,n){return l(e,"h265",t,n)}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},b={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},S=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},E=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"},w=function(e,t,n,r){return''+(t?e.reverse():e).join("")+""},T=function(e,t,n,r,i,a){var o,s,l,u,d,f=e._o,h=n===f.minYear,p=n===f.maxYear,m='
',g=!0,v=!0;for(l=[],o=0;o<12;o++)l.push('");for(u='
'+f.i18n.months[r]+'
",c(f.yearRange)?(o=f.yearRange[0],s=f.yearRange[1]+1):(o=n-f.yearRange,s=1+n+f.yearRange),l=[];o=f.minYear&&l.push('");return d='
'+n+f.yearSuffix+'
",f.showMonthAfterYear?m+=d+u:m+=u+d,h&&(0===r||f.minMonth>=r)&&(g=!1),p&&(11===r||f.maxMonth<=r)&&(v=!1),0===t&&(m+='"),t===e._o.numberOfMonths-1&&(m+='"),m+"
"},O=function(o){var l=this,u=l.config(o);l._onMouseDown=function(e){if(l._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(s(t,"is-disabled")||(!s(t,"pika-button")||s(t,"is-empty")||s(t.parentNode,"is-disabled")?s(t,"pika-prev")?l.prevMonth():s(t,"pika-next")&&l.nextMonth():(l.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),u.bound&&i((function(){l.hide(),u.blurFieldOnSelect&&u.field&&u.field.blur()}),100))),s(t,"pika-select"))l._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},l._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(s(t,"pika-select-month")?l.gotoMonth(t.value):s(t,"pika-select-year")&&l.gotoYear(t.value))},l._onKeyChange=function(e){if(e=e||window.event,l.isVisible())switch(e.keyCode){case 13:case 27:u.field&&u.field.blur();break;case 37:e.preventDefault(),l.adjustDate("subtract",1);break;case 38:l.adjustDate("subtract",7);break;case 39:l.adjustDate("add",1);break;case 40:l.adjustDate("add",7)}},l._onInputChange=function(n){var r;n.firedBy!==l&&(r=u.parse?u.parse(u.field.value,u.format):t?(r=e(u.field.value,u.format,u.formatStrict))&&r.isValid()?r.toDate():null:new Date(Date.parse(u.field.value)),d(r)&&l.setDate(r),l._v||l.show())},l._onInputFocus=function(){l.show()},l._onInputClick=function(){l.show()},l._onInputBlur=function(){var e=r.activeElement;do{if(s(e,"pika-single"))return}while(e=e.parentNode);l._c||(l._b=i((function(){l.hide()}),50)),l._c=!1},l._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,r=t;if(t){!n&&s(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),a(t,"change",l._onChange)));do{if(s(r,"pika-single")||r===u.trigger)return}while(r=r.parentNode);l._v&&t!==u.trigger&&r!==u.trigger&&l.hide()}},l.el=r.createElement("div"),l.el.className="pika-single"+(u.isRTL?" is-rtl":"")+(u.theme?" "+u.theme:""),a(l.el,"mousedown",l._onMouseDown,!0),a(l.el,"touchend",l._onMouseDown,!0),a(l.el,"change",l._onChange),u.keyboardInput&&a(r,"keydown",l._onKeyChange),u.field&&(u.container?u.container.appendChild(l.el):u.bound?r.body.appendChild(l.el):u.field.parentNode.insertBefore(l.el,u.field.nextSibling),a(u.field,"change",l._onInputChange),u.defaultDate||(t&&u.field.value?u.defaultDate=e(u.field.value,u.format).toDate():u.defaultDate=new Date(Date.parse(u.field.value)),u.setDefaultDate=!0));var c=u.defaultDate;d(c)?u.setDefaultDate?l.setDate(c,!0):l.gotoDate(c):l.gotoDate(new Date),u.bound?(this.hide(),l.el.className+=" is-bound",a(u.trigger,"click",l._onInputClick),a(u.trigger,"focus",l._onInputFocus),a(u.trigger,"blur",l._onInputBlur)):this.show()};return O.prototype={config:function(e){this._o||(this._o=v({},b,!0));var t=v(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,d(t.minDate)||(t.minDate=!1),d(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,d(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,r){t&&e.isMoment(n)&&this.setDate(n.toDate(),r)},getDate:function(){return d(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",_(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),d(e)){var n=this._o.minDate,r=this._o.maxDate;d(n)&&er&&(e=r),this._d=new Date(e.getTime()),m(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),_(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(d(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),r=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=e.getTime();r.setMonth(r.getMonth()+1),r.setDate(r.getDate()-1),t=i=a&&(this._y=a,!isNaN(s)&&this._m>s&&(this._m=s)),t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var u=0;u'+T(this,u,this.calendars[u].year,this.calendars[u].month,this.calendars[0].year,t)+this.render(this.calendars[u].year,this.calendars[u].month,t)+"
";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&i((function(){n.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,i,a,o,s,c,d,f,h,p;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,i=this.el.offsetHeight,a=window.innerWidth||r.documentElement.clientWidth,o=window.innerHeight||r.documentElement.clientHeight,s=window.pageYOffset||r.body.scrollTop||r.documentElement.scrollTop,h=!0,p=!0,"function"==typeof e.getBoundingClientRect)c=(f=e.getBoundingClientRect()).left+window.pageXOffset,d=f.bottom+window.pageYOffset;else for(c=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)c+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&c+n>a||this._o.position.indexOf("right")>-1&&c-n+e.offsetWidth>0)&&(c=c-n+e.offsetWidth,h=!1),(this._o.reposition&&d+i>o+s||this._o.position.indexOf("top")>-1&&d-i-e.offsetHeight>0)&&(d=d-i-e.offsetHeight,p=!1),this.el.style.left=c+"px",this.el.style.top=d+"px",l(this.el,h?"left-aligned":"right-aligned"),l(this.el,p?"bottom-aligned":"top-aligned"),u(this.el,h?"right-aligned":"left-aligned"),u(this.el,p?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var r=this._o,i=new Date,a=p(e,t),o=new Date(e,t,1).getDay(),s=[],l=[];m(i),r.firstDay>0&&(o-=r.firstDay)<0&&(o+=7);for(var u=0===t?11:t-1,c=11===t?0:t+1,h=0===t?e-1:e,v=11===t?e+1:e,_=p(h,u),y=a+o,b=y;b>7;)b-=7;y+=7-b;for(var T,O,C,x,k=!1,M=0,A=0;M=a+o,P=M-o+1,j=t,F=e,B=r.startRange&&g(r.startRange,R),H=r.endRange&&g(r.endRange,R),U=r.startRange&&r.endRange&&r.startRanger.maxDate||r.disableWeekends&&f(R)||r.disableDayFn&&r.disableDayFn(R),isEmpty:L,isStartRange:B,isEndRange:H,isInRange:U,showDaysInNextAndPreviousMonths:r.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:r.enableSelectionDaysInNextAndPreviousMonths};r.pickWholeWeek&&I&&(k=!0),l.push(E(Y)),7==++A&&(r.showWeekNumber&&l.unshift((T=M-o,O=t,C=e,x=void 0,void 0,x=new Date(C,0,1),''+Math.ceil(((new Date(C,O,T)-x)/864e5+x.getDay()+1)/7)+"")),s.push(w(l,r.isRTL,r.pickWholeWeek,k)),l=[],A=0,k=!1)}return function(e,t,n){return''+function(e){var t,n=[];e.showWeekNumber&&n.push("");for(t=0;t<7;t++)n.push('");return""+(e.isRTL?n.reverse():n).join("")+""}(e)+(r=t,""+r.join("")+"
'+S(e,t,!0)+"
");var r}(r,s,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),u(this.el,"is-hidden"),this._o.bound&&(a(r,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&o(r,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",l(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),o(this.el,"mousedown",this._onMouseDown,!0),o(this.el,"touchend",this._onMouseDown,!0),o(this.el,"change",this._onChange),e.keyboardInput&&o(r,"keydown",this._onKeyChange),e.field&&(o(e.field,"change",this._onInputChange),e.bound&&(o(e.trigger,"click",this._onInputClick),o(e.trigger,"focus",this._onInputFocus),o(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},O}(i)}()},function(e,t,n){"use strict";n.r(t);var r=n(1010);n.d(t,"PersistentState",(function(){return r.default}));var i=n(1011);n.d(t,"AutoColumnSize",(function(){return i.default}));var a=n(1012);n.d(t,"AutoFill",(function(){return a.default}));var o=n(1013);n.d(t,"AutoRowSize",(function(){return o.default}));var s=n(552);n.d(t,"ColumnSorting",(function(){return s.default}));var l=n(1015);n.d(t,"Comments",(function(){return l.default}));var u=n(1016);n.d(t,"ContextMenu",(function(){return u.default}));var c=n(1017);n.d(t,"CopyPaste",(function(){return c.default}));var d=n(1018);n.d(t,"CustomBorders",(function(){return d.default}));var f=n(1024);n.d(t,"DragToScroll",(function(){return f.default}));var h=n(1025);n.d(t,"ManualColumnFreeze",(function(){return h.default}));var p=n(1026);n.d(t,"ManualColumnMove",(function(){return p.default}));var m=n(1027);n.d(t,"ManualColumnResize",(function(){return m.default}));var g=n(1028);n.d(t,"ManualRowMove",(function(){return g.default}));var v=n(1029);n.d(t,"ManualRowResize",(function(){return v.default}));var _=n(1030);n.d(t,"MergeCells",(function(){return _.default}));var y=n(1031);n.d(t,"MultipleSelectionHandles",(function(){return y.default}));var b=n(1032);n.d(t,"ObserveChanges",(function(){return b.default}));var S=n(1033);n.d(t,"Search",(function(){return S.default}));var E=n(1034);n.d(t,"TouchScroll",(function(){return E.default}));var w=n(1035);n.d(t,"UndoRedo",(function(){return w.default}));var T=n(44);n.d(t,"Base",(function(){return T.default}));var O=n(1036);n.d(t,"BindRowsWithHeaders",(function(){return O.default}));var C=n(1039);n.d(t,"CollapsibleColumns",(function(){return C.default}));var x=n(1040);n.d(t,"ColumnSummary",(function(){return x.default}));var k=n(1041);n.d(t,"DropdownMenu",(function(){return k.default}));var M=n(1042);n.d(t,"ExportFile",(function(){return M.default}));var A=n(1043);n.d(t,"MultiColumnSorting",(function(){return A.default}));var R=n(1044);n.d(t,"Filters",(function(){return R.default}));var I=n(1048);n.d(t,"Formulas",(function(){return I.default}));var D=n(1049);n.d(t,"GanttChart",(function(){return D.default}));var N=n(1050);n.d(t,"HeaderTooltips",(function(){return N.default}));var L=n(1051);n.d(t,"NestedHeaders",(function(){return L.default}));var P=n(1052);n.d(t,"NestedRows",(function(){return P.default}));var j=n(1053);n.d(t,"HiddenColumns",(function(){return j.default}));var F=n(1054);n.d(t,"HiddenRows",(function(){return F.default}));var B=n(1055);n.d(t,"TrimRows",(function(){return B.default}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getClassesToAdd",(function(){return a})),n.d(t,"getClassedToRemove",(function(){return o}));n(75),n(88),n(15),n(251),n(12),n(16),n(17);var r=n(176),i=new Map([[r.ASC_SORT_STATE,"ascending"],[r.DESC_SORT_STATE,"descending"]]);function a(e,t,n,r){var a=["columnSorting"];if(r&&a.push("sortAction"),!1===n)a.push("indicatorDisabled");else if(e.isColumnSorted(t)){var o=e.getSortOrderOfColumn(t);a.push(i.get(o))}return a}function o(){return Array.from(i.values()).concat("sortAction","indicatorDisabled","columnSorting")}},function(e,t,n){"use strict";n.r(t),n.d(t,"compareFunctionFactory",(function(){return a})),n.d(t,"COLUMN_DATA_TYPE",(function(){return o}));var r=n(26),i=n(59);function a(e,t,n){return function(t,a){var o=parseFloat(t),s=parseFloat(a),l=n.sortEmptyCells;if(o===s||isNaN(o)&&isNaN(s))return i.DO_NOT_SWAP;if(l){if(Object(r.isEmpty)(t))return"asc"===e?i.FIRST_BEFORE_SECOND:i.FIRST_AFTER_SECOND;if(Object(r.isEmpty)(a))return"asc"===e?i.FIRST_AFTER_SECOND:i.FIRST_BEFORE_SECOND}return isNaN(o)?i.FIRST_AFTER_SECOND:isNaN(s)?i.FIRST_BEFORE_SECOND:os?"asc"===e?i.FIRST_AFTER_SECOND:i.FIRST_BEFORE_SECOND:i.DO_NOT_SWAP}}var o="numeric"},function(e,t,n){"use strict";n.r(t),n.d(t,"compareFunctionFactory",(function(){return s})),n.d(t,"COLUMN_DATA_TYPE",(function(){return l}));var r=n(11),i=n.n(r),a=n(26),o=n(59);function s(e,t,n){return function(r,s){var l=n.sortEmptyCells;if(r===s)return o.DO_NOT_SWAP;if(Object(a.isEmpty)(r))return Object(a.isEmpty)(s)?o.DO_NOT_SWAP:l&&"asc"===e?o.FIRST_BEFORE_SECOND:o.FIRST_AFTER_SECOND;if(Object(a.isEmpty)(s))return l&&"asc"===e?o.FIRST_AFTER_SECOND:o.FIRST_BEFORE_SECOND;var u=t.dateFormat,c=i()(r,u),d=i()(s,u);return c.isValid()?d.isValid()?d.isAfter(c)?"asc"===e?o.FIRST_BEFORE_SECOND:o.FIRST_AFTER_SECOND:d.isBefore(c)?"asc"===e?o.FIRST_AFTER_SECOND:o.FIRST_BEFORE_SECOND:o.DO_NOT_SWAP:o.FIRST_BEFORE_SECOND:o.FIRST_AFTER_SECOND}}var l="date"},function(e,t,n){"use strict";function r(e,t){for(var n=0;n1&&r.push("".concat("sort","-").concat(e.getIndexOfColumnInSortQueue(t)+1)),r}function i(e){var t=e.className.split(" "),n=new RegExp("^".concat("sort","-[0-9]{1,2}$"));return t.filter((function(e){return n.test(e)}))}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(195),n(65),n(33),n(35),n(12),n(67),n(16),n(91),n(17);var r=n(414),i=n(3),a=n(2),o=n(8),s=n(50),l=n(200);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){for(var n=0;n0&&void 0!==arguments[0])||arguments[0];this.options.checked=e,this.update()}},{key:"focus",value:function(){this.isBuilt()&&f.get(this).input.focus()}}]),t}(i.default);t.default=h},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(88),n(56),n(15),n(65),n(33),n(35),n(12),n(67),n(31),n(16),n(91),n(17),n(130);var r=n(1),i=n(3),a=n(2),o=n(41),s=n(87),l=n(8),u=n(28),c=n(200),d=n(298),f=n(768),h=n(170);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0})),this.itemsBox.loadData(t)}},{key:"onInputKeyDown",value:function(e){this.runLocalHooks("keydown",e,this),Object(s.partial)(o.isKey,e.keyCode)("ARROW_DOWN|TAB")&&!this.itemsBox.isListening()&&(Object(u.stopImmediatePropagation)(e),this.itemsBox.listen(),this.itemsBox.selectCell(0,0))}},{key:"onItemsBoxBeforeKeyDown",value:function(e){var t=Object(s.partial)(o.isKey,e.keyCode);t("ESCAPE")&&this.runLocalHooks("keydown",e,this),t("ARROW_UP|ARROW_DOWN|ARROW_LEFT|ARROW_RIGHT|TAB|SPACE|ENTER")||(Object(u.stopImmediatePropagation)(e),this.itemsBox.unlisten(),this.itemsBox.deselectCell(),this.searchInput.focus())}},{key:"onSelectAllClick",value:function(e){e.preventDefault(),Object(a.arrayEach)(this.itemsBox.getSourceData(),(function(e){e.checked=!0})),this.itemsBox.render()}},{key:"onClearAllClick",value:function(e){e.preventDefault(),Object(a.arrayEach)(this.itemsBox.getSourceData(),(function(e){e.checked=!1})),this.itemsBox.render()}}]),t}(c.default);t.default=w},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(1743),n(91),n(17);var r=n(3),i=n(200);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){for(var n=0;n2&&void 0!==arguments[2])||arguments[2],s=this.matrix,l=this.dataProvider,c=[0,t];Object(r.arrayEach)(s.cellReferences,(function(t){t.column>=e&&t.translateTo.apply(t,c)})),Object(r.arrayEach)(s.data,(function(r){var s=r.row,d=r.column;if(r.column>=e&&(r.translateTo.apply(r,c),r.setState(a.default.STATE_OUT_OFF_DATE)),n){var f=r.row,h=r.column,p=l.getSourceDataAtCell(f,h);if(Object(i.isFormulaExpression)(p)){var m=Object(i.cellCoordFactory)("column",e),g=new o.default(p);g.useCustomModifier(u),g.translate({column:t},m({row:s,column:d})),l.updateSourceData(f,h,g.toString())}}}))}function u(e,t,n,r){var i=e.start,a=e.end,o=n,s=n;return r>i[t].index&&(o=0),r>a[t].index&&(s=0),[o,s,!1]}},function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_NAME",(function(){return s})),n.d(t,"operate",(function(){return l}));n(12),n(31);var r=n(2),i=n(95),a=n(124),o=n(262),s="insert_row";function l(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=this.matrix,l=this.dataProvider,c=[t,0];Object(r.arrayEach)(s.cellReferences,(function(t){t.row>=e&&t.translateTo.apply(t,c)})),Object(r.arrayEach)(s.data,(function(r){var s=r.row,d=r.column;if(r.row>=e&&(r.translateTo.apply(r,c),r.setState(a.default.STATE_OUT_OFF_DATE)),n){var f=r.row,h=r.column,p=l.getSourceDataAtCell(f,h);if(Object(i.isFormulaExpression)(p)){var m=Object(i.cellCoordFactory)("row",e),g=new o.default(p);g.useCustomModifier(u),g.translate({row:t},m({row:s,column:d})),l.updateSourceData(f,h,g.toString())}}}))}function u(e,t,n,r){var i=e.start,a=e.end,o=n,s=n;return r>i[t].index&&(o=0),r>a[t].index&&(s=0),[o,s,!1]}},function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_NAME",(function(){return s})),n.d(t,"operate",(function(){return l}));n(12),n(31);var r=n(2),i=n(95),a=n(124),o=n(262),s="remove_column";function l(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=-t,l=this.matrix,c=this.dataProvider,d=this.sheet,f=[0,s],h=Math.abs(s)-1,p=l.removeCellRefsAtRange({column:e},{column:e+h}),m=[];Object(r.arrayEach)(l.data,(function(t){Object(r.arrayEach)(p,(function(e){t.hasPrecedent(e)&&(t.removePrecedent(e),t.setState(a.default.STATE_OUT_OFF_DATE),Object(r.arrayEach)(d.getCellDependencies(t.row,t.column),(function(e){e.setState(a.default.STATE_OUT_OFF_DATE)})))})),t.column>=e&&t.column<=e+h&&m.push(t)})),l.remove(m),Object(r.arrayEach)(l.cellReferences,(function(t){t.column>=e&&t.translateTo.apply(t,f)})),Object(r.arrayEach)(l.data,(function(t){var r=t.row,l=t.column;if(t.column>=e&&(t.translateTo.apply(t,f),t.setState(a.default.STATE_OUT_OFF_DATE)),n){var d=t.row,h=t.column,p=c.getSourceDataAtCell(d,h);if(Object(i.isFormulaExpression)(p)){var m=Object(i.cellCoordFactory)("column",e),g=new o.default(p);g.useCustomModifier(u),g.translate({column:s},m({row:r,column:l})),c.updateSourceData(d,h,g.toString())}}}))}function u(e,t,n,r){var i=e.start,a=e.end,o=e.type,s=i[t].index,l=a[t].index,u=Math.abs(n)-1,c=n,d=n,f=!1;return s>=r&&l<=r+u&&(f=!0),f||"cell"!==o||r>=s&&(c=0,d=0),f||"range"!==o||(r>=s&&(c=0),r>l?d=0:l<=r+u&&(d-=Math.min(l-(r+u),0))),s+c<0&&(c-=s+c),[c,d,f]}},function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_NAME",(function(){return s})),n.d(t,"operate",(function(){return l}));n(12),n(31);var r=n(2),i=n(95),a=n(124),o=n(262),s="remove_row";function l(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=-t,l=this.matrix,c=this.dataProvider,d=this.sheet,f=[s,0],h=Math.abs(s)-1,p=l.removeCellRefsAtRange({row:e},{row:e+h}),m=[];Object(r.arrayEach)(l.data,(function(t){Object(r.arrayEach)(p,(function(e){t.hasPrecedent(e)&&(t.removePrecedent(e),t.setState(a.default.STATE_OUT_OFF_DATE),Object(r.arrayEach)(d.getCellDependencies(t.row,t.column),(function(e){e.setState(a.default.STATE_OUT_OFF_DATE)})))})),t.row>=e&&t.row<=e+h&&m.push(t)})),l.remove(m),Object(r.arrayEach)(l.cellReferences,(function(t){t.row>=e&&t.translateTo.apply(t,f)})),Object(r.arrayEach)(l.data,(function(t){var r=t.row,l=t.column;if(t.row>=e&&(t.translateTo.apply(t,f),t.setState(a.default.STATE_OUT_OFF_DATE)),n){var d=t.row,h=t.column,p=c.getSourceDataAtCell(d,h);if(Object(i.isFormulaExpression)(p)){var m=Object(i.cellCoordFactory)("row",e),g=new o.default(p);g.useCustomModifier(u),g.translate({row:s},m({row:r,column:l})),c.updateSourceData(d,h,g.toString())}}}))}function u(e,t,n,r){var i=e.start,a=e.end,o=e.type,s=i[t].index,l=a[t].index,u=Math.abs(n)-1,c=n,d=n,f=!1;return s>=r&&l<=r+u&&(f=!0),f||"cell"!==o||r>=s&&(c=0,d=0),f||"range"!==o||(r>=s&&(c=0),r>l?d=0:l<=r+u&&(d-=Math.min(l-(r+u),0))),s+c<0&&(c-=s+c),[c,d,f]}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=20?"ste":"de")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,o){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,a,o){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,a){var o="";switch(i){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":o=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return o=function(e,r){return e<10?r?n[e]:t[e]:e}(e,a)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||i?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||i?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(i?"daga":"dögum"):n?a+"dagur":a+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(i?"mánuði":"mánuðum"):n?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?a+(n||i?"ár":"árum"):a+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(r(e)?i(a)[1]:i(a)[0]):o?s+i(a)[1]:s+(r(e)?i(a)[1]:i(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?a+(r(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(r(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var a=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),r>0&&(a+=(""!==a?" ":"")+t[r]+"maH"),i>0&&(a+=(""!==a?" ":"")+t[i]),""===a?"pagh":a}(e);switch(r){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(11))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(11))},function(e,t,n){var r=n(497),i=r.find,a=r.NAMESPACE;function o(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(o):[]}(e);return Object.keys(t.reduce(s,{}))}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function c(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,u(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var d={},f=d.ELEMENT_NODE=1,h=d.ATTRIBUTE_NODE=2,p=d.TEXT_NODE=3,m=d.CDATA_SECTION_NODE=4,g=d.ENTITY_REFERENCE_NODE=5,v=d.ENTITY_NODE=6,_=d.PROCESSING_INSTRUCTION_NODE=7,y=d.COMMENT_NODE=8,b=d.DOCUMENT_NODE=9,S=d.DOCUMENT_TYPE_NODE=10,E=d.DOCUMENT_FRAGMENT_NODE=11,w=d.NOTATION_NODE=12,T={},O={},C=(T.INDEX_SIZE_ERR=(O[1]="Index size error",1),T.DOMSTRING_SIZE_ERR=(O[2]="DOMString size error",2),T.HIERARCHY_REQUEST_ERR=(O[3]="Hierarchy request error",3)),x=(T.WRONG_DOCUMENT_ERR=(O[4]="Wrong document",4),T.INVALID_CHARACTER_ERR=(O[5]="Invalid character",5),T.NO_DATA_ALLOWED_ERR=(O[6]="No data allowed",6),T.NO_MODIFICATION_ALLOWED_ERR=(O[7]="No modification allowed",7),T.NOT_FOUND_ERR=(O[8]="Not found",8)),k=(T.NOT_SUPPORTED_ERR=(O[9]="Not supported",9),T.INUSE_ATTRIBUTE_ERR=(O[10]="Attribute in use",10));T.INVALID_STATE_ERR=(O[11]="Invalid state",11),T.SYNTAX_ERR=(O[12]="Syntax error",12),T.INVALID_MODIFICATION_ERR=(O[13]="Invalid modification",13),T.NAMESPACE_ERR=(O[14]="Invalid namespace",14),T.INVALID_ACCESS_ERR=(O[15]="Invalid access",15);function M(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,O[e]),this.message=O[e],Error.captureStackTrace&&Error.captureStackTrace(this,M);return n.code=e,t&&(this.message=this.message+": "+t),n}function A(){}function R(e,t){this._node=e,this._refresh=t,I(this)}function I(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(ve(e,"length",n.length),!e.$$length||n.length=0))throw new M(x,new Error(e.tagName+"@"+n));for(var i=t.length-1;r"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function U(){this.ownerDocument=this}function Y(e,t,n,r){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function V(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function W(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,V(e.ownerDocument,e),t}function z(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function G(e){return e&&e.nodeType===F.ELEMENT_NODE}function $(e){return e&&e.nodeType===F.TEXT_NODE}function q(e,t){var n=e.childNodes||[];if(i(n,G)||z(t))return!1;var r=i(n,z);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function K(e,t){var n=e.childNodes||[];if(i(n,(function(e){return G(e)&&e!==t})))return!1;var r=i(n,z);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function X(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new M(C,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new M(x,"child not in parent");if(!function(e){return e&&(G(e)||$(e)||z(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||z(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new M(C,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Q(e,t,n){var r=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var o=a.filter(G);if(o.length>1||i(a,$))throw new M(C,"More than one element or text in fragment");if(1===o.length&&!q(e,n))throw new M(C,"Element in fragment can not be inserted before doctype")}if(G(t)&&!q(e,n))throw new M(C,"Only one element can be added and only after doctype");if(z(t)){if(i(r,z))throw new M(C,"Only one doctype is allowed");var s=i(r,G);if(n&&r.indexOf(s)1||i(a,$))throw new M(C,"More than one element or text in fragment");if(1===o.length&&!K(e,n))throw new M(C,"Element in fragment can not be inserted before doctype")}if(G(t)&&!K(e,n))throw new M(C,"Only one element can be added and only after doctype");if(z(t)){if(i(r,(function(e){return z(e)&&e!==n})))throw new M(C,"Only one doctype is allowed");var s=i(r,G);if(n&&r.indexOf(s)=0;w--){if(""===(T=i[w]).prefix&&T.namespace===e.namespaceURI){d=T.namespace;break}}if(d!==e.namespaceURI)for(w=i.length-1;w>=0;w--){var T;if((T=i[w]).namespace===e.namespaceURI){T.prefix&&(c=T.prefix+":"+u);break}}}t.push("<",c);for(var O=0;O"),n&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):ge(l,t,n,r,i.slice()),l=l.nextSibling;else for(;l;)ge(l,t,n,r,i.slice()),l=l.nextSibling;t.push("")}else t.push("/>");return;case b:case E:for(l=e.firstChild;l;)ge(l,t,n,r,i.slice()),l=l.nextSibling;return;case h:return me(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,B));case m:return t.push("");case y:return t.push("\x3c!--",e.data,"--\x3e");case S:var M=e.publicId,A=e.systemId;if(t.push("");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var R=e.internalSubset;R&&t.push(" [",R,"]"),t.push(">")}return;case _:return t.push("");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){e[t]=n}M.prototype=Error.prototype,u(T,M),A.prototype={length:0,item:function(e){return e>=0&&e0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,F),u(d,F.prototype),U.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==E){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),W(this,e)},replaceChild:function(e,t){J(this,e,t,Z),e.ownerDocument=this,t&&this.removeChild(t),G(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,r){var i;switch(n.nodeType){case f:(i=n.cloneNode(!1)).ownerDocument=t;case E:break;case h:r=!0}i||(i=n.cloneNode(!1));if(i.ownerDocument=t,i.parentNode=null,r)for(var a=n.firstChild;a;)i.appendChild(e(t,a,r)),a=a.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=l(e);return new R(this,(function(n){var r=[];return t.length>0&&H(n.documentElement,(function(i){if(i!==n&&i.nodeType===f){var a=i.getAttribute("class");if(a){var o=e===a;if(!o){var s=l(a);o=t.every((u=s,function(e){return u&&-1!==u.indexOf(e)}))}o&&r.push(i)}}var u})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new D)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new de;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new D;return n.childNodes=new A,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},c(U,F),ee.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===E?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,V(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,(function(t){var n=[];return H(t,(function(r){r===t||r.nodeType!=f||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new R(this,(function(n){var r=[];return H(n,(function(i){i===n||i.nodeType!==f||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},U.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,c(ee,F),te.prototype.nodeType=h,c(te,F),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(O[C])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},c(ne,F),re.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(re,ne),ie.prototype={nodeName:"#comment",nodeType:y},c(ie,ne),ae.prototype={nodeName:"#cdata-section",nodeType:m},c(ae,ne),oe.prototype.nodeType=S,c(oe,F),se.prototype.nodeType=w,c(se,F),le.prototype.nodeType=v,c(le,F),ue.prototype.nodeType=g,c(ue,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=E,c(ce,F),de.prototype.nodeType=_,c(de,F),fe.prototype.serializeToString=function(e,t,n){return he.call(e,t,n)},F.prototype.toString=he;try{if(Object.defineProperty){Object.defineProperty(R.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case E:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ve=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=oe,t.DOMException=M,t.DOMImplementation=j,t.Element=ee,t.Node=F,t.NodeList=A,t.XMLSerializer=fe},function(e,t,n){e.exports=!n(128)&&!n(89)((function(){return 7!=Object.defineProperty(n(631)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){t.f=n(119)},function(e,t,n){var r=n(206),i=n(207),a=n(498)(!1),o=n(633)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},function(e,t,n){var r=n(137),i=n(82),a=n(330);e.exports=n(128)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){var r=n(207),i=n(333).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){"use strict";var r=n(128),i=n(330),a=n(499),o=n(435),s=n(146),l=n(434),u=Object.assign;e.exports=!u||n(89)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=a.f,f=o.f;u>c;)for(var h,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;g>v;)h=m[v++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(171),i=n(97),a=n(925),o=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(86).parseFloat,i=n(364).trim;e.exports=1/r(n(637)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(229);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(97),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(640),i=Math.pow,a=i(2,-52),o=i(2,-23),s=i(2,127)*(2-o),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return is||n!=n?u*(1/0):u*n}},function(e,t,n){var r=n(82);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(171),i=n(146),a=n(434),o=n(121);e.exports=function(e,t,n,s,l){r(t);var u=i(e),c=a(u),d=o(u.length),f=l?d-1:0,h=l?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=h;break}if(f+=h,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=h)f in c&&(s=t(s,c[f],f,u));return s}},function(e,t,n){"use strict";var r=n(146),i=n(331),a=n(121);e.exports=[].copyWithin||function(e,t){var n=r(this),o=a(n.length),s=i(e,o),l=i(t,o),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?o:i(u,o))-l,o-s),d=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(652);n(23)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(128)&&"g"!=/./g.flags&&n(137).f(RegExp.prototype,"flags",{configurable:!0,get:n(436)})},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(82),i=n(97),a=n(656);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(941),i=n(338);e.exports=n(507)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(137).f,i=n(332),a=n(337),o=n(228),s=n(335),l=n(336),u=n(642),c=n(935),d=n(334),f=n(128),h=n(301).fastKey,p=n(338),m=f?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[u],e)}));return a(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function(e){p(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var r,i,a=g(e,t);return a?a.v=n:(e._l=a={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,"F"!==i&&(e._i[i]=a)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(941),i=n(338);e.exports=n(507)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(86),a=n(249)(0),o=n(190),s=n(301),l=n(922),u=n(944),c=n(97),d=n(338),f=n(338),h=!i.ActiveXObject&&"ActiveXObject"in i,p=s.getWeak,m=Object.isExtensible,g=u.ufstore,v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(e){if(c(e)){var t=p(e);return!0===t?g(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},y=e.exports=n(507)("WeakMap",v,_,u,!0,!0);f&&h&&(l((r=u.getConstructor(v,"WeakMap")).prototype,_),s.NEED=!0,a(["delete","has","get","set"],(function(e){var t=y.prototype,n=t[e];o(t,e,(function(t,i){if(c(t)&&!m(t)){this._f||(this._f=new r);var a=this._f[e](t,i);return"set"==e?this:a}return n.call(this,t,i)}))})))},function(e,t,n){"use strict";var r=n(337),i=n(301).getWeak,a=n(82),o=n(97),s=n(335),l=n(336),u=n(249),c=n(206),d=n(338),f=u(5),h=u(6),p=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return f(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&l(r,n,e[a],e)}));return r(u.prototype,{delete:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=i(a(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(230),i=n(121);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(333),i=n(499),a=n(82),o=n(86).Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";var r=n(500),i=n(97),a=n(121),o=n(228),s=n(119)("isConcatSpreadable");e.exports=function e(t,n,l,u,c,d,f,h){for(var p,m,g=c,v=0,_=!!f&&o(f,h,3);v0)g=e(t,n,p,a(p.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();t[g]=p}g++}v++}return g}},function(e,t,n){var r=n(121),i=n(639),a=n(247);e.exports=function(e,t,n,o){var s=String(a(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var d=c-l,f=i.call(u,Math.ceil(d/u.length));return f.length>d&&(f=f.slice(0,d)),o?f+s:s+f}},function(e,t,n){var r=n(128),i=n(330),a=n(207),o=n(435).f;e.exports=function(e){return function(t){for(var n,s=a(t),l=i(s),u=l.length,c=0,d=[];u>c;)n=l[c++],r&&!o.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){var r=n(363),i=n(951);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},function(e,t,n){var r=n(336);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t){e.exports=Math.scale||function(e,t,n,r,i){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||i!=i?NaN:e===1/0||e===-1/0?e:(e-t)*(i-r)/(n-t)+r}},function(e,t,n){"use strict";var r=n(138),i=n(129),a=n(441),o=n(339),s=n(1687),l=n(120),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,l=o(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||a(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,n){"use strict";var r=n(366);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(134),i=n(76),a=n(514);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(134),i=n(76);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){"use strict";var r=n(79),i=n(76),a=n(122),o=n(135),s=n(134),l=n(443).CONFIGURABLE,u=n(958),c=n(279),d=c.enforce,f=c.get,h=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),_=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),_&&n&&o(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return o(r,"source")||(r.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return a(this)&&f(this).source||u(this)}),"toString")},function(e,t,n){"use strict";var r=n(79),i=n(122),a=n(659),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},function(e,t,n){"use strict";var r=n(98),i=n(122),a=r.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},function(e,t,n){"use strict";var r=n(135),i=n(961),a=n(277),o=n(178);e.exports=function(e,t,n){for(var s=i(t),l=o.f,u=a.f,c=0;cu;)i(r,n=t[u++])&&(~o(c,n)||l(c,n));return c}},function(e,t,n){"use strict";var r=n(134),i=n(956),a=n(178),o=n(147),s=n(192),l=n(446);t.f=r&&!i?Object.defineProperties:function(e,t){o(e);for(var n,r=s(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,n=i[c++],r[n]);return e}},function(e,t,n){"use strict";var r=n(278);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r,i,a,o=n(76),s=n(122),l=n(129),u=n(307),c=n(448),d=n(233),f=n(120),h=n(305),p=f("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(r=i):m=!0),!l(r)||o((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=u(r)),s(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){"use strict";var r=n(76);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";var r=n(120),i=n(447),a=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},function(e,t,n){"use strict";var r=n(138),i=n(340),a=n(147),o=n(367),s=n(672),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return a(r(n,e));throw new l(o(e)+" is not iterable")}},function(e,t,n){"use strict";var r=n(138),i=n(147),a=n(339);e.exports=function(e,t,n){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw n;if(s)throw o;return i(o),n}},function(e,t,n){"use strict";var r=n(120)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(79),i=n(670),a=n(450).getWeakData,o=n(673),s=n(147),l=n(232),u=n(129),c=n(671),d=n(280),f=n(135),h=n(279),p=h.set,m=h.getterFor,g=d.find,v=d.findIndex,_=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new S)},S=function(){this.entries=[]},E=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};S.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&_(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,i){o(e,h),p(e,{type:t,id:y++,frozen:null}),l(i)||c(i,e[r],{that:e,AS_ENTRIES:n})})),h=d.prototype,g=m(t),v=function(e,t,n){var r=g(e),i=a(s(t),!0);return!0===i?b(r).set(t,n):i[r.id]=n,e};return i(h,{delete:function(e){var t=g(this);if(!u(e))return!1;var n=a(e);return!0===n?b(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var n=a(e);return!0===n?b(t).has(e):n&&f(n,t.id)}}),i(h,n?{get:function(e){var t=g(this);if(u(e)){var n=a(e);if(!0===n)return b(t).get(e);if(n)return n[t.id]}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},function(e,t,n){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";var r=n(514)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},function(e,t,n){"use strict";var r=n(120);t.f=r},function(e,t,n){"use strict";var r=n(976),i=n(135),a=n(974),o=n(178).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";var r=n(98);e.exports=r},function(e,t,n){"use strict";var r=n(366);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},function(e,t,n){"use strict";var r=n(307),i=n(452),a=n(670),o=n(451),s=n(673),l=n(232),u=n(671),c=n(664),d=n(666),f=n(979),h=n(134),p=n(450).fastKey,m=n(279),g=m.set,v=m.getterFor;e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,i){s(e,f),g(e,{type:t,index:r(null),first:null,last:null,size:0}),h||(e.size=0),l(i)||u(i,e[c],{that:e,AS_ENTRIES:n})})),f=d.prototype,m=v(t),_=function(e,t,n){var r,i,a=m(e),o=y(e,t);return o?o.value=n:(a.last=o={index:i=p(t,!0),key:t,value:n,previous:r=a.last,next:null,removed:!1},a.first||(a.first=o),r&&(r.next=o),h?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},y=function(e,t){var n,r=m(e),i=p(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===t)return n};return a(f,{clear:function(){for(var e=m(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=r(null),h?e.size=0:this.size=0},delete:function(e){var t=m(this),n=y(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first===n&&(t.first=r),t.last===n&&(t.last=i),h?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=m(this),r=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),a(f,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return _(this,0===e?0:e,t)}}:{add:function(e){return _(this,e=0===e?0:e,e)}}),h&&i(f,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=v(t),a=v(r);c(e,t,(function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:null})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,d(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(278),i=n(452),a=n(120),o=n(134),s=a("species");e.exports=function(e){var t=r(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(138),i=n(135),a=n(303),o=n(981),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!a(s,e)?t:r(o,e)}},function(e,t,n){"use strict";var r=n(147);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=TypeError;e.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},function(e,t,n){"use strict";var r=n(367),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},function(e,t,n){"use strict";var r=n(76),i=n(98).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},function(e,t,n){"use strict";var r=n(76),i=n(98).RegExp;e.exports=r((function(){var e=i("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},function(e,t,n){"use strict";var r=n(522),i=n(367),a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+" is not a constructor")}},function(e,t,n){"use strict";var r=n(79),i=n(172),a=n(139),o=n(988),s=r("".replace),l=RegExp("^["+o+"]+"),u=RegExp("(^|[^"+o+"])["+o+"]+$"),c=function(e){return function(t){var n=a(i(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,u,"$1")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(129),i=n(250),a=n(120)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},function(e,t,n){"use strict";var r=n(98),i=n(304),a=n(250),o=function(e){return i.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},function(e,t,n){"use strict";var r=TypeError;e.exports=function(e,t){if(e1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(306),i=n(139),a=n(172),o=RangeError;e.exports=function(e){var t=i(a(this)),n="",s=r(e);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},function(e,t,n){"use strict";var r=n(280).forEach,i=n(308)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(33),n(35),n(12),n(457),n(31),n(16),n(17);var r=n(1),i=n(1316),a=n(61);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return(l=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&f(i,n.prototype),i}).apply(null,arguments)}function u(e,t){for(var n=0;n0?-l:0,a+="px",Object(r.setOverlayPosition)(t,a,o)}this.adjustHeaderBordersPosition(n),this.adjustElementsSize()}}},{key:"setScrollPosition",value:function(e){var t=this.wot.rootWindow,n=!1;return this.mainTableScrollableElement===t&&t.scrollX!==e?(t.scrollTo(e,Object(r.getWindowScrollTop)(t)),n=!0):this.mainTableScrollableElement.scrollLeft!==e&&(this.mainTableScrollableElement.scrollLeft=e,n=!0),n}},{key:"onScroll",value:function(){this.wot.getSetting("onScrollVertically")}},{key:"sumCellSizes",value:function(e,t){for(var n=this.wot.wtSettings.defaultColumnWidth,r=e,i=0;r0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize(),e||(this.areElementSizesAdjusted=!0))}},{key:"adjustRootElementSize",value:function(){var e=this.wot,t=e.wtTable,n=e.rootDocument,i=e.rootWindow,a=Object(r.getScrollbarWidth)(n),o=this.clone.wtTable.holder.parentNode.style,s=this.wot.getSetting("preventOverflow");if(this.trimmingContainer!==i||"vertical"===s){var l=this.wot.wtViewport.getWorkspaceHeight();this.wot.wtOverlays.hasScrollbarBottom&&(l-=a),l=Math.min(l,t.wtRootElement.scrollHeight),o.height="".concat(l,"px")}else o.height="";this.clone.wtTable.holder.style.height=o.height;var u=Object(r.outerWidth)(this.clone.wtTable.TABLE);o.width="".concat(0===u?u:u+4,"px")}},{key:"adjustRootChildrenSize",value:function(){var e=Object(r.getScrollbarWidth)(this.wot.rootDocument);this.clone.wtTable.hider.style.height=this.hider.style.height,this.clone.wtTable.holder.style.height=this.clone.wtTable.holder.parentNode.style.height,0===e&&(e=30),this.clone.wtTable.holder.style.width="".concat(parseInt(this.clone.wtTable.holder.parentNode.style.width,10)+e,"px")}},{key:"applyToDOM",value:function(){var e=this.wot.getSetting("totalColumns");if(this.areElementSizesAdjusted||this.adjustElementsSize(),"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition)this.spreader.style.left="".concat(this.wot.wtViewport.columnsRenderCalculator.startPosition,"px");else{if(0!==e)throw new Error("Incorrect value of the columnsRenderCalculator");this.spreader.style.left="0"}this.spreader.style.right="",this.needFullRender&&this.syncOverlayOffset()}},{key:"syncOverlayOffset",value:function(){"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition?this.clone.wtTable.spreader.style.top="".concat(this.wot.wtViewport.rowsRenderCalculator.startPosition,"px"):this.clone.wtTable.spreader.style.top=""}},{key:"scrollTo",value:function(e,t){var n=this.getTableParentOffset(),i=(this.wot.cloneSource?this.wot.cloneSource:this.wot).wtTable.holder,a=0;return t&&i.offsetWidth!==i.clientWidth&&(a=Object(r.getScrollbarWidth)(this.wot.rootDocument)),t?(n+=this.sumCellSizes(0,e+1),n-=this.wot.wtViewport.getViewportWidth()):n+=this.sumCellSizes(this.wot.getSetting("fixedColumnsLeft"),e),n+=a,this.setScrollPosition(n)}},{key:"getTableParentOffset",value:function(){var e=0;return this.wot.getSetting("preventOverflow")||this.trimmingContainer!==this.wot.rootWindow||(e=this.wot.wtTable.holderOffset.left),e}},{key:"getScrollPosition",value:function(){return Object(r.getScrollLeft)(this.mainTableScrollableElement,this.wot.rootWindow)}},{key:"adjustHeaderBordersPosition",value:function(e){var t=this.wot.wtTable.holder.parentNode,n=this.wot.getSetting("rowHeaders"),i=this.wot.getSetting("fixedColumnsLeft");if(this.wot.getSetting("totalRows")?Object(r.removeClass)(t,"emptyRows"):Object(r.addClass)(t,"emptyRows"),i&&!n.length)Object(r.addClass)(t,"innerBorderLeft");else if(!i&&n.length){var a=Object(r.hasClass)(t,"innerBorderLeft");e?Object(r.addClass)(t,"innerBorderLeft"):Object(r.removeClass)(t,"innerBorderLeft"),(!a&&e||a&&!e)&&this.wot.wtOverlays.adjustElementsSize()}}}])&&u(n.prototype,o),s&&u(n,s),t}(a.default);a.default.registerOverlay(a.default.CLONE_LEFT,h),t.default=h},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(33),n(35),n(12),n(457),n(31),n(16),n(17);var r=n(1),i=n(2),a=n(1317),o=n(61);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return(u=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function c(e,t){for(var n=0;n0?-l:0,a+="px",Object(r.setOverlayPosition)(e,i,a)}this.adjustHeaderBordersPosition(t),this.adjustElementsSize()}}},{key:"setScrollPosition",value:function(e){var t=this.wot.rootWindow,n=!1;return this.mainTableScrollableElement===t&&t.scrollY!==e?(t.scrollTo(Object(r.getWindowScrollLeft)(t),e),n=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,n=!0),n}},{key:"onScroll",value:function(){this.wot.getSetting("onScrollHorizontally")}},{key:"sumCellSizes",value:function(e,t){for(var n=this.wot.wtSettings.settings.defaultRowHeight,r=e,i=0;r0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize(),e||(this.areElementSizesAdjusted=!0))}},{key:"adjustRootElementSize",value:function(){var e=this.wot,t=e.wtTable,n=e.rootDocument,i=e.rootWindow,a=Object(r.getScrollbarWidth)(n),o=this.clone.wtTable.holder.parentNode.style,s=this.wot.getSetting("preventOverflow");if(this.trimmingContainer!==i||"horizontal"===s){var l=this.wot.wtViewport.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(l-=a),l=Math.min(l,t.wtRootElement.scrollWidth),o.width="".concat(l,"px")}else o.width="";this.clone.wtTable.holder.style.width=o.width;var u=Object(r.outerHeight)(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(u=0),o.height="".concat(0===u?u:u+4,"px")}},{key:"adjustRootChildrenSize",value:function(){var e=Object(r.getScrollbarWidth)(this.wot.rootDocument);this.clone.wtTable.hider.style.width=this.hider.style.width,this.clone.wtTable.holder.style.width=this.clone.wtTable.holder.parentNode.style.width,0===e&&(e=30),this.clone.wtTable.holder.style.height="".concat(parseInt(this.clone.wtTable.holder.parentNode.style.height,10)+e,"px")}},{key:"applyToDOM",value:function(){var e=this.wot.getSetting("totalRows");if(this.areElementSizesAdjusted||this.adjustElementsSize(),"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition)this.spreader.style.top="".concat(this.wot.wtViewport.rowsRenderCalculator.startPosition,"px");else{if(0!==e)throw new Error("Incorrect value of the rowsRenderCalculator");this.spreader.style.top="0"}this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}},{key:"syncOverlayOffset",value:function(){"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?this.clone.wtTable.spreader.style.left="".concat(this.wot.wtViewport.columnsRenderCalculator.startPosition,"px"):this.clone.wtTable.spreader.style.left=""}},{key:"scrollTo",value:function(e,t){var n=this.wot,i=(n.cloneSource?n.cloneSource:n).wtTable.holder,a=this.getTableParentOffset(),o=0;if(t&&i.offsetHeight!==i.clientHeight&&(o=Object(r.getScrollbarWidth)(n.rootDocument)),t){var s=n.getSetting("fixedRowsBottom"),l=n.getSetting("totalRows");a+=this.sumCellSizes(0,e+1),a-=n.wtViewport.getViewportHeight()-this.sumCellSizes(l-s,l),a+=1}else a+=this.sumCellSizes(n.getSetting("fixedRowsTop"),e);return a+=o,this.setScrollPosition(a)}},{key:"getTableParentOffset",value:function(){return this.mainTableScrollableElement===this.wot.rootWindow?this.wot.wtTable.holderOffset.top:0}},{key:"getScrollPosition",value:function(){return Object(r.getScrollTop)(this.mainTableScrollableElement,this.wot.rootWindow)}},{key:"redrawSelectionBorders",value:function(e){if(e&&e.cellRange){var t=e.getBorder(this.wot),n=e.getCorners();t.disappear(),t.appear(n)}}},{key:"redrawAllSelectionsBorders",value:function(){var e=this,t=this.wot.selections;this.redrawSelectionBorders(t.getCell()),Object(i.arrayEach)(t.getAreas(),(function(t){e.redrawSelectionBorders(t)})),this.redrawSelectionBorders(t.getFill()),this.wot.wtTable.wot.wtOverlays.leftOverlay.refresh()}},{key:"adjustHeaderBordersPosition",value:function(e){var t=this.wot.wtTable.holder.parentNode;if(this.wot.getSetting("totalColumns")?Object(r.removeClass)(t,"emptyColumns"):Object(r.addClass)(t,"emptyColumns"),0===this.wot.getSetting("fixedRowsTop")&&this.wot.getSetting("columnHeaders").length>0){var n=Object(r.hasClass)(t,"innerBorderTop");e||0===this.wot.getSetting("totalRows")?Object(r.addClass)(t,"innerBorderTop"):Object(r.removeClass)(t,"innerBorderTop"),(!n&&e||n&&!e)&&(this.wot.wtOverlays.adjustElementsSize(),this.redrawAllSelectionsBorders())}if(0===this.wot.getSetting("rowHeaders").length){var i=this.clone.wtTable.THEAD.querySelectorAll("th:nth-of-type(2)");if(i)for(var a=0;a0&&(l="".concat(-a,"px")),t&&"horizontal"!==t||i<0&&o-e.offsetHeight>0&&(u="".concat(-i,"px")),Object(r.setOverlayPosition)(e,l,u)}else Object(r.resetCssTransform)(e);var c=Object(r.outerHeight)(this.clone.wtTable.TABLE),d=Object(r.outerWidth)(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(c=0),e.style.height="".concat(0===c?c:c+4,"px"),e.style.width="".concat(0===d?d:d+4,"px")}}}])&&u(n.prototype,o),s&&u(n,s),t}(a.default);a.default.registerOverlay(a.default.CLONE_TOP_LEFT_CORNER,h),t.default=h},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(33),n(35),n(12),n(457),n(31),n(16),n(17);var r=n(1),i=n(1319),a=n(61);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return(l=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&f(i,n.prototype),i}).apply(null,arguments)}function u(e,t){for(var n=0;nd?c-d:0,a+="px",e.style.top="",e.style.left=i,e.style.bottom=a}this.adjustHeaderBordersPosition(t),this.adjustElementsSize()}}},{key:"setScrollPosition",value:function(e){var t=this.wot.rootWindow,n=!1;return this.mainTableScrollableElement===t?(t.scrollTo(Object(r.getWindowScrollLeft)(t),e),n=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,n=!0),n}},{key:"onScroll",value:function(){this.wot.getSetting("onScrollHorizontally")}},{key:"sumCellSizes",value:function(e,t){for(var n=this.wot,r=n.wtTable,i=n.wtSettings.settings.defaultRowHeight,a=e,o=0;a0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize(),e||(this.areElementSizesAdjusted=!0))}},{key:"adjustRootElementSize",value:function(){var e=this.wot,t=e.wtTable,n=e.wtViewport,i=e.rootWindow,a=Object(r.getScrollbarWidth)(this.wot.rootDocument),o=this.clone.wtTable.holder.parentNode.style,s=this.wot.getSetting("preventOverflow");if(this.trimmingContainer!==i||"horizontal"===s){var l=n.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(l-=a),l=Math.min(l,t.wtRootElement.scrollWidth),o.width="".concat(l,"px")}else o.width="";this.clone.wtTable.holder.style.width=o.width;var u=Object(r.outerHeight)(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(u=0),o.height="".concat(u,"px")}},{key:"adjustRootChildrenSize",value:function(){var e=Object(r.getScrollbarWidth)(this.wot.rootDocument);this.clone.wtTable.hider.style.width=this.hider.style.width,this.clone.wtTable.holder.style.width=this.clone.wtTable.holder.parentNode.style.width,0===e&&(e=30),this.clone.wtTable.holder.style.height="".concat(parseInt(this.clone.wtTable.holder.parentNode.style.height,10)+e,"px")}},{key:"applyToDOM",value:function(){var e=this.wot.getSetting("totalRows");if(this.areElementSizesAdjusted||this.adjustElementsSize(),"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition)this.spreader.style.top="".concat(this.wot.wtViewport.rowsRenderCalculator.startPosition,"px");else{if(0!==e)throw new Error("Incorrect value of the rowsRenderCalculator");this.spreader.style.top="0"}this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}},{key:"syncOverlayOffset",value:function(){"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?this.clone.wtTable.spreader.style.left="".concat(this.wot.wtViewport.columnsRenderCalculator.startPosition,"px"):this.clone.wtTable.spreader.style.left=""}},{key:"scrollTo",value:function(e,t){var n=this.getTableParentOffset(),i=(this.wot.cloneSource?this.wot.cloneSource:this.wot).wtTable.holder,a=0;t&&i.offsetHeight!==i.clientHeight&&(a=Object(r.getScrollbarWidth)(this.wot.rootDocument)),t?(n+=this.sumCellSizes(0,e+1),n-=this.wot.wtViewport.getViewportHeight(),n+=1):n+=this.sumCellSizes(this.wot.getSetting("fixedRowsBottom"),e),n+=a,this.setScrollPosition(n)}},{key:"getTableParentOffset",value:function(){return this.mainTableScrollableElement===this.wot.rootWindow?this.wot.wtTable.holderOffset.top:0}},{key:"getScrollPosition",value:function(){return Object(r.getScrollTop)(this.mainTableScrollableElement,this.wot.rootWindow)}},{key:"adjustHeaderBordersPosition",value:function(e){if(0===this.wot.getSetting("fixedRowsBottom")&&this.wot.getSetting("columnHeaders").length>0){var t=this.wot.wtTable.holder.parentNode,n=Object(r.hasClass)(t,"innerBorderTop");e?Object(r.addClass)(t,"innerBorderTop"):Object(r.removeClass)(t,"innerBorderTop"),(!n&&e||n&&!e)&&this.wot.wtOverlays.adjustElementsSize()}if(0===this.wot.getSetting("rowHeaders").length){var i=this.clone.wtTable.THEAD.querySelector("th:nth-of-type(2)");i&&(i.style["border-left-width"]=0)}}}])&&u(n.prototype,o),s&&u(n,s),t}(a.default);a.default.registerOverlay(a.default.CLONE_BOTTOM,h),t.default=h},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(33),n(35),n(12),n(457),n(31),n(16),n(17);var r=n(1),i=n(1320),a=n(61);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return(l=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&f(i,n.prototype),i}).apply(null,arguments)}function u(e,t){for(var n=0;nl?o-l:0,i+="px",n+="px",t.style.top="",t.style.left=n,t.style.bottom=i}else Object(r.resetCssTransform)(t),this.repositionOverlay();var u=Object(r.outerHeight)(this.clone.wtTable.TABLE),c=Object(r.outerWidth)(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(u=0),t.style.height="".concat(u,"px"),t.style.width="".concat(c,"px")}}}])&&u(n.prototype,o),s&&u(n,s),t}(a.default);a.default.registerOverlay(a.default.CLONE_BOTTOM_LEFT_CORNER,h),t.default=h},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(372),n(114),n(15),n(12),n(1002),n(31),n(148),n(16),n(373),n(17);var r=n(1),i=n(551),a=n(106),o=n(542);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n4&&void 0!==arguments[4]&&arguments[4],s=e.wtTable.getCell(new a.default(t,n));if("object"===l(s)){var u=i;o&&(u=this.classNameGenerator(s),this.classNames.includes(u)||this.classNames.push(u)),Object(r.addClass)(s,u)}return this}},{key:"linearClassNameGenerator",value:function(e,t){return function n(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(0===t||0===a)return e;var o=a>=0?a:t,s=e,l=0==(o-=1)?e:"".concat(e,"-").concat(o);if(Object(r.hasClass)(i,l)){var u=o+1;s="".concat(e,"-").concat(u)}else s=n(i,o);return s}}},{key:"draw",value:function(e){if(this.isEmpty())this.settings.border&&this.getBorder(e).disappear();else{for(var t=e.wtTable.getRenderedRowsCount(),n=e.wtTable.getRenderedColumnsCount(),i=this.getCorners(),a=s(i,4),o=a[0],l=a[1],u=a[2],c=a[3],d=0;d=l&&f<=c){var h=e.wtTable.getColumnHeader(f);if(h){var p=[];this.settings.highlightHeaderClassName&&p.push(this.settings.highlightHeaderClassName),this.settings.highlightColumnClassName&&p.push(this.settings.highlightColumnClassName),Object(r.addClass)(h,p)}}}for(var m=0;m=o&&g<=u){var v=e.wtTable.getRowHeader(g);if(v){var _=[];this.settings.highlightHeaderClassName&&_.push(this.settings.highlightHeaderClassName),this.settings.highlightRowClassName&&_.push(this.settings.highlightRowClassName),Object(r.addClass)(v,_)}}for(var y=0;y=o&&g<=u&&b>=l&&b<=c?this.settings.className&&this.addClassAtCoords(e,g,b,this.settings.className,this.settings.markIntersections):g>=o&&g<=u?this.settings.highlightRowClassName&&this.addClassAtCoords(e,g,b,this.settings.highlightRowClassName):b>=l&&b<=c&&this.settings.highlightColumnClassName&&this.addClassAtCoords(e,g,b,this.settings.highlightColumnClassName);var S=e.getSetting("onAfterDrawSelection",g,b,i,this.settings.layerLevel);"string"==typeof S&&this.addClassAtCoords(e,g,b,S)}}e.getSetting("onBeforeDrawBorders",i,this.settings.className),this.settings.border&&this.getBorder(e).appear(i)}}},{key:"destroy",value:function(){Object.values(this.instanceBorders).forEach((function(e){return e.destroy()}))}}])&&u(t.prototype,n),c&&u(t,c),e}();t.default=c},function(e,t,n){"use strict";var r=n(62),i=n(1719).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){"use strict";var r=n(138),i=n(523),a=n(147),o=n(232),s=n(172),l=n(1725),u=n(139),c=n(339),d=n(524);i("search",(function(e,t,n){return[function(t){var n=s(this),i=o(t)?void 0:c(t,e);return i?r(i,t,n):new RegExp(t)[e](u(n))},function(e){var r=a(this),i=u(e),o=n(t,r,i);if(o.done)return o.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var c=d(r,i);return l(r.lastIndex,s)||(r.lastIndex=s),null===c?-1:c.index}]}))},function(e,t,n){"use strict";var r=n(79);e.exports=r(1..valueOf)},function(e,t,n){"use strict";var r,i,a,o,s=n(98),l=n(371),u=n(451),c=n(122),d=n(135),f=n(76),h=n(964),p=n(343),m=n(514),g=n(991),v=n(1729),_=n(1006),y=s.setImmediate,b=s.clearImmediate,S=s.process,E=s.Dispatch,w=s.Function,T=s.MessageChannel,O=s.String,C=0,x={};f((function(){r=s.location}));var k=function(e){if(d(x,e)){var t=x[e];delete x[e],t()}},M=function(e){return function(){k(e)}},A=function(e){k(e.data)},R=function(e){s.postMessage(O(e),r.protocol+"//"+r.host)};y&&b||(y=function(e){g(arguments.length,1);var t=c(e)?e:w(e),n=p(arguments,1);return x[++C]=function(){l(t,void 0,n)},i(C),C},b=function(e){delete x[e]},_?i=function(e){S.nextTick(M(e))}:E&&E.now?i=function(e){E.now(M(e))}:T&&!v?(o=(a=new T).port2,a.port1.onmessage=A,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(R)?(i=R,s.addEventListener("message",A,!1)):i="onreadystatechange"in m("script")?function(e){h.appendChild(m("script")).onreadystatechange=function(){h.removeChild(this),k(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:y,clear:b}},function(e,t,n){"use strict";var r=n(990);e.exports="NODE"===r},function(e,t,n){"use strict";var r=n(62),i=n(1734).left,a=n(308),o=n(442);r({target:"Array",proto:!0,forced:!n(1006)&&o>79&&o<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(62),i=n(134),a=n(961),o=n(192),s=n(277),l=n(453);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),i=s.f,u=a(r),c={},d=0;u.length>d;)void 0!==(n=i(r,t=u[d++]))&&l(c,t,n);return c}})},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(88),n(114),n(15),n(108),n(374),n(309),n(310),n(252),n(12),n(31),n(311),n(148),n(16),n(17);var r=n(351),i=n(1362),a=n(14),o=n(266),s=n(3),l=n(26),u=n(2),c=n(115),d=n(1363),f=n(153),h=n(104);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["Unsupported format of the selection ranges was passed. To select cells pass \n the coordinates as an array of arrays ([[rowStart, columnStart/columnPropStart, rowEnd, columnEnd/columnPropEnd]]) \n or as an array of CellRange objects."]);return m=function(){return e},e}function g(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r="multiple"===this.settings.selectionMode,i=Object(l.isUndefined)(t)?Object(o.isPressedCtrlKey)():t,a=e.row<0,s=e.col<0,u=a&&s;a&&(e.row=0),s&&(e.col=0),this.selectedByCorner=u,this.runLocalHooks("beforeSetRangeStart".concat(n?"Only":""),e),(!r||r&&!i&&Object(l.isUndefined)(t))&&this.selectedRange.clear(),this.selectedRange.add(e),0===this.getLayerLevel()&&(this.selectedByRowHeader.clear(),this.selectedByColumnHeader.clear()),!u&&s&&this.selectedByRowHeader.add(this.getLayerLevel()),!u&&a&&this.selectedByColumnHeader.add(this.getLayerLevel()),n||this.setRangeEnd(e)}},{key:"setRangeStartOnly",value:function(e,t){this.setRangeStart(e,t,!0)}},{key:"setRangeEnd",value:function(e){if(!this.selectedRange.isEmpty()){this.runLocalHooks("beforeSetRangeEnd",e),this.begin();var t=this.selectedRange.current();"single"!==this.settings.selectionMode&&t.setTo(new a.CellCoords(e.row,e.col)),this.highlight.getCell().clear(),this.highlight.isEnabledFor(r.CELL_TYPE)&&this.highlight.getCell().add(this.selectedRange.current().highlight);var n=this.getLayerLevel();n=1)&&(i.add(t.from).add(t.to),1===n&&(this.highlight.useLayerLevel(n-1).createOrGetArea().add(this.selectedRange.previous().from),this.highlight.useLayerLevel(n))),this.highlight.isEnabledFor(r.HEADER_TYPE)&&("single"===this.settings.selectionMode?o.add(t.highlight):o.add(t.from).add(t.to)),this.isSelectedByRowHeader()&&this.tableProps.countCols()===t.getWidth()&&s.add(new a.CellCoords(t.from.row,-1)).add(new a.CellCoords(t.to.row,-1)),this.isSelectedByColumnHeader()&&this.tableProps.countRows()===t.getHeight()&&s.add(new a.CellCoords(-1,t.from.col)).add(new a.CellCoords(-1,t.to.col)),this.runLocalHooks("afterSetRangeEnd",e)}}},{key:"isMultiple",value:function(){var e=Object(s.createObjectPropListener)(!this.selectedRange.current().isSingle());return this.runLocalHooks("afterIsMultipleSelection",e),e.value}},{key:"transformStart",value:function(e,t,n){this.setRangeStart(this.transformation.transformStart(e,t,n))}},{key:"transformEnd",value:function(e,t){this.setRangeEnd(this.transformation.transformEnd(e,t))}},{key:"getLayerLevel",value:function(){return this.selectedRange.size()-1}},{key:"isSelected",value:function(){return!this.selectedRange.isEmpty()}},{key:"isSelectedByRowHeader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();return-1===e?this.selectedByRowHeader.size>0:this.selectedByRowHeader.has(e)}},{key:"isSelectedByColumnHeader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();return-1===e?this.selectedByColumnHeader.size>0:this.selectedByColumnHeader.has(e)}},{key:"isSelectedByAnyHeader",value:function(){return this.isSelectedByRowHeader(-1)||this.isSelectedByColumnHeader(-1)}},{key:"isSelectedByCorner",value:function(){return this.selectedByCorner}},{key:"inInSelection",value:function(e){return this.selectedRange.includes(e)}},{key:"isCellCornerVisible",value:function(){return this.settings.fillHandle&&!this.tableProps.isEditorOpened()&&!this.isMultiple()}},{key:"isAreaCornerVisible",value:function(e){return(!Number.isInteger(e)||e===this.getLayerLevel())&&this.settings.fillHandle&&!this.tableProps.isEditorOpened()&&this.isMultiple()}},{key:"clear",value:function(){this.selectedRange.clear(),this.highlight.clear()}},{key:"deselect",value:function(){this.isSelected()&&(this.inProgress=!1,this.clear(),this.runLocalHooks("afterDeselect"))}},{key:"selectAll",value:function(){this.clear(),this.setRangeStart(new a.CellCoords(-1,-1)),this.selectedByRowHeader.add(this.getLayerLevel()),this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(new a.CellCoords(this.tableProps.countRows()-1,this.tableProps.countCols()-1))}},{key:"selectCells",value:function(e){var t=this,n=Object(f.detectSelectionType)(e);if(n===f.SELECTION_TYPE_EMPTY)return!1;if(n===f.SELECTION_TYPE_UNRECOGNIZED)throw new Error(Object(h.toSingleLine)(m()));var r=Object(f.normalizeSelectionFactory)(n,{propToCol:function(e){return t.tableProps.propToCol(e)},keepDirection:!0}),i=this.tableProps.countRows(),o=this.tableProps.countCols(),s=!e.some((function(e){var t=p(r(e),4),n=t[0],a=t[1],s=t[2],l=t[3];return!(Object(f.isValidCoord)(n,i)&&Object(f.isValidCoord)(a,o)&&Object(f.isValidCoord)(s,i)&&Object(f.isValidCoord)(l,o))}));return s&&(this.clear(),Object(u.arrayEach)(e,(function(e){var n=p(r(e),4),i=n[0],o=n[1],s=n[2],l=n[3];t.setRangeStartOnly(new a.CellCoords(i,o),!1),t.setRangeEnd(new a.CellCoords(s,l)),t.finish()}))),s}},{key:"selectColumns",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n="string"==typeof e?this.tableProps.propToCol(e):e,r="string"==typeof t?this.tableProps.propToCol(t):t,i=this.tableProps.countCols(),o=Object(f.isValidCoord)(n,i)&&Object(f.isValidCoord)(r,i);return o&&(this.setRangeStartOnly(new a.CellCoords(-1,n)),this.setRangeEnd(new a.CellCoords(this.tableProps.countRows()-1,r)),this.finish()),o}},{key:"selectRows",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.tableProps.countRows(),r=Object(f.isValidCoord)(e,n)&&Object(f.isValidCoord)(t,n);return r&&(this.setRangeStartOnly(new a.CellCoords(e,-1)),this.setRangeEnd(new a.CellCoords(t,this.tableProps.countCols()-1)),this.finish()),r}}])&&g(t.prototype,n),c&&g(t,c),e}();Object(s.mixin)(v,c.default),t.default=v},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17);var r=n(44),i=n(37),a=n(1365),o=n(40);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countCols()-1},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:0,to:this.hot.countRows()-1},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a="number"==typeof t?{from:t,to:t}:t,o="number"==typeof n?{from:n,to:n}:n;Object(l.rangeEach)(a.from,a.to,(function(t){if(r||void 0===e.widths[t]&&!e.hot._getColWidthFromSettings(t)){var n=e.samplesGenerator.generateColumnSamples(t,o);Object(i.arrayEach)(n,(function(t){var n=p(t,2),r=n[0],i=n[1];return e.ghostTable.addColumn(r,i)}))}})),this.ghostTable.columns.length&&(this.ghostTable.getWidths((function(t,n){e.widths[t]=n})),this.ghostTable.clean())}},{key:"calculateAllColumnsWidth",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countRows()-1},r=0,i=this.hot.countCols()-1,o=null;this.inProgress=!0;var s=function s(){if(!e.hot)return Object(a.cancelAnimationFrame)(o),void(e.inProgress=!1);e.calculateColumnsWidth({from:r,to:Math.min(r+t.CALCULATION_STEP,i)},n),(r=r+t.CALCULATION_STEP+1)=0&&(this.calculateColumnsWidth({from:0,to:l},n),this.firstCalculation=!1,r=l+1),r>=0),Math.min(e,n)}},{key:"getColumnWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t;return void 0===r&&(r=this.widths[e],n&&"number"==typeof r&&(r=Math.max(r,f.ViewportColumnsCalculator.DEFAULT_WIDTH))),r}},{key:"getFirstVisibleColumn",value:function(){var e=this.hot.view.wt;return e.wtViewport.columnsVisibleCalculator?e.wtTable.getFirstVisibleColumn():e.wtViewport.columnsRenderCalculator?e.wtTable.getFirstRenderedColumn():-1}},{key:"getLastVisibleColumn",value:function(){var e=this.hot.view.wt;return e.wtViewport.columnsVisibleCalculator?e.wtTable.getLastVisibleColumn():e.wtViewport.columnsRenderCalculator?e.wtTable.getLastRenderedColumn():-1}},{key:"findColumnsWhereHeaderWasChanged",value:function(){var e=this.hot.getColHeader(),t=S.get(this).cachedColumnHeaders;return Object(i.arrayReduce)(e,(function(e,n,r){var i=t.length;return(i-10&&void 0!==arguments[0]?arguments[0]:[];t.length?Object(i.arrayEach)(t,(function(t){e.widths[t]=void 0})):this.widths.length=0}},{key:"isNeedRecalculate",value:function(){return!!Object(i.arrayFilter)(this.widths,(function(e){return void 0===e})).length}},{key:"onBeforeRender",value:function(){var e=this.hot.renderCall,t=this.hot.countRows(),n=this.getFirstVisibleColumn(),r=this.getLastVisibleColumn();-1!==n&&-1!==r&&t&&(this.calculateColumnsWidth({from:n,to:r},void 0,e),this.isNeedRecalculate()&&!this.inProgress&&this.calculateAllColumnsWidth())}},{key:"onAfterLoadData",value:function(){var e=this;this.hot.view?this.recalculateAllColumnsWidth():setTimeout((function(){e.hot&&e.recalculateAllColumnsWidth()}),0)}},{key:"onBeforeChange",value:function(e){var t=this,n=Object(i.arrayMap)(e,(function(e){var n=p(e,2)[1];return t.hot.propToCol(n)}));this.clearCache(n)}},{key:"onBeforeColumnResize",value:function(e,t,n){var r=t;return n&&(this.calculateColumnsWidth(e,void 0,!0),r=this.getColumnWidth(e,void 0,!1)),r}},{key:"onAfterInit",value:function(){S.get(this).cachedColumnHeaders=this.hot.getColHeader()}},{key:"destroy",value:function(){this.ghostTable.clean(),g(v(t.prototype),"destroy",this).call(this)}}]),t}(r.default);Object(u.registerPlugin)("autoColumnSize",E),t.default=E},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(88),n(114),n(56),n(15),n(65),n(33),n(35),n(12),n(67),n(31),n(148),n(16),n(17),n(130);var r=n(44),i=n(40),a=n(1),o=n(2),s=n(10),l=n(49),u=n(37),c=n(14),d=n(430);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t-1&&i.col>-1){var o=this.getSelectionData();this.hot.runHooks("beforeAutofill",i,a,o);var s=Object(d.getDeltas)(i,a,o,r),l=o;if(["up","left"].indexOf(r)>-1){l=[];var u=null,c=null;if("up"===r){c=(u=a.row-i.row+1)%o.length;for(var f=0;fe.row))t=new c.CellCoords(e.row,r.col);else{if(!this.directions.includes(d.DIRECTIONS.horizontal))return;t=new c.CellCoords(r.row,e.col)}return this.reduceSelectionAreaIfNeeded(t)}},{key:"showBorder",value:function(e){var t=this.getCoordsOfDragAndDropBorders(e);t&&this.redrawBorders(t)}},{key:"addRow",value:function(){var e=this;this.hot._registerTimeout(setTimeout((function(){e.hot.alter("insert_row",void 0,1,"".concat(e.pluginName,".fill")),e.addingStarted=!1}),200))}},{key:"addNewRowIfNeeded",value:function(){if(this.hot.selection.highlight.getFill().cellRange&&!1===this.addingStarted&&this.autoInsertRow){var e=this.hot.getSelectedLast(),t=this.hot.selection.highlight.getFill().getCorners(),n=this.hot.countRows();e[2]n&&e.clientX<=r}},{key:"registerEvents",value:function(){var e=this,t=this.hot.rootDocument.documentElement;this.eventManager.addEventListener(t,"mouseup",(function(){return e.onMouseUp()})),this.eventManager.addEventListener(t,"mousemove",(function(t){return e.onMouseMove(t)}))}},{key:"onCellCornerDblClick",value:function(){this.selectAdjacent()&&this.fillIn()}},{key:"onAfterCellCornerMouseDown",value:function(){this.handleDraggedCells=1,this.mouseDownOnCellCorner=!0}},{key:"onBeforeCellMouseOver",value:function(e){this.mouseDownOnCellCorner&&!this.hot.view.isMouseDown()&&this.handleDraggedCells&&(this.handleDraggedCells+=1,this.showBorder(e),this.addNewRowIfNeeded())}},{key:"onMouseUp",value:function(){this.handleDraggedCells&&(this.handleDraggedCells>1&&this.fillIn(),this.handleDraggedCells=0,this.mouseDownOnCellCorner=!1)}},{key:"onMouseMove",value:function(e){var t=this.getIfMouseWasDraggedOutside(e);!1===this.addingStarted&&this.handleDraggedCells>0&&t?(this.mouseDragOutside=!0,this.addingStarted=!0):this.mouseDragOutside=!1,this.mouseDragOutside&&this.autoInsertRow&&this.addRow()}},{key:"clearMappedSettings",value:function(){this.directions.length=0,this.autoInsertRow=!1}},{key:"mapSettings",value:function(){var e=Object(d.getMappedFillHandleSetting)(this.hot.getSettings().fillHandle);this.directions=e.directions,this.autoInsertRow=e.autoInsertRow}},{key:"destroy",value:function(){g(v(t.prototype),"destroy",this).call(this)}}])&&p(n.prototype,r),i&&p(n,i),t}(r.default);Object(u.registerPlugin)("autofill",y),t.default=y},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(31),n(16),n(17),n(130);var r=n(44),i=n(2),a=n(105),o=n(1),s=n(401),l=n(3),u=n(10),c=n(37),d=n(600),f=n(111);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e,t,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){for(var n=0;n=0?r=n.hot.getDataAtCell(e,t):-1===e&&(r=n.hot.getColHeader(t)),{value:r}})),n.firstCalculation=!0,n.inProgress=!1,n.addHook("beforeRowResize",(function(e,t,r){return n.onBeforeRowResize(e,t,r)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e),y(t,null,[{key:"CALCULATION_STEP",get:function(){return 50}},{key:"SYNC_CALCULATION_LIMIT",get:function(){return 500}}]),y(t,[{key:"isEnabled",value:function(){return!0===this.hot.getSettings().autoRowSize||Object(l.isObject)(this.hot.getSettings().autoRowSize)}},{key:"enablePlugin",value:function(){var e=this;this.enabled||(this.setSamplingOptions(),this.addHook("afterLoadData",(function(){return e.onAfterLoadData()})),this.addHook("beforeChange",(function(t){return e.onBeforeChange(t)})),this.addHook("beforeColumnMove",(function(){return e.recalculateAllRowsHeight()})),this.addHook("beforeColumnResize",(function(){return e.recalculateAllRowsHeight()})),this.addHook("beforeColumnSort",(function(){return e.clearCache()})),this.addHook("beforeRender",(function(t){return e.onBeforeRender(t)})),this.addHook("beforeRowMove",(function(t,n){return e.onBeforeRowMove(t,n)})),this.addHook("modifyRowHeight",(function(t,n){return e.getRowHeight(n,t)})),this.addHook("modifyColumnHeaderHeight",(function(){return e.getColumnHeaderHeight()})),g(v(t.prototype),"enablePlugin",this).call(this))}},{key:"disablePlugin",value:function(){g(v(t.prototype),"disablePlugin",this).call(this)}},{key:"calculateRowsHeight",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countRows()-1},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:0,to:this.hot.countCols()-1},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a="number"==typeof t?{from:t,to:t}:t,o="number"==typeof n?{from:n,to:n}:n;if(null!==this.hot.getColHeader(0)){var s=this.samplesGenerator.generateRowSamples(-1,o);this.ghostTable.addColumnHeadersRow(s.get(-1))}Object(u.rangeEach)(a.from,a.to,(function(t){if(r||void 0===e.heights[t]){var n=e.samplesGenerator.generateRowSamples(t,o);Object(i.arrayEach)(n,(function(t){var n=p(t,2),r=n[0],i=n[1];return e.ghostTable.addRow(r,i)}))}})),this.ghostTable.rows.length&&(this.ghostTable.getHeights((function(t,n){e.heights[t]=n})),this.ghostTable.clean())}},{key:"calculateAllRowsHeight",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countCols()-1},r=0,i=this.hot.countRows()-1,o=null;this.inProgress=!0;var s=function s(){if(!e.hot)return Object(a.cancelAnimationFrame)(o),void(e.inProgress=!1);e.calculateRowsHeight({from:r,to:Math.min(r+t.CALCULATION_STEP,i)},n),(r=r+t.CALCULATION_STEP+1)=0&&(this.calculateRowsHeight({from:0,to:l},n),this.firstCalculation=!1,r=l+1),r>=0),Math.min(e,n)}},{key:"getRowHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=t;return void 0!==this.heights[e]&&this.heights[e]>(t||0)&&(n=this.heights[e]),n}},{key:"getColumnHeaderHeight",value:function(){return this.heights[-1]}},{key:"getFirstVisibleRow",value:function(){var e=this.hot.view.wt;return e.wtViewport.rowsVisibleCalculator?e.wtTable.getFirstVisibleRow():e.wtViewport.rowsRenderCalculator?e.wtTable.getFirstRenderedRow():-1}},{key:"getLastVisibleRow",value:function(){var e=this.hot.view.wt;return e.wtViewport.rowsVisibleCalculator?e.wtTable.getLastVisibleRow():e.wtViewport.rowsRenderCalculator?e.wtTable.getLastRenderedRow():-1}},{key:"clearCache",value:function(){this.heights.length=0,this.heights[-1]=void 0}},{key:"clearCacheByRange",value:function(e){var t=this,n="number"==typeof e?{from:e,to:e}:e,r=n.from,i=n.to;Object(u.rangeEach)(Math.min(r,i),Math.max(r,i),(function(e){t.heights[e]=void 0}))}},{key:"isNeedRecalculate",value:function(){return!!Object(i.arrayFilter)(this.heights,(function(e){return void 0===e})).length}},{key:"onBeforeRender",value:function(){var e=this.hot.renderCall,t=this.hot.getSettings().fixedRowsBottom,n=this.getFirstVisibleRow(),r=this.getLastVisibleRow();if(-1!==n&&-1!==r){if(this.calculateRowsHeight({from:n,to:r},void 0,e),t){var i=this.hot.countRows()-1;this.calculateRowsHeight({from:i-t,to:i})}this.isNeedRecalculate()&&!this.inProgress&&this.calculateAllRowsHeight()}}},{key:"onBeforeRowMove",value:function(e,t){this.clearCacheByRange({from:e,to:t}),this.calculateAllRowsHeight()}},{key:"onBeforeRowResize",value:function(e,t,n){var r=t;return n&&(this.calculateRowsHeight(e,void 0,!0),r=this.getRowHeight(e)),r}},{key:"onAfterLoadData",value:function(){var e=this;this.hot.view?this.recalculateAllRowsHeight():setTimeout((function(){e.hot&&e.recalculateAllRowsHeight()}),0)}},{key:"onBeforeChange",value:function(e){var t=null;1===e.length?t=e[0][0]:e.length>1&&(t={from:e[0][0],to:e[e.length-1][0]}),null!==t&&this.clearCacheByRange(t)}},{key:"destroy",value:function(){this.ghostTable.clean(),g(v(t.prototype),"destroy",this).call(this)}}]),t}(r.default);Object(c.registerPlugin)("autoRowSize",S),t.default=S},function(e,t,n){"use strict";var r=n(62),i=n(1738);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(91),n(17),n(130);var r=n(1),i=n(3),a=n(49),o=n(14),s=n(37),l=n(44),u=n(1370),c=n(46),d=n(1371),f=n(8);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){for(var n=0;n0&&void 0!==arguments[0])||arguments[0];if(!this.range.from)throw new Error('Before using this method, first set cell range (hot.getPlugin("comment").setRange())');this.hot.setCellMeta(this.range.from.row,this.range.from.col,"comment",void 0),e&&this.hot.render(),this.hide()}},{key:"removeCommentAtCell",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.setRange({from:new o.CellCoords(e,t)}),this.removeComment(n)}},{key:"getComment",value:function(){var e=this.range.from.row,t=this.range.from.col;return this.getCommentMeta(e,t,"value")}},{key:"getCommentAtCell",value:function(e,t){return this.getCommentMeta(e,t,"value")}},{key:"show",value:function(){if(!this.range.from)throw new Error('Before using this method, first set cell range (hot.getPlugin("comment").setRange())');var e=this.hot.getCellMeta(this.range.from.row,this.range.from.col);return this.refreshEditor(!0),this.editor.setValue(e.comment?e.comment.value:""),this.editor.hidden&&this.editor.show(),!0}},{key:"showAtCell",value:function(e,t){return this.setRange({from:new o.CellCoords(e,t)}),this.show()}},{key:"hide",value:function(){this.editor.hidden||this.editor.hide()}},{key:"refreshEditor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||this.range.from&&this.editor.isVisible()){var t=this.hot.rootWindow,n=this.hot.view.wt,i=n.wtTable,a=n.wtOverlays,o=n.wtViewport,s=a.scrollableElement,l=i.getCell(this.range.from),u=this.range.from.row,c=this.range.from.col,d=Object(r.offset)(l),f=i.getStretchedColumnWidth(c),h=d.top<0?0:d.top,p=d.left;o.hasVerticalScroll()&&s!==t&&(h-=a.topOverlay.getScrollPosition()),o.hasHorizontalScroll()&&s!==t&&(p-=a.leftOverlay.getScrollPosition());var m=p+f,g=h,v=this.getCommentMeta(u,c,"style"),_=this.getCommentMeta(u,c,"readOnly");v?this.editor.setSize(v.width,v.height):this.editor.resetSize(),this.editor.setReadOnlyState(_),this.editor.setPosition(m,g)}}},{key:"checkSelectionCommentsConsistency",value:function(){var e=this.hot.getSelectedRangeLast();if(!e)return!1;var t=!1,n=e.from;return this.getCommentMeta(n.row,n.col,"value")&&(t=!0),t}},{key:"updateCommentMeta",value:function(e,t,n){var r,a=this.hot.getCellMeta(e,t).comment;a?(r=Object(i.deepClone)(a),Object(i.deepExtend)(r,n)):r=n,this.hot.setCellMeta(e,t,"comment",r)}},{key:"getCommentMeta",value:function(e,t,n){var r=this.hot.getCellMeta(e,t);if(r.comment)return r.comment[n]}},{key:"onMouseDown",value:function(e){if(this.mouseDown=!0,this.hot.view&&this.hot.view.wt){if(!this.contextMenuEvent&&!this.targetIsCommentTextArea(e)){var t=Object(r.closest)(e.target,"TD","TBODY"),n=null;t&&(n=this.hot.view.wt.wtTable.getCoords(t)),(!t||this.range.from&&n&&(this.range.from.row!==n.row||this.range.from.col!==n.col))&&this.hide()}this.contextMenuEvent=!1}}},{key:"onMouseOver",value:function(e){var t=b.get(this),n=this.hot.rootDocument;if(t.cellBelowCursor=n.elementFromPoint(e.clientX,e.clientY),!(this.mouseDown||this.editor.isFocused()||Object(r.hasClass)(e.target,"wtBorder")||t.cellBelowCursor!==e.target)&&this.editor)if(this.targetIsCellWithComment(e)){var i=this.hot.view.wt.wtTable.getCoords(e.target),a={from:new o.CellCoords(i.row,i.col)};this.displaySwitch.show(a)}else Object(r.isChildOf)(e.target,n)&&!this.targetIsCommentTextArea(e)&&this.displaySwitch.hide()}},{key:"onMouseUp",value:function(){this.mouseDown=!1}},{key:"onAfterRenderer",value:function(e,t){t.comment&&t.comment.value&&Object(r.addClass)(e,t.commentedCellClassName)}},{key:"onEditorBlur",value:function(){this.setComment()}},{key:"onEditorMouseDown",value:function(e){b.get(this).tempEditorDimensions={width:Object(r.outerWidth)(e.target),height:Object(r.outerHeight)(e.target)}}},{key:"onEditorMouseUp",value:function(e){var t=b.get(this),n=Object(r.outerWidth)(e.target),i=Object(r.outerHeight)(e.target);n===t.tempEditorDimensions.width+1&&i===t.tempEditorDimensions.height+2||this.updateCommentMeta(this.range.from.row,this.range.from.col,p({},"style",{width:n,height:i}))}},{key:"onContextMenuAddComment",value:function(){var e=this;this.displaySwitch.cancelHiding();var t=this.hot.getSelectedRangeLast();this.contextMenuEvent=!0,this.setRange({from:t.from}),this.show(),setTimeout((function(){e.hot&&(e.hot.deselectCell(),e.editor.focus())}),10)}},{key:"onContextMenuRemoveComment",value:function(){var e=this.hot.getSelectedRangeLast(),t=e.from,n=e.to;this.contextMenuEvent=!0;for(var r=t.row;r<=n.row;r++)for(var i=t.col;i<=n.col;i++)this.removeCommentAtCell(r,i,!1);this.hot.render()}},{key:"onContextMenuMakeReadOnly",value:function(){var e=this.hot.getSelectedRangeLast(),t=e.from,n=e.to;this.contextMenuEvent=!0;for(var r=t.row;r<=n.row;r++)for(var i=t.col;i<=n.col;i++){var a=!!this.getCommentMeta(r,i,"readOnly");this.updateCommentMeta(r,i,p({},"readOnly",!a))}}},{key:"addToContextMenu",value:function(e){var t=this;e.items.push({name:"---------"},{key:"commentsAddEdit",name:function(){return t.checkSelectionCommentsConsistency()?t.hot.getTranslatedPhrase(f.CONTEXTMENU_ITEMS_EDIT_COMMENT):t.hot.getTranslatedPhrase(f.CONTEXTMENU_ITEMS_ADD_COMMENT)},callback:function(){return t.onContextMenuAddComment()},disabled:function(){return!(this.getSelectedLast()&&!this.selection.isSelectedByCorner())}},{key:"commentsRemove",name:function(){return this.getTranslatedPhrase(f.CONTEXTMENU_ITEMS_REMOVE_COMMENT)},callback:function(){return t.onContextMenuRemoveComment()},disabled:function(){return t.hot.selection.isSelectedByCorner()}},{key:"commentsReadOnly",name:function(){var e=this,t=this.getTranslatedPhrase(f.CONTEXTMENU_ITEMS_READ_ONLY_COMMENT);return Object(c.checkSelectionConsistency)(this.getSelectedRangeLast(),(function(t,n){var r=e.getCellMeta(t,n).comment;if(r&&(r=r.readOnly),r)return!0}))&&(t=Object(c.markLabelAsSelected)(t)),t},callback:function(){return t.onContextMenuMakeReadOnly()},disabled:function(){return t.hot.selection.isSelectedByCorner()||!t.checkSelectionCommentsConsistency()}})}},{key:"getDisplayDelaySetting",value:function(){var e=this.hot.getSettings().comments;if(Object(i.isObject)(e))return e.displayDelay}},{key:"onAfterBeginEditing",value:function(){this.hide()}},{key:"destroy",value:function(){this.editor&&this.editor.destroy(),this.displaySwitch&&this.displaySwitch.destroy(),v(_(t.prototype),"destroy",this).call(this)}}])&&m(n.prototype,s),l&&m(n,l),t}(l.default);Object(s.registerPlugin)("comments",S),t.default=S},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17);var r=n(44),i=n(40),a=n(2),o=n(601),s=n(49),l=n(602),u=n(414),c=n(37),d=n(28),f=n(1),h=n(50);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){for(var n=0;n1?n-1:0),i=1;i',''].join(""),O=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?y(e):t}(this,S(t).call(this,e))).columnsLimit=1e3,n.copyableRanges=[],n.focusableElement=void 0,n.pasteMode="overwrite",n.rowsLimit=1e3,n.uiContainer=n.hot.rootDocument.body,w.set(y(n),{isTriggeredByCopy:!1,isTriggeredByCut:!1,isBeginEditing:!1,isFragmentSelectionEnabled:!1}),n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(t,e),n=t,(r=[{key:"isEnabled",value:function(){return!!this.hot.getSettings().copyPaste}},{key:"enablePlugin",value:function(){var e=this;if(!this.enabled){var n=this.hot.getSettings(),r=n.copyPaste,i=n.fragmentSelection;w.get(this).isFragmentSelectionEnabled=!!i,"object"===v(r)&&(this.pasteMode=r.pasteMode||this.pasteMode,this.rowsLimit=isNaN(r.rowsLimit)?this.rowsLimit:r.rowsLimit,this.columnsLimit=isNaN(r.columnsLimit)?this.columnsLimit:r.columnsLimit,this.uiContainer=r.uiContainer||this.uiContainer),this.addHook("afterContextMenuDefaultOptions",(function(t){return e.onAfterContextMenuDefaultOptions(t)})),this.addHook("afterOnCellMouseUp",(function(){return e.onAfterOnCellMouseUp()})),this.addHook("afterSelectionEnd",(function(){return e.onAfterSelectionEnd()})),this.addHook("beforeKeyDown",(function(){return e.onBeforeKeyDown()})),this.focusableElement=Object(p.createElement)(this.uiContainer),this.focusableElement.addLocalHook("copy",(function(t){return e.onCopy(t)})).addLocalHook("cut",(function(t){return e.onCut(t)})).addLocalHook("paste",(function(t){return e.onPaste(t)})),b(S(t.prototype),"enablePlugin",this).call(this)}}},{key:"updatePlugin",value:function(){this.disablePlugin(),this.enablePlugin(),this.getOrCreateFocusableElement(),b(S(t.prototype),"updatePlugin",this).call(this)}},{key:"disablePlugin",value:function(){this.focusableElement&&Object(p.destroyElement)(this.focusableElement),b(S(t.prototype),"disablePlugin",this).call(this)}},{key:"copy",value:function(){w.get(this).isTriggeredByCopy=!0,this.getOrCreateFocusableElement(),this.focusableElement.focus(),this.hot.rootDocument.execCommand("copy")}},{key:"cut",value:function(){w.get(this).isTriggeredByCut=!0,this.getOrCreateFocusableElement(),this.focusableElement.focus(),this.hot.rootDocument.execCommand("cut")}},{key:"getRangedCopyableData",value:function(e){var t=this,n=[],r=[],i=[];return Object(s.arrayEach)(e,(function(e){Object(l.rangeEach)(e.startRow,e.endRow,(function(e){-1===r.indexOf(e)&&r.push(e)})),Object(l.rangeEach)(e.startCol,e.endCol,(function(e){-1===i.indexOf(e)&&i.push(e)}))})),Object(s.arrayEach)(r,(function(e){var r=[];Object(s.arrayEach)(i,(function(n){r.push(t.hot.getCopyableData(e,n))})),n.push(r)})),o.a.stringify(n)}},{key:"getRangedData",value:function(e){var t=this,n=[],r=[],i=[];return Object(s.arrayEach)(e,(function(e){Object(l.rangeEach)(e.startRow,e.endRow,(function(e){-1===r.indexOf(e)&&r.push(e)})),Object(l.rangeEach)(e.startCol,e.endCol,(function(e){-1===i.indexOf(e)&&i.push(e)}))})),Object(s.arrayEach)(r,(function(e){var r=[];Object(s.arrayEach)(i,(function(n){r.push(t.hot.getCopyableData(e,n))})),n.push(r)})),n}},{key:"paste",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(e||t){var n=new h.default;e&&n.clipboardData.setData("text/plain",e),t&&n.clipboardData.setData("text/html",t),this.getOrCreateFocusableElement(),this.onPaste(n)}}},{key:"setCopyableText",value:function(){var e=this.hot.getSelectedRangeLast();if(e){var t=e.getTopLeftCorner(),n=e.getBottomRightCorner(),r=t.row,i=t.col,a=n.row,o=n.col,s=Math.min(a,r+this.rowsLimit-1),l=Math.min(o,i+this.columnsLimit-1);this.copyableRanges.length=0,this.copyableRanges.push({startRow:r,startCol:i,endRow:s,endCol:l}),this.copyableRanges=this.hot.runHooks("modifyCopyableRange",this.copyableRanges),a===s&&o===l||this.hot.runHooks("afterCopyLimit",a-r+1,o-i+1,this.rowsLimit,this.columnsLimit)}}},{key:"getOrCreateFocusableElement",value:function(){var e=this.hot.getActiveEditor(),t=e?e.TEXTAREA:void 0;t?this.focusableElement.setFocusableElement(t):this.focusableElement.useSecondaryElement()}},{key:"isEditorOpened",value:function(){var e=this.hot.getActiveEditor();return e&&e.isOpened()}},{key:"populateValues",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.hot.getSelectedLast();if(e.length){for(var n=e.length-1,r=e[0].length-1,i=Math.min(t[0],t[2]),a=Math.max(t[0],t[2],n+i),o=Math.min(t[1],t[3]),s=Math.max(t[1],t[3],r+o),l=[],u=i,c=0;u<=a;u+=1){for(var d=[],f=o,h=0;f<=s;f+=1)d.push(e[c][h]),h=h===r?0:h+=1;l.push(d),c=c===n?0:c+=1}return this.hot.populateFromArray(i,o,l,void 0,void 0,"CopyPaste.paste",this.pasteMode),[i,o,a,s]}}},{key:"onCopy",value:function(e){var t=w.get(this);if((this.hot.isListening()||t.isTriggeredByCopy)&&!this.isEditorOpened()){this.setCopyableText(),t.isTriggeredByCopy=!1;var n=this.getRangedData(this.copyableRanges);if(this.hot.runHooks("beforeCopy",n,this.copyableRanges)){var r=o.a.stringify(n);if(e&&e.clipboardData){var i=Object(m._dataToHTML)(n,this.hot.rootDocument);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",[T,i].join(""))}else"undefined"==typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",r);this.hot.runHooks("afterCopy",n,this.copyableRanges)}e.preventDefault()}}},{key:"onCut",value:function(e){var t=w.get(this);if((this.hot.isListening()||t.isTriggeredByCut)&&!this.isEditorOpened()){this.setCopyableText(),t.isTriggeredByCut=!1;var n=this.getRangedData(this.copyableRanges);if(this.hot.runHooks("beforeCut",n,this.copyableRanges)){var r=o.a.stringify(n);if(e&&e.clipboardData){var i=Object(m._dataToHTML)(n,this.hot.rootDocument);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",[T,i].join(""))}else"undefined"==typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",r);this.hot.emptySelectedCells("CopyPaste.cut"),this.hot.runHooks("afterCut",n,this.copyableRanges)}e.preventDefault()}}},{key:"onPaste",value:function(e){if(this.hot.isListening()&&!this.isEditorOpened()){var t;if(e&&e.preventDefault&&e.preventDefault(),e&&void 0!==e.clipboardData){var n=e.clipboardData.getData("text/html");t=n&&/(0&&(t.hot.setCellMeta(r,i,"borders",o),t.insertBorderIntoSettings(o))}))}))}},{key:"removeAllBorders",value:function(e,t){var n=Object(d.createId)(e,t);this.spliceBorder(n),this.clearBordersFromSelectionSettings(n),this.clearNullCellRange(),this.hot.removeCellMeta(e,t,"borders")}},{key:"setBorder",value:function(e,t,n,r){var i=this.hot.getCellMeta(e,t).borders;i&&void 0!==i.border||(i=Object(d.createEmptyBorders)(e,t)),r?(i[n]=Object(d.createSingleEmptyBorder)(),4===this.countHide(i)?this.removeAllBorders(e,t):(this.checkCustomSelectionsFromContextMenu(i,n,r)||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",i))):(i[n]=Object(d.createDefaultCustomBorder)(),this.checkCustomSelectionsFromContextMenu(i,n,r)||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",i))}},{key:"prepareBorder",value:function(e,t,n){var r=this;Object(s.arrayEach)(e,(function(e){var i=e.start,a=e.end;if(i.row===a.row&&i.col===a.col)"noBorders"===t?r.removeAllBorders(i.row,i.col):r.setBorder(i.row,i.col,t,n);else switch(t){case"noBorders":Object(o.rangeEach)(i.col,a.col,(function(e){Object(o.rangeEach)(i.row,a.row,(function(t){r.removeAllBorders(t,e)}))}));break;case"top":Object(o.rangeEach)(i.col,a.col,(function(e){r.setBorder(i.row,e,t,n)}));break;case"right":Object(o.rangeEach)(i.row,a.row,(function(e){r.setBorder(e,a.col,t,n)}));break;case"bottom":Object(o.rangeEach)(i.col,a.col,(function(e){r.setBorder(a.row,e,t,n)}));break;case"left":Object(o.rangeEach)(i.row,a.row,(function(e){r.setBorder(e,i.col,t,n)}))}}))}},{key:"createCustomBorders",value:function(e){var t=this;Object(s.arrayEach)(e,(function(e){e.range?t.prepareBorderFromCustomAddedRange(e):t.prepareBorderFromCustomAdded(e.row,e.col,e)}))}},{key:"countHide",value:function(e){var t=Object.values(e);return Object(s.arrayReduce)(t,(function(e,t){var n=e;return t.hide&&(n+=1),n}),0)}},{key:"clearBordersFromSelectionSettings",value:function(e){var t=Object(s.arrayMap)(this.hot.selection.highlight.customSelections,(function(e){return e.settings.id})).indexOf(e);t>-1&&this.hot.selection.highlight.customSelections[t].clear()}},{key:"clearNullCellRange",value:function(){var e=this;Object(s.arrayEach)(this.hot.selection.highlight.customSelections,(function(t,n){if(null===t.cellRange)return e.hot.selection.highlight.customSelections[n].destroy(),e.hot.selection.highlight.customSelections.splice(n,1),!1}))}},{key:"hideBorders",value:function(){var e=this;Object(s.arrayEach)(this.savedBorders,(function(t){e.clearBordersFromSelectionSettings(t.id),e.clearNullCellRange()}))}},{key:"spliceBorder",value:function(e){var t=Object(s.arrayMap)(this.savedBorders,(function(e){return e.id})).indexOf(e);t>-1&&this.savedBorders.splice(t,1)}},{key:"checkSavedBorders",value:function(e){var t=this,n=!1;return 4===this.countHide(e)?(this.spliceBorder(e.id),n=!0):Object(s.arrayEach)(this.savedBorders,(function(r,i){if(e.id===r.id)return t.savedBorders[i]=e,n=!0,!1})),n}},{key:"checkCustomSelectionsFromContextMenu",value:function(e,t,n){var r=!1;return Object(s.arrayEach)(this.hot.selection.highlight.customSelections,(function(i){if(e.id===i.settings.id)return Object(a.objectEach)(i.instanceBorders,(function(e){e.toggleHiddenClass(t,n)})),r=!0,!1})),r}},{key:"checkCustomSelections",value:function(e,t,n){var r=this.countHide(e),i=!1;return 4===r?(this.removeAllBorders(e.row,e.col),i=!0):Object(s.arrayEach)(this.hot.selection.highlight.customSelections,(function(r){if(e.id===r.settings.id)return r.cellRange=t,n&&Object(a.objectEach)(r.instanceBorders,(function(t){t.changeBorderStyle(n,e)})),i=!0,!1})),i}},{key:"changeBorderSettings",value:function(){var e=this.hot.getSettings().customBorders;Array.isArray(e)?(e.length||(this.savedBorders=e),this.createCustomBorders(e)):void 0!==e&&this.createCustomBorders(this.savedBorders)}},{key:"onAfterContextMenuDefaultOptions",value:function(e){this.hot.getSettings().customBorders&&e.items.push({name:"---------"},{key:"borders",name:function(){return this.getTranslatedPhrase(u.CONTEXTMENU_ITEMS_BORDERS)},disabled:function(){return this.selection.isSelectedByCorner()},submenu:{items:[Object(c.top)(this),Object(c.right)(this),Object(c.bottom)(this),Object(c.left)(this),Object(c.noBorders)(this)]}})}},{key:"onAfterInit",value:function(){this.changeBorderSettings()}},{key:"destroy",value:function(){v(_(t.prototype),"destroy",this).call(this)}}])&&m(n.prototype,r),i&&m(n,i),t}(r.default);Object(i.registerPlugin)("customBorders",b),t.default=b},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(8),i=n(118);function a(e){return{key:"borders:bottom",name:function(){var e=this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_BORDERS_BOTTOM);return Object(i.checkSelectionBorders)(this,"bottom")&&(e=Object(i.markSelected)(e)),e},callback:function(t,n){var r=Object(i.checkSelectionBorders)(this,"bottom");e.prepareBorder(n,"bottom",r)}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(8),i=n(118);function a(e){return{key:"borders:left",name:function(){var e=this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_BORDERS_LEFT);return Object(i.checkSelectionBorders)(this,"left")&&(e=Object(i.markSelected)(e)),e},callback:function(t,n){var r=Object(i.checkSelectionBorders)(this,"left");e.prepareBorder(n,"left",r)}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(8),i=n(118);function a(e){return{key:"borders:no_borders",name:function(){return this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_REMOVE_BORDERS)},callback:function(t,n){e.prepareBorder(n,"noBorders")},disabled:function(){return!Object(i.checkSelectionBorders)(this)}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(8),i=n(118);function a(e){return{key:"borders:right",name:function(){var e=this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_BORDERS_RIGHT);return Object(i.checkSelectionBorders)(this,"right")&&(e=Object(i.markSelected)(e)),e},callback:function(t,n){var r=Object(i.checkSelectionBorders)(this,"right");e.prepareBorder(n,"right",r)}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(8),i=n(118);function a(e){return{key:"borders:top",name:function(){var e=this.getTranslatedPhrase(r.CONTEXTMENU_ITEMS_BORDERS_TOP);return Object(i.checkSelectionBorders)(this,"top")&&(e=Object(i.markSelected)(e)),e},callback:function(t,n){var r=Object(i.checkSelectionBorders)(this,"top");e.prepareBorder(n,"top",r)}}}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17);var r=n(44),i=n(49),a=n(37),o=n(28),s=n(1);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;nthis.boundaries.bottom&&(r=t-this.boundaries.bottom),ethis.boundaries.right&&(n=e-this.boundaries.right),this.callback(n,r)}},{key:"listen",value:function(){this.listening=!0}},{key:"unlisten",value:function(){this.listening=!1}},{key:"isListening",value:function(){return this.listening}},{key:"registerEvents",value:function(){for(var e=this,t=this.hot.rootWindow;t;)this.eventManager.addEventListener(t.document,"contextmenu",(function(){return e.unlisten()})),this.eventManager.addEventListener(t.document,"mouseup",(function(){return e.unlisten()})),this.eventManager.addEventListener(t.document,"mousemove",(function(t){return e.onMouseMove(t)})),t=Object(s.getParentWindow)(t)}},{key:"unregisterEvents",value:function(){this.eventManager.clear()}},{key:"setupListening",value:function(e){if(!Object(o.isRightClick)(e)){var t=this.hot.view.wt.wtTable.holder;t!==this.hot.rootWindow&&(this.setBoundaries(t.getBoundingClientRect()),this.setCallback((function(e,n){e<0?t.scrollLeft-=50:e>0&&(t.scrollLeft+=50),n<0?t.scrollTop-=20:n>0&&(t.scrollTop+=20)})),this.listen())}}},{key:"onMouseMove",value:function(e){this.isListening()&&this.check(e.clientX,e.clientY)}},{key:"destroy",value:function(){d(f(t.prototype),"destroy",this).call(this)}}])&&u(n.prototype,r),a&&u(n,a),t}(r.default);Object(a.registerPlugin)("dragToScroll",p),t.default=p},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(91),n(17);var r=n(44),i=n(37),a=n(2),o=n(1377),s=n(1378);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;nn.fixedColumnsLeft-1)){var r=this.getBestColumnReturnPosition(e);t.moveByFreeze=!0,n.fixedColumnsLeft-=1,this.getMovePlugin().moveColumn(e,r+1)}}},{key:"getMovePlugin",value:function(){return this.manualColumnMovePlugin||(this.manualColumnMovePlugin=this.hot.getPlugin("manualColumnMove")),this.manualColumnMovePlugin}},{key:"getBestColumnReturnPosition",value:function(e){var t,n=this.getMovePlugin(),r=this.hot.getSettings().fixedColumnsLeft,i=n.columnsMapper.getValueByIndex(r);if(null===this.frozenColumnsBasePositions[e]||void 0===this.frozenColumnsBasePositions[e])for(t=n.columnsMapper.getValueByIndex(e);null!==i&&i<=t;)r+=1,i=n.columnsMapper.getValueByIndex(r);else{for(t=this.frozenColumnsBasePositions[e],this.frozenColumnsBasePositions[e]=void 0;null!==i&&i<=t;)r+=1,i=n.columnsMapper.getValueByIndex(r);r=i}return r-1}},{key:"addContextMenuEntry",value:function(e){e.items.push({name:"---------"},Object(o.default)(this),Object(s.default)(this))}},{key:"onAfterInit",value:function(){this.getMovePlugin().isEnabled()||this.getMovePlugin().enablePlugin()}},{key:"onBeforeColumnMove",value:function(e,t){var n=p.get(this);if(n.afterFirstUse&&!n.moveByFreeze){var r=this.hot.getSettings().fixedColumnsLeft,i=t0?e.target.col=0:e.target.col=t>0?t-1:t;else if(e.target.TD.offsetWidth/2+o<=s){var h=e.coordsColumn>=e.countCols?e.countCols-1:e.coordsColumn;e.target.col=h+1,o+=e.target.TD.offsetWidth,e.target.col>n&&n=e.fixedColumns&&t>0&&this.hot.scrollViewportTo(void 0,t-1);e.target.col<=t&&e.target.col>=e.fixedColumns&&t>0&&this.hot.scrollViewportTo(void 0,t-1);var p=s,m=o;s+d+c>=l?p=l-d-c:s+c=l-1?m=l-1:0===m?m=1:void 0!==i.scrollX&&e.coordsColumne){var r=e-1,i=[];Object(a.arrayEach)(this.columnsMapper._arrayMap,(function(e,t){e>r&&i.push(t)})),this.columnsMapper.removeItems(i)}}},{key:"registerEvents",value:function(){var e=this,t=this.hot.rootDocument.documentElement;this.eventManager.addEventListener(t,"mousemove",(function(t){return e.onMouseMove(t)})),this.eventManager.addEventListener(t,"mouseup",(function(){return e.onMouseUp()}))}},{key:"unregisterEvents",value:function(){this.eventManager.clear()}},{key:"onBeforeOnCellMouseDown",value:function(e,t,n,r){var i=this.hot.view.wt.wtTable,a=this.hot.selection.isSelectedByColumnHeader(),s=this.hot.getSelectedRangeLast(),l=b.get(this),u=Object(o.hasClass)(e.realTarget,"sortAction");if(!s||!a||l.pressed||0!==e.button||u)return l.pressed=!1,l.columnsToMove.length=0,void Object(o.removeClass)(this.hot.rootElement,["on-moving--columns","show-ui"]);var c=this.guideline.isBuilt()&&!this.guideline.isAppended(),d=this.backlight.isBuilt()&&!this.backlight.isAppended();c&&d&&(this.guideline.appendTo(i.hider),this.backlight.appendTo(i.hider));var f=s.from,h=s.to,p=Math.min(f.col,h.col),m=Math.max(f.col,h.col);if(t.row<0&&t.col>=p&&t.col<=m){r.column=!0,l.pressed=!0,l.target.eventPageX=e.pageX,l.coordsColumn=t.col,l.target.TD=n,l.target.col=t.col,l.columnsToMove=this.prepareColumnsToMoving(p,m),l.hasRowHeaders=!!this.hot.getSettings().rowHeaders,l.countCols=this.hot.countCols(),l.fixedColumns=this.hot.getSettings().fixedColumnsLeft,l.rootElementOffset=Object(o.offset)(this.hot.rootElement).left;var g=l.hasRowHeaders?-1:0,v=i.holder.scrollTop+i.getColumnHeaderHeight(0)+1,_=t.col-1?Object(o.removeClass)(this.hot.rootElement,"show-ui"):Object(o.addClass)(this.hot.rootElement,"show-ui"),r.row=!0,r.column=!0,r.cell=!0,a.coordsColumn=t.col,a.target.TD=n)}},{key:"onMouseUp",value:function(){var e=b.get(this);if(e.coordsColumn=void 0,e.pressed=!1,e.backlightWidth=0,Object(o.removeClass)(this.hot.rootElement,["on-moving--columns","show-ui","after-selection--columns"]),this.hot.selection.isSelectedByColumnHeader()&&Object(o.addClass)(this.hot.rootElement,"after-selection--columns"),!(e.columnsToMove.length<1||void 0===e.target.col||e.columnsToMove.indexOf(e.target.col)>-1)){if(this.moveColumns(e.columnsToMove,e.target.col),this.persistentStateSave(),this.hot.render(),this.hot.view.wt.wtOverlays.adjustElementsSize(!0),!e.disallowMoving){var t=this.columnsMapper.getIndexByValue(e.columnsToMove[0]),n=this.columnsMapper.getIndexByValue(e.columnsToMove[e.columnsToMove.length-1]);this.changeSelection(t,n)}e.columnsToMove.length=0}}},{key:"onAfterScrollVertically",value:function(){var e=this.hot.view.wt.wtTable,t=e.getColumnHeaderHeight(0)+1+e.holder.scrollTop;this.backlight.setPosition(t),this.backlight.setSize(null,e.hider.offsetHeight-t)}},{key:"onAfterCreateCol",value:function(e,t){this.columnsMapper.shiftItems(e,t)}},{key:"onBeforeRemoveCol",value:function(e,t){var n=this;this.removedColumns.length=0,!1!==e&&Object(s.rangeEach)(e,e+t-1,(function(e){n.removedColumns.push(n.hot.runHooks("modifyCol",e,n.pluginName))}))}},{key:"onAfterRemoveCol",value:function(){this.columnsMapper.unshiftItems(this.removedColumns)}},{key:"onAfterLoadData",value:function(){this.updateColumnsMapper()}},{key:"onModifyCol",value:function(e,t){var n=e;if(t!==this.pluginName){var r=this.columnsMapper.getValueByIndex(n);n=null===r?n:r}return n}},{key:"onUnmodifyCol",value:function(e){var t=this.columnsMapper.getIndexByValue(e);return null===t?e:t}},{key:"onAfterPluginsInitialized",value:function(){this.updateColumnsMapper(),this.initialSettings(),this.backlight.build(),this.guideline.build()}},{key:"destroy",value:function(){this.backlight.destroy(),this.guideline.destroy(),v(_(t.prototype),"destroy",this).call(this)}}])&&m(n.prototype,r),i&&m(n,i),t}(r.default);Object(u.registerPlugin)("ManualColumnMove",S),t.default=S},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17),n(130);var r=n(44),i=n(1),a=n(49),o=n(28),s=n(2),l=n(10),u=n(37);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n=0){var o=this.currentTH.getBoundingClientRect(),s=r=m&&(p=h.col,m=f.col),this.currentCol>=p&&this.currentCol<=m?Object(l.rangeEach)(p,m,(function(e){return t.selectedCols.push(e)})):this.selectedCols.push(this.currentCol)}else this.selectedCols.push(this.currentCol);this.startOffset=u.left-6,this.startWidth=parseInt(o.width,10),this.handle.style.top="".concat(u.top,"px"),this.handle.style.left="".concat(this.startOffset+this.startWidth,"px"),this.handle.style.height="".concat(a,"px"),this.hot.rootElement.appendChild(this.handle)}}},{key:"refreshHandlePosition",value:function(){this.handle.style.left="".concat(this.startOffset+this.currentWidth,"px")}},{key:"setupGuidePosition",value:function(){var e=parseInt(Object(i.outerHeight)(this.handle),10),t=parseInt(this.handle.style.top,10)+e,n=parseInt(this.hot.view.maximumVisibleElementHeight(0),10);Object(i.addClass)(this.handle,"active"),Object(i.addClass)(this.guide,"active"),this.guide.style.top="".concat(t,"px"),this.guide.style.left=this.handle.style.left,this.guide.style.height="".concat(n-e,"px"),this.hot.rootElement.appendChild(this.guide)}},{key:"refreshGuidePosition",value:function(){this.guide.style.left=this.handle.style.left}},{key:"hideHandleAndGuide",value:function(){Object(i.removeClass)(this.handle,"active"),Object(i.removeClass)(this.guide,"active")}},{key:"checkIfColumnHeader",value:function(e){if(e!==this.hot.rootElement){var t=e.parentNode;return"THEAD"===t.tagName||this.checkIfColumnHeader(t)}return!1}},{key:"getTHFromTargetElement",value:function(e){return"TABLE"!==e.tagName?"TH"===e.tagName?e:this.getTHFromTargetElement(e.parentNode):null}},{key:"onMouseOver",value:function(e){if(this.checkIfColumnHeader(e.target)){var t=this.getTHFromTargetElement(e.target);if(!t)return;var n=t.getAttribute("colspan");!t||null!==n&&1!==n||this.pressed||this.setupHandlePosition(t)}}},{key:"afterMouseDownTimeout",value:function(){var e=this,t=function(){e.hot.forceFullRender=!0,e.hot.view.render(),e.hot.view.wt.wtOverlays.adjustElementsSize(!0)},n=function(n,r){var i=e.hot.runHooks("beforeColumnResize",n,e.newSize,!0);void 0!==i&&(e.newSize=i),"all"===e.hot.getSettings().stretchH?e.clearManualSize(n):e.setManualSize(n,e.newSize),r&&t(),e.saveManualColumnWidths(),e.hot.runHooks("afterColumnResize",n,e.newSize,!0)};this.dblclick>=2&&(this.selectedCols.length>1?(Object(s.arrayEach)(this.selectedCols,(function(e){n(e)})),t()):Object(s.arrayEach)(this.selectedCols,(function(e){n(e,!0)}))),this.dblclick=0,this.autoresizeTimeout=null}},{key:"onMouseDown",value:function(e){var t=this;Object(i.hasClass)(e.target,"manualColumnResizer")&&(this.setupGuidePosition(),this.pressed=this.hot,null===this.autoresizeTimeout&&(this.autoresizeTimeout=setTimeout((function(){return t.afterMouseDownTimeout()}),500),this.hot._registerTimeout(this.autoresizeTimeout)),this.dblclick+=1,this.startX=Object(o.pageX)(e),this.newSize=this.startWidth)}},{key:"onMouseMove",value:function(e){var t=this;this.pressed&&(this.currentWidth=this.startWidth+(Object(o.pageX)(e)-this.startX),Object(s.arrayEach)(this.selectedCols,(function(e){t.newSize=t.setManualSize(e,t.currentWidth)})),this.refreshHandlePosition(),this.refreshGuidePosition())}},{key:"onMouseUp",value:function(){var e=this,t=function(){e.hot.forceFullRender=!0,e.hot.view.render(),e.hot.view.wt.wtOverlays.adjustElementsSize(!0)},n=function(n,r){e.hot.runHooks("beforeColumnResize",n,e.newSize,!1),r&&t(),e.saveManualColumnWidths(),e.hot.runHooks("afterColumnResize",n,e.newSize)};this.pressed&&(this.hideHandleAndGuide(),this.pressed=!1,this.newSize!==this.startWidth&&(this.selectedCols.length>1?(Object(s.arrayEach)(this.selectedCols,(function(e){n(e)})),t()):Object(s.arrayEach)(this.selectedCols,(function(e){n(e,!0)}))),this.setupHandlePosition(this.currentTH))}},{key:"bindEvents",value:function(){var e=this,t=this.hot,n=t.rootWindow,r=t.rootElement;this.eventManager.addEventListener(r,"mouseover",(function(t){return e.onMouseOver(t)})),this.eventManager.addEventListener(r,"mousedown",(function(t){return e.onMouseDown(t)})),this.eventManager.addEventListener(n,"mousemove",(function(t){return e.onMouseMove(t)})),this.eventManager.addEventListener(n,"mouseup",(function(){return e.onMouseUp()}))}},{key:"setManualSize",value:function(e,t){var n=Math.max(t,20),r=this.hot.runHooks("modifyCol",e);return this.manualColumnWidths[r]=n,n}},{key:"clearManualSize",value:function(e){var t=this.hot.runHooks("modifyCol",e);this.manualColumnWidths[t]=void 0}},{key:"onModifyColWidth",value:function(e,t){var n=e;if(this.enabled){var r=this.hot.runHooks("modifyCol",t),i=this.manualColumnWidths[r];this.hot.getSettings().manualColumnResize&&i&&(n=i)}return n}},{key:"onBeforeStretchingColumnWidth",value:function(e,t){var n=this.manualColumnWidths[t];return void 0===n&&(n=e),n}},{key:"onBeforeColumnResize",value:function(){this.hot.view.wt.wtViewport.hasOversizedColumnHeadersMarked={}}}])&&d(n.prototype,r),u&&d(n,u),t}(r.default);Object(u.registerPlugin)("manualColumnResize",g),t.default=g},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(88),n(56),n(15),n(65),n(33),n(35),n(12),n(67),n(31),n(16),n(91),n(17),n(130);var r=n(44),i=n(40),a=n(2),o=n(1),s=n(10),l=n(49),u=n(37),c=n(1382),d=n(1383),f=n(1384);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);tthis.hot.getSettings().fixedRowsBottom}},{key:"persistentStateSave",value:function(){this.hot.runHooks("persistentStateSave","manualRowMove",this.rowsMapper._arrayMap)}},{key:"persistentStateLoad",value:function(){var e={};return this.hot.runHooks("persistentStateLoad","manualRowMove",e),e.value?e.value:[]}},{key:"prepareRowsToMoving",value:function(){var e=this.hot.getSelectedRangeLast(),t=[];if(!e)return t;var n=e.from,r=e.to,i=Math.min(n.row,r.row),a=Math.max(n.row,r.row);return Object(s.rangeEach)(i,a,(function(e){t.push(e)})),t}},{key:"refreshPositions",value:function(){var e=b.get(this),t=e.target.coords,n=this.hot.view.wt.wtTable.getFirstVisibleRow(),r=this.hot.view.wt.wtTable.getLastVisibleRow(),i=this.hot.getSettings().fixedRowsTop,a=this.hot.countRows();t.row0&&this.hot.scrollViewportTo(n-1),t.row>=r&&r0?n-1:n:l.offsetHeight/2+c<=d?(e.target.row=t.row+1,c+=0===t.row?l.offsetHeight-1:l.offsetHeight):e.target.row=t.row;var g=d,v=c;d+m+p>=f?g=f-m-p:d+p=f-1&&(v=f-1);var _=0;this.hot.view.wt.wtOverlays.topOverlay&&(_=this.hot.view.wt.wtOverlays.topOverlay.clone.wtTable.TABLE.offsetHeight),t.row>=i&&v-s.holder.scrollTop<_&&this.hot.scrollViewportTo(t.row),this.backlight.setPosition(g),this.guideline.setPosition(v)}},{key:"updateRowsMapper",value:function(){var e=this.hot.countSourceRows(),t=this.rowsMapper._arrayMap.length;if(0===t)this.rowsMapper.createMap(e||this.hot.getSettings().startRows);else if(te){var r=e-1,i=[];Object(a.arrayEach)(this.rowsMapper._arrayMap,(function(e,t){e>r&&i.push(t)})),this.rowsMapper.removeItems(i)}}},{key:"registerEvents",value:function(){var e=this,t=this.hot.rootDocument.documentElement;this.eventManager.addEventListener(t,"mousemove",(function(t){return e.onMouseMove(t)})),this.eventManager.addEventListener(t,"mouseup",(function(){return e.onMouseUp()}))}},{key:"unregisterEvents",value:function(){this.eventManager.clear()}},{key:"onBeforeColumnSort",value:function(e,t){b.get(this).disallowMoving=void 0!==t}},{key:"onBeforeOnCellMouseDown",value:function(e,t,n,r){var i=this.hot.view.wt,a=i.wtTable,s=i.wtViewport,l=this.hot.selection.isSelectedByRowHeader(),u=this.hot.getSelectedRangeLast(),c=b.get(this);if(!u||!l||c.pressed||0!==e.button)return c.pressed=!1,c.rowsToMove.length=0,void Object(o.removeClass)(this.hot.rootElement,["on-moving--rows","show-ui"]);var d=this.guideline.isBuilt()&&!this.guideline.isAppended(),f=this.backlight.isBuilt()&&!this.backlight.isAppended();d&&f&&(this.guideline.appendTo(a.hider),this.backlight.appendTo(a.hider));var h=u.from,p=u.to,m=Math.min(h.row,p.row),g=Math.max(h.row,p.row);if(t.col<0&&t.row>=m&&t.row<=g){r.row=!0,c.pressed=!0,c.target.eventPageY=e.pageY,c.target.coords=t,c.target.TD=n,c.rowsToMove=this.prepareRowsToMoving();var v=a.holder.scrollLeft+s.getRowHeaderWidth();this.backlight.setPosition(null,v),this.backlight.setSize(a.hider.offsetWidth-v,this.getRowsHeight(m,g+1)),this.backlight.setOffset(-1*(this.getRowsHeight(m,t.row)+e.layerY),null),Object(o.addClass)(this.hot.rootElement,"on-moving--rows"),this.refreshPositions()}else Object(o.removeClass)(this.hot.rootElement,"after-selection--rows"),c.pressed=!1,c.rowsToMove.length=0}},{key:"onMouseMove",value:function(e){var t=b.get(this);if(t.pressed){if(e.realTarget===this.backlight.element){var n=this.backlight.getSize().height;this.backlight.setSize(null,0),setTimeout((function(){this.backlight.setPosition(null,n)}))}t.target.eventPageY=e.pageY,this.refreshPositions()}}},{key:"onBeforeOnCellMouseOver",value:function(e,t,n,r){var i=this.hot.getSelectedRangeLast(),a=b.get(this);i&&a.pressed&&(a.rowsToMove.indexOf(t.row)>-1?Object(o.removeClass)(this.hot.rootElement,"show-ui"):Object(o.addClass)(this.hot.rootElement,"show-ui"),r.row=!0,r.column=!0,r.cell=!0,a.target.coords=t,a.target.TD=n)}},{key:"onMouseUp",value:function(){var e=b.get(this),t=e.target.row,n=e.rowsToMove.length;if(e.pressed=!1,e.backlightHeight=0,Object(o.removeClass)(this.hot.rootElement,["on-moving--rows","show-ui","after-selection--rows"]),this.hot.selection.isSelectedByRowHeader()&&Object(o.addClass)(this.hot.rootElement,"after-selection--rows"),!(n<1||void 0===t||e.rowsToMove.indexOf(t)>-1||e.rowsToMove[n-1]===t-1)){if(this.moveRows(e.rowsToMove,t),this.persistentStateSave(),this.hot.render(),!e.disallowMoving){var r=this.rowsMapper.getIndexByValue(e.rowsToMove[0]),i=this.rowsMapper.getIndexByValue(e.rowsToMove[n-1]);this.changeSelection(r,i)}e.rowsToMove.length=0}}},{key:"onAfterScrollHorizontally",value:function(){var e=this.hot.view.wt.wtTable,t=this.hot.view.wt.wtViewport.getRowHeaderWidth()+e.holder.scrollLeft;this.backlight.setPosition(null,t),this.backlight.setSize(e.hider.offsetWidth-t)}},{key:"onAfterCreateRow",value:function(e,t){this.rowsMapper.shiftItems(e,t)}},{key:"onBeforeRemoveRow",value:function(e,t){var n=this;this.removedRows.length=0,!1!==e&&Object(s.rangeEach)(e,e+t-1,(function(e){n.removedRows.push(n.hot.runHooks("modifyRow",e,n.pluginName))}))}},{key:"onAfterRemoveRow",value:function(){this.rowsMapper.unshiftItems(this.removedRows)}},{key:"onAfterLoadData",value:function(){this.updateRowsMapper()}},{key:"onModifyRow",value:function(e,t){var n=e;if(t!==this.pluginName){var r=this.rowsMapper.getValueByIndex(n);n=null===r?n:r}return n}},{key:"onUnmodifyRow",value:function(e){var t=this.rowsMapper.getIndexByValue(e);return null===t?e:t}},{key:"onAfterPluginsInitialized",value:function(){this.updateRowsMapper(),this.initialSettings(),this.backlight.build(),this.guideline.build()}},{key:"destroy",value:function(){this.backlight.destroy(),this.guideline.destroy(),this.rowsMapper.destroy(),v(_(t.prototype),"destroy",this).call(this)}}])&&m(n.prototype,r),i&&m(n,i),t}(r.default);Object(u.registerPlugin)("ManualRowMove",S),t.default=S},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17),n(130);var r=n(44),i=n(1),a=n(49),o=n(28),s=n(2),l=n(10),u=n(37);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n=0){var o=this.currentTH.getBoundingClientRect(),s=r=this.hot.countRows()-this.hot.getSettings().fixedRowsBottom,c=this.hot.view.wt.wtOverlays.leftOverlay;s?c=this.hot.view.wt.wtOverlays.topLeftCornerOverlay:u&&(c=this.hot.view.wt.wtOverlays.bottomLeftCornerOverlay);var d=c.getRelativeCellPosition(this.currentTH,n.row,n.col);if(!d){var f=c.clone.wtTable.TBODY.children[+!!this.hot.getSettings().colHeaders+r].firstChild;d=c.getRelativeCellPosition(f,n.row,n.col)}if(this.currentRow=r,this.selectedRows=[],this.hot.selection.isSelected()&&this.hot.selection.isSelectedByRowHeader()){var h=this.hot.getSelectedRangeLast(),p=h.from,m=h.to,g=p.row,v=m.row;g>=v&&(g=m.row,v=p.row),this.currentRow>=g&&this.currentRow<=v?Object(l.rangeEach)(g,v,(function(e){return t.selectedRows.push(e)})):this.selectedRows.push(this.currentRow)}else this.selectedRows.push(this.currentRow);this.startOffset=d.top-6,this.startHeight=parseInt(o.height,10),this.handle.style.top="".concat(this.startOffset+this.startHeight,"px"),this.handle.style.left="".concat(d.left,"px"),this.handle.style.width="".concat(a,"px"),this.hot.rootElement.appendChild(this.handle)}}},{key:"refreshHandlePosition",value:function(){this.handle.style.top="".concat(this.startOffset+this.currentHeight,"px")}},{key:"setupGuidePosition",value:function(){var e=parseInt(Object(i.outerWidth)(this.handle),10),t=parseInt(this.handle.style.left,10)+e,n=parseInt(this.hot.view.maximumVisibleElementWidth(0),10);Object(i.addClass)(this.handle,"active"),Object(i.addClass)(this.guide,"active"),this.guide.style.top=this.handle.style.top,this.guide.style.left="".concat(t,"px"),this.guide.style.width="".concat(n-e,"px"),this.hot.rootElement.appendChild(this.guide)}},{key:"refreshGuidePosition",value:function(){this.guide.style.top=this.handle.style.top}},{key:"hideHandleAndGuide",value:function(){Object(i.removeClass)(this.handle,"active"),Object(i.removeClass)(this.guide,"active")}},{key:"checkIfRowHeader",value:function(e){if(e!==this.hot.rootElement){var t=e.parentNode;return"TBODY"===t.tagName||this.checkIfRowHeader(t)}return!1}},{key:"getTHFromTargetElement",value:function(e){return"TABLE"!==e.tagName?"TH"===e.tagName?e:this.getTHFromTargetElement(e.parentNode):null}},{key:"onMouseOver",value:function(e){if(this.checkIfRowHeader(e.target)){var t=this.getTHFromTargetElement(e.target);t&&(this.pressed||this.setupHandlePosition(t))}}},{key:"afterMouseDownTimeout",value:function(){var e=this,t=function(){e.hot.forceFullRender=!0,e.hot.view.render(),e.hot.view.wt.wtOverlays.adjustElementsSize(!0)},n=function(n,r){var i=e.hot.runHooks("beforeRowResize",n,e.newSize,!0);void 0!==i&&(e.newSize=i),e.setManualSize(n,e.newSize),r&&t(),e.hot.runHooks("afterRowResize",n,e.newSize,!0)};this.dblclick>=2&&(this.selectedRows.length>1?(Object(s.arrayEach)(this.selectedRows,(function(e){n(e)})),t()):Object(s.arrayEach)(this.selectedRows,(function(e){n(e,!0)}))),this.dblclick=0,this.autoresizeTimeout=null}},{key:"onMouseDown",value:function(e){var t=this;Object(i.hasClass)(e.target,"manualRowResizer")&&(this.setupGuidePosition(),this.pressed=this.hot,null===this.autoresizeTimeout&&(this.autoresizeTimeout=setTimeout((function(){return t.afterMouseDownTimeout()}),500),this.hot._registerTimeout(this.autoresizeTimeout)),this.dblclick+=1,this.startY=Object(o.pageY)(e),this.newSize=this.startHeight)}},{key:"onMouseMove",value:function(e){var t=this;this.pressed&&(this.currentHeight=this.startHeight+(Object(o.pageY)(e)-this.startY),Object(s.arrayEach)(this.selectedRows,(function(e){t.newSize=t.setManualSize(e,t.currentHeight)})),this.refreshHandlePosition(),this.refreshGuidePosition())}},{key:"onMouseUp",value:function(){var e=this,t=function(){e.hot.forceFullRender=!0,e.hot.view.render(),e.hot.view.wt.wtOverlays.adjustElementsSize(!0)},n=function(n,r){e.hot.runHooks("beforeRowResize",n,e.newSize),r&&t(),e.saveManualRowHeights(),e.hot.runHooks("afterRowResize",n,e.newSize,!1)};this.pressed&&(this.hideHandleAndGuide(),this.pressed=!1,this.newSize!==this.startHeight&&(this.selectedRows.length>1?(Object(s.arrayEach)(this.selectedRows,(function(e){n(e)})),t()):Object(s.arrayEach)(this.selectedRows,(function(e){n(e,!0)}))),this.setupHandlePosition(this.currentTH))}},{key:"bindEvents",value:function(){var e=this,t=this.hot,n=t.rootElement,r=t.rootWindow;this.eventManager.addEventListener(n,"mouseover",(function(t){return e.onMouseOver(t)})),this.eventManager.addEventListener(n,"mousedown",(function(t){return e.onMouseDown(t)})),this.eventManager.addEventListener(r,"mousemove",(function(t){return e.onMouseMove(t)})),this.eventManager.addEventListener(r,"mouseup",(function(){return e.onMouseUp()}))}},{key:"setManualSize",value:function(e,t){var n=this.hot.runHooks("modifyRow",e);return this.manualRowHeights[n]=t,t}},{key:"onModifyRowHeight",value:function(e,t){if(this.enabled){var n=this.hot.getPlugin("autoRowSize"),r=n?n.heights[t]:null,i=this.hot.runHooks("modifyRow",t),a=this.manualRowHeights[i];if(void 0!==a&&(a===r||a>(e||0)))return a}return e}}])&&d(n.prototype,r),u&&d(n,u),t}(r.default);Object(u.registerPlugin)("manualRowResize",g),t.default=g},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(75),n(168),n(88),n(114),n(15),n(123),n(65),n(33),n(35),n(12),n(67),n(31),n(148),n(16),n(91),n(17);var r=n(44),i=n(40),a=n(37),o=n(28),s=n(14),l=n(1385),u=n(203),c=n(1386),d=n(1387),f=n(1388),h=n(2),p=n(3),m=n(94),g=n(10),v=n(487);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]&&arguments[1];return!!t||this.validateSetting(e)}},{key:"toggleMergeOnSelection",value:function(){var e=this.hot.getSelectedRangeLast();if(e){e.setDirection("NW-SE");var t=e.from,n=e.to;this.toggleMerge(e),this.hot.selectCell(t.row,t.col,n.row,n.col,!1)}}},{key:"mergeSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hot.getSelectedRangeLast();if(e){e.setDirection("NW-SE");var t=e.from,n=e.to;this.unmergeRange(e,!0),this.mergeRange(e),this.hot.selectCell(t.row,t.col,n.row,n.col,!1)}}},{key:"unmergeSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hot.getSelectedRangeLast();if(e){var t=e.from,n=e.to;this.unmergeRange(e,!0),this.hot.selectCell(t.row,t.col,n.row,n.col,!1)}}},{key:"mergeRange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.getTopLeftCorner(),a=e.getBottomRightCorner(),o={row:i.row,col:i.col,rowspan:a.row-i.row+1,colspan:a.col-i.col+1},s=[],l=null;if(!this.canMergeRange(o,n))return!1;this.hot.runHooks("beforeMergeCells",e,n),Object(g.rangeEach)(0,o.rowspan-1,(function(e){Object(g.rangeEach)(0,o.colspan-1,(function(n){var r=null;s[e]||(s[e]=[]),0===e&&0===n?r=t.hot.getDataAtCell(o.row,o.col):t.hot.setCellMeta(o.row+e,o.col+n,"hidden",!0),s[e][n]=r}))})),this.hot.setCellMeta(o.row,o.col,"spanned",!0);var u=this.mergedCellsCollection.add(o);return!u||(r?l=[o.row,o.col,s]:this.hot.populateFromArray(o.row,o.col,s,void 0,void 0,this.pluginName),this.hot.runHooks("afterMergeCells",e,o,n),l)}},{key:"unmergeRange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.mergedCellsCollection.getWithinRange(e);r&&(this.hot.runHooks("beforeUnmergeCells",e,n),Object(h.arrayEach)(r,(function(e){t.mergedCellsCollection.remove(e.row,e.col),Object(g.rangeEach)(0,e.rowspan-1,(function(n){Object(g.rangeEach)(0,e.colspan-1,(function(r){t.hot.removeCellMeta(e.row+n,e.col+r,"hidden")}))})),t.hot.removeCellMeta(e.row,e.col,"spanned")})),this.hot.render(),this.hot.runHooks("afterUnmergeCells",e,n))}},{key:"toggleMerge",value:function(e){var t=this.mergedCellsCollection.get(e.from.row,e.from.col);t.row===e.from.row&&t.col===e.from.col&&t.row+t.rowspan-1===e.to.row&&t.col+t.colspan-1===e.to.col?this.unmergeRange(e):this.mergeSelection(e)}},{key:"merge",value:function(e,t,n,r){var i=new s.CellCoords(e,t),a=new s.CellCoords(n,r);this.mergeRange(new s.CellRange(i,i,a))}},{key:"unmerge",value:function(e,t,n,r){var i=new s.CellCoords(e,t),a=new s.CellCoords(n,r);this.unmergeRange(new s.CellRange(i,i,a))}},{key:"onAfterInit",value:function(){this.generateFromSettings(this.hot.getSettings().mergeCells),this.hot.render()}},{key:"onBeforeKeyDown",value:function(e){(e.ctrlKey||e.metaKey)&&!e.altKey&&77===e.keyCode&&(this.toggleMerge(this.hot.getSelectedRangeLast()),this.hot.render(),Object(o.stopImmediatePropagation)(e))}},{key:"onAfterIsMultipleSelection",value:function(e){if(e)for(var t=this.mergedCellsCollection.mergedCells,n=this.hot.getSelectedRangeLast(),r=0;r0?i.row=o.row+o.rowspan-1-a.row+e.row:e.row<0&&(i.row=a.row-o.row+e.row),e.col>0?i.col=o.col+o.colspan-1-a.col+e.col:e.col<0&&(i.col=a.col-o.col+e.col)}t=new s.CellCoords(r.highlight.row+i.row,r.highlight.col+i.col);var c=this.mergedCellsCollection.get(t.row,t.col);c&&(n.lastDesiredCoords=t,i={row:c.row-a.row,col:c.col-a.col}),0!==i.row&&(e.row=i.row),0!==i.col&&(e.col=i.col)}},{key:"onModifyTransformEnd",value:function(e){var t=this,n=this.hot.getSelectedRangeLast(),r=Object(p.clone)(e),i=this.selectionCalculations.getUpdatedSelectionRange(n,e),a=Object(p.clone)(r),o=this.mergedCellsCollection.getWithinRange(i,!0);do{a=Object(p.clone)(r),this.selectionCalculations.getUpdatedSelectionRange(n,r),Object(h.arrayEach)(o,(function(e){t.selectionCalculations.snapDelta(r,n,e)}))}while(r.row!==a.row||r.col!==a.col);e.row=r.row,e.col=r.col}},{key:"onModifyGetCellCoords",value:function(e,t){var n=this.mergedCellsCollection.get(e,t);return n?[n.row,n.col,n.row+n.rowspan-1,n.col+n.colspan-1]:void 0}},{key:"addMergeActionsToContextMenu",value:function(e){e.items.push({name:"---------"},Object(f.default)(this))}},{key:"onAfterRenderer",value:function(e,t,n){var r=this.mergedCellsCollection.get(t,n);Object(v.applySpanProperties)(e,r,t,n)}},{key:"onBeforeSetRangeEnd",value:function(e){var t=this.hot.getSelectedRangeLast();t.highlight=new s.CellCoords(t.highlight.row,t.highlight.col),t.to=e;var n=!1;if(!this.hot.selection.isSelectedByColumnHeader()&&!this.hot.selection.isSelectedByRowHeader())do{n=!1;for(var r=0;re.endRow)return e.endRow=i,n.onAfterViewportRowCalculatorOverride.call(n,e)}return!0}))}},{key:"onAfterViewportColumnCalculatorOverride",value:function(e){var t,n=this,r=this.hot.countRows();Object(g.rangeEach)(0,r-1,(function(r){if((t=n.mergedCellsCollection.get(r,e.startColumn))&&t.cole.endColumn)return e.endColumn=i,n.onAfterViewportColumnCalculatorOverride.call(n,e)}return!0}))}},{key:"onModifyAutofillRange",value:function(e,t){this.autofillCalculations.correctSelectionAreaSize(t);var n=this.autofillCalculations.getDirection(t,e),r=e;if(this.autofillCalculations.dragAreaOverlapsCollections(t,r,n))return r=t;var i=this.mergedCellsCollection.getWithinRange({from:{row:t[0],col:t[1]},to:{row:t[2],col:t[3]}});return i?r=this.autofillCalculations.snapDragArea(t,r,n,i):r}},{key:"onAfterCreateCol",value:function(e,t){this.mergedCellsCollection.shiftCollections("right",e,t)}},{key:"onAfterRemoveCol",value:function(e,t){this.mergedCellsCollection.shiftCollections("left",e,t)}},{key:"onAfterCreateRow",value:function(e,t,n){"auto"!==n&&this.mergedCellsCollection.shiftCollections("down",e,t)}},{key:"onAfterRemoveRow",value:function(e,t){this.mergedCellsCollection.shiftCollections("up",e,t)}},{key:"onAfterChange",value:function(e,t){"Autofill.fill"===t&&this.autofillCalculations.recreateAfterDataPopulation(e)}},{key:"onBeforeDrawAreaBorders",value:function(e,t){if(t&&"area"===t){var n=this.hot.getSelectedRangeLast(),r=this.mergedCellsCollection.getWithinRange(n);Object(h.arrayEach)(r,(function(t){n.getBottomRightCorner().row===t.getLastRow()&&n.getBottomRightCorner().col===t.getLastColumn()&&(e[2]=t.row,e[3]=t.col)}))}}},{key:"onAfterModifyTransformStart",value:function(e,t,n){if(this.enabled){var r=this.mergedCellsCollection.get(e.row,e.col);if(r){var i=t>0,a=t<0,o=n<0,s=n>0,l=r.row+r.rowspan-1==this.hot.countRows()-1,u=0===r.row,c=r.col+r.colspan-1==this.hot.countCols()-1,d=0===r.col;(i&&l||a&&u||s&&c||o&&d)&&(e.row=r.row,e.col=r.col)}}}},{key:"onAfterDrawSelection",value:function(e,t,n,r){return this.selectionCalculations.getSelectedMergedCellClassName(e,t,n,r)}},{key:"onBeforeRemoveCellClassNames",value:function(){return this.selectionCalculations.getSelectedMergedCellClassNameToRemove()}}])&&S(n.prototype,r),i&&S(n,i),t}(r.default);Object(a.registerPlugin)("mergeCells",x),t.default=x},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(56),n(15),n(108),n(123),n(65),n(33),n(35),n(12),n(67),n(16),n(17);var r=n(1),i=n(110),a=n(44),o=n(49),s=n(37),l=n(14);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n0}}])&&c(n.prototype,a),s&&c(n,s),t}(a.default);Object(s.registerPlugin)("multipleSelectionHandles",m),t.default=m},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17);var r=n(44),i=n(1389),a=n(2),o=n(37);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:this.getCallback(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getQueryMethod(),i=this.hot.countRows(),a=this.hot.countCols(),s=[],l=this.hot;return Object(o.rangeEach)(0,i-1,(function(i){Object(o.rangeEach)(0,a-1,(function(a){var o=t.hot.getDataAtCell(i,a),u=t.hot.getCellMeta(i,a),c=u.search.callback||n,d=(u.search.queryMethod||r)(e,o,u);if(d){var f={row:i,col:a,data:o};s.push(f)}c&&c(l,i,a,o,d)}))})),s}},{key:"getCallback",value:function(){return this.callback}},{key:"setCallback",value:function(e){this.callback=e}},{key:"getQueryMethod",value:function(){return this.queryMethod}},{key:"setQueryMethod",value:function(e){this.queryMethod=e}},{key:"getSearchResultClass",value:function(){return this.searchResultClass}},{key:"setSearchResultClass",value:function(e){this.searchResultClass=e}},{key:"updatePluginSettings",value:function(e){Object(a.isObject)(e)&&(e.searchResultClass&&this.setSearchResultClass(e.searchResultClass),e.queryMethod&&this.setQueryMethod(e.queryMethod),e.callback&&this.setCallback(e.callback))}},{key:"onBeforeRenderer",value:function(e,t,n,r,i,a){var o,s=a.className||[],l=[];"string"==typeof s?l=s.split(" "):(o=l).push.apply(o,u(s)),this.isEnabled()&&a.isSearchResult?l.includes(this.searchResultClass)||l.push("".concat(this.searchResultClass)):l.includes(this.searchResultClass)&&l.splice(l.indexOf(this.searchResultClass),1),a.className=l.join(" ")}},{key:"destroy",value:function(){f(h(t.prototype),"destroy",this).call(this)}}])&&c(n.prototype,r),i&&c(n,i),t}(r.default);Object(i.registerPlugin)("search",v),t.default=v},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(15),n(65),n(33),n(35),n(12),n(67),n(16),n(17),n(130);var r=n(1),i=n(2),a=n(44),o=n(37),s=n(105);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n1?this.getSelected():[[o[0][0],o[0][1]]];t.done(new y.ChangeAction(o,s))}})),e.addHook("afterCreateRow",(function(e,n,r){if("UndoRedo.undo"!==r&&"UndoRedo.undo"!==r&&"auto"!==r){var i=new y.CreateRowAction(e,n);t.done(i)}})),e.addHook("beforeRemoveRow",(function(n,r,i,a){if("UndoRedo.undo"!==a&&"UndoRedo.redo"!==a&&"auto"!==a){var s=t.instance.getSourceDataArray(),l=(s.length+n)%s.length,u=e.toPhysicalRow(l),c=Object(o.deepClone)(s.slice(u,u+r));t.done(new y.RemoveRowAction(l,c))}})),e.addHook("afterCreateCol",(function(e,n,r){"UndoRedo.undo"!==r&&"UndoRedo.redo"!==r&&"auto"!==r&&t.done(new y.CreateColumnAction(e,n))})),e.addHook("beforeRemoveCol",(function(n,r,i,o){if("UndoRedo.undo"!==o&&"UndoRedo.redo"!==o&&"auto"!==o){var s=t.instance.getSourceDataArray(),l=(t.instance.countCols()+n)%t.instance.countCols(),u=[],c=[],d=[];Object(a.rangeEach)(s.length-1,(function(t){var n=[],i=s[t];Object(a.rangeEach)(l,l+(r-1),(function(t){n.push(i[e.runHooks("modifyCol",t)])})),u.push(n)})),Object(a.rangeEach)(r-1,(function(t){d.push(e.runHooks("modifyCol",l+t))})),Array.isArray(e.getSettings().colHeaders)&&Object(a.rangeEach)(r-1,(function(t){c.push(e.getSettings().colHeaders[e.runHooks("modifyCol",l+t)]||null)}));var f=t.instance.getPlugin("manualColumnMove"),h=f.isEnabled()?f.columnsMapper.__arrayMap:[],p=new y.RemoveColumnAction(l,d,u,c,h);t.done(p)}})),e.addHook("beforeCellAlignment",(function(e,n,r,i){var a=new y.CellAlignmentAction(e,n,r,i);t.done(a)})),e.addHook("beforeFilter",(function(e){t.done(new y.FiltersAction(e))})),e.addHook("beforeRowMove",(function(e,n){!1!==e&&t.done(new y.RowMoveAction(e,n))})),e.addHook("beforeMergeCells",(function(n,r){r||t.done(new y.MergeCellsAction(e,n))})),e.addHook("afterUnmergeCells",(function(n,r){r||t.done(new y.UnmergeCellsAction(e,n))}))}y.prototype.done=function(e){this.ignoreNewActions||(this.doneActions.push(e),this.undoneActions.length=0)},y.prototype.undo=function(){if(this.isUndoAvailable()){var e=this.doneActions.pop(),t=Object(o.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeUndo",t))return;this.ignoreNewActions=!0;var r=this;e.undo(this.instance,(function(){r.ignoreNewActions=!1,r.undoneActions.push(e)})),n.runHooks("afterUndo",t)}},y.prototype.redo=function(){if(this.isRedoAvailable()){var e=this.undoneActions.pop(),t=Object(o.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeRedo",t))return;this.ignoreNewActions=!0;var r=this;e.redo(this.instance,(function(){r.ignoreNewActions=!1,r.doneActions.push(e)})),n.runHooks("afterRedo",t)}},y.prototype.isUndoAvailable=function(){return this.doneActions.length>0},y.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},y.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},y.Action=function(){},y.Action.prototype.undo=function(){},y.Action.prototype.redo=function(){},y.ChangeAction=function(e,t){this.changes=e,this.selected=t,this.actionType="change"},Object(o.inherit)(y.ChangeAction,y.Action),y.ChangeAction.prototype.undo=function(e,t){for(var n=Object(o.deepClone)(this.changes),r=e.countEmptyRows(!0),i=e.countEmptyCols(!0),a=0,s=n.length;a=n&&this.index-rthis.target?this.rows[0]+this.rows.length:this.rows[0],a=[],o=this.rows.length+r,s=r;s