/*! * Copyright (c) HANDSONCODE sp. z o. o. * * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., * a Polish corporation, based in Gdynia, Poland, at 96/98 Aleja Zwycięstwa, * registered with the National Court Register under number 538651, * EU tax ID number: PL5862294002, share capital: PLN 62,800.00. * * This software is protected by applicable copyright laws, including * international treaties, and dual-licensed – depending on whether * your use is intended for or may result in commercial advantage * or monetary compensation (commercial purposes), or not. * * If your use involves only such purposes as research, private study, * evaluation and the like, you agree to be bound by the terms included * in the "handsontable-non-commercial-license.pdf" file, available * in the main directory of this software repository. * * By installing, copying, or otherwise using this software for * commercial purposes, you agree to be bound by the terms included * in the "handsontable-general-terms.pdf" file, available in the main * directory of this software repository. * * HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. IN NO EVENT * AND UNDER NO LEGAL THEORY, SHALL HANDSONCODE BE LIABLE * TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, * INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING * FROM USE OR INABILITY TO USE THIS SOFTWARE. * * Version: 7.4.2 * Release date: 19/02/2020 (built at 19/02/2020 13:50:11) */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("hot-formula-parser"),require("pikaday"),require("numbro")):"function"==typeof define&&define.amd?define("Handsontable",["moment","hot-formula-parser","pikaday","numbro"],t):"object"==typeof exports?exports.Handsontable=t(require("moment"),require("hot-formula-parser"),require("pikaday"),require("numbro")):e.Handsontable=t(e.moment,e.formulaParser,e.Pikaday,e.numbro)}("undefined"!=typeof self?self:this,(function(e,t,n,o){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},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=288)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:"value",o="_".concat(n),r=(t={_touched:!1},(0,i.default)(t,o,e),(0,i.default)(t,"isTouched",(function(){return this._touched})),t);return Object.defineProperty(r,n,{get:function(){return this[o]},set:function(e){this._touched=!0,this[o]=e},enumerable:!0,configurable:!0}),r},t.hasOwnProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var i=o(n(69)),r=o(n(42)),a=n(4);function s(e){return"object"===(0,r.default)(e)?JSON.parse(JSON.stringify(e)):e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){for(var n in e)if((!e.hasOwnProperty||e.hasOwnProperty&&Object.prototype.hasOwnProperty.call(e,n))&&!1===t(e[n],n,e))break;return e}},function(e,t,n){"use strict";function o(e,t,n,o){var i=-1,r=e,a=n;Array.isArray(e)||(r=Array.from(e));var s=r.length;for(o&&s&&(a=r[i+=1]),i+=1;it?e:t}),Array.isArray(e)?e[0]:void 0)},t.arrayMin=function(e){return o(e,(function(e,t){return e1&&void 0!==arguments[1]?arguments[1]:0,n=-1,o=null,i=e;for(;null!==i;){if(n===t){o=i;break}i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i=i.host:(n+=1,i=i.parentNode)}return o},t.getFrameElement=c,t.getParentWindow=function(e){return c(e)&&e.parent},t.hasAccessToParentWindow=function(e){return!!Object.getPrototypeOf(e.parent)},t.closest=h,t.closestDown=function(e,t,n){var o=[],i=e;for(;i&&(i=h(i,t,n))&&(!n||n.contains(i));)o.push(i),i=i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode;var r=o.length;return r?o[r-1]:null},t.isChildOf=function(e,t){var n=e.parentNode,o=[];"string"==typeof t?o=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):o.push(t);for(;null!==n;){if(o.indexOf(n)>-1)return!0;n=n.parentNode}return!1},t.isChildOfWebComponentTable=function(e){var t=!1,n=d(e);function o(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="hot-table".toUpperCase()}for(;null!==n;){if(o(n)){t=!0;break}if(n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(t=o(n.host))break;n=n.host}n=n.parentNode}return t},t.polymerWrap=d,t.polymerUnwrap=f,t.index=function(e){var t=0,n=e;if(n.previousSibling)for(;n=n.previousSibling;)t+=1;return t},t.overlayContainsElement=function(e,t,n){var o=n.parentElement.querySelector(".ht_clone_".concat(e));return o?o.contains(t):null},t.hasClass=function(e,t){return i(e,t)},t.addClass=function(e,t){return r(e,t)},t.removeClass=function(e,t){return a(e,t)},t.removeTextNodes=function e(t,n){if(3===t.nodeType)n.removeChild(t);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(t.nodeName)>-1)for(var o=t.childNodes,i=o.length-1;i>=0;i--)e(o[i],t)},t.empty=m,t.fastInnerHTML=function(e,t){C.test(t)?e.innerHTML=t:w(e,t)},t.fastInnerText=w,t.isVisible=function e(t){var n=t.ownerDocument.documentElement,o=t;for(;f(o)!==n;){if(null===o)return!1;if(o.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(o.host){if(o.host.impl)return e(o.host.impl);if(o.host)return e(o.host);throw new Error("Lost in Web Components world")}return!1}if(o.style&&"none"===o.style.display)return!1;o=o.parentNode}return!0},t.offset=function(e){var t,n,o,i,r=e.ownerDocument,a=r.defaultView,s=r.documentElement,l=e;if((0,u.hasCaptionProblem)()&&l.firstChild&&"CAPTION"===l.firstChild.nodeName)return{top:(i=l.getBoundingClientRect()).top+(a.pageYOffset||s.scrollTop)-(s.clientTop||0),left:i.left+(a.pageXOffset||s.scrollLeft)-(s.clientLeft||0)};t=l.offsetLeft,n=l.offsetTop,o=l;for(;(l=l.offsetParent)&&l!==r.body;)t+=l.offsetLeft,n+=l.offsetTop,o=l;o&&"fixed"===o.style.position&&(t+=a.pageXOffset||s.scrollLeft,n+=a.pageYOffset||s.scrollTop);return{left:t,top:n}},t.getWindowScrollTop=E,t.getWindowScrollLeft=S,t.getScrollTop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return E(t);return e.scrollTop},t.getScrollLeft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return S(t);return e.scrollLeft},t.getScrollableElement=function(e){var t=e.ownerDocument,n=t?t.defaultView:void 0;t||(t=e.document?e.document:e,n=t.defaultView);var o=["auto","scroll"],i=(0,u.isGetComputedStyleSupported)(),r=e.parentNode;for(;r&&r.style&&t.body!==r;){var a=r.style,s=a.overflow,l=a.overflowX,c=a.overflowY;if([s,l,c].includes("scroll"))return r;if(i){var h=n.getComputedStyle(r);if(s=h.overflow,l=h.overflowX,c=h.overflowY,o.includes(s)||o.includes(l)||o.includes(c))return r}if(r.clientHeight<=r.scrollHeight+1&&(o.includes(c)||o.includes(s)))return r;if(r.clientWidth<=r.scrollWidth+1&&(o.includes(l)||o.includes(s)))return r;r=r.parentNode}return n},t.getTrimmingContainer=function(e){var t=e.ownerDocument,n=t.defaultView,o=e.parentNode;for(;o&&o.style&&t.body!==o;){if("visible"!==o.style.overflow&&""!==o.style.overflow)return o;var i=R(o,n),r=["scroll","hidden","auto"],a=i.getPropertyValue("overflow"),s=i.getPropertyValue("overflow-y"),l=i.getPropertyValue("overflow-x");if(r.includes(a)||r.includes(s)||r.includes(l))return o;o=o.parentNode}return n},t.getStyle=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(!e)return;if(e===n)return"width"===t?"".concat(n.innerWidth,"px"):"height"===t?"".concat(n.innerHeight,"px"):void 0;var o=e.style[t];if(""!==o&&void 0!==o)return o;var i=R(e,n);if(""!==i[t]&&void 0!==i[t])return i[t]},t.matchesCSSRules=function(e,t){var n=t.selectorText,o=!1;t.type===CSSRule.STYLE_RULE&&n&&(e.msMatchesSelector?o=e.msMatchesSelector(n):e.matches&&(o=e.matches(n)));return o},t.getComputedStyle=R,t.outerWidth=function(e){return e.offsetWidth},t.outerHeight=function(e){if((0,u.hasCaptionProblem)()&&e.firstChild&&"CAPTION"===e.firstChild.nodeName)return e.offsetHeight+e.firstChild.offsetHeight;return e.offsetHeight},t.innerHeight=function(e){return e.clientHeight||e.innerHeight},t.innerWidth=function(e){return e.clientWidth||e.innerWidth},t.addEvent=function(e,t,n){var o=e.defaultView;o||(o=e.document?e:e.ownerDocument.defaultView);o.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on".concat(t),n)},t.removeEvent=function(e,t,n){var o=e.defaultView;o||(o=e.document?e:e.ownerDocument.defaultView);o.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on".concat(t),n)},t.getCaretPosition=function(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 o=e.createTextRange(),i=o.duplicate();return o.moveToBookmark(n.getBookmark()),i.setEndPoint("EndToStart",o),i.text.length}return 0},t.getSelectionEndPosition=function(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},t.getSelectionText=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document,n="";e.getSelection?n=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(n=t.selection.createRange().text);return n},t.clearTextSelection=function(){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()},t.setCaretPosition=function(e,t,n){void 0===n&&(n=t);if(e.setSelectionRange){e.focus();try{e.setSelectionRange(t,n)}catch(r){var o=e.parentNode,i=o.style.display;o.style.display="block",e.setSelectionRange(t,n),o.style.display=i}}else if(e.createTextRange){var r=e.createTextRange();r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r.select()}},t.getScrollbarWidth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;void 0===y&&(y=T(e));return y},t.hasVerticalScrollbar=function(e){return e.offsetWidth!==e.clientWidth},t.hasHorizontalScrollbar=function(e){return e.offsetHeight!==e.clientHeight},t.setOverlayPosition=function(e,t,n){(0,l.isIE8)()||(0,l.isIE9)()?(e.style.top=n,e.style.left=t):(0,l.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)")},t.getCssTransform=function(e){var t;if(e.style.transform&&""!==(t=e.style.transform))return["transform",t];if(e.style["-webkit-transform"]&&""!==(t=e.style["-webkit-transform"]))return["-webkit-transform",t];return-1},t.resetCssTransform=function(e){e.style.transform&&""!==e.style.transform?e.style.transform="":e.style["-webkit-transform"]&&""!==e.style["-webkit-transform"]&&(e.style["-webkit-transform"]="")},t.isInput=k,t.isOutsideInput=b,t.selectElementIfAllowed=function(e){b(e.ownerDocument.activeElement)||e.select()},t.HTML_CHARACTERS=void 0;var i,r,a,s=o(n(37)),l=n(70),u=n(76);function c(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function h(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=Node,i=o.ELEMENT_NODE,r=o.DOCUMENT_FRAGMENT_NODE,a=e;null!=a&&a!==n;){var s=a,l=s.nodeType,u=s.nodeName;if(l===i&&(t.includes(u)||t.includes(a)))return a;var c=a,h=c.host;a=h&&l===r?h:a.parentNode}return null}function d(e){return"undefined"!=typeof Polymer&&"function"==typeof wrap?wrap(e):e}function f(e){return"undefined"!=typeof Polymer&&"function"==typeof unwrap?unwrap(e):e}function v(e){var t=[];if(!e||!e.length)return t;for(var n=0;e[n];)t.push(e[n]),n+=1;return t}if((0,u.isClassListSupported)()){var g=function(e){var t=e.createElement("div");return t.classList.add("test","test2"),t.classList.contains("test2")};i=function(e,t){return void 0!==e.classList&&"string"==typeof t&&""!==t&&e.classList.contains(t)},r=function(e,t){var n,o=e.ownerDocument,i=t;if("string"==typeof i&&(i=i.split(" ")),(i=v(i)).length>0)if(g(o))(n=e.classList).add.apply(n,(0,s.default)(i));else for(var r=0;i&&i[r];)e.classList.add(i[r]),r+=1},a=function(e,t){var n,o=t;if("string"==typeof o&&(o=o.split(" ")),(o=v(o)).length>0)if(g)(n=e.classList).remove.apply(n,(0,s.default)(o));else for(var i=0;o&&o[i];)e.classList.remove(o[i]),i+=1}}else{var p=function(e){return new RegExp("(\\s|^)".concat(e,"(\\s|$)"))};i=function(e,t){return void 0!==e.className&&p(t).test(e.className)},r=function(e,t){var n=0,o=e.className,i=t;if("string"==typeof i&&(i=i.split(" ")),""===o)o=i.join(" ");else for(;i&&i[n];)p(i[n]).test(o)||(o+=" ".concat(i[n])),n+=1;e.className=o},a=function(e,t){var n=0,o=e.className,i=t;for("string"==typeof i&&(i=i.split(" "));i&&i[n];)o=o.replace(p(i[n])," ").trim(),n+=1;e.className!==o&&(e.className=o)}}function m(e){for(var t;t=e.lastChild;)e.removeChild(t)}var y,C=/(<(.*)>|&(.*);)/;function w(e,t){var n=e.firstChild;n&&3===n.nodeType&&null===n.nextSibling?u.isTextContentSupported?n.textContent=t:n.data=t:(m(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function E(){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 S(){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 R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function T(){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 o=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;return o===i&&(i=n.clientWidth),(e.body||e.documentElement).removeChild(n),o-i}function k(e){return e&&(["INPUT","SELECT","TEXTAREA"].indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function b(e){return k(e)&&-1===e.className.indexOf("handsontableInput")&&-1===e.className.indexOf("HandsontableCopyPaste")}t.HTML_CHARACTERS=C},function(e,t,n){var o=n(42);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=r?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){var o=n(164),i=n(67),r=n(296);o||i(Object.prototype,"toString",r,{unsafe:!0})},function(e,t,n){"use strict";t.__esModule=!0,t.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE=t.FILTERS_BUTTONS_PLACEHOLDER_VALUE=t.FILTERS_BUTTONS_PLACEHOLDER_SEARCH=t.FILTERS_BUTTONS_CANCEL=t.FILTERS_BUTTONS_OK=t.FILTERS_BUTTONS_CLEAR=t.FILTERS_BUTTONS_SELECT_ALL=t.FILTERS_VALUES_BLANK_CELLS=t.FILTERS_LABELS_DISJUNCTION=t.FILTERS_LABELS_CONJUNCTION=t.FILTERS_DIVS_FILTER_BY_VALUE=t.FILTERS_DIVS_FILTER_BY_CONDITION=t.FILTERS_CONDITIONS_YESTERDAY=t.FILTERS_CONDITIONS_TOMORROW=t.FILTERS_CONDITIONS_TODAY=t.FILTERS_CONDITIONS_BEFORE=t.FILTERS_CONDITIONS_AFTER=t.FILTERS_CONDITIONS_NOT_BETWEEN=t.FILTERS_CONDITIONS_BETWEEN=t.FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL=t.FILTERS_CONDITIONS_LESS_THAN=t.FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL=t.FILTERS_CONDITIONS_GREATER_THAN=t.FILTERS_CONDITIONS_BY_VALUE=t.FILTERS_CONDITIONS_NOT_CONTAIN=t.FILTERS_CONDITIONS_CONTAINS=t.FILTERS_CONDITIONS_ENDS_WITH=t.FILTERS_CONDITIONS_BEGINS_WITH=t.FILTERS_CONDITIONS_NOT_EQUAL=t.FILTERS_CONDITIONS_EQUAL=t.FILTERS_CONDITIONS_NOT_EMPTY=t.FILTERS_CONDITIONS_EMPTY=t.FILTERS_CONDITIONS_NONE=t.FILTERS_CONDITIONS_NAMESPACE=t.FILTERS_NAMESPACE=t.CONTEXTMENU_ITEMS_SHOW_ROW=t.CONTEXTMENU_ITEMS_HIDE_ROW=t.CONTEXTMENU_ITEMS_SHOW_COLUMN=t.CONTEXTMENU_ITEMS_HIDE_COLUMN=t.CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD=t.CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD=t.CONTEXTMENU_ITEMS_REMOVE_BORDERS=t.CONTEXTMENU_ITEMS_BORDERS_LEFT=t.CONTEXTMENU_ITEMS_BORDERS_BOTTOM=t.CONTEXTMENU_ITEMS_BORDERS_RIGHT=t.CONTEXTMENU_ITEMS_BORDERS_TOP=t.CONTEXTMENU_ITEMS_BORDERS=t.CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM=t.CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE=t.CONTEXTMENU_ITEMS_ALIGNMENT_TOP=t.CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY=t.CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT=t.CONTEXTMENU_ITEMS_ALIGNMENT_CENTER=t.CONTEXTMENU_ITEMS_ALIGNMENT_LEFT=t.CONTEXTMENU_ITEMS_ALIGNMENT=t.CONTEXTMENU_ITEMS_READ_ONLY_COMMENT=t.CONTEXTMENU_ITEMS_REMOVE_COMMENT=t.CONTEXTMENU_ITEMS_EDIT_COMMENT=t.CONTEXTMENU_ITEMS_ADD_COMMENT=t.CONTEXTMENU_ITEMS_UNMERGE_CELLS=t.CONTEXTMENU_ITEMS_MERGE_CELLS=t.CONTEXTMENU_ITEMS_UNFREEZE_COLUMN=t.CONTEXTMENU_ITEMS_FREEZE_COLUMN=t.CONTEXTMENU_ITEMS_CUT=t.CONTEXTMENU_ITEMS_COPY=t.CONTEXTMENU_ITEMS_CLEAR_COLUMN=t.CONTEXTMENU_ITEMS_READ_ONLY=t.CONTEXTMENU_ITEMS_REDO=t.CONTEXTMENU_ITEMS_UNDO=t.CONTEXTMENU_ITEMS_REMOVE_COLUMN=t.CONTEXTMENU_ITEMS_REMOVE_ROW=t.CONTEXTMENU_ITEMS_INSERT_RIGHT=t.CONTEXTMENU_ITEMS_INSERT_LEFT=t.CONTEXTMENU_ITEMS_ROW_BELOW=t.CONTEXTMENU_ITEMS_ROW_ABOVE=t.CONTEXTMENU_ITEMS_NO_ITEMS=t.CONTEXT_MENU_ITEMS_NAMESPACE=void 0;t.CONTEXT_MENU_ITEMS_NAMESPACE="ContextMenu:items";var o="".concat("ContextMenu:items",".noItems");t.CONTEXTMENU_ITEMS_NO_ITEMS=o;var i="".concat("ContextMenu:items",".insertRowAbove");t.CONTEXTMENU_ITEMS_ROW_ABOVE=i;var r="".concat("ContextMenu:items",".insertRowBelow");t.CONTEXTMENU_ITEMS_ROW_BELOW=r;var a="".concat("ContextMenu:items",".insertColumnOnTheLeft");t.CONTEXTMENU_ITEMS_INSERT_LEFT=a;var s="".concat("ContextMenu:items",".insertColumnOnTheRight");t.CONTEXTMENU_ITEMS_INSERT_RIGHT=s;var l="".concat("ContextMenu:items",".removeRow");t.CONTEXTMENU_ITEMS_REMOVE_ROW=l;var u="".concat("ContextMenu:items",".removeColumn");t.CONTEXTMENU_ITEMS_REMOVE_COLUMN=u;var c="".concat("ContextMenu:items",".undo");t.CONTEXTMENU_ITEMS_UNDO=c;var h="".concat("ContextMenu:items",".redo");t.CONTEXTMENU_ITEMS_REDO=h;var d="".concat("ContextMenu:items",".readOnly");t.CONTEXTMENU_ITEMS_READ_ONLY=d;var f="".concat("ContextMenu:items",".clearColumn");t.CONTEXTMENU_ITEMS_CLEAR_COLUMN=f;var v="".concat("ContextMenu:items",".copy");t.CONTEXTMENU_ITEMS_COPY=v;var g="".concat("ContextMenu:items",".cut");t.CONTEXTMENU_ITEMS_CUT=g;var p="".concat("ContextMenu:items",".freezeColumn");t.CONTEXTMENU_ITEMS_FREEZE_COLUMN=p;var m="".concat("ContextMenu:items",".unfreezeColumn");t.CONTEXTMENU_ITEMS_UNFREEZE_COLUMN=m;var y="".concat("ContextMenu:items",".mergeCells");t.CONTEXTMENU_ITEMS_MERGE_CELLS=y;var C="".concat("ContextMenu:items",".unmergeCells");t.CONTEXTMENU_ITEMS_UNMERGE_CELLS=C;var w="".concat("ContextMenu:items",".addComment");t.CONTEXTMENU_ITEMS_ADD_COMMENT=w;var E="".concat("ContextMenu:items",".editComment");t.CONTEXTMENU_ITEMS_EDIT_COMMENT=E;var S="".concat("ContextMenu:items",".removeComment");t.CONTEXTMENU_ITEMS_REMOVE_COMMENT=S;var R="".concat("ContextMenu:items",".readOnlyComment");t.CONTEXTMENU_ITEMS_READ_ONLY_COMMENT=R;var T="".concat("ContextMenu:items",".align");t.CONTEXTMENU_ITEMS_ALIGNMENT=T;var k="".concat("ContextMenu:items",".align.left");t.CONTEXTMENU_ITEMS_ALIGNMENT_LEFT=k;var b="".concat("ContextMenu:items",".align.center");t.CONTEXTMENU_ITEMS_ALIGNMENT_CENTER=b;var O="".concat("ContextMenu:items",".align.right");t.CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT=O;var _="".concat("ContextMenu:items",".align.justify");t.CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY=_;var M="".concat("ContextMenu:items",".align.top");t.CONTEXTMENU_ITEMS_ALIGNMENT_TOP=M;var N="".concat("ContextMenu:items",".align.middle");t.CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE=N;var A="".concat("ContextMenu:items",".align.bottom");t.CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM=A;var I="".concat("ContextMenu:items",".borders");t.CONTEXTMENU_ITEMS_BORDERS=I;var D="".concat("ContextMenu:items",".borders.top");t.CONTEXTMENU_ITEMS_BORDERS_TOP=D;var H="".concat("ContextMenu:items",".borders.right");t.CONTEXTMENU_ITEMS_BORDERS_RIGHT=H;var L="".concat("ContextMenu:items",".borders.bottom");t.CONTEXTMENU_ITEMS_BORDERS_BOTTOM=L;var P="".concat("ContextMenu:items",".borders.left");t.CONTEXTMENU_ITEMS_BORDERS_LEFT=P;var x="".concat("ContextMenu:items",".borders.remove");t.CONTEXTMENU_ITEMS_REMOVE_BORDERS=x;var F="".concat("ContextMenu:items",".nestedHeaders.insertChildRow");t.CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD=F;var B="".concat("ContextMenu:items",".nestedHeaders.detachFromParent");t.CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD=B;var W="".concat("ContextMenu:items",".hideColumn");t.CONTEXTMENU_ITEMS_HIDE_COLUMN=W;var V="".concat("ContextMenu:items",".showColumn");t.CONTEXTMENU_ITEMS_SHOW_COLUMN=V;var U="".concat("ContextMenu:items",".hideRow");t.CONTEXTMENU_ITEMS_HIDE_ROW=U;var j="".concat("ContextMenu:items",".showRow");t.CONTEXTMENU_ITEMS_SHOW_ROW=j;t.FILTERS_NAMESPACE="Filters:";var z="".concat("Filters:","conditions");t.FILTERS_CONDITIONS_NAMESPACE=z;var Y="".concat(z,".none");t.FILTERS_CONDITIONS_NONE=Y;var G="".concat(z,".isEmpty");t.FILTERS_CONDITIONS_EMPTY=G;var X="".concat(z,".isNotEmpty");t.FILTERS_CONDITIONS_NOT_EMPTY=X;var K="".concat(z,".isEqualTo");t.FILTERS_CONDITIONS_EQUAL=K;var q="".concat(z,".isNotEqualTo");t.FILTERS_CONDITIONS_NOT_EQUAL=q;var $="".concat(z,".beginsWith");t.FILTERS_CONDITIONS_BEGINS_WITH=$;var Q="".concat(z,".endsWith");t.FILTERS_CONDITIONS_ENDS_WITH=Q;var J="".concat(z,".contains");t.FILTERS_CONDITIONS_CONTAINS=J;var Z="".concat(z,".doesNotContain");t.FILTERS_CONDITIONS_NOT_CONTAIN=Z;var ee="".concat(z,".byValue");t.FILTERS_CONDITIONS_BY_VALUE=ee;var te="".concat(z,".greaterThan");t.FILTERS_CONDITIONS_GREATER_THAN=te;var ne="".concat(z,".greaterThanOrEqualTo");t.FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL=ne;var oe="".concat(z,".lessThan");t.FILTERS_CONDITIONS_LESS_THAN=oe;var ie="".concat(z,".lessThanOrEqualTo");t.FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL=ie;var re="".concat(z,".isBetween");t.FILTERS_CONDITIONS_BETWEEN=re;var ae="".concat(z,".isNotBetween");t.FILTERS_CONDITIONS_NOT_BETWEEN=ae;var se="".concat(z,".after");t.FILTERS_CONDITIONS_AFTER=se;var le="".concat(z,".before");t.FILTERS_CONDITIONS_BEFORE=le;var ue="".concat(z,".today");t.FILTERS_CONDITIONS_TODAY=ue;var ce="".concat(z,".tomorrow");t.FILTERS_CONDITIONS_TOMORROW=ce;var he="".concat(z,".yesterday");t.FILTERS_CONDITIONS_YESTERDAY=he;var de="".concat("Filters:","labels.filterByCondition");t.FILTERS_DIVS_FILTER_BY_CONDITION=de;var fe="".concat("Filters:","labels.filterByValue");t.FILTERS_DIVS_FILTER_BY_VALUE=fe;var ve="".concat("Filters:","labels.conjunction");t.FILTERS_LABELS_CONJUNCTION=ve;var ge="".concat("Filters:","labels.disjunction");t.FILTERS_LABELS_DISJUNCTION=ge;var pe="".concat("Filters:","values.blankCells");t.FILTERS_VALUES_BLANK_CELLS=pe;var me="".concat("Filters:","buttons.selectAll");t.FILTERS_BUTTONS_SELECT_ALL=me;var ye="".concat("Filters:","buttons.clear");t.FILTERS_BUTTONS_CLEAR=ye;var Ce="".concat("Filters:","buttons.ok");t.FILTERS_BUTTONS_OK=Ce;var we="".concat("Filters:","buttons.cancel");t.FILTERS_BUTTONS_CANCEL=we;var Ee="".concat("Filters:","buttons.placeholder.search");t.FILTERS_BUTTONS_PLACEHOLDER_SEARCH=Ee;var Se="".concat("Filters:","buttons.placeholder.value");t.FILTERS_BUTTONS_PLACEHOLDER_VALUE=Se;var Re="".concat("Filters:","buttons.placeholder.secondValue");t.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE=Re},function(e,t,n){"use strict";var o=n(20),i=n(158).indexOf,r=n(84),a=n(59),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,u=r("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!u||!c},{indexOf:function(e){return l?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(165).charAt,i=n(81),r=n(162),a=i.set,s=i.getterFor("String Iterator");r(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=o(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var o=n(333);function i(t,n,r){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=o(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}},i(t,n,r||t)}e.exports=i},function(e,t,n){"use strict";var o=n(63),i=n(109),r=n(112),a=n(81),s=n(162),l=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:o(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var o=n(35),i=n(214),r=n(15),a=n(66),s=n(36),l=s("iterator"),u=s("toStringTag"),c=r.values;for(var h in i){var d=o[h],f=d&&d.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(e){f[l]=c}if(f[u]||a(f,u,h),i[h])for(var v in r)if(f[v]!==r[v])try{a(f,v,r[v])}catch(e){f[v]=r[v]}}}},function(e,t,n){"use strict";var o=n(0);n(10),n(23),n(38),n(40),t.__esModule=!0,t.isNumeric=function(e){var t=(0,i.default)(e);return"number"==t?!isNaN(e)&&isFinite(e):"string"==t?!!e.length&&(1==e.length?/\d/.test(e):/^\s*[+-]?\s*(?:(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?)|(?:0x[a-f\d]+))\s*$/i.test(e)):"object"==t&&!(!e||"number"!=typeof e.valueOf()||e instanceof Date)},t.rangeEach=function(e,t,n){var o=-1;"function"==typeof t?(n=t,t=e):o=e-1;for(;++o<=t&&!1!==n(o););},t.rangeEachReverse=function(e,t,n){var o=e+1;"function"==typeof t&&(n=t,t=0);for(;--o>=t&&!1!==n(o););},t.valueAccordingPercent=function(e,t){return t=parseInt(t.toString().replace("%",""),10),t=parseInt(e*t/100,10)};var i=o(n(42))},function(e,t,n){var o=n(229),i=n(303),r=n(230);e.exports=function(e,t){return o(e)||i(e,t)||r()}},function(e,t,n){"use strict";var o=n(20),i=n(26),r=n(114),a=n(45),s=n(58),l=n(49),u=n(115),c=n(170),h=n(116),d=n(36),f=n(218),v=d("isConcatSpreadable"),g=f>=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),p=h("concat"),m=function(e){if(!a(e))return!1;var t=e[v];return void 0!==t?!!t:r(e)};o({target:"Array",proto:!0,forced:!g||!p},{concat:function(e){var t,n,o,i,r,a=s(this),h=c(a,0),d=0;for(t=-1,o=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(h,d++,r)}return h.length=d,h}})},function(e,t,n){var o=n(35),i=n(79).f,r=n(66),a=n(67),s=n(156),l=n(198),u=n(134);e.exports=function(e,t){var n,c,h,d,f,v=e.target,g=e.global,p=e.stat;if(n=g?o:p?o[v]||s(v,{}):(o[v]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=i(n,c))&&f.value:n[c],!u(g?c:v+(p?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&r(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){"use strict";var o=n(0);n(15),n(64),n(10),n(13),n(24),n(16),t.__esModule=!0,t.registerPlugin=function(e,t){var n=(0,a.toUpperCaseFirst)(e);i.default.getSingleton().add("construct",(function(){s.has(this)||s.set(this,{});var e=s.get(this);e[n]||(e[n]=new t(this))})),i.default.getSingleton().add("afterDestroy",(function(){if(s.has(this)){var e=s.get(this);(0,r.objectEach)(e,(function(e){return e.destroy()})),s.delete(this)}}))},t.getPlugin=function(e,t){if("string"!=typeof t)throw Error('Only strings can be passed as "plugin" parameter');var n=(0,a.toUpperCaseFirst)(t);if(!s.has(e)||!s.get(e)[n])return;return s.get(e)[n]},t.getRegistredPluginNames=function(e){return s.has(e)?Object.keys(s.get(e)):[]},t.getPluginName=function(e,t){var n=null;s.has(e)&&(0,r.objectEach)(s.get(e),(function(e,o){e===t&&(n=o)}));return n};var i=o(n(46)),r=n(3),a=n(74),s=new WeakMap},function(e,t,n){"use strict";var o=n(0);n(12),n(15),n(33),n(10),n(13),n(24),n(16),t.__esModule=!0,t.default=void 0;var i=o(n(1)),r=o(n(2)),a=n(3),s=n(4),l=n(98),u=n(21),c=new WeakMap,h=null,d=function(){function e(t){var n=this;(0,i.default)(this,e),(0,a.defineGetter)(this,"hot",t,{writable:!1}),(0,a.defineGetter)(this,"t",(0,l.getTranslator)(t),{writable:!1}),c.set(this,{hooks:{}}),h=null,this.pluginName=null,this.pluginsInitializedCallbacks=[],this.isPluginsReady=!1,this.enabled=!1,this.initialized=!1,this.hot.addHook("afterPluginsInitialized",(function(){return n.onAfterPluginsInitialized()})),this.hot.addHook("afterUpdateSettings",(function(e){return n.onUpdateSettings(e)})),this.hot.addHook("beforeInit",(function(){return n.init()}))}return(0,r.default)(e,[{key:"init",value:function(){this.pluginName=(0,u.getPluginName)(this.hot,this),this.isEnabled&&this.isEnabled()&&this.enablePlugin(),h||(h=(0,u.getRegistredPluginNames)(this.hot)),h.indexOf(this.pluginName)>=0&&h.splice(h.indexOf(this.pluginName),1),h.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){c.get(this).hooks[e]=c.get(this).hooks[e]||[];var n=c.get(this).hooks[e];this.hot.addHook(e,t),n.push(t),c.get(this).hooks[e]=n}},{key:"removeHooks",value:function(e){var t=this;(0,s.arrayEach)(c.get(this).hooks[e]||[],(function(n){t.hot.removeHook(e,n)}))}},{key:"clearHooks",value:function(){var e=this,t=c.get(this).hooks;(0,a.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(){(0,s.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(),(0,a.objectEach)(this,(function(t,n){"hot"!==n&&"t"!==n&&(e[n]=null)})),delete this.t,delete this.hot}}]),e}();t.default=d},function(e,t,n){"use strict";var o=n(20),i=n(140);o({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){"use strict";var o,i=n(35),r=n(166),a=n(136),s=n(137),l=n(213),u=n(45),c=n(81).enforce,h=n(197),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=e.exports=s("WeakMap",v,l);if(h&&d){o=l.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var p=g.prototype,m=p.delete,y=p.has,C=p.get,w=p.set;r(p,{delete:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new o),m.call(this,e)||t.frozen.delete(e)}return m.call(this,e)},has:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new o),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new o),y.call(this,e)?C.call(this,e):t.frozen.get(e)}return C.call(this,e)},set:function(e,t){if(u(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new o),y.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";var o=n(0);n(33),t.__esModule=!0,t.getListenersCounter=function(){return c},t.default=void 0;var i=o(n(1)),r=o(n(2)),a=n(8),s=n(3),l=n(76),u=n(32),c=0,h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,i.default)(this,e),this.context=t||this,this.context.eventListeners||(this.context.eventListeners=[])}return(0,r.default)(e,[{key:"addEventListener",value:function(e,t,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.context;function a(e){n.call(this,d(r,e))}return"boolean"==typeof i||(0,l.isPassiveEventSupported)()||(i=!1),this.context.eventListeners.push({element:e,event:t,callback:n,callbackProxy:a,options:i,eventManager:this}),e.addEventListener(t,a,i),c+=1,function(){o.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){for(var o,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.context.eventListeners.length;r;)if(r-=1,(o=this.context.eventListeners[r]).event===t&&o.element===e){if(n&&n!==o.callback)continue;if(i&&o.eventManager!==this)continue;this.context.eventListeners.splice(r,1),o.element.removeEventListener(o.event,o.callbackProxy,o.options),c-=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,o=e;n||(o=(n=e.ownerDocument?e.ownerDocument:e).defaultView);var i,r={bubbles:!0,cancelable:"mousemove"!==t,view:o,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,r.bubbles,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget||n.body.parentNode):i=n.createEventObject(),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on".concat(t),i)}}]),e}();function d(e,t){var n,o,i,r,c;t.isTargetWebComponent=!1,t.realTarget=t.target;var d=t.stopImmediatePropagation;if(t.stopImmediatePropagation=function(){d.apply(this),(0,u.stopImmediatePropagation)(this)},!h.isHotTableEnv)return t;for(c=(t=(0,a.polymerWrap)(t)).path?t.path.length:0;c;){if(c-=1,"HOT-TABLE"===t.path[c].nodeName)n=!0;else if(n&&t.path[c].shadowRoot){r=t.path[c];break}0!==c||r||(r=t.path[c])}return r||(r=t.target),t.isTargetWebComponent=!0,(0,l.isWebComponentSupportedNatively)()?t.realTarget=t.srcElement||t.toElement:((0,s.hasOwnProperty)(e,"hot")||e.isHotTableEnv||e.wtTable)&&((0,s.hasOwnProperty)(e,"hot")?o=e.hot?e.hot.view.wt.wtTable.TABLE:null:e.isHotTableEnv?o=e.view.activeWt.wtTable.TABLE.parentNode.parentNode:e.wtTable&&(o=e.wtTable.TABLE.parentNode.parentNode),i=(0,a.closest)(t.target,["HOT-TABLE"],o),t.realTarget=i&&o.querySelector("HOT-TABLE")||t.target),Object.defineProperty(t,"target",{get:function(){return(0,a.polymerWrap)(r)},enumerable:!0,configurable:!0}),t}var f=h;t.default=f},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var o=n(9),i=n(0);t.__esModule=!0,t.Renderer=void 0;var r=i(n(223));t.ViewportColumnsCalculator=r.default;var a=i(n(224));t.ViewportRowsCalculator=a.default;var s=i(n(118));t.CellCoords=s.default;var l=i(n(225));t.CellRange=l.default;var u=i(n(226));t.ColumnFilter=u.default;var c=i(n(227));t.RowFilter=c.default;var h=i(n(228));t.MasterTable=h.default;var d=i(n(320));t.LeftOverlay=d.default;var f=i(n(322));t.TopOverlay=f.default;var v=i(n(324));t.TopLeftCornerOverlay=v.default;var g=i(n(326));t.BottomOverlay=g.default;var p=i(n(328));t.BottomLeftCornerOverlay=p.default;var m=i(n(246));t.Border=m.default;var y=i(n(236));t.default=y.default,t.Core=y.default;var C=i(n(237));t.Event=C.default;var w=i(n(238));t.Overlays=w.default;var E=i(n(240));t.Scroll=E.default;var S=i(n(330));t.Selection=S.default;var R=i(n(241));t.Settings=R.default;var T=o(n(231));t.Renderer=T;var k=n(145);t.OrderView=k.OrderView,t.SharedOrderView=k.SharedOrderView;var b=i(n(242));t.Viewport=b.default;var O=n(25);t.getListenersCounter=O.getListenersCounter},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}},function(e,t,n){"use strict";var o=n(0);n(10),n(23),n(38),n(312),n(234),n(40),n(52),t.__esModule=!0,t.stringify=function(e){var t;switch((0,r.default)(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},t.isDefined=function(e){return void 0!==e},t.isUndefined=v,t.isEmpty=g,t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t._injectProductInfo=function(e,t){var n,o=!g(e),i="string"==typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),r="invalid",s="invalid",l=function(e){var t=[][p],n=t;if(e[p]!==w("Z"))return!1;for(var o="",i="B>1:o=C(e,r,r?1===i[p]?9:8:6);return n===t}(e=E(e||""));if(o||i||l)if(l){var u=(0,a.default)("19/02/2020","DD/MM/YYYY"),c=Math.floor(u.toDate().getTime()/864e5),h=m(C(E(f=e),m("12"),w("F")))/(m(C(E(f),w("B"),~~![][p]))||9);if(n=(0,a.default)(864e5*(h+1),"x").format("MMMM DD, YYYY"),c>h){var d=(0,a.default)().diff(u,"days");r=d<=1?"valid":"expired",s=d<=15?"valid":"expired"}else r="valid",s="valid"}else i?(r="non_commercial",s="valid"):(r="invalid",s="invalid");else r="missing",s="missing";var f;"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)&&(r="valid",s="valid");if(!S&&"valid"!==r){R[r]({keyValidityDate:n,hotVersion:"7.4.2"})&&console["non_commercial"===r?"info":"warn"](R[r]({keyValidityDate:n,hotVersion:"7.4.2"})),S=!0}if("valid"!==s&&t.parentNode){if(T[s]({keyValidityDate:n,hotVersion:"7.4.2"})){var v=document.createElement("div");v.id="hot-display-license-info",v.innerHTML=T[s]({keyValidityDate:n,hotVersion:"7.4.2"}),t.parentNode.insertBefore(v,t.nextSibling)}}};var i=o(n(71)),r=o(n(42)),a=o(n(72)),s=n(73);function l(){var e=(0,i.default)(['\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\'. \n Read 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 l=function(){return e},e}function u(){var e=(0,i.default)(["\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 u=function(){return e},e}function c(){var e=(0,i.default)(['\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 c=function(){return e},e}function h(){var e=(0,i.default)(["\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 h=function(){return e},e}function d(){var e=(0,i.default)(["\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 d=function(){return e},e}function f(){var e=(0,i.default)(["\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 f=function(){return e},e}function v(e){return void 0===e}function g(e){return null===e||""===e||v(e)}var p="length",m=function(e){return parseInt(e,16)},y=function(e){return parseInt(e,10)},C=function(e,t,n){return e.substr(t,n)},w=function(e){return e.codePointAt(0)-65},E=function(e){return"".concat(e).replace(/\-/g,"")},S=!1,R={invalid:function(){return(0,s.toSingleLine)(f())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return(0,s.toSingleLine)(d(),t,n,t)},missing:function(){return(0,s.toSingleLine)(h())},non_commercial:function(){return""}},T={invalid:function(){return(0,s.toSingleLine)(c())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return(0,s.toSingleLine)(u(),t,n,t)},missing:function(){return(0,s.toSingleLine)(l())},non_commercial:function(){return""}}},function(e,t,n){"use strict";n(19),t.__esModule=!0,t.getCondition=function(e,t){if(!o[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));var n=o[e],i=n.condition,r=n.descriptor,a=t;r.inputValuesDecorator&&(a=r.inputValuesDecorator(a));return function(e){return i.apply(e.meta.instance,[].concat([e],[a]))}},t.getConditionDescriptor=function(e){if(!o[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));return o[e].descriptor},t.registerCondition=function(e,t,n){n.key=e,o[e]={condition:t,descriptor:n}},t.conditions=void 0;var o={};t.conditions=o},function(e,t,n){"use strict";var o=n(20),i=n(158).includes,r=n(109);o({target:"Array",proto:!0,forced:!n(59)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")},function(e,t,n){"use strict";t.__esModule=!0,t.stopImmediatePropagation=function(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0},t.isImmediatePropagationStopped=function(e){return!1===e.isImmediatePropagationEnabled},t.stopPropagation=function(e){"function"==typeof e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.pageX=function(e){if(e.pageX)return e.pageX;var t=e.target.ownerDocument.defaultView;return e.clientX+(0,o.getWindowScrollLeft)(t)},t.pageY=function(e){if(e.pageY)return e.pageY;var t=e.target.ownerDocument.defaultView,n=(0,o.getWindowScrollTop)(t);t=(0,o.getParentWindow)(t);for(;t;)n-=(0,o.getWindowScrollTop)(t),t=(0,o.getParentWindow)(t);return e.clientY+n},t.isRightClick=function(e){return 2===e.button},t.isLeftClick=function(e){return 0===e.button};var o=n(8)},function(e,t,n){"use strict";var o=n(20),i=n(133),r=n(82),a=n(49),s=n(58),l=n(170),u=n(115),c=n(116),h=n(59),d=c("splice"),f=h("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min;o({target:"Array",proto:!0,forced:!d||!f},{splice:function(e,t){var n,o,c,h,d,f,p=s(this),m=a(p.length),y=i(e,m),C=arguments.length;if(0===C?n=o=0:1===C?(n=0,o=m-y):(n=C-2,o=g(v(r(t),0),m-y)),m+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(p,o),h=0;hm-o+n;h--)delete p[h-1]}else if(n>o)for(h=m-o;h>y;h--)f=h+n-1,(d=h+o-1)in p?p[f]=p[d]:delete p[f];for(h=0;h2,i=o?a.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(r)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},function(e,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 global&&global)||Function("return this")()},function(e,t,n){var o=n(35),i=n(157),r=n(47),a=n(132),s=n(161),l=n(203),u=i("wks"),c=o.Symbol,h=l?c:c&&c.withoutSetter||a;e.exports=function(e){return r(u,e)||(s&&r(c,e)?u[e]=c[e]:u[e]=h("Symbol."+e)),u[e]}},function(e,t,n){var o=n(298),i=n(217),r=n(299);e.exports=function(e){return o(e)||i(e)||r()}},function(e,t,n){"use strict";var o=n(67),i=n(48),r=n(26),a=n(171),s=RegExp.prototype,l=s.toString,u=r((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),c="toString"!=l.name;(u||c)&&o(RegExp.prototype,"toString",(function(){var e=i(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var o=n(20),i=n(175),r=n(53);o({target:"String",proto:!0,forced:!n(176)("includes")},{includes:function(e){return!!~String(r(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(141),i=n(48),r=n(58),a=n(49),s=n(82),l=n(53),u=n(173),c=n(142),h=Math.max,d=Math.min,f=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var p=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=o.REPLACE_KEEPS_$0,y=p?"$":"$0";return[function(n,o){var i=l(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,i,o):t.call(String(i),n,o)},function(e,o){if(!p&&m||"string"==typeof o&&-1===o.indexOf(y)){var r=n(t,e,this,o);if(r.done)return r.value}var l=i(e),f=String(this),v="function"==typeof o;v||(o=String(o));var g=l.global;if(g){var w=l.unicode;l.lastIndex=0}for(var E=[];;){var S=c(l,f);if(null===S)break;if(E.push(S),!g)break;""===String(S[0])&&(l.lastIndex=u(f,a(l.lastIndex),w))}for(var R,T="",k=0,b=0;b=k&&(T+=f.slice(k,_)+D,k=_+O.length)}return T+f.slice(k)}];function C(e,n,o,i,a,s){var l=o+e.length,u=i.length,c=g;return void 0!==a&&(a=r(a),c=v),t.call(s,c,(function(t,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var c=+r;if(0===c)return t;if(c>u){var h=f(c/10);return 0===h?t:h<=u?void 0===i[h-1]?r.charAt(1):i[h-1]+r.charAt(1):t}s=i[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var o=n(20),i=n(45),r=n(114),a=n(133),s=n(49),l=n(63),u=n(115),c=n(36),h=n(116),d=n(59),f=h("slice"),v=d("slice",{ACCESSORS:!0,0:0,1:2}),g=c("species"),p=[].slice,m=Math.max;o({target:"Array",proto:!0,forced:!f||!v},{slice:function(e,t){var n,o,c,h=l(this),d=s(h.length),f=a(e,d),v=a(void 0===t?d:t,d);if(r(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[g])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,f,v);for(o=new(void 0===n?Array:n)(m(v-f,0)),c=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,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Array.isArray(t))(0,a.arrayEach)(t,(function(t){return n.add(e,t,o)}));else{var i=this.getBucket(o);if(void 0===i[e]&&(this.register(e),i[e]=[]),t.skip=!1,-1===i[e].indexOf(t)){var r=!1;t.initialHook&&(0,a.arrayEach)(i[e],(function(n,o){if(n.initialHook)return i[e][o]=t,r=!0,!1})),r||i[e].push(t)}}return this}},{key:"once",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)?(0,a.arrayEach)(t,(function(t){return n.once(e,t,o)})):(t.runOnce=!0,this.add(e,t,o))}},{key:"remove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=this.getBucket(n);return void 0!==o[e]&&o[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,o,i,r,a,s){var l=this.globalBucket[t],u=l?l.length:0,c=0;if(u)for(;c0&&void 0!==arguments[0]?arguments[0]:null;(0,s.objectEach)(this.getBucket(e),(function(e,t,n){return n[t].length=0}))}},{key:"register",value:function(e){this.isRegistered(e)||l.push(e)}},{key:"deregister",value:function(e){this.isRegistered(e)&&l.splice(l.indexOf(e),1)}},{key:"isRegistered",value:function(e){return l.indexOf(e)>=0}},{key:"getRegistered",value:function(){return l}}]),e}(),c=new u;var h=u;t.default=h},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(45);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var o=n(82),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},function(e,t,n){"use strict";var o=n(20),i=n(75).filter,r=n(116),a=n(59),s=r("filter"),l=a("filter");o({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(44),i=n(194),r=n(48),a=n(105),s=Object.defineProperty;t.f=o?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return s(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 o=n(141),i=n(172),r=n(48),a=n(53),s=n(301),l=n(173),u=n(49),c=n(142),h=n(140),d=n(26),f=[].push,v=Math.min,g=!d((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===e)return[o];if(!i(e))return t.call(o,e,r);for(var s,l,u,c=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,g=new RegExp(e.source,d+"g");(s=h.call(g,o))&&!((l=g.lastIndex)>v&&(c.push(o.slice(v,s.index)),s.length>1&&s.index=r));)g.lastIndex===s.index&&g.lastIndex++;return v===o.length?!u&&g.test("")||c.push(""):c.push(o.slice(v)),c.length>r?c.slice(0,r):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,i,n):o.call(String(i),t,n)},function(e,i){var a=n(o,e,this,i,o!==t);if(a.done)return a.value;var h=r(e),d=String(this),f=s(h,RegExp),p=h.unicode,m=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),y=new f(g?h:"^(?:"+h.source+")",m),C=void 0===i?4294967295:i>>>0;if(0===C)return[];if(0===d.length)return null===c(y,d)?[d]:[];for(var w=0,E=0,S=[];E=48&&e<=57||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||e>=226||e>=65&&e<=90},t.isMetaKey=function(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)},t.isCtrlKey=function(e){var t=[];navigator.platform.includes("Mac")?t.push(i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX):t.push(i.CONTROL);return t.includes(e)},t.isCtrlMetaKey=function(e){return[i.CONTROL,i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX].includes(e)},t.isKey=function(e,t){var n=t.split("|"),r=!1;return(0,o.arrayEach)(n,(function(t){if(e===i[t])return r=!0,!1})),r},t.KEY_CODES=void 0;var o=n(4),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};t.KEY_CODES=i},function(e,t,n){var o=n(44),i=n(51).f,r=Function.prototype,a=r.toString,s=/^\s*function ([^ (]*)/;!o||"name"in r||i(r,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var o=n(0);n(15),n(10),n(13),n(24),n(16),t.__esModule=!0,t.RegisteredEditor=R,t.getEditorInstance=t._getEditorInstance=function(e,t){var n;if("function"==typeof e)p.get(e)||T(null,e),n=p.get(e);else{if("string"!=typeof e)throw Error('Only strings and functions can be passed as "editor" parameter');n=C(e)}if(!n)throw Error('No editor registered under name "'.concat(e,'"'));return n.getInstance(t)},t.registerEditor=T,t.getEditor=function(e){if(!w(e))throw Error('No registered editor found under "'.concat(e,'" name'));return C(e).getConstructor()},t.getRegisteredEditors=t.getRegisteredEditorNames=t.hasEditor=void 0;var i=o(n(83)),r=o(n(46)),a=o(n(117)),s=o(n(248)),l=o(n(335)),u=o(n(336)),c=o(n(339)),h=o(n(249)),d=o(n(340)),f=o(n(341)),v=o(n(342)),g=o(n(123)),p=new WeakMap,m=(0,i.default)("editors"),y=m.register,C=m.getItem,w=m.hasItem,E=m.getNames,S=m.getValues;function R(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]},r.default.getSingleton().add("afterDestroy",(function(){t[this.guid]=null}))}function T(e,t){var n=new R(t);"string"==typeof e&&y(e,n),p.set(t,n)}t.getRegisteredEditors=S,t.getRegisteredEditorNames=E,t.hasEditor=w,T("base",a.default),T("autocomplete",s.default),T("checkbox",l.default),T("date",u.default),T("dropdown",c.default),T("handsontable",h.default),T("numeric",d.default),T("password",f.default),T("select",v.default),T("text",g.default)},function(e,t,n){var o=n(53);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(44),i=n(26),r=n(47),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(r(s,e))return s[e];t||(t={});var n=[][e],u=!!r(t,"ACCESSORS")&&t.ACCESSORS,c=r(t,0)?t[0]:l,h=r(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!o)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,h)}))}},function(e,t,n){var o=n(20),i=n(300);o({target:"Array",stat:!0,forced:!n(212)((function(e){Array.from(e)}))},{from:i})},function(e,t,n){"use strict";t.__esModule=!0,t.log=function(){var e;(0,o.isDefined)(console)&&(e=console).log.apply(e,arguments)},t.warn=function(){var e;(0,o.isDefined)(console)&&(e=console).warn.apply(e,arguments)},t.info=function(){var e;(0,o.isDefined)(console)&&(e=console).info.apply(e,arguments)},t.error=function(){var e;(0,o.isDefined)(console)&&(e=console).error.apply(e,arguments)};var o=n(29)},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=n(4),i=n(3),r={_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),r=1;r'.concat(String.fromCharCode(10003),"").concat(e)},t.isItemHidden=function(e,t){return!e.hidden||!("function"==typeof e.hidden&&e.hidden.call(t))},t.filterSeparators=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.KEY,n=e.slice(0);return n=h(n=c(n=u(n,t),t))};var o=n(4),i=n(8),r=n(186);function a(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 s(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 l(e,t,n,o,i,r){var l=i(e,t),u=o;l.className&&(u="vertical"===n?a(l.className,o):s(l.className,o)),r(e,t,"className",u)}function u(e,t){for(var n=e.slice(0);00?t[t.length-1].name!==e.name&&t.push(e):t.push(e)})),t}},function(e,t,n){var o=n(44),i=n(51),r=n(103);e.exports=o?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(35),i=n(66),r=n(47),a=n(156),s=n(195),l=n(81),u=l.get,c=l.enforce,h=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||i(n,"name",t),c(n).source=h.join("string"==typeof t?t:"")),e!==o?(l?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){"use strict";var o=n(137),i=n(215);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";t.__esModule=!0,t.setBrowserMeta=s,t.setPlatformMeta=l,t.isChrome=function(){return r.chrome.value},t.isEdge=function(){return r.edge.value},t.isIE=function(){return r.ie.value},t.isIE8=function(){return r.ie8.value},t.isIE9=function(){return r.ie9.value},t.isMSBrowser=function(){return r.ie.value||r.edge.value},t.isMobileBrowser=function(){return r.mobile.value},t.isSafari=function(){return r.safari.value},t.isFirefox=function(){return r.firefox.value},t.isWindowsOS=function(){return a.win.value},t.isMacOS=function(){return a.mac.value},t.isLinuxOS=function(){return a.linux.value};var o=n(3),i=function(e){var t={value:!1,test:function(n,o){t.value=e(n,o)}};return t},r={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)}))},a={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,a=void 0===i?navigator.vendor:i;(0,o.objectEach)(r,(function(e){(0,e.test)(n,a)}))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.platform,n=void 0===t?navigator.platform:t;(0,o.objectEach)(a,(function(e){(0,e.test)(n)}))}s(),l()},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(t,n){t.exports=e},function(e,t,n){"use strict";n(23),n(40),n(143),t.__esModule=!0,t.toSingleLine=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;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]}))},t.stripTags=function(e){return"".concat(e).replace(i,"")};var o=n(29);var i=/<\/?\w+\/?>|<\w+[\s|/][^>]*>/gi},function(e,t,n){var o=n(113),i=n(104),r=n(58),a=n(49),s=n(170),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,v,g,p){for(var m,y,C=r(f),w=i(C),E=o(v,g,3),S=a(w.length),R=0,T=p||s,k=t?T(f,S):n?T(f,0):void 0;S>R;R++)if((d||R in w)&&(y=E(m=w[R],R,C),e))if(t)k[R]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return R;case 2:l.call(k,m)}else if(c)return!1;return h?-1:u||c?c:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){"use strict";var o=n(0);n(10),n(23),n(38),n(120),n(34),t.__esModule=!0,t.requestAnimationFrame=function(e){return c.call(window,e)},t.isClassListSupported=function(){return!!document.documentElement.classList},t.isTextContentSupported=function(){return!!document.createTextNode("test").textContent},t.isGetComputedStyleSupported=function(){return!!window.getComputedStyle},t.cancelAnimationFrame=function(e){h.call(window,e)},t.isTouchSupported=function(){return"ontouchstart"in window},t.isWebComponentSupportedNatively=function(){var e=document.createElement("div");return!(!e.createShadowRoot||!e.createShadowRoot.toString().match(/\[native code\]/))},t.hasCaptionProblem=function(){void 0===i&&function(){var e=document.createElement("TABLE");e.style.borderSpacing="0",e.style.borderWidth="0",e.style.padding="0";var t=document.createElement("TBODY");e.appendChild(t),t.appendChild(document.createElement("TR")),t.firstChild.appendChild(document.createElement("TD")),t.firstChild.firstChild.innerHTML="t
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)}();return i},t.getComparisonFunction=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r)return r;r="object"===("undefined"==typeof Intl?"undefined":(0,s.default)(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};return r},t.isPassiveEventSupported=function(){if(void 0!==a)return a;try{var e={get passive(){a=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){a=!1}return a};for(var i,r,a,s=o(n(42)),l=0,u=["ms","moz","webkit","o"],c=window.requestAnimationFrame,h=window.cancelAnimationFrame,d=0;d1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=i(e,t),r=n;function a(){r=n}function s(){for(var t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:200,o=null;function i(){for(var i=this,r=arguments.length,a=new Array(r),s=0;s1?t-1:0),o=1;o=t?e.apply(this,s):n(s)}}([])},t.curryRight=function(e){var t=e.length;return function n(o){return function(){for(var i=arguments.length,r=new Array(i),a=0;a=t?e.apply(this,s):n(s)}}([])};var o=n(4);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=0,o={lastCallThrottled:!0},i=null;function r(){for(var r=this,a=arguments.length,s=new Array(a),l=0;l0?o:n)(e)}},function(e,t,n){"use strict";var o=n(0);n(15),n(68),n(10),n(13),n(16),t.__esModule=!0,t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";r.has(e)||r.set(e,new Map);var t=r.get(e);function n(e,n){t.set(e,n)}function o(e){return t.get(e)}function a(e){return t.has(e)}function s(){return(0,i.default)(t.keys())}function l(){return(0,i.default)(t.values())}return{register:n,getItem:o,hasItem:a,getNames:s,getValues:l}},t.collection=void 0;var i=o(n(37)),r=new Map;t.collection=r},function(e,t,n){"use strict";var o=n(26);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var o=n(0);t.__esModule=!0,t.getValidator=function(e){if("function"==typeof e)return e;if(!d(e))throw Error('No registered validator found under "'.concat(e,'" name'));return h(e)},t.getRegisteredValidators=t.getRegisteredValidatorNames=t.hasValidator=t.registerValidator=void 0;var i=o(n(83)),r=o(n(351)),a=o(n(352)),s=o(n(354)),l=o(n(355)),u=(0,i.default)("validators"),c=u.register,h=u.getItem,d=u.hasItem,f=u.getNames,v=u.getValues;t.getRegisteredValidators=v,t.getRegisteredValidatorNames=f,t.hasValidator=d,t.registerValidator=c,c("autocomplete",r.default),c("date",a.default),c("numeric",s.default),c("time",l.default)},function(e,t,n){"use strict";var o=n(44),i=n(35),r=n(134),a=n(67),s=n(47),l=n(80),u=n(169),c=n(105),h=n(26),d=n(110),f=n(108).f,v=n(79).f,g=n(51).f,p=n(220).trim,m=i.Number,y=m.prototype,C="Number"==l(d(y)),w=function(e){var t,n,o,i,r,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=p(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:o=2,i=49;break;case 79:case 111:o=8,i=55;break;default:return+u}for(a=(r=u.slice(2)).length,s=0;si)return NaN;return parseInt(r,o)}return+u};if(r("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var E,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(C?h((function(){y.valueOf.call(n)})):"Number"!=l(n))?u(new m(w(t)),n,S):w(t)},R=o?f(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;R.length>T;T++)s(m,E=R[T])&&!s(S,E)&&g(S,E,v(m,E));S.prototype=y,y.constructor=S,a(i,"Number",S)}},function(e,t,n){n(20)({target:"Number",stat:!0},{isInteger:n(365)})},function(e,t,n){"use strict";var o=n(137),i=n(215);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){"use strict";var o=n(0),i=n(9);n(12),t.__esModule=!0,t.predefinedItems=function(){var e={};return(0,a.objectEach)(S,(function(t,n){e[n]=t()})),e},t.addItem=function(e,t){-1===E.indexOf(e)&&(S[e]=t)},t.ITEMS=t.UNDO=t.NO_ITEMS=t.SEPARATOR=t.ROW_BELOW=t.ROW_ABOVE=t.REMOVE_ROW=t.REMOVE_COLUMN=t.REDO=t.READ_ONLY=t.COLUMN_RIGHT=t.COLUMN_LEFT=t.CLEAR_COLUMN=t.ALIGNMENT=void 0;var r=o(n(69)),a=n(3),s=i(n(419));t.ALIGNMENT=s.KEY;var l=i(n(420));t.CLEAR_COLUMN=l.KEY;var u=i(n(421));t.COLUMN_LEFT=u.KEY;var c=i(n(422));t.COLUMN_RIGHT=c.KEY;var h=i(n(423));t.READ_ONLY=h.KEY;var d=i(n(424));t.REDO=d.KEY;var f=i(n(425));t.REMOVE_COLUMN=f.KEY;var v=i(n(426));t.REMOVE_ROW=v.KEY;var g=i(n(427));t.ROW_ABOVE=g.KEY;var p=i(n(428));t.ROW_BELOW=p.KEY;var m=i(n(186));t.SEPARATOR=m.KEY;var y=i(n(429));t.NO_ITEMS=y.KEY;var C,w=i(n(430));t.UNDO=w.KEY;var E=[g.KEY,p.KEY,u.KEY,c.KEY,l.KEY,v.KEY,f.KEY,w.KEY,d.KEY,h.KEY,s.KEY,m.KEY,y.KEY];t.ITEMS=E;var S=(C={},(0,r.default)(C,m.KEY,m.default),(0,r.default)(C,y.KEY,y.default),(0,r.default)(C,g.KEY,g.default),(0,r.default)(C,p.KEY,p.default),(0,r.default)(C,u.KEY,u.default),(0,r.default)(C,c.KEY,c.default),(0,r.default)(C,l.KEY,l.default),(0,r.default)(C,v.KEY,v.default),(0,r.default)(C,f.KEY,f.default),(0,r.default)(C,w.KEY,w.default),(0,r.default)(C,d.KEY,d.default),(0,r.default)(C,h.KEY,h.default),(0,r.default)(C,s.KEY,s.default),C)},function(e,t,n){"use strict";function o(e){return"string"==typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}n(23),n(120),n(40),t.__esModule=!0,t.isFormulaExpression=function(e){return"string"==typeof e&&e.length>=2&&"="===e.charAt(0)},t.isFormulaExpressionEscaped=o,t.unescapeFormulaExpression=function(e){return o(e)?e.substr(1):e},t.toUpperCaseFormula=function(e){var t=/(\\"|"(?:\\"|[^"])*"|(\+))|(\\'|'(?:\\'|[^'])*'|(\+))/g,n=e.match(t)||[],o=-1;return e.toUpperCase().replace(t,(function(){return n[o+=1]}))},t.cellCoordFactory=function(e,t){return function(n){return{row:"row"===e?t:n.row,column:"column"===e?t:n.column}}}},function(e,t,n){"use strict";var o=n(0);n(12),t.__esModule=!0,t.default=void 0;var i=o(n(1)),r=o(n(6)),a=o(n(5)),s=o(n(2)),l=o(n(7)),u=n(128),c=n(4),h=o(n(286)),d=[1,2,3],f=function(e){function t(e,n){var o;return(0,i.default)(this,t),(o=(0,r.default)(this,(0,a.default)(t).call(this,e,n))).precedents=[],o.value=null,o.error=null,o.state=t.STATE_UP_TO_DATE,o}return(0,l.default)(t,e),(0,s.default)(t,null,[{key:"STATE_OUT_OFF_DATE",get:function(){return 1}},{key:"STATE_COMPUTING",get:function(){return 2}},{key:"STATE_UP_TO_DATE",get:function(){return 3}}]),(0,s.default)(t,[{key:"setValue",value:function(e){this.value=e}},{key:"getValue",value:function(){return this.value}},{key:"setError",value:function(e){this.error=e}},{key:"getError",value:function(){return this.error}},{key:"hasError",value:function(){return null!==this.error}},{key:"setState",value:function(e){if(-1===d.indexOf(e))throw Error("Unrecognized state: ".concat(e));this.state=e}},{key:"isState",value:function(e){return this.state===e}},{key:"addPrecedent",value:function(e){if(this.isEqual(e))throw Error(u.ERROR_REF);this.hasPrecedent(e)||this.precedents.push(e)}},{key:"removePrecedent",value:function(e){if(this.isEqual(e))throw Error(u.ERROR_REF);this.precedents=(0,c.arrayFilter)(this.precedents,(function(t){return!t.isEqual(e)}))}},{key:"clearPrecedents",value:function(){this.precedents.length=0}},{key:"getPrecedents",value:function(){return this.precedents}},{key:"hasPrecedents",value:function(){return this.precedents.length>0}},{key:"hasPrecedent",value:function(e){return(0,c.arrayFilter)(this.precedents,(function(t){return t.isEqual(e)})).length>0}}]),t}(h.default);t.default=f},function(e,t,n){"use strict";var o=n(0);n(12),t.__esModule=!0,t.default=void 0;var i=o(n(1)),r=o(n(2)),a=n(8),s=n(3),l=n(4),u=n(61),c=o(n(25)),h=o(n(236)),d={},f=function(){function e(t){(0,i.default)(this,e),(0,s.defineGetter)(this,"wot",t,{writable:!1});var n=this.wot.wtTable,o=n.TABLE,r=n.hider,l=n.spreader,u=n.holder,c=n.wtRootElement;this.instance=this.wot,this.type="",this.mainTableScrollableElement=null,this.TABLE=o,this.hider=r,this.spreader=l,this.holder=u,this.wtRootElement=c,this.trimmingContainer=(0,a.getTrimmingContainer)(this.hider.parentNode.parentNode),this.areElementSizesAdjusted=!1,this.updateStateOfRendering()}return(0,r.default)(e,null,[{key:"registerOverlay",value:function(t,n){if(-1===e.CLONE_TYPES.indexOf(t))throw new Error("Unsupported overlay (".concat(t,")."));d[t]=n}},{key:"createOverlay",value:function(e,t){return new d[e](t)}},{key:"hasOverlay",value:function(e){return void 0!==d[e]}},{key:"isOverlayTypeOf",value:function(e,t){return!(!e||!d[t])&&e instanceof d[t]}},{key:"CLONE_TOP",get:function(){return"top"}},{key:"CLONE_BOTTOM",get:function(){return"bottom"}},{key:"CLONE_LEFT",get:function(){return"left"}},{key:"CLONE_TOP_LEFT_CORNER",get:function(){return"top_left_corner"}},{key:"CLONE_BOTTOM_LEFT_CORNER",get:function(){return"bottom_left_corner"}},{key:"CLONE_DEBUG",get:function(){return"debug"}},{key:"CLONE_TYPES",get:function(){return[e.CLONE_TOP,e.CLONE_BOTTOM,e.CLONE_LEFT,e.CLONE_TOP_LEFT_CORNER,e.CLONE_BOTTOM_LEFT_CORNER,e.CLONE_DEBUG]}}]),(0,r.default)(e,[{key:"updateStateOfRendering",value:function(){var e=this.needFullRender;this.needFullRender=this.shouldBeRendered();var t=e!==this.needFullRender;return t&&!this.needFullRender&&this.reset(),t}},{key:"shouldBeRendered",value:function(){return!0}},{key:"updateTrimmingContainer",value:function(){this.trimmingContainer=(0,a.getTrimmingContainer)(this.hider.parentNode.parentNode)}},{key:"updateMainScrollableElement",value:function(){var e=this.wot,t=e.wtTable;"hidden"===e.rootWindow.getComputedStyle(t.wtRootElement.parentNode).getPropertyValue("overflow")?this.mainTableScrollableElement=this.wot.wtTable.holder:this.mainTableScrollableElement=(0,a.getScrollableElement)(t.TABLE)}},{key:"getRelativeCellPosition",value:function(e,t,n){if(!1!==this.clone.wtTable.holder.contains(e)){var o=this.mainTableScrollableElement===this.wot.rootWindow,i=n=this.wot.getSetting("totalRows")-this.wot.getSetting("fixedRowsBottom"),s={left:this.clone.wtTable.spreader.offsetLeft,top:this.clone.wtTable.spreader.offsetTop},l={left:e.offsetLeft,top:e.offsetTop};return o?this.getRelativeCellPositionWithinWindow(r,i,l,s):this.getRelativeCellPositionWithinHolder(r,a,i,l,s)}(0,u.warn)("The provided element is not a child of the ".concat(this.type," overlay"))}},{key:"getRelativeCellPositionWithinWindow",value:function(e,t,n,o){var i=this.wot.wtTable.wtRootElement.getBoundingClientRect(),r=0,a=0;(r=t?i.left<=0?-1*i.left:0:o.left,e)?a=this.clone.wtTable.TABLE.getBoundingClientRect().top-i.top:a=o.top;return{left:n.left+r,top:n.top+a}}},{key:"getRelativeCellPositionWithinHolder",value:function(e,t,n,o,i){var r=this.clone.cloneSource.wtOverlays.leftOverlay.getScrollPosition(),a=this.clone.cloneSource.wtOverlays.topOverlay.getScrollPosition(),s=0,l=0;if(n||(s=r-i.left),t){var u=this.wot.wtTable.wtRootElement.getBoundingClientRect();l=-1*this.clone.wtTable.TABLE.getBoundingClientRect().top+u.top}else e||(l=a-i.top);return{left:o.left-s,top:o.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,o=n.wtTable,i=n.rootDocument,r=n.rootWindow,s=i.createElement("DIV"),l=i.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",l.className=o.TABLE.className,s.appendChild(l),this.type=t,o.wtRootElement.parentNode.appendChild(s);var u=this.wot.getSetting("preventOverflow");return!0===u||"horizontal"===u&&this.type===e.CLONE_TOP||"vertical"===u&&this.type===e.CLONE_LEFT?this.mainTableScrollableElement=r:"hidden"===r.getComputedStyle(o.wtRootElement.parentNode).getPropertyValue("overflow")?this.mainTableScrollableElement=o.holder:this.mainTableScrollableElement=(0,a.getScrollableElement)(o.TABLE),new h.default({cloneSource:this.wot,cloneOverlay:this,table:l})}},{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,o=t.style,i=e.parentNode.style;(0,l.arrayEach)([n,o,i],(function(e){e.width="",e.height=""}))}}},{key:"destroy",value:function(){new c.default(this.clone).destroy()}}]),e}();t.default=f},function(e,t,n){"use strict";t.__esModule=!0;var o=n(270);t.registerRootComparator=o.registerRootComparator,t.getRootComparator=o.getRootComparator,t.getCompareFunctionFactory=o.getCompareFunctionFactory;var i=n(411);t.FIRST_AFTER_SECOND=i.FIRST_AFTER_SECOND,t.FIRST_BEFORE_SECOND=i.FIRST_BEFORE_SECOND,t.DO_NOT_SWAP=i.DO_NOT_SWAP,t.sort=i.sort},function(e,t){e.exports=!1},function(e,t,n){"use strict";var o=n(0);n(60),n(31),n(13),t.__esModule=!0,t.default=void 0;var i=o(n(37)),r=o(n(18)),a=o(n(1)),s=o(n(2)),l=n(8),u=n(77),c=o(n(118)),h=o(n(226)),d=o(n(227)),f=n(231),v=o(n(92)),g=o(n(318)),p=o(n(319)),m=function(){function e(t,n){var o=this;(0,a.default)(this,e),this.isMaster=!t.cloneOverlay,this.wot=t,this.instance=this.wot,this.TABLE=n,this.TBODY=null,this.THEAD=null,this.COLGROUP=null,this.tableOffset=0,this.holderOffset=0,this.hasTableHeight=!0,this.hasTableWidth=!0,this.isTableVisible=!1,(0,l.removeTextNodes)(this.TABLE),this.spreader=this.createSpreader(this.TABLE),this.hider=this.createHider(this.spreader),this.holder=this.createHolder(this.hider),this.wtRootElement=this.holder.parentNode,this.isMaster&&this.alignOverlaysWithTrimmingContainer(),this.fixTableDomTree(),this.rowFilter=null,this.columnFilter=null,this.correctHeaderWidth=!1;var i=this.wot.wtSettings.settings.rowHeaderWidth;this.wot.wtSettings.settings.rowHeaderWidth=function(){return o._modifyRowHeaderWidth(i)},this.rowUtils=new p.default(this.wot),this.columnUtils=new g.default(this.wot),this.tableRenderer=new f.Renderer({TABLE:this.TABLE,THEAD:this.THEAD,COLGROUP:this.COLGROUP,TBODY:this.TBODY,rowUtils:this.rowUtils,columnUtils:this.columnUtils,cellRenderer:this.wot.wtSettings.settings.cellRenderer})}return(0,s.default)(e,[{key:"is",value:function(e){return v.default.isOverlayTypeOf(this.wot.cloneOverlay,e)}},{key:"fixTableDomTree",value:function(){var e=this.wot.rootDocument;this.TBODY=this.TABLE.querySelector("tbody"),this.TBODY||(this.TBODY=e.createElement("tbody"),this.TABLE.appendChild(this.TBODY)),this.THEAD=this.TABLE.querySelector("thead"),this.THEAD||(this.THEAD=e.createElement("thead"),this.TABLE.insertBefore(this.THEAD,this.TBODY)),this.COLGROUP=this.TABLE.querySelector("colgroup"),this.COLGROUP||(this.COLGROUP=e.createElement("colgroup"),this.TABLE.insertBefore(this.COLGROUP,this.THEAD)),this.wot.getSetting("columnHeaders").length&&!this.THEAD.childNodes.length&&this.THEAD.appendChild(e.createElement("TR"))}},{key:"createSpreader",value:function(e){var t,n=e.parentNode;return n&&n.nodeType===Node.ELEMENT_NODE&&(0,l.hasClass)(n,"wtHolder")||((t=this.wot.rootDocument.createElement("div")).className="wtSpreader",n&&n.insertBefore(t,e),t.appendChild(e)),t.style.position="relative",t}},{key:"createHider",value:function(e){var t,n=e.parentNode;return n&&n.nodeType===Node.ELEMENT_NODE&&(0,l.hasClass)(n,"wtHolder")||((t=this.wot.rootDocument.createElement("div")).className="wtHider",n&&n.insertBefore(t,e),t.appendChild(e)),t}},{key:"createHolder",value:function(e){var t,n=e.parentNode;return n&&n.nodeType===Node.ELEMENT_NODE&&(0,l.hasClass)(n,"wtHolder")||((t=this.wot.rootDocument.createElement("div")).style.position="relative",t.className="wtHolder",n&&n.insertBefore(t,e),this.isMaster&&(t.parentNode.className+="ht_master handsontable"),t.appendChild(e)),t}},{key:"draw",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.wot,n=t.wtOverlays,o=t.wtViewport,i=t.getSetting("totalRows"),r=t.getSetting("totalColumns"),a=t.getSetting("rowHeaders"),s=a.length,u=t.getSetting("columnHeaders"),c=u.length,f=!1,g=e;if(this.isMaster&&(this.holderOffset=(0,l.offset)(this.holder),g=o.createRenderCalculators(g),s&&!t.getSetting("fixedColumnsLeft"))){var p=n.leftOverlay.getScrollPosition(),m=this.correctHeaderWidth;this.correctHeaderWidth=p>0,m!==this.correctHeaderWidth&&(g=!1)}if(this.isMaster&&(f=n.prepareOverlays()),g)this.isMaster&&o.createVisibleCalculators(),n&&n.refresh(!0);else{this.isMaster?this.tableOffset=(0,l.offset)(this.TABLE):this.tableOffset=this.wot.cloneSource.wtTable.tableOffset;var y=i>0?this.getFirstRenderedRow():0,C=r>0?this.getFirstRenderedColumn():0;this.rowFilter=new d.default(y,i,c),this.columnFilter=new h.default(C,r,s);var w,E=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();var S={};this.wot.getSetting("beforeDraw",!0,S),E=!0!==S.skipRender}if(E)if(this.tableRenderer.setHeaderContentRenderers(a,u),(this.is(v.default.CLONE_BOTTOM)||this.is(v.default.CLONE_BOTTOM_LEFT_CORNER))&&this.tableRenderer.setHeaderContentRenderers(a,[]),this.resetOversizedRows(),this.tableRenderer.setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&(w=this.wot.wtViewport.getWorkspaceWidth(),this.wot.wtViewport.containerWidth=null,this.markOversizedColumnHeaders()),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(v.default.CLONE_BOTTOM))&&this.markOversizedRows(),this.isMaster){this.wot.wtViewport.createVisibleCalculators(),this.wot.wtOverlays.refresh(!1),this.wot.wtOverlays.applyToDOM();var R=(0,l.outerWidth)(this.hider),T=(0,l.outerWidth)(this.TABLE);0!==R&&T!==R&&(this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),w!==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(v.default.CLONE_BOTTOM)&&this.wot.cloneSource.wtOverlays.adjustElementsSize()}return this.refreshSelections(g),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()),f&&n.syncScrollWithMaster(),t.drawn=!0,this}},{key:"markIfOversizedColumnHeader",value:function(e){for(var t,n,o,i=this.wot.wtTable.columnFilter.renderedToSource(e),r=this.wot.getSetting("columnHeaders").length,a=this.wot.wtSettings.settings.defaultRowHeight,s=this.wot.getSetting("columnHeaderHeight")||[];r;)r-=1,t=this.wot.wtTable.getColumnHeaderHeight(r),(n=this.wot.wtTable.getColumnHeader(i,r))&&(o=(0,l.innerHeight)(n),(!t&&a=0)throw new Error("TR was expected to be rendered but is not");var l=s.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(n)];if(!l&&n>=0)throw new Error("TD or TH was expected to be rendered but is not");return l}},{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=(0,l.closest)(t,["TD","TH"])),null===t)return null;var n=t.parentNode,o=n.parentNode,i=(0,l.index)(n),r=t.cellIndex;if((0,l.overlayContainsElement)(v.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||(0,l.overlayContainsElement)(v.default.CLONE_TOP,t,this.wtRootElement))"THEAD"===o.nodeName&&(i-=o.childNodes.length);else if((0,l.overlayContainsElement)(v.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)||(0,l.overlayContainsElement)(v.default.CLONE_BOTTOM,t,this.wtRootElement)){i=this.wot.getSetting("totalRows")-o.childNodes.length+i}else i=o===this.THEAD?this.rowFilter.visibleColHeadedRowToSourceRow(i):this.rowFilter.renderedToSource(i);return r=(0,l.overlayContainsElement)(v.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||(0,l.overlayContainsElement)(v.default.CLONE_LEFT,t,this.wtRootElement)||(0,l.overlayContainsElement)(v.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)?this.columnFilter.offsettedTH(r):this.columnFilter.visibleRowHeadedColumnToSourceColumn(r),new c.default(i,r)}},{key:"markOversizedRows",value:function(){if(!this.wot.getSetting("externalRowCalculator")){var e,t,n,o,i,r=this.TBODY.childNodes.length;if(r*this.wot.wtSettings.settings.defaultRowHeight!==(0,l.innerHeight)(this.TBODY)-1||this.wot.getSetting("fixedRowsBottom"))for(;r;)r-=1,n=this.rowFilter.renderedToSource(r),e=this.getRowHeight(n),t=(i=(o=this.getTrForRow(n)).querySelector("th"))?(0,l.innerHeight)(i):(0,l.innerHeight)(o)-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(0,l.isVisible)(this.TABLE)}},{key:"_modifyRowHeaderWidth",value:function(e){var t=(0,u.isFunction)(e)?e():null;return Array.isArray(t)?(t=(0,i.default)(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}}]),e}();t.default=m},function(e,t,n){"use strict";var o=n(20),i=n(239);o({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){var o=n(35),i=n(214),r=n(239),a=n(66);for(var s in i){var l=o[s],u=l&&l.prototype;if(u&&u.forEach!==r)try{a(u,"forEach",r)}catch(e){u.forEach=r}}},function(e,t,n){"use strict";var o=n(0);n(15),n(10),n(13),n(24),n(16),t.__esModule=!0,t.registerIdentity=function(e,t){u.set(e,t)},t.getTranslator=function(e){var t,n=e instanceof a.default?e:h(e);c.has(n)?t=c.get(n):(t=new l(n),c.set(n,t));return t},t.getIdentity=h,t.RecordTranslator=void 0;var i=o(n(1)),r=o(n(2)),a=o(n(181)),s=n(3),l=function(){function e(t){(0,i.default)(this,e),this.hot=t}return(0,r.default)(e,[{key:"toVisualRow",value:function(e){return this.hot.runHooks("unmodifyRow",e)}},{key:"toVisualColumn",value:function(e){return this.hot.runHooks("unmodifyCol",e)}},{key:"toVisual",value:function(e,t){return(0,s.isObject)(e)?{row:this.toVisualRow(e.row),column:this.toVisualColumn(e.column)}:[this.toVisualRow(e),this.toVisualColumn(t)]}},{key:"toPhysicalRow",value:function(e){return this.hot.runHooks("modifyRow",e)}},{key:"toPhysicalColumn",value:function(e){return this.hot.runHooks("modifyCol",e)}},{key:"toPhysical",value:function(e,t){return(0,s.isObject)(e)?{row:this.toPhysicalRow(e.row),column:this.toPhysicalColumn(e.column)}:[this.toPhysicalRow(e),this.toPhysicalColumn(t)]}}]),e}();t.RecordTranslator=l;var u=new WeakMap,c=new WeakMap;function h(e){if(!u.has(e))throw Error("Record translator was not registered for this object identity");return u.get(e)}},function(e,t,n){"use strict";var o=n(20),i=n(75).some,r=n(84),a=n(59),s=r("some"),l=a("some");o({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(20),i=n(75).every,r=n(84),a=n(59),s=r("every"),l=a("every");o({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(0);n(19),n(12),n(78),n(33),t.__esModule=!0,t.default=void 0;var i=o(n(37)),r=n(4),a=n(3),s=n(17),l={_arrayMap:[],getValueByIndex:function(e){var t=null;return e1&&void 0!==arguments[1]?arguments[1]:1,o=(0,r.arrayMax)(this._arrayMap)+1,i=[];return(0,s.rangeEach)(n-1,(function(n){i.push(t._arrayMap.splice(e+n,0,o+n))})),i},removeItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[];if(Array.isArray(e)){var o=[].concat(this._arrayMap);e.sort((function(e,t){return t-e}));for(var i=0,r=e.length;i1&&void 0!==arguments[1]?arguments[1]:1,n=this.removeItems(e,t);function o(e){return(0,r.arrayReduce)(n,(function(t,n){var o=t;return e>n&&(o+=1),o}),0)}this._arrayMap=(0,r.arrayMap)(this._arrayMap,(function(e){var t=e,n=o(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=(0,r.arrayMap)(this._arrayMap,(function(t){var o=t;return o>=e&&(o+=n),o})),(0,s.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((0,i.default)(this._arrayMap.splice(e,1))))},clearMap:function(){this._arrayMap.length=0}};(0,a.defineGetter)(l,"MIXIN_NAME","arrayMapper",{writable:!1,enumerable:!1});var u=l;t.default=u},function(e,t,n){"use strict";n(19),t.__esModule=!0,t.createId=r,t.createDefaultCustomBorder=a,t.createSingleEmptyBorder=s,t.createDefaultHtBorder=l,t.createEmptyBorders=function(e,t){return{id:r(e,t),border:{width:1,color:"#000",cornerVisible:!1},row:e,col:t,top:{hide:!0},right:{hide:!0},bottom:{hide:!0},left:{hide:!0}}},t.extendDefaultBorder=function(e,t){(0,o.hasOwnProperty)(t,"border")&&(e.border=t.border);(0,o.hasOwnProperty)(t,"top")&&(t.top?((0,o.isObject)(t.top)||(t.top={width:1,color:"#000"}),e.top=t.top):(t.top={hide:!0},e.top=t.top));(0,o.hasOwnProperty)(t,"right")&&(t.right?((0,o.isObject)(t.right)||(t.right={width:1,color:"#000"}),e.right=t.right):(t.right={hide:!0},e.right=t.right));(0,o.hasOwnProperty)(t,"bottom")&&(t.bottom?((0,o.isObject)(t.bottom)||(t.bottom={width:1,color:"#000"}),e.bottom=t.bottom):(t.bottom={hide:!0},e.bottom=t.bottom));(0,o.hasOwnProperty)(t,"left")&&(t.left?((0,o.isObject)(t.left)||(t.left={width:1,color:"#000"}),e.left=t.left):(t.left={hide:!0},e.left=t.left));return e},t.checkSelectionBorders=function(e,t){var n=!1;return(0,i.arrayEach)(e.getSelectedRange(),(function(i){i.forAll((function(i,r){var a=e.getCellMeta(i,r).borders;if(a){if(!t)return n=!0,!1;if(!(0,o.hasOwnProperty)(a[t],"hide")||!1===a[t].hide)return n=!0,!1}}))})),n},t.markSelected=function(e){return''.concat(String.fromCharCode(10003),"").concat(e)};var o=n(3),i=n(4);function r(e,t){return"border_row".concat(e,"col").concat(t)}function a(){return{width:1,color:"#000"}}function s(){return{hide:!0}}function l(){return{width:1,color:"#000",cornerVisible:!1}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var o=n(26),i=n(80),r="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?r.call(e,""):Object(e)}:Object},function(e,t,n){var o=n(45);e.exports=function(e,t){if(!o(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!o(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var o=n(200),i=n(35),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(o[e])||r(i[e]):o[e]&&o[e][t]||i[e]&&i[e][t]}},function(e,t,n){var o=n(201),i=n(159).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,i)}},function(e,t,n){var o=n(36),i=n(110),r=n(51),a=o("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var o,i=n(48),r=n(293),a=n(159),s=n(106),l=n(204),u=n(155),c=n(131),h=c("IE_PROTO"),d=function(){},f=function(e){return"