PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.7.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.7.2
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Gutenberg/build/handsontable.js +2 -2 3.10.133.7.2 View file →
@@ -1,5 +1,5 @@
1 -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{146:function(e,t,n){(function(t,o){
1 +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{282:function(e,t,n){(function(t,o){
2 2 /*!
3 3 * (The MIT License)
4 4 *
5 5 * Copyright (c) 2012-2014 Marcin Warpechowski
@@ -39,5 +39,5 @@
39 39 * https://github.com/Starcounter-Jack/JSON-Patch
40 40 * json-patch-duplex.js version: 0.5.7
41 41 * (c) 2013 Joachim Wester
42 42 * MIT license
43 - */!function(e){var t=function(e){if(u(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);for(var o in t=[],e)e.hasOwnProperty(o)&&t.push(o);return t},n={add:function(e,t){return e[t]=this.value,!0},remove:function(e,t){return delete e[t],!0},replace:function(e,t){return e[t]=this.value,!0},move:function(e,t,n){var o={op:"_get",path:this.from};return y(n,[o]),y(n,[{op:"remove",path:this.from}]),y(n,[{op:"add",path:this.path,value:o.value}]),!0},copy:function(e,t,n){var o={op:"_get",path:this.from};return y(n,[o]),y(n,[{op:"add",path:this.path,value:o.value}]),!0},test:function(e,n){return function e(n,o){switch(void 0===n?"undefined":r(n)){case"undefined":case"boolean":case"string":case"number":return n===o;case"object":if(null===n)return null===o;if(u(n)){if(!u(o)||n.length!==o.length)return!1;for(var i=0,a=n.length;i<a;i++)if(!e(n[i],o[i]))return!1;return!0}var s=t(o).length;if(t(n).length!==s)return!1;for(i=0;i<s;i++)if(!e(n[i],o[i]))return!1;return!0;default:return!1}}(e[n],this.value)},_get:function(e,t){this.value=e[t]}},o={add:function(e,t){return e.splice(t,0,this.value),!0},remove:function(e,t){return e.splice(t,1),!0},replace:function(e,t){return e[t]=this.value,!0},move:n.move,copy:n.copy,test:n.test,_get:n._get},s={add:function(e){for(var t in s.remove.call(this,e),this.value)this.value.hasOwnProperty(t)&&(e[t]=this.value[t]);return!0},remove:function(e){for(var t in e)e.hasOwnProperty(t)&&n.remove.call(this,e,t);return!0},replace:function(e){return y(e,[{op:"remove",path:this.path}]),y(e,[{op:"add",path:this.path,value:this.value}]),!0},move:n.move,copy:n.copy,test:function(e){return JSON.stringify(e)===JSON.stringify(this.value)},_get:function(e){this.value=e}};function l(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}var u,c=[],h=function(e){this.observers=[],this.obj=e},d=function(e,t){this.callback=e,this.observer=t};function f(e){return"object"===(void 0===e?"undefined":r(e))?JSON.parse(JSON.stringify(e)):e}function p(e){for(var t,n=0,o=c.length;n<o;n++)if(c[n].obj===e.object){t=c[n];break}g(t.value,e.object,e.patches,""),e.patches.length&&y(t.value,e.patches);var r=e.patches;return r.length>0&&(e.patches=[],e.callback&&e.callback(r)),r}function g(e,n,o,i){for(var a=t(n),s=t(e),u=!1,c=s.length-1;c>=0;c--){var h=e[p=s[c]];if(n.hasOwnProperty(p)){var d=n[p];"object"==(void 0===h?"undefined":r(h))&&null!=h&&"object"==(void 0===d?"undefined":r(d))&&null!=d?g(h,d,o,i+"/"+l(p)):h!=d&&o.push({op:"replace",path:i+"/"+l(p),value:f(d)})}else o.push({op:"remove",path:i+"/"+l(p)}),u=!0}if(u||a.length!=s.length)for(c=0;c<a.length;c++){var p=a[c];e.hasOwnProperty(p)||o.push({op:"add",path:i+"/"+l(p),value:f(n[p])})}}function v(e){for(var t,n=0,o=e.length;n<o;){if(!((t=e.charCodeAt(n))>=48&&t<=57))return!1;n++}return!0}function y(e,t,r){for(var i,a,l=!1,c=0,h=t.length;c<h;){i=t[c],c++;for(var d=(i.path||"").split("/"),f=e,p=1,g=d.length,y=void 0;;){if(a=d[p],r&&void 0===y&&(void 0===f[a]?y=d.slice(0,p).join("/"):p==g-1&&(y=i.path),void 0!==y&&this.validator(i,c-1,e,y)),p++,void 0===a&&p>=g){l=s[i.op].call(i,f,a,e);break}if(u(f)){if("-"===a)a=f.length;else{if(r&&!v(a))throw new m("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",c-1,i.path,i);a=parseInt(a,10)}if(p>=g){if(r&&"add"===i.op&&a>f.length)throw new m("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",c-1,i.path,i);l=o[i.op].call(i,f,a,e);break}}else if(a&&-1!=a.indexOf("~")&&(a=a.replace(/~1/g,"/").replace(/~0/g,"~")),p>=g){l=n[i.op].call(i,f,a,e);break}f=f[a]}}return l}e.unobserve=function(e,t){t.unobserve()},e.observe=function(e,t){var n,o=function(e){for(var t=0,n=c.length;t<n;t++)if(c[t].obj===e)return c[t]}(e);if(o?n=function(e,t){for(var n=0,o=e.observers.length;n<o;n++)if(e.observers[n].callback===t)return e.observers[n].observer}(o,t):(o=new h(e),c.push(o)),n)return n;if(n={},o.value=f(e),t){n.callback=t,n.next=null;var r=this.intervals||[100,1e3,1e4,6e4];if(void 0===r.push)throw new a("jsonpatch.intervals must be an array");var i=0,s=function(){p(n)},l=function(){clearTimeout(n.next),n.next=setTimeout((function(){s(),i=0,n.next=setTimeout(u,r[i++])}),0)},u=function e(){s(),i==r.length&&(i=r.length-1),n.next=setTimeout(e,r[i++])};"undefined"!=typeof window&&(window.addEventListener?(window.addEventListener("mousedown",l),window.addEventListener("mouseup",l),window.addEventListener("keydown",l)):(document.documentElement.attachEvent("onmousedown",l),document.documentElement.attachEvent("onmouseup",l),document.documentElement.attachEvent("onkeydown",l))),n.next=setTimeout(u,r[i++])}return n.patches=[],n.object=e,n.unobserve=function(){p(n),clearTimeout(n.next),function(e,t){for(var n=0,o=e.observers.length;n<o;n++)if(e.observers[n].observer===t)return void e.observers.splice(n,1)}(o,n),"undefined"!=typeof window&&(window.removeEventListener?(window.removeEventListener("mousedown",l),window.removeEventListener("mouseup",l),window.removeEventListener("keydown",l)):(document.documentElement.detachEvent("onmousedown",l),document.documentElement.detachEvent("onmouseup",l),document.documentElement.detachEvent("onkeydown",l)))},o.observers.push(new d(t,n)),n},e.generate=p,u=Array.isArray?Array.isArray:function(e){return e.push&&"number"==typeof e.length},e.apply=y,e.compare=function(e,t){var n=[];return g(e,t,n,""),n};var m=function(e){function t(t,n,o,r,i){e.call(this,t),this.message=t,this.name=n,this.index=o,this.operation=r,this.tree=i}return i(t,e),t}(a);e.JsonPatchError=m,e.Error=m,e.validator=function(t,o,i,a){if("object"!==(void 0===t?"undefined":r(t))||null===t||u(t))throw new m("Operation is not an object","OPERATION_NOT_AN_OBJECT",o,t,i);if(!n[t.op])throw new m("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,i);if("string"!=typeof t.path)throw new m("Operation `path` property is not a string","OPERATION_PATH_INVALID",o,t,i);if(("move"===t.op||"copy"===t.op)&&"string"!=typeof t.from)throw new m("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",o,t,i);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",o,t,i);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&function e(t){if(void 0===t)return!0;if("array"==typeof t||"object"==(void 0===t?"undefined":r(t)))for(var n in t)if(e(t[n]))return!0;return!1}(t.value))throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",o,t,i);if(i)if("add"==t.op){var s=t.path.split("/").length,l=a.split("/").length;if(s!==l+1&&s!==l)throw new m("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",o,t,i)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==a)throw new m("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",o,t,i)}else if("move"===t.op||"copy"===t.op){var c={op:"_get",path:t.from,value:void 0},h=e.validate([c],i);if(h&&"OPERATION_PATH_UNRESOLVABLE"===h.name)throw new m("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",o,t,i)}},e.validate=function(e,t){try{if(!u(e))throw new m("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)t=JSON.parse(JSON.stringify(t)),y.call(this,t,e,!0);else for(var n=0;n<e.length;n++)this.validator(e[n],n)}catch(e){if(e instanceof m)return e;throw e}}}(o||(o={})),t.apply=o.apply,t.observe=o.observe,t.unobserve=o.unobserve,t.generate=o.generate,t.compare=o.compare,t.validate=o.validate,t.validator=o.validator,t.JsonPatchError=o.JsonPatchError,t.Error=o.Error},function(e,t,n){"use strict";t.__esModule=!0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.cleanPatches=function(e){var t=[],n=(0,r.arrayFilter)(e,(function(e){return!/[/]length/gi.test(e.path)&&!!i(e.path)}));return n=(0,r.arrayMap)(n,(function(e){var t=i(e.path);return e.row=t.row,e.col=t.col,e})),n=(0,r.arrayFilter)(n,(function(e){if(-1!==["add","remove"].indexOf(e.op)&&!isNaN(e.col)){if(-1!==t.indexOf(e.col))return!1;t.push(e.col)}return!0})),t.length=0,n},t.parsePath=i;var r=n(2);function i(e){var t=e.match(/^\/(\d+)\/?(.*)?$/);if(!t)return null;var n=o(t,3),r=n[1],i=n[2];return{row:parseInt(r,10),col:/^\d*$/.test(i)?parseInt(i,10):i}}},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(10),s=(o=a)&&o.__esModule?o:{default:o},l=n(8),u=n(1),c=n(6),h=n(11),d=function(e,t,n,o,r){e.getCellMeta(t,n).isSearchResult=r},f=function(e,t){return!((0,h.isUndefined)(e)||null===e||!e.toLowerCase||0===e.length||(0,h.isUndefined)(t)||null===t||-1===t.toString().toLowerCase().indexOf(e.toLowerCase()))},p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.callback=d,n.queryMethod=f,n.searchResultClass="htSearchResult",n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"isEnabled",value:function(){return this.hot.getSettings().search}},{key:"enablePlugin",value:function(){var e=this;if(!this.enabled){var n=this.hot.getSettings().search;this.updatePluginSettings(n),this.addHook("beforeRenderer",(function(){return e.onBeforeRenderer.apply(e,arguments)})),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"enablePlugin",this).call(this)}}},{key:"disablePlugin",value:function(){var e=this,n=function(){return e.onBeforeRenderer.apply(e,arguments)};this.hot.addHook("beforeRenderer",n),this.hot.addHookOnce("afterRender",(function(){e.hot.removeHook("beforeRenderer",n)})),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disablePlugin",this).call(this)}},{key:"updatePlugin",value:function(){this.disablePlugin(),this.enablePlugin(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"updatePlugin",this).call(this)}},{key:"query",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getCallback(),o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getQueryMethod(),r=this.hot.countRows(),i=this.hot.countCols(),a=[],s=this.hot;return(0,c.rangeEach)(0,r-1,(function(r){(0,c.rangeEach)(0,i-1,(function(i){var l=t.hot.getDataAtCell(r,i),u=t.hot.getCellMeta(r,i),c=u.search.callback||n,h=(u.search.queryMethod||o)(e,l);if(h){var d={row:r,col:i,data:l};a.push(d)}c&&c(s,r,i,l,h)}))})),a}},{key:"getCallback",value:function(){return this.callback}},{key:"setCallback",value:function(e){this.callback=e}},{key:"getQueryMethod",value:function(){return this.queryMethod}},{key:"setQueryMethod",value:function(e){this.queryMethod=e}},{key:"getSearchResultClass",value:function(){return this.searchResultClass}},{key:"setSearchResultClass",value:function(e){this.searchResultClass=e}},{key:"updatePluginSettings",value:function(e){(0,u.isObject)(e)&&(e.searchResultClass&&this.setSearchResultClass(e.searchResultClass),e.queryMethod&&this.setQueryMethod(e.queryMethod),e.callback&&this.setCallback(e.callback))}},{key:"onBeforeRenderer",value:function(e,t,n,o,r,i){var a,s=i.className||[],l=[];"string"==typeof s?l=s.split(" "):(a=l).push.apply(a,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(s)),this.isEnabled()&&i.isSearchResult?l.includes(this.searchResultClass)||l.push(""+this.searchResultClass):l.includes(this.searchResultClass)&&l.splice(l.indexOf(this.searchResultClass),1),i.className=l.join(" ")}},{key:"destroy",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}}]),t}(s.default);(0,l.registerPlugin)("search",p),t.default=p},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),s=n(2),l=n(10),u=(o=l)&&o.__esModule?o:{default:o},c=n(8),h=n(40),d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollbars=[],n.clones=[],n.lockedCollection=!1,n.freezeOverlays=!1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"isEnabled",value:function(){return(0,h.isTouchSupported)()}},{key:"enablePlugin",value:function(){var e=this;this.enabled||(this.addHook("afterRender",(function(){return e.onAfterRender()})),this.registerEvents(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"enablePlugin",this).call(this))}},{key:"updatePlugin",value:function(){this.lockedCollection=!1,i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"updatePlugin",this).call(this)}},{key:"disablePlugin",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disablePlugin",this).call(this)}},{key:"registerEvents",value:function(){var e=this;this.addHook("beforeTouchScroll",(function(){return e.onBeforeTouchScroll()})),this.addHook("afterMomentumScroll",(function(){return e.onAfterMomentumScroll()}))}},{key:"onAfterRender",value:function(){if(!this.lockedCollection){var e=this.hot.view.wt.wtOverlays,t=e.topOverlay,n=e.bottomOverlay,o=e.leftOverlay,r=e.topLeftCornerOverlay,i=e.bottomLeftCornerOverlay;this.lockedCollection=!0,this.scrollbars.length=0,this.scrollbars.push(t),n.clone&&this.scrollbars.push(n),this.scrollbars.push(o),r&&this.scrollbars.push(r),i&&i.clone&&this.scrollbars.push(i),this.clones.length=0,t.needFullRender&&this.clones.push(t.clone.wtTable.holder.parentNode),n.needFullRender&&this.clones.push(n.clone.wtTable.holder.parentNode),o.needFullRender&&this.clones.push(o.clone.wtTable.holder.parentNode),r&&this.clones.push(r.clone.wtTable.holder.parentNode),i&&i.clone&&this.clones.push(i.clone.wtTable.holder.parentNode)}}},{key:"onBeforeTouchScroll",value:function(){this.freezeOverlays=!0,(0,s.arrayEach)(this.clones,(function(e){(0,a.addClass)(e,"hide-tween")}))}},{key:"onAfterMomentumScroll",value:function(){var e=this;this.freezeOverlays=!1,(0,s.arrayEach)(this.clones,(function(e){(0,a.removeClass)(e,"hide-tween"),(0,a.addClass)(e,"show-tween")})),setTimeout((function(){(0,s.arrayEach)(e.clones,(function(e){(0,a.removeClass)(e,"show-tween")}))}),400),(0,s.arrayEach)(this.scrollbars,(function(e){e.refresh(),e.resetFixedPosition()})),this.hot.view.wt.wtOverlays.syncScrollWithMaster()}}]),t}(u.default);(0,c.registerPlugin)("touchScroll",d),t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(16),a=(o=i)&&o.__esModule?o:{default:o},s=n(2),l=n(6),u=n(1),c=n(13),h=n(19);function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(e){var t=this;this.instance=e,this.doneActions=[],this.undoneActions=[],this.ignoreNewActions=!1,e.addHook("afterChange",(function(e,n){e&&"UndoRedo.undo"!==n&&"UndoRedo.redo"!==n&&"MergeCells"!==n&&t.done(new g.ChangeAction(e))})),e.addHook("afterCreateRow",(function(e,n,o){if("UndoRedo.undo"!==o&&"UndoRedo.undo"!==o&&"auto"!==o){var r=new g.CreateRowAction(e,n);t.done(r)}})),e.addHook("beforeRemoveRow",(function(e,n,o,r){if("UndoRedo.undo"!==r&&"UndoRedo.redo"!==r&&"auto"!==r){var i=t.instance.getSourceDataArray(),a=(i.length+e)%i.length,s=(0,u.deepClone)(i.slice(a,a+n));t.done(new g.RemoveRowAction(a,s))}})),e.addHook("afterCreateCol",(function(e,n,o){"UndoRedo.undo"!==o&&"UndoRedo.redo"!==o&&"auto"!==o&&t.done(new g.CreateColumnAction(e,n))})),e.addHook("beforeRemoveCol",(function(n,o,r,i){if("UndoRedo.undo"!==i&&"UndoRedo.redo"!==i&&"auto"!==i){var a=t.instance.getSourceDataArray(),s=(t.instance.countCols()+n)%t.instance.countCols(),u=[],c=[],h=[];(0,l.rangeEach)(a.length-1,(function(t){var n=[],r=a[t];(0,l.rangeEach)(s,s+(o-1),(function(t){n.push(r[e.runHooks("modifyCol",t)])})),u.push(n)})),(0,l.rangeEach)(o-1,(function(t){h.push(e.runHooks("modifyCol",s+t))})),Array.isArray(e.getSettings().colHeaders)&&(0,l.rangeEach)(o-1,(function(t){c.push(e.getSettings().colHeaders[e.runHooks("modifyCol",s+t)]||null)}));var d=t.instance.getPlugin("manualColumnMove"),f=d.isEnabled()?d.columnsMapper.__arrayMap:[],p=new g.RemoveColumnAction(s,h,u,c,f);t.done(p)}})),e.addHook("beforeCellAlignment",(function(e,n,o,r){var i=new g.CellAlignmentAction(e,n,o,r);t.done(i)})),e.addHook("beforeFilter",(function(e){t.done(new g.FiltersAction(e))})),e.addHook("beforeRowMove",(function(e,n){!1!==e&&t.done(new g.RowMoveAction(e,n))})),e.addHook("beforeMergeCells",(function(n,o){o||t.done(new g.MergeCellsAction(e,n))})),e.addHook("afterUnmergeCells",(function(n,o){o||t.done(new g.UnmergeCellsAction(e,n))}))}g.prototype.done=function(e){this.ignoreNewActions||(this.doneActions.push(e),this.undoneActions.length=0)},g.prototype.undo=function(){if(this.isUndoAvailable()){var e=this.doneActions.pop(),t=(0,u.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeUndo",t))return;this.ignoreNewActions=!0;var o=this;e.undo(this.instance,(function(){o.ignoreNewActions=!1,o.undoneActions.push(e)})),n.runHooks("afterUndo",t)}},g.prototype.redo=function(){if(this.isRedoAvailable()){var e=this.undoneActions.pop(),t=(0,u.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeRedo",t))return;this.ignoreNewActions=!0;var o=this;e.redo(this.instance,(function(){o.ignoreNewActions=!1,o.doneActions.push(e)})),n.runHooks("afterRedo",t)}},g.prototype.isUndoAvailable=function(){return this.doneActions.length>0},g.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},g.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},g.Action=function(){},g.Action.prototype.undo=function(){},g.Action.prototype.redo=function(){},g.ChangeAction=function(e){this.changes=e,this.actionType="change"},(0,u.inherit)(g.ChangeAction,g.Action),g.ChangeAction.prototype.undo=function(e,t){for(var n=(0,u.deepClone)(this.changes),o=e.countEmptyRows(!0),r=e.countEmptyCols(!0),i=0,a=n.length;i<a;i++)n[i].splice(3,1);e.addHookOnce("afterChange",t),e.setDataAtRowProp(n,null,null,"UndoRedo.undo");for(var s=0,l=n.length;s<l;s++)e.getSettings().minSpareRows&&n[s][0]+1+e.getSettings().minSpareRows===e.countRows()&&o===e.getSettings().minSpareRows&&(e.alter("remove_row",parseInt(n[s][0]+1,10),e.getSettings().minSpareRows),e.undoRedo.doneActions.pop()),e.getSettings().minSpareCols&&n[s][1]+1+e.getSettings().minSpareCols===e.countCols()&&r===e.getSettings().minSpareCols&&(e.alter("remove_col",parseInt(n[s][1]+1,10),e.getSettings().minSpareCols),e.undoRedo.doneActions.pop())},g.ChangeAction.prototype.redo=function(e,t){for(var n=(0,u.deepClone)(this.changes),o=0,r=n.length;o<r;o++)n[o].splice(2,1);e.addHookOnce("afterChange",t),e.setDataAtRowProp(n,null,null,"UndoRedo.redo")},g.CreateRowAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_row"},(0,u.inherit)(g.CreateRowAction,g.Action),g.CreateRowAction.prototype.undo=function(e,t){var n=e.countRows(),o=e.getSettings().minSpareRows;this.index>=n&&this.index-o<n&&(this.index-=o),e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.amount,"UndoRedo.undo")},g.CreateRowAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateRow",t),e.alter("insert_row",this.index,this.amount,"UndoRedo.redo")},g.RemoveRowAction=function(e,t){this.index=e,this.data=t,this.actionType="remove_row"},(0,u.inherit)(g.RemoveRowAction,g.Action),g.RemoveRowAction.prototype.undo=function(e,t){e.alter("insert_row",this.index,this.data.length,"UndoRedo.undo"),e.addHookOnce("afterRender",t),e.populateFromArray(this.index,0,this.data,void 0,void 0,"UndoRedo.undo")},g.RemoveRowAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.data.length,"UndoRedo.redo")},g.CreateColumnAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_col"},(0,u.inherit)(g.CreateColumnAction,g.Action),g.CreateColumnAction.prototype.undo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.undo")},g.CreateColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateCol",t),e.alter("insert_col",this.index,this.amount,"UndoRedo.redo")},g.RemoveColumnAction=function(e,t,n,o,r){this.index=e,this.indexes=t,this.data=n,this.amount=this.data[0].length,this.headers=o,this.columnPositions=r.slice(0),this.actionType="remove_col"},(0,u.inherit)(g.RemoveColumnAction,g.Action),g.RemoveColumnAction.prototype.undo=function(e,t){var n,o=this,r=void 0,i=this.indexes.slice(0).sort(),a=function(e,t,n){return n[o.indexes.indexOf(i[t])]},u=[];(0,l.rangeEach)(this.data.length-1,(function(e){u[e]=(0,s.arrayMap)(o.data[e],a)})),n=(0,s.arrayMap)(this.headers,a);var c=[];e.runHooks("beforeCreateCol",this.indexes[0],this.indexes.length,"UndoRedo.undo"),(0,l.rangeEach)(this.data.length-1,(function(t){r=e.getSourceDataAtRow(t),(0,l.rangeEach)(i.length-1,(function(e){r.splice(i[e],0,u[t][e]),c.push([t,i[e],null,u[t][e]])}))})),e.getPlugin("formulas")&&e.getPlugin("formulas").onAfterSetDataAtCell(c),void 0!==this.headers&&(0,l.rangeEach)(n.length-1,(function(t){e.getSettings().colHeaders.splice(i[t],0,n[t])})),e.getPlugin("manualColumnMove")&&(e.getPlugin("manualColumnMove").columnsMapper.__arrayMap=this.columnPositions),e.addHookOnce("afterRender",t),e.runHooks("afterCreateCol",this.indexes[0],this.indexes.length,"UndoRedo.undo"),e.getPlugin("formulas")&&e.getPlugin("formulas").recalculateFull(),e.render()},g.RemoveColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.redo")},g.CellAlignmentAction=function(e,t,n,o){this.stateBefore=e,this.range=t,this.type=n,this.alignment=o},g.CellAlignmentAction.prototype.undo=function(e,t){var n=this;(0,s.arrayEach)(this.range,(function(t){for(var o=t.from,r=t.to,i=o.row;i<=r.row;i+=1)for(var a=o.col;a<=r.col;a+=1)e.setCellMeta(i,a,"className",n.stateBefore[i][a]||" htLeft")})),e.addHookOnce("afterRender",t),e.render()},g.CellAlignmentAction.prototype.redo=function(e,t){(0,h.align)(this.range,this.type,this.alignment,(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,o,r){return e.setCellMeta(t,n,o,r)})),e.addHookOnce("afterRender",t),e.render()},g.FiltersAction=function(e){this.conditionsStack=e,this.actionType="filter"},(0,u.inherit)(g.FiltersAction,g.Action),g.FiltersAction.prototype.undo=function(e,t){var n=e.getPlugin("filters");e.addHookOnce("afterRender",t),n.conditionCollection.importAllConditions(this.conditionsStack.slice(0,this.conditionsStack.length-1)),n.filter()},g.FiltersAction.prototype.redo=function(e,t){var n=e.getPlugin("filters");e.addHookOnce("afterRender",t),n.conditionCollection.importAllConditions(this.conditionsStack),n.filter()};var v=function(e){function t(e,n){d(this,t);var o=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.cellRange=n,o.rangeData=e.getData(n.from.row,n.from.col,n.to.row,n.to.col),o}return p(t,e),r(t,[{key:"undo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.unmergeRange(this.cellRange,!0),e.populateFromArray(this.cellRange.from.row,this.cellRange.from.col,this.rangeData,void 0,void 0,"MergeCells")}},{key:"redo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.mergeRange(this.cellRange)}}]),t}(g.Action);g.MergeCellsAction=v;var y=function(e){function t(e,n){d(this,t);var o=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.cellRange=n,o}return p(t,e),r(t,[{key:"undo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.mergeRange(this.cellRange,!0)}},{key:"redo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.unmergeRange(this.cellRange,!0),e.render()}}]),t}(g.Action);function m(){void 0===this.getSettings().undo||this.getSettings().undo?this.undoRedo||(this.undoRedo=new g(this),function(e){e.undo=function(){return e.undoRedo.undo()},e.redo=function(){return e.undoRedo.redo()},e.isUndoAvailable=function(){return e.undoRedo.isUndoAvailable()},e.isRedoAvailable=function(){return e.undoRedo.isRedoAvailable()},e.clearUndo=function(){return e.undoRedo.clear()}}(this),this.addHook("beforeKeyDown",w),this.addHook("afterChange",C)):this.undoRedo&&(delete this.undoRedo,function(e){delete e.undo,delete e.redo,delete e.isUndoAvailable,delete e.isRedoAvailable,delete e.clearUndo}(this),this.removeHook("beforeKeyDown",w),this.removeHook("afterChange",C))}function w(e){(e.ctrlKey||e.metaKey)&&!e.altKey&&(89===e.keyCode||e.shiftKey&&90===e.keyCode?(this.undoRedo.redo(),(0,c.stopImmediatePropagation)(e)):90===e.keyCode&&(this.undoRedo.undo(),(0,c.stopImmediatePropagation)(e)))}function C(e,t){if("loadData"===t)return this.undoRedo.clear()}g.UnmergeCellsAction=y,g.RowMoveAction=function(e,t){this.rows=e.slice(),this.target=t},(0,u.inherit)(g.RowMoveAction,g.Action),g.RowMoveAction.prototype.undo=function(e,t){var n=e.getPlugin("manualRowMove");e.addHookOnce("afterRender",t);for(var o=this.rows[0]<this.target?-1*this.rows.length:0,r=this.rows[0]>this.target?this.rows[0]+this.rows.length:this.rows[0],i=[],a=this.rows.length+o,s=o;s<a;s+=1)i.push(this.target+s);n.moveRows(i.slice(),r),e.render(),e.selectCell(this.rows[0],0,this.rows[this.rows.length-1],e.countCols()-1,!1,!1)},g.RowMoveAction.prototype.redo=function(e,t){var n=e.getPlugin("manualRowMove");e.addHookOnce("afterRender",t),n.moveRows(this.rows.slice(),this.target),e.render();var o=this.rows[0]<this.target?this.target-this.rows.length:this.target;e.selectCell(o,0,o+this.rows.length-1,e.countCols()-1,!1,!1)};var b=a.default.getSingleton();b.add("afterInit",m),b.add("afterUpdateSettings",m),b.register("beforeUndo"),b.register("afterUndo"),b.register("beforeRedo"),b.register("afterRedo"),t.default=g}]).default},e.exports=r(n(0),n(150),n(151))}).call(this,n(8).setImmediate,n(8).clearImmediate)},152:function(e,t,n){}}]);
43 + */!function(e){var t=function(e){if(u(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);for(var o in t=[],e)e.hasOwnProperty(o)&&t.push(o);return t},n={add:function(e,t){return e[t]=this.value,!0},remove:function(e,t){return delete e[t],!0},replace:function(e,t){return e[t]=this.value,!0},move:function(e,t,n){var o={op:"_get",path:this.from};return y(n,[o]),y(n,[{op:"remove",path:this.from}]),y(n,[{op:"add",path:this.path,value:o.value}]),!0},copy:function(e,t,n){var o={op:"_get",path:this.from};return y(n,[o]),y(n,[{op:"add",path:this.path,value:o.value}]),!0},test:function(e,n){return function e(n,o){switch(void 0===n?"undefined":r(n)){case"undefined":case"boolean":case"string":case"number":return n===o;case"object":if(null===n)return null===o;if(u(n)){if(!u(o)||n.length!==o.length)return!1;for(var i=0,a=n.length;i<a;i++)if(!e(n[i],o[i]))return!1;return!0}var s=t(o).length;if(t(n).length!==s)return!1;for(i=0;i<s;i++)if(!e(n[i],o[i]))return!1;return!0;default:return!1}}(e[n],this.value)},_get:function(e,t){this.value=e[t]}},o={add:function(e,t){return e.splice(t,0,this.value),!0},remove:function(e,t){return e.splice(t,1),!0},replace:function(e,t){return e[t]=this.value,!0},move:n.move,copy:n.copy,test:n.test,_get:n._get},s={add:function(e){for(var t in s.remove.call(this,e),this.value)this.value.hasOwnProperty(t)&&(e[t]=this.value[t]);return!0},remove:function(e){for(var t in e)e.hasOwnProperty(t)&&n.remove.call(this,e,t);return!0},replace:function(e){return y(e,[{op:"remove",path:this.path}]),y(e,[{op:"add",path:this.path,value:this.value}]),!0},move:n.move,copy:n.copy,test:function(e){return JSON.stringify(e)===JSON.stringify(this.value)},_get:function(e){this.value=e}};function l(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}var u,c=[],h=function(e){this.observers=[],this.obj=e},d=function(e,t){this.callback=e,this.observer=t};function f(e){return"object"===(void 0===e?"undefined":r(e))?JSON.parse(JSON.stringify(e)):e}function p(e){for(var t,n=0,o=c.length;n<o;n++)if(c[n].obj===e.object){t=c[n];break}g(t.value,e.object,e.patches,""),e.patches.length&&y(t.value,e.patches);var r=e.patches;return r.length>0&&(e.patches=[],e.callback&&e.callback(r)),r}function g(e,n,o,i){for(var a=t(n),s=t(e),u=!1,c=s.length-1;c>=0;c--){var h=e[p=s[c]];if(n.hasOwnProperty(p)){var d=n[p];"object"==(void 0===h?"undefined":r(h))&&null!=h&&"object"==(void 0===d?"undefined":r(d))&&null!=d?g(h,d,o,i+"/"+l(p)):h!=d&&o.push({op:"replace",path:i+"/"+l(p),value:f(d)})}else o.push({op:"remove",path:i+"/"+l(p)}),u=!0}if(u||a.length!=s.length)for(c=0;c<a.length;c++){var p=a[c];e.hasOwnProperty(p)||o.push({op:"add",path:i+"/"+l(p),value:f(n[p])})}}function v(e){for(var t,n=0,o=e.length;n<o;){if(!((t=e.charCodeAt(n))>=48&&t<=57))return!1;n++}return!0}function y(e,t,r){for(var i,a,l=!1,c=0,h=t.length;c<h;){i=t[c],c++;for(var d=(i.path||"").split("/"),f=e,p=1,g=d.length,y=void 0;;){if(a=d[p],r&&void 0===y&&(void 0===f[a]?y=d.slice(0,p).join("/"):p==g-1&&(y=i.path),void 0!==y&&this.validator(i,c-1,e,y)),p++,void 0===a&&p>=g){l=s[i.op].call(i,f,a,e);break}if(u(f)){if("-"===a)a=f.length;else{if(r&&!v(a))throw new m("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",c-1,i.path,i);a=parseInt(a,10)}if(p>=g){if(r&&"add"===i.op&&a>f.length)throw new m("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",c-1,i.path,i);l=o[i.op].call(i,f,a,e);break}}else if(a&&-1!=a.indexOf("~")&&(a=a.replace(/~1/g,"/").replace(/~0/g,"~")),p>=g){l=n[i.op].call(i,f,a,e);break}f=f[a]}}return l}e.unobserve=function(e,t){t.unobserve()},e.observe=function(e,t){var n,o=function(e){for(var t=0,n=c.length;t<n;t++)if(c[t].obj===e)return c[t]}(e);if(o?n=function(e,t){for(var n=0,o=e.observers.length;n<o;n++)if(e.observers[n].callback===t)return e.observers[n].observer}(o,t):(o=new h(e),c.push(o)),n)return n;if(n={},o.value=f(e),t){n.callback=t,n.next=null;var r=this.intervals||[100,1e3,1e4,6e4];if(void 0===r.push)throw new a("jsonpatch.intervals must be an array");var i=0,s=function(){p(n)},l=function(){clearTimeout(n.next),n.next=setTimeout((function(){s(),i=0,n.next=setTimeout(u,r[i++])}),0)},u=function e(){s(),i==r.length&&(i=r.length-1),n.next=setTimeout(e,r[i++])};"undefined"!=typeof window&&(window.addEventListener?(window.addEventListener("mousedown",l),window.addEventListener("mouseup",l),window.addEventListener("keydown",l)):(document.documentElement.attachEvent("onmousedown",l),document.documentElement.attachEvent("onmouseup",l),document.documentElement.attachEvent("onkeydown",l))),n.next=setTimeout(u,r[i++])}return n.patches=[],n.object=e,n.unobserve=function(){p(n),clearTimeout(n.next),function(e,t){for(var n=0,o=e.observers.length;n<o;n++)if(e.observers[n].observer===t)return void e.observers.splice(n,1)}(o,n),"undefined"!=typeof window&&(window.removeEventListener?(window.removeEventListener("mousedown",l),window.removeEventListener("mouseup",l),window.removeEventListener("keydown",l)):(document.documentElement.detachEvent("onmousedown",l),document.documentElement.detachEvent("onmouseup",l),document.documentElement.detachEvent("onkeydown",l)))},o.observers.push(new d(t,n)),n},e.generate=p,u=Array.isArray?Array.isArray:function(e){return e.push&&"number"==typeof e.length},e.apply=y,e.compare=function(e,t){var n=[];return g(e,t,n,""),n};var m=function(e){function t(t,n,o,r,i){e.call(this,t),this.message=t,this.name=n,this.index=o,this.operation=r,this.tree=i}return i(t,e),t}(a);e.JsonPatchError=m,e.Error=m,e.validator=function(t,o,i,a){if("object"!==(void 0===t?"undefined":r(t))||null===t||u(t))throw new m("Operation is not an object","OPERATION_NOT_AN_OBJECT",o,t,i);if(!n[t.op])throw new m("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,i);if("string"!=typeof t.path)throw new m("Operation `path` property is not a string","OPERATION_PATH_INVALID",o,t,i);if(("move"===t.op||"copy"===t.op)&&"string"!=typeof t.from)throw new m("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",o,t,i);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",o,t,i);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&function e(t){if(void 0===t)return!0;if("array"==typeof t||"object"==(void 0===t?"undefined":r(t)))for(var n in t)if(e(t[n]))return!0;return!1}(t.value))throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",o,t,i);if(i)if("add"==t.op){var s=t.path.split("/").length,l=a.split("/").length;if(s!==l+1&&s!==l)throw new m("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",o,t,i)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==a)throw new m("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",o,t,i)}else if("move"===t.op||"copy"===t.op){var c={op:"_get",path:t.from,value:void 0},h=e.validate([c],i);if(h&&"OPERATION_PATH_UNRESOLVABLE"===h.name)throw new m("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",o,t,i)}},e.validate=function(e,t){try{if(!u(e))throw new m("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)t=JSON.parse(JSON.stringify(t)),y.call(this,t,e,!0);else for(var n=0;n<e.length;n++)this.validator(e[n],n)}catch(e){if(e instanceof m)return e;throw e}}}(o||(o={})),t.apply=o.apply,t.observe=o.observe,t.unobserve=o.unobserve,t.generate=o.generate,t.compare=o.compare,t.validate=o.validate,t.validator=o.validator,t.JsonPatchError=o.JsonPatchError,t.Error=o.Error},function(e,t,n){"use strict";t.__esModule=!0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.cleanPatches=function(e){var t=[],n=(0,r.arrayFilter)(e,(function(e){return!/[/]length/gi.test(e.path)&&!!i(e.path)}));return n=(0,r.arrayMap)(n,(function(e){var t=i(e.path);return e.row=t.row,e.col=t.col,e})),n=(0,r.arrayFilter)(n,(function(e){if(-1!==["add","remove"].indexOf(e.op)&&!isNaN(e.col)){if(-1!==t.indexOf(e.col))return!1;t.push(e.col)}return!0})),t.length=0,n},t.parsePath=i;var r=n(2);function i(e){var t=e.match(/^\/(\d+)\/?(.*)?$/);if(!t)return null;var n=o(t,3),r=n[1],i=n[2];return{row:parseInt(r,10),col:/^\d*$/.test(i)?parseInt(i,10):i}}},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(10),s=(o=a)&&o.__esModule?o:{default:o},l=n(8),u=n(1),c=n(6),h=n(11),d=function(e,t,n,o,r){e.getCellMeta(t,n).isSearchResult=r},f=function(e,t){return!((0,h.isUndefined)(e)||null===e||!e.toLowerCase||0===e.length||(0,h.isUndefined)(t)||null===t||-1===t.toString().toLowerCase().indexOf(e.toLowerCase()))},p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.callback=d,n.queryMethod=f,n.searchResultClass="htSearchResult",n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"isEnabled",value:function(){return this.hot.getSettings().search}},{key:"enablePlugin",value:function(){var e=this;if(!this.enabled){var n=this.hot.getSettings().search;this.updatePluginSettings(n),this.addHook("beforeRenderer",(function(){return e.onBeforeRenderer.apply(e,arguments)})),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"enablePlugin",this).call(this)}}},{key:"disablePlugin",value:function(){var e=this,n=function(){return e.onBeforeRenderer.apply(e,arguments)};this.hot.addHook("beforeRenderer",n),this.hot.addHookOnce("afterRender",(function(){e.hot.removeHook("beforeRenderer",n)})),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disablePlugin",this).call(this)}},{key:"updatePlugin",value:function(){this.disablePlugin(),this.enablePlugin(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"updatePlugin",this).call(this)}},{key:"query",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getCallback(),o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getQueryMethod(),r=this.hot.countRows(),i=this.hot.countCols(),a=[],s=this.hot;return(0,c.rangeEach)(0,r-1,(function(r){(0,c.rangeEach)(0,i-1,(function(i){var l=t.hot.getDataAtCell(r,i),u=t.hot.getCellMeta(r,i),c=u.search.callback||n,h=(u.search.queryMethod||o)(e,l);if(h){var d={row:r,col:i,data:l};a.push(d)}c&&c(s,r,i,l,h)}))})),a}},{key:"getCallback",value:function(){return this.callback}},{key:"setCallback",value:function(e){this.callback=e}},{key:"getQueryMethod",value:function(){return this.queryMethod}},{key:"setQueryMethod",value:function(e){this.queryMethod=e}},{key:"getSearchResultClass",value:function(){return this.searchResultClass}},{key:"setSearchResultClass",value:function(e){this.searchResultClass=e}},{key:"updatePluginSettings",value:function(e){(0,u.isObject)(e)&&(e.searchResultClass&&this.setSearchResultClass(e.searchResultClass),e.queryMethod&&this.setQueryMethod(e.queryMethod),e.callback&&this.setCallback(e.callback))}},{key:"onBeforeRenderer",value:function(e,t,n,o,r,i){var a,s=i.className||[],l=[];"string"==typeof s?l=s.split(" "):(a=l).push.apply(a,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(s)),this.isEnabled()&&i.isSearchResult?l.includes(this.searchResultClass)||l.push(""+this.searchResultClass):l.includes(this.searchResultClass)&&l.splice(l.indexOf(this.searchResultClass),1),i.className=l.join(" ")}},{key:"destroy",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}}]),t}(s.default);(0,l.registerPlugin)("search",p),t.default=p},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),s=n(2),l=n(10),u=(o=l)&&o.__esModule?o:{default:o},c=n(8),h=n(40),d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollbars=[],n.clones=[],n.lockedCollection=!1,n.freezeOverlays=!1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"isEnabled",value:function(){return(0,h.isTouchSupported)()}},{key:"enablePlugin",value:function(){var e=this;this.enabled||(this.addHook("afterRender",(function(){return e.onAfterRender()})),this.registerEvents(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"enablePlugin",this).call(this))}},{key:"updatePlugin",value:function(){this.lockedCollection=!1,i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"updatePlugin",this).call(this)}},{key:"disablePlugin",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disablePlugin",this).call(this)}},{key:"registerEvents",value:function(){var e=this;this.addHook("beforeTouchScroll",(function(){return e.onBeforeTouchScroll()})),this.addHook("afterMomentumScroll",(function(){return e.onAfterMomentumScroll()}))}},{key:"onAfterRender",value:function(){if(!this.lockedCollection){var e=this.hot.view.wt.wtOverlays,t=e.topOverlay,n=e.bottomOverlay,o=e.leftOverlay,r=e.topLeftCornerOverlay,i=e.bottomLeftCornerOverlay;this.lockedCollection=!0,this.scrollbars.length=0,this.scrollbars.push(t),n.clone&&this.scrollbars.push(n),this.scrollbars.push(o),r&&this.scrollbars.push(r),i&&i.clone&&this.scrollbars.push(i),this.clones.length=0,t.needFullRender&&this.clones.push(t.clone.wtTable.holder.parentNode),n.needFullRender&&this.clones.push(n.clone.wtTable.holder.parentNode),o.needFullRender&&this.clones.push(o.clone.wtTable.holder.parentNode),r&&this.clones.push(r.clone.wtTable.holder.parentNode),i&&i.clone&&this.clones.push(i.clone.wtTable.holder.parentNode)}}},{key:"onBeforeTouchScroll",value:function(){this.freezeOverlays=!0,(0,s.arrayEach)(this.clones,(function(e){(0,a.addClass)(e,"hide-tween")}))}},{key:"onAfterMomentumScroll",value:function(){var e=this;this.freezeOverlays=!1,(0,s.arrayEach)(this.clones,(function(e){(0,a.removeClass)(e,"hide-tween"),(0,a.addClass)(e,"show-tween")})),setTimeout((function(){(0,s.arrayEach)(e.clones,(function(e){(0,a.removeClass)(e,"show-tween")}))}),400),(0,s.arrayEach)(this.scrollbars,(function(e){e.refresh(),e.resetFixedPosition()})),this.hot.view.wt.wtOverlays.syncScrollWithMaster()}}]),t}(u.default);(0,c.registerPlugin)("touchScroll",d),t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(16),a=(o=i)&&o.__esModule?o:{default:o},s=n(2),l=n(6),u=n(1),c=n(13),h=n(19);function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(e){var t=this;this.instance=e,this.doneActions=[],this.undoneActions=[],this.ignoreNewActions=!1,e.addHook("afterChange",(function(e,n){e&&"UndoRedo.undo"!==n&&"UndoRedo.redo"!==n&&"MergeCells"!==n&&t.done(new g.ChangeAction(e))})),e.addHook("afterCreateRow",(function(e,n,o){if("UndoRedo.undo"!==o&&"UndoRedo.undo"!==o&&"auto"!==o){var r=new g.CreateRowAction(e,n);t.done(r)}})),e.addHook("beforeRemoveRow",(function(e,n,o,r){if("UndoRedo.undo"!==r&&"UndoRedo.redo"!==r&&"auto"!==r){var i=t.instance.getSourceDataArray(),a=(i.length+e)%i.length,s=(0,u.deepClone)(i.slice(a,a+n));t.done(new g.RemoveRowAction(a,s))}})),e.addHook("afterCreateCol",(function(e,n,o){"UndoRedo.undo"!==o&&"UndoRedo.redo"!==o&&"auto"!==o&&t.done(new g.CreateColumnAction(e,n))})),e.addHook("beforeRemoveCol",(function(n,o,r,i){if("UndoRedo.undo"!==i&&"UndoRedo.redo"!==i&&"auto"!==i){var a=t.instance.getSourceDataArray(),s=(t.instance.countCols()+n)%t.instance.countCols(),u=[],c=[],h=[];(0,l.rangeEach)(a.length-1,(function(t){var n=[],r=a[t];(0,l.rangeEach)(s,s+(o-1),(function(t){n.push(r[e.runHooks("modifyCol",t)])})),u.push(n)})),(0,l.rangeEach)(o-1,(function(t){h.push(e.runHooks("modifyCol",s+t))})),Array.isArray(e.getSettings().colHeaders)&&(0,l.rangeEach)(o-1,(function(t){c.push(e.getSettings().colHeaders[e.runHooks("modifyCol",s+t)]||null)}));var d=t.instance.getPlugin("manualColumnMove"),f=d.isEnabled()?d.columnsMapper.__arrayMap:[],p=new g.RemoveColumnAction(s,h,u,c,f);t.done(p)}})),e.addHook("beforeCellAlignment",(function(e,n,o,r){var i=new g.CellAlignmentAction(e,n,o,r);t.done(i)})),e.addHook("beforeFilter",(function(e){t.done(new g.FiltersAction(e))})),e.addHook("beforeRowMove",(function(e,n){!1!==e&&t.done(new g.RowMoveAction(e,n))})),e.addHook("beforeMergeCells",(function(n,o){o||t.done(new g.MergeCellsAction(e,n))})),e.addHook("afterUnmergeCells",(function(n,o){o||t.done(new g.UnmergeCellsAction(e,n))}))}g.prototype.done=function(e){this.ignoreNewActions||(this.doneActions.push(e),this.undoneActions.length=0)},g.prototype.undo=function(){if(this.isUndoAvailable()){var e=this.doneActions.pop(),t=(0,u.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeUndo",t))return;this.ignoreNewActions=!0;var o=this;e.undo(this.instance,(function(){o.ignoreNewActions=!1,o.undoneActions.push(e)})),n.runHooks("afterUndo",t)}},g.prototype.redo=function(){if(this.isRedoAvailable()){var e=this.undoneActions.pop(),t=(0,u.deepClone)(e),n=this.instance;if(!1===n.runHooks("beforeRedo",t))return;this.ignoreNewActions=!0;var o=this;e.redo(this.instance,(function(){o.ignoreNewActions=!1,o.doneActions.push(e)})),n.runHooks("afterRedo",t)}},g.prototype.isUndoAvailable=function(){return this.doneActions.length>0},g.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},g.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},g.Action=function(){},g.Action.prototype.undo=function(){},g.Action.prototype.redo=function(){},g.ChangeAction=function(e){this.changes=e,this.actionType="change"},(0,u.inherit)(g.ChangeAction,g.Action),g.ChangeAction.prototype.undo=function(e,t){for(var n=(0,u.deepClone)(this.changes),o=e.countEmptyRows(!0),r=e.countEmptyCols(!0),i=0,a=n.length;i<a;i++)n[i].splice(3,1);e.addHookOnce("afterChange",t),e.setDataAtRowProp(n,null,null,"UndoRedo.undo");for(var s=0,l=n.length;s<l;s++)e.getSettings().minSpareRows&&n[s][0]+1+e.getSettings().minSpareRows===e.countRows()&&o===e.getSettings().minSpareRows&&(e.alter("remove_row",parseInt(n[s][0]+1,10),e.getSettings().minSpareRows),e.undoRedo.doneActions.pop()),e.getSettings().minSpareCols&&n[s][1]+1+e.getSettings().minSpareCols===e.countCols()&&r===e.getSettings().minSpareCols&&(e.alter("remove_col",parseInt(n[s][1]+1,10),e.getSettings().minSpareCols),e.undoRedo.doneActions.pop())},g.ChangeAction.prototype.redo=function(e,t){for(var n=(0,u.deepClone)(this.changes),o=0,r=n.length;o<r;o++)n[o].splice(2,1);e.addHookOnce("afterChange",t),e.setDataAtRowProp(n,null,null,"UndoRedo.redo")},g.CreateRowAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_row"},(0,u.inherit)(g.CreateRowAction,g.Action),g.CreateRowAction.prototype.undo=function(e,t){var n=e.countRows(),o=e.getSettings().minSpareRows;this.index>=n&&this.index-o<n&&(this.index-=o),e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.amount,"UndoRedo.undo")},g.CreateRowAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateRow",t),e.alter("insert_row",this.index,this.amount,"UndoRedo.redo")},g.RemoveRowAction=function(e,t){this.index=e,this.data=t,this.actionType="remove_row"},(0,u.inherit)(g.RemoveRowAction,g.Action),g.RemoveRowAction.prototype.undo=function(e,t){e.alter("insert_row",this.index,this.data.length,"UndoRedo.undo"),e.addHookOnce("afterRender",t),e.populateFromArray(this.index,0,this.data,void 0,void 0,"UndoRedo.undo")},g.RemoveRowAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.data.length,"UndoRedo.redo")},g.CreateColumnAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_col"},(0,u.inherit)(g.CreateColumnAction,g.Action),g.CreateColumnAction.prototype.undo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.undo")},g.CreateColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateCol",t),e.alter("insert_col",this.index,this.amount,"UndoRedo.redo")},g.RemoveColumnAction=function(e,t,n,o,r){this.index=e,this.indexes=t,this.data=n,this.amount=this.data[0].length,this.headers=o,this.columnPositions=r.slice(0),this.actionType="remove_col"},(0,u.inherit)(g.RemoveColumnAction,g.Action),g.RemoveColumnAction.prototype.undo=function(e,t){var n,o=this,r=void 0,i=this.indexes.slice(0).sort(),a=function(e,t,n){return n[o.indexes.indexOf(i[t])]},u=[];(0,l.rangeEach)(this.data.length-1,(function(e){u[e]=(0,s.arrayMap)(o.data[e],a)})),n=(0,s.arrayMap)(this.headers,a);var c=[];e.runHooks("beforeCreateCol",this.indexes[0],this.indexes.length,"UndoRedo.undo"),(0,l.rangeEach)(this.data.length-1,(function(t){r=e.getSourceDataAtRow(t),(0,l.rangeEach)(i.length-1,(function(e){r.splice(i[e],0,u[t][e]),c.push([t,i[e],null,u[t][e]])}))})),e.getPlugin("formulas")&&e.getPlugin("formulas").onAfterSetDataAtCell(c),void 0!==this.headers&&(0,l.rangeEach)(n.length-1,(function(t){e.getSettings().colHeaders.splice(i[t],0,n[t])})),e.getPlugin("manualColumnMove")&&(e.getPlugin("manualColumnMove").columnsMapper.__arrayMap=this.columnPositions),e.addHookOnce("afterRender",t),e.runHooks("afterCreateCol",this.indexes[0],this.indexes.length,"UndoRedo.undo"),e.getPlugin("formulas")&&e.getPlugin("formulas").recalculateFull(),e.render()},g.RemoveColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.redo")},g.CellAlignmentAction=function(e,t,n,o){this.stateBefore=e,this.range=t,this.type=n,this.alignment=o},g.CellAlignmentAction.prototype.undo=function(e,t){var n=this;(0,s.arrayEach)(this.range,(function(t){for(var o=t.from,r=t.to,i=o.row;i<=r.row;i+=1)for(var a=o.col;a<=r.col;a+=1)e.setCellMeta(i,a,"className",n.stateBefore[i][a]||" htLeft")})),e.addHookOnce("afterRender",t),e.render()},g.CellAlignmentAction.prototype.redo=function(e,t){(0,h.align)(this.range,this.type,this.alignment,(function(t,n){return e.getCellMeta(t,n)}),(function(t,n,o,r){return e.setCellMeta(t,n,o,r)})),e.addHookOnce("afterRender",t),e.render()},g.FiltersAction=function(e){this.conditionsStack=e,this.actionType="filter"},(0,u.inherit)(g.FiltersAction,g.Action),g.FiltersAction.prototype.undo=function(e,t){var n=e.getPlugin("filters");e.addHookOnce("afterRender",t),n.conditionCollection.importAllConditions(this.conditionsStack.slice(0,this.conditionsStack.length-1)),n.filter()},g.FiltersAction.prototype.redo=function(e,t){var n=e.getPlugin("filters");e.addHookOnce("afterRender",t),n.conditionCollection.importAllConditions(this.conditionsStack),n.filter()};var v=function(e){function t(e,n){d(this,t);var o=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.cellRange=n,o.rangeData=e.getData(n.from.row,n.from.col,n.to.row,n.to.col),o}return p(t,e),r(t,[{key:"undo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.unmergeRange(this.cellRange,!0),e.populateFromArray(this.cellRange.from.row,this.cellRange.from.col,this.rangeData,void 0,void 0,"MergeCells")}},{key:"redo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.mergeRange(this.cellRange)}}]),t}(g.Action);g.MergeCellsAction=v;var y=function(e){function t(e,n){d(this,t);var o=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.cellRange=n,o}return p(t,e),r(t,[{key:"undo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.mergeRange(this.cellRange,!0)}},{key:"redo",value:function(e,t){var n=e.getPlugin("mergeCells");e.addHookOnce("afterRender",t),n.unmergeRange(this.cellRange,!0),e.render()}}]),t}(g.Action);function m(){void 0===this.getSettings().undo||this.getSettings().undo?this.undoRedo||(this.undoRedo=new g(this),function(e){e.undo=function(){return e.undoRedo.undo()},e.redo=function(){return e.undoRedo.redo()},e.isUndoAvailable=function(){return e.undoRedo.isUndoAvailable()},e.isRedoAvailable=function(){return e.undoRedo.isRedoAvailable()},e.clearUndo=function(){return e.undoRedo.clear()}}(this),this.addHook("beforeKeyDown",w),this.addHook("afterChange",C)):this.undoRedo&&(delete this.undoRedo,function(e){delete e.undo,delete e.redo,delete e.isUndoAvailable,delete e.isRedoAvailable,delete e.clearUndo}(this),this.removeHook("beforeKeyDown",w),this.removeHook("afterChange",C))}function w(e){(e.ctrlKey||e.metaKey)&&!e.altKey&&(89===e.keyCode||e.shiftKey&&90===e.keyCode?(this.undoRedo.redo(),(0,c.stopImmediatePropagation)(e)):90===e.keyCode&&(this.undoRedo.undo(),(0,c.stopImmediatePropagation)(e)))}function C(e,t){if("loadData"===t)return this.undoRedo.clear()}g.UnmergeCellsAction=y,g.RowMoveAction=function(e,t){this.rows=e.slice(),this.target=t},(0,u.inherit)(g.RowMoveAction,g.Action),g.RowMoveAction.prototype.undo=function(e,t){var n=e.getPlugin("manualRowMove");e.addHookOnce("afterRender",t);for(var o=this.rows[0]<this.target?-1*this.rows.length:0,r=this.rows[0]>this.target?this.rows[0]+this.rows.length:this.rows[0],i=[],a=this.rows.length+o,s=o;s<a;s+=1)i.push(this.target+s);n.moveRows(i.slice(),r),e.render(),e.selectCell(this.rows[0],0,this.rows[this.rows.length-1],e.countCols()-1,!1,!1)},g.RowMoveAction.prototype.redo=function(e,t){var n=e.getPlugin("manualRowMove");e.addHookOnce("afterRender",t),n.moveRows(this.rows.slice(),this.target),e.render();var o=this.rows[0]<this.target?this.target-this.rows.length:this.target;e.selectCell(o,0,o+this.rows.length-1,e.countCols()-1,!1,!1)};var b=a.default.getSingleton();b.add("afterInit",m),b.add("afterUpdateSettings",m),b.register("beforeUndo"),b.register("afterUndo"),b.register("beforeRedo"),b.register("afterRedo"),t.default=g}]).default},e.exports=r(n(1),n(286),n(287))}).call(this,n(9).setImmediate,n(9).clearImmediate)},289:function(e,t,n){}}]);